@openmeter/sdk 1.0.0-beta-491b73a4e260 → 1.0.0-beta-dc555220d9fa

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.
@@ -4,27 +4,26 @@ exports.createAddonBodyRateCardsItemPriceMinimumAmountRegExpOne = exports.create
4
4
  exports.updateAddonBodyRateCardsItemPriceAmountRegExpFive = exports.updateAddonBodyRateCardsItemPricePaymentTermDefaultTwo = exports.updateAddonBodyRateCardsItemPriceAmountRegExpThree = exports.updateAddonBodyRateCardsItemTaxConfigStripeCodeRegExpOne = exports.updateAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.updateAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.updateAddonBodyRateCardsItemFeatureKeyRegExpOne = exports.updateAddonBodyRateCardsItemFeatureKeyMaxOne = exports.updateAddonBodyRateCardsItemDescriptionMaxOne = exports.updateAddonBodyRateCardsItemNameMaxOne = exports.updateAddonBodyRateCardsItemKeyRegExpOne = exports.updateAddonBodyRateCardsItemKeyMaxOne = exports.updateAddonBodyRateCardsItemDiscountsUsageQuantityRegExpOne = exports.updateAddonBodyRateCardsItemPricePaymentTermDefault = exports.updateAddonBodyRateCardsItemPriceAmountRegExpOne = exports.updateAddonBodyRateCardsItemTaxConfigStripeCodeRegExp = exports.updateAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.updateAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.updateAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.updateAddonBodyRateCardsItemFeatureKeyRegExp = exports.updateAddonBodyRateCardsItemFeatureKeyMax = exports.updateAddonBodyRateCardsItemDescriptionMax = exports.updateAddonBodyRateCardsItemNameMax = exports.updateAddonBodyRateCardsItemKeyRegExp = exports.updateAddonBodyRateCardsItemKeyMax = exports.updateAddonBodyDescriptionMax = exports.updateAddonBodyNameMax = exports.updateAddonParams = exports.updateAddonPathAddonIdRegExp = exports.createAddonBody = exports.createAddonBodyRateCardsItemDiscountsUsageQuantityRegExpThree = exports.createAddonBodyRateCardsItemPriceMaximumAmountRegExpSeven = exports.createAddonBodyRateCardsItemPriceMinimumAmountRegExpSeven = exports.createAddonBodyRateCardsItemPriceQuantityPerPackageRegExpOne = exports.createAddonBodyRateCardsItemPriceAmountRegExpSeven = exports.createAddonBodyRateCardsItemPriceMaximumAmountRegExpFive = exports.createAddonBodyRateCardsItemPriceMinimumAmountRegExpFive = exports.createAddonBodyRateCardsItemPriceMultiplierDefault = exports.createAddonBodyRateCardsItemPriceMultiplierRegExpOne = exports.createAddonBodyRateCardsItemPriceMaximumAmountRegExpThree = exports.createAddonBodyRateCardsItemPriceMinimumAmountRegExpThree = exports.createAddonBodyRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.createAddonBodyRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.createAddonBodyRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.createAddonBodyRateCardsItemPriceMaximumAmountRegExpOne = void 0;
5
5
  exports.updateAppBodyNameMax = exports.updateAppParams = exports.updateAppPathIdRegExp = exports.getAppParams = exports.getAppPathIdRegExp = exports.appCustomInvoicingUpdatePaymentStatusBody = exports.appCustomInvoicingUpdatePaymentStatusParams = exports.appCustomInvoicingUpdatePaymentStatusPathInvoiceIdRegExp = exports.appCustomInvoicingIssuingSynchronizedBody = exports.appCustomInvoicingIssuingSynchronizedBodyInvoicingInvoiceNumberMaxOne = exports.appCustomInvoicingIssuingSynchronizedParams = exports.appCustomInvoicingIssuingSynchronizedPathInvoiceIdRegExp = exports.appCustomInvoicingDraftSynchronizedBody = exports.appCustomInvoicingDraftSynchronizedBodyInvoicingLineDiscountExternalIdsItemLineDiscountIdRegExp = exports.appCustomInvoicingDraftSynchronizedBodyInvoicingLineExternalIdsItemLineIdRegExp = exports.appCustomInvoicingDraftSynchronizedBodyInvoicingInvoiceNumberMaxOne = exports.appCustomInvoicingDraftSynchronizedParams = exports.appCustomInvoicingDraftSynchronizedPathInvoiceIdRegExp = exports.listAppsQueryParams = exports.listAppsQueryPageSizeMax = exports.listAppsQueryPageSizeDefault = exports.listAppsQueryPageDefault = exports.publishAddonParams = exports.publishAddonPathAddonIdRegExp = exports.archiveAddonParams = exports.archiveAddonPathAddonIdRegExp = exports.deleteAddonParams = exports.deleteAddonPathAddonIdRegExp = exports.getAddonQueryParams = exports.getAddonQueryIncludeLatestDefault = exports.getAddonParams = exports.getAddonPathAddonIdRegExp = exports.getAddonPathAddonIdMax = exports.updateAddonBody = exports.updateAddonBodyRateCardsItemDiscountsUsageQuantityRegExpThree = exports.updateAddonBodyRateCardsItemPriceMaximumAmountRegExpSeven = exports.updateAddonBodyRateCardsItemPriceMinimumAmountRegExpSeven = exports.updateAddonBodyRateCardsItemPriceQuantityPerPackageRegExpOne = exports.updateAddonBodyRateCardsItemPriceAmountRegExpSeven = exports.updateAddonBodyRateCardsItemPriceMaximumAmountRegExpFive = exports.updateAddonBodyRateCardsItemPriceMinimumAmountRegExpFive = exports.updateAddonBodyRateCardsItemPriceMultiplierDefault = exports.updateAddonBodyRateCardsItemPriceMultiplierRegExpOne = exports.updateAddonBodyRateCardsItemPriceMaximumAmountRegExpThree = exports.updateAddonBodyRateCardsItemPriceMinimumAmountRegExpThree = exports.updateAddonBodyRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.updateAddonBodyRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.updateAddonBodyRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.updateAddonBodyRateCardsItemPriceMaximumAmountRegExpOne = exports.updateAddonBodyRateCardsItemPriceMinimumAmountRegExpOne = void 0;
6
6
  exports.createPendingInvoiceLineBodyLinesItemPriceMultiplierDefault = exports.createPendingInvoiceLineBodyLinesItemPriceMultiplierRegExpOne = exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpThree = exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpThree = exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemUpToAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpThree = exports.createPendingInvoiceLineBodyLinesItemPricePaymentTermDefault = exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemTaxConfigStripeCodeRegExp = exports.createPendingInvoiceLineBodyLinesItemDescriptionMax = exports.createPendingInvoiceLineBodyLinesItemNameMax = exports.createPendingInvoiceLineBodyCurrencyRegExpOne = exports.createPendingInvoiceLineBodyCurrencyMaxOne = exports.createPendingInvoiceLineBodyCurrencyMinOne = exports.createPendingInvoiceLineParams = exports.createPendingInvoiceLinePathCustomerIdRegExp = exports.deleteBillingProfileCustomerOverrideParams = exports.deleteBillingProfileCustomerOverridePathCustomerIdRegExp = exports.getBillingProfileCustomerOverrideQueryParams = exports.getBillingProfileCustomerOverrideParams = exports.getBillingProfileCustomerOverridePathCustomerIdRegExp = exports.upsertBillingProfileCustomerOverrideBody = exports.upsertBillingProfileCustomerOverrideBodyBillingProfileIdRegExp = exports.upsertBillingProfileCustomerOverrideParams = exports.upsertBillingProfileCustomerOverridePathCustomerIdRegExp = exports.listBillingProfileCustomerOverridesQueryParams = exports.listBillingProfileCustomerOverridesQueryPageSizeMax = exports.listBillingProfileCustomerOverridesQueryPageSizeDefault = exports.listBillingProfileCustomerOverridesQueryPageDefault = exports.listBillingProfileCustomerOverridesQueryCustomerIdItemRegExp = exports.listBillingProfileCustomerOverridesQueryIncludeAllCustomersDefault = exports.listBillingProfileCustomerOverridesQueryBillingProfileItemRegExp = exports.appStripeWebhookBody = exports.appStripeWebhookParams = exports.appStripeWebhookPathIdRegExp = exports.updateStripeAPIKeyBody = exports.updateStripeAPIKeyParams = exports.updateStripeAPIKeyPathIdRegExp = exports.uninstallAppParams = exports.uninstallAppPathIdRegExp = exports.updateAppBody = exports.updateAppBodyDescriptionMaxTwo = exports.updateAppBodyNameMaxTwo = exports.updateAppBodyDescriptionMaxOne = exports.updateAppBodyNameMaxOne = exports.updateAppBodyDescriptionMax = void 0;
7
- exports.simulateInvoiceBodyNumberMaxOne = exports.simulateInvoiceParams = exports.simulateInvoicePathCustomerIdRegExp = exports.createPendingInvoiceLineBody = exports.createPendingInvoiceLineBodyLinesItemCategoryDefault = exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree = exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardQuantityRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardPricePaymentTermDefaultTwo = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpSeven = exports.createPendingInvoiceLineBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne = exports.createPendingInvoiceLineBodyLinesItemQuantityRegExpOne = exports.createPendingInvoiceLineBodyLinesItemPaymentTermDefault = exports.createPendingInvoiceLineBodyLinesItemPerUnitAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemTaxConfigStripeCodeRegExpOne = exports.createPendingInvoiceLineBodyLinesItemDescriptionMaxOne = exports.createPendingInvoiceLineBodyLinesItemNameMaxOne = exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpFive = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpFive = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpFive = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierDefault = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpThree = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpThree = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpThree = exports.createPendingInvoiceLineBodyLinesItemRateCardPricePaymentTermDefault = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardTaxConfigStripeCodeRegExp = exports.createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyRegExp = exports.createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyMax = exports.createPendingInvoiceLineBodyLinesItemFeatureKeyRegExp = exports.createPendingInvoiceLineBodyLinesItemFeatureKeyMax = exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpSeven = exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpSeven = exports.createPendingInvoiceLineBodyLinesItemPriceQuantityPerPackageRegExpOne = exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpFive = exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpFive = exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpFive = void 0;
8
- exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = exports.simulateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive = exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive = exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive = exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierDefault = exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree = exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree = exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree = exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefault = exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp = exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyRegExp = exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyMax = exports.simulateInvoiceBodyLinesItemFeatureKeyRegExp = exports.simulateInvoiceBodyLinesItemFeatureKeyMax = exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven = exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven = exports.simulateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne = exports.simulateInvoiceBodyLinesItemPriceAmountRegExpFive = exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive = exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive = exports.simulateInvoiceBodyLinesItemPriceMultiplierDefault = exports.simulateInvoiceBodyLinesItemPriceMultiplierRegExpOne = exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree = exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree = exports.simulateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = exports.simulateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = exports.simulateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne = exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne = exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne = exports.simulateInvoiceBodyLinesItemPriceAmountRegExpThree = exports.simulateInvoiceBodyLinesItemPricePaymentTermDefault = exports.simulateInvoiceBodyLinesItemPriceAmountRegExpOne = exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp = exports.simulateInvoiceBodyLinesItemDescriptionMax = exports.simulateInvoiceBodyLinesItemNameMax = exports.simulateInvoiceBodyCurrencyRegExpOne = exports.simulateInvoiceBodyCurrencyMaxOne = exports.simulateInvoiceBodyCurrencyMinOne = void 0;
9
- exports.updateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp = exports.updateInvoiceBodyLinesItemDescriptionMax = exports.updateInvoiceBodyLinesItemNameMax = exports.updateInvoiceBodyCustomerAddressesMax = 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.invoicePendingLinesActionBody = exports.invoicePendingLinesActionBodyCustomerIdRegExp = exports.invoicePendingLinesActionBodyFiltersLineIdsItemRegExp = exports.listInvoicesQueryParams = exports.listInvoicesQueryPageSizeMax = exports.listInvoicesQueryPageSizeDefault = exports.listInvoicesQueryPageDefault = exports.listInvoicesQueryCustomersItemRegExp = exports.simulateInvoiceBody = exports.simulateInvoiceBodyLinesItemIdRegExpOne = exports.simulateInvoiceBodyLinesItemCategoryDefault = exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree = exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardQuantityRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefaultTwo = exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpSeven = exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne = exports.simulateInvoiceBodyLinesItemQuantityRegExpThree = exports.simulateInvoiceBodyLinesItemPaymentTermDefault = exports.simulateInvoiceBodyLinesItemPerUnitAmountRegExpOne = exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExpOne = exports.simulateInvoiceBodyLinesItemDescriptionMaxOne = exports.simulateInvoiceBodyLinesItemNameMaxOne = exports.simulateInvoiceBodyLinesItemIdRegExp = exports.simulateInvoiceBodyLinesItemPreLinePeriodQuantityRegExpOne = exports.simulateInvoiceBodyLinesItemQuantityRegExpOne = void 0;
10
- exports.updateInvoiceBodyLinesItemPaymentTermDefault = exports.updateInvoiceBodyLinesItemPerUnitAmountRegExpOne = exports.updateInvoiceBodyLinesItemTaxConfigStripeCodeRegExpOne = exports.updateInvoiceBodyLinesItemDescriptionMaxOne = 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 = void 0;
11
- exports.createBillingProfileBodyWorkflowPaymentCollectionMethodDefault = exports.createBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = 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.snapshotQuantitiesInvoiceActionParams = exports.snapshotQuantitiesInvoiceActionPathInvoiceIdRegExp = 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 = void 0;
12
- exports.getCustomerParams = exports.getCustomerPathCustomerIdOrKeyRegExp = 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 = void 0;
13
- exports.deleteCustomerAppDataParams = exports.deleteCustomerAppDataPathAppIdRegExp = 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 = void 0;
14
- exports.listGrantsQueryPageSizeDefault = exports.listGrantsQueryPageDefault = 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 = void 0;
15
- exports.queryMeterPostPathMeterIdOrSlugRegExp = exports.queryMeterPostPathMeterIdOrSlugMax = 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 = void 0;
16
- exports.createNotificationRuleBodyFeaturesItemMaxOne = exports.createNotificationRuleBodyChannelsItemRegExpOne = 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 = void 0;
17
- exports.createPlanBodyPhasesItemNameMax = exports.createPlanBodyPhasesItemKeyRegExp = 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 = void 0;
18
- exports.nextPlanPathPlanIdOrKeyRegExp = exports.nextPlanPathPlanIdOrKeyMax = 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 = void 0;
19
- exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = 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 = void 0;
20
- exports.queryPortalMeterQueryParams = 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.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 = void 0;
21
- exports.listEntitlementGrantsParams = exports.listSubjectEntitlementsQueryParams = 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 = void 0;
22
- exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax = exports.createSubscriptionBodyCustomPlanPhasesItemDescriptionMax = 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 = void 0;
23
- exports.getSubscriptionPathSubscriptionIdRegExp = exports.createSubscriptionBody = 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 = void 0;
24
- exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpSeven = 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 = void 0;
25
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = 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 = void 0;
26
- exports.listEventsV2QueryLimitMax = exports.listEventsV2QueryLimitDefault = exports.unscheduleCancelationParams = exports.unscheduleCancelationPathSubscriptionIdRegExp = exports.restoreSubscriptionParams = exports.restoreSubscriptionPathSubscriptionIdRegExp = exports.migrateSubscriptionBody = exports.migrateSubscriptionBodyTimingDefault = 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 = void 0;
27
- exports.listEventsV2QueryParams = exports.listEventsV2QueryClientIdMax = void 0;
7
+ exports.simulateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = exports.simulateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = exports.simulateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne = exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne = exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne = exports.simulateInvoiceBodyLinesItemPriceAmountRegExpThree = exports.simulateInvoiceBodyLinesItemPricePaymentTermDefault = exports.simulateInvoiceBodyLinesItemPriceAmountRegExpOne = exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp = exports.simulateInvoiceBodyLinesItemDescriptionMax = exports.simulateInvoiceBodyLinesItemNameMax = exports.simulateInvoiceBodyCurrencyRegExpOne = exports.simulateInvoiceBodyCurrencyMaxOne = exports.simulateInvoiceBodyCurrencyMinOne = exports.simulateInvoiceBodyNumberMaxOne = exports.simulateInvoiceParams = exports.simulateInvoicePathCustomerIdRegExp = exports.createPendingInvoiceLineBody = exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpFive = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpFive = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpFive = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierDefault = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpThree = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpThree = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpThree = exports.createPendingInvoiceLineBodyLinesItemRateCardPricePaymentTermDefault = exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpOne = exports.createPendingInvoiceLineBodyLinesItemRateCardTaxConfigStripeCodeRegExp = exports.createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyRegExp = exports.createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyMax = exports.createPendingInvoiceLineBodyLinesItemFeatureKeyRegExp = exports.createPendingInvoiceLineBodyLinesItemFeatureKeyMax = exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpSeven = exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpSeven = exports.createPendingInvoiceLineBodyLinesItemPriceQuantityPerPackageRegExpOne = exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpFive = exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpFive = exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpFive = void 0;
8
+ exports.getInvoiceParams = exports.getInvoicePathInvoiceIdRegExp = exports.invoicePendingLinesActionBody = exports.invoicePendingLinesActionBodyCustomerIdRegExp = exports.invoicePendingLinesActionBodyFiltersLineIdsItemRegExp = exports.listInvoicesQueryParams = exports.listInvoicesQueryPageSizeMax = exports.listInvoicesQueryPageSizeDefault = exports.listInvoicesQueryPageDefault = exports.listInvoicesQueryCustomersItemRegExp = exports.simulateInvoiceBody = exports.simulateInvoiceBodyLinesItemIdRegExp = exports.simulateInvoiceBodyLinesItemPreLinePeriodQuantityRegExpOne = exports.simulateInvoiceBodyLinesItemQuantityRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = exports.simulateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive = exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive = exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive = exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierDefault = exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree = exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree = exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree = exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefault = exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne = exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp = exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyRegExp = exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyMax = exports.simulateInvoiceBodyLinesItemFeatureKeyRegExp = exports.simulateInvoiceBodyLinesItemFeatureKeyMax = exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven = exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven = exports.simulateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne = exports.simulateInvoiceBodyLinesItemPriceAmountRegExpFive = exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive = exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive = exports.simulateInvoiceBodyLinesItemPriceMultiplierDefault = exports.simulateInvoiceBodyLinesItemPriceMultiplierRegExpOne = exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree = exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree = void 0;
9
+ 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 = 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 = void 0;
10
+ 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.snapshotQuantitiesInvoiceActionParams = exports.snapshotQuantitiesInvoiceActionPathInvoiceIdRegExp = 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.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 = void 0;
11
+ 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 = exports.createBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = exports.createBillingProfileBodyWorkflowInvoicingDueAfterDefault = exports.createBillingProfileBodyWorkflowInvoicingDraftPeriodDefault = exports.createBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault = void 0;
12
+ 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 = exports.getCustomerPathCustomerIdOrKeyMax = exports.listCustomersQueryParams = exports.listCustomersQueryIncludeDeletedDefault = exports.listCustomersQueryPageSizeMax = void 0;
13
+ 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 = exports.deleteCustomerAppDataPathCustomerIdOrKeyRegExp = exports.deleteCustomerAppDataPathCustomerIdOrKeyMax = exports.upsertCustomerAppDataBody = exports.upsertCustomerAppDataBodyItem = void 0;
14
+ 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 = exports.listGrantsQueryIncludeDeletedDefault = exports.deleteFeatureParams = exports.getFeatureParams = exports.createFeatureBody = void 0;
15
+ 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 = exports.queryMeterQueryParams = exports.queryMeterQueryWindowTimeZoneDefault = exports.queryMeterQueryClientIdMax = exports.queryMeterParams = void 0;
16
+ 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 = exports.createNotificationRuleBodyDisabledDefaultOne = exports.createNotificationRuleBodyFeaturesItemRegExp = exports.createNotificationRuleBodyFeaturesItemMax = exports.createNotificationRuleBodyChannelsItemRegExp = void 0;
17
+ 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 = exports.createPlanBodyPhasesItemKeyMax = exports.createPlanBodyCurrencyDefault = exports.createPlanBodyCurrencyRegExpOne = exports.createPlanBodyCurrencyMaxOne = void 0;
18
+ 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 = exports.createPlanBody = exports.createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = void 0;
19
+ 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 = exports.updatePlanBodyPhasesItemRateCardsItemPriceMultiplierDefault = exports.updatePlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = void 0;
20
+ 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 = exports.queryPortalMeterQueryClientIdMax = exports.queryPortalMeterParams = exports.queryPortalMeterPathMeterSlugRegExp = exports.queryPortalMeterPathMeterSlugMax = void 0;
21
+ 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 = exports.listSubjectEntitlementsQueryIncludeDeletedDefault = exports.listSubjectEntitlementsParams = exports.createEntitlementBody = exports.createEntitlementBodyFeatureIdRegExpTwo = void 0;
22
+ 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 = exports.createSubscriptionBodyCustomPlanPhasesItemNameMax = exports.createSubscriptionBodyCustomPlanPhasesItemKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemKeyMax = exports.createSubscriptionBodyCustomPlanCurrencyDefault = void 0;
23
+ 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 = exports.createSubscriptionBodyCustomerKeyMaxOne = exports.createSubscriptionBodyCustomerIdRegExpOne = exports.createSubscriptionBodyTimingDefaultFour = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = void 0;
24
+ 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 = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceQuantityPerPackageRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpFive = void 0;
25
+ exports.migrateSubscriptionBody = exports.migrateSubscriptionBodyTimingDefault = 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 = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = void 0;
26
+ exports.listEventsV2QueryParams = exports.listEventsV2QueryClientIdMax = exports.listEventsV2QueryLimitMax = exports.listEventsV2QueryLimitDefault = exports.unscheduleCancelationParams = exports.unscheduleCancelationPathSubscriptionIdRegExp = exports.restoreSubscriptionParams = exports.restoreSubscriptionPathSubscriptionIdRegExp = void 0;
28
27
  /* eslint-disable no-useless-escape */
