@alicloud/aliding20230426 2.9.0 → 2.10.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 +563 -0
- package/dist/client.js +992 -32
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1171 -0
package/src/client.ts
CHANGED
|
@@ -201,6 +201,168 @@ export class AddAttendeeResponse extends $tea.Model {
|
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
+
export class AddDriveSpaceHeaders extends $tea.Model {
|
|
205
|
+
commonHeaders?: { [key: string]: string };
|
|
206
|
+
accountContext?: AddDriveSpaceHeadersAccountContext;
|
|
207
|
+
static names(): { [key: string]: string } {
|
|
208
|
+
return {
|
|
209
|
+
commonHeaders: 'commonHeaders',
|
|
210
|
+
accountContext: 'AccountContext',
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
static types(): { [key: string]: any } {
|
|
215
|
+
return {
|
|
216
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
217
|
+
accountContext: AddDriveSpaceHeadersAccountContext,
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
constructor(map?: { [key: string]: any }) {
|
|
222
|
+
super(map);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export class AddDriveSpaceShrinkHeaders extends $tea.Model {
|
|
227
|
+
commonHeaders?: { [key: string]: string };
|
|
228
|
+
accountContextShrink?: string;
|
|
229
|
+
static names(): { [key: string]: string } {
|
|
230
|
+
return {
|
|
231
|
+
commonHeaders: 'commonHeaders',
|
|
232
|
+
accountContextShrink: 'AccountContext',
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
static types(): { [key: string]: any } {
|
|
237
|
+
return {
|
|
238
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
239
|
+
accountContextShrink: 'string',
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
constructor(map?: { [key: string]: any }) {
|
|
244
|
+
super(map);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export class AddDriveSpaceRequest extends $tea.Model {
|
|
249
|
+
name?: string;
|
|
250
|
+
tenantContext?: AddDriveSpaceRequestTenantContext;
|
|
251
|
+
static names(): { [key: string]: string } {
|
|
252
|
+
return {
|
|
253
|
+
name: 'Name',
|
|
254
|
+
tenantContext: 'TenantContext',
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
static types(): { [key: string]: any } {
|
|
259
|
+
return {
|
|
260
|
+
name: 'string',
|
|
261
|
+
tenantContext: AddDriveSpaceRequestTenantContext,
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
constructor(map?: { [key: string]: any }) {
|
|
266
|
+
super(map);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export class AddDriveSpaceShrinkRequest extends $tea.Model {
|
|
271
|
+
name?: string;
|
|
272
|
+
tenantContextShrink?: string;
|
|
273
|
+
static names(): { [key: string]: string } {
|
|
274
|
+
return {
|
|
275
|
+
name: 'Name',
|
|
276
|
+
tenantContextShrink: 'TenantContext',
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
static types(): { [key: string]: any } {
|
|
281
|
+
return {
|
|
282
|
+
name: 'string',
|
|
283
|
+
tenantContextShrink: 'string',
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
constructor(map?: { [key: string]: any }) {
|
|
288
|
+
super(map);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export class AddDriveSpaceResponseBody extends $tea.Model {
|
|
293
|
+
createTime?: string;
|
|
294
|
+
modifyTime?: string;
|
|
295
|
+
permissionMode?: string;
|
|
296
|
+
quota?: number;
|
|
297
|
+
requestId?: string;
|
|
298
|
+
spaceId?: string;
|
|
299
|
+
spaceName?: string;
|
|
300
|
+
spaceType?: string;
|
|
301
|
+
usedQuota?: number;
|
|
302
|
+
vendorRequestId?: string;
|
|
303
|
+
vendorType?: string;
|
|
304
|
+
static names(): { [key: string]: string } {
|
|
305
|
+
return {
|
|
306
|
+
createTime: 'createTime',
|
|
307
|
+
modifyTime: 'modifyTime',
|
|
308
|
+
permissionMode: 'permissionMode',
|
|
309
|
+
quota: 'quota',
|
|
310
|
+
requestId: 'requestId',
|
|
311
|
+
spaceId: 'spaceId',
|
|
312
|
+
spaceName: 'spaceName',
|
|
313
|
+
spaceType: 'spaceType',
|
|
314
|
+
usedQuota: 'usedQuota',
|
|
315
|
+
vendorRequestId: 'vendorRequestId',
|
|
316
|
+
vendorType: 'vendorType',
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
static types(): { [key: string]: any } {
|
|
321
|
+
return {
|
|
322
|
+
createTime: 'string',
|
|
323
|
+
modifyTime: 'string',
|
|
324
|
+
permissionMode: 'string',
|
|
325
|
+
quota: 'number',
|
|
326
|
+
requestId: 'string',
|
|
327
|
+
spaceId: 'string',
|
|
328
|
+
spaceName: 'string',
|
|
329
|
+
spaceType: 'string',
|
|
330
|
+
usedQuota: 'number',
|
|
331
|
+
vendorRequestId: 'string',
|
|
332
|
+
vendorType: 'string',
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
constructor(map?: { [key: string]: any }) {
|
|
337
|
+
super(map);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export class AddDriveSpaceResponse extends $tea.Model {
|
|
342
|
+
headers?: { [key: string]: string };
|
|
343
|
+
statusCode?: number;
|
|
344
|
+
body?: AddDriveSpaceResponseBody;
|
|
345
|
+
static names(): { [key: string]: string } {
|
|
346
|
+
return {
|
|
347
|
+
headers: 'headers',
|
|
348
|
+
statusCode: 'statusCode',
|
|
349
|
+
body: 'body',
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
static types(): { [key: string]: any } {
|
|
354
|
+
return {
|
|
355
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
356
|
+
statusCode: 'number',
|
|
357
|
+
body: AddDriveSpaceResponseBody,
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
constructor(map?: { [key: string]: any }) {
|
|
362
|
+
super(map);
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
204
366
|
export class AddMeetingRoomsHeaders extends $tea.Model {
|
|
205
367
|
commonHeaders?: { [key: string]: string };
|
|
206
368
|
accountContext?: AddMeetingRoomsHeadersAccountContext;
|
|
@@ -2599,6 +2761,186 @@ export class CreateDeliveryPlanResponse extends $tea.Model {
|
|
|
2599
2761
|
}
|
|
2600
2762
|
}
|
|
2601
2763
|
|
|
2764
|
+
export class CreateDingtalkPersonalTodoTaskHeaders extends $tea.Model {
|
|
2765
|
+
commonHeaders?: { [key: string]: string };
|
|
2766
|
+
accountContext?: CreateDingtalkPersonalTodoTaskHeadersAccountContext;
|
|
2767
|
+
static names(): { [key: string]: string } {
|
|
2768
|
+
return {
|
|
2769
|
+
commonHeaders: 'commonHeaders',
|
|
2770
|
+
accountContext: 'AccountContext',
|
|
2771
|
+
};
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
static types(): { [key: string]: any } {
|
|
2775
|
+
return {
|
|
2776
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2777
|
+
accountContext: CreateDingtalkPersonalTodoTaskHeadersAccountContext,
|
|
2778
|
+
};
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2781
|
+
constructor(map?: { [key: string]: any }) {
|
|
2782
|
+
super(map);
|
|
2783
|
+
}
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
export class CreateDingtalkPersonalTodoTaskShrinkHeaders extends $tea.Model {
|
|
2787
|
+
commonHeaders?: { [key: string]: string };
|
|
2788
|
+
accountContextShrink?: string;
|
|
2789
|
+
static names(): { [key: string]: string } {
|
|
2790
|
+
return {
|
|
2791
|
+
commonHeaders: 'commonHeaders',
|
|
2792
|
+
accountContextShrink: 'AccountContext',
|
|
2793
|
+
};
|
|
2794
|
+
}
|
|
2795
|
+
|
|
2796
|
+
static types(): { [key: string]: any } {
|
|
2797
|
+
return {
|
|
2798
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2799
|
+
accountContextShrink: 'string',
|
|
2800
|
+
};
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2803
|
+
constructor(map?: { [key: string]: any }) {
|
|
2804
|
+
super(map);
|
|
2805
|
+
}
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
export class CreateDingtalkPersonalTodoTaskRequest extends $tea.Model {
|
|
2809
|
+
description?: string;
|
|
2810
|
+
dueTime?: number;
|
|
2811
|
+
executorIds?: string[];
|
|
2812
|
+
notifyConfigs?: CreateDingtalkPersonalTodoTaskRequestNotifyConfigs;
|
|
2813
|
+
participantIds?: string[];
|
|
2814
|
+
subject?: string;
|
|
2815
|
+
tenantContext?: CreateDingtalkPersonalTodoTaskRequestTenantContext;
|
|
2816
|
+
userToken?: string;
|
|
2817
|
+
static names(): { [key: string]: string } {
|
|
2818
|
+
return {
|
|
2819
|
+
description: 'Description',
|
|
2820
|
+
dueTime: 'DueTime',
|
|
2821
|
+
executorIds: 'ExecutorIds',
|
|
2822
|
+
notifyConfigs: 'NotifyConfigs',
|
|
2823
|
+
participantIds: 'ParticipantIds',
|
|
2824
|
+
subject: 'Subject',
|
|
2825
|
+
tenantContext: 'TenantContext',
|
|
2826
|
+
userToken: 'UserToken',
|
|
2827
|
+
};
|
|
2828
|
+
}
|
|
2829
|
+
|
|
2830
|
+
static types(): { [key: string]: any } {
|
|
2831
|
+
return {
|
|
2832
|
+
description: 'string',
|
|
2833
|
+
dueTime: 'number',
|
|
2834
|
+
executorIds: { 'type': 'array', 'itemType': 'string' },
|
|
2835
|
+
notifyConfigs: CreateDingtalkPersonalTodoTaskRequestNotifyConfigs,
|
|
2836
|
+
participantIds: { 'type': 'array', 'itemType': 'string' },
|
|
2837
|
+
subject: 'string',
|
|
2838
|
+
tenantContext: CreateDingtalkPersonalTodoTaskRequestTenantContext,
|
|
2839
|
+
userToken: 'string',
|
|
2840
|
+
};
|
|
2841
|
+
}
|
|
2842
|
+
|
|
2843
|
+
constructor(map?: { [key: string]: any }) {
|
|
2844
|
+
super(map);
|
|
2845
|
+
}
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
export class CreateDingtalkPersonalTodoTaskShrinkRequest extends $tea.Model {
|
|
2849
|
+
description?: string;
|
|
2850
|
+
dueTime?: number;
|
|
2851
|
+
executorIdsShrink?: string;
|
|
2852
|
+
notifyConfigsShrink?: string;
|
|
2853
|
+
participantIdsShrink?: string;
|
|
2854
|
+
subject?: string;
|
|
2855
|
+
tenantContextShrink?: string;
|
|
2856
|
+
userToken?: string;
|
|
2857
|
+
static names(): { [key: string]: string } {
|
|
2858
|
+
return {
|
|
2859
|
+
description: 'Description',
|
|
2860
|
+
dueTime: 'DueTime',
|
|
2861
|
+
executorIdsShrink: 'ExecutorIds',
|
|
2862
|
+
notifyConfigsShrink: 'NotifyConfigs',
|
|
2863
|
+
participantIdsShrink: 'ParticipantIds',
|
|
2864
|
+
subject: 'Subject',
|
|
2865
|
+
tenantContextShrink: 'TenantContext',
|
|
2866
|
+
userToken: 'UserToken',
|
|
2867
|
+
};
|
|
2868
|
+
}
|
|
2869
|
+
|
|
2870
|
+
static types(): { [key: string]: any } {
|
|
2871
|
+
return {
|
|
2872
|
+
description: 'string',
|
|
2873
|
+
dueTime: 'number',
|
|
2874
|
+
executorIdsShrink: 'string',
|
|
2875
|
+
notifyConfigsShrink: 'string',
|
|
2876
|
+
participantIdsShrink: 'string',
|
|
2877
|
+
subject: 'string',
|
|
2878
|
+
tenantContextShrink: 'string',
|
|
2879
|
+
userToken: 'string',
|
|
2880
|
+
};
|
|
2881
|
+
}
|
|
2882
|
+
|
|
2883
|
+
constructor(map?: { [key: string]: any }) {
|
|
2884
|
+
super(map);
|
|
2885
|
+
}
|
|
2886
|
+
}
|
|
2887
|
+
|
|
2888
|
+
export class CreateDingtalkPersonalTodoTaskResponseBody extends $tea.Model {
|
|
2889
|
+
createdTime?: number;
|
|
2890
|
+
requestId?: string;
|
|
2891
|
+
taskId?: string;
|
|
2892
|
+
vendorRequestId?: string;
|
|
2893
|
+
vendorType?: string;
|
|
2894
|
+
static names(): { [key: string]: string } {
|
|
2895
|
+
return {
|
|
2896
|
+
createdTime: 'createdTime',
|
|
2897
|
+
requestId: 'requestId',
|
|
2898
|
+
taskId: 'taskId',
|
|
2899
|
+
vendorRequestId: 'vendorRequestId',
|
|
2900
|
+
vendorType: 'vendorType',
|
|
2901
|
+
};
|
|
2902
|
+
}
|
|
2903
|
+
|
|
2904
|
+
static types(): { [key: string]: any } {
|
|
2905
|
+
return {
|
|
2906
|
+
createdTime: 'number',
|
|
2907
|
+
requestId: 'string',
|
|
2908
|
+
taskId: 'string',
|
|
2909
|
+
vendorRequestId: 'string',
|
|
2910
|
+
vendorType: 'string',
|
|
2911
|
+
};
|
|
2912
|
+
}
|
|
2913
|
+
|
|
2914
|
+
constructor(map?: { [key: string]: any }) {
|
|
2915
|
+
super(map);
|
|
2916
|
+
}
|
|
2917
|
+
}
|
|
2918
|
+
|
|
2919
|
+
export class CreateDingtalkPersonalTodoTaskResponse extends $tea.Model {
|
|
2920
|
+
headers?: { [key: string]: string };
|
|
2921
|
+
statusCode?: number;
|
|
2922
|
+
body?: CreateDingtalkPersonalTodoTaskResponseBody;
|
|
2923
|
+
static names(): { [key: string]: string } {
|
|
2924
|
+
return {
|
|
2925
|
+
headers: 'headers',
|
|
2926
|
+
statusCode: 'statusCode',
|
|
2927
|
+
body: 'body',
|
|
2928
|
+
};
|
|
2929
|
+
}
|
|
2930
|
+
|
|
2931
|
+
static types(): { [key: string]: any } {
|
|
2932
|
+
return {
|
|
2933
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2934
|
+
statusCode: 'number',
|
|
2935
|
+
body: CreateDingtalkPersonalTodoTaskResponseBody,
|
|
2936
|
+
};
|
|
2937
|
+
}
|
|
2938
|
+
|
|
2939
|
+
constructor(map?: { [key: string]: any }) {
|
|
2940
|
+
super(map);
|
|
2941
|
+
}
|
|
2942
|
+
}
|
|
2943
|
+
|
|
2602
2944
|
export class CreateEventHeaders extends $tea.Model {
|
|
2603
2945
|
commonHeaders?: { [key: string]: string };
|
|
2604
2946
|
accountContext?: CreateEventHeadersAccountContext;
|
|
@@ -5849,6 +6191,144 @@ export class DeleteColumnsResponse extends $tea.Model {
|
|
|
5849
6191
|
}
|
|
5850
6192
|
}
|
|
5851
6193
|
|
|
6194
|
+
export class DeleteDriveSpaceHeaders extends $tea.Model {
|
|
6195
|
+
commonHeaders?: { [key: string]: string };
|
|
6196
|
+
accountContext?: DeleteDriveSpaceHeadersAccountContext;
|
|
6197
|
+
static names(): { [key: string]: string } {
|
|
6198
|
+
return {
|
|
6199
|
+
commonHeaders: 'commonHeaders',
|
|
6200
|
+
accountContext: 'AccountContext',
|
|
6201
|
+
};
|
|
6202
|
+
}
|
|
6203
|
+
|
|
6204
|
+
static types(): { [key: string]: any } {
|
|
6205
|
+
return {
|
|
6206
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6207
|
+
accountContext: DeleteDriveSpaceHeadersAccountContext,
|
|
6208
|
+
};
|
|
6209
|
+
}
|
|
6210
|
+
|
|
6211
|
+
constructor(map?: { [key: string]: any }) {
|
|
6212
|
+
super(map);
|
|
6213
|
+
}
|
|
6214
|
+
}
|
|
6215
|
+
|
|
6216
|
+
export class DeleteDriveSpaceShrinkHeaders extends $tea.Model {
|
|
6217
|
+
commonHeaders?: { [key: string]: string };
|
|
6218
|
+
accountContextShrink?: string;
|
|
6219
|
+
static names(): { [key: string]: string } {
|
|
6220
|
+
return {
|
|
6221
|
+
commonHeaders: 'commonHeaders',
|
|
6222
|
+
accountContextShrink: 'AccountContext',
|
|
6223
|
+
};
|
|
6224
|
+
}
|
|
6225
|
+
|
|
6226
|
+
static types(): { [key: string]: any } {
|
|
6227
|
+
return {
|
|
6228
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6229
|
+
accountContextShrink: 'string',
|
|
6230
|
+
};
|
|
6231
|
+
}
|
|
6232
|
+
|
|
6233
|
+
constructor(map?: { [key: string]: any }) {
|
|
6234
|
+
super(map);
|
|
6235
|
+
}
|
|
6236
|
+
}
|
|
6237
|
+
|
|
6238
|
+
export class DeleteDriveSpaceRequest extends $tea.Model {
|
|
6239
|
+
spaceId?: string;
|
|
6240
|
+
tenantContext?: DeleteDriveSpaceRequestTenantContext;
|
|
6241
|
+
static names(): { [key: string]: string } {
|
|
6242
|
+
return {
|
|
6243
|
+
spaceId: 'SpaceId',
|
|
6244
|
+
tenantContext: 'TenantContext',
|
|
6245
|
+
};
|
|
6246
|
+
}
|
|
6247
|
+
|
|
6248
|
+
static types(): { [key: string]: any } {
|
|
6249
|
+
return {
|
|
6250
|
+
spaceId: 'string',
|
|
6251
|
+
tenantContext: DeleteDriveSpaceRequestTenantContext,
|
|
6252
|
+
};
|
|
6253
|
+
}
|
|
6254
|
+
|
|
6255
|
+
constructor(map?: { [key: string]: any }) {
|
|
6256
|
+
super(map);
|
|
6257
|
+
}
|
|
6258
|
+
}
|
|
6259
|
+
|
|
6260
|
+
export class DeleteDriveSpaceShrinkRequest extends $tea.Model {
|
|
6261
|
+
spaceId?: string;
|
|
6262
|
+
tenantContextShrink?: string;
|
|
6263
|
+
static names(): { [key: string]: string } {
|
|
6264
|
+
return {
|
|
6265
|
+
spaceId: 'SpaceId',
|
|
6266
|
+
tenantContextShrink: 'TenantContext',
|
|
6267
|
+
};
|
|
6268
|
+
}
|
|
6269
|
+
|
|
6270
|
+
static types(): { [key: string]: any } {
|
|
6271
|
+
return {
|
|
6272
|
+
spaceId: 'string',
|
|
6273
|
+
tenantContextShrink: 'string',
|
|
6274
|
+
};
|
|
6275
|
+
}
|
|
6276
|
+
|
|
6277
|
+
constructor(map?: { [key: string]: any }) {
|
|
6278
|
+
super(map);
|
|
6279
|
+
}
|
|
6280
|
+
}
|
|
6281
|
+
|
|
6282
|
+
export class DeleteDriveSpaceResponseBody extends $tea.Model {
|
|
6283
|
+
requestId?: string;
|
|
6284
|
+
vendorRequestId?: string;
|
|
6285
|
+
vendorType?: string;
|
|
6286
|
+
static names(): { [key: string]: string } {
|
|
6287
|
+
return {
|
|
6288
|
+
requestId: 'requestId',
|
|
6289
|
+
vendorRequestId: 'vendorRequestId',
|
|
6290
|
+
vendorType: 'vendorType',
|
|
6291
|
+
};
|
|
6292
|
+
}
|
|
6293
|
+
|
|
6294
|
+
static types(): { [key: string]: any } {
|
|
6295
|
+
return {
|
|
6296
|
+
requestId: 'string',
|
|
6297
|
+
vendorRequestId: 'string',
|
|
6298
|
+
vendorType: 'string',
|
|
6299
|
+
};
|
|
6300
|
+
}
|
|
6301
|
+
|
|
6302
|
+
constructor(map?: { [key: string]: any }) {
|
|
6303
|
+
super(map);
|
|
6304
|
+
}
|
|
6305
|
+
}
|
|
6306
|
+
|
|
6307
|
+
export class DeleteDriveSpaceResponse extends $tea.Model {
|
|
6308
|
+
headers?: { [key: string]: string };
|
|
6309
|
+
statusCode?: number;
|
|
6310
|
+
body?: DeleteDriveSpaceResponseBody;
|
|
6311
|
+
static names(): { [key: string]: string } {
|
|
6312
|
+
return {
|
|
6313
|
+
headers: 'headers',
|
|
6314
|
+
statusCode: 'statusCode',
|
|
6315
|
+
body: 'body',
|
|
6316
|
+
};
|
|
6317
|
+
}
|
|
6318
|
+
|
|
6319
|
+
static types(): { [key: string]: any } {
|
|
6320
|
+
return {
|
|
6321
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6322
|
+
statusCode: 'number',
|
|
6323
|
+
body: DeleteDriveSpaceResponseBody,
|
|
6324
|
+
};
|
|
6325
|
+
}
|
|
6326
|
+
|
|
6327
|
+
constructor(map?: { [key: string]: any }) {
|
|
6328
|
+
super(map);
|
|
6329
|
+
}
|
|
6330
|
+
}
|
|
6331
|
+
|
|
5852
6332
|
export class DeleteEventHeaders extends $tea.Model {
|
|
5853
6333
|
commonHeaders?: { [key: string]: string };
|
|
5854
6334
|
accountContext?: DeleteEventHeadersAccountContext;
|
|
@@ -15632,6 +16112,162 @@ export class ListDentriesResponse extends $tea.Model {
|
|
|
15632
16112
|
}
|
|
15633
16113
|
}
|
|
15634
16114
|
|
|
16115
|
+
export class ListDriveSpacesHeaders extends $tea.Model {
|
|
16116
|
+
commonHeaders?: { [key: string]: string };
|
|
16117
|
+
accountContext?: ListDriveSpacesHeadersAccountContext;
|
|
16118
|
+
static names(): { [key: string]: string } {
|
|
16119
|
+
return {
|
|
16120
|
+
commonHeaders: 'commonHeaders',
|
|
16121
|
+
accountContext: 'AccountContext',
|
|
16122
|
+
};
|
|
16123
|
+
}
|
|
16124
|
+
|
|
16125
|
+
static types(): { [key: string]: any } {
|
|
16126
|
+
return {
|
|
16127
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
16128
|
+
accountContext: ListDriveSpacesHeadersAccountContext,
|
|
16129
|
+
};
|
|
16130
|
+
}
|
|
16131
|
+
|
|
16132
|
+
constructor(map?: { [key: string]: any }) {
|
|
16133
|
+
super(map);
|
|
16134
|
+
}
|
|
16135
|
+
}
|
|
16136
|
+
|
|
16137
|
+
export class ListDriveSpacesShrinkHeaders extends $tea.Model {
|
|
16138
|
+
commonHeaders?: { [key: string]: string };
|
|
16139
|
+
accountContextShrink?: string;
|
|
16140
|
+
static names(): { [key: string]: string } {
|
|
16141
|
+
return {
|
|
16142
|
+
commonHeaders: 'commonHeaders',
|
|
16143
|
+
accountContextShrink: 'AccountContext',
|
|
16144
|
+
};
|
|
16145
|
+
}
|
|
16146
|
+
|
|
16147
|
+
static types(): { [key: string]: any } {
|
|
16148
|
+
return {
|
|
16149
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
16150
|
+
accountContextShrink: 'string',
|
|
16151
|
+
};
|
|
16152
|
+
}
|
|
16153
|
+
|
|
16154
|
+
constructor(map?: { [key: string]: any }) {
|
|
16155
|
+
super(map);
|
|
16156
|
+
}
|
|
16157
|
+
}
|
|
16158
|
+
|
|
16159
|
+
export class ListDriveSpacesRequest extends $tea.Model {
|
|
16160
|
+
maxResults?: number;
|
|
16161
|
+
nextToken?: string;
|
|
16162
|
+
spaceType?: string;
|
|
16163
|
+
tenantContext?: ListDriveSpacesRequestTenantContext;
|
|
16164
|
+
static names(): { [key: string]: string } {
|
|
16165
|
+
return {
|
|
16166
|
+
maxResults: 'MaxResults',
|
|
16167
|
+
nextToken: 'NextToken',
|
|
16168
|
+
spaceType: 'SpaceType',
|
|
16169
|
+
tenantContext: 'TenantContext',
|
|
16170
|
+
};
|
|
16171
|
+
}
|
|
16172
|
+
|
|
16173
|
+
static types(): { [key: string]: any } {
|
|
16174
|
+
return {
|
|
16175
|
+
maxResults: 'number',
|
|
16176
|
+
nextToken: 'string',
|
|
16177
|
+
spaceType: 'string',
|
|
16178
|
+
tenantContext: ListDriveSpacesRequestTenantContext,
|
|
16179
|
+
};
|
|
16180
|
+
}
|
|
16181
|
+
|
|
16182
|
+
constructor(map?: { [key: string]: any }) {
|
|
16183
|
+
super(map);
|
|
16184
|
+
}
|
|
16185
|
+
}
|
|
16186
|
+
|
|
16187
|
+
export class ListDriveSpacesShrinkRequest extends $tea.Model {
|
|
16188
|
+
maxResults?: number;
|
|
16189
|
+
nextToken?: string;
|
|
16190
|
+
spaceType?: string;
|
|
16191
|
+
tenantContextShrink?: string;
|
|
16192
|
+
static names(): { [key: string]: string } {
|
|
16193
|
+
return {
|
|
16194
|
+
maxResults: 'MaxResults',
|
|
16195
|
+
nextToken: 'NextToken',
|
|
16196
|
+
spaceType: 'SpaceType',
|
|
16197
|
+
tenantContextShrink: 'TenantContext',
|
|
16198
|
+
};
|
|
16199
|
+
}
|
|
16200
|
+
|
|
16201
|
+
static types(): { [key: string]: any } {
|
|
16202
|
+
return {
|
|
16203
|
+
maxResults: 'number',
|
|
16204
|
+
nextToken: 'string',
|
|
16205
|
+
spaceType: 'string',
|
|
16206
|
+
tenantContextShrink: 'string',
|
|
16207
|
+
};
|
|
16208
|
+
}
|
|
16209
|
+
|
|
16210
|
+
constructor(map?: { [key: string]: any }) {
|
|
16211
|
+
super(map);
|
|
16212
|
+
}
|
|
16213
|
+
}
|
|
16214
|
+
|
|
16215
|
+
export class ListDriveSpacesResponseBody extends $tea.Model {
|
|
16216
|
+
nextToken?: string;
|
|
16217
|
+
requestId?: string;
|
|
16218
|
+
spaces?: ListDriveSpacesResponseBodySpaces[];
|
|
16219
|
+
vendorRequestId?: string;
|
|
16220
|
+
vendorType?: string;
|
|
16221
|
+
static names(): { [key: string]: string } {
|
|
16222
|
+
return {
|
|
16223
|
+
nextToken: 'nextToken',
|
|
16224
|
+
requestId: 'requestId',
|
|
16225
|
+
spaces: 'spaces',
|
|
16226
|
+
vendorRequestId: 'vendorRequestId',
|
|
16227
|
+
vendorType: 'vendorType',
|
|
16228
|
+
};
|
|
16229
|
+
}
|
|
16230
|
+
|
|
16231
|
+
static types(): { [key: string]: any } {
|
|
16232
|
+
return {
|
|
16233
|
+
nextToken: 'string',
|
|
16234
|
+
requestId: 'string',
|
|
16235
|
+
spaces: { 'type': 'array', 'itemType': ListDriveSpacesResponseBodySpaces },
|
|
16236
|
+
vendorRequestId: 'string',
|
|
16237
|
+
vendorType: 'string',
|
|
16238
|
+
};
|
|
16239
|
+
}
|
|
16240
|
+
|
|
16241
|
+
constructor(map?: { [key: string]: any }) {
|
|
16242
|
+
super(map);
|
|
16243
|
+
}
|
|
16244
|
+
}
|
|
16245
|
+
|
|
16246
|
+
export class ListDriveSpacesResponse extends $tea.Model {
|
|
16247
|
+
headers?: { [key: string]: string };
|
|
16248
|
+
statusCode?: number;
|
|
16249
|
+
body?: ListDriveSpacesResponseBody;
|
|
16250
|
+
static names(): { [key: string]: string } {
|
|
16251
|
+
return {
|
|
16252
|
+
headers: 'headers',
|
|
16253
|
+
statusCode: 'statusCode',
|
|
16254
|
+
body: 'body',
|
|
16255
|
+
};
|
|
16256
|
+
}
|
|
16257
|
+
|
|
16258
|
+
static types(): { [key: string]: any } {
|
|
16259
|
+
return {
|
|
16260
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
16261
|
+
statusCode: 'number',
|
|
16262
|
+
body: ListDriveSpacesResponseBody,
|
|
16263
|
+
};
|
|
16264
|
+
}
|
|
16265
|
+
|
|
16266
|
+
constructor(map?: { [key: string]: any }) {
|
|
16267
|
+
super(map);
|
|
16268
|
+
}
|
|
16269
|
+
}
|
|
16270
|
+
|
|
15635
16271
|
export class ListEventsHeaders extends $tea.Model {
|
|
15636
16272
|
commonHeaders?: { [key: string]: string };
|
|
15637
16273
|
accountContext?: ListEventsHeadersAccountContext;
|
|
@@ -26624,6 +27260,44 @@ export class AddAttendeeResponseBodyContent extends $tea.Model {
|
|
|
26624
27260
|
}
|
|
26625
27261
|
}
|
|
26626
27262
|
|
|
27263
|
+
export class AddDriveSpaceHeadersAccountContext extends $tea.Model {
|
|
27264
|
+
accountId?: string;
|
|
27265
|
+
static names(): { [key: string]: string } {
|
|
27266
|
+
return {
|
|
27267
|
+
accountId: 'accountId',
|
|
27268
|
+
};
|
|
27269
|
+
}
|
|
27270
|
+
|
|
27271
|
+
static types(): { [key: string]: any } {
|
|
27272
|
+
return {
|
|
27273
|
+
accountId: 'string',
|
|
27274
|
+
};
|
|
27275
|
+
}
|
|
27276
|
+
|
|
27277
|
+
constructor(map?: { [key: string]: any }) {
|
|
27278
|
+
super(map);
|
|
27279
|
+
}
|
|
27280
|
+
}
|
|
27281
|
+
|
|
27282
|
+
export class AddDriveSpaceRequestTenantContext extends $tea.Model {
|
|
27283
|
+
tenantId?: string;
|
|
27284
|
+
static names(): { [key: string]: string } {
|
|
27285
|
+
return {
|
|
27286
|
+
tenantId: 'tenantId',
|
|
27287
|
+
};
|
|
27288
|
+
}
|
|
27289
|
+
|
|
27290
|
+
static types(): { [key: string]: any } {
|
|
27291
|
+
return {
|
|
27292
|
+
tenantId: 'string',
|
|
27293
|
+
};
|
|
27294
|
+
}
|
|
27295
|
+
|
|
27296
|
+
constructor(map?: { [key: string]: any }) {
|
|
27297
|
+
super(map);
|
|
27298
|
+
}
|
|
27299
|
+
}
|
|
27300
|
+
|
|
26627
27301
|
export class AddMeetingRoomsHeadersAccountContext extends $tea.Model {
|
|
26628
27302
|
accountId?: string;
|
|
26629
27303
|
static names(): { [key: string]: string } {
|
|
@@ -27428,6 +28102,63 @@ export class CreateDeliveryPlanRequestTenantContext extends $tea.Model {
|
|
|
27428
28102
|
}
|
|
27429
28103
|
}
|
|
27430
28104
|
|
|
28105
|
+
export class CreateDingtalkPersonalTodoTaskHeadersAccountContext extends $tea.Model {
|
|
28106
|
+
accountId?: string;
|
|
28107
|
+
static names(): { [key: string]: string } {
|
|
28108
|
+
return {
|
|
28109
|
+
accountId: 'accountId',
|
|
28110
|
+
};
|
|
28111
|
+
}
|
|
28112
|
+
|
|
28113
|
+
static types(): { [key: string]: any } {
|
|
28114
|
+
return {
|
|
28115
|
+
accountId: 'string',
|
|
28116
|
+
};
|
|
28117
|
+
}
|
|
28118
|
+
|
|
28119
|
+
constructor(map?: { [key: string]: any }) {
|
|
28120
|
+
super(map);
|
|
28121
|
+
}
|
|
28122
|
+
}
|
|
28123
|
+
|
|
28124
|
+
export class CreateDingtalkPersonalTodoTaskRequestNotifyConfigs extends $tea.Model {
|
|
28125
|
+
dingNotify?: string;
|
|
28126
|
+
static names(): { [key: string]: string } {
|
|
28127
|
+
return {
|
|
28128
|
+
dingNotify: 'DingNotify',
|
|
28129
|
+
};
|
|
28130
|
+
}
|
|
28131
|
+
|
|
28132
|
+
static types(): { [key: string]: any } {
|
|
28133
|
+
return {
|
|
28134
|
+
dingNotify: 'string',
|
|
28135
|
+
};
|
|
28136
|
+
}
|
|
28137
|
+
|
|
28138
|
+
constructor(map?: { [key: string]: any }) {
|
|
28139
|
+
super(map);
|
|
28140
|
+
}
|
|
28141
|
+
}
|
|
28142
|
+
|
|
28143
|
+
export class CreateDingtalkPersonalTodoTaskRequestTenantContext extends $tea.Model {
|
|
28144
|
+
tenantId?: string;
|
|
28145
|
+
static names(): { [key: string]: string } {
|
|
28146
|
+
return {
|
|
28147
|
+
tenantId: 'tenantId',
|
|
28148
|
+
};
|
|
28149
|
+
}
|
|
28150
|
+
|
|
28151
|
+
static types(): { [key: string]: any } {
|
|
28152
|
+
return {
|
|
28153
|
+
tenantId: 'string',
|
|
28154
|
+
};
|
|
28155
|
+
}
|
|
28156
|
+
|
|
28157
|
+
constructor(map?: { [key: string]: any }) {
|
|
28158
|
+
super(map);
|
|
28159
|
+
}
|
|
28160
|
+
}
|
|
28161
|
+
|
|
27431
28162
|
export class CreateEventHeadersAccountContext extends $tea.Model {
|
|
27432
28163
|
accountId?: string;
|
|
27433
28164
|
static names(): { [key: string]: string } {
|
|
@@ -28861,6 +29592,44 @@ export class DeleteColumnsRequestTenantContext extends $tea.Model {
|
|
|
28861
29592
|
}
|
|
28862
29593
|
}
|
|
28863
29594
|
|
|
29595
|
+
export class DeleteDriveSpaceHeadersAccountContext extends $tea.Model {
|
|
29596
|
+
accountId?: string;
|
|
29597
|
+
static names(): { [key: string]: string } {
|
|
29598
|
+
return {
|
|
29599
|
+
accountId: 'accountId',
|
|
29600
|
+
};
|
|
29601
|
+
}
|
|
29602
|
+
|
|
29603
|
+
static types(): { [key: string]: any } {
|
|
29604
|
+
return {
|
|
29605
|
+
accountId: 'string',
|
|
29606
|
+
};
|
|
29607
|
+
}
|
|
29608
|
+
|
|
29609
|
+
constructor(map?: { [key: string]: any }) {
|
|
29610
|
+
super(map);
|
|
29611
|
+
}
|
|
29612
|
+
}
|
|
29613
|
+
|
|
29614
|
+
export class DeleteDriveSpaceRequestTenantContext extends $tea.Model {
|
|
29615
|
+
tenantId?: string;
|
|
29616
|
+
static names(): { [key: string]: string } {
|
|
29617
|
+
return {
|
|
29618
|
+
tenantId: 'tenantId',
|
|
29619
|
+
};
|
|
29620
|
+
}
|
|
29621
|
+
|
|
29622
|
+
static types(): { [key: string]: any } {
|
|
29623
|
+
return {
|
|
29624
|
+
tenantId: 'string',
|
|
29625
|
+
};
|
|
29626
|
+
}
|
|
29627
|
+
|
|
29628
|
+
constructor(map?: { [key: string]: any }) {
|
|
29629
|
+
super(map);
|
|
29630
|
+
}
|
|
29631
|
+
}
|
|
29632
|
+
|
|
28864
29633
|
export class DeleteEventHeadersAccountContext extends $tea.Model {
|
|
28865
29634
|
accountId?: string;
|
|
28866
29635
|
static names(): { [key: string]: string } {
|
|
@@ -34508,6 +35277,84 @@ export class ListDentriesResponseBodyDentries extends $tea.Model {
|
|
|
34508
35277
|
}
|
|
34509
35278
|
}
|
|
34510
35279
|
|
|
35280
|
+
export class ListDriveSpacesHeadersAccountContext extends $tea.Model {
|
|
35281
|
+
accountId?: string;
|
|
35282
|
+
static names(): { [key: string]: string } {
|
|
35283
|
+
return {
|
|
35284
|
+
accountId: 'accountId',
|
|
35285
|
+
};
|
|
35286
|
+
}
|
|
35287
|
+
|
|
35288
|
+
static types(): { [key: string]: any } {
|
|
35289
|
+
return {
|
|
35290
|
+
accountId: 'string',
|
|
35291
|
+
};
|
|
35292
|
+
}
|
|
35293
|
+
|
|
35294
|
+
constructor(map?: { [key: string]: any }) {
|
|
35295
|
+
super(map);
|
|
35296
|
+
}
|
|
35297
|
+
}
|
|
35298
|
+
|
|
35299
|
+
export class ListDriveSpacesRequestTenantContext extends $tea.Model {
|
|
35300
|
+
tenantId?: string;
|
|
35301
|
+
static names(): { [key: string]: string } {
|
|
35302
|
+
return {
|
|
35303
|
+
tenantId: 'tenantId',
|
|
35304
|
+
};
|
|
35305
|
+
}
|
|
35306
|
+
|
|
35307
|
+
static types(): { [key: string]: any } {
|
|
35308
|
+
return {
|
|
35309
|
+
tenantId: 'string',
|
|
35310
|
+
};
|
|
35311
|
+
}
|
|
35312
|
+
|
|
35313
|
+
constructor(map?: { [key: string]: any }) {
|
|
35314
|
+
super(map);
|
|
35315
|
+
}
|
|
35316
|
+
}
|
|
35317
|
+
|
|
35318
|
+
export class ListDriveSpacesResponseBodySpaces extends $tea.Model {
|
|
35319
|
+
createTime?: string;
|
|
35320
|
+
modifyTime?: string;
|
|
35321
|
+
permissionMode?: string;
|
|
35322
|
+
quota?: number;
|
|
35323
|
+
spaceId?: string;
|
|
35324
|
+
spaceName?: string;
|
|
35325
|
+
spaceType?: string;
|
|
35326
|
+
usedQuota?: number;
|
|
35327
|
+
static names(): { [key: string]: string } {
|
|
35328
|
+
return {
|
|
35329
|
+
createTime: 'CreateTime',
|
|
35330
|
+
modifyTime: 'ModifyTime',
|
|
35331
|
+
permissionMode: 'PermissionMode',
|
|
35332
|
+
quota: 'Quota',
|
|
35333
|
+
spaceId: 'SpaceId',
|
|
35334
|
+
spaceName: 'SpaceName',
|
|
35335
|
+
spaceType: 'SpaceType',
|
|
35336
|
+
usedQuota: 'UsedQuota',
|
|
35337
|
+
};
|
|
35338
|
+
}
|
|
35339
|
+
|
|
35340
|
+
static types(): { [key: string]: any } {
|
|
35341
|
+
return {
|
|
35342
|
+
createTime: 'string',
|
|
35343
|
+
modifyTime: 'string',
|
|
35344
|
+
permissionMode: 'string',
|
|
35345
|
+
quota: 'number',
|
|
35346
|
+
spaceId: 'string',
|
|
35347
|
+
spaceName: 'string',
|
|
35348
|
+
spaceType: 'string',
|
|
35349
|
+
usedQuota: 'number',
|
|
35350
|
+
};
|
|
35351
|
+
}
|
|
35352
|
+
|
|
35353
|
+
constructor(map?: { [key: string]: any }) {
|
|
35354
|
+
super(map);
|
|
35355
|
+
}
|
|
35356
|
+
}
|
|
35357
|
+
|
|
34511
35358
|
export class ListEventsHeadersAccountContext extends $tea.Model {
|
|
34512
35359
|
accountId?: string;
|
|
34513
35360
|
static names(): { [key: string]: string } {
|
|
@@ -40685,6 +41532,76 @@ export default class Client extends OpenApi {
|
|
|
40685
41532
|
return await this.addAttendeeWithOptions(request, headers, runtime);
|
|
40686
41533
|
}
|
|
40687
41534
|
|
|
41535
|
+
/**
|
|
41536
|
+
* @summary 新建钉盘空间
|
|
41537
|
+
*
|
|
41538
|
+
* @param tmpReq AddDriveSpaceRequest
|
|
41539
|
+
* @param tmpHeader AddDriveSpaceHeaders
|
|
41540
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
41541
|
+
* @return AddDriveSpaceResponse
|
|
41542
|
+
*/
|
|
41543
|
+
async addDriveSpaceWithOptions(tmpReq: AddDriveSpaceRequest, tmpHeader: AddDriveSpaceHeaders, runtime: $Util.RuntimeOptions): Promise<AddDriveSpaceResponse> {
|
|
41544
|
+
Util.validateModel(tmpReq);
|
|
41545
|
+
let request = new AddDriveSpaceShrinkRequest({ });
|
|
41546
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
41547
|
+
let headers = new AddDriveSpaceShrinkHeaders({ });
|
|
41548
|
+
OpenApiUtil.convert(tmpHeader, headers);
|
|
41549
|
+
if (!Util.isUnset(tmpHeader.accountContext)) {
|
|
41550
|
+
headers.accountContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
41551
|
+
}
|
|
41552
|
+
|
|
41553
|
+
if (!Util.isUnset(tmpReq.tenantContext)) {
|
|
41554
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
41555
|
+
}
|
|
41556
|
+
|
|
41557
|
+
let body : {[key: string ]: any} = { };
|
|
41558
|
+
if (!Util.isUnset(request.name)) {
|
|
41559
|
+
body["Name"] = request.name;
|
|
41560
|
+
}
|
|
41561
|
+
|
|
41562
|
+
if (!Util.isUnset(request.tenantContextShrink)) {
|
|
41563
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
41564
|
+
}
|
|
41565
|
+
|
|
41566
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
41567
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
41568
|
+
realHeaders = headers.commonHeaders;
|
|
41569
|
+
}
|
|
41570
|
+
|
|
41571
|
+
if (!Util.isUnset(headers.accountContextShrink)) {
|
|
41572
|
+
realHeaders["AccountContext"] = Util.toJSONString(headers.accountContextShrink);
|
|
41573
|
+
}
|
|
41574
|
+
|
|
41575
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
41576
|
+
headers: realHeaders,
|
|
41577
|
+
body: OpenApiUtil.parseToMap(body),
|
|
41578
|
+
});
|
|
41579
|
+
let params = new $OpenApi.Params({
|
|
41580
|
+
action: "AddDriveSpace",
|
|
41581
|
+
version: "2023-04-26",
|
|
41582
|
+
protocol: "HTTPS",
|
|
41583
|
+
pathname: `/dingtalk/v1/documents/addDriveSpace`,
|
|
41584
|
+
method: "POST",
|
|
41585
|
+
authType: "AK",
|
|
41586
|
+
style: "ROA",
|
|
41587
|
+
reqBodyType: "formData",
|
|
41588
|
+
bodyType: "json",
|
|
41589
|
+
});
|
|
41590
|
+
return $tea.cast<AddDriveSpaceResponse>(await this.callApi(params, req, runtime), new AddDriveSpaceResponse({}));
|
|
41591
|
+
}
|
|
41592
|
+
|
|
41593
|
+
/**
|
|
41594
|
+
* @summary 新建钉盘空间
|
|
41595
|
+
*
|
|
41596
|
+
* @param request AddDriveSpaceRequest
|
|
41597
|
+
* @return AddDriveSpaceResponse
|
|
41598
|
+
*/
|
|
41599
|
+
async addDriveSpace(request: AddDriveSpaceRequest): Promise<AddDriveSpaceResponse> {
|
|
41600
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
41601
|
+
let headers = new AddDriveSpaceHeaders({ });
|
|
41602
|
+
return await this.addDriveSpaceWithOptions(request, headers, runtime);
|
|
41603
|
+
}
|
|
41604
|
+
|
|
40688
41605
|
/**
|
|
40689
41606
|
* @summary 预定会议室
|
|
40690
41607
|
*
|
|
@@ -41969,6 +42886,112 @@ export default class Client extends OpenApi {
|
|
|
41969
42886
|
return await this.createDeliveryPlanWithOptions(request, headers, runtime);
|
|
41970
42887
|
}
|
|
41971
42888
|
|
|
42889
|
+
/**
|
|
42890
|
+
* @summary 委托权限创建钉钉个人待办
|
|
42891
|
+
*
|
|
42892
|
+
* @param tmpReq CreateDingtalkPersonalTodoTaskRequest
|
|
42893
|
+
* @param tmpHeader CreateDingtalkPersonalTodoTaskHeaders
|
|
42894
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
42895
|
+
* @return CreateDingtalkPersonalTodoTaskResponse
|
|
42896
|
+
*/
|
|
42897
|
+
async createDingtalkPersonalTodoTaskWithOptions(tmpReq: CreateDingtalkPersonalTodoTaskRequest, tmpHeader: CreateDingtalkPersonalTodoTaskHeaders, runtime: $Util.RuntimeOptions): Promise<CreateDingtalkPersonalTodoTaskResponse> {
|
|
42898
|
+
Util.validateModel(tmpReq);
|
|
42899
|
+
let request = new CreateDingtalkPersonalTodoTaskShrinkRequest({ });
|
|
42900
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
42901
|
+
let headers = new CreateDingtalkPersonalTodoTaskShrinkHeaders({ });
|
|
42902
|
+
OpenApiUtil.convert(tmpHeader, headers);
|
|
42903
|
+
if (!Util.isUnset(tmpHeader.accountContext)) {
|
|
42904
|
+
headers.accountContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
42905
|
+
}
|
|
42906
|
+
|
|
42907
|
+
if (!Util.isUnset(tmpReq.executorIds)) {
|
|
42908
|
+
request.executorIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.executorIds, "ExecutorIds", "json");
|
|
42909
|
+
}
|
|
42910
|
+
|
|
42911
|
+
if (!Util.isUnset(tmpReq.notifyConfigs)) {
|
|
42912
|
+
request.notifyConfigsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.notifyConfigs, "NotifyConfigs", "json");
|
|
42913
|
+
}
|
|
42914
|
+
|
|
42915
|
+
if (!Util.isUnset(tmpReq.participantIds)) {
|
|
42916
|
+
request.participantIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.participantIds, "ParticipantIds", "json");
|
|
42917
|
+
}
|
|
42918
|
+
|
|
42919
|
+
if (!Util.isUnset(tmpReq.tenantContext)) {
|
|
42920
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
42921
|
+
}
|
|
42922
|
+
|
|
42923
|
+
let body : {[key: string ]: any} = { };
|
|
42924
|
+
if (!Util.isUnset(request.description)) {
|
|
42925
|
+
body["Description"] = request.description;
|
|
42926
|
+
}
|
|
42927
|
+
|
|
42928
|
+
if (!Util.isUnset(request.dueTime)) {
|
|
42929
|
+
body["DueTime"] = request.dueTime;
|
|
42930
|
+
}
|
|
42931
|
+
|
|
42932
|
+
if (!Util.isUnset(request.executorIdsShrink)) {
|
|
42933
|
+
body["ExecutorIds"] = request.executorIdsShrink;
|
|
42934
|
+
}
|
|
42935
|
+
|
|
42936
|
+
if (!Util.isUnset(request.notifyConfigsShrink)) {
|
|
42937
|
+
body["NotifyConfigs"] = request.notifyConfigsShrink;
|
|
42938
|
+
}
|
|
42939
|
+
|
|
42940
|
+
if (!Util.isUnset(request.participantIdsShrink)) {
|
|
42941
|
+
body["ParticipantIds"] = request.participantIdsShrink;
|
|
42942
|
+
}
|
|
42943
|
+
|
|
42944
|
+
if (!Util.isUnset(request.subject)) {
|
|
42945
|
+
body["Subject"] = request.subject;
|
|
42946
|
+
}
|
|
42947
|
+
|
|
42948
|
+
if (!Util.isUnset(request.tenantContextShrink)) {
|
|
42949
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
42950
|
+
}
|
|
42951
|
+
|
|
42952
|
+
if (!Util.isUnset(request.userToken)) {
|
|
42953
|
+
body["UserToken"] = request.userToken;
|
|
42954
|
+
}
|
|
42955
|
+
|
|
42956
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
42957
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
42958
|
+
realHeaders = headers.commonHeaders;
|
|
42959
|
+
}
|
|
42960
|
+
|
|
42961
|
+
if (!Util.isUnset(headers.accountContextShrink)) {
|
|
42962
|
+
realHeaders["AccountContext"] = Util.toJSONString(headers.accountContextShrink);
|
|
42963
|
+
}
|
|
42964
|
+
|
|
42965
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
42966
|
+
headers: realHeaders,
|
|
42967
|
+
body: OpenApiUtil.parseToMap(body),
|
|
42968
|
+
});
|
|
42969
|
+
let params = new $OpenApi.Params({
|
|
42970
|
+
action: "CreateDingtalkPersonalTodoTask",
|
|
42971
|
+
version: "2023-04-26",
|
|
42972
|
+
protocol: "HTTPS",
|
|
42973
|
+
pathname: `/dingtalk/v1/task/createDingtalkPersonalTodoTask`,
|
|
42974
|
+
method: "POST",
|
|
42975
|
+
authType: "AK",
|
|
42976
|
+
style: "ROA",
|
|
42977
|
+
reqBodyType: "formData",
|
|
42978
|
+
bodyType: "json",
|
|
42979
|
+
});
|
|
42980
|
+
return $tea.cast<CreateDingtalkPersonalTodoTaskResponse>(await this.callApi(params, req, runtime), new CreateDingtalkPersonalTodoTaskResponse({}));
|
|
42981
|
+
}
|
|
42982
|
+
|
|
42983
|
+
/**
|
|
42984
|
+
* @summary 委托权限创建钉钉个人待办
|
|
42985
|
+
*
|
|
42986
|
+
* @param request CreateDingtalkPersonalTodoTaskRequest
|
|
42987
|
+
* @return CreateDingtalkPersonalTodoTaskResponse
|
|
42988
|
+
*/
|
|
42989
|
+
async createDingtalkPersonalTodoTask(request: CreateDingtalkPersonalTodoTaskRequest): Promise<CreateDingtalkPersonalTodoTaskResponse> {
|
|
42990
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
42991
|
+
let headers = new CreateDingtalkPersonalTodoTaskHeaders({ });
|
|
42992
|
+
return await this.createDingtalkPersonalTodoTaskWithOptions(request, headers, runtime);
|
|
42993
|
+
}
|
|
42994
|
+
|
|
41972
42995
|
/**
|
|
41973
42996
|
* @summary 创建日程
|
|
41974
42997
|
*
|
|
@@ -43797,6 +44820,76 @@ export default class Client extends OpenApi {
|
|
|
43797
44820
|
return await this.deleteColumnsWithOptions(request, headers, runtime);
|
|
43798
44821
|
}
|
|
43799
44822
|
|
|
44823
|
+
/**
|
|
44824
|
+
* @summary 删除钉盘空间
|
|
44825
|
+
*
|
|
44826
|
+
* @param tmpReq DeleteDriveSpaceRequest
|
|
44827
|
+
* @param tmpHeader DeleteDriveSpaceHeaders
|
|
44828
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
44829
|
+
* @return DeleteDriveSpaceResponse
|
|
44830
|
+
*/
|
|
44831
|
+
async deleteDriveSpaceWithOptions(tmpReq: DeleteDriveSpaceRequest, tmpHeader: DeleteDriveSpaceHeaders, runtime: $Util.RuntimeOptions): Promise<DeleteDriveSpaceResponse> {
|
|
44832
|
+
Util.validateModel(tmpReq);
|
|
44833
|
+
let request = new DeleteDriveSpaceShrinkRequest({ });
|
|
44834
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
44835
|
+
let headers = new DeleteDriveSpaceShrinkHeaders({ });
|
|
44836
|
+
OpenApiUtil.convert(tmpHeader, headers);
|
|
44837
|
+
if (!Util.isUnset(tmpHeader.accountContext)) {
|
|
44838
|
+
headers.accountContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
44839
|
+
}
|
|
44840
|
+
|
|
44841
|
+
if (!Util.isUnset(tmpReq.tenantContext)) {
|
|
44842
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
44843
|
+
}
|
|
44844
|
+
|
|
44845
|
+
let body : {[key: string ]: any} = { };
|
|
44846
|
+
if (!Util.isUnset(request.spaceId)) {
|
|
44847
|
+
body["SpaceId"] = request.spaceId;
|
|
44848
|
+
}
|
|
44849
|
+
|
|
44850
|
+
if (!Util.isUnset(request.tenantContextShrink)) {
|
|
44851
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
44852
|
+
}
|
|
44853
|
+
|
|
44854
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
44855
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
44856
|
+
realHeaders = headers.commonHeaders;
|
|
44857
|
+
}
|
|
44858
|
+
|
|
44859
|
+
if (!Util.isUnset(headers.accountContextShrink)) {
|
|
44860
|
+
realHeaders["AccountContext"] = Util.toJSONString(headers.accountContextShrink);
|
|
44861
|
+
}
|
|
44862
|
+
|
|
44863
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
44864
|
+
headers: realHeaders,
|
|
44865
|
+
body: OpenApiUtil.parseToMap(body),
|
|
44866
|
+
});
|
|
44867
|
+
let params = new $OpenApi.Params({
|
|
44868
|
+
action: "DeleteDriveSpace",
|
|
44869
|
+
version: "2023-04-26",
|
|
44870
|
+
protocol: "HTTPS",
|
|
44871
|
+
pathname: `/dingtalk/v1/documents/deleteDriveSpace`,
|
|
44872
|
+
method: "POST",
|
|
44873
|
+
authType: "AK",
|
|
44874
|
+
style: "ROA",
|
|
44875
|
+
reqBodyType: "formData",
|
|
44876
|
+
bodyType: "json",
|
|
44877
|
+
});
|
|
44878
|
+
return $tea.cast<DeleteDriveSpaceResponse>(await this.callApi(params, req, runtime), new DeleteDriveSpaceResponse({}));
|
|
44879
|
+
}
|
|
44880
|
+
|
|
44881
|
+
/**
|
|
44882
|
+
* @summary 删除钉盘空间
|
|
44883
|
+
*
|
|
44884
|
+
* @param request DeleteDriveSpaceRequest
|
|
44885
|
+
* @return DeleteDriveSpaceResponse
|
|
44886
|
+
*/
|
|
44887
|
+
async deleteDriveSpace(request: DeleteDriveSpaceRequest): Promise<DeleteDriveSpaceResponse> {
|
|
44888
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
44889
|
+
let headers = new DeleteDriveSpaceHeaders({ });
|
|
44890
|
+
return await this.deleteDriveSpaceWithOptions(request, headers, runtime);
|
|
44891
|
+
}
|
|
44892
|
+
|
|
43800
44893
|
/**
|
|
43801
44894
|
* @summary 删除日程
|
|
43802
44895
|
*
|
|
@@ -49115,6 +50208,84 @@ export default class Client extends OpenApi {
|
|
|
49115
50208
|
return await this.listDentriesWithOptions(request, headers, runtime);
|
|
49116
50209
|
}
|
|
49117
50210
|
|
|
50211
|
+
/**
|
|
50212
|
+
* @summary 获取钉盘空间列表
|
|
50213
|
+
*
|
|
50214
|
+
* @param tmpReq ListDriveSpacesRequest
|
|
50215
|
+
* @param tmpHeader ListDriveSpacesHeaders
|
|
50216
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
50217
|
+
* @return ListDriveSpacesResponse
|
|
50218
|
+
*/
|
|
50219
|
+
async listDriveSpacesWithOptions(tmpReq: ListDriveSpacesRequest, tmpHeader: ListDriveSpacesHeaders, runtime: $Util.RuntimeOptions): Promise<ListDriveSpacesResponse> {
|
|
50220
|
+
Util.validateModel(tmpReq);
|
|
50221
|
+
let request = new ListDriveSpacesShrinkRequest({ });
|
|
50222
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
50223
|
+
let headers = new ListDriveSpacesShrinkHeaders({ });
|
|
50224
|
+
OpenApiUtil.convert(tmpHeader, headers);
|
|
50225
|
+
if (!Util.isUnset(tmpHeader.accountContext)) {
|
|
50226
|
+
headers.accountContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
50227
|
+
}
|
|
50228
|
+
|
|
50229
|
+
if (!Util.isUnset(tmpReq.tenantContext)) {
|
|
50230
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
50231
|
+
}
|
|
50232
|
+
|
|
50233
|
+
let body : {[key: string ]: any} = { };
|
|
50234
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
50235
|
+
body["MaxResults"] = request.maxResults;
|
|
50236
|
+
}
|
|
50237
|
+
|
|
50238
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
50239
|
+
body["NextToken"] = request.nextToken;
|
|
50240
|
+
}
|
|
50241
|
+
|
|
50242
|
+
if (!Util.isUnset(request.spaceType)) {
|
|
50243
|
+
body["SpaceType"] = request.spaceType;
|
|
50244
|
+
}
|
|
50245
|
+
|
|
50246
|
+
if (!Util.isUnset(request.tenantContextShrink)) {
|
|
50247
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
50248
|
+
}
|
|
50249
|
+
|
|
50250
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
50251
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
50252
|
+
realHeaders = headers.commonHeaders;
|
|
50253
|
+
}
|
|
50254
|
+
|
|
50255
|
+
if (!Util.isUnset(headers.accountContextShrink)) {
|
|
50256
|
+
realHeaders["AccountContext"] = Util.toJSONString(headers.accountContextShrink);
|
|
50257
|
+
}
|
|
50258
|
+
|
|
50259
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
50260
|
+
headers: realHeaders,
|
|
50261
|
+
body: OpenApiUtil.parseToMap(body),
|
|
50262
|
+
});
|
|
50263
|
+
let params = new $OpenApi.Params({
|
|
50264
|
+
action: "ListDriveSpaces",
|
|
50265
|
+
version: "2023-04-26",
|
|
50266
|
+
protocol: "HTTPS",
|
|
50267
|
+
pathname: `/dingtalk/v1/documents/listDriveSpaces`,
|
|
50268
|
+
method: "POST",
|
|
50269
|
+
authType: "AK",
|
|
50270
|
+
style: "ROA",
|
|
50271
|
+
reqBodyType: "formData",
|
|
50272
|
+
bodyType: "json",
|
|
50273
|
+
});
|
|
50274
|
+
return $tea.cast<ListDriveSpacesResponse>(await this.callApi(params, req, runtime), new ListDriveSpacesResponse({}));
|
|
50275
|
+
}
|
|
50276
|
+
|
|
50277
|
+
/**
|
|
50278
|
+
* @summary 获取钉盘空间列表
|
|
50279
|
+
*
|
|
50280
|
+
* @param request ListDriveSpacesRequest
|
|
50281
|
+
* @return ListDriveSpacesResponse
|
|
50282
|
+
*/
|
|
50283
|
+
async listDriveSpaces(request: ListDriveSpacesRequest): Promise<ListDriveSpacesResponse> {
|
|
50284
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
50285
|
+
let headers = new ListDriveSpacesHeaders({ });
|
|
50286
|
+
return await this.listDriveSpacesWithOptions(request, headers, runtime);
|
|
50287
|
+
}
|
|
50288
|
+
|
|
49118
50289
|
/**
|
|
49119
50290
|
* @summary 查询日程列表
|
|
49120
50291
|
*
|