Skip to content

Commit d185f3d

Browse files
feat(api): api update
1 parent 21d02ec commit d185f3d

File tree

7 files changed

+18
-22
lines changed

7 files changed

+18
-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: 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

lib/orb/resources/coupons.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ def create(params)
4949
#
5050
# The list of coupons is ordered starting from the most recently created coupon.
5151
# The response also includes `pagination_metadata`, which lets the caller retrieve
52-
# the next page of results if they exist. More information about pagination can be
53-
# found in the Pagination-metadata schema.
52+
# the next page of results if they exist.
5453
#
5554
# @overload list(cursor: nil, limit: nil, redemption_code: nil, show_archived: nil, request_options: {})
5655
#

lib/orb/resources/events/backfills.rb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ class Backfills
1515
# 3 steps:
1616
#
1717
# 1. Create the backfill, specifying its parameters.
18-
# 2. [Ingest](ingest) usage events, referencing the backfill (query parameter
19-
# `backfill_id`).
18+
# 2. [Ingest](/api-reference/event/ingest-events) usage events, referencing the
19+
# backfill (query parameter `backfill_id`).
2020
# 3. [Close](close-backfill) the backfill, propagating the update in past usage
2121
# throughout Orb.
2222
#
@@ -91,8 +91,7 @@ def create(params)
9191
# The list of backfills is ordered starting from the most recently created
9292
# backfill. The response also includes
9393
# [`pagination_metadata`](/api-reference/pagination), which lets the caller
94-
# retrieve the next page of results if they exist. More information about
95-
# pagination can be found in the [Pagination-metadata schema](pagination).
94+
# retrieve the next page of results if they exist.
9695
#
9796
# @overload list(cursor: nil, limit: nil, request_options: {})
9897
#

lib/orb/resources/subscriptions.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -568,10 +568,10 @@ def fetch(subscription_id, params = {})
568568
# metric, in usage units rather than a currency).
569569
#
570570
# The semantics of this endpoint exactly mirror those of
571-
# [fetching a customer's costs](fetch-customer-costs). Use this endpoint to limit
572-
# your analysis of costs to a specific subscription for the customer (e.g. to
573-
# de-aggregate costs when a customer's subscription has started and stopped on the
574-
# same day).
571+
# [fetching a customer's costs](/api-reference/customer/fetch-customer-costs). Use
572+
# this endpoint to limit your analysis of costs to a specific subscription for the
573+
# customer (e.g. to de-aggregate costs when a customer's subscription has started
574+
# and stopped on the same day).
575575
#
576576
# @overload fetch_costs(subscription_id, currency: nil, timeframe_end: nil, timeframe_start: nil, view_mode: nil, request_options: {})
577577
#

rbi/orb/resources/coupons.rbi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ module Orb
4949
#
5050
# The list of coupons is ordered starting from the most recently created coupon.
5151
# The response also includes `pagination_metadata`, which lets the caller retrieve
52-
# the next page of results if they exist. More information about pagination can be
53-
# found in the Pagination-metadata schema.
52+
# the next page of results if they exist.
5453
sig do
5554
params(
5655
cursor: T.nilable(String),

rbi/orb/resources/events/backfills.rbi

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ module Orb
1212
# 3 steps:
1313
#
1414
# 1. Create the backfill, specifying its parameters.
15-
# 2. [Ingest](ingest) usage events, referencing the backfill (query parameter
16-
# `backfill_id`).
15+
# 2. [Ingest](/api-reference/event/ingest-events) usage events, referencing the
16+
# backfill (query parameter `backfill_id`).
1717
# 3. [Close](close-backfill) the backfill, propagating the update in past usage
1818
# throughout Orb.
1919
#
@@ -94,8 +94,7 @@ module Orb
9494
# The list of backfills is ordered starting from the most recently created
9595
# backfill. The response also includes
9696
# [`pagination_metadata`](/api-reference/pagination), which lets the caller
97-
# retrieve the next page of results if they exist. More information about
98-
# pagination can be found in the [Pagination-metadata schema](pagination).
97+
# retrieve the next page of results if they exist.
9998
sig do
10099
params(
101100
cursor: T.nilable(String),

rbi/orb/resources/subscriptions.rbi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -602,10 +602,10 @@ module Orb
602602
# metric, in usage units rather than a currency).
603603
#
604604
# The semantics of this endpoint exactly mirror those of
605-
# [fetching a customer's costs](fetch-customer-costs). Use this endpoint to limit
606-
# your analysis of costs to a specific subscription for the customer (e.g. to
607-
# de-aggregate costs when a customer's subscription has started and stopped on the
608-
# same day).
605+
# [fetching a customer's costs](/api-reference/customer/fetch-customer-costs). Use
606+
# this endpoint to limit your analysis of costs to a specific subscription for the
607+
# customer (e.g. to de-aggregate costs when a customer's subscription has started
608+
# and stopped on the same day).
609609
sig do
610610
params(
611611
subscription_id: String,

0 commit comments

Comments
 (0)