@alicloud/ccc20200701 2.15.0 → 2.16.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/src/client.ts CHANGED
@@ -87,6 +87,85 @@ export class DataPropertiesValue extends $tea.Model {
87
87
  }
88
88
  }
89
89
 
90
+ export class DataSchemaPropertiesValue extends $tea.Model {
91
+ displayName?: string;
92
+ description?: string;
93
+ name?: string;
94
+ dataType?: string;
95
+ pattern?: string;
96
+ patternErrorMessage?: string;
97
+ minLength?: number;
98
+ maxLength?: number;
99
+ minimum?: number;
100
+ maximum?: number;
101
+ required?: boolean;
102
+ system?: boolean;
103
+ disabled?: boolean;
104
+ array?: boolean;
105
+ readOnly?: boolean;
106
+ editorType?: string;
107
+ attributes?: string;
108
+ displayOrder?: number;
109
+ createdTime?: number;
110
+ updatedTime?: number;
111
+ creator?: string;
112
+ static names(): { [key: string]: string } {
113
+ return {
114
+ displayName: 'DisplayName',
115
+ description: 'Description',
116
+ name: 'Name',
117
+ dataType: 'DataType',
118
+ pattern: 'Pattern',
119
+ patternErrorMessage: 'PatternErrorMessage',
120
+ minLength: 'MinLength',
121
+ maxLength: 'MaxLength',
122
+ minimum: 'Minimum',
123
+ maximum: 'Maximum',
124
+ required: 'Required',
125
+ system: 'System',
126
+ disabled: 'Disabled',
127
+ array: 'Array',
128
+ readOnly: 'ReadOnly',
129
+ editorType: 'EditorType',
130
+ attributes: 'Attributes',
131
+ displayOrder: 'DisplayOrder',
132
+ createdTime: 'CreatedTime',
133
+ updatedTime: 'UpdatedTime',
134
+ creator: 'Creator',
135
+ };
136
+ }
137
+
138
+ static types(): { [key: string]: any } {
139
+ return {
140
+ displayName: 'string',
141
+ description: 'string',
142
+ name: 'string',
143
+ dataType: 'string',
144
+ pattern: 'string',
145
+ patternErrorMessage: 'string',
146
+ minLength: 'number',
147
+ maxLength: 'number',
148
+ minimum: 'number',
149
+ maximum: 'number',
150
+ required: 'boolean',
151
+ system: 'boolean',
152
+ disabled: 'boolean',
153
+ array: 'boolean',
154
+ readOnly: 'boolean',
155
+ editorType: 'string',
156
+ attributes: 'string',
157
+ displayOrder: 'number',
158
+ createdTime: 'number',
159
+ updatedTime: 'number',
160
+ creator: 'string',
161
+ };
162
+ }
163
+
164
+ constructor(map?: { [key: string]: any }) {
165
+ super(map);
166
+ }
167
+ }
168
+
90
169
  export class AbortCampaignRequest extends $tea.Model {
91
170
  campaignId?: string;
92
171
  instanceId?: string;
@@ -670,6 +749,118 @@ export class AddPhoneNumbersResponse extends $tea.Model {
670
749
  }
671
750
  }
672
751
 
752
+ export class AddSchemaPropertyRequest extends $tea.Model {
753
+ instanceId?: string;
754
+ property?: AddSchemaPropertyRequestProperty;
755
+ requestId?: string;
756
+ schemaId?: string;
757
+ static names(): { [key: string]: string } {
758
+ return {
759
+ instanceId: 'InstanceId',
760
+ property: 'Property',
761
+ requestId: 'RequestId',
762
+ schemaId: 'SchemaId',
763
+ };
764
+ }
765
+
766
+ static types(): { [key: string]: any } {
767
+ return {
768
+ instanceId: 'string',
769
+ property: AddSchemaPropertyRequestProperty,
770
+ requestId: 'string',
771
+ schemaId: 'string',
772
+ };
773
+ }
774
+
775
+ constructor(map?: { [key: string]: any }) {
776
+ super(map);
777
+ }
778
+ }
779
+
780
+ export class AddSchemaPropertyShrinkRequest extends $tea.Model {
781
+ instanceId?: string;
782
+ propertyShrink?: string;
783
+ requestId?: string;
784
+ schemaId?: string;
785
+ static names(): { [key: string]: string } {
786
+ return {
787
+ instanceId: 'InstanceId',
788
+ propertyShrink: 'Property',
789
+ requestId: 'RequestId',
790
+ schemaId: 'SchemaId',
791
+ };
792
+ }
793
+
794
+ static types(): { [key: string]: any } {
795
+ return {
796
+ instanceId: 'string',
797
+ propertyShrink: 'string',
798
+ requestId: 'string',
799
+ schemaId: 'string',
800
+ };
801
+ }
802
+
803
+ constructor(map?: { [key: string]: any }) {
804
+ super(map);
805
+ }
806
+ }
807
+
808
+ export class AddSchemaPropertyResponseBody extends $tea.Model {
809
+ code?: string;
810
+ httpStatusCode?: number;
811
+ message?: string;
812
+ params?: string[];
813
+ requestId?: string;
814
+ static names(): { [key: string]: string } {
815
+ return {
816
+ code: 'Code',
817
+ httpStatusCode: 'HttpStatusCode',
818
+ message: 'Message',
819
+ params: 'Params',
820
+ requestId: 'RequestId',
821
+ };
822
+ }
823
+
824
+ static types(): { [key: string]: any } {
825
+ return {
826
+ code: 'string',
827
+ httpStatusCode: 'number',
828
+ message: 'string',
829
+ params: { 'type': 'array', 'itemType': 'string' },
830
+ requestId: 'string',
831
+ };
832
+ }
833
+
834
+ constructor(map?: { [key: string]: any }) {
835
+ super(map);
836
+ }
837
+ }
838
+
839
+ export class AddSchemaPropertyResponse extends $tea.Model {
840
+ headers?: { [key: string]: string };
841
+ statusCode?: number;
842
+ body?: AddSchemaPropertyResponseBody;
843
+ static names(): { [key: string]: string } {
844
+ return {
845
+ headers: 'headers',
846
+ statusCode: 'statusCode',
847
+ body: 'body',
848
+ };
849
+ }
850
+
851
+ static types(): { [key: string]: any } {
852
+ return {
853
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
854
+ statusCode: 'number',
855
+ body: AddSchemaPropertyResponseBody,
856
+ };
857
+ }
858
+
859
+ constructor(map?: { [key: string]: any }) {
860
+ super(map);
861
+ }
862
+ }
863
+
673
864
  export class AddSkillGroupsToUserRequest extends $tea.Model {
674
865
  instanceId?: string;
675
866
  skillLevelList?: string;
@@ -2637,6 +2828,127 @@ export class CreateInstanceResponse extends $tea.Model {
2637
2828
  }
2638
2829
  }
2639
2830
 
2831
+ export class CreateSchemaRequest extends $tea.Model {
2832
+ description?: string;
2833
+ id?: string;
2834
+ instanceId?: string;
2835
+ properties?: CreateSchemaRequestProperties[];
2836
+ requestId?: string;
2837
+ static names(): { [key: string]: string } {
2838
+ return {
2839
+ description: 'Description',
2840
+ id: 'Id',
2841
+ instanceId: 'InstanceId',
2842
+ properties: 'Properties',
2843
+ requestId: 'RequestId',
2844
+ };
2845
+ }
2846
+
2847
+ static types(): { [key: string]: any } {
2848
+ return {
2849
+ description: 'string',
2850
+ id: 'string',
2851
+ instanceId: 'string',
2852
+ properties: { 'type': 'array', 'itemType': CreateSchemaRequestProperties },
2853
+ requestId: 'string',
2854
+ };
2855
+ }
2856
+
2857
+ constructor(map?: { [key: string]: any }) {
2858
+ super(map);
2859
+ }
2860
+ }
2861
+
2862
+ export class CreateSchemaShrinkRequest extends $tea.Model {
2863
+ description?: string;
2864
+ id?: string;
2865
+ instanceId?: string;
2866
+ propertiesShrink?: string;
2867
+ requestId?: string;
2868
+ static names(): { [key: string]: string } {
2869
+ return {
2870
+ description: 'Description',
2871
+ id: 'Id',
2872
+ instanceId: 'InstanceId',
2873
+ propertiesShrink: 'Properties',
2874
+ requestId: 'RequestId',
2875
+ };
2876
+ }
2877
+
2878
+ static types(): { [key: string]: any } {
2879
+ return {
2880
+ description: 'string',
2881
+ id: 'string',
2882
+ instanceId: 'string',
2883
+ propertiesShrink: 'string',
2884
+ requestId: 'string',
2885
+ };
2886
+ }
2887
+
2888
+ constructor(map?: { [key: string]: any }) {
2889
+ super(map);
2890
+ }
2891
+ }
2892
+
2893
+ export class CreateSchemaResponseBody extends $tea.Model {
2894
+ code?: string;
2895
+ data?: string;
2896
+ httpStatusCode?: number;
2897
+ message?: string;
2898
+ params?: string[];
2899
+ requestId?: string;
2900
+ static names(): { [key: string]: string } {
2901
+ return {
2902
+ code: 'Code',
2903
+ data: 'Data',
2904
+ httpStatusCode: 'HttpStatusCode',
2905
+ message: 'Message',
2906
+ params: 'Params',
2907
+ requestId: 'RequestId',
2908
+ };
2909
+ }
2910
+
2911
+ static types(): { [key: string]: any } {
2912
+ return {
2913
+ code: 'string',
2914
+ data: 'string',
2915
+ httpStatusCode: 'number',
2916
+ message: 'string',
2917
+ params: { 'type': 'array', 'itemType': 'string' },
2918
+ requestId: 'string',
2919
+ };
2920
+ }
2921
+
2922
+ constructor(map?: { [key: string]: any }) {
2923
+ super(map);
2924
+ }
2925
+ }
2926
+
2927
+ export class CreateSchemaResponse extends $tea.Model {
2928
+ headers?: { [key: string]: string };
2929
+ statusCode?: number;
2930
+ body?: CreateSchemaResponseBody;
2931
+ static names(): { [key: string]: string } {
2932
+ return {
2933
+ headers: 'headers',
2934
+ statusCode: 'statusCode',
2935
+ body: 'body',
2936
+ };
2937
+ }
2938
+
2939
+ static types(): { [key: string]: any } {
2940
+ return {
2941
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2942
+ statusCode: 'number',
2943
+ body: CreateSchemaResponseBody,
2944
+ };
2945
+ }
2946
+
2947
+ constructor(map?: { [key: string]: any }) {
2948
+ super(map);
2949
+ }
2950
+ }
2951
+
2640
2952
  export class CreateSkillGroupRequest extends $tea.Model {
2641
2953
  description?: string;
2642
2954
  displayName?: string;
@@ -3138,6 +3450,283 @@ export class DeleteCustomCallTaggingResponse extends $tea.Model {
3138
3450
  }
3139
3451
  }
