@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
|
@@ -702,19 +702,26 @@ export class CreateProjectByTemplateRequest extends $tea.Model {
|
|
|
702
702
|
* 578cae9dbf83e5xxxx
|
|
703
703
|
*/
|
|
704
704
|
programId?: string;
|
|
705
|
+
/**
|
|
706
|
+
* @example
|
|
707
|
+
* 通过名称填写项目集
|
|
708
|
+
*/
|
|
709
|
+
programName?: string;
|
|
705
710
|
/**
|
|
706
711
|
* @example
|
|
707
712
|
* 2021-08-13T07:36:50.318Z
|
|
708
713
|
*/
|
|
709
714
|
startDate?: string;
|
|
710
715
|
/**
|
|
711
|
-
* @remarks
|
|
712
|
-
* This parameter is required.
|
|
713
|
-
*
|
|
714
716
|
* @example
|
|
715
717
|
* 578cae9dbf83e5xxxx
|
|
716
718
|
*/
|
|
717
719
|
templateId?: string;
|
|
720
|
+
/**
|
|
721
|
+
* @example
|
|
722
|
+
* 通过名称填写项目模板
|
|
723
|
+
*/
|
|
724
|
+
templateName?: string;
|
|
718
725
|
/**
|
|
719
726
|
* @example
|
|
720
727
|
* project
|
|
@@ -726,8 +733,10 @@ export class CreateProjectByTemplateRequest extends $tea.Model {
|
|
|
726
733
|
endDate: 'endDate',
|
|
727
734
|
name: 'name',
|
|
728
735
|
programId: 'programId',
|
|
736
|
+
programName: 'programName',
|
|
729
737
|
startDate: 'startDate',
|
|
730
738
|
templateId: 'templateId',
|
|
739
|
+
templateName: 'templateName',
|
|
731
740
|
visibility: 'visibility',
|
|
732
741
|
};
|
|
733
742
|
}
|
|
@@ -738,8 +747,10 @@ export class CreateProjectByTemplateRequest extends $tea.Model {
|
|
|
738
747
|
endDate: 'string',
|
|
739
748
|
name: 'string',
|
|
740
749
|
programId: 'string',
|
|
750
|
+
programName: 'string',
|
|
741
751
|
startDate: 'string',
|
|
742
752
|
templateId: 'string',
|
|
753
|
+
templateName: 'string',
|
|
743
754
|
visibility: 'string',
|
|
744
755
|
};
|
|
745
756
|
}
|
|
@@ -962,13 +973,20 @@ export class CreateTaskRequest extends $tea.Model {
|
|
|
962
973
|
*/
|
|
963
974
|
priority?: number;
|
|
964
975
|
/**
|
|
965
|
-
* @
|
|
966
|
-
*
|
|
967
|
-
|
|
976
|
+
* @example
|
|
977
|
+
* 通过名称填写优先级
|
|
978
|
+
*/
|
|
979
|
+
priorityName?: string;
|
|
980
|
+
/**
|
|
968
981
|
* @example
|
|
969
982
|
* 62c25e3b376exxxxxx
|
|
970
983
|
*/
|
|
971
984
|
projectId?: string;
|
|
985
|
+
/**
|
|
986
|
+
* @example
|
|
987
|
+
* 通过名称填写所属项目
|
|
988
|
+
*/
|
|
989
|
+
projectName?: string;
|
|
972
990
|
/**
|
|
973
991
|
* @example
|
|
974
992
|
* 62c25e3b376exxxxxx
|
|
@@ -995,11 +1013,22 @@ export class CreateTaskRequest extends $tea.Model {
|
|
|
995
1013
|
*/
|
|
996
1014
|
storyPoint?: string;
|
|
997
1015
|
tagIds?: string[];
|
|
1016
|
+
tagNames?: string[];
|
|
1017
|
+
/**
|
|
1018
|
+
* @example
|
|
1019
|
+
* 62c25e3b376exxxxxx
|
|
1020
|
+
*/
|
|
1021
|
+
taskflowstatusId?: string;
|
|
998
1022
|
/**
|
|
999
1023
|
* @example
|
|
1000
1024
|
* 62c25e3b376exxxxxx
|
|
1001
1025
|
*/
|
|
1002
1026
|
tasklistId?: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* @example
|
|
1029
|
+
* 通过名称填写任务状态
|
|
1030
|
+
*/
|
|
1031
|
+
tfsName?: string;
|
|
1003
1032
|
/**
|
|
1004
1033
|
* @example
|
|
1005
1034
|
* members
|
|
@@ -1015,14 +1044,19 @@ export class CreateTaskRequest extends $tea.Model {
|
|
|
1015
1044
|
note: 'note',
|
|
1016
1045
|
parentTaskId: 'parentTaskId',
|
|
1017
1046
|
priority: 'priority',
|
|
1047
|
+
priorityName: 'priorityName',
|
|
1018
1048
|
projectId: 'projectId',
|
|
1049
|
+
projectName: 'projectName',
|
|
1019
1050
|
scenariofieldconfigId: 'scenariofieldconfigId',
|
|
1020
1051
|
sprintId: 'sprintId',
|
|
1021
1052
|
stageId: 'stageId',
|
|
1022
1053
|
startDate: 'startDate',
|
|
1023
1054
|
storyPoint: 'storyPoint',
|
|
1024
1055
|
tagIds: 'tagIds',
|
|
1056
|
+
tagNames: 'tagNames',
|
|
1057
|
+
taskflowstatusId: 'taskflowstatusId',
|
|
1025
1058
|
tasklistId: 'tasklistId',
|
|
1059
|
+
tfsName: 'tfsName',
|
|
1026
1060
|
visible: 'visible',
|
|
1027
1061
|
};
|
|
1028
1062
|
}
|
|
@@ -1037,14 +1071,19 @@ export class CreateTaskRequest extends $tea.Model {
|
|
|
1037
1071
|
note: 'string',
|
|
1038
1072
|
parentTaskId: 'string',
|
|
1039
1073
|
priority: 'number',
|
|
1074
|
+
priorityName: 'string',
|
|
1040
1075
|
projectId: 'string',
|
|
1076
|
+
projectName: 'string',
|
|
1041
1077
|
scenariofieldconfigId: 'string',
|
|
1042
1078
|
sprintId: 'string',
|
|
1043
1079
|
stageId: 'string',
|
|
1044
1080
|
startDate: 'string',
|
|
1045
1081
|
storyPoint: 'string',
|
|
1046
1082
|
tagIds: { 'type': 'array', 'itemType': 'string' },
|
|
1083
|
+
tagNames: { 'type': 'array', 'itemType': 'string' },
|
|
1084
|
+
taskflowstatusId: 'string',
|
|
1047
1085
|
tasklistId: 'string',
|
|
1086
|
+
tfsName: 'string',
|
|
1048
1087
|
visible: 'string',
|
|
1049
1088
|
};
|
|
1050
1089
|
}
|
|
@@ -4392,14 +4431,13 @@ export class UpdateCustomfieldValueRequest extends $tea.Model {
|
|
|
4392
4431
|
*/
|
|
4393
4432
|
customFieldId?: string;
|
|
4394
4433
|
/**
|
|
4434
|
+
* @remarks
|
|
4435
|
+
* This parameter is required.
|
|
4436
|
+
*
|
|
4395
4437
|
* @example
|
|
4396
4438
|
* 自定义字段-文本
|
|
4397
4439
|
*/
|
|
4398
4440
|
customFieldName?: string;
|
|
4399
|
-
/**
|
|
4400
|
-
* @remarks
|
|
4401
|
-
* This parameter is required.
|
|
4402
|
-
*/
|
|
4403
4441
|
value?: UpdateCustomfieldValueRequestValue[];
|
|
4404
4442
|
static names(): { [key: string]: string } {
|
|
4405
4443
|
return {
|
|
@@ -7020,6 +7058,11 @@ export class CreateTaskRequestCustomfieldsValue extends $tea.Model {
|
|
|
7020
7058
|
}
|
|
7021
7059
|
|
|
7022
7060
|
export class CreateTaskRequestCustomfields extends $tea.Model {
|
|
7061
|
+
/**
|
|
7062
|
+
* @example
|
|
7063
|
+
* 自定义字段别名
|
|
7064
|
+
*/
|
|
7065
|
+
customfieldAlias?: string;
|
|
7023
7066
|
/**
|
|
7024
7067
|
* @example
|
|
7025
7068
|
* 62fb0bxxxxxxx
|
|
@@ -7033,6 +7076,7 @@ export class CreateTaskRequestCustomfields extends $tea.Model {
|
|
|
7033
7076
|
value?: CreateTaskRequestCustomfieldsValue[];
|
|
7034
7077
|
static names(): { [key: string]: string } {
|
|
7035
7078
|
return {
|
|
7079
|
+
customfieldAlias: 'customfieldAlias',
|
|
7036
7080
|
customfieldId: 'customfieldId',
|
|
7037
7081
|
customfieldName: 'customfieldName',
|
|
7038
7082
|
value: 'value',
|
|
@@ -7041,6 +7085,7 @@ export class CreateTaskRequestCustomfields extends $tea.Model {
|
|
|
7041
7085
|
|
|
7042
7086
|
static types(): { [key: string]: any } {
|
|
7043
7087
|
return {
|
|
7088
|
+
customfieldAlias: 'string',
|
|
7044
7089
|
customfieldId: 'string',
|
|
7045
7090
|
customfieldName: 'string',
|
|
7046
7091
|
value: { 'type': 'array', 'itemType': CreateTaskRequestCustomfieldsValue },
|
|
@@ -9604,22 +9649,25 @@ export class UnSuspendProjectResponseBodyResult extends $tea.Model {
|
|
|
9604
9649
|
}
|
|
9605
9650
|
|
|
9606
9651
|
export class UpdateCustomfieldValueRequestValue extends $tea.Model {
|
|
9652
|
+
id?: string;
|
|
9653
|
+
thumbUrl?: string;
|
|
9607
9654
|
/**
|
|
9608
|
-
* @remarks
|
|
9609
|
-
* This parameter is required.
|
|
9610
|
-
*
|
|
9611
9655
|
* @example
|
|
9612
9656
|
* 我是具体显示值
|
|
9613
9657
|
*/
|
|
9614
9658
|
title?: string;
|
|
9615
9659
|
static names(): { [key: string]: string } {
|
|
9616
9660
|
return {
|
|
9661
|
+
id: 'id',
|
|
9662
|
+
thumbUrl: 'thumbUrl',
|
|
9617
9663
|
title: 'title',
|
|
9618
9664
|
};
|
|
9619
9665
|
}
|
|
9620
9666
|
|
|
9621
9667
|
static types(): { [key: string]: any } {
|
|
9622
9668
|
return {
|
|
9669
|
+
id: 'string',
|
|
9670
|
+
thumbUrl: 'string',
|
|
9623
9671
|
title: 'string',
|
|
9624
9672
|
};
|
|
9625
9673
|
}
|
|
@@ -10880,6 +10928,10 @@ export default class Client extends OpenApi {
|
|
|
10880
10928
|
body["programId"] = request.programId;
|
|
10881
10929
|
}
|
|
10882
10930
|
|
|
10931
|
+
if (!Util.isUnset(request.programName)) {
|
|
10932
|
+
body["programName"] = request.programName;
|
|
10933
|
+
}
|
|
10934
|
+
|
|
10883
10935
|
if (!Util.isUnset(request.startDate)) {
|
|
10884
10936
|
body["startDate"] = request.startDate;
|
|
10885
10937
|
}
|
|
@@ -10888,6 +10940,10 @@ export default class Client extends OpenApi {
|
|
|
10888
10940
|
body["templateId"] = request.templateId;
|
|
10889
10941
|
}
|
|
10890
10942
|
|
|
10943
|
+
if (!Util.isUnset(request.templateName)) {
|
|
10944
|
+
body["templateName"] = request.templateName;
|
|
10945
|
+
}
|
|
10946
|
+
|
|
10891
10947
|
if (!Util.isUnset(request.visibility)) {
|
|
10892
10948
|
body["visibility"] = request.visibility;
|
|
10893
10949
|
}
|
|
@@ -11040,10 +11096,18 @@ export default class Client extends OpenApi {
|
|
|
11040
11096
|
body["priority"] = request.priority;
|
|
11041
11097
|
}
|
|
11042
11098
|
|
|
11099
|
+
if (!Util.isUnset(request.priorityName)) {
|
|
11100
|
+
body["priorityName"] = request.priorityName;
|
|
11101
|
+
}
|
|
11102
|
+
|
|
11043
11103
|
if (!Util.isUnset(request.projectId)) {
|
|
11044
11104
|
body["projectId"] = request.projectId;
|
|
11045
11105
|
}
|
|
11046
11106
|
|
|
11107
|
+
if (!Util.isUnset(request.projectName)) {
|
|
11108
|
+
body["projectName"] = request.projectName;
|
|
11109
|
+
}
|
|
11110
|
+
|
|
11047
11111
|
if (!Util.isUnset(request.scenariofieldconfigId)) {
|
|
11048
11112
|
body["scenariofieldconfigId"] = request.scenariofieldconfigId;
|
|
11049
11113
|
}
|
|
@@ -11068,10 +11132,22 @@ export default class Client extends OpenApi {
|
|
|
11068
11132
|
body["tagIds"] = request.tagIds;
|
|
11069
11133
|
}
|
|
11070
11134
|
|
|
11135
|
+
if (!Util.isUnset(request.tagNames)) {
|
|
11136
|
+
body["tagNames"] = request.tagNames;
|
|
11137
|
+
}
|
|
11138
|
+
|
|
11139
|
+
if (!Util.isUnset(request.taskflowstatusId)) {
|
|
11140
|
+
body["taskflowstatusId"] = request.taskflowstatusId;
|
|
11141
|
+
}
|
|
11142
|
+
|
|
11071
11143
|
if (!Util.isUnset(request.tasklistId)) {
|
|
11072
11144
|
body["tasklistId"] = request.tasklistId;
|
|
11073
11145
|
}
|
|
11074
11146
|
|
|
11147
|
+
if (!Util.isUnset(request.tfsName)) {
|
|
11148
|
+
body["tfsName"] = request.tfsName;
|
|
11149
|
+
}
|
|
11150
|
+
|
|
11075
11151
|
if (!Util.isUnset(request.visible)) {
|
|
11076
11152
|
body["visible"] = request.visible;
|
|
11077
11153
|
}
|
|
@@ -1772,6 +1772,111 @@ export class QueryBotInstanceInGroupInfoResponse extends $tea.Model {
|
|
|
1772
1772
|
}
|
|
1773
1773
|
}
|
|
1774
1774
|
|
|
1775
|
+
export class QueryRobotDingReadStatusHeaders extends $tea.Model {
|
|
1776
|
+
commonHeaders?: { [key: string]: string };
|
|
1777
|
+
xAcsDingtalkAccessToken?: string;
|
|
1778
|
+
static names(): { [key: string]: string } {
|
|
1779
|
+
return {
|
|
1780
|
+
commonHeaders: 'commonHeaders',
|
|
1781
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
1782
|
+
};
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
static types(): { [key: string]: any } {
|
|
1786
|
+
return {
|
|
1787
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1788
|
+
xAcsDingtalkAccessToken: 'string',
|
|
1789
|
+
};
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
constructor(map?: { [key: string]: any }) {
|
|
1793
|
+
super(map);
|
|
1794
|
+
}
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
export class QueryRobotDingReadStatusRequest extends $tea.Model {
|
|
1798
|
+
/**
|
|
1799
|
+
* @remarks
|
|
1800
|
+
* This parameter is required.
|
|
1801
|
+
*
|
|
1802
|
+
* @example
|
|
1803
|
+
* openDingId
|
|
1804
|
+
*/
|
|
1805
|
+
openDingId?: string;
|
|
1806
|
+
/**
|
|
1807
|
+
* @remarks
|
|
1808
|
+
* This parameter is required.
|
|
1809
|
+
*
|
|
1810
|
+
* @example
|
|
1811
|
+
* robotCode
|
|
1812
|
+
*/
|
|
1813
|
+
robotCode?: string;
|
|
1814
|
+
static names(): { [key: string]: string } {
|
|
1815
|
+
return {
|
|
1816
|
+
openDingId: 'openDingId',
|
|
1817
|
+
robotCode: 'robotCode',
|
|
1818
|
+
};
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
static types(): { [key: string]: any } {
|
|
1822
|
+
return {
|
|
1823
|
+
openDingId: 'string',
|
|
1824
|
+
robotCode: 'string',
|
|
1825
|
+
};
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
constructor(map?: { [key: string]: any }) {
|
|
1829
|
+
super(map);
|
|
1830
|
+
}
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
export class QueryRobotDingReadStatusResponseBody extends $tea.Model {
|
|
1834
|
+
result?: QueryRobotDingReadStatusResponseBodyResult;
|
|
1835
|
+
success?: boolean;
|
|
1836
|
+
static names(): { [key: string]: string } {
|
|
1837
|
+
return {
|
|
1838
|
+
result: 'result',
|
|
1839
|
+
success: 'success',
|
|
1840
|
+
};
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
static types(): { [key: string]: any } {
|
|
1844
|
+
return {
|
|
1845
|
+
result: QueryRobotDingReadStatusResponseBodyResult,
|
|
1846
|
+
success: 'boolean',
|
|
1847
|
+
};
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
constructor(map?: { [key: string]: any }) {
|
|
1851
|
+
super(map);
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
export class QueryRobotDingReadStatusResponse extends $tea.Model {
|
|
1856
|
+
headers?: { [key: string]: string };
|
|
1857
|
+
statusCode?: number;
|
|
1858
|
+
body?: QueryRobotDingReadStatusResponseBody;
|
|
1859
|
+
static names(): { [key: string]: string } {
|
|
1860
|
+
return {
|
|
1861
|
+
headers: 'headers',
|
|
1862
|
+
statusCode: 'statusCode',
|
|
1863
|
+
body: 'body',
|
|
1864
|
+
};
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
static types(): { [key: string]: any } {
|
|
1868
|
+
return {
|
|
1869
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1870
|
+
statusCode: 'number',
|
|
1871
|
+
body: QueryRobotDingReadStatusResponseBody,
|
|
1872
|
+
};
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
constructor(map?: { [key: string]: any }) {
|
|
1876
|
+
super(map);
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1775
1880
|
export class QueryRobotPluginHeaders extends $tea.Model {
|
|
1776
1881
|
commonHeaders?: { [key: string]: string };
|
|
1777
1882
|
xAcsDingtalkAccessToken?: string;
|
|
@@ -2626,6 +2731,47 @@ export class GetBotListInGroupResponseBodyChatbotInstanceVOList extends $tea.Mod
|
|
|
2626
2731
|
}
|
|
2627
2732
|
}
|
|
2628
2733
|
|
|
2734
|
+
export class QueryRobotDingReadStatusResponseBodyResultRobotDingReadInfoList extends $tea.Model {
|
|
2735
|
+
readStatus?: string;
|
|
2736
|
+
userId?: string;
|
|
2737
|
+
static names(): { [key: string]: string } {
|
|
2738
|
+
return {
|
|
2739
|
+
readStatus: 'readStatus',
|
|
2740
|
+
userId: 'userId',
|
|
2741
|
+
};
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2744
|
+
static types(): { [key: string]: any } {
|
|
2745
|
+
return {
|
|
2746
|
+
readStatus: 'string',
|
|
2747
|
+
userId: 'string',
|
|
2748
|
+
};
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
constructor(map?: { [key: string]: any }) {
|
|
2752
|
+
super(map);
|
|
2753
|
+
}
|
|
2754
|
+
}
|
|
2755
|
+
|
|
2756
|
+
export class QueryRobotDingReadStatusResponseBodyResult extends $tea.Model {
|
|
2757
|
+
robotDingReadInfoList?: QueryRobotDingReadStatusResponseBodyResultRobotDingReadInfoList[];
|
|
2758
|
+
static names(): { [key: string]: string } {
|
|
2759
|
+
return {
|
|
2760
|
+
robotDingReadInfoList: 'robotDingReadInfoList',
|
|
2761
|
+
};
|
|
2762
|
+
}
|
|
2763
|
+
|
|
2764
|
+
static types(): { [key: string]: any } {
|
|
2765
|
+
return {
|
|
2766
|
+
robotDingReadInfoList: { 'type': 'array', 'itemType': QueryRobotDingReadStatusResponseBodyResultRobotDingReadInfoList },
|
|
2767
|
+
};
|
|
2768
|
+
}
|
|
2769
|
+
|
|
2770
|
+
constructor(map?: { [key: string]: any }) {
|
|
2771
|
+
super(map);
|
|
2772
|
+
}
|
|
2773
|
+
}
|
|
2774
|
+
|
|
2629
2775
|
export class QueryRobotPluginResponseBodyPluginInfoList extends $tea.Model {
|
|
2630
2776
|
/**
|
|
2631
2777
|
* @example
|
|
@@ -3685,6 +3831,64 @@ export default class Client extends OpenApi {
|
|
|
3685
3831
|
return await this.queryBotInstanceInGroupInfoWithOptions(request, headers, runtime);
|
|
3686
3832
|
}
|
|
3687
3833
|
|
|
3834
|
+
/**
|
|
3835
|
+
* 查询机器人DING已读未读状态
|
|
3836
|
+
*
|
|
3837
|
+
* @param request - QueryRobotDingReadStatusRequest
|
|
3838
|
+
* @param headers - QueryRobotDingReadStatusHeaders
|
|
3839
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3840
|
+
* @returns QueryRobotDingReadStatusResponse
|
|
3841
|
+
*/
|
|
3842
|
+
async queryRobotDingReadStatusWithOptions(request: QueryRobotDingReadStatusRequest, headers: QueryRobotDingReadStatusHeaders, runtime: $Util.RuntimeOptions): Promise<QueryRobotDingReadStatusResponse> {
|
|
3843
|
+
Util.validateModel(request);
|
|
3844
|
+
let body : {[key: string ]: any} = { };
|
|
3845
|
+
if (!Util.isUnset(request.openDingId)) {
|
|
3846
|
+
body["openDingId"] = request.openDingId;
|
|
3847
|
+
}
|
|
3848
|
+
|
|
3849
|
+
if (!Util.isUnset(request.robotCode)) {
|
|
3850
|
+
body["robotCode"] = request.robotCode;
|
|
3851
|
+
}
|
|
3852
|
+
|
|
3853
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
3854
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
3855
|
+
realHeaders = headers.commonHeaders;
|
|
3856
|
+
}
|
|
3857
|
+
|
|
3858
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
3859
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
3860
|
+
}
|
|
3861
|
+
|
|
3862
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3863
|
+
headers: realHeaders,
|
|
3864
|
+
body: OpenApiUtil.parseToMap(body),
|
|
3865
|
+
});
|
|
3866
|
+
let params = new $OpenApi.Params({
|
|
3867
|
+
action: "QueryRobotDingReadStatus",
|
|
3868
|
+
version: "robot_1.0",
|
|
3869
|
+
protocol: "HTTP",
|
|
3870
|
+
pathname: `/v1.0/robot/ding/readStatuses/query`,
|
|
3871
|
+
method: "POST",
|
|
3872
|
+
authType: "AK",
|
|
3873
|
+
style: "ROA",
|
|
3874
|
+
reqBodyType: "none",
|
|
3875
|
+
bodyType: "json",
|
|
3876
|
+
});
|
|
3877
|
+
return $tea.cast<QueryRobotDingReadStatusResponse>(await this.execute(params, req, runtime), new QueryRobotDingReadStatusResponse({}));
|
|
3878
|
+
}
|
|
3879
|
+
|
|
3880
|
+
/**
|
|
3881
|
+
* 查询机器人DING已读未读状态
|
|
3882
|
+
*
|
|
3883
|
+
* @param request - QueryRobotDingReadStatusRequest
|
|
3884
|
+
* @returns QueryRobotDingReadStatusResponse
|
|
3885
|
+
*/
|
|
3886
|
+
async queryRobotDingReadStatus(request: QueryRobotDingReadStatusRequest): Promise<QueryRobotDingReadStatusResponse> {
|
|
3887
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3888
|
+
let headers = new QueryRobotDingReadStatusHeaders({ });
|
|
3889
|
+
return await this.queryRobotDingReadStatusWithOptions(request, headers, runtime);
|
|
3890
|
+
}
|
|
3891
|
+
|
|
3688
3892
|
/**
|
|
3689
3893
|
* 查询单聊机器人快捷入口
|
|
3690
3894
|
*
|