@satorijs/adapter-dingtalk 2.4.2 → 2.5.0

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.
package/lib/index.js DELETED
@@ -1,1856 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
-
30
- // src/index.ts
31
- var src_exports = {};
32
- __export(src_exports, {
33
- DingtalkBot: () => DingtalkBot,
34
- DingtalkMessageEncoder: () => DingtalkMessageEncoder,
35
- HttpServer: () => HttpServer,
36
- decodeMessage: () => decodeMessage,
37
- default: () => src_default,
38
- escape: () => escape,
39
- unescape: () => unescape
40
- });
41
- module.exports = __toCommonJS(src_exports);
42
-
43
- // src/bot.ts
44
- var import_satori6 = require("@satorijs/satori");
45
-
46
- // src/http.ts
47
- var import_satori2 = require("@satorijs/satori");
48
- var import_node_crypto = __toESM(require("node:crypto"));
49
-
50
- // src/utils.ts
51
- var import_satori = require("@satorijs/satori");
52
- async function decodeMessage(bot, body) {
53
- const session = bot.session();
54
- session.type = "message";
55
- session.messageId = body.msgId;
56
- session.guildId = body.chatbotCorpId;
57
- session.event.user = {
58
- id: body.senderStaffId,
59
- name: body.senderNick
60
- };
61
- if (body.conversationType === "1") {
62
- session.channelId = session.userId;
63
- session.isDirect = true;
64
- } else {
65
- const atUsers = body.atUsers.filter((v) => v.dingtalkId !== body.chatbotUserId).map((v) => import_satori.h.at(v.staffId));
66
- session.elements = [import_satori.h.at(body.robotCode), ...atUsers];
67
- session.channelId = body.conversationId;
68
- session.isDirect = false;
69
- }
70
- if (body.conversationTitle) {
71
- session.event.channel.name = body.conversationTitle;
72
- }
73
- session.event.member = {
74
- roles: body.isAdmin ? ["admin"] : []
75
- };
76
- session.timestamp = +body.createAt;
77
- if (body.msgtype === "text") {
78
- session.elements = [import_satori.h.text(body.text.content)];
79
- } else if (body.msgtype === "richText") {
80
- const elements = [];
81
- for (const item of body.content.richText) {
82
- if (item.text)
83
- elements.push(import_satori.h.text(item.text));
84
- if (item.downloadCode) {
85
- const url = await bot.downloadFile(item.downloadCode);
86
- elements.push(import_satori.h.image(url));
87
- }
88
- }
89
- session.elements = elements;
90
- } else if (body.msgtype === "picture") {
91
- session.elements = [import_satori.h.image(await bot.downloadFile(body.content.downloadCode))];
92
- } else if (body.msgtype === "file") {
93
- session.elements = [import_satori.h.file(await bot.downloadFile(body.content.downloadCode))];
94
- } else {
95
- return;
96
- }
97
- session.content = session.elements.join("");
98
- return session;
99
- }
100
- __name(decodeMessage, "decodeMessage");
101
-
102
- // src/http.ts
103
- var HttpServer = class extends import_satori2.Adapter {
104
- static {
105
- __name(this, "HttpServer");
106
- }
107
- static inject = ["server"];
108
- logger;
109
- constructor(ctx, bot) {
110
- super(ctx);
111
- this.logger = ctx.logger("dingtalk");
112
- }
113
- async connect(bot) {
114
- await bot.refreshToken();
115
- await bot.getLogin();
116
- bot.online();
117
- this.ctx.server.post("/dingtalk", async (ctx) => {
118
- const timestamp = ctx.get("timestamp");
119
- const sign = ctx.get("sign");
120
- if (!timestamp || !sign)
121
- return ctx.status = 403;
122
- const timeDiff = Math.abs(Date.now() - Number(timestamp));
123
- if (timeDiff > 36e5)
124
- return ctx.status = 401;
125
- const signContent = timestamp + "\n" + bot.config.secret;
126
- const computedSign = import_node_crypto.default.createHmac("sha256", bot.config.secret).update(signContent).digest("base64");
127
- if (computedSign !== sign)
128
- return ctx.status = 403;
129
- const body = ctx.request.body;
130
- this.logger.debug(body);
131
- const session = await decodeMessage(bot, body);
132
- this.logger.debug(session);
133
- if (session)
134
- bot.dispatch(session);
135
- });
136
- }
137
- };
138
-
139
- // src/message.ts
140
- var import_satori3 = require("@satorijs/satori");
141
- var escape = /* @__PURE__ */ __name((val) => val.replace(/(?<!\u200b)[\*_~`]/g, "​$&").replace(/([\\`*_{}[\]\-(#!>])/g, "\\$&").replace(/([\-\*]|\d\.) /g, "​$&").replace(/^(\s{4})/gm, "​&nbsp;&nbsp;&nbsp;&nbsp;"), "escape");
142
- var unescape = /* @__PURE__ */ __name((val) => val.replace(/\u200b([\*_~`])/g, "$1"), "unescape");
143
- var DingtalkMessageEncoder = class extends import_satori3.MessageEncoder {
144
- static {
145
- __name(this, "DingtalkMessageEncoder");
146
- }
147
- buffer = "";
148
- /**
149
- * Markdown: https://open.dingtalk.com/document/isvapp/robot-message-types-and-data-format
150
- */
151
- hasRichContent = true;
152
- async flush() {
153
- if (this.buffer.length && !this.hasRichContent) {
154
- await this.sendMessage("sampleText", {
155
- content: this.buffer
156
- });
157
- } else if (this.buffer.length && this.hasRichContent) {
158
- await this.sendMessage("sampleMarkdown", {
159
- text: this.buffer.replace(/\n/g, "\n\n")
160
- });
161
- }
162
- }
163
- // https://open.dingtalk.com/document/orgapp/the-robot-sends-a-group-message
164
- async sendMessage(msgType, msgParam) {
165
- const { processQueryKey } = this.session.isDirect ? await this.bot.internal.batchSendOTO({
166
- msgKey: msgType,
167
- msgParam: JSON.stringify(msgParam),
168
- robotCode: this.bot.config.appkey,
169
- userIds: [this.session.channelId]
170
- }) : await this.bot.internal.orgGroupSend({
171
- // https://open.dingtalk.com/document/orgapp/types-of-messages-sent-by-robots
172
- msgKey: msgType,
173
- msgParam: JSON.stringify(msgParam),
174
- robotCode: this.bot.config.appkey,
175
- openConversationId: this.channelId
176
- });
177
- const session = this.bot.session();
178
- session.messageId = processQueryKey;
179
- session.channelId = this.session.channelId;
180
- session.guildId = this.session.guildId;
181
- session.app.emit(session, "send", session);
182
- this.results.push({
183
- id: processQueryKey
184
- });
185
- }
186
- // https://open.dingtalk.com/document/orgapp/upload-media-files?spm=ding_open_doc.document.0.0.3b166172ERBuHw
187
- async uploadMedia(attrs) {
188
- const { data, mime } = await this.bot.ctx.http.file(attrs.src || attrs.url, attrs);
189
- const form = new FormData();
190
- const value = new Blob([data], { type: mime });
191
- let type;
192
- if (mime.startsWith("image/") || mime.startsWith("video/")) {
193
- type = mime.split("/")[0];
194
- } else if (mime.startsWith("audio/")) {
195
- type = "voice";
196
- } else {
197
- type = "file";
198
- }
199
- form.append("type", type);
200
- form.append("media", value);
201
- const { media_id } = await this.bot.oldHttp.post("/media/upload", form);
202
- return media_id;
203
- }
204
- listType = null;
205
- async visit(element) {
206
- const { type, attrs, children } = element;
207
- if (type === "text") {
208
- this.buffer += escape(attrs.content);
209
- } else if ((type === "img" || type === "image") && (attrs.src || attrs.url)) {
210
- const src = attrs.src || attrs.url;
211
- if (await this.bot.http.isLocal(src)) {
212
- const temp = this.bot.ctx.get("server.temp");
213
- if (!temp) {
214
- return this.bot.logger.warn("missing temporary file service, cannot send assets with private url");
215
- }
216
- const entry = await temp.create(src);
217
- this.buffer += `![${attrs.alt ?? ""}](${entry.url})`;
218
- } else {
219
- this.buffer += `![${attrs.alt ?? ""}](${src})`;
220
- }
221
- } else if (type === "message") {
222
- await this.flush();
223
- await this.render(children);
224
- } else if (type === "at") {
225
- this.buffer += `@${attrs.id}`;
226
- } else if (type === "br") {
227
- this.buffer += "\n";
228
- } else if (type === "p") {
229
- if (!this.buffer.endsWith("\n"))
230
- this.buffer += "\n";
231
- await this.render(children);
232
- if (!this.buffer.endsWith("\n"))
233
- this.buffer += "\n";
234
- this.buffer += "\n";
235
- } else if (type === "b" || type === "strong") {
236
- this.buffer += ` **`;
237
- await this.render(children);
238
- this.buffer += `** `;
239
- } else if (type === "i" || type === "em") {
240
- this.buffer += ` *`;
241
- await this.render(children);
242
- this.buffer += `* `;
243
- } else if (type === "a" && attrs.href) {
244
- this.buffer += `[`;
245
- await this.render(children);
246
- this.buffer += `](${encodeURI(attrs.href)})`;
247
- } else if (type === "ul" || type === "ol") {
248
- this.listType = type;
249
- await this.render(children);
250
- this.listType = null;
251
- } else if (type === "li") {
252
- if (!this.buffer.endsWith("\n"))
253
- this.buffer += "\n";
254
- if (this.listType === "ol") {
255
- this.buffer += `1. `;
256
- } else if (this.listType === "ul") {
257
- this.buffer += "- ";
258
- }
259
- this.render(children);
260
- this.buffer += "\n";
261
- } else if (type === "blockquote") {
262
- if (!this.buffer.endsWith("\n"))
263
- this.buffer += "\n";
264
- this.buffer += "> ";
265
- await this.render(children);
266
- this.buffer += "\n\n";
267
- }
268
- }
269
- };
270
-
271
- // src/ws.ts
272
- var import_satori4 = require("@satorijs/satori");
273
- var WsClient = class extends import_satori4.Adapter.WsClient {
274
- static {
275
- __name(this, "WsClient");
276
- }
277
- async prepare() {
278
- await this.bot.refreshToken();
279
- await this.bot.getLogin();
280
- const { endpoint, ticket } = await this.bot.http.post("/gateway/connections/open", {
281
- clientId: this.bot.config.appkey,
282
- clientSecret: this.bot.config.secret,
283
- subscriptions: [
284
- {
285
- type: "CALLBACK",
286
- topic: "/v1.0/im/bot/messages/get"
287
- }
288
- ]
289
- });
290
- return this.bot.http.ws(`${endpoint}?ticket=${ticket}`);
291
- }
292
- accept() {
293
- this.bot.online();
294
- this.socket.addEventListener("message", async ({ data }) => {
295
- const parsed = JSON.parse(data.toString());
296
- this.bot.logger.debug(parsed);
297
- if (parsed.type === "SYSTEM") {
298
- if (parsed.headers.topic === "ping") {
299
- this.socket.send(JSON.stringify({
300
- code: 200,
301
- headers: parsed.headers,
302
- message: "OK",
303
- data: parsed.data
304
- }));
305
- }
306
- } else if (parsed.type === "CALLBACK") {
307
- this.bot.logger.debug(JSON.parse(parsed.data));
308
- const session = await decodeMessage(this.bot, JSON.parse(parsed.data));
309
- if (session)
310
- this.bot.dispatch(session);
311
- this.bot.logger.debug(session);
312
- }
313
- });
314
- }
315
- };
316
- ((WsClient2) => {
317
- WsClient2.Options = import_satori4.Schema.intersect([
318
- import_satori4.Adapter.WsClientConfig
319
- ]);
320
- })(WsClient || (WsClient = {}));
321
-
322
- // src/internal.ts
323
- var import_satori5 = require("@satorijs/satori");
324
- var Internal = class _Internal {
325
- constructor(bot) {
326
- this.bot = bot;
327
- }
328
- static {
329
- __name(this, "Internal");
330
- }
331
- static define(routes) {
332
- for (const path in routes) {
333
- for (const key in routes[path]) {
334
- const method = key;
335
- for (const name of Object.keys(routes[path][method])) {
336
- const isOldApi = routes[path][method][name];
337
- _Internal.prototype[name] = async function(...args) {
338
- const raw = args.join(", ");
339
- const url = path.replace(/\{([^}]+)\}/g, () => {
340
- if (!args.length)
341
- throw new Error(`too few arguments for ${path}, received ${raw}`);
342
- return args.shift();
343
- });
344
- const config = {};
345
- if (args.length === 1) {
346
- if (method === "GET" || method === "DELETE") {
347
- config.params = args[0];
348
- } else {
349
- config.data = args[0];
350
- }
351
- } else if (args.length === 2 && method !== "GET" && method !== "DELETE") {
352
- config.data = args[0];
353
- config.params = args[1];
354
- } else if (args.length > 1) {
355
- throw new Error(`too many arguments for ${path}, received ${raw}`);
356
- }
357
- const quester = isOldApi ? this.bot.oldHttp : this.bot.http;
358
- if (isOldApi) {
359
- config.params = { ...config.params, access_token: this.bot.token };
360
- }
361
- try {
362
- return (await quester(method, url, config)).data;
363
- } catch (error) {
364
- if (!import_satori5.Quester.Error.is(error) || !error.response)
365
- throw error;
366
- throw new Error(`[${error.response.status}] ${JSON.stringify(error.response.data)}`);
367
- }
368
- };
369
- }
370
- }
371
- }
372
- }
373
- };
374
-
375
- // src/bot.ts
376
- var DingtalkBot = class extends import_satori6.Bot {
377
- static {
378
- __name(this, "DingtalkBot");
379
- }
380
- static MessageEncoder = DingtalkMessageEncoder;
381
- static inject = ["http"];
382
- oldHttp;
383
- http;
384
- internal;
385
- refreshTokenTimer;
386
- constructor(ctx, config) {
387
- super(ctx, config, "dingtalk");
388
- this.selfId = config.appkey;
389
- this.http = ctx.http.extend(config.api);
390
- this.oldHttp = ctx.http.extend(config.oldApi);
391
- this.internal = new Internal(this);
392
- if (config.protocol === "http") {
393
- ctx.plugin(HttpServer, this);
394
- } else if (config.protocol === "ws") {
395
- ctx.plugin(WsClient, this);
396
- }
397
- }
398
- async getLogin() {
399
- try {
400
- const { appList } = await this.internal.listAllInnerApps();
401
- const self2 = appList.find((v) => v.agentId === this.config.agentId);
402
- if (self2) {
403
- this.user.name = self2.name;
404
- this.user.avatar = self2.icon;
405
- return this.toJSON();
406
- }
407
- } catch (e) {
408
- this.logger.warn(e);
409
- }
410
- const data = await this.internal.oapiMicroappList();
411
- if (!data.appList) {
412
- this.logger.error("getLogin failed: %o", data);
413
- return this.toJSON();
414
- }
415
- const self = data.appList.find((v) => v.agentId === this.config.agentId);
416
- if (self) {
417
- this.user.name = self.name;
418
- this.user.avatar = self.appIcon;
419
- }
420
- return this.toJSON();
421
- }
422
- stop() {
423
- clearTimeout(this.refreshTokenTimer);
424
- return super.stop();
425
- }
426
- token;
427
- async refreshToken() {
428
- const data = await this.internal.getAccessToken({
429
- appKey: this.config.appkey,
430
- appSecret: this.config.secret
431
- });
432
- this.logger.debug("gettoken result: %o", data);
433
- this.token = data.accessToken;
434
- this.http = this.http.extend({
435
- headers: {
436
- "x-acs-dingtalk-access-token": data.accessToken
437
- }
438
- }).extend(this.config.api);
439
- this.refreshTokenTimer = setTimeout(this.refreshToken.bind(this), (data.expireIn - 10) * 1e3);
440
- }
441
- // https://open.dingtalk.com/document/orgapp/download-the-file-content-of-the-robot-receiving-message
442
- async downloadFile(downloadCode) {
443
- const { downloadUrl } = await this.internal.robotMessageFileDownload({
444
- downloadCode,
445
- robotCode: this.selfId
446
- });
447
- return downloadUrl;
448
- }
449
- async deleteMessage(channelId, messageId) {
450
- if (channelId.startsWith("cid")) {
451
- await this.internal.orgGroupRecall({
452
- robotCode: this.selfId,
453
- processQueryKeys: [messageId],
454
- openConversationId: channelId
455
- });
456
- } else {
457
- await this.internal.batchRecallOTO({
458
- robotCode: this.selfId,
459
- processQueryKeys: [messageId]
460
- });
461
- }
462
- }
463
- };
464
- ((DingtalkBot2) => {
465
- DingtalkBot2.Config = import_satori6.Schema.intersect([
466
- import_satori6.Schema.object({
467
- protocol: process.env.KOISHI_ENV === "browser" ? import_satori6.Schema.const("ws").default("ws") : import_satori6.Schema.union(["http", "ws"]).description("选择要使用的协议。").required()
468
- }),
469
- import_satori6.Schema.object({
470
- secret: import_satori6.Schema.string().required().description("机器人密钥。"),
471
- agentId: import_satori6.Schema.number().description("AgentId"),
472
- appkey: import_satori6.Schema.string().required(),
473
- api: import_satori6.Quester.createConfig("https://api.dingtalk.com/v1.0/"),
474
- oldApi: import_satori6.Quester.createConfig("https://oapi.dingtalk.com/")
475
- }),
476
- WsClient.Options
477
- ]);
478
- })(DingtalkBot || (DingtalkBot = {}));
479
-
480
- // src/api/oauth2.ts
481
- Internal.define({
482
- "/oauth2/jsapiTickets": { POST: { createJsapiTicket: false } },
483
- "/oauth2/ssoAccessToken": { POST: { getSsoAccessToken: false } },
484
- "/oauth2/authRules/user": { GET: { getPersonalAuthRule: false } },
485
- "/oauth2/accessToken": { POST: { getAccessToken: false } },
486
- "/oauth2/corpAccessToken": { POST: { getCorpAccessToken: false } },
487
- "/oauth2/userAccessToken": { POST: { getUserToken: false } },
488
- "/oauth2/ssoUserInfo": { GET: { getSsoUserInfo: false } }
489
- });
490
-
491
- // src/api/oapi.ts
492
- Internal.define({
493
- "/service/get_corp_token": { POST: { oapiServiceGetCorpToken: true } },
494
- "/sso/gettoken": { GET: { oapiSsoGettoken: true } },
495
- "/get_jsapi_ticket": { GET: { oapiGetJsapiTicket: true } },
496
- "/gettoken": { GET: { oapiGettoken: true } },
497
- "/v2/user/getuserinfo": { POST: { oapiV2UserGetuserinfo: true } },
498
- "/sns/getuserinfo_bycode": { POST: { oapiSnsGetuserinfoBycode: true } },
499
- "/sso/getuserinfo": { GET: { oapiSsoGetuserinfo: true } },
500
- "/service/get_auth_info": { POST: { oapiServiceGetAuthInfo: true } },
501
- "/v2/user/update": { POST: { oapiV2UserUpdate: true } },
502
- "/v2/user/create": { POST: { oapiV2UserCreate: true } },
503
- "/org/union/trunk/get": { POST: { oapiOrgUnionTrunkGet: true } },
504
- "/smartwork/hrm/roster/meta/get": {
505
- POST: { oapiSmartworkHrmRosterMetaGet: true }
506
- },
507
- "/smartwork/hrm/employee/v2/list": {
508
- POST: { oapiSmartworkHrmEmployeeV2List: true }
509
- },
510
- "/smartwork/hrm/employee/v2/update": {
511
- POST: { oapiSmartworkHrmEmployeeV2Update: true }
512
- },
513
- "/smartwork/hrm/employee/field/grouplist": {
514
- POST: { oapiSmartworkHrmEmployeeFieldGrouplist: true }
515
- },
516
- "/smartwork/hrm/employee/update": {
517
- POST: { oapiSmartworkHrmEmployeeUpdate: true }
518
- },
519
- "/smartwork/hrm/employee/queryonjob": {
520
- POST: { oapiSmartworkHrmEmployeeQueryonjob: true }
521
- },
522
- "/smartwork/hrm/employee/querypreentry": {
523
- POST: { oapiSmartworkHrmEmployeeQuerypreentry: true }
524
- },
525
- "/smartwork/hrm/employee/addpreentry": {
526
- POST: { oapiSmartworkHrmEmployeeAddpreentry: true }
527
- },
528
- "/smartwork/hrm/employee/list": {
529
- POST: { oapiSmartworkHrmEmployeeList: true }
530
- },
531
- "/report/template/getbyname": { POST: { oapiReportTemplateGetbyname: true } },
532
- "/report/create": { POST: { oapiReportCreate: true } },
533
- "/report/savecontent": { POST: { oapiReportSavecontent: true } },
534
- "/report/simplelist": { POST: { oapiReportSimplelist: true } },
535
- "/report/statistics/listbytype": {
536
- POST: { oapiReportStatisticsListbytype: true }
537
- },
538
- "/report/receiver/list": { POST: { oapiReportReceiverList: true } },
539
- "/report/comment/list": { POST: { oapiReportCommentList: true } },
540
- "/report/statistics": { POST: { oapiReportStatistics: true } },
541
- "/report/getunreadcount": { POST: { oapiReportGetunreadcount: true } },
542
- "/report/list": { POST: { oapiReportList: true } },
543
- "/report/template/listbyuserid": {
544
- POST: { oapiReportTemplateListbyuserid: true }
545
- },
546
- "/checkin/record/get": { POST: { oapiCheckinRecordGet: true } },
547
- "/checkin/record": { GET: { oapiCheckinRecord: true } },
548
- "/blackboard/category/list": { POST: { oapiBlackboardCategoryList: true } },
549
- "/blackboard/update": { POST: { oapiBlackboardUpdate: true } },
550
- "/blackboard/delete": { POST: { oapiBlackboardDelete: true } },
551
- "/blackboard/get": { POST: { oapiBlackboardGet: true } },
552
- "/blackboard/listids": { POST: { oapiBlackboardListids: true } },
553
- "/blackboard/create": { POST: { oapiBlackboardCreate: true } },
554
- "/blackboard/listtopten": { POST: { oapiBlackboardListtopten: true } },
555
- "/health/stepinfo/getuserstatus": {
556
- POST: { oapiHealthStepinfoGetuserstatus: true }
557
- },
558
- "/health/stepinfo/listbyuserid": {
559
- POST: { oapiHealthStepinfoListbyuserid: true }
560
- },
561
- "/health/stepinfo/list": { POST: { oapiHealthStepinfoList: true } },
562
- "/microapp/list_by_userid": { GET: { oapiMicroappListByUserid: true } },
563
- "/microapp/list": { POST: { oapiMicroappList: true } },
564
- "/microapp/delete": { POST: { oapiMicroappDelete: true } },
565
- "/microapp/set_visible_scopes": {
566
- POST: { oapiMicroappSetVisibleScopes: true }
567
- },
568
- "/microapp/visible_scopes": { POST: { oapiMicroappVisibleScopes: true } },
569
- "/asr/voice/translate": { POST: { oapiAsrVoiceTranslate: true } },
570
- "/ai/mt/translate": { POST: { oapiAiMtTranslate: true } },
571
- "/ocr/structured/recognize": { POST: { oapiOcrStructuredRecognize: true } },
572
- "/im/chat/scencegroup/message/send_v2": {
573
- POST: { oapiImChatScencegroupMessageSendV2: true }
574
- },
575
- "/im/chat/scenegroup/template/close": {
576
- POST: { oapiImChatScenegroupTemplateClose: true }
577
- },
578
- "/im/chat/scenegroup/template/apply": {
579
- POST: { oapiImChatScenegroupTemplateApply: true }
580
- },
581
- "/im/chat/scencegroup/interactivecard/callback/register": {
582
- POST: { oapiImChatScencegroupInteractivecardCallbackRegister: true }
583
- },
584
- "/im/chat/scenegroup/create": { POST: { oapiImChatScenegroupCreate: true } },
585
- "/im/chat/scenegroup/member/add": {
586
- POST: { oapiImChatScenegroupMemberAdd: true }
587
- },
588
- "/im/chat/scenegroup/member/get": {
589
- POST: { oapiImChatScenegroupMemberGet: true }
590
- },
591
- "/im/chat/scenegroup/update": { POST: { oapiImChatScenegroupUpdate: true } },
592
- "/im/chat/scenegroup/member/delete": {
593
- POST: { oapiImChatScenegroupMemberDelete: true }
594
- },
595
- "/im/chat/scenegroup/get": { POST: { oapiImChatScenegroupGet: true } },
596
- "/robot/send": { POST: { oapiRobotSend: true } },
597
- "/alitrip/btrip/invoice/setting/rule": {
598
- POST: { oapiAlitripBtripInvoiceSettingRule: true }
599
- },
600
- "/alitrip/btrip/invoice/setting/add": {
601
- POST: { oapiAlitripBtripInvoiceSettingAdd: true }
602
- },
603
- "/alitrip/btrip/project/delete": {
604
- POST: { oapiAlitripBtripProjectDelete: true }
605
- },
606
- "/alitrip/btrip/project/modify": {
607
- POST: { oapiAlitripBtripProjectModify: true }
608
- },
609
- "/alitrip/btrip/project/add": { POST: { oapiAlitripBtripProjectAdd: true } },
610
- "/alitrip/btrip/invoice/setting/delete": {
611
- POST: { oapiAlitripBtripInvoiceSettingDelete: true }
612
- },
613
- "/alitrip/btrip/invoice/setting/modify": {
614
- POST: { oapiAlitripBtripInvoiceSettingModify: true }
615
- },
616
- "/alitrip/btrip/price/query": { POST: { oapiAlitripBtripPriceQuery: true } },
617
- "/alitrip/btrip/train/city/suggest": {
618
- POST: { oapiAlitripBtripTrainCitySuggest: true }
619
- },
620
- "/alitrip/btrip/monthbill/url/get": {
621
- POST: { oapiAlitripBtripMonthbillUrlGet: true }
622
- },
623
- "/alitrip/btrip/address/get": { POST: { oapiAlitripBtripAddressGet: true } },
624
- "/alitrip/btrip/approval/modify": {
625
- POST: { oapiAlitripBtripApprovalModify: true }
626
- },
627
- "/alitrip/btrip/flight/city/suggest": {
628
- POST: { oapiAlitripBtripFlightCitySuggest: true }
629
- },
630
- "/alitrip/btrip/vehicle/order/search": {
631
- POST: { oapiAlitripBtripVehicleOrderSearch: true }
632
- },
633
- "/alitrip/btrip/cost/center/query": {
634
- POST: { oapiAlitripBtripCostCenterQuery: true }
635
- },
636
- "/alitrip/btrip/approval/update": {
637
- POST: { oapiAlitripBtripApprovalUpdate: true }
638
- },
639
- "/alitrip/btrip/cost/center/new": {
640
- POST: { oapiAlitripBtripCostCenterNew: true }
641
- },
642
- "/alitrip/btrip/cost/center/modify": {
643
- POST: { oapiAlitripBtripCostCenterModify: true }
644
- },
645
- "/alitrip/btrip/cost/center/delete": {
646
- POST: { oapiAlitripBtripCostCenterDelete: true }
647
- },
648
- "/alitrip/btrip/cost/center/entity/set": {
649
- POST: { oapiAlitripBtripCostCenterEntitySet: true }
650
- },
651
- "/alitrip/btrip/hotel/order/search": {
652
- POST: { oapiAlitripBtripHotelOrderSearch: true }
653
- },
654
- "/alitrip/btrip/train/order/search": {
655
- POST: { oapiAlitripBtripTrainOrderSearch: true }
656
- },
657
- "/alitrip/btrip/flight/order/search": {
658
- POST: { oapiAlitripBtripFlightOrderSearch: true }
659
- },
660
- "/alitrip/btrip/invoice/search": {
661
- POST: { oapiAlitripBtripInvoiceSearch: true }
662
- },
663
- "/alitrip/btrip/cost/center/transfer": {
664
- POST: { oapiAlitripBtripCostCenterTransfer: true }
665
- },
666
- "/alitrip/btrip/apply/get": { POST: { oapiAlitripBtripApplyGet: true } },
667
- "/alitrip/btrip/apply/search": {
668
- POST: { oapiAlitripBtripApplySearch: true }
669
- },
670
- "/alitrip/btrip/approval/new": {
671
- POST: { oapiAlitripBtripApprovalNew: true }
672
- },
673
- "/alitrip/btrip/cost/center/entity/delete": {
674
- POST: { oapiAlitripBtripCostCenterEntityDelete: true }
675
- },
676
- "/workspace/auditlog/list": { POST: { oapiWorkspaceAuditlogList: true } },
677
- "/edu/cert/get": { POST: { oapiEduCertGet: true } },
678
- "/edu/user/list": { POST: { oapiEduUserList: true } },
679
- "/smartdevice/device/querybyid": {
680
- POST: { oapiSmartdeviceDeviceQuerybyid: true }
681
- },
682
- "/smartdevice/device/querylist": {
683
- POST: { oapiSmartdeviceDeviceQuerylist: true }
684
- },
685
- "/smartdevice/device/query": { POST: { oapiSmartdeviceDeviceQuery: true } },
686
- "/smartdevice/device/updatenick": {
687
- POST: { oapiSmartdeviceDeviceUpdatenick: true }
688
- },
689
- "/smartdevice/device/unbind": { POST: { oapiSmartdeviceDeviceUnbind: true } },
690
- "/smartdevice/external/bind": { POST: { oapiSmartdeviceExternalBind: true } },
691
- "/crm/objectdata/contact/delete": {
692
- POST: { oapiCrmObjectdataContactDelete: true }
693
- },
694
- "/crm/objectdata/customobject/create": {
695
- POST: { oapiCrmObjectdataCustomobjectCreate: true }
696
- },
697
- "/crm/objectdata/customobject/update": {
698
- POST: { oapiCrmObjectdataCustomobjectUpdate: true }
699
- },
700
- "/crm/objectdata/list": { POST: { oapiCrmObjectdataList: true } },
701
- "/crm/objectdata/query": { POST: { oapiCrmObjectdataQuery: true } },
702
- "/crm/objectmeta/describe": { POST: { oapiCrmObjectmetaDescribe: true } },
703
- "/crm/objectdata/contact/query": {
704
- POST: { oapiCrmObjectdataContactQuery: true }
705
- },
706
- "/crm/objectdata/followrecord/list": {
707
- POST: { oapiCrmObjectdataFollowrecordList: true }
708
- },
709
- "/crm/objectdata/followrecord/query": {
710
- POST: { oapiCrmObjectdataFollowrecordQuery: true }
711
- },
712
- "/crm/objectdata/contact/list": {
713
- POST: { oapiCrmObjectdataContactList: true }
714
- },
715
- "/crm/objectmeta/contact/describe": {
716
- POST: { oapiCrmObjectmetaContactDescribe: true }
717
- },
718
- "/crm/objectmeta/followrecord/describe": {
719
- POST: { oapiCrmObjectmetaFollowrecordDescribe: true }
720
- },
721
- "/cspace/add_to_single_chat": { POST: { oapiCspaceAddToSingleChat: true } },
722
- "/cspace/grant_custom_space": { GET: { oapiCspaceGrantCustomSpace: true } },
723
- "/cspace/get_custom_space": { GET: { oapiCspaceGetCustomSpace: true } },
724
- "/cspace/add": { GET: { oapiCspaceAdd: true } },
725
- "/chat/subadmin/update": { POST: { oapiChatSubadminUpdate: true } },
726
- "/chat/qrcode/get": { POST: { oapiChatQrcodeGet: true } },
727
- "/chat/member/friendswitch/update": {
728
- POST: { oapiChatMemberFriendswitchUpdate: true }
729
- },
730
- "/chat/updategroupnick": { POST: { oapiChatUpdategroupnick: true } },
731
- "/chat/update": { POST: { oapiChatUpdate: true } },
732
- "/chat/create": { POST: { oapiChatCreate: true } },
733
- "/chat/get": { GET: { oapiChatGet: true } },
734
- "/smartbot/msg/push": { POST: { oapiSmartbotMsgPush: true } }
735
- });
736
-
737
- // src/api/contact.ts
738
- Internal.define({
739
- "/contact/organizations/authInfos": { GET: { getOrgAuthInfo: false } },
740
- "/contact/cooperateCorps/unionApplications/approve": {
741
- POST: { batchApproveUnionApply: false }
742
- }
743
- });
744
-
745
- // src/api/swform.ts
746
- Internal.define({
747
- "/swform/instances/{formInstanceId}": { GET: { getFormInstance: false } },
748
- "/swform/forms/{formCode}/instances": { GET: { listFormInstances: false } },
749
- "/swform/users/forms": { GET: { listFormSchemasByCreator: false } }
750
- });
751
-
752
- // src/api/hrm.ts
753
- Internal.define({
754
- "/hrm/processes/employees/terminations": {
755
- PUT: { hrmProcessUpdateTerminationInfo: false }
756
- },
757
- "/hrm/processes/regulars/become": { POST: { hrmProcessRegular: false } },
758
- "/hrm/employees/dismissions": { GET: { queryDismissionStaffIdList: false } },
759
- "/hrm/rosters/meta/fields/options": {
760
- PUT: { rosterMetaFieldOptionsUpdate: false }
761
- },
762
- "/hrm/processes/transfer": { POST: { hrmProcessTransfer: false } },
763
- "/hrm/employees/dimissionInfos": {
764
- GET: { queryHrmEmployeeDismissionInfo: false }
765
- },
766
- "/hrm/jobs": { GET: { queryJobs: false } },
767
- "/hrm/jobRanks": { GET: { queryJobRanks: false } },
768
- "/hrm/positions/query": { POST: { queryPositions: false } }
769
- });
770
-
771
- // src/api/todo.ts
772
- Internal.define({
773
- "/todo/users/{unionId}/org/tasks/query": {
774
- POST: { queryOrgTodoTasks: false }
775
- },
776
- "/todo/users/{unionId}/tasks/{taskId}/executorStatus": {
777
- PUT: { updateTodoTaskExecutorStatus: false }
778
- },
779
- "/todo/users/{unionId}/tasks": { POST: { createTodoTask: false } },
780
- "/todo/users/{unionId}/tasks/{taskId}": {
781
- PUT: { updateTodoTask: false },
782
- DELETE: { deleteTodoTask: false }
783
- }
784
- });
785
-
786
- // src/api/attendance.ts
787
- Internal.define({
788
- "/attendance/adjustments": { GET: { getAdjustments: false } },
789
- "/attendance/overtimeSettings": { GET: { getSimpleOvertimeSetting: false } },
790
- "/attendance/overtimeSettings/query": { POST: { getOvertimeSetting: false } }
791
- });
792
-
793
- // src/api/calendar.ts
794
- Internal.define({
795
- "/calendar/users/{userId}/meetingRooms/schedules/query": {
796
- POST: { getMeetingRoomsSchedule: false }
797
- },
798
- "/calendar/users/{userId}/calendars/{calendarId}/events/{eventId}/meetingRooms": { POST: { addMeetingRooms: false } },
799
- "/calendar/users/{userId}/calendars/{calendarId}/events/{eventId}/meetingRooms/batchRemove": { POST: { removeMeetingRooms: false } },
800
- "/calendar/users/{userId}/calendars/{calendarId}/unsubscribe": {
801
- POST: { unsubscribeCalendar: false }
802
- },
803
- "/calendar/users/{userId}/subscribedCalendars/{calendarId}": {
804
- DELETE: { deleteSubscribedCalendar: false },
805
- GET: { getSubscribedCalendar: false }
806
- },
807
- "/calendar/users/{userId}/subscribedCalendars": {
808
- POST: { createSubscribedCalendar: false }
809
- },
810
- "/calendar/users/{userId}/calendars/{calendarId}/events/{eventId}/signOut": {
811
- POST: { signOut: false },
812
- GET: { getSignOutList: false }
813
- },
814
- "/calendar/users/{userId}/calendars/{calendarId}/subscribe": {
815
- POST: { subscribeCalendar: false }
816
- },
817
- "/calendar/users/{userId}/calendars/{calendarId}/events/{eventId}/attendees": { GET: { listAttendees: false }, POST: { addAttendee: false } },
818
- "/calendar/users/{userId}/calendars/{calendarId}/events/{eventId}/signin": {
819
- POST: { signIn: false },
820
- GET: { getSignInList: false }
821
- },
822
- "/calendar/users/{userId}/calendars/{calendarId}/acls": {
823
- GET: { listAcls: false },
824
- POST: { createAcls: false }
825
- },
826
- "/calendar/users/{userId}/calendars/{calendarId}/acls/{aclId}": {
827
- DELETE: { deleteAcl: false }
828
- },
829
- "/calendar/users/{userId}/calendars": { GET: { listCalendars: false } },
830
- "/calendar/users/{userId}/querySchedule": { POST: { getSchedule: false } },
831
- "/calendar/users/{userId}/calendars/{calendarId}/events": {
832
- GET: { listEvents: false },
833
- POST: { createEvent: false }
834
- },
835
- "/calendar/users/{userId}/calendars/{calendarId}/events/{eventId}": {
836
- GET: { getEvent: false },
837
- DELETE: { deleteEvent: false },
838
- PUT: { patchEvent: false }
839
- },
840
- "/calendar/users/{userId}/calendars/{calendarId}/events/{eventId}/attendees/batchRemove": { POST: { removeAttendee: false } },
841
- "/calendar/users/{userId}/calendars/{calendarId}/eventsview": {
842
- GET: { listEventsView: false }
843
- },
844
- "/calendar/users/{userId}/calendars/{calendarId}/events/{eventId}/respond": {
845
- POST: { respondEvent: false }
846
- }
847
- });
848
-
849
- // src/api/blackboard.ts
850
- Internal.define({
851
- "/blackboard/spaces": { GET: { queryBlackboardSpace: false } }
852
- });
853
-
854
- // src/api/microApp.ts
855
- Internal.define({
856
- "/microApp/innerMiniApps/{agentId}/versions/rollback": {
857
- POST: { rollbackInnerAppVersion: false }
858
- },
859
- "/microApp/innerMiniApps/{agentId}/versions/publish": {
860
- POST: { publishInnerAppVersion: false }
861
- },
862
- "/microApp/innerMiniApps/{agentId}/historyVersions": {
863
- GET: { pageInnerAppHistoryVersion: false }
864
- },
865
- "/microApp/innerMiniApps/{agentId}/versions": {
866
- GET: { listInnerAppVersion: false }
867
- },
868
- "/microApp/allInnerApps": { GET: { listAllInnerApps: false } },
869
- "/microApp/apps/{agentId}/scopes": {
870
- GET: { getMicroAppScope: false },
871
- POST: { setMicroAppScope: false }
872
- },
873
- "/microApp/users/{userId}/apps": { GET: { listUserVilebleApp: false } },
874
- "/microApp/allApps": { GET: { listAllApp: false } },
875
- "/microApp/apps/{agentId}": {
876
- DELETE: { deleteInnerApp: false },
877
- PUT: { updateInnerApp: false }
878
- },
879
- "/microApp/apps": { POST: { createInnerApp: false } }
880
- });
881
-
882
- // src/api/im.ts
883
- Internal.define({
884
- "/im/sceneGroups/templates/robots": {
885
- GET: { querySceneGroupTemplateRobot: false }
886
- },
887
- "/im/sceneGroups/members/batchQuery": {
888
- POST: { batchQueryGroupMember: false }
889
- },
890
- "/im/sceneGroups/muteSettings": { GET: { queryGroupMuteStatus: false } },
891
- "/im/sceneGroups/muteMembers/set": { POST: { updateMemberBanWords: false } },
892
- "/im/sceneGroups/query": { POST: { getSceneGroupInfo: false } },
893
- "/im/sceneGroups/subAdmins": { PUT: { updateGroupSubAdmin: false } },
894
- "/im/sceneGroups/members/groupNicks": {
895
- PUT: { updateMemberGroupNick: false }
896
- },
897
- "/im/interactiveCards/templates/send": {
898
- POST: { sendTemplateInteractiveCard: false }
899
- },
900
- "/im/interactiveCards": { PUT: { updateInteractiveCard: false } },
901
- "/im/interactiveCards/send": { POST: { sendInteractiveCard: false } },
902
- "/im/robots/interactiveCards": { PUT: { updateRobotInteractiveCard: false } },
903
- "/im/v1.0/robot/interactiveCards/send": {
904
- POST: { sendRobotInteractiveCard: false }
905
- },
906
- "/im/chat/{chatId}/convertToOpenConversationId": {
907
- POST: { chatIdToOpenConversationId: false }
908
- },
909
- "/im/subAdministrators": { POST: { chatSubAdminUpdate: false } },
910
- "/im/interconnections/groups": { POST: { createGroupConversation: false } },
911
- "/im/interconnections/couples/groups": { POST: { createCoupleGroup: false } },
912
- "/im/interconnections/groups/owners": { PUT: { changeGroupOwner: false } },
913
- "/im/interconnections/groups/dismiss": {
914
- POST: { dismissGroupConversation: false }
915
- },
916
- "/im/interconnections/robotMessages/send": {
917
- POST: { sendRobotMessage: false }
918
- },
919
- "/im/interconnections/storeGroups": {
920
- POST: { createStoreGroupConversation: false }
921
- },
922
- "/im/interconnections/coupleGroups": {
923
- POST: { createCoupleGroupConversation: false }
924
- },
925
- "/im/interconnections/groups/names": { PUT: { updateGroupName: false } },
926
- "/im/interconnections/groups/avatars": { PUT: { updateGroupAvatar: false } },
927
- "/im/interconnections/doubleGroups/query": {
928
- POST: { querySingleGroup: false }
929
- },
930
- "/im/interconnections/conversations/members": {
931
- GET: { queryGroupMember: false }
932
- },
933
- "/im/interconnections/unReadMsgs/query": {
934
- POST: { queryUnReadMessage: false }
935
- },
936
- "/im/interconnections/messages/send": { POST: { sendMessage: false } },
937
- "/im/interconnections/groups/members/remove": {
938
- POST: { removeGroupMember: false }
939
- },
940
- "/im/interconnections/groups/members": { POST: { addGroupMember: false } },
941
- "/im/interconnections/dingMessages/send": {
942
- POST: { sendDingMessage: false }
943
- },
944
- "/im/conversations/urls": { POST: { getConversationUrl: false } },
945
- "/im/interconnections": { POST: { createInterconnection: false } },
946
- "/im/privateChat/interactiveCards/send": {
947
- POST: { sendOTOInteractiveCard: false }
948
- },
949
- "/im/topBoxes/close": { POST: { closeTopbox: false } },
950
- "/im/topBoxes": { POST: { createTopbox: false } }
951
- });
952
-
953
- // src/api/connector.ts
954
- Internal.define({
955
- "/connector/data/{dataModelId}": { GET: { pullDataByPk: false } },
956
- "/connector/data": { GET: { pullDataByPage: false } },
957
- "/connector/triggers/data/sync": { POST: { syncData: false } }
958
- });
959
-
960
- // src/api/exclusive.ts
961
- Internal.define({
962
- "/exclusive/enterpriseSecurities/userBehaviors/screenshots/query": {
963
- POST: { queryUserBehavior: false }
964
- },
965
- "/exclusive/trusts/publicDevices": { GET: { getPublicDevices: false } },
966
- "/exclusive/phoneDings/send": { POST: { sendPhoneDing: false } },
967
- "/exclusive/partners/users/{userId}": { GET: { queryPartnerInfo: false } },
968
- "/exclusive/data/conferences": { GET: { getConfBaseInfoByLogicalId: false } },
969
- "/exclusive/trusts/devices": { POST: { createTrustedDeviceBatch: false } },
970
- "/exclusive/fileAuditLogs": { GET: { listAuditLog: false } },
971
- "/exclusive/enterpriseSecurities/banOrOpenGroupWords": {
972
- PUT: { banOrOpenGroupWords: false }
973
- },
974
- "/exclusive/audits/users": { GET: { getSignedDetailByPage: false } },
975
- "/exclusive/comments/send": { POST: { publishFileChangeNotice: false } },
976
- "/exclusive/appDings/send": { POST: { sendAppDing: false } },
977
- "/exclusive/partnerLabels/{parentId}": {
978
- GET: { getPartnerTypeByParentId: false }
979
- },
980
- "/exclusive/partnerDepartments": {
981
- POST: { setDeptPartnerTypeAndNum: false },
982
- GET: { getAllLabelableDepts: false }
983
- }
984
- });
985
-
986
- // src/api/alitrip.ts
987
- Internal.define({
988
- "/alitrip/billSettlements/btripTrains": {
989
- GET: { billSettementBtripTrain: false }
990
- },
991
- "/alitrip/billSettlements/hotels": { GET: { billSettementHotel: false } },
992
- "/alitrip/billSettlements/cars": { GET: { billSettementCar: false } },
993
- "/alitrip/billSettlements/flights": { GET: { billSettementFlight: false } },
994
- "/alitrip/exceedapply/getFlight": { GET: { getFlightExceedApply: false } },
995
- "/alitrip/unionOrders": { GET: { queryUnionOrder: false } },
996
- "/alitrip/exceedapply/getTrain": { GET: { getTrainExceedApply: false } },
997
- "/alitrip/exceedapply/getHotel": { GET: { getHotelExceedApply: false } },
998
- "/alitrip/exceedapply/sync": { POST: { syncExceedApply: false } },
999
- "/alitrip/cityCarApprovals": {
1000
- GET: { queryCityCarApply: false },
1001
- PUT: { approveCityCarApply: false },
1002
- POST: { addCityCarApply: false }
1003
- }
1004
- });
1005
-
1006
- // src/api/project.ts
1007
- Internal.define({
1008
- "/project/users/{userId}/projects/{projectId}/customfields": {
1009
- PUT: { createProjectCustomfieldStatus: false }
1010
- },
1011
- "/project/users/{userId}/tasks/{taskId}/contents": {
1012
- PUT: { updateTaskContent: false }
1013
- },
1014
- "/project/users/{userId}/tasks/{taskId}/notes": {
1015
- PUT: { updateTaskNote: false }
1016
- },
1017
- "/project/users/{userId}/tasks/{taskId}/involveMembers": {
1018
- PUT: { updateTaskInvolvemembers: false }
1019
- },
1020
- "/project/users/{userId}/tasks/{taskId}/executors": {
1021
- PUT: { updateTaskExecutor: false }
1022
- },
1023
- "/project/users/{userId}/tasks/{taskId}/priorities": {
1024
- PUT: { updateTaskPriority: false }
1025
- },
1026
- "/project/users/{userId}/tasks/{taskId}/dueDates": {
1027
- PUT: { updateTaskDueDate: false }
1028
- },
1029
- "/project/users/{userId}/tasks": {
1030
- GET: { getTaskByIds: false },
1031
- POST: { createTask: false }
1032
- },
1033
- "/project/users/{userId}/tasks/{taskId}/archive": {
1034
- POST: { archiveTask: false }
1035
- },
1036
- "/project/users/{userId}/tasks/search": { POST: { searchUserTask: false } },
1037
- "/project/users/{userId}/projects/{projectId}/taskStages/search": {
1038
- POST: { seachTaskStage: false }
1039
- },
1040
- "/project/users/{userId}/projects/{projectId}/taskLists/search": {
1041
- POST: { searchTaskList: false }
1042
- },
1043
- "/project/users/{userId}/projects/{projectId}/taskflows/search": {
1044
- POST: { searchTaskFlow: false }
1045
- },
1046
- "/project/users/{userId}/projects/{projectId}/statuses": {
1047
- GET: { getProjectStatusList: false }
1048
- },
1049
- "/project/users/{userId}/projects/{projectId}/members/remove": {
1050
- POST: { deleteProjectMember: false }
1051
- },
1052
- "/project/users/{userId}/projects/{projectId}/members": {
1053
- GET: { getProjectMemebers: false },
1054
- POST: { addProjectMember: false }
1055
- },
1056
- "/project/users/{userId}/projects/query": { POST: { queryProject: false } },
1057
- "/project/users/{userId}/projects/{projectId}/taskflowStatuses/search": {
1058
- GET: { searchTaskflowStatus: false }
1059
- },
1060
- "/project/users/{userId}/tasks/{taskId}/taskflowStatuses": {
1061
- PUT: { updateTaskTaskflowstatus: false }
1062
- },
1063
- "/project/users/{userId}/tasks/{taskId}/startDates": {
1064
- PUT: { updateTaskStartdate: false }
1065
- },
1066
- "/project/users/{userId}/projects": { POST: { createProject: false } },
1067
- "/project/users/{userId}/joinProjects": {
1068
- GET: { getUserJoinedProject: false }
1069
- },
1070
- "/project/users/{userId}/projects/{projectId}/archive": {
1071
- POST: { archiveProject: false }
1072
- },
1073
- "/project/users/{userId}/projects/{projectId}/unsuspend": {
1074
- POST: { unSuspendProject: false }
1075
- },
1076
- "/project/users/{userId}/projects/{projectId}/suspend": {
1077
- POST: { suspendProject: false }
1078
- },
1079
- "/project/users/{userId}/projectIds/{projectId}/tasks": {
1080
- GET: { queryTaskOfProject: false }
1081
- },
1082
- "/project/users/{userId}/workTimes": { POST: { createWorkTime: false } },
1083
- "/project/users/{userId}/planTimes": { POST: { createPlanTime: false } },
1084
- "/project/users/{userId}/tasks/{taskId}/customFields": {
1085
- PUT: { updateCustomfieldValue: false }
1086
- },
1087
- "/project/teambition/users": { GET: { getTbUserIdByStaffId: false } },
1088
- "/project/teambition/organizations": {
1089
- GET: { getTbOrgIdByDingOrgId: false }
1090
- },
1091
- "/project/users/{userId}/projects/{projectId}/groups": {
1092
- PUT: { updateProjectGroup: false }
1093
- },
1094
- "/project/users/{userId}/templates/projects": {
1095
- POST: { createProjectByTemplate: false }
1096
- },
1097
- "/project/organizations/users/{userId}/groups": {
1098
- GET: { getProjectGroup: false }
1099
- },
1100
- "/project/organizations/users/{userId}/templates": {
1101
- GET: { searchProjectTemplate: false }
1102
- },
1103
- "/project/users/{userId}/tasks/{taskId}/objectLinks": {
1104
- POST: { createTaskObjectLink: false }
1105
- },
1106
- "/project/organizations/users/{userId}/tasks": {
1107
- GET: { getOrganizatioTaskByIds: false },
1108
- POST: { createOrganizationTask: false }
1109
- },
1110
- "/project/organizations/users/{userId}/tasks/{taskId}/priorities": {
1111
- PUT: { updateOrganizationTaskPriority: false }
1112
- },
1113
- "/project/organizations/users/{userId}/tasks/{taskId}/notes": {
1114
- PUT: { updateOrganizationTaskNote: false }
1115
- },
1116
- "/project/organizations/users/{userId}/tasks/{taskId}/involveMembers": {
1117
- PUT: { updateOrganizationTaskInvolveMembers: false }
1118
- },
1119
- "/project/organizations/users/{userId}/tasks/{taskId}/executors": {
1120
- PUT: { updateOrganizationTaskExecutor: false }
1121
- },
1122
- "/project/organizations/users/{userId}/tasks/{taskId}/dueDates": {
1123
- PUT: { updateOrganizationTaskDueDate: false }
1124
- },
1125
- "/project/organizations/users/{userId}/tasks/{taskId}/contents": {
1126
- PUT: { updateOrganizationTaskContent: false }
1127
- },
1128
- "/project/organizations/users/{userId}/tasks/{taskId}/states": {
1129
- PUT: { updateOrganizationTaskStatus: false }
1130
- },
1131
- "/project/organizations/users/{userId}/priorities": {
1132
- GET: { getOrganizationPriorityList: false }
1133
- },
1134
- "/project/organizations/users/{userId}/tasks/{taskId}": {
1135
- GET: { getOrganizationTask: false }
1136
- },
1137
- "/project/users/{userId}/tasks/{taskId}": { DELETE: { deleteTask: false } }
1138
- });
1139
-
1140
- // src/api/edu.ts
1141
- Internal.define({ "/edu/students/move": { POST: { moveStudent: false } } });
1142
-
1143
- // src/api/crm.ts
1144
- Internal.define({
1145
- "/crm/globalInfos": { GET: { queryGlobalInfo: false } },
1146
- "/crm/followRecords/batch": {
1147
- PUT: { batchUpdateFollowRecords: false },
1148
- POST: { batchAddFollowRecords: false }
1149
- },
1150
- "/crm/followRecords/batchRemove": {
1151
- POST: { batchRemoveFollowRecords: false }
1152
- },
1153
- "/crm/customObjectDatas/instances/{instanceId}": {
1154
- DELETE: { deleteCrmCustomObjectData: false }
1155
- },
1156
- "/crm/contacts/batch": {
1157
- PUT: { batchUpdateContacts: false },
1158
- POST: { batchAddContacts: false }
1159
- },
1160
- "/crm/relationDatas/batch": {
1161
- POST: { batchAddRelationDatas: false },
1162
- PUT: { batchUpdateRelationDatas: false }
1163
- },
1164
- "/crm/relationUkSettings": { GET: { getRelationUkSetting: false } },
1165
- "/crm/groups": { POST: { crmCreateGroup: false } },
1166
- "/crm/crmGroupChats/batchQuery": { POST: { getCrmGroupChatMulti: false } },
1167
- "/crm/crmGroupChats/query": { POST: { getCrmGroupChatSingle: false } },
1168
- "/crm/relations/datas/targets/{targetId}": {
1169
- GET: { queryRelationDatasByTargetId: false }
1170
- },
1171
- "/crm/crmGroupChats": { GET: { queryCrmGroupChats: false } },
1172
- "/crm/groupSets/set": { PUT: { crmUpdateGroupSet: false } },
1173
- "/crm/groupSets/lists": { GET: { listGroupSet: false } },
1174
- "/crm/groupSets": {
1175
- POST: { createGroupSet: false },
1176
- GET: { getGroupSet: false }
1177
- },
1178
- "/crm/personalCustomers": {
1179
- PUT: { updateCrmPersonalCustomer: false },
1180
- POST: { addCrmPersonalCustomer: false },
1181
- GET: { queryCrmPersonalCustomer: false }
1182
- },
1183
- "/crm/personalCustomers/{dataId}": {
1184
- DELETE: { deleteCrmPersonalCustomer: false }
1185
- },
1186
- "/crm/personalCustomers/objectMeta": {
1187
- GET: { describeCrmPersonalCustomerObjectMeta: false }
1188
- },
1189
- "/crm/personalCustomers/batchQuery": {
1190
- POST: { listCrmPersonalCustomers: false }
1191
- },
1192
- "/crm/customerInstances": { POST: { queryAllCustomer: false } },
1193
- "/crm/officialAccounts/oToMessages/send": {
1194
- POST: { sendOfficialAccountOTOMessage: false }
1195
- },
1196
- "/crm/officialAccounts/oToMessages/batchSend": {
1197
- POST: { batchSendOfficialAccountOTOMessage: false }
1198
- }
1199
- });
1200
-
1201
- // src/api/yida.ts
1202
- Internal.define({
1203
- "/yida/forms": { GET: { getFormListInApp: false } },
1204
- "/yida/forms/formFields": { GET: { getFieldDefByUuid: false } },
1205
- "/yida/tasks/batches/execute": { POST: { executeBatchTask: false } },
1206
- "/yida/forms/operationsLogs/query": { POST: { listOperationLogs: false } },
1207
- "/yida/forms/remarks/query": { POST: { listFormRemarks: false } },
1208
- "/yida/services/invocationRecords": { GET: { queryServiceRecord: false } },
1209
- "/yida/forms/instances/batchRemove": {
1210
- POST: { batchRemovalByFormInstanceIdList: false }
1211
- },
1212
- "/yida/forms/instances/components": {
1213
- PUT: { batchUpdateFormDataByInstanceId: false }
1214
- },
1215
- "/yida/forms/instances/datas": {
1216
- PUT: { batchUpdateFormDataByInstanceMap: false }
1217
- },
1218
- "/yida/organizations/applications": { GET: { listApplication: false } },
1219
- "/yida/forms/instances/batchSave": { POST: { batchSaveFormData: false } },
1220
- "/yida/forms/instances/advances/query": {
1221
- POST: { searchFormDataSecondGenerationNoTableField: false }
1222
- },
1223
- "/yida/forms/instances/insertOrUpdate": {
1224
- POST: { createOrUpdateFormData: false }
1225
- },
1226
- "/yida/forms/instances/advances/queryAll": {
1227
- POST: { searchFormDataSecondGeneration: false }
1228
- },
1229
- "/yida/forms/instances/ids/query": {
1230
- POST: { batchGetFormDataByIdList: false }
1231
- },
1232
- "/yida/tasks/taskCopies": { GET: { getTaskCopies: false } },
1233
- "/yida/forms/instances/ids/{appType}/{formUuid}": {
1234
- POST: { searchFormDataIdList: false }
1235
- },
1236
- "/yida/forms/innerTables/{formInstanceId}": {
1237
- GET: { listTableDataByFormInstanceIdTableId: false }
1238
- },
1239
- "/yida/tasks/completedTasks/{corpId}/{userId}": {
1240
- GET: { getCorpAccomplishmentTasks: false }
1241
- },
1242
- "/yida/forms/definitions/{appType}/{formUuid}": {
1243
- GET: { getFormComponentDefinitionList: false }
1244
- },
1245
- "/yida/processes/instanceIds": { POST: { getInstanceIdList: false } },
1246
- "/yida/processes/instances/searchWithIds": {
1247
- GET: { getInstancesByIdList: false }
1248
- },
1249
- "/yida/tasks/myCorpSubmission/{userId}": {
1250
- GET: { getMeCorpSubmission: false }
1251
- },
1252
- "/yida/processes/definitions/{processInstanceId}": {
1253
- GET: { getProcessDefinition: false }
1254
- },
1255
- "/yida/corpTasks": { GET: { getCorpTasks: false } },
1256
- "/yida/corpNotifications/{userId}": { GET: { getNotifyMe: false } },
1257
- "/yida/processDefinitions/buttons/{appType}/{processCode}/{activityId}": {
1258
- GET: { getActivityButtonList: false }
1259
- },
1260
- "/yida/authorization/platformResources": {
1261
- GET: { getApplicationAuthorizationServicePlatformResource: false }
1262
- },
1263
- "/yida/processes/instances": {
1264
- PUT: { updateInstance: false },
1265
- DELETE: { deleteInstance: false },
1266
- POST: { getInstances: false }
1267
- },
1268
- "/yida/processes/operationRecords": { GET: { getOperationRecords: false } },
1269
- "/yida/processes/instances/terminate": { PUT: { terminateInstance: false } },
1270
- "/yida/tasks/execute": { POST: { executeTask: false } },
1271
- "/yida/tasks/platformTasks/execute": { POST: { executePlatformTask: false } },
1272
- "/yida/tasks/redirect": { POST: { redirectTask: false } },
1273
- "/yida/apps/temporaryUrls/{appType}": { GET: { getOpenUrl: false } },
1274
- "/yida/forms/remarks": { POST: { saveFormRemark: false } },
1275
- "/yida/apps/navigations": { GET: { listNavigationByFormType: false } },
1276
- "/yida/apps/orderBuy/validate": { GET: { validateOrderBuy: false } },
1277
- "/yida/processes/tasks/getRunningTasks": { GET: { getRunningTasks: false } },
1278
- "/yida/processes/activities": { GET: { getActivityList: false } },
1279
- "/yida/apps/customApi/execute": { POST: { executeCustomApi: false } },
1280
- "/yida/apps/activationCode/information": {
1281
- GET: { searchActivationCode: false }
1282
- },
1283
- "/yida/apps/saleUserInfo": { GET: { getSaleUserInfoByUserId: false } },
1284
- "/yida/apps/corpLevel": { GET: { getCorpLevelByAccountId: false } },
1285
- "/yida/forms/status": { PUT: { updateStatus: false } },
1286
- "/yida/apps/orderUpgrade/validate": { GET: { validateOrderUpgrade: false } },
1287
- "/yida/appAuth/commodities/release": { DELETE: { releaseCommodity: false } },
1288
- "/yida/appAuth/commodities/expire": { PUT: { expireCommodity: false } },
1289
- "/yida/appAuth/commodities/refund": { POST: { refundCommodity: false } },
1290
- "/yida/forms/employeeFields": { POST: { searchEmployeeFieldValues: false } },
1291
- "/yida/forms/deleteSequence": { DELETE: { deleteSequence: false } },
1292
- "/yida/forms/instances": {
1293
- POST: { saveFormData: false },
1294
- PUT: { updateFormData: false },
1295
- DELETE: { deleteFormData: false }
1296
- },
1297
- "/yida/forms/instances/search": { POST: { searchFormDatas: false } },
1298
- "/yida/processes/instancesInfos/{id}": { GET: { getInstanceById: false } },
1299
- "/yida/processes/instances/start": { POST: { startInstance: false } },
1300
- "/yida/forms/instances/{id}": { GET: { getFormDataByID: false } }
1301
- });
1302
-
1303
- // src/api/drive.ts
1304
- Internal.define({
1305
- "/drive/spaces/customSpaces": { POST: { addCustomSpace: false } },
1306
- "/drive/spaces/{spaceId}": { DELETE: { deleteSpace: false } },
1307
- "/drive/spaces": {
1308
- POST: { driveAddSpace: false },
1309
- GET: { listSpaces: false }
1310
- }
1311
- });
1312
-
1313
- // src/api/workbench.ts
1314
- Internal.define({
1315
- "/workbench/components/recentUsed/batch": {
1316
- POST: { addRecentUserAppList: false }
1317
- },
1318
- "/workbench/plugins/validationRules": {
1319
- GET: { getPluginRuleCheckInfo: false }
1320
- },
1321
- "/workbench/plugins/permissions": {
1322
- GET: { getPluginPermissionPoint: false }
1323
- }
1324
- });
1325
-
1326
- // src/api/robot.ts
1327
- Internal.define({
1328
- "/robot/groups/robots/query": { POST: { getBotListInGroup: false } },
1329
- "/robot/messageFiles/download": { POST: { robotMessageFileDownload: false } },
1330
- "/robot/plugins/clear": { POST: { clearRobotPlugin: false } },
1331
- "/robot/plugins/set": { POST: { setRobotPlugin: false } },
1332
- "/robot/plugins/query": { POST: { queryRobotPlugin: false } },
1333
- "/robot/groupMessages/recall": { POST: { orgGroupRecall: false } },
1334
- "/robot/groupMessages/query": { POST: { orgGroupQuery: false } },
1335
- "/robot/groupMessages/send": { POST: { orgGroupSend: false } },
1336
- "/robot/otoMessages/batchRecall": { POST: { batchRecallOTO: false } },
1337
- "/robot/oToMessages/readStatus": { GET: { batchOTOQuery: false } },
1338
- "/robot/oToMessages/batchSend": { POST: { batchSendOTO: false } },
1339
- "/robot/privateChatMessages/send": { POST: { privateChatSend: false } },
1340
- "/robot/privateChatMessages/query": { POST: { privateChatQuery: false } },
1341
- "/robot/privateChatMessages/batchRecall": {
1342
- POST: { batchRecallPrivateChat: false }
1343
- }
1344
- });
1345
-
1346
- // src/api/conference.ts
1347
- Internal.define({
1348
- "/conference/videoConferences/{conferenceId}/users/invite": {
1349
- POST: { inviteUsers: false }
1350
- },
1351
- "/conference/videoConferences/{conferenceId}/focus": {
1352
- POST: { focus: false }
1353
- },
1354
- "/conference/videoConferences/{conferenceId}/coHosts/set": {
1355
- POST: { cohosts: false }
1356
- },
1357
- "/conference/videoConferences/{conferenceId}/members/mute": {
1358
- POST: { muteMembers: false }
1359
- },
1360
- "/conference/videoConferences/scheduleConferences/{scheduleConferenceId}": {
1361
- GET: { queryScheduleConferenceInfo: false }
1362
- },
1363
- "/conference/videoConferences/{conferenceId}/cloudRecords/getVideos": {
1364
- GET: { queryCloudRecordVideo: false }
1365
- },
1366
- "/conference/videoConferences/{conferenceId}/cloudRecords/getTexts": {
1367
- GET: { queryCloudRecordText: false }
1368
- },
1369
- "/conference/videoConferences/{conferenceId}/cloudRecords/videos/getPlayInfos": { GET: { queryCloudRecordVideoPlayInfo: false } },
1370
- "/conference/videoConferences/{conferenceId}/cloudRecords/stop": {
1371
- POST: { stopCloudRecord: false }
1372
- },
1373
- "/conference/videoConferences/{conferenceId}/streamOuts/stop": {
1374
- POST: { stopStreamOut: false }
1375
- },
1376
- "/conference/videoConferences/{conferenceId}/streamOuts/start": {
1377
- POST: { startStreamOut: false }
1378
- },
1379
- "/conference/videoConferences/{conferenceId}/cloudRecords/start": {
1380
- POST: { startCloudRecord: false }
1381
- },
1382
- "/conference/videoConferences/query": {
1383
- POST: { queryConferenceInfoBatch: false }
1384
- },
1385
- "/conference/videoConferences/{conferenceId}": {
1386
- DELETE: { closeVideoConference: false },
1387
- GET: { queryConferenceInfo: false }
1388
- },
1389
- "/conference/videoConferences": { POST: { createVideoConference: false } },
1390
- "/conference/videoConferences/{conferenceId}/members": {
1391
- GET: { queryConferenceMembers: false }
1392
- },
1393
- "/conference/scheduleConferences/cancel": {
1394
- POST: { cancelScheduleConference: false }
1395
- },
1396
- "/conference/scheduleConferences/{scheduleConferenceId}/infos": {
1397
- GET: { queryScheduleConference: false }
1398
- },
1399
- "/conference/scheduleConferences": {
1400
- PUT: { updateScheduleConference: false },
1401
- POST: { createScheduleConference: false }
1402
- }
1403
- });
1404
-
1405
- // src/api/serviceGroup.ts
1406
- Internal.define({
1407
- "/serviceGroup/groups/members": { POST: { addMemberToServiceGroup: false } },
1408
- "/serviceGroup/messages/tasks/send": { POST: { sendMsgByTask: false } },
1409
- "/serviceGroup/normalGroups/upgrade": { POST: { upgradeNormalGroup: false } },
1410
- "/serviceGroup/cloudGroups/upgrade": { POST: { upgradeCloudGroup: false } },
1411
- "/serviceGroup/groups/queryActiveUsers": { GET: { queryActiveUsers: false } },
1412
- "/serviceGroup/messages/send": { POST: { sendServiceGroupMessage: false } },
1413
- "/serviceGroup/groups": { POST: { serviceGroupCreateGroup: false } },
1414
- "/serviceGroup/groups/configurations": {
1415
- PUT: { serviceGroupUpdateGroupSet: false }
1416
- }
1417
- });
1418
-
1419
- // src/api/customerService.ts
1420
- Internal.define({
1421
- "/customerService/tickets/{ticketId}": { PUT: { executeActivity: false } },
1422
- "/customerService/tickets/{ticketId}/actions": {
1423
- GET: { pageListAction: false }
1424
- },
1425
- "/customerService/tickets": {
1426
- GET: { pageListTicket: false },
1427
- POST: { createTicket: false }
1428
- }
1429
- });
1430
-
1431
- // src/api/esign.ts
1432
- Internal.define({
1433
- "/esign/flowTasks/{taskId}/docs": { GET: { getFlowDocs: false } },
1434
- "/esign/approvals/{taskId}": { GET: { approvalList: false } }
1435
- });
1436
-
1437
- // src/api/jzcrm.ts
1438
- Internal.define({
1439
- "/jzcrm/contacts": { POST: { editContact: false } },
1440
- "/jzcrm/customerPools": { POST: { editCustomerPool: false } },
1441
- "/jzcrm/exchanges": { POST: { editExchange: false } },
1442
- "/jzcrm/goods": { POST: { editGoods: false } },
1443
- "/jzcrm/outstocks": { POST: { editOutstock: false } },
1444
- "/jzcrm/intostocks": { POST: { editIntostock: false } },
1445
- "/jzcrm/productions": { POST: { editProduction: false } },
1446
- "/jzcrm/purchases": { POST: { editPurchase: false } },
1447
- "/jzcrm/orders": { POST: { editOrder: false } },
1448
- "/jzcrm/invoices": { POST: { editInvoice: false } },
1449
- "/jzcrm/customers": { POST: { editCustomer: false } },
1450
- "/jzcrm/dataView": { GET: { getDataView: false } },
1451
- "/jzcrm/data": { GET: { getDataList: false } }
1452
- });
1453
-
1454
- // src/api/badge.ts
1455
- Internal.define({
1456
- "/badge/notices": { POST: { createBadgeNotify: false } },
1457
- "/badge/codes/verifyResults": {
1458
- POST: { notifyBadgeCodeVerifyResult: false }
1459
- },
1460
- "/badge/codes/corpInstances": { POST: { saveBadgeCodeCorpInstance: false } },
1461
- "/badge/codes/payResults": { POST: { notifyBadgeCodePayResult: false } },
1462
- "/badge/codes/userInstances": {
1463
- POST: { createBadgeCodeUserInstance: false },
1464
- PUT: { updateBadgeCodeUserInstance: false }
1465
- },
1466
- "/badge/codes/refundResults": {
1467
- POST: { notifyBadgeCodeRefundResult: false }
1468
- },
1469
- "/badge/codes/decode": { POST: { decodeBadgeCode: false } }
1470
- });
1471
-
1472
- // src/api/datacenter.ts
1473
- Internal.define({
1474
- "/datacenter/generalDataServices": {
1475
- GET: { queryGeneralDataService: false }
1476
- },
1477
- "/datacenter/onlineUserData": {
1478
- GET: { queryOnlineUserStatisticalData: false }
1479
- },
1480
- "/datacenter/activeUserData": {
1481
- GET: { queryActiveUserStatisticalData: false }
1482
- },
1483
- "/datacenter/employeeTypeData": {
1484
- GET: { queryEmployeeTypeStatisticalData: false }
1485
- },
1486
- "/datacenter/circleData": { GET: { queryCircleStatisticalData: false } },
1487
- "/datacenter/singleMessagerData": {
1488
- GET: { querySingleMessageStatisticalData: false }
1489
- },
1490
- "/datacenter/groupMessageData": {
1491
- GET: { queryGroupMessageStatisticalData: false }
1492
- },
1493
- "/datacenter/dingSendData": { GET: { queryDingSendStatisticalData: false } },
1494
- "/datacenter/dingReciveData": {
1495
- GET: { queryDingReciveStatisticalData: false }
1496
- },
1497
- "/datacenter/vedioMeetingData": {
1498
- GET: { queryVedioMeetingStatisticalData: false }
1499
- },
1500
- "/datacenter/telMeetingData": {
1501
- GET: { queryTelMeetingStatisticalData: false }
1502
- },
1503
- "/datacenter/groupLiveData": {
1504
- GET: { queryGroupLiveStatisticalData: false }
1505
- },
1506
- "/datacenter/redEnvelopeSendData": {
1507
- GET: { queryRedEnvelopeSendStatisticalData: false }
1508
- },
1509
- "/datacenter/redEnvelopeReciveData": {
1510
- GET: { queryRedEnvelopeReciveStatisticalData: false }
1511
- },
1512
- "/datacenter/blackboardData": {
1513
- GET: { queryBlackboardStatisticalData: false }
1514
- },
1515
- "/datacenter/todoUserData": { GET: { queryTodoStatisticalData: false } },
1516
- "/datacenter/healtheUserData": { GET: { queryHealthStatisticalData: false } },
1517
- "/datacenter/documentData": { GET: { queryDocumentStatisticalData: false } },
1518
- "/datacenter/checkinData": { GET: { queryCheckinStatisticalData: false } },
1519
- "/datacenter/approvalData": { GET: { queryApprovalStatisticalData: false } },
1520
- "/datacenter/reportData": { GET: { queryReportStatisticalData: false } },
1521
- "/datacenter/attendanceData": {
1522
- GET: { queryAttendanceStatisticalData: false }
1523
- },
1524
- "/datacenter/driveData": { GET: { queryDriveStatisticalData: false } },
1525
- "/datacenter/mailData": { GET: { queryMailStatisticalData: false } },
1526
- "/datacenter/calendarData": { GET: { queryCalendarStatisticalData: false } },
1527
- "/datacenter/digitalCounty/orgInfos/query": {
1528
- POST: { queryDigitalDistrictOrgInfo: false }
1529
- }
1530
- });
1531
-
1532
- // src/api/resident.ts
1533
- Internal.define({
1534
- "/resident/points": { POST: { addPoint: false } },
1535
- "/resident/points/records": { GET: { pagePointHistory: false } },
1536
- "/resident/points/rules": { GET: { listPointRules: false } },
1537
- "/resident/industryRoles/users": { GET: { listIndustryRoleUsers: false } },
1538
- "/resident/users/industryRoles": { GET: { listUserIndustryRoles: false } }
1539
- });
1540
-
1541
- // src/api/wiki.ts
1542
- Internal.define({
1543
- "/wiki/nodes": { GET: { listNodes: false } },
1544
- "/wiki/nodes/queryByUrl": { POST: { getNodeByUrl: false } },
1545
- "/wiki/nodes/batchQuery": { POST: { getNodes: false } },
1546
- "/wiki/nodes/{nodeId}": { GET: { getNode: false } },
1547
- "/wiki/words/details": { GET: { wikiWordsDetail: false } },
1548
- "/wiki/words/parse": { POST: { wikiWordsParse: false } }
1549
- });
1550
-
1551
- // src/api/storage.ts
1552
- Internal.define({
1553
- "/storage/workspaces/search": { POST: { searchWorkspaces: false } },
1554
- "/storage/spaces/dentries/{dentryUuid}/permissions/inheritances": {
1555
- PUT: { setPermissionInheritance: false },
1556
- GET: { getPermissionInheritance: false }
1557
- },
1558
- "/storage/spaces/dentries/{dentryUuid}/permissions": {
1559
- PUT: { storageUpdatePermission: false },
1560
- POST: { storageAddPermission: false }
1561
- },
1562
- "/storage/spaces/dentries/{dentryUuid}/permissions/remove": {
1563
- POST: { storageDeletePermission: false }
1564
- },
1565
- "/storage/spaces/dentries/{dentryUuid}/permissions/query": {
1566
- POST: { listPermissionsOrg: false }
1567
- },
1568
- "/storage/dentries/search": { POST: { searchDentries: false } },
1569
- "/storage/spaces/files/{parentDentryUuid}/commit": {
1570
- POST: { storageCommitFile: false }
1571
- },
1572
- "/storage/spaces/files/{parentDentryUuid}/uploadInfos/query": {
1573
- POST: { storageGetFileUploadInfo: false }
1574
- },
1575
- "/storage/events/unsubscribe": { POST: { unsubscribeEvent: false } },
1576
- "/storage/spaces/{spaceId}/dentries/listAll": {
1577
- POST: { listAllDentries: false }
1578
- },
1579
- "/storage/spaces/{spaceId}/dentries/query": { POST: { getDentries: false } },
1580
- "/storage/spaces/{spaceId}/thumbnails/query": {
1581
- POST: { getDentryThumbnails: false }
1582
- },
1583
- "/storage/spaces/{spaceId}/dentries/batchMove": {
1584
- POST: { moveDentries: false }
1585
- },
1586
- "/storage/spaces/{spaceId}/dentries/batchCopy": {
1587
- POST: { copyDentries: false }
1588
- },
1589
- "/storage/spaces/{spaceId}/dentries/batchRemove": {
1590
- POST: { deleteDentries: false }
1591
- },
1592
- "/storage/tasks/{taskId}": { GET: { getTask: false } },
1593
- "/storage/spaces/{spaceId}/files/multiPartUploadInfos/init": {
1594
- POST: { initMultipartFileUpload: false }
1595
- },
1596
- "/storage/spaces/files/multiPartUploadInfos/query": {
1597
- POST: { getMultipartFileUploadInfos: false }
1598
- },
1599
- "/storage/orgs/{corpId}": { GET: { getOrg: false } },
1600
- "/storage/recycleBins/{recycleBinId}/recycleItems/{recycleItemId}/restore": {
1601
- POST: { restoreRecycleItem: false }
1602
- },
1603
- "/storage/recycleBins": { GET: { getRecycleBin: false } },
1604
- "/storage/recycleBins/{recycleBinId}/recycleItems/{recycleItemId}": {
1605
- GET: { getRecycleItem: false },
1606
- DELETE: { deleteRecycleItem: false }
1607
- },
1608
- "/storage/recycleBins/{recycleBinId}/clear": {
1609
- POST: { clearRecycleBin: false }
1610
- },
1611
- "/storage/recycleBins/{recycleBinId}/recycleItems/batchRemove": {
1612
- POST: { deleteRecycleItems: false }
1613
- },
1614
- "/storage/recycleBins/{recycleBinId}/recycleItems/batchRestore": {
1615
- POST: { restoreRecycleItems: false }
1616
- },
1617
- "/storage/spaces/{spaceId}/dentries/{dentryId}/versions": {
1618
- GET: { listDentryVersions: false }
1619
- },
1620
- "/storage/spaces/{spaceId}/dentries/{dentryId}/openInfos/query": {
1621
- POST: { getDentryOpenInfo: false }
1622
- },
1623
- "/storage/spaces/{spaceId}/dentries/{dentryId}/move": {
1624
- POST: { moveDentry: false }
1625
- },
1626
- "/storage/spaces/{spaceId}/dentries/{dentryId}/permissions/query": {
1627
- POST: { listPermissionsIsv: false }
1628
- },
1629
- "/storage/spaces/{spaceId}/dentries/{dentryId}/downloadInfos/query": {
1630
- POST: { getFileDownloadInfo: false }
1631
- },
1632
- "/storage/recycleBins/{recycleBinId}/recycleItems": {
1633
- GET: { listRecycleItems: false }
1634
- },
1635
- "/storage/spaces/{spaceId}/dentries/{dentryId}": {
1636
- DELETE: { deleteDentry: false }
1637
- },
1638
- "/storage/spaces/{spaceId}/dentries/{dentryId}/rename": {
1639
- POST: { renameDentry: false }
1640
- },
1641
- "/storage/spaces/{spaceId}/dentries": { GET: { listDentries: false } },
1642
- "/storage/spaces/{spaceId}/dentries/{dentryId}/versions/{version}/revert": {
1643
- POST: { revertDentryVersion: false }
1644
- },
1645
- "/storage/spaces/{spaceId}/dentries/{dentryId}/copy": {
1646
- POST: { copyDentry: false }
1647
- },
1648
- "/storage/currentApps/query": { POST: { getCurrentApp: false } },
1649
- "/storage/spaces/{spaceId}": { GET: { storageGetSpace: false } },
1650
- "/storage/spaces/{spaceId}/dentries/{parentId}/folders": {
1651
- POST: { addFolder: false }
1652
- },
1653
- "/storage/spaces/{spaceId}/dentries/{dentryId}/query": {
1654
- POST: { getDentry: false }
1655
- },
1656
- "/storage/spaces/{spaceId}/dentries/{dentryId}/appProperties/remove": {
1657
- POST: { deleteDentryAppProperties: false }
1658
- },
1659
- "/storage/spaces/{spaceId}/dentries/{dentryId}/appProperties": {
1660
- PUT: { updateDentryAppProperties: false }
1661
- },
1662
- "/storage/spaces/{spaceId}/files/commit": {
1663
- POST: { storageCommitFile: false }
1664
- },
1665
- "/storage/spaces/{spaceId}/files/uploadInfos/query": {
1666
- POST: { storageGetFileUploadInfo: false }
1667
- },
1668
- "/storage/spaces/{spaceId}/dentries/{dentryId}/permissions": {
1669
- PUT: { storageUpdatePermission: false },
1670
- POST: { storageAddPermission: false }
1671
- },
1672
- "/storage/spaces/{spaceId}/dentries/{dentryId}/permissions/remove": {
1673
- POST: { storageDeletePermission: false }
1674
- },
1675
- "/storage/spaces": { POST: { storageAddSpace: false } }
1676
- });
1677
-
1678
- // src/api/doc.ts
1679
- Internal.define({
1680
- "/doc/workbooks/{workbookId}/sheets/{sheetId}/setRowsVisibility": {
1681
- POST: { setRowsVisibility: false }
1682
- },
1683
- "/doc/workbooks/{workbookId}/sheets/{sheetId}/setColumnsVisibility": {
1684
- POST: { setColumnsVisibility: false }
1685
- },
1686
- "/doc/workbooks/{workbookId}/sheets/{sheetId}/deleteRows": {
1687
- POST: { deleteRows: false }
1688
- },
1689
- "/doc/workbooks/{workbookId}/sheets/{sheetId}/deleteColumns": {
1690
- POST: { deleteColumns: false }
1691
- },
1692
- "/doc/workbooks/{workbookId}/sheets/{sheetId}/insertRowsBefore": {
1693
- POST: { insertRowsBefore: false }
1694
- },
1695
- "/doc/workbooks/{workbookId}/sheets/{sheetId}/insertColumnsBefore": {
1696
- POST: { insertColumnsBefore: false }
1697
- },
1698
- "/doc/workbooks/{workbookId}/sheets/{sheetId}/ranges/{rangeAddress}/clear": {
1699
- POST: { clear: false }
1700
- },
1701
- "/doc/workbooks/{workbookId}/sheets/{sheetId}/ranges/{rangeAddress}/clearData": { POST: { clearData: false } }
1702
- });
1703
-
1704
- // src/api/diot.ts
1705
- Internal.define({ "/diot/upgrade/device": { POST: { upgradeDevice: false } } });
1706
-
1707
- // src/api/h3yun.ts
1708
- Internal.define({
1709
- "/h3yun/attachments/uploadUrls": { GET: { getUploadUrl: false } },
1710
- "/h3yun/apps/functionNodes": { GET: { queryAppFunctionNodes: false } },
1711
- "/h3yun/processes/instances": {
1712
- POST: { createProcessesInstance: false },
1713
- DELETE: { deleteProcessesInstance: false },
1714
- GET: { queryProcessesInstance: false }
1715
- },
1716
- "/h3yun/forms/loadBizFields": { GET: { loadBizFields: false } },
1717
- "/h3yun/processes/workItems": { GET: { queryProcessesWorkItems: false } },
1718
- "/h3yun/forms/instances/batch": { POST: { batchInsertBizObject: false } },
1719
- "/h3yun/forms/instances": {
1720
- DELETE: { deleteBizObject: false },
1721
- POST: { createBizObject: false },
1722
- PUT: { updateBizObject: false }
1723
- },
1724
- "/h3yun/processes/instances/cancel": {
1725
- POST: { cancelProcessInstance: false }
1726
- },
1727
- "/h3yun/forms/instances/loadInstances": { GET: { loadBizObject: false } },
1728
- "/h3yun/forms/instances/search": { POST: { loadBizObjects: false } },
1729
- "/h3yun/attachments/temporaryUrls": {
1730
- GET: { getAttachmentTemporaryUrl: false }
1731
- },
1732
- "/h3yun/roles/roleUsers": { GET: { getRoleUsers: false } },
1733
- "/h3yun/roles": { GET: { getRoles: false } },
1734
- "/h3yun/users": { GET: { getUsers: false } },
1735
- "/h3yun/apps/search": { POST: { getApps: false } },
1736
- "/h3yun/departments": { GET: { getOrganizations: false } }
1737
- });
1738
-
1739
- // src/api/link.ts
1740
- Internal.define({
1741
- "/link/followers/statuses": { GET: { getUserFollowStatus: false } },
1742
- "/link/accounts": { GET: { listAccount: false } },
1743
- "/link/followers": { GET: { listFollower: false } },
1744
- "/link/followers/infos": { GET: { getFollowerInfo: false } }
1745
- });
1746
-
1747
- // src/api/pedia.ts
1748
- Internal.define({
1749
- "/pedia/words/query": { POST: { pediaWordsQuery: false } },
1750
- "/pedia/words/search": { POST: { pediaWordsSearch: false } },
1751
- "/pedia/words/approve": { POST: { pediaWordsApprove: false } },
1752
- "/pedia/words": {
1753
- DELETE: { pediaWordsDelete: false },
1754
- PUT: { pediaWordsUpdate: false },
1755
- POST: { pediaWordsAdd: false }
1756
- }
1757
- });
1758
-
1759
- // src/api/devicemng.ts
1760
- Internal.define({
1761
- "/devicemng/customers/devices/maintainInfos/query": {
1762
- POST: { listMaintainInfo: false }
1763
- },
1764
- "/devicemng/customers/devices/inspectInfos/query": {
1765
- POST: { listInspectInfo: false }
1766
- },
1767
- "/devicemng/customers/devices/activations/infos": {
1768
- GET: { listActivateDevices: false }
1769
- },
1770
- "/devicemng/customers/devices/registrationActivations/batch": {
1771
- POST: { registerAndActivateDeviceBatch: false }
1772
- },
1773
- "/devicemng/customers/devices/registerAndActivate": {
1774
- POST: { registerAndActivateDevice: false }
1775
- }
1776
- });
1777
-
1778
- // src/api/convFile.ts
1779
- Internal.define({
1780
- "/convFile/conversations/files/links/send": { POST: { sendLink: false } },
1781
- "/convFile/conversations/files/send": { POST: { send: false } },
1782
- "/convFile/conversations/spaces/query": { POST: { convFileGetSpace: false } },
1783
- "/convFile/apps/conversations/files/send": { POST: { sendByApp: false } }
1784
- });
1785
-
1786
- // src/api/industry.ts
1787
- Internal.define({
1788
- "/industry/campuses/projectInfos": { GET: { campusGetCampus: false } },
1789
- "/industry/campuses/projects/groupInfos": {
1790
- GET: { campusGetCampusGroup: false }
1791
- },
1792
- "/industry/campuses/projects": { POST: { campusCreateCampus: false } },
1793
- "/industry/campuses/projects/groups": {
1794
- POST: { campusCreateCampusGroup: false },
1795
- DELETE: { campusDeleteCampusGroup: false }
1796
- }
1797
- });
1798
-
1799
- // src/api/live.ts
1800
- Internal.define({
1801
- "/live/lives": {
1802
- DELETE: { deleteLive: false },
1803
- PUT: { updateLive: false },
1804
- POST: { createLive: false },
1805
- GET: { queryLiveInfo: false }
1806
- },
1807
- "/live/lives/watchUsers": { GET: { queryLiveWatchUserList: false } },
1808
- "/live/lives/watchDetails": { GET: { queryLiveWatchDetail: false } }
1809
- });
1810
-
1811
- // src/api/card.ts
1812
- Internal.define({
1813
- "/card/instances": {
1814
- PUT: { updateCard: false },
1815
- POST: { createCard: false }
1816
- },
1817
- "/card/instances/createAndDeliver": { POST: { createAndDeliver: false } },
1818
- "/card/callbacks/register": { POST: { registerCallback: false } },
1819
- "/card/instances/spaces": { PUT: { appendSpace: false } },
1820
- "/card/instances/deliver": { POST: { deliverCard: false } }
1821
- });
1822
-
1823
- // src/api/rooms.ts
1824
- Internal.define({
1825
- "/rooms/devices/properties/query": { POST: { queryDeviceProperties: false } },
1826
- "/rooms/devices": { GET: { queryMeetingRoomDevice: false } },
1827
- "/rooms/groups/{groupId}": {
1828
- DELETE: { deleteMeetingRoomGroup: false },
1829
- GET: { queryMeetingRoomGroup: false }
1830
- },
1831
- "/rooms/groups": {
1832
- PUT: { updateMeetingRoomGroup: false },
1833
- POST: { createMeetingRoomGroup: false }
1834
- },
1835
- "/rooms/groupLists": { GET: { queryMeetingRoomGroupList: false } },
1836
- "/rooms/meetingRooms/{roomId}": {
1837
- DELETE: { deleteMeetingRoom: false },
1838
- GET: { queryMeetingRoom: false }
1839
- },
1840
- "/rooms/meetingRoomLists": { GET: { queryMeetingRoomList: false } },
1841
- "/rooms/meetingRooms": { PUT: { updateMeetingRoom: false } },
1842
- "/rooms/meetingrooms": { POST: { createMeetingRoom: false } }
1843
- });
1844
-
1845
- // src/index.ts
1846
- var src_default = DingtalkBot;
1847
- // Annotate the CommonJS export names for ESM import in node:
1848
- 0 && (module.exports = {
1849
- DingtalkBot,
1850
- DingtalkMessageEncoder,
1851
- HttpServer,
1852
- decodeMessage,
1853
- escape,
1854
- unescape
1855
- });
1856
- //# sourceMappingURL=index.js.map