orb-billing 1.29.0 → 1.30.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 +7 -0
- data/README.md +1 -1
- data/lib/orb/resources/customers/credits/top_ups.rb +14 -2
- data/lib/orb/resources/dimensional_price_groups/external_dimensional_price_group_id.rb +4 -1
- data/lib/orb/resources/dimensional_price_groups.rb +11 -2
- data/lib/orb/resources/items.rb +3 -1
- data/lib/orb/resources/plans/migrations.rb +3 -1
- data/lib/orb/version.rb +1 -1
- data/rbi/orb/resources/customers/credits/top_ups.rbi +14 -2
- data/rbi/orb/resources/dimensional_price_groups/external_dimensional_price_group_id.rbi +4 -1
- data/rbi/orb/resources/dimensional_price_groups.rbi +11 -2
- data/rbi/orb/resources/items.rbi +3 -1
- data/rbi/orb/resources/plans/migrations.rbi +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d76a05385315f5843ea2bcc7db9a121d5990654a8c9e14b7c0f098f5e001ed6f
|
|
4
|
+
data.tar.gz: 021e9521889d0a5a3664260e921ab0b0c60bc0298e8abc389d3acdc4f7183e0c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 001d9531a4f619a877596c0162fc5eac4a42f2fb293e3f30750288501122f50226a851f712044daf7e46c16a4ff7ba8d8025916f690e691e3091abc601b63755
|
|
7
|
+
data.tar.gz: 3085bd9431a9ec2c15e3669a967fdffdeb6f83a39e7c8e77927093c88eb084f93ce5a61d73e387252a7c47e0bec5d38b81552c4f3773b26855bff2d73c3d5828
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.30.0](https://github.com/orbcorp/orb-ruby/compare/v1.29.0...v1.30.0) (2026-09-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **api:** api update ([759c873](https://github.com/orbcorp/orb-ruby/commit/759c8739c8a675a6c34af657ce340388c2e5585f))
|
|
9
|
+
|
|
3
10
|
## [1.29.0](https://github.com/orbcorp/orb-ruby/compare/v1.28.1...v1.29.0) (2026-09-03)
|
|
4
11
|
|
|
5
12
|
|
data/README.md
CHANGED
|
@@ -57,7 +57,13 @@ module Orb
|
|
|
57
57
|
# Some parameter documentations has been truncated, see
|
|
58
58
|
# {Orb::Models::Customers::Credits::TopUpListParams} for more details.
|
|
59
59
|
#
|
|
60
|
-
#
|
|
60
|
+
# This endpoint returns a list of a customer's active top-ups; a top-up that has
|
|
61
|
+
# been deactivated is not included. While a top-up is active, the customer's
|
|
62
|
+
# balance is increased by the top-up amount whenever it falls to the top-up's
|
|
63
|
+
# threshold.
|
|
64
|
+
#
|
|
65
|
+
# The response also includes pagination_metadata, which lets the caller retrieve
|
|
66
|
+
# the next page of results if they exist.
|
|
61
67
|
#
|
|
62
68
|
# @overload list(customer_id, cursor: nil, limit: nil, request_options: {})
|
|
63
69
|
#
|
|
@@ -192,7 +198,13 @@ module Orb
|
|
|
192
198
|
# Some parameter documentations has been truncated, see
|
|
193
199
|
# {Orb::Models::Customers::Credits::TopUpListByExternalIDParams} for more details.
|
|
194
200
|
#
|
|
195
|
-
#
|
|
201
|
+
# This endpoint returns a list of a customer's active top-ups; a top-up that has
|
|
202
|
+
# been deactivated is not included. While a top-up is active, the customer's
|
|
203
|
+
# balance is increased by the top-up amount whenever it falls to the top-up's
|
|
204
|
+
# threshold.
|
|
205
|
+
#
|
|
206
|
+
# The response also includes pagination_metadata, which lets the caller retrieve
|
|
207
|
+
# the next page of results if they exist.
|
|
196
208
|
#
|
|
197
209
|
# @overload list_by_external_id(external_customer_id, cursor: nil, limit: nil, request_options: {})
|
|
198
210
|
#
|
|
@@ -4,7 +4,10 @@ module Orb
|
|
|
4
4
|
module Resources
|
|
5
5
|
class DimensionalPriceGroups
|
|
6
6
|
class ExternalDimensionalPriceGroupID
|
|
7
|
-
#
|
|
7
|
+
# This endpoint returns a dimensional price group identified by the external ID
|
|
8
|
+
# you assigned it, rather than by its Orb ID. A dimensional price group partitions
|
|
9
|
+
# the result of a billable metric by a set of dimensions, and the prices in the
|
|
10
|
+
# group specify which partition their usage is derived from.
|
|
8
11
|
#
|
|
9
12
|
# @overload retrieve(external_dimensional_price_group_id, request_options: {})
|
|
10
13
|
#
|
|
@@ -46,7 +46,10 @@ module Orb
|
|
|
46
46
|
)
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
-
#
|
|
49
|
+
# This endpoint returns a dimensional price group identified by its ID. A
|
|
50
|
+
# dimensional price group partitions the result of a billable metric by a set of
|
|
51
|
+
# dimensions, and the prices in the group specify which partition their usage is
|
|
52
|
+
# derived from.
|
|
50
53
|
#
|
|
51
54
|
# @overload retrieve(dimensional_price_group_id, request_options: {})
|
|
52
55
|
#
|
|
@@ -99,7 +102,13 @@ module Orb
|
|
|
99
102
|
# Some parameter documentations has been truncated, see
|
|
100
103
|
# {Orb::Models::DimensionalPriceGroupListParams} for more details.
|
|
101
104
|
#
|
|
102
|
-
#
|
|
105
|
+
# This endpoint returns a list of all dimensional price groups for an account. A
|
|
106
|
+
# dimensional price group partitions the result of a billable metric by a set of
|
|
107
|
+
# dimensions, and the prices in the group specify which partition their usage is
|
|
108
|
+
# derived from.
|
|
109
|
+
#
|
|
110
|
+
# The response also includes pagination_metadata, which lets the caller retrieve
|
|
111
|
+
# the next page of results if they exist.
|
|
103
112
|
#
|
|
104
113
|
# @overload list(cursor: nil, limit: nil, request_options: {})
|
|
105
114
|
#
|
data/lib/orb/resources/items.rb
CHANGED
|
@@ -88,7 +88,9 @@ module Orb
|
|
|
88
88
|
)
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
-
#
|
|
91
|
+
# This endpoint archives an item, and cascades to archive every price for that
|
|
92
|
+
# item that is still active. An item that is already archived cannot be archived
|
|
93
|
+
# again.
|
|
92
94
|
#
|
|
93
95
|
# @overload archive(item_id, request_options: {})
|
|
94
96
|
#
|
|
@@ -8,7 +8,9 @@ module Orb
|
|
|
8
8
|
# subscription. You can see more about how to configure prices in the
|
|
9
9
|
# [Price resource](/reference/price).
|
|
10
10
|
class Migrations
|
|
11
|
-
#
|
|
11
|
+
# This endpoint returns a migration for a plan, identified by its ID. A migration
|
|
12
|
+
# moves a plan's subscriptions onto a new version of that plan; the response
|
|
13
|
+
# reports the effective time it is scheduled for and its current status.
|
|
12
14
|
#
|
|
13
15
|
# @overload retrieve(migration_id, plan_id:, request_options: {})
|
|
14
16
|
#
|
data/lib/orb/version.rb
CHANGED
|
@@ -58,7 +58,13 @@ module Orb
|
|
|
58
58
|
)
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
#
|
|
61
|
+
# This endpoint returns a list of a customer's active top-ups; a top-up that has
|
|
62
|
+
# been deactivated is not included. While a top-up is active, the customer's
|
|
63
|
+
# balance is increased by the top-up amount whenever it falls to the top-up's
|
|
64
|
+
# threshold.
|
|
65
|
+
#
|
|
66
|
+
# The response also includes pagination_metadata, which lets the caller retrieve
|
|
67
|
+
# the next page of results if they exist.
|
|
62
68
|
sig do
|
|
63
69
|
params(
|
|
64
70
|
customer_id: String,
|
|
@@ -163,7 +169,13 @@ module Orb
|
|
|
163
169
|
)
|
|
164
170
|
end
|
|
165
171
|
|
|
166
|
-
#
|
|
172
|
+
# This endpoint returns a list of a customer's active top-ups; a top-up that has
|
|
173
|
+
# been deactivated is not included. While a top-up is active, the customer's
|
|
174
|
+
# balance is increased by the top-up amount whenever it falls to the top-up's
|
|
175
|
+
# threshold.
|
|
176
|
+
#
|
|
177
|
+
# The response also includes pagination_metadata, which lets the caller retrieve
|
|
178
|
+
# the next page of results if they exist.
|
|
167
179
|
sig do
|
|
168
180
|
params(
|
|
169
181
|
external_customer_id: String,
|
|
@@ -4,7 +4,10 @@ module Orb
|
|
|
4
4
|
module Resources
|
|
5
5
|
class DimensionalPriceGroups
|
|
6
6
|
class ExternalDimensionalPriceGroupID
|
|
7
|
-
#
|
|
7
|
+
# This endpoint returns a dimensional price group identified by the external ID
|
|
8
|
+
# you assigned it, rather than by its Orb ID. A dimensional price group partitions
|
|
9
|
+
# the result of a billable metric by a set of dimensions, and the prices in the
|
|
10
|
+
# group specify which partition their usage is derived from.
|
|
8
11
|
sig do
|
|
9
12
|
params(
|
|
10
13
|
external_dimensional_price_group_id: String,
|
|
@@ -42,7 +42,10 @@ module Orb
|
|
|
42
42
|
)
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
-
#
|
|
45
|
+
# This endpoint returns a dimensional price group identified by its ID. A
|
|
46
|
+
# dimensional price group partitions the result of a billable metric by a set of
|
|
47
|
+
# dimensions, and the prices in the group specify which partition their usage is
|
|
48
|
+
# derived from.
|
|
46
49
|
sig do
|
|
47
50
|
params(
|
|
48
51
|
dimensional_price_group_id: String,
|
|
@@ -78,7 +81,13 @@ module Orb
|
|
|
78
81
|
)
|
|
79
82
|
end
|
|
80
83
|
|
|
81
|
-
#
|
|
84
|
+
# This endpoint returns a list of all dimensional price groups for an account. A
|
|
85
|
+
# dimensional price group partitions the result of a billable metric by a set of
|
|
86
|
+
# dimensions, and the prices in the group specify which partition their usage is
|
|
87
|
+
# derived from.
|
|
88
|
+
#
|
|
89
|
+
# The response also includes pagination_metadata, which lets the caller retrieve
|
|
90
|
+
# the next page of results if they exist.
|
|
82
91
|
sig do
|
|
83
92
|
params(
|
|
84
93
|
cursor: T.nilable(String),
|
data/rbi/orb/resources/items.rbi
CHANGED
|
@@ -69,7 +69,9 @@ module Orb
|
|
|
69
69
|
)
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
#
|
|
72
|
+
# This endpoint archives an item, and cascades to archive every price for that
|
|
73
|
+
# item that is still active. An item that is already archived cannot be archived
|
|
74
|
+
# again.
|
|
73
75
|
sig do
|
|
74
76
|
params(
|
|
75
77
|
item_id: String,
|
|
@@ -8,7 +8,9 @@ module Orb
|
|
|
8
8
|
# subscription. You can see more about how to configure prices in the
|
|
9
9
|
# [Price resource](/reference/price).
|
|
10
10
|
class Migrations
|
|
11
|
-
#
|
|
11
|
+
# This endpoint returns a migration for a plan, identified by its ID. A migration
|
|
12
|
+
# moves a plan's subscriptions onto a new version of that plan; the response
|
|
13
|
+
# reports the effective time it is scheduled for and its current status.
|
|
12
14
|
sig do
|
|
13
15
|
params(
|
|
14
16
|
migration_id: String,
|