Skip to content

Commit 82a95e1

Browse files
feat(api): api update
1 parent b28aaa6 commit 82a95e1

File tree

3 files changed

+14
-22
lines changed

3 files changed

+14
-22
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-c131de17773b450eb1ec03ca001f94d3777e35347234869a7efee083003e1513.yml
3-
openapi_spec_hash: 5d2d4a3a9ada1c381efb318b6897994d
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-6017828d1287c194d4d7759dc5b5410225ab58af66ff8605315f70f5e623b82d.yml
3+
openapi_spec_hash: 4390eaf377258fcd7db1dbc073a2c23f
44
config_hash: bcf82bddb691f6be773ac6cae8c03b9a

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,9 @@ class Ledger
3333
#
3434
# As usage for a customer is reported into Orb, credits may be deducted according
3535
# to the customer's plan configuration. An automated deduction of this type will
36-
# result in a ledger entry, also with a starting and ending balance. In order to
37-
# provide better tracing capabilities for automatic deductions, Orb always
38-
# associates each automatic deduction with the `event_id` at the time of
39-
# ingestion, used to pinpoint _why_ credit deduction took place and to ensure that
40-
# credits are never deducted without an associated usage event.
36+
# result in a ledger entry, also with a starting and ending balance. Each day's
37+
# usage for a particular price, invoice, and block will be grouped into a single
38+
# entry.
4139
#
4240
# By default, Orb uses an algorithm that automatically deducts from the _soonest
4341
# expiring credit block_ first in order to ensure that all credits are utilized
@@ -486,11 +484,9 @@ def create_entry_by_external_id(external_customer_id, params)
486484
#
487485
# As usage for a customer is reported into Orb, credits may be deducted according
488486
# to the customer's plan configuration. An automated deduction of this type will
489-
# result in a ledger entry, also with a starting and ending balance. In order to
490-
# provide better tracing capabilities for automatic deductions, Orb always
491-
# associates each automatic deduction with the `event_id` at the time of
492-
# ingestion, used to pinpoint _why_ credit deduction took place and to ensure that
493-
# credits are never deducted without an associated usage event.
487+
# result in a ledger entry, also with a starting and ending balance. Each day's
488+
# usage for a particular price, invoice, and block will be grouped into a single
489+
# entry.
494490
#
495491
# By default, Orb uses an algorithm that automatically deducts from the _soonest
496492
# expiring credit block_ first in order to ensure that all credits are utilized

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,9 @@ module Orb
3030
#
3131
# As usage for a customer is reported into Orb, credits may be deducted according
3232
# to the customer's plan configuration. An automated deduction of this type will
33-
# result in a ledger entry, also with a starting and ending balance. In order to
34-
# provide better tracing capabilities for automatic deductions, Orb always
35-
# associates each automatic deduction with the `event_id` at the time of
36-
# ingestion, used to pinpoint _why_ credit deduction took place and to ensure that
37-
# credits are never deducted without an associated usage event.
33+
# result in a ledger entry, also with a starting and ending balance. Each day's
34+
# usage for a particular price, invoice, and block will be grouped into a single
35+
# entry.
3836
#
3937
# By default, Orb uses an algorithm that automatically deducts from the _soonest
4038
# expiring credit block_ first in order to ensure that all credits are utilized
@@ -533,11 +531,9 @@ module Orb
533531
#
534532
# As usage for a customer is reported into Orb, credits may be deducted according
535533
# to the customer's plan configuration. An automated deduction of this type will
536-
# result in a ledger entry, also with a starting and ending balance. In order to
537-
# provide better tracing capabilities for automatic deductions, Orb always
538-
# associates each automatic deduction with the `event_id` at the time of
539-
# ingestion, used to pinpoint _why_ credit deduction took place and to ensure that
540-
# credits are never deducted without an associated usage event.
534+
# result in a ledger entry, also with a starting and ending balance. Each day's
535+
# usage for a particular price, invoice, and block will be grouped into a single
536+
# entry.
541537
#
542538
# By default, Orb uses an algorithm that automatically deducts from the _soonest
543539
# expiring credit block_ first in order to ensure that all credits are utilized

0 commit comments

Comments
 (0)