29
28
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
30
29
  // @ts-nocheck
@@ -1782,20 +1781,6 @@ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpSev
1782
1781
  exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1783
1782
  exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1784
1783
  exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1785
- exports.createPendingInvoiceLineBodyLinesItemNameMaxOne = 256;
1786
- exports.createPendingInvoiceLineBodyLinesItemDescriptionMaxOne = 1024;
1787
- exports.createPendingInvoiceLineBodyLinesItemTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
1788
- exports.createPendingInvoiceLineBodyLinesItemPerUnitAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1789
- exports.createPendingInvoiceLineBodyLinesItemPaymentTermDefault = 'in_advance';
1790
- exports.createPendingInvoiceLineBodyLinesItemQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1791
- exports.createPendingInvoiceLineBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
1792
- exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1793
- exports.createPendingInvoiceLineBodyLinesItemRateCardPricePaymentTermDefaultTwo = 'in_advance';
1794
- exports.createPendingInvoiceLineBodyLinesItemRateCardQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1795
- exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1796
- exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1797
- exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1798
- exports.createPendingInvoiceLineBodyLinesItemCategoryDefault = 'regular';
1799
1784
  exports.createPendingInvoiceLineBody = zod_1.z
1800
1785
  .object({
1801
1786
  currency: zod_1.z
@@ -1807,54 +1792,253 @@ exports.createPendingInvoiceLineBody = zod_1.z
1807
1792
  .describe('The currency of the lines to be created.'),
1808
1793
  lines: zod_1.z
1809
1794
  .array(zod_1.z
1810
- .discriminatedUnion('type', [
1811
- zod_1.z
1795
+ .object({
1796
+ description: zod_1.z
1797
+ .string()
1798
+ .max(exports.createPendingInvoiceLineBodyLinesItemDescriptionMax)
1799
+ .optional()
1800
+ .describe('Optional description of the resource. Maximum 1024 characters.'),
1801
+ featureKey: zod_1.z
1802
+ .string()
1803
+ .min(1)
1804
+ .max(exports.createPendingInvoiceLineBodyLinesItemFeatureKeyMax)
1805
+ .regex(exports.createPendingInvoiceLineBodyLinesItemFeatureKeyRegExp)
1806
+ .optional()
1807
+ .describe('The feature that the usage is based on.'),
1808
+ invoiceAt: zod_1.z
1809
+ .date()
1810
+ .describe('The time this line item should be invoiced.'),
1811
+ metadata: zod_1.z
1812
+ .record(zod_1.z.string(), zod_1.z.string())
1813
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
1814
+ .nullish()
1815
+ .describe('Additional metadata for the resource.'),
1816
+ name: zod_1.z
1817
+ .string()
1818
+ .min(1)
1819
+ .max(exports.createPendingInvoiceLineBodyLinesItemNameMax)
1820
+ .describe('Human-readable name for the resource. Between 1 and 256 characters.'),
1821
+ period: zod_1.z
1812
1822
  .object({
1813
- description: zod_1.z
1814
- .string()
1815
- .max(exports.createPendingInvoiceLineBodyLinesItemDescriptionMax)
1823
+ from: zod_1.z.date().describe('Period start time.'),
1824
+ to: zod_1.z.date().describe('Period end time.'),
1825
+ })
1826
+ .describe('A period with a start and end time.')
1827
+ .describe('Period of the line item applies to for revenue recognition pruposes.\n\nBilling always treats periods as start being inclusive and end being exclusive.'),
1828
+ price: zod_1.z
1829
+ .discriminatedUnion('type', [
1830
+ zod_1.z
1831
+ .object({
1832
+ amount: zod_1.z
1833
+ .string()
1834
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpOne)
1835
+ .describe('Numeric represents an arbitrary precision number.')
1836
+ .describe('The amount of the flat price.'),
1837
+ paymentTerm: zod_1.z
1838
+ .enum(['in_advance', 'in_arrears'])
1839
+ .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
1840
+ .default(exports.createPendingInvoiceLineBodyLinesItemPricePaymentTermDefault)
1841
+ .describe('The payment term of the flat price.\nDefaults to in advance.'),
1842
+ type: zod_1.z.enum(['flat']),
1843
+ })
1844
+ .describe('Flat price with payment term.'),
1845
+ zod_1.z
1846
+ .object({
1847
+ amount: zod_1.z
1848
+ .string()
1849
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpThree)
1850
+ .describe('Numeric represents an arbitrary precision number.')
1851
+ .describe('The amount of the unit price.'),
1852
+ maximumAmount: zod_1.z
1853
+ .string()
1854
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpOne)
1855
+ .describe('Numeric represents an arbitrary precision number.')
1856
+ .optional()
1857
+ .describe('The customer is limited to spend at most the amount.'),
1858
+ minimumAmount: zod_1.z
1859
+ .string()
1860
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpOne)
1861
+ .describe('Numeric represents an arbitrary precision number.')
1862
+ .optional()
1863
+ .describe('The customer is committed to spend at least the amount.'),
1864
+ type: zod_1.z.enum(['unit']),
1865
+ })
1866
+ .describe('Unit price with spend commitments.'),
1867
+ zod_1.z
1868
+ .object({
1869
+ maximumAmount: zod_1.z
1870
+ .string()
1871
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpThree)
1872
+ .describe('Numeric represents an arbitrary precision number.')
1873
+ .optional()
1874
+ .describe('The customer is limited to spend at most the amount.'),
1875
+ minimumAmount: zod_1.z
1876
+ .string()
1877
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpThree)
1878
+ .describe('Numeric represents an arbitrary precision number.')
1879
+ .optional()
1880
+ .describe('The customer is committed to spend at least the amount.'),
1881
+ mode: zod_1.z
1882
+ .enum(['volume', 'graduated'])
1883
+ .describe('The mode of the tiered price.')
1884
+ .describe('Defines if the tiering mode is volume-based or graduated:\n- In `volume`-based tiering, the maximum quantity within a period determines the per unit price.\n- In `graduated` tiering, pricing can change as the quantity grows.'),
1885
+ tiers: zod_1.z
1886
+ .array(zod_1.z
1887
+ .object({
1888
+ flatPrice: zod_1.z
1889
+ .object({
1890
+ amount: zod_1.z
1891
+ .string()
1892
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne)
1893
+ .describe('Numeric represents an arbitrary precision number.')
1894
+ .describe('The amount of the flat price.'),
1895
+ type: zod_1.z
1896
+ .enum(['flat'])
1897
+ .describe('The type of the price.'),
1898
+ })
1899
+ .describe('Flat price.')
1900
+ .nullable()
1901
+ .describe('The flat price component of the tier.'),
1902
+ unitPrice: zod_1.z
1903
+ .object({
1904
+ amount: zod_1.z
1905
+ .string()
1906
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne)
1907
+ .describe('Numeric represents an arbitrary precision number.')
1908
+ .describe('The amount of the unit price.'),
1909
+ type: zod_1.z
1910
+ .enum(['unit'])
1911
+ .describe('The type of the price.'),
1912
+ })
1913
+ .describe('Unit price.')
1914
+ .nullable()
1915
+ .describe('The unit price component of the tier.'),
1916
+ upToAmount: zod_1.z
1917
+ .string()
1918
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemUpToAmountRegExpOne)
1919
+ .describe('Numeric represents an arbitrary precision number.')
1920
+ .optional()
1921
+ .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
1922
+ })
1923
+ .describe('A price tier.\nAt least one price component is required in each tier.'))
1924
+ .min(1)
1925
+ .describe('The tiers of the tiered price.\nAt least one price component is required in each tier.'),
1926
+ type: zod_1.z.enum(['tiered']),
1927
+ })
1928
+ .describe('Tiered price with spend commitments.'),
1929
+ zod_1.z
1930
+ .object({
1931
+ maximumAmount: zod_1.z
1932
+ .string()
1933
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpFive)
1934
+ .describe('Numeric represents an arbitrary precision number.')
1935
+ .optional()
1936
+ .describe('The customer is limited to spend at most the amount.'),
1937
+ minimumAmount: zod_1.z
1938
+ .string()
1939
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpFive)
1940
+ .describe('Numeric represents an arbitrary precision number.')
1941
+ .optional()
1942
+ .describe('The customer is committed to spend at least the amount.'),
1943
+ multiplier: zod_1.z
1944
+ .string()
1945
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMultiplierRegExpOne)
1946
+ .describe('Numeric represents an arbitrary precision number.')
1947
+ .default(exports.createPendingInvoiceLineBodyLinesItemPriceMultiplierDefault)
1948
+ .describe('The multiplier to apply to the base price to get the dynamic price.\n\nExamples:\n- 0.0: the price is zero\n- 0.5: the price is 50% of the base price\n- 1.0: the price is the same as the base price\n- 1.5: the price is 150% of the base price'),
1949
+ type: zod_1.z.enum(['dynamic']),
1950
+ })
1951
+ .describe('Dynamic price with spend commitments.'),
1952
+ zod_1.z
1953
+ .object({
1954
+ amount: zod_1.z
1955
+ .string()
1956
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpFive)
1957
+ .describe('Numeric represents an arbitrary precision number.')
1958
+ .describe('The price of one package.'),
1959
+ maximumAmount: zod_1.z
1960
+ .string()
1961
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpSeven)
1962
+ .describe('Numeric represents an arbitrary precision number.')
1963
+ .optional()
1964
+ .describe('The customer is limited to spend at most the amount.'),
1965
+ minimumAmount: zod_1.z
1966
+ .string()
1967
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpSeven)
1968
+ .describe('Numeric represents an arbitrary precision number.')
1969
+ .optional()
1970
+ .describe('The customer is committed to spend at least the amount.'),
1971
+ quantityPerPackage: zod_1.z
1972
+ .string()
1973
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceQuantityPerPackageRegExpOne)
1974
+ .describe('Numeric represents an arbitrary precision number.')
1975
+ .describe('The quantity per package.'),
1976
+ type: zod_1.z.enum(['package']),
1977
+ })
1978
+ .describe('Package price with spend commitments.'),
1979
+ ])
1980
+ .describe('The price of the usage based rate card.')
1981
+ .optional()
1982
+ .describe('Price of the usage-based item being sold.'),
1983
+ rateCard: zod_1.z
1984
+ .object({
1985
+ discounts: zod_1.z
1986
+ .object({
1987
+ percentage: zod_1.z
1988
+ .object({
1989
+ correlationId: zod_1.z
1990
+ .string()
1991
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp)
1992
+ .optional()
1993
+ .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
1994
+ percentage: zod_1.z
1995
+ .number()
1996
+ .describe('Numeric representation of a percentage\n\n50% is represented as 50')
1997
+ .describe('The percentage of the discount.'),
1998
+ })
1999
+ .describe('A percentage discount.')
2000
+ .optional()
2001
+ .describe('The percentage discount.'),
2002
+ usage: zod_1.z
2003
+ .object({
2004
+ correlationId: zod_1.z
2005
+ .string()
2006
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp)
2007
+ .optional()
2008
+ .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
2009
+ quantity: zod_1.z
2010
+ .string()
2011
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne)
2012
+ .describe('Numeric represents an arbitrary precision number.')
2013
+ .describe('The quantity of the usage discount.\n\nMust be positive.'),
2014
+ })
2015
+ .describe('A usage discount.')
2016
+ .optional()
2017
+ .describe('The usage discount.'),
2018
+ })
2019
+ .describe('A discount by type.')
1816
2020
  .optional()
1817
- .describe('Optional description of the resource. Maximum 1024 characters.'),
2021
+ .describe('The discounts that are applied to the line.'),
1818
2022
  featureKey: zod_1.z
1819
2023
  .string()
1820
2024
  .min(1)
1821
- .max(exports.createPendingInvoiceLineBodyLinesItemFeatureKeyMax)
1822
- .regex(exports.createPendingInvoiceLineBodyLinesItemFeatureKeyRegExp)
2025
+ .max(exports.createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyMax)
2026
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyRegExp)
1823
2027
  .optional()
1824
- .describe('The feature that the usage is based on.'),
1825
- invoiceAt: zod_1.z
1826
- .date()
1827
- .describe('The time this line item should be invoiced.'),
1828
- metadata: zod_1.z
1829
- .record(zod_1.z.string(), zod_1.z.string())
1830
- .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
1831
- .nullish()
1832
- .describe('Additional metadata for the resource.'),
1833
- name: zod_1.z
1834
- .string()
1835
- .min(1)
1836
- .max(exports.createPendingInvoiceLineBodyLinesItemNameMax)
1837
- .describe('Human-readable name for the resource. Between 1 and 256 characters.'),
1838
- period: zod_1.z
1839
- .object({
1840
- from: zod_1.z.date().describe('Period start time.'),
1841
- to: zod_1.z.date().describe('Period end time.'),
1842
- })
1843
- .describe('A period with a start and end time.')
1844
- .describe('Period of the line item applies to for revenue recognition pruposes.\n\nBilling always treats periods as start being inclusive and end being exclusive.'),
2028
+ .describe('The feature the customer is entitled to use.'),
1845
2029
  price: zod_1.z
1846
2030
  .discriminatedUnion('type', [
1847
2031
  zod_1.z
1848
2032
  .object({
1849
2033
  amount: zod_1.z
1850
2034
  .string()
1851
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpOne)
2035
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpOne)
1852
2036
  .describe('Numeric represents an arbitrary precision number.')
1853
2037
  .describe('The amount of the flat price.'),
1854
2038
  paymentTerm: zod_1.z
1855
2039
  .enum(['in_advance', 'in_arrears'])
1856
2040
  .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
1857
- .default(exports.createPendingInvoiceLineBodyLinesItemPricePaymentTermDefault)
2041
+ .default(exports.createPendingInvoiceLineBodyLinesItemRateCardPricePaymentTermDefault)
1858
2042
  .describe('The payment term of the flat price.\nDefaults to in advance.'),
1859
2043
  type: zod_1.z.enum(['flat']),
1860
2044
  })
@@ -1863,18 +2047,18 @@ exports.createPendingInvoiceLineBody = zod_1.z
1863
2047
  .object({
1864
2048
  amount: zod_1.z
1865
2049
  .string()
1866
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpThree)
2050
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpThree)
1867
2051
  .describe('Numeric represents an arbitrary precision number.')
1868
2052
  .describe('The amount of the unit price.'),
1869
2053
  maximumAmount: zod_1.z
1870
2054
  .string()
1871
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpOne)
2055
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpOne)
1872
2056
  .describe('Numeric represents an arbitrary precision number.')
1873
2057
  .optional()
1874
2058
  .describe('The customer is limited to spend at most the amount.'),
1875
2059
  minimumAmount: zod_1.z
1876
2060
  .string()
1877
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpOne)
2061
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpOne)
1878
2062
  .describe('Numeric represents an arbitrary precision number.')
1879
2063
  .optional()
1880
2064
  .describe('The customer is committed to spend at least the amount.'),
@@ -1885,13 +2069,13 @@ exports.createPendingInvoiceLineBody = zod_1.z
1885
2069
  .object({
1886
2070
  maximumAmount: zod_1.z
1887
2071
  .string()
1888
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpThree)
2072
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpThree)
1889
2073
  .describe('Numeric represents an arbitrary precision number.')
1890
2074
  .optional()
1891
2075
  .describe('The customer is limited to spend at most the amount.'),
1892
2076
  minimumAmount: zod_1.z
1893
2077
  .string()
1894
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpThree)
2078
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpThree)
1895
2079
  .describe('Numeric represents an arbitrary precision number.')
1896
2080
  .optional()
1897
2081
  .describe('The customer is committed to spend at least the amount.'),
@@ -1906,7 +2090,7 @@ exports.createPendingInvoiceLineBody = zod_1.z
1906
2090
  .object({
1907
2091
  amount: zod_1.z
1908
2092
  .string()
1909
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne)
2093
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne)
1910
2094
  .describe('Numeric represents an arbitrary precision number.')
1911
2095
  .describe('The amount of the flat price.'),
1912
2096
  type: zod_1.z
@@ -1920,7 +2104,7 @@ exports.createPendingInvoiceLineBody = zod_1.z
1920
2104
  .object({
1921
2105
  amount: zod_1.z
1922
2106
  .string()
1923
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne)
2107
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne)
1924
2108
  .describe('Numeric represents an arbitrary precision number.')
1925
2109
  .describe('The amount of the unit price.'),
1926
2110
  type: zod_1.z
@@ -1932,7 +2116,7 @@ exports.createPendingInvoiceLineBody = zod_1.z
1932
2116
  .describe('The unit price component of the tier.'),
1933
2117
  upToAmount: zod_1.z
1934
2118
  .string()
1935
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemUpToAmountRegExpOne)
2119
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne)
1936
2120
  .describe('Numeric represents an arbitrary precision number.')
1937
2121
  .optional()
1938
2122
  .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
