@botpress/client 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/index.ts", "../src/config.ts", "../src/gen/errors.ts", "../src/gen/client.ts", "../src/gen/api.ts", "../src/gen/base.ts", "../src/gen/common.ts", "../src/oauth.ts"],
4
+ "sourcesContent": ["import axios from 'axios'\nexport * as axios from 'axios'\nimport { getClientConfig, ClientProps, ClientConfig } from './config'\nexport type { Message, Conversation, User, State, Event, ModelFile as File, Bot, Integration } from './gen'\nexport * from './gen/errors'\nimport { ApiClient as AutoGeneratedClient } from './gen/client'\nimport { cacheOauth as cachedOauth, errorInterceptor, requestInterceptor } from './oauth'\n\nexport class Client extends AutoGeneratedClient {\n public readonly config: ClientConfig\n\n public constructor(clientProps: ClientProps = {}) {\n const clientConfig = getClientConfig(clientProps)\n const { host, headers, withCredentials } = clientConfig\n\n if (clientConfig.authStrategy === 'token') {\n headers['Authorization'] = `Bearer ${clientConfig.token}`\n }\n\n const axiosClient = axios.create({\n headers,\n maxBodyLength: 100 * 1024 * 1024, // 100MB\n maxContentLength: 1024 * 1024 * 1024, // 100MB\n withCredentials,\n timeout: 10000,\n })\n\n if (clientConfig.authStrategy === 'oauth') {\n const authenticate = cachedOauth({\n oauthUrl: clientConfig.oauthUrl,\n clientKey: clientConfig.clientKey,\n clientSecret: clientConfig.clientSecret,\n getToken: (res) => res.token,\n getExpiry: (res) => res.expiresIn * 1000,\n })\n axiosClient.interceptors.request.use(requestInterceptor(authenticate))\n axiosClient.interceptors.response.use(undefined, errorInterceptor(axiosClient, authenticate))\n }\n\n super(undefined, host, axiosClient)\n\n this.config = clientConfig\n }\n}\n", "/* eslint-disable complexity */\nimport { isBrowser, isNode } from 'browser-or-node'\n\nconst defaultApiUrl = 'https://api.botpress.cloud'\nconst defaultOauthUrl = 'https://oauth.botpress.cloud/oauth2/token'\n\nconst apiUrlEnvName = 'BP_API_URL'\nconst oauthUrlEnvName = 'BP_OAUTH_URL'\nconst botIdEnvName = 'BP_BOT_ID'\nconst integrationIdEnvName = 'BP_INTEGRATION_ID'\nconst workspaceIdEnvName = 'BP_WORKSPACE_ID'\nconst environmentEnvName = 'BP_ENV'\n\nconst tokenEnvName = 'BP_TOKEN'\nconst botClientKeyEnvName = 'BP_CLIENT_KEY'\nconst botClientSecretEnvName = 'BP_CLIENT_SECRET'\n\nexport type ClientProps = {\n host?: string\n oauthUrl?: string\n integrationId?: string\n workspaceId?: string\n botId?: string\n dev?: boolean\n token?: string\n clientKey?: string\n clientSecret?: string\n}\n\nexport type ClientConfig = {\n host: string\n headers: Record<string, string>\n withCredentials: boolean\n} & (\n | {\n authStrategy: 'token'\n token: string\n }\n | {\n authStrategy: 'oauth'\n clientKey: string\n clientSecret: string\n oauthUrl: string\n }\n | {\n authStrategy: 'none'\n }\n)\n\nexport function getClientConfig(clientProps: ClientProps): ClientConfig {\n const props = getProps(clientProps)\n\n const headers: Record<string, string> = {}\n\n if (props.dev) {\n headers['x-bp-env'] = 'dev'\n }\n\n if (props.workspaceId) {\n headers['x-workspace-id'] = props.workspaceId\n }\n\n if (props.botId) {\n headers['x-bot-id'] = props.botId\n }\n\n if (props.integrationId) {\n headers['x-integration-id'] = props.integrationId\n }\n\n if (props.token) {\n return {\n authStrategy: 'token',\n host: props.host ?? defaultApiUrl,\n withCredentials: isBrowser,\n headers,\n token: props.token,\n }\n } else if (props.clientKey && props.clientSecret && props.oauthUrl) {\n return {\n authStrategy: 'oauth',\n host: props.host ?? defaultApiUrl,\n withCredentials: isBrowser,\n headers,\n clientKey: props.clientKey,\n clientSecret: props.clientSecret,\n oauthUrl: props.oauthUrl,\n }\n } else {\n return {\n host: props.host ?? defaultApiUrl,\n withCredentials: isBrowser,\n headers,\n authStrategy: 'none',\n }\n }\n}\n\nfunction getProps(props: ClientProps) {\n if (isBrowser) {\n return getBrowserConfig(props)\n }\n\n if (isNode) {\n return getNodeConfig(props)\n }\n\n return props\n}\n\nfunction getNodeConfig(props: ClientProps): ClientProps {\n const config: ClientProps = {\n ...props,\n host: props.host ?? process.env[apiUrlEnvName] ?? defaultApiUrl,\n oauthUrl: props.oauthUrl ?? process.env[oauthUrlEnvName] ?? defaultOauthUrl,\n botId: props.botId ?? process.env[botIdEnvName],\n integrationId: props.integrationId ?? process.env[integrationIdEnvName],\n workspaceId: props.workspaceId ?? process.env[workspaceIdEnvName],\n dev: props.dev ?? process.env[environmentEnvName] === 'dev',\n }\n\n const token = config.token ?? process.env[tokenEnvName]\n const clientKey = config.clientKey ?? process.env[botClientKeyEnvName]\n const clientSecret = config.clientSecret ?? process.env[botClientSecretEnvName]\n\n if (token) {\n config.token = token\n } else if (clientKey && clientSecret) {\n config.clientKey = clientKey\n config.clientSecret = clientSecret\n }\n\n return config\n}\n\nfunction getBrowserConfig(props: ClientProps): ClientProps {\n return {\n ...props,\n dev: props.dev ?? true,\n }\n}\n", "// This file was generated by the Opapi Generator\n/* eslint-disable */\n// @ts-nocheck\n\nconst codes = {\n HTTP_STATUS_BAD_REQUEST: 400,\n HTTP_STATUS_UNAUTHORIZED: 401,\n HTTP_STATUS_PAYMENT_REQUIRED: 402,\n HTTP_STATUS_FORBIDDEN: 403,\n HTTP_STATUS_NOT_FOUND: 404,\n HTTP_STATUS_METHOD_NOT_ALLOWED: 405,\n HTTP_STATUS_CONFLICT: 409,\n HTTP_STATUS_PAYLOAD_TOO_LARGE: 413,\n HTTP_STATUS_TOO_MANY_REQUESTS: 429,\n HTTP_STATUS_INTERNAL_SERVER_ERROR: 500,\n} as const\n\ntype ErrorCode = typeof codes[keyof typeof codes]\n\nabstract class BaseApiError<Code extends ErrorCode, Type extends string, Description extends string> extends Error {\n public readonly isApiError = true\n\n constructor(\n public readonly code: Code,\n public readonly description: Description,\n public readonly type: Type,\n public override readonly message: string,\n public readonly error?: Error\n ) {\n super(message)\n }\n\n toJSON() {\n return {\n code: this.code,\n type: this.type,\n message: this.message,\n }\n }\n}\n\nconst isObject = (obj: unknown): obj is object => typeof obj === 'object' && !Array.isArray(obj) && obj !== null\n\nexport const isApiError = (thrown: unknown): thrown is ApiError => {\n return thrown instanceof BaseApiError || isObject(thrown) && thrown.isApiError === true\n}\n\ntype UnknownType = 'Unknown'\n\n/**\n * An unknown error occurred\n */\nexport class UnknownError extends BaseApiError<500, UnknownType, 'An unknown error occurred'> {\n constructor(message: string, error?: Error) {\n super(500, 'An unknown error occurred', 'Unknown', message, error)\n }\n}\n\ntype InternalType = 'Internal'\n\n/**\n * An internal error occurred\n */\nexport class InternalError extends BaseApiError<500, InternalType, 'An internal error occurred'> {\n constructor(message: string, error?: Error) {\n super(500, 'An internal error occurred', 'Internal', message, error)\n }\n}\n\ntype UnauthorizedType = 'Unauthorized'\n\n/**\n * The request requires to be authenticated.\n */\nexport class UnauthorizedError extends BaseApiError<401, UnauthorizedType, 'The request requires to be authenticated.'> {\n constructor(message: string, error?: Error) {\n super(401, 'The request requires to be authenticated.', 'Unauthorized', message, error)\n }\n}\n\ntype ForbiddenType = 'Forbidden'\n\n/**\n * The requested action can\\'t be peform by this resource.\n */\nexport class ForbiddenError extends BaseApiError<403, ForbiddenType, 'The requested action can\\'t be peform by this resource.'> {\n constructor(message: string, error?: Error) {\n super(403, 'The requested action can\\'t be peform by this resource.', 'Forbidden', message, error)\n }\n}\n\ntype PayloadTooLargeType = 'PayloadTooLarge'\n\n/**\n * The request payload is too large.\n */\nexport class PayloadTooLargeError extends BaseApiError<413, PayloadTooLargeType, 'The request payload is too large.'> {\n constructor(message: string, error?: Error) {\n super(413, 'The request payload is too large.', 'PayloadTooLarge', message, error)\n }\n}\n\ntype InvalidPayloadType = 'InvalidPayload'\n\n/**\n * The request payload is invalid.\n */\nexport class InvalidPayloadError extends BaseApiError<400, InvalidPayloadType, 'The request payload is invalid.'> {\n constructor(message: string, error?: Error) {\n super(400, 'The request payload is invalid.', 'InvalidPayload', message, error)\n }\n}\n\ntype UnsupportedMediaTypeType = 'UnsupportedMediaType'\n\n/**\n * The request is invalid because the content-type is not supported.\n */\nexport class UnsupportedMediaTypeError extends BaseApiError<415, UnsupportedMediaTypeType, 'The request is invalid because the content-type is not supported.'> {\n constructor(message: string, error?: Error) {\n super(415, 'The request is invalid because the content-type is not supported.', 'UnsupportedMediaType', message, error)\n }\n}\n\ntype MethodNotFoundType = 'MethodNotFound'\n\n/**\n * The requested method does not exist.\n */\nexport class MethodNotFoundError extends BaseApiError<405, MethodNotFoundType, 'The requested method does not exist.'> {\n constructor(message: string, error?: Error) {\n super(405, 'The requested method does not exist.', 'MethodNotFound', message, error)\n }\n}\n\ntype ResourceNotFoundType = 'ResourceNotFound'\n\n/**\n * The requested resource does not exist.\n */\nexport class ResourceNotFoundError extends BaseApiError<404, ResourceNotFoundType, 'The requested resource does not exist.'> {\n constructor(message: string, error?: Error) {\n super(404, 'The requested resource does not exist.', 'ResourceNotFound', message, error)\n }\n}\n\ntype InvalidJsonSchemaType = 'InvalidJsonSchema'\n\n/**\n * The provided JSON schema is invalid.\n */\nexport class InvalidJsonSchemaError extends BaseApiError<400, InvalidJsonSchemaType, 'The provided JSON schema is invalid.'> {\n constructor(message: string, error?: Error) {\n super(400, 'The provided JSON schema is invalid.', 'InvalidJsonSchema', message, error)\n }\n}\n\ntype InvalidDataFormatType = 'InvalidDataFormat'\n\n/**\n * The provided data doesn\\'t respect the provided JSON schema.\n */\nexport class InvalidDataFormatError extends BaseApiError<400, InvalidDataFormatType, 'The provided data doesn\\'t respect the provided JSON schema.'> {\n constructor(message: string, error?: Error) {\n super(400, 'The provided data doesn\\'t respect the provided JSON schema.', 'InvalidDataFormat', message, error)\n }\n}\n\ntype InvalidIdentifierType = 'InvalidIdentifier'\n\n/**\n * The provided identifier is not valid. An identifier must start with a lowercase letter, be between 2 and 100 characters long and use only alphanumeric characters.\n */\nexport class InvalidIdentifierError extends BaseApiError<400, InvalidIdentifierType, 'The provided identifier is not valid. An identifier must start with a lowercase letter, be between 2 and 100 characters long and use only alphanumeric characters.'> {\n constructor(message: string, error?: Error) {\n super(400, 'The provided identifier is not valid. An identifier must start with a lowercase letter, be between 2 and 100 characters long and use only alphanumeric characters.', 'InvalidIdentifier', message, error)\n }\n}\n\ntype RelationConflictType = 'RelationConflict'\n\n/**\n * The resource is not related with another resource. This is usually caused when providing two resources that aren\\'t linked together.\n */\nexport class RelationConflictError extends BaseApiError<409, RelationConflictType, 'The resource is not related with another resource. This is usually caused when providing two resources that aren\\'t linked together.'> {\n constructor(message: string, error?: Error) {\n super(409, 'The resource is not related with another resource. This is usually caused when providing two resources that aren\\'t linked together.', 'RelationConflict', message, error)\n }\n}\n\ntype ReferenceNotFoundType = 'ReferenceNotFound'\n\n/**\n * The provided resource reference is missing. This is usually caused when providing an invalid id inside the payload of a request.\n */\nexport class ReferenceNotFoundError extends BaseApiError<400, ReferenceNotFoundType, 'The provided resource reference is missing. This is usually caused when providing an invalid id inside the payload of a request.'> {\n constructor(message: string, error?: Error) {\n super(400, 'The provided resource reference is missing. This is usually caused when providing an invalid id inside the payload of a request.', 'ReferenceNotFound', message, error)\n }\n}\n\ntype InvalidQueryType = 'InvalidQuery'\n\n/**\n * The provided query is invalid. This is usually caused when providing an invalid parameter for querying a resource.\n */\nexport class InvalidQueryError extends BaseApiError<400, InvalidQueryType, 'The provided query is invalid. This is usually caused when providing an invalid parameter for querying a resource.'> {\n constructor(message: string, error?: Error) {\n super(400, 'The provided query is invalid. This is usually caused when providing an invalid parameter for querying a resource.', 'InvalidQuery', message, error)\n }\n}\n\ntype RuntimeType = 'Runtime'\n\n/**\n * An error happened during the execution of a runtime (bot or integration).\n */\nexport class RuntimeError extends BaseApiError<400, RuntimeType, 'An error happened during the execution of a runtime (bot or integration).'> {\n constructor(message: string, error?: Error) {\n super(400, 'An error happened during the execution of a runtime (bot or integration).', 'Runtime', message, error)\n }\n}\n\nexport type ErrorType =\n | 'Unknown'\n | 'Internal'\n | 'Unauthorized'\n | 'Forbidden'\n | 'PayloadTooLarge'\n | 'InvalidPayload'\n | 'UnsupportedMediaType'\n | 'MethodNotFound'\n | 'ResourceNotFound'\n | 'InvalidJsonSchema'\n | 'InvalidDataFormat'\n | 'InvalidIdentifier'\n | 'RelationConflict'\n | 'ReferenceNotFound'\n | 'InvalidQuery'\n | 'Runtime'\n\nexport type ApiError =\n | UnknownError\n | InternalError\n | UnauthorizedError\n | ForbiddenError\n | PayloadTooLargeError\n | InvalidPayloadError\n | UnsupportedMediaTypeError\n | MethodNotFoundError\n | ResourceNotFoundError\n | InvalidJsonSchemaError\n | InvalidDataFormatError\n | InvalidIdentifierError\n | RelationConflictError\n | ReferenceNotFoundError\n | InvalidQueryError\n | RuntimeError\n\nconst errorTypes: { [type: string]: new (message: string, error?: Error) => ApiError } = {\n Unknown: UnknownError,\n Internal: InternalError,\n Unauthorized: UnauthorizedError,\n Forbidden: ForbiddenError,\n PayloadTooLarge: PayloadTooLargeError,\n InvalidPayload: InvalidPayloadError,\n UnsupportedMediaType: UnsupportedMediaTypeError,\n MethodNotFound: MethodNotFoundError,\n ResourceNotFound: ResourceNotFoundError,\n InvalidJsonSchema: InvalidJsonSchemaError,\n InvalidDataFormat: InvalidDataFormatError,\n InvalidIdentifier: InvalidIdentifierError,\n RelationConflict: RelationConflictError,\n ReferenceNotFound: ReferenceNotFoundError,\n InvalidQuery: InvalidQueryError,\n Runtime: RuntimeError,\n}\n\nexport const errorFrom = (err: unknown): ApiError => {\n if (isApiError(err)) {\n return err\n }\n\n if (err instanceof Error) {\n return new UnknownError(err.message, err)\n }\n\n if (err === null) {\n return new UnknownError('An unknown error occurred')\n }\n\n if (typeof err === 'string') {\n return new UnknownError(err)\n }\n\n if (typeof err !== 'object') {\n return new UnknownError('An unknown error occurred')\n }\n\n return getErrorFromObject(err)\n}\n\nfunction getErrorFromObject(err: object) {\n if ('code' in err && 'type' in err && 'message' in err) {\n if (typeof err.message !== 'string') {\n return new UnknownError('An unknown error occurred')\n }\n\n if (typeof err.type !== 'string') {\n return new UnknownError(err.message)\n }\n\n const ErrorClass = errorTypes[err.type]\n\n if (!ErrorClass) {\n return new UnknownError(err.message)\n }\n\n return new ErrorClass(err.message)\n }\n\n return new UnknownError('An unknown error occurred')\n}\n", "// This file was generated by the Opapi Generator\n/* eslint-disable */\n// @ts-nocheck\n\nimport axios, { AxiosInstance } from 'axios'\nimport type { Merge, Except } from 'type-fest'\nimport {\n DefaultApi,\n Configuration,\n\tDefaultApiCreateConversationRequest,\n\tDefaultApiGetConversationRequest,\n\tDefaultApiListConversationsRequest,\n\tDefaultApiGetOrCreateConversationRequest,\n\tDefaultApiUpdateConversationRequest,\n\tDefaultApiDeleteConversationRequest,\n\tDefaultApiCreateEventRequest,\n\tDefaultApiGetEventRequest,\n\tDefaultApiListEventsRequest,\n\tDefaultApiCreateMessageRequest,\n\tDefaultApiGetOrCreateMessageRequest,\n\tDefaultApiGetMessageRequest,\n\tDefaultApiUpdateMessageRequest,\n\tDefaultApiListMessagesRequest,\n\tDefaultApiDeleteMessageRequest,\n\tDefaultApiCreateUserRequest,\n\tDefaultApiGetUserRequest,\n\tDefaultApiListUsersRequest,\n\tDefaultApiGetOrCreateUserRequest,\n\tDefaultApiUpdateUserRequest,\n\tDefaultApiDeleteUserRequest,\n\tDefaultApiGetStateRequest,\n\tDefaultApiSetStateRequest,\n\tDefaultApiPatchStateRequest,\n\tDefaultApiCallActionRequest,\n\tDefaultApiConfigureIntegrationRequest,\n\tDefaultApiListPublicIntegrationsRequest,\n\tDefaultApiGetPublicIntegrationByIdRequest,\n\tDefaultApiGetPublicIntegrationRequest,\n\tDefaultApiCreateBotRequest,\n\tDefaultApiUpdateBotRequest,\n\tDefaultApiListBotsRequest,\n\tDefaultApiGetBotRequest,\n\tDefaultApiDeleteBotRequest,\n\tDefaultApiGetBotLogsRequest,\n\tDefaultApiGetBotWebchatRequest,\n\tDefaultApiGetBotAnalyticsRequest,\n\tDefaultApiCreateIntegrationRequest,\n\tDefaultApiUpdateIntegrationRequest,\n\tDefaultApiListIntegrationsRequest,\n\tDefaultApiGetIntegrationRequest,\n\tDefaultApiGetIntegrationByNameRequest,\n\tDefaultApiDeleteIntegrationRequest,\n\tDefaultApiListWorkspacesRequest,\n\tDefaultApiIntrospectRequest,\n\tDefaultApiCreateFileRequest,\n\tDefaultApiGetFileRequest,\n\tDefaultApiDownloadFileRequest,\n\tDefaultApiDeleteFileRequest,\n\tDefaultApiListFilesRequest,\n} from '.'\nimport { errorFrom } from './errors'\n\nexport class ApiClient {\n private _innerClient: DefaultApi\n public constructor(configuration?: Configuration, basePath?: string, axiosInstance?: AxiosInstance) {\n this._innerClient = new DefaultApi(configuration, basePath, axiosInstance)\n }\n\tpublic createConversation = (createConversationBody: CreateConversationProps) => this._innerClient.createConversation({ createConversationBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getConversation = (props: GetConversationProps) => this._innerClient.getConversation(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic listConversations = (props: ListConversationsProps) => this._innerClient.listConversations(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getOrCreateConversation = (getOrCreateConversationBody: GetOrCreateConversationProps) => this._innerClient.getOrCreateConversation({ getOrCreateConversationBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic updateConversation = ({ id, ...updateConversationBody }: UpdateConversationProps) => this._innerClient.updateConversation({ id, updateConversationBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic deleteConversation = (props: DeleteConversationProps) => this._innerClient.deleteConversation(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic createEvent = (createEventBody: CreateEventProps) => this._innerClient.createEvent({ createEventBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getEvent = (props: GetEventProps) => this._innerClient.getEvent(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic listEvents = (props: ListEventsProps) => this._innerClient.listEvents(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic createMessage = (createMessageBody: CreateMessageProps) => this._innerClient.createMessage({ createMessageBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getOrCreateMessage = (getOrCreateMessageBody: GetOrCreateMessageProps) => this._innerClient.getOrCreateMessage({ getOrCreateMessageBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getMessage = (props: GetMessageProps) => this._innerClient.getMessage(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic updateMessage = ({ id, ...updateMessageBody }: UpdateMessageProps) => this._innerClient.updateMessage({ id, updateMessageBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic listMessages = (props: ListMessagesProps) => this._innerClient.listMessages(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic deleteMessage = (props: DeleteMessageProps) => this._innerClient.deleteMessage(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic createUser = (createUserBody: CreateUserProps) => this._innerClient.createUser({ createUserBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getUser = (props: GetUserProps) => this._innerClient.getUser(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic listUsers = (props: ListUsersProps) => this._innerClient.listUsers(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getOrCreateUser = (getOrCreateUserBody: GetOrCreateUserProps) => this._innerClient.getOrCreateUser({ getOrCreateUserBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic updateUser = ({ id, ...updateUserBody }: UpdateUserProps) => this._innerClient.updateUser({ id, updateUserBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic deleteUser = (props: DeleteUserProps) => this._innerClient.deleteUser(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getState = (props: GetStateProps) => this._innerClient.getState(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic setState = ({ type, id, name, ...setStateBody }: SetStateProps) => this._innerClient.setState({ type, id, name, setStateBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic patchState = ({ type, id, name, ...patchStateBody }: PatchStateProps) => this._innerClient.patchState({ type, id, name, patchStateBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic callAction = (callActionBody: CallActionProps) => this._innerClient.callAction({ callActionBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic configureIntegration = (configureIntegrationBody: ConfigureIntegrationProps) => this._innerClient.configureIntegration({ configureIntegrationBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic listPublicIntegrations = (props: ListPublicIntegrationsProps) => this._innerClient.listPublicIntegrations(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getPublicIntegrationById = (props: GetPublicIntegrationByIdProps) => this._innerClient.getPublicIntegrationById(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getPublicIntegration = (props: GetPublicIntegrationProps) => this._innerClient.getPublicIntegration(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic createBot = (createBotBody: CreateBotProps) => this._innerClient.createBot({ createBotBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic updateBot = ({ id, ...updateBotBody }: UpdateBotProps) => this._innerClient.updateBot({ id, updateBotBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic listBots = (props: ListBotsProps) => this._innerClient.listBots(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getBot = (props: GetBotProps) => this._innerClient.getBot(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic deleteBot = (props: DeleteBotProps) => this._innerClient.deleteBot(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getBotLogs = (props: GetBotLogsProps) => this._innerClient.getBotLogs(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getBotWebchat = (props: GetBotWebchatProps) => this._innerClient.getBotWebchat(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getBotAnalytics = (props: GetBotAnalyticsProps) => this._innerClient.getBotAnalytics(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic createIntegration = (createIntegrationBody: CreateIntegrationProps) => this._innerClient.createIntegration({ createIntegrationBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic updateIntegration = ({ id, ...updateIntegrationBody }: UpdateIntegrationProps) => this._innerClient.updateIntegration({ id, updateIntegrationBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic listIntegrations = (props: ListIntegrationsProps) => this._innerClient.listIntegrations(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getIntegration = (props: GetIntegrationProps) => this._innerClient.getIntegration(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getIntegrationByName = (props: GetIntegrationByNameProps) => this._innerClient.getIntegrationByName(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic deleteIntegration = (props: DeleteIntegrationProps) => this._innerClient.deleteIntegration(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic listWorkspaces = (props: ListWorkspacesProps) => this._innerClient.listWorkspaces(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic introspect = (introspectBody: IntrospectProps) => this._innerClient.introspect({ introspectBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic createFile = (createFileBody: CreateFileProps) => this._innerClient.createFile({ createFileBody }).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic getFile = (props: GetFileProps) => this._innerClient.getFile(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic downloadFile = (props: DownloadFileProps) => this._innerClient.downloadFile(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic deleteFile = (props: DeleteFileProps) => this._innerClient.deleteFile(props).then((res) => res.data).catch((e) => { throw getError(e) })\n\tpublic listFiles = (props: ListFilesProps) => this._innerClient.listFiles(props).then((res) => res.data).catch((e) => { throw getError(e) })\n}\n\nexport type CreateConversationProps = Merge<\n Except<DefaultApiCreateConversationRequest, 'createConversationBody'>,\n NonNullable<DefaultApiCreateConversationRequest['createConversationBody']>\n>\n\nexport type GetConversationProps = Merge<DefaultApiGetConversationRequest, {}>\n\nexport type ListConversationsProps = Merge<DefaultApiListConversationsRequest, {}>\n\nexport type GetOrCreateConversationProps = Merge<\n Except<DefaultApiGetOrCreateConversationRequest, 'getOrCreateConversationBody'>,\n NonNullable<DefaultApiGetOrCreateConversationRequest['getOrCreateConversationBody']>\n>\n\nexport type UpdateConversationProps = Merge<\n Except<DefaultApiUpdateConversationRequest, 'updateConversationBody'>,\n NonNullable<DefaultApiUpdateConversationRequest['updateConversationBody']>\n>\n\nexport type DeleteConversationProps = Merge<DefaultApiDeleteConversationRequest, {}>\n\nexport type CreateEventProps = Merge<\n Except<DefaultApiCreateEventRequest, 'createEventBody'>,\n NonNullable<DefaultApiCreateEventRequest['createEventBody']>\n>\n\nexport type GetEventProps = Merge<DefaultApiGetEventRequest, {}>\n\nexport type ListEventsProps = Merge<DefaultApiListEventsRequest, {}>\n\nexport type CreateMessageProps = Merge<\n Except<DefaultApiCreateMessageRequest, 'createMessageBody'>,\n NonNullable<DefaultApiCreateMessageRequest['createMessageBody']>\n>\n\nexport type GetOrCreateMessageProps = Merge<\n Except<DefaultApiGetOrCreateMessageRequest, 'getOrCreateMessageBody'>,\n NonNullable<DefaultApiGetOrCreateMessageRequest['getOrCreateMessageBody']>\n>\n\nexport type GetMessageProps = Merge<DefaultApiGetMessageRequest, {}>\n\nexport type UpdateMessageProps = Merge<\n Except<DefaultApiUpdateMessageRequest, 'updateMessageBody'>,\n NonNullable<DefaultApiUpdateMessageRequest['updateMessageBody']>\n>\n\nexport type ListMessagesProps = Merge<DefaultApiListMessagesRequest, {}>\n\nexport type DeleteMessageProps = Merge<DefaultApiDeleteMessageRequest, {}>\n\nexport type CreateUserProps = Merge<\n Except<DefaultApiCreateUserRequest, 'createUserBody'>,\n NonNullable<DefaultApiCreateUserRequest['createUserBody']>\n>\n\nexport type GetUserProps = Merge<DefaultApiGetUserRequest, {}>\n\nexport type ListUsersProps = Merge<DefaultApiListUsersRequest, {}>\n\nexport type GetOrCreateUserProps = Merge<\n Except<DefaultApiGetOrCreateUserRequest, 'getOrCreateUserBody'>,\n NonNullable<DefaultApiGetOrCreateUserRequest['getOrCreateUserBody']>\n>\n\nexport type UpdateUserProps = Merge<\n Except<DefaultApiUpdateUserRequest, 'updateUserBody'>,\n NonNullable<DefaultApiUpdateUserRequest['updateUserBody']>\n>\n\nexport type DeleteUserProps = Merge<DefaultApiDeleteUserRequest, {}>\n\nexport type GetStateProps = Merge<DefaultApiGetStateRequest, {}>\n\nexport type SetStateProps = Merge<\n Except<DefaultApiSetStateRequest, 'setStateBody'>,\n NonNullable<DefaultApiSetStateRequest['setStateBody']>\n>\n\nexport type PatchStateProps = Merge<\n Except<DefaultApiPatchStateRequest, 'patchStateBody'>,\n NonNullable<DefaultApiPatchStateRequest['patchStateBody']>\n>\n\nexport type CallActionProps = Merge<\n Except<DefaultApiCallActionRequest, 'callActionBody'>,\n NonNullable<DefaultApiCallActionRequest['callActionBody']>\n>\n\nexport type ConfigureIntegrationProps = Merge<\n Except<DefaultApiConfigureIntegrationRequest, 'configureIntegrationBody'>,\n NonNullable<DefaultApiConfigureIntegrationRequest['configureIntegrationBody']>\n>\n\nexport type ListPublicIntegrationsProps = Merge<DefaultApiListPublicIntegrationsRequest, {}>\n\nexport type GetPublicIntegrationByIdProps = Merge<DefaultApiGetPublicIntegrationByIdRequest, {}>\n\nexport type GetPublicIntegrationProps = Merge<DefaultApiGetPublicIntegrationRequest, {}>\n\nexport type CreateBotProps = Merge<\n Except<DefaultApiCreateBotRequest, 'createBotBody'>,\n NonNullable<DefaultApiCreateBotRequest['createBotBody']>\n>\n\nexport type UpdateBotProps = Merge<\n Except<DefaultApiUpdateBotRequest, 'updateBotBody'>,\n NonNullable<DefaultApiUpdateBotRequest['updateBotBody']>\n>\n\nexport type ListBotsProps = Merge<DefaultApiListBotsRequest, {}>\n\nexport type GetBotProps = Merge<DefaultApiGetBotRequest, {}>\n\nexport type DeleteBotProps = Merge<DefaultApiDeleteBotRequest, {}>\n\nexport type GetBotLogsProps = Merge<DefaultApiGetBotLogsRequest, {}>\n\nexport type GetBotWebchatProps = Merge<DefaultApiGetBotWebchatRequest, {}>\n\nexport type GetBotAnalyticsProps = Merge<DefaultApiGetBotAnalyticsRequest, {}>\n\nexport type CreateIntegrationProps = Merge<\n Except<DefaultApiCreateIntegrationRequest, 'createIntegrationBody'>,\n NonNullable<DefaultApiCreateIntegrationRequest['createIntegrationBody']>\n>\n\nexport type UpdateIntegrationProps = Merge<\n Except<DefaultApiUpdateIntegrationRequest, 'updateIntegrationBody'>,\n NonNullable<DefaultApiUpdateIntegrationRequest['updateIntegrationBody']>\n>\n\nexport type ListIntegrationsProps = Merge<DefaultApiListIntegrationsRequest, {}>\n\nexport type GetIntegrationProps = Merge<DefaultApiGetIntegrationRequest, {}>\n\nexport type GetIntegrationByNameProps = Merge<DefaultApiGetIntegrationByNameRequest, {}>\n\nexport type DeleteIntegrationProps = Merge<DefaultApiDeleteIntegrationRequest, {}>\n\nexport type ListWorkspacesProps = Merge<DefaultApiListWorkspacesRequest, {}>\n\nexport type IntrospectProps = Merge<\n Except<DefaultApiIntrospectRequest, 'introspectBody'>,\n NonNullable<DefaultApiIntrospectRequest['introspectBody']>\n>\n\nexport type CreateFileProps = Merge<\n Except<DefaultApiCreateFileRequest, 'createFileBody'>,\n NonNullable<DefaultApiCreateFileRequest['createFileBody']>\n>\n\nexport type GetFileProps = Merge<DefaultApiGetFileRequest, {}>\n\nexport type DownloadFileProps = Merge<DefaultApiDownloadFileRequest, {}>\n\nexport type DeleteFileProps = Merge<DefaultApiDeleteFileRequest, {}>\n\nexport type ListFilesProps = Merge<DefaultApiListFilesRequest, {}>\n\n\nfunction getError(err: Error) {\n if (axios.isAxiosError(err)) {\n return errorFrom(err.response?.data)\n }\n\n return errorFrom(err)\n}\n", "// This file was generated by the Opapi Generator\n/* eslint-disable */\n// @ts-nocheck\n/* tslint:disable */\n/* eslint-disable */\n/**\n * Botpress API\n * API for Botpress Cloud\n *\n * The version of the OpenAPI document: 0.2.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport { Configuration } from './configuration';\nimport globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';\n// URLSearchParams not necessarily used\n// @ts-ignore\n\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';\n\n/**\n * \n * @export\n * @interface Bot\n */\nexport interface Bot {\n /**\n * Id of the [Bot](#schema_bot)\n * @type {string}\n * @memberof Bot\n */\n 'id': string;\n /**\n * Creation date of the [Bot](#schema_bot) in the ISO 8601 format\n * @type {string}\n * @memberof Bot\n */\n 'createdAt': string;\n /**\n * Updating date of the [Bot](#schema_bot) in the ISO 8601 format\n * @type {string}\n * @memberof Bot\n */\n 'updatedAt': string;\n /**\n * Signing secret of the [Bot](#schema_bot)\n * @type {string}\n * @memberof Bot\n */\n 'signingSecret': string;\n /**\n * A mapping of integrations to their configuration\n * @type {{ [key: string]: BotIntegrationsValue; }}\n * @memberof Bot\n */\n 'integrations': { [key: string]: BotIntegrationsValue; };\n /**\n * A mapping of states to their definition\n * @type {{ [key: string]: CreateBotBodyStatesValue; }}\n * @memberof Bot\n */\n 'states': { [key: string]: CreateBotBodyStatesValue; };\n /**\n * \n * @type {CreateBotBodyTags}\n * @memberof Bot\n */\n 'tags': CreateBotBodyTags;\n /**\n * \n * @type {BotConfiguration}\n * @memberof Bot\n */\n 'configuration': BotConfiguration;\n /**\n * Events definition\n * @type {{ [key: string]: CreateBotBodyEventsValue; }}\n * @memberof Bot\n */\n 'events': { [key: string]: CreateBotBodyEventsValue; };\n /**\n * Recurring events\n * @type {{ [key: string]: CreateBotBodyRecurringEventsValue; }}\n * @memberof Bot\n */\n 'recurringEvents': { [key: string]: CreateBotBodyRecurringEventsValue; };\n /**\n * Name of the [Bot](#schema_bot)\n * @type {string}\n * @memberof Bot\n */\n 'name': string;\n /**\n * Last deployment date of the [Bot](#schema_bot) in the ISO 8601 format\n * @type {string}\n * @memberof Bot\n */\n 'deployedAt'?: string;\n /**\n * Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations\n * @type {boolean}\n * @memberof Bot\n */\n 'dev': boolean;\n /**\n * Media files associated with the [Bot](#schema_bot)\n * @type {Array<BotMediasInner>}\n * @memberof Bot\n */\n 'medias': Array<BotMediasInner>;\n}\n/**\n * Configuration of the bot\n * @export\n * @interface BotConfiguration\n */\nexport interface BotConfiguration {\n /**\n * Configuration data\n * @type {{ [key: string]: any; }}\n * @memberof BotConfiguration\n */\n 'data': { [key: string]: any; };\n /**\n * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.\n * @type {{ [key: string]: any; }}\n * @memberof BotConfiguration\n */\n 'schema': { [key: string]: any; };\n}\n/**\n * \n * @export\n * @interface BotIntegrationsValue\n */\nexport interface BotIntegrationsValue {\n /**\n * \n * @type {boolean}\n * @memberof BotIntegrationsValue\n */\n 'enabled': boolean;\n /**\n * \n * @type {string}\n * @memberof BotIntegrationsValue\n */\n 'name': string;\n /**\n * \n * @type {string}\n * @memberof BotIntegrationsValue\n */\n 'version': string;\n /**\n * \n * @type {string}\n * @memberof BotIntegrationsValue\n */\n 'webhookUrl': string;\n /**\n * \n * @type {{ [key: string]: any; }}\n * @memberof BotIntegrationsValue\n */\n 'configuration': { [key: string]: any; };\n /**\n * \n * @type {string}\n * @memberof BotIntegrationsValue\n */\n 'status': BotIntegrationsValueStatusEnum;\n}\n\nexport const BotIntegrationsValueStatusEnum = {\n RegistrationPending: 'registration_pending',\n Registered: 'registered',\n RegistrationFailed: 'registration_failed',\n UnregistrationPending: 'unregistration_pending',\n Unregistered: 'unregistered',\n UnregistrationFailed: 'unregistration_failed'\n} as const;\n\nexport type BotIntegrationsValueStatusEnum = typeof BotIntegrationsValueStatusEnum[keyof typeof BotIntegrationsValueStatusEnum];\n\n/**\n * \n * @export\n * @interface BotMediasInner\n */\nexport interface BotMediasInner {\n /**\n * URL of the media file\n * @type {string}\n * @memberof BotMediasInner\n */\n 'url': string;\n /**\n * Name of the media file\n * @type {string}\n * @memberof BotMediasInner\n */\n 'name': string;\n}\n/**\n * \n * @export\n * @interface CallActionBody\n */\nexport interface CallActionBody {\n /**\n * Type of the action\n * @type {string}\n * @memberof CallActionBody\n */\n 'type': string;\n /**\n * Input of the action\n * @type {{ [key: string]: any; }}\n * @memberof CallActionBody\n */\n 'input': { [key: string]: any; };\n}\n/**\n * \n * @export\n * @interface CallActionResponse\n */\nexport interface CallActionResponse {\n /**\n * Input of the action\n * @type {{ [key: string]: any; }}\n * @memberof CallActionResponse\n */\n 'output': { [key: string]: any; };\n}\n/**\n * \n * @export\n * @interface ConfigureIntegrationBody\n */\nexport interface ConfigureIntegrationBody {\n /**\n * Unique identifier of the integration that was installed on the bot\n * @type {string}\n * @memberof ConfigureIntegrationBody\n */\n 'identifier': string;\n}\n/**\n * The conversation object represents an exchange of messages between one or more users. A [Conversation](#schema_conversation) is always linked to an integration\\'s channels. For example, a Slack channel represents a conversation.\n * @export\n * @interface Conversation\n */\nexport interface Conversation {\n /**\n * Id of the [Conversation](#schema_conversation)\n * @type {string}\n * @memberof Conversation\n */\n 'id': string;\n /**\n * Creation date of the [Conversation](#schema_conversation) in the ISO 8601 format\n * @type {string}\n * @memberof Conversation\n */\n 'createdAt': string;\n /**\n * Updating date of the [Conversation](#schema_conversation) in the ISO 8601 format\n * @type {string}\n * @memberof Conversation\n */\n 'updatedAt': string;\n /**\n * Name of the channel where the [Conversation](#schema_conversation) is happening\n * @type {string}\n * @memberof Conversation\n */\n 'channel': string;\n /**\n * Name of the integration that created the [Conversation](#schema_conversation)\n * @type {string}\n * @memberof Conversation\n */\n 'integration': string;\n /**\n * Set of [Tags](#tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](#tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](#tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.\n * @type {{ [key: string]: string; }}\n * @memberof Conversation\n */\n 'tags': { [key: string]: string; };\n}\n/**\n * \n * @export\n * @interface CreateBotBody\n */\nexport interface CreateBotBody {\n /**\n * A mapping of states to their definition\n * @type {{ [key: string]: CreateBotBodyStatesValue; }}\n * @memberof CreateBotBody\n */\n 'states'?: { [key: string]: CreateBotBodyStatesValue; };\n /**\n * \n * @type {CreateBotBodyTags}\n * @memberof CreateBotBody\n */\n 'tags'?: CreateBotBodyTags;\n /**\n * Events definition\n * @type {{ [key: string]: CreateBotBodyEventsValue; }}\n * @memberof CreateBotBody\n */\n 'events'?: { [key: string]: CreateBotBodyEventsValue; };\n /**\n * Recurring events\n * @type {{ [key: string]: CreateBotBodyRecurringEventsValue; }}\n * @memberof CreateBotBody\n */\n 'recurringEvents'?: { [key: string]: CreateBotBodyRecurringEventsValue; };\n /**\n * \n * @type {CreateBotBodyConfiguration}\n * @memberof CreateBotBody\n */\n 'configuration'?: CreateBotBodyConfiguration;\n /**\n * JavaScript code of the bot\n * @type {string}\n * @memberof CreateBotBody\n */\n 'code'?: string;\n /**\n * Optional name for the bot, if not provided will be auto-generated\n * @type {string}\n * @memberof CreateBotBody\n */\n 'name'?: string;\n /**\n * Media files associated with the [Bot](#schema_bot)\n * @type {Array<CreateBotBodyMediasInner>}\n * @memberof CreateBotBody\n */\n 'medias'?: Array<CreateBotBodyMediasInner>;\n /**\n * URL of the [Bot](#schema_bot); Only available for dev bots\n * @type {string}\n * @memberof CreateBotBody\n */\n 'url'?: string;\n /**\n * Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations\n * @type {boolean}\n * @memberof CreateBotBody\n */\n 'dev'?: boolean;\n}\n/**\n * \n * @export\n * @interface CreateBotBodyConfiguration\n */\nexport interface CreateBotBodyConfiguration {\n /**\n * Configuration data\n * @type {{ [key: string]: any; }}\n * @memberof CreateBotBodyConfiguration\n */\n 'data'?: { [key: string]: any; };\n /**\n * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.\n * @type {{ [key: string]: any; }}\n * @memberof CreateBotBodyConfiguration\n */\n 'schema'?: { [key: string]: any; };\n}\n/**\n * Event schema\n * @export\n * @interface CreateBotBodyEventsValue\n */\nexport interface CreateBotBodyEventsValue {\n /**\n * \n * @type {{ [key: string]: any; }}\n * @memberof CreateBotBodyEventsValue\n */\n 'schema': { [key: string]: any; };\n}\n/**\n * \n * @export\n * @interface CreateBotBodyMediasInner\n */\nexport interface CreateBotBodyMediasInner {\n /**\n * \n * @type {string}\n * @memberof CreateBotBodyMediasInner\n */\n 'url': string;\n /**\n * \n * @type {string}\n * @memberof CreateBotBodyMediasInner\n */\n 'name': string;\n}\n/**\n * \n * @export\n * @interface CreateBotBodyRecurringEventsValue\n */\nexport interface CreateBotBodyRecurringEventsValue {\n /**\n * \n * @type {CreateBotBodyRecurringEventsValueSchedule}\n * @memberof CreateBotBodyRecurringEventsValue\n */\n 'schedule': CreateBotBodyRecurringEventsValueSchedule;\n /**\n * \n * @type {string}\n * @memberof CreateBotBodyRecurringEventsValue\n */\n 'type': string;\n /**\n * \n * @type {{ [key: string]: any; }}\n * @memberof CreateBotBodyRecurringEventsValue\n */\n 'payload': { [key: string]: any; };\n}\n/**\n * \n * @export\n * @interface CreateBotBodyRecurringEventsValueSchedule\n */\nexport interface CreateBotBodyRecurringEventsValueSchedule {\n /**\n * \n * @type {string}\n * @memberof CreateBotBodyRecurringEventsValueSchedule\n */\n 'cron': string;\n}\n/**\n * \n * @export\n * @interface CreateBotBodyStatesValue\n */\nexport interface CreateBotBodyStatesValue {\n /**\n * Type of the [State](#schema_state) (`conversation`, `user` or `bot`)\n * @type {string}\n * @memberof CreateBotBodyStatesValue\n */\n 'type': CreateBotBodyStatesValueTypeEnum;\n /**\n * Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.\n * @type {{ [key: string]: any; }}\n * @memberof CreateBotBodyStatesValue\n */\n 'schema': { [key: string]: any; };\n /**\n * Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn\\'t expire.\n * @type {number}\n * @memberof CreateBotBodyStatesValue\n */\n 'expiry'?: number;\n}\n\nexport const CreateBotBodyStatesValueTypeEnum = {\n Conversation: 'conversation',\n User: 'user',\n Bot: 'bot'\n} as const;\n\nexport type CreateBotBodyStatesValueTypeEnum = typeof CreateBotBodyStatesValueTypeEnum[keyof typeof CreateBotBodyStatesValueTypeEnum];\n\n/**\n * Tags of the bot\n * @export\n * @interface CreateBotBodyTags\n */\nexport interface CreateBotBodyTags {\n /**\n * \n * @type {Array<string>}\n * @memberof CreateBotBodyTags\n */\n 'messages'?: Array<string>;\n /**\n * \n * @type {Array<string>}\n * @memberof CreateBotBodyTags\n */\n 'conversations'?: Array<string>;\n /**\n * \n * @type {Array<string>}\n * @memberof CreateBotBodyTags\n */\n 'users'?: Array<string>;\n}\n/**\n * \n * @export\n * @interface CreateBotResponse\n */\nexport interface CreateBotResponse {\n /**\n * \n * @type {Bot}\n * @memberof CreateBotResponse\n */\n 'bot': Bot;\n}\n/**\n * \n * @export\n * @interface CreateConversationBody\n */\nexport interface CreateConversationBody {\n /**\n * Channel name\n * @type {string}\n * @memberof CreateConversationBody\n */\n 'channel': string;\n /**\n * Tags for the [Conversation](#schema_conversation)\n * @type {{ [key: string]: string; }}\n * @memberof CreateConversationBody\n */\n 'tags': { [key: string]: string; };\n /**\n * Name of the integration to which the conversation creation will be delegated\n * @type {string}\n * @memberof CreateConversationBody\n */\n 'integrationName'?: string;\n}\n/**\n * \n * @export\n * @interface CreateConversationResponse\n */\nexport interface CreateConversationResponse {\n /**\n * \n * @type {Conversation}\n * @memberof CreateConversationResponse\n */\n 'conversation': Conversation;\n}\n/**\n * \n * @export\n * @interface CreateEventBody\n */\nexport interface CreateEventBody {\n /**\n * Type of the [Event](#schema_event).\n * @type {string}\n * @memberof CreateEventBody\n */\n 'type': string;\n /**\n * Payload is the content of the event defined by the integration installed on your bot or one of the default events created by our API.\n * @type {{ [key: string]: any; }}\n * @memberof CreateEventBody\n */\n 'payload': { [key: string]: any; };\n /**\n * \n * @type {CreateEventBodySchedule}\n * @memberof CreateEventBody\n */\n 'schedule'?: CreateEventBodySchedule;\n}\n/**\n * Schedule the Event to be sent at a specific time. Either dateTime or delay must be provided.\n * @export\n * @interface CreateEventBodySchedule\n */\nexport interface CreateEventBodySchedule {\n /**\n * When the [Event](#schema_event) will be sent, in the ISO 8601 format\n * @type {string}\n * @memberof CreateEventBodySchedule\n */\n 'dateTime'?: string;\n /**\n * Delay in milliseconds before sending the [Event](#schema_event)\n * @type {number}\n * @memberof CreateEventBodySchedule\n */\n 'delay'?: number;\n}\n/**\n * \n * @export\n * @interface CreateEventResponse\n */\nexport interface CreateEventResponse {\n /**\n * \n * @type {Event}\n * @memberof CreateEventResponse\n */\n 'event': Event;\n}\n/**\n * \n * @export\n * @interface CreateFileBody\n */\nexport interface CreateFileBody {\n /**\n * ID of the bot the file will be used for\n * @type {string}\n * @memberof CreateFileBody\n */\n 'botId': string;\n /**\n * Base64-encoded file contents\n * @type {string}\n * @memberof CreateFileBody\n */\n 'contents': string;\n /**\n * Optional arbitrary file name (e.g. my-image.jpg), will be used for display purposes only.\n * @type {string}\n * @memberof CreateFileBody\n */\n 'name': string;\n /**\n * Accepted values: private, public\n * @type {string}\n * @memberof CreateFileBody\n */\n 'accessType': CreateFileBodyAccessTypeEnum;\n}\n\nexport const CreateFileBodyAccessTypeEnum = {\n Private: 'private',\n Public: 'public'\n} as const;\n\nexport type CreateFileBodyAccessTypeEnum = typeof CreateFileBodyAccessTypeEnum[keyof typeof CreateFileBodyAccessTypeEnum];\n\n/**\n * \n * @export\n * @interface CreateFileResponse\n */\nexport interface CreateFileResponse {\n /**\n * \n * @type {any}\n * @memberof CreateFileResponse\n */\n 'file': any;\n}\n/**\n * \n * @export\n * @interface CreateIntegrationBody\n */\nexport interface CreateIntegrationBody {\n /**\n * Name of the [Integration](#schema_integration)\n * @type {string}\n * @memberof CreateIntegrationBody\n */\n 'name': string;\n /**\n * Version of the [Integration](#schema_integration)\n * @type {string}\n * @memberof CreateIntegrationBody\n */\n 'version': string;\n /**\n * \n * @type {CreateIntegrationBodyTags}\n * @memberof CreateIntegrationBody\n */\n 'tags'?: CreateIntegrationBodyTags;\n /**\n * Channels definition\n * @type {{ [key: string]: CreateIntegrationBodyChannelsValue; }}\n * @memberof CreateIntegrationBody\n */\n 'channels'?: { [key: string]: CreateIntegrationBodyChannelsValue; };\n /**\n * States definition\n * @type {{ [key: string]: CreateIntegrationBodyStatesValue; }}\n * @memberof CreateIntegrationBody\n */\n 'states'?: { [key: string]: CreateIntegrationBodyStatesValue; };\n /**\n * \n * @type {CreateIntegrationBodyConfiguration}\n * @memberof CreateIntegrationBody\n */\n 'configuration'?: CreateIntegrationBodyConfiguration;\n /**\n * Events definition\n * @type {{ [key: string]: CreateBotBodyEventsValue; }}\n * @memberof CreateIntegrationBody\n */\n 'events'?: { [key: string]: CreateBotBodyEventsValue; };\n /**\n * Action definition\n * @type {{ [key: string]: CreateIntegrationBodyActionsValue; }}\n * @memberof CreateIntegrationBody\n */\n 'actions'?: { [key: string]: CreateIntegrationBodyActionsValue; };\n /**\n * \n * @type {CreateIntegrationBodyUser}\n * @memberof CreateIntegrationBody\n */\n 'user'?: CreateIntegrationBodyUser;\n /**\n * JavaScript code of the integration\n * @type {string}\n * @memberof CreateIntegrationBody\n */\n 'code'?: string;\n /**\n * Whether the integration is public\n * @type {boolean}\n * @memberof CreateIntegrationBody\n */\n 'public'?: boolean;\n /**\n * URL of the integration; Only available for dev integrations\n * @type {string}\n * @memberof CreateIntegrationBody\n */\n 'url'?: string;\n /**\n * Indicates if the integration is a development integration; Dev integrations run locally\n * @type {boolean}\n * @memberof CreateIntegrationBody\n */\n 'dev'?: boolean;\n}\n/**\n * \n * @export\n * @interface CreateIntegrationBodyActionsValue\n */\nexport interface CreateIntegrationBodyActionsValue {\n /**\n * \n * @type {CreateIntegrationBodyChannelsValueMessagesValue}\n * @memberof CreateIntegrationBodyActionsValue\n */\n 'input': CreateIntegrationBodyChannelsValueMessagesValue;\n /**\n * \n * @type {CreateIntegrationBodyChannelsValueMessagesValue}\n * @memberof CreateIntegrationBodyActionsValue\n */\n 'output': CreateIntegrationBodyChannelsValueMessagesValue;\n}\n/**\n * \n * @export\n * @interface CreateIntegrationBodyChannelsValue\n */\nexport interface CreateIntegrationBodyChannelsValue {\n /**\n * \n * @type {CreateIntegrationBodyChannelsValueTags}\n * @memberof CreateIntegrationBodyChannelsValue\n */\n 'tags'?: CreateIntegrationBodyChannelsValueTags;\n /**\n * \n * @type {{ [key: string]: CreateIntegrationBodyChannelsValueMessagesValue; }}\n * @memberof CreateIntegrationBodyChannelsValue\n */\n 'messages': { [key: string]: CreateIntegrationBodyChannelsValueMessagesValue; };\n /**\n * \n * @type {CreateIntegrationBodyChannelsValueConversation}\n * @memberof CreateIntegrationBodyChannelsValue\n */\n 'conversation'?: CreateIntegrationBodyChannelsValueConversation;\n}\n/**\n * \n * @export\n * @interface CreateIntegrationBodyChannelsValueConversation\n */\nexport interface CreateIntegrationBodyChannelsValueConversation {\n /**\n * \n * @type {CreateIntegrationBodyChannelsValueConversationCreation}\n * @memberof CreateIntegrationBodyChannelsValueConversation\n */\n 'creation': CreateIntegrationBodyChannelsValueConversationCreation;\n}\n/**\n * The conversation creation setting determines how to create a conversation through the API directly. The integration will have to implement the `createConversation` functionality to support this setting.\n * @export\n * @interface CreateIntegrationBodyChannelsValueConversationCreation\n */\nexport interface CreateIntegrationBodyChannelsValueConversationCreation {\n /**\n * Enable conversation creation\n * @type {boolean}\n * @memberof CreateIntegrationBodyChannelsValueConversationCreation\n */\n 'enabled': boolean;\n /**\n * The list of tags that are required to be specified when calling the API directly to create a conversation.\n * @type {Array<string>}\n * @memberof CreateIntegrationBodyChannelsValueConversationCreation\n */\n 'requiredTags': Array<string>;\n}\n/**\n * \n * @export\n * @interface CreateIntegrationBodyChannelsValueMessagesValue\n */\nexport interface CreateIntegrationBodyChannelsValueMessagesValue {\n /**\n * \n * @type {{ [key: string]: any; }}\n * @memberof CreateIntegrationBodyChannelsValueMessagesValue\n */\n 'schema': { [key: string]: any; };\n}\n/**\n * \n * @export\n * @interface CreateIntegrationBodyChannelsValueTags\n */\nexport interface CreateIntegrationBodyChannelsValueTags {\n /**\n * \n * @type {Array<string>}\n * @memberof CreateIntegrationBodyChannelsValueTags\n */\n 'messages'?: Array<string>;\n /**\n * \n * @type {Array<string>}\n * @memberof CreateIntegrationBodyChannelsValueTags\n */\n 'conversations'?: Array<string>;\n}\n/**\n * Configuration definition\n * @export\n * @interface CreateIntegrationBodyConfiguration\n */\nexport interface CreateIntegrationBodyConfiguration {\n /**\n * Schema for the configuration\n * @type {{ [key: string]: any; }}\n * @memberof CreateIntegrationBodyConfiguration\n */\n 'schema': { [key: string]: any; };\n}\n/**\n * \n * @export\n * @interface CreateIntegrationBodyStatesValue\n */\nexport interface CreateIntegrationBodyStatesValue {\n /**\n * Type of the [State](#schema_state) (`conversation`, `user` or `integration`)\n * @type {string}\n * @memberof CreateIntegrationBodyStatesValue\n */\n 'type': CreateIntegrationBodyStatesValueTypeEnum;\n /**\n * Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.\n * @type {{ [key: string]: any; }}\n * @memberof CreateIntegrationBodyStatesValue\n */\n 'schema': { [key: string]: any; };\n}\n\nexport const CreateIntegrationBodyStatesValueTypeEnum = {\n Conversation: 'conversation',\n User: 'user',\n Integration: 'integration'\n} as const;\n\nexport type CreateIntegrationBodyStatesValueTypeEnum = typeof CreateIntegrationBodyStatesValueTypeEnum[keyof typeof CreateIntegrationBodyStatesValueTypeEnum];\n\n/**\n * Tags of the [Integration](#schema_integration)\n * @export\n * @interface CreateIntegrationBodyTags\n */\nexport interface CreateIntegrationBodyTags {\n /**\n * \n * @type {Array<string>}\n * @memberof CreateIntegrationBodyTags\n */\n 'users'?: Array<string>;\n}\n/**\n * \n * @export\n * @interface CreateIntegrationBodyUser\n */\nexport interface CreateIntegrationBodyUser {\n /**\n * \n * @type {CreateIntegrationBodyUserCreation}\n * @memberof CreateIntegrationBodyUser\n */\n 'creation': CreateIntegrationBodyUserCreation;\n}\n/**\n * The user creation setting determines how to create a user through the API directly. The integration will have to implement the `createUser` functionality to support this setting.\n * @export\n * @interface CreateIntegrationBodyUserCreation\n */\nexport interface CreateIntegrationBodyUserCreation {\n /**\n * Enable user creation\n * @type {boolean}\n * @memberof CreateIntegrationBodyUserCreation\n */\n 'enabled': boolean;\n /**\n * The list of tags that are required to be specified when calling the API directly to create a user.\n * @type {Array<string>}\n * @memberof CreateIntegrationBodyUserCreation\n */\n 'requiredTags': Array<string>;\n}\n/**\n * \n * @export\n * @interface CreateIntegrationResponse\n */\nexport interface CreateIntegrationResponse {\n /**\n * \n * @type {Integration}\n * @memberof CreateIntegrationResponse\n */\n 'integration': Integration;\n}\n/**\n * \n * @export\n * @interface CreateMessageBody\n */\nexport interface CreateMessageBody {\n /**\n * Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location\n * @type {{ [key: string]: any; }}\n * @memberof CreateMessageBody\n */\n 'payload': { [key: string]: any; };\n /**\n * ID of the [User](#schema_user)\n * @type {string}\n * @memberof CreateMessageBody\n */\n 'userId': string;\n /**\n * ID of the [Conversation](#schema_conversation)\n * @type {string}\n * @memberof CreateMessageBody\n */\n 'conversationId': string;\n /**\n * Type of the [Message](#schema_message) represents the resource type that the message is related to\n * @type {string}\n * @memberof CreateMessageBody\n */\n 'type': string;\n /**\n * Set of [Tags](#tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](#tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](#tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.\n * @type {{ [key: string]: string; }}\n * @memberof CreateMessageBody\n */\n 'tags': { [key: string]: string; };\n /**\n * \n * @type {CreateMessageBodySchedule}\n * @memberof CreateMessageBody\n */\n 'schedule'?: CreateMessageBodySchedule;\n}\n/**\n * Schedule the Message to be sent at a specific time. Either dateTime or delay must be provided.\n * @export\n * @interface CreateMessageBodySchedule\n */\nexport interface CreateMessageBodySchedule {\n /**\n * When the [Message](#schema_message) will be sent, in the ISO 8601 format\n * @type {string}\n * @memberof CreateMessageBodySchedule\n */\n 'dateTime'?: string;\n /**\n * Delay in milliseconds before sending the [Message](#schema_message)\n * @type {number}\n * @memberof CreateMessageBodySchedule\n */\n 'delay'?: number;\n}\n/**\n * \n * @export\n * @interface CreateMessageResponse\n */\nexport interface CreateMessageResponse {\n /**\n * \n * @type {Message}\n * @memberof CreateMessageResponse\n */\n 'message': Message;\n}\n/**\n * \n * @export\n * @interface CreateUserBody\n */\nexport interface CreateUserBody {\n /**\n * Tags for the [User](#schema_user)\n * @type {{ [key: string]: string; }}\n * @memberof CreateUserBody\n */\n 'tags': { [key: string]: string; };\n /**\n * Name of the integration to which the user creation will be delegated\n * @type {string}\n * @memberof CreateUserBody\n */\n 'integrationName'?: string;\n}\n/**\n * \n * @export\n * @interface CreateUserResponse\n */\nexport interface CreateUserResponse {\n /**\n * \n * @type {User}\n * @memberof CreateUserResponse\n */\n 'user': User;\n}\n/**\n * The event object represents an action or an occurrence.\n * @export\n * @interface Event\n */\nexport interface Event {\n /**\n * Id of the [Event](#schema_event)\n * @type {string}\n * @memberof Event\n */\n 'id': string;\n /**\n * Creation date of the [Event](#schema_event) in the ISO 8601 format\n * @type {string}\n * @memberof Event\n */\n 'createdAt': string;\n /**\n * Type of the [Event](#schema_event).\n * @type {string}\n * @memberof Event\n */\n 'type': string;\n /**\n * Payload is the content of the event defined by the integration installed on your bot or one of the default events created by our api.\n * @type {{ [key: string]: any; }}\n * @memberof Event\n */\n 'payload': { [key: string]: any; };\n}\n/**\n * \n * @export\n * @interface GetBotAnalyticsResponse\n */\nexport interface GetBotAnalyticsResponse {\n /**\n * \n * @type {Array<GetBotAnalyticsResponseRecordsInner>}\n * @memberof GetBotAnalyticsResponse\n */\n 'records': Array<GetBotAnalyticsResponseRecordsInner>;\n}\n/**\n * \n * @export\n * @interface GetBotAnalyticsResponseRecordsInner\n */\nexport interface GetBotAnalyticsResponseRecordsInner {\n /**\n * ISO 8601 date string of the beginning (inclusive) of the period\n * @type {string}\n * @memberof GetBotAnalyticsResponseRecordsInner\n */\n 'startDateTimeUtc': string;\n /**\n * ISO 8601 date string of the end (exclusive) of the period\n * @type {string}\n * @memberof GetBotAnalyticsResponseRecordsInner\n */\n 'endDateTimeUtc': string;\n /**\n * \n * @type {number}\n * @memberof GetBotAnalyticsResponseRecordsInner\n */\n 'returningUsers': number;\n /**\n * \n * @type {number}\n * @memberof GetBotAnalyticsResponseRecordsInner\n */\n 'newUsers': number;\n /**\n * \n * @type {number}\n * @memberof GetBotAnalyticsResponseRecordsInner\n */\n 'sessions': number;\n /**\n * \n * @type {number}\n * @memberof GetBotAnalyticsResponseRecordsInner\n */\n 'messages': number;\n}\n/**\n * \n * @export\n * @interface GetBotLogsResponse\n */\nexport interface GetBotLogsResponse {\n /**\n * \n * @type {Array<GetBotLogsResponseLogsInner>}\n * @memberof GetBotLogsResponse\n */\n 'logs': Array<GetBotLogsResponseLogsInner>;\n}\n/**\n * \n * @export\n * @interface GetBotLogsResponseLogsInner\n */\nexport interface GetBotLogsResponseLogsInner {\n /**\n * \n * @type {string}\n * @memberof GetBotLogsResponseLogsInner\n */\n 'timestamp': string;\n /**\n * \n * @type {string}\n * @memberof GetBotLogsResponseLogsInner\n */\n 'level': string;\n /**\n * \n * @type {string}\n * @memberof GetBotLogsResponseLogsInner\n */\n 'message': string;\n}\n/**\n * \n * @export\n * @interface GetBotResponse\n */\nexport interface GetBotResponse {\n /**\n * \n * @type {Bot}\n * @memberof GetBotResponse\n */\n 'bot': Bot;\n}\n/**\n * \n * @export\n * @interface GetBotWebchatResponse\n */\nexport interface GetBotWebchatResponse {\n /**\n * \n * @type {string}\n * @memberof GetBotWebchatResponse\n */\n 'code': string;\n}\n/**\n * \n * @export\n * @interface GetConversationResponse\n */\nexport interface GetConversationResponse {\n /**\n * \n * @type {Conversation}\n * @memberof GetConversationResponse\n */\n 'conversation': Conversation;\n}\n/**\n * \n * @export\n * @interface GetEventResponse\n */\nexport interface GetEventResponse {\n /**\n * \n * @type {Event}\n * @memberof GetEventResponse\n */\n 'event': Event;\n}\n/**\n * \n * @export\n * @interface GetFileResponse\n */\nexport interface GetFileResponse {\n /**\n * \n * @type {any}\n * @memberof GetFileResponse\n */\n 'file': any;\n}\n/**\n * \n * @export\n * @interface GetIntegrationByNameResponse\n */\nexport interface GetIntegrationByNameResponse {\n /**\n * \n * @type {Integration}\n * @memberof GetIntegrationByNameResponse\n */\n 'integration': Integration;\n}\n/**\n * \n * @export\n * @interface GetIntegrationResponse\n */\nexport interface GetIntegrationResponse {\n /**\n * \n * @type {Integration}\n * @memberof GetIntegrationResponse\n */\n 'integration': Integration;\n}\n/**\n * \n * @export\n * @interface GetMessageResponse\n */\nexport interface GetMessageResponse {\n /**\n * \n * @type {Message}\n * @memberof GetMessageResponse\n */\n 'message': Message;\n}\n/**\n * \n * @export\n * @interface GetOrCreateConversationBody\n */\nexport interface GetOrCreateConversationBody {\n /**\n * Channel name\n * @type {string}\n * @memberof GetOrCreateConversationBody\n */\n 'channel': string;\n /**\n * Tags for the [Conversation](#schema_conversation)\n * @type {{ [key: string]: string; }}\n * @memberof GetOrCreateConversationBody\n */\n 'tags': { [key: string]: string; };\n /**\n * Name of the integration to which the conversation creation will be delegated\n * @type {string}\n * @memberof GetOrCreateConversationBody\n */\n 'integrationName'?: string;\n}\n/**\n * \n * @export\n * @interface GetOrCreateConversationResponse\n */\nexport interface GetOrCreateConversationResponse {\n /**\n * \n * @type {Conversation}\n * @memberof GetOrCreateConversationResponse\n */\n 'conversation': Conversation;\n}\n/**\n * \n * @export\n * @interface GetOrCreateMessageBody\n */\nexport interface GetOrCreateMessageBody {\n /**\n * Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location\n * @type {{ [key: string]: any; }}\n * @memberof GetOrCreateMessageBody\n */\n 'payload': { [key: string]: any; };\n /**\n * ID of the [User](#schema_user)\n * @type {string}\n * @memberof GetOrCreateMessageBody\n */\n 'userId': string;\n /**\n * ID of the [Conversation](#schema_conversation)\n * @type {string}\n * @memberof GetOrCreateMessageBody\n */\n 'conversationId': string;\n /**\n * Type of the [Message](#schema_message) represents the resource type that the message is related to\n * @type {string}\n * @memberof GetOrCreateMessageBody\n */\n 'type': string;\n /**\n * Set of [Tags](#tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](#tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](#tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.\n * @type {{ [key: string]: string; }}\n * @memberof GetOrCreateMessageBody\n */\n 'tags': { [key: string]: string; };\n}\n/**\n * \n * @export\n * @interface GetOrCreateMessageResponse\n */\nexport interface GetOrCreateMessageResponse {\n /**\n * \n * @type {Message}\n * @memberof GetOrCreateMessageResponse\n */\n 'message': Message;\n}\n/**\n * \n * @export\n * @interface GetOrCreateUserBody\n */\nexport interface GetOrCreateUserBody {\n /**\n * Tags for the [User](#schema_user)\n * @type {{ [key: string]: string; }}\n * @memberof GetOrCreateUserBody\n */\n 'tags': { [key: string]: string; };\n /**\n * Name of the integration to which the user creation will be delegated\n * @type {string}\n * @memberof GetOrCreateUserBody\n */\n 'integrationName'?: string;\n}\n/**\n * \n * @export\n * @interface GetOrCreateUserResponse\n */\nexport interface GetOrCreateUserResponse {\n /**\n * \n * @type {User}\n * @memberof GetOrCreateUserResponse\n */\n 'user': User;\n}\n/**\n * \n * @export\n * @interface GetPublicIntegrationByIdResponse\n */\nexport interface GetPublicIntegrationByIdResponse {\n /**\n * \n * @type {Integration}\n * @memberof GetPublicIntegrationByIdResponse\n */\n 'integration': Integration;\n}\n/**\n * \n * @export\n * @interface GetPublicIntegrationResponse\n */\nexport interface GetPublicIntegrationResponse {\n /**\n * \n * @type {Integration}\n * @memberof GetPublicIntegrationResponse\n */\n 'integration': Integration;\n}\n/**\n * \n * @export\n * @interface GetStateResponse\n */\nexport interface GetStateResponse {\n /**\n * \n * @type {State}\n * @memberof GetStateResponse\n */\n 'state': State;\n}\n/**\n * \n * @export\n * @interface GetUserResponse\n */\nexport interface GetUserResponse {\n /**\n * \n * @type {User}\n * @memberof GetUserResponse\n */\n 'user': User;\n}\n/**\n * \n * @export\n * @interface Integration\n */\nexport interface Integration {\n /**\n * Id of the [Integration](#schema_integration)\n * @type {string}\n * @memberof Integration\n */\n 'id': string;\n /**\n * Creation date of the [Integration](#schema_integration) in the ISO 8601 format\n * @type {string}\n * @memberof Integration\n */\n 'createdAt': string;\n /**\n * Updating date of the [Integration](#schema_integration) in the ISO 8601 format\n * @type {string}\n * @memberof Integration\n */\n 'updatedAt': string;\n /**\n * Name of the [Integration](#schema_integration)\n * @type {string}\n * @memberof Integration\n */\n 'name': string;\n /**\n * Version of the [Integration](#schema_integration)\n * @type {string}\n * @memberof Integration\n */\n 'version': string;\n /**\n * Channels definition\n * @type {{ [key: string]: IntegrationChannelsValue; }}\n * @memberof Integration\n */\n 'channels': { [key: string]: IntegrationChannelsValue; };\n /**\n * States definition\n * @type {{ [key: string]: CreateIntegrationBodyStatesValue; }}\n * @memberof Integration\n */\n 'states'?: { [key: string]: CreateIntegrationBodyStatesValue; };\n /**\n * \n * @type {CreateIntegrationBodyConfiguration}\n * @memberof Integration\n */\n 'configuration': CreateIntegrationBodyConfiguration;\n /**\n * Events definition\n * @type {{ [key: string]: CreateBotBodyEventsValue; }}\n * @memberof Integration\n */\n 'events': { [key: string]: CreateBotBodyEventsValue; };\n /**\n * Action definition\n * @type {{ [key: string]: CreateIntegrationBodyActionsValue; }}\n * @memberof Integration\n */\n 'actions': { [key: string]: CreateIntegrationBodyActionsValue; };\n /**\n * \n * @type {CreateIntegrationBodyUser}\n * @memberof Integration\n */\n 'user': CreateIntegrationBodyUser;\n /**\n * Indicates if the integration is a development integration; Dev integrations run locally\n * @type {boolean}\n * @memberof Integration\n */\n 'dev': boolean;\n}\n/**\n * \n * @export\n * @interface IntegrationChannelsValue\n */\nexport interface IntegrationChannelsValue {\n /**\n * \n * @type {CreateIntegrationBodyChannelsValueTags}\n * @memberof IntegrationChannelsValue\n */\n 'tags': CreateIntegrationBodyChannelsValueTags;\n /**\n * \n * @type {{ [key: string]: CreateIntegrationBodyChannelsValueMessagesValue; }}\n * @memberof IntegrationChannelsValue\n */\n 'messages': { [key: string]: CreateIntegrationBodyChannelsValueMessagesValue; };\n /**\n * \n * @type {CreateIntegrationBodyChannelsValueConversation}\n * @memberof IntegrationChannelsValue\n */\n 'conversation': CreateIntegrationBodyChannelsValueConversation;\n}\n/**\n * \n * @export\n * @interface IntrospectBody\n */\nexport interface IntrospectBody {\n /**\n * \n * @type {string}\n * @memberof IntrospectBody\n */\n 'botId': string;\n}\n/**\n * \n * @export\n * @interface IntrospectResponse\n */\nexport interface IntrospectResponse {\n /**\n * \n * @type {string}\n * @memberof IntrospectResponse\n */\n 'workspaceId': string;\n /**\n * \n * @type {string}\n * @memberof IntrospectResponse\n */\n 'botId': string;\n /**\n * \n * @type {string}\n * @memberof IntrospectResponse\n */\n 'userId': string;\n}\n/**\n * \n * @export\n * @interface ListBotsResponse\n */\nexport interface ListBotsResponse {\n /**\n * \n * @type {Array<ListBotsResponseBotsInner>}\n * @memberof ListBotsResponse\n */\n 'bots': Array<ListBotsResponseBotsInner>;\n /**\n * \n * @type {ListConversationsResponseMeta}\n * @memberof ListBotsResponse\n */\n 'meta': ListConversationsResponseMeta;\n}\n/**\n * \n * @export\n * @interface ListBotsResponseBotsInner\n */\nexport interface ListBotsResponseBotsInner {\n /**\n * Id of the [Bot](#schema_bot)\n * @type {string}\n * @memberof ListBotsResponseBotsInner\n */\n 'id': string;\n /**\n * Creation date of the [Bot](#schema_bot) in the ISO 8601 format\n * @type {string}\n * @memberof ListBotsResponseBotsInner\n */\n 'createdAt': string;\n /**\n * Updating date of the [Bot](#schema_bot) in the ISO 8601 format\n * @type {string}\n * @memberof ListBotsResponseBotsInner\n */\n 'updatedAt': string;\n /**\n * \n * @type {string}\n * @memberof ListBotsResponseBotsInner\n */\n 'name': string;\n /**\n * \n * @type {string}\n * @memberof ListBotsResponseBotsInner\n */\n 'deployedAt'?: string;\n}\n/**\n * \n * @export\n * @interface ListConversationsResponse\n */\nexport interface ListConversationsResponse {\n /**\n * \n * @type {Array<Conversation>}\n * @memberof ListConversationsResponse\n */\n 'conversations': Array<Conversation>;\n /**\n * \n * @type {ListConversationsResponseMeta}\n * @memberof ListConversationsResponse\n */\n 'meta': ListConversationsResponseMeta;\n}\n/**\n * \n * @export\n * @interface ListConversationsResponseMeta\n */\nexport interface ListConversationsResponseMeta {\n /**\n * The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.\n * @type {string}\n * @memberof ListConversationsResponseMeta\n */\n 'nextToken'?: string;\n}\n/**\n * \n * @export\n * @interface ListEventsResponse\n */\nexport interface ListEventsResponse {\n /**\n * \n * @type {Array<Event>}\n * @memberof ListEventsResponse\n */\n 'events': Array<Event>;\n /**\n * \n * @type {ListConversationsResponseMeta}\n * @memberof ListEventsResponse\n */\n 'meta': ListConversationsResponseMeta;\n}\n/**\n * \n * @export\n * @interface ListFilesResponse\n */\nexport interface ListFilesResponse {\n /**\n * \n * @type {Array<any>}\n * @memberof ListFilesResponse\n */\n 'files': Array<any>;\n /**\n * \n * @type {ListConversationsResponseMeta}\n * @memberof ListFilesResponse\n */\n 'meta': ListConversationsResponseMeta;\n}\n/**\n * \n * @export\n * @interface ListIntegrationsResponse\n */\nexport interface ListIntegrationsResponse {\n /**\n * \n * @type {Array<ListPublicIntegrationsResponseIntegrationsInner>}\n * @memberof ListIntegrationsResponse\n */\n 'integrations': Array<ListPublicIntegrationsResponseIntegrationsInner>;\n /**\n * \n * @type {ListConversationsResponseMeta}\n * @memberof ListIntegrationsResponse\n */\n 'meta': ListConversationsResponseMeta;\n}\n/**\n * \n * @export\n * @interface ListMessagesResponse\n */\nexport interface ListMessagesResponse {\n /**\n * \n * @type {Array<Message>}\n * @memberof ListMessagesResponse\n */\n 'messages': Array<Message>;\n /**\n * \n * @type {ListConversationsResponseMeta}\n * @memberof ListMessagesResponse\n */\n 'meta': ListConversationsResponseMeta;\n}\n/**\n * \n * @export\n * @interface ListPublicIntegrationsResponse\n */\nexport interface ListPublicIntegrationsResponse {\n /**\n * \n * @type {Array<ListPublicIntegrationsResponseIntegrationsInner>}\n * @memberof ListPublicIntegrationsResponse\n */\n 'integrations': Array<ListPublicIntegrationsResponseIntegrationsInner>;\n /**\n * \n * @type {ListConversationsResponseMeta}\n * @memberof ListPublicIntegrationsResponse\n */\n 'meta': ListConversationsResponseMeta;\n}\n/**\n * \n * @export\n * @interface ListPublicIntegrationsResponseIntegrationsInner\n */\nexport interface ListPublicIntegrationsResponseIntegrationsInner {\n /**\n * Id of the [Integration](#schema_integration)\n * @type {string}\n * @memberof ListPublicIntegrationsResponseIntegrationsInner\n */\n 'id': string;\n /**\n * Name of the [Integration](#schema_integration)\n * @type {string}\n * @memberof ListPublicIntegrationsResponseIntegrationsInner\n */\n 'name': string;\n /**\n * Version of the [Integration](#schema_integration)\n * @type {string}\n * @memberof ListPublicIntegrationsResponseIntegrationsInner\n */\n 'version': string;\n /**\n * Creation date of the [Integration](#schema_integration) in the ISO 8601 format\n * @type {string}\n * @memberof ListPublicIntegrationsResponseIntegrationsInner\n */\n 'createdAt': string;\n /**\n * Updating date of the [Integration](#schema_integration) in the ISO 8601 format\n * @type {string}\n * @memberof ListPublicIntegrationsResponseIntegrationsInner\n */\n 'updatedAt': string;\n}\n/**\n * \n * @export\n * @interface ListUsersResponse\n */\nexport interface ListUsersResponse {\n /**\n * \n * @type {Array<User>}\n * @memberof ListUsersResponse\n */\n 'users': Array<User>;\n /**\n * \n * @type {ListConversationsResponseMeta}\n * @memberof ListUsersResponse\n */\n 'meta': ListConversationsResponseMeta;\n}\n/**\n * \n * @export\n * @interface ListWorkspacesResponse\n */\nexport interface ListWorkspacesResponse {\n /**\n * \n * @type {Array<ListWorkspacesResponseWorkspacesInner>}\n * @memberof ListWorkspacesResponse\n */\n 'workspaces': Array<ListWorkspacesResponseWorkspacesInner>;\n /**\n * \n * @type {ListConversationsResponseMeta}\n * @memberof ListWorkspacesResponse\n */\n 'meta': ListConversationsResponseMeta;\n}\n/**\n * \n * @export\n * @interface ListWorkspacesResponseWorkspacesInner\n */\nexport interface ListWorkspacesResponseWorkspacesInner {\n /**\n * \n * @type {string}\n * @memberof ListWorkspacesResponseWorkspacesInner\n */\n 'id': string;\n /**\n * \n * @type {string}\n * @memberof ListWorkspacesResponseWorkspacesInner\n */\n 'name': string;\n /**\n * \n * @type {string}\n * @memberof ListWorkspacesResponseWorkspacesInner\n */\n 'ownerId': string;\n /**\n * \n * @type {string}\n * @memberof ListWorkspacesResponseWorkspacesInner\n */\n 'createdAt': string;\n /**\n * \n * @type {string}\n * @memberof ListWorkspacesResponseWorkspacesInner\n */\n 'updatedAt': string;\n}\n/**\n * The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).\n * @export\n * @interface Message\n */\nexport interface Message {\n /**\n * Id of the [Message](#schema_message)\n * @type {string}\n * @memberof Message\n */\n 'id': string;\n /**\n * Creation date of the [Message](#schema_message) in the ISO 8601 format\n * @type {string}\n * @memberof Message\n */\n 'createdAt': string;\n /**\n * Type of the [Message](#schema_message) represents the resource type that the message is related to\n * @type {string}\n * @memberof Message\n */\n 'type': string;\n /**\n * Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location\n * @type {{ [key: string]: any; }}\n * @memberof Message\n */\n 'payload': { [key: string]: any; };\n /**\n * Direction of the message (`incoming` or `outgoing`).\n * @type {string}\n * @memberof Message\n */\n 'direction': MessageDirectionEnum;\n /**\n * ID of the [User](#schema_user)\n * @type {string}\n * @memberof Message\n */\n 'userId': string;\n /**\n * ID of the [Conversation](#schema_conversation)\n * @type {string}\n * @memberof Message\n */\n 'conversationId': string;\n /**\n * Set of [Tags](#tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](#tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](#tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.\n * @type {{ [key: string]: string; }}\n * @memberof Message\n */\n 'tags': { [key: string]: string; };\n}\n\nexport const MessageDirectionEnum = {\n Incoming: 'incoming',\n Outgoing: 'outgoing'\n} as const;\n\nexport type MessageDirectionEnum = typeof MessageDirectionEnum[keyof typeof MessageDirectionEnum];\n\n/**\n * \n * @export\n * @interface ModelFile\n */\nexport interface ModelFile {\n /**\n * ID of the bot the file will be used for\n * @type {string}\n * @memberof ModelFile\n */\n 'botId': string;\n /**\n * Optional arbitrary file name (e.g. my-image.jpg), will be used for display purposes only.\n * @type {string}\n * @memberof ModelFile\n */\n 'name': string;\n /**\n * Accepted values: private, public\n * @type {string}\n * @memberof ModelFile\n */\n 'accessType': ModelFileAccessTypeEnum;\n /**\n * ID of the [File](#schema_file)\n * @type {string}\n * @memberof ModelFile\n */\n 'id': string;\n /**\n * Creation date of the [File](#schema_file) in ISO 8601 format\n * @type {string}\n * @memberof ModelFile\n */\n 'createdAt': string;\n /**\n * Size of the file in bytes\n * @type {number}\n * @memberof ModelFile\n */\n 'size': number;\n /**\n * Public URL to the file contents, available only if the access type is public. If the file is private, use the Download endpoint to retrieve the file contents.\n * @type {string}\n * @memberof ModelFile\n */\n 'publicUrl'?: string;\n}\n\nexport const ModelFileAccessTypeEnum = {\n Private: 'private',\n Public: 'public'\n} as const;\n\nexport type ModelFileAccessTypeEnum = typeof ModelFileAccessTypeEnum[keyof typeof ModelFileAccessTypeEnum];\n\n/**\n * \n * @export\n * @interface PatchStateBody\n */\nexport interface PatchStateBody {\n /**\n * Payload is the content of the state defined by your bot.\n * @type {{ [key: string]: any; }}\n * @memberof PatchStateBody\n */\n 'payload': { [key: string]: any; };\n}\n/**\n * \n * @export\n * @interface PatchStateResponse\n */\nexport interface PatchStateResponse {\n /**\n * \n * @type {State}\n * @memberof PatchStateResponse\n */\n 'state': State;\n}\n/**\n * \n * @export\n * @interface SetStateBody\n */\nexport interface SetStateBody {\n /**\n * Payload is the content of the state defined by your bot.\n * @type {{ [key: string]: any; }}\n * @memberof SetStateBody\n */\n 'payload': { [key: string]: any; } | null;\n /**\n * Expiry of the [State](#schema_state) in milliseconds. The state will expire if it is idle for the configured value. By default, a state doesn\\'t expire.\n * @type {number}\n * @memberof SetStateBody\n */\n 'expiry'?: number;\n}\n/**\n * \n * @export\n * @interface SetStateResponse\n */\nexport interface SetStateResponse {\n /**\n * \n * @type {State}\n * @memberof SetStateResponse\n */\n 'state': State;\n}\n/**\n * The state object represents the current payload. A state is always linked to either a bot, a conversation or a user.\n * @export\n * @interface State\n */\nexport interface State {\n /**\n * Id of the [State](#schema_state)\n * @type {string}\n * @memberof State\n */\n 'id': string;\n /**\n * Creation date of the [State](#schema_state) in the ISO 8601 format\n * @type {string}\n * @memberof State\n */\n 'createdAt': string;\n /**\n * Updating date of the [State](#schema_state) in the ISO 8601 format\n * @type {string}\n * @memberof State\n */\n 'updatedAt': string;\n /**\n * Id of the [Bot](#schema_bot)\n * @type {string}\n * @memberof State\n */\n 'botId': string;\n /**\n * Id of the [Conversation](#schema_conversation)\n * @type {string}\n * @memberof State\n */\n 'conversationId'?: string;\n /**\n * Id of the [User](#schema_user)\n * @type {string}\n * @memberof State\n */\n 'userId'?: string;\n /**\n * Name of the [State](#schema_state) which is declared inside the bot definition\n * @type {string}\n * @memberof State\n */\n 'name': string;\n /**\n * Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot` or `integration`) that the state is related to\n * @type {string}\n * @memberof State\n */\n 'type': StateTypeEnum;\n /**\n * Payload is the content of the state defined by your bot.\n * @type {{ [key: string]: any; }}\n * @memberof State\n */\n 'payload': { [key: string]: any; };\n}\n\nexport const StateTypeEnum = {\n Conversation: 'conversation',\n User: 'user',\n Bot: 'bot',\n Integration: 'integration'\n} as const;\n\nexport type StateTypeEnum = typeof StateTypeEnum[keyof typeof StateTypeEnum];\n\n/**\n * \n * @export\n * @interface UpdateBotBody\n */\nexport interface UpdateBotBody {\n /**\n * URL of the [Bot](#schema_bot); Only available for dev bots\n * @type {string}\n * @memberof UpdateBotBody\n */\n 'url'?: string;\n /**\n * Type of the [Bot](#schema_bot) authentication (`iam`)\n * @type {string}\n * @memberof UpdateBotBody\n */\n 'authentication'?: UpdateBotBodyAuthenticationEnum;\n /**\n * A mapping of states to their definition\n * @type {{ [key: string]: CreateBotBodyStatesValue; }}\n * @memberof UpdateBotBody\n */\n 'states'?: { [key: string]: CreateBotBodyStatesValue; };\n /**\n * \n * @type {CreateBotBodyTags}\n * @memberof UpdateBotBody\n */\n 'tags'?: CreateBotBodyTags;\n /**\n * Events definition\n * @type {{ [key: string]: CreateBotBodyEventsValue; }}\n * @memberof UpdateBotBody\n */\n 'events'?: { [key: string]: CreateBotBodyEventsValue; };\n /**\n * Recurring events\n * @type {{ [key: string]: CreateBotBodyRecurringEventsValue; }}\n * @memberof UpdateBotBody\n */\n 'recurringEvents'?: { [key: string]: CreateBotBodyRecurringEventsValue; };\n /**\n * \n * @type {CreateBotBodyConfiguration}\n * @memberof UpdateBotBody\n */\n 'configuration'?: CreateBotBodyConfiguration;\n /**\n * \n * @type {boolean}\n * @memberof UpdateBotBody\n */\n 'blocked'?: boolean;\n /**\n * \n * @type {{ [key: string]: UpdateBotBodyIntegrationsValue; }}\n * @memberof UpdateBotBody\n */\n 'integrations'?: { [key: string]: UpdateBotBodyIntegrationsValue; };\n /**\n * JavaScript code of the bot\n * @type {string}\n * @memberof UpdateBotBody\n */\n 'code'?: string;\n /**\n * Optional name for the bot, if not provided will be auto-generated\n * @type {string}\n * @memberof UpdateBotBody\n */\n 'name'?: string;\n /**\n * Media files associated with the [Bot](#schema_bot)\n * @type {Array<CreateBotBodyMediasInner>}\n * @memberof UpdateBotBody\n */\n 'medias'?: Array<CreateBotBodyMediasInner>;\n}\n\nexport const UpdateBotBodyAuthenticationEnum = {\n Iam: 'iam'\n} as const;\n\nexport type UpdateBotBodyAuthenticationEnum = typeof UpdateBotBodyAuthenticationEnum[keyof typeof UpdateBotBodyAuthenticationEnum];\n\n/**\n * \n * @export\n * @interface UpdateBotBodyIntegrationsValue\n */\nexport interface UpdateBotBodyIntegrationsValue {\n /**\n * \n * @type {boolean}\n * @memberof UpdateBotBodyIntegrationsValue\n */\n 'enabled': boolean;\n /**\n * \n * @type {{ [key: string]: any; }}\n * @memberof UpdateBotBodyIntegrationsValue\n */\n 'configuration': { [key: string]: any; };\n}\n/**\n * \n * @export\n * @interface UpdateBotResponse\n */\nexport interface UpdateBotResponse {\n /**\n * \n * @type {Bot}\n * @memberof UpdateBotResponse\n */\n 'bot': Bot;\n}\n/**\n * \n * @export\n * @interface UpdateConversationBody\n */\nexport interface UpdateConversationBody {\n /**\n * Tags for the [Conversation](#schema_conversation)\n * @type {{ [key: string]: string; }}\n * @memberof UpdateConversationBody\n */\n 'tags': { [key: string]: string; };\n /**\n * Ids of the [User]s(#schema_user) participating in the conversation\n * @type {Array<string>}\n * @memberof UpdateConversationBody\n */\n 'participantIds': Array<string>;\n}\n/**\n * \n * @export\n * @interface UpdateConversationResponse\n */\nexport interface UpdateConversationResponse {\n /**\n * \n * @type {Conversation}\n * @memberof UpdateConversationResponse\n */\n 'conversation': Conversation;\n}\n/**\n * \n * @export\n * @interface UpdateIntegrationBody\n */\nexport interface UpdateIntegrationBody {\n /**\n * \n * @type {CreateIntegrationBodyTags}\n * @memberof UpdateIntegrationBody\n */\n 'tags'?: CreateIntegrationBodyTags;\n /**\n * Channels definition\n * @type {{ [key: string]: CreateIntegrationBodyChannelsValue; }}\n * @memberof UpdateIntegrationBody\n */\n 'channels'?: { [key: string]: CreateIntegrationBodyChannelsValue; };\n /**\n * States definition\n * @type {{ [key: string]: CreateIntegrationBodyStatesValue; }}\n * @memberof UpdateIntegrationBody\n */\n 'states'?: { [key: string]: CreateIntegrationBodyStatesValue; };\n /**\n * \n * @type {CreateIntegrationBodyConfiguration}\n * @memberof UpdateIntegrationBody\n */\n 'configuration'?: CreateIntegrationBodyConfiguration;\n /**\n * Events definition\n * @type {{ [key: string]: CreateBotBodyEventsValue; }}\n * @memberof UpdateIntegrationBody\n */\n 'events'?: { [key: string]: CreateBotBodyEventsValue; };\n /**\n * Action definition\n * @type {{ [key: string]: CreateIntegrationBodyActionsValue; }}\n * @memberof UpdateIntegrationBody\n */\n 'actions'?: { [key: string]: CreateIntegrationBodyActionsValue; };\n /**\n * \n * @type {CreateIntegrationBodyUser}\n * @memberof UpdateIntegrationBody\n */\n 'user'?: CreateIntegrationBodyUser;\n /**\n * JavaScript code of the integration\n * @type {string}\n * @memberof UpdateIntegrationBody\n */\n 'code'?: string;\n /**\n * Whether the integration is public\n * @type {boolean}\n * @memberof UpdateIntegrationBody\n */\n 'public'?: boolean;\n /**\n * URL of the integration; Only available for dev integrations\n * @type {string}\n * @memberof UpdateIntegrationBody\n */\n 'url'?: string;\n}\n/**\n * \n * @export\n * @interface UpdateIntegrationResponse\n */\nexport interface UpdateIntegrationResponse {\n /**\n * \n * @type {Integration}\n * @memberof UpdateIntegrationResponse\n */\n 'integration': Integration;\n}\n/**\n * \n * @export\n * @interface UpdateMessageBody\n */\nexport interface UpdateMessageBody {\n /**\n * Set of [Tags](#tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](#tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](#tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.\n * @type {{ [key: string]: string; }}\n * @memberof UpdateMessageBody\n */\n 'tags': { [key: string]: string; };\n}\n/**\n * \n * @export\n * @interface UpdateMessageResponse\n */\nexport interface UpdateMessageResponse {\n /**\n * \n * @type {Message}\n * @memberof UpdateMessageResponse\n */\n 'message': Message;\n}\n/**\n * \n * @export\n * @interface UpdateUserBody\n */\nexport interface UpdateUserBody {\n /**\n * Tags for the [User](#schema_user)\n * @type {{ [key: string]: string; }}\n * @memberof UpdateUserBody\n */\n 'tags': { [key: string]: string; };\n}\n/**\n * \n * @export\n * @interface UpdateUserResponse\n */\nexport interface UpdateUserResponse {\n /**\n * \n * @type {User}\n * @memberof UpdateUserResponse\n */\n 'user': User;\n}\n/**\n * The user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users.\n * @export\n * @interface User\n */\nexport interface User {\n /**\n * Id of the [User](#schema_user)\n * @type {string}\n * @memberof User\n */\n 'id': string;\n /**\n * Creation date of the [User](#schema_user) in the ISO 8601 format\n * @type {string}\n * @memberof User\n */\n 'createdAt': string;\n /**\n * Updating date of the [User](#schema_user) in the ISO 8601 format\n * @type {string}\n * @memberof User\n */\n 'updatedAt': string;\n /**\n * Set of [Tags](#tags) that you can attach to a [User](#schema_user). The set of [Tags](#tags) available on a [User](#schema_user) is restricted by the list of [Tags](#tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.\n * @type {{ [key: string]: string; }}\n * @memberof User\n */\n 'tags': { [key: string]: string; };\n}\n\n/**\n * DefaultApi - axios parameter creator\n * @export\n */\nexport const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * Call an action\n * @param {CallActionBody} [callActionBody] Action payload\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n callAction: async (callActionBody?: CallActionBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/chat/actions`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(callActionBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * An integration can call this endpoint to configure itself\n * @param {ConfigureIntegrationBody} [configureIntegrationBody] Configuration of the integration\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n configureIntegration: async (configureIntegrationBody?: ConfigureIntegrationBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/chat/integrations/configure`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(configureIntegrationBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Create bot\n * @param {CreateBotBody} [createBotBody] Bot metadata\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createBot: async (createBotBody?: CreateBotBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/admin/bots`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(createBotBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Creates a new [Conversation](#schema_conversation). When creating a new [Conversation](#schema_conversation), the required tags must be provided. See the specific integration for more details.\n * @param {CreateConversationBody} [createConversationBody] Conversation data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createConversation: async (createConversationBody?: CreateConversationBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/chat/conversations`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(createConversationBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Creates a new [Event](#schema_event) . When creating a new [Event](#schema_event), the required tags must be provided. See the specific integration for more details.\n * @param {CreateEventBody} [createEventBody] Event data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createEvent: async (createEventBody?: CreateEventBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/chat/events`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(createEventBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Create File\n * @param {CreateFileBody} [createFileBody] Create File\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createFile: async (createFileBody?: CreateFileBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/storage/files`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(createFileBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Create integration\n * @param {CreateIntegrationBody} [createIntegrationBody] Integration\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createIntegration: async (createIntegrationBody?: CreateIntegrationBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/admin/integrations`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(createIntegrationBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Creates a new [Message](#schema_message). When creating a new [Message](#schema_message), the required tags must be provided. See the specific integration for more details.\n * @param {CreateMessageBody} [createMessageBody] Message data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createMessage: async (createMessageBody?: CreateMessageBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/chat/messages`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(createMessageBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Creates a new [User](#schema_user). When creating a new [User](#schema_user), the required tags must be provided. See the specific integration for more details.\n * @param {CreateUserBody} [createUserBody] User data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createUser: async (createUserBody?: CreateUserBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/chat/users`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(createUserBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Delete bot\n * @param {string} id Bot ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteBot: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('deleteBot', 'id', id)\n const localVarPath = `/v1/admin/bots/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Permanently deletes a [Conversation](#schema_conversation). It cannot be undone. Also immediately deletes corresponding [Messages](#schema_message).\n * @param {string} id Conversation id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteConversation: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('deleteConversation', 'id', id)\n const localVarPath = `/v1/chat/conversations/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Delete File\n * @param {string} id File ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteFile: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('deleteFile', 'id', id)\n const localVarPath = `/v1/storage/files/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Delete integration\n * @param {string} id Integration Id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteIntegration: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('deleteIntegration', 'id', id)\n const localVarPath = `/v1/admin/integrations/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Permanently deletes a [Message](#schema_message). It cannot be undone.\n * @param {string} id Message id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteMessage: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('deleteMessage', 'id', id)\n const localVarPath = `/v1/chat/messages/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Permanently deletes a [User](#schema_user). It cannot be undone.\n * @param {string} id User ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteUser: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('deleteUser', 'id', id)\n const localVarPath = `/v1/chat/users/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Download File\n * @param {string} id File ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n downloadFile: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('downloadFile', 'id', id)\n const localVarPath = `/v1/storage/files/{id}/download`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Get bot details\n * @param {string} id Bot ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getBot: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('getBot', 'id', id)\n const localVarPath = `/v1/admin/bots/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Get bot analytics\n * @param {string} id Bot ID\n * @param {string} startDate Start date/time (inclusive)\n * @param {string} endDate End date/time (exclusive)\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getBotAnalytics: async (id: string, startDate: string, endDate: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('getBotAnalytics', 'id', id)\n // verify required parameter 'startDate' is not null or undefined\n assertParamExists('getBotAnalytics', 'startDate', startDate)\n // verify required parameter 'endDate' is not null or undefined\n assertParamExists('getBotAnalytics', 'endDate', endDate)\n const localVarPath = `/v1/admin/bots/{id}/analytics`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (startDate !== undefined) {\n localVarQueryParameter['startDate'] = startDate;\n }\n\n if (endDate !== undefined) {\n localVarQueryParameter['endDate'] = endDate;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Get bot logs\n * @param {string} id Bot ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getBotLogs: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('getBotLogs', 'id', id)\n const localVarPath = `/v1/admin/bots/{id}/logs`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Get the webchat code/URL for a bot\n * @param {string} id Bot ID\n * @param {'preconfigured' | 'configurable' | 'fullscreen' | 'sharableUrl'} type type of script to get\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getBotWebchat: async (id: string, type: 'preconfigured' | 'configurable' | 'fullscreen' | 'sharableUrl', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('getBotWebchat', 'id', id)\n // verify required parameter 'type' is not null or undefined\n assertParamExists('getBotWebchat', 'type', type)\n const localVarPath = `/v1/admin/bots/{id}/webchat`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (type !== undefined) {\n localVarQueryParameter['type'] = type;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the [Conversation](#schema_conversation) object for a valid identifier.\n * @param {string} id Conversation id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getConversation: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('getConversation', 'id', id)\n const localVarPath = `/v1/chat/conversations/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the [Event](#schema_event) object for a valid identifiers.\n * @param {string} id Event id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getEvent: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('getEvent', 'id', id)\n const localVarPath = `/v1/chat/events/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Get File\n * @param {string} id File ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getFile: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('getFile', 'id', id)\n const localVarPath = `/v1/storage/files/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Get integration\n * @param {string} id Integration Id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getIntegration: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('getIntegration', 'id', id)\n const localVarPath = `/v1/admin/integrations/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Get integration\n * @param {string} name Integration Name\n * @param {string} version Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getIntegrationByName: async (name: string, version: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'name' is not null or undefined\n assertParamExists('getIntegrationByName', 'name', name)\n // verify required parameter 'version' is not null or undefined\n assertParamExists('getIntegrationByName', 'version', version)\n const localVarPath = `/v1/admin/integrations/{name}/{version}`\n .replace(`{${\"name\"}}`, encodeURIComponent(String(name)))\n .replace(`{${\"version\"}}`, encodeURIComponent(String(version)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the [Message](#schema_message) object for a valid identifier.\n * @param {string} id Id of the Message\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getMessage: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('getMessage', 'id', id)\n const localVarPath = `/v1/chat/messages/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the [Conversation](#schema_conversation) object for a valid identifier. If the conversation does not exist, it will be created.\n * @param {GetOrCreateConversationBody} [getOrCreateConversationBody] Conversation data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getOrCreateConversation: async (getOrCreateConversationBody?: GetOrCreateConversationBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/chat/conversations/get-or-create`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(getOrCreateConversationBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the [Message](#schema_message) object for a valid identifier. If the message does not exist, it will be created.\n * @param {GetOrCreateMessageBody} [getOrCreateMessageBody] Message data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getOrCreateMessage: async (getOrCreateMessageBody?: GetOrCreateMessageBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/chat/messages/get-or-create`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(getOrCreateMessageBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.\n * @param {GetOrCreateUserBody} [getOrCreateUserBody] User data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getOrCreateUser: async (getOrCreateUserBody?: GetOrCreateUserBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/chat/users/get-or-create`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(getOrCreateUserBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Get public integration by name and version\n * @param {string} name Integration Name\n * @param {string} version Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getPublicIntegration: async (name: string, version: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'name' is not null or undefined\n assertParamExists('getPublicIntegration', 'name', name)\n // verify required parameter 'version' is not null or undefined\n assertParamExists('getPublicIntegration', 'version', version)\n const localVarPath = `/v1/admin/hub/integrations/{name}/{version}`\n .replace(`{${\"name\"}}`, encodeURIComponent(String(name)))\n .replace(`{${\"version\"}}`, encodeURIComponent(String(version)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Get public integration by Id\n * @param {string} id Integration Id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getPublicIntegrationById: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('getPublicIntegrationById', 'id', id)\n const localVarPath = `/v1/admin/hub/integrations/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the [State](#schema_state) object for a valid identifiers.\n * @param {'conversation' | 'user' | 'bot' | 'integration'} type State type\n * @param {string} id State id\n * @param {string} name State name\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getState: async (type: 'conversation' | 'user' | 'bot' | 'integration', id: string, name: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'type' is not null or undefined\n assertParamExists('getState', 'type', type)\n // verify required parameter 'id' is not null or undefined\n assertParamExists('getState', 'id', id)\n // verify required parameter 'name' is not null or undefined\n assertParamExists('getState', 'name', name)\n const localVarPath = `/v1/chat/states/{type}/{id}/{name}`\n .replace(`{${\"type\"}}`, encodeURIComponent(String(type)))\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)))\n .replace(`{${\"name\"}}`, encodeURIComponent(String(name)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves the [User](#schema_user) object for a valid identifier.\n * @param {string} id User ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getUser: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('getUser', 'id', id)\n const localVarPath = `/v1/chat/users/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Introspect the API\n * @param {IntrospectBody} [introspectBody] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n introspect: async (introspectBody?: IntrospectBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/admin/introspect`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(introspectBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * List bots\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listBots: async (nextToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/admin/bots`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (nextToken !== undefined) {\n localVarQueryParameter['nextToken'] = nextToken;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a list of [Conversation](#schema_conversation) you\u2019ve previously created. The conversations are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {{ [key: string]: string; }} [tags] Filter by tags\n * @param {Array<string>} [participantIds] Filter by participant ids\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listConversations: async (nextToken?: string, tags?: { [key: string]: string; }, participantIds?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/chat/conversations`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (nextToken !== undefined) {\n localVarQueryParameter['nextToken'] = nextToken;\n }\n\n if (tags !== undefined) {\n localVarQueryParameter['tags'] = tags;\n }\n\n if (participantIds) {\n localVarQueryParameter['participantIds'] = participantIds;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retreives a list of [Event](#schema_event) you\u2019ve previously created. The events are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listEvents: async (nextToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/chat/events`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (nextToken !== undefined) {\n localVarQueryParameter['nextToken'] = nextToken;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * List Files\n * @param {string} botId Bot ID\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listFiles: async (botId: string, nextToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'botId' is not null or undefined\n assertParamExists('listFiles', 'botId', botId)\n const localVarPath = `/v1/storage/files`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (nextToken !== undefined) {\n localVarQueryParameter['nextToken'] = nextToken;\n }\n\n if (botId !== undefined) {\n localVarQueryParameter['botId'] = botId;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * List integrations\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [name] Integration Name\n * @param {string} [version] Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listIntegrations: async (nextToken?: string, name?: string, version?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/admin/integrations`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (nextToken !== undefined) {\n localVarQueryParameter['nextToken'] = nextToken;\n }\n\n if (name !== undefined) {\n localVarQueryParameter['name'] = name;\n }\n\n if (version !== undefined) {\n localVarQueryParameter['version'] = version;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a list of [Messages](#schema_message) you\u2019ve previously created. The messages are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [conversationId] Conversation id\n * @param {{ [key: string]: string; }} [tags] Filter by tags\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listMessages: async (nextToken?: string, conversationId?: string, tags?: { [key: string]: string; }, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/chat/messages`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (nextToken !== undefined) {\n localVarQueryParameter['nextToken'] = nextToken;\n }\n\n if (conversationId !== undefined) {\n localVarQueryParameter['conversationId'] = conversationId;\n }\n\n if (tags !== undefined) {\n localVarQueryParameter['tags'] = tags;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * List public integration\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [name] Integration Name\n * @param {string} [version] Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listPublicIntegrations: async (nextToken?: string, name?: string, version?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/admin/hub/integrations`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (nextToken !== undefined) {\n localVarQueryParameter['nextToken'] = nextToken;\n }\n\n if (name !== undefined) {\n localVarQueryParameter['name'] = name;\n }\n\n if (version !== undefined) {\n localVarQueryParameter['version'] = version;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieves a list of [User](#schema_user) previously created. The users are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [conversationId] Filter by conversation id. This will return all users that have participated in the conversation.\n * @param {{ [key: string]: string; }} [tags] Filter by tags\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listUsers: async (nextToken?: string, conversationId?: string, tags?: { [key: string]: string; }, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/chat/users`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (nextToken !== undefined) {\n localVarQueryParameter['nextToken'] = nextToken;\n }\n\n if (conversationId !== undefined) {\n localVarQueryParameter['conversationId'] = conversationId;\n }\n\n if (tags !== undefined) {\n localVarQueryParameter['tags'] = tags;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * List workspaces the user has access to\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listWorkspaces: async (nextToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/v1/admin/workspaces`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (nextToken !== undefined) {\n localVarQueryParameter['nextToken'] = nextToken;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Updates the [State](#schema_state) object by setting the values of the parameters passed.\n * @param {'conversation' | 'user' | 'bot' | 'integration'} type State type\n * @param {string} id State id\n * @param {string} name State name\n * @param {PatchStateBody} [patchStateBody] State content\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n patchState: async (type: 'conversation' | 'user' | 'bot' | 'integration', id: string, name: string, patchStateBody?: PatchStateBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'type' is not null or undefined\n assertParamExists('patchState', 'type', type)\n // verify required parameter 'id' is not null or undefined\n assertParamExists('patchState', 'id', id)\n // verify required parameter 'name' is not null or undefined\n assertParamExists('patchState', 'name', name)\n const localVarPath = `/v1/chat/states/{type}/{id}/{name}`\n .replace(`{${\"type\"}}`, encodeURIComponent(String(type)))\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)))\n .replace(`{${\"name\"}}`, encodeURIComponent(String(name)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(patchStateBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Overrides the [State](#schema_state) object by setting the values of the parameters passed.\n * @param {'conversation' | 'user' | 'bot' | 'integration'} type State type\n * @param {string} id State id\n * @param {string} name State name\n * @param {SetStateBody} [setStateBody] State content\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n setState: async (type: 'conversation' | 'user' | 'bot' | 'integration', id: string, name: string, setStateBody?: SetStateBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'type' is not null or undefined\n assertParamExists('setState', 'type', type)\n // verify required parameter 'id' is not null or undefined\n assertParamExists('setState', 'id', id)\n // verify required parameter 'name' is not null or undefined\n assertParamExists('setState', 'name', name)\n const localVarPath = `/v1/chat/states/{type}/{id}/{name}`\n .replace(`{${\"type\"}}`, encodeURIComponent(String(type)))\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)))\n .replace(`{${\"name\"}}`, encodeURIComponent(String(name)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(setStateBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Update bot\n * @param {string} id Bot ID\n * @param {UpdateBotBody} [updateBotBody] Bot metadata\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updateBot: async (id: string, updateBotBody?: UpdateBotBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('updateBot', 'id', id)\n const localVarPath = `/v1/admin/bots/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(updateBotBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Update a [Conversation](#schema_conversation) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.\n * @param {string} id Conversation id\n * @param {UpdateConversationBody} [updateConversationBody] Conversation data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updateConversation: async (id: string, updateConversationBody?: UpdateConversationBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('updateConversation', 'id', id)\n const localVarPath = `/v1/chat/conversations/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(updateConversationBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Update integration\n * @param {string} id Integration Id\n * @param {UpdateIntegrationBody} [updateIntegrationBody] Integration\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updateIntegration: async (id: string, updateIntegrationBody?: UpdateIntegrationBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('updateIntegration', 'id', id)\n const localVarPath = `/v1/admin/integrations/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(updateIntegrationBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Update a message\n * @param {string} id Message id\n * @param {UpdateMessageBody} [updateMessageBody] Message data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updateMessage: async (id: string, updateMessageBody?: UpdateMessageBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('updateMessage', 'id', id)\n const localVarPath = `/v1/chat/messages/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(updateMessageBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Update a [User](#schema_user) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.\n * @param {string} id User ID\n * @param {UpdateUserBody} [updateUserBody] User data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updateUser: async (id: string, updateUserBody?: UpdateUserBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('updateUser', 'id', id)\n const localVarPath = `/v1/chat/users/{id}`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(updateUserBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * DefaultApi - functional programming interface\n * @export\n */\nexport const DefaultApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)\n return {\n /**\n * Call an action\n * @param {CallActionBody} [callActionBody] Action payload\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async callAction(callActionBody?: CallActionBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CallActionResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.callAction(callActionBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * An integration can call this endpoint to configure itself\n * @param {ConfigureIntegrationBody} [configureIntegrationBody] Configuration of the integration\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async configureIntegration(configureIntegrationBody?: ConfigureIntegrationBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.configureIntegration(configureIntegrationBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Create bot\n * @param {CreateBotBody} [createBotBody] Bot metadata\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async createBot(createBotBody?: CreateBotBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBotResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createBot(createBotBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Creates a new [Conversation](#schema_conversation). When creating a new [Conversation](#schema_conversation), the required tags must be provided. See the specific integration for more details.\n * @param {CreateConversationBody} [createConversationBody] Conversation data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async createConversation(createConversationBody?: CreateConversationBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateConversationResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createConversation(createConversationBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Creates a new [Event](#schema_event) . When creating a new [Event](#schema_event), the required tags must be provided. See the specific integration for more details.\n * @param {CreateEventBody} [createEventBody] Event data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async createEvent(createEventBody?: CreateEventBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createEvent(createEventBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Create File\n * @param {CreateFileBody} [createFileBody] Create File\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async createFile(createFileBody?: CreateFileBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFileResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createFile(createFileBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Create integration\n * @param {CreateIntegrationBody} [createIntegrationBody] Integration\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async createIntegration(createIntegrationBody?: CreateIntegrationBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateIntegrationResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createIntegration(createIntegrationBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Creates a new [Message](#schema_message). When creating a new [Message](#schema_message), the required tags must be provided. See the specific integration for more details.\n * @param {CreateMessageBody} [createMessageBody] Message data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async createMessage(createMessageBody?: CreateMessageBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMessageResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createMessage(createMessageBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Creates a new [User](#schema_user). When creating a new [User](#schema_user), the required tags must be provided. See the specific integration for more details.\n * @param {CreateUserBody} [createUserBody] User data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async createUser(createUserBody?: CreateUserBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateUserResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createUser(createUserBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Delete bot\n * @param {string} id Bot ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async deleteBot(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBot(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Permanently deletes a [Conversation](#schema_conversation). It cannot be undone. Also immediately deletes corresponding [Messages](#schema_message).\n * @param {string} id Conversation id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async deleteConversation(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.deleteConversation(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Delete File\n * @param {string} id File ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async deleteFile(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFile(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Delete integration\n * @param {string} id Integration Id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async deleteIntegration(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.deleteIntegration(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Permanently deletes a [Message](#schema_message). It cannot be undone.\n * @param {string} id Message id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async deleteMessage(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMessage(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Permanently deletes a [User](#schema_user). It cannot be undone.\n * @param {string} id User ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async deleteUser(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUser(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Download File\n * @param {string} id File ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async downloadFile(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Get bot details\n * @param {string} id Bot ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getBot(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBotResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getBot(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Get bot analytics\n * @param {string} id Bot ID\n * @param {string} startDate Start date/time (inclusive)\n * @param {string} endDate End date/time (exclusive)\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getBotAnalytics(id: string, startDate: string, endDate: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBotAnalyticsResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getBotAnalytics(id, startDate, endDate, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Get bot logs\n * @param {string} id Bot ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getBotLogs(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBotLogsResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getBotLogs(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Get the webchat code/URL for a bot\n * @param {string} id Bot ID\n * @param {'preconfigured' | 'configurable' | 'fullscreen' | 'sharableUrl'} type type of script to get\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getBotWebchat(id: string, type: 'preconfigured' | 'configurable' | 'fullscreen' | 'sharableUrl', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBotWebchatResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getBotWebchat(id, type, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Retrieves the [Conversation](#schema_conversation) object for a valid identifier.\n * @param {string} id Conversation id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getConversation(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetConversationResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getConversation(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Retrieves the [Event](#schema_event) object for a valid identifiers.\n * @param {string} id Event id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getEvent(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getEvent(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Get File\n * @param {string} id File ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getFile(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFileResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getFile(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Get integration\n * @param {string} id Integration Id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getIntegration(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetIntegrationResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getIntegration(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Get integration\n * @param {string} name Integration Name\n * @param {string} version Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getIntegrationByName(name: string, version: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetIntegrationByNameResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getIntegrationByName(name, version, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Retrieves the [Message](#schema_message) object for a valid identifier.\n * @param {string} id Id of the Message\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getMessage(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMessageResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getMessage(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Retrieves the [Conversation](#schema_conversation) object for a valid identifier. If the conversation does not exist, it will be created.\n * @param {GetOrCreateConversationBody} [getOrCreateConversationBody] Conversation data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getOrCreateConversation(getOrCreateConversationBody?: GetOrCreateConversationBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrCreateConversationResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getOrCreateConversation(getOrCreateConversationBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Retrieves the [Message](#schema_message) object for a valid identifier. If the message does not exist, it will be created.\n * @param {GetOrCreateMessageBody} [getOrCreateMessageBody] Message data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getOrCreateMessage(getOrCreateMessageBody?: GetOrCreateMessageBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrCreateMessageResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getOrCreateMessage(getOrCreateMessageBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.\n * @param {GetOrCreateUserBody} [getOrCreateUserBody] User data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getOrCreateUser(getOrCreateUserBody?: GetOrCreateUserBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrCreateUserResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getOrCreateUser(getOrCreateUserBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Get public integration by name and version\n * @param {string} name Integration Name\n * @param {string} version Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getPublicIntegration(name: string, version: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicIntegrationResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicIntegration(name, version, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Get public integration by Id\n * @param {string} id Integration Id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getPublicIntegrationById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicIntegrationByIdResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicIntegrationById(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Retrieves the [State](#schema_state) object for a valid identifiers.\n * @param {'conversation' | 'user' | 'bot' | 'integration'} type State type\n * @param {string} id State id\n * @param {string} name State name\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getState(type: 'conversation' | 'user' | 'bot' | 'integration', id: string, name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStateResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getState(type, id, name, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Retrieves the [User](#schema_user) object for a valid identifier.\n * @param {string} id User ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getUser(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getUser(id, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Introspect the API\n * @param {IntrospectBody} [introspectBody] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async introspect(introspectBody?: IntrospectBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntrospectResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.introspect(introspectBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * List bots\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async listBots(nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBotsResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listBots(nextToken, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Retrieves a list of [Conversation](#schema_conversation) you\u2019ve previously created. The conversations are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {{ [key: string]: string; }} [tags] Filter by tags\n * @param {Array<string>} [participantIds] Filter by participant ids\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async listConversations(nextToken?: string, tags?: { [key: string]: string; }, participantIds?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListConversationsResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listConversations(nextToken, tags, participantIds, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Retreives a list of [Event](#schema_event) you\u2019ve previously created. The events are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async listEvents(nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEventsResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listEvents(nextToken, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * List Files\n * @param {string} botId Bot ID\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async listFiles(botId: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFilesResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listFiles(botId, nextToken, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * List integrations\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [name] Integration Name\n * @param {string} [version] Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async listIntegrations(nextToken?: string, name?: string, version?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListIntegrationsResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listIntegrations(nextToken, name, version, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Retrieves a list of [Messages](#schema_message) you\u2019ve previously created. The messages are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [conversationId] Conversation id\n * @param {{ [key: string]: string; }} [tags] Filter by tags\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async listMessages(nextToken?: string, conversationId?: string, tags?: { [key: string]: string; }, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListMessagesResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listMessages(nextToken, conversationId, tags, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * List public integration\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [name] Integration Name\n * @param {string} [version] Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async listPublicIntegrations(nextToken?: string, name?: string, version?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPublicIntegrationsResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listPublicIntegrations(nextToken, name, version, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Retrieves a list of [User](#schema_user) previously created. The users are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [conversationId] Filter by conversation id. This will return all users that have participated in the conversation.\n * @param {{ [key: string]: string; }} [tags] Filter by tags\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async listUsers(nextToken?: string, conversationId?: string, tags?: { [key: string]: string; }, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsersResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(nextToken, conversationId, tags, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * List workspaces the user has access to\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async listWorkspaces(nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListWorkspacesResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listWorkspaces(nextToken, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Updates the [State](#schema_state) object by setting the values of the parameters passed.\n * @param {'conversation' | 'user' | 'bot' | 'integration'} type State type\n * @param {string} id State id\n * @param {string} name State name\n * @param {PatchStateBody} [patchStateBody] State content\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async patchState(type: 'conversation' | 'user' | 'bot' | 'integration', id: string, name: string, patchStateBody?: PatchStateBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchStateResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.patchState(type, id, name, patchStateBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Overrides the [State](#schema_state) object by setting the values of the parameters passed.\n * @param {'conversation' | 'user' | 'bot' | 'integration'} type State type\n * @param {string} id State id\n * @param {string} name State name\n * @param {SetStateBody} [setStateBody] State content\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async setState(type: 'conversation' | 'user' | 'bot' | 'integration', id: string, name: string, setStateBody?: SetStateBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetStateResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.setState(type, id, name, setStateBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Update bot\n * @param {string} id Bot ID\n * @param {UpdateBotBody} [updateBotBody] Bot metadata\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async updateBot(id: string, updateBotBody?: UpdateBotBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBotResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.updateBot(id, updateBotBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Update a [Conversation](#schema_conversation) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.\n * @param {string} id Conversation id\n * @param {UpdateConversationBody} [updateConversationBody] Conversation data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async updateConversation(id: string, updateConversationBody?: UpdateConversationBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateConversationResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.updateConversation(id, updateConversationBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Update integration\n * @param {string} id Integration Id\n * @param {UpdateIntegrationBody} [updateIntegrationBody] Integration\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async updateIntegration(id: string, updateIntegrationBody?: UpdateIntegrationBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateIntegrationResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.updateIntegration(id, updateIntegrationBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Update a message\n * @param {string} id Message id\n * @param {UpdateMessageBody} [updateMessageBody] Message data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async updateMessage(id: string, updateMessageBody?: UpdateMessageBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateMessageResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.updateMessage(id, updateMessageBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n /**\n * Update a [User](#schema_user) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.\n * @param {string} id User ID\n * @param {UpdateUserBody} [updateUserBody] User data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async updateUser(id: string, updateUserBody?: UpdateUserBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateUserResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.updateUser(id, updateUserBody, options);\n return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);\n },\n }\n};\n\n/**\n * DefaultApi - factory interface\n * @export\n */\nexport const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = DefaultApiFp(configuration)\n return {\n /**\n * Call an action\n * @param {CallActionBody} [callActionBody] Action payload\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n callAction(callActionBody?: CallActionBody, options?: any): AxiosPromise<CallActionResponse> {\n return localVarFp.callAction(callActionBody, options).then((request) => request(axios, basePath));\n },\n /**\n * An integration can call this endpoint to configure itself\n * @param {ConfigureIntegrationBody} [configureIntegrationBody] Configuration of the integration\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n configureIntegration(configureIntegrationBody?: ConfigureIntegrationBody, options?: any): AxiosPromise<object> {\n return localVarFp.configureIntegration(configureIntegrationBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Create bot\n * @param {CreateBotBody} [createBotBody] Bot metadata\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createBot(createBotBody?: CreateBotBody, options?: any): AxiosPromise<CreateBotResponse> {\n return localVarFp.createBot(createBotBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Creates a new [Conversation](#schema_conversation). When creating a new [Conversation](#schema_conversation), the required tags must be provided. See the specific integration for more details.\n * @param {CreateConversationBody} [createConversationBody] Conversation data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createConversation(createConversationBody?: CreateConversationBody, options?: any): AxiosPromise<CreateConversationResponse> {\n return localVarFp.createConversation(createConversationBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Creates a new [Event](#schema_event) . When creating a new [Event](#schema_event), the required tags must be provided. See the specific integration for more details.\n * @param {CreateEventBody} [createEventBody] Event data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createEvent(createEventBody?: CreateEventBody, options?: any): AxiosPromise<CreateEventResponse> {\n return localVarFp.createEvent(createEventBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Create File\n * @param {CreateFileBody} [createFileBody] Create File\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createFile(createFileBody?: CreateFileBody, options?: any): AxiosPromise<CreateFileResponse> {\n return localVarFp.createFile(createFileBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Create integration\n * @param {CreateIntegrationBody} [createIntegrationBody] Integration\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createIntegration(createIntegrationBody?: CreateIntegrationBody, options?: any): AxiosPromise<CreateIntegrationResponse> {\n return localVarFp.createIntegration(createIntegrationBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Creates a new [Message](#schema_message). When creating a new [Message](#schema_message), the required tags must be provided. See the specific integration for more details.\n * @param {CreateMessageBody} [createMessageBody] Message data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createMessage(createMessageBody?: CreateMessageBody, options?: any): AxiosPromise<CreateMessageResponse> {\n return localVarFp.createMessage(createMessageBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Creates a new [User](#schema_user). When creating a new [User](#schema_user), the required tags must be provided. See the specific integration for more details.\n * @param {CreateUserBody} [createUserBody] User data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createUser(createUserBody?: CreateUserBody, options?: any): AxiosPromise<CreateUserResponse> {\n return localVarFp.createUser(createUserBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Delete bot\n * @param {string} id Bot ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteBot(id: string, options?: any): AxiosPromise<object> {\n return localVarFp.deleteBot(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Permanently deletes a [Conversation](#schema_conversation). It cannot be undone. Also immediately deletes corresponding [Messages](#schema_message).\n * @param {string} id Conversation id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteConversation(id: string, options?: any): AxiosPromise<object> {\n return localVarFp.deleteConversation(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Delete File\n * @param {string} id File ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteFile(id: string, options?: any): AxiosPromise<object> {\n return localVarFp.deleteFile(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Delete integration\n * @param {string} id Integration Id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteIntegration(id: string, options?: any): AxiosPromise<object> {\n return localVarFp.deleteIntegration(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Permanently deletes a [Message](#schema_message). It cannot be undone.\n * @param {string} id Message id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteMessage(id: string, options?: any): AxiosPromise<object> {\n return localVarFp.deleteMessage(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Permanently deletes a [User](#schema_user). It cannot be undone.\n * @param {string} id User ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteUser(id: string, options?: any): AxiosPromise<object> {\n return localVarFp.deleteUser(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Download File\n * @param {string} id File ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n downloadFile(id: string, options?: any): AxiosPromise<any> {\n return localVarFp.downloadFile(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Get bot details\n * @param {string} id Bot ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getBot(id: string, options?: any): AxiosPromise<GetBotResponse> {\n return localVarFp.getBot(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Get bot analytics\n * @param {string} id Bot ID\n * @param {string} startDate Start date/time (inclusive)\n * @param {string} endDate End date/time (exclusive)\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getBotAnalytics(id: string, startDate: string, endDate: string, options?: any): AxiosPromise<GetBotAnalyticsResponse> {\n return localVarFp.getBotAnalytics(id, startDate, endDate, options).then((request) => request(axios, basePath));\n },\n /**\n * Get bot logs\n * @param {string} id Bot ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getBotLogs(id: string, options?: any): AxiosPromise<GetBotLogsResponse> {\n return localVarFp.getBotLogs(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Get the webchat code/URL for a bot\n * @param {string} id Bot ID\n * @param {'preconfigured' | 'configurable' | 'fullscreen' | 'sharableUrl'} type type of script to get\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getBotWebchat(id: string, type: 'preconfigured' | 'configurable' | 'fullscreen' | 'sharableUrl', options?: any): AxiosPromise<GetBotWebchatResponse> {\n return localVarFp.getBotWebchat(id, type, options).then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the [Conversation](#schema_conversation) object for a valid identifier.\n * @param {string} id Conversation id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getConversation(id: string, options?: any): AxiosPromise<GetConversationResponse> {\n return localVarFp.getConversation(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the [Event](#schema_event) object for a valid identifiers.\n * @param {string} id Event id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getEvent(id: string, options?: any): AxiosPromise<GetEventResponse> {\n return localVarFp.getEvent(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Get File\n * @param {string} id File ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getFile(id: string, options?: any): AxiosPromise<GetFileResponse> {\n return localVarFp.getFile(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Get integration\n * @param {string} id Integration Id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getIntegration(id: string, options?: any): AxiosPromise<GetIntegrationResponse> {\n return localVarFp.getIntegration(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Get integration\n * @param {string} name Integration Name\n * @param {string} version Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getIntegrationByName(name: string, version: string, options?: any): AxiosPromise<GetIntegrationByNameResponse> {\n return localVarFp.getIntegrationByName(name, version, options).then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the [Message](#schema_message) object for a valid identifier.\n * @param {string} id Id of the Message\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getMessage(id: string, options?: any): AxiosPromise<GetMessageResponse> {\n return localVarFp.getMessage(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the [Conversation](#schema_conversation) object for a valid identifier. If the conversation does not exist, it will be created.\n * @param {GetOrCreateConversationBody} [getOrCreateConversationBody] Conversation data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getOrCreateConversation(getOrCreateConversationBody?: GetOrCreateConversationBody, options?: any): AxiosPromise<GetOrCreateConversationResponse> {\n return localVarFp.getOrCreateConversation(getOrCreateConversationBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the [Message](#schema_message) object for a valid identifier. If the message does not exist, it will be created.\n * @param {GetOrCreateMessageBody} [getOrCreateMessageBody] Message data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getOrCreateMessage(getOrCreateMessageBody?: GetOrCreateMessageBody, options?: any): AxiosPromise<GetOrCreateMessageResponse> {\n return localVarFp.getOrCreateMessage(getOrCreateMessageBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.\n * @param {GetOrCreateUserBody} [getOrCreateUserBody] User data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getOrCreateUser(getOrCreateUserBody?: GetOrCreateUserBody, options?: any): AxiosPromise<GetOrCreateUserResponse> {\n return localVarFp.getOrCreateUser(getOrCreateUserBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Get public integration by name and version\n * @param {string} name Integration Name\n * @param {string} version Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getPublicIntegration(name: string, version: string, options?: any): AxiosPromise<GetPublicIntegrationResponse> {\n return localVarFp.getPublicIntegration(name, version, options).then((request) => request(axios, basePath));\n },\n /**\n * Get public integration by Id\n * @param {string} id Integration Id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getPublicIntegrationById(id: string, options?: any): AxiosPromise<GetPublicIntegrationByIdResponse> {\n return localVarFp.getPublicIntegrationById(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the [State](#schema_state) object for a valid identifiers.\n * @param {'conversation' | 'user' | 'bot' | 'integration'} type State type\n * @param {string} id State id\n * @param {string} name State name\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getState(type: 'conversation' | 'user' | 'bot' | 'integration', id: string, name: string, options?: any): AxiosPromise<GetStateResponse> {\n return localVarFp.getState(type, id, name, options).then((request) => request(axios, basePath));\n },\n /**\n * Retrieves the [User](#schema_user) object for a valid identifier.\n * @param {string} id User ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getUser(id: string, options?: any): AxiosPromise<GetUserResponse> {\n return localVarFp.getUser(id, options).then((request) => request(axios, basePath));\n },\n /**\n * Introspect the API\n * @param {IntrospectBody} [introspectBody] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n introspect(introspectBody?: IntrospectBody, options?: any): AxiosPromise<IntrospectResponse> {\n return localVarFp.introspect(introspectBody, options).then((request) => request(axios, basePath));\n },\n /**\n * List bots\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listBots(nextToken?: string, options?: any): AxiosPromise<ListBotsResponse> {\n return localVarFp.listBots(nextToken, options).then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a list of [Conversation](#schema_conversation) you\u2019ve previously created. The conversations are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {{ [key: string]: string; }} [tags] Filter by tags\n * @param {Array<string>} [participantIds] Filter by participant ids\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listConversations(nextToken?: string, tags?: { [key: string]: string; }, participantIds?: Array<string>, options?: any): AxiosPromise<ListConversationsResponse> {\n return localVarFp.listConversations(nextToken, tags, participantIds, options).then((request) => request(axios, basePath));\n },\n /**\n * Retreives a list of [Event](#schema_event) you\u2019ve previously created. The events are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listEvents(nextToken?: string, options?: any): AxiosPromise<ListEventsResponse> {\n return localVarFp.listEvents(nextToken, options).then((request) => request(axios, basePath));\n },\n /**\n * List Files\n * @param {string} botId Bot ID\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listFiles(botId: string, nextToken?: string, options?: any): AxiosPromise<ListFilesResponse> {\n return localVarFp.listFiles(botId, nextToken, options).then((request) => request(axios, basePath));\n },\n /**\n * List integrations\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [name] Integration Name\n * @param {string} [version] Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listIntegrations(nextToken?: string, name?: string, version?: string, options?: any): AxiosPromise<ListIntegrationsResponse> {\n return localVarFp.listIntegrations(nextToken, name, version, options).then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a list of [Messages](#schema_message) you\u2019ve previously created. The messages are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [conversationId] Conversation id\n * @param {{ [key: string]: string; }} [tags] Filter by tags\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listMessages(nextToken?: string, conversationId?: string, tags?: { [key: string]: string; }, options?: any): AxiosPromise<ListMessagesResponse> {\n return localVarFp.listMessages(nextToken, conversationId, tags, options).then((request) => request(axios, basePath));\n },\n /**\n * List public integration\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [name] Integration Name\n * @param {string} [version] Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listPublicIntegrations(nextToken?: string, name?: string, version?: string, options?: any): AxiosPromise<ListPublicIntegrationsResponse> {\n return localVarFp.listPublicIntegrations(nextToken, name, version, options).then((request) => request(axios, basePath));\n },\n /**\n * Retrieves a list of [User](#schema_user) previously created. The users are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [conversationId] Filter by conversation id. This will return all users that have participated in the conversation.\n * @param {{ [key: string]: string; }} [tags] Filter by tags\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listUsers(nextToken?: string, conversationId?: string, tags?: { [key: string]: string; }, options?: any): AxiosPromise<ListUsersResponse> {\n return localVarFp.listUsers(nextToken, conversationId, tags, options).then((request) => request(axios, basePath));\n },\n /**\n * List workspaces the user has access to\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listWorkspaces(nextToken?: string, options?: any): AxiosPromise<ListWorkspacesResponse> {\n return localVarFp.listWorkspaces(nextToken, options).then((request) => request(axios, basePath));\n },\n /**\n * Updates the [State](#schema_state) object by setting the values of the parameters passed.\n * @param {'conversation' | 'user' | 'bot' | 'integration'} type State type\n * @param {string} id State id\n * @param {string} name State name\n * @param {PatchStateBody} [patchStateBody] State content\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n patchState(type: 'conversation' | 'user' | 'bot' | 'integration', id: string, name: string, patchStateBody?: PatchStateBody, options?: any): AxiosPromise<PatchStateResponse> {\n return localVarFp.patchState(type, id, name, patchStateBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Overrides the [State](#schema_state) object by setting the values of the parameters passed.\n * @param {'conversation' | 'user' | 'bot' | 'integration'} type State type\n * @param {string} id State id\n * @param {string} name State name\n * @param {SetStateBody} [setStateBody] State content\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n setState(type: 'conversation' | 'user' | 'bot' | 'integration', id: string, name: string, setStateBody?: SetStateBody, options?: any): AxiosPromise<SetStateResponse> {\n return localVarFp.setState(type, id, name, setStateBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Update bot\n * @param {string} id Bot ID\n * @param {UpdateBotBody} [updateBotBody] Bot metadata\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updateBot(id: string, updateBotBody?: UpdateBotBody, options?: any): AxiosPromise<UpdateBotResponse> {\n return localVarFp.updateBot(id, updateBotBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Update a [Conversation](#schema_conversation) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.\n * @param {string} id Conversation id\n * @param {UpdateConversationBody} [updateConversationBody] Conversation data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updateConversation(id: string, updateConversationBody?: UpdateConversationBody, options?: any): AxiosPromise<UpdateConversationResponse> {\n return localVarFp.updateConversation(id, updateConversationBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Update integration\n * @param {string} id Integration Id\n * @param {UpdateIntegrationBody} [updateIntegrationBody] Integration\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updateIntegration(id: string, updateIntegrationBody?: UpdateIntegrationBody, options?: any): AxiosPromise<UpdateIntegrationResponse> {\n return localVarFp.updateIntegration(id, updateIntegrationBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Update a message\n * @param {string} id Message id\n * @param {UpdateMessageBody} [updateMessageBody] Message data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updateMessage(id: string, updateMessageBody?: UpdateMessageBody, options?: any): AxiosPromise<UpdateMessageResponse> {\n return localVarFp.updateMessage(id, updateMessageBody, options).then((request) => request(axios, basePath));\n },\n /**\n * Update a [User](#schema_user) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.\n * @param {string} id User ID\n * @param {UpdateUserBody} [updateUserBody] User data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updateUser(id: string, updateUserBody?: UpdateUserBody, options?: any): AxiosPromise<UpdateUserResponse> {\n return localVarFp.updateUser(id, updateUserBody, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * DefaultApi - interface\n * @export\n * @interface DefaultApi\n */\nexport interface DefaultApiInterface {\n /**\n * Call an action\n * @param {CallActionBody} [callActionBody] Action payload\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n callAction(callActionBody?: CallActionBody, options?: AxiosRequestConfig): AxiosPromise<CallActionResponse>;\n\n /**\n * An integration can call this endpoint to configure itself\n * @param {ConfigureIntegrationBody} [configureIntegrationBody] Configuration of the integration\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n configureIntegration(configureIntegrationBody?: ConfigureIntegrationBody, options?: AxiosRequestConfig): AxiosPromise<object>;\n\n /**\n * Create bot\n * @param {CreateBotBody} [createBotBody] Bot metadata\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n createBot(createBotBody?: CreateBotBody, options?: AxiosRequestConfig): AxiosPromise<CreateBotResponse>;\n\n /**\n * Creates a new [Conversation](#schema_conversation). When creating a new [Conversation](#schema_conversation), the required tags must be provided. See the specific integration for more details.\n * @param {CreateConversationBody} [createConversationBody] Conversation data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n createConversation(createConversationBody?: CreateConversationBody, options?: AxiosRequestConfig): AxiosPromise<CreateConversationResponse>;\n\n /**\n * Creates a new [Event](#schema_event) . When creating a new [Event](#schema_event), the required tags must be provided. See the specific integration for more details.\n * @param {CreateEventBody} [createEventBody] Event data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n createEvent(createEventBody?: CreateEventBody, options?: AxiosRequestConfig): AxiosPromise<CreateEventResponse>;\n\n /**\n * Create File\n * @param {CreateFileBody} [createFileBody] Create File\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n createFile(createFileBody?: CreateFileBody, options?: AxiosRequestConfig): AxiosPromise<CreateFileResponse>;\n\n /**\n * Create integration\n * @param {CreateIntegrationBody} [createIntegrationBody] Integration\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n createIntegration(createIntegrationBody?: CreateIntegrationBody, options?: AxiosRequestConfig): AxiosPromise<CreateIntegrationResponse>;\n\n /**\n * Creates a new [Message](#schema_message). When creating a new [Message](#schema_message), the required tags must be provided. See the specific integration for more details.\n * @param {CreateMessageBody} [createMessageBody] Message data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n createMessage(createMessageBody?: CreateMessageBody, options?: AxiosRequestConfig): AxiosPromise<CreateMessageResponse>;\n\n /**\n * Creates a new [User](#schema_user). When creating a new [User](#schema_user), the required tags must be provided. See the specific integration for more details.\n * @param {CreateUserBody} [createUserBody] User data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n createUser(createUserBody?: CreateUserBody, options?: AxiosRequestConfig): AxiosPromise<CreateUserResponse>;\n\n /**\n * Delete bot\n * @param {string} id Bot ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n deleteBot(id: string, options?: AxiosRequestConfig): AxiosPromise<object>;\n\n /**\n * Permanently deletes a [Conversation](#schema_conversation). It cannot be undone. Also immediately deletes corresponding [Messages](#schema_message).\n * @param {string} id Conversation id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n deleteConversation(id: string, options?: AxiosRequestConfig): AxiosPromise<object>;\n\n /**\n * Delete File\n * @param {string} id File ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n deleteFile(id: string, options?: AxiosRequestConfig): AxiosPromise<object>;\n\n /**\n * Delete integration\n * @param {string} id Integration Id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n deleteIntegration(id: string, options?: AxiosRequestConfig): AxiosPromise<object>;\n\n /**\n * Permanently deletes a [Message](#schema_message). It cannot be undone.\n * @param {string} id Message id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n deleteMessage(id: string, options?: AxiosRequestConfig): AxiosPromise<object>;\n\n /**\n * Permanently deletes a [User](#schema_user). It cannot be undone.\n * @param {string} id User ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n deleteUser(id: string, options?: AxiosRequestConfig): AxiosPromise<object>;\n\n /**\n * Download File\n * @param {string} id File ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n downloadFile(id: string, options?: AxiosRequestConfig): AxiosPromise<any>;\n\n /**\n * Get bot details\n * @param {string} id Bot ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getBot(id: string, options?: AxiosRequestConfig): AxiosPromise<GetBotResponse>;\n\n /**\n * Get bot analytics\n * @param {string} id Bot ID\n * @param {string} startDate Start date/time (inclusive)\n * @param {string} endDate End date/time (exclusive)\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getBotAnalytics(id: string, startDate: string, endDate: string, options?: AxiosRequestConfig): AxiosPromise<GetBotAnalyticsResponse>;\n\n /**\n * Get bot logs\n * @param {string} id Bot ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getBotLogs(id: string, options?: AxiosRequestConfig): AxiosPromise<GetBotLogsResponse>;\n\n /**\n * Get the webchat code/URL for a bot\n * @param {string} id Bot ID\n * @param {'preconfigured' | 'configurable' | 'fullscreen' | 'sharableUrl'} type type of script to get\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getBotWebchat(id: string, type: 'preconfigured' | 'configurable' | 'fullscreen' | 'sharableUrl', options?: AxiosRequestConfig): AxiosPromise<GetBotWebchatResponse>;\n\n /**\n * Retrieves the [Conversation](#schema_conversation) object for a valid identifier.\n * @param {string} id Conversation id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getConversation(id: string, options?: AxiosRequestConfig): AxiosPromise<GetConversationResponse>;\n\n /**\n * Retrieves the [Event](#schema_event) object for a valid identifiers.\n * @param {string} id Event id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getEvent(id: string, options?: AxiosRequestConfig): AxiosPromise<GetEventResponse>;\n\n /**\n * Get File\n * @param {string} id File ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getFile(id: string, options?: AxiosRequestConfig): AxiosPromise<GetFileResponse>;\n\n /**\n * Get integration\n * @param {string} id Integration Id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getIntegration(id: string, options?: AxiosRequestConfig): AxiosPromise<GetIntegrationResponse>;\n\n /**\n * Get integration\n * @param {string} name Integration Name\n * @param {string} version Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getIntegrationByName(name: string, version: string, options?: AxiosRequestConfig): AxiosPromise<GetIntegrationByNameResponse>;\n\n /**\n * Retrieves the [Message](#schema_message) object for a valid identifier.\n * @param {string} id Id of the Message\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getMessage(id: string, options?: AxiosRequestConfig): AxiosPromise<GetMessageResponse>;\n\n /**\n * Retrieves the [Conversation](#schema_conversation) object for a valid identifier. If the conversation does not exist, it will be created.\n * @param {GetOrCreateConversationBody} [getOrCreateConversationBody] Conversation data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getOrCreateConversation(getOrCreateConversationBody?: GetOrCreateConversationBody, options?: AxiosRequestConfig): AxiosPromise<GetOrCreateConversationResponse>;\n\n /**\n * Retrieves the [Message](#schema_message) object for a valid identifier. If the message does not exist, it will be created.\n * @param {GetOrCreateMessageBody} [getOrCreateMessageBody] Message data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getOrCreateMessage(getOrCreateMessageBody?: GetOrCreateMessageBody, options?: AxiosRequestConfig): AxiosPromise<GetOrCreateMessageResponse>;\n\n /**\n * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.\n * @param {GetOrCreateUserBody} [getOrCreateUserBody] User data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getOrCreateUser(getOrCreateUserBody?: GetOrCreateUserBody, options?: AxiosRequestConfig): AxiosPromise<GetOrCreateUserResponse>;\n\n /**\n * Get public integration by name and version\n * @param {string} name Integration Name\n * @param {string} version Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getPublicIntegration(name: string, version: string, options?: AxiosRequestConfig): AxiosPromise<GetPublicIntegrationResponse>;\n\n /**\n * Get public integration by Id\n * @param {string} id Integration Id\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getPublicIntegrationById(id: string, options?: AxiosRequestConfig): AxiosPromise<GetPublicIntegrationByIdResponse>;\n\n /**\n * Retrieves the [State](#schema_state) object for a valid identifiers.\n * @param {'conversation' | 'user' | 'bot' | 'integration'} type State type\n * @param {string} id State id\n * @param {string} name State name\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getState(type: 'conversation' | 'user' | 'bot' | 'integration', id: string, name: string, options?: AxiosRequestConfig): AxiosPromise<GetStateResponse>;\n\n /**\n * Retrieves the [User](#schema_user) object for a valid identifier.\n * @param {string} id User ID\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n getUser(id: string, options?: AxiosRequestConfig): AxiosPromise<GetUserResponse>;\n\n /**\n * Introspect the API\n * @param {IntrospectBody} [introspectBody] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n introspect(introspectBody?: IntrospectBody, options?: AxiosRequestConfig): AxiosPromise<IntrospectResponse>;\n\n /**\n * List bots\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n listBots(nextToken?: string, options?: AxiosRequestConfig): AxiosPromise<ListBotsResponse>;\n\n /**\n * Retrieves a list of [Conversation](#schema_conversation) you\u2019ve previously created. The conversations are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {{ [key: string]: string; }} [tags] Filter by tags\n * @param {Array<string>} [participantIds] Filter by participant ids\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n listConversations(nextToken?: string, tags?: { [key: string]: string; }, participantIds?: Array<string>, options?: AxiosRequestConfig): AxiosPromise<ListConversationsResponse>;\n\n /**\n * Retreives a list of [Event](#schema_event) you\u2019ve previously created. The events are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n listEvents(nextToken?: string, options?: AxiosRequestConfig): AxiosPromise<ListEventsResponse>;\n\n /**\n * List Files\n * @param {string} botId Bot ID\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n listFiles(botId: string, nextToken?: string, options?: AxiosRequestConfig): AxiosPromise<ListFilesResponse>;\n\n /**\n * List integrations\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [name] Integration Name\n * @param {string} [version] Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n listIntegrations(nextToken?: string, name?: string, version?: string, options?: AxiosRequestConfig): AxiosPromise<ListIntegrationsResponse>;\n\n /**\n * Retrieves a list of [Messages](#schema_message) you\u2019ve previously created. The messages are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [conversationId] Conversation id\n * @param {{ [key: string]: string; }} [tags] Filter by tags\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n listMessages(nextToken?: string, conversationId?: string, tags?: { [key: string]: string; }, options?: AxiosRequestConfig): AxiosPromise<ListMessagesResponse>;\n\n /**\n * List public integration\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [name] Integration Name\n * @param {string} [version] Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n listPublicIntegrations(nextToken?: string, name?: string, version?: string, options?: AxiosRequestConfig): AxiosPromise<ListPublicIntegrationsResponse>;\n\n /**\n * Retrieves a list of [User](#schema_user) previously created. The users are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {string} [conversationId] Filter by conversation id. This will return all users that have participated in the conversation.\n * @param {{ [key: string]: string; }} [tags] Filter by tags\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n listUsers(nextToken?: string, conversationId?: string, tags?: { [key: string]: string; }, options?: AxiosRequestConfig): AxiosPromise<ListUsersResponse>;\n\n /**\n * List workspaces the user has access to\n * @param {string} [nextToken] Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n listWorkspaces(nextToken?: string, options?: AxiosRequestConfig): AxiosPromise<ListWorkspacesResponse>;\n\n /**\n * Updates the [State](#schema_state) object by setting the values of the parameters passed.\n * @param {'conversation' | 'user' | 'bot' | 'integration'} type State type\n * @param {string} id State id\n * @param {string} name State name\n * @param {PatchStateBody} [patchStateBody] State content\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n patchState(type: 'conversation' | 'user' | 'bot' | 'integration', id: string, name: string, patchStateBody?: PatchStateBody, options?: AxiosRequestConfig): AxiosPromise<PatchStateResponse>;\n\n /**\n * Overrides the [State](#schema_state) object by setting the values of the parameters passed.\n * @param {'conversation' | 'user' | 'bot' | 'integration'} type State type\n * @param {string} id State id\n * @param {string} name State name\n * @param {SetStateBody} [setStateBody] State content\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n setState(type: 'conversation' | 'user' | 'bot' | 'integration', id: string, name: string, setStateBody?: SetStateBody, options?: AxiosRequestConfig): AxiosPromise<SetStateResponse>;\n\n /**\n * Update bot\n * @param {string} id Bot ID\n * @param {UpdateBotBody} [updateBotBody] Bot metadata\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n updateBot(id: string, updateBotBody?: UpdateBotBody, options?: AxiosRequestConfig): AxiosPromise<UpdateBotResponse>;\n\n /**\n * Update a [Conversation](#schema_conversation) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.\n * @param {string} id Conversation id\n * @param {UpdateConversationBody} [updateConversationBody] Conversation data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n updateConversation(id: string, updateConversationBody?: UpdateConversationBody, options?: AxiosRequestConfig): AxiosPromise<UpdateConversationResponse>;\n\n /**\n * Update integration\n * @param {string} id Integration Id\n * @param {UpdateIntegrationBody} [updateIntegrationBody] Integration\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n updateIntegration(id: string, updateIntegrationBody?: UpdateIntegrationBody, options?: AxiosRequestConfig): AxiosPromise<UpdateIntegrationResponse>;\n\n /**\n * Update a message\n * @param {string} id Message id\n * @param {UpdateMessageBody} [updateMessageBody] Message data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n updateMessage(id: string, updateMessageBody?: UpdateMessageBody, options?: AxiosRequestConfig): AxiosPromise<UpdateMessageResponse>;\n\n /**\n * Update a [User](#schema_user) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.\n * @param {string} id User ID\n * @param {UpdateUserBody} [updateUserBody] User data\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApiInterface\n */\n updateUser(id: string, updateUserBody?: UpdateUserBody, options?: AxiosRequestConfig): AxiosPromise<UpdateUserResponse>;\n\n}\n\n/**\n * Request parameters for callAction operation in DefaultApi.\n * @export\n * @interface DefaultApiCallActionRequest\n */\nexport interface DefaultApiCallActionRequest {\n /**\n * Action payload\n * @type {CallActionBody}\n * @memberof DefaultApiCallAction\n */\n readonly callActionBody?: CallActionBody\n}\n\n/**\n * Request parameters for configureIntegration operation in DefaultApi.\n * @export\n * @interface DefaultApiConfigureIntegrationRequest\n */\nexport interface DefaultApiConfigureIntegrationRequest {\n /**\n * Configuration of the integration\n * @type {ConfigureIntegrationBody}\n * @memberof DefaultApiConfigureIntegration\n */\n readonly configureIntegrationBody?: ConfigureIntegrationBody\n}\n\n/**\n * Request parameters for createBot operation in DefaultApi.\n * @export\n * @interface DefaultApiCreateBotRequest\n */\nexport interface DefaultApiCreateBotRequest {\n /**\n * Bot metadata\n * @type {CreateBotBody}\n * @memberof DefaultApiCreateBot\n */\n readonly createBotBody?: CreateBotBody\n}\n\n/**\n * Request parameters for createConversation operation in DefaultApi.\n * @export\n * @interface DefaultApiCreateConversationRequest\n */\nexport interface DefaultApiCreateConversationRequest {\n /**\n * Conversation data\n * @type {CreateConversationBody}\n * @memberof DefaultApiCreateConversation\n */\n readonly createConversationBody?: CreateConversationBody\n}\n\n/**\n * Request parameters for createEvent operation in DefaultApi.\n * @export\n * @interface DefaultApiCreateEventRequest\n */\nexport interface DefaultApiCreateEventRequest {\n /**\n * Event data\n * @type {CreateEventBody}\n * @memberof DefaultApiCreateEvent\n */\n readonly createEventBody?: CreateEventBody\n}\n\n/**\n * Request parameters for createFile operation in DefaultApi.\n * @export\n * @interface DefaultApiCreateFileRequest\n */\nexport interface DefaultApiCreateFileRequest {\n /**\n * Create File\n * @type {CreateFileBody}\n * @memberof DefaultApiCreateFile\n */\n readonly createFileBody?: CreateFileBody\n}\n\n/**\n * Request parameters for createIntegration operation in DefaultApi.\n * @export\n * @interface DefaultApiCreateIntegrationRequest\n */\nexport interface DefaultApiCreateIntegrationRequest {\n /**\n * Integration\n * @type {CreateIntegrationBody}\n * @memberof DefaultApiCreateIntegration\n */\n readonly createIntegrationBody?: CreateIntegrationBody\n}\n\n/**\n * Request parameters for createMessage operation in DefaultApi.\n * @export\n * @interface DefaultApiCreateMessageRequest\n */\nexport interface DefaultApiCreateMessageRequest {\n /**\n * Message data\n * @type {CreateMessageBody}\n * @memberof DefaultApiCreateMessage\n */\n readonly createMessageBody?: CreateMessageBody\n}\n\n/**\n * Request parameters for createUser operation in DefaultApi.\n * @export\n * @interface DefaultApiCreateUserRequest\n */\nexport interface DefaultApiCreateUserRequest {\n /**\n * User data\n * @type {CreateUserBody}\n * @memberof DefaultApiCreateUser\n */\n readonly createUserBody?: CreateUserBody\n}\n\n/**\n * Request parameters for deleteBot operation in DefaultApi.\n * @export\n * @interface DefaultApiDeleteBotRequest\n */\nexport interface DefaultApiDeleteBotRequest {\n /**\n * Bot ID\n * @type {string}\n * @memberof DefaultApiDeleteBot\n */\n readonly id: string\n}\n\n/**\n * Request parameters for deleteConversation operation in DefaultApi.\n * @export\n * @interface DefaultApiDeleteConversationRequest\n */\nexport interface DefaultApiDeleteConversationRequest {\n /**\n * Conversation id\n * @type {string}\n * @memberof DefaultApiDeleteConversation\n */\n readonly id: string\n}\n\n/**\n * Request parameters for deleteFile operation in DefaultApi.\n * @export\n * @interface DefaultApiDeleteFileRequest\n */\nexport interface DefaultApiDeleteFileRequest {\n /**\n * File ID\n * @type {string}\n * @memberof DefaultApiDeleteFile\n */\n readonly id: string\n}\n\n/**\n * Request parameters for deleteIntegration operation in DefaultApi.\n * @export\n * @interface DefaultApiDeleteIntegrationRequest\n */\nexport interface DefaultApiDeleteIntegrationRequest {\n /**\n * Integration Id\n * @type {string}\n * @memberof DefaultApiDeleteIntegration\n */\n readonly id: string\n}\n\n/**\n * Request parameters for deleteMessage operation in DefaultApi.\n * @export\n * @interface DefaultApiDeleteMessageRequest\n */\nexport interface DefaultApiDeleteMessageRequest {\n /**\n * Message id\n * @type {string}\n * @memberof DefaultApiDeleteMessage\n */\n readonly id: string\n}\n\n/**\n * Request parameters for deleteUser operation in DefaultApi.\n * @export\n * @interface DefaultApiDeleteUserRequest\n */\nexport interface DefaultApiDeleteUserRequest {\n /**\n * User ID\n * @type {string}\n * @memberof DefaultApiDeleteUser\n */\n readonly id: string\n}\n\n/**\n * Request parameters for downloadFile operation in DefaultApi.\n * @export\n * @interface DefaultApiDownloadFileRequest\n */\nexport interface DefaultApiDownloadFileRequest {\n /**\n * File ID\n * @type {string}\n * @memberof DefaultApiDownloadFile\n */\n readonly id: string\n}\n\n/**\n * Request parameters for getBot operation in DefaultApi.\n * @export\n * @interface DefaultApiGetBotRequest\n */\nexport interface DefaultApiGetBotRequest {\n /**\n * Bot ID\n * @type {string}\n * @memberof DefaultApiGetBot\n */\n readonly id: string\n}\n\n/**\n * Request parameters for getBotAnalytics operation in DefaultApi.\n * @export\n * @interface DefaultApiGetBotAnalyticsRequest\n */\nexport interface DefaultApiGetBotAnalyticsRequest {\n /**\n * Bot ID\n * @type {string}\n * @memberof DefaultApiGetBotAnalytics\n */\n readonly id: string\n\n /**\n * Start date/time (inclusive)\n * @type {string}\n * @memberof DefaultApiGetBotAnalytics\n */\n readonly startDate: string\n\n /**\n * End date/time (exclusive)\n * @type {string}\n * @memberof DefaultApiGetBotAnalytics\n */\n readonly endDate: string\n}\n\n/**\n * Request parameters for getBotLogs operation in DefaultApi.\n * @export\n * @interface DefaultApiGetBotLogsRequest\n */\nexport interface DefaultApiGetBotLogsRequest {\n /**\n * Bot ID\n * @type {string}\n * @memberof DefaultApiGetBotLogs\n */\n readonly id: string\n}\n\n/**\n * Request parameters for getBotWebchat operation in DefaultApi.\n * @export\n * @interface DefaultApiGetBotWebchatRequest\n */\nexport interface DefaultApiGetBotWebchatRequest {\n /**\n * Bot ID\n * @type {string}\n * @memberof DefaultApiGetBotWebchat\n */\n readonly id: string\n\n /**\n * type of script to get\n * @type {'preconfigured' | 'configurable' | 'fullscreen' | 'sharableUrl'}\n * @memberof DefaultApiGetBotWebchat\n */\n readonly type: 'preconfigured' | 'configurable' | 'fullscreen' | 'sharableUrl'\n}\n\n/**\n * Request parameters for getConversation operation in DefaultApi.\n * @export\n * @interface DefaultApiGetConversationRequest\n */\nexport interface DefaultApiGetConversationRequest {\n /**\n * Conversation id\n * @type {string}\n * @memberof DefaultApiGetConversation\n */\n readonly id: string\n}\n\n/**\n * Request parameters for getEvent operation in DefaultApi.\n * @export\n * @interface DefaultApiGetEventRequest\n */\nexport interface DefaultApiGetEventRequest {\n /**\n * Event id\n * @type {string}\n * @memberof DefaultApiGetEvent\n */\n readonly id: string\n}\n\n/**\n * Request parameters for getFile operation in DefaultApi.\n * @export\n * @interface DefaultApiGetFileRequest\n */\nexport interface DefaultApiGetFileRequest {\n /**\n * File ID\n * @type {string}\n * @memberof DefaultApiGetFile\n */\n readonly id: string\n}\n\n/**\n * Request parameters for getIntegration operation in DefaultApi.\n * @export\n * @interface DefaultApiGetIntegrationRequest\n */\nexport interface DefaultApiGetIntegrationRequest {\n /**\n * Integration Id\n * @type {string}\n * @memberof DefaultApiGetIntegration\n */\n readonly id: string\n}\n\n/**\n * Request parameters for getIntegrationByName operation in DefaultApi.\n * @export\n * @interface DefaultApiGetIntegrationByNameRequest\n */\nexport interface DefaultApiGetIntegrationByNameRequest {\n /**\n * Integration Name\n * @type {string}\n * @memberof DefaultApiGetIntegrationByName\n */\n readonly name: string\n\n /**\n * Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @type {string}\n * @memberof DefaultApiGetIntegrationByName\n */\n readonly version: string\n}\n\n/**\n * Request parameters for getMessage operation in DefaultApi.\n * @export\n * @interface DefaultApiGetMessageRequest\n */\nexport interface DefaultApiGetMessageRequest {\n /**\n * Id of the Message\n * @type {string}\n * @memberof DefaultApiGetMessage\n */\n readonly id: string\n}\n\n/**\n * Request parameters for getOrCreateConversation operation in DefaultApi.\n * @export\n * @interface DefaultApiGetOrCreateConversationRequest\n */\nexport interface DefaultApiGetOrCreateConversationRequest {\n /**\n * Conversation data\n * @type {GetOrCreateConversationBody}\n * @memberof DefaultApiGetOrCreateConversation\n */\n readonly getOrCreateConversationBody?: GetOrCreateConversationBody\n}\n\n/**\n * Request parameters for getOrCreateMessage operation in DefaultApi.\n * @export\n * @interface DefaultApiGetOrCreateMessageRequest\n */\nexport interface DefaultApiGetOrCreateMessageRequest {\n /**\n * Message data\n * @type {GetOrCreateMessageBody}\n * @memberof DefaultApiGetOrCreateMessage\n */\n readonly getOrCreateMessageBody?: GetOrCreateMessageBody\n}\n\n/**\n * Request parameters for getOrCreateUser operation in DefaultApi.\n * @export\n * @interface DefaultApiGetOrCreateUserRequest\n */\nexport interface DefaultApiGetOrCreateUserRequest {\n /**\n * User data\n * @type {GetOrCreateUserBody}\n * @memberof DefaultApiGetOrCreateUser\n */\n readonly getOrCreateUserBody?: GetOrCreateUserBody\n}\n\n/**\n * Request parameters for getPublicIntegration operation in DefaultApi.\n * @export\n * @interface DefaultApiGetPublicIntegrationRequest\n */\nexport interface DefaultApiGetPublicIntegrationRequest {\n /**\n * Integration Name\n * @type {string}\n * @memberof DefaultApiGetPublicIntegration\n */\n readonly name: string\n\n /**\n * Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @type {string}\n * @memberof DefaultApiGetPublicIntegration\n */\n readonly version: string\n}\n\n/**\n * Request parameters for getPublicIntegrationById operation in DefaultApi.\n * @export\n * @interface DefaultApiGetPublicIntegrationByIdRequest\n */\nexport interface DefaultApiGetPublicIntegrationByIdRequest {\n /**\n * Integration Id\n * @type {string}\n * @memberof DefaultApiGetPublicIntegrationById\n */\n readonly id: string\n}\n\n/**\n * Request parameters for getState operation in DefaultApi.\n * @export\n * @interface DefaultApiGetStateRequest\n */\nexport interface DefaultApiGetStateRequest {\n /**\n * State type\n * @type {'conversation' | 'user' | 'bot' | 'integration'}\n * @memberof DefaultApiGetState\n */\n readonly type: 'conversation' | 'user' | 'bot' | 'integration'\n\n /**\n * State id\n * @type {string}\n * @memberof DefaultApiGetState\n */\n readonly id: string\n\n /**\n * State name\n * @type {string}\n * @memberof DefaultApiGetState\n */\n readonly name: string\n}\n\n/**\n * Request parameters for getUser operation in DefaultApi.\n * @export\n * @interface DefaultApiGetUserRequest\n */\nexport interface DefaultApiGetUserRequest {\n /**\n * User ID\n * @type {string}\n * @memberof DefaultApiGetUser\n */\n readonly id: string\n}\n\n/**\n * Request parameters for introspect operation in DefaultApi.\n * @export\n * @interface DefaultApiIntrospectRequest\n */\nexport interface DefaultApiIntrospectRequest {\n /**\n * \n * @type {IntrospectBody}\n * @memberof DefaultApiIntrospect\n */\n readonly introspectBody?: IntrospectBody\n}\n\n/**\n * Request parameters for listBots operation in DefaultApi.\n * @export\n * @interface DefaultApiListBotsRequest\n */\nexport interface DefaultApiListBotsRequest {\n /**\n * Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @type {string}\n * @memberof DefaultApiListBots\n */\n readonly nextToken?: string\n}\n\n/**\n * Request parameters for listConversations operation in DefaultApi.\n * @export\n * @interface DefaultApiListConversationsRequest\n */\nexport interface DefaultApiListConversationsRequest {\n /**\n * Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @type {string}\n * @memberof DefaultApiListConversations\n */\n readonly nextToken?: string\n\n /**\n * Filter by tags\n * @type {{ [key: string]: string; }}\n * @memberof DefaultApiListConversations\n */\n readonly tags?: { [key: string]: string; }\n\n /**\n * Filter by participant ids\n * @type {Array<string>}\n * @memberof DefaultApiListConversations\n */\n readonly participantIds?: Array<string>\n}\n\n/**\n * Request parameters for listEvents operation in DefaultApi.\n * @export\n * @interface DefaultApiListEventsRequest\n */\nexport interface DefaultApiListEventsRequest {\n /**\n * Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @type {string}\n * @memberof DefaultApiListEvents\n */\n readonly nextToken?: string\n}\n\n/**\n * Request parameters for listFiles operation in DefaultApi.\n * @export\n * @interface DefaultApiListFilesRequest\n */\nexport interface DefaultApiListFilesRequest {\n /**\n * Bot ID\n * @type {string}\n * @memberof DefaultApiListFiles\n */\n readonly botId: string\n\n /**\n * Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @type {string}\n * @memberof DefaultApiListFiles\n */\n readonly nextToken?: string\n}\n\n/**\n * Request parameters for listIntegrations operation in DefaultApi.\n * @export\n * @interface DefaultApiListIntegrationsRequest\n */\nexport interface DefaultApiListIntegrationsRequest {\n /**\n * Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @type {string}\n * @memberof DefaultApiListIntegrations\n */\n readonly nextToken?: string\n\n /**\n * Integration Name\n * @type {string}\n * @memberof DefaultApiListIntegrations\n */\n readonly name?: string\n\n /**\n * Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @type {string}\n * @memberof DefaultApiListIntegrations\n */\n readonly version?: string\n}\n\n/**\n * Request parameters for listMessages operation in DefaultApi.\n * @export\n * @interface DefaultApiListMessagesRequest\n */\nexport interface DefaultApiListMessagesRequest {\n /**\n * Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @type {string}\n * @memberof DefaultApiListMessages\n */\n readonly nextToken?: string\n\n /**\n * Conversation id\n * @type {string}\n * @memberof DefaultApiListMessages\n */\n readonly conversationId?: string\n\n /**\n * Filter by tags\n * @type {{ [key: string]: string; }}\n * @memberof DefaultApiListMessages\n */\n readonly tags?: { [key: string]: string; }\n}\n\n/**\n * Request parameters for listPublicIntegrations operation in DefaultApi.\n * @export\n * @interface DefaultApiListPublicIntegrationsRequest\n */\nexport interface DefaultApiListPublicIntegrationsRequest {\n /**\n * Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @type {string}\n * @memberof DefaultApiListPublicIntegrations\n */\n readonly nextToken?: string\n\n /**\n * Integration Name\n * @type {string}\n * @memberof DefaultApiListPublicIntegrations\n */\n readonly name?: string\n\n /**\n * Integration version. Either a semver version or tag \\&quot;latest\\&quot;\n * @type {string}\n * @memberof DefaultApiListPublicIntegrations\n */\n readonly version?: string\n}\n\n/**\n * Request parameters for listUsers operation in DefaultApi.\n * @export\n * @interface DefaultApiListUsersRequest\n */\nexport interface DefaultApiListUsersRequest {\n /**\n * Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @type {string}\n * @memberof DefaultApiListUsers\n */\n readonly nextToken?: string\n\n /**\n * Filter by conversation id. This will return all users that have participated in the conversation.\n * @type {string}\n * @memberof DefaultApiListUsers\n */\n readonly conversationId?: string\n\n /**\n * Filter by tags\n * @type {{ [key: string]: string; }}\n * @memberof DefaultApiListUsers\n */\n readonly tags?: { [key: string]: string; }\n}\n\n/**\n * Request parameters for listWorkspaces operation in DefaultApi.\n * @export\n * @interface DefaultApiListWorkspacesRequest\n */\nexport interface DefaultApiListWorkspacesRequest {\n /**\n * Provide the &#x60;meta.nextToken&#x60; value provided in the last API response to retrieve the next page of results\n * @type {string}\n * @memberof DefaultApiListWorkspaces\n */\n readonly nextToken?: string\n}\n\n/**\n * Request parameters for patchState operation in DefaultApi.\n * @export\n * @interface DefaultApiPatchStateRequest\n */\nexport interface DefaultApiPatchStateRequest {\n /**\n * State type\n * @type {'conversation' | 'user' | 'bot' | 'integration'}\n * @memberof DefaultApiPatchState\n */\n readonly type: 'conversation' | 'user' | 'bot' | 'integration'\n\n /**\n * State id\n * @type {string}\n * @memberof DefaultApiPatchState\n */\n readonly id: string\n\n /**\n * State name\n * @type {string}\n * @memberof DefaultApiPatchState\n */\n readonly name: string\n\n /**\n * State content\n * @type {PatchStateBody}\n * @memberof DefaultApiPatchState\n */\n readonly patchStateBody?: PatchStateBody\n}\n\n/**\n * Request parameters for setState operation in DefaultApi.\n * @export\n * @interface DefaultApiSetStateRequest\n */\nexport interface DefaultApiSetStateRequest {\n /**\n * State type\n * @type {'conversation' | 'user' | 'bot' | 'integration'}\n * @memberof DefaultApiSetState\n */\n readonly type: 'conversation' | 'user' | 'bot' | 'integration'\n\n /**\n * State id\n * @type {string}\n * @memberof DefaultApiSetState\n */\n readonly id: string\n\n /**\n * State name\n * @type {string}\n * @memberof DefaultApiSetState\n */\n readonly name: string\n\n /**\n * State content\n * @type {SetStateBody}\n * @memberof DefaultApiSetState\n */\n readonly setStateBody?: SetStateBody\n}\n\n/**\n * Request parameters for updateBot operation in DefaultApi.\n * @export\n * @interface DefaultApiUpdateBotRequest\n */\nexport interface DefaultApiUpdateBotRequest {\n /**\n * Bot ID\n * @type {string}\n * @memberof DefaultApiUpdateBot\n */\n readonly id: string\n\n /**\n * Bot metadata\n * @type {UpdateBotBody}\n * @memberof DefaultApiUpdateBot\n */\n readonly updateBotBody?: UpdateBotBody\n}\n\n/**\n * Request parameters for updateConversation operation in DefaultApi.\n * @export\n * @interface DefaultApiUpdateConversationRequest\n */\nexport interface DefaultApiUpdateConversationRequest {\n /**\n * Conversation id\n * @type {string}\n * @memberof DefaultApiUpdateConversation\n */\n readonly id: string\n\n /**\n * Conversation data\n * @type {UpdateConversationBody}\n * @memberof DefaultApiUpdateConversation\n */\n readonly updateConversationBody?: UpdateConversationBody\n}\n\n/**\n * Request parameters for updateIntegration operation in DefaultApi.\n * @export\n * @interface DefaultApiUpdateIntegrationRequest\n */\nexport interface DefaultApiUpdateIntegrationRequest {\n /**\n * Integration Id\n * @type {string}\n * @memberof DefaultApiUpdateIntegration\n */\n readonly id: string\n\n /**\n * Integration\n * @type {UpdateIntegrationBody}\n * @memberof DefaultApiUpdateIntegration\n */\n readonly updateIntegrationBody?: UpdateIntegrationBody\n}\n\n/**\n * Request parameters for updateMessage operation in DefaultApi.\n * @export\n * @interface DefaultApiUpdateMessageRequest\n */\nexport interface DefaultApiUpdateMessageRequest {\n /**\n * Message id\n * @type {string}\n * @memberof DefaultApiUpdateMessage\n */\n readonly id: string\n\n /**\n * Message data\n * @type {UpdateMessageBody}\n * @memberof DefaultApiUpdateMessage\n */\n readonly updateMessageBody?: UpdateMessageBody\n}\n\n/**\n * Request parameters for updateUser operation in DefaultApi.\n * @export\n * @interface DefaultApiUpdateUserRequest\n */\nexport interface DefaultApiUpdateUserRequest {\n /**\n * User ID\n * @type {string}\n * @memberof DefaultApiUpdateUser\n */\n readonly id: string\n\n /**\n * User data\n * @type {UpdateUserBody}\n * @memberof DefaultApiUpdateUser\n */\n readonly updateUserBody?: UpdateUserBody\n}\n\n/**\n * DefaultApi - object-oriented interface\n * @export\n * @class DefaultApi\n * @extends {BaseAPI}\n */\nexport class DefaultApi extends BaseAPI implements DefaultApiInterface {\n /**\n * Call an action\n * @param {DefaultApiCallActionRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public callAction(requestParameters: DefaultApiCallActionRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).callAction(requestParameters.callActionBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * An integration can call this endpoint to configure itself\n * @param {DefaultApiConfigureIntegrationRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public configureIntegration(requestParameters: DefaultApiConfigureIntegrationRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).configureIntegration(requestParameters.configureIntegrationBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Create bot\n * @param {DefaultApiCreateBotRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public createBot(requestParameters: DefaultApiCreateBotRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).createBot(requestParameters.createBotBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a new [Conversation](#schema_conversation). When creating a new [Conversation](#schema_conversation), the required tags must be provided. See the specific integration for more details.\n * @param {DefaultApiCreateConversationRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public createConversation(requestParameters: DefaultApiCreateConversationRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).createConversation(requestParameters.createConversationBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a new [Event](#schema_event) . When creating a new [Event](#schema_event), the required tags must be provided. See the specific integration for more details.\n * @param {DefaultApiCreateEventRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public createEvent(requestParameters: DefaultApiCreateEventRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).createEvent(requestParameters.createEventBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Create File\n * @param {DefaultApiCreateFileRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public createFile(requestParameters: DefaultApiCreateFileRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).createFile(requestParameters.createFileBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Create integration\n * @param {DefaultApiCreateIntegrationRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public createIntegration(requestParameters: DefaultApiCreateIntegrationRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).createIntegration(requestParameters.createIntegrationBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a new [Message](#schema_message). When creating a new [Message](#schema_message), the required tags must be provided. See the specific integration for more details.\n * @param {DefaultApiCreateMessageRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public createMessage(requestParameters: DefaultApiCreateMessageRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).createMessage(requestParameters.createMessageBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a new [User](#schema_user). When creating a new [User](#schema_user), the required tags must be provided. See the specific integration for more details.\n * @param {DefaultApiCreateUserRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public createUser(requestParameters: DefaultApiCreateUserRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).createUser(requestParameters.createUserBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Delete bot\n * @param {DefaultApiDeleteBotRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public deleteBot(requestParameters: DefaultApiDeleteBotRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).deleteBot(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Permanently deletes a [Conversation](#schema_conversation). It cannot be undone. Also immediately deletes corresponding [Messages](#schema_message).\n * @param {DefaultApiDeleteConversationRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public deleteConversation(requestParameters: DefaultApiDeleteConversationRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).deleteConversation(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Delete File\n * @param {DefaultApiDeleteFileRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public deleteFile(requestParameters: DefaultApiDeleteFileRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).deleteFile(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Delete integration\n * @param {DefaultApiDeleteIntegrationRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public deleteIntegration(requestParameters: DefaultApiDeleteIntegrationRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).deleteIntegration(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Permanently deletes a [Message](#schema_message). It cannot be undone.\n * @param {DefaultApiDeleteMessageRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public deleteMessage(requestParameters: DefaultApiDeleteMessageRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).deleteMessage(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Permanently deletes a [User](#schema_user). It cannot be undone.\n * @param {DefaultApiDeleteUserRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public deleteUser(requestParameters: DefaultApiDeleteUserRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).deleteUser(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Download File\n * @param {DefaultApiDownloadFileRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public downloadFile(requestParameters: DefaultApiDownloadFileRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).downloadFile(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get bot details\n * @param {DefaultApiGetBotRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getBot(requestParameters: DefaultApiGetBotRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getBot(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get bot analytics\n * @param {DefaultApiGetBotAnalyticsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getBotAnalytics(requestParameters: DefaultApiGetBotAnalyticsRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getBotAnalytics(requestParameters.id, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get bot logs\n * @param {DefaultApiGetBotLogsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getBotLogs(requestParameters: DefaultApiGetBotLogsRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getBotLogs(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get the webchat code/URL for a bot\n * @param {DefaultApiGetBotWebchatRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getBotWebchat(requestParameters: DefaultApiGetBotWebchatRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getBotWebchat(requestParameters.id, requestParameters.type, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the [Conversation](#schema_conversation) object for a valid identifier.\n * @param {DefaultApiGetConversationRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getConversation(requestParameters: DefaultApiGetConversationRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getConversation(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the [Event](#schema_event) object for a valid identifiers.\n * @param {DefaultApiGetEventRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getEvent(requestParameters: DefaultApiGetEventRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getEvent(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get File\n * @param {DefaultApiGetFileRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getFile(requestParameters: DefaultApiGetFileRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getFile(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get integration\n * @param {DefaultApiGetIntegrationRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getIntegration(requestParameters: DefaultApiGetIntegrationRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getIntegration(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get integration\n * @param {DefaultApiGetIntegrationByNameRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getIntegrationByName(requestParameters: DefaultApiGetIntegrationByNameRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getIntegrationByName(requestParameters.name, requestParameters.version, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the [Message](#schema_message) object for a valid identifier.\n * @param {DefaultApiGetMessageRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getMessage(requestParameters: DefaultApiGetMessageRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getMessage(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the [Conversation](#schema_conversation) object for a valid identifier. If the conversation does not exist, it will be created.\n * @param {DefaultApiGetOrCreateConversationRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getOrCreateConversation(requestParameters: DefaultApiGetOrCreateConversationRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getOrCreateConversation(requestParameters.getOrCreateConversationBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the [Message](#schema_message) object for a valid identifier. If the message does not exist, it will be created.\n * @param {DefaultApiGetOrCreateMessageRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getOrCreateMessage(requestParameters: DefaultApiGetOrCreateMessageRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getOrCreateMessage(requestParameters.getOrCreateMessageBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the [User](#schema_user) object for a valid identifier. If the user does not exist, it will be created.\n * @param {DefaultApiGetOrCreateUserRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getOrCreateUser(requestParameters: DefaultApiGetOrCreateUserRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getOrCreateUser(requestParameters.getOrCreateUserBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get public integration by name and version\n * @param {DefaultApiGetPublicIntegrationRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getPublicIntegration(requestParameters: DefaultApiGetPublicIntegrationRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getPublicIntegration(requestParameters.name, requestParameters.version, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get public integration by Id\n * @param {DefaultApiGetPublicIntegrationByIdRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getPublicIntegrationById(requestParameters: DefaultApiGetPublicIntegrationByIdRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getPublicIntegrationById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the [State](#schema_state) object for a valid identifiers.\n * @param {DefaultApiGetStateRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getState(requestParameters: DefaultApiGetStateRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getState(requestParameters.type, requestParameters.id, requestParameters.name, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves the [User](#schema_user) object for a valid identifier.\n * @param {DefaultApiGetUserRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public getUser(requestParameters: DefaultApiGetUserRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).getUser(requestParameters.id, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Introspect the API\n * @param {DefaultApiIntrospectRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public introspect(requestParameters: DefaultApiIntrospectRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).introspect(requestParameters.introspectBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * List bots\n * @param {DefaultApiListBotsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public listBots(requestParameters: DefaultApiListBotsRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).listBots(requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a list of [Conversation](#schema_conversation) you\u2019ve previously created. The conversations are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {DefaultApiListConversationsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public listConversations(requestParameters: DefaultApiListConversationsRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).listConversations(requestParameters.nextToken, requestParameters.tags, requestParameters.participantIds, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retreives a list of [Event](#schema_event) you\u2019ve previously created. The events are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {DefaultApiListEventsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public listEvents(requestParameters: DefaultApiListEventsRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).listEvents(requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * List Files\n * @param {DefaultApiListFilesRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public listFiles(requestParameters: DefaultApiListFilesRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).listFiles(requestParameters.botId, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * List integrations\n * @param {DefaultApiListIntegrationsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public listIntegrations(requestParameters: DefaultApiListIntegrationsRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).listIntegrations(requestParameters.nextToken, requestParameters.name, requestParameters.version, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a list of [Messages](#schema_message) you\u2019ve previously created. The messages are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {DefaultApiListMessagesRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public listMessages(requestParameters: DefaultApiListMessagesRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).listMessages(requestParameters.nextToken, requestParameters.conversationId, requestParameters.tags, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * List public integration\n * @param {DefaultApiListPublicIntegrationsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public listPublicIntegrations(requestParameters: DefaultApiListPublicIntegrationsRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).listPublicIntegrations(requestParameters.nextToken, requestParameters.name, requestParameters.version, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieves a list of [User](#schema_user) previously created. The users are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](#tags).\n * @param {DefaultApiListUsersRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public listUsers(requestParameters: DefaultApiListUsersRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).listUsers(requestParameters.nextToken, requestParameters.conversationId, requestParameters.tags, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * List workspaces the user has access to\n * @param {DefaultApiListWorkspacesRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public listWorkspaces(requestParameters: DefaultApiListWorkspacesRequest = {}, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).listWorkspaces(requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Updates the [State](#schema_state) object by setting the values of the parameters passed.\n * @param {DefaultApiPatchStateRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public patchState(requestParameters: DefaultApiPatchStateRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).patchState(requestParameters.type, requestParameters.id, requestParameters.name, requestParameters.patchStateBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Overrides the [State](#schema_state) object by setting the values of the parameters passed.\n * @param {DefaultApiSetStateRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public setState(requestParameters: DefaultApiSetStateRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).setState(requestParameters.type, requestParameters.id, requestParameters.name, requestParameters.setStateBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Update bot\n * @param {DefaultApiUpdateBotRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public updateBot(requestParameters: DefaultApiUpdateBotRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).updateBot(requestParameters.id, requestParameters.updateBotBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Update a [Conversation](#schema_conversation) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.\n * @param {DefaultApiUpdateConversationRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public updateConversation(requestParameters: DefaultApiUpdateConversationRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).updateConversation(requestParameters.id, requestParameters.updateConversationBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Update integration\n * @param {DefaultApiUpdateIntegrationRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public updateIntegration(requestParameters: DefaultApiUpdateIntegrationRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).updateIntegration(requestParameters.id, requestParameters.updateIntegrationBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Update a message\n * @param {DefaultApiUpdateMessageRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public updateMessage(requestParameters: DefaultApiUpdateMessageRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).updateMessage(requestParameters.id, requestParameters.updateMessageBody, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Update a [User](#schema_user) object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.\n * @param {DefaultApiUpdateUserRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DefaultApi\n */\n public updateUser(requestParameters: DefaultApiUpdateUserRequest, options?: AxiosRequestConfig) {\n return DefaultApiFp(this.configuration).updateUser(requestParameters.id, requestParameters.updateUserBody, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n", "// This file was generated by the Opapi Generator\n/* eslint-disable */\n// @ts-nocheck\n/* tslint:disable */\n/* eslint-disable */\n/**\n * Botpress API\n * API for Botpress Cloud\n *\n * The version of the OpenAPI document: 0.2.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport { Configuration } from \"./configuration\";\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';\n\nexport const BASE_PATH = \"https://api.botpress.cloud\".replace(/\\/+$/, \"\");\n\n/**\n *\n * @export\n */\nexport const COLLECTION_FORMATS = {\n csv: \",\",\n ssv: \" \",\n tsv: \"\\t\",\n pipes: \"|\",\n};\n\n/**\n *\n * @export\n * @interface RequestArgs\n */\nexport interface RequestArgs {\n url: string;\n options: AxiosRequestConfig;\n}\n\n/**\n *\n * @export\n * @class BaseAPI\n */\nexport class BaseAPI {\n protected configuration: Configuration | undefined;\n\n constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {\n if (configuration) {\n this.configuration = configuration;\n this.basePath = configuration.basePath || this.basePath;\n }\n }\n};\n\n/**\n *\n * @export\n * @class RequiredError\n * @extends {Error}\n */\nexport class RequiredError extends Error {\n name: \"RequiredError\" = \"RequiredError\";\n constructor(public field: string, msg?: string) {\n super(msg);\n }\n}\n", "// This file was generated by the Opapi Generator\n/* eslint-disable */\n// @ts-nocheck\n/* tslint:disable */\n/* eslint-disable */\n/**\n * Botpress API\n * API for Botpress Cloud\n *\n * The version of the OpenAPI document: 0.2.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport { Configuration } from \"./configuration\";\nimport { RequiredError, RequestArgs } from \"./base\";\nimport { AxiosInstance, AxiosResponse } from 'axios';\n\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url};\n return axios.request<T, R>(axiosRequestArgs);\n };\n}\n", "import axios, { AxiosError, AxiosHeaders, AxiosInstance, AxiosRequestConfig, InternalAxiosRequestConfig } from 'axios'\n\ntype OauthTokenResponse = {\n token: string\n expiresIn: number\n}\n\nexport type OauthOptions = {\n oauthUrl: string\n clientKey: string\n clientSecret: string\n getToken: (res: OauthTokenResponse) => string\n getExpiry: (res: OauthTokenResponse) => number\n}\n\nexport function cacheOauth({ oauthUrl, clientKey, clientSecret, getToken, getExpiry }: OauthOptions) {\n let token: string | null = null\n let expiration: number | null = null\n\n let generatingToken = false\n\n const isTokenActive = () => token && expiration && expiration > Date.now()\n\n const tokenCache = async () => {\n if (isTokenActive()) {\n return token!\n }\n\n if (generatingToken) {\n await until(() => generatingToken === false, 10_000)\n }\n\n generatingToken = true\n\n try {\n if (isTokenActive()) {\n return token!\n }\n\n const res = await getOauthToken(oauthUrl, clientKey, clientSecret)\n\n token = getToken(res)\n expiration = Date.now() + getExpiry(res)\n return token\n } catch (e) {\n throw e\n } finally {\n generatingToken = false\n }\n }\n\n tokenCache.reset = () => {\n token = null\n expiration = null\n }\n\n return tokenCache\n}\n\nasync function getOauthToken(oauthUrl: string, keyId: string, keySecret: string): Promise<OauthTokenResponse> {\n const res = await axios.post(\n oauthUrl,\n new URLSearchParams({\n client_id: keyId,\n client_secret: keySecret,\n grant_type: 'client_credentials',\n })\n )\n return {\n token: res.data.access_token,\n expiresIn: res.data.expires_in,\n }\n}\n\nexport const requestInterceptor =\n (authenticate: (requestConfig: AxiosRequestConfig) => Promise<string>) =>\n async (config: AxiosRequestConfig): Promise<InternalAxiosRequestConfig> => {\n const token = await authenticate(config)\n const headers = AxiosHeaders.from({\n ...config.headers,\n Authorization: `Bearer ${token}`,\n })\n return { ...config, headers }\n }\n\nexport type ErrorRetrier = AxiosError & { config: { _retry: boolean } }\n\nexport const errorInterceptor =\n (instance: AxiosInstance, authenticate: (requestConfig: AxiosRequestConfig) => Promise<string>) =>\n async (error: ErrorRetrier) => {\n const { config } = error\n if (error.response?.status === 401 && !config._retry) {\n error.config._retry = true\n const token = await authenticate(config)\n config.headers = AxiosHeaders.from({\n ...config.headers,\n Authorization: `Bearer ${token}`,\n })\n return instance.request(config)\n }\n\n return Promise.reject(error)\n }\n\nfunction until(condition: () => boolean, timeoutMs: number) {\n return new Promise<void>((resolve, reject) => {\n const start = Date.now()\n const timer = setInterval(() => {\n if (condition()) {\n clearInterval(timer)\n resolve()\n } else {\n const elapsed = Date.now() - start\n if (elapsed > timeoutMs) {\n reject(new Error('Timed out waiting for condition'))\n }\n }\n }, 100)\n })\n}\n"],
5
+ "mappings": "skBAAA,IAAAA,GAAA,GAAAC,GAAAD,GAAA,YAAAE,EAAA,mBAAAC,EAAA,kBAAAC,EAAA,2BAAAC,EAAA,2BAAAC,EAAA,2BAAAC,EAAA,wBAAAC,EAAA,sBAAAC,EAAA,wBAAAC,EAAA,yBAAAC,EAAA,2BAAAC,EAAA,0BAAAC,EAAA,0BAAAC,EAAA,iBAAAC,EAAA,s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AAH,EACA,cAAe,IAAM,KAAO,KAC5B,iBAAkB,KAAO,KAAO,KAChC,gBAAAC,EACA,QAAS,GACX,CAAC,EAED,GAAIJ,EAAa,eAAiB,QAAS,CACzC,IAAMO,EAAeC,GAAY,CAC/B,SAAUR,EAAa,SACvB,UAAWA,EAAa,UACxB,aAAcA,EAAa,aAC3B,SAAWS,GAAQA,EAAI,MACvB,UAAYA,GAAQA,EAAI,UAAY,GACtC,CAAC,EACDJ,EAAY,aAAa,QAAQ,IAAIK,GAAmBH,CAAY,CAAC,EACrEF,EAAY,aAAa,SAAS,IAAI,OAAWM,GAAiBN,EAAaE,CAAY,CAAC,CAC9F,CAEA,MAAM,OAAWL,EAAMG,CAAW,EAElC,KAAK,OAASL,CAChB,CACF",
6
+ "names": ["src_exports", "__export", "Client", "ForbiddenError", "InternalError", "InvalidDataFormatError", "InvalidIdentifierError", "InvalidJsonSchemaError", "InvalidPayloadError", "InvalidQueryError", "MethodNotFoundError", "PayloadTooLargeError", "ReferenceNotFoundError", "RelationConflictError", "ResourceNotFoundError", "RuntimeError", "UnauthorizedError", "UnknownError", "UnsupportedMediaTypeError", "axios", "errorFrom", "isApiError", "__toCommonJS", "import_axios", "import_browser_or_node", "defaultApiUrl", "defaultOauthUrl", "apiUrlEnvName", "oauthUrlEnvName", "botIdEnvName", "integrationIdEnvName", "workspaceIdEnvName", "environmentEnvName", "tokenEnvName", "botClientKeyEnvName", "botClientSecretEnvName", "getClientConfig", "clientProps", "props", "getProps", "headers", "getBrowserConfig", "getNodeConfig", "config", "token", "clientKey", "clientSecret", "BaseApiError", "code", "description", "type", "message", "error", "isObject", "obj", "isApiError", "thrown", "UnknownError", "InternalError", "UnauthorizedError", "ForbiddenError", "PayloadTooLargeError", "InvalidPayloadError", "UnsupportedMediaTypeError", "MethodNotFoundError", "ResourceNotFoundError", "InvalidJsonSchemaError", "InvalidDataFormatError", "InvalidIdentifierError", "RelationConflictError", "ReferenceNotFoundError", "InvalidQueryError", "RuntimeError", "errorTypes", "errorFrom", "err", "getErrorFromObject", "ErrorClass", "import_axios", "import_axios", "import_axios", "BASE_PATH", "BaseAPI", "configuration", "basePath", "BASE_PATH", "axios", "globalAxios", "RequiredError", "field", "msg", "import_axios", "DUMMY_BASE_URL", "assertParamExists", "functionName", "paramName", "paramValue", "RequiredError", "setFlattenedQueryParams", "urlSearchParams", "parameter", "key", "item", "currentKey", "setSearchParams", "url", "objects", "searchParams", "serializeDataIfNeeded", "value", "requestOptions", "configuration", "nonString", "toPathString", "createRequestFunction", "axiosArgs", "globalAxios", "BASE_PATH", "axios", "basePath", "axiosRequestArgs", "DefaultApiAxiosParamCreator", "configuration", "callActionBody", "options", "localVarPath", "localVarUrlObj", "DUMMY_BASE_URL", "baseOptions", "localVarRequestOptions", "localVarHeaderParameter", "localVarQueryParameter", "setSearchParams", "headersFromBaseOptions", "serializeDataIfNeeded", "toPathString", "configureIntegrationBody", "createBotBody", "createConversationBody", "createEventBody", "createFileBody", "createIntegrationBody", "createMessageBody", "createUserBody", "id", "assertParamExists", "startDate", "endDate", "type", "name", "version", "getOrCreateConversationBody", "getOrCreateMessageBody", "getOrCreateUserBody", "introspectBody", "nextToken", "tags", "participantIds", "botId", "conversationId", "patchStateBody", "setStateBody", "updateBotBody", "updateConversationBody", "updateIntegrationBody", "updateMessageBody", "updateUserBody", "DefaultApiFp", "localVarAxiosParamCreator", "localVarAxiosArgs", "createRequestFunction", "globalAxios", "BASE_PATH", "DefaultApi", "BaseAPI", "requestParameters", "options", "DefaultApiFp", "request", "ApiClient", "configuration", "basePath", "axiosInstance", "DefaultApi", "createConversationBody", "res", "getError", "props", "getOrCreateConversationBody", "id", "updateConversationBody", "e", "createEventBody", "createMessageBody", "getOrCreateMessageBody", "updateMessageBody", "createUserBody", "getOrCreateUserBody", "updateUserBody", "type", "name", "setStateBody", "patchStateBody", "callActionBody", "configureIntegrationBody", "createBotBody", "updateBotBody", "createIntegrationBody", "updateIntegrationBody", "introspectBody", "createFileBody", "err", "axios", "errorFrom", "import_axios", "cacheOauth", "oauthUrl", "clientKey", "clientSecret", "getToken", "getExpiry", "token", "expiration", "generatingToken", "isTokenActive", "tokenCache", "until", "res", "getOauthToken", "e", "keyId", "keySecret", "axios", "requestInterceptor", "authenticate", "config", "headers", "errorInterceptor", "instance", "error", "condition", "timeoutMs", "resolve", "reject", "start", "timer", "Client", "ApiClient", "clientProps", "clientConfig", "getClientConfig", "host", "headers", "withCredentials", "axiosClient", "axios", "authenticate", "cacheOauth", "res", "requestInterceptor", "errorInterceptor"]
7
+ }