@openmeter/sdk 1.0.0-beta-e49464db8b22 → 1.0.0-beta-5e4e38ebc196

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.
@@ -3,28 +3,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createAddonBodyRateCardsItemPriceMinimumAmountRegExpOne = exports.createAddonBodyRateCardsItemPriceAmountRegExpFive = exports.createAddonBodyRateCardsItemPricePaymentTermDefaultTwo = exports.createAddonBodyRateCardsItemPriceAmountRegExpThree = exports.createAddonBodyRateCardsItemTaxConfigStripeCodeRegExpOne = exports.createAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.createAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.createAddonBodyRateCardsItemFeatureKeyRegExpOne = exports.createAddonBodyRateCardsItemFeatureKeyMaxOne = exports.createAddonBodyRateCardsItemDescriptionMaxOne = exports.createAddonBodyRateCardsItemNameMaxOne = exports.createAddonBodyRateCardsItemKeyRegExpOne = exports.createAddonBodyRateCardsItemKeyMaxOne = exports.createAddonBodyRateCardsItemDiscountsUsageQuantityRegExpOne = exports.createAddonBodyRateCardsItemPricePaymentTermDefault = exports.createAddonBodyRateCardsItemPriceAmountRegExpOne = exports.createAddonBodyRateCardsItemTaxConfigStripeCodeRegExp = exports.createAddonBodyRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.createAddonBodyRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.createAddonBodyRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.createAddonBodyRateCardsItemFeatureKeyRegExp = exports.createAddonBodyRateCardsItemFeatureKeyMax = exports.createAddonBodyRateCardsItemDescriptionMax = exports.createAddonBodyRateCardsItemNameMax = exports.createAddonBodyRateCardsItemKeyRegExp = exports.createAddonBodyRateCardsItemKeyMax = exports.createAddonBodyCurrencyDefault = exports.createAddonBodyCurrencyRegExpOne = exports.createAddonBodyCurrencyMaxOne = exports.createAddonBodyCurrencyMinOne = exports.createAddonBodyKeyRegExp = exports.createAddonBodyKeyMax = exports.createAddonBodyDescriptionMax = exports.createAddonBodyNameMax = exports.listAddonsQueryParams = exports.listAddonsQueryPageSizeMax = exports.listAddonsQueryPageSizeDefault = exports.listAddonsQueryPageDefault = exports.listAddonsQueryCurrencyItemRegExp = exports.listAddonsQueryCurrencyItemMax = exports.listAddonsQueryCurrencyItemMin = exports.listAddonsQueryKeyItemRegExp = exports.listAddonsQueryKeyItemMax = exports.listAddonsQueryIdItemRegExp = exports.listAddonsQueryIncludeDeletedDefault = void 0;
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
- 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 = exports.simulateInvoiceBodyNumberMaxOne = exports.simulateInvoiceParams = exports.simulateInvoicePathCustomerIdRegExp = 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.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 = 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 = void 0;
8
- exports.createPendingInvoiceLineBodyRateCardPriceMultiplierRegExpOne = exports.createPendingInvoiceLineBodyRateCardPriceMaximumAmountRegExpThree = exports.createPendingInvoiceLineBodyRateCardPriceMinimumAmountRegExpThree = exports.createPendingInvoiceLineBodyRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.createPendingInvoiceLineBodyRateCardPriceTiersItemFlatPriceAmountRegExpOne = exports.createPendingInvoiceLineBodyRateCardPriceTiersItemUpToAmountRegExpOne = exports.createPendingInvoiceLineBodyRateCardPriceMaximumAmountRegExpOne = exports.createPendingInvoiceLineBodyRateCardPriceMinimumAmountRegExpOne = exports.createPendingInvoiceLineBodyRateCardPriceAmountRegExpThree = exports.createPendingInvoiceLineBodyRateCardPricePaymentTermDefault = exports.createPendingInvoiceLineBodyRateCardPriceAmountRegExpOne = exports.createPendingInvoiceLineBodyRateCardTaxConfigStripeCodeRegExp = exports.createPendingInvoiceLineBodyRateCardFeatureKeyRegExp = exports.createPendingInvoiceLineBodyRateCardFeatureKeyMax = exports.createPendingInvoiceLineBodyFeatureKeyRegExp = exports.createPendingInvoiceLineBodyFeatureKeyMax = exports.createPendingInvoiceLineBodyPriceMaximumAmountRegExpSeven = exports.createPendingInvoiceLineBodyPriceMinimumAmountRegExpSeven = exports.createPendingInvoiceLineBodyPriceQuantityPerPackageRegExpOne = exports.createPendingInvoiceLineBodyPriceAmountRegExpFive = exports.createPendingInvoiceLineBodyPriceMaximumAmountRegExpFive = exports.createPendingInvoiceLineBodyPriceMinimumAmountRegExpFive = exports.createPendingInvoiceLineBodyPriceMultiplierDefault = exports.createPendingInvoiceLineBodyPriceMultiplierRegExpOne = exports.createPendingInvoiceLineBodyPriceMaximumAmountRegExpThree = exports.createPendingInvoiceLineBodyPriceMinimumAmountRegExpThree = exports.createPendingInvoiceLineBodyPriceTiersItemUnitPriceAmountRegExpOne = exports.createPendingInvoiceLineBodyPriceTiersItemFlatPriceAmountRegExpOne = exports.createPendingInvoiceLineBodyPriceTiersItemUpToAmountRegExpOne = exports.createPendingInvoiceLineBodyPriceMaximumAmountRegExpOne = exports.createPendingInvoiceLineBodyPriceMinimumAmountRegExpOne = exports.createPendingInvoiceLineBodyPriceAmountRegExpThree = exports.createPendingInvoiceLineBodyPricePaymentTermDefault = exports.createPendingInvoiceLineBodyPriceAmountRegExpOne = exports.createPendingInvoiceLineBodyTaxConfigStripeCodeRegExp = exports.createPendingInvoiceLineBodyCurrencyRegExpOne = exports.createPendingInvoiceLineBodyCurrencyMaxOne = exports.createPendingInvoiceLineBodyCurrencyMinOne = exports.createPendingInvoiceLineBodyDescriptionMax = exports.createPendingInvoiceLineBodyNameMax = exports.invoicePendingLinesActionBody = exports.invoicePendingLinesActionBodyCustomerIdRegExp = exports.invoicePendingLinesActionBodyFiltersLineIdsItemRegExp = exports.listInvoicesQueryParams = exports.listInvoicesQueryPageSizeMax = exports.listInvoicesQueryPageSizeDefault = exports.listInvoicesQueryPageDefault = exports.listInvoicesQueryCustomersItemRegExp = exports.simulateInvoiceBody = exports.simulateInvoiceBodyLinesItemIdRegExpOne = void 0;
9
- exports.updateInvoiceBodyCustomerAddressesItemCountryRegExpOne = exports.updateInvoiceBodyCustomerAddressesItemCountryMaxOne = exports.updateInvoiceBodyCustomerAddressesItemCountryMinOne = exports.updateInvoiceBodyCustomerTaxIdCodeMaxOne = exports.updateInvoiceBodySupplierAddressesMax = exports.updateInvoiceBodySupplierAddressesItemCountryRegExpOne = exports.updateInvoiceBodySupplierAddressesItemCountryMaxOne = exports.updateInvoiceBodySupplierAddressesItemCountryMinOne = exports.updateInvoiceBodySupplierTaxIdCodeMaxOne = exports.updateInvoiceBodyDescriptionMax = exports.updateInvoiceParams = exports.updateInvoicePathInvoiceIdRegExp = exports.deleteInvoiceParams = exports.deleteInvoicePathInvoiceIdRegExp = exports.getInvoiceQueryParams = exports.getInvoiceQueryIncludeDeletedLinesDefault = exports.getInvoiceQueryExpandDefault = exports.getInvoiceParams = exports.getInvoicePathInvoiceIdRegExp = exports.createPendingInvoiceLineBody = exports.createPendingInvoiceLineBodyItem = exports.createPendingInvoiceLineBodyCustomerIdRegExpOne = exports.createPendingInvoiceLineBodyCategoryDefault = exports.createPendingInvoiceLineBodyRateCardDiscountsUsageCorrelationIdRegExpOne = exports.createPendingInvoiceLineBodyRateCardDiscountsUsageQuantityRegExpThree = exports.createPendingInvoiceLineBodyRateCardDiscountsPercentageCorrelationIdRegExpOne = exports.createPendingInvoiceLineBodyRateCardQuantityRegExpOne = exports.createPendingInvoiceLineBodyRateCardPricePaymentTermDefaultTwo = exports.createPendingInvoiceLineBodyRateCardPriceAmountRegExpSeven = exports.createPendingInvoiceLineBodyRateCardTaxConfigStripeCodeRegExpOne = exports.createPendingInvoiceLineBodyQuantityRegExpOne = exports.createPendingInvoiceLineBodyPaymentTermDefault = exports.createPendingInvoiceLineBodyPerUnitAmountRegExpOne = exports.createPendingInvoiceLineBodyTaxConfigStripeCodeRegExpOne = exports.createPendingInvoiceLineBodyCurrencyRegExpThree = exports.createPendingInvoiceLineBodyCurrencyMaxThree = exports.createPendingInvoiceLineBodyCurrencyMinThree = exports.createPendingInvoiceLineBodyDescriptionMaxOne = exports.createPendingInvoiceLineBodyNameMaxOne = exports.createPendingInvoiceLineBodyCustomerIdRegExp = exports.createPendingInvoiceLineBodyRateCardDiscountsUsageCorrelationIdRegExp = exports.createPendingInvoiceLineBodyRateCardDiscountsUsageQuantityRegExpOne = exports.createPendingInvoiceLineBodyRateCardDiscountsPercentageCorrelationIdRegExp = exports.createPendingInvoiceLineBodyRateCardPriceMaximumAmountRegExpSeven = exports.createPendingInvoiceLineBodyRateCardPriceMinimumAmountRegExpSeven = exports.createPendingInvoiceLineBodyRateCardPriceQuantityPerPackageRegExpOne = exports.createPendingInvoiceLineBodyRateCardPriceAmountRegExpFive = exports.createPendingInvoiceLineBodyRateCardPriceMaximumAmountRegExpFive = exports.createPendingInvoiceLineBodyRateCardPriceMinimumAmountRegExpFive = exports.createPendingInvoiceLineBodyRateCardPriceMultiplierDefault = void 0;
10
- exports.updateInvoiceBodyLinesItemNameMaxOne = exports.updateInvoiceBodyLinesItemIdRegExp = exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = exports.updateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive = exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive = exports.updateInvoiceBodyLinesItemRateCardPriceMultiplierDefault = exports.updateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree = exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree = exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree = exports.updateInvoiceBodyLinesItemRateCardPricePaymentTermDefault = exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp = exports.updateInvoiceBodyLinesItemRateCardFeatureKeyRegExp = exports.updateInvoiceBodyLinesItemRateCardFeatureKeyMax = exports.updateInvoiceBodyLinesItemFeatureKeyRegExp = exports.updateInvoiceBodyLinesItemFeatureKeyMax = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne = exports.updateInvoiceBodyLinesItemPriceAmountRegExpFive = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive = exports.updateInvoiceBodyLinesItemPriceMultiplierDefault = exports.updateInvoiceBodyLinesItemPriceMultiplierRegExpOne = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree = exports.updateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceAmountRegExpThree = exports.updateInvoiceBodyLinesItemPricePaymentTermDefault = exports.updateInvoiceBodyLinesItemPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp = exports.updateInvoiceBodyLinesItemDescriptionMax = exports.updateInvoiceBodyLinesItemNameMax = exports.updateInvoiceBodyCustomerAddressesMax = void 0;
11
- exports.createBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = exports.createBillingProfileBodyWorkflowInvoicingDueAfterDefault = exports.createBillingProfileBodyWorkflowInvoicingDraftPeriodDefault = exports.createBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault = exports.createBillingProfileBodyWorkflowCollectionIntervalDefault = exports.createBillingProfileBodyWorkflowCollectionAlignmentDefault = exports.createBillingProfileBodySupplierAddressesMax = exports.createBillingProfileBodySupplierAddressesItemCountryRegExpOne = exports.createBillingProfileBodySupplierAddressesItemCountryMaxOne = exports.createBillingProfileBodySupplierAddressesItemCountryMinOne = exports.createBillingProfileBodySupplierTaxIdCodeMaxOne = exports.createBillingProfileBodyDescriptionMax = exports.createBillingProfileBodyNameMax = exports.listBillingProfilesQueryParams = exports.listBillingProfilesQueryPageSizeMax = exports.listBillingProfilesQueryPageSizeDefault = exports.listBillingProfilesQueryPageDefault = exports.listBillingProfilesQueryIncludeArchivedDefault = exports.voidInvoiceActionBody = exports.voidInvoiceActionBodyOverridesItemLineIdRegExp = exports.voidInvoiceActionParams = exports.voidInvoiceActionPathInvoiceIdRegExp = exports.recalculateInvoiceTaxActionParams = exports.recalculateInvoiceTaxActionPathInvoiceIdRegExp = exports.retryInvoiceActionParams = exports.retryInvoiceActionPathInvoiceIdRegExp = exports.approveInvoiceActionParams = exports.approveInvoiceActionPathInvoiceIdRegExp = exports.advanceInvoiceActionParams = exports.advanceInvoiceActionPathInvoiceIdRegExp = exports.updateInvoiceBody = exports.updateInvoiceBodyWorkflowWorkflowPaymentCollectionMethodDefault = exports.updateInvoiceBodyWorkflowWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = exports.updateInvoiceBodyWorkflowWorkflowInvoicingDueAfterDefault = exports.updateInvoiceBodyWorkflowWorkflowInvoicingDraftPeriodDefault = exports.updateInvoiceBodyWorkflowWorkflowInvoicingAutoAdvanceDefault = exports.updateInvoiceBodyLinesItemIdRegExpOne = exports.updateInvoiceBodyLinesItemCategoryDefault = exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne = exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree = exports.updateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne = exports.updateInvoiceBodyLinesItemRateCardQuantityRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPricePaymentTermDefaultTwo = exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpSeven = exports.updateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne = exports.updateInvoiceBodyLinesItemQuantityRegExpOne = exports.updateInvoiceBodyLinesItemPaymentTermDefault = exports.updateInvoiceBodyLinesItemPerUnitAmountRegExpOne = exports.updateInvoiceBodyLinesItemTaxConfigStripeCodeRegExpOne = exports.updateInvoiceBodyLinesItemDescriptionMaxOne = void 0;
12
- exports.getCustomerPathCustomerIdOrKeyMax = exports.listCustomersQueryParams = exports.listCustomersQueryIncludeDeletedDefault = exports.listCustomersQueryPageSizeMax = exports.listCustomersQueryPageSizeDefault = exports.listCustomersQueryPageDefault = exports.createCustomerBody = exports.createCustomerBodyBillingAddressCountryRegExpOne = exports.createCustomerBodyBillingAddressCountryMaxOne = exports.createCustomerBodyBillingAddressCountryMinOne = exports.createCustomerBodyCurrencyRegExpOne = exports.createCustomerBodyCurrencyMaxOne = exports.createCustomerBodyCurrencyMinOne = exports.createCustomerBodyUsageAttributionSubjectKeysMax = exports.createCustomerBodyKeyMax = exports.createCustomerBodyDescriptionMax = exports.createCustomerBodyNameMax = exports.updateBillingProfileBody = exports.updateBillingProfileBodyWorkflowTaxEnforcedDefault = exports.updateBillingProfileBodyWorkflowTaxEnabledDefault = exports.updateBillingProfileBodyWorkflowPaymentCollectionMethodDefault = exports.updateBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = exports.updateBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = exports.updateBillingProfileBodyWorkflowInvoicingDueAfterDefault = exports.updateBillingProfileBodyWorkflowInvoicingDraftPeriodDefault = exports.updateBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault = exports.updateBillingProfileBodyWorkflowCollectionIntervalDefault = exports.updateBillingProfileBodyWorkflowCollectionAlignmentDefault = exports.updateBillingProfileBodySupplierAddressesMax = exports.updateBillingProfileBodySupplierAddressesItemCountryRegExpOne = exports.updateBillingProfileBodySupplierAddressesItemCountryMaxOne = exports.updateBillingProfileBodySupplierAddressesItemCountryMinOne = exports.updateBillingProfileBodySupplierTaxIdCodeMaxOne = exports.updateBillingProfileBodyDescriptionMax = exports.updateBillingProfileBodyNameMax = exports.updateBillingProfileParams = exports.updateBillingProfilePathIdRegExp = exports.getBillingProfileQueryParams = exports.getBillingProfileParams = exports.getBillingProfilePathIdRegExp = exports.deleteBillingProfileParams = exports.deleteBillingProfilePathIdRegExp = exports.createBillingProfileBody = exports.createBillingProfileBodyAppsPaymentRegExpOne = exports.createBillingProfileBodyAppsInvoicingRegExpOne = exports.createBillingProfileBodyAppsTaxRegExpOne = exports.createBillingProfileBodyWorkflowTaxEnforcedDefault = exports.createBillingProfileBodyWorkflowTaxEnabledDefault = exports.createBillingProfileBodyWorkflowPaymentCollectionMethodDefault = exports.createBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = void 0;
13
- exports.deleteCustomerAppDataPathCustomerIdOrKeyRegExp = exports.deleteCustomerAppDataPathCustomerIdOrKeyMax = exports.upsertCustomerAppDataBody = exports.upsertCustomerAppDataBodyItem = exports.upsertCustomerAppDataBodyIdRegExpTwo = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExpOne = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMaxOne = exports.upsertCustomerAppDataBodyAppDescriptionMaxOne = exports.upsertCustomerAppDataBodyAppNameMaxOne = exports.upsertCustomerAppDataBodyAppIdRegExpOne = exports.upsertCustomerAppDataBodyIdRegExpOne = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExp = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMax = exports.upsertCustomerAppDataBodyAppDescriptionMax = exports.upsertCustomerAppDataBodyAppNameMax = exports.upsertCustomerAppDataBodyAppIdRegExp = exports.upsertCustomerAppDataBodyIdRegExp = exports.upsertCustomerAppDataParams = exports.upsertCustomerAppDataPathCustomerIdOrKeyRegExp = exports.upsertCustomerAppDataPathCustomerIdOrKeyMax = exports.listCustomerAppDataQueryParams = exports.listCustomerAppDataQueryPageSizeMax = exports.listCustomerAppDataQueryPageSizeDefault = exports.listCustomerAppDataQueryPageDefault = exports.listCustomerAppDataParams = exports.listCustomerAppDataPathCustomerIdOrKeyRegExp = exports.listCustomerAppDataPathCustomerIdOrKeyMax = exports.getCustomerAccessParams = exports.getCustomerAccessPathCustomerIdOrKeyRegExp = exports.getCustomerAccessPathCustomerIdOrKeyMax = exports.deleteCustomerParams = exports.deleteCustomerPathCustomerIdOrKeyRegExp = exports.deleteCustomerPathCustomerIdOrKeyMax = exports.updateCustomerBody = exports.updateCustomerBodyBillingAddressCountryRegExpOne = exports.updateCustomerBodyBillingAddressCountryMaxOne = exports.updateCustomerBodyBillingAddressCountryMinOne = exports.updateCustomerBodyCurrencyRegExpOne = exports.updateCustomerBodyCurrencyMaxOne = exports.updateCustomerBodyCurrencyMinOne = exports.updateCustomerBodyUsageAttributionSubjectKeysMax = exports.updateCustomerBodyKeyMax = exports.updateCustomerBodyDescriptionMax = exports.updateCustomerBodyNameMax = exports.updateCustomerParams = exports.updateCustomerPathCustomerIdOrKeyRegExp = exports.updateCustomerPathCustomerIdOrKeyMax = exports.getCustomerQueryParams = exports.getCustomerParams = exports.getCustomerPathCustomerIdOrKeyRegExp = void 0;
14
- exports.listGrantsQueryIncludeDeletedDefault = exports.deleteFeatureParams = exports.getFeatureParams = exports.createFeatureBody = exports.createFeatureBodyMeterSlugRegExp = exports.createFeatureBodyMeterSlugMax = exports.createFeatureBodyKeyRegExp = exports.createFeatureBodyKeyMax = exports.listFeaturesQueryParams = exports.listFeaturesQueryLimitMax = exports.listFeaturesQueryLimitDefault = exports.listFeaturesQueryOffsetMin = exports.listFeaturesQueryOffsetDefault = exports.listFeaturesQueryPageSizeMax = exports.listFeaturesQueryPageSizeDefault = exports.listFeaturesQueryPageDefault = exports.listFeaturesQueryIncludeArchivedDefault = exports.ingestEventsBody = exports.ingestEventsBodyItemSpecversionDefault = exports.ingestEventsBodySpecversionDefault = exports.listEventsQueryParams = exports.listEventsQueryLimitMax = exports.listEventsQueryLimitDefault = exports.listEventsQueryClientIdMax = exports.getEntitlementByIdParams = exports.getEntitlementByIdPathEntitlementIdRegExp = exports.listEntitlementsQueryParams = exports.listEntitlementsQueryLimitMax = exports.listEntitlementsQueryLimitDefault = exports.listEntitlementsQueryOffsetMin = exports.listEntitlementsQueryOffsetDefault = exports.listEntitlementsQueryPageSizeMax = exports.listEntitlementsQueryPageSizeDefault = exports.listEntitlementsQueryPageDefault = exports.listEntitlementsQueryExcludeInactiveDefault = exports.listCustomerSubscriptionsQueryParams = exports.listCustomerSubscriptionsQueryPageSizeMax = exports.listCustomerSubscriptionsQueryPageSizeDefault = exports.listCustomerSubscriptionsQueryPageDefault = exports.listCustomerSubscriptionsParams = exports.listCustomerSubscriptionsPathCustomerIdOrKeyRegExp = exports.listCustomerSubscriptionsPathCustomerIdOrKeyMax = exports.getCustomerEntitlementValueQueryParams = exports.getCustomerEntitlementValueParams = exports.getCustomerEntitlementValuePathFeatureKeyRegExp = exports.getCustomerEntitlementValuePathFeatureKeyMax = exports.getCustomerEntitlementValuePathCustomerIdOrKeyRegExp = exports.getCustomerEntitlementValuePathCustomerIdOrKeyMax = exports.deleteCustomerAppDataParams = exports.deleteCustomerAppDataPathAppIdRegExp = void 0;
15
- exports.queryMeterQueryParams = exports.queryMeterQueryWindowTimeZoneDefault = exports.queryMeterQueryClientIdMax = exports.queryMeterParams = exports.queryMeterPathMeterIdOrSlugRegExp = exports.queryMeterPathMeterIdOrSlugMax = exports.deleteMeterParams = exports.deleteMeterPathMeterIdOrSlugRegExp = exports.deleteMeterPathMeterIdOrSlugMax = exports.updateMeterBody = exports.updateMeterBodyNameMax = exports.updateMeterBodyDescriptionMax = exports.updateMeterParams = exports.updateMeterPathMeterIdOrSlugRegExp = exports.updateMeterPathMeterIdOrSlugMax = exports.getMeterParams = exports.getMeterPathMeterIdOrSlugRegExp = exports.getMeterPathMeterIdOrSlugMax = exports.createMeterBody = exports.createMeterBodySlugRegExp = exports.createMeterBodySlugMax = exports.createMeterBodyNameMax = exports.createMeterBodyDescriptionMax = exports.listMetersQueryParams = exports.listMetersQueryIncludeDeletedDefault = exports.listMetersQueryPageSizeMax = exports.listMetersQueryPageSizeDefault = exports.listMetersQueryPageDefault = exports.marketplaceOAuth2InstallAuthorizeQueryParams = exports.marketplaceOAuth2InstallAuthorizeParams = exports.marketplaceOAuth2InstallGetURLParams = exports.marketplaceAppAPIKeyInstallBody = exports.marketplaceAppAPIKeyInstallParams = exports.marketplaceAppInstallBody = exports.marketplaceAppInstallParams = exports.getMarketplaceListingParams = exports.listMarketplaceListingsQueryParams = exports.listMarketplaceListingsQueryPageSizeMax = exports.listMarketplaceListingsQueryPageSizeDefault = exports.listMarketplaceListingsQueryPageDefault = exports.getProgressParams = exports.voidGrantParams = exports.listGrantsQueryParams = exports.listGrantsQueryLimitMax = exports.listGrantsQueryLimitDefault = exports.listGrantsQueryOffsetMin = exports.listGrantsQueryOffsetDefault = exports.listGrantsQueryPageSizeMax = exports.listGrantsQueryPageSizeDefault = exports.listGrantsQueryPageDefault = void 0;
16
- exports.createNotificationRuleBodyDisabledDefaultOne = exports.createNotificationRuleBodyFeaturesItemRegExp = exports.createNotificationRuleBodyFeaturesItemMax = exports.createNotificationRuleBodyChannelsItemRegExp = exports.createNotificationRuleBodyThresholdsMax = exports.createNotificationRuleBodyDisabledDefault = exports.listNotificationRulesQueryParams = exports.listNotificationRulesQueryPageSizeMax = exports.listNotificationRulesQueryPageSizeDefault = exports.listNotificationRulesQueryPageDefault = exports.listNotificationRulesQueryFeatureItemRegExp = exports.listNotificationRulesQueryFeatureItemMax = exports.listNotificationRulesQueryIncludeDisabledDefault = exports.listNotificationRulesQueryIncludeDeletedDefault = exports.getNotificationEventParams = exports.listNotificationEventsQueryParams = exports.listNotificationEventsQueryPageSizeMax = exports.listNotificationEventsQueryPageSizeDefault = exports.listNotificationEventsQueryPageDefault = exports.listNotificationEventsQueryChannelItemRegExp = exports.listNotificationEventsQueryRuleItemRegExp = exports.deleteNotificationChannelParams = exports.deleteNotificationChannelPathChannelIdRegExp = exports.getNotificationChannelParams = exports.getNotificationChannelPathChannelIdRegExp = exports.updateNotificationChannelBody = exports.updateNotificationChannelBodySigningSecretRegExp = exports.updateNotificationChannelBodyDisabledDefault = exports.updateNotificationChannelParams = exports.updateNotificationChannelPathChannelIdRegExp = exports.createNotificationChannelBody = exports.createNotificationChannelBodySigningSecretRegExp = exports.createNotificationChannelBodyDisabledDefault = exports.listNotificationChannelsQueryParams = exports.listNotificationChannelsQueryPageSizeMax = exports.listNotificationChannelsQueryPageSizeDefault = exports.listNotificationChannelsQueryPageDefault = exports.listNotificationChannelsQueryIncludeDisabledDefault = exports.listNotificationChannelsQueryIncludeDeletedDefault = exports.listMeterSubjectsParams = exports.listMeterSubjectsPathMeterIdOrSlugRegExp = exports.listMeterSubjectsPathMeterIdOrSlugMax = exports.queryMeterPostBody = exports.queryMeterPostBodyGroupByMax = exports.queryMeterPostBodySubjectMax = exports.queryMeterPostBodyWindowTimeZoneDefault = exports.queryMeterPostBodyClientIdMax = exports.queryMeterPostParams = exports.queryMeterPostPathMeterIdOrSlugRegExp = exports.queryMeterPostPathMeterIdOrSlugMax = void 0;
17
- exports.createPlanBodyPhasesItemKeyMax = exports.createPlanBodyCurrencyDefault = exports.createPlanBodyCurrencyRegExpOne = exports.createPlanBodyCurrencyMaxOne = exports.createPlanBodyCurrencyMinOne = exports.createPlanBodyKeyRegExp = exports.createPlanBodyKeyMax = exports.createPlanBodyDescriptionMax = exports.createPlanBodyNameMax = exports.listPlansQueryParams = exports.listPlansQueryPageSizeMax = exports.listPlansQueryPageSizeDefault = exports.listPlansQueryPageDefault = exports.listPlansQueryCurrencyItemRegExp = exports.listPlansQueryCurrencyItemMax = exports.listPlansQueryCurrencyItemMin = exports.listPlansQueryKeyItemRegExp = exports.listPlansQueryKeyItemMax = exports.listPlansQueryIdItemRegExp = exports.listPlansQueryIncludeDeletedDefault = exports.testNotificationRuleParams = exports.testNotificationRulePathRuleIdRegExp = exports.deleteNotificationRuleParams = exports.deleteNotificationRulePathRuleIdRegExp = exports.getNotificationRuleParams = exports.getNotificationRulePathRuleIdRegExp = exports.updateNotificationRuleBody = exports.updateNotificationRuleBodyChannelsItemRegExpThree = exports.updateNotificationRuleBodyDisabledDefaultThree = exports.updateNotificationRuleBodyChannelsItemRegExpTwo = exports.updateNotificationRuleBodyDisabledDefaultTwo = exports.updateNotificationRuleBodyFeaturesItemRegExpOne = exports.updateNotificationRuleBodyFeaturesItemMaxOne = exports.updateNotificationRuleBodyChannelsItemRegExpOne = exports.updateNotificationRuleBodyDisabledDefaultOne = exports.updateNotificationRuleBodyFeaturesItemRegExp = exports.updateNotificationRuleBodyFeaturesItemMax = exports.updateNotificationRuleBodyChannelsItemRegExp = exports.updateNotificationRuleBodyThresholdsMax = exports.updateNotificationRuleBodyDisabledDefault = exports.updateNotificationRuleParams = exports.updateNotificationRulePathRuleIdRegExp = exports.createNotificationRuleBody = exports.createNotificationRuleBodyChannelsItemRegExpThree = exports.createNotificationRuleBodyDisabledDefaultThree = exports.createNotificationRuleBodyChannelsItemRegExpTwo = exports.createNotificationRuleBodyDisabledDefaultTwo = exports.createNotificationRuleBodyFeaturesItemRegExpOne = exports.createNotificationRuleBodyFeaturesItemMaxOne = exports.createNotificationRuleBodyChannelsItemRegExpOne = void 0;
18
- exports.createPlanBody = exports.createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.createPlanBodyPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.createPlanBodyPhasesItemRateCardsItemPriceMultiplierDefault = exports.createPlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive = exports.createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree = exports.createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne = exports.createPlanBodyPhasesItemRateCardsItemDescriptionMaxOne = exports.createPlanBodyPhasesItemRateCardsItemNameMaxOne = exports.createPlanBodyPhasesItemRateCardsItemKeyRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemKeyMaxOne = exports.createPlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemPricePaymentTermDefault = exports.createPlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne = exports.createPlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.createPlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyRegExp = exports.createPlanBodyPhasesItemRateCardsItemFeatureKeyMax = exports.createPlanBodyPhasesItemRateCardsItemDescriptionMax = exports.createPlanBodyPhasesItemRateCardsItemNameMax = exports.createPlanBodyPhasesItemRateCardsItemKeyRegExp = exports.createPlanBodyPhasesItemRateCardsItemKeyMax = exports.createPlanBodyPhasesItemDescriptionMax = exports.createPlanBodyPhasesItemNameMax = exports.createPlanBodyPhasesItemKeyRegExp = void 0;
19
- exports.updatePlanBodyPhasesItemRateCardsItemPriceMultiplierDefault = exports.updatePlanBodyPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpFive = exports.updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemDescriptionMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemNameMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemKeyRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemKeyMaxOne = exports.updatePlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPricePaymentTermDefault = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.updatePlanBodyPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyRegExp = exports.updatePlanBodyPhasesItemRateCardsItemFeatureKeyMax = exports.updatePlanBodyPhasesItemRateCardsItemDescriptionMax = exports.updatePlanBodyPhasesItemRateCardsItemNameMax = exports.updatePlanBodyPhasesItemRateCardsItemKeyRegExp = exports.updatePlanBodyPhasesItemRateCardsItemKeyMax = exports.updatePlanBodyPhasesItemDescriptionMax = exports.updatePlanBodyPhasesItemNameMax = exports.updatePlanBodyPhasesItemKeyRegExp = exports.updatePlanBodyPhasesItemKeyMax = exports.updatePlanBodyDescriptionMax = exports.updatePlanBodyNameMax = exports.updatePlanParams = exports.updatePlanPathPlanIdRegExp = exports.nextPlanParams = exports.nextPlanPathPlanIdOrKeyRegExp = exports.nextPlanPathPlanIdOrKeyMax = void 0;
20
- exports.queryPortalMeterQueryClientIdMax = exports.queryPortalMeterParams = exports.queryPortalMeterPathMeterSlugRegExp = exports.queryPortalMeterPathMeterSlugMax = exports.publishPlanParams = exports.publishPlanPathPlanIdRegExp = exports.archivePlanParams = exports.archivePlanPathPlanIdRegExp = exports.deletePlanAddonParams = exports.deletePlanAddonPathPlanAddonIdRegExp = exports.deletePlanAddonPathPlanIdRegExp = exports.getPlanAddonParams = exports.getPlanAddonPathPlanAddonIdRegExp = exports.getPlanAddonPathPlanAddonIdMax = exports.getPlanAddonPathPlanIdRegExp = exports.getPlanAddonPathPlanIdMax = exports.updatePlanAddonBody = exports.updatePlanAddonParams = exports.updatePlanAddonPathPlanAddonIdRegExp = exports.updatePlanAddonPathPlanIdRegExp = exports.createPlanAddonBody = exports.createPlanAddonBodyAddonIdRegExp = exports.createPlanAddonParams = exports.createPlanAddonPathPlanIdRegExp = exports.listPlanAddonsQueryParams = exports.listPlanAddonsQueryPageSizeMax = exports.listPlanAddonsQueryPageSizeDefault = exports.listPlanAddonsQueryPageDefault = exports.listPlanAddonsQueryKeyItemRegExp = exports.listPlanAddonsQueryKeyItemMax = exports.listPlanAddonsQueryIdItemRegExp = exports.listPlanAddonsQueryIncludeDeletedDefault = exports.listPlanAddonsParams = exports.listPlanAddonsPathPlanIdRegExp = exports.listPlanAddonsPathPlanIdMax = exports.deletePlanParams = exports.deletePlanPathPlanIdRegExp = exports.getPlanQueryParams = exports.getPlanQueryIncludeLatestDefault = exports.getPlanParams = exports.getPlanPathPlanIdRegExp = exports.getPlanPathPlanIdMax = exports.updatePlanBody = exports.updatePlanBodyPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.updatePlanBodyPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.updatePlanBodyPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.updatePlanBodyPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = void 0;
21
- exports.listSubjectEntitlementsQueryIncludeDeletedDefault = exports.listSubjectEntitlementsParams = exports.createEntitlementBody = exports.createEntitlementBodyFeatureIdRegExpTwo = exports.createEntitlementBodyFeatureKeyRegExpTwo = exports.createEntitlementBodyFeatureKeyMaxTwo = exports.createEntitlementBodyFeatureIdRegExpOne = exports.createEntitlementBodyFeatureKeyRegExpOne = exports.createEntitlementBodyFeatureKeyMaxOne = exports.createEntitlementBodyPreserveOverageAtResetDefault = exports.createEntitlementBodyIssueAfterResetPriorityMax = exports.createEntitlementBodyIssueAfterResetPriorityDefault = exports.createEntitlementBodyIssueAfterResetMin = exports.createEntitlementBodyIsUnlimitedDefault = exports.createEntitlementBodyIsSoftLimitDefault = exports.createEntitlementBodyFeatureIdRegExp = exports.createEntitlementBodyFeatureKeyRegExp = exports.createEntitlementBodyFeatureKeyMax = exports.createEntitlementParams = exports.deleteSubjectParams = exports.getSubjectParams = exports.upsertSubjectBody = exports.upsertSubjectBodyItem = exports.createStripeCheckoutSessionBody = exports.createStripeCheckoutSessionBodyOptionsCustomTextTermsOfServiceAcceptanceMessageMax = exports.createStripeCheckoutSessionBodyOptionsCustomTextSubmitMessageMax = exports.createStripeCheckoutSessionBodyOptionsCustomTextShippingAddressMessageMax = exports.createStripeCheckoutSessionBodyOptionsCustomTextAfterSubmitMessageMax = exports.createStripeCheckoutSessionBodyOptionsCurrencyRegExpOne = exports.createStripeCheckoutSessionBodyOptionsCurrencyMaxOne = exports.createStripeCheckoutSessionBodyOptionsCurrencyMinOne = exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryRegExpOne = exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryMaxOne = exports.createStripeCheckoutSessionBodyCustomerBillingAddressCountryMinOne = exports.createStripeCheckoutSessionBodyCustomerCurrencyRegExpOne = exports.createStripeCheckoutSessionBodyCustomerCurrencyMaxOne = exports.createStripeCheckoutSessionBodyCustomerCurrencyMinOne = exports.createStripeCheckoutSessionBodyCustomerUsageAttributionSubjectKeysMax = exports.createStripeCheckoutSessionBodyCustomerKeyMaxOne = exports.createStripeCheckoutSessionBodyCustomerDescriptionMax = exports.createStripeCheckoutSessionBodyCustomerNameMax = exports.createStripeCheckoutSessionBodyCustomerIdRegExp = exports.createStripeCheckoutSessionBodyAppIdRegExp = exports.invalidatePortalTokensBody = exports.listPortalTokensQueryParams = exports.listPortalTokensQueryLimitMax = exports.listPortalTokensQueryLimitDefault = exports.createPortalTokenBody = exports.queryPortalMeterQueryParams = exports.queryPortalMeterQueryWindowTimeZoneDefault = void 0;
22
- exports.createSubscriptionBodyCustomPlanPhasesItemNameMax = exports.createSubscriptionBodyCustomPlanPhasesItemKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemKeyMax = exports.createSubscriptionBodyCustomPlanCurrencyDefault = exports.createSubscriptionBodyCustomPlanCurrencyRegExpOne = exports.createSubscriptionBodyCustomPlanCurrencyMaxOne = exports.createSubscriptionBodyCustomPlanCurrencyMinOne = exports.createSubscriptionBodyCustomPlanDescriptionMax = exports.createSubscriptionBodyCustomPlanNameMax = exports.createSubscriptionBodyCustomerKeyMax = exports.createSubscriptionBodyCustomerIdRegExp = exports.createSubscriptionBodyTimingDefault = exports.createSubscriptionBodyPlanKeyRegExp = exports.createSubscriptionBodyPlanKeyMax = exports.resetEntitlementUsageBody = exports.resetEntitlementUsageParams = exports.getEntitlementHistoryQueryParams = exports.getEntitlementHistoryQueryWindowTimeZoneDefault = exports.getEntitlementHistoryParams = exports.deleteEntitlementParams = exports.getEntitlementParams = exports.getEntitlementValueQueryParams = exports.getEntitlementValueParams = exports.overrideEntitlementBody = exports.overrideEntitlementBodyFeatureIdRegExpTwo = exports.overrideEntitlementBodyFeatureKeyRegExpTwo = exports.overrideEntitlementBodyFeatureKeyMaxTwo = exports.overrideEntitlementBodyFeatureIdRegExpOne = exports.overrideEntitlementBodyFeatureKeyRegExpOne = exports.overrideEntitlementBodyFeatureKeyMaxOne = exports.overrideEntitlementBodyPreserveOverageAtResetDefault = exports.overrideEntitlementBodyIssueAfterResetPriorityMax = exports.overrideEntitlementBodyIssueAfterResetPriorityDefault = exports.overrideEntitlementBodyIssueAfterResetMin = exports.overrideEntitlementBodyIsUnlimitedDefault = exports.overrideEntitlementBodyIsSoftLimitDefault = exports.overrideEntitlementBodyFeatureIdRegExp = exports.overrideEntitlementBodyFeatureKeyRegExp = exports.overrideEntitlementBodyFeatureKeyMax = exports.overrideEntitlementParams = exports.createGrantBody = exports.createGrantBodyMinRolloverAmountDefault = exports.createGrantBodyMaxRolloverAmountDefault = exports.createGrantBodyPriorityMax = exports.createGrantBodyAmountMin = exports.createGrantParams = exports.listEntitlementGrantsQueryParams = exports.listEntitlementGrantsQueryIncludeDeletedDefault = exports.listEntitlementGrantsParams = exports.listSubjectEntitlementsQueryParams = void 0;
23
- exports.createSubscriptionBodyCustomerKeyMaxOne = exports.createSubscriptionBodyCustomerIdRegExpOne = exports.createSubscriptionBodyTimingDefaultFour = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax = exports.createSubscriptionBodyCustomPlanPhasesItemDescriptionMax = void 0;
24
- exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceQuantityPerPackageRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierDefault = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUpToAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefaultTwo = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMinOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardDescriptionMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardNameMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardKeyMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefault = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefault = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMax = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefault = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMin = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefault = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMax = exports.editSubscriptionBodyCustomizationsItemRateCardDescriptionMax = exports.editSubscriptionBodyCustomizationsItemRateCardNameMax = exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardKeyMax = exports.editSubscriptionParams = exports.editSubscriptionPathSubscriptionIdRegExp = exports.getSubscriptionQueryParams = exports.getSubscriptionParams = exports.getSubscriptionPathSubscriptionIdRegExp = exports.createSubscriptionBody = void 0;
25
- exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax = exports.changeSubscriptionBodyCustomPlanPhasesItemDescriptionMax = exports.changeSubscriptionBodyCustomPlanPhasesItemNameMax = exports.changeSubscriptionBodyCustomPlanPhasesItemKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemKeyMax = exports.changeSubscriptionBodyCustomPlanCurrencyDefault = exports.changeSubscriptionBodyCustomPlanCurrencyRegExpOne = exports.changeSubscriptionBodyCustomPlanCurrencyMaxOne = exports.changeSubscriptionBodyCustomPlanCurrencyMinOne = exports.changeSubscriptionBodyCustomPlanDescriptionMax = exports.changeSubscriptionBodyCustomPlanNameMax = exports.changeSubscriptionBodyPlanKeyRegExp = exports.changeSubscriptionBodyPlanKeyMax = exports.changeSubscriptionParams = exports.changeSubscriptionPathSubscriptionIdRegExp = exports.cancelSubscriptionBody = exports.cancelSubscriptionParams = exports.cancelSubscriptionPathSubscriptionIdRegExp = exports.updateSubscriptionAddonBody = exports.updateSubscriptionAddonBodyQuantityMin = exports.updateSubscriptionAddonBodyDescriptionMax = exports.updateSubscriptionAddonBodyNameMax = exports.updateSubscriptionAddonParams = exports.updateSubscriptionAddonPathSubscriptionAddonIdRegExp = exports.updateSubscriptionAddonPathSubscriptionIdRegExp = exports.getSubscriptionAddonParams = exports.getSubscriptionAddonPathSubscriptionAddonIdRegExp = exports.getSubscriptionAddonPathSubscriptionIdRegExp = exports.listSubscriptionAddonsParams = exports.listSubscriptionAddonsPathSubscriptionIdRegExp = exports.createSubscriptionAddonBody = exports.createSubscriptionAddonBodyAddonIdRegExp = exports.createSubscriptionAddonBodyQuantityMin = exports.createSubscriptionAddonBodyDescriptionMax = exports.createSubscriptionAddonBodyNameMax = exports.createSubscriptionAddonParams = exports.createSubscriptionAddonPathSubscriptionIdRegExp = exports.deleteSubscriptionParams = exports.deleteSubscriptionPathSubscriptionIdRegExp = exports.editSubscriptionBody = exports.editSubscriptionBodyCustomizationsMax = exports.editSubscriptionBodyCustomizationsItemPhaseKeyRegExpTwo = exports.editSubscriptionBodyCustomizationsItemPhaseKeyMaxTwo = exports.editSubscriptionBodyCustomizationsItemPhaseDiscountsUsageQuantityRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpSeven = void 0;
26
- exports.listEventsV2QueryLimitDefault = exports.unscheduleCancelationParams = exports.unscheduleCancelationPathSubscriptionIdRegExp = exports.restoreSubscriptionParams = exports.restoreSubscriptionPathSubscriptionIdRegExp = exports.migrateSubscriptionBody = exports.migrateSubscriptionParams = exports.migrateSubscriptionPathSubscriptionIdRegExp = exports.changeSubscriptionBody = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = void 0;
27
- exports.listEventsV2QueryParams = exports.listEventsV2QueryClientIdMax = exports.listEventsV2QueryLimitMax = void 0;
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.createBillingProfileBodyWorkflowTaxEnforcedDefault = exports.createBillingProfileBodyWorkflowTaxEnabledDefault = 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.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.updateCustomerPathCustomerIdOrKeyMax = exports.getCustomerQueryParams = 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 = void 0;
13
+ exports.getCustomerEntitlementValuePathCustomerIdOrKeyRegExp = exports.getCustomerEntitlementValuePathCustomerIdOrKeyMax = 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 = void 0;
14
+ exports.listGrantsQueryOffsetDefault = exports.listGrantsQueryPageSizeMax = 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 = void 0;
15
+ exports.queryMeterPostBodyClientIdMax = exports.queryMeterPostParams = 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 = void 0;
16
+ exports.createNotificationRuleBodyDisabledDefaultTwo = exports.createNotificationRuleBodyFeaturesItemRegExpOne = 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 = void 0;
17
+ exports.createPlanBodyPhasesItemRateCardsItemKeyMax = exports.createPlanBodyPhasesItemDescriptionMax = 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 = void 0;
18
+ exports.updatePlanPathPlanIdRegExp = exports.nextPlanParams = 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 = void 0;
19
+ exports.updatePlanBodyPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.updatePlanBodyPhasesItemRateCardsItemPriceAmountRegExpSeven = 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 = void 0;
20
+ exports.listPortalTokensQueryLimitDefault = exports.createPortalTokenBody = 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 = void 0;
21
+ exports.listEntitlementGrantsQueryParams = exports.listEntitlementGrantsQueryIncludeDeletedDefault = 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 = void 0;
22
+ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = 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 = void 0;
23
+ exports.getSubscriptionQueryParams = exports.getSubscriptionParams = 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 = void 0;
24
+ exports.editSubscriptionBodyCustomizationsItemPhaseKeyMaxTwo = exports.editSubscriptionBodyCustomizationsItemPhaseDiscountsUsageQuantityRegExpOne = 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 = void 0;
25
+ exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = 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 = void 0;
26
+ exports.listEventsV2QueryParams = exports.listEventsV2QueryClientIdMax = exports.listEventsV2QueryLimitMax = exports.listEventsV2QueryLimitDefault = exports.unscheduleCancelationParams = exports.unscheduleCancelationPathSubscriptionIdRegExp = exports.restoreSubscriptionParams = exports.restoreSubscriptionPathSubscriptionIdRegExp = exports.migrateSubscriptionBody = exports.migrateSubscriptionParams = exports.migrateSubscriptionPathSubscriptionIdRegExp = exports.changeSubscriptionBody = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = void 0;
28
27
  /* eslint-disable no-useless-escape */
