orb-billing 1.56.0 → 1.57.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: a480f84a5b9c0c730d935299cdb061a754440d17948c49c860ac68307f775973
4
- data.tar.gz: 21f29adeba7a90ffe23004cc44f724cb0815660528a69470a3708c7ee0f3d794
3
+ metadata.gz: aaede78921bee8ab038640273109b6d9006ae6a078bc0c55e82820e163c9a83c
4
+ data.tar.gz: a450f96afde784146606d099bb3a255a4b362f09d701ae68bfba3f43de77f4f3
5
5
  SHA512:
6
- metadata.gz: 47e396b2912a1b76f58ee3ccfa99b779a7a92aa15603f139d9ad487a28af59b1f3beb4150e3abb9e624fad832ca517a622e48e49a368d3e15f2a5467111a6290
7
- data.tar.gz: 5e97217e04e9286c37c157b1bd59eeae28718e2ca8c1b31976b2a46c0c14740d55c36a4b430cc454c2c00e8ccf6d5ae2f7d3b88f35db876f7ac99e562807ba9f
6
+ metadata.gz: 366f9bc195d4e3c914f2f4efa059a5b8c387a3d68b5fda069cab4d5faef22669bb2bacea424df3a542ed40fcaec659c942add9aac4d194abcbb057fd24493591
7
+ data.tar.gz: 3a4c96b9684834461f8bbba4925dcffc462659411f66207d3e9f5cbbfecaf6a2641536910f83b9cb7c4d288390ad4f3a1788024d263f4a6e4c7096f4ad223032
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.57.0](https://github.com/orbcorp/orb-ruby/compare/v1.56.0...v1.57.0) (2026-11-14)
4
+
5
+
6
+ ### Features
7
+
8
+ * **api:** api update ([cbac7e8](https://github.com/orbcorp/orb-ruby/commit/cbac7e867077069a9d12302b97453b3112533372))
9
+
3
10
  ## [1.56.0](https://github.com/orbcorp/orb-ruby/compare/v1.55.0...v1.56.0) (2026-11-13)
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.56.0"
18
+ gem "orb-billing", "~> 1.57.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -74,6 +74,12 @@ module Orb
74
74
  # @return [String, nil]
75
75
  required :external_plan_id, String, nil?: true
76
76
 
77
+ # @!attribute has_draft
78
+ # Whether the plan has an unpublished draft version.
79
+ #
80
+ # @return [Boolean]
81
+ required :has_draft, Orb::Internal::Type::Boolean
82
+
77
83
  # @!attribute invoicing_currency
78
84
  # An ISO 4217 currency string for which this plan is billed in. Matches `currency`
79
85
  # unless `currency` is a custom pricing unit.
@@ -161,7 +167,7 @@ module Orb
161
167
  # @return [Integer]
162
168
  required :version, Integer
163
169
 
164
- # @!method initialize(id:, adjustments:, base_plan:, base_plan_id:, created_at:, currency:, default_invoice_memo:, description:, discount:, external_plan_id:, invoicing_currency:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, net_terms:, plan_phases:, prices:, product:, status:, trial_config:, version:)
170
+ # @!method initialize(id:, adjustments:, base_plan:, base_plan_id:, created_at:, currency:, default_invoice_memo:, description:, discount:, external_plan_id:, has_draft:, invoicing_currency:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, net_terms:, plan_phases:, prices:, product:, status:, trial_config:, version:)
165
171
  # Some parameter documentations has been truncated, see {Orb::Models::Plan} for
166
172
  # more details.
167
173
  #
@@ -190,6 +196,8 @@ module Orb
190
196
  #
191
197
  # @param external_plan_id [String, nil] An optional user-defined ID for this plan resource, used throughout the system a
192
198
  #
199
+ # @param has_draft [Boolean] Whether the plan has an unpublished draft version.
200
+ #
193
201
  # @param invoicing_currency [String] An ISO 4217 currency string for which this plan is billed in. Matches `currency`
194
202
  #
195
203
  # @param maximum [Orb::Models::Maximum, nil]
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.56.0"
4
+ VERSION = "1.57.0"
5
5
  end
@@ -51,6 +51,10 @@ module Orb
51
51
  sig { returns(T.nilable(String)) }
52
52
  attr_accessor :external_plan_id
53
53
 
54
+ # Whether the plan has an unpublished draft version.
55
+ sig { returns(T::Boolean) }
56
+ attr_accessor :has_draft
57
+
54
58
  # An ISO 4217 currency string for which this plan is billed in. Matches `currency`
55
59
  # unless `currency` is a custom pricing unit.
56
60
  sig { returns(String) }
@@ -153,6 +157,7 @@ module Orb
153
157
  )
154
158
  ),
155
159
  external_plan_id: T.nilable(String),
160
+ has_draft: T::Boolean,
156
161
  invoicing_currency: String,
157
162
  maximum: T.nilable(Orb::Maximum::OrHash),
158
163
  maximum_amount: T.nilable(String),
@@ -234,6 +239,8 @@ module Orb
234
239
  # as an alias for this Plan. Use this field to identify a plan by an existing
235
240
  # identifier in your system.
236
241
  external_plan_id:,
242
+ # Whether the plan has an unpublished draft version.
243
+ has_draft:,
237
244
  # An ISO 4217 currency string for which this plan is billed in. Matches `currency`
238
245
  # unless `currency` is a custom pricing unit.
239
246
  invoicing_currency:,
@@ -277,6 +284,7 @@ module Orb
277
284
  description: String,
278
285
  discount: T.nilable(Orb::Discount::Variants),
279
286
  external_plan_id: T.nilable(String),
287
+ has_draft: T::Boolean,
280
288
  invoicing_currency: String,
281
289
  maximum: T.nilable(Orb::Maximum),
282
290
  maximum_amount: T.nilable(String),
@@ -12,6 +12,7 @@ module Orb
12
12
  description: String,
13
13
  discount: Orb::Models::discount?,
14
14
  external_plan_id: String?,
15
+ has_draft: bool,
15
16
  invoicing_currency: String,
16
17
  maximum: Orb::Maximum?,
17
18
  maximum_amount: String?,
@@ -49,6 +50,8 @@ module Orb
49
50
 
50
51
  attr_accessor external_plan_id: String?
51
52
 
53
+ attr_accessor has_draft: bool
54
+
52
55
  attr_accessor invoicing_currency: String
53
56
 
54
57
  attr_accessor maximum: Orb::Maximum?
@@ -88,6 +91,7 @@ module Orb
88
91
  description: String,
89
92
  discount: Orb::Models::discount?,
90
93
  external_plan_id: String?,
94
+ has_draft: bool,
91
95
  invoicing_currency: String,
92
96
  maximum: Orb::Maximum?,
93
97
  maximum_amount: String?,
@@ -115,6 +119,7 @@ module Orb
115
119
  description: String,
116
120
  discount: Orb::Models::discount?,
117
121
  external_plan_id: String?,
122
+ has_draft: bool,
118
123
  invoicing_currency: String,
119
124
  maximum: Orb::Maximum?,
120
125
  maximum_amount: 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.56.0
4
+ version: 1.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orb