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
|
@@ -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::InvoiceDunningScheduleEndedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
38
|
+
)
|
|
39
|
+
end
|
|
40
|
+
attr_accessor :payload_style
|
|
41
|
+
|
|
33
42
|
sig { returns(Orb::InvoiceDunningScheduleEndedWebhookEvent::Properties) }
|
|
34
43
|
attr_reader :properties
|
|
35
44
|
|
|
@@ -55,6 +64,8 @@ module Orb
|
|
|
55
64
|
id: String,
|
|
56
65
|
created_at: Time,
|
|
57
66
|
invoice: Orb::Invoice::OrHash,
|
|
67
|
+
payload_style:
|
|
68
|
+
Orb::InvoiceDunningScheduleEndedWebhookEvent::PayloadStyle::OrSymbol,
|
|
58
69
|
properties:
|
|
59
70
|
Orb::InvoiceDunningScheduleEndedWebhookEvent::Properties::OrHash,
|
|
60
71
|
type: Orb::InvoiceDunningScheduleEndedWebhookEvent::Type::OrSymbol
|
|
@@ -71,6 +82,9 @@ module Orb
|
|
|
71
82
|
# represent fixed recurring fees or usage-based fees. They are generated at the
|
|
72
83
|
# end of a billing period, or as the result of an action, such as a cancellation.
|
|
73
84
|
invoice:,
|
|
85
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
86
|
+
# endpoint.
|
|
87
|
+
payload_style:,
|
|
74
88
|
properties:,
|
|
75
89
|
# The event this payload describes.
|
|
76
90
|
type:
|
|
@@ -83,6 +97,8 @@ module Orb
|
|
|
83
97
|
id: String,
|
|
84
98
|
created_at: Time,
|
|
85
99
|
invoice: Orb::Invoice,
|
|
100
|
+
payload_style:
|
|
101
|
+
Orb::InvoiceDunningScheduleEndedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
86
102
|
properties:
|
|
87
103
|
Orb::InvoiceDunningScheduleEndedWebhookEvent::Properties,
|
|
88
104
|
type:
|
|
@@ -93,6 +109,42 @@ module Orb
|
|
|
93
109
|
def to_hash
|
|
94
110
|
end
|
|
95
111
|
|
|
112
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
113
|
+
# endpoint.
|
|
114
|
+
module PayloadStyle
|
|
115
|
+
extend Orb::Internal::Type::Enum
|
|
116
|
+
|
|
117
|
+
TaggedSymbol =
|
|
118
|
+
T.type_alias do
|
|
119
|
+
T.all(
|
|
120
|
+
Symbol,
|
|
121
|
+
Orb::InvoiceDunningScheduleEndedWebhookEvent::PayloadStyle
|
|
122
|
+
)
|
|
123
|
+
end
|
|
124
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
125
|
+
|
|
126
|
+
EXPANDED =
|
|
127
|
+
T.let(
|
|
128
|
+
:expanded,
|
|
129
|
+
Orb::InvoiceDunningScheduleEndedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
130
|
+
)
|
|
131
|
+
STANDARD =
|
|
132
|
+
T.let(
|
|
133
|
+
:standard,
|
|
134
|
+
Orb::InvoiceDunningScheduleEndedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
135
|
+
)
|
|
136
|
+
|
|
137
|
+
sig do
|
|
138
|
+
override.returns(
|
|
139
|
+
T::Array[
|
|
140
|
+
Orb::InvoiceDunningScheduleEndedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
141
|
+
]
|
|
142
|
+
)
|
|
143
|
+
end
|
|
144
|
+
def self.values
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
96
148
|
class Properties < Orb::Internal::Type::BaseModel
|
|
97
149
|
OrHash =
|
|
98
150
|
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::InvoiceDunningScheduleResetWebhookEvent::PayloadStyle::TaggedSymbol
|
|
38
|
+
)
|
|
39
|
+
end
|
|
40
|
+
attr_accessor :payload_style
|
|
41
|
+
|
|
33
42
|
sig { returns(Orb::InvoiceDunningScheduleResetWebhookEvent::Properties) }
|
|
34
43
|
attr_reader :properties
|
|
35
44
|
|
|
@@ -55,6 +64,8 @@ module Orb
|
|
|
55
64
|
id: String,
|
|
56
65
|
created_at: Time,
|
|
57
66
|
invoice: Orb::Invoice::OrHash,
|
|
67
|
+
payload_style:
|
|
68
|
+
Orb::InvoiceDunningScheduleResetWebhookEvent::PayloadStyle::OrSymbol,
|
|
58
69
|
properties:
|
|
59
70
|
Orb::InvoiceDunningScheduleResetWebhookEvent::Properties::OrHash,
|
|
60
71
|
type: Orb::InvoiceDunningScheduleResetWebhookEvent::Type::OrSymbol
|
|
@@ -71,6 +82,9 @@ module Orb
|
|
|
71
82
|
# represent fixed recurring fees or usage-based fees. They are generated at the
|
|
72
83
|
# end of a billing period, or as the result of an action, such as a cancellation.
|
|
73
84
|
invoice:,
|
|
85
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
86
|
+
# endpoint.
|
|
87
|
+
payload_style:,
|
|
74
88
|
properties:,
|
|
75
89
|
# The event this payload describes.
|
|
76
90
|
type:
|
|
@@ -83,6 +97,8 @@ module Orb
|
|
|
83
97
|
id: String,
|
|
84
98
|
created_at: Time,
|
|
85
99
|
invoice: Orb::Invoice,
|
|
100
|
+
payload_style:
|
|
101
|
+
Orb::InvoiceDunningScheduleResetWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
86
102
|
properties:
|
|
87
103
|
Orb::InvoiceDunningScheduleResetWebhookEvent::Properties,
|
|
88
104
|
type:
|
|
@@ -93,6 +109,42 @@ module Orb
|
|
|
93
109
|
def to_hash
|
|
94
110
|
end
|
|
95
111
|
|
|
112
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
113
|
+
# endpoint.
|
|
114
|
+
module PayloadStyle
|
|
115
|
+
extend Orb::Internal::Type::Enum
|
|
116
|
+
|
|
117
|
+
TaggedSymbol =
|
|
118
|
+
T.type_alias do
|
|
119
|
+
T.all(
|
|
120
|
+
Symbol,
|
|
121
|
+
Orb::InvoiceDunningScheduleResetWebhookEvent::PayloadStyle
|
|
122
|
+
)
|
|
123
|
+
end
|
|
124
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
125
|
+
|
|
126
|
+
EXPANDED =
|
|
127
|
+
T.let(
|
|
128
|
+
:expanded,
|
|
129
|
+
Orb::InvoiceDunningScheduleResetWebhookEvent::PayloadStyle::TaggedSymbol
|
|
130
|
+
)
|
|
131
|
+
STANDARD =
|
|
132
|
+
T.let(
|
|
133
|
+
:standard,
|
|
134
|
+
Orb::InvoiceDunningScheduleResetWebhookEvent::PayloadStyle::TaggedSymbol
|
|
135
|
+
)
|
|
136
|
+
|
|
137
|
+
sig do
|
|
138
|
+
override.returns(
|
|
139
|
+
T::Array[
|
|
140
|
+
Orb::InvoiceDunningScheduleResetWebhookEvent::PayloadStyle::TaggedSymbol
|
|
141
|
+
]
|
|
142
|
+
)
|
|
143
|
+
end
|
|
144
|
+
def self.values
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
96
148
|
class Properties < Orb::Internal::Type::BaseModel
|
|
97
149
|
OrHash =
|
|
98
150
|
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::InvoiceDunningScheduleStepExecutedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
38
|
+
)
|
|
39
|
+
end
|
|
40
|
+
attr_accessor :payload_style
|
|
41
|
+
|
|
33
42
|
sig do
|
|
34
43
|
returns(Orb::InvoiceDunningScheduleStepExecutedWebhookEvent::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::InvoiceDunningScheduleStepExecutedWebhookEvent::PayloadStyle::OrSymbol,
|
|
60
71
|
properties:
|
|
61
72
|
Orb::InvoiceDunningScheduleStepExecutedWebhookEvent::Properties::OrHash,
|
|
62
73
|
type:
|
|
@@ -74,6 +85,9 @@ module Orb
|
|
|
74
85
|
# represent fixed recurring fees or usage-based fees. They are generated at the
|
|
75
86
|
# end of a billing period, or as the result of an action, such as a cancellation.
|
|
76
87
|
invoice:,
|
|
88
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
89
|
+
# endpoint.
|
|
90
|
+
payload_style:,
|
|
77
91
|
properties:,
|
|
78
92
|
# The event this payload describes.
|
|
79
93
|
type:
|
|
@@ -86,6 +100,8 @@ module Orb
|
|
|
86
100
|
id: String,
|
|
87
101
|
created_at: Time,
|
|
88
102
|
invoice: Orb::Invoice,
|
|
103
|
+
payload_style:
|
|
104
|
+
Orb::InvoiceDunningScheduleStepExecutedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
89
105
|
properties:
|
|
90
106
|
Orb::InvoiceDunningScheduleStepExecutedWebhookEvent::Properties,
|
|
91
107
|
type:
|
|
@@ -96,6 +112,42 @@ module Orb
|
|
|
96
112
|
def to_hash
|
|
97
113
|
end
|
|
98
114
|
|
|
115
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
116
|
+
# endpoint.
|
|
117
|
+
module PayloadStyle
|
|
118
|
+
extend Orb::Internal::Type::Enum
|
|
119
|
+
|
|
120
|
+
TaggedSymbol =
|
|
121
|
+
T.type_alias do
|
|
122
|
+
T.all(
|
|
123
|
+
Symbol,
|
|
124
|
+
Orb::InvoiceDunningScheduleStepExecutedWebhookEvent::PayloadStyle
|
|
125
|
+
)
|
|
126
|
+
end
|
|
127
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
128
|
+
|
|
129
|
+
EXPANDED =
|
|
130
|
+
T.let(
|
|
131
|
+
:expanded,
|
|
132
|
+
Orb::InvoiceDunningScheduleStepExecutedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
133
|
+
)
|
|
134
|
+
STANDARD =
|
|
135
|
+
T.let(
|
|
136
|
+
:standard,
|
|
137
|
+
Orb::InvoiceDunningScheduleStepExecutedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
138
|
+
)
|
|
139
|
+
|
|
140
|
+
sig do
|
|
141
|
+
override.returns(
|
|
142
|
+
T::Array[
|
|
143
|
+
Orb::InvoiceDunningScheduleStepExecutedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
144
|
+
]
|
|
145
|
+
)
|
|
146
|
+
end
|
|
147
|
+
def self.values
|
|
148
|
+
end
|
|
149
|
+
end
|
|
150
|
+
|
|
99
151
|
class Properties < Orb::Internal::Type::BaseModel
|
|
100
152
|
OrHash =
|
|
101
153
|
T.type_alias do
|
|
@@ -27,6 +27,13 @@ module Orb
|
|
|
27
27
|
sig { params(invoice: Orb::Invoice::OrHash).void }
|
|
28
28
|
attr_writer :invoice
|
|
29
29
|
|
|
30
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
31
|
+
# endpoint.
|
|
32
|
+
sig do
|
|
33
|
+
returns(Orb::InvoiceEditedWebhookEvent::PayloadStyle::TaggedSymbol)
|
|
34
|
+
end
|
|
35
|
+
attr_accessor :payload_style
|
|
36
|
+
|
|
30
37
|
sig { returns(Orb::InvoiceEditedWebhookEvent::Properties) }
|
|
31
38
|
attr_reader :properties
|
|
32
39
|
|
|
@@ -47,6 +54,7 @@ module Orb
|
|
|
47
54
|
id: String,
|
|
48
55
|
created_at: Time,
|
|
49
56
|
invoice: Orb::Invoice::OrHash,
|
|
57
|
+
payload_style: Orb::InvoiceEditedWebhookEvent::PayloadStyle::OrSymbol,
|
|
50
58
|
properties: Orb::InvoiceEditedWebhookEvent::Properties::OrHash,
|
|
51
59
|
type: Orb::InvoiceEditedWebhookEvent::Type::OrSymbol
|
|
52
60
|
).returns(T.attached_class)
|
|
@@ -62,6 +70,9 @@ module Orb
|
|
|
62
70
|
# represent fixed recurring fees or usage-based fees. They are generated at the
|
|
63
71
|
# end of a billing period, or as the result of an action, such as a cancellation.
|
|
64
72
|
invoice:,
|
|
73
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
74
|
+
# endpoint.
|
|
75
|
+
payload_style:,
|
|
65
76
|
properties:,
|
|
66
77
|
# The event this payload describes.
|
|
67
78
|
type:
|
|
@@ -74,6 +85,8 @@ module Orb
|
|
|
74
85
|
id: String,
|
|
75
86
|
created_at: Time,
|
|
76
87
|
invoice: Orb::Invoice,
|
|
88
|
+
payload_style:
|
|
89
|
+
Orb::InvoiceEditedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
77
90
|
properties: Orb::InvoiceEditedWebhookEvent::Properties,
|
|
78
91
|
type: Orb::InvoiceEditedWebhookEvent::Type::TaggedSymbol
|
|
79
92
|
}
|
|
@@ -82,6 +95,37 @@ module Orb
|
|
|
82
95
|
def to_hash
|
|
83
96
|
end
|
|
84
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(Symbol, Orb::InvoiceEditedWebhookEvent::PayloadStyle)
|
|
106
|
+
end
|
|
107
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
108
|
+
|
|
109
|
+
EXPANDED =
|
|
110
|
+
T.let(
|
|
111
|
+
:expanded,
|
|
112
|
+
Orb::InvoiceEditedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
113
|
+
)
|
|
114
|
+
STANDARD =
|
|
115
|
+
T.let(
|
|
116
|
+
:standard,
|
|
117
|
+
Orb::InvoiceEditedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
118
|
+
)
|
|
119
|
+
|
|
120
|
+
sig do
|
|
121
|
+
override.returns(
|
|
122
|
+
T::Array[Orb::InvoiceEditedWebhookEvent::PayloadStyle::TaggedSymbol]
|
|
123
|
+
)
|
|
124
|
+
end
|
|
125
|
+
def self.values
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
|
|
85
129
|
class Properties < Orb::Internal::Type::BaseModel
|
|
86
130
|
OrHash =
|
|
87
131
|
T.type_alias do
|
|
@@ -29,6 +29,15 @@ module Orb
|
|
|
29
29
|
end
|
|
30
30
|
attr_writer :invoice
|
|
31
31
|
|
|
32
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
33
|
+
# endpoint.
|
|
34
|
+
sig do
|
|
35
|
+
returns(
|
|
36
|
+
Orb::InvoiceInvoiceDateElapsedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
37
|
+
)
|
|
38
|
+
end
|
|
39
|
+
attr_accessor :payload_style
|
|
40
|
+
|
|
32
41
|
sig { returns(Orb::InvoiceInvoiceDateElapsedWebhookEvent::Properties) }
|
|
33
42
|
attr_reader :properties
|
|
34
43
|
|
|
@@ -52,6 +61,8 @@ module Orb
|
|
|
52
61
|
id: String,
|
|
53
62
|
created_at: Time,
|
|
54
63
|
invoice: Orb::InvoiceInvoiceDateElapsedWebhookEvent::Invoice::OrHash,
|
|
64
|
+
payload_style:
|
|
65
|
+
Orb::InvoiceInvoiceDateElapsedWebhookEvent::PayloadStyle::OrSymbol,
|
|
55
66
|
properties:
|
|
56
67
|
Orb::InvoiceInvoiceDateElapsedWebhookEvent::Properties::OrHash,
|
|
57
68
|
type: Orb::InvoiceInvoiceDateElapsedWebhookEvent::Type::OrSymbol
|
|
@@ -63,6 +74,9 @@ module Orb
|
|
|
63
74
|
# The time at which this event was created, to the second.
|
|
64
75
|
created_at:,
|
|
65
76
|
invoice:,
|
|
77
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
78
|
+
# endpoint.
|
|
79
|
+
payload_style:,
|
|
66
80
|
properties:,
|
|
67
81
|
# The event this payload describes.
|
|
68
82
|
type:
|
|
@@ -75,6 +89,8 @@ module Orb
|
|
|
75
89
|
id: String,
|
|
76
90
|
created_at: Time,
|
|
77
91
|
invoice: Orb::InvoiceInvoiceDateElapsedWebhookEvent::Invoice,
|
|
92
|
+
payload_style:
|
|
93
|
+
Orb::InvoiceInvoiceDateElapsedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
78
94
|
properties: Orb::InvoiceInvoiceDateElapsedWebhookEvent::Properties,
|
|
79
95
|
type: Orb::InvoiceInvoiceDateElapsedWebhookEvent::Type::TaggedSymbol
|
|
80
96
|
}
|
|
@@ -199,6 +215,42 @@ module Orb
|
|
|
199
215
|
end
|
|
200
216
|
end
|
|
201
217
|
|
|
218
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
219
|
+
# endpoint.
|
|
220
|
+
module PayloadStyle
|
|
221
|
+
extend Orb::Internal::Type::Enum
|
|
222
|
+
|
|
223
|
+
TaggedSymbol =
|
|
224
|
+
T.type_alias do
|
|
225
|
+
T.all(
|
|
226
|
+
Symbol,
|
|
227
|
+
Orb::InvoiceInvoiceDateElapsedWebhookEvent::PayloadStyle
|
|
228
|
+
)
|
|
229
|
+
end
|
|
230
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
231
|
+
|
|
232
|
+
EXPANDED =
|
|
233
|
+
T.let(
|
|
234
|
+
:expanded,
|
|
235
|
+
Orb::InvoiceInvoiceDateElapsedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
236
|
+
)
|
|
237
|
+
STANDARD =
|
|
238
|
+
T.let(
|
|
239
|
+
:standard,
|
|
240
|
+
Orb::InvoiceInvoiceDateElapsedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
241
|
+
)
|
|
242
|
+
|
|
243
|
+
sig do
|
|
244
|
+
override.returns(
|
|
245
|
+
T::Array[
|
|
246
|
+
Orb::InvoiceInvoiceDateElapsedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
247
|
+
]
|
|
248
|
+
)
|
|
249
|
+
end
|
|
250
|
+
def self.values
|
|
251
|
+
end
|
|
252
|
+
end
|
|
253
|
+
|
|
202
254
|
class Properties < Orb::Internal::Type::BaseModel
|
|
203
255
|
OrHash =
|
|
204
256
|
T.type_alias do
|
|
@@ -27,6 +27,13 @@ module Orb
|
|
|
27
27
|
sig { params(invoice: Orb::Invoice::OrHash).void }
|
|
28
28
|
attr_writer :invoice
|
|
29
29
|
|
|
30
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
31
|
+
# endpoint.
|
|
32
|
+
sig do
|
|
33
|
+
returns(Orb::InvoiceIssueFailedWebhookEvent::PayloadStyle::TaggedSymbol)
|
|
34
|
+
end
|
|
35
|
+
attr_accessor :payload_style
|
|
36
|
+
|
|
30
37
|
sig { returns(Orb::InvoiceIssueFailedWebhookEvent::Properties) }
|
|
31
38
|
attr_reader :properties
|
|
32
39
|
|
|
@@ -47,6 +54,8 @@ module Orb
|
|
|
47
54
|
id: String,
|
|
48
55
|
created_at: Time,
|
|
49
56
|
invoice: Orb::Invoice::OrHash,
|
|
57
|
+
payload_style:
|
|
58
|
+
Orb::InvoiceIssueFailedWebhookEvent::PayloadStyle::OrSymbol,
|
|
50
59
|
properties: Orb::InvoiceIssueFailedWebhookEvent::Properties::OrHash,
|
|
51
60
|
type: Orb::InvoiceIssueFailedWebhookEvent::Type::OrSymbol
|
|
52
61
|
).returns(T.attached_class)
|
|
@@ -62,6 +71,9 @@ module Orb
|
|
|
62
71
|
# represent fixed recurring fees or usage-based fees. They are generated at the
|
|
63
72
|
# end of a billing period, or as the result of an action, such as a cancellation.
|
|
64
73
|
invoice:,
|
|
74
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
75
|
+
# endpoint.
|
|
76
|
+
payload_style:,
|
|
65
77
|
properties:,
|
|
66
78
|
# The event this payload describes.
|
|
67
79
|
type:
|
|
@@ -74,6 +86,8 @@ module Orb
|
|
|
74
86
|
id: String,
|
|
75
87
|
created_at: Time,
|
|
76
88
|
invoice: Orb::Invoice,
|
|
89
|
+
payload_style:
|
|
90
|
+
Orb::InvoiceIssueFailedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
77
91
|
properties: Orb::InvoiceIssueFailedWebhookEvent::Properties,
|
|
78
92
|
type: Orb::InvoiceIssueFailedWebhookEvent::Type::TaggedSymbol
|
|
79
93
|
}
|
|
@@ -82,6 +96,39 @@ module Orb
|
|
|
82
96
|
def to_hash
|
|
83
97
|
end
|
|
84
98
|
|
|
99
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
100
|
+
# endpoint.
|
|
101
|
+
module PayloadStyle
|
|
102
|
+
extend Orb::Internal::Type::Enum
|
|
103
|
+
|
|
104
|
+
TaggedSymbol =
|
|
105
|
+
T.type_alias do
|
|
106
|
+
T.all(Symbol, Orb::InvoiceIssueFailedWebhookEvent::PayloadStyle)
|
|
107
|
+
end
|
|
108
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
109
|
+
|
|
110
|
+
EXPANDED =
|
|
111
|
+
T.let(
|
|
112
|
+
:expanded,
|
|
113
|
+
Orb::InvoiceIssueFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
114
|
+
)
|
|
115
|
+
STANDARD =
|
|
116
|
+
T.let(
|
|
117
|
+
:standard,
|
|
118
|
+
Orb::InvoiceIssueFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
119
|
+
)
|
|
120
|
+
|
|
121
|
+
sig do
|
|
122
|
+
override.returns(
|
|
123
|
+
T::Array[
|
|
124
|
+
Orb::InvoiceIssueFailedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
125
|
+
]
|
|
126
|
+
)
|
|
127
|
+
end
|
|
128
|
+
def self.values
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
85
132
|
class Properties < Orb::Internal::Type::BaseModel
|
|
86
133
|
OrHash =
|
|
87
134
|
T.type_alias do
|
|
@@ -27,6 +27,15 @@ module Orb
|
|
|
27
27
|
end
|
|
28
28
|
attr_writer :invoice
|
|
29
29
|
|
|
30
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
31
|
+
# endpoint.
|
|
32
|
+
sig do
|
|
33
|
+
returns(
|
|
34
|
+
Orb::InvoiceIssuedSummaryWebhookEvent::PayloadStyle::TaggedSymbol
|
|
35
|
+
)
|
|
36
|
+
end
|
|
37
|
+
attr_accessor :payload_style
|
|
38
|
+
|
|
30
39
|
sig { returns(Orb::InvoiceIssuedSummaryWebhookEvent::Properties) }
|
|
31
40
|
attr_reader :properties
|
|
32
41
|
|
|
@@ -48,6 +57,8 @@ module Orb
|
|
|
48
57
|
id: String,
|
|
49
58
|
created_at: Time,
|
|
50
59
|
invoice: Orb::InvoiceIssuedSummaryWebhookEvent::Invoice::OrHash,
|
|
60
|
+
payload_style:
|
|
61
|
+
Orb::InvoiceIssuedSummaryWebhookEvent::PayloadStyle::OrSymbol,
|
|
51
62
|
properties: Orb::InvoiceIssuedSummaryWebhookEvent::Properties::OrHash,
|
|
52
63
|
type: Orb::InvoiceIssuedSummaryWebhookEvent::Type::OrSymbol
|
|
53
64
|
).returns(T.attached_class)
|
|
@@ -59,6 +70,9 @@ module Orb
|
|
|
59
70
|
created_at:,
|
|
60
71
|
# #InvoiceApiResourceWithoutLineItems
|
|
61
72
|
invoice:,
|
|
73
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
74
|
+
# endpoint.
|
|
75
|
+
payload_style:,
|
|
62
76
|
properties:,
|
|
63
77
|
# The event this payload describes.
|
|
64
78
|
type:
|
|
@@ -71,6 +85,8 @@ module Orb
|
|
|
71
85
|
id: String,
|
|
72
86
|
created_at: Time,
|
|
73
87
|
invoice: Orb::InvoiceIssuedSummaryWebhookEvent::Invoice,
|
|
88
|
+
payload_style:
|
|
89
|
+
Orb::InvoiceIssuedSummaryWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
74
90
|
properties: Orb::InvoiceIssuedSummaryWebhookEvent::Properties,
|
|
75
91
|
type: Orb::InvoiceIssuedSummaryWebhookEvent::Type::TaggedSymbol
|
|
76
92
|
}
|
|
@@ -1396,6 +1412,39 @@ module Orb
|
|
|
1396
1412
|
end
|
|
1397
1413
|
end
|
|
1398
1414
|
|
|
1415
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
1416
|
+
# endpoint.
|
|
1417
|
+
module PayloadStyle
|
|
1418
|
+
extend Orb::Internal::Type::Enum
|
|
1419
|
+
|
|
1420
|
+
TaggedSymbol =
|
|
1421
|
+
T.type_alias do
|
|
1422
|
+
T.all(Symbol, Orb::InvoiceIssuedSummaryWebhookEvent::PayloadStyle)
|
|
1423
|
+
end
|
|
1424
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1425
|
+
|
|
1426
|
+
EXPANDED =
|
|
1427
|
+
T.let(
|
|
1428
|
+
:expanded,
|
|
1429
|
+
Orb::InvoiceIssuedSummaryWebhookEvent::PayloadStyle::TaggedSymbol
|
|
1430
|
+
)
|
|
1431
|
+
STANDARD =
|
|
1432
|
+
T.let(
|
|
1433
|
+
:standard,
|
|
1434
|
+
Orb::InvoiceIssuedSummaryWebhookEvent::PayloadStyle::TaggedSymbol
|
|
1435
|
+
)
|
|
1436
|
+
|
|
1437
|
+
sig do
|
|
1438
|
+
override.returns(
|
|
1439
|
+
T::Array[
|
|
1440
|
+
Orb::InvoiceIssuedSummaryWebhookEvent::PayloadStyle::TaggedSymbol
|
|
1441
|
+
]
|
|
1442
|
+
)
|
|
1443
|
+
end
|
|
1444
|
+
def self.values
|
|
1445
|
+
end
|
|
1446
|
+
end
|
|
1447
|
+
|
|
1399
1448
|
class Properties < Orb::Internal::Type::BaseModel
|
|
1400
1449
|
OrHash =
|
|
1401
1450
|
T.type_alias do
|
|
@@ -27,6 +27,13 @@ module Orb
|
|
|
27
27
|
sig { params(invoice: Orb::Invoice::OrHash).void }
|
|
28
28
|
attr_writer :invoice
|
|
29
29
|
|
|
30
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
31
|
+
# endpoint.
|
|
32
|
+
sig do
|
|
33
|
+
returns(Orb::InvoiceIssuedWebhookEvent::PayloadStyle::TaggedSymbol)
|
|
34
|
+
end
|
|
35
|
+
attr_accessor :payload_style
|
|
36
|
+
|
|
30
37
|
sig { returns(Orb::InvoiceIssuedWebhookEvent::Properties) }
|
|
31
38
|
attr_reader :properties
|
|
32
39
|
|
|
@@ -47,6 +54,7 @@ module Orb
|
|
|
47
54
|
id: String,
|
|
48
55
|
created_at: Time,
|
|
49
56
|
invoice: Orb::Invoice::OrHash,
|
|
57
|
+
payload_style: Orb::InvoiceIssuedWebhookEvent::PayloadStyle::OrSymbol,
|
|
50
58
|
properties: Orb::InvoiceIssuedWebhookEvent::Properties::OrHash,
|
|
51
59
|
type: Orb::InvoiceIssuedWebhookEvent::Type::OrSymbol
|
|
52
60
|
).returns(T.attached_class)
|
|
@@ -62,6 +70,9 @@ module Orb
|
|
|
62
70
|
# represent fixed recurring fees or usage-based fees. They are generated at the
|
|
63
71
|
# end of a billing period, or as the result of an action, such as a cancellation.
|
|
64
72
|
invoice:,
|
|
73
|
+
# The serialization style this payload was rendered in, as configured on the
|
|
74
|
+
# endpoint.
|
|
75
|
+
payload_style:,
|
|
65
76
|
properties:,
|
|
66
77
|
# The event this payload describes.
|
|
67
78
|
type:
|
|
@@ -74,6 +85,8 @@ module Orb
|
|
|
74
85
|
id: String,
|
|
75
86
|
created_at: Time,
|
|
76
87
|
invoice: Orb::Invoice,
|
|
88
|
+
payload_style:
|
|
89
|
+
Orb::InvoiceIssuedWebhookEvent::PayloadStyle::TaggedSymbol,
|
|
77
90
|
properties: Orb::InvoiceIssuedWebhookEvent::Properties,
|
|
78
91
|
type: Orb::InvoiceIssuedWebhookEvent::Type::TaggedSymbol
|
|
79
92
|
}
|
|
@@ -82,6 +95,37 @@ module Orb
|
|
|
82
95
|
def to_hash
|
|
83
96
|
end
|
|
84
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(Symbol, Orb::InvoiceIssuedWebhookEvent::PayloadStyle)
|
|
106
|
+
end
|
|
107
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
108
|
+
|
|
109
|
+
EXPANDED =
|
|
110
|
+
T.let(
|
|
111
|
+
:expanded,
|
|
112
|
+
Orb::InvoiceIssuedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
113
|
+
)
|
|
114
|
+
STANDARD =
|
|
115
|
+
T.let(
|
|
116
|
+
:standard,
|
|
117
|
+
Orb::InvoiceIssuedWebhookEvent::PayloadStyle::TaggedSymbol
|
|
118
|
+
)
|
|
119
|
+
|
|
120
|
+
sig do
|
|
121
|
+
override.returns(
|
|
122
|
+
T::Array[Orb::InvoiceIssuedWebhookEvent::PayloadStyle::TaggedSymbol]
|
|
123
|
+
)
|
|
124
|
+
end
|
|
125
|
+
def self.values
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
|
|
85
129
|
class Properties < Orb::Internal::Type::BaseModel
|
|
86
130
|
OrHash =
|
|
87
131
|
T.type_alias do
|