orb-billing 1.44.0 → 1.46.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 +19 -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/models/webhooks/backfill_reflected_standard_webhook_event.rb +206 -0
- data/lib/orb/models/webhooks/backfill_reverted_standard_webhook_event.rb +206 -0
- data/lib/orb/models/webhooks/billable_metric_edited_standard_webhook_event.rb +131 -0
- data/lib/orb/models/webhooks/credit_block_accounting_sync_failed_standard_webhook_event.rb +537 -0
- data/lib/orb/models/webhooks/credit_block_accounting_sync_succeeded_standard_webhook_event.rb +531 -0
- data/lib/orb/models/webhooks/credit_note_accounting_sync_failed_standard_webhook_event.rb +188 -0
- data/lib/orb/models/webhooks/credit_note_accounting_sync_succeeded_standard_webhook_event.rb +183 -0
- data/lib/orb/models/webhooks/credit_note_issued_standard_webhook_event.rb +90 -0
- data/lib/orb/models/webhooks/credit_note_marked_as_void_standard_webhook_event.rb +92 -0
- data/lib/orb/models/webhooks/customer_accounting_sync_failed_standard_webhook_event.rb +198 -0
- data/lib/orb/models/webhooks/customer_accounting_sync_succeeded_standard_webhook_event.rb +193 -0
- data/lib/orb/models/webhooks/customer_balance_transaction_created_standard_webhook_event.rb +240 -0
- data/lib/orb/models/webhooks/customer_created_standard_webhook_event.rb +106 -0
- data/lib/orb/models/webhooks/customer_credit_balance_depleted_standard_webhook_event.rb +597 -0
- data/lib/orb/models/webhooks/customer_credit_balance_dropped_standard_webhook_event.rb +603 -0
- data/lib/orb/models/webhooks/customer_credit_balance_recovered_standard_webhook_event.rb +597 -0
- data/lib/orb/models/webhooks/customer_credit_ledger_incremented_standard_webhook_event.rb +509 -0
- data/lib/orb/models/webhooks/customer_edited_standard_webhook_event.rb +371 -0
- data/lib/orb/models/webhooks/data_exports_transfer_error_standard_webhook_event.rb +130 -0
- data/lib/orb/models/webhooks/data_exports_transfer_success_standard_webhook_event.rb +124 -0
- data/lib/orb/models/webhooks/event_unmatched_event_standard_webhook_event.rb +134 -0
- data/lib/orb/models/webhooks/ingestion_unmatched_customer_ids_standard_webhook_event.rb +94 -0
- data/lib/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rb +972 -0
- data/lib/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rb +966 -0
- data/lib/orb/models/webhooks/invoice_automation_schedule_step_executed_standard_webhook_event.rb +367 -0
- data/lib/orb/models/webhooks/invoice_cost_data_exported_standard_webhook_event.rb +113 -0
- data/lib/orb/models/webhooks/invoice_due_date_recalculation_canceled_standard_webhook_event.rb +101 -0
- data/lib/orb/models/webhooks/invoice_due_date_recalculation_completed_standard_webhook_event.rb +101 -0
- data/lib/orb/models/webhooks/invoice_due_date_recalculation_started_standard_webhook_event.rb +95 -0
- data/lib/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rb +994 -0
- data/lib/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rb +988 -0
- data/lib/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rb +992 -0
- data/lib/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rb +942 -0
- data/lib/orb/models/webhooks/invoice_edited_standard_webhook_event.rb +1365 -0
- data/lib/orb/models/webhooks/invoice_invoice_date_elapsed_standard_webhook_event.rb +151 -0
- data/lib/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rb +885 -0
- data/lib/orb/models/webhooks/invoice_issued_standard_webhook_event.rb +884 -0
- data/lib/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rb +887 -0
- data/lib/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rb +899 -0
- data/lib/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rb +876 -0
- data/lib/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rb +899 -0
- data/lib/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rb +893 -0
- data/lib/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rb +908 -0
- data/lib/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rb +890 -0
- data/lib/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rb +892 -0
- data/lib/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rb +875 -0
- data/lib/orb/models/webhooks/metric_events_dropped_by_watermark_standard_webhook_event.rb +125 -0
- data/lib/orb/models/webhooks/payment_method_created_standard_webhook_event.rb +184 -0
- data/lib/orb/models/webhooks/payment_method_deleted_standard_webhook_event.rb +184 -0
- data/lib/orb/models/webhooks/plan_created_standard_webhook_event.rb +119 -0
- data/lib/orb/models/webhooks/plan_default_version_set_standard_webhook_event.rb +139 -0
- data/lib/orb/models/webhooks/plan_edited_standard_webhook_event.rb +159 -0
- data/lib/orb/models/webhooks/plan_version_created_standard_webhook_event.rb +138 -0
- data/lib/orb/models/webhooks/price_edited_standard_webhook_event.rb +132 -0
- data/lib/orb/models/webhooks/resource_event_test_standard_webhook_event.rb +92 -0
- data/lib/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rb +972 -0
- data/lib/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rb +967 -0
- data/lib/orb/models/webhooks/standard_unwrap_standard_params.rb +16 -0
- data/lib/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rb +322 -0
- data/lib/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rb +316 -0
- data/lib/orb/models/webhooks/subscription_alert_disabled_standard_webhook_event.rb +667 -0
- data/lib/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rb +237 -0
- data/lib/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rb +237 -0
- data/lib/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rb +692 -0
- data/lib/orb/models/webhooks/subscription_created_standard_webhook_event.rb +221 -0
- data/lib/orb/models/webhooks/subscription_edited_standard_webhook_event.rb +273 -0
- data/lib/orb/models/webhooks/subscription_ended_standard_webhook_event.rb +219 -0
- data/lib/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rb +255 -0
- data/lib/orb/models/webhooks/subscription_grouped_cost_exceeded_standard_webhook_event.rb +693 -0
- data/lib/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rb +222 -0
- data/lib/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rb +244 -0
- data/lib/orb/models/webhooks/subscription_license_balance_threshold_reached_standard_webhook_event.rb +687 -0
- data/lib/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rb +249 -0
- data/lib/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rb +233 -0
- data/lib/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rb +250 -0
- data/lib/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rb +248 -0
- data/lib/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rb +693 -0
- data/lib/orb/models/webhooks/subscription_started_standard_webhook_event.rb +221 -0
- data/lib/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rb +222 -0
- data/lib/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rb +700 -0
- data/lib/orb/models/webhooks/transaction_accounting_sync_failed_standard_webhook_event.rb +270 -0
- data/lib/orb/models/webhooks/transaction_accounting_sync_succeeded_standard_webhook_event.rb +264 -0
- data/lib/orb/models/webhooks/unwrap_standard_webhook_event.rb +258 -0
- data/lib/orb/models.rb +2 -0
- data/lib/orb/resources/webhooks/standard.rb +24 -0
- data/lib/orb/resources/webhooks.rb +4 -0
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +84 -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/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/rbi/orb/models/webhooks/backfill_reflected_standard_webhook_event.rbi +349 -0
- data/rbi/orb/models/webhooks/backfill_reverted_standard_webhook_event.rbi +347 -0
- data/rbi/orb/models/webhooks/billable_metric_edited_standard_webhook_event.rbi +273 -0
- data/rbi/orb/models/webhooks/credit_block_accounting_sync_failed_standard_webhook_event.rbi +1106 -0
- data/rbi/orb/models/webhooks/credit_block_accounting_sync_succeeded_standard_webhook_event.rbi +1095 -0
- data/rbi/orb/models/webhooks/credit_note_accounting_sync_failed_standard_webhook_event.rbi +377 -0
- data/rbi/orb/models/webhooks/credit_note_accounting_sync_succeeded_standard_webhook_event.rbi +366 -0
- data/rbi/orb/models/webhooks/credit_note_issued_standard_webhook_event.rbi +166 -0
- data/rbi/orb/models/webhooks/credit_note_marked_as_void_standard_webhook_event.rbi +166 -0
- data/rbi/orb/models/webhooks/customer_accounting_sync_failed_standard_webhook_event.rbi +403 -0
- data/rbi/orb/models/webhooks/customer_accounting_sync_succeeded_standard_webhook_event.rbi +392 -0
- data/rbi/orb/models/webhooks/customer_balance_transaction_created_standard_webhook_event.rbi +493 -0
- data/rbi/orb/models/webhooks/customer_created_standard_webhook_event.rbi +198 -0
- data/rbi/orb/models/webhooks/customer_credit_balance_depleted_standard_webhook_event.rbi +1151 -0
- data/rbi/orb/models/webhooks/customer_credit_balance_dropped_standard_webhook_event.rbi +1158 -0
- data/rbi/orb/models/webhooks/customer_credit_balance_recovered_standard_webhook_event.rbi +1151 -0
- data/rbi/orb/models/webhooks/customer_credit_ledger_incremented_standard_webhook_event.rbi +1044 -0
- data/rbi/orb/models/webhooks/customer_edited_standard_webhook_event.rbi +678 -0
- data/rbi/orb/models/webhooks/data_exports_transfer_error_standard_webhook_event.rbi +236 -0
- data/rbi/orb/models/webhooks/data_exports_transfer_success_standard_webhook_event.rbi +230 -0
- data/rbi/orb/models/webhooks/event_unmatched_event_standard_webhook_event.rbi +275 -0
- data/rbi/orb/models/webhooks/ingestion_unmatched_customer_ids_standard_webhook_event.rbi +192 -0
- data/rbi/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rbi +1705 -0
- data/rbi/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rbi +1694 -0
- data/rbi/orb/models/webhooks/invoice_automation_schedule_step_executed_standard_webhook_event.rbi +670 -0
- data/rbi/orb/models/webhooks/invoice_cost_data_exported_standard_webhook_event.rbi +210 -0
- data/rbi/orb/models/webhooks/invoice_due_date_recalculation_canceled_standard_webhook_event.rbi +195 -0
- data/rbi/orb/models/webhooks/invoice_due_date_recalculation_completed_standard_webhook_event.rbi +195 -0
- data/rbi/orb/models/webhooks/invoice_due_date_recalculation_started_standard_webhook_event.rbi +188 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rbi +1713 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rbi +1708 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rbi +1713 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rbi +1628 -0
- data/rbi/orb/models/webhooks/invoice_edited_standard_webhook_event.rbi +2337 -0
- data/rbi/orb/models/webhooks/invoice_invoice_date_elapsed_standard_webhook_event.rbi +324 -0
- data/rbi/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rbi +1529 -0
- data/rbi/orb/models/webhooks/invoice_issued_standard_webhook_event.rbi +1529 -0
- data/rbi/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rbi +1534 -0
- data/rbi/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rbi +1549 -0
- data/rbi/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rbi +1494 -0
- data/rbi/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rbi +1554 -0
- data/rbi/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rbi +1547 -0
- data/rbi/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rbi +1563 -0
- data/rbi/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rbi +1542 -0
- data/rbi/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rbi +1544 -0
- data/rbi/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rbi +1494 -0
- data/rbi/orb/models/webhooks/metric_events_dropped_by_watermark_standard_webhook_event.rbi +233 -0
- data/rbi/orb/models/webhooks/payment_method_created_standard_webhook_event.rbi +331 -0
- data/rbi/orb/models/webhooks/payment_method_deleted_standard_webhook_event.rbi +331 -0
- data/rbi/orb/models/webhooks/plan_created_standard_webhook_event.rbi +216 -0
- data/rbi/orb/models/webhooks/plan_default_version_set_standard_webhook_event.rbi +277 -0
- data/rbi/orb/models/webhooks/plan_edited_standard_webhook_event.rbi +337 -0
- data/rbi/orb/models/webhooks/plan_version_created_standard_webhook_event.rbi +271 -0
- data/rbi/orb/models/webhooks/price_edited_standard_webhook_event.rbi +311 -0
- data/rbi/orb/models/webhooks/resource_event_test_standard_webhook_event.rbi +191 -0
- data/rbi/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rbi +1705 -0
- data/rbi/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rbi +1694 -0
- data/rbi/orb/models/webhooks/standard_unwrap_standard_params.rbi +32 -0
- data/rbi/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rbi +609 -0
- data/rbi/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rbi +598 -0
- data/rbi/orb/models/webhooks/subscription_alert_disabled_standard_webhook_event.rbi +1302 -0
- data/rbi/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rbi +433 -0
- data/rbi/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rbi +435 -0
- data/rbi/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rbi +1298 -0
- data/rbi/orb/models/webhooks/subscription_created_standard_webhook_event.rbi +398 -0
- data/rbi/orb/models/webhooks/subscription_edited_standard_webhook_event.rbi +520 -0
- data/rbi/orb/models/webhooks/subscription_ended_standard_webhook_event.rbi +398 -0
- data/rbi/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rbi +458 -0
- data/rbi/orb/models/webhooks/subscription_grouped_cost_exceeded_standard_webhook_event.rbi +1321 -0
- data/rbi/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rbi +428 -0
- data/rbi/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rbi +477 -0
- data/rbi/orb/models/webhooks/subscription_license_balance_threshold_reached_standard_webhook_event.rbi +1319 -0
- data/rbi/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rbi +453 -0
- data/rbi/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rbi +433 -0
- data/rbi/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rbi +457 -0
- data/rbi/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rbi +457 -0
- data/rbi/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rbi +1299 -0
- data/rbi/orb/models/webhooks/subscription_started_standard_webhook_event.rbi +398 -0
- data/rbi/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rbi +398 -0
- data/rbi/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rbi +1305 -0
- data/rbi/orb/models/webhooks/transaction_accounting_sync_failed_standard_webhook_event.rbi +516 -0
- data/rbi/orb/models/webhooks/transaction_accounting_sync_succeeded_standard_webhook_event.rbi +505 -0
- data/rbi/orb/models/webhooks/unwrap_standard_webhook_event.rbi +107 -0
- data/rbi/orb/models.rbi +2 -0
- data/rbi/orb/resources/webhooks/standard.rbi +107 -0
- data/rbi/orb/resources/webhooks.rbi +3 -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
- data/sig/orb/models/webhooks/backfill_reflected_standard_webhook_event.rbs +148 -0
- data/sig/orb/models/webhooks/backfill_reverted_standard_webhook_event.rbs +148 -0
- data/sig/orb/models/webhooks/billable_metric_edited_standard_webhook_event.rbs +112 -0
- data/sig/orb/models/webhooks/credit_block_accounting_sync_failed_standard_webhook_event.rbs +435 -0
- data/sig/orb/models/webhooks/credit_block_accounting_sync_succeeded_standard_webhook_event.rbs +430 -0
- data/sig/orb/models/webhooks/credit_note_accounting_sync_failed_standard_webhook_event.rbs +165 -0
- data/sig/orb/models/webhooks/credit_note_accounting_sync_succeeded_standard_webhook_event.rbs +160 -0
- data/sig/orb/models/webhooks/credit_note_issued_standard_webhook_event.rbs +68 -0
- data/sig/orb/models/webhooks/credit_note_marked_as_void_standard_webhook_event.rbs +68 -0
- data/sig/orb/models/webhooks/customer_accounting_sync_failed_standard_webhook_event.rbs +160 -0
- data/sig/orb/models/webhooks/customer_accounting_sync_succeeded_standard_webhook_event.rbs +155 -0
- data/sig/orb/models/webhooks/customer_balance_transaction_created_standard_webhook_event.rbs +189 -0
- data/sig/orb/models/webhooks/customer_created_standard_webhook_event.rbs +68 -0
- data/sig/orb/models/webhooks/customer_credit_balance_depleted_standard_webhook_event.rbs +396 -0
- data/sig/orb/models/webhooks/customer_credit_balance_dropped_standard_webhook_event.rbs +401 -0
- data/sig/orb/models/webhooks/customer_credit_balance_recovered_standard_webhook_event.rbs +396 -0
- data/sig/orb/models/webhooks/customer_credit_ledger_incremented_standard_webhook_event.rbs +386 -0
- data/sig/orb/models/webhooks/customer_edited_standard_webhook_event.rbs +157 -0
- data/sig/orb/models/webhooks/data_exports_transfer_error_standard_webhook_event.rbs +110 -0
- data/sig/orb/models/webhooks/data_exports_transfer_success_standard_webhook_event.rbs +105 -0
- data/sig/orb/models/webhooks/event_unmatched_event_standard_webhook_event.rbs +122 -0
- data/sig/orb/models/webhooks/ingestion_unmatched_customer_ids_standard_webhook_event.rbs +73 -0
- data/sig/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rbs +614 -0
- data/sig/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rbs +609 -0
- data/sig/orb/models/webhooks/invoice_automation_schedule_step_executed_standard_webhook_event.rbs +331 -0
- data/sig/orb/models/webhooks/invoice_cost_data_exported_standard_webhook_event.rbs +91 -0
- data/sig/orb/models/webhooks/invoice_due_date_recalculation_canceled_standard_webhook_event.rbs +75 -0
- data/sig/orb/models/webhooks/invoice_due_date_recalculation_completed_standard_webhook_event.rbs +75 -0
- data/sig/orb/models/webhooks/invoice_due_date_recalculation_started_standard_webhook_event.rbs +73 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rbs +638 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rbs +633 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rbs +623 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rbs +586 -0
- data/sig/orb/models/webhooks/invoice_edited_standard_webhook_event.rbs +859 -0
- data/sig/orb/models/webhooks/invoice_invoice_date_elapsed_standard_webhook_event.rbs +129 -0
- data/sig/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rbs +527 -0
- data/sig/orb/models/webhooks/invoice_issued_standard_webhook_event.rbs +527 -0
- data/sig/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rbs +527 -0
- data/sig/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rbs +540 -0
- data/sig/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rbs +517 -0
- data/sig/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rbs +544 -0
- data/sig/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rbs +538 -0
- data/sig/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rbs +549 -0
- data/sig/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rbs +536 -0
- data/sig/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rbs +536 -0
- data/sig/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rbs +517 -0
- data/sig/orb/models/webhooks/metric_events_dropped_by_watermark_standard_webhook_event.rbs +100 -0
- data/sig/orb/models/webhooks/payment_method_created_standard_webhook_event.rbs +130 -0
- data/sig/orb/models/webhooks/payment_method_deleted_standard_webhook_event.rbs +130 -0
- data/sig/orb/models/webhooks/plan_created_standard_webhook_event.rbs +90 -0
- data/sig/orb/models/webhooks/plan_default_version_set_standard_webhook_event.rbs +112 -0
- data/sig/orb/models/webhooks/plan_edited_standard_webhook_event.rbs +134 -0
- data/sig/orb/models/webhooks/plan_version_created_standard_webhook_event.rbs +109 -0
- data/sig/orb/models/webhooks/price_edited_standard_webhook_event.rbs +95 -0
- data/sig/orb/models/webhooks/resource_event_test_standard_webhook_event.rbs +75 -0
- data/sig/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rbs +614 -0
- data/sig/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rbs +609 -0
- data/sig/orb/models/webhooks/standard_unwrap_standard_params.rbs +17 -0
- data/sig/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rbs +256 -0
- data/sig/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rbs +251 -0
- data/sig/orb/models/webhooks/subscription_alert_disabled_standard_webhook_event.rbs +466 -0
- data/sig/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rbs +169 -0
- data/sig/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rbs +169 -0
- data/sig/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rbs +475 -0
- data/sig/orb/models/webhooks/subscription_created_standard_webhook_event.rbs +159 -0
- data/sig/orb/models/webhooks/subscription_edited_standard_webhook_event.rbs +218 -0
- data/sig/orb/models/webhooks/subscription_ended_standard_webhook_event.rbs +159 -0
- data/sig/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rbs +191 -0
- data/sig/orb/models/webhooks/subscription_grouped_cost_exceeded_standard_webhook_event.rbs +487 -0
- data/sig/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rbs +176 -0
- data/sig/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rbs +198 -0
- data/sig/orb/models/webhooks/subscription_license_balance_threshold_reached_standard_webhook_event.rbs +482 -0
- data/sig/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rbs +182 -0
- data/sig/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rbs +169 -0
- data/sig/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rbs +186 -0
- data/sig/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rbs +186 -0
- data/sig/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rbs +475 -0
- data/sig/orb/models/webhooks/subscription_started_standard_webhook_event.rbs +159 -0
- data/sig/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rbs +159 -0
- data/sig/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rbs +480 -0
- data/sig/orb/models/webhooks/transaction_accounting_sync_failed_standard_webhook_event.rbs +223 -0
- data/sig/orb/models/webhooks/transaction_accounting_sync_succeeded_standard_webhook_event.rbs +218 -0
- data/sig/orb/models/webhooks/unwrap_standard_webhook_event.rbs +94 -0
- data/sig/orb/models.rbs +2 -0
- data/sig/orb/resources/webhooks/standard.rbs +93 -0
- data/sig/orb/resources/webhooks.rbs +2 -0
- metadata +253 -1
|
@@ -0,0 +1,692 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Orb
|
|
4
|
+
module Models
|
|
5
|
+
module Webhooks
|
|
6
|
+
class SubscriptionCostExceededStandardWebhookEvent < Orb::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute id
|
|
8
|
+
# The ID of this webhook event.
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :id, String
|
|
12
|
+
|
|
13
|
+
# @!attribute created_at
|
|
14
|
+
# The time at which this event was created, to the second.
|
|
15
|
+
#
|
|
16
|
+
# @return [Time]
|
|
17
|
+
required :created_at, Time
|
|
18
|
+
|
|
19
|
+
# @!attribute payload_style
|
|
20
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
21
|
+
# endpoint.
|
|
22
|
+
#
|
|
23
|
+
# @return [Symbol, Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::PayloadStyle]
|
|
24
|
+
required :payload_style,
|
|
25
|
+
enum: -> { Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::PayloadStyle }
|
|
26
|
+
|
|
27
|
+
# @!attribute properties
|
|
28
|
+
#
|
|
29
|
+
# @return [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties]
|
|
30
|
+
required :properties, -> { Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties }
|
|
31
|
+
|
|
32
|
+
# @!attribute subscription
|
|
33
|
+
# The subscription in a standard webhook payload: the fields readable without
|
|
34
|
+
# to_subscription_params(), which every interval, billing period and plan phase
|
|
35
|
+
# depends on.
|
|
36
|
+
#
|
|
37
|
+
# @return [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription]
|
|
38
|
+
required :subscription, -> { Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription }
|
|
39
|
+
|
|
40
|
+
# @!attribute type
|
|
41
|
+
# The event this payload describes.
|
|
42
|
+
#
|
|
43
|
+
# @return [Symbol, Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Type]
|
|
44
|
+
required :type, enum: -> { Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Type }
|
|
45
|
+
|
|
46
|
+
# @!method initialize(id:, created_at:, payload_style:, properties:, subscription:, type:)
|
|
47
|
+
# Some parameter documentations has been truncated, see
|
|
48
|
+
# {Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent} for more
|
|
49
|
+
# details.
|
|
50
|
+
#
|
|
51
|
+
# Issued when a subscription's cost exceeds a pre-configured amount threshold.
|
|
52
|
+
#
|
|
53
|
+
# @param id [String] The ID of this webhook event.
|
|
54
|
+
#
|
|
55
|
+
# @param created_at [Time] The time at which this event was created, to the second.
|
|
56
|
+
#
|
|
57
|
+
# @param payload_style [Symbol, Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::PayloadStyle] The serialization style this payload was rendered in, as configured on the endpo
|
|
58
|
+
#
|
|
59
|
+
# @param properties [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties]
|
|
60
|
+
#
|
|
61
|
+
# @param subscription [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription] The subscription in a standard webhook payload: the fields readable without
|
|
62
|
+
#
|
|
63
|
+
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Type] The event this payload describes.
|
|
64
|
+
|
|
65
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
66
|
+
# endpoint.
|
|
67
|
+
#
|
|
68
|
+
# @see Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent#payload_style
|
|
69
|
+
module PayloadStyle
|
|
70
|
+
extend Orb::Internal::Type::Enum
|
|
71
|
+
|
|
72
|
+
EXPANDED = :expanded
|
|
73
|
+
STANDARD = :standard
|
|
74
|
+
|
|
75
|
+
# @!method self.values
|
|
76
|
+
# @return [Array<Symbol>]
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# @see Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent#properties
|
|
80
|
+
class Properties < Orb::Internal::Type::BaseModel
|
|
81
|
+
# @!attribute alert_configuration
|
|
82
|
+
# [Alerts within Orb](/product-catalog/configuring-alerts) monitor spending,
|
|
83
|
+
# usage, or credit balance and trigger webhooks when a threshold is exceeded.
|
|
84
|
+
#
|
|
85
|
+
# Alerts created through the API can be scoped to either customers or
|
|
86
|
+
# subscriptions.
|
|
87
|
+
#
|
|
88
|
+
# @return [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration]
|
|
89
|
+
required :alert_configuration,
|
|
90
|
+
-> { Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration }
|
|
91
|
+
|
|
92
|
+
# @!attribute amount_threshold
|
|
93
|
+
#
|
|
94
|
+
# @return [String, nil]
|
|
95
|
+
required :amount_threshold, String, nil?: true
|
|
96
|
+
|
|
97
|
+
# @!attribute evaluated_amount
|
|
98
|
+
#
|
|
99
|
+
# @return [String, nil]
|
|
100
|
+
required :evaluated_amount, String, nil?: true
|
|
101
|
+
|
|
102
|
+
# @!attribute timeframe_end
|
|
103
|
+
#
|
|
104
|
+
# @return [Time]
|
|
105
|
+
required :timeframe_end, Time
|
|
106
|
+
|
|
107
|
+
# @!attribute timeframe_start
|
|
108
|
+
#
|
|
109
|
+
# @return [Time]
|
|
110
|
+
required :timeframe_start, Time
|
|
111
|
+
|
|
112
|
+
# @!method initialize(alert_configuration:, amount_threshold:, evaluated_amount:, timeframe_end:, timeframe_start:)
|
|
113
|
+
# Some parameter documentations has been truncated, see
|
|
114
|
+
# {Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties}
|
|
115
|
+
# for more details.
|
|
116
|
+
#
|
|
117
|
+
# @param alert_configuration [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration] [Alerts within Orb](/product-catalog/configuring-alerts) monitor spending,
|
|
118
|
+
#
|
|
119
|
+
# @param amount_threshold [String, nil]
|
|
120
|
+
#
|
|
121
|
+
# @param evaluated_amount [String, nil]
|
|
122
|
+
#
|
|
123
|
+
# @param timeframe_end [Time]
|
|
124
|
+
#
|
|
125
|
+
# @param timeframe_start [Time]
|
|
126
|
+
|
|
127
|
+
# @see Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties#alert_configuration
|
|
128
|
+
class AlertConfiguration < Orb::Internal::Type::BaseModel
|
|
129
|
+
# @!attribute id
|
|
130
|
+
# Also referred to as alert_id in this documentation.
|
|
131
|
+
#
|
|
132
|
+
# @return [String]
|
|
133
|
+
required :id, String
|
|
134
|
+
|
|
135
|
+
# @!attribute created_at
|
|
136
|
+
# The creation time of the resource in Orb.
|
|
137
|
+
#
|
|
138
|
+
# @return [Time]
|
|
139
|
+
required :created_at, Time
|
|
140
|
+
|
|
141
|
+
# @!attribute currency
|
|
142
|
+
# The name of the currency the credit balance or invoice cost is denominated in.
|
|
143
|
+
#
|
|
144
|
+
# @return [String, nil]
|
|
145
|
+
required :currency, String, nil?: true
|
|
146
|
+
|
|
147
|
+
# @!attribute customer
|
|
148
|
+
# The customer the alert applies to.
|
|
149
|
+
#
|
|
150
|
+
# @return [Orb::Models::CustomerMinified, nil]
|
|
151
|
+
required :customer, -> { Orb::CustomerMinified }, nil?: true
|
|
152
|
+
|
|
153
|
+
# @!attribute enabled
|
|
154
|
+
# Whether the alert is enabled or disabled.
|
|
155
|
+
#
|
|
156
|
+
# @return [Boolean]
|
|
157
|
+
required :enabled, Orb::Internal::Type::Boolean
|
|
158
|
+
|
|
159
|
+
# @!attribute metric
|
|
160
|
+
# The metric the alert applies to.
|
|
161
|
+
#
|
|
162
|
+
# @return [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::Metric, nil]
|
|
163
|
+
required :metric,
|
|
164
|
+
-> {
|
|
165
|
+
Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::Metric
|
|
166
|
+
},
|
|
167
|
+
nil?: true
|
|
168
|
+
|
|
169
|
+
# @!attribute plan
|
|
170
|
+
# The plan the alert applies to.
|
|
171
|
+
#
|
|
172
|
+
# @return [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::Plan, nil]
|
|
173
|
+
required :plan,
|
|
174
|
+
-> {
|
|
175
|
+
Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::Plan
|
|
176
|
+
},
|
|
177
|
+
nil?: true
|
|
178
|
+
|
|
179
|
+
# @!attribute subscription
|
|
180
|
+
# The subscription the alert applies to.
|
|
181
|
+
#
|
|
182
|
+
# @return [Orb::Models::SubscriptionMinified, nil]
|
|
183
|
+
required :subscription, -> { Orb::SubscriptionMinified }, nil?: true
|
|
184
|
+
|
|
185
|
+
# @!attribute thresholds
|
|
186
|
+
# The thresholds that define the conditions under which the alert will be
|
|
187
|
+
# triggered.
|
|
188
|
+
#
|
|
189
|
+
# @return [Array<Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::Threshold>, nil]
|
|
190
|
+
required :thresholds,
|
|
191
|
+
-> {
|
|
192
|
+
Orb::Internal::Type::ArrayOf[Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::Threshold]
|
|
193
|
+
},
|
|
194
|
+
nil?: true
|
|
195
|
+
|
|
196
|
+
# @!attribute type
|
|
197
|
+
# The type of alert. This must be a valid alert type.
|
|
198
|
+
#
|
|
199
|
+
# @return [Symbol, Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::Type]
|
|
200
|
+
required :type,
|
|
201
|
+
enum: -> { Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::Type }
|
|
202
|
+
|
|
203
|
+
# @!attribute balance_alert_status
|
|
204
|
+
# The current status of the alert. This field is only present for credit balance
|
|
205
|
+
# alerts.
|
|
206
|
+
#
|
|
207
|
+
# @return [Array<Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::BalanceAlertStatus>, nil]
|
|
208
|
+
optional :balance_alert_status,
|
|
209
|
+
-> do
|
|
210
|
+
Orb::Internal::Type::ArrayOf[
|
|
211
|
+
Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::BalanceAlertStatus
|
|
212
|
+
]
|
|
213
|
+
end,
|
|
214
|
+
nil?: true
|
|
215
|
+
|
|
216
|
+
# @!attribute grouping_keys
|
|
217
|
+
# The property keys to group cost alerts by. Only present for cost alerts with
|
|
218
|
+
# grouping enabled.
|
|
219
|
+
#
|
|
220
|
+
# @return [Array<String>, nil]
|
|
221
|
+
optional :grouping_keys, Orb::Internal::Type::ArrayOf[String], nil?: true
|
|
222
|
+
|
|
223
|
+
# @!attribute license_type
|
|
224
|
+
# Minified license type for alert serialization.
|
|
225
|
+
#
|
|
226
|
+
# @return [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::LicenseType, nil]
|
|
227
|
+
optional :license_type,
|
|
228
|
+
-> {
|
|
229
|
+
Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::LicenseType
|
|
230
|
+
},
|
|
231
|
+
nil?: true
|
|
232
|
+
|
|
233
|
+
# @!attribute price_filters
|
|
234
|
+
# Filters scoping which prices are included in spend and grouped cost alert
|
|
235
|
+
# evaluation. Alerts use the price_id, item_id, and price_type fields only; the
|
|
236
|
+
# alert's pricing unit is reported by currency.
|
|
237
|
+
#
|
|
238
|
+
# @return [Array<Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::PriceFilter>, nil]
|
|
239
|
+
optional :price_filters,
|
|
240
|
+
-> {
|
|
241
|
+
Orb::Internal::Type::ArrayOf[Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::PriceFilter]
|
|
242
|
+
},
|
|
243
|
+
nil?: true
|
|
244
|
+
|
|
245
|
+
# @!attribute threshold_overrides
|
|
246
|
+
# Per-group threshold overrides. Each override maps a specific combination of
|
|
247
|
+
# grouping_keys values to a replacement threshold list. Only present for grouped
|
|
248
|
+
# cost alerts that have at least one override.
|
|
249
|
+
#
|
|
250
|
+
# @return [Array<Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::ThresholdOverride>, nil]
|
|
251
|
+
optional :threshold_overrides,
|
|
252
|
+
-> do
|
|
253
|
+
Orb::Internal::Type::ArrayOf[
|
|
254
|
+
Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::ThresholdOverride
|
|
255
|
+
]
|
|
256
|
+
end,
|
|
257
|
+
nil?: true
|
|
258
|
+
|
|
259
|
+
# @!method initialize(id:, created_at:, currency:, customer:, enabled:, metric:, plan:, subscription:, thresholds:, type:, balance_alert_status: nil, grouping_keys: nil, license_type: nil, price_filters: nil, threshold_overrides: nil)
|
|
260
|
+
# Some parameter documentations has been truncated, see
|
|
261
|
+
# {Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration}
|
|
262
|
+
# for more details.
|
|
263
|
+
#
|
|
264
|
+
# [Alerts within Orb](/product-catalog/configuring-alerts) monitor spending,
|
|
265
|
+
# usage, or credit balance and trigger webhooks when a threshold is exceeded.
|
|
266
|
+
#
|
|
267
|
+
# Alerts created through the API can be scoped to either customers or
|
|
268
|
+
# subscriptions.
|
|
269
|
+
#
|
|
270
|
+
# @param id [String] Also referred to as alert_id in this documentation.
|
|
271
|
+
#
|
|
272
|
+
# @param created_at [Time] The creation time of the resource in Orb.
|
|
273
|
+
#
|
|
274
|
+
# @param currency [String, nil] The name of the currency the credit balance or invoice cost is denominated in.
|
|
275
|
+
#
|
|
276
|
+
# @param customer [Orb::Models::CustomerMinified, nil] The customer the alert applies to.
|
|
277
|
+
#
|
|
278
|
+
# @param enabled [Boolean] Whether the alert is enabled or disabled.
|
|
279
|
+
#
|
|
280
|
+
# @param metric [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::Metric, nil] The metric the alert applies to.
|
|
281
|
+
#
|
|
282
|
+
# @param plan [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::Plan, nil] The plan the alert applies to.
|
|
283
|
+
#
|
|
284
|
+
# @param subscription [Orb::Models::SubscriptionMinified, nil] The subscription the alert applies to.
|
|
285
|
+
#
|
|
286
|
+
# @param thresholds [Array<Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::Threshold>, nil] The thresholds that define the conditions under which the alert will be triggere
|
|
287
|
+
#
|
|
288
|
+
# @param type [Symbol, Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::Type] The type of alert. This must be a valid alert type.
|
|
289
|
+
#
|
|
290
|
+
# @param balance_alert_status [Array<Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::BalanceAlertStatus>, nil] The current status of the alert. This field is only present for credit balance a
|
|
291
|
+
#
|
|
292
|
+
# @param grouping_keys [Array<String>, nil] The property keys to group cost alerts by. Only present for cost alerts with gro
|
|
293
|
+
#
|
|
294
|
+
# @param license_type [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::LicenseType, nil] Minified license type for alert serialization.
|
|
295
|
+
#
|
|
296
|
+
# @param price_filters [Array<Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::PriceFilter>, nil] Filters scoping which prices are included in spend and grouped cost alert evalua
|
|
297
|
+
#
|
|
298
|
+
# @param threshold_overrides [Array<Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::ThresholdOverride>, nil] Per-group threshold overrides. Each override maps a specific combination of grou
|
|
299
|
+
|
|
300
|
+
# @see Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration#metric
|
|
301
|
+
class Metric < Orb::Internal::Type::BaseModel
|
|
302
|
+
# @!attribute id
|
|
303
|
+
#
|
|
304
|
+
# @return [String]
|
|
305
|
+
required :id, String
|
|
306
|
+
|
|
307
|
+
# @!method initialize(id:)
|
|
308
|
+
# The metric the alert applies to.
|
|
309
|
+
#
|
|
310
|
+
# @param id [String]
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
# @see Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration#plan
|
|
314
|
+
class Plan < Orb::Internal::Type::BaseModel
|
|
315
|
+
# @!attribute id
|
|
316
|
+
#
|
|
317
|
+
# @return [String, nil]
|
|
318
|
+
required :id, String, nil?: true
|
|
319
|
+
|
|
320
|
+
# @!attribute external_plan_id
|
|
321
|
+
# An optional user-defined ID for this plan resource, used throughout the system
|
|
322
|
+
# as an alias for this Plan. Use this field to identify a plan by an existing
|
|
323
|
+
# identifier in your system.
|
|
324
|
+
#
|
|
325
|
+
# @return [String, nil]
|
|
326
|
+
required :external_plan_id, String, nil?: true
|
|
327
|
+
|
|
328
|
+
# @!attribute name
|
|
329
|
+
#
|
|
330
|
+
# @return [String, nil]
|
|
331
|
+
required :name, String, nil?: true
|
|
332
|
+
|
|
333
|
+
# @!attribute plan_version
|
|
334
|
+
#
|
|
335
|
+
# @return [String]
|
|
336
|
+
required :plan_version, String
|
|
337
|
+
|
|
338
|
+
# @!method initialize(id:, external_plan_id:, name:, plan_version:)
|
|
339
|
+
# Some parameter documentations has been truncated, see
|
|
340
|
+
# {Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::Plan}
|
|
341
|
+
# for more details.
|
|
342
|
+
#
|
|
343
|
+
# The plan the alert applies to.
|
|
344
|
+
#
|
|
345
|
+
# @param id [String, nil]
|
|
346
|
+
#
|
|
347
|
+
# @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
|
|
348
|
+
#
|
|
349
|
+
# @param name [String, nil]
|
|
350
|
+
#
|
|
351
|
+
# @param plan_version [String]
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
class Threshold < Orb::Internal::Type::BaseModel
|
|
355
|
+
# @!attribute value
|
|
356
|
+
# The value at which an alert will fire. For credit balance alerts, the alert will
|
|
357
|
+
# fire at or below this value. For usage and cost alerts, the alert will fire at
|
|
358
|
+
# or above this value.
|
|
359
|
+
#
|
|
360
|
+
# @return [String]
|
|
361
|
+
required :value, String
|
|
362
|
+
|
|
363
|
+
# @!method initialize(value:)
|
|
364
|
+
# Some parameter documentations has been truncated, see
|
|
365
|
+
# {Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::Threshold}
|
|
366
|
+
# for more details.
|
|
367
|
+
#
|
|
368
|
+
# Thresholds are used to define the conditions under which an alert will be
|
|
369
|
+
# triggered.
|
|
370
|
+
#
|
|
371
|
+
# @param value [String] The value at which an alert will fire. For credit balance alerts, the alert will
|
|
372
|
+
end
|
|
373
|
+
|
|
374
|
+
# The type of alert. This must be a valid alert type.
|
|
375
|
+
#
|
|
376
|
+
# @see Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration#type
|
|
377
|
+
module Type
|
|
378
|
+
extend Orb::Internal::Type::Enum
|
|
379
|
+
|
|
380
|
+
CREDIT_BALANCE_DEPLETED = :credit_balance_depleted
|
|
381
|
+
CREDIT_BALANCE_DROPPED = :credit_balance_dropped
|
|
382
|
+
CREDIT_BALANCE_RECOVERED = :credit_balance_recovered
|
|
383
|
+
USAGE_EXCEEDED = :usage_exceeded
|
|
384
|
+
COST_EXCEEDED = :cost_exceeded
|
|
385
|
+
SPEND_EXCEEDED = :spend_exceeded
|
|
386
|
+
LICENSE_BALANCE_THRESHOLD_REACHED = :license_balance_threshold_reached
|
|
387
|
+
|
|
388
|
+
# @!method self.values
|
|
389
|
+
# @return [Array<Symbol>]
|
|
390
|
+
end
|
|
391
|
+
|
|
392
|
+
class BalanceAlertStatus < Orb::Internal::Type::BaseModel
|
|
393
|
+
# @!attribute in_alert
|
|
394
|
+
# Whether the alert is currently in-alert or not.
|
|
395
|
+
#
|
|
396
|
+
# @return [Boolean]
|
|
397
|
+
required :in_alert, Orb::Internal::Type::Boolean
|
|
398
|
+
|
|
399
|
+
# @!attribute threshold_value
|
|
400
|
+
# The value of the threshold that defines the alert status.
|
|
401
|
+
#
|
|
402
|
+
# @return [String]
|
|
403
|
+
required :threshold_value, String
|
|
404
|
+
|
|
405
|
+
# @!method initialize(in_alert:, threshold_value:)
|
|
406
|
+
# Alert status is used to determine if an alert is currently in-alert or not.
|
|
407
|
+
#
|
|
408
|
+
# @param in_alert [Boolean] Whether the alert is currently in-alert or not.
|
|
409
|
+
#
|
|
410
|
+
# @param threshold_value [String] The value of the threshold that defines the alert status.
|
|
411
|
+
end
|
|
412
|
+
|
|
413
|
+
# @see Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration#license_type
|
|
414
|
+
class LicenseType < Orb::Internal::Type::BaseModel
|
|
415
|
+
# @!attribute id
|
|
416
|
+
#
|
|
417
|
+
# @return [String]
|
|
418
|
+
required :id, String
|
|
419
|
+
|
|
420
|
+
# @!method initialize(id:)
|
|
421
|
+
# Minified license type for alert serialization.
|
|
422
|
+
#
|
|
423
|
+
# @param id [String]
|
|
424
|
+
end
|
|
425
|
+
|
|
426
|
+
class PriceFilter < Orb::Internal::Type::BaseModel
|
|
427
|
+
# @!attribute field
|
|
428
|
+
# The property of the price to filter on.
|
|
429
|
+
#
|
|
430
|
+
# @return [Symbol, Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::PriceFilter::Field]
|
|
431
|
+
required :field,
|
|
432
|
+
enum: -> { Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::PriceFilter::Field }
|
|
433
|
+
|
|
434
|
+
# @!attribute operator
|
|
435
|
+
# Should prices that match the filter be included or excluded.
|
|
436
|
+
#
|
|
437
|
+
# @return [Symbol, Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::PriceFilter::Operator]
|
|
438
|
+
required :operator,
|
|
439
|
+
enum: -> { Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::PriceFilter::Operator }
|
|
440
|
+
|
|
441
|
+
# @!attribute values
|
|
442
|
+
# The IDs or values that match this filter.
|
|
443
|
+
#
|
|
444
|
+
# @return [Array<String>]
|
|
445
|
+
required :values, Orb::Internal::Type::ArrayOf[String]
|
|
446
|
+
|
|
447
|
+
# @!method initialize(field:, operator:, values:)
|
|
448
|
+
# @param field [Symbol, Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::PriceFilter::Field] The property of the price to filter on.
|
|
449
|
+
#
|
|
450
|
+
# @param operator [Symbol, Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::PriceFilter::Operator] Should prices that match the filter be included or excluded.
|
|
451
|
+
#
|
|
452
|
+
# @param values [Array<String>] The IDs or values that match this filter.
|
|
453
|
+
|
|
454
|
+
# The property of the price to filter on.
|
|
455
|
+
#
|
|
456
|
+
# @see Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::PriceFilter#field
|
|
457
|
+
module Field
|
|
458
|
+
extend Orb::Internal::Type::Enum
|
|
459
|
+
|
|
460
|
+
PRICE_ID = :price_id
|
|
461
|
+
ITEM_ID = :item_id
|
|
462
|
+
PRICE_TYPE = :price_type
|
|
463
|
+
CURRENCY = :currency
|
|
464
|
+
PRICING_UNIT_ID = :pricing_unit_id
|
|
465
|
+
|
|
466
|
+
# @!method self.values
|
|
467
|
+
# @return [Array<Symbol>]
|
|
468
|
+
end
|
|
469
|
+
|
|
470
|
+
# Should prices that match the filter be included or excluded.
|
|
471
|
+
#
|
|
472
|
+
# @see Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::PriceFilter#operator
|
|
473
|
+
module Operator
|
|
474
|
+
extend Orb::Internal::Type::Enum
|
|
475
|
+
|
|
476
|
+
INCLUDES = :includes
|
|
477
|
+
EXCLUDES = :excludes
|
|
478
|
+
|
|
479
|
+
# @!method self.values
|
|
480
|
+
# @return [Array<Symbol>]
|
|
481
|
+
end
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
class ThresholdOverride < Orb::Internal::Type::BaseModel
|
|
485
|
+
# @!attribute group_values
|
|
486
|
+
# The values identifying this group, ordered to match group_keys when set and the
|
|
487
|
+
# alert's grouping_keys otherwise.
|
|
488
|
+
#
|
|
489
|
+
# @return [Array<String>]
|
|
490
|
+
required :group_values, Orb::Internal::Type::ArrayOf[String]
|
|
491
|
+
|
|
492
|
+
# @!attribute thresholds
|
|
493
|
+
# The thresholds applied to this group. An empty list means the group is silenced.
|
|
494
|
+
#
|
|
495
|
+
# @return [Array<Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::ThresholdOverride::Threshold>]
|
|
496
|
+
required :thresholds,
|
|
497
|
+
-> do
|
|
498
|
+
Orb::Internal::Type::ArrayOf[
|
|
499
|
+
Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::ThresholdOverride::Threshold
|
|
500
|
+
]
|
|
501
|
+
end
|
|
502
|
+
|
|
503
|
+
# @!attribute group_keys
|
|
504
|
+
# The subset of the alert's grouping_keys this override binds. Null when the
|
|
505
|
+
# override targets one exact group across every grouping key.
|
|
506
|
+
#
|
|
507
|
+
# @return [Array<String>, nil]
|
|
508
|
+
optional :group_keys, Orb::Internal::Type::ArrayOf[String], nil?: true
|
|
509
|
+
|
|
510
|
+
# @!method initialize(group_values:, thresholds:, group_keys: nil)
|
|
511
|
+
# Some parameter documentations has been truncated, see
|
|
512
|
+
# {Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::ThresholdOverride}
|
|
513
|
+
# for more details.
|
|
514
|
+
#
|
|
515
|
+
# A per-group threshold override on a grouped cost alert.
|
|
516
|
+
#
|
|
517
|
+
# An empty `thresholds` list means the group is silenced (never fires). A
|
|
518
|
+
# non-empty list fully replaces the default thresholds for that group.
|
|
519
|
+
#
|
|
520
|
+
# @param group_values [Array<String>] The values identifying this group, ordered to match group_keys when set and the
|
|
521
|
+
#
|
|
522
|
+
# @param thresholds [Array<Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::ThresholdOverride::Threshold>] The thresholds applied to this group. An empty list means the group is silenced.
|
|
523
|
+
#
|
|
524
|
+
# @param group_keys [Array<String>, nil] The subset of the alert's grouping_keys this override binds. Null when the overr
|
|
525
|
+
|
|
526
|
+
class Threshold < Orb::Internal::Type::BaseModel
|
|
527
|
+
# @!attribute value
|
|
528
|
+
# The value at which an alert will fire. For credit balance alerts, the alert will
|
|
529
|
+
# fire at or below this value. For usage and cost alerts, the alert will fire at
|
|
530
|
+
# or above this value.
|
|
531
|
+
#
|
|
532
|
+
# @return [String]
|
|
533
|
+
required :value, String
|
|
534
|
+
|
|
535
|
+
# @!method initialize(value:)
|
|
536
|
+
# Some parameter documentations has been truncated, see
|
|
537
|
+
# {Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Properties::AlertConfiguration::ThresholdOverride::Threshold}
|
|
538
|
+
# for more details.
|
|
539
|
+
#
|
|
540
|
+
# Thresholds are used to define the conditions under which an alert will be
|
|
541
|
+
# triggered.
|
|
542
|
+
#
|
|
543
|
+
# @param value [String] The value at which an alert will fire. For credit balance alerts, the alert will
|
|
544
|
+
end
|
|
545
|
+
end
|
|
546
|
+
end
|
|
547
|
+
end
|
|
548
|
+
|
|
549
|
+
# @see Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent#subscription
|
|
550
|
+
class Subscription < Orb::Internal::Type::BaseModel
|
|
551
|
+
# @!attribute id
|
|
552
|
+
#
|
|
553
|
+
# @return [String]
|
|
554
|
+
required :id, String
|
|
555
|
+
|
|
556
|
+
# @!attribute created_at
|
|
557
|
+
#
|
|
558
|
+
# @return [Time]
|
|
559
|
+
required :created_at, Time
|
|
560
|
+
|
|
561
|
+
# @!attribute customer
|
|
562
|
+
#
|
|
563
|
+
# @return [Orb::Models::CustomerMinified]
|
|
564
|
+
required :customer, -> { Orb::CustomerMinified }
|
|
565
|
+
|
|
566
|
+
# @!attribute end_date
|
|
567
|
+
# The date Orb stops billing for this subscription.
|
|
568
|
+
#
|
|
569
|
+
# @return [Time, nil]
|
|
570
|
+
required :end_date, Time, nil?: true
|
|
571
|
+
|
|
572
|
+
# @!attribute metadata
|
|
573
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
|
574
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
|
575
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
576
|
+
# `null`.
|
|
577
|
+
#
|
|
578
|
+
# @return [Hash{Symbol=>String}]
|
|
579
|
+
required :metadata, Orb::Internal::Type::HashOf[String]
|
|
580
|
+
|
|
581
|
+
# @!attribute name
|
|
582
|
+
# The name of the subscription.
|
|
583
|
+
#
|
|
584
|
+
# @return [String]
|
|
585
|
+
required :name, String
|
|
586
|
+
|
|
587
|
+
# @!attribute plan
|
|
588
|
+
#
|
|
589
|
+
# @return [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription::Plan, nil]
|
|
590
|
+
required :plan,
|
|
591
|
+
-> { Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription::Plan },
|
|
592
|
+
nil?: true
|
|
593
|
+
|
|
594
|
+
# @!attribute start_date
|
|
595
|
+
# The date Orb starts billing for this subscription.
|
|
596
|
+
#
|
|
597
|
+
# @return [Time]
|
|
598
|
+
required :start_date, Time
|
|
599
|
+
|
|
600
|
+
# @!attribute status
|
|
601
|
+
#
|
|
602
|
+
# @return [Symbol, Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription::Status]
|
|
603
|
+
required :status,
|
|
604
|
+
enum: -> { Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription::Status }
|
|
605
|
+
|
|
606
|
+
# @!method initialize(id:, created_at:, customer:, end_date:, metadata:, name:, plan:, start_date:, status:)
|
|
607
|
+
# Some parameter documentations has been truncated, see
|
|
608
|
+
# {Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription}
|
|
609
|
+
# for more details.
|
|
610
|
+
#
|
|
611
|
+
# The subscription in a standard webhook payload: the fields readable without
|
|
612
|
+
# to_subscription_params(), which every interval, billing period and plan phase
|
|
613
|
+
# depends on.
|
|
614
|
+
#
|
|
615
|
+
# @param id [String]
|
|
616
|
+
#
|
|
617
|
+
# @param created_at [Time]
|
|
618
|
+
#
|
|
619
|
+
# @param customer [Orb::Models::CustomerMinified]
|
|
620
|
+
#
|
|
621
|
+
# @param end_date [Time, nil] The date Orb stops billing for this subscription.
|
|
622
|
+
#
|
|
623
|
+
# @param metadata [Hash{Symbol=>String}] User specified key-value pairs for the resource. If not present, this defaults t
|
|
624
|
+
#
|
|
625
|
+
# @param name [String] The name of the subscription.
|
|
626
|
+
#
|
|
627
|
+
# @param plan [Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription::Plan, nil]
|
|
628
|
+
#
|
|
629
|
+
# @param start_date [Time] The date Orb starts billing for this subscription.
|
|
630
|
+
#
|
|
631
|
+
# @param status [Symbol, Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription::Status]
|
|
632
|
+
|
|
633
|
+
# @see Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription#plan
|
|
634
|
+
class Plan < Orb::Internal::Type::BaseModel
|
|
635
|
+
# @!attribute id
|
|
636
|
+
#
|
|
637
|
+
# @return [String, nil]
|
|
638
|
+
required :id, String, nil?: true
|
|
639
|
+
|
|
640
|
+
# @!attribute external_plan_id
|
|
641
|
+
# An optional user-defined ID for this plan resource, used throughout the system
|
|
642
|
+
# as an alias for this Plan. Use this field to identify a plan by an existing
|
|
643
|
+
# identifier in your system.
|
|
644
|
+
#
|
|
645
|
+
# @return [String, nil]
|
|
646
|
+
required :external_plan_id, String, nil?: true
|
|
647
|
+
|
|
648
|
+
# @!attribute name
|
|
649
|
+
#
|
|
650
|
+
# @return [String, nil]
|
|
651
|
+
required :name, String, nil?: true
|
|
652
|
+
|
|
653
|
+
# @!method initialize(id:, external_plan_id:, name:)
|
|
654
|
+
# Some parameter documentations has been truncated, see
|
|
655
|
+
# {Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription::Plan}
|
|
656
|
+
# for more details.
|
|
657
|
+
#
|
|
658
|
+
# @param id [String, nil]
|
|
659
|
+
#
|
|
660
|
+
# @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
|
|
661
|
+
#
|
|
662
|
+
# @param name [String, nil]
|
|
663
|
+
end
|
|
664
|
+
|
|
665
|
+
# @see Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent::Subscription#status
|
|
666
|
+
module Status
|
|
667
|
+
extend Orb::Internal::Type::Enum
|
|
668
|
+
|
|
669
|
+
ACTIVE = :active
|
|
670
|
+
ENDED = :ended
|
|
671
|
+
UPCOMING = :upcoming
|
|
672
|
+
|
|
673
|
+
# @!method self.values
|
|
674
|
+
# @return [Array<Symbol>]
|
|
675
|
+
end
|
|
676
|
+
end
|
|
677
|
+
|
|
678
|
+
# The event this payload describes.
|
|
679
|
+
#
|
|
680
|
+
# @see Orb::Models::Webhooks::SubscriptionCostExceededStandardWebhookEvent#type
|
|
681
|
+
module Type
|
|
682
|
+
extend Orb::Internal::Type::Enum
|
|
683
|
+
|
|
684
|
+
SUBSCRIPTION_COST_EXCEEDED = :"subscription.cost_exceeded"
|
|
685
|
+
|
|
686
|
+
# @!method self.values
|
|
687
|
+
# @return [Array<Symbol>]
|
|
688
|
+
end
|
|
689
|
+
end
|
|
690
|
+
end
|
|
691
|
+
end
|
|
692
|
+
end
|