orb-billing 1.43.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 +15 -0
- data/README.md +1 -1
- data/lib/orb/client.rb +6 -0
- data/lib/orb/models/alert_create_for_plan_params.rb +156 -0
- 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/dimensional_price_groups/price_create_params.rb +147 -0
- data/lib/orb/models/dimensional_price_groups/price_create_response.rb +19 -0
- data/lib/orb/models/dimensional_price_groups/price_list_params.rb +65 -0
- 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 +117 -0
- data/lib/orb/models/plan_default_version_set_webhook_event.rb +27 -1
- data/lib/orb/models/plan_edited_webhook_event.rb +154 -0
- 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/tax_amount.rb +32 -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/models/unwrap_webhook_event.rb +7 -1
- data/lib/orb/models/webhook_endpoint.rb +56 -0
- data/lib/orb/models/webhook_endpoint_create_params.rb +34 -0
- data/lib/orb/models/webhook_endpoint_delete_params.rb +20 -0
- data/lib/orb/models/webhook_endpoint_disable_params.rb +20 -0
- data/lib/orb/models/webhook_endpoint_enable_params.rb +20 -0
- data/lib/orb/models/webhook_endpoint_list_params.rb +34 -0
- data/lib/orb/models/webhook_endpoint_retrieve_params.rb +20 -0
- data/lib/orb/models/webhook_endpoint_update_params.rb +41 -0
- data/lib/orb/models/webhook_endpoint_with_secret.rb +65 -0
- data/lib/orb/models.rb +24 -0
- data/lib/orb/resources/alerts.rb +55 -0
- data/lib/orb/resources/dimensional_price_groups/prices.rb +87 -0
- data/lib/orb/resources/dimensional_price_groups.rb +4 -0
- data/lib/orb/resources/webhook_endpoints.rb +183 -0
- data/lib/orb/resources/webhooks.rb +1 -1
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +17 -0
- data/rbi/orb/client.rbi +5 -0
- data/rbi/orb/models/alert_create_for_plan_params.rbi +290 -0
- 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/dimensional_price_groups/price_create_params.rbi +298 -0
- data/rbi/orb/models/dimensional_price_groups/price_create_response.rbi +76 -0
- data/rbi/orb/models/dimensional_price_groups/price_list_params.rbi +134 -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 +182 -0
- data/rbi/orb/models/plan_default_version_set_webhook_event.rbi +49 -0
- data/rbi/orb/models/plan_edited_webhook_event.rbi +301 -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/tax_amount.rbi +41 -3
- 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/rbi/orb/models/unwrap_webhook_event.rbi +2 -0
- data/rbi/orb/models/webhook_endpoint.rbi +71 -0
- data/rbi/orb/models/webhook_endpoint_create_params.rbi +53 -0
- data/rbi/orb/models/webhook_endpoint_delete_params.rbi +35 -0
- data/rbi/orb/models/webhook_endpoint_disable_params.rbi +35 -0
- data/rbi/orb/models/webhook_endpoint_enable_params.rbi +35 -0
- data/rbi/orb/models/webhook_endpoint_list_params.rbi +56 -0
- data/rbi/orb/models/webhook_endpoint_retrieve_params.rbi +35 -0
- data/rbi/orb/models/webhook_endpoint_update_params.rbi +59 -0
- data/rbi/orb/models/webhook_endpoint_with_secret.rbi +83 -0
- data/rbi/orb/models.rbi +24 -0
- data/rbi/orb/resources/alerts.rbi +59 -0
- data/rbi/orb/resources/dimensional_price_groups/prices.rbi +82 -0
- data/rbi/orb/resources/dimensional_price_groups.rbi +3 -0
- data/rbi/orb/resources/webhook_endpoints.rbi +116 -0
- data/rbi/orb/resources/webhooks.rbi +2 -0
- data/sig/orb/client.rbs +2 -0
- data/sig/orb/models/alert_create_for_plan_params.rbs +126 -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/dimensional_price_groups/price_create_params.rbs +123 -0
- data/sig/orb/models/dimensional_price_groups/price_create_response.rbs +15 -0
- data/sig/orb/models/dimensional_price_groups/price_list_params.rbs +61 -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 +88 -0
- data/sig/orb/models/plan_default_version_set_webhook_event.rbs +16 -0
- data/sig/orb/models/plan_edited_webhook_event.rbs +132 -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/tax_amount.rbs +31 -3
- 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
- data/sig/orb/models/unwrap_webhook_event.rbs +2 -0
- data/sig/orb/models/webhook_endpoint.rbs +40 -0
- data/sig/orb/models/webhook_endpoint_create_params.rbs +28 -0
- data/sig/orb/models/webhook_endpoint_delete_params.rbs +23 -0
- data/sig/orb/models/webhook_endpoint_disable_params.rbs +23 -0
- data/sig/orb/models/webhook_endpoint_enable_params.rbs +23 -0
- data/sig/orb/models/webhook_endpoint_list_params.rbs +30 -0
- data/sig/orb/models/webhook_endpoint_retrieve_params.rbs +23 -0
- data/sig/orb/models/webhook_endpoint_update_params.rbs +36 -0
- data/sig/orb/models/webhook_endpoint_with_secret.rbs +45 -0
- data/sig/orb/models.rbs +24 -0
- data/sig/orb/resources/alerts.rbs +12 -0
- data/sig/orb/resources/dimensional_price_groups/prices.rbs +28 -0
- data/sig/orb/resources/dimensional_price_groups.rbs +2 -0
- data/sig/orb/resources/webhook_endpoints.rbs +46 -0
- data/sig/orb/resources/webhooks.rbs +2 -0
- metadata +52 -1
|
@@ -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
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::SubscriptionCancellationUnscheduledWebhookEvent::payload_style,
|
|
7
8
|
properties: Orb::SubscriptionCancellationUnscheduledWebhookEvent::Properties,
|
|
8
9
|
subscription: Orb::Subscription,
|
|
9
10
|
type: Orb::Models::SubscriptionCancellationUnscheduledWebhookEvent::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::SubscriptionCancellationUnscheduledWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor properties: Orb::SubscriptionCancellationUnscheduledWebhookEvent::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::SubscriptionCancellationUnscheduledWebhookEvent::payload_style,
|
|
26
30
|
properties: Orb::SubscriptionCancellationUnscheduledWebhookEvent::Properties,
|
|
27
31
|
subscription: Orb::Subscription,
|
|
28
32
|
type: Orb::Models::SubscriptionCancellationUnscheduledWebhookEvent::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::SubscriptionCancellationUnscheduledWebhookEvent::payload_style,
|
|
34
39
|
properties: Orb::SubscriptionCancellationUnscheduledWebhookEvent::Properties,
|
|
35
40
|
subscription: Orb::Subscription,
|
|
36
41
|
type: Orb::Models::SubscriptionCancellationUnscheduledWebhookEvent::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::SubscriptionCancellationUnscheduledWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type properties = { original_cancellation_date: String }
|
|
40
56
|
|
|
41
57
|
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::SubscriptionCostExceededWebhookEvent::payload_style,
|
|
7
8
|
properties: Orb::SubscriptionCostExceededWebhookEvent::Properties,
|
|
8
9
|
subscription: Orb::Subscription,
|
|
9
10
|
type: Orb::Models::SubscriptionCostExceededWebhookEvent::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::SubscriptionCostExceededWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor properties: Orb::SubscriptionCostExceededWebhookEvent::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::SubscriptionCostExceededWebhookEvent::payload_style,
|
|
26
30
|
properties: Orb::SubscriptionCostExceededWebhookEvent::Properties,
|
|
27
31
|
subscription: Orb::Subscription,
|
|
28
32
|
type: Orb::Models::SubscriptionCostExceededWebhookEvent::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::SubscriptionCostExceededWebhookEvent::payload_style,
|
|
34
39
|
properties: Orb::SubscriptionCostExceededWebhookEvent::Properties,
|
|
35
40
|
subscription: Orb::Subscription,
|
|
36
41
|
type: Orb::Models::SubscriptionCostExceededWebhookEvent::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::SubscriptionCostExceededWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type properties =
|
|
40
56
|
{
|
|
41
57
|
alert_configuration: Orb::SubscriptionCostExceededWebhookEvent::Properties::AlertConfiguration,
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::SubscriptionCreatedWebhookEvent::payload_style,
|
|
7
8
|
properties: top,
|
|
8
9
|
subscription: Orb::Subscription,
|
|
9
10
|
type: Orb::Models::SubscriptionCreatedWebhookEvent::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::SubscriptionCreatedWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor properties: top
|
|
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::SubscriptionCreatedWebhookEvent::payload_style,
|
|
26
30
|
properties: top,
|
|
27
31
|
subscription: Orb::Subscription,
|
|
28
32
|
type: Orb::Models::SubscriptionCreatedWebhookEvent::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::SubscriptionCreatedWebhookEvent::payload_style,
|
|
34
39
|
properties: top,
|
|
35
40
|
subscription: Orb::Subscription,
|
|
36
41
|
type: Orb::Models::SubscriptionCreatedWebhookEvent::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::SubscriptionCreatedWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type type_ = :"subscription.created"
|
|
40
56
|
|
|
41
57
|
module Type
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::SubscriptionEditedWebhookEvent::payload_style,
|
|
7
8
|
properties: Orb::SubscriptionEditedWebhookEvent::Properties,
|
|
8
9
|
subscription: Orb::Subscription,
|
|
9
10
|
type: Orb::Models::SubscriptionEditedWebhookEvent::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::SubscriptionEditedWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor properties: Orb::SubscriptionEditedWebhookEvent::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::SubscriptionEditedWebhookEvent::payload_style,
|
|
26
30
|
properties: Orb::SubscriptionEditedWebhookEvent::Properties,
|
|
27
31
|
subscription: Orb::Subscription,
|
|
28
32
|
type: Orb::Models::SubscriptionEditedWebhookEvent::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::SubscriptionEditedWebhookEvent::payload_style,
|
|
34
39
|
properties: Orb::SubscriptionEditedWebhookEvent::Properties,
|
|
35
40
|
subscription: Orb::Subscription,
|
|
36
41
|
type: Orb::Models::SubscriptionEditedWebhookEvent::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::SubscriptionEditedWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type properties =
|
|
40
56
|
{
|
|
41
57
|
previous_attributes: Orb::SubscriptionEditedWebhookEvent::Properties::PreviousAttributes
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::SubscriptionEndedWebhookEvent::payload_style,
|
|
7
8
|
properties: top,
|
|
8
9
|
subscription: Orb::Subscription,
|
|
9
10
|
type: Orb::Models::SubscriptionEndedWebhookEvent::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::SubscriptionEndedWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor properties: top
|
|
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::SubscriptionEndedWebhookEvent::payload_style,
|
|
26
30
|
properties: top,
|
|
27
31
|
subscription: Orb::Subscription,
|
|
28
32
|
type: Orb::Models::SubscriptionEndedWebhookEvent::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::SubscriptionEndedWebhookEvent::payload_style,
|
|
34
39
|
properties: top,
|
|
35
40
|
subscription: Orb::Subscription,
|
|
36
41
|
type: Orb::Models::SubscriptionEndedWebhookEvent::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::SubscriptionEndedWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type type_ = :"subscription.ended"
|
|
40
56
|
|
|
41
57
|
module Type
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::payload_style,
|
|
7
8
|
properties: Orb::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::Properties,
|
|
8
9
|
subscription: Orb::Subscription,
|
|
9
10
|
type: Orb::Models::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::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::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor properties: Orb::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::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::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::payload_style,
|
|
26
30
|
properties: Orb::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::Properties,
|
|
27
31
|
subscription: Orb::Subscription,
|
|
28
32
|
type: Orb::Models::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::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::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::payload_style,
|
|
34
39
|
properties: Orb::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::Properties,
|
|
35
40
|
subscription: Orb::Subscription,
|
|
36
41
|
type: Orb::Models::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::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::SubscriptionFixedFeeQuantityUpdatedWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type properties =
|
|
40
56
|
{
|
|
41
57
|
effective_date: Time,
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::SubscriptionGroupedCostExceededWebhookEvent::payload_style,
|
|
7
8
|
properties: Orb::SubscriptionGroupedCostExceededWebhookEvent::Properties,
|
|
8
9
|
subscription: Orb::SubscriptionGroupedCostExceededWebhookEvent::Subscription,
|
|
9
10
|
type: Orb::Models::SubscriptionGroupedCostExceededWebhookEvent::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::SubscriptionGroupedCostExceededWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor properties: Orb::SubscriptionGroupedCostExceededWebhookEvent::Properties
|
|
18
21
|
|
|
19
22
|
attr_accessor subscription: Orb::SubscriptionGroupedCostExceededWebhookEvent::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::SubscriptionGroupedCostExceededWebhookEvent::payload_style,
|
|
26
30
|
properties: Orb::SubscriptionGroupedCostExceededWebhookEvent::Properties,
|
|
27
31
|
subscription: Orb::SubscriptionGroupedCostExceededWebhookEvent::Subscription,
|
|
28
32
|
type: Orb::Models::SubscriptionGroupedCostExceededWebhookEvent::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::SubscriptionGroupedCostExceededWebhookEvent::payload_style,
|
|
34
39
|
properties: Orb::SubscriptionGroupedCostExceededWebhookEvent::Properties,
|
|
35
40
|
subscription: Orb::SubscriptionGroupedCostExceededWebhookEvent::Subscription,
|
|
36
41
|
type: Orb::Models::SubscriptionGroupedCostExceededWebhookEvent::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::SubscriptionGroupedCostExceededWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type properties =
|
|
40
56
|
{
|
|
41
57
|
alert_configuration: Orb::SubscriptionGroupedCostExceededWebhookEvent::Properties::AlertConfiguration,
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::SubscriptionInvoicingThresholdExceededWebhookEvent::payload_style,
|
|
7
8
|
properties: Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::Properties,
|
|
8
9
|
subscription: Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::Subscription,
|
|
9
10
|
type: Orb::Models::SubscriptionInvoicingThresholdExceededWebhookEvent::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::SubscriptionInvoicingThresholdExceededWebhookEvent::payload_style
|
|
19
|
+
|
|
17
20
|
attr_accessor properties: Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::Properties
|
|
18
21
|
|
|
19
22
|
attr_accessor subscription: Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::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::SubscriptionInvoicingThresholdExceededWebhookEvent::payload_style,
|
|
26
30
|
properties: Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::Properties,
|
|
27
31
|
subscription: Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::Subscription,
|
|
28
32
|
type: Orb::Models::SubscriptionInvoicingThresholdExceededWebhookEvent::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::SubscriptionInvoicingThresholdExceededWebhookEvent::payload_style,
|
|
34
39
|
properties: Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::Properties,
|
|
35
40
|
subscription: Orb::SubscriptionInvoicingThresholdExceededWebhookEvent::Subscription,
|
|
36
41
|
type: Orb::Models::SubscriptionInvoicingThresholdExceededWebhookEvent::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::SubscriptionInvoicingThresholdExceededWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type properties =
|
|
40
56
|
{
|
|
41
57
|
evaluated_amount: String,
|