@slack/web-api
Advanced tools
Comparing version 7.3.4 to 7.4.0
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { IncomingHttpHeaders } from 'http'; | ||
import { AxiosResponse } from 'axios'; | ||
import { WebAPICallResult } from './WebClient'; | ||
import type { IncomingHttpHeaders } from 'node:http'; | ||
import type { AxiosResponse } from 'axios'; | ||
import type { WebAPICallResult } from './WebClient'; | ||
/** | ||
@@ -7,0 +7,0 @@ * All errors produced by this package adhere to this interface |
@@ -50,7 +50,7 @@ "use strict"; | ||
const nonNullHeaders = {}; | ||
Object.keys(response.headers).forEach((k) => { | ||
for (const k of Object.keys(response.headers)) { | ||
if (k && response.headers[k]) { | ||
nonNullHeaders[k] = response.headers[k]; | ||
} | ||
}); | ||
} | ||
error.headers = nonNullHeaders; | ||
@@ -57,0 +57,0 @@ error.body = response.data; |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { Readable } from 'stream'; | ||
import { Logger } from '@slack/logger'; | ||
import { FileUploadV2, FileUploadV2Job, FilesCompleteUploadExternalArguments, FilesUploadV2Arguments } from './types/request/files'; | ||
import { Readable } from 'node:stream'; | ||
import type { Logger } from '@slack/logger'; | ||
import type { FileUploadV2, FileUploadV2Job, FilesCompleteUploadExternalArguments, FilesUploadV2Arguments } from './types/request/files'; | ||
export declare function getFileUploadJob(options: FilesUploadV2Arguments | FileUploadV2, logger: Logger): Promise<FileUploadV2Job>; | ||
@@ -31,3 +31,3 @@ /** | ||
* @param options provided by user | ||
*/ | ||
*/ | ||
export declare function getMultipleFileUploadJobs(options: FilesUploadV2Arguments, logger: Logger): Promise<FileUploadV2Job[]>; | ||
@@ -57,3 +57,3 @@ /** | ||
* @param logger | ||
*/ | ||
*/ | ||
export declare function warnIfNotUsingFilesUploadV2(method: string, logger: Logger): void; | ||
@@ -60,0 +60,0 @@ /** |
@@ -13,4 +13,4 @@ "use strict"; | ||
exports.buildInvalidFilesUploadParamError = exports.buildMultipleChannelsErrorMsg = exports.buildChannelsWarning = exports.buildFilesUploadMissingMessage = exports.buildGeneralFilesUploadWarning = exports.buildLegacyMethodWarning = exports.buildMissingExtensionWarning = exports.buildMissingFileNameWarning = exports.buildLegacyFileTypeWarning = exports.buildFileSizeErrorMsg = exports.buildMissingFileIdError = exports.warnIfLegacyFileType = exports.warnIfMissingOrInvalidFileNameAndDefault = exports.errorIfInvalidOrMissingFileData = exports.errorIfChannelsCsv = exports.warnIfChannels = exports.warnIfNotUsingFilesUploadV2 = exports.getAllFileUploadsToComplete = exports.getFileDataAsStream = exports.getFileDataLength = exports.getFileData = exports.getMultipleFileUploadJobs = exports.getFileUploadJob = void 0; | ||
const fs_1 = require("fs"); | ||
const stream_1 = require("stream"); | ||
const node_fs_1 = require("node:fs"); | ||
const node_stream_1 = require("node:stream"); | ||
const errors_1 = require("./errors"); | ||
@@ -34,3 +34,3 @@ function getFileUploadJob(options, logger) { | ||
snippet_type: options.snippet_type, | ||
title: (_c = options.title) !== null && _c !== void 0 ? _c : ((_d = options.filename) !== null && _d !== void 0 ? _d : fileName), // default title to filename unless otherwise specified | ||
title: (_d = (_c = options.title) !== null && _c !== void 0 ? _c : options.filename) !== null && _d !== void 0 ? _d : fileName, // default title to filename unless otherwise specified | ||
// calculated | ||
@@ -80,3 +80,3 @@ data: fileData, | ||
* @param options provided by user | ||
*/ | ||
*/ | ||
function getMultipleFileUploadJobs(options, logger) { | ||
@@ -134,3 +134,3 @@ return __awaiter(this, void 0, void 0, function* () { | ||
try { | ||
const dataBuffer = (0, fs_1.readFileSync)(file); | ||
const dataBuffer = (0, node_fs_1.readFileSync)(file); | ||
return dataBuffer; | ||
@@ -167,3 +167,3 @@ } | ||
let chunk; | ||
/* eslint-disable no-cond-assign */ | ||
// biome-ignore lint/suspicious/noAssignInExpressions: being terse, this is OK | ||
while ((chunk = readable.read()) !== null) { | ||
@@ -197,3 +197,3 @@ chunks.push(chunk); | ||
const toComplete = {}; | ||
fileUploads.forEach((upload) => { | ||
for (const upload of fileUploads) { | ||
const { channel_id, thread_ts, initial_comment, file_id, title } = upload; | ||
@@ -225,3 +225,3 @@ if (file_id) { | ||
} | ||
}); | ||
} | ||
return toComplete; | ||
@@ -236,3 +236,3 @@ } | ||
* @param logger | ||
*/ | ||
*/ | ||
function warnIfNotUsingFilesUploadV2(method, logger) { | ||
@@ -281,6 +281,5 @@ const targetMethods = ['files.upload']; | ||
} | ||
/* eslint-disable @typescript-eslint/no-explicit-any */ | ||
if ('file' in options) { | ||
const { file } = options; | ||
if (file && !(typeof file === 'string' || Buffer.isBuffer(file) || file instanceof stream_1.Readable)) { | ||
if (file && !(typeof file === 'string' || Buffer.isBuffer(file) || file instanceof node_stream_1.Readable)) { | ||
throw (0, errors_1.errorWithCode)(new Error('file must be a valid string path, buffer or Readable'), errors_1.ErrorCode.FileUploadInvalidArgumentsError); | ||
@@ -337,11 +336,11 @@ } | ||
function buildLegacyFileTypeWarning() { | ||
return 'filetype is no longer a supported field in files.uploadV2.' + | ||
return ('filetype is no longer a supported field in files.uploadV2.' + | ||
' \nPlease remove this field. To indicate file type, please do so via the required filename property' + | ||
' using the appropriate file extension, e.g. image.png, text.txt'; | ||
' using the appropriate file extension, e.g. image.png, text.txt'); | ||
} | ||
exports.buildLegacyFileTypeWarning = buildLegacyFileTypeWarning; | ||
function buildMissingFileNameWarning() { | ||
return 'filename is a required field for files.uploadV2. \n For backwards compatibility and ease of migration, ' + | ||
return ('filename is a required field for files.uploadV2. \n For backwards compatibility and ease of migration, ' + | ||
'defaulting the filename. For best experience and consistent unfurl behavior, you' + | ||
' should set the filename property with correct file extension, e.g. image.png, text.txt'; | ||
' should set the filename property with correct file extension, e.g. image.png, text.txt'); | ||
} | ||
@@ -358,4 +357,4 @@ exports.buildMissingFileNameWarning = buildMissingFileNameWarning; | ||
function buildGeneralFilesUploadWarning() { | ||
return 'Our latest recommendation is to use client.files.uploadV2() method, ' + | ||
'which is mostly compatible and much stabler, instead.'; | ||
return ('Our latest recommendation is to use client.files.uploadV2() method, ' + | ||
'which is mostly compatible and much stabler, instead.'); | ||
} | ||
@@ -368,4 +367,4 @@ exports.buildGeneralFilesUploadWarning = buildGeneralFilesUploadWarning; | ||
function buildChannelsWarning() { | ||
return 'Although the \'channels\' parameter is still supported for smoother migration from legacy files.upload, ' + | ||
'we recommend using the new channel_id parameter with a single str value instead (e.g. \'C12345\').'; | ||
return ("Although the 'channels' parameter is still supported for smoother migration from legacy files.upload, " + | ||
"we recommend using the new channel_id parameter with a single str value instead (e.g. 'C12345')."); | ||
} | ||
@@ -378,6 +377,6 @@ exports.buildChannelsWarning = buildChannelsWarning; | ||
function buildInvalidFilesUploadParamError() { | ||
return 'You may supply file_uploads only for a single channel, comment, thread respectively. ' + | ||
'Therefore, please supply any channel_id, initial_comment, thread_ts in the top-layer.'; | ||
return ('You may supply file_uploads only for a single channel, comment, thread respectively. ' + | ||
'Therefore, please supply any channel_id, initial_comment, thread_ts in the top-layer.'); | ||
} | ||
exports.buildInvalidFilesUploadParamError = buildInvalidFilesUploadParamError; | ||
//# sourceMappingURL=file-upload.js.map |
@@ -27,5 +27,4 @@ "use strict"; | ||
exports.getUserAgent = exports.addAppMetadata = void 0; | ||
const os = __importStar(require("os")); | ||
const path_1 = require("path"); | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires, import/no-commonjs | ||
const os = __importStar(require("node:os")); | ||
const node_path_1 = require("node:path"); | ||
const packageJson = require('../package.json'); | ||
@@ -45,3 +44,3 @@ /** | ||
const baseUserAgent = `${replaceSlashes(packageJson.name)}/${packageJson.version} ` + | ||
`${(0, path_1.basename)(process.title)}/${process.version.replace('v', '')} ` + | ||
`${(0, node_path_1.basename)(process.title)}/${process.version.replace('v', '')} ` + | ||
`${os.platform()}/${os.release()}`; | ||
@@ -62,7 +61,9 @@ const appMetadata = {}; | ||
function getUserAgent() { | ||
const appIdentifier = Object.entries(appMetadata).map(([name, version]) => `${name}/${version}`).join(' '); | ||
const appIdentifier = Object.entries(appMetadata) | ||
.map(([name, version]) => `${name}/${version}`) | ||
.join(' '); | ||
// only prepend the appIdentifier when its not empty | ||
return ((appIdentifier.length > 0) ? `${appIdentifier} ` : '') + baseUserAgent; | ||
return (appIdentifier.length > 0 ? `${appIdentifier} ` : '') + baseUserAgent; | ||
} | ||
exports.getUserAgent = getUserAgent; | ||
//# sourceMappingURL=instrument.js.map |
@@ -1,2 +0,2 @@ | ||
import { LogLevel, Logger } from '@slack/logger'; | ||
import { type LogLevel, type Logger } from '@slack/logger'; | ||
export { Logger, LogLevel } from '@slack/logger'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { OperationOptions } from 'retry'; | ||
import type { OperationOptions } from 'retry'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Options to create retry policies. Extends from https://github.com/tim-kos/node-retry. |
/** Omit all keys K from possible union types T */ | ||
export type ExcludeFromUnion<T, K extends string> = T extends T ? Omit<T, K> : never; | ||
/** Allows to explicitly declare a function parameter as optional */ | ||
export type OptionalArgument<T> = T | void; | ||
export type OptionalArgument<T> = T | undefined; | ||
//# sourceMappingURL=helpers.d.ts.map |
@@ -9,3 +9,3 @@ import type { TokenOverridable } from '../common'; | ||
} | ||
interface MemberArgs extends Date { | ||
export interface MemberArgs extends Date { | ||
/** | ||
@@ -24,3 +24,3 @@ * @description The type of analytics to retrieve. The options are currently limited to | ||
} | ||
interface PublicChannelWithDate extends TypeChannel, Date { | ||
export interface PublicChannelWithDate extends TypeChannel, Date { | ||
/** | ||
@@ -33,3 +33,3 @@ * @description Retrieve metadata for the `type` of analytics indicated. Can be used only with `type` set to | ||
} | ||
interface PublicChannelWithMetadata extends TypeChannel { | ||
export interface PublicChannelWithMetadata extends TypeChannel { | ||
/** | ||
@@ -36,0 +36,0 @@ * @description Retrieve metadata for the `type` of analytics indicated. Can be used only with `type` set to |
@@ -1,4 +0,4 @@ | ||
import { OptionalArgument } from '../../helpers'; | ||
import type { AppID, CursorPaginationEnabled, TokenOverridable } from '../common'; | ||
interface RequestID { | ||
import type { OptionalArgument } from '../../helpers'; | ||
import type { AppID, CursorPaginationEnabled, TeamID, TokenOverridable } from '../common'; | ||
export interface RequestID { | ||
/** @description The id of the request. */ | ||
@@ -12,10 +12,6 @@ request_id: string; | ||
}); | ||
interface EnterpriseID { | ||
export interface EnterpriseID { | ||
/** @description The ID of the enterprise. */ | ||
enterprise_id: string; | ||
} | ||
interface TeamID { | ||
/** @description The ID of the workspace. */ | ||
team_id: string; | ||
} | ||
type TeamOrEnterpriseID = (EnterpriseID & { | ||
@@ -26,3 +22,3 @@ team_id?: never; | ||
}); | ||
interface Certified { | ||
export interface Certified { | ||
/** | ||
@@ -29,0 +25,0 @@ * @description Include certified apps. Defaults to `false`. |
@@ -1,2 +0,2 @@ | ||
import { OptionalArgument } from '../../helpers'; | ||
import type { OptionalArgument } from '../../helpers'; | ||
import type { CursorPaginationEnabled, TokenOverridable } from '../common'; | ||
@@ -3,0 +3,0 @@ interface BarrierID { |
@@ -1,7 +0,3 @@ | ||
import { OptionalArgument } from '../../helpers'; | ||
import type { ChannelIDs, CursorPaginationEnabled, SortDir, TokenOverridable, UserIDs } from '../common'; | ||
interface ChannelID { | ||
/** @description Encoded channel ID. */ | ||
channel_id: string; | ||
} | ||
import type { OptionalArgument } from '../../helpers'; | ||
import type { ChannelID, ChannelIDs, CursorPaginationEnabled, SortDir, TeamIDs, TokenOverridable, UserIDs } from '../common'; | ||
type ChannelType = 'private' | 'private_exclude' | 'archived' | 'exclude_archived' | 'private_exclude_archived' | 'multi_workspace' | 'org_wide' | 'external_shared_exclude' | 'external_shared' | 'external_shared_private' | 'external_shared_archived' | 'exclude_org_shared'; | ||
@@ -12,6 +8,2 @@ interface GroupID { | ||
} | ||
interface TeamIDs { | ||
/** @description A list of team IDs to filter by (must include at least one ID). */ | ||
team_ids: [string, ...string[]]; | ||
} | ||
interface RestrictAccessTeamID { | ||
@@ -40,3 +32,3 @@ /** | ||
} | ||
interface OrgWide { | ||
export interface OrgWide { | ||
/** @description When `true`, the channel will be available org-wide. */ | ||
@@ -46,3 +38,3 @@ org_wide: true; | ||
} | ||
interface SpecificTeam { | ||
export interface SpecificTeam { | ||
/** | ||
@@ -73,6 +65,3 @@ * @description When `false` (the default), the channel will be available to only | ||
} | ||
export type AdminConversationsEKMListOriginalConnectedChannelInfoArguments = OptionalArgument<Partial<TeamIDs> & TokenOverridable & CursorPaginationEnabled & { | ||
/** @description A comma-separated list of channels to filter to. */ | ||
channel_ids?: string[]; | ||
}>; | ||
export type AdminConversationsEKMListOriginalConnectedChannelInfoArguments = OptionalArgument<Partial<TeamIDs> & TokenOverridable & CursorPaginationEnabled & Partial<ChannelIDs>>; | ||
export interface AdminConversationsGetConversationPrefsArguments extends ChannelID, TokenOverridable { | ||
@@ -79,0 +68,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { OptionalArgument } from '../../helpers'; | ||
import type { OptionalArgument } from '../../helpers'; | ||
import type { CursorPaginationEnabled, TokenOverridable } from '../common'; | ||
@@ -3,0 +3,0 @@ interface Name { |
@@ -1,2 +0,2 @@ | ||
import type { CursorPaginationEnabled, TokenOverridable } from '../common'; | ||
import type { CursorPaginationEnabled, TokenOverridable, UserIDs } from '../common'; | ||
export interface AdminFunctionsListArguments extends TokenOverridable, CursorPaginationEnabled { | ||
@@ -12,3 +12,3 @@ /** @description Array of app IDs to get functions for; max 50. */ | ||
} | ||
export interface AdminFunctionsPermissionsSetArguments extends TokenOverridable { | ||
export interface AdminFunctionsPermissionsSetArguments extends TokenOverridable, Partial<UserIDs> { | ||
/** @description The function ID to set permissions for. */ | ||
@@ -18,5 +18,3 @@ function_id: string; | ||
visibility: 'everyone' | 'app_collaborators' | 'named_entities' | 'no_one'; | ||
/** @description List of user IDs to allow for `named_entities` visibility. */ | ||
user_ids?: string[]; | ||
} | ||
//# sourceMappingURL=functions.d.ts.map |
@@ -1,4 +0,4 @@ | ||
import { OptionalArgument } from '../../helpers'; | ||
import type { OptionalArgument } from '../../helpers'; | ||
import type { CursorPaginationEnabled, SortDir, TokenOverridable, UserIDs } from '../common'; | ||
interface EntityIDs { | ||
export interface EntityIDs { | ||
/** | ||
@@ -5,0 +5,0 @@ * @description List of the entity IDs for which roles will be assigned/listed/removed. |
@@ -1,2 +0,2 @@ | ||
import { OptionalArgument } from '../../helpers'; | ||
import type { OptionalArgument } from '../../helpers'; | ||
import type { ChannelIDs, CursorPaginationEnabled, TeamID, TokenOverridable } from '../common'; | ||
@@ -3,0 +3,0 @@ type TeamDiscoverability = 'open' | 'closed' | 'invite_only' | 'unlisted'; |
@@ -1,7 +0,3 @@ | ||
import { OptionalArgument } from '../../helpers'; | ||
import type { ChannelIDs, CursorPaginationEnabled, OptionalTeamAssignable, TeamID, TokenOverridable, UserIDs } from '../common'; | ||
interface UserID { | ||
/** @description The ID of the user. */ | ||
user_id: string; | ||
} | ||
import type { OptionalArgument } from '../../helpers'; | ||
import type { ChannelIDs, CursorPaginationEnabled, OptionalTeamAssignable, TeamID, TokenOverridable, UserID, UserIDs } from '../common'; | ||
interface IsRestricted { | ||
@@ -21,6 +17,6 @@ /** @description Set to `true` if user should be added to the workspace as a guest. */ | ||
} | ||
interface TeamIDWithoutDeactivatedWorkspaces extends TeamID { | ||
export interface TeamIDWithoutDeactivatedWorkspaces extends TeamID { | ||
include_deactivated_user_workspaces?: false; | ||
} | ||
interface DeactivatedWorkspacesWithoutTeamID { | ||
export interface DeactivatedWorkspacesWithoutTeamID { | ||
team_id?: never; | ||
@@ -35,5 +31,5 @@ /** | ||
type TeamIDOrDeactivatedWorkspaces = TeamIDWithoutDeactivatedWorkspaces | DeactivatedWorkspacesWithoutTeamID; | ||
interface BothTeamAndUserID extends TeamID, UserID { | ||
export interface BothTeamAndUserID extends TeamID, UserID { | ||
} | ||
interface NeitherTeamNorUserID { | ||
export interface NeitherTeamNorUserID { | ||
team_id?: never; | ||
@@ -65,3 +61,3 @@ user_id?: never; | ||
* Resending can only be done via the UI and has no expiration. Defaults to `false`. | ||
*/ | ||
*/ | ||
resend?: boolean; | ||
@@ -68,0 +64,0 @@ } |
@@ -1,4 +0,4 @@ | ||
import { OptionalArgument } from '../../helpers'; | ||
import type { OptionalArgument } from '../../helpers'; | ||
import type { AppID, CursorPaginationEnabled, SortDir, TokenOverridable } from '../common'; | ||
interface CollaboratorIDs { | ||
export interface CollaboratorIDs { | ||
/** @description Array of collaborators (encoded user IDs) - maximum of 50 items. */ | ||
@@ -5,0 +5,0 @@ collaborator_ids: [string, ...string[]]; |
@@ -1,2 +0,2 @@ | ||
import { OptionalArgument } from '../helpers'; | ||
import type { OptionalArgument } from '../helpers'; | ||
export type APITestArguments = OptionalArgument<{ | ||
@@ -3,0 +3,0 @@ /** @description Error response to return. */ |
@@ -1,2 +0,2 @@ | ||
import { OptionalArgument } from '../helpers'; | ||
import type { OptionalArgument } from '../helpers'; | ||
import type { AppID, CursorPaginationEnabled, OAuthCredentials, TokenOverridable } from './common'; | ||
@@ -3,0 +3,0 @@ import type { Manifest } from './manifest'; |
@@ -0,3 +1,3 @@ | ||
import type { OptionalArgument } from '../helpers'; | ||
import type { CursorPaginationEnabled, TokenOverridable } from './common'; | ||
import type { OptionalArgument } from '../helpers'; | ||
export type AuthRevokeArguments = OptionalArgument<TokenOverridable & { | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,6 +0,2 @@ | ||
import type { TokenOverridable } from './common'; | ||
interface Channel { | ||
/** @description Channel containing bookmark. */ | ||
channel_id: string; | ||
} | ||
import type { ChannelID, TokenOverridable } from './common'; | ||
interface ID { | ||
@@ -17,3 +13,3 @@ bookmark_id: string; | ||
} | ||
export interface BookmarksAddArguments extends Channel, BookmarkFields, TokenOverridable { | ||
export interface BookmarksAddArguments extends ChannelID, BookmarkFields, TokenOverridable { | ||
/** @description Type of the bookmark. Only `link` is supported at the moment. */ | ||
@@ -26,9 +22,9 @@ type: 'link'; | ||
} | ||
export interface BookmarksEditArguments extends Channel, ID, Partial<BookmarkFields>, TokenOverridable { | ||
export interface BookmarksEditArguments extends ChannelID, ID, Partial<BookmarkFields>, TokenOverridable { | ||
} | ||
export interface BookmarksListArguments extends Channel, TokenOverridable { | ||
export interface BookmarksListArguments extends ChannelID, TokenOverridable { | ||
} | ||
export interface BookmarksRemoveArguments extends Channel, ID, TokenOverridable { | ||
export interface BookmarksRemoveArguments extends ChannelID, ID, TokenOverridable { | ||
} | ||
export {}; | ||
//# sourceMappingURL=bookmarks.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { OptionalArgument } from '../helpers'; | ||
import type { OptionalArgument } from '../helpers'; | ||
import type { OptionalTeamAssignable, TokenOverridable } from './common'; | ||
@@ -3,0 +3,0 @@ export type BotsInfoArguments = OptionalArgument<TokenOverridable & OptionalTeamAssignable & { |
@@ -0,3 +1,3 @@ | ||
import type { CallUser } from '@slack/types'; | ||
import type { TokenOverridable } from './common'; | ||
import type { CallUser } from '@slack/types'; | ||
interface ID { | ||
@@ -4,0 +4,0 @@ /** @description `id` returned when registering the call using the `calls.add` method. */ |
@@ -1,3 +0,3 @@ | ||
import type { ChannelIDs, TokenOverridable, UserIDs } from './common'; | ||
import type { OptionalArgument } from '../helpers'; | ||
import type { ChannelID, ChannelIDs, TokenOverridable, UserIDs } from './common'; | ||
interface CanvasID { | ||
@@ -7,3 +7,3 @@ /** @description Encoded ID of the canvas. */ | ||
} | ||
interface DocumentContent { | ||
export interface DocumentContent { | ||
/** @description The type of content used to describe Canvas content. Always is `markdown`. */ | ||
@@ -72,5 +72,3 @@ type: 'markdown'; | ||
} | ||
export interface ConversationsCanvasesCreateArguments extends TokenOverridable { | ||
/** @description Channel ID of the channel to create a canvas in. */ | ||
channel_id: string; | ||
export interface ConversationsCanvasesCreateArguments extends ChannelID, TokenOverridable { | ||
/** @description Structure describing the type and contents of the Canvas being created. */ | ||
@@ -77,0 +75,0 @@ document_content?: DocumentContent; |
@@ -1,10 +0,10 @@ | ||
import { OptionalArgument } from '../helpers'; | ||
import type { CursorPaginationEnabled, OptionalTeamAssignable, TimelinePaginationEnabled, TokenOverridable } from './common'; | ||
import type { OptionalArgument } from '../helpers'; | ||
import type { Block, // TODO: these will be combined into one in a new types release | ||
KnownBlock, LinkUnfurls, MessageAttachment, MessageMetadata } from '@slack/types'; | ||
interface Channel { | ||
import type { CursorPaginationEnabled, OptionalTeamAssignable, TimelinePaginationEnabled, TokenOverridable } from './common'; | ||
export interface Channel { | ||
/** @description Channel ID for the message. */ | ||
channel: string; | ||
} | ||
interface ChannelAndTS extends Channel { | ||
export interface ChannelAndTS extends Channel { | ||
/** @description Timestamp of the message. */ | ||
@@ -17,3 +17,3 @@ ts: string; | ||
} | ||
interface AsUser { | ||
export interface AsUser { | ||
/** | ||
@@ -26,7 +26,7 @@ * @description Pass `true` to act as the authed user with {@link https://api.slack.com/scopes/chat:write:user `chat:write:user` scope}. | ||
} | ||
interface LinkNames { | ||
export interface LinkNames { | ||
/** @description Find and link channel names and usernames. */ | ||
link_names?: boolean; | ||
} | ||
interface Parse { | ||
export interface Parse { | ||
/** | ||
@@ -45,5 +45,5 @@ * @description Change how messages are treated. Defaults to `none`. | ||
} | ||
interface ChannelAndText extends Channel, Text { | ||
export interface ChannelAndText extends Channel, Text { | ||
} | ||
interface ChannelAndBlocks extends Channel, Partial<Text> { | ||
export interface ChannelAndBlocks extends Channel, Partial<Text> { | ||
/** | ||
@@ -55,3 +55,3 @@ * @description An array of structured Blocks. | ||
} | ||
interface ChannelAndAttachments extends Channel, Partial<Text> { | ||
export interface ChannelAndAttachments extends Channel, Partial<Text> { | ||
/** | ||
@@ -64,3 +64,3 @@ * @description An array of structured attachments. | ||
type MessageContents = ChannelAndText | ChannelAndBlocks | ChannelAndAttachments; | ||
interface ThreadTS { | ||
export interface ThreadTS { | ||
/** | ||
@@ -72,3 +72,3 @@ * @description Provide another message's `ts` value to post this message in a thread. Avoid using a reply's `ts` | ||
} | ||
interface WithinThreadReply extends Partial<ThreadTS> { | ||
export interface WithinThreadReply extends Partial<ThreadTS> { | ||
/** | ||
@@ -80,3 +80,3 @@ * @description Used in conjunction with `thread_ts`, when set to `false` will make the reply only visibile within | ||
} | ||
interface BroadcastedThreadReply extends ThreadTS { | ||
export interface BroadcastedThreadReply extends ThreadTS { | ||
/** @description Used in conjunction with `thread_ts`, when set to `true` will broadcast the reply to the channel. */ | ||
@@ -86,7 +86,7 @@ reply_broadcast: boolean; | ||
type ReplyInThread = WithinThreadReply | BroadcastedThreadReply; | ||
interface Metadata { | ||
export interface Metadata { | ||
/** @description Object representing message metadata, which will be made accessible to any user or app. */ | ||
metadata?: MessageMetadata; | ||
} | ||
interface IconEmoji { | ||
export interface IconEmoji { | ||
as_user?: false; | ||
@@ -100,3 +100,3 @@ icon_url?: never; | ||
} | ||
interface IconURL { | ||
export interface IconURL { | ||
as_user?: false; | ||
@@ -111,3 +111,3 @@ icon_emoji?: never; | ||
type Icon = IconEmoji | IconURL; | ||
interface Username { | ||
export interface Username { | ||
as_user?: false; | ||
@@ -127,3 +127,3 @@ /** @description Set your bot's username. Can only be used with `as_user` set to `false`. */ | ||
}; | ||
interface Unfurls { | ||
export interface Unfurls { | ||
/** @description Pass `true` to enable unfurling of primarily text-based content. */ | ||
@@ -160,3 +160,3 @@ unfurl_links?: boolean; | ||
export type ChatScheduledMessagesListArguments = OptionalArgument<TokenOverridable & CursorPaginationEnabled & OptionalTeamAssignable & Pick<TimelinePaginationEnabled, 'latest' | 'oldest'> & Partial<Channel>>; | ||
interface SourceAndUnfurlID { | ||
export interface SourceAndUnfurlID { | ||
/** | ||
@@ -163,0 +163,0 @@ * @description The source of the link to unfurl. The source may either be `composer`, when the link is inside the |
@@ -54,2 +54,6 @@ export interface CursorPaginationEnabled { | ||
} | ||
export interface TeamIDs { | ||
/** @description A list of team IDs (must include at least one ID). */ | ||
team_ids: [string, ...string[]]; | ||
} | ||
export interface OptionalTeamAssignable { | ||
@@ -67,2 +71,6 @@ /** @description If using an org token, `team_id` is required. */ | ||
} | ||
export interface ChannelID { | ||
/** @description Encoded channel ID. */ | ||
channel_id: string; | ||
} | ||
export interface UserIDs { | ||
@@ -72,2 +80,6 @@ /** @description List of encoded user IDs. */ | ||
} | ||
export interface UserID { | ||
/** @description Encoded user ID. */ | ||
user_id: string; | ||
} | ||
export interface AppID { | ||
@@ -74,0 +86,0 @@ /** @description The ID of the app. */ |
@@ -1,12 +0,8 @@ | ||
import { OptionalArgument } from '../helpers'; | ||
import type { CursorPaginationEnabled, LocaleAware, OptionalTeamAssignable, TargetTeam, TimelinePaginationEnabled, TokenOverridable } from './common'; | ||
interface Channel { | ||
import type { OptionalArgument } from '../helpers'; | ||
import type { ChannelID, CursorPaginationEnabled, LocaleAware, OptionalTeamAssignable, TargetTeam, TimelinePaginationEnabled, TokenOverridable } from './common'; | ||
export interface Channel { | ||
/** @description ID of conversation. */ | ||
channel: string; | ||
} | ||
interface ChannelID { | ||
/** @description ID of the channel that you'd like to accept. Must provide either `invite_id` or `channel_id`. */ | ||
channel_id: string; | ||
} | ||
interface Emails { | ||
export interface Emails { | ||
/** @description List of emails to receive this invite. Either `emails` or `user_ids` must be provided. */ | ||
@@ -20,15 +16,19 @@ emails: string[]; | ||
} | ||
interface InviteID { | ||
export interface InviteID { | ||
/** @description ID of the invite. */ | ||
invite_id: string; | ||
} | ||
interface IsPrivate { | ||
export interface IsPrivate { | ||
/** @description Whether the channel should be private. */ | ||
is_private?: boolean; | ||
} | ||
interface Message extends Channel { | ||
interface MessageSpecifier extends Channel { | ||
/** @description Unique identifier of message. */ | ||
ts: string; | ||
} | ||
interface UserIDs { | ||
interface Message { | ||
/** @description A message to send to the user who requested the invite. */ | ||
message?: string; | ||
} | ||
export interface UserIDs { | ||
/** List of user IDs to receive this invite. Either `emails` or `user_ids` must be provided. */ | ||
@@ -38,3 +38,3 @@ user_ids: string[]; | ||
} | ||
interface Users { | ||
export interface Users { | ||
/** @description A comma separated list of user IDs. Up to 1000 users may be listed. */ | ||
@@ -109,3 +109,3 @@ users: string; | ||
}>; | ||
export interface ConversationsMarkArguments extends Message, TokenOverridable { | ||
export interface ConversationsMarkArguments extends MessageSpecifier, TokenOverridable { | ||
} | ||
@@ -127,4 +127,23 @@ export interface ConversationsMembersArguments extends Channel, TokenOverridable, CursorPaginationEnabled { | ||
} | ||
export interface ConversationsRepliesArguments extends Message, IncludeAllMetadata, TokenOverridable, CursorPaginationEnabled, TimelinePaginationEnabled { | ||
export interface ConversationsRepliesArguments extends MessageSpecifier, IncludeAllMetadata, TokenOverridable, CursorPaginationEnabled, TimelinePaginationEnabled { | ||
} | ||
export interface ConversationsRequestSharedInviteApproveArguments extends InviteID, Partial<ChannelID> { | ||
/** | ||
* @description Whether the invited team will have post-only permissions in the channel. | ||
* Will override the value on the requested invite. | ||
*/ | ||
is_external_limited?: boolean; | ||
/** @description Optional additional messaging to attach to the invite approval message. */ | ||
message?: { | ||
/** | ||
* @description When `true`, will override the user specified message. Otherwise, `text` will be appended to the | ||
* user specified message on the invite request. | ||
*/ | ||
is_override: boolean; | ||
/** @description Text to include along with the email invite. */ | ||
text: string; | ||
}; | ||
} | ||
export interface ConversationsRequestSharedInviteDenyArguments extends InviteID, Message { | ||
} | ||
export interface ConversationsSetPurposeArguments extends Channel, TokenOverridable { | ||
@@ -131,0 +150,0 @@ /** @description A new, specialer purpose. */ |
@@ -0,3 +1,3 @@ | ||
import type { Dialog } from '@slack/types'; | ||
import type { TokenOverridable } from './common'; | ||
import type { Dialog } from '@slack/types'; | ||
export interface DialogOpenArguments extends TokenOverridable { | ||
@@ -4,0 +4,0 @@ /** @description Exchange a trigger to post to the user. */ |
@@ -1,3 +0,3 @@ | ||
import { OptionalTeamAssignable, TokenOverridable } from './common'; | ||
import { OptionalArgument } from '../helpers'; | ||
import type { OptionalArgument } from '../helpers'; | ||
import type { OptionalTeamAssignable, TokenOverridable } from './common'; | ||
export type DndEndDndArguments = OptionalArgument<TokenOverridable>; | ||
@@ -4,0 +4,0 @@ export type DndEndSnoozeArguments = OptionalArgument<TokenOverridable>; |
@@ -1,3 +0,3 @@ | ||
import { TokenOverridable } from './common'; | ||
import { OptionalArgument } from '../helpers'; | ||
import type { OptionalArgument } from '../helpers'; | ||
import type { TokenOverridable } from './common'; | ||
export type EmojiListArguments = OptionalArgument<TokenOverridable & { | ||
@@ -4,0 +4,0 @@ /** @description Include a list of categories for Unicode emoji and the emoji in each category. */ |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import type { CursorPaginationEnabled, OptionalTeamAssignable, TokenOverridable, TraditionalPagingEnabled } from './common'; | ||
import type { Stream } from 'node:stream'; | ||
import type { ExcludeFromUnion } from '../helpers'; | ||
import type { FilesGetUploadURLExternalResponse } from '../response/index'; | ||
import type { Stream } from 'node:stream'; | ||
interface FileArgument { | ||
import type { CursorPaginationEnabled, OptionalTeamAssignable, TokenOverridable, TraditionalPagingEnabled } from './common'; | ||
export interface FileArgument { | ||
/** @description Encoded file ID. */ | ||
file: string; | ||
} | ||
interface ExternalIDArgument { | ||
export interface ExternalIDArgument { | ||
/** @description Creator defined GUID for the file. */ | ||
external_id: string; | ||
} | ||
interface ChannelsArgument { | ||
export interface ChannelsArgument { | ||
/** | ||
@@ -22,3 +22,3 @@ * @description Comma-seperated list of channel IDs where the file will be shared. If not specified the file will | ||
} | ||
interface FileType { | ||
export interface FileType { | ||
/** | ||
@@ -30,3 +30,3 @@ * @description A file type identifier. | ||
} | ||
interface FileUploadComplete { | ||
export interface FileUploadComplete { | ||
/** @description Encoded file ID. */ | ||
@@ -37,3 +37,3 @@ id: string; | ||
} | ||
interface FileChannelDestinationArgument { | ||
export interface FileChannelDestinationArgument { | ||
/** @description Channel ID where the file will be shared. If not specified the file will be private. */ | ||
@@ -43,3 +43,3 @@ channel_id?: string; | ||
} | ||
interface FileThreadDestinationArgument { | ||
export interface FileThreadDestinationArgument { | ||
/** @description Channel ID where the file will be shared as a thread reply. */ | ||
@@ -51,6 +51,6 @@ channel_id: string; | ||
type FileDestinationArgument = FileChannelDestinationArgument | FileThreadDestinationArgument; | ||
interface FileChannelDestinationArgumentChannels extends ChannelsArgument { | ||
export interface FileChannelDestinationArgumentChannels extends ChannelsArgument { | ||
thread_ts?: never; | ||
} | ||
interface FileThreadDestinationArgumentChannels extends Required<ChannelsArgument> { | ||
export interface FileThreadDestinationArgumentChannels extends Required<ChannelsArgument> { | ||
/** @description Provide another message's `ts` value to upload this file as a reply. */ | ||
@@ -137,3 +137,3 @@ thread_ts: string; | ||
}; | ||
interface FilesUploadV2ArgumentsMultipleFiles { | ||
export interface FilesUploadV2ArgumentsMultipleFiles { | ||
file_uploads: ExcludeFromUnion<FileUploadV2, 'channel_id' | 'channels' | 'initial_comment' | 'thread_ts'>[]; | ||
@@ -150,3 +150,3 @@ } | ||
} | ||
interface SharedFile { | ||
export interface SharedFile { | ||
/** @description Title of the file being shared. */ | ||
@@ -153,0 +153,0 @@ title: string; |
@@ -1,12 +0,12 @@ | ||
export type { WorkflowsStepCompletedArguments, WorkflowsStepFailedArguments, WorkflowsUpdateStepArguments } from './workflows'; | ||
export type { WorkflowsStepCompletedArguments, WorkflowsStepFailedArguments, WorkflowsUpdateStepArguments, } from './workflows'; | ||
export type { ViewsUpdateArguments, ViewsOpenArguments, ViewsPushArguments, ViewsPublishArguments } from './views'; | ||
export type { UsersConversationsArguments, UsersDiscoverableContactsLookupArguments, UsersInfoArguments, UsersListArguments, UsersIdentityArguments, UsersSetPhotoArguments, UsersProfileGetArguments, UsersProfileSetArguments, UsersDeletePhotoArguments, UsersGetPresenceArguments, UsersSetPresenceArguments, UsersLookupByEmailArguments } from './users'; | ||
export type { UsersConversationsArguments, UsersDiscoverableContactsLookupArguments, UsersInfoArguments, UsersListArguments, UsersIdentityArguments, UsersSetPhotoArguments, UsersProfileGetArguments, UsersProfileSetArguments, UsersDeletePhotoArguments, UsersGetPresenceArguments, UsersSetPresenceArguments, UsersLookupByEmailArguments, } from './users'; | ||
export type { ToolingTokensRotateArguments } from './tooling'; | ||
export type { SearchAllArguments, SearchFilesArguments, SearchMessagesArguments } from './search'; | ||
export type { UsergroupsCreateArguments, UsergroupsDisableArguments, UsergroupsEnableArguments, UsergroupsListArguments, UsergroupsUpdateArguments, UsergroupsUsersListArguments, UsergroupsUsersUpdateArguments } from './usergroups'; | ||
export type { TeamAccessLogsArguments, TeamBillableInfoArguments, TeamBillingInfoArguments, TeamExternalTeamsDisconnectArguments, TeamExternalTeamsListArguments, TeamInfoArguments, TeamIntegrationLogsArguments, TeamPreferencesListArguments, TeamProfileGetArguments } from './team'; | ||
export type { UsergroupsCreateArguments, UsergroupsDisableArguments, UsergroupsEnableArguments, UsergroupsListArguments, UsergroupsUpdateArguments, UsergroupsUsersListArguments, UsergroupsUsersUpdateArguments, } from './usergroups'; | ||
export type { TeamAccessLogsArguments, TeamBillableInfoArguments, TeamBillingInfoArguments, TeamExternalTeamsDisconnectArguments, TeamExternalTeamsListArguments, TeamInfoArguments, TeamIntegrationLogsArguments, TeamPreferencesListArguments, TeamProfileGetArguments, } from './team'; | ||
export type { StarsAddRemoveArguments, StarsListArguments } from './stars'; | ||
export type { RTMConnectArguments, RTMStartArguments } from './rtm'; | ||
export type { RemindersAddArguments, RemindersInfoArguments, RemindersListArguments, RemindersDeleteArguments, RemindersCompleteArguments } from './reminders'; | ||
export type { ReactionsAddArguments, ReactionsGetArguments, ReactionsListArguments, ReactionsRemoveArguments } from './reactions'; | ||
export type { RemindersAddArguments, RemindersInfoArguments, RemindersListArguments, RemindersDeleteArguments, RemindersCompleteArguments, } from './reminders'; | ||
export type { ReactionsAddArguments, ReactionsGetArguments, ReactionsListArguments, ReactionsRemoveArguments, } from './reactions'; | ||
export type { PinsAddArguments, PinsListArguments, PinsRemoveArguments } from './pins'; | ||
@@ -16,29 +16,29 @@ export type { OpenIDConnectTokenArguments, OpenIDConnectUserInfoArguments } from './openid'; | ||
export type { MigrationExchangeArguments } from './migration'; | ||
export type { FilesDeleteArguments, FilesInfoArguments, FilesListArguments, FilesRevokePublicURLArguments, FilesSharedPublicURLArguments, FilesUploadArguments, FilesUploadV2Arguments, FilesCompleteUploadExternalArguments, FilesGetUploadURLExternalArguments, FilesCommentsDeleteArguments, FilesRemoteUpdateArguments, FilesRemoteRemoveArguments, FilesRemoteShareArguments, FilesRemoteListArguments, FilesRemoteInfoArguments, FilesRemoteAddArguments } from './files'; | ||
export type { FilesDeleteArguments, FilesInfoArguments, FilesListArguments, FilesRevokePublicURLArguments, FilesSharedPublicURLArguments, FilesUploadArguments, FilesUploadV2Arguments, FilesCompleteUploadExternalArguments, FilesGetUploadURLExternalArguments, FilesCommentsDeleteArguments, FilesRemoteUpdateArguments, FilesRemoteRemoveArguments, FilesRemoteShareArguments, FilesRemoteListArguments, FilesRemoteInfoArguments, FilesRemoteAddArguments, } from './files'; | ||
export type { EmojiListArguments } from './emoji'; | ||
export type { DndEndDndArguments, DndEndSnoozeArguments, DndInfoArguments, DndSetSnoozeArguments, DndTeamInfoArguments } from './dnd'; | ||
export type { DndEndDndArguments, DndEndSnoozeArguments, DndInfoArguments, DndSetSnoozeArguments, DndTeamInfoArguments, } from './dnd'; | ||
export type { DialogOpenArguments } from './dialog'; | ||
export type { ConversationsAcceptSharedInviteArguments, ConversationsApproveSharedInviteArguments, ConversationsArchiveArguments, ConversationsCloseArguments, ConversationsCreateArguments, ConversationsDeclineSharedInviteArguments, ConversationsExternalInvitePermissionsSetArguments, ConversationsHistoryArguments, ConversationsInfoArguments, ConversationsInviteArguments, ConversationsInviteSharedArguments, ConversationsJoinArguments, ConversationsKickArguments, ConversationsLeaveArguments, ConversationsListArguments, ConversationsListConnectInvitesArguments, ConversationsMarkArguments, ConversationsMembersArguments, ConversationsOpenArguments, ConversationsRenameArguments, ConversationsRepliesArguments, ConversationsSetPurposeArguments, ConversationsSetTopicArguments, ConversationsUnarchiveArguments } from './conversations'; | ||
export type { ChatDeleteArguments, ChatDeleteScheduledMessageArguments, ChatGetPermalinkArguments, ChatMeMessageArguments, ChatPostEphemeralArguments, ChatPostMessageArguments, ChatScheduleMessageArguments, ChatScheduledMessagesListArguments, ChatUnfurlArguments, ChatUpdateArguments } from './chat'; | ||
export type { CanvasesAccessDeleteArguments, CanvasesAccessSetArguments, CanvasesCreateArguments, CanvasesDeleteArguments, CanvasesEditArguments, CanvasesSectionsLookupArguments, ConversationsCanvasesCreateArguments } from './canvas'; | ||
export type { CallsAddArguments, CallsEndArguments, CallsInfoArguments, CallsUpdateArguments, CallsParticipantsAddArguments, CallsParticipantsRemoveArguments } from './calls'; | ||
export type { ConversationsAcceptSharedInviteArguments, ConversationsApproveSharedInviteArguments, ConversationsArchiveArguments, ConversationsCloseArguments, ConversationsCreateArguments, ConversationsDeclineSharedInviteArguments, ConversationsExternalInvitePermissionsSetArguments, ConversationsHistoryArguments, ConversationsInfoArguments, ConversationsInviteArguments, ConversationsInviteSharedArguments, ConversationsJoinArguments, ConversationsKickArguments, ConversationsLeaveArguments, ConversationsListArguments, ConversationsListConnectInvitesArguments, ConversationsMarkArguments, ConversationsMembersArguments, ConversationsOpenArguments, ConversationsRenameArguments, ConversationsRepliesArguments, ConversationsRequestSharedInviteApproveArguments, ConversationsRequestSharedInviteDenyArguments, ConversationsSetPurposeArguments, ConversationsSetTopicArguments, ConversationsUnarchiveArguments, } from './conversations'; | ||
export type { ChatDeleteArguments, ChatDeleteScheduledMessageArguments, ChatGetPermalinkArguments, ChatMeMessageArguments, ChatPostEphemeralArguments, ChatPostMessageArguments, ChatScheduleMessageArguments, ChatScheduledMessagesListArguments, ChatUnfurlArguments, ChatUpdateArguments, } from './chat'; | ||
export type { CanvasesAccessDeleteArguments, CanvasesAccessSetArguments, CanvasesCreateArguments, CanvasesDeleteArguments, CanvasesEditArguments, CanvasesSectionsLookupArguments, ConversationsCanvasesCreateArguments, } from './canvas'; | ||
export type { CallsAddArguments, CallsEndArguments, CallsInfoArguments, CallsUpdateArguments, CallsParticipantsAddArguments, CallsParticipantsRemoveArguments, } from './calls'; | ||
export type { BotsInfoArguments } from './bots'; | ||
export type { BookmarksAddArguments, BookmarksEditArguments, BookmarksListArguments, BookmarksRemoveArguments } from './bookmarks'; | ||
export type { BookmarksAddArguments, BookmarksEditArguments, BookmarksListArguments, BookmarksRemoveArguments, } from './bookmarks'; | ||
export type { AuthRevokeArguments, AuthTestArguments, AuthTeamsListArguments } from './auth'; | ||
export type { AppsConnectionsOpenArguments, AppsEventAuthorizationsListArguments, AppsManifestCreateArguments, AppsManifestDeleteArguments, AppsManifestExportArguments, AppsManifestUpdateArguments, AppsManifestValidateArguments, AppsUninstallArguments } from './apps'; | ||
export type { AppsConnectionsOpenArguments, AppsEventAuthorizationsListArguments, AppsManifestCreateArguments, AppsManifestDeleteArguments, AppsManifestExportArguments, AppsManifestUpdateArguments, AppsManifestValidateArguments, AppsUninstallArguments, } from './apps'; | ||
export type { APITestArguments } from './api'; | ||
export type { AdminAnalyticsGetFileArguments } from './admin/analytics'; | ||
export type { AdminAppsActivitiesListArguments, AdminAppsApproveArguments, AdminAppsApprovedListArguments, AdminAppsClearResolutionArguments, AdminAppsConfigLookupArguments, AdminAppsConfigSetArguments, AdminAppsRequestsCancelArguments, AdminAppsRequestsListArguments, AdminAppsRestrictArguments, AdminAppsRestrictedListArguments, AdminAppsUninstallArguments } from './admin/apps'; | ||
export type { AdminAuthPolicyAssignEntitiesArguments, AdminAuthPolicyGetEntitiesArguments, AdminAuthPolicyRemoveEntitiesArguments } from './admin/auth'; | ||
export type { AdminBarriersCreateArguments, AdminBarriersDeleteArguments, AdminBarriersListArguments, AdminBarriersUpdateArguments } from './admin/barriers'; | ||
export type { AdminConversationsArchiveArguments, AdminConversationsBulkArchiveArguments, AdminConversationsBulkDeleteArguments, AdminConversationsBulkMoveArguments, AdminConversationsConvertToPrivateArguments, AdminConversationsConvertToPublicArguments, AdminConversationsCreateArguments, AdminConversationsDeleteArguments, AdminConversationsDisconnectSharedArguments, AdminConversationsEKMListOriginalConnectedChannelInfoArguments, AdminConversationsGetConversationPrefsArguments, AdminConversationsGetCustomRetentionArguments, AdminConversationsGetTeamsArguments, AdminConversationsInviteArguments, AdminConversationsLookupArguments, AdminConversationsRemoveCustomRetentionArguments, AdminConversationsRenameArguments, AdminConversationsRestrictAccessAddGroupArguments, AdminConversationsRestrictAccessListGroupsArguments, AdminConversationsRestrictAccessRemoveGroupArguments, AdminConversationsSearchArguments, AdminConversationsSetConversationPrefsArguments, AdminConversationsSetCustomRetentionArguments, AdminConversationsSetTeamsArguments, AdminConversationsUnarchiveArguments } from './admin/conversations'; | ||
export type { AdminEmojiAddArguments, AdminEmojiAddAliasArguments, AdminEmojiListArguments, AdminEmojiRemoveArguments, AdminEmojiRenameArguments } from './admin/emoji'; | ||
export type { AdminFunctionsListArguments, AdminFunctionsPermissionsLookupArguments, AdminFunctionsPermissionsSetArguments } from './admin/functions'; | ||
export type { AdminAppsActivitiesListArguments, AdminAppsApproveArguments, AdminAppsApprovedListArguments, AdminAppsClearResolutionArguments, AdminAppsConfigLookupArguments, AdminAppsConfigSetArguments, AdminAppsRequestsCancelArguments, AdminAppsRequestsListArguments, AdminAppsRestrictArguments, AdminAppsRestrictedListArguments, AdminAppsUninstallArguments, } from './admin/apps'; | ||
export type { AdminAuthPolicyAssignEntitiesArguments, AdminAuthPolicyGetEntitiesArguments, AdminAuthPolicyRemoveEntitiesArguments, } from './admin/auth'; | ||
export type { AdminBarriersCreateArguments, AdminBarriersDeleteArguments, AdminBarriersListArguments, AdminBarriersUpdateArguments, } from './admin/barriers'; | ||
export type { AdminConversationsArchiveArguments, AdminConversationsBulkArchiveArguments, AdminConversationsBulkDeleteArguments, AdminConversationsBulkMoveArguments, AdminConversationsConvertToPrivateArguments, AdminConversationsConvertToPublicArguments, AdminConversationsCreateArguments, AdminConversationsDeleteArguments, AdminConversationsDisconnectSharedArguments, AdminConversationsEKMListOriginalConnectedChannelInfoArguments, AdminConversationsGetConversationPrefsArguments, AdminConversationsGetCustomRetentionArguments, AdminConversationsGetTeamsArguments, AdminConversationsInviteArguments, AdminConversationsLookupArguments, AdminConversationsRemoveCustomRetentionArguments, AdminConversationsRenameArguments, AdminConversationsRestrictAccessAddGroupArguments, AdminConversationsRestrictAccessListGroupsArguments, AdminConversationsRestrictAccessRemoveGroupArguments, AdminConversationsSearchArguments, AdminConversationsSetConversationPrefsArguments, AdminConversationsSetCustomRetentionArguments, AdminConversationsSetTeamsArguments, AdminConversationsUnarchiveArguments, } from './admin/conversations'; | ||
export type { AdminEmojiAddArguments, AdminEmojiAddAliasArguments, AdminEmojiListArguments, AdminEmojiRemoveArguments, AdminEmojiRenameArguments, } from './admin/emoji'; | ||
export type { AdminFunctionsListArguments, AdminFunctionsPermissionsLookupArguments, AdminFunctionsPermissionsSetArguments, } from './admin/functions'; | ||
export type { FunctionsCompleteErrorArguments, FunctionsCompleteSuccessArguments } from './functions'; | ||
export type { AdminInviteRequestsApproveArguments, AdminInviteRequestsApprovedListArguments, AdminInviteRequestsDeniedListArguments, AdminInviteRequestsDenyArguments, AdminInviteRequestsListArguments } from './admin/inviteRequests'; | ||
export type { AdminRolesAddAssignmentsArguments, AdminRolesListAssignmentsArguments, AdminRolesRemoveAssignmentsArguments } from './admin/roles'; | ||
export type { AdminTeamsAdminsListArguments, AdminTeamsCreateArguments, AdminTeamsListArguments, AdminTeamsOwnersListArguments, AdminTeamsSettingsInfoArguments, AdminTeamsSettingsSetDefaultChannelsArguments, AdminTeamsSettingsSetDescriptionArguments, AdminTeamsSettingsSetDiscoverabilityArguments, AdminTeamsSettingsSetIconArguments, AdminTeamsSettingsSetNameArguments } from './admin/teams'; | ||
export type { AdminUsergroupsAddChannelsArguments, AdminUsergroupsAddTeamsArguments, AdminUsergroupsListChannelsArguments, AdminUsergroupsRemoveChannelsArguments } from './admin/usergroups'; | ||
export type { AdminUsersAssignArguments, AdminUsersInviteArguments, AdminUsersListArguments, AdminUsersRemoveArguments, AdminUsersSessionListArguments, AdminUsersSessionClearSettingsArguments, AdminUsersSessionGetSettingsArguments, AdminUsersSessionInvalidateArguments, AdminUsersSessionResetArguments, AdminUsersSessionResetBulkArguments, AdminUsersSessionSetSettingsArguments, AdminUsersSetAdminArguments, AdminUsersSetExpirationArguments, AdminUsersSetOwnerArguments, AdminUsersSetRegularArguments, AdminUsersUnsupportedVersionsExportArguments } from './admin/users'; | ||
export type { AdminWorkflowsCollaboratorsAddArguments, AdminWorkflowsCollaboratorsRemoveArguments, AdminWorkflowsPermissionsLookupArguments, AdminWorkflowsSearchArguments, AdminWorkflowsUnpublishArguments } from './admin/workflows'; | ||
export type { AdminInviteRequestsApproveArguments, AdminInviteRequestsApprovedListArguments, AdminInviteRequestsDeniedListArguments, AdminInviteRequestsDenyArguments, AdminInviteRequestsListArguments, } from './admin/inviteRequests'; | ||
export type { AdminRolesAddAssignmentsArguments, AdminRolesListAssignmentsArguments, AdminRolesRemoveAssignmentsArguments, } from './admin/roles'; | ||
export type { AdminTeamsAdminsListArguments, AdminTeamsCreateArguments, AdminTeamsListArguments, AdminTeamsOwnersListArguments, AdminTeamsSettingsInfoArguments, AdminTeamsSettingsSetDefaultChannelsArguments, AdminTeamsSettingsSetDescriptionArguments, AdminTeamsSettingsSetDiscoverabilityArguments, AdminTeamsSettingsSetIconArguments, AdminTeamsSettingsSetNameArguments, } from './admin/teams'; | ||
export type { AdminUsergroupsAddChannelsArguments, AdminUsergroupsAddTeamsArguments, AdminUsergroupsListChannelsArguments, AdminUsergroupsRemoveChannelsArguments, } from './admin/usergroups'; | ||
export type { AdminUsersAssignArguments, AdminUsersInviteArguments, AdminUsersListArguments, AdminUsersRemoveArguments, AdminUsersSessionListArguments, AdminUsersSessionClearSettingsArguments, AdminUsersSessionGetSettingsArguments, AdminUsersSessionInvalidateArguments, AdminUsersSessionResetArguments, AdminUsersSessionResetBulkArguments, AdminUsersSessionSetSettingsArguments, AdminUsersSetAdminArguments, AdminUsersSetExpirationArguments, AdminUsersSetOwnerArguments, AdminUsersSetRegularArguments, AdminUsersUnsupportedVersionsExportArguments, } from './admin/users'; | ||
export type { AdminWorkflowsCollaboratorsAddArguments, AdminWorkflowsCollaboratorsRemoveArguments, AdminWorkflowsPermissionsLookupArguments, AdminWorkflowsSearchArguments, AdminWorkflowsUnpublishArguments, } from './admin/workflows'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { OptionalArgument } from '../helpers'; | ||
import type { OptionalArgument } from '../helpers'; | ||
import type { OAuthCredentials, OAuthGrantRefresh } from './common'; | ||
@@ -3,0 +3,0 @@ export interface OpenIDConnectTokenArguments extends OAuthCredentials, OAuthGrantRefresh { |
@@ -1,2 +0,2 @@ | ||
import { MessageArgument, TokenOverridable } from './common'; | ||
import type { MessageArgument, TokenOverridable } from './common'; | ||
export interface PinsAddArguments extends MessageArgument, TokenOverridable { | ||
@@ -3,0 +3,0 @@ } |
@@ -1,8 +0,8 @@ | ||
import { CursorPaginationEnabled, FileArgument, FileCommentArgument, MessageArgument, OptionalTeamAssignable, TokenOverridable, TraditionalPagingEnabled } from './common'; | ||
import { OptionalArgument } from '../helpers'; | ||
interface ReactionsFull { | ||
import type { OptionalArgument } from '../helpers'; | ||
import type { CursorPaginationEnabled, FileArgument, FileCommentArgument, MessageArgument, OptionalTeamAssignable, TokenOverridable, TraditionalPagingEnabled } from './common'; | ||
export interface ReactionsFull { | ||
/** @description If `true`, return the complete reaction list. */ | ||
full?: boolean; | ||
} | ||
interface ReactionName { | ||
export interface ReactionName { | ||
/** @description Reaction (emoji) name. */ | ||
@@ -19,3 +19,2 @@ name: string; | ||
export type ReactionsRemoveArguments = TokenOverridable & ReactionName & (MessageArgument | FileArgument | FileCommentArgument); | ||
export {}; | ||
//# sourceMappingURL=reactions.d.ts.map |
@@ -1,3 +0,3 @@ | ||
import { OptionalTeamAssignable, TokenOverridable } from './common'; | ||
import { OptionalArgument } from '../helpers'; | ||
import type { OptionalArgument } from '../helpers'; | ||
import type { OptionalTeamAssignable, TokenOverridable } from './common'; | ||
interface ReminderRecurrenceDailyMonthlyYearly { | ||
@@ -4,0 +4,0 @@ /** @description Specifies the repeating behavior of a reminder. */ |
@@ -1,3 +0,3 @@ | ||
import { LocaleAware, TokenOverridable } from './common'; | ||
import { OptionalArgument } from '../helpers'; | ||
import type { OptionalArgument } from '../helpers'; | ||
import type { LocaleAware, TokenOverridable } from './common'; | ||
export type RTMConnectArguments = OptionalArgument<TokenOverridable & { | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { OptionalTeamAssignable, SortDir, TokenOverridable, TraditionalPagingEnabled } from './common'; | ||
import type { OptionalTeamAssignable, SortDir, TokenOverridable, TraditionalPagingEnabled } from './common'; | ||
interface Searchable extends OptionalTeamAssignable, SortDir { | ||
@@ -3,0 +3,0 @@ /** @description Search query. */ |
@@ -1,4 +0,4 @@ | ||
import { CursorPaginationEnabled, FileArgument, FileCommentArgument, MessageArgument, OptionalTeamAssignable, TokenOverridable, TraditionalPagingEnabled } from './common'; | ||
import type { CursorPaginationEnabled, FileArgument, FileCommentArgument, MessageArgument, OptionalTeamAssignable, TokenOverridable, TraditionalPagingEnabled } from './common'; | ||
/** @description When starring something, it can be starred _to_ a channel. */ | ||
interface StarsChannelDestination { | ||
export interface StarsChannelDestination { | ||
/** @description Encoded channel ID the star belongs to. */ | ||
@@ -10,3 +10,2 @@ channel: string; | ||
} | ||
export {}; | ||
//# sourceMappingURL=stars.d.ts.map |
@@ -1,3 +0,3 @@ | ||
import { AppID, CursorPaginationEnabled, OptionalTeamAssignable, SortDir, TargetTeam, TokenOverridable, TraditionalPagingEnabled } from './common'; | ||
import { OptionalArgument } from '../helpers'; | ||
import type { OptionalArgument } from '../helpers'; | ||
import type { AppID, CursorPaginationEnabled, OptionalTeamAssignable, SortDir, TargetTeam, TokenOverridable, TraditionalPagingEnabled } from './common'; | ||
export type TeamAccessLogsArguments = OptionalArgument<TokenOverridable & CursorPaginationEnabled & TraditionalPagingEnabled & OptionalTeamAssignable & { | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import { OptionalTeamAssignable, TokenOverridable } from './common'; | ||
import { OptionalArgument } from '../helpers'; | ||
interface UsergroupsIncludeCount { | ||
import type { OptionalArgument } from '../helpers'; | ||
import type { OptionalTeamAssignable, TokenOverridable } from './common'; | ||
export interface UsergroupsIncludeCount { | ||
/** @description Include the number of users in each User Group. */ | ||
@@ -50,3 +50,2 @@ include_count?: boolean; | ||
} | ||
export {}; | ||
//# sourceMappingURL=usergroups.d.ts.map |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { Stream } from 'node:stream'; | ||
import { CursorPaginationEnabled, LocaleAware, OptionalTeamAssignable, TokenOverridable } from './common'; | ||
import type { Stream } from 'node:stream'; | ||
import type { CursorPaginationEnabled, LocaleAware, OptionalTeamAssignable, TokenOverridable } from './common'; | ||
interface Email { | ||
@@ -6,0 +6,0 @@ /** @description An email address belonging to a user in the workspace */ |
@@ -1,8 +0,8 @@ | ||
import { View } from '@slack/types'; | ||
import { TokenOverridable } from './common'; | ||
interface BaseViewsArguments { | ||
import type { View } from '@slack/types'; | ||
import type { TokenOverridable } from './common'; | ||
export interface BaseViewsArguments { | ||
/** @description A {@link https://api.slack.com/reference/surfaces/views view payload}. */ | ||
view: View; | ||
} | ||
interface ViewTriggerId { | ||
export interface ViewTriggerId { | ||
/** | ||
@@ -14,3 +14,3 @@ * @description An access token originating from a user interaction in the Slack client. | ||
} | ||
interface ViewInteractivityPointer { | ||
export interface ViewInteractivityPointer { | ||
/** | ||
@@ -24,3 +24,3 @@ * @description An access token originating from a user interaction in the Slack client. | ||
export type ViewsPushArguments = BaseViewsArguments & TokenOverridable & (ViewTriggerId | ViewInteractivityPointer); | ||
interface ViewHash { | ||
export interface ViewHash { | ||
/** | ||
@@ -36,3 +36,3 @@ * @description A string that represents view state to protect against possible race conditions. | ||
} | ||
interface ViewExternalId { | ||
export interface ViewExternalId { | ||
/** | ||
@@ -44,3 +44,3 @@ * @description A unique identifier of the view set by the developer. Must be unique for all views on a team. | ||
} | ||
interface ViewViewId { | ||
export interface ViewViewId { | ||
/** | ||
@@ -52,3 +52,2 @@ * @description A unique identifier of the view to be updated. Either `view_id` or `external_id` is required. | ||
export type ViewsUpdateArguments = BaseViewsArguments & TokenOverridable & (ViewExternalId | ViewViewId) & ViewHash; | ||
export {}; | ||
//# sourceMappingURL=views.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { TokenOverridable } from './common'; | ||
import type { TokenOverridable } from './common'; | ||
export interface WorkflowsStepCompletedArguments extends TokenOverridable { | ||
@@ -3,0 +3,0 @@ workflow_step_execute_id: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminAnalyticsGetFileResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ file_data?: (AdminAnalyticsMemberDetails | AdminAnalyticsPublicChannelDetails | AdminAnalyticsPublicChannelMetadataDetails)[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminAppsActivitiesListResponse = WebAPICallResult & { | ||
@@ -50,4 +50,3 @@ activities?: Activity[]; | ||
} | ||
export interface Inputs { | ||
} | ||
export type Inputs = {}; | ||
export interface Trigger { | ||
@@ -54,0 +53,0 @@ config?: Config; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminAppsApprovedListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ approved_apps?: ApprovedApp[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminAppsApproveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminAppsClearResolutionResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminAppsConfigLookupResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ configs?: Config[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminAppsConfigSetResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminAppsRequestsCancelResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminAppsRequestsListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ app_requests?: AppRequest[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminAppsRestrictedListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminAppsRestrictResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminAppsUninstallResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminAuthPolicyAssignEntitiesResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ entity_total_count?: number; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminAuthPolicyGetEntitiesResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ entities?: Entity[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminAuthPolicyRemoveEntitiesResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ entity_total_count?: number; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminBarriersCreateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ barrier?: Barrier; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminBarriersDeleteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminBarriersListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ barriers?: Barrier[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminBarriersUpdateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ barrier?: Barrier; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsArchiveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsBulkArchiveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ bulk_action_id?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsBulkDeleteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ bulk_action_id?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsBulkMoveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ bulk_action_id?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsConvertToPrivateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsConvertToPublicResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsCreateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel_id?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsDeleteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsDisconnectSharedResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsEkmListOriginalConnectedChannelInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsGetConversationPrefsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsGetCustomRetentionResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ duration_days?: number; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsGetTeamsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsInviteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsLookupResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel_ids?: string[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsRemoveCustomRetentionResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsRenameResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsRestrictAccessAddGroupResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsRestrictAccessListGroupsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsRestrictAccessRemoveGroupResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsSearchResponse = WebAPICallResult & { | ||
@@ -13,3 +13,3 @@ conversations?: Conversation[]; | ||
export interface Conversation { | ||
canvas?: Canvas; | ||
canvas?: ListsClass; | ||
channel_email_addresses?: ChannelEmailAddress[]; | ||
@@ -40,9 +40,10 @@ channel_manager_count?: number; | ||
last_activity_ts?: number; | ||
lists?: Canvas; | ||
lists?: ListsClass; | ||
member_count?: number; | ||
name?: string; | ||
pending_connected_team_ids?: string[]; | ||
properties?: Properties; | ||
purpose?: string; | ||
} | ||
export interface Canvas { | ||
export interface ListsClass { | ||
ownership_details?: OwnershipDetail[]; | ||
@@ -69,2 +70,28 @@ total_count?: number; | ||
} | ||
export interface Properties { | ||
at_channel_restricted?: boolean; | ||
at_here_restricted?: boolean; | ||
canvas?: PropertiesCanvas; | ||
huddles_restricted?: boolean; | ||
posting_restricted_to?: PostingRestrictedTo; | ||
tabs?: Tab[]; | ||
threads_restricted_to?: ThreadsRestrictedTo; | ||
} | ||
export interface PropertiesCanvas { | ||
file_id?: string; | ||
is_empty?: boolean; | ||
quip_thread_id?: string; | ||
} | ||
export interface PostingRestrictedTo { | ||
type?: string[]; | ||
user?: string[]; | ||
} | ||
export interface Tab { | ||
id?: string; | ||
label?: string; | ||
type?: string; | ||
} | ||
export interface ThreadsRestrictedTo { | ||
type?: string[]; | ||
} | ||
export interface ResponseMetadata { | ||
@@ -71,0 +98,0 @@ messages?: string[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsSetConversationPrefsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsSetCustomRetentionResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsSetTeamsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsUnarchiveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsWhitelistAddResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsWhitelistListGroupsLinkedToChannelResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminConversationsWhitelistRemoveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminEmojiAddAliasResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminEmojiAddResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminEmojiListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ emoji?: { |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminEmojiRemoveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminEmojiRenameResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminFunctionsListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminFunctionsPermissionsLookupResponse = WebAPICallResult & { | ||
@@ -13,4 +13,3 @@ error?: string; | ||
}; | ||
export interface Errors { | ||
} | ||
export type Errors = {}; | ||
export interface Permission { | ||
@@ -17,0 +16,0 @@ allowed_by_admin?: AllowedByAdmin; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminFunctionsPermissionsSetResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminInviteRequestsApprovedListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ approved_requests?: ApprovedRequest[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminInviteRequestsApproveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminInviteRequestsDeniedListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ denied_requests?: DeniedRequest[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminInviteRequestsDenyResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminInviteRequestsListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminRolesAddAssignmentsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminRolesListAssignmentsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminRolesRemoveAssignmentsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminTeamsAdminsListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ admin_ids?: string[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminTeamsCreateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminTeamsListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminTeamsOwnersListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminTeamsSettingsInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminTeamsSettingsSetDefaultChannelsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminTeamsSettingsSetDescriptionResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminTeamsSettingsSetDiscoverabilityResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminTeamsSettingsSetIconResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminTeamsSettingsSetNameResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsergroupsAddChannelsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsergroupsAddTeamsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsergroupsListChannelsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channels?: Channel[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsergroupsRemoveChannelsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersAssignResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersInviteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersRemoveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersSessionClearSettingsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersSessionGetSettingsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersSessionInvalidateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersSessionListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ active_sessions?: ActiveSession[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersSessionResetBulkResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersSessionResetResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersSessionSetSettingsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersSetAdminResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersSetExpirationResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersSetOwnerResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersSetRegularResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminUsersUnsupportedVersionsExportResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminWorkflowsCollaboratorsAddResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminWorkflowsCollaboratorsRemoveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminWorkflowsPermissionsLookupResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminWorkflowsSearchResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AdminWorkflowsUnpublishResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ApiTestResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ args?: Args; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AppsConnectionsOpenResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AppsEventAuthorizationsListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ authorizations?: Authorization[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AppsManifestCreateResponse = WebAPICallResult & { | ||
@@ -23,2 +23,3 @@ app_id?: string; | ||
pointer?: string; | ||
related_component?: string; | ||
} | ||
@@ -25,0 +26,0 @@ export interface ResponseMetadata { |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AppsManifestDeleteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AppsManifestExportResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AppsManifestUpdateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ app_id?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AppsManifestValidateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AppsPermissionsInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AppsPermissionsRequestResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AppsPermissionsResourcesListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AppsPermissionsScopesListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AppsPermissionsUsersListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AppsPermissionsUsersRequestResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AppsUninstallResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AuthRevokeResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AuthTeamsListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type AuthTestResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ app_id?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type BookmarksAddResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ bookmark?: Bookmark; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type BookmarksEditResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ bookmark?: Bookmark; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type BookmarksListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ bookmarks?: Bookmark[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type BookmarksRemoveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type BotsInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ bot?: Bot; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type CallsAddResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ call?: Call; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type CallsEndResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ call?: Call; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type CallsInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ call?: Call; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type CallsParticipantsAddResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ call?: Call; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type CallsParticipantsRemoveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ call?: Call; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type CallsUpdateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ call?: Call; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type CanvasesAccessDeleteResponse = WebAPICallResult & { | ||
@@ -11,4 +11,3 @@ error?: string; | ||
}; | ||
export interface ResponseMetadata { | ||
} | ||
export type ResponseMetadata = {}; | ||
//# sourceMappingURL=CanvasesAccessDeleteResponse.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type CanvasesAccessSetResponse = WebAPICallResult & { | ||
@@ -11,4 +11,3 @@ error?: string; | ||
}; | ||
export interface ResponseMetadata { | ||
} | ||
export type ResponseMetadata = {}; | ||
//# sourceMappingURL=CanvasesAccessSetResponse.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type CanvasesCreateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ canvas_id?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type CanvasesDeleteResponse = WebAPICallResult & { | ||
@@ -9,4 +9,3 @@ error?: string; | ||
}; | ||
export interface ResponseMetadata { | ||
} | ||
export type ResponseMetadata = {}; | ||
//# sourceMappingURL=CanvasesDeleteResponse.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type CanvasesEditResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ detail?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type CanvasesSectionsLookupResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChannelsArchiveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChannelsCreateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: Channel; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChannelsHistoryResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel_actions_count?: number; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChannelsInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: Channel; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChannelsInviteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: Channel; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChannelsJoinResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: Channel; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChannelsKickResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChannelsLeaveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChannelsListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channels?: Channel[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChannelsMarkResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChannelsRenameResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: Channel; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChannelsRepliesResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChannelsSetPurposeResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChannelsSetTopicResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChannelsUnarchiveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChatDeleteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChatDeleteScheduledMessageResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChatGetPermalinkResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChatMeMessageResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChatPostEphemeralResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChatPostMessageResponse = WebAPICallResult & { | ||
@@ -240,2 +240,4 @@ channel?: string; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -250,2 +252,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -258,5 +261,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -334,2 +340,3 @@ export declare enum PurpleType { | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -685,4 +692,3 @@ cc?: Cc[]; | ||
} | ||
export interface EventPayload { | ||
} | ||
export type EventPayload = {}; | ||
export interface PurpleListRecord { | ||
@@ -829,2 +835,3 @@ record?: Record; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -831,0 +838,0 @@ cc?: any[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChatScheduledMessagesListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChatScheduleMessageResponse = WebAPICallResult & { | ||
@@ -145,2 +145,4 @@ channel?: string; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -155,2 +157,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -163,5 +166,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -267,2 +273,3 @@ export declare enum PurpleType { | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -634,4 +641,3 @@ cc?: Cc[]; | ||
} | ||
export interface EventPayload { | ||
} | ||
export type EventPayload = {}; | ||
export interface Room { | ||
@@ -638,0 +644,0 @@ app_id?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChatUnfurlResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ChatUpdateResponse = WebAPICallResult & { | ||
@@ -150,2 +150,4 @@ channel?: string; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -160,2 +162,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -168,5 +171,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -272,2 +278,3 @@ export declare enum PurpleType { | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -653,4 +660,3 @@ cc?: Cc[]; | ||
} | ||
export interface EventPayload { | ||
} | ||
export type EventPayload = {}; | ||
export interface Room { | ||
@@ -657,0 +663,0 @@ app_id?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsAcceptSharedInviteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ can_open_scdm?: boolean; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsApproveSharedInviteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsArchiveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsCanvasesCreateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ canvas_id?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsCloseResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ already_closed?: boolean; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsCreateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: Channel; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsDeclineSharedInviteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsExternalInvitePermissionsSetResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsHistoryResponse = WebAPICallResult & { | ||
@@ -256,2 +256,4 @@ channel_actions_count?: number; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -266,2 +268,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -274,5 +277,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -350,2 +356,3 @@ export declare enum PurpleType { | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -701,4 +708,3 @@ cc?: Cc[]; | ||
} | ||
export interface EventPayload { | ||
} | ||
export type EventPayload = {}; | ||
export interface PurpleListRecord { | ||
@@ -845,2 +851,3 @@ record?: Record; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -847,0 +854,0 @@ cc?: any[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: Channel; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsInviteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: Channel; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsInviteSharedResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ conf_code?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsJoinResponse = WebAPICallResult & { | ||
@@ -47,2 +47,3 @@ channel?: Channel; | ||
canvas?: Canvas; | ||
tabs?: Tab[]; | ||
} | ||
@@ -54,2 +55,7 @@ export interface Canvas { | ||
} | ||
export interface Tab { | ||
id?: string; | ||
label?: string; | ||
type?: string; | ||
} | ||
export interface Purpose { | ||
@@ -56,0 +62,0 @@ creator?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsKickResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsLeaveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsListConnectInvitesResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ arg?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsListResponse = WebAPICallResult & { | ||
@@ -52,2 +52,3 @@ channels?: Channel[]; | ||
posting_restricted_to?: RestrictedTo; | ||
tabs?: Tab[]; | ||
threads_restricted_to?: RestrictedTo; | ||
@@ -64,2 +65,7 @@ } | ||
} | ||
export interface Tab { | ||
id?: string; | ||
label?: string; | ||
type?: string; | ||
} | ||
export interface Purpose { | ||
@@ -66,0 +72,0 @@ creator?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsMarkResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsMembersResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsOpenResponse = WebAPICallResult & { | ||
@@ -160,2 +160,4 @@ already_open?: boolean; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -170,2 +172,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -178,5 +181,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -282,2 +288,3 @@ export declare enum PurpleType { | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -284,0 +291,0 @@ cc?: Cc[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsRenameResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: Channel; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsRepliesResponse = WebAPICallResult & { | ||
@@ -245,2 +245,4 @@ error?: string; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -255,2 +257,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -263,5 +266,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -339,2 +345,3 @@ export declare enum PurpleType { | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -690,4 +697,3 @@ cc?: Cc[]; | ||
} | ||
export interface EventPayload { | ||
} | ||
export type EventPayload = {}; | ||
export interface PurpleListRecord { | ||
@@ -834,2 +840,3 @@ record?: Record; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -836,0 +843,0 @@ cc?: any[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsSetPurposeResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: Channel; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsSetTopicResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: Channel; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsUnarchiveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type DialogOpenResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type DndEndDndResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type DndEndSnoozeResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ dnd_enabled?: boolean; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type DndInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ dnd_enabled?: boolean; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type DndSetSnoozeResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type DndTeamInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type EmojiListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ cache_ts?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesCommentsAddResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesCommentsDeleteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesCommentsEditResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ comment?: Comment; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesCompleteUploadExternalResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesDeleteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesGetUploadURLExternalResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesInfoResponse = WebAPICallResult & { | ||
@@ -31,2 +31,3 @@ comments?: Comment[]; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -437,2 +438,4 @@ cc?: Cc[]; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -447,2 +450,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -455,5 +459,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -460,0 +467,0 @@ export declare enum ElementType { |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesListResponse = WebAPICallResult & { | ||
@@ -16,2 +16,3 @@ error?: string; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -431,2 +432,4 @@ cc?: Cc[]; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -441,2 +444,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -449,5 +453,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -454,0 +461,0 @@ export declare enum ElementType { |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesRemoteAddResponse = WebAPICallResult & { | ||
@@ -15,2 +15,3 @@ error?: string; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -430,2 +431,4 @@ cc?: Cc[]; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -440,2 +443,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -448,5 +452,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -453,0 +460,0 @@ export declare enum ElementType { |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesRemoteInfoResponse = WebAPICallResult & { | ||
@@ -15,2 +15,3 @@ error?: string; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -430,2 +431,4 @@ cc?: Cc[]; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -440,2 +443,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -448,5 +452,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -453,0 +460,0 @@ export declare enum ElementType { |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesRemoteListResponse = WebAPICallResult & { | ||
@@ -16,2 +16,3 @@ error?: string; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -431,2 +432,4 @@ cc?: Cc[]; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -441,2 +444,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -449,5 +453,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -454,0 +461,0 @@ export declare enum ElementType { |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesRemoteRemoveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesRemoteShareResponse = WebAPICallResult & { | ||
@@ -15,2 +15,3 @@ error?: string; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -430,2 +431,4 @@ cc?: Cc[]; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -440,2 +443,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -448,5 +452,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -453,0 +460,0 @@ export declare enum ElementType { |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesRemoteUpdateResponse = WebAPICallResult & { | ||
@@ -15,2 +15,3 @@ error?: string; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -430,2 +431,4 @@ cc?: Cc[]; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -440,2 +443,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -448,5 +452,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -453,0 +460,0 @@ export declare enum ElementType { |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesRevokePublicURLResponse = WebAPICallResult & { | ||
@@ -15,2 +15,3 @@ error?: string; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -430,2 +431,4 @@ cc?: Cc[]; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -440,2 +443,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -448,5 +452,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -453,0 +460,0 @@ export declare enum ElementType { |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesSharedPublicURLResponse = WebAPICallResult & { | ||
@@ -15,2 +15,3 @@ error?: string; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -430,2 +431,4 @@ cc?: Cc[]; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -440,2 +443,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -448,5 +452,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -453,0 +460,0 @@ export declare enum ElementType { |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FilesUploadResponse = WebAPICallResult & { | ||
@@ -15,2 +15,3 @@ error?: string; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -430,2 +431,4 @@ cc?: Cc[]; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -440,2 +443,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -448,5 +452,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -453,0 +460,0 @@ export declare enum ElementType { |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FunctionsCompleteErrorResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type FunctionsCompleteSuccessResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsArchiveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsCloseResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsCreateChildResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsCreateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsHistoryResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel_actions_count?: number; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsInviteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsKickResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsLeaveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsMarkResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsOpenResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ already_open?: boolean; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsRenameResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel?: Channel; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsRepliesResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsSetPurposeResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsSetTopicResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type GroupsUnarchiveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ImCloseResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ImHistoryResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel_actions_count?: number; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ImListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ImMarkResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ImOpenResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ already_open?: boolean; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ImRepliesResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
export { AdminAnalyticsGetFileResponse, AdminAnalyticsMemberDetails, AdminAnalyticsPublicChannelDetails, AdminAnalyticsPublicChannelMetadataDetails } from './AdminAnalyticsGetFileResponse'; | ||
export { AdminAnalyticsGetFileResponse, AdminAnalyticsMemberDetails, AdminAnalyticsPublicChannelDetails, AdminAnalyticsPublicChannelMetadataDetails, } from './AdminAnalyticsGetFileResponse'; | ||
export { AdminAppsActivitiesListResponse } from './AdminAppsActivitiesListResponse'; | ||
@@ -181,2 +181,4 @@ export { AdminAppsApproveResponse } from './AdminAppsApproveResponse'; | ||
export { ConversationsRepliesResponse } from './ConversationsRepliesResponse'; | ||
export { ConversationsRequestSharedInviteApproveResponse } from './ConversationsRequestSharedInviteApproveResponse'; | ||
export { ConversationsRequestSharedInviteDenyResponse } from './ConversationsRequestSharedInviteDenyResponse'; | ||
export { ConversationsSetPurposeResponse } from './ConversationsSetPurposeResponse'; | ||
@@ -183,0 +185,0 @@ export { ConversationsSetTopicResponse } from './ConversationsSetTopicResponse'; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type MigrationExchangeResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ enterprise_id?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type MpimCloseResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type MpimHistoryResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ channel_actions_count?: number; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type MpimListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type MpimMarkResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type MpimOpenResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type MpimRepliesResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type OauthAccessResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ access_token?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type OauthTokenResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type OauthV2AccessResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ access_token?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type OauthV2ExchangeResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ access_token?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type OpenIDConnectTokenResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ access_token?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type OpenIDConnectUserInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ date_email_verified?: number; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type PinsAddResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type PinsListResponse = WebAPICallResult & { | ||
@@ -22,2 +22,3 @@ error?: string; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -437,2 +438,4 @@ cc?: Cc[]; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -447,2 +450,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -455,5 +459,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -460,0 +467,0 @@ export declare enum ElementType { |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type PinsRemoveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ReactionsAddResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ReactionsGetResponse = WebAPICallResult & { | ||
@@ -145,2 +145,4 @@ channel?: string; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -155,2 +157,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -163,5 +166,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -267,2 +273,3 @@ export declare enum PurpleType { | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -665,4 +672,3 @@ cc?: Cc[]; | ||
} | ||
export interface Knocks { | ||
} | ||
export type Knocks = {}; | ||
//# sourceMappingURL=ReactionsGetResponse.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ReactionsListResponse = WebAPICallResult & { | ||
@@ -256,2 +256,4 @@ error?: string; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -266,2 +268,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -274,5 +277,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -350,2 +356,3 @@ export declare enum PurpleType { | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -701,4 +708,3 @@ cc?: Cc[]; | ||
} | ||
export interface Knocks { | ||
} | ||
export type Knocks = {}; | ||
export interface PurpleListRecord { | ||
@@ -845,2 +851,3 @@ record?: Record; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -847,0 +854,0 @@ cc?: any[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ReactionsRemoveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type RemindersAddResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type RemindersCompleteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type RemindersDeleteResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type RemindersInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type RemindersListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type RtmConnectResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type SearchAllResponse = WebAPICallResult & { | ||
@@ -356,2 +356,4 @@ error?: string; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -366,2 +368,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -374,5 +377,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -444,2 +450,3 @@ export declare enum PurpleType { | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -807,4 +814,3 @@ cc?: Cc[]; | ||
} | ||
export interface ListShares { | ||
} | ||
export type ListShares = {}; | ||
export interface PurpleListRecord { | ||
@@ -951,2 +957,3 @@ record?: Record; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -953,0 +960,0 @@ cc?: any[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type SearchFilesResponse = WebAPICallResult & { | ||
@@ -329,2 +329,4 @@ error?: string; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -339,2 +341,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -347,5 +350,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -423,2 +429,3 @@ export declare enum PurpleType { | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -786,4 +793,3 @@ cc?: Cc[]; | ||
} | ||
export interface ListShares { | ||
} | ||
export type ListShares = {}; | ||
export interface PurpleListRecord { | ||
@@ -930,2 +936,3 @@ record?: Record; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -932,0 +939,0 @@ cc?: any[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type SearchMessagesResponse = WebAPICallResult & { | ||
@@ -266,2 +266,4 @@ error?: string; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -276,2 +278,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -284,5 +287,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -354,2 +360,3 @@ export declare enum PurpleType { | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -705,4 +712,3 @@ cc?: Cc[]; | ||
} | ||
export interface ListShares { | ||
} | ||
export type ListShares = {}; | ||
export interface PurpleListRecord { | ||
@@ -849,2 +855,3 @@ record?: Record; | ||
bot_id?: string; | ||
can_toggle_canvas_lock?: boolean; | ||
canvas_template_mode?: string; | ||
@@ -851,0 +858,0 @@ cc?: any[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type StarsAddResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type StarsListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type StarsRemoveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type TeamAccessLogsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type TeamBillableInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ billable_info?: { |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type TeamBillingInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type TeamExternalTeamsDisconnectResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type TeamExternalTeamsListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type TeamInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type TeamIntegrationLogsResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type TeamPreferencesListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ allow_message_deletion?: boolean; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type TeamProfileGetResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ToolingTokensRotateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsergroupsCreateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsergroupsDisableResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsergroupsEnableResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsergroupsListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsergroupsUpdateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsergroupsUsersListResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsergroupsUsersUpdateResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsersConversationsResponse = WebAPICallResult & { | ||
@@ -55,2 +55,3 @@ channels?: Channel[]; | ||
posting_restricted_to?: PostingRestrictedTo; | ||
tabs?: Tab[]; | ||
threads_restricted_to?: ThreadsRestrictedTo; | ||
@@ -67,2 +68,7 @@ } | ||
} | ||
export interface Tab { | ||
id?: string; | ||
label?: string; | ||
type?: string; | ||
} | ||
export interface ThreadsRestrictedTo { | ||
@@ -69,0 +75,0 @@ type?: string[]; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsersDeletePhotoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsersDiscoverableContactsLookupResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsersGetPresenceResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ auto_away?: boolean; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsersIdentityResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsersInfoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsersListResponse = WebAPICallResult & { | ||
@@ -88,4 +88,3 @@ arg?: string; | ||
} | ||
export interface Fields { | ||
} | ||
export type Fields = {}; | ||
export interface StatusEmojiDisplayInfo { | ||
@@ -92,0 +91,0 @@ display_alias?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsersLookupByEmailResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsersProfileGetResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsersProfileSetResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsersSetActiveResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsersSetPhotoResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type UsersSetPresenceResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ViewsOpenResponse = WebAPICallResult & { | ||
@@ -172,2 +172,4 @@ error?: string; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -182,2 +184,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -190,5 +193,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -261,4 +267,3 @@ export declare enum ElementType { | ||
} | ||
export interface State { | ||
} | ||
export type State = {}; | ||
//# sourceMappingURL=ViewsOpenResponse.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ViewsPublishResponse = WebAPICallResult & { | ||
@@ -172,2 +172,4 @@ error?: string; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -182,2 +184,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -190,5 +193,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -261,4 +267,3 @@ export declare enum ElementType { | ||
} | ||
export interface State { | ||
} | ||
export type State = {}; | ||
//# sourceMappingURL=ViewsPublishResponse.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ViewsPushResponse = WebAPICallResult & { | ||
@@ -172,2 +172,4 @@ error?: string; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -182,2 +184,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -190,5 +193,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -261,4 +267,3 @@ export declare enum ElementType { | ||
} | ||
export interface State { | ||
} | ||
export type State = {}; | ||
//# sourceMappingURL=ViewsPushResponse.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ViewsUpdateResponse = WebAPICallResult & { | ||
@@ -172,2 +172,4 @@ error?: string; | ||
channel_id?: string; | ||
fallback?: string; | ||
format?: string; | ||
name?: string; | ||
@@ -182,2 +184,3 @@ range?: string; | ||
unicode?: string; | ||
unsafe?: boolean; | ||
url?: string; | ||
@@ -190,5 +193,8 @@ user_id?: string; | ||
bold?: boolean; | ||
client_highlight?: boolean; | ||
code?: boolean; | ||
highlight?: boolean; | ||
italic?: boolean; | ||
strike?: boolean; | ||
unlink?: boolean; | ||
} | ||
@@ -261,4 +267,3 @@ export declare enum ElementType { | ||
} | ||
export interface State { | ||
} | ||
export type State = {}; | ||
//# sourceMappingURL=ViewsUpdateResponse.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type WorkflowsStepCompletedResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type WorkflowsStepFailedResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
@@ -1,2 +0,2 @@ | ||
import { WebAPICallResult } from '../../WebClient'; | ||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type WorkflowsUpdateStepResponse = WebAPICallResult & { | ||
@@ -3,0 +3,0 @@ error?: string; |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { Agent } from 'http'; | ||
import { SecureContextOptions } from 'tls'; | ||
import { LogLevel, Logger } from './logger'; | ||
import type { Agent } from 'node:http'; | ||
import type { SecureContextOptions } from 'node:tls'; | ||
import { LogLevel, type Logger } from './logger'; | ||
import { Methods } from './methods'; | ||
import { RetryOptions } from './retry-policies'; | ||
import { type RetryOptions } from './retry-policies'; | ||
import type { FilesUploadV2Arguments } from './types/request/files'; | ||
@@ -23,7 +23,7 @@ import type { FilesCompleteUploadExternalResponse } from './types/response'; | ||
/** | ||
* Indicates whether to attach the original error to a Web API request error. | ||
* When set to true, the original error object will be attached to the Web API request error. | ||
* @type {boolean} | ||
* @default true | ||
*/ | ||
* Indicates whether to attach the original error to a Web API request error. | ||
* When set to true, the original error object will be attached to the Web API request error. | ||
* @type {boolean} | ||
* @default true | ||
*/ | ||
attachOriginalToWebAPIRequestError?: boolean; | ||
@@ -47,9 +47,5 @@ } | ||
} | ||
export interface PaginatePredicate { | ||
(page: WebAPICallResult): boolean | undefined | void; | ||
} | ||
export interface PageReducer<A = any> { | ||
(accumulator: A | undefined, page: WebAPICallResult, index: number): A; | ||
} | ||
export type PageAccumulator<R extends PageReducer> = R extends (accumulator: (infer A) | undefined, page: WebAPICallResult, index: number) => infer A ? A : never; | ||
export type PaginatePredicate = (page: WebAPICallResult) => boolean | undefined | undefined; | ||
export type PageReducer<A = any> = (accumulator: A | undefined, page: WebAPICallResult, index: number) => A; | ||
export type PageAccumulator<R extends PageReducer> = R extends (accumulator: infer A | undefined, page: WebAPICallResult, index: number) => infer A ? A : never; | ||
/** | ||
@@ -56,0 +52,0 @@ * A client for Slack's Web API |
@@ -59,6 +59,6 @@ "use strict"; | ||
exports.buildThreadTsWarningMessage = exports.WebClient = exports.WebClientEvent = void 0; | ||
const path_1 = require("path"); | ||
const querystring_1 = require("querystring"); | ||
const util_1 = require("util"); | ||
const zlib_1 = __importDefault(require("zlib")); | ||
const node_path_1 = require("node:path"); | ||
const node_querystring_1 = require("node:querystring"); | ||
const node_util_1 = require("node:util"); | ||
const node_zlib_1 = __importDefault(require("node:zlib")); | ||
const axios_1 = __importDefault(require("axios")); | ||
@@ -81,3 +81,15 @@ const form_data_1 = __importDefault(require("form-data")); | ||
// Props on axios default headers object to ignore when retrieving full list of actual headers sent in any HTTP requests | ||
const axiosHeaderPropsToIgnore = ['delete', 'common', 'get', 'put', 'head', 'post', 'link', 'patch', 'purge', 'unlink', 'options']; | ||
const axiosHeaderPropsToIgnore = [ | ||
'delete', | ||
'common', | ||
'get', | ||
'put', | ||
'head', | ||
'post', | ||
'link', | ||
'patch', | ||
'purge', | ||
'unlink', | ||
'options', | ||
]; | ||
const defaultFilename = 'Untitled'; | ||
@@ -89,3 +101,2 @@ const defaultPageSize = 200; | ||
// TODO: safe to rename this to conform to PascalCase enum type naming convention? | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
WebClientEvent["RATE_LIMITED"] = "rate_limited"; | ||
@@ -108,3 +119,2 @@ })(WebClientEvent || (exports.WebClientEvent = WebClientEvent = {})); | ||
this.retryConfig = retryConfig; | ||
// eslint-disable-next-line new-cap | ||
this.requestQueue = new p_queue_1.default({ concurrency: maxRequestConcurrency }); | ||
@@ -126,3 +136,2 @@ // NOTE: may want to filter the keys to only those acceptable for TLS options | ||
} | ||
// eslint-disable-next-line no-param-reassign | ||
if (this.token && !headers.Authorization) | ||
@@ -133,3 +142,2 @@ headers.Authorization = `Bearer ${this.token}`; | ||
baseURL: slackApiUrl, | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
headers: (0, is_electron_1.default)() ? headers : Object.assign({ 'User-Agent': (0, instrument_1.getUserAgent)() }, headers), | ||
@@ -148,3 +156,3 @@ httpAgent: agent, | ||
// serializeApiCallOptions will always determine the appropriate content-type | ||
delete this.axios.defaults.headers.post['Content-Type']; | ||
this.axios.defaults.headers.post['Content-Type'] = undefined; | ||
this.logger.debug('initialized'); | ||
@@ -167,4 +175,3 @@ } | ||
(0, file_upload_1.warnIfNotUsingFilesUploadV2)(method, this.logger); | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore | ||
// @ts-expect-error insufficient overlap between Record and FilesUploadV2Arguments | ||
if (method === 'files.uploadV2') | ||
@@ -185,3 +192,3 @@ return this.filesUploadV2(options); | ||
if (result.response_metadata !== undefined && result.response_metadata.messages !== undefined) { | ||
result.response_metadata.messages.forEach((msg) => { | ||
for (const msg of result.response_metadata.messages) { | ||
const errReg = /\[ERROR\](.*)/; | ||
@@ -201,3 +208,3 @@ const warnReg = /\[WARN\](.*)/; | ||
} | ||
}); | ||
} | ||
} | ||
@@ -207,6 +214,6 @@ // If result's content is gzip, "ok" property is not returned with successful response | ||
// if an { ok: false } body applies for all API errors | ||
if (!result.ok && (response.headers['content-type'] !== 'application/gzip')) { | ||
if (!result.ok && response.headers['content-type'] !== 'application/gzip') { | ||
throw (0, errors_1.platformErrorFromResult)(result); | ||
} | ||
else if ('ok' in result && result.ok === false) { | ||
if ('ok' in result && result.ok === false) { | ||
throw (0, errors_1.platformErrorFromResult)(result); | ||
@@ -222,4 +229,3 @@ } | ||
const { limit } = options; | ||
// eslint-disable-next-line no-param-reassign | ||
delete options.limit; | ||
options.limit = undefined; | ||
return limit; | ||
@@ -242,3 +248,2 @@ } | ||
while (result === undefined || paginationOptions !== undefined) { | ||
// eslint-disable-next-line no-await-in-loop | ||
result = yield __await(this.apiCall(method, Object.assign(options !== undefined ? options : {}, paginationOptions))); | ||
@@ -253,3 +258,3 @@ yield yield __await(result); | ||
} | ||
const pageReducer = (reduce !== undefined) ? reduce : noopPageReducer; | ||
const pageReducer = reduce !== undefined ? reduce : noopPageReducer; | ||
let index = 0; | ||
@@ -274,3 +279,2 @@ return (() => __awaiter(this, void 0, void 0, function* () { | ||
// Continue iteration | ||
// eslint-disable-next-line no-restricted-syntax | ||
for (var _d = true, pageIterator_1 = __asyncValues(pageIterator), pageIterator_1_1; pageIterator_1_1 = yield pageIterator_1.next(), _a = pageIterator_1_1.done, !_a; _d = true) { | ||
@@ -337,3 +341,2 @@ _c = pageIterator_1_1.value; | ||
return Promise.all(fileUploads.map((upload) => { | ||
/* eslint-disable @typescript-eslint/consistent-type-assertions */ | ||
const options = { | ||
@@ -417,5 +420,5 @@ filename: upload.filename, | ||
const task = () => this.requestQueue.add(() => __awaiter(this, void 0, void 0, function* () { | ||
const requestURL = (url.startsWith('https' || 'http')) ? url : `${this.axios.getUri() + url}`; | ||
const requestURL = url.startsWith('https' || 'http') ? url : `${this.axios.getUri() + url}`; | ||
try { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
// biome-ignore lint/suspicious/noExplicitAny: TODO: type this | ||
const config = Object.assign({ headers }, this.tlsConfig); | ||
@@ -430,4 +433,3 @@ // admin.analytics.getFile returns a binary response | ||
if (url.endsWith('apps.event.authorizations.list')) { | ||
// eslint-disable-next-line no-param-reassign | ||
delete body.token; | ||
body.token = undefined; | ||
} | ||
@@ -437,4 +439,3 @@ this.logger.debug(`http request url: ${requestURL}`); | ||
// compile all headers - some set by default under the hood by axios - that will be sent along | ||
let allHeaders = Object.keys(this.axios.defaults.headers) | ||
.reduce((acc, cur) => { | ||
let allHeaders = Object.keys(this.axios.defaults.headers).reduce((acc, cur) => { | ||
if (!axiosHeaderPropsToIgnore.includes(cur)) { | ||
@@ -471,6 +472,4 @@ acc[cur] = this.axios.defaults.headers[cur]; | ||
} | ||
else { | ||
// TODO: turn this into some CodedError | ||
throw new p_retry_1.AbortError(new Error(`Retry header did not contain a valid timeout (url: ${url}, retry-after header: ${response.headers['retry-after']})`)); | ||
} | ||
// TODO: turn this into some CodedError | ||
throw new p_retry_1.AbortError(new Error(`Retry header did not contain a valid timeout (url: ${url}, retry-after header: ${response.headers['retry-after']})`)); | ||
} | ||
@@ -485,3 +484,3 @@ // Slack's Web API doesn't use meaningful status codes besides 429 and 200 | ||
// To make this compatible with tsd, casting here instead of `catch (error: any)` | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
// biome-ignore lint/suspicious/noExplicitAny: errors can be anything | ||
const e = error; | ||
@@ -495,3 +494,3 @@ this.logger.warn('http request failed', e.message); | ||
})); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
// biome-ignore lint/suspicious/noExplicitAny: http responses can be anything | ||
return (0, p_retry_1.default)(task, this.retryConfig); | ||
@@ -512,3 +511,3 @@ }); | ||
let containsBinaryData = false; | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
// biome-ignore lint/suspicious/noExplicitAny: call options can be anything | ||
const flattened = Object.entries(options).map(([key, value]) => { | ||
@@ -540,9 +539,9 @@ if (value === undefined || value === null) { | ||
// fs- and request- streams have path property | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
// biome-ignore lint/suspicious/noExplicitAny: form values can be anything | ||
const streamOrBuffer = value; | ||
if (typeof streamOrBuffer.name === 'string') { | ||
return (0, path_1.basename)(streamOrBuffer.name); | ||
return (0, node_path_1.basename)(streamOrBuffer.name); | ||
} | ||
if (typeof streamOrBuffer.path === 'string') { | ||
return (0, path_1.basename)(streamOrBuffer.path); | ||
return (0, node_path_1.basename)(streamOrBuffer.path); | ||
} | ||
@@ -561,6 +560,5 @@ return defaultFilename; | ||
// not reassigning to headers param since it is passed by reference and behaves as an inout param | ||
Object.entries(form.getHeaders()).forEach(([header, value]) => { | ||
// eslint-disable-next-line no-param-reassign | ||
for (const [header, value] of Object.entries(form.getHeaders())) { | ||
headers[header] = value; | ||
}); | ||
} | ||
} | ||
@@ -570,8 +568,7 @@ return form; | ||
// Otherwise, a simple key-value object is returned | ||
// eslint-disable-next-line no-param-reassign | ||
if (headers) | ||
headers['Content-Type'] = 'application/x-www-form-urlencoded'; | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
// biome-ignore lint/suspicious/noExplicitAny: form values can be anything | ||
const initialValue = {}; | ||
return (0, querystring_1.stringify)(flattened.reduce((accumulator, [key, value]) => { | ||
return (0, node_querystring_1.stringify)(flattened.reduce((accumulator, [key, value]) => { | ||
if (key !== undefined && value !== undefined) { | ||
@@ -588,3 +585,2 @@ accumulator[key] = value; | ||
*/ | ||
// eslint-disable-next-line class-methods-use-this | ||
buildResult(response) { | ||
@@ -599,3 +595,3 @@ return __awaiter(this, void 0, void 0, function* () { | ||
const unzippedData = yield new Promise((resolve, reject) => { | ||
zlib_1.default.unzip(data, (err, buf) => { | ||
node_zlib_1.default.unzip(data, (err, buf) => { | ||
if (err) { | ||
@@ -606,3 +602,4 @@ return reject(err); | ||
}); | ||
}).then((res) => res) | ||
}) | ||
.then((res) => res) | ||
.catch((err) => { | ||
@@ -613,7 +610,7 @@ throw err; | ||
if (Array.isArray(unzippedData)) { | ||
unzippedData.forEach((dataset) => { | ||
for (const dataset of unzippedData) { | ||
if (dataset && dataset.length > 0) { | ||
fileData.push(JSON.parse(dataset)); | ||
} | ||
}); | ||
} | ||
} | ||
@@ -629,3 +626,3 @@ data = { file_data: fileData }; | ||
// decode the ArrayBuffer to JSON read the error | ||
data = JSON.parse(new util_1.TextDecoder().decode(data)); | ||
data = JSON.parse(new node_util_1.TextDecoder().decode(data)); | ||
} | ||
@@ -650,3 +647,5 @@ if (typeof data === 'string') { | ||
if (response.headers['x-accepted-oauth-scopes'] !== undefined) { | ||
data.response_metadata.acceptedScopes = response.headers['x-accepted-oauth-scopes'].trim().split(/\s*,\s*/); | ||
data.response_metadata.acceptedScopes = response.headers['x-accepted-oauth-scopes'] | ||
.trim() | ||
.split(/\s*,\s*/); | ||
} | ||
@@ -691,3 +690,3 @@ // add retry metadata from headers | ||
if (response.headers['retry-after'] !== undefined) { | ||
const retryAfter = parseInt(response.headers['retry-after'], 10); | ||
const retryAfter = Number.parseInt(response.headers['retry-after'], 10); | ||
if (!Number.isNaN(retryAfter)) { | ||
@@ -727,9 +726,4 @@ return retryAfter; | ||
const isEmptyText = (args) => args.text === undefined || args.text === null || args.text === ''; | ||
const buildMissingTextWarning = () => `The top-level \`text\` argument is missing in the request payload for a ${method} call - ` + | ||
'It\'s a best practice to always provide a `text` argument when posting a message. ' + | ||
'The `text` is used in places where the content cannot be rendered such as: ' + | ||
'system push notifications, assistive technology such as screen readers, etc.'; | ||
const buildMissingFallbackWarning = () => `Additionally, the attachment-level \`fallback\` argument is missing in the request payload for a ${method} call - ` + | ||
'To avoid this warning, it is recommended to always provide a top-level `text` argument when posting a message. ' + | ||
'Alternatively, you can provide an attachment-level `fallback` argument, though this is now considered a legacy field (see https://api.slack.com/reference/messaging/attachments#legacy_fields for more details).'; | ||
const buildMissingTextWarning = () => `The top-level \`text\` argument is missing in the request payload for a ${method} call - It's a best practice to always provide a \`text\` argument when posting a message. The \`text\` is used in places where the content cannot be rendered such as: system push notifications, assistive technology such as screen readers, etc.`; | ||
const buildMissingFallbackWarning = () => `Additionally, the attachment-level \`fallback\` argument is missing in the request payload for a ${method} call - To avoid this warning, it is recommended to always provide a top-level \`text\` argument when posting a message. Alternatively, you can provide an attachment-level \`fallback\` argument, though this is now considered a legacy field (see https://api.slack.com/reference/messaging/attachments#legacy_fields for more details).`; | ||
if (isTargetMethod && typeof options === 'object') { | ||
@@ -770,3 +764,3 @@ if (hasAttachments(options)) { | ||
function redact(body) { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
// biome-ignore lint/suspicious/noExplicitAny: objects can be anything | ||
const flattened = Object.entries(body).map(([key, value]) => { | ||
@@ -773,0 +767,0 @@ // no value provided |
{ | ||
"name": "@slack/web-api", | ||
"version": "7.3.4", | ||
"version": "7.4.0", | ||
"description": "Official library for using the Slack Platform's Web API", | ||
@@ -39,4 +39,4 @@ "author": "Slack Technologies, LLC", | ||
"build:clean": "shx rm -rf ./dist ./coverage", | ||
"lint": "eslint --fix --ext .ts src", | ||
"mocha": "mocha --config .mocharc.json src/*.spec.js", | ||
"lint": "npx @biomejs/biome check --write .", | ||
"mocha": "mocha --config .mocharc.json \"./src/**/*.spec.ts\"", | ||
"test": "npm run lint && npm run test:types && npm run test:integration && npm run test:unit", | ||
@@ -47,3 +47,2 @@ "test:integration": "npm run build && node test/integration/commonjs-project/index.js && node test/integration/esm-project/index.mjs && npm run test:integration:ts", | ||
"test:types": "tsd", | ||
"ref-docs:model": "api-extractor run", | ||
"watch": "npx nodemon --watch 'src' --ext 'ts' --exec npm run build" | ||
@@ -66,26 +65,18 @@ }, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7", | ||
"@biomejs/biome": "^1.8.3", | ||
"@tsconfig/recommended": "^1", | ||
"@types/busboy": "^1.5.4", | ||
"@types/chai": "^4", | ||
"@types/mocha": "^10", | ||
"@types/sinon": "^17", | ||
"@typescript-eslint/eslint-plugin": "^6", | ||
"@typescript-eslint/parser": "^6", | ||
"busboy": "^1", | ||
"c8": "^9.1.0", | ||
"c8": "^10.1.2", | ||
"chai": "^4", | ||
"eslint": "^8", | ||
"eslint-config-airbnb-base": "^15", | ||
"eslint-config-airbnb-typescript": "^17", | ||
"eslint-plugin-import": "^2", | ||
"eslint-plugin-import-newlines": "^1.3.4", | ||
"eslint-plugin-jsdoc": "^48", | ||
"eslint-plugin-node": "^11", | ||
"mocha": "^10", | ||
"nock": "^13", | ||
"shx": "^0.3.2", | ||
"sinon": "^17", | ||
"sinon": "^18", | ||
"source-map-support": "^0.5.21", | ||
"ts-node": "^10", | ||
"tsd": "^0.30.0", | ||
"tsd": "^0.31.1", | ||
"typescript": "5.3.3" | ||
@@ -92,0 +83,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
2550134
17
1443
39066
1