Skip to content

Commit

Permalink
feat(api): api update (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and Stainless Bot committed Nov 6, 2024
1 parent 409a74b commit cdc8068
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 91
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/metronome%2Fmetronome-d04cc2dc5a1f1bd278783a02c8bbf246f850ce53fe63d7d43cb9df69fae02429.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/metronome%2Fmetronome-cab3c7a5a2b2d37cc31ffd0a3b12a4bf0a6089ab5aede2a0a27fe3eaee365376.yml
14 changes: 14 additions & 0 deletions src/resources/customers/invoices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ export namespace Invoice {

total: number;

/**
* only present for beta contract invoices
*/
applied_commit_or_credit?: LineItem.AppliedCommitOrCredit;

/**
* only present for beta contract invoices
*/
Expand Down Expand Up @@ -286,6 +291,15 @@ export namespace Invoice {
}

export namespace LineItem {
/**
* only present for beta contract invoices
*/
export interface AppliedCommitOrCredit {
id: string;

type: 'PREPAID' | 'POSTPAID' | 'CREDIT';
}

/**
* only present for beta contract invoices
*/
Expand Down

0 comments on commit cdc8068

Please sign in to comment.