3140
3452
 
3453
+ export class DeleteDocumentRequest extends $tea.Model {
3454
+ documentId?: string;
3455
+ instanceId?: string;
3456
+ requestId?: string;
3457
+ schemaId?: string;
3458
+ static names(): { [key: string]: string } {
3459
+ return {
3460
+ documentId: 'DocumentId',
3461
+ instanceId: 'InstanceId',
3462
+ requestId: 'RequestId',
3463
+ schemaId: 'SchemaId',
3464
+ };
3465
+ }
3466
+
3467
+ static types(): { [key: string]: any } {
3468
+ return {
3469
+ documentId: 'string',
3470
+ instanceId: 'string',
3471
+ requestId: 'string',
3472
+ schemaId: 'string',
3473
+ };
3474
+ }
3475
+
3476
+ constructor(map?: { [key: string]: any }) {
3477
+ super(map);
3478
+ }
3479
+ }
3480
+
3481
+ export class DeleteDocumentResponseBody extends $tea.Model {
3482
+ code?: string;
3483
+ httpStatusCode?: number;
3484
+ message?: string;
3485
+ params?: string[];
3486
+ requestId?: string;
3487
+ static names(): { [key: string]: string } {
3488
+ return {
3489
+ code: 'Code',
3490
+ httpStatusCode: 'HttpStatusCode',
3491
+ message: 'Message',
3492
+ params: 'Params',
3493
+ requestId: 'RequestId',
3494
+ };
3495
+ }
3496
+
3497
+ static types(): { [key: string]: any } {
3498
+ return {
3499
+ code: 'string',
3500
+ httpStatusCode: 'number',
3501
+ message: 'string',
3502
+ params: { 'type': 'array', 'itemType': 'string' },
3503
+ requestId: 'string',
3504
+ };
3505
+ }
3506
+
3507
+ constructor(map?: { [key: string]: any }) {
3508
+ super(map);
3509
+ }
3510
+ }
3511
+
3512
+ export class DeleteDocumentResponse extends $tea.Model {
3513
+ headers?: { [key: string]: string };
3514
+ statusCode?: number;
3515
+ body?: DeleteDocumentResponseBody;
3516
+ static names(): { [key: string]: string } {
3517
+ return {
3518
+ headers: 'headers',
3519
+ statusCode: 'statusCode',
3520
+ body: 'body',
3521
+ };
3522
+ }
3523
+
3524
+ static types(): { [key: string]: any } {
3525
+ return {
3526
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3527
+ statusCode: 'number',
3528
+ body: DeleteDocumentResponseBody,
3529
+ };
3530
+ }
3531
+
3532
+ constructor(map?: { [key: string]: any }) {
3533
+ super(map);
3534
+ }
3535
+ }
3536
+
3537
+ export class DeleteDocumentsRequest extends $tea.Model {
3538
+ documentIds?: string[];
3539
+ instanceId?: string;
3540
+ requestId?: string;
3541
+ schemaId?: string;
3542
+ static names(): { [key: string]: string } {
3543
+ return {
3544
+ documentIds: 'DocumentIds',
3545
+ instanceId: 'InstanceId',
3546
+ requestId: 'RequestId',
3547
+ schemaId: 'SchemaId',
3548
+ };
3549
+ }
3550
+
3551
+ static types(): { [key: string]: any } {
3552
+ return {
3553
+ documentIds: { 'type': 'array', 'itemType': 'string' },
3554
+ instanceId: 'string',
3555
+ requestId: 'string',
3556
+ schemaId: 'string',
3557
+ };
3558
+ }
3559
+
3560
+ constructor(map?: { [key: string]: any }) {
3561
+ super(map);
3562
+ }
3563
+ }
3564
+
3565
+ export class DeleteDocumentsShrinkRequest extends $tea.Model {
3566
+ documentIdsShrink?: string;
3567
+ instanceId?: string;
3568
+ requestId?: string;
3569
+ schemaId?: string;
3570
+ static names(): { [key: string]: string } {
3571
+ return {
3572
+ documentIdsShrink: 'DocumentIds',
3573
+ instanceId: 'InstanceId',
3574
+ requestId: 'RequestId',
3575
+ schemaId: 'SchemaId',
3576
+ };
3577
+ }
3578
+
3579
+ static types(): { [key: string]: any } {
3580
+ return {
3581
+ documentIdsShrink: 'string',
3582
+ instanceId: 'string',
3583
+ requestId: 'string',
3584
+ schemaId: 'string',
3585
+ };
3586
+ }
3587
+
3588
+ constructor(map?: { [key: string]: any }) {
3589
+ super(map);
3590
+ }
3591
+ }
3592
+
3593
+ export class DeleteDocumentsResponseBody extends $tea.Model {
3594
+ code?: string;
3595
+ httpStatusCode?: number;
3596
+ message?: string;
3597
+ params?: string[];
3598
+ requestId?: string;
3599
+ static names(): { [key: string]: string } {
3600
+ return {
3601
+ code: 'Code',
3602
+ httpStatusCode: 'HttpStatusCode',
3603
+ message: 'Message',
3604
+ params: 'Params',
3605
+ requestId: 'RequestId',
3606
+ };
3607
+ }
3608
+
3609
+ static types(): { [key: string]: any } {
3610
+ return {
3611
+ code: 'string',
3612
+ httpStatusCode: 'number',
3613
+ message: 'string',
3614
+ params: { 'type': 'array', 'itemType': 'string' },
3615
+ requestId: 'string',
3616
+ };
3617
+ }
3618
+
3619
+ constructor(map?: { [key: string]: any }) {
3620
+ super(map);
3621
+ }
3622
+ }
3623
+
3624
+ export class DeleteDocumentsResponse extends $tea.Model {
3625
+ headers?: { [key: string]: string };
3626
+ statusCode?: number;
3627
+ body?: DeleteDocumentsResponseBody;
3628
+ static names(): { [key: string]: string } {
3629
+ return {
3630
+ headers: 'headers',
3631
+ statusCode: 'statusCode',
3632
+ body: 'body',
3633
+ };
3634
+ }
3635
+
3636
+ static types(): { [key: string]: any } {
3637
+ return {
3638
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3639
+ statusCode: 'number',
3640
+ body: DeleteDocumentsResponseBody,
3641
+ };
3642
+ }
3643
+
3644
+ constructor(map?: { [key: string]: any }) {
3645
+ super(map);
3646
+ }
3647
+ }
3648
+
3649
+ export class DeleteSchemaRequest extends $tea.Model {
3650
+ instanceId?: string;
3651
+ requestId?: string;
3652
+ schemaId?: string;
3653
+ static names(): { [key: string]: string } {
3654
+ return {
3655
+ instanceId: 'InstanceId',
3656
+ requestId: 'RequestId',
3657
+ schemaId: 'SchemaId',
3658
+ };
3659
+ }
3660
+
3661
+ static types(): { [key: string]: any } {
3662
+ return {
3663
+ instanceId: 'string',
3664
+ requestId: 'string',
3665
+ schemaId: 'string',
3666
+ };
3667
+ }
3668
+
3669
+ constructor(map?: { [key: string]: any }) {
3670
+ super(map);
3671
+ }
3672
+ }
3673
+
3674
+ export class DeleteSchemaResponseBody extends $tea.Model {
3675
+ code?: string;
3676
+ httpStatusCode?: number;
3677
+ message?: string;
3678
+ params?: string[];
3679
+ requestId?: string;
3680
+ static names(): { [key: string]: string } {
3681
+ return {
3682
+ code: 'Code',
3683
+ httpStatusCode: 'HttpStatusCode',
3684
+ message: 'Message',
3685
+ params: 'Params',
3686
+ requestId: 'RequestId',
3687
+ };
3688
+ }
3689
+
3690
+ static types(): { [key: string]: any } {
3691
+ return {
3692
+ code: 'string',
3693
+ httpStatusCode: 'number',
3694
+ message: 'string',
3695
+ params: { 'type': 'array', 'itemType': 'string' },
3696
+ requestId: 'string',
3697
+ };
3698
+ }
3699
+
3700
+ constructor(map?: { [key: string]: any }) {
3701
+ super(map);
3702
+ }
3703
+ }
3704
+
3705
+ export class DeleteSchemaResponse extends $tea.Model {
3706
+ headers?: { [key: string]: string };
3707
+ statusCode?: number;
3708
+ body?: DeleteSchemaResponseBody;
3709
+ static names(): { [key: string]: string } {
3710
+ return {
3711
+ headers: 'headers',
3712
+ statusCode: 'statusCode',
3713
+ body: 'body',
3714
+ };
3715
+ }
3716
+
3717
+ static types(): { [key: string]: any } {
3718
+ return {
3719
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3720
+ statusCode: 'number',
3721
+ body: DeleteSchemaResponseBody,
3722
+ };
3723
+ }
3724
+
3725
+ constructor(map?: { [key: string]: any }) {
3726
+ super(map);
3727
+ }
3728
+ }
3729
+
3141
3730
  export class DeleteSchemaPropertyRequest extends $tea.Model {
3142
3731
  instanceId?: string;
3143
3732
  propertyName?: string;
@@ -4650,6 +5239,90 @@ export class GetDoNotCallFileUploadParametersResponse extends $tea.Model {
4650
5239
  }
4651
5240
  }
