diff --git a/packages/types/src/events/assistant.ts b/packages/types/src/events/assistant.ts new file mode 100644 index 000000000..9a1ac7600 --- /dev/null +++ b/packages/types/src/events/assistant.ts @@ -0,0 +1,29 @@ +export interface AssistantThreadStartedEvent { + type: 'assistant_thread_started'; + assistant_thread: { + user_id: string; + context: { + channel_id?: string; + team_id?: string; + enterprise_id?: string | null; + }; + channel_id: string; + thread_ts: string; + }; + event_ts: string; +} + +export interface AssistantThreadContextChangedEvent { + type: 'assistant_thread_context_changed'; + assistant_thread: { + user_id: string; + context: { + channel_id?: string; + team_id?: string; + enterprise_id?: string | null; + }; + channel_id: string; + thread_ts: string; + }; + event_ts: string; +} diff --git a/packages/types/src/events/index.ts b/packages/types/src/events/index.ts index 23a64ab85..72e4ad1e8 100644 --- a/packages/types/src/events/index.ts +++ b/packages/types/src/events/index.ts @@ -8,6 +8,7 @@ import type { AppUninstalledEvent, AppUninstalledTeamEvent, } from './app'; +import type { AssistantThreadContextChangedEvent, AssistantThreadStartedEvent } from './assistant'; import type { CallRejectedEvent } from './call'; import type { ChannelArchiveEvent, @@ -86,6 +87,7 @@ import type { TokensRevokedEvent } from './token'; import type { UserChangeEvent, UserHuddleChangedEvent, UserProfileChangedEvent, UserStatusChangedEvent } from './user'; export * from './app'; +export * from './assistant'; export * from './call'; export * from './channel'; export * from './dnd'; @@ -125,6 +127,8 @@ export type SlackEvent = | AppRequestedEvent | AppUninstalledTeamEvent | AppUninstalledEvent + | AssistantThreadContextChangedEvent + | AssistantThreadStartedEvent | CallRejectedEvent | ChannelArchiveEvent | ChannelCreatedEvent diff --git a/packages/web-api/package.json b/packages/web-api/package.json index f0d90858a..4d4806f91 100644 --- a/packages/web-api/package.json +++ b/packages/web-api/package.json @@ -4,22 +4,10 @@ "description": "Official library for using the Slack Platform's Web API", "author": "Slack Technologies, LLC", "license": "MIT", - "keywords": [ - "slack", - "web-api", - "bot", - "client", - "http", - "api", - "proxy", - "rate-limiting", - "pagination" - ], + "keywords": ["slack", "web-api", "bot", "client", "http", "api", "proxy", "rate-limiting", "pagination"], "main": "dist/index.js", "types": "./dist/index.d.ts", - "files": [ - "dist/**/*" - ], + "files": ["dist/**/*"], "engines": { "node": ">= 18", "npm": ">= 8.6.0" diff --git a/packages/web-api/src/methods.ts b/packages/web-api/src/methods.ts index 48ca9030e..8675ba739 100644 --- a/packages/web-api/src/methods.ts +++ b/packages/web-api/src/methods.ts @@ -108,6 +108,9 @@ import type { AppsManifestUpdateArguments, AppsManifestValidateArguments, AppsUninstallArguments, + AssistantThreadsSetStatusArguments, + AssistantThreadsSetSuggestedPromptsArguments, + AssistantThreadsSetTitleArguments, AuthRevokeArguments, AuthTeamsListArguments, AuthTestArguments, @@ -357,6 +360,9 @@ import type { AppsManifestUpdateResponse, AppsManifestValidateResponse, AppsUninstallResponse, + AssistantThreadsSetStatusResponse, + AssistantThreadsSetSuggestedPromptsResponse, + AssistantThreadsSetTitleResponse, AuthRevokeResponse, AuthTeamsListResponse, AuthTestResponse, @@ -1332,6 +1338,35 @@ export abstract class Methods extends EventEmitter { test: bindApiCallWithOptionalArgument(this, 'api.test'), }; + public readonly assistant = { + threads: { + /** + * @description Set loading status to indicate that the app is building a response. + * @see {@link https://api.slack.com/methods/assistant.threads.setStatus `assistant.threads.setStatus` API reference}. + */ + setStatus: bindApiCall( + this, + 'assistant.threads.setStatus', + ), + /** + * @description Set suggested prompts for the user. Can suggest up to four prompts. + * @see {@link https://api.slack.com/methods/assistant.threads.setSuggestedPrompts `assistant.threads.setSuggestedPrompts` API reference}. + */ + setSuggestedPrompts: bindApiCall< + AssistantThreadsSetSuggestedPromptsArguments, + AssistantThreadsSetSuggestedPromptsResponse + >(this, 'assistant.threads.setSuggestedPrompts'), + /** + * @description Set the title of the thread. This is shown when a user views the app's chat history. + * @see {@link https://api.slack.com/methods/assistant.threads.setTitle `assistant.threads.setTitle` API reference}. + */ + setTitle: bindApiCall( + this, + 'assistant.threads.setTitle', + ), + }, + }; + public readonly apps = { connections: { /** diff --git a/packages/web-api/src/types/request/assistant.ts b/packages/web-api/src/types/request/assistant.ts new file mode 100644 index 000000000..e50dc9497 --- /dev/null +++ b/packages/web-api/src/types/request/assistant.ts @@ -0,0 +1,40 @@ +import type { TokenOverridable } from './common'; + +// https://api.slack.com/methods/assistant.threads.setStatus +export interface AssistantThreadsSetStatusArguments extends TokenOverridable { + /** @description Channel ID containing the assistant thread. */ + channel_id: string; + /** @description Status of the assistant (e.g. 'is thinking...') */ + status: string; + /** @description Message timestamp of the thread. */ + thread_ts: string; +} + +// https://api.slack.com/methods/assistant.threads.setSuggestedPrompts +export interface AssistantThreadsSetSuggestedPromptsArguments extends TokenOverridable { + /** @description Channel ID containing the assistant thread. */ + channel_id: string; + /** @description Prompt suggestions that appear when opening assistant thread. */ + prompts: [AssistantPrompt, ...AssistantPrompt[]]; + /** @description Message timestamp of the thread. */ + thread_ts: string; + /** @description Title for the prompts. */ + title?: string; +} + +interface AssistantPrompt { + /** @description Title of the prompt. */ + title: string; + /** @description Message of the prompt. */ + message: string; +} + +// https://api.slack.com/methods/assistant.threads.setTitle +export interface AssistantThreadsSetTitleArguments extends TokenOverridable { + /** @description Channel ID containing the assistant thread. */ + channel_id: string; + /** @description Message timestamp of the thread. */ + thread_ts: string; + /** @description Title of the thread. */ + title: string; +} diff --git a/packages/web-api/src/types/request/index.ts b/packages/web-api/src/types/request/index.ts index 3a6a655f5..ebef7cdac 100644 --- a/packages/web-api/src/types/request/index.ts +++ b/packages/web-api/src/types/request/index.ts @@ -162,6 +162,11 @@ export type { AppsUninstallArguments, } from './apps'; export type { APITestArguments } from './api'; +export type { + AssistantThreadsSetStatusArguments, + AssistantThreadsSetSuggestedPromptsArguments, + AssistantThreadsSetTitleArguments, +} from './assistant'; export type { AdminAnalyticsGetFileArguments } from './admin/analytics'; export type { AdminAppsActivitiesListArguments, diff --git a/packages/web-api/src/types/response/AdminAppsActivitiesListResponse.ts b/packages/web-api/src/types/response/AdminAppsActivitiesListResponse.ts index 5e91160e7..bb4fe5e53 100644 --- a/packages/web-api/src/types/response/AdminAppsActivitiesListResponse.ts +++ b/packages/web-api/src/types/response/AdminAppsActivitiesListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminAppsApproveResponse.ts b/packages/web-api/src/types/response/AdminAppsApproveResponse.ts index 26c8aabb6..c2d5f5b02 100644 --- a/packages/web-api/src/types/response/AdminAppsApproveResponse.ts +++ b/packages/web-api/src/types/response/AdminAppsApproveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminAppsApprovedListResponse.ts b/packages/web-api/src/types/response/AdminAppsApprovedListResponse.ts index 65a1ab773..a03db2e7d 100644 --- a/packages/web-api/src/types/response/AdminAppsApprovedListResponse.ts +++ b/packages/web-api/src/types/response/AdminAppsApprovedListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -35,6 +34,7 @@ export interface App { icons?: Icons; id?: string; is_app_directory_approved?: boolean; + is_granular_bot_app?: boolean; is_internal?: boolean; name?: string; privacy_policy_url?: string; diff --git a/packages/web-api/src/types/response/AdminAppsClearResolutionResponse.ts b/packages/web-api/src/types/response/AdminAppsClearResolutionResponse.ts index 9969d3391..123b663a2 100644 --- a/packages/web-api/src/types/response/AdminAppsClearResolutionResponse.ts +++ b/packages/web-api/src/types/response/AdminAppsClearResolutionResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminAppsConfigLookupResponse.ts b/packages/web-api/src/types/response/AdminAppsConfigLookupResponse.ts index 7688f0a37..181d06fe1 100644 --- a/packages/web-api/src/types/response/AdminAppsConfigLookupResponse.ts +++ b/packages/web-api/src/types/response/AdminAppsConfigLookupResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminAppsConfigSetResponse.ts b/packages/web-api/src/types/response/AdminAppsConfigSetResponse.ts index dfbd7ee1f..a78a5da7c 100644 --- a/packages/web-api/src/types/response/AdminAppsConfigSetResponse.ts +++ b/packages/web-api/src/types/response/AdminAppsConfigSetResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminAppsRequestsCancelResponse.ts b/packages/web-api/src/types/response/AdminAppsRequestsCancelResponse.ts index d502b399c..cdbfb779a 100644 --- a/packages/web-api/src/types/response/AdminAppsRequestsCancelResponse.ts +++ b/packages/web-api/src/types/response/AdminAppsRequestsCancelResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminAppsRequestsListResponse.ts b/packages/web-api/src/types/response/AdminAppsRequestsListResponse.ts index 842301a5e..0cbb91c7e 100644 --- a/packages/web-api/src/types/response/AdminAppsRequestsListResponse.ts +++ b/packages/web-api/src/types/response/AdminAppsRequestsListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -40,6 +39,7 @@ export interface App { icons?: Icons; id?: string; is_app_directory_approved?: boolean; + is_granular_bot_app?: boolean; is_internal?: boolean; name?: string; privacy_policy_url?: string; diff --git a/packages/web-api/src/types/response/AdminAppsRestrictResponse.ts b/packages/web-api/src/types/response/AdminAppsRestrictResponse.ts index 7593761b4..333401c4f 100644 --- a/packages/web-api/src/types/response/AdminAppsRestrictResponse.ts +++ b/packages/web-api/src/types/response/AdminAppsRestrictResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminAppsRestrictedListResponse.ts b/packages/web-api/src/types/response/AdminAppsRestrictedListResponse.ts index e98131e47..28b699399 100644 --- a/packages/web-api/src/types/response/AdminAppsRestrictedListResponse.ts +++ b/packages/web-api/src/types/response/AdminAppsRestrictedListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -41,6 +40,7 @@ export interface App { icons?: Icons; id?: string; is_app_directory_approved?: boolean; + is_granular_bot_app?: boolean; is_internal?: boolean; name?: string; privacy_policy_url?: string; diff --git a/packages/web-api/src/types/response/AdminAppsUninstallResponse.ts b/packages/web-api/src/types/response/AdminAppsUninstallResponse.ts index a770b4500..df7ca0b57 100644 --- a/packages/web-api/src/types/response/AdminAppsUninstallResponse.ts +++ b/packages/web-api/src/types/response/AdminAppsUninstallResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminAuthPolicyAssignEntitiesResponse.ts b/packages/web-api/src/types/response/AdminAuthPolicyAssignEntitiesResponse.ts index 9ae00b34a..267d60626 100644 --- a/packages/web-api/src/types/response/AdminAuthPolicyAssignEntitiesResponse.ts +++ b/packages/web-api/src/types/response/AdminAuthPolicyAssignEntitiesResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminAuthPolicyGetEntitiesResponse.ts b/packages/web-api/src/types/response/AdminAuthPolicyGetEntitiesResponse.ts index b578126fb..9eaf1f170 100644 --- a/packages/web-api/src/types/response/AdminAuthPolicyGetEntitiesResponse.ts +++ b/packages/web-api/src/types/response/AdminAuthPolicyGetEntitiesResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminAuthPolicyRemoveEntitiesResponse.ts b/packages/web-api/src/types/response/AdminAuthPolicyRemoveEntitiesResponse.ts index 9cf735dde..4924d0dab 100644 --- a/packages/web-api/src/types/response/AdminAuthPolicyRemoveEntitiesResponse.ts +++ b/packages/web-api/src/types/response/AdminAuthPolicyRemoveEntitiesResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminBarriersCreateResponse.ts b/packages/web-api/src/types/response/AdminBarriersCreateResponse.ts index 5f1b60750..b339266c3 100644 --- a/packages/web-api/src/types/response/AdminBarriersCreateResponse.ts +++ b/packages/web-api/src/types/response/AdminBarriersCreateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminBarriersDeleteResponse.ts b/packages/web-api/src/types/response/AdminBarriersDeleteResponse.ts index 139889ddc..d0a42d1a6 100644 --- a/packages/web-api/src/types/response/AdminBarriersDeleteResponse.ts +++ b/packages/web-api/src/types/response/AdminBarriersDeleteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminBarriersListResponse.ts b/packages/web-api/src/types/response/AdminBarriersListResponse.ts index ae1028f71..9ccb88670 100644 --- a/packages/web-api/src/types/response/AdminBarriersListResponse.ts +++ b/packages/web-api/src/types/response/AdminBarriersListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminBarriersUpdateResponse.ts b/packages/web-api/src/types/response/AdminBarriersUpdateResponse.ts index 5dba23010..2f4277044 100644 --- a/packages/web-api/src/types/response/AdminBarriersUpdateResponse.ts +++ b/packages/web-api/src/types/response/AdminBarriersUpdateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsArchiveResponse.ts b/packages/web-api/src/types/response/AdminConversationsArchiveResponse.ts index 612c36ea8..2c738a6a0 100644 --- a/packages/web-api/src/types/response/AdminConversationsArchiveResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsArchiveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsBulkArchiveResponse.ts b/packages/web-api/src/types/response/AdminConversationsBulkArchiveResponse.ts index e48bac324..1608e1247 100644 --- a/packages/web-api/src/types/response/AdminConversationsBulkArchiveResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsBulkArchiveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsBulkDeleteResponse.ts b/packages/web-api/src/types/response/AdminConversationsBulkDeleteResponse.ts index 269bedfcf..e790a0008 100644 --- a/packages/web-api/src/types/response/AdminConversationsBulkDeleteResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsBulkDeleteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsBulkMoveResponse.ts b/packages/web-api/src/types/response/AdminConversationsBulkMoveResponse.ts index 2c445ba9f..311e4d5f8 100644 --- a/packages/web-api/src/types/response/AdminConversationsBulkMoveResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsBulkMoveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsConvertToPrivateResponse.ts b/packages/web-api/src/types/response/AdminConversationsConvertToPrivateResponse.ts index 9a48cd1a4..58ef1a4b5 100644 --- a/packages/web-api/src/types/response/AdminConversationsConvertToPrivateResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsConvertToPrivateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsConvertToPublicResponse.ts b/packages/web-api/src/types/response/AdminConversationsConvertToPublicResponse.ts index 7ae0e22a5..30dae6974 100644 --- a/packages/web-api/src/types/response/AdminConversationsConvertToPublicResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsConvertToPublicResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsCreateResponse.ts b/packages/web-api/src/types/response/AdminConversationsCreateResponse.ts index 51add775a..b33791d18 100644 --- a/packages/web-api/src/types/response/AdminConversationsCreateResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsCreateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsDeleteResponse.ts b/packages/web-api/src/types/response/AdminConversationsDeleteResponse.ts index ad9174537..637a4c692 100644 --- a/packages/web-api/src/types/response/AdminConversationsDeleteResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsDeleteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsDisconnectSharedResponse.ts b/packages/web-api/src/types/response/AdminConversationsDisconnectSharedResponse.ts index 02df35a5b..cc02360f0 100644 --- a/packages/web-api/src/types/response/AdminConversationsDisconnectSharedResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsDisconnectSharedResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsEkmListOriginalConnectedChannelInfoResponse.ts b/packages/web-api/src/types/response/AdminConversationsEkmListOriginalConnectedChannelInfoResponse.ts index ded6cdf1f..6b7fd2bd6 100644 --- a/packages/web-api/src/types/response/AdminConversationsEkmListOriginalConnectedChannelInfoResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsEkmListOriginalConnectedChannelInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsGetConversationPrefsResponse.ts b/packages/web-api/src/types/response/AdminConversationsGetConversationPrefsResponse.ts index bc9f69cc4..c17076636 100644 --- a/packages/web-api/src/types/response/AdminConversationsGetConversationPrefsResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsGetConversationPrefsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsGetCustomRetentionResponse.ts b/packages/web-api/src/types/response/AdminConversationsGetCustomRetentionResponse.ts index f13113736..9d0a1a3ce 100644 --- a/packages/web-api/src/types/response/AdminConversationsGetCustomRetentionResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsGetCustomRetentionResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsGetTeamsResponse.ts b/packages/web-api/src/types/response/AdminConversationsGetTeamsResponse.ts index 5a0391143..9d6ef0136 100644 --- a/packages/web-api/src/types/response/AdminConversationsGetTeamsResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsGetTeamsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsInviteResponse.ts b/packages/web-api/src/types/response/AdminConversationsInviteResponse.ts index c319d4b38..c8acf08d5 100644 --- a/packages/web-api/src/types/response/AdminConversationsInviteResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsInviteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsLookupResponse.ts b/packages/web-api/src/types/response/AdminConversationsLookupResponse.ts index e6a2619ed..88b16526f 100644 --- a/packages/web-api/src/types/response/AdminConversationsLookupResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsLookupResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsRemoveCustomRetentionResponse.ts b/packages/web-api/src/types/response/AdminConversationsRemoveCustomRetentionResponse.ts index 251cdadeb..c35ecc452 100644 --- a/packages/web-api/src/types/response/AdminConversationsRemoveCustomRetentionResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsRemoveCustomRetentionResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsRenameResponse.ts b/packages/web-api/src/types/response/AdminConversationsRenameResponse.ts index 416ad3ad8..7f7143fa3 100644 --- a/packages/web-api/src/types/response/AdminConversationsRenameResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsRenameResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsRestrictAccessAddGroupResponse.ts b/packages/web-api/src/types/response/AdminConversationsRestrictAccessAddGroupResponse.ts index 846c969d7..834adf7c8 100644 --- a/packages/web-api/src/types/response/AdminConversationsRestrictAccessAddGroupResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsRestrictAccessAddGroupResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsRestrictAccessListGroupsResponse.ts b/packages/web-api/src/types/response/AdminConversationsRestrictAccessListGroupsResponse.ts index 13c39f8d7..da82bb48b 100644 --- a/packages/web-api/src/types/response/AdminConversationsRestrictAccessListGroupsResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsRestrictAccessListGroupsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsRestrictAccessRemoveGroupResponse.ts b/packages/web-api/src/types/response/AdminConversationsRestrictAccessRemoveGroupResponse.ts index d3369691a..76a446c3c 100644 --- a/packages/web-api/src/types/response/AdminConversationsRestrictAccessRemoveGroupResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsRestrictAccessRemoveGroupResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsSearchResponse.ts b/packages/web-api/src/types/response/AdminConversationsSearchResponse.ts index 5b59cf233..6afd97347 100644 --- a/packages/web-api/src/types/response/AdminConversationsSearchResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsSearchResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsSetConversationPrefsResponse.ts b/packages/web-api/src/types/response/AdminConversationsSetConversationPrefsResponse.ts index 2500fb022..f6d4d509d 100644 --- a/packages/web-api/src/types/response/AdminConversationsSetConversationPrefsResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsSetConversationPrefsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsSetCustomRetentionResponse.ts b/packages/web-api/src/types/response/AdminConversationsSetCustomRetentionResponse.ts index b647b1228..18f529108 100644 --- a/packages/web-api/src/types/response/AdminConversationsSetCustomRetentionResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsSetCustomRetentionResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsSetTeamsResponse.ts b/packages/web-api/src/types/response/AdminConversationsSetTeamsResponse.ts index 19355c55f..b92e01600 100644 --- a/packages/web-api/src/types/response/AdminConversationsSetTeamsResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsSetTeamsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsUnarchiveResponse.ts b/packages/web-api/src/types/response/AdminConversationsUnarchiveResponse.ts index 4f35a1c24..0bc938903 100644 --- a/packages/web-api/src/types/response/AdminConversationsUnarchiveResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsUnarchiveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsWhitelistAddResponse.ts b/packages/web-api/src/types/response/AdminConversationsWhitelistAddResponse.ts index 8d0c267b7..f83f5373c 100644 --- a/packages/web-api/src/types/response/AdminConversationsWhitelistAddResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsWhitelistAddResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsWhitelistListGroupsLinkedToChannelResponse.ts b/packages/web-api/src/types/response/AdminConversationsWhitelistListGroupsLinkedToChannelResponse.ts index 66847eec6..831e6235b 100644 --- a/packages/web-api/src/types/response/AdminConversationsWhitelistListGroupsLinkedToChannelResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsWhitelistListGroupsLinkedToChannelResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminConversationsWhitelistRemoveResponse.ts b/packages/web-api/src/types/response/AdminConversationsWhitelistRemoveResponse.ts index b0f5bc74c..dbecbba29 100644 --- a/packages/web-api/src/types/response/AdminConversationsWhitelistRemoveResponse.ts +++ b/packages/web-api/src/types/response/AdminConversationsWhitelistRemoveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminEmojiAddAliasResponse.ts b/packages/web-api/src/types/response/AdminEmojiAddAliasResponse.ts index 8a9bf8a08..cd40272fd 100644 --- a/packages/web-api/src/types/response/AdminEmojiAddAliasResponse.ts +++ b/packages/web-api/src/types/response/AdminEmojiAddAliasResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminEmojiAddResponse.ts b/packages/web-api/src/types/response/AdminEmojiAddResponse.ts index e6b39beda..e0e2802b1 100644 --- a/packages/web-api/src/types/response/AdminEmojiAddResponse.ts +++ b/packages/web-api/src/types/response/AdminEmojiAddResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminEmojiListResponse.ts b/packages/web-api/src/types/response/AdminEmojiListResponse.ts index 99841e58b..8fa0d095a 100644 --- a/packages/web-api/src/types/response/AdminEmojiListResponse.ts +++ b/packages/web-api/src/types/response/AdminEmojiListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminEmojiRemoveResponse.ts b/packages/web-api/src/types/response/AdminEmojiRemoveResponse.ts index 99518ea39..16496df5c 100644 --- a/packages/web-api/src/types/response/AdminEmojiRemoveResponse.ts +++ b/packages/web-api/src/types/response/AdminEmojiRemoveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminEmojiRenameResponse.ts b/packages/web-api/src/types/response/AdminEmojiRenameResponse.ts index e01cb8703..cabb2c279 100644 --- a/packages/web-api/src/types/response/AdminEmojiRenameResponse.ts +++ b/packages/web-api/src/types/response/AdminEmojiRenameResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminFunctionsListResponse.ts b/packages/web-api/src/types/response/AdminFunctionsListResponse.ts index 5f05f614d..c46f40c94 100644 --- a/packages/web-api/src/types/response/AdminFunctionsListResponse.ts +++ b/packages/web-api/src/types/response/AdminFunctionsListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminFunctionsPermissionsLookupResponse.ts b/packages/web-api/src/types/response/AdminFunctionsPermissionsLookupResponse.ts index ba667606d..e61e1d2fb 100644 --- a/packages/web-api/src/types/response/AdminFunctionsPermissionsLookupResponse.ts +++ b/packages/web-api/src/types/response/AdminFunctionsPermissionsLookupResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminFunctionsPermissionsSetResponse.ts b/packages/web-api/src/types/response/AdminFunctionsPermissionsSetResponse.ts index 0a892b975..234a90bb7 100644 --- a/packages/web-api/src/types/response/AdminFunctionsPermissionsSetResponse.ts +++ b/packages/web-api/src/types/response/AdminFunctionsPermissionsSetResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminInviteRequestsApproveResponse.ts b/packages/web-api/src/types/response/AdminInviteRequestsApproveResponse.ts index be799baac..5b9ff605f 100644 --- a/packages/web-api/src/types/response/AdminInviteRequestsApproveResponse.ts +++ b/packages/web-api/src/types/response/AdminInviteRequestsApproveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminInviteRequestsApprovedListResponse.ts b/packages/web-api/src/types/response/AdminInviteRequestsApprovedListResponse.ts index 9c8245e1a..999f7621d 100644 --- a/packages/web-api/src/types/response/AdminInviteRequestsApprovedListResponse.ts +++ b/packages/web-api/src/types/response/AdminInviteRequestsApprovedListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminInviteRequestsDeniedListResponse.ts b/packages/web-api/src/types/response/AdminInviteRequestsDeniedListResponse.ts index 5639f6a91..ca8504b23 100644 --- a/packages/web-api/src/types/response/AdminInviteRequestsDeniedListResponse.ts +++ b/packages/web-api/src/types/response/AdminInviteRequestsDeniedListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminInviteRequestsDenyResponse.ts b/packages/web-api/src/types/response/AdminInviteRequestsDenyResponse.ts index 2948970b9..87e27c8e3 100644 --- a/packages/web-api/src/types/response/AdminInviteRequestsDenyResponse.ts +++ b/packages/web-api/src/types/response/AdminInviteRequestsDenyResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminInviteRequestsListResponse.ts b/packages/web-api/src/types/response/AdminInviteRequestsListResponse.ts index 949a33229..28e7bc88a 100644 --- a/packages/web-api/src/types/response/AdminInviteRequestsListResponse.ts +++ b/packages/web-api/src/types/response/AdminInviteRequestsListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminRolesAddAssignmentsResponse.ts b/packages/web-api/src/types/response/AdminRolesAddAssignmentsResponse.ts index dfb93cc17..0bd464814 100644 --- a/packages/web-api/src/types/response/AdminRolesAddAssignmentsResponse.ts +++ b/packages/web-api/src/types/response/AdminRolesAddAssignmentsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminRolesListAssignmentsResponse.ts b/packages/web-api/src/types/response/AdminRolesListAssignmentsResponse.ts index 36a6f3272..4d9d4c02c 100644 --- a/packages/web-api/src/types/response/AdminRolesListAssignmentsResponse.ts +++ b/packages/web-api/src/types/response/AdminRolesListAssignmentsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminRolesRemoveAssignmentsResponse.ts b/packages/web-api/src/types/response/AdminRolesRemoveAssignmentsResponse.ts index b3064d003..04ee6eaa3 100644 --- a/packages/web-api/src/types/response/AdminRolesRemoveAssignmentsResponse.ts +++ b/packages/web-api/src/types/response/AdminRolesRemoveAssignmentsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminTeamsAdminsListResponse.ts b/packages/web-api/src/types/response/AdminTeamsAdminsListResponse.ts index 4a45c1a97..fdbafd6d6 100644 --- a/packages/web-api/src/types/response/AdminTeamsAdminsListResponse.ts +++ b/packages/web-api/src/types/response/AdminTeamsAdminsListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminTeamsCreateResponse.ts b/packages/web-api/src/types/response/AdminTeamsCreateResponse.ts index 3875d9028..9ed2ef56d 100644 --- a/packages/web-api/src/types/response/AdminTeamsCreateResponse.ts +++ b/packages/web-api/src/types/response/AdminTeamsCreateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminTeamsListResponse.ts b/packages/web-api/src/types/response/AdminTeamsListResponse.ts index 358d62683..9daca1213 100644 --- a/packages/web-api/src/types/response/AdminTeamsListResponse.ts +++ b/packages/web-api/src/types/response/AdminTeamsListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminTeamsOwnersListResponse.ts b/packages/web-api/src/types/response/AdminTeamsOwnersListResponse.ts index 153273dfc..703fcffad 100644 --- a/packages/web-api/src/types/response/AdminTeamsOwnersListResponse.ts +++ b/packages/web-api/src/types/response/AdminTeamsOwnersListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminTeamsSettingsInfoResponse.ts b/packages/web-api/src/types/response/AdminTeamsSettingsInfoResponse.ts index 1c6f7041a..d68aa6a3d 100644 --- a/packages/web-api/src/types/response/AdminTeamsSettingsInfoResponse.ts +++ b/packages/web-api/src/types/response/AdminTeamsSettingsInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminTeamsSettingsSetDefaultChannelsResponse.ts b/packages/web-api/src/types/response/AdminTeamsSettingsSetDefaultChannelsResponse.ts index c8973cb99..63799892f 100644 --- a/packages/web-api/src/types/response/AdminTeamsSettingsSetDefaultChannelsResponse.ts +++ b/packages/web-api/src/types/response/AdminTeamsSettingsSetDefaultChannelsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminTeamsSettingsSetDescriptionResponse.ts b/packages/web-api/src/types/response/AdminTeamsSettingsSetDescriptionResponse.ts index 2db89c5cc..6c85bbfe6 100644 --- a/packages/web-api/src/types/response/AdminTeamsSettingsSetDescriptionResponse.ts +++ b/packages/web-api/src/types/response/AdminTeamsSettingsSetDescriptionResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminTeamsSettingsSetDiscoverabilityResponse.ts b/packages/web-api/src/types/response/AdminTeamsSettingsSetDiscoverabilityResponse.ts index 3a5789f0b..c86a44b1c 100644 --- a/packages/web-api/src/types/response/AdminTeamsSettingsSetDiscoverabilityResponse.ts +++ b/packages/web-api/src/types/response/AdminTeamsSettingsSetDiscoverabilityResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminTeamsSettingsSetIconResponse.ts b/packages/web-api/src/types/response/AdminTeamsSettingsSetIconResponse.ts index 03e4977a6..660476125 100644 --- a/packages/web-api/src/types/response/AdminTeamsSettingsSetIconResponse.ts +++ b/packages/web-api/src/types/response/AdminTeamsSettingsSetIconResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminTeamsSettingsSetNameResponse.ts b/packages/web-api/src/types/response/AdminTeamsSettingsSetNameResponse.ts index c9651235f..485967d2e 100644 --- a/packages/web-api/src/types/response/AdminTeamsSettingsSetNameResponse.ts +++ b/packages/web-api/src/types/response/AdminTeamsSettingsSetNameResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsergroupsAddChannelsResponse.ts b/packages/web-api/src/types/response/AdminUsergroupsAddChannelsResponse.ts index ba7f9a63a..38e7a36bb 100644 --- a/packages/web-api/src/types/response/AdminUsergroupsAddChannelsResponse.ts +++ b/packages/web-api/src/types/response/AdminUsergroupsAddChannelsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsergroupsAddTeamsResponse.ts b/packages/web-api/src/types/response/AdminUsergroupsAddTeamsResponse.ts index 657954303..83316fcd9 100644 --- a/packages/web-api/src/types/response/AdminUsergroupsAddTeamsResponse.ts +++ b/packages/web-api/src/types/response/AdminUsergroupsAddTeamsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsergroupsListChannelsResponse.ts b/packages/web-api/src/types/response/AdminUsergroupsListChannelsResponse.ts index 3ada32177..2ad5a1d65 100644 --- a/packages/web-api/src/types/response/AdminUsergroupsListChannelsResponse.ts +++ b/packages/web-api/src/types/response/AdminUsergroupsListChannelsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsergroupsRemoveChannelsResponse.ts b/packages/web-api/src/types/response/AdminUsergroupsRemoveChannelsResponse.ts index 62d4b4b71..0bb529d17 100644 --- a/packages/web-api/src/types/response/AdminUsergroupsRemoveChannelsResponse.ts +++ b/packages/web-api/src/types/response/AdminUsergroupsRemoveChannelsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersAssignResponse.ts b/packages/web-api/src/types/response/AdminUsersAssignResponse.ts index 3f7562c42..c2beb02f4 100644 --- a/packages/web-api/src/types/response/AdminUsersAssignResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersAssignResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersInviteResponse.ts b/packages/web-api/src/types/response/AdminUsersInviteResponse.ts index fe364686e..b61c3d935 100644 --- a/packages/web-api/src/types/response/AdminUsersInviteResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersInviteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersListResponse.ts b/packages/web-api/src/types/response/AdminUsersListResponse.ts index 7e515812e..5be5073a5 100644 --- a/packages/web-api/src/types/response/AdminUsersListResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersRemoveResponse.ts b/packages/web-api/src/types/response/AdminUsersRemoveResponse.ts index ce75ed672..6a1f28597 100644 --- a/packages/web-api/src/types/response/AdminUsersRemoveResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersRemoveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersSessionClearSettingsResponse.ts b/packages/web-api/src/types/response/AdminUsersSessionClearSettingsResponse.ts index fa47de786..176a86e1e 100644 --- a/packages/web-api/src/types/response/AdminUsersSessionClearSettingsResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersSessionClearSettingsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersSessionGetSettingsResponse.ts b/packages/web-api/src/types/response/AdminUsersSessionGetSettingsResponse.ts index f431b07d3..b4e42196c 100644 --- a/packages/web-api/src/types/response/AdminUsersSessionGetSettingsResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersSessionGetSettingsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersSessionInvalidateResponse.ts b/packages/web-api/src/types/response/AdminUsersSessionInvalidateResponse.ts index a799f8afe..5662a798f 100644 --- a/packages/web-api/src/types/response/AdminUsersSessionInvalidateResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersSessionInvalidateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersSessionListResponse.ts b/packages/web-api/src/types/response/AdminUsersSessionListResponse.ts index 6fbeb2998..105ccc92c 100644 --- a/packages/web-api/src/types/response/AdminUsersSessionListResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersSessionListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersSessionResetBulkResponse.ts b/packages/web-api/src/types/response/AdminUsersSessionResetBulkResponse.ts index 3396d9bd4..4255a5b43 100644 --- a/packages/web-api/src/types/response/AdminUsersSessionResetBulkResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersSessionResetBulkResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersSessionResetResponse.ts b/packages/web-api/src/types/response/AdminUsersSessionResetResponse.ts index 275023cda..6d0aa70e9 100644 --- a/packages/web-api/src/types/response/AdminUsersSessionResetResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersSessionResetResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersSessionSetSettingsResponse.ts b/packages/web-api/src/types/response/AdminUsersSessionSetSettingsResponse.ts index 843b9a325..e75a54d69 100644 --- a/packages/web-api/src/types/response/AdminUsersSessionSetSettingsResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersSessionSetSettingsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersSetAdminResponse.ts b/packages/web-api/src/types/response/AdminUsersSetAdminResponse.ts index c4241c804..19e76a6d4 100644 --- a/packages/web-api/src/types/response/AdminUsersSetAdminResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersSetAdminResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersSetExpirationResponse.ts b/packages/web-api/src/types/response/AdminUsersSetExpirationResponse.ts index cc49cd5d4..ce7e44026 100644 --- a/packages/web-api/src/types/response/AdminUsersSetExpirationResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersSetExpirationResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersSetOwnerResponse.ts b/packages/web-api/src/types/response/AdminUsersSetOwnerResponse.ts index 093a181af..952ff5211 100644 --- a/packages/web-api/src/types/response/AdminUsersSetOwnerResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersSetOwnerResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersSetRegularResponse.ts b/packages/web-api/src/types/response/AdminUsersSetRegularResponse.ts index a02e7b39e..a6c0c762f 100644 --- a/packages/web-api/src/types/response/AdminUsersSetRegularResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersSetRegularResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminUsersUnsupportedVersionsExportResponse.ts b/packages/web-api/src/types/response/AdminUsersUnsupportedVersionsExportResponse.ts index 2ff942ec9..09d9cd0de 100644 --- a/packages/web-api/src/types/response/AdminUsersUnsupportedVersionsExportResponse.ts +++ b/packages/web-api/src/types/response/AdminUsersUnsupportedVersionsExportResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminWorkflowsCollaboratorsAddResponse.ts b/packages/web-api/src/types/response/AdminWorkflowsCollaboratorsAddResponse.ts index 57872f59b..496ab7723 100644 --- a/packages/web-api/src/types/response/AdminWorkflowsCollaboratorsAddResponse.ts +++ b/packages/web-api/src/types/response/AdminWorkflowsCollaboratorsAddResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminWorkflowsCollaboratorsRemoveResponse.ts b/packages/web-api/src/types/response/AdminWorkflowsCollaboratorsRemoveResponse.ts index 8624b1556..ac2e1916f 100644 --- a/packages/web-api/src/types/response/AdminWorkflowsCollaboratorsRemoveResponse.ts +++ b/packages/web-api/src/types/response/AdminWorkflowsCollaboratorsRemoveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminWorkflowsPermissionsLookupResponse.ts b/packages/web-api/src/types/response/AdminWorkflowsPermissionsLookupResponse.ts index 826e245eb..8014b4b0a 100644 --- a/packages/web-api/src/types/response/AdminWorkflowsPermissionsLookupResponse.ts +++ b/packages/web-api/src/types/response/AdminWorkflowsPermissionsLookupResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminWorkflowsSearchResponse.ts b/packages/web-api/src/types/response/AdminWorkflowsSearchResponse.ts index 8a93a335b..08dc31881 100644 --- a/packages/web-api/src/types/response/AdminWorkflowsSearchResponse.ts +++ b/packages/web-api/src/types/response/AdminWorkflowsSearchResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AdminWorkflowsUnpublishResponse.ts b/packages/web-api/src/types/response/AdminWorkflowsUnpublishResponse.ts index 84d671166..c58f612f1 100644 --- a/packages/web-api/src/types/response/AdminWorkflowsUnpublishResponse.ts +++ b/packages/web-api/src/types/response/AdminWorkflowsUnpublishResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ApiTestResponse.ts b/packages/web-api/src/types/response/ApiTestResponse.ts index ed1d9c1f8..f0b95f8a6 100644 --- a/packages/web-api/src/types/response/ApiTestResponse.ts +++ b/packages/web-api/src/types/response/ApiTestResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AppsConnectionsOpenResponse.ts b/packages/web-api/src/types/response/AppsConnectionsOpenResponse.ts index fcfc4064a..fdb26668a 100644 --- a/packages/web-api/src/types/response/AppsConnectionsOpenResponse.ts +++ b/packages/web-api/src/types/response/AppsConnectionsOpenResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AppsEventAuthorizationsListResponse.ts b/packages/web-api/src/types/response/AppsEventAuthorizationsListResponse.ts index 72e2b9cb9..f4e959703 100644 --- a/packages/web-api/src/types/response/AppsEventAuthorizationsListResponse.ts +++ b/packages/web-api/src/types/response/AppsEventAuthorizationsListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AppsManifestCreateResponse.ts b/packages/web-api/src/types/response/AppsManifestCreateResponse.ts index 53fe91ee2..37e8a31cf 100644 --- a/packages/web-api/src/types/response/AppsManifestCreateResponse.ts +++ b/packages/web-api/src/types/response/AppsManifestCreateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AppsManifestDeleteResponse.ts b/packages/web-api/src/types/response/AppsManifestDeleteResponse.ts index 3e9159f69..fa1728d0d 100644 --- a/packages/web-api/src/types/response/AppsManifestDeleteResponse.ts +++ b/packages/web-api/src/types/response/AppsManifestDeleteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AppsManifestExportResponse.ts b/packages/web-api/src/types/response/AppsManifestExportResponse.ts index fea8539bf..8db500e29 100644 --- a/packages/web-api/src/types/response/AppsManifestExportResponse.ts +++ b/packages/web-api/src/types/response/AppsManifestExportResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AppsManifestUpdateResponse.ts b/packages/web-api/src/types/response/AppsManifestUpdateResponse.ts index c6e198f3e..a775e3bdc 100644 --- a/packages/web-api/src/types/response/AppsManifestUpdateResponse.ts +++ b/packages/web-api/src/types/response/AppsManifestUpdateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AppsManifestValidateResponse.ts b/packages/web-api/src/types/response/AppsManifestValidateResponse.ts index e32053a3d..eb1233b78 100644 --- a/packages/web-api/src/types/response/AppsManifestValidateResponse.ts +++ b/packages/web-api/src/types/response/AppsManifestValidateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AppsPermissionsInfoResponse.ts b/packages/web-api/src/types/response/AppsPermissionsInfoResponse.ts index 64c6355e5..0a81ba1c4 100644 --- a/packages/web-api/src/types/response/AppsPermissionsInfoResponse.ts +++ b/packages/web-api/src/types/response/AppsPermissionsInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AppsPermissionsRequestResponse.ts b/packages/web-api/src/types/response/AppsPermissionsRequestResponse.ts index 50d9618af..4c24f9b7b 100644 --- a/packages/web-api/src/types/response/AppsPermissionsRequestResponse.ts +++ b/packages/web-api/src/types/response/AppsPermissionsRequestResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AppsPermissionsResourcesListResponse.ts b/packages/web-api/src/types/response/AppsPermissionsResourcesListResponse.ts index 4794fbe72..2e6ccdc55 100644 --- a/packages/web-api/src/types/response/AppsPermissionsResourcesListResponse.ts +++ b/packages/web-api/src/types/response/AppsPermissionsResourcesListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AppsPermissionsScopesListResponse.ts b/packages/web-api/src/types/response/AppsPermissionsScopesListResponse.ts index 7a8e0883b..95b81d291 100644 --- a/packages/web-api/src/types/response/AppsPermissionsScopesListResponse.ts +++ b/packages/web-api/src/types/response/AppsPermissionsScopesListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AppsPermissionsUsersListResponse.ts b/packages/web-api/src/types/response/AppsPermissionsUsersListResponse.ts index 241df6d79..5b5772860 100644 --- a/packages/web-api/src/types/response/AppsPermissionsUsersListResponse.ts +++ b/packages/web-api/src/types/response/AppsPermissionsUsersListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AppsPermissionsUsersRequestResponse.ts b/packages/web-api/src/types/response/AppsPermissionsUsersRequestResponse.ts index dac179505..47473a3ea 100644 --- a/packages/web-api/src/types/response/AppsPermissionsUsersRequestResponse.ts +++ b/packages/web-api/src/types/response/AppsPermissionsUsersRequestResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AppsUninstallResponse.ts b/packages/web-api/src/types/response/AppsUninstallResponse.ts index 704b645e8..b7c252570 100644 --- a/packages/web-api/src/types/response/AppsUninstallResponse.ts +++ b/packages/web-api/src/types/response/AppsUninstallResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AssistantThreadsSetStatusResponse.ts b/packages/web-api/src/types/response/AssistantThreadsSetStatusResponse.ts new file mode 100644 index 000000000..2808bf70a --- /dev/null +++ b/packages/web-api/src/types/response/AssistantThreadsSetStatusResponse.ts @@ -0,0 +1,17 @@ +///////////////////////////////////////////////////////////////////////////////////////// +// // +// !!! DO NOT EDIT THIS FILE !!! // +// // +// This file is auto-generated by scripts/generate-web-api-types.sh in the repository. // +// Please refer to the script code to learn how to update the source data. // +// // +///////////////////////////////////////////////////////////////////////////////////////// + +import type { WebAPICallResult } from '../../WebClient'; +export type AssistantThreadsSetStatusResponse = WebAPICallResult & { + error?: string; + needed?: string; + ok?: boolean; + provided?: string; + warning?: string; +}; diff --git a/packages/web-api/src/types/response/AssistantThreadsSetSuggestedPromptsResponse.ts b/packages/web-api/src/types/response/AssistantThreadsSetSuggestedPromptsResponse.ts new file mode 100644 index 000000000..cc6a3d291 --- /dev/null +++ b/packages/web-api/src/types/response/AssistantThreadsSetSuggestedPromptsResponse.ts @@ -0,0 +1,17 @@ +///////////////////////////////////////////////////////////////////////////////////////// +// // +// !!! DO NOT EDIT THIS FILE !!! // +// // +// This file is auto-generated by scripts/generate-web-api-types.sh in the repository. // +// Please refer to the script code to learn how to update the source data. // +// // +///////////////////////////////////////////////////////////////////////////////////////// + +import type { WebAPICallResult } from '../../WebClient'; +export type AssistantThreadsSetSuggestedPromptsResponse = WebAPICallResult & { + error?: string; + needed?: string; + ok?: boolean; + provided?: string; + warning?: string; +}; diff --git a/packages/web-api/src/types/response/AssistantThreadsSetTitleResponse.ts b/packages/web-api/src/types/response/AssistantThreadsSetTitleResponse.ts new file mode 100644 index 000000000..1c823c505 --- /dev/null +++ b/packages/web-api/src/types/response/AssistantThreadsSetTitleResponse.ts @@ -0,0 +1,17 @@ +///////////////////////////////////////////////////////////////////////////////////////// +// // +// !!! DO NOT EDIT THIS FILE !!! // +// // +// This file is auto-generated by scripts/generate-web-api-types.sh in the repository. // +// Please refer to the script code to learn how to update the source data. // +// // +///////////////////////////////////////////////////////////////////////////////////////// + +import type { WebAPICallResult } from '../../WebClient'; +export type AssistantThreadsSetTitleResponse = WebAPICallResult & { + error?: string; + needed?: string; + ok?: boolean; + provided?: string; + warning?: string; +}; diff --git a/packages/web-api/src/types/response/AuthRevokeResponse.ts b/packages/web-api/src/types/response/AuthRevokeResponse.ts index d85462076..fcb8f1294 100644 --- a/packages/web-api/src/types/response/AuthRevokeResponse.ts +++ b/packages/web-api/src/types/response/AuthRevokeResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AuthTeamsListResponse.ts b/packages/web-api/src/types/response/AuthTeamsListResponse.ts index 2b4b4b1ba..156cbddd7 100644 --- a/packages/web-api/src/types/response/AuthTeamsListResponse.ts +++ b/packages/web-api/src/types/response/AuthTeamsListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/AuthTestResponse.ts b/packages/web-api/src/types/response/AuthTestResponse.ts index 5d4a92840..094d5dfd1 100644 --- a/packages/web-api/src/types/response/AuthTestResponse.ts +++ b/packages/web-api/src/types/response/AuthTestResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/BookmarksAddResponse.ts b/packages/web-api/src/types/response/BookmarksAddResponse.ts index 771766a3f..bc88bacaf 100644 --- a/packages/web-api/src/types/response/BookmarksAddResponse.ts +++ b/packages/web-api/src/types/response/BookmarksAddResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/BookmarksEditResponse.ts b/packages/web-api/src/types/response/BookmarksEditResponse.ts index d4849cb0d..387decd14 100644 --- a/packages/web-api/src/types/response/BookmarksEditResponse.ts +++ b/packages/web-api/src/types/response/BookmarksEditResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/BookmarksListResponse.ts b/packages/web-api/src/types/response/BookmarksListResponse.ts index e840c8bc0..a3b2e47fb 100644 --- a/packages/web-api/src/types/response/BookmarksListResponse.ts +++ b/packages/web-api/src/types/response/BookmarksListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/BookmarksRemoveResponse.ts b/packages/web-api/src/types/response/BookmarksRemoveResponse.ts index 8be7594dd..61a4d5807 100644 --- a/packages/web-api/src/types/response/BookmarksRemoveResponse.ts +++ b/packages/web-api/src/types/response/BookmarksRemoveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/BotsInfoResponse.ts b/packages/web-api/src/types/response/BotsInfoResponse.ts index fff20b635..2845d92dc 100644 --- a/packages/web-api/src/types/response/BotsInfoResponse.ts +++ b/packages/web-api/src/types/response/BotsInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/CallsAddResponse.ts b/packages/web-api/src/types/response/CallsAddResponse.ts index 8635d66ac..6e287dbd1 100644 --- a/packages/web-api/src/types/response/CallsAddResponse.ts +++ b/packages/web-api/src/types/response/CallsAddResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/CallsEndResponse.ts b/packages/web-api/src/types/response/CallsEndResponse.ts index ce1605c05..8cef4034a 100644 --- a/packages/web-api/src/types/response/CallsEndResponse.ts +++ b/packages/web-api/src/types/response/CallsEndResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/CallsInfoResponse.ts b/packages/web-api/src/types/response/CallsInfoResponse.ts index 5e224247b..bdc05ce70 100644 --- a/packages/web-api/src/types/response/CallsInfoResponse.ts +++ b/packages/web-api/src/types/response/CallsInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/CallsParticipantsAddResponse.ts b/packages/web-api/src/types/response/CallsParticipantsAddResponse.ts index c742b2992..c19051330 100644 --- a/packages/web-api/src/types/response/CallsParticipantsAddResponse.ts +++ b/packages/web-api/src/types/response/CallsParticipantsAddResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/CallsParticipantsRemoveResponse.ts b/packages/web-api/src/types/response/CallsParticipantsRemoveResponse.ts index 5e0429b6e..ac197b808 100644 --- a/packages/web-api/src/types/response/CallsParticipantsRemoveResponse.ts +++ b/packages/web-api/src/types/response/CallsParticipantsRemoveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/CallsUpdateResponse.ts b/packages/web-api/src/types/response/CallsUpdateResponse.ts index ab333357e..e95234b7d 100644 --- a/packages/web-api/src/types/response/CallsUpdateResponse.ts +++ b/packages/web-api/src/types/response/CallsUpdateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/CanvasesAccessDeleteResponse.ts b/packages/web-api/src/types/response/CanvasesAccessDeleteResponse.ts index e0d6538ff..857dac724 100644 --- a/packages/web-api/src/types/response/CanvasesAccessDeleteResponse.ts +++ b/packages/web-api/src/types/response/CanvasesAccessDeleteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/CanvasesAccessSetResponse.ts b/packages/web-api/src/types/response/CanvasesAccessSetResponse.ts index 9bb5031f8..93ff87255 100644 --- a/packages/web-api/src/types/response/CanvasesAccessSetResponse.ts +++ b/packages/web-api/src/types/response/CanvasesAccessSetResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/CanvasesCreateResponse.ts b/packages/web-api/src/types/response/CanvasesCreateResponse.ts index 9fffa5c58..690948a3e 100644 --- a/packages/web-api/src/types/response/CanvasesCreateResponse.ts +++ b/packages/web-api/src/types/response/CanvasesCreateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/CanvasesDeleteResponse.ts b/packages/web-api/src/types/response/CanvasesDeleteResponse.ts index f7ccdff63..9501ea18b 100644 --- a/packages/web-api/src/types/response/CanvasesDeleteResponse.ts +++ b/packages/web-api/src/types/response/CanvasesDeleteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/CanvasesEditResponse.ts b/packages/web-api/src/types/response/CanvasesEditResponse.ts index 7e409e303..27813864f 100644 --- a/packages/web-api/src/types/response/CanvasesEditResponse.ts +++ b/packages/web-api/src/types/response/CanvasesEditResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/CanvasesSectionsLookupResponse.ts b/packages/web-api/src/types/response/CanvasesSectionsLookupResponse.ts index c70953d44..e58d13d58 100644 --- a/packages/web-api/src/types/response/CanvasesSectionsLookupResponse.ts +++ b/packages/web-api/src/types/response/CanvasesSectionsLookupResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChannelsArchiveResponse.ts b/packages/web-api/src/types/response/ChannelsArchiveResponse.ts index 2d00c89cb..aa0f46d5d 100644 --- a/packages/web-api/src/types/response/ChannelsArchiveResponse.ts +++ b/packages/web-api/src/types/response/ChannelsArchiveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChannelsCreateResponse.ts b/packages/web-api/src/types/response/ChannelsCreateResponse.ts index a27f94dae..52366c938 100644 --- a/packages/web-api/src/types/response/ChannelsCreateResponse.ts +++ b/packages/web-api/src/types/response/ChannelsCreateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChannelsHistoryResponse.ts b/packages/web-api/src/types/response/ChannelsHistoryResponse.ts index 757b13a04..6aa5789cd 100644 --- a/packages/web-api/src/types/response/ChannelsHistoryResponse.ts +++ b/packages/web-api/src/types/response/ChannelsHistoryResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChannelsInfoResponse.ts b/packages/web-api/src/types/response/ChannelsInfoResponse.ts index 37a788a21..293a8b83a 100644 --- a/packages/web-api/src/types/response/ChannelsInfoResponse.ts +++ b/packages/web-api/src/types/response/ChannelsInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChannelsInviteResponse.ts b/packages/web-api/src/types/response/ChannelsInviteResponse.ts index a6f1549af..d4e6a57cd 100644 --- a/packages/web-api/src/types/response/ChannelsInviteResponse.ts +++ b/packages/web-api/src/types/response/ChannelsInviteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChannelsJoinResponse.ts b/packages/web-api/src/types/response/ChannelsJoinResponse.ts index ef3f85021..c19ba50a2 100644 --- a/packages/web-api/src/types/response/ChannelsJoinResponse.ts +++ b/packages/web-api/src/types/response/ChannelsJoinResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChannelsKickResponse.ts b/packages/web-api/src/types/response/ChannelsKickResponse.ts index fe1f27bdc..77fccac4c 100644 --- a/packages/web-api/src/types/response/ChannelsKickResponse.ts +++ b/packages/web-api/src/types/response/ChannelsKickResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChannelsLeaveResponse.ts b/packages/web-api/src/types/response/ChannelsLeaveResponse.ts index 824776970..74d6f1aa0 100644 --- a/packages/web-api/src/types/response/ChannelsLeaveResponse.ts +++ b/packages/web-api/src/types/response/ChannelsLeaveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChannelsListResponse.ts b/packages/web-api/src/types/response/ChannelsListResponse.ts index 83a5e4701..1a3cc214e 100644 --- a/packages/web-api/src/types/response/ChannelsListResponse.ts +++ b/packages/web-api/src/types/response/ChannelsListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChannelsMarkResponse.ts b/packages/web-api/src/types/response/ChannelsMarkResponse.ts index bd40fb10b..6646d8ae6 100644 --- a/packages/web-api/src/types/response/ChannelsMarkResponse.ts +++ b/packages/web-api/src/types/response/ChannelsMarkResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChannelsRenameResponse.ts b/packages/web-api/src/types/response/ChannelsRenameResponse.ts index 3c94373c0..3db295775 100644 --- a/packages/web-api/src/types/response/ChannelsRenameResponse.ts +++ b/packages/web-api/src/types/response/ChannelsRenameResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChannelsRepliesResponse.ts b/packages/web-api/src/types/response/ChannelsRepliesResponse.ts index 2a988c788..7d2830ffd 100644 --- a/packages/web-api/src/types/response/ChannelsRepliesResponse.ts +++ b/packages/web-api/src/types/response/ChannelsRepliesResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChannelsSetPurposeResponse.ts b/packages/web-api/src/types/response/ChannelsSetPurposeResponse.ts index 814736a90..2af9f6a13 100644 --- a/packages/web-api/src/types/response/ChannelsSetPurposeResponse.ts +++ b/packages/web-api/src/types/response/ChannelsSetPurposeResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChannelsSetTopicResponse.ts b/packages/web-api/src/types/response/ChannelsSetTopicResponse.ts index 0218b1d71..4a744e38a 100644 --- a/packages/web-api/src/types/response/ChannelsSetTopicResponse.ts +++ b/packages/web-api/src/types/response/ChannelsSetTopicResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChannelsUnarchiveResponse.ts b/packages/web-api/src/types/response/ChannelsUnarchiveResponse.ts index 5f088382b..4ca8d7a72 100644 --- a/packages/web-api/src/types/response/ChannelsUnarchiveResponse.ts +++ b/packages/web-api/src/types/response/ChannelsUnarchiveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChatDeleteResponse.ts b/packages/web-api/src/types/response/ChatDeleteResponse.ts index 4484433f1..339dec26f 100644 --- a/packages/web-api/src/types/response/ChatDeleteResponse.ts +++ b/packages/web-api/src/types/response/ChatDeleteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChatDeleteScheduledMessageResponse.ts b/packages/web-api/src/types/response/ChatDeleteScheduledMessageResponse.ts index a453f8d73..23cf8cf6f 100644 --- a/packages/web-api/src/types/response/ChatDeleteScheduledMessageResponse.ts +++ b/packages/web-api/src/types/response/ChatDeleteScheduledMessageResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChatGetPermalinkResponse.ts b/packages/web-api/src/types/response/ChatGetPermalinkResponse.ts index 2251e7b17..b0979fcd9 100644 --- a/packages/web-api/src/types/response/ChatGetPermalinkResponse.ts +++ b/packages/web-api/src/types/response/ChatGetPermalinkResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChatMeMessageResponse.ts b/packages/web-api/src/types/response/ChatMeMessageResponse.ts index 5b074a108..257715c97 100644 --- a/packages/web-api/src/types/response/ChatMeMessageResponse.ts +++ b/packages/web-api/src/types/response/ChatMeMessageResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChatPostEphemeralResponse.ts b/packages/web-api/src/types/response/ChatPostEphemeralResponse.ts index e8b5a5154..6959f69fb 100644 --- a/packages/web-api/src/types/response/ChatPostEphemeralResponse.ts +++ b/packages/web-api/src/types/response/ChatPostEphemeralResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChatPostMessageResponse.ts b/packages/web-api/src/types/response/ChatPostMessageResponse.ts index 2fd73a2b9..a591ace6f 100644 --- a/packages/web-api/src/types/response/ChatPostMessageResponse.ts +++ b/packages/web-api/src/types/response/ChatPostMessageResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -24,8 +23,9 @@ export type ChatPostMessageResponse = WebAPICallResult & { export interface ChatPostMessageResponseMessage { app_id?: string; + assistant_app_thread?: AssistantAppThread; attachments?: Attachment[]; - blocks?: PurpleBlock[]; + blocks?: AssistantAppThreadBlock[]; bot_id?: string; bot_profile?: BotProfile; icons?: FluffyIcons; @@ -43,139 +43,54 @@ export interface ChatPostMessageResponseMessage { username?: string; } -export interface Attachment { - actions?: Action[]; - app_id?: string; - app_unfurl_url?: string; - author_icon?: string; - author_id?: string; - author_link?: string; - author_name?: string; - author_subname?: string; - blocks?: TitleBlockElement[]; - bot_id?: string; - callback_id?: string; - channel_id?: string; - channel_name?: string; - channel_team?: string; - color?: string; - fallback?: string; - fields?: AttachmentField[]; - file_id?: string; - filename?: string; - files?: FileElement[]; - footer?: string; - footer_icon?: string; - from_url?: string; - hide_border?: boolean; - hide_color?: boolean; - id?: number; - image_bytes?: number; - image_height?: number; - image_url?: string; - image_width?: number; - indent?: boolean; - is_app_unfurl?: boolean; - is_file_attachment?: boolean; - is_msg_unfurl?: boolean; - is_reply_unfurl?: boolean; - is_thread_root_unfurl?: boolean; - list?: List; - list_record?: PurpleListRecord; - list_record_id?: string; - list_records?: ListRecordElement[]; - list_schema?: Schema[]; - list_view?: View; - list_view_id?: string; - message_blocks?: MessageBlock[]; - metadata?: AttachmentMetadata; - mimetype?: string; - mrkdwn_in?: string[]; - msg_subtype?: string; - original_url?: string; - pretext?: string; - preview?: Preview; - service_icon?: string; - service_name?: string; - service_url?: string; - size?: number; - text?: string; - thumb_height?: number; - thumb_url?: string; - thumb_width?: number; +export interface AssistantAppThread { + first_user_thread_reply?: string; title?: string; - title_link?: string; - ts?: string; - url?: string; - video_html?: string; - video_html_height?: number; - video_html_width?: number; - video_url?: string; + title_blocks?: AssistantAppThreadBlock[]; } -export interface Action { - confirm?: ActionConfirm; - data_source?: string; - id?: string; - min_query_length?: number; - name?: string; - option_groups?: ActionOptionGroup[]; - options?: SelectedOptionElement[]; - selected_options?: SelectedOptionElement[]; - style?: string; - text?: string; - type?: string; - url?: string; - value?: string; -} - -export interface ActionConfirm { - dismiss_text?: string; - ok_text?: string; - text?: string; - title?: string; -} - -export interface ActionOptionGroup { - options?: SelectedOptionElement[]; - text?: string; -} - -export interface SelectedOptionElement { - text?: string; - value?: string; -} - -export interface TitleBlockElement { +export interface AssistantAppThreadBlock { accessory?: Accessory; alt_text?: string; + api_decoration_available?: boolean; app_collaborators?: string[]; app_id?: string; author_name?: string; block_id?: string; bot_user_id?: string; button_label?: string; - description?: DescriptionElement | string; + call?: Call; + call_id?: string; + description?: DescriptionElement; developer_trace_id?: string; + dispatch_action?: boolean; + element?: Accessory; elements?: Accessory[]; + external_id?: string; fallback?: string; fields?: DescriptionElement[]; + file?: FileElement; + file_id?: string; function_trigger_id?: string; + hint?: DescriptionElement; image_bytes?: number; image_height?: number; image_url?: string; image_width?: number; is_animated?: boolean; is_workflow_app?: boolean; + label?: DescriptionElement; + optional?: boolean; owning_team_id?: string; provider_icon_url?: string; provider_name?: string; sales_home_workflow_app_type?: number; share_url?: string; slack_file?: SlackFile; + source?: string; text?: DescriptionElement; thumbnail_url?: string; - title?: DescriptionElement | string; + title?: DescriptionElement; title_url?: string; trigger_subtype?: string; trigger_type?: string; @@ -268,7 +183,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -345,21 +260,51 @@ export interface CustomizableInputParameter { value?: string; } -export enum BlockType { - Actions = 'actions', - Context = 'context', - Divider = 'divider', - Image = 'image', - RichText = 'rich_text', - Section = 'section', - ShareShortcut = 'share_shortcut', - Video = 'video', +export interface Call { + media_backend_type?: string; + v1?: V1; } -export interface AttachmentField { - short?: boolean; - title?: string; - value?: string; +export interface V1 { + active_participants?: Participant[]; + all_participants?: Participant[]; + app_icon_urls?: AppIconUrls; + app_id?: string; + channels?: string[]; + created_by?: string; + date_end?: number; + date_start?: number; + desktop_app_join_url?: string; + display_id?: string; + has_ended?: boolean; + id?: string; + is_dm_call?: boolean; + join_url?: string; + name?: string; + was_accepted?: boolean; + was_missed?: boolean; + was_rejected?: boolean; +} + +export interface Participant { + avatar_url?: string; + display_name?: string; + external_id?: string; + slack_id?: string; +} + +export interface AppIconUrls { + image_1024?: string; + image_128?: string; + image_192?: string; + image_32?: string; + image_36?: string; + image_48?: string; + image_512?: string; + image_64?: string; + image_72?: string; + image_96?: string; + image_original?: string; } export interface FileElement { @@ -368,7 +313,7 @@ export interface FileElement { app_id?: string; app_name?: string; attachments?: any[]; - blocks?: TitleBlockElement[]; + blocks?: FileBlock[]; bot_id?: string; can_toggle_canvas_lock?: boolean; canvas_template_mode?: string; @@ -508,7 +453,7 @@ export interface FileElement { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlockElement[]; + title_blocks?: FileBlock[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -522,6 +467,56 @@ export interface FileElement { vtt?: string; } +export interface FileBlock { + accessory?: Accessory; + alt_text?: string; + app_collaborators?: string[]; + app_id?: string; + author_name?: string; + block_id?: string; + bot_user_id?: string; + button_label?: string; + description?: DescriptionElement | string; + developer_trace_id?: string; + elements?: Accessory[]; + fallback?: string; + fields?: DescriptionElement[]; + function_trigger_id?: string; + image_bytes?: number; + image_height?: number; + image_url?: string; + image_width?: number; + is_animated?: boolean; + is_workflow_app?: boolean; + owning_team_id?: string; + provider_icon_url?: string; + provider_name?: string; + sales_home_workflow_app_type?: number; + share_url?: string; + slack_file?: SlackFile; + text?: DescriptionElement; + thumbnail_url?: string; + title?: DescriptionElement | string; + title_url?: string; + trigger_subtype?: string; + trigger_type?: string; + type?: BlockType; + url?: string; + video_url?: string; + workflow_id?: string; +} + +export enum BlockType { + Actions = 'actions', + Context = 'context', + Divider = 'divider', + Image = 'image', + RichText = 'rich_text', + Section = 'section', + ShareShortcut = 'share_shortcut', + Video = 'video', +} + export interface Cc { address?: string; name?: string; @@ -699,6 +694,115 @@ export interface Transcription { status?: string; } +export interface Attachment { + actions?: Action[]; + app_id?: string; + app_unfurl_url?: string; + author_icon?: string; + author_id?: string; + author_link?: string; + author_name?: string; + author_subname?: string; + blocks?: FileBlock[]; + bot_id?: string; + callback_id?: string; + channel_id?: string; + channel_name?: string; + channel_team?: string; + color?: string; + fallback?: string; + fields?: AttachmentField[]; + file_id?: string; + filename?: string; + files?: FileElement[]; + footer?: string; + footer_icon?: string; + from_url?: string; + hide_border?: boolean; + hide_color?: boolean; + id?: number; + image_bytes?: number; + image_height?: number; + image_url?: string; + image_width?: number; + indent?: boolean; + is_app_unfurl?: boolean; + is_file_attachment?: boolean; + is_msg_unfurl?: boolean; + is_reply_unfurl?: boolean; + is_thread_root_unfurl?: boolean; + list?: List; + list_record?: PurpleListRecord; + list_record_id?: string; + list_records?: ListRecordElement[]; + list_schema?: Schema[]; + list_view?: View; + list_view_id?: string; + message_blocks?: MessageBlock[]; + metadata?: AttachmentMetadata; + mimetype?: string; + mrkdwn_in?: string[]; + msg_subtype?: string; + original_url?: string; + pretext?: string; + preview?: Preview; + service_icon?: string; + service_name?: string; + service_url?: string; + size?: number; + text?: string; + thumb_height?: number; + thumb_url?: string; + thumb_width?: number; + title?: string; + title_link?: string; + ts?: string; + url?: string; + video_html?: string; + video_html_height?: number; + video_html_width?: number; + video_url?: string; +} + +export interface Action { + confirm?: ActionConfirm; + data_source?: string; + id?: string; + min_query_length?: number; + name?: string; + option_groups?: ActionOptionGroup[]; + options?: SelectedOptionElement[]; + selected_options?: SelectedOptionElement[]; + style?: string; + text?: string; + type?: string; + url?: string; + value?: string; +} + +export interface ActionConfirm { + dismiss_text?: string; + ok_text?: string; + text?: string; + title?: string; +} + +export interface ActionOptionGroup { + options?: SelectedOptionElement[]; + text?: string; +} + +export interface SelectedOptionElement { + text?: string; + value?: string; +} + +export interface AttachmentField { + short?: boolean; + title?: string; + value?: string; +} + export interface List { channels?: string[]; comments_count?: number; @@ -774,8 +878,9 @@ export interface RecordField { export interface FieldMessage { app_id?: string; + assistant_app_thread?: AssistantAppThread; attachments?: any[]; - blocks?: TitleBlockElement[]; + blocks?: FileBlock[]; bot_id?: string; bot_link?: string; bot_profile?: BotProfile; @@ -1168,104 +1273,6 @@ export interface Preview { type?: string; } -export interface PurpleBlock { - accessory?: Accessory; - alt_text?: string; - api_decoration_available?: boolean; - app_collaborators?: string[]; - app_id?: string; - author_name?: string; - block_id?: string; - bot_user_id?: string; - button_label?: string; - call?: Call; - call_id?: string; - description?: DescriptionElement; - developer_trace_id?: string; - dispatch_action?: boolean; - element?: Accessory; - elements?: Accessory[]; - external_id?: string; - fallback?: string; - fields?: DescriptionElement[]; - file?: FileElement; - file_id?: string; - function_trigger_id?: string; - hint?: DescriptionElement; - image_bytes?: number; - image_height?: number; - image_url?: string; - image_width?: number; - is_animated?: boolean; - is_workflow_app?: boolean; - label?: DescriptionElement; - optional?: boolean; - owning_team_id?: string; - provider_icon_url?: string; - provider_name?: string; - sales_home_workflow_app_type?: number; - share_url?: string; - slack_file?: SlackFile; - source?: string; - text?: DescriptionElement; - thumbnail_url?: string; - title?: DescriptionElement; - title_url?: string; - trigger_subtype?: string; - trigger_type?: string; - type?: BlockType; - url?: string; - video_url?: string; - workflow_id?: string; -} - -export interface Call { - media_backend_type?: string; - v1?: V1; -} - -export interface V1 { - active_participants?: Participant[]; - all_participants?: Participant[]; - app_icon_urls?: AppIconUrls; - app_id?: string; - channels?: string[]; - created_by?: string; - date_end?: number; - date_start?: number; - desktop_app_join_url?: string; - display_id?: string; - has_ended?: boolean; - id?: string; - is_dm_call?: boolean; - join_url?: string; - name?: string; - was_accepted?: boolean; - was_missed?: boolean; - was_rejected?: boolean; -} - -export interface Participant { - avatar_url?: string; - display_name?: string; - external_id?: string; - slack_id?: string; -} - -export interface AppIconUrls { - image_1024?: string; - image_128?: string; - image_192?: string; - image_32?: string; - image_36?: string; - image_48?: string; - image_512?: string; - image_64?: string; - image_72?: string; - image_96?: string; - image_original?: string; -} - export interface FluffyIcons { emoji?: string; image_64?: string; diff --git a/packages/web-api/src/types/response/ChatScheduleMessageResponse.ts b/packages/web-api/src/types/response/ChatScheduleMessageResponse.ts index ca906d779..71d79247a 100644 --- a/packages/web-api/src/types/response/ChatScheduleMessageResponse.ts +++ b/packages/web-api/src/types/response/ChatScheduleMessageResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -23,7 +22,8 @@ export type ChatScheduleMessageResponse = WebAPICallResult & { export interface Message { app_id?: string; - blocks?: MessageBlock[]; + assistant_app_thread?: AssistantAppThread; + blocks?: AssistantAppThreadBlock[]; bot_id?: string; bot_profile?: BotProfile; metadata?: Metadata; @@ -34,7 +34,13 @@ export interface Message { user?: string; } -export interface MessageBlock { +export interface AssistantAppThread { + first_user_thread_reply?: string; + title?: string; + title_blocks?: AssistantAppThreadBlock[]; +} + +export interface AssistantAppThreadBlock { accessory?: Accessory; alt_text?: string; api_decoration_available?: boolean; @@ -79,7 +85,7 @@ export interface MessageBlock { title_url?: string; trigger_subtype?: string; trigger_type?: string; - type?: string; + type?: BlockType; url?: string; video_url?: string; workflow_id?: string; @@ -168,7 +174,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -298,7 +304,7 @@ export interface File { app_id?: string; app_name?: string; attachments?: any[]; - blocks?: TitleBlockElement[]; + blocks?: FileBlock[]; bot_id?: string; can_toggle_canvas_lock?: boolean; canvas_template_mode?: string; @@ -438,7 +444,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlockElement[]; + title_blocks?: FileBlock[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -452,7 +458,7 @@ export interface File { vtt?: string; } -export interface TitleBlockElement { +export interface FileBlock { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -485,12 +491,23 @@ export interface TitleBlockElement { title_url?: string; trigger_subtype?: string; trigger_type?: string; - type?: string; + type?: BlockType; url?: string; video_url?: string; workflow_id?: string; } +export enum BlockType { + Actions = 'actions', + Context = 'context', + Divider = 'divider', + Image = 'image', + RichText = 'rich_text', + Section = 'section', + ShareShortcut = 'share_shortcut', + Video = 'video', +} + export interface Cc { address?: string; name?: string; diff --git a/packages/web-api/src/types/response/ChatScheduledMessagesListResponse.ts b/packages/web-api/src/types/response/ChatScheduledMessagesListResponse.ts index 9d4591c26..0f0f37a3b 100644 --- a/packages/web-api/src/types/response/ChatScheduledMessagesListResponse.ts +++ b/packages/web-api/src/types/response/ChatScheduledMessagesListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChatUnfurlResponse.ts b/packages/web-api/src/types/response/ChatUnfurlResponse.ts index 98d7eaf5a..92c1b7b85 100644 --- a/packages/web-api/src/types/response/ChatUnfurlResponse.ts +++ b/packages/web-api/src/types/response/ChatUnfurlResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ChatUpdateResponse.ts b/packages/web-api/src/types/response/ChatUpdateResponse.ts index fff0b2227..7a04b0b9a 100644 --- a/packages/web-api/src/types/response/ChatUpdateResponse.ts +++ b/packages/web-api/src/types/response/ChatUpdateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -23,7 +22,8 @@ export type ChatUpdateResponse = WebAPICallResult & { export interface Message { app_id?: string; - blocks?: MessageBlock[]; + assistant_app_thread?: AssistantAppThread; + blocks?: AssistantAppThreadBlock[]; bot_id?: string; bot_profile?: BotProfile; display_as_bot?: boolean; @@ -39,7 +39,13 @@ export interface Message { x_files?: string[]; } -export interface MessageBlock { +export interface AssistantAppThread { + first_user_thread_reply?: string; + title?: string; + title_blocks?: AssistantAppThreadBlock[]; +} + +export interface AssistantAppThreadBlock { accessory?: Accessory; alt_text?: string; api_decoration_available?: boolean; @@ -173,7 +179,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -303,7 +309,7 @@ export interface File { app_id?: string; app_name?: string; attachments?: any[]; - blocks?: TitleBlockElement[]; + blocks?: FileBlock[]; bot_id?: string; can_toggle_canvas_lock?: boolean; canvas_template_mode?: string; @@ -443,7 +449,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlockElement[]; + title_blocks?: FileBlock[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -457,7 +463,7 @@ export interface File { vtt?: string; } -export interface TitleBlockElement { +export interface FileBlock { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; diff --git a/packages/web-api/src/types/response/ConversationsAcceptSharedInviteResponse.ts b/packages/web-api/src/types/response/ConversationsAcceptSharedInviteResponse.ts index af8194284..e25197433 100644 --- a/packages/web-api/src/types/response/ConversationsAcceptSharedInviteResponse.ts +++ b/packages/web-api/src/types/response/ConversationsAcceptSharedInviteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsApproveSharedInviteResponse.ts b/packages/web-api/src/types/response/ConversationsApproveSharedInviteResponse.ts index a23d00463..81c13ca2a 100644 --- a/packages/web-api/src/types/response/ConversationsApproveSharedInviteResponse.ts +++ b/packages/web-api/src/types/response/ConversationsApproveSharedInviteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsArchiveResponse.ts b/packages/web-api/src/types/response/ConversationsArchiveResponse.ts index 0785835b9..74dc024a3 100644 --- a/packages/web-api/src/types/response/ConversationsArchiveResponse.ts +++ b/packages/web-api/src/types/response/ConversationsArchiveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsCanvasesCreateResponse.ts b/packages/web-api/src/types/response/ConversationsCanvasesCreateResponse.ts index 3e3e6c249..09a146e39 100644 --- a/packages/web-api/src/types/response/ConversationsCanvasesCreateResponse.ts +++ b/packages/web-api/src/types/response/ConversationsCanvasesCreateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsCloseResponse.ts b/packages/web-api/src/types/response/ConversationsCloseResponse.ts index cd335b2f0..cdf7a757e 100644 --- a/packages/web-api/src/types/response/ConversationsCloseResponse.ts +++ b/packages/web-api/src/types/response/ConversationsCloseResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsCreateResponse.ts b/packages/web-api/src/types/response/ConversationsCreateResponse.ts index 13fa83102..21c500028 100644 --- a/packages/web-api/src/types/response/ConversationsCreateResponse.ts +++ b/packages/web-api/src/types/response/ConversationsCreateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsDeclineSharedInviteResponse.ts b/packages/web-api/src/types/response/ConversationsDeclineSharedInviteResponse.ts index 7b713a9b8..d3fbf602d 100644 --- a/packages/web-api/src/types/response/ConversationsDeclineSharedInviteResponse.ts +++ b/packages/web-api/src/types/response/ConversationsDeclineSharedInviteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsExternalInvitePermissionsSetResponse.ts b/packages/web-api/src/types/response/ConversationsExternalInvitePermissionsSetResponse.ts index 355938abf..6a6dd761f 100644 --- a/packages/web-api/src/types/response/ConversationsExternalInvitePermissionsSetResponse.ts +++ b/packages/web-api/src/types/response/ConversationsExternalInvitePermissionsSetResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsHistoryResponse.ts b/packages/web-api/src/types/response/ConversationsHistoryResponse.ts index 81f499520..ac43f3b14 100644 --- a/packages/web-api/src/types/response/ConversationsHistoryResponse.ts +++ b/packages/web-api/src/types/response/ConversationsHistoryResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -25,8 +24,9 @@ export type ConversationsHistoryResponse = WebAPICallResult & { export interface MessageElement { app_id?: string; + assistant_app_thread?: AssistantAppThread; attachments?: Attachment[]; - blocks?: PurpleBlock[]; + blocks?: AssistantAppThreadBlock[]; bot_id?: string; bot_profile?: BotProfile; client_msg_id?: string; @@ -59,139 +59,54 @@ export interface MessageElement { x_files?: string[]; } -export interface Attachment { - actions?: Action[]; - app_id?: string; - app_unfurl_url?: string; - author_icon?: string; - author_id?: string; - author_link?: string; - author_name?: string; - author_subname?: string; - blocks?: TitleBlockElement[]; - bot_id?: string; - callback_id?: string; - channel_id?: string; - channel_name?: string; - channel_team?: string; - color?: string; - fallback?: string; - fields?: AttachmentField[]; - file_id?: string; - filename?: string; - files?: FileElement[]; - footer?: string; - footer_icon?: string; - from_url?: string; - hide_border?: boolean; - hide_color?: boolean; - id?: number; - image_bytes?: number; - image_height?: number; - image_url?: string; - image_width?: number; - indent?: boolean; - is_app_unfurl?: boolean; - is_file_attachment?: boolean; - is_msg_unfurl?: boolean; - is_reply_unfurl?: boolean; - is_thread_root_unfurl?: boolean; - list?: List; - list_record?: PurpleListRecord; - list_record_id?: string; - list_records?: ListRecordElement[]; - list_schema?: Schema[]; - list_view?: View; - list_view_id?: string; - message_blocks?: MessageBlock[]; - metadata?: AttachmentMetadata; - mimetype?: string; - mrkdwn_in?: string[]; - msg_subtype?: string; - original_url?: string; - pretext?: string; - preview?: Preview; - service_icon?: string; - service_name?: string; - service_url?: string; - size?: number; - text?: string; - thumb_height?: number; - thumb_url?: string; - thumb_width?: number; +export interface AssistantAppThread { + first_user_thread_reply?: string; title?: string; - title_link?: string; - ts?: string; - url?: string; - video_html?: string; - video_html_height?: number; - video_html_width?: number; - video_url?: string; + title_blocks?: AssistantAppThreadBlock[]; } -export interface Action { - confirm?: ActionConfirm; - data_source?: string; - id?: string; - min_query_length?: number; - name?: string; - option_groups?: ActionOptionGroup[]; - options?: SelectedOptionElement[]; - selected_options?: SelectedOptionElement[]; - style?: string; - text?: string; - type?: string; - url?: string; - value?: string; -} - -export interface ActionConfirm { - dismiss_text?: string; - ok_text?: string; - text?: string; - title?: string; -} - -export interface ActionOptionGroup { - options?: SelectedOptionElement[]; - text?: string; -} - -export interface SelectedOptionElement { - text?: string; - value?: string; -} - -export interface TitleBlockElement { +export interface AssistantAppThreadBlock { accessory?: Accessory; alt_text?: string; + api_decoration_available?: boolean; app_collaborators?: string[]; app_id?: string; author_name?: string; block_id?: string; bot_user_id?: string; button_label?: string; - description?: DescriptionElement | string; + call?: Call; + call_id?: string; + description?: DescriptionElement; developer_trace_id?: string; + dispatch_action?: boolean; + element?: Accessory; elements?: Accessory[]; + external_id?: string; fallback?: string; fields?: DescriptionElement[]; + file?: FileElement; + file_id?: string; function_trigger_id?: string; + hint?: DescriptionElement; image_bytes?: number; image_height?: number; image_url?: string; image_width?: number; is_animated?: boolean; is_workflow_app?: boolean; + label?: DescriptionElement; + optional?: boolean; owning_team_id?: string; provider_icon_url?: string; provider_name?: string; sales_home_workflow_app_type?: number; share_url?: string; slack_file?: SlackFile; + source?: string; text?: DescriptionElement; thumbnail_url?: string; - title?: DescriptionElement | string; + title?: DescriptionElement; title_url?: string; trigger_subtype?: string; trigger_type?: string; @@ -284,7 +199,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -361,21 +276,51 @@ export interface CustomizableInputParameter { value?: string; } -export enum BlockType { - Actions = 'actions', - Context = 'context', - Divider = 'divider', - Image = 'image', - RichText = 'rich_text', - Section = 'section', - ShareShortcut = 'share_shortcut', - Video = 'video', +export interface Call { + media_backend_type?: string; + v1?: V1; } -export interface AttachmentField { - short?: boolean; - title?: string; - value?: string; +export interface V1 { + active_participants?: Participant[]; + all_participants?: Participant[]; + app_icon_urls?: AppIconUrls; + app_id?: string; + channels?: string[]; + created_by?: string; + date_end?: number; + date_start?: number; + desktop_app_join_url?: string; + display_id?: string; + has_ended?: boolean; + id?: string; + is_dm_call?: boolean; + join_url?: string; + name?: string; + was_accepted?: boolean; + was_missed?: boolean; + was_rejected?: boolean; +} + +export interface Participant { + avatar_url?: string; + display_name?: string; + external_id?: string; + slack_id?: string; +} + +export interface AppIconUrls { + image_1024?: string; + image_128?: string; + image_192?: string; + image_32?: string; + image_36?: string; + image_48?: string; + image_512?: string; + image_64?: string; + image_72?: string; + image_96?: string; + image_original?: string; } export interface FileElement { @@ -384,7 +329,7 @@ export interface FileElement { app_id?: string; app_name?: string; attachments?: any[]; - blocks?: TitleBlockElement[]; + blocks?: FileBlock[]; bot_id?: string; can_toggle_canvas_lock?: boolean; canvas_template_mode?: string; @@ -524,7 +469,7 @@ export interface FileElement { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlockElement[]; + title_blocks?: FileBlock[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -538,6 +483,56 @@ export interface FileElement { vtt?: string; } +export interface FileBlock { + accessory?: Accessory; + alt_text?: string; + app_collaborators?: string[]; + app_id?: string; + author_name?: string; + block_id?: string; + bot_user_id?: string; + button_label?: string; + description?: DescriptionElement | string; + developer_trace_id?: string; + elements?: Accessory[]; + fallback?: string; + fields?: DescriptionElement[]; + function_trigger_id?: string; + image_bytes?: number; + image_height?: number; + image_url?: string; + image_width?: number; + is_animated?: boolean; + is_workflow_app?: boolean; + owning_team_id?: string; + provider_icon_url?: string; + provider_name?: string; + sales_home_workflow_app_type?: number; + share_url?: string; + slack_file?: SlackFile; + text?: DescriptionElement; + thumbnail_url?: string; + title?: DescriptionElement | string; + title_url?: string; + trigger_subtype?: string; + trigger_type?: string; + type?: BlockType; + url?: string; + video_url?: string; + workflow_id?: string; +} + +export enum BlockType { + Actions = 'actions', + Context = 'context', + Divider = 'divider', + Image = 'image', + RichText = 'rich_text', + Section = 'section', + ShareShortcut = 'share_shortcut', + Video = 'video', +} + export interface Cc { address?: string; name?: string; @@ -715,6 +710,115 @@ export interface Transcription { status?: string; } +export interface Attachment { + actions?: Action[]; + app_id?: string; + app_unfurl_url?: string; + author_icon?: string; + author_id?: string; + author_link?: string; + author_name?: string; + author_subname?: string; + blocks?: FileBlock[]; + bot_id?: string; + callback_id?: string; + channel_id?: string; + channel_name?: string; + channel_team?: string; + color?: string; + fallback?: string; + fields?: AttachmentField[]; + file_id?: string; + filename?: string; + files?: FileElement[]; + footer?: string; + footer_icon?: string; + from_url?: string; + hide_border?: boolean; + hide_color?: boolean; + id?: number; + image_bytes?: number; + image_height?: number; + image_url?: string; + image_width?: number; + indent?: boolean; + is_app_unfurl?: boolean; + is_file_attachment?: boolean; + is_msg_unfurl?: boolean; + is_reply_unfurl?: boolean; + is_thread_root_unfurl?: boolean; + list?: List; + list_record?: PurpleListRecord; + list_record_id?: string; + list_records?: ListRecordElement[]; + list_schema?: Schema[]; + list_view?: View; + list_view_id?: string; + message_blocks?: MessageBlock[]; + metadata?: AttachmentMetadata; + mimetype?: string; + mrkdwn_in?: string[]; + msg_subtype?: string; + original_url?: string; + pretext?: string; + preview?: Preview; + service_icon?: string; + service_name?: string; + service_url?: string; + size?: number; + text?: string; + thumb_height?: number; + thumb_url?: string; + thumb_width?: number; + title?: string; + title_link?: string; + ts?: string; + url?: string; + video_html?: string; + video_html_height?: number; + video_html_width?: number; + video_url?: string; +} + +export interface Action { + confirm?: ActionConfirm; + data_source?: string; + id?: string; + min_query_length?: number; + name?: string; + option_groups?: ActionOptionGroup[]; + options?: SelectedOptionElement[]; + selected_options?: SelectedOptionElement[]; + style?: string; + text?: string; + type?: string; + url?: string; + value?: string; +} + +export interface ActionConfirm { + dismiss_text?: string; + ok_text?: string; + text?: string; + title?: string; +} + +export interface ActionOptionGroup { + options?: SelectedOptionElement[]; + text?: string; +} + +export interface SelectedOptionElement { + text?: string; + value?: string; +} + +export interface AttachmentField { + short?: boolean; + title?: string; + value?: string; +} + export interface List { channels?: string[]; comments_count?: number; @@ -790,8 +894,9 @@ export interface RecordField { export interface FieldMessage { app_id?: string; + assistant_app_thread?: AssistantAppThread; attachments?: any[]; - blocks?: TitleBlockElement[]; + blocks?: FileBlock[]; bot_id?: string; bot_link?: string; bot_profile?: BotProfile; @@ -1181,104 +1286,6 @@ export interface Preview { type?: string; } -export interface PurpleBlock { - accessory?: Accessory; - alt_text?: string; - api_decoration_available?: boolean; - app_collaborators?: string[]; - app_id?: string; - author_name?: string; - block_id?: string; - bot_user_id?: string; - button_label?: string; - call?: Call; - call_id?: string; - description?: DescriptionElement; - developer_trace_id?: string; - dispatch_action?: boolean; - element?: Accessory; - elements?: Accessory[]; - external_id?: string; - fallback?: string; - fields?: DescriptionElement[]; - file?: FileElement; - file_id?: string; - function_trigger_id?: string; - hint?: DescriptionElement; - image_bytes?: number; - image_height?: number; - image_url?: string; - image_width?: number; - is_animated?: boolean; - is_workflow_app?: boolean; - label?: DescriptionElement; - optional?: boolean; - owning_team_id?: string; - provider_icon_url?: string; - provider_name?: string; - sales_home_workflow_app_type?: number; - share_url?: string; - slack_file?: SlackFile; - source?: string; - text?: DescriptionElement; - thumbnail_url?: string; - title?: DescriptionElement; - title_url?: string; - trigger_subtype?: string; - trigger_type?: string; - type?: BlockType; - url?: string; - video_url?: string; - workflow_id?: string; -} - -export interface Call { - media_backend_type?: string; - v1?: V1; -} - -export interface V1 { - active_participants?: Participant[]; - all_participants?: Participant[]; - app_icon_urls?: AppIconUrls; - app_id?: string; - channels?: string[]; - created_by?: string; - date_end?: number; - date_start?: number; - desktop_app_join_url?: string; - display_id?: string; - has_ended?: boolean; - id?: string; - is_dm_call?: boolean; - join_url?: string; - name?: string; - was_accepted?: boolean; - was_missed?: boolean; - was_rejected?: boolean; -} - -export interface Participant { - avatar_url?: string; - display_name?: string; - external_id?: string; - slack_id?: string; -} - -export interface AppIconUrls { - image_1024?: string; - image_128?: string; - image_192?: string; - image_32?: string; - image_36?: string; - image_48?: string; - image_512?: string; - image_64?: string; - image_72?: string; - image_96?: string; - image_original?: string; -} - export interface FluffyMetadata { event_payload?: EventPayload; event_type?: string; diff --git a/packages/web-api/src/types/response/ConversationsInfoResponse.ts b/packages/web-api/src/types/response/ConversationsInfoResponse.ts index ccaa461a2..cbfedd4f5 100644 --- a/packages/web-api/src/types/response/ConversationsInfoResponse.ts +++ b/packages/web-api/src/types/response/ConversationsInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsInviteResponse.ts b/packages/web-api/src/types/response/ConversationsInviteResponse.ts index 632455e12..fc8fa3d15 100644 --- a/packages/web-api/src/types/response/ConversationsInviteResponse.ts +++ b/packages/web-api/src/types/response/ConversationsInviteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsInviteSharedResponse.ts b/packages/web-api/src/types/response/ConversationsInviteSharedResponse.ts index ef5c9523b..0c3856f7c 100644 --- a/packages/web-api/src/types/response/ConversationsInviteSharedResponse.ts +++ b/packages/web-api/src/types/response/ConversationsInviteSharedResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsJoinResponse.ts b/packages/web-api/src/types/response/ConversationsJoinResponse.ts index 76f856c01..4c7822811 100644 --- a/packages/web-api/src/types/response/ConversationsJoinResponse.ts +++ b/packages/web-api/src/types/response/ConversationsJoinResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsKickResponse.ts b/packages/web-api/src/types/response/ConversationsKickResponse.ts index 18510ca0a..d92c65c99 100644 --- a/packages/web-api/src/types/response/ConversationsKickResponse.ts +++ b/packages/web-api/src/types/response/ConversationsKickResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsLeaveResponse.ts b/packages/web-api/src/types/response/ConversationsLeaveResponse.ts index db6acb1f0..86444aed7 100644 --- a/packages/web-api/src/types/response/ConversationsLeaveResponse.ts +++ b/packages/web-api/src/types/response/ConversationsLeaveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsListConnectInvitesResponse.ts b/packages/web-api/src/types/response/ConversationsListConnectInvitesResponse.ts index 77f252277..3723fc617 100644 --- a/packages/web-api/src/types/response/ConversationsListConnectInvitesResponse.ts +++ b/packages/web-api/src/types/response/ConversationsListConnectInvitesResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -22,10 +21,19 @@ export type ConversationsListConnectInvitesResponse = WebAPICallResult & { export interface InviteElement { acceptances?: Acceptance[]; channel?: Channel; + date_created?: number; + date_invalid?: number; date_last_updated?: number; direction?: string; + id?: string; invite?: InviteInvite; + invite_payload?: InvitePayload; invite_type?: string; + inviting_team?: IngTeam; + inviting_user?: TingUser; + link?: string; + recipient_user_id?: string; + sig?: string; status?: string; } @@ -47,6 +55,7 @@ export interface IngTeam { id?: string; is_verified?: boolean; name?: string; + requires_sponsorship?: boolean; } export interface Icon { @@ -111,6 +120,14 @@ export interface InviteInvite { link?: string; recipient_email?: string; recipient_user_id?: string; + sig?: string; +} + +export interface InvitePayload { + channel?: Channel; + invite_type?: string; + is_external_limited?: boolean; + is_sponsored?: boolean; } export interface ResponseMetadata { diff --git a/packages/web-api/src/types/response/ConversationsListResponse.ts b/packages/web-api/src/types/response/ConversationsListResponse.ts index 135967fdb..68f5e8a9c 100644 --- a/packages/web-api/src/types/response/ConversationsListResponse.ts +++ b/packages/web-api/src/types/response/ConversationsListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsMarkResponse.ts b/packages/web-api/src/types/response/ConversationsMarkResponse.ts index 160d5dde2..96e22713a 100644 --- a/packages/web-api/src/types/response/ConversationsMarkResponse.ts +++ b/packages/web-api/src/types/response/ConversationsMarkResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsMembersResponse.ts b/packages/web-api/src/types/response/ConversationsMembersResponse.ts index 1681230c7..402a2ceed 100644 --- a/packages/web-api/src/types/response/ConversationsMembersResponse.ts +++ b/packages/web-api/src/types/response/ConversationsMembersResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsOpenResponse.ts b/packages/web-api/src/types/response/ConversationsOpenResponse.ts index 660e3debf..3eed11cc2 100644 --- a/packages/web-api/src/types/response/ConversationsOpenResponse.ts +++ b/packages/web-api/src/types/response/ConversationsOpenResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -38,7 +37,8 @@ export interface Channel { export interface Latest { app_id?: string; - blocks?: LatestBlock[]; + assistant_app_thread?: AssistantAppThread; + blocks?: AssistantAppThreadBlock[]; bot_id?: string; bot_profile?: BotProfile; client_msg_id?: string; @@ -50,7 +50,13 @@ export interface Latest { user?: string; } -export interface LatestBlock { +export interface AssistantAppThread { + first_user_thread_reply?: string; + title?: string; + title_blocks?: AssistantAppThreadBlock[]; +} + +export interface AssistantAppThreadBlock { accessory?: Accessory; alt_text?: string; api_decoration_available?: boolean; @@ -95,7 +101,7 @@ export interface LatestBlock { title_url?: string; trigger_subtype?: string; trigger_type?: string; - type?: string; + type?: BlockType; url?: string; video_url?: string; workflow_id?: string; @@ -184,7 +190,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -314,7 +320,7 @@ export interface File { app_id?: string; app_name?: string; attachments?: any[]; - blocks?: TitleBlockElement[]; + blocks?: FileBlock[]; bot_id?: string; can_toggle_canvas_lock?: boolean; canvas_template_mode?: string; @@ -454,7 +460,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlockElement[]; + title_blocks?: FileBlock[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -468,7 +474,7 @@ export interface File { vtt?: string; } -export interface TitleBlockElement { +export interface FileBlock { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -501,12 +507,23 @@ export interface TitleBlockElement { title_url?: string; trigger_subtype?: string; trigger_type?: string; - type?: string; + type?: BlockType; url?: string; video_url?: string; workflow_id?: string; } +export enum BlockType { + Actions = 'actions', + Context = 'context', + Divider = 'divider', + Image = 'image', + RichText = 'rich_text', + Section = 'section', + ShareShortcut = 'share_shortcut', + Video = 'video', +} + export interface Cc { address?: string; name?: string; diff --git a/packages/web-api/src/types/response/ConversationsRenameResponse.ts b/packages/web-api/src/types/response/ConversationsRenameResponse.ts index 3ff4d9eee..64bad0774 100644 --- a/packages/web-api/src/types/response/ConversationsRenameResponse.ts +++ b/packages/web-api/src/types/response/ConversationsRenameResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsRepliesResponse.ts b/packages/web-api/src/types/response/ConversationsRepliesResponse.ts index cc7c7ff92..cd3e2c279 100644 --- a/packages/web-api/src/types/response/ConversationsRepliesResponse.ts +++ b/packages/web-api/src/types/response/ConversationsRepliesResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -21,8 +20,9 @@ export type ConversationsRepliesResponse = WebAPICallResult & { export interface MessageElement { app_id?: string; + assistant_app_thread?: AssistantAppThread; attachments?: Attachment[]; - blocks?: PurpleBlock[]; + blocks?: AssistantAppThreadBlock[]; bot_id?: string; bot_profile?: BotProfile; display_as_bot?: boolean; @@ -48,139 +48,54 @@ export interface MessageElement { x_files?: string[]; } -export interface Attachment { - actions?: Action[]; - app_id?: string; - app_unfurl_url?: string; - author_icon?: string; - author_id?: string; - author_link?: string; - author_name?: string; - author_subname?: string; - blocks?: TitleBlockElement[]; - bot_id?: string; - callback_id?: string; - channel_id?: string; - channel_name?: string; - channel_team?: string; - color?: string; - fallback?: string; - fields?: AttachmentField[]; - file_id?: string; - filename?: string; - files?: FileElement[]; - footer?: string; - footer_icon?: string; - from_url?: string; - hide_border?: boolean; - hide_color?: boolean; - id?: number; - image_bytes?: number; - image_height?: number; - image_url?: string; - image_width?: number; - indent?: boolean; - is_app_unfurl?: boolean; - is_file_attachment?: boolean; - is_msg_unfurl?: boolean; - is_reply_unfurl?: boolean; - is_thread_root_unfurl?: boolean; - list?: List; - list_record?: PurpleListRecord; - list_record_id?: string; - list_records?: ListRecordElement[]; - list_schema?: Schema[]; - list_view?: View; - list_view_id?: string; - message_blocks?: MessageBlock[]; - metadata?: AttachmentMetadata; - mimetype?: string; - mrkdwn_in?: string[]; - msg_subtype?: string; - original_url?: string; - pretext?: string; - preview?: Preview; - service_icon?: string; - service_name?: string; - service_url?: string; - size?: number; - text?: string; - thumb_height?: number; - thumb_url?: string; - thumb_width?: number; +export interface AssistantAppThread { + first_user_thread_reply?: string; title?: string; - title_link?: string; - ts?: string; - url?: string; - video_html?: string; - video_html_height?: number; - video_html_width?: number; - video_url?: string; + title_blocks?: AssistantAppThreadBlock[]; } -export interface Action { - confirm?: ActionConfirm; - data_source?: string; - id?: string; - min_query_length?: number; - name?: string; - option_groups?: ActionOptionGroup[]; - options?: SelectedOptionElement[]; - selected_options?: SelectedOptionElement[]; - style?: string; - text?: string; - type?: string; - url?: string; - value?: string; -} - -export interface ActionConfirm { - dismiss_text?: string; - ok_text?: string; - text?: string; - title?: string; -} - -export interface ActionOptionGroup { - options?: SelectedOptionElement[]; - text?: string; -} - -export interface SelectedOptionElement { - text?: string; - value?: string; -} - -export interface TitleBlockElement { +export interface AssistantAppThreadBlock { accessory?: Accessory; alt_text?: string; + api_decoration_available?: boolean; app_collaborators?: string[]; app_id?: string; author_name?: string; block_id?: string; bot_user_id?: string; button_label?: string; - description?: DescriptionElement | string; + call?: Call; + call_id?: string; + description?: DescriptionElement; developer_trace_id?: string; + dispatch_action?: boolean; + element?: Accessory; elements?: Accessory[]; + external_id?: string; fallback?: string; fields?: DescriptionElement[]; + file?: FileElement; + file_id?: string; function_trigger_id?: string; + hint?: DescriptionElement; image_bytes?: number; image_height?: number; image_url?: string; image_width?: number; is_animated?: boolean; is_workflow_app?: boolean; + label?: DescriptionElement; + optional?: boolean; owning_team_id?: string; provider_icon_url?: string; provider_name?: string; sales_home_workflow_app_type?: number; share_url?: string; slack_file?: SlackFile; + source?: string; text?: DescriptionElement; thumbnail_url?: string; - title?: DescriptionElement | string; + title?: DescriptionElement; title_url?: string; trigger_subtype?: string; trigger_type?: string; @@ -273,7 +188,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -350,21 +265,51 @@ export interface CustomizableInputParameter { value?: string; } -export enum BlockType { - Actions = 'actions', - Context = 'context', - Divider = 'divider', - Image = 'image', - RichText = 'rich_text', - Section = 'section', - ShareShortcut = 'share_shortcut', - Video = 'video', +export interface Call { + media_backend_type?: string; + v1?: V1; } -export interface AttachmentField { - short?: boolean; - title?: string; - value?: string; +export interface V1 { + active_participants?: Participant[]; + all_participants?: Participant[]; + app_icon_urls?: AppIconUrls; + app_id?: string; + channels?: string[]; + created_by?: string; + date_end?: number; + date_start?: number; + desktop_app_join_url?: string; + display_id?: string; + has_ended?: boolean; + id?: string; + is_dm_call?: boolean; + join_url?: string; + name?: string; + was_accepted?: boolean; + was_missed?: boolean; + was_rejected?: boolean; +} + +export interface Participant { + avatar_url?: string; + display_name?: string; + external_id?: string; + slack_id?: string; +} + +export interface AppIconUrls { + image_1024?: string; + image_128?: string; + image_192?: string; + image_32?: string; + image_36?: string; + image_48?: string; + image_512?: string; + image_64?: string; + image_72?: string; + image_96?: string; + image_original?: string; } export interface FileElement { @@ -373,7 +318,7 @@ export interface FileElement { app_id?: string; app_name?: string; attachments?: any[]; - blocks?: TitleBlockElement[]; + blocks?: FileBlock[]; bot_id?: string; can_toggle_canvas_lock?: boolean; canvas_template_mode?: string; @@ -513,7 +458,7 @@ export interface FileElement { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlockElement[]; + title_blocks?: FileBlock[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -527,6 +472,56 @@ export interface FileElement { vtt?: string; } +export interface FileBlock { + accessory?: Accessory; + alt_text?: string; + app_collaborators?: string[]; + app_id?: string; + author_name?: string; + block_id?: string; + bot_user_id?: string; + button_label?: string; + description?: DescriptionElement | string; + developer_trace_id?: string; + elements?: Accessory[]; + fallback?: string; + fields?: DescriptionElement[]; + function_trigger_id?: string; + image_bytes?: number; + image_height?: number; + image_url?: string; + image_width?: number; + is_animated?: boolean; + is_workflow_app?: boolean; + owning_team_id?: string; + provider_icon_url?: string; + provider_name?: string; + sales_home_workflow_app_type?: number; + share_url?: string; + slack_file?: SlackFile; + text?: DescriptionElement; + thumbnail_url?: string; + title?: DescriptionElement | string; + title_url?: string; + trigger_subtype?: string; + trigger_type?: string; + type?: BlockType; + url?: string; + video_url?: string; + workflow_id?: string; +} + +export enum BlockType { + Actions = 'actions', + Context = 'context', + Divider = 'divider', + Image = 'image', + RichText = 'rich_text', + Section = 'section', + ShareShortcut = 'share_shortcut', + Video = 'video', +} + export interface Cc { address?: string; name?: string; @@ -704,6 +699,115 @@ export interface Transcription { status?: string; } +export interface Attachment { + actions?: Action[]; + app_id?: string; + app_unfurl_url?: string; + author_icon?: string; + author_id?: string; + author_link?: string; + author_name?: string; + author_subname?: string; + blocks?: FileBlock[]; + bot_id?: string; + callback_id?: string; + channel_id?: string; + channel_name?: string; + channel_team?: string; + color?: string; + fallback?: string; + fields?: AttachmentField[]; + file_id?: string; + filename?: string; + files?: FileElement[]; + footer?: string; + footer_icon?: string; + from_url?: string; + hide_border?: boolean; + hide_color?: boolean; + id?: number; + image_bytes?: number; + image_height?: number; + image_url?: string; + image_width?: number; + indent?: boolean; + is_app_unfurl?: boolean; + is_file_attachment?: boolean; + is_msg_unfurl?: boolean; + is_reply_unfurl?: boolean; + is_thread_root_unfurl?: boolean; + list?: List; + list_record?: PurpleListRecord; + list_record_id?: string; + list_records?: ListRecordElement[]; + list_schema?: Schema[]; + list_view?: View; + list_view_id?: string; + message_blocks?: MessageBlock[]; + metadata?: AttachmentMetadata; + mimetype?: string; + mrkdwn_in?: string[]; + msg_subtype?: string; + original_url?: string; + pretext?: string; + preview?: Preview; + service_icon?: string; + service_name?: string; + service_url?: string; + size?: number; + text?: string; + thumb_height?: number; + thumb_url?: string; + thumb_width?: number; + title?: string; + title_link?: string; + ts?: string; + url?: string; + video_html?: string; + video_html_height?: number; + video_html_width?: number; + video_url?: string; +} + +export interface Action { + confirm?: ActionConfirm; + data_source?: string; + id?: string; + min_query_length?: number; + name?: string; + option_groups?: ActionOptionGroup[]; + options?: SelectedOptionElement[]; + selected_options?: SelectedOptionElement[]; + style?: string; + text?: string; + type?: string; + url?: string; + value?: string; +} + +export interface ActionConfirm { + dismiss_text?: string; + ok_text?: string; + text?: string; + title?: string; +} + +export interface ActionOptionGroup { + options?: SelectedOptionElement[]; + text?: string; +} + +export interface SelectedOptionElement { + text?: string; + value?: string; +} + +export interface AttachmentField { + short?: boolean; + title?: string; + value?: string; +} + export interface List { channels?: string[]; comments_count?: number; @@ -779,8 +883,9 @@ export interface RecordField { export interface FieldMessage { app_id?: string; + assistant_app_thread?: AssistantAppThread; attachments?: any[]; - blocks?: TitleBlockElement[]; + blocks?: FileBlock[]; bot_id?: string; bot_link?: string; bot_profile?: BotProfile; @@ -1170,104 +1275,6 @@ export interface Preview { type?: string; } -export interface PurpleBlock { - accessory?: Accessory; - alt_text?: string; - api_decoration_available?: boolean; - app_collaborators?: string[]; - app_id?: string; - author_name?: string; - block_id?: string; - bot_user_id?: string; - button_label?: string; - call?: Call; - call_id?: string; - description?: DescriptionElement; - developer_trace_id?: string; - dispatch_action?: boolean; - element?: Accessory; - elements?: Accessory[]; - external_id?: string; - fallback?: string; - fields?: DescriptionElement[]; - file?: FileElement; - file_id?: string; - function_trigger_id?: string; - hint?: DescriptionElement; - image_bytes?: number; - image_height?: number; - image_url?: string; - image_width?: number; - is_animated?: boolean; - is_workflow_app?: boolean; - label?: DescriptionElement; - optional?: boolean; - owning_team_id?: string; - provider_icon_url?: string; - provider_name?: string; - sales_home_workflow_app_type?: number; - share_url?: string; - slack_file?: SlackFile; - source?: string; - text?: DescriptionElement; - thumbnail_url?: string; - title?: DescriptionElement; - title_url?: string; - trigger_subtype?: string; - trigger_type?: string; - type?: BlockType; - url?: string; - video_url?: string; - workflow_id?: string; -} - -export interface Call { - media_backend_type?: string; - v1?: V1; -} - -export interface V1 { - active_participants?: Participant[]; - all_participants?: Participant[]; - app_icon_urls?: AppIconUrls; - app_id?: string; - channels?: string[]; - created_by?: string; - date_end?: number; - date_start?: number; - desktop_app_join_url?: string; - display_id?: string; - has_ended?: boolean; - id?: string; - is_dm_call?: boolean; - join_url?: string; - name?: string; - was_accepted?: boolean; - was_missed?: boolean; - was_rejected?: boolean; -} - -export interface Participant { - avatar_url?: string; - display_name?: string; - external_id?: string; - slack_id?: string; -} - -export interface AppIconUrls { - image_1024?: string; - image_128?: string; - image_192?: string; - image_32?: string; - image_36?: string; - image_48?: string; - image_512?: string; - image_64?: string; - image_72?: string; - image_96?: string; - image_original?: string; -} - export interface FluffyMetadata { event_payload?: EventPayload; event_type?: string; diff --git a/packages/web-api/src/types/response/ConversationsRequestSharedInviteApproveResponse.ts b/packages/web-api/src/types/response/ConversationsRequestSharedInviteApproveResponse.ts index e84bfaefe..9afa5ec22 100644 --- a/packages/web-api/src/types/response/ConversationsRequestSharedInviteApproveResponse.ts +++ b/packages/web-api/src/types/response/ConversationsRequestSharedInviteApproveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -10,6 +9,9 @@ import type { WebAPICallResult } from '../../WebClient'; export type ConversationsRequestSharedInviteApproveResponse = WebAPICallResult & { + error?: string; invite_id?: string; + needed?: string; ok?: boolean; + provided?: string; }; diff --git a/packages/web-api/src/types/response/ConversationsRequestSharedInviteDenyResponse.ts b/packages/web-api/src/types/response/ConversationsRequestSharedInviteDenyResponse.ts index fecde6448..8ffb1c8b8 100644 --- a/packages/web-api/src/types/response/ConversationsRequestSharedInviteDenyResponse.ts +++ b/packages/web-api/src/types/response/ConversationsRequestSharedInviteDenyResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -10,5 +9,9 @@ import type { WebAPICallResult } from '../../WebClient'; export type ConversationsRequestSharedInviteDenyResponse = WebAPICallResult & { + error?: string; + invite_id?: string; + needed?: string; ok?: boolean; + provided?: string; }; diff --git a/packages/web-api/src/types/response/ConversationsSetPurposeResponse.ts b/packages/web-api/src/types/response/ConversationsSetPurposeResponse.ts index e81281ad6..8f01ff584 100644 --- a/packages/web-api/src/types/response/ConversationsSetPurposeResponse.ts +++ b/packages/web-api/src/types/response/ConversationsSetPurposeResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsSetTopicResponse.ts b/packages/web-api/src/types/response/ConversationsSetTopicResponse.ts index dcfb28ead..d6e543158 100644 --- a/packages/web-api/src/types/response/ConversationsSetTopicResponse.ts +++ b/packages/web-api/src/types/response/ConversationsSetTopicResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ConversationsUnarchiveResponse.ts b/packages/web-api/src/types/response/ConversationsUnarchiveResponse.ts index 8651cbac2..0e7c69b92 100644 --- a/packages/web-api/src/types/response/ConversationsUnarchiveResponse.ts +++ b/packages/web-api/src/types/response/ConversationsUnarchiveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/DialogOpenResponse.ts b/packages/web-api/src/types/response/DialogOpenResponse.ts index 14b2a79aa..71c285fa9 100644 --- a/packages/web-api/src/types/response/DialogOpenResponse.ts +++ b/packages/web-api/src/types/response/DialogOpenResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/DndEndDndResponse.ts b/packages/web-api/src/types/response/DndEndDndResponse.ts index 0ba686df9..a395aeb55 100644 --- a/packages/web-api/src/types/response/DndEndDndResponse.ts +++ b/packages/web-api/src/types/response/DndEndDndResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/DndEndSnoozeResponse.ts b/packages/web-api/src/types/response/DndEndSnoozeResponse.ts index 5c8fe4545..9c91e126c 100644 --- a/packages/web-api/src/types/response/DndEndSnoozeResponse.ts +++ b/packages/web-api/src/types/response/DndEndSnoozeResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/DndInfoResponse.ts b/packages/web-api/src/types/response/DndInfoResponse.ts index 161d3f267..0bea4044a 100644 --- a/packages/web-api/src/types/response/DndInfoResponse.ts +++ b/packages/web-api/src/types/response/DndInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/DndSetSnoozeResponse.ts b/packages/web-api/src/types/response/DndSetSnoozeResponse.ts index f41688d79..ab26a48ae 100644 --- a/packages/web-api/src/types/response/DndSetSnoozeResponse.ts +++ b/packages/web-api/src/types/response/DndSetSnoozeResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/DndTeamInfoResponse.ts b/packages/web-api/src/types/response/DndTeamInfoResponse.ts index e9578937d..5e35928ce 100644 --- a/packages/web-api/src/types/response/DndTeamInfoResponse.ts +++ b/packages/web-api/src/types/response/DndTeamInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/EmojiListResponse.ts b/packages/web-api/src/types/response/EmojiListResponse.ts index 009729324..26a61eddc 100644 --- a/packages/web-api/src/types/response/EmojiListResponse.ts +++ b/packages/web-api/src/types/response/EmojiListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/FilesCommentsAddResponse.ts b/packages/web-api/src/types/response/FilesCommentsAddResponse.ts index 83abd022d..6874598e3 100644 --- a/packages/web-api/src/types/response/FilesCommentsAddResponse.ts +++ b/packages/web-api/src/types/response/FilesCommentsAddResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/FilesCommentsDeleteResponse.ts b/packages/web-api/src/types/response/FilesCommentsDeleteResponse.ts index 93da8faa3..79cea86a2 100644 --- a/packages/web-api/src/types/response/FilesCommentsDeleteResponse.ts +++ b/packages/web-api/src/types/response/FilesCommentsDeleteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/FilesCommentsEditResponse.ts b/packages/web-api/src/types/response/FilesCommentsEditResponse.ts index e403da128..2047d96eb 100644 --- a/packages/web-api/src/types/response/FilesCommentsEditResponse.ts +++ b/packages/web-api/src/types/response/FilesCommentsEditResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/FilesCompleteUploadExternalResponse.ts b/packages/web-api/src/types/response/FilesCompleteUploadExternalResponse.ts index 0920b68c4..d15ab5da1 100644 --- a/packages/web-api/src/types/response/FilesCompleteUploadExternalResponse.ts +++ b/packages/web-api/src/types/response/FilesCompleteUploadExternalResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/FilesDeleteResponse.ts b/packages/web-api/src/types/response/FilesDeleteResponse.ts index a6c45de67..1dd039275 100644 --- a/packages/web-api/src/types/response/FilesDeleteResponse.ts +++ b/packages/web-api/src/types/response/FilesDeleteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/FilesGetUploadURLExternalResponse.ts b/packages/web-api/src/types/response/FilesGetUploadURLExternalResponse.ts index 6fcaea5cd..b6b1adadf 100644 --- a/packages/web-api/src/types/response/FilesGetUploadURLExternalResponse.ts +++ b/packages/web-api/src/types/response/FilesGetUploadURLExternalResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/FilesInfoResponse.ts b/packages/web-api/src/types/response/FilesInfoResponse.ts index 862351957..e810b6747 100644 --- a/packages/web-api/src/types/response/FilesInfoResponse.ts +++ b/packages/web-api/src/types/response/FilesInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -476,7 +475,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/packages/web-api/src/types/response/FilesListResponse.ts b/packages/web-api/src/types/response/FilesListResponse.ts index 286bbacf5..44969599b 100644 --- a/packages/web-api/src/types/response/FilesListResponse.ts +++ b/packages/web-api/src/types/response/FilesListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -470,7 +469,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/packages/web-api/src/types/response/FilesRemoteAddResponse.ts b/packages/web-api/src/types/response/FilesRemoteAddResponse.ts index a277c165f..cea891642 100644 --- a/packages/web-api/src/types/response/FilesRemoteAddResponse.ts +++ b/packages/web-api/src/types/response/FilesRemoteAddResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -469,7 +468,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/packages/web-api/src/types/response/FilesRemoteInfoResponse.ts b/packages/web-api/src/types/response/FilesRemoteInfoResponse.ts index a2ec38c93..5936bfbe8 100644 --- a/packages/web-api/src/types/response/FilesRemoteInfoResponse.ts +++ b/packages/web-api/src/types/response/FilesRemoteInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -469,7 +468,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/packages/web-api/src/types/response/FilesRemoteListResponse.ts b/packages/web-api/src/types/response/FilesRemoteListResponse.ts index 700c4f591..2fa197b96 100644 --- a/packages/web-api/src/types/response/FilesRemoteListResponse.ts +++ b/packages/web-api/src/types/response/FilesRemoteListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -470,7 +469,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/packages/web-api/src/types/response/FilesRemoteRemoveResponse.ts b/packages/web-api/src/types/response/FilesRemoteRemoveResponse.ts index b86e44f11..3d9f47e80 100644 --- a/packages/web-api/src/types/response/FilesRemoteRemoveResponse.ts +++ b/packages/web-api/src/types/response/FilesRemoteRemoveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/FilesRemoteShareResponse.ts b/packages/web-api/src/types/response/FilesRemoteShareResponse.ts index 01b9e3b2a..5ca48fc30 100644 --- a/packages/web-api/src/types/response/FilesRemoteShareResponse.ts +++ b/packages/web-api/src/types/response/FilesRemoteShareResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -469,7 +468,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/packages/web-api/src/types/response/FilesRemoteUpdateResponse.ts b/packages/web-api/src/types/response/FilesRemoteUpdateResponse.ts index c8012873a..fc01a4e8f 100644 --- a/packages/web-api/src/types/response/FilesRemoteUpdateResponse.ts +++ b/packages/web-api/src/types/response/FilesRemoteUpdateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -469,7 +468,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/packages/web-api/src/types/response/FilesRevokePublicURLResponse.ts b/packages/web-api/src/types/response/FilesRevokePublicURLResponse.ts index e9215cc89..202ff9402 100644 --- a/packages/web-api/src/types/response/FilesRevokePublicURLResponse.ts +++ b/packages/web-api/src/types/response/FilesRevokePublicURLResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -469,7 +468,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/packages/web-api/src/types/response/FilesSharedPublicURLResponse.ts b/packages/web-api/src/types/response/FilesSharedPublicURLResponse.ts index 8310c4b2f..6cc07937b 100644 --- a/packages/web-api/src/types/response/FilesSharedPublicURLResponse.ts +++ b/packages/web-api/src/types/response/FilesSharedPublicURLResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -469,7 +468,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/packages/web-api/src/types/response/FilesUploadResponse.ts b/packages/web-api/src/types/response/FilesUploadResponse.ts index fd3d5a6af..c162594b3 100644 --- a/packages/web-api/src/types/response/FilesUploadResponse.ts +++ b/packages/web-api/src/types/response/FilesUploadResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -469,7 +468,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/packages/web-api/src/types/response/FunctionsCompleteErrorResponse.ts b/packages/web-api/src/types/response/FunctionsCompleteErrorResponse.ts index d8cb63748..b05a65716 100644 --- a/packages/web-api/src/types/response/FunctionsCompleteErrorResponse.ts +++ b/packages/web-api/src/types/response/FunctionsCompleteErrorResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/FunctionsCompleteSuccessResponse.ts b/packages/web-api/src/types/response/FunctionsCompleteSuccessResponse.ts index 260322ef7..e36a7c131 100644 --- a/packages/web-api/src/types/response/FunctionsCompleteSuccessResponse.ts +++ b/packages/web-api/src/types/response/FunctionsCompleteSuccessResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsArchiveResponse.ts b/packages/web-api/src/types/response/GroupsArchiveResponse.ts index 083942caf..7beb10da0 100644 --- a/packages/web-api/src/types/response/GroupsArchiveResponse.ts +++ b/packages/web-api/src/types/response/GroupsArchiveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsCloseResponse.ts b/packages/web-api/src/types/response/GroupsCloseResponse.ts index 3003ff938..cfdaa5e9a 100644 --- a/packages/web-api/src/types/response/GroupsCloseResponse.ts +++ b/packages/web-api/src/types/response/GroupsCloseResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsCreateChildResponse.ts b/packages/web-api/src/types/response/GroupsCreateChildResponse.ts index 639bf8095..f9632289f 100644 --- a/packages/web-api/src/types/response/GroupsCreateChildResponse.ts +++ b/packages/web-api/src/types/response/GroupsCreateChildResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsCreateResponse.ts b/packages/web-api/src/types/response/GroupsCreateResponse.ts index 7fc3703cb..d8ce8b1b5 100644 --- a/packages/web-api/src/types/response/GroupsCreateResponse.ts +++ b/packages/web-api/src/types/response/GroupsCreateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsHistoryResponse.ts b/packages/web-api/src/types/response/GroupsHistoryResponse.ts index 0020147b1..f7681e343 100644 --- a/packages/web-api/src/types/response/GroupsHistoryResponse.ts +++ b/packages/web-api/src/types/response/GroupsHistoryResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsInfoResponse.ts b/packages/web-api/src/types/response/GroupsInfoResponse.ts index babc4263d..be41d184f 100644 --- a/packages/web-api/src/types/response/GroupsInfoResponse.ts +++ b/packages/web-api/src/types/response/GroupsInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsInviteResponse.ts b/packages/web-api/src/types/response/GroupsInviteResponse.ts index c842eb1b4..000b74f2f 100644 --- a/packages/web-api/src/types/response/GroupsInviteResponse.ts +++ b/packages/web-api/src/types/response/GroupsInviteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsKickResponse.ts b/packages/web-api/src/types/response/GroupsKickResponse.ts index 27271a0a0..ec6e44a12 100644 --- a/packages/web-api/src/types/response/GroupsKickResponse.ts +++ b/packages/web-api/src/types/response/GroupsKickResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsLeaveResponse.ts b/packages/web-api/src/types/response/GroupsLeaveResponse.ts index a11c43fa3..4c815e187 100644 --- a/packages/web-api/src/types/response/GroupsLeaveResponse.ts +++ b/packages/web-api/src/types/response/GroupsLeaveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsListResponse.ts b/packages/web-api/src/types/response/GroupsListResponse.ts index 7c34d49c1..07c37b2b3 100644 --- a/packages/web-api/src/types/response/GroupsListResponse.ts +++ b/packages/web-api/src/types/response/GroupsListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsMarkResponse.ts b/packages/web-api/src/types/response/GroupsMarkResponse.ts index 3f2f12721..3b2815cca 100644 --- a/packages/web-api/src/types/response/GroupsMarkResponse.ts +++ b/packages/web-api/src/types/response/GroupsMarkResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsOpenResponse.ts b/packages/web-api/src/types/response/GroupsOpenResponse.ts index 0201d23b8..d15d2a601 100644 --- a/packages/web-api/src/types/response/GroupsOpenResponse.ts +++ b/packages/web-api/src/types/response/GroupsOpenResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsRenameResponse.ts b/packages/web-api/src/types/response/GroupsRenameResponse.ts index c0ded3f75..91a2fadce 100644 --- a/packages/web-api/src/types/response/GroupsRenameResponse.ts +++ b/packages/web-api/src/types/response/GroupsRenameResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsRepliesResponse.ts b/packages/web-api/src/types/response/GroupsRepliesResponse.ts index d514681f5..3738f27a3 100644 --- a/packages/web-api/src/types/response/GroupsRepliesResponse.ts +++ b/packages/web-api/src/types/response/GroupsRepliesResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsSetPurposeResponse.ts b/packages/web-api/src/types/response/GroupsSetPurposeResponse.ts index 518eb1ac1..523446dd2 100644 --- a/packages/web-api/src/types/response/GroupsSetPurposeResponse.ts +++ b/packages/web-api/src/types/response/GroupsSetPurposeResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsSetTopicResponse.ts b/packages/web-api/src/types/response/GroupsSetTopicResponse.ts index 38f284567..3f2523192 100644 --- a/packages/web-api/src/types/response/GroupsSetTopicResponse.ts +++ b/packages/web-api/src/types/response/GroupsSetTopicResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/GroupsUnarchiveResponse.ts b/packages/web-api/src/types/response/GroupsUnarchiveResponse.ts index adf80c2fd..0f0b4d29a 100644 --- a/packages/web-api/src/types/response/GroupsUnarchiveResponse.ts +++ b/packages/web-api/src/types/response/GroupsUnarchiveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ImCloseResponse.ts b/packages/web-api/src/types/response/ImCloseResponse.ts index 53f3ed5a9..b0593efce 100644 --- a/packages/web-api/src/types/response/ImCloseResponse.ts +++ b/packages/web-api/src/types/response/ImCloseResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ImHistoryResponse.ts b/packages/web-api/src/types/response/ImHistoryResponse.ts index 351eb60b6..3b39c2b8a 100644 --- a/packages/web-api/src/types/response/ImHistoryResponse.ts +++ b/packages/web-api/src/types/response/ImHistoryResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ImListResponse.ts b/packages/web-api/src/types/response/ImListResponse.ts index a50fd3946..ec9bbc5e6 100644 --- a/packages/web-api/src/types/response/ImListResponse.ts +++ b/packages/web-api/src/types/response/ImListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ImMarkResponse.ts b/packages/web-api/src/types/response/ImMarkResponse.ts index 2c2681eed..e77f57a49 100644 --- a/packages/web-api/src/types/response/ImMarkResponse.ts +++ b/packages/web-api/src/types/response/ImMarkResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ImOpenResponse.ts b/packages/web-api/src/types/response/ImOpenResponse.ts index 0815b5932..c03e50201 100644 --- a/packages/web-api/src/types/response/ImOpenResponse.ts +++ b/packages/web-api/src/types/response/ImOpenResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ImRepliesResponse.ts b/packages/web-api/src/types/response/ImRepliesResponse.ts index 4f7836e8a..6fda8da46 100644 --- a/packages/web-api/src/types/response/ImRepliesResponse.ts +++ b/packages/web-api/src/types/response/ImRepliesResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/MigrationExchangeResponse.ts b/packages/web-api/src/types/response/MigrationExchangeResponse.ts index d9cbd18a9..7e9263b41 100644 --- a/packages/web-api/src/types/response/MigrationExchangeResponse.ts +++ b/packages/web-api/src/types/response/MigrationExchangeResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/MpimCloseResponse.ts b/packages/web-api/src/types/response/MpimCloseResponse.ts index 39d6c5004..14796d777 100644 --- a/packages/web-api/src/types/response/MpimCloseResponse.ts +++ b/packages/web-api/src/types/response/MpimCloseResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/MpimHistoryResponse.ts b/packages/web-api/src/types/response/MpimHistoryResponse.ts index 4dd70bfe3..001c684fc 100644 --- a/packages/web-api/src/types/response/MpimHistoryResponse.ts +++ b/packages/web-api/src/types/response/MpimHistoryResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/MpimListResponse.ts b/packages/web-api/src/types/response/MpimListResponse.ts index ee8f1dcc8..bf878b790 100644 --- a/packages/web-api/src/types/response/MpimListResponse.ts +++ b/packages/web-api/src/types/response/MpimListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/MpimMarkResponse.ts b/packages/web-api/src/types/response/MpimMarkResponse.ts index c3481a31d..1a78e6170 100644 --- a/packages/web-api/src/types/response/MpimMarkResponse.ts +++ b/packages/web-api/src/types/response/MpimMarkResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/MpimOpenResponse.ts b/packages/web-api/src/types/response/MpimOpenResponse.ts index a0915df20..6d6bf6cb2 100644 --- a/packages/web-api/src/types/response/MpimOpenResponse.ts +++ b/packages/web-api/src/types/response/MpimOpenResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/MpimRepliesResponse.ts b/packages/web-api/src/types/response/MpimRepliesResponse.ts index 14d6c14af..a963510f0 100644 --- a/packages/web-api/src/types/response/MpimRepliesResponse.ts +++ b/packages/web-api/src/types/response/MpimRepliesResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/OauthAccessResponse.ts b/packages/web-api/src/types/response/OauthAccessResponse.ts index 572b5bc60..7c75bfeb5 100644 --- a/packages/web-api/src/types/response/OauthAccessResponse.ts +++ b/packages/web-api/src/types/response/OauthAccessResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/OauthTokenResponse.ts b/packages/web-api/src/types/response/OauthTokenResponse.ts index 14c45762d..ee49fcc85 100644 --- a/packages/web-api/src/types/response/OauthTokenResponse.ts +++ b/packages/web-api/src/types/response/OauthTokenResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/OauthV2AccessResponse.ts b/packages/web-api/src/types/response/OauthV2AccessResponse.ts index 13e973883..15d1beb0d 100644 --- a/packages/web-api/src/types/response/OauthV2AccessResponse.ts +++ b/packages/web-api/src/types/response/OauthV2AccessResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/OauthV2ExchangeResponse.ts b/packages/web-api/src/types/response/OauthV2ExchangeResponse.ts index cdd3398c4..820d19131 100644 --- a/packages/web-api/src/types/response/OauthV2ExchangeResponse.ts +++ b/packages/web-api/src/types/response/OauthV2ExchangeResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/OpenIDConnectTokenResponse.ts b/packages/web-api/src/types/response/OpenIDConnectTokenResponse.ts index 3010c5dfb..f35030255 100644 --- a/packages/web-api/src/types/response/OpenIDConnectTokenResponse.ts +++ b/packages/web-api/src/types/response/OpenIDConnectTokenResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/OpenIDConnectUserInfoResponse.ts b/packages/web-api/src/types/response/OpenIDConnectUserInfoResponse.ts index 4932c740d..5c4d16781 100644 --- a/packages/web-api/src/types/response/OpenIDConnectUserInfoResponse.ts +++ b/packages/web-api/src/types/response/OpenIDConnectUserInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/PinsAddResponse.ts b/packages/web-api/src/types/response/PinsAddResponse.ts index ff681dd1a..9f9faec25 100644 --- a/packages/web-api/src/types/response/PinsAddResponse.ts +++ b/packages/web-api/src/types/response/PinsAddResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/PinsListResponse.ts b/packages/web-api/src/types/response/PinsListResponse.ts index 37e47d4be..4a828d781 100644 --- a/packages/web-api/src/types/response/PinsListResponse.ts +++ b/packages/web-api/src/types/response/PinsListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -477,7 +476,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/packages/web-api/src/types/response/PinsRemoveResponse.ts b/packages/web-api/src/types/response/PinsRemoveResponse.ts index 19841744e..8c2b2738e 100644 --- a/packages/web-api/src/types/response/PinsRemoveResponse.ts +++ b/packages/web-api/src/types/response/PinsRemoveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ReactionsAddResponse.ts b/packages/web-api/src/types/response/ReactionsAddResponse.ts index 12dd75b20..df09bf79e 100644 --- a/packages/web-api/src/types/response/ReactionsAddResponse.ts +++ b/packages/web-api/src/types/response/ReactionsAddResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ReactionsGetResponse.ts b/packages/web-api/src/types/response/ReactionsGetResponse.ts index 7dd19593a..3003f59ae 100644 --- a/packages/web-api/src/types/response/ReactionsGetResponse.ts +++ b/packages/web-api/src/types/response/ReactionsGetResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -21,7 +20,8 @@ export type ReactionsGetResponse = WebAPICallResult & { export interface Message { app_id?: string; - blocks?: MessageBlock[]; + assistant_app_thread?: AssistantAppThread; + blocks?: AssistantAppThreadBlock[]; bot_id?: string; bot_profile?: BotProfile; permalink?: string; @@ -34,7 +34,13 @@ export interface Message { user?: string; } -export interface MessageBlock { +export interface AssistantAppThread { + first_user_thread_reply?: string; + title?: string; + title_blocks?: AssistantAppThreadBlock[]; +} + +export interface AssistantAppThreadBlock { accessory?: Accessory; alt_text?: string; api_decoration_available?: boolean; @@ -79,7 +85,7 @@ export interface MessageBlock { title_url?: string; trigger_subtype?: string; trigger_type?: string; - type?: string; + type?: BlockType; url?: string; video_url?: string; workflow_id?: string; @@ -168,7 +174,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -298,7 +304,7 @@ export interface File { app_id?: string; app_name?: string; attachments?: any[]; - blocks?: TitleBlockElement[]; + blocks?: FileBlock[]; bot_id?: string; can_toggle_canvas_lock?: boolean; canvas_template_mode?: string; @@ -438,7 +444,7 @@ export interface File { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlockElement[]; + title_blocks?: FileBlock[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -452,7 +458,7 @@ export interface File { vtt?: string; } -export interface TitleBlockElement { +export interface FileBlock { accessory?: Accessory; alt_text?: string; app_collaborators?: string[]; @@ -485,12 +491,23 @@ export interface TitleBlockElement { title_url?: string; trigger_subtype?: string; trigger_type?: string; - type?: string; + type?: BlockType; url?: string; video_url?: string; workflow_id?: string; } +export enum BlockType { + Actions = 'actions', + Context = 'context', + Divider = 'divider', + Image = 'image', + RichText = 'rich_text', + Section = 'section', + ShareShortcut = 'share_shortcut', + Video = 'video', +} + export interface Cc { address?: string; name?: string; diff --git a/packages/web-api/src/types/response/ReactionsListResponse.ts b/packages/web-api/src/types/response/ReactionsListResponse.ts index d0f5566a1..06158352f 100644 --- a/packages/web-api/src/types/response/ReactionsListResponse.ts +++ b/packages/web-api/src/types/response/ReactionsListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -27,8 +26,9 @@ export interface Item { export interface ItemMessage { app_id?: string; + assistant_app_thread?: AssistantAppThread; attachments?: Attachment[]; - blocks?: PurpleBlock[]; + blocks?: AssistantAppThreadBlock[]; bot_id?: string; bot_profile?: BotProfile; channel?: string; @@ -60,139 +60,54 @@ export interface ItemMessage { username?: string; } -export interface Attachment { - actions?: Action[]; - app_id?: string; - app_unfurl_url?: string; - author_icon?: string; - author_id?: string; - author_link?: string; - author_name?: string; - author_subname?: string; - blocks?: TitleBlockElement[]; - bot_id?: string; - callback_id?: string; - channel_id?: string; - channel_name?: string; - channel_team?: string; - color?: string; - fallback?: string; - fields?: AttachmentField[]; - file_id?: string; - filename?: string; - files?: FileElement[]; - footer?: string; - footer_icon?: string; - from_url?: string; - hide_border?: boolean; - hide_color?: boolean; - id?: number; - image_bytes?: number; - image_height?: number; - image_url?: string; - image_width?: number; - indent?: boolean; - is_app_unfurl?: boolean; - is_file_attachment?: boolean; - is_msg_unfurl?: boolean; - is_reply_unfurl?: boolean; - is_thread_root_unfurl?: boolean; - list?: List; - list_record?: PurpleListRecord; - list_record_id?: string; - list_records?: ListRecordElement[]; - list_schema?: Schema[]; - list_view?: View; - list_view_id?: string; - message_blocks?: MessageBlock[]; - metadata?: AttachmentMetadata; - mimetype?: string; - mrkdwn_in?: string[]; - msg_subtype?: string; - original_url?: string; - pretext?: string; - preview?: Preview; - service_icon?: string; - service_name?: string; - service_url?: string; - size?: number; - text?: string; - thumb_height?: number; - thumb_url?: string; - thumb_width?: number; +export interface AssistantAppThread { + first_user_thread_reply?: string; title?: string; - title_link?: string; - ts?: string; - url?: string; - video_html?: string; - video_html_height?: number; - video_html_width?: number; - video_url?: string; + title_blocks?: AssistantAppThreadBlock[]; } -export interface Action { - confirm?: ActionConfirm; - data_source?: string; - id?: string; - min_query_length?: number; - name?: string; - option_groups?: ActionOptionGroup[]; - options?: SelectedOptionElement[]; - selected_options?: SelectedOptionElement[]; - style?: string; - text?: string; - type?: string; - url?: string; - value?: string; -} - -export interface ActionConfirm { - dismiss_text?: string; - ok_text?: string; - text?: string; - title?: string; -} - -export interface ActionOptionGroup { - options?: SelectedOptionElement[]; - text?: string; -} - -export interface SelectedOptionElement { - text?: string; - value?: string; -} - -export interface TitleBlockElement { +export interface AssistantAppThreadBlock { accessory?: Accessory; alt_text?: string; + api_decoration_available?: boolean; app_collaborators?: string[]; app_id?: string; author_name?: string; block_id?: string; bot_user_id?: string; button_label?: string; - description?: DescriptionElement | string; + call?: Call; + call_id?: string; + description?: DescriptionElement; developer_trace_id?: string; + dispatch_action?: boolean; + element?: Accessory; elements?: Accessory[]; + external_id?: string; fallback?: string; fields?: DescriptionElement[]; + file?: FileElement; + file_id?: string; function_trigger_id?: string; + hint?: DescriptionElement; image_bytes?: number; image_height?: number; image_url?: string; image_width?: number; is_animated?: boolean; is_workflow_app?: boolean; + label?: DescriptionElement; + optional?: boolean; owning_team_id?: string; provider_icon_url?: string; provider_name?: string; sales_home_workflow_app_type?: number; share_url?: string; slack_file?: SlackFile; + source?: string; text?: DescriptionElement; thumbnail_url?: string; - title?: DescriptionElement | string; + title?: DescriptionElement; title_url?: string; trigger_subtype?: string; trigger_type?: string; @@ -285,7 +200,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -362,21 +277,51 @@ export interface CustomizableInputParameter { value?: string; } -export enum BlockType { - Actions = 'actions', - Context = 'context', - Divider = 'divider', - Image = 'image', - RichText = 'rich_text', - Section = 'section', - ShareShortcut = 'share_shortcut', - Video = 'video', +export interface Call { + media_backend_type?: string; + v1?: V1; } -export interface AttachmentField { - short?: boolean; - title?: string; - value?: string; +export interface V1 { + active_participants?: Participant[]; + all_participants?: Participant[]; + app_icon_urls?: AppIconUrls; + app_id?: string; + channels?: string[]; + created_by?: string; + date_end?: number; + date_start?: number; + desktop_app_join_url?: string; + display_id?: string; + has_ended?: boolean; + id?: string; + is_dm_call?: boolean; + join_url?: string; + name?: string; + was_accepted?: boolean; + was_missed?: boolean; + was_rejected?: boolean; +} + +export interface Participant { + avatar_url?: string; + display_name?: string; + external_id?: string; + slack_id?: string; +} + +export interface AppIconUrls { + image_1024?: string; + image_128?: string; + image_192?: string; + image_32?: string; + image_36?: string; + image_48?: string; + image_512?: string; + image_64?: string; + image_72?: string; + image_96?: string; + image_original?: string; } export interface FileElement { @@ -385,7 +330,7 @@ export interface FileElement { app_id?: string; app_name?: string; attachments?: any[]; - blocks?: TitleBlockElement[]; + blocks?: FileBlock[]; bot_id?: string; can_toggle_canvas_lock?: boolean; canvas_template_mode?: string; @@ -525,7 +470,7 @@ export interface FileElement { thumb_video_w?: number; timestamp?: number; title?: string; - title_blocks?: TitleBlockElement[]; + title_blocks?: FileBlock[]; to?: Cc[]; transcription?: Transcription; update_notification?: number; @@ -539,6 +484,56 @@ export interface FileElement { vtt?: string; } +export interface FileBlock { + accessory?: Accessory; + alt_text?: string; + app_collaborators?: string[]; + app_id?: string; + author_name?: string; + block_id?: string; + bot_user_id?: string; + button_label?: string; + description?: DescriptionElement | string; + developer_trace_id?: string; + elements?: Accessory[]; + fallback?: string; + fields?: DescriptionElement[]; + function_trigger_id?: string; + image_bytes?: number; + image_height?: number; + image_url?: string; + image_width?: number; + is_animated?: boolean; + is_workflow_app?: boolean; + owning_team_id?: string; + provider_icon_url?: string; + provider_name?: string; + sales_home_workflow_app_type?: number; + share_url?: string; + slack_file?: SlackFile; + text?: DescriptionElement; + thumbnail_url?: string; + title?: DescriptionElement | string; + title_url?: string; + trigger_subtype?: string; + trigger_type?: string; + type?: BlockType; + url?: string; + video_url?: string; + workflow_id?: string; +} + +export enum BlockType { + Actions = 'actions', + Context = 'context', + Divider = 'divider', + Image = 'image', + RichText = 'rich_text', + Section = 'section', + ShareShortcut = 'share_shortcut', + Video = 'video', +} + export interface Cc { address?: string; name?: string; @@ -716,6 +711,115 @@ export interface Transcription { status?: string; } +export interface Attachment { + actions?: Action[]; + app_id?: string; + app_unfurl_url?: string; + author_icon?: string; + author_id?: string; + author_link?: string; + author_name?: string; + author_subname?: string; + blocks?: FileBlock[]; + bot_id?: string; + callback_id?: string; + channel_id?: string; + channel_name?: string; + channel_team?: string; + color?: string; + fallback?: string; + fields?: AttachmentField[]; + file_id?: string; + filename?: string; + files?: FileElement[]; + footer?: string; + footer_icon?: string; + from_url?: string; + hide_border?: boolean; + hide_color?: boolean; + id?: number; + image_bytes?: number; + image_height?: number; + image_url?: string; + image_width?: number; + indent?: boolean; + is_app_unfurl?: boolean; + is_file_attachment?: boolean; + is_msg_unfurl?: boolean; + is_reply_unfurl?: boolean; + is_thread_root_unfurl?: boolean; + list?: List; + list_record?: PurpleListRecord; + list_record_id?: string; + list_records?: ListRecordElement[]; + list_schema?: Schema[]; + list_view?: View; + list_view_id?: string; + message_blocks?: MessageBlock[]; + metadata?: AttachmentMetadata; + mimetype?: string; + mrkdwn_in?: string[]; + msg_subtype?: string; + original_url?: string; + pretext?: string; + preview?: Preview; + service_icon?: string; + service_name?: string; + service_url?: string; + size?: number; + text?: string; + thumb_height?: number; + thumb_url?: string; + thumb_width?: number; + title?: string; + title_link?: string; + ts?: string; + url?: string; + video_html?: string; + video_html_height?: number; + video_html_width?: number; + video_url?: string; +} + +export interface Action { + confirm?: ActionConfirm; + data_source?: string; + id?: string; + min_query_length?: number; + name?: string; + option_groups?: ActionOptionGroup[]; + options?: SelectedOptionElement[]; + selected_options?: SelectedOptionElement[]; + style?: string; + text?: string; + type?: string; + url?: string; + value?: string; +} + +export interface ActionConfirm { + dismiss_text?: string; + ok_text?: string; + text?: string; + title?: string; +} + +export interface ActionOptionGroup { + options?: SelectedOptionElement[]; + text?: string; +} + +export interface SelectedOptionElement { + text?: string; + value?: string; +} + +export interface AttachmentField { + short?: boolean; + title?: string; + value?: string; +} + export interface List { channels?: string[]; comments_count?: number; @@ -791,8 +895,9 @@ export interface RecordField { export interface FieldMessage { app_id?: string; + assistant_app_thread?: AssistantAppThread; attachments?: any[]; - blocks?: TitleBlockElement[]; + blocks?: FileBlock[]; bot_id?: string; bot_link?: string; bot_profile?: BotProfile; @@ -1185,104 +1290,6 @@ export interface Preview { type?: string; } -export interface PurpleBlock { - accessory?: Accessory; - alt_text?: string; - api_decoration_available?: boolean; - app_collaborators?: string[]; - app_id?: string; - author_name?: string; - block_id?: string; - bot_user_id?: string; - button_label?: string; - call?: Call; - call_id?: string; - description?: DescriptionElement; - developer_trace_id?: string; - dispatch_action?: boolean; - element?: Accessory; - elements?: Accessory[]; - external_id?: string; - fallback?: string; - fields?: DescriptionElement[]; - file?: FileElement; - file_id?: string; - function_trigger_id?: string; - hint?: DescriptionElement; - image_bytes?: number; - image_height?: number; - image_url?: string; - image_width?: number; - is_animated?: boolean; - is_workflow_app?: boolean; - label?: DescriptionElement; - optional?: boolean; - owning_team_id?: string; - provider_icon_url?: string; - provider_name?: string; - sales_home_workflow_app_type?: number; - share_url?: string; - slack_file?: SlackFile; - source?: string; - text?: DescriptionElement; - thumbnail_url?: string; - title?: DescriptionElement; - title_url?: string; - trigger_subtype?: string; - trigger_type?: string; - type?: BlockType; - url?: string; - video_url?: string; - workflow_id?: string; -} - -export interface Call { - media_backend_type?: string; - v1?: V1; -} - -export interface V1 { - active_participants?: Participant[]; - all_participants?: Participant[]; - app_icon_urls?: AppIconUrls; - app_id?: string; - channels?: string[]; - created_by?: string; - date_end?: number; - date_start?: number; - desktop_app_join_url?: string; - display_id?: string; - has_ended?: boolean; - id?: string; - is_dm_call?: boolean; - join_url?: string; - name?: string; - was_accepted?: boolean; - was_missed?: boolean; - was_rejected?: boolean; -} - -export interface Participant { - avatar_url?: string; - display_name?: string; - external_id?: string; - slack_id?: string; -} - -export interface AppIconUrls { - image_1024?: string; - image_128?: string; - image_192?: string; - image_32?: string; - image_36?: string; - image_48?: string; - image_512?: string; - image_64?: string; - image_72?: string; - image_96?: string; - image_original?: string; -} - export interface Paging { count?: number; page?: number; diff --git a/packages/web-api/src/types/response/ReactionsRemoveResponse.ts b/packages/web-api/src/types/response/ReactionsRemoveResponse.ts index 3d82a32dc..e1febc8c7 100644 --- a/packages/web-api/src/types/response/ReactionsRemoveResponse.ts +++ b/packages/web-api/src/types/response/ReactionsRemoveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/RemindersAddResponse.ts b/packages/web-api/src/types/response/RemindersAddResponse.ts index b3d2b0c71..e6e41fd3f 100644 --- a/packages/web-api/src/types/response/RemindersAddResponse.ts +++ b/packages/web-api/src/types/response/RemindersAddResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/RemindersCompleteResponse.ts b/packages/web-api/src/types/response/RemindersCompleteResponse.ts index 9c7f20ce1..3b8073f26 100644 --- a/packages/web-api/src/types/response/RemindersCompleteResponse.ts +++ b/packages/web-api/src/types/response/RemindersCompleteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/RemindersDeleteResponse.ts b/packages/web-api/src/types/response/RemindersDeleteResponse.ts index f8caa4433..87ef2f6c2 100644 --- a/packages/web-api/src/types/response/RemindersDeleteResponse.ts +++ b/packages/web-api/src/types/response/RemindersDeleteResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/RemindersInfoResponse.ts b/packages/web-api/src/types/response/RemindersInfoResponse.ts index c6e332826..eead879d0 100644 --- a/packages/web-api/src/types/response/RemindersInfoResponse.ts +++ b/packages/web-api/src/types/response/RemindersInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/RemindersListResponse.ts b/packages/web-api/src/types/response/RemindersListResponse.ts index ea0137967..98894b757 100644 --- a/packages/web-api/src/types/response/RemindersListResponse.ts +++ b/packages/web-api/src/types/response/RemindersListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/RtmConnectResponse.ts b/packages/web-api/src/types/response/RtmConnectResponse.ts index c3d14745e..f10966184 100644 --- a/packages/web-api/src/types/response/RtmConnectResponse.ts +++ b/packages/web-api/src/types/response/RtmConnectResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/RtmStartResponse.ts b/packages/web-api/src/types/response/RtmStartResponse.ts index d72e5cec7..c7be070b6 100644 --- a/packages/web-api/src/types/response/RtmStartResponse.ts +++ b/packages/web-api/src/types/response/RtmStartResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -415,7 +414,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -914,6 +913,7 @@ export interface RecordField { export interface Message { app_id?: string; + assistant_app_thread?: AssistantAppThread; attachments?: any[]; blocks?: TitleBlockElement[]; bot_id?: string; @@ -966,6 +966,12 @@ export interface Message { x_files?: any[]; } +export interface AssistantAppThread { + first_user_thread_reply?: string; + title?: string; + title_blocks?: any[]; +} + export interface Comment { comment?: string; created?: string; diff --git a/packages/web-api/src/types/response/SearchAllResponse.ts b/packages/web-api/src/types/response/SearchAllResponse.ts index d79529263..bcf55a281 100644 --- a/packages/web-api/src/types/response/SearchAllResponse.ts +++ b/packages/web-api/src/types/response/SearchAllResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -386,7 +385,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -900,6 +899,7 @@ export interface RecordField { export interface Message { app_id?: string; + assistant_app_thread?: AssistantAppThread; attachments?: any[]; blocks?: AttachmentBlock[]; bot_id?: string; @@ -952,6 +952,12 @@ export interface Message { x_files?: any[]; } +export interface AssistantAppThread { + first_user_thread_reply?: string; + title?: string; + title_blocks?: any[]; +} + export interface BotProfile { app_id?: string; deleted?: boolean; diff --git a/packages/web-api/src/types/response/SearchFilesResponse.ts b/packages/web-api/src/types/response/SearchFilesResponse.ts index b72c691b1..7ae6e2ea2 100644 --- a/packages/web-api/src/types/response/SearchFilesResponse.ts +++ b/packages/web-api/src/types/response/SearchFilesResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -358,7 +357,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -879,6 +878,7 @@ export interface RecordField { export interface Message { app_id?: string; + assistant_app_thread?: AssistantAppThread; attachments?: any[]; blocks?: Block[]; bot_id?: string; @@ -931,6 +931,12 @@ export interface Message { x_files?: any[]; } +export interface AssistantAppThread { + first_user_thread_reply?: string; + title?: string; + title_blocks?: any[]; +} + export interface BotProfile { app_id?: string; deleted?: boolean; diff --git a/packages/web-api/src/types/response/SearchMessagesResponse.ts b/packages/web-api/src/types/response/SearchMessagesResponse.ts index 1de72cf18..932d87db5 100644 --- a/packages/web-api/src/types/response/SearchMessagesResponse.ts +++ b/packages/web-api/src/types/response/SearchMessagesResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -296,7 +295,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -795,6 +794,7 @@ export interface RecordField { export interface Message { app_id?: string; + assistant_app_thread?: AssistantAppThread; attachments?: any[]; blocks?: TitleBlockElement[]; bot_id?: string; @@ -847,6 +847,12 @@ export interface Message { x_files?: any[]; } +export interface AssistantAppThread { + first_user_thread_reply?: string; + title?: string; + title_blocks?: any[]; +} + export interface BotProfile { app_id?: string; deleted?: boolean; diff --git a/packages/web-api/src/types/response/StarsAddResponse.ts b/packages/web-api/src/types/response/StarsAddResponse.ts index c32e94c9a..d9ac3f1e7 100644 --- a/packages/web-api/src/types/response/StarsAddResponse.ts +++ b/packages/web-api/src/types/response/StarsAddResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/StarsListResponse.ts b/packages/web-api/src/types/response/StarsListResponse.ts index 45d532ea8..412d6f87f 100644 --- a/packages/web-api/src/types/response/StarsListResponse.ts +++ b/packages/web-api/src/types/response/StarsListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -463,7 +462,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: string; unicode?: string; url?: string; diff --git a/packages/web-api/src/types/response/StarsRemoveResponse.ts b/packages/web-api/src/types/response/StarsRemoveResponse.ts index 73fb46223..4f0eb6847 100644 --- a/packages/web-api/src/types/response/StarsRemoveResponse.ts +++ b/packages/web-api/src/types/response/StarsRemoveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/TeamAccessLogsResponse.ts b/packages/web-api/src/types/response/TeamAccessLogsResponse.ts index 6a6c9de7c..bc02478df 100644 --- a/packages/web-api/src/types/response/TeamAccessLogsResponse.ts +++ b/packages/web-api/src/types/response/TeamAccessLogsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/TeamBillableInfoResponse.ts b/packages/web-api/src/types/response/TeamBillableInfoResponse.ts index bf8a5839a..5d0f440d4 100644 --- a/packages/web-api/src/types/response/TeamBillableInfoResponse.ts +++ b/packages/web-api/src/types/response/TeamBillableInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/TeamBillingInfoResponse.ts b/packages/web-api/src/types/response/TeamBillingInfoResponse.ts index c8ae0e599..f455d614e 100644 --- a/packages/web-api/src/types/response/TeamBillingInfoResponse.ts +++ b/packages/web-api/src/types/response/TeamBillingInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/TeamExternalTeamsDisconnectResponse.ts b/packages/web-api/src/types/response/TeamExternalTeamsDisconnectResponse.ts index 2318bf471..3951b3a03 100644 --- a/packages/web-api/src/types/response/TeamExternalTeamsDisconnectResponse.ts +++ b/packages/web-api/src/types/response/TeamExternalTeamsDisconnectResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/TeamExternalTeamsListResponse.ts b/packages/web-api/src/types/response/TeamExternalTeamsListResponse.ts index e53d21f7d..cc56542fd 100644 --- a/packages/web-api/src/types/response/TeamExternalTeamsListResponse.ts +++ b/packages/web-api/src/types/response/TeamExternalTeamsListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/TeamInfoResponse.ts b/packages/web-api/src/types/response/TeamInfoResponse.ts index dc05a3992..2bcd1a92a 100644 --- a/packages/web-api/src/types/response/TeamInfoResponse.ts +++ b/packages/web-api/src/types/response/TeamInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/TeamIntegrationLogsResponse.ts b/packages/web-api/src/types/response/TeamIntegrationLogsResponse.ts index 06cdc0379..e616c8ac4 100644 --- a/packages/web-api/src/types/response/TeamIntegrationLogsResponse.ts +++ b/packages/web-api/src/types/response/TeamIntegrationLogsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/TeamPreferencesListResponse.ts b/packages/web-api/src/types/response/TeamPreferencesListResponse.ts index ea7e4d885..24b5a2dcf 100644 --- a/packages/web-api/src/types/response/TeamPreferencesListResponse.ts +++ b/packages/web-api/src/types/response/TeamPreferencesListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/TeamProfileGetResponse.ts b/packages/web-api/src/types/response/TeamProfileGetResponse.ts index 7a3d02b5a..f0af40d56 100644 --- a/packages/web-api/src/types/response/TeamProfileGetResponse.ts +++ b/packages/web-api/src/types/response/TeamProfileGetResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ToolingTokensRotateResponse.ts b/packages/web-api/src/types/response/ToolingTokensRotateResponse.ts index 711d25020..0fe10f7b6 100644 --- a/packages/web-api/src/types/response/ToolingTokensRotateResponse.ts +++ b/packages/web-api/src/types/response/ToolingTokensRotateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsergroupsCreateResponse.ts b/packages/web-api/src/types/response/UsergroupsCreateResponse.ts index da8f8cc62..1fe5905a6 100644 --- a/packages/web-api/src/types/response/UsergroupsCreateResponse.ts +++ b/packages/web-api/src/types/response/UsergroupsCreateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsergroupsDisableResponse.ts b/packages/web-api/src/types/response/UsergroupsDisableResponse.ts index 001e20ea0..c679f98c9 100644 --- a/packages/web-api/src/types/response/UsergroupsDisableResponse.ts +++ b/packages/web-api/src/types/response/UsergroupsDisableResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsergroupsEnableResponse.ts b/packages/web-api/src/types/response/UsergroupsEnableResponse.ts index 6e45241d8..0bafcf72f 100644 --- a/packages/web-api/src/types/response/UsergroupsEnableResponse.ts +++ b/packages/web-api/src/types/response/UsergroupsEnableResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsergroupsListResponse.ts b/packages/web-api/src/types/response/UsergroupsListResponse.ts index 6a87313bc..7f79bf52e 100644 --- a/packages/web-api/src/types/response/UsergroupsListResponse.ts +++ b/packages/web-api/src/types/response/UsergroupsListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsergroupsUpdateResponse.ts b/packages/web-api/src/types/response/UsergroupsUpdateResponse.ts index 3fc507ca5..050113316 100644 --- a/packages/web-api/src/types/response/UsergroupsUpdateResponse.ts +++ b/packages/web-api/src/types/response/UsergroupsUpdateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsergroupsUsersListResponse.ts b/packages/web-api/src/types/response/UsergroupsUsersListResponse.ts index 32a9d0ab5..3f65510dd 100644 --- a/packages/web-api/src/types/response/UsergroupsUsersListResponse.ts +++ b/packages/web-api/src/types/response/UsergroupsUsersListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsergroupsUsersUpdateResponse.ts b/packages/web-api/src/types/response/UsergroupsUsersUpdateResponse.ts index 542a81a6b..78462953d 100644 --- a/packages/web-api/src/types/response/UsergroupsUsersUpdateResponse.ts +++ b/packages/web-api/src/types/response/UsergroupsUsersUpdateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsersConversationsResponse.ts b/packages/web-api/src/types/response/UsersConversationsResponse.ts index 143906ed8..f31fd842b 100644 --- a/packages/web-api/src/types/response/UsersConversationsResponse.ts +++ b/packages/web-api/src/types/response/UsersConversationsResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsersDeletePhotoResponse.ts b/packages/web-api/src/types/response/UsersDeletePhotoResponse.ts index ce940b023..b097deb96 100644 --- a/packages/web-api/src/types/response/UsersDeletePhotoResponse.ts +++ b/packages/web-api/src/types/response/UsersDeletePhotoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsersDiscoverableContactsLookupResponse.ts b/packages/web-api/src/types/response/UsersDiscoverableContactsLookupResponse.ts index 6ea47e1bf..41d1e176e 100644 --- a/packages/web-api/src/types/response/UsersDiscoverableContactsLookupResponse.ts +++ b/packages/web-api/src/types/response/UsersDiscoverableContactsLookupResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsersGetPresenceResponse.ts b/packages/web-api/src/types/response/UsersGetPresenceResponse.ts index 9ccd29150..871809215 100644 --- a/packages/web-api/src/types/response/UsersGetPresenceResponse.ts +++ b/packages/web-api/src/types/response/UsersGetPresenceResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsersIdentityResponse.ts b/packages/web-api/src/types/response/UsersIdentityResponse.ts index f476cfe37..d09dc78a4 100644 --- a/packages/web-api/src/types/response/UsersIdentityResponse.ts +++ b/packages/web-api/src/types/response/UsersIdentityResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsersInfoResponse.ts b/packages/web-api/src/types/response/UsersInfoResponse.ts index a95de8fa2..678ace962 100644 --- a/packages/web-api/src/types/response/UsersInfoResponse.ts +++ b/packages/web-api/src/types/response/UsersInfoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsersListResponse.ts b/packages/web-api/src/types/response/UsersListResponse.ts index 5365ed57e..0d2908494 100644 --- a/packages/web-api/src/types/response/UsersListResponse.ts +++ b/packages/web-api/src/types/response/UsersListResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsersLookupByEmailResponse.ts b/packages/web-api/src/types/response/UsersLookupByEmailResponse.ts index fb1829ba4..6e9ab8e37 100644 --- a/packages/web-api/src/types/response/UsersLookupByEmailResponse.ts +++ b/packages/web-api/src/types/response/UsersLookupByEmailResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsersProfileGetResponse.ts b/packages/web-api/src/types/response/UsersProfileGetResponse.ts index 957231a74..7111d8310 100644 --- a/packages/web-api/src/types/response/UsersProfileGetResponse.ts +++ b/packages/web-api/src/types/response/UsersProfileGetResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsersProfileSetResponse.ts b/packages/web-api/src/types/response/UsersProfileSetResponse.ts index ba65ece3a..b83d4fee6 100644 --- a/packages/web-api/src/types/response/UsersProfileSetResponse.ts +++ b/packages/web-api/src/types/response/UsersProfileSetResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsersSetActiveResponse.ts b/packages/web-api/src/types/response/UsersSetActiveResponse.ts index d3252658d..ad472a2f6 100644 --- a/packages/web-api/src/types/response/UsersSetActiveResponse.ts +++ b/packages/web-api/src/types/response/UsersSetActiveResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsersSetPhotoResponse.ts b/packages/web-api/src/types/response/UsersSetPhotoResponse.ts index 1c273a88c..e6d7506b0 100644 --- a/packages/web-api/src/types/response/UsersSetPhotoResponse.ts +++ b/packages/web-api/src/types/response/UsersSetPhotoResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/UsersSetPresenceResponse.ts b/packages/web-api/src/types/response/UsersSetPresenceResponse.ts index 2bd4955e2..179d04a19 100644 --- a/packages/web-api/src/types/response/UsersSetPresenceResponse.ts +++ b/packages/web-api/src/types/response/UsersSetPresenceResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/ViewsOpenResponse.ts b/packages/web-api/src/types/response/ViewsOpenResponse.ts index 813ebe4d5..ab7af7eef 100644 --- a/packages/web-api/src/types/response/ViewsOpenResponse.ts +++ b/packages/web-api/src/types/response/ViewsOpenResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -203,7 +202,7 @@ export interface TentacledElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/packages/web-api/src/types/response/ViewsPublishResponse.ts b/packages/web-api/src/types/response/ViewsPublishResponse.ts index e9f3fc753..d11e63129 100644 --- a/packages/web-api/src/types/response/ViewsPublishResponse.ts +++ b/packages/web-api/src/types/response/ViewsPublishResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -203,7 +202,7 @@ export interface TentacledElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/packages/web-api/src/types/response/ViewsPushResponse.ts b/packages/web-api/src/types/response/ViewsPushResponse.ts index 056536cdf..402bc6db5 100644 --- a/packages/web-api/src/types/response/ViewsPushResponse.ts +++ b/packages/web-api/src/types/response/ViewsPushResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -203,7 +202,7 @@ export interface TentacledElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/packages/web-api/src/types/response/ViewsUpdateResponse.ts b/packages/web-api/src/types/response/ViewsUpdateResponse.ts index 7de19bf79..55dc1913a 100644 --- a/packages/web-api/src/types/response/ViewsUpdateResponse.ts +++ b/packages/web-api/src/types/response/ViewsUpdateResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // @@ -203,7 +202,7 @@ export interface TentacledElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/packages/web-api/src/types/response/WorkflowsStepCompletedResponse.ts b/packages/web-api/src/types/response/WorkflowsStepCompletedResponse.ts index 717f73928..9655af76d 100644 --- a/packages/web-api/src/types/response/WorkflowsStepCompletedResponse.ts +++ b/packages/web-api/src/types/response/WorkflowsStepCompletedResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/WorkflowsStepFailedResponse.ts b/packages/web-api/src/types/response/WorkflowsStepFailedResponse.ts index f203382fb..c0dabb751 100644 --- a/packages/web-api/src/types/response/WorkflowsStepFailedResponse.ts +++ b/packages/web-api/src/types/response/WorkflowsStepFailedResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/WorkflowsUpdateStepResponse.ts b/packages/web-api/src/types/response/WorkflowsUpdateStepResponse.ts index de11fa37a..43dfbc30e 100644 --- a/packages/web-api/src/types/response/WorkflowsUpdateStepResponse.ts +++ b/packages/web-api/src/types/response/WorkflowsUpdateStepResponse.ts @@ -1,4 +1,3 @@ -/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // diff --git a/packages/web-api/src/types/response/index.ts b/packages/web-api/src/types/response/index.ts index 8b621daeb..37216c3f1 100644 --- a/packages/web-api/src/types/response/index.ts +++ b/packages/web-api/src/types/response/index.ts @@ -116,6 +116,9 @@ export { AppsPermissionsScopesListResponse } from './AppsPermissionsScopesListRe export { AppsPermissionsUsersListResponse } from './AppsPermissionsUsersListResponse'; export { AppsPermissionsUsersRequestResponse } from './AppsPermissionsUsersRequestResponse'; export { AppsUninstallResponse } from './AppsUninstallResponse'; +export { AssistantThreadsSetStatusResponse } from './AssistantThreadsSetStatusResponse'; +export { AssistantThreadsSetSuggestedPromptsResponse } from './AssistantThreadsSetSuggestedPromptsResponse'; +export { AssistantThreadsSetTitleResponse } from './AssistantThreadsSetTitleResponse'; export { AuthRevokeResponse } from './AuthRevokeResponse'; export { AuthTeamsListResponse } from './AuthTeamsListResponse'; export { AuthTestResponse } from './AuthTestResponse';