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::SubscriptionInvoicingThresholdExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig do
|
|
23
32
|
returns(
|
|
24
33
|
Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::Properties
|
|
@@ -67,6 +76,8 @@ module Orb
|
|
|
67
76
|
params(
|
|
68
77
|
id: String,
|
|
69
78
|
created_at: Time,
|
|
79
|
+
payload_style:
|
|
80
|
+
Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::PayloadStyle::OrSymbol,
|
|
70
81
|
properties:
|
|
71
82
|
Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::Properties::OrHash,
|
|
72
83
|
subscription:
|
|
@@ -80,6 +91,9 @@ module Orb
|
|
|
80
91
|
id:,
|
|
81
92
|
# The time at which this event was created, to the second.
|
|
82
93
|
created_at:,
|
|
94
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
95
|
+
# endpoint.
|
|
96
|
+
payload_style:,
|
|
83
97
|
properties:,
|
|
84
98
|
# A lightweight subscription representation for webhook payloads.
|
|
85
99
|
#
|
|
@@ -96,6 +110,8 @@ module Orb
|
|
|
96
110
|
{
|
|
97
111
|
id: String,
|
|
98
112
|
created_at: Time,
|
|
113
|
+
payload_style:
|
|
114
|
+
Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
99
115
|
properties:
|
|
100
116
|
Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::Properties,
|
|
101
117
|
subscription:
|
|
@@ -108,6 +124,42 @@ module Orb
|
|
|
108
124
|
def to_hash
|
|
109
125
|
end
|
|
110
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(
|
|
135
|
+
Symbol,
|
|
136
|
+
Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::PayloadStyle
|
|
137
|
+
)
|
|
138
|
+
end
|
|
139
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
140
|
+
|
|
141
|
+
EXPANDED =
|
|
142
|
+
T.let(
|
|
143
|
+
:expanded,
|
|
144
|
+
Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
145
|
+
)
|
|
146
|
+
STANDARD =
|
|
147
|
+
T.let(
|
|
148
|
+
:standard,
|
|
149
|
+
Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
150
|
+
)
|
|
151
|
+
|
|
152
|
+
sig do
|
|
153
|
+
override.returns(
|
|
154
|
+
T::Array[
|
|
155
|
+
Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
156
|
+
]
|
|
157
|
+
)
|
|
158
|
+
end
|
|
159
|
+
def self.values
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
|
|
111
163
|
class Properties < Orb::Internal::Type::BaseModel
|
|
112
164
|
OrHash =
|
|
113
165
|
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::SubscriptionLicenseAllocationResetWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
# Fires at the start of a billing period when license allocations are replenished.
|
|
23
32
|
# Allocations sharing a billing period are batched into one message.
|
|
24
33
|
sig do
|
|
@@ -66,6 +75,8 @@ module Orb
|
|
|
66
75
|
params(
|
|
67
76
|
id: String,
|
|
68
77
|
created_at: Time,
|
|
78
|
+
payload_style:
|
|
79
|
+
Orb::SubscriptionLicenseAllocationResetWebhookEvent::PayloadStyle::OrSymbol,
|
|
69
80
|
properties:
|
|
70
81
|
Orb::SubscriptionLicenseAllocationResetWebhookEvent::Properties::OrHash,
|
|
71
82
|
subscription:
|
|
@@ -79,6 +90,9 @@ module Orb
|
|
|
79
90
|
id:,
|
|
80
91
|
# The time at which this event was created, to the second.
|
|
81
92
|
created_at:,
|
|
93
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
94
|
+
# endpoint.
|
|
95
|
+
payload_style:,
|
|
82
96
|
# Fires at the start of a billing period when license allocations are replenished.
|
|
83
97
|
# Allocations sharing a billing period are batched into one message.
|
|
84
98
|
properties:,
|
|
@@ -97,6 +111,8 @@ module Orb
|
|
|
97
111
|
{
|
|
98
112
|
id: String,
|
|
99
113
|
created_at: Time,
|
|
114
|
+
payload_style:
|
|
115
|
+
Orb::SubscriptionLicenseAllocationResetWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
100
116
|
properties:
|
|
101
117
|
Orb::SubscriptionLicenseAllocationResetWebhookEvent::Properties,
|
|
102
118
|
subscription:
|
|
@@ -109,6 +125,42 @@ module Orb
|
|
|
109
125
|
def to_hash
|
|
110
126
|
end
|
|
111
127
|
|
|
128
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
129
|
+
# endpoint.
|
|
130
|
+
module PayloadStyle
|
|
131
|
+
extend Orb::Internal::Type::Enum
|
|
132
|
+
|
|
133
|
+
TaggedSymbol =
|
|
134
|
+
T.type_alias do
|
|
135
|
+
T.all(
|
|
136
|
+
Symbol,
|
|
137
|
+
Orb::SubscriptionLicenseAllocationResetWebhookEvent::PayloadStyle
|
|
138
|
+
)
|
|
139
|
+
end
|
|
140
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
141
|
+
|
|
142
|
+
EXPANDED =
|
|
143
|
+
T.let(
|
|
144
|
+
:expanded,
|
|
145
|
+
Orb::SubscriptionLicenseAllocationResetWebhookEvent::PayloadStyle::TaggedSymbol
|
|
146
|
+
)
|
|
147
|
+
STANDARD =
|
|
148
|
+
T.let(
|
|
149
|
+
:standard,
|
|
150
|
+
Orb::SubscriptionLicenseAllocationResetWebhookEvent::PayloadStyle::TaggedSymbol
|
|
151
|
+
)
|
|
152
|
+
|
|
153
|
+
sig do
|
|
154
|
+
override.returns(
|
|
155
|
+
T::Array[
|
|
156
|
+
Orb::SubscriptionLicenseAllocationResetWebhookEvent::PayloadStyle::TaggedSymbol
|
|
157
|
+
]
|
|
158
|
+
)
|
|
159
|
+
end
|
|
160
|
+
def self.values
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
|
|
112
164
|
class Properties < Orb::Internal::Type::BaseModel
|
|
113
165
|
OrHash =
|
|
114
166
|
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::SubscriptionLicenseBalanceThresholdReachedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
# Every license that crossed a threshold for one alert, batched into a single
|
|
23
32
|
# message. For account-wide alerts the licenses may span several license types.
|
|
24
33
|
sig do
|
|
@@ -68,6 +77,8 @@ module Orb
|
|
|
68
77
|
params(
|
|
69
78
|
id: String,
|
|
70
79
|
created_at: Time,
|
|
80
|
+
payload_style:
|
|
81
|
+
Orb::SubscriptionLicenseBalanceThresholdReachedWebhookEvent::PayloadStyle::OrSymbol,
|
|
71
82
|
properties:
|
|
72
83
|
Orb::SubscriptionLicenseBalanceThresholdReachedWebhookEvent::Properties::OrHash,
|
|
73
84
|
subscription:
|
|
@@ -81,6 +92,9 @@ module Orb
|
|
|
81
92
|
id:,
|
|
82
93
|
# The time at which this event was created, to the second.
|
|
83
94
|
created_at:,
|
|
95
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
96
|
+
# endpoint.
|
|
97
|
+
payload_style:,
|
|
84
98
|
# Every license that crossed a threshold for one alert, batched into a single
|
|
85
99
|
# message. For account-wide alerts the licenses may span several license types.
|
|
86
100
|
properties:,
|
|
@@ -99,6 +113,8 @@ module Orb
|
|
|
99
113
|
{
|
|
100
114
|
id: String,
|
|
101
115
|
created_at: Time,
|
|
116
|
+
payload_style:
|
|
117
|
+
Orb::SubscriptionLicenseBalanceThresholdReachedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
102
118
|
properties:
|
|
103
119
|
Orb::SubscriptionLicenseBalanceThresholdReachedWebhookEvent::Properties,
|
|
104
120
|
subscription:
|
|
@@ -111,6 +127,42 @@ module Orb
|
|
|
111
127
|
def to_hash
|
|
112
128
|
end
|
|
113
129
|
|
|
130
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
131
|
+
# endpoint.
|
|
132
|
+
module PayloadStyle
|
|
133
|
+
extend Orb::Internal::Type::Enum
|
|
134
|
+
|
|
135
|
+
TaggedSymbol =
|
|
136
|
+
T.type_alias do
|
|
137
|
+
T.all(
|
|
138
|
+
Symbol,
|
|
139
|
+
Orb::SubscriptionLicenseBalanceThresholdReachedWebhookEvent::PayloadStyle
|
|
140
|
+
)
|
|
141
|
+
end
|
|
142
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
143
|
+
|
|
144
|
+
EXPANDED =
|
|
145
|
+
T.let(
|
|
146
|
+
:expanded,
|
|
147
|
+
Orb::SubscriptionLicenseBalanceThresholdReachedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
148
|
+
)
|
|
149
|
+
STANDARD =
|
|
150
|
+
T.let(
|
|
151
|
+
:standard,
|
|
152
|
+
Orb::SubscriptionLicenseBalanceThresholdReachedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
153
|
+
)
|
|
154
|
+
|
|
155
|
+
sig do
|
|
156
|
+
override.returns(
|
|
157
|
+
T::Array[
|
|
158
|
+
Orb::SubscriptionLicenseBalanceThresholdReachedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
159
|
+
]
|
|
160
|
+
)
|
|
161
|
+
end
|
|
162
|
+
def self.values
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
|
|
114
166
|
class Properties < Orb::Internal::Type::BaseModel
|
|
115
167
|
OrHash =
|
|
116
168
|
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::SubscriptionPlanChangeScheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig do
|
|
23
32
|
returns(Orb::SubscriptionPlanChangeScheduledWebhookEvent::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::SubscriptionPlanChangeScheduledWebhookEvent::PayloadStyle::OrSymbol,
|
|
73
84
|
properties:
|
|
74
85
|
Orb::SubscriptionPlanChangeScheduledWebhookEvent::Properties::OrHash,
|
|
75
86
|
subscription: Orb::Subscription::OrHash,
|
|
@@ -81,6 +92,9 @@ module Orb
|
|
|
81
92
|
id:,
|
|
82
93
|
# The time at which this event was created, to the second.
|
|
83
94
|
created_at:,
|
|
95
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
96
|
+
# endpoint.
|
|
97
|
+
payload_style:,
|
|
84
98
|
properties:,
|
|
85
99
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
86
100
|
# by a customer.
|
|
@@ -112,6 +126,8 @@ module Orb
|
|
|
112
126
|
{
|
|
113
127
|
id: String,
|
|
114
128
|
created_at: Time,
|
|
129
|
+
payload_style:
|
|
130
|
+
Orb::SubscriptionPlanChangeScheduledWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
115
131
|
properties:
|
|
116
132
|
Orb::SubscriptionPlanChangeScheduledWebhookEvent::Properties,
|
|
117
133
|
subscription: Orb::Subscription,
|
|
@@ -123,6 +139,42 @@ module Orb
|
|
|
123
139
|
def to_hash
|
|
124
140
|
end
|
|
125
141
|
|
|
142
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
143
|
+
# endpoint.
|
|
144
|
+
module PayloadStyle
|
|
145
|
+
extend Orb::Internal::Type::Enum
|
|
146
|
+
|
|
147
|
+
TaggedSymbol =
|
|
148
|
+
T.type_alias do
|
|
149
|
+
T.all(
|
|
150
|
+
Symbol,
|
|
151
|
+
Orb::SubscriptionPlanChangeScheduledWebhookEvent::PayloadStyle
|
|
152
|
+
)
|
|
153
|
+
end
|
|
154
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
155
|
+
|
|
156
|
+
EXPANDED =
|
|
157
|
+
T.let(
|
|
158
|
+
:expanded,
|
|
159
|
+
Orb::SubscriptionPlanChangeScheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
160
|
+
)
|
|
161
|
+
STANDARD =
|
|
162
|
+
T.let(
|
|
163
|
+
:standard,
|
|
164
|
+
Orb::SubscriptionPlanChangeScheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
165
|
+
)
|
|
166
|
+
|
|
167
|
+
sig do
|
|
168
|
+
override.returns(
|
|
169
|
+
T::Array[
|
|
170
|
+
Orb::SubscriptionPlanChangeScheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
171
|
+
]
|
|
172
|
+
)
|
|
173
|
+
end
|
|
174
|
+
def self.values
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
|
|
126
178
|
class Properties < Orb::Internal::Type::BaseModel
|
|
127
179
|
OrHash =
|
|
128
180
|
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::SubscriptionPlanChangedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig { returns(Orb::SubscriptionPlanChangedWebhookEvent::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::SubscriptionPlanChangedWebhookEvent::PayloadStyle::OrSymbol,
|
|
69
80
|
properties:
|
|
70
81
|
Orb::SubscriptionPlanChangedWebhookEvent::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::SubscriptionPlanChangedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
111
127
|
properties: Orb::SubscriptionPlanChangedWebhookEvent::Properties,
|
|
112
128
|
subscription: Orb::Subscription,
|
|
113
129
|
type: Orb::SubscriptionPlanChangedWebhookEvent::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::SubscriptionPlanChangedWebhookEvent::PayloadStyle
|
|
146
|
+
)
|
|
147
|
+
end
|
|
148
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
149
|
+
|
|
150
|
+
EXPANDED =
|
|
151
|
+
T.let(
|
|
152
|
+
:expanded,
|
|
153
|
+
Orb::SubscriptionPlanChangedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
154
|
+
)
|
|
155
|
+
STANDARD =
|
|
156
|
+
T.let(
|
|
157
|
+
:standard,
|
|
158
|
+
Orb::SubscriptionPlanChangedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
159
|
+
)
|
|
160
|
+
|
|
161
|
+
sig do
|
|
162
|
+
override.returns(
|
|
163
|
+
T::Array[
|
|
164
|
+
Orb::SubscriptionPlanChangedWebhookEvent::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
|
|
@@ -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::SubscriptionPlanVersionChangeScheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig do
|
|
23
32
|
returns(
|
|
24
33
|
Orb::SubscriptionPlanVersionChangeScheduledWebhookEvent::Properties
|
|
@@ -72,6 +81,8 @@ module Orb
|
|
|
72
81
|
params(
|
|
73
82
|
id: String,
|
|
74
83
|
created_at: Time,
|
|
84
|
+
payload_style:
|
|
85
|
+
Orb::SubscriptionPlanVersionChangeScheduledWebhookEvent::PayloadStyle::OrSymbol,
|
|
75
86
|
properties:
|
|
76
87
|
Orb::SubscriptionPlanVersionChangeScheduledWebhookEvent::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::SubscriptionPlanVersionChangeScheduledWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
118
134
|
properties:
|
|
119
135
|
Orb::SubscriptionPlanVersionChangeScheduledWebhookEvent::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::SubscriptionPlanVersionChangeScheduledWebhookEvent::PayloadStyle
|
|
155
|
+
)
|
|
156
|
+
end
|
|
157
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
158
|
+
|
|
159
|
+
EXPANDED =
|
|
160
|
+
T.let(
|
|
161
|
+
:expanded,
|
|
162
|
+
Orb::SubscriptionPlanVersionChangeScheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
163
|
+
)
|
|
164
|
+
STANDARD =
|
|
165
|
+
T.let(
|
|
166
|
+
:standard,
|
|
167
|
+
Orb::SubscriptionPlanVersionChangeScheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
sig do
|
|
171
|
+
override.returns(
|
|
172
|
+
T::Array[
|
|
173
|
+
Orb::SubscriptionPlanVersionChangeScheduledWebhookEvent::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::SubscriptionPlanVersionChangedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig do
|
|
23
32
|
returns(Orb::SubscriptionPlanVersionChangedWebhookEvent::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::SubscriptionPlanVersionChangedWebhookEvent::PayloadStyle::OrSymbol,
|
|
73
84
|
properties:
|
|
74
85
|
Orb::SubscriptionPlanVersionChangedWebhookEvent::Properties::OrHash,
|
|
75
86
|
subscription: Orb::Subscription::OrHash,
|
|
@@ -81,6 +92,9 @@ module Orb
|
|
|
81
92
|
id:,
|
|
82
93
|
# The time at which this event was created, to the second.
|
|
83
94
|
created_at:,
|
|
95
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
96
|
+
# endpoint.
|
|
97
|
+
payload_style:,
|
|
84
98
|
properties:,
|
|
85
99
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
86
100
|
# by a customer.
|
|
@@ -112,6 +126,8 @@ module Orb
|
|
|
112
126
|
{
|
|
113
127
|
id: String,
|
|
114
128
|
created_at: Time,
|
|
129
|
+
payload_style:
|
|
130
|
+
Orb::SubscriptionPlanVersionChangedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
115
131
|
properties:
|
|
116
132
|
Orb::SubscriptionPlanVersionChangedWebhookEvent::Properties,
|
|
117
133
|
subscription: Orb::Subscription,
|
|
@@ -123,6 +139,42 @@ module Orb
|
|
|
123
139
|
def to_hash
|
|
124
140
|
end
|
|
125
141
|
|
|
142
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
143
|
+
# endpoint.
|
|
144
|
+
module PayloadStyle
|
|
145
|
+
extend Orb::Internal::Type::Enum
|
|
146
|
+
|
|
147
|
+
TaggedSymbol =
|
|
148
|
+
T.type_alias do
|
|
149
|
+
T.all(
|
|
150
|
+
Symbol,
|
|
151
|
+
Orb::SubscriptionPlanVersionChangedWebhookEvent::PayloadStyle
|
|
152
|
+
)
|
|
153
|
+
end
|
|
154
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
155
|
+
|
|
156
|
+
EXPANDED =
|
|
157
|
+
T.let(
|
|
158
|
+
:expanded,
|
|
159
|
+
Orb::SubscriptionPlanVersionChangedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
160
|
+
)
|
|
161
|
+
STANDARD =
|
|
162
|
+
T.let(
|
|
163
|
+
:standard,
|
|
164
|
+
Orb::SubscriptionPlanVersionChangedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
165
|
+
)
|
|
166
|
+
|
|
167
|
+
sig do
|
|
168
|
+
override.returns(
|
|
169
|
+
T::Array[
|
|
170
|
+
Orb::SubscriptionPlanVersionChangedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
171
|
+
]
|
|
172
|
+
)
|
|
173
|
+
end
|
|
174
|
+
def self.values
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
|
|
126
178
|
class Properties < Orb::Internal::Type::BaseModel
|
|
127
179
|
OrHash =
|
|
128
180
|
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::SubscriptionSpendExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig { returns(Orb::SubscriptionSpendExceededWebhookEvent::Properties) }
|
|
23
32
|
attr_reader :properties
|
|
24
33
|
|
|
@@ -67,6 +76,8 @@ module Orb
|
|
|
67
76
|
params(
|
|
68
77
|
id: String,
|
|
69
78
|
created_at: Time,
|
|
79
|
+
payload_style:
|
|
80
|
+
Orb::SubscriptionSpendExceededWebhookEvent::PayloadStyle::OrSymbol,
|
|
70
81
|
properties:
|
|
71
82
|
Orb::SubscriptionSpendExceededWebhookEvent::Properties::OrHash,
|
|
72
83
|
subscription: Orb::Subscription::OrHash,
|
|
@@ -78,6 +89,9 @@ module Orb
|
|
|
78
89
|
id:,
|
|
79
90
|
# The time at which this event was created, to the second.
|
|
80
91
|
created_at:,
|
|
92
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
93
|
+
# endpoint.
|
|
94
|
+
payload_style:,
|
|
81
95
|
properties:,
|
|
82
96
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
83
97
|
# by a customer.
|
|
@@ -109,6 +123,8 @@ module Orb
|
|
|
109
123
|
{
|
|
110
124
|
id: String,
|
|
111
125
|
created_at: Time,
|
|
126
|
+
payload_style:
|
|
127
|
+
Orb::SubscriptionSpendExceededWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
112
128
|
properties: Orb::SubscriptionSpendExceededWebhookEvent::Properties,
|
|
113
129
|
subscription: Orb::Subscription,
|
|
114
130
|
type: Orb::SubscriptionSpendExceededWebhookEvent::Type::TaggedSymbol
|
|
@@ -118,6 +134,42 @@ module Orb
|
|
|
118
134
|
def to_hash
|
|
119
135
|
end
|
|
120
136
|
|
|
137
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
138
|
+
# endpoint.
|
|
139
|
+
module PayloadStyle
|
|
140
|
+
extend Orb::Internal::Type::Enum
|
|
141
|
+
|
|
142
|
+
TaggedSymbol =
|
|
143
|
+
T.type_alias do
|
|
144
|
+
T.all(
|
|
145
|
+
Symbol,
|
|
146
|
+
Orb::SubscriptionSpendExceededWebhookEvent::PayloadStyle
|
|
147
|
+
)
|
|
148
|
+
end
|
|
149
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
150
|
+
|
|
151
|
+
EXPANDED =
|
|
152
|
+
T.let(
|
|
153
|
+
:expanded,
|
|
154
|
+
Orb::SubscriptionSpendExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
155
|
+
)
|
|
156
|
+
STANDARD =
|
|
157
|
+
T.let(
|
|
158
|
+
:standard,
|
|
159
|
+
Orb::SubscriptionSpendExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
160
|
+
)
|
|
161
|
+
|
|
162
|
+
sig do
|
|
163
|
+
override.returns(
|
|
164
|
+
T::Array[
|
|
165
|
+
Orb::SubscriptionSpendExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
166
|
+
]
|
|
167
|
+
)
|
|
168
|
+
end
|
|
169
|
+
def self.values
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
|
|
121
173
|
class Properties < Orb::Internal::Type::BaseModel
|
|
122
174
|
OrHash =
|
|
123
175
|
T.type_alias do
|