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
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
module Orb
|
|
2
|
+
module Models
|
|
3
|
+
module DimensionalPriceGroups
|
|
4
|
+
type price_create_params =
|
|
5
|
+
{
|
|
6
|
+
dimensional_price_group_id: String,
|
|
7
|
+
cadence: Orb::Models::DimensionalPriceGroups::PriceCreateParams::cadence,
|
|
8
|
+
currency: String,
|
|
9
|
+
item_id: String,
|
|
10
|
+
model_type: Orb::Models::DimensionalPriceGroups::PriceCreateParams::model_type,
|
|
11
|
+
prices: ::Array[Orb::DimensionalPriceGroups::PriceCreateParams::Price],
|
|
12
|
+
tiers: ::Array[Orb::DimensionalPriceGroups::PriceCreateParams::Tier]?
|
|
13
|
+
}
|
|
14
|
+
& Orb::Internal::Type::request_parameters
|
|
15
|
+
|
|
16
|
+
class PriceCreateParams < Orb::Internal::Type::BaseModel
|
|
17
|
+
extend Orb::Internal::Type::RequestParameters::Converter
|
|
18
|
+
include Orb::Internal::Type::RequestParameters
|
|
19
|
+
|
|
20
|
+
attr_accessor dimensional_price_group_id: String
|
|
21
|
+
|
|
22
|
+
attr_accessor cadence: Orb::Models::DimensionalPriceGroups::PriceCreateParams::cadence
|
|
23
|
+
|
|
24
|
+
attr_accessor currency: String
|
|
25
|
+
|
|
26
|
+
attr_accessor item_id: String
|
|
27
|
+
|
|
28
|
+
attr_accessor model_type: Orb::Models::DimensionalPriceGroups::PriceCreateParams::model_type
|
|
29
|
+
|
|
30
|
+
attr_accessor prices: ::Array[Orb::DimensionalPriceGroups::PriceCreateParams::Price]
|
|
31
|
+
|
|
32
|
+
attr_accessor tiers: ::Array[Orb::DimensionalPriceGroups::PriceCreateParams::Tier]?
|
|
33
|
+
|
|
34
|
+
def initialize: (
|
|
35
|
+
dimensional_price_group_id: String,
|
|
36
|
+
cadence: Orb::Models::DimensionalPriceGroups::PriceCreateParams::cadence,
|
|
37
|
+
currency: String,
|
|
38
|
+
item_id: String,
|
|
39
|
+
model_type: Orb::Models::DimensionalPriceGroups::PriceCreateParams::model_type,
|
|
40
|
+
prices: ::Array[Orb::DimensionalPriceGroups::PriceCreateParams::Price],
|
|
41
|
+
?tiers: ::Array[Orb::DimensionalPriceGroups::PriceCreateParams::Tier]?,
|
|
42
|
+
?request_options: Orb::request_opts
|
|
43
|
+
) -> void
|
|
44
|
+
|
|
45
|
+
def to_hash: -> {
|
|
46
|
+
dimensional_price_group_id: String,
|
|
47
|
+
cadence: Orb::Models::DimensionalPriceGroups::PriceCreateParams::cadence,
|
|
48
|
+
currency: String,
|
|
49
|
+
item_id: String,
|
|
50
|
+
model_type: Orb::Models::DimensionalPriceGroups::PriceCreateParams::model_type,
|
|
51
|
+
prices: ::Array[Orb::DimensionalPriceGroups::PriceCreateParams::Price],
|
|
52
|
+
tiers: ::Array[Orb::DimensionalPriceGroups::PriceCreateParams::Tier]?,
|
|
53
|
+
request_options: Orb::RequestOptions
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
type cadence =
|
|
57
|
+
:one_time | :monthly | :quarterly | :semi_annual | :annual
|
|
58
|
+
|
|
59
|
+
module Cadence
|
|
60
|
+
extend Orb::Internal::Type::Enum
|
|
61
|
+
|
|
62
|
+
ONE_TIME: :one_time
|
|
63
|
+
MONTHLY: :monthly
|
|
64
|
+
QUARTERLY: :quarterly
|
|
65
|
+
SEMI_ANNUAL: :semi_annual
|
|
66
|
+
ANNUAL: :annual
|
|
67
|
+
|
|
68
|
+
def self?.values: -> ::Array[Orb::Models::DimensionalPriceGroups::PriceCreateParams::cadence]
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
type model_type = :unit | :tiered
|
|
72
|
+
|
|
73
|
+
module ModelType
|
|
74
|
+
extend Orb::Internal::Type::Enum
|
|
75
|
+
|
|
76
|
+
UNIT: :unit
|
|
77
|
+
TIERED: :tiered
|
|
78
|
+
|
|
79
|
+
def self?.values: -> ::Array[Orb::Models::DimensionalPriceGroups::PriceCreateParams::model_type]
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
type price =
|
|
83
|
+
{
|
|
84
|
+
amounts: ::Array[Float],
|
|
85
|
+
dimension_values: ::Array[String],
|
|
86
|
+
name: String?
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
class Price < Orb::Internal::Type::BaseModel
|
|
90
|
+
attr_accessor amounts: ::Array[Float]
|
|
91
|
+
|
|
92
|
+
attr_accessor dimension_values: ::Array[String]
|
|
93
|
+
|
|
94
|
+
attr_accessor name: String?
|
|
95
|
+
|
|
96
|
+
def initialize: (
|
|
97
|
+
amounts: ::Array[Float],
|
|
98
|
+
dimension_values: ::Array[String],
|
|
99
|
+
?name: String?
|
|
100
|
+
) -> void
|
|
101
|
+
|
|
102
|
+
def to_hash: -> {
|
|
103
|
+
amounts: ::Array[Float],
|
|
104
|
+
dimension_values: ::Array[String],
|
|
105
|
+
name: String?
|
|
106
|
+
}
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
type tier = { first_unit: Float, last_unit: Float? }
|
|
110
|
+
|
|
111
|
+
class Tier < Orb::Internal::Type::BaseModel
|
|
112
|
+
attr_accessor first_unit: Float
|
|
113
|
+
|
|
114
|
+
attr_accessor last_unit: Float?
|
|
115
|
+
|
|
116
|
+
def initialize: (first_unit: Float, ?last_unit: Float?) -> void
|
|
117
|
+
|
|
118
|
+
def to_hash: -> { first_unit: Float, last_unit: Float? }
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Orb
|
|
2
|
+
module Models
|
|
3
|
+
module DimensionalPriceGroups
|
|
4
|
+
type price_create_response = { data: ::Array[Orb::Models::price] }
|
|
5
|
+
|
|
6
|
+
class PriceCreateResponse < Orb::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor data: ::Array[Orb::Models::price]
|
|
8
|
+
|
|
9
|
+
def initialize: (data: ::Array[Orb::Models::price]) -> void
|
|
10
|
+
|
|
11
|
+
def to_hash: -> { data: ::Array[Orb::Models::price] }
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
module Orb
|
|
2
|
+
module Models
|
|
3
|
+
module DimensionalPriceGroups
|
|
4
|
+
type price_list_params =
|
|
5
|
+
{
|
|
6
|
+
dimensional_price_group_id: String,
|
|
7
|
+
cursor: String?,
|
|
8
|
+
limit: Integer,
|
|
9
|
+
status: Orb::Models::DimensionalPriceGroups::PriceListParams::status
|
|
10
|
+
}
|
|
11
|
+
& Orb::Internal::Type::request_parameters
|
|
12
|
+
|
|
13
|
+
class PriceListParams < Orb::Internal::Type::BaseModel
|
|
14
|
+
extend Orb::Internal::Type::RequestParameters::Converter
|
|
15
|
+
include Orb::Internal::Type::RequestParameters
|
|
16
|
+
|
|
17
|
+
attr_accessor dimensional_price_group_id: String
|
|
18
|
+
|
|
19
|
+
attr_accessor cursor: String?
|
|
20
|
+
|
|
21
|
+
attr_reader limit: Integer?
|
|
22
|
+
|
|
23
|
+
def limit=: (Integer) -> Integer
|
|
24
|
+
|
|
25
|
+
attr_reader status: Orb::Models::DimensionalPriceGroups::PriceListParams::status?
|
|
26
|
+
|
|
27
|
+
def status=: (
|
|
28
|
+
Orb::Models::DimensionalPriceGroups::PriceListParams::status
|
|
29
|
+
) -> Orb::Models::DimensionalPriceGroups::PriceListParams::status
|
|
30
|
+
|
|
31
|
+
def initialize: (
|
|
32
|
+
dimensional_price_group_id: String,
|
|
33
|
+
?cursor: String?,
|
|
34
|
+
?limit: Integer,
|
|
35
|
+
?status: Orb::Models::DimensionalPriceGroups::PriceListParams::status,
|
|
36
|
+
?request_options: Orb::request_opts
|
|
37
|
+
) -> void
|
|
38
|
+
|
|
39
|
+
def to_hash: -> {
|
|
40
|
+
dimensional_price_group_id: String,
|
|
41
|
+
cursor: String?,
|
|
42
|
+
limit: Integer,
|
|
43
|
+
status: Orb::Models::DimensionalPriceGroups::PriceListParams::status,
|
|
44
|
+
request_options: Orb::RequestOptions
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
type status = :active | :archived | :all
|
|
48
|
+
|
|
49
|
+
module Status
|
|
50
|
+
extend Orb::Internal::Type::Enum
|
|
51
|
+
|
|
52
|
+
ACTIVE: :active
|
|
53
|
+
ARCHIVED: :archived
|
|
54
|
+
ALL: :all
|
|
55
|
+
|
|
56
|
+
def self?.values: -> ::Array[Orb::Models::DimensionalPriceGroups::PriceListParams::status]
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::EventUnmatchedEventWebhookEvent::payload_style,
|
|
7
8
|
properties: Orb::EventUnmatchedEventWebhookEvent::Properties,
|
|
8
9
|
type: Orb::Models::EventUnmatchedEventWebhookEvent::type_
|
|
9
10
|
}
|
|
@@ -13,6 +14,8 @@ module Orb
|
|
|
13
14
|
|
|
14
15
|
attr_accessor created_at: Time
|
|
15
16
|
|
|
17
|
+
attr_accessor payload_style: Orb::Models::EventUnmatchedEventWebhookEvent::payload_style
|
|
18
|
+
|
|
16
19
|
attr_accessor properties: Orb::EventUnmatchedEventWebhookEvent::Properties
|
|
17
20
|
|
|
18
21
|
attr_accessor type: Orb::Models::EventUnmatchedEventWebhookEvent::type_
|
|
@@ -20,6 +23,7 @@ module Orb
|
|
|
20
23
|
def initialize: (
|
|
21
24
|
id: String,
|
|
22
25
|
created_at: Time,
|
|
26
|
+
payload_style: Orb::Models::EventUnmatchedEventWebhookEvent::payload_style,
|
|
23
27
|
properties: Orb::EventUnmatchedEventWebhookEvent::Properties,
|
|
24
28
|
type: Orb::Models::EventUnmatchedEventWebhookEvent::type_
|
|
25
29
|
) -> void
|
|
@@ -27,10 +31,22 @@ module Orb
|
|
|
27
31
|
def to_hash: -> {
|
|
28
32
|
id: String,
|
|
29
33
|
created_at: Time,
|
|
34
|
+
payload_style: Orb::Models::EventUnmatchedEventWebhookEvent::payload_style,
|
|
30
35
|
properties: Orb::EventUnmatchedEventWebhookEvent::Properties,
|
|
31
36
|
type: Orb::Models::EventUnmatchedEventWebhookEvent::type_
|
|
32
37
|
}
|
|
33
38
|
|
|
39
|
+
type payload_style = :expanded | :standard
|
|
40
|
+
|
|
41
|
+
module PayloadStyle
|
|
42
|
+
extend Orb::Internal::Type::Enum
|
|
43
|
+
|
|
44
|
+
EXPANDED: :expanded
|
|
45
|
+
STANDARD: :standard
|
|
46
|
+
|
|
47
|
+
def self?.values: -> ::Array[Orb::Models::EventUnmatchedEventWebhookEvent::payload_style]
|
|
48
|
+
end
|
|
49
|
+
|
|
34
50
|
type properties =
|
|
35
51
|
{ event: Orb::EventUnmatchedEventWebhookEvent::Properties::Event }
|
|
36
52
|
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::IngestionUnmatchedCustomerIDsWebhookEvent::payload_style,
|
|
7
8
|
properties: Orb::IngestionUnmatchedCustomerIDsWebhookEvent::Properties,
|
|
8
9
|
type: Orb::Models::IngestionUnmatchedCustomerIDsWebhookEvent::type_
|
|
9
10
|
}
|
|
@@ -13,6 +14,8 @@ module Orb
|
|
|
13
14
|
|
|
14
15
|
attr_accessor created_at: Time
|
|
15
16
|
|
|
17
|
+
attr_accessor payload_style: Orb::Models::IngestionUnmatchedCustomerIDsWebhookEvent::payload_style
|
|
18
|
+
|
|
16
19
|
attr_accessor properties: Orb::IngestionUnmatchedCustomerIDsWebhookEvent::Properties
|
|
17
20
|
|
|
18
21
|
attr_accessor type: Orb::Models::IngestionUnmatchedCustomerIDsWebhookEvent::type_
|
|
@@ -20,6 +23,7 @@ module Orb
|
|
|
20
23
|
def initialize: (
|
|
21
24
|
id: String,
|
|
22
25
|
created_at: Time,
|
|
26
|
+
payload_style: Orb::Models::IngestionUnmatchedCustomerIDsWebhookEvent::payload_style,
|
|
23
27
|
properties: Orb::IngestionUnmatchedCustomerIDsWebhookEvent::Properties,
|
|
24
28
|
type: Orb::Models::IngestionUnmatchedCustomerIDsWebhookEvent::type_
|
|
25
29
|
) -> void
|
|
@@ -27,10 +31,22 @@ module Orb
|
|
|
27
31
|
def to_hash: -> {
|
|
28
32
|
id: String,
|
|
29
33
|
created_at: Time,
|
|
34
|
+
payload_style: Orb::Models::IngestionUnmatchedCustomerIDsWebhookEvent::payload_style,
|
|
30
35
|
properties: Orb::IngestionUnmatchedCustomerIDsWebhookEvent::Properties,
|
|
31
36
|
type: Orb::Models::IngestionUnmatchedCustomerIDsWebhookEvent::type_
|
|
32
37
|
}
|
|
33
38
|
|
|
39
|
+
type payload_style = :expanded | :standard
|
|
40
|
+
|
|
41
|
+
module PayloadStyle
|
|
42
|
+
extend Orb::Internal::Type::Enum
|
|
43
|
+
|
|
44
|
+
EXPANDED: :expanded
|
|
45
|
+
STANDARD: :standard
|
|
46
|
+
|
|
47
|
+
def self?.values: -> ::Array[Orb::Models::IngestionUnmatchedCustomerIDsWebhookEvent::payload_style]
|
|
48
|
+
end
|
|
49
|
+
|
|
34
50
|
type properties = { external_customer_ids: ::Array[String] }
|
|
35
51
|
|
|
36
52
|
class Properties < Orb::Internal::Type::BaseModel
|
|
@@ -6,6 +6,7 @@ module Orb
|
|
|
6
6
|
accounting_sync_record: Orb::InvoiceAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
|
|
7
7
|
created_at: Time,
|
|
8
8
|
invoice: Orb::Invoice,
|
|
9
|
+
payload_style: Orb::Models::InvoiceAccountingSyncFailedWebhookEvent::payload_style,
|
|
9
10
|
properties: Orb::InvoiceAccountingSyncFailedWebhookEvent::Properties,
|
|
10
11
|
type: Orb::Models::InvoiceAccountingSyncFailedWebhookEvent::type_
|
|
11
12
|
}
|
|
@@ -19,6 +20,8 @@ module Orb
|
|
|
19
20
|
|
|
20
21
|
attr_accessor invoice: Orb::Invoice
|
|
21
22
|
|
|
23
|
+
attr_accessor payload_style: Orb::Models::InvoiceAccountingSyncFailedWebhookEvent::payload_style
|
|
24
|
+
|
|
22
25
|
attr_accessor properties: Orb::InvoiceAccountingSyncFailedWebhookEvent::Properties
|
|
23
26
|
|
|
24
27
|
attr_accessor type: Orb::Models::InvoiceAccountingSyncFailedWebhookEvent::type_
|
|
@@ -28,6 +31,7 @@ module Orb
|
|
|
28
31
|
accounting_sync_record: Orb::InvoiceAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
|
|
29
32
|
created_at: Time,
|
|
30
33
|
invoice: Orb::Invoice,
|
|
34
|
+
payload_style: Orb::Models::InvoiceAccountingSyncFailedWebhookEvent::payload_style,
|
|
31
35
|
properties: Orb::InvoiceAccountingSyncFailedWebhookEvent::Properties,
|
|
32
36
|
type: Orb::Models::InvoiceAccountingSyncFailedWebhookEvent::type_
|
|
33
37
|
) -> void
|
|
@@ -37,6 +41,7 @@ module Orb
|
|
|
37
41
|
accounting_sync_record: Orb::InvoiceAccountingSyncFailedWebhookEvent::AccountingSyncRecord,
|
|
38
42
|
created_at: Time,
|
|
39
43
|
invoice: Orb::Invoice,
|
|
44
|
+
payload_style: Orb::Models::InvoiceAccountingSyncFailedWebhookEvent::payload_style,
|
|
40
45
|
properties: Orb::InvoiceAccountingSyncFailedWebhookEvent::Properties,
|
|
41
46
|
type: Orb::Models::InvoiceAccountingSyncFailedWebhookEvent::type_
|
|
42
47
|
}
|
|
@@ -118,6 +123,17 @@ module Orb
|
|
|
118
123
|
end
|
|
119
124
|
end
|
|
120
125
|
|
|
126
|
+
type payload_style = :expanded | :standard
|
|
127
|
+
|
|
128
|
+
module PayloadStyle
|
|
129
|
+
extend Orb::Internal::Type::Enum
|
|
130
|
+
|
|
131
|
+
EXPANDED: :expanded
|
|
132
|
+
STANDARD: :standard
|
|
133
|
+
|
|
134
|
+
def self?.values: -> ::Array[Orb::Models::InvoiceAccountingSyncFailedWebhookEvent::payload_style]
|
|
135
|
+
end
|
|
136
|
+
|
|
121
137
|
type properties = { connection_type: String, failure_reason: String }
|
|
122
138
|
|
|
123
139
|
class Properties < Orb::Internal::Type::BaseModel
|
|
@@ -6,6 +6,7 @@ module Orb
|
|
|
6
6
|
accounting_sync_record: Orb::InvoiceAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
|
|
7
7
|
created_at: Time,
|
|
8
8
|
invoice: Orb::Invoice,
|
|
9
|
+
payload_style: Orb::Models::InvoiceAccountingSyncSucceededWebhookEvent::payload_style,
|
|
9
10
|
properties: Orb::InvoiceAccountingSyncSucceededWebhookEvent::Properties,
|
|
10
11
|
type: Orb::Models::InvoiceAccountingSyncSucceededWebhookEvent::type_
|
|
11
12
|
}
|
|
@@ -19,6 +20,8 @@ module Orb
|
|
|
19
20
|
|
|
20
21
|
attr_accessor invoice: Orb::Invoice
|
|
21
22
|
|
|
23
|
+
attr_accessor payload_style: Orb::Models::InvoiceAccountingSyncSucceededWebhookEvent::payload_style
|
|
24
|
+
|
|
22
25
|
attr_accessor properties: Orb::InvoiceAccountingSyncSucceededWebhookEvent::Properties
|
|
23
26
|
|
|
24
27
|
attr_accessor type: Orb::Models::InvoiceAccountingSyncSucceededWebhookEvent::type_
|
|
@@ -28,6 +31,7 @@ module Orb
|
|
|
28
31
|
accounting_sync_record: Orb::InvoiceAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
|
|
29
32
|
created_at: Time,
|
|
30
33
|
invoice: Orb::Invoice,
|
|
34
|
+
payload_style: Orb::Models::InvoiceAccountingSyncSucceededWebhookEvent::payload_style,
|
|
31
35
|
properties: Orb::InvoiceAccountingSyncSucceededWebhookEvent::Properties,
|
|
32
36
|
type: Orb::Models::InvoiceAccountingSyncSucceededWebhookEvent::type_
|
|
33
37
|
) -> void
|
|
@@ -37,6 +41,7 @@ module Orb
|
|
|
37
41
|
accounting_sync_record: Orb::InvoiceAccountingSyncSucceededWebhookEvent::AccountingSyncRecord,
|
|
38
42
|
created_at: Time,
|
|
39
43
|
invoice: Orb::Invoice,
|
|
44
|
+
payload_style: Orb::Models::InvoiceAccountingSyncSucceededWebhookEvent::payload_style,
|
|
40
45
|
properties: Orb::InvoiceAccountingSyncSucceededWebhookEvent::Properties,
|
|
41
46
|
type: Orb::Models::InvoiceAccountingSyncSucceededWebhookEvent::type_
|
|
42
47
|
}
|
|
@@ -118,6 +123,17 @@ module Orb
|
|
|
118
123
|
end
|
|
119
124
|
end
|
|
120
125
|
|
|
126
|
+
type payload_style = :expanded | :standard
|
|
127
|
+
|
|
128
|
+
module PayloadStyle
|
|
129
|
+
extend Orb::Internal::Type::Enum
|
|
130
|
+
|
|
131
|
+
EXPANDED: :expanded
|
|
132
|
+
STANDARD: :standard
|
|
133
|
+
|
|
134
|
+
def self?.values: -> ::Array[Orb::Models::InvoiceAccountingSyncSucceededWebhookEvent::payload_style]
|
|
135
|
+
end
|
|
136
|
+
|
|
121
137
|
type properties = { connection_type: String }
|
|
122
138
|
|
|
123
139
|
class Properties < Orb::Internal::Type::BaseModel
|
|
@@ -5,6 +5,7 @@ module Orb
|
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
7
|
invoice: Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Invoice,
|
|
8
|
+
payload_style: Orb::Models::InvoiceAutomationScheduleStepExecutedWebhookEvent::payload_style,
|
|
8
9
|
properties: Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Properties,
|
|
9
10
|
type: Orb::Models::InvoiceAutomationScheduleStepExecutedWebhookEvent::type_
|
|
10
11
|
}
|
|
@@ -16,6 +17,8 @@ module Orb
|
|
|
16
17
|
|
|
17
18
|
attr_accessor invoice: Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Invoice
|
|
18
19
|
|
|
20
|
+
attr_accessor payload_style: Orb::Models::InvoiceAutomationScheduleStepExecutedWebhookEvent::payload_style
|
|
21
|
+
|
|
19
22
|
attr_accessor properties: Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Properties
|
|
20
23
|
|
|
21
24
|
attr_accessor type: Orb::Models::InvoiceAutomationScheduleStepExecutedWebhookEvent::type_
|
|
@@ -24,6 +27,7 @@ module Orb
|
|
|
24
27
|
id: String,
|
|
25
28
|
created_at: Time,
|
|
26
29
|
invoice: Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Invoice,
|
|
30
|
+
payload_style: Orb::Models::InvoiceAutomationScheduleStepExecutedWebhookEvent::payload_style,
|
|
27
31
|
properties: Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Properties,
|
|
28
32
|
type: Orb::Models::InvoiceAutomationScheduleStepExecutedWebhookEvent::type_
|
|
29
33
|
) -> void
|
|
@@ -32,6 +36,7 @@ module Orb
|
|
|
32
36
|
id: String,
|
|
33
37
|
created_at: Time,
|
|
34
38
|
invoice: Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Invoice,
|
|
39
|
+
payload_style: Orb::Models::InvoiceAutomationScheduleStepExecutedWebhookEvent::payload_style,
|
|
35
40
|
properties: Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Properties,
|
|
36
41
|
type: Orb::Models::InvoiceAutomationScheduleStepExecutedWebhookEvent::type_
|
|
37
42
|
}
|
|
@@ -123,6 +128,17 @@ module Orb
|
|
|
123
128
|
}
|
|
124
129
|
end
|
|
125
130
|
|
|
131
|
+
type payload_style = :expanded | :standard
|
|
132
|
+
|
|
133
|
+
module PayloadStyle
|
|
134
|
+
extend Orb::Internal::Type::Enum
|
|
135
|
+
|
|
136
|
+
EXPANDED: :expanded
|
|
137
|
+
STANDARD: :standard
|
|
138
|
+
|
|
139
|
+
def self?.values: -> ::Array[Orb::Models::InvoiceAutomationScheduleStepExecutedWebhookEvent::payload_style]
|
|
140
|
+
end
|
|
141
|
+
|
|
126
142
|
type properties =
|
|
127
143
|
{
|
|
128
144
|
actions: ::Array[Orb::Models::InvoiceAutomationScheduleStepExecutedWebhookEvent::Properties::action],
|
|
@@ -5,6 +5,7 @@ module Orb
|
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
7
|
invoice: String,
|
|
8
|
+
payload_style: Orb::Models::InvoiceCostDataExportedWebhookEvent::payload_style,
|
|
8
9
|
properties: Orb::InvoiceCostDataExportedWebhookEvent::Properties,
|
|
9
10
|
type: Orb::Models::InvoiceCostDataExportedWebhookEvent::type_
|
|
10
11
|
}
|
|
@@ -16,6 +17,8 @@ module Orb
|
|
|
16
17
|
|
|
17
18
|
attr_accessor invoice: String
|
|
18
19
|
|
|
20
|
+
attr_accessor payload_style: Orb::Models::InvoiceCostDataExportedWebhookEvent::payload_style
|
|
21
|
+
|
|
19
22
|
attr_accessor properties: Orb::InvoiceCostDataExportedWebhookEvent::Properties
|
|
20
23
|
|
|
21
24
|
attr_accessor type: Orb::Models::InvoiceCostDataExportedWebhookEvent::type_
|
|
@@ -24,6 +27,7 @@ module Orb
|
|
|
24
27
|
id: String,
|
|
25
28
|
created_at: Time,
|
|
26
29
|
invoice: String,
|
|
30
|
+
payload_style: Orb::Models::InvoiceCostDataExportedWebhookEvent::payload_style,
|
|
27
31
|
properties: Orb::InvoiceCostDataExportedWebhookEvent::Properties,
|
|
28
32
|
type: Orb::Models::InvoiceCostDataExportedWebhookEvent::type_
|
|
29
33
|
) -> void
|
|
@@ -32,10 +36,22 @@ module Orb
|
|
|
32
36
|
id: String,
|
|
33
37
|
created_at: Time,
|
|
34
38
|
invoice: String,
|
|
39
|
+
payload_style: Orb::Models::InvoiceCostDataExportedWebhookEvent::payload_style,
|
|
35
40
|
properties: Orb::InvoiceCostDataExportedWebhookEvent::Properties,
|
|
36
41
|
type: Orb::Models::InvoiceCostDataExportedWebhookEvent::type_
|
|
37
42
|
}
|
|
38
43
|
|
|
44
|
+
type payload_style = :expanded | :standard
|
|
45
|
+
|
|
46
|
+
module PayloadStyle
|
|
47
|
+
extend Orb::Internal::Type::Enum
|
|
48
|
+
|
|
49
|
+
EXPANDED: :expanded
|
|
50
|
+
STANDARD: :standard
|
|
51
|
+
|
|
52
|
+
def self?.values: -> ::Array[Orb::Models::InvoiceCostDataExportedWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type properties =
|
|
40
56
|
{ exported_date: Time, :s3_bucket => String, :s3_key => String }
|
|
41
57
|
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::InvoiceDueDateRecalculationCanceledWebhookEvent::payload_style,
|
|
7
8
|
properties: Orb::InvoiceDueDateRecalculationCanceledWebhookEvent::Properties,
|
|
8
9
|
type: Orb::Models::InvoiceDueDateRecalculationCanceledWebhookEvent::type_
|
|
9
10
|
}
|
|
@@ -13,6 +14,8 @@ module Orb
|
|
|
13
14
|
|
|
14
15
|
attr_accessor created_at: Time
|
|
15
16
|
|
|
17
|
+
attr_accessor payload_style: Orb::Models::InvoiceDueDateRecalculationCanceledWebhookEvent::payload_style
|
|
18
|
+
|
|
16
19
|
attr_accessor properties: Orb::InvoiceDueDateRecalculationCanceledWebhookEvent::Properties
|
|
17
20
|
|
|
18
21
|
attr_accessor type: Orb::Models::InvoiceDueDateRecalculationCanceledWebhookEvent::type_
|
|
@@ -20,6 +23,7 @@ module Orb
|
|
|
20
23
|
def initialize: (
|
|
21
24
|
id: String,
|
|
22
25
|
created_at: Time,
|
|
26
|
+
payload_style: Orb::Models::InvoiceDueDateRecalculationCanceledWebhookEvent::payload_style,
|
|
23
27
|
properties: Orb::InvoiceDueDateRecalculationCanceledWebhookEvent::Properties,
|
|
24
28
|
type: Orb::Models::InvoiceDueDateRecalculationCanceledWebhookEvent::type_
|
|
25
29
|
) -> void
|
|
@@ -27,10 +31,22 @@ module Orb
|
|
|
27
31
|
def to_hash: -> {
|
|
28
32
|
id: String,
|
|
29
33
|
created_at: Time,
|
|
34
|
+
payload_style: Orb::Models::InvoiceDueDateRecalculationCanceledWebhookEvent::payload_style,
|
|
30
35
|
properties: Orb::InvoiceDueDateRecalculationCanceledWebhookEvent::Properties,
|
|
31
36
|
type: Orb::Models::InvoiceDueDateRecalculationCanceledWebhookEvent::type_
|
|
32
37
|
}
|
|
33
38
|
|
|
39
|
+
type payload_style = :expanded | :standard
|
|
40
|
+
|
|
41
|
+
module PayloadStyle
|
|
42
|
+
extend Orb::Internal::Type::Enum
|
|
43
|
+
|
|
44
|
+
EXPANDED: :expanded
|
|
45
|
+
STANDARD: :standard
|
|
46
|
+
|
|
47
|
+
def self?.values: -> ::Array[Orb::Models::InvoiceDueDateRecalculationCanceledWebhookEvent::payload_style]
|
|
48
|
+
end
|
|
49
|
+
|
|
34
50
|
type properties = { canceled_at: Time, started_at: Time }
|
|
35
51
|
|
|
36
52
|
class Properties < Orb::Internal::Type::BaseModel
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::InvoiceDueDateRecalculationCompletedWebhookEvent::payload_style,
|
|
7
8
|
properties: Orb::InvoiceDueDateRecalculationCompletedWebhookEvent::Properties,
|
|
8
9
|
type: Orb::Models::InvoiceDueDateRecalculationCompletedWebhookEvent::type_
|
|
9
10
|
}
|
|
@@ -13,6 +14,8 @@ module Orb
|
|
|
13
14
|
|
|
14
15
|
attr_accessor created_at: Time
|
|
15
16
|
|
|
17
|
+
attr_accessor payload_style: Orb::Models::InvoiceDueDateRecalculationCompletedWebhookEvent::payload_style
|
|
18
|
+
|
|
16
19
|
attr_accessor properties: Orb::InvoiceDueDateRecalculationCompletedWebhookEvent::Properties
|
|
17
20
|
|
|
18
21
|
attr_accessor type: Orb::Models::InvoiceDueDateRecalculationCompletedWebhookEvent::type_
|
|
@@ -20,6 +23,7 @@ module Orb
|
|
|
20
23
|
def initialize: (
|
|
21
24
|
id: String,
|
|
22
25
|
created_at: Time,
|
|
26
|
+
payload_style: Orb::Models::InvoiceDueDateRecalculationCompletedWebhookEvent::payload_style,
|
|
23
27
|
properties: Orb::InvoiceDueDateRecalculationCompletedWebhookEvent::Properties,
|
|
24
28
|
type: Orb::Models::InvoiceDueDateRecalculationCompletedWebhookEvent::type_
|
|
25
29
|
) -> void
|
|
@@ -27,10 +31,22 @@ module Orb
|
|
|
27
31
|
def to_hash: -> {
|
|
28
32
|
id: String,
|
|
29
33
|
created_at: Time,
|
|
34
|
+
payload_style: Orb::Models::InvoiceDueDateRecalculationCompletedWebhookEvent::payload_style,
|
|
30
35
|
properties: Orb::InvoiceDueDateRecalculationCompletedWebhookEvent::Properties,
|
|
31
36
|
type: Orb::Models::InvoiceDueDateRecalculationCompletedWebhookEvent::type_
|
|
32
37
|
}
|
|
33
38
|
|
|
39
|
+
type payload_style = :expanded | :standard
|
|
40
|
+
|
|
41
|
+
module PayloadStyle
|
|
42
|
+
extend Orb::Internal::Type::Enum
|
|
43
|
+
|
|
44
|
+
EXPANDED: :expanded
|
|
45
|
+
STANDARD: :standard
|
|
46
|
+
|
|
47
|
+
def self?.values: -> ::Array[Orb::Models::InvoiceDueDateRecalculationCompletedWebhookEvent::payload_style]
|
|
48
|
+
end
|
|
49
|
+
|
|
34
50
|
type properties = { completed_at: Time, started_at: Time }
|
|
35
51
|
|
|
36
52
|
class Properties < Orb::Internal::Type::BaseModel
|
|
@@ -4,6 +4,7 @@ module Orb
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
|
+
payload_style: Orb::Models::InvoiceDueDateRecalculationStartedWebhookEvent::payload_style,
|
|
7
8
|
properties: Orb::InvoiceDueDateRecalculationStartedWebhookEvent::Properties,
|
|
8
9
|
type: Orb::Models::InvoiceDueDateRecalculationStartedWebhookEvent::type_
|
|
9
10
|
}
|
|
@@ -13,6 +14,8 @@ module Orb
|
|
|
13
14
|
|
|
14
15
|
attr_accessor created_at: Time
|
|
15
16
|
|
|
17
|
+
attr_accessor payload_style: Orb::Models::InvoiceDueDateRecalculationStartedWebhookEvent::payload_style
|
|
18
|
+
|
|
16
19
|
attr_accessor properties: Orb::InvoiceDueDateRecalculationStartedWebhookEvent::Properties
|
|
17
20
|
|
|
18
21
|
attr_accessor type: Orb::Models::InvoiceDueDateRecalculationStartedWebhookEvent::type_
|
|
@@ -20,6 +23,7 @@ module Orb
|
|
|
20
23
|
def initialize: (
|
|
21
24
|
id: String,
|
|
22
25
|
created_at: Time,
|
|
26
|
+
payload_style: Orb::Models::InvoiceDueDateRecalculationStartedWebhookEvent::payload_style,
|
|
23
27
|
properties: Orb::InvoiceDueDateRecalculationStartedWebhookEvent::Properties,
|
|
24
28
|
type: Orb::Models::InvoiceDueDateRecalculationStartedWebhookEvent::type_
|
|
25
29
|
) -> void
|
|
@@ -27,10 +31,22 @@ module Orb
|
|
|
27
31
|
def to_hash: -> {
|
|
28
32
|
id: String,
|
|
29
33
|
created_at: Time,
|
|
34
|
+
payload_style: Orb::Models::InvoiceDueDateRecalculationStartedWebhookEvent::payload_style,
|
|
30
35
|
properties: Orb::InvoiceDueDateRecalculationStartedWebhookEvent::Properties,
|
|
31
36
|
type: Orb::Models::InvoiceDueDateRecalculationStartedWebhookEvent::type_
|
|
32
37
|
}
|
|
33
38
|
|
|
39
|
+
type payload_style = :expanded | :standard
|
|
40
|
+
|
|
41
|
+
module PayloadStyle
|
|
42
|
+
extend Orb::Internal::Type::Enum
|
|
43
|
+
|
|
44
|
+
EXPANDED: :expanded
|
|
45
|
+
STANDARD: :standard
|
|
46
|
+
|
|
47
|
+
def self?.values: -> ::Array[Orb::Models::InvoiceDueDateRecalculationStartedWebhookEvent::payload_style]
|
|
48
|
+
end
|
|
49
|
+
|
|
34
50
|
type properties = { started_at: Time }
|
|
35
51
|
|
|
36
52
|
class Properties < Orb::Internal::Type::BaseModel
|
|
@@ -5,6 +5,7 @@ module Orb
|
|
|
5
5
|
id: String,
|
|
6
6
|
created_at: Time,
|
|
7
7
|
invoice: Orb::Invoice,
|
|
8
|
+
payload_style: Orb::Models::InvoiceDunningScheduleCreatedWebhookEvent::payload_style,
|
|
8
9
|
properties: Orb::InvoiceDunningScheduleCreatedWebhookEvent::Properties,
|
|
9
10
|
type: Orb::Models::InvoiceDunningScheduleCreatedWebhookEvent::type_
|
|
10
11
|
}
|
|
@@ -16,6 +17,8 @@ module Orb
|
|
|
16
17
|
|
|
17
18
|
attr_accessor invoice: Orb::Invoice
|
|
18
19
|
|
|
20
|
+
attr_accessor payload_style: Orb::Models::InvoiceDunningScheduleCreatedWebhookEvent::payload_style
|
|
21
|
+
|
|
19
22
|
attr_accessor properties: Orb::InvoiceDunningScheduleCreatedWebhookEvent::Properties
|
|
20
23
|
|
|
21
24
|
attr_accessor type: Orb::Models::InvoiceDunningScheduleCreatedWebhookEvent::type_
|
|
@@ -24,6 +27,7 @@ module Orb
|
|
|
24
27
|
id: String,
|
|
25
28
|
created_at: Time,
|
|
26
29
|
invoice: Orb::Invoice,
|
|
30
|
+
payload_style: Orb::Models::InvoiceDunningScheduleCreatedWebhookEvent::payload_style,
|
|
27
31
|
properties: Orb::InvoiceDunningScheduleCreatedWebhookEvent::Properties,
|
|
28
32
|
type: Orb::Models::InvoiceDunningScheduleCreatedWebhookEvent::type_
|
|
29
33
|
) -> void
|
|
@@ -32,10 +36,22 @@ module Orb
|
|
|
32
36
|
id: String,
|
|
33
37
|
created_at: Time,
|
|
34
38
|
invoice: Orb::Invoice,
|
|
39
|
+
payload_style: Orb::Models::InvoiceDunningScheduleCreatedWebhookEvent::payload_style,
|
|
35
40
|
properties: Orb::InvoiceDunningScheduleCreatedWebhookEvent::Properties,
|
|
36
41
|
type: Orb::Models::InvoiceDunningScheduleCreatedWebhookEvent::type_
|
|
37
42
|
}
|
|
38
43
|
|
|
44
|
+
type payload_style = :expanded | :standard
|
|
45
|
+
|
|
46
|
+
module PayloadStyle
|
|
47
|
+
extend Orb::Internal::Type::Enum
|
|
48
|
+
|
|
49
|
+
EXPANDED: :expanded
|
|
50
|
+
STANDARD: :standard
|
|
51
|
+
|
|
52
|
+
def self?.values: -> ::Array[Orb::Models::InvoiceDunningScheduleCreatedWebhookEvent::payload_style]
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
type properties =
|
|
40
56
|
{
|
|
41
57
|
dunning_schedule: Orb::InvoiceDunningScheduleCreatedWebhookEvent::Properties::DunningSchedule,
|