29
28
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
30
29
  // @ts-nocheck
@@ -1700,95 +1699,93 @@ exports.deleteBillingProfileCustomerOverrideParams = zod_1.z.object({
1700
1699
  .regex(exports.deleteBillingProfileCustomerOverridePathCustomerIdRegExp),
1701
1700
  });
1702
1701
  /**
1703
- * Simulate an invoice for a customer.
1702
+ * Create a new pending line item (charge).
1704
1703
 
1705
- This call will simulate an invoice for a customer based on the pending line items.
1704
+ This call is used to create a new pending line item for the customer if required a new
1705
+ gathering invoice will be created.
1706
1706
 
1707
- The call will return the total amount of the invoice and the line items that will be included in the invoice.
1708
- * @summary Simulate an invoice for a customer
1707
+ A new invoice will be created if:
1708
+ - there is no invoice in gathering state
1709
+ - the currency of the line item doesn't match the currency of any invoices in gathering state
1710
+ * @summary Create pending line items
1709
1711
  */
1710
- exports.simulateInvoicePathCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1711
- exports.simulateInvoiceParams = zod_1.z.object({
1712
- customerId: zod_1.z.string().regex(exports.simulateInvoicePathCustomerIdRegExp),
1712
+ exports.createPendingInvoiceLinePathCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1713
+ exports.createPendingInvoiceLineParams = zod_1.z.object({
1714
+ customerId: zod_1.z.string().regex(exports.createPendingInvoiceLinePathCustomerIdRegExp),
1713
1715
  });
1714
- exports.simulateInvoiceBodyNumberMaxOne = 256;
1715
- exports.simulateInvoiceBodyCurrencyMinOne = 3;
1716
- exports.simulateInvoiceBodyCurrencyMaxOne = 3;
1717
- exports.simulateInvoiceBodyCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
1718
- exports.simulateInvoiceBodyLinesItemNameMax = 256;
1719
- exports.simulateInvoiceBodyLinesItemDescriptionMax = 1024;
1720
- exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
1721
- exports.simulateInvoiceBodyLinesItemPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1722
- exports.simulateInvoiceBodyLinesItemPricePaymentTermDefault = 'in_advance';
1723
- exports.simulateInvoiceBodyLinesItemPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1724
- exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1725
- exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1726
- exports.simulateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1727
- exports.simulateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1728
- exports.simulateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1729
- exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1730
- exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1731
- exports.simulateInvoiceBodyLinesItemPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1732
- exports.simulateInvoiceBodyLinesItemPriceMultiplierDefault = '1';
1733
- exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1734
- exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1735
- exports.simulateInvoiceBodyLinesItemPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1736
- exports.simulateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1737
- exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1738
- exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1739
- exports.simulateInvoiceBodyLinesItemFeatureKeyMax = 64;
1740
- exports.simulateInvoiceBodyLinesItemFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
1741
- exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyMax = 64;
1742
- exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
1743
- exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
1744
- exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1745
- exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefault = 'in_advance';
1746
- exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1747
- exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1748
- exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1749
- exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1750
- exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1751
- exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1752
- exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1753
- exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1754
- exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1755
- exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierDefault = '1';
1756
- exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1757
- exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1758
- exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1759
- exports.simulateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1760
- exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1761
- exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1762
- exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1763
- exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1764
- exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1765
- exports.simulateInvoiceBodyLinesItemQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1766
- exports.simulateInvoiceBodyLinesItemPreLinePeriodQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1767
- exports.simulateInvoiceBodyLinesItemIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1768
- exports.simulateInvoiceBodyLinesItemNameMaxOne = 256;
1769
- exports.simulateInvoiceBodyLinesItemDescriptionMaxOne = 1024;
1770
- exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
1771
- exports.simulateInvoiceBodyLinesItemPerUnitAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1772
- exports.simulateInvoiceBodyLinesItemPaymentTermDefault = 'in_advance';
1773
- exports.simulateInvoiceBodyLinesItemQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1774
- exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
1775
- exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1776
- exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefaultTwo = 'in_advance';
1777
- exports.simulateInvoiceBodyLinesItemRateCardQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1778
- exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1779
- exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1780
- exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1781
- exports.simulateInvoiceBodyLinesItemCategoryDefault = 'regular';
1782
- exports.simulateInvoiceBodyLinesItemIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1783
- exports.simulateInvoiceBody = zod_1.z
1716
+ exports.createPendingInvoiceLineBodyCurrencyMinOne = 3;
1717
+ exports.createPendingInvoiceLineBodyCurrencyMaxOne = 3;
1718
+ exports.createPendingInvoiceLineBodyCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
1719
+ exports.createPendingInvoiceLineBodyLinesItemNameMax = 256;
1720
+ exports.createPendingInvoiceLineBodyLinesItemDescriptionMax = 1024;
1721
+ exports.createPendingInvoiceLineBodyLinesItemTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
1722
+ exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1723
+ exports.createPendingInvoiceLineBodyLinesItemPricePaymentTermDefault = 'in_advance';
1724
+ exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1725
+ exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1726
+ exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1727
+ exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1728
+ exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1729
+ exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1730
+ exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1731
+ exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1732
+ exports.createPendingInvoiceLineBodyLinesItemPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1733
+ exports.createPendingInvoiceLineBodyLinesItemPriceMultiplierDefault = '1';
1734
+ exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1735
+ exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1736
+ exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1737
+ exports.createPendingInvoiceLineBodyLinesItemPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1738
+ exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1739
+ exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1740
+ exports.createPendingInvoiceLineBodyLinesItemFeatureKeyMax = 64;
1741
+ exports.createPendingInvoiceLineBodyLinesItemFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
1742
+ exports.createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyMax = 64;
1743
+ exports.createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
1744
+ exports.createPendingInvoiceLineBodyLinesItemRateCardTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
1745
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1746
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPricePaymentTermDefault = 'in_advance';
1747
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1748
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1749
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1750
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1751
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1752
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1753
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1754
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1755
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1756
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierDefault = '1';
1757
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1758
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1759
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1760
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1761
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1762
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1763
+ exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1764
+ exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1765
+ exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1766
+ exports.createPendingInvoiceLineBodyLinesItemNameMaxOne = 256;
1767
+ exports.createPendingInvoiceLineBodyLinesItemDescriptionMaxOne = 1024;
1768
+ exports.createPendingInvoiceLineBodyLinesItemTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
1769
+ exports.createPendingInvoiceLineBodyLinesItemPerUnitAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1770
+ exports.createPendingInvoiceLineBodyLinesItemPaymentTermDefault = 'in_advance';
1771
+ exports.createPendingInvoiceLineBodyLinesItemQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1772
+ exports.createPendingInvoiceLineBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
1773
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1774
+ exports.createPendingInvoiceLineBodyLinesItemRateCardPricePaymentTermDefaultTwo = 'in_advance';
1775
+ exports.createPendingInvoiceLineBodyLinesItemRateCardQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1776
+ exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1777
+ exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
1778
+ exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
1779
+ exports.createPendingInvoiceLineBodyLinesItemCategoryDefault = 'regular';
1780
+ exports.createPendingInvoiceLineBody = zod_1.z
1784
1781
  .object({
1785
1782
  currency: zod_1.z
1786
1783
  .string()
1787
- .min(exports.simulateInvoiceBodyCurrencyMinOne)
1788
- .max(exports.simulateInvoiceBodyCurrencyMaxOne)
1789
- .regex(exports.simulateInvoiceBodyCurrencyRegExpOne)
1784
+ .min(exports.createPendingInvoiceLineBodyCurrencyMinOne)
1785
+ .max(exports.createPendingInvoiceLineBodyCurrencyMaxOne)
1786
+ .regex(exports.createPendingInvoiceLineBodyCurrencyRegExpOne)
1790
1787
  .describe('Three-letter [ISO4217](https://www.iso.org/iso-4217-currency-codes.html) currency code.\nCustom three-letter currency codes are also supported for convenience.')
1791
- .describe('Currency for all invoice line items.\n\nMulti currency invoices are not supported yet.'),
1788
+ .describe('The currency of the lines to be created.'),
1792
1789
  lines: zod_1.z
1793
1790
  .array(zod_1.z
1794
1791
  .discriminatedUnion('type', [
@@ -1796,21 +1793,16 @@ exports.simulateInvoiceBody = zod_1.z
1796
1793
  .object({
1797
1794
  description: zod_1.z
1798
1795
  .string()
1799
- .max(exports.simulateInvoiceBodyLinesItemDescriptionMax)
1796
+ .max(exports.createPendingInvoiceLineBodyLinesItemDescriptionMax)
1800
1797
  .optional()
1801
1798
  .describe('Optional description of the resource. Maximum 1024 characters.'),
1802
1799
  featureKey: zod_1.z
1803
1800
  .string()
1804
1801
  .min(1)
1805
- .max(exports.simulateInvoiceBodyLinesItemFeatureKeyMax)
1806
- .regex(exports.simulateInvoiceBodyLinesItemFeatureKeyRegExp)
1802
+ .max(exports.createPendingInvoiceLineBodyLinesItemFeatureKeyMax)
1803
+ .regex(exports.createPendingInvoiceLineBodyLinesItemFeatureKeyRegExp)
1807
1804
  .optional()
1808
1805
  .describe('The feature that the usage is based on.'),
1809
- id: zod_1.z
1810
- .string()
1811
- .regex(exports.simulateInvoiceBodyLinesItemIdRegExp)
1812
- .optional()
1813
- .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.'),
1814
1806
  invoiceAt: zod_1.z
1815
1807
  .date()
1816
1808
  .describe('The time this line item should be invoiced.'),
@@ -1822,7 +1814,7 @@ exports.simulateInvoiceBody = zod_1.z
1822
1814
  name: zod_1.z
1823
1815
  .string()
1824
1816
  .min(1)
1825
- .max(exports.simulateInvoiceBodyLinesItemNameMax)
1817
+ .max(exports.createPendingInvoiceLineBodyLinesItemNameMax)
1826
1818
  .describe('Human-readable name for the resource. Between 1 and 256 characters.'),
1827
1819
  period: zod_1.z
1828
1820
  .object({
@@ -1831,25 +1823,19 @@ exports.simulateInvoiceBody = zod_1.z
1831
1823
  })
1832
1824
  .describe('A period with a start and end time.')
1833
1825
  .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.'),
1834
- preLinePeriodQuantity: zod_1.z
1835
- .string()
1836
- .regex(exports.simulateInvoiceBodyLinesItemPreLinePeriodQuantityRegExpOne)
1837
- .describe('Numeric represents an arbitrary precision number.')
1838
- .optional()
1839
- .describe("The quantity of the item used before this line's period, if the line is billed progressively."),
1840
1826
  price: zod_1.z
1841
1827
  .discriminatedUnion('type', [
1842
1828
  zod_1.z
1843
1829
  .object({
1844
1830
  amount: zod_1.z
1845
1831
  .string()
1846
- .regex(exports.simulateInvoiceBodyLinesItemPriceAmountRegExpOne)
1832
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpOne)
1847
1833
  .describe('Numeric represents an arbitrary precision number.')
1848
1834
  .describe('The amount of the flat price.'),
1849
1835
  paymentTerm: zod_1.z
1850
1836
  .enum(['in_advance', 'in_arrears'])
1851
1837
  .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
1852
- .default(exports.simulateInvoiceBodyLinesItemPricePaymentTermDefault)
1838
+ .default(exports.createPendingInvoiceLineBodyLinesItemPricePaymentTermDefault)
1853
1839
  .describe('The payment term of the flat price.\nDefaults to in advance.'),
1854
1840
  type: zod_1.z.enum(['flat']),
1855
1841
  })
@@ -1858,18 +1844,18 @@ exports.simulateInvoiceBody = zod_1.z
1858
1844
  .object({
1859
1845
  amount: zod_1.z
1860
1846
  .string()
1861
- .regex(exports.simulateInvoiceBodyLinesItemPriceAmountRegExpThree)
1847
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpThree)
1862
1848
  .describe('Numeric represents an arbitrary precision number.')
1863
1849
  .describe('The amount of the unit price.'),
1864
1850
  maximumAmount: zod_1.z
1865
1851
  .string()
1866
- .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne)
1852
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpOne)
1867
1853
  .describe('Numeric represents an arbitrary precision number.')
1868
1854
  .optional()
1869
1855
  .describe('The customer is limited to spend at most the amount.'),
1870
1856
  minimumAmount: zod_1.z
1871
1857
  .string()
1872
- .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne)
1858
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpOne)
1873
1859
  .describe('Numeric represents an arbitrary precision number.')
1874
1860
  .optional()
1875
1861
  .describe('The customer is committed to spend at least the amount.'),
@@ -1880,13 +1866,13 @@ exports.simulateInvoiceBody = zod_1.z
1880
1866
  .object({
1881
1867
  maximumAmount: zod_1.z
1882
1868
  .string()
1883
- .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree)
1869
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpThree)
1884
1870
  .describe('Numeric represents an arbitrary precision number.')
1885
1871
  .optional()
1886
1872
  .describe('The customer is limited to spend at most the amount.'),
1887
1873
  minimumAmount: zod_1.z
1888
1874
  .string()
1889
- .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree)
1875
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpThree)
1890
1876
  .describe('Numeric represents an arbitrary precision number.')
1891
1877
  .optional()
1892
1878
  .describe('The customer is committed to spend at least the amount.'),
@@ -1901,7 +1887,7 @@ exports.simulateInvoiceBody = zod_1.z
1901
1887
  .object({
1902
1888
  amount: zod_1.z
1903
1889
  .string()
1904
- .regex(exports.simulateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne)
1890
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne)
1905
1891
  .describe('Numeric represents an arbitrary precision number.')
1906
1892
  .describe('The amount of the flat price.'),
1907
1893
  type: zod_1.z
@@ -1915,7 +1901,7 @@ exports.simulateInvoiceBody = zod_1.z
1915
1901
  .object({
1916
1902
  amount: zod_1.z
1917
1903
  .string()
1918
- .regex(exports.simulateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne)
1904
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne)
1919
1905
  .describe('Numeric represents an arbitrary precision number.')
1920
1906
  .describe('The amount of the unit price.'),
1921
1907
  type: zod_1.z
@@ -1927,7 +1913,7 @@ exports.simulateInvoiceBody = zod_1.z
1927
1913
  .describe('The unit price component of the tier.'),
1928
1914
  upToAmount: zod_1.z
1929
1915
  .string()
1930
- .regex(exports.simulateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne)
1916
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceTiersItemUpToAmountRegExpOne)
1931
1917
  .describe('Numeric represents an arbitrary precision number.')
1932
1918
  .optional()
1933
1919
  .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
@@ -1942,21 +1928,21 @@ exports.simulateInvoiceBody = zod_1.z
1942
1928
  .object({
1943
1929
  maximumAmount: zod_1.z
1944
1930
  .string()
1945
- .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive)
1931
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpFive)
1946
1932
  .describe('Numeric represents an arbitrary precision number.')
1947
1933
  .optional()
1948
1934
  .describe('The customer is limited to spend at most the amount.'),
1949
1935
  minimumAmount: zod_1.z
1950
1936
  .string()
1951
- .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive)
1937
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpFive)
1952
1938
  .describe('Numeric represents an arbitrary precision number.')
1953
1939
  .optional()
1954
1940
  .describe('The customer is committed to spend at least the amount.'),
1955
1941
  multiplier: zod_1.z
1956
1942
  .string()
1957
- .regex(exports.simulateInvoiceBodyLinesItemPriceMultiplierRegExpOne)
1943
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMultiplierRegExpOne)
1958
1944
  .describe('Numeric represents an arbitrary precision number.')
1959
- .default(exports.simulateInvoiceBodyLinesItemPriceMultiplierDefault)
1945
+ .default(exports.createPendingInvoiceLineBodyLinesItemPriceMultiplierDefault)
1960
1946
  .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'),
1961
1947
  type: zod_1.z.enum(['dynamic']),
1962
1948
  })
@@ -1965,24 +1951,24 @@ exports.simulateInvoiceBody = zod_1.z
1965
1951
  .object({
1966
1952
  amount: zod_1.z
1967
1953
  .string()
1968
- .regex(exports.simulateInvoiceBodyLinesItemPriceAmountRegExpFive)
1954
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceAmountRegExpFive)
1969
1955
  .describe('Numeric represents an arbitrary precision number.')
1970
1956
  .describe('The price of one package.'),
1971
1957
  maximumAmount: zod_1.z
1972
1958
  .string()
1973
- .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven)
1959
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMaximumAmountRegExpSeven)
1974
1960
  .describe('Numeric represents an arbitrary precision number.')
