Skip to content

Commit 065b4c0

Browse files
feat(api): api update
1 parent 60bf3f3 commit 065b4c0

File tree

272 files changed

+8122
-483
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

272 files changed

+8122
-483
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 126
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-931771ff4ab183044ee50ce43ea794ac0a15bfafbaf7df61ac0344af3ff08944.yml
3-
openapi_spec_hash: 71371804e373f662585284bf5d93cc62
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-6aa83a816c15600a3d6d378d7804a345505c76726059c19369db4e7766a71cbd.yml
3+
openapi_spec_hash: f283d730e5320f9595c3c0a5902f5cbb
44
config_hash: bcf82bddb691f6be773ac6cae8c03b9a

lib/orb/models/allocation.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,17 @@ class Allocation < Orb::Internal::Type::BaseModel
2323
# @return [Array<Orb::Models::Allocation::Filter>, nil]
2424
optional :filters, -> { Orb::Internal::Type::ArrayOf[Orb::Allocation::Filter] }
2525

26-
# @!method initialize(allows_rollover:, currency:, custom_expiration:, filters: nil)
26+
# @!attribute license_type_id
27+
#
28+
# @return [String, nil]
29+
optional :license_type_id, String, nil?: true
30+
31+
# @!method initialize(allows_rollover:, currency:, custom_expiration:, filters: nil, license_type_id: nil)
2732
# @param allows_rollover [Boolean]
2833
# @param currency [String]
2934
# @param custom_expiration [Orb::Models::CustomExpiration, nil]
3035
# @param filters [Array<Orb::Models::Allocation::Filter>]
36+
# @param license_type_id [String, nil]
3137

3238
class Filter < Orb::Internal::Type::BaseModel
3339
# @!attribute field

lib/orb/models/beta/external_plan_id_create_plan_version_params.rb

Lines changed: 108 additions & 12 deletions
Large diffs are not rendered by default.

lib/orb/models/beta_create_plan_version_params.rb

Lines changed: 108 additions & 12 deletions
Large diffs are not rendered by default.

lib/orb/models/new_allocation_price.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ class NewAllocationPrice < Orb::Internal::Type::BaseModel
4949
# @return [String, nil]
5050
optional :item_id, String, nil?: true
5151

52+
# @!attribute license_type_id
53+
# The license type ID to associate the price with license allocation.
54+
#
55+
# @return [String, nil]
56+
optional :license_type_id, String, nil?: true
57+
5258
# @!attribute per_unit_cost_basis
5359
# The (per-unit) cost basis of each created block. If non-zero, a customer will be
5460
# invoiced according to the quantity and per unit cost basis specified for the
@@ -57,7 +63,7 @@ class NewAllocationPrice < Orb::Internal::Type::BaseModel
5763
# @return [String, nil]
5864
optional :per_unit_cost_basis, String
5965

60-
# @!method initialize(amount:, cadence:, currency:, custom_expiration: nil, expires_at_end_of_cadence: nil, filters: nil, item_id: nil, per_unit_cost_basis: nil)
66+
# @!method initialize(amount:, cadence:, currency:, custom_expiration: nil, expires_at_end_of_cadence: nil, filters: nil, item_id: nil, license_type_id: nil, per_unit_cost_basis: nil)
6167
# Some parameter documentations has been truncated, see
6268
# {Orb::Models::NewAllocationPrice} for more details.
6369
#
@@ -75,6 +81,8 @@ class NewAllocationPrice < Orb::Internal::Type::BaseModel
7581
#
7682
# @param item_id [String, nil] The item ID that line items representing charges for this allocation will be ass
7783
#
84+
# @param license_type_id [String, nil] The license type ID to associate the price with license allocation.
85+
#
7886
# @param per_unit_cost_basis [String] The (per-unit) cost basis of each created block. If non-zero, a customer will be
7987

8088
# The cadence at which to allocate the amount to the customer.

lib/orb/models/new_floating_bulk_price.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ class NewFloatingBulkPrice < Orb::Internal::Type::BaseModel
106106
# @return [Orb::Models::NewBillingCycleConfiguration, nil]
107107
optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
108108

109+
# @!attribute license_type_id
110+
# The ID of the license type to associate with this price.
111+
#
112+
# @return [String, nil]
113+
optional :license_type_id, String, nil?: true
114+
109115
# @!attribute metadata
110116
# User-specified key/value pairs for the resource. Individual keys can be removed
111117
# by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -114,7 +120,7 @@ class NewFloatingBulkPrice < Orb::Internal::Type::BaseModel
114120
# @return [Hash{Symbol=>String, nil}, nil]
115121
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
116122

117-
# @!method initialize(bulk_config:, cadence:, currency:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil)
123+
# @!method initialize(bulk_config:, cadence:, currency:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, license_type_id: nil, metadata: nil)
118124
# Some parameter documentations has been truncated, see
119125
# {Orb::Models::NewFloatingBulkPrice} for more details.
120126
#
@@ -150,6 +156,8 @@ class NewFloatingBulkPrice < Orb::Internal::Type::BaseModel
150156
#
151157
# @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
152158
#
159+
# @param license_type_id [String, nil] The ID of the license type to associate with this price.
160+
#
153161
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
154162

155163
# The cadence to bill for this price on.

lib/orb/models/new_floating_bulk_with_proration_price.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ class NewFloatingBulkWithProrationPrice < Orb::Internal::Type::BaseModel
107107
# @return [Orb::Models::NewBillingCycleConfiguration, nil]
108108
optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
109109