@@ -1947,21 +2131,21 @@ exports.createPendingInvoiceLineBody = zod_1.z
1947
2131
  .object({
1948
2132
  maximumAmount: zod_1.z
1949
2133
  .string()
1950
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpFive)
2134
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpFive)
1951
2135
  .describe('Numeric represents an arbitrary precision number.')
1952
2136
  .optional()
1953
2137
  .describe('The customer is limited to spend at most the amount.'),
1954
2138
  minimumAmount: zod_1.z
1955
2139
  .string()
1956
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpFive)
2140
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpFive)
1957
2141
  .describe('Numeric represents an arbitrary precision number.')
1958
2142
  .optional()
1959
2143
  .describe('The customer is committed to spend at least the amount.'),
1960
2144
  multiplier: zod_1.z
1961
2145
  .string()
1962
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMultiplierRegExpOne)
2146
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierRegExpOne)
1963
2147
  .describe('Numeric represents an arbitrary precision number.')
1964
- .default(exports.createPendingInvoiceLineBodyLinesItemPriceMultiplierDefault)
2148
+ .default(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierDefault)
1965
2149
  .describe('The multiplier to apply to the base price to get the dynamic price.\n\nExamples:\n- 0.0: the price is zero\n- 0.5: the price is 50% of the base price\n- 1.0: the price is the same as the base price\n- 1.5: the price is 150% of the base price'),
1966
2150
  type: zod_1.z.enum(['dynamic']),
1967
2151
  })
@@ -1970,24 +2154,24 @@ exports.createPendingInvoiceLineBody = zod_1.z
1970
2154
  .object({
1971
2155
  amount: zod_1.z
1972
2156
  .string()
1973
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpFive)
2157
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpFive)
1974
2158
  .describe('Numeric represents an arbitrary precision number.')
1975
2159
  .describe('The price of one package.'),
1976
2160
  maximumAmount: zod_1.z
1977
2161
  .string()
1978
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpSeven)
2162
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpSeven)
1979
2163
  .describe('Numeric represents an arbitrary precision number.')
1980
2164
  .optional()
1981
2165
  .describe('The customer is limited to spend at most the amount.'),
1982
2166
  minimumAmount: zod_1.z
1983
2167
  .string()
1984
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpSeven)
2168
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpSeven)
1985
2169
  .describe('Numeric represents an arbitrary precision number.')
1986
2170
  .optional()
1987
2171
  .describe('The customer is committed to spend at least the amount.'),
1988
2172
  quantityPerPackage: zod_1.z
1989
2173
  .string()
1990
- .regex(exports.createPendingInvoiceLineBodyLinesItemPriceQuantityPerPackageRegExpOne)
2174
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne)
1991
2175
  .describe('Numeric represents an arbitrary precision number.')
1992
2176
  .describe('The quantity per package.'),
1993
2177
  type: zod_1.z.enum(['package']),
@@ -1995,456 +2179,74 @@ exports.createPendingInvoiceLineBody = zod_1.z
1995
2179
  .describe('Package price with spend commitments.'),
1996
2180
  ])
1997
2181
  .describe('The price of the usage based rate card.')
1998
- .optional()
1999
- .describe('Price of the usage-based item being sold.'),
2000
- rateCard: zod_1.z
2182
+ .nullable()
2183
+ .describe('The price of the rate card.\nWhen null, the feature or service is free.'),
2184
+ taxConfig: zod_1.z
2001
2185
  .object({
2002
- discounts: zod_1.z
2186
+ behavior: zod_1.z
2187
+ .enum(['inclusive', 'exclusive'])
2188
+ .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
2189
+ .optional()
2190
+ .describe("Tax behavior.\n\nIf not specified the billing profile is used to determine the tax behavior.\nIf not specified in the billing profile, the provider's default behavior is used."),
2191
+ customInvoicing: zod_1.z
2003
2192
  .object({
2004
- percentage: zod_1.z
2005
- .object({
2006
- correlationId: zod_1.z
2007
- .string()
2008
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp)
2009
- .optional()
2010
- .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
2011
- percentage: zod_1.z
2012
- .number()
2013
- .describe('Numeric representation of a percentage\n\n50% is represented as 50')
2014
- .describe('The percentage of the discount.'),
2015
- })
2016
- .describe('A percentage discount.')
2017
- .optional()
2018
- .describe('The percentage discount.'),
2019
- usage: zod_1.z
2020
- .object({
2021
- correlationId: zod_1.z
2022
- .string()
2023
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp)
2024
- .optional()
2025
- .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
2026
- quantity: zod_1.z
2027
- .string()
2028
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne)
2029
- .describe('Numeric represents an arbitrary precision number.')
2030
- .describe('The quantity of the usage discount.\n\nMust be positive.'),
2031
- })
2032
- .describe('A usage discount.')
2033
- .optional()
2034
- .describe('The usage discount.'),
2193
+ code: zod_1.z
2194
+ .string()
2195
+ .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
2035
2196
  })
2036
- .describe('A discount by type.')
2197
+ .describe('Custom invoicing tax config.')
2037
2198
  .optional()
2038
- .describe('The discounts that are applied to the line.'),
2039
- featureKey: zod_1.z
2040
- .string()
2041
- .min(1)
2042
- .max(exports.createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyMax)
2043
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyRegExp)
2044
- .optional()
2045
- .describe('The feature the customer is entitled to use.'),
2046
- price: zod_1.z
2047
- .discriminatedUnion('type', [
2048
- zod_1.z
2049
- .object({
2050
- amount: zod_1.z
2051
- .string()
2052
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpOne)
2053
- .describe('Numeric represents an arbitrary precision number.')
2054
- .describe('The amount of the flat price.'),
2055
- paymentTerm: zod_1.z
2056
- .enum(['in_advance', 'in_arrears'])
2057
- .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
2058
- .default(exports.createPendingInvoiceLineBodyLinesItemRateCardPricePaymentTermDefault)
2059
- .describe('The payment term of the flat price.\nDefaults to in advance.'),
2060
- type: zod_1.z.enum(['flat']),
2061
- })
2062
- .describe('Flat price with payment term.'),
2063
- zod_1.z
2064
- .object({
2065
- amount: zod_1.z
2066
- .string()
2067
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpThree)
2068
- .describe('Numeric represents an arbitrary precision number.')
2069
- .describe('The amount of the unit price.'),
2070
- maximumAmount: zod_1.z
2071
- .string()
2072
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpOne)
2073
- .describe('Numeric represents an arbitrary precision number.')
2074
- .optional()
2075
- .describe('The customer is limited to spend at most the amount.'),
2076
- minimumAmount: zod_1.z
2077
- .string()
2078
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpOne)
2079
- .describe('Numeric represents an arbitrary precision number.')
2080
- .optional()
2081
- .describe('The customer is committed to spend at least the amount.'),
2082
- type: zod_1.z.enum(['unit']),
2083
- })
2084
- .describe('Unit price with spend commitments.'),
2085
- zod_1.z
2086
- .object({
2087
- maximumAmount: zod_1.z
2088
- .string()
2089
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpThree)
2090
- .describe('Numeric represents an arbitrary precision number.')
2091
- .optional()
2092
- .describe('The customer is limited to spend at most the amount.'),
2093
- minimumAmount: zod_1.z
2094
- .string()
2095
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpThree)
2096
- .describe('Numeric represents an arbitrary precision number.')
2097
- .optional()
2098
- .describe('The customer is committed to spend at least the amount.'),
2099
- mode: zod_1.z
2100
- .enum(['volume', 'graduated'])
2101
- .describe('The mode of the tiered price.')
2102
- .describe('Defines if the tiering mode is volume-based or graduated:\n- In `volume`-based tiering, the maximum quantity within a period determines the per unit price.\n- In `graduated` tiering, pricing can change as the quantity grows.'),
2103
- tiers: zod_1.z
2104
- .array(zod_1.z
2105
- .object({
2106
- flatPrice: zod_1.z
2107
- .object({
2108
- amount: zod_1.z
2109
- .string()
2110
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne)
2111
- .describe('Numeric represents an arbitrary precision number.')
2112
- .describe('The amount of the flat price.'),
2113
- type: zod_1.z
2114
- .enum(['flat'])
2115
- .describe('The type of the price.'),
2116
- })
2117
- .describe('Flat price.')
2118
- .nullable()
2119
- .describe('The flat price component of the tier.'),
2120
- unitPrice: zod_1.z
2121
- .object({
2122
- amount: zod_1.z
2123
- .string()
2124
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne)
2125
- .describe('Numeric represents an arbitrary precision number.')
2126
- .describe('The amount of the unit price.'),
2127
- type: zod_1.z
2128
- .enum(['unit'])
2129
- .describe('The type of the price.'),
2130
- })
2131
- .describe('Unit price.')
2132
- .nullable()
2133
- .describe('The unit price component of the tier.'),
2134
- upToAmount: zod_1.z
2135
- .string()
2136
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne)
2137
- .describe('Numeric represents an arbitrary precision number.')
2138
- .optional()
2139
- .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
2140
- })
2141
- .describe('A price tier.\nAt least one price component is required in each tier.'))
2142
- .min(1)
2143
- .describe('The tiers of the tiered price.\nAt least one price component is required in each tier.'),
2144
- type: zod_1.z.enum(['tiered']),
2145
- })
2146
- .describe('Tiered price with spend commitments.'),
2147
- zod_1.z
2148
- .object({
2149
- maximumAmount: zod_1.z
2150
- .string()
2151
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpFive)
2152
- .describe('Numeric represents an arbitrary precision number.')
2153
- .optional()
2154
- .describe('The customer is limited to spend at most the amount.'),
2155
- minimumAmount: zod_1.z
2156
- .string()
2157
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpFive)
2158
- .describe('Numeric represents an arbitrary precision number.')
2159
- .optional()
2160
- .describe('The customer is committed to spend at least the amount.'),
2161
- multiplier: zod_1.z
2162
- .string()
2163
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierRegExpOne)
2164
- .describe('Numeric represents an arbitrary precision number.')
2165
- .default(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierDefault)
2166
- .describe('The multiplier to apply to the base price to get the dynamic price.\n\nExamples:\n- 0.0: the price is zero\n- 0.5: the price is 50% of the base price\n- 1.0: the price is the same as the base price\n- 1.5: the price is 150% of the base price'),
2167
- type: zod_1.z.enum(['dynamic']),
2168
- })
2169
- .describe('Dynamic price with spend commitments.'),
2170
- zod_1.z
2171
- .object({
2172
- amount: zod_1.z
2173
- .string()
2174
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpFive)
2175
- .describe('Numeric represents an arbitrary precision number.')
2176
- .describe('The price of one package.'),
2177
- maximumAmount: zod_1.z
2178
- .string()
2179
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpSeven)
2180
- .describe('Numeric represents an arbitrary precision number.')
2181
- .optional()
2182
- .describe('The customer is limited to spend at most the amount.'),
2183
- minimumAmount: zod_1.z
2184
- .string()
2185
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpSeven)
2186
- .describe('Numeric represents an arbitrary precision number.')
2187
- .optional()
2188
- .describe('The customer is committed to spend at least the amount.'),
2189
- quantityPerPackage: zod_1.z
2190
- .string()
2191
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne)
2192
- .describe('Numeric represents an arbitrary precision number.')
2193
- .describe('The quantity per package.'),
2194
- type: zod_1.z.enum(['package']),
2195
- })
2196
- .describe('Package price with spend commitments.'),
2197
- ])
2198
- .describe('The price of the usage based rate card.')
2199
- .nullable()
2200
- .describe('The price of the rate card.\nWhen null, the feature or service is free.'),
2201
- taxConfig: zod_1.z
2202
- .object({
2203
- behavior: zod_1.z
2204
- .enum(['inclusive', 'exclusive'])
2205
- .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
2206
- .optional()
2207
- .describe("Tax behavior.\n\nIf not specified the billing profile is used to determine the tax behavior.\nIf not specified in the billing profile, the provider's default behavior is used."),
2208
- customInvoicing: zod_1.z
2209
- .object({
2210
- code: zod_1.z
2211
- .string()
2212
- .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
2213
- })
2214
- .describe('Custom invoicing tax config.')
2215
- .optional()
2216
- .describe('Custom invoicing tax config.'),
2217
- stripe: zod_1.z
2218
- .object({
2219
- code: zod_1.z
2220
- .string()
2221
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardTaxConfigStripeCodeRegExp)
2222
- .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
2223
- })
2224
- .describe('The tax config for Stripe.')
2225
- .optional()
2226
- .describe('Stripe tax config.'),
2227
- })
2228
- .describe('Set of provider specific tax configs.')
2229
- .optional()
2230
- .describe('The tax config of the rate card.\nWhen undefined, the tax config of the feature or the default tax config of the plan is used.'),
2231
- })
2232
- .describe('InvoiceUsageBasedRateCard represents the rate card (intent) for an usage-based line.')
2233
- .optional()
2234
- .describe('The rate card that is used for this line.\n\nThe rate card captures the intent of the price and discounts for the usage-based item.'),
2235
- taxConfig: zod_1.z
2236
- .object({
2237
- behavior: zod_1.z
2238
- .enum(['inclusive', 'exclusive'])
2239
- .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
2240
- .optional()
2241
- .describe("Tax behavior.\n\nIf not specified the billing profile is used to determine the tax behavior.\nIf not specified in the billing profile, the provider's default behavior is used."),
2242
- customInvoicing: zod_1.z
2243
- .object({
2244
- code: zod_1.z
2245
- .string()
2246
- .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
2247
- })
2248
- .describe('Custom invoicing tax config.')
2249
- .optional()
2250
- .describe('Custom invoicing tax config.'),
2251
- stripe: zod_1.z
2252
- .object({
2253
- code: zod_1.z
2254
- .string()
2255
- .regex(exports.createPendingInvoiceLineBodyLinesItemTaxConfigStripeCodeRegExp)
2256
- .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
2257
- })
2258
- .describe('The tax config for Stripe.')
2199
+ .describe('Custom invoicing tax config.'),
2200
+ stripe: zod_1.z
2201
+ .object({
2202
+ code: zod_1.z
2203
+ .string()
2204
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardTaxConfigStripeCodeRegExp)
2205
+ .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
2206
+ })
2207
+ .describe('The tax config for Stripe.')
2259
2208
  .optional()
2260
2209
  .describe('Stripe tax config.'),
2261
2210
  })
2262
2211
  .describe('Set of provider specific tax configs.')
2263
2212
  .optional()
2264
- .describe('Tax config specify the tax configuration for this line.'),
2265
- type: zod_1.z.enum(['usage_based']),
2213
+ .describe('The tax config of the rate card.\nWhen undefined, the tax config of the feature or the default tax config of the plan is used.'),
2266
2214
  })
2267
- .describe('InvoiceUsageBasedLineCreateWithCustomer represents the create model for an invoice line that is sold to the customer based on usage.'),
2268
- zod_1.z
2215
+ .describe('InvoiceUsageBasedRateCard represents the rate card (intent) for an usage-based line.')
2216
+ .optional()
2217
+ .describe('The rate card that is used for this line.\n\nThe rate card captures the intent of the price and discounts for the usage-based item.'),
2218
+ taxConfig: zod_1.z
2269
2219
  .object({
2270
- category: zod_1.z
2271
- .enum(['regular', 'commitment'])
2272
- .describe('InvoiceFlatFeeCategory determines if the flat fee is a regular fee due to use due to a\ncommitment.')
2273
- .default(exports.createPendingInvoiceLineBodyLinesItemCategoryDefault)
2274
- .describe('Category of the flat fee.'),
2275
- description: zod_1.z
2276
- .string()
2277
- .max(exports.createPendingInvoiceLineBodyLinesItemDescriptionMaxOne)
2278
- .optional()
2279
- .describe('Optional description of the resource. Maximum 1024 characters.'),
2280
- invoiceAt: zod_1.z
2281
- .date()
2282
- .describe('The time this line item should be invoiced.'),
2283
- metadata: zod_1.z
2284
- .record(zod_1.z.string(), zod_1.z.string())
2285
- .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
2286
- .nullish()
2287
- .describe('Additional metadata for the resource.'),
2288
- name: zod_1.z
2289
- .string()
2290
- .min(1)
2291
- .max(exports.createPendingInvoiceLineBodyLinesItemNameMaxOne)
2292
- .describe('Human-readable name for the resource. Between 1 and 256 characters.'),
2293
- paymentTerm: zod_1.z
2294
- .enum(['in_advance', 'in_arrears'])
2295
- .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
2296
- .default(exports.createPendingInvoiceLineBodyLinesItemPaymentTermDefault)
2297
- .describe('Payment term of the line.'),
2298
- period: zod_1.z
2299
- .object({
2300
- from: zod_1.z.date().describe('Period start time.'),
2301
- to: zod_1.z.date().describe('Period end time.'),
2302
- })
2303
- .describe('A period with a start and end time.')
2304
- .describe('Period of the line item applies to for revenue recognition pruposes.\n\nBilling always treats periods as start being inclusive and end being exclusive.'),
2305
- perUnitAmount: zod_1.z
2306
- .string()
2307
- .regex(exports.createPendingInvoiceLineBodyLinesItemPerUnitAmountRegExpOne)
2308
- .describe('Numeric represents an arbitrary precision number.')
2309
- .optional()
2310
- .describe('Price of the item being sold.'),
2311
- quantity: zod_1.z
2312
- .string()
2313
- .regex(exports.createPendingInvoiceLineBodyLinesItemQuantityRegExpOne)
2314
- .describe('Numeric represents an arbitrary precision number.')
2220
+ behavior: zod_1.z
2221
+ .enum(['inclusive', 'exclusive'])
2222
+ .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
2315
2223
  .optional()
2316
- .describe('Quantity of the item being sold.'),
2317
- rateCard: zod_1.z
2224
+ .describe("Tax behavior.\n\nIf not specified the billing profile is used to determine the tax behavior.\nIf not specified in the billing profile, the provider's default behavior is used."),
2225
+ customInvoicing: zod_1.z
2318
2226
  .object({
2319
- discounts: zod_1.z
2320
- .object({
2321
- percentage: zod_1.z
2322
- .object({
2323
- correlationId: zod_1.z
2324
- .string()
2325
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne)
2326
- .optional()
2327
- .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
2328
- percentage: zod_1.z
2329
- .number()
2330
- .describe('Numeric representation of a percentage\n\n50% is represented as 50')
2331
- .describe('The percentage of the discount.'),
2332
- })
2333
- .describe('A percentage discount.')
2334
- .optional()
2335
- .describe('The percentage discount.'),
2336
- usage: zod_1.z
2337
- .object({
2338
- correlationId: zod_1.z
2339
- .string()
2340
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne)
2341
- .optional()
2342
- .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
2343
- quantity: zod_1.z
2344
- .string()
2345
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree)
2346
- .describe('Numeric represents an arbitrary precision number.')
2347
- .describe('The quantity of the usage discount.\n\nMust be positive.'),
2348
- })
2349
- .describe('A usage discount.')
2350
- .optional()
2351
- .describe('The usage discount.'),
2352
- })
2353
- .describe('A discount by type.')
2354
- .optional()
2355
- .describe('The discounts that are applied to the line.'),
2356
- price: zod_1.z
2357
- .object({
2358
- amount: zod_1.z
2359
- .string()
2360
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpSeven)
2361
- .describe('Numeric represents an arbitrary precision number.')
2362
- .describe('The amount of the flat price.'),
2363
- paymentTerm: zod_1.z
2364
- .enum(['in_advance', 'in_arrears'])
2365
- .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
2366
- .default(exports.createPendingInvoiceLineBodyLinesItemRateCardPricePaymentTermDefaultTwo)
2367
- .describe('The payment term of the flat price.\nDefaults to in advance.'),
2368
- type: zod_1.z.enum(['flat']),
2369
- })
2370
- .describe('Flat price with payment term.')
2371
- .nullable()
2372
- .describe('The price of the rate card.\nWhen null, the feature or service is free.'),
2373
- quantity: zod_1.z
2227
+ code: zod_1.z
2374
2228
  .string()