1975
1961
  .optional()
1976
1962
  .describe('The customer is limited to spend at most the amount.'),
1977
1963
  minimumAmount: zod_1.z
1978
1964
  .string()
1979
- .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven)
1965
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceMinimumAmountRegExpSeven)
1980
1966
  .describe('Numeric represents an arbitrary precision number.')
1981
1967
  .optional()
1982
1968
  .describe('The customer is committed to spend at least the amount.'),
1983
1969
  quantityPerPackage: zod_1.z
1984
1970
  .string()
1985
- .regex(exports.simulateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne)
1971
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPriceQuantityPerPackageRegExpOne)
1986
1972
  .describe('Numeric represents an arbitrary precision number.')
1987
1973
  .describe('The quantity per package.'),
1988
1974
  type: zod_1.z.enum(['package']),
@@ -1992,11 +1978,6 @@ exports.simulateInvoiceBody = zod_1.z
1992
1978
  .describe('The price of the usage based rate card.')
1993
1979
  .optional()
1994
1980
  .describe('Price of the usage-based item being sold.'),
1995
- quantity: zod_1.z
1996
- .string()
1997
- .regex(exports.simulateInvoiceBodyLinesItemQuantityRegExpOne)
1998
- .describe('Numeric represents an arbitrary precision number.')
1999
- .describe('The quantity of the item being sold.'),
2000
1981
  rateCard: zod_1.z
