orb-billing 5.29.0 → 5.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"shared.js","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAGtF,iDAAqC;AAsrcrC,MAAa,eAAgB,SAAQ,iBAAgB;CAAG;AAAxD,0CAAwD;AAExD,MAAa,YAAa,SAAQ,iBAAa;CAAG;AAAlD,oCAAkD;AAElD,MAAa,UAAW,SAAQ,iBAAW;CAAG;AAA9C,gCAA8C"}
1
+ {"version":3,"file":"shared.js","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAGtF,iDAAqC;AAoocrC,MAAa,eAAgB,SAAQ,iBAAgB;CAAG;AAAxD,0CAAwD;AAExD,MAAa,YAAa,SAAQ,iBAAa;CAAG;AAAlD,oCAAkD;AAElD,MAAa,UAAW,SAAQ,iBAAW;CAAG;AAA9C,gCAA8C"}
@@ -1 +1 @@
1
- {"version":3,"file":"shared.mjs","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,IAAI,EAAE;AAsrcf,MAAM,OAAO,eAAgB,SAAQ,IAAgB;CAAG;AAExD,MAAM,OAAO,YAAa,SAAQ,IAAa;CAAG;AAElD,MAAM,OAAO,UAAW,SAAQ,IAAW;CAAG"}
1
+ {"version":3,"file":"shared.mjs","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,IAAI,EAAE;AAoocf,MAAM,OAAO,eAAgB,SAAQ,IAAgB;CAAG;AAExD,MAAM,OAAO,YAAa,SAAQ,IAAa;CAAG;AAElD,MAAM,OAAO,UAAW,SAAQ,IAAW;CAAG"}
@@ -650,6 +650,7 @@ export interface CustomerCreateParams {
650
650
  | NewSphereConfiguration
651
651
  | CustomerCreateParams.NewNumeralConfiguration
652
652
  | CustomerCreateParams.NewAnrokConfiguration
653
+ | CustomerCreateParams.NewStripeTaxConfiguration
653
654
  | null;
654
655
 
655
656
  /**
@@ -832,6 +833,18 @@ export namespace CustomerCreateParams {
832
833
  */
833
834
  automatic_tax_enabled?: boolean | null;
834
835
  }
836
+
837
+ export interface NewStripeTaxConfiguration {
838
+ tax_exempt: boolean;
839
+
840
+ tax_provider: 'stripe';
841
+
842
+ /**
843
+ * Whether to automatically calculate tax for this customer. When null, inherits
844
+ * from account-level setting. When true or false, overrides the account setting.
845
+ */
846
+ automatic_tax_enabled?: boolean | null;
847
+ }
835
848
  }
836
849
 
837
850
  export interface CustomerUpdateParams {
@@ -927,6 +940,7 @@ export interface CustomerUpdateParams {
927
940
  | NewSphereConfiguration
928
941
  | CustomerUpdateParams.NewNumeralConfiguration
929
942
  | CustomerUpdateParams.NewAnrokConfiguration
943
+ | CustomerUpdateParams.NewStripeTaxConfiguration
930
944
  | null;
931
945
 
932
946
  /**
@@ -1102,6 +1116,18 @@ export namespace CustomerUpdateParams {
1102
1116
  */
1103
1117
  automatic_tax_enabled?: boolean | null;
1104
1118
  }
1119
+
1120
+ export interface NewStripeTaxConfiguration {
1121
+ tax_exempt: boolean;
1122
+
1123
+ tax_provider: 'stripe';
1124
+
1125
+ /**
1126
+ * Whether to automatically calculate tax for this customer. When null, inherits
1127
+ * from account-level setting. When true or false, overrides the account setting.
1128
+ */
1129
+ automatic_tax_enabled?: boolean | null;
1130
+ }
1105
1131
  }
1106
1132
 
