hanzoai 8.5.699 → 8.5.704

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.
@@ -215,7 +215,7 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
215
215
  */
216
216
  getBillingPayouts: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
217
217
  /**
218
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
218
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
219
219
  * @summary The plan catalog, priced with whatever offer is in force
220
220
  * @param {*} [options] Override http request option.
221
221
  * @throws {RequiredError}
@@ -373,7 +373,7 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
373
373
  */
374
374
  postBillingRechargeRunAll: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
375
375
  /**
376
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
376
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
377
377
  * @summary Buy a plan with a card
378
378
  * @param {*} [options] Override http request option.
379
379
  * @throws {RequiredError}
@@ -604,7 +604,7 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
604
604
  */
605
605
  getBillingPayouts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BillingPayout>>>;
606
606
  /**
607
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
607
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
608
608
  * @summary The plan catalog, priced with whatever offer is in force
609
609
  * @param {*} [options] Override http request option.
610
610
  * @throws {RequiredError}
@@ -762,7 +762,7 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
762
762
  */
763
763
  postBillingRechargeRunAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingRecharge>>;
764
764
  /**
765
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
765
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
766
766
  * @summary Buy a plan with a card
767
767
  * @param {*} [options] Override http request option.
768
768
  * @throws {RequiredError}
@@ -985,7 +985,7 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
985
985
  */
986
986
  getBillingPayouts(options?: RawAxiosRequestConfig): AxiosPromise<Array<BillingPayout>>;
987
987
  /**
988
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
988
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
989
989
  * @summary The plan catalog, priced with whatever offer is in force
990
990
  * @param {*} [options] Override http request option.
991
991
  * @throws {RequiredError}
@@ -1140,7 +1140,7 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
1140
1140
  */
1141
1141
  postBillingRechargeRunAll(options?: RawAxiosRequestConfig): AxiosPromise<BillingRecharge>;
1142
1142
  /**
1143
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
1143
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
1144
1144
  * @summary Buy a plan with a card
1145
1145
  * @param {*} [options] Override http request option.
1146
1146
  * @throws {RequiredError}
@@ -1804,7 +1804,7 @@ export declare class BillingApi extends BaseAPI {
1804
1804
  */
