@openmeter/sdk 1.0.0-beta-420aec97a983 → 1.0.0-beta-b8d23d87938c

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.
@@ -242,7 +242,13 @@ export interface paths {
242
242
  };
243
243
  /**
244
244
  * List customer overrides
245
- * @description List customer overrides
245
+ * @description List customer overrides using the specified filters.
246
+ *
247
+ * The response will include the customer override values and the merged billing profile values.
248
+ *
249
+ * If the includeAllCustomers is set to true, the list contains all customers. This mode is
250
+ * useful for getting the current effective billing workflow settings for all users regardless
251
+ * if they have customer orverrides or not.
246
252
  */
247
253
  get: operations['listBillingProfileCustomerOverrides'];
248
254
  put?: never;
@@ -263,17 +269,29 @@ export interface paths {
263
269
  /**
264
270
  * Get a customer override
265
271
  * @description Get a customer override by customer id.
272
+ *
273
+ * The response will include the customer override values and the merged billing profile values.
274
+ *
275
+ * If the customer override is not found, the default billing profile's values are returned. This behavior
276
+ * allows for getting a merged profile regardless of the customer override existence.
266
277
  */
267
278
  get: operations['getBillingProfileCustomerOverride'];
268
279
  /**
269
280
  * Create a new or update a customer override
270
- * @description Create a new or update an existing customer override.
281
+ * @description The customer override can be used to pin a given customer to a billing profile
282
+ * different from the default one.
283
+ *
284
+ * This can be used to test the effect of different billing profiles before making them
285
+ * the default ones or have different workflow settings for example for enterprise customers.
271
286
  */
272
287
  put: operations['upsertBillingProfileCustomerOverride'];
273
288
  post?: never;
274
289
  /**
275
290
  * Delete a customer override
276
291
  * @description Delete a customer override by customer id.
292
+ *
293
+ * This will remove the customer override and the customer will be subject to the default
294
+ * billing profile's settings again.
277
295
  */
278
296
  delete: operations['deleteBillingProfileCustomerOverride'];
279
297
  options?: never;
@@ -341,7 +359,12 @@ export interface paths {
341
359
  };
342
360
  /**
343
361
  * List invoices
344
- * @description List invoices for a specific customer
362
+ * @description List invoices based on the specified filters.
363
+ *
364
+ * The expand option can be used to include additional information (besides the invoice header and totals)
365
+ * in the response. For example by adding the expand=lines option the invoice lines will be included in the response.
366
+ *
367
+ * Gathering invoices will always show the current usage calculated on the fly.
345
368
  */
346
369
  get: operations['listInvoices'];
347
370
  put?: never;
@@ -390,6 +413,8 @@ export interface paths {
390
413
  /**
391
414
  * Get an invoice
392
415
  * @description Get an invoice by ID.
416
+ *
417
+ * Gathering invoices will always show the current usage calculated on the fly.
393
418
  */
394
419
  get: operations['getInvoice'];
395
420
  /**
@@ -405,6 +430,8 @@ export interface paths {
405
430
  * @description Delete an invoice
406
431
  *
407
432
  * Only invoices that are in the draft (or earlier) status can be deleted.
433
+ *
434
+ * Invoices that are post finalization can only be voided.
408
435
  */
409
436
  delete: operations['deleteInvoice'];
410
437
  options?: never;
@@ -496,6 +523,11 @@ export interface paths {
496
523
  /**
497
524
  * Snapshot quantities for usage based line items
498
525
  * @description Snapshot quantities for usage based line items.
526
+ *
527
+ * This call will snapshot the quantities for all usage based line items in the invoice.
528
+ *
529
+ * This call is only valid in `draft.waiting_for_collection` status, where the collection period
530
+ * can be skipped using this action.
499
531
  */
500
532
  post: operations['snapshotQuantitiesInvoiceAction'];
501
533
  delete?: never;
@@ -559,7 +591,11 @@ export interface paths {
559
591
  };
560
592
  /**
561
593
  * List billing profiles
562
- * @description List all billing profiles
594
+ * @description List all billing profiles matching the specified filters.
595
+ *
596
+ * The expand option can be used to include additional information (besides the billing profile)
597
+ * in the response. For example by adding the expand=apps option the apps used by the billing profile
598
+ * will be included in the response.
563
599
  */
564
600
  get: operations['listBillingProfiles'];
565
601
  put?: never;
@@ -586,18 +622,30 @@ export interface paths {
586
622
  };
587
623
  /**
588
624
  * Get a billing profile
589
- * @description Get a billing profile by ID
625
+ * @description Get a billing profile by id.
626
+ *
627
+ * The expand option can be used to include additional information (besides the billing profile)
628
+ * in the response. For example by adding the expand=apps option the apps used by the billing profile
629
+ * will be included in the response.
590
630
  */
591
631
  get: operations['getBillingProfile'];
592
632
  /**
593
633
  * Update a billing profile
594
- * @description Update a billing profile
634
+ * @description Update a billing profile by id.
635
+ *
636
+ * The apps field cannot be updated directly, if an app change is desired a new
637
+ * profile should be created.
595
638
  */
596
639
  put: operations['updateBillingProfile'];
597
640
  post?: never;
598
641
  /**
599
642
  * Delete a billing profile
600
- * @description Delete a billing profile
643
+ * @description Delete a billing profile by id.
644
+ *
645
+ * Only such billing profiles can be deleted that are:
646
+ * - not the default one
647
+ * - not pinned to any customer using customer overrides
648
+ * - only have finalized invoices
601
649
  */
602
650
  delete: operations['deleteBillingProfile'];
603
651
  options?: never;
@@ -23210,6 +23258,12 @@ export interface operations {
23210
23258
  requestBody: {
23211
23259
  content: {
23212
23260
  'application/json': {
23261
+ /**
23262
+ * @description Timing configuration for the migration, when the migration should take effect.
23263
+ * If not supported by the subscription, 400 will be returned.
23264
+ * @default immediate
23265
+ */
23266
+ timing?: components['schemas']['SubscriptionTiming'];
23213
23267
  /** @description The version of the plan to migrate to.
23214
23268
  * If not provided, the subscription will migrate to the latest version of the current plan. */
23215
23269
  targetVersion?: number;
@@ -23,8 +23,8 @@ exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax = exports.
23
23
  exports.getSubscriptionPathSubscriptionIdRegExp = exports.createSubscriptionBody = exports.createSubscriptionBodyCustomerKeyMaxOne = exports.createSubscriptionBodyCustomerIdRegExpOne = exports.createSubscriptionBodyTimingDefaultFour = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = exports.createSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = void 0;
24
24
  exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceQuantityPerPackageRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpSeven = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierDefault = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMultiplierRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceTiersItemUpToAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMaximumAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceMinimumAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpFive = exports.editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefaultTwo = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpThree = exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMinOne = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefaultOne = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardDescriptionMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardNameMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardKeyMaxOne = exports.editSubscriptionBodyCustomizationsItemRateCardDiscountsUsageQuantityRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardPricePaymentTermDefault = exports.editSubscriptionBodyCustomizationsItemRateCardPriceAmountRegExpOne = exports.editSubscriptionBodyCustomizationsItemRateCardTaxConfigStripeCodeRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplatePreserveOverageAtResetDefault = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityMax = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetPriorityDefault = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIssueAfterResetMin = exports.editSubscriptionBodyCustomizationsItemRateCardEntitlementTemplateIsSoftLimitDefault = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardFeatureKeyMax = exports.editSubscriptionBodyCustomizationsItemRateCardDescriptionMax = exports.editSubscriptionBodyCustomizationsItemRateCardNameMax = exports.editSubscriptionBodyCustomizationsItemRateCardKeyRegExp = exports.editSubscriptionBodyCustomizationsItemRateCardKeyMax = exports.editSubscriptionParams = exports.editSubscriptionPathSubscriptionIdRegExp = exports.getSubscriptionQueryParams = exports.getSubscriptionParams = void 0;
25
25
  exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMax = exports.changeSubscriptionBodyCustomPlanPhasesItemDescriptionMax = exports.changeSubscriptionBodyCustomPlanPhasesItemNameMax = exports.changeSubscriptionBodyCustomPlanPhasesItemKeyRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemKeyMax = exports.changeSubscriptionBodyCustomPlanCurrencyDefault = exports.changeSubscriptionBodyCustomPlanCurrencyRegExpOne = exports.changeSubscriptionBodyCustomPlanCurrencyMaxOne = exports.changeSubscriptionBodyCustomPlanCurrencyMinOne = exports.changeSubscriptionBodyCustomPlanDescriptionMax = exports.changeSubscriptionBodyCustomPlanNameMax = exports.changeSubscriptionBodyPlanKeyRegExp = exports.changeSubscriptionBodyPlanKeyMax = exports.changeSubscriptionParams = exports.changeSubscriptionPathSubscriptionIdRegExp = exports.cancelSubscriptionBody = exports.cancelSubscriptionParams = exports.cancelSubscriptionPathSubscriptionIdRegExp = exports.updateSubscriptionAddonBody = exports.updateSubscriptionAddonBodyQuantityMin = exports.updateSubscriptionAddonBodyDescriptionMax = exports.updateSubscriptionAddonBodyNameMax = exports.updateSubscriptionAddonParams = exports.updateSubscriptionAddonPathSubscriptionAddonIdRegExp = exports.updateSubscriptionAddonPathSubscriptionIdRegExp = exports.getSubscriptionAddonParams = exports.getSubscriptionAddonPathSubscriptionAddonIdRegExp = exports.getSubscriptionAddonPathSubscriptionIdRegExp = exports.listSubscriptionAddonsParams = exports.listSubscriptionAddonsPathSubscriptionIdRegExp = exports.createSubscriptionAddonBody = exports.createSubscriptionAddonBodyAddonIdRegExp = exports.createSubscriptionAddonBodyQuantityMin = exports.createSubscriptionAddonBodyDescriptionMax = exports.createSubscriptionAddonBodyNameMax = exports.createSubscriptionAddonParams = exports.createSubscriptionAddonPathSubscriptionIdRegExp = exports.deleteSubscriptionParams = exports.deleteSubscriptionPathSubscriptionIdRegExp = exports.editSubscriptionBody = exports.editSubscriptionBodyCustomizationsMax = exports.editSubscriptionBodyCustomizationsItemPhaseKeyRegExpTwo = exports.editSubscriptionBodyCustomizationsItemPhaseKeyMaxTwo = exports.editSubscriptionBodyCustomizationsItemPhaseDiscountsUsageQuantityRegExpOne = void 0;
26
- exports.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 = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = void 0;
27
- exports.listEventsV2QueryParams = void 0;
26
+ exports.listEventsV2QueryLimitMax = exports.listEventsV2QueryLimitDefault = exports.unscheduleCancelationParams = exports.unscheduleCancelationPathSubscriptionIdRegExp = exports.restoreSubscriptionParams = exports.restoreSubscriptionPathSubscriptionIdRegExp = exports.migrateSubscriptionBody = exports.migrateSubscriptionBodyTimingDefault = exports.migrateSubscriptionParams = exports.migrateSubscriptionPathSubscriptionIdRegExp = exports.changeSubscriptionBody = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceQuantityPerPackageRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpSeven = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMultiplierRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUnitPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemFlatPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceTiersItemUpToAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMaximumAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceMinimumAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpFive = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefaultTwo = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpThree = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMinOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIsSoftLimitDefaultOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemFeatureKeyMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDescriptionMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemNameMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemKeyMaxOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemDiscountsUsageQuantityRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPricePaymentTermDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemPriceAmountRegExpOne = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemTaxConfigStripeCodeRegExp = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplatePreserveOverageAtResetDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityMax = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetPriorityDefault = exports.changeSubscriptionBodyCustomPlanPhasesItemRateCardsItemEntitlementTemplateIssueAfterResetMin = void 0;
27
+ exports.listEventsV2QueryParams = exports.listEventsV2QueryClientIdMax = void 0;
28
28
  /* eslint-disable no-useless-escape */
29
29
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
30
30
  // @ts-nocheck
@@ -1589,7 +1589,13 @@ exports.appStripeWebhookBody = zod_1.z
1589
1589
  })
1590
1590
  .describe('Stripe webhook event.');
1591
1591
  /**
1592
- * List customer overrides
1592
+ * List customer overrides using the specified filters.
1593
+
1594
+ The response will include the customer override values and the merged billing profile values.
1595
+
1596
+ If the includeAllCustomers is set to true, the list contains all customers. This mode is
1597
+ useful for getting the current effective billing workflow settings for all users regardless
1598
+ if they have customer orverrides or not.
1593
1599
  * @summary List customer overrides
1594
1600
  */
1595
1601
  exports.listBillingProfileCustomerOverridesQueryBillingProfileItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
@@ -1653,7 +1659,11 @@ exports.listBillingProfileCustomerOverridesQueryParams = zod_1.z.object({
1653
1659
  .describe('The maximum number of items per page.\n\nDefault is 100.'),
1654
1660
  });
1655
1661
  /**
1656
- * Create a new or update an existing customer override.
1662
+ * The customer override can be used to pin a given customer to a billing profile
1663
+ different from the default one.
1664
+
1665
+ This can be used to test the effect of different billing profiles before making them
1666
+ the default ones or have different workflow settings for example for enterprise customers.
1657
1667
  * @summary Create a new or update a customer override
1658
1668
  */
1659
1669
  exports.upsertBillingProfileCustomerOverridePathCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
@@ -1674,6 +1684,11 @@ exports.upsertBillingProfileCustomerOverrideBody = zod_1.z
1674
1684
  .describe('Payload for creating a new or updating an existing customer override.');
1675
1685
  /**
1676
1686
  * Get a customer override by customer id.
1687
+
1688
+ The response will include the customer override values and the merged billing profile values.
1689
+
1690
+ If the customer override is not found, the default billing profile's values are returned. This behavior
1691
+ allows for getting a merged profile regardless of the customer override existence.
1677
1692
  * @summary Get a customer override
1678
1693
  */
1679
1694
  exports.getBillingProfileCustomerOverridePathCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
@@ -1691,6 +1706,9 @@ exports.getBillingProfileCustomerOverrideQueryParams = zod_1.z.object({
1691
1706
  });
1692
1707
  /**
1693
1708
  * Delete a customer override by customer id.
1709
+
1710
+ This will remove the customer override and the customer will be subject to the default
1711
+ billing profile's settings again.
1694
1712
  * @summary Delete a customer override
1695
1713
  */
1696
1714
  exports.deleteBillingProfileCustomerOverridePathCustomerIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
@@ -3193,7 +3211,12 @@ exports.simulateInvoiceBody = zod_1.z
3193
3211
  })
3194
3212
  .describe('InvoiceSimulationInput is the input for simulating an invoice.');
3195
3213
  /**
3196
- * List invoices for a specific customer
3214
+ * List invoices based on the specified filters.
3215
+
3216
+ The expand option can be used to include additional information (besides the invoice header and totals)
3217
+ in the response. For example by adding the expand=lines option the invoice lines will be included in the response.
3218
+
3219
+ Gathering invoices will always show the current usage calculated on the fly.
3197
3220
  * @summary List invoices
3198
3221
  */
3199
3222
  exports.listInvoicesQueryCustomersItemRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
@@ -3328,6 +3351,8 @@ exports.invoicePendingLinesActionBody = zod_1.z
3328
3351
  .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.');
3329
3352
  /**
3330
3353
  * Get an invoice by ID.
3354
+
3355
+ Gathering invoices will always show the current usage calculated on the fly.
3331
3356
  * @summary Get an invoice
3332
3357
  */
3333
3358
  exports.getInvoicePathInvoiceIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
@@ -3348,6 +3373,8 @@ exports.getInvoiceQueryParams = zod_1.z.object({
3348
3373
  * Delete an invoice
3349
3374
 
3350
3375
  Only invoices that are in the draft (or earlier) status can be deleted.
3376
+
3377
+ Invoices that are post finalization can only be voided.
3351
3378
  * @summary Delete an invoice
3352
3379
  */
3353
3380
  exports.deleteInvoicePathInvoiceIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
@@ -4313,6 +4340,11 @@ exports.retryInvoiceActionParams = zod_1.z.object({
4313
4340
  });
4314
4341
  /**
4315
4342
  * Snapshot quantities for usage based line items.
4343
+
4344
+ This call will snapshot the quantities for all usage based line items in the invoice.
4345
+
4346
+ This call is only valid in `draft.waiting_for_collection` status, where the collection period
4347
+ can be skipped using this action.
4316
4348
  * @summary Snapshot quantities for usage based line items
4317
4349
  */
4318
4350
  exports.snapshotQuantitiesInvoiceActionPathInvoiceIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
@@ -4417,7 +4449,11 @@ exports.voidInvoiceActionBody = zod_1.z
4417
4449
  })
4418
4450
  .describe('Request to void an invoice');
4419
4451
  /**
4420
- * List all billing profiles
4452
+ * List all billing profiles matching the specified filters.
4453
+
4454
+ The expand option can be used to include additional information (besides the billing profile)
4455
+ in the response. For example by adding the expand=apps option the apps used by the billing profile
4456
+ will be included in the response.
4421
4457
  * @summary List billing profiles
4422
4458
  */
4423
4459
  exports.listBillingProfilesQueryIncludeArchivedDefault = false;
@@ -4677,7 +4713,12 @@ exports.createBillingProfileBody = zod_1.z
4677
4713
  })
4678
4714
  .describe('BillingProfileCreate represents the input for creating a billing profile');
4679
4715
  /**
4680
- * Delete a billing profile
4716
+ * Delete a billing profile by id.
4717
+
4718
+ Only such billing profiles can be deleted that are:
4719
+ - not the default one
4720
+ - not pinned to any customer using customer overrides
4721
+ - only have finalized invoices
4681
4722
  * @summary Delete a billing profile
4682
4723
  */
4683
4724
  exports.deleteBillingProfilePathIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
@@ -4685,7 +4726,11 @@ exports.deleteBillingProfileParams = zod_1.z.object({
4685
4726
  id: zod_1.z.string().regex(exports.deleteBillingProfilePathIdRegExp),
4686
4727
  });
4687
4728
  /**
4688
- * Get a billing profile by ID
4729
+ * Get a billing profile by id.
4730
+
4731
+ The expand option can be used to include additional information (besides the billing profile)
4732
+ in the response. For example by adding the expand=apps option the apps used by the billing profile
4733
+ will be included in the response.
4689
4734
  * @summary Get a billing profile
4690
4735
  */
4691
4736
  exports.getBillingProfilePathIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
@@ -4700,7 +4745,10 @@ exports.getBillingProfileQueryParams = zod_1.z.object({
4700
4745
  .optional(),
4701
4746
  });
4702
4747
  /**
4703
- * Update a billing profile
4748
+ * Update a billing profile by id.
4749
+
4750
+ The apps field cannot be updated directly, if an app change is desired a new
4751
+ profile should be created.
4704
4752
  * @summary Update a billing profile
4705
4753
  */
4706
4754
  exports.updateBillingProfilePathIdRegExp = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
@@ -11512,6 +11560,7 @@ exports.migrateSubscriptionParams = zod_1.z.object({
11512
11560
  .string()
11513
11561
  .regex(exports.migrateSubscriptionPathSubscriptionIdRegExp),
11514
11562
  });
11563
+ exports.migrateSubscriptionBodyTimingDefault = 'immediate';
11515
11564
  exports.migrateSubscriptionBody = zod_1.z.object({
11516
11565
  startingPhase: zod_1.z
11517
11566
  .string()
@@ -11523,6 +11572,15 @@ exports.migrateSubscriptionBody = zod_1.z.object({
11523
11572
  .min(1)
11524
11573
  .optional()
11525
11574
  .describe('The version of the plan to migrate to.\nIf not provided, the subscription will migrate to the latest version of the current plan.'),
11575
+ timing: zod_1.z
11576
+ .enum(['immediate', 'next_billing_cycle'])
11577
+ .describe('Subscription edit timing.\nWhen immediate, the requested changes take effect immediately.\nWhen nextBillingCycle, the requested changes take effect at the next billing cycle.')
11578
+ .or(zod_1.z
11579
+ .date()
11580
+ .describe('[RFC3339](https://tools.ietf.org/html/rfc3339) formatted date-time string in UTC.'))
11581
+ .describe('Subscription edit timing defined when the changes should take effect.\nIf the provided configuration is not supported by the subscription, an error will be returned.')
11582
+ .default(exports.migrateSubscriptionBodyTimingDefault)
11583
+ .describe('Timing configuration for the migration, when the migration should take effect.\nIf not supported by the subscription, 400 will be returned.'),
11526
11584
  });
11527
11585
  /**
11528
11586
  * Restores a canceled subscription.
@@ -2374,7 +2374,13 @@ export declare const appStripeWebhookBody: zod.ZodObject<{
2374
2374
  livemode: boolean;
2375
2375
  }>;
2376
2376
  /**
2377
- * List customer overrides
2377
+ * List customer overrides using the specified filters.
2378
+
2379
+ The response will include the customer override values and the merged billing profile values.
2380
+
2381
+ If the includeAllCustomers is set to true, the list contains all customers. This mode is
2382
+ useful for getting the current effective billing workflow settings for all users regardless
2383
+ if they have customer orverrides or not.
2378
2384
  * @summary List customer overrides
2379
2385
  */
2380
2386
  export declare const listBillingProfileCustomerOverridesQueryBillingProfileItemRegExp: RegExp;
@@ -2421,7 +2427,11 @@ export declare const listBillingProfileCustomerOverridesQueryParams: zod.ZodObje
2421
2427
  includeAllCustomers?: boolean | undefined;
2422
2428
  }>;
2423
2429
  /**
2424
- * Create a new or update an existing customer override.
2430
+ * The customer override can be used to pin a given customer to a billing profile
2431
+ different from the default one.
2432
+
2433
+ This can be used to test the effect of different billing profiles before making them
2434
+ the default ones or have different workflow settings for example for enterprise customers.
2425
2435
  * @summary Create a new or update a customer override
2426
2436
  */
2427
2437
  export declare const upsertBillingProfileCustomerOverridePathCustomerIdRegExp: RegExp;
@@ -2442,6 +2452,11 @@ export declare const upsertBillingProfileCustomerOverrideBody: zod.ZodObject<{
2442
2452
  }>;
2443
2453
  /**
2444
2454
  * Get a customer override by customer id.
2455
+
2456
+ The response will include the customer override values and the merged billing profile values.
2457
+
2458
+ If the customer override is not found, the default billing profile's values are returned. This behavior
2459
+ allows for getting a merged profile regardless of the customer override existence.
2445
2460
  * @summary Get a customer override
2446
2461
  */
2447
2462
  export declare const getBillingProfileCustomerOverridePathCustomerIdRegExp: RegExp;
@@ -2461,6 +2476,9 @@ export declare const getBillingProfileCustomerOverrideQueryParams: zod.ZodObject
2461
2476
  }>;
2462
2477
  /**
2463
2478
  * Delete a customer override by customer id.
2479
+
2480
+ This will remove the customer override and the customer will be subject to the default
2481
+ billing profile's settings again.
2464
2482
  * @summary Delete a customer override
2465
2483
  */
2466
2484
  export declare const deleteBillingProfileCustomerOverridePathCustomerIdRegExp: RegExp;
@@ -5447,7 +5465,12 @@ export declare const simulateInvoiceBody: zod.ZodObject<{
5447
5465
  number?: string | undefined;
5448
5466
  }>;
5449
5467
  /**
5450
- * List invoices for a specific customer
5468
+ * List invoices based on the specified filters.
5469
+
5470
+ The expand option can be used to include additional information (besides the invoice header and totals)
5471
+ in the response. For example by adding the expand=lines option the invoice lines will be included in the response.
5472
+
5473
+ Gathering invoices will always show the current usage calculated on the fly.
5451
5474
  * @summary List invoices
5452
5475
  */
5453
5476
  export declare const listInvoicesQueryCustomersItemRegExp: RegExp;
@@ -5545,6 +5568,8 @@ export declare const invoicePendingLinesActionBody: zod.ZodObject<{
5545
5568
  }>;
5546
5569
  /**
5547
5570
  * Get an invoice by ID.
5571
+
5572
+ Gathering invoices will always show the current usage calculated on the fly.
5548
5573
  * @summary Get an invoice
5549
5574
  */
5550
5575
  export declare const getInvoicePathInvoiceIdRegExp: RegExp;
@@ -5571,6 +5596,8 @@ export declare const getInvoiceQueryParams: zod.ZodObject<{
5571
5596
  * Delete an invoice
5572
5597
 
5573
5598
  Only invoices that are in the draft (or earlier) status can be deleted.
5599
+
5600
+ Invoices that are post finalization can only be voided.
5574
5601
  * @summary Delete an invoice
5575
5602
  */
5576
5603
  export declare const deleteInvoicePathInvoiceIdRegExp: RegExp;
@@ -7508,6 +7535,11 @@ export declare const retryInvoiceActionParams: zod.ZodObject<{
7508
7535
  }>;
7509
7536
  /**
7510
7537
  * Snapshot quantities for usage based line items.
7538
+
7539
+ This call will snapshot the quantities for all usage based line items in the invoice.
7540
+
7541
+ This call is only valid in `draft.waiting_for_collection` status, where the collection period
7542
+ can be skipped using this action.
7511
7543
  * @summary Snapshot quantities for usage based line items
7512
7544
  */
7513
7545
  export declare const snapshotQuantitiesInvoiceActionPathInvoiceIdRegExp: RegExp;
@@ -7694,7 +7726,11 @@ export declare const voidInvoiceActionBody: zod.ZodObject<{
7694
7726
  }[] | null | undefined;
7695
7727
  }>;
7696
7728
  /**
7697
- * List all billing profiles
7729
+ * List all billing profiles matching the specified filters.
7730
+
7731
+ The expand option can be used to include additional information (besides the billing profile)
7732
+ in the response. For example by adding the expand=apps option the apps used by the billing profile
7733
+ will be included in the response.
7698
7734
  * @summary List billing profiles
7699
7735
  */
7700
7736
  export declare const listBillingProfilesQueryIncludeArchivedDefault = false;
@@ -8114,7 +8150,12 @@ export declare const createBillingProfileBody: zod.ZodObject<{
8114
8150
  metadata?: Record<string, string> | null | undefined;
8115
8151
  }>;
8116
8152
  /**
8117
- * Delete a billing profile
8153
+ * Delete a billing profile by id.
8154
+
8155
+ Only such billing profiles can be deleted that are:
8156
+ - not the default one
8157
+ - not pinned to any customer using customer overrides
8158
+ - only have finalized invoices
8118
8159
  * @summary Delete a billing profile
8119
8160
  */
8120
8161
  export declare const deleteBillingProfilePathIdRegExp: RegExp;
@@ -8126,7 +8167,11 @@ export declare const deleteBillingProfileParams: zod.ZodObject<{
8126
8167
  id: string;
8127
8168
  }>;
8128
8169
  /**
8129
- * Get a billing profile by ID
8170
+ * Get a billing profile by id.
8171
+
8172
+ The expand option can be used to include additional information (besides the billing profile)
8173
+ in the response. For example by adding the expand=apps option the apps used by the billing profile
8174
+ will be included in the response.
8130
8175
  * @summary Get a billing profile
8131
8176
  */
8132
8177
  export declare const getBillingProfilePathIdRegExp: RegExp;
@@ -8145,7 +8190,10 @@ export declare const getBillingProfileQueryParams: zod.ZodObject<{
8145
8190
  expand?: "apps"[] | undefined;
8146
8191
  }>;
8147
8192
  /**
8148
- * Update a billing profile
8193
+ * Update a billing profile by id.
8194
+
8195
+ The apps field cannot be updated directly, if an app change is desired a new
8196
+ profile should be created.
8149
8197
  * @summary Update a billing profile
8150
8198
  */
8151
8199
  export declare const updateBillingProfilePathIdRegExp: RegExp;
@@ -19526,14 +19574,18 @@ export declare const migrateSubscriptionParams: zod.ZodObject<{
19526
19574
  }, {
19527
19575
  subscriptionId: string;
19528
19576
  }>;
19577
+ export declare const migrateSubscriptionBodyTimingDefault = "immediate";
19529
19578
  export declare const migrateSubscriptionBody: zod.ZodObject<{
19530
19579
  startingPhase: zod.ZodOptional<zod.ZodString>;
19531
19580
  targetVersion: zod.ZodOptional<zod.ZodNumber>;
19581
+ timing: zod.ZodDefault<zod.ZodUnion<[zod.ZodEnum<["immediate", "next_billing_cycle"]>, zod.ZodDate]>>;
19532
19582
  }, "strip", zod.ZodTypeAny, {
19583
+ timing: Date | "immediate" | "next_billing_cycle";
19533
19584
  startingPhase?: string | undefined;
19534
19585
  targetVersion?: number | undefined;
19535
19586
  }, {
19536
19587
  startingPhase?: string | undefined;
19588
+ timing?: Date | "immediate" | "next_billing_cycle" | undefined;
19537
19589
  targetVersion?: number | undefined;
19538
19590
  }>;
19539
19591
  /**