4652
5241
 
5242
+ export class GetDocumentUploadParametersRequest extends $tea.Model {
5243
+ fileName?: string;
5244
+ instanceId?: string;
5245
+ requestId?: string;
5246
+ static names(): { [key: string]: string } {
5247
+ return {
5248
+ fileName: 'FileName',
5249
+ instanceId: 'InstanceId',
5250
+ requestId: 'RequestId',
5251
+ };
5252
+ }
5253
+
5254
+ static types(): { [key: string]: any } {
5255
+ return {
5256
+ fileName: 'string',
5257
+ instanceId: 'string',
5258
+ requestId: 'string',
5259
+ };
5260
+ }
5261
+
5262
+ constructor(map?: { [key: string]: any }) {
5263
+ super(map);
5264
+ }
5265
+ }
5266
+
5267
+ export class GetDocumentUploadParametersResponseBody extends $tea.Model {
5268
+ code?: string;
5269
+ data?: GetDocumentUploadParametersResponseBodyData;
5270
+ httpStatusCode?: number;
5271
+ message?: string;
5272
+ params?: string[];
5273
+ requestId?: string;
5274
+ static names(): { [key: string]: string } {
5275
+ return {
5276
+ code: 'Code',
5277
+ data: 'Data',
5278
+ httpStatusCode: 'HttpStatusCode',
5279
+ message: 'Message',
5280
+ params: 'Params',
5281
+ requestId: 'RequestId',
5282
+ };
5283
+ }
5284
+
5285
+ static types(): { [key: string]: any } {
5286
+ return {
5287
+ code: 'string',
5288
+ data: GetDocumentUploadParametersResponseBodyData,
5289
+ httpStatusCode: 'number',
5290
+ message: 'string',
5291
+ params: { 'type': 'array', 'itemType': 'string' },
5292
+ requestId: 'string',
5293
+ };
5294
+ }
5295
+
5296
+ constructor(map?: { [key: string]: any }) {
5297
+ super(map);
5298
+ }
5299
+ }
5300
+
5301
+ export class GetDocumentUploadParametersResponse extends $tea.Model {
5302
+ headers?: { [key: string]: string };
5303
+ statusCode?: number;
5304
+ body?: GetDocumentUploadParametersResponseBody;
5305
+ static names(): { [key: string]: string } {
5306
+ return {
5307
+ headers: 'headers',
5308
+ statusCode: 'statusCode',
5309
+ body: 'body',
5310
+ };
5311
+ }
5312
+
5313
+ static types(): { [key: string]: any } {
5314
+ return {
5315
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5316
+ statusCode: 'number',
5317
+ body: GetDocumentUploadParametersResponseBody,
5318
+ };
5319
+ }
5320
+
5321
+ constructor(map?: { [key: string]: any }) {
5322
+ super(map);
5323
+ }
5324
+ }
5325
+
4653
5326
  export class GetEarlyMediaRecordingRequest extends $tea.Model {
4654
5327
  contactId?: string;
4655
5328
  instanceId?: string;
@@ -6582,6 +7255,90 @@ export class ImportDoNotCallNumbersResponse extends $tea.Model {
6582
7255
  }
6583
7256
  }
6584
7257
 
7258
+ export class ImportDocumentsRequest extends $tea.Model {
7259
+ instanceId?: string;
7260
+ ossFileKey?: string;
7261
+ requestId?: string;
7262
+ schemaId?: string;
7263
+ static names(): { [key: string]: string } {
7264
+ return {
7265
+ instanceId: 'InstanceId',
7266
+ ossFileKey: 'OssFileKey',
7267
+ requestId: 'RequestId',
7268
+ schemaId: 'SchemaId',
7269
+ };
7270
+ }
7271
+
7272
+ static types(): { [key: string]: any } {
7273
+ return {
7274
+ instanceId: 'string',
7275
+ ossFileKey: 'string',
7276
+ requestId: 'string',
7277
+ schemaId: 'string',
7278
+ };
7279
+ }
7280
+
7281
+ constructor(map?: { [key: string]: any }) {
7282
+ super(map);
7283
+ }
7284
+ }
7285
+
7286
+ export class ImportDocumentsResponseBody extends $tea.Model {
7287
+ code?: string;
7288
+ httpStatusCode?: number;
7289
+ message?: string;
7290
+ params?: string[];
7291
+ requestId?: string;
7292
+ static names(): { [key: string]: string } {
7293
+ return {
7294
+ code: 'Code',
7295
+ httpStatusCode: 'HttpStatusCode',
7296
+ message: 'Message',
7297
+ params: 'Params',
7298
+ requestId: 'RequestId',
7299
+ };
7300
+ }
7301
+
7302
+ static types(): { [key: string]: any } {
7303
+ return {
7304
+ code: 'string',
7305
+ httpStatusCode: 'number',
7306
+ message: 'string',
7307
+ params: { 'type': 'array', 'itemType': 'string' },
7308
+ requestId: 'string',
7309
+ };
7310
+ }
7311
+
7312
+ constructor(map?: { [key: string]: any }) {
7313
+ super(map);
7314
+ }
7315
+ }
7316
+
7317
+ export class ImportDocumentsResponse extends $tea.Model {
7318
+ headers?: { [key: string]: string };
7319
+ statusCode?: number;
7320
+ body?: ImportDocumentsResponseBody;
7321
+ static names(): { [key: string]: string } {
7322
+ return {
7323
+ headers: 'headers',
7324
+ statusCode: 'statusCode',
7325
+ body: 'body',
7326
+ };
7327
+ }
7328
+
7329
+ static types(): { [key: string]: any } {
7330
+ return {
7331
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7332
+ statusCode: 'number',
7333
+ body: ImportDocumentsResponseBody,
7334
+ };
7335
+ }
7336
+
7337
+ constructor(map?: { [key: string]: any }) {
7338
+ super(map);
7339
+ }
7340
+ }
7341
+
6585
7342
  export class InitiateAttendedTransferRequest extends $tea.Model {
6586
7343
  callPriority?: number;
6587
7344
  deviceId?: string;
@@ -8550,6 +9307,139 @@ export class ListDoNotCallNumbersResponse extends $tea.Model {
8550
9307
  }
8551
9308
  }
8552
9309
 
9310
+ export class ListDocumentsRequest extends $tea.Model {
9311
+ instanceId?: string;
9312
+ nextPageToken?: string;
9313
+ pageSize?: number;
9314
+ requestId?: string;
9315
+ schemaId?: string;
9316
+ searchPattern?: string;
9317
+ sorts?: ListDocumentsRequestSorts[];
9318
+ static names(): { [key: string]: string } {
9319
+ return {
9320
+ instanceId: 'InstanceId',
9321
+ nextPageToken: 'NextPageToken',
9322
+ pageSize: 'PageSize',
9323
+ requestId: 'RequestId',
9324
+ schemaId: 'SchemaId',
9325
+ searchPattern: 'SearchPattern',
9326
+ sorts: 'Sorts',
9327
+ };
9328
+ }
9329
+
9330
+ static types(): { [key: string]: any } {
9331
+ return {
9332
+ instanceId: 'string',
9333
+ nextPageToken: 'string',
9334
+ pageSize: 'number',
9335
+ requestId: 'string',
9336
+ schemaId: 'string',
9337
+ searchPattern: 'string',
9338
+ sorts: { 'type': 'array', 'itemType': ListDocumentsRequestSorts },
9339
+ };
9340
+ }
9341
+
9342
+ constructor(map?: { [key: string]: any }) {
9343
+ super(map);
9344
+ }
9345
+ }
9346
+
9347
+ export class ListDocumentsShrinkRequest extends $tea.Model {
9348
+ instanceId?: string;
9349
+ nextPageToken?: string;
9350
+ pageSize?: number;
9351
+ requestId?: string;
9352
+ schemaId?: string;
9353
+ searchPattern?: string;
9354
+ sortsShrink?: string;
9355
+ static names(): { [key: string]: string } {
9356
+ return {
9357
+ instanceId: 'InstanceId',
9358
+ nextPageToken: 'NextPageToken',
9359
+ pageSize: 'PageSize',
9360
+ requestId: 'RequestId',
9361
+ schemaId: 'SchemaId',
9362
+ searchPattern: 'SearchPattern',
9363
+ sortsShrink: 'Sorts',
9364
+ };
9365
+ }
9366
+
9367
+ static types(): { [key: string]: any } {
9368
+ return {
9369
+ instanceId: 'string',
9370
+ nextPageToken: 'string',
9371
+ pageSize: 'number',
9372
+ requestId: 'string',
9373
+ schemaId: 'string',
9374
+ searchPattern: 'string',
9375
+ sortsShrink: 'string',
9376
+ };
9377
+ }
9378
+
9379
+ constructor(map?: { [key: string]: any }) {
9380
+ super(map);
9381
+ }
9382
+ }
9383
+
9384
+ export class ListDocumentsResponseBody extends $tea.Model {
9385
+ code?: string;
9386
+ data?: ListDocumentsResponseBodyData;
9387
+ httpStatusCode?: number;
9388
+ message?: string;
9389
+ params?: string[];
9390
+ requestId?: string;
9391
+ static names(): { [key: string]: string } {
9392
+ return {
9393
+ code: 'Code',
9394
+ data: 'Data',
9395
+ httpStatusCode: 'HttpStatusCode',
9396
+ message: 'Message',
9397
+ params: 'Params',
9398
+ requestId: 'RequestId',
9399
+ };
9400
+ }
9401
+
9402
+ static types(): { [key: string]: any } {
9403
+ return {
9404
+ code: 'string',
9405
+ data: ListDocumentsResponseBodyData,
9406
+ httpStatusCode: 'number',
9407
+ message: 'string',
9408
+ params: { 'type': 'array', 'itemType': 'string' },
9409
+ requestId: 'string',
9410
+ };
9411
+ }
9412
+
9413
+ constructor(map?: { [key: string]: any }) {
9414
+ super(map);
9415
+ }
9416
+ }
9417
+
9418
+ export class ListDocumentsResponse extends $tea.Model {
9419
+ headers?: { [key: string]: string };
9420
+ statusCode?: number;
9421
+ body?: ListDocumentsResponseBody;
9422
+ static names(): { [key: string]: string } {
9423
+ return {
9424
+ headers: 'headers',
9425
+ statusCode: 'statusCode',
9426
+ body: 'body',
9427
+ };
9428
+ }
9429
+
9430
+ static types(): { [key: string]: any } {
9431
+ return {
9432
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9433
+ statusCode: 'number',
9434
+ body: ListDocumentsResponseBody,
9435
+ };
9436
+ }
9437
+
9438
+ constructor(map?: { [key: string]: any }) {
9439
+ super(map);
9440
+ }
9441
+ }
9442
+
8553
9443
  export class ListHistoricalAgentReportRequest extends $tea.Model {
8554
9444
  agentIdList?: string;
8555
9445
  instanceId?: string;
@@ -14469,6 +15359,96 @@ export class RetrieveCallResponse extends $tea.Model {
14469
15359
  }
14470
15360
  }