2001
1982
  .object({
2002
1983
  discounts: zod_1.z
@@ -2005,7 +1986,7 @@ exports.simulateInvoiceBody = zod_1.z
2005
1986
  .object({
2006
1987
  correlationId: zod_1.z
2007
1988
  .string()
2008
- .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp)
1989
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp)
2009
1990
  .optional()
2010
1991
  .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
1992
  percentage: zod_1.z
@@ -2020,12 +2001,12 @@ exports.simulateInvoiceBody = zod_1.z
2020
2001
  .object({
2021
2002
  correlationId: zod_1.z
2022
2003
  .string()
2023
- .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp)
2004
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp)
2024
2005
  .optional()
2025
2006
  .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
2007
  quantity: zod_1.z
2027
2008
  .string()
2028
- .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne)
2009
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne)
2029
2010
  .describe('Numeric represents an arbitrary precision number.')
2030
2011
  .describe('The quantity of the usage discount.\n\nMust be positive.'),
2031
2012
  })
@@ -2039,8 +2020,8 @@ exports.simulateInvoiceBody = zod_1.z
2039
2020
  featureKey: zod_1.z
2040
2021
  .string()
2041
2022
  .min(1)
2042
- .max(exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyMax)
2043
- .regex(exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyRegExp)
2023
+ .max(exports.createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyMax)
2024
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardFeatureKeyRegExp)
2044
2025
  .optional()
2045
2026
  .describe('The feature the customer is entitled to use.'),
2046
2027
  price: zod_1.z
@@ -2049,13 +2030,13 @@ exports.simulateInvoiceBody = zod_1.z
2049
2030
  .object({
2050
2031
  amount: zod_1.z
2051
2032
  .string()
2052
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne)
2033
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpOne)
2053
2034
  .describe('Numeric represents an arbitrary precision number.')
2054
2035
  .describe('The amount of the flat price.'),
2055
2036
  paymentTerm: zod_1.z
2056
2037
  .enum(['in_advance', 'in_arrears'])
2057
2038
  .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
2058
- .default(exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefault)
2039
+ .default(exports.createPendingInvoiceLineBodyLinesItemRateCardPricePaymentTermDefault)
2059
2040
  .describe('The payment term of the flat price.\nDefaults to in advance.'),
2060
2041
  type: zod_1.z.enum(['flat']),
2061
2042
  })
@@ -2064,18 +2045,18 @@ exports.simulateInvoiceBody = zod_1.z
2064
2045
  .object({
2065
2046
  amount: zod_1.z
2066
2047
  .string()
2067
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree)
2048
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpThree)
2068
2049
  .describe('Numeric represents an arbitrary precision number.')
2069
2050
  .describe('The amount of the unit price.'),
2070
2051
  maximumAmount: zod_1.z
2071
2052
  .string()
2072
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne)
2053
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpOne)
2073
2054
  .describe('Numeric represents an arbitrary precision number.')
2074
2055
  .optional()
2075
2056
  .describe('The customer is limited to spend at most the amount.'),
2076
2057
  minimumAmount: zod_1.z
2077
2058
  .string()
2078
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne)
2059
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpOne)
2079
2060
  .describe('Numeric represents an arbitrary precision number.')
2080
2061
  .optional()
2081
2062
  .describe('The customer is committed to spend at least the amount.'),
@@ -2086,13 +2067,13 @@ exports.simulateInvoiceBody = zod_1.z
2086
2067
  .object({
2087
2068
  maximumAmount: zod_1.z
2088
2069
  .string()
2089
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree)
2070
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpThree)
2090
2071
  .describe('Numeric represents an arbitrary precision number.')
2091
2072
  .optional()
2092
2073
  .describe('The customer is limited to spend at most the amount.'),
2093
2074
  minimumAmount: zod_1.z
2094
2075
  .string()
2095
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree)
2076
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpThree)
2096
2077
  .describe('Numeric represents an arbitrary precision number.')
2097
2078
  .optional()
2098
2079
  .describe('The customer is committed to spend at least the amount.'),
@@ -2107,7 +2088,7 @@ exports.simulateInvoiceBody = zod_1.z
2107
2088
  .object({
2108
2089
  amount: zod_1.z
2109
2090
  .string()
2110
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne)
2091
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne)
2111
2092
  .describe('Numeric represents an arbitrary precision number.')
2112
2093
  .describe('The amount of the flat price.'),
2113
2094
  type: zod_1.z
@@ -2121,7 +2102,7 @@ exports.simulateInvoiceBody = zod_1.z
2121
2102
  .object({
2122
2103
  amount: zod_1.z
2123
2104
  .string()
2124
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne)
2105
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne)
2125
2106
  .describe('Numeric represents an arbitrary precision number.')
2126
2107
  .describe('The amount of the unit price.'),
2127
2108
  type: zod_1.z
@@ -2133,7 +2114,7 @@ exports.simulateInvoiceBody = zod_1.z
2133
2114
  .describe('The unit price component of the tier.'),
2134
2115
  upToAmount: zod_1.z
2135
2116
  .string()
2136
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne)
2117
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne)
2137
2118
  .describe('Numeric represents an arbitrary precision number.')
2138
2119
  .optional()
2139
2120
  .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
@@ -2148,21 +2129,21 @@ exports.simulateInvoiceBody = zod_1.z
2148
2129
  .object({
2149
2130
  maximumAmount: zod_1.z
2150
2131
  .string()
2151
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive)
2132
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpFive)
2152
2133
  .describe('Numeric represents an arbitrary precision number.')
2153
2134
  .optional()
2154
2135
  .describe('The customer is limited to spend at most the amount.'),
2155
2136
  minimumAmount: zod_1.z
2156
2137
  .string()
2157
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive)
2138
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpFive)
2158
2139
  .describe('Numeric represents an arbitrary precision number.')
2159
2140
  .optional()
2160
2141
  .describe('The customer is committed to spend at least the amount.'),
2161
2142
  multiplier: zod_1.z
2162
2143
  .string()
2163
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne)
2144
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierRegExpOne)
2164
2145
  .describe('Numeric represents an arbitrary precision number.')
2165
- .default(exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierDefault)
2146
+ .default(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMultiplierDefault)
2166
2147
  .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
2148
  type: zod_1.z.enum(['dynamic']),
2168
2149
  })
@@ -2171,24 +2152,24 @@ exports.simulateInvoiceBody = zod_1.z
2171
2152
  .object({
2172
2153
  amount: zod_1.z
2173
2154
  .string()
2174
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive)
2155
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpFive)
2175
2156
  .describe('Numeric represents an arbitrary precision number.')
2176
2157
  .describe('The price of one package.'),
2177
2158
  maximumAmount: zod_1.z
2178
2159
  .string()
2179
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven)
2160
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMaximumAmountRegExpSeven)
2180
2161
  .describe('Numeric represents an arbitrary precision number.')
2181
2162
  .optional()
2182
2163
  .describe('The customer is limited to spend at most the amount.'),
2183
2164
  minimumAmount: zod_1.z
2184
2165
  .string()
2185
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven)
2166
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceMinimumAmountRegExpSeven)
2186
2167
  .describe('Numeric represents an arbitrary precision number.')
2187
2168
  .optional()
2188
2169
  .describe('The customer is committed to spend at least the amount.'),
2189
2170
  quantityPerPackage: zod_1.z
2190
2171
  .string()
2191
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne)
2172
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne)
2192
2173
  .describe('Numeric represents an arbitrary precision number.')
2193
2174
  .describe('The quantity per package.'),
2194
2175
  type: zod_1.z.enum(['package']),
@@ -2218,7 +2199,7 @@ exports.simulateInvoiceBody = zod_1.z
2218
2199
  .object({
2219
2200
  code: zod_1.z
2220
2201
  .string()
2221
- .regex(exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp)
2202
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardTaxConfigStripeCodeRegExp)
2222
2203
  .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
2223
2204
  })
2224
2205
  .describe('The tax config for Stripe.')
@@ -2252,7 +2233,7 @@ exports.simulateInvoiceBody = zod_1.z
2252
2233
  .object({
2253
2234
  code: zod_1.z
2254
2235
  .string()
2255
- .regex(exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp)
2236
+ .regex(exports.createPendingInvoiceLineBodyLinesItemTaxConfigStripeCodeRegExp)
2256
2237
  .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
2257
2238
  })
2258
2239
  .describe('The tax config for Stripe.')
@@ -2264,24 +2245,19 @@ exports.simulateInvoiceBody = zod_1.z
2264
2245
  .describe('Tax config specify the tax configuration for this line.'),
2265
2246
  type: zod_1.z.enum(['usage_based']),
2266
2247
  })
2267
- .describe('InvoiceSimulationUsageBasedLine represents a usage-based line item that can be input to the simulation endpoint.'),
2248
+ .describe('InvoiceUsageBasedLineCreateWithCustomer represents the create model for an invoice line that is sold to the customer based on usage.'),
2268
2249
  zod_1.z
2269
2250
  .object({
2270
2251
  category: zod_1.z
2271
2252
  .enum(['regular', 'commitment'])
2272
2253
  .describe('InvoiceFlatFeeCategory determines if the flat fee is a regular fee due to use due to a\ncommitment.')
2273
- .default(exports.simulateInvoiceBodyLinesItemCategoryDefault)
2254
+ .default(exports.createPendingInvoiceLineBodyLinesItemCategoryDefault)
2274
2255
  .describe('Category of the flat fee.'),
2275
2256
  description: zod_1.z
2276
2257
  .string()
2277
- .max(exports.simulateInvoiceBodyLinesItemDescriptionMaxOne)
2258
+ .max(exports.createPendingInvoiceLineBodyLinesItemDescriptionMaxOne)
2278
2259
  .optional()
2279
2260
  .describe('Optional description of the resource. Maximum 1024 characters.'),
2280
- id: zod_1.z
2281
- .string()
2282
- .regex(exports.simulateInvoiceBodyLinesItemIdRegExpOne)
2283
- .optional()
2284
- .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.'),
2285
2261
  invoiceAt: zod_1.z
2286
2262
  .date()
2287
2263
  .describe('The time this line item should be invoiced.'),
@@ -2293,12 +2269,12 @@ exports.simulateInvoiceBody = zod_1.z
2293
2269
  name: zod_1.z
2294
2270
  .string()
2295
2271
  .min(1)
2296
- .max(exports.simulateInvoiceBodyLinesItemNameMaxOne)
2272
+ .max(exports.createPendingInvoiceLineBodyLinesItemNameMaxOne)
2297
2273
  .describe('Human-readable name for the resource. Between 1 and 256 characters.'),
2298
2274
  paymentTerm: zod_1.z
2299
2275
  .enum(['in_advance', 'in_arrears'])
2300
2276
  .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
2301
- .default(exports.simulateInvoiceBodyLinesItemPaymentTermDefault)
2277
+ .default(exports.createPendingInvoiceLineBodyLinesItemPaymentTermDefault)
2302
2278
  .describe('Payment term of the line.'),
2303
2279
  period: zod_1.z
2304
2280
  .object({
@@ -2309,13 +2285,13 @@ exports.simulateInvoiceBody = zod_1.z
2309
2285
  .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.'),
2310
2286
  perUnitAmount: zod_1.z
2311
2287
  .string()
2312
- .regex(exports.simulateInvoiceBodyLinesItemPerUnitAmountRegExpOne)
2288
+ .regex(exports.createPendingInvoiceLineBodyLinesItemPerUnitAmountRegExpOne)
2313
2289
  .describe('Numeric represents an arbitrary precision number.')
2314
2290
  .optional()
2315
2291
  .describe('Price of the item being sold.'),
2316
2292
  quantity: zod_1.z
2317
2293
  .string()
2318
- .regex(exports.simulateInvoiceBodyLinesItemQuantityRegExpThree)
2294
+ .regex(exports.createPendingInvoiceLineBodyLinesItemQuantityRegExpOne)
2319
2295
  .describe('Numeric represents an arbitrary precision number.')
2320
2296
  .optional()
2321
2297
  .describe('Quantity of the item being sold.'),
@@ -2327,7 +2303,7 @@ exports.simulateInvoiceBody = zod_1.z
2327
2303
  .object({
2328
2304
  correlationId: zod_1.z
2329
2305
  .string()
2330
- .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne)
2306
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne)
2331
2307
  .optional()
2332
2308
  .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.'),
2333
2309
  percentage: zod_1.z
@@ -2342,12 +2318,12 @@ exports.simulateInvoiceBody = zod_1.z
2342
2318
  .object({
2343
2319
  correlationId: zod_1.z
2344
2320
  .string()
2345
- .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne)
2321
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne)
2346
2322
  .optional()
2347
2323
  .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.'),
2348
2324
  quantity: zod_1.z
2349
2325
  .string()
2350
- .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree)
2326
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree)
2351
2327
  .describe('Numeric represents an arbitrary precision number.')
2352
2328
  .describe('The quantity of the usage discount.\n\nMust be positive.'),
2353
2329
  })