2375
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardQuantityRegExpOne)
2376
- .describe('Numeric represents an arbitrary precision number.')
2377
- .optional()
2378
- .describe('Quantity of the item being sold.\n\nDefault: 1'),
2379
- taxConfig: zod_1.z
2380
- .object({
2381
- behavior: zod_1.z
2382
- .enum(['inclusive', 'exclusive'])
2383
- .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
2384
- .optional()
2385
- .describe("Tax behavior.\n\nIf not specified the billing profile is used to determine the tax behavior.\nIf not specified in the billing profile, the provider's default behavior is used."),
2386
- customInvoicing: zod_1.z
2387
- .object({
2388
- code: zod_1.z
2389
- .string()
2390
- .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
2391
- })
2392
- .describe('Custom invoicing tax config.')
2393
- .optional()
2394
- .describe('Custom invoicing tax config.'),
2395
- stripe: zod_1.z
2396
- .object({
2397
- code: zod_1.z
2398
- .string()
2399
- .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne)
2400
- .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
2401
- })
2402
- .describe('The tax config for Stripe.')
2403
- .optional()
2404
- .describe('Stripe tax config.'),
2405
- })
2406
- .describe('Set of provider specific tax configs.')
2407
- .optional()
2408
- .describe('The tax config of the rate card.\nWhen undefined, the tax config of the feature or the default tax config of the plan is used.'),
2229
+ .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
2409
2230
  })
2410
- .describe('InvoiceFlatFeeRateCard represents the rate card (intent) for a flat fee line.')
2231
+ .describe('Custom invoicing tax config.')
2411
2232
  .optional()
2412
- .describe('The rate card that is used for this line.'),
2413
- taxConfig: zod_1.z
2233
+ .describe('Custom invoicing tax config.'),
2234
+ stripe: zod_1.z
2414
2235
  .object({
2415
- behavior: zod_1.z
2416
- .enum(['inclusive', 'exclusive'])
2417
- .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
2418
- .optional()
2419
- .describe("Tax behavior.\n\nIf not specified the billing profile is used to determine the tax behavior.\nIf not specified in the billing profile, the provider's default behavior is used."),
2420
- customInvoicing: zod_1.z
2421
- .object({
2422
- code: zod_1.z
2423
- .string()
2424
- .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
2425
- })
2426
- .describe('Custom invoicing tax config.')
2427
- .optional()
2428
- .describe('Custom invoicing tax config.'),
2429
- stripe: zod_1.z
2430
- .object({
2431
- code: zod_1.z
2432
- .string()
2433
- .regex(exports.createPendingInvoiceLineBodyLinesItemTaxConfigStripeCodeRegExpOne)
2434
- .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
2435
- })
2436
- .describe('The tax config for Stripe.')
2437
- .optional()
2438
- .describe('Stripe tax config.'),
2236
+ code: zod_1.z
2237
+ .string()
2238
+ .regex(exports.createPendingInvoiceLineBodyLinesItemTaxConfigStripeCodeRegExp)
2239
+ .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
2439
2240
  })
2440
- .describe('Set of provider specific tax configs.')
2241
+ .describe('The tax config for Stripe.')
2441
2242
  .optional()
2442
- .describe('Tax config specify the tax configuration for this line.'),
2443
- type: zod_1.z.enum(['flat_fee']),
2243
+ .describe('Stripe tax config.'),
2444
2244
  })
2445
- .describe('InvoiceFlatFeePendingLineCreate represents the create model for an invoice line that is sold to the customer as a manually added fee.'),
2446
- ])
2447
- .describe('InvoiceLineCreate represents the create model for an invoice line.'))
2245
+ .describe('Set of provider specific tax configs.')
2246
+ .optional()
2247
+ .describe('Tax config specify the tax configuration for this line.'),
2248
+ })
2249
+ .describe('InvoicePendingLineCreate represents the create model for an invoice line that is sold to the customer based on usage.'))
2448
2250
  .min(1)
2449
2251
  .describe('The lines to be created.'),
2450
2252
  })
@@ -2515,21 +2317,6 @@ exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp =
2515
2317
  exports.simulateInvoiceBodyLinesItemQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2516
2318
  exports.simulateInvoiceBodyLinesItemPreLinePeriodQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2517
2319
  exports.simulateInvoiceBodyLinesItemIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2518
- exports.simulateInvoiceBodyLinesItemNameMaxOne = 256;
2519
- exports.simulateInvoiceBodyLinesItemDescriptionMaxOne = 1024;
2520
- exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
2521
- exports.simulateInvoiceBodyLinesItemPerUnitAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2522
- exports.simulateInvoiceBodyLinesItemPaymentTermDefault = 'in_advance';
2523
- exports.simulateInvoiceBodyLinesItemQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2524
- exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
2525
- exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2526
- exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefaultTwo = 'in_advance';
2527
- exports.simulateInvoiceBodyLinesItemRateCardQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2528
- exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2529
- exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2530
- exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2531
- exports.simulateInvoiceBodyLinesItemCategoryDefault = 'regular';
2532
- exports.simulateInvoiceBodyLinesItemIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2533
2320
  exports.simulateInvoiceBody = zod_1.z
2534
2321
  .object({
2535
2322
  currency: zod_1.z
@@ -2541,630 +2328,411 @@ exports.simulateInvoiceBody = zod_1.z
2541
2328
  .describe('Currency for all invoice line items.\n\nMulti currency invoices are not supported yet.'),
2542
2329
  lines: zod_1.z
2543
2330
  .array(zod_1.z
2544
- .discriminatedUnion('type', [
2545
- zod_1.z
2331
+ .object({
2332
+ description: zod_1.z
2333
+ .string()
2334
+ .max(exports.simulateInvoiceBodyLinesItemDescriptionMax)
2335
+ .optional()
2336
+ .describe('Optional description of the resource. Maximum 1024 characters.'),
2337
+ featureKey: zod_1.z
2338
+ .string()
2339
+ .min(1)
2340
+ .max(exports.simulateInvoiceBodyLinesItemFeatureKeyMax)
2341
+ .regex(exports.simulateInvoiceBodyLinesItemFeatureKeyRegExp)
2342
+ .optional()
2343
+ .describe('The feature that the usage is based on.'),
2344
+ id: zod_1.z
2345
+ .string()
2346
+ .regex(exports.simulateInvoiceBodyLinesItemIdRegExp)
2347
+ .optional()
2348
+ .describe('ID of the line. If not specified it will be auto-generated.\n\nWhen discounts are specified, this must be provided, so that the discount can reference it.'),
2349
+ invoiceAt: zod_1.z
2350
+ .date()
2351
+ .describe('The time this line item should be invoiced.'),
2352
+ metadata: zod_1.z
2353
+ .record(zod_1.z.string(), zod_1.z.string())
2354
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
2355
+ .nullish()
2356
+ .describe('Additional metadata for the resource.'),
2357
+ name: zod_1.z
2358
+ .string()
2359
+ .min(1)
2360
+ .max(exports.simulateInvoiceBodyLinesItemNameMax)
2361
+ .describe('Human-readable name for the resource. Between 1 and 256 characters.'),
2362
+ period: zod_1.z
2546
2363
  .object({
2547
- description: zod_1.z
2548
- .string()
2549
- .max(exports.simulateInvoiceBodyLinesItemDescriptionMax)
2550
- .optional()
2551
- .describe('Optional description of the resource. Maximum 1024 characters.'),
2552
- featureKey: zod_1.z
2553
- .string()
2554
- .min(1)
2555
- .max(exports.simulateInvoiceBodyLinesItemFeatureKeyMax)
2556
- .regex(exports.simulateInvoiceBodyLinesItemFeatureKeyRegExp)
2557
- .optional()
2558
- .describe('The feature that the usage is based on.'),
2559
- id: zod_1.z
2560
- .string()
2561
- .regex(exports.simulateInvoiceBodyLinesItemIdRegExp)
2562
- .optional()
2563
- .describe('ID of the line. If not specified it will be auto-generated.\n\nWhen discounts are specified, this must be provided, so that the discount can reference it.'),
2564
- invoiceAt: zod_1.z
2565
- .date()
2566
- .describe('The time this line item should be invoiced.'),
2567
- metadata: zod_1.z
2568
- .record(zod_1.z.string(), zod_1.z.string())
2569
- .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
2570
- .nullish()
2571
- .describe('Additional metadata for the resource.'),
2572
- name: zod_1.z
2573
- .string()
2574
- .min(1)
2575
- .max(exports.simulateInvoiceBodyLinesItemNameMax)
2576
- .describe('Human-readable name for the resource. Between 1 and 256 characters.'),
2577
- period: zod_1.z
2364
+ from: zod_1.z.date().describe('Period start time.'),
2365
+ to: zod_1.z.date().describe('Period end time.'),
2366
+ })
2367
+ .describe('A period with a start and end time.')
2368
+ .describe('Period of the line item applies to for revenue recognition pruposes.\n\nBilling always treats periods as start being inclusive and end being exclusive.'),
2369
+ preLinePeriodQuantity: zod_1.z
2370
+ .string()
2371
+ .regex(exports.simulateInvoiceBodyLinesItemPreLinePeriodQuantityRegExpOne)
2372
+ .describe('Numeric represents an arbitrary precision number.')
2373
+ .optional()
2374
+ .describe("The quantity of the item used before this line's period, if the line is billed progressively."),
2375
+ price: zod_1.z
2376
+ .discriminatedUnion('type', [
2377
+ zod_1.z
2578
2378
  .object({
2579
- from: zod_1.z.date().describe('Period start time.'),
2580
- to: zod_1.z.date().describe('Period end time.'),
2379
+ amount: zod_1.z
2380
+ .string()
2381
+ .regex(exports.simulateInvoiceBodyLinesItemPriceAmountRegExpOne)
2382
+ .describe('Numeric represents an arbitrary precision number.')
2383
+ .describe('The amount of the flat price.'),
2384
+ paymentTerm: zod_1.z
2385
+ .enum(['in_advance', 'in_arrears'])
2386
+ .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
2387
+ .default(exports.simulateInvoiceBodyLinesItemPricePaymentTermDefault)
2388
+ .describe('The payment term of the flat price.\nDefaults to in advance.'),
2389
+ type: zod_1.z.enum(['flat']),
2581
2390
  })
2582
- .describe('A period with a start and end time.')
2583
- .describe('Period of the line item applies to for revenue recognition pruposes.\n\nBilling always treats periods as start being inclusive and end being exclusive.'),
2584
- preLinePeriodQuantity: zod_1.z
2585
- .string()
2586
- .regex(exports.simulateInvoiceBodyLinesItemPreLinePeriodQuantityRegExpOne)
2587
- .describe('Numeric represents an arbitrary precision number.')
2588
- .optional()
2589
- .describe("The quantity of the item used before this line's period, if the line is billed progressively."),
2590
- price: zod_1.z
2591
- .discriminatedUnion('type', [
2592
- zod_1.z
2593
- .object({
2594
- amount: zod_1.z
2595
- .string()
2596
- .regex(exports.simulateInvoiceBodyLinesItemPriceAmountRegExpOne)
2597
- .describe('Numeric represents an arbitrary precision number.')
2598
- .describe('The amount of the flat price.'),
2599
- paymentTerm: zod_1.z
2600
- .enum(['in_advance', 'in_arrears'])
2601
- .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
2602
- .default(exports.simulateInvoiceBodyLinesItemPricePaymentTermDefault)
2603
- .describe('The payment term of the flat price.\nDefaults to in advance.'),
2604
- type: zod_1.z.enum(['flat']),
2605
- })
2606
- .describe('Flat price with payment term.'),
2607
- zod_1.z
2608
- .object({
2609
- amount: zod_1.z
2610
- .string()
2611
- .regex(exports.simulateInvoiceBodyLinesItemPriceAmountRegExpThree)
2612
- .describe('Numeric represents an arbitrary precision number.')
2613
- .describe('The amount of the unit price.'),
2614
- maximumAmount: zod_1.z
2615
- .string()
2616
- .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne)
2617
- .describe('Numeric represents an arbitrary precision number.')
2618
- .optional()
2619
- .describe('The customer is limited to spend at most the amount.'),
2620
- minimumAmount: zod_1.z
2621
- .string()
2622
- .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne)
2623
- .describe('Numeric represents an arbitrary precision number.')
2624
- .optional()
2625
- .describe('The customer is committed to spend at least the amount.'),
2626
- type: zod_1.z.enum(['unit']),
2627
- })
2628
- .describe('Unit price with spend commitments.'),
2629
- zod_1.z
2630
- .object({
2631
- maximumAmount: zod_1.z
2632
- .string()
2633
- .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree)
2634
- .describe('Numeric represents an arbitrary precision number.')
2635
- .optional()
2636
- .describe('The customer is limited to spend at most the amount.'),
2637
- minimumAmount: zod_1.z
2638
- .string()
2639
- .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree)
2640
- .describe('Numeric represents an arbitrary precision number.')
2641
- .optional()
2642
- .describe('The customer is committed to spend at least the amount.'),
2643
- mode: zod_1.z
2644
- .enum(['volume', 'graduated'])
2645
- .describe('The mode of the tiered price.')
2646
- .describe('Defines if the tiering mode is volume-based or graduated:\n- In `volume`-based tiering, the maximum quantity within a period determines the per unit price.\n- In `graduated` tiering, pricing can change as the quantity grows.'),
2647
- tiers: zod_1.z
2648
- .array(zod_1.z
2649
- .object({
2650
- flatPrice: zod_1.z
2651
- .object({
2652
- amount: zod_1.z
2653
- .string()
2654
- .regex(exports.simulateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne)
2655
- .describe('Numeric represents an arbitrary precision number.')
2656
- .describe('The amount of the flat price.'),
2657
- type: zod_1.z
2658
- .enum(['flat'])
2659
- .describe('The type of the price.'),
2660
- })
2661
- .describe('Flat price.')
2662
- .nullable()
2663
- .describe('The flat price component of the tier.'),
2664
- unitPrice: zod_1.z
2665
- .object({
2666
- amount: zod_1.z
2667
- .string()
2668
- .regex(exports.simulateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne)
2669
- .describe('Numeric represents an arbitrary precision number.')
2670
- .describe('The amount of the unit price.'),
2671
- type: zod_1.z
2672
- .enum(['unit'])
2673
- .describe('The type of the price.'),
2674
- })
2675
- .describe('Unit price.')
2676
- .nullable()
2677
- .describe('The unit price component of the tier.'),
2678
- upToAmount: zod_1.z
2679
- .string()
2680
- .regex(exports.simulateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne)
2681
- .describe('Numeric represents an arbitrary precision number.')
2682
- .optional()
2683
- .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
2684
- })
2685
- .describe('A price tier.\nAt least one price component is required in each tier.'))
2686
- .min(1)
2687
- .describe('The tiers of the tiered price.\nAt least one price component is required in each tier.'),
2688
- type: zod_1.z.enum(['tiered']),
2689
- })
2690
- .describe('Tiered price with spend commitments.'),
2691
- zod_1.z
2692
- .object({
2693
- maximumAmount: zod_1.z
2694
- .string()
2695
- .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive)
2696
- .describe('Numeric represents an arbitrary precision number.')
2697
- .optional()
2698
- .describe('The customer is limited to spend at most the amount.'),
2699
- minimumAmount: zod_1.z
2700
- .string()
2701
- .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive)
2702
- .describe('Numeric represents an arbitrary precision number.')
2703
- .optional()
2704
- .describe('The customer is committed to spend at least the amount.'),
2705
- multiplier: zod_1.z
2706
- .string()
2707
- .regex(exports.simulateInvoiceBodyLinesItemPriceMultiplierRegExpOne)
2708
- .describe('Numeric represents an arbitrary precision number.')
2709
- .default(exports.simulateInvoiceBodyLinesItemPriceMultiplierDefault)
2710
- .describe('The multiplier to apply to the base price to get the dynamic price.\n\nExamples:\n- 0.0: the price is zero\n- 0.5: the price is 50% of the base price\n- 1.0: the price is the same as the base price\n- 1.5: the price is 150% of the base price'),
2711
- type: zod_1.z.enum(['dynamic']),
2712
- })
2713
- .describe('Dynamic price with spend commitments.'),
2714
- zod_1.z
2715
- .object({
2716
- amount: zod_1.z
2717
- .string()
2718
- .regex(exports.simulateInvoiceBodyLinesItemPriceAmountRegExpFive)
2719
- .describe('Numeric represents an arbitrary precision number.')
2720
- .describe('The price of one package.'),
2721
- maximumAmount: zod_1.z
2722
- .string()
2723
- .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven)
2724
- .describe('Numeric represents an arbitrary precision number.')
2725
- .optional()
2726
- .describe('The customer is limited to spend at most the amount.'),
2727
- minimumAmount: zod_1.z
2728
- .string()
2729
- .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven)
2730
- .describe('Numeric represents an arbitrary precision number.')
2731
- .optional()
2732
- .describe('The customer is committed to spend at least the amount.'),
2733
- quantityPerPackage: zod_1.z
2734
- .string()
2735
- .regex(exports.simulateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne)
2736
- .describe('Numeric represents an arbitrary precision number.')
2737
- .describe('The quantity per package.'),
2738
- type: zod_1.z.enum(['package']),
2739
- })
2740
- .describe('Package price with spend commitments.'),
2741
- ])
2742
- .describe('The price of the usage based rate card.')
2743
- .optional()
2744
- .describe('Price of the usage-based item being sold.'),
2745
- quantity: zod_1.z
2746
- .string()
2747
- .regex(exports.simulateInvoiceBodyLinesItemQuantityRegExpOne)
2748
- .describe('Numeric represents an arbitrary precision number.')
2749
- .describe('The quantity of the item being sold.'),
2750
- rateCard: zod_1.z
2391
+ .describe('Flat price with payment term.'),
2392
+ zod_1.z
2751
2393
  .object({
2752
- discounts: zod_1.z
2753
- .object({
2754
- percentage: zod_1.z
2755
- .object({
2756
- correlationId: zod_1.z
2757
- .string()
2758
- .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp)
2759
- .optional()
2760
- .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
2761
- percentage: zod_1.z
2762
- .number()
2763
- .describe('Numeric representation of a percentage\n\n50% is represented as 50')
2764
- .describe('The percentage of the discount.'),
2765
- })
2766
- .describe('A percentage discount.')
2767
- .optional()
2768
- .describe('The percentage discount.'),
2769
- usage: zod_1.z
2770
- .object({
2771
- correlationId: zod_1.z
2772
- .string()
2773
- .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp)
2774
- .optional()
2775
- .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
2776
- quantity: zod_1.z
2777
- .string()
2778
- .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne)
2779
- .describe('Numeric represents an arbitrary precision number.')
2780
- .describe('The quantity of the usage discount.\n\nMust be positive.'),
2781
- })
2782
- .describe('A usage discount.')
2783
- .optional()
2784
- .describe('The usage discount.'),
2785
- })
2786
- .describe('A discount by type.')
2394
+ amount: zod_1.z
2395
+ .string()
2396
+ .regex(exports.simulateInvoiceBodyLinesItemPriceAmountRegExpThree)
2397
+ .describe('Numeric represents an arbitrary precision number.')
2398
+ .describe('The amount of the unit price.'),
2399
+ maximumAmount: zod_1.z
2400
+ .string()
2401
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne)
2402
+ .describe('Numeric represents an arbitrary precision number.')
2787
2403
  .optional()