14471
15361
 
15362
+ export class SaveDocumentRequest extends $tea.Model {
15363
+ documentId?: string;
15364
+ documentJson?: string;
15365
+ instanceId?: string;
15366
+ requestId?: string;
15367
+ schemaId?: string;
15368
+ static names(): { [key: string]: string } {
15369
+ return {
15370
+ documentId: 'DocumentId',
15371
+ documentJson: 'DocumentJson',
15372
+ instanceId: 'InstanceId',
15373
+ requestId: 'RequestId',
15374
+ schemaId: 'SchemaId',
15375
+ };
15376
+ }
15377
+
15378
+ static types(): { [key: string]: any } {
15379
+ return {
15380
+ documentId: 'string',
15381
+ documentJson: 'string',
15382
+ instanceId: 'string',
15383
+ requestId: 'string',
15384
+ schemaId: 'string',
15385
+ };
15386
+ }
15387
+
15388
+ constructor(map?: { [key: string]: any }) {
15389
+ super(map);
15390
+ }
15391
+ }
15392
+
15393
+ export class SaveDocumentResponseBody extends $tea.Model {
15394
+ code?: string;
15395
+ data?: string;
15396
+ httpStatusCode?: number;
15397
+ message?: string;
15398
+ params?: string[];
15399
+ requestId?: string;
15400
+ static names(): { [key: string]: string } {
15401
+ return {
15402
+ code: 'Code',
15403
+ data: 'Data',
15404
+ httpStatusCode: 'HttpStatusCode',
15405
+ message: 'Message',
15406
+ params: 'Params',
15407
+ requestId: 'RequestId',
15408
+ };
15409
+ }
15410
+
15411
+ static types(): { [key: string]: any } {
15412
+ return {
15413
+ code: 'string',
15414
+ data: 'string',
15415
+ httpStatusCode: 'number',
15416
+ message: 'string',
15417
+ params: { 'type': 'array', 'itemType': 'string' },
15418
+ requestId: 'string',
15419
+ };
15420
+ }
15421
+
15422
+ constructor(map?: { [key: string]: any }) {
15423
+ super(map);
15424
+ }
15425
+ }
15426
+
15427
+ export class SaveDocumentResponse extends $tea.Model {
15428
+ headers?: { [key: string]: string };
15429
+ statusCode?: number;
15430
+ body?: SaveDocumentResponseBody;
15431
+ static names(): { [key: string]: string } {
15432
+ return {
15433
+ headers: 'headers',
15434
+ statusCode: 'statusCode',
15435
+ body: 'body',
15436
+ };
15437
+ }
15438
+
15439
+ static types(): { [key: string]: any } {
15440
+ return {
15441
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
15442
+ statusCode: 'number',
15443
+ body: SaveDocumentResponseBody,
15444
+ };
15445
+ }
15446
+
15447
+ constructor(map?: { [key: string]: any }) {
15448
+ super(map);
15449
+ }
15450
+ }
15451
+
14472
15452
  export class SaveRTCStatsV2Request extends $tea.Model {
14473
15453
  callId?: string;
14474
15454
  generalInfo?: string;
@@ -16170,6 +17150,118 @@ export class UpdateConfigItemsResponse extends $tea.Model {
16170
17150
  }
16171
17151
  }
16172
17152
 
17153
+ export class UpdateSchemaPropertyRequest extends $tea.Model {
17154
+ instanceId?: string;
17155
+ property?: UpdateSchemaPropertyRequestProperty;
17156
+ requestId?: string;
17157
+ schemaId?: string;
17158
+ static names(): { [key: string]: string } {
17159
+ return {
17160
+ instanceId: 'InstanceId',
17161
+ property: 'Property',
17162
+ requestId: 'RequestId',
17163
+ schemaId: 'SchemaId',
17164
+ };
17165
+ }
17166
+
17167
+ static types(): { [key: string]: any } {
17168
+ return {
17169
+ instanceId: 'string',
17170
+ property: UpdateSchemaPropertyRequestProperty,
17171
+ requestId: 'string',
17172
+ schemaId: 'string',
17173
+ };
17174
+ }
17175
+
17176
+ constructor(map?: { [key: string]: any }) {
17177
+ super(map);
17178
+ }
17179
+ }
17180
+
17181
+ export class UpdateSchemaPropertyShrinkRequest extends $tea.Model {
17182
+ instanceId?: string;
17183
+ propertyShrink?: string;
17184
+ requestId?: string;
17185
+ schemaId?: string;
17186
+ static names(): { [key: string]: string } {
17187
+ return {
17188
+ instanceId: 'InstanceId',
17189
+ propertyShrink: 'Property',
17190
+ requestId: 'RequestId',
17191
+ schemaId: 'SchemaId',
17192
+ };
17193
+ }
17194
+
17195
+ static types(): { [key: string]: any } {
17196
+ return {
17197
+ instanceId: 'string',
17198
+ propertyShrink: 'string',
17199
+ requestId: 'string',
17200
+ schemaId: 'string',
17201
+ };
17202
+ }
17203
+
17204
+ constructor(map?: { [key: string]: any }) {
17205
+ super(map);
17206
+ }
17207
+ }
17208
+
17209
+ export class UpdateSchemaPropertyResponseBody extends $tea.Model {
17210
+ code?: string;
17211
+ httpStatusCode?: number;
17212
+ message?: string;
17213
+ params?: string[];
17214
+ requestId?: string;
17215
+ static names(): { [key: string]: string } {
17216
+ return {
17217
+ code: 'Code',
17218
+ httpStatusCode: 'HttpStatusCode',
17219
+ message: 'Message',
17220
+ params: 'Params',
17221
+ requestId: 'RequestId',
17222
+ };
17223
+ }
17224
+
17225
+ static types(): { [key: string]: any } {
17226
+ return {
17227
+ code: 'string',
17228
+ httpStatusCode: 'number',
17229
+ message: 'string',
17230
+ params: { 'type': 'array', 'itemType': 'string' },
17231
+ requestId: 'string',
17232
+ };
17233
+ }
17234
+
17235
+ constructor(map?: { [key: string]: any }) {
17236
+ super(map);
17237
+ }
17238
+ }
17239
+
17240
+ export class UpdateSchemaPropertyResponse extends $tea.Model {
17241
+ headers?: { [key: string]: string };
17242
+ statusCode?: number;
17243
+ body?: UpdateSchemaPropertyResponseBody;
17244
+ static names(): { [key: string]: string } {
17245
+ return {
17246
+ headers: 'headers',
17247
+ statusCode: 'statusCode',
17248
+ body: 'body',
17249
+ };
17250
+ }
17251
+
17252
+ static types(): { [key: string]: any } {
17253
+ return {
17254
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
17255
+ statusCode: 'number',
17256
+ body: UpdateSchemaPropertyResponseBody,
17257
+ };
17258
+ }
17259
+
17260
+ constructor(map?: { [key: string]: any }) {
17261
+ super(map);
17262
+ }
17263
+ }
17264
+
16173
17265
  export class AddCasesRequestCaseList extends $tea.Model {
16174
17266
  caller?: string;
16175
17267
  customVariables?: string;
@@ -16201,6 +17293,73 @@ export class AddCasesRequestCaseList extends $tea.Model {
16201
17293
  }
16202
17294
  }
16203
17295
 
