@chargebee/code-sample-generator 1.1.1 → 1.1.2

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.
Files changed (41) hide show
  1. package/dist/{TryInApiExplorer-CWy0RGj-.js → TryInApiExplorer-C5Ck0NSs.js} +2 -2
  2. package/dist/browser.js +3 -3
  3. package/dist/{generate-code-sample-Bm9CxTcV.js → generate-code-sample-BflVGqCu.js} +1 -1
  4. package/dist/{generate-from-sample-C3k_DgbX.js → generate-from-sample-JTpAphXl.js} +9314 -6157
  5. package/dist/generated/ops/operation-ids.d.ts +2 -2
  6. package/dist/generated/ops/operation-params.d.ts +437 -28
  7. package/dist/generated/ops/v2-pcv1/list_gateway_request_logs.d.ts +3 -0
  8. package/dist/generated/ops/v2-pcv1/list_gateway_webhook_logs.d.ts +3 -0
  9. package/dist/generated/ops/v2-pcv1/list_invoice_retry_contexts.d.ts +3 -0
  10. package/dist/generated/ops/v2-pcv1/list_organization_details.d.ts +3 -0
  11. package/dist/generated/ops/v2-pcv1/list_retry_segments.d.ts +3 -0
  12. package/dist/generated/ops/v2-pcv1/retrieve_a_gateway_request_log.d.ts +3 -0
  13. package/dist/generated/ops/v2-pcv1/retrieve_a_gateway_webhook_log.d.ts +3 -0
  14. package/dist/generated/ops/v2-pcv1/retrieve_organization_details.d.ts +3 -0
  15. package/dist/generated/ops/v2-pcv1/update_organization_details.d.ts +3 -0
  16. package/dist/generated/ops/v2-pcv2/create_a_credit_rate.d.ts +3 -0
  17. package/dist/generated/ops/v2-pcv2/export_entitlements.d.ts +3 -0
  18. package/dist/generated/ops/v2-pcv2/export_features.d.ts +3 -0
  19. package/dist/generated/ops/v2-pcv2/list_credit_rate_versions.d.ts +3 -0
  20. package/dist/generated/ops/v2-pcv2/list_credit_rates_for_a_subscription.d.ts +3 -0
  21. package/dist/generated/ops/v2-pcv2/list_gateway_request_logs.d.ts +3 -0
  22. package/dist/generated/ops/v2-pcv2/list_gateway_webhook_logs.d.ts +3 -0
  23. package/dist/generated/ops/v2-pcv2/list_invoice_retry_contexts.d.ts +3 -0
  24. package/dist/generated/ops/v2-pcv2/list_organization_details.d.ts +3 -0
  25. package/dist/generated/ops/v2-pcv2/list_preference_definitions.d.ts +3 -0
  26. package/dist/generated/ops/v2-pcv2/list_preferences.d.ts +3 -0
  27. package/dist/generated/ops/v2-pcv2/list_retry_segments.d.ts +3 -0
  28. package/dist/generated/ops/v2-pcv2/remove_a_credit_rate_override.d.ts +3 -0
  29. package/dist/generated/ops/v2-pcv2/retrieve_a_credit_rate.d.ts +3 -0
  30. package/dist/generated/ops/v2-pcv2/retrieve_a_credit_rate_override.d.ts +3 -0
  31. package/dist/generated/ops/v2-pcv2/retrieve_a_gateway_request_log.d.ts +3 -0
  32. package/dist/generated/ops/v2-pcv2/retrieve_a_gateway_webhook_log.d.ts +3 -0
  33. package/dist/generated/ops/v2-pcv2/retrieve_organization_details.d.ts +3 -0
  34. package/dist/generated/ops/v2-pcv2/set_a_credit_rate_override.d.ts +3 -0
  35. package/dist/generated/ops/v2-pcv2/update_a_credit_rate.d.ts +3 -0
  36. package/dist/generated/ops/v2-pcv2/update_organization_details.d.ts +3 -0
  37. package/dist/generated/ops/v2-pcv2/update_preferences.d.ts +3 -0
  38. package/dist/{highlight-code-CQjob1R6.js → highlight-code-DcisCNXB.js} +1 -1
  39. package/dist/index.js +4 -4
  40. package/dist/node.js +3 -3
  41. package/package.json +1 -1
@@ -162,6 +162,8 @@ export interface ApplyCreditsForAnInvoiceParams {
162
162
  comment?: string;
163
163
  credit_notes?: {
164
164
  id?: (string)[];
165
+ amount?: (number)[];
166
+ applied_at?: (number)[];
165
167
  };
166
168
  }
