Skip to content

Commit eaca79d

Browse files
feat(api): api update
1 parent 46abca4 commit eaca79d

File tree

5 files changed

+14
-26
lines changed

5 files changed

+14
-26
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

orb-java-core/src/main/kotlin/com/withorb/api/models/CustomerCreditLedgerListByExternalIdParams.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,8 @@ import kotlin.jvm.optionals.getOrNull
3838
*
3939
* As usage for a customer is reported into Orb, credits may be deducted according to the customer's
4040
* plan configuration. An automated deduction of this type will result in a ledger entry, also with
41-
* a starting and ending balance. In order to provide better tracing capabilities for automatic
42-
* deductions, Orb always associates each automatic deduction with the `event_id` at the time of
43-
* ingestion, used to pinpoint _why_ credit deduction took place and to ensure that credits are
44-
* never deducted without an associated usage event.
41+
* a starting and ending balance. Each day's usage for a particular price, invoice, and block will
42+
* be grouped into a single entry.
4543
*
4644
* By default, Orb uses an algorithm that automatically deducts from the *soonest expiring credit
4745
* block* first in order to ensure that all credits are utilized appropriately. As an example, if

orb-java-core/src/main/kotlin/com/withorb/api/models/CustomerCreditLedgerListParams.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,8 @@ import kotlin.jvm.optionals.getOrNull
3838
*
3939
* As usage for a customer is reported into Orb, credits may be deducted according to the customer's
4040
* plan configuration. An automated deduction of this type will result in a ledger entry, also with
41-
* a starting and ending balance. In order to provide better tracing capabilities for automatic
42-
* deductions, Orb always associates each automatic deduction with the `event_id` at the time of
43-
* ingestion, used to pinpoint _why_ credit deduction took place and to ensure that credits are
44-
* never deducted without an associated usage event.
41+
* a starting and ending balance. Each day's usage for a particular price, invoice, and block will
42+
* be grouped into a single entry.
4543
*
4644
* By default, Orb uses an algorithm that automatically deducts from the *soonest expiring credit
4745
* block* first in order to ensure that all credits are utilized appropriately. As an example, if

orb-java-core/src/main/kotlin/com/withorb/api/services/async/customers/credits/LedgerServiceAsync.kt

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,8 @@ interface LedgerServiceAsync {
5454
*
5555
* As usage for a customer is reported into Orb, credits may be deducted according to the
5656
* customer's plan configuration. An automated deduction of this type will result in a ledger
57-
* entry, also with a starting and ending balance. In order to provide better tracing
58-
* capabilities for automatic deductions, Orb always associates each automatic deduction with
59-
* the `event_id` at the time of ingestion, used to pinpoint _why_ credit deduction took place
60-
* and to ensure that credits are never deducted without an associated usage event.
57+
* entry, also with a starting and ending balance. Each day's usage for a particular price,
58+
* invoice, and block will be grouped into a single entry.
6159
*
6260
* By default, Orb uses an algorithm that automatically deducts from the *soonest expiring
6361
* credit block* first in order to ensure that all credits are utilized appropriately. As an
@@ -415,10 +413,8 @@ interface LedgerServiceAsync {
415413
*
416414
* As usage for a customer is reported into Orb, credits may be deducted according to the
417415
* customer's plan configuration. An automated deduction of this type will result in a ledger
418-
* entry, also with a starting and ending balance. In order to provide better tracing
419-
* capabilities for automatic deductions, Orb always associates each automatic deduction with
420-
* the `event_id` at the time of ingestion, used to pinpoint _why_ credit deduction took place
421-
* and to ensure that credits are never deducted without an associated usage event.
416+
* entry, also with a starting and ending balance. Each day's usage for a particular price,
417+
* invoice, and block will be grouped into a single entry.
422418
*
423419
* By default, Orb uses an algorithm that automatically deducts from the *soonest expiring
424420
* credit block* first in order to ensure that all credits are utilized appropriately. As an

orb-java-core/src/main/kotlin/com/withorb/api/services/blocking/customers/credits/LedgerService.kt

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,8 @@ interface LedgerService {
5454
*
5555
* As usage for a customer is reported into Orb, credits may be deducted according to the
5656
* customer's plan configuration. An automated deduction of this type will result in a ledger
57-
* entry, also with a starting and ending balance. In order to provide better tracing
58-
* capabilities for automatic deductions, Orb always associates each automatic deduction with
59-
* the `event_id` at the time of ingestion, used to pinpoint _why_ credit deduction took place
60-
* and to ensure that credits are never deducted without an associated usage event.
57+
* entry, also with a starting and ending balance. Each day's usage for a particular price,
58+
* invoice, and block will be grouped into a single entry.
6159
*
6260
* By default, Orb uses an algorithm that automatically deducts from the *soonest expiring
6361
* credit block* first in order to ensure that all credits are utilized appropriately. As an
@@ -409,10 +407,8 @@ interface LedgerService {
409407
*
410408
* As usage for a customer is reported into Orb, credits may be deducted according to the
411409
* customer's plan configuration. An automated deduction of this type will result in a ledger
412-
* entry, also with a starting and ending balance. In order to provide better tracing
413-
* capabilities for automatic deductions, Orb always associates each automatic deduction with
414-
* the `event_id` at the time of ingestion, used to pinpoint _why_ credit deduction took place
415-
* and to ensure that credits are never deducted without an associated usage event.
410+
* entry, also with a starting and ending balance. Each day's usage for a particular price,
411+
* invoice, and block will be grouped into a single entry.
416412
*
417413
* By default, Orb uses an algorithm that automatically deducts from the *soonest expiring
418414
* credit block* first in order to ensure that all credits are utilized appropriately. As an

0 commit comments

Comments
 (0)