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
|
@@ -42,6 +42,15 @@ module Orb
|
|
|
42
42
|
sig { params(credit_note: Orb::CreditNote::OrHash).void }
|
|
43
43
|
attr_writer :credit_note
|
|
44
44
|
|
|
45
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
46
|
+
# endpoint.
|
|
47
|
+
sig do
|
|
48
|
+
returns(
|
|
49
|
+
Orb::CreditNoteAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
50
|
+
)
|
|
51
|
+
end
|
|
52
|
+
attr_accessor :payload_style
|
|
53
|
+
|
|
45
54
|
sig do
|
|
46
55
|
returns(Orb::CreditNoteAccountingSyncFailedWebhookEvent::Properties)
|
|
47
56
|
end
|
|
@@ -71,6 +80,8 @@ module Orb
|
|
|
71
80
|
Orb::CreditNoteAccountingSyncFailedWebhookEvent::AccountingSyncRecord::OrHash,
|
|
72
81
|
created_at: Time,
|
|
73
82
|
credit_note: Orb::CreditNote::OrHash,
|
|
83
|
+
payload_style:
|
|
84
|
+
Orb::CreditNoteAccountingSyncFailedWebhookEvent::PayloadStyle::OrSymbol,
|
|
74
85
|
properties:
|
|
75
86
|
Orb::CreditNoteAccountingSyncFailedWebhookEvent::Properties::OrHash,
|
|
76
87
|
type: Orb::CreditNoteAccountingSyncFailedWebhookEvent::Type::OrSymbol
|
|
@@ -85,6 +96,9 @@ module Orb
|
|
|
85
96
|
# The [Credit Note](/invoicing/credit-notes) resource represents a credit that has
|
|
86
97
|
# been applied to a particular invoice.
|
|
87
98
|
credit_note:,
|
|
99
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
100
|
+
# endpoint.
|
|
101
|
+
payload_style:,
|
|
88
102
|
properties:,
|
|
89
103
|
# The event this payload describes.
|
|
90
104
|
type:
|
|
@@ -99,6 +113,8 @@ module Orb
|
|
|
99
113
|
Orb::CreditNoteAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
|
|
100
114
|
created_at: Time,
|
|
101
115
|
credit_note: Orb::CreditNote,
|
|
116
|
+
payload_style:
|
|
117
|
+
Orb::CreditNoteAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
102
118
|
properties:
|
|
103
119
|
Orb::CreditNoteAccountingSyncFailedWebhookEvent::Properties,
|
|
104
120
|
type:
|
|
@@ -254,6 +270,42 @@ module Orb
|
|
|
254
270
|
end
|
|
255
271
|
end
|
|
256
272
|
|
|
273
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
274
|
+
# endpoint.
|
|
275
|
+
module PayloadStyle
|
|
276
|
+
extend Orb::Internal::Type::Enum
|
|
277
|
+
|
|
278
|
+
TaggedSymbol =
|
|
279
|
+
T.type_alias do
|
|
280
|
+
T.all(
|
|
281
|
+
Symbol,
|
|
282
|
+
Orb::CreditNoteAccountingSyncFailedWebhookEvent::PayloadStyle
|
|
283
|
+
)
|
|
284
|
+
end
|
|
285
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
286
|
+
|
|
287
|
+
EXPANDED =
|
|
288
|
+
T.let(
|
|
289
|
+
:expanded,
|
|
290
|
+
Orb::CreditNoteAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
291
|
+
)
|
|
292
|
+
STANDARD =
|
|
293
|
+
T.let(
|
|
294
|
+
:standard,
|
|
295
|
+
Orb::CreditNoteAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
296
|
+
)
|
|
297
|
+
|
|
298
|
+
sig do
|
|
299
|
+
override.returns(
|
|
300
|
+
T::Array[
|
|
301
|
+
Orb::CreditNoteAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
302
|
+
]
|
|
303
|
+
)
|
|
304
|
+
end
|
|
305
|
+
def self.values
|
|
306
|
+
end
|
|
307
|
+
end
|
|
308
|
+
|
|
257
309
|
class Properties < Orb::Internal::Type::BaseModel
|
|
258
310
|
OrHash =
|
|
259
311
|
T.type_alias do
|
|
@@ -42,6 +42,15 @@ module Orb
|
|
|
42
42
|
sig { params(credit_note: Orb::CreditNote::OrHash).void }
|
|
43
43
|
attr_writer :credit_note
|
|
44
44
|
|
|
45
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
46
|
+
# endpoint.
|
|
47
|
+
sig do
|
|
48
|
+
returns(
|
|
49
|
+
Orb::CreditNoteAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
50
|
+
)
|
|
51
|
+
end
|
|
52
|
+
attr_accessor :payload_style
|
|
53
|
+
|
|
45
54
|
sig do
|
|
46
55
|
returns(Orb::CreditNoteAccountingSyncSucceededWebhookEvent::Properties)
|
|
47
56
|
end
|
|
@@ -71,6 +80,8 @@ module Orb
|
|
|
71
80
|
Orb::CreditNoteAccountingSyncSucceededWebhookEvent::AccountingSyncRecord::OrHash,
|
|
72
81
|
created_at: Time,
|
|
73
82
|
credit_note: Orb::CreditNote::OrHash,
|
|
83
|
+
payload_style:
|
|
84
|
+
Orb::CreditNoteAccountingSyncSucceededWebhookEvent::PayloadStyle::OrSymbol,
|
|
74
85
|
properties:
|
|
75
86
|
Orb::CreditNoteAccountingSyncSucceededWebhookEvent::Properties::OrHash,
|
|
76
87
|
type:
|
|
@@ -86,6 +97,9 @@ module Orb
|
|
|
86
97
|
# The [Credit Note](/invoicing/credit-notes) resource represents a credit that has
|
|
87
98
|
# been applied to a particular invoice.
|
|
88
99
|
credit_note:,
|
|
100
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
101
|
+
# endpoint.
|
|
102
|
+
payload_style:,
|
|
89
103
|
properties:,
|
|
90
104
|
# The event this payload describes.
|
|
91
105
|
type:
|
|
@@ -100,6 +114,8 @@ module Orb
|
|
|
100
114
|
Orb::CreditNoteAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
|
|
101
115
|
created_at: Time,
|
|
102
116
|
credit_note: Orb::CreditNote,
|
|
117
|
+
payload_style:
|
|
118
|
+
Orb::CreditNoteAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
103
119
|
properties:
|
|
104
120
|
Orb::CreditNoteAccountingSyncSucceededWebhookEvent::Properties,
|
|
105
121
|
type:
|
|
@@ -255,6 +271,42 @@ module Orb
|
|
|
255
271
|
end
|
|
256
272
|
end
|
|
257
273
|
|
|
274
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
275
|
+
# endpoint.
|
|
276
|
+
module PayloadStyle
|
|
277
|
+
extend Orb::Internal::Type::Enum
|
|
278
|
+
|
|
279
|
+
TaggedSymbol =
|
|
280
|
+
T.type_alias do
|
|
281
|
+
T.all(
|
|
282
|
+
Symbol,
|
|
283
|
+
Orb::CreditNoteAccountingSyncSucceededWebhookEvent::PayloadStyle
|
|
284
|
+
)
|
|
285
|
+
end
|
|
286
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
287
|
+
|
|
288
|
+
EXPANDED =
|
|
289
|
+
T.let(
|
|
290
|
+
:expanded,
|
|
291
|
+
Orb::CreditNoteAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
292
|
+
)
|
|
293
|
+
STANDARD =
|
|
294
|
+
T.let(
|
|
295
|
+
:standard,
|
|
296
|
+
Orb::CreditNoteAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
297
|
+
)
|
|
298
|
+
|
|
299
|
+
sig do
|
|
300
|
+
override.returns(
|
|
301
|
+
T::Array[
|
|
302
|
+
Orb::CreditNoteAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
303
|
+
]
|
|
304
|
+
)
|
|
305
|
+
end
|
|
306
|
+
def self.values
|
|
307
|
+
end
|
|
308
|
+
end
|
|
309
|
+
|
|
258
310
|
class Properties < Orb::Internal::Type::BaseModel
|
|
259
311
|
OrHash =
|
|
260
312
|
T.type_alias do
|
|
@@ -24,6 +24,13 @@ module Orb
|
|
|
24
24
|
sig { params(credit_note: Orb::CreditNote::OrHash).void }
|
|
25
25
|
attr_writer :credit_note
|
|
26
26
|
|
|
27
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
28
|
+
# endpoint.
|
|
29
|
+
sig do
|
|
30
|
+
returns(Orb::CreditNoteIssuedWebhookEvent::PayloadStyle::TaggedSymbol)
|
|
31
|
+
end
|
|
32
|
+
attr_accessor :payload_style
|
|
33
|
+
|
|
27
34
|
sig { returns(T.anything) }
|
|
28
35
|
attr_accessor :properties
|
|
29
36
|
|
|
@@ -37,6 +44,8 @@ module Orb
|
|
|
37
44
|
id: String,
|
|
38
45
|
created_at: Time,
|
|
39
46
|
credit_note: Orb::CreditNote::OrHash,
|
|
47
|
+
payload_style:
|
|
48
|
+
Orb::CreditNoteIssuedWebhookEvent::PayloadStyle::OrSymbol,
|
|
40
49
|
properties: T.anything,
|
|
41
50
|
type: Orb::CreditNoteIssuedWebhookEvent::Type::OrSymbol
|
|
42
51
|
).returns(T.attached_class)
|
|
@@ -49,6 +58,9 @@ module Orb
|
|
|
49
58
|
# The [Credit Note](/invoicing/credit-notes) resource represents a credit that has
|
|
50
59
|
# been applied to a particular invoice.
|
|
51
60
|
credit_note:,
|
|
61
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
62
|
+
# endpoint.
|
|
63
|
+
payload_style:,
|
|
52
64
|
properties:,
|
|
53
65
|
# The event this payload describes.
|
|
54
66
|
type:
|
|
@@ -61,6 +73,8 @@ module Orb
|
|
|
61
73
|
id: String,
|
|
62
74
|
created_at: Time,
|
|
63
75
|
credit_note: Orb::CreditNote,
|
|
76
|
+
payload_style:
|
|
77
|
+
Orb::CreditNoteIssuedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
64
78
|
properties: T.anything,
|
|
65
79
|
type: Orb::CreditNoteIssuedWebhookEvent::Type::TaggedSymbol
|
|
66
80
|
}
|
|
@@ -69,6 +83,39 @@ module Orb
|
|
|
69
83
|
def to_hash
|
|
70
84
|
end
|
|
71
85
|
|
|
86
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
87
|
+
# endpoint.
|
|
88
|
+
module PayloadStyle
|
|
89
|
+
extend Orb::Internal::Type::Enum
|
|
90
|
+
|
|
91
|
+
TaggedSymbol =
|
|
92
|
+
T.type_alias do
|
|
93
|
+
T.all(Symbol, Orb::CreditNoteIssuedWebhookEvent::PayloadStyle)
|
|
94
|
+
end
|
|
95
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
96
|
+
|
|
97
|
+
EXPANDED =
|
|
98
|
+
T.let(
|
|
99
|
+
:expanded,
|
|
100
|
+
Orb::CreditNoteIssuedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
101
|
+
)
|
|
102
|
+
STANDARD =
|
|
103
|
+
T.let(
|
|
104
|
+
:standard,
|
|
105
|
+
Orb::CreditNoteIssuedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
sig do
|
|
109
|
+
override.returns(
|
|
110
|
+
T::Array[
|
|
111
|
+
Orb::CreditNoteIssuedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
112
|
+
]
|
|
113
|
+
)
|
|
114
|
+
end
|
|
115
|
+
def self.values
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
72
119
|
# The event this payload describes.
|
|
73
120
|
module Type
|
|
74
121
|
extend Orb::Internal::Type::Enum
|
|
@@ -24,6 +24,15 @@ module Orb
|
|
|
24
24
|
sig { params(credit_note: Orb::CreditNote::OrHash).void }
|
|
25
25
|
attr_writer :credit_note
|
|
26
26
|
|
|
27
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
28
|
+
# endpoint.
|
|
29
|
+
sig do
|
|
30
|
+
returns(
|
|
31
|
+
Orb::CreditNoteMarkedAsVoidWebhookEvent::PayloadStyle::TaggedSymbol
|
|
32
|
+
)
|
|
33
|
+
end
|
|
34
|
+
attr_accessor :payload_style
|
|
35
|
+
|
|
27
36
|
sig { returns(T.anything) }
|
|
28
37
|
attr_accessor :properties
|
|
29
38
|
|
|
@@ -39,6 +48,8 @@ module Orb
|
|
|
39
48
|
id: String,
|
|
40
49
|
created_at: Time,
|
|
41
50
|
credit_note: Orb::CreditNote::OrHash,
|
|
51
|
+
payload_style:
|
|
52
|
+
Orb::CreditNoteMarkedAsVoidWebhookEvent::PayloadStyle::OrSymbol,
|
|
42
53
|
properties: T.anything,
|
|
43
54
|
type: Orb::CreditNoteMarkedAsVoidWebhookEvent::Type::OrSymbol
|
|
44
55
|
).returns(T.attached_class)
|
|
@@ -51,6 +62,9 @@ module Orb
|
|
|
51
62
|
# The [Credit Note](/invoicing/credit-notes) resource represents a credit that has
|
|
52
63
|
# been applied to a particular invoice.
|
|
53
64
|
credit_note:,
|
|
65
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
66
|
+
# endpoint.
|
|
67
|
+
payload_style:,
|
|
54
68
|
properties:,
|
|
55
69
|
# The event this payload describes.
|
|
56
70
|
type:
|
|
@@ -63,6 +77,8 @@ module Orb
|
|
|
63
77
|
id: String,
|
|
64
78
|
created_at: Time,
|
|
65
79
|
credit_note: Orb::CreditNote,
|
|
80
|
+
payload_style:
|
|
81
|
+
Orb::CreditNoteMarkedAsVoidWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
66
82
|
properties: T.anything,
|
|
67
83
|
type: Orb::CreditNoteMarkedAsVoidWebhookEvent::Type::TaggedSymbol
|
|
68
84
|
}
|
|
@@ -71,6 +87,39 @@ module Orb
|
|
|
71
87
|
def to_hash
|
|
72
88
|
end
|
|
73
89
|
|
|
90
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
91
|
+
# endpoint.
|
|
92
|
+
module PayloadStyle
|
|
93
|
+
extend Orb::Internal::Type::Enum
|
|
94
|
+
|
|
95
|
+
TaggedSymbol =
|
|
96
|
+
T.type_alias do
|
|
97
|
+
T.all(Symbol, Orb::CreditNoteMarkedAsVoidWebhookEvent::PayloadStyle)
|
|
98
|
+
end
|
|
99
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
100
|
+
|
|
101
|
+
EXPANDED =
|
|
102
|
+
T.let(
|
|
103
|
+
:expanded,
|
|
104
|
+
Orb::CreditNoteMarkedAsVoidWebhookEvent::PayloadStyle::TaggedSymbol
|
|
105
|
+
)
|
|
106
|
+
STANDARD =
|
|
107
|
+
T.let(
|
|
108
|
+
:standard,
|
|
109
|
+
Orb::CreditNoteMarkedAsVoidWebhookEvent::PayloadStyle::TaggedSymbol
|
|
110
|
+
)
|
|
111
|
+
|
|
112
|
+
sig do
|
|
113
|
+
override.returns(
|
|
114
|
+
T::Array[
|
|
115
|
+
Orb::CreditNoteMarkedAsVoidWebhookEvent::PayloadStyle::TaggedSymbol
|
|
116
|
+
]
|
|
117
|
+
)
|
|
118
|
+
end
|
|
119
|
+
def self.values
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
|
|
74
123
|
# The event this payload describes.
|
|
75
124
|
module Type
|
|
76
125
|
extend Orb::Internal::Type::Enum
|
|
@@ -58,6 +58,15 @@ module Orb
|
|
|
58
58
|
sig { params(customer: Orb::Customer::OrHash).void }
|
|
59
59
|
attr_writer :customer
|
|
60
60
|
|
|
61
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
62
|
+
# endpoint.
|
|
63
|
+
sig do
|
|
64
|
+
returns(
|
|
65
|
+
Orb::CustomerAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
66
|
+
)
|
|
67
|
+
end
|
|
68
|
+
attr_accessor :payload_style
|
|
69
|
+
|
|
61
70
|
sig { returns(Orb::CustomerAccountingSyncFailedWebhookEvent::Properties) }
|
|
62
71
|
attr_reader :properties
|
|
63
72
|
|
|
@@ -85,6 +94,8 @@ module Orb
|
|
|
85
94
|
Orb::CustomerAccountingSyncFailedWebhookEvent::AccountingSyncRecord::OrHash,
|
|
86
95
|
created_at: Time,
|
|
87
96
|
customer: Orb::Customer::OrHash,
|
|
97
|
+
payload_style:
|
|
98
|
+
Orb::CustomerAccountingSyncFailedWebhookEvent::PayloadStyle::OrSymbol,
|
|
88
99
|
properties:
|
|
89
100
|
Orb::CustomerAccountingSyncFailedWebhookEvent::Properties::OrHash,
|
|
90
101
|
type: Orb::CustomerAccountingSyncFailedWebhookEvent::Type::OrSymbol
|
|
@@ -115,6 +126,9 @@ module Orb
|
|
|
115
126
|
# your account's timezone. See [Timezone localization](/essentials/timezones) for
|
|
116
127
|
# information on what this timezone parameter influences within Orb.
|
|
117
128
|
customer:,
|
|
129
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
130
|
+
# endpoint.
|
|
131
|
+
payload_style:,
|
|
118
132
|
properties:,
|
|
119
133
|
# The event this payload describes.
|
|
120
134
|
type:
|
|
@@ -129,6 +143,8 @@ module Orb
|
|
|
129
143
|
Orb::CustomerAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
|
|
130
144
|
created_at: Time,
|
|
131
145
|
customer: Orb::Customer,
|
|
146
|
+
payload_style:
|
|
147
|
+
Orb::CustomerAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
132
148
|
properties:
|
|
133
149
|
Orb::CustomerAccountingSyncFailedWebhookEvent::Properties,
|
|
134
150
|
type:
|
|
@@ -278,6 +294,42 @@ module Orb
|
|
|
278
294
|
end
|
|
279
295
|
end
|
|
280
296
|
|
|
297
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
298
|
+
# endpoint.
|
|
299
|
+
module PayloadStyle
|
|
300
|
+
extend Orb::Internal::Type::Enum
|
|
301
|
+
|
|
302
|
+
TaggedSymbol =
|
|
303
|
+
T.type_alias do
|
|
304
|
+
T.all(
|
|
305
|
+
Symbol,
|
|
306
|
+
Orb::CustomerAccountingSyncFailedWebhookEvent::PayloadStyle
|
|
307
|
+
)
|
|
308
|
+
end
|
|
309
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
310
|
+
|
|
311
|
+
EXPANDED =
|
|
312
|
+
T.let(
|
|
313
|
+
:expanded,
|
|
314
|
+
Orb::CustomerAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
315
|
+
)
|
|
316
|
+
STANDARD =
|
|
317
|
+
T.let(
|
|
318
|
+
:standard,
|
|
319
|
+
Orb::CustomerAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
320
|
+
)
|
|
321
|
+
|
|
322
|
+
sig do
|
|
323
|
+
override.returns(
|
|
324
|
+
T::Array[
|
|
325
|
+
Orb::CustomerAccountingSyncFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
326
|
+
]
|
|
327
|
+
)
|
|
328
|
+
end
|
|
329
|
+
def self.values
|
|
330
|
+
end
|
|
331
|
+
end
|
|
332
|
+
|
|
281
333
|
class Properties < Orb::Internal::Type::BaseModel
|
|
282
334
|
OrHash =
|
|
283
335
|
T.type_alias do
|
|
@@ -58,6 +58,15 @@ module Orb
|
|
|
58
58
|
sig { params(customer: Orb::Customer::OrHash).void }
|
|
59
59
|
attr_writer :customer
|
|
60
60
|
|
|
61
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
62
|
+
# endpoint.
|
|
63
|
+
sig do
|
|
64
|
+
returns(
|
|
65
|
+
Orb::CustomerAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
66
|
+
)
|
|
67
|
+
end
|
|
68
|
+
attr_accessor :payload_style
|
|
69
|
+
|
|
61
70
|
sig do
|
|
62
71
|
returns(Orb::CustomerAccountingSyncSucceededWebhookEvent::Properties)
|
|
63
72
|
end
|
|
@@ -87,6 +96,8 @@ module Orb
|
|
|
87
96
|
Orb::CustomerAccountingSyncSucceededWebhookEvent::AccountingSyncRecord::OrHash,
|
|
88
97
|
created_at: Time,
|
|
89
98
|
customer: Orb::Customer::OrHash,
|
|
99
|
+
payload_style:
|
|
100
|
+
Orb::CustomerAccountingSyncSucceededWebhookEvent::PayloadStyle::OrSymbol,
|
|
90
101
|
properties:
|
|
91
102
|
Orb::CustomerAccountingSyncSucceededWebhookEvent::Properties::OrHash,
|
|
92
103
|
type: Orb::CustomerAccountingSyncSucceededWebhookEvent::Type::OrSymbol
|
|
@@ -117,6 +128,9 @@ module Orb
|
|
|
117
128
|
# your account's timezone. See [Timezone localization](/essentials/timezones) for
|
|
118
129
|
# information on what this timezone parameter influences within Orb.
|
|
119
130
|
customer:,
|
|
131
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
132
|
+
# endpoint.
|
|
133
|
+
payload_style:,
|
|
120
134
|
properties:,
|
|
121
135
|
# The event this payload describes.
|
|
122
136
|
type:
|
|
@@ -131,6 +145,8 @@ module Orb
|
|
|
131
145
|
Orb::CustomerAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
|
|
132
146
|
created_at: Time,
|
|
133
147
|
customer: Orb::Customer,
|
|
148
|
+
payload_style:
|
|
149
|
+
Orb::CustomerAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
134
150
|
properties:
|
|
135
151
|
Orb::CustomerAccountingSyncSucceededWebhookEvent::Properties,
|
|
136
152
|
type:
|
|
@@ -280,6 +296,42 @@ module Orb
|
|
|
280
296
|
end
|
|
281
297
|
end
|
|
282
298
|
|
|
299
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
300
|
+
# endpoint.
|
|
301
|
+
module PayloadStyle
|
|
302
|
+
extend Orb::Internal::Type::Enum
|
|
303
|
+
|
|
304
|
+
TaggedSymbol =
|
|
305
|
+
T.type_alias do
|
|
306
|
+
T.all(
|
|
307
|
+
Symbol,
|
|
308
|
+
Orb::CustomerAccountingSyncSucceededWebhookEvent::PayloadStyle
|
|
309
|
+
)
|
|
310
|
+
end
|
|
311
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
312
|
+
|
|
313
|
+
EXPANDED =
|
|
314
|
+
T.let(
|
|
315
|
+
:expanded,
|
|
316
|
+
Orb::CustomerAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
317
|
+
)
|
|
318
|
+
STANDARD =
|
|
319
|
+
T.let(
|
|
320
|
+
:standard,
|
|
321
|
+
Orb::CustomerAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
322
|
+
)
|
|
323
|
+
|
|
324
|
+
sig do
|
|
325
|
+
override.returns(
|
|
326
|
+
T::Array[
|
|
327
|
+
Orb::CustomerAccountingSyncSucceededWebhookEvent::PayloadStyle::TaggedSymbol
|
|
328
|
+
]
|
|
329
|
+
)
|
|
330
|
+
end
|
|
331
|
+
def self.values
|
|
332
|
+
end
|
|
333
|
+
end
|
|
334
|
+
|
|
283
335
|
class Properties < Orb::Internal::Type::BaseModel
|
|
284
336
|
OrHash =
|
|
285
337
|
T.type_alias do
|
|
@@ -43,6 +43,15 @@ module Orb
|
|
|
43
43
|
sig { params(customer: Orb::Customer::OrHash).void }
|
|
44
44
|
attr_writer :customer
|
|
45
45
|
|
|
46
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
47
|
+
# endpoint.
|
|
48
|
+
sig do
|
|
49
|
+
returns(
|
|
50
|
+
Orb::CustomerBalanceTransactionCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
51
|
+
)
|
|
52
|
+
end
|
|
53
|
+
attr_accessor :payload_style
|
|
54
|
+
|
|
46
55
|
sig do
|
|
47
56
|
returns(Orb::CustomerBalanceTransactionCreatedWebhookEvent::Properties)
|
|
48
57
|
end
|
|
@@ -70,6 +79,8 @@ module Orb
|
|
|
70
79
|
id: String,
|
|
71
80
|
created_at: Time,
|
|
72
81
|
customer: Orb::Customer::OrHash,
|
|
82
|
+
payload_style:
|
|
83
|
+
Orb::CustomerBalanceTransactionCreatedWebhookEvent::PayloadStyle::OrSymbol,
|
|
73
84
|
properties:
|
|
74
85
|
Orb::CustomerBalanceTransactionCreatedWebhookEvent::Properties::OrHash,
|
|
75
86
|
type:
|
|
@@ -100,6 +111,9 @@ module Orb
|
|
|
100
111
|
# your account's timezone. See [Timezone localization](/essentials/timezones) for
|
|
101
112
|
# information on what this timezone parameter influences within Orb.
|
|
102
113
|
customer:,
|
|
114
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
115
|
+
# endpoint.
|
|
116
|
+
payload_style:,
|
|
103
117
|
properties:,
|
|
104
118
|
# The event this payload describes.
|
|
105
119
|
type:
|
|
@@ -112,6 +126,8 @@ module Orb
|
|
|
112
126
|
id: String,
|
|
113
127
|
created_at: Time,
|
|
114
128
|
customer: Orb::Customer,
|
|
129
|
+
payload_style:
|
|
130
|
+
Orb::CustomerBalanceTransactionCreatedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
115
131
|
properties:
|
|
116
132
|
Orb::CustomerBalanceTransactionCreatedWebhookEvent::Properties,
|
|
117
133
|
type:
|
|
@@ -122,6 +138,42 @@ module Orb
|
|
|
122
138
|
def to_hash
|
|
123
139
|
end
|
|
124
140
|
|
|
141
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
142
|
+
# endpoint.
|
|
143
|
+
module PayloadStyle
|
|
144
|
+
extend Orb::Internal::Type::Enum
|
|
145
|
+
|
|
146
|
+
TaggedSymbol =
|
|
147
|
+
T.type_alias do
|
|
148
|
+
T.all(
|
|
149
|
+
Symbol,
|
|
150
|
+
Orb::CustomerBalanceTransactionCreatedWebhookEvent::PayloadStyle
|
|
151
|
+
)
|
|
152
|
+
end
|
|
153
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
154
|
+
|
|
155
|
+
EXPANDED =
|
|
156
|
+
T.let(
|
|
157
|
+
:expanded,
|
|
158
|
+
Orb::CustomerBalanceTransactionCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
159
|
+
)
|
|
160
|
+
STANDARD =
|
|
161
|
+
T.let(
|
|
162
|
+
:standard,
|
|
163
|
+
Orb::CustomerBalanceTransactionCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
164
|
+
)
|
|
165
|
+
|
|
166
|
+
sig do
|
|
167
|
+
override.returns(
|
|
168
|
+
T::Array[
|
|
169
|
+
Orb::CustomerBalanceTransactionCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
170
|
+
]
|
|
171
|
+
)
|
|
172
|
+
end
|
|
173
|
+
def self.values
|
|
174
|
+
end
|
|
175
|
+
end
|
|
176
|
+
|
|
125
177
|
class Properties < Orb::Internal::Type::BaseModel
|
|
126
178
|
OrHash =
|
|
127
179
|
T.type_alias do
|
|
@@ -40,6 +40,13 @@ module Orb
|
|
|
40
40
|
sig { params(customer: Orb::Customer::OrHash).void }
|
|
41
41
|
attr_writer :customer
|
|
42
42
|
|
|
43
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
44
|
+
# endpoint.
|
|
45
|
+
sig do
|
|
46
|
+
returns(Orb::CustomerCreatedWebhookEvent::PayloadStyle::TaggedSymbol)
|
|
47
|
+
end
|
|
48
|
+
attr_accessor :payload_style
|
|
49
|
+
|
|
43
50
|
sig { returns(T.anything) }
|
|
44
51
|
attr_accessor :properties
|
|
45
52
|
|
|
@@ -53,6 +60,8 @@ module Orb
|
|
|
53
60
|
id: String,
|
|
54
61
|
created_at: Time,
|
|
55
62
|
customer: Orb::Customer::OrHash,
|
|
63
|
+
payload_style:
|
|
64
|
+
Orb::CustomerCreatedWebhookEvent::PayloadStyle::OrSymbol,
|
|
56
65
|
properties: T.anything,
|
|
57
66
|
type: Orb::CustomerCreatedWebhookEvent::Type::OrSymbol
|
|
58
67
|
).returns(T.attached_class)
|
|
@@ -81,6 +90,9 @@ module Orb
|
|
|
81
90
|
# your account's timezone. See [Timezone localization](/essentials/timezones) for
|
|
82
91
|
# information on what this timezone parameter influences within Orb.
|
|
83
92
|
customer:,
|
|
93
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
94
|
+
# endpoint.
|
|
95
|
+
payload_style:,
|
|
84
96
|
properties:,
|
|
85
97
|
# The event this payload describes.
|
|
86
98
|
type:
|
|
@@ -93,6 +105,8 @@ module Orb
|
|
|
93
105
|
id: String,
|
|
94
106
|
created_at: Time,
|
|
95
107
|
customer: Orb::Customer,
|
|
108
|
+
payload_style:
|
|
109
|
+
Orb::CustomerCreatedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
96
110
|
properties: T.anything,
|
|
97
111
|
type: Orb::CustomerCreatedWebhookEvent::Type::TaggedSymbol
|
|
98
112
|
}
|
|
@@ -101,6 +115,39 @@ module Orb
|
|
|
101
115
|
def to_hash
|
|
102
116
|
end
|
|
103
117
|
|
|
118
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
119
|
+
# endpoint.
|
|
120
|
+
module PayloadStyle
|
|
121
|
+
extend Orb::Internal::Type::Enum
|
|
122
|
+
|
|
123
|
+
TaggedSymbol =
|
|
124
|
+
T.type_alias do
|
|
125
|
+
T.all(Symbol, Orb::CustomerCreatedWebhookEvent::PayloadStyle)
|
|
126
|
+
end
|
|
127
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
128
|
+
|
|
129
|
+
EXPANDED =
|
|
130
|
+
T.let(
|
|
131
|
+
:expanded,
|
|
132
|
+
Orb::CustomerCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
133
|
+
)
|
|
134
|
+
STANDARD =
|
|
135
|
+
T.let(
|
|
136
|
+
:standard,
|
|
137
|
+
Orb::CustomerCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
138
|
+
)
|
|
139
|
+
|
|
140
|
+
sig do
|
|
141
|
+
override.returns(
|
|
142
|
+
T::Array[
|
|
143
|
+
Orb::CustomerCreatedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
144
|
+
]
|
|
145
|
+
)
|
|
146
|
+
end
|
|
147
|
+
def self.values
|
|
148
|
+
end
|
|
149
|
+
end
|
|
150
|
+
|
|
104
151
|
# The event this payload describes.
|
|
105
152
|
module Type
|
|
106
153
|
extend Orb::Internal::Type::Enum
|