@alicloud/aliding20230426 2.24.0 → 2.25.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 +413 -0
- package/dist/client.js +636 -40
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1155 -335
package/src/client.ts
CHANGED
|
@@ -5325,6 +5325,79 @@ export class CreateTodoTaskRequestTenantContext extends $dara.Model {
|
|
|
5325
5325
|
}
|
|
5326
5326
|
}
|
|
5327
5327
|
|
|
5328
|
+
export class CreateTodoTaskRequestActionListParam extends $dara.Model {
|
|
5329
|
+
body?: string;
|
|
5330
|
+
header?: { [key: string]: string };
|
|
5331
|
+
static names(): { [key: string]: string } {
|
|
5332
|
+
return {
|
|
5333
|
+
body: 'body',
|
|
5334
|
+
header: 'header',
|
|
5335
|
+
};
|
|
5336
|
+
}
|
|
5337
|
+
|
|
5338
|
+
static types(): { [key: string]: any } {
|
|
5339
|
+
return {
|
|
5340
|
+
body: 'string',
|
|
5341
|
+
header: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5342
|
+
};
|
|
5343
|
+
}
|
|
5344
|
+
|
|
5345
|
+
validate() {
|
|
5346
|
+
if(this.header) {
|
|
5347
|
+
$dara.Model.validateMap(this.header);
|
|
5348
|
+
}
|
|
5349
|
+
super.validate();
|
|
5350
|
+
}
|
|
5351
|
+
|
|
5352
|
+
constructor(map?: { [key: string]: any }) {
|
|
5353
|
+
super(map);
|
|
5354
|
+
}
|
|
5355
|
+
}
|
|
5356
|
+
|
|
5357
|
+
export class CreateTodoTaskRequestActionList extends $dara.Model {
|
|
5358
|
+
actionKey?: string;
|
|
5359
|
+
actionType?: number;
|
|
5360
|
+
buttonStyleType?: number;
|
|
5361
|
+
param?: CreateTodoTaskRequestActionListParam;
|
|
5362
|
+
pcUrl?: string;
|
|
5363
|
+
title?: string;
|
|
5364
|
+
url?: string;
|
|
5365
|
+
static names(): { [key: string]: string } {
|
|
5366
|
+
return {
|
|
5367
|
+
actionKey: 'actionKey',
|
|
5368
|
+
actionType: 'actionType',
|
|
5369
|
+
buttonStyleType: 'buttonStyleType',
|
|
5370
|
+
param: 'param',
|
|
5371
|
+
pcUrl: 'pcUrl',
|
|
5372
|
+
title: 'title',
|
|
5373
|
+
url: 'url',
|
|
5374
|
+
};
|
|
5375
|
+
}
|
|
5376
|
+
|
|
5377
|
+
static types(): { [key: string]: any } {
|
|
5378
|
+
return {
|
|
5379
|
+
actionKey: 'string',
|
|
5380
|
+
actionType: 'number',
|
|
5381
|
+
buttonStyleType: 'number',
|
|
5382
|
+
param: CreateTodoTaskRequestActionListParam,
|
|
5383
|
+
pcUrl: 'string',
|
|
5384
|
+
title: 'string',
|
|
5385
|
+
url: 'string',
|
|
5386
|
+
};
|
|
5387
|
+
}
|
|
5388
|
+
|
|
5389
|
+
validate() {
|
|
5390
|
+
if(this.param && typeof (this.param as any).validate === 'function') {
|
|
5391
|
+
(this.param as any).validate();
|
|
5392
|
+
}
|
|
5393
|
+
super.validate();
|
|
5394
|
+
}
|
|
5395
|
+
|
|
5396
|
+
constructor(map?: { [key: string]: any }) {
|
|
5397
|
+
super(map);
|
|
5398
|
+
}
|
|
5399
|
+
}
|
|
5400
|
+
|
|
5328
5401
|
export class CreateTodoTaskRequestContentFieldList extends $dara.Model {
|
|
5329
5402
|
/**
|
|
5330
5403
|
* @remarks
|
|
@@ -29095,6 +29168,63 @@ export class SubscribeCalendarHeadersAccountContext extends $dara.Model {
|
|
|
29095
29168
|
}
|
|
29096
29169
|
}
|
|
29097
29170
|
|
|
29171
|
+
export class SubscribeEventHeadersAccountContext extends $dara.Model {
|
|
29172
|
+
/**
|
|
29173
|
+
* @remarks
|
|
29174
|
+
* This parameter is required.
|
|
29175
|
+
*
|
|
29176
|
+
* @example
|
|
29177
|
+
* 012345
|
|
29178
|
+
*/
|
|
29179
|
+
accountId?: string;
|
|
29180
|
+
static names(): { [key: string]: string } {
|
|
29181
|
+
return {
|
|
29182
|
+
accountId: 'accountId',
|
|
29183
|
+
};
|
|
29184
|
+
}
|
|
29185
|
+
|
|
29186
|
+
static types(): { [key: string]: any } {
|
|
29187
|
+
return {
|
|
29188
|
+
accountId: 'string',
|
|
29189
|
+
};
|
|
29190
|
+
}
|
|
29191
|
+
|
|
29192
|
+
validate() {
|
|
29193
|
+
super.validate();
|
|
29194
|
+
}
|
|
29195
|
+
|
|
29196
|
+
constructor(map?: { [key: string]: any }) {
|
|
29197
|
+
super(map);
|
|
29198
|
+
}
|
|
29199
|
+
}
|
|
29200
|
+
|
|
29201
|
+
export class SubscribeEventRequestTenantContext extends $dara.Model {
|
|
29202
|
+
/**
|
|
29203
|
+
* @example
|
|
29204
|
+
* xxxxxx
|
|
29205
|
+
*/
|
|
29206
|
+
tenantId?: string;
|
|
29207
|
+
static names(): { [key: string]: string } {
|
|
29208
|
+
return {
|
|
29209
|
+
tenantId: 'tenantId',
|
|
29210
|
+
};
|
|
29211
|
+
}
|
|
29212
|
+
|
|
29213
|
+
static types(): { [key: string]: any } {
|
|
29214
|
+
return {
|
|
29215
|
+
tenantId: 'string',
|
|
29216
|
+
};
|
|
29217
|
+
}
|
|
29218
|
+
|
|
29219
|
+
validate() {
|
|
29220
|
+
super.validate();
|
|
29221
|
+
}
|
|
29222
|
+
|
|
29223
|
+
constructor(map?: { [key: string]: any }) {
|
|
29224
|
+
super(map);
|
|
29225
|
+
}
|
|
29226
|
+
}
|
|
29227
|
+
|
|
29098
29228
|
export class SyncDingTypeHeadersAccountContext extends $dara.Model {
|
|
29099
29229
|
/**
|
|
29100
29230
|
* @remarks
|
|
@@ -29371,7 +29501,7 @@ export class UnsubscribeCalendarHeadersAccountContext extends $dara.Model {
|
|
|
29371
29501
|
}
|
|
29372
29502
|
}
|
|
29373
29503
|
|
|
29374
|
-
export class
|
|
29504
|
+
export class UnsubscribeEventHeadersAccountContext extends $dara.Model {
|
|
29375
29505
|
/**
|
|
29376
29506
|
* @remarks
|
|
29377
29507
|
* This parameter is required.
|
|
@@ -29401,24 +29531,21 @@ export class UpdateFormDataHeadersAccountContext extends $dara.Model {
|
|
|
29401
29531
|
}
|
|
29402
29532
|
}
|
|
29403
29533
|
|
|
29404
|
-
export class
|
|
29534
|
+
export class UnsubscribeEventRequestTenantContext extends $dara.Model {
|
|
29405
29535
|
/**
|
|
29406
|
-
* @remarks
|
|
29407
|
-
* This parameter is required.
|
|
29408
|
-
*
|
|
29409
29536
|
* @example
|
|
29410
|
-
*
|
|
29537
|
+
* xxxxxx
|
|
29411
29538
|
*/
|
|
29412
|
-
|
|
29539
|
+
tenantId?: string;
|
|
29413
29540
|
static names(): { [key: string]: string } {
|
|
29414
29541
|
return {
|
|
29415
|
-
|
|
29542
|
+
tenantId: 'tenantId',
|
|
29416
29543
|
};
|
|
29417
29544
|
}
|
|
29418
29545
|
|
|
29419
29546
|
static types(): { [key: string]: any } {
|
|
29420
29547
|
return {
|
|
29421
|
-
|
|
29548
|
+
tenantId: 'string',
|
|
29422
29549
|
};
|
|
29423
29550
|
}
|
|
29424
29551
|
|
|
@@ -29431,7 +29558,7 @@ export class UpdateInstanceHeadersAccountContext extends $dara.Model {
|
|
|
29431
29558
|
}
|
|
29432
29559
|
}
|
|
29433
29560
|
|
|
29434
|
-
export class
|
|
29561
|
+
export class UpdateFormDataHeadersAccountContext extends $dara.Model {
|
|
29435
29562
|
/**
|
|
29436
29563
|
* @remarks
|
|
29437
29564
|
* This parameter is required.
|
|
@@ -29461,34 +29588,7 @@ export class UpdateLiveHeadersAccountContext extends $dara.Model {
|
|
|
29461
29588
|
}
|
|
29462
29589
|
}
|
|
29463
29590
|
|
|
29464
|
-
export class
|
|
29465
|
-
/**
|
|
29466
|
-
* @example
|
|
29467
|
-
* 1
|
|
29468
|
-
*/
|
|
29469
|
-
tenantId?: string;
|
|
29470
|
-
static names(): { [key: string]: string } {
|
|
29471
|
-
return {
|
|
29472
|
-
tenantId: 'tenantId',
|
|
29473
|
-
};
|
|
29474
|
-
}
|
|
29475
|
-
|
|
29476
|
-
static types(): { [key: string]: any } {
|
|
29477
|
-
return {
|
|
29478
|
-
tenantId: 'string',
|
|
29479
|
-
};
|
|
29480
|
-
}
|
|
29481
|
-
|
|
29482
|
-
validate() {
|
|
29483
|
-
super.validate();
|
|
29484
|
-
}
|
|
29485
|
-
|
|
29486
|
-
constructor(map?: { [key: string]: any }) {
|
|
29487
|
-
super(map);
|
|
29488
|
-
}
|
|
29489
|
-
}
|
|
29490
|
-
|
|
29491
|
-
export class UpdateMeetingRoomHeadersAccountContext extends $dara.Model {
|
|
29591
|
+
export class UpdateInstanceHeadersAccountContext extends $dara.Model {
|
|
29492
29592
|
/**
|
|
29493
29593
|
* @remarks
|
|
29494
29594
|
* This parameter is required.
|
|
@@ -29518,115 +29618,202 @@ export class UpdateMeetingRoomHeadersAccountContext extends $dara.Model {
|
|
|
29518
29618
|
}
|
|
29519
29619
|
}
|
|
29520
29620
|
|
|
29521
|
-
export class
|
|
29522
|
-
|
|
29523
|
-
|
|
29524
|
-
|
|
29525
|
-
|
|
29526
|
-
|
|
29527
|
-
|
|
29528
|
-
|
|
29529
|
-
|
|
29530
|
-
|
|
29531
|
-
|
|
29532
|
-
|
|
29533
|
-
|
|
29534
|
-
|
|
29535
|
-
|
|
29536
|
-
|
|
29537
|
-
|
|
29538
|
-
|
|
29539
|
-
|
|
29540
|
-
|
|
29541
|
-
|
|
29542
|
-
|
|
29543
|
-
|
|
29544
|
-
|
|
29545
|
-
|
|
29546
|
-
|
|
29547
|
-
|
|
29548
|
-
}
|
|
29549
|
-
|
|
29550
|
-
|
|
29551
|
-
|
|
29552
|
-
|
|
29553
|
-
|
|
29554
|
-
|
|
29555
|
-
|
|
29556
|
-
|
|
29557
|
-
|
|
29558
|
-
|
|
29559
|
-
|
|
29560
|
-
|
|
29561
|
-
|
|
29562
|
-
|
|
29563
|
-
|
|
29564
|
-
|
|
29565
|
-
|
|
29566
|
-
|
|
29567
|
-
|
|
29568
|
-
|
|
29569
|
-
|
|
29570
|
-
|
|
29571
|
-
|
|
29572
|
-
|
|
29573
|
-
}
|
|
29574
|
-
|
|
29575
|
-
|
|
29576
|
-
|
|
29577
|
-
|
|
29578
|
-
|
|
29579
|
-
|
|
29580
|
-
|
|
29581
|
-
|
|
29582
|
-
|
|
29583
|
-
|
|
29584
|
-
|
|
29585
|
-
|
|
29586
|
-
|
|
29587
|
-
|
|
29588
|
-
|
|
29589
|
-
|
|
29590
|
-
};
|
|
29591
|
-
}
|
|
29592
|
-
|
|
29593
|
-
|
|
29594
|
-
|
|
29595
|
-
|
|
29596
|
-
|
|
29597
|
-
|
|
29598
|
-
|
|
29599
|
-
|
|
29600
|
-
|
|
29601
|
-
|
|
29602
|
-
|
|
29603
|
-
|
|
29604
|
-
|
|
29605
|
-
|
|
29606
|
-
|
|
29607
|
-
|
|
29608
|
-
|
|
29609
|
-
|
|
29610
|
-
|
|
29611
|
-
|
|
29612
|
-
}
|
|
29613
|
-
|
|
29614
|
-
|
|
29615
|
-
|
|
29616
|
-
|
|
29617
|
-
};
|
|
29618
|
-
}
|
|
29619
|
-
|
|
29620
|
-
|
|
29621
|
-
|
|
29622
|
-
|
|
29623
|
-
|
|
29624
|
-
|
|
29625
|
-
|
|
29626
|
-
}
|
|
29627
|
-
|
|
29628
|
-
|
|
29629
|
-
|
|
29621
|
+
export class UpdateLiveHeadersAccountContext extends $dara.Model {
|
|
29622
|
+
/**
|
|
29623
|
+
* @remarks
|
|
29624
|
+
* This parameter is required.
|
|
29625
|
+
*
|
|
29626
|
+
* @example
|
|
29627
|
+
* 012345
|
|
29628
|
+
*/
|
|
29629
|
+
accountId?: string;
|
|
29630
|
+
static names(): { [key: string]: string } {
|
|
29631
|
+
return {
|
|
29632
|
+
accountId: 'accountId',
|
|
29633
|
+
};
|
|
29634
|
+
}
|
|
29635
|
+
|
|
29636
|
+
static types(): { [key: string]: any } {
|
|
29637
|
+
return {
|
|
29638
|
+
accountId: 'string',
|
|
29639
|
+
};
|
|
29640
|
+
}
|
|
29641
|
+
|
|
29642
|
+
validate() {
|
|
29643
|
+
super.validate();
|
|
29644
|
+
}
|
|
29645
|
+
|
|
29646
|
+
constructor(map?: { [key: string]: any }) {
|
|
29647
|
+
super(map);
|
|
29648
|
+
}
|
|
29649
|
+
}
|
|
29650
|
+
|
|
29651
|
+
export class UpdateLiveRequestTenantContext extends $dara.Model {
|
|
29652
|
+
/**
|
|
29653
|
+
* @example
|
|
29654
|
+
* 1
|
|
29655
|
+
*/
|
|
29656
|
+
tenantId?: string;
|
|
29657
|
+
static names(): { [key: string]: string } {
|
|
29658
|
+
return {
|
|
29659
|
+
tenantId: 'tenantId',
|
|
29660
|
+
};
|
|
29661
|
+
}
|
|
29662
|
+
|
|
29663
|
+
static types(): { [key: string]: any } {
|
|
29664
|
+
return {
|
|
29665
|
+
tenantId: 'string',
|
|
29666
|
+
};
|
|
29667
|
+
}
|
|
29668
|
+
|
|
29669
|
+
validate() {
|
|
29670
|
+
super.validate();
|
|
29671
|
+
}
|
|
29672
|
+
|
|
29673
|
+
constructor(map?: { [key: string]: any }) {
|
|
29674
|
+
super(map);
|
|
29675
|
+
}
|
|
29676
|
+
}
|
|
29677
|
+
|
|
29678
|
+
export class UpdateMeetingRoomHeadersAccountContext extends $dara.Model {
|
|
29679
|
+
/**
|
|
29680
|
+
* @remarks
|
|
29681
|
+
* This parameter is required.
|
|
29682
|
+
*
|
|
29683
|
+
* @example
|
|
29684
|
+
* 012345
|
|
29685
|
+
*/
|
|
29686
|
+
accountId?: string;
|
|
29687
|
+
static names(): { [key: string]: string } {
|
|
29688
|
+
return {
|
|
29689
|
+
accountId: 'accountId',
|
|
29690
|
+
};
|
|
29691
|
+
}
|
|
29692
|
+
|
|
29693
|
+
static types(): { [key: string]: any } {
|
|
29694
|
+
return {
|
|
29695
|
+
accountId: 'string',
|
|
29696
|
+
};
|
|
29697
|
+
}
|
|
29698
|
+
|
|
29699
|
+
validate() {
|
|
29700
|
+
super.validate();
|
|
29701
|
+
}
|
|
29702
|
+
|
|
29703
|
+
constructor(map?: { [key: string]: any }) {
|
|
29704
|
+
super(map);
|
|
29705
|
+
}
|
|
29706
|
+
}
|
|
29707
|
+
|
|
29708
|
+
export class UpdateMeetingRoomRequestReservationAuthorityAuthorizedMembers extends $dara.Model {
|
|
29709
|
+
memberId?: string;
|
|
29710
|
+
memberName?: string;
|
|
29711
|
+
memberType?: string;
|
|
29712
|
+
static names(): { [key: string]: string } {
|
|
29713
|
+
return {
|
|
29714
|
+
memberId: 'MemberId',
|
|
29715
|
+
memberName: 'MemberName',
|
|
29716
|
+
memberType: 'MemberType',
|
|
29717
|
+
};
|
|
29718
|
+
}
|
|
29719
|
+
|
|
29720
|
+
static types(): { [key: string]: any } {
|
|
29721
|
+
return {
|
|
29722
|
+
memberId: 'string',
|
|
29723
|
+
memberName: 'string',
|
|
29724
|
+
memberType: 'string',
|
|
29725
|
+
};
|
|
29726
|
+
}
|
|
29727
|
+
|
|
29728
|
+
validate() {
|
|
29729
|
+
super.validate();
|
|
29730
|
+
}
|
|
29731
|
+
|
|
29732
|
+
constructor(map?: { [key: string]: any }) {
|
|
29733
|
+
super(map);
|
|
29734
|
+
}
|
|
29735
|
+
}
|
|
29736
|
+
|
|
29737
|
+
export class UpdateMeetingRoomRequestReservationAuthority extends $dara.Model {
|
|
29738
|
+
authorizedMembers?: UpdateMeetingRoomRequestReservationAuthorityAuthorizedMembers[];
|
|
29739
|
+
static names(): { [key: string]: string } {
|
|
29740
|
+
return {
|
|
29741
|
+
authorizedMembers: 'AuthorizedMembers',
|
|
29742
|
+
};
|
|
29743
|
+
}
|
|
29744
|
+
|
|
29745
|
+
static types(): { [key: string]: any } {
|
|
29746
|
+
return {
|
|
29747
|
+
authorizedMembers: { 'type': 'array', 'itemType': UpdateMeetingRoomRequestReservationAuthorityAuthorizedMembers },
|
|
29748
|
+
};
|
|
29749
|
+
}
|
|
29750
|
+
|
|
29751
|
+
validate() {
|
|
29752
|
+
if(Array.isArray(this.authorizedMembers)) {
|
|
29753
|
+
$dara.Model.validateArray(this.authorizedMembers);
|
|
29754
|
+
}
|
|
29755
|
+
super.validate();
|
|
29756
|
+
}
|
|
29757
|
+
|
|
29758
|
+
constructor(map?: { [key: string]: any }) {
|
|
29759
|
+
super(map);
|
|
29760
|
+
}
|
|
29761
|
+
}
|
|
29762
|
+
|
|
29763
|
+
export class UpdateMeetingRoomRequestRoomLocation extends $dara.Model {
|
|
29764
|
+
desc?: string;
|
|
29765
|
+
title?: string;
|
|
29766
|
+
static names(): { [key: string]: string } {
|
|
29767
|
+
return {
|
|
29768
|
+
desc: 'Desc',
|
|
29769
|
+
title: 'Title',
|
|
29770
|
+
};
|
|
29771
|
+
}
|
|
29772
|
+
|
|
29773
|
+
static types(): { [key: string]: any } {
|
|
29774
|
+
return {
|
|
29775
|
+
desc: 'string',
|
|
29776
|
+
title: 'string',
|
|
29777
|
+
};
|
|
29778
|
+
}
|
|
29779
|
+
|
|
29780
|
+
validate() {
|
|
29781
|
+
super.validate();
|
|
29782
|
+
}
|
|
29783
|
+
|
|
29784
|
+
constructor(map?: { [key: string]: any }) {
|
|
29785
|
+
super(map);
|
|
29786
|
+
}
|
|
29787
|
+
}
|
|
29788
|
+
|
|
29789
|
+
export class UpdateMeetingRoomRequestTenantContext extends $dara.Model {
|
|
29790
|
+
/**
|
|
29791
|
+
* @example
|
|
29792
|
+
* xxxxxx
|
|
29793
|
+
*/
|
|
29794
|
+
tenantId?: string;
|
|
29795
|
+
static names(): { [key: string]: string } {
|
|
29796
|
+
return {
|
|
29797
|
+
tenantId: 'tenantId',
|
|
29798
|
+
};
|
|
29799
|
+
}
|
|
29800
|
+
|
|
29801
|
+
static types(): { [key: string]: any } {
|
|
29802
|
+
return {
|
|
29803
|
+
tenantId: 'string',
|
|
29804
|
+
};
|
|
29805
|
+
}
|
|
29806
|
+
|
|
29807
|
+
validate() {
|
|
29808
|
+
super.validate();
|
|
29809
|
+
}
|
|
29810
|
+
|
|
29811
|
+
constructor(map?: { [key: string]: any }) {
|
|
29812
|
+
super(map);
|
|
29813
|
+
}
|
|
29814
|
+
}
|
|
29815
|
+
|
|
29816
|
+
export class UpdateMeetingRoomGroupHeadersAccountContext extends $dara.Model {
|
|
29630
29817
|
/**
|
|
29631
29818
|
* @remarks
|
|
29632
29819
|
* This parameter is required.
|
|
@@ -41730,6 +41917,7 @@ export class CreateTodoTaskShrinkHeaders extends $dara.Model {
|
|
|
41730
41917
|
|
|
41731
41918
|
export class CreateTodoTaskRequest extends $dara.Model {
|
|
41732
41919
|
tenantContext?: CreateTodoTaskRequestTenantContext;
|
|
41920
|
+
actionList?: CreateTodoTaskRequestActionList[];
|
|
41733
41921
|
contentFieldList?: CreateTodoTaskRequestContentFieldList[];
|
|
41734
41922
|
/**
|
|
41735
41923
|
* @example
|
|
@@ -41781,6 +41969,7 @@ export class CreateTodoTaskRequest extends $dara.Model {
|
|
|
41781
41969
|
static names(): { [key: string]: string } {
|
|
41782
41970
|
return {
|
|
41783
41971
|
tenantContext: 'TenantContext',
|
|
41972
|
+
actionList: 'actionList',
|
|
41784
41973
|
contentFieldList: 'contentFieldList',
|
|
41785
41974
|
creatorId: 'creatorId',
|
|
41786
41975
|
description: 'description',
|
|
@@ -41800,6 +41989,7 @@ export class CreateTodoTaskRequest extends $dara.Model {
|
|
|
41800
41989
|
static types(): { [key: string]: any } {
|
|
41801
41990
|
return {
|
|
41802
41991
|
tenantContext: CreateTodoTaskRequestTenantContext,
|
|
41992
|
+
actionList: { 'type': 'array', 'itemType': CreateTodoTaskRequestActionList },
|
|
41803
41993
|
contentFieldList: { 'type': 'array', 'itemType': CreateTodoTaskRequestContentFieldList },
|
|
41804
41994
|
creatorId: 'string',
|
|
41805
41995
|
description: 'string',
|
|
@@ -41820,6 +42010,9 @@ export class CreateTodoTaskRequest extends $dara.Model {
|
|
|
41820
42010
|
if(this.tenantContext && typeof (this.tenantContext as any).validate === 'function') {
|
|
41821
42011
|
(this.tenantContext as any).validate();
|
|
41822
42012
|
}
|
|
42013
|
+
if(Array.isArray(this.actionList)) {
|
|
42014
|
+
$dara.Model.validateArray(this.actionList);
|
|
42015
|
+
}
|
|
41823
42016
|
if(Array.isArray(this.contentFieldList)) {
|
|
41824
42017
|
$dara.Model.validateArray(this.contentFieldList);
|
|
41825
42018
|
}
|
|
@@ -41845,6 +42038,7 @@ export class CreateTodoTaskRequest extends $dara.Model {
|
|
|
41845
42038
|
|
|
41846
42039
|
export class CreateTodoTaskShrinkRequest extends $dara.Model {
|
|
41847
42040
|
tenantContextShrink?: string;
|
|
42041
|
+
actionListShrink?: string;
|
|
41848
42042
|
contentFieldListShrink?: string;
|
|
41849
42043
|
/**
|
|
41850
42044
|
* @example
|
|
@@ -41896,6 +42090,7 @@ export class CreateTodoTaskShrinkRequest extends $dara.Model {
|
|
|
41896
42090
|
static names(): { [key: string]: string } {
|
|
41897
42091
|
return {
|
|
41898
42092
|
tenantContextShrink: 'TenantContext',
|
|
42093
|
+
actionListShrink: 'actionList',
|
|
41899
42094
|
contentFieldListShrink: 'contentFieldList',
|
|
41900
42095
|
creatorId: 'creatorId',
|
|
41901
42096
|
description: 'description',
|
|
@@ -41915,6 +42110,7 @@ export class CreateTodoTaskShrinkRequest extends $dara.Model {
|
|
|
41915
42110
|
static types(): { [key: string]: any } {
|
|
41916
42111
|
return {
|
|
41917
42112
|
tenantContextShrink: 'string',
|
|
42113
|
+
actionListShrink: 'string',
|
|
41918
42114
|
contentFieldListShrink: 'string',
|
|
41919
42115
|
creatorId: 'string',
|
|
41920
42116
|
description: 'string',
|
|
@@ -80923,9 +81119,9 @@ export class SubscribeCalendarResponse extends $dara.Model {
|
|
|
80923
81119
|
}
|
|
80924
81120
|
}
|
|
80925
81121
|
|
|
80926
|
-
export class
|
|
81122
|
+
export class SubscribeEventHeaders extends $dara.Model {
|
|
80927
81123
|
commonHeaders?: { [key: string]: string };
|
|
80928
|
-
accountContext?:
|
|
81124
|
+
accountContext?: SubscribeEventHeadersAccountContext;
|
|
80929
81125
|
static names(): { [key: string]: string } {
|
|
80930
81126
|
return {
|
|
80931
81127
|
commonHeaders: 'commonHeaders',
|
|
@@ -80936,7 +81132,7 @@ export class SyncDingTypeHeaders extends $dara.Model {
|
|
|
80936
81132
|
static types(): { [key: string]: any } {
|
|
80937
81133
|
return {
|
|
80938
81134
|
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
80939
|
-
accountContext:
|
|
81135
|
+
accountContext: SubscribeEventHeadersAccountContext,
|
|
80940
81136
|
};
|
|
80941
81137
|
}
|
|
80942
81138
|
|
|
@@ -80955,7 +81151,7 @@ export class SyncDingTypeHeaders extends $dara.Model {
|
|
|
80955
81151
|
}
|
|
80956
81152
|
}
|
|
80957
81153
|
|
|
80958
|
-
export class
|
|
81154
|
+
export class SubscribeEventShrinkHeaders extends $dara.Model {
|
|
80959
81155
|
commonHeaders?: { [key: string]: string };
|
|
80960
81156
|
accountContextShrink?: string;
|
|
80961
81157
|
static names(): { [key: string]: string } {
|
|
@@ -80984,54 +81180,37 @@ export class SyncDingTypeShrinkHeaders extends $dara.Model {
|
|
|
80984
81180
|
}
|
|
80985
81181
|
}
|
|
80986
81182
|
|
|
80987
|
-
export class
|
|
80988
|
-
/**
|
|
80989
|
-
* @remarks
|
|
80990
|
-
* This parameter is required.
|
|
80991
|
-
*
|
|
80992
|
-
* @example
|
|
80993
|
-
* ANT_DING
|
|
80994
|
-
*/
|
|
80995
|
-
dingType?: string;
|
|
80996
|
-
/**
|
|
80997
|
-
* @example
|
|
80998
|
-
* y
|
|
80999
|
-
*/
|
|
81000
|
-
isDimission?: string;
|
|
81183
|
+
export class SubscribeEventRequest extends $dara.Model {
|
|
81001
81184
|
/**
|
|
81002
81185
|
* @remarks
|
|
81003
81186
|
* This parameter is required.
|
|
81004
81187
|
*
|
|
81005
81188
|
* @example
|
|
81006
|
-
*
|
|
81189
|
+
* SPACE
|
|
81007
81190
|
*/
|
|
81008
|
-
|
|
81009
|
-
tenantContext?: SyncDingTypeRequestTenantContext;
|
|
81191
|
+
scope?: string;
|
|
81010
81192
|
/**
|
|
81011
81193
|
* @remarks
|
|
81012
81194
|
* This parameter is required.
|
|
81013
81195
|
*
|
|
81014
81196
|
* @example
|
|
81015
|
-
*
|
|
81197
|
+
* 233456
|
|
81016
81198
|
*/
|
|
81017
|
-
|
|
81199
|
+
scopeId?: string;
|
|
81200
|
+
tenantContext?: SubscribeEventRequestTenantContext;
|
|
81018
81201
|
static names(): { [key: string]: string } {
|
|
81019
81202
|
return {
|
|
81020
|
-
|
|
81021
|
-
|
|
81022
|
-
source: 'Source',
|
|
81203
|
+
scope: 'Scope',
|
|
81204
|
+
scopeId: 'ScopeId',
|
|
81023
81205
|
tenantContext: 'TenantContext',
|
|
81024
|
-
workNo: 'WorkNo',
|
|
81025
81206
|
};
|
|
81026
81207
|
}
|
|
81027
81208
|
|
|
81028
81209
|
static types(): { [key: string]: any } {
|
|
81029
81210
|
return {
|
|
81030
|
-
|
|
81031
|
-
|
|
81032
|
-
|
|
81033
|
-
tenantContext: SyncDingTypeRequestTenantContext,
|
|
81034
|
-
workNo: 'string',
|
|
81211
|
+
scope: 'string',
|
|
81212
|
+
scopeId: 'string',
|
|
81213
|
+
tenantContext: SubscribeEventRequestTenantContext,
|
|
81035
81214
|
};
|
|
81036
81215
|
}
|
|
81037
81216
|
|
|
@@ -81047,54 +81226,37 @@ export class SyncDingTypeRequest extends $dara.Model {
|
|
|
81047
81226
|
}
|
|
81048
81227
|
}
|
|
81049
81228
|
|
|
81050
|
-
export class
|
|
81229
|
+
export class SubscribeEventShrinkRequest extends $dara.Model {
|
|
81051
81230
|
/**
|
|
81052
81231
|
* @remarks
|
|
81053
81232
|
* This parameter is required.
|
|
81054
81233
|
*
|
|
81055
81234
|
* @example
|
|
81056
|
-
*
|
|
81057
|
-
*/
|
|
81058
|
-
dingType?: string;
|
|
81059
|
-
/**
|
|
81060
|
-
* @example
|
|
81061
|
-
* y
|
|
81235
|
+
* SPACE
|
|
81062
81236
|
*/
|
|
81063
|
-
|
|
81237
|
+
scope?: string;
|
|
81064
81238
|
/**
|
|
81065
81239
|
* @remarks
|
|
81066
81240
|
* This parameter is required.
|
|
81067
81241
|
*
|
|
81068
81242
|
* @example
|
|
81069
|
-
*
|
|
81243
|
+
* 233456
|
|
81070
81244
|
*/
|
|
81071
|
-
|
|
81245
|
+
scopeId?: string;
|
|
81072
81246
|
tenantContextShrink?: string;
|
|
81073
|
-
/**
|
|
81074
|
-
* @remarks
|
|
81075
|
-
* This parameter is required.
|
|
81076
|
-
*
|
|
81077
|
-
* @example
|
|
81078
|
-
* 012345
|
|
81079
|
-
*/
|
|
81080
|
-
workNo?: string;
|
|
81081
81247
|
static names(): { [key: string]: string } {
|
|
81082
81248
|
return {
|
|
81083
|
-
|
|
81084
|
-
|
|
81085
|
-
source: 'Source',
|
|
81249
|
+
scope: 'Scope',
|
|
81250
|
+
scopeId: 'ScopeId',
|
|
81086
81251
|
tenantContextShrink: 'TenantContext',
|
|
81087
|
-
workNo: 'WorkNo',
|
|
81088
81252
|
};
|
|
81089
81253
|
}
|
|
81090
81254
|
|
|
81091
81255
|
static types(): { [key: string]: any } {
|
|
81092
81256
|
return {
|
|
81093
|
-
|
|
81094
|
-
|
|
81095
|
-
source: 'string',
|
|
81257
|
+
scope: 'string',
|
|
81258
|
+
scopeId: 'string',
|
|
81096
81259
|
tenantContextShrink: 'string',
|
|
81097
|
-
workNo: 'string',
|
|
81098
81260
|
};
|
|
81099
81261
|
}
|
|
81100
81262
|
|
|
@@ -81107,16 +81269,12 @@ export class SyncDingTypeShrinkRequest extends $dara.Model {
|
|
|
81107
81269
|
}
|
|
81108
81270
|
}
|
|
81109
81271
|
|
|
81110
|
-
export class
|
|
81272
|
+
export class SubscribeEventResponseBody extends $dara.Model {
|
|
81111
81273
|
/**
|
|
81112
81274
|
* @example
|
|
81113
81275
|
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
81114
81276
|
*/
|
|
81115
81277
|
requestId?: string;
|
|
81116
|
-
/**
|
|
81117
|
-
* @example
|
|
81118
|
-
* true
|
|
81119
|
-
*/
|
|
81120
81278
|
success?: boolean;
|
|
81121
81279
|
/**
|
|
81122
81280
|
* @example
|
|
@@ -81155,10 +81313,10 @@ export class SyncDingTypeResponseBody extends $dara.Model {
|
|
|
81155
81313
|
}
|
|
81156
81314
|
}
|
|
81157
81315
|
|
|
81158
|
-
export class
|
|
81316
|
+
export class SubscribeEventResponse extends $dara.Model {
|
|
81159
81317
|
headers?: { [key: string]: string };
|
|
81160
81318
|
statusCode?: number;
|
|
81161
|
-
body?:
|
|
81319
|
+
body?: SubscribeEventResponseBody;
|
|
81162
81320
|
static names(): { [key: string]: string } {
|
|
81163
81321
|
return {
|
|
81164
81322
|
headers: 'headers',
|
|
@@ -81171,7 +81329,7 @@ export class SyncDingTypeResponse extends $dara.Model {
|
|
|
81171
81329
|
return {
|
|
81172
81330
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
81173
81331
|
statusCode: 'number',
|
|
81174
|
-
body:
|
|
81332
|
+
body: SubscribeEventResponseBody,
|
|
81175
81333
|
};
|
|
81176
81334
|
}
|
|
81177
81335
|
|
|
@@ -81190,9 +81348,9 @@ export class SyncDingTypeResponse extends $dara.Model {
|
|
|
81190
81348
|
}
|
|
81191
81349
|
}
|
|
81192
81350
|
|
|
81193
|
-
export class
|
|
81351
|
+
export class SyncDingTypeHeaders extends $dara.Model {
|
|
81194
81352
|
commonHeaders?: { [key: string]: string };
|
|
81195
|
-
accountContext?:
|
|
81353
|
+
accountContext?: SyncDingTypeHeadersAccountContext;
|
|
81196
81354
|
static names(): { [key: string]: string } {
|
|
81197
81355
|
return {
|
|
81198
81356
|
commonHeaders: 'commonHeaders',
|
|
@@ -81203,7 +81361,7 @@ export class TerminateInstanceHeaders extends $dara.Model {
|
|
|
81203
81361
|
static types(): { [key: string]: any } {
|
|
81204
81362
|
return {
|
|
81205
81363
|
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
81206
|
-
accountContext:
|
|
81364
|
+
accountContext: SyncDingTypeHeadersAccountContext,
|
|
81207
81365
|
};
|
|
81208
81366
|
}
|
|
81209
81367
|
|
|
@@ -81222,7 +81380,7 @@ export class TerminateInstanceHeaders extends $dara.Model {
|
|
|
81222
81380
|
}
|
|
81223
81381
|
}
|
|
81224
81382
|
|
|
81225
|
-
export class
|
|
81383
|
+
export class SyncDingTypeShrinkHeaders extends $dara.Model {
|
|
81226
81384
|
commonHeaders?: { [key: string]: string };
|
|
81227
81385
|
accountContextShrink?: string;
|
|
81228
81386
|
static names(): { [key: string]: string } {
|
|
@@ -81251,46 +81409,61 @@ export class TerminateInstanceShrinkHeaders extends $dara.Model {
|
|
|
81251
81409
|
}
|
|
81252
81410
|
}
|
|
81253
81411
|
|
|
81254
|
-
export class
|
|
81412
|
+
export class SyncDingTypeRequest extends $dara.Model {
|
|
81255
81413
|
/**
|
|
81414
|
+
* @remarks
|
|
81415
|
+
* This parameter is required.
|
|
81416
|
+
*
|
|
81256
81417
|
* @example
|
|
81257
|
-
*
|
|
81418
|
+
* ANT_DING
|
|
81258
81419
|
*/
|
|
81259
|
-
|
|
81420
|
+
dingType?: string;
|
|
81260
81421
|
/**
|
|
81261
81422
|
* @example
|
|
81262
|
-
*
|
|
81423
|
+
* y
|
|
81263
81424
|
*/
|
|
81264
|
-
|
|
81425
|
+
isDimission?: string;
|
|
81265
81426
|
/**
|
|
81427
|
+
* @remarks
|
|
81428
|
+
* This parameter is required.
|
|
81429
|
+
*
|
|
81266
81430
|
* @example
|
|
81267
|
-
*
|
|
81431
|
+
* antding
|
|
81268
81432
|
*/
|
|
81269
|
-
|
|
81433
|
+
source?: string;
|
|
81434
|
+
tenantContext?: SyncDingTypeRequestTenantContext;
|
|
81270
81435
|
/**
|
|
81436
|
+
* @remarks
|
|
81437
|
+
* This parameter is required.
|
|
81438
|
+
*
|
|
81271
81439
|
* @example
|
|
81272
|
-
*
|
|
81440
|
+
* 012345
|
|
81273
81441
|
*/
|
|
81274
|
-
|
|
81442
|
+
workNo?: string;
|
|
81275
81443
|
static names(): { [key: string]: string } {
|
|
81276
81444
|
return {
|
|
81277
|
-
|
|
81278
|
-
|
|
81279
|
-
|
|
81280
|
-
|
|
81445
|
+
dingType: 'DingType',
|
|
81446
|
+
isDimission: 'IsDimission',
|
|
81447
|
+
source: 'Source',
|
|
81448
|
+
tenantContext: 'TenantContext',
|
|
81449
|
+
workNo: 'WorkNo',
|
|
81281
81450
|
};
|
|
81282
81451
|
}
|
|
81283
81452
|
|
|
81284
81453
|
static types(): { [key: string]: any } {
|
|
81285
81454
|
return {
|
|
81286
|
-
|
|
81287
|
-
|
|
81288
|
-
|
|
81289
|
-
|
|
81455
|
+
dingType: 'string',
|
|
81456
|
+
isDimission: 'string',
|
|
81457
|
+
source: 'string',
|
|
81458
|
+
tenantContext: SyncDingTypeRequestTenantContext,
|
|
81459
|
+
workNo: 'string',
|
|
81290
81460
|
};
|
|
81291
81461
|
}
|
|
81292
81462
|
|
|
81293
81463
|
validate() {
|
|
81464
|
+
if(this.tenantContext && typeof (this.tenantContext as any).validate === 'function') {
|
|
81465
|
+
(this.tenantContext as any).validate();
|
|
81466
|
+
}
|
|
81294
81467
|
super.validate();
|
|
81295
81468
|
}
|
|
81296
81469
|
|
|
@@ -81299,12 +81472,77 @@ export class TerminateInstanceRequest extends $dara.Model {
|
|
|
81299
81472
|
}
|
|
81300
81473
|
}
|
|
81301
81474
|
|
|
81302
|
-
export class
|
|
81475
|
+
export class SyncDingTypeShrinkRequest extends $dara.Model {
|
|
81476
|
+
/**
|
|
81477
|
+
* @remarks
|
|
81478
|
+
* This parameter is required.
|
|
81479
|
+
*
|
|
81480
|
+
* @example
|
|
81481
|
+
* ANT_DING
|
|
81482
|
+
*/
|
|
81483
|
+
dingType?: string;
|
|
81484
|
+
/**
|
|
81485
|
+
* @example
|
|
81486
|
+
* y
|
|
81487
|
+
*/
|
|
81488
|
+
isDimission?: string;
|
|
81489
|
+
/**
|
|
81490
|
+
* @remarks
|
|
81491
|
+
* This parameter is required.
|
|
81492
|
+
*
|
|
81493
|
+
* @example
|
|
81494
|
+
* antding
|
|
81495
|
+
*/
|
|
81496
|
+
source?: string;
|
|
81497
|
+
tenantContextShrink?: string;
|
|
81498
|
+
/**
|
|
81499
|
+
* @remarks
|
|
81500
|
+
* This parameter is required.
|
|
81501
|
+
*
|
|
81502
|
+
* @example
|
|
81503
|
+
* 012345
|
|
81504
|
+
*/
|
|
81505
|
+
workNo?: string;
|
|
81506
|
+
static names(): { [key: string]: string } {
|
|
81507
|
+
return {
|
|
81508
|
+
dingType: 'DingType',
|
|
81509
|
+
isDimission: 'IsDimission',
|
|
81510
|
+
source: 'Source',
|
|
81511
|
+
tenantContextShrink: 'TenantContext',
|
|
81512
|
+
workNo: 'WorkNo',
|
|
81513
|
+
};
|
|
81514
|
+
}
|
|
81515
|
+
|
|
81516
|
+
static types(): { [key: string]: any } {
|
|
81517
|
+
return {
|
|
81518
|
+
dingType: 'string',
|
|
81519
|
+
isDimission: 'string',
|
|
81520
|
+
source: 'string',
|
|
81521
|
+
tenantContextShrink: 'string',
|
|
81522
|
+
workNo: 'string',
|
|
81523
|
+
};
|
|
81524
|
+
}
|
|
81525
|
+
|
|
81526
|
+
validate() {
|
|
81527
|
+
super.validate();
|
|
81528
|
+
}
|
|
81529
|
+
|
|
81530
|
+
constructor(map?: { [key: string]: any }) {
|
|
81531
|
+
super(map);
|
|
81532
|
+
}
|
|
81533
|
+
}
|
|
81534
|
+
|
|
81535
|
+
export class SyncDingTypeResponseBody extends $dara.Model {
|
|
81303
81536
|
/**
|
|
81304
81537
|
* @example
|
|
81305
81538
|
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
81306
81539
|
*/
|
|
81307
81540
|
requestId?: string;
|
|
81541
|
+
/**
|
|
81542
|
+
* @example
|
|
81543
|
+
* true
|
|
81544
|
+
*/
|
|
81545
|
+
success?: boolean;
|
|
81308
81546
|
/**
|
|
81309
81547
|
* @example
|
|
81310
81548
|
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
@@ -81318,6 +81556,7 @@ export class TerminateInstanceResponseBody extends $dara.Model {
|
|
|
81318
81556
|
static names(): { [key: string]: string } {
|
|
81319
81557
|
return {
|
|
81320
81558
|
requestId: 'requestId',
|
|
81559
|
+
success: 'success',
|
|
81321
81560
|
vendorRequestId: 'vendorRequestId',
|
|
81322
81561
|
vendorType: 'vendorType',
|
|
81323
81562
|
};
|
|
@@ -81326,6 +81565,7 @@ export class TerminateInstanceResponseBody extends $dara.Model {
|
|
|
81326
81565
|
static types(): { [key: string]: any } {
|
|
81327
81566
|
return {
|
|
81328
81567
|
requestId: 'string',
|
|
81568
|
+
success: 'boolean',
|
|
81329
81569
|
vendorRequestId: 'string',
|
|
81330
81570
|
vendorType: 'string',
|
|
81331
81571
|
};
|
|
@@ -81340,10 +81580,10 @@ export class TerminateInstanceResponseBody extends $dara.Model {
|
|
|
81340
81580
|
}
|
|
81341
81581
|
}
|
|
81342
81582
|
|
|
81343
|
-
export class
|
|
81583
|
+
export class SyncDingTypeResponse extends $dara.Model {
|
|
81344
81584
|
headers?: { [key: string]: string };
|
|
81345
81585
|
statusCode?: number;
|
|
81346
|
-
body?:
|
|
81586
|
+
body?: SyncDingTypeResponseBody;
|
|
81347
81587
|
static names(): { [key: string]: string } {
|
|
81348
81588
|
return {
|
|
81349
81589
|
headers: 'headers',
|
|
@@ -81356,7 +81596,7 @@ export class TerminateInstanceResponse extends $dara.Model {
|
|
|
81356
81596
|
return {
|
|
81357
81597
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
81358
81598
|
statusCode: 'number',
|
|
81359
|
-
body:
|
|
81599
|
+
body: SyncDingTypeResponseBody,
|
|
81360
81600
|
};
|
|
81361
81601
|
}
|
|
81362
81602
|
|
|
@@ -81375,9 +81615,9 @@ export class TerminateInstanceResponse extends $dara.Model {
|
|
|
81375
81615
|
}
|
|
81376
81616
|
}
|
|
81377
81617
|
|
|
81378
|
-
export class
|
|
81618
|
+
export class TerminateInstanceHeaders extends $dara.Model {
|
|
81379
81619
|
commonHeaders?: { [key: string]: string };
|
|
81380
|
-
accountContext?:
|
|
81620
|
+
accountContext?: TerminateInstanceHeadersAccountContext;
|
|
81381
81621
|
static names(): { [key: string]: string } {
|
|
81382
81622
|
return {
|
|
81383
81623
|
commonHeaders: 'commonHeaders',
|
|
@@ -81388,7 +81628,7 @@ export class TransferTicketHeaders extends $dara.Model {
|
|
|
81388
81628
|
static types(): { [key: string]: any } {
|
|
81389
81629
|
return {
|
|
81390
81630
|
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
81391
|
-
accountContext:
|
|
81631
|
+
accountContext: TerminateInstanceHeadersAccountContext,
|
|
81392
81632
|
};
|
|
81393
81633
|
}
|
|
81394
81634
|
|
|
@@ -81407,7 +81647,7 @@ export class TransferTicketHeaders extends $dara.Model {
|
|
|
81407
81647
|
}
|
|
81408
81648
|
}
|
|
81409
81649
|
|
|
81410
|
-
export class
|
|
81650
|
+
export class TerminateInstanceShrinkHeaders extends $dara.Model {
|
|
81411
81651
|
commonHeaders?: { [key: string]: string };
|
|
81412
81652
|
accountContextShrink?: string;
|
|
81413
81653
|
static names(): { [key: string]: string } {
|
|
@@ -81436,110 +81676,42 @@ export class TransferTicketShrinkHeaders extends $dara.Model {
|
|
|
81436
81676
|
}
|
|
81437
81677
|
}
|
|
81438
81678
|
|
|
81439
|
-
export class
|
|
81440
|
-
notify?: TransferTicketRequestNotify;
|
|
81679
|
+
export class TerminateInstanceRequest extends $dara.Model {
|
|
81441
81680
|
/**
|
|
81442
|
-
* @remarks
|
|
81443
|
-
* This parameter is required.
|
|
81444
|
-
*
|
|
81445
81681
|
* @example
|
|
81446
|
-
*
|
|
81682
|
+
* APP_PBxxx
|
|
81447
81683
|
*/
|
|
81448
|
-
|
|
81684
|
+
appType?: string;
|
|
81449
81685
|
/**
|
|
81450
|
-
* @remarks
|
|
81451
|
-
* This parameter is required.
|
|
81452
|
-
*
|
|
81453
81686
|
* @example
|
|
81454
|
-
*
|
|
81687
|
+
* zh_CN
|
|
81455
81688
|
*/
|
|
81456
|
-
|
|
81457
|
-
processorUserIds?: string[];
|
|
81458
|
-
tenantContext?: TransferTicketRequestTenantContext;
|
|
81459
|
-
ticketMemo?: TransferTicketRequestTicketMemo;
|
|
81460
|
-
static names(): { [key: string]: string } {
|
|
81461
|
-
return {
|
|
81462
|
-
notify: 'Notify',
|
|
81463
|
-
openTeamId: 'OpenTeamId',
|
|
81464
|
-
openTicketId: 'OpenTicketId',
|
|
81465
|
-
processorUserIds: 'ProcessorUserIds',
|
|
81466
|
-
tenantContext: 'TenantContext',
|
|
81467
|
-
ticketMemo: 'TicketMemo',
|
|
81468
|
-
};
|
|
81469
|
-
}
|
|
81470
|
-
|
|
81471
|
-
static types(): { [key: string]: any } {
|
|
81472
|
-
return {
|
|
81473
|
-
notify: TransferTicketRequestNotify,
|
|
81474
|
-
openTeamId: 'string',
|
|
81475
|
-
openTicketId: 'string',
|
|
81476
|
-
processorUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
81477
|
-
tenantContext: TransferTicketRequestTenantContext,
|
|
81478
|
-
ticketMemo: TransferTicketRequestTicketMemo,
|
|
81479
|
-
};
|
|
81480
|
-
}
|
|
81481
|
-
|
|
81482
|
-
validate() {
|
|
81483
|
-
if(this.notify && typeof (this.notify as any).validate === 'function') {
|
|
81484
|
-
(this.notify as any).validate();
|
|
81485
|
-
}
|
|
81486
|
-
if(Array.isArray(this.processorUserIds)) {
|
|
81487
|
-
$dara.Model.validateArray(this.processorUserIds);
|
|
81488
|
-
}
|
|
81489
|
-
if(this.tenantContext && typeof (this.tenantContext as any).validate === 'function') {
|
|
81490
|
-
(this.tenantContext as any).validate();
|
|
81491
|
-
}
|
|
81492
|
-
if(this.ticketMemo && typeof (this.ticketMemo as any).validate === 'function') {
|
|
81493
|
-
(this.ticketMemo as any).validate();
|
|
81494
|
-
}
|
|
81495
|
-
super.validate();
|
|
81496
|
-
}
|
|
81497
|
-
|
|
81498
|
-
constructor(map?: { [key: string]: any }) {
|
|
81499
|
-
super(map);
|
|
81500
|
-
}
|
|
81501
|
-
}
|
|
81502
|
-
|
|
81503
|
-
export class TransferTicketShrinkRequest extends $dara.Model {
|
|
81504
|
-
notifyShrink?: string;
|
|
81689
|
+
language?: string;
|
|
81505
81690
|
/**
|
|
81506
|
-
* @remarks
|
|
81507
|
-
* This parameter is required.
|
|
81508
|
-
*
|
|
81509
81691
|
* @example
|
|
81510
|
-
*
|
|
81692
|
+
* f30233fb-72e1-4af4-8cb8-c7e0ea9ee530
|
|
81511
81693
|
*/
|
|
81512
|
-
|
|
81694
|
+
processInstanceId?: string;
|
|
81513
81695
|
/**
|
|
81514
|
-
* @remarks
|
|
81515
|
-
* This parameter is required.
|
|
81516
|
-
*
|
|
81517
81696
|
* @example
|
|
81518
|
-
*
|
|
81697
|
+
* hexxyy
|
|
81519
81698
|
*/
|
|
81520
|
-
|
|
81521
|
-
processorUserIdsShrink?: string;
|
|
81522
|
-
tenantContextShrink?: string;
|
|
81523
|
-
ticketMemoShrink?: string;
|
|
81699
|
+
systemToken?: string;
|
|
81524
81700
|
static names(): { [key: string]: string } {
|
|
81525
81701
|
return {
|
|
81526
|
-
|
|
81527
|
-
|
|
81528
|
-
|
|
81529
|
-
|
|
81530
|
-
tenantContextShrink: 'TenantContext',
|
|
81531
|
-
ticketMemoShrink: 'TicketMemo',
|
|
81702
|
+
appType: 'AppType',
|
|
81703
|
+
language: 'Language',
|
|
81704
|
+
processInstanceId: 'ProcessInstanceId',
|
|
81705
|
+
systemToken: 'SystemToken',
|
|
81532
81706
|
};
|
|
81533
81707
|
}
|
|
81534
81708
|
|
|
81535
81709
|
static types(): { [key: string]: any } {
|
|
81536
81710
|
return {
|
|
81537
|
-
|
|
81538
|
-
|
|
81539
|
-
|
|
81540
|
-
|
|
81541
|
-
tenantContextShrink: 'string',
|
|
81542
|
-
ticketMemoShrink: 'string',
|
|
81711
|
+
appType: 'string',
|
|
81712
|
+
language: 'string',
|
|
81713
|
+
processInstanceId: 'string',
|
|
81714
|
+
systemToken: 'string',
|
|
81543
81715
|
};
|
|
81544
81716
|
}
|
|
81545
81717
|
|
|
@@ -81552,7 +81724,7 @@ export class TransferTicketShrinkRequest extends $dara.Model {
|
|
|
81552
81724
|
}
|
|
81553
81725
|
}
|
|
81554
81726
|
|
|
81555
|
-
export class
|
|
81727
|
+
export class TerminateInstanceResponseBody extends $dara.Model {
|
|
81556
81728
|
/**
|
|
81557
81729
|
* @example
|
|
81558
81730
|
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
@@ -81593,10 +81765,10 @@ export class TransferTicketResponseBody extends $dara.Model {
|
|
|
81593
81765
|
}
|
|
81594
81766
|
}
|
|
81595
81767
|
|
|
81596
|
-
export class
|
|
81768
|
+
export class TerminateInstanceResponse extends $dara.Model {
|
|
81597
81769
|
headers?: { [key: string]: string };
|
|
81598
81770
|
statusCode?: number;
|
|
81599
|
-
body?:
|
|
81771
|
+
body?: TerminateInstanceResponseBody;
|
|
81600
81772
|
static names(): { [key: string]: string } {
|
|
81601
81773
|
return {
|
|
81602
81774
|
headers: 'headers',
|
|
@@ -81609,7 +81781,7 @@ export class TransferTicketResponse extends $dara.Model {
|
|
|
81609
81781
|
return {
|
|
81610
81782
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
81611
81783
|
statusCode: 'number',
|
|
81612
|
-
body:
|
|
81784
|
+
body: TerminateInstanceResponseBody,
|
|
81613
81785
|
};
|
|
81614
81786
|
}
|
|
81615
81787
|
|
|
@@ -81628,9 +81800,9 @@ export class TransferTicketResponse extends $dara.Model {
|
|
|
81628
81800
|
}
|
|
81629
81801
|
}
|
|
81630
81802
|
|
|
81631
|
-
export class
|
|
81803
|
+
export class TransferTicketHeaders extends $dara.Model {
|
|
81632
81804
|
commonHeaders?: { [key: string]: string };
|
|
81633
|
-
accountContext?:
|
|
81805
|
+
accountContext?: TransferTicketHeadersAccountContext;
|
|
81634
81806
|
static names(): { [key: string]: string } {
|
|
81635
81807
|
return {
|
|
81636
81808
|
commonHeaders: 'commonHeaders',
|
|
@@ -81641,7 +81813,7 @@ export class UnsubscribeCalendarHeaders extends $dara.Model {
|
|
|
81641
81813
|
static types(): { [key: string]: any } {
|
|
81642
81814
|
return {
|
|
81643
81815
|
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
81644
|
-
accountContext:
|
|
81816
|
+
accountContext: TransferTicketHeadersAccountContext,
|
|
81645
81817
|
};
|
|
81646
81818
|
}
|
|
81647
81819
|
|
|
@@ -81660,7 +81832,260 @@ export class UnsubscribeCalendarHeaders extends $dara.Model {
|
|
|
81660
81832
|
}
|
|
81661
81833
|
}
|
|
81662
81834
|
|
|
81663
|
-
export class
|
|
81835
|
+
export class TransferTicketShrinkHeaders extends $dara.Model {
|
|
81836
|
+
commonHeaders?: { [key: string]: string };
|
|
81837
|
+
accountContextShrink?: string;
|
|
81838
|
+
static names(): { [key: string]: string } {
|
|
81839
|
+
return {
|
|
81840
|
+
commonHeaders: 'commonHeaders',
|
|
81841
|
+
accountContextShrink: 'AccountContext',
|
|
81842
|
+
};
|
|
81843
|
+
}
|
|
81844
|
+
|
|
81845
|
+
static types(): { [key: string]: any } {
|
|
81846
|
+
return {
|
|
81847
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
81848
|
+
accountContextShrink: 'string',
|
|
81849
|
+
};
|
|
81850
|
+
}
|
|
81851
|
+
|
|
81852
|
+
validate() {
|
|
81853
|
+
if(this.commonHeaders) {
|
|
81854
|
+
$dara.Model.validateMap(this.commonHeaders);
|
|
81855
|
+
}
|
|
81856
|
+
super.validate();
|
|
81857
|
+
}
|
|
81858
|
+
|
|
81859
|
+
constructor(map?: { [key: string]: any }) {
|
|
81860
|
+
super(map);
|
|
81861
|
+
}
|
|
81862
|
+
}
|
|
81863
|
+
|
|
81864
|
+
export class TransferTicketRequest extends $dara.Model {
|
|
81865
|
+
notify?: TransferTicketRequestNotify;
|
|
81866
|
+
/**
|
|
81867
|
+
* @remarks
|
|
81868
|
+
* This parameter is required.
|
|
81869
|
+
*
|
|
81870
|
+
* @example
|
|
81871
|
+
* eKWh3xxxxiE
|
|
81872
|
+
*/
|
|
81873
|
+
openTeamId?: string;
|
|
81874
|
+
/**
|
|
81875
|
+
* @remarks
|
|
81876
|
+
* This parameter is required.
|
|
81877
|
+
*
|
|
81878
|
+
* @example
|
|
81879
|
+
* Dq9hP8Sk2v6vQxxxxiE
|
|
81880
|
+
*/
|
|
81881
|
+
openTicketId?: string;
|
|
81882
|
+
processorUserIds?: string[];
|
|
81883
|
+
tenantContext?: TransferTicketRequestTenantContext;
|
|
81884
|
+
ticketMemo?: TransferTicketRequestTicketMemo;
|
|
81885
|
+
static names(): { [key: string]: string } {
|
|
81886
|
+
return {
|
|
81887
|
+
notify: 'Notify',
|
|
81888
|
+
openTeamId: 'OpenTeamId',
|
|
81889
|
+
openTicketId: 'OpenTicketId',
|
|
81890
|
+
processorUserIds: 'ProcessorUserIds',
|
|
81891
|
+
tenantContext: 'TenantContext',
|
|
81892
|
+
ticketMemo: 'TicketMemo',
|
|
81893
|
+
};
|
|
81894
|
+
}
|
|
81895
|
+
|
|
81896
|
+
static types(): { [key: string]: any } {
|
|
81897
|
+
return {
|
|
81898
|
+
notify: TransferTicketRequestNotify,
|
|
81899
|
+
openTeamId: 'string',
|
|
81900
|
+
openTicketId: 'string',
|
|
81901
|
+
processorUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
81902
|
+
tenantContext: TransferTicketRequestTenantContext,
|
|
81903
|
+
ticketMemo: TransferTicketRequestTicketMemo,
|
|
81904
|
+
};
|
|
81905
|
+
}
|
|
81906
|
+
|
|
81907
|
+
validate() {
|
|
81908
|
+
if(this.notify && typeof (this.notify as any).validate === 'function') {
|
|
81909
|
+
(this.notify as any).validate();
|
|
81910
|
+
}
|
|
81911
|
+
if(Array.isArray(this.processorUserIds)) {
|
|
81912
|
+
$dara.Model.validateArray(this.processorUserIds);
|
|
81913
|
+
}
|
|
81914
|
+
if(this.tenantContext && typeof (this.tenantContext as any).validate === 'function') {
|
|
81915
|
+
(this.tenantContext as any).validate();
|
|
81916
|
+
}
|
|
81917
|
+
if(this.ticketMemo && typeof (this.ticketMemo as any).validate === 'function') {
|
|
81918
|
+
(this.ticketMemo as any).validate();
|
|
81919
|
+
}
|
|
81920
|
+
super.validate();
|
|
81921
|
+
}
|
|
81922
|
+
|
|
81923
|
+
constructor(map?: { [key: string]: any }) {
|
|
81924
|
+
super(map);
|
|
81925
|
+
}
|
|
81926
|
+
}
|
|
81927
|
+
|
|
81928
|
+
export class TransferTicketShrinkRequest extends $dara.Model {
|
|
81929
|
+
notifyShrink?: string;
|
|
81930
|
+
/**
|
|
81931
|
+
* @remarks
|
|
81932
|
+
* This parameter is required.
|
|
81933
|
+
*
|
|
81934
|
+
* @example
|
|
81935
|
+
* eKWh3xxxxiE
|
|
81936
|
+
*/
|
|
81937
|
+
openTeamId?: string;
|
|
81938
|
+
/**
|
|
81939
|
+
* @remarks
|
|
81940
|
+
* This parameter is required.
|
|
81941
|
+
*
|
|
81942
|
+
* @example
|
|
81943
|
+
* Dq9hP8Sk2v6vQxxxxiE
|
|
81944
|
+
*/
|
|
81945
|
+
openTicketId?: string;
|
|
81946
|
+
processorUserIdsShrink?: string;
|
|
81947
|
+
tenantContextShrink?: string;
|
|
81948
|
+
ticketMemoShrink?: string;
|
|
81949
|
+
static names(): { [key: string]: string } {
|
|
81950
|
+
return {
|
|
81951
|
+
notifyShrink: 'Notify',
|
|
81952
|
+
openTeamId: 'OpenTeamId',
|
|
81953
|
+
openTicketId: 'OpenTicketId',
|
|
81954
|
+
processorUserIdsShrink: 'ProcessorUserIds',
|
|
81955
|
+
tenantContextShrink: 'TenantContext',
|
|
81956
|
+
ticketMemoShrink: 'TicketMemo',
|
|
81957
|
+
};
|
|
81958
|
+
}
|
|
81959
|
+
|
|
81960
|
+
static types(): { [key: string]: any } {
|
|
81961
|
+
return {
|
|
81962
|
+
notifyShrink: 'string',
|
|
81963
|
+
openTeamId: 'string',
|
|
81964
|
+
openTicketId: 'string',
|
|
81965
|
+
processorUserIdsShrink: 'string',
|
|
81966
|
+
tenantContextShrink: 'string',
|
|
81967
|
+
ticketMemoShrink: 'string',
|
|
81968
|
+
};
|
|
81969
|
+
}
|
|
81970
|
+
|
|
81971
|
+
validate() {
|
|
81972
|
+
super.validate();
|
|
81973
|
+
}
|
|
81974
|
+
|
|
81975
|
+
constructor(map?: { [key: string]: any }) {
|
|
81976
|
+
super(map);
|
|
81977
|
+
}
|
|
81978
|
+
}
|
|
81979
|
+
|
|
81980
|
+
export class TransferTicketResponseBody extends $dara.Model {
|
|
81981
|
+
/**
|
|
81982
|
+
* @example
|
|
81983
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
81984
|
+
*/
|
|
81985
|
+
requestId?: string;
|
|
81986
|
+
/**
|
|
81987
|
+
* @example
|
|
81988
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
81989
|
+
*/
|
|
81990
|
+
vendorRequestId?: string;
|
|
81991
|
+
/**
|
|
81992
|
+
* @example
|
|
81993
|
+
* dingtalk
|
|
81994
|
+
*/
|
|
81995
|
+
vendorType?: string;
|
|
81996
|
+
static names(): { [key: string]: string } {
|
|
81997
|
+
return {
|
|
81998
|
+
requestId: 'requestId',
|
|
81999
|
+
vendorRequestId: 'vendorRequestId',
|
|
82000
|
+
vendorType: 'vendorType',
|
|
82001
|
+
};
|
|
82002
|
+
}
|
|
82003
|
+
|
|
82004
|
+
static types(): { [key: string]: any } {
|
|
82005
|
+
return {
|
|
82006
|
+
requestId: 'string',
|
|
82007
|
+
vendorRequestId: 'string',
|
|
82008
|
+
vendorType: 'string',
|
|
82009
|
+
};
|
|
82010
|
+
}
|
|
82011
|
+
|
|
82012
|
+
validate() {
|
|
82013
|
+
super.validate();
|
|
82014
|
+
}
|
|
82015
|
+
|
|
82016
|
+
constructor(map?: { [key: string]: any }) {
|
|
82017
|
+
super(map);
|
|
82018
|
+
}
|
|
82019
|
+
}
|
|
82020
|
+
|
|
82021
|
+
export class TransferTicketResponse extends $dara.Model {
|
|
82022
|
+
headers?: { [key: string]: string };
|
|
82023
|
+
statusCode?: number;
|
|
82024
|
+
body?: TransferTicketResponseBody;
|
|
82025
|
+
static names(): { [key: string]: string } {
|
|
82026
|
+
return {
|
|
82027
|
+
headers: 'headers',
|
|
82028
|
+
statusCode: 'statusCode',
|
|
82029
|
+
body: 'body',
|
|
82030
|
+
};
|
|
82031
|
+
}
|
|
82032
|
+
|
|
82033
|
+
static types(): { [key: string]: any } {
|
|
82034
|
+
return {
|
|
82035
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
82036
|
+
statusCode: 'number',
|
|
82037
|
+
body: TransferTicketResponseBody,
|
|
82038
|
+
};
|
|
82039
|
+
}
|
|
82040
|
+
|
|
82041
|
+
validate() {
|
|
82042
|
+
if(this.headers) {
|
|
82043
|
+
$dara.Model.validateMap(this.headers);
|
|
82044
|
+
}
|
|
82045
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
82046
|
+
(this.body as any).validate();
|
|
82047
|
+
}
|
|
82048
|
+
super.validate();
|
|
82049
|
+
}
|
|
82050
|
+
|
|
82051
|
+
constructor(map?: { [key: string]: any }) {
|
|
82052
|
+
super(map);
|
|
82053
|
+
}
|
|
82054
|
+
}
|
|
82055
|
+
|
|
82056
|
+
export class UnsubscribeCalendarHeaders extends $dara.Model {
|
|
82057
|
+
commonHeaders?: { [key: string]: string };
|
|
82058
|
+
accountContext?: UnsubscribeCalendarHeadersAccountContext;
|
|
82059
|
+
static names(): { [key: string]: string } {
|
|
82060
|
+
return {
|
|
82061
|
+
commonHeaders: 'commonHeaders',
|
|
82062
|
+
accountContext: 'AccountContext',
|
|
82063
|
+
};
|
|
82064
|
+
}
|
|
82065
|
+
|
|
82066
|
+
static types(): { [key: string]: any } {
|
|
82067
|
+
return {
|
|
82068
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
82069
|
+
accountContext: UnsubscribeCalendarHeadersAccountContext,
|
|
82070
|
+
};
|
|
82071
|
+
}
|
|
82072
|
+
|
|
82073
|
+
validate() {
|
|
82074
|
+
if(this.commonHeaders) {
|
|
82075
|
+
$dara.Model.validateMap(this.commonHeaders);
|
|
82076
|
+
}
|
|
82077
|
+
if(this.accountContext && typeof (this.accountContext as any).validate === 'function') {
|
|
82078
|
+
(this.accountContext as any).validate();
|
|
82079
|
+
}
|
|
82080
|
+
super.validate();
|
|
82081
|
+
}
|
|
82082
|
+
|
|
82083
|
+
constructor(map?: { [key: string]: any }) {
|
|
82084
|
+
super(map);
|
|
82085
|
+
}
|
|
82086
|
+
}
|
|
82087
|
+
|
|
82088
|
+
export class UnsubscribeCalendarShrinkHeaders extends $dara.Model {
|
|
81664
82089
|
commonHeaders?: { [key: string]: string };
|
|
81665
82090
|
accountContextShrink?: string;
|
|
81666
82091
|
static names(): { [key: string]: string } {
|
|
@@ -81791,6 +82216,235 @@ export class UnsubscribeCalendarResponse extends $dara.Model {
|
|
|
81791
82216
|
}
|
|
81792
82217
|
}
|
|
81793
82218
|
|
|
82219
|
+
export class UnsubscribeEventHeaders extends $dara.Model {
|
|
82220
|
+
commonHeaders?: { [key: string]: string };
|
|
82221
|
+
accountContext?: UnsubscribeEventHeadersAccountContext;
|
|
82222
|
+
static names(): { [key: string]: string } {
|
|
82223
|
+
return {
|
|
82224
|
+
commonHeaders: 'commonHeaders',
|
|
82225
|
+
accountContext: 'AccountContext',
|
|
82226
|
+
};
|
|
82227
|
+
}
|
|
82228
|
+
|
|
82229
|
+
static types(): { [key: string]: any } {
|
|
82230
|
+
return {
|
|
82231
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
82232
|
+
accountContext: UnsubscribeEventHeadersAccountContext,
|
|
82233
|
+
};
|
|
82234
|
+
}
|
|
82235
|
+
|
|
82236
|
+
validate() {
|
|
82237
|
+
if(this.commonHeaders) {
|
|
82238
|
+
$dara.Model.validateMap(this.commonHeaders);
|
|
82239
|
+
}
|
|
82240
|
+
if(this.accountContext && typeof (this.accountContext as any).validate === 'function') {
|
|
82241
|
+
(this.accountContext as any).validate();
|
|
82242
|
+
}
|
|
82243
|
+
super.validate();
|
|
82244
|
+
}
|
|
82245
|
+
|
|
82246
|
+
constructor(map?: { [key: string]: any }) {
|
|
82247
|
+
super(map);
|
|
82248
|
+
}
|
|
82249
|
+
}
|
|
82250
|
+
|
|
82251
|
+
export class UnsubscribeEventShrinkHeaders extends $dara.Model {
|
|
82252
|
+
commonHeaders?: { [key: string]: string };
|
|
82253
|
+
accountContextShrink?: string;
|
|
82254
|
+
static names(): { [key: string]: string } {
|
|
82255
|
+
return {
|
|
82256
|
+
commonHeaders: 'commonHeaders',
|
|
82257
|
+
accountContextShrink: 'AccountContext',
|
|
82258
|
+
};
|
|
82259
|
+
}
|
|
82260
|
+
|
|
82261
|
+
static types(): { [key: string]: any } {
|
|
82262
|
+
return {
|
|
82263
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
82264
|
+
accountContextShrink: 'string',
|
|
82265
|
+
};
|
|
82266
|
+
}
|
|
82267
|
+
|
|
82268
|
+
validate() {
|
|
82269
|
+
if(this.commonHeaders) {
|
|
82270
|
+
$dara.Model.validateMap(this.commonHeaders);
|
|
82271
|
+
}
|
|
82272
|
+
super.validate();
|
|
82273
|
+
}
|
|
82274
|
+
|
|
82275
|
+
constructor(map?: { [key: string]: any }) {
|
|
82276
|
+
super(map);
|
|
82277
|
+
}
|
|
82278
|
+
}
|
|
82279
|
+
|
|
82280
|
+
export class UnsubscribeEventRequest extends $dara.Model {
|
|
82281
|
+
/**
|
|
82282
|
+
* @remarks
|
|
82283
|
+
* This parameter is required.
|
|
82284
|
+
*
|
|
82285
|
+
* @example
|
|
82286
|
+
* SPACE
|
|
82287
|
+
*/
|
|
82288
|
+
scope?: string;
|
|
82289
|
+
/**
|
|
82290
|
+
* @remarks
|
|
82291
|
+
* This parameter is required.
|
|
82292
|
+
*
|
|
82293
|
+
* @example
|
|
82294
|
+
* 23456
|
|
82295
|
+
*/
|
|
82296
|
+
scopeId?: string;
|
|
82297
|
+
tenantContext?: UnsubscribeEventRequestTenantContext;
|
|
82298
|
+
static names(): { [key: string]: string } {
|
|
82299
|
+
return {
|
|
82300
|
+
scope: 'Scope',
|
|
82301
|
+
scopeId: 'ScopeId',
|
|
82302
|
+
tenantContext: 'TenantContext',
|
|
82303
|
+
};
|
|
82304
|
+
}
|
|
82305
|
+
|
|
82306
|
+
static types(): { [key: string]: any } {
|
|
82307
|
+
return {
|
|
82308
|
+
scope: 'string',
|
|
82309
|
+
scopeId: 'string',
|
|
82310
|
+
tenantContext: UnsubscribeEventRequestTenantContext,
|
|
82311
|
+
};
|
|
82312
|
+
}
|
|
82313
|
+
|
|
82314
|
+
validate() {
|
|
82315
|
+
if(this.tenantContext && typeof (this.tenantContext as any).validate === 'function') {
|
|
82316
|
+
(this.tenantContext as any).validate();
|
|
82317
|
+
}
|
|
82318
|
+
super.validate();
|
|
82319
|
+
}
|
|
82320
|
+
|
|
82321
|
+
constructor(map?: { [key: string]: any }) {
|
|
82322
|
+
super(map);
|
|
82323
|
+
}
|
|
82324
|
+
}
|
|
82325
|
+
|
|
82326
|
+
export class UnsubscribeEventShrinkRequest extends $dara.Model {
|
|
82327
|
+
/**
|
|
82328
|
+
* @remarks
|
|
82329
|
+
* This parameter is required.
|
|
82330
|
+
*
|
|
82331
|
+
* @example
|
|
82332
|
+
* SPACE
|
|
82333
|
+
*/
|
|
82334
|
+
scope?: string;
|
|
82335
|
+
/**
|
|
82336
|
+
* @remarks
|
|
82337
|
+
* This parameter is required.
|
|
82338
|
+
*
|
|
82339
|
+
* @example
|
|
82340
|
+
* 23456
|
|
82341
|
+
*/
|
|
82342
|
+
scopeId?: string;
|
|
82343
|
+
tenantContextShrink?: string;
|
|
82344
|
+
static names(): { [key: string]: string } {
|
|
82345
|
+
return {
|
|
82346
|
+
scope: 'Scope',
|
|
82347
|
+
scopeId: 'ScopeId',
|
|
82348
|
+
tenantContextShrink: 'TenantContext',
|
|
82349
|
+
};
|
|
82350
|
+
}
|
|
82351
|
+
|
|
82352
|
+
static types(): { [key: string]: any } {
|
|
82353
|
+
return {
|
|
82354
|
+
scope: 'string',
|
|
82355
|
+
scopeId: 'string',
|
|
82356
|
+
tenantContextShrink: 'string',
|
|
82357
|
+
};
|
|
82358
|
+
}
|
|
82359
|
+
|
|
82360
|
+
validate() {
|
|
82361
|
+
super.validate();
|
|
82362
|
+
}
|
|
82363
|
+
|
|
82364
|
+
constructor(map?: { [key: string]: any }) {
|
|
82365
|
+
super(map);
|
|
82366
|
+
}
|
|
82367
|
+
}
|
|
82368
|
+
|
|
82369
|
+
export class UnsubscribeEventResponseBody extends $dara.Model {
|
|
82370
|
+
/**
|
|
82371
|
+
* @example
|
|
82372
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
82373
|
+
*/
|
|
82374
|
+
requestId?: string;
|
|
82375
|
+
success?: boolean;
|
|
82376
|
+
/**
|
|
82377
|
+
* @example
|
|
82378
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
82379
|
+
*/
|
|
82380
|
+
vendorRequestId?: string;
|
|
82381
|
+
/**
|
|
82382
|
+
* @example
|
|
82383
|
+
* dingtalk
|
|
82384
|
+
*/
|
|
82385
|
+
vendorType?: string;
|
|
82386
|
+
static names(): { [key: string]: string } {
|
|
82387
|
+
return {
|
|
82388
|
+
requestId: 'requestId',
|
|
82389
|
+
success: 'success',
|
|
82390
|
+
vendorRequestId: 'vendorRequestId',
|
|
82391
|
+
vendorType: 'vendorType',
|
|
82392
|
+
};
|
|
82393
|
+
}
|
|
82394
|
+
|
|
82395
|
+
static types(): { [key: string]: any } {
|
|
82396
|
+
return {
|
|
82397
|
+
requestId: 'string',
|
|
82398
|
+
success: 'boolean',
|
|
82399
|
+
vendorRequestId: 'string',
|
|
82400
|
+
vendorType: 'string',
|
|
82401
|
+
};
|
|
82402
|
+
}
|
|
82403
|
+
|
|
82404
|
+
validate() {
|
|
82405
|
+
super.validate();
|
|
82406
|
+
}
|
|
82407
|
+
|
|
82408
|
+
constructor(map?: { [key: string]: any }) {
|
|
82409
|
+
super(map);
|
|
82410
|
+
}
|
|
82411
|
+
}
|
|
82412
|
+
|
|
82413
|
+
export class UnsubscribeEventResponse extends $dara.Model {
|
|
82414
|
+
headers?: { [key: string]: string };
|
|
82415
|
+
statusCode?: number;
|
|
82416
|
+
body?: UnsubscribeEventResponseBody;
|
|
82417
|
+
static names(): { [key: string]: string } {
|
|
82418
|
+
return {
|
|
82419
|
+
headers: 'headers',
|
|
82420
|
+
statusCode: 'statusCode',
|
|
82421
|
+
body: 'body',
|
|
82422
|
+
};
|
|
82423
|
+
}
|
|
82424
|
+
|
|
82425
|
+
static types(): { [key: string]: any } {
|
|
82426
|
+
return {
|
|
82427
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
82428
|
+
statusCode: 'number',
|
|
82429
|
+
body: UnsubscribeEventResponseBody,
|
|
82430
|
+
};
|
|
82431
|
+
}
|
|
82432
|
+
|
|
82433
|
+
validate() {
|
|
82434
|
+
if(this.headers) {
|
|
82435
|
+
$dara.Model.validateMap(this.headers);
|
|
82436
|
+
}
|
|
82437
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
82438
|
+
(this.body as any).validate();
|
|
82439
|
+
}
|
|
82440
|
+
super.validate();
|
|
82441
|
+
}
|
|
82442
|
+
|
|
82443
|
+
constructor(map?: { [key: string]: any }) {
|
|
82444
|
+
super(map);
|
|
82445
|
+
}
|
|
82446
|
+
}
|
|
82447
|
+
|
|
81794
82448
|
export class UpdateFormDataHeaders extends $dara.Model {
|
|
81795
82449
|
commonHeaders?: { [key: string]: string };
|
|
81796
82450
|
accountContext?: UpdateFormDataHeadersAccountContext;
|
|
@@ -90114,6 +90768,10 @@ export default class Client extends OpenApi {
|
|
|
90114
90768
|
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
90115
90769
|
}
|
|
90116
90770
|
|
|
90771
|
+
if (!$dara.isNull(tmpReq.actionList)) {
|
|
90772
|
+
request.actionListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.actionList, "actionList", "json");
|
|
90773
|
+
}
|
|
90774
|
+
|
|
90117
90775
|
if (!$dara.isNull(tmpReq.contentFieldList)) {
|
|
90118
90776
|
request.contentFieldListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.contentFieldList, "contentFieldList", "json");
|
|
90119
90777
|
}
|
|
@@ -90144,6 +90802,10 @@ export default class Client extends OpenApi {
|
|
|
90144
90802
|
body["TenantContext"] = request.tenantContextShrink;
|
|
90145
90803
|
}
|
|
90146
90804
|
|
|
90805
|
+
if (!$dara.isNull(request.actionListShrink)) {
|
|
90806
|
+
body["actionList"] = request.actionListShrink;
|
|
90807
|
+
}
|
|
90808
|
+
|
|
90147
90809
|
if (!$dara.isNull(request.contentFieldListShrink)) {
|
|
90148
90810
|
body["contentFieldList"] = request.contentFieldListShrink;
|
|
90149
90811
|
}
|
|
@@ -103833,6 +104495,85 @@ export default class Client extends OpenApi {
|
|
|
103833
104495
|
return await this.subscribeCalendarWithOptions(request, headers, runtime);
|
|
103834
104496
|
}
|
|
103835
104497
|
|
|
104498
|
+
/**
|
|
104499
|
+
* 订阅文件变更事件
|
|
104500
|
+
*
|
|
104501
|
+
* @param tmpReq - SubscribeEventRequest
|
|
104502
|
+
* @param tmpHeader - SubscribeEventHeaders
|
|
104503
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
104504
|
+
* @returns SubscribeEventResponse
|
|
104505
|
+
*/
|
|
104506
|
+
async subscribeEventWithOptions(tmpReq: SubscribeEventRequest, tmpHeader: SubscribeEventHeaders, runtime: $dara.RuntimeOptions): Promise<SubscribeEventResponse> {
|
|
104507
|
+
tmpReq.validate();
|
|
104508
|
+
let request = new SubscribeEventShrinkRequest({ });
|
|
104509
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
104510
|
+
let headers = new SubscribeEventShrinkHeaders({ });
|
|
104511
|
+
OpenApiUtil.convert(tmpHeader, headers);
|
|
104512
|
+
if (!$dara.isNull(tmpHeader.accountContext)) {
|
|
104513
|
+
headers.accountContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
104514
|
+
}
|
|
104515
|
+
|
|
104516
|
+
if (!$dara.isNull(tmpReq.tenantContext)) {
|
|
104517
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
104518
|
+
}
|
|
104519
|
+
|
|
104520
|
+
let body : {[key: string ]: any} = { };
|
|
104521
|
+
if (!$dara.isNull(request.scope)) {
|
|
104522
|
+
body["Scope"] = request.scope;
|
|
104523
|
+
}
|
|
104524
|
+
|
|
104525
|
+
if (!$dara.isNull(request.scopeId)) {
|
|
104526
|
+
body["ScopeId"] = request.scopeId;
|
|
104527
|
+
}
|
|
104528
|
+
|
|
104529
|
+
if (!$dara.isNull(request.tenantContextShrink)) {
|
|
104530
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
104531
|
+
}
|
|
104532
|
+
|
|
104533
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
104534
|
+
if (!$dara.isNull(headers.commonHeaders)) {
|
|
104535
|
+
realHeaders = headers.commonHeaders;
|
|
104536
|
+
}
|
|
104537
|
+
|
|
104538
|
+
if (!$dara.isNull(headers.accountContextShrink)) {
|
|
104539
|
+
realHeaders["AccountContext"] = JSON.stringify(headers.accountContextShrink);
|
|
104540
|
+
}
|
|
104541
|
+
|
|
104542
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
104543
|
+
headers: realHeaders,
|
|
104544
|
+
body: OpenApiUtil.parseToMap(body),
|
|
104545
|
+
});
|
|
104546
|
+
let params = new $OpenApiUtil.Params({
|
|
104547
|
+
action: "SubscribeEvent",
|
|
104548
|
+
version: "2023-04-26",
|
|
104549
|
+
protocol: "HTTPS",
|
|
104550
|
+
pathname: `/dingtalk/v1/documents/subscribeEvent`,
|
|
104551
|
+
method: "POST",
|
|
104552
|
+
authType: "AK",
|
|
104553
|
+
style: "ROA",
|
|
104554
|
+
reqBodyType: "formData",
|
|
104555
|
+
bodyType: "json",
|
|
104556
|
+
});
|
|
104557
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
104558
|
+
return $dara.cast<SubscribeEventResponse>(await this.callApi(params, req, runtime), new SubscribeEventResponse({}));
|
|
104559
|
+
} else {
|
|
104560
|
+
return $dara.cast<SubscribeEventResponse>(await this.execute(params, req, runtime), new SubscribeEventResponse({}));
|
|
104561
|
+
}
|
|
104562
|
+
|
|
104563
|
+
}
|
|
104564
|
+
|
|
104565
|
+
/**
|
|
104566
|
+
* 订阅文件变更事件
|
|
104567
|
+
*
|
|
104568
|
+
* @param request - SubscribeEventRequest
|
|
104569
|
+
* @returns SubscribeEventResponse
|
|
104570
|
+
*/
|
|
104571
|
+
async subscribeEvent(request: SubscribeEventRequest): Promise<SubscribeEventResponse> {
|
|
104572
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
104573
|
+
let headers = new SubscribeEventHeaders({ });
|
|
104574
|
+
return await this.subscribeEventWithOptions(request, headers, runtime);
|
|
104575
|
+
}
|
|
104576
|
+
|
|
103836
104577
|
/**
|
|
103837
104578
|
* 同步钉钉账号类型
|
|
103838
104579
|
*
|
|
@@ -104165,6 +104906,85 @@ export default class Client extends OpenApi {
|
|
|
104165
104906
|
return await this.unsubscribeCalendarWithOptions(request, headers, runtime);
|
|
104166
104907
|
}
|
|
104167
104908
|
|
|
104909
|
+
/**
|
|
104910
|
+
* 取消订阅文件变更事件
|
|
104911
|
+
*
|
|
104912
|
+
* @param tmpReq - UnsubscribeEventRequest
|
|
104913
|
+
* @param tmpHeader - UnsubscribeEventHeaders
|
|
104914
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
104915
|
+
* @returns UnsubscribeEventResponse
|
|
104916
|
+
*/
|
|
104917
|
+
async unsubscribeEventWithOptions(tmpReq: UnsubscribeEventRequest, tmpHeader: UnsubscribeEventHeaders, runtime: $dara.RuntimeOptions): Promise<UnsubscribeEventResponse> {
|
|
104918
|
+
tmpReq.validate();
|
|
104919
|
+
let request = new UnsubscribeEventShrinkRequest({ });
|
|
104920
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
104921
|
+
let headers = new UnsubscribeEventShrinkHeaders({ });
|
|
104922
|
+
OpenApiUtil.convert(tmpHeader, headers);
|
|
104923
|
+
if (!$dara.isNull(tmpHeader.accountContext)) {
|
|
104924
|
+
headers.accountContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
104925
|
+
}
|
|
104926
|
+
|
|
104927
|
+
if (!$dara.isNull(tmpReq.tenantContext)) {
|
|
104928
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
104929
|
+
}
|
|
104930
|
+
|
|
104931
|
+
let body : {[key: string ]: any} = { };
|
|
104932
|
+
if (!$dara.isNull(request.scope)) {
|
|
104933
|
+
body["Scope"] = request.scope;
|
|
104934
|
+
}
|
|
104935
|
+
|
|
104936
|
+
if (!$dara.isNull(request.scopeId)) {
|
|
104937
|
+
body["ScopeId"] = request.scopeId;
|
|
104938
|
+
}
|
|
104939
|
+
|
|
104940
|
+
if (!$dara.isNull(request.tenantContextShrink)) {
|
|
104941
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
104942
|
+
}
|
|
104943
|
+
|
|
104944
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
104945
|
+
if (!$dara.isNull(headers.commonHeaders)) {
|
|
104946
|
+
realHeaders = headers.commonHeaders;
|
|
104947
|
+
}
|
|
104948
|
+
|
|
104949
|
+
if (!$dara.isNull(headers.accountContextShrink)) {
|
|
104950
|
+
realHeaders["AccountContext"] = JSON.stringify(headers.accountContextShrink);
|
|
104951
|
+
}
|
|
104952
|
+
|
|
104953
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
104954
|
+
headers: realHeaders,
|
|
104955
|
+
body: OpenApiUtil.parseToMap(body),
|
|
104956
|
+
});
|
|
104957
|
+
let params = new $OpenApiUtil.Params({
|
|
104958
|
+
action: "UnsubscribeEvent",
|
|
104959
|
+
version: "2023-04-26",
|
|
104960
|
+
protocol: "HTTPS",
|
|
104961
|
+
pathname: `/dingtalk/v1/documents/unsubscribeEvent`,
|
|
104962
|
+
method: "POST",
|
|
104963
|
+
authType: "AK",
|
|
104964
|
+
style: "ROA",
|
|
104965
|
+
reqBodyType: "formData",
|
|
104966
|
+
bodyType: "json",
|
|
104967
|
+
});
|
|
104968
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
104969
|
+
return $dara.cast<UnsubscribeEventResponse>(await this.callApi(params, req, runtime), new UnsubscribeEventResponse({}));
|
|
104970
|
+
} else {
|
|
104971
|
+
return $dara.cast<UnsubscribeEventResponse>(await this.execute(params, req, runtime), new UnsubscribeEventResponse({}));
|
|
104972
|
+
}
|
|
104973
|
+
|
|
104974
|
+
}
|
|
104975
|
+
|
|
104976
|
+
/**
|
|
104977
|
+
* 取消订阅文件变更事件
|
|
104978
|
+
*
|
|
104979
|
+
* @param request - UnsubscribeEventRequest
|
|
104980
|
+
* @returns UnsubscribeEventResponse
|
|
104981
|
+
*/
|
|
104982
|
+
async unsubscribeEvent(request: UnsubscribeEventRequest): Promise<UnsubscribeEventResponse> {
|
|
104983
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
104984
|
+
let headers = new UnsubscribeEventHeaders({ });
|
|
104985
|
+
return await this.unsubscribeEventWithOptions(request, headers, runtime);
|
|
104986
|
+
}
|
|
104987
|
+
|
|
104168
104988
|
/**
|
|
104169
104989
|
* 更新表单数据
|
|
104170
104990
|
*
|