@openmeter/sdk 1.0.0-beta-4ba1c6e89f9f → 1.0.0-beta-53ee4e2cd6d3
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 +25 -0
- package/dist/cjs/src/zod/index.cjs +48 -15
- package/dist/cjs/src/zod/index.d.cts +56 -0
- package/dist/cjs/src/zod/index.js.map +1 -1
- package/dist/cjs/{tsconfig.f298730b.tsbuildinfo → tsconfig.677a54e4.tsbuildinfo} +1 -1
- package/dist/cjs/{tsconfig.f3fd26dc.tsbuildinfo → tsconfig.c7175b0f.tsbuildinfo} +1 -1
- package/dist/src/client/schemas.d.ts +25 -0
- package/dist/src/zod/index.d.ts +56 -0
- package/dist/src/zod/index.js +32 -0
- package/dist/src/zod/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -2738,6 +2738,8 @@ export interface components {
|
|
|
2738
2738
|
invoicing?: components['schemas']['BillingWorkflowInvoicingSettings'];
|
|
2739
2739
|
/** @description The payment settings for this workflow */
|
|
2740
2740
|
payment?: components['schemas']['BillingWorkflowPaymentSettings'];
|
|
2741
|
+
/** @description The tax settings for this workflow */
|
|
2742
|
+
tax?: components['schemas']['BillingWorkflowTaxSettings'];
|
|
2741
2743
|
};
|
|
2742
2744
|
/** @description The alignment for collecting the pending line items into an invoice.
|
|
2743
2745
|
*
|
|
@@ -2781,6 +2783,8 @@ export interface components {
|
|
|
2781
2783
|
invoicing?: components['schemas']['BillingWorkflowInvoicingSettings'];
|
|
2782
2784
|
/** @description The payment settings for this workflow */
|
|
2783
2785
|
payment?: components['schemas']['BillingWorkflowPaymentSettings'];
|
|
2786
|
+
/** @description The tax settings for this workflow */
|
|
2787
|
+
tax?: components['schemas']['BillingWorkflowTaxSettings'];
|
|
2784
2788
|
};
|
|
2785
2789
|
/**
|
|
2786
2790
|
* Workflow invoice settings
|
|
@@ -2825,6 +2829,26 @@ export interface components {
|
|
|
2825
2829
|
*/
|
|
2826
2830
|
collectionMethod?: components['schemas']['CollectionMethod'];
|
|
2827
2831
|
};
|
|
2832
|
+
/**
|
|
2833
|
+
* Workflow tax settings
|
|
2834
|
+
* @description BillingWorkflowTaxSettings represents the tax settings for a billing workflow
|
|
2835
|
+
*/
|
|
2836
|
+
BillingWorkflowTaxSettings: {
|
|
2837
|
+
/**
|
|
2838
|
+
* @description Enable automatic tax calculation when tax is supported by the app.
|
|
2839
|
+
* For example, with Stripe Invoicing when enabled, tax is calculated via Stripe Tax.
|
|
2840
|
+
* @default true
|
|
2841
|
+
*/
|
|
2842
|
+
enabled?: boolean;
|
|
2843
|
+
/**
|
|
2844
|
+
* @description Enforce tax calculation when tax is supported by the app.
|
|
2845
|
+
* When enabled, OpenMeter will not allow to create an invoice without tax calculation.
|
|
2846
|
+
* Enforcement is different per apps, for example, Stripe app requires customer
|
|
2847
|
+
* to have a tax location when starting a paid subscription.
|
|
2848
|
+
* @default false
|
|
2849
|
+
*/
|
|
2850
|
+
enforced?: boolean;
|
|
2851
|
+
};
|
|
2828
2852
|
/** @description Stripe CheckoutSession.custom_text */
|
|
2829
2853
|
CheckoutSessionCustomTextAfterSubmitParams: {
|
|
2830
2854
|
/** @description Custom text that should be displayed after the payment confirmation button. */
|
|
@@ -10114,6 +10138,7 @@ export type BillingWorkflowCollectionSettings = components['schemas']['BillingWo
|
|
|
10114
10138
|
export type BillingWorkflowCreate = components['schemas']['BillingWorkflowCreate'];
|
|
10115
10139
|
export type BillingWorkflowInvoicingSettings = components['schemas']['BillingWorkflowInvoicingSettings'];
|
|
10116
10140
|
export type BillingWorkflowPaymentSettings = components['schemas']['BillingWorkflowPaymentSettings'];
|
|
10141
|
+
export type BillingWorkflowTaxSettings = components['schemas']['BillingWorkflowTaxSettings'];
|
|
10117
10142
|
export type CheckoutSessionCustomTextAfterSubmitParams = components['schemas']['CheckoutSessionCustomTextAfterSubmitParams'];
|
|
10118
10143
|
export type CheckoutSessionUiMode = components['schemas']['CheckoutSessionUIMode'];
|
|
10119
10144
|
export type ClientAppStartResponse = components['schemas']['ClientAppStartResponse'];
|
|
@@ -9,21 +9,22 @@ exports.createPendingInvoiceLineBodyRateCardPriceMultiplierRegExpOne = exports.c
|
|
|
9
9
|
exports.updateInvoiceBodyCustomerAddressesItemCountryRegExpOne = exports.updateInvoiceBodyCustomerAddressesItemCountryMaxOne = exports.updateInvoiceBodyCustomerAddressesItemCountryMinOne = exports.updateInvoiceBodyCustomerTaxIdCodeMaxOne = exports.updateInvoiceBodySupplierAddressesMax = exports.updateInvoiceBodySupplierAddressesItemCountryRegExpOne = exports.updateInvoiceBodySupplierAddressesItemCountryMaxOne = exports.updateInvoiceBodySupplierAddressesItemCountryMinOne = exports.updateInvoiceBodySupplierTaxIdCodeMaxOne = exports.updateInvoiceBodyDescriptionMax = exports.updateInvoiceParams = exports.updateInvoicePathInvoiceIdRegExp = exports.deleteInvoiceParams = exports.deleteInvoicePathInvoiceIdRegExp = exports.getInvoiceQueryParams = exports.getInvoiceQueryIncludeDeletedLinesDefault = exports.getInvoiceQueryExpandDefault = exports.getInvoiceParams = exports.getInvoicePathInvoiceIdRegExp = exports.createPendingInvoiceLineBody = exports.createPendingInvoiceLineBodyItem = exports.createPendingInvoiceLineBodyCustomerIdRegExpOne = exports.createPendingInvoiceLineBodyCategoryDefault = exports.createPendingInvoiceLineBodyRateCardDiscountsUsageCorrelationIdRegExpOne = exports.createPendingInvoiceLineBodyRateCardDiscountsUsageQuantityRegExpThree = exports.createPendingInvoiceLineBodyRateCardDiscountsPercentageCorrelationIdRegExpOne = exports.createPendingInvoiceLineBodyRateCardQuantityRegExpOne = exports.createPendingInvoiceLineBodyRateCardPricePaymentTermDefaultTwo = exports.createPendingInvoiceLineBodyRateCardPriceAmountRegExpSeven = exports.createPendingInvoiceLineBodyRateCardTaxConfigStripeCodeRegExpOne = exports.createPendingInvoiceLineBodyQuantityRegExpOne = exports.createPendingInvoiceLineBodyPaymentTermDefault = exports.createPendingInvoiceLineBodyPerUnitAmountRegExpOne = exports.createPendingInvoiceLineBodyTaxConfigStripeCodeRegExpOne = exports.createPendingInvoiceLineBodyCurrencyRegExpThree = exports.createPendingInvoiceLineBodyCurrencyMaxThree = exports.createPendingInvoiceLineBodyCurrencyMinThree = exports.createPendingInvoiceLineBodyDescriptionMaxOne = exports.createPendingInvoiceLineBodyNameMaxOne = exports.createPendingInvoiceLineBodyCustomerIdRegExp = exports.createPendingInvoiceLineBodyRateCardDiscountsUsageCorrelationIdRegExp = exports.createPendingInvoiceLineBodyRateCardDiscountsUsageQuantityRegExpOne = exports.createPendingInvoiceLineBodyRateCardDiscountsPercentageCorrelationIdRegExp = exports.createPendingInvoiceLineBodyRateCardPriceMaximumAmountRegExpSeven = exports.createPendingInvoiceLineBodyRateCardPriceMinimumAmountRegExpSeven = exports.createPendingInvoiceLineBodyRateCardPriceQuantityPerPackageRegExpOne = exports.createPendingInvoiceLineBodyRateCardPriceAmountRegExpFive = exports.createPendingInvoiceLineBodyRateCardPriceMaximumAmountRegExpFive = exports.createPendingInvoiceLineBodyRateCardPriceMinimumAmountRegExpFive = exports.createPendingInvoiceLineBodyRateCardPriceMultiplierDefault = void 0;
|
|
10
10
|
exports.updateInvoiceBodyLinesItemNameMaxOne = exports.updateInvoiceBodyLinesItemIdRegExp = exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = exports.updateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive = exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive = exports.updateInvoiceBodyLinesItemRateCardPriceMultiplierDefault = exports.updateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree = exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree = exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree = exports.updateInvoiceBodyLinesItemRateCardPricePaymentTermDefault = exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp = exports.updateInvoiceBodyLinesItemRateCardFeatureKeyRegExp = exports.updateInvoiceBodyLinesItemRateCardFeatureKeyMax = exports.updateInvoiceBodyLinesItemFeatureKeyRegExp = exports.updateInvoiceBodyLinesItemFeatureKeyMax = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne = exports.updateInvoiceBodyLinesItemPriceAmountRegExpFive = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive = exports.updateInvoiceBodyLinesItemPriceMultiplierDefault = exports.updateInvoiceBodyLinesItemPriceMultiplierRegExpOne = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree = exports.updateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceAmountRegExpThree = exports.updateInvoiceBodyLinesItemPricePaymentTermDefault = exports.updateInvoiceBodyLinesItemPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp = exports.updateInvoiceBodyLinesItemDescriptionMax = exports.updateInvoiceBodyLinesItemNameMax = exports.updateInvoiceBodyCustomerAddressesMax = void 0;
|
|
11
11
|
exports.createBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = exports.createBillingProfileBodyWorkflowInvoicingDueAfterDefault = exports.createBillingProfileBodyWorkflowInvoicingDraftPeriodDefault = exports.createBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault = exports.createBillingProfileBodyWorkflowCollectionIntervalDefault = exports.createBillingProfileBodyWorkflowCollectionAlignmentDefault = exports.createBillingProfileBodySupplierAddressesMax = exports.createBillingProfileBodySupplierAddressesItemCountryRegExpOne = exports.createBillingProfileBodySupplierAddressesItemCountryMaxOne = exports.createBillingProfileBodySupplierAddressesItemCountryMinOne = exports.createBillingProfileBodySupplierTaxIdCodeMaxOne = exports.createBillingProfileBodyDescriptionMax = exports.createBillingProfileBodyNameMax = exports.listBillingProfilesQueryParams = exports.listBillingProfilesQueryPageSizeMax = exports.listBillingProfilesQueryPageSizeDefault = exports.listBillingProfilesQueryPageDefault = exports.listBillingProfilesQueryIncludeArchivedDefault = exports.voidInvoiceActionBody = exports.voidInvoiceActionBodyOverridesItemLineIdRegExp = exports.voidInvoiceActionParams = exports.voidInvoiceActionPathInvoiceIdRegExp = exports.recalculateInvoiceTaxActionParams = exports.recalculateInvoiceTaxActionPathInvoiceIdRegExp = exports.retryInvoiceActionParams = exports.retryInvoiceActionPathInvoiceIdRegExp = exports.approveInvoiceActionParams = exports.approveInvoiceActionPathInvoiceIdRegExp = exports.advanceInvoiceActionParams = exports.advanceInvoiceActionPathInvoiceIdRegExp = exports.updateInvoiceBody = exports.updateInvoiceBodyWorkflowWorkflowPaymentCollectionMethodDefault = exports.updateInvoiceBodyWorkflowWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = exports.updateInvoiceBodyWorkflowWorkflowInvoicingDueAfterDefault = exports.updateInvoiceBodyWorkflowWorkflowInvoicingDraftPeriodDefault = exports.updateInvoiceBodyWorkflowWorkflowInvoicingAutoAdvanceDefault = exports.updateInvoiceBodyLinesItemIdRegExpOne = exports.updateInvoiceBodyLinesItemCategoryDefault = exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne = exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree = exports.updateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne = exports.updateInvoiceBodyLinesItemRateCardQuantityRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPricePaymentTermDefaultTwo = exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpSeven = exports.updateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne = exports.updateInvoiceBodyLinesItemQuantityRegExpOne = exports.updateInvoiceBodyLinesItemPaymentTermDefault = exports.updateInvoiceBodyLinesItemPerUnitAmountRegExpOne = exports.updateInvoiceBodyLinesItemTaxConfigStripeCodeRegExpOne = exports.updateInvoiceBodyLinesItemDescriptionMaxOne = void 0;
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
12
|
+
exports.getCustomerPathCustomerIdOrKeyMax = exports.listCustomersQueryParams = exports.listCustomersQueryIncludeDeletedDefault = exports.listCustomersQueryPageSizeMax = exports.listCustomersQueryPageSizeDefault = exports.listCustomersQueryPageDefault = exports.createCustomerBody = exports.createCustomerBodyBillingAddressCountryRegExpOne = exports.createCustomerBodyBillingAddressCountryMaxOne = exports.createCustomerBodyBillingAddressCountryMinOne = exports.createCustomerBodyCurrencyRegExpOne = exports.createCustomerBodyCurrencyMaxOne = exports.createCustomerBodyCurrencyMinOne = exports.createCustomerBodyUsageAttributionSubjectKeysMax = exports.createCustomerBodyKeyMax = exports.createCustomerBodyDescriptionMax = exports.createCustomerBodyNameMax = exports.updateBillingProfileBody = exports.updateBillingProfileBodyWorkflowTaxEnforcedDefault = exports.updateBillingProfileBodyWorkflowTaxEnabledDefault = exports.updateBillingProfileBodyWorkflowPaymentCollectionMethodDefault = exports.updateBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = exports.updateBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = exports.updateBillingProfileBodyWorkflowInvoicingDueAfterDefault = exports.updateBillingProfileBodyWorkflowInvoicingDraftPeriodDefault = exports.updateBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault = exports.updateBillingProfileBodyWorkflowCollectionIntervalDefault = exports.updateBillingProfileBodyWorkflowCollectionAlignmentDefault = exports.updateBillingProfileBodySupplierAddressesMax = exports.updateBillingProfileBodySupplierAddressesItemCountryRegExpOne = exports.updateBillingProfileBodySupplierAddressesItemCountryMaxOne = exports.updateBillingProfileBodySupplierAddressesItemCountryMinOne = exports.updateBillingProfileBodySupplierTaxIdCodeMaxOne = exports.updateBillingProfileBodyDescriptionMax = exports.updateBillingProfileBodyNameMax = exports.updateBillingProfileParams = exports.updateBillingProfilePathIdRegExp = exports.getBillingProfileQueryParams = exports.getBillingProfileParams = exports.getBillingProfilePathIdRegExp = exports.deleteBillingProfileParams = exports.deleteBillingProfilePathIdRegExp = exports.createBillingProfileBody = exports.createBillingProfileBodyAppsPaymentRegExpOne = exports.createBillingProfileBodyAppsInvoicingRegExpOne = exports.createBillingProfileBodyAppsTaxRegExpOne = exports.createBillingProfileBodyWorkflowTaxEnforcedDefault = exports.createBillingProfileBodyWorkflowTaxEnabledDefault = exports.createBillingProfileBodyWorkflowPaymentCollectionMethodDefault = exports.createBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = void 0;
|
|
13
|
+
exports.deleteCustomerAppDataPathCustomerIdOrKeyRegExp = exports.deleteCustomerAppDataPathCustomerIdOrKeyMax = exports.upsertCustomerAppDataBody = exports.upsertCustomerAppDataBodyItem = exports.upsertCustomerAppDataBodyIdRegExpTwo = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExpOne = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMaxOne = exports.upsertCustomerAppDataBodyAppDescriptionMaxOne = exports.upsertCustomerAppDataBodyAppNameMaxOne = exports.upsertCustomerAppDataBodyAppIdRegExpOne = exports.upsertCustomerAppDataBodyIdRegExpOne = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExp = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMax = exports.upsertCustomerAppDataBodyAppDescriptionMax = exports.upsertCustomerAppDataBodyAppNameMax = exports.upsertCustomerAppDataBodyAppIdRegExp = exports.upsertCustomerAppDataBodyIdRegExp = exports.upsertCustomerAppDataParams = exports.upsertCustomerAppDataPathCustomerIdOrKeyRegExp = exports.upsertCustomerAppDataPathCustomerIdOrKeyMax = exports.listCustomerAppDataQueryParams = exports.listCustomerAppDataQueryPageSizeMax = exports.listCustomerAppDataQueryPageSizeDefault = exports.listCustomerAppDataQueryPageDefault = exports.listCustomerAppDataParams = exports.listCustomerAppDataPathCustomerIdOrKeyRegExp = exports.listCustomerAppDataPathCustomerIdOrKeyMax = exports.getCustomerAccessParams = exports.getCustomerAccessPathCustomerIdOrKeyRegExp = exports.getCustomerAccessPathCustomerIdOrKeyMax = exports.deleteCustomerParams = exports.deleteCustomerPathCustomerIdOrKeyRegExp = exports.deleteCustomerPathCustomerIdOrKeyMax = exports.updateCustomerBody = exports.updateCustomerBodyBillingAddressCountryRegExpOne = exports.updateCustomerBodyBillingAddressCountryMaxOne = exports.updateCustomerBodyBillingAddressCountryMinOne = exports.updateCustomerBodyCurrencyRegExpOne = exports.updateCustomerBodyCurrencyMaxOne = exports.updateCustomerBodyCurrencyMinOne = exports.updateCustomerBodyUsageAttributionSubjectKeysMax = exports.updateCustomerBodyKeyMax = exports.updateCustomerBodyDescriptionMax = exports.updateCustomerBodyNameMax = exports.updateCustomerParams = exports.updateCustomerPathCustomerIdOrKeyRegExp = exports.updateCustomerPathCustomerIdOrKeyMax = exports.getCustomerQueryParams = exports.getCustomerParams = exports.getCustomerPathCustomerIdOrKeyRegExp = void 0;
|
|
14
|
+
exports.listGrantsQueryIncludeDeletedDefault = exports.deleteFeatureParams = exports.getFeatureParams = exports.createFeatureBody = exports.createFeatureBodyMeterSlugRegExp = exports.createFeatureBodyMeterSlugMax = exports.createFeatureBodyKeyRegExp = exports.createFeatureBodyKeyMax = exports.listFeaturesQueryParams = exports.listFeaturesQueryLimitMax = exports.listFeaturesQueryLimitDefault = exports.listFeaturesQueryOffsetMin = exports.listFeaturesQueryOffsetDefault = exports.listFeaturesQueryPageSizeMax = exports.listFeaturesQueryPageSizeDefault = exports.listFeaturesQueryPageDefault = exports.listFeaturesQueryIncludeArchivedDefault = exports.ingestEventsBody = exports.ingestEventsBodyItemSpecversionDefault = exports.ingestEventsBodySpecversionDefault = exports.listEventsQueryParams = exports.listEventsQueryLimitMax = exports.listEventsQueryLimitDefault = exports.listEventsQueryClientIdMax = exports.getEntitlementByIdParams = exports.getEntitlementByIdPathEntitlementIdRegExp = exports.listEntitlementsQueryParams = exports.listEntitlementsQueryLimitMax = exports.listEntitlementsQueryLimitDefault = exports.listEntitlementsQueryOffsetMin = exports.listEntitlementsQueryOffsetDefault = exports.listEntitlementsQueryPageSizeMax = exports.listEntitlementsQueryPageSizeDefault = exports.listEntitlementsQueryPageDefault = exports.listEntitlementsQueryExcludeInactiveDefault = exports.listCustomerSubscriptionsQueryParams = exports.listCustomerSubscriptionsQueryPageSizeMax = exports.listCustomerSubscriptionsQueryPageSizeDefault = exports.listCustomerSubscriptionsQueryPageDefault = exports.listCustomerSubscriptionsParams = exports.listCustomerSubscriptionsPathCustomerIdOrKeyRegExp = exports.listCustomerSubscriptionsPathCustomerIdOrKeyMax = exports.getCustomerEntitlementValueQueryParams = exports.getCustomerEntitlementValueParams = exports.getCustomerEntitlementValuePathFeatureKeyRegExp = exports.getCustomerEntitlementValuePathFeatureKeyMax = exports.getCustomerEntitlementValuePathCustomerIdOrKeyRegExp = exports.getCustomerEntitlementValuePathCustomerIdOrKeyMax = exports.deleteCustomerAppDataParams = exports.deleteCustomerAppDataPathAppIdRegExp = void 0;
|
|
15
|
+
exports.queryMeterQueryParams = exports.queryMeterQueryWindowTimeZoneDefault = exports.queryMeterQueryClientIdMax = exports.queryMeterParams = exports.queryMeterPathMeterIdOrSlugRegExp = exports.queryMeterPathMeterIdOrSlugMax = exports.deleteMeterParams = exports.deleteMeterPathMeterIdOrSlugRegExp = exports.deleteMeterPathMeterIdOrSlugMax = exports.updateMeterBody = exports.updateMeterBodyNameMax = exports.updateMeterBodyDescriptionMax = exports.updateMeterParams = exports.updateMeterPathMeterIdOrSlugRegExp = exports.updateMeterPathMeterIdOrSlugMax = exports.getMeterParams = exports.getMeterPathMeterIdOrSlugRegExp = exports.getMeterPathMeterIdOrSlugMax = exports.createMeterBody = exports.createMeterBodySlugRegExp = exports.createMeterBodySlugMax = exports.createMeterBodyNameMax = exports.createMeterBodyDescriptionMax = exports.listMetersQueryParams = exports.listMetersQueryIncludeDeletedDefault = exports.listMetersQueryPageSizeMax = exports.listMetersQueryPageSizeDefault = exports.listMetersQueryPageDefault = exports.marketplaceOAuth2InstallAuthorizeQueryParams = exports.marketplaceOAuth2InstallAuthorizeParams = exports.marketplaceOAuth2InstallGetURLParams = exports.marketplaceAppAPIKeyInstallBody = exports.marketplaceAppAPIKeyInstallParams = exports.marketplaceAppInstallBody = exports.marketplaceAppInstallParams = exports.getMarketplaceListingParams = exports.listMarketplaceListingsQueryParams = exports.listMarketplaceListingsQueryPageSizeMax = exports.listMarketplaceListingsQueryPageSizeDefault = exports.listMarketplaceListingsQueryPageDefault = exports.getProgressParams = exports.voidGrantParams = exports.listGrantsQueryParams = exports.listGrantsQueryLimitMax = exports.listGrantsQueryLimitDefault = exports.listGrantsQueryOffsetMin = exports.listGrantsQueryOffsetDefault = exports.listGrantsQueryPageSizeMax = exports.listGrantsQueryPageSizeDefault = exports.listGrantsQueryPageDefault = void 0;
|
|
16
|
+
exports.createNotificationRuleBodyDisabledDefaultOne = exports.createNotificationRuleBodyFeaturesItemRegExp = exports.createNotificationRuleBodyFeaturesItemMax = exports.createNotificationRuleBodyChannelsItemRegExp = exports.createNotificationRuleBodyThresholdsMax = exports.createNotificationRuleBodyDisabledDefault = exports.listNotificationRulesQueryParams = exports.listNotificationRulesQueryPageSizeMax = exports.listNotificationRulesQueryPageSizeDefault = exports.listNotificationRulesQueryPageDefault = exports.listNotificationRulesQueryFeatureItemRegExp = exports.listNotificationRulesQueryFeatureItemMax = exports.listNotificationRulesQueryIncludeDisabledDefault = exports.listNotificationRulesQueryIncludeDeletedDefault = exports.getNotificationEventParams = exports.listNotificationEventsQueryParams = exports.listNotificationEventsQueryPageSizeMax = exports.listNotificationEventsQueryPageSizeDefault = exports.listNotificationEventsQueryPageDefault = exports.listNotificationEventsQueryChannelItemRegExp = exports.listNotificationEventsQueryRuleItemRegExp = exports.deleteNotificationChannelParams = exports.deleteNotificationChannelPathChannelIdRegExp = exports.getNotificationChannelParams = exports.getNotificationChannelPathChannelIdRegExp = exports.updateNotificationChannelBody = exports.updateNotificationChannelBodySigningSecretRegExp = exports.updateNotificationChannelBodyDisabledDefault = exports.updateNotificationChannelParams = exports.updateNotificationChannelPathChannelIdRegExp = exports.createNotificationChannelBody = exports.createNotificationChannelBodySigningSecretRegExp = exports.createNotificationChannelBodyDisabledDefault = exports.listNotificationChannelsQueryParams = exports.listNotificationChannelsQueryPageSizeMax = exports.listNotificationChannelsQueryPageSizeDefault = exports.listNotificationChannelsQueryPageDefault = exports.listNotificationChannelsQueryIncludeDisabledDefault = exports.listNotificationChannelsQueryIncludeDeletedDefault = exports.listMeterSubjectsParams = exports.listMeterSubjectsPathMeterIdOrSlugRegExp = exports.listMeterSubjectsPathMeterIdOrSlugMax = exports.queryMeterPostBody = exports.queryMeterPostBodyGroupByMax = exports.queryMeterPostBodySubjectMax = exports.queryMeterPostBodyWindowTimeZoneDefault = exports.queryMeterPostBodyClientIdMax = exports.queryMeterPostParams = exports.queryMeterPostPathMeterIdOrSlugRegExp = exports.queryMeterPostPathMeterIdOrSlugMax = void 0;
|
|
17
|
+
exports.createPlanBodyPhasesItemKeyMax = exports.createPlanBodyCurrencyDefault = exports.createPlanBodyCurrencyRegExpOne = exports.createPlanBodyCurrencyMaxOne = exports.createPlanBodyCurrencyMinOne = exports.createPlanBodyKeyRegExp = exports.createPlanBodyKeyMax = exports.createPlanBodyDescriptionMax = exports.createPlanBodyNameMax = exports.listPlansQueryParams = exports.listPlansQueryPageSizeMax = exports.listPlansQueryPageSizeDefault = exports.listPlansQueryPageDefault = exports.listPlansQueryCurrencyItemRegExp = exports.listPlansQueryCurrencyItemMax = exports.listPlansQueryCurrencyItemMin = exports.listPlansQueryKeyItemRegExp = exports.listPlansQueryKeyItemMax = exports.listPlansQueryIdItemRegExp = exports.listPlansQueryIncludeDeletedDefault = exports.testNotificationRuleParams = exports.testNotificationRulePathRuleIdRegExp = exports.deleteNotificationRuleParams = exports.deleteNotificationRulePathRuleIdRegExp = exports.getNotificationRuleParams = exports.getNotificationRulePathRuleIdRegExp = exports.updateNotificationRuleBody = exports.updateNotificationRuleBodyChannelsItemRegExpThree = exports.updateNotificationRuleBodyDisabledDefaultThree = exports.updateNotificationRuleBodyChannelsItemRegExpTwo = exports.updateNotificationRuleBodyDisabledDefaultTwo = exports.updateNotificationRuleBodyFeaturesItemRegExpOne = exports.updateNotificationRuleBodyFeaturesItemMaxOne = exports.updateNotificationRuleBodyChannelsItemRegExpOne = exports.updateNotificationRuleBodyDisabledDefaultOne = exports.updateNotificationRuleBodyFeaturesItemRegExp = exports.updateNotificationRuleBodyFeaturesItemMax = exports.updateNotificationRuleBodyChannelsItemRegExp = exports.updateNotificationRuleBodyThresholdsMax = exports.updateNotificationRuleBodyDisabledDefault = exports.updateNotificationRuleParams = exports.updateNotificationRulePathRuleIdRegExp = exports.createNotificationRuleBody = exports.createNotificationRuleBodyChannelsItemRegExpThree = exports.createNotificationRuleBodyDisabledDefaultThree = exports.createNotificationRuleBodyChannelsItemRegExpTwo = exports.createNotificationRuleBodyDisabledDefaultTwo = exports.createNotificationRuleBodyFeaturesItemRegExpOne = exports.createNotificationRuleBodyFeaturesItemMaxOne = exports.createNotificationRuleBodyChannelsItemRegExpOne = void 0;
|
|
18
|
+
exports.createPlanBody = exports.createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.createPlanBodyPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.createPlanBodyPhasesItemRateCardsItemPriceMultiplierDefault = exports.createPlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive = exports.createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne = exports.createPlanBodyPhasesItemRateCardsItemDescriptionMaxOne = exports.createPlanBodyPhasesItemRateCardsItemNameMaxOne = exports.createPlanBodyPhasesItemRateCardsItemKeyRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemKeyMaxOne = exports.createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefault = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExp = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyMax = exports.createPlanBodyPhasesItemRateCardsItemDescriptionMax = exports.createPlanBodyPhasesItemRateCardsItemNameMax = exports.createPlanBodyPhasesItemRateCardsItemKeyRegExp = exports.createPlanBodyPhasesItemRateCardsItemKeyMax = exports.createPlanBodyPhasesItemDescriptionMax = exports.createPlanBodyPhasesItemNameMax = exports.createPlanBodyPhasesItemKeyRegExp = void 0;
|
|
19
|
+
exports.updatePlanBodyPhasesItemRateCardsItemPriceMultiplierDefault = exports.updatePlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive = exports.updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemDescriptionMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemNameMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemKeyRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemKeyMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefault = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExp = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyMax = exports.updatePlanBodyPhasesItemRateCardsItemDescriptionMax = exports.updatePlanBodyPhasesItemRateCardsItemNameMax = exports.updatePlanBodyPhasesItemRateCardsItemKeyRegExp = exports.updatePlanBodyPhasesItemRateCardsItemKeyMax = exports.updatePlanBodyPhasesItemDescriptionMax = exports.updatePlanBodyPhasesItemNameMax = exports.updatePlanBodyPhasesItemKeyRegExp = exports.updatePlanBodyPhasesItemKeyMax = exports.updatePlanBodyDescriptionMax = exports.updatePlanBodyNameMax = exports.updatePlanParams = exports.updatePlanPathPlanIdRegExp = exports.nextPlanParams = exports.nextPlanPathPlanIdOrKeyRegExp = exports.nextPlanPathPlanIdOrKeyMax = void 0;
|
|
20
|
+
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.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 = exports.updatePlanBody = exports.updatePlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.updatePlanBodyPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = void 0;
|
|
21
|
+
exports.listSubjectEntitlementsQueryIncludeDeletedDefault = exports.listSubjectEntitlementsParams = exports.createEntitlementBody = exports.createEntitlementBodyFeatureIdRegExpTwo = exports.createEntitlementBodyFeatureKeyRegExpTwo = exports.createEntitlementBodyFeatureKeyMaxTwo = exports.createEntitlementBodyFeatureIdRegExpOne = exports.createEntitlementBodyFeatureKeyRegExpOne = exports.createEntitlementBodyFeatureKeyMaxOne = exports.createEntitlementBodyPreserveOverageAtResetDefault = exports.createEntitlementBodyIssueAfterResetPriorityMax = exports.createEntitlementBodyIssueAfterResetPriorityDefault = exports.createEntitlementBodyIssueAfterResetMin = exports.createEntitlementBodyIsUnlimitedDefault = exports.createEntitlementBodyIsSoftLimitDefault = exports.createEntitlementBodyFeatureIdRegExp = exports.createEntitlementBodyFeatureKeyRegExp = exports.createEntitlementBodyFeatureKeyMax = exports.createEntitlementParams = exports.deleteSubjectParams = exports.getSubjectParams = exports.upsertSubjectBody = exports.upsertSubjectBodyItem = exports.createStripeCheckoutSessionBody = exports.createStripeCheckoutSessionBodyOptionsCustomTextTermsOfServiceAcceptanceMessageMax = exports.createStripeCheckoutSessionBodyOptionsCustomTextSubmitMessageMax = exports.createStripeCheckoutSessionBodyOptionsCustomTextShippingAddressMessageMax = exports.createStripeCheckoutSessionBodyOptionsCustomTextAfterSubmitMessageMax = exports.createStripeCheckoutSessionBodyOptionsCurrencyRegExpOne = exports.createStripeCheckoutSessionBodyOptionsCurrencyMaxOne = exports.createStripeCheckoutSessionBodyOptionsCurrencyMinOne = exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryRegExpOne = exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryMaxOne = exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryMinOne = exports.createStripeCheckoutSessionBodyCustomerCurrencyRegExpOne = exports.createStripeCheckoutSessionBodyCustomerCurrencyMaxOne = exports.createStripeCheckoutSessionBodyCustomerCurrencyMinOne = exports.createStripeCheckoutSessionBodyCustomerUsageAttributionSubjectKeysMax = exports.createStripeCheckoutSessionBodyCustomerKeyMaxOne = exports.createStripeCheckoutSessionBodyCustomerDescriptionMax = exports.createStripeCheckoutSessionBodyCustomerNameMax = exports.createStripeCheckoutSessionBodyCustomerIdRegExp = exports.createStripeCheckoutSessionBodyAppIdRegExp = exports.invalidatePortalTokensBody = exports.listPortalTokensQueryParams = exports.listPortalTokensQueryLimitMax = exports.listPortalTokensQueryLimitDefault = exports.createPortalTokenBody = exports.queryPortalMeterQueryParams = exports.queryPortalMeterQueryWindowTimeZoneDefault = void 0;
|
|
22
|
+
exports.createSubscriptionBodyCustomPlanPhasesItemNameMax = exports.createSubscriptionBodyCustomPlanPhasesItemKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemKeyMax = exports.createSubscriptionBodyCustomPlanCurrencyDefault = exports.createSubscriptionBodyCustomPlanCurrencyRegExpOne = exports.createSubscriptionBodyCustomPlanCurrencyMaxOne = exports.createSubscriptionBodyCustomPlanCurrencyMinOne = exports.createSubscriptionBodyCustomPlanDescriptionMax = exports.createSubscriptionBodyCustomPlanNameMax = exports.createSubscriptionBodyCustomerKeyMax = exports.createSubscriptionBodyCustomerIdRegExp = exports.createSubscriptionBodyTimingDefault = exports.createSubscriptionBodyPlanKeyRegExp = exports.createSubscriptionBodyPlanKeyMax = exports.resetEntitlementUsageBody = exports.resetEntitlementUsageParams = exports.getEntitlementHistoryQueryParams = exports.getEntitlementHistoryQueryWindowTimeZoneDefault = exports.getEntitlementHistoryParams = exports.deleteEntitlementParams = exports.getEntitlementParams = exports.getEntitlementValueQueryParams = exports.getEntitlementValueParams = exports.overrideEntitlementBody = exports.overrideEntitlementBodyFeatureIdRegExpTwo = exports.overrideEntitlementBodyFeatureKeyRegExpTwo = exports.overrideEntitlementBodyFeatureKeyMaxTwo = exports.overrideEntitlementBodyFeatureIdRegExpOne = exports.overrideEntitlementBodyFeatureKeyRegExpOne = exports.overrideEntitlementBodyFeatureKeyMaxOne = exports.overrideEntitlementBodyPreserveOverageAtResetDefault = exports.overrideEntitlementBodyIssueAfterResetPriorityMax = exports.overrideEntitlementBodyIssueAfterResetPriorityDefault = exports.overrideEntitlementBodyIssueAfterResetMin = exports.overrideEntitlementBodyIsUnlimitedDefault = exports.overrideEntitlementBodyIsSoftLimitDefault = exports.overrideEntitlementBodyFeatureIdRegExp = exports.overrideEntitlementBodyFeatureKeyRegExp = exports.overrideEntitlementBodyFeatureKeyMax = exports.overrideEntitlementParams = exports.createGrantBody = exports.createGrantBodyMinRolloverAmountDefault = exports.createGrantBodyMaxRolloverAmountDefault = exports.createGrantBodyPriorityMax = exports.createGrantBodyAmountMin = exports.createGrantParams = exports.listEntitlementGrantsQueryParams = exports.listEntitlementGrantsQueryIncludeDeletedDefault = exports.listEntitlementGrantsParams = exports.listSubjectEntitlementsQueryParams = void 0;
|
|
23
|
+
exports.createSubscriptionBodyCustomerKeyMaxOne = exports.createSubscriptionBodyCustomerIdRegExpOne = exports.createSubscriptionBodyTimingDefaultFour = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax = exports.createSubscriptionBodyCustomPlanPhasesItemDescriptionMax = void 0;
|
|
24
|
+
exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceQuantityPerPackageRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierDefault = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUpToAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefaultTwo = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMinOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardDescriptionMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardNameMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardKeyMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefault = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefault = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMax = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefault = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMin = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefault = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMax = exports.editSubscriptionBodyCustomizationsItemRateCardDescriptionMax = exports.editSubscriptionBodyCustomizationsItemRateCardNameMax = exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardKeyMax = exports.editSubscriptionParams = exports.editSubscriptionPathSubscriptionIdRegExp = exports.getSubscriptionQueryParams = exports.getSubscriptionParams = exports.getSubscriptionPathSubscriptionIdRegExp = exports.createSubscriptionBody = void 0;
|
|
25
|
+
exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax = exports.changeSubscriptionBodyCustomPlanPhasesItemDescriptionMax = exports.changeSubscriptionBodyCustomPlanPhasesItemNameMax = exports.changeSubscriptionBodyCustomPlanPhasesItemKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemKeyMax = exports.changeSubscriptionBodyCustomPlanCurrencyDefault = exports.changeSubscriptionBodyCustomPlanCurrencyRegExpOne = exports.changeSubscriptionBodyCustomPlanCurrencyMaxOne = exports.changeSubscriptionBodyCustomPlanCurrencyMinOne = exports.changeSubscriptionBodyCustomPlanDescriptionMax = exports.changeSubscriptionBodyCustomPlanNameMax = exports.changeSubscriptionBodyPlanKeyRegExp = exports.changeSubscriptionBodyPlanKeyMax = 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.editSubscriptionBodyCustomizationsItemPhaseKeyRegExpTwo = exports.editSubscriptionBodyCustomizationsItemPhaseKeyMaxTwo = exports.editSubscriptionBodyCustomizationsItemPhaseDiscountsUsageQuantityRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpSeven = void 0;
|
|
26
|
+
exports.listEventsV2QueryLimitDefault = exports.unscheduleCancelationParams = exports.unscheduleCancelationPathSubscriptionIdRegExp = exports.restoreSubscriptionParams = exports.restoreSubscriptionPathSubscriptionIdRegExp = exports.migrateSubscriptionBody = exports.migrateSubscriptionParams = exports.migrateSubscriptionPathSubscriptionIdRegExp = exports.changeSubscriptionBody = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = void 0;
|
|
27
|
+
exports.listEventsV2QueryParams = exports.listEventsV2QueryClientIdMax = exports.listEventsV2QueryLimitMax = void 0;
|
|
27
28
|
/* eslint-disable no-useless-escape */
|
|
28
29
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
29
30
|
// @ts-nocheck
|
|
@@ -4456,6 +4457,8 @@ exports.createBillingProfileBodyWorkflowInvoicingDueAfterDefault = 'P1W';
|
|
|
4456
4457
|
exports.createBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = false;
|
|
4457
4458
|
exports.createBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
|
|
4458
4459
|
exports.createBillingProfileBodyWorkflowPaymentCollectionMethodDefault = 'charge_automatically';
|
|
4460
|
+
exports.createBillingProfileBodyWorkflowTaxEnabledDefault = true;
|
|
4461
|
+
exports.createBillingProfileBodyWorkflowTaxEnforcedDefault = false;
|
|
4459
4462
|
exports.createBillingProfileBodyAppsTaxRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
|
|
4460
4463
|
exports.createBillingProfileBodyAppsInvoicingRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
|
|
4461
4464
|
exports.createBillingProfileBodyAppsPaymentRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
|
|
@@ -4639,6 +4642,20 @@ exports.createBillingProfileBody = zod_1.z
|
|
|
4639
4642
|
.describe('BillingWorkflowPaymentSettings represents the payment settings for a billing workflow')
|
|
4640
4643
|
.optional()
|
|
4641
4644
|
.describe('The payment settings for this workflow'),
|
|
4645
|
+
tax: zod_1.z
|
|
4646
|
+
.object({
|
|
4647
|
+
enabled: zod_1.z
|
|
4648
|
+
.boolean()
|
|
4649
|
+
.default(exports.createBillingProfileBodyWorkflowTaxEnabledDefault)
|
|
4650
|
+
.describe('Enable automatic tax calculation when tax is supported by the app.\nFor example, with Stripe Invoicing when enabled, tax is calculated via Stripe Tax.'),
|
|
4651
|
+
enforced: zod_1.z
|
|
4652
|
+
.boolean()
|
|
4653
|
+
.optional()
|
|
4654
|
+
.describe('Enforce tax calculation when tax is supported by the app.\nWhen enabled, OpenMeter will not allow to create an invoice without tax calculation.\nEnforcement is different per apps, for example, Stripe app requires customer\nto have a tax location when starting a paid subscription.'),
|
|
4655
|
+
})
|
|
4656
|
+
.describe('BillingWorkflowTaxSettings represents the tax settings for a billing workflow')
|
|
4657
|
+
.optional()
|
|
4658
|
+
.describe('The tax settings for this workflow'),
|
|
4642
4659
|
})
|
|
4643
4660
|
.describe('Resource create operation model.')
|
|
4644
4661
|
.describe('The billing workflow settings for this profile.'),
|
|
@@ -4692,6 +4709,8 @@ exports.updateBillingProfileBodyWorkflowInvoicingDueAfterDefault = 'P1W';
|
|
|
4692
4709
|
exports.updateBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = false;
|
|
4693
4710
|
exports.updateBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
|
|
4694
4711
|
exports.updateBillingProfileBodyWorkflowPaymentCollectionMethodDefault = 'charge_automatically';
|
|
4712
|
+
exports.updateBillingProfileBodyWorkflowTaxEnabledDefault = true;
|
|
4713
|
+
exports.updateBillingProfileBodyWorkflowTaxEnforcedDefault = false;
|
|
4695
4714
|
exports.updateBillingProfileBody = zod_1.z
|
|
4696
4715
|
.object({
|
|
4697
4716
|
default: zod_1.z.boolean().describe('Is this the default profile?'),
|
|
@@ -4849,6 +4868,20 @@ exports.updateBillingProfileBody = zod_1.z
|
|
|
4849
4868
|
.describe('BillingWorkflowPaymentSettings represents the payment settings for a billing workflow')
|
|
4850
4869
|
.optional()
|
|
4851
4870
|
.describe('The payment settings for this workflow'),
|
|
4871
|
+
tax: zod_1.z
|
|
4872
|
+
.object({
|
|
4873
|
+
enabled: zod_1.z
|
|
4874
|
+
.boolean()
|
|
4875
|
+
.default(exports.updateBillingProfileBodyWorkflowTaxEnabledDefault)
|
|
4876
|
+
.describe('Enable automatic tax calculation when tax is supported by the app.\nFor example, with Stripe Invoicing when enabled, tax is calculated via Stripe Tax.'),
|
|
4877
|
+
enforced: zod_1.z
|
|
4878
|
+
.boolean()
|
|
4879
|
+
.optional()
|
|
4880
|
+
.describe('Enforce tax calculation when tax is supported by the app.\nWhen enabled, OpenMeter will not allow to create an invoice without tax calculation.\nEnforcement is different per apps, for example, Stripe app requires customer\nto have a tax location when starting a paid subscription.'),
|
|
4881
|
+
})
|
|
4882
|
+
.describe('BillingWorkflowTaxSettings represents the tax settings for a billing workflow')
|
|
4883
|
+
.optional()
|
|
4884
|
+
.describe('The tax settings for this workflow'),
|
|
4852
4885
|
})
|
|
4853
4886
|
.describe('BillingWorkflow represents the settings for a billing workflow.')
|
|
4854
4887
|
.describe('The billing workflow settings for this profile.'),
|
|
@@ -8460,6 +8460,8 @@ export declare const createBillingProfileBodyWorkflowInvoicingDueAfterDefault =
|
|
|
8460
8460
|
export declare const createBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = false;
|
|
8461
8461
|
export declare const createBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp: RegExp;
|
|
8462
8462
|
export declare const createBillingProfileBodyWorkflowPaymentCollectionMethodDefault = "charge_automatically";
|
|
8463
|
+
export declare const createBillingProfileBodyWorkflowTaxEnabledDefault = true;
|
|
8464
|
+
export declare const createBillingProfileBodyWorkflowTaxEnforcedDefault = false;
|
|
8463
8465
|
export declare const createBillingProfileBodyAppsTaxRegExpOne: RegExp;
|
|
8464
8466
|
export declare const createBillingProfileBodyAppsInvoicingRegExpOne: RegExp;
|
|
8465
8467
|
export declare const createBillingProfileBodyAppsPaymentRegExpOne: RegExp;
|
|
@@ -8642,6 +8644,16 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
8642
8644
|
}, {
|
|
8643
8645
|
collectionMethod?: "charge_automatically" | "send_invoice" | undefined;
|
|
8644
8646
|
}>>;
|
|
8647
|
+
tax: zod.ZodOptional<zod.ZodObject<{
|
|
8648
|
+
enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
8649
|
+
enforced: zod.ZodOptional<zod.ZodBoolean>;
|
|
8650
|
+
}, "strip", zod.ZodTypeAny, {
|
|
8651
|
+
enabled: boolean;
|
|
8652
|
+
enforced?: boolean | undefined;
|
|
8653
|
+
}, {
|
|
8654
|
+
enabled?: boolean | undefined;
|
|
8655
|
+
enforced?: boolean | undefined;
|
|
8656
|
+
}>>;
|
|
8645
8657
|
}, "strip", zod.ZodTypeAny, {
|
|
8646
8658
|
invoicing?: {
|
|
8647
8659
|
autoAdvance: boolean;
|
|
@@ -8661,6 +8673,10 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
8661
8673
|
payment?: {
|
|
8662
8674
|
collectionMethod: "charge_automatically" | "send_invoice";
|
|
8663
8675
|
} | undefined;
|
|
8676
|
+
tax?: {
|
|
8677
|
+
enabled: boolean;
|
|
8678
|
+
enforced?: boolean | undefined;
|
|
8679
|
+
} | undefined;
|
|
8664
8680
|
collection?: {
|
|
8665
8681
|
alignment: {
|
|
8666
8682
|
type: "subscription";
|
|
@@ -8686,6 +8702,10 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
8686
8702
|
payment?: {
|
|
8687
8703
|
collectionMethod?: "charge_automatically" | "send_invoice" | undefined;
|
|
8688
8704
|
} | undefined;
|
|
8705
|
+
tax?: {
|
|
8706
|
+
enabled?: boolean | undefined;
|
|
8707
|
+
enforced?: boolean | undefined;
|
|
8708
|
+
} | undefined;
|
|
8689
8709
|
collection?: {
|
|
8690
8710
|
alignment?: {
|
|
8691
8711
|
type: "subscription";
|
|
@@ -8736,6 +8756,10 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
8736
8756
|
payment?: {
|
|
8737
8757
|
collectionMethod: "charge_automatically" | "send_invoice";
|
|
8738
8758
|
} | undefined;
|
|
8759
|
+
tax?: {
|
|
8760
|
+
enabled: boolean;
|
|
8761
|
+
enforced?: boolean | undefined;
|
|
8762
|
+
} | undefined;
|
|
8739
8763
|
collection?: {
|
|
8740
8764
|
alignment: {
|
|
8741
8765
|
type: "subscription";
|
|
@@ -8788,6 +8812,10 @@ export declare const createBillingProfileBody: zod.ZodObject<{
|
|
|
8788
8812
|
payment?: {
|
|
8789
8813
|
collectionMethod?: "charge_automatically" | "send_invoice" | undefined;
|
|
8790
8814
|
} | undefined;
|
|
8815
|
+
tax?: {
|
|
8816
|
+
enabled?: boolean | undefined;
|
|
8817
|
+
enforced?: boolean | undefined;
|
|
8818
|
+
} | undefined;
|
|
8791
8819
|
collection?: {
|
|
8792
8820
|
alignment?: {
|
|
8793
8821
|
type: "subscription";
|
|
@@ -8858,6 +8886,8 @@ export declare const updateBillingProfileBodyWorkflowInvoicingDueAfterDefault =
|
|
|
8858
8886
|
export declare const updateBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = false;
|
|
8859
8887
|
export declare const updateBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp: RegExp;
|
|
8860
8888
|
export declare const updateBillingProfileBodyWorkflowPaymentCollectionMethodDefault = "charge_automatically";
|
|
8889
|
+
export declare const updateBillingProfileBodyWorkflowTaxEnabledDefault = true;
|
|
8890
|
+
export declare const updateBillingProfileBodyWorkflowTaxEnforcedDefault = false;
|
|
8861
8891
|
export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
8862
8892
|
default: zod.ZodBoolean;
|
|
8863
8893
|
description: zod.ZodOptional<zod.ZodString>;
|
|
@@ -9024,6 +9054,16 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
9024
9054
|
}, {
|
|
9025
9055
|
collectionMethod?: "charge_automatically" | "send_invoice" | undefined;
|
|
9026
9056
|
}>>;
|
|
9057
|
+
tax: zod.ZodOptional<zod.ZodObject<{
|
|
9058
|
+
enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
9059
|
+
enforced: zod.ZodOptional<zod.ZodBoolean>;
|
|
9060
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9061
|
+
enabled: boolean;
|
|
9062
|
+
enforced?: boolean | undefined;
|
|
9063
|
+
}, {
|
|
9064
|
+
enabled?: boolean | undefined;
|
|
9065
|
+
enforced?: boolean | undefined;
|
|
9066
|
+
}>>;
|
|
9027
9067
|
}, "strip", zod.ZodTypeAny, {
|
|
9028
9068
|
invoicing?: {
|
|
9029
9069
|
autoAdvance: boolean;
|
|
@@ -9043,6 +9083,10 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
9043
9083
|
payment?: {
|
|
9044
9084
|
collectionMethod: "charge_automatically" | "send_invoice";
|
|
9045
9085
|
} | undefined;
|
|
9086
|
+
tax?: {
|
|
9087
|
+
enabled: boolean;
|
|
9088
|
+
enforced?: boolean | undefined;
|
|
9089
|
+
} | undefined;
|
|
9046
9090
|
collection?: {
|
|
9047
9091
|
alignment: {
|
|
9048
9092
|
type: "subscription";
|
|
@@ -9068,6 +9112,10 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
9068
9112
|
payment?: {
|
|
9069
9113
|
collectionMethod?: "charge_automatically" | "send_invoice" | undefined;
|
|
9070
9114
|
} | undefined;
|
|
9115
|
+
tax?: {
|
|
9116
|
+
enabled?: boolean | undefined;
|
|
9117
|
+
enforced?: boolean | undefined;
|
|
9118
|
+
} | undefined;
|
|
9071
9119
|
collection?: {
|
|
9072
9120
|
alignment?: {
|
|
9073
9121
|
type: "subscription";
|
|
@@ -9113,6 +9161,10 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
9113
9161
|
payment?: {
|
|
9114
9162
|
collectionMethod: "charge_automatically" | "send_invoice";
|
|
9115
9163
|
} | undefined;
|
|
9164
|
+
tax?: {
|
|
9165
|
+
enabled: boolean;
|
|
9166
|
+
enforced?: boolean | undefined;
|
|
9167
|
+
} | undefined;
|
|
9116
9168
|
collection?: {
|
|
9117
9169
|
alignment: {
|
|
9118
9170
|
type: "subscription";
|
|
@@ -9160,6 +9212,10 @@ export declare const updateBillingProfileBody: zod.ZodObject<{
|
|
|
9160
9212
|
payment?: {
|
|
9161
9213
|
collectionMethod?: "charge_automatically" | "send_invoice" | undefined;
|
|
9162
9214
|
} | undefined;
|
|
9215
|
+
tax?: {
|
|
9216
|
+
enabled?: boolean | undefined;
|
|
9217
|
+
enforced?: boolean | undefined;
|
|
9218
|
+
} | undefined;
|
|
9163
9219
|
collection?: {
|
|
9164
9220
|
alignment?: {
|
|
9165
9221
|
type: "subscription";
|