1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189 |
- declare namespace API {
- type AddAppDto = {
- /** 应用名称 */
- appName: string;
- /** 应用编码 */
- appId: string;
- };
- type AddAppRobotCommandDto = {
- /** 应用编码 */
- appId: string;
- /** 机器人编码 */
- robotCode: string;
- /** 命令 */
- command: string;
- /** 应用方接口 */
- url: string;
- /** 说明 */
- description?: string;
- };
- type AddAppRobotDto = {
- /** 应用编码 */
- appId: string;
- /** 机器人编码 */
- robotCodes: string[];
- };
- type AddAppSftpDto = {
- /** 应用编码 */
- appId: string;
- /** sftp id */
- sftpId: string;
- /** 主机 */
- host: string;
- /** 端口 */
- port: number;
- /** 用户名 */
- username: string;
- /** 密码 */
- password: string;
- };
- type AddAppTaskDto = {
- /** 应用编码 */
- appId: string;
- /** 任务名称 */
- taskName: string;
- /** 任务描述 */
- description?: string;
- /** cron表达式 */
- cron: string;
- /** 机器人编码 */
- robotCode: string;
- /** 会话类型:1:单聊,2:群聊 */
- conversationType: number;
- /** 群id */
- openConversationId?: string;
- /** 接收机器人消息的用户的手机号列表 */
- phones?: string;
- /** 接收机器人消息的用户的userId列表 */
- userIds?: string;
- /** sftp id */
- sftpId: string;
- /** 数据主文件夹 */
- masterDir: string;
- /** 是否有子文件夹,0否1是 */
- hasSubdirectory: number;
- /** 子文件夹匹配方式 */
- subdirectoryMethod?: 'MONTH' | 'DAY' | 'REG_EXP';
- /** 子文件夹时延 */
- dirTimeDelay?: number;
- /** 匹配最新子文件夹正则表达式 */
- subdirectoryPattern?: string;
- /** 文件是否转为文本,0否1是 */
- fileToText: number;
- /** 文件匹配方式 */
- fileMethod: 'ALL' | 'MONTH' | 'DAY' | 'REG_EXP';
- /** 文件时延 */
- fileTimeDelay?: number;
- /** 文件前缀 */
- filePrefix?: string;
- /** 文件扩展名 */
- fileExtension?: string;
- /** 文件名匹配正则表达式 */
- filePattern?: string;
- /** 任务超时时间秒 */
- taskTimeout: number;
- /** 最大失败重试次数 */
- maxRetryTimes: number;
- /** 重试间隔秒 */
- retryInterval: number;
- /** 告警方式 */
- alertType: 'DEFAULT' | 'TASK' | 'CUSTOM';
- /** 告警机器人编码 */
- alertRobotCode?: string;
- /** 告警群id */
- alertOpenConversationId?: string;
- /** 接收告警的手机号列表 */
- alertPhones?: string;
- /** 接收告警的用户的userId列表 */
- alertUserIds?: string;
- };
- type AddRobotDto = {
- /** 机器人编码 */
- robotCode: string;
- /** 机器人密钥 */
- robotSecret: string;
- /** 机器人名称 */
- robotName: string;
- };
- type AlertConfigDto = {
- /** 机器人编码 */
- robotCode?: string;
- /** 机器人密钥 */
- robotSecret?: string;
- /** 群id */
- openConversationId?: string;
- /** 接收机器人消息的用户的手机号列表 */
- phones?: string;
- /** 接收机器人消息的用户的userId列表 */
- userIds?: string;
- };
- type AlertConfigPo = {
- id?: number;
- /** 机器人编码 */
- robotCode?: string;
- /** 机器人密钥 */
- robotSecret?: string;
- /** 群id */
- openConversationId?: string;
- /** 接收机器人消息的用户的手机号列表 */
- phones?: string;
- /** 接收机器人消息的用户的userId列表 */
- userIds?: string;
- };
- type AppTaskLogPo = {
- /** 日志id */
- id?: string;
- /** 任务id */
- taskId?: string;
- /** 任务名称 */
- taskName?: string;
- /** 应用编码 */
- appId?: string;
- /** 应用名称 */
- appName?: string;
- /** 机器人编码 */
- robotCode?: string;
- /** 机器人名称 */
- robotName?: string;
- /** 会话类型:1:单聊,2:群聊 */
- conversationType?: number;
- /** 群id */
- openConversationId?: string;
- /** 接收机器人消息的用户的手机号列表 */
- phones?: string;
- /** 接收机器人消息的用户的userId列表 */
- userIds?: string;
- /** sftp id */
- sftpId?: string;
- /** sftp ip */
- host?: string;
- /** sftp端口 */
- port?: number;
- /** 要发送的文件 */
- files?: string;
- /** 任务执行状态,0失败1成功 */
- status?: number;
- /** 详情 */
- detail?: string;
- /** 执行时间 */
- createTime?: string;
- /** 消息id列表 */
- processQueryKeys?: string;
- };
- type BatchRecallOtoMessagesDto = {
- /** 机器人的编码 */
- robotCode: string;
- /** 消息唯一标识列表,每次最多传20个,在发送消息24小时内可以通过processQueryKey撤回消息,超过24小时则无法撤回消息 */
- processQueryKeys: string[];
- };
- type BatchRecallOtoMessagesVo = {
- /** 撤回成功的消息发送任务ID列表 */
- successResult?: string[];
- /** 撤回失败的消息发送任务ID列表及对应的失败原因 */
- failedResult?: Record<string, any>;
- };
- type BatchSendOtoSampleFileDto = {
- /** 机器人的编码 */
- robotCode: string;
- /** 媒体文件上传后获取的唯一标识 */
- mediaId: string;
- /** 接收机器人消息的用户的手机号列表,每次最多传20个 */
- phones?: string[];
- /** 接收机器人消息的用户的userId列表,每次最多传20个 */
- userIds?: string[];
- /** 文件名 */
- filename: string;
- };
- type BatchSendOtoSampleImageMsgDto = {
- /** 机器人的编码 */
- robotCode: string;
- /** 媒体文件上传后获取的唯一标识 */
- mediaId: string;
- /** 接收机器人消息的用户的手机号列表,每次最多传20个 */
- phones?: string[];
- /** 接收机器人消息的用户的userId列表,每次最多传20个 */
- userIds?: string[];
- };
- type BatchSendSampleMarkdownDto = {
- /** 标题 */
- title: string;
- /** 内容 */
- text: string;
- /** 机器人的编码 */
- robotCode: string;
- /** 接收机器人消息的用户的手机号列表,每次最多传20个 */
- phones?: string[];
- /** 接收机器人消息的用户的userId列表,每次最多传20个 */
- userIds?: string[];
- };
- type BatchSendSampleTextDto = {
- /** 内容 */
- content: string;
- /** 机器人的编码 */
- robotCode: string;
- /** 接收机器人消息的用户的手机号列表,每次最多传20个 */
- phones?: string[];
- /** 接收机器人消息的用户的userId列表,每次最多传20个 */
- userIds?: string[];
- };
- type BatchSendVo = {
- /** 消息id,根据此id,可用于查询消息是否已读和撤回消息 */
- processQueryKey?: string;
- /** 失败的手机号列表和对应原因 */
- failPhones?: Record<string, any>;
- /** 无效的用户userId列表 */
- invalidStaffIdList?: string[];
- /** 被限流的userId列表 */
- flowControlledStaffIdList?: string[];
- };
- type DeleteAppDto = {
- /** 应用编码 */
- appId: string;
- };
- type DeleteAppRobotCommandDto = {
- /** 应用编码 */
- appId: string;
- /** 机器人编码 */
- robotCode: string;
- /** 命令 */
- command: string;
- };
- type DeleteAppRobotDto = {
- /** 应用编码 */
- appId: string;
- /** 机器人编码 */
- robotCodes: string[];
- };
- type DeleteAppSftpDto = {
- /** sftp id */
- sftpId: string;
- };
- type DeleteAppTaskDto = {
- /** 任务id */
- taskId: string;
- };
- type DeleteRobotDto = {
- /** 机器人编码 */
- robotCode: string;
- };
- type EnableAppTaskDto = {
- /** 任务id */
- taskId: string;
- };
- type GetAppRobotOptionsDto = {
- /** 应用编码 */
- appId: string;
- };
- type GetAppRobotOptionsVo = {
- /** 机器人编码 */
- value?: string;
- /** 机器人名称 */
- label?: string;
- };
- type GetAppSftpOptionsDto = {
- /** 应用编码 */
- appId: string;
- };
- type GetAppSftpOptionsVo = {
- /** sftp id */
- value?: string;
- /** sftp信息 */
- label?: string;
- };
- type GetUserIdByMobileDto = {
- /** 机器人的编码 */
- robotCode: string;
- /** 用户的手机号 */
- mobile: string;
- };
- type GetUserIdByMobileVo = {
- /** 员工的userId */
- userId?: string;
- };
- type GroupSendSampleFileDto = {
- /** 机器人的编码 */
- robotCode: string;
- /** 会话ID */
- openConversationId: string;
- /** 媒体文件上传后获取的唯一标识 */
- mediaId: string;
- /** 文件名 */
- filename: string;
- };
- type GroupSendSampleImageMsgDto = {
- /** 机器人的编码 */
- robotCode: string;
- /** 会话ID */
- openConversationId: string;
- /** 媒体文件上传后获取的唯一标识 */
- mediaId: string;
- };
- type GroupSendSampleMarkdownDto = {
- /** 标题 */
- title: string;
- /** 内容 */
- text: string;
- /** 机器人的编码 */
- robotCode: string;
- /** 会话ID */
- openConversationId: string;
- };
- type GroupSendSampleTextDto = {
- /** 内容 */
- content: string;
- /** 机器人的编码 */
- robotCode: string;
- /** 会话ID */
- openConversationId: string;
- };
- type GroupSendVo = {
- /** 加密消息id,根据此id可查询消息已读状态和撤回消息 */
- processQueryKey?: string;
- };
- type ListAppDto = {
- /** 页码>=1 */
- current: number;
- /** 每页个数,[1,100] */
- pageSize: number;
- /** 应用名称 */
- appName?: string;
- /** 应用编码 */
- appId?: string;
- /** 排序 */
- sort?: Record<string, any>;
- };
- type ListAppRobotCommandDto = {
- /** 页码>=1 */
- current: number;
- /** 每页个数,[1,100] */
- pageSize: number;
- /** 应用编码 */
- appId: string;
- /** 机器人编码 */
- robotCode: string;
- /** 命令 */
- command?: string;
- /** 排序 */
- sort?: Record<string, any>;
- };
- type ListAppRobotCommandVo = {
- /** 命令 */
- command?: string;
- /** 应用方接口 */
- url?: string;
- /** 说明 */
- description?: string;
- /** 创建时间 */
- createTime?: string;
- /** 更新时间 */
- updateTime?: string;
- };
- type ListAppRobotDto = {
- /** 页码>=1 */
- current: number;
- /** 每页个数,[1,100] */
- pageSize: number;
- /** 应用编码 */
- appId: string;
- /** 机器人编码 */
- robotCode?: string;
- /** 机器人名称 */
- robotName?: string;
- /** 排序 */
- sort?: Record<string, any>;
- };
- type ListAppRobotVo = {
- /** 机器人编码 */
- robotCode?: string;
- /** 机器人密钥 */
- robotSecret?: string;
- /** 机器人名称 */
- robotName?: string;
- };
- type ListAppSftpDto = {
- /** 页码>=1 */
- current: number;
- /** 每页个数,[1,100] */
- pageSize: number;
- /** 应用编码 */
- appId: string;
- /** sftp id */
- sftpId?: string;
- /** 主机 */
- host?: string;
- /** 端口 */
- port?: number;
- /** 用户名 */
- username?: string;
- /** 排序 */
- sort?: Record<string, any>;
- };
- type ListAppSftpVo = {
- /** sftp id */
- sftpId?: string;
- /** 应用编码 */
- appId?: string;
- /** 主机 */
- host?: string;
- /** 端口 */
- port?: number;
- /** 用户名 */
- username?: string;
- /** 密码 */
- password?: string;
- /** 创建时间 */
- createTime?: string;
- /** 更新时间 */
- updateTime?: string;
- };
- type ListAppTaskDto = {
- /** 页码>=1 */
- current: number;
- /** 每页个数,[1,100] */
- pageSize: number;
- /** 应用编码 */
- appId: string;
- /** 任务id */
- taskId?: string;
- /** 任务名称 */
- taskName?: string;
- /** 任务状态,0已停止1运行中2已删除 */
- status?: number;
- /** 机器人编码 */
- robotCode?: string;
- /** 机器人名称 */
- robotName?: string;
- /** 会话类型:1:单聊,2:群聊 */
- conversationType?: number;
- /** 群id */
- openConversationId?: string;
- /** 接收机器人消息的用户的手机号列表 */
- phones?: string;
- /** 接收机器人消息的用户的userId列表 */
- userIds?: string;
- /** sftp id */
- sftpId?: string;
- /** 主机 */
- host?: string;
- /** 排序 */
- sort?: Record<string, any>;
- };
- type ListAppTaskLogDto = {
- /** 页码>=1 */
- current: number;
- /** 每页个数,[1,100] */
- pageSize: number;
- /** 日志id */
- id?: string;
- /** 应用编码 */
- appId?: string;
- /** 应用名称 */
- appName?: string;
- /** 任务id */
- taskId?: string;
- /** 任务名称 */
- taskName?: string;
- /** 任务执行状态,0失败1成功 */
- status?: number;
- /** 机器人编码 */
- robotCode?: string;
- /** 机器人名称 */
- robotName?: string;
- /** 会话类型:1:单聊,2:群聊 */
- conversationType?: number;
- /** 群id */
- openConversationId?: string;
- /** 接收机器人消息的用户的手机号列表 */
- phones?: string;
- /** 接收机器人消息的用户的userId列表 */
- userIds?: string;
- /** sftp id */
- sftpId?: string;
- /** 主机 */
- host?: string;
- /** 开始时间 */
- startTime?: string;
- /** 结束时间 */
- endTime?: string;
- /** 排序 */
- sort?: Record<string, any>;
- };
- type ListAppTaskVo = {
- /** 应用编码 */
- appId?: string;
- /** 应用名称 */
- appName?: string;
- /** 任务id */
- taskId?: string;
- /** 任务名称 */
- taskName?: string;
- /** 任务描述 */
- description?: string;
- /** 任务状态,0已停止1运行中2已删除 */
- status?: number;
- /** cron表达式 */
- cron?: string;
- /** 机器人编码 */
- robotCode?: string;
- /** 机器人名称 */
- robotName?: string;
- /** 会话类型:1:单聊,2:群聊 */
- conversationType?: number;
- /** 群id */
- openConversationId?: string;
- /** 接收机器人消息的用户的手机号列表 */
- phones?: string;
- /** 接收机器人消息的用户的userId列表 */
- userIds?: string;
- /** sftp id */
- sftpId?: string;
- /** 主机 */
- host?: string;
- /** 数据主文件夹 */
- masterDir?: string;
- /** 是否有子文件夹,0否1是 */
- hasSubdirectory?: number;
- /** 子文件夹匹配方式 */
- subdirectoryMethod?: string;
- /** 子文件夹时延 */
- dirTimeDelay?: number;
- /** 匹配最新子文件夹正则表达式 */
- subdirectoryPattern?: string;
- /** 文件是否转为文本,0否1是 */
- fileToText?: number;
- /** 文件匹配方式 */
- fileMethod?: string;
- /** 文件时延 */
- fileTimeDelay?: number;
- /** 文件前缀 */
- filePrefix?: string;
- /** 文件扩展名 */
- fileExtension?: string;
- /** 文件名匹配正则表达式 */
- filePattern?: string;
- /** 任务超时时间秒 */
- taskTimeout?: number;
- /** 失败重试次数 */
- maxRetryTimes?: number;
- /** 重试间隔秒 */
- retryInterval?: number;
- /** 告警方式 */
- alertType?: string;
- /** 告警机器人名称 */
- alertRobotName?: string;
- /** 告警机器人编码 */
- alertRobotCode?: string;
- /** 告警群id */
- alertOpenConversationId?: string;
- /** 接收告警的手机号列表 */
- alertPhones?: string;
- /** 接收告警的用户的userId列表 */
- alertUserIds?: string;
- /** 创建时间 */
- createTime?: string;
- /** 更新时间 */
- updateTime?: string;
- };
- type ListAppVo = {
- /** 应用编码 */
- appId?: string;
- /** 应用名称 */
- appName?: string;
- /** 应用密钥 */
- appSecret?: string;
- /** 创建时间 */
- createTime?: string;
- /** 更新时间 */
- updateTime?: string;
- };
- type ListAvailableRobotDto = {
- /** 页码>=1 */
- current: number;
- /** 每页个数,[1,100] */
- pageSize: number;
- /** 应用编码 */
- appId: string;
- /** 机器人编码 */
- robotCode?: string;
- /** 机器人名称 */
- robotName?: string;
- /** 排序 */
- sort?: Record<string, any>;
- };
- type ListAvailableRobotVo = {
- /** 机器人编码 */
- robotCode?: string;
- /** 机器人密钥 */
- robotSecret?: string;
- /** 机器人名称 */
- robotName?: string;
- };
- type ListRobotDto = {
- /** 页码>=1 */
- current: number;
- /** 每页个数,[1,100] */
- pageSize: number;
- /** 机器人编码 */
- robotCode?: string;
- /** 机器人名称 */
- robotName?: string;
- /** 排序 */
- sort?: Record<string, any>;
- };
- type ListRobotVo = {
- /** 机器人编码 */
- robotCode?: string;
- /** 机器人密钥 */
- robotSecret?: string;
- /** 机器人名称 */
- robotName?: string;
- /** 创建时间 */
- createTime?: string;
- /** 更新时间 */
- updateTime?: string;
- };
- type LoginDto = {
- /** 用户名 */
- username: string;
- /** 密码 */
- password: string;
- };
- type loginParams = {
- dto: LoginDto;
- };
- type LoginVo = {
- /** 用户名 */
- name?: string;
- /** 头像 */
- avatar?: string;
- };
- type PageVoAppTaskLogPo = {
- /** 总数 */
- total?: number;
- /** 列表 */
- list?: AppTaskLogPo[];
- };
- type PageVoListAppRobotCommandVo = {
- /** 总数 */
- total?: number;
- /** 列表 */
- list?: ListAppRobotCommandVo[];
- };
- type PageVoListAppRobotVo = {
- /** 总数 */
- total?: number;
- /** 列表 */
- list?: ListAppRobotVo[];
- };
- type PageVoListAppSftpVo = {
- /** 总数 */
- total?: number;
- /** 列表 */
- list?: ListAppSftpVo[];
- };
- type PageVoListAppTaskVo = {
- /** 总数 */
- total?: number;
- /** 列表 */
- list?: ListAppTaskVo[];
- };
- type PageVoListAppVo = {
- /** 总数 */
- total?: number;
- /** 列表 */
- list?: ListAppVo[];
- };
- type PageVoListAvailableRobotVo = {
- /** 总数 */
- total?: number;
- /** 列表 */
- list?: ListAvailableRobotVo[];
- };
- type PageVoListRobotVo = {
- /** 总数 */
- total?: number;
- /** 列表 */
- list?: ListRobotVo[];
- };
- type RAlertConfigPo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: AlertConfigPo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RBatchRecallOtoMessagesVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: BatchRecallOtoMessagesVo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RBatchSendVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: BatchSendVo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RecallGroupMessagesDto = {
- /** 机器人的编码 */
- robotCode: string;
- /** 会话ID */
- openConversationId: string;
- /** 消息唯一标识列表,每次最多传20个,在发送消息24小时内可以通过processQueryKey撤回消息,超过24小时则无法撤回消息 */
- processQueryKeys: string[];
- };
- type RecallGroupMessagesVo = {
- /** 撤回成功的消息发送任务ID列表 */
- successResult?: string[];
- /** 撤回失败的消息发送任务ID列表及对应的失败原因 */
- failedResult?: Record<string, any>;
- };
- type ResetAppSecretDto = {
- /** 应用编码 */
- appId: string;
- };
- type RGetUserIdByMobileVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: GetUserIdByMobileVo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RGroupSendVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: GroupSendVo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RListGetAppRobotOptionsVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- /** 数据 */
- data?: GetAppRobotOptionsVo[];
- /** 请求跟踪id */
- traceId?: string;
- };
- type RListGetAppSftpOptionsVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- /** 数据 */
- data?: GetAppSftpOptionsVo[];
- /** 请求跟踪id */
- traceId?: string;
- };
- type RLoginVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: LoginVo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RObject = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- /** 数据 */
- data?: Record<string, any>;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RPageVoAppTaskLogPo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: PageVoAppTaskLogPo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RPageVoListAppRobotCommandVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: PageVoListAppRobotCommandVo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RPageVoListAppRobotVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: PageVoListAppRobotVo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RPageVoListAppSftpVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: PageVoListAppSftpVo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RPageVoListAppTaskVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: PageVoListAppTaskVo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RPageVoListAppVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: PageVoListAppVo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RPageVoListAvailableRobotVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: PageVoListAvailableRobotVo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RPageVoListRobotVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: PageVoListRobotVo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RRecallGroupMessagesVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: RecallGroupMessagesVo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type RunAppTaskDto = {
- /** 任务id */
- taskId: string;
- };
- type RUploadVo = {
- /** 是否成功 */
- success?: boolean;
- /** 错误码 */
- code?: number;
- /** 提示信息 */
- message?: string;
- data?: UploadVo;
- /** 请求跟踪id */
- traceId?: string;
- };
- type SftpBatchSendOtoSampleFileDto = {
- /** 机器人的编码 */
- robotCode: string;
- /** sftp id */
- sftpId: string;
- /** 文件绝对路径 */
- filePath: string;
- /** 接收机器人消息的用户的手机号列表,每次最多传20个 */
- phones?: string[];
- /** 接收机器人消息的用户的userId列表,每次最多传20个 */
- userIds?: string[];
- };
- type SftpBatchSendOtoSampleImageMsgDto = {
- /** 机器人的编码 */
- robotCode: string;
- /** sftp id */
- sftpId: string;
- /** 图片绝对路径 */
- filePath: string;
- /** 接收机器人消息的用户的手机号列表,每次最多传20个 */
- phones?: string[];
- /** 接收机器人消息的用户的userId列表,每次最多传20个 */
- userIds?: string[];
- };
- type SftpGroupSendSampleFileDto = {
- /** 机器人的编码 */
- robotCode: string;
- /** 会话ID */
- openConversationId: string;
- /** sftp id */
- sftpId: string;
- /** 文件绝对路径 */
- filePath: string;
- };
- type SftpGroupSendSampleImageMsgDto = {
- /** 机器人的编码 */
- robotCode: string;
- /** 会话ID */
- openConversationId: string;
- /** sftp id */
- sftpId: string;
- /** 图片绝对路径 */
- filePath: string;
- };
- type StopAppTaskDto = {
- /** 任务id */
- taskId: string;
- };
- type UpdateAppDto = {
- /** 应用名称 */
- appName: string;
- /** 应用编码 */
- appId: string;
- };
- type UpdateAppRobotCommandDto = {
- /** 应用编码 */
- appId: string;
- /** 机器人编码 */
- robotCode: string;
- /** 命令 */
- command: string;
- /** 应用方接口 */
- url: string;
- /** 说明 */
- description?: string;
- };
- type UpdateAppSftpDto = {
- /** 应用编码 */
- appId: string;
- /** sftp id */
- sftpId: string;
- /** 主机 */
- host: string;
- /** 端口 */
- port: number;
- /** 用户名 */
- username: string;
- /** 密码 */
- password: string;
- };
- type UpdateAppTaskDto = {
- /** 应用编码 */
- appId: string;
- /** 任务名称 */
- taskName: string;
- /** 任务描述 */
- description?: string;
- /** cron表达式 */
- cron: string;
- /** 机器人编码 */
- robotCode: string;
- /** 会话类型:1:单聊,2:群聊 */
- conversationType: number;
- /** 群id */
- openConversationId?: string;
- /** 接收机器人消息的用户的手机号列表 */
- phones?: string;
- /** 接收机器人消息的用户的userId列表 */
- userIds?: string;
- /** sftp id */
- sftpId: string;
- /** 数据主文件夹 */
- masterDir: string;
- /** 是否有子文件夹,0否1是 */
- hasSubdirectory: number;
- /** 子文件夹匹配方式 */
- subdirectoryMethod?: 'MONTH' | 'DAY' | 'REG_EXP';
- /** 子文件夹时延 */
- dirTimeDelay?: number;
- /** 匹配最新子文件夹正则表达式 */
- subdirectoryPattern?: string;
- /** 文件是否转为文本,0否1是 */
- fileToText: number;
- /** 文件匹配方式 */
- fileMethod: 'ALL' | 'MONTH' | 'DAY' | 'REG_EXP';
- /** 文件时延 */
- fileTimeDelay?: number;
- /** 文件前缀 */
- filePrefix?: string;
- /** 文件扩展名 */
- fileExtension?: string;
- /** 文件名匹配正则表达式 */
- filePattern?: string;
- /** 任务超时时间秒 */
- taskTimeout: number;
- /** 最大失败重试次数 */
- maxRetryTimes: number;
- /** 重试间隔秒 */
- retryInterval: number;
- /** 告警方式 */
- alertType: 'DEFAULT' | 'TASK' | 'CUSTOM';
- /** 告警机器人编码 */
- alertRobotCode?: string;
- /** 告警群id */
- alertOpenConversationId?: string;
- /** 接收告警的手机号列表 */
- alertPhones?: string;
- /** 接收告警的用户的userId列表 */
- alertUserIds?: string;
- /** 任务id */
- taskId: string;
- };
- type UpdateRobotDto = {
- /** 机器人编码 */
- robotCode: string;
- /** 机器人密钥 */
- robotSecret: string;
- /** 机器人名称 */
- robotName: string;
- };
- type UploadVo = {
- /** 媒体文件上传后获取的唯一标识 */
- mediaId?: string;
- };
- }
|