Skip to content

Commit 12496f2

Browse files
chore(docs): update Account Holder deprecation formatting
1 parent ac2c55c commit 12496f2

4 files changed

Lines changed: 53 additions & 66 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 167
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-b9c76d077831114f1e4c5c15ff3f1d835ef3e9361b768af8468f8eb07a09ef3e.yml
3-
openapi_spec_hash: 5f9bcf1afd68f962a870727c35628394
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-23922ce40b48fe48252246fb770033946ae5e49e73d90b30eb3415d9812e5947.yml
3+
openapi_spec_hash: b2dd7289d19829df73b2d596576549f7
44
config_hash: e9a46eb8acb9dc2c236f3e1958a1c4dd

lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolder.kt

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,8 @@ private constructor(
209209
controlPerson.getOptional("control_person")
210210

211211
/**
212-
* < Deprecated. Use control_person.email when user_type == "BUSINESS". Use
213-
* individual.phone_number when user_type == "INDIVIDUAL".
214-
* > Primary email of Account Holder.
212+
* (Deprecated. Use control_person.email when user_type == "BUSINESS". Use
213+
* individual.phone_number when user_type == "INDIVIDUAL".) Primary email of Account Holder.
215214
*
216215
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
217216
* server responded with an unexpected value).
@@ -254,9 +253,9 @@ private constructor(
254253
fun natureOfBusiness(): Optional<String> = natureOfBusiness.getOptional("nature_of_business")
255254

256255
/**
257-
* < Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
258-
* individual.phone_number when user_type == "INDIVIDUAL".
259-
* > Primary phone of Account Holder, entered in E.164 format.
256+
* (Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
257+
* individual.phone_number when user_type == "INDIVIDUAL".) Primary phone of Account Holder,
258+
* entered in E.164 format.
260259
*
261260
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
262261
* server responded with an unexpected value).
@@ -274,7 +273,7 @@ private constructor(
274273
requiredDocuments.getOptional("required_documents")
275274

276275
/**
277-
* <Deprecated. Use verification_application.status instead>
276+
* (Deprecated. Use verification_application.status instead)
278277
*
279278
* KYC and KYB evaluation states.
280279
*
@@ -287,7 +286,9 @@ private constructor(
287286
fun status(): Optional<Status> = status.getOptional("status")
288287

289288
/**
290-
* <Deprecated. Use verification_application.status_reasons> Reason for the evaluation status.
289+
* (Deprecated. Use verification_application.status_reasons)
290+
*
291+
* Reason for the evaluation status.
291292
*
292293
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
293294
* server responded with an unexpected value).
@@ -749,9 +750,8 @@ private constructor(
749750
}
750751

751752
/**
752-
* < Deprecated. Use control_person.email when user_type == "BUSINESS". Use
753-
* individual.phone_number when user_type == "INDIVIDUAL".
754-
* > Primary email of Account Holder.
753+
* (Deprecated. Use control_person.email when user_type == "BUSINESS". Use
754+
* individual.phone_number when user_type == "INDIVIDUAL".) Primary email of Account Holder.
755755
*/
756756
fun email(email: String) = email(JsonField.of(email))
757757

@@ -828,9 +828,9 @@ private constructor(
828828
}
829829

830830
/**
831-
* < Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
832-
* individual.phone_number when user_type == "INDIVIDUAL".
833-
* > Primary phone of Account Holder, entered in E.164 format.
831+
* (Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
832+
* individual.phone_number when user_type == "INDIVIDUAL".) Primary phone of Account Holder,
833+
* entered in E.164 format.
834834
*/
835835
fun phoneNumber(phoneNumber: String) = phoneNumber(JsonField.of(phoneNumber))
836836

@@ -874,7 +874,7 @@ private constructor(
874874
}
875875

876876
/**
877-
* <Deprecated. Use verification_application.status instead>
877+
* (Deprecated. Use verification_application.status instead)
878878
*
879879
* KYC and KYB evaluation states.
880880
*
@@ -892,8 +892,9 @@ private constructor(
892892
fun status(status: JsonField<Status>) = apply { this.status = status }
893893

894894
/**
895-
* <Deprecated. Use verification_application.status_reasons> Reason for the evaluation
896-
* status.
895+
* (Deprecated. Use verification_application.status_reasons)
896+
*
897+
* Reason for the evaluation status.
897898
*/
898899
fun statusReasons(statusReasons: List<StatusReason>) =
899900
statusReasons(JsonField.of(statusReasons))
@@ -2074,7 +2075,7 @@ private constructor(
20742075
}
20752076

20762077
/**
2077-
* <Deprecated. Use verification_application.status instead>
2078+
* (Deprecated. Use verification_application.status instead)
20782079
*
20792080
* KYC and KYB evaluation states.
20802081
*

lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderSimulateEnrollmentReviewResponse.kt

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,8 @@ private constructor(
210210
fun created(): Optional<OffsetDateTime> = created.getOptional("created")
211211

212212
/**
213-
* < Deprecated. Use control_person.email when user_type == "BUSINESS". Use
214-
* individual.phone_number when user_type == "INDIVIDUAL".
215-
* > Primary email of Account Holder.
213+
* (Deprecated. Use control_person.email when user_type == "BUSINESS". Use
214+
* individual.phone_number when user_type == "INDIVIDUAL".) Primary email of Account Holder.
216215
*
217216
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
218217
* server responded with an unexpected value).
@@ -255,9 +254,9 @@ private constructor(
255254
fun natureOfBusiness(): Optional<String> = natureOfBusiness.getOptional("nature_of_business")
256255

257256
/**
258-
* < Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
259-
* individual.phone_number when user_type == "INDIVIDUAL".
260-
* > Primary phone of Account Holder, entered in E.164 format.
257+
* (Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
258+
* individual.phone_number when user_type == "INDIVIDUAL".) Primary phone of Account Holder,
259+
* entered in E.164 format.
261260
*
262261
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
263262
* server responded with an unexpected value).
@@ -275,9 +274,7 @@ private constructor(
275274
requiredDocuments.getOptional("required_documents")
276275

277276
/**
278-
* <Deprecated. Use verification_application.status instead>
279-
*
280-
* KYC and KYB evaluation states.
277+
* (Deprecated. Use verification_application.status instead) KYC and KYB evaluation states.
281278
*
282279
* Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the `ADVANCED`
283280
* workflow.
@@ -288,7 +285,7 @@ private constructor(
288285
fun status(): Optional<Status> = status.getOptional("status")
289286

290287
/**
291-
* <Deprecated. Use verification_application.status_reasons> Reason for the evaluation status.
288+
* (Deprecated. Use verification_application.status_reasons) Reason for the evaluation status.
292289
*
293290
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
294291
* server responded with an unexpected value).
@@ -750,9 +747,8 @@ private constructor(
750747
fun created(created: JsonField<OffsetDateTime>) = apply { this.created = created }
751748

752749
/**
753-
* < Deprecated. Use control_person.email when user_type == "BUSINESS". Use
754-
* individual.phone_number when user_type == "INDIVIDUAL".
755-
* > Primary email of Account Holder.
750+
* (Deprecated. Use control_person.email when user_type == "BUSINESS". Use
751+
* individual.phone_number when user_type == "INDIVIDUAL".) Primary email of Account Holder.
756752
*/
757753
fun email(email: String) = email(JsonField.of(email))
758754

@@ -829,9 +825,9 @@ private constructor(
829825
}
830826

831827
/**
832-
* < Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
833-
* individual.phone_number when user_type == "INDIVIDUAL".
834-
* > Primary phone of Account Holder, entered in E.164 format.
828+
* (Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
829+
* individual.phone_number when user_type == "INDIVIDUAL".) Primary phone of Account Holder,
830+
* entered in E.164 format.
835831
*/
836832
fun phoneNumber(phoneNumber: String) = phoneNumber(JsonField.of(phoneNumber))
837833

@@ -875,9 +871,7 @@ private constructor(
875871
}
876872

877873
/**
878-
* <Deprecated. Use verification_application.status instead>
879-
*
880-
* KYC and KYB evaluation states.
874+
* (Deprecated. Use verification_application.status instead) KYC and KYB evaluation states.
881875
*
882876
* Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the `ADVANCED`
883877
* workflow.
@@ -893,7 +887,7 @@ private constructor(
893887
fun status(status: JsonField<Status>) = apply { this.status = status }
894888

895889
/**
896-
* <Deprecated. Use verification_application.status_reasons> Reason for the evaluation
890+
* (Deprecated. Use verification_application.status_reasons) Reason for the evaluation
897891
* status.
898892
*/
899893
fun statusReasons(statusReasons: List<StatusReasons>) =
@@ -1989,9 +1983,7 @@ private constructor(
19891983
}
19901984

19911985
/**
1992-
* <Deprecated. Use verification_application.status instead>
1993-
*
1994-
* KYC and KYB evaluation states.
1986+
* (Deprecated. Use verification_application.status instead) KYC and KYB evaluation states.
19951987
*
19961988
* Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the `ADVANCED`
19971989
* workflow.

lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountHolderUpdateResponse.kt

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,8 @@ private constructor(
399399
fun created(): Optional<OffsetDateTime> = created.getOptional("created")
400400

401401
/**
402-
* < Deprecated. Use control_person.email when user_type == "BUSINESS". Use
403-
* individual.phone_number when user_type == "INDIVIDUAL".
404-
* > Primary email of Account Holder.
402+
* (Deprecated. Use control_person.email when user_type == "BUSINESS". Use
403+
* individual.phone_number when user_type == "INDIVIDUAL".) Primary email of Account Holder.
405404
*
406405
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
407406
* server responded with an unexpected value).
@@ -445,9 +444,9 @@ private constructor(
445444
natureOfBusiness.getOptional("nature_of_business")
446445

447446
/**
448-
* < Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
449-
* individual.phone_number when user_type == "INDIVIDUAL".
450-
* > Primary phone of Account Holder, entered in E.164 format.
447+
* (Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
448+
* individual.phone_number when user_type == "INDIVIDUAL".) Primary phone of Account Holder,
449+
* entered in E.164 format.
451450
*
452451
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
453452
* server responded with an unexpected value).
@@ -465,9 +464,7 @@ private constructor(
465464
requiredDocuments.getOptional("required_documents")
466465

467466
/**
468-
* <Deprecated. Use verification_application.status instead>
469-
*
470-
* KYC and KYB evaluation states.
467+
* (Deprecated. Use verification_application.status instead) KYC and KYB evaluation states.
471468
*
472469
* Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the `ADVANCED`
473470
* workflow.
@@ -478,7 +475,7 @@ private constructor(
478475
fun status(): Optional<Status> = status.getOptional("status")
479476

480477
/**
481-
* <Deprecated. Use verification_application.status_reasons> Reason for the evaluation
478+
* (Deprecated. Use verification_application.status_reasons) Reason for the evaluation
482479
* status.
483480
*
484481
* @throws LithicInvalidDataException if the JSON field has an unexpected type (e.g. if the
@@ -937,9 +934,9 @@ private constructor(
937934
fun created(created: JsonField<OffsetDateTime>) = apply { this.created = created }
938935

939936
/**
940-
* < Deprecated. Use control_person.email when user_type == "BUSINESS". Use
941-
* individual.phone_number when user_type == "INDIVIDUAL".
942-
* > Primary email of Account Holder.
937+
* (Deprecated. Use control_person.email when user_type == "BUSINESS". Use
938+
* individual.phone_number when user_type == "INDIVIDUAL".) Primary email of Account
939+
* Holder.
943940
*/
944941
fun email(email: String) = email(JsonField.of(email))
945942

@@ -1021,9 +1018,9 @@ private constructor(
10211018
}
10221019

10231020
/**
1024-
* < Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
1025-
* individual.phone_number when user_type == "INDIVIDUAL".
1026-
* > Primary phone of Account Holder, entered in E.164 format.
1021+
* (Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
1022+
* individual.phone_number when user_type == "INDIVIDUAL".) Primary phone of Account
1023+
* Holder, entered in E.164 format.
10271024
*/
10281025
fun phoneNumber(phoneNumber: String) = phoneNumber(JsonField.of(phoneNumber))
10291026

@@ -1069,9 +1066,8 @@ private constructor(
10691066
}
10701067

10711068
/**
1072-
* <Deprecated. Use verification_application.status instead>
1073-
*
1074-
* KYC and KYB evaluation states.
1069+
* (Deprecated. Use verification_application.status instead) KYC and KYB evaluation
1070+
* states.
10751071
*
10761072
* Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the
10771073
* `ADVANCED` workflow.
@@ -1088,7 +1084,7 @@ private constructor(
10881084
fun status(status: JsonField<Status>) = apply { this.status = status }
10891085

10901086
/**
1091-
* <Deprecated. Use verification_application.status_reasons> Reason for the evaluation
1087+
* (Deprecated. Use verification_application.status_reasons) Reason for the evaluation
10921088
* status.
10931089
*/
10941090
fun statusReasons(statusReasons: List<StatusReasons>) =
@@ -2212,9 +2208,7 @@ private constructor(
22122208
}
22132209

22142210
/**
2215-
* <Deprecated. Use verification_application.status instead>
2216-
*
2217-
* KYC and KYB evaluation states.
2211+
* (Deprecated. Use verification_application.status instead) KYC and KYB evaluation states.
22182212
*
22192213
* Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the `ADVANCED`
22202214
* workflow.

0 commit comments

Comments
 (0)