Skip to content

Commit edebef5

Browse files
chore(docs): update Account Holder deprecation formatting
1 parent 75dc52a commit edebef5

File tree

4 files changed

+37
-37
lines changed

4 files changed

+37
-37
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: 166
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

src/lithic/types/account_holder.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,11 @@ class AccountHolder(BaseModel):
243243
"""
244244

245245
email: Optional[str] = None
246-
"""
247-
< Deprecated. Use control_person.email when user_type == "BUSINESS". Use
248-
individual.phone_number when user_type == "INDIVIDUAL".
246+
"""(Deprecated.
249247
250-
> Primary email of Account Holder.
248+
Use control_person.email when user_type == "BUSINESS". Use
249+
individual.phone_number when user_type == "INDIVIDUAL".) Primary email of
250+
Account Holder.
251251
"""
252252

253253
exemption_type: Optional[Literal["AUTHORIZED_USER", "PREPAID_CARD_USER"]] = None
@@ -273,11 +273,11 @@ class AccountHolder(BaseModel):
273273
"""
274274

275275
phone_number: Optional[str] = None
276-
"""
277-
< Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
278-
individual.phone_number when user_type == "INDIVIDUAL".
276+
"""(Deprecated.
279277
280-
> Primary phone of Account Holder, entered in E.164 format.
278+
Use control_person.phone_number when user_type == "BUSINESS". Use
279+
individual.phone_number when user_type == "INDIVIDUAL".) Primary phone of
280+
Account Holder, entered in E.164 format.
281281
"""
282282

283283
required_documents: Optional[List[RequiredDocument]] = None
@@ -287,7 +287,7 @@ class AccountHolder(BaseModel):
287287
"""
288288

289289
status: Optional[Literal["ACCEPTED", "PENDING_REVIEW", "PENDING_DOCUMENT", "PENDING_RESUBMIT", "REJECTED"]] = None
290-
"""<Deprecated. Use verification_application.status instead>
290+
"""(Deprecated. Use verification_application.status instead)
291291
292292
KYC and KYB evaluation states.
293293
@@ -313,9 +313,9 @@ class AccountHolder(BaseModel):
313313
]
314314
]
315315
] = None
316-
"""<Deprecated.
316+
"""(Deprecated. Use verification_application.status_reasons)
317317
318-
Use verification_application.status_reasons> Reason for the evaluation status.
318+
Reason for the evaluation status.
319319
"""
320320

321321
user_type: Optional[Literal["BUSINESS", "INDIVIDUAL"]] = None

src/lithic/types/account_holder_simulate_enrollment_review_response.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -295,11 +295,11 @@ class AccountHolderSimulateEnrollmentReviewResponse(BaseModel):
295295
"""Timestamp of when the account holder was created."""
296296

297297
email: Optional[str] = None
298-
"""
299-
< Deprecated. Use control_person.email when user_type == "BUSINESS". Use
300-
individual.phone_number when user_type == "INDIVIDUAL".
298+
"""(Deprecated.
301299
302-
> Primary email of Account Holder.
300+
Use control_person.email when user_type == "BUSINESS". Use
301+
individual.phone_number when user_type == "INDIVIDUAL".) Primary email of
302+
Account Holder.
303303
"""
304304

305305
exemption_type: Optional[Literal["AUTHORIZED_USER", "PREPAID_CARD_USER"]] = None
@@ -328,11 +328,11 @@ class AccountHolderSimulateEnrollmentReviewResponse(BaseModel):
328328
"""
329329

330330
phone_number: Optional[str] = None
331-
"""
332-
< Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
333-
individual.phone_number when user_type == "INDIVIDUAL".
331+
"""(Deprecated.
334332
335-
> Primary phone of Account Holder, entered in E.164 format.
333+
Use control_person.phone_number when user_type == "BUSINESS". Use
334+
individual.phone_number when user_type == "INDIVIDUAL".) Primary phone of
335+
Account Holder, entered in E.164 format.
336336
"""
337337

338338
required_documents: Optional[List[RequiredDocument]] = None
@@ -342,9 +342,9 @@ class AccountHolderSimulateEnrollmentReviewResponse(BaseModel):
342342
"""
343343

344344
status: Optional[Literal["ACCEPTED", "PENDING_DOCUMENT", "PENDING_RESUBMIT", "REJECTED"]] = None
345-
"""<Deprecated. Use verification_application.status instead>
345+
"""(Deprecated.
346346
347-
KYC and KYB evaluation states.
347+
Use verification_application.status instead) KYC and KYB evaluation states.
348348
349349
Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the
350350
`ADVANCED` workflow.
@@ -380,9 +380,9 @@ class AccountHolderSimulateEnrollmentReviewResponse(BaseModel):
380380
]
381381
]
382382
] = None
383-
"""<Deprecated.
383+
"""(Deprecated.
384384
385-
Use verification_application.status_reasons> Reason for the evaluation status.
385+
Use verification_application.status_reasons) Reason for the evaluation status.
386386
"""
387387

388388
user_type: Optional[Literal["BUSINESS", "INDIVIDUAL"]] = None

src/lithic/types/account_holder_update_response.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,11 @@ class KYBKYCPatchResponse(BaseModel):
298298
"""Timestamp of when the account holder was created."""
299299

300300
email: Optional[str] = None
301-
"""
302-
< Deprecated. Use control_person.email when user_type == "BUSINESS". Use
303-
individual.phone_number when user_type == "INDIVIDUAL".
301+
"""(Deprecated.
304302
305-
> Primary email of Account Holder.
303+
Use control_person.email when user_type == "BUSINESS". Use
304+
individual.phone_number when user_type == "INDIVIDUAL".) Primary email of
305+
Account Holder.
306306
"""
307307

308308
exemption_type: Optional[Literal["AUTHORIZED_USER", "PREPAID_CARD_USER"]] = None
@@ -331,11 +331,11 @@ class KYBKYCPatchResponse(BaseModel):
331331
"""
332332

333333
phone_number: Optional[str] = None
334-
"""
335-
< Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
336-
individual.phone_number when user_type == "INDIVIDUAL".
334+
"""(Deprecated.
337335
338-
> Primary phone of Account Holder, entered in E.164 format.
336+
Use control_person.phone_number when user_type == "BUSINESS". Use
337+
individual.phone_number when user_type == "INDIVIDUAL".) Primary phone of
338+
Account Holder, entered in E.164 format.
339339
"""
340340

341341
required_documents: Optional[List[RequiredDocument]] = None
@@ -345,9 +345,9 @@ class KYBKYCPatchResponse(BaseModel):
345345
"""
346346

347347
status: Optional[Literal["ACCEPTED", "PENDING_DOCUMENT", "PENDING_RESUBMIT", "REJECTED"]] = None
348-
"""<Deprecated. Use verification_application.status instead>
348+
"""(Deprecated.
349349
350-
KYC and KYB evaluation states.
350+
Use verification_application.status instead) KYC and KYB evaluation states.
351351
352352
Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the
353353
`ADVANCED` workflow.
@@ -383,9 +383,9 @@ class KYBKYCPatchResponse(BaseModel):
383383
]
384384
]
385385
] = None
386-
"""<Deprecated.
386+
"""(Deprecated.
387387
388-
Use verification_application.status_reasons> Reason for the evaluation status.
388+
Use verification_application.status_reasons) Reason for the evaluation status.
389389
"""
390390

391391
user_type: Optional[Literal["BUSINESS", "INDIVIDUAL"]] = None

0 commit comments

Comments
 (0)