Skip to content

Commit 925a955

Browse files
feat(api): api update
1 parent 971721b commit 925a955

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-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/orb/resources/events/backfills.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ def create(
102102
expressiveness of computed properties allows you to deprecate existing events
103103
based on both a period of time and specific property values.
104104
105+
You may not have multiple backfills in a pending or pending_revert state with
106+
overlapping timeframes.
107+
105108
Args:
106109
timeframe_end: The (exclusive) end of the usage timeframe affected by this backfill. By
107110
default, Orb allows backfills up to 31 days in duration at a time. Reach out to
@@ -418,6 +421,9 @@ async def create(
418421
expressiveness of computed properties allows you to deprecate existing events
419422
based on both a period of time and specific property values.
420423
424+
You may not have multiple backfills in a pending or pending_revert state with
425+
overlapping timeframes.
426+
421427
Args:
422428
timeframe_end: The (exclusive) end of the usage timeframe affected by this backfill. By
423429
default, Orb allows backfills up to 31 days in duration at a time. Reach out to

src/orb/types/customers/credit_list_by_external_id_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111

1212
class Filter(BaseModel):
13-
field: Literal["price_id", "item_id", "price_type", "currency", "pricing_unit_id"]
14-
"""The property of the price to filter on."""
13+
field: Literal["item_id"]
14+
"""The property of the price the block applies to. Only item_id is supported."""
1515

1616
operator: Literal["includes", "excludes"]
1717
"""Should prices that match the filter be included or excluded."""

src/orb/types/customers/credit_list_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111

1212
class Filter(BaseModel):
13-
field: Literal["price_id", "item_id", "price_type", "currency", "pricing_unit_id"]
14-
"""The property of the price to filter on."""
13+
field: Literal["item_id"]
14+
"""The property of the price the block applies to. Only item_id is supported."""
1515

1616
operator: Literal["includes", "excludes"]
1717
"""Should prices that match the filter be included or excluded."""

0 commit comments

Comments
 (0)