2788
- .describe('The discounts that are applied to the line.'),
2789
- featureKey: zod_1.z
2404
+ .describe('The customer is limited to spend at most the amount.'),
2405
+ minimumAmount: zod_1.z
2790
2406
  .string()
2791
- .min(1)
2792
- .max(exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyMax)
2793
- .regex(exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyRegExp)
2407
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne)
2408
+ .describe('Numeric represents an arbitrary precision number.')
2794
2409
  .optional()
2795
- .describe('The feature the customer is entitled to use.'),
2796
- price: zod_1.z
2797
- .discriminatedUnion('type', [
2798
- zod_1.z
2799
- .object({
2800
- amount: zod_1.z
2801
- .string()
2802
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne)
2803
- .describe('Numeric represents an arbitrary precision number.')
2804
- .describe('The amount of the flat price.'),
2805
- paymentTerm: zod_1.z
2806
- .enum(['in_advance', 'in_arrears'])
2807
- .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
2808
- .default(exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefault)
2809
- .describe('The payment term of the flat price.\nDefaults to in advance.'),
2810
- type: zod_1.z.enum(['flat']),
2811
- })
2812
- .describe('Flat price with payment term.'),
2813
- zod_1.z
2814
- .object({
2815
- amount: zod_1.z
2816
- .string()
2817
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree)
2818
- .describe('Numeric represents an arbitrary precision number.')
2819
- .describe('The amount of the unit price.'),
2820
- maximumAmount: zod_1.z
2821
- .string()
2822
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne)
2823
- .describe('Numeric represents an arbitrary precision number.')
2824
- .optional()
2825
- .describe('The customer is limited to spend at most the amount.'),
2826
- minimumAmount: zod_1.z
2827
- .string()
2828
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne)
2829
- .describe('Numeric represents an arbitrary precision number.')
2830
- .optional()
2831
- .describe('The customer is committed to spend at least the amount.'),
2832
- type: zod_1.z.enum(['unit']),
2833
- })
2834
- .describe('Unit price with spend commitments.'),
2835
- zod_1.z
2836
- .object({
2837
- maximumAmount: zod_1.z
2838
- .string()
2839
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree)
2840
- .describe('Numeric represents an arbitrary precision number.')
2841
- .optional()
2842
- .describe('The customer is limited to spend at most the amount.'),
2843
- minimumAmount: zod_1.z
2844
- .string()
2845
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree)
2846
- .describe('Numeric represents an arbitrary precision number.')
2847
- .optional()
2848
- .describe('The customer is committed to spend at least the amount.'),
2849
- mode: zod_1.z
2850
- .enum(['volume', 'graduated'])
2851
- .describe('The mode of the tiered price.')
2852
- .describe('Defines if the tiering mode is volume-based or graduated:\n- In `volume`-based tiering, the maximum quantity within a period determines the per unit price.\n- In `graduated` tiering, pricing can change as the quantity grows.'),
2853
- tiers: zod_1.z
2854
- .array(zod_1.z
2855
- .object({
2856
- flatPrice: zod_1.z
2857
- .object({
2858
- amount: zod_1.z
2859
- .string()
2860
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne)
2861
- .describe('Numeric represents an arbitrary precision number.')
2862
- .describe('The amount of the flat price.'),
2863
- type: zod_1.z
2864
- .enum(['flat'])
2865
- .describe('The type of the price.'),
2866
- })
2867
- .describe('Flat price.')
2868
- .nullable()
2869
- .describe('The flat price component of the tier.'),
2870
- unitPrice: zod_1.z
2871
- .object({
2872
- amount: zod_1.z
2873
- .string()
2874
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne)
2875
- .describe('Numeric represents an arbitrary precision number.')
2876
- .describe('The amount of the unit price.'),
2877
- type: zod_1.z
2878
- .enum(['unit'])
2879
- .describe('The type of the price.'),
2880
- })
2881
- .describe('Unit price.')
2882
- .nullable()
2883
- .describe('The unit price component of the tier.'),
2884
- upToAmount: zod_1.z
2885
- .string()
2886
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne)
2887
- .describe('Numeric represents an arbitrary precision number.')
2888
- .optional()
2889
- .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
2890
- })
2891
- .describe('A price tier.\nAt least one price component is required in each tier.'))
2892
- .min(1)
2893
- .describe('The tiers of the tiered price.\nAt least one price component is required in each tier.'),
2894
- type: zod_1.z.enum(['tiered']),
2895
- })
2896
- .describe('Tiered price with spend commitments.'),
2897
- zod_1.z
2898
- .object({
2899
- maximumAmount: zod_1.z
2900
- .string()
2901
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive)
2902
- .describe('Numeric represents an arbitrary precision number.')
2903
- .optional()
2904
- .describe('The customer is limited to spend at most the amount.'),
2905
- minimumAmount: zod_1.z
2906
- .string()
2907
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive)
2908
- .describe('Numeric represents an arbitrary precision number.')
2909
- .optional()
2910
- .describe('The customer is committed to spend at least the amount.'),
2911
- multiplier: zod_1.z
2912
- .string()
2913
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne)
2914
- .describe('Numeric represents an arbitrary precision number.')
2915
- .default(exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierDefault)
2916
- .describe('The multiplier to apply to the base price to get the dynamic price.\n\nExamples:\n- 0.0: the price is zero\n- 0.5: the price is 50% of the base price\n- 1.0: the price is the same as the base price\n- 1.5: the price is 150% of the base price'),
2917
- type: zod_1.z.enum(['dynamic']),
2918
- })
2919
- .describe('Dynamic price with spend commitments.'),
2920
- zod_1.z
2410
+ .describe('The customer is committed to spend at least the amount.'),
2411
+ type: zod_1.z.enum(['unit']),
2412
+ })
2413
+ .describe('Unit price with spend commitments.'),
2414
+ zod_1.z
2415
+ .object({
2416
+ maximumAmount: zod_1.z
2417
+ .string()
2418
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree)
2419
+ .describe('Numeric represents an arbitrary precision number.')
2420
+ .optional()
2421
+ .describe('The customer is limited to spend at most the amount.'),
2422
+ minimumAmount: zod_1.z
2423
+ .string()
2424
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree)
2425
+ .describe('Numeric represents an arbitrary precision number.')
2426
+ .optional()
2427
+ .describe('The customer is committed to spend at least the amount.'),
2428
+ mode: zod_1.z
2429
+ .enum(['volume', 'graduated'])
2430
+ .describe('The mode of the tiered price.')
2431
+ .describe('Defines if the tiering mode is volume-based or graduated:\n- In `volume`-based tiering, the maximum quantity within a period determines the per unit price.\n- In `graduated` tiering, pricing can change as the quantity grows.'),
2432
+ tiers: zod_1.z
2433
+ .array(zod_1.z
2434
+ .object({
2435
+ flatPrice: zod_1.z
2921
2436
  .object({
2922
2437
  amount: zod_1.z
2923
2438
  .string()
2924
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive)
2925
- .describe('Numeric represents an arbitrary precision number.')
2926
- .describe('The price of one package.'),
2927
- maximumAmount: zod_1.z
2928
- .string()
2929
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven)
2930
- .describe('Numeric represents an arbitrary precision number.')
2931
- .optional()
2932
- .describe('The customer is limited to spend at most the amount.'),
2933
- minimumAmount: zod_1.z
2934
- .string()
2935
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven)
2936
- .describe('Numeric represents an arbitrary precision number.')
2937
- .optional()
2938
- .describe('The customer is committed to spend at least the amount.'),
2939
- quantityPerPackage: zod_1.z
2940
- .string()
2941
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne)
2439
+ .regex(exports.simulateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne)
2942
2440
  .describe('Numeric represents an arbitrary precision number.')
2943
- .describe('The quantity per package.'),
2944
- type: zod_1.z.enum(['package']),
2945
- })
2946
- .describe('Package price with spend commitments.'),
2947
- ])
2948
- .describe('The price of the usage based rate card.')
2949
- .nullable()
2950
- .describe('The price of the rate card.\nWhen null, the feature or service is free.'),
2951
- taxConfig: zod_1.z
2952
- .object({
2953
- behavior: zod_1.z
2954
- .enum(['inclusive', 'exclusive'])
2955
- .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
2956
- .optional()
2957
- .describe("Tax behavior.\n\nIf not specified the billing profile is used to determine the tax behavior.\nIf not specified in the billing profile, the provider's default behavior is used."),
2958
- customInvoicing: zod_1.z
2959
- .object({
2960
- code: zod_1.z
2961
- .string()
2962
- .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
2441
+ .describe('The amount of the flat price.'),
2442
+ type: zod_1.z
2443
+ .enum(['flat'])
2444
+ .describe('The type of the price.'),
2963
2445
  })
2964
- .describe('Custom invoicing tax config.')
2965
- .optional()
2966
- .describe('Custom invoicing tax config.'),
2967
- stripe: zod_1.z
2446
+ .describe('Flat price.')
2447
+ .nullable()
2448
+ .describe('The flat price component of the tier.'),
2449
+ unitPrice: zod_1.z
2968
2450
  .object({
2969
- code: zod_1.z
2451
+ amount: zod_1.z
2970
2452
  .string()
2971
- .regex(exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp)
2972
- .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
2453
+ .regex(exports.simulateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne)
2454
+ .describe('Numeric represents an arbitrary precision number.')
2455
+ .describe('The amount of the unit price.'),
2456
+ type: zod_1.z
2457
+ .enum(['unit'])
2458
+ .describe('The type of the price.'),
2973
2459
  })
2974
- .describe('The tax config for Stripe.')
2460
+ .describe('Unit price.')
2461
+ .nullable()
2462
+ .describe('The unit price component of the tier.'),
2463
+ upToAmount: zod_1.z
2464
+ .string()
2465
+ .regex(exports.simulateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne)
2466
+ .describe('Numeric represents an arbitrary precision number.')
2975
2467
  .optional()
2976
- .describe('Stripe tax config.'),
2468
+ .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
2977
2469
  })
2978
- .describe('Set of provider specific tax configs.')
2470
+ .describe('A price tier.\nAt least one price component is required in each tier.'))
2471
+ .min(1)
2472
+ .describe('The tiers of the tiered price.\nAt least one price component is required in each tier.'),
2473
+ type: zod_1.z.enum(['tiered']),
2474
+ })
2475
+ .describe('Tiered price with spend commitments.'),
2476
+ zod_1.z
2477
+ .object({
2478
+ maximumAmount: zod_1.z
2479
+ .string()
2480
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive)
2481
+ .describe('Numeric represents an arbitrary precision number.')
2979
2482
  .optional()
2980
- .describe('The tax config of the rate card.\nWhen undefined, the tax config of the feature or the default tax config of the plan is used.'),
2483
+ .describe('The customer is limited to spend at most the amount.'),
2484
+ minimumAmount: zod_1.z
2485
+ .string()
2486
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive)
2487
+ .describe('Numeric represents an arbitrary precision number.')
2488
+ .optional()
2489
+ .describe('The customer is committed to spend at least the amount.'),
2490
+ multiplier: zod_1.z
2491
+ .string()
2492
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMultiplierRegExpOne)
2493
+ .describe('Numeric represents an arbitrary precision number.')
2494
+ .default(exports.simulateInvoiceBodyLinesItemPriceMultiplierDefault)
2495
+ .describe('The multiplier to apply to the base price to get the dynamic price.\n\nExamples:\n- 0.0: the price is zero\n- 0.5: the price is 50% of the base price\n- 1.0: the price is the same as the base price\n- 1.5: the price is 150% of the base price'),
2496
+ type: zod_1.z.enum(['dynamic']),
2981
2497
  })
2982
- .describe('InvoiceUsageBasedRateCard represents the rate card (intent) for an usage-based line.')
2983
- .optional()
2984
- .describe('The rate card that is used for this line.\n\nThe rate card captures the intent of the price and discounts for the usage-based item.'),
2985
- taxConfig: zod_1.z
2498
+ .describe('Dynamic price with spend commitments.'),
2499
+ zod_1.z
2986
2500
  .object({
2987
- behavior: zod_1.z
2988
- .enum(['inclusive', 'exclusive'])
2989
- .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
2501
+ amount: zod_1.z
2502
+ .string()
2503
+ .regex(exports.simulateInvoiceBodyLinesItemPriceAmountRegExpFive)
2504
+ .describe('Numeric represents an arbitrary precision number.')
2505
+ .describe('The price of one package.'),
2506
+ maximumAmount: zod_1.z
2507
+ .string()
2508
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven)
2509
+ .describe('Numeric represents an arbitrary precision number.')
2990
2510
  .optional()
2991
- .describe("Tax behavior.\n\nIf not specified the billing profile is used to determine the tax behavior.\nIf not specified in the billing profile, the provider's default behavior is used."),
2992
- customInvoicing: zod_1.z
2511
+ .describe('The customer is limited to spend at most the amount.'),
2512
+ minimumAmount: zod_1.z
2513
+ .string()
2514
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven)
2515
+ .describe('Numeric represents an arbitrary precision number.')
2516
+ .optional()
2517
+ .describe('The customer is committed to spend at least the amount.'),
2518
+ quantityPerPackage: zod_1.z
2519
+ .string()
2520
+ .regex(exports.simulateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne)
2521
+ .describe('Numeric represents an arbitrary precision number.')
2522
+ .describe('The quantity per package.'),
2523
+ type: zod_1.z.enum(['package']),
2524
+ })
2525
+ .describe('Package price with spend commitments.'),
2526
+ ])
2527
+ .describe('The price of the usage based rate card.')
2528
+ .optional()
2529
+ .describe('Price of the usage-based item being sold.'),
2530
+ quantity: zod_1.z
2531
+ .string()
2532
+ .regex(exports.simulateInvoiceBodyLinesItemQuantityRegExpOne)
2533
+ .describe('Numeric represents an arbitrary precision number.')
2534
+ .describe('The quantity of the item being sold.'),
2535
+ rateCard: zod_1.z
2536
+ .object({
2537
+ discounts: zod_1.z
2538
+ .object({
2539
+ percentage: zod_1.z
2993
2540
  .object({
2994
- code: zod_1.z
2541
+ correlationId: zod_1.z
2995
2542
  .string()
2996
- .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
2543
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp)
2544
+ .optional()
2545
+ .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
2546
+ percentage: zod_1.z
2547
+ .number()
2548
+ .describe('Numeric representation of a percentage\n\n50% is represented as 50')
2549
+ .describe('The percentage of the discount.'),
2997
2550
  })
2998
- .describe('Custom invoicing tax config.')
2551
+ .describe('A percentage discount.')
2999
2552
  .optional()
3000
- .describe('Custom invoicing tax config.'),
3001
- stripe: zod_1.z
2553
+ .describe('The percentage discount.'),
2554
+ usage: zod_1.z
3002
2555
  .object({
3003
- code: zod_1.z
2556
+ correlationId: zod_1.z
3004
2557
  .string()
3005
- .regex(exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp)
3006
- .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
2558
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp)
2559
+ .optional()
2560
+ .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
2561
+ quantity: zod_1.z
2562
+ .string()
2563
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne)
2564
+ .describe('Numeric represents an arbitrary precision number.')
2565
+ .describe('The quantity of the usage discount.\n\nMust be positive.'),
3007
2566
  })
3008
- .describe('The tax config for Stripe.')
2567
+ .describe('A usage discount.')
3009
2568
  .optional()
3010
- .describe('Stripe tax config.'),
2569
+ .describe('The usage discount.'),
3011
2570
  })
3012
- .describe('Set of provider specific tax configs.')
3013
- .optional()
3014
- .describe('Tax config specify the tax configuration for this line.'),
3015
- type: zod_1.z.enum(['usage_based']),
3016
- })
3017
- .describe('InvoiceSimulationUsageBasedLine represents a usage-based line item that can be input to the simulation endpoint.'),
3018
- zod_1.z
3019
- .object({
3020
- category: zod_1.z
3021
- .enum(['regular', 'commitment'])
3022
- .describe('InvoiceFlatFeeCategory determines if the flat fee is a regular fee due to use due to a\ncommitment.')
3023
- .default(exports.simulateInvoiceBodyLinesItemCategoryDefault)
3024
- .describe('Category of the flat fee.'),
3025
- description: zod_1.z
3026
- .string()
3027
- .max(exports.simulateInvoiceBodyLinesItemDescriptionMaxOne)
3028
- .optional()
3029
- .describe('Optional description of the resource. Maximum 1024 characters.'),
3030
- id: zod_1.z
3031
- .string()
3032
- .regex(exports.simulateInvoiceBodyLinesItemIdRegExpOne)
2571
+ .describe('A discount by type.')
3033
2572
  .optional()
3034
- .describe('ID of the line. If not specified it will be auto-generated.\n\nWhen discounts are specified, this must be provided, so that the discount can reference it.'),
3035
- invoiceAt: zod_1.z
3036
- .date()
3037
- .describe('The time this line item should be invoiced.'),
3038
- metadata: zod_1.z
3039
- .record(zod_1.z.string(), zod_1.z.string())
3040
- .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
3041
- .nullish()
3042
- .describe('Additional metadata for the resource.'),
3043
- name: zod_1.z
2573
+ .describe('The discounts that are applied to the line.'),
2574
+ featureKey: zod_1.z
3044
2575
  .string()
3045
2576
  .min(1)
3046
- .max(exports.simulateInvoiceBodyLinesItemNameMaxOne)
3047
- .describe('Human-readable name for the resource. Between 1 and 256 characters.'),
3048
- paymentTerm: zod_1.z
3049
- .enum(['in_advance', 'in_arrears'])
3050
- .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
3051
- .default(exports.simulateInvoiceBodyLinesItemPaymentTermDefault)
3052
- .describe('Payment term of the line.'),
3053
- period: zod_1.z
3054
- .object({
3055
- from: zod_1.z.date().describe('Period start time.'),
3056
- to: zod_1.z.date().describe('Period end time.'),
3057
- })
3058
- .describe('A period with a start and end time.')
3059
- .describe('Period of the line item applies to for revenue recognition pruposes.\n\nBilling always treats periods as start being inclusive and end being exclusive.'),
3060
- perUnitAmount: zod_1.z
3061
- .string()
3062
- .regex(exports.simulateInvoiceBodyLinesItemPerUnitAmountRegExpOne)
3063
- .describe('Numeric represents an arbitrary precision number.')
3064
- .optional()
3065
- .describe('Price of the item being sold.'),
3066
- quantity: zod_1.z
3067
- .string()
3068
- .regex(exports.simulateInvoiceBodyLinesItemQuantityRegExpThree)
3069
- .describe('Numeric represents an arbitrary precision number.')
2577
+ .max(exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyMax)
2578
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyRegExp)
3070
2579
  .optional()
3071
- .describe('Quantity of the item being sold.'),
3072
- rateCard: zod_1.z
3073
- .object({
3074
- discounts: zod_1.z
2580
+ .describe('The feature the customer is entitled to use.'),
2581
+ price: zod_1.z
2582
+ .discriminatedUnion('type', [
2583
+ zod_1.z
3075
2584
  .object({
3076
- percentage: zod_1.z
3077
- .object({
3078
- correlationId: zod_1.z
3079
- .string()
3080
- .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne)
3081
- .optional()
3082
- .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
3083
- percentage: zod_1.z
3084
- .number()
3085
- .describe('Numeric representation of a percentage\n\n50% is represented as 50')
3086
- .describe('The percentage of the discount.'),
3087
- })
3088
- .describe('A percentage discount.')
2585
+ amount: zod_1.z
2586
+ .string()
2587
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne)
2588
+ .describe('Numeric represents an arbitrary precision number.')
2589
+ .describe('The amount of the flat price.'),
2590
+ paymentTerm: zod_1.z
2591
+ .enum(['in_advance', 'in_arrears'])
2592
+ .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
2593
+ .default(exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefault)
2594
+ .describe('The payment term of the flat price.\nDefaults to in advance.'),
2595
+ type: zod_1.z.enum(['flat']),
2596
+ })
2597
+ .describe('Flat price with payment term.'),
2598
+ zod_1.z
2599
+ .object({
2600
+ amount: zod_1.z
2601
+ .string()
2602
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree)
2603
+ .describe('Numeric represents an arbitrary precision number.')
2604
+ .describe('The amount of the unit price.'),
2605
+ maximumAmount: zod_1.z
2606
+ .string()
2607
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne)
2608
+ .describe('Numeric represents an arbitrary precision number.')
3089
2609
  .optional()
3090
- .describe('The percentage discount.'),
3091
- usage: zod_1.z
2610
+ .describe('The customer is limited to spend at most the amount.'),
2611
+ minimumAmount: zod_1.z
2612
+ .string()
2613
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne)
2614
+ .describe('Numeric represents an arbitrary precision number.')
2615
+ .optional()
2616
+ .describe('The customer is committed to spend at least the amount.'),
2617
+ type: zod_1.z.enum(['unit']),
2618
+ })
2619
+ .describe('Unit price with spend commitments.'),
2620
+ zod_1.z
2621
+ .object({
2622
+ maximumAmount: zod_1.z
2623
+ .string()
2624
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree)
2625
+ .describe('Numeric represents an arbitrary precision number.')
2626
+ .optional()
2627
+ .describe('The customer is limited to spend at most the amount.'),
2628
+ minimumAmount: zod_1.z
2629
+ .string()
2630
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree)
2631
+ .describe('Numeric represents an arbitrary precision number.')
2632
+ .optional()
2633
+ .describe('The customer is committed to spend at least the amount.'),
2634
+ mode: zod_1.z
2635
+ .enum(['volume', 'graduated'])
2636
+ .describe('The mode of the tiered price.')
2637
+ .describe('Defines if the tiering mode is volume-based or graduated:\n- In `volume`-based tiering, the maximum quantity within a period determines the per unit price.\n- In `graduated` tiering, pricing can change as the quantity grows.'),
2638
+ tiers: zod_1.z
2639
+ .array(zod_1.z
3092
2640
  .object({
3093
- correlationId: zod_1.z
3094
- .string()
3095
- .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne)
3096
- .optional()
3097
- .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
3098
- quantity: zod_1.z
2641
+ flatPrice: zod_1.z
2642
+ .object({
2643
+ amount: zod_1.z
2644
+ .string()
2645
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne)
2646
+ .describe('Numeric represents an arbitrary precision number.')
2647
+ .describe('The amount of the flat price.'),
2648
+ type: zod_1.z
2649
+ .enum(['flat'])
2650
+ .describe('The type of the price.'),
2651
+ })
2652
+ .describe('Flat price.')
2653
+ .nullable()
2654
+ .describe('The flat price component of the tier.'),
2655
+ unitPrice: zod_1.z
2656
+ .object({
2657
+ amount: zod_1.z
2658
+ .string()
2659
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne)
2660
+ .describe('Numeric represents an arbitrary precision number.')
2661
+ .describe('The amount of the unit price.'),
2662
+ type: zod_1.z
2663
+ .enum(['unit'])
2664
+ .describe('The type of the price.'),
2665
+ })
2666
+ .describe('Unit price.')
2667
+ .nullable()
2668
+ .describe('The unit price component of the tier.'),
2669
+ upToAmount: zod_1.z
3099
2670
  .string()