1805
1805
  getBillingPayouts(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BillingPayout[], any, {}>>;
1806
1806
  /**
1807
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
1807
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
1808
1808
  * @summary The plan catalog, priced with whatever offer is in force
1809
1809
  * @param {*} [options] Override http request option.
1810
1810
  * @throws {RequiredError}
@@ -1980,7 +1980,7 @@ export declare class BillingApi extends BaseAPI {
1980
1980
  */
1981
1981
  postBillingRechargeRunAll(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BillingRecharge, any, {}>>;
1982
1982
  /**
1983
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
1983
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
1984
1984
  * @summary Buy a plan with a card
1985
1985
  * @param {*} [options] Override http request option.
1986
1986
  * @throws {RequiredError}
@@ -667,7 +667,7 @@ const BillingApiAxiosParamCreator = function (configuration) {
667
667
  };
668
668
  },
669
669
  /**
670
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
670
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
671
671
  * @summary The plan catalog, priced with whatever offer is in force
672
672
  * @param {*} [options] Override http request option.
673
673
  * @throws {RequiredError}
@@ -1303,7 +1303,7 @@ const BillingApiAxiosParamCreator = function (configuration) {
1303
1303
  };
1304
1304
  },
1305
1305
  /**
1306
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
1306
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
1307
1307
  * @summary Buy a plan with a card
1308
1308
  * @param {*} [options] Override http request option.
1309
1309
  * @throws {RequiredError}
@@ -1842,7 +1842,7 @@ const BillingApiFp = function (configuration) {
1842
1842
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1843
1843
  },
1844
1844
  /**
1845
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
1845
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
1846
1846
  * @summary The plan catalog, priced with whatever offer is in force
1847
1847
  * @param {*} [options] Override http request option.
1848
1848
  * @throws {RequiredError}
@@ -2105,7 +2105,7 @@ const BillingApiFp = function (configuration) {
2105
2105
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2106
2106
  },
2107
2107
  /**
2108
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
2108
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
2109
2109
  * @summary Buy a plan with a card
2110
2110
  * @param {*} [options] Override http request option.
2111
2111
  * @throws {RequiredError}
@@ -2412,7 +2412,7 @@ const BillingApiFactory = function (configuration, basePath, axios) {
2412
2412
  return localVarFp.getBillingPayouts(options).then((request) => request(axios, basePath));
2413
2413
  },
2414
2414
  /**
2415
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
2415
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
2416
2416
  * @summary The plan catalog, priced with whatever offer is in force
2417
2417
  * @param {*} [options] Override http request option.
2418
2418
  * @throws {RequiredError}
@@ -2609,7 +2609,7 @@ const BillingApiFactory = function (configuration, basePath, axios) {
2609
2609
  return localVarFp.postBillingRechargeRunAll(options).then((request) => request(axios, basePath));
2610
2610
  },
2611
2611
  /**
2612
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
2612
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
2613
2613
  * @summary Buy a plan with a card
2614
2614
  * @param {*} [options] Override http request option.
2615
2615
  * @throws {RequiredError}
@@ -2909,7 +2909,7 @@ class BillingApi extends base_1.BaseAPI {
2909
2909
  return (0, exports.BillingApiFp)(this.configuration).getBillingPayouts(options).then((request) => request(this.axios, this.basePath));
2910
2910
  }
2911
2911
  /**
2912
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
2912
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
2913
2913
  * @summary The plan catalog, priced with whatever offer is in force
2914
2914
  * @param {*} [options] Override http request option.
2915
2915
  * @throws {RequiredError}
@@ -3127,7 +3127,7 @@ class BillingApi extends base_1.BaseAPI {
3127
3127
  return (0, exports.BillingApiFp)(this.configuration).postBillingRechargeRunAll(options).then((request) => request(this.axios, this.basePath));
3128
3128
  }
3129
3129
  /**
3130
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
3130
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
3131
3131
  * @summary Buy a plan with a card
3132
3132
  * @param {*} [options] Override http request option.
3133
3133
  * @throws {RequiredError}
@@ -214,7 +214,7 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
214
214
  */
215
215
  getBillingPayouts: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
216
216
  /**
217
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
217
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
218
218
  * @summary The plan catalog, priced with whatever offer is in force
219
219
  * @param {*} [options] Override http request option.
220
220
  * @throws {RequiredError}
@@ -372,7 +372,7 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
372
372
  */
373
373
  postBillingRechargeRunAll: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
374
374
  /**
375
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
375
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
376
376
  * @summary Buy a plan with a card
377
377
  * @param {*} [options] Override http request option.
378
378
  * @throws {RequiredError}
@@ -603,7 +603,7 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
603
603
  */
604
604
  getBillingPayouts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BillingPayout>>>;
605
605
  /**
606
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
606
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
607
607
  * @summary The plan catalog, priced with whatever offer is in force
608
608
  * @param {*} [options] Override http request option.
609
609
  * @throws {RequiredError}
@@ -761,7 +761,7 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
761
761
  */
762
762
  postBillingRechargeRunAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingRecharge>>;
763
763
  /**
764
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
764
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
765
765
  * @summary Buy a plan with a card
766
766
  * @param {*} [options] Override http request option.
767
767
  * @throws {RequiredError}
@@ -984,7 +984,7 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
984
984
  */
985
985
  getBillingPayouts(options?: RawAxiosRequestConfig): AxiosPromise<Array<BillingPayout>>;
986
986
  /**
987
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
987
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
988
988
  * @summary The plan catalog, priced with whatever offer is in force
989
989
  * @param {*} [options] Override http request option.
990
990
  * @throws {RequiredError}
@@ -1139,7 +1139,7 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
1139
1139
  */
1140
1140
  postBillingRechargeRunAll(options?: RawAxiosRequestConfig): AxiosPromise<BillingRecharge>;
1141
1141
  /**
1142
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
1142
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
1143
1143
  * @summary Buy a plan with a card
1144
1144
  * @param {*} [options] Override http request option.
1145
1145
  * @throws {RequiredError}
@@ -1803,7 +1803,7 @@ export declare class BillingApi extends BaseAPI {
1803
1803
  */
1804
1804
  getBillingPayouts(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingPayout[], any, {}>>;
1805
1805
  /**
1806
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
1806
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
1807
1807
  * @summary The plan catalog, priced with whatever offer is in force
1808
1808
  * @param {*} [options] Override http request option.
1809
1809
  * @throws {RequiredError}
@@ -1979,7 +1979,7 @@ export declare class BillingApi extends BaseAPI {
1979
1979
  */
1980
1980
  postBillingRechargeRunAll(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingRecharge, any, {}>>;
1981
1981
  /**
1982
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
1982
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
1983
1983
  * @summary Buy a plan with a card
1984
1984
  * @param {*} [options] Override http request option.
1985
1985
  * @throws {RequiredError}
@@ -661,7 +661,7 @@ export const BillingApiAxiosParamCreator = function (configuration) {
661
661
  };
662
662
  },
663
663
  /**
664
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
664
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
665
665
  * @summary The plan catalog, priced with whatever offer is in force
666
666
  * @param {*} [options] Override http request option.
667
667
  * @throws {RequiredError}
@@ -1297,7 +1297,7 @@ export const BillingApiAxiosParamCreator = function (configuration) {
1297
1297
  };
1298
1298
  },
1299
1299
  /**
1300
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
1300
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
1301
1301
  * @summary Buy a plan with a card
1302
1302
  * @param {*} [options] Override http request option.
1303
1303
  * @throws {RequiredError}
@@ -1835,7 +1835,7 @@ export const BillingApiFp = function (configuration) {
1835
1835
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1836
1836
  },
1837
1837
  /**
1838
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
1838
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
1839
1839
  * @summary The plan catalog, priced with whatever offer is in force
1840
1840
  * @param {*} [options] Override http request option.
1841
1841
  * @throws {RequiredError}
@@ -2098,7 +2098,7 @@ export const BillingApiFp = function (configuration) {
2098
2098
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2099
2099
  },
2100
2100
  /**
2101
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
2101
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
2102
2102
  * @summary Buy a plan with a card
2103
2103
  * @param {*} [options] Override http request option.
2104
2104
  * @throws {RequiredError}
@@ -2404,7 +2404,7 @@ export const BillingApiFactory = function (configuration, basePath, axios) {
2404
2404
  return localVarFp.getBillingPayouts(options).then((request) => request(axios, basePath));
2405
2405
  },
2406
2406
  /**
2407
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
2407
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
2408
2408
  * @summary The plan catalog, priced with whatever offer is in force
2409
2409
  * @param {*} [options] Override http request option.
2410
2410
  * @throws {RequiredError}
@@ -2601,7 +2601,7 @@ export const BillingApiFactory = function (configuration, basePath, axios) {
2601
2601
  return localVarFp.postBillingRechargeRunAll(options).then((request) => request(axios, basePath));
2602
2602
  },
2603
2603
  /**
2604
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
2604
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
2605
2605
  * @summary Buy a plan with a card
2606
2606
  * @param {*} [options] Override http request option.
2607
2607
  * @throws {RequiredError}
@@ -2900,7 +2900,7 @@ export class BillingApi extends BaseAPI {
2900
2900
  return BillingApiFp(this.configuration).getBillingPayouts(options).then((request) => request(this.axios, this.basePath));
2901
2901
  }
2902
2902
  /**
2903
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
2903
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
2904
2904
  * @summary The plan catalog, priced with whatever offer is in force
2905
2905
  * @param {*} [options] Override http request option.
2906
2906
  * @throws {RequiredError}
@@ -3118,7 +3118,7 @@ export class BillingApi extends BaseAPI {
3118
3118
  return BillingApiFp(this.configuration).postBillingRechargeRunAll(options).then((request) => request(this.axios, this.basePath));
3119
3119
  }
3120
3120
  /**
3121
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
3121
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
3122
3122
  * @summary Buy a plan with a card
3123
3123
  * @param {*} [options] Override http request option.
3124
3124
  * @throws {RequiredError}
@@ -118,6 +118,12 @@ export interface BillingSubscription {
118
118
  * @memberof BillingSubscription
119
119
  */
120
120
  'status'?: string;
121
+ /**
122
+ * Test marks a sandbox subscription: sold while its org was in test mode, paid with sandbox money. It is listed and never revenue.
123
+ * @type {boolean}
124
+ * @memberof BillingSubscription
125
+ */
126
+ 'test'?: boolean;
121
127
  /**
122
128
  * TrialEnd is when that trial ends; absent when there was none.
123
129
  * @type {string}
@@ -118,6 +118,12 @@ export interface BillingSubscription {
118
118
  * @memberof BillingSubscription
119
119
  */
120
120
  'status'?: string;
121
+ /**
122
+ * Test marks a sandbox subscription: sold while its org was in test mode, paid with sandbox money. It is listed and never revenue.
123
+ * @type {boolean}
124
+ * @memberof BillingSubscription
125
+ */
126
+ 'test'?: boolean;
121
127
  /**
122
128
  * TrialEnd is when that trial ends; absent when there was none.
123
129
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanzoai",
3
- "version": "8.5.699",
3
+ "version": "8.5.704",
4
4
  "description": "The official TypeScript library for the Hanzo API",
5
5
  "author": "Hanzo <dev@hanzo.ai>",
6
6
  "license": "Apache-2.0",
@@ -872,7 +872,7 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
872
872
  };
873
873
  },
874
874
  /**
875
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
875
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
876
876
  * @summary The plan catalog, priced with whatever offer is in force
877
877
  * @param {*} [options] Override http request option.
878
878
  * @throws {RequiredError}
@@ -1641,7 +1641,7 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
1641
1641
  };
1642
1642
  },
1643
1643
  /**
1644
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
1644
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
1645
1645
  * @summary Buy a plan with a card
1646
1646
  * @param {*} [options] Override http request option.
1647
1647
  * @throws {RequiredError}
@@ -2234,7 +2234,7 @@ export const BillingApiFp = function(configuration?: Configuration) {
2234
2234
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2235
2235
  },
2236
2236
  /**
2237
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
2237
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
2238
2238
  * @summary The plan catalog, priced with whatever offer is in force
2239
2239
  * @param {*} [options] Override http request option.
2240
2240
  * @throws {RequiredError}
@@ -2497,7 +2497,7 @@ export const BillingApiFp = function(configuration?: Configuration) {
2497
2497
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2498
2498
  },
2499
2499
  /**
2500
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
2500
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
2501
2501
  * @summary Buy a plan with a card
2502
2502
  * @param {*} [options] Override http request option.
2503
2503
  * @throws {RequiredError}
@@ -2804,7 +2804,7 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
2804
2804
  return localVarFp.getBillingPayouts(options).then((request) => request(axios, basePath));
2805
2805
  },
2806
2806
  /**
2807
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
2807
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
2808
2808
  * @summary The plan catalog, priced with whatever offer is in force
2809
2809
  * @param {*} [options] Override http request option.
2810
2810
  * @throws {RequiredError}
@@ -3001,7 +3001,7 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
3001
3001
  return localVarFp.postBillingRechargeRunAll(options).then((request) => request(axios, basePath));
3002
3002
  },
3003
3003
  /**
3004
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
3004
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
3005
3005
  * @summary Buy a plan with a card
3006
3006
  * @param {*} [options] Override http request option.
3007
3007
  * @throws {RequiredError}
@@ -3783,7 +3783,7 @@ export class BillingApi extends BaseAPI {
3783
3783
  }
3784
3784
 
3785
3785
  /**
3786
- * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
3786
+ * Answers every plan on sale — its price, what it includes, and the limits it carries — optionally narrowed to one `?category=`. The prices are what the CHECKOUT will charge: any active promotion is applied before they leave the store, so a reader never applies a discount a second time and a quote can never disagree with the sale. `?coupon=` quotes the catalog under a plan coupon code: each paid plan it covers carries `couponCode`, `couponPercent`, `couponFirstCents` (the first month\'s charge under it) and `couponEnds`; every other row carries `couponError` — `unknown`, `expired`, `exhausted` or `not_applicable`. Nothing is reserved by a quote. Without the parameter the catalog is unchanged. It is public and needs no tenant, and it is the catalog of the brand the request\'s host resolves to — the same brand `/v1/commerce/org` answers there. A brand that publishes no plans answers an empty list.
3787
3787
  * @summary The plan catalog, priced with whatever offer is in force
3788
3788
  * @param {*} [options] Override http request option.
3789
3789
  * @throws {RequiredError}
@@ -4022,7 +4022,7 @@ export class BillingApi extends BaseAPI {
4022
4022
  }
4023
4023
 
4024
4024
  /**
4025
- * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
4025
+ * Vaults the card (or reuses one already on file), charges the plan\'s FIRST period at the catalog price, and opens the subscription — one act, all of it server-side. There is NO AMOUNT in the request. `level` picks which of the plan\'s published prices to buy at — an index, never a number — so what the card is charged is decided by the catalog and underpaying cannot be expressed. `interval` picks the term: \"month\" (the default) or \"year\", which charges the plan\'s annual total now and renews yearly. A plan with no annual price refuses \"year\". `coupon` is a plan coupon code (case-insensitive) for a percent off the FIRST month only; renewals bill the catalog price. It is a code, never an amount. A code that is unknown, expired, used up, not for this plan, or sent with annual billing or prepaid credit is 400, and one this org or this card has already redeemed is 409 — before any card is charged, never a silent full-price sale. The receipt names the coupon and its percent. A fresh sale answers 201 with the receipt. An identical retry answers 200 with the FIRST sale\'s body, byte for byte, so a client cannot read a replay as a second subscription having been opened. A caller already on a paid plan is 409 rather than charged again.
4026
4026
  * @summary Buy a plan with a card
4027
4027
  * @param {*} [options] Override http request option.
4028
4028
  * @throws {RequiredError}
@@ -125,6 +125,12 @@ export interface BillingSubscription {
125
125
  * @memberof BillingSubscription
126
126
  */
127
127
  'status'?: string;
128
+ /**
129
+ * Test marks a sandbox subscription: sold while its org was in test mode, paid with sandbox money. It is listed and never revenue.
130
+ * @type {boolean}
131
+ * @memberof BillingSubscription
132
+ */
133
+ 'test'?: boolean;
128
134
  /**
129
135
  * TrialEnd is when that trial ends; absent when there was none.
130
136
  * @type {string}