@alicloud/ccc20200701 2.28.0 → 2.30.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 +568 -0
- package/dist/client.js +608 -22
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +962 -0
package/src/client.ts
CHANGED
|
@@ -777,6 +777,121 @@ export class AddCasesResponse extends $tea.Model {
|
|
|
777
777
|
}
|
|
778
778
|
}
|
|
779
779
|
|
|
780
|
+
export class AddFeedbackRequest extends $tea.Model {
|
|
781
|
+
feedback?: string;
|
|
782
|
+
/**
|
|
783
|
+
* @remarks
|
|
784
|
+
* This parameter is required.
|
|
785
|
+
*
|
|
786
|
+
* @example
|
|
787
|
+
* ccc-test
|
|
788
|
+
*/
|
|
789
|
+
instanceId?: string;
|
|
790
|
+
/**
|
|
791
|
+
* @example
|
|
792
|
+
* thumbsUp
|
|
793
|
+
*/
|
|
794
|
+
rating?: number;
|
|
795
|
+
/**
|
|
796
|
+
* @example
|
|
797
|
+
* f780ade8-****-458b-b067-63077946a570
|
|
798
|
+
*/
|
|
799
|
+
taskId?: string;
|
|
800
|
+
/**
|
|
801
|
+
* @example
|
|
802
|
+
* Abstract:fields
|
|
803
|
+
*/
|
|
804
|
+
taskName?: string;
|
|
805
|
+
static names(): { [key: string]: string } {
|
|
806
|
+
return {
|
|
807
|
+
feedback: 'Feedback',
|
|
808
|
+
instanceId: 'InstanceId',
|
|
809
|
+
rating: 'Rating',
|
|
810
|
+
taskId: 'TaskId',
|
|
811
|
+
taskName: 'TaskName',
|
|
812
|
+
};
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
static types(): { [key: string]: any } {
|
|
816
|
+
return {
|
|
817
|
+
feedback: 'string',
|
|
818
|
+
instanceId: 'string',
|
|
819
|
+
rating: 'number',
|
|
820
|
+
taskId: 'string',
|
|
821
|
+
taskName: 'string',
|
|
822
|
+
};
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
constructor(map?: { [key: string]: any }) {
|
|
826
|
+
super(map);
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
export class AddFeedbackResponseBody extends $tea.Model {
|
|
831
|
+
/**
|
|
832
|
+
* @example
|
|
833
|
+
* OK
|
|
834
|
+
*/
|
|
835
|
+
code?: string;
|
|
836
|
+
/**
|
|
837
|
+
* @example
|
|
838
|
+
* 200
|
|
839
|
+
*/
|
|
840
|
+
httpStatusCode?: number;
|
|
841
|
+
message?: string;
|
|
842
|
+
/**
|
|
843
|
+
* @example
|
|
844
|
+
* C81FD1A5-4B99-470A-A527-D80150228784
|
|
845
|
+
*/
|
|
846
|
+
requestId?: string;
|
|
847
|
+
static names(): { [key: string]: string } {
|
|
848
|
+
return {
|
|
849
|
+
code: 'Code',
|
|
850
|
+
httpStatusCode: 'HttpStatusCode',
|
|
851
|
+
message: 'Message',
|
|
852
|
+
requestId: 'RequestId',
|
|
853
|
+
};
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
static types(): { [key: string]: any } {
|
|
857
|
+
return {
|
|
858
|
+
code: 'string',
|
|
859
|
+
httpStatusCode: 'number',
|
|
860
|
+
message: 'string',
|
|
861
|
+
requestId: 'string',
|
|
862
|
+
};
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
constructor(map?: { [key: string]: any }) {
|
|
866
|
+
super(map);
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
export class AddFeedbackResponse extends $tea.Model {
|
|
871
|
+
headers?: { [key: string]: string };
|
|
872
|
+
statusCode?: number;
|
|
873
|
+
body?: AddFeedbackResponseBody;
|
|
874
|
+
static names(): { [key: string]: string } {
|
|
875
|
+
return {
|
|
876
|
+
headers: 'headers',
|
|
877
|
+
statusCode: 'statusCode',
|
|
878
|
+
body: 'body',
|
|
879
|
+
};
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
static types(): { [key: string]: any } {
|
|
883
|
+
return {
|
|
884
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
885
|
+
statusCode: 'number',
|
|
886
|
+
body: AddFeedbackResponseBody,
|
|
887
|
+
};
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
constructor(map?: { [key: string]: any }) {
|
|
891
|
+
super(map);
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
|
|
780
895
|
export class AddNumbersToSkillGroupRequest extends $tea.Model {
|
|
781
896
|
instNumberGroupIdList?: string;
|
|
782
897
|
/**
|
|
@@ -2834,9 +2949,20 @@ export class ChangeVisibilityRequest extends $tea.Model {
|
|
|
2834
2949
|
/**
|
|
2835
2950
|
* @remarks
|
|
2836
2951
|
* This parameter is required.
|
|
2952
|
+
*
|
|
2953
|
+
* @example
|
|
2954
|
+
* szpczf
|
|
2837
2955
|
*/
|
|
2838
2956
|
instanceId?: string;
|
|
2957
|
+
/**
|
|
2958
|
+
* @example
|
|
2959
|
+
* true
|
|
2960
|
+
*/
|
|
2839
2961
|
invisible?: boolean;
|
|
2962
|
+
/**
|
|
2963
|
+
* @example
|
|
2964
|
+
* sam@szpczf
|
|
2965
|
+
*/
|
|
2840
2966
|
userId?: string;
|
|
2841
2967
|
static names(): { [key: string]: string } {
|
|
2842
2968
|
return {
|
|
@@ -2860,11 +2986,27 @@ export class ChangeVisibilityRequest extends $tea.Model {
|
|
|
2860
2986
|
}
|
|
2861
2987
|
|
|
2862
2988
|
export class ChangeVisibilityResponseBody extends $tea.Model {
|
|
2989
|
+
/**
|
|
2990
|
+
* @example
|
|
2991
|
+
* OK
|
|
2992
|
+
*/
|
|
2863
2993
|
code?: string;
|
|
2864
2994
|
data?: ChangeVisibilityResponseBodyData;
|
|
2995
|
+
/**
|
|
2996
|
+
* @example
|
|
2997
|
+
* 200
|
|
2998
|
+
*/
|
|
2865
2999
|
httpStatusCode?: number;
|
|
3000
|
+
/**
|
|
3001
|
+
* @example
|
|
3002
|
+
* Internal service issue. Detail:.
|
|
3003
|
+
*/
|
|
2866
3004
|
message?: string;
|
|
2867
3005
|
params?: string[];
|
|
3006
|
+
/**
|
|
3007
|
+
* @example
|
|
3008
|
+
* 24BE19E8-BF7D-4992-A35E-15EBA874F2E5
|
|
3009
|
+
*/
|
|
2868
3010
|
requestId?: string;
|
|
2869
3011
|
static names(): { [key: string]: string } {
|
|
2870
3012
|
return {
|
|
@@ -5811,6 +5953,107 @@ export class DeleteDocumentsResponse extends $tea.Model {
|
|
|
5811
5953
|
}
|
|
5812
5954
|
}
|
|
5813
5955
|
|
|
5956
|
+
export class DeleteInstanceRequest extends $tea.Model {
|
|
5957
|
+
/**
|
|
5958
|
+
* @remarks
|
|
5959
|
+
* This parameter is required.
|
|
5960
|
+
*
|
|
5961
|
+
* @example
|
|
5962
|
+
* ccc-test
|
|
5963
|
+
*/
|
|
5964
|
+
instanceId?: string;
|
|
5965
|
+
static names(): { [key: string]: string } {
|
|
5966
|
+
return {
|
|
5967
|
+
instanceId: 'InstanceId',
|
|
5968
|
+
};
|
|
5969
|
+
}
|
|
5970
|
+
|
|
5971
|
+
static types(): { [key: string]: any } {
|
|
5972
|
+
return {
|
|
5973
|
+
instanceId: 'string',
|
|
5974
|
+
};
|
|
5975
|
+
}
|
|
5976
|
+
|
|
5977
|
+
constructor(map?: { [key: string]: any }) {
|
|
5978
|
+
super(map);
|
|
5979
|
+
}
|
|
5980
|
+
}
|
|
5981
|
+
|
|
5982
|
+
export class DeleteInstanceResponseBody extends $tea.Model {
|
|
5983
|
+
/**
|
|
5984
|
+
* @example
|
|
5985
|
+
* OK
|
|
5986
|
+
*/
|
|
5987
|
+
code?: string;
|
|
5988
|
+
/**
|
|
5989
|
+
* @example
|
|
5990
|
+
* b7feb007-994a-497f-8934-2f0c6f89867c
|
|
5991
|
+
*/
|
|
5992
|
+
data?: string;
|
|
5993
|
+
/**
|
|
5994
|
+
* @example
|
|
5995
|
+
* 200
|
|
5996
|
+
*/
|
|
5997
|
+
httpStatusCode?: number;
|
|
5998
|
+
message?: string;
|
|
5999
|
+
params?: string[];
|
|
6000
|
+
/**
|
|
6001
|
+
* @example
|
|
6002
|
+
* EEEE671A-3E24-4A04-81E6-6C4F5B39DF75
|
|
6003
|
+
*/
|
|
6004
|
+
requestId?: string;
|
|
6005
|
+
static names(): { [key: string]: string } {
|
|
6006
|
+
return {
|
|
6007
|
+
code: 'Code',
|
|
6008
|
+
data: 'Data',
|
|
6009
|
+
httpStatusCode: 'HttpStatusCode',
|
|
6010
|
+
message: 'Message',
|
|
6011
|
+
params: 'Params',
|
|
6012
|
+
requestId: 'RequestId',
|
|
6013
|
+
};
|
|
6014
|
+
}
|
|
6015
|
+
|
|
6016
|
+
static types(): { [key: string]: any } {
|
|
6017
|
+
return {
|
|
6018
|
+
code: 'string',
|
|
6019
|
+
data: 'string',
|
|
6020
|
+
httpStatusCode: 'number',
|
|
6021
|
+
message: 'string',
|
|
6022
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
6023
|
+
requestId: 'string',
|
|
6024
|
+
};
|
|
6025
|
+
}
|
|
6026
|
+
|
|
6027
|
+
constructor(map?: { [key: string]: any }) {
|
|
6028
|
+
super(map);
|
|
6029
|
+
}
|
|
6030
|
+
}
|
|
6031
|
+
|
|
6032
|
+
export class DeleteInstanceResponse extends $tea.Model {
|
|
6033
|
+
headers?: { [key: string]: string };
|
|
6034
|
+
statusCode?: number;
|
|
6035
|
+
body?: DeleteInstanceResponseBody;
|
|
6036
|
+
static names(): { [key: string]: string } {
|
|
6037
|
+
return {
|
|
6038
|
+
headers: 'headers',
|
|
6039
|
+
statusCode: 'statusCode',
|
|
6040
|
+
body: 'body',
|
|
6041
|
+
};
|
|
6042
|
+
}
|
|
6043
|
+
|
|
6044
|
+
static types(): { [key: string]: any } {
|
|
6045
|
+
return {
|
|
6046
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6047
|
+
statusCode: 'number',
|
|
6048
|
+
body: DeleteInstanceResponseBody,
|
|
6049
|
+
};
|
|
6050
|
+
}
|
|
6051
|
+
|
|
6052
|
+
constructor(map?: { [key: string]: any }) {
|
|
6053
|
+
super(map);
|
|
6054
|
+
}
|
|
6055
|
+
}
|
|
6056
|
+
|
|
5814
6057
|
export class DeleteSchemaRequest extends $tea.Model {
|
|
5815
6058
|
/**
|
|
5816
6059
|
* @remarks
|
|
@@ -7051,6 +7294,124 @@ export class EndConferenceResponse extends $tea.Model {
|
|
|
7051
7294
|
}
|
|
7052
7295
|
}
|
|
7053
7296
|
|
|
7297
|
+
export class ExportContactFlowRequest extends $tea.Model {
|
|
7298
|
+
/**
|
|
7299
|
+
* @remarks
|
|
7300
|
+
* This parameter is required.
|
|
7301
|
+
*
|
|
7302
|
+
* @example
|
|
7303
|
+
* lc-uf61xdtm0mf73k
|
|
7304
|
+
*/
|
|
7305
|
+
flowId?: string;
|
|
7306
|
+
/**
|
|
7307
|
+
* @remarks
|
|
7308
|
+
* This parameter is required.
|
|
7309
|
+
*
|
|
7310
|
+
* @example
|
|
7311
|
+
* 9cfad875-6260-4a53-ab6e-b13e3fb3xxxx
|
|
7312
|
+
*/
|
|
7313
|
+
instanceId?: string;
|
|
7314
|
+
/**
|
|
7315
|
+
* @example
|
|
7316
|
+
* AF9834D8-6D09-4A1B-BADB-B019D9D444C8
|
|
7317
|
+
*/
|
|
7318
|
+
requestId?: string;
|
|
7319
|
+
static names(): { [key: string]: string } {
|
|
7320
|
+
return {
|
|
7321
|
+
flowId: 'FlowId',
|
|
7322
|
+
instanceId: 'InstanceId',
|
|
7323
|
+
requestId: 'RequestId',
|
|
7324
|
+
};
|
|
7325
|
+
}
|
|
7326
|
+
|
|
7327
|
+
static types(): { [key: string]: any } {
|
|
7328
|
+
return {
|
|
7329
|
+
flowId: 'string',
|
|
7330
|
+
instanceId: 'string',
|
|
7331
|
+
requestId: 'string',
|
|
7332
|
+
};
|
|
7333
|
+
}
|
|
7334
|
+
|
|
7335
|
+
constructor(map?: { [key: string]: any }) {
|
|
7336
|
+
super(map);
|
|
7337
|
+
}
|
|
7338
|
+
}
|
|
7339
|
+
|
|
7340
|
+
export class ExportContactFlowResponseBody extends $tea.Model {
|
|
7341
|
+
/**
|
|
7342
|
+
* @example
|
|
7343
|
+
* OK
|
|
7344
|
+
*/
|
|
7345
|
+
code?: string;
|
|
7346
|
+
/**
|
|
7347
|
+
* @example
|
|
7348
|
+
* {}
|
|
7349
|
+
*/
|
|
7350
|
+
flowPackageData?: string;
|
|
7351
|
+
/**
|
|
7352
|
+
* @example
|
|
7353
|
+
* 200
|
|
7354
|
+
*/
|
|
7355
|
+
httpStatusCode?: number;
|
|
7356
|
+
message?: string;
|
|
7357
|
+
params?: string[];
|
|
7358
|
+
/**
|
|
7359
|
+
* @example
|
|
7360
|
+
* DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE
|
|
7361
|
+
*/
|
|
7362
|
+
requestId?: string;
|
|
7363
|
+
static names(): { [key: string]: string } {
|
|
7364
|
+
return {
|
|
7365
|
+
code: 'Code',
|
|
7366
|
+
flowPackageData: 'FlowPackageData',
|
|
7367
|
+
httpStatusCode: 'HttpStatusCode',
|
|
7368
|
+
message: 'Message',
|
|
7369
|
+
params: 'Params',
|
|
7370
|
+
requestId: 'RequestId',
|
|
7371
|
+
};
|
|
7372
|
+
}
|
|
7373
|
+
|
|
7374
|
+
static types(): { [key: string]: any } {
|
|
7375
|
+
return {
|
|
7376
|
+
code: 'string',
|
|
7377
|
+
flowPackageData: 'string',
|
|
7378
|
+
httpStatusCode: 'number',
|
|
7379
|
+
message: 'string',
|
|
7380
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
7381
|
+
requestId: 'string',
|
|
7382
|
+
};
|
|
7383
|
+
}
|
|
7384
|
+
|
|
7385
|
+
constructor(map?: { [key: string]: any }) {
|
|
7386
|
+
super(map);
|
|
7387
|
+
}
|
|
7388
|
+
}
|
|
7389
|
+
|
|
7390
|
+
export class ExportContactFlowResponse extends $tea.Model {
|
|
7391
|
+
headers?: { [key: string]: string };
|
|
7392
|
+
statusCode?: number;
|
|
7393
|
+
body?: ExportContactFlowResponseBody;
|
|
7394
|
+
static names(): { [key: string]: string } {
|
|
7395
|
+
return {
|
|
7396
|
+
headers: 'headers',
|
|
7397
|
+
statusCode: 'statusCode',
|
|
7398
|
+
body: 'body',
|
|
7399
|
+
};
|
|
7400
|
+
}
|
|
7401
|
+
|
|
7402
|
+
static types(): { [key: string]: any } {
|
|
7403
|
+
return {
|
|
7404
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7405
|
+
statusCode: 'number',
|
|
7406
|
+
body: ExportContactFlowResponseBody,
|
|
7407
|
+
};
|
|
7408
|
+
}
|
|
7409
|
+
|
|
7410
|
+
constructor(map?: { [key: string]: any }) {
|
|
7411
|
+
super(map);
|
|
7412
|
+
}
|
|
7413
|
+
}
|
|
7414
|
+
|
|
7054
7415
|
export class ExportCustomCallTaggingRequest extends $tea.Model {
|
|
7055
7416
|
/**
|
|
7056
7417
|
* @remarks
|
|
@@ -11763,6 +12124,117 @@ export class ImportAdminsResponse extends $tea.Model {
|
|
|
11763
12124
|
}
|
|
11764
12125
|
}
|
|
11765
12126
|
|
|
12127
|
+
export class ImportContactFlowRequest extends $tea.Model {
|
|
12128
|
+
/**
|
|
12129
|
+
* @remarks
|
|
12130
|
+
* This parameter is required.
|
|
12131
|
+
*
|
|
12132
|
+
* @example
|
|
12133
|
+
* {}
|
|
12134
|
+
*/
|
|
12135
|
+
flowPackageData?: string;
|
|
12136
|
+
/**
|
|
12137
|
+
* @remarks
|
|
12138
|
+
* This parameter is required.
|
|
12139
|
+
*
|
|
12140
|
+
* @example
|
|
12141
|
+
* 9cfad875-6260-4a53-ab6e-b13e3fb31f7d
|
|
12142
|
+
*/
|
|
12143
|
+
instanceId?: string;
|
|
12144
|
+
/**
|
|
12145
|
+
* @example
|
|
12146
|
+
* DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE
|
|
12147
|
+
*/
|
|
12148
|
+
requestId?: string;
|
|
12149
|
+
static names(): { [key: string]: string } {
|
|
12150
|
+
return {
|
|
12151
|
+
flowPackageData: 'FlowPackageData',
|
|
12152
|
+
instanceId: 'InstanceId',
|
|
12153
|
+
requestId: 'RequestId',
|
|
12154
|
+
};
|
|
12155
|
+
}
|
|
12156
|
+
|
|
12157
|
+
static types(): { [key: string]: any } {
|
|
12158
|
+
return {
|
|
12159
|
+
flowPackageData: 'string',
|
|
12160
|
+
instanceId: 'string',
|
|
12161
|
+
requestId: 'string',
|
|
12162
|
+
};
|
|
12163
|
+
}
|
|
12164
|
+
|
|
12165
|
+
constructor(map?: { [key: string]: any }) {
|
|
12166
|
+
super(map);
|
|
12167
|
+
}
|
|
12168
|
+
}
|
|
12169
|
+
|
|
12170
|
+
export class ImportContactFlowResponseBody extends $tea.Model {
|
|
12171
|
+
/**
|
|
12172
|
+
* @example
|
|
12173
|
+
* OK
|
|
12174
|
+
*/
|
|
12175
|
+
code?: string;
|
|
12176
|
+
/**
|
|
12177
|
+
* @example
|
|
12178
|
+
* 200
|
|
12179
|
+
*/
|
|
12180
|
+
httpStatusCode?: number;
|
|
12181
|
+
message?: string;
|
|
12182
|
+
params?: string[];
|
|
12183
|
+
/**
|
|
12184
|
+
* @example
|
|
12185
|
+
* 27DD30C4-CAE2-481A-97CC-D3C54625341D
|
|
12186
|
+
*/
|
|
12187
|
+
requestId?: string;
|
|
12188
|
+
static names(): { [key: string]: string } {
|
|
12189
|
+
return {
|
|
12190
|
+
code: 'Code',
|
|
12191
|
+
httpStatusCode: 'HttpStatusCode',
|
|
12192
|
+
message: 'Message',
|
|
12193
|
+
params: 'Params',
|
|
12194
|
+
requestId: 'RequestId',
|
|
12195
|
+
};
|
|
12196
|
+
}
|
|
12197
|
+
|
|
12198
|
+
static types(): { [key: string]: any } {
|
|
12199
|
+
return {
|
|
12200
|
+
code: 'string',
|
|
12201
|
+
httpStatusCode: 'number',
|
|
12202
|
+
message: 'string',
|
|
12203
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
12204
|
+
requestId: 'string',
|
|
12205
|
+
};
|
|
12206
|
+
}
|
|
12207
|
+
|
|
12208
|
+
constructor(map?: { [key: string]: any }) {
|
|
12209
|
+
super(map);
|
|
12210
|
+
}
|
|
12211
|
+
}
|
|
12212
|
+
|
|
12213
|
+
export class ImportContactFlowResponse extends $tea.Model {
|
|
12214
|
+
headers?: { [key: string]: string };
|
|
12215
|
+
statusCode?: number;
|
|
12216
|
+
body?: ImportContactFlowResponseBody;
|
|
12217
|
+
static names(): { [key: string]: string } {
|
|
12218
|
+
return {
|
|
12219
|
+
headers: 'headers',
|
|
12220
|
+
statusCode: 'statusCode',
|
|
12221
|
+
body: 'body',
|
|
12222
|
+
};
|
|
12223
|
+
}
|
|
12224
|
+
|
|
12225
|
+
static types(): { [key: string]: any } {
|
|
12226
|
+
return {
|
|
12227
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
12228
|
+
statusCode: 'number',
|
|
12229
|
+
body: ImportContactFlowResponseBody,
|
|
12230
|
+
};
|
|
12231
|
+
}
|
|
12232
|
+
|
|
12233
|
+
constructor(map?: { [key: string]: any }) {
|
|
12234
|
+
super(map);
|
|
12235
|
+
}
|
|
12236
|
+
}
|
|
12237
|
+
|
|
11766
12238
|
export class ImportCorpNumbersRequest extends $tea.Model {
|
|
11767
12239
|
city?: string;
|
|
11768
12240
|
corpName?: string;
|
|
@@ -20118,6 +20590,130 @@ export class ListSkillLevelsOfUserResponse extends $tea.Model {
|
|
|
20118
20590
|
}
|
|
20119
20591
|
}
|
|
20120
20592
|
|
|
20593
|
+
export class ListSmsMetadataRequest extends $tea.Model {
|
|
20594
|
+
/**
|
|
20595
|
+
* @remarks
|
|
20596
|
+
* This parameter is required.
|
|
20597
|
+
*
|
|
20598
|
+
* @example
|
|
20599
|
+
* ccc-test
|
|
20600
|
+
*/
|
|
20601
|
+
instanceId?: string;
|
|
20602
|
+
/**
|
|
20603
|
+
* @remarks
|
|
20604
|
+
* This parameter is required.
|
|
20605
|
+
*
|
|
20606
|
+
* @example
|
|
20607
|
+
* 1
|
|
20608
|
+
*/
|
|
20609
|
+
pageNumber?: number;
|
|
20610
|
+
/**
|
|
20611
|
+
* @remarks
|
|
20612
|
+
* This parameter is required.
|
|
20613
|
+
*
|
|
20614
|
+
* @example
|
|
20615
|
+
* 100
|
|
20616
|
+
*/
|
|
20617
|
+
pageSize?: number;
|
|
20618
|
+
/**
|
|
20619
|
+
* @example
|
|
20620
|
+
* ["SATISFACTION_SURVEY","CONTACT_FLOW_NODE"]
|
|
20621
|
+
*/
|
|
20622
|
+
scenarioListJson?: string;
|
|
20623
|
+
static names(): { [key: string]: string } {
|
|
20624
|
+
return {
|
|
20625
|
+
instanceId: 'InstanceId',
|
|
20626
|
+
pageNumber: 'PageNumber',
|
|
20627
|
+
pageSize: 'PageSize',
|
|
20628
|
+
scenarioListJson: 'ScenarioListJson',
|
|
20629
|
+
};
|
|
20630
|
+
}
|
|
20631
|
+
|
|
20632
|
+
static types(): { [key: string]: any } {
|
|
20633
|
+
return {
|
|
20634
|
+
instanceId: 'string',
|
|
20635
|
+
pageNumber: 'number',
|
|
20636
|
+
pageSize: 'number',
|
|
20637
|
+
scenarioListJson: 'string',
|
|
20638
|
+
};
|
|
20639
|
+
}
|
|
20640
|
+
|
|
20641
|
+
constructor(map?: { [key: string]: any }) {
|
|
20642
|
+
super(map);
|
|
20643
|
+
}
|
|
20644
|
+
}
|
|
20645
|
+
|
|
20646
|
+
export class ListSmsMetadataResponseBody extends $tea.Model {
|
|
20647
|
+
/**
|
|
20648
|
+
* @example
|
|
20649
|
+
* OK
|
|
20650
|
+
*/
|
|
20651
|
+
code?: string;
|
|
20652
|
+
data?: ListSmsMetadataResponseBodyData;
|
|
20653
|
+
/**
|
|
20654
|
+
* @example
|
|
20655
|
+
* 200
|
|
20656
|
+
*/
|
|
20657
|
+
httpStatusCode?: number;
|
|
20658
|
+
message?: string;
|
|
20659
|
+
params?: string[];
|
|
20660
|
+
/**
|
|
20661
|
+
* @example
|
|
20662
|
+
* 8707EB29-BAED-4302-B999-40BA61877437
|
|
20663
|
+
*/
|
|
20664
|
+
requestId?: string;
|
|
20665
|
+
static names(): { [key: string]: string } {
|
|
20666
|
+
return {
|
|
20667
|
+
code: 'Code',
|
|
20668
|
+
data: 'Data',
|
|
20669
|
+
httpStatusCode: 'HttpStatusCode',
|
|
20670
|
+
message: 'Message',
|
|
20671
|
+
params: 'Params',
|
|
20672
|
+
requestId: 'RequestId',
|
|
20673
|
+
};
|
|
20674
|
+
}
|
|
20675
|
+
|
|
20676
|
+
static types(): { [key: string]: any } {
|
|
20677
|
+
return {
|
|
20678
|
+
code: 'string',
|
|
20679
|
+
data: ListSmsMetadataResponseBodyData,
|
|
20680
|
+
httpStatusCode: 'number',
|
|
20681
|
+
message: 'string',
|
|
20682
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
20683
|
+
requestId: 'string',
|
|
20684
|
+
};
|
|
20685
|
+
}
|
|
20686
|
+
|
|
20687
|
+
constructor(map?: { [key: string]: any }) {
|
|
20688
|
+
super(map);
|
|
20689
|
+
}
|
|
20690
|
+
}
|
|
20691
|
+
|
|
20692
|
+
export class ListSmsMetadataResponse extends $tea.Model {
|
|
20693
|
+
headers?: { [key: string]: string };
|
|
20694
|
+
statusCode?: number;
|
|
20695
|
+
body?: ListSmsMetadataResponseBody;
|
|
20696
|
+
static names(): { [key: string]: string } {
|
|
20697
|
+
return {
|
|
20698
|
+
headers: 'headers',
|
|
20699
|
+
statusCode: 'statusCode',
|
|
20700
|
+
body: 'body',
|
|
20701
|
+
};
|
|
20702
|
+
}
|
|
20703
|
+
|
|
20704
|
+
static types(): { [key: string]: any } {
|
|
20705
|
+
return {
|
|
20706
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20707
|
+
statusCode: 'number',
|
|
20708
|
+
body: ListSmsMetadataResponseBody,
|
|
20709
|
+
};
|
|
20710
|
+
}
|
|
20711
|
+
|
|
20712
|
+
constructor(map?: { [key: string]: any }) {
|
|
20713
|
+
super(map);
|
|
20714
|
+
}
|
|
20715
|
+
}
|
|
20716
|
+
|
|
20121
20717
|
export class ListTicketTasksRequest extends $tea.Model {
|
|
20122
20718
|
/**
|
|
20123
20719
|
* @remarks
|
|
@@ -30604,14 +31200,46 @@ export class CancelAttendedTransferResponseBodyData extends $tea.Model {
|
|
|
30604
31200
|
|
|
30605
31201
|
export class ChangeVisibilityResponseBodyData extends $tea.Model {
|
|
30606
31202
|
breakCode?: string;
|
|
31203
|
+
/**
|
|
31204
|
+
* @example
|
|
31205
|
+
* Yealink SIP-T23G 44.84.203.6
|
|
31206
|
+
*/
|
|
30607
31207
|
deviceId?: string;
|
|
31208
|
+
/**
|
|
31209
|
+
* @example
|
|
31210
|
+
* 8001****
|
|
31211
|
+
*/
|
|
30608
31212
|
extension?: string;
|
|
31213
|
+
/**
|
|
31214
|
+
* @example
|
|
31215
|
+
* szpczf
|
|
31216
|
+
*/
|
|
30609
31217
|
instanceId?: string;
|
|
31218
|
+
/**
|
|
31219
|
+
* @example
|
|
31220
|
+
* job-330557290544431104
|
|
31221
|
+
*/
|
|
30610
31222
|
jobId?: string;
|
|
31223
|
+
/**
|
|
31224
|
+
* @example
|
|
31225
|
+
* False
|
|
31226
|
+
*/
|
|
30611
31227
|
outboundScenario?: boolean;
|
|
30612
31228
|
signedSkillGroupIdList?: string[];
|
|
31229
|
+
/**
|
|
31230
|
+
* @example
|
|
31231
|
+
* sam@szpczf
|
|
31232
|
+
*/
|
|
30613
31233
|
userId?: string;
|
|
31234
|
+
/**
|
|
31235
|
+
* @example
|
|
31236
|
+
* Ready
|
|
31237
|
+
*/
|
|
30614
31238
|
userState?: string;
|
|
31239
|
+
/**
|
|
31240
|
+
* @example
|
|
31241
|
+
* ON_SITE
|
|
31242
|
+
*/
|
|
30615
31243
|
workMode?: string;
|
|
30616
31244
|
static names(): { [key: string]: string } {
|
|
30617
31245
|
return {
|
|
@@ -50358,6 +50986,106 @@ export class ListSkillLevelsOfUserResponseBodyData extends $tea.Model {
|
|
|
50358
50986
|
}
|
|
50359
50987
|
}
|
|
50360
50988
|
|
|
50989
|
+
export class ListSmsMetadataResponseBodyDataList extends $tea.Model {
|
|
50990
|
+
/**
|
|
50991
|
+
* @example
|
|
50992
|
+
* 15772400000****
|
|
50993
|
+
*/
|
|
50994
|
+
aliyunUid?: number;
|
|
50995
|
+
description?: string;
|
|
50996
|
+
/**
|
|
50997
|
+
* @example
|
|
50998
|
+
* ccc-test
|
|
50999
|
+
*/
|
|
51000
|
+
instanceId?: string;
|
|
51001
|
+
name?: string;
|
|
51002
|
+
/**
|
|
51003
|
+
* @example
|
|
51004
|
+
* MISSED_CALL_NOTIFICATION
|
|
51005
|
+
*/
|
|
51006
|
+
scenario?: string;
|
|
51007
|
+
signName?: string;
|
|
51008
|
+
/**
|
|
51009
|
+
* @example
|
|
51010
|
+
* 5ffc1c9a-4d3d-4019-*****-73255fb01d1c
|
|
51011
|
+
*/
|
|
51012
|
+
smsMetadataId?: string;
|
|
51013
|
+
/**
|
|
51014
|
+
* @example
|
|
51015
|
+
* SMS_468xxxx298
|
|
51016
|
+
*/
|
|
51017
|
+
templateCode?: string;
|
|
51018
|
+
static names(): { [key: string]: string } {
|
|
51019
|
+
return {
|
|
51020
|
+
aliyunUid: 'AliyunUid',
|
|
51021
|
+
description: 'Description',
|
|
51022
|
+
instanceId: 'InstanceId',
|
|
51023
|
+
name: 'Name',
|
|
51024
|
+
scenario: 'Scenario',
|
|
51025
|
+
signName: 'SignName',
|
|
51026
|
+
smsMetadataId: 'SmsMetadataId',
|
|
51027
|
+
templateCode: 'TemplateCode',
|
|
51028
|
+
};
|
|
51029
|
+
}
|
|
51030
|
+
|
|
51031
|
+
static types(): { [key: string]: any } {
|
|
51032
|
+
return {
|
|
51033
|
+
aliyunUid: 'number',
|
|
51034
|
+
description: 'string',
|
|
51035
|
+
instanceId: 'string',
|
|
51036
|
+
name: 'string',
|
|
51037
|
+
scenario: 'string',
|
|
51038
|
+
signName: 'string',
|
|
51039
|
+
smsMetadataId: 'string',
|
|
51040
|
+
templateCode: 'string',
|
|
51041
|
+
};
|
|
51042
|
+
}
|
|
51043
|
+
|
|
51044
|
+
constructor(map?: { [key: string]: any }) {
|
|
51045
|
+
super(map);
|
|
51046
|
+
}
|
|
51047
|
+
}
|
|
51048
|
+
|
|
51049
|
+
export class ListSmsMetadataResponseBodyData extends $tea.Model {
|
|
51050
|
+
list?: ListSmsMetadataResponseBodyDataList[];
|
|
51051
|
+
/**
|
|
51052
|
+
* @example
|
|
51053
|
+
* 1
|
|
51054
|
+
*/
|
|
51055
|
+
pageNumber?: number;
|
|
51056
|
+
/**
|
|
51057
|
+
* @example
|
|
51058
|
+
* 100
|
|
51059
|
+
*/
|
|
51060
|
+
pageSize?: number;
|
|
51061
|
+
/**
|
|
51062
|
+
* @example
|
|
51063
|
+
* 200
|
|
51064
|
+
*/
|
|
51065
|
+
totalCount?: number;
|
|
51066
|
+
static names(): { [key: string]: string } {
|
|
51067
|
+
return {
|
|
51068
|
+
list: 'List',
|
|
51069
|
+
pageNumber: 'PageNumber',
|
|
51070
|
+
pageSize: 'PageSize',
|
|
51071
|
+
totalCount: 'TotalCount',
|
|
51072
|
+
};
|
|
51073
|
+
}
|
|
51074
|
+
|
|
51075
|
+
static types(): { [key: string]: any } {
|
|
51076
|
+
return {
|
|
51077
|
+
list: { 'type': 'array', 'itemType': ListSmsMetadataResponseBodyDataList },
|
|
51078
|
+
pageNumber: 'number',
|
|
51079
|
+
pageSize: 'number',
|
|
51080
|
+
totalCount: 'number',
|
|
51081
|
+
};
|
|
51082
|
+
}
|
|
51083
|
+
|
|
51084
|
+
constructor(map?: { [key: string]: any }) {
|
|
51085
|
+
super(map);
|
|
51086
|
+
}
|
|
51087
|
+
}
|
|
51088
|
+
|
|
50361
51089
|
export class ListTicketTasksResponseBodyData extends $tea.Model {
|
|
50362
51090
|
/**
|
|
50363
51091
|
* @example
|
|
@@ -56187,6 +56915,60 @@ export default class Client extends OpenApi {
|
|
|
56187
56915
|
return await this.addCasesWithOptions(request, runtime);
|
|
56188
56916
|
}
|
|
56189
56917
|
|
|
56918
|
+
/**
|
|
56919
|
+
* @param request - AddFeedbackRequest
|
|
56920
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
56921
|
+
* @returns AddFeedbackResponse
|
|
56922
|
+
*/
|
|
56923
|
+
async addFeedbackWithOptions(request: AddFeedbackRequest, runtime: $Util.RuntimeOptions): Promise<AddFeedbackResponse> {
|
|
56924
|
+
Util.validateModel(request);
|
|
56925
|
+
let query = { };
|
|
56926
|
+
if (!Util.isUnset(request.feedback)) {
|
|
56927
|
+
query["Feedback"] = request.feedback;
|
|
56928
|
+
}
|
|
56929
|
+
|
|
56930
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
56931
|
+
query["InstanceId"] = request.instanceId;
|
|
56932
|
+
}
|
|
56933
|
+
|
|
56934
|
+
if (!Util.isUnset(request.rating)) {
|
|
56935
|
+
query["Rating"] = request.rating;
|
|
56936
|
+
}
|
|
56937
|
+
|
|
56938
|
+
if (!Util.isUnset(request.taskId)) {
|
|
56939
|
+
query["TaskId"] = request.taskId;
|
|
56940
|
+
}
|
|
56941
|
+
|
|
56942
|
+
if (!Util.isUnset(request.taskName)) {
|
|
56943
|
+
query["TaskName"] = request.taskName;
|
|
56944
|
+
}
|
|
56945
|
+
|
|
56946
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
56947
|
+
query: OpenApiUtil.query(query),
|
|
56948
|
+
});
|
|
56949
|
+
let params = new $OpenApi.Params({
|
|
56950
|
+
action: "AddFeedback",
|
|
56951
|
+
version: "2020-07-01",
|
|
56952
|
+
protocol: "HTTPS",
|
|
56953
|
+
pathname: "/",
|
|
56954
|
+
method: "POST",
|
|
56955
|
+
authType: "AK",
|
|
56956
|
+
style: "RPC",
|
|
56957
|
+
reqBodyType: "formData",
|
|
56958
|
+
bodyType: "json",
|
|
56959
|
+
});
|
|
56960
|
+
return $tea.cast<AddFeedbackResponse>(await this.callApi(params, req, runtime), new AddFeedbackResponse({}));
|
|
56961
|
+
}
|
|
56962
|
+
|
|
56963
|
+
/**
|
|
56964
|
+
* @param request - AddFeedbackRequest
|
|
56965
|
+
* @returns AddFeedbackResponse
|
|
56966
|
+
*/
|
|
56967
|
+
async addFeedback(request: AddFeedbackRequest): Promise<AddFeedbackResponse> {
|
|
56968
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
56969
|
+
return await this.addFeedbackWithOptions(request, runtime);
|
|
56970
|
+
}
|
|
56971
|
+
|
|
56190
56972
|
/**
|
|
56191
56973
|
* @param request - AddNumbersToSkillGroupRequest
|
|
56192
56974
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -58307,6 +59089,44 @@ export default class Client extends OpenApi {
|
|
|
58307
59089
|
return await this.deleteDocumentsWithOptions(request, runtime);
|
|
58308
59090
|
}
|
|
58309
59091
|
|
|
59092
|
+
/**
|
|
59093
|
+
* @param request - DeleteInstanceRequest
|
|
59094
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
59095
|
+
* @returns DeleteInstanceResponse
|
|
59096
|
+
*/
|
|
59097
|
+
async deleteInstanceWithOptions(request: DeleteInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DeleteInstanceResponse> {
|
|
59098
|
+
Util.validateModel(request);
|
|
59099
|
+
let query = { };
|
|
59100
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
59101
|
+
query["InstanceId"] = request.instanceId;
|
|
59102
|
+
}
|
|
59103
|
+
|
|
59104
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
59105
|
+
query: OpenApiUtil.query(query),
|
|
59106
|
+
});
|
|
59107
|
+
let params = new $OpenApi.Params({
|
|
59108
|
+
action: "DeleteInstance",
|
|
59109
|
+
version: "2020-07-01",
|
|
59110
|
+
protocol: "HTTPS",
|
|
59111
|
+
pathname: "/",
|
|
59112
|
+
method: "POST",
|
|
59113
|
+
authType: "AK",
|
|
59114
|
+
style: "RPC",
|
|
59115
|
+
reqBodyType: "formData",
|
|
59116
|
+
bodyType: "json",
|
|
59117
|
+
});
|
|
59118
|
+
return $tea.cast<DeleteInstanceResponse>(await this.callApi(params, req, runtime), new DeleteInstanceResponse({}));
|
|
59119
|
+
}
|
|
59120
|
+
|
|
59121
|
+
/**
|
|
59122
|
+
* @param request - DeleteInstanceRequest
|
|
59123
|
+
* @returns DeleteInstanceResponse
|
|
59124
|
+
*/
|
|
59125
|
+
async deleteInstance(request: DeleteInstanceRequest): Promise<DeleteInstanceResponse> {
|
|
59126
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
59127
|
+
return await this.deleteInstanceWithOptions(request, runtime);
|
|
59128
|
+
}
|
|
59129
|
+
|
|
58310
59130
|
/**
|
|
58311
59131
|
* @param request - DeleteSchemaRequest
|
|
58312
59132
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -58809,6 +59629,52 @@ export default class Client extends OpenApi {
|
|
|
58809
59629
|
return await this.endConferenceWithOptions(request, runtime);
|
|
58810
59630
|
}
|
|
58811
59631
|
|
|
59632
|
+
/**
|
|
59633
|
+
* @param request - ExportContactFlowRequest
|
|
59634
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
59635
|
+
* @returns ExportContactFlowResponse
|
|
59636
|
+
*/
|
|
59637
|
+
async exportContactFlowWithOptions(request: ExportContactFlowRequest, runtime: $Util.RuntimeOptions): Promise<ExportContactFlowResponse> {
|
|
59638
|
+
Util.validateModel(request);
|
|
59639
|
+
let body : {[key: string ]: any} = { };
|
|
59640
|
+
if (!Util.isUnset(request.flowId)) {
|
|
59641
|
+
body["FlowId"] = request.flowId;
|
|
59642
|
+
}
|
|
59643
|
+
|
|
59644
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
59645
|
+
body["InstanceId"] = request.instanceId;
|
|
59646
|
+
}
|
|
59647
|
+
|
|
59648
|
+
if (!Util.isUnset(request.requestId)) {
|
|
59649
|
+
body["RequestId"] = request.requestId;
|
|
59650
|
+
}
|
|
59651
|
+
|
|
59652
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
59653
|
+
body: OpenApiUtil.parseToMap(body),
|
|
59654
|
+
});
|
|
59655
|
+
let params = new $OpenApi.Params({
|
|
59656
|
+
action: "ExportContactFlow",
|
|
59657
|
+
version: "2020-07-01",
|
|
59658
|
+
protocol: "HTTPS",
|
|
59659
|
+
pathname: "/",
|
|
59660
|
+
method: "POST",
|
|
59661
|
+
authType: "AK",
|
|
59662
|
+
style: "RPC",
|
|
59663
|
+
reqBodyType: "formData",
|
|
59664
|
+
bodyType: "json",
|
|
59665
|
+
});
|
|
59666
|
+
return $tea.cast<ExportContactFlowResponse>(await this.callApi(params, req, runtime), new ExportContactFlowResponse({}));
|
|
59667
|
+
}
|
|
59668
|
+
|
|
59669
|
+
/**
|
|
59670
|
+
* @param request - ExportContactFlowRequest
|
|
59671
|
+
* @returns ExportContactFlowResponse
|
|
59672
|
+
*/
|
|
59673
|
+
async exportContactFlow(request: ExportContactFlowRequest): Promise<ExportContactFlowResponse> {
|
|
59674
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
59675
|
+
return await this.exportContactFlowWithOptions(request, runtime);
|
|
59676
|
+
}
|
|
59677
|
+
|
|
58812
59678
|
/**
|
|
58813
59679
|
* 导出全部呼入号码标签
|
|
58814
59680
|
*
|
|
@@ -60787,6 +61653,52 @@ export default class Client extends OpenApi {
|
|
|
60787
61653
|
return await this.importAdminsWithOptions(request, runtime);
|
|
60788
61654
|
}
|
|
60789
61655
|
|
|
61656
|
+
/**
|
|
61657
|
+
* @param request - ImportContactFlowRequest
|
|
61658
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
61659
|
+
* @returns ImportContactFlowResponse
|
|
61660
|
+
*/
|
|
61661
|
+
async importContactFlowWithOptions(request: ImportContactFlowRequest, runtime: $Util.RuntimeOptions): Promise<ImportContactFlowResponse> {
|
|
61662
|
+
Util.validateModel(request);
|
|
61663
|
+
let body : {[key: string ]: any} = { };
|
|
61664
|
+
if (!Util.isUnset(request.flowPackageData)) {
|
|
61665
|
+
body["FlowPackageData"] = request.flowPackageData;
|
|
61666
|
+
}
|
|
61667
|
+
|
|
61668
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
61669
|
+
body["InstanceId"] = request.instanceId;
|
|
61670
|
+
}
|
|
61671
|
+
|
|
61672
|
+
if (!Util.isUnset(request.requestId)) {
|
|
61673
|
+
body["RequestId"] = request.requestId;
|
|
61674
|
+
}
|
|
61675
|
+
|
|
61676
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
61677
|
+
body: OpenApiUtil.parseToMap(body),
|
|
61678
|
+
});
|
|
61679
|
+
let params = new $OpenApi.Params({
|
|
61680
|
+
action: "ImportContactFlow",
|
|
61681
|
+
version: "2020-07-01",
|
|
61682
|
+
protocol: "HTTPS",
|
|
61683
|
+
pathname: "/",
|
|
61684
|
+
method: "POST",
|
|
61685
|
+
authType: "AK",
|
|
61686
|
+
style: "RPC",
|
|
61687
|
+
reqBodyType: "formData",
|
|
61688
|
+
bodyType: "json",
|
|
61689
|
+
});
|
|
61690
|
+
return $tea.cast<ImportContactFlowResponse>(await this.callApi(params, req, runtime), new ImportContactFlowResponse({}));
|
|
61691
|
+
}
|
|
61692
|
+
|
|
61693
|
+
/**
|
|
61694
|
+
* @param request - ImportContactFlowRequest
|
|
61695
|
+
* @returns ImportContactFlowResponse
|
|
61696
|
+
*/
|
|
61697
|
+
async importContactFlow(request: ImportContactFlowRequest): Promise<ImportContactFlowResponse> {
|
|
61698
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
61699
|
+
return await this.importContactFlowWithOptions(request, runtime);
|
|
61700
|
+
}
|
|
61701
|
+
|
|
60790
61702
|
/**
|
|
60791
61703
|
* @param request - ImportCorpNumbersRequest
|
|
60792
61704
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -64405,6 +65317,56 @@ export default class Client extends OpenApi {
|
|
|
64405
65317
|
return await this.listSkillLevelsOfUserWithOptions(request, runtime);
|
|
64406
65318
|
}
|
|
64407
65319
|
|
|
65320
|
+
/**
|
|
65321
|
+
* @param request - ListSmsMetadataRequest
|
|
65322
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
65323
|
+
* @returns ListSmsMetadataResponse
|
|
65324
|
+
*/
|
|
65325
|
+
async listSmsMetadataWithOptions(request: ListSmsMetadataRequest, runtime: $Util.RuntimeOptions): Promise<ListSmsMetadataResponse> {
|
|
65326
|
+
Util.validateModel(request);
|
|
65327
|
+
let query = { };
|
|
65328
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
65329
|
+
query["InstanceId"] = request.instanceId;
|
|
65330
|
+
}
|
|
65331
|
+
|
|
65332
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
65333
|
+
query["PageNumber"] = request.pageNumber;
|
|
65334
|
+
}
|
|
65335
|
+
|
|
65336
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
65337
|
+
query["PageSize"] = request.pageSize;
|
|
65338
|
+
}
|
|
65339
|
+
|
|
65340
|
+
if (!Util.isUnset(request.scenarioListJson)) {
|
|
65341
|
+
query["ScenarioListJson"] = request.scenarioListJson;
|
|
65342
|
+
}
|
|
65343
|
+
|
|
65344
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
65345
|
+
query: OpenApiUtil.query(query),
|
|
65346
|
+
});
|
|
65347
|
+
let params = new $OpenApi.Params({
|
|
65348
|
+
action: "ListSmsMetadata",
|
|
65349
|
+
version: "2020-07-01",
|
|
65350
|
+
protocol: "HTTPS",
|
|
65351
|
+
pathname: "/",
|
|
65352
|
+
method: "POST",
|
|
65353
|
+
authType: "AK",
|
|
65354
|
+
style: "RPC",
|
|
65355
|
+
reqBodyType: "formData",
|
|
65356
|
+
bodyType: "json",
|
|
65357
|
+
});
|
|
65358
|
+
return $tea.cast<ListSmsMetadataResponse>(await this.callApi(params, req, runtime), new ListSmsMetadataResponse({}));
|
|
65359
|
+
}
|
|
65360
|
+
|
|
65361
|
+
/**
|
|
65362
|
+
* @param request - ListSmsMetadataRequest
|
|
65363
|
+
* @returns ListSmsMetadataResponse
|
|
65364
|
+
*/
|
|
65365
|
+
async listSmsMetadata(request: ListSmsMetadataRequest): Promise<ListSmsMetadataResponse> {
|
|
65366
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
65367
|
+
return await this.listSmsMetadataWithOptions(request, runtime);
|
|
65368
|
+
}
|
|
65369
|
+
|
|
64408
65370
|
/**
|
|
64409
65371
|
* @param request - ListTicketTasksRequest
|
|
64410
65372
|
* @param runtime - runtime options for this request RuntimeOptions
|