Skip to content

Commit da6d1d6

Browse files
committedMar 1, 2025
feat(api): api update (#533)
1 parent 2c61fe7 commit da6d1d6

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed
 

‎.stats.yml

+1-1
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-d4f03b16daf0bae33be634c959dafb0e21b0bcb156beb162f8235394dca88e7c.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-c8fc7d0bf70bf7ed91a141f346a02929e4d25a6fac7b59f58b68136ed6ff024f.yml

‎src/resources/invoice-line-items.ts

+10
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ export interface InvoiceLineItemCreateResponse {
5959
*/
6060
end_date: string;
6161

62+
/**
63+
* An additional filter that was used to calculate the usage for this line item.
64+
*/
65+
filter: string | null;
66+
6267
/**
6368
* [DEPRECATED] For configured prices that are split by a grouping key, this will
6469
* be populated with the key and a value. The `amount` and `subtotal` will be the
@@ -140,6 +145,11 @@ export interface InvoiceLineItemCreateResponse {
140145
* integration is configured.
141146
*/
142147
tax_amounts: Array<InvoiceLineItemCreateResponse.TaxAmount>;
148+
149+
/**
150+
* A list of customer ids that were used to calculate the usage for this line item.
151+
*/
152+
usage_customer_ids: Array<string> | null;
143153
}
144154

145155
export namespace InvoiceLineItemCreateResponse {

‎src/resources/invoices.ts

+20
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,11 @@ export namespace Invoice {
886886
*/
887887
end_date: string;
888888

889+
/**
890+
* An additional filter that was used to calculate the usage for this line item.
891+
*/
892+
filter: string | null;
893+
889894
/**
890895
* [DEPRECATED] For configured prices that are split by a grouping key, this will
891896
* be populated with the key and a value. The `amount` and `subtotal` will be the
@@ -963,6 +968,11 @@ export namespace Invoice {
963968
* integration is configured.
964969
*/
965970
tax_amounts: Array<LineItem.TaxAmount>;
971+
972+
/**
973+
* A list of customer ids that were used to calculate the usage for this line item.
974+
*/
975+
usage_customer_ids: Array<string> | null;
966976
}
967977

968978
export namespace LineItem {
@@ -2097,6 +2107,11 @@ export namespace InvoiceFetchUpcomingResponse {
20972107
*/
20982108
end_date: string;
20992109

2110+
/**
2111+
* An additional filter that was used to calculate the usage for this line item.
2112+
*/
2113+
filter: string | null;
2114+
21002115
/**
21012116
* [DEPRECATED] For configured prices that are split by a grouping key, this will
21022117
* be populated with the key and a value. The `amount` and `subtotal` will be the
@@ -2174,6 +2189,11 @@ export namespace InvoiceFetchUpcomingResponse {
21742189
* integration is configured.
21752190
*/
21762191
tax_amounts: Array<LineItem.TaxAmount>;
2192+
2193+
/**
2194+
* A list of customer ids that were used to calculate the usage for this line item.
2195+
*/
2196+
usage_customer_ids: Array<string> | null;
21772197
}
21782198

21792199
export namespace LineItem {

0 commit comments

Comments
 (0)
Please sign in to comment.