17296
+ export class AddSchemaPropertyRequestProperty extends $tea.Model {
17297
+ array?: boolean;
17298
+ attributes?: string;
17299
+ dataType?: string;
17300
+ description?: string;
17301
+ disabled?: boolean;
17302
+ displayName?: string;
17303
+ displayOrder?: number;
17304
+ editorType?: string;
17305
+ maxLength?: number;
17306
+ maximum?: number;
17307
+ minLength?: number;
17308
+ minimum?: number;
17309
+ name?: string;
17310
+ pattern?: string;
17311
+ patternErrorMessage?: string;
17312
+ readOnly?: boolean;
17313
+ required?: boolean;
17314
+ static names(): { [key: string]: string } {
17315
+ return {
17316
+ array: 'Array',
17317
+ attributes: 'Attributes',
17318
+ dataType: 'DataType',
17319
+ description: 'Description',
17320
+ disabled: 'Disabled',
17321
+ displayName: 'DisplayName',
17322
+ displayOrder: 'DisplayOrder',
17323
+ editorType: 'EditorType',
17324
+ maxLength: 'MaxLength',
17325
+ maximum: 'Maximum',
17326
+ minLength: 'MinLength',
17327
+ minimum: 'Minimum',
17328
+ name: 'Name',
17329
+ pattern: 'Pattern',
17330
+ patternErrorMessage: 'PatternErrorMessage',
17331
+ readOnly: 'ReadOnly',
17332
+ required: 'Required',
17333
+ };
17334
+ }
17335
+
17336
+ static types(): { [key: string]: any } {
17337
+ return {
17338
+ array: 'boolean',
17339
+ attributes: 'string',
17340
+ dataType: 'string',
17341
+ description: 'string',
17342
+ disabled: 'boolean',
17343
+ displayName: 'string',
17344
+ displayOrder: 'number',
17345
+ editorType: 'string',
17346
+ maxLength: 'number',
17347
+ maximum: 'number',
17348
+ minLength: 'number',
17349
+ minimum: 'number',
17350
+ name: 'string',
17351
+ pattern: 'string',
17352
+ patternErrorMessage: 'string',
17353
+ readOnly: 'boolean',
17354
+ required: 'boolean',
17355
+ };
17356
+ }
17357
+
17358
+ constructor(map?: { [key: string]: any }) {
17359
+ super(map);
17360
+ }
17361
+ }
17362
+
16204
17363
  export class AnswerCallResponseBodyDataCallContextChannelContexts extends $tea.Model {
16205
17364
  callType?: string;
16206
17365
  channelId?: string;
@@ -17405,6 +18564,73 @@ export class CreateCustomCallTaggingResponseBodyData extends $tea.Model {
17405
18564
  }
17406
18565
  }
17407
18566
 
18567
+ export class CreateSchemaRequestProperties extends $tea.Model {
18568
+ array?: boolean;
18569
+ attributes?: string;
18570
+ dataType?: string;
18571
+ description?: string;
18572
+ disabled?: boolean;
18573
+ displayName?: string;
18574
+ displayOrder?: number;
18575
+ editorType?: string;
18576
+ maxLength?: number;
18577
+ maximum?: number;
18578
+ minLength?: number;
18579
+ minimum?: number;
18580
+ name?: string;
18581
+ pattern?: string;
18582
+ patternErrorMessage?: string;
18583
+ readOnly?: boolean;
18584
+ required?: boolean;
18585
+ static names(): { [key: string]: string } {
18586
+ return {
18587
+ array: 'Array',
18588
+ attributes: 'Attributes',
18589
+ dataType: 'DataType',
18590
+ description: 'Description',
18591
+ disabled: 'Disabled',
18592
+ displayName: 'DisplayName',
18593
+ displayOrder: 'DisplayOrder',
18594
+ editorType: 'EditorType',
18595
+ maxLength: 'MaxLength',
18596
+ maximum: 'Maximum',
18597
+ minLength: 'MinLength',
18598
+ minimum: 'Minimum',
18599
+ name: 'Name',
18600
+ pattern: 'Pattern',
18601
+ patternErrorMessage: 'PatternErrorMessage',
18602
+ readOnly: 'ReadOnly',
18603
+ required: 'Required',
18604
+ };
18605
+ }
18606
+
18607
+ static types(): { [key: string]: any } {
18608
+ return {
18609
+ array: 'boolean',
18610
+ attributes: 'string',
18611
+ dataType: 'string',
18612
+ description: 'string',
18613
+ disabled: 'boolean',
18614
+ displayName: 'string',
18615
+ displayOrder: 'number',
18616
+ editorType: 'string',
18617
+ maxLength: 'number',
18618
+ maximum: 'number',
18619
+ minLength: 'number',
18620
+ minimum: 'number',
18621
+ name: 'string',
18622
+ pattern: 'string',
18623
+ patternErrorMessage: 'string',
18624
+ readOnly: 'boolean',
18625
+ required: 'boolean',
18626
+ };
18627
+ }
18628
+
18629
+ constructor(map?: { [key: string]: any }) {
18630
+ super(map);
18631
+ }
18632
+ }
18633
+
17408
18634
  export class CreateSkillGroupResponseBodyData extends $tea.Model {
17409
18635
  description?: string;
17410
18636
  instanceId?: string;
@@ -18266,6 +19492,40 @@ export class GetDoNotCallFileUploadParametersResponseBodyData extends $tea.Model
18266
19492
  }
18267
19493
  }
18268
19494
 
19495
+ export class GetDocumentUploadParametersResponseBodyData extends $tea.Model {
19496
+ accessKeyId?: string;
19497
+ expireTime?: number;
19498
+ filePath?: string;
19499
+ host?: string;
19500
+ policy?: string;
19501
+ signature?: string;
19502
+ static names(): { [key: string]: string } {
19503
+ return {
19504
+ accessKeyId: 'AccessKeyId',
19505
+ expireTime: 'ExpireTime',
19506
+ filePath: 'FilePath',
19507
+ host: 'Host',
19508
+ policy: 'Policy',
19509
+ signature: 'Signature',
19510
+ };
19511
+ }
19512
+
19513
+ static types(): { [key: string]: any } {
19514
+ return {
19515
+ accessKeyId: 'string',
19516
+ expireTime: 'number',
19517
+ filePath: 'string',
19518
+ host: 'string',
19519
+ policy: 'string',
19520
+ signature: 'string',
19521
+ };
19522
+ }
19523
+
19524
+ constructor(map?: { [key: string]: any }) {
19525
+ super(map);
19526
+ }
19527
+ }
19528
+
18269
19529
  export class GetEarlyMediaRecordingResponseBodyData extends $tea.Model {
18270
19530
  fileName?: string;
18271
19531
  fileUrl?: string;
@@ -21808,6 +23068,93 @@ export class ListDoNotCallNumbersResponseBodyData extends $tea.Model {
21808
23068
  }
21809
23069
  }
21810
23070
 
23071
+ export class ListDocumentsRequestSorts extends $tea.Model {
23072
+ order?: string;
23073
+ propertyName?: string;
23074
+ static names(): { [key: string]: string } {
23075
+ return {
23076
+ order: 'Order',
23077
+ propertyName: 'PropertyName',
23078
+ };
23079
+ }
23080
+
23081
+ static types(): { [key: string]: any } {
23082
+ return {
23083
+ order: 'string',
23084
+ propertyName: 'string',
23085
+ };
23086
+ }
23087
+
23088
+ constructor(map?: { [key: string]: any }) {
23089
+ super(map);
23090
+ }
23091
+ }
23092
+
23093
+ export class ListDocumentsResponseBodyDataSchema extends $tea.Model {
23094
+ createdTime?: string;
23095
+ deleted?: boolean;
23096
+ description?: string;
23097
+ id?: string;
23098
+ instanceId?: string;
23099
+ properties?: { [key: string]: DataSchemaPropertiesValue };
23100
+ updatedTime?: string;
23101
+ static names(): { [key: string]: string } {
23102
+ return {
23103
+ createdTime: 'CreatedTime',
23104
+ deleted: 'Deleted',
23105
+ description: 'Description',
23106
+ id: 'Id',
23107
+ instanceId: 'InstanceId',
23108
+ properties: 'Properties',
23109
+ updatedTime: 'UpdatedTime',
23110
+ };
23111
+ }
23112
+
23113
+ static types(): { [key: string]: any } {
23114
+ return {
23115
+ createdTime: 'string',
23116
+ deleted: 'boolean',
23117
+ description: 'string',
23118
+ id: 'string',
23119
+ instanceId: 'string',
23120
+ properties: { 'type': 'map', 'keyType': 'string', 'valueType': DataSchemaPropertiesValue },
23121
+ updatedTime: 'string',
23122
+ };
23123
+ }
23124
+
23125
+ constructor(map?: { [key: string]: any }) {
23126
+ super(map);
23127
+ }
23128
+ }
23129
+
23130
+ export class ListDocumentsResponseBodyData extends $tea.Model {
23131
+ documents?: { [key: string]: any }[];
23132
+ nextPageToken?: string;
23133
+ schema?: ListDocumentsResponseBodyDataSchema;
23134
+ totalCount?: number;
23135
+ static names(): { [key: string]: string } {
23136
+ return {
23137
+ documents: 'Documents',
23138
+ nextPageToken: 'NextPageToken',
23139
+ schema: 'Schema',
23140
+ totalCount: 'TotalCount',
23141
+ };
23142
+ }
23143
+
23144
+ static types(): { [key: string]: any } {
23145
+ return {
23146
+ documents: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
23147
+ nextPageToken: 'string',
23148
+ schema: ListDocumentsResponseBodyDataSchema,
23149
+ totalCount: 'number',
23150
+ };
23151
+ }
23152
+
23153
+ constructor(map?: { [key: string]: any }) {
23154
+ super(map);
23155
+ }
23156
+ }
23157
+
21811
23158
  export class ListHistoricalAgentReportResponseBodyDataListBack2Back extends $tea.Model {
21812
23159
  agentHandleRate?: string;
21813
23160
  answerRate?: string;
@@ -30350,6 +31697,73 @@ export class UnmuteCallResponseBodyData extends $tea.Model {
30350
31697
  }
30351
31698
  }
