Skip to content

Commit 8128355

Browse files
chore(internal): codegen related update
1 parent 8d354da commit 8128355

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/resources/invoices.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1465,7 +1465,7 @@ export interface InvoiceListSummaryParams extends PageParams {
14651465

14661466
is_recurring?: boolean | null;
14671467

1468-
status?: Array<'draft' | 'issued' | 'paid' | 'synced' | 'void'> | null;
1468+
status?: 'draft' | 'issued' | 'paid' | 'synced' | 'void' | null;
14691469

14701470
subscription_id?: string | null;
14711471
}

tests/api-resources/invoices.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ describe('resource invoices', () => {
247247
'invoice_date[lte]': '2019-12-27T18:11:19.117Z',
248248
is_recurring: true,
249249
limit: 1,
250-
status: ['draft'],
250+
status: 'draft',
251251
subscription_id: 'subscription_id',
252252
},
253253
{ path: '/_stainless_unknown_path' },

0 commit comments

Comments
 (0)