Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Sep 5, 2024
1 parent 603491f commit 2189fbb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 90
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/metronome%2Fmetronome-689348d45e1dedd9c2658451fce83ea94d995005f95e67b73f3b9ec8e30b0a93.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/metronome%2Fmetronome-c23134402bb47d1637feabf3d4058720571d9d5d90253a11e2ea818b3add064a.yml
2 changes: 1 addition & 1 deletion src/resources/contracts/contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2161,7 +2161,7 @@ export namespace ContractCreateHistoricalInvoicesParams {
*/
billable_status?: 'billable' | 'unbillable';

breakdown_granularity?: 'hour' | 'day' | 'HOUR' | 'DAY' | 'Hour' | 'Day';
breakdown_granularity?: 'HOUR' | 'DAY';

custom_fields?: Record<string, string>;
}
Expand Down
6 changes: 3 additions & 3 deletions tests/api-resources/contracts/contracts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1643,7 +1643,7 @@ describe('resource contracts', () => {
},
],
billable_status: 'billable',
breakdown_granularity: 'hour',
breakdown_granularity: 'HOUR',
custom_fields: { foo: 'string' },
},
{
Expand Down Expand Up @@ -1731,7 +1731,7 @@ describe('resource contracts', () => {
},
],
billable_status: 'billable',
breakdown_granularity: 'hour',
breakdown_granularity: 'HOUR',
custom_fields: { foo: 'string' },
},
{
Expand Down Expand Up @@ -1819,7 +1819,7 @@ describe('resource contracts', () => {
},
],
billable_status: 'billable',
breakdown_granularity: 'hour',
breakdown_granularity: 'HOUR',
custom_fields: { foo: 'string' },
},
],
Expand Down

0 comments on commit 2189fbb

Please sign in to comment.