@stigg/typescript 0.1.0-alpha.21 → 0.1.0-alpha.22

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +1 -1
  3. package/resources/v1/coupons.d.mts +3 -3
  4. package/resources/v1/coupons.d.ts +3 -3
  5. package/resources/v1/customers/customers.d.mts +780 -0
  6. package/resources/v1/customers/customers.d.mts.map +1 -1
  7. package/resources/v1/customers/customers.d.ts +780 -0
  8. package/resources/v1/customers/customers.d.ts.map +1 -1
  9. package/resources/v1/customers/customers.js.map +1 -1
  10. package/resources/v1/customers/customers.mjs.map +1 -1
  11. package/resources/v1/events/credits/grants.d.mts +1 -1
  12. package/resources/v1/events/credits/grants.d.ts +1 -1
  13. package/resources/v1/products.d.mts +4 -4
  14. package/resources/v1/products.d.mts.map +1 -1
  15. package/resources/v1/products.d.ts +4 -4
  16. package/resources/v1/products.d.ts.map +1 -1
  17. package/resources/v1/subscriptions/subscriptions.d.mts +14 -11
  18. package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
  19. package/resources/v1/subscriptions/subscriptions.d.ts +14 -11
  20. package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
  21. package/resources/v1/subscriptions/subscriptions.js.map +1 -1
  22. package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
  23. package/src/resources/v1/coupons.ts +3 -3
  24. package/src/resources/v1/customers/customers.ts +1836 -0
  25. package/src/resources/v1/events/credits/grants.ts +1 -1
  26. package/src/resources/v1/products.ts +4 -4
  27. package/src/resources/v1/subscriptions/subscriptions.ts +14 -11
  28. package/src/version.ts +1 -1
  29. package/version.d.mts +1 -1
  30. package/version.d.ts +1 -1
  31. package/version.js +1 -1
  32. package/version.mjs +1 -1
@@ -613,7 +613,7 @@ export namespace GrantCreateParams {
613
613
  amount: number;
614
614
 
615
615
  /**
616
- * The price currency
616
+ * ISO 4217 currency code
617
617
  */
618
618
  currency:
619
619
  | 'usd'
@@ -262,14 +262,14 @@ export interface ProductCreateProductParams {
262
262
  id: string;
263
263
 
264
264
  /**
265
- * Description of the product
265
+ * Display name of the product
266
266
  */
267
- description?: string | null;
267
+ displayName: string;
268
268
 
269
269
  /**
270
- * Display name of the product
270
+ * Description of the product
271
271
  */
272
- displayName?: string;
272
+ description?: string | null;
273
273
 
274
274
  /**
275
275
  * Additional metadata for the product
@@ -898,7 +898,7 @@ export namespace Subscription {
898
898
  amount: number;
899
899
 
900
900
  /**
901
- * The price currency
901
+ * ISO 4217 currency code
902
902
  */
903
903
  currency:
904
904
  | 'usd'
@@ -1029,7 +1029,7 @@ export namespace Subscription {
1029
1029
  amount: number;
1030
1030
 
1031
1031
  /**
1032
- * The price currency
1032
+ * ISO 4217 currency code
1033
1033
  */
1034
1034
  currency:
1035
1035
  | 'usd'
@@ -1954,7 +1954,7 @@ export namespace SubscriptionListResponse {
1954
1954
  amount: number;
1955
1955
 
1956
1956
  /**
1957
- * The price currency
1957
+ * ISO 4217 currency code
1958
1958
  */
1959
1959
  currency:
1960
1960
  | 'usd'
@@ -2085,7 +2085,7 @@ export namespace SubscriptionListResponse {
2085
2085
  amount: number;
2086
2086
 
2087
2087
  /**
2088
- * The price currency
2088
+ * ISO 4217 currency code
2089
2089
  */
2090
2090
  currency:
2091
2091
  | 'usd'
@@ -3601,7 +3601,7 @@ export namespace SubscriptionProvisionResponse {
3601
3601
  amount: number;
3602
3602
 
3603
3603
  /**
3604
- * The price currency
3604
+ * ISO 4217 currency code
3605
3605
  */
3606
3606
  currency:
3607
3607
  | 'usd'
@@ -3732,7 +3732,7 @@ export namespace SubscriptionProvisionResponse {
3732
3732
  amount: number;
3733
3733
 
3734
3734
  /**
3735
- * The price currency
3735
+ * ISO 4217 currency code
3736
3736
  */
3737
3737
  currency:
3738
3738
  | 'usd'
@@ -3983,7 +3983,7 @@ export namespace SubscriptionUpdateParams {
3983
3983
  amount: number;
3984
3984
 
3985
3985
  /**
3986
- * The price currency
3986
+ * ISO 4217 currency code
3987
3987
  */
3988
3988
  currency:
3989
3989
  | 'usd'
@@ -4976,7 +4976,7 @@ export namespace SubscriptionPreviewParams {
4976
4976
  amount: number;
4977
4977
 
4978
4978
  /**
4979
- * The price currency
4979
+ * ISO 4217 currency code
4980
4980
  */
4981
4981
  currency:
4982
4982
  | 'usd'
@@ -5455,7 +5455,7 @@ export namespace SubscriptionProvisionParams {
5455
5455
  amount: number;
5456
5456
 
5457
5457
  /**
5458
- * The price currency
5458
+ * ISO 4217 currency code
5459
5459
  */
5460
5460
  currency:
5461
5461
  | 'usd'
@@ -5653,6 +5653,9 @@ export namespace SubscriptionProvisionParams {
5653
5653
  state?: string;
5654
5654
  }
5655
5655
 
5656
+ /**
5657
+ * Tax identifier with type and value for customer tax exemptions.
5658
+ */
5656
5659
  export interface TaxID {
5657
5660
  /**
5658
5661
  * The type of tax exemption identifier, such as VAT.
@@ -6192,7 +6195,7 @@ export namespace SubscriptionProvisionParams {
6192
6195
  amount: number;
6193
6196
 
6194
6197
  /**
6195
- * The price currency
6198
+ * ISO 4217 currency code
6196
6199
  */
6197
6200
  currency:
6198
6201
  | 'usd'
@@ -6323,7 +6326,7 @@ export namespace SubscriptionProvisionParams {
6323
6326
  amount: number;
6324
6327
 
6325
6328
  /**
6326
- * The price currency
6329
+ * ISO 4217 currency code
6327
6330
  */
6328
6331
  currency:
6329
6332
  | 'usd'
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.0-alpha.21'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.22'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-alpha.21";
1
+ export declare const VERSION = "0.1.0-alpha.22";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-alpha.21";
1
+ export declare const VERSION = "0.1.0-alpha.22";
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 = '0.1.0-alpha.21'; // x-release-please-version
4
+ exports.VERSION = '0.1.0-alpha.22'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.1.0-alpha.21'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.22'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map