Skip to content

Commit 9d2ed65

Browse files
feat(api): api update
1 parent 1d97f15 commit 9d2ed65

92 files changed

Lines changed: 1647 additions & 457 deletions

File tree

Some content is hidden

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

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 116
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-d631cebb768659e659427b08c22243b7993936c24214eb1fc837e172c11012c2.yml
3-
openapi_spec_hash: e025faa481e0ca183949cd81548197bf
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-62651294c6bdd7c8d1c183fe4e5ba844a7ac29d80bef9e150739354a9c431ab4.yml
3+
openapi_spec_hash: 46c5d7f541c0c2143b975be9725c9189
44
config_hash: 3c3524be9607afb24d2139ce26ce5389

lib/orb/models/new_plan_bps_price.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,14 @@ class NewPlanBPSPrice < Orb::Internal::Type::BaseModel
111111
# @return [Hash{Symbol=>String, nil}, nil]
112112
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
113113

114-
# @!method initialize(bps_config:, cadence:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil)
114+
# @!attribute reference_id
115+
# A transient ID that can be used to reference this price when adding adjustments
116+
# in the same API call.
117+
#
118+
# @return [String, nil]
119+
optional :reference_id, String, nil?: true
120+
121+
# @!method initialize(bps_config:, cadence:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil, reference_id: nil)
115122
# Some parameter documentations has been truncated, see
116123
# {Orb::Models::NewPlanBPSPrice} for more details.
117124
#
@@ -148,6 +155,8 @@ class NewPlanBPSPrice < Orb::Internal::Type::BaseModel
148155
# @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
149156
#
150157
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
158+
#
159+
# @param reference_id [String, nil] A transient ID that can be used to reference this price when adding adjustments
151160

152161
# The cadence to bill for this price on.
153162
#

lib/orb/models/new_plan_bulk_bps_price.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,14 @@ class NewPlanBulkBPSPrice < Orb::Internal::Type::BaseModel
115115
# @return [Hash{Symbol=>String, nil}, nil]
116116
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
117117

118-
# @!method initialize(bulk_bps_config:, cadence:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil)
118+
# @!attribute reference_id
119+
# A transient ID that can be used to reference this price when adding adjustments
120+
# in the same API call.
121+
#
122+
# @return [String, nil]
123+
optional :reference_id, String, nil?: true
124+
125+
# @!method initialize(bulk_bps_config:, cadence:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil, reference_id: nil)
119126
# Some parameter documentations has been truncated, see
120127
# {Orb::Models::NewPlanBulkBPSPrice} for more details.
121128
#
@@ -152,6 +159,8 @@ class NewPlanBulkBPSPrice < Orb::Internal::Type::BaseModel
152159
# @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
153160
#
154161
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
162+
#
163+
# @param reference_id [String, nil] A transient ID that can be used to reference this price when adding adjustments
155164

156165
# The cadence to bill for this price on.
157166
#

lib/orb/models/new_plan_bulk_price.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,14 @@ class NewPlanBulkPrice < Orb::Internal::Type::BaseModel
111111
# @return [Hash{Symbol=>String, nil}, nil]
112112
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
113113

114-
# @!method initialize(bulk_config:, cadence:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil)
114+
# @!attribute reference_id
115+
# A transient ID that can be used to reference this price when adding adjustments
116+
# in the same API call.
117+
#
118+
# @return [String, nil]
119+
optional :reference_id, String, nil?: true
120+
121+
# @!method initialize(bulk_config:, cadence:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil, reference_id: nil)
115122
# Some parameter documentations has been truncated, see
116123
# {Orb::Models::NewPlanBulkPrice} for more details.
117124
#
@@ -148,6 +155,8 @@ class NewPlanBulkPrice < Orb::Internal::Type::BaseModel
148155
# @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
149156
#
150157
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
158+
#
159+
# @param reference_id [String, nil] A transient ID that can be used to reference this price when adding adjustments
151160

152161
# The cadence to bill for this price on.
153162
#

lib/orb/models/new_plan_bulk_with_proration_price.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,14 @@ class NewPlanBulkWithProrationPrice < Orb::Internal::Type::BaseModel
113113
# @return [Hash{Symbol=>String, nil}, nil]
114114
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
115115

116-
# @!method initialize(bulk_with_proration_config:, cadence:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil)
116+
# @!attribute reference_id
117+
# A transient ID that can be used to reference this price when adding adjustments
118+
# in the same API call.
119+
#
120+
# @return [String, nil]
121+
optional :reference_id, String, nil?: true
122+
123+
# @!method initialize(bulk_with_proration_config:, cadence:, item_id:, model_type:, name:, billable_metric_id: nil, billed_in_advance: nil, billing_cycle_configuration: nil, conversion_rate: nil, conversion_rate_config: nil, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil, reference_id: nil)
117124
# Some parameter documentations has been truncated, see
118125
# {Orb::Models::NewPlanBulkWithProrationPrice} for more details.
119126
#
@@ -150,6 +157,8 @@ class NewPlanBulkWithProrationPrice < Orb::Internal::Type::BaseModel
150157
# @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
151158
#
152159
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
160+
#
161+
# @param reference_id [String, nil] A transient ID that can be used to reference this price when adding adjustments
153162

154163
# The cadence to bill for this price on.
155164
#

lib/orb/models/new_plan_cumulative_grouped_bulk_price.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,14 @@ class NewPlanCumulativeGroupedBulkPrice < Orb::Internal::Type::BaseModel
113113
# @return [Hash{Symbol=>String, nil}, nil]
114114
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
115115

