orb-billing 0.1.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.ignore +2 -0
- data/CHANGELOG.md +65 -0
- data/README.md +61 -51
- data/lib/orb/client.rb +7 -6
- data/lib/orb/file_part.rb +55 -0
- data/lib/orb/internal/page.rb +37 -39
- data/lib/orb/internal/transport/base_client.rb +21 -11
- data/lib/orb/internal/transport/pooled_net_requester.rb +3 -3
- data/lib/orb/internal/type/array_of.rb +28 -2
- data/lib/orb/internal/type/base_model.rb +83 -21
- data/lib/orb/internal/type/base_page.rb +10 -1
- data/lib/orb/internal/type/boolean.rb +6 -0
- data/lib/orb/internal/type/converter.rb +28 -1
- data/lib/orb/internal/type/enum.rb +28 -8
- data/lib/orb/internal/type/{io_like.rb → file_input.rb} +35 -15
- data/lib/orb/internal/type/hash_of.rb +28 -2
- data/lib/orb/internal/type/request_parameters.rb +1 -2
- data/lib/orb/internal/type/union.rb +27 -4
- data/lib/orb/internal/type/unknown.rb +6 -0
- data/lib/orb/internal/util.rb +105 -70
- data/lib/orb/internal.rb +5 -2
- data/lib/orb/models/alert.rb +68 -71
- data/lib/orb/models/alert_create_for_customer_params.rb +20 -25
- data/lib/orb/models/alert_create_for_external_customer_params.rb +20 -25
- data/lib/orb/models/alert_create_for_subscription_params.rb +20 -25
- data/lib/orb/models/alert_disable_params.rb +5 -9
- data/lib/orb/models/alert_enable_params.rb +5 -9
- data/lib/orb/models/alert_list_params.rb +26 -36
- data/lib/orb/models/alert_retrieve_params.rb +3 -8
- data/lib/orb/models/alert_update_params.rb +14 -18
- data/lib/orb/models/amount_discount.rb +14 -14
- data/lib/orb/models/billable_metric.rb +23 -20
- data/lib/orb/models/billing_cycle_relative_date.rb +2 -5
- data/lib/orb/models/coupon.rb +28 -21
- data/lib/orb/models/coupon_archive_params.rb +3 -8
- data/lib/orb/models/coupon_create_params.rb +24 -29
- data/lib/orb/models/coupon_fetch_params.rb +3 -8
- data/lib/orb/models/coupon_list_params.rb +17 -17
- data/lib/orb/models/coupons/subscription_list_params.rb +12 -15
- data/lib/orb/models/credit_note.rb +100 -166
- data/lib/orb/models/credit_note_create_params.rb +15 -23
- data/lib/orb/models/credit_note_fetch_params.rb +3 -8
- data/lib/orb/models/credit_note_list_params.rb +20 -30
- data/lib/orb/models/customer.rb +224 -271
- data/lib/orb/models/customer_create_params.rb +211 -252
- data/lib/orb/models/customer_delete_params.rb +3 -8
- data/lib/orb/models/customer_fetch_by_external_id_params.rb +3 -8
- data/lib/orb/models/customer_fetch_params.rb +3 -8
- data/lib/orb/models/customer_list_params.rb +20 -30
- data/lib/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rb +3 -8
- data/lib/orb/models/customer_sync_payment_methods_from_gateway_params.rb +3 -8
- data/lib/orb/models/customer_update_by_external_id_params.rb +207 -250
- data/lib/orb/models/customer_update_params.rb +207 -250
- data/lib/orb/models/customers/balance_transaction_create_params.rb +11 -16
- data/lib/orb/models/customers/balance_transaction_create_response.rb +33 -51
- data/lib/orb/models/customers/balance_transaction_list_params.rb +20 -30
- data/lib/orb/models/customers/balance_transaction_list_response.rb +33 -51
- data/lib/orb/models/customers/cost_list_by_external_id_params.rb +17 -17
- data/lib/orb/models/customers/cost_list_by_external_id_response.rb +22 -26
- data/lib/orb/models/customers/cost_list_params.rb +17 -17
- data/lib/orb/models/customers/cost_list_response.rb +22 -26
- data/lib/orb/models/customers/credit_list_by_external_id_params.rb +18 -22
- data/lib/orb/models/customers/credit_list_by_external_id_response.rb +10 -17
- data/lib/orb/models/customers/credit_list_params.rb +18 -22
- data/lib/orb/models/customers/credit_list_response.rb +10 -17
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb +64 -66
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +300 -406
- data/lib/orb/models/customers/credits/ledger_create_entry_params.rb +63 -66
- data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +300 -406
- data/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rb +33 -48
- data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +300 -406
- data/lib/orb/models/customers/credits/ledger_list_params.rb +32 -48
- data/lib/orb/models/customers/credits/ledger_list_response.rb +300 -406
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +47 -50
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +43 -46
- data/lib/orb/models/customers/credits/top_up_create_params.rb +46 -50
- data/lib/orb/models/customers/credits/top_up_create_response.rb +42 -46
- data/lib/orb/models/customers/credits/top_up_delete_by_external_id_params.rb +4 -9
- data/lib/orb/models/customers/credits/top_up_delete_params.rb +4 -9
- data/lib/orb/models/customers/credits/top_up_list_by_external_id_params.rb +12 -15
- data/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +43 -46
- data/lib/orb/models/customers/credits/top_up_list_params.rb +12 -15
- data/lib/orb/models/customers/credits/top_up_list_response.rb +42 -46
- data/lib/orb/models/dimensional_price_group.rb +21 -15
- data/lib/orb/models/dimensional_price_group_create_params.rb +17 -23
- data/lib/orb/models/dimensional_price_group_list_params.rb +12 -15
- data/lib/orb/models/dimensional_price_group_retrieve_params.rb +3 -8
- data/lib/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rb +3 -8
- data/lib/orb/models/dimensional_price_groups.rb +3 -7
- data/lib/orb/models/discount.rb +2 -3
- data/lib/orb/models/evaluate_price_group.rb +8 -11
- data/lib/orb/models/event_deprecate_params.rb +3 -8
- data/lib/orb/models/event_deprecate_response.rb +2 -6
- data/lib/orb/models/event_ingest_params.rb +33 -27
- data/lib/orb/models/event_ingest_response.rb +23 -24
- data/lib/orb/models/event_search_params.rb +15 -11
- data/lib/orb/models/event_search_response.rb +27 -22
- data/lib/orb/models/event_update_params.rb +19 -13
- data/lib/orb/models/event_update_response.rb +2 -6
- data/lib/orb/models/events/backfill_close_params.rb +3 -8
- data/lib/orb/models/events/backfill_close_response.rb +34 -39
- data/lib/orb/models/events/backfill_create_params.rb +28 -32
- data/lib/orb/models/events/backfill_create_response.rb +34 -39
- data/lib/orb/models/events/backfill_fetch_params.rb +3 -8
- data/lib/orb/models/events/backfill_fetch_response.rb +34 -39
- data/lib/orb/models/events/backfill_list_params.rb +12 -15
- data/lib/orb/models/events/backfill_list_response.rb +34 -39
- data/lib/orb/models/events/backfill_revert_params.rb +3 -8
- data/lib/orb/models/events/backfill_revert_response.rb +34 -39
- data/lib/orb/models/events/event_volumes.rb +11 -17
- data/lib/orb/models/events/volume_list_params.rb +19 -22
- data/lib/orb/models/invoice.rb +589 -637
- data/lib/orb/models/invoice_create_params.rb +52 -61
- data/lib/orb/models/invoice_fetch_params.rb +3 -8
- data/lib/orb/models/invoice_fetch_upcoming_params.rb +4 -9
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +584 -631
- data/lib/orb/models/invoice_issue_params.rb +10 -14
- data/lib/orb/models/invoice_level_discount.rb +2 -3
- data/lib/orb/models/invoice_line_item_create_params.rb +19 -14
- data/lib/orb/models/invoice_line_item_create_response.rb +247 -269
- data/lib/orb/models/invoice_list_params.rb +51 -66
- data/lib/orb/models/invoice_mark_paid_params.rb +9 -11
- data/lib/orb/models/invoice_pay_params.rb +3 -8
- data/lib/orb/models/invoice_update_params.rb +9 -9
- data/lib/orb/models/invoice_void_params.rb +3 -8
- data/lib/orb/models/item.rb +14 -25
- data/lib/orb/models/item_create_params.rb +5 -9
- data/lib/orb/models/item_fetch_params.rb +3 -8
- data/lib/orb/models/item_list_params.rb +12 -15
- data/lib/orb/models/item_update_params.rb +10 -22
- data/lib/orb/models/metric_create_params.rb +17 -13
- data/lib/orb/models/metric_fetch_params.rb +3 -8
- data/lib/orb/models/metric_list_params.rb +20 -30
- data/lib/orb/models/metric_update_params.rb +9 -9
- data/lib/orb/models/pagination_metadata.rb +3 -7
- data/lib/orb/models/percentage_discount.rb +15 -14
- data/lib/orb/models/plan.rb +250 -279
- data/lib/orb/models/plan_create_params.rb +1623 -1984
- data/lib/orb/models/plan_fetch_params.rb +3 -8
- data/lib/orb/models/plan_list_params.rb +25 -42
- data/lib/orb/models/plan_update_params.rb +12 -10
- data/lib/orb/models/plans/external_plan_id_fetch_params.rb +3 -8
- data/lib/orb/models/plans/external_plan_id_update_params.rb +12 -10
- data/lib/orb/models/price.rb +2709 -3820
- data/lib/orb/models/price_create_params.rb +203 -244
- data/lib/orb/models/price_evaluate_params.rb +21 -30
- data/lib/orb/models/price_evaluate_response.rb +2 -6
- data/lib/orb/models/price_fetch_params.rb +3 -8
- data/lib/orb/models/price_list_params.rb +12 -15
- data/lib/orb/models/price_update_params.rb +9 -9
- data/lib/orb/models/prices/external_price_id_fetch_params.rb +3 -8
- data/lib/orb/models/prices/external_price_id_update_params.rb +9 -9
- data/lib/orb/models/subscription.rb +343 -382
- data/lib/orb/models/subscription_cancel_params.rb +16 -16
- data/lib/orb/models/subscription_cancel_response.rb +339 -377
- data/lib/orb/models/subscription_change_apply_params.rb +7 -10
- data/lib/orb/models/subscription_change_apply_response.rb +365 -398
- data/lib/orb/models/subscription_change_cancel_params.rb +3 -8
- data/lib/orb/models/subscription_change_cancel_response.rb +365 -398
- data/lib/orb/models/subscription_change_retrieve_params.rb +3 -8
- data/lib/orb/models/subscription_change_retrieve_response.rb +366 -398
- data/lib/orb/models/subscription_create_params.rb +3771 -4402
- data/lib/orb/models/subscription_create_response.rb +339 -377
- data/lib/orb/models/subscription_fetch_costs_params.rb +17 -17
- data/lib/orb/models/subscription_fetch_costs_response.rb +22 -26
- data/lib/orb/models/subscription_fetch_params.rb +3 -8
- data/lib/orb/models/subscription_fetch_schedule_params.rb +20 -30
- data/lib/orb/models/subscription_fetch_schedule_response.rb +15 -17
- data/lib/orb/models/subscription_fetch_usage_params.rb +32 -43
- data/lib/orb/models/subscription_list_params.rb +28 -41
- data/lib/orb/models/subscription_price_intervals_params.rb +2018 -2472
- data/lib/orb/models/subscription_price_intervals_response.rb +342 -377
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +3764 -4392
- data/lib/orb/models/subscription_schedule_plan_change_response.rb +342 -377
- data/lib/orb/models/subscription_trigger_phase_params.rb +12 -10
- data/lib/orb/models/subscription_trigger_phase_response.rb +341 -377
- data/lib/orb/models/subscription_unschedule_cancellation_params.rb +3 -8
- data/lib/orb/models/subscription_unschedule_cancellation_response.rb +342 -377
- data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rb +5 -9
- data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +343 -377
- data/lib/orb/models/subscription_unschedule_pending_plan_changes_params.rb +3 -8
- data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +343 -377
- data/lib/orb/models/subscription_update_fixed_fee_quantity_params.rb +22 -33
- data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +342 -377
- data/lib/orb/models/subscription_update_params.rb +21 -23
- data/lib/orb/models/subscription_update_trial_params.rb +15 -18
- data/lib/orb/models/subscription_update_trial_response.rb +341 -377
- data/lib/orb/models/subscription_usage.rb +37 -80
- data/lib/orb/models/subscriptions.rb +3 -7
- data/lib/orb/models/top_level_ping_params.rb +3 -8
- data/lib/orb/models/top_level_ping_response.rb +2 -6
- data/lib/orb/models/trial_discount.rb +16 -24
- data/lib/orb/models/usage_discount.rb +15 -14
- data/lib/orb/request_options.rb +3 -4
- data/lib/orb/resources/alerts.rb +48 -17
- data/lib/orb/resources/coupons/subscriptions.rb +9 -2
- data/lib/orb/resources/coupons.rb +25 -7
- data/lib/orb/resources/credit_notes.rb +17 -4
- data/lib/orb/resources/customers/balance_transactions.rb +18 -3
- data/lib/orb/resources/customers/costs.rb +26 -8
- data/lib/orb/resources/customers/credits/ledger.rb +108 -28
- data/lib/orb/resources/customers/credits/top_ups.rb +67 -20
- data/lib/orb/resources/customers/credits.rb +28 -8
- data/lib/orb/resources/customers.rb +135 -36
- data/lib/orb/resources/dimensional_price_groups.rb +19 -4
- data/lib/orb/resources/events/backfills.rb +32 -9
- data/lib/orb/resources/events/volume.rb +14 -4
- data/lib/orb/resources/events.rb +40 -11
- data/lib/orb/resources/invoice_line_items.rb +16 -6
- data/lib/orb/resources/invoices.rb +77 -17
- data/lib/orb/resources/items.rb +10 -3
- data/lib/orb/resources/metrics.rb +33 -8
- data/lib/orb/resources/plans/external_plan_id.rb +10 -2
- data/lib/orb/resources/plans.rb +47 -11
- data/lib/orb/resources/prices/external_price_id.rb +7 -1
- data/lib/orb/resources/prices.rb +97 -22
- data/lib/orb/resources/subscription_changes.rb +5 -2
- data/lib/orb/resources/subscriptions.rb +292 -78
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +2 -10
- data/rbi/lib/orb/client.rbi +7 -6
- data/rbi/lib/orb/file_part.rbi +34 -0
- data/rbi/lib/orb/internal/page.rbi +1 -0
- data/rbi/lib/orb/internal/transport/base_client.rbi +18 -3
- data/rbi/lib/orb/internal/type/array_of.rbi +15 -9
- data/rbi/lib/orb/internal/type/base_model.rbi +22 -0
- data/rbi/lib/orb/internal/type/base_page.rbi +2 -0
- data/rbi/lib/orb/internal/type/boolean.rbi +4 -5
- data/rbi/lib/orb/internal/type/converter.rbi +8 -0
- data/rbi/lib/orb/internal/type/enum.rbi +7 -6
- data/rbi/lib/orb/internal/type/{io_like.rbi → file_input.rbi} +9 -7
- data/rbi/lib/orb/internal/type/hash_of.rbi +15 -9
- data/rbi/lib/orb/internal/type/union.rbi +7 -0
- data/rbi/lib/orb/internal/type/unknown.rbi +4 -5
- data/rbi/lib/orb/internal/util.rbi +39 -19
- data/rbi/lib/orb/internal.rbi +1 -2
- data/rbi/lib/orb/models/alert.rbi +28 -8
- data/rbi/lib/orb/models/alert_create_for_customer_params.rbi +16 -6
- data/rbi/lib/orb/models/alert_create_for_external_customer_params.rbi +16 -6
- data/rbi/lib/orb/models/alert_create_for_subscription_params.rbi +16 -6
- data/rbi/lib/orb/models/alert_disable_params.rbi +5 -2
- data/rbi/lib/orb/models/alert_enable_params.rbi +5 -2
- data/rbi/lib/orb/models/alert_list_params.rbi +6 -0
- data/rbi/lib/orb/models/alert_update_params.rbi +11 -4
- data/rbi/lib/orb/models/amount_discount.rbi +10 -4
- data/rbi/lib/orb/models/billable_metric.rbi +16 -3
- data/rbi/lib/orb/models/billing_cycle_relative_date.rbi +1 -1
- data/rbi/lib/orb/models/coupon.rbi +10 -3
- data/rbi/lib/orb/models/coupon_create_params.rbi +6 -3
- data/rbi/lib/orb/models/coupon_list_params.rbi +13 -3
- data/rbi/lib/orb/models/coupons/subscription_list_params.rbi +8 -2
- data/rbi/lib/orb/models/credit_note.rbi +44 -12
- data/rbi/lib/orb/models/credit_note_create_params.rbi +15 -6
- data/rbi/lib/orb/models/credit_note_list_params.rbi +3 -0
- data/rbi/lib/orb/models/customer.rbi +130 -11
- data/rbi/lib/orb/models/customer_create_params.rbi +142 -8
- data/rbi/lib/orb/models/customer_list_params.rbi +3 -0
- data/rbi/lib/orb/models/customer_update_by_external_id_params.rbi +140 -8
- data/rbi/lib/orb/models/customer_update_params.rbi +140 -8
- data/rbi/lib/orb/models/customers/balance_transaction_create_params.rbi +8 -4
- data/rbi/lib/orb/models/customers/balance_transaction_create_response.rbi +18 -8
- data/rbi/lib/orb/models/customers/balance_transaction_list_params.rbi +3 -0
- data/rbi/lib/orb/models/customers/balance_transaction_list_response.rbi +18 -8
- data/rbi/lib/orb/models/customers/cost_list_by_external_id_params.rbi +9 -5
- data/rbi/lib/orb/models/customers/cost_list_by_external_id_response.rbi +21 -4
- data/rbi/lib/orb/models/customers/cost_list_params.rbi +9 -5
- data/rbi/lib/orb/models/customers/cost_list_response.rbi +21 -4
- data/rbi/lib/orb/models/customers/credit_list_by_external_id_params.rbi +13 -3
- data/rbi/lib/orb/models/customers/credit_list_by_external_id_response.rbi +1 -2
- data/rbi/lib/orb/models/customers/credit_list_params.rbi +13 -3
- data/rbi/lib/orb/models/customers/credit_list_response.rbi +1 -2
- data/rbi/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbi +40 -18
- data/rbi/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +35 -56
- data/rbi/lib/orb/models/customers/credits/ledger_create_entry_params.rbi +40 -6
- data/rbi/lib/orb/models/customers/credits/ledger_create_entry_response.rbi +35 -56
- data/rbi/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rbi +6 -16
- data/rbi/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +35 -56
- data/rbi/lib/orb/models/customers/credits/ledger_list_params.rbi +6 -4
- data/rbi/lib/orb/models/customers/credits/ledger_list_response.rbi +35 -56
- data/rbi/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +27 -10
- data/rbi/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +25 -10
- data/rbi/lib/orb/models/customers/credits/top_up_create_params.rbi +27 -4
- data/rbi/lib/orb/models/customers/credits/top_up_create_response.rbi +25 -10
- data/rbi/lib/orb/models/customers/credits/top_up_list_by_external_id_params.rbi +8 -2
- data/rbi/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +25 -10
- data/rbi/lib/orb/models/customers/credits/top_up_list_params.rbi +8 -2
- data/rbi/lib/orb/models/customers/credits/top_up_list_response.rbi +25 -4
- data/rbi/lib/orb/models/dimensional_price_group.rbi +11 -3
- data/rbi/lib/orb/models/dimensional_price_group_create_params.rbi +4 -0
- data/rbi/lib/orb/models/dimensional_price_group_list_params.rbi +8 -2
- data/rbi/lib/orb/models/evaluate_price_group.rbi +8 -2
- data/rbi/lib/orb/models/event_deprecate_response.rbi +4 -2
- data/rbi/lib/orb/models/event_ingest_params.rbi +22 -5
- data/rbi/lib/orb/models/event_ingest_response.rbi +15 -4
- data/rbi/lib/orb/models/event_search_params.rbi +14 -2
- data/rbi/lib/orb/models/event_search_response.rbi +14 -3
- data/rbi/lib/orb/models/event_update_params.rbi +10 -3
- data/rbi/lib/orb/models/event_update_response.rbi +4 -2
- data/rbi/lib/orb/models/events/backfill_close_response.rbi +14 -2
- data/rbi/lib/orb/models/events/backfill_create_params.rbi +18 -0
- data/rbi/lib/orb/models/events/backfill_create_response.rbi +14 -2
- data/rbi/lib/orb/models/events/backfill_fetch_response.rbi +14 -2
- data/rbi/lib/orb/models/events/backfill_list_params.rbi +8 -2
- data/rbi/lib/orb/models/events/backfill_list_response.rbi +14 -2
- data/rbi/lib/orb/models/events/backfill_revert_response.rbi +14 -2
- data/rbi/lib/orb/models/events/event_volumes.rbi +6 -2
- data/rbi/lib/orb/models/events/volume_list_params.rbi +18 -2
- data/rbi/lib/orb/models/invoice.rbi +375 -46
- data/rbi/lib/orb/models/invoice_create_params.rbi +38 -6
- data/rbi/lib/orb/models/invoice_fetch_upcoming_response.rbi +375 -66
- data/rbi/lib/orb/models/invoice_issue_params.rbi +9 -2
- data/rbi/lib/orb/models/invoice_line_item_create_params.rbi +16 -2
- data/rbi/lib/orb/models/invoice_line_item_create_response.rbi +141 -20
- data/rbi/lib/orb/models/invoice_list_params.rbi +9 -2
- data/rbi/lib/orb/models/invoice_mark_paid_params.rbi +9 -2
- data/rbi/lib/orb/models/invoice_update_params.rbi +7 -2
- data/rbi/lib/orb/models/item.rbi +1 -2
- data/rbi/lib/orb/models/item_create_params.rbi +5 -2
- data/rbi/lib/orb/models/item_list_params.rbi +8 -2
- data/rbi/lib/orb/models/item_update_params.rbi +1 -8
- data/rbi/lib/orb/models/metric_create_params.rbi +15 -2
- data/rbi/lib/orb/models/metric_list_params.rbi +3 -0
- data/rbi/lib/orb/models/metric_update_params.rbi +7 -2
- data/rbi/lib/orb/models/percentage_discount.rbi +11 -4
- data/rbi/lib/orb/models/plan.rbi +102 -15
- data/rbi/lib/orb/models/plan_create_params.rbi +997 -679
- data/rbi/lib/orb/models/plan_list_params.rbi +5 -1
- data/rbi/lib/orb/models/plan_update_params.rbi +11 -2
- data/rbi/lib/orb/models/plans/external_plan_id_update_params.rbi +11 -2
- data/rbi/lib/orb/models/price.rbi +717 -688
- data/rbi/lib/orb/models/price_create_params.rbi +137 -53
- data/rbi/lib/orb/models/price_evaluate_params.rbi +10 -0
- data/rbi/lib/orb/models/price_list_params.rbi +8 -2
- data/rbi/lib/orb/models/price_update_params.rbi +7 -2
- data/rbi/lib/orb/models/prices/external_price_id_update_params.rbi +7 -2
- data/rbi/lib/orb/models/subscription.rbi +174 -11
- data/rbi/lib/orb/models/subscription_cancel_params.rbi +8 -5
- data/rbi/lib/orb/models/subscription_cancel_response.rbi +187 -14
- data/rbi/lib/orb/models/subscription_change_apply_params.rbi +7 -2
- data/rbi/lib/orb/models/subscription_change_apply_response.rbi +199 -18
- data/rbi/lib/orb/models/subscription_change_cancel_response.rbi +199 -18
- data/rbi/lib/orb/models/subscription_change_retrieve_response.rbi +199 -18
- data/rbi/lib/orb/models/subscription_create_params.rbi +2282 -1536
- data/rbi/lib/orb/models/subscription_create_response.rbi +187 -14
- data/rbi/lib/orb/models/subscription_fetch_costs_params.rbi +9 -5
- data/rbi/lib/orb/models/subscription_fetch_costs_response.rbi +21 -4
- data/rbi/lib/orb/models/subscription_fetch_schedule_params.rbi +3 -0
- data/rbi/lib/orb/models/subscription_fetch_schedule_response.rbi +8 -2
- data/rbi/lib/orb/models/subscription_fetch_usage_params.rbi +13 -4
- data/rbi/lib/orb/models/subscription_list_params.rbi +4 -2
- data/rbi/lib/orb/models/subscription_price_intervals_params.rbi +1228 -861
- data/rbi/lib/orb/models/subscription_price_intervals_response.rbi +187 -14
- data/rbi/lib/orb/models/subscription_schedule_plan_change_params.rbi +2288 -1544
- data/rbi/lib/orb/models/subscription_schedule_plan_change_response.rbi +187 -14
- data/rbi/lib/orb/models/subscription_trigger_phase_params.rbi +10 -2
- data/rbi/lib/orb/models/subscription_trigger_phase_response.rbi +187 -14
- data/rbi/lib/orb/models/subscription_unschedule_cancellation_response.rbi +187 -14
- data/rbi/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbi +5 -2
- data/rbi/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +187 -20
- data/rbi/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +187 -14
- data/rbi/lib/orb/models/subscription_update_fixed_fee_quantity_params.rbi +11 -2
- data/rbi/lib/orb/models/subscription_update_fixed_fee_quantity_response.rbi +187 -14
- data/rbi/lib/orb/models/subscription_update_params.rbi +15 -0
- data/rbi/lib/orb/models/subscription_update_trial_params.rbi +11 -5
- data/rbi/lib/orb/models/subscription_update_trial_response.rbi +187 -14
- data/rbi/lib/orb/models/subscription_usage.rbi +2 -16
- data/rbi/lib/orb/models/trial_discount.rbi +5 -1
- data/rbi/lib/orb/models/usage_discount.rbi +11 -3
- data/sig/orb/file_part.rbs +21 -0
- data/sig/orb/internal/transport/base_client.rbs +9 -3
- data/sig/orb/internal/type/array_of.rbs +4 -0
- data/sig/orb/internal/type/base_model.rbs +12 -0
- data/sig/orb/internal/type/converter.rbs +4 -0
- data/sig/orb/internal/type/enum.rbs +4 -2
- data/sig/orb/internal/type/{io_like.rbs → file_input.rbs} +1 -1
- data/sig/orb/internal/type/hash_of.rbs +4 -0
- data/sig/orb/internal/type/union.rbs +4 -0
- data/sig/orb/internal/util.rbs +16 -12
- data/sig/orb/internal.rbs +1 -1
- metadata +9 -5
@@ -208,6 +208,10 @@ module Orb
|
|
208
208
|
item:,
|
209
209
|
maximum:,
|
210
210
|
maximum_amount:,
|
211
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
212
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
213
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
214
|
+
# `null`.
|
211
215
|
metadata:,
|
212
216
|
minimum:,
|
213
217
|
minimum_amount:,
|
@@ -301,14 +305,7 @@ module Orb
|
|
301
305
|
|
302
306
|
TaggedSymbol =
|
303
307
|
T.type_alias { T.all(Symbol, Orb::Models::Price::UnitPrice::BillingCycleConfiguration::DurationUnit) }
|
304
|
-
OrSymbol =
|
305
|
-
T.type_alias do
|
306
|
-
T.any(
|
307
|
-
Symbol,
|
308
|
-
String,
|
309
|
-
Orb::Models::Price::UnitPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
310
|
-
)
|
311
|
-
end
|
308
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
312
309
|
|
313
310
|
DAY = T.let(:day, Orb::Models::Price::UnitPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol)
|
314
311
|
MONTH =
|
@@ -326,7 +323,7 @@ module Orb
|
|
326
323
|
extend Orb::Internal::Type::Enum
|
327
324
|
|
328
325
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::UnitPrice::Cadence) }
|
329
|
-
OrSymbol = T.type_alias { T.any(Symbol, String
|
326
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
330
327
|
|
331
328
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::UnitPrice::Cadence::TaggedSymbol)
|
332
329
|
MONTHLY = T.let(:monthly, Orb::Models::Price::UnitPrice::Cadence::TaggedSymbol)
|
@@ -385,14 +382,7 @@ module Orb
|
|
385
382
|
|
386
383
|
TaggedSymbol =
|
387
384
|
T.type_alias { T.all(Symbol, Orb::Models::Price::UnitPrice::InvoicingCycleConfiguration::DurationUnit) }
|
388
|
-
OrSymbol =
|
389
|
-
T.type_alias do
|
390
|
-
T.any(
|
391
|
-
Symbol,
|
392
|
-
String,
|
393
|
-
Orb::Models::Price::UnitPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
394
|
-
)
|
395
|
-
end
|
385
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
396
386
|
|
397
387
|
DAY = T.let(:day, Orb::Models::Price::UnitPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol)
|
398
388
|
MONTH =
|
@@ -433,8 +423,13 @@ module Orb
|
|
433
423
|
sig do
|
434
424
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
435
425
|
end
|
436
|
-
def self.new(
|
437
|
-
|
426
|
+
def self.new(
|
427
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
428
|
+
# maximums, this can be a subset of prices.
|
429
|
+
applies_to_price_ids:,
|
430
|
+
# Maximum amount applied
|
431
|
+
maximum_amount:
|
432
|
+
); end
|
438
433
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
439
434
|
def to_hash; end
|
440
435
|
end
|
@@ -452,8 +447,13 @@ module Orb
|
|
452
447
|
sig do
|
453
448
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
454
449
|
end
|
455
|
-
def self.new(
|
456
|
-
|
450
|
+
def self.new(
|
451
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
452
|
+
# minimums, this can be a subset of prices.
|
453
|
+
applies_to_price_ids:,
|
454
|
+
# Minimum amount applied
|
455
|
+
minimum_amount:
|
456
|
+
); end
|
457
457
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
458
458
|
def to_hash; end
|
459
459
|
end
|
@@ -462,7 +462,7 @@ module Orb
|
|
462
462
|
extend Orb::Internal::Type::Enum
|
463
463
|
|
464
464
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::UnitPrice::PriceType) }
|
465
|
-
OrSymbol = T.type_alias { T.any(Symbol, String
|
465
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
466
466
|
|
467
467
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::UnitPrice::PriceType::TaggedSymbol)
|
468
468
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::UnitPrice::PriceType::TaggedSymbol)
|
@@ -477,8 +477,10 @@ module Orb
|
|
477
477
|
attr_accessor :unit_amount
|
478
478
|
|
479
479
|
sig { params(unit_amount: String).returns(T.attached_class) }
|
480
|
-
def self.new(
|
481
|
-
|
480
|
+
def self.new(
|
481
|
+
# Rate per unit of usage
|
482
|
+
unit_amount:
|
483
|
+
); end
|
482
484
|
sig { override.returns({unit_amount: String}) }
|
483
485
|
def to_hash; end
|
484
486
|
end
|
@@ -698,6 +700,10 @@ module Orb
|
|
698
700
|
item:,
|
699
701
|
maximum:,
|
700
702
|
maximum_amount:,
|
703
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
704
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
705
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
706
|
+
# `null`.
|
701
707
|
metadata:,
|
702
708
|
minimum:,
|
703
709
|
minimum_amount:,
|
@@ -791,14 +797,7 @@ module Orb
|
|
791
797
|
|
792
798
|
TaggedSymbol =
|
793
799
|
T.type_alias { T.all(Symbol, Orb::Models::Price::PackagePrice::BillingCycleConfiguration::DurationUnit) }
|
794
|
-
OrSymbol =
|
795
|
-
T.type_alias do
|
796
|
-
T.any(
|
797
|
-
Symbol,
|
798
|
-
String,
|
799
|
-
Orb::Models::Price::PackagePrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
800
|
-
)
|
801
|
-
end
|
800
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
802
801
|
|
803
802
|
DAY =
|
804
803
|
T.let(:day, Orb::Models::Price::PackagePrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol)
|
@@ -817,8 +816,7 @@ module Orb
|
|
817
816
|
extend Orb::Internal::Type::Enum
|
818
817
|
|
819
818
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::PackagePrice::Cadence) }
|
820
|
-
OrSymbol =
|
821
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::PackagePrice::Cadence::TaggedSymbol) }
|
819
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
822
820
|
|
823
821
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::PackagePrice::Cadence::TaggedSymbol)
|
824
822
|
MONTHLY = T.let(:monthly, Orb::Models::Price::PackagePrice::Cadence::TaggedSymbol)
|
@@ -877,14 +875,7 @@ module Orb
|
|
877
875
|
|
878
876
|
TaggedSymbol =
|
879
877
|
T.type_alias { T.all(Symbol, Orb::Models::Price::PackagePrice::InvoicingCycleConfiguration::DurationUnit) }
|
880
|
-
OrSymbol =
|
881
|
-
T.type_alias do
|
882
|
-
T.any(
|
883
|
-
Symbol,
|
884
|
-
String,
|
885
|
-
Orb::Models::Price::PackagePrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
886
|
-
)
|
887
|
-
end
|
878
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
888
879
|
|
889
880
|
DAY =
|
890
881
|
T.let(:day, Orb::Models::Price::PackagePrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol)
|
@@ -928,8 +919,13 @@ module Orb
|
|
928
919
|
sig do
|
929
920
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
930
921
|
end
|
931
|
-
def self.new(
|
932
|
-
|
922
|
+
def self.new(
|
923
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
924
|
+
# maximums, this can be a subset of prices.
|
925
|
+
applies_to_price_ids:,
|
926
|
+
# Maximum amount applied
|
927
|
+
maximum_amount:
|
928
|
+
); end
|
933
929
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
934
930
|
def to_hash; end
|
935
931
|
end
|
@@ -947,8 +943,13 @@ module Orb
|
|
947
943
|
sig do
|
948
944
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
949
945
|
end
|
950
|
-
def self.new(
|
951
|
-
|
946
|
+
def self.new(
|
947
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
948
|
+
# minimums, this can be a subset of prices.
|
949
|
+
applies_to_price_ids:,
|
950
|
+
# Minimum amount applied
|
951
|
+
minimum_amount:
|
952
|
+
); end
|
952
953
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
953
954
|
def to_hash; end
|
954
955
|
end
|
@@ -964,8 +965,13 @@ module Orb
|
|
964
965
|
attr_accessor :package_size
|
965
966
|
|
966
967
|
sig { params(package_amount: String, package_size: Integer).returns(T.attached_class) }
|
967
|
-
def self.new(
|
968
|
-
|
968
|
+
def self.new(
|
969
|
+
# A currency amount to rate usage by
|
970
|
+
package_amount:,
|
971
|
+
# An integer amount to represent package size. For example, 1000 here would divide
|
972
|
+
# usage by 1000 before multiplying by package_amount in rating
|
973
|
+
package_size:
|
974
|
+
); end
|
969
975
|
sig { override.returns({package_amount: String, package_size: Integer}) }
|
970
976
|
def to_hash; end
|
971
977
|
end
|
@@ -974,8 +980,7 @@ module Orb
|
|
974
980
|
extend Orb::Internal::Type::Enum
|
975
981
|
|
976
982
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::PackagePrice::PriceType) }
|
977
|
-
OrSymbol =
|
978
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::PackagePrice::PriceType::TaggedSymbol) }
|
983
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
979
984
|
|
980
985
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::PackagePrice::PriceType::TaggedSymbol)
|
981
986
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::PackagePrice::PriceType::TaggedSymbol)
|
@@ -1198,6 +1203,10 @@ module Orb
|
|
1198
1203
|
matrix_config:,
|
1199
1204
|
maximum:,
|
1200
1205
|
maximum_amount:,
|
1206
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
1207
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
1208
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
1209
|
+
# `null`.
|
1201
1210
|
metadata:,
|
1202
1211
|
minimum:,
|
1203
1212
|
minimum_amount:,
|
@@ -1290,14 +1299,7 @@ module Orb
|
|
1290
1299
|
|
1291
1300
|
TaggedSymbol =
|
1292
1301
|
T.type_alias { T.all(Symbol, Orb::Models::Price::MatrixPrice::BillingCycleConfiguration::DurationUnit) }
|
1293
|
-
OrSymbol =
|
1294
|
-
T.type_alias do
|
1295
|
-
T.any(
|
1296
|
-
Symbol,
|
1297
|
-
String,
|
1298
|
-
Orb::Models::Price::MatrixPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
1299
|
-
)
|
1300
|
-
end
|
1302
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1301
1303
|
|
1302
1304
|
DAY = T.let(:day, Orb::Models::Price::MatrixPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol)
|
1303
1305
|
MONTH =
|
@@ -1315,7 +1317,7 @@ module Orb
|
|
1315
1317
|
extend Orb::Internal::Type::Enum
|
1316
1318
|
|
1317
1319
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::MatrixPrice::Cadence) }
|
1318
|
-
OrSymbol = T.type_alias { T.any(Symbol, String
|
1320
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1319
1321
|
|
1320
1322
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::MatrixPrice::Cadence::TaggedSymbol)
|
1321
1323
|
MONTHLY = T.let(:monthly, Orb::Models::Price::MatrixPrice::Cadence::TaggedSymbol)
|
@@ -1374,14 +1376,7 @@ module Orb
|
|
1374
1376
|
|
1375
1377
|
TaggedSymbol =
|
1376
1378
|
T.type_alias { T.all(Symbol, Orb::Models::Price::MatrixPrice::InvoicingCycleConfiguration::DurationUnit) }
|
1377
|
-
OrSymbol =
|
1378
|
-
T.type_alias do
|
1379
|
-
T.any(
|
1380
|
-
Symbol,
|
1381
|
-
String,
|
1382
|
-
Orb::Models::Price::MatrixPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
1383
|
-
)
|
1384
|
-
end
|
1379
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1385
1380
|
|
1386
1381
|
DAY =
|
1387
1382
|
T.let(:day, Orb::Models::Price::MatrixPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol)
|
@@ -1433,8 +1428,14 @@ module Orb
|
|
1433
1428
|
)
|
1434
1429
|
.returns(T.attached_class)
|
1435
1430
|
end
|
1436
|
-
def self.new(
|
1437
|
-
|
1431
|
+
def self.new(
|
1432
|
+
# Default per unit rate for any usage not bucketed into a specified matrix_value
|
1433
|
+
default_unit_amount:,
|
1434
|
+
# One or two event property values to evaluate matrix groups by
|
1435
|
+
dimensions:,
|
1436
|
+
# Matrix values for specified matrix grouping keys
|
1437
|
+
matrix_values:
|
1438
|
+
); end
|
1438
1439
|
sig do
|
1439
1440
|
override
|
1440
1441
|
.returns(
|
@@ -1464,8 +1465,14 @@ module Orb
|
|
1464
1465
|
unit_amount: String
|
1465
1466
|
).returns(T.attached_class)
|
1466
1467
|
end
|
1467
|
-
def self.new(
|
1468
|
-
|
1468
|
+
def self.new(
|
1469
|
+
# One or two matrix keys to filter usage to this Matrix value by. For example,
|
1470
|
+
# ["region", "tier"] could be used to filter cloud usage by a cloud region and an
|
1471
|
+
# instance tier.
|
1472
|
+
dimension_values:,
|
1473
|
+
# Unit price for the specified dimension_values
|
1474
|
+
unit_amount:
|
1475
|
+
); end
|
1469
1476
|
sig { override.returns({dimension_values: T::Array[T.nilable(String)], unit_amount: String}) }
|
1470
1477
|
def to_hash; end
|
1471
1478
|
end
|
@@ -1484,8 +1491,13 @@ module Orb
|
|
1484
1491
|
sig do
|
1485
1492
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
1486
1493
|
end
|
1487
|
-
def self.new(
|
1488
|
-
|
1494
|
+
def self.new(
|
1495
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
1496
|
+
# maximums, this can be a subset of prices.
|
1497
|
+
applies_to_price_ids:,
|
1498
|
+
# Maximum amount applied
|
1499
|
+
maximum_amount:
|
1500
|
+
); end
|
1489
1501
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
1490
1502
|
def to_hash; end
|
1491
1503
|
end
|
@@ -1503,8 +1515,13 @@ module Orb
|
|
1503
1515
|
sig do
|
1504
1516
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
1505
1517
|
end
|
1506
|
-
def self.new(
|
1507
|
-
|
1518
|
+
def self.new(
|
1519
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
1520
|
+
# minimums, this can be a subset of prices.
|
1521
|
+
applies_to_price_ids:,
|
1522
|
+
# Minimum amount applied
|
1523
|
+
minimum_amount:
|
1524
|
+
); end
|
1508
1525
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
1509
1526
|
def to_hash; end
|
1510
1527
|
end
|
@@ -1513,8 +1530,7 @@ module Orb
|
|
1513
1530
|
extend Orb::Internal::Type::Enum
|
1514
1531
|
|
1515
1532
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::MatrixPrice::PriceType) }
|
1516
|
-
OrSymbol =
|
1517
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::MatrixPrice::PriceType::TaggedSymbol) }
|
1533
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1518
1534
|
|
1519
1535
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::MatrixPrice::PriceType::TaggedSymbol)
|
1520
1536
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::MatrixPrice::PriceType::TaggedSymbol)
|
@@ -1736,6 +1752,10 @@ module Orb
|
|
1736
1752
|
item:,
|
1737
1753
|
maximum:,
|
1738
1754
|
maximum_amount:,
|
1755
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
1756
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
1757
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
1758
|
+
# `null`.
|
1739
1759
|
metadata:,
|
1740
1760
|
minimum:,
|
1741
1761
|
minimum_amount:,
|
@@ -1829,14 +1849,7 @@ module Orb
|
|
1829
1849
|
|
1830
1850
|
TaggedSymbol =
|
1831
1851
|
T.type_alias { T.all(Symbol, Orb::Models::Price::TieredPrice::BillingCycleConfiguration::DurationUnit) }
|
1832
|
-
OrSymbol =
|
1833
|
-
T.type_alias do
|
1834
|
-
T.any(
|
1835
|
-
Symbol,
|
1836
|
-
String,
|
1837
|
-
Orb::Models::Price::TieredPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
1838
|
-
)
|
1839
|
-
end
|
1852
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1840
1853
|
|
1841
1854
|
DAY = T.let(:day, Orb::Models::Price::TieredPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol)
|
1842
1855
|
MONTH =
|
@@ -1854,7 +1867,7 @@ module Orb
|
|
1854
1867
|
extend Orb::Internal::Type::Enum
|
1855
1868
|
|
1856
1869
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::TieredPrice::Cadence) }
|
1857
|
-
OrSymbol = T.type_alias { T.any(Symbol, String
|
1870
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1858
1871
|
|
1859
1872
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::TieredPrice::Cadence::TaggedSymbol)
|
1860
1873
|
MONTHLY = T.let(:monthly, Orb::Models::Price::TieredPrice::Cadence::TaggedSymbol)
|
@@ -1913,14 +1926,7 @@ module Orb
|
|
1913
1926
|
|
1914
1927
|
TaggedSymbol =
|
1915
1928
|
T.type_alias { T.all(Symbol, Orb::Models::Price::TieredPrice::InvoicingCycleConfiguration::DurationUnit) }
|
1916
|
-
OrSymbol =
|
1917
|
-
T.type_alias do
|
1918
|
-
T.any(
|
1919
|
-
Symbol,
|
1920
|
-
String,
|
1921
|
-
Orb::Models::Price::TieredPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
1922
|
-
)
|
1923
|
-
end
|
1929
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1924
1930
|
|
1925
1931
|
DAY =
|
1926
1932
|
T.let(:day, Orb::Models::Price::TieredPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol)
|
@@ -1964,8 +1970,13 @@ module Orb
|
|
1964
1970
|
sig do
|
1965
1971
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
1966
1972
|
end
|
1967
|
-
def self.new(
|
1968
|
-
|
1973
|
+
def self.new(
|
1974
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
1975
|
+
# maximums, this can be a subset of prices.
|
1976
|
+
applies_to_price_ids:,
|
1977
|
+
# Maximum amount applied
|
1978
|
+
maximum_amount:
|
1979
|
+
); end
|
1969
1980
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
1970
1981
|
def to_hash; end
|
1971
1982
|
end
|
@@ -1983,8 +1994,13 @@ module Orb
|
|
1983
1994
|
sig do
|
1984
1995
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
1985
1996
|
end
|
1986
|
-
def self.new(
|
1987
|
-
|
1997
|
+
def self.new(
|
1998
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
1999
|
+
# minimums, this can be a subset of prices.
|
2000
|
+
applies_to_price_ids:,
|
2001
|
+
# Minimum amount applied
|
2002
|
+
minimum_amount:
|
2003
|
+
); end
|
1988
2004
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
1989
2005
|
def to_hash; end
|
1990
2006
|
end
|
@@ -1993,8 +2009,7 @@ module Orb
|
|
1993
2009
|
extend Orb::Internal::Type::Enum
|
1994
2010
|
|
1995
2011
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::TieredPrice::PriceType) }
|
1996
|
-
OrSymbol =
|
1997
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::TieredPrice::PriceType::TaggedSymbol) }
|
2012
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1998
2013
|
|
1999
2014
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::TieredPrice::PriceType::TaggedSymbol)
|
2000
2015
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::TieredPrice::PriceType::TaggedSymbol)
|
@@ -2014,8 +2029,10 @@ module Orb
|
|
2014
2029
|
)
|
2015
2030
|
.returns(T.attached_class)
|
2016
2031
|
end
|
2017
|
-
def self.new(
|
2018
|
-
|
2032
|
+
def self.new(
|
2033
|
+
# Tiers for rating based on total usage quantities into the specified tier
|
2034
|
+
tiers:
|
2035
|
+
); end
|
2019
2036
|
sig { override.returns({tiers: T::Array[Orb::Models::Price::TieredPrice::TieredConfig::Tier]}) }
|
2020
2037
|
def to_hash; end
|
2021
2038
|
|
@@ -2039,8 +2056,14 @@ module Orb
|
|
2039
2056
|
last_unit: T.nilable(Float)
|
2040
2057
|
).returns(T.attached_class)
|
2041
2058
|
end
|
2042
|
-
def self.new(
|
2043
|
-
|
2059
|
+
def self.new(
|
2060
|
+
# Exclusive tier starting value
|
2061
|
+
first_unit:,
|
2062
|
+
# Amount per unit
|
2063
|
+
unit_amount:,
|
2064
|
+
# Inclusive tier ending value. If null, this is treated as the last tier
|
2065
|
+
last_unit: nil
|
2066
|
+
); end
|
2044
2067
|
sig { override.returns({first_unit: Float, unit_amount: String, last_unit: T.nilable(Float)}) }
|
2045
2068
|
def to_hash; end
|
2046
2069
|
end
|
@@ -2272,6 +2295,10 @@ module Orb
|
|
2272
2295
|
item:,
|
2273
2296
|
maximum:,
|
2274
2297
|
maximum_amount:,
|
2298
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
2299
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
2300
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
2301
|
+
# `null`.
|
2275
2302
|
metadata:,
|
2276
2303
|
minimum:,
|
2277
2304
|
minimum_amount:,
|
@@ -2365,14 +2392,7 @@ module Orb
|
|
2365
2392
|
|
2366
2393
|
TaggedSymbol =
|
2367
2394
|
T.type_alias { T.all(Symbol, Orb::Models::Price::TieredBpsPrice::BillingCycleConfiguration::DurationUnit) }
|
2368
|
-
OrSymbol =
|
2369
|
-
T.type_alias do
|
2370
|
-
T.any(
|
2371
|
-
Symbol,
|
2372
|
-
String,
|
2373
|
-
Orb::Models::Price::TieredBpsPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
2374
|
-
)
|
2375
|
-
end
|
2395
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2376
2396
|
|
2377
2397
|
DAY =
|
2378
2398
|
T.let(:day, Orb::Models::Price::TieredBpsPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol)
|
@@ -2393,8 +2413,7 @@ module Orb
|
|
2393
2413
|
extend Orb::Internal::Type::Enum
|
2394
2414
|
|
2395
2415
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::TieredBpsPrice::Cadence) }
|
2396
|
-
OrSymbol =
|
2397
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::TieredBpsPrice::Cadence::TaggedSymbol) }
|
2416
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2398
2417
|
|
2399
2418
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::TieredBpsPrice::Cadence::TaggedSymbol)
|
2400
2419
|
MONTHLY = T.let(:monthly, Orb::Models::Price::TieredBpsPrice::Cadence::TaggedSymbol)
|
@@ -2453,14 +2472,7 @@ module Orb
|
|
2453
2472
|
|
2454
2473
|
TaggedSymbol =
|
2455
2474
|
T.type_alias { T.all(Symbol, Orb::Models::Price::TieredBpsPrice::InvoicingCycleConfiguration::DurationUnit) }
|
2456
|
-
OrSymbol =
|
2457
|
-
T.type_alias do
|
2458
|
-
T.any(
|
2459
|
-
Symbol,
|
2460
|
-
String,
|
2461
|
-
Orb::Models::Price::TieredBpsPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
2462
|
-
)
|
2463
|
-
end
|
2475
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2464
2476
|
|
2465
2477
|
DAY =
|
2466
2478
|
T.let(:day, Orb::Models::Price::TieredBpsPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol)
|
@@ -2504,8 +2516,13 @@ module Orb
|
|
2504
2516
|
sig do
|
2505
2517
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
2506
2518
|
end
|
2507
|
-
def self.new(
|
2508
|
-
|
2519
|
+
def self.new(
|
2520
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
2521
|
+
# maximums, this can be a subset of prices.
|
2522
|
+
applies_to_price_ids:,
|
2523
|
+
# Maximum amount applied
|
2524
|
+
maximum_amount:
|
2525
|
+
); end
|
2509
2526
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
2510
2527
|
def to_hash; end
|
2511
2528
|
end
|
@@ -2523,8 +2540,13 @@ module Orb
|
|
2523
2540
|
sig do
|
2524
2541
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
2525
2542
|
end
|
2526
|
-
def self.new(
|
2527
|
-
|
2543
|
+
def self.new(
|
2544
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
2545
|
+
# minimums, this can be a subset of prices.
|
2546
|
+
applies_to_price_ids:,
|
2547
|
+
# Minimum amount applied
|
2548
|
+
minimum_amount:
|
2549
|
+
); end
|
2528
2550
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
2529
2551
|
def to_hash; end
|
2530
2552
|
end
|
@@ -2533,8 +2555,7 @@ module Orb
|
|
2533
2555
|
extend Orb::Internal::Type::Enum
|
2534
2556
|
|
2535
2557
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::TieredBpsPrice::PriceType) }
|
2536
|
-
OrSymbol =
|
2537
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::TieredBpsPrice::PriceType::TaggedSymbol) }
|
2558
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2538
2559
|
|
2539
2560
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::TieredBpsPrice::PriceType::TaggedSymbol)
|
2540
2561
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::TieredBpsPrice::PriceType::TaggedSymbol)
|
@@ -2555,8 +2576,11 @@ module Orb
|
|
2555
2576
|
)
|
2556
2577
|
.returns(T.attached_class)
|
2557
2578
|
end
|
2558
|
-
def self.new(
|
2559
|
-
|
2579
|
+
def self.new(
|
2580
|
+
# Tiers for a Graduated BPS pricing model, where usage is bucketed into specified
|
2581
|
+
# tiers
|
2582
|
+
tiers:
|
2583
|
+
); end
|
2560
2584
|
sig { override.returns({tiers: T::Array[Orb::Models::Price::TieredBpsPrice::TieredBpsConfig::Tier]}) }
|
2561
2585
|
def to_hash; end
|
2562
2586
|
|
@@ -2586,8 +2610,16 @@ module Orb
|
|
2586
2610
|
)
|
2587
2611
|
.returns(T.attached_class)
|
2588
2612
|
end
|
2589
|
-
def self.new(
|
2590
|
-
|
2613
|
+
def self.new(
|
2614
|
+
# Per-event basis point rate
|
2615
|
+
bps:,
|
2616
|
+
# Exclusive tier starting value
|
2617
|
+
minimum_amount:,
|
2618
|
+
# Inclusive tier ending value
|
2619
|
+
maximum_amount: nil,
|
2620
|
+
# Per unit maximum to charge
|
2621
|
+
per_unit_maximum: nil
|
2622
|
+
); end
|
2591
2623
|
sig do
|
2592
2624
|
override
|
2593
2625
|
.returns(
|
@@ -2817,6 +2849,10 @@ module Orb
|
|
2817
2849
|
item:,
|
2818
2850
|
maximum:,
|
2819
2851
|
maximum_amount:,
|
2852
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
2853
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
2854
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
2855
|
+
# `null`.
|
2820
2856
|
metadata:,
|
2821
2857
|
minimum:,
|
2822
2858
|
minimum_amount:,
|
@@ -2909,8 +2945,7 @@ module Orb
|
|
2909
2945
|
|
2910
2946
|
TaggedSymbol =
|
2911
2947
|
T.type_alias { T.all(Symbol, Orb::Models::Price::BpsPrice::BillingCycleConfiguration::DurationUnit) }
|
2912
|
-
OrSymbol =
|
2913
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::BpsPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol) }
|
2948
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2914
2949
|
|
2915
2950
|
DAY = T.let(:day, Orb::Models::Price::BpsPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol)
|
2916
2951
|
MONTH =
|
@@ -2934,8 +2969,12 @@ module Orb
|
|
2934
2969
|
attr_accessor :per_unit_maximum
|
2935
2970
|
|
2936
2971
|
sig { params(bps: Float, per_unit_maximum: T.nilable(String)).returns(T.attached_class) }
|
2937
|
-
def self.new(
|
2938
|
-
|
2972
|
+
def self.new(
|
2973
|
+
# Basis point take rate per event
|
2974
|
+
bps:,
|
2975
|
+
# Optional currency amount maximum to cap spend per event
|
2976
|
+
per_unit_maximum: nil
|
2977
|
+
); end
|
2939
2978
|
sig { override.returns({bps: Float, per_unit_maximum: T.nilable(String)}) }
|
2940
2979
|
def to_hash; end
|
2941
2980
|
end
|
@@ -2944,7 +2983,7 @@ module Orb
|
|
2944
2983
|
extend Orb::Internal::Type::Enum
|
2945
2984
|
|
2946
2985
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::BpsPrice::Cadence) }
|
2947
|
-
OrSymbol = T.type_alias { T.any(Symbol, String
|
2986
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2948
2987
|
|
2949
2988
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::BpsPrice::Cadence::TaggedSymbol)
|
2950
2989
|
MONTHLY = T.let(:monthly, Orb::Models::Price::BpsPrice::Cadence::TaggedSymbol)
|
@@ -3003,14 +3042,7 @@ module Orb
|
|
3003
3042
|
|
3004
3043
|
TaggedSymbol =
|
3005
3044
|
T.type_alias { T.all(Symbol, Orb::Models::Price::BpsPrice::InvoicingCycleConfiguration::DurationUnit) }
|
3006
|
-
OrSymbol =
|
3007
|
-
T.type_alias do
|
3008
|
-
T.any(
|
3009
|
-
Symbol,
|
3010
|
-
String,
|
3011
|
-
Orb::Models::Price::BpsPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
3012
|
-
)
|
3013
|
-
end
|
3045
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
3014
3046
|
|
3015
3047
|
DAY = T.let(:day, Orb::Models::Price::BpsPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol)
|
3016
3048
|
MONTH =
|
@@ -3051,8 +3083,13 @@ module Orb
|
|
3051
3083
|
sig do
|
3052
3084
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
3053
3085
|
end
|
3054
|
-
def self.new(
|
3055
|
-
|
3086
|
+
def self.new(
|
3087
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
3088
|
+
# maximums, this can be a subset of prices.
|
3089
|
+
applies_to_price_ids:,
|
3090
|
+
# Maximum amount applied
|
3091
|
+
maximum_amount:
|
3092
|
+
); end
|
3056
3093
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
3057
3094
|
def to_hash; end
|
3058
3095
|
end
|
@@ -3070,8 +3107,13 @@ module Orb
|
|
3070
3107
|
sig do
|
3071
3108
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
3072
3109
|
end
|
3073
|
-
def self.new(
|
3074
|
-
|
3110
|
+
def self.new(
|
3111
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
3112
|
+
# minimums, this can be a subset of prices.
|
3113
|
+
applies_to_price_ids:,
|
3114
|
+
# Minimum amount applied
|
3115
|
+
minimum_amount:
|
3116
|
+
); end
|
3075
3117
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
3076
3118
|
def to_hash; end
|
3077
3119
|
end
|
@@ -3080,7 +3122,7 @@ module Orb
|
|
3080
3122
|
extend Orb::Internal::Type::Enum
|
3081
3123
|
|
3082
3124
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::BpsPrice::PriceType) }
|
3083
|
-
OrSymbol = T.type_alias { T.any(Symbol, String
|
3125
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
3084
3126
|
|
3085
3127
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::BpsPrice::PriceType::TaggedSymbol)
|
3086
3128
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::BpsPrice::PriceType::TaggedSymbol)
|
@@ -3306,6 +3348,10 @@ module Orb
|
|
3306
3348
|
item:,
|
3307
3349
|
maximum:,
|
3308
3350
|
maximum_amount:,
|
3351
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
3352
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
3353
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
3354
|
+
# `null`.
|
3309
3355
|
metadata:,
|
3310
3356
|
minimum:,
|
3311
3357
|
minimum_amount:,
|
@@ -3398,14 +3444,7 @@ module Orb
|
|
3398
3444
|
|
3399
3445
|
TaggedSymbol =
|
3400
3446
|
T.type_alias { T.all(Symbol, Orb::Models::Price::BulkBpsPrice::BillingCycleConfiguration::DurationUnit) }
|
3401
|
-
OrSymbol =
|
3402
|
-
T.type_alias do
|
3403
|
-
T.any(
|
3404
|
-
Symbol,
|
3405
|
-
String,
|
3406
|
-
Orb::Models::Price::BulkBpsPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
3407
|
-
)
|
3408
|
-
end
|
3447
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
3409
3448
|
|
3410
3449
|
DAY =
|
3411
3450
|
T.let(:day, Orb::Models::Price::BulkBpsPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol)
|
@@ -3432,8 +3471,11 @@ module Orb
|
|
3432
3471
|
)
|
3433
3472
|
.returns(T.attached_class)
|
3434
3473
|
end
|
3435
|
-
def self.new(
|
3436
|
-
|
3474
|
+
def self.new(
|
3475
|
+
# Tiers for a bulk BPS pricing model where all usage is aggregated to a single
|
3476
|
+
# tier based on total volume
|
3477
|
+
tiers:
|
3478
|
+
); end
|
3437
3479
|
sig { override.returns({tiers: T::Array[Orb::Models::Price::BulkBpsPrice::BulkBpsConfig::Tier]}) }
|
3438
3480
|
def to_hash; end
|
3439
3481
|
|
@@ -3454,8 +3496,14 @@ module Orb
|
|
3454
3496
|
params(bps: Float, maximum_amount: T.nilable(String), per_unit_maximum: T.nilable(String))
|
3455
3497
|
.returns(T.attached_class)
|
3456
3498
|
end
|
3457
|
-
def self.new(
|
3458
|
-
|
3499
|
+
def self.new(
|
3500
|
+
# Basis points to rate on
|
3501
|
+
bps:,
|
3502
|
+
# Upper bound for tier
|
3503
|
+
maximum_amount: nil,
|
3504
|
+
# The maximum amount to charge for any one event
|
3505
|
+
per_unit_maximum: nil
|
3506
|
+
); end
|
3459
3507
|
sig do
|
3460
3508
|
override.returns(
|
3461
3509
|
{
|
@@ -3473,8 +3521,7 @@ module Orb
|
|
3473
3521
|
extend Orb::Internal::Type::Enum
|
3474
3522
|
|
3475
3523
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::BulkBpsPrice::Cadence) }
|
3476
|
-
OrSymbol =
|
3477
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::BulkBpsPrice::Cadence::TaggedSymbol) }
|
3524
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
3478
3525
|
|
3479
3526
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::BulkBpsPrice::Cadence::TaggedSymbol)
|
3480
3527
|
MONTHLY = T.let(:monthly, Orb::Models::Price::BulkBpsPrice::Cadence::TaggedSymbol)
|
@@ -3533,14 +3580,7 @@ module Orb
|
|
3533
3580
|
|
3534
3581
|
TaggedSymbol =
|
3535
3582
|
T.type_alias { T.all(Symbol, Orb::Models::Price::BulkBpsPrice::InvoicingCycleConfiguration::DurationUnit) }
|
3536
|
-
OrSymbol =
|
3537
|
-
T.type_alias do
|
3538
|
-
T.any(
|
3539
|
-
Symbol,
|
3540
|
-
String,
|
3541
|
-
Orb::Models::Price::BulkBpsPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
3542
|
-
)
|
3543
|
-
end
|
3583
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
3544
3584
|
|
3545
3585
|
DAY =
|
3546
3586
|
T.let(:day, Orb::Models::Price::BulkBpsPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol)
|
@@ -3584,8 +3624,13 @@ module Orb
|
|
3584
3624
|
sig do
|
3585
3625
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
3586
3626
|
end
|
3587
|
-
def self.new(
|
3588
|
-
|
3627
|
+
def self.new(
|
3628
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
3629
|
+
# maximums, this can be a subset of prices.
|
3630
|
+
applies_to_price_ids:,
|
3631
|
+
# Maximum amount applied
|
3632
|
+
maximum_amount:
|
3633
|
+
); end
|
3589
3634
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
3590
3635
|
def to_hash; end
|
3591
3636
|
end
|
@@ -3603,8 +3648,13 @@ module Orb
|
|
3603
3648
|
sig do
|
3604
3649
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
3605
3650
|
end
|
3606
|
-
def self.new(
|
3607
|
-
|
3651
|
+
def self.new(
|
3652
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
3653
|
+
# minimums, this can be a subset of prices.
|
3654
|
+
applies_to_price_ids:,
|
3655
|
+
# Minimum amount applied
|
3656
|
+
minimum_amount:
|
3657
|
+
); end
|
3608
3658
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
3609
3659
|
def to_hash; end
|
3610
3660
|
end
|
@@ -3613,8 +3663,7 @@ module Orb
|
|
3613
3663
|
extend Orb::Internal::Type::Enum
|
3614
3664
|
|
3615
3665
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::BulkBpsPrice::PriceType) }
|
3616
|
-
OrSymbol =
|
3617
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::BulkBpsPrice::PriceType::TaggedSymbol) }
|
3666
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
3618
3667
|
|
3619
3668
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::BulkBpsPrice::PriceType::TaggedSymbol)
|
3620
3669
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::BulkBpsPrice::PriceType::TaggedSymbol)
|
@@ -3837,6 +3886,10 @@ module Orb
|
|
3837
3886
|
item:,
|
3838
3887
|
maximum:,
|
3839
3888
|
maximum_amount:,
|
3889
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
3890
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
3891
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
3892
|
+
# `null`.
|
3840
3893
|
metadata:,
|
3841
3894
|
minimum:,
|
3842
3895
|
minimum_amount:,
|
@@ -3929,14 +3982,7 @@ module Orb
|
|
3929
3982
|
|
3930
3983
|
TaggedSymbol =
|
3931
3984
|
T.type_alias { T.all(Symbol, Orb::Models::Price::BulkPrice::BillingCycleConfiguration::DurationUnit) }
|
3932
|
-
OrSymbol =
|
3933
|
-
T.type_alias do
|
3934
|
-
T.any(
|
3935
|
-
Symbol,
|
3936
|
-
String,
|
3937
|
-
Orb::Models::Price::BulkPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
3938
|
-
)
|
3939
|
-
end
|
3985
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
3940
3986
|
|
3941
3987
|
DAY = T.let(:day, Orb::Models::Price::BulkPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol)
|
3942
3988
|
MONTH =
|
@@ -3959,8 +4005,10 @@ module Orb
|
|
3959
4005
|
params(tiers: T::Array[T.any(Orb::Models::Price::BulkPrice::BulkConfig::Tier, Orb::Internal::AnyHash)])
|
3960
4006
|
.returns(T.attached_class)
|
3961
4007
|
end
|
3962
|
-
def self.new(
|
3963
|
-
|
4008
|
+
def self.new(
|
4009
|
+
# Bulk tiers for rating based on total usage volume
|
4010
|
+
tiers:
|
4011
|
+
); end
|
3964
4012
|
sig { override.returns({tiers: T::Array[Orb::Models::Price::BulkPrice::BulkConfig::Tier]}) }
|
3965
4013
|
def to_hash; end
|
3966
4014
|
|
@@ -3974,8 +4022,12 @@ module Orb
|
|
3974
4022
|
attr_accessor :maximum_units
|
3975
4023
|
|
3976
4024
|
sig { params(unit_amount: String, maximum_units: T.nilable(Float)).returns(T.attached_class) }
|
3977
|
-
def self.new(
|
3978
|
-
|
4025
|
+
def self.new(
|
4026
|
+
# Amount per unit
|
4027
|
+
unit_amount:,
|
4028
|
+
# Upper bound for this tier
|
4029
|
+
maximum_units: nil
|
4030
|
+
); end
|
3979
4031
|
sig { override.returns({unit_amount: String, maximum_units: T.nilable(Float)}) }
|
3980
4032
|
def to_hash; end
|
3981
4033
|
end
|
@@ -3985,7 +4037,7 @@ module Orb
|
|
3985
4037
|
extend Orb::Internal::Type::Enum
|
3986
4038
|
|
3987
4039
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::BulkPrice::Cadence) }
|
3988
|
-
OrSymbol = T.type_alias { T.any(Symbol, String
|
4040
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
3989
4041
|
|
3990
4042
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::BulkPrice::Cadence::TaggedSymbol)
|
3991
4043
|
MONTHLY = T.let(:monthly, Orb::Models::Price::BulkPrice::Cadence::TaggedSymbol)
|
@@ -4044,14 +4096,7 @@ module Orb
|
|
4044
4096
|
|
4045
4097
|
TaggedSymbol =
|
4046
4098
|
T.type_alias { T.all(Symbol, Orb::Models::Price::BulkPrice::InvoicingCycleConfiguration::DurationUnit) }
|
4047
|
-
OrSymbol =
|
4048
|
-
T.type_alias do
|
4049
|
-
T.any(
|
4050
|
-
Symbol,
|
4051
|
-
String,
|
4052
|
-
Orb::Models::Price::BulkPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
4053
|
-
)
|
4054
|
-
end
|
4099
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
4055
4100
|
|
4056
4101
|
DAY = T.let(:day, Orb::Models::Price::BulkPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol)
|
4057
4102
|
MONTH =
|
@@ -4092,8 +4137,13 @@ module Orb
|
|
4092
4137
|
sig do
|
4093
4138
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
4094
4139
|
end
|
4095
|
-
def self.new(
|
4096
|
-
|
4140
|
+
def self.new(
|
4141
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
4142
|
+
# maximums, this can be a subset of prices.
|
4143
|
+
applies_to_price_ids:,
|
4144
|
+
# Maximum amount applied
|
4145
|
+
maximum_amount:
|
4146
|
+
); end
|
4097
4147
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
4098
4148
|
def to_hash; end
|
4099
4149
|
end
|
@@ -4111,8 +4161,13 @@ module Orb
|
|
4111
4161
|
sig do
|
4112
4162
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
4113
4163
|
end
|
4114
|
-
def self.new(
|
4115
|
-
|
4164
|
+
def self.new(
|
4165
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
4166
|
+
# minimums, this can be a subset of prices.
|
4167
|
+
applies_to_price_ids:,
|
4168
|
+
# Minimum amount applied
|
4169
|
+
minimum_amount:
|
4170
|
+
); end
|
4116
4171
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
4117
4172
|
def to_hash; end
|
4118
4173
|
end
|
@@ -4121,7 +4176,7 @@ module Orb
|
|
4121
4176
|
extend Orb::Internal::Type::Enum
|
4122
4177
|
|
4123
4178
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::BulkPrice::PriceType) }
|
4124
|
-
OrSymbol = T.type_alias { T.any(Symbol, String
|
4179
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
4125
4180
|
|
4126
4181
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::BulkPrice::PriceType::TaggedSymbol)
|
4127
4182
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::BulkPrice::PriceType::TaggedSymbol)
|
@@ -4364,6 +4419,10 @@ module Orb
|
|
4364
4419
|
item:,
|
4365
4420
|
maximum:,
|
4366
4421
|
maximum_amount:,
|
4422
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
4423
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
4424
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
4425
|
+
# `null`.
|
4367
4426
|
metadata:,
|
4368
4427
|
minimum:,
|
4369
4428
|
minimum_amount:,
|
@@ -4461,14 +4520,7 @@ module Orb
|
|
4461
4520
|
|
4462
4521
|
TaggedSymbol =
|
4463
4522
|
T.type_alias { T.all(Symbol, Orb::Models::Price::ThresholdTotalAmountPrice::BillingCycleConfiguration::DurationUnit) }
|
4464
|
-
OrSymbol =
|
4465
|
-
T.type_alias do
|
4466
|
-
T.any(
|
4467
|
-
Symbol,
|
4468
|
-
String,
|
4469
|
-
Orb::Models::Price::ThresholdTotalAmountPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
4470
|
-
)
|
4471
|
-
end
|
4523
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
4472
4524
|
|
4473
4525
|
DAY =
|
4474
4526
|
T.let(
|
@@ -4495,8 +4547,7 @@ module Orb
|
|
4495
4547
|
extend Orb::Internal::Type::Enum
|
4496
4548
|
|
4497
4549
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::ThresholdTotalAmountPrice::Cadence) }
|
4498
|
-
OrSymbol =
|
4499
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::ThresholdTotalAmountPrice::Cadence::TaggedSymbol) }
|
4550
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
4500
4551
|
|
4501
4552
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::ThresholdTotalAmountPrice::Cadence::TaggedSymbol)
|
4502
4553
|
MONTHLY = T.let(:monthly, Orb::Models::Price::ThresholdTotalAmountPrice::Cadence::TaggedSymbol)
|
@@ -4559,14 +4610,7 @@ module Orb
|
|
4559
4610
|
|
4560
4611
|
TaggedSymbol =
|
4561
4612
|
T.type_alias { T.all(Symbol, Orb::Models::Price::ThresholdTotalAmountPrice::InvoicingCycleConfiguration::DurationUnit) }
|
4562
|
-
OrSymbol =
|
4563
|
-
T.type_alias do
|
4564
|
-
T.any(
|
4565
|
-
Symbol,
|
4566
|
-
String,
|
4567
|
-
Orb::Models::Price::ThresholdTotalAmountPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
4568
|
-
)
|
4569
|
-
end
|
4613
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
4570
4614
|
|
4571
4615
|
DAY =
|
4572
4616
|
T.let(
|
@@ -4616,8 +4660,13 @@ module Orb
|
|
4616
4660
|
sig do
|
4617
4661
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
4618
4662
|
end
|
4619
|
-
def self.new(
|
4620
|
-
|
4663
|
+
def self.new(
|
4664
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
4665
|
+
# maximums, this can be a subset of prices.
|
4666
|
+
applies_to_price_ids:,
|
4667
|
+
# Maximum amount applied
|
4668
|
+
maximum_amount:
|
4669
|
+
); end
|
4621
4670
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
4622
4671
|
def to_hash; end
|
4623
4672
|
end
|
@@ -4635,8 +4684,13 @@ module Orb
|
|
4635
4684
|
sig do
|
4636
4685
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
4637
4686
|
end
|
4638
|
-
def self.new(
|
4639
|
-
|
4687
|
+
def self.new(
|
4688
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
4689
|
+
# minimums, this can be a subset of prices.
|
4690
|
+
applies_to_price_ids:,
|
4691
|
+
# Minimum amount applied
|
4692
|
+
minimum_amount:
|
4693
|
+
); end
|
4640
4694
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
4641
4695
|
def to_hash; end
|
4642
4696
|
end
|
@@ -4645,8 +4699,7 @@ module Orb
|
|
4645
4699
|
extend Orb::Internal::Type::Enum
|
4646
4700
|
|
4647
4701
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::ThresholdTotalAmountPrice::PriceType) }
|
4648
|
-
OrSymbol =
|
4649
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::ThresholdTotalAmountPrice::PriceType::TaggedSymbol) }
|
4702
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
4650
4703
|
|
4651
4704
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::ThresholdTotalAmountPrice::PriceType::TaggedSymbol)
|
4652
4705
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::ThresholdTotalAmountPrice::PriceType::TaggedSymbol)
|
@@ -4879,6 +4932,10 @@ module Orb
|
|
4879
4932
|
item:,
|
4880
4933
|
maximum:,
|
4881
4934
|
maximum_amount:,
|
4935
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
4936
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
4937
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
4938
|
+
# `null`.
|
4882
4939
|
metadata:,
|
4883
4940
|
minimum:,
|
4884
4941
|
minimum_amount:,
|
@@ -4972,14 +5029,7 @@ module Orb
|
|
4972
5029
|
|
4973
5030
|
TaggedSymbol =
|
4974
5031
|
T.type_alias { T.all(Symbol, Orb::Models::Price::TieredPackagePrice::BillingCycleConfiguration::DurationUnit) }
|
4975
|
-
OrSymbol =
|
4976
|
-
T.type_alias do
|
4977
|
-
T.any(
|
4978
|
-
Symbol,
|
4979
|
-
String,
|
4980
|
-
Orb::Models::Price::TieredPackagePrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
4981
|
-
)
|
4982
|
-
end
|
5032
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
4983
5033
|
|
4984
5034
|
DAY =
|
4985
5035
|
T.let(:day, Orb::Models::Price::TieredPackagePrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol)
|
@@ -5003,8 +5053,7 @@ module Orb
|
|
5003
5053
|
extend Orb::Internal::Type::Enum
|
5004
5054
|
|
5005
5055
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::TieredPackagePrice::Cadence) }
|
5006
|
-
OrSymbol =
|
5007
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::TieredPackagePrice::Cadence::TaggedSymbol) }
|
5056
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
5008
5057
|
|
5009
5058
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::TieredPackagePrice::Cadence::TaggedSymbol)
|
5010
5059
|
MONTHLY = T.let(:monthly, Orb::Models::Price::TieredPackagePrice::Cadence::TaggedSymbol)
|
@@ -5063,14 +5112,7 @@ module Orb
|
|
5063
5112
|
|
5064
5113
|
TaggedSymbol =
|
5065
5114
|
T.type_alias { T.all(Symbol, Orb::Models::Price::TieredPackagePrice::InvoicingCycleConfiguration::DurationUnit) }
|
5066
|
-
OrSymbol =
|
5067
|
-
T.type_alias do
|
5068
|
-
T.any(
|
5069
|
-
Symbol,
|
5070
|
-
String,
|
5071
|
-
Orb::Models::Price::TieredPackagePrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
5072
|
-
)
|
5073
|
-
end
|
5115
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
5074
5116
|
|
5075
5117
|
DAY =
|
5076
5118
|
T.let(
|
@@ -5120,8 +5162,13 @@ module Orb
|
|
5120
5162
|
sig do
|
5121
5163
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
5122
5164
|
end
|
5123
|
-
def self.new(
|
5124
|
-
|
5165
|
+
def self.new(
|
5166
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
5167
|
+
# maximums, this can be a subset of prices.
|
5168
|
+
applies_to_price_ids:,
|
5169
|
+
# Maximum amount applied
|
5170
|
+
maximum_amount:
|
5171
|
+
); end
|
5125
5172
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
5126
5173
|
def to_hash; end
|
5127
5174
|
end
|
@@ -5139,8 +5186,13 @@ module Orb
|
|
5139
5186
|
sig do
|
5140
5187
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
5141
5188
|
end
|
5142
|
-
def self.new(
|
5143
|
-
|
5189
|
+
def self.new(
|
5190
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
5191
|
+
# minimums, this can be a subset of prices.
|
5192
|
+
applies_to_price_ids:,
|
5193
|
+
# Minimum amount applied
|
5194
|
+
minimum_amount:
|
5195
|
+
); end
|
5144
5196
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
5145
5197
|
def to_hash; end
|
5146
5198
|
end
|
@@ -5149,8 +5201,7 @@ module Orb
|
|
5149
5201
|
extend Orb::Internal::Type::Enum
|
5150
5202
|
|
5151
5203
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::TieredPackagePrice::PriceType) }
|
5152
|
-
OrSymbol =
|
5153
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::TieredPackagePrice::PriceType::TaggedSymbol) }
|
5204
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
5154
5205
|
|
5155
5206
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::TieredPackagePrice::PriceType::TaggedSymbol)
|
5156
5207
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::TieredPackagePrice::PriceType::TaggedSymbol)
|
@@ -5384,6 +5435,10 @@ module Orb
|
|
5384
5435
|
item:,
|
5385
5436
|
maximum:,
|
5386
5437
|
maximum_amount:,
|
5438
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
5439
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
5440
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
5441
|
+
# `null`.
|
5387
5442
|
metadata:,
|
5388
5443
|
minimum:,
|
5389
5444
|
minimum_amount:,
|
@@ -5476,14 +5531,7 @@ module Orb
|
|
5476
5531
|
|
5477
5532
|
TaggedSymbol =
|
5478
5533
|
T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedTieredPrice::BillingCycleConfiguration::DurationUnit) }
|
5479
|
-
OrSymbol =
|
5480
|
-
T.type_alias do
|
5481
|
-
T.any(
|
5482
|
-
Symbol,
|
5483
|
-
String,
|
5484
|
-
Orb::Models::Price::GroupedTieredPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
5485
|
-
)
|
5486
|
-
end
|
5534
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
5487
5535
|
|
5488
5536
|
DAY =
|
5489
5537
|
T.let(:day, Orb::Models::Price::GroupedTieredPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol)
|
@@ -5507,8 +5555,7 @@ module Orb
|
|
5507
5555
|
extend Orb::Internal::Type::Enum
|
5508
5556
|
|
5509
5557
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedTieredPrice::Cadence) }
|
5510
|
-
OrSymbol =
|
5511
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::GroupedTieredPrice::Cadence::TaggedSymbol) }
|
5558
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
5512
5559
|
|
5513
5560
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::GroupedTieredPrice::Cadence::TaggedSymbol)
|
5514
5561
|
MONTHLY = T.let(:monthly, Orb::Models::Price::GroupedTieredPrice::Cadence::TaggedSymbol)
|
@@ -5567,14 +5614,7 @@ module Orb
|
|
5567
5614
|
|
5568
5615
|
TaggedSymbol =
|
5569
5616
|
T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedTieredPrice::InvoicingCycleConfiguration::DurationUnit) }
|
5570
|
-
OrSymbol =
|
5571
|
-
T.type_alias do
|
5572
|
-
T.any(
|
5573
|
-
Symbol,
|
5574
|
-
String,
|
5575
|
-
Orb::Models::Price::GroupedTieredPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
5576
|
-
)
|
5577
|
-
end
|
5617
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
5578
5618
|
|
5579
5619
|
DAY =
|
5580
5620
|
T.let(
|
@@ -5624,8 +5664,13 @@ module Orb
|
|
5624
5664
|
sig do
|
5625
5665
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
5626
5666
|
end
|
5627
|
-
def self.new(
|
5628
|
-
|
5667
|
+
def self.new(
|
5668
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
5669
|
+
# maximums, this can be a subset of prices.
|
5670
|
+
applies_to_price_ids:,
|
5671
|
+
# Maximum amount applied
|
5672
|
+
maximum_amount:
|
5673
|
+
); end
|
5629
5674
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
5630
5675
|
def to_hash; end
|
5631
5676
|
end
|
@@ -5643,8 +5688,13 @@ module Orb
|
|
5643
5688
|
sig do
|
5644
5689
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
5645
5690
|
end
|
5646
|
-
def self.new(
|
5647
|
-
|
5691
|
+
def self.new(
|
5692
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
5693
|
+
# minimums, this can be a subset of prices.
|
5694
|
+
applies_to_price_ids:,
|
5695
|
+
# Minimum amount applied
|
5696
|
+
minimum_amount:
|
5697
|
+
); end
|
5648
5698
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
5649
5699
|
def to_hash; end
|
5650
5700
|
end
|
@@ -5653,8 +5703,7 @@ module Orb
|
|
5653
5703
|
extend Orb::Internal::Type::Enum
|
5654
5704
|
|
5655
5705
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedTieredPrice::PriceType) }
|
5656
|
-
OrSymbol =
|
5657
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::GroupedTieredPrice::PriceType::TaggedSymbol) }
|
5706
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
5658
5707
|
|
5659
5708
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::GroupedTieredPrice::PriceType::TaggedSymbol)
|
5660
5709
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::GroupedTieredPrice::PriceType::TaggedSymbol)
|
@@ -5891,6 +5940,10 @@ module Orb
|
|
5891
5940
|
item:,
|
5892
5941
|
maximum:,
|
5893
5942
|
maximum_amount:,
|
5943
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
5944
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
5945
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
5946
|
+
# `null`.
|
5894
5947
|
metadata:,
|
5895
5948
|
minimum:,
|
5896
5949
|
minimum_amount:,
|
@@ -5984,14 +6037,7 @@ module Orb
|
|
5984
6037
|
|
5985
6038
|
TaggedSymbol =
|
5986
6039
|
T.type_alias { T.all(Symbol, Orb::Models::Price::TieredWithMinimumPrice::BillingCycleConfiguration::DurationUnit) }
|
5987
|
-
OrSymbol =
|
5988
|
-
T.type_alias do
|
5989
|
-
T.any(
|
5990
|
-
Symbol,
|
5991
|
-
String,
|
5992
|
-
Orb::Models::Price::TieredWithMinimumPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
5993
|
-
)
|
5994
|
-
end
|
6040
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
5995
6041
|
|
5996
6042
|
DAY =
|
5997
6043
|
T.let(
|
@@ -6018,8 +6064,7 @@ module Orb
|
|
6018
6064
|
extend Orb::Internal::Type::Enum
|
6019
6065
|
|
6020
6066
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::TieredWithMinimumPrice::Cadence) }
|
6021
|
-
OrSymbol =
|
6022
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::TieredWithMinimumPrice::Cadence::TaggedSymbol) }
|
6067
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
6023
6068
|
|
6024
6069
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::TieredWithMinimumPrice::Cadence::TaggedSymbol)
|
6025
6070
|
MONTHLY = T.let(:monthly, Orb::Models::Price::TieredWithMinimumPrice::Cadence::TaggedSymbol)
|
@@ -6082,14 +6127,7 @@ module Orb
|
|
6082
6127
|
|
6083
6128
|
TaggedSymbol =
|
6084
6129
|
T.type_alias { T.all(Symbol, Orb::Models::Price::TieredWithMinimumPrice::InvoicingCycleConfiguration::DurationUnit) }
|
6085
|
-
OrSymbol =
|
6086
|
-
T.type_alias do
|
6087
|
-
T.any(
|
6088
|
-
Symbol,
|
6089
|
-
String,
|
6090
|
-
Orb::Models::Price::TieredWithMinimumPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
6091
|
-
)
|
6092
|
-
end
|
6130
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
6093
6131
|
|
6094
6132
|
DAY =
|
6095
6133
|
T.let(
|
@@ -6139,8 +6177,13 @@ module Orb
|
|
6139
6177
|
sig do
|
6140
6178
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
6141
6179
|
end
|
6142
|
-
def self.new(
|
6143
|
-
|
6180
|
+
def self.new(
|
6181
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
6182
|
+
# maximums, this can be a subset of prices.
|
6183
|
+
applies_to_price_ids:,
|
6184
|
+
# Maximum amount applied
|
6185
|
+
maximum_amount:
|
6186
|
+
); end
|
6144
6187
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
6145
6188
|
def to_hash; end
|
6146
6189
|
end
|
@@ -6158,8 +6201,13 @@ module Orb
|
|
6158
6201
|
sig do
|
6159
6202
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
6160
6203
|
end
|
6161
|
-
def self.new(
|
6162
|
-
|
6204
|
+
def self.new(
|
6205
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
6206
|
+
# minimums, this can be a subset of prices.
|
6207
|
+
applies_to_price_ids:,
|
6208
|
+
# Minimum amount applied
|
6209
|
+
minimum_amount:
|
6210
|
+
); end
|
6163
6211
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
6164
6212
|
def to_hash; end
|
6165
6213
|
end
|
@@ -6168,8 +6216,7 @@ module Orb
|
|
6168
6216
|
extend Orb::Internal::Type::Enum
|
6169
6217
|
|
6170
6218
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::TieredWithMinimumPrice::PriceType) }
|
6171
|
-
OrSymbol =
|
6172
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::TieredWithMinimumPrice::PriceType::TaggedSymbol) }
|
6219
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
6173
6220
|
|
6174
6221
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::TieredWithMinimumPrice::PriceType::TaggedSymbol)
|
6175
6222
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::TieredWithMinimumPrice::PriceType::TaggedSymbol)
|
@@ -6432,6 +6479,10 @@ module Orb
|
|
6432
6479
|
item:,
|
6433
6480
|
maximum:,
|
6434
6481
|
maximum_amount:,
|
6482
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
6483
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
6484
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
6485
|
+
# `null`.
|
6435
6486
|
metadata:,
|
6436
6487
|
minimum:,
|
6437
6488
|
minimum_amount:,
|
@@ -6529,14 +6580,7 @@ module Orb
|
|
6529
6580
|
|
6530
6581
|
TaggedSymbol =
|
6531
6582
|
T.type_alias { T.all(Symbol, Orb::Models::Price::TieredPackageWithMinimumPrice::BillingCycleConfiguration::DurationUnit) }
|
6532
|
-
OrSymbol =
|
6533
|
-
T.type_alias do
|
6534
|
-
T.any(
|
6535
|
-
Symbol,
|
6536
|
-
String,
|
6537
|
-
Orb::Models::Price::TieredPackageWithMinimumPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
6538
|
-
)
|
6539
|
-
end
|
6583
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
6540
6584
|
|
6541
6585
|
DAY =
|
6542
6586
|
T.let(
|
@@ -6563,8 +6607,7 @@ module Orb
|
|
6563
6607
|
extend Orb::Internal::Type::Enum
|
6564
6608
|
|
6565
6609
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::TieredPackageWithMinimumPrice::Cadence) }
|
6566
|
-
OrSymbol =
|
6567
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::TieredPackageWithMinimumPrice::Cadence::TaggedSymbol) }
|
6610
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
6568
6611
|
|
6569
6612
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::TieredPackageWithMinimumPrice::Cadence::TaggedSymbol)
|
6570
6613
|
MONTHLY = T.let(:monthly, Orb::Models::Price::TieredPackageWithMinimumPrice::Cadence::TaggedSymbol)
|
@@ -6630,14 +6673,7 @@ module Orb
|
|
6630
6673
|
T.type_alias do
|
6631
6674
|
T.all(Symbol, Orb::Models::Price::TieredPackageWithMinimumPrice::InvoicingCycleConfiguration::DurationUnit)
|
6632
6675
|
end
|
6633
|
-
OrSymbol =
|
6634
|
-
T.type_alias do
|
6635
|
-
T.any(
|
6636
|
-
Symbol,
|
6637
|
-
String,
|
6638
|
-
Orb::Models::Price::TieredPackageWithMinimumPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
6639
|
-
)
|
6640
|
-
end
|
6676
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
6641
6677
|
|
6642
6678
|
DAY =
|
6643
6679
|
T.let(
|
@@ -6687,8 +6723,13 @@ module Orb
|
|
6687
6723
|
sig do
|
6688
6724
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
6689
6725
|
end
|
6690
|
-
def self.new(
|
6691
|
-
|
6726
|
+
def self.new(
|
6727
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
6728
|
+
# maximums, this can be a subset of prices.
|
6729
|
+
applies_to_price_ids:,
|
6730
|
+
# Maximum amount applied
|
6731
|
+
maximum_amount:
|
6732
|
+
); end
|
6692
6733
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
6693
6734
|
def to_hash; end
|
6694
6735
|
end
|
@@ -6706,8 +6747,13 @@ module Orb
|
|
6706
6747
|
sig do
|
6707
6748
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
6708
6749
|
end
|
6709
|
-
def self.new(
|
6710
|
-
|
6750
|
+
def self.new(
|
6751
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
6752
|
+
# minimums, this can be a subset of prices.
|
6753
|
+
applies_to_price_ids:,
|
6754
|
+
# Minimum amount applied
|
6755
|
+
minimum_amount:
|
6756
|
+
); end
|
6711
6757
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
6712
6758
|
def to_hash; end
|
6713
6759
|
end
|
@@ -6717,8 +6763,7 @@ module Orb
|
|
6717
6763
|
|
6718
6764
|
TaggedSymbol =
|
6719
6765
|
T.type_alias { T.all(Symbol, Orb::Models::Price::TieredPackageWithMinimumPrice::PriceType) }
|
6720
|
-
OrSymbol =
|
6721
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::TieredPackageWithMinimumPrice::PriceType::TaggedSymbol) }
|
6766
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
6722
6767
|
|
6723
6768
|
USAGE_PRICE =
|
6724
6769
|
T.let(:usage_price, Orb::Models::Price::TieredPackageWithMinimumPrice::PriceType::TaggedSymbol)
|
@@ -6963,6 +7008,10 @@ module Orb
|
|
6963
7008
|
item:,
|
6964
7009
|
maximum:,
|
6965
7010
|
maximum_amount:,
|
7011
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
7012
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
7013
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
7014
|
+
# `null`.
|
6966
7015
|
metadata:,
|
6967
7016
|
minimum:,
|
6968
7017
|
minimum_amount:,
|
@@ -7060,14 +7109,7 @@ module Orb
|
|
7060
7109
|
|
7061
7110
|
TaggedSymbol =
|
7062
7111
|
T.type_alias { T.all(Symbol, Orb::Models::Price::PackageWithAllocationPrice::BillingCycleConfiguration::DurationUnit) }
|
7063
|
-
OrSymbol =
|
7064
|
-
T.type_alias do
|
7065
|
-
T.any(
|
7066
|
-
Symbol,
|
7067
|
-
String,
|
7068
|
-
Orb::Models::Price::PackageWithAllocationPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
7069
|
-
)
|
7070
|
-
end
|
7112
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
7071
7113
|
|
7072
7114
|
DAY =
|
7073
7115
|
T.let(
|
@@ -7094,8 +7136,7 @@ module Orb
|
|
7094
7136
|
extend Orb::Internal::Type::Enum
|
7095
7137
|
|
7096
7138
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::PackageWithAllocationPrice::Cadence) }
|
7097
|
-
OrSymbol =
|
7098
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::PackageWithAllocationPrice::Cadence::TaggedSymbol) }
|
7139
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
7099
7140
|
|
7100
7141
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::PackageWithAllocationPrice::Cadence::TaggedSymbol)
|
7101
7142
|
MONTHLY = T.let(:monthly, Orb::Models::Price::PackageWithAllocationPrice::Cadence::TaggedSymbol)
|
@@ -7158,14 +7199,7 @@ module Orb
|
|
7158
7199
|
|
7159
7200
|
TaggedSymbol =
|
7160
7201
|
T.type_alias { T.all(Symbol, Orb::Models::Price::PackageWithAllocationPrice::InvoicingCycleConfiguration::DurationUnit) }
|
7161
|
-
OrSymbol =
|
7162
|
-
T.type_alias do
|
7163
|
-
T.any(
|
7164
|
-
Symbol,
|
7165
|
-
String,
|
7166
|
-
Orb::Models::Price::PackageWithAllocationPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
7167
|
-
)
|
7168
|
-
end
|
7202
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
7169
7203
|
|
7170
7204
|
DAY =
|
7171
7205
|
T.let(
|
@@ -7215,8 +7249,13 @@ module Orb
|
|
7215
7249
|
sig do
|
7216
7250
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
7217
7251
|
end
|
7218
|
-
def self.new(
|
7219
|
-
|
7252
|
+
def self.new(
|
7253
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
7254
|
+
# maximums, this can be a subset of prices.
|
7255
|
+
applies_to_price_ids:,
|
7256
|
+
# Maximum amount applied
|
7257
|
+
maximum_amount:
|
7258
|
+
); end
|
7220
7259
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
7221
7260
|
def to_hash; end
|
7222
7261
|
end
|
@@ -7234,8 +7273,13 @@ module Orb
|
|
7234
7273
|
sig do
|
7235
7274
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
7236
7275
|
end
|
7237
|
-
def self.new(
|
7238
|
-
|
7276
|
+
def self.new(
|
7277
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
7278
|
+
# minimums, this can be a subset of prices.
|
7279
|
+
applies_to_price_ids:,
|
7280
|
+
# Minimum amount applied
|
7281
|
+
minimum_amount:
|
7282
|
+
); end
|
7239
7283
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
7240
7284
|
def to_hash; end
|
7241
7285
|
end
|
@@ -7244,8 +7288,7 @@ module Orb
|
|
7244
7288
|
extend Orb::Internal::Type::Enum
|
7245
7289
|
|
7246
7290
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::PackageWithAllocationPrice::PriceType) }
|
7247
|
-
OrSymbol =
|
7248
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::PackageWithAllocationPrice::PriceType::TaggedSymbol) }
|
7291
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
7249
7292
|
|
7250
7293
|
USAGE_PRICE =
|
7251
7294
|
T.let(:usage_price, Orb::Models::Price::PackageWithAllocationPrice::PriceType::TaggedSymbol)
|
@@ -7484,6 +7527,10 @@ module Orb
|
|
7484
7527
|
item:,
|
7485
7528
|
maximum:,
|
7486
7529
|
maximum_amount:,
|
7530
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
7531
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
7532
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
7533
|
+
# `null`.
|
7487
7534
|
metadata:,
|
7488
7535
|
minimum:,
|
7489
7536
|
minimum_amount:,
|
@@ -7577,14 +7624,7 @@ module Orb
|
|
7577
7624
|
|
7578
7625
|
TaggedSymbol =
|
7579
7626
|
T.type_alias { T.all(Symbol, Orb::Models::Price::UnitWithPercentPrice::BillingCycleConfiguration::DurationUnit) }
|
7580
|
-
OrSymbol =
|
7581
|
-
T.type_alias do
|
7582
|
-
T.any(
|
7583
|
-
Symbol,
|
7584
|
-
String,
|
7585
|
-
Orb::Models::Price::UnitWithPercentPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
7586
|
-
)
|
7587
|
-
end
|
7627
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
7588
7628
|
|
7589
7629
|
DAY =
|
7590
7630
|
T.let(
|
@@ -7611,8 +7651,7 @@ module Orb
|
|
7611
7651
|
extend Orb::Internal::Type::Enum
|
7612
7652
|
|
7613
7653
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::UnitWithPercentPrice::Cadence) }
|
7614
|
-
OrSymbol =
|
7615
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::UnitWithPercentPrice::Cadence::TaggedSymbol) }
|
7654
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
7616
7655
|
|
7617
7656
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::UnitWithPercentPrice::Cadence::TaggedSymbol)
|
7618
7657
|
MONTHLY = T.let(:monthly, Orb::Models::Price::UnitWithPercentPrice::Cadence::TaggedSymbol)
|
@@ -7671,14 +7710,7 @@ module Orb
|
|
7671
7710
|
|
7672
7711
|
TaggedSymbol =
|
7673
7712
|
T.type_alias { T.all(Symbol, Orb::Models::Price::UnitWithPercentPrice::InvoicingCycleConfiguration::DurationUnit) }
|
7674
|
-
OrSymbol =
|
7675
|
-
T.type_alias do
|
7676
|
-
T.any(
|
7677
|
-
Symbol,
|
7678
|
-
String,
|
7679
|
-
Orb::Models::Price::UnitWithPercentPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
7680
|
-
)
|
7681
|
-
end
|
7713
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
7682
7714
|
|
7683
7715
|
DAY =
|
7684
7716
|
T.let(
|
@@ -7728,8 +7760,13 @@ module Orb
|
|
7728
7760
|
sig do
|
7729
7761
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
7730
7762
|
end
|
7731
|
-
def self.new(
|
7732
|
-
|
7763
|
+
def self.new(
|
7764
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
7765
|
+
# maximums, this can be a subset of prices.
|
7766
|
+
applies_to_price_ids:,
|
7767
|
+
# Maximum amount applied
|
7768
|
+
maximum_amount:
|
7769
|
+
); end
|
7733
7770
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
7734
7771
|
def to_hash; end
|
7735
7772
|
end
|
@@ -7747,8 +7784,13 @@ module Orb
|
|
7747
7784
|
sig do
|
7748
7785
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
7749
7786
|
end
|
7750
|
-
def self.new(
|
7751
|
-
|
7787
|
+
def self.new(
|
7788
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
7789
|
+
# minimums, this can be a subset of prices.
|
7790
|
+
applies_to_price_ids:,
|
7791
|
+
# Minimum amount applied
|
7792
|
+
minimum_amount:
|
7793
|
+
); end
|
7752
7794
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
7753
7795
|
def to_hash; end
|
7754
7796
|
end
|
@@ -7757,8 +7799,7 @@ module Orb
|
|
7757
7799
|
extend Orb::Internal::Type::Enum
|
7758
7800
|
|
7759
7801
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::UnitWithPercentPrice::PriceType) }
|
7760
|
-
OrSymbol =
|
7761
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::UnitWithPercentPrice::PriceType::TaggedSymbol) }
|
7802
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
7762
7803
|
|
7763
7804
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::UnitWithPercentPrice::PriceType::TaggedSymbol)
|
7764
7805
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::UnitWithPercentPrice::PriceType::TaggedSymbol)
|
@@ -8010,6 +8051,10 @@ module Orb
|
|
8010
8051
|
matrix_with_allocation_config:,
|
8011
8052
|
maximum:,
|
8012
8053
|
maximum_amount:,
|
8054
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
8055
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
8056
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
8057
|
+
# `null`.
|
8013
8058
|
metadata:,
|
8014
8059
|
minimum:,
|
8015
8060
|
minimum_amount:,
|
@@ -8106,14 +8151,7 @@ module Orb
|
|
8106
8151
|
|
8107
8152
|
TaggedSymbol =
|
8108
8153
|
T.type_alias { T.all(Symbol, Orb::Models::Price::MatrixWithAllocationPrice::BillingCycleConfiguration::DurationUnit) }
|
8109
|
-
OrSymbol =
|
8110
|
-
T.type_alias do
|
8111
|
-
T.any(
|
8112
|
-
Symbol,
|
8113
|
-
String,
|
8114
|
-
Orb::Models::Price::MatrixWithAllocationPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
8115
|
-
)
|
8116
|
-
end
|
8154
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
8117
8155
|
|
8118
8156
|
DAY =
|
8119
8157
|
T.let(
|
@@ -8140,8 +8178,7 @@ module Orb
|
|
8140
8178
|
extend Orb::Internal::Type::Enum
|
8141
8179
|
|
8142
8180
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::MatrixWithAllocationPrice::Cadence) }
|
8143
|
-
OrSymbol =
|
8144
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::MatrixWithAllocationPrice::Cadence::TaggedSymbol) }
|
8181
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
8145
8182
|
|
8146
8183
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::MatrixWithAllocationPrice::Cadence::TaggedSymbol)
|
8147
8184
|
MONTHLY = T.let(:monthly, Orb::Models::Price::MatrixWithAllocationPrice::Cadence::TaggedSymbol)
|
@@ -8204,14 +8241,7 @@ module Orb
|
|
8204
8241
|
|
8205
8242
|
TaggedSymbol =
|
8206
8243
|
T.type_alias { T.all(Symbol, Orb::Models::Price::MatrixWithAllocationPrice::InvoicingCycleConfiguration::DurationUnit) }
|
8207
|
-
OrSymbol =
|
8208
|
-
T.type_alias do
|
8209
|
-
T.any(
|
8210
|
-
Symbol,
|
8211
|
-
String,
|
8212
|
-
Orb::Models::Price::MatrixWithAllocationPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
8213
|
-
)
|
8214
|
-
end
|
8244
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
8215
8245
|
|
8216
8246
|
DAY =
|
8217
8247
|
T.let(
|
@@ -8279,8 +8309,16 @@ module Orb
|
|
8279
8309
|
)
|
8280
8310
|
.returns(T.attached_class)
|
8281
8311
|
end
|
8282
|
-
def self.new(
|
8283
|
-
|
8312
|
+
def self.new(
|
8313
|
+
# Allocation to be used to calculate the price
|
8314
|
+
allocation:,
|
8315
|
+
# Default per unit rate for any usage not bucketed into a specified matrix_value
|
8316
|
+
default_unit_amount:,
|
8317
|
+
# One or two event property values to evaluate matrix groups by
|
8318
|
+
dimensions:,
|
8319
|
+
# Matrix values for specified matrix grouping keys
|
8320
|
+
matrix_values:
|
8321
|
+
); end
|
8284
8322
|
sig do
|
8285
8323
|
override
|
8286
8324
|
.returns(
|
@@ -8311,8 +8349,14 @@ module Orb
|
|
8311
8349
|
unit_amount: String
|
8312
8350
|
).returns(T.attached_class)
|
8313
8351
|
end
|
8314
|
-
def self.new(
|
8315
|
-
|
8352
|
+
def self.new(
|
8353
|
+
# One or two matrix keys to filter usage to this Matrix value by. For example,
|
8354
|
+
# ["region", "tier"] could be used to filter cloud usage by a cloud region and an
|
8355
|
+
# instance tier.
|
8356
|
+
dimension_values:,
|
8357
|
+
# Unit price for the specified dimension_values
|
8358
|
+
unit_amount:
|
8359
|
+
); end
|
8316
8360
|
sig { override.returns({dimension_values: T::Array[T.nilable(String)], unit_amount: String}) }
|
8317
8361
|
def to_hash; end
|
8318
8362
|
end
|
@@ -8331,8 +8375,13 @@ module Orb
|
|
8331
8375
|
sig do
|
8332
8376
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
8333
8377
|
end
|
8334
|
-
def self.new(
|
8335
|
-
|
8378
|
+
def self.new(
|
8379
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
8380
|
+
# maximums, this can be a subset of prices.
|
8381
|
+
applies_to_price_ids:,
|
8382
|
+
# Maximum amount applied
|
8383
|
+
maximum_amount:
|
8384
|
+
); end
|
8336
8385
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
8337
8386
|
def to_hash; end
|
8338
8387
|
end
|
@@ -8350,8 +8399,13 @@ module Orb
|
|
8350
8399
|
sig do
|
8351
8400
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
8352
8401
|
end
|
8353
|
-
def self.new(
|
8354
|
-
|
8402
|
+
def self.new(
|
8403
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
8404
|
+
# minimums, this can be a subset of prices.
|
8405
|
+
applies_to_price_ids:,
|
8406
|
+
# Minimum amount applied
|
8407
|
+
minimum_amount:
|
8408
|
+
); end
|
8355
8409
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
8356
8410
|
def to_hash; end
|
8357
8411
|
end
|
@@ -8360,8 +8414,7 @@ module Orb
|
|
8360
8414
|
extend Orb::Internal::Type::Enum
|
8361
8415
|
|
8362
8416
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::MatrixWithAllocationPrice::PriceType) }
|
8363
|
-
OrSymbol =
|
8364
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::MatrixWithAllocationPrice::PriceType::TaggedSymbol) }
|
8417
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
8365
8418
|
|
8366
8419
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::MatrixWithAllocationPrice::PriceType::TaggedSymbol)
|
8367
8420
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::MatrixWithAllocationPrice::PriceType::TaggedSymbol)
|
@@ -8598,6 +8651,10 @@ module Orb
|
|
8598
8651
|
item:,
|
8599
8652
|
maximum:,
|
8600
8653
|
maximum_amount:,
|
8654
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
8655
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
8656
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
8657
|
+
# `null`.
|
8601
8658
|
metadata:,
|
8602
8659
|
minimum:,
|
8603
8660
|
minimum_amount:,
|
@@ -8695,14 +8752,7 @@ module Orb
|
|
8695
8752
|
|
8696
8753
|
TaggedSymbol =
|
8697
8754
|
T.type_alias { T.all(Symbol, Orb::Models::Price::TieredWithProrationPrice::BillingCycleConfiguration::DurationUnit) }
|
8698
|
-
OrSymbol =
|
8699
|
-
T.type_alias do
|
8700
|
-
T.any(
|
8701
|
-
Symbol,
|
8702
|
-
String,
|
8703
|
-
Orb::Models::Price::TieredWithProrationPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
8704
|
-
)
|
8705
|
-
end
|
8755
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
8706
8756
|
|
8707
8757
|
DAY =
|
8708
8758
|
T.let(
|
@@ -8729,8 +8779,7 @@ module Orb
|
|
8729
8779
|
extend Orb::Internal::Type::Enum
|
8730
8780
|
|
8731
8781
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::TieredWithProrationPrice::Cadence) }
|
8732
|
-
OrSymbol =
|
8733
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::TieredWithProrationPrice::Cadence::TaggedSymbol) }
|
8782
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
8734
8783
|
|
8735
8784
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::TieredWithProrationPrice::Cadence::TaggedSymbol)
|
8736
8785
|
MONTHLY = T.let(:monthly, Orb::Models::Price::TieredWithProrationPrice::Cadence::TaggedSymbol)
|
@@ -8793,14 +8842,7 @@ module Orb
|
|
8793
8842
|
|
8794
8843
|
TaggedSymbol =
|
8795
8844
|
T.type_alias { T.all(Symbol, Orb::Models::Price::TieredWithProrationPrice::InvoicingCycleConfiguration::DurationUnit) }
|
8796
|
-
OrSymbol =
|
8797
|
-
T.type_alias do
|
8798
|
-
T.any(
|
8799
|
-
Symbol,
|
8800
|
-
String,
|
8801
|
-
Orb::Models::Price::TieredWithProrationPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
8802
|
-
)
|
8803
|
-
end
|
8845
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
8804
8846
|
|
8805
8847
|
DAY =
|
8806
8848
|
T.let(
|
@@ -8850,8 +8892,13 @@ module Orb
|
|
8850
8892
|
sig do
|
8851
8893
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
8852
8894
|
end
|
8853
|
-
def self.new(
|
8854
|
-
|
8895
|
+
def self.new(
|
8896
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
8897
|
+
# maximums, this can be a subset of prices.
|
8898
|
+
applies_to_price_ids:,
|
8899
|
+
# Maximum amount applied
|
8900
|
+
maximum_amount:
|
8901
|
+
); end
|
8855
8902
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
8856
8903
|
def to_hash; end
|
8857
8904
|
end
|
@@ -8869,8 +8916,13 @@ module Orb
|
|
8869
8916
|
sig do
|
8870
8917
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
8871
8918
|
end
|
8872
|
-
def self.new(
|
8873
|
-
|
8919
|
+
def self.new(
|
8920
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
8921
|
+
# minimums, this can be a subset of prices.
|
8922
|
+
applies_to_price_ids:,
|
8923
|
+
# Minimum amount applied
|
8924
|
+
minimum_amount:
|
8925
|
+
); end
|
8874
8926
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
8875
8927
|
def to_hash; end
|
8876
8928
|
end
|
@@ -8879,8 +8931,7 @@ module Orb
|
|
8879
8931
|
extend Orb::Internal::Type::Enum
|
8880
8932
|
|
8881
8933
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::TieredWithProrationPrice::PriceType) }
|
8882
|
-
OrSymbol =
|
8883
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::TieredWithProrationPrice::PriceType::TaggedSymbol) }
|
8934
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
8884
8935
|
|
8885
8936
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::TieredWithProrationPrice::PriceType::TaggedSymbol)
|
8886
8937
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::TieredWithProrationPrice::PriceType::TaggedSymbol)
|
@@ -9117,6 +9168,10 @@ module Orb
|
|
9117
9168
|
item:,
|
9118
9169
|
maximum:,
|
9119
9170
|
maximum_amount:,
|
9171
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
9172
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
9173
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
9174
|
+
# `null`.
|
9120
9175
|
metadata:,
|
9121
9176
|
minimum:,
|
9122
9177
|
minimum_amount:,
|
@@ -9210,14 +9265,7 @@ module Orb
|
|
9210
9265
|
|
9211
9266
|
TaggedSymbol =
|
9212
9267
|
T.type_alias { T.all(Symbol, Orb::Models::Price::UnitWithProrationPrice::BillingCycleConfiguration::DurationUnit) }
|
9213
|
-
OrSymbol =
|
9214
|
-
T.type_alias do
|
9215
|
-
T.any(
|
9216
|
-
Symbol,
|
9217
|
-
String,
|
9218
|
-
Orb::Models::Price::UnitWithProrationPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
9219
|
-
)
|
9220
|
-
end
|
9268
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
9221
9269
|
|
9222
9270
|
DAY =
|
9223
9271
|
T.let(
|
@@ -9244,8 +9292,7 @@ module Orb
|
|
9244
9292
|
extend Orb::Internal::Type::Enum
|
9245
9293
|
|
9246
9294
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::UnitWithProrationPrice::Cadence) }
|
9247
|
-
OrSymbol =
|
9248
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::UnitWithProrationPrice::Cadence::TaggedSymbol) }
|
9295
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
9249
9296
|
|
9250
9297
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::UnitWithProrationPrice::Cadence::TaggedSymbol)
|
9251
9298
|
MONTHLY = T.let(:monthly, Orb::Models::Price::UnitWithProrationPrice::Cadence::TaggedSymbol)
|
@@ -9308,14 +9355,7 @@ module Orb
|
|
9308
9355
|
|
9309
9356
|
TaggedSymbol =
|
9310
9357
|
T.type_alias { T.all(Symbol, Orb::Models::Price::UnitWithProrationPrice::InvoicingCycleConfiguration::DurationUnit) }
|
9311
|
-
OrSymbol =
|
9312
|
-
T.type_alias do
|
9313
|
-
T.any(
|
9314
|
-
Symbol,
|
9315
|
-
String,
|
9316
|
-
Orb::Models::Price::UnitWithProrationPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
9317
|
-
)
|
9318
|
-
end
|
9358
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
9319
9359
|
|
9320
9360
|
DAY =
|
9321
9361
|
T.let(
|
@@ -9365,8 +9405,13 @@ module Orb
|
|
9365
9405
|
sig do
|
9366
9406
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
9367
9407
|
end
|
9368
|
-
def self.new(
|
9369
|
-
|
9408
|
+
def self.new(
|
9409
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
9410
|
+
# maximums, this can be a subset of prices.
|
9411
|
+
applies_to_price_ids:,
|
9412
|
+
# Maximum amount applied
|
9413
|
+
maximum_amount:
|
9414
|
+
); end
|
9370
9415
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
9371
9416
|
def to_hash; end
|
9372
9417
|
end
|
@@ -9384,8 +9429,13 @@ module Orb
|
|
9384
9429
|
sig do
|
9385
9430
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
9386
9431
|
end
|
9387
|
-
def self.new(
|
9388
|
-
|
9432
|
+
def self.new(
|
9433
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
9434
|
+
# minimums, this can be a subset of prices.
|
9435
|
+
applies_to_price_ids:,
|
9436
|
+
# Minimum amount applied
|
9437
|
+
minimum_amount:
|
9438
|
+
); end
|
9389
9439
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
9390
9440
|
def to_hash; end
|
9391
9441
|
end
|
@@ -9394,8 +9444,7 @@ module Orb
|
|
9394
9444
|
extend Orb::Internal::Type::Enum
|
9395
9445
|
|
9396
9446
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::UnitWithProrationPrice::PriceType) }
|
9397
|
-
OrSymbol =
|
9398
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::UnitWithProrationPrice::PriceType::TaggedSymbol) }
|
9447
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
9399
9448
|
|
9400
9449
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::UnitWithProrationPrice::PriceType::TaggedSymbol)
|
9401
9450
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::UnitWithProrationPrice::PriceType::TaggedSymbol)
|
@@ -9633,6 +9682,10 @@ module Orb
|
|
9633
9682
|
item:,
|
9634
9683
|
maximum:,
|
9635
9684
|
maximum_amount:,
|
9685
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
9686
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
9687
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
9688
|
+
# `null`.
|
9636
9689
|
metadata:,
|
9637
9690
|
minimum:,
|
9638
9691
|
minimum_amount:,
|
@@ -9725,14 +9778,7 @@ module Orb
|
|
9725
9778
|
|
9726
9779
|
TaggedSymbol =
|
9727
9780
|
T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedAllocationPrice::BillingCycleConfiguration::DurationUnit) }
|
9728
|
-
OrSymbol =
|
9729
|
-
T.type_alias do
|
9730
|
-
T.any(
|
9731
|
-
Symbol,
|
9732
|
-
String,
|
9733
|
-
Orb::Models::Price::GroupedAllocationPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
9734
|
-
)
|
9735
|
-
end
|
9781
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
9736
9782
|
|
9737
9783
|
DAY =
|
9738
9784
|
T.let(
|
@@ -9759,8 +9805,7 @@ module Orb
|
|
9759
9805
|
extend Orb::Internal::Type::Enum
|
9760
9806
|
|
9761
9807
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedAllocationPrice::Cadence) }
|
9762
|
-
OrSymbol =
|
9763
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::GroupedAllocationPrice::Cadence::TaggedSymbol) }
|
9808
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
9764
9809
|
|
9765
9810
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::GroupedAllocationPrice::Cadence::TaggedSymbol)
|
9766
9811
|
MONTHLY = T.let(:monthly, Orb::Models::Price::GroupedAllocationPrice::Cadence::TaggedSymbol)
|
@@ -9823,14 +9868,7 @@ module Orb
|
|
9823
9868
|
|
9824
9869
|
TaggedSymbol =
|
9825
9870
|
T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedAllocationPrice::InvoicingCycleConfiguration::DurationUnit) }
|
9826
|
-
OrSymbol =
|
9827
|
-
T.type_alias do
|
9828
|
-
T.any(
|
9829
|
-
Symbol,
|
9830
|
-
String,
|
9831
|
-
Orb::Models::Price::GroupedAllocationPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
9832
|
-
)
|
9833
|
-
end
|
9871
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
9834
9872
|
|
9835
9873
|
DAY =
|
9836
9874
|
T.let(
|
@@ -9880,8 +9918,13 @@ module Orb
|
|
9880
9918
|
sig do
|
9881
9919
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
9882
9920
|
end
|
9883
|
-
def self.new(
|
9884
|
-
|
9921
|
+
def self.new(
|
9922
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
9923
|
+
# maximums, this can be a subset of prices.
|
9924
|
+
applies_to_price_ids:,
|
9925
|
+
# Maximum amount applied
|
9926
|
+
maximum_amount:
|
9927
|
+
); end
|
9885
9928
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
9886
9929
|
def to_hash; end
|
9887
9930
|
end
|
@@ -9899,8 +9942,13 @@ module Orb
|
|
9899
9942
|
sig do
|
9900
9943
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
9901
9944
|
end
|
9902
|
-
def self.new(
|
9903
|
-
|
9945
|
+
def self.new(
|
9946
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
9947
|
+
# minimums, this can be a subset of prices.
|
9948
|
+
applies_to_price_ids:,
|
9949
|
+
# Minimum amount applied
|
9950
|
+
minimum_amount:
|
9951
|
+
); end
|
9904
9952
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
9905
9953
|
def to_hash; end
|
9906
9954
|
end
|
@@ -9909,8 +9957,7 @@ module Orb
|
|
9909
9957
|
extend Orb::Internal::Type::Enum
|
9910
9958
|
|
9911
9959
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedAllocationPrice::PriceType) }
|
9912
|
-
OrSymbol =
|
9913
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::GroupedAllocationPrice::PriceType::TaggedSymbol) }
|
9960
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
9914
9961
|
|
9915
9962
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::GroupedAllocationPrice::PriceType::TaggedSymbol)
|
9916
9963
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::GroupedAllocationPrice::PriceType::TaggedSymbol)
|
@@ -10176,6 +10223,10 @@ module Orb
|
|
10176
10223
|
item:,
|
10177
10224
|
maximum:,
|
10178
10225
|
maximum_amount:,
|
10226
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
10227
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
10228
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
10229
|
+
# `null`.
|
10179
10230
|
metadata:,
|
10180
10231
|
minimum:,
|
10181
10232
|
minimum_amount:,
|
@@ -10274,14 +10325,7 @@ module Orb
|
|
10274
10325
|
T.type_alias do
|
10275
10326
|
T.all(Symbol, Orb::Models::Price::GroupedWithProratedMinimumPrice::BillingCycleConfiguration::DurationUnit)
|
10276
10327
|
end
|
10277
|
-
OrSymbol =
|
10278
|
-
T.type_alias do
|
10279
|
-
T.any(
|
10280
|
-
Symbol,
|
10281
|
-
String,
|
10282
|
-
Orb::Models::Price::GroupedWithProratedMinimumPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
10283
|
-
)
|
10284
|
-
end
|
10328
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
10285
10329
|
|
10286
10330
|
DAY =
|
10287
10331
|
T.let(
|
@@ -10309,8 +10353,7 @@ module Orb
|
|
10309
10353
|
|
10310
10354
|
TaggedSymbol =
|
10311
10355
|
T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedWithProratedMinimumPrice::Cadence) }
|
10312
|
-
OrSymbol =
|
10313
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::GroupedWithProratedMinimumPrice::Cadence::TaggedSymbol) }
|
10356
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
10314
10357
|
|
10315
10358
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::GroupedWithProratedMinimumPrice::Cadence::TaggedSymbol)
|
10316
10359
|
MONTHLY = T.let(:monthly, Orb::Models::Price::GroupedWithProratedMinimumPrice::Cadence::TaggedSymbol)
|
@@ -10376,14 +10419,7 @@ module Orb
|
|
10376
10419
|
T.type_alias do
|
10377
10420
|
T.all(Symbol, Orb::Models::Price::GroupedWithProratedMinimumPrice::InvoicingCycleConfiguration::DurationUnit)
|
10378
10421
|
end
|
10379
|
-
OrSymbol =
|
10380
|
-
T.type_alias do
|
10381
|
-
T.any(
|
10382
|
-
Symbol,
|
10383
|
-
String,
|
10384
|
-
Orb::Models::Price::GroupedWithProratedMinimumPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
10385
|
-
)
|
10386
|
-
end
|
10422
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
10387
10423
|
|
10388
10424
|
DAY =
|
10389
10425
|
T.let(
|
@@ -10435,8 +10471,13 @@ module Orb
|
|
10435
10471
|
sig do
|
10436
10472
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
10437
10473
|
end
|
10438
|
-
def self.new(
|
10439
|
-
|
10474
|
+
def self.new(
|
10475
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
10476
|
+
# maximums, this can be a subset of prices.
|
10477
|
+
applies_to_price_ids:,
|
10478
|
+
# Maximum amount applied
|
10479
|
+
maximum_amount:
|
10480
|
+
); end
|
10440
10481
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
10441
10482
|
def to_hash; end
|
10442
10483
|
end
|
@@ -10454,8 +10495,13 @@ module Orb
|
|
10454
10495
|
sig do
|
10455
10496
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
10456
10497
|
end
|
10457
|
-
def self.new(
|
10458
|
-
|
10498
|
+
def self.new(
|
10499
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
10500
|
+
# minimums, this can be a subset of prices.
|
10501
|
+
applies_to_price_ids:,
|
10502
|
+
# Minimum amount applied
|
10503
|
+
minimum_amount:
|
10504
|
+
); end
|
10459
10505
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
10460
10506
|
def to_hash; end
|
10461
10507
|
end
|
@@ -10465,8 +10511,7 @@ module Orb
|
|
10465
10511
|
|
10466
10512
|
TaggedSymbol =
|
10467
10513
|
T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedWithProratedMinimumPrice::PriceType) }
|
10468
|
-
OrSymbol =
|
10469
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::GroupedWithProratedMinimumPrice::PriceType::TaggedSymbol) }
|
10514
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
10470
10515
|
|
10471
10516
|
USAGE_PRICE =
|
10472
10517
|
T.let(:usage_price, Orb::Models::Price::GroupedWithProratedMinimumPrice::PriceType::TaggedSymbol)
|
@@ -10732,6 +10777,10 @@ module Orb
|
|
10732
10777
|
item:,
|
10733
10778
|
maximum:,
|
10734
10779
|
maximum_amount:,
|
10780
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
10781
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
10782
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
10783
|
+
# `null`.
|
10735
10784
|
metadata:,
|
10736
10785
|
minimum:,
|
10737
10786
|
minimum_amount:,
|
@@ -10828,14 +10877,7 @@ module Orb
|
|
10828
10877
|
|
10829
10878
|
TaggedSymbol =
|
10830
10879
|
T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillingCycleConfiguration::DurationUnit) }
|
10831
|
-
OrSymbol =
|
10832
|
-
T.type_alias do
|
10833
|
-
T.any(
|
10834
|
-
Symbol,
|
10835
|
-
String,
|
10836
|
-
Orb::Models::Price::GroupedWithMeteredMinimumPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
10837
|
-
)
|
10838
|
-
end
|
10880
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
10839
10881
|
|
10840
10882
|
DAY =
|
10841
10883
|
T.let(
|
@@ -10863,8 +10905,7 @@ module Orb
|
|
10863
10905
|
|
10864
10906
|
TaggedSymbol =
|
10865
10907
|
T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedWithMeteredMinimumPrice::Cadence) }
|
10866
|
-
OrSymbol =
|
10867
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::GroupedWithMeteredMinimumPrice::Cadence::TaggedSymbol) }
|
10908
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
10868
10909
|
|
10869
10910
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::GroupedWithMeteredMinimumPrice::Cadence::TaggedSymbol)
|
10870
10911
|
MONTHLY = T.let(:monthly, Orb::Models::Price::GroupedWithMeteredMinimumPrice::Cadence::TaggedSymbol)
|
@@ -10930,14 +10971,7 @@ module Orb
|
|
10930
10971
|
T.type_alias do
|
10931
10972
|
T.all(Symbol, Orb::Models::Price::GroupedWithMeteredMinimumPrice::InvoicingCycleConfiguration::DurationUnit)
|
10932
10973
|
end
|
10933
|
-
OrSymbol =
|
10934
|
-
T.type_alias do
|
10935
|
-
T.any(
|
10936
|
-
Symbol,
|
10937
|
-
String,
|
10938
|
-
Orb::Models::Price::GroupedWithMeteredMinimumPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
10939
|
-
)
|
10940
|
-
end
|
10974
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
10941
10975
|
|
10942
10976
|
DAY =
|
10943
10977
|
T.let(
|
@@ -10989,8 +11023,13 @@ module Orb
|
|
10989
11023
|
sig do
|
10990
11024
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
10991
11025
|
end
|
10992
|
-
def self.new(
|
10993
|
-
|
11026
|
+
def self.new(
|
11027
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
11028
|
+
# maximums, this can be a subset of prices.
|
11029
|
+
applies_to_price_ids:,
|
11030
|
+
# Maximum amount applied
|
11031
|
+
maximum_amount:
|
11032
|
+
); end
|
10994
11033
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
10995
11034
|
def to_hash; end
|
10996
11035
|
end
|
@@ -11008,8 +11047,13 @@ module Orb
|
|
11008
11047
|
sig do
|
11009
11048
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
11010
11049
|
end
|
11011
|
-
def self.new(
|
11012
|
-
|
11050
|
+
def self.new(
|
11051
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
11052
|
+
# minimums, this can be a subset of prices.
|
11053
|
+
applies_to_price_ids:,
|
11054
|
+
# Minimum amount applied
|
11055
|
+
minimum_amount:
|
11056
|
+
); end
|
11013
11057
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
11014
11058
|
def to_hash; end
|
11015
11059
|
end
|
@@ -11019,8 +11063,7 @@ module Orb
|
|
11019
11063
|
|
11020
11064
|
TaggedSymbol =
|
11021
11065
|
T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedWithMeteredMinimumPrice::PriceType) }
|
11022
|
-
OrSymbol =
|
11023
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::GroupedWithMeteredMinimumPrice::PriceType::TaggedSymbol) }
|
11066
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
11024
11067
|
|
11025
11068
|
USAGE_PRICE =
|
11026
11069
|
T.let(:usage_price, Orb::Models::Price::GroupedWithMeteredMinimumPrice::PriceType::TaggedSymbol)
|
@@ -11266,6 +11309,10 @@ module Orb
|
|
11266
11309
|
matrix_with_display_name_config:,
|
11267
11310
|
maximum:,
|
11268
11311
|
maximum_amount:,
|
11312
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
11313
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
11314
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
11315
|
+
# `null`.
|
11269
11316
|
metadata:,
|
11270
11317
|
minimum:,
|
11271
11318
|
minimum_amount:,
|
@@ -11362,14 +11409,7 @@ module Orb
|
|
11362
11409
|
|
11363
11410
|
TaggedSymbol =
|
11364
11411
|
T.type_alias { T.all(Symbol, Orb::Models::Price::MatrixWithDisplayNamePrice::BillingCycleConfiguration::DurationUnit) }
|
11365
|
-
OrSymbol =
|
11366
|
-
T.type_alias do
|
11367
|
-
T.any(
|
11368
|
-
Symbol,
|
11369
|
-
String,
|
11370
|
-
Orb::Models::Price::MatrixWithDisplayNamePrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
11371
|
-
)
|
11372
|
-
end
|
11412
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
11373
11413
|
|
11374
11414
|
DAY =
|
11375
11415
|
T.let(
|
@@ -11396,8 +11436,7 @@ module Orb
|
|
11396
11436
|
extend Orb::Internal::Type::Enum
|
11397
11437
|
|
11398
11438
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::MatrixWithDisplayNamePrice::Cadence) }
|
11399
|
-
OrSymbol =
|
11400
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::MatrixWithDisplayNamePrice::Cadence::TaggedSymbol) }
|
11439
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
11401
11440
|
|
11402
11441
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::MatrixWithDisplayNamePrice::Cadence::TaggedSymbol)
|
11403
11442
|
MONTHLY = T.let(:monthly, Orb::Models::Price::MatrixWithDisplayNamePrice::Cadence::TaggedSymbol)
|
@@ -11460,14 +11499,7 @@ module Orb
|
|
11460
11499
|
|
11461
11500
|
TaggedSymbol =
|
11462
11501
|
T.type_alias { T.all(Symbol, Orb::Models::Price::MatrixWithDisplayNamePrice::InvoicingCycleConfiguration::DurationUnit) }
|
11463
|
-
OrSymbol =
|
11464
|
-
T.type_alias do
|
11465
|
-
T.any(
|
11466
|
-
Symbol,
|
11467
|
-
String,
|
11468
|
-
Orb::Models::Price::MatrixWithDisplayNamePrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
11469
|
-
)
|
11470
|
-
end
|
11502
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
11471
11503
|
|
11472
11504
|
DAY =
|
11473
11505
|
T.let(
|
@@ -11517,8 +11549,13 @@ module Orb
|
|
11517
11549
|
sig do
|
11518
11550
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
11519
11551
|
end
|
11520
|
-
def self.new(
|
11521
|
-
|
11552
|
+
def self.new(
|
11553
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
11554
|
+
# maximums, this can be a subset of prices.
|
11555
|
+
applies_to_price_ids:,
|
11556
|
+
# Maximum amount applied
|
11557
|
+
maximum_amount:
|
11558
|
+
); end
|
11522
11559
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
11523
11560
|
def to_hash; end
|
11524
11561
|
end
|
@@ -11536,8 +11573,13 @@ module Orb
|
|
11536
11573
|
sig do
|
11537
11574
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
11538
11575
|
end
|
11539
|
-
def self.new(
|
11540
|
-
|
11576
|
+
def self.new(
|
11577
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
11578
|
+
# minimums, this can be a subset of prices.
|
11579
|
+
applies_to_price_ids:,
|
11580
|
+
# Minimum amount applied
|
11581
|
+
minimum_amount:
|
11582
|
+
); end
|
11541
11583
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
11542
11584
|
def to_hash; end
|
11543
11585
|
end
|
@@ -11546,8 +11588,7 @@ module Orb
|
|
11546
11588
|
extend Orb::Internal::Type::Enum
|
11547
11589
|
|
11548
11590
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::MatrixWithDisplayNamePrice::PriceType) }
|
11549
|
-
OrSymbol =
|
11550
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::MatrixWithDisplayNamePrice::PriceType::TaggedSymbol) }
|
11591
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
11551
11592
|
|
11552
11593
|
USAGE_PRICE =
|
11553
11594
|
T.let(:usage_price, Orb::Models::Price::MatrixWithDisplayNamePrice::PriceType::TaggedSymbol)
|
@@ -11787,6 +11828,10 @@ module Orb
|
|
11787
11828
|
item:,
|
11788
11829
|
maximum:,
|
11789
11830
|
maximum_amount:,
|
11831
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
11832
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
11833
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
11834
|
+
# `null`.
|
11790
11835
|
metadata:,
|
11791
11836
|
minimum:,
|
11792
11837
|
minimum_amount:,
|
@@ -11879,14 +11924,7 @@ module Orb
|
|
11879
11924
|
|
11880
11925
|
TaggedSymbol =
|
11881
11926
|
T.type_alias { T.all(Symbol, Orb::Models::Price::BulkWithProrationPrice::BillingCycleConfiguration::DurationUnit) }
|
11882
|
-
OrSymbol =
|
11883
|
-
T.type_alias do
|
11884
|
-
T.any(
|
11885
|
-
Symbol,
|
11886
|
-
String,
|
11887
|
-
Orb::Models::Price::BulkWithProrationPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
11888
|
-
)
|
11889
|
-
end
|
11927
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
11890
11928
|
|
11891
11929
|
DAY =
|
11892
11930
|
T.let(
|
@@ -11913,8 +11951,7 @@ module Orb
|
|
11913
11951
|
extend Orb::Internal::Type::Enum
|
11914
11952
|
|
11915
11953
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::BulkWithProrationPrice::Cadence) }
|
11916
|
-
OrSymbol =
|
11917
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::BulkWithProrationPrice::Cadence::TaggedSymbol) }
|
11954
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
11918
11955
|
|
11919
11956
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::BulkWithProrationPrice::Cadence::TaggedSymbol)
|
11920
11957
|
MONTHLY = T.let(:monthly, Orb::Models::Price::BulkWithProrationPrice::Cadence::TaggedSymbol)
|
@@ -11977,14 +12014,7 @@ module Orb
|
|
11977
12014
|
|
11978
12015
|
TaggedSymbol =
|
11979
12016
|
T.type_alias { T.all(Symbol, Orb::Models::Price::BulkWithProrationPrice::InvoicingCycleConfiguration::DurationUnit) }
|
11980
|
-
OrSymbol =
|
11981
|
-
T.type_alias do
|
11982
|
-
T.any(
|
11983
|
-
Symbol,
|
11984
|
-
String,
|
11985
|
-
Orb::Models::Price::BulkWithProrationPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
11986
|
-
)
|
11987
|
-
end
|
12017
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
11988
12018
|
|
11989
12019
|
DAY =
|
11990
12020
|
T.let(
|
@@ -12034,8 +12064,13 @@ module Orb
|
|
12034
12064
|
sig do
|
12035
12065
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
12036
12066
|
end
|
12037
|
-
def self.new(
|
12038
|
-
|
12067
|
+
def self.new(
|
12068
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
12069
|
+
# maximums, this can be a subset of prices.
|
12070
|
+
applies_to_price_ids:,
|
12071
|
+
# Maximum amount applied
|
12072
|
+
maximum_amount:
|
12073
|
+
); end
|
12039
12074
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
12040
12075
|
def to_hash; end
|
12041
12076
|
end
|
@@ -12053,8 +12088,13 @@ module Orb
|
|
12053
12088
|
sig do
|
12054
12089
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
12055
12090
|
end
|
12056
|
-
def self.new(
|
12057
|
-
|
12091
|
+
def self.new(
|
12092
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
12093
|
+
# minimums, this can be a subset of prices.
|
12094
|
+
applies_to_price_ids:,
|
12095
|
+
# Minimum amount applied
|
12096
|
+
minimum_amount:
|
12097
|
+
); end
|
12058
12098
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
12059
12099
|
def to_hash; end
|
12060
12100
|
end
|
@@ -12063,8 +12103,7 @@ module Orb
|
|
12063
12103
|
extend Orb::Internal::Type::Enum
|
12064
12104
|
|
12065
12105
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::BulkWithProrationPrice::PriceType) }
|
12066
|
-
OrSymbol =
|
12067
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::BulkWithProrationPrice::PriceType::TaggedSymbol) }
|
12106
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
12068
12107
|
|
12069
12108
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::BulkWithProrationPrice::PriceType::TaggedSymbol)
|
12070
12109
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::BulkWithProrationPrice::PriceType::TaggedSymbol)
|
@@ -12308,6 +12347,10 @@ module Orb
|
|
12308
12347
|
item:,
|
12309
12348
|
maximum:,
|
12310
12349
|
maximum_amount:,
|
12350
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
12351
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
12352
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
12353
|
+
# `null`.
|
12311
12354
|
metadata:,
|
12312
12355
|
minimum:,
|
12313
12356
|
minimum_amount:,
|
@@ -12404,14 +12447,7 @@ module Orb
|
|
12404
12447
|
|
12405
12448
|
TaggedSymbol =
|
12406
12449
|
T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedTieredPackagePrice::BillingCycleConfiguration::DurationUnit) }
|
12407
|
-
OrSymbol =
|
12408
|
-
T.type_alias do
|
12409
|
-
T.any(
|
12410
|
-
Symbol,
|
12411
|
-
String,
|
12412
|
-
Orb::Models::Price::GroupedTieredPackagePrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
12413
|
-
)
|
12414
|
-
end
|
12450
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
12415
12451
|
|
12416
12452
|
DAY =
|
12417
12453
|
T.let(
|
@@ -12438,8 +12474,7 @@ module Orb
|
|
12438
12474
|
extend Orb::Internal::Type::Enum
|
12439
12475
|
|
12440
12476
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedTieredPackagePrice::Cadence) }
|
12441
|
-
OrSymbol =
|
12442
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::GroupedTieredPackagePrice::Cadence::TaggedSymbol) }
|
12477
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
12443
12478
|
|
12444
12479
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::GroupedTieredPackagePrice::Cadence::TaggedSymbol)
|
12445
12480
|
MONTHLY = T.let(:monthly, Orb::Models::Price::GroupedTieredPackagePrice::Cadence::TaggedSymbol)
|
@@ -12502,14 +12537,7 @@ module Orb
|
|
12502
12537
|
|
12503
12538
|
TaggedSymbol =
|
12504
12539
|
T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedTieredPackagePrice::InvoicingCycleConfiguration::DurationUnit) }
|
12505
|
-
OrSymbol =
|
12506
|
-
T.type_alias do
|
12507
|
-
T.any(
|
12508
|
-
Symbol,
|
12509
|
-
String,
|
12510
|
-
Orb::Models::Price::GroupedTieredPackagePrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
12511
|
-
)
|
12512
|
-
end
|
12540
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
12513
12541
|
|
12514
12542
|
DAY =
|
12515
12543
|
T.let(
|
@@ -12559,8 +12587,13 @@ module Orb
|
|
12559
12587
|
sig do
|
12560
12588
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
12561
12589
|
end
|
12562
|
-
def self.new(
|
12563
|
-
|
12590
|
+
def self.new(
|
12591
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
12592
|
+
# maximums, this can be a subset of prices.
|
12593
|
+
applies_to_price_ids:,
|
12594
|
+
# Maximum amount applied
|
12595
|
+
maximum_amount:
|
12596
|
+
); end
|
12564
12597
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
12565
12598
|
def to_hash; end
|
12566
12599
|
end
|
@@ -12578,8 +12611,13 @@ module Orb
|
|
12578
12611
|
sig do
|
12579
12612
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
12580
12613
|
end
|
12581
|
-
def self.new(
|
12582
|
-
|
12614
|
+
def self.new(
|
12615
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
12616
|
+
# minimums, this can be a subset of prices.
|
12617
|
+
applies_to_price_ids:,
|
12618
|
+
# Minimum amount applied
|
12619
|
+
minimum_amount:
|
12620
|
+
); end
|
12583
12621
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
12584
12622
|
def to_hash; end
|
12585
12623
|
end
|
@@ -12588,8 +12626,7 @@ module Orb
|
|
12588
12626
|
extend Orb::Internal::Type::Enum
|
12589
12627
|
|
12590
12628
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::GroupedTieredPackagePrice::PriceType) }
|
12591
|
-
OrSymbol =
|
12592
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::GroupedTieredPackagePrice::PriceType::TaggedSymbol) }
|
12629
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
12593
12630
|
|
12594
12631
|
USAGE_PRICE = T.let(:usage_price, Orb::Models::Price::GroupedTieredPackagePrice::PriceType::TaggedSymbol)
|
12595
12632
|
FIXED_PRICE = T.let(:fixed_price, Orb::Models::Price::GroupedTieredPackagePrice::PriceType::TaggedSymbol)
|
@@ -12833,6 +12870,10 @@ module Orb
|
|
12833
12870
|
max_group_tiered_package_config:,
|
12834
12871
|
maximum:,
|
12835
12872
|
maximum_amount:,
|
12873
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
12874
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
12875
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
12876
|
+
# `null`.
|
12836
12877
|
metadata:,
|
12837
12878
|
minimum:,
|
12838
12879
|
minimum_amount:,
|
@@ -12929,14 +12970,7 @@ module Orb
|
|
12929
12970
|
|
12930
12971
|
TaggedSymbol =
|
12931
12972
|
T.type_alias { T.all(Symbol, Orb::Models::Price::MaxGroupTieredPackagePrice::BillingCycleConfiguration::DurationUnit) }
|
12932
|
-
OrSymbol =
|
12933
|
-
T.type_alias do
|
12934
|
-
T.any(
|
12935
|
-
Symbol,
|
12936
|
-
String,
|
12937
|
-
Orb::Models::Price::MaxGroupTieredPackagePrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
12938
|
-
)
|
12939
|
-
end
|
12973
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
12940
12974
|
|
12941
12975
|
DAY =
|
12942
12976
|
T.let(
|
@@ -12963,8 +12997,7 @@ module Orb
|
|
12963
12997
|
extend Orb::Internal::Type::Enum
|
12964
12998
|
|
12965
12999
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::MaxGroupTieredPackagePrice::Cadence) }
|
12966
|
-
OrSymbol =
|
12967
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::MaxGroupTieredPackagePrice::Cadence::TaggedSymbol) }
|
13000
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
12968
13001
|
|
12969
13002
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::MaxGroupTieredPackagePrice::Cadence::TaggedSymbol)
|
12970
13003
|
MONTHLY = T.let(:monthly, Orb::Models::Price::MaxGroupTieredPackagePrice::Cadence::TaggedSymbol)
|
@@ -13027,14 +13060,7 @@ module Orb
|
|
13027
13060
|
|
13028
13061
|
TaggedSymbol =
|
13029
13062
|
T.type_alias { T.all(Symbol, Orb::Models::Price::MaxGroupTieredPackagePrice::InvoicingCycleConfiguration::DurationUnit) }
|
13030
|
-
OrSymbol =
|
13031
|
-
T.type_alias do
|
13032
|
-
T.any(
|
13033
|
-
Symbol,
|
13034
|
-
String,
|
13035
|
-
Orb::Models::Price::MaxGroupTieredPackagePrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
13036
|
-
)
|
13037
|
-
end
|
13063
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
13038
13064
|
|
13039
13065
|
DAY =
|
13040
13066
|
T.let(
|
@@ -13084,8 +13110,13 @@ module Orb
|
|
13084
13110
|
sig do
|
13085
13111
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
13086
13112
|
end
|
13087
|
-
def self.new(
|
13088
|
-
|
13113
|
+
def self.new(
|
13114
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
13115
|
+
# maximums, this can be a subset of prices.
|
13116
|
+
applies_to_price_ids:,
|
13117
|
+
# Maximum amount applied
|
13118
|
+
maximum_amount:
|
13119
|
+
); end
|
13089
13120
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
13090
13121
|
def to_hash; end
|
13091
13122
|
end
|
@@ -13103,8 +13134,13 @@ module Orb
|
|
13103
13134
|
sig do
|
13104
13135
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
13105
13136
|
end
|
13106
|
-
def self.new(
|
13107
|
-
|
13137
|
+
def self.new(
|
13138
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
13139
|
+
# minimums, this can be a subset of prices.
|
13140
|
+
applies_to_price_ids:,
|
13141
|
+
# Minimum amount applied
|
13142
|
+
minimum_amount:
|
13143
|
+
); end
|
13108
13144
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
13109
13145
|
def to_hash; end
|
13110
13146
|
end
|
@@ -13113,8 +13149,7 @@ module Orb
|
|
13113
13149
|
extend Orb::Internal::Type::Enum
|
13114
13150
|
|
13115
13151
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::MaxGroupTieredPackagePrice::PriceType) }
|
13116
|
-
OrSymbol =
|
13117
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::MaxGroupTieredPackagePrice::PriceType::TaggedSymbol) }
|
13152
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
13118
13153
|
|
13119
13154
|
USAGE_PRICE =
|
13120
13155
|
T.let(:usage_price, Orb::Models::Price::MaxGroupTieredPackagePrice::PriceType::TaggedSymbol)
|
@@ -13382,6 +13417,10 @@ module Orb
|
|
13382
13417
|
item:,
|
13383
13418
|
maximum:,
|
13384
13419
|
maximum_amount:,
|
13420
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
13421
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
13422
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
13423
|
+
# `null`.
|
13385
13424
|
metadata:,
|
13386
13425
|
minimum:,
|
13387
13426
|
minimum_amount:,
|
@@ -13481,14 +13520,7 @@ module Orb
|
|
13481
13520
|
T.type_alias do
|
13482
13521
|
T.all(Symbol, Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillingCycleConfiguration::DurationUnit)
|
13483
13522
|
end
|
13484
|
-
OrSymbol =
|
13485
|
-
T.type_alias do
|
13486
|
-
T.any(
|
13487
|
-
Symbol,
|
13488
|
-
String,
|
13489
|
-
Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
13490
|
-
)
|
13491
|
-
end
|
13523
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
13492
13524
|
|
13493
13525
|
DAY =
|
13494
13526
|
T.let(
|
@@ -13518,8 +13550,7 @@ module Orb
|
|
13518
13550
|
|
13519
13551
|
TaggedSymbol =
|
13520
13552
|
T.type_alias { T.all(Symbol, Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Cadence) }
|
13521
|
-
OrSymbol =
|
13522
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Cadence::TaggedSymbol) }
|
13553
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
13523
13554
|
|
13524
13555
|
ONE_TIME =
|
13525
13556
|
T.let(:one_time, Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::Cadence::TaggedSymbol)
|
@@ -13587,14 +13618,7 @@ module Orb
|
|
13587
13618
|
T.type_alias do
|
13588
13619
|
T.all(Symbol, Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::InvoicingCycleConfiguration::DurationUnit)
|
13589
13620
|
end
|
13590
|
-
OrSymbol =
|
13591
|
-
T.type_alias do
|
13592
|
-
T.any(
|
13593
|
-
Symbol,
|
13594
|
-
String,
|
13595
|
-
Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
13596
|
-
)
|
13597
|
-
end
|
13621
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
13598
13622
|
|
13599
13623
|
DAY =
|
13600
13624
|
T.let(
|
@@ -13646,8 +13670,13 @@ module Orb
|
|
13646
13670
|
sig do
|
13647
13671
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
13648
13672
|
end
|
13649
|
-
def self.new(
|
13650
|
-
|
13673
|
+
def self.new(
|
13674
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
13675
|
+
# maximums, this can be a subset of prices.
|
13676
|
+
applies_to_price_ids:,
|
13677
|
+
# Maximum amount applied
|
13678
|
+
maximum_amount:
|
13679
|
+
); end
|
13651
13680
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
13652
13681
|
def to_hash; end
|
13653
13682
|
end
|
@@ -13665,8 +13694,13 @@ module Orb
|
|
13665
13694
|
sig do
|
13666
13695
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
13667
13696
|
end
|
13668
|
-
def self.new(
|
13669
|
-
|
13697
|
+
def self.new(
|
13698
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
13699
|
+
# minimums, this can be a subset of prices.
|
13700
|
+
applies_to_price_ids:,
|
13701
|
+
# Minimum amount applied
|
13702
|
+
minimum_amount:
|
13703
|
+
); end
|
13670
13704
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
13671
13705
|
def to_hash; end
|
13672
13706
|
end
|
@@ -13676,8 +13710,7 @@ module Orb
|
|
13676
13710
|
|
13677
13711
|
TaggedSymbol =
|
13678
13712
|
T.type_alias { T.all(Symbol, Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::PriceType) }
|
13679
|
-
OrSymbol =
|
13680
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::PriceType::TaggedSymbol) }
|
13713
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
13681
13714
|
|
13682
13715
|
USAGE_PRICE =
|
13683
13716
|
T.let(:usage_price, Orb::Models::Price::ScalableMatrixWithUnitPricingPrice::PriceType::TaggedSymbol)
|
@@ -13961,6 +13994,10 @@ module Orb
|
|
13961
13994
|
item:,
|
13962
13995
|
maximum:,
|
13963
13996
|
maximum_amount:,
|
13997
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
13998
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
13999
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
14000
|
+
# `null`.
|
13964
14001
|
metadata:,
|
13965
14002
|
minimum:,
|
13966
14003
|
minimum_amount:,
|
@@ -14060,14 +14097,7 @@ module Orb
|
|
14060
14097
|
T.type_alias do
|
14061
14098
|
T.all(Symbol, Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillingCycleConfiguration::DurationUnit)
|
14062
14099
|
end
|
14063
|
-
OrSymbol =
|
14064
|
-
T.type_alias do
|
14065
|
-
T.any(
|
14066
|
-
Symbol,
|
14067
|
-
String,
|
14068
|
-
Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
14069
|
-
)
|
14070
|
-
end
|
14100
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
14071
14101
|
|
14072
14102
|
DAY =
|
14073
14103
|
T.let(
|
@@ -14097,8 +14127,7 @@ module Orb
|
|
14097
14127
|
|
14098
14128
|
TaggedSymbol =
|
14099
14129
|
T.type_alias { T.all(Symbol, Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Cadence) }
|
14100
|
-
OrSymbol =
|
14101
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Cadence::TaggedSymbol) }
|
14130
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
14102
14131
|
|
14103
14132
|
ONE_TIME =
|
14104
14133
|
T.let(:one_time, Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::Cadence::TaggedSymbol)
|
@@ -14169,14 +14198,7 @@ module Orb
|
|
14169
14198
|
T.type_alias do
|
14170
14199
|
T.all(Symbol, Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::InvoicingCycleConfiguration::DurationUnit)
|
14171
14200
|
end
|
14172
|
-
OrSymbol =
|
14173
|
-
T.type_alias do
|
14174
|
-
T.any(
|
14175
|
-
Symbol,
|
14176
|
-
String,
|
14177
|
-
Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
14178
|
-
)
|
14179
|
-
end
|
14201
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
14180
14202
|
|
14181
14203
|
DAY =
|
14182
14204
|
T.let(
|
@@ -14228,8 +14250,13 @@ module Orb
|
|
14228
14250
|
sig do
|
14229
14251
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
14230
14252
|
end
|
14231
|
-
def self.new(
|
14232
|
-
|
14253
|
+
def self.new(
|
14254
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
14255
|
+
# maximums, this can be a subset of prices.
|
14256
|
+
applies_to_price_ids:,
|
14257
|
+
# Maximum amount applied
|
14258
|
+
maximum_amount:
|
14259
|
+
); end
|
14233
14260
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
14234
14261
|
def to_hash; end
|
14235
14262
|
end
|
@@ -14247,8 +14274,13 @@ module Orb
|
|
14247
14274
|
sig do
|
14248
14275
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
14249
14276
|
end
|
14250
|
-
def self.new(
|
14251
|
-
|
14277
|
+
def self.new(
|
14278
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
14279
|
+
# minimums, this can be a subset of prices.
|
14280
|
+
applies_to_price_ids:,
|
14281
|
+
# Minimum amount applied
|
14282
|
+
minimum_amount:
|
14283
|
+
); end
|
14252
14284
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
14253
14285
|
def to_hash; end
|
14254
14286
|
end
|
@@ -14258,8 +14290,7 @@ module Orb
|
|
14258
14290
|
|
14259
14291
|
TaggedSymbol =
|
14260
14292
|
T.type_alias { T.all(Symbol, Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::PriceType) }
|
14261
|
-
OrSymbol =
|
14262
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::PriceType::TaggedSymbol) }
|
14293
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
14263
14294
|
|
14264
14295
|
USAGE_PRICE =
|
14265
14296
|
T.let(:usage_price, Orb::Models::Price::ScalableMatrixWithTieredPricingPrice::PriceType::TaggedSymbol)
|
@@ -14508,6 +14539,10 @@ module Orb
|
|
14508
14539
|
item:,
|
14509
14540
|
maximum:,
|
14510
14541
|
maximum_amount:,
|
14542
|
+
# User specified key-value pairs for the resource. If not present, this defaults
|
14543
|
+
# to an empty dictionary. Individual keys can be removed by setting the value to
|
14544
|
+
# `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
14545
|
+
# `null`.
|
14511
14546
|
metadata:,
|
14512
14547
|
minimum:,
|
14513
14548
|
minimum_amount:,
|
@@ -14604,14 +14639,7 @@ module Orb
|
|
14604
14639
|
|
14605
14640
|
TaggedSymbol =
|
14606
14641
|
T.type_alias { T.all(Symbol, Orb::Models::Price::CumulativeGroupedBulkPrice::BillingCycleConfiguration::DurationUnit) }
|
14607
|
-
OrSymbol =
|
14608
|
-
T.type_alias do
|
14609
|
-
T.any(
|
14610
|
-
Symbol,
|
14611
|
-
String,
|
14612
|
-
Orb::Models::Price::CumulativeGroupedBulkPrice::BillingCycleConfiguration::DurationUnit::TaggedSymbol
|
14613
|
-
)
|
14614
|
-
end
|
14642
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
14615
14643
|
|
14616
14644
|
DAY =
|
14617
14645
|
T.let(
|
@@ -14638,8 +14666,7 @@ module Orb
|
|
14638
14666
|
extend Orb::Internal::Type::Enum
|
14639
14667
|
|
14640
14668
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::CumulativeGroupedBulkPrice::Cadence) }
|
14641
|
-
OrSymbol =
|
14642
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::CumulativeGroupedBulkPrice::Cadence::TaggedSymbol) }
|
14669
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
14643
14670
|
|
14644
14671
|
ONE_TIME = T.let(:one_time, Orb::Models::Price::CumulativeGroupedBulkPrice::Cadence::TaggedSymbol)
|
14645
14672
|
MONTHLY = T.let(:monthly, Orb::Models::Price::CumulativeGroupedBulkPrice::Cadence::TaggedSymbol)
|
@@ -14702,14 +14729,7 @@ module Orb
|
|
14702
14729
|
|
14703
14730
|
TaggedSymbol =
|
14704
14731
|
T.type_alias { T.all(Symbol, Orb::Models::Price::CumulativeGroupedBulkPrice::InvoicingCycleConfiguration::DurationUnit) }
|
14705
|
-
OrSymbol =
|
14706
|
-
T.type_alias do
|
14707
|
-
T.any(
|
14708
|
-
Symbol,
|
14709
|
-
String,
|
14710
|
-
Orb::Models::Price::CumulativeGroupedBulkPrice::InvoicingCycleConfiguration::DurationUnit::TaggedSymbol
|
14711
|
-
)
|
14712
|
-
end
|
14732
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
14713
14733
|
|
14714
14734
|
DAY =
|
14715
14735
|
T.let(
|
@@ -14759,8 +14779,13 @@ module Orb
|
|
14759
14779
|
sig do
|
14760
14780
|
params(applies_to_price_ids: T::Array[String], maximum_amount: String).returns(T.attached_class)
|
14761
14781
|
end
|
14762
|
-
def self.new(
|
14763
|
-
|
14782
|
+
def self.new(
|
14783
|
+
# List of price_ids that this maximum amount applies to. For plan/plan phase
|
14784
|
+
# maximums, this can be a subset of prices.
|
14785
|
+
applies_to_price_ids:,
|
14786
|
+
# Maximum amount applied
|
14787
|
+
maximum_amount:
|
14788
|
+
); end
|
14764
14789
|
sig { override.returns({applies_to_price_ids: T::Array[String], maximum_amount: String}) }
|
14765
14790
|
def to_hash; end
|
14766
14791
|
end
|
@@ -14778,8 +14803,13 @@ module Orb
|
|
14778
14803
|
sig do
|
14779
14804
|
params(applies_to_price_ids: T::Array[String], minimum_amount: String).returns(T.attached_class)
|
14780
14805
|
end
|
14781
|
-
def self.new(
|
14782
|
-
|
14806
|
+
def self.new(
|
14807
|
+
# List of price_ids that this minimum amount applies to. For plan/plan phase
|
14808
|
+
# minimums, this can be a subset of prices.
|
14809
|
+
applies_to_price_ids:,
|
14810
|
+
# Minimum amount applied
|
14811
|
+
minimum_amount:
|
14812
|
+
); end
|
14783
14813
|
sig { override.returns({applies_to_price_ids: T::Array[String], minimum_amount: String}) }
|
14784
14814
|
def to_hash; end
|
14785
14815
|
end
|
@@ -14788,8 +14818,7 @@ module Orb
|
|
14788
14818
|
extend Orb::Internal::Type::Enum
|
14789
14819
|
|
14790
14820
|
TaggedSymbol = T.type_alias { T.all(Symbol, Orb::Models::Price::CumulativeGroupedBulkPrice::PriceType) }
|
14791
|
-
OrSymbol =
|
14792
|
-
T.type_alias { T.any(Symbol, String, Orb::Models::Price::CumulativeGroupedBulkPrice::PriceType::TaggedSymbol) }
|
14821
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
14793
14822
|
|
14794
14823
|
USAGE_PRICE =
|
14795
14824
|
T.let(:usage_price, Orb::Models::Price::CumulativeGroupedBulkPrice::PriceType::TaggedSymbol)
|