30352
31699
 
31700
+ export class UpdateSchemaPropertyRequestProperty extends $tea.Model {
31701
+ array?: boolean;
31702
+ attributes?: string;
31703
+ dataType?: string;
31704
+ description?: string;
31705
+ disabled?: boolean;
31706
+ displayName?: string;
31707
+ displayOrder?: number;
31708
+ editorType?: string;
31709
+ maxLength?: number;
31710
+ maximum?: number;
31711
+ minLength?: number;
31712
+ minimum?: number;
31713
+ name?: string;
31714
+ pattern?: string;
31715
+ patternErrorMessage?: string;
31716
+ readOnly?: boolean;
31717
+ required?: boolean;
31718
+ static names(): { [key: string]: string } {
31719
+ return {
31720
+ array: 'Array',
31721
+ attributes: 'Attributes',
31722
+ dataType: 'DataType',
31723
+ description: 'Description',
31724
+ disabled: 'Disabled',
31725
+ displayName: 'DisplayName',
31726
+ displayOrder: 'DisplayOrder',
31727
+ editorType: 'EditorType',
31728
+ maxLength: 'MaxLength',
31729
+ maximum: 'Maximum',
31730
+ minLength: 'MinLength',
31731
+ minimum: 'Minimum',
31732
+ name: 'Name',
31733
+ pattern: 'Pattern',
31734
+ patternErrorMessage: 'PatternErrorMessage',
31735
+ readOnly: 'ReadOnly',
31736
+ required: 'Required',
31737
+ };
31738
+ }
31739
+
31740
+ static types(): { [key: string]: any } {
31741
+ return {
31742
+ array: 'boolean',
31743
+ attributes: 'string',
31744
+ dataType: 'string',
31745
+ description: 'string',
31746
+ disabled: 'boolean',
31747
+ displayName: 'string',
31748
+ displayOrder: 'number',
31749
+ editorType: 'string',
31750
+ maxLength: 'number',
31751
+ maximum: 'number',
31752
+ minLength: 'number',
31753
+ minimum: 'number',
31754
+ name: 'string',
31755
+ pattern: 'string',
31756
+ patternErrorMessage: 'string',
31757
+ readOnly: 'boolean',
31758
+ required: 'boolean',
31759
+ };
31760
+ }
31761
+
31762
+ constructor(map?: { [key: string]: any }) {
31763
+ super(map);
31764
+ }
31765
+ }
31766
+
30353
31767
 
