@chargebee/code-sample-generator 1.1.0 → 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.
- package/dist/{TryInApiExplorer-BVv51ABv.js → TryInApiExplorer-C5Ck0NSs.js} +2 -2
- package/dist/browser.js +3 -3
- package/dist/{generate-code-sample-BxJGH1rJ.js → generate-code-sample-BflVGqCu.js} +1 -1
- package/dist/{generate-from-sample-DPxmR-75.js → generate-from-sample-JTpAphXl.js} +9631 -6205
- package/dist/generated/ops/operation-ids.d.ts +2 -2
- package/dist/generated/ops/operation-params.d.ts +492 -60
- package/dist/generated/ops/v2-pcv1/list_gateway_request_logs.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/list_gateway_webhook_logs.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/list_invoice_retry_contexts.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/list_organization_details.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/list_retry_segments.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/retrieve_a_gateway_request_log.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/retrieve_a_gateway_webhook_log.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/retrieve_organization_details.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/update_organization_details.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/create_a_business_entity.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/create_a_credit_rate.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/export_entitlements.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/export_features.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_business_entities.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_credit_rate_versions.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_credit_rates_for_a_subscription.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_gateway_request_logs.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_gateway_webhook_logs.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_invoice_retry_contexts.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_organization_details.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_preference_definitions.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_preferences.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_retry_segments.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/remove_a_credit_rate_override.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/retrieve_a_business_entity.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/retrieve_a_credit_rate.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/retrieve_a_credit_rate_override.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/retrieve_a_gateway_request_log.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/retrieve_a_gateway_webhook_log.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/retrieve_organization_details.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/set_a_credit_rate_override.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/update_a_credit_rate.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/update_business_entity.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/update_organization_details.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/update_preferences.d.ts +3 -0
- package/dist/{highlight-code-WTmlHcwe.js → highlight-code-DcisCNXB.js} +1 -1
- package/dist/index.js +4 -4
- package/dist/node.js +3 -3
- 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?: {
|
|
@@ -555,6 +561,10 @@ export interface CreateABankAccountPaymentSourceParams {
|
|
|
555
561
|
billing_address?: Record<string, unknown>;
|
|
556
562
|
};
|
|
557
563
|
}
|
|
564
|
+
export interface CreateABusinessEntityParams {
|
|
565
|
+
name?: string;
|
|
566
|
+
status?: "active" | "inactive";
|
|
567
|
+
}
|
|
558
568
|
export interface CreateABusinessRuleParams {
|
|
559
569
|
id?: string;
|
|
560
570
|
name?: string;
|
|
@@ -571,7 +581,6 @@ export interface CreateABusinessRulesetParams {
|
|
|
571
581
|
}
|
|
572
582
|
export interface CreateACardPaymentSourceParams {
|
|
573
583
|
customer_id?: string;
|
|
574
|
-
brand_id?: string;
|
|
575
584
|
replace_primary_payment_source?: boolean;
|
|
576
585
|
card?: {
|
|
577
586
|
gateway_account_id?: string;
|
|
@@ -602,7 +611,7 @@ export interface CreateACollectionsPaymentPromiseParams {
|
|
|
602
611
|
promised_by?: string;
|
|
603
612
|
}
|
|
604
613
|
export interface CreateACommentParams {
|
|
605
|
-
entity_type?: "customer" | "subscription" | "invoice" | "quote" | "credit_note" | "transaction" | "plan" | "addon" | "coupon" | "order" | "business_entity" | "item_family" | "item" | "item_price" | "price_variant";
|
|
614
|
+
entity_type?: "customer" | "subscription" | "invoice" | "quote" | "credit_note" | "transaction" | "plan" | "addon" | "coupon" | "order" | "business_entity" | "item_family" | "item" | "item_price" | "price_variant" | "task";
|
|
606
615
|
entity_id?: string;
|
|
607
616
|
notes?: string;
|
|
608
617
|
added_by?: string;
|
|
@@ -651,6 +660,13 @@ export interface CreateACouponSetParams {
|
|
|
651
660
|
id?: string;
|
|
652
661
|
meta_data?: Record<string, unknown>;
|
|
653
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
|
+
}
|
|
654
670
|
export interface CreateACreditUnitParams {
|
|
655
671
|
id?: string;
|
|
656
672
|
name?: string;
|
|
@@ -1381,6 +1397,7 @@ export interface CreateARampParams {
|
|
|
1381
1397
|
charge_once?: (boolean)[];
|
|
1382
1398
|
charge_on_option?: ("immediately" | "on_event")[];
|
|
1383
1399
|
description?: (string)[];
|
|
1400
|
+
proration_type?: ("full_term" | "partial_term" | "none")[];
|
|
1384
1401
|
};
|
|
1385
1402
|
items_to_update?: {
|
|
1386
1403
|
item_price_id?: (string)[];
|
|
@@ -1394,6 +1411,7 @@ export interface CreateARampParams {
|
|
|
1394
1411
|
charge_once?: (boolean)[];
|
|
1395
1412
|
charge_on_option?: ("immediately" | "on_event")[];
|
|
1396
1413
|
description?: (string)[];
|
|
1414
|
+
proration_type?: ("full_term" | "partial_term" | "none")[];
|
|
1397
1415
|
};
|
|
1398
1416
|
item_tiers?: {
|
|
1399
1417
|
item_price_id?: (string)[];
|
|
@@ -1467,7 +1485,6 @@ export interface CreateAVoucherForTheCustomerToInitiatePaymentParams {
|
|
|
1467
1485
|
}
|
|
1468
1486
|
export interface CreateAVoucherPaymentMethodParams {
|
|
1469
1487
|
customer_id?: string;
|
|
1470
|
-
brand_id?: string;
|
|
1471
1488
|
voucher_payment_source?: {
|
|
1472
1489
|
voucher_type?: "boleto";
|
|
1473
1490
|
gateway_account_id?: string;
|
|
@@ -1485,7 +1502,7 @@ export interface CreateAWebhookEndpointParams {
|
|
|
1485
1502
|
basic_auth_username?: string;
|
|
1486
1503
|
send_card_resource?: boolean;
|
|
1487
1504
|
chargebee_response_schema_type?: "plans_addons" | "items" | "compat";
|
|
1488
|
-
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" | "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" | "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")[];
|
|
1489
1506
|
}
|
|
1490
1507
|
export interface CreateAnAlertParams {
|
|
1491
1508
|
type?: "usage_exceeded" | "spend_exceeded" | "credit_balance_dropped";
|
|
@@ -1661,6 +1678,7 @@ export interface CreateCheckoutForANewSubscriptionParams {
|
|
|
1661
1678
|
redirect_url?: string;
|
|
1662
1679
|
cancel_url?: string;
|
|
1663
1680
|
pass_thru_content?: string;
|
|
1681
|
+
show_billing_frequency_selector?: boolean;
|
|
1664
1682
|
allow_offline_payment_methods?: boolean;
|
|
1665
1683
|
subscription?: {
|
|
1666
1684
|
id?: string;
|
|
@@ -1770,6 +1788,10 @@ export interface CreateCheckoutForANewSubscriptionParams {
|
|
|
1770
1788
|
operation?: ("create" | "update" | "delete")[];
|
|
1771
1789
|
standard?: (string)[];
|
|
1772
1790
|
};
|
|
1791
|
+
allowed_billing_frequencies?: {
|
|
1792
|
+
period?: (number)[];
|
|
1793
|
+
period_unit?: ("day" | "week" | "month" | "year")[];
|
|
1794
|
+
};
|
|
1773
1795
|
}
|
|
1774
1796
|
export interface CreateCheckoutToUpdateASubscriptionParams {
|
|
1775
1797
|
layout?: "in_app" | "full_page";
|
|
@@ -1791,6 +1813,7 @@ export interface CreateCheckoutToUpdateASubscriptionParams {
|
|
|
1791
1813
|
redirect_url?: string;
|
|
1792
1814
|
cancel_url?: string;
|
|
1793
1815
|
pass_thru_content?: string;
|
|
1816
|
+
show_billing_frequency_selector?: boolean;
|
|
1794
1817
|
allow_offline_payment_methods?: boolean;
|
|
1795
1818
|
subscription?: {
|
|
1796
1819
|
id?: string;
|
|
@@ -1859,6 +1882,10 @@ export interface CreateCheckoutToUpdateASubscriptionParams {
|
|
|
1859
1882
|
operation?: ("create" | "update" | "delete")[];
|
|
1860
1883
|
standard?: (string)[];
|
|
1861
1884
|
};
|
|
1885
|
+
allowed_billing_frequencies?: {
|
|
1886
|
+
period?: (number)[];
|
|
1887
|
+
period_unit?: ("day" | "week" | "month" | "year")[];
|
|
1888
|
+
};
|
|
1862
1889
|
}
|
|
1863
1890
|
export interface CreateCreditNoteParams {
|
|
1864
1891
|
reference_invoice_id?: string;
|
|
@@ -1897,6 +1924,7 @@ export interface CreateInvoiceForItemsAndOneTimeChargesParams {
|
|
|
1897
1924
|
payment_source_id?: string;
|
|
1898
1925
|
auto_collection?: "on" | "off";
|
|
1899
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";
|
|
1900
1928
|
invoice_date?: number;
|
|
1901
1929
|
create_pending_invoice?: boolean;
|
|
1902
1930
|
token_id?: string;
|
|
@@ -2158,7 +2186,6 @@ export interface CreatePricingPageForExistingSubscriptionParams {
|
|
|
2158
2186
|
export interface CreatePricingPageForNewSubscriptionParams {
|
|
2159
2187
|
redirect_url?: string;
|
|
2160
2188
|
business_entity_id?: string;
|
|
2161
|
-
brand_id?: string;
|
|
2162
2189
|
auto_select_local_currency?: boolean;
|
|
2163
2190
|
custom?: Record<string, unknown>;
|
|
2164
2191
|
pricing_page?: {
|
|
@@ -2324,6 +2351,7 @@ export interface CreateSubscriptionForItemsParams {
|
|
|
2324
2351
|
included_in_mrr?: (boolean)[];
|
|
2325
2352
|
item_price_id?: (string)[];
|
|
2326
2353
|
quantity?: (number)[];
|
|
2354
|
+
description?: (string)[];
|
|
2327
2355
|
};
|
|
2328
2356
|
item_tiers?: {
|
|
2329
2357
|
item_price_id?: (string)[];
|
|
@@ -2348,6 +2376,8 @@ export interface CreateUnbilledChargesForItemSubscriptionParams {
|
|
|
2348
2376
|
unit_price_in_decimal?: (string)[];
|
|
2349
2377
|
date_from?: (number)[];
|
|
2350
2378
|
date_to?: (number)[];
|
|
2379
|
+
description?: (string)[];
|
|
2380
|
+
entity_description?: (string)[];
|
|
2351
2381
|
};
|
|
2352
2382
|
item_tiers?: {
|
|
2353
2383
|
item_price_id?: (string)[];
|
|
@@ -2361,6 +2391,7 @@ export interface CreateUnbilledChargesForItemSubscriptionParams {
|
|
|
2361
2391
|
package_size?: (number)[];
|
|
2362
2392
|
};
|
|
2363
2393
|
charges?: {
|
|
2394
|
+
entity_description?: (string)[];
|
|
2364
2395
|
amount?: (number)[];
|
|
2365
2396
|
amount_in_decimal?: (string)[];
|
|
2366
2397
|
description?: (string)[];
|
|
@@ -2383,7 +2414,6 @@ export interface CreateUnbilledChargesForItemSubscriptionParams {
|
|
|
2383
2414
|
}
|
|
2384
2415
|
export interface CreateUsingChargebeeTokenParams {
|
|
2385
2416
|
customer_id?: string;
|
|
2386
|
-
brand_id?: string;
|
|
2387
2417
|
replace_primary_payment_source?: boolean;
|
|
2388
2418
|
token_id?: string;
|
|
2389
2419
|
}
|
|
@@ -2393,13 +2423,11 @@ export interface CreateUsingGatewayTemporaryTokenParams {
|
|
|
2393
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";
|
|
2394
2424
|
tmp_token?: string;
|
|
2395
2425
|
issuing_country?: string;
|
|
2396
|
-
brand_id?: string;
|
|
2397
2426
|
replace_primary_payment_source?: boolean;
|
|
2398
2427
|
additional_information?: Record<string, unknown>;
|
|
2399
2428
|
}
|
|
2400
2429
|
export interface CreateUsingPaymentIntentParams {
|
|
2401
2430
|
customer_id?: string;
|
|
2402
|
-
brand_id?: string;
|
|
2403
2431
|
replace_primary_payment_source?: boolean;
|
|
2404
2432
|
payment_intent?: {
|
|
2405
2433
|
id?: string;
|
|
@@ -2413,7 +2441,6 @@ export interface CreateUsingPaymentIntentParams {
|
|
|
2413
2441
|
}
|
|
2414
2442
|
export interface CreateUsingPermanentTokenParams {
|
|
2415
2443
|
customer_id?: string;
|
|
2416
|
-
brand_id?: string;
|
|
2417
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";
|
|
2418
2445
|
gateway_account_id?: string;
|
|
2419
2446
|
reference_id?: string;
|
|
@@ -2918,6 +2945,7 @@ export interface EstimateForCreatingACustomerAndSubscriptionParams {
|
|
|
2918
2945
|
included_in_mrr?: (boolean)[];
|
|
2919
2946
|
item_price_id?: (string)[];
|
|
2920
2947
|
quantity?: (number)[];
|
|
2948
|
+
description?: (string)[];
|
|
2921
2949
|
};
|
|
2922
2950
|
item_tiers?: {
|
|
2923
2951
|
item_price_id?: (string)[];
|
|
@@ -3007,6 +3035,7 @@ export interface EstimateForCreatingASubscriptionParams {
|
|
|
3007
3035
|
included_in_mrr?: (boolean)[];
|
|
3008
3036
|
item_price_id?: (string)[];
|
|
3009
3037
|
quantity?: (number)[];
|
|
3038
|
+
description?: (string)[];
|
|
3010
3039
|
};
|
|
3011
3040
|
item_tiers?: {
|
|
3012
3041
|
item_price_id?: (string)[];
|
|
@@ -3106,6 +3135,7 @@ export interface EstimateForUpdatingASubscriptionParams {
|
|
|
3106
3135
|
quantity?: (number)[];
|
|
3107
3136
|
operation_type?: ("add" | "remove")[];
|
|
3108
3137
|
id?: (string)[];
|
|
3138
|
+
description?: (string)[];
|
|
3109
3139
|
};
|
|
3110
3140
|
item_tiers?: {
|
|
3111
3141
|
item_price_id?: (string)[];
|
|
@@ -3263,8 +3293,8 @@ export interface ExportCouponsParams {
|
|
|
3263
3293
|
not_in?: string;
|
|
3264
3294
|
};
|
|
3265
3295
|
applicable_item_price_ids?: {
|
|
3266
|
-
is?: string;
|
|
3267
3296
|
in?: string;
|
|
3297
|
+
is?: string;
|
|
3268
3298
|
};
|
|
3269
3299
|
coupon?: {
|
|
3270
3300
|
id?: {
|
|
@@ -3904,6 +3934,55 @@ export interface ExportDifferentialPriceParams {
|
|
|
3904
3934
|
};
|
|
3905
3935
|
};
|
|
3906
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
|
+
}
|
|
3907
3986
|
export interface ExportInvoicesParams {
|
|
3908
3987
|
payment_owner?: {
|
|
3909
3988
|
is?: string;
|
|
@@ -4030,8 +4109,8 @@ export interface ExportInvoicesParams {
|
|
|
4030
4109
|
}
|
|
4031
4110
|
export interface ExportItemFamiliesParams {
|
|
4032
4111
|
business_entity_id?: {
|
|
4033
|
-
is?: string;
|
|
4034
4112
|
is_present?: "true" | "false";
|
|
4113
|
+
is?: string;
|
|
4035
4114
|
};
|
|
4036
4115
|
include_site_level_resources?: {
|
|
4037
4116
|
is?: "true" | "false";
|
|
@@ -4079,8 +4158,8 @@ export interface ExportItemPricesParams {
|
|
|
4079
4158
|
not_in?: string;
|
|
4080
4159
|
};
|
|
4081
4160
|
business_entity_id?: {
|
|
4082
|
-
is?: string;
|
|
4083
4161
|
is_present?: "true" | "false";
|
|
4162
|
+
is?: string;
|
|
4084
4163
|
};
|
|
4085
4164
|
include_site_level_resources?: {
|
|
4086
4165
|
is?: "true" | "false";
|
|
@@ -4172,8 +4251,8 @@ export interface ExportItemPricesParams {
|
|
|
4172
4251
|
}
|
|
4173
4252
|
export interface ExportItemsParams {
|
|
4174
4253
|
business_entity_id?: {
|
|
4175
|
-
is?: string;
|
|
4176
4254
|
is_present?: "true" | "false";
|
|
4255
|
+
is?: string;
|
|
4177
4256
|
};
|
|
4178
4257
|
include_site_level_resources?: {
|
|
4179
4258
|
is?: "true" | "false";
|
|
@@ -4377,8 +4456,8 @@ export interface ExportPaymentSourceParams {
|
|
|
4377
4456
|
}
|
|
4378
4457
|
export interface ExportPriceVariantsParams {
|
|
4379
4458
|
business_entity_id?: {
|
|
4380
|
-
is?: string;
|
|
4381
4459
|
is_present?: "true" | "false";
|
|
4460
|
+
is?: string;
|
|
4382
4461
|
};
|
|
4383
4462
|
include_site_level_resources?: {
|
|
4384
4463
|
is?: "true" | "false";
|
|
@@ -4747,12 +4826,12 @@ export interface ExportSubscriptionRampsParams {
|
|
|
4747
4826
|
export_type?: "data" | "import_friendly_data";
|
|
4748
4827
|
ramp?: {
|
|
4749
4828
|
status?: {
|
|
4750
|
-
is?: "scheduled" | "succeeded" | "failed" | "draft";
|
|
4751
4829
|
in?: "scheduled" | "succeeded" | "failed" | "draft";
|
|
4830
|
+
is?: "scheduled" | "succeeded" | "failed" | "draft";
|
|
4752
4831
|
};
|
|
4753
4832
|
subscription_id?: {
|
|
4754
|
-
is?: string;
|
|
4755
4833
|
in?: string;
|
|
4834
|
+
is?: string;
|
|
4756
4835
|
};
|
|
4757
4836
|
effective_from?: {
|
|
4758
4837
|
after?: string;
|
|
@@ -5238,7 +5317,7 @@ export interface ImportCreditNoteParams {
|
|
|
5238
5317
|
linked_refunds?: {
|
|
5239
5318
|
id?: (string)[];
|
|
5240
5319
|
amount?: (number)[];
|
|
5241
|
-
payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom"
|
|
5320
|
+
payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom")[];
|
|
5242
5321
|
date?: (number)[];
|
|
5243
5322
|
reference_number?: (string)[];
|
|
5244
5323
|
};
|
|
@@ -5342,6 +5421,7 @@ export interface ImportInvoiceParams {
|
|
|
5342
5421
|
tax10_amount?: (number)[];
|
|
5343
5422
|
is_partial_tax_applied?: (boolean)[];
|
|
5344
5423
|
taxable_amount?: (number)[];
|
|
5424
|
+
tax_exempt_reason?: ("region_non_taxable" | "export" | "customer_exempt" | "product_exempt" | "zero_rated" | "reverse_charge" | "high_value_physical_goods" | "zero_value_item" | "tax_not_configured_external_provider")[];
|
|
5345
5425
|
proration_mode?: ("reset" | "delta" | "service_period_revision" | "adjusted_term")[];
|
|
5346
5426
|
created_at?: (number)[];
|
|
5347
5427
|
};
|
|
@@ -5380,7 +5460,7 @@ export interface ImportInvoiceParams {
|
|
|
5380
5460
|
payments?: {
|
|
5381
5461
|
id?: (string)[];
|
|
5382
5462
|
amount?: (number)[];
|
|
5383
|
-
payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom"
|
|
5463
|
+
payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom")[];
|
|
5384
5464
|
date?: (number)[];
|
|
5385
5465
|
reference_number?: (string)[];
|
|
5386
5466
|
};
|
|
@@ -5456,7 +5536,7 @@ export interface ImportSubscriptionForItemsParams {
|
|
|
5456
5536
|
};
|
|
5457
5537
|
transaction?: {
|
|
5458
5538
|
amount?: number;
|
|
5459
|
-
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom"
|
|
5539
|
+
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom";
|
|
5460
5540
|
reference_number?: string;
|
|
5461
5541
|
date?: number;
|
|
5462
5542
|
};
|
|
@@ -5499,6 +5579,7 @@ export interface ImportSubscriptionForItemsParams {
|
|
|
5499
5579
|
included_in_mrr?: (boolean)[];
|
|
5500
5580
|
item_price_id?: (string)[];
|
|
5501
5581
|
quantity?: (number)[];
|
|
5582
|
+
description?: (string)[];
|
|
5502
5583
|
};
|
|
5503
5584
|
charged_items?: {
|
|
5504
5585
|
item_price_id?: (string)[];
|
|
@@ -5634,8 +5715,8 @@ export interface ListAllAvailableMetersParams {
|
|
|
5634
5715
|
limit?: number;
|
|
5635
5716
|
offset?: string;
|
|
5636
5717
|
name?: {
|
|
5637
|
-
is?: string;
|
|
5638
5718
|
starts_with?: string;
|
|
5719
|
+
is?: string;
|
|
5639
5720
|
};
|
|
5640
5721
|
sort_by?: {
|
|
5641
5722
|
asc?: "id" | "name" | "created_at" | "updated_at";
|
|
@@ -5646,16 +5727,16 @@ export interface ListAllEntitlementsParams {
|
|
|
5646
5727
|
limit?: number;
|
|
5647
5728
|
offset?: string;
|
|
5648
5729
|
feature_id?: {
|
|
5649
|
-
is?: string;
|
|
5650
5730
|
in?: string;
|
|
5731
|
+
is?: string;
|
|
5651
5732
|
};
|
|
5652
5733
|
entity_type?: {
|
|
5653
|
-
is?: "plan" | "addon" | "charge" | "plan_price" | "addon_price";
|
|
5654
5734
|
in?: "plan" | "addon" | "charge" | "plan_price" | "addon_price";
|
|
5735
|
+
is?: "plan" | "addon" | "charge" | "plan_price" | "addon_price";
|
|
5655
5736
|
};
|
|
5656
5737
|
entity_id?: {
|
|
5657
|
-
is?: string;
|
|
5658
5738
|
in?: string;
|
|
5739
|
+
is?: string;
|
|
5659
5740
|
};
|
|
5660
5741
|
}
|
|
5661
5742
|
export interface ListApplicableAlertsForASubscriptionParams {
|
|
@@ -5727,6 +5808,17 @@ export interface ListAttachedItemsParams {
|
|
|
5727
5808
|
between?: string;
|
|
5728
5809
|
};
|
|
5729
5810
|
}
|
|
5811
|
+
export interface ListBusinessEntitiesParams {
|
|
5812
|
+
limit?: number;
|
|
5813
|
+
offset?: string;
|
|
5814
|
+
include_deleted?: boolean;
|
|
5815
|
+
name?: {
|
|
5816
|
+
is?: string;
|
|
5817
|
+
is_not?: string;
|
|
5818
|
+
starts_with?: string;
|
|
5819
|
+
is_present?: "true" | "false";
|
|
5820
|
+
};
|
|
5821
|
+
}
|
|
5730
5822
|
export interface ListBusinessRulesParams {
|
|
5731
5823
|
limit?: number;
|
|
5732
5824
|
offset?: string;
|
|
@@ -5760,7 +5852,7 @@ export interface ListCollectionsPaymentPromisesParams {
|
|
|
5760
5852
|
export interface ListCommentsParams {
|
|
5761
5853
|
limit?: number;
|
|
5762
5854
|
offset?: string;
|
|
5763
|
-
entity_type?: "customer" | "subscription" | "invoice" | "quote" | "credit_note" | "transaction" | "plan" | "addon" | "coupon" | "order" | "business_entity" | "item_family" | "item" | "item_price" | "price_variant";
|
|
5855
|
+
entity_type?: "customer" | "subscription" | "invoice" | "quote" | "credit_note" | "transaction" | "plan" | "addon" | "coupon" | "order" | "business_entity" | "item_family" | "item" | "item_price" | "price_variant" | "task";
|
|
5764
5856
|
entity_id?: string;
|
|
5765
5857
|
created_at?: {
|
|
5766
5858
|
after?: string;
|
|
@@ -5927,8 +6019,8 @@ export interface ListCouponsParams {
|
|
|
5927
6019
|
not_in?: string;
|
|
5928
6020
|
};
|
|
5929
6021
|
applicable_item_price_ids?: {
|
|
5930
|
-
is?: string;
|
|
5931
6022
|
in?: string;
|
|
6023
|
+
is?: string;
|
|
5932
6024
|
};
|
|
5933
6025
|
}
|
|
5934
6026
|
export interface ListCreditNotesParams {
|
|
@@ -6069,16 +6161,41 @@ export interface ListCreditNotesParams {
|
|
|
6069
6161
|
};
|
|
6070
6162
|
};
|
|
6071
6163
|
}
|
|
6072
|
-
export interface
|
|
6164
|
+
export interface ListCreditRateVersionsParams {
|
|
6165
|
+
limit?: number;
|
|
6166
|
+
offset?: string;
|
|
6167
|
+
}
|
|
6168
|
+
export interface ListCreditRatesForASubscriptionParams {
|
|
6073
6169
|
limit?: number;
|
|
6074
6170
|
offset?: string;
|
|
6171
|
+
metered_feature_id?: {
|
|
6172
|
+
in?: string;
|
|
6173
|
+
is?: string;
|
|
6174
|
+
};
|
|
6175
|
+
credit_unit_id?: {
|
|
6176
|
+
is?: string;
|
|
6177
|
+
};
|
|
6075
6178
|
status?: {
|
|
6076
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
|
+
}
|
|
6189
|
+
export interface ListCreditUnitsParams {
|
|
6190
|
+
limit?: number;
|
|
6191
|
+
offset?: string;
|
|
6192
|
+
status?: {
|
|
6077
6193
|
in?: "active" | "archived";
|
|
6194
|
+
is?: "active" | "archived";
|
|
6078
6195
|
};
|
|
6079
6196
|
id?: {
|
|
6080
|
-
is?: string;
|
|
6081
6197
|
in?: string;
|
|
6198
|
+
is?: string;
|
|
6082
6199
|
};
|
|
6083
6200
|
}
|
|
6084
6201
|
export interface ListCurrenciesParams {
|
|
@@ -6287,12 +6404,12 @@ export interface ListEInvoicesParams {
|
|
|
6287
6404
|
limit?: number;
|
|
6288
6405
|
offset?: string;
|
|
6289
6406
|
id?: {
|
|
6290
|
-
is?: string;
|
|
6291
6407
|
in?: string;
|
|
6408
|
+
is?: string;
|
|
6292
6409
|
};
|
|
6293
6410
|
reference_id?: {
|
|
6294
|
-
is?: string;
|
|
6295
6411
|
in?: string;
|
|
6412
|
+
is?: string;
|
|
6296
6413
|
};
|
|
6297
6414
|
updated_at?: {
|
|
6298
6415
|
after?: string;
|
|
@@ -6344,16 +6461,16 @@ export interface ListEventsParams {
|
|
|
6344
6461
|
not_in?: "not_configured" | "scheduled" | "succeeded" | "re_scheduled" | "failed" | "skipped" | "not_applicable" | "disabled" | "rate_limited";
|
|
6345
6462
|
};
|
|
6346
6463
|
event_type?: {
|
|
6347
|
-
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" | "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" | "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";
|
|
6348
|
-
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" | "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" | "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";
|
|
6349
|
-
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" | "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" | "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";
|
|
6350
|
-
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" | "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" | "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";
|
|
6351
6468
|
};
|
|
6352
6469
|
source?: {
|
|
6353
|
-
is?: "admin_console" | "api" | "scheduled_job" | "hosted_page" | "portal" | "system" | "none" | "js_api" | "migration" | "bulk_operation" | "external_service";
|
|
6354
|
-
is_not?: "admin_console" | "api" | "scheduled_job" | "hosted_page" | "portal" | "system" | "none" | "js_api" | "migration" | "bulk_operation" | "external_service";
|
|
6355
|
-
in?: "admin_console" | "api" | "scheduled_job" | "hosted_page" | "portal" | "system" | "none" | "js_api" | "migration" | "bulk_operation" | "external_service";
|
|
6356
|
-
not_in?: "admin_console" | "api" | "scheduled_job" | "hosted_page" | "portal" | "system" | "none" | "js_api" | "migration" | "bulk_operation" | "external_service";
|
|
6470
|
+
is?: "admin_console" | "api" | "scheduled_job" | "hosted_page" | "portal" | "system" | "none" | "js_api" | "migration" | "bulk_operation" | "external_service" | "mcp" | "copilot" | "agent";
|
|
6471
|
+
is_not?: "admin_console" | "api" | "scheduled_job" | "hosted_page" | "portal" | "system" | "none" | "js_api" | "migration" | "bulk_operation" | "external_service" | "mcp" | "copilot" | "agent";
|
|
6472
|
+
in?: "admin_console" | "api" | "scheduled_job" | "hosted_page" | "portal" | "system" | "none" | "js_api" | "migration" | "bulk_operation" | "external_service" | "mcp" | "copilot" | "agent";
|
|
6473
|
+
not_in?: "admin_console" | "api" | "scheduled_job" | "hosted_page" | "portal" | "system" | "none" | "js_api" | "migration" | "bulk_operation" | "external_service" | "mcp" | "copilot" | "agent";
|
|
6357
6474
|
};
|
|
6358
6475
|
occurred_at?: {
|
|
6359
6476
|
after?: string;
|
|
@@ -6404,6 +6521,208 @@ export interface ListGatewayPaymentMethodTokensForAPaymentSourceParams {
|
|
|
6404
6521
|
offset?: string;
|
|
6405
6522
|
include_deleted?: boolean;
|
|
6406
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
|
+
}
|
|
6407
6726
|
export interface ListGiftsParams {
|
|
6408
6727
|
limit?: number;
|
|
6409
6728
|
offset?: string;
|
|
@@ -6502,6 +6821,24 @@ export interface ListHostedPagesParams {
|
|
|
6502
6821
|
between?: string;
|
|
6503
6822
|
};
|
|
6504
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
|
+
}
|
|
6505
6842
|
export interface ListInvoicesParams {
|
|
6506
6843
|
limit?: number;
|
|
6507
6844
|
offset?: string;
|
|
@@ -6682,8 +7019,8 @@ export interface ListItemFamiliesParams {
|
|
|
6682
7019
|
between?: string;
|
|
6683
7020
|
};
|
|
6684
7021
|
business_entity_id?: {
|
|
6685
|
-
is?: string;
|
|
6686
7022
|
is_present?: "true" | "false";
|
|
7023
|
+
is?: string;
|
|
6687
7024
|
};
|
|
6688
7025
|
include_site_level_resources?: {
|
|
6689
7026
|
is?: "true" | "false";
|
|
@@ -6774,8 +7111,8 @@ export interface ListItemPricesParams {
|
|
|
6774
7111
|
between?: string;
|
|
6775
7112
|
};
|
|
6776
7113
|
business_entity_id?: {
|
|
6777
|
-
is?: string;
|
|
6778
7114
|
is_present?: "true" | "false";
|
|
7115
|
+
is?: string;
|
|
6779
7116
|
};
|
|
6780
7117
|
include_site_level_resources?: {
|
|
6781
7118
|
is?: "true" | "false";
|
|
@@ -6877,8 +7214,8 @@ export interface ListItemsParams {
|
|
|
6877
7214
|
not_in?: "web" | "app_store" | "play_store";
|
|
6878
7215
|
};
|
|
6879
7216
|
business_entity_id?: {
|
|
6880
|
-
is?: string;
|
|
6881
7217
|
is_present?: "true" | "false";
|
|
7218
|
+
is?: string;
|
|
6882
7219
|
};
|
|
6883
7220
|
include_site_level_resources?: {
|
|
6884
7221
|
is?: "true" | "false";
|
|
@@ -6922,8 +7259,8 @@ export interface ListLedgerOperationsParams {
|
|
|
6922
7259
|
between?: string;
|
|
6923
7260
|
};
|
|
6924
7261
|
type?: {
|
|
6925
|
-
is?: "allocation" | "capture" | "authorize" | "release_authorization" | "capture_authorization" | "expiry" | "void" | "rollover" | "adjustment" | "overdraft_settlement";
|
|
6926
7262
|
in?: "allocation" | "capture" | "authorize" | "release_authorization" | "capture_authorization" | "expiry" | "void" | "rollover" | "adjustment" | "overdraft_settlement";
|
|
7263
|
+
is?: "allocation" | "capture" | "authorize" | "release_authorization" | "capture_authorization" | "expiry" | "void" | "rollover" | "adjustment" | "overdraft_settlement";
|
|
6927
7264
|
};
|
|
6928
7265
|
sort_by?: {
|
|
6929
7266
|
asc?: "created_at";
|
|
@@ -6982,14 +7319,14 @@ export interface ListOmnichannelSubscriptionsParams {
|
|
|
6982
7319
|
updated_at?: {
|
|
6983
7320
|
before?: string;
|
|
6984
7321
|
on?: string;
|
|
6985
|
-
between?: string;
|
|
6986
7322
|
after?: string;
|
|
7323
|
+
between?: string;
|
|
6987
7324
|
};
|
|
6988
7325
|
purchased_at?: {
|
|
6989
7326
|
before?: string;
|
|
6990
7327
|
on?: string;
|
|
6991
|
-
between?: string;
|
|
6992
7328
|
after?: string;
|
|
7329
|
+
between?: string;
|
|
6993
7330
|
};
|
|
6994
7331
|
sort_by?: {
|
|
6995
7332
|
asc?: "created_at" | "updated_at";
|
|
@@ -7104,17 +7441,24 @@ export interface ListOrdersParams {
|
|
|
7104
7441
|
desc?: "created_at" | "updated_at";
|
|
7105
7442
|
};
|
|
7106
7443
|
}
|
|
7444
|
+
export interface ListOrganizationDetailsParams {
|
|
7445
|
+
limit?: number;
|
|
7446
|
+
offset?: string;
|
|
7447
|
+
business_entity_id?: {
|
|
7448
|
+
is?: string;
|
|
7449
|
+
};
|
|
7450
|
+
}
|
|
7107
7451
|
export interface ListPaymentReferenceNumbersParams {
|
|
7108
7452
|
limit?: number;
|
|
7109
7453
|
offset?: string;
|
|
7110
7454
|
id?: {
|
|
7111
|
-
is?: string;
|
|
7112
7455
|
in?: string;
|
|
7456
|
+
is?: string;
|
|
7113
7457
|
};
|
|
7114
7458
|
payment_reference_number?: {
|
|
7115
7459
|
number?: {
|
|
7116
|
-
is?: string;
|
|
7117
7460
|
in?: string;
|
|
7461
|
+
is?: string;
|
|
7118
7462
|
};
|
|
7119
7463
|
};
|
|
7120
7464
|
}
|
|
@@ -7221,6 +7565,18 @@ export interface ListPersonalizedOffersParams {
|
|
|
7221
7565
|
referrer_url?: string;
|
|
7222
7566
|
};
|
|
7223
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
|
+
}
|
|
7224
7580
|
export interface ListPriceRampsParams {
|
|
7225
7581
|
limit?: number;
|
|
7226
7582
|
offset?: string;
|
|
@@ -7251,8 +7607,8 @@ export interface ListPriceRampsParams {
|
|
|
7251
7607
|
between?: string;
|
|
7252
7608
|
};
|
|
7253
7609
|
business_entity_id?: {
|
|
7254
|
-
is?: string;
|
|
7255
7610
|
is_present?: "true" | "false";
|
|
7611
|
+
is?: string;
|
|
7256
7612
|
};
|
|
7257
7613
|
include_site_level_resources?: {
|
|
7258
7614
|
is?: "true" | "false";
|
|
@@ -7298,8 +7654,8 @@ export interface ListPriceVariantsParams {
|
|
|
7298
7654
|
between?: string;
|
|
7299
7655
|
};
|
|
7300
7656
|
business_entity_id?: {
|
|
7301
|
-
is?: string;
|
|
7302
7657
|
is_present?: "true" | "false";
|
|
7658
|
+
is?: string;
|
|
7303
7659
|
};
|
|
7304
7660
|
include_site_level_resources?: {
|
|
7305
7661
|
is?: "true" | "false";
|
|
@@ -7406,12 +7762,12 @@ export interface ListRampsParams {
|
|
|
7406
7762
|
offset?: string;
|
|
7407
7763
|
include_deleted?: boolean;
|
|
7408
7764
|
status?: {
|
|
7409
|
-
is?: "scheduled" | "succeeded" | "failed" | "draft";
|
|
7410
7765
|
in?: "scheduled" | "succeeded" | "failed" | "draft";
|
|
7766
|
+
is?: "scheduled" | "succeeded" | "failed" | "draft";
|
|
7411
7767
|
};
|
|
7412
7768
|
subscription_id?: {
|
|
7413
|
-
is?: string;
|
|
7414
7769
|
in?: string;
|
|
7770
|
+
is?: string;
|
|
7415
7771
|
};
|
|
7416
7772
|
effective_from?: {
|
|
7417
7773
|
after?: string;
|
|
@@ -7430,6 +7786,10 @@ export interface ListRampsParams {
|
|
|
7430
7786
|
desc?: "effective_from" | "updated_at";
|
|
7431
7787
|
};
|
|
7432
7788
|
}
|
|
7789
|
+
export interface ListRetrySegmentsParams {
|
|
7790
|
+
limit?: number;
|
|
7791
|
+
offset?: string;
|
|
7792
|
+
}
|
|
7433
7793
|
export interface ListRulesInABusinessRulesetParams {
|
|
7434
7794
|
limit?: number;
|
|
7435
7795
|
offset?: string;
|
|
@@ -7994,7 +8354,7 @@ export interface RecordAnExcessPaymentForACustomerParams {
|
|
|
7994
8354
|
amount?: number;
|
|
7995
8355
|
currency_code?: string;
|
|
7996
8356
|
date?: number;
|
|
7997
|
-
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom"
|
|
8357
|
+
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom";
|
|
7998
8358
|
reference_number?: string;
|
|
7999
8359
|
custom_payment_method_id?: string;
|
|
8000
8360
|
};
|
|
@@ -8003,7 +8363,7 @@ export interface RecordAnInvoicePaymentParams {
|
|
|
8003
8363
|
comment?: string;
|
|
8004
8364
|
transaction?: {
|
|
8005
8365
|
amount?: number;
|
|
8006
|
-
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom"
|
|
8366
|
+
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom";
|
|
8007
8367
|
reference_number?: string;
|
|
8008
8368
|
custom_payment_method_id?: string;
|
|
8009
8369
|
id_at_gateway?: string;
|
|
@@ -8015,7 +8375,7 @@ export interface RecordAnInvoicePaymentParams {
|
|
|
8015
8375
|
}
|
|
8016
8376
|
export interface RecordAnOfflineRefundParams {
|
|
8017
8377
|
amount?: number;
|
|
8018
|
-
payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom"
|
|
8378
|
+
payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom";
|
|
8019
8379
|
date?: number;
|
|
8020
8380
|
reference_number?: string;
|
|
8021
8381
|
custom_payment_method_id?: string;
|
|
@@ -8027,7 +8387,7 @@ export interface RecordRefundForACreditNoteParams {
|
|
|
8027
8387
|
transaction?: {
|
|
8028
8388
|
id?: string;
|
|
8029
8389
|
amount?: number;
|
|
8030
|
-
payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom"
|
|
8390
|
+
payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom";
|
|
8031
8391
|
reference_number?: string;
|
|
8032
8392
|
custom_payment_method_id?: string;
|
|
8033
8393
|
date?: number;
|
|
@@ -8038,7 +8398,7 @@ export interface RecordRefundForAnInvoiceParams {
|
|
|
8038
8398
|
customer_notes?: string;
|
|
8039
8399
|
transaction?: {
|
|
8040
8400
|
amount?: number;
|
|
8041
|
-
payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom"
|
|
8401
|
+
payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom";
|
|
8042
8402
|
reference_number?: string;
|
|
8043
8403
|
custom_payment_method_id?: string;
|
|
8044
8404
|
date?: number;
|
|
@@ -8092,6 +8452,10 @@ export interface ReleaseAuthorizationParams {
|
|
|
8092
8452
|
ledger_operation_timestamp?: number;
|
|
8093
8453
|
metadata?: Record<string, unknown>;
|
|
8094
8454
|
}
|
|
8455
|
+
export interface RemoveACreditRateOverrideParams {
|
|
8456
|
+
subscription_id?: string;
|
|
8457
|
+
note?: string;
|
|
8458
|
+
}
|
|
8095
8459
|
export interface RemoveAnAdvanceInvoiceSchedulesParams {
|
|
8096
8460
|
specific_dates_schedule?: {
|
|
8097
8461
|
id?: (string)[];
|
|
@@ -8174,12 +8538,12 @@ export interface RetrieveACreditNoteParams {
|
|
|
8174
8538
|
line_items_limit?: number;
|
|
8175
8539
|
line_items_offset?: string;
|
|
8176
8540
|
}
|
|
8541
|
+
export interface RetrieveACreditRateOverrideParams {
|
|
8542
|
+
subscription_id?: string;
|
|
8543
|
+
}
|
|
8177
8544
|
export interface RetrieveADifferentialPriceParams {
|
|
8178
8545
|
item_price_id?: string;
|
|
8179
8546
|
}
|
|
8180
|
-
export interface RetrieveARetrySegmentParams {
|
|
8181
|
-
invoice_id?: string;
|
|
8182
|
-
}
|
|
8183
8547
|
export interface RetrieveAUsageParams {
|
|
8184
8548
|
id?: string;
|
|
8185
8549
|
}
|
|
@@ -8239,8 +8603,16 @@ export interface RetrieveUsagesForAnInvoiceAsPdfParams {
|
|
|
8239
8603
|
group_by?: {
|
|
8240
8604
|
feature_id?: (string)[];
|
|
8241
8605
|
attributes?: (unknown[])[];
|
|
8606
|
+
window_size?: ("day" | "none")[];
|
|
8242
8607
|
};
|
|
8243
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
|
+
}
|
|
8244
8616
|
export interface SetPromotionalCreditsParams {
|
|
8245
8617
|
customer_id?: string;
|
|
8246
8618
|
amount?: number;
|
|
@@ -8370,6 +8742,13 @@ export interface UpdateACouponSetParams {
|
|
|
8370
8742
|
name?: string;
|
|
8371
8743
|
meta_data?: Record<string, unknown>;
|
|
8372
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
|
+
}
|
|
8373
8752
|
export interface UpdateACreditUnitParams {
|
|
8374
8753
|
name?: string;
|
|
8375
8754
|
external_name?: string;
|
|
@@ -8504,6 +8883,7 @@ export interface UpdateASubscriptionRampParams {
|
|
|
8504
8883
|
charge_once?: (boolean)[];
|
|
8505
8884
|
charge_on_option?: ("immediately" | "on_event")[];
|
|
8506
8885
|
description?: (string)[];
|
|
8886
|
+
proration_type?: ("full_term" | "partial_term" | "none")[];
|
|
8507
8887
|
};
|
|
8508
8888
|
items_to_update?: {
|
|
8509
8889
|
item_price_id?: (string)[];
|
|
@@ -8517,6 +8897,7 @@ export interface UpdateASubscriptionRampParams {
|
|
|
8517
8897
|
charge_once?: (boolean)[];
|
|
8518
8898
|
charge_on_option?: ("immediately" | "on_event")[];
|
|
8519
8899
|
description?: (string)[];
|
|
8900
|
+
proration_type?: ("full_term" | "partial_term" | "none")[];
|
|
8520
8901
|
};
|
|
8521
8902
|
item_tiers?: {
|
|
8522
8903
|
item_price_id?: (string)[];
|
|
@@ -8554,7 +8935,7 @@ export interface UpdateAWebhookEndpointParams {
|
|
|
8554
8935
|
basic_auth_password?: string;
|
|
8555
8936
|
basic_auth_username?: string;
|
|
8556
8937
|
disabled?: boolean;
|
|
8557
|
-
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" | "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" | "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")[];
|
|
8558
8939
|
}
|
|
8559
8940
|
export interface UpdateAnAddressParams {
|
|
8560
8941
|
subscription_id?: string;
|
|
@@ -8771,6 +9152,10 @@ export interface UpdateBillingInfoForACustomerParams {
|
|
|
8771
9152
|
field_value?: (string)[];
|
|
8772
9153
|
};
|
|
8773
9154
|
}
|
|
9155
|
+
export interface UpdateBusinessEntityParams {
|
|
9156
|
+
name?: string;
|
|
9157
|
+
status?: "active" | "inactive";
|
|
9158
|
+
}
|
|
8774
9159
|
export interface UpdateCardForACustomerParams {
|
|
8775
9160
|
gateway_account_id?: string;
|
|
8776
9161
|
tmp_token?: string;
|
|
@@ -8863,6 +9248,23 @@ export interface UpdateInvoiceDetailsParams {
|
|
|
8863
9248
|
descriptor?: string;
|
|
8864
9249
|
};
|
|
8865
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
|
+
}
|
|
8866
9268
|
export interface UpdateOverdraftLimitParams {
|
|
8867
9269
|
subscription_id?: string;
|
|
8868
9270
|
unit_id?: string;
|
|
@@ -8880,6 +9282,15 @@ export interface UpdatePaymentMethodForACustomerParams {
|
|
|
8880
9282
|
additional_information?: Record<string, unknown>;
|
|
8881
9283
|
};
|
|
8882
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
|
+
}
|
|
8883
9294
|
export interface UpdateQuoteStatusParams {
|
|
8884
9295
|
status?: "accepted" | "declined" | "proposed" | "voided" | "closed";
|
|
8885
9296
|
comment?: string;
|
|
@@ -9034,6 +9445,7 @@ export interface UpdateSubscriptionForItemsParams {
|
|
|
9034
9445
|
quantity?: (number)[];
|
|
9035
9446
|
operation_type?: ("add" | "remove")[];
|
|
9036
9447
|
id?: (string)[];
|
|
9448
|
+
description?: (string)[];
|
|
9037
9449
|
};
|
|
9038
9450
|
item_tiers?: {
|
|
9039
9451
|
item_price_id?: (string)[];
|
|
@@ -9150,6 +9562,7 @@ export interface OperationParamsMap {
|
|
|
9150
9562
|
"copy_a_coupon": CopyACouponParams;
|
|
9151
9563
|
"copy_card": CopyCardParams;
|
|
9152
9564
|
"create_a_bank_account_payment_source": CreateABankAccountPaymentSourceParams;
|
|
9565
|
+
"create_a_business_entity": CreateABusinessEntityParams;
|
|
9153
9566
|
"create_a_business_rule": CreateABusinessRuleParams;
|
|
9154
9567
|
"create_a_business_ruleset": CreateABusinessRulesetParams;
|
|
9155
9568
|
"create_a_card_payment_source": CreateACardPaymentSourceParams;
|
|
@@ -9157,6 +9570,7 @@ export interface OperationParamsMap {
|
|
|
9157
9570
|
"create_a_comment": CreateACommentParams;
|
|
9158
9571
|
"create_a_coupon_for_items": CreateACouponForItemsParams;
|
|
9159
9572
|
"create_a_coupon_set": CreateACouponSetParams;
|
|
9573
|
+
"create_a_credit_rate": CreateACreditRateParams;
|
|
9160
9574
|
"create_a_credit_unit": CreateACreditUnitParams;
|
|
9161
9575
|
"create_a_customer": CreateACustomerParams;
|
|
9162
9576
|
"create_a_differential_price": CreateADifferentialPriceParams;
|
|
@@ -9235,6 +9649,8 @@ export interface OperationParamsMap {
|
|
|
9235
9649
|
"export_customers": ExportCustomersParams;
|
|
9236
9650
|
"export_deferred_revenue_reports": ExportDeferredRevenueReportsParams;
|
|
9237
9651
|
"export_differential_price": ExportDifferentialPriceParams;
|
|
9652
|
+
"export_entitlements": ExportEntitlementsParams;
|
|
9653
|
+
"export_features": ExportFeaturesParams;
|
|
9238
9654
|
"export_invoices": ExportInvoicesParams;
|
|
9239
9655
|
"export_item_families": ExportItemFamiliesParams;
|
|
9240
9656
|
"export_item_prices": ExportItemPricesParams;
|
|
@@ -9270,6 +9686,7 @@ export interface OperationParamsMap {
|
|
|
9270
9686
|
"list_applicable_item_prices_for_a_plan-item_price": ListApplicableItemPricesForAPlanItemPriceParams;
|
|
9271
9687
|
"list_applicable_items_for_a_plan-item_price": ListApplicableItemsForAPlanItemPriceParams;
|
|
9272
9688
|
"list_attached_items": ListAttachedItemsParams;
|
|
9689
|
+
"list_business_entities": ListBusinessEntitiesParams;
|
|
9273
9690
|
"list_business_rules": ListBusinessRulesParams;
|
|
9274
9691
|
"list_business_rulesets": ListBusinessRulesetsParams;
|
|
9275
9692
|
"list_collections_payment_promises": ListCollectionsPaymentPromisesParams;
|
|
@@ -9279,6 +9696,8 @@ export interface OperationParamsMap {
|
|
|
9279
9696
|
"list_coupon_sets": ListCouponSetsParams;
|
|
9280
9697
|
"list_coupons": ListCouponsParams;
|
|
9281
9698
|
"list_credit_notes": ListCreditNotesParams;
|
|
9699
|
+
"list_credit_rate_versions": ListCreditRateVersionsParams;
|
|
9700
|
+
"list_credit_rates_for_a_subscription": ListCreditRatesForASubscriptionParams;
|
|
9282
9701
|
"list_credit_units": ListCreditUnitsParams;
|
|
9283
9702
|
"list_currencies": ListCurrenciesParams;
|
|
9284
9703
|
"list_customer_entitlements": ListCustomerEntitlementsParams;
|
|
@@ -9292,10 +9711,13 @@ export interface OperationParamsMap {
|
|
|
9292
9711
|
"list_events": ListEventsParams;
|
|
9293
9712
|
"list_features": ListFeaturesParams;
|
|
9294
9713
|
"list_gateway_payment_method_tokens_for_a_payment_source": ListGatewayPaymentMethodTokensForAPaymentSourceParams;
|
|
9714
|
+
"list_gateway_request_logs": ListGatewayRequestLogsParams;
|
|
9715
|
+
"list_gateway_webhook_logs": ListGatewayWebhookLogsParams;
|
|
9295
9716
|
"list_gifts": ListGiftsParams;
|
|
9296
9717
|
"list_grant_blocks": ListGrantBlocksParams;
|
|
9297
9718
|
"list_hierarchy_details": ListHierarchyDetailsParams;
|
|
9298
9719
|
"list_hosted_pages": ListHostedPagesParams;
|
|
9720
|
+
"list_invoice_retry_contexts": ListInvoiceRetryContextsParams;
|
|
9299
9721
|
"list_invoices": ListInvoicesParams;
|
|
9300
9722
|
"list_item_entitlements_for_a_feature": ListItemEntitlementsForAFeatureParams;
|
|
9301
9723
|
"list_item_entitlements_for_an_item": ListItemEntitlementsForAnItemParams;
|
|
@@ -9309,12 +9731,15 @@ export interface OperationParamsMap {
|
|
|
9309
9731
|
"list_omnichannel_subscriptions": ListOmnichannelSubscriptionsParams;
|
|
9310
9732
|
"list_omnichannel_transactions_of_an_omnichannel_subscription": ListOmnichannelTransactionsOfAnOmnichannelSubscriptionParams;
|
|
9311
9733
|
"list_orders": ListOrdersParams;
|
|
9734
|
+
"list_organization_details": ListOrganizationDetailsParams;
|
|
9312
9735
|
"list_payment_reference_numbers": ListPaymentReferenceNumbersParams;
|
|
9313
9736
|
"list_payment_schedule_schemes": ListPaymentScheduleSchemesParams;
|
|
9314
9737
|
"list_payment_schedules": ListPaymentSchedulesParams;
|
|
9315
9738
|
"list_payment_sources": ListPaymentSourcesParams;
|
|
9316
9739
|
"list_payments_for_an_invoice": ListPaymentsForAnInvoiceParams;
|
|
9317
9740
|
"list_personalized_offers": ListPersonalizedOffersParams;
|
|
9741
|
+
"list_preference_definitions": ListPreferenceDefinitionsParams;
|
|
9742
|
+
"list_preferences": ListPreferencesParams;
|
|
9318
9743
|
"list_price_ramps": ListPriceRampsParams;
|
|
9319
9744
|
"list_price_variants": ListPriceVariantsParams;
|
|
9320
9745
|
"list_promotional_credits": ListPromotionalCreditsParams;
|
|
@@ -9322,6 +9747,7 @@ export interface OperationParamsMap {
|
|
|
9322
9747
|
"list_quote_line_groups": ListQuoteLineGroupsParams;
|
|
9323
9748
|
"list_quotes": ListQuotesParams;
|
|
9324
9749
|
"list_ramps": ListRampsParams;
|
|
9750
|
+
"list_retry_segments": ListRetrySegmentsParams;
|
|
9325
9751
|
"list_rules_in_a_business_ruleset": ListRulesInABusinessRulesetParams;
|
|
9326
9752
|
"list_scheduled_changes_for_omnichannel_subscription_item": ListScheduledChangesForOmnichannelSubscriptionItemParams;
|
|
9327
9753
|
"list_site_migration_details": ListSiteMigrationDetailsParams;
|
|
@@ -9361,6 +9787,7 @@ export interface OperationParamsMap {
|
|
|
9361
9787
|
"regenerate_an_invoice": RegenerateAnInvoiceParams;
|
|
9362
9788
|
"regenerate_invoice_estimate": RegenerateInvoiceEstimateParams;
|
|
9363
9789
|
"release_authorization": ReleaseAuthorizationParams;
|
|
9790
|
+
"remove_a_credit_rate_override": RemoveACreditRateOverrideParams;
|
|
9364
9791
|
"remove_an_advance_invoice_schedules": RemoveAnAdvanceInvoiceSchedulesParams;
|
|
9365
9792
|
"remove_business_rules_from_a_ruleset": RemoveBusinessRulesFromARulesetParams;
|
|
9366
9793
|
"remove_coupons": RemoveCouponsParams;
|
|
@@ -9376,8 +9803,8 @@ export interface OperationParamsMap {
|
|
|
9376
9803
|
"resume_dunning_for_invoice": ResumeDunningForInvoiceParams;
|
|
9377
9804
|
"resume_subscription_estimate": ResumeSubscriptionEstimateParams;
|
|
9378
9805
|
"retrieve_a_credit_note": RetrieveACreditNoteParams;
|
|
9806
|
+
"retrieve_a_credit_rate_override": RetrieveACreditRateOverrideParams;
|
|
9379
9807
|
"retrieve_a_differential_price": RetrieveADifferentialPriceParams;
|
|
9380
|
-
"retrieve_a_retry_segment": RetrieveARetrySegmentParams;
|
|
9381
9808
|
"retrieve_a_usage": RetrieveAUsageParams;
|
|
9382
9809
|
"retrieve_an_address": RetrieveAnAddressParams;
|
|
9383
9810
|
"retrieve_an_attached_item_": RetrieveAnAttachedItemParams;
|
|
@@ -9391,6 +9818,7 @@ export interface OperationParamsMap {
|
|
|
9391
9818
|
"retrieve_usage_charges_for_a_subscription": RetrieveUsageChargesForASubscriptionParams;
|
|
9392
9819
|
"retrieve_usage_summary_for_a_subscription": RetrieveUsageSummaryForASubscriptionParams;
|
|
9393
9820
|
"retrieve_usages_for_an_invoice_as_pdf": RetrieveUsagesForAnInvoiceAsPdfParams;
|
|
9821
|
+
"set_a_credit_rate_override": SetACreditRateOverrideParams;
|
|
9394
9822
|
"set_promotional_credits": SetPromotionalCreditsParams;
|
|
9395
9823
|
"start_afresh": StartAfreshParams;
|
|
9396
9824
|
"stop_dunning_for_invoice": StopDunningForInvoiceParams;
|
|
@@ -9408,6 +9836,7 @@ export interface OperationParamsMap {
|
|
|
9408
9836
|
"update_a_collections_payment_promise": UpdateACollectionsPaymentPromiseParams;
|
|
9409
9837
|
"update_a_coupon_for_items": UpdateACouponForItemsParams;
|
|
9410
9838
|
"update_a_coupon_set": UpdateACouponSetParams;
|
|
9839
|
+
"update_a_credit_rate": UpdateACreditRateParams;
|
|
9411
9840
|
"update_a_credit_unit": UpdateACreditUnitParams;
|
|
9412
9841
|
"update_a_currency": UpdateACurrencyParams;
|
|
9413
9842
|
"update_a_customer": UpdateACustomerParams;
|
|
@@ -9428,13 +9857,16 @@ export interface OperationParamsMap {
|
|
|
9428
9857
|
"update_an_offer_fulfillment": UpdateAnOfferFulfillmentParams;
|
|
9429
9858
|
"update_an_order": UpdateAnOrderParams;
|
|
9430
9859
|
"update_billing_info_for_a_customer": UpdateBillingInfoForACustomerParams;
|
|
9860
|
+
"update_business_entity": UpdateBusinessEntityParams;
|
|
9431
9861
|
"update_card_for_a_customer": UpdateCardForACustomerParams;
|
|
9432
9862
|
"update_contacts_for_a_customer": UpdateContactsForACustomerParams;
|
|
9433
9863
|
"update_credit_note_details": UpdateCreditNoteDetailsParams;
|
|
9434
9864
|
"update_hierarchy_access_settings_for_a_customer": UpdateHierarchyAccessSettingsForACustomerParams;
|
|
9435
9865
|
"update_invoice_details": UpdateInvoiceDetailsParams;
|
|
9866
|
+
"update_organization_details": UpdateOrganizationDetailsParams;
|
|
9436
9867
|
"update_overdraft_limit": UpdateOverdraftLimitParams;
|
|
9437
9868
|
"update_payment_method_for_a_customer": UpdatePaymentMethodForACustomerParams;
|
|
9869
|
+
"update_preferences": UpdatePreferencesParams;
|
|
9438
9870
|
"update_quote_status": UpdateQuoteStatusParams;
|
|
9439
9871
|
"update_subscription_for_items": UpdateSubscriptionForItemsParams;
|
|
9440
9872
|
"upsert_or_remove_entitlement_overrides_for_a_subscription": UpsertOrRemoveEntitlementOverridesForASubscriptionParams;
|