110+
# @!attribute license_type_id
111+
# The ID of the license type to associate with this price.
112+
#
113+
# @return [String, nil]
114+
optional :license_type_id, String, nil?: true
115+
110116
# @!attribute metadata
111117
# User-specified key/value pairs for the resource. Individual keys can be removed
112118
# by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -115,7 +121,7 @@ class NewFloatingBulkWithProrationPrice < Orb::Internal::Type::BaseModel
115121
# @return [Hash{Symbol=>String, nil}, nil]
116122
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
117123

118-
# @!method initialize(bulk_with_proration_config:, cadence:, currency:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil)
124+
# @!method initialize(bulk_with_proration_config:, cadence:, currency:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, license_type_id: nil, metadata: nil)
119125
# Some parameter documentations has been truncated, see
120126
# {Orb::Models::NewFloatingBulkWithProrationPrice} for more details.
121127
#
@@ -151,6 +157,8 @@ class NewFloatingBulkWithProrationPrice < Orb::Internal::Type::BaseModel
151157
#
152158
# @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
153159
#
160+
# @param license_type_id [String, nil] The ID of the license type to associate with this price.
161+
#
154162
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
155163

156164
# @see Orb::Models::NewFloatingBulkWithProrationPrice#bulk_with_proration_config

lib/orb/models/new_floating_cumulative_grouped_bulk_price.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ class NewFloatingCumulativeGroupedBulkPrice < Orb::Internal::Type::BaseModel
107107
# @return [Orb::Models::NewBillingCycleConfiguration, nil]
108108
optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
109109

110+
# @!attribute license_type_id
111+
# The ID of the license type to associate with this price.
112+
#
113+
# @return [String, nil]
114+
optional :license_type_id, String, nil?: true
115+
110116
# @!attribute metadata
111117
# User-specified key/value pairs for the resource. Individual keys can be removed
112118
# by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -115,7 +121,7 @@ class NewFloatingCumulativeGroupedBulkPrice < Orb::Internal::Type::BaseModel
115121
# @return [Hash{Symbol=>String, nil}, nil]
116122
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
117123

118-
# @!method initialize(cadence:, cumulative_grouped_bulk_config:, currency:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil)
124+
# @!method initialize(cadence:, cumulative_grouped_bulk_config:, currency:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, license_type_id: nil, metadata: nil)
119125
# Some parameter documentations has been truncated, see
120126
# {Orb::Models::NewFloatingCumulativeGroupedBulkPrice} for more details.
121127
#
@@ -151,6 +157,8 @@ class NewFloatingCumulativeGroupedBulkPrice < Orb::Internal::Type::BaseModel
151157
#
152158
# @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
153159
#
160+
# @param license_type_id [String, nil] The ID of the license type to associate with this price.
161+
#
154162
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
155163

156164
# The cadence to bill for this price on.

lib/orb/models/new_floating_grouped_allocation_price.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ class NewFloatingGroupedAllocationPrice < Orb::Internal::Type::BaseModel
107107
# @return [Orb::Models::NewBillingCycleConfiguration, nil]
108108
optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
109109

110+
# @!attribute license_type_id
111+
# The ID of the license type to associate with this price.
112+
#
113+
# @return [String, nil]
114+
optional :license_type_id, String, nil?: true
115+
110116
# @!attribute metadata
111117
# User-specified key/value pairs for the resource. Individual keys can be removed
112118
# by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -115,7 +121,7 @@ class NewFloatingGroupedAllocationPrice < Orb::Internal::Type::BaseModel
115121
# @return [Hash{Symbol=>String, nil}, nil]
116122
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
117123

118-
# @!method initialize(cadence:, currency:, grouped_allocation_config:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil)
124+
# @!method initialize(cadence:, currency:, grouped_allocation_config:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, license_type_id: nil, metadata: nil)
119125
# Some parameter documentations has been truncated, see
120126
# {Orb::Models::NewFloatingGroupedAllocationPrice} for more details.
121127
#
@@ -151,6 +157,8 @@ class NewFloatingGroupedAllocationPrice < Orb::Internal::Type::BaseModel
151157
#
152158
# @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
153159
#
160+
# @param license_type_id [String, nil] The ID of the license type to associate with this price.
161+
#
154162
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
155163

156164
# The cadence to bill for this price on.

lib/orb/models/new_floating_grouped_tiered_package_price.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ class NewFloatingGroupedTieredPackagePrice < Orb::Internal::Type::BaseModel
107107
# @return [Orb::Models::NewBillingCycleConfiguration, nil]
108108
optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
109109

110+
# @!attribute license_type_id
111+
# The ID of the license type to associate with this price.
112+
#
113+
# @return [String, nil]
114+
optional :license_type_id, String, nil?: true
115+
110116
# @!attribute metadata
111117
# User-specified key/value pairs for the resource. Individual keys can be removed
112118
# by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -115,7 +121,7 @@ class NewFloatingGroupedTieredPackagePrice < Orb::Internal::Type::BaseModel
115121
# @return [Hash{Symbol=>String, nil}, nil]
116122
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
117123

118-
# @!method initialize(cadence:, currency:, grouped_tiered_package_config:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil)
124+
# @!method initialize(cadence:, currency:, grouped_tiered_package_config:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, license_type_id: nil, metadata: nil)
119125
# Some parameter documentations has been truncated, see
120126
# {Orb::Models::NewFloatingGroupedTieredPackagePrice} for more details.
121127
#
@@ -151,6 +157,8 @@ class NewFloatingGroupedTieredPackagePrice < Orb::Internal::Type::BaseModel
151157
#
152158
# @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
153159
#
160+
# @param license_type_id [String, nil] The ID of the license type to associate with this price.
161+
#
154162
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
155163

156164
# The cadence to bill for this price on.

0 commit comments

Comments
 (0)