orb-billing 1.53.0 → 1.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +1 -1
- data/lib/orb/models/plans/migration_cancel_response.rb +19 -1
- data/lib/orb/models/plans/migration_list_response.rb +19 -1
- data/lib/orb/models/plans/migration_retrieve_response.rb +19 -1
- data/lib/orb/models/subscription_create_params.rb +18 -2
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +18 -2
- data/lib/orb/version.rb +1 -1
- data/rbi/orb/models/plans/migration_cancel_response.rbi +20 -0
- data/rbi/orb/models/plans/migration_list_response.rbi +20 -0
- data/rbi/orb/models/plans/migration_retrieve_response.rbi +20 -0
- data/rbi/orb/models/subscription_create_params.rbi +16 -0
- data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +16 -0
- data/sig/orb/models/plans/migration_cancel_response.rbs +10 -0
- data/sig/orb/models/plans/migration_list_response.rbs +10 -0
- data/sig/orb/models/plans/migration_retrieve_response.rbs +10 -0
- data/sig/orb/models/subscription_create_params.rbs +19 -2
- data/sig/orb/models/subscription_schedule_plan_change_params.rbs +19 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99fdf468dc06b64b4fa219b5c118aece61cb9bf7d16d04815e1b0c230512f0c9
|
|
4
|
+
data.tar.gz: 7f93d9f201c438f84e17c7f0e0f28ca52a0b50392acaea339803c5ebf7088b8a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2594f9dcd46317cd9121047b0b8fd27745ad69db9bee68e4b59b17d28c328414274109b1dd332b52d686289266fb4db6a5e9dbdea812646ffb85de87ddab28a9
|
|
7
|
+
data.tar.gz: a8758963dd4525858f1b8227e60c4b89286b9016ba761d99b4b90eeb2a899642549977be871c0cd70aef87193eeacafd522e4c935c5eff5a27b396dd8dea381a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.54.0](https://github.com/orbcorp/orb-ruby/compare/v1.53.0...v1.54.0) (2026-11-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **api:** add plan migration started, completed, and canceled webhooks ([9616c3b](https://github.com/orbcorp/orb-ruby/commit/9616c3be737b19de232b98199cba7f4c8a02d893))
|
|
9
|
+
* **api:** add started_at and ended_at to plan migration resource ([9616c3b](https://github.com/orbcorp/orb-ruby/commit/9616c3be737b19de232b98199cba7f4c8a02d893))
|
|
10
|
+
* **api:** api update ([9616c3b](https://github.com/orbcorp/orb-ruby/commit/9616c3be737b19de232b98199cba7f4c8a02d893))
|
|
11
|
+
|
|
3
12
|
## [1.53.0](https://github.com/orbcorp/orb-ruby/compare/v1.52.0...v1.53.0) (2026-11-04)
|
|
4
13
|
|
|
5
14
|
|
data/README.md
CHANGED
|
@@ -21,12 +21,26 @@ module Orb
|
|
|
21
21
|
union: -> { Orb::Models::Plans::MigrationCancelResponse::EffectiveTime },
|
|
22
22
|
nil?: true
|
|
23
23
|
|
|
24
|
+
# @!attribute ended_at
|
|
25
|
+
# When the migration completed or was canceled, or null if it is still in
|
|
26
|
+
# progress.
|
|
27
|
+
#
|
|
28
|
+
# @return [Time, nil]
|
|
29
|
+
required :ended_at, Time, nil?: true
|
|
30
|
+
|
|
24
31
|
# @!attribute plan_id
|
|
25
32
|
# The ID of the plan being migrated.
|
|
26
33
|
#
|
|
27
34
|
# @return [String]
|
|
28
35
|
required :plan_id, String
|
|
29
36
|
|
|
37
|
+
# @!attribute started_at
|
|
38
|
+
# When Orb began migrating the plan's subscriptions. Null if the migration has not
|
|
39
|
+
# begun, or was canceled before it began.
|
|
40
|
+
#
|
|
41
|
+
# @return [Time, nil]
|
|
42
|
+
required :started_at, Time, nil?: true
|
|
43
|
+
|
|
30
44
|
# @!attribute status
|
|
31
45
|
# Current status of the migration: 'not_started', 'in_progress', 'completed',
|
|
32
46
|
# 'action_needed', or 'canceled'.
|
|
@@ -34,7 +48,7 @@ module Orb
|
|
|
34
48
|
# @return [Symbol, Orb::Models::Plans::MigrationCancelResponse::Status]
|
|
35
49
|
required :status, enum: -> { Orb::Models::Plans::MigrationCancelResponse::Status }
|
|
36
50
|
|
|
37
|
-
# @!method initialize(id:, effective_time:, plan_id:, status:)
|
|
51
|
+
# @!method initialize(id:, effective_time:, ended_at:, plan_id:, started_at:, status:)
|
|
38
52
|
# Some parameter documentations has been truncated, see
|
|
39
53
|
# {Orb::Models::Plans::MigrationCancelResponse} for more details.
|
|
40
54
|
#
|
|
@@ -42,8 +56,12 @@ module Orb
|
|
|
42
56
|
#
|
|
43
57
|
# @param effective_time [Date, Time, Symbol, Orb::Models::Plans::MigrationCancelResponse::EffectiveTime, nil] When the migration takes effect. Can be a specific date/time, 'end_of_term' when
|
|
44
58
|
#
|
|
59
|
+
# @param ended_at [Time, nil] When the migration completed or was canceled, or null if it is still in progress
|
|
60
|
+
#
|
|
45
61
|
# @param plan_id [String] The ID of the plan being migrated.
|
|
46
62
|
#
|
|
63
|
+
# @param started_at [Time, nil] When Orb began migrating the plan's subscriptions. Null if the migration has not
|
|
64
|
+
#
|
|
47
65
|
# @param status [Symbol, Orb::Models::Plans::MigrationCancelResponse::Status] Current status of the migration: 'not_started', 'in_progress', 'completed', 'act
|
|
48
66
|
|
|
49
67
|
# When the migration takes effect. Can be a specific date/time, 'end_of_term' when
|
|
@@ -21,12 +21,26 @@ module Orb
|
|
|
21
21
|
union: -> { Orb::Models::Plans::MigrationListResponse::EffectiveTime },
|
|
22
22
|
nil?: true
|
|
23
23
|
|
|
24
|
+
# @!attribute ended_at
|
|
25
|
+
# When the migration completed or was canceled, or null if it is still in
|
|
26
|
+
# progress.
|
|
27
|
+
#
|
|
28
|
+
# @return [Time, nil]
|
|
29
|
+
required :ended_at, Time, nil?: true
|
|
30
|
+
|
|
24
31
|
# @!attribute plan_id
|
|
25
32
|
# The ID of the plan being migrated.
|
|
26
33
|
#
|
|
27
34
|
# @return [String]
|
|
28
35
|
required :plan_id, String
|
|
29
36
|
|
|
37
|
+
# @!attribute started_at
|
|
38
|
+
# When Orb began migrating the plan's subscriptions. Null if the migration has not
|
|
39
|
+
# begun, or was canceled before it began.
|
|
40
|
+
#
|
|
41
|
+
# @return [Time, nil]
|
|
42
|
+
required :started_at, Time, nil?: true
|
|
43
|
+
|
|
30
44
|
# @!attribute status
|
|
31
45
|
# Current status of the migration: 'not_started', 'in_progress', 'completed',
|
|
32
46
|
# 'action_needed', or 'canceled'.
|
|
@@ -34,7 +48,7 @@ module Orb
|
|
|
34
48
|
# @return [Symbol, Orb::Models::Plans::MigrationListResponse::Status]
|
|
35
49
|
required :status, enum: -> { Orb::Models::Plans::MigrationListResponse::Status }
|
|
36
50
|
|
|
37
|
-
# @!method initialize(id:, effective_time:, plan_id:, status:)
|
|
51
|
+
# @!method initialize(id:, effective_time:, ended_at:, plan_id:, started_at:, status:)
|
|
38
52
|
# Some parameter documentations has been truncated, see
|
|
39
53
|
# {Orb::Models::Plans::MigrationListResponse} for more details.
|
|
40
54
|
#
|
|
@@ -42,8 +56,12 @@ module Orb
|
|
|
42
56
|
#
|
|
43
57
|
# @param effective_time [Date, Time, Symbol, Orb::Models::Plans::MigrationListResponse::EffectiveTime, nil] When the migration takes effect. Can be a specific date/time, 'end_of_term' when
|
|
44
58
|
#
|
|
59
|
+
# @param ended_at [Time, nil] When the migration completed or was canceled, or null if it is still in progress
|
|
60
|
+
#
|
|
45
61
|
# @param plan_id [String] The ID of the plan being migrated.
|
|
46
62
|
#
|
|
63
|
+
# @param started_at [Time, nil] When Orb began migrating the plan's subscriptions. Null if the migration has not
|
|
64
|
+
#
|
|
47
65
|
# @param status [Symbol, Orb::Models::Plans::MigrationListResponse::Status] Current status of the migration: 'not_started', 'in_progress', 'completed', 'act
|
|
48
66
|
|
|
49
67
|
# When the migration takes effect. Can be a specific date/time, 'end_of_term' when
|
|
@@ -21,12 +21,26 @@ module Orb
|
|
|
21
21
|
union: -> { Orb::Models::Plans::MigrationRetrieveResponse::EffectiveTime },
|
|
22
22
|
nil?: true
|
|
23
23
|
|
|
24
|
+
# @!attribute ended_at
|
|
25
|
+
# When the migration completed or was canceled, or null if it is still in
|
|
26
|
+
# progress.
|
|
27
|
+
#
|
|
28
|
+
# @return [Time, nil]
|
|
29
|
+
required :ended_at, Time, nil?: true
|
|
30
|
+
|
|
24
31
|
# @!attribute plan_id
|
|
25
32
|
# The ID of the plan being migrated.
|
|
26
33
|
#
|
|
27
34
|
# @return [String]
|
|
28
35
|
required :plan_id, String
|
|
29
36
|
|
|
37
|
+
# @!attribute started_at
|
|
38
|
+
# When Orb began migrating the plan's subscriptions. Null if the migration has not
|
|
39
|
+
# begun, or was canceled before it began.
|
|
40
|
+
#
|
|
41
|
+
# @return [Time, nil]
|
|
42
|
+
required :started_at, Time, nil?: true
|
|
43
|
+
|
|
30
44
|
# @!attribute status
|
|
31
45
|
# Current status of the migration: 'not_started', 'in_progress', 'completed',
|
|
32
46
|
# 'action_needed', or 'canceled'.
|
|
@@ -34,7 +48,7 @@ module Orb
|
|
|
34
48
|
# @return [Symbol, Orb::Models::Plans::MigrationRetrieveResponse::Status]
|
|
35
49
|
required :status, enum: -> { Orb::Models::Plans::MigrationRetrieveResponse::Status }
|
|
36
50
|
|
|
37
|
-
# @!method initialize(id:, effective_time:, plan_id:, status:)
|
|
51
|
+
# @!method initialize(id:, effective_time:, ended_at:, plan_id:, started_at:, status:)
|
|
38
52
|
# Some parameter documentations has been truncated, see
|
|
39
53
|
# {Orb::Models::Plans::MigrationRetrieveResponse} for more details.
|
|
40
54
|
#
|
|
@@ -42,8 +56,12 @@ module Orb
|
|
|
42
56
|
#
|
|
43
57
|
# @param effective_time [Date, Time, Symbol, Orb::Models::Plans::MigrationRetrieveResponse::EffectiveTime, nil] When the migration takes effect. Can be a specific date/time, 'end_of_term' when
|
|
44
58
|
#
|
|
59
|
+
# @param ended_at [Time, nil] When the migration completed or was canceled, or null if it is still in progress
|
|
60
|
+
#
|
|
45
61
|
# @param plan_id [String] The ID of the plan being migrated.
|
|
46
62
|
#
|
|
63
|
+
# @param started_at [Time, nil] When Orb began migrating the plan's subscriptions. Null if the migration has not
|
|
64
|
+
#
|
|
47
65
|
# @param status [Symbol, Orb::Models::Plans::MigrationRetrieveResponse::Status] Current status of the migration: 'not_started', 'in_progress', 'completed', 'act
|
|
48
66
|
|
|
49
67
|
# When the migration takes effect. Can be a specific date/time, 'end_of_term' when
|
|
@@ -3654,15 +3654,23 @@ module Orb
|
|
|
3654
3654
|
# @return [String, nil]
|
|
3655
3655
|
optional :external_price_id, String, nil?: true
|
|
3656
3656
|
|
|
3657
|
+
# @!attribute plan_phase_order
|
|
3658
|
+
# The phase to remove this price from.
|
|
3659
|
+
#
|
|
3660
|
+
# @return [Integer, nil]
|
|
3661
|
+
optional :plan_phase_order, Integer, nil?: true
|
|
3662
|
+
|
|
3657
3663
|
# @!attribute price_id
|
|
3658
3664
|
# The id of the price to remove on the subscription.
|
|
3659
3665
|
#
|
|
3660
3666
|
# @return [String, nil]
|
|
3661
3667
|
optional :price_id, String, nil?: true
|
|
3662
3668
|
|
|
3663
|
-
# @!method initialize(external_price_id: nil, price_id: nil)
|
|
3669
|
+
# @!method initialize(external_price_id: nil, plan_phase_order: nil, price_id: nil)
|
|
3664
3670
|
# @param external_price_id [String, nil] The external price id of the price to remove on the subscription.
|
|
3665
3671
|
#
|
|
3672
|
+
# @param plan_phase_order [Integer, nil] The phase to remove this price from.
|
|
3673
|
+
#
|
|
3666
3674
|
# @param price_id [String, nil] The id of the price to remove on the subscription.
|
|
3667
3675
|
end
|
|
3668
3676
|
|
|
@@ -3975,6 +3983,12 @@ module Orb
|
|
|
3975
3983
|
# @return [String, nil]
|
|
3976
3984
|
optional :minimum_amount, String, nil?: true
|
|
3977
3985
|
|
|
3986
|
+
# @!attribute plan_phase_order
|
|
3987
|
+
# The phase to replace this price in.
|
|
3988
|
+
#
|
|
3989
|
+
# @return [Integer, nil]
|
|
3990
|
+
optional :plan_phase_order, Integer, nil?: true
|
|
3991
|
+
|
|
3978
3992
|
# @!attribute price
|
|
3979
3993
|
# New subscription price request body params.
|
|
3980
3994
|
#
|
|
@@ -3987,7 +4001,7 @@ module Orb
|
|
|
3987
4001
|
# @return [String, nil]
|
|
3988
4002
|
optional :price_id, String, nil?: true
|
|
3989
4003
|
|
|
3990
|
-
# @!method initialize(replaces_price_id:, allocation_price: nil, discounts: nil, external_price_id: nil, fixed_price_quantity: nil, maximum_amount: nil, metric_parameter_overrides: nil, minimum_amount: nil, price: nil, price_id: nil)
|
|
4004
|
+
# @!method initialize(replaces_price_id:, allocation_price: nil, discounts: nil, external_price_id: nil, fixed_price_quantity: nil, maximum_amount: nil, metric_parameter_overrides: nil, minimum_amount: nil, plan_phase_order: nil, price: nil, price_id: nil)
|
|
3991
4005
|
# Some parameter documentations has been truncated, see
|
|
3992
4006
|
# {Orb::Models::SubscriptionCreateParams::ReplacePrice} for more details.
|
|
3993
4007
|
#
|
|
@@ -4007,6 +4021,8 @@ module Orb
|
|
|
4007
4021
|
#
|
|
4008
4022
|
# @param minimum_amount [String, nil] [DEPRECATED] Use add_adjustments instead. The subscription's minimum amount for
|
|
4009
4023
|
#
|
|
4024
|
+
# @param plan_phase_order [Integer, nil] The phase to replace this price in.
|
|
4025
|
+
#
|
|
4010
4026
|
# @param price [Orb::Models::NewSubscriptionUnitPrice, Orb::Models::NewSubscriptionTieredPrice, Orb::Models::NewSubscriptionBulkPrice, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::BulkWithFilters, Orb::Models::NewSubscriptionPackagePrice, Orb::Models::NewSubscriptionMatrixPrice, Orb::Models::NewSubscriptionThresholdTotalAmountPrice, Orb::Models::NewSubscriptionTieredPackagePrice, Orb::Models::NewSubscriptionTieredWithMinimumPrice, Orb::Models::NewSubscriptionGroupedTieredPrice, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::GroupedTieredMatrix, Orb::Models::NewSubscriptionTieredPackageWithMinimumPrice, Orb::Models::NewSubscriptionPackageWithAllocationPrice, Orb::Models::NewSubscriptionUnitWithPercentPrice, Orb::Models::NewSubscriptionMatrixWithAllocationPrice, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::TieredMatrixWithAllocation, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::MatrixWithThresholdDiscounts, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::TieredWithProration, Orb::Models::NewSubscriptionUnitWithProrationPrice, Orb::Models::NewSubscriptionGroupedAllocationPrice, Orb::Models::NewSubscriptionBulkWithProrationPrice, Orb::Models::NewSubscriptionGroupedWithProratedMinimumPrice, Orb::Models::NewSubscriptionGroupedWithMeteredMinimumPrice, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithMinMaxThresholds, Orb::Models::NewSubscriptionMatrixWithDisplayNamePrice, Orb::Models::NewSubscriptionGroupedTieredPackagePrice, Orb::Models::NewSubscriptionMaxGroupTieredPackagePrice, Orb::Models::NewSubscriptionScalableMatrixWithUnitPricingPrice, Orb::Models::NewSubscriptionScalableMatrixWithTieredPricingPrice, Orb::Models::NewSubscriptionCumulativeGroupedBulkPrice, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::CumulativeGroupedAllocation, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::DailyCreditAllowance, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::MeteredAllowance, Orb::Models::NewSubscriptionMinimumCompositePrice, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::Percent, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::EventOutput, nil] New subscription price request body params.
|
|
4011
4027
|
#
|
|
4012
4028
|
# @param price_id [String, nil] The id of the price to add to the subscription.
|
|
@@ -3645,15 +3645,23 @@ module Orb
|
|
|
3645
3645
|
# @return [String, nil]
|
|
3646
3646
|
optional :external_price_id, String, nil?: true
|
|
3647
3647
|
|
|
3648
|
+
# @!attribute plan_phase_order
|
|
3649
|
+
# The phase to remove this price from.
|
|
3650
|
+
#
|
|
3651
|
+
# @return [Integer, nil]
|
|
3652
|
+
optional :plan_phase_order, Integer, nil?: true
|
|
3653
|
+
|
|
3648
3654
|
# @!attribute price_id
|
|
3649
3655
|
# The id of the price to remove on the subscription.
|
|
3650
3656
|
#
|
|
3651
3657
|
# @return [String, nil]
|
|
3652
3658
|
optional :price_id, String, nil?: true
|
|
3653
3659
|
|
|
3654
|
-
# @!method initialize(external_price_id: nil, price_id: nil)
|
|
3660
|
+
# @!method initialize(external_price_id: nil, plan_phase_order: nil, price_id: nil)
|
|
3655
3661
|
# @param external_price_id [String, nil] The external price id of the price to remove on the subscription.
|
|
3656
3662
|
#
|
|
3663
|
+
# @param plan_phase_order [Integer, nil] The phase to remove this price from.
|
|
3664
|
+
#
|
|
3657
3665
|
# @param price_id [String, nil] The id of the price to remove on the subscription.
|
|
3658
3666
|
end
|
|
3659
3667
|
|
|
@@ -3967,6 +3975,12 @@ module Orb
|
|
|
3967
3975
|
# @return [String, nil]
|
|
3968
3976
|
optional :minimum_amount, String, nil?: true
|
|
3969
3977
|
|
|
3978
|
+
# @!attribute plan_phase_order
|
|
3979
|
+
# The phase to replace this price in.
|
|
3980
|
+
#
|
|
3981
|
+
# @return [Integer, nil]
|
|
3982
|
+
optional :plan_phase_order, Integer, nil?: true
|
|
3983
|
+
|
|
3970
3984
|
# @!attribute price
|
|
3971
3985
|
# New subscription price request body params.
|
|
3972
3986
|
#
|
|
@@ -3983,7 +3997,7 @@ module Orb
|
|
|
3983
3997
|
# @return [String, nil]
|
|
3984
3998
|
optional :price_id, String, nil?: true
|
|
3985
3999
|
|
|
3986
|
-
# @!method initialize(replaces_price_id:, allocation_price: nil, discounts: nil, external_price_id: nil, fixed_price_quantity: nil, maximum_amount: nil, metric_parameter_overrides: nil, minimum_amount: nil, price: nil, price_id: nil)
|
|
4000
|
+
# @!method initialize(replaces_price_id:, allocation_price: nil, discounts: nil, external_price_id: nil, fixed_price_quantity: nil, maximum_amount: nil, metric_parameter_overrides: nil, minimum_amount: nil, plan_phase_order: nil, price: nil, price_id: nil)
|
|
3987
4001
|
# Some parameter documentations has been truncated, see
|
|
3988
4002
|
# {Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice} for more
|
|
3989
4003
|
# details.
|
|
@@ -4004,6 +4018,8 @@ module Orb
|
|
|
4004
4018
|
#
|
|
4005
4019
|
# @param minimum_amount [String, nil] [DEPRECATED] Use add_adjustments instead. The subscription's minimum amount for
|
|
4006
4020
|
#
|
|
4021
|
+
# @param plan_phase_order [Integer, nil] The phase to replace this price in.
|
|
4022
|
+
#
|
|
4007
4023
|
# @param price [Orb::Models::NewSubscriptionUnitPrice, Orb::Models::NewSubscriptionTieredPrice, Orb::Models::NewSubscriptionBulkPrice, Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkWithFilters, Orb::Models::NewSubscriptionPackagePrice, Orb::Models::NewSubscriptionMatrixPrice, Orb::Models::NewSubscriptionThresholdTotalAmountPrice, Orb::Models::NewSubscriptionTieredPackagePrice, Orb::Models::NewSubscriptionTieredWithMinimumPrice, Orb::Models::NewSubscriptionGroupedTieredPrice, Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedTieredMatrix, Orb::Models::NewSubscriptionTieredPackageWithMinimumPrice, Orb::Models::NewSubscriptionPackageWithAllocationPrice, Orb::Models::NewSubscriptionUnitWithPercentPrice, Orb::Models::NewSubscriptionMatrixWithAllocationPrice, Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredMatrixWithAllocation, Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MatrixWithThresholdDiscounts, Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredWithProration, Orb::Models::NewSubscriptionUnitWithProrationPrice, Orb::Models::NewSubscriptionGroupedAllocationPrice, Orb::Models::NewSubscriptionBulkWithProrationPrice, Orb::Models::NewSubscriptionGroupedWithProratedMinimumPrice, Orb::Models::NewSubscriptionGroupedWithMeteredMinimumPrice, Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedWithMinMaxThresholds, Orb::Models::NewSubscriptionMatrixWithDisplayNamePrice, Orb::Models::NewSubscriptionGroupedTieredPackagePrice, Orb::Models::NewSubscriptionMaxGroupTieredPackagePrice, Orb::Models::NewSubscriptionScalableMatrixWithUnitPricingPrice, Orb::Models::NewSubscriptionScalableMatrixWithTieredPricingPrice, Orb::Models::NewSubscriptionCumulativeGroupedBulkPrice, Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::CumulativeGroupedAllocation, Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::DailyCreditAllowance, Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MeteredAllowance, Orb::Models::NewSubscriptionMinimumCompositePrice, Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Percent, Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::EventOutput, nil] New subscription price request body params.
|
|
4008
4024
|
#
|
|
4009
4025
|
# @param price_id [String, nil] The id of the price to add to the subscription.
|
data/lib/orb/version.rb
CHANGED
|
@@ -28,10 +28,20 @@ module Orb
|
|
|
28
28
|
end
|
|
29
29
|
attr_accessor :effective_time
|
|
30
30
|
|
|
31
|
+
# When the migration completed or was canceled, or null if it is still in
|
|
32
|
+
# progress.
|
|
33
|
+
sig { returns(T.nilable(Time)) }
|
|
34
|
+
attr_accessor :ended_at
|
|
35
|
+
|
|
31
36
|
# The ID of the plan being migrated.
|
|
32
37
|
sig { returns(String) }
|
|
33
38
|
attr_accessor :plan_id
|
|
34
39
|
|
|
40
|
+
# When Orb began migrating the plan's subscriptions. Null if the migration has not
|
|
41
|
+
# begun, or was canceled before it began.
|
|
42
|
+
sig { returns(T.nilable(Time)) }
|
|
43
|
+
attr_accessor :started_at
|
|
44
|
+
|
|
35
45
|
# Current status of the migration: 'not_started', 'in_progress', 'completed',
|
|
36
46
|
# 'action_needed', or 'canceled'.
|
|
37
47
|
sig do
|
|
@@ -52,7 +62,9 @@ module Orb
|
|
|
52
62
|
Orb::Models::Plans::MigrationCancelResponse::EffectiveTime::OrSymbol
|
|
53
63
|
)
|
|
54
64
|
),
|
|
65
|
+
ended_at: T.nilable(Time),
|
|
55
66
|
plan_id: String,
|
|
67
|
+
started_at: T.nilable(Time),
|
|
56
68
|
status:
|
|
57
69
|
Orb::Models::Plans::MigrationCancelResponse::Status::OrSymbol
|
|
58
70
|
).returns(T.attached_class)
|
|
@@ -64,8 +76,14 @@ module Orb
|
|
|
64
76
|
# scheduled to be at the end of the current billing period, or 'end_of_invoice'
|
|
65
77
|
# when scheduled to be at the start of the next invoice.
|
|
66
78
|
effective_time:,
|
|
79
|
+
# When the migration completed or was canceled, or null if it is still in
|
|
80
|
+
# progress.
|
|
81
|
+
ended_at:,
|
|
67
82
|
# The ID of the plan being migrated.
|
|
68
83
|
plan_id:,
|
|
84
|
+
# When Orb began migrating the plan's subscriptions. Null if the migration has not
|
|
85
|
+
# begun, or was canceled before it began.
|
|
86
|
+
started_at:,
|
|
69
87
|
# Current status of the migration: 'not_started', 'in_progress', 'completed',
|
|
70
88
|
# 'action_needed', or 'canceled'.
|
|
71
89
|
status:
|
|
@@ -80,7 +98,9 @@ module Orb
|
|
|
80
98
|
T.nilable(
|
|
81
99
|
Orb::Models::Plans::MigrationCancelResponse::EffectiveTime::Variants
|
|
82
100
|
),
|
|
101
|
+
ended_at: T.nilable(Time),
|
|
83
102
|
plan_id: String,
|
|
103
|
+
started_at: T.nilable(Time),
|
|
84
104
|
status:
|
|
85
105
|
Orb::Models::Plans::MigrationCancelResponse::Status::TaggedSymbol
|
|
86
106
|
}
|
|
@@ -28,10 +28,20 @@ module Orb
|
|
|
28
28
|
end
|
|
29
29
|
attr_accessor :effective_time
|
|
30
30
|
|
|
31
|
+
# When the migration completed or was canceled, or null if it is still in
|
|
32
|
+
# progress.
|
|
33
|
+
sig { returns(T.nilable(Time)) }
|
|
34
|
+
attr_accessor :ended_at
|
|
35
|
+
|
|
31
36
|
# The ID of the plan being migrated.
|
|
32
37
|
sig { returns(String) }
|
|
33
38
|
attr_accessor :plan_id
|
|
34
39
|
|
|
40
|
+
# When Orb began migrating the plan's subscriptions. Null if the migration has not
|
|
41
|
+
# begun, or was canceled before it began.
|
|
42
|
+
sig { returns(T.nilable(Time)) }
|
|
43
|
+
attr_accessor :started_at
|
|
44
|
+
|
|
35
45
|
# Current status of the migration: 'not_started', 'in_progress', 'completed',
|
|
36
46
|
# 'action_needed', or 'canceled'.
|
|
37
47
|
sig do
|
|
@@ -52,7 +62,9 @@ module Orb
|
|
|
52
62
|
Orb::Models::Plans::MigrationListResponse::EffectiveTime::OrSymbol
|
|
53
63
|
)
|
|
54
64
|
),
|
|
65
|
+
ended_at: T.nilable(Time),
|
|
55
66
|
plan_id: String,
|
|
67
|
+
started_at: T.nilable(Time),
|
|
56
68
|
status: Orb::Models::Plans::MigrationListResponse::Status::OrSymbol
|
|
57
69
|
).returns(T.attached_class)
|
|
58
70
|
end
|
|
@@ -63,8 +75,14 @@ module Orb
|
|
|
63
75
|
# scheduled to be at the end of the current billing period, or 'end_of_invoice'
|
|
64
76
|
# when scheduled to be at the start of the next invoice.
|
|
65
77
|
effective_time:,
|
|
78
|
+
# When the migration completed or was canceled, or null if it is still in
|
|
79
|
+
# progress.
|
|
80
|
+
ended_at:,
|
|
66
81
|
# The ID of the plan being migrated.
|
|
67
82
|
plan_id:,
|
|
83
|
+
# When Orb began migrating the plan's subscriptions. Null if the migration has not
|
|
84
|
+
# begun, or was canceled before it began.
|
|
85
|
+
started_at:,
|
|
68
86
|
# Current status of the migration: 'not_started', 'in_progress', 'completed',
|
|
69
87
|
# 'action_needed', or 'canceled'.
|
|
70
88
|
status:
|
|
@@ -79,7 +97,9 @@ module Orb
|
|
|
79
97
|
T.nilable(
|
|
80
98
|
Orb::Models::Plans::MigrationListResponse::EffectiveTime::Variants
|
|
81
99
|
),
|
|
100
|
+
ended_at: T.nilable(Time),
|
|
82
101
|
plan_id: String,
|
|
102
|
+
started_at: T.nilable(Time),
|
|
83
103
|
status:
|
|
84
104
|
Orb::Models::Plans::MigrationListResponse::Status::TaggedSymbol
|
|
85
105
|
}
|
|
@@ -28,10 +28,20 @@ module Orb
|
|
|
28
28
|
end
|
|
29
29
|
attr_accessor :effective_time
|
|
30
30
|
|
|
31
|
+
# When the migration completed or was canceled, or null if it is still in
|
|
32
|
+
# progress.
|
|
33
|
+
sig { returns(T.nilable(Time)) }
|
|
34
|
+
attr_accessor :ended_at
|
|
35
|
+
|
|
31
36
|
# The ID of the plan being migrated.
|
|
32
37
|
sig { returns(String) }
|
|
33
38
|
attr_accessor :plan_id
|
|
34
39
|
|
|
40
|
+
# When Orb began migrating the plan's subscriptions. Null if the migration has not
|
|
41
|
+
# begun, or was canceled before it began.
|
|
42
|
+
sig { returns(T.nilable(Time)) }
|
|
43
|
+
attr_accessor :started_at
|
|
44
|
+
|
|
35
45
|
# Current status of the migration: 'not_started', 'in_progress', 'completed',
|
|
36
46
|
# 'action_needed', or 'canceled'.
|
|
37
47
|
sig do
|
|
@@ -52,7 +62,9 @@ module Orb
|
|
|
52
62
|
Orb::Models::Plans::MigrationRetrieveResponse::EffectiveTime::OrSymbol
|
|
53
63
|
)
|
|
54
64
|
),
|
|
65
|
+
ended_at: T.nilable(Time),
|
|
55
66
|
plan_id: String,
|
|
67
|
+
started_at: T.nilable(Time),
|
|
56
68
|
status:
|
|
57
69
|
Orb::Models::Plans::MigrationRetrieveResponse::Status::OrSymbol
|
|
58
70
|
).returns(T.attached_class)
|
|
@@ -64,8 +76,14 @@ module Orb
|
|
|
64
76
|
# scheduled to be at the end of the current billing period, or 'end_of_invoice'
|
|
65
77
|
# when scheduled to be at the start of the next invoice.
|
|
66
78
|
effective_time:,
|
|
79
|
+
# When the migration completed or was canceled, or null if it is still in
|
|
80
|
+
# progress.
|
|
81
|
+
ended_at:,
|
|
67
82
|
# The ID of the plan being migrated.
|
|
68
83
|
plan_id:,
|
|
84
|
+
# When Orb began migrating the plan's subscriptions. Null if the migration has not
|
|
85
|
+
# begun, or was canceled before it began.
|
|
86
|
+
started_at:,
|
|
69
87
|
# Current status of the migration: 'not_started', 'in_progress', 'completed',
|
|
70
88
|
# 'action_needed', or 'canceled'.
|
|
71
89
|
status:
|
|
@@ -80,7 +98,9 @@ module Orb
|
|
|
80
98
|
T.nilable(
|
|
81
99
|
Orb::Models::Plans::MigrationRetrieveResponse::EffectiveTime::Variants
|
|
82
100
|
),
|
|
101
|
+
ended_at: T.nilable(Time),
|
|
83
102
|
plan_id: String,
|
|
103
|
+
started_at: T.nilable(Time),
|
|
84
104
|
status:
|
|
85
105
|
Orb::Models::Plans::MigrationRetrieveResponse::Status::TaggedSymbol
|
|
86
106
|
}
|
|
@@ -6180,6 +6180,10 @@ module Orb
|
|
|
6180
6180
|
sig { returns(T.nilable(String)) }
|
|
6181
6181
|
attr_accessor :external_price_id
|
|
6182
6182
|
|
|
6183
|
+
# The phase to remove this price from.
|
|
6184
|
+
sig { returns(T.nilable(Integer)) }
|
|
6185
|
+
attr_accessor :plan_phase_order
|
|
6186
|
+
|
|
6183
6187
|
# The id of the price to remove on the subscription.
|
|
6184
6188
|
sig { returns(T.nilable(String)) }
|
|
6185
6189
|
attr_accessor :price_id
|
|
@@ -6187,12 +6191,15 @@ module Orb
|
|
|
6187
6191
|
sig do
|
|
6188
6192
|
params(
|
|
6189
6193
|
external_price_id: T.nilable(String),
|
|
6194
|
+
plan_phase_order: T.nilable(Integer),
|
|
6190
6195
|
price_id: T.nilable(String)
|
|
6191
6196
|
).returns(T.attached_class)
|
|
6192
6197
|
end
|
|
6193
6198
|
def self.new(
|
|
6194
6199
|
# The external price id of the price to remove on the subscription.
|
|
6195
6200
|
external_price_id: nil,
|
|
6201
|
+
# The phase to remove this price from.
|
|
6202
|
+
plan_phase_order: nil,
|
|
6196
6203
|
# The id of the price to remove on the subscription.
|
|
6197
6204
|
price_id: nil
|
|
6198
6205
|
)
|
|
@@ -6202,6 +6209,7 @@ module Orb
|
|
|
6202
6209
|
override.returns(
|
|
6203
6210
|
{
|
|
6204
6211
|
external_price_id: T.nilable(String),
|
|
6212
|
+
plan_phase_order: T.nilable(Integer),
|
|
6205
6213
|
price_id: T.nilable(String)
|
|
6206
6214
|
}
|
|
6207
6215
|
)
|
|
@@ -6792,6 +6800,10 @@ module Orb
|
|
|
6792
6800
|
sig { returns(T.nilable(String)) }
|
|
6793
6801
|
attr_accessor :minimum_amount
|
|
6794
6802
|
|
|
6803
|
+
# The phase to replace this price in.
|
|
6804
|
+
sig { returns(T.nilable(Integer)) }
|
|
6805
|
+
attr_accessor :plan_phase_order
|
|
6806
|
+
|
|
6795
6807
|
# New subscription price request body params.
|
|
6796
6808
|
sig do
|
|
6797
6809
|
returns(
|
|
@@ -6853,6 +6865,7 @@ module Orb
|
|
|
6853
6865
|
maximum_amount: T.nilable(String),
|
|
6854
6866
|
metric_parameter_overrides: T.nilable(T::Hash[Symbol, T.anything]),
|
|
6855
6867
|
minimum_amount: T.nilable(String),
|
|
6868
|
+
plan_phase_order: T.nilable(Integer),
|
|
6856
6869
|
price:
|
|
6857
6870
|
T.nilable(
|
|
6858
6871
|
T.any(
|
|
@@ -6918,6 +6931,8 @@ module Orb
|
|
|
6918
6931
|
# [DEPRECATED] Use add_adjustments instead. The subscription's minimum amount for
|
|
6919
6932
|
# the replacement price.
|
|
6920
6933
|
minimum_amount: nil,
|
|
6934
|
+
# The phase to replace this price in.
|
|
6935
|
+
plan_phase_order: nil,
|
|
6921
6936
|
# New subscription price request body params.
|
|
6922
6937
|
price: nil,
|
|
6923
6938
|
# The id of the price to add to the subscription.
|
|
@@ -6937,6 +6952,7 @@ module Orb
|
|
|
6937
6952
|
metric_parameter_overrides:
|
|
6938
6953
|
T.nilable(T::Hash[Symbol, T.anything]),
|
|
6939
6954
|
minimum_amount: T.nilable(String),
|
|
6955
|
+
plan_phase_order: T.nilable(Integer),
|
|
6940
6956
|
price:
|
|
6941
6957
|
T.nilable(
|
|
6942
6958
|
T.any(
|
|
@@ -6245,6 +6245,10 @@ module Orb
|
|
|
6245
6245
|
sig { returns(T.nilable(String)) }
|
|
6246
6246
|
attr_accessor :external_price_id
|
|
6247
6247
|
|
|
6248
|
+
# The phase to remove this price from.
|
|
6249
|
+
sig { returns(T.nilable(Integer)) }
|
|
6250
|
+
attr_accessor :plan_phase_order
|
|
6251
|
+
|
|
6248
6252
|
# The id of the price to remove on the subscription.
|
|
6249
6253
|
sig { returns(T.nilable(String)) }
|
|
6250
6254
|
attr_accessor :price_id
|
|
@@ -6252,12 +6256,15 @@ module Orb
|
|
|
6252
6256
|
sig do
|
|
6253
6257
|
params(
|
|
6254
6258
|
external_price_id: T.nilable(String),
|
|
6259
|
+
plan_phase_order: T.nilable(Integer),
|
|
6255
6260
|
price_id: T.nilable(String)
|
|
6256
6261
|
).returns(T.attached_class)
|
|
6257
6262
|
end
|
|
6258
6263
|
def self.new(
|
|
6259
6264
|
# The external price id of the price to remove on the subscription.
|
|
6260
6265
|
external_price_id: nil,
|
|
6266
|
+
# The phase to remove this price from.
|
|
6267
|
+
plan_phase_order: nil,
|
|
6261
6268
|
# The id of the price to remove on the subscription.
|
|
6262
6269
|
price_id: nil
|
|
6263
6270
|
)
|
|
@@ -6267,6 +6274,7 @@ module Orb
|
|
|
6267
6274
|
override.returns(
|
|
6268
6275
|
{
|
|
6269
6276
|
external_price_id: T.nilable(String),
|
|
6277
|
+
plan_phase_order: T.nilable(Integer),
|
|
6270
6278
|
price_id: T.nilable(String)
|
|
6271
6279
|
}
|
|
6272
6280
|
)
|
|
@@ -6857,6 +6865,10 @@ module Orb
|
|
|
6857
6865
|
sig { returns(T.nilable(String)) }
|
|
6858
6866
|
attr_accessor :minimum_amount
|
|
6859
6867
|
|
|
6868
|
+
# The phase to replace this price in.
|
|
6869
|
+
sig { returns(T.nilable(Integer)) }
|
|
6870
|
+
attr_accessor :plan_phase_order
|
|
6871
|
+
|
|
6860
6872
|
# New subscription price request body params.
|
|
6861
6873
|
sig do
|
|
6862
6874
|
returns(
|
|
@@ -6918,6 +6930,7 @@ module Orb
|
|
|
6918
6930
|
maximum_amount: T.nilable(String),
|
|
6919
6931
|
metric_parameter_overrides: T.nilable(T::Hash[Symbol, T.anything]),
|
|
6920
6932
|
minimum_amount: T.nilable(String),
|
|
6933
|
+
plan_phase_order: T.nilable(Integer),
|
|
6921
6934
|
price:
|
|
6922
6935
|
T.nilable(
|
|
6923
6936
|
T.any(
|
|
@@ -6983,6 +6996,8 @@ module Orb
|
|
|
6983
6996
|
# [DEPRECATED] Use add_adjustments instead. The subscription's minimum amount for
|
|
6984
6997
|
# the replacement price.
|
|
6985
6998
|
minimum_amount: nil,
|
|
6999
|
+
# The phase to replace this price in.
|
|
7000
|
+
plan_phase_order: nil,
|
|
6986
7001
|
# New subscription price request body params.
|
|
6987
7002
|
price: nil,
|
|
6988
7003
|
# The id of the price to add to the subscription.
|
|
@@ -7002,6 +7017,7 @@ module Orb
|
|
|
7002
7017
|
metric_parameter_overrides:
|
|
7003
7018
|
T.nilable(T::Hash[Symbol, T.anything]),
|
|
7004
7019
|
minimum_amount: T.nilable(String),
|
|
7020
|
+
plan_phase_order: T.nilable(Integer),
|
|
7005
7021
|
price:
|
|
7006
7022
|
T.nilable(
|
|
7007
7023
|
T.any(
|
|
@@ -5,7 +5,9 @@ module Orb
|
|
|
5
5
|
{
|
|
6
6
|
id: String,
|
|
7
7
|
effective_time: Orb::Models::Plans::MigrationCancelResponse::effective_time?,
|
|
8
|
+
ended_at: Time?,
|
|
8
9
|
plan_id: String,
|
|
10
|
+
started_at: Time?,
|
|
9
11
|
status: Orb::Models::Plans::MigrationCancelResponse::status
|
|
10
12
|
}
|
|
11
13
|
|
|
@@ -14,21 +16,29 @@ module Orb
|
|
|
14
16
|
|
|
15
17
|
attr_accessor effective_time: Orb::Models::Plans::MigrationCancelResponse::effective_time?
|
|
16
18
|
|
|
19
|
+
attr_accessor ended_at: Time?
|
|
20
|
+
|
|
17
21
|
attr_accessor plan_id: String
|
|
18
22
|
|
|
23
|
+
attr_accessor started_at: Time?
|
|
24
|
+
|
|
19
25
|
attr_accessor status: Orb::Models::Plans::MigrationCancelResponse::status
|
|
20
26
|
|
|
21
27
|
def initialize: (
|
|
22
28
|
id: String,
|
|
23
29
|
effective_time: Orb::Models::Plans::MigrationCancelResponse::effective_time?,
|
|
30
|
+
ended_at: Time?,
|
|
24
31
|
plan_id: String,
|
|
32
|
+
started_at: Time?,
|
|
25
33
|
status: Orb::Models::Plans::MigrationCancelResponse::status
|
|
26
34
|
) -> void
|
|
27
35
|
|
|
28
36
|
def to_hash: -> {
|
|
29
37
|
id: String,
|
|
30
38
|
effective_time: Orb::Models::Plans::MigrationCancelResponse::effective_time?,
|
|
39
|
+
ended_at: Time?,
|
|
31
40
|
plan_id: String,
|
|
41
|
+
started_at: Time?,
|
|
32
42
|
status: Orb::Models::Plans::MigrationCancelResponse::status
|
|
33
43
|
}
|
|
34
44
|
|
|
@@ -5,7 +5,9 @@ module Orb
|
|
|
5
5
|
{
|
|
6
6
|
id: String,
|
|
7
7
|
effective_time: Orb::Models::Plans::MigrationListResponse::effective_time?,
|
|
8
|
+
ended_at: Time?,
|
|
8
9
|
plan_id: String,
|
|
10
|
+
started_at: Time?,
|
|
9
11
|
status: Orb::Models::Plans::MigrationListResponse::status
|
|
10
12
|
}
|
|
11
13
|
|
|
@@ -14,21 +16,29 @@ module Orb
|
|
|
14
16
|
|
|
15
17
|
attr_accessor effective_time: Orb::Models::Plans::MigrationListResponse::effective_time?
|
|
16
18
|
|
|
19
|
+
attr_accessor ended_at: Time?
|
|
20
|
+
|
|
17
21
|
attr_accessor plan_id: String
|
|
18
22
|
|
|
23
|
+
attr_accessor started_at: Time?
|
|
24
|
+
|
|
19
25
|
attr_accessor status: Orb::Models::Plans::MigrationListResponse::status
|
|
20
26
|
|
|
21
27
|
def initialize: (
|
|
22
28
|
id: String,
|
|
23
29
|
effective_time: Orb::Models::Plans::MigrationListResponse::effective_time?,
|
|
30
|
+
ended_at: Time?,
|
|
24
31
|
plan_id: String,
|
|
32
|
+
started_at: Time?,
|
|
25
33
|
status: Orb::Models::Plans::MigrationListResponse::status
|
|
26
34
|
) -> void
|
|
27
35
|
|
|
28
36
|
def to_hash: -> {
|
|
29
37
|
id: String,
|
|
30
38
|
effective_time: Orb::Models::Plans::MigrationListResponse::effective_time?,
|
|
39
|
+
ended_at: Time?,
|
|
31
40
|
plan_id: String,
|
|
41
|
+
started_at: Time?,
|
|
32
42
|
status: Orb::Models::Plans::MigrationListResponse::status
|
|
33
43
|
}
|
|
34
44
|
|
|
@@ -5,7 +5,9 @@ module Orb
|
|
|
5
5
|
{
|
|
6
6
|
id: String,
|
|
7
7
|
effective_time: Orb::Models::Plans::MigrationRetrieveResponse::effective_time?,
|
|
8
|
+
ended_at: Time?,
|
|
8
9
|
plan_id: String,
|
|
10
|
+
started_at: Time?,
|
|
9
11
|
status: Orb::Models::Plans::MigrationRetrieveResponse::status
|
|
10
12
|
}
|
|
11
13
|
|
|
@@ -14,21 +16,29 @@ module Orb
|
|
|
14
16
|
|
|
15
17
|
attr_accessor effective_time: Orb::Models::Plans::MigrationRetrieveResponse::effective_time?
|
|
16
18
|
|
|
19
|
+
attr_accessor ended_at: Time?
|
|
20
|
+
|
|
17
21
|
attr_accessor plan_id: String
|
|
18
22
|
|
|
23
|
+
attr_accessor started_at: Time?
|
|
24
|
+
|
|
19
25
|
attr_accessor status: Orb::Models::Plans::MigrationRetrieveResponse::status
|
|
20
26
|
|
|
21
27
|
def initialize: (
|
|
22
28
|
id: String,
|
|
23
29
|
effective_time: Orb::Models::Plans::MigrationRetrieveResponse::effective_time?,
|
|
30
|
+
ended_at: Time?,
|
|
24
31
|
plan_id: String,
|
|
32
|
+
started_at: Time?,
|
|
25
33
|
status: Orb::Models::Plans::MigrationRetrieveResponse::status
|
|
26
34
|
) -> void
|
|
27
35
|
|
|
28
36
|
def to_hash: -> {
|
|
29
37
|
id: String,
|
|
30
38
|
effective_time: Orb::Models::Plans::MigrationRetrieveResponse::effective_time?,
|
|
39
|
+
ended_at: Time?,
|
|
31
40
|
plan_id: String,
|
|
41
|
+
started_at: Time?,
|
|
32
42
|
status: Orb::Models::Plans::MigrationRetrieveResponse::status
|
|
33
43
|
}
|
|
34
44
|
|
|
@@ -2479,19 +2479,31 @@ module Orb
|
|
|
2479
2479
|
def to_hash: -> { adjustment_id: String }
|
|
2480
2480
|
end
|
|
2481
2481
|
|
|
2482
|
-
type remove_price =
|
|
2482
|
+
type remove_price =
|
|
2483
|
+
{
|
|
2484
|
+
external_price_id: String?,
|
|
2485
|
+
plan_phase_order: Integer?,
|
|
2486
|
+
price_id: String?
|
|
2487
|
+
}
|
|
2483
2488
|
|
|
2484
2489
|
class RemovePrice < Orb::Internal::Type::BaseModel
|
|
2485
2490
|
attr_accessor external_price_id: String?
|
|
2486
2491
|
|
|
2492
|
+
attr_accessor plan_phase_order: Integer?
|
|
2493
|
+
|
|
2487
2494
|
attr_accessor price_id: String?
|
|
2488
2495
|
|
|
2489
2496
|
def initialize: (
|
|
2490
2497
|
?external_price_id: String?,
|
|
2498
|
+
?plan_phase_order: Integer?,
|
|
2491
2499
|
?price_id: String?
|
|
2492
2500
|
) -> void
|
|
2493
2501
|
|
|
2494
|
-
def to_hash: -> {
|
|
2502
|
+
def to_hash: -> {
|
|
2503
|
+
external_price_id: String?,
|
|
2504
|
+
plan_phase_order: Integer?,
|
|
2505
|
+
price_id: String?
|
|
2506
|
+
}
|
|
2495
2507
|
end
|
|
2496
2508
|
|
|
2497
2509
|
type replace_adjustment =
|
|
@@ -2708,6 +2720,7 @@ module Orb
|
|
|
2708
2720
|
maximum_amount: String?,
|
|
2709
2721
|
metric_parameter_overrides: ::Hash[Symbol, top]?,
|
|
2710
2722
|
minimum_amount: String?,
|
|
2723
|
+
plan_phase_order: Integer?,
|
|
2711
2724
|
price: Orb::Models::SubscriptionCreateParams::ReplacePrice::price?,
|
|
2712
2725
|
price_id: String?
|
|
2713
2726
|
}
|
|
@@ -2729,6 +2742,8 @@ module Orb
|
|
|
2729
2742
|
|
|
2730
2743
|
attr_accessor minimum_amount: String?
|
|
2731
2744
|
|
|
2745
|
+
attr_accessor plan_phase_order: Integer?
|
|
2746
|
+
|
|
2732
2747
|
attr_accessor price: Orb::Models::SubscriptionCreateParams::ReplacePrice::price?
|
|
2733
2748
|
|
|
2734
2749
|
attr_accessor price_id: String?
|
|
@@ -2742,6 +2757,7 @@ module Orb
|
|
|
2742
2757
|
?maximum_amount: String?,
|
|
2743
2758
|
?metric_parameter_overrides: ::Hash[Symbol, top]?,
|
|
2744
2759
|
?minimum_amount: String?,
|
|
2760
|
+
?plan_phase_order: Integer?,
|
|
2745
2761
|
?price: Orb::Models::SubscriptionCreateParams::ReplacePrice::price?,
|
|
2746
2762
|
?price_id: String?
|
|
2747
2763
|
) -> void
|
|
@@ -2755,6 +2771,7 @@ module Orb
|
|
|
2755
2771
|
maximum_amount: String?,
|
|
2756
2772
|
metric_parameter_overrides: ::Hash[Symbol, top]?,
|
|
2757
2773
|
minimum_amount: String?,
|
|
2774
|
+
plan_phase_order: Integer?,
|
|
2758
2775
|
price: Orb::Models::SubscriptionCreateParams::ReplacePrice::price?,
|
|
2759
2776
|
price_id: String?
|
|
2760
2777
|
}
|
|
@@ -2461,19 +2461,31 @@ module Orb
|
|
|
2461
2461
|
def to_hash: -> { adjustment_id: String }
|
|
2462
2462
|
end
|
|
2463
2463
|
|
|
2464
|
-
type remove_price =
|
|
2464
|
+
type remove_price =
|
|
2465
|
+
{
|
|
2466
|
+
external_price_id: String?,
|
|
2467
|
+
plan_phase_order: Integer?,
|
|
2468
|
+
price_id: String?
|
|
2469
|
+
}
|
|
2465
2470
|
|
|
2466
2471
|
class RemovePrice < Orb::Internal::Type::BaseModel
|
|
2467
2472
|
attr_accessor external_price_id: String?
|
|
2468
2473
|
|
|
2474
|
+
attr_accessor plan_phase_order: Integer?
|
|
2475
|
+
|
|
2469
2476
|
attr_accessor price_id: String?
|
|
2470
2477
|
|
|
2471
2478
|
def initialize: (
|
|
2472
2479
|
?external_price_id: String?,
|
|
2480
|
+
?plan_phase_order: Integer?,
|
|
2473
2481
|
?price_id: String?
|
|
2474
2482
|
) -> void
|
|
2475
2483
|
|
|
2476
|
-
def to_hash: -> {
|
|
2484
|
+
def to_hash: -> {
|
|
2485
|
+
external_price_id: String?,
|
|
2486
|
+
plan_phase_order: Integer?,
|
|
2487
|
+
price_id: String?
|
|
2488
|
+
}
|
|
2477
2489
|
end
|
|
2478
2490
|
|
|
2479
2491
|
type replace_adjustment =
|
|
@@ -2690,6 +2702,7 @@ module Orb
|
|
|
2690
2702
|
maximum_amount: String?,
|
|
2691
2703
|
metric_parameter_overrides: ::Hash[Symbol, top]?,
|
|
2692
2704
|
minimum_amount: String?,
|
|
2705
|
+
plan_phase_order: Integer?,
|
|
2693
2706
|
price: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::price?,
|
|
2694
2707
|
price_id: String?
|
|
2695
2708
|
}
|
|
@@ -2711,6 +2724,8 @@ module Orb
|
|
|
2711
2724
|
|
|
2712
2725
|
attr_accessor minimum_amount: String?
|
|
2713
2726
|
|
|
2727
|
+
attr_accessor plan_phase_order: Integer?
|
|
2728
|
+
|
|
2714
2729
|
attr_accessor price: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::price?
|
|
2715
2730
|
|
|
2716
2731
|
attr_accessor price_id: String?
|
|
@@ -2724,6 +2739,7 @@ module Orb
|
|
|
2724
2739
|
?maximum_amount: String?,
|
|
2725
2740
|
?metric_parameter_overrides: ::Hash[Symbol, top]?,
|
|
2726
2741
|
?minimum_amount: String?,
|
|
2742
|
+
?plan_phase_order: Integer?,
|
|
2727
2743
|
?price: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::price?,
|
|
2728
2744
|
?price_id: String?
|
|
2729
2745
|
) -> void
|
|
@@ -2737,6 +2753,7 @@ module Orb
|
|
|
2737
2753
|
maximum_amount: String?,
|
|
2738
2754
|
metric_parameter_overrides: ::Hash[Symbol, top]?,
|
|
2739
2755
|
minimum_amount: String?,
|
|
2756
|
+
plan_phase_order: Integer?,
|
|
2740
2757
|
price: Orb::Models::SubscriptionSchedulePlanChangeParams::ReplacePrice::price?,
|
|
2741
2758
|
price_id: String?
|
|
2742
2759
|
}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: orb-billing
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.54.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Orb
|
|
@@ -1989,7 +1989,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
1989
1989
|
- !ruby/object:Gem::Version
|
|
1990
1990
|
version: '0'
|
|
1991
1991
|
requirements: []
|
|
1992
|
-
rubygems_version: 4.0.
|
|
1992
|
+
rubygems_version: 4.0.24
|
|
1993
1993
|
specification_version: 4
|
|
1994
1994
|
summary: Ruby library to access the Orb API
|
|
1995
1995
|
test_files: []
|