3100
- .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree)
2671
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne)
3101
2672
  .describe('Numeric represents an arbitrary precision number.')
3102
- .describe('The quantity of the usage discount.\n\nMust be positive.'),
2673
+ .optional()
2674
+ .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
3103
2675
  })
3104
- .describe('A usage discount.')
2676
+ .describe('A price tier.\nAt least one price component is required in each tier.'))
2677
+ .min(1)
2678
+ .describe('The tiers of the tiered price.\nAt least one price component is required in each tier.'),
2679
+ type: zod_1.z.enum(['tiered']),
2680
+ })
2681
+ .describe('Tiered price with spend commitments.'),
2682
+ zod_1.z
2683
+ .object({
2684
+ maximumAmount: zod_1.z
2685
+ .string()
2686
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive)
2687
+ .describe('Numeric represents an arbitrary precision number.')
3105
2688
  .optional()
3106
- .describe('The usage discount.'),
2689
+ .describe('The customer is limited to spend at most the amount.'),
2690
+ minimumAmount: zod_1.z
2691
+ .string()
2692
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive)
2693
+ .describe('Numeric represents an arbitrary precision number.')
2694
+ .optional()
2695
+ .describe('The customer is committed to spend at least the amount.'),
2696
+ multiplier: zod_1.z
2697
+ .string()
2698
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne)
2699
+ .describe('Numeric represents an arbitrary precision number.')
2700
+ .default(exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierDefault)
2701
+ .describe('The multiplier to apply to the base price to get the dynamic price.\n\nExamples:\n- 0.0: the price is zero\n- 0.5: the price is 50% of the base price\n- 1.0: the price is the same as the base price\n- 1.5: the price is 150% of the base price'),
2702
+ type: zod_1.z.enum(['dynamic']),
3107
2703
  })
3108
- .describe('A discount by type.')
3109
- .optional()
3110
- .describe('The discounts that are applied to the line.'),
3111
- price: zod_1.z
2704
+ .describe('Dynamic price with spend commitments.'),
2705
+ zod_1.z
3112
2706
  .object({
3113
2707
  amount: zod_1.z
3114
2708
  .string()
3115
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpSeven)
2709
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive)
2710
+ .describe('Numeric represents an arbitrary precision number.')
2711
+ .describe('The price of one package.'),
2712
+ maximumAmount: zod_1.z
2713
+ .string()
2714
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven)
3116
2715
  .describe('Numeric represents an arbitrary precision number.')
3117
- .describe('The amount of the flat price.'),
3118
- paymentTerm: zod_1.z
3119
- .enum(['in_advance', 'in_arrears'])
3120
- .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
3121
- .default(exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefaultTwo)
3122
- .describe('The payment term of the flat price.\nDefaults to in advance.'),
3123
- type: zod_1.z.enum(['flat']),
3124
- })
3125
- .describe('Flat price with payment term.')
3126
- .nullable()
3127
- .describe('The price of the rate card.\nWhen null, the feature or service is free.'),
3128
- quantity: zod_1.z
3129
- .string()
3130
- .regex(exports.simulateInvoiceBodyLinesItemRateCardQuantityRegExpOne)
3131
- .describe('Numeric represents an arbitrary precision number.')
3132
- .optional()
3133
- .describe('Quantity of the item being sold.\n\nDefault: 1'),
3134
- taxConfig: zod_1.z
3135
- .object({
3136
- behavior: zod_1.z
3137
- .enum(['inclusive', 'exclusive'])
3138
- .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
3139
- .optional()
3140
- .describe("Tax behavior.\n\nIf not specified the billing profile is used to determine the tax behavior.\nIf not specified in the billing profile, the provider's default behavior is used."),
3141
- customInvoicing: zod_1.z
3142
- .object({
3143
- code: zod_1.z
3144
- .string()
3145
- .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
3146
- })
3147
- .describe('Custom invoicing tax config.')
3148
2716
  .optional()
3149
- .describe('Custom invoicing tax config.'),
3150
- stripe: zod_1.z
3151
- .object({
3152
- code: zod_1.z
3153
- .string()
3154
- .regex(exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne)
3155
- .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
3156
- })
3157
- .describe('The tax config for Stripe.')
2717
+ .describe('The customer is limited to spend at most the amount.'),
2718
+ minimumAmount: zod_1.z
2719
+ .string()
2720
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven)
2721
+ .describe('Numeric represents an arbitrary precision number.')
3158
2722
  .optional()
3159
- .describe('Stripe tax config.'),
2723
+ .describe('The customer is committed to spend at least the amount.'),
2724
+ quantityPerPackage: zod_1.z
2725
+ .string()
2726
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne)
2727
+ .describe('Numeric represents an arbitrary precision number.')
2728
+ .describe('The quantity per package.'),
2729
+ type: zod_1.z.enum(['package']),
3160
2730
  })
3161
- .describe('Set of provider specific tax configs.')
3162
- .optional()
3163
- .describe('The tax config of the rate card.\nWhen undefined, the tax config of the feature or the default tax config of the plan is used.'),
3164
- })
3165
- .describe('InvoiceFlatFeeRateCard represents the rate card (intent) for a flat fee line.')
3166
- .optional()
3167
- .describe('The rate card that is used for this line.'),
2731
+ .describe('Package price with spend commitments.'),
2732
+ ])
2733
+ .describe('The price of the usage based rate card.')
2734
+ .nullable()
2735
+ .describe('The price of the rate card.\nWhen null, the feature or service is free.'),
3168
2736
  taxConfig: zod_1.z
3169
2737
  .object({
3170
2738
  behavior: zod_1.z
@@ -3185,7 +2753,7 @@ exports.simulateInvoiceBody = zod_1.z
3185
2753
  .object({
3186
2754
  code: zod_1.z
3187
2755
  .string()
3188
- .regex(exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExpOne)
2756
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp)
3189
2757
  .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
3190
2758
  })
3191
2759
  .describe('The tax config for Stripe.')
@@ -3194,12 +2762,43 @@ exports.simulateInvoiceBody = zod_1.z
3194
2762
  })
3195
2763
  .describe('Set of provider specific tax configs.')
3196
2764
  .optional()
3197
- .describe('Tax config specify the tax configuration for this line.'),
3198
- type: zod_1.z.enum(['flat_fee']),
2765
+ .describe('The tax config of the rate card.\nWhen undefined, the tax config of the feature or the default tax config of the plan is used.'),
3199
2766
  })
3200
- .describe('InvoiceSimulationFlatFeeLine represents a flat fee line item that can be input to the simulation endpoint.'),
3201
- ])
3202
- .describe('InvoiceSimulationInput represents a line item that can be input to the simulation endpoint.'))
2767
+ .describe('InvoiceUsageBasedRateCard represents the rate card (intent) for an usage-based line.')
2768
+ .optional()
2769
+ .describe('The rate card that is used for this line.\n\nThe rate card captures the intent of the price and discounts for the usage-based item.'),
2770
+ taxConfig: zod_1.z
2771
+ .object({
2772
+ behavior: zod_1.z
2773
+ .enum(['inclusive', 'exclusive'])
2774
+ .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
2775
+ .optional()
2776
+ .describe("Tax behavior.\n\nIf not specified the billing profile is used to determine the tax behavior.\nIf not specified in the billing profile, the provider's default behavior is used."),
2777
+ customInvoicing: zod_1.z
2778
+ .object({
2779
+ code: zod_1.z
2780
+ .string()
2781
+ .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
2782
+ })
2783
+ .describe('Custom invoicing tax config.')
2784
+ .optional()
2785
+ .describe('Custom invoicing tax config.'),
2786
+ stripe: zod_1.z
2787
+ .object({
2788
+ code: zod_1.z
2789
+ .string()
2790
+ .regex(exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp)
2791
+ .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
2792
+ })
2793
+ .describe('The tax config for Stripe.')
2794
+ .optional()
2795
+ .describe('Stripe tax config.'),
2796
+ })
2797
+ .describe('Set of provider specific tax configs.')
2798
+ .optional()
2799
+ .describe('Tax config specify the tax configuration for this line.'),
2800
+ })
2801
+ .describe('InvoiceSimulationLine represents a usage-based line item that can be input to the simulation endpoint.'))
3203
2802
  .describe('Lines to be included in the generated invoice.'),
3204
2803
  number: zod_1.z
3205
2804
  .string()
@@ -3450,21 +3049,6 @@ exports.updateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp
3450
3049
  exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3451
3050
  exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3452
3051
  exports.updateInvoiceBodyLinesItemIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3453
- exports.updateInvoiceBodyLinesItemNameMaxOne = 256;
3454
- exports.updateInvoiceBodyLinesItemDescriptionMaxOne = 1024;
3455
- exports.updateInvoiceBodyLinesItemTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
3456
- exports.updateInvoiceBodyLinesItemPerUnitAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3457
- exports.updateInvoiceBodyLinesItemPaymentTermDefault = 'in_advance';
3458
- exports.updateInvoiceBodyLinesItemQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3459
- exports.updateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
3460
- exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3461
- exports.updateInvoiceBodyLinesItemRateCardPricePaymentTermDefaultTwo = 'in_advance';
3462
- exports.updateInvoiceBodyLinesItemRateCardQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3463
- exports.updateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3464
- exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
3465
- exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3466
- exports.updateInvoiceBodyLinesItemCategoryDefault = 'regular';
3467
- exports.updateInvoiceBodyLinesItemIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3468
3052
  exports.updateInvoiceBodyWorkflowWorkflowInvoicingAutoAdvanceDefault = true;
3469
3053
  exports.updateInvoiceBodyWorkflowWorkflowInvoicingDraftPeriodDefault = 'P0D';
3470
3054
  exports.updateInvoiceBodyWorkflowWorkflowInvoicingDueAfterDefault = 'P30D';
@@ -3529,619 +3113,400 @@ exports.updateInvoiceBody = zod_1.z
3529
3113
  .describe('Optional description of the resource. Maximum 1024 characters.'),
3530
3114
  lines: zod_1.z
