From 3a94cdbb77aea146aeba49d93332a948e59e85d0 Mon Sep 17 00:00:00 2001 From: activitysmith-bot Date: Mon, 16 Feb 2026 09:29:00 +0000 Subject: [PATCH] chore: regenerate SDK --- generated/.regen-branch.txt | 2 +- generated/apis/LiveActivitiesApi.ts | 7 +- generated/apis/PushNotificationsApi.ts | 7 +- generated/models/index.ts | 161 +++++++++++++++++++++++++ 4 files changed, 172 insertions(+), 5 deletions(-) diff --git a/generated/.regen-branch.txt b/generated/.regen-branch.txt index 84c8ed9..5dbdbb2 100644 --- a/generated/.regen-branch.txt +++ b/generated/.regen-branch.txt @@ -1 +1 @@ -regen/openapi-main +regen/openapi-e3d906fdaa37dd3d08772a17115a21f9c25e0ace diff --git a/generated/apis/LiveActivitiesApi.ts b/generated/apis/LiveActivitiesApi.ts index 42e6ad9..5092c7a 100644 --- a/generated/apis/LiveActivitiesApi.ts +++ b/generated/apis/LiveActivitiesApi.ts @@ -15,12 +15,15 @@ import * as runtime from '../runtime'; import type { + BadRequestError, + ForbiddenError, LiveActivityEndRequest, LiveActivityEndResponse, LiveActivityStartRequest, LiveActivityStartResponse, LiveActivityUpdateRequest, LiveActivityUpdateResponse, + NoRecipientsError, RateLimitError, } from '../models/index'; @@ -88,7 +91,7 @@ export class LiveActivitiesApi extends runtime.BaseAPI { } /** - * Starts a Live Activity on all registered devices and returns an activity_id. + * Starts a Live Activity on devices matched by API key scope and optional target channels. * Start a Live Activity */ async startLiveActivityRaw(requestParameters: StartLiveActivityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { @@ -125,7 +128,7 @@ export class LiveActivitiesApi extends runtime.BaseAPI { } /** - * Starts a Live Activity on all registered devices and returns an activity_id. + * Starts a Live Activity on devices matched by API key scope and optional target channels. * Start a Live Activity */ async startLiveActivity(requestParameters: StartLiveActivityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { diff --git a/generated/apis/PushNotificationsApi.ts b/generated/apis/PushNotificationsApi.ts index 20e0d77..1461d6b 100644 --- a/generated/apis/PushNotificationsApi.ts +++ b/generated/apis/PushNotificationsApi.ts @@ -15,6 +15,9 @@ import * as runtime from '../runtime'; import type { + BadRequestError, + ForbiddenError, + NoRecipientsError, PushNotificationRequest, PushNotificationResponse, SendPushNotification429Response, @@ -30,7 +33,7 @@ export interface SendPushNotificationRequest { export class PushNotificationsApi extends runtime.BaseAPI { /** - * Sends a push notification to every paired device in your account. + * Sends a push notification to devices matched by API key scope and optional target channels. * Send a push notification */ async sendPushNotificationRaw(requestParameters: SendPushNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { @@ -67,7 +70,7 @@ export class PushNotificationsApi extends runtime.BaseAPI { } /** - * Sends a push notification to every paired device in your account. + * Sends a push notification to devices matched by API key scope and optional target channels. * Send a push notification */ async sendPushNotification(requestParameters: SendPushNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { diff --git a/generated/models/index.ts b/generated/models/index.ts index 7f669a0..04d9beb 100644 --- a/generated/models/index.ts +++ b/generated/models/index.ts @@ -1,11 +1,66 @@ /* tslint:disable */ /* eslint-disable */ +/** + * + * @export + * @interface AlertPayload + */ +export interface AlertPayload { + [key: string]: any | any; + /** + * + * @type {string} + * @memberof AlertPayload + */ + title?: string; + /** + * + * @type {string} + * @memberof AlertPayload + */ + body?: string; +} +/** + * + * @export + * @interface BadRequestError + */ +export interface BadRequestError { + [key: string]: any | any; + /** + * + * @type {string} + * @memberof BadRequestError + */ + error: string; + /** + * + * @type {string} + * @memberof BadRequestError + */ + message: string; +} +/** + * + * @export + * @interface ChannelTarget + */ +export interface ChannelTarget { + [key: string]: any | any; + /** + * Channel slugs. When omitted, API key scope determines recipients. + * @type {Array} + * @memberof ChannelTarget + */ + channels: Array; +} /** * End payload. Required fields are title and current_step. number_of_steps is optional. * @export * @interface ContentStateEnd */ export interface ContentStateEnd { + [key: string]: any | any; /** * * @type {string} @@ -89,6 +144,7 @@ export type ContentStateEndStepColorEnum = typeof ContentStateEndStepColorEnum[k * @interface ContentStateStart */ export interface ContentStateStart { + [key: string]: any | any; /** * * @type {string} @@ -180,6 +236,7 @@ export type ContentStateStartStepColorEnum = typeof ContentStateStartStepColorEn * @interface ContentStateUpdate */ export interface ContentStateUpdate { + [key: string]: any | any; /** * * @type {string} @@ -251,12 +308,33 @@ export const ContentStateUpdateStepColorEnum = { } as const; export type ContentStateUpdateStepColorEnum = typeof ContentStateUpdateStepColorEnum[keyof typeof ContentStateUpdateStepColorEnum]; +/** + * + * @export + * @interface ForbiddenError + */ +export interface ForbiddenError { + [key: string]: any | any; + /** + * + * @type {string} + * @memberof ForbiddenError + */ + error: string; + /** + * + * @type {string} + * @memberof ForbiddenError + */ + message: string; +} /** * * @export * @interface LiveActivityEndRequest */ export interface LiveActivityEndRequest { + [key: string]: any | any; /** * * @type {string} @@ -276,6 +354,7 @@ export interface LiveActivityEndRequest { * @interface LiveActivityEndResponse */ export interface LiveActivityEndResponse { + [key: string]: any | any; /** * * @type {boolean} @@ -313,6 +392,7 @@ export interface LiveActivityEndResponse { * @interface LiveActivityLimitError */ export interface LiveActivityLimitError { + [key: string]: any | any; /** * * @type {string} @@ -344,12 +424,25 @@ export interface LiveActivityLimitError { * @interface LiveActivityStartRequest */ export interface LiveActivityStartRequest { + [key: string]: any | any; /** * * @type {ContentStateStart} * @memberof LiveActivityStartRequest */ content_state: ContentStateStart; + /** + * + * @type {AlertPayload} + * @memberof LiveActivityStartRequest + */ + alert?: AlertPayload; + /** + * + * @type {ChannelTarget} + * @memberof LiveActivityStartRequest + */ + target?: ChannelTarget; } /** * @@ -357,6 +450,7 @@ export interface LiveActivityStartRequest { * @interface LiveActivityStartResponse */ export interface LiveActivityStartResponse { + [key: string]: any | any; /** * * @type {boolean} @@ -381,6 +475,12 @@ export interface LiveActivityStartResponse { * @memberof LiveActivityStartResponse */ activity_id: string; + /** + * + * @type {Array} + * @memberof LiveActivityStartResponse + */ + effective_channel_slugs?: Array; /** * * @type {string} @@ -394,6 +494,7 @@ export interface LiveActivityStartResponse { * @interface LiveActivityUpdateRequest */ export interface LiveActivityUpdateRequest { + [key: string]: any | any; /** * * @type {string} @@ -413,6 +514,7 @@ export interface LiveActivityUpdateRequest { * @interface LiveActivityUpdateResponse */ export interface LiveActivityUpdateResponse { + [key: string]: any | any; /** * * @type {boolean} @@ -444,12 +546,39 @@ export interface LiveActivityUpdateResponse { */ timestamp: string; } +/** + * + * @export + * @interface NoRecipientsError + */ +export interface NoRecipientsError { + [key: string]: any | any; + /** + * + * @type {string} + * @memberof NoRecipientsError + */ + error: string; + /** + * + * @type {string} + * @memberof NoRecipientsError + */ + message: string; + /** + * + * @type {Array} + * @memberof NoRecipientsError + */ + effective_channel_slugs?: Array; +} /** * * @export * @interface PushNotificationRequest */ export interface PushNotificationRequest { + [key: string]: any | any; /** * * @type {string} @@ -468,6 +597,30 @@ export interface PushNotificationRequest { * @memberof PushNotificationRequest */ subtitle?: string; + /** + * + * @type {{ [key: string]: any; }} + * @memberof PushNotificationRequest + */ + payload?: { [key: string]: any; }; + /** + * + * @type {number} + * @memberof PushNotificationRequest + */ + badge?: number; + /** + * + * @type {string} + * @memberof PushNotificationRequest + */ + sound?: string; + /** + * + * @type {ChannelTarget} + * @memberof PushNotificationRequest + */ + target?: ChannelTarget; } /** * @@ -475,6 +628,7 @@ export interface PushNotificationRequest { * @interface PushNotificationResponse */ export interface PushNotificationResponse { + [key: string]: any | any; /** * * @type {boolean} @@ -493,6 +647,12 @@ export interface PushNotificationResponse { * @memberof PushNotificationResponse */ users_notified?: number; + /** + * + * @type {Array} + * @memberof PushNotificationResponse + */ + effective_channel_slugs?: Array; /** * * @type {string} @@ -506,6 +666,7 @@ export interface PushNotificationResponse { * @interface RateLimitError */ export interface RateLimitError { + [key: string]: any | any; /** * * @type {string}