orb-billing 1.24.0 → 1.25.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/models/alert.rb +4 -2
- data/lib/orb/models/alert_update_params.rb +5 -3
- data/lib/orb/models/beta/external_plan_id_create_plan_version_params.rb +530 -6
- data/lib/orb/models/beta_create_plan_version_params.rb +526 -6
- data/lib/orb/models/changed_subscription_resources.rb +5 -5
- data/lib/orb/models/invoice.rb +5 -5
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +5 -5
- data/lib/orb/models/invoice_issue_summary_response.rb +3 -3
- data/lib/orb/models/invoice_line_item_create_response.rb +2 -2
- data/lib/orb/models/invoice_list_summary_response.rb +3 -3
- data/lib/orb/models/per_price_cost.rb +2 -2
- data/lib/orb/models/plan.rb +2 -2
- data/lib/orb/models/plan_create_params.rb +259 -3
- data/lib/orb/models/plan_version.rb +2 -2
- data/lib/orb/models/price.rb +433 -1
- data/lib/orb/models/price_create_params.rb +244 -3
- data/lib/orb/models/price_evaluate_multiple_params.rb +255 -3
- data/lib/orb/models/price_evaluate_preview_events_params.rb +255 -3
- data/lib/orb/models/price_interval.rb +2 -2
- data/lib/orb/models/subscription_create_params.rb +521 -6
- data/lib/orb/models/subscription_price_intervals_params.rb +251 -3
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +530 -6
- data/lib/orb/resources/alerts.rb +5 -2
- data/lib/orb/resources/customers/costs.rb +20 -0
- data/lib/orb/resources/licenses/external_licenses.rb +7 -0
- data/lib/orb/resources/licenses/usage.rb +3 -0
- data/lib/orb/resources/prices/external_price_id.rb +2 -2
- data/lib/orb/resources/prices.rb +5 -5
- data/lib/orb/version.rb +1 -1
- data/rbi/orb/models/alert.rbi +6 -2
- data/rbi/orb/models/alert_update_params.rbi +8 -4
- data/rbi/orb/models/beta/external_plan_id_create_plan_version_params.rbi +2789 -1903
- data/rbi/orb/models/beta_create_plan_version_params.rbi +2788 -1902
- data/rbi/orb/models/changed_subscription_resources.rbi +7 -6
- data/rbi/orb/models/invoice.rbi +7 -6
- data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +7 -6
- data/rbi/orb/models/invoice_issue_summary_response.rbi +6 -6
- data/rbi/orb/models/invoice_line_item_create_response.rbi +1 -0
- data/rbi/orb/models/invoice_list_summary_response.rbi +6 -6
- data/rbi/orb/models/per_price_cost.rbi +1 -0
- data/rbi/orb/models/plan.rbi +1 -0
- data/rbi/orb/models/plan_create_params.rbi +443 -0
- data/rbi/orb/models/plan_version.rbi +1 -0
- data/rbi/orb/models/price.rbi +766 -0
- data/rbi/orb/models/price_create_params.rbi +431 -0
- data/rbi/orb/models/price_evaluate_multiple_params.rbi +431 -0
- data/rbi/orb/models/price_evaluate_preview_events_params.rbi +431 -0
- data/rbi/orb/models/price_interval.rbi +1 -0
- data/rbi/orb/models/subscription_create_params.rbi +2489 -1603
- data/rbi/orb/models/subscription_price_intervals_params.rbi +431 -0
- data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +2483 -1597
- data/rbi/orb/resources/alerts.rbi +8 -3
- data/rbi/orb/resources/customers/costs.rbi +20 -0
- data/rbi/orb/resources/licenses/external_licenses.rbi +7 -0
- data/rbi/orb/resources/licenses/usage.rbi +3 -0
- data/rbi/orb/resources/prices.rbi +1 -0
- data/sig/orb/models/beta/external_plan_id_create_plan_version_params.rbs +366 -0
- data/sig/orb/models/beta_create_plan_version_params.rbs +366 -0
- data/sig/orb/models/plan_create_params.rbs +183 -0
- data/sig/orb/models/price.rbs +327 -0
- data/sig/orb/models/price_create_params.rbs +173 -0
- data/sig/orb/models/price_evaluate_multiple_params.rbs +178 -0
- data/sig/orb/models/price_evaluate_preview_events_params.rbs +178 -0
- data/sig/orb/models/subscription_create_params.rbs +366 -0
- data/sig/orb/models/subscription_price_intervals_params.rbs +178 -0
- data/sig/orb/models/subscription_schedule_plan_change_params.rbs +366 -0
- 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: de79fbf4ed1620c9277e1f1f6f6524fde44c37222433ce73b9d8f444a20d2d8b
|
|
4
|
+
data.tar.gz: 8eb3055db1a1b6083058dc5923d03d29fc5fe80e89e4da030e25bd4fe3647a18
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 85db5e245ab4a94df59236e3d6a534b45a4a34b1fcf7d0c79e0aafa9ea7549c6f2dd759259467cd1a5836f72d6e4c9582bbd371cb57c773ee0d2dad269e14726
|
|
7
|
+
data.tar.gz: 1e3fef52f706f3c3fad0c3a1c08aac382d25b9bc2b101e151cb8281f95e218f689c689b16145ca555d22eb9adb987c629b370f467fc315719232688da0a56834
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.25.0](https://github.com/orbcorp/orb-ruby/compare/v1.24.0...v1.25.0) (2026-08-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **api:** add `grouped_tiered_matrix` price model for per-dimension tiered rates ([72ccb80](https://github.com/orbcorp/orb-ruby/commit/72ccb80978cf5fca44010acb27da94f8329f42f3))
|
|
9
|
+
|
|
3
10
|
## [1.24.0](https://github.com/orbcorp/orb-ruby/compare/v1.23.0...v1.24.0) (2026-07-31)
|
|
4
11
|
|
|
5
12
|
|
data/README.md
CHANGED
data/lib/orb/models/alert.rb
CHANGED
|
@@ -88,7 +88,9 @@ module Orb
|
|
|
88
88
|
optional :license_type, -> { Orb::Alert::LicenseType }, nil?: true
|
|
89
89
|
|
|
90
90
|
# @!attribute price_filters
|
|
91
|
-
# Filters scoping which prices are included in grouped cost alert
|
|
91
|
+
# Filters scoping which prices are included in spend and grouped cost alert
|
|
92
|
+
# evaluation. Alerts use the price_id, item_id, and price_type fields only; the
|
|
93
|
+
# alert's pricing unit is reported by currency.
|
|
92
94
|
#
|
|
93
95
|
# @return [Array<Orb::Models::Alert::PriceFilter>, nil]
|
|
94
96
|
optional :price_filters, -> { Orb::Internal::Type::ArrayOf[Orb::Alert::PriceFilter] }, nil?: true
|
|
@@ -139,7 +141,7 @@ module Orb
|
|
|
139
141
|
#
|
|
140
142
|
# @param license_type [Orb::Models::Alert::LicenseType, nil] Minified license type for alert serialization.
|
|
141
143
|
#
|
|
142
|
-
# @param price_filters [Array<Orb::Models::Alert::PriceFilter>, nil] Filters scoping which prices are included in grouped cost alert
|
|
144
|
+
# @param price_filters [Array<Orb::Models::Alert::PriceFilter>, nil] Filters scoping which prices are included in spend and grouped cost alert evalua
|
|
143
145
|
#
|
|
144
146
|
# @param threshold_overrides [Array<Orb::Models::Alert::ThresholdOverride>, nil] Per-group threshold overrides. Each override maps a specific combination of grou
|
|
145
147
|
|
|
@@ -19,8 +19,10 @@ module Orb
|
|
|
19
19
|
required :thresholds, -> { Orb::Internal::Type::ArrayOf[Orb::Threshold] }
|
|
20
20
|
|
|
21
21
|
# @!attribute price_filters
|
|
22
|
-
# Replaces the price filters on
|
|
23
|
-
#
|
|
22
|
+
# Replaces the price filters on the alert; an empty list clears them. Only
|
|
23
|
+
# applicable to spend_exceeded alerts and to cost_exceeded alerts with
|
|
24
|
+
# grouping_keys set. Alerts accept the price_id, item_id, and price_type fields
|
|
25
|
+
# only. Omit to leave unchanged.
|
|
24
26
|
#
|
|
25
27
|
# @return [Array<Orb::Models::AlertUpdateParams::PriceFilter>, nil]
|
|
26
28
|
optional :price_filters,
|
|
@@ -45,7 +47,7 @@ module Orb
|
|
|
45
47
|
#
|
|
46
48
|
# @param thresholds [Array<Orb::Models::Threshold>] The thresholds that define the values at which the alert will be triggered.
|
|
47
49
|
#
|
|
48
|
-
# @param price_filters [Array<Orb::Models::AlertUpdateParams::PriceFilter>, nil] Replaces the price filters on
|
|
50
|
+
# @param price_filters [Array<Orb::Models::AlertUpdateParams::PriceFilter>, nil] Replaces the price filters on the alert; an empty list clears them. Only applica
|
|
49
51
|
#
|
|
50
52
|
# @param threshold_overrides [Array<Orb::Models::AlertUpdateParams::ThresholdOverride>, nil] Replaces the per-group threshold overrides on a grouped cost alert; an empty lis
|
|
51
53
|
#
|