3531
3115
  .array(zod_1.z
3532
- .discriminatedUnion('type', [
3533
- zod_1.z
3534
- .object({
3535
- description: zod_1.z
3536
- .string()
3537
- .max(exports.updateInvoiceBodyLinesItemDescriptionMax)
3538
- .optional()
3539
- .describe('Optional description of the resource. Maximum 1024 characters.'),
3540
- featureKey: zod_1.z
3541
- .string()
3542
- .min(1)
3543
- .max(exports.updateInvoiceBodyLinesItemFeatureKeyMax)
3544
- .regex(exports.updateInvoiceBodyLinesItemFeatureKeyRegExp)
3545
- .optional()
3546
- .describe('The feature that the usage is based on.'),
3547
- id: zod_1.z
3548
- .string()
3549
- .regex(exports.updateInvoiceBodyLinesItemIdRegExp)
3550
- .optional()
3551
- .describe('The ID of the line.'),
3552
- invoiceAt: zod_1.z
3553
- .date()
3554
- .describe('The time this line item should be invoiced.'),
3555
- metadata: zod_1.z
3556
- .record(zod_1.z.string(), zod_1.z.string())
3557
- .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
3558
- .nullish()
3559
- .describe('Additional metadata for the resource.'),
3560
- name: zod_1.z
3561
- .string()
3562
- .min(1)
3563
- .max(exports.updateInvoiceBodyLinesItemNameMax)
3564
- .describe('Human-readable name for the resource. Between 1 and 256 characters.'),
3565
- period: zod_1.z
3566
- .object({
3567
- from: zod_1.z.date().describe('Period start time.'),
3568
- to: zod_1.z.date().describe('Period end time.'),
3569
- })
3570
- .describe('A period with a start and end time.')
3571
- .describe('Period of the line item applies to for revenue recognition pruposes.\n\nBilling always treats periods as start being inclusive and end being exclusive.'),
3572
- price: zod_1.z
3573
- .discriminatedUnion('type', [
3574
- zod_1.z
3575
- .object({
3576
- amount: zod_1.z
3577
- .string()
3578
- .regex(exports.updateInvoiceBodyLinesItemPriceAmountRegExpOne)
3579
- .describe('Numeric represents an arbitrary precision number.')
3580
- .describe('The amount of the flat price.'),
3581
- paymentTerm: zod_1.z
3582
- .enum(['in_advance', 'in_arrears'])
3583
- .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
3584
- .default(exports.updateInvoiceBodyLinesItemPricePaymentTermDefault)
3585
- .describe('The payment term of the flat price.\nDefaults to in advance.'),
3586
- type: zod_1.z.enum(['flat']),
3587
- })
3588
- .describe('Flat price with payment term.'),
3589
- zod_1.z
3590
- .object({
3591
- amount: zod_1.z
3592
- .string()
3593
- .regex(exports.updateInvoiceBodyLinesItemPriceAmountRegExpThree)
3594
- .describe('Numeric represents an arbitrary precision number.')
3595
- .describe('The amount of the unit price.'),
3596
- maximumAmount: zod_1.z
3597
- .string()
3598
- .regex(exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne)
3599
- .describe('Numeric represents an arbitrary precision number.')
3600
- .optional()
3601
- .describe('The customer is limited to spend at most the amount.'),
3602
- minimumAmount: zod_1.z
3603
- .string()
3604
- .regex(exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne)
3605
- .describe('Numeric represents an arbitrary precision number.')
3606
- .optional()
3607
- .describe('The customer is committed to spend at least the amount.'),
3608
- type: zod_1.z.enum(['unit']),
3609
- })
3610
- .describe('Unit price with spend commitments.'),
3611
- zod_1.z
3612
- .object({
3613
- maximumAmount: zod_1.z
3614
- .string()
3615
- .regex(exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree)
3616
- .describe('Numeric represents an arbitrary precision number.')
3617
- .optional()
3618
- .describe('The customer is limited to spend at most the amount.'),
3619
- minimumAmount: zod_1.z
3620
- .string()
3621
- .regex(exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree)
3622
- .describe('Numeric represents an arbitrary precision number.')
3623
- .optional()
3624
- .describe('The customer is committed to spend at least the amount.'),
3625
- mode: zod_1.z
3626
- .enum(['volume', 'graduated'])
3627
- .describe('The mode of the tiered price.')
3628
- .describe('Defines if the tiering mode is volume-based or graduated:\n- In `volume`-based tiering, the maximum quantity within a period determines the per unit price.\n- In `graduated` tiering, pricing can change as the quantity grows.'),
3629
- tiers: zod_1.z
3630
- .array(zod_1.z
3631
- .object({
3632
- flatPrice: zod_1.z
3633
- .object({
3634
- amount: zod_1.z
3635
- .string()
3636
- .regex(exports.updateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne)
3637
- .describe('Numeric represents an arbitrary precision number.')
3638
- .describe('The amount of the flat price.'),
3639
- type: zod_1.z
3640
- .enum(['flat'])
3641
- .describe('The type of the price.'),
3642
- })
3643
- .describe('Flat price.')
3644
- .nullable()
3645
- .describe('The flat price component of the tier.'),
3646
- unitPrice: zod_1.z
3647
- .object({
3648
- amount: zod_1.z
3649
- .string()
3650
- .regex(exports.updateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne)
3651
- .describe('Numeric represents an arbitrary precision number.')
3652
- .describe('The amount of the unit price.'),
3653
- type: zod_1.z
3654
- .enum(['unit'])
3655
- .describe('The type of the price.'),
3656
- })
3657
- .describe('Unit price.')
3658
- .nullable()
3659
- .describe('The unit price component of the tier.'),
3660
- upToAmount: zod_1.z
3661
- .string()
3662
- .regex(exports.updateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne)
3663
- .describe('Numeric represents an arbitrary precision number.')
3664
- .optional()
3665
- .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
3666
- })
3667
- .describe('A price tier.\nAt least one price component is required in each tier.'))
3668
- .min(1)
3669
- .describe('The tiers of the tiered price.\nAt least one price component is required in each tier.'),
3670
- type: zod_1.z.enum(['tiered']),
3671
- })
3672
- .describe('Tiered price with spend commitments.'),
3673
- zod_1.z
3674
- .object({
3675
- maximumAmount: zod_1.z
3676
- .string()
3677
- .regex(exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive)
3678
- .describe('Numeric represents an arbitrary precision number.')
3679
- .optional()
3680
- .describe('The customer is limited to spend at most the amount.'),
3681
- minimumAmount: zod_1.z
3682
- .string()
3683
- .regex(exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive)
3684
- .describe('Numeric represents an arbitrary precision number.')
3685
- .optional()
3686
- .describe('The customer is committed to spend at least the amount.'),
3687
- multiplier: zod_1.z
3688
- .string()
3689
- .regex(exports.updateInvoiceBodyLinesItemPriceMultiplierRegExpOne)
3690
- .describe('Numeric represents an arbitrary precision number.')
3691
- .default(exports.updateInvoiceBodyLinesItemPriceMultiplierDefault)
3692
- .describe('The multiplier to apply to the base price to get the dynamic price.\n\nExamples:\n- 0.0: the price is zero\n- 0.5: the price is 50% of the base price\n- 1.0: the price is the same as the base price\n- 1.5: the price is 150% of the base price'),
3693
- type: zod_1.z.enum(['dynamic']),
3694
- })
3695
- .describe('Dynamic price with spend commitments.'),
3696
- zod_1.z
3697
- .object({
3698
- amount: zod_1.z
3699
- .string()
3700
- .regex(exports.updateInvoiceBodyLinesItemPriceAmountRegExpFive)
3701
- .describe('Numeric represents an arbitrary precision number.')
3702
- .describe('The price of one package.'),
3703
- maximumAmount: zod_1.z
3704
- .string()
3705
- .regex(exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven)
3706
- .describe('Numeric represents an arbitrary precision number.')
3707
- .optional()
3708
- .describe('The customer is limited to spend at most the amount.'),
3709
- minimumAmount: zod_1.z
3710
- .string()
3711
- .regex(exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven)
3712
- .describe('Numeric represents an arbitrary precision number.')
3713
- .optional()
3714
- .describe('The customer is committed to spend at least the amount.'),
3715
- quantityPerPackage: zod_1.z
3716
- .string()
3717
- .regex(exports.updateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne)
3718
- .describe('Numeric represents an arbitrary precision number.')
3719
- .describe('The quantity per package.'),
3720
- type: zod_1.z.enum(['package']),
3721
- })
3722
- .describe('Package price with spend commitments.'),
3723
- ])
3724
- .describe('The price of the usage based rate card.')
3725
- .optional()
3726
- .describe('Price of the usage-based item being sold.'),
3727
- rateCard: zod_1.z
3116
+ .object({
3117
+ description: zod_1.z
3118
+ .string()
3119
+ .max(exports.updateInvoiceBodyLinesItemDescriptionMax)
3120
+ .optional()
3121
+ .describe('Optional description of the resource. Maximum 1024 characters.'),
3122
+ featureKey: zod_1.z
3123
+ .string()
3124
+ .min(1)
3125
+ .max(exports.updateInvoiceBodyLinesItemFeatureKeyMax)
3126
+ .regex(exports.updateInvoiceBodyLinesItemFeatureKeyRegExp)
3127
+ .optional()
3128
+ .describe('The feature that the usage is based on.'),
3129
+ id: zod_1.z
3130
+ .string()
3131
+ .regex(exports.updateInvoiceBodyLinesItemIdRegExp)
3132
+ .optional()
3133
+ .describe('The ID of the line.'),
3134
+ invoiceAt: zod_1.z
3135
+ .date()
3136
+ .describe('The time this line item should be invoiced.'),
3137
+ metadata: zod_1.z
3138
+ .record(zod_1.z.string(), zod_1.z.string())
3139
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
3140
+ .nullish()
3141
+ .describe('Additional metadata for the resource.'),
3142
+ name: zod_1.z
3143
+ .string()
3144
+ .min(1)
3145
+ .max(exports.updateInvoiceBodyLinesItemNameMax)
3146
+ .describe('Human-readable name for the resource. Between 1 and 256 characters.'),
3147
+ period: zod_1.z
3148
+ .object({
3149
+ from: zod_1.z.date().describe('Period start time.'),
3150
+ to: zod_1.z.date().describe('Period end time.'),
3151
+ })
3152
+ .describe('A period with a start and end time.')
3153
+ .describe('Period of the line item applies to for revenue recognition pruposes.\n\nBilling always treats periods as start being inclusive and end being exclusive.'),
3154
+ price: zod_1.z
3155
+ .discriminatedUnion('type', [
3156
+ zod_1.z
3728
3157
  .object({
3729
- discounts: zod_1.z
3730
- .object({
3731
- percentage: zod_1.z
3732
- .object({
3733
- correlationId: zod_1.z
3734
- .string()
3735
- .regex(exports.updateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp)
3736
- .optional()
3737
- .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
3738
- percentage: zod_1.z
3739
- .number()
3740
- .describe('Numeric representation of a percentage\n\n50% is represented as 50')
3741
- .describe('The percentage of the discount.'),
3742
- })
3743
- .describe('A percentage discount.')
3744
- .optional()
3745
- .describe('The percentage discount.'),
3746
- usage: zod_1.z
3747
- .object({
3748
- correlationId: zod_1.z
3749
- .string()
3750
- .regex(exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp)
3751
- .optional()
3752
- .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
3753
- quantity: zod_1.z
3754
- .string()
3755
- .regex(exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne)
3756
- .describe('Numeric represents an arbitrary precision number.')
3757
- .describe('The quantity of the usage discount.\n\nMust be positive.'),
3758
- })
3759
- .describe('A usage discount.')
3760
- .optional()
3761
- .describe('The usage discount.'),
3762
- })
3763
- .describe('A discount by type.')
3158
+ amount: zod_1.z
3159
+ .string()
3160
+ .regex(exports.updateInvoiceBodyLinesItemPriceAmountRegExpOne)
3161
+ .describe('Numeric represents an arbitrary precision number.')
3162
+ .describe('The amount of the flat price.'),
3163
+ paymentTerm: zod_1.z
3164
+ .enum(['in_advance', 'in_arrears'])
3165
+ .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
3166
+ .default(exports.updateInvoiceBodyLinesItemPricePaymentTermDefault)
3167
+ .describe('The payment term of the flat price.\nDefaults to in advance.'),
3168
+ type: zod_1.z.enum(['flat']),
3169
+ })
3170
+ .describe('Flat price with payment term.'),
3171
+ zod_1.z
3172
+ .object({
3173
+ amount: zod_1.z
3174
+ .string()
3175
+ .regex(exports.updateInvoiceBodyLinesItemPriceAmountRegExpThree)
3176
+ .describe('Numeric represents an arbitrary precision number.')
3177
+ .describe('The amount of the unit price.'),
3178
+ maximumAmount: zod_1.z
3179
+ .string()
3180
+ .regex(exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne)
3181
+ .describe('Numeric represents an arbitrary precision number.')
3764
3182
  .optional()
3765
- .describe('The discounts that are applied to the line.'),
3766
- featureKey: zod_1.z
3183
+ .describe('The customer is limited to spend at most the amount.'),
3184
+ minimumAmount: zod_1.z
3767
3185
  .string()
3768
- .min(1)
3769
- .max(exports.updateInvoiceBodyLinesItemRateCardFeatureKeyMax)
3770
- .regex(exports.updateInvoiceBodyLinesItemRateCardFeatureKeyRegExp)
3186
+ .regex(exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne)
3187
+ .describe('Numeric represents an arbitrary precision number.')
3771
3188
  .optional()
3772
- .describe('The feature the customer is entitled to use.'),
3773
- price: zod_1.z
3774
- .discriminatedUnion('type', [
3775
- zod_1.z
3189
+ .describe('The customer is committed to spend at least the amount.'),
3190
+ type: zod_1.z.enum(['unit']),
3191
+ })
3192
+ .describe('Unit price with spend commitments.'),
3193
+ zod_1.z
3194
+ .object({
3195
+ maximumAmount: zod_1.z
3196
+ .string()
3197
+ .regex(exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree)
3198
+ .describe('Numeric represents an arbitrary precision number.')
3199
+ .optional()
3200
+ .describe('The customer is limited to spend at most the amount.'),
3201
+ minimumAmount: zod_1.z
3202
+ .string()
3203
+ .regex(exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree)
3204
+ .describe('Numeric represents an arbitrary precision number.')
3205
+ .optional()
3206
+ .describe('The customer is committed to spend at least the amount.'),
3207
+ mode: zod_1.z
3208
+ .enum(['volume', 'graduated'])
3209
+ .describe('The mode of the tiered price.')
3210
+ .describe('Defines if the tiering mode is volume-based or graduated:\n- In `volume`-based tiering, the maximum quantity within a period determines the per unit price.\n- In `graduated` tiering, pricing can change as the quantity grows.'),
3211
+ tiers: zod_1.z
3212
+ .array(zod_1.z
3213
+ .object({
3214
+ flatPrice: zod_1.z
3776
3215
  .object({
3777
3216
  amount: zod_1.z
3778
3217
  .string()
3779
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne)
3218
+ .regex(exports.updateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne)
3780
3219
  .describe('Numeric represents an arbitrary precision number.')
3781
3220
  .describe('The amount of the flat price.'),
3782
- paymentTerm: zod_1.z
3783
- .enum(['in_advance', 'in_arrears'])
3784
- .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
3785
- .default(exports.updateInvoiceBodyLinesItemRateCardPricePaymentTermDefault)
3786
- .describe('The payment term of the flat price.\nDefaults to in advance.'),
3787
- type: zod_1.z.enum(['flat']),
3221
+ type: zod_1.z
3222
+ .enum(['flat'])
3223
+ .describe('The type of the price.'),
3788
3224
  })
3789
- .describe('Flat price with payment term.'),
3790
- zod_1.z
3225
+ .describe('Flat price.')
3226
+ .nullable()
3227
+ .describe('The flat price component of the tier.'),
3228
+ unitPrice: zod_1.z
3791
3229
  .object({
3792
3230
  amount: zod_1.z
3793
3231
  .string()
3794
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree)
3232
+ .regex(exports.updateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne)
3795
3233
  .describe('Numeric represents an arbitrary precision number.')
3796
3234
  .describe('The amount of the unit price.'),
3797
- maximumAmount: zod_1.z
3798
- .string()
3799
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne)
3800
- .describe('Numeric represents an arbitrary precision number.')
3801
- .optional()
3802
- .describe('The customer is limited to spend at most the amount.'),
3803
- minimumAmount: zod_1.z
3804
- .string()
3805
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne)
3806
- .describe('Numeric represents an arbitrary precision number.')
3807
- .optional()
3808
- .describe('The customer is committed to spend at least the amount.'),
3809
- type: zod_1.z.enum(['unit']),
3810
- })
3811
- .describe('Unit price with spend commitments.'),
3812
- zod_1.z
3813
- .object({
3814
- maximumAmount: zod_1.z
3815
- .string()
3816
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree)
3817
- .describe('Numeric represents an arbitrary precision number.')
3818
- .optional()
3819
- .describe('The customer is limited to spend at most the amount.'),
3820
- minimumAmount: zod_1.z
3821
- .string()
3822
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree)
3823
- .describe('Numeric represents an arbitrary precision number.')
3824
- .optional()
3825
- .describe('The customer is committed to spend at least the amount.'),
3826
- mode: zod_1.z
3827
- .enum(['volume', 'graduated'])
3828
- .describe('The mode of the tiered price.')
3829
- .describe('Defines if the tiering mode is volume-based or graduated:\n- In `volume`-based tiering, the maximum quantity within a period determines the per unit price.\n- In `graduated` tiering, pricing can change as the quantity grows.'),
3830
- tiers: zod_1.z
3831
- .array(zod_1.z
3832
- .object({
3833
- flatPrice: zod_1.z
3834
- .object({
3835
- amount: zod_1.z
3836
- .string()
3837
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne)
3838
- .describe('Numeric represents an arbitrary precision number.')
3839
- .describe('The amount of the flat price.'),
3840
- type: zod_1.z
3841
- .enum(['flat'])
3842
- .describe('The type of the price.'),
3843
- })
3844
- .describe('Flat price.')
3845
- .nullable()
3846
- .describe('The flat price component of the tier.'),
3847
- unitPrice: zod_1.z
3848
- .object({
3849
- amount: zod_1.z
3850
- .string()
3851
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne)
3852
- .describe('Numeric represents an arbitrary precision number.')
3853
- .describe('The amount of the unit price.'),
3854
- type: zod_1.z
3855
- .enum(['unit'])
3856
- .describe('The type of the price.'),
3857
- })
3858
- .describe('Unit price.')
3859
- .nullable()
3860
- .describe('The unit price component of the tier.'),
3861
- upToAmount: zod_1.z
3862
- .string()
3863
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne)
3864
- .describe('Numeric represents an arbitrary precision number.')
3865
- .optional()
3866
- .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
3867
- })
3868
- .describe('A price tier.\nAt least one price component is required in each tier.'))
3869
- .min(1)
3870
- .describe('The tiers of the tiered price.\nAt least one price component is required in each tier.'),
3871
- type: zod_1.z.enum(['tiered']),
3872
- })
3873
- .describe('Tiered price with spend commitments.'),
3874
- zod_1.z
3875
- .object({
3876
- maximumAmount: zod_1.z
3877
- .string()
3878
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive)
3879
- .describe('Numeric represents an arbitrary precision number.')
3880
- .optional()
3881
- .describe('The customer is limited to spend at most the amount.'),
3882
- minimumAmount: zod_1.z
3883
- .string()
3884
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive)
3885
- .describe('Numeric represents an arbitrary precision number.')
3886
- .optional()
3887
- .describe('The customer is committed to spend at least the amount.'),
3888
- multiplier: zod_1.z
3889
- .string()
3890
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne)
3891
- .describe('Numeric represents an arbitrary precision number.')
3892
- .default(exports.updateInvoiceBodyLinesItemRateCardPriceMultiplierDefault)
3893
- .describe('The multiplier to apply to the base price to get the dynamic price.\n\nExamples:\n- 0.0: the price is zero\n- 0.5: the price is 50% of the base price\n- 1.0: the price is the same as the base price\n- 1.5: the price is 150% of the base price'),
3894
- type: zod_1.z.enum(['dynamic']),
3895
- })
3896
- .describe('Dynamic price with spend commitments.'),
3897
- zod_1.z
3898
- .object({
3899
- amount: zod_1.z
3900
- .string()
3901
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive)
3902
- .describe('Numeric represents an arbitrary precision number.')
3903
- .describe('The price of one package.'),
3904
- maximumAmount: zod_1.z
3905
- .string()
3906
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven)
3907
- .describe('Numeric represents an arbitrary precision number.')
3908
- .optional()
3909
- .describe('The customer is limited to spend at most the amount.'),
3910
- minimumAmount: zod_1.z
3911
- .string()
3912
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven)
3913
- .describe('Numeric represents an arbitrary precision number.')
3914
- .optional()
3915
- .describe('The customer is committed to spend at least the amount.'),
3916
- quantityPerPackage: zod_1.z
3917
- .string()
3918
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne)
3919
- .describe('Numeric represents an arbitrary precision number.')
3920
- .describe('The quantity per package.'),
3921
- type: zod_1.z.enum(['package']),
3922
- })
3923
- .describe('Package price with spend commitments.'),
3924
- ])
3925
- .describe('The price of the usage based rate card.')
3926
- .nullable()
3927
- .describe('The price of the rate card.\nWhen null, the feature or service is free.'),
3928
- taxConfig: zod_1.z
3929
- .object({
3930
- behavior: zod_1.z
3931
- .enum(['inclusive', 'exclusive'])
3932
- .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
3933
- .optional()
3934
- .describe("Tax behavior.\n\nIf not specified the billing profile is used to determine the tax behavior.\nIf not specified in the billing profile, the provider's default behavior is used."),
3935
- customInvoicing: zod_1.z
3936
- .object({
3937
- code: zod_1.z
3938
- .string()
3939
- .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
3940
- })
3941
- .describe('Custom invoicing tax config.')
3942
- .optional()
3943
- .describe('Custom invoicing tax config.'),
3944
- stripe: zod_1.z
3945
- .object({
3946
- code: zod_1.z
3947
- .string()
3948
- .regex(exports.updateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp)
3949
- .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
3235
+ type: zod_1.z
3236
+ .enum(['unit'])
3237
+ .describe('The type of the price.'),
3950
3238
  })
3951
- .describe('The tax config for Stripe.')
3239
+ .describe('Unit price.')
3240
+ .nullable()
3241
+ .describe('The unit price component of the tier.'),
3242
+ upToAmount: zod_1.z
3243
+ .string()
3244
+ .regex(exports.updateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne)
3245
+ .describe('Numeric represents an arbitrary precision number.')
3952
3246
  .optional()
3953
- .describe('Stripe tax config.'),
3247
+ .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
3954
3248
  })
3955
- .describe('Set of provider specific tax configs.')
3249
+ .describe('A price tier.\nAt least one price component is required in each tier.'))
3250
+ .min(1)
3251
+ .describe('The tiers of the tiered price.\nAt least one price component is required in each tier.'),
3252
+ type: zod_1.z.enum(['tiered']),
3253
+ })
3254
+ .describe('Tiered price with spend commitments.'),
3255
+ zod_1.z
3256
+ .object({
3257
+ maximumAmount: zod_1.z
3258
+ .string()
3259
+ .regex(exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive)
3260
+ .describe('Numeric represents an arbitrary precision number.')
3956
3261
  .optional()
3957
- .describe('The tax config of the rate card.\nWhen undefined, the tax config of the feature or the default tax config of the plan is used.'),
3262
+ .describe('The customer is limited to spend at most the amount.'),
3263
+ minimumAmount: zod_1.z
3264
+ .string()
3265
+ .regex(exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive)
3266
+ .describe('Numeric represents an arbitrary precision number.')
3267
+ .optional()
3268
+ .describe('The customer is committed to spend at least the amount.'),
3269
+ multiplier: zod_1.z
3270
+ .string()
3271
+ .regex(exports.updateInvoiceBodyLinesItemPriceMultiplierRegExpOne)
3272
+ .describe('Numeric represents an arbitrary precision number.')
3273
+ .default(exports.updateInvoiceBodyLinesItemPriceMultiplierDefault)
3274
+ .describe('The multiplier to apply to the base price to get the dynamic price.\n\nExamples:\n- 0.0: the price is zero\n- 0.5: the price is 50% of the base price\n- 1.0: the price is the same as the base price\n- 1.5: the price is 150% of the base price'),
3275
+ type: zod_1.z.enum(['dynamic']),
3276
+ })
3277
+ .describe('Dynamic price with spend commitments.'),
3278
+ zod_1.z
3279
+ .object({
3280
+ amount: zod_1.z
3281
+ .string()
3282
+ .regex(exports.updateInvoiceBodyLinesItemPriceAmountRegExpFive)
3283
+ .describe('Numeric represents an arbitrary precision number.')
3284
+ .describe('The price of one package.'),
3285
+ maximumAmount: zod_1.z
3286
+ .string()
3287
+ .regex(exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven)
3288
+ .describe('Numeric represents an arbitrary precision number.')
3289
+ .optional()
3290
+ .describe('The customer is limited to spend at most the amount.'),
3291
+ minimumAmount: zod_1.z
3292
+ .string()
3293
+ .regex(exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven)
3294
+ .describe('Numeric represents an arbitrary precision number.')
3295
+ .optional()
3296
+ .describe('The customer is committed to spend at least the amount.'),
3297
+ quantityPerPackage: zod_1.z
3298
+ .string()
3299
+ .regex(exports.updateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne)
3300
+ .describe('Numeric represents an arbitrary precision number.')
3301
+ .describe('The quantity per package.'),
3302
+ type: zod_1.z.enum(['package']),
3958
3303
  })
