@tachybase/plugin-auth-dingtalk 1.3.21 → 1.3.23
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/dist/externalVersion.js +4 -6
- package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.d.ts +1 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.js +2 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.d.ts +86 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.js +149 -8
- package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.d.ts +631 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.js +644 -8
- package/dist/node_modules/@alicloud/dingtalk/dist/index.js +2 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.d.ts +207 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.js +324 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.d.ts +41 -13
- package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.js +41 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/robot_1_0/client.d.ts +112 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/robot_1_0/client.js +161 -1
- package/dist/node_modules/@alicloud/dingtalk/package.json +1 -1
- package/dist/node_modules/@alicloud/dingtalk/src/attendance_1_0/client.ts +3 -0
- package/dist/node_modules/@alicloud/dingtalk/src/datacenter_1_0/client.ts +167 -0
- package/dist/node_modules/@alicloud/dingtalk/src/im_1_0/client.ts +1083 -65
- package/dist/node_modules/@alicloud/dingtalk/src/minutes_1_0/client.ts +412 -1
- package/dist/node_modules/@alicloud/dingtalk/src/project_1_0/client.ts +89 -13
- package/dist/node_modules/@alicloud/dingtalk/src/robot_1_0/client.ts +204 -0
- package/dist/node_modules/@alicloud/openapi-client/dist/client.js +2 -2
- package/dist/node_modules/@alicloud/openapi-client/package.json +1 -1
- package/dist/node_modules/@alicloud/tea-util/dist/client.js +1 -1
- package/dist/node_modules/@alicloud/tea-util/package.json +1 -1
- package/dist/server/actions/dingding.d.ts +1 -1
- package/dist/server/actions/dingding.js +1 -1
- package/dist/server/dingtalk-auth.d.ts +1 -1
- package/dist/server/dingtalk-auth.js +2 -2
- package/dist/server/plugin.d.ts +1 -1
- package/dist/server/plugin.js +1 -1
- package/package.json +12 -17
|
@@ -489,19 +489,26 @@ export declare class CreateProjectByTemplateRequest extends $tea.Model {
|
|
|
489
489
|
* 578cae9dbf83e5xxxx
|
|
490
490
|
*/
|
|
491
491
|
programId?: string;
|
|
492
|
+
/**
|
|
493
|
+
* @example
|
|
494
|
+
* 通过名称填写项目集
|
|
495
|
+
*/
|
|
496
|
+
programName?: string;
|
|
492
497
|
/**
|
|
493
498
|
* @example
|
|
494
499
|
* 2021-08-13T07:36:50.318Z
|
|
495
500
|
*/
|
|
496
501
|
startDate?: string;
|
|
497
502
|
/**
|
|
498
|
-
* @remarks
|
|
499
|
-
* This parameter is required.
|
|
500
|
-
*
|
|
501
503
|
* @example
|
|
502
504
|
* 578cae9dbf83e5xxxx
|
|
503
505
|
*/
|
|
504
506
|
templateId?: string;
|
|
507
|
+
/**
|
|
508
|
+
* @example
|
|
509
|
+
* 通过名称填写项目模板
|
|
510
|
+
*/
|
|
511
|
+
templateName?: string;
|
|
505
512
|
/**
|
|
506
513
|
* @example
|
|
507
514
|
* project
|
|
@@ -671,13 +678,20 @@ export declare class CreateTaskRequest extends $tea.Model {
|
|
|
671
678
|
*/
|
|
672
679
|
priority?: number;
|
|
673
680
|
/**
|
|
674
|
-
* @
|
|
675
|
-
*
|
|
676
|
-
|
|
681
|
+
* @example
|
|
682
|
+
* 通过名称填写优先级
|
|
683
|
+
*/
|
|
684
|
+
priorityName?: string;
|
|
685
|
+
/**
|
|
677
686
|
* @example
|
|
678
687
|
* 62c25e3b376exxxxxx
|
|
679
688
|
*/
|
|
680
689
|
projectId?: string;
|
|
690
|
+
/**
|
|
691
|
+
* @example
|
|
692
|
+
* 通过名称填写所属项目
|
|
693
|
+
*/
|
|
694
|
+
projectName?: string;
|
|
681
695
|
/**
|
|
682
696
|
* @example
|
|
683
697
|
* 62c25e3b376exxxxxx
|
|
@@ -704,11 +718,22 @@ export declare class CreateTaskRequest extends $tea.Model {
|
|
|
704
718
|
*/
|
|
705
719
|
storyPoint?: string;
|
|
706
720
|
tagIds?: string[];
|
|
721
|
+
tagNames?: string[];
|
|
722
|
+
/**
|
|
723
|
+
* @example
|
|
724
|
+
* 62c25e3b376exxxxxx
|
|
725
|
+
*/
|
|
726
|
+
taskflowstatusId?: string;
|
|
707
727
|
/**
|
|
708
728
|
* @example
|
|
709
729
|
* 62c25e3b376exxxxxx
|
|
710
730
|
*/
|
|
711
731
|
tasklistId?: string;
|
|
732
|
+
/**
|
|
733
|
+
* @example
|
|
734
|
+
* 通过名称填写任务状态
|
|
735
|
+
*/
|
|
736
|
+
tfsName?: string;
|
|
712
737
|
/**
|
|
713
738
|
* @example
|
|
714
739
|
* members
|
|
@@ -2946,14 +2971,13 @@ export declare class UpdateCustomfieldValueRequest extends $tea.Model {
|
|
|
2946
2971
|
*/
|
|
2947
2972
|
customFieldId?: string;
|
|
2948
2973
|
/**
|
|
2974
|
+
* @remarks
|
|
2975
|
+
* This parameter is required.
|
|
2976
|
+
*
|
|
2949
2977
|
* @example
|
|
2950
2978
|
* 自定义字段-文本
|
|
2951
2979
|
*/
|
|
2952
2980
|
customFieldName?: string;
|
|
2953
|
-
/**
|
|
2954
|
-
* @remarks
|
|
2955
|
-
* This parameter is required.
|
|
2956
|
-
*/
|
|
2957
2981
|
value?: UpdateCustomfieldValueRequestValue[];
|
|
2958
2982
|
static names(): {
|
|
2959
2983
|
[key: string]: string;
|
|
@@ -4698,6 +4722,11 @@ export declare class CreateTaskRequestCustomfieldsValue extends $tea.Model {
|
|
|
4698
4722
|
});
|
|
4699
4723
|
}
|
|
4700
4724
|
export declare class CreateTaskRequestCustomfields extends $tea.Model {
|
|
4725
|
+
/**
|
|
4726
|
+
* @example
|
|
4727
|
+
* 自定义字段别名
|
|
4728
|
+
*/
|
|
4729
|
+
customfieldAlias?: string;
|
|
4701
4730
|
/**
|
|
4702
4731
|
* @example
|
|
4703
4732
|
* 62fb0bxxxxxxx
|
|
@@ -6467,10 +6496,9 @@ export declare class UnSuspendProjectResponseBodyResult extends $tea.Model {
|
|
|
6467
6496
|
});
|
|
6468
6497
|
}
|
|
6469
6498
|
export declare class UpdateCustomfieldValueRequestValue extends $tea.Model {
|
|
6499
|
+
id?: string;
|
|
6500
|
+
thumbUrl?: string;
|
|
6470
6501
|
/**
|
|
6471
|
-
* @remarks
|
|
6472
|
-
* This parameter is required.
|
|
6473
|
-
*
|
|
6474
6502
|
* @example
|
|
6475
6503
|
* 我是具体显示值
|
|
6476
6504
|
*/
|
|
@@ -500,8 +500,10 @@ class CreateProjectByTemplateRequest extends $tea.Model {
|
|
|
500
500
|
endDate: 'endDate',
|
|
501
501
|
name: 'name',
|
|
502
502
|
programId: 'programId',
|
|
503
|
+
programName: 'programName',
|
|
503
504
|
startDate: 'startDate',
|
|
504
505
|
templateId: 'templateId',
|
|
506
|
+
templateName: 'templateName',
|
|
505
507
|
visibility: 'visibility',
|
|
506
508
|
};
|
|
507
509
|
}
|
|
@@ -511,8 +513,10 @@ class CreateProjectByTemplateRequest extends $tea.Model {
|
|
|
511
513
|
endDate: 'string',
|
|
512
514
|
name: 'string',
|
|
513
515
|
programId: 'string',
|
|
516
|
+
programName: 'string',
|
|
514
517
|
startDate: 'string',
|
|
515
518
|
templateId: 'string',
|
|
519
|
+
templateName: 'string',
|
|
516
520
|
visibility: 'string',
|
|
517
521
|
};
|
|
518
522
|
}
|
|
@@ -662,14 +666,19 @@ class CreateTaskRequest extends $tea.Model {
|
|
|
662
666
|
note: 'note',
|
|
663
667
|
parentTaskId: 'parentTaskId',
|
|
664
668
|
priority: 'priority',
|
|
669
|
+
priorityName: 'priorityName',
|
|
665
670
|
projectId: 'projectId',
|
|
671
|
+
projectName: 'projectName',
|
|
666
672
|
scenariofieldconfigId: 'scenariofieldconfigId',
|
|
667
673
|
sprintId: 'sprintId',
|
|
668
674
|
stageId: 'stageId',
|
|
669
675
|
startDate: 'startDate',
|
|
670
676
|
storyPoint: 'storyPoint',
|
|
671
677
|
tagIds: 'tagIds',
|
|
678
|
+
tagNames: 'tagNames',
|
|
679
|
+
taskflowstatusId: 'taskflowstatusId',
|
|
672
680
|
tasklistId: 'tasklistId',
|
|
681
|
+
tfsName: 'tfsName',
|
|
673
682
|
visible: 'visible',
|
|
674
683
|
};
|
|
675
684
|
}
|
|
@@ -683,14 +692,19 @@ class CreateTaskRequest extends $tea.Model {
|
|
|
683
692
|
note: 'string',
|
|
684
693
|
parentTaskId: 'string',
|
|
685
694
|
priority: 'number',
|
|
695
|
+
priorityName: 'string',
|
|
686
696
|
projectId: 'string',
|
|
697
|
+
projectName: 'string',
|
|
687
698
|
scenariofieldconfigId: 'string',
|
|
688
699
|
sprintId: 'string',
|
|
689
700
|
stageId: 'string',
|
|
690
701
|
startDate: 'string',
|
|
691
702
|
storyPoint: 'string',
|
|
692
703
|
tagIds: { 'type': 'array', 'itemType': 'string' },
|
|
704
|
+
tagNames: { 'type': 'array', 'itemType': 'string' },
|
|
705
|
+
taskflowstatusId: 'string',
|
|
693
706
|
tasklistId: 'string',
|
|
707
|
+
tfsName: 'string',
|
|
694
708
|
visible: 'string',
|
|
695
709
|
};
|
|
696
710
|
}
|
|
@@ -4846,6 +4860,7 @@ exports.CreateTaskRequestCustomfieldsValue = CreateTaskRequestCustomfieldsValue;
|
|
|
4846
4860
|
class CreateTaskRequestCustomfields extends $tea.Model {
|
|
4847
4861
|
static names() {
|
|
4848
4862
|
return {
|
|
4863
|
+
customfieldAlias: 'customfieldAlias',
|
|
4849
4864
|
customfieldId: 'customfieldId',
|
|
4850
4865
|
customfieldName: 'customfieldName',
|
|
4851
4866
|
value: 'value',
|
|
@@ -4853,6 +4868,7 @@ class CreateTaskRequestCustomfields extends $tea.Model {
|
|
|
4853
4868
|
}
|
|
4854
4869
|
static types() {
|
|
4855
4870
|
return {
|
|
4871
|
+
customfieldAlias: 'string',
|
|
4856
4872
|
customfieldId: 'string',
|
|
4857
4873
|
customfieldName: 'string',
|
|
4858
4874
|
value: { 'type': 'array', 'itemType': CreateTaskRequestCustomfieldsValue },
|
|
@@ -6052,11 +6068,15 @@ exports.UnSuspendProjectResponseBodyResult = UnSuspendProjectResponseBodyResult;
|
|
|
6052
6068
|
class UpdateCustomfieldValueRequestValue extends $tea.Model {
|
|
6053
6069
|
static names() {
|
|
6054
6070
|
return {
|
|
6071
|
+
id: 'id',
|
|
6072
|
+
thumbUrl: 'thumbUrl',
|
|
6055
6073
|
title: 'title',
|
|
6056
6074
|
};
|
|
6057
6075
|
}
|
|
6058
6076
|
static types() {
|
|
6059
6077
|
return {
|
|
6078
|
+
id: 'string',
|
|
6079
|
+
thumbUrl: 'string',
|
|
6060
6080
|
title: 'string',
|
|
6061
6081
|
};
|
|
6062
6082
|
}
|
|
@@ -6904,12 +6924,18 @@ class Client extends openapi_client_1.default {
|
|
|
6904
6924
|
if (!tea_util_1.default.isUnset(request.programId)) {
|
|
6905
6925
|
body["programId"] = request.programId;
|
|
6906
6926
|
}
|
|
6927
|
+
if (!tea_util_1.default.isUnset(request.programName)) {
|
|
6928
|
+
body["programName"] = request.programName;
|
|
6929
|
+
}
|
|
6907
6930
|
if (!tea_util_1.default.isUnset(request.startDate)) {
|
|
6908
6931
|
body["startDate"] = request.startDate;
|
|
6909
6932
|
}
|
|
6910
6933
|
if (!tea_util_1.default.isUnset(request.templateId)) {
|
|
6911
6934
|
body["templateId"] = request.templateId;
|
|
6912
6935
|
}
|
|
6936
|
+
if (!tea_util_1.default.isUnset(request.templateName)) {
|
|
6937
|
+
body["templateName"] = request.templateName;
|
|
6938
|
+
}
|
|
6913
6939
|
if (!tea_util_1.default.isUnset(request.visibility)) {
|
|
6914
6940
|
body["visibility"] = request.visibility;
|
|
6915
6941
|
}
|
|
@@ -7041,9 +7067,15 @@ class Client extends openapi_client_1.default {
|
|
|
7041
7067
|
if (!tea_util_1.default.isUnset(request.priority)) {
|
|
7042
7068
|
body["priority"] = request.priority;
|
|
7043
7069
|
}
|
|
7070
|
+
if (!tea_util_1.default.isUnset(request.priorityName)) {
|
|
7071
|
+
body["priorityName"] = request.priorityName;
|
|
7072
|
+
}
|
|
7044
7073
|
if (!tea_util_1.default.isUnset(request.projectId)) {
|
|
7045
7074
|
body["projectId"] = request.projectId;
|
|
7046
7075
|
}
|
|
7076
|
+
if (!tea_util_1.default.isUnset(request.projectName)) {
|
|
7077
|
+
body["projectName"] = request.projectName;
|
|
7078
|
+
}
|
|
7047
7079
|
if (!tea_util_1.default.isUnset(request.scenariofieldconfigId)) {
|
|
7048
7080
|
body["scenariofieldconfigId"] = request.scenariofieldconfigId;
|
|
7049
7081
|
}
|
|
@@ -7062,9 +7094,18 @@ class Client extends openapi_client_1.default {
|
|
|
7062
7094
|
if (!tea_util_1.default.isUnset(request.tagIds)) {
|
|
7063
7095
|
body["tagIds"] = request.tagIds;
|
|
7064
7096
|
}
|
|
7097
|
+
if (!tea_util_1.default.isUnset(request.tagNames)) {
|
|
7098
|
+
body["tagNames"] = request.tagNames;
|
|
7099
|
+
}
|
|
7100
|
+
if (!tea_util_1.default.isUnset(request.taskflowstatusId)) {
|
|
7101
|
+
body["taskflowstatusId"] = request.taskflowstatusId;
|
|
7102
|
+
}
|
|
7065
7103
|
if (!tea_util_1.default.isUnset(request.tasklistId)) {
|
|
7066
7104
|
body["tasklistId"] = request.tasklistId;
|
|
7067
7105
|
}
|
|
7106
|
+
if (!tea_util_1.default.isUnset(request.tfsName)) {
|
|
7107
|
+
body["tfsName"] = request.tfsName;
|
|
7108
|
+
}
|
|
7068
7109
|
if (!tea_util_1.default.isUnset(request.visible)) {
|
|
7069
7110
|
body["visible"] = request.visible;
|
|
7070
7111
|
}
|
|
@@ -1228,6 +1228,77 @@ export declare class QueryBotInstanceInGroupInfoResponse extends $tea.Model {
|
|
|
1228
1228
|
[key: string]: any;
|
|
1229
1229
|
});
|
|
1230
1230
|
}
|
|
1231
|
+
export declare class QueryRobotDingReadStatusHeaders extends $tea.Model {
|
|
1232
|
+
commonHeaders?: {
|
|
1233
|
+
[key: string]: string;
|
|
1234
|
+
};
|
|
1235
|
+
xAcsDingtalkAccessToken?: string;
|
|
1236
|
+
static names(): {
|
|
1237
|
+
[key: string]: string;
|
|
1238
|
+
};
|
|
1239
|
+
static types(): {
|
|
1240
|
+
[key: string]: any;
|
|
1241
|
+
};
|
|
1242
|
+
constructor(map?: {
|
|
1243
|
+
[key: string]: any;
|
|
1244
|
+
});
|
|
1245
|
+
}
|
|
1246
|
+
export declare class QueryRobotDingReadStatusRequest extends $tea.Model {
|
|
1247
|
+
/**
|
|
1248
|
+
* @remarks
|
|
1249
|
+
* This parameter is required.
|
|
1250
|
+
*
|
|
1251
|
+
* @example
|
|
1252
|
+
* openDingId
|
|
1253
|
+
*/
|
|
1254
|
+
openDingId?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* @remarks
|
|
1257
|
+
* This parameter is required.
|
|
1258
|
+
*
|
|
1259
|
+
* @example
|
|
1260
|
+
* robotCode
|
|
1261
|
+
*/
|
|
1262
|
+
robotCode?: string;
|
|
1263
|
+
static names(): {
|
|
1264
|
+
[key: string]: string;
|
|
1265
|
+
};
|
|
1266
|
+
static types(): {
|
|
1267
|
+
[key: string]: any;
|
|
1268
|
+
};
|
|
1269
|
+
constructor(map?: {
|
|
1270
|
+
[key: string]: any;
|
|
1271
|
+
});
|
|
1272
|
+
}
|
|
1273
|
+
export declare class QueryRobotDingReadStatusResponseBody extends $tea.Model {
|
|
1274
|
+
result?: QueryRobotDingReadStatusResponseBodyResult;
|
|
1275
|
+
success?: boolean;
|
|
1276
|
+
static names(): {
|
|
1277
|
+
[key: string]: string;
|
|
1278
|
+
};
|
|
1279
|
+
static types(): {
|
|
1280
|
+
[key: string]: any;
|
|
1281
|
+
};
|
|
1282
|
+
constructor(map?: {
|
|
1283
|
+
[key: string]: any;
|
|
1284
|
+
});
|
|
1285
|
+
}
|
|
1286
|
+
export declare class QueryRobotDingReadStatusResponse extends $tea.Model {
|
|
1287
|
+
headers?: {
|
|
1288
|
+
[key: string]: string;
|
|
1289
|
+
};
|
|
1290
|
+
statusCode?: number;
|
|
1291
|
+
body?: QueryRobotDingReadStatusResponseBody;
|
|
1292
|
+
static names(): {
|
|
1293
|
+
[key: string]: string;
|
|
1294
|
+
};
|
|
1295
|
+
static types(): {
|
|
1296
|
+
[key: string]: any;
|
|
1297
|
+
};
|
|
1298
|
+
constructor(map?: {
|
|
1299
|
+
[key: string]: any;
|
|
1300
|
+
});
|
|
1301
|
+
}
|
|
1231
1302
|
export declare class QueryRobotPluginHeaders extends $tea.Model {
|
|
1232
1303
|
commonHeaders?: {
|
|
1233
1304
|
[key: string]: string;
|
|
@@ -1818,6 +1889,31 @@ export declare class GetBotListInGroupResponseBodyChatbotInstanceVOList extends
|
|
|
1818
1889
|
[key: string]: any;
|
|
1819
1890
|
});
|
|
1820
1891
|
}
|
|
1892
|
+
export declare class QueryRobotDingReadStatusResponseBodyResultRobotDingReadInfoList extends $tea.Model {
|
|
1893
|
+
readStatus?: string;
|
|
1894
|
+
userId?: string;
|
|
1895
|
+
static names(): {
|
|
1896
|
+
[key: string]: string;
|
|
1897
|
+
};
|
|
1898
|
+
static types(): {
|
|
1899
|
+
[key: string]: any;
|
|
1900
|
+
};
|
|
1901
|
+
constructor(map?: {
|
|
1902
|
+
[key: string]: any;
|
|
1903
|
+
});
|
|
1904
|
+
}
|
|
1905
|
+
export declare class QueryRobotDingReadStatusResponseBodyResult extends $tea.Model {
|
|
1906
|
+
robotDingReadInfoList?: QueryRobotDingReadStatusResponseBodyResultRobotDingReadInfoList[];
|
|
1907
|
+
static names(): {
|
|
1908
|
+
[key: string]: string;
|
|
1909
|
+
};
|
|
1910
|
+
static types(): {
|
|
1911
|
+
[key: string]: any;
|
|
1912
|
+
};
|
|
1913
|
+
constructor(map?: {
|
|
1914
|
+
[key: string]: any;
|
|
1915
|
+
});
|
|
1916
|
+
}
|
|
1821
1917
|
export declare class QueryRobotPluginResponseBodyPluginInfoList extends $tea.Model {
|
|
1822
1918
|
/**
|
|
1823
1919
|
* @example
|
|
@@ -2128,6 +2224,22 @@ export default class Client extends OpenApi {
|
|
|
2128
2224
|
* @returns QueryBotInstanceInGroupInfoResponse
|
|
2129
2225
|
*/
|
|
2130
2226
|
queryBotInstanceInGroupInfo(request: QueryBotInstanceInGroupInfoRequest): Promise<QueryBotInstanceInGroupInfoResponse>;
|
|
2227
|
+
/**
|
|
2228
|
+
* 查询机器人DING已读未读状态
|
|
2229
|
+
*
|
|
2230
|
+
* @param request - QueryRobotDingReadStatusRequest
|
|
2231
|
+
* @param headers - QueryRobotDingReadStatusHeaders
|
|
2232
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2233
|
+
* @returns QueryRobotDingReadStatusResponse
|
|
2234
|
+
*/
|
|
2235
|
+
queryRobotDingReadStatusWithOptions(request: QueryRobotDingReadStatusRequest, headers: QueryRobotDingReadStatusHeaders, runtime: $Util.RuntimeOptions): Promise<QueryRobotDingReadStatusResponse>;
|
|
2236
|
+
/**
|
|
2237
|
+
* 查询机器人DING已读未读状态
|
|
2238
|
+
*
|
|
2239
|
+
* @param request - QueryRobotDingReadStatusRequest
|
|
2240
|
+
* @returns QueryRobotDingReadStatusResponse
|
|
2241
|
+
*/
|
|
2242
|
+
queryRobotDingReadStatus(request: QueryRobotDingReadStatusRequest): Promise<QueryRobotDingReadStatusResponse>;
|
|
2131
2243
|
/**
|
|
2132
2244
|
* 查询单聊机器人快捷入口
|
|
2133
2245
|
*
|
|
@@ -37,7 +37,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.PrivateChatQueryRequest = exports.PrivateChatQueryHeaders = exports.OrgGroupSendResponse = exports.OrgGroupSendResponseBody = exports.OrgGroupSendRequest = exports.OrgGroupSendHeaders = exports.OrgGroupRecallResponse = exports.OrgGroupRecallResponseBody = exports.OrgGroupRecallRequest = exports.OrgGroupRecallHeaders = exports.OrgGroupQueryResponse = exports.OrgGroupQueryResponseBody = exports.OrgGroupQueryRequest = exports.OrgGroupQueryHeaders = exports.ManageSingleChatRobotStatusResponse = exports.ManageSingleChatRobotStatusResponseBody = exports.ManageSingleChatRobotStatusRequest = exports.ManageSingleChatRobotStatusHeaders = exports.GetBotListInGroupResponse = exports.GetBotListInGroupResponseBody = exports.GetBotListInGroupRequest = exports.GetBotListInGroupHeaders = exports.ExecuteRobotAiSkillResponse = exports.ExecuteRobotAiSkillResponseBody = exports.ExecuteRobotAiSkillRequest = exports.ExecuteRobotAiSkillHeaders = exports.ClearRobotPluginResponse = exports.ClearRobotPluginResponseBody = exports.ClearRobotPluginRequest = exports.ClearRobotPluginHeaders = exports.BatchSendOTOResponse = exports.BatchSendOTOResponseBody = exports.BatchSendOTORequest = exports.BatchSendOTOHeaders = exports.BatchRecallPrivateChatResponse = exports.BatchRecallPrivateChatResponseBody = exports.BatchRecallPrivateChatRequest = exports.BatchRecallPrivateChatHeaders = exports.BatchRecallOTOResponse = exports.BatchRecallOTOResponseBody = exports.BatchRecallOTORequest = exports.BatchRecallOTOHeaders = exports.BatchRecallGroupResponse = exports.BatchRecallGroupResponseBody = exports.BatchRecallGroupRequest = exports.BatchRecallGroupHeaders = exports.BatchOTOQueryResponse = exports.BatchOTOQueryResponseBody = exports.BatchOTOQueryRequest = exports.BatchOTOQueryHeaders = void 0;
|
|
40
|
-
exports.SetRobotPluginRequestPluginInfoList = exports.QueryRobotPluginResponseBodyPluginInfoList = exports.GetBotListInGroupResponseBodyChatbotInstanceVOList = exports.BatchOTOQueryResponseBodyMessageReadInfoList = exports.UpdateInstalledRobotResponse = exports.UpdateInstalledRobotResponseBody = exports.UpdateInstalledRobotRequest = exports.UpdateInstalledRobotHeaders = exports.SetRobotPluginResponse = exports.SetRobotPluginResponseBody = exports.SetRobotPluginRequest = exports.SetRobotPluginHeaders = exports.SendRobotDingMessageResponse = exports.SendRobotDingMessageResponseBody = exports.SendRobotDingMessageRequest = exports.SendRobotDingMessageHeaders = exports.RobotSendDingResponse = exports.RobotSendDingResponseBody = exports.RobotSendDingRequest = exports.RobotSendDingHeaders = exports.RobotRecallDingResponse = exports.RobotRecallDingResponseBody = exports.RobotRecallDingRequest = exports.RobotRecallDingHeaders = exports.RobotMessageFileDownloadResponse = exports.RobotMessageFileDownloadResponseBody = exports.RobotMessageFileDownloadRequest = exports.RobotMessageFileDownloadHeaders = exports.QueryRobotPluginResponse = exports.QueryRobotPluginResponseBody = exports.QueryRobotPluginRequest = exports.QueryRobotPluginHeaders = exports.QueryBotInstanceInGroupInfoResponse = exports.QueryBotInstanceInGroupInfoResponseBody = exports.QueryBotInstanceInGroupInfoRequest = exports.QueryBotInstanceInGroupInfoHeaders = exports.PrivateChatSendResponse = exports.PrivateChatSendResponseBody = exports.PrivateChatSendRequest = exports.PrivateChatSendHeaders = exports.PrivateChatQueryResponse = exports.PrivateChatQueryResponseBody = void 0;
|
|
40
|
+
exports.SetRobotPluginRequestPluginInfoList = exports.QueryRobotPluginResponseBodyPluginInfoList = exports.QueryRobotDingReadStatusResponseBodyResult = exports.QueryRobotDingReadStatusResponseBodyResultRobotDingReadInfoList = exports.GetBotListInGroupResponseBodyChatbotInstanceVOList = exports.BatchOTOQueryResponseBodyMessageReadInfoList = exports.UpdateInstalledRobotResponse = exports.UpdateInstalledRobotResponseBody = exports.UpdateInstalledRobotRequest = exports.UpdateInstalledRobotHeaders = exports.SetRobotPluginResponse = exports.SetRobotPluginResponseBody = exports.SetRobotPluginRequest = exports.SetRobotPluginHeaders = exports.SendRobotDingMessageResponse = exports.SendRobotDingMessageResponseBody = exports.SendRobotDingMessageRequest = exports.SendRobotDingMessageHeaders = exports.RobotSendDingResponse = exports.RobotSendDingResponseBody = exports.RobotSendDingRequest = exports.RobotSendDingHeaders = exports.RobotRecallDingResponse = exports.RobotRecallDingResponseBody = exports.RobotRecallDingRequest = exports.RobotRecallDingHeaders = exports.RobotMessageFileDownloadResponse = exports.RobotMessageFileDownloadResponseBody = exports.RobotMessageFileDownloadRequest = exports.RobotMessageFileDownloadHeaders = exports.QueryRobotPluginResponse = exports.QueryRobotPluginResponseBody = exports.QueryRobotPluginRequest = exports.QueryRobotPluginHeaders = exports.QueryRobotDingReadStatusResponse = exports.QueryRobotDingReadStatusResponseBody = exports.QueryRobotDingReadStatusRequest = exports.QueryRobotDingReadStatusHeaders = exports.QueryBotInstanceInGroupInfoResponse = exports.QueryBotInstanceInGroupInfoResponseBody = exports.QueryBotInstanceInGroupInfoRequest = exports.QueryBotInstanceInGroupInfoHeaders = exports.PrivateChatSendResponse = exports.PrivateChatSendResponseBody = exports.PrivateChatSendRequest = exports.PrivateChatSendHeaders = exports.PrivateChatQueryResponse = exports.PrivateChatQueryResponseBody = void 0;
|
|
41
41
|
// This file is auto-generated, don't edit it
|
|
42
42
|
/**
|
|
43
43
|
*/
|
|
@@ -1196,6 +1196,80 @@ class QueryBotInstanceInGroupInfoResponse extends $tea.Model {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
1198
|
exports.QueryBotInstanceInGroupInfoResponse = QueryBotInstanceInGroupInfoResponse;
|
|
1199
|
+
class QueryRobotDingReadStatusHeaders extends $tea.Model {
|
|
1200
|
+
static names() {
|
|
1201
|
+
return {
|
|
1202
|
+
commonHeaders: 'commonHeaders',
|
|
1203
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
1204
|
+
};
|
|
1205
|
+
}
|
|
1206
|
+
static types() {
|
|
1207
|
+
return {
|
|
1208
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1209
|
+
xAcsDingtalkAccessToken: 'string',
|
|
1210
|
+
};
|
|
1211
|
+
}
|
|
1212
|
+
constructor(map) {
|
|
1213
|
+
super(map);
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
exports.QueryRobotDingReadStatusHeaders = QueryRobotDingReadStatusHeaders;
|
|
1217
|
+
class QueryRobotDingReadStatusRequest extends $tea.Model {
|
|
1218
|
+
static names() {
|
|
1219
|
+
return {
|
|
1220
|
+
openDingId: 'openDingId',
|
|
1221
|
+
robotCode: 'robotCode',
|
|
1222
|
+
};
|
|
1223
|
+
}
|
|
1224
|
+
static types() {
|
|
1225
|
+
return {
|
|
1226
|
+
openDingId: 'string',
|
|
1227
|
+
robotCode: 'string',
|
|
1228
|
+
};
|
|
1229
|
+
}
|
|
1230
|
+
constructor(map) {
|
|
1231
|
+
super(map);
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
exports.QueryRobotDingReadStatusRequest = QueryRobotDingReadStatusRequest;
|
|
1235
|
+
class QueryRobotDingReadStatusResponseBody extends $tea.Model {
|
|
1236
|
+
static names() {
|
|
1237
|
+
return {
|
|
1238
|
+
result: 'result',
|
|
1239
|
+
success: 'success',
|
|
1240
|
+
};
|
|
1241
|
+
}
|
|
1242
|
+
static types() {
|
|
1243
|
+
return {
|
|
1244
|
+
result: QueryRobotDingReadStatusResponseBodyResult,
|
|
1245
|
+
success: 'boolean',
|
|
1246
|
+
};
|
|
1247
|
+
}
|
|
1248
|
+
constructor(map) {
|
|
1249
|
+
super(map);
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
exports.QueryRobotDingReadStatusResponseBody = QueryRobotDingReadStatusResponseBody;
|
|
1253
|
+
class QueryRobotDingReadStatusResponse extends $tea.Model {
|
|
1254
|
+
static names() {
|
|
1255
|
+
return {
|
|
1256
|
+
headers: 'headers',
|
|
1257
|
+
statusCode: 'statusCode',
|
|
1258
|
+
body: 'body',
|
|
1259
|
+
};
|
|
1260
|
+
}
|
|
1261
|
+
static types() {
|
|
1262
|
+
return {
|
|
1263
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1264
|
+
statusCode: 'number',
|
|
1265
|
+
body: QueryRobotDingReadStatusResponseBody,
|
|
1266
|
+
};
|
|
1267
|
+
}
|
|
1268
|
+
constructor(map) {
|
|
1269
|
+
super(map);
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
exports.QueryRobotDingReadStatusResponse = QueryRobotDingReadStatusResponse;
|
|
1199
1273
|
class QueryRobotPluginHeaders extends $tea.Model {
|
|
1200
1274
|
static names() {
|
|
1201
1275
|
return {
|
|
@@ -1762,6 +1836,40 @@ class GetBotListInGroupResponseBodyChatbotInstanceVOList extends $tea.Model {
|
|
|
1762
1836
|
}
|
|
1763
1837
|
}
|
|
1764
1838
|
exports.GetBotListInGroupResponseBodyChatbotInstanceVOList = GetBotListInGroupResponseBodyChatbotInstanceVOList;
|
|
1839
|
+
class QueryRobotDingReadStatusResponseBodyResultRobotDingReadInfoList extends $tea.Model {
|
|
1840
|
+
static names() {
|
|
1841
|
+
return {
|
|
1842
|
+
readStatus: 'readStatus',
|
|
1843
|
+
userId: 'userId',
|
|
1844
|
+
};
|
|
1845
|
+
}
|
|
1846
|
+
static types() {
|
|
1847
|
+
return {
|
|
1848
|
+
readStatus: 'string',
|
|
1849
|
+
userId: 'string',
|
|
1850
|
+
};
|
|
1851
|
+
}
|
|
1852
|
+
constructor(map) {
|
|
1853
|
+
super(map);
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
exports.QueryRobotDingReadStatusResponseBodyResultRobotDingReadInfoList = QueryRobotDingReadStatusResponseBodyResultRobotDingReadInfoList;
|
|
1857
|
+
class QueryRobotDingReadStatusResponseBodyResult extends $tea.Model {
|
|
1858
|
+
static names() {
|
|
1859
|
+
return {
|
|
1860
|
+
robotDingReadInfoList: 'robotDingReadInfoList',
|
|
1861
|
+
};
|
|
1862
|
+
}
|
|
1863
|
+
static types() {
|
|
1864
|
+
return {
|
|
1865
|
+
robotDingReadInfoList: { 'type': 'array', 'itemType': QueryRobotDingReadStatusResponseBodyResultRobotDingReadInfoList },
|
|
1866
|
+
};
|
|
1867
|
+
}
|
|
1868
|
+
constructor(map) {
|
|
1869
|
+
super(map);
|
|
1870
|
+
}
|
|
1871
|
+
}
|
|
1872
|
+
exports.QueryRobotDingReadStatusResponseBodyResult = QueryRobotDingReadStatusResponseBodyResult;
|
|
1765
1873
|
class QueryRobotPluginResponseBodyPluginInfoList extends $tea.Model {
|
|
1766
1874
|
static names() {
|
|
1767
1875
|
return {
|
|
@@ -2656,6 +2764,58 @@ class Client extends openapi_client_1.default {
|
|
|
2656
2764
|
let headers = new QueryBotInstanceInGroupInfoHeaders({});
|
|
2657
2765
|
return await this.queryBotInstanceInGroupInfoWithOptions(request, headers, runtime);
|
|
2658
2766
|
}
|
|
2767
|
+
/**
|
|
2768
|
+
* 查询机器人DING已读未读状态
|
|
2769
|
+
*
|
|
2770
|
+
* @param request - QueryRobotDingReadStatusRequest
|
|
2771
|
+
* @param headers - QueryRobotDingReadStatusHeaders
|
|
2772
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2773
|
+
* @returns QueryRobotDingReadStatusResponse
|
|
2774
|
+
*/
|
|
2775
|
+
async queryRobotDingReadStatusWithOptions(request, headers, runtime) {
|
|
2776
|
+
tea_util_1.default.validateModel(request);
|
|
2777
|
+
let body = {};
|
|
2778
|
+
if (!tea_util_1.default.isUnset(request.openDingId)) {
|
|
2779
|
+
body["openDingId"] = request.openDingId;
|
|
2780
|
+
}
|
|
2781
|
+
if (!tea_util_1.default.isUnset(request.robotCode)) {
|
|
2782
|
+
body["robotCode"] = request.robotCode;
|
|
2783
|
+
}
|
|
2784
|
+
let realHeaders = {};
|
|
2785
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
2786
|
+
realHeaders = headers.commonHeaders;
|
|
2787
|
+
}
|
|
2788
|
+
if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
2789
|
+
realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
2790
|
+
}
|
|
2791
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2792
|
+
headers: realHeaders,
|
|
2793
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
2794
|
+
});
|
|
2795
|
+
let params = new $OpenApi.Params({
|
|
2796
|
+
action: "QueryRobotDingReadStatus",
|
|
2797
|
+
version: "robot_1.0",
|
|
2798
|
+
protocol: "HTTP",
|
|
2799
|
+
pathname: `/v1.0/robot/ding/readStatuses/query`,
|
|
2800
|
+
method: "POST",
|
|
2801
|
+
authType: "AK",
|
|
2802
|
+
style: "ROA",
|
|
2803
|
+
reqBodyType: "none",
|
|
2804
|
+
bodyType: "json",
|
|
2805
|
+
});
|
|
2806
|
+
return $tea.cast(await this.execute(params, req, runtime), new QueryRobotDingReadStatusResponse({}));
|
|
2807
|
+
}
|
|
2808
|
+
/**
|
|
2809
|
+
* 查询机器人DING已读未读状态
|
|
2810
|
+
*
|
|
2811
|
+
* @param request - QueryRobotDingReadStatusRequest
|
|
2812
|
+
* @returns QueryRobotDingReadStatusResponse
|
|
2813
|
+
*/
|
|
2814
|
+
async queryRobotDingReadStatus(request) {
|
|
2815
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2816
|
+
let headers = new QueryRobotDingReadStatusHeaders({});
|
|
2817
|
+
return await this.queryRobotDingReadStatusWithOptions(request, headers, runtime);
|
|
2818
|
+
}
|
|
2659
2819
|
/**
|
|
2660
2820
|
* 查询单聊机器人快捷入口
|
|
2661
2821
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@alicloud/dingtalk","version":"2.2.
|
|
1
|
+
{"name":"@alicloud/dingtalk","version":"2.2.27","description":"","main":"dist/index.js","scripts":{"test":"mocha --reporter spec --timeout 3000 test/*.test.js","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"Alibaba Cloud SDK","license":"Apache-2.0","devDependencies":{"@types/node":"^16.0.0","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^10.0.0","typescript":"^5"},"dependencies":{"@alicloud/tea-typescript":"^1.7.1","@alicloud/openapi-client":"^0.4.14","@alicloud/tea-util":"^1.4.9","@alicloud/openapi-util":"^0.3.2","@alicloud/endpoint-util":"^0.0.2","@alicloud/gateway-spi":"^0.0.8","@alicloud/gateway-dingtalk":"^1.0.2"},"files":["dist","src","*.js"],"_lastModified":"2025-08-02T21:27:00.297Z"}
|
|
@@ -6522,6 +6522,7 @@ export class GetCheckinRecordByUserResponseBodyResultPageListCustomDataList exte
|
|
|
6522
6522
|
|
|
6523
6523
|
export class GetCheckinRecordByUserResponseBodyResultPageList extends $tea.Model {
|
|
6524
6524
|
checkinTime?: number;
|
|
6525
|
+
checkinType?: string;
|
|
6525
6526
|
customDataList?: GetCheckinRecordByUserResponseBodyResultPageListCustomDataList[];
|
|
6526
6527
|
detailPlace?: string;
|
|
6527
6528
|
imageList?: string[];
|
|
@@ -6534,6 +6535,7 @@ export class GetCheckinRecordByUserResponseBodyResultPageList extends $tea.Model
|
|
|
6534
6535
|
static names(): { [key: string]: string } {
|
|
6535
6536
|
return {
|
|
6536
6537
|
checkinTime: 'checkinTime',
|
|
6538
|
+
checkinType: 'checkinType',
|
|
6537
6539
|
customDataList: 'customDataList',
|
|
6538
6540
|
detailPlace: 'detailPlace',
|
|
6539
6541
|
imageList: 'imageList',
|
|
@@ -6549,6 +6551,7 @@ export class GetCheckinRecordByUserResponseBodyResultPageList extends $tea.Model
|
|
|
6549
6551
|
static types(): { [key: string]: any } {
|
|
6550
6552
|
return {
|
|
6551
6553
|
checkinTime: 'number',
|
|
6554
|
+
checkinType: 'string',
|
|
6552
6555
|
customDataList: { 'type': 'array', 'itemType': GetCheckinRecordByUserResponseBodyResultPageListCustomDataList },
|
|
6553
6556
|
detailPlace: 'string',
|
|
6554
6557
|
imageList: { 'type': 'array', 'itemType': 'string' },
|