Skip to content

Commit d875ca5

Browse files
feat(api): api update
1 parent 7a01a25 commit d875ca5

3 files changed

Lines changed: 14 additions & 12 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: 139
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-6d5fe70daa99c4f8480b388e828d125c42f6ff501f5b8030832ec487c6c929f0.yml
3-
openapi_spec_hash: 3ba772cb9926acc8b92881b311fd8685
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-7e05611e4c9d413075ca46fb3753234c4881e2d32047be7454fcc9fc1d32f880.yml
3+
openapi_spec_hash: 737e7b60280aae565966862cb42c8dcf
44
config_hash: c01c1191b1cd696c7ca855ff6d28a8df

orb-java-core/src/main/kotlin/com/withorb/api/models/CustomerCreditLedgerCreateEntryByExternalIdParams.kt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3391,8 +3391,9 @@ private constructor(
33913391
@JsonProperty("entry_type") @ExcludeMissing fun _entryType(): JsonValue = entryType
33923392

33933393
/**
3394-
* A future date (specified in YYYY-MM-DD format) used for expiration change, denoting
3395-
* when credits transferred (as part of a partial block expiration) should expire.
3394+
* A date (specified in YYYY-MM-DD format) used for expiration change, denoting when
3395+
* credits transferred (as part of a partial block expiration) should expire. This date
3396+
* must be on or after the effective date of the credit block.
33963397
*
33973398
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
33983399
* unexpectedly missing or null (e.g. if the server responded with an unexpected
@@ -3583,9 +3584,9 @@ private constructor(
35833584
fun entryType(entryType: JsonValue) = apply { this.entryType = entryType }
35843585

35853586
/**
3586-
* A future date (specified in YYYY-MM-DD format) used for expiration change,
3587-
* denoting when credits transferred (as part of a partial block expiration) should
3588-
* expire.
3587+
* A date (specified in YYYY-MM-DD format) used for expiration change, denoting when
3588+
* credits transferred (as part of a partial block expiration) should expire. This
3589+
* date must be on or after the effective date of the credit block.
35893590
*/
35903591
fun targetExpiryDate(targetExpiryDate: LocalDate) =
35913592
targetExpiryDate(JsonField.of(targetExpiryDate))

orb-java-core/src/main/kotlin/com/withorb/api/models/CustomerCreditLedgerCreateEntryParams.kt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3383,8 +3383,9 @@ private constructor(
33833383
@JsonProperty("entry_type") @ExcludeMissing fun _entryType(): JsonValue = entryType
33843384

33853385
/**
3386-
* A future date (specified in YYYY-MM-DD format) used for expiration change, denoting
3387-
* when credits transferred (as part of a partial block expiration) should expire.
3386+
* A date (specified in YYYY-MM-DD format) used for expiration change, denoting when
3387+
* credits transferred (as part of a partial block expiration) should expire. This date
3388+
* must be on or after the effective date of the credit block.
33883389
*
33893390
* @throws OrbInvalidDataException if the JSON field has an unexpected type or is
33903391
* unexpectedly missing or null (e.g. if the server responded with an unexpected
@@ -3575,9 +3576,9 @@ private constructor(
35753576
fun entryType(entryType: JsonValue) = apply { this.entryType = entryType }
35763577

35773578
/**
3578-
* A future date (specified in YYYY-MM-DD format) used for expiration change,
3579-
* denoting when credits transferred (as part of a partial block expiration) should
3580-
* expire.
3579+
* A date (specified in YYYY-MM-DD format) used for expiration change, denoting when
3580+
* credits transferred (as part of a partial block expiration) should expire. This
3581+
* date must be on or after the effective date of the credit block.
35813582
*/
35823583
fun targetExpiryDate(targetExpiryDate: LocalDate) =
35833584
targetExpiryDate(JsonField.of(targetExpiryDate))

0 commit comments

Comments
 (0)