Skip to content

Commit ee9c6b0

Browse files
feat(api): api update
1 parent ca37501 commit ee9c6b0

3 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-45297c0f1067cd444a30371110c69f876accf55f303a3dce9a4f74863b59f18f.yml
3-
openapi_spec_hash: cd2f638b98c6e89342397fef860166b7
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb/orb-aa92e5bbd456e6bc527223462c075f4315b7edfde23aae99cb6aa8272b3deae1.yml
3+
openapi_spec_hash: b234ee2f5a52bacac12c5ed59a56f542
44
config_hash: c01c1191b1cd696c7ca855ff6d28a8df

src/Orb/Models/Subscriptions/SubscriptionListParams.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ namespace Orb.Models.Subscriptions;
2020
/// customer_id or external_customer_id query parameters. To filter subscriptions
2121
/// for multiple customers, use the customer_id[] or external_customer_id[] query parameters.</para>
2222
///
23+
/// <para>Subscriptions can be filtered by status using the status query parameter
24+
/// (one of `active`, `ended`, or `upcoming`). To filter for multiple statuses in
25+
/// a single request, use the status[] query parameter, e.g. `status[]=active&amp;status[]=ended`.</para>
26+
///
2327
/// <para>NOTE: Do not inherit from this type outside the SDK unless you're okay with
2428
/// breaking changes in non-major versions. We may add new methods in the future that
2529
/// cause existing derived classes to break.</para>

src/Orb/Services/ISubscriptionService.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,11 @@ Task<Subscription> Update(
269269
/// customer_id or external_customer_id query parameters. To filter subscriptions
270270
/// for multiple customers, use the customer_id[] or external_customer_id[] query
271271
/// parameters.</para>
272+
///
273+
/// <para>Subscriptions can be filtered by status using the status query parameter
274+
/// (one of `active`, `ended`, or `upcoming`). To filter for multiple statuses in a
275+
/// single request, use the status[] query parameter, e.g.
276+
/// `status[]=active&status[]=ended`.</para>
272277
/// </summary>
273278
Task<SubscriptionListPage> List(
274279
SubscriptionListParams? parameters = null,

0 commit comments

Comments
 (0)