@openmeter/sdk 1.0.0-beta-d6d4cd22dad8 → 1.0.0-beta-cf787e580aa1
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.
- package/dist/cjs/src/client/schemas.d.cts +76 -4
- package/dist/cjs/src/client/subscriptions.d.cts +10 -0
- package/dist/cjs/src/zod/index.cjs +33 -9
- package/dist/cjs/src/zod/index.cjs.map +1 -1
- package/dist/cjs/src/zod/index.d.cts +20 -0
- package/dist/src/client/schemas.d.ts +76 -4
- package/dist/src/client/subscriptions.d.ts +10 -0
- package/dist/src/zod/index.d.ts +20 -0
- package/dist/src/zod/index.js +24 -0
- package/dist/src/zod/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -3788,6 +3788,8 @@ export interface components {
|
|
|
3788
3788
|
* @example USD
|
|
3789
3789
|
*/
|
|
3790
3790
|
CurrencyCode: string;
|
|
3791
|
+
/** @description Fiat or managed custom currency code. */
|
|
3792
|
+
CurrencyCodeOrCustom: string;
|
|
3791
3793
|
/**
|
|
3792
3794
|
* @description Custom Invoicing app can be used for interface with any invoicing or payment system.
|
|
3793
3795
|
*
|
|
@@ -4087,6 +4089,11 @@ export interface components {
|
|
|
4087
4089
|
* @example 2023-01-01T01:01:01.001Z
|
|
4088
4090
|
*/
|
|
4089
4091
|
billingAnchor?: Date;
|
|
4092
|
+
/**
|
|
4093
|
+
* @description Controls how custom-currency cost bases are selected for the new subscription.
|
|
4094
|
+
* @default dynamic
|
|
4095
|
+
*/
|
|
4096
|
+
costBasisMode?: components['schemas']['SubscriptionCostBasisMode'];
|
|
4090
4097
|
/** @description The custom plan description which defines the Subscription. */
|
|
4091
4098
|
customPlan: components['schemas']['CustomPlanInput'];
|
|
4092
4099
|
};
|
|
@@ -4095,6 +4102,11 @@ export interface components {
|
|
|
4095
4102
|
* @description Create a custom subscription.
|
|
4096
4103
|
*/
|
|
4097
4104
|
CustomSubscriptionCreate: {
|
|
4105
|
+
/**
|
|
4106
|
+
* @description Controls how custom-currency cost bases are selected for the new subscription.
|
|
4107
|
+
* @default dynamic
|
|
4108
|
+
*/
|
|
4109
|
+
costBasisMode?: components['schemas']['SubscriptionCostBasisMode'];
|
|
4098
4110
|
/** @description The custom plan description which defines the Subscription. */
|
|
4099
4111
|
customPlan: components['schemas']['CustomPlanInput'];
|
|
4100
4112
|
/**
|
|
@@ -9795,6 +9807,11 @@ export interface components {
|
|
|
9795
9807
|
billingAnchor?: Date;
|
|
9796
9808
|
/** @description The settlement mode of the subscription. */
|
|
9797
9809
|
settlementMode?: components['schemas']['BillingSettlementMode'];
|
|
9810
|
+
/**
|
|
9811
|
+
* @description Controls how custom-currency cost bases are selected for the new subscription.
|
|
9812
|
+
* @default dynamic
|
|
9813
|
+
*/
|
|
9814
|
+
costBasisMode?: components['schemas']['SubscriptionCostBasisMode'];
|
|
9798
9815
|
};
|
|
9799
9816
|
/**
|
|
9800
9817
|
* Create from plan
|
|
@@ -9818,6 +9835,11 @@ export interface components {
|
|
|
9818
9835
|
description?: string;
|
|
9819
9836
|
/** @description The settlement mode of the subscription. */
|
|
9820
9837
|
settlementMode?: components['schemas']['BillingSettlementMode'];
|
|
9838
|
+
/**
|
|
9839
|
+
* @description Controls how custom-currency cost bases are selected for the new subscription.
|
|
9840
|
+
* @default dynamic
|
|
9841
|
+
*/
|
|
9842
|
+
costBasisMode?: components['schemas']['SubscriptionCostBasisMode'];
|
|
9821
9843
|
/**
|
|
9822
9844
|
* @description Timing configuration for the change, when the change should take effect.
|
|
9823
9845
|
* The default is immediate.
|
|
@@ -10893,11 +10915,22 @@ export interface components {
|
|
|
10893
10915
|
plan?: components['schemas']['PlanReference'];
|
|
10894
10916
|
/**
|
|
10895
10917
|
* Currency
|
|
10896
|
-
* @description The currency
|
|
10897
|
-
* Will be revised once we add multi currency support.
|
|
10918
|
+
* @description The fiat currency in which the subscription is invoiced.
|
|
10898
10919
|
* @default USD
|
|
10899
10920
|
*/
|
|
10900
10921
|
currency: components['schemas']['CurrencyCode'];
|
|
10922
|
+
/**
|
|
10923
|
+
* Cost basis mode
|
|
10924
|
+
* @description Controls whether custom-currency cost bases are resolved dynamically or pinned
|
|
10925
|
+
* when their currency pair is introduced to the subscription.
|
|
10926
|
+
* @default dynamic
|
|
10927
|
+
*/
|
|
10928
|
+
readonly costBasisMode: components['schemas']['SubscriptionCostBasisMode'];
|
|
10929
|
+
/**
|
|
10930
|
+
* Pinned cost bases
|
|
10931
|
+
* @description Cost bases pinned to custom-currency pairs for this subscription.
|
|
10932
|
+
*/
|
|
10933
|
+
readonly costBasisPins: components['schemas']['SubscriptionCostBasisPin'][];
|
|
10901
10934
|
/**
|
|
10902
10935
|
* Billing cadence
|
|
10903
10936
|
* Format: duration
|
|
@@ -11263,6 +11296,26 @@ export interface components {
|
|
|
11263
11296
|
/** @description Additional properties specific to the problem type may be present. */
|
|
11264
11297
|
extensions?: components['schemas']['SubscriptionErrorExtensions'];
|
|
11265
11298
|
};
|
|
11299
|
+
/**
|
|
11300
|
+
* @description Controls how custom-currency cost bases are selected for the subscription.
|
|
11301
|
+
* @enum {string}
|
|
11302
|
+
*/
|
|
11303
|
+
SubscriptionCostBasisMode: 'dynamic' | 'pinned';
|
|
11304
|
+
/** @description A cost basis pinned to a custom-currency pair for the subscription. */
|
|
11305
|
+
SubscriptionCostBasisPin: {
|
|
11306
|
+
/**
|
|
11307
|
+
* @description The managed custom currency ID.
|
|
11308
|
+
* @example 01G65Z755AFWAKHE12NY0CQ9FH
|
|
11309
|
+
*/
|
|
11310
|
+
readonly customCurrencyId: string;
|
|
11311
|
+
/** @description The fiat currency in which the subscription is invoiced. */
|
|
11312
|
+
readonly invoiceCurrency: components['schemas']['CurrencyCode'];
|
|
11313
|
+
/**
|
|
11314
|
+
* @description The pinned cost basis resource ID.
|
|
11315
|
+
* @example 01G65Z755AFWAKHE12NY0CQ9FH
|
|
11316
|
+
*/
|
|
11317
|
+
readonly costBasisId: string;
|
|
11318
|
+
};
|
|
11266
11319
|
/** @description Create a subscription. */
|
|
11267
11320
|
SubscriptionCreate: components['schemas']['PlanSubscriptionCreate'] | components['schemas']['CustomSubscriptionCreate'];
|
|
11268
11321
|
/** @description Subscription edit input. */
|
|
@@ -11353,11 +11406,22 @@ export interface components {
|
|
|
11353
11406
|
plan?: components['schemas']['PlanReference'];
|
|
11354
11407
|
/**
|
|
11355
11408
|
* Currency
|
|
11356
|
-
* @description The currency
|
|
11357
|
-
* Will be revised once we add multi currency support.
|
|
11409
|
+
* @description The fiat currency in which the subscription is invoiced.
|
|
11358
11410
|
* @default USD
|
|
11359
11411
|
*/
|
|
11360
11412
|
currency: components['schemas']['CurrencyCode'];
|
|
11413
|
+
/**
|
|
11414
|
+
* Cost basis mode
|
|
11415
|
+
* @description Controls whether custom-currency cost bases are resolved dynamically or pinned
|
|
11416
|
+
* when their currency pair is introduced to the subscription.
|
|
11417
|
+
* @default dynamic
|
|
11418
|
+
*/
|
|
11419
|
+
readonly costBasisMode: components['schemas']['SubscriptionCostBasisMode'];
|
|
11420
|
+
/**
|
|
11421
|
+
* Pinned cost bases
|
|
11422
|
+
* @description Cost bases pinned to custom-currency pairs for this subscription.
|
|
11423
|
+
*/
|
|
11424
|
+
readonly costBasisPins: components['schemas']['SubscriptionCostBasisPin'][];
|
|
11361
11425
|
/**
|
|
11362
11426
|
* Billing cadence
|
|
11363
11427
|
* Format: duration
|
|
@@ -11466,6 +11530,11 @@ export interface components {
|
|
|
11466
11530
|
* We say "referenced by the Price" regardless of how a price itself is referenced, it colloquially makes sense to say "paying the same price for the same thing". In practice this should be derived from what's printed on the invoice line-item.
|
|
11467
11531
|
*/
|
|
11468
11532
|
key: string;
|
|
11533
|
+
/**
|
|
11534
|
+
* Currency
|
|
11535
|
+
* @description The materialized currency of the item's rate card. Present for priced items.
|
|
11536
|
+
*/
|
|
11537
|
+
readonly currency?: components['schemas']['CurrencyCodeOrCustom'];
|
|
11469
11538
|
/** @description The feature's key (if present). */
|
|
11470
11539
|
featureKey?: string;
|
|
11471
11540
|
/**
|
|
@@ -12358,6 +12427,7 @@ export type CreateStripeCustomerPortalSessionParams = components['schemas']['Cre
|
|
|
12358
12427
|
export type CreditNoteOriginalInvoiceRef = components['schemas']['CreditNoteOriginalInvoiceRef'];
|
|
12359
12428
|
export type Currency = components['schemas']['Currency'];
|
|
12360
12429
|
export type CurrencyCode = components['schemas']['CurrencyCode'];
|
|
12430
|
+
export type CurrencyCodeOrCustom = components['schemas']['CurrencyCodeOrCustom'];
|
|
12361
12431
|
export type CustomInvoicingApp = components['schemas']['CustomInvoicingApp'];
|
|
12362
12432
|
export type CustomInvoicingAppReplaceUpdate = components['schemas']['CustomInvoicingAppReplaceUpdate'];
|
|
12363
12433
|
export type CustomInvoicingCustomerAppData = components['schemas']['CustomInvoicingCustomerAppData'];
|
|
@@ -12637,6 +12707,8 @@ export type SubscriptionBadRequestErrorResponse = components['schemas']['Subscri
|
|
|
12637
12707
|
export type SubscriptionChange = components['schemas']['SubscriptionChange'];
|
|
12638
12708
|
export type SubscriptionChangeResponseBody = components['schemas']['SubscriptionChangeResponseBody'];
|
|
12639
12709
|
export type SubscriptionConflictErrorResponse = components['schemas']['SubscriptionConflictErrorResponse'];
|
|
12710
|
+
export type SubscriptionCostBasisMode = components['schemas']['SubscriptionCostBasisMode'];
|
|
12711
|
+
export type SubscriptionCostBasisPin = components['schemas']['SubscriptionCostBasisPin'];
|
|
12640
12712
|
export type SubscriptionCreate = components['schemas']['SubscriptionCreate'];
|
|
12641
12713
|
export type SubscriptionEdit = components['schemas']['SubscriptionEdit'];
|
|
12642
12714
|
export type SubscriptionEditOperation = components['schemas']['SubscriptionEditOperation'];
|
|
@@ -29,6 +29,8 @@ export declare class Subscriptions {
|
|
|
29
29
|
customerId: string;
|
|
30
30
|
plan?: import("./schemas.cjs").components["schemas"]["PlanReference"];
|
|
31
31
|
currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
|
|
32
|
+
readonly costBasisMode: import("./schemas.cjs").components["schemas"]["SubscriptionCostBasisMode"];
|
|
33
|
+
readonly costBasisPins: import("./schemas.cjs").components["schemas"]["SubscriptionCostBasisPin"][];
|
|
32
34
|
readonly billingCadence: string;
|
|
33
35
|
readonly proRatingConfig?: import("./schemas.cjs").components["schemas"]["ProRatingConfig"];
|
|
34
36
|
readonly billingAnchor: Date;
|
|
@@ -55,6 +57,8 @@ export declare class Subscriptions {
|
|
|
55
57
|
customerId: string;
|
|
56
58
|
plan?: import("./schemas.cjs").components["schemas"]["PlanReference"];
|
|
57
59
|
currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
|
|
60
|
+
readonly costBasisMode: import("./schemas.cjs").components["schemas"]["SubscriptionCostBasisMode"];
|
|
61
|
+
readonly costBasisPins: import("./schemas.cjs").components["schemas"]["SubscriptionCostBasisPin"][];
|
|
58
62
|
readonly billingCadence: string;
|
|
59
63
|
readonly proRatingConfig?: import("./schemas.cjs").components["schemas"]["ProRatingConfig"];
|
|
60
64
|
readonly billingAnchor: Date;
|
|
@@ -85,6 +89,8 @@ export declare class Subscriptions {
|
|
|
85
89
|
customerId: string;
|
|
86
90
|
plan?: import("./schemas.cjs").components["schemas"]["PlanReference"];
|
|
87
91
|
currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
|
|
92
|
+
readonly costBasisMode: import("./schemas.cjs").components["schemas"]["SubscriptionCostBasisMode"];
|
|
93
|
+
readonly costBasisPins: import("./schemas.cjs").components["schemas"]["SubscriptionCostBasisPin"][];
|
|
88
94
|
readonly billingCadence: string;
|
|
89
95
|
readonly proRatingConfig?: import("./schemas.cjs").components["schemas"]["ProRatingConfig"];
|
|
90
96
|
readonly billingAnchor: Date;
|
|
@@ -113,6 +119,8 @@ export declare class Subscriptions {
|
|
|
113
119
|
customerId: string;
|
|
114
120
|
plan?: import("./schemas.cjs").components["schemas"]["PlanReference"];
|
|
115
121
|
currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
|
|
122
|
+
readonly costBasisMode: import("./schemas.cjs").components["schemas"]["SubscriptionCostBasisMode"];
|
|
123
|
+
readonly costBasisPins: import("./schemas.cjs").components["schemas"]["SubscriptionCostBasisPin"][];
|
|
116
124
|
readonly billingCadence: string;
|
|
117
125
|
readonly proRatingConfig?: import("./schemas.cjs").components["schemas"]["ProRatingConfig"];
|
|
118
126
|
readonly billingAnchor: Date;
|
|
@@ -164,6 +172,8 @@ export declare class Subscriptions {
|
|
|
164
172
|
customerId: string;
|
|
165
173
|
plan?: import("./schemas.cjs").components["schemas"]["PlanReference"];
|
|
166
174
|
currency: import("./schemas.cjs").components["schemas"]["CurrencyCode"];
|
|
175
|
+
readonly costBasisMode: import("./schemas.cjs").components["schemas"]["SubscriptionCostBasisMode"];
|
|
176
|
+
readonly costBasisPins: import("./schemas.cjs").components["schemas"]["SubscriptionCostBasisPin"][];
|
|
167
177
|
readonly billingCadence: string;
|
|
168
178
|
readonly proRatingConfig?: import("./schemas.cjs").components["schemas"]["ProRatingConfig"];
|
|
169
179
|
readonly billingAnchor: Date;
|
|
@@ -53,15 +53,15 @@ exports.updatePlanBodyPhasesItemNameMax = exports.updatePlanBodyPhasesItemKeyReg
|
|
|
53
53
|
exports.UpdatePlanBody = exports.updatePlanBodyPhasesItemRateCardsItemTwoDiscountsOneUsageOneQuantityOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFiveMaximumAmountOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFiveMinimumAmountOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFiveQuantityPerPackageOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFiveAmountOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFourMaximumAmountOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFourMinimumAmountOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFourMultiplierDefault = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneFourMultiplierOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneThreeMaximumAmountOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneThreeMinimumAmountOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneThreeTiersItemUpToAmountOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneTwoMaximumAmountOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneTwoMinimumAmountOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneTwoAmountOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneOnePaymentTermDefault = exports.updatePlanBodyPhasesItemRateCardsItemTwoPriceOneOneAmountOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoTaxConfigOneTaxCodeIdRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoTaxConfigOneStripeOneCodeRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = exports.updatePlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = exports.updatePlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = exports.updatePlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetMin = exports.updatePlanBodyPhasesItemRateCardsItemTwoEntitlementTemplateOneOneIsSoftLimitDefault = exports.updatePlanBodyPhasesItemRateCardsItemTwoFeatureKeyRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoFeatureKeyMax = exports.updatePlanBodyPhasesItemRateCardsItemTwoDescriptionMax = exports.updatePlanBodyPhasesItemRateCardsItemTwoNameMax = exports.updatePlanBodyPhasesItemRateCardsItemTwoKeyRegExp = exports.updatePlanBodyPhasesItemRateCardsItemTwoKeyMax = exports.updatePlanBodyPhasesItemRateCardsItemOneDiscountsOneUsageOneQuantityOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemOnePriceOnePaymentTermDefault = exports.updatePlanBodyPhasesItemRateCardsItemOnePriceOneAmountOneRegExp = exports.updatePlanBodyPhasesItemRateCardsItemOneTaxConfigOneTaxCodeIdRegExp = exports.updatePlanBodyPhasesItemRateCardsItemOneTaxConfigOneStripeOneCodeRegExp = exports.updatePlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = exports.updatePlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = exports.updatePlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = exports.updatePlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetMin = exports.updatePlanBodyPhasesItemRateCardsItemOneEntitlementTemplateOneOneIsSoftLimitDefault = exports.updatePlanBodyPhasesItemRateCardsItemOneFeatureKeyRegExp = exports.updatePlanBodyPhasesItemRateCardsItemOneFeatureKeyMax = exports.updatePlanBodyPhasesItemRateCardsItemOneDescriptionMax = exports.updatePlanBodyPhasesItemRateCardsItemOneNameMax = exports.updatePlanBodyPhasesItemRateCardsItemOneKeyRegExp = exports.updatePlanBodyPhasesItemRateCardsItemOneKeyMax = exports.updatePlanBodyPhasesItemDescriptionMax = void 0;
|
|
54
54
|
exports.ListPortalTokensQueryParams = exports.listPortalTokensQueryLimitMax = exports.listPortalTokensQueryLimitDefault = exports.CreatePortalTokenBody = exports.QueryPortalMeterQueryParams = exports.queryPortalMeterQueryFilterCustomerIdMax = exports.queryPortalMeterQueryWindowTimeZoneDefault = exports.queryPortalMeterQueryClientIdMax = exports.QueryPortalMeterParams = exports.queryPortalMeterPathMeterSlugRegExp = exports.queryPortalMeterPathMeterSlugMax = exports.PublishPlanParams = exports.publishPlanPathPlanIdRegExp = exports.ArchivePlanParams = exports.archivePlanPathPlanIdRegExp = exports.DeletePlanAddonParams = exports.deletePlanAddonPathPlanAddonIdRegExp = exports.deletePlanAddonPathPlanIdRegExp = exports.GetPlanAddonParams = exports.getPlanAddonPathPlanAddonIdRegExp = exports.getPlanAddonPathPlanAddonIdMax = exports.getPlanAddonPathPlanIdRegExp = exports.getPlanAddonPathPlanIdMax = exports.UpdatePlanAddonBody = exports.UpdatePlanAddonParams = exports.updatePlanAddonPathPlanAddonIdRegExp = exports.updatePlanAddonPathPlanIdRegExp = exports.CreatePlanAddonBody = exports.createPlanAddonBodyAddonIdRegExp = exports.CreatePlanAddonParams = exports.createPlanAddonPathPlanIdRegExp = exports.ListPlanAddonsQueryParams = exports.listPlanAddonsQueryOrderDefault = exports.listPlanAddonsQueryPageSizeMax = exports.listPlanAddonsQueryPageSizeDefault = exports.listPlanAddonsQueryPageDefault = exports.listPlanAddonsQueryKeyItemRegExp = exports.listPlanAddonsQueryKeyItemMax = exports.listPlanAddonsQueryIdItemRegExp = exports.listPlanAddonsQueryIncludeDeletedDefault = exports.ListPlanAddonsParams = exports.listPlanAddonsPathPlanIdRegExp = exports.listPlanAddonsPathPlanIdMax = exports.DeletePlanParams = exports.deletePlanPathPlanIdRegExp = exports.GetPlanQueryParams = exports.getPlanQueryIncludeLatestDefault = exports.GetPlanParams = exports.getPlanPathPlanIdRegExp = exports.getPlanPathPlanIdMax = void 0;
|
|
55
55
|
exports.listEntitlementGrantsQueryIncludeDeletedDefault = exports.ListEntitlementGrantsParams = exports.ListSubjectEntitlementsQueryParams = exports.listSubjectEntitlementsQueryIncludeDeletedDefault = exports.ListSubjectEntitlementsParams = exports.CreateEntitlementBody = exports.createEntitlementBodyThreeUsagePeriodOneIntervalOneOneRegExp = exports.createEntitlementBodyThreeFeatureIdRegExp = exports.createEntitlementBodyThreeFeatureKeyRegExp = exports.createEntitlementBodyThreeFeatureKeyMax = exports.createEntitlementBodyTwoUsagePeriodOneIntervalOneOneRegExp = exports.createEntitlementBodyTwoFeatureIdRegExp = exports.createEntitlementBodyTwoFeatureKeyRegExp = exports.createEntitlementBodyTwoFeatureKeyMax = exports.createEntitlementBodyOnePreserveOverageAtResetDefault = exports.createEntitlementBodyOneIssueAfterResetPriorityMax = exports.createEntitlementBodyOneIssueAfterResetPriorityDefault = exports.createEntitlementBodyOneIssueAfterResetMin = exports.createEntitlementBodyOneUsagePeriodOneIntervalOneOneRegExp = exports.createEntitlementBodyOneIsUnlimitedDefault = exports.createEntitlementBodyOneIsSoftLimitDefault = exports.createEntitlementBodyOneFeatureIdRegExp = exports.createEntitlementBodyOneFeatureKeyRegExp = exports.createEntitlementBodyOneFeatureKeyMax = exports.CreateEntitlementParams = exports.DeleteSubjectParams = exports.GetSubjectParams = exports.UpsertSubjectBody = exports.UpsertSubjectBodyItem = exports.CreateStripeCheckoutSessionBody = exports.createStripeCheckoutSessionBodyOptionsOneCustomTextOneTermsOfServiceAcceptanceMessageMax = exports.createStripeCheckoutSessionBodyOptionsOneCustomTextOneSubmitMessageMax = exports.createStripeCheckoutSessionBodyOptionsOneCustomTextOneShippingAddressMessageMax = exports.createStripeCheckoutSessionBodyOptionsOneCustomTextOneAfterSubmitMessageMax = exports.createStripeCheckoutSessionBodyOptionsOneCurrencyOneRegExp = exports.createStripeCheckoutSessionBodyOptionsOneCurrencyOneMax = exports.createStripeCheckoutSessionBodyOptionsOneCurrencyOneMin = exports.createStripeCheckoutSessionBodyCustomerThreeBillingAddressOneCountryOneRegExp = exports.createStripeCheckoutSessionBodyCustomerThreeBillingAddressOneCountryOneMax = exports.createStripeCheckoutSessionBodyCustomerThreeBillingAddressOneCountryOneMin = exports.createStripeCheckoutSessionBodyCustomerThreeCurrencyOneRegExp = exports.createStripeCheckoutSessionBodyCustomerThreeCurrencyOneMax = exports.createStripeCheckoutSessionBodyCustomerThreeCurrencyOneMin = exports.createStripeCheckoutSessionBodyCustomerThreeUsageAttributionOneSubjectKeysMin = exports.createStripeCheckoutSessionBodyCustomerThreeKeyMax = exports.createStripeCheckoutSessionBodyCustomerThreeDescriptionMax = exports.createStripeCheckoutSessionBodyCustomerThreeNameMax = exports.createStripeCheckoutSessionBodyCustomerOneIdRegExp = exports.createStripeCheckoutSessionBodyAppIdRegExp = exports.InvalidatePortalTokensBody = void 0;
|
|
56
|
-
exports.
|
|
57
|
-
exports.
|
|
58
|
-
exports.
|
|
59
|
-
exports.
|
|
60
|
-
exports.
|
|
61
|
-
exports.
|
|
62
|
-
exports.
|
|
63
|
-
exports.
|
|
64
|
-
exports.ListGrantsV2QueryParams = exports.listGrantsV2QueryOrderDefault = exports.listGrantsV2QueryLimitMax = exports.listGrantsV2QueryLimitDefault = exports.listGrantsV2QueryOffsetMin = exports.listGrantsV2QueryOffsetDefault = exports.listGrantsV2QueryPageSizeMax = exports.listGrantsV2QueryPageSizeDefault = exports.listGrantsV2QueryPageDefault = exports.listGrantsV2QueryIncludeDeletedDefault = exports.listGrantsV2QueryCustomerItemTwoMax = exports.listGrantsV2QueryCustomerItemOneRegExp = exports.ListEventsV2QueryParams = exports.listEventsV2QueryClientIdMax = exports.listEventsV2QueryLimitMax = exports.listEventsV2QueryLimitDefault = exports.GetEntitlementByIdV2Params = exports.getEntitlementByIdV2PathEntitlementIdRegExp = exports.ListEntitlementsV2QueryParams = void 0;
|
|
56
|
+
exports.createSubscriptionBodyTwoCustomPlanOneOneCurrencyOneMax = exports.createSubscriptionBodyTwoCustomPlanOneOneCurrencyOneMin = exports.createSubscriptionBodyTwoCustomPlanOneOneDescriptionMax = exports.createSubscriptionBodyTwoCustomPlanOneOneNameMax = exports.createSubscriptionBodyTwoCostBasisModeDefault = exports.createSubscriptionBodyOneCustomerKeyMax = exports.createSubscriptionBodyOneCustomerIdRegExp = exports.createSubscriptionBodyOneTimingDefault = exports.createSubscriptionBodyOneCostBasisModeDefault = exports.createSubscriptionBodyOnePlanOneKeyRegExp = exports.createSubscriptionBodyOnePlanOneKeyMax = exports.ResetEntitlementUsageBody = exports.ResetEntitlementUsageParams = exports.GetEntitlementHistoryQueryParams = exports.getEntitlementHistoryQueryWindowTimeZoneDefault = exports.GetEntitlementHistoryParams = exports.DeleteEntitlementParams = exports.GetEntitlementParams = exports.GetEntitlementValueQueryParams = exports.GetEntitlementValueParams = exports.OverrideEntitlementBody = exports.overrideEntitlementBodyThreeUsagePeriodOneIntervalOneOneRegExp = exports.overrideEntitlementBodyThreeFeatureIdRegExp = exports.overrideEntitlementBodyThreeFeatureKeyRegExp = exports.overrideEntitlementBodyThreeFeatureKeyMax = exports.overrideEntitlementBodyTwoUsagePeriodOneIntervalOneOneRegExp = exports.overrideEntitlementBodyTwoFeatureIdRegExp = exports.overrideEntitlementBodyTwoFeatureKeyRegExp = exports.overrideEntitlementBodyTwoFeatureKeyMax = exports.overrideEntitlementBodyOnePreserveOverageAtResetDefault = exports.overrideEntitlementBodyOneIssueAfterResetPriorityMax = exports.overrideEntitlementBodyOneIssueAfterResetPriorityDefault = exports.overrideEntitlementBodyOneIssueAfterResetMin = exports.overrideEntitlementBodyOneUsagePeriodOneIntervalOneOneRegExp = exports.overrideEntitlementBodyOneIsUnlimitedDefault = exports.overrideEntitlementBodyOneIsSoftLimitDefault = exports.overrideEntitlementBodyOneFeatureIdRegExp = exports.overrideEntitlementBodyOneFeatureKeyRegExp = exports.overrideEntitlementBodyOneFeatureKeyMax = exports.OverrideEntitlementParams = exports.CreateGrantBody = exports.createGrantBodyRecurrenceOneIntervalOneOneRegExp = exports.createGrantBodyMinRolloverAmountDefault = exports.createGrantBodyMaxRolloverAmountDefault = exports.createGrantBodyExpirationOneCountMax = exports.createGrantBodyPriorityMax = exports.createGrantBodyAmountMin = exports.CreateGrantParams = exports.ListEntitlementGrantsQueryParams = exports.listEntitlementGrantsQueryOrderByDefault = void 0;
|
|
57
|
+
exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMultiplierOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeMaximumAmountOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeMinimumAmountOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemUpToAmountOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoMaximumAmountOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoMinimumAmountOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoAmountOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneOnePaymentTermDefault = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneOneAmountOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoTaxConfigOneTaxCodeIdRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoTaxConfigOneStripeOneCodeRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetMin = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIsSoftLimitDefault = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoFeatureKeyRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoFeatureKeyMax = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoDescriptionMax = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoNameMax = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoKeyRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoKeyMax = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneDiscountsOneUsageOneQuantityOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOnePriceOnePaymentTermDefault = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOnePriceOneAmountOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneTaxConfigOneTaxCodeIdRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneTaxConfigOneStripeOneCodeRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetMin = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIsSoftLimitDefault = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneFeatureKeyRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneFeatureKeyMax = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneDescriptionMax = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneNameMax = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneKeyRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneKeyMax = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemDescriptionMax = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemNameMax = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemKeyRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemKeyMax = exports.createSubscriptionBodyTwoCustomPlanOneOneSettlementModeDefault = exports.createSubscriptionBodyTwoCustomPlanOneOneProRatingConfigDefault = exports.createSubscriptionBodyTwoCustomPlanOneOneProRatingConfigOneModeDefault = exports.createSubscriptionBodyTwoCustomPlanOneOneProRatingConfigOneEnabledDefault = exports.createSubscriptionBodyTwoCustomPlanOneOneCurrencyDefault = exports.createSubscriptionBodyTwoCustomPlanOneOneCurrencyOneRegExp = void 0;
|
|
58
|
+
exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneTwoMinimumAmountOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneTwoAmountOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneOnePaymentTermDefault = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneOneAmountOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoTaxConfigOneTaxCodeIdRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoTaxConfigOneStripeOneCodeRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoEntitlementTemplateOneOneIssueAfterResetMin = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoEntitlementTemplateOneOneIsSoftLimitDefault = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoFeatureKeyRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoFeatureKeyMax = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoDescriptionMax = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoNameMax = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoKeyRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoKeyMax = exports.editSubscriptionBodyCustomizationsItemOneRateCardOneDiscountsOneUsageOneQuantityOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardOnePriceOnePaymentTermDefault = exports.editSubscriptionBodyCustomizationsItemOneRateCardOnePriceOneAmountOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardOneTaxConfigOneTaxCodeIdRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardOneTaxConfigOneStripeOneCodeRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = exports.editSubscriptionBodyCustomizationsItemOneRateCardOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = exports.editSubscriptionBodyCustomizationsItemOneRateCardOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = exports.editSubscriptionBodyCustomizationsItemOneRateCardOneEntitlementTemplateOneOneIssueAfterResetMin = exports.editSubscriptionBodyCustomizationsItemOneRateCardOneEntitlementTemplateOneOneIsSoftLimitDefault = exports.editSubscriptionBodyCustomizationsItemOneRateCardOneFeatureKeyRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardOneFeatureKeyMax = exports.editSubscriptionBodyCustomizationsItemOneRateCardOneDescriptionMax = exports.editSubscriptionBodyCustomizationsItemOneRateCardOneNameMax = exports.editSubscriptionBodyCustomizationsItemOneRateCardOneKeyRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardOneKeyMax = exports.EditSubscriptionParams = exports.editSubscriptionPathSubscriptionIdRegExp = exports.GetSubscriptionQueryParams = exports.GetSubscriptionParams = exports.getSubscriptionPathSubscriptionIdRegExp = exports.CreateSubscriptionBody = exports.createSubscriptionBodyTwoCustomerKeyMax = exports.createSubscriptionBodyTwoCustomerIdRegExp = exports.createSubscriptionBodyTwoTimingDefault = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoDiscountsOneUsageOneQuantityOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveMaximumAmountOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveMinimumAmountOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveQuantityPerPackageOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveAmountOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMaximumAmountOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMinimumAmountOneRegExp = exports.createSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMultiplierDefault = void 0;
|
|
59
|
+
exports.changeSubscriptionBodyTwoCostBasisModeDefault = exports.changeSubscriptionBodyOneCostBasisModeDefault = exports.changeSubscriptionBodyOnePlanOneKeyRegExp = exports.changeSubscriptionBodyOnePlanOneKeyMax = exports.ChangeSubscriptionParams = exports.changeSubscriptionPathSubscriptionIdRegExp = exports.CancelSubscriptionBody = exports.CancelSubscriptionParams = exports.cancelSubscriptionPathSubscriptionIdRegExp = exports.UpdateSubscriptionAddonBody = exports.updateSubscriptionAddonBodyQuantityMin = exports.updateSubscriptionAddonBodyDescriptionMax = exports.updateSubscriptionAddonBodyNameMax = exports.UpdateSubscriptionAddonParams = exports.updateSubscriptionAddonPathSubscriptionAddonIdRegExp = exports.updateSubscriptionAddonPathSubscriptionIdRegExp = exports.GetSubscriptionAddonParams = exports.getSubscriptionAddonPathSubscriptionAddonIdRegExp = exports.getSubscriptionAddonPathSubscriptionIdRegExp = exports.ListSubscriptionAddonsParams = exports.listSubscriptionAddonsPathSubscriptionIdRegExp = exports.CreateSubscriptionAddonBody = exports.createSubscriptionAddonBodyAddonIdRegExp = exports.createSubscriptionAddonBodyQuantityMin = exports.createSubscriptionAddonBodyDescriptionMax = exports.createSubscriptionAddonBodyNameMax = exports.CreateSubscriptionAddonParams = exports.createSubscriptionAddonPathSubscriptionIdRegExp = exports.DeleteSubscriptionParams = exports.deleteSubscriptionPathSubscriptionIdRegExp = exports.EditSubscriptionBody = exports.editSubscriptionBodyCustomizationsMax = exports.editSubscriptionBodyCustomizationsItemThreePhaseKeyRegExp = exports.editSubscriptionBodyCustomizationsItemThreePhaseKeyMax = exports.editSubscriptionBodyCustomizationsItemThreePhaseDiscountsOneUsageOneQuantityOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoDiscountsOneUsageOneQuantityOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFiveMaximumAmountOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFiveMinimumAmountOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFiveQuantityPerPackageOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFiveAmountOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFourMaximumAmountOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFourMinimumAmountOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFourMultiplierDefault = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneFourMultiplierOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneThreeMaximumAmountOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneThreeMinimumAmountOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneThreeTiersItemUpToAmountOneRegExp = exports.editSubscriptionBodyCustomizationsItemOneRateCardTwoPriceOneTwoMaximumAmountOneRegExp = void 0;
|
|
60
|
+
exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemFlatPriceOneAmountOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemUpToAmountOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoMaximumAmountOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoMinimumAmountOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneTwoAmountOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneOnePaymentTermDefault = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneOneAmountOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoTaxConfigOneTaxCodeIdRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoTaxConfigOneStripeOneCodeRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOnePreserveOverageAtResetDefault = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityMax = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetPriorityDefault = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIssueAfterResetMin = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoEntitlementTemplateOneOneIsSoftLimitDefault = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoFeatureKeyRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoFeatureKeyMax = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoDescriptionMax = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoNameMax = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoKeyRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoKeyMax = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneDiscountsOneUsageOneQuantityOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOnePriceOnePaymentTermDefault = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOnePriceOneAmountOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneTaxConfigOneTaxCodeIdRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneTaxConfigOneStripeOneCodeRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOnePreserveOverageAtResetDefault = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityMax = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetPriorityDefault = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIssueAfterResetMin = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneEntitlementTemplateOneOneIsSoftLimitDefault = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneFeatureKeyRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneFeatureKeyMax = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneDescriptionMax = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneNameMax = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneKeyRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemOneKeyMax = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemDescriptionMax = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemNameMax = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemKeyRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemKeyMax = exports.changeSubscriptionBodyTwoCustomPlanOneOneSettlementModeDefault = exports.changeSubscriptionBodyTwoCustomPlanOneOneProRatingConfigDefault = exports.changeSubscriptionBodyTwoCustomPlanOneOneProRatingConfigOneModeDefault = exports.changeSubscriptionBodyTwoCustomPlanOneOneProRatingConfigOneEnabledDefault = exports.changeSubscriptionBodyTwoCustomPlanOneOneCurrencyDefault = exports.changeSubscriptionBodyTwoCustomPlanOneOneCurrencyOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOneCurrencyOneMax = exports.changeSubscriptionBodyTwoCustomPlanOneOneCurrencyOneMin = exports.changeSubscriptionBodyTwoCustomPlanOneOneDescriptionMax = exports.changeSubscriptionBodyTwoCustomPlanOneOneNameMax = void 0;
|
|
61
|
+
exports.CreateCustomerEntitlementV2Body = exports.createCustomerEntitlementV2BodyThreeUsagePeriodOneIntervalOneOneRegExp = exports.createCustomerEntitlementV2BodyThreeFeatureIdRegExp = exports.createCustomerEntitlementV2BodyThreeFeatureKeyRegExp = exports.createCustomerEntitlementV2BodyThreeFeatureKeyMax = exports.createCustomerEntitlementV2BodyTwoUsagePeriodOneIntervalOneOneRegExp = exports.createCustomerEntitlementV2BodyTwoFeatureIdRegExp = exports.createCustomerEntitlementV2BodyTwoFeatureKeyRegExp = exports.createCustomerEntitlementV2BodyTwoFeatureKeyMax = exports.createCustomerEntitlementV2BodyOneGrantsItemExpirationOneCountMax = exports.createCustomerEntitlementV2BodyOneGrantsItemRecurrenceOneIntervalOneOneRegExp = exports.createCustomerEntitlementV2BodyOneGrantsItemMinRolloverAmountDefault = exports.createCustomerEntitlementV2BodyOneGrantsItemPriorityMax = exports.createCustomerEntitlementV2BodyOneGrantsItemAmountMin = exports.createCustomerEntitlementV2BodyOneIssueOnePriorityMax = exports.createCustomerEntitlementV2BodyOneIssueOnePriorityDefault = exports.createCustomerEntitlementV2BodyOneIssueOneAmountMin = exports.createCustomerEntitlementV2BodyOneIssueAfterResetPriorityMax = exports.createCustomerEntitlementV2BodyOneIssueAfterResetPriorityDefault = exports.createCustomerEntitlementV2BodyOneIssueAfterResetMin = exports.createCustomerEntitlementV2BodyOnePreserveOverageAtResetDefault = exports.createCustomerEntitlementV2BodyOneUsagePeriodOneIntervalOneOneRegExp = exports.createCustomerEntitlementV2BodyOneIsSoftLimitDefault = exports.createCustomerEntitlementV2BodyOneFeatureIdRegExp = exports.createCustomerEntitlementV2BodyOneFeatureKeyRegExp = exports.createCustomerEntitlementV2BodyOneFeatureKeyMax = exports.CreateCustomerEntitlementV2Params = exports.createCustomerEntitlementV2PathCustomerIdOrKeyTwoMax = exports.createCustomerEntitlementV2PathCustomerIdOrKeyOneRegExp = exports.UnscheduleCancelationParams = exports.unscheduleCancelationPathSubscriptionIdRegExp = exports.RestoreSubscriptionParams = exports.restoreSubscriptionPathSubscriptionIdRegExp = exports.MigrateSubscriptionBody = exports.migrateSubscriptionBodyTimingDefault = exports.MigrateSubscriptionParams = exports.migrateSubscriptionPathSubscriptionIdRegExp = exports.ChangeSubscriptionBody = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoDiscountsOneUsageOneQuantityOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveMaximumAmountOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveMinimumAmountOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveQuantityPerPackageOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFiveAmountOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMaximumAmountOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMinimumAmountOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMultiplierDefault = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneFourMultiplierOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeMaximumAmountOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeMinimumAmountOneRegExp = exports.changeSubscriptionBodyTwoCustomPlanOneOnePhasesItemRateCardsItemTwoPriceOneThreeTiersItemUnitPriceOneAmountOneRegExp = void 0;
|
|
62
|
+
exports.GetCustomerEntitlementHistoryV2Params = exports.getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyRegExp = exports.getCustomerEntitlementHistoryV2PathEntitlementIdOrFeatureKeyMax = exports.getCustomerEntitlementHistoryV2PathCustomerIdOrKeyTwoMax = exports.getCustomerEntitlementHistoryV2PathCustomerIdOrKeyOneRegExp = exports.CreateCustomerEntitlementGrantV2Body = exports.createCustomerEntitlementGrantV2BodyExpirationOneCountMax = exports.createCustomerEntitlementGrantV2BodyRecurrenceOneIntervalOneOneRegExp = exports.createCustomerEntitlementGrantV2BodyMinRolloverAmountDefault = exports.createCustomerEntitlementGrantV2BodyPriorityMax = exports.createCustomerEntitlementGrantV2BodyAmountMin = exports.CreateCustomerEntitlementGrantV2Params = exports.createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyRegExp = exports.createCustomerEntitlementGrantV2PathEntitlementIdOrFeatureKeyMax = exports.createCustomerEntitlementGrantV2PathCustomerIdOrKeyTwoMax = exports.createCustomerEntitlementGrantV2PathCustomerIdOrKeyOneRegExp = exports.ListCustomerEntitlementGrantsV2QueryParams = exports.listCustomerEntitlementGrantsV2QueryOrderDefault = exports.listCustomerEntitlementGrantsV2QueryLimitMax = exports.listCustomerEntitlementGrantsV2QueryLimitDefault = exports.listCustomerEntitlementGrantsV2QueryOffsetMin = exports.listCustomerEntitlementGrantsV2QueryOffsetDefault = exports.listCustomerEntitlementGrantsV2QueryPageSizeMax = exports.listCustomerEntitlementGrantsV2QueryPageSizeDefault = exports.listCustomerEntitlementGrantsV2QueryPageDefault = exports.listCustomerEntitlementGrantsV2QueryIncludeDeletedDefault = exports.ListCustomerEntitlementGrantsV2Params = exports.listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyRegExp = exports.listCustomerEntitlementGrantsV2PathEntitlementIdOrFeatureKeyMax = exports.listCustomerEntitlementGrantsV2PathCustomerIdOrKeyTwoMax = exports.listCustomerEntitlementGrantsV2PathCustomerIdOrKeyOneRegExp = exports.DeleteCustomerEntitlementV2Params = exports.deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp = exports.deleteCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax = exports.deleteCustomerEntitlementV2PathCustomerIdOrKeyTwoMax = exports.deleteCustomerEntitlementV2PathCustomerIdOrKeyOneRegExp = exports.GetCustomerEntitlementV2Params = exports.getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyRegExp = exports.getCustomerEntitlementV2PathEntitlementIdOrFeatureKeyMax = exports.getCustomerEntitlementV2PathCustomerIdOrKeyTwoMax = exports.getCustomerEntitlementV2PathCustomerIdOrKeyOneRegExp = exports.ListCustomerEntitlementsV2QueryParams = exports.listCustomerEntitlementsV2QueryOrderDefault = exports.listCustomerEntitlementsV2QueryPageSizeMax = exports.listCustomerEntitlementsV2QueryPageSizeDefault = exports.listCustomerEntitlementsV2QueryPageDefault = exports.listCustomerEntitlementsV2QueryIncludeDeletedDefault = exports.ListCustomerEntitlementsV2Params = exports.listCustomerEntitlementsV2PathCustomerIdOrKeyTwoMax = exports.listCustomerEntitlementsV2PathCustomerIdOrKeyOneRegExp = void 0;
|
|
63
|
+
exports.listEntitlementsV2QueryOffsetDefault = exports.listEntitlementsV2QueryPageSizeMax = exports.listEntitlementsV2QueryPageSizeDefault = exports.listEntitlementsV2QueryPageDefault = exports.listEntitlementsV2QueryExcludeInactiveDefault = exports.GetCustomerEntitlementValueV2QueryParams = exports.GetCustomerEntitlementValueV2Params = exports.getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyRegExp = exports.getCustomerEntitlementValueV2PathEntitlementIdOrFeatureKeyMax = exports.getCustomerEntitlementValueV2PathCustomerIdOrKeyTwoMax = exports.getCustomerEntitlementValueV2PathCustomerIdOrKeyOneRegExp = exports.ResetCustomerEntitlementUsageV2Body = exports.ResetCustomerEntitlementUsageV2Params = exports.resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyRegExp = exports.resetCustomerEntitlementUsageV2PathEntitlementIdOrFeatureKeyMax = exports.resetCustomerEntitlementUsageV2PathCustomerIdOrKeyTwoMax = exports.resetCustomerEntitlementUsageV2PathCustomerIdOrKeyOneRegExp = exports.OverrideCustomerEntitlementV2Body = exports.overrideCustomerEntitlementV2BodyThreeUsagePeriodOneIntervalOneOneRegExp = exports.overrideCustomerEntitlementV2BodyThreeFeatureIdRegExp = exports.overrideCustomerEntitlementV2BodyThreeFeatureKeyRegExp = exports.overrideCustomerEntitlementV2BodyThreeFeatureKeyMax = exports.overrideCustomerEntitlementV2BodyTwoUsagePeriodOneIntervalOneOneRegExp = exports.overrideCustomerEntitlementV2BodyTwoFeatureIdRegExp = exports.overrideCustomerEntitlementV2BodyTwoFeatureKeyRegExp = exports.overrideCustomerEntitlementV2BodyTwoFeatureKeyMax = exports.overrideCustomerEntitlementV2BodyOneGrantsItemExpirationOneCountMax = exports.overrideCustomerEntitlementV2BodyOneGrantsItemRecurrenceOneIntervalOneOneRegExp = exports.overrideCustomerEntitlementV2BodyOneGrantsItemMinRolloverAmountDefault = exports.overrideCustomerEntitlementV2BodyOneGrantsItemPriorityMax = exports.overrideCustomerEntitlementV2BodyOneGrantsItemAmountMin = exports.overrideCustomerEntitlementV2BodyOneIssueOnePriorityMax = exports.overrideCustomerEntitlementV2BodyOneIssueOnePriorityDefault = exports.overrideCustomerEntitlementV2BodyOneIssueOneAmountMin = exports.overrideCustomerEntitlementV2BodyOneIssueAfterResetPriorityMax = exports.overrideCustomerEntitlementV2BodyOneIssueAfterResetPriorityDefault = exports.overrideCustomerEntitlementV2BodyOneIssueAfterResetMin = exports.overrideCustomerEntitlementV2BodyOnePreserveOverageAtResetDefault = exports.overrideCustomerEntitlementV2BodyOneUsagePeriodOneIntervalOneOneRegExp = exports.overrideCustomerEntitlementV2BodyOneIsSoftLimitDefault = exports.overrideCustomerEntitlementV2BodyOneFeatureIdRegExp = exports.overrideCustomerEntitlementV2BodyOneFeatureKeyRegExp = exports.overrideCustomerEntitlementV2BodyOneFeatureKeyMax = exports.OverrideCustomerEntitlementV2Params = exports.overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyTwoMax = exports.overrideCustomerEntitlementV2PathEntitlementIdOrFeatureKeyOneRegExp = exports.overrideCustomerEntitlementV2PathCustomerIdOrKeyTwoMax = exports.overrideCustomerEntitlementV2PathCustomerIdOrKeyOneRegExp = exports.GetCustomerEntitlementHistoryV2QueryParams = exports.getCustomerEntitlementHistoryV2QueryWindowTimeZoneDefault = void 0;
|
|
64
|
+
exports.ListGrantsV2QueryParams = exports.listGrantsV2QueryOrderDefault = exports.listGrantsV2QueryLimitMax = exports.listGrantsV2QueryLimitDefault = exports.listGrantsV2QueryOffsetMin = exports.listGrantsV2QueryOffsetDefault = exports.listGrantsV2QueryPageSizeMax = exports.listGrantsV2QueryPageSizeDefault = exports.listGrantsV2QueryPageDefault = exports.listGrantsV2QueryIncludeDeletedDefault = exports.listGrantsV2QueryCustomerItemTwoMax = exports.listGrantsV2QueryCustomerItemOneRegExp = exports.ListEventsV2QueryParams = exports.listEventsV2QueryClientIdMax = exports.listEventsV2QueryLimitMax = exports.listEventsV2QueryLimitDefault = exports.GetEntitlementByIdV2Params = exports.getEntitlementByIdV2PathEntitlementIdRegExp = exports.ListEntitlementsV2QueryParams = exports.listEntitlementsV2QueryOrderDefault = exports.listEntitlementsV2QueryLimitMax = exports.listEntitlementsV2QueryLimitDefault = exports.listEntitlementsV2QueryOffsetMin = void 0;
|
|
65
65
|
/**
|
|
66
66
|
* Generated by orval v8.15.0 🍺
|
|
67
67
|
* Do not edit manually.
|
|
@@ -9960,9 +9960,11 @@ exports.ResetEntitlementUsageBody = zod
|
|
|
9960
9960
|
*/
|
|
9961
9961
|
exports.createSubscriptionBodyOnePlanOneKeyMax = 64;
|
|
9962
9962
|
exports.createSubscriptionBodyOnePlanOneKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
|
|
9963
|
+
exports.createSubscriptionBodyOneCostBasisModeDefault = 'dynamic';
|
|
9963
9964
|
exports.createSubscriptionBodyOneTimingDefault = 'immediate';
|
|
9964
9965
|
exports.createSubscriptionBodyOneCustomerIdRegExp = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
|
|
9965
9966
|
exports.createSubscriptionBodyOneCustomerKeyMax = 256;
|
|
9967
|
+
exports.createSubscriptionBodyTwoCostBasisModeDefault = 'dynamic';
|
|
9966
9968
|
exports.createSubscriptionBodyTwoCustomPlanOneOneNameMax = 256;
|
|
9967
9969
|
exports.createSubscriptionBodyTwoCustomPlanOneOneDescriptionMax = 1024;
|
|
9968
9970
|
exports.createSubscriptionBodyTwoCustomPlanOneOneCurrencyOneMin = 3;
|
|
@@ -10049,6 +10051,11 @@ exports.CreateSubscriptionBody = zod
|
|
|
10049
10051
|
.date()
|
|
10050
10052
|
.optional()
|
|
10051
10053
|
.describe('The billing anchor of the subscription. The provided date will be normalized according to the billing cadence to the nearest recurrence before start time. If not provided, the subscription start time will be used.'),
|
|
10054
|
+
costBasisMode: zod
|
|
10055
|
+
.enum(['dynamic', 'pinned'])
|
|
10056
|
+
.describe('Controls how custom-currency cost bases are selected for the subscription.')
|
|
10057
|
+
.default(exports.createSubscriptionBodyOneCostBasisModeDefault)
|
|
10058
|
+
.describe('Controls how custom-currency cost bases are selected for the new subscription.'),
|
|
10052
10059
|
customerId: zod.coerce
|
|
10053
10060
|
.string()
|
|
10054
10061
|
.regex(exports.createSubscriptionBodyOneCustomerIdRegExp)
|
|
@@ -10118,6 +10125,11 @@ exports.CreateSubscriptionBody = zod
|
|
|
10118
10125
|
.date()
|
|
10119
10126
|
.optional()
|
|
10120
10127
|
.describe('The billing anchor of the subscription. The provided date will be normalized according to the billing cadence to the nearest recurrence before start time. If not provided, the subscription start time will be used.'),
|
|
10128
|
+
costBasisMode: zod
|
|
10129
|
+
.enum(['dynamic', 'pinned'])
|
|
10130
|
+
.describe('Controls how custom-currency cost bases are selected for the subscription.')
|
|
10131
|
+
.default(exports.createSubscriptionBodyTwoCostBasisModeDefault)
|
|
10132
|
+
.describe('Controls how custom-currency cost bases are selected for the new subscription.'),
|
|
10121
10133
|
customerId: zod.coerce
|
|
10122
10134
|
.string()
|
|
10123
10135
|
.regex(exports.createSubscriptionBodyTwoCustomerIdRegExp)
|
|
@@ -11641,6 +11653,8 @@ exports.ChangeSubscriptionParams = zod.object({
|
|
|
11641
11653
|
});
|
|
11642
11654
|
exports.changeSubscriptionBodyOnePlanOneKeyMax = 64;
|
|
11643
11655
|
exports.changeSubscriptionBodyOnePlanOneKeyRegExp = /^[a-z0-9]+(?:_[a-z0-9]+)*$/;
|
|
11656
|
+
exports.changeSubscriptionBodyOneCostBasisModeDefault = 'dynamic';
|
|
11657
|
+
exports.changeSubscriptionBodyTwoCostBasisModeDefault = 'dynamic';
|
|
11644
11658
|
exports.changeSubscriptionBodyTwoCustomPlanOneOneNameMax = 256;
|
|
11645
11659
|
exports.changeSubscriptionBodyTwoCustomPlanOneOneDescriptionMax = 1024;
|
|
11646
11660
|
exports.changeSubscriptionBodyTwoCustomPlanOneOneCurrencyOneMin = 3;
|
|
@@ -11724,6 +11738,11 @@ exports.ChangeSubscriptionBody = zod
|
|
|
11724
11738
|
.date()
|
|
11725
11739
|
.optional()
|
|
11726
11740
|
.describe('The billing anchor of the subscription. The provided date will be normalized according to the billing cadence to the nearest recurrence before start time. If not provided, the previous subscription billing anchor will be used.'),
|
|
11741
|
+
costBasisMode: zod
|
|
11742
|
+
.enum(['dynamic', 'pinned'])
|
|
11743
|
+
.describe('Controls how custom-currency cost bases are selected for the subscription.')
|
|
11744
|
+
.default(exports.changeSubscriptionBodyOneCostBasisModeDefault)
|
|
11745
|
+
.describe('Controls how custom-currency cost bases are selected for the new subscription.'),
|
|
11727
11746
|
description: zod.coerce
|
|
11728
11747
|
.string()
|
|
11729
11748
|
.optional()
|
|
@@ -11781,6 +11800,11 @@ exports.ChangeSubscriptionBody = zod
|
|
|
11781
11800
|
.date()
|
|
11782
11801
|
.optional()
|
|
11783
11802
|
.describe('The billing anchor of the subscription. The provided date will be normalized according to the billing cadence to the nearest recurrence before start time. If not provided, the previous subscription billing anchor will be used.'),
|
|
11803
|
+
costBasisMode: zod
|
|
11804
|
+
.enum(['dynamic', 'pinned'])
|
|
11805
|
+
.describe('Controls how custom-currency cost bases are selected for the subscription.')
|
|
11806
|
+
.default(exports.changeSubscriptionBodyTwoCostBasisModeDefault)
|
|
11807
|
+
.describe('Controls how custom-currency cost bases are selected for the new subscription.'),
|
|
11784
11808
|
customPlan: zod
|
|
11785
11809
|
.object({
|
|
11786
11810
|
alignment: zod
|