orb-billing 1.59.0 → 1.60.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 +10 -0
- data/README.md +1 -1
- data/lib/orb/models/alert.rb +9 -1
- data/lib/orb/models/changed_subscription_resources.rb +9 -1
- data/lib/orb/models/credit_note.rb +9 -1
- data/lib/orb/models/credit_note_list_params.rb +11 -1
- data/lib/orb/models/customer.rb +12 -3
- data/lib/orb/models/customer_create_params.rb +10 -1
- data/lib/orb/models/customer_credit_balance_depleted_webhook_event.rb +9 -1
- data/lib/orb/models/customer_credit_balance_dropped_webhook_event.rb +9 -1
- data/lib/orb/models/customer_credit_balance_recovered_webhook_event.rb +9 -1
- data/lib/orb/models/customer_edited_webhook_event.rb +8 -1
- data/lib/orb/models/customer_update_by_external_id_params.rb +10 -1
- data/lib/orb/models/customer_update_params.rb +10 -1
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb +7 -7
- data/lib/orb/models/customers/credits/ledger_create_entry_params.rb +7 -7
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +6 -4
- data/lib/orb/models/customers/credits/top_up_create_params.rb +6 -4
- data/lib/orb/models/customers/credits/top_up_invoice_settings.rb +6 -4
- data/lib/orb/models/invoice.rb +9 -1
- data/lib/orb/models/invoice_create_params.rb +25 -7
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +9 -1
- data/lib/orb/models/invoice_issue_summary_response.rb +9 -1
- data/lib/orb/models/invoice_issued_summary_webhook_event.rb +9 -1
- data/lib/orb/models/invoice_list_params.rb +11 -1
- data/lib/orb/models/invoice_list_summary_params.rb +11 -1
- data/lib/orb/models/invoice_list_summary_response.rb +9 -1
- data/lib/orb/models/invoice_update_params.rb +7 -6
- data/lib/orb/models/mutated_subscription.rb +16 -6
- data/lib/orb/models/payment_method_created_webhook_event.rb +3 -2
- data/lib/orb/models/payment_method_deleted_webhook_event.rb +3 -2
- data/lib/orb/models/plan.rb +26 -8
- data/lib/orb/models/plan_create_params.rb +15 -5
- data/lib/orb/models/plan_created_webhook_event.rb +9 -1
- data/lib/orb/models/plan_default_version_set_webhook_event.rb +9 -1
- data/lib/orb/models/plan_edited_webhook_event.rb +7 -1
- data/lib/orb/models/plan_update_params.rb +10 -1
- data/lib/orb/models/plan_version_created_webhook_event.rb +9 -1
- data/lib/orb/models/plans/external_plan_id_update_params.rb +10 -1
- data/lib/orb/models/subscription.rb +16 -6
- data/lib/orb/models/subscription_alert_disabled_webhook_event.rb +18 -2
- data/lib/orb/models/subscription_cost_exceeded_webhook_event.rb +9 -1
- data/lib/orb/models/subscription_create_params.rb +27 -5
- data/lib/orb/models/subscription_fetch_schedule_response.rb +9 -1
- data/lib/orb/models/subscription_grouped_cost_exceeded_webhook_event.rb +18 -2
- data/lib/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rb +9 -1
- data/lib/orb/models/subscription_license_allocation_reset_webhook_event.rb +9 -1
- data/lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb +18 -2
- data/lib/orb/models/subscription_list_params.rb +11 -1
- data/lib/orb/models/subscription_list_summary_params.rb +11 -1
- data/lib/orb/models/subscription_list_summary_response.rb +9 -1
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +7 -4
- data/lib/orb/models/subscription_spend_exceeded_webhook_event.rb +9 -1
- data/lib/orb/models/subscription_update_params.rb +7 -5
- data/lib/orb/models/subscription_usage_exceeded_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/customer_credit_balance_depleted_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/customer_credit_balance_dropped_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/customer_credit_balance_recovered_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/customer_edited_standard_webhook_event.rb +8 -1
- data/lib/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_edited_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_issued_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/payment_method_created_standard_webhook_event.rb +3 -2
- data/lib/orb/models/webhooks/payment_method_deleted_standard_webhook_event.rb +3 -2
- data/lib/orb/models/webhooks/plan_created_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/plan_default_version_set_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/plan_edited_standard_webhook_event.rb +7 -1
- data/lib/orb/models/webhooks/plan_version_created_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_alert_disabled_standard_webhook_event.rb +18 -2
- data/lib/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rb +18 -2
- data/lib/orb/models/webhooks/subscription_created_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_edited_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_ended_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_grouped_cost_exceeded_standard_webhook_event.rb +18 -2
- data/lib/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_license_balance_threshold_reached_standard_webhook_event.rb +18 -2
- data/lib/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rb +18 -2
- data/lib/orb/models/webhooks/subscription_started_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rb +9 -1
- data/lib/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rb +18 -2
- data/lib/orb/resources/credit_notes.rb +4 -3
- data/lib/orb/resources/customers.rb +9 -3
- data/lib/orb/resources/invoices.rb +13 -5
- data/lib/orb/resources/plans/external_plan_id.rb +3 -1
- data/lib/orb/resources/plans.rb +7 -3
- data/lib/orb/resources/subscriptions.rb +14 -6
- data/lib/orb/version.rb +1 -1
- data/rbi/orb/models/alert.rbi +11 -3
- data/rbi/orb/models/changed_subscription_resources.rbi +8 -0
- data/rbi/orb/models/credit_note.rbi +8 -0
- data/rbi/orb/models/credit_note_list_params.rbi +12 -0
- data/rbi/orb/models/customer.rbi +12 -2
- data/rbi/orb/models/customer_create_params.rbi +10 -0
- data/rbi/orb/models/customer_credit_balance_depleted_webhook_event.rbi +11 -3
- data/rbi/orb/models/customer_credit_balance_dropped_webhook_event.rbi +11 -3
- data/rbi/orb/models/customer_credit_balance_recovered_webhook_event.rbi +11 -3
- data/rbi/orb/models/customer_edited_webhook_event.rbi +6 -0
- data/rbi/orb/models/customer_update_by_external_id_params.rbi +10 -0
- data/rbi/orb/models/customer_update_params.rbi +10 -0
- data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbi +12 -12
- data/rbi/orb/models/customers/credits/ledger_create_entry_params.rbi +12 -12
- data/rbi/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +10 -6
- data/rbi/orb/models/customers/credits/top_up_create_params.rbi +10 -6
- data/rbi/orb/models/customers/credits/top_up_invoice_settings.rbi +10 -6
- data/rbi/orb/models/invoice.rbi +8 -0
- data/rbi/orb/models/invoice_create_params.rbi +30 -10
- data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +8 -0
- data/rbi/orb/models/invoice_issue_summary_response.rbi +8 -0
- data/rbi/orb/models/invoice_issued_summary_webhook_event.rbi +8 -0
- data/rbi/orb/models/invoice_list_params.rbi +12 -0
- data/rbi/orb/models/invoice_list_summary_params.rbi +12 -0
- data/rbi/orb/models/invoice_list_summary_response.rbi +8 -0
- data/rbi/orb/models/invoice_update_params.rbi +12 -10
- data/rbi/orb/models/mutated_subscription.rbi +20 -8
- data/rbi/orb/models/payment_method_created_webhook_event.rbi +4 -2
- data/rbi/orb/models/payment_method_deleted_webhook_event.rbi +4 -2
- data/rbi/orb/models/plan.rbi +33 -13
- data/rbi/orb/models/plan_create_params.rbi +18 -6
- data/rbi/orb/models/plan_created_webhook_event.rbi +11 -3
- data/rbi/orb/models/plan_default_version_set_webhook_event.rbi +11 -3
- data/rbi/orb/models/plan_edited_webhook_event.rbi +6 -0
- data/rbi/orb/models/plan_update_params.rbi +10 -0
- data/rbi/orb/models/plan_version_created_webhook_event.rbi +11 -3
- data/rbi/orb/models/plans/external_plan_id_update_params.rbi +10 -0
- data/rbi/orb/models/subscription.rbi +20 -8
- data/rbi/orb/models/subscription_alert_disabled_webhook_event.rbi +22 -6
- data/rbi/orb/models/subscription_cost_exceeded_webhook_event.rbi +11 -3
- data/rbi/orb/models/subscription_create_params.rbi +34 -6
- data/rbi/orb/models/subscription_fetch_schedule_response.rbi +11 -3
- data/rbi/orb/models/subscription_grouped_cost_exceeded_webhook_event.rbi +22 -6
- data/rbi/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rbi +11 -3
- data/rbi/orb/models/subscription_license_allocation_reset_webhook_event.rbi +11 -3
- data/rbi/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbi +22 -6
- data/rbi/orb/models/subscription_list_params.rbi +12 -0
- data/rbi/orb/models/subscription_list_summary_params.rbi +12 -0
- data/rbi/orb/models/subscription_list_summary_response.rbi +11 -3
- data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +12 -6
- data/rbi/orb/models/subscription_spend_exceeded_webhook_event.rbi +11 -3
- data/rbi/orb/models/subscription_update_params.rbi +12 -8
- data/rbi/orb/models/subscription_usage_exceeded_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/customer_credit_balance_depleted_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/customer_credit_balance_dropped_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/customer_credit_balance_recovered_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/customer_edited_standard_webhook_event.rbi +6 -0
- data/rbi/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_edited_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_issued_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/payment_method_created_standard_webhook_event.rbi +4 -2
- data/rbi/orb/models/webhooks/payment_method_deleted_standard_webhook_event.rbi +4 -2
- data/rbi/orb/models/webhooks/plan_created_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/plan_default_version_set_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/plan_edited_standard_webhook_event.rbi +6 -0
- data/rbi/orb/models/webhooks/plan_version_created_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rbi +8 -0
- data/rbi/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_alert_disabled_standard_webhook_event.rbi +22 -6
- data/rbi/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rbi +22 -6
- data/rbi/orb/models/webhooks/subscription_created_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_edited_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_ended_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_grouped_cost_exceeded_standard_webhook_event.rbi +22 -6
- data/rbi/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_license_balance_threshold_reached_standard_webhook_event.rbi +22 -6
- data/rbi/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rbi +22 -6
- data/rbi/orb/models/webhooks/subscription_started_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rbi +11 -3
- data/rbi/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rbi +22 -6
- data/rbi/orb/resources/credit_notes.rbi +6 -2
- data/rbi/orb/resources/customers.rbi +12 -0
- data/rbi/orb/resources/invoices.rbi +29 -10
- data/rbi/orb/resources/plans/external_plan_id.rbi +4 -0
- data/rbi/orb/resources/plans.rbi +12 -3
- data/rbi/orb/resources/subscriptions.rbi +37 -10
- data/sig/orb/models/alert.rbs +8 -3
- data/sig/orb/models/changed_subscription_resources.rbs +5 -0
- data/sig/orb/models/credit_note.rbs +5 -0
- data/sig/orb/models/credit_note_list_params.rbs +5 -0
- data/sig/orb/models/customer.rbs +5 -0
- data/sig/orb/models/customer_create_params.rbs +5 -0
- data/sig/orb/models/customer_credit_balance_depleted_webhook_event.rbs +8 -3
- data/sig/orb/models/customer_credit_balance_dropped_webhook_event.rbs +8 -3
- data/sig/orb/models/customer_credit_balance_recovered_webhook_event.rbs +8 -3
- data/sig/orb/models/customer_edited_webhook_event.rbs +5 -0
- data/sig/orb/models/customer_update_by_external_id_params.rbs +5 -0
- data/sig/orb/models/customer_update_params.rbs +5 -0
- data/sig/orb/models/invoice.rbs +5 -0
- data/sig/orb/models/invoice_create_params.rbs +10 -0
- data/sig/orb/models/invoice_fetch_upcoming_response.rbs +5 -0
- data/sig/orb/models/invoice_issue_summary_response.rbs +5 -0
- data/sig/orb/models/invoice_issued_summary_webhook_event.rbs +5 -0
- data/sig/orb/models/invoice_list_params.rbs +5 -0
- data/sig/orb/models/invoice_list_summary_params.rbs +5 -0
- data/sig/orb/models/invoice_list_summary_response.rbs +5 -0
- data/sig/orb/models/mutated_subscription.rbs +5 -0
- data/sig/orb/models/plan.rbs +18 -3
- data/sig/orb/models/plan_create_params.rbs +5 -0
- data/sig/orb/models/plan_created_webhook_event.rbs +13 -3
- data/sig/orb/models/plan_default_version_set_webhook_event.rbs +13 -3
- data/sig/orb/models/plan_edited_webhook_event.rbs +5 -0
- data/sig/orb/models/plan_update_params.rbs +5 -0
- data/sig/orb/models/plan_version_created_webhook_event.rbs +13 -3
- data/sig/orb/models/plans/external_plan_id_update_params.rbs +5 -0
- data/sig/orb/models/subscription.rbs +5 -0
- data/sig/orb/models/subscription_alert_disabled_webhook_event.rbs +21 -6
- data/sig/orb/models/subscription_cost_exceeded_webhook_event.rbs +8 -3
- data/sig/orb/models/subscription_create_params.rbs +10 -0
- data/sig/orb/models/subscription_fetch_schedule_response.rbs +13 -3
- data/sig/orb/models/subscription_grouped_cost_exceeded_webhook_event.rbs +21 -6
- data/sig/orb/models/subscription_invoicing_threshold_exceeded_webhook_event.rbs +13 -3
- data/sig/orb/models/subscription_license_allocation_reset_webhook_event.rbs +13 -3
- data/sig/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbs +21 -6
- data/sig/orb/models/subscription_list_params.rbs +5 -0
- data/sig/orb/models/subscription_list_summary_params.rbs +5 -0
- data/sig/orb/models/subscription_list_summary_response.rbs +13 -3
- data/sig/orb/models/subscription_spend_exceeded_webhook_event.rbs +8 -3
- data/sig/orb/models/subscription_usage_exceeded_webhook_event.rbs +8 -3
- data/sig/orb/models/webhooks/customer_credit_balance_depleted_standard_webhook_event.rbs +8 -3
- data/sig/orb/models/webhooks/customer_credit_balance_dropped_standard_webhook_event.rbs +8 -3
- data/sig/orb/models/webhooks/customer_credit_balance_recovered_standard_webhook_event.rbs +8 -3
- data/sig/orb/models/webhooks/customer_edited_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_accounting_sync_failed_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_accounting_sync_succeeded_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_created_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_ended_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_reset_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_dunning_schedule_step_executed_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_edited_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_issue_failed_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_issued_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_issued_summary_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_manually_marked_as_paid_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_manually_marked_as_void_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_payment_failed_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_payment_processing_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_payment_succeeded_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_sync_failed_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_sync_succeeded_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/invoice_undo_mark_as_paid_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/plan_created_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/plan_default_version_set_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/plan_edited_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/plan_version_created_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/sales_order_accounting_sync_failed_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/sales_order_accounting_sync_succeeded_standard_webhook_event.rbs +5 -0
- data/sig/orb/models/webhooks/subscription_accounting_sync_failed_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_accounting_sync_succeeded_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_alert_disabled_standard_webhook_event.rbs +21 -6
- data/sig/orb/models/webhooks/subscription_cancellation_scheduled_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_cancellation_unscheduled_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_cost_exceeded_standard_webhook_event.rbs +21 -6
- data/sig/orb/models/webhooks/subscription_created_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_edited_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_ended_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_grouped_cost_exceeded_standard_webhook_event.rbs +21 -6
- data/sig/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_license_balance_threshold_reached_standard_webhook_event.rbs +21 -6
- data/sig/orb/models/webhooks/subscription_plan_change_scheduled_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_plan_changed_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_plan_version_changed_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_spend_exceeded_standard_webhook_event.rbs +21 -6
- data/sig/orb/models/webhooks/subscription_started_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_trial_ended_standard_webhook_event.rbs +13 -3
- data/sig/orb/models/webhooks/subscription_usage_exceeded_standard_webhook_event.rbs +21 -6
- data/sig/orb/resources/credit_notes.rbs +1 -0
- data/sig/orb/resources/customers.rbs +3 -0
- data/sig/orb/resources/invoices.rbs +4 -0
- data/sig/orb/resources/plans/external_plan_id.rbs +1 -0
- data/sig/orb/resources/plans.rbs +2 -0
- data/sig/orb/resources/subscriptions.rbs +4 -0
- metadata +1 -1
data/rbi/orb/models/webhooks/subscription_fixed_fee_quantity_updated_standard_webhook_event.rbi
CHANGED
|
@@ -356,11 +356,16 @@ module Orb
|
|
|
356
356
|
sig { returns(T.nilable(String)) }
|
|
357
357
|
attr_accessor :name
|
|
358
358
|
|
|
359
|
+
# The id of the default billing entity of this plan.
|
|
360
|
+
sig { returns(T.nilable(String)) }
|
|
361
|
+
attr_accessor :billing_entity_id
|
|
362
|
+
|
|
359
363
|
sig do
|
|
360
364
|
params(
|
|
361
365
|
id: T.nilable(String),
|
|
362
366
|
external_plan_id: T.nilable(String),
|
|
363
|
-
name: T.nilable(String)
|
|
367
|
+
name: T.nilable(String),
|
|
368
|
+
billing_entity_id: T.nilable(String)
|
|
364
369
|
).returns(T.attached_class)
|
|
365
370
|
end
|
|
366
371
|
def self.new(
|
|
@@ -369,7 +374,9 @@ module Orb
|
|
|
369
374
|
# as an alias for this Plan. Use this field to identify a plan by an existing
|
|
370
375
|
# identifier in your system.
|
|
371
376
|
external_plan_id:,
|
|
372
|
-
name
|
|
377
|
+
name:,
|
|
378
|
+
# The id of the default billing entity of this plan.
|
|
379
|
+
billing_entity_id: nil
|
|
373
380
|
)
|
|
374
381
|
end
|
|
375
382
|
|
|
@@ -378,7 +385,8 @@ module Orb
|
|
|
378
385
|
{
|
|
379
386
|
id: T.nilable(String),
|
|
380
387
|
external_plan_id: T.nilable(String),
|
|
381
|
-
name: T.nilable(String)
|
|
388
|
+
name: T.nilable(String),
|
|
389
|
+
billing_entity_id: T.nilable(String)
|
|
382
390
|
}
|
|
383
391
|
)
|
|
384
392
|
end
|
|
@@ -621,13 +621,18 @@ module Orb
|
|
|
621
621
|
sig { returns(String) }
|
|
622
622
|
attr_accessor :plan_version
|
|
623
623
|
|
|
624
|
+
# The id of the default billing entity of this plan.
|
|
625
|
+
sig { returns(T.nilable(String)) }
|
|
626
|
+
attr_accessor :billing_entity_id
|
|
627
|
+
|
|
624
628
|
# The plan the alert applies to.
|
|
625
629
|
sig do
|
|
626
630
|
params(
|
|
627
631
|
id: T.nilable(String),
|
|
628
632
|
external_plan_id: T.nilable(String),
|
|
629
633
|
name: T.nilable(String),
|
|
630
|
-
plan_version: String
|
|
634
|
+
plan_version: String,
|
|
635
|
+
billing_entity_id: T.nilable(String)
|
|
631
636
|
).returns(T.attached_class)
|
|
632
637
|
end
|
|
633
638
|
def self.new(
|
|
@@ -637,7 +642,9 @@ module Orb
|
|
|
637
642
|
# identifier in your system.
|
|
638
643
|
external_plan_id:,
|
|
639
644
|
name:,
|
|
640
|
-
plan_version
|
|
645
|
+
plan_version:,
|
|
646
|
+
# The id of the default billing entity of this plan.
|
|
647
|
+
billing_entity_id: nil
|
|
641
648
|
)
|
|
642
649
|
end
|
|
643
650
|
|
|
@@ -647,7 +654,8 @@ module Orb
|
|
|
647
654
|
id: T.nilable(String),
|
|
648
655
|
external_plan_id: T.nilable(String),
|
|
649
656
|
name: T.nilable(String),
|
|
650
|
-
plan_version: String
|
|
657
|
+
plan_version: String,
|
|
658
|
+
billing_entity_id: T.nilable(String)
|
|
651
659
|
}
|
|
652
660
|
)
|
|
653
661
|
end
|
|
@@ -1210,11 +1218,16 @@ module Orb
|
|
|
1210
1218
|
sig { returns(T.nilable(String)) }
|
|
1211
1219
|
attr_accessor :name
|
|
1212
1220
|
|
|
1221
|
+
# The id of the default billing entity of this plan.
|
|
1222
|
+
sig { returns(T.nilable(String)) }
|
|
1223
|
+
attr_accessor :billing_entity_id
|
|
1224
|
+
|
|
1213
1225
|
sig do
|
|
1214
1226
|
params(
|
|
1215
1227
|
id: T.nilable(String),
|
|
1216
1228
|
external_plan_id: T.nilable(String),
|
|
1217
|
-
name: T.nilable(String)
|
|
1229
|
+
name: T.nilable(String),
|
|
1230
|
+
billing_entity_id: T.nilable(String)
|
|
1218
1231
|
).returns(T.attached_class)
|
|
1219
1232
|
end
|
|
1220
1233
|
def self.new(
|
|
@@ -1223,7 +1236,9 @@ module Orb
|
|
|
1223
1236
|
# as an alias for this Plan. Use this field to identify a plan by an existing
|
|
1224
1237
|
# identifier in your system.
|
|
1225
1238
|
external_plan_id:,
|
|
1226
|
-
name
|
|
1239
|
+
name:,
|
|
1240
|
+
# The id of the default billing entity of this plan.
|
|
1241
|
+
billing_entity_id: nil
|
|
1227
1242
|
)
|
|
1228
1243
|
end
|
|
1229
1244
|
|
|
@@ -1232,7 +1247,8 @@ module Orb
|
|
|
1232
1247
|
{
|
|
1233
1248
|
id: T.nilable(String),
|
|
1234
1249
|
external_plan_id: T.nilable(String),
|
|
1235
|
-
name: T.nilable(String)
|
|
1250
|
+
name: T.nilable(String),
|
|
1251
|
+
billing_entity_id: T.nilable(String)
|
|
1236
1252
|
}
|
|
1237
1253
|
)
|
|
1238
1254
|
end
|
data/rbi/orb/models/webhooks/subscription_invoicing_threshold_exceeded_standard_webhook_event.rbi
CHANGED
|
@@ -317,11 +317,16 @@ module Orb
|
|
|
317
317
|
sig { returns(T.nilable(String)) }
|
|
318
318
|
attr_accessor :name
|
|
319
319
|
|
|
320
|
+
# The id of the default billing entity of this plan.
|
|
321
|
+
sig { returns(T.nilable(String)) }
|
|
322
|
+
attr_accessor :billing_entity_id
|
|
323
|
+
|
|
320
324
|
sig do
|
|
321
325
|
params(
|
|
322
326
|
id: T.nilable(String),
|
|
323
327
|
external_plan_id: T.nilable(String),
|
|
324
|
-
name: T.nilable(String)
|
|
328
|
+
name: T.nilable(String),
|
|
329
|
+
billing_entity_id: T.nilable(String)
|
|
325
330
|
).returns(T.attached_class)
|
|
326
331
|
end
|
|
327
332
|
def self.new(
|
|
@@ -330,7 +335,9 @@ module Orb
|
|
|
330
335
|
# as an alias for this Plan. Use this field to identify a plan by an existing
|
|
331
336
|
# identifier in your system.
|
|
332
337
|
external_plan_id:,
|
|
333
|
-
name
|
|
338
|
+
name:,
|
|
339
|
+
# The id of the default billing entity of this plan.
|
|
340
|
+
billing_entity_id: nil
|
|
334
341
|
)
|
|
335
342
|
end
|
|
336
343
|
|
|
@@ -339,7 +346,8 @@ module Orb
|
|
|
339
346
|
{
|
|
340
347
|
id: T.nilable(String),
|
|
341
348
|
external_plan_id: T.nilable(String),
|
|
342
|
-
name: T.nilable(String)
|
|
349
|
+
name: T.nilable(String),
|
|
350
|
+
billing_entity_id: T.nilable(String)
|
|
343
351
|
}
|
|
344
352
|
)
|
|
345
353
|
end
|
data/rbi/orb/models/webhooks/subscription_license_allocation_reset_standard_webhook_event.rbi
CHANGED
|
@@ -366,11 +366,16 @@ module Orb
|
|
|
366
366
|
sig { returns(T.nilable(String)) }
|
|
367
367
|
attr_accessor :name
|
|
368
368
|
|
|
369
|
+
# The id of the default billing entity of this plan.
|
|
370
|
+
sig { returns(T.nilable(String)) }
|
|
371
|
+
attr_accessor :billing_entity_id
|
|
372
|
+
|
|
369
373
|
sig do
|
|
370
374
|
params(
|
|
371
375
|
id: T.nilable(String),
|
|
372
376
|
external_plan_id: T.nilable(String),
|
|
373
|
-
name: T.nilable(String)
|
|
377
|
+
name: T.nilable(String),
|
|
378
|
+
billing_entity_id: T.nilable(String)
|
|
374
379
|
).returns(T.attached_class)
|
|
375
380
|
end
|
|
376
381
|
def self.new(
|
|
@@ -379,7 +384,9 @@ module Orb
|
|
|
379
384
|
# as an alias for this Plan. Use this field to identify a plan by an existing
|
|
380
385
|
# identifier in your system.
|
|
381
386
|
external_plan_id:,
|
|
382
|
-
name
|
|
387
|
+
name:,
|
|
388
|
+
# The id of the default billing entity of this plan.
|
|
389
|
+
billing_entity_id: nil
|
|
383
390
|
)
|
|
384
391
|
end
|
|
385
392
|
|
|
@@ -388,7 +395,8 @@ module Orb
|
|
|
388
395
|
{
|
|
389
396
|
id: T.nilable(String),
|
|
390
397
|
external_plan_id: T.nilable(String),
|
|
391
|
-
name: T.nilable(String)
|
|
398
|
+
name: T.nilable(String),
|
|
399
|
+
billing_entity_id: T.nilable(String)
|
|
392
400
|
}
|
|
393
401
|
)
|
|
394
402
|
end
|
|
@@ -615,13 +615,18 @@ module Orb
|
|
|
615
615
|
sig { returns(String) }
|
|
616
616
|
attr_accessor :plan_version
|
|
617
617
|
|
|
618
|
+
# The id of the default billing entity of this plan.
|
|
619
|
+
sig { returns(T.nilable(String)) }
|
|
620
|
+
attr_accessor :billing_entity_id
|
|
621
|
+
|
|
618
622
|
# The plan the alert applies to.
|
|
619
623
|
sig do
|
|
620
624
|
params(
|
|
621
625
|
id: T.nilable(String),
|
|
622
626
|
external_plan_id: T.nilable(String),
|
|
623
627
|
name: T.nilable(String),
|
|
624
|
-
plan_version: String
|
|
628
|
+
plan_version: String,
|
|
629
|
+
billing_entity_id: T.nilable(String)
|
|
625
630
|
).returns(T.attached_class)
|
|
626
631
|
end
|
|
627
632
|
def self.new(
|
|
@@ -631,7 +636,9 @@ module Orb
|
|
|
631
636
|
# identifier in your system.
|
|
632
637
|
external_plan_id:,
|
|
633
638
|
name:,
|
|
634
|
-
plan_version
|
|
639
|
+
plan_version:,
|
|
640
|
+
# The id of the default billing entity of this plan.
|
|
641
|
+
billing_entity_id: nil
|
|
635
642
|
)
|
|
636
643
|
end
|
|
637
644
|
|
|
@@ -641,7 +648,8 @@ module Orb
|
|
|
641
648
|
id: T.nilable(String),
|
|
642
649
|
external_plan_id: T.nilable(String),
|
|
643
650
|
name: T.nilable(String),
|
|
644
|
-
plan_version: String
|
|
651
|
+
plan_version: String,
|
|
652
|
+
billing_entity_id: T.nilable(String)
|
|
645
653
|
}
|
|
646
654
|
)
|
|
647
655
|
end
|
|
@@ -1208,11 +1216,16 @@ module Orb
|
|
|
1208
1216
|
sig { returns(T.nilable(String)) }
|
|
1209
1217
|
attr_accessor :name
|
|
1210
1218
|
|
|
1219
|
+
# The id of the default billing entity of this plan.
|
|
1220
|
+
sig { returns(T.nilable(String)) }
|
|
1221
|
+
attr_accessor :billing_entity_id
|
|
1222
|
+
|
|
1211
1223
|
sig do
|
|
1212
1224
|
params(
|
|
1213
1225
|
id: T.nilable(String),
|
|
1214
1226
|
external_plan_id: T.nilable(String),
|
|
1215
|
-
name: T.nilable(String)
|
|
1227
|
+
name: T.nilable(String),
|
|
1228
|
+
billing_entity_id: T.nilable(String)
|
|
1216
1229
|
).returns(T.attached_class)
|
|
1217
1230
|
end
|
|
1218
1231
|
def self.new(
|
|
@@ -1221,7 +1234,9 @@ module Orb
|
|
|
1221
1234
|
# as an alias for this Plan. Use this field to identify a plan by an existing
|
|
1222
1235
|
# identifier in your system.
|
|
1223
1236
|
external_plan_id:,
|
|
1224
|
-
name
|
|
1237
|
+
name:,
|
|
1238
|
+
# The id of the default billing entity of this plan.
|
|
1239
|
+
billing_entity_id: nil
|
|
1225
1240
|
)
|
|
1226
1241
|
end
|
|
1227
1242
|
|
|
@@ -1230,7 +1245,8 @@ module Orb
|
|
|
1230
1245
|
{
|
|
1231
1246
|
id: T.nilable(String),
|
|
1232
1247
|
external_plan_id: T.nilable(String),
|
|
1233
|
-
name: T.nilable(String)
|
|
1248
|
+
name: T.nilable(String),
|
|
1249
|
+
billing_entity_id: T.nilable(String)
|
|
1234
1250
|
}
|
|
1235
1251
|
)
|
|
1236
1252
|
end
|
|
@@ -351,11 +351,16 @@ module Orb
|
|
|
351
351
|
sig { returns(T.nilable(String)) }
|
|
352
352
|
attr_accessor :name
|
|
353
353
|
|
|
354
|
+
# The id of the default billing entity of this plan.
|
|
355
|
+
sig { returns(T.nilable(String)) }
|
|
356
|
+
attr_accessor :billing_entity_id
|
|
357
|
+
|
|
354
358
|
sig do
|
|
355
359
|
params(
|
|
356
360
|
id: T.nilable(String),
|
|
357
361
|
external_plan_id: T.nilable(String),
|
|
358
|
-
name: T.nilable(String)
|
|
362
|
+
name: T.nilable(String),
|
|
363
|
+
billing_entity_id: T.nilable(String)
|
|
359
364
|
).returns(T.attached_class)
|
|
360
365
|
end
|
|
361
366
|
def self.new(
|
|
@@ -364,7 +369,9 @@ module Orb
|
|
|
364
369
|
# as an alias for this Plan. Use this field to identify a plan by an existing
|
|
365
370
|
# identifier in your system.
|
|
366
371
|
external_plan_id:,
|
|
367
|
-
name
|
|
372
|
+
name:,
|
|
373
|
+
# The id of the default billing entity of this plan.
|
|
374
|
+
billing_entity_id: nil
|
|
368
375
|
)
|
|
369
376
|
end
|
|
370
377
|
|
|
@@ -373,7 +380,8 @@ module Orb
|
|
|
373
380
|
{
|
|
374
381
|
id: T.nilable(String),
|
|
375
382
|
external_plan_id: T.nilable(String),
|
|
376
|
-
name: T.nilable(String)
|
|
383
|
+
name: T.nilable(String),
|
|
384
|
+
billing_entity_id: T.nilable(String)
|
|
377
385
|
}
|
|
378
386
|
)
|
|
379
387
|
end
|
|
@@ -331,11 +331,16 @@ module Orb
|
|
|
331
331
|
sig { returns(T.nilable(String)) }
|
|
332
332
|
attr_accessor :name
|
|
333
333
|
|
|
334
|
+
# The id of the default billing entity of this plan.
|
|
335
|
+
sig { returns(T.nilable(String)) }
|
|
336
|
+
attr_accessor :billing_entity_id
|
|
337
|
+
|
|
334
338
|
sig do
|
|
335
339
|
params(
|
|
336
340
|
id: T.nilable(String),
|
|
337
341
|
external_plan_id: T.nilable(String),
|
|
338
|
-
name: T.nilable(String)
|
|
342
|
+
name: T.nilable(String),
|
|
343
|
+
billing_entity_id: T.nilable(String)
|
|
339
344
|
).returns(T.attached_class)
|
|
340
345
|
end
|
|
341
346
|
def self.new(
|
|
@@ -344,7 +349,9 @@ module Orb
|
|
|
344
349
|
# as an alias for this Plan. Use this field to identify a plan by an existing
|
|
345
350
|
# identifier in your system.
|
|
346
351
|
external_plan_id:,
|
|
347
|
-
name
|
|
352
|
+
name:,
|
|
353
|
+
# The id of the default billing entity of this plan.
|
|
354
|
+
billing_entity_id: nil
|
|
348
355
|
)
|
|
349
356
|
end
|
|
350
357
|
|
|
@@ -353,7 +360,8 @@ module Orb
|
|
|
353
360
|
{
|
|
354
361
|
id: T.nilable(String),
|
|
355
362
|
external_plan_id: T.nilable(String),
|
|
356
|
-
name: T.nilable(String)
|
|
363
|
+
name: T.nilable(String),
|
|
364
|
+
billing_entity_id: T.nilable(String)
|
|
357
365
|
}
|
|
358
366
|
)
|
|
359
367
|
end
|
data/rbi/orb/models/webhooks/subscription_plan_version_change_scheduled_standard_webhook_event.rbi
CHANGED
|
@@ -355,11 +355,16 @@ module Orb
|
|
|
355
355
|
sig { returns(T.nilable(String)) }
|
|
356
356
|
attr_accessor :name
|
|
357
357
|
|
|
358
|
+
# The id of the default billing entity of this plan.
|
|
359
|
+
sig { returns(T.nilable(String)) }
|
|
360
|
+
attr_accessor :billing_entity_id
|
|
361
|
+
|
|
358
362
|
sig do
|
|
359
363
|
params(
|
|
360
364
|
id: T.nilable(String),
|
|
361
365
|
external_plan_id: T.nilable(String),
|
|
362
|
-
name: T.nilable(String)
|
|
366
|
+
name: T.nilable(String),
|
|
367
|
+
billing_entity_id: T.nilable(String)
|
|
363
368
|
).returns(T.attached_class)
|
|
364
369
|
end
|
|
365
370
|
def self.new(
|
|
@@ -368,7 +373,9 @@ module Orb
|
|
|
368
373
|
# as an alias for this Plan. Use this field to identify a plan by an existing
|
|
369
374
|
# identifier in your system.
|
|
370
375
|
external_plan_id:,
|
|
371
|
-
name
|
|
376
|
+
name:,
|
|
377
|
+
# The id of the default billing entity of this plan.
|
|
378
|
+
billing_entity_id: nil
|
|
372
379
|
)
|
|
373
380
|
end
|
|
374
381
|
|
|
@@ -377,7 +384,8 @@ module Orb
|
|
|
377
384
|
{
|
|
378
385
|
id: T.nilable(String),
|
|
379
386
|
external_plan_id: T.nilable(String),
|
|
380
|
-
name: T.nilable(String)
|
|
387
|
+
name: T.nilable(String),
|
|
388
|
+
billing_entity_id: T.nilable(String)
|
|
381
389
|
}
|
|
382
390
|
)
|
|
383
391
|
end
|
|
@@ -355,11 +355,16 @@ module Orb
|
|
|
355
355
|
sig { returns(T.nilable(String)) }
|
|
356
356
|
attr_accessor :name
|
|
357
357
|
|
|
358
|
+
# The id of the default billing entity of this plan.
|
|
359
|
+
sig { returns(T.nilable(String)) }
|
|
360
|
+
attr_accessor :billing_entity_id
|
|
361
|
+
|
|
358
362
|
sig do
|
|
359
363
|
params(
|
|
360
364
|
id: T.nilable(String),
|
|
361
365
|
external_plan_id: T.nilable(String),
|
|
362
|
-
name: T.nilable(String)
|
|
366
|
+
name: T.nilable(String),
|
|
367
|
+
billing_entity_id: T.nilable(String)
|
|
363
368
|
).returns(T.attached_class)
|
|
364
369
|
end
|
|
365
370
|
def self.new(
|
|
@@ -368,7 +373,9 @@ module Orb
|
|
|
368
373
|
# as an alias for this Plan. Use this field to identify a plan by an existing
|
|
369
374
|
# identifier in your system.
|
|
370
375
|
external_plan_id:,
|
|
371
|
-
name
|
|
376
|
+
name:,
|
|
377
|
+
# The id of the default billing entity of this plan.
|
|
378
|
+
billing_entity_id: nil
|
|
372
379
|
)
|
|
373
380
|
end
|
|
374
381
|
|
|
@@ -377,7 +384,8 @@ module Orb
|
|
|
377
384
|
{
|
|
378
385
|
id: T.nilable(String),
|
|
379
386
|
external_plan_id: T.nilable(String),
|
|
380
|
-
name: T.nilable(String)
|
|
387
|
+
name: T.nilable(String),
|
|
388
|
+
billing_entity_id: T.nilable(String)
|
|
381
389
|
}
|
|
382
390
|
)
|
|
383
391
|
end
|
|
@@ -608,13 +608,18 @@ module Orb
|
|
|
608
608
|
sig { returns(String) }
|
|
609
609
|
attr_accessor :plan_version
|
|
610
610
|
|
|
611
|
+
# The id of the default billing entity of this plan.
|
|
612
|
+
sig { returns(T.nilable(String)) }
|
|
613
|
+
attr_accessor :billing_entity_id
|
|
614
|
+
|
|
611
615
|
# The plan the alert applies to.
|
|
612
616
|
sig do
|
|
613
617
|
params(
|
|
614
618
|
id: T.nilable(String),
|
|
615
619
|
external_plan_id: T.nilable(String),
|
|
616
620
|
name: T.nilable(String),
|
|
617
|
-
plan_version: String
|
|
621
|
+
plan_version: String,
|
|
622
|
+
billing_entity_id: T.nilable(String)
|
|
618
623
|
).returns(T.attached_class)
|
|
619
624
|
end
|
|
620
625
|
def self.new(
|
|
@@ -624,7 +629,9 @@ module Orb
|
|
|
624
629
|
# identifier in your system.
|
|
625
630
|
external_plan_id:,
|
|
626
631
|
name:,
|
|
627
|
-
plan_version
|
|
632
|
+
plan_version:,
|
|
633
|
+
# The id of the default billing entity of this plan.
|
|
634
|
+
billing_entity_id: nil
|
|
628
635
|
)
|
|
629
636
|
end
|
|
630
637
|
|
|
@@ -634,7 +641,8 @@ module Orb
|
|
|
634
641
|
id: T.nilable(String),
|
|
635
642
|
external_plan_id: T.nilable(String),
|
|
636
643
|
name: T.nilable(String),
|
|
637
|
-
plan_version: String
|
|
644
|
+
plan_version: String,
|
|
645
|
+
billing_entity_id: T.nilable(String)
|
|
638
646
|
}
|
|
639
647
|
)
|
|
640
648
|
end
|
|
@@ -1197,11 +1205,16 @@ module Orb
|
|
|
1197
1205
|
sig { returns(T.nilable(String)) }
|
|
1198
1206
|
attr_accessor :name
|
|
1199
1207
|
|
|
1208
|
+
# The id of the default billing entity of this plan.
|
|
1209
|
+
sig { returns(T.nilable(String)) }
|
|
1210
|
+
attr_accessor :billing_entity_id
|
|
1211
|
+
|
|
1200
1212
|
sig do
|
|
1201
1213
|
params(
|
|
1202
1214
|
id: T.nilable(String),
|
|
1203
1215
|
external_plan_id: T.nilable(String),
|
|
1204
|
-
name: T.nilable(String)
|
|
1216
|
+
name: T.nilable(String),
|
|
1217
|
+
billing_entity_id: T.nilable(String)
|
|
1205
1218
|
).returns(T.attached_class)
|
|
1206
1219
|
end
|
|
1207
1220
|
def self.new(
|
|
@@ -1210,7 +1223,9 @@ module Orb
|
|
|
1210
1223
|
# as an alias for this Plan. Use this field to identify a plan by an existing
|
|
1211
1224
|
# identifier in your system.
|
|
1212
1225
|
external_plan_id:,
|
|
1213
|
-
name
|
|
1226
|
+
name:,
|
|
1227
|
+
# The id of the default billing entity of this plan.
|
|
1228
|
+
billing_entity_id: nil
|
|
1214
1229
|
)
|
|
1215
1230
|
end
|
|
1216
1231
|
|
|
@@ -1219,7 +1234,8 @@ module Orb
|
|
|
1219
1234
|
{
|
|
1220
1235
|
id: T.nilable(String),
|
|
1221
1236
|
external_plan_id: T.nilable(String),
|
|
1222
|
-
name: T.nilable(String)
|
|
1237
|
+
name: T.nilable(String),
|
|
1238
|
+
billing_entity_id: T.nilable(String)
|
|
1223
1239
|
}
|
|
1224
1240
|
)
|
|
1225
1241
|
end
|
|
@@ -296,11 +296,16 @@ module Orb
|
|
|
296
296
|
sig { returns(T.nilable(String)) }
|
|
297
297
|
attr_accessor :name
|
|
298
298
|
|
|
299
|
+
# The id of the default billing entity of this plan.
|
|
300
|
+
sig { returns(T.nilable(String)) }
|
|
301
|
+
attr_accessor :billing_entity_id
|
|
302
|
+
|
|
299
303
|
sig do
|
|
300
304
|
params(
|
|
301
305
|
id: T.nilable(String),
|
|
302
306
|
external_plan_id: T.nilable(String),
|
|
303
|
-
name: T.nilable(String)
|
|
307
|
+
name: T.nilable(String),
|
|
308
|
+
billing_entity_id: T.nilable(String)
|
|
304
309
|
).returns(T.attached_class)
|
|
305
310
|
end
|
|
306
311
|
def self.new(
|
|
@@ -309,7 +314,9 @@ module Orb
|
|
|
309
314
|
# as an alias for this Plan. Use this field to identify a plan by an existing
|
|
310
315
|
# identifier in your system.
|
|
311
316
|
external_plan_id:,
|
|
312
|
-
name
|
|
317
|
+
name:,
|
|
318
|
+
# The id of the default billing entity of this plan.
|
|
319
|
+
billing_entity_id: nil
|
|
313
320
|
)
|
|
314
321
|
end
|
|
315
322
|
|
|
@@ -318,7 +325,8 @@ module Orb
|
|
|
318
325
|
{
|
|
319
326
|
id: T.nilable(String),
|
|
320
327
|
external_plan_id: T.nilable(String),
|
|
321
|
-
name: T.nilable(String)
|
|
328
|
+
name: T.nilable(String),
|
|
329
|
+
billing_entity_id: T.nilable(String)
|
|
322
330
|
}
|
|
323
331
|
)
|
|
324
332
|
end
|
|
@@ -296,11 +296,16 @@ module Orb
|
|
|
296
296
|
sig { returns(T.nilable(String)) }
|
|
297
297
|
attr_accessor :name
|
|
298
298
|
|
|
299
|
+
# The id of the default billing entity of this plan.
|
|
300
|
+
sig { returns(T.nilable(String)) }
|
|
301
|
+
attr_accessor :billing_entity_id
|
|
302
|
+
|
|
299
303
|
sig do
|
|
300
304
|
params(
|
|
301
305
|
id: T.nilable(String),
|
|
302
306
|
external_plan_id: T.nilable(String),
|
|
303
|
-
name: T.nilable(String)
|
|
307
|
+
name: T.nilable(String),
|
|
308
|
+
billing_entity_id: T.nilable(String)
|
|
304
309
|
).returns(T.attached_class)
|
|
305
310
|
end
|
|
306
311
|
def self.new(
|
|
@@ -309,7 +314,9 @@ module Orb
|
|
|
309
314
|
# as an alias for this Plan. Use this field to identify a plan by an existing
|
|
310
315
|
# identifier in your system.
|
|
311
316
|
external_plan_id:,
|
|
312
|
-
name
|
|
317
|
+
name:,
|
|
318
|
+
# The id of the default billing entity of this plan.
|
|
319
|
+
billing_entity_id: nil
|
|
313
320
|
)
|
|
314
321
|
end
|
|
315
322
|
|
|
@@ -318,7 +325,8 @@ module Orb
|
|
|
318
325
|
{
|
|
319
326
|
id: T.nilable(String),
|
|
320
327
|
external_plan_id: T.nilable(String),
|
|
321
|
-
name: T.nilable(String)
|
|
328
|
+
name: T.nilable(String),
|
|
329
|
+
billing_entity_id: T.nilable(String)
|
|
322
330
|
}
|
|
323
331
|
)
|
|
324
332
|
end
|
|
@@ -614,13 +614,18 @@ module Orb
|
|
|
614
614
|
sig { returns(String) }
|
|
615
615
|
attr_accessor :plan_version
|
|
616
616
|
|
|
617
|
+
# The id of the default billing entity of this plan.
|
|
618
|
+
sig { returns(T.nilable(String)) }
|
|
619
|
+
attr_accessor :billing_entity_id
|
|
620
|
+
|
|
617
621
|
# The plan the alert applies to.
|
|
618
622
|
sig do
|
|
619
623
|
params(
|
|
620
624
|
id: T.nilable(String),
|
|
621
625
|
external_plan_id: T.nilable(String),
|
|
622
626
|
name: T.nilable(String),
|
|
623
|
-
plan_version: String
|
|
627
|
+
plan_version: String,
|
|
628
|
+
billing_entity_id: T.nilable(String)
|
|
624
629
|
).returns(T.attached_class)
|
|
625
630
|
end
|
|
626
631
|
def self.new(
|
|
@@ -630,7 +635,9 @@ module Orb
|
|
|
630
635
|
# identifier in your system.
|
|
631
636
|
external_plan_id:,
|
|
632
637
|
name:,
|
|
633
|
-
plan_version
|
|
638
|
+
plan_version:,
|
|
639
|
+
# The id of the default billing entity of this plan.
|
|
640
|
+
billing_entity_id: nil
|
|
634
641
|
)
|
|
635
642
|
end
|
|
636
643
|
|
|
@@ -640,7 +647,8 @@ module Orb
|
|
|
640
647
|
id: T.nilable(String),
|
|
641
648
|
external_plan_id: T.nilable(String),
|
|
642
649
|
name: T.nilable(String),
|
|
643
|
-
plan_version: String
|
|
650
|
+
plan_version: String,
|
|
651
|
+
billing_entity_id: T.nilable(String)
|
|
644
652
|
}
|
|
645
653
|
)
|
|
646
654
|
end
|
|
@@ -1203,11 +1211,16 @@ module Orb
|
|
|
1203
1211
|
sig { returns(T.nilable(String)) }
|
|
1204
1212
|
attr_accessor :name
|
|
1205
1213
|
|
|
1214
|
+
# The id of the default billing entity of this plan.
|
|
1215
|
+
sig { returns(T.nilable(String)) }
|
|
1216
|
+
attr_accessor :billing_entity_id
|
|
1217
|
+
|
|
1206
1218
|
sig do
|
|
1207
1219
|
params(
|
|
1208
1220
|
id: T.nilable(String),
|
|
1209
1221
|
external_plan_id: T.nilable(String),
|
|
1210
|
-
name: T.nilable(String)
|
|
1222
|
+
name: T.nilable(String),
|
|
1223
|
+
billing_entity_id: T.nilable(String)
|
|
1211
1224
|
).returns(T.attached_class)
|
|
1212
1225
|
end
|
|
1213
1226
|
def self.new(
|
|
@@ -1216,7 +1229,9 @@ module Orb
|
|
|
1216
1229
|
# as an alias for this Plan. Use this field to identify a plan by an existing
|
|
1217
1230
|
# identifier in your system.
|
|
1218
1231
|
external_plan_id:,
|
|
1219
|
-
name
|
|
1232
|
+
name:,
|
|
1233
|
+
# The id of the default billing entity of this plan.
|
|
1234
|
+
billing_entity_id: nil
|
|
1220
1235
|
)
|
|
1221
1236
|
end
|
|
1222
1237
|
|
|
@@ -1225,7 +1240,8 @@ module Orb
|
|
|
1225
1240
|
{
|
|
1226
1241
|
id: T.nilable(String),
|
|
1227
1242
|
external_plan_id: T.nilable(String),
|
|
1228
|
-
name: T.nilable(String)
|
|
1243
|
+
name: T.nilable(String),
|
|
1244
|
+
billing_entity_id: T.nilable(String)
|
|
1229
1245
|
}
|
|
1230
1246
|
)
|
|
1231
1247
|
end
|