diff --git a/generated/api/openapi.yaml b/generated/api/openapi.yaml index 83dfd66..fec4698 100644 --- a/generated/api/openapi.yaml +++ b/generated/api/openapi.yaml @@ -20,10 +20,7 @@ tags: paths: /badge: post: - description: "Updates the App Icon Badge Count on devices matched by API key\ - \ scope and optional target channels. Send `badge: 0` to clear the count.\ - \ Badge updates are independent of push notifications and do not create a\ - \ push notification history item." + description: Shows a number on the ActivitySmith app icon. operationId: updateAppIconBadgeCount requestBody: content: @@ -31,7 +28,7 @@ paths: examples: set_count: value: - badge: 12 + badge: 8333 clear_count: value: badge: 0 @@ -53,7 +50,7 @@ paths: default: value: success: true - badge: 12 + badge: 8333 devices_notified: 2 users_notified: 1 effective_channel_slugs: null @@ -74,32 +71,18 @@ paths: "400": content: application/json: - examples: - invalid_badge: - value: - error: Invalid badge - message: badge must be a non-negative integer between 0 and 2147483647. - Use 0 to clear the badge. schema: $ref: '#/components/schemas/BadRequestError' - description: Bad request (invalid badge value or channel targeting input) + description: Bad request "403": content: application/json: schema: $ref: '#/components/schemas/ForbiddenError' - description: Forbidden (API key scope or channel assignment violation) + description: Forbidden "404": content: application/json: - examples: - no_devices: - value: - error: No recipients found - message: No devices matched the effective channel target - badge: 12 - effective_channel_slugs: - - sales schema: $ref: '#/components/schemas/NoRecipientsError' description: No recipients found for effective channel target @@ -109,10 +92,28 @@ paths: schema: $ref: '#/components/schemas/RateLimitError' description: Rate limit exceeded - summary: Update App Icon Badge Count + summary: Set App Icon Badge Count tags: - AppIconBadges x-codeSamples: + - lang: javascript + label: Node + source: await activitysmith.badgeCount(8333); + - lang: python + label: Python + source: activitysmith.badge_count(8333) + - lang: go + label: Go + source: activitysmith.BadgeCount(8333) + - lang: php + label: PHP + source: $activitysmith->badgeCount(8333); + - lang: ruby + label: Ruby + source: activitysmith.badge_count(8333) + - lang: bash + label: CLI + source: activitysmith badge 8333 - lang: bash label: cURL source: |- @@ -120,7 +121,7 @@ paths: -H "Authorization: Bearer $ACTIVITYSMITH_API_KEY" \ -H "Content-Type: application/json" \ -d '{ - "badge": 12 + "badge": 8333 }' /push-notification: post: @@ -335,7 +336,7 @@ paths: \ ends the current Live Activity for this stream and dismisses it from devices.\ \ If you need direct lifecycle control, use /live-activity/start, /live-activity/update,\ \ and /live-activity/end instead. Use secondary_action for a second button\ - \ on alert, progress, and segmented_progress Live Activities only." + \ on alert, progress, and segmented_progress Live Activities." operationId: endLiveActivityStream parameters: - description: "Stable identifier for one ongoing thing. Allowed characters:\ @@ -551,8 +552,7 @@ paths: \ ActivitySmith will keep the Live Activity in sync. For timer streams, send\ \ duration_seconds to start or reset the timer; omit duration_seconds on later\ \ updates to preserve the existing timer window. Use secondary_action for\ - \ a second button on alert, progress, and segmented_progress Live Activities\ - \ only." + \ a second button on alert, progress, and segmented_progress Live Activities." operationId: reconcileLiveActivityStream parameters: - description: "Stable identifier for one ongoing thing. Allowed characters:\ @@ -827,7 +827,7 @@ paths: \ progress, metrics, stats, alert, and timer activity types. For segmented_progress\ \ activities, number_of_steps can be changed later during update or end calls\ \ if the workflow changes. Use secondary_action for a second button on alert,\ - \ progress, and segmented_progress Live Activities only." + \ progress, and segmented_progress Live Activities." operationId: startLiveActivity requestBody: content: @@ -1124,7 +1124,7 @@ paths: \ here as the workflow changes. For timer activities, send duration_seconds\ \ only when you want to reset the timer window; omit it to keep the current\ \ timer running. Use secondary_action for a second button on alert, progress,\ - \ and segmented_progress Live Activities only." + \ and segmented_progress Live Activities." operationId: updateLiveActivity requestBody: content: @@ -1339,7 +1339,7 @@ paths: \ progress, metrics, stats, alert, and timer activity types. For segmented_progress\ \ activities, you can send the latest number_of_steps here if the workflow\ \ changed after start. Use secondary_action for a second button on alert,\ - \ progress, and segmented_progress Live Activities only." + \ progress, and segmented_progress Live Activities." operationId: endLiveActivity requestBody: content: @@ -2568,6 +2568,61 @@ components: - title - type - url + AppIconBadgeCountUpdateRequest: + additionalProperties: false + example: + badge: 171976544 + target: + channels: + - channels + - channels + properties: + badge: + description: The count to show on the ActivitySmith app icon. Send 0 to + clear it. + maximum: 2147483647 + minimum: 0 + type: integer + target: + $ref: '#/components/schemas/ChannelTarget' + required: + - badge + AppIconBadgeCountUpdateResponse: + additionalProperties: false + example: + badge: 171976544 + success: true + users_notified: 1 + devices_notified: 6 + effective_channel_slugs: + - effective_channel_slugs + - effective_channel_slugs + timestamp: 2000-01-23T04:56:07.000+00:00 + properties: + success: + type: boolean + badge: + maximum: 2147483647 + minimum: 0 + type: integer + devices_notified: + type: integer + users_notified: + type: integer + effective_channel_slugs: + items: + type: string + type: array + timestamp: + format: date-time + type: string + required: + - badge + - devices_notified + - effective_channel_slugs + - success + - timestamp + - users_notified PushNotificationRequest: additionalProperties: {} example: @@ -2663,62 +2718,6 @@ components: required: - success - timestamp - AppIconBadgeCountUpdateRequest: - additionalProperties: false - description: App Icon Badge Count update. Send badge 0 to clear the count. - example: - badge: 171976544 - target: - channels: - - channels - - channels - properties: - badge: - description: The count to show on the ActivitySmith app icon. Send 0 to - clear it. - maximum: 2147483647 - minimum: 0 - type: integer - target: - $ref: '#/components/schemas/ChannelTarget' - required: - - badge - AppIconBadgeCountUpdateResponse: - additionalProperties: false - example: - badge: 171976544 - success: true - users_notified: 1 - devices_notified: 6 - effective_channel_slugs: - - effective_channel_slugs - - effective_channel_slugs - timestamp: 2000-01-23T04:56:07.000+00:00 - properties: - success: - type: boolean - badge: - maximum: 2147483647 - minimum: 0 - type: integer - devices_notified: - type: integer - users_notified: - type: integer - effective_channel_slugs: - items: - type: string - type: array - timestamp: - format: date-time - type: string - required: - - badge - - devices_notified - - effective_channel_slugs - - success - - timestamp - - users_notified LiveActivityStartRequest: additionalProperties: false description: Start a new Live Activity. The response includes activity_id for diff --git a/generated/api_app_icon_badges.go b/generated/api_app_icon_badges.go index 4eb8cf3..7d86686 100644 --- a/generated/api_app_icon_badges.go +++ b/generated/api_app_icon_badges.go @@ -38,9 +38,9 @@ func (r ApiUpdateAppIconBadgeCountRequest) Execute() (*AppIconBadgeCountUpdateRe } /* -UpdateAppIconBadgeCount Update App Icon Badge Count +UpdateAppIconBadgeCount Set App Icon Badge Count -Updates the App Icon Badge Count on devices matched by API key scope and optional target channels. Send `badge: 0` to clear the count. Badge updates are independent of push notifications and do not create a push notification history item. +Shows a number on the ActivitySmith app icon. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUpdateAppIconBadgeCountRequest diff --git a/generated/api_live_activities.go b/generated/api_live_activities.go index 75696d5..0f069e8 100644 --- a/generated/api_live_activities.go +++ b/generated/api_live_activities.go @@ -41,7 +41,7 @@ func (r ApiEndLiveActivityRequest) Execute() (*LiveActivityEndResponse, *http.Re /* EndLiveActivity End a Live Activity (legacy manual lifecycle) -Legacy manual lifecycle endpoint. For new integrations, use DELETE /live-activity/stream/{stream_key} to end a managed Live Activity stream. This endpoint remains supported for existing integrations and advanced lifecycle control. Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, stats, alert, and timer activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities only. +Legacy manual lifecycle endpoint. For new integrations, use DELETE /live-activity/stream/{stream_key} to end a managed Live Activity stream. This endpoint remains supported for existing integrations and advanced lifecycle control. Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, stats, alert, and timer activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiEndLiveActivityRequest @@ -173,7 +173,7 @@ func (r ApiEndLiveActivityStreamRequest) Execute() (*LiveActivityStreamDeleteRes /* EndLiveActivityStream End a stream -Use this endpoint when the process you are tracking is finished and you no longer want the Live Activity on your devices. ActivitySmith ends the current Live Activity for this stream and dismisses it from devices. If you need direct lifecycle control, use /live-activity/start, /live-activity/update, and /live-activity/end instead. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities only. +Use this endpoint when the process you are tracking is finished and you no longer want the Live Activity on your devices. ActivitySmith ends the current Live Activity for this stream and dismisses it from devices. If you need direct lifecycle control, use /live-activity/start, /live-activity/update, and /live-activity/end instead. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param streamKey Stable identifier for one ongoing thing. Allowed characters: letters, numbers, underscores, and hyphens. @@ -319,7 +319,7 @@ func (r ApiReconcileLiveActivityStreamRequest) Execute() (*LiveActivityStreamPut /* ReconcileLiveActivityStream Start a new Live Activity or update an existing one -Use a stable stream_key for each ongoing thing you want to show as a Live Activity. Send the latest content_state whenever it changes, and ActivitySmith will keep the Live Activity in sync. For timer streams, send duration_seconds to start or reset the timer; omit duration_seconds on later updates to preserve the existing timer window. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities only. +Use a stable stream_key for each ongoing thing you want to show as a Live Activity. Send the latest content_state whenever it changes, and ActivitySmith will keep the Live Activity in sync. For timer streams, send duration_seconds to start or reset the timer; omit duration_seconds on later updates to preserve the existing timer window. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param streamKey Stable identifier for one ongoing thing. Allowed characters: letters, numbers, underscores, and hyphens. @@ -478,7 +478,7 @@ func (r ApiStartLiveActivityRequest) Execute() (*LiveActivityStartResponse, *htt /* StartLiveActivity Start a Live Activity (legacy manual lifecycle) -Legacy manual lifecycle endpoint. For new integrations, use PUT /live-activity/stream/{stream_key} so ActivitySmith can manage start, update, rotation, and end state for you. This endpoint remains supported for existing integrations and advanced lifecycle control. Starts a Live Activity on devices matched by API key scope and optional target channels. Supports segmented_progress, progress, metrics, stats, alert, and timer activity types. For segmented_progress activities, number_of_steps can be changed later during update or end calls if the workflow changes. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities only. +Legacy manual lifecycle endpoint. For new integrations, use PUT /live-activity/stream/{stream_key} so ActivitySmith can manage start, update, rotation, and end state for you. This endpoint remains supported for existing integrations and advanced lifecycle control. Starts a Live Activity on devices matched by API key scope and optional target channels. Supports segmented_progress, progress, metrics, stats, alert, and timer activity types. For segmented_progress activities, number_of_steps can be changed later during update or end calls if the workflow changes. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiStartLiveActivityRequest @@ -631,7 +631,7 @@ func (r ApiUpdateLiveActivityRequest) Execute() (*LiveActivityUpdateResponse, *h /* UpdateLiveActivity Update a Live Activity (legacy manual lifecycle) -Legacy manual lifecycle endpoint. For new integrations, use PUT /live-activity/stream/{stream_key} so ActivitySmith can manage start, update, rotation, and end state for you. This endpoint remains supported for existing integrations and advanced lifecycle control. Updates an existing Live Activity. If the per-activity token is not registered yet, the update is queued. Supports segmented_progress, progress, metrics, stats, alert, and timer activity types. For segmented_progress activities, you can increase or decrease number_of_steps here as the workflow changes. For timer activities, send duration_seconds only when you want to reset the timer window; omit it to keep the current timer running. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities only. +Legacy manual lifecycle endpoint. For new integrations, use PUT /live-activity/stream/{stream_key} so ActivitySmith can manage start, update, rotation, and end state for you. This endpoint remains supported for existing integrations and advanced lifecycle control. Updates an existing Live Activity. If the per-activity token is not registered yet, the update is queued. Supports segmented_progress, progress, metrics, stats, alert, and timer activity types. For segmented_progress activities, you can increase or decrease number_of_steps here as the workflow changes. For timer activities, send duration_seconds only when you want to reset the timer window; omit it to keep the current timer running. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUpdateLiveActivityRequest diff --git a/generated/configuration.go b/generated/configuration.go index d6d95d0..d4ab017 100644 --- a/generated/configuration.go +++ b/generated/configuration.go @@ -89,7 +89,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/1.8.0/go", + UserAgent: "OpenAPI-Generator/1.9.0/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/generated/docs/AppIconBadgesAPI.md b/generated/docs/AppIconBadgesAPI.md index e0f80b5..0e2ce48 100644 --- a/generated/docs/AppIconBadgesAPI.md +++ b/generated/docs/AppIconBadgesAPI.md @@ -4,7 +4,7 @@ All URIs are relative to *https://activitysmith.com/api* Method | HTTP request | Description ------------- | ------------- | ------------- -[**UpdateAppIconBadgeCount**](AppIconBadgesAPI.md#UpdateAppIconBadgeCount) | **Post** /badge | Update App Icon Badge Count +[**UpdateAppIconBadgeCount**](AppIconBadgesAPI.md#UpdateAppIconBadgeCount) | **Post** /badge | Set App Icon Badge Count @@ -12,7 +12,7 @@ Method | HTTP request | Description > AppIconBadgeCountUpdateResponse UpdateAppIconBadgeCount(ctx).AppIconBadgeCountUpdateRequest(appIconBadgeCountUpdateRequest).Execute() -Update App Icon Badge Count +Set App Icon Badge Count diff --git a/generated/docs/LiveActivityEndRequest.md b/generated/docs/LiveActivityEndRequest.md index 3088bd6..2ada0f6 100644 --- a/generated/docs/LiveActivityEndRequest.md +++ b/generated/docs/LiveActivityEndRequest.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **ActivityId** | **string** | | **ContentState** | [**ContentStateEnd**](ContentStateEnd.md) | | **Action** | Pointer to [**LiveActivityAction**](LiveActivityAction.md) | | [optional] -**SecondaryAction** | Pointer to [**LiveActivityAction**](LiveActivityAction.md) | Optional secondary action button. Supported only for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. | [optional] +**SecondaryAction** | Pointer to [**LiveActivityAction**](LiveActivityAction.md) | Optional secondary action button. Supported for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. | [optional] ## Methods diff --git a/generated/docs/LiveActivityStartRequest.md b/generated/docs/LiveActivityStartRequest.md index 1b17778..c4f2cf6 100644 --- a/generated/docs/LiveActivityStartRequest.md +++ b/generated/docs/LiveActivityStartRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ContentState** | [**ContentStateStart**](ContentStateStart.md) | | **Action** | Pointer to [**LiveActivityAction**](LiveActivityAction.md) | | [optional] -**SecondaryAction** | Pointer to [**LiveActivityAction**](LiveActivityAction.md) | Optional secondary action button. Supported only for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. | [optional] +**SecondaryAction** | Pointer to [**LiveActivityAction**](LiveActivityAction.md) | Optional secondary action button. Supported for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. | [optional] **Alert** | Pointer to [**AlertPayload**](AlertPayload.md) | | [optional] **Target** | Pointer to [**ChannelTarget**](ChannelTarget.md) | | [optional] diff --git a/generated/docs/LiveActivityStreamDeleteRequest.md b/generated/docs/LiveActivityStreamDeleteRequest.md index 41d8b42..5592eae 100644 --- a/generated/docs/LiveActivityStreamDeleteRequest.md +++ b/generated/docs/LiveActivityStreamDeleteRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ContentState** | Pointer to [**StreamContentState**](StreamContentState.md) | | [optional] **Action** | Pointer to [**LiveActivityAction**](LiveActivityAction.md) | | [optional] -**SecondaryAction** | Pointer to [**LiveActivityAction**](LiveActivityAction.md) | Optional secondary action button. Supported only for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. | [optional] +**SecondaryAction** | Pointer to [**LiveActivityAction**](LiveActivityAction.md) | Optional secondary action button. Supported for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. | [optional] **Alert** | Pointer to [**AlertPayload**](AlertPayload.md) | | [optional] ## Methods diff --git a/generated/docs/LiveActivityStreamRequest.md b/generated/docs/LiveActivityStreamRequest.md index fa29e18..a33322f 100644 --- a/generated/docs/LiveActivityStreamRequest.md +++ b/generated/docs/LiveActivityStreamRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ContentState** | [**StreamContentState**](StreamContentState.md) | | **Action** | Pointer to [**LiveActivityAction**](LiveActivityAction.md) | | [optional] -**SecondaryAction** | Pointer to [**LiveActivityAction**](LiveActivityAction.md) | Optional secondary action button. Supported only for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. | [optional] +**SecondaryAction** | Pointer to [**LiveActivityAction**](LiveActivityAction.md) | Optional secondary action button. Supported for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. | [optional] **Alert** | Pointer to [**AlertPayload**](AlertPayload.md) | | [optional] **Channels** | Pointer to **[]string** | Channel slugs. When omitted, API key scope determines recipients. | [optional] **Target** | Pointer to [**ChannelTarget**](ChannelTarget.md) | | [optional] diff --git a/generated/docs/LiveActivityUpdateRequest.md b/generated/docs/LiveActivityUpdateRequest.md index 607ba08..e349a38 100644 --- a/generated/docs/LiveActivityUpdateRequest.md +++ b/generated/docs/LiveActivityUpdateRequest.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **ActivityId** | **string** | | **ContentState** | [**ContentStateUpdate**](ContentStateUpdate.md) | | **Action** | Pointer to [**LiveActivityAction**](LiveActivityAction.md) | | [optional] -**SecondaryAction** | Pointer to [**LiveActivityAction**](LiveActivityAction.md) | Optional secondary action button. Supported only for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. | [optional] +**SecondaryAction** | Pointer to [**LiveActivityAction**](LiveActivityAction.md) | Optional secondary action button. Supported for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. | [optional] ## Methods diff --git a/generated/model_app_icon_badge_count_update_request.go b/generated/model_app_icon_badge_count_update_request.go index 838d1b0..914daf6 100644 --- a/generated/model_app_icon_badge_count_update_request.go +++ b/generated/model_app_icon_badge_count_update_request.go @@ -19,7 +19,7 @@ import ( // checks if the AppIconBadgeCountUpdateRequest type satisfies the MappedNullable interface at compile time var _ MappedNullable = &AppIconBadgeCountUpdateRequest{} -// AppIconBadgeCountUpdateRequest App Icon Badge Count update. Send badge 0 to clear the count. +// AppIconBadgeCountUpdateRequest struct for AppIconBadgeCountUpdateRequest type AppIconBadgeCountUpdateRequest struct { // The count to show on the ActivitySmith app icon. Send 0 to clear it. Badge int32 `json:"badge"` diff --git a/generated/model_live_activity_end_request.go b/generated/model_live_activity_end_request.go index 679387b..9cf42e9 100644 --- a/generated/model_live_activity_end_request.go +++ b/generated/model_live_activity_end_request.go @@ -24,7 +24,7 @@ type LiveActivityEndRequest struct { ActivityId string `json:"activity_id"` ContentState ContentStateEnd `json:"content_state"` Action *LiveActivityAction `json:"action,omitempty"` - // Optional secondary action button. Supported only for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. + // Optional secondary action button. Supported for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. SecondaryAction *LiveActivityAction `json:"secondary_action,omitempty"` } diff --git a/generated/model_live_activity_start_request.go b/generated/model_live_activity_start_request.go index cc6d33a..6e82b63 100644 --- a/generated/model_live_activity_start_request.go +++ b/generated/model_live_activity_start_request.go @@ -23,7 +23,7 @@ var _ MappedNullable = &LiveActivityStartRequest{} type LiveActivityStartRequest struct { ContentState ContentStateStart `json:"content_state"` Action *LiveActivityAction `json:"action,omitempty"` - // Optional secondary action button. Supported only for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. + // Optional secondary action button. Supported for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. SecondaryAction *LiveActivityAction `json:"secondary_action,omitempty"` Alert *AlertPayload `json:"alert,omitempty"` Target *ChannelTarget `json:"target,omitempty"` diff --git a/generated/model_live_activity_stream_delete_request.go b/generated/model_live_activity_stream_delete_request.go index 237160c..c198298 100644 --- a/generated/model_live_activity_stream_delete_request.go +++ b/generated/model_live_activity_stream_delete_request.go @@ -21,7 +21,7 @@ var _ MappedNullable = &LiveActivityStreamDeleteRequest{} type LiveActivityStreamDeleteRequest struct { ContentState *StreamContentState `json:"content_state,omitempty"` Action *LiveActivityAction `json:"action,omitempty"` - // Optional secondary action button. Supported only for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. + // Optional secondary action button. Supported for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. SecondaryAction *LiveActivityAction `json:"secondary_action,omitempty"` Alert *AlertPayload `json:"alert,omitempty"` } diff --git a/generated/model_live_activity_stream_request.go b/generated/model_live_activity_stream_request.go index 02257a2..f581a09 100644 --- a/generated/model_live_activity_stream_request.go +++ b/generated/model_live_activity_stream_request.go @@ -23,7 +23,7 @@ var _ MappedNullable = &LiveActivityStreamRequest{} type LiveActivityStreamRequest struct { ContentState StreamContentState `json:"content_state"` Action *LiveActivityAction `json:"action,omitempty"` - // Optional secondary action button. Supported only for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. + // Optional secondary action button. Supported for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. SecondaryAction *LiveActivityAction `json:"secondary_action,omitempty"` Alert *AlertPayload `json:"alert,omitempty"` // Channel slugs. When omitted, API key scope determines recipients. diff --git a/generated/model_live_activity_update_request.go b/generated/model_live_activity_update_request.go index 0011f9d..70351dd 100644 --- a/generated/model_live_activity_update_request.go +++ b/generated/model_live_activity_update_request.go @@ -24,7 +24,7 @@ type LiveActivityUpdateRequest struct { ActivityId string `json:"activity_id"` ContentState ContentStateUpdate `json:"content_state"` Action *LiveActivityAction `json:"action,omitempty"` - // Optional secondary action button. Supported only for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. + // Optional secondary action button. Supported for alert, progress, and segmented_progress Live Activities. Uses the same open_url, shortcuts://, and webhook shapes as action. SecondaryAction *LiveActivityAction `json:"secondary_action,omitempty"` }