Skip to content

Commit a865cea

Browse files
feat(api): api update
1 parent 9a20176 commit a865cea

File tree

12 files changed

+148744
-3281
lines changed

12 files changed

+148744
-3281
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: 139
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-5bb582f84f0b4cf7bef84833fefd48a5f2734dc25805da2028fd8a6f1198da07.yml
3-
openapi_spec_hash: ced0e30dc67faa2414df511819408f12
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-dafe9f726a47bdf7e506af8f10c6abcf4321dcc58106ce2b806a918778dfe2be.yml
3+
openapi_spec_hash: 8e9827f2e8818d011e6afb203adb825f
44
config_hash: 3279841440b02d4e8303c961d6983492

lib/orb/models/beta/external_plan_id_create_plan_version_params.rb

Lines changed: 17761 additions & 413 deletions
Large diffs are not rendered by default.

lib/orb/models/beta_create_plan_version_params.rb

Lines changed: 17623 additions & 403 deletions
Large diffs are not rendered by default.

lib/orb/models/plan_create_params.rb

Lines changed: 8502 additions & 1 deletion
Large diffs are not rendered by default.

lib/orb/resources/customers/credits/ledger.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ def list(customer_id, params = {})
190190
# also generate a one-off invoice for the customer for the credits pre-purchase.
191191
# Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
192192
# on the invoice are calculated by multiplying the cost basis with the number of
193-
# credit units added.
193+
# credit units added. If you invoice or handle payment of credits outside of Orb
194+
# (i.e. marketplace customers), set `mark_as_paid` in the `invoice_settings` to
195+
# `true` to prevent duplicate invoicing effects.
194196
#
195197
# - if `per_unit_cost_basis` is greater than zero, an invoice will be generated
196198
# and `invoice_settings` must be included
@@ -356,7 +358,9 @@ def create_entry(customer_id, params)
356358
# also generate a one-off invoice for the customer for the credits pre-purchase.
357359
# Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
358360
# on the invoice are calculated by multiplying the cost basis with the number of
359-
# credit units added.
361+
# credit units added. If you invoice or handle payment of credits outside of Orb
362+
# (i.e. marketplace customers), set `mark_as_paid` in the `invoice_settings` to
363+
# `true` to prevent duplicate invoicing effects.
360364
#
361365
# - if `per_unit_cost_basis` is greater than zero, an invoice will be generated
362366
# and `invoice_settings` must be included

rbi/orb/models/beta/external_plan_id_create_plan_version_params.rbi

Lines changed: 30158 additions & 890 deletions
Large diffs are not rendered by default.

rbi/orb/models/beta_create_plan_version_params.rbi

Lines changed: 30134 additions & 898 deletions
Large diffs are not rendered by default.

rbi/orb/models/plan_create_params.rbi

Lines changed: 14618 additions & 0 deletions
Large diffs are not rendered by default.

rbi/orb/resources/customers/credits/ledger.rbi

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,9 @@ module Orb
182182
# also generate a one-off invoice for the customer for the credits pre-purchase.
183183
# Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
184184
# on the invoice are calculated by multiplying the cost basis with the number of
185-
# credit units added.
185+
# credit units added. If you invoice or handle payment of credits outside of Orb
186+
# (i.e. marketplace customers), set `mark_as_paid` in the `invoice_settings` to
187+
# `true` to prevent duplicate invoicing effects.
186188
#
187189
# - if `per_unit_cost_basis` is greater than zero, an invoice will be generated
188190
# and `invoice_settings` must be included
@@ -375,7 +377,9 @@ module Orb
375377
# also generate a one-off invoice for the customer for the credits pre-purchase.
376378
# Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
377379
# on the invoice are calculated by multiplying the cost basis with the number of
378-
# credit units added.
380+
# credit units added. If you invoice or handle payment of credits outside of Orb
381+
# (i.e. marketplace customers), set `mark_as_paid` in the `invoice_settings` to
382+
# `true` to prevent duplicate invoicing effects.
379383
#
380384
# - if `per_unit_cost_basis` is greater than zero, an invoice will be generated
381385
# and `invoice_settings` must be included

sig/orb/models/beta/external_plan_id_create_plan_version_params.rbs

Lines changed: 12052 additions & 338 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)