@@ -2362,13 +2338,13 @@ exports.simulateInvoiceBody = zod_1.z
2362
2338
  .object({
2363
2339
  amount: zod_1.z
2364
2340
  .string()
2365
- .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpSeven)
2341
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardPriceAmountRegExpSeven)
2366
2342
  .describe('Numeric represents an arbitrary precision number.')
2367
2343
  .describe('The amount of the flat price.'),
2368
2344
  paymentTerm: zod_1.z
2369
2345
  .enum(['in_advance', 'in_arrears'])
2370
2346
  .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
2371
- .default(exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefaultTwo)
2347
+ .default(exports.createPendingInvoiceLineBodyLinesItemRateCardPricePaymentTermDefaultTwo)
2372
2348
  .describe('The payment term of the flat price.\nDefaults to in advance.'),
2373
2349
  type: zod_1.z.enum(['flat']),
2374
2350
  })
@@ -2377,7 +2353,7 @@ exports.simulateInvoiceBody = zod_1.z
2377
2353
  .describe('The price of the rate card.\nWhen null, the feature or service is free.'),
2378
2354
  quantity: zod_1.z
2379
2355
  .string()
2380
- .regex(exports.simulateInvoiceBodyLinesItemRateCardQuantityRegExpOne)
2356
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardQuantityRegExpOne)
2381
2357
  .describe('Numeric represents an arbitrary precision number.')
2382
2358
  .optional()
2383
2359
  .describe('Quantity of the item being sold.\n\nDefault: 1'),
@@ -2401,7 +2377,7 @@ exports.simulateInvoiceBody = zod_1.z
2401
2377
  .object({
2402
2378
  code: zod_1.z
2403
2379
  .string()
2404
- .regex(exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne)
2380
+ .regex(exports.createPendingInvoiceLineBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne)
2405
2381
  .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
2406
2382
  })
2407
2383
  .describe('The tax config for Stripe.')
@@ -2435,7 +2411,7 @@ exports.simulateInvoiceBody = zod_1.z
2435
2411
  .object({
2436
2412
  code: zod_1.z
2437
2413
  .string()
2438
- .regex(exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExpOne)
2414
+ .regex(exports.createPendingInvoiceLineBodyLinesItemTaxConfigStripeCodeRegExpOne)
2439
2415
  .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
2440
2416
  })
2441
2417
  .describe('The tax config for Stripe.')
@@ -2447,475 +2423,164 @@ exports.simulateInvoiceBody = zod_1.z
2447
2423
  .describe('Tax config specify the tax configuration for this line.'),
2448
2424
  type: zod_1.z.enum(['flat_fee']),
2449
2425
  })
2450
- .describe('InvoiceSimulationFlatFeeLine represents a flat fee line item that can be input to the simulation endpoint.'),
2426
+ .describe('InvoiceFlatFeePendingLineCreate represents the create model for an invoice line that is sold to the customer as a manually added fee.'),
2451
2427
  ])
2452
- .describe('InvoiceSimulationInput represents a line item that can be input to the simulation endpoint.'))
2453
- .describe('Lines to be included in the generated invoice.'),
2454
- number: zod_1.z
2455
- .string()
2428
+ .describe('InvoiceLineCreate represents the create model for an invoice line.'))
2456
2429
  .min(1)
2457
- .max(exports.simulateInvoiceBodyNumberMaxOne)
2458
- .describe('InvoiceNumber is a unique identifier for the invoice, generated by the\ninvoicing app.\n\nThe uniqueness depends on a lot of factors:\n- app setting (unique per app or unique per customer)\n- multiple app scenarios (multiple apps generating invoices with the same prefix)')
2459
- .optional()
2460
- .describe('The number of the invoice.'),
2430
+ .describe('The lines to be created.'),
2461
2431
  })
2462
- .describe('InvoiceSimulationInput is the input for simulating an invoice.');
2432
+ .describe('InvoicePendingLineCreate represents the create model for a pending invoice line.');
2463
2433
  /**
2464
- * List invoices for a specific customer
2465
- * @summary List invoices
2434
+ * Simulate an invoice for a customer.
2435
+
2436
+ This call will simulate an invoice for a customer based on the pending line items.
2437
+
2438
+ The call will return the total amount of the invoice and the line items that will be included in the invoice.
2439
+ * @summary Simulate an invoice for a customer
2466
2440
  */
