Skip to content

Commit 1152bfb

Browse files
feat(api): api update
1 parent d480c4b commit 1152bfb

File tree

11 files changed

+23
-25
lines changed

11 files changed

+23
-25
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-17c43dab26af75e1b9f7e61ac8da1219cea65c7d0666d98686b71a60183e458d.yml
3-
openapi_spec_hash: 7d7f4d41ccb2023153327ca685dcf942
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-1ca41c4b1d872cf2a198c8cf5edeeeddac012259a7cf211b102bf137c05b8240.yml
3+
openapi_spec_hash: 955066d4865fc42440cd81e40f5f79cd
44
config_hash: c01c1191b1cd696c7ca855ff6d28a8df

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import kotlin.jvm.optionals.getOrNull
1414
*
1515
* The list of coupons is ordered starting from the most recently created coupon. The response also
1616
* includes `pagination_metadata`, which lets the caller retrieve the next page of results if they
17-
* exist. More information about pagination can be found in the Pagination-metadata schema.
17+
* exist.
1818
*/
1919
class CouponListParams
2020
private constructor(

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ import kotlin.jvm.optionals.getOrNull
2525
* Creating the backfill enables adding or replacing past events, even those that are older than the
2626
* ingestion grace period. Performing a backfill in Orb involves 3 steps:
2727
* 1. Create the backfill, specifying its parameters.
28-
* 2. [Ingest](ingest) usage events, referencing the backfill (query parameter `backfill_id`).
28+
* 2. [Ingest](/api-reference/event/ingest-events) usage events, referencing the backfill (query
29+
* parameter `backfill_id`).
2930
* 3. [Close](close-backfill) the backfill, propagating the update in past usage throughout Orb.
3031
*
3132
* Changes from a backfill are not reflected until the backfill is closed, so you won’t need to

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ import kotlin.jvm.optionals.getOrNull
1414
*
1515
* The list of backfills is ordered starting from the most recently created backfill. The response
1616
* also includes [`pagination_metadata`](/api-reference/pagination), which lets the caller retrieve
17-
* the next page of results if they exist. More information about pagination can be found in the
18-
* [Pagination-metadata schema](pagination).
17+
* the next page of results if they exist.
1918
*/
2019
class EventBackfillListParams
2120
private constructor(

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ import kotlin.jvm.optionals.getOrNull
2222
* rather than a currency).
2323
*
2424
* The semantics of this endpoint exactly mirror those of
25-
* [fetching a customer's costs](fetch-customer-costs). Use this endpoint to limit your analysis of
26-
* costs to a specific subscription for the customer (e.g. to de-aggregate costs when a customer's
27-
* subscription has started and stopped on the same day).
25+
* [fetching a customer's costs](/api-reference/customer/fetch-customer-costs). Use this endpoint to
26+
* limit your analysis of costs to a specific subscription for the customer (e.g. to de-aggregate
27+
* costs when a customer's subscription has started and stopped on the same day).
2828
*/
2929
class SubscriptionFetchCostsParams
3030
private constructor(

orb-java-core/src/main/kotlin/com/withorb/api/services/async/CouponServiceAsync.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ interface CouponServiceAsync {
6161
*
6262
* The list of coupons is ordered starting from the most recently created coupon. The response
6363
* also includes `pagination_metadata`, which lets the caller retrieve the next page of results
64-
* if they exist. More information about pagination can be found in the Pagination-metadata
65-
* schema.
64+
* if they exist.
6665
*/
6766
fun list(): CompletableFuture<CouponListPageAsync> = list(CouponListParams.none())
6867

orb-java-core/src/main/kotlin/com/withorb/api/services/async/SubscriptionServiceAsync.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -487,9 +487,9 @@ interface SubscriptionServiceAsync {
487487
* units rather than a currency).
488488
*
489489
* The semantics of this endpoint exactly mirror those of
490-
* [fetching a customer's costs](fetch-customer-costs). Use this endpoint to limit your analysis
491-
* of costs to a specific subscription for the customer (e.g. to de-aggregate costs when a
492-
* customer's subscription has started and stopped on the same day).
490+
* [fetching a customer's costs](/api-reference/customer/fetch-customer-costs). Use this
491+
* endpoint to limit your analysis of costs to a specific subscription for the customer (e.g. to
492+
* de-aggregate costs when a customer's subscription has started and stopped on the same day).
493493
*/
494494
fun fetchCosts(subscriptionId: String): CompletableFuture<SubscriptionFetchCostsResponse> =
495495
fetchCosts(subscriptionId, SubscriptionFetchCostsParams.none())

orb-java-core/src/main/kotlin/com/withorb/api/services/async/events/BackfillServiceAsync.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ interface BackfillServiceAsync {
4141
* Creating the backfill enables adding or replacing past events, even those that are older than
4242
* the ingestion grace period. Performing a backfill in Orb involves 3 steps:
4343
* 1. Create the backfill, specifying its parameters.
44-
* 2. [Ingest](ingest) usage events, referencing the backfill (query parameter `backfill_id`).
44+
* 2. [Ingest](/api-reference/event/ingest-events) usage events, referencing the backfill (query
45+
* parameter `backfill_id`).
4546
* 3. [Close](close-backfill) the backfill, propagating the update in past usage throughout Orb.
4647
*
4748
* Changes from a backfill are not reflected until the backfill is closed, so you won’t need to
@@ -84,8 +85,7 @@ interface BackfillServiceAsync {
8485
*
8586
* The list of backfills is ordered starting from the most recently created backfill. The
8687
* response also includes [`pagination_metadata`](/api-reference/pagination), which lets the
87-
* caller retrieve the next page of results if they exist. More information about pagination can
88-
* be found in the [Pagination-metadata schema](pagination).
88+
* caller retrieve the next page of results if they exist.
8989
*/
9090
fun list(): CompletableFuture<EventBackfillListPageAsync> = list(EventBackfillListParams.none())
9191

orb-java-core/src/main/kotlin/com/withorb/api/services/blocking/CouponService.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ interface CouponService {
6060
*
6161
* The list of coupons is ordered starting from the most recently created coupon. The response
6262
* also includes `pagination_metadata`, which lets the caller retrieve the next page of results
63-
* if they exist. More information about pagination can be found in the Pagination-metadata
64-
* schema.
63+
* if they exist.
6564
*/
6665
fun list(): CouponListPage = list(CouponListParams.none())
6766

orb-java-core/src/main/kotlin/com/withorb/api/services/blocking/SubscriptionService.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,9 +476,9 @@ interface SubscriptionService {
476476
* units rather than a currency).
477477
*
478478
* The semantics of this endpoint exactly mirror those of
479-
* [fetching a customer's costs](fetch-customer-costs). Use this endpoint to limit your analysis
480-
* of costs to a specific subscription for the customer (e.g. to de-aggregate costs when a
481-
* customer's subscription has started and stopped on the same day).
479+
* [fetching a customer's costs](/api-reference/customer/fetch-customer-costs). Use this
480+
* endpoint to limit your analysis of costs to a specific subscription for the customer (e.g. to
481+
* de-aggregate costs when a customer's subscription has started and stopped on the same day).
482482
*/
483483
fun fetchCosts(subscriptionId: String): SubscriptionFetchCostsResponse =
484484
fetchCosts(subscriptionId, SubscriptionFetchCostsParams.none())

0 commit comments

Comments
 (0)