Skip to content

Commit 79d73aa

Browse files
feat(api): api update
1 parent 5ee9ece commit 79d73aa

File tree

4 files changed

+2
-102
lines changed

4 files changed

+2
-102
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-145c6652d32a05c9305e4674643e2aa7d559073e48dc252d6c3c0fe802ce7ec6.yml
3-
openapi_spec_hash: 6bbbbe1687099b69faee47fda12bf82c
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-9e751a2aefff382af949380b5979a80cb02743eca1583cf5146325fb400ba87f.yml
3+
openapi_spec_hash: 219a1008f47d3293f64f1baebe2d6eb5
44
config_hash: e6db17547fe854b1c240407cf4c6dc9e

src/resources/invoice-line-items.ts

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ export interface InvoiceLineItemCreateResponse {
6464
*/
6565
credits_applied: string;
6666

67-
/**
68-
* @deprecated This field is deprecated in favor of `adjustments`
69-
*/
70-
discount: Shared.Discount | null;
71-
7267
/**
7368
* The end date of the range of time applied for this line item's price.
7469
*/
@@ -86,26 +81,6 @@ export interface InvoiceLineItemCreateResponse {
8681
*/
8782
grouping: string | null;
8883

89-
/**
90-
* @deprecated This field is deprecated in favor of `adjustments`.
91-
*/
92-
maximum: Shared.Maximum | null;
93-
94-
/**
95-
* @deprecated This field is deprecated in favor of `adjustments`.
96-
*/
97-
maximum_amount: string | null;
98-
99-
/**
100-
* @deprecated This field is deprecated in favor of `adjustments`.
101-
*/
102-
minimum: Shared.Minimum | null;
103-
104-
/**
105-
* @deprecated This field is deprecated in favor of `adjustments`.
106-
*/
107-
minimum_amount: string | null;
108-
10984
/**
11085
* The name of the price associated with this line item.
11186
*/

src/resources/invoices.ts

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -617,11 +617,6 @@ export namespace InvoiceFetchUpcomingResponse {
617617
*/
618618
credits_applied: string;
619619

620-
/**
621-
* @deprecated This field is deprecated in favor of `adjustments`
622-
*/
623-
discount: Shared.Discount | null;
624-
625620
/**
626621
* The end date of the range of time applied for this line item's price.
627622
*/
@@ -639,26 +634,6 @@ export namespace InvoiceFetchUpcomingResponse {
639634
*/
640635
grouping: string | null;
641636

642-
/**
643-
* @deprecated This field is deprecated in favor of `adjustments`.
644-
*/
645-
maximum: Shared.Maximum | null;
646-
647-
/**
648-
* @deprecated This field is deprecated in favor of `adjustments`.
649-
*/
650-
maximum_amount: string | null;
651-
652-
/**
653-
* @deprecated This field is deprecated in favor of `adjustments`.
654-
*/
655-
minimum: Shared.Minimum | null;
656-
657-
/**
658-
* @deprecated This field is deprecated in favor of `adjustments`.
659-
*/
660-
minimum_amount: string | null;
661-
662637
/**
663638
* The name of the price associated with this line item.
664639
*/

src/resources/shared.ts

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -739,11 +739,6 @@ export namespace ChangedSubscriptionResources {
739739
*/
740740
credits_applied: string;
741741

742-
/**
743-
* @deprecated This field is deprecated in favor of `adjustments`
744-
*/
745-
discount: Shared.Discount | null;
746-
747742
/**
748743
* The end date of the range of time applied for this line item's price.
749744
*/
@@ -761,26 +756,6 @@ export namespace ChangedSubscriptionResources {
761756
*/
762757
grouping: string | null;
763758

764-
/**
765-
* @deprecated This field is deprecated in favor of `adjustments`.
766-
*/
767-
maximum: Shared.Maximum | null;
768-
769-
/**
770-
* @deprecated This field is deprecated in favor of `adjustments`.
771-
*/
772-
maximum_amount: string | null;
773-
774-
/**
775-
* @deprecated This field is deprecated in favor of `adjustments`.
776-
*/
777-
minimum: Shared.Minimum | null;
778-
779-
/**
780-
* @deprecated This field is deprecated in favor of `adjustments`.
781-
*/
782-
minimum_amount: string | null;
783-
784759
/**
785760
* The name of the price associated with this line item.
786761
*/
@@ -2009,11 +1984,6 @@ export namespace Invoice {
20091984
*/
20101985
credits_applied: string;
20111986

2012-
/**
2013-
* @deprecated This field is deprecated in favor of `adjustments`
2014-
*/
2015-
discount: Shared.Discount | null;
2016-
20171987
/**
20181988
* The end date of the range of time applied for this line item's price.
20191989
*/
@@ -2031,26 +2001,6 @@ export namespace Invoice {
20312001
*/
20322002
grouping: string | null;
20332003

2034-
/**
2035-
* @deprecated This field is deprecated in favor of `adjustments`.
2036-
*/
2037-
maximum: Shared.Maximum | null;
2038-
2039-
/**
2040-
* @deprecated This field is deprecated in favor of `adjustments`.
2041-
*/
2042-
maximum_amount: string | null;
2043-
2044-
/**
2045-
* @deprecated This field is deprecated in favor of `adjustments`.
2046-
*/
2047-
minimum: Shared.Minimum | null;
2048-
2049-
/**
2050-
* @deprecated This field is deprecated in favor of `adjustments`.
2051-
*/
2052-
minimum_amount: string | null;
2053-
20542004
/**
20552005
* The name of the price associated with this line item.
20562006
*/

0 commit comments

Comments
 (0)