Skip to content

Commit 06f2f3a

Browse files
feat(api): api update
1 parent 88e7ca5 commit 06f2f3a

File tree

77 files changed

+192
-762
lines changed

Some content is hidden

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

77 files changed

+192
-762
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: 118
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-647fcb5866bd752a09db1530acb79134f9cc729b2e00d9abecc0b60806183817.yml
3-
openapi_spec_hash: 080cc78660e0a91499a46ef8bf0a3745
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-a5a28a58483355d3cc3da7ac5c452d548ee17183324318198052968121ca7dba.yml
3+
openapi_spec_hash: a317931a99e6d4a122919135a0363e40
44
config_hash: 05c94c0e6dbeab2c9b554c2e0d6371a0

lib/orb/models/new_floating_cumulative_grouped_bulk_price.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ class CumulativeGroupedBulkConfig < Orb::Internal::Type::BaseModel
180180
-> { Orb::Internal::Type::ArrayOf[Orb::NewFloatingCumulativeGroupedBulkPrice::CumulativeGroupedBulkConfig::DimensionValue] }
181181

182182
# @!attribute group
183-
# Grouping key name
184183
#
185184
# @return [String]
186185
required :group, String
@@ -190,7 +189,7 @@ class CumulativeGroupedBulkConfig < Orb::Internal::Type::BaseModel
190189
#
191190
# @param dimension_values [Array<Orb::Models::NewFloatingCumulativeGroupedBulkPrice::CumulativeGroupedBulkConfig::DimensionValue>] Each tier lower bound must have the same group of values.
192191
#
193-
# @param group [String] Grouping key name
192+
# @param group [String]
194193

195194
class DimensionValue < Orb::Internal::Type::BaseModel
196195
# @!attribute grouping_key

lib/orb/models/new_floating_grouped_tiered_package_price.rb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ class GroupedTieredPackageConfig < Orb::Internal::Type::BaseModel
179179
required :grouping_key, String
180180

181181
# @!attribute package_size
182-
# Package size
183182
#
184183
# @return [String]
185184
required :package_size, String
@@ -201,29 +200,28 @@ class GroupedTieredPackageConfig < Orb::Internal::Type::BaseModel
201200
#
202201
# @param grouping_key [String] The event property used to group before tiering
203202
#
204-
# @param package_size [String] Package size
203+
# @param package_size [String]
205204
#
206205
# @param tiers [Array<Orb::Models::NewFloatingGroupedTieredPackagePrice::GroupedTieredPackageConfig::Tier>] Apply tiered pricing after rounding up the quantity to the package size. Tiers a
207206

208207
class Tier < Orb::Internal::Type::BaseModel
209208
# @!attribute per_unit
210-
# Price per package
209+
# Per package
211210
#
212211
# @return [String]
213212
required :per_unit, String
214213

215214
# @!attribute tier_lower_bound
216-
# Tier lower bound
217215
#
218216
# @return [String]
219217
required :tier_lower_bound, String
220218

221219
# @!method initialize(per_unit:, tier_lower_bound:)
222220
# Configuration for a single tier
223221
#
224-
# @param per_unit [String] Price per package
222+
# @param per_unit [String] Per package
225223
#
226-
# @param tier_lower_bound [String] Tier lower bound
224+
# @param tier_lower_bound [String]
227225
end
228226
end
229227

lib/orb/models/new_floating_grouped_tiered_price.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ class GroupedTieredConfig < Orb::Internal::Type::BaseModel
198198

199199
class Tier < Orb::Internal::Type::BaseModel
200200
# @!attribute tier_lower_bound
201-
# Tier lower bound
202201
#
203202
# @return [String]
204203
required :tier_lower_bound, String
@@ -212,7 +211,7 @@ class Tier < Orb::Internal::Type::BaseModel
212211
# @!method initialize(tier_lower_bound:, unit_amount:)
213212
# Configuration for a single tier
214213
#
215-
# @param tier_lower_bound [String] Tier lower bound
214+
# @param tier_lower_bound [String]
216215
#
217216
# @param unit_amount [String] Per unit amount
218217
end

lib/orb/models/new_floating_grouped_with_metered_minimum_price.rb

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -233,28 +233,24 @@ class GroupedWithMeteredMinimumConfig < Orb::Internal::Type::BaseModel
233233

234234
class ScalingFactor < Orb::Internal::Type::BaseModel
235235
# @!attribute scaling_factor
236-
# Scaling factor
237236
#
238237
# @return [String]
239238
required :scaling_factor, String
240239