2467
- exports.listInvoicesQueryCustomersItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2468
- exports.listInvoicesQueryPageDefault = 1;
2469
- exports.listInvoicesQueryPageSizeDefault = 100;
2470
- exports.listInvoicesQueryPageSizeMax = 1000;
2471
- exports.listInvoicesQueryParams = zod_1.z.object({
2472
- createdAfter: zod_1.z
2473
- .date()
2474
- .optional()
2475
- .describe('Filter by invoice created time.\nInclusive.'),
2476
- createdBefore: zod_1.z
2477
- .date()
2478
- .optional()
2479
- .describe('Filter by invoice created time.\nInclusive.'),
2480
- customers: zod_1.z
2481
- .array(zod_1.z
2482
- .string()
2483
- .regex(exports.listInvoicesQueryCustomersItemRegExp)
2484
- .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'))
2485
- .optional()
2486
- .describe('Filter by customer ID'),
2487
- expand: zod_1.z
2488
- .array(zod_1.z
2489
- .enum(['lines', 'preceding', 'workflow.apps'])
2490
- .describe('InvoiceExpand specifies the parts of the invoice to expand in the list output.'))
2491
- .optional()
2492
- .describe('What parts of the list output to expand in listings'),
2493
- extendedStatuses: zod_1.z
2494
- .array(zod_1.z.string())
2495
- .optional()
2496
- .describe('Filter by invoice extended statuses'),
2497
- includeDeleted: zod_1.z.boolean().optional().describe('Include deleted invoices'),
2498
- issuedAfter: zod_1.z
2499
- .date()
2500
- .optional()
2501
- .describe('Filter by invoice issued time.\nInclusive.'),
2502
- issuedBefore: zod_1.z
2503
- .date()
2504
- .optional()
2505
- .describe('Filter by invoice issued time.\nInclusive.'),
2506
- order: zod_1.z.enum(['ASC', 'DESC']).optional().describe('The order direction.'),
2507
- orderBy: zod_1.z
2508
- .enum(['customer.name', 'issuedAt', 'status', 'createdAt', 'updatedAt'])
2509
- .optional()
2510
- .describe('The order by field.'),
2511
- page: zod_1.z
2512
- .number()
2513
- .min(1)
2514
- .default(exports.listInvoicesQueryPageDefault)
2515
- .describe('Page index.\n\nDefault is 1.'),
2516
- pageSize: zod_1.z
2517
- .number()
2518
- .min(1)
2519
- .max(exports.listInvoicesQueryPageSizeMax)
2520
- .default(exports.listInvoicesQueryPageSizeDefault)
2521
- .describe('The maximum number of items per page.\n\nDefault is 100.'),
2522
- statuses: zod_1.z
2523
- .array(zod_1.z
2524
- .enum([
2525
- 'gathering',
2526
- 'draft',
2527
- 'issuing',
2528
- 'issued',
2529
- 'payment_processing',
2530
- 'overdue',
2531
- 'paid',
2532
- 'uncollectible',
2533
- 'voided',
2534
- ])
2535
- .describe('InvoiceStatus describes the status of an invoice.'))
2536
- .optional()
2537
- .describe('Filter by the invoice status.'),
2441
+ exports.simulateInvoicePathCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2442
+ exports.simulateInvoiceParams = zod_1.z.object({
2443
+ customerId: zod_1.z.string().regex(exports.simulateInvoicePathCustomerIdRegExp),
2538
2444
  });
2539
- /**
2540
- * Create a new invoice from the pending line items.
2541
-
2542
- This should be only called if for some reason we need to invoice a customer outside of the normal billing cycle.
2543
-
2544
- When creating an invoice, the pending line items will be marked as invoiced and the invoice will be created with the total amount of the pending items.
2545
-
2546
- New pending line items will be created for the period between now() and the next billing cycle's begining date for any metered item.
2547
-
2548
- The call can return multiple invoices if the pending line items are in different currencies.
2549
- * @summary Invoice a customer based on the pending line items
2550
- */
2551
- exports.invoicePendingLinesActionBodyFiltersLineIdsItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2552
- exports.invoicePendingLinesActionBodyCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2553
- exports.invoicePendingLinesActionBody = zod_1.z
2554
- .object({
2555
- asOf: zod_1.z
2556
- .date()
2557
- .optional()
2558
- .describe('The time as of which the invoice is created.\n\nIf not provided, the current time is used.'),
2559
- customerId: zod_1.z
2560
- .string()
2561
- .regex(exports.invoicePendingLinesActionBodyCustomerIdRegExp)
2562
- .describe('The customer ID for which to create the invoice.'),
2563
- filters: zod_1.z
2564
- .object({
2565
- lineIds: zod_1.z
2566
- .array(zod_1.z
2567
- .string()
2568
- .regex(exports.invoicePendingLinesActionBodyFiltersLineIdsItemRegExp)
2569
- .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'))
2570
- .optional()
2571
- .describe('The pending line items to include in the invoice, if not provided:\n- all line items that have invoice_at < asOf will be included\n- [progressive billing only] all usage based line items will be included up to asOf, new\nusage-based line items will be staged for the rest of the billing cycle\n\nAll lineIDs present in the list, must exists and must be invoicable as of asOf, or the action will fail.'),
2572
- })
2573
- .describe('InvoicePendingLinesActionFiltersInput specifies which lines to include in the invoice.')
2574
- .optional()
2575
- .describe('Filters to apply when creating the invoice.'),
2576
- })
2577
- .describe('BillingInvoiceActionInput is the input for creating an invoice.\n\nInvoice creation is always based on already pending line items created by the billingCreateLineByCustomer\noperation. Empty invoices are not allowed.');
2578
- /**
2579
- * Create a new pending line item (charge).
2580
-
2581
- This call is used to create a new pending line item for the customer if required a new
2582
- gathering invoice will be created.
2583
-
2584
- A new invoice will be created if:
2585
- - there is no invoice in gathering state
2586
- - the currency of the line item doesn't match the currency of any invoices in gathering state
2587
- * @summary Create pending line items
2588
- */
2589
- exports.createPendingInvoiceLineBodyNameMax = 256;
2590
- exports.createPendingInvoiceLineBodyDescriptionMax = 1024;
2591
- exports.createPendingInvoiceLineBodyCurrencyMinOne = 3;
2592
- exports.createPendingInvoiceLineBodyCurrencyMaxOne = 3;
2593
- exports.createPendingInvoiceLineBodyCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
2594
- exports.createPendingInvoiceLineBodyTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
2595
- exports.createPendingInvoiceLineBodyPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2596
- exports.createPendingInvoiceLineBodyPricePaymentTermDefault = 'in_advance';
2597
- exports.createPendingInvoiceLineBodyPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2598
- exports.createPendingInvoiceLineBodyPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2599
- exports.createPendingInvoiceLineBodyPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2600
- exports.createPendingInvoiceLineBodyPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2601
- exports.createPendingInvoiceLineBodyPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2602
- exports.createPendingInvoiceLineBodyPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2603
- exports.createPendingInvoiceLineBodyPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2604
- exports.createPendingInvoiceLineBodyPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2605
- exports.createPendingInvoiceLineBodyPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2606
- exports.createPendingInvoiceLineBodyPriceMultiplierDefault = '1';
2607
- exports.createPendingInvoiceLineBodyPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2608
- exports.createPendingInvoiceLineBodyPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2609
- exports.createPendingInvoiceLineBodyPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2610
- exports.createPendingInvoiceLineBodyPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2611
- exports.createPendingInvoiceLineBodyPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2612
- exports.createPendingInvoiceLineBodyPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2613
- exports.createPendingInvoiceLineBodyFeatureKeyMax = 64;
2614
- exports.createPendingInvoiceLineBodyFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
2615
- exports.createPendingInvoiceLineBodyRateCardFeatureKeyMax = 64;
2616
- exports.createPendingInvoiceLineBodyRateCardFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
2617
- exports.createPendingInvoiceLineBodyRateCardTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
2618
- exports.createPendingInvoiceLineBodyRateCardPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2619
- exports.createPendingInvoiceLineBodyRateCardPricePaymentTermDefault = 'in_advance';
2620
- exports.createPendingInvoiceLineBodyRateCardPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2621
- exports.createPendingInvoiceLineBodyRateCardPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2622
- exports.createPendingInvoiceLineBodyRateCardPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2623
- exports.createPendingInvoiceLineBodyRateCardPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2624
- exports.createPendingInvoiceLineBodyRateCardPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2625
- exports.createPendingInvoiceLineBodyRateCardPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2626
- exports.createPendingInvoiceLineBodyRateCardPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2627
- exports.createPendingInvoiceLineBodyRateCardPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2628
- exports.createPendingInvoiceLineBodyRateCardPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2629
- exports.createPendingInvoiceLineBodyRateCardPriceMultiplierDefault = '1';
2630
- exports.createPendingInvoiceLineBodyRateCardPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2631
- exports.createPendingInvoiceLineBodyRateCardPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2632
- exports.createPendingInvoiceLineBodyRateCardPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2633
- exports.createPendingInvoiceLineBodyRateCardPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2634
- exports.createPendingInvoiceLineBodyRateCardPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2635
- exports.createPendingInvoiceLineBodyRateCardPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2636
- exports.createPendingInvoiceLineBodyRateCardDiscountsPercentageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2637
- exports.createPendingInvoiceLineBodyRateCardDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2638
- exports.createPendingInvoiceLineBodyRateCardDiscountsUsageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2639
- exports.createPendingInvoiceLineBodyCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2640
- exports.createPendingInvoiceLineBodyNameMaxOne = 256;
2641
- exports.createPendingInvoiceLineBodyDescriptionMaxOne = 1024;
2642
- exports.createPendingInvoiceLineBodyCurrencyMinThree = 3;
2643
- exports.createPendingInvoiceLineBodyCurrencyMaxThree = 3;
2644
- exports.createPendingInvoiceLineBodyCurrencyRegExpThree = new RegExp('^[A-Z]{3}$');
2645
- exports.createPendingInvoiceLineBodyTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
2646
- exports.createPendingInvoiceLineBodyPerUnitAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2647
- exports.createPendingInvoiceLineBodyPaymentTermDefault = 'in_advance';
2648
- exports.createPendingInvoiceLineBodyQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2649
- exports.createPendingInvoiceLineBodyRateCardTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
2650
- exports.createPendingInvoiceLineBodyRateCardPriceAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2651
- exports.createPendingInvoiceLineBodyRateCardPricePaymentTermDefaultTwo = 'in_advance';
2652
- exports.createPendingInvoiceLineBodyRateCardQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2653
- exports.createPendingInvoiceLineBodyRateCardDiscountsPercentageCorrelationIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2654
- exports.createPendingInvoiceLineBodyRateCardDiscountsUsageQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2655
- exports.createPendingInvoiceLineBodyRateCardDiscountsUsageCorrelationIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2656
- exports.createPendingInvoiceLineBodyCategoryDefault = 'regular';
2657
- exports.createPendingInvoiceLineBodyCustomerIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2658
- exports.createPendingInvoiceLineBodyItem = zod_1.z
2659
- .discriminatedUnion('type', [
2660
- zod_1.z
2661
- .object({
2662
- currency: zod_1.z
2663
- .string()
2664
- .min(exports.createPendingInvoiceLineBodyCurrencyMinOne)
2665
- .max(exports.createPendingInvoiceLineBodyCurrencyMaxOne)
2666
- .regex(exports.createPendingInvoiceLineBodyCurrencyRegExpOne)
2667
- .describe('Three-letter [ISO4217](https://www.iso.org/iso-4217-currency-codes.html) currency code.\nCustom three-letter currency codes are also supported for convenience.')
2668
- .describe('The currency of this line.'),
2669
- customerId: zod_1.z
2670
- .string()
2671
- .regex(exports.createPendingInvoiceLineBodyCustomerIdRegExp)
2672
- .describe('The customer this line item belongs to.'),
2673
- description: zod_1.z
2674
- .string()
2675
- .max(exports.createPendingInvoiceLineBodyDescriptionMax)
2676
- .optional()
2677
- .describe('Optional description of the resource. Maximum 1024 characters.'),
2678
- featureKey: zod_1.z
2679
- .string()
2680
- .min(1)
2681
- .max(exports.createPendingInvoiceLineBodyFeatureKeyMax)
2682
- .regex(exports.createPendingInvoiceLineBodyFeatureKeyRegExp)
2683
- .optional()
2684
- .describe('The feature that the usage is based on.'),
2685
- invoiceAt: zod_1.z
2686
- .date()
2687
- .describe('The time this line item should be invoiced.'),
2688
- metadata: zod_1.z
2689
- .record(zod_1.z.string(), zod_1.z.string())
2690
- .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
2691
- .nullish()
2692
- .describe('Additional metadata for the resource.'),
2693
- name: zod_1.z
2694
- .string()
2695
- .min(1)
2696
- .max(exports.createPendingInvoiceLineBodyNameMax)
2697
- .describe('Human-readable name for the resource. Between 1 and 256 characters.'),
2698
- period: zod_1.z
2699
- .object({
2700
- from: zod_1.z.date().describe('Period start time.'),
2701
- to: zod_1.z.date().describe('Period end time.'),
2702
- })
2703
- .describe('A period with a start and end time.')
2704
- .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.'),
2705
- price: zod_1.z
2706
- .discriminatedUnion('type', [
2707
- zod_1.z
2708
- .object({
2709
- amount: zod_1.z
2710
- .string()
2711
- .regex(exports.createPendingInvoiceLineBodyPriceAmountRegExpOne)
2712
- .describe('Numeric represents an arbitrary precision number.')
2713
- .describe('The amount of the flat price.'),
2714
- paymentTerm: zod_1.z
2715
- .enum(['in_advance', 'in_arrears'])
2716
- .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
2717
- .default(exports.createPendingInvoiceLineBodyPricePaymentTermDefault)
2718
- .describe('The payment term of the flat price.\nDefaults to in advance.'),
2719
- type: zod_1.z.enum(['flat']),
2720
- })
2721
- .describe('Flat price with payment term.'),
2722
- zod_1.z
2723
- .object({
2724
- amount: zod_1.z
2725
- .string()
2726
- .regex(exports.createPendingInvoiceLineBodyPriceAmountRegExpThree)
2727
- .describe('Numeric represents an arbitrary precision number.')
2728
- .describe('The amount of the unit price.'),
2729
- maximumAmount: zod_1.z
2730
- .string()
2731
- .regex(exports.createPendingInvoiceLineBodyPriceMaximumAmountRegExpOne)
2732
- .describe('Numeric represents an arbitrary precision number.')
2733
- .optional()
2734
- .describe('The customer is limited to spend at most the amount.'),
2735
- minimumAmount: zod_1.z
2736
- .string()
2737
- .regex(exports.createPendingInvoiceLineBodyPriceMinimumAmountRegExpOne)
2738
- .describe('Numeric represents an arbitrary precision number.')
2739
- .optional()
2740
- .describe('The customer is committed to spend at least the amount.'),
2741
- type: zod_1.z.enum(['unit']),
2742
- })
2743
- .describe('Unit price with spend commitments.'),
2744
- zod_1.z
2745
- .object({
2746
- maximumAmount: zod_1.z
2747
- .string()
2748
- .regex(exports.createPendingInvoiceLineBodyPriceMaximumAmountRegExpThree)
2749
- .describe('Numeric represents an arbitrary precision number.')
2750
- .optional()
2751
- .describe('The customer is limited to spend at most the amount.'),
2752
- minimumAmount: zod_1.z
2753
- .string()
2754
- .regex(exports.createPendingInvoiceLineBodyPriceMinimumAmountRegExpThree)
2755
- .describe('Numeric represents an arbitrary precision number.')
2756
- .optional()
2757
- .describe('The customer is committed to spend at least the amount.'),
2758
- mode: zod_1.z
2759
- .enum(['volume', 'graduated'])
2760
- .describe('The mode of the tiered price.')
2761
- .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.'),
2762
- tiers: zod_1.z
2763
- .array(zod_1.z
2764
- .object({
2765
- flatPrice: zod_1.z
2766
- .object({
2767
- amount: zod_1.z
2768
- .string()
2769
- .regex(exports.createPendingInvoiceLineBodyPriceTiersItemFlatPriceAmountRegExpOne)
2770
- .describe('Numeric represents an arbitrary precision number.')
2771
- .describe('The amount of the flat price.'),
2772
- type: zod_1.z
2773
- .enum(['flat'])
2774
- .describe('The type of the price.'),
2775
- })
2776
- .describe('Flat price.')
2777
- .nullable()
2778
- .describe('The flat price component of the tier.'),
2779
- unitPrice: zod_1.z
2780
- .object({
2781
- amount: zod_1.z
2782
- .string()
2783
- .regex(exports.createPendingInvoiceLineBodyPriceTiersItemUnitPriceAmountRegExpOne)
2784
- .describe('Numeric represents an arbitrary precision number.')
2785
- .describe('The amount of the unit price.'),
2786
- type: zod_1.z
2787
- .enum(['unit'])
2788
- .describe('The type of the price.'),
2789
- })
2790
- .describe('Unit price.')
2791
- .nullable()
2792
- .describe('The unit price component of the tier.'),
2793
- upToAmount: zod_1.z
2794
- .string()
2795
- .regex(exports.createPendingInvoiceLineBodyPriceTiersItemUpToAmountRegExpOne)
2796
- .describe('Numeric represents an arbitrary precision number.')
2797
- .optional()
2798
- .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
2799
- })
2800
- .describe('A price tier.\nAt least one price component is required in each tier.'))
2801
- .min(1)
2802
- .describe('The tiers of the tiered price.\nAt least one price component is required in each tier.'),
2803
- type: zod_1.z.enum(['tiered']),
2804
- })
2805
- .describe('Tiered price with spend commitments.'),
2806
- zod_1.z
2807
- .object({
2808
- maximumAmount: zod_1.z
2809
- .string()
2810
- .regex(exports.createPendingInvoiceLineBodyPriceMaximumAmountRegExpFive)
2811
- .describe('Numeric represents an arbitrary precision number.')
2812
- .optional()
2813
- .describe('The customer is limited to spend at most the amount.'),
2814
- minimumAmount: zod_1.z
2815
- .string()
2816
- .regex(exports.createPendingInvoiceLineBodyPriceMinimumAmountRegExpFive)
2817
- .describe('Numeric represents an arbitrary precision number.')
2818
- .optional()
2819
- .describe('The customer is committed to spend at least the amount.'),
2820
- multiplier: zod_1.z
2821
- .string()
2822
- .regex(exports.createPendingInvoiceLineBodyPriceMultiplierRegExpOne)
2823
- .describe('Numeric represents an arbitrary precision number.')
2824
- .default(exports.createPendingInvoiceLineBodyPriceMultiplierDefault)
2825
- .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'),
2826
- type: zod_1.z.enum(['dynamic']),
2827
- })
2828
- .describe('Dynamic price with spend commitments.'),
2829
- zod_1.z
2830
- .object({
2831
- amount: zod_1.z
2832
- .string()
2833
- .regex(exports.createPendingInvoiceLineBodyPriceAmountRegExpFive)
2834
- .describe('Numeric represents an arbitrary precision number.')
2835
- .describe('The price of one package.'),
2836
- maximumAmount: zod_1.z
2837
- .string()
2838
- .regex(exports.createPendingInvoiceLineBodyPriceMaximumAmountRegExpSeven)
2839
- .describe('Numeric represents an arbitrary precision number.')
2840
- .optional()
2841
- .describe('The customer is limited to spend at most the amount.'),
2842
- minimumAmount: zod_1.z
2843
- .string()
2844
- .regex(exports.createPendingInvoiceLineBodyPriceMinimumAmountRegExpSeven)
2845
- .describe('Numeric represents an arbitrary precision number.')
2846
- .optional()
2847
- .describe('The customer is committed to spend at least the amount.'),
2848
- quantityPerPackage: zod_1.z
2849
- .string()
2850
- .regex(exports.createPendingInvoiceLineBodyPriceQuantityPerPackageRegExpOne)
2851
- .describe('Numeric represents an arbitrary precision number.')
2852
- .describe('The quantity per package.'),
2853
- type: zod_1.z.enum(['package']),
2854
- })
2855
- .describe('Package price with spend commitments.'),
2856
- ])
2857
- .describe('The price of the usage based rate card.')
2858
- .optional()
2859
- .describe('Price of the usage-based item being sold.'),
2860
- rateCard: zod_1.z
2861
- .object({
2862
- discounts: zod_1.z
2863
- .object({
2864
- percentage: zod_1.z
2865
- .object({
2866
- correlationId: zod_1.z
2867
- .string()
2868
- .regex(exports.createPendingInvoiceLineBodyRateCardDiscountsPercentageCorrelationIdRegExp)
2869
- .optional()
2870
- .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.'),
2871
- percentage: zod_1.z
2872
- .number()
2873
- .describe('Numeric representation of a percentage\n\n50% is represented as 50')
2874
- .describe('The percentage of the discount.'),
2875
- })
2876
- .describe('A percentage discount.')
2877
- .optional()
2878
- .describe('The percentage discount.'),
2879
- usage: zod_1.z
2880
- .object({
2881
- correlationId: zod_1.z
2882
- .string()
2883
- .regex(exports.createPendingInvoiceLineBodyRateCardDiscountsUsageCorrelationIdRegExp)
2884
- .optional()
2885
- .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.'),
2886
- quantity: zod_1.z
2887
- .string()
2888
- .regex(exports.createPendingInvoiceLineBodyRateCardDiscountsUsageQuantityRegExpOne)
2889
- .describe('Numeric represents an arbitrary precision number.')
2890
- .describe('The quantity of the usage discount.\n\nMust be positive.'),
2891
- })
2892
- .describe('A usage discount.')
2893
- .optional()
2894
- .describe('The usage discount.'),
2895
- })
2896
- .describe('A discount by type.')
2445
+ exports.simulateInvoiceBodyNumberMaxOne = 256;
2446
+ exports.simulateInvoiceBodyCurrencyMinOne = 3;
2447
+ exports.simulateInvoiceBodyCurrencyMaxOne = 3;
2448
+ exports.simulateInvoiceBodyCurrencyRegExpOne = new RegExp('^[A-Z]{3}$');
2449
+ exports.simulateInvoiceBodyLinesItemNameMax = 256;
2450
+ exports.simulateInvoiceBodyLinesItemDescriptionMax = 1024;
2451
+ exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
2452
+ exports.simulateInvoiceBodyLinesItemPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2453
+ exports.simulateInvoiceBodyLinesItemPricePaymentTermDefault = 'in_advance';
2454
+ exports.simulateInvoiceBodyLinesItemPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2455
+ exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2456
+ exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2457
+ exports.simulateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2458
+ exports.simulateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2459
+ exports.simulateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2460
+ exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2461
+ exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2462
+ exports.simulateInvoiceBodyLinesItemPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2463
+ exports.simulateInvoiceBodyLinesItemPriceMultiplierDefault = '1';
2464
+ exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2465
+ exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2466
+ exports.simulateInvoiceBodyLinesItemPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2467
+ exports.simulateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2468
+ exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2469
+ exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2470
+ exports.simulateInvoiceBodyLinesItemFeatureKeyMax = 64;
2471
+ exports.simulateInvoiceBodyLinesItemFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
2472
+ exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyMax = 64;
2473
+ exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
2474
+ exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp = new RegExp('^txcd_\\d{8}$');
2475
+ exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2476
+ exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefault = 'in_advance';
2477
+ exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2478
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2479
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2480
+ exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2481
+ exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2482
+ exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2483
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2484
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2485
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2486
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierDefault = '1';
2487
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2488
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2489
+ exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2490
+ exports.simulateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2491
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2492
+ exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2493
+ exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2494
+ exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2495
+ exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2496
+ exports.simulateInvoiceBodyLinesItemQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2497
+ exports.simulateInvoiceBodyLinesItemPreLinePeriodQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2498
+ exports.simulateInvoiceBodyLinesItemIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2499
+ exports.simulateInvoiceBodyLinesItemNameMaxOne = 256;
2500
+ exports.simulateInvoiceBodyLinesItemDescriptionMaxOne = 1024;
2501
+ exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
2502
+ exports.simulateInvoiceBodyLinesItemPerUnitAmountRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2503
+ exports.simulateInvoiceBodyLinesItemPaymentTermDefault = 'in_advance';
2504
+ exports.simulateInvoiceBodyLinesItemQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2505
+ exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne = new RegExp('^txcd_\\d{8}$');
2506
+ exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpSeven = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2507
+ exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefaultTwo = 'in_advance';
2508
+ exports.simulateInvoiceBodyLinesItemRateCardQuantityRegExpOne = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2509
+ exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2510
+ exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree = new RegExp('^\\-?[0-9]+(\\.[0-9]+)?$');
2511
+ exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2512
+ exports.simulateInvoiceBodyLinesItemCategoryDefault = 'regular';
2513
+ exports.simulateInvoiceBodyLinesItemIdRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
2514
+ exports.simulateInvoiceBody = zod_1.z
2515
+ .object({
2516
+ currency: zod_1.z
2517
+ .string()
2518
+ .min(exports.simulateInvoiceBodyCurrencyMinOne)
2519
+ .max(exports.simulateInvoiceBodyCurrencyMaxOne)
2520
+ .regex(exports.simulateInvoiceBodyCurrencyRegExpOne)
2521
+ .describe('Three-letter [ISO4217](https://www.iso.org/iso-4217-currency-codes.html) currency code.\nCustom three-letter currency codes are also supported for convenience.')
2522
+ .describe('Currency for all invoice line items.\n\nMulti currency invoices are not supported yet.'),
2523
+ lines: zod_1.z
2524
+ .array(zod_1.z
2525
+ .discriminatedUnion('type', [
2526
+ zod_1.z
2527
+ .object({
2528
+ description: zod_1.z
2529
+ .string()
2530
+ .max(exports.simulateInvoiceBodyLinesItemDescriptionMax)
2897
2531
  .optional()
2898
- .describe('The discounts that are applied to the line.'),
2532
+ .describe('Optional description of the resource. Maximum 1024 characters.'),
2899
2533
  featureKey: zod_1.z
2900
2534
  .string()
2901
2535
  .min(1)
2902
- .max(exports.createPendingInvoiceLineBodyRateCardFeatureKeyMax)
2903
- .regex(exports.createPendingInvoiceLineBodyRateCardFeatureKeyRegExp)
2536
+ .max(exports.simulateInvoiceBodyLinesItemFeatureKeyMax)
2537
+ .regex(exports.simulateInvoiceBodyLinesItemFeatureKeyRegExp)
2904
2538
  .optional()
2905
- .describe('The feature the customer is entitled to use.'),
2539
+ .describe('The feature that the usage is based on.'),
2540
+ id: zod_1.z
2541
+ .string()
2542
+ .regex(exports.simulateInvoiceBodyLinesItemIdRegExp)
2543
+ .optional()
2544
+ .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.'),
2545
+ invoiceAt: zod_1.z
2546
+ .date()
2547
+ .describe('The time this line item should be invoiced.'),
2548
+ metadata: zod_1.z
2549
+ .record(zod_1.z.string(), zod_1.z.string())
2550
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
2551
+ .nullish()
2552
+ .describe('Additional metadata for the resource.'),
2553
+ name: zod_1.z
2554
+ .string()
2555
+ .min(1)
2556
+ .max(exports.simulateInvoiceBodyLinesItemNameMax)
2557
+ .describe('Human-readable name for the resource. Between 1 and 256 characters.'),
2558
+ period: zod_1.z
2559
+ .object({
2560
+ from: zod_1.z.date().describe('Period start time.'),
2561
+ to: zod_1.z.date().describe('Period end time.'),
2562
+ })
2563
+ .describe('A period with a start and end time.')
2564
+ .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.'),
2565
+ preLinePeriodQuantity: zod_1.z
2566
+ .string()
2567
+ .regex(exports.simulateInvoiceBodyLinesItemPreLinePeriodQuantityRegExpOne)
2568
+ .describe('Numeric represents an arbitrary precision number.')
2569
+ .optional()
2570
+ .describe("The quantity of the item used before this line's period, if the line is billed progressively."),
2906
2571
  price: zod_1.z
2907
2572
  .discriminatedUnion('type', [
2908
2573
  zod_1.z
2909
2574
  .object({
2910
2575
  amount: zod_1.z
2911
2576
  .string()
2912
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceAmountRegExpOne)
2577
+ .regex(exports.simulateInvoiceBodyLinesItemPriceAmountRegExpOne)
2913
2578
  .describe('Numeric represents an arbitrary precision number.')
2914
2579
  .describe('The amount of the flat price.'),
2915
2580
  paymentTerm: zod_1.z
2916
2581
  .enum(['in_advance', 'in_arrears'])
2917
2582
  .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
2918
- .default(exports.createPendingInvoiceLineBodyRateCardPricePaymentTermDefault)
2583
+ .default(exports.simulateInvoiceBodyLinesItemPricePaymentTermDefault)
2919
2584
  .describe('The payment term of the flat price.\nDefaults to in advance.'),
2920
2585
  type: zod_1.z.enum(['flat']),
2921
2586
  })
@@ -2924,18 +2589,18 @@ exports.createPendingInvoiceLineBodyItem = zod_1.z
2924
2589
  .object({
2925
2590
  amount: zod_1.z
2926
2591
  .string()
2927
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceAmountRegExpThree)
2592
+ .regex(exports.simulateInvoiceBodyLinesItemPriceAmountRegExpThree)
2928
2593
  .describe('Numeric represents an arbitrary precision number.')
2929
2594
  .describe('The amount of the unit price.'),
2930
2595
  maximumAmount: zod_1.z
2931
2596
  .string()
2932
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceMaximumAmountRegExpOne)
2597
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne)
2933
2598
  .describe('Numeric represents an arbitrary precision number.')
2934
2599
  .optional()
2935
2600
  .describe('The customer is limited to spend at most the amount.'),
2936
2601
  minimumAmount: zod_1.z
2937
2602
  .string()
2938
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceMinimumAmountRegExpOne)
2603
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne)
2939
2604
  .describe('Numeric represents an arbitrary precision number.')
2940
2605
  .optional()
2941
2606
  .describe('The customer is committed to spend at least the amount.'),
@@ -2946,13 +2611,13 @@ exports.createPendingInvoiceLineBodyItem = zod_1.z
2946
2611
  .object({
2947
2612
  maximumAmount: zod_1.z
2948
2613
  .string()
2949
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceMaximumAmountRegExpThree)
2614
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree)
2950
2615
  .describe('Numeric represents an arbitrary precision number.')
2951
2616
  .optional()
2952
2617
  .describe('The customer is limited to spend at most the amount.'),
2953
2618
  minimumAmount: zod_1.z
2954
2619
  .string()
2955
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceMinimumAmountRegExpThree)
2620
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree)
2956
2621
  .describe('Numeric represents an arbitrary precision number.')
2957
2622
  .optional()
2958
2623
  .describe('The customer is committed to spend at least the amount.'),
@@ -2967,7 +2632,7 @@ exports.createPendingInvoiceLineBodyItem = zod_1.z
2967
2632
  .object({
2968
2633
  amount: zod_1.z
2969
2634
  .string()
2970
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceTiersItemFlatPriceAmountRegExpOne)
2635
+ .regex(exports.simulateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne)
2971
2636
  .describe('Numeric represents an arbitrary precision number.')
2972
2637
  .describe('The amount of the flat price.'),
2973
2638
  type: zod_1.z
@@ -2981,83 +2646,323 @@ exports.createPendingInvoiceLineBodyItem = zod_1.z
2981
2646
  .object({
2982
2647
  amount: zod_1.z
2983
2648
  .string()
2984
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceTiersItemUnitPriceAmountRegExpOne)
2649
+ .regex(exports.simulateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne)
2650
+ .describe('Numeric represents an arbitrary precision number.')
2651
+ .describe('The amount of the unit price.'),
2652
+ type: zod_1.z
2653
+ .enum(['unit'])
2654
+ .describe('The type of the price.'),
2655
+ })
2656
+ .describe('Unit price.')
2657
+ .nullable()
2658
+ .describe('The unit price component of the tier.'),
2659
+ upToAmount: zod_1.z
2660
+ .string()
2661
+ .regex(exports.simulateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne)
2662
+ .describe('Numeric represents an arbitrary precision number.')
2663
+ .optional()
2664
+ .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
2665
+ })
2666
+ .describe('A price tier.\nAt least one price component is required in each tier.'))
2667
+ .min(1)
2668
+ .describe('The tiers of the tiered price.\nAt least one price component is required in each tier.'),
2669
+ type: zod_1.z.enum(['tiered']),
2670
+ })
2671
+ .describe('Tiered price with spend commitments.'),
2672
+ zod_1.z
2673
+ .object({
2674
+ maximumAmount: zod_1.z
2675
+ .string()
2676
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive)
2677
+ .describe('Numeric represents an arbitrary precision number.')
2678
+ .optional()
2679
+ .describe('The customer is limited to spend at most the amount.'),
2680
+ minimumAmount: zod_1.z
2681
+ .string()
2682
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive)
2683
+ .describe('Numeric represents an arbitrary precision number.')
2684
+ .optional()
2685
+ .describe('The customer is committed to spend at least the amount.'),
2686
+ multiplier: zod_1.z
2687
+ .string()
2688
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMultiplierRegExpOne)
2689
+ .describe('Numeric represents an arbitrary precision number.')
2690
+ .default(exports.simulateInvoiceBodyLinesItemPriceMultiplierDefault)
2691
+ .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'),
2692
+ type: zod_1.z.enum(['dynamic']),
2693
+ })
2694
+ .describe('Dynamic price with spend commitments.'),
2695
+ zod_1.z
2696
+ .object({
2697
+ amount: zod_1.z
2698
+ .string()
2699
+ .regex(exports.simulateInvoiceBodyLinesItemPriceAmountRegExpFive)
2700
+ .describe('Numeric represents an arbitrary precision number.')
2701
+ .describe('The price of one package.'),
2702
+ maximumAmount: zod_1.z
2703
+ .string()
2704
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven)
2705
+ .describe('Numeric represents an arbitrary precision number.')
2706
+ .optional()
2707
+ .describe('The customer is limited to spend at most the amount.'),
2708
+ minimumAmount: zod_1.z
2709
+ .string()
2710
+ .regex(exports.simulateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven)
2711
+ .describe('Numeric represents an arbitrary precision number.')
2712
+ .optional()
2713
+ .describe('The customer is committed to spend at least the amount.'),
2714
+ quantityPerPackage: zod_1.z
2715
+ .string()
2716
+ .regex(exports.simulateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne)
2717
+ .describe('Numeric represents an arbitrary precision number.')
2718
+ .describe('The quantity per package.'),
2719
+ type: zod_1.z.enum(['package']),
2720
+ })
2721
+ .describe('Package price with spend commitments.'),
2722
+ ])
2723
+ .describe('The price of the usage based rate card.')
2724
+ .optional()
2725
+ .describe('Price of the usage-based item being sold.'),
2726
+ quantity: zod_1.z
2727
+ .string()
2728
+ .regex(exports.simulateInvoiceBodyLinesItemQuantityRegExpOne)
2729
+ .describe('Numeric represents an arbitrary precision number.')
2730
+ .describe('The quantity of the item being sold.'),
2731
+ rateCard: zod_1.z
2732
+ .object({
2733
+ discounts: zod_1.z
2734
+ .object({
2735
+ percentage: zod_1.z
2736
+ .object({
2737
+ correlationId: zod_1.z
2738
+ .string()
2739
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp)
2740
+ .optional()
2741
+ .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.'),
2742
+ percentage: zod_1.z
2743
+ .number()
2744
+ .describe('Numeric representation of a percentage\n\n50% is represented as 50')
2745
+ .describe('The percentage of the discount.'),
2746
+ })
2747
+ .describe('A percentage discount.')
2748
+ .optional()
2749
+ .describe('The percentage discount.'),
2750
+ usage: zod_1.z
2751
+ .object({
2752
+ correlationId: zod_1.z
2753
+ .string()
2754
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp)
2755
+ .optional()
2756
+ .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.'),
2757
+ quantity: zod_1.z
2758
+ .string()
2759
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne)
2760
+ .describe('Numeric represents an arbitrary precision number.')
2761
+ .describe('The quantity of the usage discount.\n\nMust be positive.'),
2762
+ })
2763
+ .describe('A usage discount.')
2764
+ .optional()
2765
+ .describe('The usage discount.'),
2766
+ })
2767
+ .describe('A discount by type.')
2768
+ .optional()
2769
+ .describe('The discounts that are applied to the line.'),
2770
+ featureKey: zod_1.z
2771
+ .string()
2772
+ .min(1)
2773
+ .max(exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyMax)
2774
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardFeatureKeyRegExp)
2775
+ .optional()
2776
+ .describe('The feature the customer is entitled to use.'),
2777
+ price: zod_1.z
2778
+ .discriminatedUnion('type', [
2779
+ zod_1.z
2780
+ .object({
2781
+ amount: zod_1.z
2782
+ .string()
2783
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne)
2784
+ .describe('Numeric represents an arbitrary precision number.')
2785
+ .describe('The amount of the flat price.'),
2786
+ paymentTerm: zod_1.z
2787
+ .enum(['in_advance', 'in_arrears'])
2788
+ .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
2789
+ .default(exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefault)
2790
+ .describe('The payment term of the flat price.\nDefaults to in advance.'),
2791
+ type: zod_1.z.enum(['flat']),
2792
+ })
2793
+ .describe('Flat price with payment term.'),
2794
+ zod_1.z
2795
+ .object({
2796
+ amount: zod_1.z
2797
+ .string()
2798
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree)
2799
+ .describe('Numeric represents an arbitrary precision number.')
2800
+ .describe('The amount of the unit price.'),
2801
+ maximumAmount: zod_1.z
2802
+ .string()
2803
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne)
2804
+ .describe('Numeric represents an arbitrary precision number.')
2805
+ .optional()
2806
+ .describe('The customer is limited to spend at most the amount.'),
2807
+ minimumAmount: zod_1.z
2808
+ .string()
2809
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne)
2810
+ .describe('Numeric represents an arbitrary precision number.')
2811
+ .optional()
2812
+ .describe('The customer is committed to spend at least the amount.'),
2813
+ type: zod_1.z.enum(['unit']),
2814
+ })
2815
+ .describe('Unit price with spend commitments.'),
2816
+ zod_1.z
2817
+ .object({
2818
+ maximumAmount: zod_1.z
2819
+ .string()
2820
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree)
2821
+ .describe('Numeric represents an arbitrary precision number.')
2822
+ .optional()
2823
+ .describe('The customer is limited to spend at most the amount.'),
2824
+ minimumAmount: zod_1.z
2825
+ .string()
2826
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree)
2827
+ .describe('Numeric represents an arbitrary precision number.')
2828
+ .optional()
2829
+ .describe('The customer is committed to spend at least the amount.'),
2830
+ mode: zod_1.z
2831
+ .enum(['volume', 'graduated'])
2832
+ .describe('The mode of the tiered price.')
2833
+ .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.'),
2834
+ tiers: zod_1.z
2835
+ .array(zod_1.z
2836
+ .object({
2837
+ flatPrice: zod_1.z
2838
+ .object({
2839
+ amount: zod_1.z
2840
+ .string()
2841
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne)
2842
+ .describe('Numeric represents an arbitrary precision number.')
2843
+ .describe('The amount of the flat price.'),
2844
+ type: zod_1.z
2845
+ .enum(['flat'])
2846
+ .describe('The type of the price.'),
2847
+ })
2848
+ .describe('Flat price.')
2849
+ .nullable()
2850
+ .describe('The flat price component of the tier.'),
2851
+ unitPrice: zod_1.z
2852
+ .object({
2853
+ amount: zod_1.z
2854
+ .string()
2855
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne)
2856
+ .describe('Numeric represents an arbitrary precision number.')
2857
+ .describe('The amount of the unit price.'),
2858
+ type: zod_1.z
2859
+ .enum(['unit'])
2860
+ .describe('The type of the price.'),
2861
+ })
2862
+ .describe('Unit price.')
2863
+ .nullable()
2864
+ .describe('The unit price component of the tier.'),
2865
+ upToAmount: zod_1.z
2866
+ .string()
2867
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne)
2985
2868
  .describe('Numeric represents an arbitrary precision number.')
