orb-billing 1.59.0 → 1.61.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 +17 -0
- data/README.md +1 -1
- data/lib/orb/client.rb +4 -0
- data/lib/orb/models/account/billing_entity.rb +214 -0
- data/lib/orb/models/account/billing_entity_archive_by_external_id_params.rb +22 -0
- data/lib/orb/models/account/billing_entity_archive_params.rb +22 -0
- data/lib/orb/models/account/billing_entity_create_params.rb +117 -0
- data/lib/orb/models/account/billing_entity_fetch_by_external_id_params.rb +22 -0
- data/lib/orb/models/account/billing_entity_fetch_params.rb +22 -0
- data/lib/orb/models/account/billing_entity_list_params.rb +55 -0
- data/lib/orb/models/account/billing_entity_unarchive_by_external_id_params.rb +22 -0
- data/lib/orb/models/account/billing_entity_unarchive_params.rb +22 -0
- data/lib/orb/models/account/billing_entity_update_by_external_id_params.rb +177 -0
- data/lib/orb/models/account/billing_entity_update_params.rb +179 -0
- data/lib/orb/models/account/payment_gateway_connection.rb +75 -0
- data/lib/orb/models/account/payment_gateway_connection_fetch_params.rb +22 -0
- data/lib/orb/models/account/payment_gateway_connection_list_params.rb +65 -0
- 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/customers/customer_payment_gateway_connection.rb +89 -0
- data/lib/orb/models/customers/payment_gateway_connection_create_by_external_id_params.rb +53 -0
- data/lib/orb/models/customers/payment_gateway_connection_create_params.rb +52 -0
- data/lib/orb/models/customers/payment_gateway_connection_delete_by_external_id_params.rb +28 -0
- data/lib/orb/models/customers/payment_gateway_connection_delete_params.rb +28 -0
- data/lib/orb/models/customers/payment_gateway_connection_list_by_external_id_params.rb +39 -0
- data/lib/orb/models/customers/payment_gateway_connection_list_by_external_id_response.rb +25 -0
- data/lib/orb/models/customers/payment_gateway_connection_list_params.rb +39 -0
- data/lib/orb/models/customers/payment_gateway_connection_list_response.rb +25 -0
- data/lib/orb/models/customers/payment_gateway_connection_update_by_external_id_params.rb +68 -0
- data/lib/orb/models/customers/payment_gateway_connection_update_params.rb +67 -0
- 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/models.rb +2 -0
- data/lib/orb/resources/account/billing_entities.rb +321 -0
- data/lib/orb/resources/account/payment_gateway_connections.rb +71 -0
- data/lib/orb/resources/account.rb +26 -0
- data/lib/orb/resources/credit_notes.rb +4 -3
- data/lib/orb/resources/customers/payment_gateway_connections.rb +310 -0
- data/lib/orb/resources/customers.rb +31 -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/lib/orb.rb +29 -0
- data/rbi/orb/client.rbi +3 -0
- data/rbi/orb/models/account/billing_entity.rbi +342 -0
- data/rbi/orb/models/account/billing_entity_archive_by_external_id_params.rbi +43 -0
- data/rbi/orb/models/account/billing_entity_archive_params.rbi +40 -0
- data/rbi/orb/models/account/billing_entity_create_params.rbi +208 -0
- data/rbi/orb/models/account/billing_entity_fetch_by_external_id_params.rbi +43 -0
- data/rbi/orb/models/account/billing_entity_fetch_params.rbi +40 -0
- data/rbi/orb/models/account/billing_entity_list_params.rbi +108 -0
- data/rbi/orb/models/account/billing_entity_unarchive_by_external_id_params.rbi +43 -0
- data/rbi/orb/models/account/billing_entity_unarchive_params.rbi +40 -0
- data/rbi/orb/models/account/billing_entity_update_by_external_id_params.rbi +335 -0
- data/rbi/orb/models/account/billing_entity_update_params.rbi +331 -0
- data/rbi/orb/models/account/payment_gateway_connection.rbi +125 -0
- data/rbi/orb/models/account/payment_gateway_connection_fetch_params.rbi +43 -0
- data/rbi/orb/models/account/payment_gateway_connection_list_params.rbi +124 -0
- 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/customers/customer_payment_gateway_connection.rbi +139 -0
- data/rbi/orb/models/customers/payment_gateway_connection_create_by_external_id_params.rbi +77 -0
- data/rbi/orb/models/customers/payment_gateway_connection_create_params.rbi +77 -0
- data/rbi/orb/models/customers/payment_gateway_connection_delete_by_external_id_params.rbi +52 -0
- data/rbi/orb/models/customers/payment_gateway_connection_delete_params.rbi +52 -0
- data/rbi/orb/models/customers/payment_gateway_connection_list_by_external_id_params.rbi +62 -0
- data/rbi/orb/models/customers/payment_gateway_connection_list_by_external_id_response.rbi +47 -0
- data/rbi/orb/models/customers/payment_gateway_connection_list_params.rbi +62 -0
- data/rbi/orb/models/customers/payment_gateway_connection_list_response.rbi +47 -0
- data/rbi/orb/models/customers/payment_gateway_connection_update_by_external_id_params.rbi +120 -0
- data/rbi/orb/models/customers/payment_gateway_connection_update_params.rbi +120 -0
- 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/models.rbi +2 -0
- data/rbi/orb/resources/account/billing_entities.rbi +289 -0
- data/rbi/orb/resources/account/payment_gateway_connections.rbi +54 -0
- data/rbi/orb/resources/account.rbi +22 -0
- data/rbi/orb/resources/credit_notes.rbi +6 -2
- data/rbi/orb/resources/customers/payment_gateway_connections.rbi +234 -0
- data/rbi/orb/resources/customers.rbi +33 -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/client.rbs +2 -0
- data/sig/orb/models/account/billing_entity.rbs +155 -0
- data/sig/orb/models/account/billing_entity_archive_by_external_id_params.rbs +26 -0
- data/sig/orb/models/account/billing_entity_archive_params.rbs +25 -0
- data/sig/orb/models/account/billing_entity_create_params.rbs +86 -0
- data/sig/orb/models/account/billing_entity_fetch_by_external_id_params.rbs +26 -0
- data/sig/orb/models/account/billing_entity_fetch_params.rbs +25 -0
- data/sig/orb/models/account/billing_entity_list_params.rbs +51 -0
- data/sig/orb/models/account/billing_entity_unarchive_by_external_id_params.rbs +26 -0
- data/sig/orb/models/account/billing_entity_unarchive_params.rbs +25 -0
- data/sig/orb/models/account/billing_entity_update_by_external_id_params.rbs +125 -0
- data/sig/orb/models/account/billing_entity_update_params.rbs +125 -0
- data/sig/orb/models/account/payment_gateway_connection.rbs +58 -0
- data/sig/orb/models/account/payment_gateway_connection_fetch_params.rbs +26 -0
- data/sig/orb/models/account/payment_gateway_connection_list_params.rbs +56 -0
- 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/customers/customer_payment_gateway_connection.rbs +65 -0
- data/sig/orb/models/customers/payment_gateway_connection_create_by_external_id_params.rbs +45 -0
- data/sig/orb/models/customers/payment_gateway_connection_create_params.rbs +45 -0
- data/sig/orb/models/customers/payment_gateway_connection_delete_by_external_id_params.rbs +30 -0
- data/sig/orb/models/customers/payment_gateway_connection_delete_params.rbs +30 -0
- data/sig/orb/models/customers/payment_gateway_connection_list_by_external_id_params.rbs +38 -0
- data/sig/orb/models/customers/payment_gateway_connection_list_by_external_id_response.rbs +27 -0
- data/sig/orb/models/customers/payment_gateway_connection_list_params.rbs +38 -0
- data/sig/orb/models/customers/payment_gateway_connection_list_response.rbs +27 -0
- data/sig/orb/models/customers/payment_gateway_connection_update_by_external_id_params.rbs +53 -0
- data/sig/orb/models/customers/payment_gateway_connection_update_params.rbs +53 -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/models.rbs +2 -0
- data/sig/orb/resources/account/billing_entities.rbs +80 -0
- data/sig/orb/resources/account/payment_gateway_connections.rbs +22 -0
- data/sig/orb/resources/account.rbs +11 -0
- data/sig/orb/resources/credit_notes.rbs +1 -0
- data/sig/orb/resources/customers/payment_gateway_connections.rbs +67 -0
- data/sig/orb/resources/customers.rbs +5 -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 +88 -1
|
@@ -189,7 +189,8 @@ module Orb
|
|
|
189
189
|
id: String?,
|
|
190
190
|
external_plan_id: String?,
|
|
191
191
|
name: String?,
|
|
192
|
-
plan_version: String
|
|
192
|
+
plan_version: String,
|
|
193
|
+
billing_entity_id: String?
|
|
193
194
|
}
|
|
194
195
|
|
|
195
196
|
class Plan < Orb::Internal::Type::BaseModel
|
|
@@ -201,18 +202,22 @@ module Orb
|
|
|
201
202
|
|
|
202
203
|
attr_accessor plan_version: String
|
|
203
204
|
|
|
205
|
+
attr_accessor billing_entity_id: String?
|
|
206
|
+
|
|
204
207
|
def initialize: (
|
|
205
208
|
id: String?,
|
|
206
209
|
external_plan_id: String?,
|
|
207
210
|
name: String?,
|
|
208
|
-
plan_version: String
|
|
211
|
+
plan_version: String,
|
|
212
|
+
?billing_entity_id: String?
|
|
209
213
|
) -> void
|
|
210
214
|
|
|
211
215
|
def to_hash: -> {
|
|
212
216
|
id: String?,
|
|
213
217
|
external_plan_id: String?,
|
|
214
218
|
name: String?,
|
|
215
|
-
plan_version: String
|
|
219
|
+
plan_version: String,
|
|
220
|
+
billing_entity_id: String?
|
|
216
221
|
}
|
|
217
222
|
end
|
|
218
223
|
|
|
@@ -432,7 +437,13 @@ module Orb
|
|
|
432
437
|
status: Orb::Models::SubscriptionGroupedCostExceededWebhookEvent::Subscription::status
|
|
433
438
|
}
|
|
434
439
|
|
|
435
|
-
type plan =
|
|
440
|
+
type plan =
|
|
441
|
+
{
|
|
442
|
+
id: String?,
|
|
443
|
+
external_plan_id: String?,
|
|
444
|
+
name: String?,
|
|
445
|
+
billing_entity_id: String?
|
|
446
|
+
}
|
|
436
447
|
|
|
437
448
|
class Plan < Orb::Internal::Type::BaseModel
|
|
438
449
|
attr_accessor id: String?
|
|
@@ -441,16 +452,20 @@ module Orb
|
|
|
441
452
|
|
|
442
453
|
attr_accessor name: String?
|
|
443
454
|
|
|
455
|
+
attr_accessor billing_entity_id: String?
|
|
456
|
+
|
|
444
457
|
def initialize: (
|
|
445
458
|
id: String?,
|
|
446
459
|
external_plan_id: String?,
|
|
447
|
-
name: String
|
|
460
|
+
name: String?,
|
|
461
|
+
?billing_entity_id: String?
|
|
448
462
|
) -> void
|
|
449
463
|
|
|
450
464
|
def to_hash: -> {
|
|
451
465
|
id: String?,
|
|
452
466
|
external_plan_id: String?,
|
|
453
|
-
name: String
|
|
467
|
+
name: String?,
|
|
468
|
+
billing_entity_id: String?
|
|
454
469
|
}
|
|
455
470
|
end
|
|
456
471
|
|
|
@@ -125,7 +125,13 @@ module Orb
|
|
|
125
125
|
status: Orb::Models::SubscriptionInvoicingThresholdExceededWebhookEvent::Subscription::status
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
type plan =
|
|
128
|
+
type plan =
|
|
129
|
+
{
|
|
130
|
+
id: String?,
|
|
131
|
+
external_plan_id: String?,
|
|
132
|
+
name: String?,
|
|
133
|
+
billing_entity_id: String?
|
|
134
|
+
}
|
|
129
135
|
|
|
130
136
|
class Plan < Orb::Internal::Type::BaseModel
|
|
131
137
|
attr_accessor id: String?
|
|
@@ -134,16 +140,20 @@ module Orb
|
|
|
134
140
|
|
|
135
141
|
attr_accessor name: String?
|
|
136
142
|
|
|
143
|
+
attr_accessor billing_entity_id: String?
|
|
144
|
+
|
|
137
145
|
def initialize: (
|
|
138
146
|
id: String?,
|
|
139
147
|
external_plan_id: String?,
|
|
140
|
-
name: String
|
|
148
|
+
name: String?,
|
|
149
|
+
?billing_entity_id: String?
|
|
141
150
|
) -> void
|
|
142
151
|
|
|
143
152
|
def to_hash: -> {
|
|
144
153
|
id: String?,
|
|
145
154
|
external_plan_id: String?,
|
|
146
|
-
name: String
|
|
155
|
+
name: String?,
|
|
156
|
+
billing_entity_id: String?
|
|
147
157
|
}
|
|
148
158
|
end
|
|
149
159
|
|
|
@@ -147,7 +147,13 @@ module Orb
|
|
|
147
147
|
status: Orb::Models::SubscriptionLicenseAllocationResetWebhookEvent::Subscription::status
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
type plan =
|
|
150
|
+
type plan =
|
|
151
|
+
{
|
|
152
|
+
id: String?,
|
|
153
|
+
external_plan_id: String?,
|
|
154
|
+
name: String?,
|
|
155
|
+
billing_entity_id: String?
|
|
156
|
+
}
|
|
151
157
|
|
|
152
158
|
class Plan < Orb::Internal::Type::BaseModel
|
|
153
159
|
attr_accessor id: String?
|
|
@@ -156,16 +162,20 @@ module Orb
|
|
|
156
162
|
|
|
157
163
|
attr_accessor name: String?
|
|
158
164
|
|
|
165
|
+
attr_accessor billing_entity_id: String?
|
|
166
|
+
|
|
159
167
|
def initialize: (
|
|
160
168
|
id: String?,
|
|
161
169
|
external_plan_id: String?,
|
|
162
|
-
name: String
|
|
170
|
+
name: String?,
|
|
171
|
+
?billing_entity_id: String?
|
|
163
172
|
) -> void
|
|
164
173
|
|
|
165
174
|
def to_hash: -> {
|
|
166
175
|
id: String?,
|
|
167
176
|
external_plan_id: String?,
|
|
168
|
-
name: String
|
|
177
|
+
name: String?,
|
|
178
|
+
billing_entity_id: String?
|
|
169
179
|
}
|
|
170
180
|
end
|
|
171
181
|
|
|
@@ -184,7 +184,8 @@ module Orb
|
|
|
184
184
|
id: String?,
|
|
185
185
|
external_plan_id: String?,
|
|
186
186
|
name: String?,
|
|
187
|
-
plan_version: String
|
|
187
|
+
plan_version: String,
|
|
188
|
+
billing_entity_id: String?
|
|
188
189
|
}
|
|
189
190
|
|
|
190
191
|
class Plan < Orb::Internal::Type::BaseModel
|
|
@@ -196,18 +197,22 @@ module Orb
|
|
|
196
197
|
|
|
197
198
|
attr_accessor plan_version: String
|
|
198
199
|
|
|
200
|
+
attr_accessor billing_entity_id: String?
|
|
201
|
+
|
|
199
202
|
def initialize: (
|
|
200
203
|
id: String?,
|
|
201
204
|
external_plan_id: String?,
|
|
202
205
|
name: String?,
|
|
203
|
-
plan_version: String
|
|
206
|
+
plan_version: String,
|
|
207
|
+
?billing_entity_id: String?
|
|
204
208
|
) -> void
|
|
205
209
|
|
|
206
210
|
def to_hash: -> {
|
|
207
211
|
id: String?,
|
|
208
212
|
external_plan_id: String?,
|
|
209
213
|
name: String?,
|
|
210
|
-
plan_version: String
|
|
214
|
+
plan_version: String,
|
|
215
|
+
billing_entity_id: String?
|
|
211
216
|
}
|
|
212
217
|
end
|
|
213
218
|
|
|
@@ -427,7 +432,13 @@ module Orb
|
|
|
427
432
|
status: Orb::Models::SubscriptionLicenseBalanceThresholdReachedWebhookEvent::Subscription::status
|
|
428
433
|
}
|
|
429
434
|
|
|
430
|
-
type plan =
|
|
435
|
+
type plan =
|
|
436
|
+
{
|
|
437
|
+
id: String?,
|
|
438
|
+
external_plan_id: String?,
|
|
439
|
+
name: String?,
|
|
440
|
+
billing_entity_id: String?
|
|
441
|
+
}
|
|
431
442
|
|
|
432
443
|
class Plan < Orb::Internal::Type::BaseModel
|
|
433
444
|
attr_accessor id: String?
|
|
@@ -436,16 +447,20 @@ module Orb
|
|
|
436
447
|
|
|
437
448
|
attr_accessor name: String?
|
|
438
449
|
|
|
450
|
+
attr_accessor billing_entity_id: String?
|
|
451
|
+
|
|
439
452
|
def initialize: (
|
|
440
453
|
id: String?,
|
|
441
454
|
external_plan_id: String?,
|
|
442
|
-
name: String
|
|
455
|
+
name: String?,
|
|
456
|
+
?billing_entity_id: String?
|
|
443
457
|
) -> void
|
|
444
458
|
|
|
445
459
|
def to_hash: -> {
|
|
446
460
|
id: String?,
|
|
447
461
|
external_plan_id: String?,
|
|
448
|
-
name: String
|
|
462
|
+
name: String?,
|
|
463
|
+
billing_entity_id: String?
|
|
449
464
|
}
|
|
450
465
|
end
|
|
451
466
|
|
|
@@ -2,6 +2,7 @@ module Orb
|
|
|
2
2
|
module Models
|
|
3
3
|
type subscription_list_params =
|
|
4
4
|
{
|
|
5
|
+
billing_entity_id: String?,
|
|
5
6
|
created_at_gt: Time?,
|
|
6
7
|
created_at_gte: Time?,
|
|
7
8
|
created_at_lt: Time?,
|
|
@@ -20,6 +21,8 @@ module Orb
|
|
|
20
21
|
extend Orb::Internal::Type::RequestParameters::Converter
|
|
21
22
|
include Orb::Internal::Type::RequestParameters
|
|
22
23
|
|
|
24
|
+
attr_accessor billing_entity_id: String?
|
|
25
|
+
|
|
23
26
|
attr_accessor created_at_gt: Time?
|
|
24
27
|
|
|
25
28
|
attr_accessor created_at_gte: Time?
|
|
@@ -45,6 +48,7 @@ module Orb
|
|
|
45
48
|
attr_accessor status: Orb::Models::SubscriptionListParams::status?
|
|
46
49
|
|
|
47
50
|
def initialize: (
|
|
51
|
+
?billing_entity_id: String?,
|
|
48
52
|
?created_at_gt: Time?,
|
|
49
53
|
?created_at_gte: Time?,
|
|
50
54
|
?created_at_lt: Time?,
|
|
@@ -60,6 +64,7 @@ module Orb
|
|
|
60
64
|
) -> void
|
|
61
65
|
|
|
62
66
|
def to_hash: -> {
|
|
67
|
+
billing_entity_id: String?,
|
|
63
68
|
created_at_gt: Time?,
|
|
64
69
|
created_at_gte: Time?,
|
|
65
70
|
created_at_lt: Time?,
|
|
@@ -2,6 +2,7 @@ module Orb
|
|
|
2
2
|
module Models
|
|
3
3
|
type subscription_list_summary_params =
|
|
4
4
|
{
|
|
5
|
+
billing_entity_id: String?,
|
|
5
6
|
created_at_gt: Time?,
|
|
6
7
|
created_at_gte: Time?,
|
|
7
8
|
created_at_lt: Time?,
|
|
@@ -20,6 +21,8 @@ module Orb
|
|
|
20
21
|
extend Orb::Internal::Type::RequestParameters::Converter
|
|
21
22
|
include Orb::Internal::Type::RequestParameters
|
|
22
23
|
|
|
24
|
+
attr_accessor billing_entity_id: String?
|
|
25
|
+
|
|
23
26
|
attr_accessor created_at_gt: Time?
|
|
24
27
|
|
|
25
28
|
attr_accessor created_at_gte: Time?
|
|
@@ -45,6 +48,7 @@ module Orb
|
|
|
45
48
|
attr_accessor status: Orb::Models::SubscriptionListSummaryParams::status?
|
|
46
49
|
|
|
47
50
|
def initialize: (
|
|
51
|
+
?billing_entity_id: String?,
|
|
48
52
|
?created_at_gt: Time?,
|
|
49
53
|
?created_at_gte: Time?,
|
|
50
54
|
?created_at_lt: Time?,
|
|
@@ -60,6 +64,7 @@ module Orb
|
|
|
60
64
|
) -> void
|
|
61
65
|
|
|
62
66
|
def to_hash: -> {
|
|
67
|
+
billing_entity_id: String?,
|
|
63
68
|
created_at_gt: Time?,
|
|
64
69
|
created_at_gte: Time?,
|
|
65
70
|
created_at_lt: Time?,
|
|
@@ -56,7 +56,13 @@ module Orb
|
|
|
56
56
|
status: Orb::Models::SubscriptionListSummaryResponse::status
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
type plan =
|
|
59
|
+
type plan =
|
|
60
|
+
{
|
|
61
|
+
id: String?,
|
|
62
|
+
external_plan_id: String?,
|
|
63
|
+
name: String?,
|
|
64
|
+
billing_entity_id: String?
|
|
65
|
+
}
|
|
60
66
|
|
|
61
67
|
class Plan < Orb::Internal::Type::BaseModel
|
|
62
68
|
attr_accessor id: String?
|
|
@@ -65,16 +71,20 @@ module Orb
|
|
|
65
71
|
|
|
66
72
|
attr_accessor name: String?
|
|
67
73
|
|
|
74
|
+
attr_accessor billing_entity_id: String?
|
|
75
|
+
|
|
68
76
|
def initialize: (
|
|
69
77
|
id: String?,
|
|
70
78
|
external_plan_id: String?,
|
|
71
|
-
name: String
|
|
79
|
+
name: String?,
|
|
80
|
+
?billing_entity_id: String?
|
|
72
81
|
) -> void
|
|
73
82
|
|
|
74
83
|
def to_hash: -> {
|
|
75
84
|
id: String?,
|
|
76
85
|
external_plan_id: String?,
|
|
77
|
-
name: String
|
|
86
|
+
name: String?,
|
|
87
|
+
billing_entity_id: String?
|
|
78
88
|
}
|
|
79
89
|
end
|
|
80
90
|
|
|
@@ -189,7 +189,8 @@ module Orb
|
|
|
189
189
|
id: String?,
|
|
190
190
|
external_plan_id: String?,
|
|
191
191
|
name: String?,
|
|
192
|
-
plan_version: String
|
|
192
|
+
plan_version: String,
|
|
193
|
+
billing_entity_id: String?
|
|
193
194
|
}
|
|
194
195
|
|
|
195
196
|
class Plan < Orb::Internal::Type::BaseModel
|
|
@@ -201,18 +202,22 @@ module Orb
|
|
|
201
202
|
|
|
202
203
|
attr_accessor plan_version: String
|
|
203
204
|
|
|
205
|
+
attr_accessor billing_entity_id: String?
|
|
206
|
+
|
|
204
207
|
def initialize: (
|
|
205
208
|
id: String?,
|
|
206
209
|
external_plan_id: String?,
|
|
207
210
|
name: String?,
|
|
208
|
-
plan_version: String
|
|
211
|
+
plan_version: String,
|
|
212
|
+
?billing_entity_id: String?
|
|
209
213
|
) -> void
|
|
210
214
|
|
|
211
215
|
def to_hash: -> {
|
|
212
216
|
id: String?,
|
|
213
217
|
external_plan_id: String?,
|
|
214
218
|
name: String?,
|
|
215
|
-
plan_version: String
|
|
219
|
+
plan_version: String,
|
|
220
|
+
billing_entity_id: String?
|
|
216
221
|
}
|
|
217
222
|
end
|
|
218
223
|
|
|
@@ -194,7 +194,8 @@ module Orb
|
|
|
194
194
|
id: String?,
|
|
195
195
|
external_plan_id: String?,
|
|
196
196
|
name: String?,
|
|
197
|
-
plan_version: String
|
|
197
|
+
plan_version: String,
|
|
198
|
+
billing_entity_id: String?
|
|
198
199
|
}
|
|
199
200
|
|
|
200
201
|
class Plan < Orb::Internal::Type::BaseModel
|
|
@@ -206,18 +207,22 @@ module Orb
|
|
|
206
207
|
|
|
207
208
|
attr_accessor plan_version: String
|
|
208
209
|
|
|
210
|
+
attr_accessor billing_entity_id: String?
|
|
211
|
+
|
|
209
212
|
def initialize: (
|
|
210
213
|
id: String?,
|
|
211
214
|
external_plan_id: String?,
|
|
212
215
|
name: String?,
|
|
213
|
-
plan_version: String
|
|
216
|
+
plan_version: String,
|
|
217
|
+
?billing_entity_id: String?
|
|
214
218
|
) -> void
|
|
215
219
|
|
|
216
220
|
def to_hash: -> {
|
|
217
221
|
id: String?,
|
|
218
222
|
external_plan_id: String?,
|
|
219
223
|
name: String?,
|
|
220
|
-
plan_version: String
|
|
224
|
+
plan_version: String,
|
|
225
|
+
billing_entity_id: String?
|
|
221
226
|
}
|
|
222
227
|
end
|
|
223
228
|
|
|
@@ -175,7 +175,8 @@ module Orb
|
|
|
175
175
|
id: String?,
|
|
176
176
|
external_plan_id: String?,
|
|
177
177
|
name: String?,
|
|
178
|
-
plan_version: String
|
|
178
|
+
plan_version: String,
|
|
179
|
+
billing_entity_id: String?
|
|
179
180
|
}
|
|
180
181
|
|
|
181
182
|
class Plan < Orb::Internal::Type::BaseModel
|
|
@@ -187,18 +188,22 @@ module Orb
|
|
|
187
188
|
|
|
188
189
|
attr_accessor plan_version: String
|
|
189
190
|
|
|
191
|
+
attr_accessor billing_entity_id: String?
|
|
192
|
+
|
|
190
193
|
def initialize: (
|
|
191
194
|
id: String?,
|
|
192
195
|
external_plan_id: String?,
|
|
193
196
|
name: String?,
|
|
194
|
-
plan_version: String
|
|
197
|
+
plan_version: String,
|
|
198
|
+
?billing_entity_id: String?
|
|
195
199
|
) -> void
|
|
196
200
|
|
|
197
201
|
def to_hash: -> {
|
|
198
202
|
id: String?,
|
|
199
203
|
external_plan_id: String?,
|
|
200
204
|
name: String?,
|
|
201
|
-
plan_version: String
|
|
205
|
+
plan_version: String,
|
|
206
|
+
billing_entity_id: String?
|
|
202
207
|
}
|
|
203
208
|
end
|
|
204
209
|
|
|
@@ -180,7 +180,8 @@ module Orb
|
|
|
180
180
|
id: String?,
|
|
181
181
|
external_plan_id: String?,
|
|
182
182
|
name: String?,
|
|
183
|
-
plan_version: String
|
|
183
|
+
plan_version: String,
|
|
184
|
+
billing_entity_id: String?
|
|
184
185
|
}
|
|
185
186
|
|
|
186
187
|
class Plan < Orb::Internal::Type::BaseModel
|
|
@@ -192,18 +193,22 @@ module Orb
|
|
|
192
193
|
|
|
193
194
|
attr_accessor plan_version: String
|
|
194
195
|
|
|
196
|
+
attr_accessor billing_entity_id: String?
|
|
197
|
+
|
|
195
198
|
def initialize: (
|
|
196
199
|
id: String?,
|
|
197
200
|
external_plan_id: String?,
|
|
198
201
|
name: String?,
|
|
199
|
-
plan_version: String
|
|
202
|
+
plan_version: String,
|
|
203
|
+
?billing_entity_id: String?
|
|
200
204
|
) -> void
|
|
201
205
|
|
|
202
206
|
def to_hash: -> {
|
|
203
207
|
id: String?,
|
|
204
208
|
external_plan_id: String?,
|
|
205
209
|
name: String?,
|
|
206
|
-
plan_version: String
|
|
210
|
+
plan_version: String,
|
|
211
|
+
billing_entity_id: String?
|
|
207
212
|
}
|
|
208
213
|
end
|
|
209
214
|
|
|
@@ -175,7 +175,8 @@ module Orb
|
|
|
175
175
|
id: String?,
|
|
176
176
|
external_plan_id: String?,
|
|
177
177
|
name: String?,
|
|
178
|
-
plan_version: String
|
|
178
|
+
plan_version: String,
|
|
179
|
+
billing_entity_id: String?
|
|
179
180
|
}
|
|
180
181
|
|
|
181
182
|
class Plan < Orb::Internal::Type::BaseModel
|
|
@@ -187,18 +188,22 @@ module Orb
|
|
|
187
188
|
|
|
188
189
|
attr_accessor plan_version: String
|
|
189
190
|
|
|
191
|
+
attr_accessor billing_entity_id: String?
|
|
192
|
+
|
|
190
193
|
def initialize: (
|
|
191
194
|
id: String?,
|
|
192
195
|
external_plan_id: String?,
|
|
193
196
|
name: String?,
|
|
194
|
-
plan_version: String
|
|
197
|
+
plan_version: String,
|
|
198
|
+
?billing_entity_id: String?
|
|
195
199
|
) -> void
|
|
196
200
|
|
|
197
201
|
def to_hash: -> {
|
|
198
202
|
id: String?,
|
|
199
203
|
external_plan_id: String?,
|
|
200
204
|
name: String?,
|
|
201
|
-
plan_version: String
|
|
205
|
+
plan_version: String,
|
|
206
|
+
billing_entity_id: String?
|
|
202
207
|
}
|
|
203
208
|
end
|
|
204
209
|
|
|
@@ -73,6 +73,7 @@ module Orb
|
|
|
73
73
|
{
|
|
74
74
|
auto_collection: bool?,
|
|
75
75
|
billing_address: Orb::Address?,
|
|
76
|
+
billing_entity_id: String?,
|
|
76
77
|
default_payment_method_id: String?,
|
|
77
78
|
email: String?,
|
|
78
79
|
email_delivery: bool?,
|
|
@@ -90,6 +91,8 @@ module Orb
|
|
|
90
91
|
|
|
91
92
|
attr_accessor billing_address: Orb::Address?
|
|
92
93
|
|
|
94
|
+
attr_accessor billing_entity_id: String?
|
|
95
|
+
|
|
93
96
|
attr_accessor default_payment_method_id: String?
|
|
94
97
|
|
|
95
98
|
attr_accessor email: String?
|
|
@@ -113,6 +116,7 @@ module Orb
|
|
|
113
116
|
def initialize: (
|
|
114
117
|
?auto_collection: bool?,
|
|
115
118
|
?billing_address: Orb::Address?,
|
|
119
|
+
?billing_entity_id: String?,
|
|
116
120
|
?default_payment_method_id: String?,
|
|
117
121
|
?email: String?,
|
|
118
122
|
?email_delivery: bool?,
|
|
@@ -128,6 +132,7 @@ module Orb
|
|
|
128
132
|
def to_hash: -> {
|
|
129
133
|
auto_collection: bool?,
|
|
130
134
|
billing_address: Orb::Address?,
|
|
135
|
+
billing_entity_id: String?,
|
|
131
136
|
default_payment_method_id: String?,
|
|
132
137
|
email: String?,
|
|
133
138
|
email_delivery: bool?,
|
|
@@ -130,6 +130,7 @@ module Orb
|
|
|
130
130
|
amount_due: String,
|
|
131
131
|
auto_collection: Orb::Webhooks::InvoiceAccountingSyncFailedStandardWebhookEvent::Invoice::AutoCollection,
|
|
132
132
|
billing_address: Orb::Address?,
|
|
133
|
+
billing_entity_id: String?,
|
|
133
134
|
created_at: Time,
|
|
134
135
|
credit_notes: ::Array[Orb::Webhooks::InvoiceAccountingSyncFailedStandardWebhookEvent::Invoice::CreditNote],
|
|
135
136
|
currency: String,
|
|
@@ -173,6 +174,8 @@ module Orb
|
|
|
173
174
|
|
|
174
175
|
attr_accessor billing_address: Orb::Address?
|
|
175
176
|
|
|
177
|
+
attr_accessor billing_entity_id: String?
|
|
178
|
+
|
|
176
179
|
attr_accessor created_at: Time
|
|
177
180
|
|
|
178
181
|
attr_accessor credit_notes: ::Array[Orb::Webhooks::InvoiceAccountingSyncFailedStandardWebhookEvent::Invoice::CreditNote]
|
|
@@ -242,6 +245,7 @@ module Orb
|
|
|
242
245
|
amount_due: String,
|
|
243
246
|
auto_collection: Orb::Webhooks::InvoiceAccountingSyncFailedStandardWebhookEvent::Invoice::AutoCollection,
|
|
244
247
|
billing_address: Orb::Address?,
|
|
248
|
+
billing_entity_id: String?,
|
|
245
249
|
created_at: Time,
|
|
246
250
|
credit_notes: ::Array[Orb::Webhooks::InvoiceAccountingSyncFailedStandardWebhookEvent::Invoice::CreditNote],
|
|
247
251
|
currency: String,
|
|
@@ -281,6 +285,7 @@ module Orb
|
|
|
281
285
|
amount_due: String,
|
|
282
286
|
auto_collection: Orb::Webhooks::InvoiceAccountingSyncFailedStandardWebhookEvent::Invoice::AutoCollection,
|
|
283
287
|
billing_address: Orb::Address?,
|
|
288
|
+
billing_entity_id: String?,
|
|
284
289
|
created_at: Time,
|
|
285
290
|
credit_notes: ::Array[Orb::Webhooks::InvoiceAccountingSyncFailedStandardWebhookEvent::Invoice::CreditNote],
|
|
286
291
|
currency: String,
|
|
@@ -130,6 +130,7 @@ module Orb
|
|
|
130
130
|
amount_due: String,
|
|
131
131
|
auto_collection: Orb::Webhooks::InvoiceAccountingSyncSucceededStandardWebhookEvent::Invoice::AutoCollection,
|
|
132
132
|
billing_address: Orb::Address?,
|
|
133
|
+
billing_entity_id: String?,
|
|
133
134
|
created_at: Time,
|
|
134
135
|
credit_notes: ::Array[Orb::Webhooks::InvoiceAccountingSyncSucceededStandardWebhookEvent::Invoice::CreditNote],
|
|
135
136
|
currency: String,
|
|
@@ -173,6 +174,8 @@ module Orb
|
|
|
173
174
|
|
|
174
175
|
attr_accessor billing_address: Orb::Address?
|
|
175
176
|
|
|
177
|
+
attr_accessor billing_entity_id: String?
|
|
178
|
+
|
|
176
179
|
attr_accessor created_at: Time
|
|
177
180
|
|
|
178
181
|
attr_accessor credit_notes: ::Array[Orb::Webhooks::InvoiceAccountingSyncSucceededStandardWebhookEvent::Invoice::CreditNote]
|
|
@@ -242,6 +245,7 @@ module Orb
|
|
|
242
245
|
amount_due: String,
|
|
243
246
|
auto_collection: Orb::Webhooks::InvoiceAccountingSyncSucceededStandardWebhookEvent::Invoice::AutoCollection,
|
|
244
247
|
billing_address: Orb::Address?,
|
|
248
|
+
billing_entity_id: String?,
|
|
245
249
|
created_at: Time,
|
|
246
250
|
credit_notes: ::Array[Orb::Webhooks::InvoiceAccountingSyncSucceededStandardWebhookEvent::Invoice::CreditNote],
|
|
247
251
|
currency: String,
|
|
@@ -281,6 +285,7 @@ module Orb
|
|
|
281
285
|
amount_due: String,
|
|
282
286
|
auto_collection: Orb::Webhooks::InvoiceAccountingSyncSucceededStandardWebhookEvent::Invoice::AutoCollection,
|
|
283
287
|
billing_address: Orb::Address?,
|
|
288
|
+
billing_entity_id: String?,
|
|
284
289
|
created_at: Time,
|
|
285
290
|
credit_notes: ::Array[Orb::Webhooks::InvoiceAccountingSyncSucceededStandardWebhookEvent::Invoice::CreditNote],
|
|
286
291
|
currency: String,
|
|
@@ -48,6 +48,7 @@ module Orb
|
|
|
48
48
|
amount_due: String,
|
|
49
49
|
auto_collection: Orb::Webhooks::InvoiceDunningScheduleCreatedStandardWebhookEvent::Invoice::AutoCollection,
|
|
50
50
|
billing_address: Orb::Address?,
|
|
51
|
+
billing_entity_id: String?,
|
|
51
52
|
created_at: Time,
|
|
52
53
|
credit_notes: ::Array[Orb::Webhooks::InvoiceDunningScheduleCreatedStandardWebhookEvent::Invoice::CreditNote],
|
|
53
54
|
currency: String,
|
|
@@ -91,6 +92,8 @@ module Orb
|
|
|
91
92
|
|
|
92
93
|
attr_accessor billing_address: Orb::Address?
|
|
93
94
|
|
|
95
|
+
attr_accessor billing_entity_id: String?
|
|
96
|
+
|
|
94
97
|
attr_accessor created_at: Time
|
|
95
98
|
|
|
96
99
|
attr_accessor credit_notes: ::Array[Orb::Webhooks::InvoiceDunningScheduleCreatedStandardWebhookEvent::Invoice::CreditNote]
|
|
@@ -160,6 +163,7 @@ module Orb
|
|
|
160
163
|
amount_due: String,
|
|
161
164
|
auto_collection: Orb::Webhooks::InvoiceDunningScheduleCreatedStandardWebhookEvent::Invoice::AutoCollection,
|
|
162
165
|
billing_address: Orb::Address?,
|
|
166
|
+
billing_entity_id: String?,
|
|
163
167
|
created_at: Time,
|
|
164
168
|
credit_notes: ::Array[Orb::Webhooks::InvoiceDunningScheduleCreatedStandardWebhookEvent::Invoice::CreditNote],
|
|
165
169
|
currency: String,
|
|
@@ -199,6 +203,7 @@ module Orb
|
|
|
199
203
|
amount_due: String,
|
|
200
204
|
auto_collection: Orb::Webhooks::InvoiceDunningScheduleCreatedStandardWebhookEvent::Invoice::AutoCollection,
|
|
201
205
|
billing_address: Orb::Address?,
|
|
206
|
+
billing_entity_id: String?,
|
|
202
207
|
created_at: Time,
|
|
203
208
|
credit_notes: ::Array[Orb::Webhooks::InvoiceDunningScheduleCreatedStandardWebhookEvent::Invoice::CreditNote],
|
|
204
209
|
currency: String,
|
|
@@ -48,6 +48,7 @@ module Orb
|
|
|
48
48
|
amount_due: String,
|
|
49
49
|
auto_collection: Orb::Webhooks::InvoiceDunningScheduleEndedStandardWebhookEvent::Invoice::AutoCollection,
|
|
50
50
|
billing_address: Orb::Address?,
|
|
51
|
+
billing_entity_id: String?,
|
|
51
52
|
created_at: Time,
|
|
52
53
|
credit_notes: ::Array[Orb::Webhooks::InvoiceDunningScheduleEndedStandardWebhookEvent::Invoice::CreditNote],
|
|
53
54
|
currency: String,
|
|
@@ -91,6 +92,8 @@ module Orb
|
|
|
91
92
|
|
|
92
93
|
attr_accessor billing_address: Orb::Address?
|
|
93
94
|
|
|
95
|
+
attr_accessor billing_entity_id: String?
|
|
96
|
+
|
|
94
97
|
attr_accessor created_at: Time
|
|
95
98
|
|
|
96
99
|
attr_accessor credit_notes: ::Array[Orb::Webhooks::InvoiceDunningScheduleEndedStandardWebhookEvent::Invoice::CreditNote]
|
|
@@ -160,6 +163,7 @@ module Orb
|
|
|
160
163
|
amount_due: String,
|
|
161
164
|
auto_collection: Orb::Webhooks::InvoiceDunningScheduleEndedStandardWebhookEvent::Invoice::AutoCollection,
|
|
162
165
|
billing_address: Orb::Address?,
|
|
166
|
+
billing_entity_id: String?,
|
|
163
167
|
created_at: Time,
|
|
164
168
|
credit_notes: ::Array[Orb::Webhooks::InvoiceDunningScheduleEndedStandardWebhookEvent::Invoice::CreditNote],
|
|
165
169
|
currency: String,
|
|
@@ -199,6 +203,7 @@ module Orb
|
|
|
199
203
|
amount_due: String,
|
|
200
204
|
auto_collection: Orb::Webhooks::InvoiceDunningScheduleEndedStandardWebhookEvent::Invoice::AutoCollection,
|
|
201
205
|
billing_address: Orb::Address?,
|
|
206
|
+
billing_entity_id: String?,
|
|
202
207
|
created_at: Time,
|
|
203
208
|
credit_notes: ::Array[Orb::Webhooks::InvoiceDunningScheduleEndedStandardWebhookEvent::Invoice::CreditNote],
|
|
204
209
|
currency: String,
|