orb-billing 1.43.0 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/README.md +1 -1
- data/lib/orb/client.rb +6 -0
- data/lib/orb/models/alert_create_for_plan_params.rb +156 -0
- data/lib/orb/models/backfill_reflected_webhook_event.rb +24 -1
- data/lib/orb/models/backfill_reverted_webhook_event.rb +24 -1
- data/lib/orb/models/billable_metric_edited_webhook_event.rb +24 -1
- data/lib/orb/models/credit_block_accounting_sync_failed_webhook_event.rb +27 -1
- data/lib/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rb +27 -1
- data/lib/orb/models/credit_note_accounting_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/credit_note_accounting_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/credit_note_issued_webhook_event.rb +24 -1
- data/lib/orb/models/credit_note_marked_as_void_webhook_event.rb +24 -1
- data/lib/orb/models/customer_accounting_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/customer_accounting_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/customer_balance_transaction_created_webhook_event.rb +24 -1
- data/lib/orb/models/customer_created_webhook_event.rb +24 -1
- data/lib/orb/models/customer_credit_balance_depleted_webhook_event.rb +24 -1
- data/lib/orb/models/customer_credit_balance_dropped_webhook_event.rb +24 -1
- data/lib/orb/models/customer_credit_balance_recovered_webhook_event.rb +24 -1
- data/lib/orb/models/customer_credit_ledger_incremented_webhook_event.rb +24 -1
- data/lib/orb/models/customer_edited_webhook_event.rb +24 -1
- data/lib/orb/models/data_exports_transfer_error_webhook_event.rb +27 -1
- data/lib/orb/models/data_exports_transfer_success_webhook_event.rb +27 -1
- data/lib/orb/models/dimensional_price_groups/price_create_params.rb +147 -0
- data/lib/orb/models/dimensional_price_groups/price_create_response.rb +19 -0
- data/lib/orb/models/dimensional_price_groups/price_list_params.rb +65 -0
- data/lib/orb/models/event_unmatched_event_webhook_event.rb +27 -1
- data/lib/orb/models/ingestion_unmatched_customer_ids_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_accounting_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_accounting_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_cost_data_exported_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_due_date_recalculation_canceled_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_due_date_recalculation_completed_webhook_event.rb +28 -1
- data/lib/orb/models/invoice_due_date_recalculation_started_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_dunning_schedule_created_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_dunning_schedule_ended_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_dunning_schedule_reset_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_dunning_schedule_step_executed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_edited_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_invoice_date_elapsed_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_issue_failed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_issued_summary_webhook_event.rb +27 -1
- data/lib/orb/models/invoice_issued_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_manually_marked_as_paid_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_manually_marked_as_void_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_payment_failed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_payment_processing_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_payment_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/invoice_undo_mark_as_paid_webhook_event.rb +24 -1
- data/lib/orb/models/metric_events_dropped_by_watermark_webhook_event.rb +24 -1
- data/lib/orb/models/payment_method_created_webhook_event.rb +24 -1
- data/lib/orb/models/payment_method_deleted_webhook_event.rb +24 -1
- data/lib/orb/models/plan_created_webhook_event.rb +117 -0
- data/lib/orb/models/plan_default_version_set_webhook_event.rb +27 -1
- data/lib/orb/models/plan_edited_webhook_event.rb +154 -0
- data/lib/orb/models/plan_version_created_webhook_event.rb +27 -1
- data/lib/orb/models/price_edited_webhook_event.rb +24 -1
- data/lib/orb/models/resource_event_test_webhook_event.rb +27 -1
- data/lib/orb/models/sales_order_accounting_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_accounting_sync_failed_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_accounting_sync_succeeded_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_alert_disabled_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_cancellation_scheduled_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_cancellation_unscheduled_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_cost_exceeded_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_created_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_edited_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_ended_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_fixed_fee_quantity_updated_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_grouped_cost_exceeded_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rb +25 -1
- data/lib/orb/models/subscription_license_allocation_reset_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb +25 -1
- data/lib/orb/models/subscription_plan_change_scheduled_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_plan_changed_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_plan_version_change_scheduled_webhook_event.rb +25 -1
- data/lib/orb/models/subscription_plan_version_changed_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_spend_exceeded_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_started_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_trial_ended_webhook_event.rb +24 -1
- data/lib/orb/models/subscription_usage_exceeded_webhook_event.rb +24 -1
- data/lib/orb/models/tax_amount.rb +32 -1
- data/lib/orb/models/transaction_accounting_sync_failed_webhook_event.rb +27 -1
- data/lib/orb/models/transaction_accounting_sync_succeeded_webhook_event.rb +27 -1
- data/lib/orb/models/unwrap_webhook_event.rb +7 -1
- data/lib/orb/models/webhook_endpoint.rb +56 -0
- data/lib/orb/models/webhook_endpoint_create_params.rb +34 -0
- data/lib/orb/models/webhook_endpoint_delete_params.rb +20 -0
- data/lib/orb/models/webhook_endpoint_disable_params.rb +20 -0
- data/lib/orb/models/webhook_endpoint_enable_params.rb +20 -0
- data/lib/orb/models/webhook_endpoint_list_params.rb +34 -0
- data/lib/orb/models/webhook_endpoint_retrieve_params.rb +20 -0
- data/lib/orb/models/webhook_endpoint_update_params.rb +41 -0
- data/lib/orb/models/webhook_endpoint_with_secret.rb +65 -0
- data/lib/orb/models.rb +24 -0
- data/lib/orb/resources/alerts.rb +55 -0
- data/lib/orb/resources/dimensional_price_groups/prices.rb +87 -0
- data/lib/orb/resources/dimensional_price_groups.rb +4 -0
- data/lib/orb/resources/webhook_endpoints.rb +183 -0
- data/lib/orb/resources/webhooks.rb +1 -1
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +17 -0
- data/rbi/orb/client.rbi +5 -0
- data/rbi/orb/models/alert_create_for_plan_params.rbi +290 -0
- data/rbi/orb/models/backfill_reflected_webhook_event.rbi +47 -0
- data/rbi/orb/models/backfill_reverted_webhook_event.rbi +47 -0
- data/rbi/orb/models/billable_metric_edited_webhook_event.rbi +49 -0
- data/rbi/orb/models/credit_block_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/credit_note_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/credit_note_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/credit_note_issued_webhook_event.rbi +47 -0
- data/rbi/orb/models/credit_note_marked_as_void_webhook_event.rbi +49 -0
- data/rbi/orb/models/customer_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_balance_transaction_created_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_created_webhook_event.rbi +47 -0
- data/rbi/orb/models/customer_credit_balance_depleted_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_credit_balance_dropped_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_credit_balance_recovered_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_credit_ledger_incremented_webhook_event.rbi +52 -0
- data/rbi/orb/models/customer_edited_webhook_event.rbi +47 -0
- data/rbi/orb/models/data_exports_transfer_error_webhook_event.rbi +52 -0
- data/rbi/orb/models/data_exports_transfer_success_webhook_event.rbi +52 -0
- data/rbi/orb/models/dimensional_price_groups/price_create_params.rbi +298 -0
- data/rbi/orb/models/dimensional_price_groups/price_create_response.rbi +76 -0
- data/rbi/orb/models/dimensional_price_groups/price_list_params.rbi +134 -0
- data/rbi/orb/models/event_unmatched_event_webhook_event.rbi +49 -0
- data/rbi/orb/models/ingestion_unmatched_customer_ids_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_automation_schedule_step_executed_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_cost_data_exported_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_due_date_recalculation_canceled_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_due_date_recalculation_completed_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_due_date_recalculation_started_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_dunning_schedule_created_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_dunning_schedule_ended_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_dunning_schedule_reset_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_dunning_schedule_step_executed_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_edited_webhook_event.rbi +44 -0
- data/rbi/orb/models/invoice_invoice_date_elapsed_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_issue_failed_webhook_event.rbi +47 -0
- data/rbi/orb/models/invoice_issued_summary_webhook_event.rbi +49 -0
- data/rbi/orb/models/invoice_issued_webhook_event.rbi +44 -0
- data/rbi/orb/models/invoice_manually_marked_as_paid_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_manually_marked_as_void_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_payment_failed_webhook_event.rbi +49 -0
- data/rbi/orb/models/invoice_payment_processing_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_payment_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/invoice_sync_failed_webhook_event.rbi +47 -0
- data/rbi/orb/models/invoice_sync_succeeded_webhook_event.rbi +49 -0
- data/rbi/orb/models/invoice_undo_mark_as_paid_webhook_event.rbi +49 -0
- data/rbi/orb/models/metric_events_dropped_by_watermark_webhook_event.rbi +52 -0
- data/rbi/orb/models/payment_method_created_webhook_event.rbi +49 -0
- data/rbi/orb/models/payment_method_deleted_webhook_event.rbi +49 -0
- data/rbi/orb/models/plan_created_webhook_event.rbi +182 -0
- data/rbi/orb/models/plan_default_version_set_webhook_event.rbi +49 -0
- data/rbi/orb/models/plan_edited_webhook_event.rbi +301 -0
- data/rbi/orb/models/plan_version_created_webhook_event.rbi +47 -0
- data/rbi/orb/models/price_edited_webhook_event.rbi +42 -0
- data/rbi/orb/models/resource_event_test_webhook_event.rbi +47 -0
- data/rbi/orb/models/sales_order_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_alert_disabled_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_cancellation_scheduled_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_cancellation_unscheduled_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_cost_exceeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_created_webhook_event.rbi +49 -0
- data/rbi/orb/models/subscription_edited_webhook_event.rbi +47 -0
- data/rbi/orb/models/subscription_ended_webhook_event.rbi +47 -0
- data/rbi/orb/models/subscription_fixed_fee_quantity_updated_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_grouped_cost_exceeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_license_allocation_reset_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_plan_change_scheduled_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_plan_changed_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_plan_version_change_scheduled_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_plan_version_changed_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_spend_exceeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/subscription_started_webhook_event.rbi +49 -0
- data/rbi/orb/models/subscription_trial_ended_webhook_event.rbi +49 -0
- data/rbi/orb/models/subscription_usage_exceeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/tax_amount.rbi +41 -3
- data/rbi/orb/models/transaction_accounting_sync_failed_webhook_event.rbi +52 -0
- data/rbi/orb/models/transaction_accounting_sync_succeeded_webhook_event.rbi +52 -0
- data/rbi/orb/models/unwrap_webhook_event.rbi +2 -0
- data/rbi/orb/models/webhook_endpoint.rbi +71 -0
- data/rbi/orb/models/webhook_endpoint_create_params.rbi +53 -0
- data/rbi/orb/models/webhook_endpoint_delete_params.rbi +35 -0
- data/rbi/orb/models/webhook_endpoint_disable_params.rbi +35 -0
- data/rbi/orb/models/webhook_endpoint_enable_params.rbi +35 -0
- data/rbi/orb/models/webhook_endpoint_list_params.rbi +56 -0
- data/rbi/orb/models/webhook_endpoint_retrieve_params.rbi +35 -0
- data/rbi/orb/models/webhook_endpoint_update_params.rbi +59 -0
- data/rbi/orb/models/webhook_endpoint_with_secret.rbi +83 -0
- data/rbi/orb/models.rbi +24 -0
- data/rbi/orb/resources/alerts.rbi +59 -0
- data/rbi/orb/resources/dimensional_price_groups/prices.rbi +82 -0
- data/rbi/orb/resources/dimensional_price_groups.rbi +3 -0
- data/rbi/orb/resources/webhook_endpoints.rbi +116 -0
- data/rbi/orb/resources/webhooks.rbi +2 -0
- data/sig/orb/client.rbs +2 -0
- data/sig/orb/models/alert_create_for_plan_params.rbs +126 -0
- data/sig/orb/models/backfill_reflected_webhook_event.rbs +16 -0
- data/sig/orb/models/backfill_reverted_webhook_event.rbs +16 -0
- data/sig/orb/models/billable_metric_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_block_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_note_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_note_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_note_issued_webhook_event.rbs +16 -0
- data/sig/orb/models/credit_note_marked_as_void_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_balance_transaction_created_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_created_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_credit_balance_depleted_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_credit_balance_dropped_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_credit_balance_recovered_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_credit_ledger_incremented_webhook_event.rbs +16 -0
- data/sig/orb/models/customer_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/data_exports_transfer_error_webhook_event.rbs +16 -0
- data/sig/orb/models/data_exports_transfer_success_webhook_event.rbs +16 -0
- data/sig/orb/models/dimensional_price_groups/price_create_params.rbs +123 -0
- data/sig/orb/models/dimensional_price_groups/price_create_response.rbs +15 -0
- data/sig/orb/models/dimensional_price_groups/price_list_params.rbs +61 -0
- data/sig/orb/models/event_unmatched_event_webhook_event.rbs +16 -0
- data/sig/orb/models/ingestion_unmatched_customer_ids_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_automation_schedule_step_executed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_cost_data_exported_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_due_date_recalculation_canceled_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_due_date_recalculation_completed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_due_date_recalculation_started_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_dunning_schedule_created_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_dunning_schedule_ended_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_dunning_schedule_reset_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_dunning_schedule_step_executed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_invoice_date_elapsed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_issue_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_issued_summary_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_issued_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_manually_marked_as_paid_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_manually_marked_as_void_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_payment_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_payment_processing_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_payment_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/invoice_undo_mark_as_paid_webhook_event.rbs +16 -0
- data/sig/orb/models/metric_events_dropped_by_watermark_webhook_event.rbs +16 -0
- data/sig/orb/models/payment_method_created_webhook_event.rbs +16 -0
- data/sig/orb/models/payment_method_deleted_webhook_event.rbs +16 -0
- data/sig/orb/models/plan_created_webhook_event.rbs +88 -0
- data/sig/orb/models/plan_default_version_set_webhook_event.rbs +16 -0
- data/sig/orb/models/plan_edited_webhook_event.rbs +132 -0
- data/sig/orb/models/plan_version_created_webhook_event.rbs +16 -0
- data/sig/orb/models/price_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/resource_event_test_webhook_event.rbs +16 -0
- data/sig/orb/models/sales_order_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_alert_disabled_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_cancellation_scheduled_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_cancellation_unscheduled_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_cost_exceeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_created_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_edited_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_ended_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_fixed_fee_quantity_updated_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_grouped_cost_exceeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_license_allocation_reset_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_plan_change_scheduled_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_plan_changed_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_plan_version_change_scheduled_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_plan_version_changed_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_spend_exceeded_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_started_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_trial_ended_webhook_event.rbs +16 -0
- data/sig/orb/models/subscription_usage_exceeded_webhook_event.rbs +16 -0
- data/sig/orb/models/tax_amount.rbs +31 -3
- data/sig/orb/models/transaction_accounting_sync_failed_webhook_event.rbs +16 -0
- data/sig/orb/models/transaction_accounting_sync_succeeded_webhook_event.rbs +16 -0
- data/sig/orb/models/unwrap_webhook_event.rbs +2 -0
- data/sig/orb/models/webhook_endpoint.rbs +40 -0
- data/sig/orb/models/webhook_endpoint_create_params.rbs +28 -0
- data/sig/orb/models/webhook_endpoint_delete_params.rbs +23 -0
- data/sig/orb/models/webhook_endpoint_disable_params.rbs +23 -0
- data/sig/orb/models/webhook_endpoint_enable_params.rbs +23 -0
- data/sig/orb/models/webhook_endpoint_list_params.rbs +30 -0
- data/sig/orb/models/webhook_endpoint_retrieve_params.rbs +23 -0
- data/sig/orb/models/webhook_endpoint_update_params.rbs +36 -0
- data/sig/orb/models/webhook_endpoint_with_secret.rbs +45 -0
- data/sig/orb/models.rbs +24 -0
- data/sig/orb/resources/alerts.rbs +12 -0
- data/sig/orb/resources/dimensional_price_groups/prices.rbs +28 -0
- data/sig/orb/resources/dimensional_price_groups.rbs +2 -0
- data/sig/orb/resources/webhook_endpoints.rbs +46 -0
- data/sig/orb/resources/webhooks.rbs +2 -0
- metadata +52 -1
|
@@ -34,6 +34,15 @@ module Orb
|
|
|
34
34
|
sig { returns(Time) }
|
|
35
35
|
attr_accessor :created_at
|
|
36
36
|
|
|
37
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
38
|
+
# endpoint.
|
|
39
|
+
sig do
|
|
40
|
+
returns(
|
|
41
|
+
Orb::SubscriptionAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
42
|
+
)
|
|
43
|
+
end
|
|
44
|
+
attr_accessor :payload_style
|
|
45
|
+
|
|
37
46
|
sig do
|
|
38
47
|
returns(Orb::SubscriptionAccountingSyncFailedWebhookEvent::Properties)
|
|
39
48
|
end
|
|
@@ -87,6 +96,8 @@ module Orb
|
|
|
87
96
|
accounting_sync_record:
|
|
88
97
|
Orb::SubscriptionAccountingSyncFailedWebhookEvent::AccountingSyncRecord::OrHash,
|
|
89
98
|
created_at: Time,
|
|
99
|
+
payload_style:
|
|
100
|
+
Orb::SubscriptionAccountingSyncFailedWebhookEvent::PayloadStyle::OrSymbol,
|
|
90
101
|
properties:
|
|
91
102
|
Orb::SubscriptionAccountingSyncFailedWebhookEvent::Properties::OrHash,
|
|
92
103
|
subscription: Orb::Subscription::OrHash,
|
|
@@ -100,6 +111,9 @@ module Orb
|
|
|
100
111
|
accounting_sync_record:,
|
|
101
112
|
# The time at which this event was created, to the second.
|
|
102
113
|
created_at:,
|
|
114
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
115
|
+
# endpoint.
|
|
116
|
+
payload_style:,
|
|
103
117
|
properties:,
|
|
104
118
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
105
119
|
# by a customer.
|
|
@@ -133,6 +147,8 @@ module Orb
|
|
|
133
147
|
accounting_sync_record:
|
|
134
148
|
Orb::SubscriptionAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
|
|
135
149
|
created_at: Time,
|
|
150
|
+
payload_style:
|
|
151
|
+
Orb::SubscriptionAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
136
152
|
properties:
|
|
137
153
|
Orb::SubscriptionAccountingSyncFailedWebhookEvent::Properties,
|
|
138
154
|
subscription: Orb::Subscription,
|
|
@@ -289,6 +305,42 @@ module Orb
|
|
|
289
305
|
end
|
|
290
306
|
end
|
|
291
307
|
|
|
308
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
309
|
+
# endpoint.
|
|
310
|
+
module PayloadStyle
|
|
311
|
+
extend Orb::Internal::Type::Enum
|
|
312
|
+
|
|
313
|
+
TaggedSymbol =
|
|
314
|
+
T.type_alias do
|
|
315
|
+
T.all(
|
|
316
|
+
Symbol,
|
|
317
|
+
Orb::SubscriptionAccountingSyncFailedWebhookEvent::PayloadStyle
|
|
318
|
+
)
|
|
319
|
+
end
|
|
320
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
321
|
+
|
|
322
|
+
EXPANDED =
|
|
323
|
+
T.let(
|
|
324
|
+
:expanded,
|
|
325
|
+
Orb::SubscriptionAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
326
|
+
)
|
|
327
|
+
STANDARD =
|
|
328
|
+
T.let(
|
|
329
|
+
:standard,
|
|
330
|
+
Orb::SubscriptionAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
331
|
+
)
|
|
332
|
+
|
|
333
|
+
sig do
|
|
334
|
+
override.returns(
|
|
335
|
+
T::Array[
|
|
336
|
+
Orb::SubscriptionAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
337
|
+
]
|
|
338
|
+
)
|
|
339
|
+
end
|
|
340
|
+
def self.values
|
|
341
|
+
end
|
|
342
|
+
end
|
|
343
|
+
|
|
292
344
|
class Properties < Orb::Internal::Type::BaseModel
|
|
293
345
|
OrHash =
|
|
294
346
|
T.type_alias do
|
|
@@ -34,6 +34,15 @@ module Orb
|
|
|
34
34
|
sig { returns(Time) }
|
|
35
35
|
attr_accessor :created_at
|
|
36
36
|
|
|
37
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
38
|
+
# endpoint.
|
|
39
|
+
sig do
|
|
40
|
+
returns(
|
|
41
|
+
Orb::SubscriptionAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
42
|
+
)
|
|
43
|
+
end
|
|
44
|
+
attr_accessor :payload_style
|
|
45
|
+
|
|
37
46
|
sig do
|
|
38
47
|
returns(
|
|
39
48
|
Orb::SubscriptionAccountingSyncSucceededWebhookEvent::Properties
|
|
@@ -89,6 +98,8 @@ module Orb
|
|
|
89
98
|
accounting_sync_record:
|
|
90
99
|
Orb::SubscriptionAccountingSyncSucceededWebhookEvent::AccountingSyncRecord::OrHash,
|
|
91
100
|
created_at: Time,
|
|
101
|
+
payload_style:
|
|
102
|
+
Orb::SubscriptionAccountingSyncSucceededWebhookEvent::PayloadStyle::OrSymbol,
|
|
92
103
|
properties:
|
|
93
104
|
Orb::SubscriptionAccountingSyncSucceededWebhookEvent::Properties::OrHash,
|
|
94
105
|
subscription: Orb::Subscription::OrHash,
|
|
@@ -102,6 +113,9 @@ module Orb
|
|
|
102
113
|
accounting_sync_record:,
|
|
103
114
|
# The time at which this event was created, to the second.
|
|
104
115
|
created_at:,
|
|
116
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
117
|
+
# endpoint.
|
|
118
|
+
payload_style:,
|
|
105
119
|
properties:,
|
|
106
120
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
107
121
|
# by a customer.
|
|
@@ -135,6 +149,8 @@ module Orb
|
|
|
135
149
|
accounting_sync_record:
|
|
136
150
|
Orb::SubscriptionAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
|
|
137
151
|
created_at: Time,
|
|
152
|
+
payload_style:
|
|
153
|
+
Orb::SubscriptionAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
138
154
|
properties:
|
|
139
155
|
Orb::SubscriptionAccountingSyncSucceededWebhookEvent::Properties,
|
|
140
156
|
subscription: Orb::Subscription,
|
|
@@ -291,6 +307,42 @@ module Orb
|
|
|
291
307
|
end
|
|
292
308
|
end
|
|
293
309
|
|
|
310
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
311
|
+
# endpoint.
|
|
312
|
+
module PayloadStyle
|
|
313
|
+
extend Orb::Internal::Type::Enum
|
|
314
|
+
|
|
315
|
+
TaggedSymbol =
|
|
316
|
+
T.type_alias do
|
|
317
|
+
T.all(
|
|
318
|
+
Symbol,
|
|
319
|
+
Orb::SubscriptionAccountingSyncSucceededWebhookEvent::PayloadStyle
|
|
320
|
+
)
|
|
321
|
+
end
|
|
322
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
323
|
+
|
|
324
|
+
EXPANDED =
|
|
325
|
+
T.let(
|
|
326
|
+
:expanded,
|
|
327
|
+
Orb::SubscriptionAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
328
|
+
)
|
|
329
|
+
STANDARD =
|
|
330
|
+
T.let(
|
|
331
|
+
:standard,
|
|
332
|
+
Orb::SubscriptionAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
333
|
+
)
|
|
334
|
+
|
|
335
|
+
sig do
|
|
336
|
+
override.returns(
|
|
337
|
+
T::Array[
|
|
338
|
+
Orb::SubscriptionAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
339
|
+
]
|
|
340
|
+
)
|
|
341
|
+
end
|
|
342
|
+
def self.values
|
|
343
|
+
end
|
|
344
|
+
end
|
|
345
|
+
|
|
294
346
|
class Properties < Orb::Internal::Type::BaseModel
|
|
295
347
|
OrHash =
|
|
296
348
|
T.type_alias do
|
|
@@ -19,6 +19,15 @@ module Orb
|
|
|
19
19
|
sig { returns(Time) }
|
|
20
20
|
attr_accessor :created_at
|
|
21
21
|
|
|
22
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
23
|
+
# endpoint.
|
|
24
|
+
sig do
|
|
25
|
+
returns(
|
|
26
|
+
Orb::SubscriptionAlertDisabledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
# Sent when the system disables an alert on its own, currently for
|
|
23
32
|
# cardinality-limit enforcement on grouped cost alerts.
|
|
24
33
|
sig { returns(Orb::SubscriptionAlertDisabledWebhookEvent::Properties) }
|
|
@@ -58,6 +67,8 @@ module Orb
|
|
|
58
67
|
params(
|
|
59
68
|
id: String,
|
|
60
69
|
created_at: Time,
|
|
70
|
+
payload_style:
|
|
71
|
+
Orb::SubscriptionAlertDisabledWebhookEvent::PayloadStyle::OrSymbol,
|
|
61
72
|
properties:
|
|
62
73
|
Orb::SubscriptionAlertDisabledWebhookEvent::Properties::OrHash,
|
|
63
74
|
subscription:
|
|
@@ -70,6 +81,9 @@ module Orb
|
|
|
70
81
|
id:,
|
|
71
82
|
# The time at which this event was created, to the second.
|
|
72
83
|
created_at:,
|
|
84
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
85
|
+
# endpoint.
|
|
86
|
+
payload_style:,
|
|
73
87
|
# Sent when the system disables an alert on its own, currently for
|
|
74
88
|
# cardinality-limit enforcement on grouped cost alerts.
|
|
75
89
|
properties:,
|
|
@@ -88,6 +102,8 @@ module Orb
|
|
|
88
102
|
{
|
|
89
103
|
id: String,
|
|
90
104
|
created_at: Time,
|
|
105
|
+
payload_style:
|
|
106
|
+
Orb::SubscriptionAlertDisabledWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
91
107
|
properties: Orb::SubscriptionAlertDisabledWebhookEvent::Properties,
|
|
92
108
|
subscription:
|
|
93
109
|
Orb::SubscriptionAlertDisabledWebhookEvent::Subscription,
|
|
@@ -98,6 +114,42 @@ module Orb
|
|
|
98
114
|
def to_hash
|
|
99
115
|
end
|
|
100
116
|
|
|
117
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
118
|
+
# endpoint.
|
|
119
|
+
module PayloadStyle
|
|
120
|
+
extend Orb::Internal::Type::Enum
|
|
121
|
+
|
|
122
|
+
TaggedSymbol =
|
|
123
|
+
T.type_alias do
|
|
124
|
+
T.all(
|
|
125
|
+
Symbol,
|
|
126
|
+
Orb::SubscriptionAlertDisabledWebhookEvent::PayloadStyle
|
|
127
|
+
)
|
|
128
|
+
end
|
|
129
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
130
|
+
|
|
131
|
+
EXPANDED =
|
|
132
|
+
T.let(
|
|
133
|
+
:expanded,
|
|
134
|
+
Orb::SubscriptionAlertDisabledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
135
|
+
)
|
|
136
|
+
STANDARD =
|
|
137
|
+
T.let(
|
|
138
|
+
:standard,
|
|
139
|
+
Orb::SubscriptionAlertDisabledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
140
|
+
)
|
|
141
|
+
|
|
142
|
+
sig do
|
|
143
|
+
override.returns(
|
|
144
|
+
T::Array[
|
|
145
|
+
Orb::SubscriptionAlertDisabledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
146
|
+
]
|
|
147
|
+
)
|
|
148
|
+
end
|
|
149
|
+
def self.values
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
|
|
101
153
|
class Properties < Orb::Internal::Type::BaseModel
|
|
102
154
|
OrHash =
|
|
103
155
|
T.type_alias do
|
|
@@ -19,6 +19,15 @@ module Orb
|
|
|
19
19
|
sig { returns(Time) }
|
|
20
20
|
attr_accessor :created_at
|
|
21
21
|
|
|
22
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
23
|
+
# endpoint.
|
|
24
|
+
sig do
|
|
25
|
+
returns(
|
|
26
|
+
Orb::SubscriptionCancellationScheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig do
|
|
23
32
|
returns(Orb::SubscriptionCancellationScheduledWebhookEvent::Properties)
|
|
24
33
|
end
|
|
@@ -70,6 +79,8 @@ module Orb
|
|
|
70
79
|
params(
|
|
71
80
|
id: String,
|
|
72
81
|
created_at: Time,
|
|
82
|
+
payload_style:
|
|
83
|
+
Orb::SubscriptionCancellationScheduledWebhookEvent::PayloadStyle::OrSymbol,
|
|
73
84
|
properties:
|
|
74
85
|
Orb::SubscriptionCancellationScheduledWebhookEvent::Properties::OrHash,
|
|
75
86
|
subscription: Orb::Subscription::OrHash,
|
|
@@ -82,6 +93,9 @@ module Orb
|
|
|
82
93
|
id:,
|
|
83
94
|
# The time at which this event was created, to the second.
|
|
84
95
|
created_at:,
|
|
96
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
97
|
+
# endpoint.
|
|
98
|
+
payload_style:,
|
|
85
99
|
properties:,
|
|
86
100
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
87
101
|
# by a customer.
|
|
@@ -113,6 +127,8 @@ module Orb
|
|
|
113
127
|
{
|
|
114
128
|
id: String,
|
|
115
129
|
created_at: Time,
|
|
130
|
+
payload_style:
|
|
131
|
+
Orb::SubscriptionCancellationScheduledWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
116
132
|
properties:
|
|
117
133
|
Orb::SubscriptionCancellationScheduledWebhookEvent::Properties,
|
|
118
134
|
subscription: Orb::Subscription,
|
|
@@ -124,6 +140,42 @@ module Orb
|
|
|
124
140
|
def to_hash
|
|
125
141
|
end
|
|
126
142
|
|
|
143
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
144
|
+
# endpoint.
|
|
145
|
+
module PayloadStyle
|
|
146
|
+
extend Orb::Internal::Type::Enum
|
|
147
|
+
|
|
148
|
+
TaggedSymbol =
|
|
149
|
+
T.type_alias do
|
|
150
|
+
T.all(
|
|
151
|
+
Symbol,
|
|
152
|
+
Orb::SubscriptionCancellationScheduledWebhookEvent::PayloadStyle
|
|
153
|
+
)
|
|
154
|
+
end
|
|
155
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
156
|
+
|
|
157
|
+
EXPANDED =
|
|
158
|
+
T.let(
|
|
159
|
+
:expanded,
|
|
160
|
+
Orb::SubscriptionCancellationScheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
161
|
+
)
|
|
162
|
+
STANDARD =
|
|
163
|
+
T.let(
|
|
164
|
+
:standard,
|
|
165
|
+
Orb::SubscriptionCancellationScheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
166
|
+
)
|
|
167
|
+
|
|
168
|
+
sig do
|
|
169
|
+
override.returns(
|
|
170
|
+
T::Array[
|
|
171
|
+
Orb::SubscriptionCancellationScheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
172
|
+
]
|
|
173
|
+
)
|
|
174
|
+
end
|
|
175
|
+
def self.values
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
|
|
127
179
|
class Properties < Orb::Internal::Type::BaseModel
|
|
128
180
|
OrHash =
|
|
129
181
|
T.type_alias do
|
|
@@ -19,6 +19,15 @@ module Orb
|
|
|
19
19
|
sig { returns(Time) }
|
|
20
20
|
attr_accessor :created_at
|
|
21
21
|
|
|
22
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
23
|
+
# endpoint.
|
|
24
|
+
sig do
|
|
25
|
+
returns(
|
|
26
|
+
Orb::SubscriptionCancellationUnscheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig do
|
|
23
32
|
returns(
|
|
24
33
|
Orb::SubscriptionCancellationUnscheduledWebhookEvent::Properties
|
|
@@ -72,6 +81,8 @@ module Orb
|
|
|
72
81
|
params(
|
|
73
82
|
id: String,
|
|
74
83
|
created_at: Time,
|
|
84
|
+
payload_style:
|
|
85
|
+
Orb::SubscriptionCancellationUnscheduledWebhookEvent::PayloadStyle::OrSymbol,
|
|
75
86
|
properties:
|
|
76
87
|
Orb::SubscriptionCancellationUnscheduledWebhookEvent::Properties::OrHash,
|
|
77
88
|
subscription: Orb::Subscription::OrHash,
|
|
@@ -84,6 +95,9 @@ module Orb
|
|
|
84
95
|
id:,
|
|
85
96
|
# The time at which this event was created, to the second.
|
|
86
97
|
created_at:,
|
|
98
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
99
|
+
# endpoint.
|
|
100
|
+
payload_style:,
|
|
87
101
|
properties:,
|
|
88
102
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
89
103
|
# by a customer.
|
|
@@ -115,6 +129,8 @@ module Orb
|
|
|
115
129
|
{
|
|
116
130
|
id: String,
|
|
117
131
|
created_at: Time,
|
|
132
|
+
payload_style:
|
|
133
|
+
Orb::SubscriptionCancellationUnscheduledWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
118
134
|
properties:
|
|
119
135
|
Orb::SubscriptionCancellationUnscheduledWebhookEvent::Properties,
|
|
120
136
|
subscription: Orb::Subscription,
|
|
@@ -126,6 +142,42 @@ module Orb
|
|
|
126
142
|
def to_hash
|
|
127
143
|
end
|
|
128
144
|
|
|
145
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
146
|
+
# endpoint.
|
|
147
|
+
module PayloadStyle
|
|
148
|
+
extend Orb::Internal::Type::Enum
|
|
149
|
+
|
|
150
|
+
TaggedSymbol =
|
|
151
|
+
T.type_alias do
|
|
152
|
+
T.all(
|
|
153
|
+
Symbol,
|
|
154
|
+
Orb::SubscriptionCancellationUnscheduledWebhookEvent::PayloadStyle
|
|
155
|
+
)
|
|
156
|
+
end
|
|
157
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
158
|
+
|
|
159
|
+
EXPANDED =
|
|
160
|
+
T.let(
|
|
161
|
+
:expanded,
|
|
162
|
+
Orb::SubscriptionCancellationUnscheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
163
|
+
)
|
|
164
|
+
STANDARD =
|
|
165
|
+
T.let(
|
|
166
|
+
:standard,
|
|
167
|
+
Orb::SubscriptionCancellationUnscheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
sig do
|
|
171
|
+
override.returns(
|
|
172
|
+
T::Array[
|
|
173
|
+
Orb::SubscriptionCancellationUnscheduledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
174
|
+
]
|
|
175
|
+
)
|
|
176
|
+
end
|
|
177
|
+
def self.values
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
|
|
129
181
|
class Properties < Orb::Internal::Type::BaseModel
|
|
130
182
|
OrHash =
|
|
131
183
|
T.type_alias do
|
|
@@ -19,6 +19,15 @@ module Orb
|
|
|
19
19
|
sig { returns(Time) }
|
|
20
20
|
attr_accessor :created_at
|
|
21
21
|
|
|
22
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
23
|
+
# endpoint.
|
|
24
|
+
sig do
|
|
25
|
+
returns(
|
|
26
|
+
Orb::SubscriptionCostExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig { returns(Orb::SubscriptionCostExceededWebhookEvent::Properties) }
|
|
23
32
|
attr_reader :properties
|
|
24
33
|
|
|
@@ -66,6 +75,8 @@ module Orb
|
|
|
66
75
|
params(
|
|
67
76
|
id: String,
|
|
68
77
|
created_at: Time,
|
|
78
|
+
payload_style:
|
|
79
|
+
Orb::SubscriptionCostExceededWebhookEvent::PayloadStyle::OrSymbol,
|
|
69
80
|
properties:
|
|
70
81
|
Orb::SubscriptionCostExceededWebhookEvent::Properties::OrHash,
|
|
71
82
|
subscription: Orb::Subscription::OrHash,
|
|
@@ -77,6 +88,9 @@ module Orb
|
|
|
77
88
|
id:,
|
|
78
89
|
# The time at which this event was created, to the second.
|
|
79
90
|
created_at:,
|
|
91
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
92
|
+
# endpoint.
|
|
93
|
+
payload_style:,
|
|
80
94
|
properties:,
|
|
81
95
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
82
96
|
# by a customer.
|
|
@@ -108,6 +122,8 @@ module Orb
|
|
|
108
122
|
{
|
|
109
123
|
id: String,
|
|
110
124
|
created_at: Time,
|
|
125
|
+
payload_style:
|
|
126
|
+
Orb::SubscriptionCostExceededWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
111
127
|
properties: Orb::SubscriptionCostExceededWebhookEvent::Properties,
|
|
112
128
|
subscription: Orb::Subscription,
|
|
113
129
|
type: Orb::SubscriptionCostExceededWebhookEvent::Type::TaggedSymbol
|
|
@@ -117,6 +133,42 @@ module Orb
|
|
|
117
133
|
def to_hash
|
|
118
134
|
end
|
|
119
135
|
|
|
136
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
137
|
+
# endpoint.
|
|
138
|
+
module PayloadStyle
|
|
139
|
+
extend Orb::Internal::Type::Enum
|
|
140
|
+
|
|
141
|
+
TaggedSymbol =
|
|
142
|
+
T.type_alias do
|
|
143
|
+
T.all(
|
|
144
|
+
Symbol,
|
|
145
|
+
Orb::SubscriptionCostExceededWebhookEvent::PayloadStyle
|
|
146
|
+
)
|
|
147
|
+
end
|
|
148
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
149
|
+
|
|
150
|
+
EXPANDED =
|
|
151
|
+
T.let(
|
|
152
|
+
:expanded,
|
|
153
|
+
Orb::SubscriptionCostExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
154
|
+
)
|
|
155
|
+
STANDARD =
|
|
156
|
+
T.let(
|
|
157
|
+
:standard,
|
|
158
|
+
Orb::SubscriptionCostExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
159
|
+
)
|
|
160
|
+
|
|
161
|
+
sig do
|
|
162
|
+
override.returns(
|
|
163
|
+
T::Array[
|
|
164
|
+
Orb::SubscriptionCostExceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
165
|
+
]
|
|
166
|
+
)
|
|
167
|
+
end
|
|
168
|
+
def self.values
|
|
169
|
+
end
|
|
170
|
+
end
|
|
171
|
+
|
|
120
172
|
class Properties < Orb::Internal::Type::BaseModel
|
|
121
173
|
OrHash =
|
|
122
174
|
T.type_alias do
|
|
@@ -16,6 +16,15 @@ module Orb
|
|
|
16
16
|
sig { returns(Time) }
|
|
17
17
|
attr_accessor :created_at
|
|
18
18
|
|
|
19
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
20
|
+
# endpoint.
|
|
21
|
+
sig do
|
|
22
|
+
returns(
|
|
23
|
+
Orb::SubscriptionCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
24
|
+
)
|
|
25
|
+
end
|
|
26
|
+
attr_accessor :payload_style
|
|
27
|
+
|
|
19
28
|
sig { returns(T.anything) }
|
|
20
29
|
attr_accessor :properties
|
|
21
30
|
|
|
@@ -53,6 +62,8 @@ module Orb
|
|
|
53
62
|
params(
|
|
54
63
|
id: String,
|
|
55
64
|
created_at: Time,
|
|
65
|
+
payload_style:
|
|
66
|
+
Orb::SubscriptionCreatedWebhookEvent::PayloadStyle::OrSymbol,
|
|
56
67
|
properties: T.anything,
|
|
57
68
|
subscription: Orb::Subscription::OrHash,
|
|
58
69
|
type: Orb::SubscriptionCreatedWebhookEvent::Type::OrSymbol
|
|
@@ -63,6 +74,9 @@ module Orb
|
|
|
63
74
|
id:,
|
|
64
75
|
# The time at which this event was created, to the second.
|
|
65
76
|
created_at:,
|
|
77
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
78
|
+
# endpoint.
|
|
79
|
+
payload_style:,
|
|
66
80
|
properties:,
|
|
67
81
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
68
82
|
# by a customer.
|
|
@@ -94,6 +108,8 @@ module Orb
|
|
|
94
108
|
{
|
|
95
109
|
id: String,
|
|
96
110
|
created_at: Time,
|
|
111
|
+
payload_style:
|
|
112
|
+
Orb::SubscriptionCreatedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
97
113
|
properties: T.anything,
|
|
98
114
|
subscription: Orb::Subscription,
|
|
99
115
|
type: Orb::SubscriptionCreatedWebhookEvent::Type::TaggedSymbol
|
|
@@ -103,6 +119,39 @@ module Orb
|
|
|
103
119
|
def to_hash
|
|
104
120
|
end
|
|
105
121
|
|
|
122
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
123
|
+
# endpoint.
|
|
124
|
+
module PayloadStyle
|
|
125
|
+
extend Orb::Internal::Type::Enum
|
|
126
|
+
|
|
127
|
+
TaggedSymbol =
|
|
128
|
+
T.type_alias do
|
|
129
|
+
T.all(Symbol, Orb::SubscriptionCreatedWebhookEvent::PayloadStyle)
|
|
130
|
+
end
|
|
131
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
132
|
+
|
|
133
|
+
EXPANDED =
|
|
134
|
+
T.let(
|
|
135
|
+
:expanded,
|
|
136
|
+
Orb::SubscriptionCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
137
|
+
)
|
|
138
|
+
STANDARD =
|
|
139
|
+
T.let(
|
|
140
|
+
:standard,
|
|
141
|
+
Orb::SubscriptionCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
142
|
+
)
|
|
143
|
+
|
|
144
|
+
sig do
|
|
145
|
+
override.returns(
|
|
146
|
+
T::Array[
|
|
147
|
+
Orb::SubscriptionCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
148
|
+
]
|
|
149
|
+
)
|
|
150
|
+
end
|
|
151
|
+
def self.values
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
|
|
106
155
|
# The event this payload describes.
|
|
107
156
|
module Type
|
|
108
157
|
extend Orb::Internal::Type::Enum
|
|
@@ -16,6 +16,13 @@ module Orb
|
|
|
16
16
|
sig { returns(Time) }
|
|
17
17
|
attr_accessor :created_at
|
|
18
18
|
|
|
19
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
20
|
+
# endpoint.
|
|
21
|
+
sig do
|
|
22
|
+
returns(Orb::SubscriptionEditedWebhookEvent::PayloadStyle::TaggedSymbol)
|
|
23
|
+
end
|
|
24
|
+
attr_accessor :payload_style
|
|
25
|
+
|
|
19
26
|
sig { returns(Orb::SubscriptionEditedWebhookEvent::Properties) }
|
|
20
27
|
attr_reader :properties
|
|
21
28
|
|
|
@@ -60,6 +67,8 @@ module Orb
|
|
|
60
67
|
params(
|
|
61
68
|
id: String,
|
|
62
69
|
created_at: Time,
|
|
70
|
+
payload_style:
|
|
71
|
+
Orb::SubscriptionEditedWebhookEvent::PayloadStyle::OrSymbol,
|
|
63
72
|
properties: Orb::SubscriptionEditedWebhookEvent::Properties::OrHash,
|
|
64
73
|
subscription: Orb::Subscription::OrHash,
|
|
65
74
|
type: Orb::SubscriptionEditedWebhookEvent::Type::OrSymbol
|
|
@@ -70,6 +79,9 @@ module Orb
|
|
|
70
79
|
id:,
|
|
71
80
|
# The time at which this event was created, to the second.
|
|
72
81
|
created_at:,
|
|
82
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
83
|
+
# endpoint.
|
|
84
|
+
payload_style:,
|
|
73
85
|
properties:,
|
|
74
86
|
# A [subscription](/core-concepts#subscription) represents the purchase of a plan
|
|
75
87
|
# by a customer.
|
|
@@ -101,6 +113,8 @@ module Orb
|
|
|
101
113
|
{
|
|
102
114
|
id: String,
|
|
103
115
|
created_at: Time,
|
|
116
|
+
payload_style:
|
|
117
|
+
Orb::SubscriptionEditedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
104
118
|
properties: Orb::SubscriptionEditedWebhookEvent::Properties,
|
|
105
119
|
subscription: Orb::Subscription,
|
|
106
120
|
type: Orb::SubscriptionEditedWebhookEvent::Type::TaggedSymbol
|
|
@@ -110,6 +124,39 @@ module Orb
|
|
|
110
124
|
def to_hash
|
|
111
125
|
end
|
|
112
126
|
|
|
127
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
128
|
+
# endpoint.
|
|
129
|
+
module PayloadStyle
|
|
130
|
+
extend Orb::Internal::Type::Enum
|
|
131
|
+
|
|
132
|
+
TaggedSymbol =
|
|
133
|
+
T.type_alias do
|
|
134
|
+
T.all(Symbol, Orb::SubscriptionEditedWebhookEvent::PayloadStyle)
|
|
135
|
+
end
|
|
136
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
137
|
+
|
|
138
|
+
EXPANDED =
|
|
139
|
+
T.let(
|
|
140
|
+
:expanded,
|
|
141
|
+
Orb::SubscriptionEditedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
142
|
+
)
|
|
143
|
+
STANDARD =
|
|
144
|
+
T.let(
|
|
145
|
+
:standard,
|
|
146
|
+
Orb::SubscriptionEditedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
147
|
+
)
|
|
148
|
+
|
|
149
|
+
sig do
|
|
150
|
+
override.returns(
|
|
151
|
+
T::Array[
|
|
152
|
+
Orb::SubscriptionEditedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
153
|
+
]
|
|
154
|
+
)
|
|
155
|
+
end
|
|
156
|
+
def self.values
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
|
|
113
160
|
class Properties < Orb::Internal::Type::BaseModel
|
|
114
161
|
OrHash =
|
|
115
162
|
T.type_alias do
|