@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/src/client.ts
CHANGED
|
@@ -4547,6 +4547,7 @@ export class CreateEventShrinkHeaders extends $tea.Model {
|
|
|
4547
4547
|
|
|
4548
4548
|
export class CreateEventRequest extends $tea.Model {
|
|
4549
4549
|
attendees?: CreateEventRequestAttendees[];
|
|
4550
|
+
cardInstances?: CreateEventRequestCardInstances[];
|
|
4550
4551
|
description?: string;
|
|
4551
4552
|
end?: CreateEventRequestEnd;
|
|
4552
4553
|
extra?: { [key: string]: string };
|
|
@@ -4586,6 +4587,7 @@ export class CreateEventRequest extends $tea.Model {
|
|
|
4586
4587
|
static names(): { [key: string]: string } {
|
|
4587
4588
|
return {
|
|
4588
4589
|
attendees: 'Attendees',
|
|
4590
|
+
cardInstances: 'CardInstances',
|
|
4589
4591
|
description: 'Description',
|
|
4590
4592
|
end: 'End',
|
|
4591
4593
|
extra: 'Extra',
|
|
@@ -4605,6 +4607,7 @@ export class CreateEventRequest extends $tea.Model {
|
|
|
4605
4607
|
static types(): { [key: string]: any } {
|
|
4606
4608
|
return {
|
|
4607
4609
|
attendees: { 'type': 'array', 'itemType': CreateEventRequestAttendees },
|
|
4610
|
+
cardInstances: { 'type': 'array', 'itemType': CreateEventRequestCardInstances },
|
|
4608
4611
|
description: 'string',
|
|
4609
4612
|
end: CreateEventRequestEnd,
|
|
4610
4613
|
extra: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
@@ -4628,6 +4631,7 @@ export class CreateEventRequest extends $tea.Model {
|
|
|
4628
4631
|
|
|
4629
4632
|
export class CreateEventShrinkRequest extends $tea.Model {
|
|
4630
4633
|
attendeesShrink?: string;
|
|
4634
|
+
cardInstancesShrink?: string;
|
|
4631
4635
|
description?: string;
|
|
4632
4636
|
endShrink?: string;
|
|
4633
4637
|
extraShrink?: string;
|
|
@@ -4667,6 +4671,7 @@ export class CreateEventShrinkRequest extends $tea.Model {
|
|
|
4667
4671
|
static names(): { [key: string]: string } {
|
|
4668
4672
|
return {
|
|
4669
4673
|
attendeesShrink: 'Attendees',
|
|
4674
|
+
cardInstancesShrink: 'CardInstances',
|
|
4670
4675
|
description: 'Description',
|
|
4671
4676
|
endShrink: 'End',
|
|
4672
4677
|
extraShrink: 'Extra',
|
|
@@ -4686,6 +4691,7 @@ export class CreateEventShrinkRequest extends $tea.Model {
|
|
|
4686
4691
|
static types(): { [key: string]: any } {
|
|
4687
4692
|
return {
|
|
4688
4693
|
attendeesShrink: 'string',
|
|
4694
|
+
cardInstancesShrink: 'string',
|
|
4689
4695
|
description: 'string',
|
|
4690
4696
|
endShrink: 'string',
|
|
4691
4697
|
extraShrink: 'string',
|
|
@@ -19322,6 +19328,192 @@ export class GetSheetResponse extends $tea.Model {
|
|
|
19322
19328
|
}
|
|
19323
19329
|
}
|
|
19324
19330
|
|
|
19331
|
+
export class GetSheetContentJobIdHeaders extends $tea.Model {
|
|
19332
|
+
commonHeaders?: { [key: string]: string };
|
|
19333
|
+
accountContext?: GetSheetContentJobIdHeadersAccountContext;
|
|
19334
|
+
static names(): { [key: string]: string } {
|
|
19335
|
+
return {
|
|
19336
|
+
commonHeaders: 'commonHeaders',
|
|
19337
|
+
accountContext: 'AccountContext',
|
|
19338
|
+
};
|
|
19339
|
+
}
|
|
19340
|
+
|
|
19341
|
+
static types(): { [key: string]: any } {
|
|
19342
|
+
return {
|
|
19343
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
19344
|
+
accountContext: GetSheetContentJobIdHeadersAccountContext,
|
|
19345
|
+
};
|
|
19346
|
+
}
|
|
19347
|
+
|
|
19348
|
+
constructor(map?: { [key: string]: any }) {
|
|
19349
|
+
super(map);
|
|
19350
|
+
}
|
|
19351
|
+
}
|
|
19352
|
+
|
|
19353
|
+
export class GetSheetContentJobIdShrinkHeaders extends $tea.Model {
|
|
19354
|
+
commonHeaders?: { [key: string]: string };
|
|
19355
|
+
accountContextShrink?: string;
|
|
19356
|
+
static names(): { [key: string]: string } {
|
|
19357
|
+
return {
|
|
19358
|
+
commonHeaders: 'commonHeaders',
|
|
19359
|
+
accountContextShrink: 'AccountContext',
|
|
19360
|
+
};
|
|
19361
|
+
}
|
|
19362
|
+
|
|
19363
|
+
static types(): { [key: string]: any } {
|
|
19364
|
+
return {
|
|
19365
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
19366
|
+
accountContextShrink: 'string',
|
|
19367
|
+
};
|
|
19368
|
+
}
|
|
19369
|
+
|
|
19370
|
+
constructor(map?: { [key: string]: any }) {
|
|
19371
|
+
super(map);
|
|
19372
|
+
}
|
|
19373
|
+
}
|
|
19374
|
+
|
|
19375
|
+
export class GetSheetContentJobIdRequest extends $tea.Model {
|
|
19376
|
+
/**
|
|
19377
|
+
* @example
|
|
19378
|
+
* MNDoBb60VLYDGNPytQe7Gzp4JlemrZQ3
|
|
19379
|
+
*/
|
|
19380
|
+
dentryUuid?: string;
|
|
19381
|
+
/**
|
|
19382
|
+
* @example
|
|
19383
|
+
* dingTalksheetToxlsx
|
|
19384
|
+
*/
|
|
19385
|
+
exportType?: string;
|
|
19386
|
+
tenantContext?: GetSheetContentJobIdRequestTenantContext;
|
|
19387
|
+
static names(): { [key: string]: string } {
|
|
19388
|
+
return {
|
|
19389
|
+
dentryUuid: 'DentryUuid',
|
|
19390
|
+
exportType: 'ExportType',
|
|
19391
|
+
tenantContext: 'TenantContext',
|
|
19392
|
+
};
|
|
19393
|
+
}
|
|
19394
|
+
|
|
19395
|
+
static types(): { [key: string]: any } {
|
|
19396
|
+
return {
|
|
19397
|
+
dentryUuid: 'string',
|
|
19398
|
+
exportType: 'string',
|
|
19399
|
+
tenantContext: GetSheetContentJobIdRequestTenantContext,
|
|
19400
|
+
};
|
|
19401
|
+
}
|
|
19402
|
+
|
|
19403
|
+
constructor(map?: { [key: string]: any }) {
|
|
19404
|
+
super(map);
|
|
19405
|
+
}
|
|
19406
|
+
}
|
|
19407
|
+
|
|
19408
|
+
export class GetSheetContentJobIdShrinkRequest extends $tea.Model {
|
|
19409
|
+
/**
|
|
19410
|
+
* @example
|
|
19411
|
+
* MNDoBb60VLYDGNPytQe7Gzp4JlemrZQ3
|
|
19412
|
+
*/
|
|
19413
|
+
dentryUuid?: string;
|
|
19414
|
+
/**
|
|
19415
|
+
* @example
|
|
19416
|
+
* dingTalksheetToxlsx
|
|
19417
|
+
*/
|
|
19418
|
+
exportType?: string;
|
|
19419
|
+
tenantContextShrink?: string;
|
|
19420
|
+
static names(): { [key: string]: string } {
|
|
19421
|
+
return {
|
|
19422
|
+
dentryUuid: 'DentryUuid',
|
|
19423
|
+
exportType: 'ExportType',
|
|
19424
|
+
tenantContextShrink: 'TenantContext',
|
|
19425
|
+
};
|
|
19426
|
+
}
|
|
19427
|
+
|
|
19428
|
+
static types(): { [key: string]: any } {
|
|
19429
|
+
return {
|
|
19430
|
+
dentryUuid: 'string',
|
|
19431
|
+
exportType: 'string',
|
|
19432
|
+
tenantContextShrink: 'string',
|
|
19433
|
+
};
|
|
19434
|
+
}
|
|
19435
|
+
|
|
19436
|
+
constructor(map?: { [key: string]: any }) {
|
|
19437
|
+
super(map);
|
|
19438
|
+
}
|
|
19439
|
+
}
|
|
19440
|
+
|
|
19441
|
+
export class GetSheetContentJobIdResponseBody extends $tea.Model {
|
|
19442
|
+
/**
|
|
19443
|
+
* @example
|
|
19444
|
+
* 14640056080
|
|
19445
|
+
*/
|
|
19446
|
+
jobId?: string;
|
|
19447
|
+
/**
|
|
19448
|
+
* @example
|
|
19449
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
19450
|
+
*/
|
|
19451
|
+
requestId?: string;
|
|
19452
|
+
/**
|
|
19453
|
+
* @example
|
|
19454
|
+
* init
|
|
19455
|
+
*/
|
|
19456
|
+
status?: string;
|
|
19457
|
+
/**
|
|
19458
|
+
* @example
|
|
19459
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
19460
|
+
*/
|
|
19461
|
+
vendorRequestId?: string;
|
|
19462
|
+
/**
|
|
19463
|
+
* @example
|
|
19464
|
+
* dingtalk
|
|
19465
|
+
*/
|
|
19466
|
+
vendorType?: string;
|
|
19467
|
+
static names(): { [key: string]: string } {
|
|
19468
|
+
return {
|
|
19469
|
+
jobId: 'jobId',
|
|
19470
|
+
requestId: 'requestId',
|
|
19471
|
+
status: 'status',
|
|
19472
|
+
vendorRequestId: 'vendorRequestId',
|
|
19473
|
+
vendorType: 'vendorType',
|
|
19474
|
+
};
|
|
19475
|
+
}
|
|
19476
|
+
|
|
19477
|
+
static types(): { [key: string]: any } {
|
|
19478
|
+
return {
|
|
19479
|
+
jobId: 'string',
|
|
19480
|
+
requestId: 'string',
|
|
19481
|
+
status: 'string',
|
|
19482
|
+
vendorRequestId: 'string',
|
|
19483
|
+
vendorType: 'string',
|
|
19484
|
+
};
|
|
19485
|
+
}
|
|
19486
|
+
|
|
19487
|
+
constructor(map?: { [key: string]: any }) {
|
|
19488
|
+
super(map);
|
|
19489
|
+
}
|
|
19490
|
+
}
|
|
19491
|
+
|
|
19492
|
+
export class GetSheetContentJobIdResponse extends $tea.Model {
|
|
19493
|
+
headers?: { [key: string]: string };
|
|
19494
|
+
statusCode?: number;
|
|
19495
|
+
body?: GetSheetContentJobIdResponseBody;
|
|
19496
|
+
static names(): { [key: string]: string } {
|
|
19497
|
+
return {
|
|
19498
|
+
headers: 'headers',
|
|
19499
|
+
statusCode: 'statusCode',
|
|
19500
|
+
body: 'body',
|
|
19501
|
+
};
|
|
19502
|
+
}
|
|
19503
|
+
|
|
19504
|
+
static types(): { [key: string]: any } {
|
|
19505
|
+
return {
|
|
19506
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
19507
|
+
statusCode: 'number',
|
|
19508
|
+
body: GetSheetContentJobIdResponseBody,
|
|
19509
|
+
};
|
|
19510
|
+
}
|
|
19511
|
+
|
|
19512
|
+
constructor(map?: { [key: string]: any }) {
|
|
19513
|
+
super(map);
|
|
19514
|
+
}
|
|
19515
|
+
}
|
|
19516
|
+
|
|
19325
19517
|
export class GetSpaceDirectoriesHeaders extends $tea.Model {
|
|
19326
19518
|
commonHeaders?: { [key: string]: string };
|
|
19327
19519
|
accountContext?: GetSpaceDirectoriesHeadersAccountContext;
|
|
@@ -20439,6 +20631,177 @@ export class GetUserResponse extends $tea.Model {
|
|
|
20439
20631
|
}
|
|
20440
20632
|
}
|
|
20441
20633
|
|
|
20634
|
+
export class GetUserIdHeaders extends $tea.Model {
|
|
20635
|
+
commonHeaders?: { [key: string]: string };
|
|
20636
|
+
accountContext?: GetUserIdHeadersAccountContext;
|
|
20637
|
+
static names(): { [key: string]: string } {
|
|
20638
|
+
return {
|
|
20639
|
+
commonHeaders: 'commonHeaders',
|
|
20640
|
+
accountContext: 'AccountContext',
|
|
20641
|
+
};
|
|
20642
|
+
}
|
|
20643
|
+
|
|
20644
|
+
static types(): { [key: string]: any } {
|
|
20645
|
+
return {
|
|
20646
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20647
|
+
accountContext: GetUserIdHeadersAccountContext,
|
|
20648
|
+
};
|
|
20649
|
+
}
|
|
20650
|
+
|
|
20651
|
+
constructor(map?: { [key: string]: any }) {
|
|
20652
|
+
super(map);
|
|
20653
|
+
}
|
|
20654
|
+
}
|
|
20655
|
+
|
|
20656
|
+
export class GetUserIdShrinkHeaders extends $tea.Model {
|
|
20657
|
+
commonHeaders?: { [key: string]: string };
|
|
20658
|
+
accountContextShrink?: string;
|
|
20659
|
+
static names(): { [key: string]: string } {
|
|
20660
|
+
return {
|
|
20661
|
+
commonHeaders: 'commonHeaders',
|
|
20662
|
+
accountContextShrink: 'AccountContext',
|
|
20663
|
+
};
|
|
20664
|
+
}
|
|
20665
|
+
|
|
20666
|
+
static types(): { [key: string]: any } {
|
|
20667
|
+
return {
|
|
20668
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20669
|
+
accountContextShrink: 'string',
|
|
20670
|
+
};
|
|
20671
|
+
}
|
|
20672
|
+
|
|
20673
|
+
constructor(map?: { [key: string]: any }) {
|
|
20674
|
+
super(map);
|
|
20675
|
+
}
|
|
20676
|
+
}
|
|
20677
|
+
|
|
20678
|
+
export class GetUserIdRequest extends $tea.Model {
|
|
20679
|
+
tenantContext?: GetUserIdRequestTenantContext;
|
|
20680
|
+
/**
|
|
20681
|
+
* @remarks
|
|
20682
|
+
* unionId
|
|
20683
|
+
*
|
|
20684
|
+
* @example
|
|
20685
|
+
* ****iE
|
|
20686
|
+
*/
|
|
20687
|
+
unionId?: string;
|
|
20688
|
+
static names(): { [key: string]: string } {
|
|
20689
|
+
return {
|
|
20690
|
+
tenantContext: 'TenantContext',
|
|
20691
|
+
unionId: 'UnionId',
|
|
20692
|
+
};
|
|
20693
|
+
}
|
|
20694
|
+
|
|
20695
|
+
static types(): { [key: string]: any } {
|
|
20696
|
+
return {
|
|
20697
|
+
tenantContext: GetUserIdRequestTenantContext,
|
|
20698
|
+
unionId: 'string',
|
|
20699
|
+
};
|
|
20700
|
+
}
|
|
20701
|
+
|
|
20702
|
+
constructor(map?: { [key: string]: any }) {
|
|
20703
|
+
super(map);
|
|
20704
|
+
}
|
|
20705
|
+
}
|
|
20706
|
+
|
|
20707
|
+
export class GetUserIdShrinkRequest extends $tea.Model {
|
|
20708
|
+
tenantContextShrink?: string;
|
|
20709
|
+
/**
|
|
20710
|
+
* @remarks
|
|
20711
|
+
* unionId
|
|
20712
|
+
*
|
|
20713
|
+
* @example
|
|
20714
|
+
* ****iE
|
|
20715
|
+
*/
|
|
20716
|
+
unionId?: string;
|
|
20717
|
+
static names(): { [key: string]: string } {
|
|
20718
|
+
return {
|
|
20719
|
+
tenantContextShrink: 'TenantContext',
|
|
20720
|
+
unionId: 'UnionId',
|
|
20721
|
+
};
|
|
20722
|
+
}
|
|
20723
|
+
|
|
20724
|
+
static types(): { [key: string]: any } {
|
|
20725
|
+
return {
|
|
20726
|
+
tenantContextShrink: 'string',
|
|
20727
|
+
unionId: 'string',
|
|
20728
|
+
};
|
|
20729
|
+
}
|
|
20730
|
+
|
|
20731
|
+
constructor(map?: { [key: string]: any }) {
|
|
20732
|
+
super(map);
|
|
20733
|
+
}
|
|
20734
|
+
}
|
|
20735
|
+
|
|
20736
|
+
export class GetUserIdResponseBody extends $tea.Model {
|
|
20737
|
+
/**
|
|
20738
|
+
* @example
|
|
20739
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
20740
|
+
*/
|
|
20741
|
+
requestId?: string;
|
|
20742
|
+
/**
|
|
20743
|
+
* @example
|
|
20744
|
+
* 012345
|
|
20745
|
+
*/
|
|
20746
|
+
userId?: string;
|
|
20747
|
+
/**
|
|
20748
|
+
* @example
|
|
20749
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
20750
|
+
*/
|
|
20751
|
+
vendorRequestId?: string;
|
|
20752
|
+
/**
|
|
20753
|
+
* @example
|
|
20754
|
+
* dingtalk
|
|
20755
|
+
*/
|
|
20756
|
+
vendorType?: string;
|
|
20757
|
+
static names(): { [key: string]: string } {
|
|
20758
|
+
return {
|
|
20759
|
+
requestId: 'requestId',
|
|
20760
|
+
userId: 'userId',
|
|
20761
|
+
vendorRequestId: 'vendorRequestId',
|
|
20762
|
+
vendorType: 'vendorType',
|
|
20763
|
+
};
|
|
20764
|
+
}
|
|
20765
|
+
|
|
20766
|
+
static types(): { [key: string]: any } {
|
|
20767
|
+
return {
|
|
20768
|
+
requestId: 'string',
|
|
20769
|
+
userId: 'string',
|
|
20770
|
+
vendorRequestId: 'string',
|
|
20771
|
+
vendorType: 'string',
|
|
20772
|
+
};
|
|
20773
|
+
}
|
|
20774
|
+
|
|
20775
|
+
constructor(map?: { [key: string]: any }) {
|
|
20776
|
+
super(map);
|
|
20777
|
+
}
|
|
20778
|
+
}
|
|
20779
|
+
|
|
20780
|
+
export class GetUserIdResponse extends $tea.Model {
|
|
20781
|
+
headers?: { [key: string]: string };
|
|
20782
|
+
statusCode?: number;
|
|
20783
|
+
body?: GetUserIdResponseBody;
|
|
20784
|
+
static names(): { [key: string]: string } {
|
|
20785
|
+
return {
|
|
20786
|
+
headers: 'headers',
|
|
20787
|
+
statusCode: 'statusCode',
|
|
20788
|
+
body: 'body',
|
|
20789
|
+
};
|
|
20790
|
+
}
|
|
20791
|
+
|
|
20792
|
+
static types(): { [key: string]: any } {
|
|
20793
|
+
return {
|
|
20794
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20795
|
+
statusCode: 'number',
|
|
20796
|
+
body: GetUserIdResponseBody,
|
|
20797
|
+
};
|
|
20798
|
+
}
|
|
20799
|
+
|
|
20800
|
+
constructor(map?: { [key: string]: any }) {
|
|
20801
|
+
super(map);
|
|
20802
|
+
}
|
|
20803
|
+
}
|
|
20804
|
+
|
|
20442
20805
|
export class GetUserLatestPlanHeaders extends $tea.Model {
|
|
20443
20806
|
commonHeaders?: { [key: string]: string };
|
|
20444
20807
|
accountContext?: GetUserLatestPlanHeadersAccountContext;
|
|
@@ -24788,6 +25151,7 @@ export class PatchEventRequest extends $tea.Model {
|
|
|
24788
25151
|
* primary
|
|
24789
25152
|
*/
|
|
24790
25153
|
calendarId?: string;
|
|
25154
|
+
cardInstances?: PatchEventRequestCardInstances[];
|
|
24791
25155
|
description?: string;
|
|
24792
25156
|
end?: PatchEventRequestEnd;
|
|
24793
25157
|
/**
|
|
@@ -24813,6 +25177,7 @@ export class PatchEventRequest extends $tea.Model {
|
|
|
24813
25177
|
return {
|
|
24814
25178
|
attendees: 'Attendees',
|
|
24815
25179
|
calendarId: 'CalendarId',
|
|
25180
|
+
cardInstances: 'CardInstances',
|
|
24816
25181
|
description: 'Description',
|
|
24817
25182
|
end: 'End',
|
|
24818
25183
|
eventId: 'EventId',
|
|
@@ -24830,6 +25195,7 @@ export class PatchEventRequest extends $tea.Model {
|
|
|
24830
25195
|
return {
|
|
24831
25196
|
attendees: { 'type': 'array', 'itemType': PatchEventRequestAttendees },
|
|
24832
25197
|
calendarId: 'string',
|
|
25198
|
+
cardInstances: { 'type': 'array', 'itemType': PatchEventRequestCardInstances },
|
|
24833
25199
|
description: 'string',
|
|
24834
25200
|
end: PatchEventRequestEnd,
|
|
24835
25201
|
eventId: 'string',
|
|
@@ -24858,6 +25224,7 @@ export class PatchEventShrinkRequest extends $tea.Model {
|
|
|
24858
25224
|
* primary
|
|
24859
25225
|
*/
|
|
24860
25226
|
calendarId?: string;
|
|
25227
|
+
cardInstancesShrink?: string;
|
|
24861
25228
|
description?: string;
|
|
24862
25229
|
endShrink?: string;
|
|
24863
25230
|
/**
|
|
@@ -24883,6 +25250,7 @@ export class PatchEventShrinkRequest extends $tea.Model {
|
|
|
24883
25250
|
return {
|
|
24884
25251
|
attendeesShrink: 'Attendees',
|
|
24885
25252
|
calendarId: 'CalendarId',
|
|
25253
|
+
cardInstancesShrink: 'CardInstances',
|
|
24886
25254
|
description: 'Description',
|
|
24887
25255
|
endShrink: 'End',
|
|
24888
25256
|
eventId: 'EventId',
|
|
@@ -24900,6 +25268,7 @@ export class PatchEventShrinkRequest extends $tea.Model {
|
|
|
24900
25268
|
return {
|
|
24901
25269
|
attendeesShrink: 'string',
|
|
24902
25270
|
calendarId: 'string',
|
|
25271
|
+
cardInstancesShrink: 'string',
|
|
24903
25272
|
description: 'string',
|
|
24904
25273
|
endShrink: 'string',
|
|
24905
25274
|
eventId: 'string',
|
|
@@ -40852,6 +41221,28 @@ export class CreateEventRequestAttendees extends $tea.Model {
|
|
|
40852
41221
|
}
|
|
40853
41222
|
}
|
|
40854
41223
|
|
|
41224
|
+
export class CreateEventRequestCardInstances extends $tea.Model {
|
|
41225
|
+
outTrackId?: string;
|
|
41226
|
+
scenario?: string;
|
|
41227
|
+
static names(): { [key: string]: string } {
|
|
41228
|
+
return {
|
|
41229
|
+
outTrackId: 'OutTrackId',
|
|
41230
|
+
scenario: 'Scenario',
|
|
41231
|
+
};
|
|
41232
|
+
}
|
|
41233
|
+
|
|
41234
|
+
static types(): { [key: string]: any } {
|
|
41235
|
+
return {
|
|
41236
|
+
outTrackId: 'string',
|
|
41237
|
+
scenario: 'string',
|
|
41238
|
+
};
|
|
41239
|
+
}
|
|
41240
|
+
|
|
41241
|
+
constructor(map?: { [key: string]: any }) {
|
|
41242
|
+
super(map);
|
|
41243
|
+
}
|
|
41244
|
+
}
|
|
41245
|
+
|
|
40855
41246
|
export class CreateEventRequestEnd extends $tea.Model {
|
|
40856
41247
|
/**
|
|
40857
41248
|
* @example
|
|
@@ -49300,6 +49691,55 @@ export class GetSheetRequestTenantContext extends $tea.Model {
|
|
|
49300
49691
|
}
|
|
49301
49692
|
}
|
|
49302
49693
|
|
|
49694
|
+
export class GetSheetContentJobIdHeadersAccountContext extends $tea.Model {
|
|
49695
|
+
/**
|
|
49696
|
+
* @remarks
|
|
49697
|
+
* This parameter is required.
|
|
49698
|
+
*
|
|
49699
|
+
* @example
|
|
49700
|
+
* 012345
|
|
49701
|
+
*/
|
|
49702
|
+
accountId?: string;
|
|
49703
|
+
static names(): { [key: string]: string } {
|
|
49704
|
+
return {
|
|
49705
|
+
accountId: 'accountId',
|
|
49706
|
+
};
|
|
49707
|
+
}
|
|
49708
|
+
|
|
49709
|
+
static types(): { [key: string]: any } {
|
|
49710
|
+
return {
|
|
49711
|
+
accountId: 'string',
|
|
49712
|
+
};
|
|
49713
|
+
}
|
|
49714
|
+
|
|
49715
|
+
constructor(map?: { [key: string]: any }) {
|
|
49716
|
+
super(map);
|
|
49717
|
+
}
|
|
49718
|
+
}
|
|
49719
|
+
|
|
49720
|
+
export class GetSheetContentJobIdRequestTenantContext extends $tea.Model {
|
|
49721
|
+
/**
|
|
49722
|
+
* @example
|
|
49723
|
+
* xxxxxx
|
|
49724
|
+
*/
|
|
49725
|
+
tenantId?: string;
|
|
49726
|
+
static names(): { [key: string]: string } {
|
|
49727
|
+
return {
|
|
49728
|
+
tenantId: 'tenantId',
|
|
49729
|
+
};
|
|
49730
|
+
}
|
|
49731
|
+
|
|
49732
|
+
static types(): { [key: string]: any } {
|
|
49733
|
+
return {
|
|
49734
|
+
tenantId: 'string',
|
|
49735
|
+
};
|
|
49736
|
+
}
|
|
49737
|
+
|
|
49738
|
+
constructor(map?: { [key: string]: any }) {
|
|
49739
|
+
super(map);
|
|
49740
|
+
}
|
|
49741
|
+
}
|
|
49742
|
+
|
|
49303
49743
|
export class GetSpaceDirectoriesHeadersAccountContext extends $tea.Model {
|
|
49304
49744
|
/**
|
|
49305
49745
|
* @remarks
|
|
@@ -50470,6 +50910,55 @@ export class GetUserResponseBodyUnionEmpExt extends $tea.Model {
|
|
|
50470
50910
|
}
|
|
50471
50911
|
}
|
|
50472
50912
|
|
|
50913
|
+
export class GetUserIdHeadersAccountContext extends $tea.Model {
|
|
50914
|
+
/**
|
|
50915
|
+
* @remarks
|
|
50916
|
+
* This parameter is required.
|
|
50917
|
+
*
|
|
50918
|
+
* @example
|
|
50919
|
+
* 012345
|
|
50920
|
+
*/
|
|
50921
|
+
accountId?: string;
|
|
50922
|
+
static names(): { [key: string]: string } {
|
|
50923
|
+
return {
|
|
50924
|
+
accountId: 'accountId',
|
|
50925
|
+
};
|
|
50926
|
+
}
|
|
50927
|
+
|
|
50928
|
+
static types(): { [key: string]: any } {
|
|
50929
|
+
return {
|
|
50930
|
+
accountId: 'string',
|
|
50931
|
+
};
|
|
50932
|
+
}
|
|
50933
|
+
|
|
50934
|
+
constructor(map?: { [key: string]: any }) {
|
|
50935
|
+
super(map);
|
|
50936
|
+
}
|
|
50937
|
+
}
|
|
50938
|
+
|
|
50939
|
+
export class GetUserIdRequestTenantContext extends $tea.Model {
|
|
50940
|
+
/**
|
|
50941
|
+
* @example
|
|
50942
|
+
* xxxxxx
|
|
50943
|
+
*/
|
|
50944
|
+
tenantId?: string;
|
|
50945
|
+
static names(): { [key: string]: string } {
|
|
50946
|
+
return {
|
|
50947
|
+
tenantId: 'tenantId',
|
|
50948
|
+
};
|
|
50949
|
+
}
|
|
50950
|
+
|
|
50951
|
+
static types(): { [key: string]: any } {
|
|
50952
|
+
return {
|
|
50953
|
+
tenantId: 'string',
|
|
50954
|
+
};
|
|
50955
|
+
}
|
|
50956
|
+
|
|
50957
|
+
constructor(map?: { [key: string]: any }) {
|
|
50958
|
+
super(map);
|
|
50959
|
+
}
|
|
50960
|
+
}
|
|
50961
|
+
|
|
50473
50962
|
export class GetUserLatestPlanHeadersAccountContext extends $tea.Model {
|
|
50474
50963
|
/**
|
|
50475
50964
|
* @remarks
|
|
@@ -54087,6 +54576,28 @@ export class PatchEventRequestAttendees extends $tea.Model {
|
|
|
54087
54576
|
}
|
|
54088
54577
|
}
|
|
54089
54578
|
|
|
54579
|
+
export class PatchEventRequestCardInstances extends $tea.Model {
|
|
54580
|
+
outTrackId?: string;
|
|
54581
|
+
scenario?: string;
|
|
54582
|
+
static names(): { [key: string]: string } {
|
|
54583
|
+
return {
|
|
54584
|
+
outTrackId: 'OutTrackId',
|
|
54585
|
+
scenario: 'Scenario',
|
|
54586
|
+
};
|
|
54587
|
+
}
|
|
54588
|
+
|
|
54589
|
+
static types(): { [key: string]: any } {
|
|
54590
|
+
return {
|
|
54591
|
+
outTrackId: 'string',
|
|
54592
|
+
scenario: 'string',
|
|
54593
|
+
};
|
|
54594
|
+
}
|
|
54595
|
+
|
|
54596
|
+
constructor(map?: { [key: string]: any }) {
|
|
54597
|
+
super(map);
|
|
54598
|
+
}
|
|
54599
|
+
}
|
|
54600
|
+
|
|
54090
54601
|
export class PatchEventRequestEnd extends $tea.Model {
|
|
54091
54602
|
/**
|
|
54092
54603
|
* @example
|
|
@@ -63198,6 +63709,10 @@ export default class Client extends OpenApi {
|
|
|
63198
63709
|
request.attendeesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.attendees, "Attendees", "json");
|
|
63199
63710
|
}
|
|
63200
63711
|
|
|
63712
|
+
if (!Util.isUnset(tmpReq.cardInstances)) {
|
|
63713
|
+
request.cardInstancesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.cardInstances, "CardInstances", "json");
|
|
63714
|
+
}
|
|
63715
|
+
|
|
63201
63716
|
if (!Util.isUnset(tmpReq.end)) {
|
|
63202
63717
|
request.endShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.end, "End", "json");
|
|
63203
63718
|
}
|
|
@@ -63239,6 +63754,10 @@ export default class Client extends OpenApi {
|
|
|
63239
63754
|
body["Attendees"] = request.attendeesShrink;
|
|
63240
63755
|
}
|
|
63241
63756
|
|
|
63757
|
+
if (!Util.isUnset(request.cardInstancesShrink)) {
|
|
63758
|
+
body["CardInstances"] = request.cardInstancesShrink;
|
|
63759
|
+
}
|
|
63760
|
+
|
|
63242
63761
|
if (!Util.isUnset(request.description)) {
|
|
63243
63762
|
body["Description"] = request.description;
|
|
63244
63763
|
}
|
|
@@ -69442,6 +69961,80 @@ export default class Client extends OpenApi {
|
|
|
69442
69961
|
return await this.getSheetWithOptions(request, headers, runtime);
|
|
69443
69962
|
}
|
|
69444
69963
|
|
|
69964
|
+
/**
|
|
69965
|
+
* 获取表格文档内容jobId
|
|
69966
|
+
*
|
|
69967
|
+
* @param tmpReq - GetSheetContentJobIdRequest
|
|
69968
|
+
* @param tmpHeader - GetSheetContentJobIdHeaders
|
|
69969
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
69970
|
+
* @returns GetSheetContentJobIdResponse
|
|
69971
|
+
*/
|
|
69972
|
+
async getSheetContentJobIdWithOptions(tmpReq: GetSheetContentJobIdRequest, tmpHeader: GetSheetContentJobIdHeaders, runtime: $Util.RuntimeOptions): Promise<GetSheetContentJobIdResponse> {
|
|
69973
|
+
Util.validateModel(tmpReq);
|
|
69974
|
+
let request = new GetSheetContentJobIdShrinkRequest({ });
|
|
69975
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
69976
|
+
let headers = new GetSheetContentJobIdShrinkHeaders({ });
|
|
69977
|
+
OpenApiUtil.convert(tmpHeader, headers);
|
|
69978
|
+
if (!Util.isUnset(tmpHeader.accountContext)) {
|
|
69979
|
+
headers.accountContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
69980
|
+
}
|
|
69981
|
+
|
|
69982
|
+
if (!Util.isUnset(tmpReq.tenantContext)) {
|
|
69983
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
69984
|
+
}
|
|
69985
|
+
|
|
69986
|
+
let body : {[key: string ]: any} = { };
|
|
69987
|
+
if (!Util.isUnset(request.dentryUuid)) {
|
|
69988
|
+
body["DentryUuid"] = request.dentryUuid;
|
|
69989
|
+
}
|
|
69990
|
+
|
|
69991
|
+
if (!Util.isUnset(request.exportType)) {
|
|
69992
|
+
body["ExportType"] = request.exportType;
|
|
69993
|
+
}
|
|
69994
|
+
|
|
69995
|
+
if (!Util.isUnset(request.tenantContextShrink)) {
|
|
69996
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
69997
|
+
}
|
|
69998
|
+
|
|
69999
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
70000
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
70001
|
+
realHeaders = headers.commonHeaders;
|
|
70002
|
+
}
|
|
70003
|
+
|
|
70004
|
+
if (!Util.isUnset(headers.accountContextShrink)) {
|
|
70005
|
+
realHeaders["AccountContext"] = Util.toJSONString(headers.accountContextShrink);
|
|
70006
|
+
}
|
|
70007
|
+
|
|
70008
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
70009
|
+
headers: realHeaders,
|
|
70010
|
+
body: OpenApiUtil.parseToMap(body),
|
|
70011
|
+
});
|
|
70012
|
+
let params = new $OpenApi.Params({
|
|
70013
|
+
action: "GetSheetContentJobId",
|
|
70014
|
+
version: "2023-04-26",
|
|
70015
|
+
protocol: "HTTPS",
|
|
70016
|
+
pathname: `/dingtalk/v2/documents/getSheetContentJobId`,
|
|
70017
|
+
method: "POST",
|
|
70018
|
+
authType: "AK",
|
|
70019
|
+
style: "ROA",
|
|
70020
|
+
reqBodyType: "formData",
|
|
70021
|
+
bodyType: "json",
|
|
70022
|
+
});
|
|
70023
|
+
return $tea.cast<GetSheetContentJobIdResponse>(await this.callApi(params, req, runtime), new GetSheetContentJobIdResponse({}));
|
|
70024
|
+
}
|
|
70025
|
+
|
|
70026
|
+
/**
|
|
70027
|
+
* 获取表格文档内容jobId
|
|
70028
|
+
*
|
|
70029
|
+
* @param request - GetSheetContentJobIdRequest
|
|
70030
|
+
* @returns GetSheetContentJobIdResponse
|
|
70031
|
+
*/
|
|
70032
|
+
async getSheetContentJobId(request: GetSheetContentJobIdRequest): Promise<GetSheetContentJobIdResponse> {
|
|
70033
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
70034
|
+
let headers = new GetSheetContentJobIdHeaders({ });
|
|
70035
|
+
return await this.getSheetContentJobIdWithOptions(request, headers, runtime);
|
|
70036
|
+
}
|
|
70037
|
+
|
|
69445
70038
|
/**
|
|
69446
70039
|
* 查询知识库下的目录结构
|
|
69447
70040
|
*
|
|
@@ -69820,6 +70413,76 @@ export default class Client extends OpenApi {
|
|
|
69820
70413
|
return await this.getUserWithOptions(request, headers, runtime);
|
|
69821
70414
|
}
|
|
69822
70415
|
|
|
70416
|
+
/**
|
|
70417
|
+
* 根据unionId获取用户userId
|
|
70418
|
+
*
|
|
70419
|
+
* @param tmpReq - GetUserIdRequest
|
|
70420
|
+
* @param tmpHeader - GetUserIdHeaders
|
|
70421
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
70422
|
+
* @returns GetUserIdResponse
|
|
70423
|
+
*/
|
|
70424
|
+
async getUserIdWithOptions(tmpReq: GetUserIdRequest, tmpHeader: GetUserIdHeaders, runtime: $Util.RuntimeOptions): Promise<GetUserIdResponse> {
|
|
70425
|
+
Util.validateModel(tmpReq);
|
|
70426
|
+
let request = new GetUserIdShrinkRequest({ });
|
|
70427
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
70428
|
+
let headers = new GetUserIdShrinkHeaders({ });
|
|
70429
|
+
OpenApiUtil.convert(tmpHeader, headers);
|
|
70430
|
+
if (!Util.isUnset(tmpHeader.accountContext)) {
|
|
70431
|
+
headers.accountContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
70432
|
+
}
|
|
70433
|
+
|
|
70434
|
+
if (!Util.isUnset(tmpReq.tenantContext)) {
|
|
70435
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
70436
|
+
}
|
|
70437
|
+
|
|
70438
|
+
let body : {[key: string ]: any} = { };
|
|
70439
|
+
if (!Util.isUnset(request.tenantContextShrink)) {
|
|
70440
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
70441
|
+
}
|
|
70442
|
+
|
|
70443
|
+
if (!Util.isUnset(request.unionId)) {
|
|
70444
|
+
body["UnionId"] = request.unionId;
|
|
70445
|
+
}
|
|
70446
|
+
|
|
70447
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
70448
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
70449
|
+
realHeaders = headers.commonHeaders;
|
|
70450
|
+
}
|
|
70451
|
+
|
|
70452
|
+
if (!Util.isUnset(headers.accountContextShrink)) {
|
|
70453
|
+
realHeaders["AccountContext"] = Util.toJSONString(headers.accountContextShrink);
|
|
70454
|
+
}
|
|
70455
|
+
|
|
70456
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
70457
|
+
headers: realHeaders,
|
|
70458
|
+
body: OpenApiUtil.parseToMap(body),
|
|
70459
|
+
});
|
|
70460
|
+
let params = new $OpenApi.Params({
|
|
70461
|
+
action: "GetUserId",
|
|
70462
|
+
version: "2023-04-26",
|
|
70463
|
+
protocol: "HTTPS",
|
|
70464
|
+
pathname: `/dingtalk/v1/im/getUserId`,
|
|
70465
|
+
method: "POST",
|
|
70466
|
+
authType: "AK",
|
|
70467
|
+
style: "ROA",
|
|
70468
|
+
reqBodyType: "formData",
|
|
70469
|
+
bodyType: "json",
|
|
70470
|
+
});
|
|
70471
|
+
return $tea.cast<GetUserIdResponse>(await this.callApi(params, req, runtime), new GetUserIdResponse({}));
|
|
70472
|
+
}
|
|
70473
|
+
|
|
70474
|
+
/**
|
|
70475
|
+
* 根据unionId获取用户userId
|
|
70476
|
+
*
|
|
70477
|
+
* @param request - GetUserIdRequest
|
|
70478
|
+
* @returns GetUserIdResponse
|
|
70479
|
+
*/
|
|
70480
|
+
async getUserId(request: GetUserIdRequest): Promise<GetUserIdResponse> {
|
|
70481
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
70482
|
+
let headers = new GetUserIdHeaders({ });
|
|
70483
|
+
return await this.getUserIdWithOptions(request, headers, runtime);
|
|
70484
|
+
}
|
|
70485
|
+
|
|
69823
70486
|
/**
|
|
69824
70487
|
* 获取用户最新的有效的专属账号迁移方案
|
|
69825
70488
|
*
|
|
@@ -71566,6 +72229,10 @@ export default class Client extends OpenApi {
|
|
|
71566
72229
|
request.attendeesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.attendees, "Attendees", "json");
|
|
71567
72230
|
}
|
|
71568
72231
|
|
|
72232
|
+
if (!Util.isUnset(tmpReq.cardInstances)) {
|
|
72233
|
+
request.cardInstancesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.cardInstances, "CardInstances", "json");
|
|
72234
|
+
}
|
|
72235
|
+
|
|
71569
72236
|
if (!Util.isUnset(tmpReq.end)) {
|
|
71570
72237
|
request.endShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.end, "End", "json");
|
|
71571
72238
|
}
|
|
@@ -71599,6 +72266,10 @@ export default class Client extends OpenApi {
|
|
|
71599
72266
|
body["CalendarId"] = request.calendarId;
|
|
71600
72267
|
}
|
|
71601
72268
|
|
|
72269
|
+
if (!Util.isUnset(request.cardInstancesShrink)) {
|
|
72270
|
+
body["CardInstances"] = request.cardInstancesShrink;
|
|
72271
|
+
}
|
|
72272
|
+
|
|
71602
72273
|
if (!Util.isUnset(request.description)) {
|
|
71603
72274
|
body["Description"] = request.description;
|
|
71604
72275
|
}
|