Skip to content

Commit b53beb3

Browse files
feat(api): api update
1 parent 7690240 commit b53beb3

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 118
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-ab79d1df8310a4fc3089fcf814f9fb00c7341acc254aafe34479af0f871d244b.yml
3-
openapi_spec_hash: 9416d6718ca4eeb3c20790187348b5b0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-b6ec9a6bf40b74575d917ab145b2413bc61dcd6989bb9d1aa41624bf3437599e.yml
3+
openapi_spec_hash: 53cf9363c3bd9649e0af5f713abdcba7
44
config_hash: 1f73a949b649ecfe6ec68ba1bb459dc2

src/resources/subscriptions.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5571,6 +5571,10 @@ export interface SubscriptionListParams extends PageParams {
55715571

55725572
external_customer_id?: Array<string> | null;
55735573

5574+
external_plan_id?: string | null;
5575+
5576+
plan_id?: string | null;
5577+
55745578
status?: 'active' | 'ended' | 'upcoming' | null;
55755579
}
55765580

tests/api-resources/subscriptions.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ describe('resource subscriptions', () => {
6161
cursor: 'cursor',
6262
customer_id: ['string'],
6363
external_customer_id: ['string'],
64+
external_plan_id: 'external_plan_id',
6465
limit: 1,
66+
plan_id: 'plan_id',
6567
status: 'active',
6668
},
6769
{ path: '/_stainless_unknown_path' },

0 commit comments

Comments
 (0)