1107
1133
  export interface CustomerListParams extends PageParams {
@@ -1207,6 +1233,7 @@ export interface CustomerUpdateByExternalIDParams {
1207
1233
  | NewSphereConfiguration
1208
1234
  | CustomerUpdateByExternalIDParams.NewNumeralConfiguration
1209
1235
  | CustomerUpdateByExternalIDParams.NewAnrokConfiguration
1236
+ | CustomerUpdateByExternalIDParams.NewStripeTaxConfiguration
1210
1237
  | null;
1211
1238
 
1212
1239
  /**
@@ -1382,6 +1409,18 @@ export namespace CustomerUpdateByExternalIDParams {
1382
1409
  */
1383
1410
  automatic_tax_enabled?: boolean | null;
1384
1411
  }
1412
+
1413
+ export interface NewStripeTaxConfiguration {
1414
+ tax_exempt: boolean;
1415
+
1416
+ tax_provider: 'stripe';
1417
+
1418
+ /**
1419
+ * Whether to automatically calculate tax for this customer. When null, inherits
1420
+ * from account-level setting. When true or false, overrides the account setting.
1421
+ */
1422
+ automatic_tax_enabled?: boolean | null;
1423
+ }
1385
1424
  }
1386
1425
 
1387
1426
  Customers.CustomersPage = CustomersPage;
@@ -64,11 +64,6 @@ export interface InvoiceLineItemCreateResponse {
64
64
  */
65
65
  credits_applied: string;
66
66
 
67
- /**
68
- * @deprecated This field is deprecated in favor of `adjustments`
69
- */
70
- discount: Shared.Discount | null;
71
-
72
67
  /**
73
68
  * The end date of the range of time applied for this line item's price.
74
69
  */
@@ -86,26 +81,6 @@ export interface InvoiceLineItemCreateResponse {
86
81
  */
87
82
  grouping: string | null;
88
83
 
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
-
109
84
  /**
110
85
  * The name of the price associated with this line item.
111
86
  */
@@ -617,11 +617,6 @@ export namespace InvoiceFetchUpcomingResponse {
617
617
  */
618
618
  credits_applied: string;
619
619
 
620
- /**
621
- * @deprecated This field is deprecated in favor of `adjustments`
622
- */
623
- discount: Shared.Discount | null;
624
-
625
620
  /**
626
621
  * The end date of the range of time applied for this line item's price.
627
622
  */
@@ -639,26 +634,6 @@ export namespace InvoiceFetchUpcomingResponse {
639
634
  */
640
635
  grouping: string | null;
641
636
 
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
-
662
637
  /**
663
638
  * The name of the price associated with this line item.
664
639
  */
@@ -739,11 +739,6 @@ export namespace ChangedSubscriptionResources {
739
739
  */
740
740
  credits_applied: string;
741
741
 
742
- /**
743
- * @deprecated This field is deprecated in favor of `adjustments`
744
- */
745
- discount: Shared.Discount | null;
746
-
747
742
  /**
748
743
  * The end date of the range of time applied for this line item's price.
749
744
  */
@@ -761,26 +756,6 @@ export namespace ChangedSubscriptionResources {
761
756
  */
762
757
  grouping: string | null;
763
758
 
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
-
784
759
  /**
785
760
  * The name of the price associated with this line item.
786
761
  */
@@ -2009,11 +1984,6 @@ export namespace Invoice {
2009
1984
  */
2010
1985
  credits_applied: string;
2011
1986
 
2012
- /**
2013
- * @deprecated This field is deprecated in favor of `adjustments`
2014
- */
2015
- discount: Shared.Discount | null;
2016
-
2017
1987
  /**
2018
1988
  * The end date of the range of time applied for this line item's price.
2019
1989
  */
@@ -2031,26 +2001,6 @@ export namespace Invoice {
2031
2001
  */
2032
2002
  grouping: string | null;
2033
2003
 
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
-
2054
2004
  /**
2055
2005
  * The name of the price associated with this line item.
2056
2006
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '5.29.0'; // x-release-please-version
1
+ export const VERSION = '5.31.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.29.0";
1
+ export declare const VERSION = "5.31.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '5.29.0'; // x-release-please-version
4
+ exports.VERSION = '5.31.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '5.29.0'; // x-release-please-version
1
+ export const VERSION = '5.31.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map