116-
# @!method initialize(cadence:, cumulative_grouped_bulk_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, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil)
116+
# @!attribute reference_id
117+
# A transient ID that can be used to reference this price when adding adjustments
118+
# in the same API call.
119+
#
120+
# @return [String, nil]
121+
optional :reference_id, String, nil?: true
122+
123+
# @!method initialize(cadence:, cumulative_grouped_bulk_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, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil, reference_id: nil)
117124
# Some parameter documentations has been truncated, see
118125
# {Orb::Models::NewPlanCumulativeGroupedBulkPrice} for more details.
119126
#
@@ -150,6 +157,8 @@ class NewPlanCumulativeGroupedBulkPrice < Orb::Internal::Type::BaseModel
150157
# @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
151158
#
152159
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
160+
#
161+
# @param reference_id [String, nil] A transient ID that can be used to reference this price when adding adjustments
153162

154163
# The cadence to bill for this price on.
155164
#

lib/orb/models/new_plan_grouped_allocation_price.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,14 @@ class NewPlanGroupedAllocationPrice < Orb::Internal::Type::BaseModel
113113
# @return [Hash{Symbol=>String, nil}, nil]
114114
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
115115

116-
# @!method initialize(cadence:, 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, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil)
116+
# @!attribute reference_id
117+
# A transient ID that can be used to reference this price when adding adjustments
118+
# in the same API call.
119+
#
120+
# @return [String, nil]
121+
optional :reference_id, String, nil?: true
122+
123+
# @!method initialize(cadence:, 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, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil, reference_id: nil)
117124
# Some parameter documentations has been truncated, see
118125
# {Orb::Models::NewPlanGroupedAllocationPrice} for more details.
119126
#
@@ -150,6 +157,8 @@ class NewPlanGroupedAllocationPrice < Orb::Internal::Type::BaseModel
150157
# @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
151158
#
152159
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
160+
#
161+
# @param reference_id [String, nil] A transient ID that can be used to reference this price when adding adjustments
153162

154163
# The cadence to bill for this price on.
155164
#

lib/orb/models/new_plan_grouped_tiered_package_price.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,14 @@ class NewPlanGroupedTieredPackagePrice < Orb::Internal::Type::BaseModel
113113
# @return [Hash{Symbol=>String, nil}, nil]
114114
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
115115

116-
# @!method initialize(cadence:, 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, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil)
116+
# @!attribute reference_id
117+
# A transient ID that can be used to reference this price when adding adjustments
118+
# in the same API call.
119+
#
120+
# @return [String, nil]
121+
optional :reference_id, String, nil?: true
122+
123+
# @!method initialize(cadence:, 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, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil, reference_id: nil)
117124
# Some parameter documentations has been truncated, see
118125
# {Orb::Models::NewPlanGroupedTieredPackagePrice} for more details.
119126
#
@@ -150,6 +157,8 @@ class NewPlanGroupedTieredPackagePrice < Orb::Internal::Type::BaseModel
150157
# @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
151158
#
152159
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
160+
#
161+
# @param reference_id [String, nil] A transient ID that can be used to reference this price when adding adjustments
153162

154163
# The cadence to bill for this price on.
155164
#

lib/orb/models/new_plan_grouped_tiered_price.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,14 @@ class NewPlanGroupedTieredPrice < Orb::Internal::Type::BaseModel
113113
# @return [Hash{Symbol=>String, nil}, nil]
114114
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
115115

116-
# @!method initialize(cadence:, grouped_tiered_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, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil)
116+
# @!attribute reference_id
117+
# A transient ID that can be used to reference this price when adding adjustments
118+
# in the same API call.
119+
#
120+
# @return [String, nil]
121+
optional :reference_id, String, nil?: true
122+
123+
# @!method initialize(cadence:, grouped_tiered_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, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil, reference_id: nil)
117124
# Some parameter documentations has been truncated, see
118125
# {Orb::Models::NewPlanGroupedTieredPrice} for more details.
119126
#
@@ -150,6 +157,8 @@ class NewPlanGroupedTieredPrice < Orb::Internal::Type::BaseModel
150157
# @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
151158
#
152159
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
160+
#
161+
# @param reference_id [String, nil] A transient ID that can be used to reference this price when adding adjustments
153162

154163
# The cadence to bill for this price on.
155164
#

lib/orb/models/new_plan_grouped_with_metered_minimum_price.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,14 @@ class NewPlanGroupedWithMeteredMinimumPrice < Orb::Internal::Type::BaseModel
113113
# @return [Hash{Symbol=>String, nil}, nil]
114114
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
115115

116-
# @!method initialize(cadence:, grouped_with_metered_minimum_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, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil)
116+
# @!attribute reference_id
117+
# A transient ID that can be used to reference this price when adding adjustments
118+
# in the same API call.
119+
#
120+
# @return [String, nil]
121+
optional :reference_id, String, nil?: true
122+
123+
# @!method initialize(cadence:, grouped_with_metered_minimum_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, currency: nil, dimensional_price_configuration: nil, external_price_id: nil, fixed_price_quantity: nil, invoice_grouping_key: nil, invoicing_cycle_configuration: nil, metadata: nil, reference_id: nil)
117124
# Some parameter documentations has been truncated, see
118125
# {Orb::Models::NewPlanGroupedWithMeteredMinimumPrice} for more details.
119126
#
@@ -150,6 +157,8 @@ class NewPlanGroupedWithMeteredMinimumPrice < Orb::Internal::Type::BaseModel
150157
# @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
151158
#
152159
# @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
160+
#
161+
# @param reference_id [String, nil] A transient ID that can be used to reference this price when adding adjustments
153162

154163
# The cadence to bill for this price on.
155164
#

0 commit comments

Comments
 (0)