From 7f73dc70c01e875fb14fcff8eca1e949198e21f2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2026 00:27:00 +0000 Subject: [PATCH 1/4] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 8ada60b..a003ce1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 12 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sequenzy/sequenzy-7f2b073ea4c3e3cb027f11f0393dee20aa914add0ce247f8163d44cbba203fab.yml -openapi_spec_hash: 2de87ace4f5f04f4caeb143a6b18a20f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sequenzy/sequenzy-0064d473deeaca64e244bc02c0cdf7d13b312f98084f1afd018cd46df7e67bef.yml +openapi_spec_hash: 7947897cb979101b900420c4e1eed0e9 config_hash: 51c1d1194ac58d8c8e3162839c8f84dd From 5cf09dcb1219cd11ce92504445f16b70be54af04 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 8 Jul 2026 14:27:02 +0000 Subject: [PATCH 2/4] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index a003ce1..f712589 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 12 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sequenzy/sequenzy-0064d473deeaca64e244bc02c0cdf7d13b312f98084f1afd018cd46df7e67bef.yml -openapi_spec_hash: 7947897cb979101b900420c4e1eed0e9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sequenzy/sequenzy-e5fab389792df099afc10be22e277635856a765f7293421acdaa0adde532099e.yml +openapi_spec_hash: 009f7c36b13fb692e0ba3fa89cce31cd config_hash: 51c1d1194ac58d8c8e3162839c8f84dd From 16e6ca63d9a318fb6ece5d904461265d3eb77aba Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 10 Jul 2026 17:27:04 +0000 Subject: [PATCH 3/4] feat(api): api update --- .stats.yml | 4 +-- src/resources/subscribers/subscribers.ts | 36 ++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index f712589..a1ba749 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 12 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sequenzy/sequenzy-e5fab389792df099afc10be22e277635856a765f7293421acdaa0adde532099e.yml -openapi_spec_hash: 009f7c36b13fb692e0ba3fa89cce31cd +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sequenzy/sequenzy-aad1c205dfe6c471d019b2a6ab3f91ae0cff359acc8c5974f388bd8495d9356b.yml +openapi_spec_hash: b1d29ccb11e43bdf042f0b55db112fae config_hash: 51c1d1194ac58d8c8e3162839c8f84dd diff --git a/src/resources/subscribers/subscribers.ts b/src/resources/subscribers/subscribers.ts index 8e7fb87..e4ebe63 100644 --- a/src/resources/subscribers/subscribers.ts +++ b/src/resources/subscribers/subscribers.ts @@ -131,6 +131,16 @@ export interface Subscriber { lastName?: string | null; + /** + * Phone number in E.164 format + */ + phone?: string | null; + + /** + * SMS marketing consent status, independent of the email status + */ + smsStatus?: 'not_subscribed' | 'pending' | 'subscribed' | 'unsubscribed'; + status?: 'active' | 'unsubscribed' | 'bounced'; tags?: Array; @@ -398,6 +408,19 @@ export interface SubscriberCreateParams { */ optInMode?: 'default' | 'confirmed' | 'double_opt_in'; + /** + * Phone number in E.164 format or US national format. Stored normalized to E.164. + * Invalid values fail with a 400 validation error. Does not affect SMS consent. + */ + phone?: string | null; + + /** + * SMS marketing consent. true sets smsStatus to subscribed with consent source + * api, false sets unsubscribed, omitted leaves SMS status unchanged. Never + * inferred from phone presence. + */ + smsConsent?: boolean; + /** * Initial subscriber status. */ @@ -442,6 +465,19 @@ export interface SubscriberUpdateParams { lastName?: string; + /** + * Phone number in E.164 format or US national format. Stored normalized to E.164. + * Invalid values fail with a 400 validation error. Does not affect SMS consent. + */ + phone?: string | null; + + /** + * SMS marketing consent. true sets smsStatus to subscribed with consent source + * api, false sets unsubscribed, omitted leaves SMS status unchanged. Never + * inferred from phone presence. + */ + smsConsent?: boolean; + /** * Setting `unsubscribed` performs a full global unsubscribe. */ From 59ee6f877217b37162c2c01bdbd0c647c0b3d5c9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 10 Jul 2026 17:27:27 +0000 Subject: [PATCH 4/4] release: 0.29.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 9800444..8316a6d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.28.0" + ".": "0.29.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 998b050..ce19342 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.29.0 (2026-07-10) + +Full Changelog: [v0.28.0...v0.29.0](https://github.com/Sequenzy/sequenzy-typescript/compare/v0.28.0...v0.29.0) + +### Features + +* **api:** api update ([16e6ca6](https://github.com/Sequenzy/sequenzy-typescript/commit/16e6ca63d9a318fb6ece5d904461265d3eb77aba)) + ## 0.28.0 (2026-07-06) Full Changelog: [v0.27.0...v0.28.0](https://github.com/Sequenzy/sequenzy-typescript/compare/v0.27.0...v0.28.0) diff --git a/package.json b/package.json index 3015283..a0145c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sequenzy", - "version": "0.28.0", + "version": "0.29.0", "description": "The official TypeScript library for the Sequenzy API", "author": "Sequenzy ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index 3e76cc4..bef2b64 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.28.0'; // x-release-please-version +export const VERSION = '0.29.0'; // x-release-please-version