Skip to content

Commit bfcfe93

Browse files
feat(api): api update
1 parent 6075ead commit bfcfe93

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
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: 118
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-56d9f85a45eb4dfc07c2994617e1c98554d6dd748245fa4deeb706fe959c14bb.yml
3-
openapi_spec_hash: 64548564dc8ce80ef3ad38fc8cb56b30
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-672b562b91c2e644498b93b1940f8866576a6734a81346b324ed5792e9276bf3.yml
3+
openapi_spec_hash: 3c1a3cc113493afd824bdc6773a202bb
44
config_hash: e6db17547fe854b1c240407cf4c6dc9e

src/resources/customers/credits/credits.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,14 @@ export interface CreditListResponse {
135135
}
136136

137137
export namespace CreditListResponse {
138+
/**
139+
* A PriceFilter that only allows item_id field for block filters.
140+
*/
138141
export interface Filter {
139142
/**
140-
* The property of the price to filter on.
143+
* The property of the price the block applies to. Only item_id is supported.
141144
*/
142-
field: 'price_id' | 'item_id' | 'price_type' | 'currency' | 'pricing_unit_id';
145+
field: 'item_id';
143146

144147
/**
145148
* Should prices that match the filter be included or excluded.
@@ -172,11 +175,14 @@ export interface CreditListByExternalIDResponse {
172175
}
173176

174177
export namespace CreditListByExternalIDResponse {
178+
/**
179+
* A PriceFilter that only allows item_id field for block filters.
180+
*/
175181
export interface Filter {
176182
/**
177-
* The property of the price to filter on.
183+
* The property of the price the block applies to. Only item_id is supported.
178184
*/
179-
field: 'price_id' | 'item_id' | 'price_type' | 'currency' | 'pricing_unit_id';
185+
field: 'item_id';
180186

181187
/**
182188
* Should prices that match the filter be included or excluded.

src/resources/events/backfills.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ export class Backfills extends APIResource {
4444
* [computed properties](/extensibility/advanced-metrics#computed-properties). The
4545
* expressiveness of computed properties allows you to deprecate existing events
4646
* based on both a period of time and specific property values.
47+
*
48+
* You may not have multiple backfills in a pending or pending_revert state with
49+
* overlapping timeframes.
4750
*/
4851
create(body: BackfillCreateParams, options?: Core.RequestOptions): Core.APIPromise<BackfillCreateResponse> {
4952
return this._client.post('/events/backfills', { body, ...options });

0 commit comments

Comments
 (0)