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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5a6e4855b8279d4e1a6bdf28f4c400529e61861a120047763a6ffdaed8e5575
4
- data.tar.gz: 36fe46e75224e82fb729f71d0d754736174092708fc02b1692600360eff66dc7
3
+ metadata.gz: d76a05385315f5843ea2bcc7db9a121d5990654a8c9e14b7c0f098f5e001ed6f
4
+ data.tar.gz: 021e9521889d0a5a3664260e921ab0b0c60bc0298e8abc389d3acdc4f7183e0c
5
5
  SHA512:
6
- metadata.gz: b6a5c380bac65e5c3636214e5dd68535b327a427ad3b24519af8de62f7426c95a321d492e8ba9940f5426da4df5ac39be566b756f91ba73ea3445aea90450708
7
- data.tar.gz: a20cd6d63c5af3f339fbaaba7d3fd549b137a4218f7d6f5ccf9021a74c274ae8beaa6bf2f40f885f23e31267bf03c45cad819a0c329abd281d9de5832f65d5d1
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
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "orb-billing", "~> 1.29.0"
18
+ gem "orb-billing", "~> 1.30.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -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
- # List top-ups
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
- # List top-ups by external ID
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
- # Fetch dimensional price group by external ID
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
- # Fetch dimensional price group
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
- # List dimensional price groups
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
  #
@@ -88,7 +88,9 @@ module Orb
88
88
  )
89
89
  end
90
90
 
91
- # Archive item
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
- # Fetch migration
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Orb
4
- VERSION = "1.29.0"
4
+ VERSION = "1.30.0"
5
5
  end
@@ -58,7 +58,13 @@ module Orb
58
58
  )
59
59
  end
60
60
 
61
- # List top-ups
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
- # List top-ups by external ID
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
- # Fetch dimensional price group by external ID
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
- # Fetch dimensional price group
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
- # List dimensional price groups
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),
@@ -69,7 +69,9 @@ module Orb
69
69
  )
70
70
  end
71
71
 
72
- # Archive item
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
- # Fetch migration
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,
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.29.0
4
+ version: 1.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orb