orb-billing 0.1.0.pre.alpha.36 → 0.1.0.pre.alpha.37
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/README.md +31 -4
- data/lib/orb/client.rb +1 -1
- data/lib/orb/errors.rb +1 -53
- data/lib/orb/internal/page.rb +108 -0
- data/lib/orb/internal/transport/base_client.rb +473 -0
- data/lib/orb/internal/transport/pooled_net_requester.rb +184 -0
- data/lib/orb/internal/type/array_of.rb +116 -0
- data/lib/orb/internal/type/base_model.rb +369 -0
- data/lib/orb/internal/type/base_page.rb +43 -0
- data/lib/orb/internal/type/boolean_model.rb +54 -0
- data/lib/orb/internal/type/converter.rb +219 -0
- data/lib/orb/internal/type/enum.rb +103 -0
- data/lib/orb/internal/type/hash_of.rb +142 -0
- data/lib/orb/internal/type/request_parameters.rb +40 -0
- data/lib/orb/internal/type/union.rb +227 -0
- data/lib/orb/internal/type/unknown.rb +58 -0
- data/lib/orb/internal/util.rb +717 -0
- data/lib/orb/internal.rb +8 -0
- data/lib/orb/models/alert.rb +15 -15
- data/lib/orb/models/alert_create_for_customer_params.rb +8 -8
- data/lib/orb/models/alert_create_for_external_customer_params.rb +8 -8
- data/lib/orb/models/alert_create_for_subscription_params.rb +9 -8
- data/lib/orb/models/alert_disable_params.rb +4 -4
- data/lib/orb/models/alert_enable_params.rb +4 -4
- data/lib/orb/models/alert_list_params.rb +4 -4
- data/lib/orb/models/alert_retrieve_params.rb +4 -4
- data/lib/orb/models/alert_update_params.rb +7 -7
- data/lib/orb/models/amount_discount.rb +4 -4
- data/lib/orb/models/billable_metric.rb +4 -4
- data/lib/orb/models/billing_cycle_relative_date.rb +1 -1
- data/lib/orb/models/coupon.rb +3 -3
- data/lib/orb/models/coupon_archive_params.rb +4 -4
- data/lib/orb/models/coupon_create_params.rb +9 -9
- data/lib/orb/models/coupon_fetch_params.rb +4 -4
- data/lib/orb/models/coupon_list_params.rb +5 -5
- data/lib/orb/models/coupons/subscription_list_params.rb +4 -4
- data/lib/orb/models/credit_note.rb +30 -30
- data/lib/orb/models/credit_note_create_params.rb +8 -8
- data/lib/orb/models/credit_note_fetch_params.rb +4 -4
- data/lib/orb/models/credit_note_list_params.rb +4 -4
- data/lib/orb/models/customer.rb +33 -33
- data/lib/orb/models/customer_create_params.rb +36 -36
- data/lib/orb/models/customer_delete_params.rb +4 -4
- data/lib/orb/models/customer_fetch_by_external_id_params.rb +4 -4
- data/lib/orb/models/customer_fetch_params.rb +4 -4
- data/lib/orb/models/customer_list_params.rb +4 -4
- data/lib/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rb +4 -4
- data/lib/orb/models/customer_sync_payment_methods_from_gateway_params.rb +4 -4
- data/lib/orb/models/customer_update_by_external_id_params.rb +36 -36
- data/lib/orb/models/customer_update_params.rb +36 -36
- data/lib/orb/models/customers/balance_transaction_create_params.rb +5 -5
- data/lib/orb/models/customers/balance_transaction_create_response.rb +8 -8
- data/lib/orb/models/customers/balance_transaction_list_params.rb +4 -4
- data/lib/orb/models/customers/balance_transaction_list_response.rb +8 -8
- data/lib/orb/models/customers/cost_list_by_external_id_params.rb +5 -5
- data/lib/orb/models/customers/cost_list_by_external_id_response.rb +9 -8
- data/lib/orb/models/customers/cost_list_params.rb +5 -5
- data/lib/orb/models/customers/cost_list_response.rb +8 -8
- data/lib/orb/models/customers/credit_list_by_external_id_params.rb +5 -5
- data/lib/orb/models/customers/credit_list_by_external_id_response.rb +3 -3
- data/lib/orb/models/customers/credit_list_params.rb +5 -5
- data/lib/orb/models/customers/credit_list_response.rb +3 -3
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb +11 -11
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +57 -57
- data/lib/orb/models/customers/credits/ledger_create_entry_params.rb +11 -11
- data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +57 -57
- data/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rb +6 -6
- data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +57 -57
- data/lib/orb/models/customers/credits/ledger_list_params.rb +6 -6
- data/lib/orb/models/customers/credits/ledger_list_response.rb +57 -57
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +9 -9
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +7 -7
- data/lib/orb/models/customers/credits/top_up_create_params.rb +9 -9
- data/lib/orb/models/customers/credits/top_up_create_response.rb +7 -7
- data/lib/orb/models/customers/credits/top_up_delete_by_external_id_params.rb +4 -4
- data/lib/orb/models/customers/credits/top_up_delete_params.rb +4 -4
- data/lib/orb/models/customers/credits/top_up_list_by_external_id_params.rb +4 -4
- data/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +7 -7
- data/lib/orb/models/customers/credits/top_up_list_params.rb +4 -4
- data/lib/orb/models/customers/credits/top_up_list_response.rb +7 -7
- data/lib/orb/models/dimensional_price_group.rb +4 -4
- data/lib/orb/models/dimensional_price_group_create_params.rb +6 -6
- data/lib/orb/models/dimensional_price_group_list_params.rb +4 -4
- data/lib/orb/models/dimensional_price_group_retrieve_params.rb +4 -4
- data/lib/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rb +4 -4
- data/lib/orb/models/dimensional_price_groups.rb +3 -3
- data/lib/orb/models/discount.rb +1 -1
- data/lib/orb/models/evaluate_price_group.rb +6 -5
- data/lib/orb/models/event_deprecate_params.rb +4 -4
- data/lib/orb/models/event_deprecate_response.rb +2 -2
- data/lib/orb/models/event_ingest_params.rb +9 -9
- data/lib/orb/models/event_ingest_response.rb +11 -10
- data/lib/orb/models/event_search_params.rb +5 -5
- data/lib/orb/models/event_search_response.rb +7 -7
- data/lib/orb/models/event_update_params.rb +5 -5
- data/lib/orb/models/event_update_response.rb +2 -2
- data/lib/orb/models/events/backfill_close_params.rb +4 -4
- data/lib/orb/models/events/backfill_close_response.rb +4 -4
- data/lib/orb/models/events/backfill_create_params.rb +5 -5
- data/lib/orb/models/events/backfill_create_response.rb +4 -4
- data/lib/orb/models/events/backfill_fetch_params.rb +4 -4
- data/lib/orb/models/events/backfill_fetch_response.rb +4 -4
- data/lib/orb/models/events/backfill_list_params.rb +4 -4
- data/lib/orb/models/events/backfill_list_response.rb +4 -4
- data/lib/orb/models/events/backfill_revert_params.rb +4 -4
- data/lib/orb/models/events/backfill_revert_response.rb +4 -4
- data/lib/orb/models/events/event_volumes.rb +5 -5
- data/lib/orb/models/events/volume_list_params.rb +4 -4
- data/lib/orb/models/invoice.rb +102 -100
- data/lib/orb/models/invoice_create_params.rb +12 -12
- data/lib/orb/models/invoice_fetch_params.rb +4 -4
- data/lib/orb/models/invoice_fetch_upcoming_params.rb +4 -4
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +104 -100
- data/lib/orb/models/invoice_issue_params.rb +5 -5
- data/lib/orb/models/invoice_level_discount.rb +1 -1
- data/lib/orb/models/invoice_line_item_create_params.rb +4 -4
- data/lib/orb/models/invoice_line_item_create_response.rb +55 -53
- data/lib/orb/models/invoice_list_params.rb +10 -8
- data/lib/orb/models/invoice_mark_paid_params.rb +4 -4
- data/lib/orb/models/invoice_pay_params.rb +4 -4
- data/lib/orb/models/invoice_update_params.rb +5 -5
- data/lib/orb/models/invoice_void_params.rb +4 -4
- data/lib/orb/models/item.rb +6 -6
- data/lib/orb/models/item_create_params.rb +4 -4
- data/lib/orb/models/item_fetch_params.rb +4 -4
- data/lib/orb/models/item_list_params.rb +4 -4
- data/lib/orb/models/item_update_params.rb +8 -8
- data/lib/orb/models/metric_create_params.rb +5 -5
- data/lib/orb/models/metric_fetch_params.rb +4 -4
- data/lib/orb/models/metric_list_params.rb +4 -4
- data/lib/orb/models/metric_update_params.rb +5 -5
- data/lib/orb/models/pagination_metadata.rb +3 -3
- data/lib/orb/models/percentage_discount.rb +4 -4
- data/lib/orb/models/plan.rb +50 -50
- data/lib/orb/models/plan_create_params.rb +337 -333
- data/lib/orb/models/plan_fetch_params.rb +4 -4
- data/lib/orb/models/plan_list_params.rb +5 -5
- data/lib/orb/models/plan_update_params.rb +5 -5
- data/lib/orb/models/plans/external_plan_id_fetch_params.rb +4 -4
- data/lib/orb/models/plans/external_plan_id_update_params.rb +5 -5
- data/lib/orb/models/price.rb +824 -816
- data/lib/orb/models/price_create_params.rb +78 -73
- data/lib/orb/models/price_evaluate_params.rb +5 -5
- data/lib/orb/models/price_evaluate_response.rb +3 -3
- data/lib/orb/models/price_fetch_params.rb +4 -4
- data/lib/orb/models/price_list_params.rb +4 -4
- data/lib/orb/models/price_update_params.rb +5 -5
- data/lib/orb/models/prices/external_price_id_fetch_params.rb +4 -4
- data/lib/orb/models/prices/external_price_id_update_params.rb +5 -5
- data/lib/orb/models/subscription.rb +74 -70
- data/lib/orb/models/subscription_cancel_params.rb +6 -6
- data/lib/orb/models/subscription_cancel_response.rb +73 -70
- data/lib/orb/models/subscription_create_params.rb +758 -740
- data/lib/orb/models/subscription_create_response.rb +73 -70
- data/lib/orb/models/subscription_fetch_costs_params.rb +5 -5
- data/lib/orb/models/subscription_fetch_costs_response.rb +8 -8
- data/lib/orb/models/subscription_fetch_params.rb +4 -4
- data/lib/orb/models/subscription_fetch_schedule_params.rb +4 -4
- data/lib/orb/models/subscription_fetch_schedule_response.rb +4 -4
- data/lib/orb/models/subscription_fetch_usage_params.rb +6 -6
- data/lib/orb/models/subscription_list_params.rb +7 -7
- data/lib/orb/models/subscription_price_intervals_params.rb +443 -434
- data/lib/orb/models/subscription_price_intervals_response.rb +70 -70
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +756 -740
- data/lib/orb/models/subscription_schedule_plan_change_response.rb +70 -70
- data/lib/orb/models/subscription_trigger_phase_params.rb +5 -5
- data/lib/orb/models/subscription_trigger_phase_response.rb +70 -70
- data/lib/orb/models/subscription_unschedule_cancellation_params.rb +4 -4
- data/lib/orb/models/subscription_unschedule_cancellation_response.rb +70 -70
- data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rb +4 -4
- data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +70 -70
- data/lib/orb/models/subscription_unschedule_pending_plan_changes_params.rb +4 -4
- data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +70 -70
- data/lib/orb/models/subscription_update_fixed_fee_quantity_params.rb +6 -6
- data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +70 -70
- data/lib/orb/models/subscription_update_params.rb +6 -6
- data/lib/orb/models/subscription_update_trial_params.rb +6 -6
- data/lib/orb/models/subscription_update_trial_response.rb +70 -70
- data/lib/orb/models/subscription_usage.rb +27 -25
- data/lib/orb/models/subscriptions.rb +3 -3
- data/lib/orb/models/top_level_ping_params.rb +4 -4
- data/lib/orb/models/top_level_ping_response.rb +2 -2
- data/lib/orb/models/trial_discount.rb +4 -4
- data/lib/orb/models/usage_discount.rb +4 -4
- data/lib/orb/request_options.rb +4 -4
- data/lib/orb/resources/alerts.rb +2 -2
- data/lib/orb/resources/coupons/subscriptions.rb +2 -2
- data/lib/orb/resources/coupons.rb +2 -2
- data/lib/orb/resources/credit_notes.rb +2 -2
- data/lib/orb/resources/customers/balance_transactions.rb +2 -2
- data/lib/orb/resources/customers/credits/ledger.rb +4 -4
- data/lib/orb/resources/customers/credits/top_ups.rb +4 -4
- data/lib/orb/resources/customers/credits.rb +4 -4
- data/lib/orb/resources/customers.rb +2 -2
- data/lib/orb/resources/dimensional_price_groups.rb +2 -2
- data/lib/orb/resources/events/backfills.rb +2 -2
- data/lib/orb/resources/invoices.rb +2 -2
- data/lib/orb/resources/items.rb +2 -2
- data/lib/orb/resources/metrics.rb +2 -2
- data/lib/orb/resources/plans.rb +2 -2
- data/lib/orb/resources/prices.rb +2 -2
- data/lib/orb/resources/subscriptions.rb +4 -4
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +15 -15
- data/rbi/lib/orb/client.rbi +1 -1
- data/rbi/lib/orb/errors.rbi +0 -52
- data/rbi/lib/orb/internal/page.rbi +37 -0
- data/rbi/lib/orb/internal/transport/base_client.rbi +209 -0
- data/rbi/lib/orb/internal/transport/pooled_net_requester.rbi +66 -0
- data/rbi/lib/orb/internal/type/array_of.rbi +88 -0
- data/rbi/lib/orb/internal/type/base_model.rbi +208 -0
- data/rbi/lib/orb/internal/type/base_page.rbi +41 -0
- data/rbi/lib/orb/internal/type/boolean_model.rbi +43 -0
- data/rbi/lib/orb/internal/type/converter.rbi +106 -0
- data/rbi/lib/orb/internal/type/enum.rbi +60 -0
- data/rbi/lib/orb/internal/type/hash_of.rbi +87 -0
- data/rbi/lib/orb/internal/type/request_parameters.rbi +22 -0
- data/rbi/lib/orb/internal/type/union.rbi +70 -0
- data/rbi/lib/orb/internal/type/unknown.rbi +42 -0
- data/rbi/lib/orb/internal/util.rbi +280 -0
- data/rbi/lib/orb/internal.rbi +12 -0
- data/rbi/lib/orb/models/alert.rbi +16 -16
- data/rbi/lib/orb/models/alert_create_for_customer_params.rbi +7 -7
- data/rbi/lib/orb/models/alert_create_for_external_customer_params.rbi +7 -7
- data/rbi/lib/orb/models/alert_create_for_subscription_params.rbi +7 -7
- data/rbi/lib/orb/models/alert_disable_params.rbi +4 -4
- data/rbi/lib/orb/models/alert_enable_params.rbi +4 -4
- data/rbi/lib/orb/models/alert_list_params.rbi +4 -4
- data/rbi/lib/orb/models/alert_retrieve_params.rbi +4 -4
- data/rbi/lib/orb/models/alert_update_params.rbi +6 -6
- data/rbi/lib/orb/models/amount_discount.rbi +2 -2
- data/rbi/lib/orb/models/billable_metric.rbi +4 -4
- data/rbi/lib/orb/models/billing_cycle_relative_date.rbi +1 -1
- data/rbi/lib/orb/models/coupon.rbi +3 -3
- data/rbi/lib/orb/models/coupon_archive_params.rbi +4 -4
- data/rbi/lib/orb/models/coupon_create_params.rbi +8 -8
- data/rbi/lib/orb/models/coupon_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/coupon_list_params.rbi +4 -4
- data/rbi/lib/orb/models/coupons/subscription_list_params.rbi +4 -4
- data/rbi/lib/orb/models/credit_note.rbi +29 -26
- data/rbi/lib/orb/models/credit_note_create_params.rbi +7 -7
- data/rbi/lib/orb/models/credit_note_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/credit_note_list_params.rbi +4 -4
- data/rbi/lib/orb/models/customer.rbi +36 -30
- data/rbi/lib/orb/models/customer_create_params.rbi +34 -31
- data/rbi/lib/orb/models/customer_delete_params.rbi +4 -4
- data/rbi/lib/orb/models/customer_fetch_by_external_id_params.rbi +4 -4
- data/rbi/lib/orb/models/customer_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/customer_list_params.rbi +4 -4
- data/rbi/lib/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rbi +4 -4
- data/rbi/lib/orb/models/customer_sync_payment_methods_from_gateway_params.rbi +4 -4
- data/rbi/lib/orb/models/customer_update_by_external_id_params.rbi +33 -31
- data/rbi/lib/orb/models/customer_update_params.rbi +34 -31
- data/rbi/lib/orb/models/customers/balance_transaction_create_params.rbi +5 -5
- data/rbi/lib/orb/models/customers/balance_transaction_create_response.rbi +17 -9
- data/rbi/lib/orb/models/customers/balance_transaction_list_params.rbi +4 -4
- data/rbi/lib/orb/models/customers/balance_transaction_list_response.rbi +13 -9
- data/rbi/lib/orb/models/customers/cost_list_by_external_id_params.rbi +5 -5
- data/rbi/lib/orb/models/customers/cost_list_by_external_id_response.rbi +6 -6
- data/rbi/lib/orb/models/customers/cost_list_params.rbi +5 -5
- data/rbi/lib/orb/models/customers/cost_list_response.rbi +6 -6
- data/rbi/lib/orb/models/customers/credit_list_by_external_id_params.rbi +4 -4
- data/rbi/lib/orb/models/customers/credit_list_by_external_id_response.rbi +2 -2
- data/rbi/lib/orb/models/customers/credit_list_params.rbi +4 -4
- data/rbi/lib/orb/models/customers/credit_list_response.rbi +2 -2
- data/rbi/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbi +9 -9
- data/rbi/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +57 -57
- data/rbi/lib/orb/models/customers/credits/ledger_create_entry_params.rbi +9 -9
- data/rbi/lib/orb/models/customers/credits/ledger_create_entry_response.rbi +57 -57
- data/rbi/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rbi +6 -6
- data/rbi/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +57 -57
- data/rbi/lib/orb/models/customers/credits/ledger_list_params.rbi +6 -6
- data/rbi/lib/orb/models/customers/credits/ledger_list_response.rbi +63 -57
- data/rbi/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +14 -8
- data/rbi/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +5 -5
- data/rbi/lib/orb/models/customers/credits/top_up_create_params.rbi +8 -8
- data/rbi/lib/orb/models/customers/credits/top_up_create_response.rbi +5 -5
- data/rbi/lib/orb/models/customers/credits/top_up_delete_by_external_id_params.rbi +4 -4
- data/rbi/lib/orb/models/customers/credits/top_up_delete_params.rbi +4 -4
- data/rbi/lib/orb/models/customers/credits/top_up_list_by_external_id_params.rbi +4 -4
- data/rbi/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +11 -5
- data/rbi/lib/orb/models/customers/credits/top_up_list_params.rbi +4 -4
- data/rbi/lib/orb/models/customers/credits/top_up_list_response.rbi +5 -5
- data/rbi/lib/orb/models/dimensional_price_group.rbi +1 -1
- data/rbi/lib/orb/models/dimensional_price_group_create_params.rbi +4 -4
- data/rbi/lib/orb/models/dimensional_price_group_list_params.rbi +4 -4
- data/rbi/lib/orb/models/dimensional_price_group_retrieve_params.rbi +4 -4
- data/rbi/lib/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rbi +9 -4
- data/rbi/lib/orb/models/dimensional_price_groups.rbi +4 -4
- data/rbi/lib/orb/models/discount.rbi +1 -1
- data/rbi/lib/orb/models/evaluate_price_group.rbi +2 -2
- data/rbi/lib/orb/models/event_deprecate_params.rbi +4 -4
- data/rbi/lib/orb/models/event_deprecate_response.rbi +1 -1
- data/rbi/lib/orb/models/event_ingest_params.rbi +6 -6
- data/rbi/lib/orb/models/event_ingest_response.rbi +6 -6
- data/rbi/lib/orb/models/event_search_params.rbi +4 -4
- data/rbi/lib/orb/models/event_search_response.rbi +3 -3
- data/rbi/lib/orb/models/event_update_params.rbi +4 -4
- data/rbi/lib/orb/models/event_update_response.rbi +1 -1
- data/rbi/lib/orb/models/events/backfill_close_params.rbi +9 -4
- data/rbi/lib/orb/models/events/backfill_close_response.rbi +2 -2
- data/rbi/lib/orb/models/events/backfill_create_params.rbi +4 -4
- data/rbi/lib/orb/models/events/backfill_create_response.rbi +2 -2
- data/rbi/lib/orb/models/events/backfill_fetch_params.rbi +9 -4
- data/rbi/lib/orb/models/events/backfill_fetch_response.rbi +2 -2
- data/rbi/lib/orb/models/events/backfill_list_params.rbi +4 -4
- data/rbi/lib/orb/models/events/backfill_list_response.rbi +2 -2
- data/rbi/lib/orb/models/events/backfill_revert_params.rbi +9 -4
- data/rbi/lib/orb/models/events/backfill_revert_response.rbi +2 -2
- data/rbi/lib/orb/models/events/event_volumes.rbi +3 -3
- data/rbi/lib/orb/models/events/volume_list_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice.rbi +96 -84
- data/rbi/lib/orb/models/invoice_create_params.rbi +14 -11
- data/rbi/lib/orb/models/invoice_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice_fetch_upcoming_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice_fetch_upcoming_response.rbi +94 -84
- data/rbi/lib/orb/models/invoice_issue_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice_level_discount.rbi +1 -1
- data/rbi/lib/orb/models/invoice_line_item_create_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice_line_item_create_response.rbi +42 -38
- data/rbi/lib/orb/models/invoice_list_params.rbi +6 -6
- data/rbi/lib/orb/models/invoice_mark_paid_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice_pay_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice_update_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice_void_params.rbi +4 -4
- data/rbi/lib/orb/models/item.rbi +4 -4
- data/rbi/lib/orb/models/item_create_params.rbi +4 -4
- data/rbi/lib/orb/models/item_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/item_list_params.rbi +4 -4
- data/rbi/lib/orb/models/item_update_params.rbi +7 -7
- data/rbi/lib/orb/models/metric_create_params.rbi +4 -4
- data/rbi/lib/orb/models/metric_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/metric_list_params.rbi +4 -4
- data/rbi/lib/orb/models/metric_update_params.rbi +4 -4
- data/rbi/lib/orb/models/pagination_metadata.rbi +1 -1
- data/rbi/lib/orb/models/percentage_discount.rbi +2 -2
- data/rbi/lib/orb/models/plan.rbi +37 -37
- data/rbi/lib/orb/models/plan_create_params.rbi +307 -291
- data/rbi/lib/orb/models/plan_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/plan_list_params.rbi +5 -5
- data/rbi/lib/orb/models/plan_update_params.rbi +4 -4
- data/rbi/lib/orb/models/plans/external_plan_id_fetch_params.rbi +9 -4
- data/rbi/lib/orb/models/plans/external_plan_id_update_params.rbi +4 -4
- data/rbi/lib/orb/models/price.rbi +1038 -880
- data/rbi/lib/orb/models/price_create_params.rbi +60 -53
- data/rbi/lib/orb/models/price_evaluate_params.rbi +4 -4
- data/rbi/lib/orb/models/price_evaluate_response.rbi +2 -2
- data/rbi/lib/orb/models/price_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/price_list_params.rbi +4 -4
- data/rbi/lib/orb/models/price_update_params.rbi +4 -4
- data/rbi/lib/orb/models/prices/external_price_id_fetch_params.rbi +9 -4
- data/rbi/lib/orb/models/prices/external_price_id_update_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription.rbi +42 -40
- data/rbi/lib/orb/models/subscription_cancel_params.rbi +5 -5
- data/rbi/lib/orb/models/subscription_cancel_response.rbi +40 -40
- data/rbi/lib/orb/models/subscription_create_params.rbi +630 -620
- data/rbi/lib/orb/models/subscription_create_response.rbi +40 -40
- data/rbi/lib/orb/models/subscription_fetch_costs_params.rbi +5 -5
- data/rbi/lib/orb/models/subscription_fetch_costs_response.rbi +6 -6
- data/rbi/lib/orb/models/subscription_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription_fetch_schedule_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription_fetch_schedule_response.rbi +4 -4
- data/rbi/lib/orb/models/subscription_fetch_usage_params.rbi +6 -6
- data/rbi/lib/orb/models/subscription_list_params.rbi +5 -5
- data/rbi/lib/orb/models/subscription_price_intervals_params.rbi +385 -365
- data/rbi/lib/orb/models/subscription_price_intervals_response.rbi +42 -40
- data/rbi/lib/orb/models/subscription_schedule_plan_change_params.rbi +627 -621
- data/rbi/lib/orb/models/subscription_schedule_plan_change_response.rbi +49 -40
- data/rbi/lib/orb/models/subscription_trigger_phase_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription_trigger_phase_response.rbi +48 -40
- data/rbi/lib/orb/models/subscription_unschedule_cancellation_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription_unschedule_cancellation_response.rbi +40 -40
- data/rbi/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +46 -40
- data/rbi/lib/orb/models/subscription_unschedule_pending_plan_changes_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +61 -40
- data/rbi/lib/orb/models/subscription_update_fixed_fee_quantity_params.rbi +5 -5
- data/rbi/lib/orb/models/subscription_update_fixed_fee_quantity_response.rbi +40 -40
- data/rbi/lib/orb/models/subscription_update_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription_update_trial_params.rbi +5 -5
- data/rbi/lib/orb/models/subscription_update_trial_response.rbi +49 -40
- data/rbi/lib/orb/models/subscription_usage.rbi +30 -24
- data/rbi/lib/orb/models/subscriptions.rbi +4 -4
- data/rbi/lib/orb/models/top_level_ping_params.rbi +4 -4
- data/rbi/lib/orb/models/top_level_ping_response.rbi +1 -1
- data/rbi/lib/orb/models/trial_discount.rbi +2 -2
- data/rbi/lib/orb/models/usage_discount.rbi +2 -2
- data/rbi/lib/orb/request_options.rbi +2 -2
- data/rbi/lib/orb/resources/alerts.rbi +16 -13
- data/rbi/lib/orb/resources/coupons/subscriptions.rbi +2 -2
- data/rbi/lib/orb/resources/coupons.rbi +12 -6
- data/rbi/lib/orb/resources/credit_notes.rbi +5 -5
- data/rbi/lib/orb/resources/customers/balance_transactions.rbi +3 -3
- data/rbi/lib/orb/resources/customers/costs.rbi +2 -2
- data/rbi/lib/orb/resources/customers/credits/ledger.rbi +8 -8
- data/rbi/lib/orb/resources/customers/credits/top_ups.rbi +13 -10
- data/rbi/lib/orb/resources/customers/credits.rbi +4 -4
- data/rbi/lib/orb/resources/customers.rbi +31 -31
- data/rbi/lib/orb/resources/dimensional_price_groups/external_dimensional_price_group_id.rbi +1 -1
- data/rbi/lib/orb/resources/dimensional_price_groups.rbi +4 -4
- data/rbi/lib/orb/resources/events/backfills.rbi +6 -6
- data/rbi/lib/orb/resources/events/volume.rbi +1 -1
- data/rbi/lib/orb/resources/events.rbi +8 -5
- data/rbi/lib/orb/resources/invoice_line_items.rbi +1 -1
- data/rbi/lib/orb/resources/invoices.rbi +21 -12
- data/rbi/lib/orb/resources/items.rbi +9 -6
- data/rbi/lib/orb/resources/metrics.rbi +8 -5
- data/rbi/lib/orb/resources/plans/external_plan_id.rbi +2 -2
- data/rbi/lib/orb/resources/plans.rbi +9 -6
- data/rbi/lib/orb/resources/prices/external_price_id.rbi +2 -2
- data/rbi/lib/orb/resources/prices.rbi +20 -17
- data/rbi/lib/orb/resources/subscriptions.rbi +40 -36
- data/rbi/lib/orb/resources/top_level.rbi +1 -1
- data/rbi/lib/orb/version.rbi +1 -1
- data/sig/orb/client.rbs +1 -1
- data/sig/orb/errors.rbs +0 -52
- data/sig/orb/internal/page.rbs +24 -0
- data/sig/orb/internal/transport/base_client.rbs +110 -0
- data/sig/orb/internal/transport/pooled_net_requester.rbs +41 -0
- data/sig/orb/internal/type/array_of.rbs +38 -0
- data/sig/orb/internal/type/base_model.rbs +79 -0
- data/sig/orb/internal/type/base_page.rbs +24 -0
- data/sig/orb/internal/type/boolean_model.rbs +20 -0
- data/sig/orb/internal/type/converter.rbs +44 -0
- data/sig/orb/internal/type/enum.rbs +24 -0
- data/sig/orb/internal/type/hash_of.rbs +38 -0
- data/sig/orb/internal/type/request_parameters.rbs +15 -0
- data/sig/orb/internal/type/union.rbs +42 -0
- data/sig/orb/internal/type/unknown.rbs +20 -0
- data/sig/orb/internal/util.rbs +139 -0
- data/sig/orb/internal.rbs +5 -0
- data/sig/orb/models/alert.rbs +7 -7
- data/sig/orb/models/alert_create_for_customer_params.rbs +6 -6
- data/sig/orb/models/alert_create_for_external_customer_params.rbs +6 -6
- data/sig/orb/models/alert_create_for_subscription_params.rbs +6 -6
- data/sig/orb/models/alert_disable_params.rbs +4 -4
- data/sig/orb/models/alert_enable_params.rbs +4 -4
- data/sig/orb/models/alert_list_params.rbs +4 -4
- data/sig/orb/models/alert_retrieve_params.rbs +4 -4
- data/sig/orb/models/alert_update_params.rbs +5 -5
- data/sig/orb/models/amount_discount.rbs +2 -2
- data/sig/orb/models/billable_metric.rbs +2 -2
- data/sig/orb/models/billing_cycle_relative_date.rbs +1 -1
- data/sig/orb/models/coupon.rbs +2 -2
- data/sig/orb/models/coupon_archive_params.rbs +4 -4
- data/sig/orb/models/coupon_create_params.rbs +7 -7
- data/sig/orb/models/coupon_fetch_params.rbs +4 -4
- data/sig/orb/models/coupon_list_params.rbs +4 -4
- data/sig/orb/models/coupons/subscription_list_params.rbs +5 -4
- data/sig/orb/models/credit_note.rbs +14 -14
- data/sig/orb/models/credit_note_create_params.rbs +6 -6
- data/sig/orb/models/credit_note_fetch_params.rbs +5 -4
- data/sig/orb/models/credit_note_list_params.rbs +4 -4
- data/sig/orb/models/customer.rbs +14 -14
- data/sig/orb/models/customer_create_params.rbs +17 -17
- data/sig/orb/models/customer_delete_params.rbs +4 -4
- data/sig/orb/models/customer_fetch_by_external_id_params.rbs +5 -4
- data/sig/orb/models/customer_fetch_params.rbs +4 -4
- data/sig/orb/models/customer_list_params.rbs +4 -4
- data/sig/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rbs +4 -4
- data/sig/orb/models/customer_sync_payment_methods_from_gateway_params.rbs +4 -4
- data/sig/orb/models/customer_update_by_external_id_params.rbs +17 -17
- data/sig/orb/models/customer_update_params.rbs +17 -17
- data/sig/orb/models/customers/balance_transaction_create_params.rbs +5 -5
- data/sig/orb/models/customers/balance_transaction_create_response.rbs +5 -5
- data/sig/orb/models/customers/balance_transaction_list_params.rbs +4 -4
- data/sig/orb/models/customers/balance_transaction_list_response.rbs +5 -5
- data/sig/orb/models/customers/cost_list_by_external_id_params.rbs +5 -5
- data/sig/orb/models/customers/cost_list_by_external_id_response.rbs +3 -3
- data/sig/orb/models/customers/cost_list_params.rbs +5 -5
- data/sig/orb/models/customers/cost_list_response.rbs +3 -3
- data/sig/orb/models/customers/credit_list_by_external_id_params.rbs +4 -4
- data/sig/orb/models/customers/credit_list_by_external_id_response.rbs +2 -2
- data/sig/orb/models/customers/credit_list_params.rbs +4 -4
- data/sig/orb/models/customers/credit_list_response.rbs +2 -2
- data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbs +7 -7
- data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbs +29 -29
- data/sig/orb/models/customers/credits/ledger_create_entry_params.rbs +7 -7
- data/sig/orb/models/customers/credits/ledger_create_entry_response.rbs +29 -29
- data/sig/orb/models/customers/credits/ledger_list_by_external_id_params.rbs +6 -6
- data/sig/orb/models/customers/credits/ledger_list_by_external_id_response.rbs +29 -29
- data/sig/orb/models/customers/credits/ledger_list_params.rbs +6 -6
- data/sig/orb/models/customers/credits/ledger_list_response.rbs +29 -29
- data/sig/orb/models/customers/credits/top_up_create_by_external_id_params.rbs +6 -6
- data/sig/orb/models/customers/credits/top_up_create_by_external_id_response.rbs +3 -3
- data/sig/orb/models/customers/credits/top_up_create_params.rbs +6 -6
- data/sig/orb/models/customers/credits/top_up_create_response.rbs +3 -3
- data/sig/orb/models/customers/credits/top_up_delete_by_external_id_params.rbs +5 -4
- data/sig/orb/models/customers/credits/top_up_delete_params.rbs +4 -4
- data/sig/orb/models/customers/credits/top_up_list_by_external_id_params.rbs +5 -4
- data/sig/orb/models/customers/credits/top_up_list_by_external_id_response.rbs +3 -3
- data/sig/orb/models/customers/credits/top_up_list_params.rbs +5 -4
- data/sig/orb/models/customers/credits/top_up_list_response.rbs +3 -3
- data/sig/orb/models/dimensional_price_group.rbs +1 -1
- data/sig/orb/models/dimensional_price_group_create_params.rbs +4 -4
- data/sig/orb/models/dimensional_price_group_list_params.rbs +5 -4
- data/sig/orb/models/dimensional_price_group_retrieve_params.rbs +4 -4
- data/sig/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rbs +4 -4
- data/sig/orb/models/dimensional_price_groups.rbs +1 -1
- data/sig/orb/models/discount.rbs +1 -1
- data/sig/orb/models/evaluate_price_group.rbs +2 -2
- data/sig/orb/models/event_deprecate_params.rbs +4 -4
- data/sig/orb/models/event_deprecate_response.rbs +1 -1
- data/sig/orb/models/event_ingest_params.rbs +5 -5
- data/sig/orb/models/event_ingest_response.rbs +3 -3
- data/sig/orb/models/event_search_params.rbs +4 -4
- data/sig/orb/models/event_search_response.rbs +2 -2
- data/sig/orb/models/event_update_params.rbs +4 -4
- data/sig/orb/models/event_update_response.rbs +1 -1
- data/sig/orb/models/events/backfill_close_params.rbs +5 -4
- data/sig/orb/models/events/backfill_close_response.rbs +2 -2
- data/sig/orb/models/events/backfill_create_params.rbs +4 -4
- data/sig/orb/models/events/backfill_create_response.rbs +2 -2
- data/sig/orb/models/events/backfill_fetch_params.rbs +5 -4
- data/sig/orb/models/events/backfill_fetch_response.rbs +2 -2
- data/sig/orb/models/events/backfill_list_params.rbs +5 -4
- data/sig/orb/models/events/backfill_list_response.rbs +2 -2
- data/sig/orb/models/events/backfill_revert_params.rbs +5 -4
- data/sig/orb/models/events/backfill_revert_response.rbs +2 -2
- data/sig/orb/models/events/event_volumes.rbs +2 -2
- data/sig/orb/models/events/volume_list_params.rbs +4 -4
- data/sig/orb/models/invoice.rbs +40 -40
- data/sig/orb/models/invoice_create_params.rbs +7 -7
- data/sig/orb/models/invoice_fetch_params.rbs +4 -4
- data/sig/orb/models/invoice_fetch_upcoming_params.rbs +4 -4
- data/sig/orb/models/invoice_fetch_upcoming_response.rbs +40 -40
- data/sig/orb/models/invoice_issue_params.rbs +5 -4
- data/sig/orb/models/invoice_level_discount.rbs +1 -1
- data/sig/orb/models/invoice_line_item_create_params.rbs +4 -4
- data/sig/orb/models/invoice_line_item_create_response.rbs +19 -19
- data/sig/orb/models/invoice_list_params.rbs +6 -6
- data/sig/orb/models/invoice_mark_paid_params.rbs +4 -4
- data/sig/orb/models/invoice_pay_params.rbs +4 -4
- data/sig/orb/models/invoice_update_params.rbs +5 -4
- data/sig/orb/models/invoice_void_params.rbs +4 -4
- data/sig/orb/models/item.rbs +3 -3
- data/sig/orb/models/item_create_params.rbs +5 -4
- data/sig/orb/models/item_fetch_params.rbs +4 -4
- data/sig/orb/models/item_list_params.rbs +5 -4
- data/sig/orb/models/item_update_params.rbs +6 -6
- data/sig/orb/models/metric_create_params.rbs +4 -4
- data/sig/orb/models/metric_fetch_params.rbs +4 -4
- data/sig/orb/models/metric_list_params.rbs +4 -4
- data/sig/orb/models/metric_update_params.rbs +5 -4
- data/sig/orb/models/pagination_metadata.rbs +1 -1
- data/sig/orb/models/percentage_discount.rbs +2 -2
- data/sig/orb/models/plan.rbs +18 -18
- data/sig/orb/models/plan_create_params.rbs +169 -169
- data/sig/orb/models/plan_fetch_params.rbs +4 -4
- data/sig/orb/models/plan_list_params.rbs +5 -5
- data/sig/orb/models/plan_update_params.rbs +4 -4
- data/sig/orb/models/plans/external_plan_id_fetch_params.rbs +5 -4
- data/sig/orb/models/plans/external_plan_id_update_params.rbs +4 -4
- data/sig/orb/models/price.rbs +380 -380
- data/sig/orb/models/price_create_params.rbs +25 -25
- data/sig/orb/models/price_evaluate_params.rbs +4 -4
- data/sig/orb/models/price_evaluate_response.rbs +1 -1
- data/sig/orb/models/price_fetch_params.rbs +4 -4
- data/sig/orb/models/price_list_params.rbs +5 -4
- data/sig/orb/models/price_update_params.rbs +5 -4
- data/sig/orb/models/prices/external_price_id_fetch_params.rbs +5 -4
- data/sig/orb/models/prices/external_price_id_update_params.rbs +5 -4
- data/sig/orb/models/subscription.rbs +21 -21
- data/sig/orb/models/subscription_cancel_params.rbs +5 -5
- data/sig/orb/models/subscription_cancel_response.rbs +21 -21
- data/sig/orb/models/subscription_create_params.rbs +360 -360
- data/sig/orb/models/subscription_create_response.rbs +21 -21
- data/sig/orb/models/subscription_fetch_costs_params.rbs +5 -5
- data/sig/orb/models/subscription_fetch_costs_response.rbs +3 -3
- data/sig/orb/models/subscription_fetch_params.rbs +5 -4
- data/sig/orb/models/subscription_fetch_schedule_params.rbs +4 -4
- data/sig/orb/models/subscription_fetch_schedule_response.rbs +2 -2
- data/sig/orb/models/subscription_fetch_usage_params.rbs +6 -6
- data/sig/orb/models/subscription_list_params.rbs +5 -5
- data/sig/orb/models/subscription_price_intervals_params.rbs +214 -214
- data/sig/orb/models/subscription_price_intervals_response.rbs +21 -21
- data/sig/orb/models/subscription_schedule_plan_change_params.rbs +361 -361
- data/sig/orb/models/subscription_schedule_plan_change_response.rbs +21 -21
- data/sig/orb/models/subscription_trigger_phase_params.rbs +4 -4
- data/sig/orb/models/subscription_trigger_phase_response.rbs +21 -21
- data/sig/orb/models/subscription_unschedule_cancellation_params.rbs +4 -4
- data/sig/orb/models/subscription_unschedule_cancellation_response.rbs +21 -21
- data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbs +4 -4
- data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbs +21 -21
- data/sig/orb/models/subscription_unschedule_pending_plan_changes_params.rbs +4 -4
- data/sig/orb/models/subscription_unschedule_pending_plan_changes_response.rbs +21 -21
- data/sig/orb/models/subscription_update_fixed_fee_quantity_params.rbs +5 -5
- data/sig/orb/models/subscription_update_fixed_fee_quantity_response.rbs +21 -21
- data/sig/orb/models/subscription_update_params.rbs +4 -4
- data/sig/orb/models/subscription_update_trial_params.rbs +5 -5
- data/sig/orb/models/subscription_update_trial_response.rbs +21 -21
- data/sig/orb/models/subscription_usage.rbs +12 -12
- data/sig/orb/models/subscriptions.rbs +1 -1
- data/sig/orb/models/top_level_ping_params.rbs +4 -4
- data/sig/orb/models/top_level_ping_response.rbs +1 -1
- data/sig/orb/models/trial_discount.rbs +2 -2
- data/sig/orb/models/usage_discount.rbs +2 -2
- data/sig/orb/request_options.rbs +1 -1
- data/sig/orb/resources/alerts.rbs +1 -1
- data/sig/orb/resources/coupons/subscriptions.rbs +1 -1
- data/sig/orb/resources/coupons.rbs +1 -1
- data/sig/orb/resources/credit_notes.rbs +1 -1
- data/sig/orb/resources/customers/balance_transactions.rbs +1 -1
- data/sig/orb/resources/customers/credits/ledger.rbs +2 -2
- data/sig/orb/resources/customers/credits/top_ups.rbs +2 -2
- data/sig/orb/resources/customers/credits.rbs +2 -2
- data/sig/orb/resources/customers.rbs +1 -1
- data/sig/orb/resources/dimensional_price_groups.rbs +1 -1
- data/sig/orb/resources/events/backfills.rbs +1 -1
- data/sig/orb/resources/invoices.rbs +1 -1
- data/sig/orb/resources/items.rbs +1 -1
- data/sig/orb/resources/metrics.rbs +1 -1
- data/sig/orb/resources/plans.rbs +1 -1
- data/sig/orb/resources/prices.rbs +1 -1
- data/sig/orb/resources/subscriptions.rbs +2 -2
- data/sig/orb/version.rbs +1 -1
- metadata +47 -47
- data/lib/orb/page.rb +0 -114
- data/lib/orb/transport/base_client.rb +0 -459
- data/lib/orb/transport/pooled_net_requester.rb +0 -182
- data/lib/orb/type/array_of.rb +0 -112
- data/lib/orb/type/base_model.rb +0 -367
- data/lib/orb/type/base_page.rb +0 -61
- data/lib/orb/type/boolean_model.rb +0 -52
- data/lib/orb/type/converter.rb +0 -217
- data/lib/orb/type/enum.rb +0 -101
- data/lib/orb/type/hash_of.rb +0 -132
- data/lib/orb/type/request_parameters.rb +0 -38
- data/lib/orb/type/union.rb +0 -225
- data/lib/orb/type/unknown.rb +0 -56
- data/lib/orb/type.rb +0 -23
- data/lib/orb/util.rb +0 -722
- data/rbi/lib/orb/page.rbi +0 -35
- data/rbi/lib/orb/transport/base_client.rbi +0 -205
- data/rbi/lib/orb/transport/pooled_net_requester.rbi +0 -64
- data/rbi/lib/orb/type/array_of.rbi +0 -82
- data/rbi/lib/orb/type/base_model.rbi +0 -197
- data/rbi/lib/orb/type/base_page.rbi +0 -38
- data/rbi/lib/orb/type/boolean_model.rbi +0 -41
- data/rbi/lib/orb/type/converter.rbi +0 -95
- data/rbi/lib/orb/type/enum.rbi +0 -58
- data/rbi/lib/orb/type/hash_of.rbi +0 -86
- data/rbi/lib/orb/type/request_parameters.rbi +0 -20
- data/rbi/lib/orb/type/union.rbi +0 -66
- data/rbi/lib/orb/type/unknown.rbi +0 -37
- data/rbi/lib/orb/type.rbi +0 -23
- data/rbi/lib/orb/util.rbi +0 -278
- data/sig/orb/page.rbs +0 -22
- data/sig/orb/transport/base_client.rbs +0 -110
- data/sig/orb/transport/pooled_net_requester.rbs +0 -39
- data/sig/orb/type/array_of.rbs +0 -36
- data/sig/orb/type/base_model.rbs +0 -77
- data/sig/orb/type/base_page.rbs +0 -22
- data/sig/orb/type/boolean_model.rbs +0 -18
- data/sig/orb/type/converter.rbs +0 -36
- data/sig/orb/type/enum.rbs +0 -22
- data/sig/orb/type/hash_of.rbs +0 -36
- data/sig/orb/type/request_parameters.rbs +0 -13
- data/sig/orb/type/union.rbs +0 -37
- data/sig/orb/type/unknown.rbs +0 -15
- data/sig/orb/type.rbs +0 -22
- data/sig/orb/util.rbs +0 -132
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
module Orb
|
4
4
|
module Models
|
5
|
-
class PlanCreateParams < Orb::BaseModel
|
6
|
-
extend Orb::Type::RequestParameters::Converter
|
7
|
-
include Orb::RequestParameters
|
5
|
+
class PlanCreateParams < Orb::Internal::Type::BaseModel
|
6
|
+
extend Orb::Internal::Type::RequestParameters::Converter
|
7
|
+
include Orb::Internal::Type::RequestParameters
|
8
8
|
|
9
9
|
# An ISO 4217 currency string for invoices generated by subscriptions on this
|
10
10
|
# plan.
|
@@ -85,7 +85,7 @@ module Orb
|
|
85
85
|
prices: T::Array[
|
86
86
|
T.any(
|
87
87
|
Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice,
|
88
|
-
Orb::
|
88
|
+
Orb::Internal::AnyHash,
|
89
89
|
Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice,
|
90
90
|
Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice,
|
91
91
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice,
|
@@ -117,7 +117,7 @@ module Orb
|
|
117
117
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
118
118
|
net_terms: T.nilable(Integer),
|
119
119
|
status: Orb::Models::PlanCreateParams::Status::OrSymbol,
|
120
|
-
request_options: T.any(Orb::RequestOptions, Orb::
|
120
|
+
request_options: T.any(Orb::RequestOptions, Orb::Internal::AnyHash)
|
121
121
|
)
|
122
122
|
.returns(T.attached_class)
|
123
123
|
end
|
@@ -182,9 +182,9 @@ module Orb
|
|
182
182
|
end
|
183
183
|
|
184
184
|
module Price
|
185
|
-
extend Orb::Union
|
185
|
+
extend Orb::Internal::Type::Union
|
186
186
|
|
187
|
-
class NewPlanUnitPrice < Orb::BaseModel
|
187
|
+
class NewPlanUnitPrice < Orb::Internal::Type::BaseModel
|
188
188
|
# The cadence to bill for this price on.
|
189
189
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice::Cadence::OrSymbol) }
|
190
190
|
attr_accessor :cadence
|
@@ -205,7 +205,7 @@ module Orb
|
|
205
205
|
|
206
206
|
sig do
|
207
207
|
params(
|
208
|
-
unit_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice::UnitConfig, Orb::
|
208
|
+
unit_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice::UnitConfig, Orb::Internal::AnyHash)
|
209
209
|
)
|
210
210
|
.void
|
211
211
|
end
|
@@ -231,7 +231,7 @@ module Orb
|
|
231
231
|
billing_cycle_configuration: T.nilable(
|
232
232
|
T.any(
|
233
233
|
Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice::BillingCycleConfiguration,
|
234
|
-
Orb::
|
234
|
+
Orb::Internal::AnyHash
|
235
235
|
)
|
236
236
|
)
|
237
237
|
)
|
@@ -271,7 +271,7 @@ module Orb
|
|
271
271
|
invoicing_cycle_configuration: T.nilable(
|
272
272
|
T.any(
|
273
273
|
Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice::InvoicingCycleConfiguration,
|
274
|
-
Orb::
|
274
|
+
Orb::Internal::AnyHash
|
275
275
|
)
|
276
276
|
)
|
277
277
|
)
|
@@ -290,13 +290,13 @@ module Orb
|
|
290
290
|
cadence: Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice::Cadence::OrSymbol,
|
291
291
|
item_id: String,
|
292
292
|
name: String,
|
293
|
-
unit_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice::UnitConfig, Orb::
|
293
|
+
unit_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice::UnitConfig, Orb::Internal::AnyHash),
|
294
294
|
billable_metric_id: T.nilable(String),
|
295
295
|
billed_in_advance: T.nilable(T::Boolean),
|
296
296
|
billing_cycle_configuration: T.nilable(
|
297
297
|
T.any(
|
298
298
|
Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice::BillingCycleConfiguration,
|
299
|
-
Orb::
|
299
|
+
Orb::Internal::AnyHash
|
300
300
|
)
|
301
301
|
),
|
302
302
|
conversion_rate: T.nilable(Float),
|
@@ -307,7 +307,7 @@ module Orb
|
|
307
307
|
invoicing_cycle_configuration: T.nilable(
|
308
308
|
T.any(
|
309
309
|
Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice::InvoicingCycleConfiguration,
|
310
|
-
Orb::
|
310
|
+
Orb::Internal::AnyHash
|
311
311
|
)
|
312
312
|
),
|
313
313
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -361,7 +361,7 @@ module Orb
|
|
361
361
|
|
362
362
|
# The cadence to bill for this price on.
|
363
363
|
module Cadence
|
364
|
-
extend Orb::Enum
|
364
|
+
extend Orb::Internal::Type::Enum
|
365
365
|
|
366
366
|
TaggedSymbol =
|
367
367
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice::Cadence) }
|
@@ -383,7 +383,7 @@ module Orb
|
|
383
383
|
end
|
384
384
|
end
|
385
385
|
|
386
|
-
class UnitConfig < Orb::BaseModel
|
386
|
+
class UnitConfig < Orb::Internal::Type::BaseModel
|
387
387
|
# Rate per unit of usage
|
388
388
|
sig { returns(String) }
|
389
389
|
attr_accessor :unit_amount
|
@@ -397,7 +397,7 @@ module Orb
|
|
397
397
|
end
|
398
398
|
end
|
399
399
|
|
400
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
400
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
401
401
|
# The duration of the billing period.
|
402
402
|
sig { returns(Integer) }
|
403
403
|
attr_accessor :duration
|
@@ -436,7 +436,7 @@ module Orb
|
|
436
436
|
|
437
437
|
# The unit of billing period duration.
|
438
438
|
module DurationUnit
|
439
|
-
extend Orb::Enum
|
439
|
+
extend Orb::Internal::Type::Enum
|
440
440
|
|
441
441
|
TaggedSymbol =
|
442
442
|
T.type_alias do
|
@@ -475,7 +475,7 @@ module Orb
|
|
475
475
|
end
|
476
476
|
end
|
477
477
|
|
478
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
478
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
479
479
|
# The duration of the billing period.
|
480
480
|
sig { returns(Integer) }
|
481
481
|
attr_accessor :duration
|
@@ -514,7 +514,7 @@ module Orb
|
|
514
514
|
|
515
515
|
# The unit of billing period duration.
|
516
516
|
module DurationUnit
|
517
|
-
extend Orb::Enum
|
517
|
+
extend Orb::Internal::Type::Enum
|
518
518
|
|
519
519
|
TaggedSymbol =
|
520
520
|
T.type_alias do
|
@@ -554,7 +554,7 @@ module Orb
|
|
554
554
|
end
|
555
555
|
end
|
556
556
|
|
557
|
-
class NewPlanPackagePrice < Orb::BaseModel
|
557
|
+
class NewPlanPackagePrice < Orb::Internal::Type::BaseModel
|
558
558
|
# The cadence to bill for this price on.
|
559
559
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice::Cadence::OrSymbol) }
|
560
560
|
attr_accessor :cadence
|
@@ -575,7 +575,7 @@ module Orb
|
|
575
575
|
|
576
576
|
sig do
|
577
577
|
params(
|
578
|
-
package_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice::PackageConfig, Orb::
|
578
|
+
package_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice::PackageConfig, Orb::Internal::AnyHash)
|
579
579
|
)
|
580
580
|
.void
|
581
581
|
end
|
@@ -601,7 +601,7 @@ module Orb
|
|
601
601
|
billing_cycle_configuration: T.nilable(
|
602
602
|
T.any(
|
603
603
|
Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice::BillingCycleConfiguration,
|
604
|
-
Orb::
|
604
|
+
Orb::Internal::AnyHash
|
605
605
|
)
|
606
606
|
)
|
607
607
|
)
|
@@ -641,7 +641,7 @@ module Orb
|
|
641
641
|
invoicing_cycle_configuration: T.nilable(
|
642
642
|
T.any(
|
643
643
|
Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice::InvoicingCycleConfiguration,
|
644
|
-
Orb::
|
644
|
+
Orb::Internal::AnyHash
|
645
645
|
)
|
646
646
|
)
|
647
647
|
)
|
@@ -660,13 +660,13 @@ module Orb
|
|
660
660
|
cadence: Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice::Cadence::OrSymbol,
|
661
661
|
item_id: String,
|
662
662
|
name: String,
|
663
|
-
package_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice::PackageConfig, Orb::
|
663
|
+
package_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice::PackageConfig, Orb::Internal::AnyHash),
|
664
664
|
billable_metric_id: T.nilable(String),
|
665
665
|
billed_in_advance: T.nilable(T::Boolean),
|
666
666
|
billing_cycle_configuration: T.nilable(
|
667
667
|
T.any(
|
668
668
|
Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice::BillingCycleConfiguration,
|
669
|
-
Orb::
|
669
|
+
Orb::Internal::AnyHash
|
670
670
|
)
|
671
671
|
),
|
672
672
|
conversion_rate: T.nilable(Float),
|
@@ -677,7 +677,7 @@ module Orb
|
|
677
677
|
invoicing_cycle_configuration: T.nilable(
|
678
678
|
T.any(
|
679
679
|
Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice::InvoicingCycleConfiguration,
|
680
|
-
Orb::
|
680
|
+
Orb::Internal::AnyHash
|
681
681
|
)
|
682
682
|
),
|
683
683
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -731,7 +731,7 @@ module Orb
|
|
731
731
|
|
732
732
|
# The cadence to bill for this price on.
|
733
733
|
module Cadence
|
734
|
-
extend Orb::Enum
|
734
|
+
extend Orb::Internal::Type::Enum
|
735
735
|
|
736
736
|
TaggedSymbol =
|
737
737
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice::Cadence) }
|
@@ -757,7 +757,7 @@ module Orb
|
|
757
757
|
end
|
758
758
|
end
|
759
759
|
|
760
|
-
class PackageConfig < Orb::BaseModel
|
760
|
+
class PackageConfig < Orb::Internal::Type::BaseModel
|
761
761
|
# A currency amount to rate usage by
|
762
762
|
sig { returns(String) }
|
763
763
|
attr_accessor :package_amount
|
@@ -776,7 +776,7 @@ module Orb
|
|
776
776
|
end
|
777
777
|
end
|
778
778
|
|
779
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
779
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
780
780
|
# The duration of the billing period.
|
781
781
|
sig { returns(Integer) }
|
782
782
|
attr_accessor :duration
|
@@ -815,7 +815,7 @@ module Orb
|
|
815
815
|
|
816
816
|
# The unit of billing period duration.
|
817
817
|
module DurationUnit
|
818
|
-
extend Orb::Enum
|
818
|
+
extend Orb::Internal::Type::Enum
|
819
819
|
|
820
820
|
TaggedSymbol =
|
821
821
|
T.type_alias do
|
@@ -854,7 +854,7 @@ module Orb
|
|
854
854
|
end
|
855
855
|
end
|
856
856
|
|
857
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
857
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
858
858
|
# The duration of the billing period.
|
859
859
|
sig { returns(Integer) }
|
860
860
|
attr_accessor :duration
|
@@ -893,7 +893,7 @@ module Orb
|
|
893
893
|
|
894
894
|
# The unit of billing period duration.
|
895
895
|
module DurationUnit
|
896
|
-
extend Orb::Enum
|
896
|
+
extend Orb::Internal::Type::Enum
|
897
897
|
|
898
898
|
TaggedSymbol =
|
899
899
|
T.type_alias do
|
@@ -933,7 +933,7 @@ module Orb
|
|
933
933
|
end
|
934
934
|
end
|
935
935
|
|
936
|
-
class NewPlanMatrixPrice < Orb::BaseModel
|
936
|
+
class NewPlanMatrixPrice < Orb::Internal::Type::BaseModel
|
937
937
|
# The cadence to bill for this price on.
|
938
938
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::Cadence::OrSymbol) }
|
939
939
|
attr_accessor :cadence
|
@@ -947,7 +947,7 @@ module Orb
|
|
947
947
|
|
948
948
|
sig do
|
949
949
|
params(
|
950
|
-
matrix_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::MatrixConfig, Orb::
|
950
|
+
matrix_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::MatrixConfig, Orb::Internal::AnyHash)
|
951
951
|
)
|
952
952
|
.void
|
953
953
|
end
|
@@ -980,7 +980,7 @@ module Orb
|
|
980
980
|
billing_cycle_configuration: T.nilable(
|
981
981
|
T.any(
|
982
982
|
Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::BillingCycleConfiguration,
|
983
|
-
Orb::
|
983
|
+
Orb::Internal::AnyHash
|
984
984
|
)
|
985
985
|
)
|
986
986
|
)
|
@@ -1020,7 +1020,7 @@ module Orb
|
|
1020
1020
|
invoicing_cycle_configuration: T.nilable(
|
1021
1021
|
T.any(
|
1022
1022
|
Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::InvoicingCycleConfiguration,
|
1023
|
-
Orb::
|
1023
|
+
Orb::Internal::AnyHash
|
1024
1024
|
)
|
1025
1025
|
)
|
1026
1026
|
)
|
@@ -1038,14 +1038,14 @@ module Orb
|
|
1038
1038
|
params(
|
1039
1039
|
cadence: Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::Cadence::OrSymbol,
|
1040
1040
|
item_id: String,
|
1041
|
-
matrix_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::MatrixConfig, Orb::
|
1041
|
+
matrix_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::MatrixConfig, Orb::Internal::AnyHash),
|
1042
1042
|
name: String,
|
1043
1043
|
billable_metric_id: T.nilable(String),
|
1044
1044
|
billed_in_advance: T.nilable(T::Boolean),
|
1045
1045
|
billing_cycle_configuration: T.nilable(
|
1046
1046
|
T.any(
|
1047
1047
|
Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::BillingCycleConfiguration,
|
1048
|
-
Orb::
|
1048
|
+
Orb::Internal::AnyHash
|
1049
1049
|
)
|
1050
1050
|
),
|
1051
1051
|
conversion_rate: T.nilable(Float),
|
@@ -1056,7 +1056,7 @@ module Orb
|
|
1056
1056
|
invoicing_cycle_configuration: T.nilable(
|
1057
1057
|
T.any(
|
1058
1058
|
Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::InvoicingCycleConfiguration,
|
1059
|
-
Orb::
|
1059
|
+
Orb::Internal::AnyHash
|
1060
1060
|
)
|
1061
1061
|
),
|
1062
1062
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -1110,7 +1110,7 @@ module Orb
|
|
1110
1110
|
|
1111
1111
|
# The cadence to bill for this price on.
|
1112
1112
|
module Cadence
|
1113
|
-
extend Orb::Enum
|
1113
|
+
extend Orb::Internal::Type::Enum
|
1114
1114
|
|
1115
1115
|
TaggedSymbol =
|
1116
1116
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::Cadence) }
|
@@ -1135,7 +1135,7 @@ module Orb
|
|
1135
1135
|
end
|
1136
1136
|
end
|
1137
1137
|
|
1138
|
-
class MatrixConfig < Orb::BaseModel
|
1138
|
+
class MatrixConfig < Orb::Internal::Type::BaseModel
|
1139
1139
|
# Default per unit rate for any usage not bucketed into a specified matrix_value
|
1140
1140
|
sig { returns(String) }
|
1141
1141
|
attr_accessor :default_unit_amount
|
@@ -1155,7 +1155,7 @@ module Orb
|
|
1155
1155
|
matrix_values: T::Array[
|
1156
1156
|
T.any(
|
1157
1157
|
Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::MatrixConfig::MatrixValue,
|
1158
|
-
Orb::
|
1158
|
+
Orb::Internal::AnyHash
|
1159
1159
|
)
|
1160
1160
|
]
|
1161
1161
|
)
|
@@ -1177,7 +1177,7 @@ module Orb
|
|
1177
1177
|
def to_hash
|
1178
1178
|
end
|
1179
1179
|
|
1180
|
-
class MatrixValue < Orb::BaseModel
|
1180
|
+
class MatrixValue < Orb::Internal::Type::BaseModel
|
1181
1181
|
# One or two matrix keys to filter usage to this Matrix value by. For example,
|
1182
1182
|
# ["region", "tier"] could be used to filter cloud usage by a cloud region and an
|
1183
1183
|
# instance tier.
|
@@ -1203,7 +1203,7 @@ module Orb
|
|
1203
1203
|
end
|
1204
1204
|
end
|
1205
1205
|
|
1206
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
1206
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1207
1207
|
# The duration of the billing period.
|
1208
1208
|
sig { returns(Integer) }
|
1209
1209
|
attr_accessor :duration
|
@@ -1242,7 +1242,7 @@ module Orb
|
|
1242
1242
|
|
1243
1243
|
# The unit of billing period duration.
|
1244
1244
|
module DurationUnit
|
1245
|
-
extend Orb::Enum
|
1245
|
+
extend Orb::Internal::Type::Enum
|
1246
1246
|
|
1247
1247
|
TaggedSymbol =
|
1248
1248
|
T.type_alias do
|
@@ -1281,7 +1281,7 @@ module Orb
|
|
1281
1281
|
end
|
1282
1282
|
end
|
1283
1283
|
|
1284
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
1284
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1285
1285
|
# The duration of the billing period.
|
1286
1286
|
sig { returns(Integer) }
|
1287
1287
|
attr_accessor :duration
|
@@ -1320,7 +1320,7 @@ module Orb
|
|
1320
1320
|
|
1321
1321
|
# The unit of billing period duration.
|
1322
1322
|
module DurationUnit
|
1323
|
-
extend Orb::Enum
|
1323
|
+
extend Orb::Internal::Type::Enum
|
1324
1324
|
|
1325
1325
|
TaggedSymbol =
|
1326
1326
|
T.type_alias do
|
@@ -1360,7 +1360,7 @@ module Orb
|
|
1360
1360
|
end
|
1361
1361
|
end
|
1362
1362
|
|
1363
|
-
class NewPlanTieredPrice < Orb::BaseModel
|
1363
|
+
class NewPlanTieredPrice < Orb::Internal::Type::BaseModel
|
1364
1364
|
# The cadence to bill for this price on.
|
1365
1365
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::Cadence::OrSymbol) }
|
1366
1366
|
attr_accessor :cadence
|
@@ -1381,7 +1381,7 @@ module Orb
|
|
1381
1381
|
|
1382
1382
|
sig do
|
1383
1383
|
params(
|
1384
|
-
tiered_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::TieredConfig, Orb::
|
1384
|
+
tiered_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::TieredConfig, Orb::Internal::AnyHash)
|
1385
1385
|
)
|
1386
1386
|
.void
|
1387
1387
|
end
|
@@ -1407,7 +1407,7 @@ module Orb
|
|
1407
1407
|
billing_cycle_configuration: T.nilable(
|
1408
1408
|
T.any(
|
1409
1409
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::BillingCycleConfiguration,
|
1410
|
-
Orb::
|
1410
|
+
Orb::Internal::AnyHash
|
1411
1411
|
)
|
1412
1412
|
)
|
1413
1413
|
)
|
@@ -1447,7 +1447,7 @@ module Orb
|
|
1447
1447
|
invoicing_cycle_configuration: T.nilable(
|
1448
1448
|
T.any(
|
1449
1449
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::InvoicingCycleConfiguration,
|
1450
|
-
Orb::
|
1450
|
+
Orb::Internal::AnyHash
|
1451
1451
|
)
|
1452
1452
|
)
|
1453
1453
|
)
|
@@ -1466,13 +1466,13 @@ module Orb
|
|
1466
1466
|
cadence: Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::Cadence::OrSymbol,
|
1467
1467
|
item_id: String,
|
1468
1468
|
name: String,
|
1469
|
-
tiered_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::TieredConfig, Orb::
|
1469
|
+
tiered_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::TieredConfig, Orb::Internal::AnyHash),
|
1470
1470
|
billable_metric_id: T.nilable(String),
|
1471
1471
|
billed_in_advance: T.nilable(T::Boolean),
|
1472
1472
|
billing_cycle_configuration: T.nilable(
|
1473
1473
|
T.any(
|
1474
1474
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::BillingCycleConfiguration,
|
1475
|
-
Orb::
|
1475
|
+
Orb::Internal::AnyHash
|
1476
1476
|
)
|
1477
1477
|
),
|
1478
1478
|
conversion_rate: T.nilable(Float),
|
@@ -1483,7 +1483,7 @@ module Orb
|
|
1483
1483
|
invoicing_cycle_configuration: T.nilable(
|
1484
1484
|
T.any(
|
1485
1485
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::InvoicingCycleConfiguration,
|
1486
|
-
Orb::
|
1486
|
+
Orb::Internal::AnyHash
|
1487
1487
|
)
|
1488
1488
|
),
|
1489
1489
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -1537,7 +1537,7 @@ module Orb
|
|
1537
1537
|
|
1538
1538
|
# The cadence to bill for this price on.
|
1539
1539
|
module Cadence
|
1540
|
-
extend Orb::Enum
|
1540
|
+
extend Orb::Internal::Type::Enum
|
1541
1541
|
|
1542
1542
|
TaggedSymbol =
|
1543
1543
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::Cadence) }
|
@@ -1562,14 +1562,19 @@ module Orb
|
|
1562
1562
|
end
|
1563
1563
|
end
|
1564
1564
|
|
1565
|
-
class TieredConfig < Orb::BaseModel
|
1565
|
+
class TieredConfig < Orb::Internal::Type::BaseModel
|
1566
1566
|
# Tiers for rating based on total usage quantities into the specified tier
|
1567
1567
|
sig { returns(T::Array[Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::TieredConfig::Tier]) }
|
1568
1568
|
attr_accessor :tiers
|
1569
1569
|
|
1570
1570
|
sig do
|
1571
1571
|
params(
|
1572
|
-
tiers: T::Array[
|
1572
|
+
tiers: T::Array[
|
1573
|
+
T.any(
|
1574
|
+
Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::TieredConfig::Tier,
|
1575
|
+
Orb::Internal::AnyHash
|
1576
|
+
)
|
1577
|
+
]
|
1573
1578
|
)
|
1574
1579
|
.returns(T.attached_class)
|
1575
1580
|
end
|
@@ -1583,7 +1588,7 @@ module Orb
|
|
1583
1588
|
def to_hash
|
1584
1589
|
end
|
1585
1590
|
|
1586
|
-
class Tier < Orb::BaseModel
|
1591
|
+
class Tier < Orb::Internal::Type::BaseModel
|
1587
1592
|
# Inclusive tier starting value
|
1588
1593
|
sig { returns(Float) }
|
1589
1594
|
attr_accessor :first_unit
|
@@ -1612,7 +1617,7 @@ module Orb
|
|
1612
1617
|
end
|
1613
1618
|
end
|
1614
1619
|
|
1615
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
1620
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1616
1621
|
# The duration of the billing period.
|
1617
1622
|
sig { returns(Integer) }
|
1618
1623
|
attr_accessor :duration
|
@@ -1651,7 +1656,7 @@ module Orb
|
|
1651
1656
|
|
1652
1657
|
# The unit of billing period duration.
|
1653
1658
|
module DurationUnit
|
1654
|
-
extend Orb::Enum
|
1659
|
+
extend Orb::Internal::Type::Enum
|
1655
1660
|
|
1656
1661
|
TaggedSymbol =
|
1657
1662
|
T.type_alias do
|
@@ -1690,7 +1695,7 @@ module Orb
|
|
1690
1695
|
end
|
1691
1696
|
end
|
1692
1697
|
|
1693
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
1698
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1694
1699
|
# The duration of the billing period.
|
1695
1700
|
sig { returns(Integer) }
|
1696
1701
|
attr_accessor :duration
|
@@ -1729,7 +1734,7 @@ module Orb
|
|
1729
1734
|
|
1730
1735
|
# The unit of billing period duration.
|
1731
1736
|
module DurationUnit
|
1732
|
-
extend Orb::Enum
|
1737
|
+
extend Orb::Internal::Type::Enum
|
1733
1738
|
|
1734
1739
|
TaggedSymbol =
|
1735
1740
|
T.type_alias do
|
@@ -1769,7 +1774,7 @@ module Orb
|
|
1769
1774
|
end
|
1770
1775
|
end
|
1771
1776
|
|
1772
|
-
class NewPlanTieredBpsPrice < Orb::BaseModel
|
1777
|
+
class NewPlanTieredBpsPrice < Orb::Internal::Type::BaseModel
|
1773
1778
|
# The cadence to bill for this price on.
|
1774
1779
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::Cadence::OrSymbol) }
|
1775
1780
|
attr_accessor :cadence
|
@@ -1790,7 +1795,10 @@ module Orb
|
|
1790
1795
|
|
1791
1796
|
sig do
|
1792
1797
|
params(
|
1793
|
-
tiered_bps_config: T.any(
|
1798
|
+
tiered_bps_config: T.any(
|
1799
|
+
Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::TieredBpsConfig,
|
1800
|
+
Orb::Internal::AnyHash
|
1801
|
+
)
|
1794
1802
|
)
|
1795
1803
|
.void
|
1796
1804
|
end
|
@@ -1816,7 +1824,7 @@ module Orb
|
|
1816
1824
|
billing_cycle_configuration: T.nilable(
|
1817
1825
|
T.any(
|
1818
1826
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::BillingCycleConfiguration,
|
1819
|
-
Orb::
|
1827
|
+
Orb::Internal::AnyHash
|
1820
1828
|
)
|
1821
1829
|
)
|
1822
1830
|
)
|
@@ -1860,7 +1868,7 @@ module Orb
|
|
1860
1868
|
invoicing_cycle_configuration: T.nilable(
|
1861
1869
|
T.any(
|
1862
1870
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::InvoicingCycleConfiguration,
|
1863
|
-
Orb::
|
1871
|
+
Orb::Internal::AnyHash
|
1864
1872
|
)
|
1865
1873
|
)
|
1866
1874
|
)
|
@@ -1879,13 +1887,16 @@ module Orb
|
|
1879
1887
|
cadence: Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::Cadence::OrSymbol,
|
1880
1888
|
item_id: String,
|
1881
1889
|
name: String,
|
1882
|
-
tiered_bps_config: T.any(
|
1890
|
+
tiered_bps_config: T.any(
|
1891
|
+
Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::TieredBpsConfig,
|
1892
|
+
Orb::Internal::AnyHash
|
1893
|
+
),
|
1883
1894
|
billable_metric_id: T.nilable(String),
|
1884
1895
|
billed_in_advance: T.nilable(T::Boolean),
|
1885
1896
|
billing_cycle_configuration: T.nilable(
|
1886
1897
|
T.any(
|
1887
1898
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::BillingCycleConfiguration,
|
1888
|
-
Orb::
|
1899
|
+
Orb::Internal::AnyHash
|
1889
1900
|
)
|
1890
1901
|
),
|
1891
1902
|
conversion_rate: T.nilable(Float),
|
@@ -1896,7 +1907,7 @@ module Orb
|
|
1896
1907
|
invoicing_cycle_configuration: T.nilable(
|
1897
1908
|
T.any(
|
1898
1909
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::InvoicingCycleConfiguration,
|
1899
|
-
Orb::
|
1910
|
+
Orb::Internal::AnyHash
|
1900
1911
|
)
|
1901
1912
|
),
|
1902
1913
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -1950,7 +1961,7 @@ module Orb
|
|
1950
1961
|
|
1951
1962
|
# The cadence to bill for this price on.
|
1952
1963
|
module Cadence
|
1953
|
-
extend Orb::Enum
|
1964
|
+
extend Orb::Internal::Type::Enum
|
1954
1965
|
|
1955
1966
|
TaggedSymbol =
|
1956
1967
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::Cadence) }
|
@@ -1978,7 +1989,7 @@ module Orb
|
|
1978
1989
|
end
|
1979
1990
|
end
|
1980
1991
|
|
1981
|
-
class TieredBpsConfig < Orb::BaseModel
|
1992
|
+
class TieredBpsConfig < Orb::Internal::Type::BaseModel
|
1982
1993
|
# Tiers for a Graduated BPS pricing model, where usage is bucketed into specified
|
1983
1994
|
# tiers
|
1984
1995
|
sig { returns(T::Array[Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::TieredBpsConfig::Tier]) }
|
@@ -1989,7 +2000,7 @@ module Orb
|
|
1989
2000
|
tiers: T::Array[
|
1990
2001
|
T.any(
|
1991
2002
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::TieredBpsConfig::Tier,
|
1992
|
-
Orb::
|
2003
|
+
Orb::Internal::AnyHash
|
1993
2004
|
)
|
1994
2005
|
]
|
1995
2006
|
)
|
@@ -2007,7 +2018,7 @@ module Orb
|
|
2007
2018
|
def to_hash
|
2008
2019
|
end
|
2009
2020
|
|
2010
|
-
class Tier < Orb::BaseModel
|
2021
|
+
class Tier < Orb::Internal::Type::BaseModel
|
2011
2022
|
# Per-event basis point rate
|
2012
2023
|
sig { returns(Float) }
|
2013
2024
|
attr_accessor :bps
|
@@ -2052,7 +2063,7 @@ module Orb
|
|
2052
2063
|
end
|
2053
2064
|
end
|
2054
2065
|
|
2055
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
2066
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2056
2067
|
# The duration of the billing period.
|
2057
2068
|
sig { returns(Integer) }
|
2058
2069
|
attr_accessor :duration
|
@@ -2091,7 +2102,7 @@ module Orb
|
|
2091
2102
|
|
2092
2103
|
# The unit of billing period duration.
|
2093
2104
|
module DurationUnit
|
2094
|
-
extend Orb::Enum
|
2105
|
+
extend Orb::Internal::Type::Enum
|
2095
2106
|
|
2096
2107
|
TaggedSymbol =
|
2097
2108
|
T.type_alias do
|
@@ -2130,7 +2141,7 @@ module Orb
|
|
2130
2141
|
end
|
2131
2142
|
end
|
2132
2143
|
|
2133
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
2144
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2134
2145
|
# The duration of the billing period.
|
2135
2146
|
sig { returns(Integer) }
|
2136
2147
|
attr_accessor :duration
|
@@ -2169,7 +2180,7 @@ module Orb
|
|
2169
2180
|
|
2170
2181
|
# The unit of billing period duration.
|
2171
2182
|
module DurationUnit
|
2172
|
-
extend Orb::Enum
|
2183
|
+
extend Orb::Internal::Type::Enum
|
2173
2184
|
|
2174
2185
|
TaggedSymbol =
|
2175
2186
|
T.type_alias do
|
@@ -2209,13 +2220,13 @@ module Orb
|
|
2209
2220
|
end
|
2210
2221
|
end
|
2211
2222
|
|
2212
|
-
class NewPlanBpsPrice < Orb::BaseModel
|
2223
|
+
class NewPlanBpsPrice < Orb::Internal::Type::BaseModel
|
2213
2224
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::BpsConfig) }
|
2214
2225
|
attr_reader :bps_config
|
2215
2226
|
|
2216
2227
|
sig do
|
2217
2228
|
params(
|
2218
|
-
bps_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::BpsConfig, Orb::
|
2229
|
+
bps_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::BpsConfig, Orb::Internal::AnyHash)
|
2219
2230
|
)
|
2220
2231
|
.void
|
2221
2232
|
end
|
@@ -2256,7 +2267,7 @@ module Orb
|
|
2256
2267
|
billing_cycle_configuration: T.nilable(
|
2257
2268
|
T.any(
|
2258
2269
|
Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::BillingCycleConfiguration,
|
2259
|
-
Orb::
|
2270
|
+
Orb::Internal::AnyHash
|
2260
2271
|
)
|
2261
2272
|
)
|
2262
2273
|
)
|
@@ -2296,7 +2307,7 @@ module Orb
|
|
2296
2307
|
invoicing_cycle_configuration: T.nilable(
|
2297
2308
|
T.any(
|
2298
2309
|
Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::InvoicingCycleConfiguration,
|
2299
|
-
Orb::
|
2310
|
+
Orb::Internal::AnyHash
|
2300
2311
|
)
|
2301
2312
|
)
|
2302
2313
|
)
|
@@ -2312,7 +2323,7 @@ module Orb
|
|
2312
2323
|
|
2313
2324
|
sig do
|
2314
2325
|
params(
|
2315
|
-
bps_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::BpsConfig, Orb::
|
2326
|
+
bps_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::BpsConfig, Orb::Internal::AnyHash),
|
2316
2327
|
cadence: Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::Cadence::OrSymbol,
|
2317
2328
|
item_id: String,
|
2318
2329
|
name: String,
|
@@ -2321,7 +2332,7 @@ module Orb
|
|
2321
2332
|
billing_cycle_configuration: T.nilable(
|
2322
2333
|
T.any(
|
2323
2334
|
Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::BillingCycleConfiguration,
|
2324
|
-
Orb::
|
2335
|
+
Orb::Internal::AnyHash
|
2325
2336
|
)
|
2326
2337
|
),
|
2327
2338
|
conversion_rate: T.nilable(Float),
|
@@ -2332,7 +2343,7 @@ module Orb
|
|
2332
2343
|
invoicing_cycle_configuration: T.nilable(
|
2333
2344
|
T.any(
|
2334
2345
|
Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::InvoicingCycleConfiguration,
|
2335
|
-
Orb::
|
2346
|
+
Orb::Internal::AnyHash
|
2336
2347
|
)
|
2337
2348
|
),
|
2338
2349
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -2384,7 +2395,7 @@ module Orb
|
|
2384
2395
|
def to_hash
|
2385
2396
|
end
|
2386
2397
|
|
2387
|
-
class BpsConfig < Orb::BaseModel
|
2398
|
+
class BpsConfig < Orb::Internal::Type::BaseModel
|
2388
2399
|
# Basis point take rate per event
|
2389
2400
|
sig { returns(Float) }
|
2390
2401
|
attr_accessor :bps
|
@@ -2404,7 +2415,7 @@ module Orb
|
|
2404
2415
|
|
2405
2416
|
# The cadence to bill for this price on.
|
2406
2417
|
module Cadence
|
2407
|
-
extend Orb::Enum
|
2418
|
+
extend Orb::Internal::Type::Enum
|
2408
2419
|
|
2409
2420
|
TaggedSymbol =
|
2410
2421
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::Cadence) }
|
@@ -2425,7 +2436,7 @@ module Orb
|
|
2425
2436
|
end
|
2426
2437
|
end
|
2427
2438
|
|
2428
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
2439
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2429
2440
|
# The duration of the billing period.
|
2430
2441
|
sig { returns(Integer) }
|
2431
2442
|
attr_accessor :duration
|
@@ -2464,7 +2475,7 @@ module Orb
|
|
2464
2475
|
|
2465
2476
|
# The unit of billing period duration.
|
2466
2477
|
module DurationUnit
|
2467
|
-
extend Orb::Enum
|
2478
|
+
extend Orb::Internal::Type::Enum
|
2468
2479
|
|
2469
2480
|
TaggedSymbol =
|
2470
2481
|
T.type_alias do
|
@@ -2503,7 +2514,7 @@ module Orb
|
|
2503
2514
|
end
|
2504
2515
|
end
|
2505
2516
|
|
2506
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
2517
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2507
2518
|
# The duration of the billing period.
|
2508
2519
|
sig { returns(Integer) }
|
2509
2520
|
attr_accessor :duration
|
@@ -2542,7 +2553,7 @@ module Orb
|
|
2542
2553
|
|
2543
2554
|
# The unit of billing period duration.
|
2544
2555
|
module DurationUnit
|
2545
|
-
extend Orb::Enum
|
2556
|
+
extend Orb::Internal::Type::Enum
|
2546
2557
|
|
2547
2558
|
TaggedSymbol =
|
2548
2559
|
T.type_alias do
|
@@ -2582,13 +2593,13 @@ module Orb
|
|
2582
2593
|
end
|
2583
2594
|
end
|
2584
2595
|
|
2585
|
-
class NewPlanBulkBpsPrice < Orb::BaseModel
|
2596
|
+
class NewPlanBulkBpsPrice < Orb::Internal::Type::BaseModel
|
2586
2597
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BulkBpsConfig) }
|
2587
2598
|
attr_reader :bulk_bps_config
|
2588
2599
|
|
2589
2600
|
sig do
|
2590
2601
|
params(
|
2591
|
-
bulk_bps_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BulkBpsConfig, Orb::
|
2602
|
+
bulk_bps_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BulkBpsConfig, Orb::Internal::AnyHash)
|
2592
2603
|
)
|
2593
2604
|
.void
|
2594
2605
|
end
|
@@ -2629,7 +2640,7 @@ module Orb
|
|
2629
2640
|
billing_cycle_configuration: T.nilable(
|
2630
2641
|
T.any(
|
2631
2642
|
Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BillingCycleConfiguration,
|
2632
|
-
Orb::
|
2643
|
+
Orb::Internal::AnyHash
|
2633
2644
|
)
|
2634
2645
|
)
|
2635
2646
|
)
|
@@ -2669,7 +2680,7 @@ module Orb
|
|
2669
2680
|
invoicing_cycle_configuration: T.nilable(
|
2670
2681
|
T.any(
|
2671
2682
|
Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::InvoicingCycleConfiguration,
|
2672
|
-
Orb::
|
2683
|
+
Orb::Internal::AnyHash
|
2673
2684
|
)
|
2674
2685
|
)
|
2675
2686
|
)
|
@@ -2685,7 +2696,7 @@ module Orb
|
|
2685
2696
|
|
2686
2697
|
sig do
|
2687
2698
|
params(
|
2688
|
-
bulk_bps_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BulkBpsConfig, Orb::
|
2699
|
+
bulk_bps_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BulkBpsConfig, Orb::Internal::AnyHash),
|
2689
2700
|
cadence: Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::Cadence::OrSymbol,
|
2690
2701
|
item_id: String,
|
2691
2702
|
name: String,
|
@@ -2694,7 +2705,7 @@ module Orb
|
|
2694
2705
|
billing_cycle_configuration: T.nilable(
|
2695
2706
|
T.any(
|
2696
2707
|
Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BillingCycleConfiguration,
|
2697
|
-
Orb::
|
2708
|
+
Orb::Internal::AnyHash
|
2698
2709
|
)
|
2699
2710
|
),
|
2700
2711
|
conversion_rate: T.nilable(Float),
|
@@ -2705,7 +2716,7 @@ module Orb
|
|
2705
2716
|
invoicing_cycle_configuration: T.nilable(
|
2706
2717
|
T.any(
|
2707
2718
|
Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::InvoicingCycleConfiguration,
|
2708
|
-
Orb::
|
2719
|
+
Orb::Internal::AnyHash
|
2709
2720
|
)
|
2710
2721
|
),
|
2711
2722
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -2757,7 +2768,7 @@ module Orb
|
|
2757
2768
|
def to_hash
|
2758
2769
|
end
|
2759
2770
|
|
2760
|
-
class BulkBpsConfig < Orb::BaseModel
|
2771
|
+
class BulkBpsConfig < Orb::Internal::Type::BaseModel
|
2761
2772
|
# Tiers for a bulk BPS pricing model where all usage is aggregated to a single
|
2762
2773
|
# tier based on total volume
|
2763
2774
|
sig { returns(T::Array[Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BulkBpsConfig::Tier]) }
|
@@ -2765,7 +2776,12 @@ module Orb
|
|
2765
2776
|
|
2766
2777
|
sig do
|
2767
2778
|
params(
|
2768
|
-
tiers: T::Array[
|
2779
|
+
tiers: T::Array[
|
2780
|
+
T.any(
|
2781
|
+
Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BulkBpsConfig::Tier,
|
2782
|
+
Orb::Internal::AnyHash
|
2783
|
+
)
|
2784
|
+
]
|
2769
2785
|
)
|
2770
2786
|
.returns(T.attached_class)
|
2771
2787
|
end
|
@@ -2779,7 +2795,7 @@ module Orb
|
|
2779
2795
|
def to_hash
|
2780
2796
|
end
|
2781
2797
|
|
2782
|
-
class Tier < Orb::BaseModel
|
2798
|
+
class Tier < Orb::Internal::Type::BaseModel
|
2783
2799
|
# Basis points to rate on
|
2784
2800
|
sig { returns(Float) }
|
2785
2801
|
attr_accessor :bps
|
@@ -2815,7 +2831,7 @@ module Orb
|
|
2815
2831
|
|
2816
2832
|
# The cadence to bill for this price on.
|
2817
2833
|
module Cadence
|
2818
|
-
extend Orb::Enum
|
2834
|
+
extend Orb::Internal::Type::Enum
|
2819
2835
|
|
2820
2836
|
TaggedSymbol =
|
2821
2837
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::Cadence) }
|
@@ -2841,7 +2857,7 @@ module Orb
|
|
2841
2857
|
end
|
2842
2858
|
end
|
2843
2859
|
|
2844
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
2860
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2845
2861
|
# The duration of the billing period.
|
2846
2862
|
sig { returns(Integer) }
|
2847
2863
|
attr_accessor :duration
|
@@ -2880,7 +2896,7 @@ module Orb
|
|
2880
2896
|
|
2881
2897
|
# The unit of billing period duration.
|
2882
2898
|
module DurationUnit
|
2883
|
-
extend Orb::Enum
|
2899
|
+
extend Orb::Internal::Type::Enum
|
2884
2900
|
|
2885
2901
|
TaggedSymbol =
|
2886
2902
|
T.type_alias do
|
@@ -2919,7 +2935,7 @@ module Orb
|
|
2919
2935
|
end
|
2920
2936
|
end
|
2921
2937
|
|
2922
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
2938
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2923
2939
|
# The duration of the billing period.
|
2924
2940
|
sig { returns(Integer) }
|
2925
2941
|
attr_accessor :duration
|
@@ -2958,7 +2974,7 @@ module Orb
|
|
2958
2974
|
|
2959
2975
|
# The unit of billing period duration.
|
2960
2976
|
module DurationUnit
|
2961
|
-
extend Orb::Enum
|
2977
|
+
extend Orb::Internal::Type::Enum
|
2962
2978
|
|
2963
2979
|
TaggedSymbol =
|
2964
2980
|
T.type_alias do
|
@@ -2998,13 +3014,13 @@ module Orb
|
|
2998
3014
|
end
|
2999
3015
|
end
|
3000
3016
|
|
3001
|
-
class NewPlanBulkPrice < Orb::BaseModel
|
3017
|
+
class NewPlanBulkPrice < Orb::Internal::Type::BaseModel
|
3002
3018
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BulkConfig) }
|
3003
3019
|
attr_reader :bulk_config
|
3004
3020
|
|
3005
3021
|
sig do
|
3006
3022
|
params(
|
3007
|
-
bulk_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BulkConfig, Orb::
|
3023
|
+
bulk_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BulkConfig, Orb::Internal::AnyHash)
|
3008
3024
|
)
|
3009
3025
|
.void
|
3010
3026
|
end
|
@@ -3045,7 +3061,7 @@ module Orb
|
|
3045
3061
|
billing_cycle_configuration: T.nilable(
|
3046
3062
|
T.any(
|
3047
3063
|
Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BillingCycleConfiguration,
|
3048
|
-
Orb::
|
3064
|
+
Orb::Internal::AnyHash
|
3049
3065
|
)
|
3050
3066
|
)
|
3051
3067
|
)
|
@@ -3085,7 +3101,7 @@ module Orb
|
|
3085
3101
|
invoicing_cycle_configuration: T.nilable(
|
3086
3102
|
T.any(
|
3087
3103
|
Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::InvoicingCycleConfiguration,
|
3088
|
-
Orb::
|
3104
|
+
Orb::Internal::AnyHash
|
3089
3105
|
)
|
3090
3106
|
)
|
3091
3107
|
)
|
@@ -3101,7 +3117,7 @@ module Orb
|
|
3101
3117
|
|
3102
3118
|
sig do
|
3103
3119
|
params(
|
3104
|
-
bulk_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BulkConfig, Orb::
|
3120
|
+
bulk_config: T.any(Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BulkConfig, Orb::Internal::AnyHash),
|
3105
3121
|
cadence: Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::Cadence::OrSymbol,
|
3106
3122
|
item_id: String,
|
3107
3123
|
name: String,
|
@@ -3110,7 +3126,7 @@ module Orb
|
|
3110
3126
|
billing_cycle_configuration: T.nilable(
|
3111
3127
|
T.any(
|
3112
3128
|
Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BillingCycleConfiguration,
|
3113
|
-
Orb::
|
3129
|
+
Orb::Internal::AnyHash
|
3114
3130
|
)
|
3115
3131
|
),
|
3116
3132
|
conversion_rate: T.nilable(Float),
|
@@ -3121,7 +3137,7 @@ module Orb
|
|
3121
3137
|
invoicing_cycle_configuration: T.nilable(
|
3122
3138
|
T.any(
|
3123
3139
|
Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::InvoicingCycleConfiguration,
|
3124
|
-
Orb::
|
3140
|
+
Orb::Internal::AnyHash
|
3125
3141
|
)
|
3126
3142
|
),
|
3127
3143
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -3173,14 +3189,14 @@ module Orb
|
|
3173
3189
|
def to_hash
|
3174
3190
|
end
|
3175
3191
|
|
3176
|
-
class BulkConfig < Orb::BaseModel
|
3192
|
+
class BulkConfig < Orb::Internal::Type::BaseModel
|
3177
3193
|
# Bulk tiers for rating based on total usage volume
|
3178
3194
|
sig { returns(T::Array[Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BulkConfig::Tier]) }
|
3179
3195
|
attr_accessor :tiers
|
3180
3196
|
|
3181
3197
|
sig do
|
3182
3198
|
params(
|
3183
|
-
tiers: T::Array[T.any(Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BulkConfig::Tier, Orb::
|
3199
|
+
tiers: T::Array[T.any(Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BulkConfig::Tier, Orb::Internal::AnyHash)]
|
3184
3200
|
)
|
3185
3201
|
.returns(T.attached_class)
|
3186
3202
|
end
|
@@ -3194,7 +3210,7 @@ module Orb
|
|
3194
3210
|
def to_hash
|
3195
3211
|
end
|
3196
3212
|
|
3197
|
-
class Tier < Orb::BaseModel
|
3213
|
+
class Tier < Orb::Internal::Type::BaseModel
|
3198
3214
|
# Amount per unit
|
3199
3215
|
sig { returns(String) }
|
3200
3216
|
attr_accessor :unit_amount
|
@@ -3215,7 +3231,7 @@ module Orb
|
|
3215
3231
|
|
3216
3232
|
# The cadence to bill for this price on.
|
3217
3233
|
module Cadence
|
3218
|
-
extend Orb::Enum
|
3234
|
+
extend Orb::Internal::Type::Enum
|
3219
3235
|
|
3220
3236
|
TaggedSymbol =
|
3221
3237
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::Cadence) }
|
@@ -3237,7 +3253,7 @@ module Orb
|
|
3237
3253
|
end
|
3238
3254
|
end
|
3239
3255
|
|
3240
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
3256
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3241
3257
|
# The duration of the billing period.
|
3242
3258
|
sig { returns(Integer) }
|
3243
3259
|
attr_accessor :duration
|
@@ -3276,7 +3292,7 @@ module Orb
|
|
3276
3292
|
|
3277
3293
|
# The unit of billing period duration.
|
3278
3294
|
module DurationUnit
|
3279
|
-
extend Orb::Enum
|
3295
|
+
extend Orb::Internal::Type::Enum
|
3280
3296
|
|
3281
3297
|
TaggedSymbol =
|
3282
3298
|
T.type_alias do
|
@@ -3315,7 +3331,7 @@ module Orb
|
|
3315
3331
|
end
|
3316
3332
|
end
|
3317
3333
|
|
3318
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
3334
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3319
3335
|
# The duration of the billing period.
|
3320
3336
|
sig { returns(Integer) }
|
3321
3337
|
attr_accessor :duration
|
@@ -3354,7 +3370,7 @@ module Orb
|
|
3354
3370
|
|
3355
3371
|
# The unit of billing period duration.
|
3356
3372
|
module DurationUnit
|
3357
|
-
extend Orb::Enum
|
3373
|
+
extend Orb::Internal::Type::Enum
|
3358
3374
|
|
3359
3375
|
TaggedSymbol =
|
3360
3376
|
T.type_alias do
|
@@ -3394,7 +3410,7 @@ module Orb
|
|
3394
3410
|
end
|
3395
3411
|
end
|
3396
3412
|
|
3397
|
-
class NewPlanThresholdTotalAmountPrice < Orb::BaseModel
|
3413
|
+
class NewPlanThresholdTotalAmountPrice < Orb::Internal::Type::BaseModel
|
3398
3414
|
# The cadence to bill for this price on.
|
3399
3415
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice::Cadence::OrSymbol) }
|
3400
3416
|
attr_accessor :cadence
|
@@ -3439,7 +3455,7 @@ module Orb
|
|
3439
3455
|
billing_cycle_configuration: T.nilable(
|
3440
3456
|
T.any(
|
3441
3457
|
Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice::BillingCycleConfiguration,
|
3442
|
-
Orb::
|
3458
|
+
Orb::Internal::AnyHash
|
3443
3459
|
)
|
3444
3460
|
)
|
3445
3461
|
)
|
@@ -3485,7 +3501,7 @@ module Orb
|
|
3485
3501
|
invoicing_cycle_configuration: T.nilable(
|
3486
3502
|
T.any(
|
3487
3503
|
Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice::InvoicingCycleConfiguration,
|
3488
|
-
Orb::
|
3504
|
+
Orb::Internal::AnyHash
|
3489
3505
|
)
|
3490
3506
|
)
|
3491
3507
|
)
|
@@ -3510,7 +3526,7 @@ module Orb
|
|
3510
3526
|
billing_cycle_configuration: T.nilable(
|
3511
3527
|
T.any(
|
3512
3528
|
Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice::BillingCycleConfiguration,
|
3513
|
-
Orb::
|
3529
|
+
Orb::Internal::AnyHash
|
3514
3530
|
)
|
3515
3531
|
),
|
3516
3532
|
conversion_rate: T.nilable(Float),
|
@@ -3521,7 +3537,7 @@ module Orb
|
|
3521
3537
|
invoicing_cycle_configuration: T.nilable(
|
3522
3538
|
T.any(
|
3523
3539
|
Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice::InvoicingCycleConfiguration,
|
3524
|
-
Orb::
|
3540
|
+
Orb::Internal::AnyHash
|
3525
3541
|
)
|
3526
3542
|
),
|
3527
3543
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -3579,7 +3595,7 @@ module Orb
|
|
3579
3595
|
|
3580
3596
|
# The cadence to bill for this price on.
|
3581
3597
|
module Cadence
|
3582
|
-
extend Orb::Enum
|
3598
|
+
extend Orb::Internal::Type::Enum
|
3583
3599
|
|
3584
3600
|
TaggedSymbol =
|
3585
3601
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice::Cadence) }
|
@@ -3633,7 +3649,7 @@ module Orb
|
|
3633
3649
|
end
|
3634
3650
|
end
|
3635
3651
|
|
3636
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
3652
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3637
3653
|
# The duration of the billing period.
|
3638
3654
|
sig { returns(Integer) }
|
3639
3655
|
attr_accessor :duration
|
@@ -3672,7 +3688,7 @@ module Orb
|
|
3672
3688
|
|
3673
3689
|
# The unit of billing period duration.
|
3674
3690
|
module DurationUnit
|
3675
|
-
extend Orb::Enum
|
3691
|
+
extend Orb::Internal::Type::Enum
|
3676
3692
|
|
3677
3693
|
TaggedSymbol =
|
3678
3694
|
T.type_alias do
|
@@ -3711,7 +3727,7 @@ module Orb
|
|
3711
3727
|
end
|
3712
3728
|
end
|
3713
3729
|
|
3714
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
3730
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3715
3731
|
# The duration of the billing period.
|
3716
3732
|
sig { returns(Integer) }
|
3717
3733
|
attr_accessor :duration
|
@@ -3750,7 +3766,7 @@ module Orb
|
|
3750
3766
|
|
3751
3767
|
# The unit of billing period duration.
|
3752
3768
|
module DurationUnit
|
3753
|
-
extend Orb::Enum
|
3769
|
+
extend Orb::Internal::Type::Enum
|
3754
3770
|
|
3755
3771
|
TaggedSymbol =
|
3756
3772
|
T.type_alias do
|
@@ -3790,7 +3806,7 @@ module Orb
|
|
3790
3806
|
end
|
3791
3807
|
end
|
3792
3808
|
|
3793
|
-
class NewPlanTieredPackagePrice < Orb::BaseModel
|
3809
|
+
class NewPlanTieredPackagePrice < Orb::Internal::Type::BaseModel
|
3794
3810
|
# The cadence to bill for this price on.
|
3795
3811
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice::Cadence::OrSymbol) }
|
3796
3812
|
attr_accessor :cadence
|
@@ -3833,7 +3849,7 @@ module Orb
|
|
3833
3849
|
billing_cycle_configuration: T.nilable(
|
3834
3850
|
T.any(
|
3835
3851
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice::BillingCycleConfiguration,
|
3836
|
-
Orb::
|
3852
|
+
Orb::Internal::AnyHash
|
3837
3853
|
)
|
3838
3854
|
)
|
3839
3855
|
)
|
@@ -3877,7 +3893,7 @@ module Orb
|
|
3877
3893
|
invoicing_cycle_configuration: T.nilable(
|
3878
3894
|
T.any(
|
3879
3895
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice::InvoicingCycleConfiguration,
|
3880
|
-
Orb::
|
3896
|
+
Orb::Internal::AnyHash
|
3881
3897
|
)
|
3882
3898
|
)
|
3883
3899
|
)
|
@@ -3902,7 +3918,7 @@ module Orb
|
|
3902
3918
|
billing_cycle_configuration: T.nilable(
|
3903
3919
|
T.any(
|
3904
3920
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice::BillingCycleConfiguration,
|
3905
|
-
Orb::
|
3921
|
+
Orb::Internal::AnyHash
|
3906
3922
|
)
|
3907
3923
|
),
|
3908
3924
|
conversion_rate: T.nilable(Float),
|
@@ -3913,7 +3929,7 @@ module Orb
|
|
3913
3929
|
invoicing_cycle_configuration: T.nilable(
|
3914
3930
|
T.any(
|
3915
3931
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice::InvoicingCycleConfiguration,
|
3916
|
-
Orb::
|
3932
|
+
Orb::Internal::AnyHash
|
3917
3933
|
)
|
3918
3934
|
),
|
3919
3935
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -3967,7 +3983,7 @@ module Orb
|
|
3967
3983
|
|
3968
3984
|
# The cadence to bill for this price on.
|
3969
3985
|
module Cadence
|
3970
|
-
extend Orb::Enum
|
3986
|
+
extend Orb::Internal::Type::Enum
|
3971
3987
|
|
3972
3988
|
TaggedSymbol =
|
3973
3989
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice::Cadence) }
|
@@ -4004,7 +4020,7 @@ module Orb
|
|
4004
4020
|
end
|
4005
4021
|
end
|
4006
4022
|
|
4007
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
4023
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4008
4024
|
# The duration of the billing period.
|
4009
4025
|
sig { returns(Integer) }
|
4010
4026
|
attr_accessor :duration
|
@@ -4043,7 +4059,7 @@ module Orb
|
|
4043
4059
|
|
4044
4060
|
# The unit of billing period duration.
|
4045
4061
|
module DurationUnit
|
4046
|
-
extend Orb::Enum
|
4062
|
+
extend Orb::Internal::Type::Enum
|
4047
4063
|
|
4048
4064
|
TaggedSymbol =
|
4049
4065
|
T.type_alias do
|
@@ -4082,7 +4098,7 @@ module Orb
|
|
4082
4098
|
end
|
4083
4099
|
end
|
4084
4100
|
|
4085
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
4101
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4086
4102
|
# The duration of the billing period.
|
4087
4103
|
sig { returns(Integer) }
|
4088
4104
|
attr_accessor :duration
|
@@ -4121,7 +4137,7 @@ module Orb
|
|
4121
4137
|
|
4122
4138
|
# The unit of billing period duration.
|
4123
4139
|
module DurationUnit
|
4124
|
-
extend Orb::Enum
|
4140
|
+
extend Orb::Internal::Type::Enum
|
4125
4141
|
|
4126
4142
|
TaggedSymbol =
|
4127
4143
|
T.type_alias do
|
@@ -4161,7 +4177,7 @@ module Orb
|
|
4161
4177
|
end
|
4162
4178
|
end
|
4163
4179
|
|
4164
|
-
class NewPlanTieredWithMinimumPrice < Orb::BaseModel
|
4180
|
+
class NewPlanTieredWithMinimumPrice < Orb::Internal::Type::BaseModel
|
4165
4181
|
# The cadence to bill for this price on.
|
4166
4182
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice::Cadence::OrSymbol) }
|
4167
4183
|
attr_accessor :cadence
|
@@ -4204,7 +4220,7 @@ module Orb
|
|
4204
4220
|
billing_cycle_configuration: T.nilable(
|
4205
4221
|
T.any(
|
4206
4222
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice::BillingCycleConfiguration,
|
4207
|
-
Orb::
|
4223
|
+
Orb::Internal::AnyHash
|
4208
4224
|
)
|
4209
4225
|
)
|
4210
4226
|
)
|
@@ -4250,7 +4266,7 @@ module Orb
|
|
4250
4266
|
invoicing_cycle_configuration: T.nilable(
|
4251
4267
|
T.any(
|
4252
4268
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice::InvoicingCycleConfiguration,
|
4253
|
-
Orb::
|
4269
|
+
Orb::Internal::AnyHash
|
4254
4270
|
)
|
4255
4271
|
)
|
4256
4272
|
)
|
@@ -4275,7 +4291,7 @@ module Orb
|
|
4275
4291
|
billing_cycle_configuration: T.nilable(
|
4276
4292
|
T.any(
|
4277
4293
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice::BillingCycleConfiguration,
|
4278
|
-
Orb::
|
4294
|
+
Orb::Internal::AnyHash
|
4279
4295
|
)
|
4280
4296
|
),
|
4281
4297
|
conversion_rate: T.nilable(Float),
|
@@ -4286,7 +4302,7 @@ module Orb
|
|
4286
4302
|
invoicing_cycle_configuration: T.nilable(
|
4287
4303
|
T.any(
|
4288
4304
|
Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice::InvoicingCycleConfiguration,
|
4289
|
-
Orb::
|
4305
|
+
Orb::Internal::AnyHash
|
4290
4306
|
)
|
4291
4307
|
),
|
4292
4308
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -4342,7 +4358,7 @@ module Orb
|
|
4342
4358
|
|
4343
4359
|
# The cadence to bill for this price on.
|
4344
4360
|
module Cadence
|
4345
|
-
extend Orb::Enum
|
4361
|
+
extend Orb::Internal::Type::Enum
|
4346
4362
|
|
4347
4363
|
TaggedSymbol =
|
4348
4364
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice::Cadence) }
|
@@ -4390,7 +4406,7 @@ module Orb
|
|
4390
4406
|
end
|
4391
4407
|
end
|
4392
4408
|
|
4393
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
4409
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4394
4410
|
# The duration of the billing period.
|
4395
4411
|
sig { returns(Integer) }
|
4396
4412
|
attr_accessor :duration
|
@@ -4429,7 +4445,7 @@ module Orb
|
|
4429
4445
|
|
4430
4446
|
# The unit of billing period duration.
|
4431
4447
|
module DurationUnit
|
4432
|
-
extend Orb::Enum
|
4448
|
+
extend Orb::Internal::Type::Enum
|
4433
4449
|
|
4434
4450
|
TaggedSymbol =
|
4435
4451
|
T.type_alias do
|
@@ -4468,7 +4484,7 @@ module Orb
|
|
4468
4484
|
end
|
4469
4485
|
end
|
4470
4486
|
|
4471
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
4487
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4472
4488
|
# The duration of the billing period.
|
4473
4489
|
sig { returns(Integer) }
|
4474
4490
|
attr_accessor :duration
|
@@ -4507,7 +4523,7 @@ module Orb
|
|
4507
4523
|
|
4508
4524
|
# The unit of billing period duration.
|
4509
4525
|
module DurationUnit
|
4510
|
-
extend Orb::Enum
|
4526
|
+
extend Orb::Internal::Type::Enum
|
4511
4527
|
|
4512
4528
|
TaggedSymbol =
|
4513
4529
|
T.type_alias do
|
@@ -4547,7 +4563,7 @@ module Orb
|
|
4547
4563
|
end
|
4548
4564
|
end
|
4549
4565
|
|
4550
|
-
class NewPlanUnitWithPercentPrice < Orb::BaseModel
|
4566
|
+
class NewPlanUnitWithPercentPrice < Orb::Internal::Type::BaseModel
|
4551
4567
|
# The cadence to bill for this price on.
|
4552
4568
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice::Cadence::OrSymbol) }
|
4553
4569
|
attr_accessor :cadence
|
@@ -4590,7 +4606,7 @@ module Orb
|
|
4590
4606
|
billing_cycle_configuration: T.nilable(
|
4591
4607
|
T.any(
|
4592
4608
|
Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice::BillingCycleConfiguration,
|
4593
|
-
Orb::
|
4609
|
+
Orb::Internal::AnyHash
|
4594
4610
|
)
|
4595
4611
|
)
|
4596
4612
|
)
|
@@ -4634,7 +4650,7 @@ module Orb
|
|
4634
4650
|
invoicing_cycle_configuration: T.nilable(
|
4635
4651
|
T.any(
|
4636
4652
|
Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice::InvoicingCycleConfiguration,
|
4637
|
-
Orb::
|
4653
|
+
Orb::Internal::AnyHash
|
4638
4654
|
)
|
4639
4655
|
)
|
4640
4656
|
)
|
@@ -4659,7 +4675,7 @@ module Orb
|
|
4659
4675
|
billing_cycle_configuration: T.nilable(
|
4660
4676
|
T.any(
|
4661
4677
|
Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice::BillingCycleConfiguration,
|
4662
|
-
Orb::
|
4678
|
+
Orb::Internal::AnyHash
|
4663
4679
|
)
|
4664
4680
|
),
|
4665
4681
|
conversion_rate: T.nilable(Float),
|
@@ -4670,7 +4686,7 @@ module Orb
|
|
4670
4686
|
invoicing_cycle_configuration: T.nilable(
|
4671
4687
|
T.any(
|
4672
4688
|
Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice::InvoicingCycleConfiguration,
|
4673
|
-
Orb::
|
4689
|
+
Orb::Internal::AnyHash
|
4674
4690
|
)
|
4675
4691
|
),
|
4676
4692
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -4724,7 +4740,7 @@ module Orb
|
|
4724
4740
|
|
4725
4741
|
# The cadence to bill for this price on.
|
4726
4742
|
module Cadence
|
4727
|
-
extend Orb::Enum
|
4743
|
+
extend Orb::Internal::Type::Enum
|
4728
4744
|
|
4729
4745
|
TaggedSymbol =
|
4730
4746
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice::Cadence) }
|
@@ -4766,7 +4782,7 @@ module Orb
|
|
4766
4782
|
end
|
4767
4783
|
end
|
4768
4784
|
|
4769
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
4785
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4770
4786
|
# The duration of the billing period.
|
4771
4787
|
sig { returns(Integer) }
|
4772
4788
|
attr_accessor :duration
|
@@ -4805,7 +4821,7 @@ module Orb
|
|
4805
4821
|
|
4806
4822
|
# The unit of billing period duration.
|
4807
4823
|
module DurationUnit
|
4808
|
-
extend Orb::Enum
|
4824
|
+
extend Orb::Internal::Type::Enum
|
4809
4825
|
|
4810
4826
|
TaggedSymbol =
|
4811
4827
|
T.type_alias do
|
@@ -4844,7 +4860,7 @@ module Orb
|
|
4844
4860
|
end
|
4845
4861
|
end
|
4846
4862
|
|
4847
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
4863
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4848
4864
|
# The duration of the billing period.
|
4849
4865
|
sig { returns(Integer) }
|
4850
4866
|
attr_accessor :duration
|
@@ -4883,7 +4899,7 @@ module Orb
|
|
4883
4899
|
|
4884
4900
|
# The unit of billing period duration.
|
4885
4901
|
module DurationUnit
|
4886
|
-
extend Orb::Enum
|
4902
|
+
extend Orb::Internal::Type::Enum
|
4887
4903
|
|
4888
4904
|
TaggedSymbol =
|
4889
4905
|
T.type_alias do
|
@@ -4923,7 +4939,7 @@ module Orb
|
|
4923
4939
|
end
|
4924
4940
|
end
|
4925
4941
|
|
4926
|
-
class NewPlanPackageWithAllocationPrice < Orb::BaseModel
|
4942
|
+
class NewPlanPackageWithAllocationPrice < Orb::Internal::Type::BaseModel
|
4927
4943
|
# The cadence to bill for this price on.
|
4928
4944
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice::Cadence::OrSymbol) }
|
4929
4945
|
attr_accessor :cadence
|
@@ -4968,7 +4984,7 @@ module Orb
|
|
4968
4984
|
billing_cycle_configuration: T.nilable(
|
4969
4985
|
T.any(
|
4970
4986
|
Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice::BillingCycleConfiguration,
|
4971
|
-
Orb::
|
4987
|
+
Orb::Internal::AnyHash
|
4972
4988
|
)
|
4973
4989
|
)
|
4974
4990
|
)
|
@@ -5014,7 +5030,7 @@ module Orb
|
|
5014
5030
|
invoicing_cycle_configuration: T.nilable(
|
5015
5031
|
T.any(
|
5016
5032
|
Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice::InvoicingCycleConfiguration,
|
5017
|
-
Orb::
|
5033
|
+
Orb::Internal::AnyHash
|
5018
5034
|
)
|
5019
5035
|
)
|
5020
5036
|
)
|
@@ -5039,7 +5055,7 @@ module Orb
|
|
5039
5055
|
billing_cycle_configuration: T.nilable(
|
5040
5056
|
T.any(
|
5041
5057
|
Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice::BillingCycleConfiguration,
|
5042
|
-
Orb::
|
5058
|
+
Orb::Internal::AnyHash
|
5043
5059
|
)
|
5044
5060
|
),
|
5045
5061
|
conversion_rate: T.nilable(Float),
|
@@ -5050,7 +5066,7 @@ module Orb
|
|
5050
5066
|
invoicing_cycle_configuration: T.nilable(
|
5051
5067
|
T.any(
|
5052
5068
|
Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice::InvoicingCycleConfiguration,
|
5053
|
-
Orb::
|
5069
|
+
Orb::Internal::AnyHash
|
5054
5070
|
)
|
5055
5071
|
),
|
5056
5072
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -5108,7 +5124,7 @@ module Orb
|
|
5108
5124
|
|
5109
5125
|
# The cadence to bill for this price on.
|
5110
5126
|
module Cadence
|
5111
|
-
extend Orb::Enum
|
5127
|
+
extend Orb::Internal::Type::Enum
|
5112
5128
|
|
5113
5129
|
TaggedSymbol =
|
5114
5130
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice::Cadence) }
|
@@ -5162,7 +5178,7 @@ module Orb
|
|
5162
5178
|
end
|
5163
5179
|
end
|
5164
5180
|
|
5165
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
5181
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5166
5182
|
# The duration of the billing period.
|
5167
5183
|
sig { returns(Integer) }
|
5168
5184
|
attr_accessor :duration
|
@@ -5201,7 +5217,7 @@ module Orb
|
|
5201
5217
|
|
5202
5218
|
# The unit of billing period duration.
|
5203
5219
|
module DurationUnit
|
5204
|
-
extend Orb::Enum
|
5220
|
+
extend Orb::Internal::Type::Enum
|
5205
5221
|
|
5206
5222
|
TaggedSymbol =
|
5207
5223
|
T.type_alias do
|
@@ -5240,7 +5256,7 @@ module Orb
|
|
5240
5256
|
end
|
5241
5257
|
end
|
5242
5258
|
|
5243
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
5259
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5244
5260
|
# The duration of the billing period.
|
5245
5261
|
sig { returns(Integer) }
|
5246
5262
|
attr_accessor :duration
|
@@ -5279,7 +5295,7 @@ module Orb
|
|
5279
5295
|
|
5280
5296
|
# The unit of billing period duration.
|
5281
5297
|
module DurationUnit
|
5282
|
-
extend Orb::Enum
|
5298
|
+
extend Orb::Internal::Type::Enum
|
5283
5299
|
|
5284
5300
|
TaggedSymbol =
|
5285
5301
|
T.type_alias do
|
@@ -5319,7 +5335,7 @@ module Orb
|
|
5319
5335
|
end
|
5320
5336
|
end
|
5321
5337
|
|
5322
|
-
class NewPlanTierWithProrationPrice < Orb::BaseModel
|
5338
|
+
class NewPlanTierWithProrationPrice < Orb::Internal::Type::BaseModel
|
5323
5339
|
# The cadence to bill for this price on.
|
5324
5340
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice::Cadence::OrSymbol) }
|
5325
5341
|
attr_accessor :cadence
|
@@ -5362,7 +5378,7 @@ module Orb
|
|
5362
5378
|
billing_cycle_configuration: T.nilable(
|
5363
5379
|
T.any(
|
5364
5380
|
Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice::BillingCycleConfiguration,
|
5365
|
-
Orb::
|
5381
|
+
Orb::Internal::AnyHash
|
5366
5382
|
)
|
5367
5383
|
)
|
5368
5384
|
)
|
@@ -5408,7 +5424,7 @@ module Orb
|
|
5408
5424
|
invoicing_cycle_configuration: T.nilable(
|
5409
5425
|
T.any(
|
5410
5426
|
Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice::InvoicingCycleConfiguration,
|
5411
|
-
Orb::
|
5427
|
+
Orb::Internal::AnyHash
|
5412
5428
|
)
|
5413
5429
|
)
|
5414
5430
|
)
|
@@ -5433,7 +5449,7 @@ module Orb
|
|
5433
5449
|
billing_cycle_configuration: T.nilable(
|
5434
5450
|
T.any(
|
5435
5451
|
Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice::BillingCycleConfiguration,
|
5436
|
-
Orb::
|
5452
|
+
Orb::Internal::AnyHash
|
5437
5453
|
)
|
5438
5454
|
),
|
5439
5455
|
conversion_rate: T.nilable(Float),
|
@@ -5444,7 +5460,7 @@ module Orb
|
|
5444
5460
|
invoicing_cycle_configuration: T.nilable(
|
5445
5461
|
T.any(
|
5446
5462
|
Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice::InvoicingCycleConfiguration,
|
5447
|
-
Orb::
|
5463
|
+
Orb::Internal::AnyHash
|
5448
5464
|
)
|
5449
5465
|
),
|
5450
5466
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -5500,7 +5516,7 @@ module Orb
|
|
5500
5516
|
|
5501
5517
|
# The cadence to bill for this price on.
|
5502
5518
|
module Cadence
|
5503
|
-
extend Orb::Enum
|
5519
|
+
extend Orb::Internal::Type::Enum
|
5504
5520
|
|
5505
5521
|
TaggedSymbol =
|
5506
5522
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice::Cadence) }
|
@@ -5548,7 +5564,7 @@ module Orb
|
|
5548
5564
|
end
|
5549
5565
|
end
|
5550
5566
|
|
5551
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
5567
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5552
5568
|
# The duration of the billing period.
|
5553
5569
|
sig { returns(Integer) }
|
5554
5570
|
attr_accessor :duration
|
@@ -5587,7 +5603,7 @@ module Orb
|
|
5587
5603
|
|
5588
5604
|
# The unit of billing period duration.
|
5589
5605
|
module DurationUnit
|
5590
|
-
extend Orb::Enum
|
5606
|
+
extend Orb::Internal::Type::Enum
|
5591
5607
|
|
5592
5608
|
TaggedSymbol =
|
5593
5609
|
T.type_alias do
|
@@ -5626,7 +5642,7 @@ module Orb
|
|
5626
5642
|
end
|
5627
5643
|
end
|
5628
5644
|
|
5629
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
5645
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5630
5646
|
# The duration of the billing period.
|
5631
5647
|
sig { returns(Integer) }
|
5632
5648
|
attr_accessor :duration
|
@@ -5665,7 +5681,7 @@ module Orb
|
|
5665
5681
|
|
5666
5682
|
# The unit of billing period duration.
|
5667
5683
|
module DurationUnit
|
5668
|
-
extend Orb::Enum
|
5684
|
+
extend Orb::Internal::Type::Enum
|
5669
5685
|
|
5670
5686
|
TaggedSymbol =
|
5671
5687
|
T.type_alias do
|
@@ -5705,7 +5721,7 @@ module Orb
|
|
5705
5721
|
end
|
5706
5722
|
end
|
5707
5723
|
|
5708
|
-
class NewPlanUnitWithProrationPrice < Orb::BaseModel
|
5724
|
+
class NewPlanUnitWithProrationPrice < Orb::Internal::Type::BaseModel
|
5709
5725
|
# The cadence to bill for this price on.
|
5710
5726
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice::Cadence::OrSymbol) }
|
5711
5727
|
attr_accessor :cadence
|
@@ -5748,7 +5764,7 @@ module Orb
|
|
5748
5764
|
billing_cycle_configuration: T.nilable(
|
5749
5765
|
T.any(
|
5750
5766
|
Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice::BillingCycleConfiguration,
|
5751
|
-
Orb::
|
5767
|
+
Orb::Internal::AnyHash
|
5752
5768
|
)
|
5753
5769
|
)
|
5754
5770
|
)
|
@@ -5794,7 +5810,7 @@ module Orb
|
|
5794
5810
|
invoicing_cycle_configuration: T.nilable(
|
5795
5811
|
T.any(
|
5796
5812
|
Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice::InvoicingCycleConfiguration,
|
5797
|
-
Orb::
|
5813
|
+
Orb::Internal::AnyHash
|
5798
5814
|
)
|
5799
5815
|
)
|
5800
5816
|
)
|
@@ -5819,7 +5835,7 @@ module Orb
|
|
5819
5835
|
billing_cycle_configuration: T.nilable(
|
5820
5836
|
T.any(
|
5821
5837
|
Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice::BillingCycleConfiguration,
|
5822
|
-
Orb::
|
5838
|
+
Orb::Internal::AnyHash
|
5823
5839
|
)
|
5824
5840
|
),
|
5825
5841
|
conversion_rate: T.nilable(Float),
|
@@ -5830,7 +5846,7 @@ module Orb
|
|
5830
5846
|
invoicing_cycle_configuration: T.nilable(
|
5831
5847
|
T.any(
|
5832
5848
|
Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice::InvoicingCycleConfiguration,
|
5833
|
-
Orb::
|
5849
|
+
Orb::Internal::AnyHash
|
5834
5850
|
)
|
5835
5851
|
),
|
5836
5852
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -5886,7 +5902,7 @@ module Orb
|
|
5886
5902
|
|
5887
5903
|
# The cadence to bill for this price on.
|
5888
5904
|
module Cadence
|
5889
|
-
extend Orb::Enum
|
5905
|
+
extend Orb::Internal::Type::Enum
|
5890
5906
|
|
5891
5907
|
TaggedSymbol =
|
5892
5908
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice::Cadence) }
|
@@ -5934,7 +5950,7 @@ module Orb
|
|
5934
5950
|
end
|
5935
5951
|
end
|
5936
5952
|
|
5937
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
5953
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5938
5954
|
# The duration of the billing period.
|
5939
5955
|
sig { returns(Integer) }
|
5940
5956
|
attr_accessor :duration
|
@@ -5973,7 +5989,7 @@ module Orb
|
|
5973
5989
|
|
5974
5990
|
# The unit of billing period duration.
|
5975
5991
|
module DurationUnit
|
5976
|
-
extend Orb::Enum
|
5992
|
+
extend Orb::Internal::Type::Enum
|
5977
5993
|
|
5978
5994
|
TaggedSymbol =
|
5979
5995
|
T.type_alias do
|
@@ -6012,7 +6028,7 @@ module Orb
|
|
6012
6028
|
end
|
6013
6029
|
end
|
6014
6030
|
|
6015
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
6031
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6016
6032
|
# The duration of the billing period.
|
6017
6033
|
sig { returns(Integer) }
|
6018
6034
|
attr_accessor :duration
|
@@ -6051,7 +6067,7 @@ module Orb
|
|
6051
6067
|
|
6052
6068
|
# The unit of billing period duration.
|
6053
6069
|
module DurationUnit
|
6054
|
-
extend Orb::Enum
|
6070
|
+
extend Orb::Internal::Type::Enum
|
6055
6071
|
|
6056
6072
|
TaggedSymbol =
|
6057
6073
|
T.type_alias do
|
@@ -6091,7 +6107,7 @@ module Orb
|
|
6091
6107
|
end
|
6092
6108
|
end
|
6093
6109
|
|
6094
|
-
class NewPlanGroupedAllocationPrice < Orb::BaseModel
|
6110
|
+
class NewPlanGroupedAllocationPrice < Orb::Internal::Type::BaseModel
|
6095
6111
|
# The cadence to bill for this price on.
|
6096
6112
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice::Cadence::OrSymbol) }
|
6097
6113
|
attr_accessor :cadence
|
@@ -6134,7 +6150,7 @@ module Orb
|
|
6134
6150
|
billing_cycle_configuration: T.nilable(
|
6135
6151
|
T.any(
|
6136
6152
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice::BillingCycleConfiguration,
|
6137
|
-
Orb::
|
6153
|
+
Orb::Internal::AnyHash
|
6138
6154
|
)
|
6139
6155
|
)
|
6140
6156
|
)
|
@@ -6180,7 +6196,7 @@ module Orb
|
|
6180
6196
|
invoicing_cycle_configuration: T.nilable(
|
6181
6197
|
T.any(
|
6182
6198
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice::InvoicingCycleConfiguration,
|
6183
|
-
Orb::
|
6199
|
+
Orb::Internal::AnyHash
|
6184
6200
|
)
|
6185
6201
|
)
|
6186
6202
|
)
|
@@ -6205,7 +6221,7 @@ module Orb
|
|
6205
6221
|
billing_cycle_configuration: T.nilable(
|
6206
6222
|
T.any(
|
6207
6223
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice::BillingCycleConfiguration,
|
6208
|
-
Orb::
|
6224
|
+
Orb::Internal::AnyHash
|
6209
6225
|
)
|
6210
6226
|
),
|
6211
6227
|
conversion_rate: T.nilable(Float),
|
@@ -6216,7 +6232,7 @@ module Orb
|
|
6216
6232
|
invoicing_cycle_configuration: T.nilable(
|
6217
6233
|
T.any(
|
6218
6234
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice::InvoicingCycleConfiguration,
|
6219
|
-
Orb::
|
6235
|
+
Orb::Internal::AnyHash
|
6220
6236
|
)
|
6221
6237
|
),
|
6222
6238
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -6272,7 +6288,7 @@ module Orb
|
|
6272
6288
|
|
6273
6289
|
# The cadence to bill for this price on.
|
6274
6290
|
module Cadence
|
6275
|
-
extend Orb::Enum
|
6291
|
+
extend Orb::Internal::Type::Enum
|
6276
6292
|
|
6277
6293
|
TaggedSymbol =
|
6278
6294
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice::Cadence) }
|
@@ -6320,7 +6336,7 @@ module Orb
|
|
6320
6336
|
end
|
6321
6337
|
end
|
6322
6338
|
|
6323
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
6339
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6324
6340
|
# The duration of the billing period.
|
6325
6341
|
sig { returns(Integer) }
|
6326
6342
|
attr_accessor :duration
|
@@ -6359,7 +6375,7 @@ module Orb
|
|
6359
6375
|
|
6360
6376
|
# The unit of billing period duration.
|
6361
6377
|
module DurationUnit
|
6362
|
-
extend Orb::Enum
|
6378
|
+
extend Orb::Internal::Type::Enum
|
6363
6379
|
|
6364
6380
|
TaggedSymbol =
|
6365
6381
|
T.type_alias do
|
@@ -6398,7 +6414,7 @@ module Orb
|
|
6398
6414
|
end
|
6399
6415
|
end
|
6400
6416
|
|
6401
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
6417
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6402
6418
|
# The duration of the billing period.
|
6403
6419
|
sig { returns(Integer) }
|
6404
6420
|
attr_accessor :duration
|
@@ -6437,7 +6453,7 @@ module Orb
|
|
6437
6453
|
|
6438
6454
|
# The unit of billing period duration.
|
6439
6455
|
module DurationUnit
|
6440
|
-
extend Orb::Enum
|
6456
|
+
extend Orb::Internal::Type::Enum
|
6441
6457
|
|
6442
6458
|
TaggedSymbol =
|
6443
6459
|
T.type_alias do
|
@@ -6477,7 +6493,7 @@ module Orb
|
|
6477
6493
|
end
|
6478
6494
|
end
|
6479
6495
|
|
6480
|
-
class NewPlanGroupedWithProratedMinimumPrice < Orb::BaseModel
|
6496
|
+
class NewPlanGroupedWithProratedMinimumPrice < Orb::Internal::Type::BaseModel
|
6481
6497
|
# The cadence to bill for this price on.
|
6482
6498
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice::Cadence::OrSymbol) }
|
6483
6499
|
attr_accessor :cadence
|
@@ -6522,7 +6538,7 @@ module Orb
|
|
6522
6538
|
billing_cycle_configuration: T.nilable(
|
6523
6539
|
T.any(
|
6524
6540
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice::BillingCycleConfiguration,
|
6525
|
-
Orb::
|
6541
|
+
Orb::Internal::AnyHash
|
6526
6542
|
)
|
6527
6543
|
)
|
6528
6544
|
)
|
@@ -6568,7 +6584,7 @@ module Orb
|
|
6568
6584
|
invoicing_cycle_configuration: T.nilable(
|
6569
6585
|
T.any(
|
6570
6586
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice::InvoicingCycleConfiguration,
|
6571
|
-
Orb::
|
6587
|
+
Orb::Internal::AnyHash
|
6572
6588
|
)
|
6573
6589
|
)
|
6574
6590
|
)
|
@@ -6593,7 +6609,7 @@ module Orb
|
|
6593
6609
|
billing_cycle_configuration: T.nilable(
|
6594
6610
|
T.any(
|
6595
6611
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice::BillingCycleConfiguration,
|
6596
|
-
Orb::
|
6612
|
+
Orb::Internal::AnyHash
|
6597
6613
|
)
|
6598
6614
|
),
|
6599
6615
|
conversion_rate: T.nilable(Float),
|
@@ -6604,7 +6620,7 @@ module Orb
|
|
6604
6620
|
invoicing_cycle_configuration: T.nilable(
|
6605
6621
|
T.any(
|
6606
6622
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice::InvoicingCycleConfiguration,
|
6607
|
-
Orb::
|
6623
|
+
Orb::Internal::AnyHash
|
6608
6624
|
)
|
6609
6625
|
),
|
6610
6626
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -6662,7 +6678,7 @@ module Orb
|
|
6662
6678
|
|
6663
6679
|
# The cadence to bill for this price on.
|
6664
6680
|
module Cadence
|
6665
|
-
extend Orb::Enum
|
6681
|
+
extend Orb::Internal::Type::Enum
|
6666
6682
|
|
6667
6683
|
TaggedSymbol =
|
6668
6684
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice::Cadence) }
|
@@ -6716,7 +6732,7 @@ module Orb
|
|
6716
6732
|
end
|
6717
6733
|
end
|
6718
6734
|
|
6719
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
6735
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6720
6736
|
# The duration of the billing period.
|
6721
6737
|
sig { returns(Integer) }
|
6722
6738
|
attr_accessor :duration
|
@@ -6755,7 +6771,7 @@ module Orb
|
|
6755
6771
|
|
6756
6772
|
# The unit of billing period duration.
|
6757
6773
|
module DurationUnit
|
6758
|
-
extend Orb::Enum
|
6774
|
+
extend Orb::Internal::Type::Enum
|
6759
6775
|
|
6760
6776
|
TaggedSymbol =
|
6761
6777
|
T.type_alias do
|
@@ -6794,7 +6810,7 @@ module Orb
|
|
6794
6810
|
end
|
6795
6811
|
end
|
6796
6812
|
|
6797
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
6813
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6798
6814
|
# The duration of the billing period.
|
6799
6815
|
sig { returns(Integer) }
|
6800
6816
|
attr_accessor :duration
|
@@ -6833,7 +6849,7 @@ module Orb
|
|
6833
6849
|
|
6834
6850
|
# The unit of billing period duration.
|
6835
6851
|
module DurationUnit
|
6836
|
-
extend Orb::Enum
|
6852
|
+
extend Orb::Internal::Type::Enum
|
6837
6853
|
|
6838
6854
|
TaggedSymbol =
|
6839
6855
|
T.type_alias do
|
@@ -6873,7 +6889,7 @@ module Orb
|
|
6873
6889
|
end
|
6874
6890
|
end
|
6875
6891
|
|
6876
|
-
class NewPlanGroupedWithMeteredMinimumPrice < Orb::BaseModel
|
6892
|
+
class NewPlanGroupedWithMeteredMinimumPrice < Orb::Internal::Type::BaseModel
|
6877
6893
|
# The cadence to bill for this price on.
|
6878
6894
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice::Cadence::OrSymbol) }
|
6879
6895
|
attr_accessor :cadence
|
@@ -6918,7 +6934,7 @@ module Orb
|
|
6918
6934
|
billing_cycle_configuration: T.nilable(
|
6919
6935
|
T.any(
|
6920
6936
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice::BillingCycleConfiguration,
|
6921
|
-
Orb::
|
6937
|
+
Orb::Internal::AnyHash
|
6922
6938
|
)
|
6923
6939
|
)
|
6924
6940
|
)
|
@@ -6964,7 +6980,7 @@ module Orb
|
|
6964
6980
|
invoicing_cycle_configuration: T.nilable(
|
6965
6981
|
T.any(
|
6966
6982
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice::InvoicingCycleConfiguration,
|
6967
|
-
Orb::
|
6983
|
+
Orb::Internal::AnyHash
|
6968
6984
|
)
|
6969
6985
|
)
|
6970
6986
|
)
|
@@ -6989,7 +7005,7 @@ module Orb
|
|
6989
7005
|
billing_cycle_configuration: T.nilable(
|
6990
7006
|
T.any(
|
6991
7007
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice::BillingCycleConfiguration,
|
6992
|
-
Orb::
|
7008
|
+
Orb::Internal::AnyHash
|
6993
7009
|
)
|
6994
7010
|
),
|
6995
7011
|
conversion_rate: T.nilable(Float),
|
@@ -7000,7 +7016,7 @@ module Orb
|
|
7000
7016
|
invoicing_cycle_configuration: T.nilable(
|
7001
7017
|
T.any(
|
7002
7018
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice::InvoicingCycleConfiguration,
|
7003
|
-
Orb::
|
7019
|
+
Orb::Internal::AnyHash
|
7004
7020
|
)
|
7005
7021
|
),
|
7006
7022
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -7058,7 +7074,7 @@ module Orb
|
|
7058
7074
|
|
7059
7075
|
# The cadence to bill for this price on.
|
7060
7076
|
module Cadence
|
7061
|
-
extend Orb::Enum
|
7077
|
+
extend Orb::Internal::Type::Enum
|
7062
7078
|
|
7063
7079
|
TaggedSymbol =
|
7064
7080
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice::Cadence) }
|
@@ -7112,7 +7128,7 @@ module Orb
|
|
7112
7128
|
end
|
7113
7129
|
end
|
7114
7130
|
|
7115
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
7131
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7116
7132
|
# The duration of the billing period.
|
7117
7133
|
sig { returns(Integer) }
|
7118
7134
|
attr_accessor :duration
|
@@ -7151,7 +7167,7 @@ module Orb
|
|
7151
7167
|
|
7152
7168
|
# The unit of billing period duration.
|
7153
7169
|
module DurationUnit
|
7154
|
-
extend Orb::Enum
|
7170
|
+
extend Orb::Internal::Type::Enum
|
7155
7171
|
|
7156
7172
|
TaggedSymbol =
|
7157
7173
|
T.type_alias do
|
@@ -7190,7 +7206,7 @@ module Orb
|
|
7190
7206
|
end
|
7191
7207
|
end
|
7192
7208
|
|
7193
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
7209
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7194
7210
|
# The duration of the billing period.
|
7195
7211
|
sig { returns(Integer) }
|
7196
7212
|
attr_accessor :duration
|
@@ -7229,7 +7245,7 @@ module Orb
|
|
7229
7245
|
|
7230
7246
|
# The unit of billing period duration.
|
7231
7247
|
module DurationUnit
|
7232
|
-
extend Orb::Enum
|
7248
|
+
extend Orb::Internal::Type::Enum
|
7233
7249
|
|
7234
7250
|
TaggedSymbol =
|
7235
7251
|
T.type_alias do
|
@@ -7269,7 +7285,7 @@ module Orb
|
|
7269
7285
|
end
|
7270
7286
|
end
|
7271
7287
|
|
7272
|
-
class NewPlanMatrixWithDisplayNamePrice < Orb::BaseModel
|
7288
|
+
class NewPlanMatrixWithDisplayNamePrice < Orb::Internal::Type::BaseModel
|
7273
7289
|
# The cadence to bill for this price on.
|
7274
7290
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice::Cadence::OrSymbol) }
|
7275
7291
|
attr_accessor :cadence
|
@@ -7314,7 +7330,7 @@ module Orb
|
|
7314
7330
|
billing_cycle_configuration: T.nilable(
|
7315
7331
|
T.any(
|
7316
7332
|
Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice::BillingCycleConfiguration,
|
7317
|
-
Orb::
|
7333
|
+
Orb::Internal::AnyHash
|
7318
7334
|
)
|
7319
7335
|
)
|
7320
7336
|
)
|
@@ -7360,7 +7376,7 @@ module Orb
|
|
7360
7376
|
invoicing_cycle_configuration: T.nilable(
|
7361
7377
|
T.any(
|
7362
7378
|
Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice::InvoicingCycleConfiguration,
|
7363
|
-
Orb::
|
7379
|
+
Orb::Internal::AnyHash
|
7364
7380
|
)
|
7365
7381
|
)
|
7366
7382
|
)
|
@@ -7385,7 +7401,7 @@ module Orb
|
|
7385
7401
|
billing_cycle_configuration: T.nilable(
|
7386
7402
|
T.any(
|
7387
7403
|
Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice::BillingCycleConfiguration,
|
7388
|
-
Orb::
|
7404
|
+
Orb::Internal::AnyHash
|
7389
7405
|
)
|
7390
7406
|
),
|
7391
7407
|
conversion_rate: T.nilable(Float),
|
@@ -7396,7 +7412,7 @@ module Orb
|
|
7396
7412
|
invoicing_cycle_configuration: T.nilable(
|
7397
7413
|
T.any(
|
7398
7414
|
Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice::InvoicingCycleConfiguration,
|
7399
|
-
Orb::
|
7415
|
+
Orb::Internal::AnyHash
|
7400
7416
|
)
|
7401
7417
|
),
|
7402
7418
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -7454,7 +7470,7 @@ module Orb
|
|
7454
7470
|
|
7455
7471
|
# The cadence to bill for this price on.
|
7456
7472
|
module Cadence
|
7457
|
-
extend Orb::Enum
|
7473
|
+
extend Orb::Internal::Type::Enum
|
7458
7474
|
|
7459
7475
|
TaggedSymbol =
|
7460
7476
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice::Cadence) }
|
@@ -7508,7 +7524,7 @@ module Orb
|
|
7508
7524
|
end
|
7509
7525
|
end
|
7510
7526
|
|
7511
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
7527
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7512
7528
|
# The duration of the billing period.
|
7513
7529
|
sig { returns(Integer) }
|
7514
7530
|
attr_accessor :duration
|
@@ -7547,7 +7563,7 @@ module Orb
|
|
7547
7563
|
|
7548
7564
|
# The unit of billing period duration.
|
7549
7565
|
module DurationUnit
|
7550
|
-
extend Orb::Enum
|
7566
|
+
extend Orb::Internal::Type::Enum
|
7551
7567
|
|
7552
7568
|
TaggedSymbol =
|
7553
7569
|
T.type_alias do
|
@@ -7586,7 +7602,7 @@ module Orb
|
|
7586
7602
|
end
|
7587
7603
|
end
|
7588
7604
|
|
7589
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
7605
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7590
7606
|
# The duration of the billing period.
|
7591
7607
|
sig { returns(Integer) }
|
7592
7608
|
attr_accessor :duration
|
@@ -7625,7 +7641,7 @@ module Orb
|
|
7625
7641
|
|
7626
7642
|
# The unit of billing period duration.
|
7627
7643
|
module DurationUnit
|
7628
|
-
extend Orb::Enum
|
7644
|
+
extend Orb::Internal::Type::Enum
|
7629
7645
|
|
7630
7646
|
TaggedSymbol =
|
7631
7647
|
T.type_alias do
|
@@ -7665,7 +7681,7 @@ module Orb
|
|
7665
7681
|
end
|
7666
7682
|
end
|
7667
7683
|
|
7668
|
-
class NewPlanBulkWithProrationPrice < Orb::BaseModel
|
7684
|
+
class NewPlanBulkWithProrationPrice < Orb::Internal::Type::BaseModel
|
7669
7685
|
sig { returns(T::Hash[Symbol, T.anything]) }
|
7670
7686
|
attr_accessor :bulk_with_proration_config
|
7671
7687
|
|
@@ -7708,7 +7724,7 @@ module Orb
|
|
7708
7724
|
billing_cycle_configuration: T.nilable(
|
7709
7725
|
T.any(
|
7710
7726
|
Orb::Models::PlanCreateParams::Price::NewPlanBulkWithProrationPrice::BillingCycleConfiguration,
|
7711
|
-
Orb::
|
7727
|
+
Orb::Internal::AnyHash
|
7712
7728
|
)
|
7713
7729
|
)
|
7714
7730
|
)
|
@@ -7754,7 +7770,7 @@ module Orb
|
|
7754
7770
|
invoicing_cycle_configuration: T.nilable(
|
7755
7771
|
T.any(
|
7756
7772
|
Orb::Models::PlanCreateParams::Price::NewPlanBulkWithProrationPrice::InvoicingCycleConfiguration,
|
7757
|
-
Orb::
|
7773
|
+
Orb::Internal::AnyHash
|
7758
7774
|
)
|
7759
7775
|
)
|
7760
7776
|
)
|
@@ -7779,7 +7795,7 @@ module Orb
|
|
7779
7795
|
billing_cycle_configuration: T.nilable(
|
7780
7796
|
T.any(
|
7781
7797
|
Orb::Models::PlanCreateParams::Price::NewPlanBulkWithProrationPrice::BillingCycleConfiguration,
|
7782
|
-
Orb::
|
7798
|
+
Orb::Internal::AnyHash
|
7783
7799
|
)
|
7784
7800
|
),
|
7785
7801
|
conversion_rate: T.nilable(Float),
|
@@ -7790,7 +7806,7 @@ module Orb
|
|
7790
7806
|
invoicing_cycle_configuration: T.nilable(
|
7791
7807
|
T.any(
|
7792
7808
|
Orb::Models::PlanCreateParams::Price::NewPlanBulkWithProrationPrice::InvoicingCycleConfiguration,
|
7793
|
-
Orb::
|
7809
|
+
Orb::Internal::AnyHash
|
7794
7810
|
)
|
7795
7811
|
),
|
7796
7812
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -7846,7 +7862,7 @@ module Orb
|
|
7846
7862
|
|
7847
7863
|
# The cadence to bill for this price on.
|
7848
7864
|
module Cadence
|
7849
|
-
extend Orb::Enum
|
7865
|
+
extend Orb::Internal::Type::Enum
|
7850
7866
|
|
7851
7867
|
TaggedSymbol =
|
7852
7868
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanBulkWithProrationPrice::Cadence) }
|
@@ -7894,7 +7910,7 @@ module Orb
|
|
7894
7910
|
end
|
7895
7911
|
end
|
7896
7912
|
|
7897
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
7913
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7898
7914
|
# The duration of the billing period.
|
7899
7915
|
sig { returns(Integer) }
|
7900
7916
|
attr_accessor :duration
|
@@ -7933,7 +7949,7 @@ module Orb
|
|
7933
7949
|
|
7934
7950
|
# The unit of billing period duration.
|
7935
7951
|
module DurationUnit
|
7936
|
-
extend Orb::Enum
|
7952
|
+
extend Orb::Internal::Type::Enum
|
7937
7953
|
|
7938
7954
|
TaggedSymbol =
|
7939
7955
|
T.type_alias do
|
@@ -7972,7 +7988,7 @@ module Orb
|
|
7972
7988
|
end
|
7973
7989
|
end
|
7974
7990
|
|
7975
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
7991
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7976
7992
|
# The duration of the billing period.
|
7977
7993
|
sig { returns(Integer) }
|
7978
7994
|
attr_accessor :duration
|
@@ -8011,7 +8027,7 @@ module Orb
|
|
8011
8027
|
|
8012
8028
|
# The unit of billing period duration.
|
8013
8029
|
module DurationUnit
|
8014
|
-
extend Orb::Enum
|
8030
|
+
extend Orb::Internal::Type::Enum
|
8015
8031
|
|
8016
8032
|
TaggedSymbol =
|
8017
8033
|
T.type_alias do
|
@@ -8051,7 +8067,7 @@ module Orb
|
|
8051
8067
|
end
|
8052
8068
|
end
|
8053
8069
|
|
8054
|
-
class NewPlanGroupedTieredPackagePrice < Orb::BaseModel
|
8070
|
+
class NewPlanGroupedTieredPackagePrice < Orb::Internal::Type::BaseModel
|
8055
8071
|
# The cadence to bill for this price on.
|
8056
8072
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice::Cadence::OrSymbol) }
|
8057
8073
|
attr_accessor :cadence
|
@@ -8096,7 +8112,7 @@ module Orb
|
|
8096
8112
|
billing_cycle_configuration: T.nilable(
|
8097
8113
|
T.any(
|
8098
8114
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice::BillingCycleConfiguration,
|
8099
|
-
Orb::
|
8115
|
+
Orb::Internal::AnyHash
|
8100
8116
|
)
|
8101
8117
|
)
|
8102
8118
|
)
|
@@ -8142,7 +8158,7 @@ module Orb
|
|
8142
8158
|
invoicing_cycle_configuration: T.nilable(
|
8143
8159
|
T.any(
|
8144
8160
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice::InvoicingCycleConfiguration,
|
8145
|
-
Orb::
|
8161
|
+
Orb::Internal::AnyHash
|
8146
8162
|
)
|
8147
8163
|
)
|
8148
8164
|
)
|
@@ -8167,7 +8183,7 @@ module Orb
|
|
8167
8183
|
billing_cycle_configuration: T.nilable(
|
8168
8184
|
T.any(
|
8169
8185
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice::BillingCycleConfiguration,
|
8170
|
-
Orb::
|
8186
|
+
Orb::Internal::AnyHash
|
8171
8187
|
)
|
8172
8188
|
),
|
8173
8189
|
conversion_rate: T.nilable(Float),
|
@@ -8178,7 +8194,7 @@ module Orb
|
|
8178
8194
|
invoicing_cycle_configuration: T.nilable(
|
8179
8195
|
T.any(
|
8180
8196
|
Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice::InvoicingCycleConfiguration,
|
8181
|
-
Orb::
|
8197
|
+
Orb::Internal::AnyHash
|
8182
8198
|
)
|
8183
8199
|
),
|
8184
8200
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -8236,7 +8252,7 @@ module Orb
|
|
8236
8252
|
|
8237
8253
|
# The cadence to bill for this price on.
|
8238
8254
|
module Cadence
|
8239
|
-
extend Orb::Enum
|
8255
|
+
extend Orb::Internal::Type::Enum
|
8240
8256
|
|
8241
8257
|
TaggedSymbol =
|
8242
8258
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice::Cadence) }
|
@@ -8290,7 +8306,7 @@ module Orb
|
|
8290
8306
|
end
|
8291
8307
|
end
|
8292
8308
|
|
8293
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
8309
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
8294
8310
|
# The duration of the billing period.
|
8295
8311
|
sig { returns(Integer) }
|
8296
8312
|
attr_accessor :duration
|
@@ -8329,7 +8345,7 @@ module Orb
|
|
8329
8345
|
|
8330
8346
|
# The unit of billing period duration.
|
8331
8347
|
module DurationUnit
|
8332
|
-
extend Orb::Enum
|
8348
|
+
extend Orb::Internal::Type::Enum
|
8333
8349
|
|
8334
8350
|
TaggedSymbol =
|
8335
8351
|
T.type_alias do
|
@@ -8368,7 +8384,7 @@ module Orb
|
|
8368
8384
|
end
|
8369
8385
|
end
|
8370
8386
|
|
8371
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
8387
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
8372
8388
|
# The duration of the billing period.
|
8373
8389
|
sig { returns(Integer) }
|
8374
8390
|
attr_accessor :duration
|
@@ -8407,7 +8423,7 @@ module Orb
|
|
8407
8423
|
|
8408
8424
|
# The unit of billing period duration.
|
8409
8425
|
module DurationUnit
|
8410
|
-
extend Orb::Enum
|
8426
|
+
extend Orb::Internal::Type::Enum
|
8411
8427
|
|
8412
8428
|
TaggedSymbol =
|
8413
8429
|
T.type_alias do
|
@@ -8447,7 +8463,7 @@ module Orb
|
|
8447
8463
|
end
|
8448
8464
|
end
|
8449
8465
|
|
8450
|
-
class NewPlanMaxGroupTieredPackagePrice < Orb::BaseModel
|
8466
|
+
class NewPlanMaxGroupTieredPackagePrice < Orb::Internal::Type::BaseModel
|
8451
8467
|
# The cadence to bill for this price on.
|
8452
8468
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice::Cadence::OrSymbol) }
|
8453
8469
|
attr_accessor :cadence
|
@@ -8492,7 +8508,7 @@ module Orb
|
|
8492
8508
|
billing_cycle_configuration: T.nilable(
|
8493
8509
|
T.any(
|
8494
8510
|
Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice::BillingCycleConfiguration,
|
8495
|
-
Orb::
|
8511
|
+
Orb::Internal::AnyHash
|
8496
8512
|
)
|
8497
8513
|
)
|
8498
8514
|
)
|
@@ -8538,7 +8554,7 @@ module Orb
|
|
8538
8554
|
invoicing_cycle_configuration: T.nilable(
|
8539
8555
|
T.any(
|
8540
8556
|
Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice::InvoicingCycleConfiguration,
|
8541
|
-
Orb::
|
8557
|
+
Orb::Internal::AnyHash
|
8542
8558
|
)
|
8543
8559
|
)
|
8544
8560
|
)
|
@@ -8563,7 +8579,7 @@ module Orb
|
|
8563
8579
|
billing_cycle_configuration: T.nilable(
|
8564
8580
|
T.any(
|
8565
8581
|
Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice::BillingCycleConfiguration,
|
8566
|
-
Orb::
|
8582
|
+
Orb::Internal::AnyHash
|
8567
8583
|
)
|
8568
8584
|
),
|
8569
8585
|
conversion_rate: T.nilable(Float),
|
@@ -8574,7 +8590,7 @@ module Orb
|
|
8574
8590
|
invoicing_cycle_configuration: T.nilable(
|
8575
8591
|
T.any(
|
8576
8592
|
Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice::InvoicingCycleConfiguration,
|
8577
|
-
Orb::
|
8593
|
+
Orb::Internal::AnyHash
|
8578
8594
|
)
|
8579
8595
|
),
|
8580
8596
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -8632,7 +8648,7 @@ module Orb
|
|
8632
8648
|
|
8633
8649
|
# The cadence to bill for this price on.
|
8634
8650
|
module Cadence
|
8635
|
-
extend Orb::Enum
|
8651
|
+
extend Orb::Internal::Type::Enum
|
8636
8652
|
|
8637
8653
|
TaggedSymbol =
|
8638
8654
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice::Cadence) }
|
@@ -8686,7 +8702,7 @@ module Orb
|
|
8686
8702
|
end
|
8687
8703
|
end
|
8688
8704
|
|
8689
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
8705
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
8690
8706
|
# The duration of the billing period.
|
8691
8707
|
sig { returns(Integer) }
|
8692
8708
|
attr_accessor :duration
|
@@ -8725,7 +8741,7 @@ module Orb
|
|
8725
8741
|
|
8726
8742
|
# The unit of billing period duration.
|
8727
8743
|
module DurationUnit
|
8728
|
-
extend Orb::Enum
|
8744
|
+
extend Orb::Internal::Type::Enum
|
8729
8745
|
|
8730
8746
|
TaggedSymbol =
|
8731
8747
|
T.type_alias do
|
@@ -8764,7 +8780,7 @@ module Orb
|
|
8764
8780
|
end
|
8765
8781
|
end
|
8766
8782
|
|
8767
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
8783
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
8768
8784
|
# The duration of the billing period.
|
8769
8785
|
sig { returns(Integer) }
|
8770
8786
|
attr_accessor :duration
|
@@ -8803,7 +8819,7 @@ module Orb
|
|
8803
8819
|
|
8804
8820
|
# The unit of billing period duration.
|
8805
8821
|
module DurationUnit
|
8806
|
-
extend Orb::Enum
|
8822
|
+
extend Orb::Internal::Type::Enum
|
8807
8823
|
|
8808
8824
|
TaggedSymbol =
|
8809
8825
|
T.type_alias do
|
@@ -8843,7 +8859,7 @@ module Orb
|
|
8843
8859
|
end
|
8844
8860
|
end
|
8845
8861
|
|
8846
|
-
class NewPlanScalableMatrixWithUnitPricingPrice < Orb::BaseModel
|
8862
|
+
class NewPlanScalableMatrixWithUnitPricingPrice < Orb::Internal::Type::BaseModel
|
8847
8863
|
# The cadence to bill for this price on.
|
8848
8864
|
sig do
|
8849
8865
|
returns(
|
@@ -8892,7 +8908,7 @@ module Orb
|
|
8892
8908
|
billing_cycle_configuration: T.nilable(
|
8893
8909
|
T.any(
|
8894
8910
|
Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithUnitPricingPrice::BillingCycleConfiguration,
|
8895
|
-
Orb::
|
8911
|
+
Orb::Internal::AnyHash
|
8896
8912
|
)
|
8897
8913
|
)
|
8898
8914
|
)
|
@@ -8938,7 +8954,7 @@ module Orb
|
|
8938
8954
|
invoicing_cycle_configuration: T.nilable(
|
8939
8955
|
T.any(
|
8940
8956
|
Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithUnitPricingPrice::InvoicingCycleConfiguration,
|
8941
|
-
Orb::
|
8957
|
+
Orb::Internal::AnyHash
|
8942
8958
|
)
|
8943
8959
|
)
|
8944
8960
|
)
|
@@ -8963,7 +8979,7 @@ module Orb
|
|
8963
8979
|
billing_cycle_configuration: T.nilable(
|
8964
8980
|
T.any(
|
8965
8981
|
Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithUnitPricingPrice::BillingCycleConfiguration,
|
8966
|
-
Orb::
|
8982
|
+
Orb::Internal::AnyHash
|
8967
8983
|
)
|
8968
8984
|
),
|
8969
8985
|
conversion_rate: T.nilable(Float),
|
@@ -8974,7 +8990,7 @@ module Orb
|
|
8974
8990
|
invoicing_cycle_configuration: T.nilable(
|
8975
8991
|
T.any(
|
8976
8992
|
Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithUnitPricingPrice::InvoicingCycleConfiguration,
|
8977
|
-
Orb::
|
8993
|
+
Orb::Internal::AnyHash
|
8978
8994
|
)
|
8979
8995
|
),
|
8980
8996
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -9032,7 +9048,7 @@ module Orb
|
|
9032
9048
|
|
9033
9049
|
# The cadence to bill for this price on.
|
9034
9050
|
module Cadence
|
9035
|
-
extend Orb::Enum
|
9051
|
+
extend Orb::Internal::Type::Enum
|
9036
9052
|
|
9037
9053
|
TaggedSymbol =
|
9038
9054
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithUnitPricingPrice::Cadence) }
|
@@ -9086,7 +9102,7 @@ module Orb
|
|
9086
9102
|
end
|
9087
9103
|
end
|
9088
9104
|
|
9089
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
9105
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
9090
9106
|
# The duration of the billing period.
|
9091
9107
|
sig { returns(Integer) }
|
9092
9108
|
attr_accessor :duration
|
@@ -9125,7 +9141,7 @@ module Orb
|
|
9125
9141
|
|
9126
9142
|
# The unit of billing period duration.
|
9127
9143
|
module DurationUnit
|
9128
|
-
extend Orb::Enum
|
9144
|
+
extend Orb::Internal::Type::Enum
|
9129
9145
|
|
9130
9146
|
TaggedSymbol =
|
9131
9147
|
T.type_alias do
|
@@ -9164,7 +9180,7 @@ module Orb
|
|
9164
9180
|
end
|
9165
9181
|
end
|
9166
9182
|
|
9167
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
9183
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
9168
9184
|
# The duration of the billing period.
|
9169
9185
|
sig { returns(Integer) }
|
9170
9186
|
attr_accessor :duration
|
@@ -9203,7 +9219,7 @@ module Orb
|
|
9203
9219
|
|
9204
9220
|
# The unit of billing period duration.
|
9205
9221
|
module DurationUnit
|
9206
|
-
extend Orb::Enum
|
9222
|
+
extend Orb::Internal::Type::Enum
|
9207
9223
|
|
9208
9224
|
TaggedSymbol =
|
9209
9225
|
T.type_alias do
|
@@ -9243,7 +9259,7 @@ module Orb
|
|
9243
9259
|
end
|
9244
9260
|
end
|
9245
9261
|
|
9246
|
-
class NewPlanScalableMatrixWithTieredPricingPrice < Orb::BaseModel
|
9262
|
+
class NewPlanScalableMatrixWithTieredPricingPrice < Orb::Internal::Type::BaseModel
|
9247
9263
|
# The cadence to bill for this price on.
|
9248
9264
|
sig do
|
9249
9265
|
returns(
|
@@ -9292,7 +9308,7 @@ module Orb
|
|
9292
9308
|
billing_cycle_configuration: T.nilable(
|
9293
9309
|
T.any(
|
9294
9310
|
Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithTieredPricingPrice::BillingCycleConfiguration,
|
9295
|
-
Orb::
|
9311
|
+
Orb::Internal::AnyHash
|
9296
9312
|
)
|
9297
9313
|
)
|
9298
9314
|
)
|
@@ -9338,7 +9354,7 @@ module Orb
|
|
9338
9354
|
invoicing_cycle_configuration: T.nilable(
|
9339
9355
|
T.any(
|
9340
9356
|
Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithTieredPricingPrice::InvoicingCycleConfiguration,
|
9341
|
-
Orb::
|
9357
|
+
Orb::Internal::AnyHash
|
9342
9358
|
)
|
9343
9359
|
)
|
9344
9360
|
)
|
@@ -9363,7 +9379,7 @@ module Orb
|
|
9363
9379
|
billing_cycle_configuration: T.nilable(
|
9364
9380
|
T.any(
|
9365
9381
|
Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithTieredPricingPrice::BillingCycleConfiguration,
|
9366
|
-
Orb::
|
9382
|
+
Orb::Internal::AnyHash
|
9367
9383
|
)
|
9368
9384
|
),
|
9369
9385
|
conversion_rate: T.nilable(Float),
|
@@ -9374,7 +9390,7 @@ module Orb
|
|
9374
9390
|
invoicing_cycle_configuration: T.nilable(
|
9375
9391
|
T.any(
|
9376
9392
|
Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithTieredPricingPrice::InvoicingCycleConfiguration,
|
9377
|
-
Orb::
|
9393
|
+
Orb::Internal::AnyHash
|
9378
9394
|
)
|
9379
9395
|
),
|
9380
9396
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -9432,7 +9448,7 @@ module Orb
|
|
9432
9448
|
|
9433
9449
|
# The cadence to bill for this price on.
|
9434
9450
|
module Cadence
|
9435
|
-
extend Orb::Enum
|
9451
|
+
extend Orb::Internal::Type::Enum
|
9436
9452
|
|
9437
9453
|
TaggedSymbol =
|
9438
9454
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithTieredPricingPrice::Cadence) }
|
@@ -9486,7 +9502,7 @@ module Orb
|
|
9486
9502
|
end
|
9487
9503
|
end
|
9488
9504
|
|
9489
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
9505
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
9490
9506
|
# The duration of the billing period.
|
9491
9507
|
sig { returns(Integer) }
|
9492
9508
|
attr_accessor :duration
|
@@ -9525,7 +9541,7 @@ module Orb
|
|
9525
9541
|
|
9526
9542
|
# The unit of billing period duration.
|
9527
9543
|
module DurationUnit
|
9528
|
-
extend Orb::Enum
|
9544
|
+
extend Orb::Internal::Type::Enum
|
9529
9545
|
|
9530
9546
|
TaggedSymbol =
|
9531
9547
|
T.type_alias do
|
@@ -9564,7 +9580,7 @@ module Orb
|
|
9564
9580
|
end
|
9565
9581
|
end
|
9566
9582
|
|
9567
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
9583
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
9568
9584
|
# The duration of the billing period.
|
9569
9585
|
sig { returns(Integer) }
|
9570
9586
|
attr_accessor :duration
|
@@ -9603,7 +9619,7 @@ module Orb
|
|
9603
9619
|
|
9604
9620
|
# The unit of billing period duration.
|
9605
9621
|
module DurationUnit
|
9606
|
-
extend Orb::Enum
|
9622
|
+
extend Orb::Internal::Type::Enum
|
9607
9623
|
|
9608
9624
|
TaggedSymbol =
|
9609
9625
|
T.type_alias do
|
@@ -9643,7 +9659,7 @@ module Orb
|
|
9643
9659
|
end
|
9644
9660
|
end
|
9645
9661
|
|
9646
|
-
class NewPlanCumulativeGroupedBulkPrice < Orb::BaseModel
|
9662
|
+
class NewPlanCumulativeGroupedBulkPrice < Orb::Internal::Type::BaseModel
|
9647
9663
|
# The cadence to bill for this price on.
|
9648
9664
|
sig { returns(Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice::Cadence::OrSymbol) }
|
9649
9665
|
attr_accessor :cadence
|
@@ -9688,7 +9704,7 @@ module Orb
|
|
9688
9704
|
billing_cycle_configuration: T.nilable(
|
9689
9705
|
T.any(
|
9690
9706
|
Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice::BillingCycleConfiguration,
|
9691
|
-
Orb::
|
9707
|
+
Orb::Internal::AnyHash
|
9692
9708
|
)
|
9693
9709
|
)
|
9694
9710
|
)
|
@@ -9734,7 +9750,7 @@ module Orb
|
|
9734
9750
|
invoicing_cycle_configuration: T.nilable(
|
9735
9751
|
T.any(
|
9736
9752
|
Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice::InvoicingCycleConfiguration,
|
9737
|
-
Orb::
|
9753
|
+
Orb::Internal::AnyHash
|
9738
9754
|
)
|
9739
9755
|
)
|
9740
9756
|
)
|
@@ -9759,7 +9775,7 @@ module Orb
|
|
9759
9775
|
billing_cycle_configuration: T.nilable(
|
9760
9776
|
T.any(
|
9761
9777
|
Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice::BillingCycleConfiguration,
|
9762
|
-
Orb::
|
9778
|
+
Orb::Internal::AnyHash
|
9763
9779
|
)
|
9764
9780
|
),
|
9765
9781
|
conversion_rate: T.nilable(Float),
|
@@ -9770,7 +9786,7 @@ module Orb
|
|
9770
9786
|
invoicing_cycle_configuration: T.nilable(
|
9771
9787
|
T.any(
|
9772
9788
|
Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice::InvoicingCycleConfiguration,
|
9773
|
-
Orb::
|
9789
|
+
Orb::Internal::AnyHash
|
9774
9790
|
)
|
9775
9791
|
),
|
9776
9792
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
@@ -9828,7 +9844,7 @@ module Orb
|
|
9828
9844
|
|
9829
9845
|
# The cadence to bill for this price on.
|
9830
9846
|
module Cadence
|
9831
|
-
extend Orb::Enum
|
9847
|
+
extend Orb::Internal::Type::Enum
|
9832
9848
|
|
9833
9849
|
TaggedSymbol =
|
9834
9850
|
T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice::Cadence) }
|
@@ -9882,7 +9898,7 @@ module Orb
|
|
9882
9898
|
end
|
9883
9899
|
end
|
9884
9900
|
|
9885
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
9901
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
9886
9902
|
# The duration of the billing period.
|
9887
9903
|
sig { returns(Integer) }
|
9888
9904
|
attr_accessor :duration
|
@@ -9921,7 +9937,7 @@ module Orb
|
|
9921
9937
|
|
9922
9938
|
# The unit of billing period duration.
|
9923
9939
|
module DurationUnit
|
9924
|
-
extend Orb::Enum
|
9940
|
+
extend Orb::Internal::Type::Enum
|
9925
9941
|
|
9926
9942
|
TaggedSymbol =
|
9927
9943
|
T.type_alias do
|
@@ -9960,7 +9976,7 @@ module Orb
|
|
9960
9976
|
end
|
9961
9977
|
end
|
9962
9978
|
|
9963
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
9979
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
9964
9980
|
# The duration of the billing period.
|
9965
9981
|
sig { returns(Integer) }
|
9966
9982
|
attr_accessor :duration
|
@@ -9999,7 +10015,7 @@ module Orb
|
|
9999
10015
|
|
10000
10016
|
# The unit of billing period duration.
|
10001
10017
|
module DurationUnit
|
10002
|
-
extend Orb::Enum
|
10018
|
+
extend Orb::Internal::Type::Enum
|
10003
10019
|
|
10004
10020
|
TaggedSymbol =
|
10005
10021
|
T.type_alias do
|
@@ -10052,7 +10068,7 @@ module Orb
|
|
10052
10068
|
# The status of the plan to create (either active or draft). If not specified,
|
10053
10069
|
# this defaults to active.
|
10054
10070
|
module Status
|
10055
|
-
extend Orb::Enum
|
10071
|
+
extend Orb::Internal::Type::Enum
|
10056
10072
|
|
10057
10073
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::PlanCreateParams::Status) }
|
10058
10074
|
OrSymbol = T.type_alias { T.any(Symbol, String, Orb::Models::PlanCreateParams::Status::TaggedSymbol) }
|