241240
# @!attribute scaling_value
242-
# Scaling value
243241
#
244242
# @return [String]
245243
required :scaling_value, String
246244

247245
# @!method initialize(scaling_factor:, scaling_value:)
248246
# Configuration for a scaling factor
249247
#
250-
# @param scaling_factor [String] Scaling factor
251-
#
252-
# @param scaling_value [String] Scaling value
248+
# @param scaling_factor [String]
249+
# @param scaling_value [String]
253250
end
254251

255252
class UnitAmount < Orb::Internal::Type::BaseModel
256253
# @!attribute pricing_value
257-
# Pricing value
258254
#
259255
# @return [String]
260256
required :pricing_value, String
@@ -268,7 +264,7 @@ class UnitAmount < Orb::Internal::Type::BaseModel
268264
# @!method initialize(pricing_value:, unit_amount:)
269265
# Configuration for a unit amount
270266
#
271-
# @param pricing_value [String] Pricing value
267+
# @param pricing_value [String]
272268
#
273269
# @param unit_amount [String] Per unit amount
274270
end

lib/orb/models/new_floating_max_group_tiered_package_price.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ class MaxGroupTieredPackageConfig < Orb::Internal::Type::BaseModel
179179
required :grouping_key, String
180180

181181
# @!attribute package_size
182-
# Package size
183182
#
184183
# @return [String]
185184
required :package_size, String
@@ -200,13 +199,12 @@ class MaxGroupTieredPackageConfig < Orb::Internal::Type::BaseModel
200199
#
201200
# @param grouping_key [String] The event property used to group before tiering the group with the highest value
202201
#
203-
# @param package_size [String] Package size
202+
# @param package_size [String]
204203
#
205204
# @param tiers [Array<Orb::Models::NewFloatingMaxGroupTieredPackagePrice::MaxGroupTieredPackageConfig::Tier>] Apply tiered pricing to the largest group after grouping with the provided key.
206205

207206
class Tier < Orb::Internal::Type::BaseModel
208207
# @!attribute tier_lower_bound
209-
# Tier lower bound
210208
#
211209
# @return [String]
212210
required :tier_lower_bound, String
@@ -220,7 +218,7 @@ class Tier < Orb::Internal::Type::BaseModel
220218
# @!method initialize(tier_lower_bound:, unit_amount:)
221219
# Configuration for a single tier
222220
#
223-
# @param tier_lower_bound [String] Tier lower bound
221+
# @param tier_lower_bound [String]
224222
#
225223
# @param unit_amount [String] Per unit amount
226224
end

lib/orb/models/new_floating_package_with_allocation_price.rb

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -185,31 +185,26 @@ module ModelType
185185
# @see Orb::Models::NewFloatingPackageWithAllocationPrice#package_with_allocation_config
186186
class PackageWithAllocationConfig < Orb::Internal::Type::BaseModel
187187
# @!attribute allocation
188-
# Usage allocation
189188
#
190189
# @return [String]
191190
required :allocation, String
192191

193192
# @!attribute package_amount
194-
# Price per package
195193
#
196194
# @return [String]
197195
required :package_amount, String
198196

199197
# @!attribute package_size
200-
# Package size
201198
#
202199
# @return [String]
203200
required :package_size, String
204201

205202
# @!method initialize(allocation:, package_amount:, package_size:)
206203
# Configuration for package_with_allocation pricing
207204
#
208-
# @param allocation [String] Usage allocation
209-
#
210-
# @param package_amount [String] Price per package
211-
#
212-
# @param package_size [String] Package size
205+
# @param allocation [String]
206+
# @param package_amount [String]
207+
# @param package_size [String]
213208
end
214209
end
215210
end

lib/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rb

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ class ScalableMatrixWithTieredPricingConfig < Orb::Internal::Type::BaseModel
202202
end
203203

204204
# @!attribute tiers
205-
# Tier pricing structure
206205
#
207206
# @return [Array<Orb::Models::NewFloatingScalableMatrixWithTieredPricingPrice::ScalableMatrixWithTieredPricingConfig::Tier>]
208207
required :tiers,
@@ -221,58 +220,50 @@ class ScalableMatrixWithTieredPricingConfig < Orb::Internal::Type::BaseModel
221220
#
222221
# @param matrix_scaling_factors [Array<Orb::Models::NewFloatingScalableMatrixWithTieredPricingPrice::ScalableMatrixWithTieredPricingConfig::MatrixScalingFactor>] Apply a scaling factor to each dimension
223222
#
224-
# @param tiers [Array<Orb::Models::NewFloatingScalableMatrixWithTieredPricingPrice::ScalableMatrixWithTieredPricingConfig::Tier>] Tier pricing structure
223+
# @param tiers [Array<Orb::Models::NewFloatingScalableMatrixWithTieredPricingPrice::ScalableMatrixWithTieredPricingConfig::Tier>]
225224
#
226225
# @param second_dimension [String, nil] Used for the scalable matrix second dimension (optional)
227226

