orb-billing 1.44.0 → 1.45.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/lib/orb/models/backfill_reflected_webhook_event.rb +24 -1
- data/lib/orb/models/backfill_reverted_webhook_event.rb +24 -1
- data/lib/orb/models/billable_metric_edited_webhook_event.rb +24 -1
- data/lib/orb/models/credit_block_accounting_sync_failed_webhook_event.rb +27 -1
- data/lib/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rb +27 -1
- data/lib/orb/models/credit_note_accounting_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/credit_note_accounting_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/credit_note_issued_webhook_event.rb +24 -1
- data/lib/orb/models/credit_note_marked_as_void_webhook_event.rb +24 -1
- data/lib/orb/models/customer_accounting_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/customer_accounting_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/customer_balance_transaction_created_webhook_event.rb +24 -1
- data/lib/orb/models/customer_created_webhook_event.rb +24 -1
- data/lib/orb/models/customer_credit_balance_depleted_webhook_event.rb +24 -1
- data/lib/orb/models/customer_credit_balance_dropped_webhook_event.rb +24 -1
- data/lib/orb/models/customer_credit_balance_recovered_webhook_event.rb +24 -1
- data/lib/orb/models/customer_credit_ledger_incremented_webhook_event.rb +24 -1
- data/lib/orb/models/customer_edited_webhook_event.rb +24 -1
- data/lib/orb/models/data_exports_transfer_error_webhook_event.rb +27 -1
- data/lib/orb/models/data_exports_transfer_success_webhook_event.rb +27 -1
- data/lib/orb/models/event_unmatched_event_webhook_event.rb +27 -1
- data/lib/orb/models/ingestion_unmatched_customer_ids_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_accounting_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_accounting_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_cost_data_exported_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_due_date_recalculation_canceled_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_due_date_recalculation_completed_webhook_event.rb +28 -1
- data/lib/orb/models/invoice_due_date_recalculation_started_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_dunning_schedule_created_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_dunning_schedule_ended_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_dunning_schedule_reset_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_dunning_schedule_step_executed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_edited_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_invoice_date_elapsed_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_issue_failed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_issued_summary_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_issued_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_manually_marked_as_paid_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_manually_marked_as_void_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_payment_failed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_payment_processing_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_payment_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_undo_mark_as_paid_webhook_event.rb +24 -1
- data/lib/orb/models/metric_events_dropped_by_watermark_webhook_event.rb +24 -1
- data/lib/orb/models/payment_method_created_webhook_event.rb +24 -1
- data/lib/orb/models/payment_method_deleted_webhook_event.rb +24 -1
- data/lib/orb/models/plan_created_webhook_event.rb +27 -1
- data/lib/orb/models/plan_default_version_set_webhook_event.rb +27 -1
- data/lib/orb/models/plan_edited_webhook_event.rb +24 -1
- data/lib/orb/models/plan_version_created_webhook_event.rb +27 -1
- data/lib/orb/models/price_edited_webhook_event.rb +24 -1
- data/lib/orb/models/resource_event_test_webhook_event.rb +27 -1
- data/lib/orb/models/sales_order_accounting_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_accounting_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_accounting_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_alert_disabled_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_cancellation_scheduled_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_cancellation_unscheduled_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_cost_exceeded_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_created_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_edited_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_ended_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_fixed_fee_quantity_updated_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_grouped_cost_exceeded_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rb +25 -1
- data/lib/orb/models/subscription_license_allocation_reset_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb +25 -1
- data/lib/orb/models/subscription_plan_change_scheduled_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_plan_changed_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_plan_version_change_scheduled_webhook_event.rb +25 -1
- data/lib/orb/models/subscription_plan_version_changed_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_spend_exceeded_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_started_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_trial_ended_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_usage_exceeded_webhook_event.rb +24 -1
- data/lib/orb/models/transaction_accounting_sync_failed_webhook_event.rb +27 -1
- data/lib/orb/models/transaction_accounting_sync_succeeded_webhook_event.rb +27 -1
- data/lib/orb/version.rb +1 -1
- data/rbi/orb/models/backfill_reflected_webhook_event.rbi +47 -0
- data/rbi/orb/models/backfill_reverted_webhook_event.rbi +47 -0
- data/rbi/orb/models/billable_metric_edited_webhook_event.rbi +49 -0
- data/rbi/orb/models/credit_block_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/credit_note_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/credit_note_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/credit_note_issued_webhook_event.rbi +47 -0
- data/rbi/orb/models/credit_note_marked_as_void_webhook_event.rbi +49 -0
- data/rbi/orb/models/customer_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_balance_transaction_created_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_created_webhook_event.rbi +47 -0
- data/rbi/orb/models/customer_credit_balance_depleted_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_credit_balance_dropped_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_credit_balance_recovered_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_credit_ledger_incremented_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_edited_webhook_event.rbi +47 -0
- data/rbi/orb/models/data_exports_transfer_error_webhook_event.rbi +52 -0
- data/rbi/orb/models/data_exports_transfer_success_webhook_event.rbi +52 -0
- data/rbi/orb/models/event_unmatched_event_webhook_event.rbi +49 -0
- data/rbi/orb/models/ingestion_unmatched_customer_ids_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_automation_schedule_step_executed_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_cost_data_exported_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_due_date_recalculation_canceled_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_due_date_recalculation_completed_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_due_date_recalculation_started_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_dunning_schedule_created_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_dunning_schedule_ended_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_dunning_schedule_reset_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_dunning_schedule_step_executed_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_edited_webhook_event.rbi +44 -0
- data/rbi/orb/models/invoice_invoice_date_elapsed_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_issue_failed_webhook_event.rbi +47 -0
- data/rbi/orb/models/invoice_issued_summary_webhook_event.rbi +49 -0
- data/rbi/orb/models/invoice_issued_webhook_event.rbi +44 -0
- data/rbi/orb/models/invoice_manually_marked_as_paid_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_manually_marked_as_void_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_payment_failed_webhook_event.rbi +49 -0
- data/rbi/orb/models/invoice_payment_processing_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_payment_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_sync_failed_webhook_event.rbi +47 -0
- data/rbi/orb/models/invoice_sync_succeeded_webhook_event.rbi +49 -0
- data/rbi/orb/models/invoice_undo_mark_as_paid_webhook_event.rbi +49 -0
- data/rbi/orb/models/metric_events_dropped_by_watermark_webhook_event.rbi +52 -0
- data/rbi/orb/models/payment_method_created_webhook_event.rbi +49 -0
- data/rbi/orb/models/payment_method_deleted_webhook_event.rbi +49 -0
- data/rbi/orb/models/plan_created_webhook_event.rbi +42 -0
- data/rbi/orb/models/plan_default_version_set_webhook_event.rbi +49 -0
- data/rbi/orb/models/plan_edited_webhook_event.rbi +42 -0
- data/rbi/orb/models/plan_version_created_webhook_event.rbi +47 -0
- data/rbi/orb/models/price_edited_webhook_event.rbi +42 -0
- data/rbi/orb/models/resource_event_test_webhook_event.rbi +47 -0
- data/rbi/orb/models/sales_order_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_alert_disabled_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_cancellation_scheduled_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_cancellation_unscheduled_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_cost_exceeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_created_webhook_event.rbi +49 -0
- data/rbi/orb/models/subscription_edited_webhook_event.rbi +47 -0
- data/rbi/orb/models/subscription_ended_webhook_event.rbi +47 -0
- data/rbi/orb/models/subscription_fixed_fee_quantity_updated_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_grouped_cost_exceeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_license_allocation_reset_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_plan_change_scheduled_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_plan_changed_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_plan_version_change_scheduled_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_plan_version_changed_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_spend_exceeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_started_webhook_event.rbi +49 -0
- data/rbi/orb/models/subscription_trial_ended_webhook_event.rbi +49 -0
- data/rbi/orb/models/subscription_usage_exceeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/transaction_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/transaction_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/sig/orb/models/backfill_reflected_webhook_event.rbs +16 -0
- data/sig/orb/models/backfill_reverted_webhook_event.rbs +16 -0
- data/sig/orb/models/billable_metric_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_block_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_note_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_note_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_note_issued_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_note_marked_as_void_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_balance_transaction_created_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_created_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_credit_balance_depleted_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_credit_balance_dropped_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_credit_balance_recovered_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_credit_ledger_incremented_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/data_exports_transfer_error_webhook_event.rbs +16 -0
- data/sig/orb/models/data_exports_transfer_success_webhook_event.rbs +16 -0
- data/sig/orb/models/event_unmatched_event_webhook_event.rbs +16 -0
- data/sig/orb/models/ingestion_unmatched_customer_ids_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_automation_schedule_step_executed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_cost_data_exported_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_due_date_recalculation_canceled_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_due_date_recalculation_completed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_due_date_recalculation_started_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_dunning_schedule_created_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_dunning_schedule_ended_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_dunning_schedule_reset_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_dunning_schedule_step_executed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_invoice_date_elapsed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_issue_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_issued_summary_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_issued_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_manually_marked_as_paid_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_manually_marked_as_void_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_payment_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_payment_processing_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_payment_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_undo_mark_as_paid_webhook_event.rbs +16 -0
- data/sig/orb/models/metric_events_dropped_by_watermark_webhook_event.rbs +16 -0
- data/sig/orb/models/payment_method_created_webhook_event.rbs +16 -0
- data/sig/orb/models/payment_method_deleted_webhook_event.rbs +16 -0
- data/sig/orb/models/plan_created_webhook_event.rbs +16 -0
- data/sig/orb/models/plan_default_version_set_webhook_event.rbs +16 -0
- data/sig/orb/models/plan_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/plan_version_created_webhook_event.rbs +16 -0
- data/sig/orb/models/price_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/resource_event_test_webhook_event.rbs +16 -0
- data/sig/orb/models/sales_order_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_alert_disabled_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_cancellation_scheduled_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_cancellation_unscheduled_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_cost_exceeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_created_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_ended_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_fixed_fee_quantity_updated_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_grouped_cost_exceeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_license_allocation_reset_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_plan_change_scheduled_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_plan_changed_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_plan_version_change_scheduled_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_plan_version_changed_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_spend_exceeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_started_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_trial_ended_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_usage_exceeded_webhook_event.rbs +16 -0
- data/sig/orb/models/transaction_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/transaction_accounting_sync_succeeded_webhook_event.rbs +16 -0
- metadata +1 -1
|
@@ -19,6 +19,15 @@ module Orb
|
|
|
19
19
|
sig { returns(Time) }
|
|
20
20
|
attr_accessor :created_at
|
|
21
21
|
|
|
22
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
23
|
+
# endpoint.
|
|
24
|
+
sig do
|
|
25
|
+
returns(
|
|
26
|
+
Orb::SubscriptionCancellationScheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig do
|
|
23
32
|
returns(Orb::SubscriptionCancellationScheduledWebhookEvent::Properties)
|
|
24
33
|
end
|
|
@@ -70,6 +79,8 @@ module Orb
|
|
|
70
79
|
params(
|
|
71
80
|
id: String,
|
|
72
81
|
created_at: Time,
|
|
82
|
+
payload_style:
|
|
83
|
+
Orb::SubscriptionCancellationScheduledWebhookEvent::PayloadStyle::OrSymbol,
|
|
73
84
|
properties:
|
|
74
85
|
Orb::SubscriptionCancellationScheduledWebhookEvent::Properties::OrHash,
|
|
75
86
|
subscription: Orb::Subscription::OrHash,
|
|
@@ -82,6 +93,9 @@ module Orb
|
|
|
82
93
|
id:,
|
|
83
94
|
# The time at which this event was created, to the second.
|
|
84
95
|
created_at:,
|
|
96
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
97
|
+
# endpoint.
|
|
98
|
+
payload_style:,
|
|
85
99
|
properties:,
|
|
86
100
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
87
101
|
# by a customer.
|
|
@@ -113,6 +127,8 @@ module Orb
|
|
|
113
127
|
{
|
|
114
128
|
id: String,
|
|
115
129
|
created_at: Time,
|
|
130
|
+
payload_style:
|
|
131
|
+
Orb::SubscriptionCancellationScheduledWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
116
132
|
properties:
|
|
117
133
|
Orb::SubscriptionCancellationScheduledWebhookEvent::Properties,
|
|
118
134
|
subscription: Orb::Subscription,
|
|
@@ -124,6 +140,42 @@ module Orb
|
|
|
124
140
|
def to_hash
|
|
125
141
|
end
|
|
126
142
|
|
|
143
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
144
|
+
# endpoint.
|
|
145
|
+
module PayloadStyle
|
|
146
|
+
extend Orb::Internal::Type::Enum
|
|
147
|
+
|
|
148
|
+
TaggedSymbol =
|
|
149
|
+
T.type_alias do
|
|
150
|
+
T.all(
|
|
151
|
+
Symbol,
|
|
152
|
+
Orb::SubscriptionCancellationScheduledWebhookEvent::PayloadStyle
|
|
153
|
+
)
|
|
154
|
+
end
|
|
155
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
156
|
+
|
|
157
|
+
EXPANDED =
|
|
158
|
+
T.let(
|
|
159
|
+
:expanded,
|
|
160
|
+
Orb::SubscriptionCancellationScheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
161
|
+
)
|
|
162
|
+
STANDARD =
|
|
163
|
+
T.let(
|
|
164
|
+
:standard,
|
|
165
|
+
Orb::SubscriptionCancellationScheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
166
|
+
)
|
|
167
|
+
|
|
168
|
+
sig do
|
|
169
|
+
override.returns(
|
|
170
|
+
T::Array[
|
|
171
|
+
Orb::SubscriptionCancellationScheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
172
|
+
]
|
|
173
|
+
)
|
|
174
|
+
end
|
|
175
|
+
def self.values
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
|
|
127
179
|
class Properties < Orb::Internal::Type::BaseModel
|
|
128
180
|
OrHash =
|
|
129
181
|
T.type_alias do
|
|
@@ -19,6 +19,15 @@ module Orb
|
|
|
19
19
|
sig { returns(Time) }
|
|
20
20
|
attr_accessor :created_at
|
|
21
21
|
|
|
22
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
23
|
+
# endpoint.
|
|
24
|
+
sig do
|
|
25
|
+
returns(
|
|
26
|
+
Orb::SubscriptionCancellationUnscheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig do
|
|
23
32
|
returns(
|
|
24
33
|
Orb::SubscriptionCancellationUnscheduledWebhookEvent::Properties
|
|
@@ -72,6 +81,8 @@ module Orb
|
|
|
72
81
|
params(
|
|
73
82
|
id: String,
|
|
74
83
|
created_at: Time,
|
|
84
|
+
payload_style:
|
|
85
|
+
Orb::SubscriptionCancellationUnscheduledWebhookEvent::PayloadStyle::OrSymbol,
|
|
75
86
|
properties:
|
|
76
87
|
Orb::SubscriptionCancellationUnscheduledWebhookEvent::Properties::OrHash,
|
|
77
88
|
subscription: Orb::Subscription::OrHash,
|
|
@@ -84,6 +95,9 @@ module Orb
|
|
|
84
95
|
id:,
|
|
85
96
|
# The time at which this event was created, to the second.
|
|
86
97
|
created_at:,
|
|
98
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
99
|
+
# endpoint.
|
|
100
|
+
payload_style:,
|
|
87
101
|
properties:,
|
|
88
102
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
89
103
|
# by a customer.
|
|
@@ -115,6 +129,8 @@ module Orb
|
|
|
115
129
|
{
|
|
116
130
|
id: String,
|
|
117
131
|
created_at: Time,
|
|
132
|
+
payload_style:
|
|
133
|
+
Orb::SubscriptionCancellationUnscheduledWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
118
134
|
properties:
|
|
119
135
|
Orb::SubscriptionCancellationUnscheduledWebhookEvent::Properties,
|
|
120
136
|
subscription: Orb::Subscription,
|
|
@@ -126,6 +142,42 @@ module Orb
|
|
|
126
142
|
def to_hash
|
|
127
143
|
end
|
|
128
144
|
|
|
145
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
146
|
+
# endpoint.
|
|
147
|
+
module PayloadStyle
|
|
148
|
+
extend Orb::Internal::Type::Enum
|
|
149
|
+
|
|
150
|
+
TaggedSymbol =
|
|
151
|
+
T.type_alias do
|
|
152
|
+
T.all(
|
|
153
|
+
Symbol,
|
|
154
|
+
Orb::SubscriptionCancellationUnscheduledWebhookEvent::PayloadStyle
|
|
155
|
+
)
|
|
156
|
+
end
|
|
157
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
158
|
+
|
|
159
|
+
EXPANDED =
|
|
160
|
+
T.let(
|
|
161
|
+
:expanded,
|
|
162
|
+
Orb::SubscriptionCancellationUnscheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
163
|
+
)
|
|
164
|
+
STANDARD =
|
|
165
|
+
T.let(
|
|
166
|
+
:standard,
|
|
167
|
+
Orb::SubscriptionCancellationUnscheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
sig do
|
|
171
|
+
override.returns(
|
|
172
|
+
T::Array[
|
|
173
|
+
Orb::SubscriptionCancellationUnscheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
174
|
+
]
|
|
175
|
+
)
|
|
176
|
+
end
|
|
177
|
+
def self.values
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
|
|
129
181
|
class Properties < Orb::Internal::Type::BaseModel
|
|
130
182
|
OrHash =
|
|
131
183
|
T.type_alias do
|
|
@@ -19,6 +19,15 @@ module Orb
|
|
|
19
19
|
sig { returns(Time) }
|
|
20
20
|
attr_accessor :created_at
|
|
21
21
|
|
|
22
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
23
|
+
# endpoint.
|
|
24
|
+
sig do
|
|
25
|
+
returns(
|
|
26
|
+
Orb::SubscriptionCostExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig { returns(Orb::SubscriptionCostExceededWebhookEvent::Properties) }
|
|
23
32
|
attr_reader :properties
|
|
24
33
|
|
|
@@ -66,6 +75,8 @@ module Orb
|
|
|
66
75
|
params(
|
|
67
76
|
id: String,
|
|
68
77
|
created_at: Time,
|
|
78
|
+
payload_style:
|
|
79
|
+
Orb::SubscriptionCostExceededWebhookEvent::PayloadStyle::OrSymbol,
|
|
69
80
|
properties:
|
|
70
81
|
Orb::SubscriptionCostExceededWebhookEvent::Properties::OrHash,
|
|
71
82
|
subscription: Orb::Subscription::OrHash,
|
|
@@ -77,6 +88,9 @@ module Orb
|
|
|
77
88
|
id:,
|
|
78
89
|
# The time at which this event was created, to the second.
|
|
79
90
|
created_at:,
|
|
91
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
92
|
+
# endpoint.
|
|
93
|
+
payload_style:,
|
|
80
94
|
properties:,
|
|
81
95
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
82
96
|
# by a customer.
|
|
@@ -108,6 +122,8 @@ module Orb
|
|
|
108
122
|
{
|
|
109
123
|
id: String,
|
|
110
124
|
created_at: Time,
|
|
125
|
+
payload_style:
|
|
126
|
+
Orb::SubscriptionCostExceededWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
111
127
|
properties: Orb::SubscriptionCostExceededWebhookEvent::Properties,
|
|
112
128
|
subscription: Orb::Subscription,
|
|
113
129
|
type: Orb::SubscriptionCostExceededWebhookEvent::Type::TaggedSymbol
|
|
@@ -117,6 +133,42 @@ module Orb
|
|
|
117
133
|
def to_hash
|
|
118
134
|
end
|
|
119
135
|
|
|
136
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
137
|
+
# endpoint.
|
|
138
|
+
module PayloadStyle
|
|
139
|
+
extend Orb::Internal::Type::Enum
|
|
140
|
+
|
|
141
|
+
TaggedSymbol =
|
|
142
|
+
T.type_alias do
|
|
143
|
+
T.all(
|
|
144
|
+
Symbol,
|
|
145
|
+
Orb::SubscriptionCostExceededWebhookEvent::PayloadStyle
|
|
146
|
+
)
|
|
147
|
+
end
|
|
148
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
149
|
+
|
|
150
|
+
EXPANDED =
|
|
151
|
+
T.let(
|
|
152
|
+
:expanded,
|
|
153
|
+
Orb::SubscriptionCostExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
154
|
+
)
|
|
155
|
+
STANDARD =
|
|
156
|
+
T.let(
|
|
157
|
+
:standard,
|
|
158
|
+
Orb::SubscriptionCostExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
159
|
+
)
|
|
160
|
+
|
|
161
|
+
sig do
|
|
162
|
+
override.returns(
|
|
163
|
+
T::Array[
|
|
164
|
+
Orb::SubscriptionCostExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
165
|
+
]
|
|
166
|
+
)
|
|
167
|
+
end
|
|
168
|
+
def self.values
|
|
169
|
+
end
|
|
170
|
+
end
|
|
171
|
+
|
|
120
172
|
class Properties < Orb::Internal::Type::BaseModel
|
|
121
173
|
OrHash =
|
|
122
174
|
T.type_alias do
|
|
@@ -16,6 +16,15 @@ module Orb
|
|
|
16
16
|
sig { returns(Time) }
|
|
17
17
|
attr_accessor :created_at
|
|
18
18
|
|
|
19
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
20
|
+
# endpoint.
|
|
21
|
+
sig do
|
|
22
|
+
returns(
|
|
23
|
+
Orb::SubscriptionCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
24
|
+
)
|
|
25
|
+
end
|
|
26
|
+
attr_accessor :payload_style
|
|
27
|
+
|
|
19
28
|
sig { returns(T.anything) }
|
|
20
29
|
attr_accessor :properties
|
|
21
30
|
|
|
@@ -53,6 +62,8 @@ module Orb
|
|
|
53
62
|
params(
|
|
54
63
|
id: String,
|
|
55
64
|
created_at: Time,
|
|
65
|
+
payload_style:
|
|
66
|
+
Orb::SubscriptionCreatedWebhookEvent::PayloadStyle::OrSymbol,
|
|
56
67
|
properties: T.anything,
|
|
57
68
|
subscription: Orb::Subscription::OrHash,
|
|
58
69
|
type: Orb::SubscriptionCreatedWebhookEvent::Type::OrSymbol
|
|
@@ -63,6 +74,9 @@ module Orb
|
|
|
63
74
|
id:,
|
|
64
75
|
# The time at which this event was created, to the second.
|
|
65
76
|
created_at:,
|
|
77
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
78
|
+
# endpoint.
|
|
79
|
+
payload_style:,
|
|
66
80
|
properties:,
|
|
67
81
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
68
82
|
# by a customer.
|
|
@@ -94,6 +108,8 @@ module Orb
|
|
|
94
108
|
{
|
|
95
109
|
id: String,
|
|
96
110
|
created_at: Time,
|
|
111
|
+
payload_style:
|
|
112
|
+
Orb::SubscriptionCreatedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
97
113
|
properties: T.anything,
|
|
98
114
|
subscription: Orb::Subscription,
|
|
99
115
|
type: Orb::SubscriptionCreatedWebhookEvent::Type::TaggedSymbol
|
|
@@ -103,6 +119,39 @@ module Orb
|
|
|
103
119
|
def to_hash
|
|
104
120
|
end
|
|
105
121
|
|
|
122
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
123
|
+
# endpoint.
|
|
124
|
+
module PayloadStyle
|
|
125
|
+
extend Orb::Internal::Type::Enum
|
|
126
|
+
|
|
127
|
+
TaggedSymbol =
|
|
128
|
+
T.type_alias do
|
|
129
|
+
T.all(Symbol, Orb::SubscriptionCreatedWebhookEvent::PayloadStyle)
|
|
130
|
+
end
|
|
131
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
132
|
+
|
|
133
|
+
EXPANDED =
|
|
134
|
+
T.let(
|
|
135
|
+
:expanded,
|
|
136
|
+
Orb::SubscriptionCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
137
|
+
)
|
|
138
|
+
STANDARD =
|
|
139
|
+
T.let(
|
|
140
|
+
:standard,
|
|
141
|
+
Orb::SubscriptionCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
142
|
+
)
|
|
143
|
+
|
|
144
|
+
sig do
|
|
145
|
+
override.returns(
|
|
146
|
+
T::Array[
|
|
147
|
+
Orb::SubscriptionCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
148
|
+
]
|
|
149
|
+
)
|
|
150
|
+
end
|
|
151
|
+
def self.values
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
|
|
106
155
|
# The event this payload describes.
|
|
107
156
|
module Type
|
|
108
157
|
extend Orb::Internal::Type::Enum
|
|
@@ -16,6 +16,13 @@ module Orb
|
|
|
16
16
|
sig { returns(Time) }
|
|
17
17
|
attr_accessor :created_at
|
|
18
18
|
|
|
19
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
20
|
+
# endpoint.
|
|
21
|
+
sig do
|
|
22
|
+
returns(Orb::SubscriptionEditedWebhookEvent::PayloadStyle::TaggedSymbol)
|
|
23
|
+
end
|
|
24
|
+
attr_accessor :payload_style
|
|
25
|
+
|
|
19
26
|
sig { returns(Orb::SubscriptionEditedWebhookEvent::Properties) }
|
|
20
27
|
attr_reader :properties
|
|
21
28
|
|
|
@@ -60,6 +67,8 @@ module Orb
|
|
|
60
67
|
params(
|
|
61
68
|
id: String,
|
|
62
69
|
created_at: Time,
|
|
70
|
+
payload_style:
|
|
71
|
+
Orb::SubscriptionEditedWebhookEvent::PayloadStyle::OrSymbol,
|
|
63
72
|
properties: Orb::SubscriptionEditedWebhookEvent::Properties::OrHash,
|
|
64
73
|
subscription: Orb::Subscription::OrHash,
|
|
65
74
|
type: Orb::SubscriptionEditedWebhookEvent::Type::OrSymbol
|
|
@@ -70,6 +79,9 @@ module Orb
|
|
|
70
79
|
id:,
|
|
71
80
|
# The time at which this event was created, to the second.
|
|
72
81
|
created_at:,
|
|
82
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
83
|
+
# endpoint.
|
|
84
|
+
payload_style:,
|
|
73
85
|
properties:,
|
|
74
86
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
75
87
|
# by a customer.
|
|
@@ -101,6 +113,8 @@ module Orb
|
|
|
101
113
|
{
|
|
102
114
|
id: String,
|
|
103
115
|
created_at: Time,
|
|
116
|
+
payload_style:
|
|
117
|
+
Orb::SubscriptionEditedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
104
118
|
properties: Orb::SubscriptionEditedWebhookEvent::Properties,
|
|
105
119
|
subscription: Orb::Subscription,
|
|
106
120
|
type: Orb::SubscriptionEditedWebhookEvent::Type::TaggedSymbol
|
|
@@ -110,6 +124,39 @@ module Orb
|
|
|
110
124
|
def to_hash
|
|
111
125
|
end
|
|
112
126
|
|
|
127
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
128
|
+
# endpoint.
|
|
129
|
+
module PayloadStyle
|
|
130
|
+
extend Orb::Internal::Type::Enum
|
|
131
|
+
|
|
132
|
+
TaggedSymbol =
|
|
133
|
+
T.type_alias do
|
|
134
|
+
T.all(Symbol, Orb::SubscriptionEditedWebhookEvent::PayloadStyle)
|
|
135
|
+
end
|
|
136
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
137
|
+
|
|
138
|
+
EXPANDED =
|
|
139
|
+
T.let(
|
|
140
|
+
:expanded,
|
|
141
|
+
Orb::SubscriptionEditedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
142
|
+
)
|
|
143
|
+
STANDARD =
|
|
144
|
+
T.let(
|
|
145
|
+
:standard,
|
|
146
|
+
Orb::SubscriptionEditedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
147
|
+
)
|
|
148
|
+
|
|
149
|
+
sig do
|
|
150
|
+
override.returns(
|
|
151
|
+
T::Array[
|
|
152
|
+
Orb::SubscriptionEditedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
153
|
+
]
|
|
154
|
+
)
|
|
155
|
+
end
|
|
156
|
+
def self.values
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
|
|
113
160
|
class Properties < Orb::Internal::Type::BaseModel
|
|
114
161
|
OrHash =
|
|
115
162
|
T.type_alias do
|
|
@@ -16,6 +16,13 @@ module Orb
|
|
|
16
16
|
sig { returns(Time) }
|
|
17
17
|
attr_accessor :created_at
|
|
18
18
|
|
|
19
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
20
|
+
# endpoint.
|
|
21
|
+
sig do
|
|
22
|
+
returns(Orb::SubscriptionEndedWebhookEvent::PayloadStyle::TaggedSymbol)
|
|
23
|
+
end
|
|
24
|
+
attr_accessor :payload_style
|
|
25
|
+
|
|
19
26
|
sig { returns(T.anything) }
|
|
20
27
|
attr_accessor :properties
|
|
21
28
|
|
|
@@ -53,6 +60,8 @@ module Orb
|
|
|
53
60
|
params(
|
|
54
61
|
id: String,
|
|
55
62
|
created_at: Time,
|
|
63
|
+
payload_style:
|
|
64
|
+
Orb::SubscriptionEndedWebhookEvent::PayloadStyle::OrSymbol,
|
|
56
65
|
properties: T.anything,
|
|
57
66
|
subscription: Orb::Subscription::OrHash,
|
|
58
67
|
type: Orb::SubscriptionEndedWebhookEvent::Type::OrSymbol
|
|
@@ -63,6 +72,9 @@ module Orb
|
|
|
63
72
|
id:,
|
|
64
73
|
# The time at which this event was created, to the second.
|
|
65
74
|
created_at:,
|
|
75
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
76
|
+
# endpoint.
|
|
77
|
+
payload_style:,
|
|
66
78
|
properties:,
|
|
67
79
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
68
80
|
# by a customer.
|
|
@@ -94,6 +106,8 @@ module Orb
|
|
|
94
106
|
{
|
|
95
107
|
id: String,
|
|
96
108
|
created_at: Time,
|
|
109
|
+
payload_style:
|
|
110
|
+
Orb::SubscriptionEndedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
97
111
|
properties: T.anything,
|
|
98
112
|
subscription: Orb::Subscription,
|
|
99
113
|
type: Orb::SubscriptionEndedWebhookEvent::Type::TaggedSymbol
|
|
@@ -103,6 +117,39 @@ module Orb
|
|
|
103
117
|
def to_hash
|
|
104
118
|
end
|
|
105
119
|
|
|
120
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
121
|
+
# endpoint.
|
|
122
|
+
module PayloadStyle
|
|
123
|
+
extend Orb::Internal::Type::Enum
|
|
124
|
+
|
|
125
|
+
TaggedSymbol =
|
|
126
|
+
T.type_alias do
|
|
127
|
+
T.all(Symbol, Orb::SubscriptionEndedWebhookEvent::PayloadStyle)
|
|
128
|
+
end
|
|
129
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
130
|
+
|
|
131
|
+
EXPANDED =
|
|
132
|
+
T.let(
|
|
133
|
+
:expanded,
|
|
134
|
+
Orb::SubscriptionEndedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
135
|
+
)
|
|
136
|
+
STANDARD =
|
|
137
|
+
T.let(
|
|
138
|
+
:standard,
|
|
139
|
+
Orb::SubscriptionEndedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
140
|
+
)
|
|
141
|
+
|
|
142
|
+
sig do
|
|
143
|
+
override.returns(
|
|
144
|
+
T::Array[
|
|
145
|
+
Orb::SubscriptionEndedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
146
|
+
]
|
|
147
|
+
)
|
|
148
|
+
end
|
|
149
|
+
def self.values
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
|
|
106
153
|
# The event this payload describes.
|
|
107
154
|
module Type
|
|
108
155
|
extend Orb::Internal::Type::Enum
|
|
@@ -19,6 +19,15 @@ module Orb
|
|
|
19
19
|
sig { returns(Time) }
|
|
20
20
|
attr_accessor :created_at
|
|
21
21
|
|
|
22
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
23
|
+
# endpoint.
|
|
24
|
+
sig do
|
|
25
|
+
returns(
|
|
26
|
+
Orb::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig do
|
|
23
32
|
returns(
|
|
24
33
|
Orb::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::Properties
|
|
@@ -72,6 +81,8 @@ module Orb
|
|
|
72
81
|
params(
|
|
73
82
|
id: String,
|
|
74
83
|
created_at: Time,
|
|
84
|
+
payload_style:
|
|
85
|
+
Orb::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::PayloadStyle::OrSymbol,
|
|
75
86
|
properties:
|
|
76
87
|
Orb::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::Properties::OrHash,
|
|
77
88
|
subscription: Orb::Subscription::OrHash,
|
|
@@ -84,6 +95,9 @@ module Orb
|
|
|
84
95
|
id:,
|
|
85
96
|
# The time at which this event was created, to the second.
|
|
86
97
|
created_at:,
|
|
98
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
99
|
+
# endpoint.
|
|
100
|
+
payload_style:,
|
|
87
101
|
properties:,
|
|
88
102
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
89
103
|
# by a customer.
|
|
@@ -115,6 +129,8 @@ module Orb
|
|
|
115
129
|
{
|
|
116
130
|
id: String,
|
|
117
131
|
created_at: Time,
|
|
132
|
+
payload_style:
|
|
133
|
+
Orb::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
118
134
|
properties:
|
|
119
135
|
Orb::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::Properties,
|
|
120
136
|
subscription: Orb::Subscription,
|
|
@@ -126,6 +142,42 @@ module Orb
|
|
|
126
142
|
def to_hash
|
|
127
143
|
end
|
|
128
144
|
|
|
145
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
146
|
+
# endpoint.
|
|
147
|
+
module PayloadStyle
|
|
148
|
+
extend Orb::Internal::Type::Enum
|
|
149
|
+
|
|
150
|
+
TaggedSymbol =
|
|
151
|
+
T.type_alias do
|
|
152
|
+
T.all(
|
|
153
|
+
Symbol,
|
|
154
|
+
Orb::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::PayloadStyle
|
|
155
|
+
)
|
|
156
|
+
end
|
|
157
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
158
|
+
|
|
159
|
+
EXPANDED =
|
|
160
|
+
T.let(
|
|
161
|
+
:expanded,
|
|
162
|
+
Orb::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
163
|
+
)
|
|
164
|
+
STANDARD =
|
|
165
|
+
T.let(
|
|
166
|
+
:standard,
|
|
167
|
+
Orb::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
sig do
|
|
171
|
+
override.returns(
|
|
172
|
+
T::Array[
|
|
173
|
+
Orb::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
174
|
+
]
|
|
175
|
+
)
|
|
176
|
+
end
|
|
177
|
+
def self.values
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
|
|
129
181
|
class Properties < Orb::Internal::Type::BaseModel
|
|
130
182
|
OrHash =
|
|
131
183
|
T.type_alias do
|
|
@@ -19,6 +19,15 @@ module Orb
|
|
|
19
19
|
sig { returns(Time) }
|
|
20
20
|
attr_accessor :created_at
|
|
21
21
|
|
|
22
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
23
|
+
# endpoint.
|
|
24
|
+
sig do
|
|
25
|
+
returns(
|
|
26
|
+
Orb::SubscriptionGroupedCostExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
# Every group that crossed a threshold for one alert, batched into a single
|
|
23
32
|
# message.
|
|
24
33
|
sig do
|
|
@@ -64,6 +73,8 @@ module Orb
|
|
|
64
73
|
params(
|
|
65
74
|
id: String,
|
|
66
75
|
created_at: Time,
|
|
76
|
+
payload_style:
|
|
77
|
+
Orb::SubscriptionGroupedCostExceededWebhookEvent::PayloadStyle::OrSymbol,
|
|
67
78
|
properties:
|
|
68
79
|
Orb::SubscriptionGroupedCostExceededWebhookEvent::Properties::OrHash,
|
|
69
80
|
subscription:
|
|
@@ -76,6 +87,9 @@ module Orb
|
|
|
76
87
|
id:,
|
|
77
88
|
# The time at which this event was created, to the second.
|
|
78
89
|
created_at:,
|
|
90
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
91
|
+
# endpoint.
|
|
92
|
+
payload_style:,
|
|
79
93
|
# Every group that crossed a threshold for one alert, batched into a single
|
|
80
94
|
# message.
|
|
81
95
|
properties:,
|
|
@@ -94,6 +108,8 @@ module Orb
|
|
|
94
108
|
{
|
|
95
109
|
id: String,
|
|
96
110
|
created_at: Time,
|
|
111
|
+
payload_style:
|
|
112
|
+
Orb::SubscriptionGroupedCostExceededWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
97
113
|
properties:
|
|
98
114
|
Orb::SubscriptionGroupedCostExceededWebhookEvent::Properties,
|
|
99
115
|
subscription:
|
|
@@ -106,6 +122,42 @@ module Orb
|
|
|
106
122
|
def to_hash
|
|
107
123
|
end
|
|
108
124
|
|
|
125
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
126
|
+
# endpoint.
|
|
127
|
+
module PayloadStyle
|
|
128
|
+
extend Orb::Internal::Type::Enum
|
|
129
|
+
|
|
130
|
+
TaggedSymbol =
|
|
131
|
+
T.type_alias do
|
|
132
|
+
T.all(
|
|
133
|
+
Symbol,
|
|
134
|
+
Orb::SubscriptionGroupedCostExceededWebhookEvent::PayloadStyle
|
|
135
|
+
)
|
|
136
|
+
end
|
|
137
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
138
|
+
|
|
139
|
+
EXPANDED =
|
|
140
|
+
T.let(
|
|
141
|
+
:expanded,
|
|
142
|
+
Orb::SubscriptionGroupedCostExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
143
|
+
)
|
|
144
|
+
STANDARD =
|
|
145
|
+
T.let(
|
|
146
|
+
:standard,
|
|
147
|
+
Orb::SubscriptionGroupedCostExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
148
|
+
)
|
|
149
|
+
|
|
150
|
+
sig do
|
|
151
|
+
override.returns(
|
|
152
|
+
T::Array[
|
|
153
|
+
Orb::SubscriptionGroupedCostExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
154
|
+
]
|
|
155
|
+
)
|
|
156
|
+
end
|
|
157
|
+
def self.values
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
|
|
109
161
|
class Properties < Orb::Internal::Type::BaseModel
|
|
110
162
|
OrHash =
|
|
111
163
|
T.type_alias do
|