@alicloud/aliding20230426 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1978 -24
- package/dist/client.js +3529 -74
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +4429 -157
package/dist/client.js
CHANGED
|
@@ -19,6 +19,236 @@ const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $Ope
|
|
|
19
19
|
const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
|
|
20
20
|
const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
|
|
21
21
|
const $tea = __importStar(require("@alicloud/tea-typescript"));
|
|
22
|
+
class AddWorkspaceDocMembersHeaders extends $tea.Model {
|
|
23
|
+
constructor(map) {
|
|
24
|
+
super(map);
|
|
25
|
+
}
|
|
26
|
+
static names() {
|
|
27
|
+
return {
|
|
28
|
+
commonHeaders: 'commonHeaders',
|
|
29
|
+
accountContext: 'AccountContext',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
static types() {
|
|
33
|
+
return {
|
|
34
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
35
|
+
accountContext: AddWorkspaceDocMembersHeadersAccountContext,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.AddWorkspaceDocMembersHeaders = AddWorkspaceDocMembersHeaders;
|
|
40
|
+
class AddWorkspaceDocMembersShrinkHeaders extends $tea.Model {
|
|
41
|
+
constructor(map) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
static names() {
|
|
45
|
+
return {
|
|
46
|
+
commonHeaders: 'commonHeaders',
|
|
47
|
+
accountContextShrink: 'AccountContext',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
static types() {
|
|
51
|
+
return {
|
|
52
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
53
|
+
accountContextShrink: 'string',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.AddWorkspaceDocMembersShrinkHeaders = AddWorkspaceDocMembersShrinkHeaders;
|
|
58
|
+
class AddWorkspaceDocMembersRequest extends $tea.Model {
|
|
59
|
+
constructor(map) {
|
|
60
|
+
super(map);
|
|
61
|
+
}
|
|
62
|
+
static names() {
|
|
63
|
+
return {
|
|
64
|
+
members: 'Members',
|
|
65
|
+
nodeId: 'NodeId',
|
|
66
|
+
tenantContext: 'TenantContext',
|
|
67
|
+
workspaceId: 'WorkspaceId',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
static types() {
|
|
71
|
+
return {
|
|
72
|
+
members: { 'type': 'array', 'itemType': AddWorkspaceDocMembersRequestMembers },
|
|
73
|
+
nodeId: 'string',
|
|
74
|
+
tenantContext: AddWorkspaceDocMembersRequestTenantContext,
|
|
75
|
+
workspaceId: 'string',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.AddWorkspaceDocMembersRequest = AddWorkspaceDocMembersRequest;
|
|
80
|
+
class AddWorkspaceDocMembersShrinkRequest extends $tea.Model {
|
|
81
|
+
constructor(map) {
|
|
82
|
+
super(map);
|
|
83
|
+
}
|
|
84
|
+
static names() {
|
|
85
|
+
return {
|
|
86
|
+
membersShrink: 'Members',
|
|
87
|
+
nodeId: 'NodeId',
|
|
88
|
+
tenantContextShrink: 'TenantContext',
|
|
89
|
+
workspaceId: 'WorkspaceId',
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
static types() {
|
|
93
|
+
return {
|
|
94
|
+
membersShrink: 'string',
|
|
95
|
+
nodeId: 'string',
|
|
96
|
+
tenantContextShrink: 'string',
|
|
97
|
+
workspaceId: 'string',
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.AddWorkspaceDocMembersShrinkRequest = AddWorkspaceDocMembersShrinkRequest;
|
|
102
|
+
class AddWorkspaceDocMembersResponseBody extends $tea.Model {
|
|
103
|
+
constructor(map) {
|
|
104
|
+
super(map);
|
|
105
|
+
}
|
|
106
|
+
static names() {
|
|
107
|
+
return {
|
|
108
|
+
requestId: 'requestId',
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
static types() {
|
|
112
|
+
return {
|
|
113
|
+
requestId: 'string',
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.AddWorkspaceDocMembersResponseBody = AddWorkspaceDocMembersResponseBody;
|
|
118
|
+
class AddWorkspaceDocMembersResponse extends $tea.Model {
|
|
119
|
+
constructor(map) {
|
|
120
|
+
super(map);
|
|
121
|
+
}
|
|
122
|
+
static names() {
|
|
123
|
+
return {
|
|
124
|
+
headers: 'headers',
|
|
125
|
+
statusCode: 'statusCode',
|
|
126
|
+
body: 'body',
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
static types() {
|
|
130
|
+
return {
|
|
131
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
132
|
+
statusCode: 'number',
|
|
133
|
+
body: AddWorkspaceDocMembersResponseBody,
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
exports.AddWorkspaceDocMembersResponse = AddWorkspaceDocMembersResponse;
|
|
138
|
+
class AddWorkspaceMembersHeaders extends $tea.Model {
|
|
139
|
+
constructor(map) {
|
|
140
|
+
super(map);
|
|
141
|
+
}
|
|
142
|
+
static names() {
|
|
143
|
+
return {
|
|
144
|
+
commonHeaders: 'commonHeaders',
|
|
145
|
+
accountContext: 'AccountContext',
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
static types() {
|
|
149
|
+
return {
|
|
150
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
151
|
+
accountContext: AddWorkspaceMembersHeadersAccountContext,
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
exports.AddWorkspaceMembersHeaders = AddWorkspaceMembersHeaders;
|
|
156
|
+
class AddWorkspaceMembersShrinkHeaders extends $tea.Model {
|
|
157
|
+
constructor(map) {
|
|
158
|
+
super(map);
|
|
159
|
+
}
|
|
160
|
+
static names() {
|
|
161
|
+
return {
|
|
162
|
+
commonHeaders: 'commonHeaders',
|
|
163
|
+
accountContextShrink: 'AccountContext',
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
static types() {
|
|
167
|
+
return {
|
|
168
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
169
|
+
accountContextShrink: 'string',
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
exports.AddWorkspaceMembersShrinkHeaders = AddWorkspaceMembersShrinkHeaders;
|
|
174
|
+
class AddWorkspaceMembersRequest extends $tea.Model {
|
|
175
|
+
constructor(map) {
|
|
176
|
+
super(map);
|
|
177
|
+
}
|
|
178
|
+
static names() {
|
|
179
|
+
return {
|
|
180
|
+
members: 'Members',
|
|
181
|
+
tenantContext: 'TenantContext',
|
|
182
|
+
workspaceId: 'WorkspaceId',
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
static types() {
|
|
186
|
+
return {
|
|
187
|
+
members: { 'type': 'array', 'itemType': AddWorkspaceMembersRequestMembers },
|
|
188
|
+
tenantContext: AddWorkspaceMembersRequestTenantContext,
|
|
189
|
+
workspaceId: 'string',
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
exports.AddWorkspaceMembersRequest = AddWorkspaceMembersRequest;
|
|
194
|
+
class AddWorkspaceMembersShrinkRequest extends $tea.Model {
|
|
195
|
+
constructor(map) {
|
|
196
|
+
super(map);
|
|
197
|
+
}
|
|
198
|
+
static names() {
|
|
199
|
+
return {
|
|
200
|
+
membersShrink: 'Members',
|
|
201
|
+
tenantContextShrink: 'TenantContext',
|
|
202
|
+
workspaceId: 'WorkspaceId',
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
static types() {
|
|
206
|
+
return {
|
|
207
|
+
membersShrink: 'string',
|
|
208
|
+
tenantContextShrink: 'string',
|
|
209
|
+
workspaceId: 'string',
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
exports.AddWorkspaceMembersShrinkRequest = AddWorkspaceMembersShrinkRequest;
|
|
214
|
+
class AddWorkspaceMembersResponseBody extends $tea.Model {
|
|
215
|
+
constructor(map) {
|
|
216
|
+
super(map);
|
|
217
|
+
}
|
|
218
|
+
static names() {
|
|
219
|
+
return {
|
|
220
|
+
notInOrgList: 'NotInOrgList',
|
|
221
|
+
requestId: 'requestId',
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
static types() {
|
|
225
|
+
return {
|
|
226
|
+
notInOrgList: { 'type': 'array', 'itemType': 'string' },
|
|
227
|
+
requestId: 'string',
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
exports.AddWorkspaceMembersResponseBody = AddWorkspaceMembersResponseBody;
|
|
232
|
+
class AddWorkspaceMembersResponse extends $tea.Model {
|
|
233
|
+
constructor(map) {
|
|
234
|
+
super(map);
|
|
235
|
+
}
|
|
236
|
+
static names() {
|
|
237
|
+
return {
|
|
238
|
+
headers: 'headers',
|
|
239
|
+
statusCode: 'statusCode',
|
|
240
|
+
body: 'body',
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
static types() {
|
|
244
|
+
return {
|
|
245
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
246
|
+
statusCode: 'number',
|
|
247
|
+
body: AddWorkspaceMembersResponseBody,
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
exports.AddWorkspaceMembersResponse = AddWorkspaceMembersResponse;
|
|
22
252
|
class CreateSheetHeaders extends $tea.Model {
|
|
23
253
|
constructor(map) {
|
|
24
254
|
super(map);
|
|
@@ -137,7 +367,7 @@ class CreateSheetResponse extends $tea.Model {
|
|
|
137
367
|
}
|
|
138
368
|
}
|
|
139
369
|
exports.CreateSheetResponse = CreateSheetResponse;
|
|
140
|
-
class
|
|
370
|
+
class CreateTodoTaskHeaders extends $tea.Model {
|
|
141
371
|
constructor(map) {
|
|
142
372
|
super(map);
|
|
143
373
|
}
|
|
@@ -150,12 +380,12 @@ class InsertRowsBeforeHeaders extends $tea.Model {
|
|
|
150
380
|
static types() {
|
|
151
381
|
return {
|
|
152
382
|
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
153
|
-
accountContext:
|
|
383
|
+
accountContext: CreateTodoTaskHeadersAccountContext,
|
|
154
384
|
};
|
|
155
385
|
}
|
|
156
386
|
}
|
|
157
|
-
exports.
|
|
158
|
-
class
|
|
387
|
+
exports.CreateTodoTaskHeaders = CreateTodoTaskHeaders;
|
|
388
|
+
class CreateTodoTaskShrinkHeaders extends $tea.Model {
|
|
159
389
|
constructor(map) {
|
|
160
390
|
super(map);
|
|
161
391
|
}
|
|
@@ -172,74 +402,150 @@ class InsertRowsBeforeShrinkHeaders extends $tea.Model {
|
|
|
172
402
|
};
|
|
173
403
|
}
|
|
174
404
|
}
|
|
175
|
-
exports.
|
|
176
|
-
class
|
|
405
|
+
exports.CreateTodoTaskShrinkHeaders = CreateTodoTaskShrinkHeaders;
|
|
406
|
+
class CreateTodoTaskRequest extends $tea.Model {
|
|
177
407
|
constructor(map) {
|
|
178
408
|
super(map);
|
|
179
409
|
}
|
|
180
410
|
static names() {
|
|
181
411
|
return {
|
|
182
|
-
row: 'Row',
|
|
183
|
-
rowCount: 'RowCount',
|
|
184
|
-
sheetId: 'SheetId',
|
|
185
412
|
tenantContext: 'TenantContext',
|
|
186
|
-
|
|
413
|
+
contentFieldList: 'contentFieldList',
|
|
414
|
+
creatorId: 'creatorId',
|
|
415
|
+
description: 'description',
|
|
416
|
+
detailUrl: 'detailUrl',
|
|
417
|
+
dueTime: 'dueTime',
|
|
418
|
+
executorIds: 'executorIds',
|
|
419
|
+
isOnlyShowExecutor: 'isOnlyShowExecutor',
|
|
420
|
+
notifyConfigs: 'notifyConfigs',
|
|
421
|
+
operatorId: 'operatorId',
|
|
422
|
+
participantIds: 'participantIds',
|
|
423
|
+
priority: 'priority',
|
|
424
|
+
sourceId: 'sourceId',
|
|
425
|
+
subject: 'subject',
|
|
187
426
|
};
|
|
188
427
|
}
|
|
189
428
|
static types() {
|
|
190
429
|
return {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
430
|
+
tenantContext: CreateTodoTaskRequestTenantContext,
|
|
431
|
+
contentFieldList: { 'type': 'array', 'itemType': CreateTodoTaskRequestContentFieldList },
|
|
432
|
+
creatorId: 'string',
|
|
433
|
+
description: 'string',
|
|
434
|
+
detailUrl: CreateTodoTaskRequestDetailUrl,
|
|
435
|
+
dueTime: 'number',
|
|
436
|
+
executorIds: { 'type': 'array', 'itemType': 'string' },
|
|
437
|
+
isOnlyShowExecutor: 'boolean',
|
|
438
|
+
notifyConfigs: CreateTodoTaskRequestNotifyConfigs,
|
|
439
|
+
operatorId: 'string',
|
|
440
|
+
participantIds: { 'type': 'array', 'itemType': 'string' },
|
|
441
|
+
priority: 'number',
|
|
442
|
+
sourceId: 'string',
|
|
443
|
+
subject: 'string',
|
|
196
444
|
};
|
|
197
445
|
}
|
|
198
446
|
}
|
|
199
|
-
exports.
|
|
200
|
-
class
|
|
447
|
+
exports.CreateTodoTaskRequest = CreateTodoTaskRequest;
|
|
448
|
+
class CreateTodoTaskShrinkRequest extends $tea.Model {
|
|
201
449
|
constructor(map) {
|
|
202
450
|
super(map);
|
|
203
451
|
}
|
|
204
452
|
static names() {
|
|
205
453
|
return {
|
|
206
|
-
row: 'Row',
|
|
207
|
-
rowCount: 'RowCount',
|
|
208
|
-
sheetId: 'SheetId',
|
|
209
454
|
tenantContextShrink: 'TenantContext',
|
|
210
|
-
|
|
455
|
+
contentFieldListShrink: 'contentFieldList',
|
|
456
|
+
creatorId: 'creatorId',
|
|
457
|
+
description: 'description',
|
|
458
|
+
detailUrlShrink: 'detailUrl',
|
|
459
|
+
dueTime: 'dueTime',
|
|
460
|
+
executorIdsShrink: 'executorIds',
|
|
461
|
+
isOnlyShowExecutor: 'isOnlyShowExecutor',
|
|
462
|
+
notifyConfigsShrink: 'notifyConfigs',
|
|
463
|
+
operatorId: 'operatorId',
|
|
464
|
+
participantIdsShrink: 'participantIds',
|
|
465
|
+
priority: 'priority',
|
|
466
|
+
sourceId: 'sourceId',
|
|
467
|
+
subject: 'subject',
|
|
211
468
|
};
|
|
212
469
|
}
|
|
213
470
|
static types() {
|
|
214
471
|
return {
|
|
215
|
-
row: 'number',
|
|
216
|
-
rowCount: 'number',
|
|
217
|
-
sheetId: 'string',
|
|
218
472
|
tenantContextShrink: 'string',
|
|
219
|
-
|
|
473
|
+
contentFieldListShrink: 'string',
|
|
474
|
+
creatorId: 'string',
|
|
475
|
+
description: 'string',
|
|
476
|
+
detailUrlShrink: 'string',
|
|
477
|
+
dueTime: 'number',
|
|
478
|
+
executorIdsShrink: 'string',
|
|
479
|
+
isOnlyShowExecutor: 'boolean',
|
|
480
|
+
notifyConfigsShrink: 'string',
|
|
481
|
+
operatorId: 'string',
|
|
482
|
+
participantIdsShrink: 'string',
|
|
483
|
+
priority: 'number',
|
|
484
|
+
sourceId: 'string',
|
|
485
|
+
subject: 'string',
|
|
220
486
|
};
|
|
221
487
|
}
|
|
222
488
|
}
|
|
223
|
-
exports.
|
|
224
|
-
class
|
|
489
|
+
exports.CreateTodoTaskShrinkRequest = CreateTodoTaskShrinkRequest;
|
|
490
|
+
class CreateTodoTaskResponseBody extends $tea.Model {
|
|
225
491
|
constructor(map) {
|
|
226
492
|
super(map);
|
|
227
493
|
}
|
|
228
494
|
static names() {
|
|
229
495
|
return {
|
|
496
|
+
bizTag: 'bizTag',
|
|
497
|
+
contentFieldList: 'contentFieldList',
|
|
498
|
+
createdTime: 'createdTime',
|
|
499
|
+
creatorId: 'creatorId',
|
|
500
|
+
description: 'description',
|
|
501
|
+
detailUrl: 'detailUrl',
|
|
502
|
+
done: 'done',
|
|
503
|
+
dueTime: 'dueTime',
|
|
504
|
+
executorIds: 'executorIds',
|
|
505
|
+
finishTime: 'finishTime',
|
|
230
506
|
id: 'id',
|
|
507
|
+
isOnlyShowExecutor: 'isOnlyShowExecutor',
|
|
508
|
+
modifiedTime: 'modifiedTime',
|
|
509
|
+
modifierId: 'modifierId',
|
|
510
|
+
notifyConfigs: 'notifyConfigs',
|
|
511
|
+
participantIds: 'participantIds',
|
|
512
|
+
priority: 'priority',
|
|
231
513
|
requestId: 'requestId',
|
|
514
|
+
source: 'source',
|
|
515
|
+
sourceId: 'sourceId',
|
|
516
|
+
startTime: 'startTime',
|
|
517
|
+
subject: 'subject',
|
|
232
518
|
};
|
|
233
519
|
}
|
|
234
520
|
static types() {
|
|
235
521
|
return {
|
|
522
|
+
bizTag: 'string',
|
|
523
|
+
contentFieldList: { 'type': 'array', 'itemType': CreateTodoTaskResponseBodyContentFieldList },
|
|
524
|
+
createdTime: 'number',
|
|
525
|
+
creatorId: 'string',
|
|
526
|
+
description: 'string',
|
|
527
|
+
detailUrl: CreateTodoTaskResponseBodyDetailUrl,
|
|
528
|
+
done: 'boolean',
|
|
529
|
+
dueTime: 'number',
|
|
530
|
+
executorIds: { 'type': 'array', 'itemType': 'string' },
|
|
531
|
+
finishTime: 'number',
|
|
236
532
|
id: 'string',
|
|
533
|
+
isOnlyShowExecutor: 'boolean',
|
|
534
|
+
modifiedTime: 'number',
|
|
535
|
+
modifierId: 'string',
|
|
536
|
+
notifyConfigs: CreateTodoTaskResponseBodyNotifyConfigs,
|
|
537
|
+
participantIds: { 'type': 'array', 'itemType': 'string' },
|
|
538
|
+
priority: 'number',
|
|
237
539
|
requestId: 'string',
|
|
540
|
+
source: 'string',
|
|
541
|
+
sourceId: 'string',
|
|
542
|
+
startTime: 'number',
|
|
543
|
+
subject: 'string',
|
|
238
544
|
};
|
|
239
545
|
}
|
|
240
546
|
}
|
|
241
|
-
exports.
|
|
242
|
-
class
|
|
547
|
+
exports.CreateTodoTaskResponseBody = CreateTodoTaskResponseBody;
|
|
548
|
+
class CreateTodoTaskResponse extends $tea.Model {
|
|
243
549
|
constructor(map) {
|
|
244
550
|
super(map);
|
|
245
551
|
}
|
|
@@ -254,112 +560,2922 @@ class InsertRowsBeforeResponse extends $tea.Model {
|
|
|
254
560
|
return {
|
|
255
561
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
256
562
|
statusCode: 'number',
|
|
257
|
-
body:
|
|
563
|
+
body: CreateTodoTaskResponseBody,
|
|
258
564
|
};
|
|
259
565
|
}
|
|
260
566
|
}
|
|
261
|
-
exports.
|
|
262
|
-
class
|
|
567
|
+
exports.CreateTodoTaskResponse = CreateTodoTaskResponse;
|
|
568
|
+
class CreateWorkspaceHeaders extends $tea.Model {
|
|
263
569
|
constructor(map) {
|
|
264
570
|
super(map);
|
|
265
571
|
}
|
|
266
572
|
static names() {
|
|
267
573
|
return {
|
|
268
|
-
|
|
574
|
+
commonHeaders: 'commonHeaders',
|
|
575
|
+
accountContext: 'AccountContext',
|
|
269
576
|
};
|
|
270
577
|
}
|
|
271
578
|
static types() {
|
|
272
579
|
return {
|
|
273
|
-
|
|
580
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
581
|
+
accountContext: CreateWorkspaceHeadersAccountContext,
|
|
274
582
|
};
|
|
275
583
|
}
|
|
276
584
|
}
|
|
277
|
-
exports.
|
|
278
|
-
class
|
|
585
|
+
exports.CreateWorkspaceHeaders = CreateWorkspaceHeaders;
|
|
586
|
+
class CreateWorkspaceShrinkHeaders extends $tea.Model {
|
|
279
587
|
constructor(map) {
|
|
280
588
|
super(map);
|
|
281
589
|
}
|
|
282
590
|
static names() {
|
|
283
591
|
return {
|
|
284
|
-
|
|
592
|
+
commonHeaders: 'commonHeaders',
|
|
593
|
+
accountContextShrink: 'AccountContext',
|
|
285
594
|
};
|
|
286
595
|
}
|
|
287
596
|
static types() {
|
|
288
597
|
return {
|
|
289
|
-
|
|
598
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
599
|
+
accountContextShrink: 'string',
|
|
290
600
|
};
|
|
291
601
|
}
|
|
292
602
|
}
|
|
293
|
-
exports.
|
|
294
|
-
class
|
|
603
|
+
exports.CreateWorkspaceShrinkHeaders = CreateWorkspaceShrinkHeaders;
|
|
604
|
+
class CreateWorkspaceRequest extends $tea.Model {
|
|
295
605
|
constructor(map) {
|
|
296
606
|
super(map);
|
|
297
607
|
}
|
|
298
608
|
static names() {
|
|
299
609
|
return {
|
|
300
|
-
|
|
610
|
+
description: 'Description',
|
|
611
|
+
name: 'Name',
|
|
612
|
+
tenantContext: 'TenantContext',
|
|
301
613
|
};
|
|
302
614
|
}
|
|
303
615
|
static types() {
|
|
304
616
|
return {
|
|
305
|
-
|
|
617
|
+
description: 'string',
|
|
618
|
+
name: 'string',
|
|
619
|
+
tenantContext: CreateWorkspaceRequestTenantContext,
|
|
306
620
|
};
|
|
307
621
|
}
|
|
308
622
|
}
|
|
309
|
-
exports.
|
|
310
|
-
class
|
|
623
|
+
exports.CreateWorkspaceRequest = CreateWorkspaceRequest;
|
|
624
|
+
class CreateWorkspaceShrinkRequest extends $tea.Model {
|
|
311
625
|
constructor(map) {
|
|
312
626
|
super(map);
|
|
313
627
|
}
|
|
314
628
|
static names() {
|
|
315
629
|
return {
|
|
316
|
-
|
|
630
|
+
description: 'Description',
|
|
631
|
+
name: 'Name',
|
|
632
|
+
tenantContextShrink: 'TenantContext',
|
|
317
633
|
};
|
|
318
634
|
}
|
|
319
635
|
static types() {
|
|
320
636
|
return {
|
|
321
|
-
|
|
637
|
+
description: 'string',
|
|
638
|
+
name: 'string',
|
|
639
|
+
tenantContextShrink: 'string',
|
|
322
640
|
};
|
|
323
641
|
}
|
|
324
642
|
}
|
|
325
|
-
exports.
|
|
326
|
-
class
|
|
327
|
-
constructor(
|
|
328
|
-
super(
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
return
|
|
643
|
+
exports.CreateWorkspaceShrinkRequest = CreateWorkspaceShrinkRequest;
|
|
644
|
+
class CreateWorkspaceResponseBody extends $tea.Model {
|
|
645
|
+
constructor(map) {
|
|
646
|
+
super(map);
|
|
647
|
+
}
|
|
648
|
+
static names() {
|
|
649
|
+
return {
|
|
650
|
+
description: 'description',
|
|
651
|
+
name: 'name',
|
|
652
|
+
requestId: 'requestId',
|
|
653
|
+
url: 'url',
|
|
654
|
+
workspaceId: 'workspaceId',
|
|
655
|
+
};
|
|
656
|
+
}
|
|
657
|
+
static types() {
|
|
658
|
+
return {
|
|
659
|
+
description: 'string',
|
|
660
|
+
name: 'string',
|
|
661
|
+
requestId: 'string',
|
|
662
|
+
url: 'string',
|
|
663
|
+
workspaceId: 'string',
|
|
664
|
+
};
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
exports.CreateWorkspaceResponseBody = CreateWorkspaceResponseBody;
|
|
668
|
+
class CreateWorkspaceResponse extends $tea.Model {
|
|
669
|
+
constructor(map) {
|
|
670
|
+
super(map);
|
|
671
|
+
}
|
|
672
|
+
static names() {
|
|
673
|
+
return {
|
|
674
|
+
headers: 'headers',
|
|
675
|
+
statusCode: 'statusCode',
|
|
676
|
+
body: 'body',
|
|
677
|
+
};
|
|
678
|
+
}
|
|
679
|
+
static types() {
|
|
680
|
+
return {
|
|
681
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
682
|
+
statusCode: 'number',
|
|
683
|
+
body: CreateWorkspaceResponseBody,
|
|
684
|
+
};
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
exports.CreateWorkspaceResponse = CreateWorkspaceResponse;
|
|
688
|
+
class CreateWorkspaceDocHeaders extends $tea.Model {
|
|
689
|
+
constructor(map) {
|
|
690
|
+
super(map);
|
|
691
|
+
}
|
|
692
|
+
static names() {
|
|
693
|
+
return {
|
|
694
|
+
commonHeaders: 'commonHeaders',
|
|
695
|
+
accountContext: 'AccountContext',
|
|
696
|
+
};
|
|
697
|
+
}
|
|
698
|
+
static types() {
|
|
699
|
+
return {
|
|
700
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
701
|
+
accountContext: CreateWorkspaceDocHeadersAccountContext,
|
|
702
|
+
};
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
exports.CreateWorkspaceDocHeaders = CreateWorkspaceDocHeaders;
|
|
706
|
+
class CreateWorkspaceDocShrinkHeaders extends $tea.Model {
|
|
707
|
+
constructor(map) {
|
|
708
|
+
super(map);
|
|
709
|
+
}
|
|
710
|
+
static names() {
|
|
711
|
+
return {
|
|
712
|
+
commonHeaders: 'commonHeaders',
|
|
713
|
+
accountContextShrink: 'AccountContext',
|
|
714
|
+
};
|
|
715
|
+
}
|
|
716
|
+
static types() {
|
|
717
|
+
return {
|
|
718
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
719
|
+
accountContextShrink: 'string',
|
|
720
|
+
};
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
exports.CreateWorkspaceDocShrinkHeaders = CreateWorkspaceDocShrinkHeaders;
|
|
724
|
+
class CreateWorkspaceDocRequest extends $tea.Model {
|
|
725
|
+
constructor(map) {
|
|
726
|
+
super(map);
|
|
727
|
+
}
|
|
728
|
+
static names() {
|
|
729
|
+
return {
|
|
730
|
+
docType: 'DocType',
|
|
731
|
+
name: 'Name',
|
|
732
|
+
parentNodeId: 'ParentNodeId',
|
|
733
|
+
templateId: 'TemplateId',
|
|
734
|
+
templateType: 'TemplateType',
|
|
735
|
+
tenantContext: 'TenantContext',
|
|
736
|
+
workspaceId: 'WorkspaceId',
|
|
737
|
+
};
|
|
738
|
+
}
|
|
739
|
+
static types() {
|
|
740
|
+
return {
|
|
741
|
+
docType: 'string',
|
|
742
|
+
name: 'string',
|
|
743
|
+
parentNodeId: 'string',
|
|
744
|
+
templateId: 'string',
|
|
745
|
+
templateType: 'string',
|
|
746
|
+
tenantContext: CreateWorkspaceDocRequestTenantContext,
|
|
747
|
+
workspaceId: 'string',
|
|
748
|
+
};
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
exports.CreateWorkspaceDocRequest = CreateWorkspaceDocRequest;
|
|
752
|
+
class CreateWorkspaceDocShrinkRequest extends $tea.Model {
|
|
753
|
+
constructor(map) {
|
|
754
|
+
super(map);
|
|
755
|
+
}
|
|
756
|
+
static names() {
|
|
757
|
+
return {
|
|
758
|
+
docType: 'DocType',
|
|
759
|
+
name: 'Name',
|
|
760
|
+
parentNodeId: 'ParentNodeId',
|
|
761
|
+
templateId: 'TemplateId',
|
|
762
|
+
templateType: 'TemplateType',
|
|
763
|
+
tenantContextShrink: 'TenantContext',
|
|
764
|
+
workspaceId: 'WorkspaceId',
|
|
765
|
+
};
|
|
766
|
+
}
|
|
767
|
+
static types() {
|
|
768
|
+
return {
|
|
769
|
+
docType: 'string',
|
|
770
|
+
name: 'string',
|
|
771
|
+
parentNodeId: 'string',
|
|
772
|
+
templateId: 'string',
|
|
773
|
+
templateType: 'string',
|
|
774
|
+
tenantContextShrink: 'string',
|
|
775
|
+
workspaceId: 'string',
|
|
776
|
+
};
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
exports.CreateWorkspaceDocShrinkRequest = CreateWorkspaceDocShrinkRequest;
|
|
780
|
+
class CreateWorkspaceDocResponseBody extends $tea.Model {
|
|
781
|
+
constructor(map) {
|
|
782
|
+
super(map);
|
|
783
|
+
}
|
|
784
|
+
static names() {
|
|
785
|
+
return {
|
|
786
|
+
docKey: 'docKey',
|
|
787
|
+
nodeId: 'nodeId',
|
|
788
|
+
requestId: 'requestId',
|
|
789
|
+
url: 'url',
|
|
790
|
+
workspaceId: 'workspaceId',
|
|
791
|
+
};
|
|
792
|
+
}
|
|
793
|
+
static types() {
|
|
794
|
+
return {
|
|
795
|
+
docKey: 'string',
|
|
796
|
+
nodeId: 'string',
|
|
797
|
+
requestId: 'string',
|
|
798
|
+
url: 'string',
|
|
799
|
+
workspaceId: 'string',
|
|
800
|
+
};
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
exports.CreateWorkspaceDocResponseBody = CreateWorkspaceDocResponseBody;
|
|
804
|
+
class CreateWorkspaceDocResponse extends $tea.Model {
|
|
805
|
+
constructor(map) {
|
|
806
|
+
super(map);
|
|
807
|
+
}
|
|
808
|
+
static names() {
|
|
809
|
+
return {
|
|
810
|
+
headers: 'headers',
|
|
811
|
+
statusCode: 'statusCode',
|
|
812
|
+
body: 'body',
|
|
813
|
+
};
|
|
814
|
+
}
|
|
815
|
+
static types() {
|
|
816
|
+
return {
|
|
817
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
818
|
+
statusCode: 'number',
|
|
819
|
+
body: CreateWorkspaceDocResponseBody,
|
|
820
|
+
};
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
exports.CreateWorkspaceDocResponse = CreateWorkspaceDocResponse;
|
|
824
|
+
class DeleteTodoTaskHeaders extends $tea.Model {
|
|
825
|
+
constructor(map) {
|
|
826
|
+
super(map);
|
|
827
|
+
}
|
|
828
|
+
static names() {
|
|
829
|
+
return {
|
|
830
|
+
commonHeaders: 'commonHeaders',
|
|
831
|
+
accountContext: 'AccountContext',
|
|
832
|
+
};
|
|
833
|
+
}
|
|
834
|
+
static types() {
|
|
835
|
+
return {
|
|
836
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
837
|
+
accountContext: DeleteTodoTaskHeadersAccountContext,
|
|
838
|
+
};
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
exports.DeleteTodoTaskHeaders = DeleteTodoTaskHeaders;
|
|
842
|
+
class DeleteTodoTaskShrinkHeaders extends $tea.Model {
|
|
843
|
+
constructor(map) {
|
|
844
|
+
super(map);
|
|
845
|
+
}
|
|
846
|
+
static names() {
|
|
847
|
+
return {
|
|
848
|
+
commonHeaders: 'commonHeaders',
|
|
849
|
+
accountContextShrink: 'AccountContext',
|
|
850
|
+
};
|
|
851
|
+
}
|
|
852
|
+
static types() {
|
|
853
|
+
return {
|
|
854
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
855
|
+
accountContextShrink: 'string',
|
|
856
|
+
};
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
exports.DeleteTodoTaskShrinkHeaders = DeleteTodoTaskShrinkHeaders;
|
|
860
|
+
class DeleteTodoTaskRequest extends $tea.Model {
|
|
861
|
+
constructor(map) {
|
|
862
|
+
super(map);
|
|
863
|
+
}
|
|
864
|
+
static names() {
|
|
865
|
+
return {
|
|
866
|
+
tenantContext: 'TenantContext',
|
|
867
|
+
operatorId: 'operatorId',
|
|
868
|
+
taskId: 'taskId',
|
|
869
|
+
};
|
|
870
|
+
}
|
|
871
|
+
static types() {
|
|
872
|
+
return {
|
|
873
|
+
tenantContext: DeleteTodoTaskRequestTenantContext,
|
|
874
|
+
operatorId: 'string',
|
|
875
|
+
taskId: 'string',
|
|
876
|
+
};
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
exports.DeleteTodoTaskRequest = DeleteTodoTaskRequest;
|
|
880
|
+
class DeleteTodoTaskShrinkRequest extends $tea.Model {
|
|
881
|
+
constructor(map) {
|
|
882
|
+
super(map);
|
|
883
|
+
}
|
|
884
|
+
static names() {
|
|
885
|
+
return {
|
|
886
|
+
tenantContextShrink: 'TenantContext',
|
|
887
|
+
operatorId: 'operatorId',
|
|
888
|
+
taskId: 'taskId',
|
|
889
|
+
};
|
|
890
|
+
}
|
|
891
|
+
static types() {
|
|
892
|
+
return {
|
|
893
|
+
tenantContextShrink: 'string',
|
|
894
|
+
operatorId: 'string',
|
|
895
|
+
taskId: 'string',
|
|
896
|
+
};
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
exports.DeleteTodoTaskShrinkRequest = DeleteTodoTaskShrinkRequest;
|
|
900
|
+
class DeleteTodoTaskResponseBody extends $tea.Model {
|
|
901
|
+
constructor(map) {
|
|
902
|
+
super(map);
|
|
903
|
+
}
|
|
904
|
+
static names() {
|
|
905
|
+
return {
|
|
906
|
+
requestId: 'requestId',
|
|
907
|
+
result: 'result',
|
|
908
|
+
};
|
|
909
|
+
}
|
|
910
|
+
static types() {
|
|
911
|
+
return {
|
|
912
|
+
requestId: 'string',
|
|
913
|
+
result: 'boolean',
|
|
914
|
+
};
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
exports.DeleteTodoTaskResponseBody = DeleteTodoTaskResponseBody;
|
|
918
|
+
class DeleteTodoTaskResponse extends $tea.Model {
|
|
919
|
+
constructor(map) {
|
|
920
|
+
super(map);
|
|
921
|
+
}
|
|
922
|
+
static names() {
|
|
923
|
+
return {
|
|
924
|
+
headers: 'headers',
|
|
925
|
+
statusCode: 'statusCode',
|
|
926
|
+
body: 'body',
|
|
927
|
+
};
|
|
928
|
+
}
|
|
929
|
+
static types() {
|
|
930
|
+
return {
|
|
931
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
932
|
+
statusCode: 'number',
|
|
933
|
+
body: DeleteTodoTaskResponseBody,
|
|
934
|
+
};
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
exports.DeleteTodoTaskResponse = DeleteTodoTaskResponse;
|
|
938
|
+
class DeleteWorkspaceDocMembersHeaders extends $tea.Model {
|
|
939
|
+
constructor(map) {
|
|
940
|
+
super(map);
|
|
941
|
+
}
|
|
942
|
+
static names() {
|
|
943
|
+
return {
|
|
944
|
+
commonHeaders: 'commonHeaders',
|
|
945
|
+
accountContext: 'AccountContext',
|
|
946
|
+
};
|
|
947
|
+
}
|
|
948
|
+
static types() {
|
|
949
|
+
return {
|
|
950
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
951
|
+
accountContext: DeleteWorkspaceDocMembersHeadersAccountContext,
|
|
952
|
+
};
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
exports.DeleteWorkspaceDocMembersHeaders = DeleteWorkspaceDocMembersHeaders;
|
|
956
|
+
class DeleteWorkspaceDocMembersShrinkHeaders extends $tea.Model {
|
|
957
|
+
constructor(map) {
|
|
958
|
+
super(map);
|
|
959
|
+
}
|
|
960
|
+
static names() {
|
|
961
|
+
return {
|
|
962
|
+
commonHeaders: 'commonHeaders',
|
|
963
|
+
accountContextShrink: 'AccountContext',
|
|
964
|
+
};
|
|
965
|
+
}
|
|
966
|
+
static types() {
|
|
967
|
+
return {
|
|
968
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
969
|
+
accountContextShrink: 'string',
|
|
970
|
+
};
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
exports.DeleteWorkspaceDocMembersShrinkHeaders = DeleteWorkspaceDocMembersShrinkHeaders;
|
|
974
|
+
class DeleteWorkspaceDocMembersRequest extends $tea.Model {
|
|
975
|
+
constructor(map) {
|
|
976
|
+
super(map);
|
|
977
|
+
}
|
|
978
|
+
static names() {
|
|
979
|
+
return {
|
|
980
|
+
members: 'Members',
|
|
981
|
+
nodeId: 'NodeId',
|
|
982
|
+
tenantContext: 'TenantContext',
|
|
983
|
+
workspaceId: 'WorkspaceId',
|
|
984
|
+
};
|
|
985
|
+
}
|
|
986
|
+
static types() {
|
|
987
|
+
return {
|
|
988
|
+
members: { 'type': 'array', 'itemType': DeleteWorkspaceDocMembersRequestMembers },
|
|
989
|
+
nodeId: 'string',
|
|
990
|
+
tenantContext: DeleteWorkspaceDocMembersRequestTenantContext,
|
|
991
|
+
workspaceId: 'string',
|
|
992
|
+
};
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
exports.DeleteWorkspaceDocMembersRequest = DeleteWorkspaceDocMembersRequest;
|
|
996
|
+
class DeleteWorkspaceDocMembersShrinkRequest extends $tea.Model {
|
|
997
|
+
constructor(map) {
|
|
998
|
+
super(map);
|
|
999
|
+
}
|
|
1000
|
+
static names() {
|
|
1001
|
+
return {
|
|
1002
|
+
membersShrink: 'Members',
|
|
1003
|
+
nodeId: 'NodeId',
|
|
1004
|
+
tenantContextShrink: 'TenantContext',
|
|
1005
|
+
workspaceId: 'WorkspaceId',
|
|
1006
|
+
};
|
|
1007
|
+
}
|
|
1008
|
+
static types() {
|
|
1009
|
+
return {
|
|
1010
|
+
membersShrink: 'string',
|
|
1011
|
+
nodeId: 'string',
|
|
1012
|
+
tenantContextShrink: 'string',
|
|
1013
|
+
workspaceId: 'string',
|
|
1014
|
+
};
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
exports.DeleteWorkspaceDocMembersShrinkRequest = DeleteWorkspaceDocMembersShrinkRequest;
|
|
1018
|
+
class DeleteWorkspaceDocMembersResponseBody extends $tea.Model {
|
|
1019
|
+
constructor(map) {
|
|
1020
|
+
super(map);
|
|
1021
|
+
}
|
|
1022
|
+
static names() {
|
|
1023
|
+
return {
|
|
1024
|
+
requestId: 'requestId',
|
|
1025
|
+
};
|
|
1026
|
+
}
|
|
1027
|
+
static types() {
|
|
1028
|
+
return {
|
|
1029
|
+
requestId: 'string',
|
|
1030
|
+
};
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
exports.DeleteWorkspaceDocMembersResponseBody = DeleteWorkspaceDocMembersResponseBody;
|
|
1034
|
+
class DeleteWorkspaceDocMembersResponse extends $tea.Model {
|
|
1035
|
+
constructor(map) {
|
|
1036
|
+
super(map);
|
|
1037
|
+
}
|
|
1038
|
+
static names() {
|
|
1039
|
+
return {
|
|
1040
|
+
headers: 'headers',
|
|
1041
|
+
statusCode: 'statusCode',
|
|
1042
|
+
body: 'body',
|
|
1043
|
+
};
|
|
1044
|
+
}
|
|
1045
|
+
static types() {
|
|
1046
|
+
return {
|
|
1047
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1048
|
+
statusCode: 'number',
|
|
1049
|
+
body: DeleteWorkspaceDocMembersResponseBody,
|
|
1050
|
+
};
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
exports.DeleteWorkspaceDocMembersResponse = DeleteWorkspaceDocMembersResponse;
|
|
1054
|
+
class DeleteWorkspaceMembersHeaders extends $tea.Model {
|
|
1055
|
+
constructor(map) {
|
|
1056
|
+
super(map);
|
|
1057
|
+
}
|
|
1058
|
+
static names() {
|
|
1059
|
+
return {
|
|
1060
|
+
commonHeaders: 'commonHeaders',
|
|
1061
|
+
accountContext: 'AccountContext',
|
|
1062
|
+
};
|
|
1063
|
+
}
|
|
1064
|
+
static types() {
|
|
1065
|
+
return {
|
|
1066
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1067
|
+
accountContext: DeleteWorkspaceMembersHeadersAccountContext,
|
|
1068
|
+
};
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
exports.DeleteWorkspaceMembersHeaders = DeleteWorkspaceMembersHeaders;
|
|
1072
|
+
class DeleteWorkspaceMembersShrinkHeaders extends $tea.Model {
|
|
1073
|
+
constructor(map) {
|
|
1074
|
+
super(map);
|
|
1075
|
+
}
|
|
1076
|
+
static names() {
|
|
1077
|
+
return {
|
|
1078
|
+
commonHeaders: 'commonHeaders',
|
|
1079
|
+
accountContextShrink: 'AccountContext',
|
|
1080
|
+
};
|
|
1081
|
+
}
|
|
1082
|
+
static types() {
|
|
1083
|
+
return {
|
|
1084
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1085
|
+
accountContextShrink: 'string',
|
|
1086
|
+
};
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
exports.DeleteWorkspaceMembersShrinkHeaders = DeleteWorkspaceMembersShrinkHeaders;
|
|
1090
|
+
class DeleteWorkspaceMembersRequest extends $tea.Model {
|
|
1091
|
+
constructor(map) {
|
|
1092
|
+
super(map);
|
|
1093
|
+
}
|
|
1094
|
+
static names() {
|
|
1095
|
+
return {
|
|
1096
|
+
members: 'Members',
|
|
1097
|
+
tenantContext: 'TenantContext',
|
|
1098
|
+
workspaceId: 'WorkspaceId',
|
|
1099
|
+
};
|
|
1100
|
+
}
|
|
1101
|
+
static types() {
|
|
1102
|
+
return {
|
|
1103
|
+
members: { 'type': 'array', 'itemType': DeleteWorkspaceMembersRequestMembers },
|
|
1104
|
+
tenantContext: DeleteWorkspaceMembersRequestTenantContext,
|
|
1105
|
+
workspaceId: 'string',
|
|
1106
|
+
};
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
exports.DeleteWorkspaceMembersRequest = DeleteWorkspaceMembersRequest;
|
|
1110
|
+
class DeleteWorkspaceMembersShrinkRequest extends $tea.Model {
|
|
1111
|
+
constructor(map) {
|
|
1112
|
+
super(map);
|
|
1113
|
+
}
|
|
1114
|
+
static names() {
|
|
1115
|
+
return {
|
|
1116
|
+
membersShrink: 'Members',
|
|
1117
|
+
tenantContextShrink: 'TenantContext',
|
|
1118
|
+
workspaceId: 'WorkspaceId',
|
|
1119
|
+
};
|
|
1120
|
+
}
|
|
1121
|
+
static types() {
|
|
1122
|
+
return {
|
|
1123
|
+
membersShrink: 'string',
|
|
1124
|
+
tenantContextShrink: 'string',
|
|
1125
|
+
workspaceId: 'string',
|
|
1126
|
+
};
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
exports.DeleteWorkspaceMembersShrinkRequest = DeleteWorkspaceMembersShrinkRequest;
|
|
1130
|
+
class DeleteWorkspaceMembersResponseBody extends $tea.Model {
|
|
1131
|
+
constructor(map) {
|
|
1132
|
+
super(map);
|
|
1133
|
+
}
|
|
1134
|
+
static names() {
|
|
1135
|
+
return {
|
|
1136
|
+
requestId: 'requestId',
|
|
1137
|
+
};
|
|
1138
|
+
}
|
|
1139
|
+
static types() {
|
|
1140
|
+
return {
|
|
1141
|
+
requestId: 'string',
|
|
1142
|
+
};
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
exports.DeleteWorkspaceMembersResponseBody = DeleteWorkspaceMembersResponseBody;
|
|
1146
|
+
class DeleteWorkspaceMembersResponse extends $tea.Model {
|
|
1147
|
+
constructor(map) {
|
|
1148
|
+
super(map);
|
|
1149
|
+
}
|
|
1150
|
+
static names() {
|
|
1151
|
+
return {
|
|
1152
|
+
headers: 'headers',
|
|
1153
|
+
statusCode: 'statusCode',
|
|
1154
|
+
body: 'body',
|
|
1155
|
+
};
|
|
1156
|
+
}
|
|
1157
|
+
static types() {
|
|
1158
|
+
return {
|
|
1159
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1160
|
+
statusCode: 'number',
|
|
1161
|
+
body: DeleteWorkspaceMembersResponseBody,
|
|
1162
|
+
};
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
exports.DeleteWorkspaceMembersResponse = DeleteWorkspaceMembersResponse;
|
|
1166
|
+
class GetUserHeaders extends $tea.Model {
|
|
1167
|
+
constructor(map) {
|
|
1168
|
+
super(map);
|
|
1169
|
+
}
|
|
1170
|
+
static names() {
|
|
1171
|
+
return {
|
|
1172
|
+
commonHeaders: 'commonHeaders',
|
|
1173
|
+
accountContext: 'AccountContext',
|
|
1174
|
+
};
|
|
1175
|
+
}
|
|
1176
|
+
static types() {
|
|
1177
|
+
return {
|
|
1178
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1179
|
+
accountContext: GetUserHeadersAccountContext,
|
|
1180
|
+
};
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
exports.GetUserHeaders = GetUserHeaders;
|
|
1184
|
+
class GetUserShrinkHeaders extends $tea.Model {
|
|
1185
|
+
constructor(map) {
|
|
1186
|
+
super(map);
|
|
1187
|
+
}
|
|
1188
|
+
static names() {
|
|
1189
|
+
return {
|
|
1190
|
+
commonHeaders: 'commonHeaders',
|
|
1191
|
+
accountContextShrink: 'AccountContext',
|
|
1192
|
+
};
|
|
1193
|
+
}
|
|
1194
|
+
static types() {
|
|
1195
|
+
return {
|
|
1196
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1197
|
+
accountContextShrink: 'string',
|
|
1198
|
+
};
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
exports.GetUserShrinkHeaders = GetUserShrinkHeaders;
|
|
1202
|
+
class GetUserRequest extends $tea.Model {
|
|
1203
|
+
constructor(map) {
|
|
1204
|
+
super(map);
|
|
1205
|
+
}
|
|
1206
|
+
static names() {
|
|
1207
|
+
return {
|
|
1208
|
+
tenantContext: 'TenantContext',
|
|
1209
|
+
language: 'language',
|
|
1210
|
+
};
|
|
1211
|
+
}
|
|
1212
|
+
static types() {
|
|
1213
|
+
return {
|
|
1214
|
+
tenantContext: GetUserRequestTenantContext,
|
|
1215
|
+
language: 'string',
|
|
1216
|
+
};
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
exports.GetUserRequest = GetUserRequest;
|
|
1220
|
+
class GetUserShrinkRequest extends $tea.Model {
|
|
1221
|
+
constructor(map) {
|
|
1222
|
+
super(map);
|
|
1223
|
+
}
|
|
1224
|
+
static names() {
|
|
1225
|
+
return {
|
|
1226
|
+
tenantContextShrink: 'TenantContext',
|
|
1227
|
+
language: 'language',
|
|
1228
|
+
};
|
|
1229
|
+
}
|
|
1230
|
+
static types() {
|
|
1231
|
+
return {
|
|
1232
|
+
tenantContextShrink: 'string',
|
|
1233
|
+
language: 'string',
|
|
1234
|
+
};
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
exports.GetUserShrinkRequest = GetUserShrinkRequest;
|
|
1238
|
+
class GetUserResponseBody extends $tea.Model {
|
|
1239
|
+
constructor(map) {
|
|
1240
|
+
super(map);
|
|
1241
|
+
}
|
|
1242
|
+
static names() {
|
|
1243
|
+
return {
|
|
1244
|
+
active: 'active',
|
|
1245
|
+
admin: 'admin',
|
|
1246
|
+
avatar: 'avatar',
|
|
1247
|
+
boss: 'boss',
|
|
1248
|
+
deptIdList: 'deptIdList',
|
|
1249
|
+
deptOrderList: 'deptOrderList',
|
|
1250
|
+
email: 'email',
|
|
1251
|
+
exclusiveAccount: 'exclusiveAccount',
|
|
1252
|
+
exclusiveAccountCorpId: 'exclusiveAccountCorpId',
|
|
1253
|
+
exclusiveAccountCorpName: 'exclusiveAccountCorpName',
|
|
1254
|
+
exclusiveAccountType: 'exclusiveAccountType',
|
|
1255
|
+
extension: 'extension',
|
|
1256
|
+
hideMobile: 'hideMobile',
|
|
1257
|
+
hiredDate: 'hiredDate',
|
|
1258
|
+
jobNumber: 'jobNumber',
|
|
1259
|
+
leaderInDept: 'leaderInDept',
|
|
1260
|
+
loginId: 'loginId',
|
|
1261
|
+
managerUserid: 'managerUserid',
|
|
1262
|
+
mobile: 'mobile',
|
|
1263
|
+
name: 'name',
|
|
1264
|
+
nickname: 'nickname',
|
|
1265
|
+
orgEmail: 'orgEmail',
|
|
1266
|
+
realAuthed: 'realAuthed',
|
|
1267
|
+
remark: 'remark',
|
|
1268
|
+
requestId: 'requestId',
|
|
1269
|
+
roleList: 'roleList',
|
|
1270
|
+
senior: 'senior',
|
|
1271
|
+
stateCode: 'stateCode',
|
|
1272
|
+
telephone: 'telephone',
|
|
1273
|
+
title: 'title',
|
|
1274
|
+
unionEmpExt: 'unionEmpExt',
|
|
1275
|
+
userid: 'userid',
|
|
1276
|
+
workPlace: 'workPlace',
|
|
1277
|
+
};
|
|
1278
|
+
}
|
|
1279
|
+
static types() {
|
|
1280
|
+
return {
|
|
1281
|
+
active: 'boolean',
|
|
1282
|
+
admin: 'boolean',
|
|
1283
|
+
avatar: 'string',
|
|
1284
|
+
boss: 'boolean',
|
|
1285
|
+
deptIdList: { 'type': 'array', 'itemType': 'number' },
|
|
1286
|
+
deptOrderList: { 'type': 'array', 'itemType': GetUserResponseBodyDeptOrderList },
|
|
1287
|
+
email: 'string',
|
|
1288
|
+
exclusiveAccount: 'boolean',
|
|
1289
|
+
exclusiveAccountCorpId: 'string',
|
|
1290
|
+
exclusiveAccountCorpName: 'string',
|
|
1291
|
+
exclusiveAccountType: 'string',
|
|
1292
|
+
extension: 'string',
|
|
1293
|
+
hideMobile: 'boolean',
|
|
1294
|
+
hiredDate: 'number',
|
|
1295
|
+
jobNumber: 'string',
|
|
1296
|
+
leaderInDept: { 'type': 'array', 'itemType': GetUserResponseBodyLeaderInDept },
|
|
1297
|
+
loginId: 'string',
|
|
1298
|
+
managerUserid: 'string',
|
|
1299
|
+
mobile: 'string',
|
|
1300
|
+
name: 'string',
|
|
1301
|
+
nickname: 'string',
|
|
1302
|
+
orgEmail: 'string',
|
|
1303
|
+
realAuthed: 'boolean',
|
|
1304
|
+
remark: 'string',
|
|
1305
|
+
requestId: 'string',
|
|
1306
|
+
roleList: { 'type': 'array', 'itemType': GetUserResponseBodyRoleList },
|
|
1307
|
+
senior: 'boolean',
|
|
1308
|
+
stateCode: 'string',
|
|
1309
|
+
telephone: 'string',
|
|
1310
|
+
title: 'string',
|
|
1311
|
+
unionEmpExt: GetUserResponseBodyUnionEmpExt,
|
|
1312
|
+
userid: 'string',
|
|
1313
|
+
workPlace: 'string',
|
|
1314
|
+
};
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
exports.GetUserResponseBody = GetUserResponseBody;
|
|
1318
|
+
class GetUserResponse extends $tea.Model {
|
|
1319
|
+
constructor(map) {
|
|
1320
|
+
super(map);
|
|
1321
|
+
}
|
|
1322
|
+
static names() {
|
|
1323
|
+
return {
|
|
1324
|
+
headers: 'headers',
|
|
1325
|
+
statusCode: 'statusCode',
|
|
1326
|
+
body: 'body',
|
|
1327
|
+
};
|
|
1328
|
+
}
|
|
1329
|
+
static types() {
|
|
1330
|
+
return {
|
|
1331
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1332
|
+
statusCode: 'number',
|
|
1333
|
+
body: GetUserResponseBody,
|
|
1334
|
+
};
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
exports.GetUserResponse = GetUserResponse;
|
|
1338
|
+
class InsertRowsBeforeHeaders extends $tea.Model {
|
|
1339
|
+
constructor(map) {
|
|
1340
|
+
super(map);
|
|
1341
|
+
}
|
|
1342
|
+
static names() {
|
|
1343
|
+
return {
|
|
1344
|
+
commonHeaders: 'commonHeaders',
|
|
1345
|
+
accountContext: 'AccountContext',
|
|
1346
|
+
};
|
|
1347
|
+
}
|
|
1348
|
+
static types() {
|
|
1349
|
+
return {
|
|
1350
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1351
|
+
accountContext: InsertRowsBeforeHeadersAccountContext,
|
|
1352
|
+
};
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
exports.InsertRowsBeforeHeaders = InsertRowsBeforeHeaders;
|
|
1356
|
+
class InsertRowsBeforeShrinkHeaders extends $tea.Model {
|
|
1357
|
+
constructor(map) {
|
|
1358
|
+
super(map);
|
|
1359
|
+
}
|
|
1360
|
+
static names() {
|
|
1361
|
+
return {
|
|
1362
|
+
commonHeaders: 'commonHeaders',
|
|
1363
|
+
accountContextShrink: 'AccountContext',
|
|
1364
|
+
};
|
|
1365
|
+
}
|
|
1366
|
+
static types() {
|
|
1367
|
+
return {
|
|
1368
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1369
|
+
accountContextShrink: 'string',
|
|
1370
|
+
};
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
exports.InsertRowsBeforeShrinkHeaders = InsertRowsBeforeShrinkHeaders;
|
|
1374
|
+
class InsertRowsBeforeRequest extends $tea.Model {
|
|
1375
|
+
constructor(map) {
|
|
1376
|
+
super(map);
|
|
1377
|
+
}
|
|
1378
|
+
static names() {
|
|
1379
|
+
return {
|
|
1380
|
+
row: 'Row',
|
|
1381
|
+
rowCount: 'RowCount',
|
|
1382
|
+
sheetId: 'SheetId',
|
|
1383
|
+
tenantContext: 'TenantContext',
|
|
1384
|
+
workbookId: 'WorkbookId',
|
|
1385
|
+
};
|
|
1386
|
+
}
|
|
1387
|
+
static types() {
|
|
1388
|
+
return {
|
|
1389
|
+
row: 'number',
|
|
1390
|
+
rowCount: 'number',
|
|
1391
|
+
sheetId: 'string',
|
|
1392
|
+
tenantContext: InsertRowsBeforeRequestTenantContext,
|
|
1393
|
+
workbookId: 'string',
|
|
1394
|
+
};
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
exports.InsertRowsBeforeRequest = InsertRowsBeforeRequest;
|
|
1398
|
+
class InsertRowsBeforeShrinkRequest extends $tea.Model {
|
|
1399
|
+
constructor(map) {
|
|
1400
|
+
super(map);
|
|
1401
|
+
}
|
|
1402
|
+
static names() {
|
|
1403
|
+
return {
|
|
1404
|
+
row: 'Row',
|
|
1405
|
+
rowCount: 'RowCount',
|
|
1406
|
+
sheetId: 'SheetId',
|
|
1407
|
+
tenantContextShrink: 'TenantContext',
|
|
1408
|
+
workbookId: 'WorkbookId',
|
|
1409
|
+
};
|
|
1410
|
+
}
|
|
1411
|
+
static types() {
|
|
1412
|
+
return {
|
|
1413
|
+
row: 'number',
|
|
1414
|
+
rowCount: 'number',
|
|
1415
|
+
sheetId: 'string',
|
|
1416
|
+
tenantContextShrink: 'string',
|
|
1417
|
+
workbookId: 'string',
|
|
1418
|
+
};
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
exports.InsertRowsBeforeShrinkRequest = InsertRowsBeforeShrinkRequest;
|
|
1422
|
+
class InsertRowsBeforeResponseBody extends $tea.Model {
|
|
1423
|
+
constructor(map) {
|
|
1424
|
+
super(map);
|
|
1425
|
+
}
|
|
1426
|
+
static names() {
|
|
1427
|
+
return {
|
|
1428
|
+
id: 'id',
|
|
1429
|
+
requestId: 'requestId',
|
|
1430
|
+
};
|
|
1431
|
+
}
|
|
1432
|
+
static types() {
|
|
1433
|
+
return {
|
|
1434
|
+
id: 'string',
|
|
1435
|
+
requestId: 'string',
|
|
1436
|
+
};
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
exports.InsertRowsBeforeResponseBody = InsertRowsBeforeResponseBody;
|
|
1440
|
+
class InsertRowsBeforeResponse extends $tea.Model {
|
|
1441
|
+
constructor(map) {
|
|
1442
|
+
super(map);
|
|
1443
|
+
}
|
|
1444
|
+
static names() {
|
|
1445
|
+
return {
|
|
1446
|
+
headers: 'headers',
|
|
1447
|
+
statusCode: 'statusCode',
|
|
1448
|
+
body: 'body',
|
|
1449
|
+
};
|
|
1450
|
+
}
|
|
1451
|
+
static types() {
|
|
1452
|
+
return {
|
|
1453
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1454
|
+
statusCode: 'number',
|
|
1455
|
+
body: InsertRowsBeforeResponseBody,
|
|
1456
|
+
};
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
exports.InsertRowsBeforeResponse = InsertRowsBeforeResponse;
|
|
1460
|
+
class QueryOrgTodoTasksHeaders extends $tea.Model {
|
|
1461
|
+
constructor(map) {
|
|
1462
|
+
super(map);
|
|
1463
|
+
}
|
|
1464
|
+
static names() {
|
|
1465
|
+
return {
|
|
1466
|
+
commonHeaders: 'commonHeaders',
|
|
1467
|
+
accountContext: 'AccountContext',
|
|
1468
|
+
};
|
|
1469
|
+
}
|
|
1470
|
+
static types() {
|
|
1471
|
+
return {
|
|
1472
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1473
|
+
accountContext: QueryOrgTodoTasksHeadersAccountContext,
|
|
1474
|
+
};
|
|
1475
|
+
}
|
|
1476
|
+
}
|
|
1477
|
+
exports.QueryOrgTodoTasksHeaders = QueryOrgTodoTasksHeaders;
|
|
1478
|
+
class QueryOrgTodoTasksShrinkHeaders extends $tea.Model {
|
|
1479
|
+
constructor(map) {
|
|
1480
|
+
super(map);
|
|
1481
|
+
}
|
|
1482
|
+
static names() {
|
|
1483
|
+
return {
|
|
1484
|
+
commonHeaders: 'commonHeaders',
|
|
1485
|
+
accountContextShrink: 'AccountContext',
|
|
1486
|
+
};
|
|
1487
|
+
}
|
|
1488
|
+
static types() {
|
|
1489
|
+
return {
|
|
1490
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1491
|
+
accountContextShrink: 'string',
|
|
1492
|
+
};
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
exports.QueryOrgTodoTasksShrinkHeaders = QueryOrgTodoTasksShrinkHeaders;
|
|
1496
|
+
class QueryOrgTodoTasksRequest extends $tea.Model {
|
|
1497
|
+
constructor(map) {
|
|
1498
|
+
super(map);
|
|
1499
|
+
}
|
|
1500
|
+
static names() {
|
|
1501
|
+
return {
|
|
1502
|
+
tenantContext: 'TenantContext',
|
|
1503
|
+
isDone: 'isDone',
|
|
1504
|
+
nextToken: 'nextToken',
|
|
1505
|
+
};
|
|
1506
|
+
}
|
|
1507
|
+
static types() {
|
|
1508
|
+
return {
|
|
1509
|
+
tenantContext: QueryOrgTodoTasksRequestTenantContext,
|
|
1510
|
+
isDone: 'boolean',
|
|
1511
|
+
nextToken: 'string',
|
|
1512
|
+
};
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
exports.QueryOrgTodoTasksRequest = QueryOrgTodoTasksRequest;
|
|
1516
|
+
class QueryOrgTodoTasksShrinkRequest extends $tea.Model {
|
|
1517
|
+
constructor(map) {
|
|
1518
|
+
super(map);
|
|
1519
|
+
}
|
|
1520
|
+
static names() {
|
|
1521
|
+
return {
|
|
1522
|
+
tenantContextShrink: 'TenantContext',
|
|
1523
|
+
isDone: 'isDone',
|
|
1524
|
+
nextToken: 'nextToken',
|
|
1525
|
+
};
|
|
1526
|
+
}
|
|
1527
|
+
static types() {
|
|
1528
|
+
return {
|
|
1529
|
+
tenantContextShrink: 'string',
|
|
1530
|
+
isDone: 'boolean',
|
|
1531
|
+
nextToken: 'string',
|
|
1532
|
+
};
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
exports.QueryOrgTodoTasksShrinkRequest = QueryOrgTodoTasksShrinkRequest;
|
|
1536
|
+
class QueryOrgTodoTasksResponseBody extends $tea.Model {
|
|
1537
|
+
constructor(map) {
|
|
1538
|
+
super(map);
|
|
1539
|
+
}
|
|
1540
|
+
static names() {
|
|
1541
|
+
return {
|
|
1542
|
+
nextToken: 'nextToken',
|
|
1543
|
+
requestId: 'requestId',
|
|
1544
|
+
todoCards: 'todoCards',
|
|
1545
|
+
};
|
|
1546
|
+
}
|
|
1547
|
+
static types() {
|
|
1548
|
+
return {
|
|
1549
|
+
nextToken: 'string',
|
|
1550
|
+
requestId: 'string',
|
|
1551
|
+
todoCards: { 'type': 'array', 'itemType': QueryOrgTodoTasksResponseBodyTodoCards },
|
|
1552
|
+
};
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
exports.QueryOrgTodoTasksResponseBody = QueryOrgTodoTasksResponseBody;
|
|
1556
|
+
class QueryOrgTodoTasksResponse extends $tea.Model {
|
|
1557
|
+
constructor(map) {
|
|
1558
|
+
super(map);
|
|
1559
|
+
}
|
|
1560
|
+
static names() {
|
|
1561
|
+
return {
|
|
1562
|
+
headers: 'headers',
|
|
1563
|
+
statusCode: 'statusCode',
|
|
1564
|
+
body: 'body',
|
|
1565
|
+
};
|
|
1566
|
+
}
|
|
1567
|
+
static types() {
|
|
1568
|
+
return {
|
|
1569
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1570
|
+
statusCode: 'number',
|
|
1571
|
+
body: QueryOrgTodoTasksResponseBody,
|
|
1572
|
+
};
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
exports.QueryOrgTodoTasksResponse = QueryOrgTodoTasksResponse;
|
|
1576
|
+
class UpdateTodoTaskHeaders extends $tea.Model {
|
|
1577
|
+
constructor(map) {
|
|
1578
|
+
super(map);
|
|
1579
|
+
}
|
|
1580
|
+
static names() {
|
|
1581
|
+
return {
|
|
1582
|
+
commonHeaders: 'commonHeaders',
|
|
1583
|
+
accountContext: 'AccountContext',
|
|
1584
|
+
};
|
|
1585
|
+
}
|
|
1586
|
+
static types() {
|
|
1587
|
+
return {
|
|
1588
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1589
|
+
accountContext: UpdateTodoTaskHeadersAccountContext,
|
|
1590
|
+
};
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
exports.UpdateTodoTaskHeaders = UpdateTodoTaskHeaders;
|
|
1594
|
+
class UpdateTodoTaskShrinkHeaders extends $tea.Model {
|
|
1595
|
+
constructor(map) {
|
|
1596
|
+
super(map);
|
|
1597
|
+
}
|
|
1598
|
+
static names() {
|
|
1599
|
+
return {
|
|
1600
|
+
commonHeaders: 'commonHeaders',
|
|
1601
|
+
accountContextShrink: 'AccountContext',
|
|
1602
|
+
};
|
|
1603
|
+
}
|
|
1604
|
+
static types() {
|
|
1605
|
+
return {
|
|
1606
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1607
|
+
accountContextShrink: 'string',
|
|
1608
|
+
};
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
exports.UpdateTodoTaskShrinkHeaders = UpdateTodoTaskShrinkHeaders;
|
|
1612
|
+
class UpdateTodoTaskRequest extends $tea.Model {
|
|
1613
|
+
constructor(map) {
|
|
1614
|
+
super(map);
|
|
1615
|
+
}
|
|
1616
|
+
static names() {
|
|
1617
|
+
return {
|
|
1618
|
+
tenantContext: 'TenantContext',
|
|
1619
|
+
description: 'description',
|
|
1620
|
+
done: 'done',
|
|
1621
|
+
dueTime: 'dueTime',
|
|
1622
|
+
executorIds: 'executorIds',
|
|
1623
|
+
participantIds: 'participantIds',
|
|
1624
|
+
subject: 'subject',
|
|
1625
|
+
taskId: 'taskId',
|
|
1626
|
+
};
|
|
1627
|
+
}
|
|
1628
|
+
static types() {
|
|
1629
|
+
return {
|
|
1630
|
+
tenantContext: UpdateTodoTaskRequestTenantContext,
|
|
1631
|
+
description: 'string',
|
|
1632
|
+
done: 'boolean',
|
|
1633
|
+
dueTime: 'number',
|
|
1634
|
+
executorIds: { 'type': 'array', 'itemType': 'string' },
|
|
1635
|
+
participantIds: { 'type': 'array', 'itemType': 'string' },
|
|
1636
|
+
subject: 'string',
|
|
1637
|
+
taskId: 'string',
|
|
1638
|
+
};
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
exports.UpdateTodoTaskRequest = UpdateTodoTaskRequest;
|
|
1642
|
+
class UpdateTodoTaskShrinkRequest extends $tea.Model {
|
|
1643
|
+
constructor(map) {
|
|
1644
|
+
super(map);
|
|
1645
|
+
}
|
|
1646
|
+
static names() {
|
|
1647
|
+
return {
|
|
1648
|
+
tenantContextShrink: 'TenantContext',
|
|
1649
|
+
description: 'description',
|
|
1650
|
+
done: 'done',
|
|
1651
|
+
dueTime: 'dueTime',
|
|
1652
|
+
executorIdsShrink: 'executorIds',
|
|
1653
|
+
participantIdsShrink: 'participantIds',
|
|
1654
|
+
subject: 'subject',
|
|
1655
|
+
taskId: 'taskId',
|
|
1656
|
+
};
|
|
1657
|
+
}
|
|
1658
|
+
static types() {
|
|
1659
|
+
return {
|
|
1660
|
+
tenantContextShrink: 'string',
|
|
1661
|
+
description: 'string',
|
|
1662
|
+
done: 'boolean',
|
|
1663
|
+
dueTime: 'number',
|
|
1664
|
+
executorIdsShrink: 'string',
|
|
1665
|
+
participantIdsShrink: 'string',
|
|
1666
|
+
subject: 'string',
|
|
1667
|
+
taskId: 'string',
|
|
1668
|
+
};
|
|
1669
|
+
}
|
|
1670
|
+
}
|
|
1671
|
+
exports.UpdateTodoTaskShrinkRequest = UpdateTodoTaskShrinkRequest;
|
|
1672
|
+
class UpdateTodoTaskResponseBody extends $tea.Model {
|
|
1673
|
+
constructor(map) {
|
|
1674
|
+
super(map);
|
|
1675
|
+
}
|
|
1676
|
+
static names() {
|
|
1677
|
+
return {
|
|
1678
|
+
requestId: 'requestId',
|
|
1679
|
+
result: 'result',
|
|
1680
|
+
};
|
|
1681
|
+
}
|
|
1682
|
+
static types() {
|
|
1683
|
+
return {
|
|
1684
|
+
requestId: 'string',
|
|
1685
|
+
result: 'boolean',
|
|
1686
|
+
};
|
|
1687
|
+
}
|
|
1688
|
+
}
|
|
1689
|
+
exports.UpdateTodoTaskResponseBody = UpdateTodoTaskResponseBody;
|
|
1690
|
+
class UpdateTodoTaskResponse extends $tea.Model {
|
|
1691
|
+
constructor(map) {
|
|
1692
|
+
super(map);
|
|
1693
|
+
}
|
|
1694
|
+
static names() {
|
|
1695
|
+
return {
|
|
1696
|
+
headers: 'headers',
|
|
1697
|
+
statusCode: 'statusCode',
|
|
1698
|
+
body: 'body',
|
|
1699
|
+
};
|
|
1700
|
+
}
|
|
1701
|
+
static types() {
|
|
1702
|
+
return {
|
|
1703
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1704
|
+
statusCode: 'number',
|
|
1705
|
+
body: UpdateTodoTaskResponseBody,
|
|
1706
|
+
};
|
|
1707
|
+
}
|
|
1708
|
+
}
|
|
1709
|
+
exports.UpdateTodoTaskResponse = UpdateTodoTaskResponse;
|
|
1710
|
+
class UpdateTodoTaskExecutorStatusHeaders extends $tea.Model {
|
|
1711
|
+
constructor(map) {
|
|
1712
|
+
super(map);
|
|
1713
|
+
}
|
|
1714
|
+
static names() {
|
|
1715
|
+
return {
|
|
1716
|
+
commonHeaders: 'commonHeaders',
|
|
1717
|
+
accountContext: 'AccountContext',
|
|
1718
|
+
};
|
|
1719
|
+
}
|
|
1720
|
+
static types() {
|
|
1721
|
+
return {
|
|
1722
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1723
|
+
accountContext: UpdateTodoTaskExecutorStatusHeadersAccountContext,
|
|
1724
|
+
};
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
exports.UpdateTodoTaskExecutorStatusHeaders = UpdateTodoTaskExecutorStatusHeaders;
|
|
1728
|
+
class UpdateTodoTaskExecutorStatusShrinkHeaders extends $tea.Model {
|
|
1729
|
+
constructor(map) {
|
|
1730
|
+
super(map);
|
|
1731
|
+
}
|
|
1732
|
+
static names() {
|
|
1733
|
+
return {
|
|
1734
|
+
commonHeaders: 'commonHeaders',
|
|
1735
|
+
accountContextShrink: 'AccountContext',
|
|
1736
|
+
};
|
|
1737
|
+
}
|
|
1738
|
+
static types() {
|
|
1739
|
+
return {
|
|
1740
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1741
|
+
accountContextShrink: 'string',
|
|
1742
|
+
};
|
|
1743
|
+
}
|
|
1744
|
+
}
|
|
1745
|
+
exports.UpdateTodoTaskExecutorStatusShrinkHeaders = UpdateTodoTaskExecutorStatusShrinkHeaders;
|
|
1746
|
+
class UpdateTodoTaskExecutorStatusRequest extends $tea.Model {
|
|
1747
|
+
constructor(map) {
|
|
1748
|
+
super(map);
|
|
1749
|
+
}
|
|
1750
|
+
static names() {
|
|
1751
|
+
return {
|
|
1752
|
+
tenantContext: 'TenantContext',
|
|
1753
|
+
executorStatusList: 'executorStatusList',
|
|
1754
|
+
operatorId: 'operatorId',
|
|
1755
|
+
taskId: 'taskId',
|
|
1756
|
+
};
|
|
1757
|
+
}
|
|
1758
|
+
static types() {
|
|
1759
|
+
return {
|
|
1760
|
+
tenantContext: UpdateTodoTaskExecutorStatusRequestTenantContext,
|
|
1761
|
+
executorStatusList: { 'type': 'array', 'itemType': UpdateTodoTaskExecutorStatusRequestExecutorStatusList },
|
|
1762
|
+
operatorId: 'string',
|
|
1763
|
+
taskId: 'string',
|
|
1764
|
+
};
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1767
|
+
exports.UpdateTodoTaskExecutorStatusRequest = UpdateTodoTaskExecutorStatusRequest;
|
|
1768
|
+
class UpdateTodoTaskExecutorStatusShrinkRequest extends $tea.Model {
|
|
1769
|
+
constructor(map) {
|
|
1770
|
+
super(map);
|
|
1771
|
+
}
|
|
1772
|
+
static names() {
|
|
1773
|
+
return {
|
|
1774
|
+
tenantContextShrink: 'TenantContext',
|
|
1775
|
+
executorStatusListShrink: 'executorStatusList',
|
|
1776
|
+
operatorId: 'operatorId',
|
|
1777
|
+
taskId: 'taskId',
|
|
1778
|
+
};
|
|
1779
|
+
}
|
|
1780
|
+
static types() {
|
|
1781
|
+
return {
|
|
1782
|
+
tenantContextShrink: 'string',
|
|
1783
|
+
executorStatusListShrink: 'string',
|
|
1784
|
+
operatorId: 'string',
|
|
1785
|
+
taskId: 'string',
|
|
1786
|
+
};
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
exports.UpdateTodoTaskExecutorStatusShrinkRequest = UpdateTodoTaskExecutorStatusShrinkRequest;
|
|
1790
|
+
class UpdateTodoTaskExecutorStatusResponseBody extends $tea.Model {
|
|
1791
|
+
constructor(map) {
|
|
1792
|
+
super(map);
|
|
1793
|
+
}
|
|
1794
|
+
static names() {
|
|
1795
|
+
return {
|
|
1796
|
+
requestId: 'requestId',
|
|
1797
|
+
result: 'result',
|
|
1798
|
+
};
|
|
1799
|
+
}
|
|
1800
|
+
static types() {
|
|
1801
|
+
return {
|
|
1802
|
+
requestId: 'string',
|
|
1803
|
+
result: 'boolean',
|
|
1804
|
+
};
|
|
1805
|
+
}
|
|
1806
|
+
}
|
|
1807
|
+
exports.UpdateTodoTaskExecutorStatusResponseBody = UpdateTodoTaskExecutorStatusResponseBody;
|
|
1808
|
+
class UpdateTodoTaskExecutorStatusResponse extends $tea.Model {
|
|
1809
|
+
constructor(map) {
|
|
1810
|
+
super(map);
|
|
1811
|
+
}
|
|
1812
|
+
static names() {
|
|
1813
|
+
return {
|
|
1814
|
+
headers: 'headers',
|
|
1815
|
+
statusCode: 'statusCode',
|
|
1816
|
+
body: 'body',
|
|
1817
|
+
};
|
|
1818
|
+
}
|
|
1819
|
+
static types() {
|
|
1820
|
+
return {
|
|
1821
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1822
|
+
statusCode: 'number',
|
|
1823
|
+
body: UpdateTodoTaskExecutorStatusResponseBody,
|
|
1824
|
+
};
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
exports.UpdateTodoTaskExecutorStatusResponse = UpdateTodoTaskExecutorStatusResponse;
|
|
1828
|
+
class UpdateWorkspaceDocMembersHeaders extends $tea.Model {
|
|
1829
|
+
constructor(map) {
|
|
1830
|
+
super(map);
|
|
1831
|
+
}
|
|
1832
|
+
static names() {
|
|
1833
|
+
return {
|
|
1834
|
+
commonHeaders: 'commonHeaders',
|
|
1835
|
+
accountContext: 'AccountContext',
|
|
1836
|
+
};
|
|
1837
|
+
}
|
|
1838
|
+
static types() {
|
|
1839
|
+
return {
|
|
1840
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1841
|
+
accountContext: UpdateWorkspaceDocMembersHeadersAccountContext,
|
|
1842
|
+
};
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
exports.UpdateWorkspaceDocMembersHeaders = UpdateWorkspaceDocMembersHeaders;
|
|
1846
|
+
class UpdateWorkspaceDocMembersShrinkHeaders extends $tea.Model {
|
|
1847
|
+
constructor(map) {
|
|
1848
|
+
super(map);
|
|
1849
|
+
}
|
|
1850
|
+
static names() {
|
|
1851
|
+
return {
|
|
1852
|
+
commonHeaders: 'commonHeaders',
|
|
1853
|
+
accountContextShrink: 'AccountContext',
|
|
1854
|
+
};
|
|
1855
|
+
}
|
|
1856
|
+
static types() {
|
|
1857
|
+
return {
|
|
1858
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1859
|
+
accountContextShrink: 'string',
|
|
1860
|
+
};
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1863
|
+
exports.UpdateWorkspaceDocMembersShrinkHeaders = UpdateWorkspaceDocMembersShrinkHeaders;
|
|
1864
|
+
class UpdateWorkspaceDocMembersRequest extends $tea.Model {
|
|
1865
|
+
constructor(map) {
|
|
1866
|
+
super(map);
|
|
1867
|
+
}
|
|
1868
|
+
static names() {
|
|
1869
|
+
return {
|
|
1870
|
+
members: 'Members',
|
|
1871
|
+
nodeId: 'NodeId',
|
|
1872
|
+
tenantContext: 'TenantContext',
|
|
1873
|
+
workspaceId: 'WorkspaceId',
|
|
1874
|
+
};
|
|
1875
|
+
}
|
|
1876
|
+
static types() {
|
|
1877
|
+
return {
|
|
1878
|
+
members: { 'type': 'array', 'itemType': UpdateWorkspaceDocMembersRequestMembers },
|
|
1879
|
+
nodeId: 'string',
|
|
1880
|
+
tenantContext: UpdateWorkspaceDocMembersRequestTenantContext,
|
|
1881
|
+
workspaceId: 'string',
|
|
1882
|
+
};
|
|
1883
|
+
}
|
|
1884
|
+
}
|
|
1885
|
+
exports.UpdateWorkspaceDocMembersRequest = UpdateWorkspaceDocMembersRequest;
|
|
1886
|
+
class UpdateWorkspaceDocMembersShrinkRequest extends $tea.Model {
|
|
1887
|
+
constructor(map) {
|
|
1888
|
+
super(map);
|
|
1889
|
+
}
|
|
1890
|
+
static names() {
|
|
1891
|
+
return {
|
|
1892
|
+
membersShrink: 'Members',
|
|
1893
|
+
nodeId: 'NodeId',
|
|
1894
|
+
tenantContextShrink: 'TenantContext',
|
|
1895
|
+
workspaceId: 'WorkspaceId',
|
|
1896
|
+
};
|
|
1897
|
+
}
|
|
1898
|
+
static types() {
|
|
1899
|
+
return {
|
|
1900
|
+
membersShrink: 'string',
|
|
1901
|
+
nodeId: 'string',
|
|
1902
|
+
tenantContextShrink: 'string',
|
|
1903
|
+
workspaceId: 'string',
|
|
1904
|
+
};
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
exports.UpdateWorkspaceDocMembersShrinkRequest = UpdateWorkspaceDocMembersShrinkRequest;
|
|
1908
|
+
class UpdateWorkspaceDocMembersResponseBody extends $tea.Model {
|
|
1909
|
+
constructor(map) {
|
|
1910
|
+
super(map);
|
|
1911
|
+
}
|
|
1912
|
+
static names() {
|
|
1913
|
+
return {
|
|
1914
|
+
requestId: 'requestId',
|
|
1915
|
+
};
|
|
1916
|
+
}
|
|
1917
|
+
static types() {
|
|
1918
|
+
return {
|
|
1919
|
+
requestId: 'string',
|
|
1920
|
+
};
|
|
1921
|
+
}
|
|
1922
|
+
}
|
|
1923
|
+
exports.UpdateWorkspaceDocMembersResponseBody = UpdateWorkspaceDocMembersResponseBody;
|
|
1924
|
+
class UpdateWorkspaceDocMembersResponse extends $tea.Model {
|
|
1925
|
+
constructor(map) {
|
|
1926
|
+
super(map);
|
|
1927
|
+
}
|
|
1928
|
+
static names() {
|
|
1929
|
+
return {
|
|
1930
|
+
headers: 'headers',
|
|
1931
|
+
statusCode: 'statusCode',
|
|
1932
|
+
body: 'body',
|
|
1933
|
+
};
|
|
1934
|
+
}
|
|
1935
|
+
static types() {
|
|
1936
|
+
return {
|
|
1937
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1938
|
+
statusCode: 'number',
|
|
1939
|
+
body: UpdateWorkspaceDocMembersResponseBody,
|
|
1940
|
+
};
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
exports.UpdateWorkspaceDocMembersResponse = UpdateWorkspaceDocMembersResponse;
|
|
1944
|
+
class UpdateWorkspaceMembersHeaders extends $tea.Model {
|
|
1945
|
+
constructor(map) {
|
|
1946
|
+
super(map);
|
|
1947
|
+
}
|
|
1948
|
+
static names() {
|
|
1949
|
+
return {
|
|
1950
|
+
commonHeaders: 'commonHeaders',
|
|
1951
|
+
accountContext: 'AccountContext',
|
|
1952
|
+
};
|
|
1953
|
+
}
|
|
1954
|
+
static types() {
|
|
1955
|
+
return {
|
|
1956
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1957
|
+
accountContext: UpdateWorkspaceMembersHeadersAccountContext,
|
|
1958
|
+
};
|
|
1959
|
+
}
|
|
1960
|
+
}
|
|
1961
|
+
exports.UpdateWorkspaceMembersHeaders = UpdateWorkspaceMembersHeaders;
|
|
1962
|
+
class UpdateWorkspaceMembersShrinkHeaders extends $tea.Model {
|
|
1963
|
+
constructor(map) {
|
|
1964
|
+
super(map);
|
|
1965
|
+
}
|
|
1966
|
+
static names() {
|
|
1967
|
+
return {
|
|
1968
|
+
commonHeaders: 'commonHeaders',
|
|
1969
|
+
accountContextShrink: 'AccountContext',
|
|
1970
|
+
};
|
|
1971
|
+
}
|
|
1972
|
+
static types() {
|
|
1973
|
+
return {
|
|
1974
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1975
|
+
accountContextShrink: 'string',
|
|
1976
|
+
};
|
|
1977
|
+
}
|
|
1978
|
+
}
|
|
1979
|
+
exports.UpdateWorkspaceMembersShrinkHeaders = UpdateWorkspaceMembersShrinkHeaders;
|
|
1980
|
+
class UpdateWorkspaceMembersRequest extends $tea.Model {
|
|
1981
|
+
constructor(map) {
|
|
1982
|
+
super(map);
|
|
1983
|
+
}
|
|
1984
|
+
static names() {
|
|
1985
|
+
return {
|
|
1986
|
+
members: 'Members',
|
|
1987
|
+
tenantContext: 'TenantContext',
|
|
1988
|
+
workspaceId: 'WorkspaceId',
|
|
1989
|
+
};
|
|
1990
|
+
}
|
|
1991
|
+
static types() {
|
|
1992
|
+
return {
|
|
1993
|
+
members: { 'type': 'array', 'itemType': UpdateWorkspaceMembersRequestMembers },
|
|
1994
|
+
tenantContext: UpdateWorkspaceMembersRequestTenantContext,
|
|
1995
|
+
workspaceId: 'string',
|
|
1996
|
+
};
|
|
1997
|
+
}
|
|
1998
|
+
}
|
|
1999
|
+
exports.UpdateWorkspaceMembersRequest = UpdateWorkspaceMembersRequest;
|
|
2000
|
+
class UpdateWorkspaceMembersShrinkRequest extends $tea.Model {
|
|
2001
|
+
constructor(map) {
|
|
2002
|
+
super(map);
|
|
2003
|
+
}
|
|
2004
|
+
static names() {
|
|
2005
|
+
return {
|
|
2006
|
+
membersShrink: 'Members',
|
|
2007
|
+
tenantContextShrink: 'TenantContext',
|
|
2008
|
+
workspaceId: 'WorkspaceId',
|
|
2009
|
+
};
|
|
2010
|
+
}
|
|
2011
|
+
static types() {
|
|
2012
|
+
return {
|
|
2013
|
+
membersShrink: 'string',
|
|
2014
|
+
tenantContextShrink: 'string',
|
|
2015
|
+
workspaceId: 'string',
|
|
2016
|
+
};
|
|
2017
|
+
}
|
|
2018
|
+
}
|
|
2019
|
+
exports.UpdateWorkspaceMembersShrinkRequest = UpdateWorkspaceMembersShrinkRequest;
|
|
2020
|
+
class UpdateWorkspaceMembersResponseBody extends $tea.Model {
|
|
2021
|
+
constructor(map) {
|
|
2022
|
+
super(map);
|
|
2023
|
+
}
|
|
2024
|
+
static names() {
|
|
2025
|
+
return {
|
|
2026
|
+
requestId: 'requestId',
|
|
2027
|
+
};
|
|
2028
|
+
}
|
|
2029
|
+
static types() {
|
|
2030
|
+
return {
|
|
2031
|
+
requestId: 'string',
|
|
2032
|
+
};
|
|
2033
|
+
}
|
|
2034
|
+
}
|
|
2035
|
+
exports.UpdateWorkspaceMembersResponseBody = UpdateWorkspaceMembersResponseBody;
|
|
2036
|
+
class UpdateWorkspaceMembersResponse extends $tea.Model {
|
|
2037
|
+
constructor(map) {
|
|
2038
|
+
super(map);
|
|
2039
|
+
}
|
|
2040
|
+
static names() {
|
|
2041
|
+
return {
|
|
2042
|
+
headers: 'headers',
|
|
2043
|
+
statusCode: 'statusCode',
|
|
2044
|
+
body: 'body',
|
|
2045
|
+
};
|
|
2046
|
+
}
|
|
2047
|
+
static types() {
|
|
2048
|
+
return {
|
|
2049
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2050
|
+
statusCode: 'number',
|
|
2051
|
+
body: UpdateWorkspaceMembersResponseBody,
|
|
2052
|
+
};
|
|
2053
|
+
}
|
|
2054
|
+
}
|
|
2055
|
+
exports.UpdateWorkspaceMembersResponse = UpdateWorkspaceMembersResponse;
|
|
2056
|
+
class AddWorkspaceDocMembersHeadersAccountContext extends $tea.Model {
|
|
2057
|
+
constructor(map) {
|
|
2058
|
+
super(map);
|
|
2059
|
+
}
|
|
2060
|
+
static names() {
|
|
2061
|
+
return {
|
|
2062
|
+
accountId: 'accountId',
|
|
2063
|
+
};
|
|
2064
|
+
}
|
|
2065
|
+
static types() {
|
|
2066
|
+
return {
|
|
2067
|
+
accountId: 'string',
|
|
2068
|
+
};
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
exports.AddWorkspaceDocMembersHeadersAccountContext = AddWorkspaceDocMembersHeadersAccountContext;
|
|
2072
|
+
class AddWorkspaceDocMembersRequestMembers extends $tea.Model {
|
|
2073
|
+
constructor(map) {
|
|
2074
|
+
super(map);
|
|
2075
|
+
}
|
|
2076
|
+
static names() {
|
|
2077
|
+
return {
|
|
2078
|
+
memberId: 'MemberId',
|
|
2079
|
+
memberType: 'MemberType',
|
|
2080
|
+
roleType: 'RoleType',
|
|
2081
|
+
};
|
|
2082
|
+
}
|
|
2083
|
+
static types() {
|
|
2084
|
+
return {
|
|
2085
|
+
memberId: 'string',
|
|
2086
|
+
memberType: 'string',
|
|
2087
|
+
roleType: 'string',
|
|
2088
|
+
};
|
|
2089
|
+
}
|
|
2090
|
+
}
|
|
2091
|
+
exports.AddWorkspaceDocMembersRequestMembers = AddWorkspaceDocMembersRequestMembers;
|
|
2092
|
+
class AddWorkspaceDocMembersRequestTenantContext extends $tea.Model {
|
|
2093
|
+
constructor(map) {
|
|
2094
|
+
super(map);
|
|
2095
|
+
}
|
|
2096
|
+
static names() {
|
|
2097
|
+
return {
|
|
2098
|
+
tenantId: 'tenantId',
|
|
2099
|
+
};
|
|
2100
|
+
}
|
|
2101
|
+
static types() {
|
|
2102
|
+
return {
|
|
2103
|
+
tenantId: 'string',
|
|
2104
|
+
};
|
|
2105
|
+
}
|
|
2106
|
+
}
|
|
2107
|
+
exports.AddWorkspaceDocMembersRequestTenantContext = AddWorkspaceDocMembersRequestTenantContext;
|
|
2108
|
+
class AddWorkspaceMembersHeadersAccountContext extends $tea.Model {
|
|
2109
|
+
constructor(map) {
|
|
2110
|
+
super(map);
|
|
2111
|
+
}
|
|
2112
|
+
static names() {
|
|
2113
|
+
return {
|
|
2114
|
+
accountId: 'accountId',
|
|
2115
|
+
};
|
|
2116
|
+
}
|
|
2117
|
+
static types() {
|
|
2118
|
+
return {
|
|
2119
|
+
accountId: 'string',
|
|
2120
|
+
};
|
|
2121
|
+
}
|
|
2122
|
+
}
|
|
2123
|
+
exports.AddWorkspaceMembersHeadersAccountContext = AddWorkspaceMembersHeadersAccountContext;
|
|
2124
|
+
class AddWorkspaceMembersRequestMembers extends $tea.Model {
|
|
2125
|
+
constructor(map) {
|
|
2126
|
+
super(map);
|
|
2127
|
+
}
|
|
2128
|
+
static names() {
|
|
2129
|
+
return {
|
|
2130
|
+
memberId: 'MemberId',
|
|
2131
|
+
memberType: 'MemberType',
|
|
2132
|
+
roleType: 'RoleType',
|
|
2133
|
+
};
|
|
2134
|
+
}
|
|
2135
|
+
static types() {
|
|
2136
|
+
return {
|
|
2137
|
+
memberId: 'string',
|
|
2138
|
+
memberType: 'string',
|
|
2139
|
+
roleType: 'string',
|
|
2140
|
+
};
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
exports.AddWorkspaceMembersRequestMembers = AddWorkspaceMembersRequestMembers;
|
|
2144
|
+
class AddWorkspaceMembersRequestTenantContext extends $tea.Model {
|
|
2145
|
+
constructor(map) {
|
|
2146
|
+
super(map);
|
|
2147
|
+
}
|
|
2148
|
+
static names() {
|
|
2149
|
+
return {
|
|
2150
|
+
tenantId: 'tenantId',
|
|
2151
|
+
};
|
|
2152
|
+
}
|
|
2153
|
+
static types() {
|
|
2154
|
+
return {
|
|
2155
|
+
tenantId: 'string',
|
|
2156
|
+
};
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2159
|
+
exports.AddWorkspaceMembersRequestTenantContext = AddWorkspaceMembersRequestTenantContext;
|
|
2160
|
+
class CreateSheetHeadersAccountContext extends $tea.Model {
|
|
2161
|
+
constructor(map) {
|
|
2162
|
+
super(map);
|
|
2163
|
+
}
|
|
2164
|
+
static names() {
|
|
2165
|
+
return {
|
|
2166
|
+
accountId: 'accountId',
|
|
2167
|
+
};
|
|
2168
|
+
}
|
|
2169
|
+
static types() {
|
|
2170
|
+
return {
|
|
2171
|
+
accountId: 'string',
|
|
2172
|
+
};
|
|
2173
|
+
}
|
|
2174
|
+
}
|
|
2175
|
+
exports.CreateSheetHeadersAccountContext = CreateSheetHeadersAccountContext;
|
|
2176
|
+
class CreateSheetRequestTenantContext extends $tea.Model {
|
|
2177
|
+
constructor(map) {
|
|
2178
|
+
super(map);
|
|
2179
|
+
}
|
|
2180
|
+
static names() {
|
|
2181
|
+
return {
|
|
2182
|
+
tenantId: 'tenantId',
|
|
2183
|
+
};
|
|
2184
|
+
}
|
|
2185
|
+
static types() {
|
|
2186
|
+
return {
|
|
2187
|
+
tenantId: 'string',
|
|
2188
|
+
};
|
|
2189
|
+
}
|
|
2190
|
+
}
|
|
2191
|
+
exports.CreateSheetRequestTenantContext = CreateSheetRequestTenantContext;
|
|
2192
|
+
class CreateTodoTaskHeadersAccountContext extends $tea.Model {
|
|
2193
|
+
constructor(map) {
|
|
2194
|
+
super(map);
|
|
2195
|
+
}
|
|
2196
|
+
static names() {
|
|
2197
|
+
return {
|
|
2198
|
+
accountId: 'accountId',
|
|
2199
|
+
};
|
|
2200
|
+
}
|
|
2201
|
+
static types() {
|
|
2202
|
+
return {
|
|
2203
|
+
accountId: 'string',
|
|
2204
|
+
};
|
|
2205
|
+
}
|
|
2206
|
+
}
|
|
2207
|
+
exports.CreateTodoTaskHeadersAccountContext = CreateTodoTaskHeadersAccountContext;
|
|
2208
|
+
class CreateTodoTaskRequestTenantContext extends $tea.Model {
|
|
2209
|
+
constructor(map) {
|
|
2210
|
+
super(map);
|
|
2211
|
+
}
|
|
2212
|
+
static names() {
|
|
2213
|
+
return {
|
|
2214
|
+
tenantId: 'tenantId',
|
|
2215
|
+
};
|
|
2216
|
+
}
|
|
2217
|
+
static types() {
|
|
2218
|
+
return {
|
|
2219
|
+
tenantId: 'string',
|
|
2220
|
+
};
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2223
|
+
exports.CreateTodoTaskRequestTenantContext = CreateTodoTaskRequestTenantContext;
|
|
2224
|
+
class CreateTodoTaskRequestContentFieldList extends $tea.Model {
|
|
2225
|
+
constructor(map) {
|
|
2226
|
+
super(map);
|
|
2227
|
+
}
|
|
2228
|
+
static names() {
|
|
2229
|
+
return {
|
|
2230
|
+
fieldKey: 'fieldKey',
|
|
2231
|
+
fieldValue: 'fieldValue',
|
|
2232
|
+
};
|
|
2233
|
+
}
|
|
2234
|
+
static types() {
|
|
2235
|
+
return {
|
|
2236
|
+
fieldKey: 'string',
|
|
2237
|
+
fieldValue: 'string',
|
|
2238
|
+
};
|
|
2239
|
+
}
|
|
2240
|
+
}
|
|
2241
|
+
exports.CreateTodoTaskRequestContentFieldList = CreateTodoTaskRequestContentFieldList;
|
|
2242
|
+
class CreateTodoTaskRequestDetailUrl extends $tea.Model {
|
|
2243
|
+
constructor(map) {
|
|
2244
|
+
super(map);
|
|
2245
|
+
}
|
|
2246
|
+
static names() {
|
|
2247
|
+
return {
|
|
2248
|
+
appUrl: 'appUrl',
|
|
2249
|
+
pcUrl: 'pcUrl',
|
|
2250
|
+
};
|
|
2251
|
+
}
|
|
2252
|
+
static types() {
|
|
2253
|
+
return {
|
|
2254
|
+
appUrl: 'string',
|
|
2255
|
+
pcUrl: 'string',
|
|
2256
|
+
};
|
|
2257
|
+
}
|
|
2258
|
+
}
|
|
2259
|
+
exports.CreateTodoTaskRequestDetailUrl = CreateTodoTaskRequestDetailUrl;
|
|
2260
|
+
class CreateTodoTaskRequestNotifyConfigs extends $tea.Model {
|
|
2261
|
+
constructor(map) {
|
|
2262
|
+
super(map);
|
|
2263
|
+
}
|
|
2264
|
+
static names() {
|
|
2265
|
+
return {
|
|
2266
|
+
dingNotify: 'dingNotify',
|
|
2267
|
+
};
|
|
2268
|
+
}
|
|
2269
|
+
static types() {
|
|
2270
|
+
return {
|
|
2271
|
+
dingNotify: 'string',
|
|
2272
|
+
};
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2275
|
+
exports.CreateTodoTaskRequestNotifyConfigs = CreateTodoTaskRequestNotifyConfigs;
|
|
2276
|
+
class CreateTodoTaskResponseBodyContentFieldList extends $tea.Model {
|
|
2277
|
+
constructor(map) {
|
|
2278
|
+
super(map);
|
|
2279
|
+
}
|
|
2280
|
+
static names() {
|
|
2281
|
+
return {
|
|
2282
|
+
fieldKey: 'fieldKey',
|
|
2283
|
+
fieldValue: 'fieldValue',
|
|
2284
|
+
};
|
|
2285
|
+
}
|
|
2286
|
+
static types() {
|
|
2287
|
+
return {
|
|
2288
|
+
fieldKey: 'string',
|
|
2289
|
+
fieldValue: 'string',
|
|
2290
|
+
};
|
|
2291
|
+
}
|
|
2292
|
+
}
|
|
2293
|
+
exports.CreateTodoTaskResponseBodyContentFieldList = CreateTodoTaskResponseBodyContentFieldList;
|
|
2294
|
+
class CreateTodoTaskResponseBodyDetailUrl extends $tea.Model {
|
|
2295
|
+
constructor(map) {
|
|
2296
|
+
super(map);
|
|
2297
|
+
}
|
|
2298
|
+
static names() {
|
|
2299
|
+
return {
|
|
2300
|
+
appUrl: 'appUrl',
|
|
2301
|
+
pcUrl: 'pcUrl',
|
|
2302
|
+
};
|
|
2303
|
+
}
|
|
2304
|
+
static types() {
|
|
2305
|
+
return {
|
|
2306
|
+
appUrl: 'string',
|
|
2307
|
+
pcUrl: 'string',
|
|
2308
|
+
};
|
|
2309
|
+
}
|
|
2310
|
+
}
|
|
2311
|
+
exports.CreateTodoTaskResponseBodyDetailUrl = CreateTodoTaskResponseBodyDetailUrl;
|
|
2312
|
+
class CreateTodoTaskResponseBodyNotifyConfigs extends $tea.Model {
|
|
2313
|
+
constructor(map) {
|
|
2314
|
+
super(map);
|
|
2315
|
+
}
|
|
2316
|
+
static names() {
|
|
2317
|
+
return {
|
|
2318
|
+
dingNotify: 'dingNotify',
|
|
2319
|
+
};
|
|
2320
|
+
}
|
|
2321
|
+
static types() {
|
|
2322
|
+
return {
|
|
2323
|
+
dingNotify: 'string',
|
|
2324
|
+
};
|
|
2325
|
+
}
|
|
2326
|
+
}
|
|
2327
|
+
exports.CreateTodoTaskResponseBodyNotifyConfigs = CreateTodoTaskResponseBodyNotifyConfigs;
|
|
2328
|
+
class CreateWorkspaceHeadersAccountContext extends $tea.Model {
|
|
2329
|
+
constructor(map) {
|
|
2330
|
+
super(map);
|
|
2331
|
+
}
|
|
2332
|
+
static names() {
|
|
2333
|
+
return {
|
|
2334
|
+
accountId: 'accountId',
|
|
2335
|
+
};
|
|
2336
|
+
}
|
|
2337
|
+
static types() {
|
|
2338
|
+
return {
|
|
2339
|
+
accountId: 'string',
|
|
2340
|
+
};
|
|
2341
|
+
}
|
|
2342
|
+
}
|
|
2343
|
+
exports.CreateWorkspaceHeadersAccountContext = CreateWorkspaceHeadersAccountContext;
|
|
2344
|
+
class CreateWorkspaceRequestTenantContext extends $tea.Model {
|
|
2345
|
+
constructor(map) {
|
|
2346
|
+
super(map);
|
|
2347
|
+
}
|
|
2348
|
+
static names() {
|
|
2349
|
+
return {
|
|
2350
|
+
tenantId: 'tenantId',
|
|
2351
|
+
};
|
|
2352
|
+
}
|
|
2353
|
+
static types() {
|
|
2354
|
+
return {
|
|
2355
|
+
tenantId: 'string',
|
|
2356
|
+
};
|
|
2357
|
+
}
|
|
2358
|
+
}
|
|
2359
|
+
exports.CreateWorkspaceRequestTenantContext = CreateWorkspaceRequestTenantContext;
|
|
2360
|
+
class CreateWorkspaceDocHeadersAccountContext extends $tea.Model {
|
|
2361
|
+
constructor(map) {
|
|
2362
|
+
super(map);
|
|
2363
|
+
}
|
|
2364
|
+
static names() {
|
|
2365
|
+
return {
|
|
2366
|
+
accountId: 'accountId',
|
|
2367
|
+
};
|
|
2368
|
+
}
|
|
2369
|
+
static types() {
|
|
2370
|
+
return {
|
|
2371
|
+
accountId: 'string',
|
|
2372
|
+
};
|
|
2373
|
+
}
|
|
2374
|
+
}
|
|
2375
|
+
exports.CreateWorkspaceDocHeadersAccountContext = CreateWorkspaceDocHeadersAccountContext;
|
|
2376
|
+
class CreateWorkspaceDocRequestTenantContext extends $tea.Model {
|
|
2377
|
+
constructor(map) {
|
|
2378
|
+
super(map);
|
|
2379
|
+
}
|
|
2380
|
+
static names() {
|
|
2381
|
+
return {
|
|
2382
|
+
tenantId: 'tenantId',
|
|
2383
|
+
};
|
|
2384
|
+
}
|
|
2385
|
+
static types() {
|
|
2386
|
+
return {
|
|
2387
|
+
tenantId: 'string',
|
|
2388
|
+
};
|
|
2389
|
+
}
|
|
2390
|
+
}
|
|
2391
|
+
exports.CreateWorkspaceDocRequestTenantContext = CreateWorkspaceDocRequestTenantContext;
|
|
2392
|
+
class DeleteTodoTaskHeadersAccountContext extends $tea.Model {
|
|
2393
|
+
constructor(map) {
|
|
2394
|
+
super(map);
|
|
2395
|
+
}
|
|
2396
|
+
static names() {
|
|
2397
|
+
return {
|
|
2398
|
+
accountId: 'accountId',
|
|
2399
|
+
};
|
|
2400
|
+
}
|
|
2401
|
+
static types() {
|
|
2402
|
+
return {
|
|
2403
|
+
accountId: 'string',
|
|
2404
|
+
};
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2407
|
+
exports.DeleteTodoTaskHeadersAccountContext = DeleteTodoTaskHeadersAccountContext;
|
|
2408
|
+
class DeleteTodoTaskRequestTenantContext extends $tea.Model {
|
|
2409
|
+
constructor(map) {
|
|
2410
|
+
super(map);
|
|
2411
|
+
}
|
|
2412
|
+
static names() {
|
|
2413
|
+
return {
|
|
2414
|
+
tenantId: 'tenantId',
|
|
2415
|
+
};
|
|
2416
|
+
}
|
|
2417
|
+
static types() {
|
|
2418
|
+
return {
|
|
2419
|
+
tenantId: 'string',
|
|
2420
|
+
};
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
exports.DeleteTodoTaskRequestTenantContext = DeleteTodoTaskRequestTenantContext;
|
|
2424
|
+
class DeleteWorkspaceDocMembersHeadersAccountContext extends $tea.Model {
|
|
2425
|
+
constructor(map) {
|
|
2426
|
+
super(map);
|
|
2427
|
+
}
|
|
2428
|
+
static names() {
|
|
2429
|
+
return {
|
|
2430
|
+
accountId: 'accountId',
|
|
2431
|
+
};
|
|
2432
|
+
}
|
|
2433
|
+
static types() {
|
|
2434
|
+
return {
|
|
2435
|
+
accountId: 'string',
|
|
2436
|
+
};
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2439
|
+
exports.DeleteWorkspaceDocMembersHeadersAccountContext = DeleteWorkspaceDocMembersHeadersAccountContext;
|
|
2440
|
+
class DeleteWorkspaceDocMembersRequestMembers extends $tea.Model {
|
|
2441
|
+
constructor(map) {
|
|
2442
|
+
super(map);
|
|
2443
|
+
}
|
|
2444
|
+
static names() {
|
|
2445
|
+
return {
|
|
2446
|
+
memberId: 'MemberId',
|
|
2447
|
+
memberType: 'MemberType',
|
|
2448
|
+
};
|
|
2449
|
+
}
|
|
2450
|
+
static types() {
|
|
2451
|
+
return {
|
|
2452
|
+
memberId: 'string',
|
|
2453
|
+
memberType: 'string',
|
|
2454
|
+
};
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2457
|
+
exports.DeleteWorkspaceDocMembersRequestMembers = DeleteWorkspaceDocMembersRequestMembers;
|
|
2458
|
+
class DeleteWorkspaceDocMembersRequestTenantContext extends $tea.Model {
|
|
2459
|
+
constructor(map) {
|
|
2460
|
+
super(map);
|
|
2461
|
+
}
|
|
2462
|
+
static names() {
|
|
2463
|
+
return {
|
|
2464
|
+
tenantId: 'tenantId',
|
|
2465
|
+
};
|
|
2466
|
+
}
|
|
2467
|
+
static types() {
|
|
2468
|
+
return {
|
|
2469
|
+
tenantId: 'string',
|
|
2470
|
+
};
|
|
2471
|
+
}
|
|
2472
|
+
}
|
|
2473
|
+
exports.DeleteWorkspaceDocMembersRequestTenantContext = DeleteWorkspaceDocMembersRequestTenantContext;
|
|
2474
|
+
class DeleteWorkspaceMembersHeadersAccountContext extends $tea.Model {
|
|
2475
|
+
constructor(map) {
|
|
2476
|
+
super(map);
|
|
2477
|
+
}
|
|
2478
|
+
static names() {
|
|
2479
|
+
return {
|
|
2480
|
+
accountId: 'accountId',
|
|
2481
|
+
};
|
|
2482
|
+
}
|
|
2483
|
+
static types() {
|
|
2484
|
+
return {
|
|
2485
|
+
accountId: 'string',
|
|
2486
|
+
};
|
|
2487
|
+
}
|
|
2488
|
+
}
|
|
2489
|
+
exports.DeleteWorkspaceMembersHeadersAccountContext = DeleteWorkspaceMembersHeadersAccountContext;
|
|
2490
|
+
class DeleteWorkspaceMembersRequestMembers extends $tea.Model {
|
|
2491
|
+
constructor(map) {
|
|
2492
|
+
super(map);
|
|
2493
|
+
}
|
|
2494
|
+
static names() {
|
|
2495
|
+
return {
|
|
2496
|
+
memberId: 'MemberId',
|
|
2497
|
+
memberType: 'MemberType',
|
|
2498
|
+
};
|
|
2499
|
+
}
|
|
2500
|
+
static types() {
|
|
2501
|
+
return {
|
|
2502
|
+
memberId: 'string',
|
|
2503
|
+
memberType: 'string',
|
|
2504
|
+
};
|
|
2505
|
+
}
|
|
2506
|
+
}
|
|
2507
|
+
exports.DeleteWorkspaceMembersRequestMembers = DeleteWorkspaceMembersRequestMembers;
|
|
2508
|
+
class DeleteWorkspaceMembersRequestTenantContext extends $tea.Model {
|
|
2509
|
+
constructor(map) {
|
|
2510
|
+
super(map);
|
|
2511
|
+
}
|
|
2512
|
+
static names() {
|
|
2513
|
+
return {
|
|
2514
|
+
tenantId: 'tenantId',
|
|
2515
|
+
};
|
|
2516
|
+
}
|
|
2517
|
+
static types() {
|
|
2518
|
+
return {
|
|
2519
|
+
tenantId: 'string',
|
|
2520
|
+
};
|
|
2521
|
+
}
|
|
2522
|
+
}
|
|
2523
|
+
exports.DeleteWorkspaceMembersRequestTenantContext = DeleteWorkspaceMembersRequestTenantContext;
|
|
2524
|
+
class GetUserHeadersAccountContext extends $tea.Model {
|
|
2525
|
+
constructor(map) {
|
|
2526
|
+
super(map);
|
|
2527
|
+
}
|
|
2528
|
+
static names() {
|
|
2529
|
+
return {
|
|
2530
|
+
accountId: 'accountId',
|
|
2531
|
+
};
|
|
2532
|
+
}
|
|
2533
|
+
static types() {
|
|
2534
|
+
return {
|
|
2535
|
+
accountId: 'string',
|
|
2536
|
+
};
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
exports.GetUserHeadersAccountContext = GetUserHeadersAccountContext;
|
|
2540
|
+
class GetUserRequestTenantContext extends $tea.Model {
|
|
2541
|
+
constructor(map) {
|
|
2542
|
+
super(map);
|
|
2543
|
+
}
|
|
2544
|
+
static names() {
|
|
2545
|
+
return {
|
|
2546
|
+
tenantId: 'tenantId',
|
|
2547
|
+
};
|
|
2548
|
+
}
|
|
2549
|
+
static types() {
|
|
2550
|
+
return {
|
|
2551
|
+
tenantId: 'string',
|
|
2552
|
+
};
|
|
2553
|
+
}
|
|
2554
|
+
}
|
|
2555
|
+
exports.GetUserRequestTenantContext = GetUserRequestTenantContext;
|
|
2556
|
+
class GetUserResponseBodyDeptOrderList extends $tea.Model {
|
|
2557
|
+
constructor(map) {
|
|
2558
|
+
super(map);
|
|
2559
|
+
}
|
|
2560
|
+
static names() {
|
|
2561
|
+
return {
|
|
2562
|
+
deptId: 'deptId',
|
|
2563
|
+
order: 'order',
|
|
2564
|
+
};
|
|
2565
|
+
}
|
|
2566
|
+
static types() {
|
|
2567
|
+
return {
|
|
2568
|
+
deptId: 'number',
|
|
2569
|
+
order: 'number',
|
|
2570
|
+
};
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2573
|
+
exports.GetUserResponseBodyDeptOrderList = GetUserResponseBodyDeptOrderList;
|
|
2574
|
+
class GetUserResponseBodyLeaderInDept extends $tea.Model {
|
|
2575
|
+
constructor(map) {
|
|
2576
|
+
super(map);
|
|
2577
|
+
}
|
|
2578
|
+
static names() {
|
|
2579
|
+
return {
|
|
2580
|
+
deptId: 'deptId',
|
|
2581
|
+
leader: 'leader',
|
|
2582
|
+
};
|
|
2583
|
+
}
|
|
2584
|
+
static types() {
|
|
2585
|
+
return {
|
|
2586
|
+
deptId: 'number',
|
|
2587
|
+
leader: 'boolean',
|
|
2588
|
+
};
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
exports.GetUserResponseBodyLeaderInDept = GetUserResponseBodyLeaderInDept;
|
|
2592
|
+
class GetUserResponseBodyRoleList extends $tea.Model {
|
|
2593
|
+
constructor(map) {
|
|
2594
|
+
super(map);
|
|
2595
|
+
}
|
|
2596
|
+
static names() {
|
|
2597
|
+
return {
|
|
2598
|
+
groupName: 'groupName',
|
|
2599
|
+
id: 'id',
|
|
2600
|
+
name: 'name',
|
|
2601
|
+
};
|
|
2602
|
+
}
|
|
2603
|
+
static types() {
|
|
2604
|
+
return {
|
|
2605
|
+
groupName: 'string',
|
|
2606
|
+
id: 'number',
|
|
2607
|
+
name: 'string',
|
|
2608
|
+
};
|
|
2609
|
+
}
|
|
2610
|
+
}
|
|
2611
|
+
exports.GetUserResponseBodyRoleList = GetUserResponseBodyRoleList;
|
|
2612
|
+
class GetUserResponseBodyUnionEmpExtUnionEmpMapList extends $tea.Model {
|
|
2613
|
+
constructor(map) {
|
|
2614
|
+
super(map);
|
|
2615
|
+
}
|
|
2616
|
+
static names() {
|
|
2617
|
+
return {
|
|
2618
|
+
cropId: 'cropId',
|
|
2619
|
+
userid: 'userid',
|
|
2620
|
+
};
|
|
2621
|
+
}
|
|
2622
|
+
static types() {
|
|
2623
|
+
return {
|
|
2624
|
+
cropId: 'string',
|
|
2625
|
+
userid: 'string',
|
|
2626
|
+
};
|
|
2627
|
+
}
|
|
2628
|
+
}
|
|
2629
|
+
exports.GetUserResponseBodyUnionEmpExtUnionEmpMapList = GetUserResponseBodyUnionEmpExtUnionEmpMapList;
|
|
2630
|
+
class GetUserResponseBodyUnionEmpExt extends $tea.Model {
|
|
2631
|
+
constructor(map) {
|
|
2632
|
+
super(map);
|
|
2633
|
+
}
|
|
2634
|
+
static names() {
|
|
2635
|
+
return {
|
|
2636
|
+
corpId: 'corpId',
|
|
2637
|
+
unionEmpMapList: 'unionEmpMapList',
|
|
2638
|
+
userid: 'userid',
|
|
2639
|
+
};
|
|
2640
|
+
}
|
|
2641
|
+
static types() {
|
|
2642
|
+
return {
|
|
2643
|
+
corpId: 'string',
|
|
2644
|
+
unionEmpMapList: { 'type': 'array', 'itemType': GetUserResponseBodyUnionEmpExtUnionEmpMapList },
|
|
2645
|
+
userid: 'string',
|
|
2646
|
+
};
|
|
2647
|
+
}
|
|
2648
|
+
}
|
|
2649
|
+
exports.GetUserResponseBodyUnionEmpExt = GetUserResponseBodyUnionEmpExt;
|
|
2650
|
+
class InsertRowsBeforeHeadersAccountContext extends $tea.Model {
|
|
2651
|
+
constructor(map) {
|
|
2652
|
+
super(map);
|
|
2653
|
+
}
|
|
2654
|
+
static names() {
|
|
2655
|
+
return {
|
|
2656
|
+
accountId: 'accountId',
|
|
2657
|
+
};
|
|
2658
|
+
}
|
|
2659
|
+
static types() {
|
|
2660
|
+
return {
|
|
2661
|
+
accountId: 'string',
|
|
2662
|
+
};
|
|
2663
|
+
}
|
|
2664
|
+
}
|
|
2665
|
+
exports.InsertRowsBeforeHeadersAccountContext = InsertRowsBeforeHeadersAccountContext;
|
|
2666
|
+
class InsertRowsBeforeRequestTenantContext extends $tea.Model {
|
|
2667
|
+
constructor(map) {
|
|
2668
|
+
super(map);
|
|
2669
|
+
}
|
|
2670
|
+
static names() {
|
|
2671
|
+
return {
|
|
2672
|
+
tenantId: 'tenantId',
|
|
2673
|
+
};
|
|
2674
|
+
}
|
|
2675
|
+
static types() {
|
|
2676
|
+
return {
|
|
2677
|
+
tenantId: 'string',
|
|
2678
|
+
};
|
|
2679
|
+
}
|
|
2680
|
+
}
|
|
2681
|
+
exports.InsertRowsBeforeRequestTenantContext = InsertRowsBeforeRequestTenantContext;
|
|
2682
|
+
class QueryOrgTodoTasksHeadersAccountContext extends $tea.Model {
|
|
2683
|
+
constructor(map) {
|
|
2684
|
+
super(map);
|
|
2685
|
+
}
|
|
2686
|
+
static names() {
|
|
2687
|
+
return {
|
|
2688
|
+
accountId: 'accountId',
|
|
2689
|
+
};
|
|
2690
|
+
}
|
|
2691
|
+
static types() {
|
|
2692
|
+
return {
|
|
2693
|
+
accountId: 'string',
|
|
2694
|
+
};
|
|
2695
|
+
}
|
|
2696
|
+
}
|
|
2697
|
+
exports.QueryOrgTodoTasksHeadersAccountContext = QueryOrgTodoTasksHeadersAccountContext;
|
|
2698
|
+
class QueryOrgTodoTasksRequestTenantContext extends $tea.Model {
|
|
2699
|
+
constructor(map) {
|
|
2700
|
+
super(map);
|
|
2701
|
+
}
|
|
2702
|
+
static names() {
|
|
2703
|
+
return {
|
|
2704
|
+
tenantId: 'tenantId',
|
|
2705
|
+
};
|
|
2706
|
+
}
|
|
2707
|
+
static types() {
|
|
2708
|
+
return {
|
|
2709
|
+
tenantId: 'string',
|
|
2710
|
+
};
|
|
2711
|
+
}
|
|
2712
|
+
}
|
|
2713
|
+
exports.QueryOrgTodoTasksRequestTenantContext = QueryOrgTodoTasksRequestTenantContext;
|
|
2714
|
+
class QueryOrgTodoTasksResponseBodyTodoCardsDetailUrl extends $tea.Model {
|
|
2715
|
+
constructor(map) {
|
|
2716
|
+
super(map);
|
|
2717
|
+
}
|
|
2718
|
+
static names() {
|
|
2719
|
+
return {
|
|
2720
|
+
appUrl: 'appUrl',
|
|
2721
|
+
pcUrl: 'pcUrl',
|
|
2722
|
+
};
|
|
2723
|
+
}
|
|
2724
|
+
static types() {
|
|
2725
|
+
return {
|
|
2726
|
+
appUrl: 'string',
|
|
2727
|
+
pcUrl: 'string',
|
|
2728
|
+
};
|
|
2729
|
+
}
|
|
2730
|
+
}
|
|
2731
|
+
exports.QueryOrgTodoTasksResponseBodyTodoCardsDetailUrl = QueryOrgTodoTasksResponseBodyTodoCardsDetailUrl;
|
|
2732
|
+
class QueryOrgTodoTasksResponseBodyTodoCards extends $tea.Model {
|
|
2733
|
+
constructor(map) {
|
|
2734
|
+
super(map);
|
|
2735
|
+
}
|
|
2736
|
+
static names() {
|
|
2737
|
+
return {
|
|
2738
|
+
bizTag: 'bizTag',
|
|
2739
|
+
createdTime: 'createdTime',
|
|
2740
|
+
creatorId: 'creatorId',
|
|
2741
|
+
detailUrl: 'detailUrl',
|
|
2742
|
+
dueTime: 'dueTime',
|
|
2743
|
+
isDone: 'isDone',
|
|
2744
|
+
modifiedTime: 'modifiedTime',
|
|
2745
|
+
priority: 'priority',
|
|
2746
|
+
sourceId: 'sourceId',
|
|
2747
|
+
subject: 'subject',
|
|
2748
|
+
taskId: 'taskId',
|
|
2749
|
+
};
|
|
2750
|
+
}
|
|
2751
|
+
static types() {
|
|
2752
|
+
return {
|
|
2753
|
+
bizTag: 'string',
|
|
2754
|
+
createdTime: 'number',
|
|
2755
|
+
creatorId: 'string',
|
|
2756
|
+
detailUrl: QueryOrgTodoTasksResponseBodyTodoCardsDetailUrl,
|
|
2757
|
+
dueTime: 'number',
|
|
2758
|
+
isDone: 'boolean',
|
|
2759
|
+
modifiedTime: 'number',
|
|
2760
|
+
priority: 'number',
|
|
2761
|
+
sourceId: 'string',
|
|
2762
|
+
subject: 'string',
|
|
2763
|
+
taskId: 'string',
|
|
2764
|
+
};
|
|
2765
|
+
}
|
|
2766
|
+
}
|
|
2767
|
+
exports.QueryOrgTodoTasksResponseBodyTodoCards = QueryOrgTodoTasksResponseBodyTodoCards;
|
|
2768
|
+
class UpdateTodoTaskHeadersAccountContext extends $tea.Model {
|
|
2769
|
+
constructor(map) {
|
|
2770
|
+
super(map);
|
|
2771
|
+
}
|
|
2772
|
+
static names() {
|
|
2773
|
+
return {
|
|
2774
|
+
accountId: 'accountId',
|
|
2775
|
+
};
|
|
2776
|
+
}
|
|
2777
|
+
static types() {
|
|
2778
|
+
return {
|
|
2779
|
+
accountId: 'string',
|
|
2780
|
+
};
|
|
2781
|
+
}
|
|
2782
|
+
}
|
|
2783
|
+
exports.UpdateTodoTaskHeadersAccountContext = UpdateTodoTaskHeadersAccountContext;
|
|
2784
|
+
class UpdateTodoTaskRequestTenantContext extends $tea.Model {
|
|
2785
|
+
constructor(map) {
|
|
2786
|
+
super(map);
|
|
2787
|
+
}
|
|
2788
|
+
static names() {
|
|
2789
|
+
return {
|
|
2790
|
+
tenantId: 'tenantId',
|
|
2791
|
+
};
|
|
2792
|
+
}
|
|
2793
|
+
static types() {
|
|
2794
|
+
return {
|
|
2795
|
+
tenantId: 'string',
|
|
2796
|
+
};
|
|
2797
|
+
}
|
|
2798
|
+
}
|
|
2799
|
+
exports.UpdateTodoTaskRequestTenantContext = UpdateTodoTaskRequestTenantContext;
|
|
2800
|
+
class UpdateTodoTaskExecutorStatusHeadersAccountContext extends $tea.Model {
|
|
2801
|
+
constructor(map) {
|
|
2802
|
+
super(map);
|
|
2803
|
+
}
|
|
2804
|
+
static names() {
|
|
2805
|
+
return {
|
|
2806
|
+
accountId: 'accountId',
|
|
2807
|
+
};
|
|
2808
|
+
}
|
|
2809
|
+
static types() {
|
|
2810
|
+
return {
|
|
2811
|
+
accountId: 'string',
|
|
2812
|
+
};
|
|
2813
|
+
}
|
|
2814
|
+
}
|
|
2815
|
+
exports.UpdateTodoTaskExecutorStatusHeadersAccountContext = UpdateTodoTaskExecutorStatusHeadersAccountContext;
|
|
2816
|
+
class UpdateTodoTaskExecutorStatusRequestTenantContext extends $tea.Model {
|
|
2817
|
+
constructor(map) {
|
|
2818
|
+
super(map);
|
|
2819
|
+
}
|
|
2820
|
+
static names() {
|
|
2821
|
+
return {
|
|
2822
|
+
tenantId: 'tenantId',
|
|
2823
|
+
};
|
|
2824
|
+
}
|
|
2825
|
+
static types() {
|
|
2826
|
+
return {
|
|
2827
|
+
tenantId: 'string',
|
|
2828
|
+
};
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
exports.UpdateTodoTaskExecutorStatusRequestTenantContext = UpdateTodoTaskExecutorStatusRequestTenantContext;
|
|
2832
|
+
class UpdateTodoTaskExecutorStatusRequestExecutorStatusList extends $tea.Model {
|
|
2833
|
+
constructor(map) {
|
|
2834
|
+
super(map);
|
|
2835
|
+
}
|
|
2836
|
+
static names() {
|
|
2837
|
+
return {
|
|
2838
|
+
id: 'id',
|
|
2839
|
+
isDone: 'isDone',
|
|
2840
|
+
};
|
|
2841
|
+
}
|
|
2842
|
+
static types() {
|
|
2843
|
+
return {
|
|
2844
|
+
id: 'string',
|
|
2845
|
+
isDone: 'boolean',
|
|
2846
|
+
};
|
|
2847
|
+
}
|
|
2848
|
+
}
|
|
2849
|
+
exports.UpdateTodoTaskExecutorStatusRequestExecutorStatusList = UpdateTodoTaskExecutorStatusRequestExecutorStatusList;
|
|
2850
|
+
class UpdateWorkspaceDocMembersHeadersAccountContext extends $tea.Model {
|
|
2851
|
+
constructor(map) {
|
|
2852
|
+
super(map);
|
|
2853
|
+
}
|
|
2854
|
+
static names() {
|
|
2855
|
+
return {
|
|
2856
|
+
accountId: 'accountId',
|
|
2857
|
+
};
|
|
2858
|
+
}
|
|
2859
|
+
static types() {
|
|
2860
|
+
return {
|
|
2861
|
+
accountId: 'string',
|
|
2862
|
+
};
|
|
2863
|
+
}
|
|
2864
|
+
}
|
|
2865
|
+
exports.UpdateWorkspaceDocMembersHeadersAccountContext = UpdateWorkspaceDocMembersHeadersAccountContext;
|
|
2866
|
+
class UpdateWorkspaceDocMembersRequestMembers extends $tea.Model {
|
|
2867
|
+
constructor(map) {
|
|
2868
|
+
super(map);
|
|
2869
|
+
}
|
|
2870
|
+
static names() {
|
|
2871
|
+
return {
|
|
2872
|
+
memberId: 'MemberId',
|
|
2873
|
+
memberType: 'MemberType',
|
|
2874
|
+
roleType: 'RoleType',
|
|
2875
|
+
};
|
|
2876
|
+
}
|
|
2877
|
+
static types() {
|
|
2878
|
+
return {
|
|
2879
|
+
memberId: 'string',
|
|
2880
|
+
memberType: 'string',
|
|
2881
|
+
roleType: 'string',
|
|
2882
|
+
};
|
|
2883
|
+
}
|
|
2884
|
+
}
|
|
2885
|
+
exports.UpdateWorkspaceDocMembersRequestMembers = UpdateWorkspaceDocMembersRequestMembers;
|
|
2886
|
+
class UpdateWorkspaceDocMembersRequestTenantContext extends $tea.Model {
|
|
2887
|
+
constructor(map) {
|
|
2888
|
+
super(map);
|
|
2889
|
+
}
|
|
2890
|
+
static names() {
|
|
2891
|
+
return {
|
|
2892
|
+
tenantId: 'tenantId',
|
|
2893
|
+
};
|
|
2894
|
+
}
|
|
2895
|
+
static types() {
|
|
2896
|
+
return {
|
|
2897
|
+
tenantId: 'string',
|
|
2898
|
+
};
|
|
2899
|
+
}
|
|
2900
|
+
}
|
|
2901
|
+
exports.UpdateWorkspaceDocMembersRequestTenantContext = UpdateWorkspaceDocMembersRequestTenantContext;
|
|
2902
|
+
class UpdateWorkspaceMembersHeadersAccountContext extends $tea.Model {
|
|
2903
|
+
constructor(map) {
|
|
2904
|
+
super(map);
|
|
2905
|
+
}
|
|
2906
|
+
static names() {
|
|
2907
|
+
return {
|
|
2908
|
+
accountId: 'accountId',
|
|
2909
|
+
};
|
|
2910
|
+
}
|
|
2911
|
+
static types() {
|
|
2912
|
+
return {
|
|
2913
|
+
accountId: 'string',
|
|
2914
|
+
};
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
exports.UpdateWorkspaceMembersHeadersAccountContext = UpdateWorkspaceMembersHeadersAccountContext;
|
|
2918
|
+
class UpdateWorkspaceMembersRequestMembers extends $tea.Model {
|
|
2919
|
+
constructor(map) {
|
|
2920
|
+
super(map);
|
|
2921
|
+
}
|
|
2922
|
+
static names() {
|
|
2923
|
+
return {
|
|
2924
|
+
memberId: 'MemberId',
|
|
2925
|
+
memberType: 'MemberType',
|
|
2926
|
+
roleType: 'RoleType',
|
|
2927
|
+
};
|
|
2928
|
+
}
|
|
2929
|
+
static types() {
|
|
2930
|
+
return {
|
|
2931
|
+
memberId: 'string',
|
|
2932
|
+
memberType: 'string',
|
|
2933
|
+
roleType: 'string',
|
|
2934
|
+
};
|
|
2935
|
+
}
|
|
2936
|
+
}
|
|
2937
|
+
exports.UpdateWorkspaceMembersRequestMembers = UpdateWorkspaceMembersRequestMembers;
|
|
2938
|
+
class UpdateWorkspaceMembersRequestTenantContext extends $tea.Model {
|
|
2939
|
+
constructor(map) {
|
|
2940
|
+
super(map);
|
|
2941
|
+
}
|
|
2942
|
+
static names() {
|
|
2943
|
+
return {
|
|
2944
|
+
tenantId: 'tenantId',
|
|
2945
|
+
};
|
|
2946
|
+
}
|
|
2947
|
+
static types() {
|
|
2948
|
+
return {
|
|
2949
|
+
tenantId: 'string',
|
|
2950
|
+
};
|
|
2951
|
+
}
|
|
2952
|
+
}
|
|
2953
|
+
exports.UpdateWorkspaceMembersRequestTenantContext = UpdateWorkspaceMembersRequestTenantContext;
|
|
2954
|
+
class Client extends openapi_client_1.default {
|
|
2955
|
+
constructor(config) {
|
|
2956
|
+
super(config);
|
|
2957
|
+
this._endpointRule = "";
|
|
2958
|
+
this.checkConfig(config);
|
|
2959
|
+
this._endpoint = this.getEndpoint("aliding", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
2960
|
+
}
|
|
2961
|
+
getEndpoint(productId, regionId, endpointRule, network, suffix, endpointMap, endpoint) {
|
|
2962
|
+
if (!tea_util_1.default.empty(endpoint)) {
|
|
2963
|
+
return endpoint;
|
|
2964
|
+
}
|
|
2965
|
+
if (!tea_util_1.default.isUnset(endpointMap) && !tea_util_1.default.empty(endpointMap[regionId])) {
|
|
2966
|
+
return endpointMap[regionId];
|
|
2967
|
+
}
|
|
2968
|
+
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
2969
|
+
}
|
|
2970
|
+
async addWorkspaceDocMembersWithOptions(tmpReq, tmpHeader, runtime) {
|
|
2971
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
2972
|
+
let request = new AddWorkspaceDocMembersShrinkRequest({});
|
|
2973
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
2974
|
+
let headers = new AddWorkspaceDocMembersShrinkHeaders({});
|
|
2975
|
+
openapi_util_1.default.convert(tmpHeader, headers);
|
|
2976
|
+
if (!tea_util_1.default.isUnset(tmpHeader.accountContext)) {
|
|
2977
|
+
headers.accountContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
2978
|
+
}
|
|
2979
|
+
if (!tea_util_1.default.isUnset(tmpReq.members)) {
|
|
2980
|
+
request.membersShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.members, "Members", "json");
|
|
2981
|
+
}
|
|
2982
|
+
if (!tea_util_1.default.isUnset(tmpReq.tenantContext)) {
|
|
2983
|
+
request.tenantContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
2984
|
+
}
|
|
2985
|
+
let body = {};
|
|
2986
|
+
if (!tea_util_1.default.isUnset(request.membersShrink)) {
|
|
2987
|
+
body["Members"] = request.membersShrink;
|
|
2988
|
+
}
|
|
2989
|
+
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
2990
|
+
body["NodeId"] = request.nodeId;
|
|
2991
|
+
}
|
|
2992
|
+
if (!tea_util_1.default.isUnset(request.tenantContextShrink)) {
|
|
2993
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
2994
|
+
}
|
|
2995
|
+
if (!tea_util_1.default.isUnset(request.workspaceId)) {
|
|
2996
|
+
body["WorkspaceId"] = request.workspaceId;
|
|
2997
|
+
}
|
|
2998
|
+
let realHeaders = {};
|
|
2999
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3000
|
+
realHeaders = headers.commonHeaders;
|
|
3001
|
+
}
|
|
3002
|
+
if (!tea_util_1.default.isUnset(headers.accountContextShrink)) {
|
|
3003
|
+
realHeaders["AccountContext"] = tea_util_1.default.toJSONString(headers.accountContextShrink);
|
|
3004
|
+
}
|
|
3005
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3006
|
+
headers: realHeaders,
|
|
3007
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3008
|
+
});
|
|
3009
|
+
let params = new $OpenApi.Params({
|
|
3010
|
+
action: "AddWorkspaceDocMembers",
|
|
3011
|
+
version: "2023-04-26",
|
|
3012
|
+
protocol: "HTTPS",
|
|
3013
|
+
pathname: `/dingtalk/v1/documents/addWorkspaceDocMembers`,
|
|
3014
|
+
method: "POST",
|
|
3015
|
+
authType: "AK",
|
|
3016
|
+
style: "ROA",
|
|
3017
|
+
reqBodyType: "formData",
|
|
3018
|
+
bodyType: "json",
|
|
3019
|
+
});
|
|
3020
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AddWorkspaceDocMembersResponse({}));
|
|
3021
|
+
}
|
|
3022
|
+
async addWorkspaceDocMembers(request) {
|
|
3023
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3024
|
+
let headers = new AddWorkspaceDocMembersHeaders({});
|
|
3025
|
+
return await this.addWorkspaceDocMembersWithOptions(request, headers, runtime);
|
|
3026
|
+
}
|
|
3027
|
+
async addWorkspaceMembersWithOptions(tmpReq, tmpHeader, runtime) {
|
|
3028
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3029
|
+
let request = new AddWorkspaceMembersShrinkRequest({});
|
|
3030
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3031
|
+
let headers = new AddWorkspaceMembersShrinkHeaders({});
|
|
3032
|
+
openapi_util_1.default.convert(tmpHeader, headers);
|
|
3033
|
+
if (!tea_util_1.default.isUnset(tmpHeader.accountContext)) {
|
|
3034
|
+
headers.accountContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
3035
|
+
}
|
|
3036
|
+
if (!tea_util_1.default.isUnset(tmpReq.members)) {
|
|
3037
|
+
request.membersShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.members, "Members", "json");
|
|
3038
|
+
}
|
|
3039
|
+
if (!tea_util_1.default.isUnset(tmpReq.tenantContext)) {
|
|
3040
|
+
request.tenantContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
3041
|
+
}
|
|
3042
|
+
let body = {};
|
|
3043
|
+
if (!tea_util_1.default.isUnset(request.membersShrink)) {
|
|
3044
|
+
body["Members"] = request.membersShrink;
|
|
3045
|
+
}
|
|
3046
|
+
if (!tea_util_1.default.isUnset(request.tenantContextShrink)) {
|
|
3047
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
3048
|
+
}
|
|
3049
|
+
if (!tea_util_1.default.isUnset(request.workspaceId)) {
|
|
3050
|
+
body["WorkspaceId"] = request.workspaceId;
|
|
3051
|
+
}
|
|
3052
|
+
let realHeaders = {};
|
|
3053
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3054
|
+
realHeaders = headers.commonHeaders;
|
|
3055
|
+
}
|
|
3056
|
+
if (!tea_util_1.default.isUnset(headers.accountContextShrink)) {
|
|
3057
|
+
realHeaders["AccountContext"] = tea_util_1.default.toJSONString(headers.accountContextShrink);
|
|
3058
|
+
}
|
|
3059
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3060
|
+
headers: realHeaders,
|
|
3061
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3062
|
+
});
|
|
3063
|
+
let params = new $OpenApi.Params({
|
|
3064
|
+
action: "AddWorkspaceMembers",
|
|
3065
|
+
version: "2023-04-26",
|
|
3066
|
+
protocol: "HTTPS",
|
|
3067
|
+
pathname: `/dingtalk/v1/documents/addWorkspaceMembers`,
|
|
3068
|
+
method: "POST",
|
|
3069
|
+
authType: "AK",
|
|
3070
|
+
style: "ROA",
|
|
3071
|
+
reqBodyType: "formData",
|
|
3072
|
+
bodyType: "json",
|
|
3073
|
+
});
|
|
3074
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AddWorkspaceMembersResponse({}));
|
|
3075
|
+
}
|
|
3076
|
+
async addWorkspaceMembers(request) {
|
|
3077
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3078
|
+
let headers = new AddWorkspaceMembersHeaders({});
|
|
3079
|
+
return await this.addWorkspaceMembersWithOptions(request, headers, runtime);
|
|
341
3080
|
}
|
|
342
3081
|
async createSheetWithOptions(tmpReq, tmpHeader, runtime) {
|
|
343
3082
|
tea_util_1.default.validateModel(tmpReq);
|
|
344
|
-
let request = new CreateSheetShrinkRequest({});
|
|
3083
|
+
let request = new CreateSheetShrinkRequest({});
|
|
3084
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3085
|
+
let headers = new CreateSheetShrinkHeaders({});
|
|
3086
|
+
openapi_util_1.default.convert(tmpHeader, headers);
|
|
3087
|
+
if (!tea_util_1.default.isUnset(tmpHeader.accountContext)) {
|
|
3088
|
+
headers.accountContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
3089
|
+
}
|
|
3090
|
+
if (!tea_util_1.default.isUnset(tmpReq.tenantContext)) {
|
|
3091
|
+
request.tenantContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
3092
|
+
}
|
|
3093
|
+
let body = {};
|
|
3094
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
3095
|
+
body["Name"] = request.name;
|
|
3096
|
+
}
|
|
3097
|
+
if (!tea_util_1.default.isUnset(request.tenantContextShrink)) {
|
|
3098
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
3099
|
+
}
|
|
3100
|
+
if (!tea_util_1.default.isUnset(request.workbookId)) {
|
|
3101
|
+
body["WorkbookId"] = request.workbookId;
|
|
3102
|
+
}
|
|
3103
|
+
let realHeaders = {};
|
|
3104
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3105
|
+
realHeaders = headers.commonHeaders;
|
|
3106
|
+
}
|
|
3107
|
+
if (!tea_util_1.default.isUnset(headers.accountContextShrink)) {
|
|
3108
|
+
realHeaders["AccountContext"] = tea_util_1.default.toJSONString(headers.accountContextShrink);
|
|
3109
|
+
}
|
|
3110
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3111
|
+
headers: realHeaders,
|
|
3112
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3113
|
+
});
|
|
3114
|
+
let params = new $OpenApi.Params({
|
|
3115
|
+
action: "CreateSheet",
|
|
3116
|
+
version: "2023-04-26",
|
|
3117
|
+
protocol: "HTTPS",
|
|
3118
|
+
pathname: `/dingtalk/v1/documents/createSheet`,
|
|
3119
|
+
method: "POST",
|
|
3120
|
+
authType: "AK",
|
|
3121
|
+
style: "ROA",
|
|
3122
|
+
reqBodyType: "formData",
|
|
3123
|
+
bodyType: "json",
|
|
3124
|
+
});
|
|
3125
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateSheetResponse({}));
|
|
3126
|
+
}
|
|
3127
|
+
async createSheet(request) {
|
|
3128
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3129
|
+
let headers = new CreateSheetHeaders({});
|
|
3130
|
+
return await this.createSheetWithOptions(request, headers, runtime);
|
|
3131
|
+
}
|
|
3132
|
+
async createTodoTaskWithOptions(tmpReq, tmpHeader, runtime) {
|
|
3133
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3134
|
+
let request = new CreateTodoTaskShrinkRequest({});
|
|
3135
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3136
|
+
let headers = new CreateTodoTaskShrinkHeaders({});
|
|
3137
|
+
openapi_util_1.default.convert(tmpHeader, headers);
|
|
3138
|
+
if (!tea_util_1.default.isUnset(tmpHeader.accountContext)) {
|
|
3139
|
+
headers.accountContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
3140
|
+
}
|
|
3141
|
+
if (!tea_util_1.default.isUnset(tmpReq.tenantContext)) {
|
|
3142
|
+
request.tenantContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
3143
|
+
}
|
|
3144
|
+
if (!tea_util_1.default.isUnset(tmpReq.contentFieldList)) {
|
|
3145
|
+
request.contentFieldListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.contentFieldList, "contentFieldList", "json");
|
|
3146
|
+
}
|
|
3147
|
+
if (!tea_util_1.default.isUnset(tmpReq.detailUrl)) {
|
|
3148
|
+
request.detailUrlShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.detailUrl, "detailUrl", "json");
|
|
3149
|
+
}
|
|
3150
|
+
if (!tea_util_1.default.isUnset(tmpReq.executorIds)) {
|
|
3151
|
+
request.executorIdsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.executorIds, "executorIds", "json");
|
|
3152
|
+
}
|
|
3153
|
+
if (!tea_util_1.default.isUnset(tmpReq.notifyConfigs)) {
|
|
3154
|
+
request.notifyConfigsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.notifyConfigs, "notifyConfigs", "json");
|
|
3155
|
+
}
|
|
3156
|
+
if (!tea_util_1.default.isUnset(tmpReq.participantIds)) {
|
|
3157
|
+
request.participantIdsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.participantIds, "participantIds", "json");
|
|
3158
|
+
}
|
|
3159
|
+
let query = {};
|
|
3160
|
+
if (!tea_util_1.default.isUnset(request.operatorId)) {
|
|
3161
|
+
query["operatorId"] = request.operatorId;
|
|
3162
|
+
}
|
|
3163
|
+
let body = {};
|
|
3164
|
+
if (!tea_util_1.default.isUnset(request.tenantContextShrink)) {
|
|
3165
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
3166
|
+
}
|
|
3167
|
+
if (!tea_util_1.default.isUnset(request.contentFieldListShrink)) {
|
|
3168
|
+
body["contentFieldList"] = request.contentFieldListShrink;
|
|
3169
|
+
}
|
|
3170
|
+
if (!tea_util_1.default.isUnset(request.creatorId)) {
|
|
3171
|
+
body["creatorId"] = request.creatorId;
|
|
3172
|
+
}
|
|
3173
|
+
if (!tea_util_1.default.isUnset(request.description)) {
|
|
3174
|
+
body["description"] = request.description;
|
|
3175
|
+
}
|
|
3176
|
+
if (!tea_util_1.default.isUnset(request.detailUrlShrink)) {
|
|
3177
|
+
body["detailUrl"] = request.detailUrlShrink;
|
|
3178
|
+
}
|
|
3179
|
+
if (!tea_util_1.default.isUnset(request.dueTime)) {
|
|
3180
|
+
body["dueTime"] = request.dueTime;
|
|
3181
|
+
}
|
|
3182
|
+
if (!tea_util_1.default.isUnset(request.executorIdsShrink)) {
|
|
3183
|
+
body["executorIds"] = request.executorIdsShrink;
|
|
3184
|
+
}
|
|
3185
|
+
if (!tea_util_1.default.isUnset(request.isOnlyShowExecutor)) {
|
|
3186
|
+
body["isOnlyShowExecutor"] = request.isOnlyShowExecutor;
|
|
3187
|
+
}
|
|
3188
|
+
if (!tea_util_1.default.isUnset(request.notifyConfigsShrink)) {
|
|
3189
|
+
body["notifyConfigs"] = request.notifyConfigsShrink;
|
|
3190
|
+
}
|
|
3191
|
+
if (!tea_util_1.default.isUnset(request.participantIdsShrink)) {
|
|
3192
|
+
body["participantIds"] = request.participantIdsShrink;
|
|
3193
|
+
}
|
|
3194
|
+
if (!tea_util_1.default.isUnset(request.priority)) {
|
|
3195
|
+
body["priority"] = request.priority;
|
|
3196
|
+
}
|
|
3197
|
+
if (!tea_util_1.default.isUnset(request.sourceId)) {
|
|
3198
|
+
body["sourceId"] = request.sourceId;
|
|
3199
|
+
}
|
|
3200
|
+
if (!tea_util_1.default.isUnset(request.subject)) {
|
|
3201
|
+
body["subject"] = request.subject;
|
|
3202
|
+
}
|
|
3203
|
+
let realHeaders = {};
|
|
3204
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3205
|
+
realHeaders = headers.commonHeaders;
|
|
3206
|
+
}
|
|
3207
|
+
if (!tea_util_1.default.isUnset(headers.accountContextShrink)) {
|
|
3208
|
+
realHeaders["AccountContext"] = tea_util_1.default.toJSONString(headers.accountContextShrink);
|
|
3209
|
+
}
|
|
3210
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3211
|
+
headers: realHeaders,
|
|
3212
|
+
query: openapi_util_1.default.query(query),
|
|
3213
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3214
|
+
});
|
|
3215
|
+
let params = new $OpenApi.Params({
|
|
3216
|
+
action: "CreateTodoTask",
|
|
3217
|
+
version: "2023-04-26",
|
|
3218
|
+
protocol: "HTTPS",
|
|
3219
|
+
pathname: `/dingtalk/v1/task/createTodoTask`,
|
|
3220
|
+
method: "POST",
|
|
3221
|
+
authType: "AK",
|
|
3222
|
+
style: "ROA",
|
|
3223
|
+
reqBodyType: "formData",
|
|
3224
|
+
bodyType: "json",
|
|
3225
|
+
});
|
|
3226
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateTodoTaskResponse({}));
|
|
3227
|
+
}
|
|
3228
|
+
async createTodoTask(request) {
|
|
3229
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3230
|
+
let headers = new CreateTodoTaskHeaders({});
|
|
3231
|
+
return await this.createTodoTaskWithOptions(request, headers, runtime);
|
|
3232
|
+
}
|
|
3233
|
+
async createWorkspaceWithOptions(tmpReq, tmpHeader, runtime) {
|
|
3234
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3235
|
+
let request = new CreateWorkspaceShrinkRequest({});
|
|
3236
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3237
|
+
let headers = new CreateWorkspaceShrinkHeaders({});
|
|
3238
|
+
openapi_util_1.default.convert(tmpHeader, headers);
|
|
3239
|
+
if (!tea_util_1.default.isUnset(tmpHeader.accountContext)) {
|
|
3240
|
+
headers.accountContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
3241
|
+
}
|
|
3242
|
+
if (!tea_util_1.default.isUnset(tmpReq.tenantContext)) {
|
|
3243
|
+
request.tenantContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
3244
|
+
}
|
|
3245
|
+
let body = {};
|
|
3246
|
+
if (!tea_util_1.default.isUnset(request.description)) {
|
|
3247
|
+
body["Description"] = request.description;
|
|
3248
|
+
}
|
|
3249
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
3250
|
+
body["Name"] = request.name;
|
|
3251
|
+
}
|
|
3252
|
+
if (!tea_util_1.default.isUnset(request.tenantContextShrink)) {
|
|
3253
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
3254
|
+
}
|
|
3255
|
+
let realHeaders = {};
|
|
3256
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3257
|
+
realHeaders = headers.commonHeaders;
|
|
3258
|
+
}
|
|
3259
|
+
if (!tea_util_1.default.isUnset(headers.accountContextShrink)) {
|
|
3260
|
+
realHeaders["AccountContext"] = tea_util_1.default.toJSONString(headers.accountContextShrink);
|
|
3261
|
+
}
|
|
3262
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3263
|
+
headers: realHeaders,
|
|
3264
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3265
|
+
});
|
|
3266
|
+
let params = new $OpenApi.Params({
|
|
3267
|
+
action: "CreateWorkspace",
|
|
3268
|
+
version: "2023-04-26",
|
|
3269
|
+
protocol: "HTTPS",
|
|
3270
|
+
pathname: `/dingtalk/v1/documents/createWorkspace`,
|
|
3271
|
+
method: "POST",
|
|
3272
|
+
authType: "AK",
|
|
3273
|
+
style: "ROA",
|
|
3274
|
+
reqBodyType: "formData",
|
|
3275
|
+
bodyType: "json",
|
|
3276
|
+
});
|
|
3277
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateWorkspaceResponse({}));
|
|
3278
|
+
}
|
|
3279
|
+
async createWorkspace(request) {
|
|
3280
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3281
|
+
let headers = new CreateWorkspaceHeaders({});
|
|
3282
|
+
return await this.createWorkspaceWithOptions(request, headers, runtime);
|
|
3283
|
+
}
|
|
3284
|
+
async createWorkspaceDocWithOptions(tmpReq, tmpHeader, runtime) {
|
|
3285
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3286
|
+
let request = new CreateWorkspaceDocShrinkRequest({});
|
|
3287
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3288
|
+
let headers = new CreateWorkspaceDocShrinkHeaders({});
|
|
3289
|
+
openapi_util_1.default.convert(tmpHeader, headers);
|
|
3290
|
+
if (!tea_util_1.default.isUnset(tmpHeader.accountContext)) {
|
|
3291
|
+
headers.accountContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
3292
|
+
}
|
|
3293
|
+
if (!tea_util_1.default.isUnset(tmpReq.tenantContext)) {
|
|
3294
|
+
request.tenantContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
3295
|
+
}
|
|
3296
|
+
let body = {};
|
|
3297
|
+
if (!tea_util_1.default.isUnset(request.docType)) {
|
|
3298
|
+
body["DocType"] = request.docType;
|
|
3299
|
+
}
|
|
3300
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
3301
|
+
body["Name"] = request.name;
|
|
3302
|
+
}
|
|
3303
|
+
if (!tea_util_1.default.isUnset(request.parentNodeId)) {
|
|
3304
|
+
body["ParentNodeId"] = request.parentNodeId;
|
|
3305
|
+
}
|
|
3306
|
+
if (!tea_util_1.default.isUnset(request.templateId)) {
|
|
3307
|
+
body["TemplateId"] = request.templateId;
|
|
3308
|
+
}
|
|
3309
|
+
if (!tea_util_1.default.isUnset(request.templateType)) {
|
|
3310
|
+
body["TemplateType"] = request.templateType;
|
|
3311
|
+
}
|
|
3312
|
+
if (!tea_util_1.default.isUnset(request.tenantContextShrink)) {
|
|
3313
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
3314
|
+
}
|
|
3315
|
+
if (!tea_util_1.default.isUnset(request.workspaceId)) {
|
|
3316
|
+
body["WorkspaceId"] = request.workspaceId;
|
|
3317
|
+
}
|
|
3318
|
+
let realHeaders = {};
|
|
3319
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3320
|
+
realHeaders = headers.commonHeaders;
|
|
3321
|
+
}
|
|
3322
|
+
if (!tea_util_1.default.isUnset(headers.accountContextShrink)) {
|
|
3323
|
+
realHeaders["AccountContext"] = tea_util_1.default.toJSONString(headers.accountContextShrink);
|
|
3324
|
+
}
|
|
3325
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3326
|
+
headers: realHeaders,
|
|
3327
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3328
|
+
});
|
|
3329
|
+
let params = new $OpenApi.Params({
|
|
3330
|
+
action: "CreateWorkspaceDoc",
|
|
3331
|
+
version: "2023-04-26",
|
|
3332
|
+
protocol: "HTTPS",
|
|
3333
|
+
pathname: `/dingtalk/v1/documents/createWorkspaceDoc`,
|
|
3334
|
+
method: "POST",
|
|
3335
|
+
authType: "AK",
|
|
3336
|
+
style: "ROA",
|
|
3337
|
+
reqBodyType: "formData",
|
|
3338
|
+
bodyType: "json",
|
|
3339
|
+
});
|
|
3340
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateWorkspaceDocResponse({}));
|
|
3341
|
+
}
|
|
3342
|
+
async createWorkspaceDoc(request) {
|
|
3343
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3344
|
+
let headers = new CreateWorkspaceDocHeaders({});
|
|
3345
|
+
return await this.createWorkspaceDocWithOptions(request, headers, runtime);
|
|
3346
|
+
}
|
|
3347
|
+
async deleteTodoTaskWithOptions(tmpReq, tmpHeader, runtime) {
|
|
3348
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3349
|
+
let request = new DeleteTodoTaskShrinkRequest({});
|
|
3350
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3351
|
+
let headers = new DeleteTodoTaskShrinkHeaders({});
|
|
3352
|
+
openapi_util_1.default.convert(tmpHeader, headers);
|
|
3353
|
+
if (!tea_util_1.default.isUnset(tmpHeader.accountContext)) {
|
|
3354
|
+
headers.accountContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
3355
|
+
}
|
|
3356
|
+
if (!tea_util_1.default.isUnset(tmpReq.tenantContext)) {
|
|
3357
|
+
request.tenantContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
3358
|
+
}
|
|
3359
|
+
let body = {};
|
|
3360
|
+
if (!tea_util_1.default.isUnset(request.tenantContextShrink)) {
|
|
3361
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
3362
|
+
}
|
|
3363
|
+
if (!tea_util_1.default.isUnset(request.operatorId)) {
|
|
3364
|
+
body["operatorId"] = request.operatorId;
|
|
3365
|
+
}
|
|
3366
|
+
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
3367
|
+
body["taskId"] = request.taskId;
|
|
3368
|
+
}
|
|
3369
|
+
let realHeaders = {};
|
|
3370
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3371
|
+
realHeaders = headers.commonHeaders;
|
|
3372
|
+
}
|
|
3373
|
+
if (!tea_util_1.default.isUnset(headers.accountContextShrink)) {
|
|
3374
|
+
realHeaders["AccountContext"] = tea_util_1.default.toJSONString(headers.accountContextShrink);
|
|
3375
|
+
}
|
|
3376
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3377
|
+
headers: realHeaders,
|
|
3378
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3379
|
+
});
|
|
3380
|
+
let params = new $OpenApi.Params({
|
|
3381
|
+
action: "DeleteTodoTask",
|
|
3382
|
+
version: "2023-04-26",
|
|
3383
|
+
protocol: "HTTPS",
|
|
3384
|
+
pathname: `/dingtalk/v1/task/deleteTodoTask`,
|
|
3385
|
+
method: "POST",
|
|
3386
|
+
authType: "AK",
|
|
3387
|
+
style: "ROA",
|
|
3388
|
+
reqBodyType: "formData",
|
|
3389
|
+
bodyType: "json",
|
|
3390
|
+
});
|
|
3391
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTodoTaskResponse({}));
|
|
3392
|
+
}
|
|
3393
|
+
async deleteTodoTask(request) {
|
|
3394
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3395
|
+
let headers = new DeleteTodoTaskHeaders({});
|
|
3396
|
+
return await this.deleteTodoTaskWithOptions(request, headers, runtime);
|
|
3397
|
+
}
|
|
3398
|
+
async deleteWorkspaceDocMembersWithOptions(tmpReq, tmpHeader, runtime) {
|
|
3399
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3400
|
+
let request = new DeleteWorkspaceDocMembersShrinkRequest({});
|
|
3401
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3402
|
+
let headers = new DeleteWorkspaceDocMembersShrinkHeaders({});
|
|
3403
|
+
openapi_util_1.default.convert(tmpHeader, headers);
|
|
3404
|
+
if (!tea_util_1.default.isUnset(tmpHeader.accountContext)) {
|
|
3405
|
+
headers.accountContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
3406
|
+
}
|
|
3407
|
+
if (!tea_util_1.default.isUnset(tmpReq.members)) {
|
|
3408
|
+
request.membersShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.members, "Members", "json");
|
|
3409
|
+
}
|
|
3410
|
+
if (!tea_util_1.default.isUnset(tmpReq.tenantContext)) {
|
|
3411
|
+
request.tenantContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
3412
|
+
}
|
|
3413
|
+
let body = {};
|
|
3414
|
+
if (!tea_util_1.default.isUnset(request.membersShrink)) {
|
|
3415
|
+
body["Members"] = request.membersShrink;
|
|
3416
|
+
}
|
|
3417
|
+
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
3418
|
+
body["NodeId"] = request.nodeId;
|
|
3419
|
+
}
|
|
3420
|
+
if (!tea_util_1.default.isUnset(request.tenantContextShrink)) {
|
|
3421
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
3422
|
+
}
|
|
3423
|
+
if (!tea_util_1.default.isUnset(request.workspaceId)) {
|
|
3424
|
+
body["WorkspaceId"] = request.workspaceId;
|
|
3425
|
+
}
|
|
3426
|
+
let realHeaders = {};
|
|
3427
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3428
|
+
realHeaders = headers.commonHeaders;
|
|
3429
|
+
}
|
|
3430
|
+
if (!tea_util_1.default.isUnset(headers.accountContextShrink)) {
|
|
3431
|
+
realHeaders["AccountContext"] = tea_util_1.default.toJSONString(headers.accountContextShrink);
|
|
3432
|
+
}
|
|
3433
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3434
|
+
headers: realHeaders,
|
|
3435
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3436
|
+
});
|
|
3437
|
+
let params = new $OpenApi.Params({
|
|
3438
|
+
action: "DeleteWorkspaceDocMembers",
|
|
3439
|
+
version: "2023-04-26",
|
|
3440
|
+
protocol: "HTTPS",
|
|
3441
|
+
pathname: `/dingtalk/v1/documents/deleteWorkspaceDocMembers`,
|
|
3442
|
+
method: "POST",
|
|
3443
|
+
authType: "AK",
|
|
3444
|
+
style: "ROA",
|
|
3445
|
+
reqBodyType: "formData",
|
|
3446
|
+
bodyType: "json",
|
|
3447
|
+
});
|
|
3448
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteWorkspaceDocMembersResponse({}));
|
|
3449
|
+
}
|
|
3450
|
+
async deleteWorkspaceDocMembers(request) {
|
|
3451
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3452
|
+
let headers = new DeleteWorkspaceDocMembersHeaders({});
|
|
3453
|
+
return await this.deleteWorkspaceDocMembersWithOptions(request, headers, runtime);
|
|
3454
|
+
}
|
|
3455
|
+
async deleteWorkspaceMembersWithOptions(tmpReq, tmpHeader, runtime) {
|
|
3456
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3457
|
+
let request = new DeleteWorkspaceMembersShrinkRequest({});
|
|
345
3458
|
openapi_util_1.default.convert(tmpReq, request);
|
|
346
|
-
let headers = new
|
|
3459
|
+
let headers = new DeleteWorkspaceMembersShrinkHeaders({});
|
|
347
3460
|
openapi_util_1.default.convert(tmpHeader, headers);
|
|
348
3461
|
if (!tea_util_1.default.isUnset(tmpHeader.accountContext)) {
|
|
349
3462
|
headers.accountContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
350
3463
|
}
|
|
3464
|
+
if (!tea_util_1.default.isUnset(tmpReq.members)) {
|
|
3465
|
+
request.membersShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.members, "Members", "json");
|
|
3466
|
+
}
|
|
351
3467
|
if (!tea_util_1.default.isUnset(tmpReq.tenantContext)) {
|
|
352
3468
|
request.tenantContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
353
3469
|
}
|
|
354
3470
|
let body = {};
|
|
355
|
-
if (!tea_util_1.default.isUnset(request.
|
|
356
|
-
body["
|
|
3471
|
+
if (!tea_util_1.default.isUnset(request.membersShrink)) {
|
|
3472
|
+
body["Members"] = request.membersShrink;
|
|
357
3473
|
}
|
|
358
3474
|
if (!tea_util_1.default.isUnset(request.tenantContextShrink)) {
|
|
359
3475
|
body["TenantContext"] = request.tenantContextShrink;
|
|
360
3476
|
}
|
|
361
|
-
if (!tea_util_1.default.isUnset(request.
|
|
362
|
-
body["
|
|
3477
|
+
if (!tea_util_1.default.isUnset(request.workspaceId)) {
|
|
3478
|
+
body["WorkspaceId"] = request.workspaceId;
|
|
363
3479
|
}
|
|
364
3480
|
let realHeaders = {};
|
|
365
3481
|
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
@@ -373,22 +3489,70 @@ class Client extends openapi_client_1.default {
|
|
|
373
3489
|
body: openapi_util_1.default.parseToMap(body),
|
|
374
3490
|
});
|
|
375
3491
|
let params = new $OpenApi.Params({
|
|
376
|
-
action: "
|
|
3492
|
+
action: "DeleteWorkspaceMembers",
|
|
377
3493
|
version: "2023-04-26",
|
|
378
3494
|
protocol: "HTTPS",
|
|
379
|
-
pathname: `/dingtalk/v1/documents/
|
|
3495
|
+
pathname: `/dingtalk/v1/documents/deleteWorkspaceMembers`,
|
|
380
3496
|
method: "POST",
|
|
381
3497
|
authType: "AK",
|
|
382
3498
|
style: "ROA",
|
|
383
3499
|
reqBodyType: "formData",
|
|
384
3500
|
bodyType: "json",
|
|
385
3501
|
});
|
|
386
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
3502
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteWorkspaceMembersResponse({}));
|
|
387
3503
|
}
|
|
388
|
-
async
|
|
3504
|
+
async deleteWorkspaceMembers(request) {
|
|
389
3505
|
let runtime = new $Util.RuntimeOptions({});
|
|
390
|
-
let headers = new
|
|
391
|
-
return await this.
|
|
3506
|
+
let headers = new DeleteWorkspaceMembersHeaders({});
|
|
3507
|
+
return await this.deleteWorkspaceMembersWithOptions(request, headers, runtime);
|
|
3508
|
+
}
|
|
3509
|
+
async getUserWithOptions(tmpReq, tmpHeader, runtime) {
|
|
3510
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3511
|
+
let request = new GetUserShrinkRequest({});
|
|
3512
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3513
|
+
let headers = new GetUserShrinkHeaders({});
|
|
3514
|
+
openapi_util_1.default.convert(tmpHeader, headers);
|
|
3515
|
+
if (!tea_util_1.default.isUnset(tmpHeader.accountContext)) {
|
|
3516
|
+
headers.accountContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
3517
|
+
}
|
|
3518
|
+
if (!tea_util_1.default.isUnset(tmpReq.tenantContext)) {
|
|
3519
|
+
request.tenantContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
3520
|
+
}
|
|
3521
|
+
let body = {};
|
|
3522
|
+
if (!tea_util_1.default.isUnset(request.tenantContextShrink)) {
|
|
3523
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
3524
|
+
}
|
|
3525
|
+
if (!tea_util_1.default.isUnset(request.language)) {
|
|
3526
|
+
body["language"] = request.language;
|
|
3527
|
+
}
|
|
3528
|
+
let realHeaders = {};
|
|
3529
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3530
|
+
realHeaders = headers.commonHeaders;
|
|
3531
|
+
}
|
|
3532
|
+
if (!tea_util_1.default.isUnset(headers.accountContextShrink)) {
|
|
3533
|
+
realHeaders["AccountContext"] = tea_util_1.default.toJSONString(headers.accountContextShrink);
|
|
3534
|
+
}
|
|
3535
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3536
|
+
headers: realHeaders,
|
|
3537
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3538
|
+
});
|
|
3539
|
+
let params = new $OpenApi.Params({
|
|
3540
|
+
action: "GetUser",
|
|
3541
|
+
version: "2023-04-26",
|
|
3542
|
+
protocol: "HTTPS",
|
|
3543
|
+
pathname: `/dingtalk/v1/im/getUser`,
|
|
3544
|
+
method: "POST",
|
|
3545
|
+
authType: "AK",
|
|
3546
|
+
style: "ROA",
|
|
3547
|
+
reqBodyType: "formData",
|
|
3548
|
+
bodyType: "json",
|
|
3549
|
+
});
|
|
3550
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetUserResponse({}));
|
|
3551
|
+
}
|
|
3552
|
+
async getUser(request) {
|
|
3553
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3554
|
+
let headers = new GetUserHeaders({});
|
|
3555
|
+
return await this.getUserWithOptions(request, headers, runtime);
|
|
392
3556
|
}
|
|
393
3557
|
async insertRowsBeforeWithOptions(tmpReq, tmpHeader, runtime) {
|
|
394
3558
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -447,6 +3611,297 @@ class Client extends openapi_client_1.default {
|
|
|
447
3611
|
let headers = new InsertRowsBeforeHeaders({});
|
|
448
3612
|
return await this.insertRowsBeforeWithOptions(request, headers, runtime);
|
|
449
3613
|
}
|
|
3614
|
+
async queryOrgTodoTasksWithOptions(tmpReq, tmpHeader, runtime) {
|
|
3615
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3616
|
+
let request = new QueryOrgTodoTasksShrinkRequest({});
|
|
3617
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3618
|
+
let headers = new QueryOrgTodoTasksShrinkHeaders({});
|
|
3619
|
+
openapi_util_1.default.convert(tmpHeader, headers);
|
|
3620
|
+
if (!tea_util_1.default.isUnset(tmpHeader.accountContext)) {
|
|
3621
|
+
headers.accountContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
3622
|
+
}
|
|
3623
|
+
if (!tea_util_1.default.isUnset(tmpReq.tenantContext)) {
|
|
3624
|
+
request.tenantContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
3625
|
+
}
|
|
3626
|
+
let body = {};
|
|
3627
|
+
if (!tea_util_1.default.isUnset(request.tenantContextShrink)) {
|
|
3628
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
3629
|
+
}
|
|
3630
|
+
if (!tea_util_1.default.isUnset(request.isDone)) {
|
|
3631
|
+
body["isDone"] = request.isDone;
|
|
3632
|
+
}
|
|
3633
|
+
if (!tea_util_1.default.isUnset(request.nextToken)) {
|
|
3634
|
+
body["nextToken"] = request.nextToken;
|
|
3635
|
+
}
|
|
3636
|
+
let realHeaders = {};
|
|
3637
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3638
|
+
realHeaders = headers.commonHeaders;
|
|
3639
|
+
}
|
|
3640
|
+
if (!tea_util_1.default.isUnset(headers.accountContextShrink)) {
|
|
3641
|
+
realHeaders["AccountContext"] = tea_util_1.default.toJSONString(headers.accountContextShrink);
|
|
3642
|
+
}
|
|
3643
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3644
|
+
headers: realHeaders,
|
|
3645
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3646
|
+
});
|
|
3647
|
+
let params = new $OpenApi.Params({
|
|
3648
|
+
action: "QueryOrgTodoTasks",
|
|
3649
|
+
version: "2023-04-26",
|
|
3650
|
+
protocol: "HTTPS",
|
|
3651
|
+
pathname: `/dingtalk/v1/task/queryOrgTodoTasks`,
|
|
3652
|
+
method: "POST",
|
|
3653
|
+
authType: "AK",
|
|
3654
|
+
style: "ROA",
|
|
3655
|
+
reqBodyType: "formData",
|
|
3656
|
+
bodyType: "json",
|
|
3657
|
+
});
|
|
3658
|
+
return $tea.cast(await this.callApi(params, req, runtime), new QueryOrgTodoTasksResponse({}));
|
|
3659
|
+
}
|
|
3660
|
+
async queryOrgTodoTasks(request) {
|
|
3661
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3662
|
+
let headers = new QueryOrgTodoTasksHeaders({});
|
|
3663
|
+
return await this.queryOrgTodoTasksWithOptions(request, headers, runtime);
|
|
3664
|
+
}
|
|
3665
|
+
async updateTodoTaskWithOptions(tmpReq, tmpHeader, runtime) {
|
|
3666
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3667
|
+
let request = new UpdateTodoTaskShrinkRequest({});
|
|
3668
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3669
|
+
let headers = new UpdateTodoTaskShrinkHeaders({});
|
|
3670
|
+
openapi_util_1.default.convert(tmpHeader, headers);
|
|
3671
|
+
if (!tea_util_1.default.isUnset(tmpHeader.accountContext)) {
|
|
3672
|
+
headers.accountContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
3673
|
+
}
|
|
3674
|
+
if (!tea_util_1.default.isUnset(tmpReq.tenantContext)) {
|
|
3675
|
+
request.tenantContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
3676
|
+
}
|
|
3677
|
+
if (!tea_util_1.default.isUnset(tmpReq.executorIds)) {
|
|
3678
|
+
request.executorIdsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.executorIds, "executorIds", "json");
|
|
3679
|
+
}
|
|
3680
|
+
if (!tea_util_1.default.isUnset(tmpReq.participantIds)) {
|
|
3681
|
+
request.participantIdsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.participantIds, "participantIds", "json");
|
|
3682
|
+
}
|
|
3683
|
+
let body = {};
|
|
3684
|
+
if (!tea_util_1.default.isUnset(request.tenantContextShrink)) {
|
|
3685
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
3686
|
+
}
|
|
3687
|
+
if (!tea_util_1.default.isUnset(request.description)) {
|
|
3688
|
+
body["description"] = request.description;
|
|
3689
|
+
}
|
|
3690
|
+
if (!tea_util_1.default.isUnset(request.done)) {
|
|
3691
|
+
body["done"] = request.done;
|
|
3692
|
+
}
|
|
3693
|
+
if (!tea_util_1.default.isUnset(request.dueTime)) {
|
|
3694
|
+
body["dueTime"] = request.dueTime;
|
|
3695
|
+
}
|
|
3696
|
+
if (!tea_util_1.default.isUnset(request.executorIdsShrink)) {
|
|
3697
|
+
body["executorIds"] = request.executorIdsShrink;
|
|
3698
|
+
}
|
|
3699
|
+
if (!tea_util_1.default.isUnset(request.participantIdsShrink)) {
|
|
3700
|
+
body["participantIds"] = request.participantIdsShrink;
|
|
3701
|
+
}
|
|
3702
|
+
if (!tea_util_1.default.isUnset(request.subject)) {
|
|
3703
|
+
body["subject"] = request.subject;
|
|
3704
|
+
}
|
|
3705
|
+
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
3706
|
+
body["taskId"] = request.taskId;
|
|
3707
|
+
}
|
|
3708
|
+
let realHeaders = {};
|
|
3709
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3710
|
+
realHeaders = headers.commonHeaders;
|
|
3711
|
+
}
|
|
3712
|
+
if (!tea_util_1.default.isUnset(headers.accountContextShrink)) {
|
|
3713
|
+
realHeaders["AccountContext"] = tea_util_1.default.toJSONString(headers.accountContextShrink);
|
|
3714
|
+
}
|
|
3715
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3716
|
+
headers: realHeaders,
|
|
3717
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3718
|
+
});
|
|
3719
|
+
let params = new $OpenApi.Params({
|
|
3720
|
+
action: "UpdateTodoTask",
|
|
3721
|
+
version: "2023-04-26",
|
|
3722
|
+
protocol: "HTTPS",
|
|
3723
|
+
pathname: `/dingtalk/v1/task/updateTodoTask`,
|
|
3724
|
+
method: "POST",
|
|
3725
|
+
authType: "AK",
|
|
3726
|
+
style: "ROA",
|
|
3727
|
+
reqBodyType: "formData",
|
|
3728
|
+
bodyType: "json",
|
|
3729
|
+
});
|
|
3730
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateTodoTaskResponse({}));
|
|
3731
|
+
}
|
|
3732
|
+
async updateTodoTask(request) {
|
|
3733
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3734
|
+
let headers = new UpdateTodoTaskHeaders({});
|
|
3735
|
+
return await this.updateTodoTaskWithOptions(request, headers, runtime);
|
|
3736
|
+
}
|
|
3737
|
+
async updateTodoTaskExecutorStatusWithOptions(tmpReq, tmpHeader, runtime) {
|
|
3738
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3739
|
+
let request = new UpdateTodoTaskExecutorStatusShrinkRequest({});
|
|
3740
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3741
|
+
let headers = new UpdateTodoTaskExecutorStatusShrinkHeaders({});
|
|
3742
|
+
openapi_util_1.default.convert(tmpHeader, headers);
|
|
3743
|
+
if (!tea_util_1.default.isUnset(tmpHeader.accountContext)) {
|
|
3744
|
+
headers.accountContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
3745
|
+
}
|
|
3746
|
+
if (!tea_util_1.default.isUnset(tmpReq.tenantContext)) {
|
|
3747
|
+
request.tenantContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
3748
|
+
}
|
|
3749
|
+
if (!tea_util_1.default.isUnset(tmpReq.executorStatusList)) {
|
|
3750
|
+
request.executorStatusListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.executorStatusList, "executorStatusList", "json");
|
|
3751
|
+
}
|
|
3752
|
+
let body = {};
|
|
3753
|
+
if (!tea_util_1.default.isUnset(request.tenantContextShrink)) {
|
|
3754
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
3755
|
+
}
|
|
3756
|
+
if (!tea_util_1.default.isUnset(request.executorStatusListShrink)) {
|
|
3757
|
+
body["executorStatusList"] = request.executorStatusListShrink;
|
|
3758
|
+
}
|
|
3759
|
+
if (!tea_util_1.default.isUnset(request.operatorId)) {
|
|
3760
|
+
body["operatorId"] = request.operatorId;
|
|
3761
|
+
}
|
|
3762
|
+
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
3763
|
+
body["taskId"] = request.taskId;
|
|
3764
|
+
}
|
|
3765
|
+
let realHeaders = {};
|
|
3766
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3767
|
+
realHeaders = headers.commonHeaders;
|
|
3768
|
+
}
|
|
3769
|
+
if (!tea_util_1.default.isUnset(headers.accountContextShrink)) {
|
|
3770
|
+
realHeaders["AccountContext"] = tea_util_1.default.toJSONString(headers.accountContextShrink);
|
|
3771
|
+
}
|
|
3772
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3773
|
+
headers: realHeaders,
|
|
3774
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3775
|
+
});
|
|
3776
|
+
let params = new $OpenApi.Params({
|
|
3777
|
+
action: "UpdateTodoTaskExecutorStatus",
|
|
3778
|
+
version: "2023-04-26",
|
|
3779
|
+
protocol: "HTTPS",
|
|
3780
|
+
pathname: `/dingtalk/v1/task/updateTodoTaskExecutorStatus`,
|
|
3781
|
+
method: "POST",
|
|
3782
|
+
authType: "AK",
|
|
3783
|
+
style: "ROA",
|
|
3784
|
+
reqBodyType: "formData",
|
|
3785
|
+
bodyType: "json",
|
|
3786
|
+
});
|
|
3787
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateTodoTaskExecutorStatusResponse({}));
|
|
3788
|
+
}
|
|
3789
|
+
async updateTodoTaskExecutorStatus(request) {
|
|
3790
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3791
|
+
let headers = new UpdateTodoTaskExecutorStatusHeaders({});
|
|
3792
|
+
return await this.updateTodoTaskExecutorStatusWithOptions(request, headers, runtime);
|
|
3793
|
+
}
|
|
3794
|
+
async updateWorkspaceDocMembersWithOptions(tmpReq, tmpHeader, runtime) {
|
|
3795
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3796
|
+
let request = new UpdateWorkspaceDocMembersShrinkRequest({});
|
|
3797
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3798
|
+
let headers = new UpdateWorkspaceDocMembersShrinkHeaders({});
|
|
3799
|
+
openapi_util_1.default.convert(tmpHeader, headers);
|
|
3800
|
+
if (!tea_util_1.default.isUnset(tmpHeader.accountContext)) {
|
|
3801
|
+
headers.accountContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
3802
|
+
}
|
|
3803
|
+
if (!tea_util_1.default.isUnset(tmpReq.members)) {
|
|
3804
|
+
request.membersShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.members, "Members", "json");
|
|
3805
|
+
}
|
|
3806
|
+
if (!tea_util_1.default.isUnset(tmpReq.tenantContext)) {
|
|
3807
|
+
request.tenantContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
3808
|
+
}
|
|
3809
|
+
let body = {};
|
|
3810
|
+
if (!tea_util_1.default.isUnset(request.membersShrink)) {
|
|
3811
|
+
body["Members"] = request.membersShrink;
|
|
3812
|
+
}
|
|
3813
|
+
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
3814
|
+
body["NodeId"] = request.nodeId;
|
|
3815
|
+
}
|
|
3816
|
+
if (!tea_util_1.default.isUnset(request.tenantContextShrink)) {
|
|
3817
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
3818
|
+
}
|
|
3819
|
+
if (!tea_util_1.default.isUnset(request.workspaceId)) {
|
|
3820
|
+
body["WorkspaceId"] = request.workspaceId;
|
|
3821
|
+
}
|
|
3822
|
+
let realHeaders = {};
|
|
3823
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3824
|
+
realHeaders = headers.commonHeaders;
|
|
3825
|
+
}
|
|
3826
|
+
if (!tea_util_1.default.isUnset(headers.accountContextShrink)) {
|
|
3827
|
+
realHeaders["AccountContext"] = tea_util_1.default.toJSONString(headers.accountContextShrink);
|
|
3828
|
+
}
|
|
3829
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3830
|
+
headers: realHeaders,
|
|
3831
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3832
|
+
});
|
|
3833
|
+
let params = new $OpenApi.Params({
|
|
3834
|
+
action: "UpdateWorkspaceDocMembers",
|
|
3835
|
+
version: "2023-04-26",
|
|
3836
|
+
protocol: "HTTPS",
|
|
3837
|
+
pathname: `/dingtalk/v1/documents/updateWorkspaceDocMembers`,
|
|
3838
|
+
method: "POST",
|
|
3839
|
+
authType: "AK",
|
|
3840
|
+
style: "ROA",
|
|
3841
|
+
reqBodyType: "formData",
|
|
3842
|
+
bodyType: "json",
|
|
3843
|
+
});
|
|
3844
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateWorkspaceDocMembersResponse({}));
|
|
3845
|
+
}
|
|
3846
|
+
async updateWorkspaceDocMembers(request) {
|
|
3847
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3848
|
+
let headers = new UpdateWorkspaceDocMembersHeaders({});
|
|
3849
|
+
return await this.updateWorkspaceDocMembersWithOptions(request, headers, runtime);
|
|
3850
|
+
}
|
|
3851
|
+
async updateWorkspaceMembersWithOptions(tmpReq, tmpHeader, runtime) {
|
|
3852
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3853
|
+
let request = new UpdateWorkspaceMembersShrinkRequest({});
|
|
3854
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3855
|
+
let headers = new UpdateWorkspaceMembersShrinkHeaders({});
|
|
3856
|
+
openapi_util_1.default.convert(tmpHeader, headers);
|
|
3857
|
+
if (!tea_util_1.default.isUnset(tmpHeader.accountContext)) {
|
|
3858
|
+
headers.accountContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
3859
|
+
}
|
|
3860
|
+
if (!tea_util_1.default.isUnset(tmpReq.members)) {
|
|
3861
|
+
request.membersShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.members, "Members", "json");
|
|
3862
|
+
}
|
|
3863
|
+
if (!tea_util_1.default.isUnset(tmpReq.tenantContext)) {
|
|
3864
|
+
request.tenantContextShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
3865
|
+
}
|
|
3866
|
+
let body = {};
|
|
3867
|
+
if (!tea_util_1.default.isUnset(request.membersShrink)) {
|
|
3868
|
+
body["Members"] = request.membersShrink;
|
|
3869
|
+
}
|
|
3870
|
+
if (!tea_util_1.default.isUnset(request.tenantContextShrink)) {
|
|
3871
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
3872
|
+
}
|
|
3873
|
+
if (!tea_util_1.default.isUnset(request.workspaceId)) {
|
|
3874
|
+
body["WorkspaceId"] = request.workspaceId;
|
|
3875
|
+
}
|
|
3876
|
+
let realHeaders = {};
|
|
3877
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3878
|
+
realHeaders = headers.commonHeaders;
|
|
3879
|
+
}
|
|
3880
|
+
if (!tea_util_1.default.isUnset(headers.accountContextShrink)) {
|
|
3881
|
+
realHeaders["AccountContext"] = tea_util_1.default.toJSONString(headers.accountContextShrink);
|
|
3882
|
+
}
|
|
3883
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3884
|
+
headers: realHeaders,
|
|
3885
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3886
|
+
});
|
|
3887
|
+
let params = new $OpenApi.Params({
|
|
3888
|
+
action: "UpdateWorkspaceMembers",
|
|
3889
|
+
version: "2023-04-26",
|
|
3890
|
+
protocol: "HTTPS",
|
|
3891
|
+
pathname: `/dingtalk/v1/documents/updateWorkspaceMembers`,
|
|
3892
|
+
method: "POST",
|
|
3893
|
+
authType: "AK",
|
|
3894
|
+
style: "ROA",
|
|
3895
|
+
reqBodyType: "formData",
|
|
3896
|
+
bodyType: "json",
|
|
3897
|
+
});
|
|
3898
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateWorkspaceMembersResponse({}));
|
|
3899
|
+
}
|
|
3900
|
+
async updateWorkspaceMembers(request) {
|
|
3901
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3902
|
+
let headers = new UpdateWorkspaceMembersHeaders({});
|
|
3903
|
+
return await this.updateWorkspaceMembersWithOptions(request, headers, runtime);
|
|
3904
|
+
}
|
|
450
3905
|
}
|
|
451
3906
|
exports.default = Client;
|
|
452
3907
|
//# sourceMappingURL=client.js.map
|