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
|
@@ -45,6 +45,15 @@ module Orb
|
|
|
45
45
|
sig { params(invoice: Orb::Invoice::OrHash).void }
|
|
46
46
|
attr_writer :invoice
|
|
47
47
|
|
|
48
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
49
|
+
# endpoint.
|
|
50
|
+
sig do
|
|
51
|
+
returns(
|
|
52
|
+
Orb::InvoiceAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
53
|
+
)
|
|
54
|
+
end
|
|
55
|
+
attr_accessor :payload_style
|
|
56
|
+
|
|
48
57
|
sig { returns(Orb::InvoiceAccountingSyncFailedWebhookEvent::Properties) }
|
|
49
58
|
attr_reader :properties
|
|
50
59
|
|
|
@@ -72,6 +81,8 @@ module Orb
|
|
|
72
81
|
Orb::InvoiceAccountingSyncFailedWebhookEvent::AccountingSyncRecord::OrHash,
|
|
73
82
|
created_at: Time,
|
|
74
83
|
invoice: Orb::Invoice::OrHash,
|
|
84
|
+
payload_style:
|
|
85
|
+
Orb::InvoiceAccountingSyncFailedWebhookEvent::PayloadStyle::OrSymbol,
|
|
75
86
|
properties:
|
|
76
87
|
Orb::InvoiceAccountingSyncFailedWebhookEvent::Properties::OrHash,
|
|
77
88
|
type: Orb::InvoiceAccountingSyncFailedWebhookEvent::Type::OrSymbol
|
|
@@ -89,6 +100,9 @@ module Orb
|
|
|
89
100
|
# represent fixed recurring fees or usage-based fees. They are generated at the
|
|
90
101
|
# end of a billing period, or as the result of an action, such as a cancellation.
|
|
91
102
|
invoice:,
|
|
103
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
104
|
+
# endpoint.
|
|
105
|
+
payload_style:,
|
|
92
106
|
properties:,
|
|
93
107
|
# The event this payload describes.
|
|
94
108
|
type:
|
|
@@ -103,6 +117,8 @@ module Orb
|
|
|
103
117
|
Orb::InvoiceAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
|
|
104
118
|
created_at: Time,
|
|
105
119
|
invoice: Orb::Invoice,
|
|
120
|
+
payload_style:
|
|
121
|
+
Orb::InvoiceAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
106
122
|
properties:
|
|
107
123
|
Orb::InvoiceAccountingSyncFailedWebhookEvent::Properties,
|
|
108
124
|
type:
|
|
@@ -258,6 +274,42 @@ module Orb
|
|
|
258
274
|
end
|
|
259
275
|
end
|
|
260
276
|
|
|
277
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
278
|
+
# endpoint.
|
|
279
|
+
module PayloadStyle
|
|
280
|
+
extend Orb::Internal::Type::Enum
|
|
281
|
+
|
|
282
|
+
TaggedSymbol =
|
|
283
|
+
T.type_alias do
|
|
284
|
+
T.all(
|
|
285
|
+
Symbol,
|
|
286
|
+
Orb::InvoiceAccountingSyncFailedWebhookEvent::PayloadStyle
|
|
287
|
+
)
|
|
288
|
+
end
|
|
289
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
290
|
+
|
|
291
|
+
EXPANDED =
|
|
292
|
+
T.let(
|
|
293
|
+
:expanded,
|
|
294
|
+
Orb::InvoiceAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
295
|
+
)
|
|
296
|
+
STANDARD =
|
|
297
|
+
T.let(
|
|
298
|
+
:standard,
|
|
299
|
+
Orb::InvoiceAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
300
|
+
)
|
|
301
|
+
|
|
302
|
+
sig do
|
|
303
|
+
override.returns(
|
|
304
|
+
T::Array[
|
|
305
|
+
Orb::InvoiceAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
306
|
+
]
|
|
307
|
+
)
|
|
308
|
+
end
|
|
309
|
+
def self.values
|
|
310
|
+
end
|
|
311
|
+
end
|
|
312
|
+
|
|
261
313
|
class Properties < Orb::Internal::Type::BaseModel
|
|
262
314
|
OrHash =
|
|
263
315
|
T.type_alias do
|
|
@@ -45,6 +45,15 @@ module Orb
|
|
|
45
45
|
sig { params(invoice: Orb::Invoice::OrHash).void }
|
|
46
46
|
attr_writer :invoice
|
|
47
47
|
|
|
48
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
49
|
+
# endpoint.
|
|
50
|
+
sig do
|
|
51
|
+
returns(
|
|
52
|
+
Orb::InvoiceAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
53
|
+
)
|
|
54
|
+
end
|
|
55
|
+
attr_accessor :payload_style
|
|
56
|
+
|
|
48
57
|
sig do
|
|
49
58
|
returns(Orb::InvoiceAccountingSyncSucceededWebhookEvent::Properties)
|
|
50
59
|
end
|
|
@@ -74,6 +83,8 @@ module Orb
|
|
|
74
83
|
Orb::InvoiceAccountingSyncSucceededWebhookEvent::AccountingSyncRecord::OrHash,
|
|
75
84
|
created_at: Time,
|
|
76
85
|
invoice: Orb::Invoice::OrHash,
|
|
86
|
+
payload_style:
|
|
87
|
+
Orb::InvoiceAccountingSyncSucceededWebhookEvent::PayloadStyle::OrSymbol,
|
|
77
88
|
properties:
|
|
78
89
|
Orb::InvoiceAccountingSyncSucceededWebhookEvent::Properties::OrHash,
|
|
79
90
|
type: Orb::InvoiceAccountingSyncSucceededWebhookEvent::Type::OrSymbol
|
|
@@ -91,6 +102,9 @@ module Orb
|
|
|
91
102
|
# represent fixed recurring fees or usage-based fees. They are generated at the
|
|
92
103
|
# end of a billing period, or as the result of an action, such as a cancellation.
|
|
93
104
|
invoice:,
|
|
105
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
106
|
+
# endpoint.
|
|
107
|
+
payload_style:,
|
|
94
108
|
properties:,
|
|
95
109
|
# The event this payload describes.
|
|
96
110
|
type:
|
|
@@ -105,6 +119,8 @@ module Orb
|
|
|
105
119
|
Orb::InvoiceAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
|
|
106
120
|
created_at: Time,
|
|
107
121
|
invoice: Orb::Invoice,
|
|
122
|
+
payload_style:
|
|
123
|
+
Orb::InvoiceAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
108
124
|
properties:
|
|
109
125
|
Orb::InvoiceAccountingSyncSucceededWebhookEvent::Properties,
|
|
110
126
|
type:
|
|
@@ -260,6 +276,42 @@ module Orb
|
|
|
260
276
|
end
|
|
261
277
|
end
|
|
262
278
|
|
|
279
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
280
|
+
# endpoint.
|
|
281
|
+
module PayloadStyle
|
|
282
|
+
extend Orb::Internal::Type::Enum
|
|
283
|
+
|
|
284
|
+
TaggedSymbol =
|
|
285
|
+
T.type_alias do
|
|
286
|
+
T.all(
|
|
287
|
+
Symbol,
|
|
288
|
+
Orb::InvoiceAccountingSyncSucceededWebhookEvent::PayloadStyle
|
|
289
|
+
)
|
|
290
|
+
end
|
|
291
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
292
|
+
|
|
293
|
+
EXPANDED =
|
|
294
|
+
T.let(
|
|
295
|
+
:expanded,
|
|
296
|
+
Orb::InvoiceAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
297
|
+
)
|
|
298
|
+
STANDARD =
|
|
299
|
+
T.let(
|
|
300
|
+
:standard,
|
|
301
|
+
Orb::InvoiceAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
302
|
+
)
|
|
303
|
+
|
|
304
|
+
sig do
|
|
305
|
+
override.returns(
|
|
306
|
+
T::Array[
|
|
307
|
+
Orb::InvoiceAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
308
|
+
]
|
|
309
|
+
)
|
|
310
|
+
end
|
|
311
|
+
def self.values
|
|
312
|
+
end
|
|
313
|
+
end
|
|
314
|
+
|
|
263
315
|
class Properties < Orb::Internal::Type::BaseModel
|
|
264
316
|
OrHash =
|
|
265
317
|
T.type_alias do
|
|
@@ -35,6 +35,15 @@ module Orb
|
|
|
35
35
|
end
|
|
36
36
|
attr_writer :invoice
|
|
37
37
|
|
|
38
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
39
|
+
# endpoint.
|
|
40
|
+
sig do
|
|
41
|
+
returns(
|
|
42
|
+
Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
43
|
+
)
|
|
44
|
+
end
|
|
45
|
+
attr_accessor :payload_style
|
|
46
|
+
|
|
38
47
|
sig do
|
|
39
48
|
returns(
|
|
40
49
|
Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Properties
|
|
@@ -65,6 +74,8 @@ module Orb
|
|
|
65
74
|
created_at: Time,
|
|
66
75
|
invoice:
|
|
67
76
|
Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Invoice::OrHash,
|
|
77
|
+
payload_style:
|
|
78
|
+
Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::PayloadStyle::OrSymbol,
|
|
68
79
|
properties:
|
|
69
80
|
Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Properties::OrHash,
|
|
70
81
|
type:
|
|
@@ -80,6 +91,9 @@ module Orb
|
|
|
80
91
|
# a follow-up API call, mirroring the variables Orb's own automation emails render
|
|
81
92
|
# against.
|
|
82
93
|
invoice:,
|
|
94
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
95
|
+
# endpoint.
|
|
96
|
+
payload_style:,
|
|
83
97
|
properties:,
|
|
84
98
|
# The event this payload describes.
|
|
85
99
|
type:
|
|
@@ -93,6 +107,8 @@ module Orb
|
|
|
93
107
|
created_at: Time,
|
|
94
108
|
invoice:
|
|
95
109
|
Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Invoice,
|
|
110
|
+
payload_style:
|
|
111
|
+
Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
96
112
|
properties:
|
|
97
113
|
Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Properties,
|
|
98
114
|
type:
|
|
@@ -223,6 +239,42 @@ module Orb
|
|
|
223
239
|
end
|
|
224
240
|
end
|
|
225
241
|
|
|
242
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
243
|
+
# endpoint.
|
|
244
|
+
module PayloadStyle
|
|
245
|
+
extend Orb::Internal::Type::Enum
|
|
246
|
+
|
|
247
|
+
TaggedSymbol =
|
|
248
|
+
T.type_alias do
|
|
249
|
+
T.all(
|
|
250
|
+
Symbol,
|
|
251
|
+
Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::PayloadStyle
|
|
252
|
+
)
|
|
253
|
+
end
|
|
254
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
255
|
+
|
|
256
|
+
EXPANDED =
|
|
257
|
+
T.let(
|
|
258
|
+
:expanded,
|
|
259
|
+
Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
260
|
+
)
|
|
261
|
+
STANDARD =
|
|
262
|
+
T.let(
|
|
263
|
+
:standard,
|
|
264
|
+
Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
265
|
+
)
|
|
266
|
+
|
|
267
|
+
sig do
|
|
268
|
+
override.returns(
|
|
269
|
+
T::Array[
|
|
270
|
+
Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
271
|
+
]
|
|
272
|
+
)
|
|
273
|
+
end
|
|
274
|
+
def self.values
|
|
275
|
+
end
|
|
276
|
+
end
|
|
277
|
+
|
|
226
278
|
class Properties < Orb::Internal::Type::BaseModel
|
|
227
279
|
OrHash =
|
|
228
280
|
T.type_alias do
|
|
@@ -22,6 +22,15 @@ module Orb
|
|
|
22
22
|
sig { returns(String) }
|
|
23
23
|
attr_accessor :invoice
|
|
24
24
|
|
|
25
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
26
|
+
# endpoint.
|
|
27
|
+
sig do
|
|
28
|
+
returns(
|
|
29
|
+
Orb::InvoiceCostDataExportedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
30
|
+
)
|
|
31
|
+
end
|
|
32
|
+
attr_accessor :payload_style
|
|
33
|
+
|
|
25
34
|
sig { returns(Orb::InvoiceCostDataExportedWebhookEvent::Properties) }
|
|
26
35
|
attr_reader :properties
|
|
27
36
|
|
|
@@ -45,6 +54,8 @@ module Orb
|
|
|
45
54
|
id: String,
|
|
46
55
|
created_at: Time,
|
|
47
56
|
invoice: String,
|
|
57
|
+
payload_style:
|
|
58
|
+
Orb::InvoiceCostDataExportedWebhookEvent::PayloadStyle::OrSymbol,
|
|
48
59
|
properties:
|
|
49
60
|
Orb::InvoiceCostDataExportedWebhookEvent::Properties::OrHash,
|
|
50
61
|
type: Orb::InvoiceCostDataExportedWebhookEvent::Type::OrSymbol
|
|
@@ -56,6 +67,9 @@ module Orb
|
|
|
56
67
|
# The time at which this event was created, to the second.
|
|
57
68
|
created_at:,
|
|
58
69
|
invoice:,
|
|
70
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
71
|
+
# endpoint.
|
|
72
|
+
payload_style:,
|
|
59
73
|
properties:,
|
|
60
74
|
# The event this payload describes.
|
|
61
75
|
type:
|
|
@@ -68,6 +82,8 @@ module Orb
|
|
|
68
82
|
id: String,
|
|
69
83
|
created_at: Time,
|
|
70
84
|
invoice: String,
|
|
85
|
+
payload_style:
|
|
86
|
+
Orb::InvoiceCostDataExportedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
71
87
|
properties: Orb::InvoiceCostDataExportedWebhookEvent::Properties,
|
|
72
88
|
type: Orb::InvoiceCostDataExportedWebhookEvent::Type::TaggedSymbol
|
|
73
89
|
}
|
|
@@ -76,6 +92,42 @@ module Orb
|
|
|
76
92
|
def to_hash
|
|
77
93
|
end
|
|
78
94
|
|
|
95
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
96
|
+
# endpoint.
|
|
97
|
+
module PayloadStyle
|
|
98
|
+
extend Orb::Internal::Type::Enum
|
|
99
|
+
|
|
100
|
+
TaggedSymbol =
|
|
101
|
+
T.type_alias do
|
|
102
|
+
T.all(
|
|
103
|
+
Symbol,
|
|
104
|
+
Orb::InvoiceCostDataExportedWebhookEvent::PayloadStyle
|
|
105
|
+
)
|
|
106
|
+
end
|
|
107
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
108
|
+
|
|
109
|
+
EXPANDED =
|
|
110
|
+
T.let(
|
|
111
|
+
:expanded,
|
|
112
|
+
Orb::InvoiceCostDataExportedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
113
|
+
)
|
|
114
|
+
STANDARD =
|
|
115
|
+
T.let(
|
|
116
|
+
:standard,
|
|
117
|
+
Orb::InvoiceCostDataExportedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
118
|
+
)
|
|
119
|
+
|
|
120
|
+
sig do
|
|
121
|
+
override.returns(
|
|
122
|
+
T::Array[
|
|
123
|
+
Orb::InvoiceCostDataExportedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
124
|
+
]
|
|
125
|
+
)
|
|
126
|
+
end
|
|
127
|
+
def self.values
|
|
128
|
+
end
|
|
129
|
+
end
|
|
130
|
+
|
|
79
131
|
class Properties < Orb::Internal::Type::BaseModel
|
|
80
132
|
OrHash =
|
|
81
133
|
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::InvoiceDueDateRecalculationCanceledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig do
|
|
23
32
|
returns(
|
|
24
33
|
Orb::InvoiceDueDateRecalculationCanceledWebhookEvent::Properties
|
|
@@ -47,6 +56,8 @@ module Orb
|
|
|
47
56
|
params(
|
|
48
57
|
id: String,
|
|
49
58
|
created_at: Time,
|
|
59
|
+
payload_style:
|
|
60
|
+
Orb::InvoiceDueDateRecalculationCanceledWebhookEvent::PayloadStyle::OrSymbol,
|
|
50
61
|
properties:
|
|
51
62
|
Orb::InvoiceDueDateRecalculationCanceledWebhookEvent::Properties::OrHash,
|
|
52
63
|
type:
|
|
@@ -58,6 +69,9 @@ module Orb
|
|
|
58
69
|
id:,
|
|
59
70
|
# The time at which this event was created, to the second.
|
|
60
71
|
created_at:,
|
|
72
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
73
|
+
# endpoint.
|
|
74
|
+
payload_style:,
|
|
61
75
|
properties:,
|
|
62
76
|
# The event this payload describes.
|
|
63
77
|
type:
|
|
@@ -69,6 +83,8 @@ module Orb
|
|
|
69
83
|
{
|
|
70
84
|
id: String,
|
|
71
85
|
created_at: Time,
|
|
86
|
+
payload_style:
|
|
87
|
+
Orb::InvoiceDueDateRecalculationCanceledWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
72
88
|
properties:
|
|
73
89
|
Orb::InvoiceDueDateRecalculationCanceledWebhookEvent::Properties,
|
|
74
90
|
type:
|
|
@@ -79,6 +95,42 @@ module Orb
|
|
|
79
95
|
def to_hash
|
|
80
96
|
end
|
|
81
97
|
|
|
98
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
99
|
+
# endpoint.
|
|
100
|
+
module PayloadStyle
|
|
101
|
+
extend Orb::Internal::Type::Enum
|
|
102
|
+
|
|
103
|
+
TaggedSymbol =
|
|
104
|
+
T.type_alias do
|
|
105
|
+
T.all(
|
|
106
|
+
Symbol,
|
|
107
|
+
Orb::InvoiceDueDateRecalculationCanceledWebhookEvent::PayloadStyle
|
|
108
|
+
)
|
|
109
|
+
end
|
|
110
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
111
|
+
|
|
112
|
+
EXPANDED =
|
|
113
|
+
T.let(
|
|
114
|
+
:expanded,
|
|
115
|
+
Orb::InvoiceDueDateRecalculationCanceledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
116
|
+
)
|
|
117
|
+
STANDARD =
|
|
118
|
+
T.let(
|
|
119
|
+
:standard,
|
|
120
|
+
Orb::InvoiceDueDateRecalculationCanceledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
121
|
+
)
|
|
122
|
+
|
|
123
|
+
sig do
|
|
124
|
+
override.returns(
|
|
125
|
+
T::Array[
|
|
126
|
+
Orb::InvoiceDueDateRecalculationCanceledWebhookEvent::PayloadStyle::TaggedSymbol
|
|
127
|
+
]
|
|
128
|
+
)
|
|
129
|
+
end
|
|
130
|
+
def self.values
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
|
|
82
134
|
class Properties < Orb::Internal::Type::BaseModel
|
|
83
135
|
OrHash =
|
|
84
136
|
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::InvoiceDueDateRecalculationCompletedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig do
|
|
23
32
|
returns(
|
|
24
33
|
Orb::InvoiceDueDateRecalculationCompletedWebhookEvent::Properties
|
|
@@ -47,6 +56,8 @@ module Orb
|
|
|
47
56
|
params(
|
|
48
57
|
id: String,
|
|
49
58
|
created_at: Time,
|
|
59
|
+
payload_style:
|
|
60
|
+
Orb::InvoiceDueDateRecalculationCompletedWebhookEvent::PayloadStyle::OrSymbol,
|
|
50
61
|
properties:
|
|
51
62
|
Orb::InvoiceDueDateRecalculationCompletedWebhookEvent::Properties::OrHash,
|
|
52
63
|
type:
|
|
@@ -58,6 +69,9 @@ module Orb
|
|
|
58
69
|
id:,
|
|
59
70
|
# The time at which this event was created, to the second.
|
|
60
71
|
created_at:,
|
|
72
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
73
|
+
# endpoint.
|
|
74
|
+
payload_style:,
|
|
61
75
|
properties:,
|
|
62
76
|
# The event this payload describes.
|
|
63
77
|
type:
|
|
@@ -69,6 +83,8 @@ module Orb
|
|
|
69
83
|
{
|
|
70
84
|
id: String,
|
|
71
85
|
created_at: Time,
|
|
86
|
+
payload_style:
|
|
87
|
+
Orb::InvoiceDueDateRecalculationCompletedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
72
88
|
properties:
|
|
73
89
|
Orb::InvoiceDueDateRecalculationCompletedWebhookEvent::Properties,
|
|
74
90
|
type:
|
|
@@ -79,6 +95,42 @@ module Orb
|
|
|
79
95
|
def to_hash
|
|
80
96
|
end
|
|
81
97
|
|
|
98
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
99
|
+
# endpoint.
|
|
100
|
+
module PayloadStyle
|
|
101
|
+
extend Orb::Internal::Type::Enum
|
|
102
|
+
|
|
103
|
+
TaggedSymbol =
|
|
104
|
+
T.type_alias do
|
|
105
|
+
T.all(
|
|
106
|
+
Symbol,
|
|
107
|
+
Orb::InvoiceDueDateRecalculationCompletedWebhookEvent::PayloadStyle
|
|
108
|
+
)
|
|
109
|
+
end
|
|
110
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
111
|
+
|
|
112
|
+
EXPANDED =
|
|
113
|
+
T.let(
|
|
114
|
+
:expanded,
|
|
115
|
+
Orb::InvoiceDueDateRecalculationCompletedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
116
|
+
)
|
|
117
|
+
STANDARD =
|
|
118
|
+
T.let(
|
|
119
|
+
:standard,
|
|
120
|
+
Orb::InvoiceDueDateRecalculationCompletedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
121
|
+
)
|
|
122
|
+
|
|
123
|
+
sig do
|
|
124
|
+
override.returns(
|
|
125
|
+
T::Array[
|
|
126
|
+
Orb::InvoiceDueDateRecalculationCompletedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
127
|
+
]
|
|
128
|
+
)
|
|
129
|
+
end
|
|
130
|
+
def self.values
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
|
|
82
134
|
class Properties < Orb::Internal::Type::BaseModel
|
|
83
135
|
OrHash =
|
|
84
136
|
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::InvoiceDueDateRecalculationStartedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
attr_accessor :payload_style
|
|
30
|
+
|
|
22
31
|
sig do
|
|
23
32
|
returns(Orb::InvoiceDueDateRecalculationStartedWebhookEvent::Properties)
|
|
24
33
|
end
|
|
@@ -45,6 +54,8 @@ module Orb
|
|
|
45
54
|
params(
|
|
46
55
|
id: String,
|
|
47
56
|
created_at: Time,
|
|
57
|
+
payload_style:
|
|
58
|
+
Orb::InvoiceDueDateRecalculationStartedWebhookEvent::PayloadStyle::OrSymbol,
|
|
48
59
|
properties:
|
|
49
60
|
Orb::InvoiceDueDateRecalculationStartedWebhookEvent::Properties::OrHash,
|
|
50
61
|
type:
|
|
@@ -56,6 +67,9 @@ module Orb
|
|
|
56
67
|
id:,
|
|
57
68
|
# The time at which this event was created, to the second.
|
|
58
69
|
created_at:,
|
|
70
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
71
|
+
# endpoint.
|
|
72
|
+
payload_style:,
|
|
59
73
|
properties:,
|
|
60
74
|
# The event this payload describes.
|
|
61
75
|
type:
|
|
@@ -67,6 +81,8 @@ module Orb
|
|
|
67
81
|
{
|
|
68
82
|
id: String,
|
|
69
83
|
created_at: Time,
|
|
84
|
+
payload_style:
|
|
85
|
+
Orb::InvoiceDueDateRecalculationStartedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
70
86
|
properties:
|
|
71
87
|
Orb::InvoiceDueDateRecalculationStartedWebhookEvent::Properties,
|
|
72
88
|
type:
|
|
@@ -77,6 +93,42 @@ module Orb
|
|
|
77
93
|
def to_hash
|
|
78
94
|
end
|
|
79
95
|
|
|
96
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
97
|
+
# endpoint.
|
|
98
|
+
module PayloadStyle
|
|
99
|
+
extend Orb::Internal::Type::Enum
|
|
100
|
+
|
|
101
|
+
TaggedSymbol =
|
|
102
|
+
T.type_alias do
|
|
103
|
+
T.all(
|
|
104
|
+
Symbol,
|
|
105
|
+
Orb::InvoiceDueDateRecalculationStartedWebhookEvent::PayloadStyle
|
|
106
|
+
)
|
|
107
|
+
end
|
|
108
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
109
|
+
|
|
110
|
+
EXPANDED =
|
|
111
|
+
T.let(
|
|
112
|
+
:expanded,
|
|
113
|
+
Orb::InvoiceDueDateRecalculationStartedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
114
|
+
)
|
|
115
|
+
STANDARD =
|
|
116
|
+
T.let(
|
|
117
|
+
:standard,
|
|
118
|
+
Orb::InvoiceDueDateRecalculationStartedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
119
|
+
)
|
|
120
|
+
|
|
121
|
+
sig do
|
|
122
|
+
override.returns(
|
|
123
|
+
T::Array[
|
|
124
|
+
Orb::InvoiceDueDateRecalculationStartedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
125
|
+
]
|
|
126
|
+
)
|
|
127
|
+
end
|
|
128
|
+
def self.values
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
80
132
|
class Properties < Orb::Internal::Type::BaseModel
|
|
81
133
|
OrHash =
|
|
82
134
|
T.type_alias do
|
|
@@ -30,6 +30,15 @@ module Orb
|
|
|
30
30
|
sig { params(invoice: Orb::Invoice::OrHash).void }
|
|
31
31
|
attr_writer :invoice
|
|
32
32
|
|
|
33
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
34
|
+
# endpoint.
|
|
35
|
+
sig do
|
|
36
|
+
returns(
|
|
37
|
+
Orb::InvoiceDunningScheduleCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
38
|
+
)
|
|
39
|
+
end
|
|
40
|
+
attr_accessor :payload_style
|
|
41
|
+
|
|
33
42
|
sig do
|
|
34
43
|
returns(Orb::InvoiceDunningScheduleCreatedWebhookEvent::Properties)
|
|
35
44
|
end
|
|
@@ -57,6 +66,8 @@ module Orb
|
|
|
57
66
|
id: String,
|
|
58
67
|
created_at: Time,
|
|
59
68
|
invoice: Orb::Invoice::OrHash,
|
|
69
|
+
payload_style:
|
|
70
|
+
Orb::InvoiceDunningScheduleCreatedWebhookEvent::PayloadStyle::OrSymbol,
|
|
60
71
|
properties:
|
|
61
72
|
Orb::InvoiceDunningScheduleCreatedWebhookEvent::Properties::OrHash,
|
|
62
73
|
type: Orb::InvoiceDunningScheduleCreatedWebhookEvent::Type::OrSymbol
|
|
@@ -73,6 +84,9 @@ module Orb
|
|
|
73
84
|
# represent fixed recurring fees or usage-based fees. They are generated at the
|
|
74
85
|
# end of a billing period, or as the result of an action, such as a cancellation.
|
|
75
86
|
invoice:,
|
|
87
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
88
|
+
# endpoint.
|
|
89
|
+
payload_style:,
|
|
76
90
|
properties:,
|
|
77
91
|
# The event this payload describes.
|
|
78
92
|
type:
|
|
@@ -85,6 +99,8 @@ module Orb
|
|
|
85
99
|
id: String,
|
|
86
100
|
created_at: Time,
|
|
87
101
|
invoice: Orb::Invoice,
|
|
102
|
+
payload_style:
|
|
103
|
+
Orb::InvoiceDunningScheduleCreatedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
88
104
|
properties:
|
|
89
105
|
Orb::InvoiceDunningScheduleCreatedWebhookEvent::Properties,
|
|
90
106
|
type:
|
|
@@ -95,6 +111,42 @@ module Orb
|
|
|
95
111
|
def to_hash
|
|
96
112
|
end
|
|
97
113
|
|
|
114
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
115
|
+
# endpoint.
|
|
116
|
+
module PayloadStyle
|
|
117
|
+
extend Orb::Internal::Type::Enum
|
|
118
|
+
|
|
119
|
+
TaggedSymbol =
|
|
120
|
+
T.type_alias do
|
|
121
|
+
T.all(
|
|
122
|
+
Symbol,
|
|
123
|
+
Orb::InvoiceDunningScheduleCreatedWebhookEvent::PayloadStyle
|
|
124
|
+
)
|
|
125
|
+
end
|
|
126
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
127
|
+
|
|
128
|
+
EXPANDED =
|
|
129
|
+
T.let(
|
|
130
|
+
:expanded,
|
|
131
|
+
Orb::InvoiceDunningScheduleCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
132
|
+
)
|
|
133
|
+
STANDARD =
|
|
134
|
+
T.let(
|
|
135
|
+
:standard,
|
|
136
|
+
Orb::InvoiceDunningScheduleCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
137
|
+
)
|
|
138
|
+
|
|
139
|
+
sig do
|
|
140
|
+
override.returns(
|
|
141
|
+
T::Array[
|
|
142
|
+
Orb::InvoiceDunningScheduleCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
143
|
+
]
|
|
144
|
+
)
|
|
145
|
+
end
|
|
146
|
+
def self.values
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
98
150
|
class Properties < Orb::Internal::Type::BaseModel
|
|
99
151
|
OrHash =
|
|
100
152
|
T.type_alias do
|