30354
31768
  export default class Client extends OpenApi {
30355
31769
 
@@ -30745,6 +32159,62 @@ export default class Client extends OpenApi {
30745
32159
  return await this.addPhoneNumbersWithOptions(request, runtime);
30746
32160
  }
30747
32161
 
32162
+ /**
32163
+ * @param tmpReq AddSchemaPropertyRequest
32164
+ * @param runtime runtime options for this request RuntimeOptions
32165
+ * @return AddSchemaPropertyResponse
32166
+ */
32167
+ async addSchemaPropertyWithOptions(tmpReq: AddSchemaPropertyRequest, runtime: $Util.RuntimeOptions): Promise<AddSchemaPropertyResponse> {
32168
+ Util.validateModel(tmpReq);
32169
+ let request = new AddSchemaPropertyShrinkRequest({ });
32170
+ OpenApiUtil.convert(tmpReq, request);
32171
+ if (!Util.isUnset(tmpReq.property)) {
32172
+ request.propertyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.property, "Property", "json");
32173
+ }
32174
+
32175
+ let body : {[key: string ]: any} = { };
32176
+ if (!Util.isUnset(request.instanceId)) {
32177
+ body["InstanceId"] = request.instanceId;
32178
+ }
32179
+
32180
+ if (!Util.isUnset(request.propertyShrink)) {
32181
+ body["Property"] = request.propertyShrink;
32182
+ }
32183
+
32184
+ if (!Util.isUnset(request.requestId)) {
32185
+ body["RequestId"] = request.requestId;
32186
+ }
32187
+
32188
+ if (!Util.isUnset(request.schemaId)) {
32189
+ body["SchemaId"] = request.schemaId;
32190
+ }
32191
+
32192
+ let req = new $OpenApi.OpenApiRequest({
32193
+ body: OpenApiUtil.parseToMap(body),
32194
+ });
32195
+ let params = new $OpenApi.Params({
32196
+ action: "AddSchemaProperty",
32197
+ version: "2020-07-01",
32198
+ protocol: "HTTPS",
32199
+ pathname: "/",
32200
+ method: "POST",
32201
+ authType: "AK",
32202
+ style: "RPC",
32203
+ reqBodyType: "formData",
32204
+ bodyType: "json",
32205
+ });
32206
+ return $tea.cast<AddSchemaPropertyResponse>(await this.callApi(params, req, runtime), new AddSchemaPropertyResponse({}));
32207
+ }
32208
+
32209
+ /**
32210
+ * @param request AddSchemaPropertyRequest
32211
+ * @return AddSchemaPropertyResponse
32212
+ */
32213
+ async addSchemaProperty(request: AddSchemaPropertyRequest): Promise<AddSchemaPropertyResponse> {
32214
+ let runtime = new $Util.RuntimeOptions({ });
32215
+ return await this.addSchemaPropertyWithOptions(request, runtime);
32216
+ }
32217
+
30748
32218
  /**
30749
32219
  * @param request AddSkillGroupsToUserRequest
30750
32220
  * @param runtime runtime options for this request RuntimeOptions
@@ -31959,6 +33429,66 @@ export default class Client extends OpenApi {
31959
33429
  return await this.createInstanceWithOptions(request, runtime);
31960
33430
  }
31961
33431
 
33432
+ /**
33433
+ * @param tmpReq CreateSchemaRequest
33434
+ * @param runtime runtime options for this request RuntimeOptions
33435
+ * @return CreateSchemaResponse
33436
+ */
33437
+ async createSchemaWithOptions(tmpReq: CreateSchemaRequest, runtime: $Util.RuntimeOptions): Promise<CreateSchemaResponse> {
33438
+ Util.validateModel(tmpReq);
33439
+ let request = new CreateSchemaShrinkRequest({ });
33440
+ OpenApiUtil.convert(tmpReq, request);
33441
+ if (!Util.isUnset(tmpReq.properties)) {
33442
+ request.propertiesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.properties, "Properties", "json");
33443
+ }
33444
+
33445
+ let body : {[key: string ]: any} = { };
33446
+ if (!Util.isUnset(request.description)) {
33447
+ body["Description"] = request.description;
33448
+ }
33449
+
33450
+ if (!Util.isUnset(request.id)) {
33451
+ body["Id"] = request.id;
33452
+ }
33453
+
33454
+ if (!Util.isUnset(request.instanceId)) {
33455
+ body["InstanceId"] = request.instanceId;
33456
+ }
33457
+
33458
+ if (!Util.isUnset(request.propertiesShrink)) {
33459
+ body["Properties"] = request.propertiesShrink;
33460
+ }
33461
+
33462
+ if (!Util.isUnset(request.requestId)) {
33463
+ body["RequestId"] = request.requestId;
33464
+ }
33465
+
33466
+ let req = new $OpenApi.OpenApiRequest({
33467
+ body: OpenApiUtil.parseToMap(body),
33468
+ });
33469
+ let params = new $OpenApi.Params({
33470
+ action: "CreateSchema",
33471
+ version: "2020-07-01",
33472
+ protocol: "HTTPS",
33473
+ pathname: "/",
33474
+ method: "POST",
33475
+ authType: "AK",
33476
+ style: "RPC",
33477
+ reqBodyType: "formData",
33478
+ bodyType: "json",
33479
+ });
33480
+ return $tea.cast<CreateSchemaResponse>(await this.callApi(params, req, runtime), new CreateSchemaResponse({}));
33481
+ }
33482
+
33483
+ /**
33484
+ * @param request CreateSchemaRequest
33485
+ * @return CreateSchemaResponse
33486
+ */
33487
+ async createSchema(request: CreateSchemaRequest): Promise<CreateSchemaResponse> {
33488
+ let runtime = new $Util.RuntimeOptions({ });
33489
+ return await this.createSchemaWithOptions(request, runtime);
33490
+ }
33491
+
31962
33492
  /**
31963
33493
  * @param request CreateSkillGroupRequest
31964
33494
  * @param runtime runtime options for this request RuntimeOptions
@@ -32271,6 +33801,158 @@ export default class Client extends OpenApi {
32271
33801
  return await this.deleteCustomCallTaggingWithOptions(request, runtime);
32272
33802
  }
32273
33803
 
33804
+ /**
33805
+ * @param request DeleteDocumentRequest
33806
+ * @param runtime runtime options for this request RuntimeOptions
33807
+ * @return DeleteDocumentResponse
33808
+ */
33809
+ async deleteDocumentWithOptions(request: DeleteDocumentRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDocumentResponse> {
33810
+ Util.validateModel(request);
33811
+ let body : {[key: string ]: any} = { };
33812
+ if (!Util.isUnset(request.documentId)) {
33813
+ body["DocumentId"] = request.documentId;
33814
+ }
33815
+
33816
+ if (!Util.isUnset(request.instanceId)) {
33817
+ body["InstanceId"] = request.instanceId;
33818
+ }
33819
+
33820
+ if (!Util.isUnset(request.requestId)) {
33821
+ body["RequestId"] = request.requestId;
33822
+ }
33823
+
33824
+ if (!Util.isUnset(request.schemaId)) {
33825
+ body["SchemaId"] = request.schemaId;
33826
+ }
33827
+
33828
+ let req = new $OpenApi.OpenApiRequest({
33829
+ body: OpenApiUtil.parseToMap(body),
33830
+ });
33831
+ let params = new $OpenApi.Params({
33832
+ action: "DeleteDocument",
33833
+ version: "2020-07-01",
33834
+ protocol: "HTTPS",
33835
+ pathname: "/",
33836
+ method: "POST",
33837
+ authType: "AK",
33838
+ style: "RPC",
33839
+ reqBodyType: "formData",
33840
+ bodyType: "json",
33841
+ });
33842
+ return $tea.cast<DeleteDocumentResponse>(await this.callApi(params, req, runtime), new DeleteDocumentResponse({}));
33843
+ }
33844
+
33845
+ /**
33846
+ * @param request DeleteDocumentRequest
33847
+ * @return DeleteDocumentResponse
33848
+ */
33849
+ async deleteDocument(request: DeleteDocumentRequest): Promise<DeleteDocumentResponse> {
33850
+ let runtime = new $Util.RuntimeOptions({ });
33851
+ return await this.deleteDocumentWithOptions(request, runtime);
33852
+ }
33853
+
33854
+ /**
33855
+ * @param tmpReq DeleteDocumentsRequest
33856
+ * @param runtime runtime options for this request RuntimeOptions
33857
+ * @return DeleteDocumentsResponse
33858
+ */
33859
+ async deleteDocumentsWithOptions(tmpReq: DeleteDocumentsRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDocumentsResponse> {
33860
+ Util.validateModel(tmpReq);
33861
+ let request = new DeleteDocumentsShrinkRequest({ });
33862
+ OpenApiUtil.convert(tmpReq, request);
33863
+ if (!Util.isUnset(tmpReq.documentIds)) {
33864
+ request.documentIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.documentIds, "DocumentIds", "json");
33865
+ }
33866
+
33867
+ let body : {[key: string ]: any} = { };
33868
+ if (!Util.isUnset(request.documentIdsShrink)) {
33869
+ body["DocumentIds"] = request.documentIdsShrink;
33870
+ }
33871
+
33872
+ if (!Util.isUnset(request.instanceId)) {
33873
+ body["InstanceId"] = request.instanceId;
33874
+ }
33875
+
33876
+ if (!Util.isUnset(request.requestId)) {
33877
+ body["RequestId"] = request.requestId;
33878
+ }
33879
+
33880
+ if (!Util.isUnset(request.schemaId)) {
33881
+ body["SchemaId"] = request.schemaId;
33882
+ }
33883
+
33884
+ let req = new $OpenApi.OpenApiRequest({
33885
+ body: OpenApiUtil.parseToMap(body),
33886
+ });
33887
+ let params = new $OpenApi.Params({
33888
+ action: "DeleteDocuments",
33889
+ version: "2020-07-01",
33890
+ protocol: "HTTPS",
33891
+ pathname: "/",
33892
+ method: "POST",
33893
+ authType: "AK",
33894
+ style: "RPC",
33895
+ reqBodyType: "formData",
33896
+ bodyType: "json",
33897
+ });
33898
+ return $tea.cast<DeleteDocumentsResponse>(await this.callApi(params, req, runtime), new DeleteDocumentsResponse({}));
33899
+ }
33900
+
33901
+ /**
33902
+ * @param request DeleteDocumentsRequest
33903
+ * @return DeleteDocumentsResponse
33904
+ */
33905
+ async deleteDocuments(request: DeleteDocumentsRequest): Promise<DeleteDocumentsResponse> {
33906
+ let runtime = new $Util.RuntimeOptions({ });
33907
+ return await this.deleteDocumentsWithOptions(request, runtime);
33908
+ }
33909
+
33910
+ /**
33911
+ * @param request DeleteSchemaRequest
33912
+ * @param runtime runtime options for this request RuntimeOptions
33913
+ * @return DeleteSchemaResponse
33914
+ */
33915
+ async deleteSchemaWithOptions(request: DeleteSchemaRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSchemaResponse> {
33916
+ Util.validateModel(request);
33917
+ let body : {[key: string ]: any} = { };
33918
+ if (!Util.isUnset(request.instanceId)) {
33919
+ body["InstanceId"] = request.instanceId;
33920
+ }
33921
+
33922
+ if (!Util.isUnset(request.requestId)) {
33923
+ body["RequestId"] = request.requestId;
33924
+ }
33925
+
33926
+ if (!Util.isUnset(request.schemaId)) {
33927
+ body["SchemaId"] = request.schemaId;
33928
+ }
33929
+
33930
+ let req = new $OpenApi.OpenApiRequest({
33931
+ body: OpenApiUtil.parseToMap(body),
33932
+ });
33933
+ let params = new $OpenApi.Params({
33934
+ action: "DeleteSchema",
33935
+ version: "2020-07-01",
33936
+ protocol: "HTTPS",
33937
+ pathname: "/",
33938
+ method: "POST",
33939
+ authType: "AK",
33940
+ style: "RPC",
33941
+ reqBodyType: "formData",
33942
+ bodyType: "json",
33943
+ });
33944
+ return $tea.cast<DeleteSchemaResponse>(await this.callApi(params, req, runtime), new DeleteSchemaResponse({}));
33945
+ }
33946
+
33947
+ /**
33948
+ * @param request DeleteSchemaRequest
33949
+ * @return DeleteSchemaResponse
33950
+ */
33951
+ async deleteSchema(request: DeleteSchemaRequest): Promise<DeleteSchemaResponse> {
33952
+ let runtime = new $Util.RuntimeOptions({ });
33953
+ return await this.deleteSchemaWithOptions(request, runtime);
33954
+ }
33955
+
32274
33956
  /**
32275
33957
  * @param request DeleteSchemaPropertyRequest
32276
33958
  * @param runtime runtime options for this request RuntimeOptions
@@ -33135,6 +34817,52 @@ export default class Client extends OpenApi {
33135
34817
  return await this.getDoNotCallFileUploadParametersWithOptions(request, runtime);
33136
34818
  }
33137
34819
 
34820
+ /**
34821
+ * @param request GetDocumentUploadParametersRequest
34822
+ * @param runtime runtime options for this request RuntimeOptions
34823
+ * @return GetDocumentUploadParametersResponse
34824
+ */
34825
+ async getDocumentUploadParametersWithOptions(request: GetDocumentUploadParametersRequest, runtime: $Util.RuntimeOptions): Promise<GetDocumentUploadParametersResponse> {
34826
+ Util.validateModel(request);
34827
+ let body : {[key: string ]: any} = { };
34828
+ if (!Util.isUnset(request.fileName)) {
34829
+ body["FileName"] = request.fileName;
34830
+ }
34831
+
34832
+ if (!Util.isUnset(request.instanceId)) {
34833
+ body["InstanceId"] = request.instanceId;
34834
+ }
34835
+
34836
+ if (!Util.isUnset(request.requestId)) {
34837
+ body["RequestId"] = request.requestId;
34838
+ }
34839
+
34840
+ let req = new $OpenApi.OpenApiRequest({
34841
+ body: OpenApiUtil.parseToMap(body),
34842
+ });
34843
+ let params = new $OpenApi.Params({
34844
+ action: "GetDocumentUploadParameters",
34845
+ version: "2020-07-01",
34846
+ protocol: "HTTPS",
34847
+ pathname: "/",
34848
+ method: "POST",
34849
+ authType: "AK",
34850
+ style: "RPC",
34851
+ reqBodyType: "formData",
34852
+ bodyType: "json",
34853
+ });
34854
+ return $tea.cast<GetDocumentUploadParametersResponse>(await this.callApi(params, req, runtime), new GetDocumentUploadParametersResponse({}));
34855
+ }
34856
+
34857
+ /**
34858
+ * @param request GetDocumentUploadParametersRequest
34859
+ * @return GetDocumentUploadParametersResponse
34860
+ */
34861
+ async getDocumentUploadParameters(request: GetDocumentUploadParametersRequest): Promise<GetDocumentUploadParametersResponse> {
34862
+ let runtime = new $Util.RuntimeOptions({ });
34863
+ return await this.getDocumentUploadParametersWithOptions(request, runtime);
34864
+ }
34865
+
33138
34866
  /**
33139
34867
  * @summary 获取早媒体音频
33140
34868
  *
@@ -34205,6 +35933,56 @@ export default class Client extends OpenApi {
34205
35933
  return await this.importDoNotCallNumbersWithOptions(request, runtime);
34206
35934
  }
34207
35935
 
35936
+ /**
35937
+ * @param request ImportDocumentsRequest
35938
+ * @param runtime runtime options for this request RuntimeOptions
35939
+ * @return ImportDocumentsResponse
35940
+ */
35941
+ async importDocumentsWithOptions(request: ImportDocumentsRequest, runtime: $Util.RuntimeOptions): Promise<ImportDocumentsResponse> {
35942
+ Util.validateModel(request);
35943
+ let body : {[key: string ]: any} = { };
35944
+ if (!Util.isUnset(request.instanceId)) {
35945
+ body["InstanceId"] = request.instanceId;
35946
+ }
35947
+
35948
+ if (!Util.isUnset(request.ossFileKey)) {
35949
+ body["OssFileKey"] = request.ossFileKey;
35950
+ }
35951
+
35952
+ if (!Util.isUnset(request.requestId)) {
35953
+ body["RequestId"] = request.requestId;
35954
+ }
35955
+
35956
+ if (!Util.isUnset(request.schemaId)) {
35957
+ body["SchemaId"] = request.schemaId;
35958
+ }
35959
+
35960
+ let req = new $OpenApi.OpenApiRequest({
35961
+ body: OpenApiUtil.parseToMap(body),
35962
+ });
35963
+ let params = new $OpenApi.Params({
35964
+ action: "ImportDocuments",
35965
+ version: "2020-07-01",
35966
+ protocol: "HTTPS",
35967
+ pathname: "/",
35968
+ method: "POST",
35969
+ authType: "AK",
35970
+ style: "RPC",
35971
+ reqBodyType: "formData",
35972
+ bodyType: "json",
35973
+ });
35974
+ return $tea.cast<ImportDocumentsResponse>(await this.callApi(params, req, runtime), new ImportDocumentsResponse({}));
35975
+ }
35976
+
35977
+ /**
35978
+ * @param request ImportDocumentsRequest
35979
+ * @return ImportDocumentsResponse
35980
+ */
35981
+ async importDocuments(request: ImportDocumentsRequest): Promise<ImportDocumentsResponse> {
35982
+ let runtime = new $Util.RuntimeOptions({ });
35983
+ return await this.importDocumentsWithOptions(request, runtime);
35984
+ }
35985
+
34208
35986
  /**
34209
35987
  * @param request InitiateAttendedTransferRequest
34210
35988
  * @param runtime runtime options for this request RuntimeOptions
@@ -35457,6 +37235,74 @@ export default class Client extends OpenApi {
35457
37235
  return await this.listDoNotCallNumbersWithOptions(request, runtime);
35458
37236
  }
35459
37237
 
37238
+ /**
37239
+ * @param tmpReq ListDocumentsRequest
37240
+ * @param runtime runtime options for this request RuntimeOptions
37241
+ * @return ListDocumentsResponse
37242
+ */
37243
+ async listDocumentsWithOptions(tmpReq: ListDocumentsRequest, runtime: $Util.RuntimeOptions): Promise<ListDocumentsResponse> {
37244
+ Util.validateModel(tmpReq);
37245
+ let request = new ListDocumentsShrinkRequest({ });
37246
+ OpenApiUtil.convert(tmpReq, request);
37247
+ if (!Util.isUnset(tmpReq.sorts)) {
37248
+ request.sortsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sorts, "Sorts", "json");
37249
+ }
37250
+
37251
+ let body : {[key: string ]: any} = { };
37252
+ if (!Util.isUnset(request.instanceId)) {
37253
+ body["InstanceId"] = request.instanceId;
37254
+ }
37255
+
37256
+ if (!Util.isUnset(request.nextPageToken)) {
37257
+ body["NextPageToken"] = request.nextPageToken;
37258
+ }
37259
+
37260
+ if (!Util.isUnset(request.pageSize)) {
37261
+ body["PageSize"] = request.pageSize;
37262
+ }
37263
+
37264
+ if (!Util.isUnset(request.requestId)) {
37265
+ body["RequestId"] = request.requestId;
37266
+ }
37267
+
37268
+ if (!Util.isUnset(request.schemaId)) {
37269
+ body["SchemaId"] = request.schemaId;
37270
+ }
37271
+
37272
+ if (!Util.isUnset(request.searchPattern)) {
37273
+ body["SearchPattern"] = request.searchPattern;
37274
+ }
37275
+
37276
+ if (!Util.isUnset(request.sortsShrink)) {
37277
+ body["Sorts"] = request.sortsShrink;
37278
+ }
37279
+
37280
+ let req = new $OpenApi.OpenApiRequest({
37281
+ body: OpenApiUtil.parseToMap(body),
37282
+ });
37283
+ let params = new $OpenApi.Params({
37284
+ action: "ListDocuments",
37285
+ version: "2020-07-01",
37286
+ protocol: "HTTPS",
37287
+ pathname: "/",
37288
+ method: "POST",
37289
+ authType: "AK",
37290
+ style: "RPC",
37291
+ reqBodyType: "formData",
37292
+ bodyType: "json",
37293
+ });
37294
+ return $tea.cast<ListDocumentsResponse>(await this.callApi(params, req, runtime), new ListDocumentsResponse({}));
37295
+ }
37296
+
37297
+ /**
37298
+ * @param request ListDocumentsRequest
37299
+ * @return ListDocumentsResponse
37300
+ */
37301
+ async listDocuments(request: ListDocumentsRequest): Promise<ListDocumentsResponse> {
37302
+ let runtime = new $Util.RuntimeOptions({ });
37303
+ return await this.listDocumentsWithOptions(request, runtime);
37304
+ }
37305
+
35460
37306
  /**
35461
37307
  * @param request ListHistoricalAgentReportRequest
35462
37308
  * @param runtime runtime options for this request RuntimeOptions
@@ -39075,6 +40921,60 @@ export default class Client extends OpenApi {
39075
40921
  return await this.retrieveCallWithOptions(request, runtime);
39076
40922
  }
39077
40923
 
40924
+ /**
40925
+ * @param request SaveDocumentRequest
40926
+ * @param runtime runtime options for this request RuntimeOptions
40927
+ * @return SaveDocumentResponse
40928
+ */
40929
+ async saveDocumentWithOptions(request: SaveDocumentRequest, runtime: $Util.RuntimeOptions): Promise<SaveDocumentResponse> {
40930
+ Util.validateModel(request);
40931
+ let body : {[key: string ]: any} = { };
40932
+ if (!Util.isUnset(request.documentId)) {
40933
+ body["DocumentId"] = request.documentId;
40934
+ }
40935
+
40936
+ if (!Util.isUnset(request.documentJson)) {
40937
+ body["DocumentJson"] = request.documentJson;
40938
+ }
40939
+
40940
+ if (!Util.isUnset(request.instanceId)) {
40941
+ body["InstanceId"] = request.instanceId;
40942
+ }
40943
+
40944
+ if (!Util.isUnset(request.requestId)) {
40945
+ body["RequestId"] = request.requestId;
40946
+ }
40947
+
40948
+ if (!Util.isUnset(request.schemaId)) {
40949
+ body["SchemaId"] = request.schemaId;
40950
+ }
40951
+
40952
+ let req = new $OpenApi.OpenApiRequest({
40953
+ body: OpenApiUtil.parseToMap(body),
40954
+ });
40955
+ let params = new $OpenApi.Params({
40956
+ action: "SaveDocument",
40957
+ version: "2020-07-01",
40958
+ protocol: "HTTPS",
40959
+ pathname: "/",
40960
+ method: "POST",
40961
+ authType: "AK",
40962
+ style: "RPC",
40963
+ reqBodyType: "formData",
40964
+ bodyType: "json",
40965
+ });
40966
+ return $tea.cast<SaveDocumentResponse>(await this.callApi(params, req, runtime), new SaveDocumentResponse({}));
40967
+ }
40968
+
40969
+ /**
40970
+ * @param request SaveDocumentRequest
40971
+ * @return SaveDocumentResponse
40972
+ */
40973
+ async saveDocument(request: SaveDocumentRequest): Promise<SaveDocumentResponse> {
40974
+ let runtime = new $Util.RuntimeOptions({ });
40975
+ return await this.saveDocumentWithOptions(request, runtime);
40976
+ }
40977
+
39078
40978
  /**
39079
40979
  * @param request SaveRTCStatsV2Request
39080
40980
  * @param runtime runtime options for this request RuntimeOptions
@@ -40125,4 +42025,60 @@ export default class Client extends OpenApi {
40125
42025
  return await this.updateConfigItemsWithOptions(request, runtime);
40126
42026
  }
40127
42027
 
42028
+ /**
42029
+ * @param tmpReq UpdateSchemaPropertyRequest
42030
+ * @param runtime runtime options for this request RuntimeOptions
42031
+ * @return UpdateSchemaPropertyResponse
42032
+ */
42033
+ async updateSchemaPropertyWithOptions(tmpReq: UpdateSchemaPropertyRequest, runtime: $Util.RuntimeOptions): Promise<UpdateSchemaPropertyResponse> {
42034
+ Util.validateModel(tmpReq);
42035
+ let request = new UpdateSchemaPropertyShrinkRequest({ });
42036
+ OpenApiUtil.convert(tmpReq, request);
42037
+ if (!Util.isUnset(tmpReq.property)) {
42038
+ request.propertyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.property, "Property", "json");
42039
+ }
42040
+
42041
+ let body : {[key: string ]: any} = { };
42042
+ if (!Util.isUnset(request.instanceId)) {
42043
+ body["InstanceId"] = request.instanceId;
42044
+ }
42045
+
42046
+ if (!Util.isUnset(request.propertyShrink)) {
42047
+ body["Property"] = request.propertyShrink;
42048
+ }
42049
+
42050
+ if (!Util.isUnset(request.requestId)) {
42051
+ body["RequestId"] = request.requestId;
42052
+ }
42053
+
42054
+ if (!Util.isUnset(request.schemaId)) {
42055
+ body["SchemaId"] = request.schemaId;
42056
+ }
42057
+
42058
+ let req = new $OpenApi.OpenApiRequest({
42059
+ body: OpenApiUtil.parseToMap(body),
42060
+ });
42061
+ let params = new $OpenApi.Params({
42062
+ action: "UpdateSchemaProperty",
42063
+ version: "2020-07-01",
42064
+ protocol: "HTTPS",
42065
+ pathname: "/",
42066
+ method: "POST",
42067
+ authType: "AK",
42068
+ style: "RPC",
42069
+ reqBodyType: "formData",
42070
+ bodyType: "json",
42071
+ });
42072
+ return $tea.cast<UpdateSchemaPropertyResponse>(await this.callApi(params, req, runtime), new UpdateSchemaPropertyResponse({}));
42073
+ }
42074
+
42075
+ /**
42076
+ * @param request UpdateSchemaPropertyRequest
42077
+ * @return UpdateSchemaPropertyResponse
42078
+ */
42079
+ async updateSchemaProperty(request: UpdateSchemaPropertyRequest): Promise<UpdateSchemaPropertyResponse> {
42080
+ let runtime = new $Util.RuntimeOptions({ });
42081
+ return await this.updateSchemaPropertyWithOptions(request, runtime);
42082
+ }
42083
+
40128
42084
  }