From 23cc17b4682e0a09f8e93ba6ed42ee74d43dea0d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 2 Jun 2026 18:14:26 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- src/resources/events/events.ts | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.stats.yml b/.stats.yml index fb56c21a..35cadf2b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 139 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb/orb-5192a1b7cab269d33dbc3c9eb75994d41880eff1694900232b99f4cc30ae5710.yml -openapi_spec_hash: 1bcfe26f0efab1f1287195a45074fae5 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb/orb-0b931ef1842e244faf237ea9dd3f8be2cadf24410a1cbb0bdae6f1f03fd1067d.yml +openapi_spec_hash: b704b2673cb93856fd500e61301c661c config_hash: c01c1191b1cd696c7ca855ff6d28a8df diff --git a/src/resources/events/events.ts b/src/resources/events/events.ts index ce28c62e..ed548e03 100644 --- a/src/resources/events/events.ts +++ b/src/resources/events/events.ts @@ -257,8 +257,8 @@ export class Events extends APIResource { * billed for in the corresponding billing period. * * In general, Orb does not expect events with future dated timestamps. In cases - * where the timestamp is at least 24 hours ahead of the current time, the event - * will not be accepted as a valid event, and will throw validation errors. + * where the timestamp is 5 minutes ahead of the current time, the event will not + * be accepted as a valid event, and will throw validation errors. * * ## Event validation * @@ -273,9 +273,9 @@ export class Events extends APIResource { * - If the `external_customer_id` is specified, the customer in Orb does not need * to exist. Events will be attributed to any future customers with the * `external_customer_id` on subscription creation. - * - `timestamp` must conform to ISO 8601 and represent a timestamp at most 1 hour - * in the future. This timestamp should be sent in UTC timezone (no timezone - * offset). + * - `timestamp` must conform to ISO 8601 and represent a timestamp at most 5 + * minutes in the future. This timestamp should be sent in UTC timezone (no + * timezone offset). * * ## Idempotency and retry semantics * From 96b11a1763ea76d64d2769187a9fe49762c61cf4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 2 Jun 2026 18:14:59 +0000 Subject: [PATCH 2/2] release: 5.66.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ package.json | 2 +- src/version.ts | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 167ba814..ce8307f1 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.65.0" + ".": "5.66.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 6170346a..7851e3ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 5.66.0 (2026-06-02) + +Full Changelog: [v5.65.0...v5.66.0](https://github.com/orbcorp/orb-node/compare/v5.65.0...v5.66.0) + +### Features + +* **api:** api update ([23cc17b](https://github.com/orbcorp/orb-node/commit/23cc17b4682e0a09f8e93ba6ed42ee74d43dea0d)) + ## 5.65.0 (2026-05-27) Full Changelog: [v5.64.0...v5.65.0](https://github.com/orbcorp/orb-node/compare/v5.64.0...v5.65.0) diff --git a/package.json b/package.json index 98e7f101..2b0ddd4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orb-billing", - "version": "5.65.0", + "version": "5.66.0", "description": "The official TypeScript library for the Orb API", "author": "Orb ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index b3204229..6634d864 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '5.65.0'; // x-release-please-version +export const VERSION = '5.66.0'; // x-release-please-version