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
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::PaymentMethodCreatedWebhookEvent::payload_style,
|
|
7
8
|
payment_method: Orb::PaymentMethodCreatedWebhookEvent::PaymentMethod,
|
|
8
9
|
properties: top,
|
|
9
10
|
type: Orb::Models::PaymentMethodCreatedWebhookEvent::type_
|
|
@@ -14,6 +15,8 @@ module Orb
|
|
|
14
15
|
|
|
15
16
|
attr_accessor created_at: Time
|
|
16
17
|
|
|
18
|
+
attr_accessor payload_style: Orb::Models::PaymentMethodCreatedWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor payment_method: Orb::PaymentMethodCreatedWebhookEvent::PaymentMethod
|
|
18
21
|
|
|
19
22
|
attr_accessor properties: top
|
|
@@ -23,6 +26,7 @@ module Orb
|
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
created_at: Time,
|
|
29
|
+
payload_style: Orb::Models::PaymentMethodCreatedWebhookEvent::payload_style,
|
|
26
30
|
payment_method: Orb::PaymentMethodCreatedWebhookEvent::PaymentMethod,
|
|
27
31
|
properties: top,
|
|
28
32
|
type: Orb::Models::PaymentMethodCreatedWebhookEvent::type_
|
|
@@ -31,11 +35,23 @@ module Orb
|
|
|
31
35
|
def to_hash: -> {
|
|
32
36
|
id: String,
|
|
33
37
|
created_at: Time,
|
|
38
|
+
payload_style: Orb::Models::PaymentMethodCreatedWebhookEvent::payload_style,
|
|
34
39
|
payment_method: Orb::PaymentMethodCreatedWebhookEvent::PaymentMethod,
|
|
35
40
|
properties: top,
|
|
36
41
|
type: Orb::Models::PaymentMethodCreatedWebhookEvent::type_
|
|
37
42
|
}
|
|
38
43
|
|
|
44
|
+
type payload_style = :expanded | :standard
|
|
45
|
+
|
|
46
|
+
module PayloadStyle
|
|
47
|
+
extend Orb::Internal::Type::Enum
|
|
48
|
+
|
|
49
|
+
EXPANDED: :expanded
|
|
50
|
+
STANDARD: :standard
|
|
51
|
+
|
|
52
|
+
def self?.values: -> ::Array[Orb::Models::PaymentMethodCreatedWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type payment_method =
|
|
40
56
|
{
|
|
41
57
|
id: String,
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::PaymentMethodDeletedWebhookEvent::payload_style,
|
|
7
8
|
payment_method: Orb::PaymentMethodDeletedWebhookEvent::PaymentMethod,
|
|
8
9
|
properties: top,
|
|
9
10
|
type: Orb::Models::PaymentMethodDeletedWebhookEvent::type_
|
|
@@ -14,6 +15,8 @@ module Orb
|
|
|
14
15
|
|
|
15
16
|
attr_accessor created_at: Time
|
|
16
17
|
|
|
18
|
+
attr_accessor payload_style: Orb::Models::PaymentMethodDeletedWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor payment_method: Orb::PaymentMethodDeletedWebhookEvent::PaymentMethod
|
|
18
21
|
|
|
19
22
|
attr_accessor properties: top
|
|
@@ -23,6 +26,7 @@ module Orb
|
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
created_at: Time,
|
|
29
|
+
payload_style: Orb::Models::PaymentMethodDeletedWebhookEvent::payload_style,
|
|
26
30
|
payment_method: Orb::PaymentMethodDeletedWebhookEvent::PaymentMethod,
|
|
27
31
|
properties: top,
|
|
28
32
|
type: Orb::Models::PaymentMethodDeletedWebhookEvent::type_
|
|
@@ -31,11 +35,23 @@ module Orb
|
|
|
31
35
|
def to_hash: -> {
|
|
32
36
|
id: String,
|
|
33
37
|
created_at: Time,
|
|
38
|
+
payload_style: Orb::Models::PaymentMethodDeletedWebhookEvent::payload_style,
|
|
34
39
|
payment_method: Orb::PaymentMethodDeletedWebhookEvent::PaymentMethod,
|
|
35
40
|
properties: top,
|
|
36
41
|
type: Orb::Models::PaymentMethodDeletedWebhookEvent::type_
|
|
37
42
|
}
|
|
38
43
|
|
|
44
|
+
type payload_style = :expanded | :standard
|
|
45
|
+
|
|
46
|
+
module PayloadStyle
|
|
47
|
+
extend Orb::Internal::Type::Enum
|
|
48
|
+
|
|
49
|
+
EXPANDED: :expanded
|
|
50
|
+
STANDARD: :standard
|
|
51
|
+
|
|
52
|
+
def self?.values: -> ::Array[Orb::Models::PaymentMethodDeletedWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type payment_method =
|
|
40
56
|
{
|
|
41
57
|
id: String,
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::PlanCreatedWebhookEvent::payload_style,
|
|
7
8
|
plan: Orb::PlanCreatedWebhookEvent::Plan,
|
|
8
9
|
properties: top,
|
|
9
10
|
type: Orb::Models::PlanCreatedWebhookEvent::type_
|
|
@@ -14,6 +15,8 @@ module Orb
|
|
|
14
15
|
|
|
15
16
|
attr_accessor created_at: Time
|
|
16
17
|
|
|
18
|
+
attr_accessor payload_style: Orb::Models::PlanCreatedWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor plan: Orb::PlanCreatedWebhookEvent::Plan
|
|
18
21
|
|
|
19
22
|
attr_accessor properties: top
|
|
@@ -23,6 +26,7 @@ module Orb
|
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
created_at: Time,
|
|
29
|
+
payload_style: Orb::Models::PlanCreatedWebhookEvent::payload_style,
|
|
26
30
|
plan: Orb::PlanCreatedWebhookEvent::Plan,
|
|
27
31
|
properties: top,
|
|
28
32
|
type: Orb::Models::PlanCreatedWebhookEvent::type_
|
|
@@ -31,11 +35,23 @@ module Orb
|
|
|
31
35
|
def to_hash: -> {
|
|
32
36
|
id: String,
|
|
33
37
|
created_at: Time,
|
|
38
|
+
payload_style: Orb::Models::PlanCreatedWebhookEvent::payload_style,
|
|
34
39
|
plan: Orb::PlanCreatedWebhookEvent::Plan,
|
|
35
40
|
properties: top,
|
|
36
41
|
type: Orb::Models::PlanCreatedWebhookEvent::type_
|
|
37
42
|
}
|
|
38
43
|
|
|
44
|
+
type payload_style = :expanded | :standard
|
|
45
|
+
|
|
46
|
+
module PayloadStyle
|
|
47
|
+
extend Orb::Internal::Type::Enum
|
|
48
|
+
|
|
49
|
+
EXPANDED: :expanded
|
|
50
|
+
STANDARD: :standard
|
|
51
|
+
|
|
52
|
+
def self?.values: -> ::Array[Orb::Models::PlanCreatedWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type plan = { id: String?, external_plan_id: String?, name: String? }
|
|
40
56
|
|
|
41
57
|
class Plan < Orb::Internal::Type::BaseModel
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::PlanDefaultVersionSetWebhookEvent::payload_style,
|
|
7
8
|
plan: Orb::PlanDefaultVersionSetWebhookEvent::Plan,
|
|
8
9
|
properties: Orb::PlanDefaultVersionSetWebhookEvent::Properties,
|
|
9
10
|
type: Orb::Models::PlanDefaultVersionSetWebhookEvent::type_
|
|
@@ -14,6 +15,8 @@ module Orb
|
|
|
14
15
|
|
|
15
16
|
attr_accessor created_at: Time
|
|
16
17
|
|
|
18
|
+
attr_accessor payload_style: Orb::Models::PlanDefaultVersionSetWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor plan: Orb::PlanDefaultVersionSetWebhookEvent::Plan
|
|
18
21
|
|
|
19
22
|
attr_accessor properties: Orb::PlanDefaultVersionSetWebhookEvent::Properties
|
|
@@ -23,6 +26,7 @@ module Orb
|
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
created_at: Time,
|
|
29
|
+
payload_style: Orb::Models::PlanDefaultVersionSetWebhookEvent::payload_style,
|
|
26
30
|
plan: Orb::PlanDefaultVersionSetWebhookEvent::Plan,
|
|
27
31
|
properties: Orb::PlanDefaultVersionSetWebhookEvent::Properties,
|
|
28
32
|
type: Orb::Models::PlanDefaultVersionSetWebhookEvent::type_
|
|
@@ -31,11 +35,23 @@ module Orb
|
|
|
31
35
|
def to_hash: -> {
|
|
32
36
|
id: String,
|
|
33
37
|
created_at: Time,
|
|
38
|
+
payload_style: Orb::Models::PlanDefaultVersionSetWebhookEvent::payload_style,
|
|
34
39
|
plan: Orb::PlanDefaultVersionSetWebhookEvent::Plan,
|
|
35
40
|
properties: Orb::PlanDefaultVersionSetWebhookEvent::Properties,
|
|
36
41
|
type: Orb::Models::PlanDefaultVersionSetWebhookEvent::type_
|
|
37
42
|
}
|
|
38
43
|
|
|
44
|
+
type payload_style = :expanded | :standard
|
|
45
|
+
|
|
46
|
+
module PayloadStyle
|
|
47
|
+
extend Orb::Internal::Type::Enum
|
|
48
|
+
|
|
49
|
+
EXPANDED: :expanded
|
|
50
|
+
STANDARD: :standard
|
|
51
|
+
|
|
52
|
+
def self?.values: -> ::Array[Orb::Models::PlanDefaultVersionSetWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type plan = { id: String?, external_plan_id: String?, name: String? }
|
|
40
56
|
|
|
41
57
|
class Plan < Orb::Internal::Type::BaseModel
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::PlanEditedWebhookEvent::payload_style,
|
|
7
8
|
plan: Orb::Plan,
|
|
8
9
|
properties: Orb::PlanEditedWebhookEvent::Properties,
|
|
9
10
|
type: Orb::Models::PlanEditedWebhookEvent::type_
|
|
@@ -14,6 +15,8 @@ module Orb
|
|
|
14
15
|
|
|
15
16
|
attr_accessor created_at: Time
|
|
16
17
|
|
|
18
|
+
attr_accessor payload_style: Orb::Models::PlanEditedWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor plan: Orb::Plan
|
|
18
21
|
|
|
19
22
|
attr_accessor properties: Orb::PlanEditedWebhookEvent::Properties
|
|
@@ -23,6 +26,7 @@ module Orb
|
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
created_at: Time,
|
|
29
|
+
payload_style: Orb::Models::PlanEditedWebhookEvent::payload_style,
|
|
26
30
|
plan: Orb::Plan,
|
|
27
31
|
properties: Orb::PlanEditedWebhookEvent::Properties,
|
|
28
32
|
type: Orb::Models::PlanEditedWebhookEvent::type_
|
|
@@ -31,11 +35,23 @@ module Orb
|
|
|
31
35
|
def to_hash: -> {
|
|
32
36
|
id: String,
|
|
33
37
|
created_at: Time,
|
|
38
|
+
payload_style: Orb::Models::PlanEditedWebhookEvent::payload_style,
|
|
34
39
|
plan: Orb::Plan,
|
|
35
40
|
properties: Orb::PlanEditedWebhookEvent::Properties,
|
|
36
41
|
type: Orb::Models::PlanEditedWebhookEvent::type_
|
|
37
42
|
}
|
|
38
43
|
|
|
44
|
+
type payload_style = :expanded | :standard
|
|
45
|
+
|
|
46
|
+
module PayloadStyle
|
|
47
|
+
extend Orb::Internal::Type::Enum
|
|
48
|
+
|
|
49
|
+
EXPANDED: :expanded
|
|
50
|
+
STANDARD: :standard
|
|
51
|
+
|
|
52
|
+
def self?.values: -> ::Array[Orb::Models::PlanEditedWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type properties =
|
|
40
56
|
{
|
|
41
57
|
previous_attributes: Orb::PlanEditedWebhookEvent::Properties::PreviousAttributes
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::PlanVersionCreatedWebhookEvent::payload_style,
|
|
7
8
|
plan: Orb::PlanVersionCreatedWebhookEvent::Plan,
|
|
8
9
|
properties: Orb::PlanVersionCreatedWebhookEvent::Properties,
|
|
9
10
|
type: Orb::Models::PlanVersionCreatedWebhookEvent::type_
|
|
@@ -14,6 +15,8 @@ module Orb
|
|
|
14
15
|
|
|
15
16
|
attr_accessor created_at: Time
|
|
16
17
|
|
|
18
|
+
attr_accessor payload_style: Orb::Models::PlanVersionCreatedWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor plan: Orb::PlanVersionCreatedWebhookEvent::Plan
|
|
18
21
|
|
|
19
22
|
attr_accessor properties: Orb::PlanVersionCreatedWebhookEvent::Properties
|
|
@@ -23,6 +26,7 @@ module Orb
|
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
created_at: Time,
|
|
29
|
+
payload_style: Orb::Models::PlanVersionCreatedWebhookEvent::payload_style,
|
|
26
30
|
plan: Orb::PlanVersionCreatedWebhookEvent::Plan,
|
|
27
31
|
properties: Orb::PlanVersionCreatedWebhookEvent::Properties,
|
|
28
32
|
type: Orb::Models::PlanVersionCreatedWebhookEvent::type_
|
|
@@ -31,11 +35,23 @@ module Orb
|
|
|
31
35
|
def to_hash: -> {
|
|
32
36
|
id: String,
|
|
33
37
|
created_at: Time,
|
|
38
|
+
payload_style: Orb::Models::PlanVersionCreatedWebhookEvent::payload_style,
|
|
34
39
|
plan: Orb::PlanVersionCreatedWebhookEvent::Plan,
|
|
35
40
|
properties: Orb::PlanVersionCreatedWebhookEvent::Properties,
|
|
36
41
|
type: Orb::Models::PlanVersionCreatedWebhookEvent::type_
|
|
37
42
|
}
|
|
38
43
|
|
|
44
|
+
type payload_style = :expanded | :standard
|
|
45
|
+
|
|
46
|
+
module PayloadStyle
|
|
47
|
+
extend Orb::Internal::Type::Enum
|
|
48
|
+
|
|
49
|
+
EXPANDED: :expanded
|
|
50
|
+
STANDARD: :standard
|
|
51
|
+
|
|
52
|
+
def self?.values: -> ::Array[Orb::Models::PlanVersionCreatedWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type plan = { id: String?, external_plan_id: String?, name: String? }
|
|
40
56
|
|
|
41
57
|
class Plan < Orb::Internal::Type::BaseModel
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::PriceEditedWebhookEvent::payload_style,
|
|
7
8
|
price: Orb::Models::price,
|
|
8
9
|
properties: Orb::PriceEditedWebhookEvent::Properties,
|
|
9
10
|
type: Orb::Models::PriceEditedWebhookEvent::type_
|
|
@@ -14,6 +15,8 @@ module Orb
|
|
|
14
15
|
|
|
15
16
|
attr_accessor created_at: Time
|
|
16
17
|
|
|
18
|
+
attr_accessor payload_style: Orb::Models::PriceEditedWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor price: Orb::Models::price
|
|
18
21
|
|
|
19
22
|
attr_accessor properties: Orb::PriceEditedWebhookEvent::Properties
|
|
@@ -23,6 +26,7 @@ module Orb
|
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
created_at: Time,
|
|
29
|
+
payload_style: Orb::Models::PriceEditedWebhookEvent::payload_style,
|
|
26
30
|
price: Orb::Models::price,
|
|
27
31
|
properties: Orb::PriceEditedWebhookEvent::Properties,
|
|
28
32
|
type: Orb::Models::PriceEditedWebhookEvent::type_
|
|
@@ -31,11 +35,23 @@ module Orb
|
|
|
31
35
|
def to_hash: -> {
|
|
32
36
|
id: String,
|
|
33
37
|
created_at: Time,
|
|
38
|
+
payload_style: Orb::Models::PriceEditedWebhookEvent::payload_style,
|
|
34
39
|
price: Orb::Models::price,
|
|
35
40
|
properties: Orb::PriceEditedWebhookEvent::Properties,
|
|
36
41
|
type: Orb::Models::PriceEditedWebhookEvent::type_
|
|
37
42
|
}
|
|
38
43
|
|
|
44
|
+
type payload_style = :expanded | :standard
|
|
45
|
+
|
|
46
|
+
module PayloadStyle
|
|
47
|
+
extend Orb::Internal::Type::Enum
|
|
48
|
+
|
|
49
|
+
EXPANDED: :expanded
|
|
50
|
+
STANDARD: :standard
|
|
51
|
+
|
|
52
|
+
def self?.values: -> ::Array[Orb::Models::PriceEditedWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type properties =
|
|
40
56
|
{
|
|
41
57
|
previous_attributes: Orb::PriceEditedWebhookEvent::Properties::PreviousAttributes
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::ResourceEventTestWebhookEvent::payload_style,
|
|
7
8
|
properties: Orb::ResourceEventTestWebhookEvent::Properties,
|
|
8
9
|
type: Orb::Models::ResourceEventTestWebhookEvent::type_
|
|
9
10
|
}
|
|
@@ -13,6 +14,8 @@ module Orb
|
|
|
13
14
|
|
|
14
15
|
attr_accessor created_at: Time
|
|
15
16
|
|
|
17
|
+
attr_accessor payload_style: Orb::Models::ResourceEventTestWebhookEvent::payload_style
|
|
18
|
+
|
|
16
19
|
attr_accessor properties: Orb::ResourceEventTestWebhookEvent::Properties
|
|
17
20
|
|
|
18
21
|
attr_accessor type: Orb::Models::ResourceEventTestWebhookEvent::type_
|
|
@@ -20,6 +23,7 @@ module Orb
|
|
|
20
23
|
def initialize: (
|
|
21
24
|
id: String,
|
|
22
25
|
created_at: Time,
|
|
26
|
+
payload_style: Orb::Models::ResourceEventTestWebhookEvent::payload_style,
|
|
23
27
|
properties: Orb::ResourceEventTestWebhookEvent::Properties,
|
|
24
28
|
type: Orb::Models::ResourceEventTestWebhookEvent::type_
|
|
25
29
|
) -> void
|
|
@@ -27,10 +31,22 @@ module Orb
|
|
|
27
31
|
def to_hash: -> {
|
|
28
32
|
id: String,
|
|
29
33
|
created_at: Time,
|
|
34
|
+
payload_style: Orb::Models::ResourceEventTestWebhookEvent::payload_style,
|
|
30
35
|
properties: Orb::ResourceEventTestWebhookEvent::Properties,
|
|
31
36
|
type: Orb::Models::ResourceEventTestWebhookEvent::type_
|
|
32
37
|
}
|
|
33
38
|
|
|
39
|
+
type payload_style = :expanded | :standard
|
|
40
|
+
|
|
41
|
+
module PayloadStyle
|
|
42
|
+
extend Orb::Internal::Type::Enum
|
|
43
|
+
|
|
44
|
+
EXPANDED: :expanded
|
|
45
|
+
STANDARD: :standard
|
|
46
|
+
|
|
47
|
+
def self?.values: -> ::Array[Orb::Models::ResourceEventTestWebhookEvent::payload_style]
|
|
48
|
+
end
|
|
49
|
+
|
|
34
50
|
type properties = { message: String }
|
|
35
51
|
|
|
36
52
|
class Properties < Orb::Internal::Type::BaseModel
|
|
@@ -6,6 +6,7 @@ module Orb
|
|
|
6
6
|
accounting_sync_record: Orb::SalesOrderAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
|
|
7
7
|
created_at: Time,
|
|
8
8
|
invoice: Orb::Invoice,
|
|
9
|
+
payload_style: Orb::Models::SalesOrderAccountingSyncFailedWebhookEvent::payload_style,
|
|
9
10
|
properties: Orb::SalesOrderAccountingSyncFailedWebhookEvent::Properties,
|
|
10
11
|
type: Orb::Models::SalesOrderAccountingSyncFailedWebhookEvent::type_
|
|
11
12
|
}
|
|
@@ -19,6 +20,8 @@ module Orb
|
|
|
19
20
|
|
|
20
21
|
attr_accessor invoice: Orb::Invoice
|
|
21
22
|
|
|
23
|
+
attr_accessor payload_style: Orb::Models::SalesOrderAccountingSyncFailedWebhookEvent::payload_style
|
|
24
|
+
|
|
22
25
|
attr_accessor properties: Orb::SalesOrderAccountingSyncFailedWebhookEvent::Properties
|
|
23
26
|
|
|
24
27
|
attr_accessor type: Orb::Models::SalesOrderAccountingSyncFailedWebhookEvent::type_
|
|
@@ -28,6 +31,7 @@ module Orb
|
|
|
28
31
|
accounting_sync_record: Orb::SalesOrderAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
|
|
29
32
|
created_at: Time,
|
|
30
33
|
invoice: Orb::Invoice,
|
|
34
|
+
payload_style: Orb::Models::SalesOrderAccountingSyncFailedWebhookEvent::payload_style,
|
|
31
35
|
properties: Orb::SalesOrderAccountingSyncFailedWebhookEvent::Properties,
|
|
32
36
|
type: Orb::Models::SalesOrderAccountingSyncFailedWebhookEvent::type_
|
|
33
37
|
) -> void
|
|
@@ -37,6 +41,7 @@ module Orb
|
|
|
37
41
|
accounting_sync_record: Orb::SalesOrderAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
|
|
38
42
|
created_at: Time,
|
|
39
43
|
invoice: Orb::Invoice,
|
|
44
|
+
payload_style: Orb::Models::SalesOrderAccountingSyncFailedWebhookEvent::payload_style,
|
|
40
45
|
properties: Orb::SalesOrderAccountingSyncFailedWebhookEvent::Properties,
|
|
41
46
|
type: Orb::Models::SalesOrderAccountingSyncFailedWebhookEvent::type_
|
|
42
47
|
}
|
|
@@ -118,6 +123,17 @@ module Orb
|
|
|
118
123
|
end
|
|
119
124
|
end
|
|
120
125
|
|
|
126
|
+
type payload_style = :expanded | :standard
|
|
127
|
+
|
|
128
|
+
module PayloadStyle
|
|
129
|
+
extend Orb::Internal::Type::Enum
|
|
130
|
+
|
|
131
|
+
EXPANDED: :expanded
|
|
132
|
+
STANDARD: :standard
|
|
133
|
+
|
|
134
|
+
def self?.values: -> ::Array[Orb::Models::SalesOrderAccountingSyncFailedWebhookEvent::payload_style]
|
|
135
|
+
end
|
|
136
|
+
|
|
121
137
|
type properties = { connection_type: String, failure_reason: String }
|
|
122
138
|
|
|
123
139
|
class Properties < Orb::Internal::Type::BaseModel
|
|
@@ -6,6 +6,7 @@ module Orb
|
|
|
6
6
|
accounting_sync_record: Orb::SalesOrderAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
|
|
7
7
|
created_at: Time,
|
|
8
8
|
invoice: Orb::Invoice,
|
|
9
|
+
payload_style: Orb::Models::SalesOrderAccountingSyncSucceededWebhookEvent::payload_style,
|
|
9
10
|
properties: Orb::SalesOrderAccountingSyncSucceededWebhookEvent::Properties,
|
|
10
11
|
type: Orb::Models::SalesOrderAccountingSyncSucceededWebhookEvent::type_
|
|
11
12
|
}
|
|
@@ -19,6 +20,8 @@ module Orb
|
|
|
19
20
|
|
|
20
21
|
attr_accessor invoice: Orb::Invoice
|
|
21
22
|
|
|
23
|
+
attr_accessor payload_style: Orb::Models::SalesOrderAccountingSyncSucceededWebhookEvent::payload_style
|
|
24
|
+
|
|
22
25
|
attr_accessor properties: Orb::SalesOrderAccountingSyncSucceededWebhookEvent::Properties
|
|
23
26
|
|
|
24
27
|
attr_accessor type: Orb::Models::SalesOrderAccountingSyncSucceededWebhookEvent::type_
|
|
@@ -28,6 +31,7 @@ module Orb
|
|
|
28
31
|
accounting_sync_record: Orb::SalesOrderAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
|
|
29
32
|
created_at: Time,
|
|
30
33
|
invoice: Orb::Invoice,
|
|
34
|
+
payload_style: Orb::Models::SalesOrderAccountingSyncSucceededWebhookEvent::payload_style,
|
|
31
35
|
properties: Orb::SalesOrderAccountingSyncSucceededWebhookEvent::Properties,
|
|
32
36
|
type: Orb::Models::SalesOrderAccountingSyncSucceededWebhookEvent::type_
|
|
33
37
|
) -> void
|
|
@@ -37,6 +41,7 @@ module Orb
|
|
|
37
41
|
accounting_sync_record: Orb::SalesOrderAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
|
|
38
42
|
created_at: Time,
|
|
39
43
|
invoice: Orb::Invoice,
|
|
44
|
+
payload_style: Orb::Models::SalesOrderAccountingSyncSucceededWebhookEvent::payload_style,
|
|
40
45
|
properties: Orb::SalesOrderAccountingSyncSucceededWebhookEvent::Properties,
|
|
41
46
|
type: Orb::Models::SalesOrderAccountingSyncSucceededWebhookEvent::type_
|
|
42
47
|
}
|
|
@@ -118,6 +123,17 @@ module Orb
|
|
|
118
123
|
end
|
|
119
124
|
end
|
|
120
125
|
|
|
126
|
+
type payload_style = :expanded | :standard
|
|
127
|
+
|
|
128
|
+
module PayloadStyle
|
|
129
|
+
extend Orb::Internal::Type::Enum
|
|
130
|
+
|
|
131
|
+
EXPANDED: :expanded
|
|
132
|
+
STANDARD: :standard
|
|
133
|
+
|
|
134
|
+
def self?.values: -> ::Array[Orb::Models::SalesOrderAccountingSyncSucceededWebhookEvent::payload_style]
|
|
135
|
+
end
|
|
136
|
+
|
|
121
137
|
type properties = { connection_type: String }
|
|
122
138
|
|
|
123
139
|
class Properties < Orb::Internal::Type::BaseModel
|
|
@@ -5,6 +5,7 @@ module Orb
|
|
|
5
5
|
id: String,
|
|
6
6
|
accounting_sync_record: Orb::SubscriptionAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
|
|
7
7
|
created_at: Time,
|
|
8
|
+
payload_style: Orb::Models::SubscriptionAccountingSyncFailedWebhookEvent::payload_style,
|
|
8
9
|
properties: Orb::SubscriptionAccountingSyncFailedWebhookEvent::Properties,
|
|
9
10
|
subscription: Orb::Subscription,
|
|
10
11
|
type: Orb::Models::SubscriptionAccountingSyncFailedWebhookEvent::type_
|
|
@@ -17,6 +18,8 @@ module Orb
|
|
|
17
18
|
|
|
18
19
|
attr_accessor created_at: Time
|
|
19
20
|
|
|
21
|
+
attr_accessor payload_style: Orb::Models::SubscriptionAccountingSyncFailedWebhookEvent::payload_style
|
|
22
|
+
|
|
20
23
|
attr_accessor properties: Orb::SubscriptionAccountingSyncFailedWebhookEvent::Properties
|
|
21
24
|
|
|
22
25
|
attr_accessor subscription: Orb::Subscription
|
|
@@ -27,6 +30,7 @@ module Orb
|
|
|
27
30
|
id: String,
|
|
28
31
|
accounting_sync_record: Orb::SubscriptionAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
|
|
29
32
|
created_at: Time,
|
|
33
|
+
payload_style: Orb::Models::SubscriptionAccountingSyncFailedWebhookEvent::payload_style,
|
|
30
34
|
properties: Orb::SubscriptionAccountingSyncFailedWebhookEvent::Properties,
|
|
31
35
|
subscription: Orb::Subscription,
|
|
32
36
|
type: Orb::Models::SubscriptionAccountingSyncFailedWebhookEvent::type_
|
|
@@ -36,6 +40,7 @@ module Orb
|
|
|
36
40
|
id: String,
|
|
37
41
|
accounting_sync_record: Orb::SubscriptionAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
|
|
38
42
|
created_at: Time,
|
|
43
|
+
payload_style: Orb::Models::SubscriptionAccountingSyncFailedWebhookEvent::payload_style,
|
|
39
44
|
properties: Orb::SubscriptionAccountingSyncFailedWebhookEvent::Properties,
|
|
40
45
|
subscription: Orb::Subscription,
|
|
41
46
|
type: Orb::Models::SubscriptionAccountingSyncFailedWebhookEvent::type_
|
|
@@ -118,6 +123,17 @@ module Orb
|
|
|
118
123
|
end
|
|
119
124
|
end
|
|
120
125
|
|
|
126
|
+
type payload_style = :expanded | :standard
|
|
127
|
+
|
|
128
|
+
module PayloadStyle
|
|
129
|
+
extend Orb::Internal::Type::Enum
|
|
130
|
+
|
|
131
|
+
EXPANDED: :expanded
|
|
132
|
+
STANDARD: :standard
|
|
133
|
+
|
|
134
|
+
def self?.values: -> ::Array[Orb::Models::SubscriptionAccountingSyncFailedWebhookEvent::payload_style]
|
|
135
|
+
end
|
|
136
|
+
|
|
121
137
|
type properties = { connection_type: String, failure_reason: String }
|
|
122
138
|
|
|
123
139
|
class Properties < Orb::Internal::Type::BaseModel
|
|
@@ -5,6 +5,7 @@ module Orb
|
|
|
5
5
|
id: String,
|
|
6
6
|
accounting_sync_record: Orb::SubscriptionAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
|
|
7
7
|
created_at: Time,
|
|
8
|
+
payload_style: Orb::Models::SubscriptionAccountingSyncSucceededWebhookEvent::payload_style,
|
|
8
9
|
properties: Orb::SubscriptionAccountingSyncSucceededWebhookEvent::Properties,
|
|
9
10
|
subscription: Orb::Subscription,
|
|
10
11
|
type: Orb::Models::SubscriptionAccountingSyncSucceededWebhookEvent::type_
|
|
@@ -17,6 +18,8 @@ module Orb
|
|
|
17
18
|
|
|
18
19
|
attr_accessor created_at: Time
|
|
19
20
|
|
|
21
|
+
attr_accessor payload_style: Orb::Models::SubscriptionAccountingSyncSucceededWebhookEvent::payload_style
|
|
22
|
+
|
|
20
23
|
attr_accessor properties: Orb::SubscriptionAccountingSyncSucceededWebhookEvent::Properties
|
|
21
24
|
|
|
22
25
|
attr_accessor subscription: Orb::Subscription
|
|
@@ -27,6 +30,7 @@ module Orb
|
|
|
27
30
|
id: String,
|
|
28
31
|
accounting_sync_record: Orb::SubscriptionAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
|
|
29
32
|
created_at: Time,
|
|
33
|
+
payload_style: Orb::Models::SubscriptionAccountingSyncSucceededWebhookEvent::payload_style,
|
|
30
34
|
properties: Orb::SubscriptionAccountingSyncSucceededWebhookEvent::Properties,
|
|
31
35
|
subscription: Orb::Subscription,
|
|
32
36
|
type: Orb::Models::SubscriptionAccountingSyncSucceededWebhookEvent::type_
|
|
@@ -36,6 +40,7 @@ module Orb
|
|
|
36
40
|
id: String,
|
|
37
41
|
accounting_sync_record: Orb::SubscriptionAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
|
|
38
42
|
created_at: Time,
|
|
43
|
+
payload_style: Orb::Models::SubscriptionAccountingSyncSucceededWebhookEvent::payload_style,
|
|
39
44
|
properties: Orb::SubscriptionAccountingSyncSucceededWebhookEvent::Properties,
|
|
40
45
|
subscription: Orb::Subscription,
|
|
41
46
|
type: Orb::Models::SubscriptionAccountingSyncSucceededWebhookEvent::type_
|
|
@@ -118,6 +123,17 @@ module Orb
|
|
|
118
123
|
end
|
|
119
124
|
end
|
|
120
125
|
|
|
126
|
+
type payload_style = :expanded | :standard
|
|
127
|
+
|
|
128
|
+
module PayloadStyle
|
|
129
|
+
extend Orb::Internal::Type::Enum
|
|
130
|
+
|
|
131
|
+
EXPANDED: :expanded
|
|
132
|
+
STANDARD: :standard
|
|
133
|
+
|
|
134
|
+
def self?.values: -> ::Array[Orb::Models::SubscriptionAccountingSyncSucceededWebhookEvent::payload_style]
|
|
135
|
+
end
|
|
136
|
+
|
|
121
137
|
type properties = { connection_type: String }
|
|
122
138
|
|
|
123
139
|
class Properties < Orb::Internal::Type::BaseModel
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::SubscriptionAlertDisabledWebhookEvent::payload_style,
|
|
7
8
|
properties: Orb::SubscriptionAlertDisabledWebhookEvent::Properties,
|
|
8
9
|
subscription: Orb::SubscriptionAlertDisabledWebhookEvent::Subscription,
|
|
9
10
|
type: Orb::Models::SubscriptionAlertDisabledWebhookEvent::type_
|
|
@@ -14,6 +15,8 @@ module Orb
|
|
|
14
15
|
|
|
15
16
|
attr_accessor created_at: Time
|
|
16
17
|
|
|
18
|
+
attr_accessor payload_style: Orb::Models::SubscriptionAlertDisabledWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor properties: Orb::SubscriptionAlertDisabledWebhookEvent::Properties
|
|
18
21
|
|
|
19
22
|
attr_accessor subscription: Orb::SubscriptionAlertDisabledWebhookEvent::Subscription
|
|
@@ -23,6 +26,7 @@ module Orb
|
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
created_at: Time,
|
|
29
|
+
payload_style: Orb::Models::SubscriptionAlertDisabledWebhookEvent::payload_style,
|
|
26
30
|
properties: Orb::SubscriptionAlertDisabledWebhookEvent::Properties,
|
|
27
31
|
subscription: Orb::SubscriptionAlertDisabledWebhookEvent::Subscription,
|
|
28
32
|
type: Orb::Models::SubscriptionAlertDisabledWebhookEvent::type_
|
|
@@ -31,11 +35,23 @@ module Orb
|
|
|
31
35
|
def to_hash: -> {
|
|
32
36
|
id: String,
|
|
33
37
|
created_at: Time,
|
|
38
|
+
payload_style: Orb::Models::SubscriptionAlertDisabledWebhookEvent::payload_style,
|
|
34
39
|
properties: Orb::SubscriptionAlertDisabledWebhookEvent::Properties,
|
|
35
40
|
subscription: Orb::SubscriptionAlertDisabledWebhookEvent::Subscription,
|
|
36
41
|
type: Orb::Models::SubscriptionAlertDisabledWebhookEvent::type_
|
|
37
42
|
}
|
|
38
43
|
|
|
44
|
+
type payload_style = :expanded | :standard
|
|
45
|
+
|
|
46
|
+
module PayloadStyle
|
|
47
|
+
extend Orb::Internal::Type::Enum
|
|
48
|
+
|
|
49
|
+
EXPANDED: :expanded
|
|
50
|
+
STANDARD: :standard
|
|
51
|
+
|
|
52
|
+
def self?.values: -> ::Array[Orb::Models::SubscriptionAlertDisabledWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type properties =
|
|
40
56
|
{
|
|
41
57
|
alert_configuration: Orb::SubscriptionAlertDisabledWebhookEvent::Properties::AlertConfiguration,
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::SubscriptionCancellationScheduledWebhookEvent::payload_style,
|
|
7
8
|
properties: Orb::SubscriptionCancellationScheduledWebhookEvent::Properties,
|
|
8
9
|
subscription: Orb::Subscription,
|
|
9
10
|
type: Orb::Models::SubscriptionCancellationScheduledWebhookEvent::type_
|
|
@@ -14,6 +15,8 @@ module Orb
|
|
|
14
15
|
|
|
15
16
|
attr_accessor created_at: Time
|
|
16
17
|
|
|
18
|
+
attr_accessor payload_style: Orb::Models::SubscriptionCancellationScheduledWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor properties: Orb::SubscriptionCancellationScheduledWebhookEvent::Properties
|
|
18
21
|
|
|
19
22
|
attr_accessor subscription: Orb::Subscription
|
|
@@ -23,6 +26,7 @@ module Orb
|
|
|
23
26
|
def initialize: (
|
|
24
27
|
id: String,
|
|
25
28
|
created_at: Time,
|
|
29
|
+
payload_style: Orb::Models::SubscriptionCancellationScheduledWebhookEvent::payload_style,
|
|
26
30
|
properties: Orb::SubscriptionCancellationScheduledWebhookEvent::Properties,
|
|
27
31
|
subscription: Orb::Subscription,
|
|
28
32
|
type: Orb::Models::SubscriptionCancellationScheduledWebhookEvent::type_
|
|
@@ -31,11 +35,23 @@ module Orb
|
|
|
31
35
|
def to_hash: -> {
|
|
32
36
|
id: String,
|
|
33
37
|
created_at: Time,
|
|
38
|
+
payload_style: Orb::Models::SubscriptionCancellationScheduledWebhookEvent::payload_style,
|
|
34
39
|
properties: Orb::SubscriptionCancellationScheduledWebhookEvent::Properties,
|
|
35
40
|
subscription: Orb::Subscription,
|
|
36
41
|
type: Orb::Models::SubscriptionCancellationScheduledWebhookEvent::type_
|
|
37
42
|
}
|
|
38
43
|
|
|
44
|
+
type payload_style = :expanded | :standard
|
|
45
|
+
|
|
46
|
+
module PayloadStyle
|
|
47
|
+
extend Orb::Internal::Type::Enum
|
|
48
|
+
|
|
49
|
+
EXPANDED: :expanded
|
|
50
|
+
STANDARD: :standard
|
|
51
|
+
|
|
52
|
+
def self?.values: -> ::Array[Orb::Models::SubscriptionCancellationScheduledWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type properties = { cancellation_date: String }
|
|
40
56
|
|
|
41
57
|
class Properties < Orb::Internal::Type::BaseModel
|