2986
- .describe('The amount of the unit price.'),
2987
- type: zod_1.z
2988
- .enum(['unit'])
2989
- .describe('The type of the price.'),
2869
+ .optional()
2870
+ .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
2990
2871
  })
2991
- .describe('Unit price.')
2992
- .nullable()
2993
- .describe('The unit price component of the tier.'),
2994
- upToAmount: zod_1.z
2872
+ .describe('A price tier.\nAt least one price component is required in each tier.'))
2873
+ .min(1)
2874
+ .describe('The tiers of the tiered price.\nAt least one price component is required in each tier.'),
2875
+ type: zod_1.z.enum(['tiered']),
2876
+ })
2877
+ .describe('Tiered price with spend commitments.'),
2878
+ zod_1.z
2879
+ .object({
2880
+ maximumAmount: zod_1.z
2995
2881
  .string()
2996
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceTiersItemUpToAmountRegExpOne)
2882
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive)
2997
2883
  .describe('Numeric represents an arbitrary precision number.')
2998
2884
  .optional()
2999
- .describe('Up to and including to this quantity will be contained in the tier.\nIf null, the tier is open-ended.'),
2885
+ .describe('The customer is limited to spend at most the amount.'),
2886
+ minimumAmount: zod_1.z
2887
+ .string()
2888
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive)
2889
+ .describe('Numeric represents an arbitrary precision number.')
2890
+ .optional()
2891
+ .describe('The customer is committed to spend at least the amount.'),
2892
+ multiplier: zod_1.z
2893
+ .string()
2894
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne)
2895
+ .describe('Numeric represents an arbitrary precision number.')
2896
+ .default(exports.simulateInvoiceBodyLinesItemRateCardPriceMultiplierDefault)
2897
+ .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'),
2898
+ type: zod_1.z.enum(['dynamic']),
3000
2899
  })
3001
- .describe('A price tier.\nAt least one price component is required in each tier.'))
3002
- .min(1)
3003
- .describe('The tiers of the tiered price.\nAt least one price component is required in each tier.'),
3004
- type: zod_1.z.enum(['tiered']),
3005
- })
3006
- .describe('Tiered price with spend commitments.'),
3007
- zod_1.z
2900
+ .describe('Dynamic price with spend commitments.'),
2901
+ zod_1.z
2902
+ .object({
2903
+ amount: zod_1.z
2904
+ .string()
2905
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive)
2906
+ .describe('Numeric represents an arbitrary precision number.')
2907
+ .describe('The price of one package.'),
2908
+ maximumAmount: zod_1.z
2909
+ .string()
2910
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven)
2911
+ .describe('Numeric represents an arbitrary precision number.')
2912
+ .optional()
2913
+ .describe('The customer is limited to spend at most the amount.'),
2914
+ minimumAmount: zod_1.z
2915
+ .string()
2916
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven)
2917
+ .describe('Numeric represents an arbitrary precision number.')
2918
+ .optional()
2919
+ .describe('The customer is committed to spend at least the amount.'),
2920
+ quantityPerPackage: zod_1.z
2921
+ .string()
2922
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne)
2923
+ .describe('Numeric represents an arbitrary precision number.')
2924
+ .describe('The quantity per package.'),
2925
+ type: zod_1.z.enum(['package']),
2926
+ })
2927
+ .describe('Package price with spend commitments.'),
2928
+ ])
2929
+ .describe('The price of the usage based rate card.')
2930
+ .nullable()
2931
+ .describe('The price of the rate card.\nWhen null, the feature or service is free.'),
2932
+ taxConfig: zod_1.z
3008
2933
  .object({
3009
- maximumAmount: zod_1.z
3010
- .string()
3011
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceMaximumAmountRegExpFive)
3012
- .describe('Numeric represents an arbitrary precision number.')
3013
- .optional()
3014
- .describe('The customer is limited to spend at most the amount.'),
3015
- minimumAmount: zod_1.z
3016
- .string()
3017
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceMinimumAmountRegExpFive)
3018
- .describe('Numeric represents an arbitrary precision number.')
2934
+ behavior: zod_1.z
2935
+ .enum(['inclusive', 'exclusive'])
2936
+ .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
3019
2937
  .optional()
3020
- .describe('The customer is committed to spend at least the amount.'),
3021
- multiplier: zod_1.z
3022
- .string()
3023
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceMultiplierRegExpOne)
3024
- .describe('Numeric represents an arbitrary precision number.')
3025
- .default(exports.createPendingInvoiceLineBodyRateCardPriceMultiplierDefault)
3026
- .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'),
3027
- type: zod_1.z.enum(['dynamic']),
3028
- })
3029
- .describe('Dynamic price with spend commitments.'),
3030
- zod_1.z
3031
- .object({
3032
- amount: zod_1.z
3033
- .string()
3034
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceAmountRegExpFive)
3035
- .describe('Numeric represents an arbitrary precision number.')
3036
- .describe('The price of one package.'),
3037
- maximumAmount: zod_1.z
3038
- .string()
3039
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceMaximumAmountRegExpSeven)
3040
- .describe('Numeric represents an arbitrary precision number.')
2938
+ .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."),
2939
+ customInvoicing: zod_1.z
2940
+ .object({
2941
+ code: zod_1.z
2942
+ .string()
2943
+ .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
2944
+ })
2945
+ .describe('Custom invoicing tax config.')
3041
2946
  .optional()
3042
- .describe('The customer is limited to spend at most the amount.'),
3043
- minimumAmount: zod_1.z
3044
- .string()
3045
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceMinimumAmountRegExpSeven)
3046
- .describe('Numeric represents an arbitrary precision number.')
2947
+ .describe('Custom invoicing tax config.'),
2948
+ stripe: zod_1.z
2949
+ .object({
2950
+ code: zod_1.z
2951
+ .string()
2952
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp)
2953
+ .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
2954
+ })
2955
+ .describe('The tax config for Stripe.')
3047
2956
  .optional()
3048
- .describe('The customer is committed to spend at least the amount.'),
3049
- quantityPerPackage: zod_1.z
3050
- .string()
3051
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceQuantityPerPackageRegExpOne)
3052
- .describe('Numeric represents an arbitrary precision number.')
3053
- .describe('The quantity per package.'),
3054
- type: zod_1.z.enum(['package']),
2957
+ .describe('Stripe tax config.'),
3055
2958
  })
3056
- .describe('Package price with spend commitments.'),
3057
- ])
3058
- .describe('The price of the usage based rate card.')
3059
- .nullable()
3060
- .describe('The price of the rate card.\nWhen null, the feature or service is free.'),
2959
+ .describe('Set of provider specific tax configs.')
2960
+ .optional()
2961
+ .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.'),
2962
+ })
2963
+ .describe('InvoiceUsageBasedRateCard represents the rate card (intent) for an usage-based line.')
2964
+ .optional()
2965
+ .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.'),
3061
2966
  taxConfig: zod_1.z
3062
2967
  .object({
3063
2968
  behavior: zod_1.z
@@ -3078,7 +2983,7 @@ exports.createPendingInvoiceLineBodyItem = zod_1.z
3078
2983
  .object({
3079
2984
  code: zod_1.z
3080
2985
  .string()
3081
- .regex(exports.createPendingInvoiceLineBodyRateCardTaxConfigStripeCodeRegExp)
2986
+ .regex(exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp)
3082
2987
  .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
3083
2988
  })
3084
2989
  .describe('The tax config for Stripe.')
@@ -3087,166 +2992,160 @@ exports.createPendingInvoiceLineBodyItem = zod_1.z
3087
2992
  })
3088
2993
  .describe('Set of provider specific tax configs.')
3089
2994
  .optional()
3090
- .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.'),
2995
+ .describe('Tax config specify the tax configuration for this line.'),
2996
+ type: zod_1.z.enum(['usage_based']),
3091
2997
  })