228227
class MatrixScalingFactor < Orb::Internal::Type::BaseModel
229228
# @!attribute first_dimension_value
230-
# First dimension value
231229
#
232230
# @return [String]
233231
required :first_dimension_value, String
234232

235233
# @!attribute scaling_factor
236-
# Scaling factor
237234
#
238235
# @return [String]
239236
required :scaling_factor, String
240237

241238
# @!attribute second_dimension_value
242-
# Second dimension value (optional)
243239
#
244240
# @return [String, nil]
245241
optional :second_dimension_value, String, nil?: true
246242

247243
# @!method initialize(first_dimension_value:, scaling_factor:, second_dimension_value: nil)
248244
# Configuration for a single matrix scaling factor
249245
#
250-
# @param first_dimension_value [String] First dimension value
251-
#
252-
# @param scaling_factor [String] Scaling factor
253-
#
254-
# @param second_dimension_value [String, nil] Second dimension value (optional)
246+
# @param first_dimension_value [String]
247+
# @param scaling_factor [String]
248+
# @param second_dimension_value [String, nil]
255249
end
256250

257251
class Tier < Orb::Internal::Type::BaseModel
258252
# @!attribute tier_lower_bound
259-
# Tier lower bound
260253
#
261254
# @return [String]
262255
required :tier_lower_bound, String
263256

264257
# @!attribute unit_amount
265-
# Per unit amount
266258
#
267259
# @return [String]
268260
required :unit_amount, String
269261

270262
# @!method initialize(tier_lower_bound:, unit_amount:)
271263
# Configuration for a single tier entry with business logic
272264
#
273-
# @param tier_lower_bound [String] Tier lower bound
274-
#
275-
# @param unit_amount [String] Per unit amount
265+
# @param tier_lower_bound [String]
266+
# @param unit_amount [String]
276267
end
277268
end
278269
end

lib/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rb

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -234,31 +234,26 @@ class ScalableMatrixWithUnitPricingConfig < Orb::Internal::Type::BaseModel
234234

235235
class MatrixScalingFactor < Orb::Internal::Type::BaseModel
236236
# @!attribute first_dimension_value
237-
# First dimension value
238237
#
239238
# @return [String]
240239
required :first_dimension_value, String
241240

242241
# @!attribute scaling_factor
243-
# Scaling factor
244242
#
245243
# @return [String]
246244
required :scaling_factor, String
247245

248246
# @!attribute second_dimension_value
249-
# Second dimension value (optional)
250247
#
251248
# @return [String, nil]
252249
optional :second_dimension_value, String, nil?: true
253250

254251
# @!method initialize(first_dimension_value:, scaling_factor:, second_dimension_value: nil)
255252
# Configuration for a single matrix scaling factor
256253
#
257-
# @param first_dimension_value [String] First dimension value
258-
#
259-
# @param scaling_factor [String] Scaling factor
260-
#
261-
# @param second_dimension_value [String, nil] Second dimension value (optional)
254+
# @param first_dimension_value [String]
255+
# @param scaling_factor [String]
256+
# @param second_dimension_value [String, nil]
262257
end
263258
end
264259
end

lib/orb/models/new_floating_threshold_total_amount_price.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ class ThresholdTotalAmountConfig < Orb::Internal::Type::BaseModel
211211

212212
class ConsumptionTable < Orb::Internal::Type::BaseModel
213213
# @!attribute threshold
214-
# Quantity threshold
215214
#
216215
# @return [String]
217216
required :threshold, String
@@ -225,7 +224,7 @@ class ConsumptionTable < Orb::Internal::Type::BaseModel
225224
# @!method initialize(threshold:, total_amount:)
226225
# Configuration for a single threshold
227226
#
228-
# @param threshold [String] Quantity threshold
227+
# @param threshold [String]
229228
#
230229
# @param total_amount [String] Total amount for this threshold
231230
end

0 commit comments

Comments
 (0)