diff --git a/.stats.yml b/.stats.yml index a9fd9444..c9a15c8a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 103 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-979330185e8fda7b2bc2440075fe81c66132fc87ff3c548e93dd05db35ba3172.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-e3aeba4569f0d304b27804cc2cdd9888f3f58628fe426e206ab49e164e5417bd.yml diff --git a/src/resources/subscriptions.ts b/src/resources/subscriptions.ts index b00e4ecf..5d7a1a1a 100644 --- a/src/resources/subscriptions.ts +++ b/src/resources/subscriptions.ts @@ -15047,7 +15047,7 @@ export interface SubscriptionListParams extends PageParams { customer_id?: Array | null; - external_customer_id?: string | null; + external_customer_id?: Array | null; status?: 'active' | 'ended' | 'upcoming' | null; } diff --git a/tests/api-resources/subscriptions.test.ts b/tests/api-resources/subscriptions.test.ts index 38ad206f..f75454c7 100644 --- a/tests/api-resources/subscriptions.test.ts +++ b/tests/api-resources/subscriptions.test.ts @@ -60,7 +60,7 @@ describe('resource subscriptions', () => { 'created_at[lte]': '2019-12-27T18:11:19.117Z', cursor: 'cursor', customer_id: ['string'], - external_customer_id: 'external_customer_id', + external_customer_id: ['string'], limit: 1, status: 'active', },