@tachybase/plugin-auth-dingtalk 1.3.19 → 1.3.21
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 +5 -5
- package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.d.ts +1750 -330
- package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.js +1733 -114
- package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.d.ts +294 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.js +461 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.d.ts +691 -7
- package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.js +1143 -37
- package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.d.ts +202 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.js +335 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.d.ts +21 -13
- package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.js +21 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.d.ts +103 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.js +169 -5
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.d.ts +3261 -901
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.js +4736 -1197
- package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.d.ts +145 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.js +238 -6
- package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.d.ts +105 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.js +181 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.d.ts +159 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.js +243 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.d.ts +399 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.js +614 -11
- package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.d.ts +2789 -274
- package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.js +4218 -407
- package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.d.ts +81 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.js +133 -7
- package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.d.ts +168 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.js +281 -11
- package/dist/node_modules/@alicloud/dingtalk/dist/diot_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.d.ts +1110 -24
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.js +1714 -115
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.d.ts +1073 -73
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.js +1316 -39
- package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.d.ts +5893 -2422
- package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.js +7232 -1965
- package/dist/node_modules/@alicloud/dingtalk/dist/event_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.d.ts +851 -51
- package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.js +1239 -66
- package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.d.ts +92 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.js +166 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/gateway_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.d.ts +1373 -233
- package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.js +2004 -246
- package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.d.ts +598 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.js +893 -33
- package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.d.ts +1373 -122
- package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.js +2099 -264
- package/dist/node_modules/@alicloud/dingtalk/dist/im_2_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/index.d.ts +6 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/index.js +2 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.d.ts +160 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.js +227 -14
- package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.d.ts +4 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.js +6 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.d.ts +1089 -38
- package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.js +1429 -62
- package/dist/node_modules/@alicloud/dingtalk/dist/manufacturing_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.d.ts +101 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.js +202 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.d.ts +113 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.js +171 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/miniapp_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.d.ts +940 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.js +1545 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/oauth2_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.d.ts +1 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.js +5 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.d.ts +83 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.js +68 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.d.ts +90 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.js +83 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.d.ts +642 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.js +919 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.d.ts +130 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.js +171 -6
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.d.ts +283 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.js +340 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.d.ts +223 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.js +347 -4
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.d.ts +42 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.js +53 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.d.ts +458 -4
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.js +942 -153
- package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.d.ts +5 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.js +2 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.d.ts +254 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.js +477 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/watt_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.d.ts +234 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.js +298 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.d.ts +746 -15
- package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.js +871 -20
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.d.ts +402 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.js +412 -7
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.d.ts +890 -112
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.js +1063 -2
- package/dist/node_modules/@alicloud/dingtalk/meter_1_0.js +1 -0
- package/dist/node_modules/@alicloud/dingtalk/minutes_1_0.js +1 -0
- package/dist/node_modules/@alicloud/dingtalk/package.json +1 -1
- package/dist/node_modules/@alicloud/dingtalk/salary_1_0.js +1 -0
- package/dist/node_modules/@alicloud/dingtalk/src/agoal_1_0/client.ts +2695 -319
- package/dist/node_modules/@alicloud/dingtalk/src/ai_paa_s_1_0/client.ts +566 -0
- package/dist/node_modules/@alicloud/dingtalk/src/assistant_1_0/client.ts +1492 -117
- package/dist/node_modules/@alicloud/dingtalk/src/ats_1_0/client.ts +420 -0
- package/dist/node_modules/@alicloud/dingtalk/src/attendance_1_0/client.ts +45 -13
- package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_1_0/client.ts +232 -2
- package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_2_0/client.ts +6892 -2251
- package/dist/node_modules/@alicloud/dingtalk/src/calendar_1_0/client.ts +287 -0
- package/dist/node_modules/@alicloud/dingtalk/src/card_1_0/client.ts +224 -0
- package/dist/node_modules/@alicloud/dingtalk/src/conference_1_0/client.ts +297 -2
- package/dist/node_modules/@alicloud/dingtalk/src/contact_1_0/client.ts +811 -42
- package/dist/node_modules/@alicloud/dingtalk/src/contract_1_0/client.ts +5523 -617
- package/dist/node_modules/@alicloud/dingtalk/src/crm_1_0/client.ts +157 -0
- package/dist/node_modules/@alicloud/dingtalk/src/datacenter_1_0/client.ts +340 -0
- package/dist/node_modules/@alicloud/dingtalk/src/diot_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/doc_1_0/client.ts +2802 -720
- package/dist/node_modules/@alicloud/dingtalk/src/doc_2_0/client.ts +1889 -140
- package/dist/node_modules/@alicloud/dingtalk/src/edu_1_0/client.ts +8496 -1557
- package/dist/node_modules/@alicloud/dingtalk/src/event_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/exclusive_1_0/client.ts +1831 -283
- package/dist/node_modules/@alicloud/dingtalk/src/flashmeeting_1_0/client.ts +201 -0
- package/dist/node_modules/@alicloud/dingtalk/src/gateway_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/hrbrain_1_0/client.ts +2742 -542
- package/dist/node_modules/@alicloud/dingtalk/src/hrm_1_0/client.ts +1182 -33
- package/dist/node_modules/@alicloud/dingtalk/src/im_1_0/client.ts +3100 -718
- package/dist/node_modules/@alicloud/dingtalk/src/im_2_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/index.ts +6 -0
- package/dist/node_modules/@alicloud/dingtalk/src/industry_1_0/client.ts +319 -0
- package/dist/node_modules/@alicloud/dingtalk/src/live_1_0/client.ts +8 -2
- package/dist/node_modules/@alicloud/dingtalk/src/mail_1_0/client.ts +2029 -159
- package/dist/node_modules/@alicloud/dingtalk/src/manufacturing_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/meter_1_0/client.ts +201 -0
- package/dist/node_modules/@alicloud/dingtalk/src/micro_app_1_0/client.ts +215 -1
- package/dist/node_modules/@alicloud/dingtalk/src/miniapp_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/minutes_1_0/client.ts +1871 -0
- package/dist/node_modules/@alicloud/dingtalk/src/oauth2_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/pedia_1_0/client.ts +7 -0
- package/dist/node_modules/@alicloud/dingtalk/src/project_1_0/client.ts +161 -0
- package/dist/node_modules/@alicloud/dingtalk/src/rooms_1_0/client.ts +147 -0
- package/dist/node_modules/@alicloud/dingtalk/src/salary_1_0/client.ts +1156 -0
- package/dist/node_modules/@alicloud/dingtalk/src/storage_1_0/client.ts +226 -0
- package/dist/node_modules/@alicloud/dingtalk/src/storage_2_0/client.ts +492 -0
- package/dist/node_modules/@alicloud/dingtalk/src/team_sphere_1_0/client.ts +442 -0
- package/dist/node_modules/@alicloud/dingtalk/src/todo_1_0/client.ts +89 -0
- package/dist/node_modules/@alicloud/dingtalk/src/todo_e_e_1_0/client.ts +1061 -88
- package/dist/node_modules/@alicloud/dingtalk/src/trip_1_0/client.ts +7 -0
- package/dist/node_modules/@alicloud/dingtalk/src/vip_member_1_0/client.ts +583 -0
- package/dist/node_modules/@alicloud/dingtalk/src/watt_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/wiki_2_0/client.ts +423 -0
- package/dist/node_modules/@alicloud/dingtalk/src/workflow_1_0/client.ts +1304 -24
- package/dist/node_modules/@alicloud/dingtalk/src/yida_1_0/client.ts +774 -102
- package/dist/node_modules/@alicloud/dingtalk/src/yida_2_0/client.ts +1910 -429
- package/dist/node_modules/@alicloud/openapi-client/package.json +1 -1
- package/dist/node_modules/@alicloud/tea-util/package.json +1 -1
- package/package.json +8 -8
|
@@ -7,7 +7,7 @@ import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
|
7
7
|
import OpenApiUtil from '@alicloud/openapi-util';
|
|
8
8
|
import * as $tea from '@alicloud/tea-typescript';
|
|
9
9
|
|
|
10
|
-
export class
|
|
10
|
+
export class BatchAddOrUpdateRoleMembersHeaders extends $tea.Model {
|
|
11
11
|
commonHeaders?: { [key: string]: string };
|
|
12
12
|
xAcsDingtalkAccessToken?: string;
|
|
13
13
|
static names(): { [key: string]: string } {
|
|
@@ -29,87 +29,66 @@ export class CreateOrUpdateFormDataHeaders extends $tea.Model {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export class
|
|
33
|
-
/**
|
|
34
|
-
* @remarks
|
|
35
|
-
* This parameter is required.
|
|
36
|
-
*
|
|
37
|
-
* @example
|
|
38
|
-
* APP_XCE0EVXS6DYG3YDYC5RD
|
|
39
|
-
*/
|
|
40
|
-
appType?: string;
|
|
32
|
+
export class BatchAddOrUpdateRoleMembersRequest extends $tea.Model {
|
|
41
33
|
/**
|
|
42
34
|
* @remarks
|
|
43
35
|
* This parameter is required.
|
|
44
36
|
*
|
|
45
37
|
* @example
|
|
46
|
-
*
|
|
38
|
+
* dingxxxx
|
|
47
39
|
*/
|
|
48
|
-
|
|
40
|
+
corpId?: string;
|
|
49
41
|
/**
|
|
50
42
|
* @remarks
|
|
51
43
|
* This parameter is required.
|
|
52
44
|
*
|
|
53
45
|
* @example
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
56
|
-
formUuid?: string;
|
|
57
|
-
/**
|
|
58
|
-
* @example
|
|
59
|
-
* false
|
|
46
|
+
* [{"memberId":"5014533041684xx","manageScopes":"8360866xx,430181xx,429821xx"},{"memberId":"014329103xx","manageScopes":"all"}]
|
|
60
47
|
*/
|
|
61
|
-
|
|
48
|
+
membersInfo?: string;
|
|
49
|
+
pageNumber?: number;
|
|
50
|
+
pageSize?: number;
|
|
62
51
|
/**
|
|
63
52
|
* @remarks
|
|
64
53
|
* This parameter is required.
|
|
65
54
|
*
|
|
66
55
|
* @example
|
|
67
|
-
*
|
|
56
|
+
* ROLE-71dc7859-17df-490d-a93d-eb5506e31f42
|
|
68
57
|
*/
|
|
69
|
-
|
|
58
|
+
roleUuid?: string;
|
|
70
59
|
/**
|
|
71
60
|
* @remarks
|
|
72
61
|
* This parameter is required.
|
|
73
|
-
*
|
|
74
|
-
* @example
|
|
75
|
-
* 09866181UTZVVD4R3DC955FNKIM52HVPU5WWK7
|
|
76
|
-
*/
|
|
77
|
-
systemToken?: string;
|
|
78
|
-
/**
|
|
79
|
-
* @example
|
|
80
|
-
* false
|
|
81
62
|
*/
|
|
82
|
-
|
|
63
|
+
token?: string;
|
|
83
64
|
/**
|
|
84
65
|
* @remarks
|
|
85
66
|
* This parameter is required.
|
|
86
67
|
*
|
|
87
68
|
* @example
|
|
88
|
-
*
|
|
69
|
+
* 501453
|
|
89
70
|
*/
|
|
90
71
|
userId?: string;
|
|
91
72
|
static names(): { [key: string]: string } {
|
|
92
73
|
return {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
useAlias: 'useAlias',
|
|
74
|
+
corpId: 'corpId',
|
|
75
|
+
membersInfo: 'membersInfo',
|
|
76
|
+
pageNumber: 'pageNumber',
|
|
77
|
+
pageSize: 'pageSize',
|
|
78
|
+
roleUuid: 'roleUuid',
|
|
79
|
+
token: 'token',
|
|
100
80
|
userId: 'userId',
|
|
101
81
|
};
|
|
102
82
|
}
|
|
103
83
|
|
|
104
84
|
static types(): { [key: string]: any } {
|
|
105
85
|
return {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
useAlias: 'boolean',
|
|
86
|
+
corpId: 'string',
|
|
87
|
+
membersInfo: 'string',
|
|
88
|
+
pageNumber: 'number',
|
|
89
|
+
pageSize: 'number',
|
|
90
|
+
roleUuid: 'string',
|
|
91
|
+
token: 'string',
|
|
113
92
|
userId: 'string',
|
|
114
93
|
};
|
|
115
94
|
}
|
|
@@ -119,17 +98,17 @@ export class CreateOrUpdateFormDataRequest extends $tea.Model {
|
|
|
119
98
|
}
|
|
120
99
|
}
|
|
121
100
|
|
|
122
|
-
export class
|
|
123
|
-
|
|
101
|
+
export class BatchAddOrUpdateRoleMembersResponseBody extends $tea.Model {
|
|
102
|
+
success?: boolean;
|
|
124
103
|
static names(): { [key: string]: string } {
|
|
125
104
|
return {
|
|
126
|
-
|
|
105
|
+
success: 'success',
|
|
127
106
|
};
|
|
128
107
|
}
|
|
129
108
|
|
|
130
109
|
static types(): { [key: string]: any } {
|
|
131
110
|
return {
|
|
132
|
-
|
|
111
|
+
success: 'boolean',
|
|
133
112
|
};
|
|
134
113
|
}
|
|
135
114
|
|
|
@@ -138,10 +117,10 @@ export class CreateOrUpdateFormDataResponseBody extends $tea.Model {
|
|
|
138
117
|
}
|
|
139
118
|
}
|
|
140
119
|
|
|
141
|
-
export class
|
|
120
|
+
export class BatchAddOrUpdateRoleMembersResponse extends $tea.Model {
|
|
142
121
|
headers?: { [key: string]: string };
|
|
143
122
|
statusCode?: number;
|
|
144
|
-
body?:
|
|
123
|
+
body?: BatchAddOrUpdateRoleMembersResponseBody;
|
|
145
124
|
static names(): { [key: string]: string } {
|
|
146
125
|
return {
|
|
147
126
|
headers: 'headers',
|
|
@@ -154,7 +133,7 @@ export class CreateOrUpdateFormDataResponse extends $tea.Model {
|
|
|
154
133
|
return {
|
|
155
134
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
156
135
|
statusCode: 'number',
|
|
157
|
-
body:
|
|
136
|
+
body: BatchAddOrUpdateRoleMembersResponseBody,
|
|
158
137
|
};
|
|
159
138
|
}
|
|
160
139
|
|
|
@@ -163,7 +142,7 @@ export class CreateOrUpdateFormDataResponse extends $tea.Model {
|
|
|
163
142
|
}
|
|
164
143
|
}
|
|
165
144
|
|
|
166
|
-
export class
|
|
145
|
+
export class BatchDeleteRoleMembersHeaders extends $tea.Model {
|
|
167
146
|
commonHeaders?: { [key: string]: string };
|
|
168
147
|
xAcsDingtalkAccessToken?: string;
|
|
169
148
|
static names(): { [key: string]: string } {
|
|
@@ -185,48 +164,64 @@ export class GetFormComponentAliasListHeaders extends $tea.Model {
|
|
|
185
164
|
}
|
|
186
165
|
}
|
|
187
166
|
|
|
188
|
-
export class
|
|
167
|
+
export class BatchDeleteRoleMembersRequest extends $tea.Model {
|
|
189
168
|
/**
|
|
169
|
+
* @remarks
|
|
170
|
+
* This parameter is required.
|
|
171
|
+
*
|
|
190
172
|
* @example
|
|
191
|
-
*
|
|
173
|
+
* dingxxxx
|
|
192
174
|
*/
|
|
193
|
-
|
|
175
|
+
corpId?: string;
|
|
194
176
|
/**
|
|
195
177
|
* @remarks
|
|
196
178
|
* This parameter is required.
|
|
197
|
-
*
|
|
198
|
-
* @example
|
|
199
|
-
* hexxxx
|
|
200
179
|
*/
|
|
201
|
-
|
|
180
|
+
memberIds?: string;
|
|
181
|
+
pageNumber?: number;
|
|
182
|
+
pageSize?: number;
|
|
202
183
|
/**
|
|
203
184
|
* @remarks
|
|
204
185
|
* This parameter is required.
|
|
205
186
|
*
|
|
206
187
|
* @example
|
|
207
|
-
*
|
|
188
|
+
* ROLE-71dc7859-17df-490d-a93d-eb5506e31f42
|
|
208
189
|
*/
|
|
209
|
-
|
|
190
|
+
roleUuid?: string;
|
|
191
|
+
/**
|
|
192
|
+
* @remarks
|
|
193
|
+
* This parameter is required.
|
|
194
|
+
*/
|
|
195
|
+
token?: string;
|
|
210
196
|
/**
|
|
197
|
+
* @remarks
|
|
198
|
+
* This parameter is required.
|
|
199
|
+
*
|
|
211
200
|
* @example
|
|
212
|
-
*
|
|
201
|
+
* 501453
|
|
213
202
|
*/
|
|
214
|
-
|
|
203
|
+
userId?: string;
|
|
215
204
|
static names(): { [key: string]: string } {
|
|
216
205
|
return {
|
|
217
|
-
|
|
218
|
-
|
|
206
|
+
corpId: 'corpId',
|
|
207
|
+
memberIds: 'memberIds',
|
|
208
|
+
pageNumber: 'pageNumber',
|
|
209
|
+
pageSize: 'pageSize',
|
|
210
|
+
roleUuid: 'roleUuid',
|
|
211
|
+
token: 'token',
|
|
219
212
|
userId: 'userId',
|
|
220
|
-
version: 'version',
|
|
221
213
|
};
|
|
222
214
|
}
|
|
223
215
|
|
|
224
216
|
static types(): { [key: string]: any } {
|
|
225
217
|
return {
|
|
226
|
-
|
|
227
|
-
|
|
218
|
+
corpId: 'string',
|
|
219
|
+
memberIds: 'string',
|
|
220
|
+
pageNumber: 'number',
|
|
221
|
+
pageSize: 'number',
|
|
222
|
+
roleUuid: 'string',
|
|
223
|
+
token: 'string',
|
|
228
224
|
userId: 'string',
|
|
229
|
-
version: 'number',
|
|
230
225
|
};
|
|
231
226
|
}
|
|
232
227
|
|
|
@@ -235,17 +230,17 @@ export class GetFormComponentAliasListRequest extends $tea.Model {
|
|
|
235
230
|
}
|
|
236
231
|
}
|
|
237
232
|
|
|
238
|
-
export class
|
|
239
|
-
|
|
233
|
+
export class BatchDeleteRoleMembersResponseBody extends $tea.Model {
|
|
234
|
+
success?: boolean;
|
|
240
235
|
static names(): { [key: string]: string } {
|
|
241
236
|
return {
|
|
242
|
-
|
|
237
|
+
success: 'success',
|
|
243
238
|
};
|
|
244
239
|
}
|
|
245
240
|
|
|
246
241
|
static types(): { [key: string]: any } {
|
|
247
242
|
return {
|
|
248
|
-
|
|
243
|
+
success: 'boolean',
|
|
249
244
|
};
|
|
250
245
|
}
|
|
251
246
|
|
|
@@ -254,10 +249,10 @@ export class GetFormComponentAliasListResponseBody extends $tea.Model {
|
|
|
254
249
|
}
|
|
255
250
|
}
|
|
256
251
|
|
|
257
|
-
export class
|
|
252
|
+
export class BatchDeleteRoleMembersResponse extends $tea.Model {
|
|
258
253
|
headers?: { [key: string]: string };
|
|
259
254
|
statusCode?: number;
|
|
260
|
-
body?:
|
|
255
|
+
body?: BatchDeleteRoleMembersResponseBody;
|
|
261
256
|
static names(): { [key: string]: string } {
|
|
262
257
|
return {
|
|
263
258
|
headers: 'headers',
|
|
@@ -270,7 +265,7 @@ export class GetFormComponentAliasListResponse extends $tea.Model {
|
|
|
270
265
|
return {
|
|
271
266
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
272
267
|
statusCode: 'number',
|
|
273
|
-
body:
|
|
268
|
+
body: BatchDeleteRoleMembersResponseBody,
|
|
274
269
|
};
|
|
275
270
|
}
|
|
276
271
|
|
|
@@ -279,7 +274,7 @@ export class GetFormComponentAliasListResponse extends $tea.Model {
|
|
|
279
274
|
}
|
|
280
275
|
}
|
|
281
276
|
|
|
282
|
-
export class
|
|
277
|
+
export class CreateOrUpdateFormDataHeaders extends $tea.Model {
|
|
283
278
|
commonHeaders?: { [key: string]: string };
|
|
284
279
|
xAcsDingtalkAccessToken?: string;
|
|
285
280
|
static names(): { [key: string]: string } {
|
|
@@ -301,25 +296,50 @@ export class GetFormDataByIDHeaders extends $tea.Model {
|
|
|
301
296
|
}
|
|
302
297
|
}
|
|
303
298
|
|
|
304
|
-
export class
|
|
299
|
+
export class CreateOrUpdateFormDataRequest extends $tea.Model {
|
|
305
300
|
/**
|
|
301
|
+
* @remarks
|
|
302
|
+
* This parameter is required.
|
|
303
|
+
*
|
|
306
304
|
* @example
|
|
307
|
-
*
|
|
305
|
+
* APP_XCE0EVXS6DYG3YDYC5RD
|
|
308
306
|
*/
|
|
309
307
|
appType?: string;
|
|
310
308
|
/**
|
|
309
|
+
* @remarks
|
|
310
|
+
* This parameter is required.
|
|
311
|
+
*
|
|
312
|
+
* @example
|
|
313
|
+
* {"countrySelectField_l0c1cwiu":[{"value":"US"}]}
|
|
314
|
+
*/
|
|
315
|
+
formDataJson?: string;
|
|
316
|
+
/**
|
|
317
|
+
* @remarks
|
|
318
|
+
* This parameter is required.
|
|
319
|
+
*
|
|
311
320
|
* @example
|
|
312
|
-
* FORM-
|
|
321
|
+
* FORM-GX866MC1NC1VOFF6WVQW33FD16E23L3CPMKVKA
|
|
313
322
|
*/
|
|
314
323
|
formUuid?: string;
|
|
315
324
|
/**
|
|
316
325
|
* @example
|
|
317
|
-
*
|
|
326
|
+
* false
|
|
318
327
|
*/
|
|
319
|
-
|
|
328
|
+
noExecuteExpression?: boolean;
|
|
329
|
+
/**
|
|
330
|
+
* @remarks
|
|
331
|
+
* This parameter is required.
|
|
332
|
+
*
|
|
333
|
+
* @example
|
|
334
|
+
* [{"key":"currentNodeName","value":"当前审批节点名称","type":"TEXT","operator":"like","componentName":"TextField"}]。详情参考 https://www.yuque.com/yida/support/agb8im#F4S8e
|
|
335
|
+
*/
|
|
336
|
+
searchCondition?: string;
|
|
320
337
|
/**
|
|
338
|
+
* @remarks
|
|
339
|
+
* This parameter is required.
|
|
340
|
+
*
|
|
321
341
|
* @example
|
|
322
|
-
*
|
|
342
|
+
* 09866181UTZVVD4R3DC955FNKIM52HVPU5WWK7
|
|
323
343
|
*/
|
|
324
344
|
systemToken?: string;
|
|
325
345
|
/**
|
|
@@ -327,12 +347,21 @@ export class GetFormDataByIDRequest extends $tea.Model {
|
|
|
327
347
|
* false
|
|
328
348
|
*/
|
|
329
349
|
useAlias?: boolean;
|
|
350
|
+
/**
|
|
351
|
+
* @remarks
|
|
352
|
+
* This parameter is required.
|
|
353
|
+
*
|
|
354
|
+
* @example
|
|
355
|
+
* ding173982232112232
|
|
356
|
+
*/
|
|
330
357
|
userId?: string;
|
|
331
358
|
static names(): { [key: string]: string } {
|
|
332
359
|
return {
|
|
333
360
|
appType: 'appType',
|
|
361
|
+
formDataJson: 'formDataJson',
|
|
334
362
|
formUuid: 'formUuid',
|
|
335
|
-
|
|
363
|
+
noExecuteExpression: 'noExecuteExpression',
|
|
364
|
+
searchCondition: 'searchCondition',
|
|
336
365
|
systemToken: 'systemToken',
|
|
337
366
|
useAlias: 'useAlias',
|
|
338
367
|
userId: 'userId',
|
|
@@ -342,8 +371,10 @@ export class GetFormDataByIDRequest extends $tea.Model {
|
|
|
342
371
|
static types(): { [key: string]: any } {
|
|
343
372
|
return {
|
|
344
373
|
appType: 'string',
|
|
374
|
+
formDataJson: 'string',
|
|
345
375
|
formUuid: 'string',
|
|
346
|
-
|
|
376
|
+
noExecuteExpression: 'boolean',
|
|
377
|
+
searchCondition: 'string',
|
|
347
378
|
systemToken: 'string',
|
|
348
379
|
useAlias: 'boolean',
|
|
349
380
|
userId: 'string',
|
|
@@ -355,38 +386,17 @@ export class GetFormDataByIDRequest extends $tea.Model {
|
|
|
355
386
|
}
|
|
356
387
|
}
|
|
357
388
|
|
|
358
|
-
export class
|
|
359
|
-
|
|
360
|
-
* @example
|
|
361
|
-
* { "numberField_jcr0069o": 1, "multiSelectField_jcr0069s": [ "选项三", "选项二" ], "textareaField_jcr0069n": "duohang", "employeeField_jcr0069x": [ "xxxx" ], "departmentField_jcr0069z": "xxxx", "cascadeDate_jcr0069u": [ "1514736000000", "1517328000000" ], "cascadeSelectField_jcr006a0": [ "part", "part_b" ], "tableField_jcr006a1": [ { "departmentField_jcr006ad": "xxxx", "cascadeDate_jcr006aa": [ "1514736000000", "1517328000000" ], "selectField_jcr006a6": "选项三", "citySelectField_jcr006ac": [ "天津", "天津市", "河东区" ], "radioField_jcr006a5": "选项二", "employeeField_jcr006ab": [ "xxxxxx", "yyyyyy" ], "dateField_jcr006a9": 1517328000000, "textField_jcr006a2": "明细下单行", "textareaField_jcr006a3": "明细下多行", "cascadeSelectField_jcr006ae": [ "product", "product_a" ], "numberField_jcr006a4": 2, "checkboxField_jcr006a7": [ "选项一", "选项三", "选项二" ], "multiSelectField_jcr006a8": [ "选项一", "选项三", "选项二" ] } ], "selectField_jcr0069q": "选项一", "citySelectField_jcr0069y": [ "北京", "北京市", "东城区" ], "checkboxField_jcr0069r": [ "选项三", "选项二" ], "textField_jcr0069m": "danhang", "radioField_jcr0069p": "选项一", "dateField_jcr0069t": 1516636800000 }
|
|
362
|
-
*/
|
|
363
|
-
formData?: { [key: string]: any };
|
|
364
|
-
/**
|
|
365
|
-
* @example
|
|
366
|
-
* 33f6d221-17f8-42b7-836a-682b95a046c2
|
|
367
|
-
*/
|
|
368
|
-
formInstId?: string;
|
|
369
|
-
/**
|
|
370
|
-
* @example
|
|
371
|
-
* 2018-01-24 11:22:01
|
|
372
|
-
*/
|
|
373
|
-
modifiedTimeGMT?: string;
|
|
374
|
-
originator?: GetFormDataByIDResponseBodyOriginator;
|
|
389
|
+
export class CreateOrUpdateFormDataResponseBody extends $tea.Model {
|
|
390
|
+
result?: string[];
|
|
375
391
|
static names(): { [key: string]: string } {
|
|
376
392
|
return {
|
|
377
|
-
|
|
378
|
-
formInstId: 'formInstId',
|
|
379
|
-
modifiedTimeGMT: 'modifiedTimeGMT',
|
|
380
|
-
originator: 'originator',
|
|
393
|
+
result: 'result',
|
|
381
394
|
};
|
|
382
395
|
}
|
|
383
396
|
|
|
384
397
|
static types(): { [key: string]: any } {
|
|
385
398
|
return {
|
|
386
|
-
|
|
387
|
-
formInstId: 'string',
|
|
388
|
-
modifiedTimeGMT: 'string',
|
|
389
|
-
originator: GetFormDataByIDResponseBodyOriginator,
|
|
399
|
+
result: { 'type': 'array', 'itemType': 'string' },
|
|
390
400
|
};
|
|
391
401
|
}
|
|
392
402
|
|
|
@@ -395,10 +405,10 @@ export class GetFormDataByIDResponseBody extends $tea.Model {
|
|
|
395
405
|
}
|
|
396
406
|
}
|
|
397
407
|
|
|
398
|
-
export class
|
|
408
|
+
export class CreateOrUpdateFormDataResponse extends $tea.Model {
|
|
399
409
|
headers?: { [key: string]: string };
|
|
400
410
|
statusCode?: number;
|
|
401
|
-
body?:
|
|
411
|
+
body?: CreateOrUpdateFormDataResponseBody;
|
|
402
412
|
static names(): { [key: string]: string } {
|
|
403
413
|
return {
|
|
404
414
|
headers: 'headers',
|
|
@@ -411,7 +421,7 @@ export class GetFormDataByIDResponse extends $tea.Model {
|
|
|
411
421
|
return {
|
|
412
422
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
413
423
|
statusCode: 'number',
|
|
414
|
-
body:
|
|
424
|
+
body: CreateOrUpdateFormDataResponseBody,
|
|
415
425
|
};
|
|
416
426
|
}
|
|
417
427
|
|
|
@@ -420,7 +430,7 @@ export class GetFormDataByIDResponse extends $tea.Model {
|
|
|
420
430
|
}
|
|
421
431
|
}
|
|
422
432
|
|
|
423
|
-
export class
|
|
433
|
+
export class DeleteMatrixDataByRowIdsHeaders extends $tea.Model {
|
|
424
434
|
commonHeaders?: { [key: string]: string };
|
|
425
435
|
xAcsDingtalkAccessToken?: string;
|
|
426
436
|
static names(): { [key: string]: string } {
|
|
@@ -442,64 +452,57 @@ export class GetInstanceByIdHeaders extends $tea.Model {
|
|
|
442
452
|
}
|
|
443
453
|
}
|
|
444
454
|
|
|
445
|
-
export class
|
|
455
|
+
export class DeleteMatrixDataByRowIdsRequest extends $tea.Model {
|
|
446
456
|
/**
|
|
447
457
|
* @remarks
|
|
448
458
|
* This parameter is required.
|
|
449
459
|
*
|
|
450
460
|
* @example
|
|
451
|
-
*
|
|
452
|
-
*/
|
|
453
|
-
appType?: string;
|
|
454
|
-
/**
|
|
455
|
-
* @example
|
|
456
|
-
* FORM-ADFC8E8E5ADE4B2F8FC2316CFC42A55CJLWZ
|
|
461
|
+
* dingxxxx
|
|
457
462
|
*/
|
|
458
|
-
|
|
463
|
+
corpId?: string;
|
|
459
464
|
/**
|
|
465
|
+
* @remarks
|
|
466
|
+
* This parameter is required.
|
|
467
|
+
*
|
|
460
468
|
* @example
|
|
461
|
-
*
|
|
469
|
+
* MATRIX-C8I4J40EM81XLWZH61ZK
|
|
462
470
|
*/
|
|
463
|
-
|
|
471
|
+
matrixId?: string;
|
|
464
472
|
/**
|
|
465
473
|
* @remarks
|
|
466
474
|
* This parameter is required.
|
|
467
|
-
*
|
|
468
|
-
* @example
|
|
469
|
-
* hexxyy
|
|
470
475
|
*/
|
|
471
|
-
|
|
476
|
+
rowIds?: string;
|
|
472
477
|
/**
|
|
473
|
-
* @
|
|
474
|
-
*
|
|
478
|
+
* @remarks
|
|
479
|
+
* This parameter is required.
|
|
475
480
|
*/
|
|
476
|
-
|
|
481
|
+
token?: string;
|
|
477
482
|
/**
|
|
478
483
|
* @remarks
|
|
479
484
|
* This parameter is required.
|
|
480
485
|
*
|
|
481
486
|
* @example
|
|
482
|
-
*
|
|
487
|
+
* 501453
|
|
483
488
|
*/
|
|
484
489
|
userId?: string;
|
|
485
490
|
static names(): { [key: string]: string } {
|
|
486
491
|
return {
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
useAlias: 'useAlias',
|
|
492
|
+
corpId: 'corpId',
|
|
493
|
+
matrixId: 'matrixId',
|
|
494
|
+
rowIds: 'rowIds',
|
|
495
|
+
token: 'token',
|
|
492
496
|
userId: 'userId',
|
|
493
497
|
};
|
|
494
498
|
}
|
|
495
499
|
|
|
496
500
|
static types(): { [key: string]: any } {
|
|
497
501
|
return {
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
useAlias: 'boolean',
|
|
502
|
+
corpId: 'string',
|
|
503
|
+
matrixId: 'string',
|
|
504
|
+
rowIds: 'string',
|
|
505
|
+
token: 'string',
|
|
503
506
|
userId: 'string',
|
|
504
507
|
};
|
|
505
508
|
}
|
|
@@ -509,50 +512,17 @@ export class GetInstanceByIdRequest extends $tea.Model {
|
|
|
509
512
|
}
|
|
510
513
|
}
|
|
511
514
|
|
|
512
|
-
export class
|
|
513
|
-
|
|
514
|
-
approvedResult?: string;
|
|
515
|
-
createTimeGMT?: string;
|
|
516
|
-
data?: { [key: string]: any };
|
|
517
|
-
formUuid?: string;
|
|
518
|
-
instanceStatus?: string;
|
|
519
|
-
modifiedTimeGMT?: string;
|
|
520
|
-
originator?: GetInstanceByIdResponseBodyOriginator;
|
|
521
|
-
processCode?: string;
|
|
522
|
-
processInstanceId?: string;
|
|
523
|
-
title?: string;
|
|
524
|
-
version?: number;
|
|
515
|
+
export class DeleteMatrixDataByRowIdsResponseBody extends $tea.Model {
|
|
516
|
+
success?: boolean;
|
|
525
517
|
static names(): { [key: string]: string } {
|
|
526
518
|
return {
|
|
527
|
-
|
|
528
|
-
approvedResult: 'approvedResult',
|
|
529
|
-
createTimeGMT: 'createTimeGMT',
|
|
530
|
-
data: 'data',
|
|
531
|
-
formUuid: 'formUuid',
|
|
532
|
-
instanceStatus: 'instanceStatus',
|
|
533
|
-
modifiedTimeGMT: 'modifiedTimeGMT',
|
|
534
|
-
originator: 'originator',
|
|
535
|
-
processCode: 'processCode',
|
|
536
|
-
processInstanceId: 'processInstanceId',
|
|
537
|
-
title: 'title',
|
|
538
|
-
version: 'version',
|
|
519
|
+
success: 'success',
|
|
539
520
|
};
|
|
540
521
|
}
|
|
541
522
|
|
|
542
523
|
static types(): { [key: string]: any } {
|
|
543
524
|
return {
|
|
544
|
-
|
|
545
|
-
approvedResult: 'string',
|
|
546
|
-
createTimeGMT: 'string',
|
|
547
|
-
data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
548
|
-
formUuid: 'string',
|
|
549
|
-
instanceStatus: 'string',
|
|
550
|
-
modifiedTimeGMT: 'string',
|
|
551
|
-
originator: GetInstanceByIdResponseBodyOriginator,
|
|
552
|
-
processCode: 'string',
|
|
553
|
-
processInstanceId: 'string',
|
|
554
|
-
title: 'string',
|
|
555
|
-
version: 'number',
|
|
525
|
+
success: 'boolean',
|
|
556
526
|
};
|
|
557
527
|
}
|
|
558
528
|
|
|
@@ -561,10 +531,10 @@ export class GetInstanceByIdResponseBody extends $tea.Model {
|
|
|
561
531
|
}
|
|
562
532
|
}
|
|
563
533
|
|
|
564
|
-
export class
|
|
534
|
+
export class DeleteMatrixDataByRowIdsResponse extends $tea.Model {
|
|
565
535
|
headers?: { [key: string]: string };
|
|
566
536
|
statusCode?: number;
|
|
567
|
-
body?:
|
|
537
|
+
body?: DeleteMatrixDataByRowIdsResponseBody;
|
|
568
538
|
static names(): { [key: string]: string } {
|
|
569
539
|
return {
|
|
570
540
|
headers: 'headers',
|
|
@@ -577,7 +547,7 @@ export class GetInstanceByIdResponse extends $tea.Model {
|
|
|
577
547
|
return {
|
|
578
548
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
579
549
|
statusCode: 'number',
|
|
580
|
-
body:
|
|
550
|
+
body: DeleteMatrixDataByRowIdsResponseBody,
|
|
581
551
|
};
|
|
582
552
|
}
|
|
583
553
|
|
|
@@ -586,7 +556,7 @@ export class GetInstanceByIdResponse extends $tea.Model {
|
|
|
586
556
|
}
|
|
587
557
|
}
|
|
588
558
|
|
|
589
|
-
export class
|
|
559
|
+
export class GetFormComponentAliasListHeaders extends $tea.Model {
|
|
590
560
|
commonHeaders?: { [key: string]: string };
|
|
591
561
|
xAcsDingtalkAccessToken?: string;
|
|
592
562
|
static names(): { [key: string]: string } {
|
|
@@ -608,68 +578,12 @@ export class GetInstanceIdListHeaders extends $tea.Model {
|
|
|
608
578
|
}
|
|
609
579
|
}
|
|
610
580
|
|
|
611
|
-
export class
|
|
612
|
-
/**
|
|
613
|
-
* @remarks
|
|
614
|
-
* This parameter is required.
|
|
615
|
-
*
|
|
616
|
-
* @example
|
|
617
|
-
* APP_PBKT0MFBEBTDO8T7SLVP
|
|
618
|
-
*/
|
|
619
|
-
appType?: string;
|
|
620
|
-
/**
|
|
621
|
-
* @example
|
|
622
|
-
* agree
|
|
623
|
-
*/
|
|
624
|
-
approvedResult?: string;
|
|
625
|
-
/**
|
|
626
|
-
* @example
|
|
627
|
-
* 2018-01-01
|
|
628
|
-
*/
|
|
629
|
-
createFromTimeGMT?: string;
|
|
630
|
-
/**
|
|
631
|
-
* @example
|
|
632
|
-
* 2018-02-01
|
|
633
|
-
*/
|
|
634
|
-
createToTimeGMT?: string;
|
|
635
|
-
/**
|
|
636
|
-
* @remarks
|
|
637
|
-
* This parameter is required.
|
|
638
|
-
*
|
|
639
|
-
* @example
|
|
640
|
-
* FORM-EF6Y4G8WO2FN0SUB43TDQ3CGC3FMFQ1G9400RCJ3
|
|
641
|
-
*/
|
|
642
|
-
formUuid?: string;
|
|
643
|
-
/**
|
|
644
|
-
* @example
|
|
645
|
-
* RUNNING
|
|
646
|
-
*/
|
|
647
|
-
instanceStatus?: string;
|
|
581
|
+
export class GetFormComponentAliasListRequest extends $tea.Model {
|
|
648
582
|
/**
|
|
649
583
|
* @example
|
|
650
584
|
* zh_CN
|
|
651
585
|
*/
|
|
652
586
|
language?: string;
|
|
653
|
-
/**
|
|
654
|
-
* @example
|
|
655
|
-
* 2018-01-01
|
|
656
|
-
*/
|
|
657
|
-
modifiedFromTimeGMT?: string;
|
|
658
|
-
/**
|
|
659
|
-
* @example
|
|
660
|
-
* 2018-02-01
|
|
661
|
-
*/
|
|
662
|
-
modifiedToTimeGMT?: string;
|
|
663
|
-
/**
|
|
664
|
-
* @example
|
|
665
|
-
* ding123
|
|
666
|
-
*/
|
|
667
|
-
originatorId?: string;
|
|
668
|
-
/**
|
|
669
|
-
* @example
|
|
670
|
-
* {"text_field":"123"}
|
|
671
|
-
*/
|
|
672
|
-
searchFieldJson?: string;
|
|
673
587
|
/**
|
|
674
588
|
* @remarks
|
|
675
589
|
* This parameter is required.
|
|
@@ -678,67 +592,34 @@ export class GetInstanceIdListRequest extends $tea.Model {
|
|
|
678
592
|
* hexxxx
|
|
679
593
|
*/
|
|
680
594
|
systemToken?: string;
|
|
681
|
-
/**
|
|
682
|
-
* @example
|
|
683
|
-
* 2199132092
|
|
684
|
-
*/
|
|
685
|
-
taskId?: string;
|
|
686
|
-
/**
|
|
687
|
-
* @example
|
|
688
|
-
* false
|
|
689
|
-
*/
|
|
690
|
-
useAlias?: boolean;
|
|
691
595
|
/**
|
|
692
596
|
* @remarks
|
|
693
597
|
* This parameter is required.
|
|
694
598
|
*
|
|
695
599
|
* @example
|
|
696
|
-
*
|
|
600
|
+
* 未知
|
|
697
601
|
*/
|
|
698
602
|
userId?: string;
|
|
699
|
-
|
|
700
|
-
|
|
603
|
+
/**
|
|
604
|
+
* @example
|
|
605
|
+
* 1
|
|
606
|
+
*/
|
|
607
|
+
version?: number;
|
|
701
608
|
static names(): { [key: string]: string } {
|
|
702
609
|
return {
|
|
703
|
-
appType: 'appType',
|
|
704
|
-
approvedResult: 'approvedResult',
|
|
705
|
-
createFromTimeGMT: 'createFromTimeGMT',
|
|
706
|
-
createToTimeGMT: 'createToTimeGMT',
|
|
707
|
-
formUuid: 'formUuid',
|
|
708
|
-
instanceStatus: 'instanceStatus',
|
|
709
610
|
language: 'language',
|
|
710
|
-
modifiedFromTimeGMT: 'modifiedFromTimeGMT',
|
|
711
|
-
modifiedToTimeGMT: 'modifiedToTimeGMT',
|
|
712
|
-
originatorId: 'originatorId',
|
|
713
|
-
searchFieldJson: 'searchFieldJson',
|
|
714
611
|
systemToken: 'systemToken',
|
|
715
|
-
taskId: 'taskId',
|
|
716
|
-
useAlias: 'useAlias',
|
|
717
612
|
userId: 'userId',
|
|
718
|
-
|
|
719
|
-
pageSize: 'pageSize',
|
|
613
|
+
version: 'version',
|
|
720
614
|
};
|
|
721
615
|
}
|
|
722
616
|
|
|
723
617
|
static types(): { [key: string]: any } {
|
|
724
618
|
return {
|
|
725
|
-
appType: 'string',
|
|
726
|
-
approvedResult: 'string',
|
|
727
|
-
createFromTimeGMT: 'string',
|
|
728
|
-
createToTimeGMT: 'string',
|
|
729
|
-
formUuid: 'string',
|
|
730
|
-
instanceStatus: 'string',
|
|
731
619
|
language: 'string',
|
|
732
|
-
modifiedFromTimeGMT: 'string',
|
|
733
|
-
modifiedToTimeGMT: 'string',
|
|
734
|
-
originatorId: 'string',
|
|
735
|
-
searchFieldJson: 'string',
|
|
736
620
|
systemToken: 'string',
|
|
737
|
-
taskId: 'string',
|
|
738
|
-
useAlias: 'boolean',
|
|
739
621
|
userId: 'string',
|
|
740
|
-
|
|
741
|
-
pageSize: 'number',
|
|
622
|
+
version: 'number',
|
|
742
623
|
};
|
|
743
624
|
}
|
|
744
625
|
|
|
@@ -747,31 +628,17 @@ export class GetInstanceIdListRequest extends $tea.Model {
|
|
|
747
628
|
}
|
|
748
629
|
}
|
|
749
630
|
|
|
750
|
-
export class
|
|
751
|
-
|
|
752
|
-
/**
|
|
753
|
-
* @example
|
|
754
|
-
* 1
|
|
755
|
-
*/
|
|
756
|
-
pageNumber?: number;
|
|
757
|
-
/**
|
|
758
|
-
* @example
|
|
759
|
-
* 100
|
|
760
|
-
*/
|
|
761
|
-
totalCount?: number;
|
|
631
|
+
export class GetFormComponentAliasListResponseBody extends $tea.Model {
|
|
632
|
+
result?: GetFormComponentAliasListResponseBodyResult[];
|
|
762
633
|
static names(): { [key: string]: string } {
|
|
763
634
|
return {
|
|
764
|
-
|
|
765
|
-
pageNumber: 'pageNumber',
|
|
766
|
-
totalCount: 'totalCount',
|
|
635
|
+
result: 'result',
|
|
767
636
|
};
|
|
768
637
|
}
|
|
769
638
|
|
|
770
639
|
static types(): { [key: string]: any } {
|
|
771
640
|
return {
|
|
772
|
-
|
|
773
|
-
pageNumber: 'number',
|
|
774
|
-
totalCount: 'number',
|
|
641
|
+
result: { 'type': 'array', 'itemType': GetFormComponentAliasListResponseBodyResult },
|
|
775
642
|
};
|
|
776
643
|
}
|
|
777
644
|
|
|
@@ -780,10 +647,10 @@ export class GetInstanceIdListResponseBody extends $tea.Model {
|
|
|
780
647
|
}
|
|
781
648
|
}
|
|
782
649
|
|
|
783
|
-
export class
|
|
650
|
+
export class GetFormComponentAliasListResponse extends $tea.Model {
|
|
784
651
|
headers?: { [key: string]: string };
|
|
785
652
|
statusCode?: number;
|
|
786
|
-
body?:
|
|
653
|
+
body?: GetFormComponentAliasListResponseBody;
|
|
787
654
|
static names(): { [key: string]: string } {
|
|
788
655
|
return {
|
|
789
656
|
headers: 'headers',
|
|
@@ -796,7 +663,7 @@ export class GetInstanceIdListResponse extends $tea.Model {
|
|
|
796
663
|
return {
|
|
797
664
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
798
665
|
statusCode: 'number',
|
|
799
|
-
body:
|
|
666
|
+
body: GetFormComponentAliasListResponseBody,
|
|
800
667
|
};
|
|
801
668
|
}
|
|
802
669
|
|
|
@@ -805,7 +672,7 @@ export class GetInstanceIdListResponse extends $tea.Model {
|
|
|
805
672
|
}
|
|
806
673
|
}
|
|
807
674
|
|
|
808
|
-
export class
|
|
675
|
+
export class GetFormDataByIDHeaders extends $tea.Model {
|
|
809
676
|
commonHeaders?: { [key: string]: string };
|
|
810
677
|
xAcsDingtalkAccessToken?: string;
|
|
811
678
|
static names(): { [key: string]: string } {
|
|
@@ -827,149 +694,52 @@ export class GetInstancesHeaders extends $tea.Model {
|
|
|
827
694
|
}
|
|
828
695
|
}
|
|
829
696
|
|
|
830
|
-
export class
|
|
697
|
+
export class GetFormDataByIDRequest extends $tea.Model {
|
|
831
698
|
/**
|
|
832
|
-
* @remarks
|
|
833
|
-
* This parameter is required.
|
|
834
|
-
*
|
|
835
699
|
* @example
|
|
836
700
|
* APP_PBKT0MFBEBTDO8T7SLVP
|
|
837
701
|
*/
|
|
838
702
|
appType?: string;
|
|
839
703
|
/**
|
|
840
704
|
* @example
|
|
841
|
-
*
|
|
842
|
-
*/
|
|
843
|
-
approvedResult?: string;
|
|
844
|
-
/**
|
|
845
|
-
* @example
|
|
846
|
-
* 2018-01-01
|
|
847
|
-
*/
|
|
848
|
-
createFromTimeGMT?: string;
|
|
849
|
-
/**
|
|
850
|
-
* @example
|
|
851
|
-
* 2018-02-01
|
|
852
|
-
*/
|
|
853
|
-
createToTimeGMT?: string;
|
|
854
|
-
/**
|
|
855
|
-
* @remarks
|
|
856
|
-
* This parameter is required.
|
|
857
|
-
*
|
|
858
|
-
* @example
|
|
859
|
-
* FORM-EF6Y4G8WO2FN0SUB43TDQ3CGC3FMFQ1G9400RCJ3
|
|
705
|
+
* FORM-AA28579F69644FC19A47FE267457E664ZVR1
|
|
860
706
|
*/
|
|
861
707
|
formUuid?: string;
|
|
862
|
-
/**
|
|
863
|
-
* @example
|
|
864
|
-
* RUNNING
|
|
865
|
-
*/
|
|
866
|
-
instanceStatus?: string;
|
|
867
708
|
/**
|
|
868
709
|
* @example
|
|
869
710
|
* zh_CN
|
|
870
711
|
*/
|
|
871
712
|
language?: string;
|
|
872
713
|
/**
|
|
873
|
-
* @example
|
|
874
|
-
* 2018-01-01
|
|
875
|
-
*/
|
|
876
|
-
modifiedFromTimeGMT?: string;
|
|
877
|
-
/**
|
|
878
|
-
* @example
|
|
879
|
-
* 2018-02-01
|
|
880
|
-
*/
|
|
881
|
-
modifiedToTimeGMT?: string;
|
|
882
|
-
/**
|
|
883
|
-
* @example
|
|
884
|
-
* 例如按照创建时间升序再按照文本组件值升序排序则填{\"gmt_create\":\"+\",\"textField_1234\":\"+\"} ,详情参考 https://www.yuque.com/yida/support/agb8im#CQro8
|
|
885
|
-
*/
|
|
886
|
-
orderConfigJson?: string;
|
|
887
|
-
/**
|
|
888
|
-
* @example
|
|
889
|
-
* manager123
|
|
890
|
-
*/
|
|
891
|
-
originatorId?: string;
|
|
892
|
-
/**
|
|
893
|
-
* @example
|
|
894
|
-
* 模式1:根据组件值模糊匹配,示例:{"textField_jcr0069m":"danhang","selectField_jcr0069q":"K"} 模式2: 采用数据管理的查询过滤条件,匹配功能更强大,示例:[{"key":"currentNodeName","value":"步凡","type":"TEXT","operator":"like","componentName":"TextField”}],详情参考 https://www.yuque.com/yida/support/agb8im#F4S8e
|
|
895
|
-
*/
|
|
896
|
-
searchFieldJson?: string;
|
|
897
|
-
/**
|
|
898
|
-
* @remarks
|
|
899
|
-
* This parameter is required.
|
|
900
|
-
*
|
|
901
714
|
* @example
|
|
902
715
|
* hexxx
|
|
903
716
|
*/
|
|
904
717
|
systemToken?: string;
|
|
905
|
-
/**
|
|
906
|
-
* @example
|
|
907
|
-
* 2199132092
|
|
908
|
-
*/
|
|
909
|
-
taskId?: string;
|
|
910
718
|
/**
|
|
911
719
|
* @example
|
|
912
720
|
* false
|
|
913
721
|
*/
|
|
914
722
|
useAlias?: boolean;
|
|
915
|
-
/**
|
|
916
|
-
* @remarks
|
|
917
|
-
* This parameter is required.
|
|
918
|
-
*/
|
|
919
723
|
userId?: string;
|
|
920
|
-
/**
|
|
921
|
-
* @example
|
|
922
|
-
* 1
|
|
923
|
-
*/
|
|
924
|
-
pageNumber?: number;
|
|
925
|
-
/**
|
|
926
|
-
* @example
|
|
927
|
-
* 100
|
|
928
|
-
*/
|
|
929
|
-
pageSize?: number;
|
|
930
724
|
static names(): { [key: string]: string } {
|
|
931
725
|
return {
|
|
932
726
|
appType: 'appType',
|
|
933
|
-
approvedResult: 'approvedResult',
|
|
934
|
-
createFromTimeGMT: 'createFromTimeGMT',
|
|
935
|
-
createToTimeGMT: 'createToTimeGMT',
|
|
936
727
|
formUuid: 'formUuid',
|
|
937
|
-
instanceStatus: 'instanceStatus',
|
|
938
728
|
language: 'language',
|
|
939
|
-
modifiedFromTimeGMT: 'modifiedFromTimeGMT',
|
|
940
|
-
modifiedToTimeGMT: 'modifiedToTimeGMT',
|
|
941
|
-
orderConfigJson: 'orderConfigJson',
|
|
942
|
-
originatorId: 'originatorId',
|
|
943
|
-
searchFieldJson: 'searchFieldJson',
|
|
944
729
|
systemToken: 'systemToken',
|
|
945
|
-
taskId: 'taskId',
|
|
946
730
|
useAlias: 'useAlias',
|
|
947
731
|
userId: 'userId',
|
|
948
|
-
pageNumber: 'pageNumber',
|
|
949
|
-
pageSize: 'pageSize',
|
|
950
732
|
};
|
|
951
733
|
}
|
|
952
734
|
|
|
953
735
|
static types(): { [key: string]: any } {
|
|
954
736
|
return {
|
|
955
737
|
appType: 'string',
|
|
956
|
-
approvedResult: 'string',
|
|
957
|
-
createFromTimeGMT: 'string',
|
|
958
|
-
createToTimeGMT: 'string',
|
|
959
738
|
formUuid: 'string',
|
|
960
|
-
instanceStatus: 'string',
|
|
961
739
|
language: 'string',
|
|
962
|
-
modifiedFromTimeGMT: 'string',
|
|
963
|
-
modifiedToTimeGMT: 'string',
|
|
964
|
-
orderConfigJson: 'string',
|
|
965
|
-
originatorId: 'string',
|
|
966
|
-
searchFieldJson: 'string',
|
|
967
740
|
systemToken: 'string',
|
|
968
|
-
taskId: 'string',
|
|
969
741
|
useAlias: 'boolean',
|
|
970
742
|
userId: 'string',
|
|
971
|
-
pageNumber: 'number',
|
|
972
|
-
pageSize: 'number',
|
|
973
743
|
};
|
|
974
744
|
}
|
|
975
745
|
|
|
@@ -978,31 +748,1055 @@ export class GetInstancesRequest extends $tea.Model {
|
|
|
978
748
|
}
|
|
979
749
|
}
|
|
980
750
|
|
|
981
|
-
export class
|
|
982
|
-
data?: GetInstancesResponseBodyData[];
|
|
751
|
+
export class GetFormDataByIDResponseBody extends $tea.Model {
|
|
983
752
|
/**
|
|
984
753
|
* @example
|
|
985
|
-
* 1
|
|
754
|
+
* { "numberField_jcr0069o": 1, "multiSelectField_jcr0069s": [ "选项三", "选项二" ], "textareaField_jcr0069n": "duohang", "employeeField_jcr0069x": [ "xxxx" ], "departmentField_jcr0069z": "xxxx", "cascadeDate_jcr0069u": [ "1514736000000", "1517328000000" ], "cascadeSelectField_jcr006a0": [ "part", "part_b" ], "tableField_jcr006a1": [ { "departmentField_jcr006ad": "xxxx", "cascadeDate_jcr006aa": [ "1514736000000", "1517328000000" ], "selectField_jcr006a6": "选项三", "citySelectField_jcr006ac": [ "天津", "天津市", "河东区" ], "radioField_jcr006a5": "选项二", "employeeField_jcr006ab": [ "xxxxxx", "yyyyyy" ], "dateField_jcr006a9": 1517328000000, "textField_jcr006a2": "明细下单行", "textareaField_jcr006a3": "明细下多行", "cascadeSelectField_jcr006ae": [ "product", "product_a" ], "numberField_jcr006a4": 2, "checkboxField_jcr006a7": [ "选项一", "选项三", "选项二" ], "multiSelectField_jcr006a8": [ "选项一", "选项三", "选项二" ] } ], "selectField_jcr0069q": "选项一", "citySelectField_jcr0069y": [ "北京", "北京市", "东城区" ], "checkboxField_jcr0069r": [ "选项三", "选项二" ], "textField_jcr0069m": "danhang", "radioField_jcr0069p": "选项一", "dateField_jcr0069t": 1516636800000 }
|
|
986
755
|
*/
|
|
987
|
-
|
|
756
|
+
formData?: { [key: string]: any };
|
|
988
757
|
/**
|
|
989
758
|
* @example
|
|
990
|
-
*
|
|
759
|
+
* 33f6d221-17f8-42b7-836a-682b95a046c2
|
|
760
|
+
*/
|
|
761
|
+
formInstId?: string;
|
|
762
|
+
/**
|
|
763
|
+
* @example
|
|
764
|
+
* 2018-01-24 11:22:01
|
|
765
|
+
*/
|
|
766
|
+
modifiedTimeGMT?: string;
|
|
767
|
+
originator?: GetFormDataByIDResponseBodyOriginator;
|
|
768
|
+
static names(): { [key: string]: string } {
|
|
769
|
+
return {
|
|
770
|
+
formData: 'formData',
|
|
771
|
+
formInstId: 'formInstId',
|
|
772
|
+
modifiedTimeGMT: 'modifiedTimeGMT',
|
|
773
|
+
originator: 'originator',
|
|
774
|
+
};
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
static types(): { [key: string]: any } {
|
|
778
|
+
return {
|
|
779
|
+
formData: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
780
|
+
formInstId: 'string',
|
|
781
|
+
modifiedTimeGMT: 'string',
|
|
782
|
+
originator: GetFormDataByIDResponseBodyOriginator,
|
|
783
|
+
};
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
constructor(map?: { [key: string]: any }) {
|
|
787
|
+
super(map);
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
export class GetFormDataByIDResponse extends $tea.Model {
|
|
792
|
+
headers?: { [key: string]: string };
|
|
793
|
+
statusCode?: number;
|
|
794
|
+
body?: GetFormDataByIDResponseBody;
|
|
795
|
+
static names(): { [key: string]: string } {
|
|
796
|
+
return {
|
|
797
|
+
headers: 'headers',
|
|
798
|
+
statusCode: 'statusCode',
|
|
799
|
+
body: 'body',
|
|
800
|
+
};
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
static types(): { [key: string]: any } {
|
|
804
|
+
return {
|
|
805
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
806
|
+
statusCode: 'number',
|
|
807
|
+
body: GetFormDataByIDResponseBody,
|
|
808
|
+
};
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
constructor(map?: { [key: string]: any }) {
|
|
812
|
+
super(map);
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
export class GetInstanceByIdHeaders extends $tea.Model {
|
|
817
|
+
commonHeaders?: { [key: string]: string };
|
|
818
|
+
xAcsDingtalkAccessToken?: string;
|
|
819
|
+
static names(): { [key: string]: string } {
|
|
820
|
+
return {
|
|
821
|
+
commonHeaders: 'commonHeaders',
|
|
822
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
823
|
+
};
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
static types(): { [key: string]: any } {
|
|
827
|
+
return {
|
|
828
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
829
|
+
xAcsDingtalkAccessToken: 'string',
|
|
830
|
+
};
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
constructor(map?: { [key: string]: any }) {
|
|
834
|
+
super(map);
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
export class GetInstanceByIdRequest extends $tea.Model {
|
|
839
|
+
/**
|
|
840
|
+
* @remarks
|
|
841
|
+
* This parameter is required.
|
|
842
|
+
*
|
|
843
|
+
* @example
|
|
844
|
+
* APP_PBKT0MFBEBTDO8T7SLVP
|
|
845
|
+
*/
|
|
846
|
+
appType?: string;
|
|
847
|
+
/**
|
|
848
|
+
* @example
|
|
849
|
+
* FORM-ADFC8E8E5ADE4B2F8FC2316CFC42A55CJLWZ
|
|
850
|
+
*/
|
|
851
|
+
formUuid?: string;
|
|
852
|
+
/**
|
|
853
|
+
* @example
|
|
854
|
+
* zh_CN
|
|
855
|
+
*/
|
|
856
|
+
language?: string;
|
|
857
|
+
/**
|
|
858
|
+
* @remarks
|
|
859
|
+
* This parameter is required.
|
|
860
|
+
*
|
|
861
|
+
* @example
|
|
862
|
+
* hexxyy
|
|
863
|
+
*/
|
|
864
|
+
systemToken?: string;
|
|
865
|
+
/**
|
|
866
|
+
* @example
|
|
867
|
+
* false
|
|
868
|
+
*/
|
|
869
|
+
useAlias?: boolean;
|
|
870
|
+
/**
|
|
871
|
+
* @remarks
|
|
872
|
+
* This parameter is required.
|
|
873
|
+
*
|
|
874
|
+
* @example
|
|
875
|
+
* 未知
|
|
876
|
+
*/
|
|
877
|
+
userId?: string;
|
|
878
|
+
static names(): { [key: string]: string } {
|
|
879
|
+
return {
|
|
880
|
+
appType: 'appType',
|
|
881
|
+
formUuid: 'formUuid',
|
|
882
|
+
language: 'language',
|
|
883
|
+
systemToken: 'systemToken',
|
|
884
|
+
useAlias: 'useAlias',
|
|
885
|
+
userId: 'userId',
|
|
886
|
+
};
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
static types(): { [key: string]: any } {
|
|
890
|
+
return {
|
|
891
|
+
appType: 'string',
|
|
892
|
+
formUuid: 'string',
|
|
893
|
+
language: 'string',
|
|
894
|
+
systemToken: 'string',
|
|
895
|
+
useAlias: 'boolean',
|
|
896
|
+
userId: 'string',
|
|
897
|
+
};
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
constructor(map?: { [key: string]: any }) {
|
|
901
|
+
super(map);
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
export class GetInstanceByIdResponseBody extends $tea.Model {
|
|
906
|
+
actionExecutor?: GetInstanceByIdResponseBodyActionExecutor[];
|
|
907
|
+
approvedResult?: string;
|
|
908
|
+
createTimeGMT?: string;
|
|
909
|
+
data?: { [key: string]: any };
|
|
910
|
+
formUuid?: string;
|
|
911
|
+
instanceStatus?: string;
|
|
912
|
+
modifiedTimeGMT?: string;
|
|
913
|
+
originator?: GetInstanceByIdResponseBodyOriginator;
|
|
914
|
+
processCode?: string;
|
|
915
|
+
processInstanceId?: string;
|
|
916
|
+
title?: string;
|
|
917
|
+
version?: number;
|
|
918
|
+
static names(): { [key: string]: string } {
|
|
919
|
+
return {
|
|
920
|
+
actionExecutor: 'actionExecutor',
|
|
921
|
+
approvedResult: 'approvedResult',
|
|
922
|
+
createTimeGMT: 'createTimeGMT',
|
|
923
|
+
data: 'data',
|
|
924
|
+
formUuid: 'formUuid',
|
|
925
|
+
instanceStatus: 'instanceStatus',
|
|
926
|
+
modifiedTimeGMT: 'modifiedTimeGMT',
|
|
927
|
+
originator: 'originator',
|
|
928
|
+
processCode: 'processCode',
|
|
929
|
+
processInstanceId: 'processInstanceId',
|
|
930
|
+
title: 'title',
|
|
931
|
+
version: 'version',
|
|
932
|
+
};
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
static types(): { [key: string]: any } {
|
|
936
|
+
return {
|
|
937
|
+
actionExecutor: { 'type': 'array', 'itemType': GetInstanceByIdResponseBodyActionExecutor },
|
|
938
|
+
approvedResult: 'string',
|
|
939
|
+
createTimeGMT: 'string',
|
|
940
|
+
data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
941
|
+
formUuid: 'string',
|
|
942
|
+
instanceStatus: 'string',
|
|
943
|
+
modifiedTimeGMT: 'string',
|
|
944
|
+
originator: GetInstanceByIdResponseBodyOriginator,
|
|
945
|
+
processCode: 'string',
|
|
946
|
+
processInstanceId: 'string',
|
|
947
|
+
title: 'string',
|
|
948
|
+
version: 'number',
|
|
949
|
+
};
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
constructor(map?: { [key: string]: any }) {
|
|
953
|
+
super(map);
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
export class GetInstanceByIdResponse extends $tea.Model {
|
|
958
|
+
headers?: { [key: string]: string };
|
|
959
|
+
statusCode?: number;
|
|
960
|
+
body?: GetInstanceByIdResponseBody;
|
|
961
|
+
static names(): { [key: string]: string } {
|
|
962
|
+
return {
|
|
963
|
+
headers: 'headers',
|
|
964
|
+
statusCode: 'statusCode',
|
|
965
|
+
body: 'body',
|
|
966
|
+
};
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
static types(): { [key: string]: any } {
|
|
970
|
+
return {
|
|
971
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
972
|
+
statusCode: 'number',
|
|
973
|
+
body: GetInstanceByIdResponseBody,
|
|
974
|
+
};
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
constructor(map?: { [key: string]: any }) {
|
|
978
|
+
super(map);
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
export class GetInstanceIdListHeaders extends $tea.Model {
|
|
983
|
+
commonHeaders?: { [key: string]: string };
|
|
984
|
+
xAcsDingtalkAccessToken?: string;
|
|
985
|
+
static names(): { [key: string]: string } {
|
|
986
|
+
return {
|
|
987
|
+
commonHeaders: 'commonHeaders',
|
|
988
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
989
|
+
};
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
static types(): { [key: string]: any } {
|
|
993
|
+
return {
|
|
994
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
995
|
+
xAcsDingtalkAccessToken: 'string',
|
|
996
|
+
};
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
constructor(map?: { [key: string]: any }) {
|
|
1000
|
+
super(map);
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
export class GetInstanceIdListRequest extends $tea.Model {
|
|
1005
|
+
/**
|
|
1006
|
+
* @remarks
|
|
1007
|
+
* This parameter is required.
|
|
1008
|
+
*
|
|
1009
|
+
* @example
|
|
1010
|
+
* APP_PBKT0MFBEBTDO8T7SLVP
|
|
1011
|
+
*/
|
|
1012
|
+
appType?: string;
|
|
1013
|
+
/**
|
|
1014
|
+
* @example
|
|
1015
|
+
* agree
|
|
1016
|
+
*/
|
|
1017
|
+
approvedResult?: string;
|
|
1018
|
+
/**
|
|
1019
|
+
* @example
|
|
1020
|
+
* 2018-01-01
|
|
1021
|
+
*/
|
|
1022
|
+
createFromTimeGMT?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* @example
|
|
1025
|
+
* 2018-02-01
|
|
1026
|
+
*/
|
|
1027
|
+
createToTimeGMT?: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* @remarks
|
|
1030
|
+
* This parameter is required.
|
|
1031
|
+
*
|
|
1032
|
+
* @example
|
|
1033
|
+
* FORM-EF6Y4G8WO2FN0SUB43TDQ3CGC3FMFQ1G9400RCJ3
|
|
1034
|
+
*/
|
|
1035
|
+
formUuid?: string;
|
|
1036
|
+
/**
|
|
1037
|
+
* @example
|
|
1038
|
+
* RUNNING
|
|
1039
|
+
*/
|
|
1040
|
+
instanceStatus?: string;
|
|
1041
|
+
/**
|
|
1042
|
+
* @example
|
|
1043
|
+
* zh_CN
|
|
1044
|
+
*/
|
|
1045
|
+
language?: string;
|
|
1046
|
+
/**
|
|
1047
|
+
* @example
|
|
1048
|
+
* 2018-01-01
|
|
1049
|
+
*/
|
|
1050
|
+
modifiedFromTimeGMT?: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* @example
|
|
1053
|
+
* 2018-02-01
|
|
1054
|
+
*/
|
|
1055
|
+
modifiedToTimeGMT?: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* @example
|
|
1058
|
+
* ding123
|
|
1059
|
+
*/
|
|
1060
|
+
originatorId?: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* @example
|
|
1063
|
+
* {"text_field":"123"}
|
|
1064
|
+
*/
|
|
1065
|
+
searchFieldJson?: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* @remarks
|
|
1068
|
+
* This parameter is required.
|
|
1069
|
+
*
|
|
1070
|
+
* @example
|
|
1071
|
+
* hexxxx
|
|
1072
|
+
*/
|
|
1073
|
+
systemToken?: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* @example
|
|
1076
|
+
* 2199132092
|
|
1077
|
+
*/
|
|
1078
|
+
taskId?: string;
|
|
1079
|
+
/**
|
|
1080
|
+
* @example
|
|
1081
|
+
* false
|
|
1082
|
+
*/
|
|
1083
|
+
useAlias?: boolean;
|
|
1084
|
+
/**
|
|
1085
|
+
* @remarks
|
|
1086
|
+
* This parameter is required.
|
|
1087
|
+
*
|
|
1088
|
+
* @example
|
|
1089
|
+
* ding123
|
|
1090
|
+
*/
|
|
1091
|
+
userId?: string;
|
|
1092
|
+
pageNumber?: number;
|
|
1093
|
+
pageSize?: number;
|
|
1094
|
+
static names(): { [key: string]: string } {
|
|
1095
|
+
return {
|
|
1096
|
+
appType: 'appType',
|
|
1097
|
+
approvedResult: 'approvedResult',
|
|
1098
|
+
createFromTimeGMT: 'createFromTimeGMT',
|
|
1099
|
+
createToTimeGMT: 'createToTimeGMT',
|
|
1100
|
+
formUuid: 'formUuid',
|
|
1101
|
+
instanceStatus: 'instanceStatus',
|
|
1102
|
+
language: 'language',
|
|
1103
|
+
modifiedFromTimeGMT: 'modifiedFromTimeGMT',
|
|
1104
|
+
modifiedToTimeGMT: 'modifiedToTimeGMT',
|
|
1105
|
+
originatorId: 'originatorId',
|
|
1106
|
+
searchFieldJson: 'searchFieldJson',
|
|
1107
|
+
systemToken: 'systemToken',
|
|
1108
|
+
taskId: 'taskId',
|
|
1109
|
+
useAlias: 'useAlias',
|
|
1110
|
+
userId: 'userId',
|
|
1111
|
+
pageNumber: 'pageNumber',
|
|
1112
|
+
pageSize: 'pageSize',
|
|
1113
|
+
};
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
static types(): { [key: string]: any } {
|
|
1117
|
+
return {
|
|
1118
|
+
appType: 'string',
|
|
1119
|
+
approvedResult: 'string',
|
|
1120
|
+
createFromTimeGMT: 'string',
|
|
1121
|
+
createToTimeGMT: 'string',
|
|
1122
|
+
formUuid: 'string',
|
|
1123
|
+
instanceStatus: 'string',
|
|
1124
|
+
language: 'string',
|
|
1125
|
+
modifiedFromTimeGMT: 'string',
|
|
1126
|
+
modifiedToTimeGMT: 'string',
|
|
1127
|
+
originatorId: 'string',
|
|
1128
|
+
searchFieldJson: 'string',
|
|
1129
|
+
systemToken: 'string',
|
|
1130
|
+
taskId: 'string',
|
|
1131
|
+
useAlias: 'boolean',
|
|
1132
|
+
userId: 'string',
|
|
1133
|
+
pageNumber: 'number',
|
|
1134
|
+
pageSize: 'number',
|
|
1135
|
+
};
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
constructor(map?: { [key: string]: any }) {
|
|
1139
|
+
super(map);
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
export class GetInstanceIdListResponseBody extends $tea.Model {
|
|
1144
|
+
data?: string[];
|
|
1145
|
+
/**
|
|
1146
|
+
* @example
|
|
1147
|
+
* 1
|
|
1148
|
+
*/
|
|
1149
|
+
pageNumber?: number;
|
|
1150
|
+
/**
|
|
1151
|
+
* @example
|
|
1152
|
+
* 100
|
|
1153
|
+
*/
|
|
1154
|
+
totalCount?: number;
|
|
1155
|
+
static names(): { [key: string]: string } {
|
|
1156
|
+
return {
|
|
1157
|
+
data: 'data',
|
|
1158
|
+
pageNumber: 'pageNumber',
|
|
1159
|
+
totalCount: 'totalCount',
|
|
1160
|
+
};
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
static types(): { [key: string]: any } {
|
|
1164
|
+
return {
|
|
1165
|
+
data: { 'type': 'array', 'itemType': 'string' },
|
|
1166
|
+
pageNumber: 'number',
|
|
1167
|
+
totalCount: 'number',
|
|
1168
|
+
};
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
constructor(map?: { [key: string]: any }) {
|
|
1172
|
+
super(map);
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
export class GetInstanceIdListResponse extends $tea.Model {
|
|
1177
|
+
headers?: { [key: string]: string };
|
|
1178
|
+
statusCode?: number;
|
|
1179
|
+
body?: GetInstanceIdListResponseBody;
|
|
1180
|
+
static names(): { [key: string]: string } {
|
|
1181
|
+
return {
|
|
1182
|
+
headers: 'headers',
|
|
1183
|
+
statusCode: 'statusCode',
|
|
1184
|
+
body: 'body',
|
|
1185
|
+
};
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
static types(): { [key: string]: any } {
|
|
1189
|
+
return {
|
|
1190
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1191
|
+
statusCode: 'number',
|
|
1192
|
+
body: GetInstanceIdListResponseBody,
|
|
1193
|
+
};
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
constructor(map?: { [key: string]: any }) {
|
|
1197
|
+
super(map);
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
export class GetInstancesHeaders extends $tea.Model {
|
|
1202
|
+
commonHeaders?: { [key: string]: string };
|
|
1203
|
+
xAcsDingtalkAccessToken?: string;
|
|
1204
|
+
static names(): { [key: string]: string } {
|
|
1205
|
+
return {
|
|
1206
|
+
commonHeaders: 'commonHeaders',
|
|
1207
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
1208
|
+
};
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
static types(): { [key: string]: any } {
|
|
1212
|
+
return {
|
|
1213
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1214
|
+
xAcsDingtalkAccessToken: 'string',
|
|
1215
|
+
};
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
constructor(map?: { [key: string]: any }) {
|
|
1219
|
+
super(map);
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
export class GetInstancesRequest extends $tea.Model {
|
|
1224
|
+
/**
|
|
1225
|
+
* @remarks
|
|
1226
|
+
* This parameter is required.
|
|
1227
|
+
*
|
|
1228
|
+
* @example
|
|
1229
|
+
* APP_PBKT0MFBEBTDO8T7SLVP
|
|
1230
|
+
*/
|
|
1231
|
+
appType?: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* @example
|
|
1234
|
+
* agree
|
|
1235
|
+
*/
|
|
1236
|
+
approvedResult?: string;
|
|
1237
|
+
/**
|
|
1238
|
+
* @example
|
|
1239
|
+
* 2018-01-01
|
|
1240
|
+
*/
|
|
1241
|
+
createFromTimeGMT?: string;
|
|
1242
|
+
/**
|
|
1243
|
+
* @example
|
|
1244
|
+
* 2018-02-01
|
|
1245
|
+
*/
|
|
1246
|
+
createToTimeGMT?: string;
|
|
1247
|
+
/**
|
|
1248
|
+
* @remarks
|
|
1249
|
+
* This parameter is required.
|
|
1250
|
+
*
|
|
1251
|
+
* @example
|
|
1252
|
+
* FORM-EF6Y4G8WO2FN0SUB43TDQ3CGC3FMFQ1G9400RCJ3
|
|
1253
|
+
*/
|
|
1254
|
+
formUuid?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* @example
|
|
1257
|
+
* RUNNING
|
|
1258
|
+
*/
|
|
1259
|
+
instanceStatus?: string;
|
|
1260
|
+
/**
|
|
1261
|
+
* @example
|
|
1262
|
+
* zh_CN
|
|
1263
|
+
*/
|
|
1264
|
+
language?: string;
|
|
1265
|
+
/**
|
|
1266
|
+
* @example
|
|
1267
|
+
* 2018-01-01
|
|
1268
|
+
*/
|
|
1269
|
+
modifiedFromTimeGMT?: string;
|
|
1270
|
+
/**
|
|
1271
|
+
* @example
|
|
1272
|
+
* 2018-02-01
|
|
1273
|
+
*/
|
|
1274
|
+
modifiedToTimeGMT?: string;
|
|
1275
|
+
/**
|
|
1276
|
+
* @example
|
|
1277
|
+
* 例如按照创建时间升序再按照文本组件值升序排序则填{\"gmt_create\":\"+\",\"textField_1234\":\"+\"} ,详情参考 https://www.yuque.com/yida/support/agb8im#CQro8
|
|
1278
|
+
*/
|
|
1279
|
+
orderConfigJson?: string;
|
|
1280
|
+
/**
|
|
1281
|
+
* @example
|
|
1282
|
+
* manager123
|
|
1283
|
+
*/
|
|
1284
|
+
originatorId?: string;
|
|
1285
|
+
/**
|
|
1286
|
+
* @example
|
|
1287
|
+
* 模式1:根据组件值模糊匹配,示例:{"textField_jcr0069m":"danhang","selectField_jcr0069q":"K"} 模式2: 采用数据管理的查询过滤条件,匹配功能更强大,示例:[{"key":"currentNodeName","value":"步凡","type":"TEXT","operator":"like","componentName":"TextField”}],详情参考 https://www.yuque.com/yida/support/agb8im#F4S8e
|
|
1288
|
+
*/
|
|
1289
|
+
searchFieldJson?: string;
|
|
1290
|
+
/**
|
|
1291
|
+
* @remarks
|
|
1292
|
+
* This parameter is required.
|
|
1293
|
+
*
|
|
1294
|
+
* @example
|
|
1295
|
+
* hexxx
|
|
1296
|
+
*/
|
|
1297
|
+
systemToken?: string;
|
|
1298
|
+
/**
|
|
1299
|
+
* @example
|
|
1300
|
+
* 2199132092
|
|
1301
|
+
*/
|
|
1302
|
+
taskId?: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* @example
|
|
1305
|
+
* false
|
|
1306
|
+
*/
|
|
1307
|
+
useAlias?: boolean;
|
|
1308
|
+
/**
|
|
1309
|
+
* @remarks
|
|
1310
|
+
* This parameter is required.
|
|
1311
|
+
*/
|
|
1312
|
+
userId?: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* @example
|
|
1315
|
+
* 1
|
|
1316
|
+
*/
|
|
1317
|
+
pageNumber?: number;
|
|
1318
|
+
/**
|
|
1319
|
+
* @example
|
|
1320
|
+
* 100
|
|
1321
|
+
*/
|
|
1322
|
+
pageSize?: number;
|
|
1323
|
+
static names(): { [key: string]: string } {
|
|
1324
|
+
return {
|
|
1325
|
+
appType: 'appType',
|
|
1326
|
+
approvedResult: 'approvedResult',
|
|
1327
|
+
createFromTimeGMT: 'createFromTimeGMT',
|
|
1328
|
+
createToTimeGMT: 'createToTimeGMT',
|
|
1329
|
+
formUuid: 'formUuid',
|
|
1330
|
+
instanceStatus: 'instanceStatus',
|
|
1331
|
+
language: 'language',
|
|
1332
|
+
modifiedFromTimeGMT: 'modifiedFromTimeGMT',
|
|
1333
|
+
modifiedToTimeGMT: 'modifiedToTimeGMT',
|
|
1334
|
+
orderConfigJson: 'orderConfigJson',
|
|
1335
|
+
originatorId: 'originatorId',
|
|
1336
|
+
searchFieldJson: 'searchFieldJson',
|
|
1337
|
+
systemToken: 'systemToken',
|
|
1338
|
+
taskId: 'taskId',
|
|
1339
|
+
useAlias: 'useAlias',
|
|
1340
|
+
userId: 'userId',
|
|
1341
|
+
pageNumber: 'pageNumber',
|
|
1342
|
+
pageSize: 'pageSize',
|
|
1343
|
+
};
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
static types(): { [key: string]: any } {
|
|
1347
|
+
return {
|
|
1348
|
+
appType: 'string',
|
|
1349
|
+
approvedResult: 'string',
|
|
1350
|
+
createFromTimeGMT: 'string',
|
|
1351
|
+
createToTimeGMT: 'string',
|
|
1352
|
+
formUuid: 'string',
|
|
1353
|
+
instanceStatus: 'string',
|
|
1354
|
+
language: 'string',
|
|
1355
|
+
modifiedFromTimeGMT: 'string',
|
|
1356
|
+
modifiedToTimeGMT: 'string',
|
|
1357
|
+
orderConfigJson: 'string',
|
|
1358
|
+
originatorId: 'string',
|
|
1359
|
+
searchFieldJson: 'string',
|
|
1360
|
+
systemToken: 'string',
|
|
1361
|
+
taskId: 'string',
|
|
1362
|
+
useAlias: 'boolean',
|
|
1363
|
+
userId: 'string',
|
|
1364
|
+
pageNumber: 'number',
|
|
1365
|
+
pageSize: 'number',
|
|
1366
|
+
};
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
constructor(map?: { [key: string]: any }) {
|
|
1370
|
+
super(map);
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
export class GetInstancesResponseBody extends $tea.Model {
|
|
1375
|
+
data?: GetInstancesResponseBodyData[];
|
|
1376
|
+
/**
|
|
1377
|
+
* @example
|
|
1378
|
+
* 1
|
|
1379
|
+
*/
|
|
1380
|
+
pageNumber?: number;
|
|
1381
|
+
/**
|
|
1382
|
+
* @example
|
|
1383
|
+
* 100
|
|
991
1384
|
*/
|
|
992
1385
|
totalCount?: number;
|
|
993
1386
|
static names(): { [key: string]: string } {
|
|
994
1387
|
return {
|
|
995
|
-
data: 'data',
|
|
996
|
-
pageNumber: 'pageNumber',
|
|
997
|
-
totalCount: 'totalCount',
|
|
1388
|
+
data: 'data',
|
|
1389
|
+
pageNumber: 'pageNumber',
|
|
1390
|
+
totalCount: 'totalCount',
|
|
1391
|
+
};
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
static types(): { [key: string]: any } {
|
|
1395
|
+
return {
|
|
1396
|
+
data: { 'type': 'array', 'itemType': GetInstancesResponseBodyData },
|
|
1397
|
+
pageNumber: 'number',
|
|
1398
|
+
totalCount: 'number',
|
|
1399
|
+
};
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
constructor(map?: { [key: string]: any }) {
|
|
1403
|
+
super(map);
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
export class GetInstancesResponse extends $tea.Model {
|
|
1408
|
+
headers?: { [key: string]: string };
|
|
1409
|
+
statusCode?: number;
|
|
1410
|
+
body?: GetInstancesResponseBody;
|
|
1411
|
+
static names(): { [key: string]: string } {
|
|
1412
|
+
return {
|
|
1413
|
+
headers: 'headers',
|
|
1414
|
+
statusCode: 'statusCode',
|
|
1415
|
+
body: 'body',
|
|
1416
|
+
};
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
static types(): { [key: string]: any } {
|
|
1420
|
+
return {
|
|
1421
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1422
|
+
statusCode: 'number',
|
|
1423
|
+
body: GetInstancesResponseBody,
|
|
1424
|
+
};
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
constructor(map?: { [key: string]: any }) {
|
|
1428
|
+
super(map);
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
export class GetMatrixDetailByIdHeaders extends $tea.Model {
|
|
1433
|
+
commonHeaders?: { [key: string]: string };
|
|
1434
|
+
xAcsDingtalkAccessToken?: string;
|
|
1435
|
+
static names(): { [key: string]: string } {
|
|
1436
|
+
return {
|
|
1437
|
+
commonHeaders: 'commonHeaders',
|
|
1438
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
1439
|
+
};
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
static types(): { [key: string]: any } {
|
|
1443
|
+
return {
|
|
1444
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1445
|
+
xAcsDingtalkAccessToken: 'string',
|
|
1446
|
+
};
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
constructor(map?: { [key: string]: any }) {
|
|
1450
|
+
super(map);
|
|
1451
|
+
}
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
export class GetMatrixDetailByIdRequest extends $tea.Model {
|
|
1455
|
+
/**
|
|
1456
|
+
* @remarks
|
|
1457
|
+
* This parameter is required.
|
|
1458
|
+
*
|
|
1459
|
+
* @example
|
|
1460
|
+
* dingxxxx
|
|
1461
|
+
*/
|
|
1462
|
+
corpId?: string;
|
|
1463
|
+
/**
|
|
1464
|
+
* @remarks
|
|
1465
|
+
* This parameter is required.
|
|
1466
|
+
*
|
|
1467
|
+
* @example
|
|
1468
|
+
* MATRIX-C8I4J40EM81XLWZH61ZK
|
|
1469
|
+
*/
|
|
1470
|
+
matrixId?: string;
|
|
1471
|
+
/**
|
|
1472
|
+
* @example
|
|
1473
|
+
* 100
|
|
1474
|
+
*/
|
|
1475
|
+
pageNumber?: number;
|
|
1476
|
+
/**
|
|
1477
|
+
* @example
|
|
1478
|
+
* 1
|
|
1479
|
+
*/
|
|
1480
|
+
pageSize?: number;
|
|
1481
|
+
/**
|
|
1482
|
+
* @remarks
|
|
1483
|
+
* This parameter is required.
|
|
1484
|
+
*/
|
|
1485
|
+
token?: string;
|
|
1486
|
+
/**
|
|
1487
|
+
* @remarks
|
|
1488
|
+
* This parameter is required.
|
|
1489
|
+
*
|
|
1490
|
+
* @example
|
|
1491
|
+
* 501453
|
|
1492
|
+
*/
|
|
1493
|
+
userId?: string;
|
|
1494
|
+
static names(): { [key: string]: string } {
|
|
1495
|
+
return {
|
|
1496
|
+
corpId: 'corpId',
|
|
1497
|
+
matrixId: 'matrixId',
|
|
1498
|
+
pageNumber: 'pageNumber',
|
|
1499
|
+
pageSize: 'pageSize',
|
|
1500
|
+
token: 'token',
|
|
1501
|
+
userId: 'userId',
|
|
1502
|
+
};
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
static types(): { [key: string]: any } {
|
|
1506
|
+
return {
|
|
1507
|
+
corpId: 'string',
|
|
1508
|
+
matrixId: 'string',
|
|
1509
|
+
pageNumber: 'number',
|
|
1510
|
+
pageSize: 'number',
|
|
1511
|
+
token: 'string',
|
|
1512
|
+
userId: 'string',
|
|
1513
|
+
};
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
constructor(map?: { [key: string]: any }) {
|
|
1517
|
+
super(map);
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
export class GetMatrixDetailByIdResponseBody extends $tea.Model {
|
|
1522
|
+
result?: GetMatrixDetailByIdResponseBodyResult;
|
|
1523
|
+
success?: boolean;
|
|
1524
|
+
static names(): { [key: string]: string } {
|
|
1525
|
+
return {
|
|
1526
|
+
result: 'result',
|
|
1527
|
+
success: 'success',
|
|
1528
|
+
};
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
static types(): { [key: string]: any } {
|
|
1532
|
+
return {
|
|
1533
|
+
result: GetMatrixDetailByIdResponseBodyResult,
|
|
1534
|
+
success: 'boolean',
|
|
1535
|
+
};
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
constructor(map?: { [key: string]: any }) {
|
|
1539
|
+
super(map);
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
export class GetMatrixDetailByIdResponse extends $tea.Model {
|
|
1544
|
+
headers?: { [key: string]: string };
|
|
1545
|
+
statusCode?: number;
|
|
1546
|
+
body?: GetMatrixDetailByIdResponseBody;
|
|
1547
|
+
static names(): { [key: string]: string } {
|
|
1548
|
+
return {
|
|
1549
|
+
headers: 'headers',
|
|
1550
|
+
statusCode: 'statusCode',
|
|
1551
|
+
body: 'body',
|
|
1552
|
+
};
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
static types(): { [key: string]: any } {
|
|
1556
|
+
return {
|
|
1557
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1558
|
+
statusCode: 'number',
|
|
1559
|
+
body: GetMatrixDetailByIdResponseBody,
|
|
1560
|
+
};
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
constructor(map?: { [key: string]: any }) {
|
|
1564
|
+
super(map);
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
export class GetRoleDetailByIdHeaders extends $tea.Model {
|
|
1569
|
+
commonHeaders?: { [key: string]: string };
|
|
1570
|
+
xAcsDingtalkAccessToken?: string;
|
|
1571
|
+
static names(): { [key: string]: string } {
|
|
1572
|
+
return {
|
|
1573
|
+
commonHeaders: 'commonHeaders',
|
|
1574
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
1575
|
+
};
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
static types(): { [key: string]: any } {
|
|
1579
|
+
return {
|
|
1580
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1581
|
+
xAcsDingtalkAccessToken: 'string',
|
|
1582
|
+
};
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
constructor(map?: { [key: string]: any }) {
|
|
1586
|
+
super(map);
|
|
1587
|
+
}
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
export class GetRoleDetailByIdRequest extends $tea.Model {
|
|
1591
|
+
/**
|
|
1592
|
+
* @remarks
|
|
1593
|
+
* This parameter is required.
|
|
1594
|
+
*
|
|
1595
|
+
* @example
|
|
1596
|
+
* dingxxxx
|
|
1597
|
+
*/
|
|
1598
|
+
corpId?: string;
|
|
1599
|
+
/**
|
|
1600
|
+
* @example
|
|
1601
|
+
* 100
|
|
1602
|
+
*/
|
|
1603
|
+
pageNumber?: number;
|
|
1604
|
+
/**
|
|
1605
|
+
* @example
|
|
1606
|
+
* 1
|
|
1607
|
+
*/
|
|
1608
|
+
pageSize?: number;
|
|
1609
|
+
/**
|
|
1610
|
+
* @remarks
|
|
1611
|
+
* This parameter is required.
|
|
1612
|
+
*
|
|
1613
|
+
* @example
|
|
1614
|
+
* ROLE-71dc7859-17df-490d-a93d-eb5506e31f42
|
|
1615
|
+
*/
|
|
1616
|
+
roleUuid?: string;
|
|
1617
|
+
/**
|
|
1618
|
+
* @remarks
|
|
1619
|
+
* This parameter is required.
|
|
1620
|
+
*/
|
|
1621
|
+
token?: string;
|
|
1622
|
+
/**
|
|
1623
|
+
* @remarks
|
|
1624
|
+
* This parameter is required.
|
|
1625
|
+
*
|
|
1626
|
+
* @example
|
|
1627
|
+
* 501453
|
|
1628
|
+
*/
|
|
1629
|
+
userId?: string;
|
|
1630
|
+
static names(): { [key: string]: string } {
|
|
1631
|
+
return {
|
|
1632
|
+
corpId: 'corpId',
|
|
1633
|
+
pageNumber: 'pageNumber',
|
|
1634
|
+
pageSize: 'pageSize',
|
|
1635
|
+
roleUuid: 'roleUuid',
|
|
1636
|
+
token: 'token',
|
|
1637
|
+
userId: 'userId',
|
|
1638
|
+
};
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
static types(): { [key: string]: any } {
|
|
1642
|
+
return {
|
|
1643
|
+
corpId: 'string',
|
|
1644
|
+
pageNumber: 'number',
|
|
1645
|
+
pageSize: 'number',
|
|
1646
|
+
roleUuid: 'string',
|
|
1647
|
+
token: 'string',
|
|
1648
|
+
userId: 'string',
|
|
1649
|
+
};
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
constructor(map?: { [key: string]: any }) {
|
|
1653
|
+
super(map);
|
|
1654
|
+
}
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
export class GetRoleDetailByIdResponseBody extends $tea.Model {
|
|
1658
|
+
result?: GetRoleDetailByIdResponseBodyResult;
|
|
1659
|
+
success?: boolean;
|
|
1660
|
+
static names(): { [key: string]: string } {
|
|
1661
|
+
return {
|
|
1662
|
+
result: 'result',
|
|
1663
|
+
success: 'success',
|
|
1664
|
+
};
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
static types(): { [key: string]: any } {
|
|
1668
|
+
return {
|
|
1669
|
+
result: GetRoleDetailByIdResponseBodyResult,
|
|
1670
|
+
success: 'boolean',
|
|
1671
|
+
};
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
constructor(map?: { [key: string]: any }) {
|
|
1675
|
+
super(map);
|
|
1676
|
+
}
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
export class GetRoleDetailByIdResponse extends $tea.Model {
|
|
1680
|
+
headers?: { [key: string]: string };
|
|
1681
|
+
statusCode?: number;
|
|
1682
|
+
body?: GetRoleDetailByIdResponseBody;
|
|
1683
|
+
static names(): { [key: string]: string } {
|
|
1684
|
+
return {
|
|
1685
|
+
headers: 'headers',
|
|
1686
|
+
statusCode: 'statusCode',
|
|
1687
|
+
body: 'body',
|
|
1688
|
+
};
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
static types(): { [key: string]: any } {
|
|
1692
|
+
return {
|
|
1693
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1694
|
+
statusCode: 'number',
|
|
1695
|
+
body: GetRoleDetailByIdResponseBody,
|
|
1696
|
+
};
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
constructor(map?: { [key: string]: any }) {
|
|
1700
|
+
super(map);
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
export class SaveAndUpdateMatrixDataHeaders extends $tea.Model {
|
|
1705
|
+
commonHeaders?: { [key: string]: string };
|
|
1706
|
+
xAcsDingtalkAccessToken?: string;
|
|
1707
|
+
static names(): { [key: string]: string } {
|
|
1708
|
+
return {
|
|
1709
|
+
commonHeaders: 'commonHeaders',
|
|
1710
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
1711
|
+
};
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
static types(): { [key: string]: any } {
|
|
1715
|
+
return {
|
|
1716
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1717
|
+
xAcsDingtalkAccessToken: 'string',
|
|
1718
|
+
};
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
constructor(map?: { [key: string]: any }) {
|
|
1722
|
+
super(map);
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
export class SaveAndUpdateMatrixDataRequest extends $tea.Model {
|
|
1727
|
+
/**
|
|
1728
|
+
* @remarks
|
|
1729
|
+
* This parameter is required.
|
|
1730
|
+
*
|
|
1731
|
+
* @example
|
|
1732
|
+
* dingxxxx
|
|
1733
|
+
*/
|
|
1734
|
+
corpId?: string;
|
|
1735
|
+
/**
|
|
1736
|
+
* @remarks
|
|
1737
|
+
* This parameter is required.
|
|
1738
|
+
*
|
|
1739
|
+
* @example
|
|
1740
|
+
* [{ "column_xx": "deptId", "column_yy": ["userId"], "column_zz": "项目一", "rowId": "row_1748398062718" }, { "column_xx": "deptId", "column_yy": ["userId", "userId"], "column_zz": "项目二" }]
|
|
1741
|
+
*/
|
|
1742
|
+
dataJson?: string;
|
|
1743
|
+
/**
|
|
1744
|
+
* @remarks
|
|
1745
|
+
* This parameter is required.
|
|
1746
|
+
*
|
|
1747
|
+
* @example
|
|
1748
|
+
* MATRIX-C8I4J40EM81XLWZH61ZK
|
|
1749
|
+
*/
|
|
1750
|
+
matrixId?: string;
|
|
1751
|
+
/**
|
|
1752
|
+
* @remarks
|
|
1753
|
+
* This parameter is required.
|
|
1754
|
+
*/
|
|
1755
|
+
token?: string;
|
|
1756
|
+
/**
|
|
1757
|
+
* @remarks
|
|
1758
|
+
* This parameter is required.
|
|
1759
|
+
*
|
|
1760
|
+
* @example
|
|
1761
|
+
* 501453
|
|
1762
|
+
*/
|
|
1763
|
+
userId?: string;
|
|
1764
|
+
static names(): { [key: string]: string } {
|
|
1765
|
+
return {
|
|
1766
|
+
corpId: 'corpId',
|
|
1767
|
+
dataJson: 'dataJson',
|
|
1768
|
+
matrixId: 'matrixId',
|
|
1769
|
+
token: 'token',
|
|
1770
|
+
userId: 'userId',
|
|
1771
|
+
};
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
static types(): { [key: string]: any } {
|
|
1775
|
+
return {
|
|
1776
|
+
corpId: 'string',
|
|
1777
|
+
dataJson: 'string',
|
|
1778
|
+
matrixId: 'string',
|
|
1779
|
+
token: 'string',
|
|
1780
|
+
userId: 'string',
|
|
1781
|
+
};
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
constructor(map?: { [key: string]: any }) {
|
|
1785
|
+
super(map);
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
export class SaveAndUpdateMatrixDataResponseBody extends $tea.Model {
|
|
1790
|
+
success?: boolean;
|
|
1791
|
+
static names(): { [key: string]: string } {
|
|
1792
|
+
return {
|
|
1793
|
+
success: 'success',
|
|
998
1794
|
};
|
|
999
1795
|
}
|
|
1000
1796
|
|
|
1001
1797
|
static types(): { [key: string]: any } {
|
|
1002
1798
|
return {
|
|
1003
|
-
|
|
1004
|
-
pageNumber: 'number',
|
|
1005
|
-
totalCount: 'number',
|
|
1799
|
+
success: 'boolean',
|
|
1006
1800
|
};
|
|
1007
1801
|
}
|
|
1008
1802
|
|
|
@@ -1011,10 +1805,10 @@ export class GetInstancesResponseBody extends $tea.Model {
|
|
|
1011
1805
|
}
|
|
1012
1806
|
}
|
|
1013
1807
|
|
|
1014
|
-
export class
|
|
1808
|
+
export class SaveAndUpdateMatrixDataResponse extends $tea.Model {
|
|
1015
1809
|
headers?: { [key: string]: string };
|
|
1016
1810
|
statusCode?: number;
|
|
1017
|
-
body?:
|
|
1811
|
+
body?: SaveAndUpdateMatrixDataResponseBody;
|
|
1018
1812
|
static names(): { [key: string]: string } {
|
|
1019
1813
|
return {
|
|
1020
1814
|
headers: 'headers',
|
|
@@ -1027,7 +1821,7 @@ export class GetInstancesResponse extends $tea.Model {
|
|
|
1027
1821
|
return {
|
|
1028
1822
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1029
1823
|
statusCode: 'number',
|
|
1030
|
-
body:
|
|
1824
|
+
body: SaveAndUpdateMatrixDataResponseBody,
|
|
1031
1825
|
};
|
|
1032
1826
|
}
|
|
1033
1827
|
|
|
@@ -2462,6 +3256,249 @@ export class GetInstancesResponseBodyData extends $tea.Model {
|
|
|
2462
3256
|
}
|
|
2463
3257
|
}
|
|
2464
3258
|
|
|
3259
|
+
export class GetMatrixDetailByIdResponseBodyResultDescription extends $tea.Model {
|
|
3260
|
+
enUS?: string;
|
|
3261
|
+
type?: string;
|
|
3262
|
+
zhCN?: string;
|
|
3263
|
+
static names(): { [key: string]: string } {
|
|
3264
|
+
return {
|
|
3265
|
+
enUS: 'en_US',
|
|
3266
|
+
type: 'type',
|
|
3267
|
+
zhCN: 'zh_CN',
|
|
3268
|
+
};
|
|
3269
|
+
}
|
|
3270
|
+
|
|
3271
|
+
static types(): { [key: string]: any } {
|
|
3272
|
+
return {
|
|
3273
|
+
enUS: 'string',
|
|
3274
|
+
type: 'string',
|
|
3275
|
+
zhCN: 'string',
|
|
3276
|
+
};
|
|
3277
|
+
}
|
|
3278
|
+
|
|
3279
|
+
constructor(map?: { [key: string]: any }) {
|
|
3280
|
+
super(map);
|
|
3281
|
+
}
|
|
3282
|
+
}
|
|
3283
|
+
|
|
3284
|
+
export class GetMatrixDetailByIdResponseBodyResultMatrixData extends $tea.Model {
|
|
3285
|
+
currentPage?: number;
|
|
3286
|
+
data?: any;
|
|
3287
|
+
totalCount?: number;
|
|
3288
|
+
static names(): { [key: string]: string } {
|
|
3289
|
+
return {
|
|
3290
|
+
currentPage: 'currentPage',
|
|
3291
|
+
data: 'data',
|
|
3292
|
+
totalCount: 'totalCount',
|
|
3293
|
+
};
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3296
|
+
static types(): { [key: string]: any } {
|
|
3297
|
+
return {
|
|
3298
|
+
currentPage: 'number',
|
|
3299
|
+
data: 'any',
|
|
3300
|
+
totalCount: 'number',
|
|
3301
|
+
};
|
|
3302
|
+
}
|
|
3303
|
+
|
|
3304
|
+
constructor(map?: { [key: string]: any }) {
|
|
3305
|
+
super(map);
|
|
3306
|
+
}
|
|
3307
|
+
}
|
|
3308
|
+
|
|
3309
|
+
export class GetMatrixDetailByIdResponseBodyResultMatrixTableConditionColumn extends $tea.Model {
|
|
3310
|
+
columnId?: string;
|
|
3311
|
+
componentType?: string;
|
|
3312
|
+
name?: string;
|
|
3313
|
+
static names(): { [key: string]: string } {
|
|
3314
|
+
return {
|
|
3315
|
+
columnId: 'columnId',
|
|
3316
|
+
componentType: 'componentType',
|
|
3317
|
+
name: 'name',
|
|
3318
|
+
};
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3321
|
+
static types(): { [key: string]: any } {
|
|
3322
|
+
return {
|
|
3323
|
+
columnId: 'string',
|
|
3324
|
+
componentType: 'string',
|
|
3325
|
+
name: 'string',
|
|
3326
|
+
};
|
|
3327
|
+
}
|
|
3328
|
+
|
|
3329
|
+
constructor(map?: { [key: string]: any }) {
|
|
3330
|
+
super(map);
|
|
3331
|
+
}
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3334
|
+
export class GetMatrixDetailByIdResponseBodyResultMatrixTableResultColumn extends $tea.Model {
|
|
3335
|
+
columnId?: string;
|
|
3336
|
+
componentType?: string;
|
|
3337
|
+
name?: string;
|
|
3338
|
+
static names(): { [key: string]: string } {
|
|
3339
|
+
return {
|
|
3340
|
+
columnId: 'columnId',
|
|
3341
|
+
componentType: 'componentType',
|
|
3342
|
+
name: 'name',
|
|
3343
|
+
};
|
|
3344
|
+
}
|
|
3345
|
+
|
|
3346
|
+
static types(): { [key: string]: any } {
|
|
3347
|
+
return {
|
|
3348
|
+
columnId: 'string',
|
|
3349
|
+
componentType: 'string',
|
|
3350
|
+
name: 'string',
|
|
3351
|
+
};
|
|
3352
|
+
}
|
|
3353
|
+
|
|
3354
|
+
constructor(map?: { [key: string]: any }) {
|
|
3355
|
+
super(map);
|
|
3356
|
+
}
|
|
3357
|
+
}
|
|
3358
|
+
|
|
3359
|
+
export class GetMatrixDetailByIdResponseBodyResultMatrixTable extends $tea.Model {
|
|
3360
|
+
conditionColumn?: GetMatrixDetailByIdResponseBodyResultMatrixTableConditionColumn[];
|
|
3361
|
+
resultColumn?: GetMatrixDetailByIdResponseBodyResultMatrixTableResultColumn[];
|
|
3362
|
+
static names(): { [key: string]: string } {
|
|
3363
|
+
return {
|
|
3364
|
+
conditionColumn: 'conditionColumn',
|
|
3365
|
+
resultColumn: 'resultColumn',
|
|
3366
|
+
};
|
|
3367
|
+
}
|
|
3368
|
+
|
|
3369
|
+
static types(): { [key: string]: any } {
|
|
3370
|
+
return {
|
|
3371
|
+
conditionColumn: { 'type': 'array', 'itemType': GetMatrixDetailByIdResponseBodyResultMatrixTableConditionColumn },
|
|
3372
|
+
resultColumn: { 'type': 'array', 'itemType': GetMatrixDetailByIdResponseBodyResultMatrixTableResultColumn },
|
|
3373
|
+
};
|
|
3374
|
+
}
|
|
3375
|
+
|
|
3376
|
+
constructor(map?: { [key: string]: any }) {
|
|
3377
|
+
super(map);
|
|
3378
|
+
}
|
|
3379
|
+
}
|
|
3380
|
+
|
|
3381
|
+
export class GetMatrixDetailByIdResponseBodyResultName extends $tea.Model {
|
|
3382
|
+
enUS?: string;
|
|
3383
|
+
type?: string;
|
|
3384
|
+
zhCN?: string;
|
|
3385
|
+
static names(): { [key: string]: string } {
|
|
3386
|
+
return {
|
|
3387
|
+
enUS: 'en_US',
|
|
3388
|
+
type: 'type',
|
|
3389
|
+
zhCN: 'zh_CN',
|
|
3390
|
+
};
|
|
3391
|
+
}
|
|
3392
|
+
|
|
3393
|
+
static types(): { [key: string]: any } {
|
|
3394
|
+
return {
|
|
3395
|
+
enUS: 'string',
|
|
3396
|
+
type: 'string',
|
|
3397
|
+
zhCN: 'string',
|
|
3398
|
+
};
|
|
3399
|
+
}
|
|
3400
|
+
|
|
3401
|
+
constructor(map?: { [key: string]: any }) {
|
|
3402
|
+
super(map);
|
|
3403
|
+
}
|
|
3404
|
+
}
|
|
3405
|
+
|
|
3406
|
+
export class GetMatrixDetailByIdResponseBodyResult extends $tea.Model {
|
|
3407
|
+
description?: GetMatrixDetailByIdResponseBodyResultDescription;
|
|
3408
|
+
matrixData?: GetMatrixDetailByIdResponseBodyResultMatrixData;
|
|
3409
|
+
matrixId?: string;
|
|
3410
|
+
matrixTable?: GetMatrixDetailByIdResponseBodyResultMatrixTable;
|
|
3411
|
+
name?: GetMatrixDetailByIdResponseBodyResultName;
|
|
3412
|
+
rowTotalCount?: number;
|
|
3413
|
+
static names(): { [key: string]: string } {
|
|
3414
|
+
return {
|
|
3415
|
+
description: 'description',
|
|
3416
|
+
matrixData: 'matrixData',
|
|
3417
|
+
matrixId: 'matrixId',
|
|
3418
|
+
matrixTable: 'matrixTable',
|
|
3419
|
+
name: 'name',
|
|
3420
|
+
rowTotalCount: 'rowTotalCount',
|
|
3421
|
+
};
|
|
3422
|
+
}
|
|
3423
|
+
|
|
3424
|
+
static types(): { [key: string]: any } {
|
|
3425
|
+
return {
|
|
3426
|
+
description: GetMatrixDetailByIdResponseBodyResultDescription,
|
|
3427
|
+
matrixData: GetMatrixDetailByIdResponseBodyResultMatrixData,
|
|
3428
|
+
matrixId: 'string',
|
|
3429
|
+
matrixTable: GetMatrixDetailByIdResponseBodyResultMatrixTable,
|
|
3430
|
+
name: GetMatrixDetailByIdResponseBodyResultName,
|
|
3431
|
+
rowTotalCount: 'number',
|
|
3432
|
+
};
|
|
3433
|
+
}
|
|
3434
|
+
|
|
3435
|
+
constructor(map?: { [key: string]: any }) {
|
|
3436
|
+
super(map);
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3440
|
+
export class GetRoleDetailByIdResponseBodyResultMembers extends $tea.Model {
|
|
3441
|
+
currentPage?: number;
|
|
3442
|
+
data?: any;
|
|
3443
|
+
totalCount?: number;
|
|
3444
|
+
static names(): { [key: string]: string } {
|
|
3445
|
+
return {
|
|
3446
|
+
currentPage: 'currentPage',
|
|
3447
|
+
data: 'data',
|
|
3448
|
+
totalCount: 'totalCount',
|
|
3449
|
+
};
|
|
3450
|
+
}
|
|
3451
|
+
|
|
3452
|
+
static types(): { [key: string]: any } {
|
|
3453
|
+
return {
|
|
3454
|
+
currentPage: 'number',
|
|
3455
|
+
data: 'any',
|
|
3456
|
+
totalCount: 'number',
|
|
3457
|
+
};
|
|
3458
|
+
}
|
|
3459
|
+
|
|
3460
|
+
constructor(map?: { [key: string]: any }) {
|
|
3461
|
+
super(map);
|
|
3462
|
+
}
|
|
3463
|
+
}
|
|
3464
|
+
|
|
3465
|
+
export class GetRoleDetailByIdResponseBodyResult extends $tea.Model {
|
|
3466
|
+
canModifyOwners?: any;
|
|
3467
|
+
description?: string;
|
|
3468
|
+
memberTotalCount?: number;
|
|
3469
|
+
members?: GetRoleDetailByIdResponseBodyResultMembers;
|
|
3470
|
+
name?: string;
|
|
3471
|
+
parentUuid?: string;
|
|
3472
|
+
roleUuid?: string;
|
|
3473
|
+
static names(): { [key: string]: string } {
|
|
3474
|
+
return {
|
|
3475
|
+
canModifyOwners: 'canModifyOwners',
|
|
3476
|
+
description: 'description',
|
|
3477
|
+
memberTotalCount: 'memberTotalCount',
|
|
3478
|
+
members: 'members',
|
|
3479
|
+
name: 'name',
|
|
3480
|
+
parentUuid: 'parentUuid',
|
|
3481
|
+
roleUuid: 'roleUuid',
|
|
3482
|
+
};
|
|
3483
|
+
}
|
|
3484
|
+
|
|
3485
|
+
static types(): { [key: string]: any } {
|
|
3486
|
+
return {
|
|
3487
|
+
canModifyOwners: 'any',
|
|
3488
|
+
description: 'string',
|
|
3489
|
+
memberTotalCount: 'number',
|
|
3490
|
+
members: GetRoleDetailByIdResponseBodyResultMembers,
|
|
3491
|
+
name: 'string',
|
|
3492
|
+
parentUuid: 'string',
|
|
3493
|
+
roleUuid: 'string',
|
|
3494
|
+
};
|
|
3495
|
+
}
|
|
3496
|
+
|
|
3497
|
+
constructor(map?: { [key: string]: any }) {
|
|
3498
|
+
super(map);
|
|
3499
|
+
}
|
|
3500
|
+
}
|
|
3501
|
+
|
|
2465
3502
|
export class SearchFormDataSecondGenerationResponseBodyDataModifyUserName extends $tea.Model {
|
|
2466
3503
|
/**
|
|
2467
3504
|
* @example
|
|
@@ -2916,25 +3953,181 @@ export class SearchFormDatasResponseBodyData extends $tea.Model {
|
|
|
2916
3953
|
};
|
|
2917
3954
|
}
|
|
2918
3955
|
|
|
2919
|
-
constructor(map?: { [key: string]: any }) {
|
|
2920
|
-
super(map);
|
|
2921
|
-
}
|
|
2922
|
-
}
|
|
3956
|
+
constructor(map?: { [key: string]: any }) {
|
|
3957
|
+
super(map);
|
|
3958
|
+
}
|
|
3959
|
+
}
|
|
3960
|
+
|
|
3961
|
+
|
|
3962
|
+
export default class Client extends OpenApi {
|
|
3963
|
+
|
|
3964
|
+
constructor(config: $OpenApi.Config) {
|
|
3965
|
+
super(config);
|
|
3966
|
+
let gatewayClient = new GatewayClient();
|
|
3967
|
+
this._spi = gatewayClient;
|
|
3968
|
+
this._endpointRule = "";
|
|
3969
|
+
if (Util.empty(this._endpoint)) {
|
|
3970
|
+
this._endpoint = "api.dingtalk.com";
|
|
3971
|
+
}
|
|
3972
|
+
|
|
3973
|
+
}
|
|
3974
|
+
|
|
3975
|
+
|
|
3976
|
+
/**
|
|
3977
|
+
* 批量新增/更新角色成员
|
|
3978
|
+
*
|
|
3979
|
+
* @param request - BatchAddOrUpdateRoleMembersRequest
|
|
3980
|
+
* @param headers - BatchAddOrUpdateRoleMembersHeaders
|
|
3981
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3982
|
+
* @returns BatchAddOrUpdateRoleMembersResponse
|
|
3983
|
+
*/
|
|
3984
|
+
async batchAddOrUpdateRoleMembersWithOptions(request: BatchAddOrUpdateRoleMembersRequest, headers: BatchAddOrUpdateRoleMembersHeaders, runtime: $Util.RuntimeOptions): Promise<BatchAddOrUpdateRoleMembersResponse> {
|
|
3985
|
+
Util.validateModel(request);
|
|
3986
|
+
let body : {[key: string ]: any} = { };
|
|
3987
|
+
if (!Util.isUnset(request.corpId)) {
|
|
3988
|
+
body["corpId"] = request.corpId;
|
|
3989
|
+
}
|
|
3990
|
+
|
|
3991
|
+
if (!Util.isUnset(request.membersInfo)) {
|
|
3992
|
+
body["membersInfo"] = request.membersInfo;
|
|
3993
|
+
}
|
|
3994
|
+
|
|
3995
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
3996
|
+
body["pageNumber"] = request.pageNumber;
|
|
3997
|
+
}
|
|
3998
|
+
|
|
3999
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
4000
|
+
body["pageSize"] = request.pageSize;
|
|
4001
|
+
}
|
|
4002
|
+
|
|
4003
|
+
if (!Util.isUnset(request.roleUuid)) {
|
|
4004
|
+
body["roleUuid"] = request.roleUuid;
|
|
4005
|
+
}
|
|
4006
|
+
|
|
4007
|
+
if (!Util.isUnset(request.token)) {
|
|
4008
|
+
body["token"] = request.token;
|
|
4009
|
+
}
|
|
4010
|
+
|
|
4011
|
+
if (!Util.isUnset(request.userId)) {
|
|
4012
|
+
body["userId"] = request.userId;
|
|
4013
|
+
}
|
|
4014
|
+
|
|
4015
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
4016
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
4017
|
+
realHeaders = headers.commonHeaders;
|
|
4018
|
+
}
|
|
4019
|
+
|
|
4020
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4021
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
4022
|
+
}
|
|
4023
|
+
|
|
4024
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4025
|
+
headers: realHeaders,
|
|
4026
|
+
body: OpenApiUtil.parseToMap(body),
|
|
4027
|
+
});
|
|
4028
|
+
let params = new $OpenApi.Params({
|
|
4029
|
+
action: "BatchAddOrUpdateRoleMembers",
|
|
4030
|
+
version: "yida_2.0",
|
|
4031
|
+
protocol: "HTTP",
|
|
4032
|
+
pathname: `/v2.0/yida/forms/resources/roles/upsert`,
|
|
4033
|
+
method: "POST",
|
|
4034
|
+
authType: "AK",
|
|
4035
|
+
style: "ROA",
|
|
4036
|
+
reqBodyType: "none",
|
|
4037
|
+
bodyType: "json",
|
|
4038
|
+
});
|
|
4039
|
+
return $tea.cast<BatchAddOrUpdateRoleMembersResponse>(await this.execute(params, req, runtime), new BatchAddOrUpdateRoleMembersResponse({}));
|
|
4040
|
+
}
|
|
4041
|
+
|
|
4042
|
+
/**
|
|
4043
|
+
* 批量新增/更新角色成员
|
|
4044
|
+
*
|
|
4045
|
+
* @param request - BatchAddOrUpdateRoleMembersRequest
|
|
4046
|
+
* @returns BatchAddOrUpdateRoleMembersResponse
|
|
4047
|
+
*/
|
|
4048
|
+
async batchAddOrUpdateRoleMembers(request: BatchAddOrUpdateRoleMembersRequest): Promise<BatchAddOrUpdateRoleMembersResponse> {
|
|
4049
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4050
|
+
let headers = new BatchAddOrUpdateRoleMembersHeaders({ });
|
|
4051
|
+
return await this.batchAddOrUpdateRoleMembersWithOptions(request, headers, runtime);
|
|
4052
|
+
}
|
|
4053
|
+
|
|
4054
|
+
/**
|
|
4055
|
+
* 批量删除角色成员
|
|
4056
|
+
*
|
|
4057
|
+
* @param request - BatchDeleteRoleMembersRequest
|
|
4058
|
+
* @param headers - BatchDeleteRoleMembersHeaders
|
|
4059
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4060
|
+
* @returns BatchDeleteRoleMembersResponse
|
|
4061
|
+
*/
|
|
4062
|
+
async batchDeleteRoleMembersWithOptions(request: BatchDeleteRoleMembersRequest, headers: BatchDeleteRoleMembersHeaders, runtime: $Util.RuntimeOptions): Promise<BatchDeleteRoleMembersResponse> {
|
|
4063
|
+
Util.validateModel(request);
|
|
4064
|
+
let body : {[key: string ]: any} = { };
|
|
4065
|
+
if (!Util.isUnset(request.corpId)) {
|
|
4066
|
+
body["corpId"] = request.corpId;
|
|
4067
|
+
}
|
|
4068
|
+
|
|
4069
|
+
if (!Util.isUnset(request.memberIds)) {
|
|
4070
|
+
body["memberIds"] = request.memberIds;
|
|
4071
|
+
}
|
|
2923
4072
|
|
|
4073
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
4074
|
+
body["pageNumber"] = request.pageNumber;
|
|
4075
|
+
}
|
|
2924
4076
|
|
|
2925
|
-
|
|
4077
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
4078
|
+
body["pageSize"] = request.pageSize;
|
|
4079
|
+
}
|
|
2926
4080
|
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
4081
|
+
if (!Util.isUnset(request.roleUuid)) {
|
|
4082
|
+
body["roleUuid"] = request.roleUuid;
|
|
4083
|
+
}
|
|
4084
|
+
|
|
4085
|
+
if (!Util.isUnset(request.token)) {
|
|
4086
|
+
body["token"] = request.token;
|
|
4087
|
+
}
|
|
4088
|
+
|
|
4089
|
+
if (!Util.isUnset(request.userId)) {
|
|
4090
|
+
body["userId"] = request.userId;
|
|
4091
|
+
}
|
|
4092
|
+
|
|
4093
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
4094
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
4095
|
+
realHeaders = headers.commonHeaders;
|
|
4096
|
+
}
|
|
4097
|
+
|
|
4098
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4099
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
2934
4100
|
}
|
|
2935
4101
|
|
|
4102
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4103
|
+
headers: realHeaders,
|
|
4104
|
+
body: OpenApiUtil.parseToMap(body),
|
|
4105
|
+
});
|
|
4106
|
+
let params = new $OpenApi.Params({
|
|
4107
|
+
action: "BatchDeleteRoleMembers",
|
|
4108
|
+
version: "yida_2.0",
|
|
4109
|
+
protocol: "HTTP",
|
|
4110
|
+
pathname: `/v2.0/yida/forms/resources/roles/remove`,
|
|
4111
|
+
method: "POST",
|
|
4112
|
+
authType: "AK",
|
|
4113
|
+
style: "ROA",
|
|
4114
|
+
reqBodyType: "none",
|
|
4115
|
+
bodyType: "json",
|
|
4116
|
+
});
|
|
4117
|
+
return $tea.cast<BatchDeleteRoleMembersResponse>(await this.execute(params, req, runtime), new BatchDeleteRoleMembersResponse({}));
|
|
2936
4118
|
}
|
|
2937
4119
|
|
|
4120
|
+
/**
|
|
4121
|
+
* 批量删除角色成员
|
|
4122
|
+
*
|
|
4123
|
+
* @param request - BatchDeleteRoleMembersRequest
|
|
4124
|
+
* @returns BatchDeleteRoleMembersResponse
|
|
4125
|
+
*/
|
|
4126
|
+
async batchDeleteRoleMembers(request: BatchDeleteRoleMembersRequest): Promise<BatchDeleteRoleMembersResponse> {
|
|
4127
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4128
|
+
let headers = new BatchDeleteRoleMembersHeaders({ });
|
|
4129
|
+
return await this.batchDeleteRoleMembersWithOptions(request, headers, runtime);
|
|
4130
|
+
}
|
|
2938
4131
|
|
|
2939
4132
|
/**
|
|
2940
4133
|
* 新增或更新表单实例
|
|
@@ -3018,6 +4211,76 @@ export default class Client extends OpenApi {
|
|
|
3018
4211
|
return await this.createOrUpdateFormDataWithOptions(request, headers, runtime);
|
|
3019
4212
|
}
|
|
3020
4213
|
|
|
4214
|
+
/**
|
|
4215
|
+
* 批量删除矩阵明细数据
|
|
4216
|
+
*
|
|
4217
|
+
* @param request - DeleteMatrixDataByRowIdsRequest
|
|
4218
|
+
* @param headers - DeleteMatrixDataByRowIdsHeaders
|
|
4219
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4220
|
+
* @returns DeleteMatrixDataByRowIdsResponse
|
|
4221
|
+
*/
|
|
4222
|
+
async deleteMatrixDataByRowIdsWithOptions(request: DeleteMatrixDataByRowIdsRequest, headers: DeleteMatrixDataByRowIdsHeaders, runtime: $Util.RuntimeOptions): Promise<DeleteMatrixDataByRowIdsResponse> {
|
|
4223
|
+
Util.validateModel(request);
|
|
4224
|
+
let body : {[key: string ]: any} = { };
|
|
4225
|
+
if (!Util.isUnset(request.corpId)) {
|
|
4226
|
+
body["corpId"] = request.corpId;
|
|
4227
|
+
}
|
|
4228
|
+
|
|
4229
|
+
if (!Util.isUnset(request.matrixId)) {
|
|
4230
|
+
body["matrixId"] = request.matrixId;
|
|
4231
|
+
}
|
|
4232
|
+
|
|
4233
|
+
if (!Util.isUnset(request.rowIds)) {
|
|
4234
|
+
body["rowIds"] = request.rowIds;
|
|
4235
|
+
}
|
|
4236
|
+
|
|
4237
|
+
if (!Util.isUnset(request.token)) {
|
|
4238
|
+
body["token"] = request.token;
|
|
4239
|
+
}
|
|
4240
|
+
|
|
4241
|
+
if (!Util.isUnset(request.userId)) {
|
|
4242
|
+
body["userId"] = request.userId;
|
|
4243
|
+
}
|
|
4244
|
+
|
|
4245
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
4246
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
4247
|
+
realHeaders = headers.commonHeaders;
|
|
4248
|
+
}
|
|
4249
|
+
|
|
4250
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4251
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
4252
|
+
}
|
|
4253
|
+
|
|
4254
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4255
|
+
headers: realHeaders,
|
|
4256
|
+
body: OpenApiUtil.parseToMap(body),
|
|
4257
|
+
});
|
|
4258
|
+
let params = new $OpenApi.Params({
|
|
4259
|
+
action: "DeleteMatrixDataByRowIds",
|
|
4260
|
+
version: "yida_2.0",
|
|
4261
|
+
protocol: "HTTP",
|
|
4262
|
+
pathname: `/v2.0/yida/forms/resources/matrices/remove`,
|
|
4263
|
+
method: "POST",
|
|
4264
|
+
authType: "AK",
|
|
4265
|
+
style: "ROA",
|
|
4266
|
+
reqBodyType: "none",
|
|
4267
|
+
bodyType: "json",
|
|
4268
|
+
});
|
|
4269
|
+
return $tea.cast<DeleteMatrixDataByRowIdsResponse>(await this.execute(params, req, runtime), new DeleteMatrixDataByRowIdsResponse({}));
|
|
4270
|
+
}
|
|
4271
|
+
|
|
4272
|
+
/**
|
|
4273
|
+
* 批量删除矩阵明细数据
|
|
4274
|
+
*
|
|
4275
|
+
* @param request - DeleteMatrixDataByRowIdsRequest
|
|
4276
|
+
* @returns DeleteMatrixDataByRowIdsResponse
|
|
4277
|
+
*/
|
|
4278
|
+
async deleteMatrixDataByRowIds(request: DeleteMatrixDataByRowIdsRequest): Promise<DeleteMatrixDataByRowIdsResponse> {
|
|
4279
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4280
|
+
let headers = new DeleteMatrixDataByRowIdsHeaders({ });
|
|
4281
|
+
return await this.deleteMatrixDataByRowIdsWithOptions(request, headers, runtime);
|
|
4282
|
+
}
|
|
4283
|
+
|
|
3021
4284
|
/**
|
|
3022
4285
|
* 获取表单组件别名列表
|
|
3023
4286
|
*
|
|
@@ -3476,6 +4739,224 @@ export default class Client extends OpenApi {
|
|
|
3476
4739
|
return await this.getInstancesWithOptions(request, headers, runtime);
|
|
3477
4740
|
}
|
|
3478
4741
|
|
|
4742
|
+
/**
|
|
4743
|
+
* 获取权限矩阵数据详情
|
|
4744
|
+
*
|
|
4745
|
+
* @param request - GetMatrixDetailByIdRequest
|
|
4746
|
+
* @param headers - GetMatrixDetailByIdHeaders
|
|
4747
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4748
|
+
* @returns GetMatrixDetailByIdResponse
|
|
4749
|
+
*/
|
|
4750
|
+
async getMatrixDetailByIdWithOptions(request: GetMatrixDetailByIdRequest, headers: GetMatrixDetailByIdHeaders, runtime: $Util.RuntimeOptions): Promise<GetMatrixDetailByIdResponse> {
|
|
4751
|
+
Util.validateModel(request);
|
|
4752
|
+
let query : {[key: string ]: any} = { };
|
|
4753
|
+
if (!Util.isUnset(request.corpId)) {
|
|
4754
|
+
query["corpId"] = request.corpId;
|
|
4755
|
+
}
|
|
4756
|
+
|
|
4757
|
+
if (!Util.isUnset(request.matrixId)) {
|
|
4758
|
+
query["matrixId"] = request.matrixId;
|
|
4759
|
+
}
|
|
4760
|
+
|
|
4761
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
4762
|
+
query["pageNumber"] = request.pageNumber;
|
|
4763
|
+
}
|
|
4764
|
+
|
|
4765
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
4766
|
+
query["pageSize"] = request.pageSize;
|
|
4767
|
+
}
|
|
4768
|
+
|
|
4769
|
+
if (!Util.isUnset(request.token)) {
|
|
4770
|
+
query["token"] = request.token;
|
|
4771
|
+
}
|
|
4772
|
+
|
|
4773
|
+
if (!Util.isUnset(request.userId)) {
|
|
4774
|
+
query["userId"] = request.userId;
|
|
4775
|
+
}
|
|
4776
|
+
|
|
4777
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
4778
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
4779
|
+
realHeaders = headers.commonHeaders;
|
|
4780
|
+
}
|
|
4781
|
+
|
|
4782
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4783
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
4784
|
+
}
|
|
4785
|
+
|
|
4786
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4787
|
+
headers: realHeaders,
|
|
4788
|
+
query: OpenApiUtil.query(query),
|
|
4789
|
+
});
|
|
4790
|
+
let params = new $OpenApi.Params({
|
|
4791
|
+
action: "GetMatrixDetailById",
|
|
4792
|
+
version: "yida_2.0",
|
|
4793
|
+
protocol: "HTTP",
|
|
4794
|
+
pathname: `/v2.0/yida/forms/resources/matrices`,
|
|
4795
|
+
method: "GET",
|
|
4796
|
+
authType: "AK",
|
|
4797
|
+
style: "ROA",
|
|
4798
|
+
reqBodyType: "none",
|
|
4799
|
+
bodyType: "json",
|
|
4800
|
+
});
|
|
4801
|
+
return $tea.cast<GetMatrixDetailByIdResponse>(await this.execute(params, req, runtime), new GetMatrixDetailByIdResponse({}));
|
|
4802
|
+
}
|
|
4803
|
+
|
|
4804
|
+
/**
|
|
4805
|
+
* 获取权限矩阵数据详情
|
|
4806
|
+
*
|
|
4807
|
+
* @param request - GetMatrixDetailByIdRequest
|
|
4808
|
+
* @returns GetMatrixDetailByIdResponse
|
|
4809
|
+
*/
|
|
4810
|
+
async getMatrixDetailById(request: GetMatrixDetailByIdRequest): Promise<GetMatrixDetailByIdResponse> {
|
|
4811
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4812
|
+
let headers = new GetMatrixDetailByIdHeaders({ });
|
|
4813
|
+
return await this.getMatrixDetailByIdWithOptions(request, headers, runtime);
|
|
4814
|
+
}
|
|
4815
|
+
|
|
4816
|
+
/**
|
|
4817
|
+
* 获取角色详情和成员列表
|
|
4818
|
+
*
|
|
4819
|
+
* @param request - GetRoleDetailByIdRequest
|
|
4820
|
+
* @param headers - GetRoleDetailByIdHeaders
|
|
4821
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4822
|
+
* @returns GetRoleDetailByIdResponse
|
|
4823
|
+
*/
|
|
4824
|
+
async getRoleDetailByIdWithOptions(request: GetRoleDetailByIdRequest, headers: GetRoleDetailByIdHeaders, runtime: $Util.RuntimeOptions): Promise<GetRoleDetailByIdResponse> {
|
|
4825
|
+
Util.validateModel(request);
|
|
4826
|
+
let query : {[key: string ]: any} = { };
|
|
4827
|
+
if (!Util.isUnset(request.corpId)) {
|
|
4828
|
+
query["corpId"] = request.corpId;
|
|
4829
|
+
}
|
|
4830
|
+
|
|
4831
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
4832
|
+
query["pageNumber"] = request.pageNumber;
|
|
4833
|
+
}
|
|
4834
|
+
|
|
4835
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
4836
|
+
query["pageSize"] = request.pageSize;
|
|
4837
|
+
}
|
|
4838
|
+
|
|
4839
|
+
if (!Util.isUnset(request.roleUuid)) {
|
|
4840
|
+
query["roleUuid"] = request.roleUuid;
|
|
4841
|
+
}
|
|
4842
|
+
|
|
4843
|
+
if (!Util.isUnset(request.token)) {
|
|
4844
|
+
query["token"] = request.token;
|
|
4845
|
+
}
|
|
4846
|
+
|
|
4847
|
+
if (!Util.isUnset(request.userId)) {
|
|
4848
|
+
query["userId"] = request.userId;
|
|
4849
|
+
}
|
|
4850
|
+
|
|
4851
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
4852
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
4853
|
+
realHeaders = headers.commonHeaders;
|
|
4854
|
+
}
|
|
4855
|
+
|
|
4856
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4857
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
4858
|
+
}
|
|
4859
|
+
|
|
4860
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4861
|
+
headers: realHeaders,
|
|
4862
|
+
query: OpenApiUtil.query(query),
|
|
4863
|
+
});
|
|
4864
|
+
let params = new $OpenApi.Params({
|
|
4865
|
+
action: "GetRoleDetailById",
|
|
4866
|
+
version: "yida_2.0",
|
|
4867
|
+
protocol: "HTTP",
|
|
4868
|
+
pathname: `/v2.0/yida/forms/resources/roles`,
|
|
4869
|
+
method: "GET",
|
|
4870
|
+
authType: "AK",
|
|
4871
|
+
style: "ROA",
|
|
4872
|
+
reqBodyType: "none",
|
|
4873
|
+
bodyType: "json",
|
|
4874
|
+
});
|
|
4875
|
+
return $tea.cast<GetRoleDetailByIdResponse>(await this.execute(params, req, runtime), new GetRoleDetailByIdResponse({}));
|
|
4876
|
+
}
|
|
4877
|
+
|
|
4878
|
+
/**
|
|
4879
|
+
* 获取角色详情和成员列表
|
|
4880
|
+
*
|
|
4881
|
+
* @param request - GetRoleDetailByIdRequest
|
|
4882
|
+
* @returns GetRoleDetailByIdResponse
|
|
4883
|
+
*/
|
|
4884
|
+
async getRoleDetailById(request: GetRoleDetailByIdRequest): Promise<GetRoleDetailByIdResponse> {
|
|
4885
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4886
|
+
let headers = new GetRoleDetailByIdHeaders({ });
|
|
4887
|
+
return await this.getRoleDetailByIdWithOptions(request, headers, runtime);
|
|
4888
|
+
}
|
|
4889
|
+
|
|
4890
|
+
/**
|
|
4891
|
+
* 修改/新增矩阵明细数据
|
|
4892
|
+
*
|
|
4893
|
+
* @param request - SaveAndUpdateMatrixDataRequest
|
|
4894
|
+
* @param headers - SaveAndUpdateMatrixDataHeaders
|
|
4895
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4896
|
+
* @returns SaveAndUpdateMatrixDataResponse
|
|
4897
|
+
*/
|
|
4898
|
+
async saveAndUpdateMatrixDataWithOptions(request: SaveAndUpdateMatrixDataRequest, headers: SaveAndUpdateMatrixDataHeaders, runtime: $Util.RuntimeOptions): Promise<SaveAndUpdateMatrixDataResponse> {
|
|
4899
|
+
Util.validateModel(request);
|
|
4900
|
+
let body : {[key: string ]: any} = { };
|
|
4901
|
+
if (!Util.isUnset(request.corpId)) {
|
|
4902
|
+
body["corpId"] = request.corpId;
|
|
4903
|
+
}
|
|
4904
|
+
|
|
4905
|
+
if (!Util.isUnset(request.dataJson)) {
|
|
4906
|
+
body["dataJson"] = request.dataJson;
|
|
4907
|
+
}
|
|
4908
|
+
|
|
4909
|
+
if (!Util.isUnset(request.matrixId)) {
|
|
4910
|
+
body["matrixId"] = request.matrixId;
|
|
4911
|
+
}
|
|
4912
|
+
|
|
4913
|
+
if (!Util.isUnset(request.token)) {
|
|
4914
|
+
body["token"] = request.token;
|
|
4915
|
+
}
|
|
4916
|
+
|
|
4917
|
+
if (!Util.isUnset(request.userId)) {
|
|
4918
|
+
body["userId"] = request.userId;
|
|
4919
|
+
}
|
|
4920
|
+
|
|
4921
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
4922
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
4923
|
+
realHeaders = headers.commonHeaders;
|
|
4924
|
+
}
|
|
4925
|
+
|
|
4926
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4927
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
4928
|
+
}
|
|
4929
|
+
|
|
4930
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4931
|
+
headers: realHeaders,
|
|
4932
|
+
body: OpenApiUtil.parseToMap(body),
|
|
4933
|
+
});
|
|
4934
|
+
let params = new $OpenApi.Params({
|
|
4935
|
+
action: "SaveAndUpdateMatrixData",
|
|
4936
|
+
version: "yida_2.0",
|
|
4937
|
+
protocol: "HTTP",
|
|
4938
|
+
pathname: `/v2.0/yida/forms/resources/matrices/upsert`,
|
|
4939
|
+
method: "POST",
|
|
4940
|
+
authType: "AK",
|
|
4941
|
+
style: "ROA",
|
|
4942
|
+
reqBodyType: "none",
|
|
4943
|
+
bodyType: "json",
|
|
4944
|
+
});
|
|
4945
|
+
return $tea.cast<SaveAndUpdateMatrixDataResponse>(await this.execute(params, req, runtime), new SaveAndUpdateMatrixDataResponse({}));
|
|
4946
|
+
}
|
|
4947
|
+
|
|
4948
|
+
/**
|
|
4949
|
+
* 修改/新增矩阵明细数据
|
|
4950
|
+
*
|
|
4951
|
+
* @param request - SaveAndUpdateMatrixDataRequest
|
|
4952
|
+
* @returns SaveAndUpdateMatrixDataResponse
|
|
4953
|
+
*/
|
|
4954
|
+
async saveAndUpdateMatrixData(request: SaveAndUpdateMatrixDataRequest): Promise<SaveAndUpdateMatrixDataResponse> {
|
|
4955
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4956
|
+
let headers = new SaveAndUpdateMatrixDataHeaders({ });
|
|
4957
|
+
return await this.saveAndUpdateMatrixDataWithOptions(request, headers, runtime);
|
|
4958
|
+
}
|
|
4959
|
+
|
|
3479
4960
|
/**
|
|
3480
4961
|
* 新增表单实例
|
|
3481
4962
|
*
|