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,223 @@
|
|
|
1
|
+
module Orb
|
|
2
|
+
module Models
|
|
3
|
+
module Webhooks
|
|
4
|
+
type transaction_accounting_sync_failed_standard_webhook_event =
|
|
5
|
+
{
|
|
6
|
+
id: String,
|
|
7
|
+
accounting_sync_record: Orb::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::AccountingSyncRecord,
|
|
8
|
+
created_at: Time,
|
|
9
|
+
payload_style: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::payload_style,
|
|
10
|
+
properties: Orb::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::Properties,
|
|
11
|
+
transaction: Orb::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::Transaction,
|
|
12
|
+
type: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::type_
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
class TransactionAccountingSyncFailedStandardWebhookEvent < Orb::Internal::Type::BaseModel
|
|
16
|
+
attr_accessor id: String
|
|
17
|
+
|
|
18
|
+
attr_accessor accounting_sync_record: Orb::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::AccountingSyncRecord
|
|
19
|
+
|
|
20
|
+
attr_accessor created_at: Time
|
|
21
|
+
|
|
22
|
+
attr_accessor payload_style: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::payload_style
|
|
23
|
+
|
|
24
|
+
attr_accessor properties: Orb::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::Properties
|
|
25
|
+
|
|
26
|
+
attr_accessor transaction: Orb::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::Transaction
|
|
27
|
+
|
|
28
|
+
attr_accessor type: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::type_
|
|
29
|
+
|
|
30
|
+
def initialize: (
|
|
31
|
+
id: String,
|
|
32
|
+
accounting_sync_record: Orb::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::AccountingSyncRecord,
|
|
33
|
+
created_at: Time,
|
|
34
|
+
payload_style: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::payload_style,
|
|
35
|
+
properties: Orb::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::Properties,
|
|
36
|
+
transaction: Orb::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::Transaction,
|
|
37
|
+
type: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::type_
|
|
38
|
+
) -> void
|
|
39
|
+
|
|
40
|
+
def to_hash: -> {
|
|
41
|
+
id: String,
|
|
42
|
+
accounting_sync_record: Orb::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::AccountingSyncRecord,
|
|
43
|
+
created_at: Time,
|
|
44
|
+
payload_style: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::payload_style,
|
|
45
|
+
properties: Orb::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::Properties,
|
|
46
|
+
transaction: Orb::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::Transaction,
|
|
47
|
+
type: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::type_
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
type accounting_sync_record =
|
|
51
|
+
{
|
|
52
|
+
id: String,
|
|
53
|
+
customer_id: String,
|
|
54
|
+
record_type: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::AccountingSyncRecord::record_type,
|
|
55
|
+
error_details: ::Hash[Symbol, top]?,
|
|
56
|
+
provider_customer_id: String?,
|
|
57
|
+
status: String?,
|
|
58
|
+
sync_action: String?,
|
|
59
|
+
transaction_record_id: String?
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
class AccountingSyncRecord < Orb::Internal::Type::BaseModel
|
|
63
|
+
attr_accessor id: String
|
|
64
|
+
|
|
65
|
+
attr_accessor customer_id: String
|
|
66
|
+
|
|
67
|
+
attr_accessor record_type: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::AccountingSyncRecord::record_type
|
|
68
|
+
|
|
69
|
+
attr_accessor error_details: ::Hash[Symbol, top]?
|
|
70
|
+
|
|
71
|
+
attr_accessor provider_customer_id: String?
|
|
72
|
+
|
|
73
|
+
attr_accessor status: String?
|
|
74
|
+
|
|
75
|
+
attr_accessor sync_action: String?
|
|
76
|
+
|
|
77
|
+
attr_accessor transaction_record_id: String?
|
|
78
|
+
|
|
79
|
+
def initialize: (
|
|
80
|
+
id: String,
|
|
81
|
+
customer_id: String,
|
|
82
|
+
record_type: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::AccountingSyncRecord::record_type,
|
|
83
|
+
?error_details: ::Hash[Symbol, top]?,
|
|
84
|
+
?provider_customer_id: String?,
|
|
85
|
+
?status: String?,
|
|
86
|
+
?sync_action: String?,
|
|
87
|
+
?transaction_record_id: String?
|
|
88
|
+
) -> void
|
|
89
|
+
|
|
90
|
+
def to_hash: -> {
|
|
91
|
+
id: String,
|
|
92
|
+
customer_id: String,
|
|
93
|
+
record_type: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::AccountingSyncRecord::record_type,
|
|
94
|
+
error_details: ::Hash[Symbol, top]?,
|
|
95
|
+
provider_customer_id: String?,
|
|
96
|
+
status: String?,
|
|
97
|
+
sync_action: String?,
|
|
98
|
+
transaction_record_id: String?
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
type record_type =
|
|
102
|
+
:customer
|
|
103
|
+
| :invoice
|
|
104
|
+
| :transaction
|
|
105
|
+
| :customer_balance_transaction
|
|
106
|
+
| :credit_note
|
|
107
|
+
| :subscription
|
|
108
|
+
| :sales_order
|
|
109
|
+
| :block
|
|
110
|
+
|
|
111
|
+
module RecordType
|
|
112
|
+
extend Orb::Internal::Type::Enum
|
|
113
|
+
|
|
114
|
+
CUSTOMER: :customer
|
|
115
|
+
INVOICE: :invoice
|
|
116
|
+
TRANSACTION: :transaction
|
|
117
|
+
CUSTOMER_BALANCE_TRANSACTION: :customer_balance_transaction
|
|
118
|
+
CREDIT_NOTE: :credit_note
|
|
119
|
+
SUBSCRIPTION: :subscription
|
|
120
|
+
SALES_ORDER: :sales_order
|
|
121
|
+
BLOCK: :block
|
|
122
|
+
|
|
123
|
+
def self?.values: -> ::Array[Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::AccountingSyncRecord::record_type]
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
type payload_style = :expanded | :standard
|
|
128
|
+
|
|
129
|
+
module PayloadStyle
|
|
130
|
+
extend Orb::Internal::Type::Enum
|
|
131
|
+
|
|
132
|
+
EXPANDED: :expanded
|
|
133
|
+
STANDARD: :standard
|
|
134
|
+
|
|
135
|
+
def self?.values: -> ::Array[Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::payload_style]
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
type properties = { connection_type: String, failure_reason: String }
|
|
139
|
+
|
|
140
|
+
class Properties < Orb::Internal::Type::BaseModel
|
|
141
|
+
attr_accessor connection_type: String
|
|
142
|
+
|
|
143
|
+
attr_accessor failure_reason: String
|
|
144
|
+
|
|
145
|
+
def initialize: (
|
|
146
|
+
connection_type: String,
|
|
147
|
+
failure_reason: String
|
|
148
|
+
) -> void
|
|
149
|
+
|
|
150
|
+
def to_hash: -> { connection_type: String, failure_reason: String }
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
type transaction =
|
|
154
|
+
{
|
|
155
|
+
id: String,
|
|
156
|
+
amount: String,
|
|
157
|
+
created_at: Time,
|
|
158
|
+
payment_provider: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::Transaction::payment_provider?,
|
|
159
|
+
payment_provider_id: String?,
|
|
160
|
+
receipt_pdf: String?,
|
|
161
|
+
succeeded: bool
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
class Transaction < Orb::Internal::Type::BaseModel
|
|
165
|
+
attr_accessor id: String
|
|
166
|
+
|
|
167
|
+
attr_accessor amount: String
|
|
168
|
+
|
|
169
|
+
attr_accessor created_at: Time
|
|
170
|
+
|
|
171
|
+
attr_accessor payment_provider: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::Transaction::payment_provider?
|
|
172
|
+
|
|
173
|
+
attr_accessor payment_provider_id: String?
|
|
174
|
+
|
|
175
|
+
attr_accessor receipt_pdf: String?
|
|
176
|
+
|
|
177
|
+
attr_accessor succeeded: bool
|
|
178
|
+
|
|
179
|
+
def initialize: (
|
|
180
|
+
id: String,
|
|
181
|
+
amount: String,
|
|
182
|
+
created_at: Time,
|
|
183
|
+
payment_provider: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::Transaction::payment_provider?,
|
|
184
|
+
payment_provider_id: String?,
|
|
185
|
+
receipt_pdf: String?,
|
|
186
|
+
succeeded: bool
|
|
187
|
+
) -> void
|
|
188
|
+
|
|
189
|
+
def to_hash: -> {
|
|
190
|
+
id: String,
|
|
191
|
+
amount: String,
|
|
192
|
+
created_at: Time,
|
|
193
|
+
payment_provider: Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::Transaction::payment_provider?,
|
|
194
|
+
payment_provider_id: String?,
|
|
195
|
+
receipt_pdf: String?,
|
|
196
|
+
succeeded: bool
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
type payment_provider = :stripe | :adyen
|
|
200
|
+
|
|
201
|
+
module PaymentProvider
|
|
202
|
+
extend Orb::Internal::Type::Enum
|
|
203
|
+
|
|
204
|
+
STRIPE: :stripe
|
|
205
|
+
ADYEN: :adyen
|
|
206
|
+
|
|
207
|
+
def self?.values: -> ::Array[Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::Transaction::payment_provider]
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
type type_ = :"transaction.accounting_sync_failed"
|
|
212
|
+
|
|
213
|
+
module Type
|
|
214
|
+
extend Orb::Internal::Type::Enum
|
|
215
|
+
|
|
216
|
+
TRANSACTION_ACCOUNTING_SYNC_FAILED: :"transaction.accounting_sync_failed"
|
|
217
|
+
|
|
218
|
+
def self?.values: -> ::Array[Orb::Models::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent::type_]
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
end
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
module Orb
|
|
2
|
+
module Models
|
|
3
|
+
module Webhooks
|
|
4
|
+
type transaction_accounting_sync_succeeded_standard_webhook_event =
|
|
5
|
+
{
|
|
6
|
+
id: String,
|
|
7
|
+
accounting_sync_record: Orb::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::AccountingSyncRecord,
|
|
8
|
+
created_at: Time,
|
|
9
|
+
payload_style: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::payload_style,
|
|
10
|
+
properties: Orb::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::Properties,
|
|
11
|
+
transaction: Orb::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::Transaction,
|
|
12
|
+
type: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::type_
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
class TransactionAccountingSyncSucceededStandardWebhookEvent < Orb::Internal::Type::BaseModel
|
|
16
|
+
attr_accessor id: String
|
|
17
|
+
|
|
18
|
+
attr_accessor accounting_sync_record: Orb::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::AccountingSyncRecord
|
|
19
|
+
|
|
20
|
+
attr_accessor created_at: Time
|
|
21
|
+
|
|
22
|
+
attr_accessor payload_style: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::payload_style
|
|
23
|
+
|
|
24
|
+
attr_accessor properties: Orb::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::Properties
|
|
25
|
+
|
|
26
|
+
attr_accessor transaction: Orb::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::Transaction
|
|
27
|
+
|
|
28
|
+
attr_accessor type: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::type_
|
|
29
|
+
|
|
30
|
+
def initialize: (
|
|
31
|
+
id: String,
|
|
32
|
+
accounting_sync_record: Orb::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::AccountingSyncRecord,
|
|
33
|
+
created_at: Time,
|
|
34
|
+
payload_style: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::payload_style,
|
|
35
|
+
properties: Orb::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::Properties,
|
|
36
|
+
transaction: Orb::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::Transaction,
|
|
37
|
+
type: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::type_
|
|
38
|
+
) -> void
|
|
39
|
+
|
|
40
|
+
def to_hash: -> {
|
|
41
|
+
id: String,
|
|
42
|
+
accounting_sync_record: Orb::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::AccountingSyncRecord,
|
|
43
|
+
created_at: Time,
|
|
44
|
+
payload_style: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::payload_style,
|
|
45
|
+
properties: Orb::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::Properties,
|
|
46
|
+
transaction: Orb::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::Transaction,
|
|
47
|
+
type: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::type_
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
type accounting_sync_record =
|
|
51
|
+
{
|
|
52
|
+
id: String,
|
|
53
|
+
customer_id: String,
|
|
54
|
+
record_type: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::AccountingSyncRecord::record_type,
|
|
55
|
+
error_details: ::Hash[Symbol, top]?,
|
|
56
|
+
provider_customer_id: String?,
|
|
57
|
+
status: String?,
|
|
58
|
+
sync_action: String?,
|
|
59
|
+
transaction_record_id: String?
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
class AccountingSyncRecord < Orb::Internal::Type::BaseModel
|
|
63
|
+
attr_accessor id: String
|
|
64
|
+
|
|
65
|
+
attr_accessor customer_id: String
|
|
66
|
+
|
|
67
|
+
attr_accessor record_type: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::AccountingSyncRecord::record_type
|
|
68
|
+
|
|
69
|
+
attr_accessor error_details: ::Hash[Symbol, top]?
|
|
70
|
+
|
|
71
|
+
attr_accessor provider_customer_id: String?
|
|
72
|
+
|
|
73
|
+
attr_accessor status: String?
|
|
74
|
+
|
|
75
|
+
attr_accessor sync_action: String?
|
|
76
|
+
|
|
77
|
+
attr_accessor transaction_record_id: String?
|
|
78
|
+
|
|
79
|
+
def initialize: (
|
|
80
|
+
id: String,
|
|
81
|
+
customer_id: String,
|
|
82
|
+
record_type: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::AccountingSyncRecord::record_type,
|
|
83
|
+
?error_details: ::Hash[Symbol, top]?,
|
|
84
|
+
?provider_customer_id: String?,
|
|
85
|
+
?status: String?,
|
|
86
|
+
?sync_action: String?,
|
|
87
|
+
?transaction_record_id: String?
|
|
88
|
+
) -> void
|
|
89
|
+
|
|
90
|
+
def to_hash: -> {
|
|
91
|
+
id: String,
|
|
92
|
+
customer_id: String,
|
|
93
|
+
record_type: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::AccountingSyncRecord::record_type,
|
|
94
|
+
error_details: ::Hash[Symbol, top]?,
|
|
95
|
+
provider_customer_id: String?,
|
|
96
|
+
status: String?,
|
|
97
|
+
sync_action: String?,
|
|
98
|
+
transaction_record_id: String?
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
type record_type =
|
|
102
|
+
:customer
|
|
103
|
+
| :invoice
|
|
104
|
+
| :transaction
|
|
105
|
+
| :customer_balance_transaction
|
|
106
|
+
| :credit_note
|
|
107
|
+
| :subscription
|
|
108
|
+
| :sales_order
|
|
109
|
+
| :block
|
|
110
|
+
|
|
111
|
+
module RecordType
|
|
112
|
+
extend Orb::Internal::Type::Enum
|
|
113
|
+
|
|
114
|
+
CUSTOMER: :customer
|
|
115
|
+
INVOICE: :invoice
|
|
116
|
+
TRANSACTION: :transaction
|
|
117
|
+
CUSTOMER_BALANCE_TRANSACTION: :customer_balance_transaction
|
|
118
|
+
CREDIT_NOTE: :credit_note
|
|
119
|
+
SUBSCRIPTION: :subscription
|
|
120
|
+
SALES_ORDER: :sales_order
|
|
121
|
+
BLOCK: :block
|
|
122
|
+
|
|
123
|
+
def self?.values: -> ::Array[Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::AccountingSyncRecord::record_type]
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
type payload_style = :expanded | :standard
|
|
128
|
+
|
|
129
|
+
module PayloadStyle
|
|
130
|
+
extend Orb::Internal::Type::Enum
|
|
131
|
+
|
|
132
|
+
EXPANDED: :expanded
|
|
133
|
+
STANDARD: :standard
|
|
134
|
+
|
|
135
|
+
def self?.values: -> ::Array[Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::payload_style]
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
type properties = { connection_type: String }
|
|
139
|
+
|
|
140
|
+
class Properties < Orb::Internal::Type::BaseModel
|
|
141
|
+
attr_accessor connection_type: String
|
|
142
|
+
|
|
143
|
+
def initialize: (connection_type: String) -> void
|
|
144
|
+
|
|
145
|
+
def to_hash: -> { connection_type: String }
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
type transaction =
|
|
149
|
+
{
|
|
150
|
+
id: String,
|
|
151
|
+
amount: String,
|
|
152
|
+
created_at: Time,
|
|
153
|
+
payment_provider: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::Transaction::payment_provider?,
|
|
154
|
+
payment_provider_id: String?,
|
|
155
|
+
receipt_pdf: String?,
|
|
156
|
+
succeeded: bool
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
class Transaction < Orb::Internal::Type::BaseModel
|
|
160
|
+
attr_accessor id: String
|
|
161
|
+
|
|
162
|
+
attr_accessor amount: String
|
|
163
|
+
|
|
164
|
+
attr_accessor created_at: Time
|
|
165
|
+
|
|
166
|
+
attr_accessor payment_provider: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::Transaction::payment_provider?
|
|
167
|
+
|
|
168
|
+
attr_accessor payment_provider_id: String?
|
|
169
|
+
|
|
170
|
+
attr_accessor receipt_pdf: String?
|
|
171
|
+
|
|
172
|
+
attr_accessor succeeded: bool
|
|
173
|
+
|
|
174
|
+
def initialize: (
|
|
175
|
+
id: String,
|
|
176
|
+
amount: String,
|
|
177
|
+
created_at: Time,
|
|
178
|
+
payment_provider: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::Transaction::payment_provider?,
|
|
179
|
+
payment_provider_id: String?,
|
|
180
|
+
receipt_pdf: String?,
|
|
181
|
+
succeeded: bool
|
|
182
|
+
) -> void
|
|
183
|
+
|
|
184
|
+
def to_hash: -> {
|
|
185
|
+
id: String,
|
|
186
|
+
amount: String,
|
|
187
|
+
created_at: Time,
|
|
188
|
+
payment_provider: Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::Transaction::payment_provider?,
|
|
189
|
+
payment_provider_id: String?,
|
|
190
|
+
receipt_pdf: String?,
|
|
191
|
+
succeeded: bool
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
type payment_provider = :stripe | :adyen
|
|
195
|
+
|
|
196
|
+
module PaymentProvider
|
|
197
|
+
extend Orb::Internal::Type::Enum
|
|
198
|
+
|
|
199
|
+
STRIPE: :stripe
|
|
200
|
+
ADYEN: :adyen
|
|
201
|
+
|
|
202
|
+
def self?.values: -> ::Array[Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::Transaction::payment_provider]
|
|
203
|
+
end
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
type type_ = :"transaction.accounting_sync_succeeded"
|
|
207
|
+
|
|
208
|
+
module Type
|
|
209
|
+
extend Orb::Internal::Type::Enum
|
|
210
|
+
|
|
211
|
+
TRANSACTION_ACCOUNTING_SYNC_SUCCEEDED: :"transaction.accounting_sync_succeeded"
|
|
212
|
+
|
|
213
|
+
def self?.values: -> ::Array[Orb::Models::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent::type_]
|
|
214
|
+
end
|
|
215
|
+
end
|
|
216
|
+
end
|
|
217
|
+
end
|
|
218
|
+
end
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
module Orb
|
|
2
|
+
module Models
|
|
3
|
+
module Webhooks
|
|
4
|
+
type unwrap_standard_webhook_event =
|
|
5
|
+
Orb::Webhooks::BackfillReflectedStandardWebhookEvent
|
|
6
|
+
| Orb::Webhooks::BackfillRevertedStandardWebhookEvent
|
|
7
|
+
| Orb::Webhooks::BillableMetricEditedStandardWebhookEvent
|
|
8
|
+
| Orb::Webhooks::CreditBlockAccountingSyncFailedStandardWebhookEvent
|
|
9
|
+
| Orb::Webhooks::CreditBlockAccountingSyncSucceededStandardWebhookEvent
|
|
10
|
+
| Orb::Webhooks::CreditNoteAccountingSyncFailedStandardWebhookEvent
|
|
11
|
+
| Orb::Webhooks::CreditNoteAccountingSyncSucceededStandardWebhookEvent
|
|
12
|
+
| Orb::Webhooks::CreditNoteIssuedStandardWebhookEvent
|
|
13
|
+
| Orb::Webhooks::CreditNoteMarkedAsVoidStandardWebhookEvent
|
|
14
|
+
| Orb::Webhooks::CustomerAccountingSyncFailedStandardWebhookEvent
|
|
15
|
+
| Orb::Webhooks::CustomerAccountingSyncSucceededStandardWebhookEvent
|
|
16
|
+
| Orb::Webhooks::CustomerBalanceTransactionCreatedStandardWebhookEvent
|
|
17
|
+
| Orb::Webhooks::CustomerCreatedStandardWebhookEvent
|
|
18
|
+
| Orb::Webhooks::CustomerCreditBalanceDepletedStandardWebhookEvent
|
|
19
|
+
| Orb::Webhooks::CustomerCreditBalanceDroppedStandardWebhookEvent
|
|
20
|
+
| Orb::Webhooks::CustomerCreditBalanceRecoveredStandardWebhookEvent
|
|
21
|
+
| Orb::Webhooks::CustomerCreditLedgerIncrementedStandardWebhookEvent
|
|
22
|
+
| Orb::Webhooks::CustomerEditedStandardWebhookEvent
|
|
23
|
+
| Orb::Webhooks::DataExportsTransferErrorStandardWebhookEvent
|
|
24
|
+
| Orb::Webhooks::DataExportsTransferSuccessStandardWebhookEvent
|
|
25
|
+
| Orb::Webhooks::EventUnmatchedEventStandardWebhookEvent
|
|
26
|
+
| Orb::Webhooks::IngestionUnmatchedCustomerIDsStandardWebhookEvent
|
|
27
|
+
| Orb::Webhooks::InvoiceAccountingSyncFailedStandardWebhookEvent
|
|
28
|
+
| Orb::Webhooks::InvoiceAccountingSyncSucceededStandardWebhookEvent
|
|
29
|
+
| Orb::Webhooks::InvoiceAutomationScheduleStepExecutedStandardWebhookEvent
|
|
30
|
+
| Orb::Webhooks::InvoiceCostDataExportedStandardWebhookEvent
|
|
31
|
+
| Orb::Webhooks::InvoiceDunningScheduleCreatedStandardWebhookEvent
|
|
32
|
+
| Orb::Webhooks::InvoiceDunningScheduleEndedStandardWebhookEvent
|
|
33
|
+
| Orb::Webhooks::InvoiceDunningScheduleResetStandardWebhookEvent
|
|
34
|
+
| Orb::Webhooks::InvoiceDunningScheduleStepExecutedStandardWebhookEvent
|
|
35
|
+
| Orb::Webhooks::InvoiceEditedStandardWebhookEvent
|
|
36
|
+
| Orb::Webhooks::InvoiceInvoiceDateElapsedStandardWebhookEvent
|
|
37
|
+
| Orb::Webhooks::InvoiceIssueFailedStandardWebhookEvent
|
|
38
|
+
| Orb::Webhooks::InvoiceIssuedStandardWebhookEvent
|
|
39
|
+
| Orb::Webhooks::InvoiceIssuedSummaryStandardWebhookEvent
|
|
40
|
+
| Orb::Webhooks::InvoiceManuallyMarkedAsPaidStandardWebhookEvent
|
|
41
|
+
| Orb::Webhooks::InvoiceManuallyMarkedAsVoidStandardWebhookEvent
|
|
42
|
+
| Orb::Webhooks::InvoicePaymentFailedStandardWebhookEvent
|
|
43
|
+
| Orb::Webhooks::InvoicePaymentProcessingStandardWebhookEvent
|
|
44
|
+
| Orb::Webhooks::InvoicePaymentSucceededStandardWebhookEvent
|
|
45
|
+
| Orb::Webhooks::InvoiceSyncFailedStandardWebhookEvent
|
|
46
|
+
| Orb::Webhooks::InvoiceSyncSucceededStandardWebhookEvent
|
|
47
|
+
| Orb::Webhooks::InvoiceUndoMarkAsPaidStandardWebhookEvent
|
|
48
|
+
| Orb::Webhooks::InvoiceDueDateRecalculationCanceledStandardWebhookEvent
|
|
49
|
+
| Orb::Webhooks::InvoiceDueDateRecalculationCompletedStandardWebhookEvent
|
|
50
|
+
| Orb::Webhooks::InvoiceDueDateRecalculationStartedStandardWebhookEvent
|
|
51
|
+
| Orb::Webhooks::MetricEventsDroppedByWatermarkStandardWebhookEvent
|
|
52
|
+
| Orb::Webhooks::PaymentMethodCreatedStandardWebhookEvent
|
|
53
|
+
| Orb::Webhooks::PaymentMethodDeletedStandardWebhookEvent
|
|
54
|
+
| Orb::Webhooks::PlanCreatedStandardWebhookEvent
|
|
55
|
+
| Orb::Webhooks::PlanDefaultVersionSetStandardWebhookEvent
|
|
56
|
+
| Orb::Webhooks::PlanEditedStandardWebhookEvent
|
|
57
|
+
| Orb::Webhooks::PlanVersionCreatedStandardWebhookEvent
|
|
58
|
+
| Orb::Webhooks::PriceEditedStandardWebhookEvent
|
|
59
|
+
| Orb::Webhooks::ResourceEventTestStandardWebhookEvent
|
|
60
|
+
| Orb::Webhooks::SalesOrderAccountingSyncFailedStandardWebhookEvent
|
|
61
|
+
| Orb::Webhooks::SalesOrderAccountingSyncSucceededStandardWebhookEvent
|
|
62
|
+
| Orb::Webhooks::SubscriptionAccountingSyncFailedStandardWebhookEvent
|
|
63
|
+
| Orb::Webhooks::SubscriptionAccountingSyncSucceededStandardWebhookEvent
|
|
64
|
+
| Orb::Webhooks::SubscriptionAlertDisabledStandardWebhookEvent
|
|
65
|
+
| Orb::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent
|
|
66
|
+
| Orb::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent
|
|
67
|
+
| Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent
|
|
68
|
+
| Orb::Webhooks::SubscriptionCreatedStandardWebhookEvent
|
|
69
|
+
| Orb::Webhooks::SubscriptionEditedStandardWebhookEvent
|
|
70
|
+
| Orb::Webhooks::SubscriptionEndedStandardWebhookEvent
|
|
71
|
+
| Orb::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent
|
|
72
|
+
| Orb::Webhooks::SubscriptionGroupedCostExceededStandardWebhookEvent
|
|
73
|
+
| Orb::Webhooks::SubscriptionInvoicingThresholdExceededStandardWebhookEvent
|
|
74
|
+
| Orb::Webhooks::SubscriptionLicenseAllocationResetStandardWebhookEvent
|
|
75
|
+
| Orb::Webhooks::SubscriptionLicenseBalanceThresholdReachedStandardWebhookEvent
|
|
76
|
+
| Orb::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent
|
|
77
|
+
| Orb::Webhooks::SubscriptionPlanChangedStandardWebhookEvent
|
|
78
|
+
| Orb::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent
|
|
79
|
+
| Orb::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent
|
|
80
|
+
| Orb::Webhooks::SubscriptionSpendExceededStandardWebhookEvent
|
|
81
|
+
| Orb::Webhooks::SubscriptionStartedStandardWebhookEvent
|
|
82
|
+
| Orb::Webhooks::SubscriptionTrialEndedStandardWebhookEvent
|
|
83
|
+
| Orb::Webhooks::SubscriptionUsageExceededStandardWebhookEvent
|
|
84
|
+
| Orb::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent
|
|
85
|
+
| Orb::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent
|
|
86
|
+
|
|
87
|
+
module UnwrapStandardWebhookEvent
|
|
88
|
+
extend Orb::Internal::Type::Union
|
|
89
|
+
|
|
90
|
+
def self?.variants: -> ::Array[Orb::Models::Webhooks::unwrap_standard_webhook_event]
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
end
|
data/sig/orb/models.rbs
CHANGED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
module Orb
|
|
2
|
+
module Resources
|
|
3
|
+
class Webhooks
|
|
4
|
+
class Standard
|
|
5
|
+
def unwrap_standard: (
|
|
6
|
+
String payload
|
|
7
|
+
) -> (Orb::Webhooks::BackfillReflectedStandardWebhookEvent
|
|
8
|
+
| Orb::Webhooks::BackfillRevertedStandardWebhookEvent
|
|
9
|
+
| Orb::Webhooks::BillableMetricEditedStandardWebhookEvent
|
|
10
|
+
| Orb::Webhooks::CreditBlockAccountingSyncFailedStandardWebhookEvent
|
|
11
|
+
| Orb::Webhooks::CreditBlockAccountingSyncSucceededStandardWebhookEvent
|
|
12
|
+
| Orb::Webhooks::CreditNoteAccountingSyncFailedStandardWebhookEvent
|
|
13
|
+
| Orb::Webhooks::CreditNoteAccountingSyncSucceededStandardWebhookEvent
|
|
14
|
+
| Orb::Webhooks::CreditNoteIssuedStandardWebhookEvent
|
|
15
|
+
| Orb::Webhooks::CreditNoteMarkedAsVoidStandardWebhookEvent
|
|
16
|
+
| Orb::Webhooks::CustomerAccountingSyncFailedStandardWebhookEvent
|
|
17
|
+
| Orb::Webhooks::CustomerAccountingSyncSucceededStandardWebhookEvent
|
|
18
|
+
| Orb::Webhooks::CustomerBalanceTransactionCreatedStandardWebhookEvent
|
|
19
|
+
| Orb::Webhooks::CustomerCreatedStandardWebhookEvent
|
|
20
|
+
| Orb::Webhooks::CustomerCreditBalanceDepletedStandardWebhookEvent
|
|
21
|
+
| Orb::Webhooks::CustomerCreditBalanceDroppedStandardWebhookEvent
|
|
22
|
+
| Orb::Webhooks::CustomerCreditBalanceRecoveredStandardWebhookEvent
|
|
23
|
+
| Orb::Webhooks::CustomerCreditLedgerIncrementedStandardWebhookEvent
|
|
24
|
+
| Orb::Webhooks::CustomerEditedStandardWebhookEvent
|
|
25
|
+
| Orb::Webhooks::DataExportsTransferErrorStandardWebhookEvent
|
|
26
|
+
| Orb::Webhooks::DataExportsTransferSuccessStandardWebhookEvent
|
|
27
|
+
| Orb::Webhooks::EventUnmatchedEventStandardWebhookEvent
|
|
28
|
+
| Orb::Webhooks::IngestionUnmatchedCustomerIDsStandardWebhookEvent
|
|
29
|
+
| Orb::Webhooks::InvoiceAccountingSyncFailedStandardWebhookEvent
|
|
30
|
+
| Orb::Webhooks::InvoiceAccountingSyncSucceededStandardWebhookEvent
|
|
31
|
+
| Orb::Webhooks::InvoiceAutomationScheduleStepExecutedStandardWebhookEvent
|
|
32
|
+
| Orb::Webhooks::InvoiceCostDataExportedStandardWebhookEvent
|
|
33
|
+
| Orb::Webhooks::InvoiceDunningScheduleCreatedStandardWebhookEvent
|
|
34
|
+
| Orb::Webhooks::InvoiceDunningScheduleEndedStandardWebhookEvent
|
|
35
|
+
| Orb::Webhooks::InvoiceDunningScheduleResetStandardWebhookEvent
|
|
36
|
+
| Orb::Webhooks::InvoiceDunningScheduleStepExecutedStandardWebhookEvent
|
|
37
|
+
| Orb::Webhooks::InvoiceEditedStandardWebhookEvent
|
|
38
|
+
| Orb::Webhooks::InvoiceInvoiceDateElapsedStandardWebhookEvent
|
|
39
|
+
| Orb::Webhooks::InvoiceIssueFailedStandardWebhookEvent
|
|
40
|
+
| Orb::Webhooks::InvoiceIssuedStandardWebhookEvent
|
|
41
|
+
| Orb::Webhooks::InvoiceIssuedSummaryStandardWebhookEvent
|
|
42
|
+
| Orb::Webhooks::InvoiceManuallyMarkedAsPaidStandardWebhookEvent
|
|
43
|
+
| Orb::Webhooks::InvoiceManuallyMarkedAsVoidStandardWebhookEvent
|
|
44
|
+
| Orb::Webhooks::InvoicePaymentFailedStandardWebhookEvent
|
|
45
|
+
| Orb::Webhooks::InvoicePaymentProcessingStandardWebhookEvent
|
|
46
|
+
| Orb::Webhooks::InvoicePaymentSucceededStandardWebhookEvent
|
|
47
|
+
| Orb::Webhooks::InvoiceSyncFailedStandardWebhookEvent
|
|
48
|
+
| Orb::Webhooks::InvoiceSyncSucceededStandardWebhookEvent
|
|
49
|
+
| Orb::Webhooks::InvoiceUndoMarkAsPaidStandardWebhookEvent
|
|
50
|
+
| Orb::Webhooks::InvoiceDueDateRecalculationCanceledStandardWebhookEvent
|
|
51
|
+
| Orb::Webhooks::InvoiceDueDateRecalculationCompletedStandardWebhookEvent
|
|
52
|
+
| Orb::Webhooks::InvoiceDueDateRecalculationStartedStandardWebhookEvent
|
|
53
|
+
| Orb::Webhooks::MetricEventsDroppedByWatermarkStandardWebhookEvent
|
|
54
|
+
| Orb::Webhooks::PaymentMethodCreatedStandardWebhookEvent
|
|
55
|
+
| Orb::Webhooks::PaymentMethodDeletedStandardWebhookEvent
|
|
56
|
+
| Orb::Webhooks::PlanCreatedStandardWebhookEvent
|
|
57
|
+
| Orb::Webhooks::PlanDefaultVersionSetStandardWebhookEvent
|
|
58
|
+
| Orb::Webhooks::PlanEditedStandardWebhookEvent
|
|
59
|
+
| Orb::Webhooks::PlanVersionCreatedStandardWebhookEvent
|
|
60
|
+
| Orb::Webhooks::PriceEditedStandardWebhookEvent
|
|
61
|
+
| Orb::Webhooks::ResourceEventTestStandardWebhookEvent
|
|
62
|
+
| Orb::Webhooks::SalesOrderAccountingSyncFailedStandardWebhookEvent
|
|
63
|
+
| Orb::Webhooks::SalesOrderAccountingSyncSucceededStandardWebhookEvent
|
|
64
|
+
| Orb::Webhooks::SubscriptionAccountingSyncFailedStandardWebhookEvent
|
|
65
|
+
| Orb::Webhooks::SubscriptionAccountingSyncSucceededStandardWebhookEvent
|
|
66
|
+
| Orb::Webhooks::SubscriptionAlertDisabledStandardWebhookEvent
|
|
67
|
+
| Orb::Webhooks::SubscriptionCancellationScheduledStandardWebhookEvent
|
|
68
|
+
| Orb::Webhooks::SubscriptionCancellationUnscheduledStandardWebhookEvent
|
|
69
|
+
| Orb::Webhooks::SubscriptionCostExceededStandardWebhookEvent
|
|
70
|
+
| Orb::Webhooks::SubscriptionCreatedStandardWebhookEvent
|
|
71
|
+
| Orb::Webhooks::SubscriptionEditedStandardWebhookEvent
|
|
72
|
+
| Orb::Webhooks::SubscriptionEndedStandardWebhookEvent
|
|
73
|
+
| Orb::Webhooks::SubscriptionFixedFeeQuantityUpdatedStandardWebhookEvent
|
|
74
|
+
| Orb::Webhooks::SubscriptionGroupedCostExceededStandardWebhookEvent
|
|
75
|
+
| Orb::Webhooks::SubscriptionInvoicingThresholdExceededStandardWebhookEvent
|
|
76
|
+
| Orb::Webhooks::SubscriptionLicenseAllocationResetStandardWebhookEvent
|
|
77
|
+
| Orb::Webhooks::SubscriptionLicenseBalanceThresholdReachedStandardWebhookEvent
|
|
78
|
+
| Orb::Webhooks::SubscriptionPlanChangeScheduledStandardWebhookEvent
|
|
79
|
+
| Orb::Webhooks::SubscriptionPlanChangedStandardWebhookEvent
|
|
80
|
+
| Orb::Webhooks::SubscriptionPlanVersionChangeScheduledStandardWebhookEvent
|
|
81
|
+
| Orb::Webhooks::SubscriptionPlanVersionChangedStandardWebhookEvent
|
|
82
|
+
| Orb::Webhooks::SubscriptionSpendExceededStandardWebhookEvent
|
|
83
|
+
| Orb::Webhooks::SubscriptionStartedStandardWebhookEvent
|
|
84
|
+
| Orb::Webhooks::SubscriptionTrialEndedStandardWebhookEvent
|
|
85
|
+
| Orb::Webhooks::SubscriptionUsageExceededStandardWebhookEvent
|
|
86
|
+
| Orb::Webhooks::TransactionAccountingSyncFailedStandardWebhookEvent
|
|
87
|
+
| Orb::Webhooks::TransactionAccountingSyncSucceededStandardWebhookEvent)
|
|
88
|
+
|
|
89
|
+
def initialize: (client: Orb::Client) -> void
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
end
|