3959
- .describe('InvoiceUsageBasedRateCard represents the rate card (intent) for an usage-based line.')
3960
- .optional()
3961
- .describe('The rate card that is used for this line.\n\nThe rate card captures the intent of the price and discounts for the usage-based item.'),
3962
- taxConfig: zod_1.z
3304
+ .describe('Package price with spend commitments.'),
3305
+ ])
3306
+ .describe('The price of the usage based rate card.')
3307
+ .optional()
3308
+ .describe('Price of the usage-based item being sold.'),
3309
+ rateCard: zod_1.z
3310
+ .object({
3311
+ discounts: zod_1.z
3963
3312
  .object({
3964
- behavior: zod_1.z
3965
- .enum(['inclusive', 'exclusive'])
3966
- .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
3967
- .optional()
3968
- .describe("Tax behavior.\n\nIf not specified the billing profile is used to determine the tax behavior.\nIf not specified in the billing profile, the provider's default behavior is used."),
3969
- customInvoicing: zod_1.z
3313
+ percentage: zod_1.z
3970
3314
  .object({
3971
- code: zod_1.z
3315
+ correlationId: zod_1.z
3972
3316
  .string()
3973
- .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
3317
+ .regex(exports.updateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp)
3318
+ .optional()
3319
+ .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
3320
+ percentage: zod_1.z
3321
+ .number()
3322
+ .describe('Numeric representation of a percentage\n\n50% is represented as 50')
3323
+ .describe('The percentage of the discount.'),
3974
3324
  })
3975
- .describe('Custom invoicing tax config.')
3325
+ .describe('A percentage discount.')
3976
3326
  .optional()
3977
- .describe('Custom invoicing tax config.'),
3978
- stripe: zod_1.z
3327
+ .describe('The percentage discount.'),
3328
+ usage: zod_1.z
3979
3329
  .object({
3980
- code: zod_1.z
3330
+ correlationId: zod_1.z
3981
3331
  .string()
3982
- .regex(exports.updateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp)
3983
- .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
3332
+ .regex(exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp)
3333
+ .optional()
3334
+ .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
3335
+ quantity: zod_1.z
3336
+ .string()
3337
+ .regex(exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne)
3338
+ .describe('Numeric represents an arbitrary precision number.')
3339
+ .describe('The quantity of the usage discount.\n\nMust be positive.'),
3984
3340
  })
3985
- .describe('The tax config for Stripe.')
3341
+ .describe('A usage discount.')
3986
3342
  .optional()
3987
- .describe('Stripe tax config.'),
3343
+ .describe('The usage discount.'),
3988
3344
  })
3989
- .describe('Set of provider specific tax configs.')
3990
- .optional()
3991
- .describe('Tax config specify the tax configuration for this line.'),
3992
- type: zod_1.z.enum(['usage_based']),
3993
- })
3994
- .describe('InvoiceUpdateUsageBasedLineReplaceUpdate represents the update model for an UBP invoice line.\n\nThis type makes ID optional to allow for creating new lines as part of the update.'),
3995
- zod_1.z
3996
- .object({
3997
- category: zod_1.z
3998
- .enum(['regular', 'commitment'])
3999
- .describe('InvoiceFlatFeeCategory determines if the flat fee is a regular fee due to use due to a\ncommitment.')
4000
- .default(exports.updateInvoiceBodyLinesItemCategoryDefault)
4001
- .describe('Category of the flat fee.'),
4002
- description: zod_1.z
4003
- .string()
4004
- .max(exports.updateInvoiceBodyLinesItemDescriptionMaxOne)
4005
- .optional()
4006
- .describe('Optional description of the resource. Maximum 1024 characters.'),
4007
- id: zod_1.z
4008
- .string()
4009
- .regex(exports.updateInvoiceBodyLinesItemIdRegExpOne)
3345
+ .describe('A discount by type.')
4010
3346
  .optional()
4011
- .describe('The ID of the line.'),
4012
- invoiceAt: zod_1.z
4013
- .date()
4014
- .describe('The time this line item should be invoiced.'),
4015
- metadata: zod_1.z
4016
- .record(zod_1.z.string(), zod_1.z.string())
4017
- .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
4018
- .nullish()
4019
- .describe('Additional metadata for the resource.'),
4020
- name: zod_1.z
3347
+ .describe('The discounts that are applied to the line.'),
3348
+ featureKey: zod_1.z
4021
3349
  .string()
4022
3350
  .min(1)
4023
- .max(exports.updateInvoiceBodyLinesItemNameMaxOne)
4024
- .describe('Human-readable name for the resource. Between 1 and 256 characters.'),
4025
- paymentTerm: zod_1.z
4026
- .enum(['in_advance', 'in_arrears'])
4027
- .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
4028
- .default(exports.updateInvoiceBodyLinesItemPaymentTermDefault)
4029
- .describe('Payment term of the line.'),
4030
- period: zod_1.z
4031
- .object({
4032
- from: zod_1.z.date().describe('Period start time.'),
4033
- to: zod_1.z.date().describe('Period end time.'),
4034
- })
4035
- .describe('A period with a start and end time.')
4036
- .describe('Period of the line item applies to for revenue recognition pruposes.\n\nBilling always treats periods as start being inclusive and end being exclusive.'),
4037
- perUnitAmount: zod_1.z
4038
- .string()
4039
- .regex(exports.updateInvoiceBodyLinesItemPerUnitAmountRegExpOne)
4040
- .describe('Numeric represents an arbitrary precision number.')
3351
+ .max(exports.updateInvoiceBodyLinesItemRateCardFeatureKeyMax)
3352
+ .regex(exports.updateInvoiceBodyLinesItemRateCardFeatureKeyRegExp)
4041
3353
  .optional()
4042
- .describe('Price of the item being sold.'),
4043
- quantity: zod_1.z
4044
- .string()
4045
- .regex(exports.updateInvoiceBodyLinesItemQuantityRegExpOne)
4046
- .describe('Numeric represents an arbitrary precision number.')
4047
- .optional()
4048
- .describe('Quantity of the item being sold.'),
4049
- rateCard: zod_1.z
4050
- .object({
4051
- discounts: zod_1.z
4052
- .object({
4053
- percentage: zod_1.z
4054
- .object({
4055
- correlationId: zod_1.z
4056
- .string()
4057
- .regex(exports.updateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne)
4058
- .optional()
4059
- .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
4060
- percentage: zod_1.z
4061
- .number()
4062
- .describe('Numeric representation of a percentage\n\n50% is represented as 50')
4063
- .describe('The percentage of the discount.'),
4064
- })
4065
- .describe('A percentage discount.')
4066
- .optional()
4067
- .describe('The percentage discount.'),
4068
- usage: zod_1.z
4069
- .object({
4070
- correlationId: zod_1.z
4071
- .string()
4072
- .regex(exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne)
4073
- .optional()
4074
- .describe('Correlation ID for the discount.\n\nThis is used to link discounts across different invoices (progressive billing use case).\n\nIf not provided, the invoicing engine will auto-generate one. When editing an invoice line,\nplease make sure to keep the same correlation ID of the discount or in progressive billing\nsetups the discount amounts might be incorrect.'),
4075
- quantity: zod_1.z
4076
- .string()
4077
- .regex(exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree)
4078
- .describe('Numeric represents an arbitrary precision number.')
4079
- .describe('The quantity of the usage discount.\n\nMust be positive.'),
4080
- })
4081
- .describe('A usage discount.')
4082
- .optional()
4083
- .describe('The usage discount.'),
4084
- })
4085
- .describe('A discount by type.')
4086
- .optional()
4087
- .describe('The discounts that are applied to the line.'),
4088
- price: zod_1.z
3354
+ .describe('The feature the customer is entitled to use.'),
3355
+ price: zod_1.z
3356
+ .discriminatedUnion('type', [
3357
+ zod_1.z
4089
3358
  .object({
4090
3359
  amount: zod_1.z
4091
3360
  .string()
4092
- .regex(exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpSeven)
3361
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne)
4093
3362
  .describe('Numeric represents an arbitrary precision number.')
4094
3363
  .describe('The amount of the flat price.'),
4095
3364
  paymentTerm: zod_1.z
4096
3365
  .enum(['in_advance', 'in_arrears'])
4097
3366
  .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
4098
- .default(exports.updateInvoiceBodyLinesItemRateCardPricePaymentTermDefaultTwo)
3367
+ .default(exports.updateInvoiceBodyLinesItemRateCardPricePaymentTermDefault)
4099
3368
  .describe('The payment term of the flat price.\nDefaults to in advance.'),
4100
3369
  type: zod_1.z.enum(['flat']),
4101
3370
  })
4102
- .describe('Flat price with payment term.')
4103
- .nullable()
4104
- .describe('The price of the rate card.\nWhen null, the feature or service is free.'),
4105
- quantity: zod_1.z
4106
- .string()
4107
- .regex(exports.updateInvoiceBodyLinesItemRateCardQuantityRegExpOne)
4108
- .describe('Numeric represents an arbitrary precision number.')
4109
- .optional()
4110
- .describe('Quantity of the item being sold.\n\nDefault: 1'),
4111
- taxConfig: zod_1.z
3371
+ .describe('Flat price with payment term.'),
3372
+ zod_1.z
4112
3373
  .object({
4113
- behavior: zod_1.z
4114
- .enum(['inclusive', 'exclusive'])
4115
- .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
3374
+ amount: zod_1.z
3375
+ .string()
3376
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree)
3377
+ .describe('Numeric represents an arbitrary precision number.')
3378
+ .describe('The amount of the unit price.'),
3379
+ maximumAmount: zod_1.z
3380
+ .string()
3381
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne)
3382
+ .describe('Numeric represents an arbitrary precision number.')
4116
3383
  .optional()
4117
- .describe("Tax behavior.\n\nIf not specified the billing profile is used to determine the tax behavior.\nIf not specified in the billing profile, the provider's default behavior is used."),
4118
- customInvoicing: zod_1.z
4119
- .object({
4120
- code: zod_1.z
4121
- .string()
4122
- .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
4123
- })
4124
- .describe('Custom invoicing tax config.')
3384
+ .describe('The customer is limited to spend at most the amount.'),
3385
+ minimumAmount: zod_1.z
3386
+ .string()
3387
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne)
3388
+ .describe('Numeric represents an arbitrary precision number.')
4125
3389
  .optional()
4126
- .describe('Custom invoicing tax config.'),
4127
- stripe: zod_1.z
3390
+ .describe('The customer is committed to spend at least the amount.'),
3391
+ type: zod_1.z.enum(['unit']),
3392
+ })
3393
+ .describe('Unit price with spend commitments.'),
3394
+ zod_1.z
3395
+ .object({
3396
+ maximumAmount: zod_1.z
3397
+ .string()
3398
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree)
3399
+ .describe('Numeric represents an arbitrary precision number.')
3400
+ .optional()
3401
+ .describe('The customer is limited to spend at most the amount.'),
3402
+ minimumAmount: zod_1.z
3403
+ .string()
3404
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree)
3405
+ .describe('Numeric represents an arbitrary precision number.')
3406
+ .optional()
3407
+ .describe('The customer is committed to spend at least the amount.'),
3408
+ mode: zod_1.z
3409
+ .enum(['volume', 'graduated'])
3410
+ .describe('The mode of the tiered price.')
3411
+ .describe('Defines if the tiering mode is volume-based or graduated:\n- In `volume`-based tiering, the maximum quantity within a period determines the per unit price.\n- In `graduated` tiering, pricing can change as the quantity grows.'),
3412
+ tiers: zod_1.z
3413
+ .array(zod_1.z
4128
3414
  .object({
4129
- code: zod_1.z
3415
+ flatPrice: zod_1.z
3416
+ .object({
3417
+ amount: zod_1.z
3418
+ .string()
3419
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne)
3420
+ .describe('Numeric represents an arbitrary precision number.')
3421
+ .describe('The amount of the flat price.'),
3422
+ type: zod_1.z
3423
+ .enum(['flat'])
3424
+ .describe('The type of the price.'),
3425
+ })
3426
+ .describe('Flat price.')
3427
+ .nullable()
3428
+ .describe('The flat price component of the tier.'),
3429
+ unitPrice: zod_1.z
3430
+ .object({
3431
+ amount: zod_1.z
3432
+ .string()
3433
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne)
3434
+ .describe('Numeric represents an arbitrary precision number.')
3435
+ .describe('The amount of the unit price.'),
3436
+ type: zod_1.z
3437
+ .enum(['unit'])
3438
+ .describe('The type of the price.'),
3439
+ })
3440
+ .describe('Unit price.')
3441
+ .nullable()
3442
+ .describe('The unit price component of the tier.'),
3443
+ upToAmount: zod_1.z
4130
3444
  .string()
4131
- .regex(exports.updateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne)
4132
- .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
3445
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne)
3446
+ .describe('Numeric represents an arbitrary precision number.')
3447
+ .optional()
3448
+ .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
4133
3449
  })
4134
- .describe('The tax config for Stripe.')
3450
+ .describe('A price tier.\nAt least one price component is required in each tier.'))
3451
+ .min(1)
3452
+ .describe('The tiers of the tiered price.\nAt least one price component is required in each tier.'),
3453
+ type: zod_1.z.enum(['tiered']),
3454
+ })
3455
+ .describe('Tiered price with spend commitments.'),
3456
+ zod_1.z
3457
+ .object({
3458
+ maximumAmount: zod_1.z
3459
+ .string()
3460
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive)
3461
+ .describe('Numeric represents an arbitrary precision number.')
4135
3462
  .optional()
4136
- .describe('Stripe tax config.'),
3463
+ .describe('The customer is limited to spend at most the amount.'),
3464
+ minimumAmount: zod_1.z
3465
+ .string()
3466
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive)
3467
+ .describe('Numeric represents an arbitrary precision number.')
3468
+ .optional()
3469
+ .describe('The customer is committed to spend at least the amount.'),
3470
+ multiplier: zod_1.z
3471
+ .string()
3472
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne)
3473
+ .describe('Numeric represents an arbitrary precision number.')
3474
+ .default(exports.updateInvoiceBodyLinesItemRateCardPriceMultiplierDefault)
3475
+ .describe('The multiplier to apply to the base price to get the dynamic price.\n\nExamples:\n- 0.0: the price is zero\n- 0.5: the price is 50% of the base price\n- 1.0: the price is the same as the base price\n- 1.5: the price is 150% of the base price'),
3476
+ type: zod_1.z.enum(['dynamic']),
4137
3477
  })
4138
- .describe('Set of provider specific tax configs.')
4139
- .optional()
4140
- .describe('The tax config of the rate card.\nWhen undefined, the tax config of the feature or the default tax config of the plan is used.'),
4141
- })
4142
- .describe('InvoiceFlatFeeRateCard represents the rate card (intent) for a flat fee line.')
4143
- .optional()
4144
- .describe('The rate card that is used for this line.'),
3478
+ .describe('Dynamic price with spend commitments.'),
3479
+ zod_1.z
3480
+ .object({
3481
+ amount: zod_1.z
3482
+ .string()
3483
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive)
3484
+ .describe('Numeric represents an arbitrary precision number.')
3485
+ .describe('The price of one package.'),
3486
+ maximumAmount: zod_1.z
3487
+ .string()
3488
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven)
3489
+ .describe('Numeric represents an arbitrary precision number.')
3490
+ .optional()
3491
+ .describe('The customer is limited to spend at most the amount.'),
3492
+ minimumAmount: zod_1.z
3493
+ .string()
3494
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven)
3495
+ .describe('Numeric represents an arbitrary precision number.')
3496
+ .optional()
3497
+ .describe('The customer is committed to spend at least the amount.'),
3498
+ quantityPerPackage: zod_1.z
3499
+ .string()
3500
+ .regex(exports.updateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne)
3501
+ .describe('Numeric represents an arbitrary precision number.')
3502
+ .describe('The quantity per package.'),
3503
+ type: zod_1.z.enum(['package']),
3504
+ })
3505
+ .describe('Package price with spend commitments.'),
3506
+ ])
3507
+ .describe('The price of the usage based rate card.')
3508
+ .nullable()
3509
+ .describe('The price of the rate card.\nWhen null, the feature or service is free.'),
4145
3510
  taxConfig: zod_1.z
4146
3511
  .object({
4147
3512
  behavior: zod_1.z
@@ -4162,7 +3527,7 @@ exports.updateInvoiceBody = zod_1.z
4162
3527
  .object({
4163
3528
  code: zod_1.z
4164
3529
  .string()
4165
- .regex(exports.updateInvoiceBodyLinesItemTaxConfigStripeCodeRegExpOne)
3530
+ .regex(exports.updateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp)
4166
3531
  .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
4167
3532
  })
4168
3533
  .describe('The tax config for Stripe.')
@@ -4171,12 +3536,43 @@ exports.updateInvoiceBody = zod_1.z
4171
3536
  })
4172
3537
  .describe('Set of provider specific tax configs.')
4173
3538
  .optional()
4174
- .describe('Tax config specify the tax configuration for this line.'),
4175
- type: zod_1.z.enum(['flat_fee']),
3539
+ .describe('The tax config of the rate card.\nWhen undefined, the tax config of the feature or the default tax config of the plan is used.'),
4176
3540
  })
4177
- .describe('InvoiceFlatFeeLineReplaceUpdate represents the update model for a flat fee invoice line.\n\nThis type makes ID optional to allow for creating new lines as part of the update.'),
4178
- ])
4179
- .describe('InvoiceLineReplaceUpdate represents the update model for an invoice line.'))
3541
+ .describe('InvoiceUsageBasedRateCard represents the rate card (intent) for an usage-based line.')
3542
+ .optional()
3543
+ .describe('The rate card that is used for this line.\n\nThe rate card captures the intent of the price and discounts for the usage-based item.'),
3544
+ taxConfig: zod_1.z
3545
+ .object({
3546
+ behavior: zod_1.z
3547
+ .enum(['inclusive', 'exclusive'])
3548
+ .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
3549
+ .optional()
3550
+ .describe("Tax behavior.\n\nIf not specified the billing profile is used to determine the tax behavior.\nIf not specified in the billing profile, the provider's default behavior is used."),
3551
+ customInvoicing: zod_1.z
3552
+ .object({
3553
+ code: zod_1.z
3554
+ .string()
3555
+ .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
3556
+ })
3557
+ .describe('Custom invoicing tax config.')
3558
+ .optional()
3559
+ .describe('Custom invoicing tax config.'),
3560
+ stripe: zod_1.z
3561
+ .object({
3562
+ code: zod_1.z
3563
+ .string()
3564
+ .regex(exports.updateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp)
3565
+ .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
3566
+ })
3567
+ .describe('The tax config for Stripe.')
3568
+ .optional()
3569
+ .describe('Stripe tax config.'),
3570
+ })
3571
+ .describe('Set of provider specific tax configs.')
3572
+ .optional()
3573
+ .describe('Tax config specify the tax configuration for this line.'),
3574
+ })
3575
+ .describe('InvoiceLineReplaceUpdate represents the update model for an UBP invoice line.\n\nThis type makes ID optional to allow for creating new lines as part of the update.'))
4180
3576
  .describe('The lines included in the invoice.'),
4181
3577
  metadata: zod_1.z
4182
3578
  .record(zod_1.z.string(), zod_1.z.string())