Skip to content

Commit d0b1aa6

Browse files
chore(api): correctly support ExternalCustomerID array filter on Subscriptions.List (#561)
1 parent f177a13 commit d0b1aa6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 103
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-979330185e8fda7b2bc2440075fe81c66132fc87ff3c548e93dd05db35ba3172.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-e3aeba4569f0d304b27804cc2cdd9888f3f58628fe426e206ab49e164e5417bd.yml

src/resources/subscriptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15047,7 +15047,7 @@ export interface SubscriptionListParams extends PageParams {
1504715047

1504815048
customer_id?: Array<string> | null;
1504915049

15050-
external_customer_id?: string | null;
15050+
external_customer_id?: Array<string> | null;
1505115051

1505215052
status?: 'active' | 'ended' | 'upcoming' | null;
1505315053
}

tests/api-resources/subscriptions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe('resource subscriptions', () => {
6060
'created_at[lte]': '2019-12-27T18:11:19.117Z',
6161
cursor: 'cursor',
6262
customer_id: ['string'],
63-
external_customer_id: 'external_customer_id',
63+
external_customer_id: ['string'],
6464
limit: 1,
6565
status: 'active',
6666
},

0 commit comments

Comments
 (0)