Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.28.0"
".": "0.29.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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-aad1c205dfe6c471d019b2a6ab3f91ae0cff359acc8c5974f388bd8495d9356b.yml
openapi_spec_hash: b1d29ccb11e43bdf042f0b55db112fae
config_hash: 51c1d1194ac58d8c8e3162839c8f84dd
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <nic@sequenzy.com>",
"types": "dist/index.d.ts",
Expand Down
36 changes: 36 additions & 0 deletions src/resources/subscribers/subscribers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>;
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.28.0'; // x-release-please-version
export const VERSION = '0.29.0'; // x-release-please-version
Loading