Skip to content

Commit d8f27e8

Browse files
feat(api): api update
1 parent 2bc3e43 commit d8f27e8

File tree

4 files changed

+10
-20
lines changed

4 files changed

+10
-20
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

src/Orb/Models/Customers/Credits/Ledger/LedgerListByExternalIDParams.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,8 @@ namespace Orb.Models.Customers.Credits.Ledger;
3131
///
3232
/// <para>As usage for a customer is reported into Orb, credits may be deducted according
3333
/// to the customer's plan configuration. An automated deduction of this type will
34-
/// result in a ledger entry, also with a starting and ending balance. In order to
35-
/// provide better tracing capabilities for automatic deductions, Orb always associates
36-
/// each automatic deduction with the `event_id` at the time of ingestion, used to
37-
/// pinpoint _why_ credit deduction took place and to ensure that credits are never
38-
/// deducted without an associated usage event.</para>
34+
/// result in a ledger entry, also with a starting and ending balance. Each day's
35+
/// usage for a particular price, invoice, and block will be grouped into a single entry.</para>
3936
///
4037
/// <para>By default, Orb uses an algorithm that automatically deducts from the *soonest
4138
/// expiring credit block* first in order to ensure that all credits are utilized

src/Orb/Models/Customers/Credits/Ledger/LedgerListParams.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,8 @@ namespace Orb.Models.Customers.Credits.Ledger;
3131
///
3232
/// <para>As usage for a customer is reported into Orb, credits may be deducted according
3333
/// to the customer's plan configuration. An automated deduction of this type will
34-
/// result in a ledger entry, also with a starting and ending balance. In order to
35-
/// provide better tracing capabilities for automatic deductions, Orb always associates
36-
/// each automatic deduction with the `event_id` at the time of ingestion, used to
37-
/// pinpoint _why_ credit deduction took place and to ensure that credits are never
38-
/// deducted without an associated usage event.</para>
34+
/// result in a ledger entry, also with a starting and ending balance. Each day's
35+
/// usage for a particular price, invoice, and block will be grouped into a single entry.</para>
3936
///
4037
/// <para>By default, Orb uses an algorithm that automatically deducts from the *soonest
4138
/// expiring credit block* first in order to ensure that all credits are utilized

src/Orb/Services/Customers/Credits/ILedgerService.cs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,8 @@ public interface ILedgerService
4949
/// <para>As usage for a customer is reported into Orb, credits may be deducted
5050
/// according to the customer's plan configuration. An automated deduction of
5151
/// this type will result in a ledger entry, also with a starting and ending balance.
52-
/// In order to provide better tracing capabilities for automatic deductions,
53-
/// Orb always associates each automatic deduction with the `event_id` at the
54-
/// time of ingestion, used to pinpoint _why_ credit deduction took place and
55-
/// to ensure that credits are never deducted without an associated usage event.</para>
52+
/// Each day's usage for a particular price, invoice, and block will be grouped
53+
/// into a single entry.</para>
5654
///
5755
/// <para>By default, Orb uses an algorithm that automatically deducts from the
5856
/// *soonest expiring credit block* first in order to ensure that all credits
@@ -328,10 +326,8 @@ Task<LedgerCreateEntryByExternalIDResponse> CreateEntryByExternalID(
328326
/// <para>As usage for a customer is reported into Orb, credits may be deducted
329327
/// according to the customer's plan configuration. An automated deduction of
330328
/// this type will result in a ledger entry, also with a starting and ending balance.
331-
/// In order to provide better tracing capabilities for automatic deductions,
332-
/// Orb always associates each automatic deduction with the `event_id` at the
333-
/// time of ingestion, used to pinpoint _why_ credit deduction took place and
334-
/// to ensure that credits are never deducted without an associated usage event.</para>
329+
/// Each day's usage for a particular price, invoice, and block will be grouped
330+
/// into a single entry.</para>
335331
///
336332
/// <para>By default, Orb uses an algorithm that automatically deducts from the
337333
/// *soonest expiring credit block* first in order to ensure that all credits

0 commit comments

Comments
 (0)