3092
- .describe('InvoiceUsageBasedRateCard represents the rate card (intent) for an usage-based line.')
3093
- .optional()
3094
- .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.'),
3095
- taxConfig: zod_1.z
2998
+ .describe('InvoiceSimulationUsageBasedLine represents a usage-based line item that can be input to the simulation endpoint.'),
2999
+ zod_1.z
3096
3000
  .object({
3097
- behavior: zod_1.z
3098
- .enum(['inclusive', 'exclusive'])
3099
- .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
3001
+ category: zod_1.z
3002
+ .enum(['regular', 'commitment'])
3003
+ .describe('InvoiceFlatFeeCategory determines if the flat fee is a regular fee due to use due to a\ncommitment.')
3004
+ .default(exports.simulateInvoiceBodyLinesItemCategoryDefault)
3005
+ .describe('Category of the flat fee.'),
3006
+ description: zod_1.z
3007
+ .string()
3008
+ .max(exports.simulateInvoiceBodyLinesItemDescriptionMaxOne)
3100
3009
  .optional()
3101
- .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."),
3102
- customInvoicing: zod_1.z
3103
- .object({
3104
- code: zod_1.z
3105
- .string()
3106
- .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
3107
- })
3108
- .describe('Custom invoicing tax config.')
3010
+ .describe('Optional description of the resource. Maximum 1024 characters.'),
3011
+ id: zod_1.z
3012
+ .string()
3013
+ .regex(exports.simulateInvoiceBodyLinesItemIdRegExpOne)
3109
3014
  .optional()
3110
- .describe('Custom invoicing tax config.'),
3111
- stripe: zod_1.z
3015
+ .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.'),
3016
+ invoiceAt: zod_1.z
3017
+ .date()
3018
+ .describe('The time this line item should be invoiced.'),
3019
+ metadata: zod_1.z
3020
+ .record(zod_1.z.string(), zod_1.z.string())
3021
+ .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
3022
+ .nullish()
3023
+ .describe('Additional metadata for the resource.'),
3024
+ name: zod_1.z
3025
+ .string()
3026
+ .min(1)
3027
+ .max(exports.simulateInvoiceBodyLinesItemNameMaxOne)
3028
+ .describe('Human-readable name for the resource. Between 1 and 256 characters.'),
3029
+ paymentTerm: zod_1.z
3030
+ .enum(['in_advance', 'in_arrears'])
3031
+ .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
3032
+ .default(exports.simulateInvoiceBodyLinesItemPaymentTermDefault)
3033
+ .describe('Payment term of the line.'),
3034
+ period: zod_1.z
3112
3035
  .object({
3113
- code: zod_1.z
3114
- .string()
3115
- .regex(exports.createPendingInvoiceLineBodyTaxConfigStripeCodeRegExp)
3116
- .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
3036
+ from: zod_1.z.date().describe('Period start time.'),
3037
+ to: zod_1.z.date().describe('Period end time.'),
3117
3038
  })
3118
- .describe('The tax config for Stripe.')
3039
+ .describe('A period with a start and end time.')
3040
+ .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.'),
3041
+ perUnitAmount: zod_1.z
3042
+ .string()
3043
+ .regex(exports.simulateInvoiceBodyLinesItemPerUnitAmountRegExpOne)
3044
+ .describe('Numeric represents an arbitrary precision number.')
3119
3045
  .optional()
3120
- .describe('Stripe tax config.'),
3121
- })
3122
- .describe('Set of provider specific tax configs.')
3123
- .optional()
3124
- .describe('Tax config specify the tax configuration for this line.'),
3125
- type: zod_1.z.enum(['usage_based']),
3126
- })
3127
- .describe('InvoiceUsageBasedLineCreateWithCustomer represents the create model for an invoice line that is sold to the customer based on usage.'),
3128
- zod_1.z
3129
- .object({
3130
- category: zod_1.z
3131
- .enum(['regular', 'commitment'])
3132
- .describe('InvoiceFlatFeeCategory determines if the flat fee is a regular fee due to use due to a\ncommitment.')
3133
- .default(exports.createPendingInvoiceLineBodyCategoryDefault)
3134
- .describe('Category of the flat fee.'),
3135
- currency: zod_1.z
3136
- .string()
3137
- .min(exports.createPendingInvoiceLineBodyCurrencyMinThree)
3138
- .max(exports.createPendingInvoiceLineBodyCurrencyMaxThree)
3139
- .regex(exports.createPendingInvoiceLineBodyCurrencyRegExpThree)
3140
- .describe('Three-letter [ISO4217](https://www.iso.org/iso-4217-currency-codes.html) currency code.\nCustom three-letter currency codes are also supported for convenience.')
3141
- .describe('The currency of this line.'),
3142
- customerId: zod_1.z
3143
- .string()
3144
- .regex(exports.createPendingInvoiceLineBodyCustomerIdRegExpOne)
3145
- .describe('The customer this line item belongs to.'),
3146
- description: zod_1.z
3147
- .string()
3148
- .max(exports.createPendingInvoiceLineBodyDescriptionMaxOne)
3149
- .optional()
3150
- .describe('Optional description of the resource. Maximum 1024 characters.'),
3151
- invoiceAt: zod_1.z
3152
- .date()
3153
- .describe('The time this line item should be invoiced.'),
3154
- metadata: zod_1.z
3155
- .record(zod_1.z.string(), zod_1.z.string())
3156
- .describe('Set of key-value pairs.\nMetadata can be used to store additional information about a resource.')
3157
- .nullish()
3158
- .describe('Additional metadata for the resource.'),
3159
- name: zod_1.z
3160
- .string()
3161
- .min(1)
3162
- .max(exports.createPendingInvoiceLineBodyNameMaxOne)
3163
- .describe('Human-readable name for the resource. Between 1 and 256 characters.'),
3164
- paymentTerm: zod_1.z
3165
- .enum(['in_advance', 'in_arrears'])
3166
- .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
3167
- .default(exports.createPendingInvoiceLineBodyPaymentTermDefault)
3168
- .describe('Payment term of the line.'),
3169
- period: zod_1.z
3170
- .object({
3171
- from: zod_1.z.date().describe('Period start time.'),
3172
- to: zod_1.z.date().describe('Period end time.'),
3173
- })
3174
- .describe('A period with a start and end time.')
3175
- .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.'),
3176
- perUnitAmount: zod_1.z
3177
- .string()
3178
- .regex(exports.createPendingInvoiceLineBodyPerUnitAmountRegExpOne)
3179
- .describe('Numeric represents an arbitrary precision number.')
3180
- .optional()
3181
- .describe('Price of the item being sold.'),
3182
- quantity: zod_1.z
3183
- .string()
3184
- .regex(exports.createPendingInvoiceLineBodyQuantityRegExpOne)
3185
- .describe('Numeric represents an arbitrary precision number.')
3186
- .optional()
3187
- .describe('Quantity of the item being sold.'),
3188
- rateCard: zod_1.z
3189
- .object({
3190
- discounts: zod_1.z
3046
+ .describe('Price of the item being sold.'),
3047
+ quantity: zod_1.z
3048
+ .string()
3049
+ .regex(exports.simulateInvoiceBodyLinesItemQuantityRegExpThree)
3050
+ .describe('Numeric represents an arbitrary precision number.')
3051
+ .optional()
3052
+ .describe('Quantity of the item being sold.'),
3053
+ rateCard: zod_1.z
3191
3054
  .object({
3192
- percentage: zod_1.z
3055
+ discounts: zod_1.z
3193
3056
  .object({
3194
- correlationId: zod_1.z
3195
- .string()
3196
- .regex(exports.createPendingInvoiceLineBodyRateCardDiscountsPercentageCorrelationIdRegExpOne)
3197
- .optional()
3198
- .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.'),
3199
3057
  percentage: zod_1.z
3200
- .number()
3201
- .describe('Numeric representation of a percentage\n\n50% is represented as 50')
3202
- .describe('The percentage of the discount.'),
3058
+ .object({
3059
+ correlationId: zod_1.z
3060
+ .string()
3061
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExpOne)
3062
+ .optional()
3063
+ .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.'),
3064
+ percentage: zod_1.z
3065
+ .number()
3066
+ .describe('Numeric representation of a percentage\n\n50% is represented as 50')
3067
+ .describe('The percentage of the discount.'),
3068
+ })
3069
+ .describe('A percentage discount.')
3070
+ .optional()
3071
+ .describe('The percentage discount.'),
3072
+ usage: zod_1.z
3073
+ .object({
3074
+ correlationId: zod_1.z
3075
+ .string()
3076
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExpOne)
3077
+ .optional()
3078
+ .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.'),
3079
+ quantity: zod_1.z
3080
+ .string()
3081
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpThree)
3082
+ .describe('Numeric represents an arbitrary precision number.')
3083
+ .describe('The quantity of the usage discount.\n\nMust be positive.'),
3084
+ })
3085
+ .describe('A usage discount.')
3086
+ .optional()
3087
+ .describe('The usage discount.'),
3203
3088
  })
3204
- .describe('A percentage discount.')
3089
+ .describe('A discount by type.')
3205
3090
  .optional()
3206
- .describe('The percentage discount.'),
3207
- usage: zod_1.z
3091
+ .describe('The discounts that are applied to the line.'),
3092
+ price: zod_1.z
3208
3093
  .object({
3209
- correlationId: zod_1.z
3210
- .string()
3211
- .regex(exports.createPendingInvoiceLineBodyRateCardDiscountsUsageCorrelationIdRegExpOne)
3212
- .optional()
3213
- .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.'),
3214
- quantity: zod_1.z
3094
+ amount: zod_1.z
3215
3095
  .string()
3216
- .regex(exports.createPendingInvoiceLineBodyRateCardDiscountsUsageQuantityRegExpThree)
3096
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardPriceAmountRegExpSeven)
3217
3097
  .describe('Numeric represents an arbitrary precision number.')
3218
- .describe('The quantity of the usage discount.\n\nMust be positive.'),
3098
+ .describe('The amount of the flat price.'),
3099
+ paymentTerm: zod_1.z
3100
+ .enum(['in_advance', 'in_arrears'])
3101
+ .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
3102
+ .default(exports.simulateInvoiceBodyLinesItemRateCardPricePaymentTermDefaultTwo)
3103
+ .describe('The payment term of the flat price.\nDefaults to in advance.'),
3104
+ type: zod_1.z.enum(['flat']),
3219
3105
  })
3220
- .describe('A usage discount.')
3221
- .optional()
3222
- .describe('The usage discount.'),
3223
- })
3224
- .describe('A discount by type.')
3225
- .optional()
3226
- .describe('The discounts that are applied to the line.'),
3227
- price: zod_1.z
3228
- .object({
3229
- amount: zod_1.z
3106
+ .describe('Flat price with payment term.')
3107
+ .nullable()
3108
+ .describe('The price of the rate card.\nWhen null, the feature or service is free.'),
3109
+ quantity: zod_1.z
3230
3110
  .string()
3231
- .regex(exports.createPendingInvoiceLineBodyRateCardPriceAmountRegExpSeven)
3111
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardQuantityRegExpOne)
3232
3112
  .describe('Numeric represents an arbitrary precision number.')
3233
- .describe('The amount of the flat price.'),
3234
- paymentTerm: zod_1.z
3235
- .enum(['in_advance', 'in_arrears'])
3236
- .describe('The payment term of a flat price.\nOne of: in_advance or in_arrears.')
3237
- .default(exports.createPendingInvoiceLineBodyRateCardPricePaymentTermDefaultTwo)
3238
- .describe('The payment term of the flat price.\nDefaults to in advance.'),
3239
- type: zod_1.z.enum(['flat']),
3113
+ .optional()
3114
+ .describe('Quantity of the item being sold.\n\nDefault: 1'),
3115
+ taxConfig: zod_1.z
3116
+ .object({
3117
+ behavior: zod_1.z
3118
+ .enum(['inclusive', 'exclusive'])
3119
+ .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
3120
+ .optional()
3121
+ .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."),
3122
+ customInvoicing: zod_1.z
3123
+ .object({
3124
+ code: zod_1.z
3125
+ .string()
3126
+ .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
3127
+ })
3128
+ .describe('Custom invoicing tax config.')
3129
+ .optional()
3130
+ .describe('Custom invoicing tax config.'),
3131
+ stripe: zod_1.z
3132
+ .object({
3133
+ code: zod_1.z
3134
+ .string()
3135
+ .regex(exports.simulateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExpOne)
3136
+ .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
3137
+ })
3138
+ .describe('The tax config for Stripe.')
3139
+ .optional()
3140
+ .describe('Stripe tax config.'),
3141
+ })
3142
+ .describe('Set of provider specific tax configs.')
3143
+ .optional()
3144
+ .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.'),
3240
3145
  })
3241
- .describe('Flat price with payment term.')
3242
- .nullable()
3243
- .describe('The price of the rate card.\nWhen null, the feature or service is free.'),
3244
- quantity: zod_1.z
3245
- .string()
3246
- .regex(exports.createPendingInvoiceLineBodyRateCardQuantityRegExpOne)
3247
- .describe('Numeric represents an arbitrary precision number.')
3146
+ .describe('InvoiceFlatFeeRateCard represents the rate card (intent) for a flat fee line.')
3248
3147
  .optional()
3249
- .describe('Quantity of the item being sold.\n\nDefault: 1'),
3148
+ .describe('The rate card that is used for this line.'),
3250
3149
  taxConfig: zod_1.z
3251
3150
  .object({
3252
3151
  behavior: zod_1.z
@@ -3267,7 +3166,7 @@ exports.createPendingInvoiceLineBodyItem = zod_1.z
3267
3166
  .object({
3268
3167
  code: zod_1.z
3269
3168
  .string()
3270
- .regex(exports.createPendingInvoiceLineBodyRateCardTaxConfigStripeCodeRegExpOne)
3169
+ .regex(exports.simulateInvoiceBodyLinesItemTaxConfigStripeCodeRegExpOne)
3271
3170
  .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
3272
3171
  })
3273
3172
  .describe('The tax config for Stripe.')
@@ -3276,47 +3175,137 @@ exports.createPendingInvoiceLineBodyItem = zod_1.z
3276
3175
  })
3277
3176
  .describe('Set of provider specific tax configs.')
3278
3177
  .optional()
3279
- .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.'),
3280
- })
3281
- .describe('InvoiceFlatFeeRateCard represents the rate card (intent) for a flat fee line.')
3282
- .optional()
3283
- .describe('The rate card that is used for this line.'),
3284
- taxConfig: zod_1.z
3285
- .object({
3286
- behavior: zod_1.z
3287
- .enum(['inclusive', 'exclusive'])
3288
- .describe('Tax behavior.\n\nThis enum is used to specify whether tax is included in the price or excluded from the price.')
3289
- .optional()
3290
- .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."),
3291
- customInvoicing: zod_1.z
3292
- .object({
3293
- code: zod_1.z
3294
- .string()
3295
- .describe('Tax code.\n\nThe tax code should be interpreted by the custom invoicing provider.'),
3296
- })
3297
- .describe('Custom invoicing tax config.')
3298
- .optional()
3299
- .describe('Custom invoicing tax config.'),
3300
- stripe: zod_1.z
3301
- .object({
3302
- code: zod_1.z
3303
- .string()
3304
- .regex(exports.createPendingInvoiceLineBodyTaxConfigStripeCodeRegExpOne)
3305
- .describe('Product tax code.\n\nSee: https://docs.stripe.com/tax/tax-codes'),
3306
- })
3307
- .describe('The tax config for Stripe.')
3308
- .optional()
3309
- .describe('Stripe tax config.'),
3178
+ .describe('Tax config specify the tax configuration for this line.'),
3179
+ type: zod_1.z.enum(['flat_fee']),
3310
3180
  })
3311
- .describe('Set of provider specific tax configs.')
3181
+ .describe('InvoiceSimulationFlatFeeLine represents a flat fee line item that can be input to the simulation endpoint.'),
3182
+ ])
3183
+ .describe('InvoiceSimulationInput represents a line item that can be input to the simulation endpoint.'))
3184
+ .describe('Lines to be included in the generated invoice.'),
3185
+ number: zod_1.z
3186
+ .string()
3187
+ .min(1)
3188
+ .max(exports.simulateInvoiceBodyNumberMaxOne)
3189
+ .describe('InvoiceNumber is a unique identifier for the invoice, generated by the\ninvoicing app.\n\nThe uniqueness depends on a lot of factors:\n- app setting (unique per app or unique per customer)\n- multiple app scenarios (multiple apps generating invoices with the same prefix)')
3190
+ .optional()
3191
+ .describe('The number of the invoice.'),
3192
+ })
3193
+ .describe('InvoiceSimulationInput is the input for simulating an invoice.');
3194
+ /**
3195
+ * List invoices for a specific customer
3196
+ * @summary List invoices
3197
+ */
3198
+ exports.listInvoicesQueryCustomersItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3199
+ exports.listInvoicesQueryPageDefault = 1;
3200
+ exports.listInvoicesQueryPageSizeDefault = 100;
3201
+ exports.listInvoicesQueryPageSizeMax = 1000;
3202
+ exports.listInvoicesQueryParams = zod_1.z.object({
3203
+ createdAfter: zod_1.z
3204
+ .date()
3205
+ .optional()
3206
+ .describe('Filter by invoice created time.\nInclusive.'),
3207
+ createdBefore: zod_1.z
3208
+ .date()
3209
+ .optional()
3210
+ .describe('Filter by invoice created time.\nInclusive.'),
3211
+ customers: zod_1.z
3212
+ .array(zod_1.z
3213
+ .string()
3214
+ .regex(exports.listInvoicesQueryCustomersItemRegExp)
3215
+ .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'))
3216
+ .optional()
3217
+ .describe('Filter by customer ID'),
3218
+ expand: zod_1.z
3219
+ .array(zod_1.z
3220
+ .enum(['lines', 'preceding', 'workflow.apps'])
3221
+ .describe('InvoiceExpand specifies the parts of the invoice to expand in the list output.'))
3222
+ .optional()
3223
+ .describe('What parts of the list output to expand in listings'),
3224
+ extendedStatuses: zod_1.z
3225
+ .array(zod_1.z.string())
3226
+ .optional()
3227
+ .describe('Filter by invoice extended statuses'),
3228
+ includeDeleted: zod_1.z.boolean().optional().describe('Include deleted invoices'),
3229
+ issuedAfter: zod_1.z
3230
+ .date()
3231
+ .optional()
3232
+ .describe('Filter by invoice issued time.\nInclusive.'),
3233
+ issuedBefore: zod_1.z
3234
+ .date()
3235
+ .optional()
3236
+ .describe('Filter by invoice issued time.\nInclusive.'),
3237
+ order: zod_1.z.enum(['ASC', 'DESC']).optional().describe('The order direction.'),
3238
+ orderBy: zod_1.z
3239
+ .enum(['customer.name', 'issuedAt', 'status', 'createdAt', 'updatedAt'])
3240
+ .optional()
3241
+ .describe('The order by field.'),
3242
+ page: zod_1.z
3243
+ .number()
3244
+ .min(1)
3245
+ .default(exports.listInvoicesQueryPageDefault)
3246
+ .describe('Page index.\n\nDefault is 1.'),
3247
+ pageSize: zod_1.z
3248
+ .number()
3249
+ .min(1)
3250
+ .max(exports.listInvoicesQueryPageSizeMax)
3251
+ .default(exports.listInvoicesQueryPageSizeDefault)
3252
+ .describe('The maximum number of items per page.\n\nDefault is 100.'),
3253
+ statuses: zod_1.z
3254
+ .array(zod_1.z
3255
+ .enum([
3256
+ 'gathering',
3257
+ 'draft',
3258
+ 'issuing',
3259
+ 'issued',
3260
+ 'payment_processing',
3261
+ 'overdue',
3262
+ 'paid',
3263
+ 'uncollectible',
3264
+ 'voided',
3265
+ ])
3266
+ .describe('InvoiceStatus describes the status of an invoice.'))
3267
+ .optional()
3268
+ .describe('Filter by the invoice status.'),
3269
+ });
3270
+ /**
3271
+ * Create a new invoice from the pending line items.
3272
+
3273
+ This should be only called if for some reason we need to invoice a customer outside of the normal billing cycle.
3274
+
3275
+ When creating an invoice, the pending line items will be marked as invoiced and the invoice will be created with the total amount of the pending items.
3276
+
3277
+ New pending line items will be created for the period between now() and the next billing cycle's begining date for any metered item.
3278
+
3279
+ The call can return multiple invoices if the pending line items are in different currencies.
3280
+ * @summary Invoice a customer based on the pending line items
3281
+ */
3282
+ exports.invoicePendingLinesActionBodyFiltersLineIdsItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3283
+ exports.invoicePendingLinesActionBodyCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
3284
+ exports.invoicePendingLinesActionBody = zod_1.z
3285
+ .object({
3286
+ asOf: zod_1.z
3287
+ .date()
3288
+ .optional()
3289
+ .describe('The time as of which the invoice is created.\n\nIf not provided, the current time is used.'),
3290
+ customerId: zod_1.z
3291
+ .string()
3292
+ .regex(exports.invoicePendingLinesActionBodyCustomerIdRegExp)
3293
+ .describe('The customer ID for which to create the invoice.'),
3294
+ filters: zod_1.z
3295
+ .object({
3296
+ lineIds: zod_1.z
3297
+ .array(zod_1.z
3298
+ .string()
3299
+ .regex(exports.invoicePendingLinesActionBodyFiltersLineIdsItemRegExp)
3300
+ .describe('ULID (Universally Unique Lexicographically Sortable Identifier).'))
3312
3301
  .optional()
3313
- .describe('Tax config specify the tax configuration for this line.'),
3314
- type: zod_1.z.enum(['flat_fee']),
3302
+ .describe('The pending line items to include in the invoice, if not provided:\n- all line items that have invoice_at < asOf will be included\n- [progressive billing only] all usage based line items will be included up to asOf, new\nusage-based line items will be staged for the rest of the billing cycle\n\nAll lineIDs present in the list, must exists and must be invoicable as of asOf, or the action will fail.'),
3315
3303
  })
3316
- .describe('InvoiceFlatFeePendingLineCreate represents the create model for an invoice line that is sold to the customer as a manually added fee.'),
3317
- ])
3318
- .describe('InvoiceLineCreate represents the create model for an invoice line.');
3319
- exports.createPendingInvoiceLineBody = zod_1.z.array(exports.createPendingInvoiceLineBodyItem);
3304
+ .describe('InvoicePendingLinesActionFiltersInput specifies which lines to include in the invoice.')
3305
+ .optional()
3306
+ .describe('Filters to apply when creating the invoice.'),
3307
+ })
3308
+ .describe('BillingInvoiceActionInput is the input for creating an invoice.\n\nInvoice creation is always based on already pending line items created by the billingCreateLineByCustomer\noperation. Empty invoices are not allowed.');
3320
3309
  /**
3321
3310
  * Get an invoice by ID.
3322
3311
  * @summary Get an invoice