@alicloud/aliding20230426 2.16.0 → 2.17.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 +375 -0
- package/dist/client.js +506 -25
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +671 -0
package/dist/client.d.ts
CHANGED
|
@@ -3147,6 +3147,7 @@ export declare class CreateEventShrinkHeaders extends $tea.Model {
|
|
|
3147
3147
|
}
|
|
3148
3148
|
export declare class CreateEventRequest extends $tea.Model {
|
|
3149
3149
|
attendees?: CreateEventRequestAttendees[];
|
|
3150
|
+
cardInstances?: CreateEventRequestCardInstances[];
|
|
3150
3151
|
description?: string;
|
|
3151
3152
|
end?: CreateEventRequestEnd;
|
|
3152
3153
|
extra?: {
|
|
@@ -3197,6 +3198,7 @@ export declare class CreateEventRequest extends $tea.Model {
|
|
|
3197
3198
|
}
|
|
3198
3199
|
export declare class CreateEventShrinkRequest extends $tea.Model {
|
|
3199
3200
|
attendeesShrink?: string;
|
|
3201
|
+
cardInstancesShrink?: string;
|
|
3200
3202
|
description?: string;
|
|
3201
3203
|
endShrink?: string;
|
|
3202
3204
|
extraShrink?: string;
|
|
@@ -13293,6 +13295,132 @@ export declare class GetSheetResponse extends $tea.Model {
|
|
|
13293
13295
|
[key: string]: any;
|
|
13294
13296
|
});
|
|
13295
13297
|
}
|
|
13298
|
+
export declare class GetSheetContentJobIdHeaders extends $tea.Model {
|
|
13299
|
+
commonHeaders?: {
|
|
13300
|
+
[key: string]: string;
|
|
13301
|
+
};
|
|
13302
|
+
accountContext?: GetSheetContentJobIdHeadersAccountContext;
|
|
13303
|
+
static names(): {
|
|
13304
|
+
[key: string]: string;
|
|
13305
|
+
};
|
|
13306
|
+
static types(): {
|
|
13307
|
+
[key: string]: any;
|
|
13308
|
+
};
|
|
13309
|
+
constructor(map?: {
|
|
13310
|
+
[key: string]: any;
|
|
13311
|
+
});
|
|
13312
|
+
}
|
|
13313
|
+
export declare class GetSheetContentJobIdShrinkHeaders extends $tea.Model {
|
|
13314
|
+
commonHeaders?: {
|
|
13315
|
+
[key: string]: string;
|
|
13316
|
+
};
|
|
13317
|
+
accountContextShrink?: string;
|
|
13318
|
+
static names(): {
|
|
13319
|
+
[key: string]: string;
|
|
13320
|
+
};
|
|
13321
|
+
static types(): {
|
|
13322
|
+
[key: string]: any;
|
|
13323
|
+
};
|
|
13324
|
+
constructor(map?: {
|
|
13325
|
+
[key: string]: any;
|
|
13326
|
+
});
|
|
13327
|
+
}
|
|
13328
|
+
export declare class GetSheetContentJobIdRequest extends $tea.Model {
|
|
13329
|
+
/**
|
|
13330
|
+
* @example
|
|
13331
|
+
* MNDoBb60VLYDGNPytQe7Gzp4JlemrZQ3
|
|
13332
|
+
*/
|
|
13333
|
+
dentryUuid?: string;
|
|
13334
|
+
/**
|
|
13335
|
+
* @example
|
|
13336
|
+
* dingTalksheetToxlsx
|
|
13337
|
+
*/
|
|
13338
|
+
exportType?: string;
|
|
13339
|
+
tenantContext?: GetSheetContentJobIdRequestTenantContext;
|
|
13340
|
+
static names(): {
|
|
13341
|
+
[key: string]: string;
|
|
13342
|
+
};
|
|
13343
|
+
static types(): {
|
|
13344
|
+
[key: string]: any;
|
|
13345
|
+
};
|
|
13346
|
+
constructor(map?: {
|
|
13347
|
+
[key: string]: any;
|
|
13348
|
+
});
|
|
13349
|
+
}
|
|
13350
|
+
export declare class GetSheetContentJobIdShrinkRequest extends $tea.Model {
|
|
13351
|
+
/**
|
|
13352
|
+
* @example
|
|
13353
|
+
* MNDoBb60VLYDGNPytQe7Gzp4JlemrZQ3
|
|
13354
|
+
*/
|
|
13355
|
+
dentryUuid?: string;
|
|
13356
|
+
/**
|
|
13357
|
+
* @example
|
|
13358
|
+
* dingTalksheetToxlsx
|
|
13359
|
+
*/
|
|
13360
|
+
exportType?: string;
|
|
13361
|
+
tenantContextShrink?: string;
|
|
13362
|
+
static names(): {
|
|
13363
|
+
[key: string]: string;
|
|
13364
|
+
};
|
|
13365
|
+
static types(): {
|
|
13366
|
+
[key: string]: any;
|
|
13367
|
+
};
|
|
13368
|
+
constructor(map?: {
|
|
13369
|
+
[key: string]: any;
|
|
13370
|
+
});
|
|
13371
|
+
}
|
|
13372
|
+
export declare class GetSheetContentJobIdResponseBody extends $tea.Model {
|
|
13373
|
+
/**
|
|
13374
|
+
* @example
|
|
13375
|
+
* 14640056080
|
|
13376
|
+
*/
|
|
13377
|
+
jobId?: string;
|
|
13378
|
+
/**
|
|
13379
|
+
* @example
|
|
13380
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
13381
|
+
*/
|
|
13382
|
+
requestId?: string;
|
|
13383
|
+
/**
|
|
13384
|
+
* @example
|
|
13385
|
+
* init
|
|
13386
|
+
*/
|
|
13387
|
+
status?: string;
|
|
13388
|
+
/**
|
|
13389
|
+
* @example
|
|
13390
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
13391
|
+
*/
|
|
13392
|
+
vendorRequestId?: string;
|
|
13393
|
+
/**
|
|
13394
|
+
* @example
|
|
13395
|
+
* dingtalk
|
|
13396
|
+
*/
|
|
13397
|
+
vendorType?: string;
|
|
13398
|
+
static names(): {
|
|
13399
|
+
[key: string]: string;
|
|
13400
|
+
};
|
|
13401
|
+
static types(): {
|
|
13402
|
+
[key: string]: any;
|
|
13403
|
+
};
|
|
13404
|
+
constructor(map?: {
|
|
13405
|
+
[key: string]: any;
|
|
13406
|
+
});
|
|
13407
|
+
}
|
|
13408
|
+
export declare class GetSheetContentJobIdResponse extends $tea.Model {
|
|
13409
|
+
headers?: {
|
|
13410
|
+
[key: string]: string;
|
|
13411
|
+
};
|
|
13412
|
+
statusCode?: number;
|
|
13413
|
+
body?: GetSheetContentJobIdResponseBody;
|
|
13414
|
+
static names(): {
|
|
13415
|
+
[key: string]: string;
|
|
13416
|
+
};
|
|
13417
|
+
static types(): {
|
|
13418
|
+
[key: string]: any;
|
|
13419
|
+
};
|
|
13420
|
+
constructor(map?: {
|
|
13421
|
+
[key: string]: any;
|
|
13422
|
+
});
|
|
13423
|
+
}
|
|
13296
13424
|
export declare class GetSpaceDirectoriesHeaders extends $tea.Model {
|
|
13297
13425
|
commonHeaders?: {
|
|
13298
13426
|
[key: string]: string;
|
|
@@ -14064,6 +14192,123 @@ export declare class GetUserResponse extends $tea.Model {
|
|
|
14064
14192
|
[key: string]: any;
|
|
14065
14193
|
});
|
|
14066
14194
|
}
|
|
14195
|
+
export declare class GetUserIdHeaders extends $tea.Model {
|
|
14196
|
+
commonHeaders?: {
|
|
14197
|
+
[key: string]: string;
|
|
14198
|
+
};
|
|
14199
|
+
accountContext?: GetUserIdHeadersAccountContext;
|
|
14200
|
+
static names(): {
|
|
14201
|
+
[key: string]: string;
|
|
14202
|
+
};
|
|
14203
|
+
static types(): {
|
|
14204
|
+
[key: string]: any;
|
|
14205
|
+
};
|
|
14206
|
+
constructor(map?: {
|
|
14207
|
+
[key: string]: any;
|
|
14208
|
+
});
|
|
14209
|
+
}
|
|
14210
|
+
export declare class GetUserIdShrinkHeaders extends $tea.Model {
|
|
14211
|
+
commonHeaders?: {
|
|
14212
|
+
[key: string]: string;
|
|
14213
|
+
};
|
|
14214
|
+
accountContextShrink?: string;
|
|
14215
|
+
static names(): {
|
|
14216
|
+
[key: string]: string;
|
|
14217
|
+
};
|
|
14218
|
+
static types(): {
|
|
14219
|
+
[key: string]: any;
|
|
14220
|
+
};
|
|
14221
|
+
constructor(map?: {
|
|
14222
|
+
[key: string]: any;
|
|
14223
|
+
});
|
|
14224
|
+
}
|
|
14225
|
+
export declare class GetUserIdRequest extends $tea.Model {
|
|
14226
|
+
tenantContext?: GetUserIdRequestTenantContext;
|
|
14227
|
+
/**
|
|
14228
|
+
* @remarks
|
|
14229
|
+
* unionId
|
|
14230
|
+
*
|
|
14231
|
+
* @example
|
|
14232
|
+
* ****iE
|
|
14233
|
+
*/
|
|
14234
|
+
unionId?: string;
|
|
14235
|
+
static names(): {
|
|
14236
|
+
[key: string]: string;
|
|
14237
|
+
};
|
|
14238
|
+
static types(): {
|
|
14239
|
+
[key: string]: any;
|
|
14240
|
+
};
|
|
14241
|
+
constructor(map?: {
|
|
14242
|
+
[key: string]: any;
|
|
14243
|
+
});
|
|
14244
|
+
}
|
|
14245
|
+
export declare class GetUserIdShrinkRequest extends $tea.Model {
|
|
14246
|
+
tenantContextShrink?: string;
|
|
14247
|
+
/**
|
|
14248
|
+
* @remarks
|
|
14249
|
+
* unionId
|
|
14250
|
+
*
|
|
14251
|
+
* @example
|
|
14252
|
+
* ****iE
|
|
14253
|
+
*/
|
|
14254
|
+
unionId?: string;
|
|
14255
|
+
static names(): {
|
|
14256
|
+
[key: string]: string;
|
|
14257
|
+
};
|
|
14258
|
+
static types(): {
|
|
14259
|
+
[key: string]: any;
|
|
14260
|
+
};
|
|
14261
|
+
constructor(map?: {
|
|
14262
|
+
[key: string]: any;
|
|
14263
|
+
});
|
|
14264
|
+
}
|
|
14265
|
+
export declare class GetUserIdResponseBody extends $tea.Model {
|
|
14266
|
+
/**
|
|
14267
|
+
* @example
|
|
14268
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
14269
|
+
*/
|
|
14270
|
+
requestId?: string;
|
|
14271
|
+
/**
|
|
14272
|
+
* @example
|
|
14273
|
+
* 012345
|
|
14274
|
+
*/
|
|
14275
|
+
userId?: string;
|
|
14276
|
+
/**
|
|
14277
|
+
* @example
|
|
14278
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
14279
|
+
*/
|
|
14280
|
+
vendorRequestId?: string;
|
|
14281
|
+
/**
|
|
14282
|
+
* @example
|
|
14283
|
+
* dingtalk
|
|
14284
|
+
*/
|
|
14285
|
+
vendorType?: string;
|
|
14286
|
+
static names(): {
|
|
14287
|
+
[key: string]: string;
|
|
14288
|
+
};
|
|
14289
|
+
static types(): {
|
|
14290
|
+
[key: string]: any;
|
|
14291
|
+
};
|
|
14292
|
+
constructor(map?: {
|
|
14293
|
+
[key: string]: any;
|
|
14294
|
+
});
|
|
14295
|
+
}
|
|
14296
|
+
export declare class GetUserIdResponse extends $tea.Model {
|
|
14297
|
+
headers?: {
|
|
14298
|
+
[key: string]: string;
|
|
14299
|
+
};
|
|
14300
|
+
statusCode?: number;
|
|
14301
|
+
body?: GetUserIdResponseBody;
|
|
14302
|
+
static names(): {
|
|
14303
|
+
[key: string]: string;
|
|
14304
|
+
};
|
|
14305
|
+
static types(): {
|
|
14306
|
+
[key: string]: any;
|
|
14307
|
+
};
|
|
14308
|
+
constructor(map?: {
|
|
14309
|
+
[key: string]: any;
|
|
14310
|
+
});
|
|
14311
|
+
}
|
|
14067
14312
|
export declare class GetUserLatestPlanHeaders extends $tea.Model {
|
|
14068
14313
|
commonHeaders?: {
|
|
14069
14314
|
[key: string]: string;
|
|
@@ -17086,6 +17331,7 @@ export declare class PatchEventRequest extends $tea.Model {
|
|
|
17086
17331
|
* primary
|
|
17087
17332
|
*/
|
|
17088
17333
|
calendarId?: string;
|
|
17334
|
+
cardInstances?: PatchEventRequestCardInstances[];
|
|
17089
17335
|
description?: string;
|
|
17090
17336
|
end?: PatchEventRequestEnd;
|
|
17091
17337
|
/**
|
|
@@ -17129,6 +17375,7 @@ export declare class PatchEventShrinkRequest extends $tea.Model {
|
|
|
17129
17375
|
* primary
|
|
17130
17376
|
*/
|
|
17131
17377
|
calendarId?: string;
|
|
17378
|
+
cardInstancesShrink?: string;
|
|
17132
17379
|
description?: string;
|
|
17133
17380
|
endShrink?: string;
|
|
17134
17381
|
/**
|
|
@@ -28200,6 +28447,19 @@ export declare class CreateEventRequestAttendees extends $tea.Model {
|
|
|
28200
28447
|
[key: string]: any;
|
|
28201
28448
|
});
|
|
28202
28449
|
}
|
|
28450
|
+
export declare class CreateEventRequestCardInstances extends $tea.Model {
|
|
28451
|
+
outTrackId?: string;
|
|
28452
|
+
scenario?: string;
|
|
28453
|
+
static names(): {
|
|
28454
|
+
[key: string]: string;
|
|
28455
|
+
};
|
|
28456
|
+
static types(): {
|
|
28457
|
+
[key: string]: any;
|
|
28458
|
+
};
|
|
28459
|
+
constructor(map?: {
|
|
28460
|
+
[key: string]: any;
|
|
28461
|
+
});
|
|
28462
|
+
}
|
|
28203
28463
|
export declare class CreateEventRequestEnd extends $tea.Model {
|
|
28204
28464
|
/**
|
|
28205
28465
|
* @example
|
|
@@ -34127,6 +34387,41 @@ export declare class GetSheetRequestTenantContext extends $tea.Model {
|
|
|
34127
34387
|
[key: string]: any;
|
|
34128
34388
|
});
|
|
34129
34389
|
}
|
|
34390
|
+
export declare class GetSheetContentJobIdHeadersAccountContext extends $tea.Model {
|
|
34391
|
+
/**
|
|
34392
|
+
* @remarks
|
|
34393
|
+
* This parameter is required.
|
|
34394
|
+
*
|
|
34395
|
+
* @example
|
|
34396
|
+
* 012345
|
|
34397
|
+
*/
|
|
34398
|
+
accountId?: string;
|
|
34399
|
+
static names(): {
|
|
34400
|
+
[key: string]: string;
|
|
34401
|
+
};
|
|
34402
|
+
static types(): {
|
|
34403
|
+
[key: string]: any;
|
|
34404
|
+
};
|
|
34405
|
+
constructor(map?: {
|
|
34406
|
+
[key: string]: any;
|
|
34407
|
+
});
|
|
34408
|
+
}
|
|
34409
|
+
export declare class GetSheetContentJobIdRequestTenantContext extends $tea.Model {
|
|
34410
|
+
/**
|
|
34411
|
+
* @example
|
|
34412
|
+
* xxxxxx
|
|
34413
|
+
*/
|
|
34414
|
+
tenantId?: string;
|
|
34415
|
+
static names(): {
|
|
34416
|
+
[key: string]: string;
|
|
34417
|
+
};
|
|
34418
|
+
static types(): {
|
|
34419
|
+
[key: string]: any;
|
|
34420
|
+
};
|
|
34421
|
+
constructor(map?: {
|
|
34422
|
+
[key: string]: any;
|
|
34423
|
+
});
|
|
34424
|
+
}
|
|
34130
34425
|
export declare class GetSpaceDirectoriesHeadersAccountContext extends $tea.Model {
|
|
34131
34426
|
/**
|
|
34132
34427
|
* @remarks
|
|
@@ -34928,6 +35223,41 @@ export declare class GetUserResponseBodyUnionEmpExt extends $tea.Model {
|
|
|
34928
35223
|
[key: string]: any;
|
|
34929
35224
|
});
|
|
34930
35225
|
}
|
|
35226
|
+
export declare class GetUserIdHeadersAccountContext extends $tea.Model {
|
|
35227
|
+
/**
|
|
35228
|
+
* @remarks
|
|
35229
|
+
* This parameter is required.
|
|
35230
|
+
*
|
|
35231
|
+
* @example
|
|
35232
|
+
* 012345
|
|
35233
|
+
*/
|
|
35234
|
+
accountId?: string;
|
|
35235
|
+
static names(): {
|
|
35236
|
+
[key: string]: string;
|
|
35237
|
+
};
|
|
35238
|
+
static types(): {
|
|
35239
|
+
[key: string]: any;
|
|
35240
|
+
};
|
|
35241
|
+
constructor(map?: {
|
|
35242
|
+
[key: string]: any;
|
|
35243
|
+
});
|
|
35244
|
+
}
|
|
35245
|
+
export declare class GetUserIdRequestTenantContext extends $tea.Model {
|
|
35246
|
+
/**
|
|
35247
|
+
* @example
|
|
35248
|
+
* xxxxxx
|
|
35249
|
+
*/
|
|
35250
|
+
tenantId?: string;
|
|
35251
|
+
static names(): {
|
|
35252
|
+
[key: string]: string;
|
|
35253
|
+
};
|
|
35254
|
+
static types(): {
|
|
35255
|
+
[key: string]: any;
|
|
35256
|
+
};
|
|
35257
|
+
constructor(map?: {
|
|
35258
|
+
[key: string]: any;
|
|
35259
|
+
});
|
|
35260
|
+
}
|
|
34931
35261
|
export declare class GetUserLatestPlanHeadersAccountContext extends $tea.Model {
|
|
34932
35262
|
/**
|
|
34933
35263
|
* @remarks
|
|
@@ -37423,6 +37753,19 @@ export declare class PatchEventRequestAttendees extends $tea.Model {
|
|
|
37423
37753
|
[key: string]: any;
|
|
37424
37754
|
});
|
|
37425
37755
|
}
|
|
37756
|
+
export declare class PatchEventRequestCardInstances extends $tea.Model {
|
|
37757
|
+
outTrackId?: string;
|
|
37758
|
+
scenario?: string;
|
|
37759
|
+
static names(): {
|
|
37760
|
+
[key: string]: string;
|
|
37761
|
+
};
|
|
37762
|
+
static types(): {
|
|
37763
|
+
[key: string]: any;
|
|
37764
|
+
};
|
|
37765
|
+
constructor(map?: {
|
|
37766
|
+
[key: string]: any;
|
|
37767
|
+
});
|
|
37768
|
+
}
|
|
37426
37769
|
export declare class PatchEventRequestEnd extends $tea.Model {
|
|
37427
37770
|
/**
|
|
37428
37771
|
* @example
|
|
@@ -44064,6 +44407,22 @@ export default class Client extends OpenApi {
|
|
|
44064
44407
|
* @returns GetSheetResponse
|
|
44065
44408
|
*/
|
|
44066
44409
|
getSheet(request: GetSheetRequest): Promise<GetSheetResponse>;
|
|
44410
|
+
/**
|
|
44411
|
+
* 获取表格文档内容jobId
|
|
44412
|
+
*
|
|
44413
|
+
* @param tmpReq - GetSheetContentJobIdRequest
|
|
44414
|
+
* @param tmpHeader - GetSheetContentJobIdHeaders
|
|
44415
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
44416
|
+
* @returns GetSheetContentJobIdResponse
|
|
44417
|
+
*/
|
|
44418
|
+
getSheetContentJobIdWithOptions(tmpReq: GetSheetContentJobIdRequest, tmpHeader: GetSheetContentJobIdHeaders, runtime: $Util.RuntimeOptions): Promise<GetSheetContentJobIdResponse>;
|
|
44419
|
+
/**
|
|
44420
|
+
* 获取表格文档内容jobId
|
|
44421
|
+
*
|
|
44422
|
+
* @param request - GetSheetContentJobIdRequest
|
|
44423
|
+
* @returns GetSheetContentJobIdResponse
|
|
44424
|
+
*/
|
|
44425
|
+
getSheetContentJobId(request: GetSheetContentJobIdRequest): Promise<GetSheetContentJobIdResponse>;
|
|
44067
44426
|
/**
|
|
44068
44427
|
* 查询知识库下的目录结构
|
|
44069
44428
|
*
|
|
@@ -44144,6 +44503,22 @@ export default class Client extends OpenApi {
|
|
|
44144
44503
|
* @returns GetUserResponse
|
|
44145
44504
|
*/
|
|
44146
44505
|
getUser(request: GetUserRequest): Promise<GetUserResponse>;
|
|
44506
|
+
/**
|
|
44507
|
+
* 根据unionId获取用户userId
|
|
44508
|
+
*
|
|
44509
|
+
* @param tmpReq - GetUserIdRequest
|
|
44510
|
+
* @param tmpHeader - GetUserIdHeaders
|
|
44511
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
44512
|
+
* @returns GetUserIdResponse
|
|
44513
|
+
*/
|
|
44514
|
+
getUserIdWithOptions(tmpReq: GetUserIdRequest, tmpHeader: GetUserIdHeaders, runtime: $Util.RuntimeOptions): Promise<GetUserIdResponse>;
|
|
44515
|
+
/**
|
|
44516
|
+
* 根据unionId获取用户userId
|
|
44517
|
+
*
|
|
44518
|
+
* @param request - GetUserIdRequest
|
|
44519
|
+
* @returns GetUserIdResponse
|
|
44520
|
+
*/
|
|
44521
|
+
getUserId(request: GetUserIdRequest): Promise<GetUserIdResponse>;
|
|
44147
44522
|
/**
|
|
44148
44523
|
* 获取用户最新的有效的专属账号迁移方案
|
|
44149
44524
|
*
|