167
169
  export interface ApplyPaymentScheduleSchemeToAnInvoiceParams {
@@ -405,6 +407,7 @@ export interface CheckoutGiftSubscriptionForItemsParams {
405
407
  brand_id?: string;
406
408
  redirect_url?: string;
407
409
  coupon_ids?: (string)[];
410
+ show_billing_frequency_selector?: boolean;
408
411
  gifter?: {
409
412
  customer_id?: string;
410
413
  locale?: string;
@@ -425,6 +428,10 @@ export interface CheckoutGiftSubscriptionForItemsParams {
425
428
  ending_unit_in_decimal?: (string)[];
426
429
  price_in_decimal?: (string)[];
427
430
  };
431
+ allowed_billing_frequencies?: {
432
+ period?: (number)[];
433
+ period_unit?: ("day" | "week" | "month" | "year")[];
434
+ };
428
435
  }
429
436
  export interface ClaimAGiftSubscriptionParams {
430
437
  brand_id?: string;
@@ -533,7 +540,6 @@ export interface CopyCardParams {
533
540
  }
534
541
  export interface CreateABankAccountPaymentSourceParams {
535
542
  customer_id?: string;
536
- brand_id?: string;
537
543
  issuing_country?: string;
538
544
  replace_primary_payment_source?: boolean;
539
545
  bank_account?: {
@@ -575,7 +581,6 @@ export interface CreateABusinessRulesetParams {
575
581
  }
576
582
  export interface CreateACardPaymentSourceParams {
577
583
  customer_id?: string;
578
- brand_id?: string;
579
584
  replace_primary_payment_source?: boolean;
580
585
  card?: {
581
586
  gateway_account_id?: string;
@@ -655,6 +660,13 @@ export interface CreateACouponSetParams {
655
660
  id?: string;
656
661
  meta_data?: Record<string, unknown>;
657
662
  }
663
+ export interface CreateACreditRateParams {
664
+ credit_unit_id?: string;
665
+ conversion_model?: "unit" | "package";
666
+ package_size?: number;
667
+ credit_cost?: number;
668
+ note?: string;
669
+ }
658
670
  export interface CreateACreditUnitParams {
659
671
  id?: string;
660
672
  name?: string;
@@ -1385,6 +1397,7 @@ export interface CreateARampParams {
1385
1397
  charge_once?: (boolean)[];
1386
1398
  charge_on_option?: ("immediately" | "on_event")[];
1387
1399
  description?: (string)[];
1400
+ proration_type?: ("full_term" | "partial_term" | "none")[];
1388
1401
  };
1389
1402
  items_to_update?: {
1390
1403
  item_price_id?: (string)[];
@@ -1398,6 +1411,7 @@ export interface CreateARampParams {
1398
1411
  charge_once?: (boolean)[];
1399
1412
  charge_on_option?: ("immediately" | "on_event")[];
1400
1413
  description?: (string)[];
1414
+ proration_type?: ("full_term" | "partial_term" | "none")[];
1401
1415
  };
1402
1416
  item_tiers?: {
1403
1417
  item_price_id?: (string)[];
@@ -1471,7 +1485,6 @@ export interface CreateAVoucherForTheCustomerToInitiatePaymentParams {
1471
1485
  }
1472
1486
  export interface CreateAVoucherPaymentMethodParams {
1473
1487
  customer_id?: string;
1474
- brand_id?: string;
1475
1488
  voucher_payment_source?: {
1476
1489
  voucher_type?: "boleto";
1477
1490
  gateway_account_id?: string;
@@ -1489,7 +1502,7 @@ export interface CreateAWebhookEndpointParams {
1489
1502
  basic_auth_username?: string;
1490
1503
  send_card_resource?: boolean;
1491
1504
  chargebee_response_schema_type?: "plans_addons" | "items" | "compat";
1492
- enabled_events?: ("coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "einvoice_created" | "einvoice_updated" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "payment_schedules_cancelled" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "refund_failed" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "price_ramp_created" | "price_ramp_updated" | "price_ramp_deleted" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "business_rule_created" | "business_rule_updated" | "business_rule_activated" | "business_rule_deactivated" | "business_rule_deleted" | "business_rule_released" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted" | "chargeback_initiated" | "chargeback_won" | "chargeback_lost" | "business_ruleset_created" | "business_ruleset_updated" | "business_ruleset_activated" | "business_ruleset_deactivated" | "business_ruleset_deleted" | "collections_reminder_sequence_created" | "collections_reminder_sequence_paused" | "collections_reminder_sequence_resumed" | "collections_reminder_sequence_completed" | "collections_payment_promise_created" | "collections_payment_promise_updated" | "collections_payment_promise_fulfilled" | "collections_payment_promise_cancelled" | "collections_payment_promise_broken" | "collections_dispute_created" | "collections_dispute_updated" | "collections_dispute_resolved" | "collections_dispute_withdrawn" | "email_message_received" | "private_note_added")[];
1505
+ enabled_events?: ("coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "einvoice_created" | "einvoice_updated" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "payment_schedules_cancelled" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "retry_segment_assigned" | "payment_refunded" | "refund_failed" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "organization_details_created" | "organization_details_updated" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "price_ramp_created" | "price_ramp_updated" | "price_ramp_deleted" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "business_rule_created" | "business_rule_updated" | "business_rule_activated" | "business_rule_deactivated" | "business_rule_deleted" | "business_rule_released" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted" | "chargeback_initiated" | "chargeback_won" | "chargeback_lost" | "business_ruleset_created" | "business_ruleset_updated" | "business_ruleset_activated" | "business_ruleset_deactivated" | "business_ruleset_deleted" | "collections_reminder_sequence_created" | "collections_reminder_sequence_paused" | "collections_reminder_sequence_resumed" | "collections_reminder_sequence_completed" | "collections_payment_promise_created" | "collections_payment_promise_updated" | "collections_payment_promise_fulfilled" | "collections_payment_promise_cancelled" | "collections_payment_promise_broken" | "collections_dispute_created" | "collections_dispute_updated" | "collections_dispute_resolved" | "collections_dispute_withdrawn" | "email_message_received" | "private_note_added")[];
1493
1506
  }
1494
1507
  export interface CreateAnAlertParams {
1495
1508
  type?: "usage_exceeded" | "spend_exceeded" | "credit_balance_dropped";
@@ -1665,6 +1678,7 @@ export interface CreateCheckoutForANewSubscriptionParams {
1665
1678
  redirect_url?: string;
1666
1679
  cancel_url?: string;
1667
1680
  pass_thru_content?: string;
1681
+ show_billing_frequency_selector?: boolean;
1668
1682
  allow_offline_payment_methods?: boolean;
1669
1683
  subscription?: {
1670
1684
  id?: string;
@@ -1774,6 +1788,10 @@ export interface CreateCheckoutForANewSubscriptionParams {
1774
1788
  operation?: ("create" | "update" | "delete")[];
1775
1789
  standard?: (string)[];
1776
1790
  };
1791
+ allowed_billing_frequencies?: {
1792
+ period?: (number)[];
1793
+ period_unit?: ("day" | "week" | "month" | "year")[];
1794
+ };
1777
1795
  }
1778
1796
  export interface CreateCheckoutToUpdateASubscriptionParams {
1779
1797
  layout?: "in_app" | "full_page";
@@ -1795,6 +1813,7 @@ export interface CreateCheckoutToUpdateASubscriptionParams {
1795
1813
  redirect_url?: string;
1796
1814
  cancel_url?: string;
1797
1815
  pass_thru_content?: string;
1816
+ show_billing_frequency_selector?: boolean;
1798
1817
  allow_offline_payment_methods?: boolean;
1799
1818
  subscription?: {
1800
1819
  id?: string;
@@ -1863,6 +1882,10 @@ export interface CreateCheckoutToUpdateASubscriptionParams {
1863
1882
  operation?: ("create" | "update" | "delete")[];
1864
1883
  standard?: (string)[];
1865
1884
  };
1885
+ allowed_billing_frequencies?: {
1886
+ period?: (number)[];
1887
+ period_unit?: ("day" | "week" | "month" | "year")[];
1888
+ };
1866
1889
  }
1867
1890
  export interface CreateCreditNoteParams {
1868
1891
  reference_invoice_id?: string;
@@ -1901,6 +1924,7 @@ export interface CreateInvoiceForItemsAndOneTimeChargesParams {
1901
1924
  payment_source_id?: string;
1902
1925
  auto_collection?: "on" | "off";
1903
1926
  net_term_days?: number;
1927
+ offline_payment_method?: "no_preference" | "cash" | "check" | "bank_transfer" | "ach_credit" | "sepa_credit" | "boleto" | "us_automated_bank_transfer" | "eu_automated_bank_transfer" | "uk_automated_bank_transfer" | "jp_automated_bank_transfer" | "mx_automated_bank_transfer" | "custom";
1904
1928
  invoice_date?: number;
1905
1929
  create_pending_invoice?: boolean;
1906
1930
  token_id?: string;
@@ -2162,7 +2186,6 @@ export interface CreatePricingPageForExistingSubscriptionParams {
2162
2186
  export interface CreatePricingPageForNewSubscriptionParams {
2163
2187
  redirect_url?: string;
2164
2188
  business_entity_id?: string;
2165
- brand_id?: string;
2166
2189
  auto_select_local_currency?: boolean;
2167
2190
  custom?: Record<string, unknown>;
2168
2191
  pricing_page?: {
@@ -2328,6 +2351,7 @@ export interface CreateSubscriptionForItemsParams {
2328
2351
  included_in_mrr?: (boolean)[];
2329
2352
  item_price_id?: (string)[];
2330
2353
  quantity?: (number)[];
2354
+ description?: (string)[];
2331
2355
  };
2332
2356
  item_tiers?: {
2333
2357
  item_price_id?: (string)[];
@@ -2352,6 +2376,8 @@ export interface CreateUnbilledChargesForItemSubscriptionParams {
2352
2376
  unit_price_in_decimal?: (string)[];
2353
2377
  date_from?: (number)[];
2354
2378
  date_to?: (number)[];
2379
+ description?: (string)[];
2380
+ entity_description?: (string)[];
2355
2381
  };
2356
2382
  item_tiers?: {
2357
2383
  item_price_id?: (string)[];
@@ -2365,6 +2391,7 @@ export interface CreateUnbilledChargesForItemSubscriptionParams {
2365
2391
  package_size?: (number)[];
2366
2392
  };
2367
2393
  charges?: {
2394
+ entity_description?: (string)[];
2368
2395
  amount?: (number)[];
2369
2396
  amount_in_decimal?: (string)[];
2370
2397
  description?: (string)[];
@@ -2387,7 +2414,6 @@ export interface CreateUnbilledChargesForItemSubscriptionParams {
2387
2414
  }
2388
2415
  export interface CreateUsingChargebeeTokenParams {
2389
2416
  customer_id?: string;
2390
- brand_id?: string;
2391
2417
  replace_primary_payment_source?: boolean;
2392
2418
  token_id?: string;
2393
2419
  }
@@ -2397,13 +2423,11 @@ export interface CreateUsingGatewayTemporaryTokenParams {
2397
2423
  type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay" | "ovo" | "momo" | "mercado_pago" | "nequi" | "nupay" | "picpay" | "thai_qr" | "blik" | "fpx" | "wero" | "p24" | "affirm_pay" | "rakuten_pay";
2398
2424
  tmp_token?: string;
2399
2425
  issuing_country?: string;
2400
- brand_id?: string;
2401
2426
  replace_primary_payment_source?: boolean;
2402
2427
  additional_information?: Record<string, unknown>;
2403
2428
  }
2404
2429
  export interface CreateUsingPaymentIntentParams {
2405
2430
  customer_id?: string;
2406
- brand_id?: string;
2407
2431
  replace_primary_payment_source?: boolean;
2408
2432
  payment_intent?: {
2409
2433
  id?: string;
@@ -2417,7 +2441,6 @@ export interface CreateUsingPaymentIntentParams {
2417
2441
  }
2418
2442
  export interface CreateUsingPermanentTokenParams {
2419
2443
  customer_id?: string;
2420
- brand_id?: string;
2421
2444
  type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay" | "ovo" | "momo" | "mercado_pago" | "nequi" | "nupay" | "picpay" | "thai_qr" | "blik" | "fpx" | "wero" | "p24" | "affirm_pay" | "rakuten_pay";
2422
2445
  gateway_account_id?: string;
2423
2446
  reference_id?: string;
@@ -2922,6 +2945,7 @@ export interface EstimateForCreatingACustomerAndSubscriptionParams {
2922
2945
  included_in_mrr?: (boolean)[];
2923
2946
  item_price_id?: (string)[];
2924
2947
  quantity?: (number)[];
2948
+ description?: (string)[];
2925
2949
  };
2926
2950
  item_tiers?: {
2927
2951
  item_price_id?: (string)[];
@@ -3011,6 +3035,7 @@ export interface EstimateForCreatingASubscriptionParams {
3011
3035
  included_in_mrr?: (boolean)[];
3012
3036
  item_price_id?: (string)[];
3013
3037
  quantity?: (number)[];
3038
+ description?: (string)[];
3014
3039
  };
3015
3040
  item_tiers?: {
3016
3041
  item_price_id?: (string)[];
@@ -3110,6 +3135,7 @@ export interface EstimateForUpdatingASubscriptionParams {
3110
3135
  quantity?: (number)[];
3111
3136
  operation_type?: ("add" | "remove")[];
3112
3137
  id?: (string)[];
3138
+ description?: (string)[];
3113
3139
  };
3114
3140
  item_tiers?: {
3115
3141
  item_price_id?: (string)[];
@@ -3908,6 +3934,55 @@ export interface ExportDifferentialPriceParams {
3908
3934
  };
3909
3935
  };
3910
3936
  }
3937
+ export interface ExportEntitlementsParams {
3938
+ entitlement?: {
3939
+ feature_id?: {
3940
+ in?: string;
3941
+ is?: string;
3942
+ };
3943
+ entity_type?: {
3944
+ in?: "plan" | "addon" | "charge" | "plan_price" | "addon_price";
3945
+ is?: "plan" | "addon" | "charge" | "plan_price" | "addon_price";
3946
+ };
3947
+ entity_id?: {
3948
+ in?: string;
3949
+ is?: string;
3950
+ };
3951
+ };
3952
+ }
3953
+ export interface ExportFeaturesParams {
3954
+ feature?: {
3955
+ name?: {
3956
+ is?: string;
3957
+ is_not?: string;
3958
+ starts_with?: string;
3959
+ in?: string;
3960
+ not_in?: string;
3961
+ };
3962
+ id?: {
3963
+ is?: string;
3964
+ is_not?: string;
3965
+ starts_with?: string;
3966
+ in?: string;
3967
+ not_in?: string;
3968
+ };
3969
+ status?: {
3970
+ is?: "active" | "archived" | "draft";
3971
+ is_not?: "active" | "archived" | "draft";
3972
+ in?: "active" | "archived" | "draft";
3973
+ not_in?: "active" | "archived" | "draft";
3974
+ };
3975
+ type?: {
3976
+ is?: "switch" | "custom" | "quantity" | "range";
3977
+ is_not?: "switch" | "custom" | "quantity" | "range";
3978
+ in?: "switch" | "custom" | "quantity" | "range";
3979
+ not_in?: "switch" | "custom" | "quantity" | "range";
3980
+ };
3981
+ metered?: {
3982
+ is?: "true" | "false";
3983
+ };
3984
+ };
3985
+ }
3911
3986
  export interface ExportInvoicesParams {
3912
3987
  payment_owner?: {
3913
3988
  is?: string;
@@ -5242,7 +5317,7 @@ export interface ImportCreditNoteParams {
5242
5317
  linked_refunds?: {
5243
5318
  id?: (string)[];
5244
5319
  amount?: (number)[];
5245
- payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom" | "tamara" | "qpay" | "blik" | "fpx" | "wero" | "p24")[];
5320
+ payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom")[];
5246
5321
  date?: (number)[];
5247
5322
  reference_number?: (string)[];
5248
5323
  };
@@ -5385,7 +5460,7 @@ export interface ImportInvoiceParams {
5385
5460
  payments?: {
5386
5461
  id?: (string)[];
5387
5462
  amount?: (number)[];
5388
- payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom" | "tamara" | "qpay" | "blik" | "fpx" | "wero" | "p24")[];
5463
+ payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom")[];
5389
5464
  date?: (number)[];
5390
5465
  reference_number?: (string)[];
5391
5466
  };
@@ -5461,7 +5536,7 @@ export interface ImportSubscriptionForItemsParams {
5461
5536
  };
5462
5537
  transaction?: {
5463
5538
  amount?: number;
5464
- payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom" | "tamara" | "qpay" | "blik" | "fpx" | "wero" | "p24";
5539
+ payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom";
5465
5540
  reference_number?: string;
5466
5541
  date?: number;
5467
5542
  };
@@ -5504,6 +5579,7 @@ export interface ImportSubscriptionForItemsParams {
5504
5579
  included_in_mrr?: (boolean)[];
5505
5580
  item_price_id?: (string)[];
5506
5581
  quantity?: (number)[];
5582
+ description?: (string)[];
5507
5583
  };
5508
5584
  charged_items?: {
5509
5585
  item_price_id?: (string)[];
@@ -6085,6 +6161,31 @@ export interface ListCreditNotesParams {
6085
6161
  };
6086
6162
  };
6087
6163
  }
6164
+ export interface ListCreditRateVersionsParams {
6165
+ limit?: number;
6166
+ offset?: string;
6167
+ }
6168
+ export interface ListCreditRatesForASubscriptionParams {
6169
+ limit?: number;
6170
+ offset?: string;
6171
+ metered_feature_id?: {
6172
+ in?: string;
6173
+ is?: string;
6174
+ };
6175
+ credit_unit_id?: {
6176
+ is?: string;
6177
+ };
6178
+ status?: {
6179
+ is?: "active" | "archived";
6180
+ };
6181
+ is_overridden?: {
6182
+ is?: "true" | "false";
6183
+ };
6184
+ sort_by?: {
6185
+ asc?: "effective_from" | "updated_at";
6186
+ desc?: "effective_from" | "updated_at";
6187
+ };
6188
+ }
6088
6189
  export interface ListCreditUnitsParams {
6089
6190
  limit?: number;
6090
6191
  offset?: string;
@@ -6360,10 +6461,10 @@ export interface ListEventsParams {
6360
6461
  not_in?: "not_configured" | "scheduled" | "succeeded" | "re_scheduled" | "failed" | "skipped" | "not_applicable" | "disabled" | "rate_limited";
6361
6462
  };
6362
6463
  event_type?: {
6363
- is?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "einvoice_created" | "einvoice_updated" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "payment_schedules_cancelled" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "refund_failed" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "price_ramp_created" | "price_ramp_updated" | "price_ramp_deleted" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "business_rule_created" | "business_rule_updated" | "business_rule_activated" | "business_rule_deactivated" | "business_rule_deleted" | "business_rule_released" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted" | "chargeback_initiated" | "chargeback_won" | "chargeback_lost" | "business_ruleset_created" | "business_ruleset_updated" | "business_ruleset_activated" | "business_ruleset_deactivated" | "business_ruleset_deleted" | "collections_reminder_sequence_created" | "collections_reminder_sequence_paused" | "collections_reminder_sequence_resumed" | "collections_reminder_sequence_completed" | "collections_payment_promise_created" | "collections_payment_promise_updated" | "collections_payment_promise_fulfilled" | "collections_payment_promise_cancelled" | "collections_payment_promise_broken" | "collections_dispute_created" | "collections_dispute_updated" | "collections_dispute_resolved" | "collections_dispute_withdrawn" | "email_message_received" | "private_note_added";
6364
- is_not?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "einvoice_created" | "einvoice_updated" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "payment_schedules_cancelled" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "refund_failed" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "price_ramp_created" | "price_ramp_updated" | "price_ramp_deleted" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "business_rule_created" | "business_rule_updated" | "business_rule_activated" | "business_rule_deactivated" | "business_rule_deleted" | "business_rule_released" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted" | "chargeback_initiated" | "chargeback_won" | "chargeback_lost" | "business_ruleset_created" | "business_ruleset_updated" | "business_ruleset_activated" | "business_ruleset_deactivated" | "business_ruleset_deleted" | "collections_reminder_sequence_created" | "collections_reminder_sequence_paused" | "collections_reminder_sequence_resumed" | "collections_reminder_sequence_completed" | "collections_payment_promise_created" | "collections_payment_promise_updated" | "collections_payment_promise_fulfilled" | "collections_payment_promise_cancelled" | "collections_payment_promise_broken" | "collections_dispute_created" | "collections_dispute_updated" | "collections_dispute_resolved" | "collections_dispute_withdrawn" | "email_message_received" | "private_note_added";
6365
- in?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "einvoice_created" | "einvoice_updated" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "payment_schedules_cancelled" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "refund_failed" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "price_ramp_created" | "price_ramp_updated" | "price_ramp_deleted" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "business_rule_created" | "business_rule_updated" | "business_rule_activated" | "business_rule_deactivated" | "business_rule_deleted" | "business_rule_released" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted" | "chargeback_initiated" | "chargeback_won" | "chargeback_lost" | "business_ruleset_created" | "business_ruleset_updated" | "business_ruleset_activated" | "business_ruleset_deactivated" | "business_ruleset_deleted" | "collections_reminder_sequence_created" | "collections_reminder_sequence_paused" | "collections_reminder_sequence_resumed" | "collections_reminder_sequence_completed" | "collections_payment_promise_created" | "collections_payment_promise_updated" | "collections_payment_promise_fulfilled" | "collections_payment_promise_cancelled" | "collections_payment_promise_broken" | "collections_dispute_created" | "collections_dispute_updated" | "collections_dispute_resolved" | "collections_dispute_withdrawn" | "email_message_received" | "private_note_added";
6366
- not_in?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "einvoice_created" | "einvoice_updated" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "payment_schedules_cancelled" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "refund_failed" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "price_ramp_created" | "price_ramp_updated" | "price_ramp_deleted" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "business_rule_created" | "business_rule_updated" | "business_rule_activated" | "business_rule_deactivated" | "business_rule_deleted" | "business_rule_released" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted" | "chargeback_initiated" | "chargeback_won" | "chargeback_lost" | "business_ruleset_created" | "business_ruleset_updated" | "business_ruleset_activated" | "business_ruleset_deactivated" | "business_ruleset_deleted" | "collections_reminder_sequence_created" | "collections_reminder_sequence_paused" | "collections_reminder_sequence_resumed" | "collections_reminder_sequence_completed" | "collections_payment_promise_created" | "collections_payment_promise_updated" | "collections_payment_promise_fulfilled" | "collections_payment_promise_cancelled" | "collections_payment_promise_broken" | "collections_dispute_created" | "collections_dispute_updated" | "collections_dispute_resolved" | "collections_dispute_withdrawn" | "email_message_received" | "private_note_added";
6464
+ is?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "einvoice_created" | "einvoice_updated" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "payment_schedules_cancelled" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "retry_segment_assigned" | "payment_refunded" | "refund_failed" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "organization_details_created" | "organization_details_updated" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "price_ramp_created" | "price_ramp_updated" | "price_ramp_deleted" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "business_rule_created" | "business_rule_updated" | "business_rule_activated" | "business_rule_deactivated" | "business_rule_deleted" | "business_rule_released" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted" | "chargeback_initiated" | "chargeback_won" | "chargeback_lost" | "business_ruleset_created" | "business_ruleset_updated" | "business_ruleset_activated" | "business_ruleset_deactivated" | "business_ruleset_deleted" | "collections_reminder_sequence_created" | "collections_reminder_sequence_paused" | "collections_reminder_sequence_resumed" | "collections_reminder_sequence_completed" | "collections_payment_promise_created" | "collections_payment_promise_updated" | "collections_payment_promise_fulfilled" | "collections_payment_promise_cancelled" | "collections_payment_promise_broken" | "collections_dispute_created" | "collections_dispute_updated" | "collections_dispute_resolved" | "collections_dispute_withdrawn" | "email_message_received" | "private_note_added";
6465
+ is_not?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "einvoice_created" | "einvoice_updated" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "payment_schedules_cancelled" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "retry_segment_assigned" | "payment_refunded" | "refund_failed" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "organization_details_created" | "organization_details_updated" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "price_ramp_created" | "price_ramp_updated" | "price_ramp_deleted" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "business_rule_created" | "business_rule_updated" | "business_rule_activated" | "business_rule_deactivated" | "business_rule_deleted" | "business_rule_released" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted" | "chargeback_initiated" | "chargeback_won" | "chargeback_lost" | "business_ruleset_created" | "business_ruleset_updated" | "business_ruleset_activated" | "business_ruleset_deactivated" | "business_ruleset_deleted" | "collections_reminder_sequence_created" | "collections_reminder_sequence_paused" | "collections_reminder_sequence_resumed" | "collections_reminder_sequence_completed" | "collections_payment_promise_created" | "collections_payment_promise_updated" | "collections_payment_promise_fulfilled" | "collections_payment_promise_cancelled" | "collections_payment_promise_broken" | "collections_dispute_created" | "collections_dispute_updated" | "collections_dispute_resolved" | "collections_dispute_withdrawn" | "email_message_received" | "private_note_added";
6466
+ in?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "einvoice_created" | "einvoice_updated" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "payment_schedules_cancelled" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "retry_segment_assigned" | "payment_refunded" | "refund_failed" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "organization_details_created" | "organization_details_updated" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "price_ramp_created" | "price_ramp_updated" | "price_ramp_deleted" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "business_rule_created" | "business_rule_updated" | "business_rule_activated" | "business_rule_deactivated" | "business_rule_deleted" | "business_rule_released" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted" | "chargeback_initiated" | "chargeback_won" | "chargeback_lost" | "business_ruleset_created" | "business_ruleset_updated" | "business_ruleset_activated" | "business_ruleset_deactivated" | "business_ruleset_deleted" | "collections_reminder_sequence_created" | "collections_reminder_sequence_paused" | "collections_reminder_sequence_resumed" | "collections_reminder_sequence_completed" | "collections_payment_promise_created" | "collections_payment_promise_updated" | "collections_payment_promise_fulfilled" | "collections_payment_promise_cancelled" | "collections_payment_promise_broken" | "collections_dispute_created" | "collections_dispute_updated" | "collections_dispute_resolved" | "collections_dispute_withdrawn" | "email_message_received" | "private_note_added";
6467
+ not_in?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "einvoice_created" | "einvoice_updated" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "payment_schedules_cancelled" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "retry_segment_assigned" | "payment_refunded" | "refund_failed" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "organization_details_created" | "organization_details_updated" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "price_ramp_created" | "price_ramp_updated" | "price_ramp_deleted" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "business_rule_created" | "business_rule_updated" | "business_rule_activated" | "business_rule_deactivated" | "business_rule_deleted" | "business_rule_released" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted" | "chargeback_initiated" | "chargeback_won" | "chargeback_lost" | "business_ruleset_created" | "business_ruleset_updated" | "business_ruleset_activated" | "business_ruleset_deactivated" | "business_ruleset_deleted" | "collections_reminder_sequence_created" | "collections_reminder_sequence_paused" | "collections_reminder_sequence_resumed" | "collections_reminder_sequence_completed" | "collections_payment_promise_created" | "collections_payment_promise_updated" | "collections_payment_promise_fulfilled" | "collections_payment_promise_cancelled" | "collections_payment_promise_broken" | "collections_dispute_created" | "collections_dispute_updated" | "collections_dispute_resolved" | "collections_dispute_withdrawn" | "email_message_received" | "private_note_added";
6367
6468
  };
6368
6469
  source?: {
6369
6470
  is?: "admin_console" | "api" | "scheduled_job" | "hosted_page" | "portal" | "system" | "none" | "js_api" | "migration" | "bulk_operation" | "external_service" | "mcp" | "copilot" | "agent";
@@ -6420,6 +6521,208 @@ export interface ListGatewayPaymentMethodTokensForAPaymentSourceParams {
6420
6521
  offset?: string;
6421
6522
  include_deleted?: boolean;
6422
6523
  }
6524
+ export interface ListGatewayRequestLogsParams {
6525
+ limit?: number;
6526
+ offset?: string;
6527
+ log_id?: {
6528
+ in?: string;
6529
+ not_in?: string;
6530
+ is_not?: string;
6531
+ is?: string;
6532
+ };
6533
+ gateway?: {
6534
+ in?: string;
6535
+ not_in?: string;
6536
+ is_not?: string;
6537
+ is?: string;
6538
+ };
6539
+ status_code?: {
6540
+ in?: string;
6541
+ not_in?: string;
6542
+ is_not?: string;
6543
+ is?: string;
6544
+ };
6545
+ method?: {
6546
+ in?: string;
6547
+ not_in?: string;
6548
+ is_not?: string;
6549
+ is?: string;
6550
+ };
6551
+ url?: {
6552
+ in?: string;
6553
+ not_in?: string;
6554
+ is_not?: string;
6555
+ is?: string;
6556
+ };
6557
+ customer_handle?: {
6558
+ in?: string;
6559
+ not_in?: string;
6560
+ is_not?: string;
6561
+ is?: string;
6562
+ };
6563
+ invoice_handle?: {
6564
+ in?: string;
6565
+ not_in?: string;
6566
+ is_not?: string;
6567
+ is?: string;
6568
+ };
6569
+ transaction_handle?: {
6570
+ in?: string;
6571
+ not_in?: string;
6572
+ is_not?: string;
6573
+ is?: string;
6574
+ };
6575
+ payment_method_handle?: {
6576
+ in?: string;
6577
+ not_in?: string;
6578
+ is_not?: string;
6579
+ is?: string;
6580
+ };
6581
+ gateway_credential_handle?: {
6582
+ in?: string;
6583
+ not_in?: string;
6584
+ is_not?: string;
6585
+ is?: string;
6586
+ };
6587
+ payment_attempt_handle?: {
6588
+ in?: string;
6589
+ not_in?: string;
6590
+ is_not?: string;
6591
+ is?: string;
6592
+ };
6593
+ payment_intent_handle?: {
6594
+ in?: string;
6595
+ not_in?: string;
6596
+ is_not?: string;
6597
+ is?: string;
6598
+ };
6599
+ operation_name?: {
6600
+ in?: string;
6601
+ not_in?: string;
6602
+ is_not?: string;
6603
+ is?: string;
6604
+ };
6605
+ operation_type?: {
6606
+ in?: string;
6607
+ not_in?: string;
6608
+ is_not?: string;
6609
+ is?: string;
6610
+ };
6611
+ source?: {
6612
+ in?: string;
6613
+ not_in?: string;
6614
+ is_not?: string;
6615
+ is?: string;
6616
+ };
6617
+ invocation_time?: {
6618
+ after?: string;
6619
+ before?: string;
6620
+ on?: string;
6621
+ between?: string;
6622
+ };
6623
+ response_received_at?: {
6624
+ after?: string;
6625
+ before?: string;
6626
+ on?: string;
6627
+ between?: string;
6628
+ };
6629
+ sort_by?: {
6630
+ asc?: "invocation_time";
6631
+ desc?: "invocation_time";
6632
+ };
6633
+ }
6634
+ export interface ListGatewayWebhookLogsParams {
6635
+ limit?: number;
6636
+ offset?: string;
6637
+ webhook_id?: {
6638
+ in?: string;
6639
+ not_in?: string;
6640
+ is_not?: string;
6641
+ is?: string;
6642
+ };
6643
+ gateway?: {
6644
+ in?: string;
6645
+ not_in?: string;
6646
+ is_not?: string;
6647
+ is?: string;
6648
+ };
6649
+ status_code?: {
6650
+ in?: string;
6651
+ not_in?: string;
6652
+ is_not?: string;
6653
+ is?: string;
6654
+ };
6655
+ method?: {
6656
+ in?: string;
6657
+ not_in?: string;
6658
+ is_not?: string;
6659
+ is?: string;
6660
+ };
6661
+ url?: {
6662
+ in?: string;
6663
+ not_in?: string;
6664
+ is_not?: string;
6665
+ is?: string;
6666
+ };
6667
+ id_at_gateway?: {
6668
+ in?: string;
6669
+ not_in?: string;
6670
+ is_not?: string;
6671
+ is?: string;
6672
+ };
6673
+ customer_handle?: {
6674
+ in?: string;
6675
+ not_in?: string;
6676
+ is_not?: string;
6677
+ is?: string;
6678
+ };
6679
+ invoice_handle?: {
6680
+ in?: string;
6681
+ not_in?: string;
6682
+ is_not?: string;
6683
+ is?: string;
6684
+ };
6685
+ transaction_handle?: {
6686
+ in?: string;
6687
+ not_in?: string;
6688
+ is_not?: string;
6689
+ is?: string;
6690
+ };
6691
+ payment_method_handle?: {
6692
+ in?: string;
6693
+ not_in?: string;
6694
+ is_not?: string;
6695
+ is?: string;
6696
+ };
6697
+ gateway_credential_handle?: {
6698
+ in?: string;
6699
+ not_in?: string;
6700
+ is_not?: string;
6701
+ is?: string;
6702
+ };
6703
+ payment_attempt_handle?: {
6704
+ in?: string;
6705
+ not_in?: string;
6706
+ is_not?: string;
6707
+ is?: string;
6708
+ };
6709
+ payment_intent_handle?: {
6710
+ in?: string;
6711
+ not_in?: string;
6712
+ is_not?: string;
6713
+ is?: string;
6714
+ };
6715
+ received_at?: {
6716
+ after?: string;
6717
+ before?: string;
6718
+ on?: string;
6719
+ between?: string;
6720
+ };
6721
+ sort_by?: {
6722
+ asc?: "received_at";
6723
+ desc?: "received_at";
6724
+ };
6725
+ }
6423
6726
  export interface ListGiftsParams {
6424
6727
  limit?: number;
6425
6728
  offset?: string;
@@ -6518,6 +6821,24 @@ export interface ListHostedPagesParams {
6518
6821
  between?: string;
6519
6822
  };
6520
6823
  }
6824
+ export interface ListInvoiceRetryContextsParams {
6825
+ limit?: number;
6826
+ offset?: string;
6827
+ invoice_id?: {
6828
+ is?: string;
6829
+ };
6830
+ retry_segment_id?: {
6831
+ is?: string;
6832
+ };
6833
+ invoice?: {
6834
+ dunning_status?: {
6835
+ is?: "in_progress" | "exhausted" | "stopped" | "success";
6836
+ is_not?: "in_progress" | "exhausted" | "stopped" | "success";
6837
+ in?: "in_progress" | "exhausted" | "stopped" | "success";
6838
+ not_in?: "in_progress" | "exhausted" | "stopped" | "success";
6839
+ };
6840
+ };
6841
+ }
6521
6842
  export interface ListInvoicesParams {
6522
6843
  limit?: number;
6523
6844
  offset?: string;
@@ -6997,14 +7318,14 @@ export interface ListOmnichannelSubscriptionsParams {
6997
7318
  };
6998
7319
  updated_at?: {
6999
7320
  before?: string;
7000
- after?: string;
7001
7321
  on?: string;
7322
+ after?: string;
7002
7323
  between?: string;
7003
7324
  };
7004
7325
  purchased_at?: {
7005
7326
  before?: string;
7006
- after?: string;
7007
7327
  on?: string;
7328
+ after?: string;
7008
7329
  between?: string;
7009
7330
  };
7010
7331
  sort_by?: {
@@ -7120,6 +7441,13 @@ export interface ListOrdersParams {
7120
7441
  desc?: "created_at" | "updated_at";
7121
7442
  };
7122
7443
  }
7444
+ export interface ListOrganizationDetailsParams {
7445
+ limit?: number;
7446
+ offset?: string;
7447
+ business_entity_id?: {
7448
+ is?: string;
7449
+ };
7450
+ }
7123
7451
  export interface ListPaymentReferenceNumbersParams {
7124
7452
  limit?: number;
7125
7453
  offset?: string;
@@ -7237,6 +7565,18 @@ export interface ListPersonalizedOffersParams {
7237
7565
  referrer_url?: string;
7238
7566
  };
7239
7567
  }
7568
+ export interface ListPreferenceDefinitionsParams {
7569
+ preference_group?: {
7570
+ in?: "unbilled_charges" | "update_subscriptions" | "subscription_reactivation" | "trial_end_actions";
7571
+ is?: "unbilled_charges" | "update_subscriptions" | "subscription_reactivation" | "trial_end_actions";
7572
+ };
7573
+ }
7574
+ export interface ListPreferencesParams {
7575
+ preference_group?: {
7576
+ in?: "unbilled_charges" | "update_subscriptions" | "subscription_reactivation" | "trial_end_actions";
7577
+ is?: "unbilled_charges" | "update_subscriptions" | "subscription_reactivation" | "trial_end_actions";
7578
+ };
7579
+ }
7240
7580
  export interface ListPriceRampsParams {
7241
7581
  limit?: number;
7242
7582
  offset?: string;
@@ -7446,6 +7786,10 @@ export interface ListRampsParams {
7446
7786
  desc?: "effective_from" | "updated_at";
7447
7787
  };
7448
7788
  }
7789
+ export interface ListRetrySegmentsParams {
7790
+ limit?: number;
7791
+ offset?: string;
7792
+ }
7449
7793
  export interface ListRulesInABusinessRulesetParams {
7450
7794
  limit?: number;
7451
7795
  offset?: string;
@@ -8010,7 +8354,7 @@ export interface RecordAnExcessPaymentForACustomerParams {
8010
8354
  amount?: number;
8011
8355
  currency_code?: string;
8012
8356
  date?: number;
8013
- payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom" | "tamara" | "qpay" | "blik" | "fpx" | "wero" | "p24";
8357
+ payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom";
8014
8358
  reference_number?: string;
8015
8359
  custom_payment_method_id?: string;
8016
8360
  };
@@ -8019,7 +8363,7 @@ export interface RecordAnInvoicePaymentParams {
8019
8363
  comment?: string;
8020
8364
  transaction?: {
8021
8365
  amount?: number;
8022
- payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom" | "tamara" | "qpay" | "blik" | "fpx" | "wero" | "p24";
8366
+ payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom";
8023
8367
  reference_number?: string;
8024
8368
  custom_payment_method_id?: string;
8025
8369
  id_at_gateway?: string;
@@ -8031,7 +8375,7 @@ export interface RecordAnInvoicePaymentParams {
8031
8375
  }
8032
8376
  export interface RecordAnOfflineRefundParams {
8033
8377
  amount?: number;
8034
- payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom" | "tamara" | "qpay" | "blik" | "fpx" | "wero" | "p24";
8378
+ payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom";
8035
8379
  date?: number;
8036
8380
  reference_number?: string;
8037
8381
  custom_payment_method_id?: string;
@@ -8043,7 +8387,7 @@ export interface RecordRefundForACreditNoteParams {
8043
8387
  transaction?: {
8044
8388
  id?: string;
8045
8389
  amount?: number;
8046
- payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom" | "tamara" | "qpay" | "blik" | "fpx" | "wero" | "p24";
8390
+ payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom";
8047
8391
  reference_number?: string;
8048
8392
  custom_payment_method_id?: string;
8049
8393
  date?: number;
@@ -8054,7 +8398,7 @@ export interface RecordRefundForAnInvoiceParams {
8054
8398
  customer_notes?: string;
8055
8399
  transaction?: {
8056
8400
  amount?: number;
8057
- payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom" | "tamara" | "qpay" | "blik" | "fpx" | "wero" | "p24";
8401
+ payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom";
8058
8402
  reference_number?: string;
8059
8403
  custom_payment_method_id?: string;
8060
8404
  date?: number;
@@ -8108,6 +8452,10 @@ export interface ReleaseAuthorizationParams {
8108
8452
  ledger_operation_timestamp?: number;
8109
8453
  metadata?: Record<string, unknown>;
8110
8454
  }
8455
+ export interface RemoveACreditRateOverrideParams {
8456
+ subscription_id?: string;
8457
+ note?: string;
8458
+ }
8111
8459
  export interface RemoveAnAdvanceInvoiceSchedulesParams {
8112
8460
  specific_dates_schedule?: {
8113
8461
  id?: (string)[];
@@ -8190,12 +8538,12 @@ export interface RetrieveACreditNoteParams {
8190
8538
  line_items_limit?: number;
8191
8539
  line_items_offset?: string;
8192
8540
  }
8541
+ export interface RetrieveACreditRateOverrideParams {
8542
+ subscription_id?: string;
8543
+ }
8193
8544
  export interface RetrieveADifferentialPriceParams {
8194
8545
  item_price_id?: string;
8195
8546
  }
8196
- export interface RetrieveARetrySegmentParams {
8197
- invoice_id?: string;
8198
- }
8199
8547
  export interface RetrieveAUsageParams {
8200
8548
  id?: string;
8201
8549
  }
@@ -8255,8 +8603,16 @@ export interface RetrieveUsagesForAnInvoiceAsPdfParams {
8255
8603
  group_by?: {
8256
8604
  feature_id?: (string)[];
8257
8605
  attributes?: (unknown[])[];
8606
+ window_size?: ("day" | "none")[];
8258
8607
  };
8259
8608
  }
8609
+ export interface SetACreditRateOverrideParams {
8610
+ subscription_id?: string;
8611
+ conversion_model?: "unit" | "package";
8612
+ package_size?: number;
8613
+ credit_cost?: number;
8614
+ note?: string;
8615
+ }
8260
8616
  export interface SetPromotionalCreditsParams {
8261
8617
  customer_id?: string;
8262
8618
  amount?: number;
@@ -8386,6 +8742,13 @@ export interface UpdateACouponSetParams {
8386
8742
  name?: string;
8387
8743
  meta_data?: Record<string, unknown>;
8388
8744
  }
8745
+ export interface UpdateACreditRateParams {
8746
+ change_option?: "grandfathered" | "end_of_term" | "immediately";
8747
+ conversion_model?: "unit" | "package";
8748
+ package_size?: number;
8749
+ credit_cost?: number;
8750
+ note?: string;
8751
+ }
8389
8752
  export interface UpdateACreditUnitParams {
8390
8753
  name?: string;
8391
8754
  external_name?: string;
@@ -8520,6 +8883,7 @@ export interface UpdateASubscriptionRampParams {
8520
8883
  charge_once?: (boolean)[];
8521
8884
  charge_on_option?: ("immediately" | "on_event")[];
8522
8885
  description?: (string)[];
8886
+ proration_type?: ("full_term" | "partial_term" | "none")[];
8523
8887
  };
8524
8888
  items_to_update?: {
8525
8889
  item_price_id?: (string)[];
@@ -8533,6 +8897,7 @@ export interface UpdateASubscriptionRampParams {
8533
8897
  charge_once?: (boolean)[];
8534
8898
  charge_on_option?: ("immediately" | "on_event")[];
8535
8899
  description?: (string)[];
8900
+ proration_type?: ("full_term" | "partial_term" | "none")[];
8536
8901
  };
8537
8902
  item_tiers?: {
8538
8903
  item_price_id?: (string)[];
@@ -8570,7 +8935,7 @@ export interface UpdateAWebhookEndpointParams {
8570
8935
  basic_auth_password?: string;
8571
8936
  basic_auth_username?: string;
8572
8937
  disabled?: boolean;
8573
- enabled_events?: ("coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "einvoice_created" | "einvoice_updated" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "payment_schedules_cancelled" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "refund_failed" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "price_ramp_created" | "price_ramp_updated" | "price_ramp_deleted" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "business_rule_created" | "business_rule_updated" | "business_rule_activated" | "business_rule_deactivated" | "business_rule_deleted" | "business_rule_released" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted" | "chargeback_initiated" | "chargeback_won" | "chargeback_lost" | "business_ruleset_created" | "business_ruleset_updated" | "business_ruleset_activated" | "business_ruleset_deactivated" | "business_ruleset_deleted" | "collections_reminder_sequence_created" | "collections_reminder_sequence_paused" | "collections_reminder_sequence_resumed" | "collections_reminder_sequence_completed" | "collections_payment_promise_created" | "collections_payment_promise_updated" | "collections_payment_promise_fulfilled" | "collections_payment_promise_cancelled" | "collections_payment_promise_broken" | "collections_dispute_created" | "collections_dispute_updated" | "collections_dispute_resolved" | "collections_dispute_withdrawn" | "email_message_received" | "private_note_added")[];
8938
+ enabled_events?: ("coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "einvoice_created" | "einvoice_updated" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "payment_schedules_cancelled" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "retry_segment_assigned" | "payment_refunded" | "refund_failed" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "organization_details_created" | "organization_details_updated" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "price_ramp_created" | "price_ramp_updated" | "price_ramp_deleted" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "business_rule_created" | "business_rule_updated" | "business_rule_activated" | "business_rule_deactivated" | "business_rule_deleted" | "business_rule_released" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted" | "chargeback_initiated" | "chargeback_won" | "chargeback_lost" | "business_ruleset_created" | "business_ruleset_updated" | "business_ruleset_activated" | "business_ruleset_deactivated" | "business_ruleset_deleted" | "collections_reminder_sequence_created" | "collections_reminder_sequence_paused" | "collections_reminder_sequence_resumed" | "collections_reminder_sequence_completed" | "collections_payment_promise_created" | "collections_payment_promise_updated" | "collections_payment_promise_fulfilled" | "collections_payment_promise_cancelled" | "collections_payment_promise_broken" | "collections_dispute_created" | "collections_dispute_updated" | "collections_dispute_resolved" | "collections_dispute_withdrawn" | "email_message_received" | "private_note_added")[];
8574
8939
  }
8575
8940
  export interface UpdateAnAddressParams {
8576
8941
  subscription_id?: string;
@@ -8883,6 +9248,23 @@ export interface UpdateInvoiceDetailsParams {
8883
9248
  descriptor?: string;
8884
9249
  };
8885
9250
  }
9251
+ export interface UpdateOrganizationDetailsParams {
9252
+ organization_name?: string;
9253
+ email?: string;
9254
+ address_line1?: string;
9255
+ address_line2?: string;
9256
+ address_line3?: string;
9257
+ city?: string;
9258
+ state_code?: string;
9259
+ state?: string;
9260
+ zip?: string;
9261
+ country_code?: string;
9262
+ phone?: string;
9263
+ fax?: string;
9264
+ website?: string;
9265
+ is_vat_number_present?: boolean;
9266
+ vat_number?: string;
9267
+ }
8886
9268
  export interface UpdateOverdraftLimitParams {
8887
9269
  subscription_id?: string;
8888
9270
  unit_id?: string;
@@ -8900,6 +9282,15 @@ export interface UpdatePaymentMethodForACustomerParams {
8900
9282
  additional_information?: Record<string, unknown>;
8901
9283
  };
8902
9284
  }
9285
+ export interface UpdatePreferencesParams {
9286
+ preferences?: {
9287
+ id?: (string)[];
9288
+ value?: (string)[];
9289
+ allow_override_in_interface?: (boolean)[];
9290
+ level?: (number)[];
9291
+ criteria?: (unknown[])[];
9292
+ };
9293
+ }
8903
9294
  export interface UpdateQuoteStatusParams {
8904
9295
  status?: "accepted" | "declined" | "proposed" | "voided" | "closed";
8905
9296
  comment?: string;
@@ -9054,6 +9445,7 @@ export interface UpdateSubscriptionForItemsParams {
9054
9445
  quantity?: (number)[];
9055
9446
  operation_type?: ("add" | "remove")[];
9056
9447
  id?: (string)[];
9448
+ description?: (string)[];
9057
9449
  };
9058
9450
  item_tiers?: {
9059
9451
  item_price_id?: (string)[];
@@ -9178,6 +9570,7 @@ export interface OperationParamsMap {
9178
9570
  "create_a_comment": CreateACommentParams;
9179
9571
  "create_a_coupon_for_items": CreateACouponForItemsParams;
9180
9572
  "create_a_coupon_set": CreateACouponSetParams;
9573
+ "create_a_credit_rate": CreateACreditRateParams;
9181
9574
  "create_a_credit_unit": CreateACreditUnitParams;
9182
9575
  "create_a_customer": CreateACustomerParams;
9183
9576
  "create_a_differential_price": CreateADifferentialPriceParams;
@@ -9256,6 +9649,8 @@ export interface OperationParamsMap {
9256
9649
  "export_customers": ExportCustomersParams;
9257
9650
  "export_deferred_revenue_reports": ExportDeferredRevenueReportsParams;
9258
9651
  "export_differential_price": ExportDifferentialPriceParams;
9652
+ "export_entitlements": ExportEntitlementsParams;
9653
+ "export_features": ExportFeaturesParams;
9259
9654
  "export_invoices": ExportInvoicesParams;
9260
9655
  "export_item_families": ExportItemFamiliesParams;
9261
9656
  "export_item_prices": ExportItemPricesParams;
@@ -9301,6 +9696,8 @@ export interface OperationParamsMap {
9301
9696
  "list_coupon_sets": ListCouponSetsParams;
9302
9697
  "list_coupons": ListCouponsParams;
9303
9698
  "list_credit_notes": ListCreditNotesParams;
9699
+ "list_credit_rate_versions": ListCreditRateVersionsParams;
9700
+ "list_credit_rates_for_a_subscription": ListCreditRatesForASubscriptionParams;
9304
9701
  "list_credit_units": ListCreditUnitsParams;
9305
9702
  "list_currencies": ListCurrenciesParams;
9306
9703
  "list_customer_entitlements": ListCustomerEntitlementsParams;
@@ -9314,10 +9711,13 @@ export interface OperationParamsMap {
9314
9711
  "list_events": ListEventsParams;
9315
9712
  "list_features": ListFeaturesParams;
9316
9713
  "list_gateway_payment_method_tokens_for_a_payment_source": ListGatewayPaymentMethodTokensForAPaymentSourceParams;
9714
+ "list_gateway_request_logs": ListGatewayRequestLogsParams;
9715
+ "list_gateway_webhook_logs": ListGatewayWebhookLogsParams;
9317
9716
  "list_gifts": ListGiftsParams;
9318
9717
  "list_grant_blocks": ListGrantBlocksParams;
9319
9718
  "list_hierarchy_details": ListHierarchyDetailsParams;
9320
9719
  "list_hosted_pages": ListHostedPagesParams;
9720
+ "list_invoice_retry_contexts": ListInvoiceRetryContextsParams;
9321
9721
  "list_invoices": ListInvoicesParams;
9322
9722
  "list_item_entitlements_for_a_feature": ListItemEntitlementsForAFeatureParams;
9323
9723
  "list_item_entitlements_for_an_item": ListItemEntitlementsForAnItemParams;
@@ -9331,12 +9731,15 @@ export interface OperationParamsMap {
9331
9731
  "list_omnichannel_subscriptions": ListOmnichannelSubscriptionsParams;
9332
9732
  "list_omnichannel_transactions_of_an_omnichannel_subscription": ListOmnichannelTransactionsOfAnOmnichannelSubscriptionParams;
9333
9733
  "list_orders": ListOrdersParams;
9734
+ "list_organization_details": ListOrganizationDetailsParams;
9334
9735
  "list_payment_reference_numbers": ListPaymentReferenceNumbersParams;
9335
9736
  "list_payment_schedule_schemes": ListPaymentScheduleSchemesParams;
9336
9737
  "list_payment_schedules": ListPaymentSchedulesParams;
9337
9738
  "list_payment_sources": ListPaymentSourcesParams;
9338
9739
  "list_payments_for_an_invoice": ListPaymentsForAnInvoiceParams;
9339
9740
  "list_personalized_offers": ListPersonalizedOffersParams;
9741
+ "list_preference_definitions": ListPreferenceDefinitionsParams;
9742
+ "list_preferences": ListPreferencesParams;
9340
9743
  "list_price_ramps": ListPriceRampsParams;
9341
9744
  "list_price_variants": ListPriceVariantsParams;
9342
9745
  "list_promotional_credits": ListPromotionalCreditsParams;
@@ -9344,6 +9747,7 @@ export interface OperationParamsMap {
9344
9747
  "list_quote_line_groups": ListQuoteLineGroupsParams;
9345
9748
  "list_quotes": ListQuotesParams;
9346
9749
  "list_ramps": ListRampsParams;
9750
+ "list_retry_segments": ListRetrySegmentsParams;
9347
9751
  "list_rules_in_a_business_ruleset": ListRulesInABusinessRulesetParams;
9348
9752
  "list_scheduled_changes_for_omnichannel_subscription_item": ListScheduledChangesForOmnichannelSubscriptionItemParams;
9349
9753
  "list_site_migration_details": ListSiteMigrationDetailsParams;
@@ -9383,6 +9787,7 @@ export interface OperationParamsMap {
9383
9787
  "regenerate_an_invoice": RegenerateAnInvoiceParams;
9384
9788
  "regenerate_invoice_estimate": RegenerateInvoiceEstimateParams;
9385
9789
  "release_authorization": ReleaseAuthorizationParams;
9790
+ "remove_a_credit_rate_override": RemoveACreditRateOverrideParams;
9386
9791
  "remove_an_advance_invoice_schedules": RemoveAnAdvanceInvoiceSchedulesParams;
9387
9792
  "remove_business_rules_from_a_ruleset": RemoveBusinessRulesFromARulesetParams;
9388
9793
  "remove_coupons": RemoveCouponsParams;
@@ -9398,8 +9803,8 @@ export interface OperationParamsMap {
9398
9803
  "resume_dunning_for_invoice": ResumeDunningForInvoiceParams;
9399
9804
  "resume_subscription_estimate": ResumeSubscriptionEstimateParams;
9400
9805
  "retrieve_a_credit_note": RetrieveACreditNoteParams;
9806
+ "retrieve_a_credit_rate_override": RetrieveACreditRateOverrideParams;
9401
9807
  "retrieve_a_differential_price": RetrieveADifferentialPriceParams;
9402
- "retrieve_a_retry_segment": RetrieveARetrySegmentParams;
9403
9808
  "retrieve_a_usage": RetrieveAUsageParams;
9404
9809
  "retrieve_an_address": RetrieveAnAddressParams;
9405
9810
  "retrieve_an_attached_item_": RetrieveAnAttachedItemParams;
@@ -9413,6 +9818,7 @@ export interface OperationParamsMap {
9413
9818
  "retrieve_usage_charges_for_a_subscription": RetrieveUsageChargesForASubscriptionParams;
9414
9819
  "retrieve_usage_summary_for_a_subscription": RetrieveUsageSummaryForASubscriptionParams;
9415
9820
  "retrieve_usages_for_an_invoice_as_pdf": RetrieveUsagesForAnInvoiceAsPdfParams;
9821
+ "set_a_credit_rate_override": SetACreditRateOverrideParams;
9416
9822
  "set_promotional_credits": SetPromotionalCreditsParams;
9417
9823
  "start_afresh": StartAfreshParams;
9418
9824
  "stop_dunning_for_invoice": StopDunningForInvoiceParams;
@@ -9430,6 +9836,7 @@ export interface OperationParamsMap {
9430
9836
  "update_a_collections_payment_promise": UpdateACollectionsPaymentPromiseParams;
9431
9837
  "update_a_coupon_for_items": UpdateACouponForItemsParams;
9432
9838
  "update_a_coupon_set": UpdateACouponSetParams;
9839
+ "update_a_credit_rate": UpdateACreditRateParams;
9433
9840
  "update_a_credit_unit": UpdateACreditUnitParams;
9434
9841
  "update_a_currency": UpdateACurrencyParams;
9435
9842
  "update_a_customer": UpdateACustomerParams;
@@ -9456,8 +9863,10 @@ export interface OperationParamsMap {
9456
9863
  "update_credit_note_details": UpdateCreditNoteDetailsParams;
9457
9864
  "update_hierarchy_access_settings_for_a_customer": UpdateHierarchyAccessSettingsForACustomerParams;
9458
9865
  "update_invoice_details": UpdateInvoiceDetailsParams;
9866
+ "update_organization_details": UpdateOrganizationDetailsParams;
9459
9867
  "update_overdraft_limit": UpdateOverdraftLimitParams;
9460
9868
  "update_payment_method_for_a_customer": UpdatePaymentMethodForACustomerParams;
9869
+ "update_preferences": UpdatePreferencesParams;
9461
9870
  "update_quote_status": UpdateQuoteStatusParams;
9462
9871
  "update_subscription_for_items": UpdateSubscriptionForItemsParams;
9463
9872
  "upsert_or_remove_entitlement_overrides_for_a_subscription": UpsertOrRemoveEntitlementOverridesForASubscriptionParams;