Skip to content

Commit 8a943e8

Browse files
feat(api): api update
1 parent 09d6b33 commit 8a943e8

File tree

4 files changed

+26
-10
lines changed

4 files changed

+26
-10
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 45
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-ff61a38530dfae03860bceb49379e84bfc7434eeb5d2f1dc9677cb162014faf1.yml
3-
openapi_spec_hash: df3bdaf4acf575bb07767cae7ca24d69
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-388b6200908d48b0f759495ec489b5f7ffda61549b3faedad9a537104223ecdc.yml
3+
openapi_spec_hash: c47f17807131ac97532dfd69c1970104
44
config_hash: 53778a0b839c4f6ad34fbba051f5e8a6

finch-java-core/src/main/kotlin/com/tryfinch/api/models/Company.kt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ private constructor(
131131
fun primaryEmail(): Optional<String> = primaryEmail.getOptional("primary_email")
132132

133133
/**
134-
* The phone number of the main administrator on the account. Format: `XXXXXXXXXX`
134+
* The phone number of the main administrator on the account. Format: E.164, with extension
135+
* where applicable, e.g. `+NNNNNNNNNNN xExtension`
135136
*
136137
* @throws FinchInvalidDataException if the JSON field has an unexpected type (e.g. if the
137138
* server responded with an unexpected value).
@@ -431,7 +432,10 @@ private constructor(
431432
this.primaryEmail = primaryEmail
432433
}
433434

434-
/** The phone number of the main administrator on the account. Format: `XXXXXXXXXX` */
435+
/**
436+
* The phone number of the main administrator on the account. Format: E.164, with extension
437+
* where applicable, e.g. `+NNNNNNNNNNN xExtension`
438+
*/
435439
fun primaryPhoneNumber(primaryPhoneNumber: String?) =
436440
primaryPhoneNumber(JsonField.ofNullable(primaryPhoneNumber))
437441

finch-java-core/src/main/kotlin/com/tryfinch/api/models/CompanyUpdateResponse.kt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ private constructor(
120120
fun primaryEmail(): Optional<String> = primaryEmail.getOptional("primary_email")
121121

122122
/**
123-
* The phone number of the main administrator on the account. Format: `XXXXXXXXXX`
123+
* The phone number of the main administrator on the account. Format: E.164, with extension
124+
* where applicable, e.g. `+NNNNNNNNNNN xExtension`
124125
*
125126
* @throws FinchInvalidDataException if the JSON field has an unexpected type (e.g. if the
126127
* server responded with an unexpected value).
@@ -399,7 +400,10 @@ private constructor(
399400
this.primaryEmail = primaryEmail
400401
}
401402

402-
/** The phone number of the main administrator on the account. Format: `XXXXXXXXXX` */
403+
/**
404+
* The phone number of the main administrator on the account. Format: E.164, with extension
405+
* where applicable, e.g. `+NNNNNNNNNNN xExtension`
406+
*/
403407
fun primaryPhoneNumber(primaryPhoneNumber: String?) =
404408
primaryPhoneNumber(JsonField.ofNullable(primaryPhoneNumber))
405409

finch-java-core/src/main/kotlin/com/tryfinch/api/models/SandboxCompanyUpdateParams.kt

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ private constructor(
8686
fun primaryEmail(): Optional<String> = body.primaryEmail()
8787

8888
/**
89-
* The phone number of the main administrator on the account. Format: `XXXXXXXXXX`
89+
* The phone number of the main administrator on the account. Format: E.164, with extension
90+
* where applicable, e.g. `+NNNNNNNNNNN xExtension`
9091
*
9192
* @throws FinchInvalidDataException if the JSON field has an unexpected type (e.g. if the
9293
* server responded with an unexpected value).
@@ -334,7 +335,10 @@ private constructor(
334335
body.primaryEmail(primaryEmail)
335336
}
336337

337-
/** The phone number of the main administrator on the account. Format: `XXXXXXXXXX` */
338+
/**
339+
* The phone number of the main administrator on the account. Format: E.164, with extension
340+
* where applicable, e.g. `+NNNNNNNNNNN xExtension`
341+
*/
338342
fun primaryPhoneNumber(primaryPhoneNumber: String?) = apply {
339343
body.primaryPhoneNumber(primaryPhoneNumber)
340344
}
@@ -608,7 +612,8 @@ private constructor(
608612
fun primaryEmail(): Optional<String> = primaryEmail.getOptional("primary_email")
609613

610614
/**
611-
* The phone number of the main administrator on the account. Format: `XXXXXXXXXX`
615+
* The phone number of the main administrator on the account. Format: E.164, with extension
616+
* where applicable, e.g. `+NNNNNNNNNNN xExtension`
612617
*
613618
* @throws FinchInvalidDataException if the JSON field has an unexpected type (e.g. if the
614619
* server responded with an unexpected value).
@@ -894,7 +899,10 @@ private constructor(
894899
this.primaryEmail = primaryEmail
895900
}
896901

897-
/** The phone number of the main administrator on the account. Format: `XXXXXXXXXX` */
902+
/**
903+
* The phone number of the main administrator on the account. Format: E.164, with
904+
* extension where applicable, e.g. `+NNNNNNNNNNN xExtension`
905+
*/
898906
fun primaryPhoneNumber(primaryPhoneNumber: String?) =
899907
primaryPhoneNumber(JsonField.ofNullable(primaryPhoneNumber))
900908

0 commit comments

Comments
 (0)