From 2288608ce9ab4827c7d36826476d30ed7522068f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Mar 2025 22:38:20 +0000 Subject: [PATCH 1/2] feat(api): api update (#584) --- .stats.yml | 2 +- src/orb/resources/events/backfills.py | 16 ++++++++++++---- src/orb/types/events/backfill_create_params.py | 12 ++++++++++-- 3 files changed, 23 insertions(+), 7 deletions(-) diff --git a/.stats.yml b/.stats.yml index f6e24a32..a9fd9444 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 103 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-04f02fa57c3ab8d15ecf0a16a41a83814c21cdc2a830fae4d65f1b7b2196d819.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-979330185e8fda7b2bc2440075fe81c66132fc87ff3c548e93dd05db35ba3172.yml diff --git a/src/orb/resources/events/backfills.py b/src/orb/resources/events/backfills.py index b3beb23d..6171fb5e 100644 --- a/src/orb/resources/events/backfills.py +++ b/src/orb/resources/events/backfills.py @@ -106,9 +106,13 @@ def create( based on both a period of time and specific property values. Args: - timeframe_end: The (exclusive) end of the usage timeframe affected by this backfill. + timeframe_end: The (exclusive) end of the usage timeframe affected by this backfill. By + default, Orb allows backfills up to 10 days in duration at a time. Reach out to + discuss extending this limit and your use case. - timeframe_start: The (inclusive) start of the usage timeframe affected by this backfill. + timeframe_start: The (inclusive) start of the usage timeframe affected by this backfill. By + default, Orb allows backfills up to 10 days in duration at a time. Reach out to + discuss extending this limit and your use case. close_time: The time at which no more events will be accepted for this backfill. The backfill will automatically begin reflecting throughout Orb at the close time. @@ -418,9 +422,13 @@ async def create( based on both a period of time and specific property values. Args: - timeframe_end: The (exclusive) end of the usage timeframe affected by this backfill. + timeframe_end: The (exclusive) end of the usage timeframe affected by this backfill. By + default, Orb allows backfills up to 10 days in duration at a time. Reach out to + discuss extending this limit and your use case. - timeframe_start: The (inclusive) start of the usage timeframe affected by this backfill. + timeframe_start: The (inclusive) start of the usage timeframe affected by this backfill. By + default, Orb allows backfills up to 10 days in duration at a time. Reach out to + discuss extending this limit and your use case. close_time: The time at which no more events will be accepted for this backfill. The backfill will automatically begin reflecting throughout Orb at the close time. diff --git a/src/orb/types/events/backfill_create_params.py b/src/orb/types/events/backfill_create_params.py index 066a6f9a..138c0e0e 100644 --- a/src/orb/types/events/backfill_create_params.py +++ b/src/orb/types/events/backfill_create_params.py @@ -13,10 +13,18 @@ class BackfillCreateParams(TypedDict, total=False): timeframe_end: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]] - """The (exclusive) end of the usage timeframe affected by this backfill.""" + """The (exclusive) end of the usage timeframe affected by this backfill. + + By default, Orb allows backfills up to 10 days in duration at a time. Reach out + to discuss extending this limit and your use case. + """ timeframe_start: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]] - """The (inclusive) start of the usage timeframe affected by this backfill.""" + """The (inclusive) start of the usage timeframe affected by this backfill. + + By default, Orb allows backfills up to 10 days in duration at a time. Reach out + to discuss extending this limit and your use case. + """ close_time: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")] """The time at which no more events will be accepted for this backfill. From 7addb2822ccb1f080f2b280b5eb954da4d9ae255 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Mar 2025 22:38:44 +0000 Subject: [PATCH 2/2] release: 3.16.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/orb/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4336a6cb..2c220f1b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.15.0" + ".": "3.16.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b764cdbd..136e159c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 3.16.0 (2025-03-11) + +Full Changelog: [v3.15.0...v3.16.0](https://github.com/orbcorp/orb-python/compare/v3.15.0...v3.16.0) + +### Features + +* **api:** api update ([#584](https://github.com/orbcorp/orb-python/issues/584)) ([2288608](https://github.com/orbcorp/orb-python/commit/2288608ce9ab4827c7d36826476d30ed7522068f)) + ## 3.15.0 (2025-03-11) Full Changelog: [v3.14.0...v3.15.0](https://github.com/orbcorp/orb-python/compare/v3.14.0...v3.15.0) diff --git a/pyproject.toml b/pyproject.toml index bad0d66e..399b4e68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "orb-billing" -version = "3.15.0" +version = "3.16.0" description = "The official Python library for the orb API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/orb/_version.py b/src/orb/_version.py index e94c8f9b..a2ec2097 100644 --- a/src/orb/_version.py +++ b/src/orb/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "orb" -__version__ = "3.15.0" # x-release-please-version +__version__ = "3.16.0" # x-release-please-version