Skip to content

Commit 1b2c527

Browse files
feat(api): api update
1 parent 3234916 commit 1b2c527

2 files changed

Lines changed: 11 additions & 2 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/orb-aa92e5bbd456e6bc527223462c075f4315b7edfde23aae99cb6aa8272b3deae1.yml
3-
openapi_spec_hash: b234ee2f5a52bacac12c5ed59a56f542
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb/orb-5192a1b7cab269d33dbc3c9eb75994d41880eff1694900232b99f4cc30ae5710.yml
3+
openapi_spec_hash: 1bcfe26f0efab1f1287195a45074fae5
44
config_hash: c01c1191b1cd696c7ca855ff6d28a8df

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,10 @@ private constructor(
291291
fun paymentProviderId(): Optional<String> = paymentProviderId.getOptional("payment_provider_id")
292292

293293
/**
294+
* Deprecated. Returns the URL of the most recent non-expired portal link, or null. When the
295+
* account has opted into customer portal sessions, this field always returns null. Use POST
296+
* /v1/customers/{id}/portal_sessions to mint short-lived portal session URLs.
297+
*
294298
* @throws OrbInvalidDataException if the JSON field has an unexpected type (e.g. if the server
295299
* responded with an unexpected value).
296300
*/
@@ -1116,6 +1120,11 @@ private constructor(
11161120
this.paymentProviderId = paymentProviderId
11171121
}
11181122

1123+
/**
1124+
* Deprecated. Returns the URL of the most recent non-expired portal link, or null. When the
1125+
* account has opted into customer portal sessions, this field always returns null. Use POST
1126+
* /v1/customers/{id}/portal_sessions to mint short-lived portal session URLs.
1127+
*/
11191128
fun portalUrl(portalUrl: String?) = portalUrl(JsonField.ofNullable(portalUrl))
11201129

11211130
/** Alias for calling [Builder.portalUrl] with `portalUrl.orElse(null)`. */

0 commit comments

Comments
 (0)