@alicloud/cams20200606 1.3.0 → 1.4.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 +1354 -286
- package/dist/client.js +2297 -296
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +3360 -896
package/dist/client.js
CHANGED
|
@@ -967,51 +967,69 @@ class CreateChatappTemplateResponse extends $tea.Model {
|
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
969
|
exports.CreateChatappTemplateResponse = CreateChatappTemplateResponse;
|
|
970
|
-
class
|
|
970
|
+
class CreateFlowRequest extends $tea.Model {
|
|
971
971
|
constructor(map) {
|
|
972
972
|
super(map);
|
|
973
973
|
}
|
|
974
974
|
static names() {
|
|
975
975
|
return {
|
|
976
|
+
categories: 'Categories',
|
|
976
977
|
custSpaceId: 'CustSpaceId',
|
|
977
|
-
|
|
978
|
-
isvCode: 'IsvCode',
|
|
979
|
-
templateCode: 'TemplateCode',
|
|
978
|
+
flowName: 'FlowName',
|
|
980
979
|
};
|
|
981
980
|
}
|
|
982
981
|
static types() {
|
|
983
982
|
return {
|
|
983
|
+
categories: { 'type': 'array', 'itemType': 'string' },
|
|
984
984
|
custSpaceId: 'string',
|
|
985
|
-
|
|
986
|
-
isvCode: 'string',
|
|
987
|
-
templateCode: 'string',
|
|
985
|
+
flowName: 'string',
|
|
988
986
|
};
|
|
989
987
|
}
|
|
990
988
|
}
|
|
991
|
-
exports.
|
|
992
|
-
class
|
|
989
|
+
exports.CreateFlowRequest = CreateFlowRequest;
|
|
990
|
+
class CreateFlowShrinkRequest extends $tea.Model {
|
|
991
|
+
constructor(map) {
|
|
992
|
+
super(map);
|
|
993
|
+
}
|
|
994
|
+
static names() {
|
|
995
|
+
return {
|
|
996
|
+
categoriesShrink: 'Categories',
|
|
997
|
+
custSpaceId: 'CustSpaceId',
|
|
998
|
+
flowName: 'FlowName',
|
|
999
|
+
};
|
|
1000
|
+
}
|
|
1001
|
+
static types() {
|
|
1002
|
+
return {
|
|
1003
|
+
categoriesShrink: 'string',
|
|
1004
|
+
custSpaceId: 'string',
|
|
1005
|
+
flowName: 'string',
|
|
1006
|
+
};
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
exports.CreateFlowShrinkRequest = CreateFlowShrinkRequest;
|
|
1010
|
+
class CreateFlowResponseBody extends $tea.Model {
|
|
993
1011
|
constructor(map) {
|
|
994
1012
|
super(map);
|
|
995
1013
|
}
|
|
996
1014
|
static names() {
|
|
997
1015
|
return {
|
|
998
|
-
accessDeniedDetail: 'AccessDeniedDetail',
|
|
999
1016
|
code: 'Code',
|
|
1017
|
+
data: 'Data',
|
|
1000
1018
|
message: 'Message',
|
|
1001
1019
|
requestId: 'RequestId',
|
|
1002
1020
|
};
|
|
1003
1021
|
}
|
|
1004
1022
|
static types() {
|
|
1005
1023
|
return {
|
|
1006
|
-
accessDeniedDetail: 'string',
|
|
1007
1024
|
code: 'string',
|
|
1025
|
+
data: CreateFlowResponseBodyData,
|
|
1008
1026
|
message: 'string',
|
|
1009
1027
|
requestId: 'string',
|
|
1010
1028
|
};
|
|
1011
1029
|
}
|
|
1012
1030
|
}
|
|
1013
|
-
exports.
|
|
1014
|
-
class
|
|
1031
|
+
exports.CreateFlowResponseBody = CreateFlowResponseBody;
|
|
1032
|
+
class CreateFlowResponse extends $tea.Model {
|
|
1015
1033
|
constructor(map) {
|
|
1016
1034
|
super(map);
|
|
1017
1035
|
}
|
|
@@ -1026,52 +1044,56 @@ class DeleteChatappTemplateResponse extends $tea.Model {
|
|
|
1026
1044
|
return {
|
|
1027
1045
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1028
1046
|
statusCode: 'number',
|
|
1029
|
-
body:
|
|
1047
|
+
body: CreateFlowResponseBody,
|
|
1030
1048
|
};
|
|
1031
1049
|
}
|
|
1032
1050
|
}
|
|
1033
|
-
exports.
|
|
1034
|
-
class
|
|
1051
|
+
exports.CreateFlowResponse = CreateFlowResponse;
|
|
1052
|
+
class CreatePhoneMessageQrdlRequest extends $tea.Model {
|
|
1035
1053
|
constructor(map) {
|
|
1036
1054
|
super(map);
|
|
1037
1055
|
}
|
|
1038
1056
|
static names() {
|
|
1039
1057
|
return {
|
|
1040
1058
|
custSpaceId: 'CustSpaceId',
|
|
1041
|
-
|
|
1059
|
+
generateQrImage: 'GenerateQrImage',
|
|
1060
|
+
phoneNumber: 'PhoneNumber',
|
|
1061
|
+
prefilledMessage: 'PrefilledMessage',
|
|
1042
1062
|
};
|
|
1043
1063
|
}
|
|
1044
1064
|
static types() {
|
|
1045
1065
|
return {
|
|
1046
1066
|
custSpaceId: 'string',
|
|
1047
|
-
|
|
1067
|
+
generateQrImage: 'string',
|
|
1068
|
+
phoneNumber: 'string',
|
|
1069
|
+
prefilledMessage: 'string',
|
|
1048
1070
|
};
|
|
1049
1071
|
}
|
|
1050
1072
|
}
|
|
1051
|
-
exports.
|
|
1052
|
-
class
|
|
1073
|
+
exports.CreatePhoneMessageQrdlRequest = CreatePhoneMessageQrdlRequest;
|
|
1074
|
+
class CreatePhoneMessageQrdlResponseBody extends $tea.Model {
|
|
1053
1075
|
constructor(map) {
|
|
1054
1076
|
super(map);
|
|
1055
1077
|
}
|
|
1056
1078
|
static names() {
|
|
1057
1079
|
return {
|
|
1058
|
-
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1059
1080
|
code: 'Code',
|
|
1081
|
+
data: 'Data',
|
|
1060
1082
|
message: 'Message',
|
|
1061
1083
|
requestId: 'RequestId',
|
|
1062
1084
|
};
|
|
1063
1085
|
}
|
|
1064
1086
|
static types() {
|
|
1065
1087
|
return {
|
|
1066
|
-
accessDeniedDetail: 'string',
|
|
1067
1088
|
code: 'string',
|
|
1089
|
+
data: CreatePhoneMessageQrdlResponseBodyData,
|
|
1068
1090
|
message: 'string',
|
|
1069
1091
|
requestId: 'string',
|
|
1070
1092
|
};
|
|
1071
1093
|
}
|
|
1072
1094
|
}
|
|
1073
|
-
exports.
|
|
1074
|
-
class
|
|
1095
|
+
exports.CreatePhoneMessageQrdlResponseBody = CreatePhoneMessageQrdlResponseBody;
|
|
1096
|
+
class CreatePhoneMessageQrdlResponse extends $tea.Model {
|
|
1075
1097
|
constructor(map) {
|
|
1076
1098
|
super(map);
|
|
1077
1099
|
}
|
|
@@ -1086,38 +1108,34 @@ class EnableWhatsappROIMetricResponse extends $tea.Model {
|
|
|
1086
1108
|
return {
|
|
1087
1109
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1088
1110
|
statusCode: 'number',
|
|
1089
|
-
body:
|
|
1111
|
+
body: CreatePhoneMessageQrdlResponseBody,
|
|
1090
1112
|
};
|
|
1091
1113
|
}
|
|
1092
1114
|
}
|
|
1093
|
-
exports.
|
|
1094
|
-
class
|
|
1115
|
+
exports.CreatePhoneMessageQrdlResponse = CreatePhoneMessageQrdlResponse;
|
|
1116
|
+
class DeleteChatappTemplateRequest extends $tea.Model {
|
|
1095
1117
|
constructor(map) {
|
|
1096
1118
|
super(map);
|
|
1097
1119
|
}
|
|
1098
1120
|
static names() {
|
|
1099
1121
|
return {
|
|
1100
1122
|
custSpaceId: 'CustSpaceId',
|
|
1101
|
-
|
|
1102
|
-
granularity: 'Granularity',
|
|
1123
|
+
custWabaId: 'CustWabaId',
|
|
1103
1124
|
isvCode: 'IsvCode',
|
|
1104
|
-
|
|
1105
|
-
start: 'Start',
|
|
1125
|
+
templateCode: 'TemplateCode',
|
|
1106
1126
|
};
|
|
1107
1127
|
}
|
|
1108
1128
|
static types() {
|
|
1109
1129
|
return {
|
|
1110
1130
|
custSpaceId: 'string',
|
|
1111
|
-
|
|
1112
|
-
granularity: 'string',
|
|
1131
|
+
custWabaId: 'string',
|
|
1113
1132
|
isvCode: 'string',
|
|
1114
|
-
|
|
1115
|
-
start: 'number',
|
|
1133
|
+
templateCode: 'string',
|
|
1116
1134
|
};
|
|
1117
1135
|
}
|
|
1118
1136
|
}
|
|
1119
|
-
exports.
|
|
1120
|
-
class
|
|
1137
|
+
exports.DeleteChatappTemplateRequest = DeleteChatappTemplateRequest;
|
|
1138
|
+
class DeleteChatappTemplateResponseBody extends $tea.Model {
|
|
1121
1139
|
constructor(map) {
|
|
1122
1140
|
super(map);
|
|
1123
1141
|
}
|
|
@@ -1125,7 +1143,6 @@ class GetChatappPhoneNumberMetricResponseBody extends $tea.Model {
|
|
|
1125
1143
|
return {
|
|
1126
1144
|
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1127
1145
|
code: 'Code',
|
|
1128
|
-
data: 'Data',
|
|
1129
1146
|
message: 'Message',
|
|
1130
1147
|
requestId: 'RequestId',
|
|
1131
1148
|
};
|
|
@@ -1134,14 +1151,13 @@ class GetChatappPhoneNumberMetricResponseBody extends $tea.Model {
|
|
|
1134
1151
|
return {
|
|
1135
1152
|
accessDeniedDetail: 'string',
|
|
1136
1153
|
code: 'string',
|
|
1137
|
-
data: { 'type': 'array', 'itemType': GetChatappPhoneNumberMetricResponseBodyData },
|
|
1138
1154
|
message: 'string',
|
|
1139
1155
|
requestId: 'string',
|
|
1140
1156
|
};
|
|
1141
1157
|
}
|
|
1142
1158
|
}
|
|
1143
|
-
exports.
|
|
1144
|
-
class
|
|
1159
|
+
exports.DeleteChatappTemplateResponseBody = DeleteChatappTemplateResponseBody;
|
|
1160
|
+
class DeleteChatappTemplateResponse extends $tea.Model {
|
|
1145
1161
|
constructor(map) {
|
|
1146
1162
|
super(map);
|
|
1147
1163
|
}
|
|
@@ -1156,62 +1172,50 @@ class GetChatappPhoneNumberMetricResponse extends $tea.Model {
|
|
|
1156
1172
|
return {
|
|
1157
1173
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1158
1174
|
statusCode: 'number',
|
|
1159
|
-
body:
|
|
1175
|
+
body: DeleteChatappTemplateResponseBody,
|
|
1160
1176
|
};
|
|
1161
1177
|
}
|
|
1162
1178
|
}
|
|
1163
|
-
exports.
|
|
1164
|
-
class
|
|
1179
|
+
exports.DeleteChatappTemplateResponse = DeleteChatappTemplateResponse;
|
|
1180
|
+
class DeleteFlowRequest extends $tea.Model {
|
|
1165
1181
|
constructor(map) {
|
|
1166
1182
|
super(map);
|
|
1167
1183
|
}
|
|
1168
1184
|
static names() {
|
|
1169
1185
|
return {
|
|
1170
1186
|
custSpaceId: 'CustSpaceId',
|
|
1171
|
-
|
|
1172
|
-
isvCode: 'IsvCode',
|
|
1173
|
-
language: 'Language',
|
|
1174
|
-
templateCode: 'TemplateCode',
|
|
1175
|
-
templateType: 'TemplateType',
|
|
1187
|
+
flowId: 'FlowId',
|
|
1176
1188
|
};
|
|
1177
1189
|
}
|
|
1178
1190
|
static types() {
|
|
1179
1191
|
return {
|
|
1180
1192
|
custSpaceId: 'string',
|
|
1181
|
-
|
|
1182
|
-
isvCode: 'string',
|
|
1183
|
-
language: 'string',
|
|
1184
|
-
templateCode: 'string',
|
|
1185
|
-
templateType: 'string',
|
|
1193
|
+
flowId: 'string',
|
|
1186
1194
|
};
|
|
1187
1195
|
}
|
|
1188
1196
|
}
|
|
1189
|
-
exports.
|
|
1190
|
-
class
|
|
1197
|
+
exports.DeleteFlowRequest = DeleteFlowRequest;
|
|
1198
|
+
class DeleteFlowResponseBody extends $tea.Model {
|
|
1191
1199
|
constructor(map) {
|
|
1192
1200
|
super(map);
|
|
1193
1201
|
}
|
|
1194
1202
|
static names() {
|
|
1195
1203
|
return {
|
|
1196
|
-
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1197
1204
|
code: 'Code',
|
|
1198
|
-
data: 'Data',
|
|
1199
1205
|
message: 'Message',
|
|
1200
1206
|
requestId: 'RequestId',
|
|
1201
1207
|
};
|
|
1202
1208
|
}
|
|
1203
1209
|
static types() {
|
|
1204
1210
|
return {
|
|
1205
|
-
accessDeniedDetail: 'string',
|
|
1206
1211
|
code: 'string',
|
|
1207
|
-
data: GetChatappTemplateDetailResponseBodyData,
|
|
1208
1212
|
message: 'string',
|
|
1209
1213
|
requestId: 'string',
|
|
1210
1214
|
};
|
|
1211
1215
|
}
|
|
1212
1216
|
}
|
|
1213
|
-
exports.
|
|
1214
|
-
class
|
|
1217
|
+
exports.DeleteFlowResponseBody = DeleteFlowResponseBody;
|
|
1218
|
+
class DeleteFlowResponse extends $tea.Model {
|
|
1215
1219
|
constructor(map) {
|
|
1216
1220
|
super(map);
|
|
1217
1221
|
}
|
|
@@ -1226,66 +1230,52 @@ class GetChatappTemplateDetailResponse extends $tea.Model {
|
|
|
1226
1230
|
return {
|
|
1227
1231
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1228
1232
|
statusCode: 'number',
|
|
1229
|
-
body:
|
|
1233
|
+
body: DeleteFlowResponseBody,
|
|
1230
1234
|
};
|
|
1231
1235
|
}
|
|
1232
1236
|
}
|
|
1233
|
-
exports.
|
|
1234
|
-
class
|
|
1237
|
+
exports.DeleteFlowResponse = DeleteFlowResponse;
|
|
1238
|
+
class DeletePhoneMessageQrdlRequest extends $tea.Model {
|
|
1235
1239
|
constructor(map) {
|
|
1236
1240
|
super(map);
|
|
1237
1241
|
}
|
|
1238
1242
|
static names() {
|
|
1239
1243
|
return {
|
|
1240
1244
|
custSpaceId: 'CustSpaceId',
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
isvCode: 'IsvCode',
|
|
1244
|
-
language: 'Language',
|
|
1245
|
-
start: 'Start',
|
|
1246
|
-
templateCode: 'TemplateCode',
|
|
1247
|
-
templateType: 'TemplateType',
|
|
1245
|
+
phoneNumber: 'PhoneNumber',
|
|
1246
|
+
qrdlCode: 'QrdlCode',
|
|
1248
1247
|
};
|
|
1249
1248
|
}
|
|
1250
1249
|
static types() {
|
|
1251
1250
|
return {
|
|
1252
1251
|
custSpaceId: 'string',
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
isvCode: 'string',
|
|
1256
|
-
language: 'string',
|
|
1257
|
-
start: 'number',
|
|
1258
|
-
templateCode: 'string',
|
|
1259
|
-
templateType: 'string',
|
|
1252
|
+
phoneNumber: 'string',
|
|
1253
|
+
qrdlCode: 'string',
|
|
1260
1254
|
};
|
|
1261
1255
|
}
|
|
1262
1256
|
}
|
|
1263
|
-
exports.
|
|
1264
|
-
class
|
|
1257
|
+
exports.DeletePhoneMessageQrdlRequest = DeletePhoneMessageQrdlRequest;
|
|
1258
|
+
class DeletePhoneMessageQrdlResponseBody extends $tea.Model {
|
|
1265
1259
|
constructor(map) {
|
|
1266
1260
|
super(map);
|
|
1267
1261
|
}
|
|
1268
1262
|
static names() {
|
|
1269
1263
|
return {
|
|
1270
|
-
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1271
1264
|
code: 'Code',
|
|
1272
|
-
data: 'Data',
|
|
1273
1265
|
message: 'Message',
|
|
1274
1266
|
requestId: 'RequestId',
|
|
1275
1267
|
};
|
|
1276
1268
|
}
|
|
1277
1269
|
static types() {
|
|
1278
1270
|
return {
|
|
1279
|
-
accessDeniedDetail: 'string',
|
|
1280
1271
|
code: 'string',
|
|
1281
|
-
data: { 'type': 'array', 'itemType': GetChatappTemplateMetricResponseBodyData },
|
|
1282
1272
|
message: 'string',
|
|
1283
1273
|
requestId: 'string',
|
|
1284
1274
|
};
|
|
1285
1275
|
}
|
|
1286
1276
|
}
|
|
1287
|
-
exports.
|
|
1288
|
-
class
|
|
1277
|
+
exports.DeletePhoneMessageQrdlResponseBody = DeletePhoneMessageQrdlResponseBody;
|
|
1278
|
+
class DeletePhoneMessageQrdlResponse extends $tea.Model {
|
|
1289
1279
|
constructor(map) {
|
|
1290
1280
|
super(map);
|
|
1291
1281
|
}
|
|
@@ -1300,52 +1290,50 @@ class GetChatappTemplateMetricResponse extends $tea.Model {
|
|
|
1300
1290
|
return {
|
|
1301
1291
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1302
1292
|
statusCode: 'number',
|
|
1303
|
-
body:
|
|
1293
|
+
body: DeletePhoneMessageQrdlResponseBody,
|
|
1304
1294
|
};
|
|
1305
1295
|
}
|
|
1306
1296
|
}
|
|
1307
|
-
exports.
|
|
1308
|
-
class
|
|
1297
|
+
exports.DeletePhoneMessageQrdlResponse = DeletePhoneMessageQrdlResponse;
|
|
1298
|
+
class DeprecateFlowRequest extends $tea.Model {
|
|
1309
1299
|
constructor(map) {
|
|
1310
1300
|
super(map);
|
|
1311
1301
|
}
|
|
1312
1302
|
static names() {
|
|
1313
1303
|
return {
|
|
1314
1304
|
custSpaceId: 'CustSpaceId',
|
|
1305
|
+
flowId: 'FlowId',
|
|
1315
1306
|
};
|
|
1316
1307
|
}
|
|
1317
1308
|
static types() {
|
|
1318
1309
|
return {
|
|
1319
1310
|
custSpaceId: 'string',
|
|
1311
|
+
flowId: 'string',
|
|
1320
1312
|
};
|
|
1321
1313
|
}
|
|
1322
1314
|
}
|
|
1323
|
-
exports.
|
|
1324
|
-
class
|
|
1315
|
+
exports.DeprecateFlowRequest = DeprecateFlowRequest;
|
|
1316
|
+
class DeprecateFlowResponseBody extends $tea.Model {
|
|
1325
1317
|
constructor(map) {
|
|
1326
1318
|
super(map);
|
|
1327
1319
|
}
|
|
1328
1320
|
static names() {
|
|
1329
1321
|
return {
|
|
1330
|
-
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1331
1322
|
code: 'Code',
|
|
1332
|
-
data: 'Data',
|
|
1333
1323
|
message: 'Message',
|
|
1334
1324
|
requestId: 'RequestId',
|
|
1335
1325
|
};
|
|
1336
1326
|
}
|
|
1337
1327
|
static types() {
|
|
1338
1328
|
return {
|
|
1339
|
-
accessDeniedDetail: 'string',
|
|
1340
1329
|
code: 'string',
|
|
1341
|
-
data: GetChatappUploadAuthorizationResponseBodyData,
|
|
1342
1330
|
message: 'string',
|
|
1343
1331
|
requestId: 'string',
|
|
1344
1332
|
};
|
|
1345
1333
|
}
|
|
1346
1334
|
}
|
|
1347
|
-
exports.
|
|
1348
|
-
class
|
|
1335
|
+
exports.DeprecateFlowResponseBody = DeprecateFlowResponseBody;
|
|
1336
|
+
class DeprecateFlowResponse extends $tea.Model {
|
|
1349
1337
|
constructor(map) {
|
|
1350
1338
|
super(map);
|
|
1351
1339
|
}
|
|
@@ -1360,34 +1348,30 @@ class GetChatappUploadAuthorizationResponse extends $tea.Model {
|
|
|
1360
1348
|
return {
|
|
1361
1349
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1362
1350
|
statusCode: 'number',
|
|
1363
|
-
body:
|
|
1351
|
+
body: DeprecateFlowResponseBody,
|
|
1364
1352
|
};
|
|
1365
1353
|
}
|
|
1366
1354
|
}
|
|
1367
|
-
exports.
|
|
1368
|
-
class
|
|
1355
|
+
exports.DeprecateFlowResponse = DeprecateFlowResponse;
|
|
1356
|
+
class EnableWhatsappROIMetricRequest extends $tea.Model {
|
|
1369
1357
|
constructor(map) {
|
|
1370
1358
|
super(map);
|
|
1371
1359
|
}
|
|
1372
1360
|
static names() {
|
|
1373
1361
|
return {
|
|
1374
1362
|
custSpaceId: 'CustSpaceId',
|
|
1375
|
-
|
|
1376
|
-
method: 'Method',
|
|
1377
|
-
phoneNumber: 'PhoneNumber',
|
|
1363
|
+
isvCode: 'IsvCode',
|
|
1378
1364
|
};
|
|
1379
1365
|
}
|
|
1380
1366
|
static types() {
|
|
1381
1367
|
return {
|
|
1382
1368
|
custSpaceId: 'string',
|
|
1383
|
-
|
|
1384
|
-
method: 'string',
|
|
1385
|
-
phoneNumber: 'string',
|
|
1369
|
+
isvCode: 'string',
|
|
1386
1370
|
};
|
|
1387
1371
|
}
|
|
1388
1372
|
}
|
|
1389
|
-
exports.
|
|
1390
|
-
class
|
|
1373
|
+
exports.EnableWhatsappROIMetricRequest = EnableWhatsappROIMetricRequest;
|
|
1374
|
+
class EnableWhatsappROIMetricResponseBody extends $tea.Model {
|
|
1391
1375
|
constructor(map) {
|
|
1392
1376
|
super(map);
|
|
1393
1377
|
}
|
|
@@ -1408,8 +1392,8 @@ class GetChatappVerifyCodeResponseBody extends $tea.Model {
|
|
|
1408
1392
|
};
|
|
1409
1393
|
}
|
|
1410
1394
|
}
|
|
1411
|
-
exports.
|
|
1412
|
-
class
|
|
1395
|
+
exports.EnableWhatsappROIMetricResponseBody = EnableWhatsappROIMetricResponseBody;
|
|
1396
|
+
class EnableWhatsappROIMetricResponse extends $tea.Model {
|
|
1413
1397
|
constructor(map) {
|
|
1414
1398
|
super(map);
|
|
1415
1399
|
}
|
|
@@ -1424,35 +1408,44 @@ class GetChatappVerifyCodeResponse extends $tea.Model {
|
|
|
1424
1408
|
return {
|
|
1425
1409
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1426
1410
|
statusCode: 'number',
|
|
1427
|
-
body:
|
|
1411
|
+
body: EnableWhatsappROIMetricResponseBody,
|
|
1428
1412
|
};
|
|
1429
1413
|
}
|
|
1430
1414
|
}
|
|
1431
|
-
exports.
|
|
1432
|
-
class
|
|
1415
|
+
exports.EnableWhatsappROIMetricResponse = EnableWhatsappROIMetricResponse;
|
|
1416
|
+
class GetChatappPhoneNumberMetricRequest extends $tea.Model {
|
|
1433
1417
|
constructor(map) {
|
|
1434
1418
|
super(map);
|
|
1435
1419
|
}
|
|
1436
1420
|
static names() {
|
|
1437
1421
|
return {
|
|
1438
1422
|
custSpaceId: 'CustSpaceId',
|
|
1423
|
+
end: 'End',
|
|
1424
|
+
granularity: 'Granularity',
|
|
1425
|
+
isvCode: 'IsvCode',
|
|
1439
1426
|
phoneNumber: 'PhoneNumber',
|
|
1427
|
+
start: 'Start',
|
|
1440
1428
|
};
|
|
1441
1429
|
}
|
|
1442
1430
|
static types() {
|
|
1443
1431
|
return {
|
|
1444
1432
|
custSpaceId: 'string',
|
|
1433
|
+
end: 'number',
|
|
1434
|
+
granularity: 'string',
|
|
1435
|
+
isvCode: 'string',
|
|
1445
1436
|
phoneNumber: 'string',
|
|
1437
|
+
start: 'number',
|
|
1446
1438
|
};
|
|
1447
1439
|
}
|
|
1448
1440
|
}
|
|
1449
|
-
exports.
|
|
1450
|
-
class
|
|
1441
|
+
exports.GetChatappPhoneNumberMetricRequest = GetChatappPhoneNumberMetricRequest;
|
|
1442
|
+
class GetChatappPhoneNumberMetricResponseBody extends $tea.Model {
|
|
1451
1443
|
constructor(map) {
|
|
1452
1444
|
super(map);
|
|
1453
1445
|
}
|
|
1454
1446
|
static names() {
|
|
1455
1447
|
return {
|
|
1448
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1456
1449
|
code: 'Code',
|
|
1457
1450
|
data: 'Data',
|
|
1458
1451
|
message: 'Message',
|
|
@@ -1461,15 +1454,16 @@ class GetCommerceSettingResponseBody extends $tea.Model {
|
|
|
1461
1454
|
}
|
|
1462
1455
|
static types() {
|
|
1463
1456
|
return {
|
|
1457
|
+
accessDeniedDetail: 'string',
|
|
1464
1458
|
code: 'string',
|
|
1465
|
-
data:
|
|
1459
|
+
data: { 'type': 'array', 'itemType': GetChatappPhoneNumberMetricResponseBodyData },
|
|
1466
1460
|
message: 'string',
|
|
1467
1461
|
requestId: 'string',
|
|
1468
1462
|
};
|
|
1469
1463
|
}
|
|
1470
1464
|
}
|
|
1471
|
-
exports.
|
|
1472
|
-
class
|
|
1465
|
+
exports.GetChatappPhoneNumberMetricResponseBody = GetChatappPhoneNumberMetricResponseBody;
|
|
1466
|
+
class GetChatappPhoneNumberMetricResponse extends $tea.Model {
|
|
1473
1467
|
constructor(map) {
|
|
1474
1468
|
super(map);
|
|
1475
1469
|
}
|
|
@@ -1484,34 +1478,38 @@ class GetCommerceSettingResponse extends $tea.Model {
|
|
|
1484
1478
|
return {
|
|
1485
1479
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1486
1480
|
statusCode: 'number',
|
|
1487
|
-
body:
|
|
1481
|
+
body: GetChatappPhoneNumberMetricResponseBody,
|
|
1488
1482
|
};
|
|
1489
1483
|
}
|
|
1490
1484
|
}
|
|
1491
|
-
exports.
|
|
1492
|
-
class
|
|
1485
|
+
exports.GetChatappPhoneNumberMetricResponse = GetChatappPhoneNumberMetricResponse;
|
|
1486
|
+
class GetChatappTemplateDetailRequest extends $tea.Model {
|
|
1493
1487
|
constructor(map) {
|
|
1494
1488
|
super(map);
|
|
1495
1489
|
}
|
|
1496
1490
|
static names() {
|
|
1497
1491
|
return {
|
|
1498
1492
|
custSpaceId: 'CustSpaceId',
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1493
|
+
custWabaId: 'CustWabaId',
|
|
1494
|
+
isvCode: 'IsvCode',
|
|
1495
|
+
language: 'Language',
|
|
1496
|
+
templateCode: 'TemplateCode',
|
|
1497
|
+
templateType: 'TemplateType',
|
|
1502
1498
|
};
|
|
1503
1499
|
}
|
|
1504
1500
|
static types() {
|
|
1505
1501
|
return {
|
|
1506
1502
|
custSpaceId: 'string',
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1503
|
+
custWabaId: 'string',
|
|
1504
|
+
isvCode: 'string',
|
|
1505
|
+
language: 'string',
|
|
1506
|
+
templateCode: 'string',
|
|
1507
|
+
templateType: 'string',
|
|
1510
1508
|
};
|
|
1511
1509
|
}
|
|
1512
1510
|
}
|
|
1513
|
-
exports.
|
|
1514
|
-
class
|
|
1511
|
+
exports.GetChatappTemplateDetailRequest = GetChatappTemplateDetailRequest;
|
|
1512
|
+
class GetChatappTemplateDetailResponseBody extends $tea.Model {
|
|
1515
1513
|
constructor(map) {
|
|
1516
1514
|
super(map);
|
|
1517
1515
|
}
|
|
@@ -1528,14 +1526,14 @@ class GetMigrationVerifyCodeResponseBody extends $tea.Model {
|
|
|
1528
1526
|
return {
|
|
1529
1527
|
accessDeniedDetail: 'string',
|
|
1530
1528
|
code: 'string',
|
|
1531
|
-
data:
|
|
1529
|
+
data: GetChatappTemplateDetailResponseBodyData,
|
|
1532
1530
|
message: 'string',
|
|
1533
1531
|
requestId: 'string',
|
|
1534
1532
|
};
|
|
1535
1533
|
}
|
|
1536
1534
|
}
|
|
1537
|
-
exports.
|
|
1538
|
-
class
|
|
1535
|
+
exports.GetChatappTemplateDetailResponseBody = GetChatappTemplateDetailResponseBody;
|
|
1536
|
+
class GetChatappTemplateDetailResponse extends $tea.Model {
|
|
1539
1537
|
constructor(map) {
|
|
1540
1538
|
super(map);
|
|
1541
1539
|
}
|
|
@@ -1550,35 +1548,48 @@ class GetMigrationVerifyCodeResponse extends $tea.Model {
|
|
|
1550
1548
|
return {
|
|
1551
1549
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1552
1550
|
statusCode: 'number',
|
|
1553
|
-
body:
|
|
1551
|
+
body: GetChatappTemplateDetailResponseBody,
|
|
1554
1552
|
};
|
|
1555
1553
|
}
|
|
1556
1554
|
}
|
|
1557
|
-
exports.
|
|
1558
|
-
class
|
|
1555
|
+
exports.GetChatappTemplateDetailResponse = GetChatappTemplateDetailResponse;
|
|
1556
|
+
class GetChatappTemplateMetricRequest extends $tea.Model {
|
|
1559
1557
|
constructor(map) {
|
|
1560
1558
|
super(map);
|
|
1561
1559
|
}
|
|
1562
1560
|
static names() {
|
|
1563
1561
|
return {
|
|
1564
1562
|
custSpaceId: 'CustSpaceId',
|
|
1565
|
-
|
|
1563
|
+
end: 'End',
|
|
1564
|
+
granularity: 'Granularity',
|
|
1565
|
+
isvCode: 'IsvCode',
|
|
1566
|
+
language: 'Language',
|
|
1567
|
+
start: 'Start',
|
|
1568
|
+
templateCode: 'TemplateCode',
|
|
1569
|
+
templateType: 'TemplateType',
|
|
1566
1570
|
};
|
|
1567
1571
|
}
|
|
1568
1572
|
static types() {
|
|
1569
1573
|
return {
|
|
1570
1574
|
custSpaceId: 'string',
|
|
1571
|
-
|
|
1575
|
+
end: 'number',
|
|
1576
|
+
granularity: 'string',
|
|
1577
|
+
isvCode: 'string',
|
|
1578
|
+
language: 'string',
|
|
1579
|
+
start: 'number',
|
|
1580
|
+
templateCode: 'string',
|
|
1581
|
+
templateType: 'string',
|
|
1572
1582
|
};
|
|
1573
1583
|
}
|
|
1574
1584
|
}
|
|
1575
|
-
exports.
|
|
1576
|
-
class
|
|
1585
|
+
exports.GetChatappTemplateMetricRequest = GetChatappTemplateMetricRequest;
|
|
1586
|
+
class GetChatappTemplateMetricResponseBody extends $tea.Model {
|
|
1577
1587
|
constructor(map) {
|
|
1578
1588
|
super(map);
|
|
1579
1589
|
}
|
|
1580
1590
|
static names() {
|
|
1581
1591
|
return {
|
|
1592
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1582
1593
|
code: 'Code',
|
|
1583
1594
|
data: 'Data',
|
|
1584
1595
|
message: 'Message',
|
|
@@ -1587,15 +1598,16 @@ class GetPhoneNumberVerificationStatusResponseBody extends $tea.Model {
|
|
|
1587
1598
|
}
|
|
1588
1599
|
static types() {
|
|
1589
1600
|
return {
|
|
1601
|
+
accessDeniedDetail: 'string',
|
|
1590
1602
|
code: 'string',
|
|
1591
|
-
data:
|
|
1603
|
+
data: { 'type': 'array', 'itemType': GetChatappTemplateMetricResponseBodyData },
|
|
1592
1604
|
message: 'string',
|
|
1593
1605
|
requestId: 'string',
|
|
1594
1606
|
};
|
|
1595
1607
|
}
|
|
1596
1608
|
}
|
|
1597
|
-
exports.
|
|
1598
|
-
class
|
|
1609
|
+
exports.GetChatappTemplateMetricResponseBody = GetChatappTemplateMetricResponseBody;
|
|
1610
|
+
class GetChatappTemplateMetricResponse extends $tea.Model {
|
|
1599
1611
|
constructor(map) {
|
|
1600
1612
|
super(map);
|
|
1601
1613
|
}
|
|
@@ -1610,31 +1622,661 @@ class GetPhoneNumberVerificationStatusResponse extends $tea.Model {
|
|
|
1610
1622
|
return {
|
|
1611
1623
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1612
1624
|
statusCode: 'number',
|
|
1613
|
-
body:
|
|
1625
|
+
body: GetChatappTemplateMetricResponseBody,
|
|
1614
1626
|
};
|
|
1615
1627
|
}
|
|
1616
1628
|
}
|
|
1617
|
-
exports.
|
|
1618
|
-
class
|
|
1629
|
+
exports.GetChatappTemplateMetricResponse = GetChatappTemplateMetricResponse;
|
|
1630
|
+
class GetChatappUploadAuthorizationRequest extends $tea.Model {
|
|
1619
1631
|
constructor(map) {
|
|
1620
1632
|
super(map);
|
|
1621
1633
|
}
|
|
1622
1634
|
static names() {
|
|
1623
1635
|
return {
|
|
1624
|
-
|
|
1625
|
-
verifyCode: 'VerifyCode',
|
|
1636
|
+
custSpaceId: 'CustSpaceId',
|
|
1626
1637
|
};
|
|
1627
1638
|
}
|
|
1628
1639
|
static types() {
|
|
1629
1640
|
return {
|
|
1630
|
-
|
|
1631
|
-
verifyCode: 'string',
|
|
1641
|
+
custSpaceId: 'string',
|
|
1632
1642
|
};
|
|
1633
1643
|
}
|
|
1634
1644
|
}
|
|
1635
|
-
exports.
|
|
1636
|
-
class
|
|
1637
|
-
constructor(map) {
|
|
1645
|
+
exports.GetChatappUploadAuthorizationRequest = GetChatappUploadAuthorizationRequest;
|
|
1646
|
+
class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
|
|
1647
|
+
constructor(map) {
|
|
1648
|
+
super(map);
|
|
1649
|
+
}
|
|
1650
|
+
static names() {
|
|
1651
|
+
return {
|
|
1652
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1653
|
+
code: 'Code',
|
|
1654
|
+
data: 'Data',
|
|
1655
|
+
message: 'Message',
|
|
1656
|
+
requestId: 'RequestId',
|
|
1657
|
+
};
|
|
1658
|
+
}
|
|
1659
|
+
static types() {
|
|
1660
|
+
return {
|
|
1661
|
+
accessDeniedDetail: 'string',
|
|
1662
|
+
code: 'string',
|
|
1663
|
+
data: GetChatappUploadAuthorizationResponseBodyData,
|
|
1664
|
+
message: 'string',
|
|
1665
|
+
requestId: 'string',
|
|
1666
|
+
};
|
|
1667
|
+
}
|
|
1668
|
+
}
|
|
1669
|
+
exports.GetChatappUploadAuthorizationResponseBody = GetChatappUploadAuthorizationResponseBody;
|
|
1670
|
+
class GetChatappUploadAuthorizationResponse extends $tea.Model {
|
|
1671
|
+
constructor(map) {
|
|
1672
|
+
super(map);
|
|
1673
|
+
}
|
|
1674
|
+
static names() {
|
|
1675
|
+
return {
|
|
1676
|
+
headers: 'headers',
|
|
1677
|
+
statusCode: 'statusCode',
|
|
1678
|
+
body: 'body',
|
|
1679
|
+
};
|
|
1680
|
+
}
|
|
1681
|
+
static types() {
|
|
1682
|
+
return {
|
|
1683
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1684
|
+
statusCode: 'number',
|
|
1685
|
+
body: GetChatappUploadAuthorizationResponseBody,
|
|
1686
|
+
};
|
|
1687
|
+
}
|
|
1688
|
+
}
|
|
1689
|
+
exports.GetChatappUploadAuthorizationResponse = GetChatappUploadAuthorizationResponse;
|
|
1690
|
+
class GetChatappVerifyCodeRequest extends $tea.Model {
|
|
1691
|
+
constructor(map) {
|
|
1692
|
+
super(map);
|
|
1693
|
+
}
|
|
1694
|
+
static names() {
|
|
1695
|
+
return {
|
|
1696
|
+
custSpaceId: 'CustSpaceId',
|
|
1697
|
+
locale: 'Locale',
|
|
1698
|
+
method: 'Method',
|
|
1699
|
+
phoneNumber: 'PhoneNumber',
|
|
1700
|
+
};
|
|
1701
|
+
}
|
|
1702
|
+
static types() {
|
|
1703
|
+
return {
|
|
1704
|
+
custSpaceId: 'string',
|
|
1705
|
+
locale: 'string',
|
|
1706
|
+
method: 'string',
|
|
1707
|
+
phoneNumber: 'string',
|
|
1708
|
+
};
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
exports.GetChatappVerifyCodeRequest = GetChatappVerifyCodeRequest;
|
|
1712
|
+
class GetChatappVerifyCodeResponseBody extends $tea.Model {
|
|
1713
|
+
constructor(map) {
|
|
1714
|
+
super(map);
|
|
1715
|
+
}
|
|
1716
|
+
static names() {
|
|
1717
|
+
return {
|
|
1718
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1719
|
+
code: 'Code',
|
|
1720
|
+
message: 'Message',
|
|
1721
|
+
requestId: 'RequestId',
|
|
1722
|
+
};
|
|
1723
|
+
}
|
|
1724
|
+
static types() {
|
|
1725
|
+
return {
|
|
1726
|
+
accessDeniedDetail: 'string',
|
|
1727
|
+
code: 'string',
|
|
1728
|
+
message: 'string',
|
|
1729
|
+
requestId: 'string',
|
|
1730
|
+
};
|
|
1731
|
+
}
|
|
1732
|
+
}
|
|
1733
|
+
exports.GetChatappVerifyCodeResponseBody = GetChatappVerifyCodeResponseBody;
|
|
1734
|
+
class GetChatappVerifyCodeResponse extends $tea.Model {
|
|
1735
|
+
constructor(map) {
|
|
1736
|
+
super(map);
|
|
1737
|
+
}
|
|
1738
|
+
static names() {
|
|
1739
|
+
return {
|
|
1740
|
+
headers: 'headers',
|
|
1741
|
+
statusCode: 'statusCode',
|
|
1742
|
+
body: 'body',
|
|
1743
|
+
};
|
|
1744
|
+
}
|
|
1745
|
+
static types() {
|
|
1746
|
+
return {
|
|
1747
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1748
|
+
statusCode: 'number',
|
|
1749
|
+
body: GetChatappVerifyCodeResponseBody,
|
|
1750
|
+
};
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
exports.GetChatappVerifyCodeResponse = GetChatappVerifyCodeResponse;
|
|
1754
|
+
class GetCommerceSettingRequest extends $tea.Model {
|
|
1755
|
+
constructor(map) {
|
|
1756
|
+
super(map);
|
|
1757
|
+
}
|
|
1758
|
+
static names() {
|
|
1759
|
+
return {
|
|
1760
|
+
custSpaceId: 'CustSpaceId',
|
|
1761
|
+
phoneNumber: 'PhoneNumber',
|
|
1762
|
+
};
|
|
1763
|
+
}
|
|
1764
|
+
static types() {
|
|
1765
|
+
return {
|
|
1766
|
+
custSpaceId: 'string',
|
|
1767
|
+
phoneNumber: 'string',
|
|
1768
|
+
};
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
exports.GetCommerceSettingRequest = GetCommerceSettingRequest;
|
|
1772
|
+
class GetCommerceSettingResponseBody extends $tea.Model {
|
|
1773
|
+
constructor(map) {
|
|
1774
|
+
super(map);
|
|
1775
|
+
}
|
|
1776
|
+
static names() {
|
|
1777
|
+
return {
|
|
1778
|
+
code: 'Code',
|
|
1779
|
+
data: 'Data',
|
|
1780
|
+
message: 'Message',
|
|
1781
|
+
requestId: 'RequestId',
|
|
1782
|
+
};
|
|
1783
|
+
}
|
|
1784
|
+
static types() {
|
|
1785
|
+
return {
|
|
1786
|
+
code: 'string',
|
|
1787
|
+
data: GetCommerceSettingResponseBodyData,
|
|
1788
|
+
message: 'string',
|
|
1789
|
+
requestId: 'string',
|
|
1790
|
+
};
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
exports.GetCommerceSettingResponseBody = GetCommerceSettingResponseBody;
|
|
1794
|
+
class GetCommerceSettingResponse extends $tea.Model {
|
|
1795
|
+
constructor(map) {
|
|
1796
|
+
super(map);
|
|
1797
|
+
}
|
|
1798
|
+
static names() {
|
|
1799
|
+
return {
|
|
1800
|
+
headers: 'headers',
|
|
1801
|
+
statusCode: 'statusCode',
|
|
1802
|
+
body: 'body',
|
|
1803
|
+
};
|
|
1804
|
+
}
|
|
1805
|
+
static types() {
|
|
1806
|
+
return {
|
|
1807
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1808
|
+
statusCode: 'number',
|
|
1809
|
+
body: GetCommerceSettingResponseBody,
|
|
1810
|
+
};
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
exports.GetCommerceSettingResponse = GetCommerceSettingResponse;
|
|
1814
|
+
class GetFlowRequest extends $tea.Model {
|
|
1815
|
+
constructor(map) {
|
|
1816
|
+
super(map);
|
|
1817
|
+
}
|
|
1818
|
+
static names() {
|
|
1819
|
+
return {
|
|
1820
|
+
custSpaceId: 'CustSpaceId',
|
|
1821
|
+
flowId: 'FlowId',
|
|
1822
|
+
};
|
|
1823
|
+
}
|
|
1824
|
+
static types() {
|
|
1825
|
+
return {
|
|
1826
|
+
custSpaceId: 'string',
|
|
1827
|
+
flowId: 'string',
|
|
1828
|
+
};
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1831
|
+
exports.GetFlowRequest = GetFlowRequest;
|
|
1832
|
+
class GetFlowResponseBody extends $tea.Model {
|
|
1833
|
+
constructor(map) {
|
|
1834
|
+
super(map);
|
|
1835
|
+
}
|
|
1836
|
+
static names() {
|
|
1837
|
+
return {
|
|
1838
|
+
code: 'Code',
|
|
1839
|
+
data: 'Data',
|
|
1840
|
+
message: 'Message',
|
|
1841
|
+
requestId: 'RequestId',
|
|
1842
|
+
};
|
|
1843
|
+
}
|
|
1844
|
+
static types() {
|
|
1845
|
+
return {
|
|
1846
|
+
code: 'string',
|
|
1847
|
+
data: GetFlowResponseBodyData,
|
|
1848
|
+
message: 'string',
|
|
1849
|
+
requestId: 'string',
|
|
1850
|
+
};
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
exports.GetFlowResponseBody = GetFlowResponseBody;
|
|
1854
|
+
class GetFlowResponse extends $tea.Model {
|
|
1855
|
+
constructor(map) {
|
|
1856
|
+
super(map);
|
|
1857
|
+
}
|
|
1858
|
+
static names() {
|
|
1859
|
+
return {
|
|
1860
|
+
headers: 'headers',
|
|
1861
|
+
statusCode: 'statusCode',
|
|
1862
|
+
body: 'body',
|
|
1863
|
+
};
|
|
1864
|
+
}
|
|
1865
|
+
static types() {
|
|
1866
|
+
return {
|
|
1867
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1868
|
+
statusCode: 'number',
|
|
1869
|
+
body: GetFlowResponseBody,
|
|
1870
|
+
};
|
|
1871
|
+
}
|
|
1872
|
+
}
|
|
1873
|
+
exports.GetFlowResponse = GetFlowResponse;
|
|
1874
|
+
class GetFlowJSONAssestRequest extends $tea.Model {
|
|
1875
|
+
constructor(map) {
|
|
1876
|
+
super(map);
|
|
1877
|
+
}
|
|
1878
|
+
static names() {
|
|
1879
|
+
return {
|
|
1880
|
+
custSpaceId: 'CustSpaceId',
|
|
1881
|
+
flowId: 'FlowId',
|
|
1882
|
+
};
|
|
1883
|
+
}
|
|
1884
|
+
static types() {
|
|
1885
|
+
return {
|
|
1886
|
+
custSpaceId: 'string',
|
|
1887
|
+
flowId: 'string',
|
|
1888
|
+
};
|
|
1889
|
+
}
|
|
1890
|
+
}
|
|
1891
|
+
exports.GetFlowJSONAssestRequest = GetFlowJSONAssestRequest;
|
|
1892
|
+
class GetFlowJSONAssestResponseBody extends $tea.Model {
|
|
1893
|
+
constructor(map) {
|
|
1894
|
+
super(map);
|
|
1895
|
+
}
|
|
1896
|
+
static names() {
|
|
1897
|
+
return {
|
|
1898
|
+
code: 'Code',
|
|
1899
|
+
data: 'Data',
|
|
1900
|
+
message: 'Message',
|
|
1901
|
+
requestId: 'RequestId',
|
|
1902
|
+
};
|
|
1903
|
+
}
|
|
1904
|
+
static types() {
|
|
1905
|
+
return {
|
|
1906
|
+
code: 'string',
|
|
1907
|
+
data: GetFlowJSONAssestResponseBodyData,
|
|
1908
|
+
message: 'string',
|
|
1909
|
+
requestId: 'string',
|
|
1910
|
+
};
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
exports.GetFlowJSONAssestResponseBody = GetFlowJSONAssestResponseBody;
|
|
1914
|
+
class GetFlowJSONAssestResponse extends $tea.Model {
|
|
1915
|
+
constructor(map) {
|
|
1916
|
+
super(map);
|
|
1917
|
+
}
|
|
1918
|
+
static names() {
|
|
1919
|
+
return {
|
|
1920
|
+
headers: 'headers',
|
|
1921
|
+
statusCode: 'statusCode',
|
|
1922
|
+
body: 'body',
|
|
1923
|
+
};
|
|
1924
|
+
}
|
|
1925
|
+
static types() {
|
|
1926
|
+
return {
|
|
1927
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1928
|
+
statusCode: 'number',
|
|
1929
|
+
body: GetFlowJSONAssestResponseBody,
|
|
1930
|
+
};
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
exports.GetFlowJSONAssestResponse = GetFlowJSONAssestResponse;
|
|
1934
|
+
class GetFlowPreviewUrlRequest extends $tea.Model {
|
|
1935
|
+
constructor(map) {
|
|
1936
|
+
super(map);
|
|
1937
|
+
}
|
|
1938
|
+
static names() {
|
|
1939
|
+
return {
|
|
1940
|
+
custSpaceId: 'CustSpaceId',
|
|
1941
|
+
flowId: 'FlowId',
|
|
1942
|
+
};
|
|
1943
|
+
}
|
|
1944
|
+
static types() {
|
|
1945
|
+
return {
|
|
1946
|
+
custSpaceId: 'string',
|
|
1947
|
+
flowId: 'string',
|
|
1948
|
+
};
|
|
1949
|
+
}
|
|
1950
|
+
}
|
|
1951
|
+
exports.GetFlowPreviewUrlRequest = GetFlowPreviewUrlRequest;
|
|
1952
|
+
class GetFlowPreviewUrlResponseBody extends $tea.Model {
|
|
1953
|
+
constructor(map) {
|
|
1954
|
+
super(map);
|
|
1955
|
+
}
|
|
1956
|
+
static names() {
|
|
1957
|
+
return {
|
|
1958
|
+
code: 'Code',
|
|
1959
|
+
data: 'Data',
|
|
1960
|
+
message: 'Message',
|
|
1961
|
+
requestId: 'RequestId',
|
|
1962
|
+
};
|
|
1963
|
+
}
|
|
1964
|
+
static types() {
|
|
1965
|
+
return {
|
|
1966
|
+
code: 'string',
|
|
1967
|
+
data: GetFlowPreviewUrlResponseBodyData,
|
|
1968
|
+
message: 'string',
|
|
1969
|
+
requestId: 'string',
|
|
1970
|
+
};
|
|
1971
|
+
}
|
|
1972
|
+
}
|
|
1973
|
+
exports.GetFlowPreviewUrlResponseBody = GetFlowPreviewUrlResponseBody;
|
|
1974
|
+
class GetFlowPreviewUrlResponse extends $tea.Model {
|
|
1975
|
+
constructor(map) {
|
|
1976
|
+
super(map);
|
|
1977
|
+
}
|
|
1978
|
+
static names() {
|
|
1979
|
+
return {
|
|
1980
|
+
headers: 'headers',
|
|
1981
|
+
statusCode: 'statusCode',
|
|
1982
|
+
body: 'body',
|
|
1983
|
+
};
|
|
1984
|
+
}
|
|
1985
|
+
static types() {
|
|
1986
|
+
return {
|
|
1987
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1988
|
+
statusCode: 'number',
|
|
1989
|
+
body: GetFlowPreviewUrlResponseBody,
|
|
1990
|
+
};
|
|
1991
|
+
}
|
|
1992
|
+
}
|
|
1993
|
+
exports.GetFlowPreviewUrlResponse = GetFlowPreviewUrlResponse;
|
|
1994
|
+
class GetMigrationVerifyCodeRequest extends $tea.Model {
|
|
1995
|
+
constructor(map) {
|
|
1996
|
+
super(map);
|
|
1997
|
+
}
|
|
1998
|
+
static names() {
|
|
1999
|
+
return {
|
|
2000
|
+
custSpaceId: 'CustSpaceId',
|
|
2001
|
+
locale: 'Locale',
|
|
2002
|
+
method: 'Method',
|
|
2003
|
+
phoneNumber: 'PhoneNumber',
|
|
2004
|
+
};
|
|
2005
|
+
}
|
|
2006
|
+
static types() {
|
|
2007
|
+
return {
|
|
2008
|
+
custSpaceId: 'string',
|
|
2009
|
+
locale: 'string',
|
|
2010
|
+
method: 'string',
|
|
2011
|
+
phoneNumber: 'string',
|
|
2012
|
+
};
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
exports.GetMigrationVerifyCodeRequest = GetMigrationVerifyCodeRequest;
|
|
2016
|
+
class GetMigrationVerifyCodeResponseBody extends $tea.Model {
|
|
2017
|
+
constructor(map) {
|
|
2018
|
+
super(map);
|
|
2019
|
+
}
|
|
2020
|
+
static names() {
|
|
2021
|
+
return {
|
|
2022
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2023
|
+
code: 'Code',
|
|
2024
|
+
data: 'Data',
|
|
2025
|
+
message: 'Message',
|
|
2026
|
+
requestId: 'RequestId',
|
|
2027
|
+
};
|
|
2028
|
+
}
|
|
2029
|
+
static types() {
|
|
2030
|
+
return {
|
|
2031
|
+
accessDeniedDetail: 'string',
|
|
2032
|
+
code: 'string',
|
|
2033
|
+
data: GetMigrationVerifyCodeResponseBodyData,
|
|
2034
|
+
message: 'string',
|
|
2035
|
+
requestId: 'string',
|
|
2036
|
+
};
|
|
2037
|
+
}
|
|
2038
|
+
}
|
|
2039
|
+
exports.GetMigrationVerifyCodeResponseBody = GetMigrationVerifyCodeResponseBody;
|
|
2040
|
+
class GetMigrationVerifyCodeResponse extends $tea.Model {
|
|
2041
|
+
constructor(map) {
|
|
2042
|
+
super(map);
|
|
2043
|
+
}
|
|
2044
|
+
static names() {
|
|
2045
|
+
return {
|
|
2046
|
+
headers: 'headers',
|
|
2047
|
+
statusCode: 'statusCode',
|
|
2048
|
+
body: 'body',
|
|
2049
|
+
};
|
|
2050
|
+
}
|
|
2051
|
+
static types() {
|
|
2052
|
+
return {
|
|
2053
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2054
|
+
statusCode: 'number',
|
|
2055
|
+
body: GetMigrationVerifyCodeResponseBody,
|
|
2056
|
+
};
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
exports.GetMigrationVerifyCodeResponse = GetMigrationVerifyCodeResponse;
|
|
2060
|
+
class GetPermissionByCodeRequest extends $tea.Model {
|
|
2061
|
+
constructor(map) {
|
|
2062
|
+
super(map);
|
|
2063
|
+
}
|
|
2064
|
+
static names() {
|
|
2065
|
+
return {
|
|
2066
|
+
code: 'Code',
|
|
2067
|
+
custSpaceId: 'CustSpaceId',
|
|
2068
|
+
permissions: 'Permissions',
|
|
2069
|
+
};
|
|
2070
|
+
}
|
|
2071
|
+
static types() {
|
|
2072
|
+
return {
|
|
2073
|
+
code: 'string',
|
|
2074
|
+
custSpaceId: 'string',
|
|
2075
|
+
permissions: { 'type': 'array', 'itemType': 'string' },
|
|
2076
|
+
};
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
exports.GetPermissionByCodeRequest = GetPermissionByCodeRequest;
|
|
2080
|
+
class GetPermissionByCodeShrinkRequest extends $tea.Model {
|
|
2081
|
+
constructor(map) {
|
|
2082
|
+
super(map);
|
|
2083
|
+
}
|
|
2084
|
+
static names() {
|
|
2085
|
+
return {
|
|
2086
|
+
code: 'Code',
|
|
2087
|
+
custSpaceId: 'CustSpaceId',
|
|
2088
|
+
permissionsShrink: 'Permissions',
|
|
2089
|
+
};
|
|
2090
|
+
}
|
|
2091
|
+
static types() {
|
|
2092
|
+
return {
|
|
2093
|
+
code: 'string',
|
|
2094
|
+
custSpaceId: 'string',
|
|
2095
|
+
permissionsShrink: 'string',
|
|
2096
|
+
};
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
exports.GetPermissionByCodeShrinkRequest = GetPermissionByCodeShrinkRequest;
|
|
2100
|
+
class GetPermissionByCodeResponseBody extends $tea.Model {
|
|
2101
|
+
constructor(map) {
|
|
2102
|
+
super(map);
|
|
2103
|
+
}
|
|
2104
|
+
static names() {
|
|
2105
|
+
return {
|
|
2106
|
+
code: 'Code',
|
|
2107
|
+
message: 'Message',
|
|
2108
|
+
requestId: 'RequestId',
|
|
2109
|
+
};
|
|
2110
|
+
}
|
|
2111
|
+
static types() {
|
|
2112
|
+
return {
|
|
2113
|
+
code: 'string',
|
|
2114
|
+
message: 'string',
|
|
2115
|
+
requestId: 'string',
|
|
2116
|
+
};
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
exports.GetPermissionByCodeResponseBody = GetPermissionByCodeResponseBody;
|
|
2120
|
+
class GetPermissionByCodeResponse extends $tea.Model {
|
|
2121
|
+
constructor(map) {
|
|
2122
|
+
super(map);
|
|
2123
|
+
}
|
|
2124
|
+
static names() {
|
|
2125
|
+
return {
|
|
2126
|
+
headers: 'headers',
|
|
2127
|
+
statusCode: 'statusCode',
|
|
2128
|
+
body: 'body',
|
|
2129
|
+
};
|
|
2130
|
+
}
|
|
2131
|
+
static types() {
|
|
2132
|
+
return {
|
|
2133
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2134
|
+
statusCode: 'number',
|
|
2135
|
+
body: GetPermissionByCodeResponseBody,
|
|
2136
|
+
};
|
|
2137
|
+
}
|
|
2138
|
+
}
|
|
2139
|
+
exports.GetPermissionByCodeResponse = GetPermissionByCodeResponse;
|
|
2140
|
+
class GetPhoneEncryptionPublicKeyRequest extends $tea.Model {
|
|
2141
|
+
constructor(map) {
|
|
2142
|
+
super(map);
|
|
2143
|
+
}
|
|
2144
|
+
static names() {
|
|
2145
|
+
return {
|
|
2146
|
+
custSpaceId: 'CustSpaceId',
|
|
2147
|
+
phoneNumber: 'PhoneNumber',
|
|
2148
|
+
};
|
|
2149
|
+
}
|
|
2150
|
+
static types() {
|
|
2151
|
+
return {
|
|
2152
|
+
custSpaceId: 'string',
|
|
2153
|
+
phoneNumber: 'string',
|
|
2154
|
+
};
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2157
|
+
exports.GetPhoneEncryptionPublicKeyRequest = GetPhoneEncryptionPublicKeyRequest;
|
|
2158
|
+
class GetPhoneEncryptionPublicKeyResponseBody extends $tea.Model {
|
|
2159
|
+
constructor(map) {
|
|
2160
|
+
super(map);
|
|
2161
|
+
}
|
|
2162
|
+
static names() {
|
|
2163
|
+
return {
|
|
2164
|
+
code: 'Code',
|
|
2165
|
+
data: 'Data',
|
|
2166
|
+
message: 'Message',
|
|
2167
|
+
requestId: 'RequestId',
|
|
2168
|
+
};
|
|
2169
|
+
}
|
|
2170
|
+
static types() {
|
|
2171
|
+
return {
|
|
2172
|
+
code: 'string',
|
|
2173
|
+
data: GetPhoneEncryptionPublicKeyResponseBodyData,
|
|
2174
|
+
message: 'string',
|
|
2175
|
+
requestId: 'string',
|
|
2176
|
+
};
|
|
2177
|
+
}
|
|
2178
|
+
}
|
|
2179
|
+
exports.GetPhoneEncryptionPublicKeyResponseBody = GetPhoneEncryptionPublicKeyResponseBody;
|
|
2180
|
+
class GetPhoneEncryptionPublicKeyResponse extends $tea.Model {
|
|
2181
|
+
constructor(map) {
|
|
2182
|
+
super(map);
|
|
2183
|
+
}
|
|
2184
|
+
static names() {
|
|
2185
|
+
return {
|
|
2186
|
+
headers: 'headers',
|
|
2187
|
+
statusCode: 'statusCode',
|
|
2188
|
+
body: 'body',
|
|
2189
|
+
};
|
|
2190
|
+
}
|
|
2191
|
+
static types() {
|
|
2192
|
+
return {
|
|
2193
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2194
|
+
statusCode: 'number',
|
|
2195
|
+
body: GetPhoneEncryptionPublicKeyResponseBody,
|
|
2196
|
+
};
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
exports.GetPhoneEncryptionPublicKeyResponse = GetPhoneEncryptionPublicKeyResponse;
|
|
2200
|
+
class GetPhoneNumberVerificationStatusRequest extends $tea.Model {
|
|
2201
|
+
constructor(map) {
|
|
2202
|
+
super(map);
|
|
2203
|
+
}
|
|
2204
|
+
static names() {
|
|
2205
|
+
return {
|
|
2206
|
+
custSpaceId: 'CustSpaceId',
|
|
2207
|
+
phoneNumber: 'PhoneNumber',
|
|
2208
|
+
};
|
|
2209
|
+
}
|
|
2210
|
+
static types() {
|
|
2211
|
+
return {
|
|
2212
|
+
custSpaceId: 'string',
|
|
2213
|
+
phoneNumber: 'string',
|
|
2214
|
+
};
|
|
2215
|
+
}
|
|
2216
|
+
}
|
|
2217
|
+
exports.GetPhoneNumberVerificationStatusRequest = GetPhoneNumberVerificationStatusRequest;
|
|
2218
|
+
class GetPhoneNumberVerificationStatusResponseBody extends $tea.Model {
|
|
2219
|
+
constructor(map) {
|
|
2220
|
+
super(map);
|
|
2221
|
+
}
|
|
2222
|
+
static names() {
|
|
2223
|
+
return {
|
|
2224
|
+
code: 'Code',
|
|
2225
|
+
data: 'Data',
|
|
2226
|
+
message: 'Message',
|
|
2227
|
+
requestId: 'RequestId',
|
|
2228
|
+
};
|
|
2229
|
+
}
|
|
2230
|
+
static types() {
|
|
2231
|
+
return {
|
|
2232
|
+
code: 'string',
|
|
2233
|
+
data: GetPhoneNumberVerificationStatusResponseBodyData,
|
|
2234
|
+
message: 'string',
|
|
2235
|
+
requestId: 'string',
|
|
2236
|
+
};
|
|
2237
|
+
}
|
|
2238
|
+
}
|
|
2239
|
+
exports.GetPhoneNumberVerificationStatusResponseBody = GetPhoneNumberVerificationStatusResponseBody;
|
|
2240
|
+
class GetPhoneNumberVerificationStatusResponse extends $tea.Model {
|
|
2241
|
+
constructor(map) {
|
|
2242
|
+
super(map);
|
|
2243
|
+
}
|
|
2244
|
+
static names() {
|
|
2245
|
+
return {
|
|
2246
|
+
headers: 'headers',
|
|
2247
|
+
statusCode: 'statusCode',
|
|
2248
|
+
body: 'body',
|
|
2249
|
+
};
|
|
2250
|
+
}
|
|
2251
|
+
static types() {
|
|
2252
|
+
return {
|
|
2253
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2254
|
+
statusCode: 'number',
|
|
2255
|
+
body: GetPhoneNumberVerificationStatusResponseBody,
|
|
2256
|
+
};
|
|
2257
|
+
}
|
|
2258
|
+
}
|
|
2259
|
+
exports.GetPhoneNumberVerificationStatusResponse = GetPhoneNumberVerificationStatusResponse;
|
|
2260
|
+
class GetPreValidatePhoneIdRequest extends $tea.Model {
|
|
2261
|
+
constructor(map) {
|
|
2262
|
+
super(map);
|
|
2263
|
+
}
|
|
2264
|
+
static names() {
|
|
2265
|
+
return {
|
|
2266
|
+
phoneNumber: 'PhoneNumber',
|
|
2267
|
+
verifyCode: 'VerifyCode',
|
|
2268
|
+
};
|
|
2269
|
+
}
|
|
2270
|
+
static types() {
|
|
2271
|
+
return {
|
|
2272
|
+
phoneNumber: 'string',
|
|
2273
|
+
verifyCode: 'string',
|
|
2274
|
+
};
|
|
2275
|
+
}
|
|
2276
|
+
}
|
|
2277
|
+
exports.GetPreValidatePhoneIdRequest = GetPreValidatePhoneIdRequest;
|
|
2278
|
+
class GetPreValidatePhoneIdResponseBody extends $tea.Model {
|
|
2279
|
+
constructor(map) {
|
|
1638
2280
|
super(map);
|
|
1639
2281
|
}
|
|
1640
2282
|
static names() {
|
|
@@ -1751,11 +2393,13 @@ class IsvGetAppIdRequest extends $tea.Model {
|
|
|
1751
2393
|
}
|
|
1752
2394
|
static names() {
|
|
1753
2395
|
return {
|
|
2396
|
+
permissions: 'Permissions',
|
|
1754
2397
|
type: 'Type',
|
|
1755
2398
|
};
|
|
1756
2399
|
}
|
|
1757
2400
|
static types() {
|
|
1758
2401
|
return {
|
|
2402
|
+
permissions: 'string',
|
|
1759
2403
|
type: 'string',
|
|
1760
2404
|
};
|
|
1761
2405
|
}
|
|
@@ -1770,6 +2414,7 @@ class IsvGetAppIdResponseBody extends $tea.Model {
|
|
|
1770
2414
|
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1771
2415
|
appId: 'AppId',
|
|
1772
2416
|
code: 'Code',
|
|
2417
|
+
configId: 'ConfigId',
|
|
1773
2418
|
message: 'Message',
|
|
1774
2419
|
requestId: 'RequestId',
|
|
1775
2420
|
};
|
|
@@ -1779,6 +2424,7 @@ class IsvGetAppIdResponseBody extends $tea.Model {
|
|
|
1779
2424
|
accessDeniedDetail: 'string',
|
|
1780
2425
|
appId: 'string',
|
|
1781
2426
|
code: 'string',
|
|
2427
|
+
configId: 'string',
|
|
1782
2428
|
message: 'string',
|
|
1783
2429
|
requestId: 'string',
|
|
1784
2430
|
};
|
|
@@ -1911,6 +2557,148 @@ class ListChatappTemplateResponse extends $tea.Model {
|
|
|
1911
2557
|
}
|
|
1912
2558
|
}
|
|
1913
2559
|
exports.ListChatappTemplateResponse = ListChatappTemplateResponse;
|
|
2560
|
+
class ListFlowRequest extends $tea.Model {
|
|
2561
|
+
constructor(map) {
|
|
2562
|
+
super(map);
|
|
2563
|
+
}
|
|
2564
|
+
static names() {
|
|
2565
|
+
return {
|
|
2566
|
+
custSpaceId: 'CustSpaceId',
|
|
2567
|
+
flowName: 'FlowName',
|
|
2568
|
+
page: 'Page',
|
|
2569
|
+
};
|
|
2570
|
+
}
|
|
2571
|
+
static types() {
|
|
2572
|
+
return {
|
|
2573
|
+
custSpaceId: 'string',
|
|
2574
|
+
flowName: 'string',
|
|
2575
|
+
page: ListFlowRequestPage,
|
|
2576
|
+
};
|
|
2577
|
+
}
|
|
2578
|
+
}
|
|
2579
|
+
exports.ListFlowRequest = ListFlowRequest;
|
|
2580
|
+
class ListFlowShrinkRequest extends $tea.Model {
|
|
2581
|
+
constructor(map) {
|
|
2582
|
+
super(map);
|
|
2583
|
+
}
|
|
2584
|
+
static names() {
|
|
2585
|
+
return {
|
|
2586
|
+
custSpaceId: 'CustSpaceId',
|
|
2587
|
+
flowName: 'FlowName',
|
|
2588
|
+
pageShrink: 'Page',
|
|
2589
|
+
};
|
|
2590
|
+
}
|
|
2591
|
+
static types() {
|
|
2592
|
+
return {
|
|
2593
|
+
custSpaceId: 'string',
|
|
2594
|
+
flowName: 'string',
|
|
2595
|
+
pageShrink: 'string',
|
|
2596
|
+
};
|
|
2597
|
+
}
|
|
2598
|
+
}
|
|
2599
|
+
exports.ListFlowShrinkRequest = ListFlowShrinkRequest;
|
|
2600
|
+
class ListFlowResponseBody extends $tea.Model {
|
|
2601
|
+
constructor(map) {
|
|
2602
|
+
super(map);
|
|
2603
|
+
}
|
|
2604
|
+
static names() {
|
|
2605
|
+
return {
|
|
2606
|
+
code: 'Code',
|
|
2607
|
+
data: 'Data',
|
|
2608
|
+
message: 'Message',
|
|
2609
|
+
requestId: 'RequestId',
|
|
2610
|
+
};
|
|
2611
|
+
}
|
|
2612
|
+
static types() {
|
|
2613
|
+
return {
|
|
2614
|
+
code: 'string',
|
|
2615
|
+
data: { 'type': 'array', 'itemType': ListFlowResponseBodyData },
|
|
2616
|
+
message: 'string',
|
|
2617
|
+
requestId: 'string',
|
|
2618
|
+
};
|
|
2619
|
+
}
|
|
2620
|
+
}
|
|
2621
|
+
exports.ListFlowResponseBody = ListFlowResponseBody;
|
|
2622
|
+
class ListFlowResponse extends $tea.Model {
|
|
2623
|
+
constructor(map) {
|
|
2624
|
+
super(map);
|
|
2625
|
+
}
|
|
2626
|
+
static names() {
|
|
2627
|
+
return {
|
|
2628
|
+
headers: 'headers',
|
|
2629
|
+
statusCode: 'statusCode',
|
|
2630
|
+
body: 'body',
|
|
2631
|
+
};
|
|
2632
|
+
}
|
|
2633
|
+
static types() {
|
|
2634
|
+
return {
|
|
2635
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2636
|
+
statusCode: 'number',
|
|
2637
|
+
body: ListFlowResponseBody,
|
|
2638
|
+
};
|
|
2639
|
+
}
|
|
2640
|
+
}
|
|
2641
|
+
exports.ListFlowResponse = ListFlowResponse;
|
|
2642
|
+
class ListPhoneMessageQrdlRequest extends $tea.Model {
|
|
2643
|
+
constructor(map) {
|
|
2644
|
+
super(map);
|
|
2645
|
+
}
|
|
2646
|
+
static names() {
|
|
2647
|
+
return {
|
|
2648
|
+
custSpaceId: 'CustSpaceId',
|
|
2649
|
+
phoneNumber: 'PhoneNumber',
|
|
2650
|
+
};
|
|
2651
|
+
}
|
|
2652
|
+
static types() {
|
|
2653
|
+
return {
|
|
2654
|
+
custSpaceId: 'string',
|
|
2655
|
+
phoneNumber: 'string',
|
|
2656
|
+
};
|
|
2657
|
+
}
|
|
2658
|
+
}
|
|
2659
|
+
exports.ListPhoneMessageQrdlRequest = ListPhoneMessageQrdlRequest;
|
|
2660
|
+
class ListPhoneMessageQrdlResponseBody extends $tea.Model {
|
|
2661
|
+
constructor(map) {
|
|
2662
|
+
super(map);
|
|
2663
|
+
}
|
|
2664
|
+
static names() {
|
|
2665
|
+
return {
|
|
2666
|
+
code: 'Code',
|
|
2667
|
+
data: 'Data',
|
|
2668
|
+
message: 'Message',
|
|
2669
|
+
requestId: 'RequestId',
|
|
2670
|
+
};
|
|
2671
|
+
}
|
|
2672
|
+
static types() {
|
|
2673
|
+
return {
|
|
2674
|
+
code: 'string',
|
|
2675
|
+
data: { 'type': 'array', 'itemType': ListPhoneMessageQrdlResponseBodyData },
|
|
2676
|
+
message: 'string',
|
|
2677
|
+
requestId: 'string',
|
|
2678
|
+
};
|
|
2679
|
+
}
|
|
2680
|
+
}
|
|
2681
|
+
exports.ListPhoneMessageQrdlResponseBody = ListPhoneMessageQrdlResponseBody;
|
|
2682
|
+
class ListPhoneMessageQrdlResponse extends $tea.Model {
|
|
2683
|
+
constructor(map) {
|
|
2684
|
+
super(map);
|
|
2685
|
+
}
|
|
2686
|
+
static names() {
|
|
2687
|
+
return {
|
|
2688
|
+
headers: 'headers',
|
|
2689
|
+
statusCode: 'statusCode',
|
|
2690
|
+
body: 'body',
|
|
2691
|
+
};
|
|
2692
|
+
}
|
|
2693
|
+
static types() {
|
|
2694
|
+
return {
|
|
2695
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2696
|
+
statusCode: 'number',
|
|
2697
|
+
body: ListPhoneMessageQrdlResponseBody,
|
|
2698
|
+
};
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
exports.ListPhoneMessageQrdlResponse = ListPhoneMessageQrdlResponse;
|
|
1914
2702
|
class ListProductRequest extends $tea.Model {
|
|
1915
2703
|
constructor(map) {
|
|
1916
2704
|
super(map);
|
|
@@ -2181,6 +2969,92 @@ class ModifyChatappTemplateResponse extends $tea.Model {
|
|
|
2181
2969
|
}
|
|
2182
2970
|
}
|
|
2183
2971
|
exports.ModifyChatappTemplateResponse = ModifyChatappTemplateResponse;
|
|
2972
|
+
class ModifyFlowRequest extends $tea.Model {
|
|
2973
|
+
constructor(map) {
|
|
2974
|
+
super(map);
|
|
2975
|
+
}
|
|
2976
|
+
static names() {
|
|
2977
|
+
return {
|
|
2978
|
+
categories: 'Categories',
|
|
2979
|
+
custSpaceId: 'CustSpaceId',
|
|
2980
|
+
flowId: 'FlowId',
|
|
2981
|
+
flowName: 'FlowName',
|
|
2982
|
+
};
|
|
2983
|
+
}
|
|
2984
|
+
static types() {
|
|
2985
|
+
return {
|
|
2986
|
+
categories: { 'type': 'array', 'itemType': 'string' },
|
|
2987
|
+
custSpaceId: 'string',
|
|
2988
|
+
flowId: 'string',
|
|
2989
|
+
flowName: 'string',
|
|
2990
|
+
};
|
|
2991
|
+
}
|
|
2992
|
+
}
|
|
2993
|
+
exports.ModifyFlowRequest = ModifyFlowRequest;
|
|
2994
|
+
class ModifyFlowShrinkRequest extends $tea.Model {
|
|
2995
|
+
constructor(map) {
|
|
2996
|
+
super(map);
|
|
2997
|
+
}
|
|
2998
|
+
static names() {
|
|
2999
|
+
return {
|
|
3000
|
+
categoriesShrink: 'Categories',
|
|
3001
|
+
custSpaceId: 'CustSpaceId',
|
|
3002
|
+
flowId: 'FlowId',
|
|
3003
|
+
flowName: 'FlowName',
|
|
3004
|
+
};
|
|
3005
|
+
}
|
|
3006
|
+
static types() {
|
|
3007
|
+
return {
|
|
3008
|
+
categoriesShrink: 'string',
|
|
3009
|
+
custSpaceId: 'string',
|
|
3010
|
+
flowId: 'string',
|
|
3011
|
+
flowName: 'string',
|
|
3012
|
+
};
|
|
3013
|
+
}
|
|
3014
|
+
}
|
|
3015
|
+
exports.ModifyFlowShrinkRequest = ModifyFlowShrinkRequest;
|
|
3016
|
+
class ModifyFlowResponseBody extends $tea.Model {
|
|
3017
|
+
constructor(map) {
|
|
3018
|
+
super(map);
|
|
3019
|
+
}
|
|
3020
|
+
static names() {
|
|
3021
|
+
return {
|
|
3022
|
+
code: 'Code',
|
|
3023
|
+
data: 'Data',
|
|
3024
|
+
message: 'Message',
|
|
3025
|
+
requestId: 'RequestId',
|
|
3026
|
+
};
|
|
3027
|
+
}
|
|
3028
|
+
static types() {
|
|
3029
|
+
return {
|
|
3030
|
+
code: 'string',
|
|
3031
|
+
data: ModifyFlowResponseBodyData,
|
|
3032
|
+
message: 'string',
|
|
3033
|
+
requestId: 'string',
|
|
3034
|
+
};
|
|
3035
|
+
}
|
|
3036
|
+
}
|
|
3037
|
+
exports.ModifyFlowResponseBody = ModifyFlowResponseBody;
|
|
3038
|
+
class ModifyFlowResponse extends $tea.Model {
|
|
3039
|
+
constructor(map) {
|
|
3040
|
+
super(map);
|
|
3041
|
+
}
|
|
3042
|
+
static names() {
|
|
3043
|
+
return {
|
|
3044
|
+
headers: 'headers',
|
|
3045
|
+
statusCode: 'statusCode',
|
|
3046
|
+
body: 'body',
|
|
3047
|
+
};
|
|
3048
|
+
}
|
|
3049
|
+
static types() {
|
|
3050
|
+
return {
|
|
3051
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3052
|
+
statusCode: 'number',
|
|
3053
|
+
body: ModifyFlowResponseBody,
|
|
3054
|
+
};
|
|
3055
|
+
}
|
|
3056
|
+
}
|
|
3057
|
+
exports.ModifyFlowResponse = ModifyFlowResponse;
|
|
2184
3058
|
class ModifyPhoneBusinessProfileRequest extends $tea.Model {
|
|
2185
3059
|
constructor(map) {
|
|
2186
3060
|
super(map);
|
|
@@ -2229,25 +3103,84 @@ class ModifyPhoneBusinessProfileShrinkRequest extends $tea.Model {
|
|
|
2229
3103
|
}
|
|
2230
3104
|
static types() {
|
|
2231
3105
|
return {
|
|
2232
|
-
address: 'string',
|
|
3106
|
+
address: 'string',
|
|
3107
|
+
custSpaceId: 'string',
|
|
3108
|
+
description: 'string',
|
|
3109
|
+
email: 'string',
|
|
3110
|
+
phoneNumber: 'string',
|
|
3111
|
+
profilePictureUrl: 'string',
|
|
3112
|
+
vertical: 'string',
|
|
3113
|
+
websitesShrink: 'string',
|
|
3114
|
+
};
|
|
3115
|
+
}
|
|
3116
|
+
}
|
|
3117
|
+
exports.ModifyPhoneBusinessProfileShrinkRequest = ModifyPhoneBusinessProfileShrinkRequest;
|
|
3118
|
+
class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
3119
|
+
constructor(map) {
|
|
3120
|
+
super(map);
|
|
3121
|
+
}
|
|
3122
|
+
static names() {
|
|
3123
|
+
return {
|
|
3124
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
3125
|
+
code: 'Code',
|
|
3126
|
+
message: 'Message',
|
|
3127
|
+
requestId: 'RequestId',
|
|
3128
|
+
};
|
|
3129
|
+
}
|
|
3130
|
+
static types() {
|
|
3131
|
+
return {
|
|
3132
|
+
accessDeniedDetail: 'string',
|
|
3133
|
+
code: 'string',
|
|
3134
|
+
message: 'string',
|
|
3135
|
+
requestId: 'string',
|
|
3136
|
+
};
|
|
3137
|
+
}
|
|
3138
|
+
}
|
|
3139
|
+
exports.ModifyPhoneBusinessProfileResponseBody = ModifyPhoneBusinessProfileResponseBody;
|
|
3140
|
+
class ModifyPhoneBusinessProfileResponse extends $tea.Model {
|
|
3141
|
+
constructor(map) {
|
|
3142
|
+
super(map);
|
|
3143
|
+
}
|
|
3144
|
+
static names() {
|
|
3145
|
+
return {
|
|
3146
|
+
headers: 'headers',
|
|
3147
|
+
statusCode: 'statusCode',
|
|
3148
|
+
body: 'body',
|
|
3149
|
+
};
|
|
3150
|
+
}
|
|
3151
|
+
static types() {
|
|
3152
|
+
return {
|
|
3153
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3154
|
+
statusCode: 'number',
|
|
3155
|
+
body: ModifyPhoneBusinessProfileResponseBody,
|
|
3156
|
+
};
|
|
3157
|
+
}
|
|
3158
|
+
}
|
|
3159
|
+
exports.ModifyPhoneBusinessProfileResponse = ModifyPhoneBusinessProfileResponse;
|
|
3160
|
+
class PublishFlowRequest extends $tea.Model {
|
|
3161
|
+
constructor(map) {
|
|
3162
|
+
super(map);
|
|
3163
|
+
}
|
|
3164
|
+
static names() {
|
|
3165
|
+
return {
|
|
3166
|
+
custSpaceId: 'CustSpaceId',
|
|
3167
|
+
flowId: 'FlowId',
|
|
3168
|
+
};
|
|
3169
|
+
}
|
|
3170
|
+
static types() {
|
|
3171
|
+
return {
|
|
2233
3172
|
custSpaceId: 'string',
|
|
2234
|
-
|
|
2235
|
-
email: 'string',
|
|
2236
|
-
phoneNumber: 'string',
|
|
2237
|
-
profilePictureUrl: 'string',
|
|
2238
|
-
vertical: 'string',
|
|
2239
|
-
websitesShrink: 'string',
|
|
3173
|
+
flowId: 'string',
|
|
2240
3174
|
};
|
|
2241
3175
|
}
|
|
2242
3176
|
}
|
|
2243
|
-
exports.
|
|
2244
|
-
class
|
|
3177
|
+
exports.PublishFlowRequest = PublishFlowRequest;
|
|
3178
|
+
class PublishFlowResponseBody extends $tea.Model {
|
|
2245
3179
|
constructor(map) {
|
|
2246
3180
|
super(map);
|
|
2247
3181
|
}
|
|
2248
3182
|
static names() {
|
|
2249
3183
|
return {
|
|
2250
|
-
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2251
3184
|
code: 'Code',
|
|
2252
3185
|
message: 'Message',
|
|
2253
3186
|
requestId: 'RequestId',
|
|
@@ -2255,15 +3188,14 @@ class ModifyPhoneBusinessProfileResponseBody extends $tea.Model {
|
|
|
2255
3188
|
}
|
|
2256
3189
|
static types() {
|
|
2257
3190
|
return {
|
|
2258
|
-
accessDeniedDetail: 'string',
|
|
2259
3191
|
code: 'string',
|
|
2260
3192
|
message: 'string',
|
|
2261
3193
|
requestId: 'string',
|
|
2262
3194
|
};
|
|
2263
3195
|
}
|
|
2264
3196
|
}
|
|
2265
|
-
exports.
|
|
2266
|
-
class
|
|
3197
|
+
exports.PublishFlowResponseBody = PublishFlowResponseBody;
|
|
3198
|
+
class PublishFlowResponse extends $tea.Model {
|
|
2267
3199
|
constructor(map) {
|
|
2268
3200
|
super(map);
|
|
2269
3201
|
}
|
|
@@ -2278,11 +3210,11 @@ class ModifyPhoneBusinessProfileResponse extends $tea.Model {
|
|
|
2278
3210
|
return {
|
|
2279
3211
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2280
3212
|
statusCode: 'number',
|
|
2281
|
-
body:
|
|
3213
|
+
body: PublishFlowResponseBody,
|
|
2282
3214
|
};
|
|
2283
3215
|
}
|
|
2284
3216
|
}
|
|
2285
|
-
exports.
|
|
3217
|
+
exports.PublishFlowResponse = PublishFlowResponse;
|
|
2286
3218
|
class QueryChatappBindWabaRequest extends $tea.Model {
|
|
2287
3219
|
constructor(map) {
|
|
2288
3220
|
super(map);
|
|
@@ -2682,6 +3614,7 @@ class SendChatappMessageRequest extends $tea.Model {
|
|
|
2682
3614
|
fallBackDuration: 'FallBackDuration',
|
|
2683
3615
|
fallBackId: 'FallBackId',
|
|
2684
3616
|
fallBackRule: 'FallBackRule',
|
|
3617
|
+
flowAction: 'FlowAction',
|
|
2685
3618
|
from: 'From',
|
|
2686
3619
|
isvCode: 'IsvCode',
|
|
2687
3620
|
label: 'Label',
|
|
@@ -2710,6 +3643,7 @@ class SendChatappMessageRequest extends $tea.Model {
|
|
|
2710
3643
|
fallBackDuration: 'number',
|
|
2711
3644
|
fallBackId: 'string',
|
|
2712
3645
|
fallBackRule: 'string',
|
|
3646
|
+
flowAction: SendChatappMessageRequestFlowAction,
|
|
2713
3647
|
from: 'string',
|
|
2714
3648
|
isvCode: 'string',
|
|
2715
3649
|
label: 'string',
|
|
@@ -2735,63 +3669,263 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
2735
3669
|
}
|
|
2736
3670
|
static names() {
|
|
2737
3671
|
return {
|
|
2738
|
-
channelType: 'ChannelType',
|
|
2739
|
-
content: 'Content',
|
|
2740
|
-
contextMessageId: 'ContextMessageId',
|
|
3672
|
+
channelType: 'ChannelType',
|
|
3673
|
+
content: 'Content',
|
|
3674
|
+
contextMessageId: 'ContextMessageId',
|
|
3675
|
+
custSpaceId: 'CustSpaceId',
|
|
3676
|
+
custWabaId: 'CustWabaId',
|
|
3677
|
+
fallBackContent: 'FallBackContent',
|
|
3678
|
+
fallBackDuration: 'FallBackDuration',
|
|
3679
|
+
fallBackId: 'FallBackId',
|
|
3680
|
+
fallBackRule: 'FallBackRule',
|
|
3681
|
+
flowActionShrink: 'FlowAction',
|
|
3682
|
+
from: 'From',
|
|
3683
|
+
isvCode: 'IsvCode',
|
|
3684
|
+
label: 'Label',
|
|
3685
|
+
language: 'Language',
|
|
3686
|
+
messageType: 'MessageType',
|
|
3687
|
+
payloadShrink: 'Payload',
|
|
3688
|
+
productActionShrink: 'ProductAction',
|
|
3689
|
+
tag: 'Tag',
|
|
3690
|
+
taskId: 'TaskId',
|
|
3691
|
+
templateCode: 'TemplateCode',
|
|
3692
|
+
templateParamsShrink: 'TemplateParams',
|
|
3693
|
+
to: 'To',
|
|
3694
|
+
trackingData: 'TrackingData',
|
|
3695
|
+
ttl: 'Ttl',
|
|
3696
|
+
type: 'Type',
|
|
3697
|
+
};
|
|
3698
|
+
}
|
|
3699
|
+
static types() {
|
|
3700
|
+
return {
|
|
3701
|
+
channelType: 'string',
|
|
3702
|
+
content: 'string',
|
|
3703
|
+
contextMessageId: 'string',
|
|
3704
|
+
custSpaceId: 'string',
|
|
3705
|
+
custWabaId: 'string',
|
|
3706
|
+
fallBackContent: 'string',
|
|
3707
|
+
fallBackDuration: 'number',
|
|
3708
|
+
fallBackId: 'string',
|
|
3709
|
+
fallBackRule: 'string',
|
|
3710
|
+
flowActionShrink: 'string',
|
|
3711
|
+
from: 'string',
|
|
3712
|
+
isvCode: 'string',
|
|
3713
|
+
label: 'string',
|
|
3714
|
+
language: 'string',
|
|
3715
|
+
messageType: 'string',
|
|
3716
|
+
payloadShrink: 'string',
|
|
3717
|
+
productActionShrink: 'string',
|
|
3718
|
+
tag: 'string',
|
|
3719
|
+
taskId: 'string',
|
|
3720
|
+
templateCode: 'string',
|
|
3721
|
+
templateParamsShrink: 'string',
|
|
3722
|
+
to: 'string',
|
|
3723
|
+
trackingData: 'string',
|
|
3724
|
+
ttl: 'number',
|
|
3725
|
+
type: 'string',
|
|
3726
|
+
};
|
|
3727
|
+
}
|
|
3728
|
+
}
|
|
3729
|
+
exports.SendChatappMessageShrinkRequest = SendChatappMessageShrinkRequest;
|
|
3730
|
+
class SendChatappMessageResponseBody extends $tea.Model {
|
|
3731
|
+
constructor(map) {
|
|
3732
|
+
super(map);
|
|
3733
|
+
}
|
|
3734
|
+
static names() {
|
|
3735
|
+
return {
|
|
3736
|
+
code: 'Code',
|
|
3737
|
+
message: 'Message',
|
|
3738
|
+
messageId: 'MessageId',
|
|
3739
|
+
requestId: 'RequestId',
|
|
3740
|
+
};
|
|
3741
|
+
}
|
|
3742
|
+
static types() {
|
|
3743
|
+
return {
|
|
3744
|
+
code: 'string',
|
|
3745
|
+
message: 'string',
|
|
3746
|
+
messageId: 'string',
|
|
3747
|
+
requestId: 'string',
|
|
3748
|
+
};
|
|
3749
|
+
}
|
|
3750
|
+
}
|
|
3751
|
+
exports.SendChatappMessageResponseBody = SendChatappMessageResponseBody;
|
|
3752
|
+
class SendChatappMessageResponse extends $tea.Model {
|
|
3753
|
+
constructor(map) {
|
|
3754
|
+
super(map);
|
|
3755
|
+
}
|
|
3756
|
+
static names() {
|
|
3757
|
+
return {
|
|
3758
|
+
headers: 'headers',
|
|
3759
|
+
statusCode: 'statusCode',
|
|
3760
|
+
body: 'body',
|
|
3761
|
+
};
|
|
3762
|
+
}
|
|
3763
|
+
static types() {
|
|
3764
|
+
return {
|
|
3765
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3766
|
+
statusCode: 'number',
|
|
3767
|
+
body: SendChatappMessageResponseBody,
|
|
3768
|
+
};
|
|
3769
|
+
}
|
|
3770
|
+
}
|
|
3771
|
+
exports.SendChatappMessageResponse = SendChatappMessageResponse;
|
|
3772
|
+
class SubmitIsvCustomerTermsRequest extends $tea.Model {
|
|
3773
|
+
constructor(map) {
|
|
3774
|
+
super(map);
|
|
3775
|
+
}
|
|
3776
|
+
static names() {
|
|
3777
|
+
return {
|
|
3778
|
+
businessDesc: 'BusinessDesc',
|
|
3779
|
+
contactMail: 'ContactMail',
|
|
3780
|
+
countryId: 'CountryId',
|
|
3781
|
+
custName: 'CustName',
|
|
3782
|
+
custSpaceId: 'CustSpaceId',
|
|
3783
|
+
isvTerms: 'IsvTerms',
|
|
3784
|
+
officeAddress: 'OfficeAddress',
|
|
3785
|
+
};
|
|
3786
|
+
}
|
|
3787
|
+
static types() {
|
|
3788
|
+
return {
|
|
3789
|
+
businessDesc: 'string',
|
|
3790
|
+
contactMail: 'string',
|
|
3791
|
+
countryId: 'string',
|
|
3792
|
+
custName: 'string',
|
|
3793
|
+
custSpaceId: 'string',
|
|
3794
|
+
isvTerms: 'string',
|
|
3795
|
+
officeAddress: 'string',
|
|
3796
|
+
};
|
|
3797
|
+
}
|
|
3798
|
+
}
|
|
3799
|
+
exports.SubmitIsvCustomerTermsRequest = SubmitIsvCustomerTermsRequest;
|
|
3800
|
+
class SubmitIsvCustomerTermsResponseBody extends $tea.Model {
|
|
3801
|
+
constructor(map) {
|
|
3802
|
+
super(map);
|
|
3803
|
+
}
|
|
3804
|
+
static names() {
|
|
3805
|
+
return {
|
|
3806
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
3807
|
+
code: 'Code',
|
|
3808
|
+
message: 'Message',
|
|
3809
|
+
requestId: 'RequestId',
|
|
3810
|
+
};
|
|
3811
|
+
}
|
|
3812
|
+
static types() {
|
|
3813
|
+
return {
|
|
3814
|
+
accessDeniedDetail: 'string',
|
|
3815
|
+
code: 'string',
|
|
3816
|
+
message: 'string',
|
|
3817
|
+
requestId: 'string',
|
|
3818
|
+
};
|
|
3819
|
+
}
|
|
3820
|
+
}
|
|
3821
|
+
exports.SubmitIsvCustomerTermsResponseBody = SubmitIsvCustomerTermsResponseBody;
|
|
3822
|
+
class SubmitIsvCustomerTermsResponse extends $tea.Model {
|
|
3823
|
+
constructor(map) {
|
|
3824
|
+
super(map);
|
|
3825
|
+
}
|
|
3826
|
+
static names() {
|
|
3827
|
+
return {
|
|
3828
|
+
headers: 'headers',
|
|
3829
|
+
statusCode: 'statusCode',
|
|
3830
|
+
body: 'body',
|
|
3831
|
+
};
|
|
3832
|
+
}
|
|
3833
|
+
static types() {
|
|
3834
|
+
return {
|
|
3835
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3836
|
+
statusCode: 'number',
|
|
3837
|
+
body: SubmitIsvCustomerTermsResponseBody,
|
|
3838
|
+
};
|
|
3839
|
+
}
|
|
3840
|
+
}
|
|
3841
|
+
exports.SubmitIsvCustomerTermsResponse = SubmitIsvCustomerTermsResponse;
|
|
3842
|
+
class UpdateAccountWebhookRequest extends $tea.Model {
|
|
3843
|
+
constructor(map) {
|
|
3844
|
+
super(map);
|
|
3845
|
+
}
|
|
3846
|
+
static names() {
|
|
3847
|
+
return {
|
|
3848
|
+
custSpaceId: 'CustSpaceId',
|
|
3849
|
+
httpFlag: 'HttpFlag',
|
|
3850
|
+
queueFlag: 'QueueFlag',
|
|
3851
|
+
statusCallbackUrl: 'StatusCallbackUrl',
|
|
3852
|
+
};
|
|
3853
|
+
}
|
|
3854
|
+
static types() {
|
|
3855
|
+
return {
|
|
3856
|
+
custSpaceId: 'string',
|
|
3857
|
+
httpFlag: 'string',
|
|
3858
|
+
queueFlag: 'string',
|
|
3859
|
+
statusCallbackUrl: 'string',
|
|
3860
|
+
};
|
|
3861
|
+
}
|
|
3862
|
+
}
|
|
3863
|
+
exports.UpdateAccountWebhookRequest = UpdateAccountWebhookRequest;
|
|
3864
|
+
class UpdateAccountWebhookResponseBody extends $tea.Model {
|
|
3865
|
+
constructor(map) {
|
|
3866
|
+
super(map);
|
|
3867
|
+
}
|
|
3868
|
+
static names() {
|
|
3869
|
+
return {
|
|
3870
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
3871
|
+
code: 'Code',
|
|
3872
|
+
message: 'Message',
|
|
3873
|
+
requestId: 'RequestId',
|
|
3874
|
+
};
|
|
3875
|
+
}
|
|
3876
|
+
static types() {
|
|
3877
|
+
return {
|
|
3878
|
+
accessDeniedDetail: 'string',
|
|
3879
|
+
code: 'string',
|
|
3880
|
+
message: 'string',
|
|
3881
|
+
requestId: 'string',
|
|
3882
|
+
};
|
|
3883
|
+
}
|
|
3884
|
+
}
|
|
3885
|
+
exports.UpdateAccountWebhookResponseBody = UpdateAccountWebhookResponseBody;
|
|
3886
|
+
class UpdateAccountWebhookResponse extends $tea.Model {
|
|
3887
|
+
constructor(map) {
|
|
3888
|
+
super(map);
|
|
3889
|
+
}
|
|
3890
|
+
static names() {
|
|
3891
|
+
return {
|
|
3892
|
+
headers: 'headers',
|
|
3893
|
+
statusCode: 'statusCode',
|
|
3894
|
+
body: 'body',
|
|
3895
|
+
};
|
|
3896
|
+
}
|
|
3897
|
+
static types() {
|
|
3898
|
+
return {
|
|
3899
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3900
|
+
statusCode: 'number',
|
|
3901
|
+
body: UpdateAccountWebhookResponseBody,
|
|
3902
|
+
};
|
|
3903
|
+
}
|
|
3904
|
+
}
|
|
3905
|
+
exports.UpdateAccountWebhookResponse = UpdateAccountWebhookResponse;
|
|
3906
|
+
class UpdateCommerceSettingRequest extends $tea.Model {
|
|
3907
|
+
constructor(map) {
|
|
3908
|
+
super(map);
|
|
3909
|
+
}
|
|
3910
|
+
static names() {
|
|
3911
|
+
return {
|
|
3912
|
+
cartEnable: 'CartEnable',
|
|
3913
|
+
catalogVisible: 'CatalogVisible',
|
|
2741
3914
|
custSpaceId: 'CustSpaceId',
|
|
2742
|
-
|
|
2743
|
-
fallBackContent: 'FallBackContent',
|
|
2744
|
-
fallBackDuration: 'FallBackDuration',
|
|
2745
|
-
fallBackId: 'FallBackId',
|
|
2746
|
-
fallBackRule: 'FallBackRule',
|
|
2747
|
-
from: 'From',
|
|
2748
|
-
isvCode: 'IsvCode',
|
|
2749
|
-
label: 'Label',
|
|
2750
|
-
language: 'Language',
|
|
2751
|
-
messageType: 'MessageType',
|
|
2752
|
-
payloadShrink: 'Payload',
|
|
2753
|
-
productActionShrink: 'ProductAction',
|
|
2754
|
-
tag: 'Tag',
|
|
2755
|
-
taskId: 'TaskId',
|
|
2756
|
-
templateCode: 'TemplateCode',
|
|
2757
|
-
templateParamsShrink: 'TemplateParams',
|
|
2758
|
-
to: 'To',
|
|
2759
|
-
trackingData: 'TrackingData',
|
|
2760
|
-
ttl: 'Ttl',
|
|
2761
|
-
type: 'Type',
|
|
3915
|
+
phoneNumber: 'PhoneNumber',
|
|
2762
3916
|
};
|
|
2763
3917
|
}
|
|
2764
3918
|
static types() {
|
|
2765
3919
|
return {
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
contextMessageId: 'string',
|
|
3920
|
+
cartEnable: 'boolean',
|
|
3921
|
+
catalogVisible: 'boolean',
|
|
2769
3922
|
custSpaceId: 'string',
|
|
2770
|
-
|
|
2771
|
-
fallBackContent: 'string',
|
|
2772
|
-
fallBackDuration: 'number',
|
|
2773
|
-
fallBackId: 'string',
|
|
2774
|
-
fallBackRule: 'string',
|
|
2775
|
-
from: 'string',
|
|
2776
|
-
isvCode: 'string',
|
|
2777
|
-
label: 'string',
|
|
2778
|
-
language: 'string',
|
|
2779
|
-
messageType: 'string',
|
|
2780
|
-
payloadShrink: 'string',
|
|
2781
|
-
productActionShrink: 'string',
|
|
2782
|
-
tag: 'string',
|
|
2783
|
-
taskId: 'string',
|
|
2784
|
-
templateCode: 'string',
|
|
2785
|
-
templateParamsShrink: 'string',
|
|
2786
|
-
to: 'string',
|
|
2787
|
-
trackingData: 'string',
|
|
2788
|
-
ttl: 'number',
|
|
2789
|
-
type: 'string',
|
|
3923
|
+
phoneNumber: 'string',
|
|
2790
3924
|
};
|
|
2791
3925
|
}
|
|
2792
3926
|
}
|
|
2793
|
-
exports.
|
|
2794
|
-
class
|
|
3927
|
+
exports.UpdateCommerceSettingRequest = UpdateCommerceSettingRequest;
|
|
3928
|
+
class UpdateCommerceSettingResponseBody extends $tea.Model {
|
|
2795
3929
|
constructor(map) {
|
|
2796
3930
|
super(map);
|
|
2797
3931
|
}
|
|
@@ -2799,7 +3933,6 @@ class SendChatappMessageResponseBody extends $tea.Model {
|
|
|
2799
3933
|
return {
|
|
2800
3934
|
code: 'Code',
|
|
2801
3935
|
message: 'Message',
|
|
2802
|
-
messageId: 'MessageId',
|
|
2803
3936
|
requestId: 'RequestId',
|
|
2804
3937
|
};
|
|
2805
3938
|
}
|
|
@@ -2807,13 +3940,12 @@ class SendChatappMessageResponseBody extends $tea.Model {
|
|
|
2807
3940
|
return {
|
|
2808
3941
|
code: 'string',
|
|
2809
3942
|
message: 'string',
|
|
2810
|
-
messageId: 'string',
|
|
2811
3943
|
requestId: 'string',
|
|
2812
3944
|
};
|
|
2813
3945
|
}
|
|
2814
3946
|
}
|
|
2815
|
-
exports.
|
|
2816
|
-
class
|
|
3947
|
+
exports.UpdateCommerceSettingResponseBody = UpdateCommerceSettingResponseBody;
|
|
3948
|
+
class UpdateCommerceSettingResponse extends $tea.Model {
|
|
2817
3949
|
constructor(map) {
|
|
2818
3950
|
super(map);
|
|
2819
3951
|
}
|
|
@@ -2828,62 +3960,54 @@ class SendChatappMessageResponse extends $tea.Model {
|
|
|
2828
3960
|
return {
|
|
2829
3961
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2830
3962
|
statusCode: 'number',
|
|
2831
|
-
body:
|
|
3963
|
+
body: UpdateCommerceSettingResponseBody,
|
|
2832
3964
|
};
|
|
2833
3965
|
}
|
|
2834
3966
|
}
|
|
2835
|
-
exports.
|
|
2836
|
-
class
|
|
3967
|
+
exports.UpdateCommerceSettingResponse = UpdateCommerceSettingResponse;
|
|
3968
|
+
class UpdateFlowJSONAssetRequest extends $tea.Model {
|
|
2837
3969
|
constructor(map) {
|
|
2838
3970
|
super(map);
|
|
2839
3971
|
}
|
|
2840
3972
|
static names() {
|
|
2841
3973
|
return {
|
|
2842
|
-
businessDesc: 'BusinessDesc',
|
|
2843
|
-
contactMail: 'ContactMail',
|
|
2844
|
-
countryId: 'CountryId',
|
|
2845
|
-
custName: 'CustName',
|
|
2846
3974
|
custSpaceId: 'CustSpaceId',
|
|
2847
|
-
|
|
2848
|
-
|
|
3975
|
+
filePath: 'FilePath',
|
|
3976
|
+
flowId: 'FlowId',
|
|
2849
3977
|
};
|
|
2850
3978
|
}
|
|
2851
3979
|
static types() {
|
|
2852
3980
|
return {
|
|
2853
|
-
businessDesc: 'string',
|
|
2854
|
-
contactMail: 'string',
|
|
2855
|
-
countryId: 'string',
|
|
2856
|
-
custName: 'string',
|
|
2857
3981
|
custSpaceId: 'string',
|
|
2858
|
-
|
|
2859
|
-
|
|
3982
|
+
filePath: 'string',
|
|
3983
|
+
flowId: 'string',
|
|
2860
3984
|
};
|
|
2861
3985
|
}
|
|
2862
3986
|
}
|
|
2863
|
-
exports.
|
|
2864
|
-
class
|
|
3987
|
+
exports.UpdateFlowJSONAssetRequest = UpdateFlowJSONAssetRequest;
|
|
3988
|
+
class UpdateFlowJSONAssetResponseBody extends $tea.Model {
|
|
2865
3989
|
constructor(map) {
|
|
2866
3990
|
super(map);
|
|
2867
3991
|
}
|
|
2868
3992
|
static names() {
|
|
2869
3993
|
return {
|
|
2870
|
-
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2871
3994
|
code: 'Code',
|
|
3995
|
+
data: 'Data',
|
|
2872
3996
|
message: 'Message',
|
|
2873
3997
|
requestId: 'RequestId',
|
|
2874
3998
|
};
|
|
2875
3999
|
}
|
|
2876
4000
|
static types() {
|
|
2877
4001
|
return {
|
|
2878
|
-
accessDeniedDetail: 'string',
|
|
2879
4002
|
code: 'string',
|
|
4003
|
+
data: UpdateFlowJSONAssetResponseBodyData,
|
|
2880
4004
|
message: 'string',
|
|
2881
4005
|
requestId: 'string',
|
|
2882
4006
|
};
|
|
2883
4007
|
}
|
|
2884
4008
|
}
|
|
2885
|
-
exports.
|
|
2886
|
-
class
|
|
4009
|
+
exports.UpdateFlowJSONAssetResponseBody = UpdateFlowJSONAssetResponseBody;
|
|
4010
|
+
class UpdateFlowJSONAssetResponse extends $tea.Model {
|
|
2887
4011
|
constructor(map) {
|
|
2888
4012
|
super(map);
|
|
2889
4013
|
}
|
|
@@ -2898,40 +4022,37 @@ class SubmitIsvCustomerTermsResponse extends $tea.Model {
|
|
|
2898
4022
|
return {
|
|
2899
4023
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2900
4024
|
statusCode: 'number',
|
|
2901
|
-
body:
|
|
4025
|
+
body: UpdateFlowJSONAssetResponseBody,
|
|
2902
4026
|
};
|
|
2903
4027
|
}
|
|
2904
4028
|
}
|
|
2905
|
-
exports.
|
|
2906
|
-
class
|
|
4029
|
+
exports.UpdateFlowJSONAssetResponse = UpdateFlowJSONAssetResponse;
|
|
4030
|
+
class UpdatePhoneEncryptionPublicKeyRequest extends $tea.Model {
|
|
2907
4031
|
constructor(map) {
|
|
2908
4032
|
super(map);
|
|
2909
4033
|
}
|
|
2910
4034
|
static names() {
|
|
2911
4035
|
return {
|
|
2912
4036
|
custSpaceId: 'CustSpaceId',
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
statusCallbackUrl: 'StatusCallbackUrl',
|
|
4037
|
+
encryptionPublicKey: 'EncryptionPublicKey',
|
|
4038
|
+
phoneNumber: 'PhoneNumber',
|
|
2916
4039
|
};
|
|
2917
4040
|
}
|
|
2918
4041
|
static types() {
|
|
2919
4042
|
return {
|
|
2920
4043
|
custSpaceId: 'string',
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
statusCallbackUrl: 'string',
|
|
4044
|
+
encryptionPublicKey: 'string',
|
|
4045
|
+
phoneNumber: 'string',
|
|
2924
4046
|
};
|
|
2925
4047
|
}
|
|
2926
4048
|
}
|
|
2927
|
-
exports.
|
|
2928
|
-
class
|
|
4049
|
+
exports.UpdatePhoneEncryptionPublicKeyRequest = UpdatePhoneEncryptionPublicKeyRequest;
|
|
4050
|
+
class UpdatePhoneEncryptionPublicKeyResponseBody extends $tea.Model {
|
|
2929
4051
|
constructor(map) {
|
|
2930
4052
|
super(map);
|
|
2931
4053
|
}
|
|
2932
4054
|
static names() {
|
|
2933
4055
|
return {
|
|
2934
|
-
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2935
4056
|
code: 'Code',
|
|
2936
4057
|
message: 'Message',
|
|
2937
4058
|
requestId: 'RequestId',
|
|
@@ -2939,15 +4060,14 @@ class UpdateAccountWebhookResponseBody extends $tea.Model {
|
|
|
2939
4060
|
}
|
|
2940
4061
|
static types() {
|
|
2941
4062
|
return {
|
|
2942
|
-
accessDeniedDetail: 'string',
|
|
2943
4063
|
code: 'string',
|
|
2944
4064
|
message: 'string',
|
|
2945
4065
|
requestId: 'string',
|
|
2946
4066
|
};
|
|
2947
4067
|
}
|
|
2948
4068
|
}
|
|
2949
|
-
exports.
|
|
2950
|
-
class
|
|
4069
|
+
exports.UpdatePhoneEncryptionPublicKeyResponseBody = UpdatePhoneEncryptionPublicKeyResponseBody;
|
|
4070
|
+
class UpdatePhoneEncryptionPublicKeyResponse extends $tea.Model {
|
|
2951
4071
|
constructor(map) {
|
|
2952
4072
|
super(map);
|
|
2953
4073
|
}
|
|
@@ -2962,40 +4082,43 @@ class UpdateAccountWebhookResponse extends $tea.Model {
|
|
|
2962
4082
|
return {
|
|
2963
4083
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2964
4084
|
statusCode: 'number',
|
|
2965
|
-
body:
|
|
4085
|
+
body: UpdatePhoneEncryptionPublicKeyResponseBody,
|
|
2966
4086
|
};
|
|
2967
4087
|
}
|
|
2968
4088
|
}
|
|
2969
|
-
exports.
|
|
2970
|
-
class
|
|
4089
|
+
exports.UpdatePhoneEncryptionPublicKeyResponse = UpdatePhoneEncryptionPublicKeyResponse;
|
|
4090
|
+
class UpdatePhoneMessageQrdlRequest extends $tea.Model {
|
|
2971
4091
|
constructor(map) {
|
|
2972
4092
|
super(map);
|
|
2973
4093
|
}
|
|
2974
4094
|
static names() {
|
|
2975
4095
|
return {
|
|
2976
|
-
cartEnable: 'CartEnable',
|
|
2977
|
-
catalogVisible: 'CatalogVisible',
|
|
2978
4096
|
custSpaceId: 'CustSpaceId',
|
|
4097
|
+
generateQrImage: 'GenerateQrImage',
|
|
2979
4098
|
phoneNumber: 'PhoneNumber',
|
|
4099
|
+
prefilledMessage: 'PrefilledMessage',
|
|
4100
|
+
qrdlCode: 'QrdlCode',
|
|
2980
4101
|
};
|
|
2981
4102
|
}
|
|
2982
4103
|
static types() {
|
|
2983
4104
|
return {
|
|
2984
|
-
cartEnable: 'boolean',
|
|
2985
|
-
catalogVisible: 'boolean',
|
|
2986
4105
|
custSpaceId: 'string',
|
|
4106
|
+
generateQrImage: 'string',
|
|
2987
4107
|
phoneNumber: 'string',
|
|
4108
|
+
prefilledMessage: 'string',
|
|
4109
|
+
qrdlCode: 'string',
|
|
2988
4110
|
};
|
|
2989
4111
|
}
|
|
2990
4112
|
}
|
|
2991
|
-
exports.
|
|
2992
|
-
class
|
|
4113
|
+
exports.UpdatePhoneMessageQrdlRequest = UpdatePhoneMessageQrdlRequest;
|
|
4114
|
+
class UpdatePhoneMessageQrdlResponseBody extends $tea.Model {
|
|
2993
4115
|
constructor(map) {
|
|
2994
4116
|
super(map);
|
|
2995
4117
|
}
|
|
2996
4118
|
static names() {
|
|
2997
4119
|
return {
|
|
2998
4120
|
code: 'Code',
|
|
4121
|
+
data: 'Data',
|
|
2999
4122
|
message: 'Message',
|
|
3000
4123
|
requestId: 'RequestId',
|
|
3001
4124
|
};
|
|
@@ -3003,13 +4126,14 @@ class UpdateCommerceSettingResponseBody extends $tea.Model {
|
|
|
3003
4126
|
static types() {
|
|
3004
4127
|
return {
|
|
3005
4128
|
code: 'string',
|
|
4129
|
+
data: UpdatePhoneMessageQrdlResponseBodyData,
|
|
3006
4130
|
message: 'string',
|
|
3007
4131
|
requestId: 'string',
|
|
3008
4132
|
};
|
|
3009
4133
|
}
|
|
3010
4134
|
}
|
|
3011
|
-
exports.
|
|
3012
|
-
class
|
|
4135
|
+
exports.UpdatePhoneMessageQrdlResponseBody = UpdatePhoneMessageQrdlResponseBody;
|
|
4136
|
+
class UpdatePhoneMessageQrdlResponse extends $tea.Model {
|
|
3013
4137
|
constructor(map) {
|
|
3014
4138
|
super(map);
|
|
3015
4139
|
}
|
|
@@ -3024,11 +4148,11 @@ class UpdateCommerceSettingResponse extends $tea.Model {
|
|
|
3024
4148
|
return {
|
|
3025
4149
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3026
4150
|
statusCode: 'number',
|
|
3027
|
-
body:
|
|
4151
|
+
body: UpdatePhoneMessageQrdlResponseBody,
|
|
3028
4152
|
};
|
|
3029
4153
|
}
|
|
3030
4154
|
}
|
|
3031
|
-
exports.
|
|
4155
|
+
exports.UpdatePhoneMessageQrdlResponse = UpdatePhoneMessageQrdlResponse;
|
|
3032
4156
|
class UpdatePhoneWebhookRequest extends $tea.Model {
|
|
3033
4157
|
constructor(map) {
|
|
3034
4158
|
super(map);
|
|
@@ -3437,7 +4561,10 @@ class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
3437
4561
|
return {
|
|
3438
4562
|
autofillText: 'AutofillText',
|
|
3439
4563
|
couponCode: 'CouponCode',
|
|
4564
|
+
flowAction: 'FlowAction',
|
|
4565
|
+
flowId: 'FlowId',
|
|
3440
4566
|
isOptOut: 'IsOptOut',
|
|
4567
|
+
navigateScreen: 'NavigateScreen',
|
|
3441
4568
|
packageName: 'PackageName',
|
|
3442
4569
|
phoneNumber: 'PhoneNumber',
|
|
3443
4570
|
signatureHash: 'SignatureHash',
|
|
@@ -3451,7 +4578,10 @@ class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
3451
4578
|
return {
|
|
3452
4579
|
autofillText: 'string',
|
|
3453
4580
|
couponCode: 'string',
|
|
4581
|
+
flowAction: 'string',
|
|
4582
|
+
flowId: 'string',
|
|
3454
4583
|
isOptOut: 'boolean',
|
|
4584
|
+
navigateScreen: 'string',
|
|
3455
4585
|
packageName: 'string',
|
|
3456
4586
|
phoneNumber: 'string',
|
|
3457
4587
|
signatureHash: 'string',
|
|
@@ -3587,6 +4717,52 @@ class CreateChatappTemplateResponseBodyData extends $tea.Model {
|
|
|
3587
4717
|
}
|
|
3588
4718
|
}
|
|
3589
4719
|
exports.CreateChatappTemplateResponseBodyData = CreateChatappTemplateResponseBodyData;
|
|
4720
|
+
class CreateFlowResponseBodyData extends $tea.Model {
|
|
4721
|
+
constructor(map) {
|
|
4722
|
+
super(map);
|
|
4723
|
+
}
|
|
4724
|
+
static names() {
|
|
4725
|
+
return {
|
|
4726
|
+
categories: 'Categories',
|
|
4727
|
+
flowId: 'FlowId',
|
|
4728
|
+
flowName: 'FlowName',
|
|
4729
|
+
};
|
|
4730
|
+
}
|
|
4731
|
+
static types() {
|
|
4732
|
+
return {
|
|
4733
|
+
categories: { 'type': 'array', 'itemType': 'string' },
|
|
4734
|
+
flowId: 'string',
|
|
4735
|
+
flowName: 'string',
|
|
4736
|
+
};
|
|
4737
|
+
}
|
|
4738
|
+
}
|
|
4739
|
+
exports.CreateFlowResponseBodyData = CreateFlowResponseBodyData;
|
|
4740
|
+
class CreatePhoneMessageQrdlResponseBodyData extends $tea.Model {
|
|
4741
|
+
constructor(map) {
|
|
4742
|
+
super(map);
|
|
4743
|
+
}
|
|
4744
|
+
static names() {
|
|
4745
|
+
return {
|
|
4746
|
+
deepLinkUrl: 'DeepLinkUrl',
|
|
4747
|
+
generateQrImage: 'GenerateQrImage',
|
|
4748
|
+
phoneNumber: 'PhoneNumber',
|
|
4749
|
+
prefilledMessage: 'PrefilledMessage',
|
|
4750
|
+
qrImageUrl: 'QrImageUrl',
|
|
4751
|
+
qrdlCode: 'QrdlCode',
|
|
4752
|
+
};
|
|
4753
|
+
}
|
|
4754
|
+
static types() {
|
|
4755
|
+
return {
|
|
4756
|
+
deepLinkUrl: 'string',
|
|
4757
|
+
generateQrImage: 'string',
|
|
4758
|
+
phoneNumber: 'string',
|
|
4759
|
+
prefilledMessage: 'string',
|
|
4760
|
+
qrImageUrl: 'string',
|
|
4761
|
+
qrdlCode: 'string',
|
|
4762
|
+
};
|
|
4763
|
+
}
|
|
4764
|
+
}
|
|
4765
|
+
exports.CreatePhoneMessageQrdlResponseBodyData = CreatePhoneMessageQrdlResponseBodyData;
|
|
3590
4766
|
class GetChatappPhoneNumberMetricResponseBodyData extends $tea.Model {
|
|
3591
4767
|
constructor(map) {
|
|
3592
4768
|
super(map);
|
|
@@ -3646,7 +4822,10 @@ class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Mod
|
|
|
3646
4822
|
autofillText: 'AutofillText',
|
|
3647
4823
|
couponCode: 'CouponCode',
|
|
3648
4824
|
extendAttrs: 'ExtendAttrs',
|
|
4825
|
+
flowAction: 'FlowAction',
|
|
4826
|
+
flowId: 'FlowId',
|
|
3649
4827
|
isOptOut: 'IsOptOut',
|
|
4828
|
+
navigateScreen: 'NavigateScreen',
|
|
3650
4829
|
packageName: 'PackageName',
|
|
3651
4830
|
phoneNumber: 'PhoneNumber',
|
|
3652
4831
|
signatureHash: 'SignatureHash',
|
|
@@ -3661,7 +4840,10 @@ class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Mod
|
|
|
3661
4840
|
autofillText: 'string',
|
|
3662
4841
|
couponCode: 'string',
|
|
3663
4842
|
extendAttrs: GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs,
|
|
4843
|
+
flowAction: 'string',
|
|
4844
|
+
flowId: 'string',
|
|
3664
4845
|
isOptOut: 'boolean',
|
|
4846
|
+
navigateScreen: 'string',
|
|
3665
4847
|
packageName: 'string',
|
|
3666
4848
|
phoneNumber: 'string',
|
|
3667
4849
|
signatureHash: 'string',
|
|
@@ -3921,6 +5103,74 @@ class GetCommerceSettingResponseBodyData extends $tea.Model {
|
|
|
3921
5103
|
}
|
|
3922
5104
|
}
|
|
3923
5105
|
exports.GetCommerceSettingResponseBodyData = GetCommerceSettingResponseBodyData;
|
|
5106
|
+
class GetFlowResponseBodyData extends $tea.Model {
|
|
5107
|
+
constructor(map) {
|
|
5108
|
+
super(map);
|
|
5109
|
+
}
|
|
5110
|
+
static names() {
|
|
5111
|
+
return {
|
|
5112
|
+
categories: 'Categories',
|
|
5113
|
+
dataApiVersion: 'DataApiVersion',
|
|
5114
|
+
flowId: 'FlowId',
|
|
5115
|
+
flowName: 'FlowName',
|
|
5116
|
+
JSONVersion: 'JSONVersion',
|
|
5117
|
+
previewUrl: 'PreviewUrl',
|
|
5118
|
+
previewUrlExpires: 'PreviewUrlExpires',
|
|
5119
|
+
status: 'Status',
|
|
5120
|
+
};
|
|
5121
|
+
}
|
|
5122
|
+
static types() {
|
|
5123
|
+
return {
|
|
5124
|
+
categories: { 'type': 'array', 'itemType': 'string' },
|
|
5125
|
+
dataApiVersion: 'string',
|
|
5126
|
+
flowId: 'string',
|
|
5127
|
+
flowName: 'string',
|
|
5128
|
+
JSONVersion: 'string',
|
|
5129
|
+
previewUrl: 'string',
|
|
5130
|
+
previewUrlExpires: 'number',
|
|
5131
|
+
status: 'string',
|
|
5132
|
+
};
|
|
5133
|
+
}
|
|
5134
|
+
}
|
|
5135
|
+
exports.GetFlowResponseBodyData = GetFlowResponseBodyData;
|
|
5136
|
+
class GetFlowJSONAssestResponseBodyData extends $tea.Model {
|
|
5137
|
+
constructor(map) {
|
|
5138
|
+
super(map);
|
|
5139
|
+
}
|
|
5140
|
+
static names() {
|
|
5141
|
+
return {
|
|
5142
|
+
filePath: 'FilePath',
|
|
5143
|
+
flowId: 'FlowId',
|
|
5144
|
+
};
|
|
5145
|
+
}
|
|
5146
|
+
static types() {
|
|
5147
|
+
return {
|
|
5148
|
+
filePath: 'string',
|
|
5149
|
+
flowId: 'string',
|
|
5150
|
+
};
|
|
5151
|
+
}
|
|
5152
|
+
}
|
|
5153
|
+
exports.GetFlowJSONAssestResponseBodyData = GetFlowJSONAssestResponseBodyData;
|
|
5154
|
+
class GetFlowPreviewUrlResponseBodyData extends $tea.Model {
|
|
5155
|
+
constructor(map) {
|
|
5156
|
+
super(map);
|
|
5157
|
+
}
|
|
5158
|
+
static names() {
|
|
5159
|
+
return {
|
|
5160
|
+
flowId: 'FlowId',
|
|
5161
|
+
previewUrl: 'PreviewUrl',
|
|
5162
|
+
previewUrlExpires: 'PreviewUrlExpires',
|
|
5163
|
+
};
|
|
5164
|
+
}
|
|
5165
|
+
static types() {
|
|
5166
|
+
return {
|
|
5167
|
+
flowId: 'string',
|
|
5168
|
+
previewUrl: 'string',
|
|
5169
|
+
previewUrlExpires: 'number',
|
|
5170
|
+
};
|
|
5171
|
+
}
|
|
5172
|
+
}
|
|
5173
|
+
exports.GetFlowPreviewUrlResponseBodyData = GetFlowPreviewUrlResponseBodyData;
|
|
3924
5174
|
class GetMigrationVerifyCodeResponseBodyData extends $tea.Model {
|
|
3925
5175
|
constructor(map) {
|
|
3926
5176
|
super(map);
|
|
@@ -3939,6 +5189,26 @@ class GetMigrationVerifyCodeResponseBodyData extends $tea.Model {
|
|
|
3939
5189
|
}
|
|
3940
5190
|
}
|
|
3941
5191
|
exports.GetMigrationVerifyCodeResponseBodyData = GetMigrationVerifyCodeResponseBodyData;
|
|
5192
|
+
class GetPhoneEncryptionPublicKeyResponseBodyData extends $tea.Model {
|
|
5193
|
+
constructor(map) {
|
|
5194
|
+
super(map);
|
|
5195
|
+
}
|
|
5196
|
+
static names() {
|
|
5197
|
+
return {
|
|
5198
|
+
encryptionPublicKey: 'EncryptionPublicKey',
|
|
5199
|
+
encryptionPublicKeyStatus: 'EncryptionPublicKeyStatus',
|
|
5200
|
+
phoneNumber: 'PhoneNumber',
|
|
5201
|
+
};
|
|
5202
|
+
}
|
|
5203
|
+
static types() {
|
|
5204
|
+
return {
|
|
5205
|
+
encryptionPublicKey: 'string',
|
|
5206
|
+
encryptionPublicKeyStatus: 'string',
|
|
5207
|
+
phoneNumber: 'string',
|
|
5208
|
+
};
|
|
5209
|
+
}
|
|
5210
|
+
}
|
|
5211
|
+
exports.GetPhoneEncryptionPublicKeyResponseBodyData = GetPhoneEncryptionPublicKeyResponseBodyData;
|
|
3942
5212
|
class GetPhoneNumberVerificationStatusResponseBodyData extends $tea.Model {
|
|
3943
5213
|
constructor(map) {
|
|
3944
5214
|
super(map);
|
|
@@ -4023,6 +5293,70 @@ class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
|
4023
5293
|
}
|
|
4024
5294
|
}
|
|
4025
5295
|
exports.ListChatappTemplateResponseBodyListTemplate = ListChatappTemplateResponseBodyListTemplate;
|
|
5296
|
+
class ListFlowRequestPage extends $tea.Model {
|
|
5297
|
+
constructor(map) {
|
|
5298
|
+
super(map);
|
|
5299
|
+
}
|
|
5300
|
+
static names() {
|
|
5301
|
+
return {
|
|
5302
|
+
index: 'Index',
|
|
5303
|
+
size: 'Size',
|
|
5304
|
+
};
|
|
5305
|
+
}
|
|
5306
|
+
static types() {
|
|
5307
|
+
return {
|
|
5308
|
+
index: 'number',
|
|
5309
|
+
size: 'number',
|
|
5310
|
+
};
|
|
5311
|
+
}
|
|
5312
|
+
}
|
|
5313
|
+
exports.ListFlowRequestPage = ListFlowRequestPage;
|
|
5314
|
+
class ListFlowResponseBodyData extends $tea.Model {
|
|
5315
|
+
constructor(map) {
|
|
5316
|
+
super(map);
|
|
5317
|
+
}
|
|
5318
|
+
static names() {
|
|
5319
|
+
return {
|
|
5320
|
+
categories: 'Categories',
|
|
5321
|
+
flowId: 'FlowId',
|
|
5322
|
+
flowName: 'FlowName',
|
|
5323
|
+
};
|
|
5324
|
+
}
|
|
5325
|
+
static types() {
|
|
5326
|
+
return {
|
|
5327
|
+
categories: { 'type': 'array', 'itemType': 'string' },
|
|
5328
|
+
flowId: 'string',
|
|
5329
|
+
flowName: 'string',
|
|
5330
|
+
};
|
|
5331
|
+
}
|
|
5332
|
+
}
|
|
5333
|
+
exports.ListFlowResponseBodyData = ListFlowResponseBodyData;
|
|
5334
|
+
class ListPhoneMessageQrdlResponseBodyData extends $tea.Model {
|
|
5335
|
+
constructor(map) {
|
|
5336
|
+
super(map);
|
|
5337
|
+
}
|
|
5338
|
+
static names() {
|
|
5339
|
+
return {
|
|
5340
|
+
deepLinkUrl: 'DeepLinkUrl',
|
|
5341
|
+
generateQrImage: 'GenerateQrImage',
|
|
5342
|
+
phoneNumber: 'PhoneNumber',
|
|
5343
|
+
prefilledMessage: 'PrefilledMessage',
|
|
5344
|
+
qrImageUrl: 'QrImageUrl',
|
|
5345
|
+
qrdlCode: 'QrdlCode',
|
|
5346
|
+
};
|
|
5347
|
+
}
|
|
5348
|
+
static types() {
|
|
5349
|
+
return {
|
|
5350
|
+
deepLinkUrl: 'string',
|
|
5351
|
+
generateQrImage: 'string',
|
|
5352
|
+
phoneNumber: 'string',
|
|
5353
|
+
prefilledMessage: 'string',
|
|
5354
|
+
qrImageUrl: 'string',
|
|
5355
|
+
qrdlCode: 'string',
|
|
5356
|
+
};
|
|
5357
|
+
}
|
|
5358
|
+
}
|
|
5359
|
+
exports.ListPhoneMessageQrdlResponseBodyData = ListPhoneMessageQrdlResponseBodyData;
|
|
4026
5360
|
class ListProductResponseBodyModelPagingCursors extends $tea.Model {
|
|
4027
5361
|
constructor(map) {
|
|
4028
5362
|
super(map);
|
|
@@ -4135,7 +5469,10 @@ class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
4135
5469
|
return {
|
|
4136
5470
|
autofillText: 'AutofillText',
|
|
4137
5471
|
couponCode: 'CouponCode',
|
|
5472
|
+
flowAction: 'FlowAction',
|
|
5473
|
+
flowId: 'FlowId',
|
|
4138
5474
|
isOptOut: 'IsOptOut',
|
|
5475
|
+
navigateScreen: 'NavigateScreen',
|
|
4139
5476
|
packageName: 'PackageName',
|
|
4140
5477
|
phoneNumber: 'PhoneNumber',
|
|
4141
5478
|
signatureHash: 'SignatureHash',
|
|
@@ -4149,7 +5486,10 @@ class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
4149
5486
|
return {
|
|
4150
5487
|
autofillText: 'string',
|
|
4151
5488
|
couponCode: 'string',
|
|
5489
|
+
flowAction: 'string',
|
|
5490
|
+
flowId: 'string',
|
|
4152
5491
|
isOptOut: 'boolean',
|
|
5492
|
+
navigateScreen: 'string',
|
|
4153
5493
|
packageName: 'string',
|
|
4154
5494
|
phoneNumber: 'string',
|
|
4155
5495
|
signatureHash: 'string',
|
|
@@ -4273,18 +5613,38 @@ class ModifyChatappTemplateResponseBodyData extends $tea.Model {
|
|
|
4273
5613
|
}
|
|
4274
5614
|
static names() {
|
|
4275
5615
|
return {
|
|
4276
|
-
templateCode: 'TemplateCode',
|
|
4277
|
-
templateName: 'TemplateName',
|
|
5616
|
+
templateCode: 'TemplateCode',
|
|
5617
|
+
templateName: 'TemplateName',
|
|
5618
|
+
};
|
|
5619
|
+
}
|
|
5620
|
+
static types() {
|
|
5621
|
+
return {
|
|
5622
|
+
templateCode: 'string',
|
|
5623
|
+
templateName: 'string',
|
|
5624
|
+
};
|
|
5625
|
+
}
|
|
5626
|
+
}
|
|
5627
|
+
exports.ModifyChatappTemplateResponseBodyData = ModifyChatappTemplateResponseBodyData;
|
|
5628
|
+
class ModifyFlowResponseBodyData extends $tea.Model {
|
|
5629
|
+
constructor(map) {
|
|
5630
|
+
super(map);
|
|
5631
|
+
}
|
|
5632
|
+
static names() {
|
|
5633
|
+
return {
|
|
5634
|
+
categories: 'Categories',
|
|
5635
|
+
flowId: 'FlowId',
|
|
5636
|
+
flowName: 'FlowName',
|
|
4278
5637
|
};
|
|
4279
5638
|
}
|
|
4280
5639
|
static types() {
|
|
4281
5640
|
return {
|
|
4282
|
-
|
|
4283
|
-
|
|
5641
|
+
categories: { 'type': 'array', 'itemType': 'string' },
|
|
5642
|
+
flowId: 'string',
|
|
5643
|
+
flowName: 'string',
|
|
4284
5644
|
};
|
|
4285
5645
|
}
|
|
4286
5646
|
}
|
|
4287
|
-
exports.
|
|
5647
|
+
exports.ModifyFlowResponseBodyData = ModifyFlowResponseBodyData;
|
|
4288
5648
|
class QueryChatappBindWabaResponseBodyData extends $tea.Model {
|
|
4289
5649
|
constructor(map) {
|
|
4290
5650
|
super(map);
|
|
@@ -4395,6 +5755,24 @@ class QueryWabaBusinessInfoResponseBodyData extends $tea.Model {
|
|
|
4395
5755
|
}
|
|
4396
5756
|
}
|
|
4397
5757
|
exports.QueryWabaBusinessInfoResponseBodyData = QueryWabaBusinessInfoResponseBodyData;
|
|
5758
|
+
class SendChatappMassMessageRequestSenderListFlowAction extends $tea.Model {
|
|
5759
|
+
constructor(map) {
|
|
5760
|
+
super(map);
|
|
5761
|
+
}
|
|
5762
|
+
static names() {
|
|
5763
|
+
return {
|
|
5764
|
+
flowActionData: 'FlowActionData',
|
|
5765
|
+
flowToken: 'FlowToken',
|
|
5766
|
+
};
|
|
5767
|
+
}
|
|
5768
|
+
static types() {
|
|
5769
|
+
return {
|
|
5770
|
+
flowActionData: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5771
|
+
flowToken: 'string',
|
|
5772
|
+
};
|
|
5773
|
+
}
|
|
5774
|
+
}
|
|
5775
|
+
exports.SendChatappMassMessageRequestSenderListFlowAction = SendChatappMassMessageRequestSenderListFlowAction;
|
|
4398
5776
|
class SendChatappMassMessageRequestSenderListProductActionSectionsProductItems extends $tea.Model {
|
|
4399
5777
|
constructor(map) {
|
|
4400
5778
|
super(map);
|
|
@@ -4453,6 +5831,7 @@ class SendChatappMassMessageRequestSenderList extends $tea.Model {
|
|
|
4453
5831
|
}
|
|
4454
5832
|
static names() {
|
|
4455
5833
|
return {
|
|
5834
|
+
flowAction: 'FlowAction',
|
|
4456
5835
|
payload: 'Payload',
|
|
4457
5836
|
productAction: 'ProductAction',
|
|
4458
5837
|
templateParams: 'TemplateParams',
|
|
@@ -4461,6 +5840,7 @@ class SendChatappMassMessageRequestSenderList extends $tea.Model {
|
|
|
4461
5840
|
}
|
|
4462
5841
|
static types() {
|
|
4463
5842
|
return {
|
|
5843
|
+
flowAction: SendChatappMassMessageRequestSenderListFlowAction,
|
|
4464
5844
|
payload: { 'type': 'array', 'itemType': 'string' },
|
|
4465
5845
|
productAction: SendChatappMassMessageRequestSenderListProductAction,
|
|
4466
5846
|
templateParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
@@ -4469,6 +5849,24 @@ class SendChatappMassMessageRequestSenderList extends $tea.Model {
|
|
|
4469
5849
|
}
|
|
4470
5850
|
}
|
|
4471
5851
|
exports.SendChatappMassMessageRequestSenderList = SendChatappMassMessageRequestSenderList;
|
|
5852
|
+
class SendChatappMessageRequestFlowAction extends $tea.Model {
|
|
5853
|
+
constructor(map) {
|
|
5854
|
+
super(map);
|
|
5855
|
+
}
|
|
5856
|
+
static names() {
|
|
5857
|
+
return {
|
|
5858
|
+
flowActionData: 'FlowActionData',
|
|
5859
|
+
flowToken: 'FlowToken',
|
|
5860
|
+
};
|
|
5861
|
+
}
|
|
5862
|
+
static types() {
|
|
5863
|
+
return {
|
|
5864
|
+
flowActionData: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5865
|
+
flowToken: 'string',
|
|
5866
|
+
};
|
|
5867
|
+
}
|
|
5868
|
+
}
|
|
5869
|
+
exports.SendChatappMessageRequestFlowAction = SendChatappMessageRequestFlowAction;
|
|
4472
5870
|
class SendChatappMessageRequestProductActionSectionsProductItems extends $tea.Model {
|
|
4473
5871
|
constructor(map) {
|
|
4474
5872
|
super(map);
|
|
@@ -4521,6 +5919,48 @@ class SendChatappMessageRequestProductAction extends $tea.Model {
|
|
|
4521
5919
|
}
|
|
4522
5920
|
}
|
|
4523
5921
|
exports.SendChatappMessageRequestProductAction = SendChatappMessageRequestProductAction;
|
|
5922
|
+
class UpdateFlowJSONAssetResponseBodyData extends $tea.Model {
|
|
5923
|
+
constructor(map) {
|
|
5924
|
+
super(map);
|
|
5925
|
+
}
|
|
5926
|
+
static names() {
|
|
5927
|
+
return {
|
|
5928
|
+
flowId: 'FlowId',
|
|
5929
|
+
};
|
|
5930
|
+
}
|
|
5931
|
+
static types() {
|
|
5932
|
+
return {
|
|
5933
|
+
flowId: 'string',
|
|
5934
|
+
};
|
|
5935
|
+
}
|
|
5936
|
+
}
|
|
5937
|
+
exports.UpdateFlowJSONAssetResponseBodyData = UpdateFlowJSONAssetResponseBodyData;
|
|
5938
|
+
class UpdatePhoneMessageQrdlResponseBodyData extends $tea.Model {
|
|
5939
|
+
constructor(map) {
|
|
5940
|
+
super(map);
|
|
5941
|
+
}
|
|
5942
|
+
static names() {
|
|
5943
|
+
return {
|
|
5944
|
+
deepLinkUrl: 'DeepLinkUrl',
|
|
5945
|
+
generateQrImage: 'GenerateQrImage',
|
|
5946
|
+
phoneNumber: 'PhoneNumber',
|
|
5947
|
+
prefilledMessage: 'PrefilledMessage',
|
|
5948
|
+
qrImageUrl: 'QrImageUrl',
|
|
5949
|
+
qrdlCode: 'QrdlCode',
|
|
5950
|
+
};
|
|
5951
|
+
}
|
|
5952
|
+
static types() {
|
|
5953
|
+
return {
|
|
5954
|
+
deepLinkUrl: 'string',
|
|
5955
|
+
generateQrImage: 'string',
|
|
5956
|
+
phoneNumber: 'string',
|
|
5957
|
+
prefilledMessage: 'string',
|
|
5958
|
+
qrImageUrl: 'string',
|
|
5959
|
+
qrdlCode: 'string',
|
|
5960
|
+
};
|
|
5961
|
+
}
|
|
5962
|
+
}
|
|
5963
|
+
exports.UpdatePhoneMessageQrdlResponseBodyData = UpdatePhoneMessageQrdlResponseBodyData;
|
|
4524
5964
|
class Client extends openapi_client_1.default {
|
|
4525
5965
|
constructor(config) {
|
|
4526
5966
|
super(config);
|
|
@@ -5156,6 +6596,78 @@ class Client extends openapi_client_1.default {
|
|
|
5156
6596
|
let runtime = new $Util.RuntimeOptions({});
|
|
5157
6597
|
return await this.createChatappTemplateWithOptions(request, runtime);
|
|
5158
6598
|
}
|
|
6599
|
+
async createFlowWithOptions(tmpReq, runtime) {
|
|
6600
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
6601
|
+
let request = new CreateFlowShrinkRequest({});
|
|
6602
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
6603
|
+
if (!tea_util_1.default.isUnset(tmpReq.categories)) {
|
|
6604
|
+
request.categoriesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.categories, "Categories", "json");
|
|
6605
|
+
}
|
|
6606
|
+
let body = {};
|
|
6607
|
+
if (!tea_util_1.default.isUnset(request.categoriesShrink)) {
|
|
6608
|
+
body["Categories"] = request.categoriesShrink;
|
|
6609
|
+
}
|
|
6610
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6611
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
6612
|
+
}
|
|
6613
|
+
if (!tea_util_1.default.isUnset(request.flowName)) {
|
|
6614
|
+
body["FlowName"] = request.flowName;
|
|
6615
|
+
}
|
|
6616
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6617
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
6618
|
+
});
|
|
6619
|
+
let params = new $OpenApi.Params({
|
|
6620
|
+
action: "CreateFlow",
|
|
6621
|
+
version: "2020-06-06",
|
|
6622
|
+
protocol: "HTTPS",
|
|
6623
|
+
pathname: "/",
|
|
6624
|
+
method: "POST",
|
|
6625
|
+
authType: "AK",
|
|
6626
|
+
style: "RPC",
|
|
6627
|
+
reqBodyType: "formData",
|
|
6628
|
+
bodyType: "json",
|
|
6629
|
+
});
|
|
6630
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateFlowResponse({}));
|
|
6631
|
+
}
|
|
6632
|
+
async createFlow(request) {
|
|
6633
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6634
|
+
return await this.createFlowWithOptions(request, runtime);
|
|
6635
|
+
}
|
|
6636
|
+
async createPhoneMessageQrdlWithOptions(request, runtime) {
|
|
6637
|
+
tea_util_1.default.validateModel(request);
|
|
6638
|
+
let body = {};
|
|
6639
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6640
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
6641
|
+
}
|
|
6642
|
+
if (!tea_util_1.default.isUnset(request.generateQrImage)) {
|
|
6643
|
+
body["GenerateQrImage"] = request.generateQrImage;
|
|
6644
|
+
}
|
|
6645
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
6646
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
6647
|
+
}
|
|
6648
|
+
if (!tea_util_1.default.isUnset(request.prefilledMessage)) {
|
|
6649
|
+
body["PrefilledMessage"] = request.prefilledMessage;
|
|
6650
|
+
}
|
|
6651
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6652
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
6653
|
+
});
|
|
6654
|
+
let params = new $OpenApi.Params({
|
|
6655
|
+
action: "CreatePhoneMessageQrdl",
|
|
6656
|
+
version: "2020-06-06",
|
|
6657
|
+
protocol: "HTTPS",
|
|
6658
|
+
pathname: "/",
|
|
6659
|
+
method: "POST",
|
|
6660
|
+
authType: "AK",
|
|
6661
|
+
style: "RPC",
|
|
6662
|
+
reqBodyType: "formData",
|
|
6663
|
+
bodyType: "json",
|
|
6664
|
+
});
|
|
6665
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreatePhoneMessageQrdlResponse({}));
|
|
6666
|
+
}
|
|
6667
|
+
async createPhoneMessageQrdl(request) {
|
|
6668
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6669
|
+
return await this.createPhoneMessageQrdlWithOptions(request, runtime);
|
|
6670
|
+
}
|
|
5159
6671
|
/**
|
|
5160
6672
|
* ### QPS limit
|
|
5161
6673
|
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
@@ -5206,6 +6718,96 @@ class Client extends openapi_client_1.default {
|
|
|
5206
6718
|
let runtime = new $Util.RuntimeOptions({});
|
|
5207
6719
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
5208
6720
|
}
|
|
6721
|
+
async deleteFlowWithOptions(request, runtime) {
|
|
6722
|
+
tea_util_1.default.validateModel(request);
|
|
6723
|
+
let body = {};
|
|
6724
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6725
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
6726
|
+
}
|
|
6727
|
+
if (!tea_util_1.default.isUnset(request.flowId)) {
|
|
6728
|
+
body["FlowId"] = request.flowId;
|
|
6729
|
+
}
|
|
6730
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6731
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
6732
|
+
});
|
|
6733
|
+
let params = new $OpenApi.Params({
|
|
6734
|
+
action: "DeleteFlow",
|
|
6735
|
+
version: "2020-06-06",
|
|
6736
|
+
protocol: "HTTPS",
|
|
6737
|
+
pathname: "/",
|
|
6738
|
+
method: "POST",
|
|
6739
|
+
authType: "AK",
|
|
6740
|
+
style: "RPC",
|
|
6741
|
+
reqBodyType: "formData",
|
|
6742
|
+
bodyType: "json",
|
|
6743
|
+
});
|
|
6744
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteFlowResponse({}));
|
|
6745
|
+
}
|
|
6746
|
+
async deleteFlow(request) {
|
|
6747
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6748
|
+
return await this.deleteFlowWithOptions(request, runtime);
|
|
6749
|
+
}
|
|
6750
|
+
async deletePhoneMessageQrdlWithOptions(request, runtime) {
|
|
6751
|
+
tea_util_1.default.validateModel(request);
|
|
6752
|
+
let body = {};
|
|
6753
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6754
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
6755
|
+
}
|
|
6756
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
6757
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
6758
|
+
}
|
|
6759
|
+
if (!tea_util_1.default.isUnset(request.qrdlCode)) {
|
|
6760
|
+
body["QrdlCode"] = request.qrdlCode;
|
|
6761
|
+
}
|
|
6762
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6763
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
6764
|
+
});
|
|
6765
|
+
let params = new $OpenApi.Params({
|
|
6766
|
+
action: "DeletePhoneMessageQrdl",
|
|
6767
|
+
version: "2020-06-06",
|
|
6768
|
+
protocol: "HTTPS",
|
|
6769
|
+
pathname: "/",
|
|
6770
|
+
method: "POST",
|
|
6771
|
+
authType: "AK",
|
|
6772
|
+
style: "RPC",
|
|
6773
|
+
reqBodyType: "formData",
|
|
6774
|
+
bodyType: "json",
|
|
6775
|
+
});
|
|
6776
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeletePhoneMessageQrdlResponse({}));
|
|
6777
|
+
}
|
|
6778
|
+
async deletePhoneMessageQrdl(request) {
|
|
6779
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6780
|
+
return await this.deletePhoneMessageQrdlWithOptions(request, runtime);
|
|
6781
|
+
}
|
|
6782
|
+
async deprecateFlowWithOptions(request, runtime) {
|
|
6783
|
+
tea_util_1.default.validateModel(request);
|
|
6784
|
+
let body = {};
|
|
6785
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
6786
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
6787
|
+
}
|
|
6788
|
+
if (!tea_util_1.default.isUnset(request.flowId)) {
|
|
6789
|
+
body["FlowId"] = request.flowId;
|
|
6790
|
+
}
|
|
6791
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6792
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
6793
|
+
});
|
|
6794
|
+
let params = new $OpenApi.Params({
|
|
6795
|
+
action: "DeprecateFlow",
|
|
6796
|
+
version: "2020-06-06",
|
|
6797
|
+
protocol: "HTTPS",
|
|
6798
|
+
pathname: "/",
|
|
6799
|
+
method: "POST",
|
|
6800
|
+
authType: "AK",
|
|
6801
|
+
style: "RPC",
|
|
6802
|
+
reqBodyType: "formData",
|
|
6803
|
+
bodyType: "json",
|
|
6804
|
+
});
|
|
6805
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeprecateFlowResponse({}));
|
|
6806
|
+
}
|
|
6807
|
+
async deprecateFlow(request) {
|
|
6808
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6809
|
+
return await this.deprecateFlowWithOptions(request, runtime);
|
|
6810
|
+
}
|
|
5209
6811
|
async enableWhatsappROIMetricWithOptions(request, runtime) {
|
|
5210
6812
|
tea_util_1.default.validateModel(request);
|
|
5211
6813
|
let query = {};
|
|
@@ -5437,14 +7039,107 @@ class Client extends openapi_client_1.default {
|
|
|
5437
7039
|
if (!tea_util_1.default.isUnset(request.method)) {
|
|
5438
7040
|
body["Method"] = request.method;
|
|
5439
7041
|
}
|
|
5440
|
-
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
5441
|
-
body["PhoneNumber"] = request.phoneNumber;
|
|
7042
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
7043
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
7044
|
+
}
|
|
7045
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7046
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
7047
|
+
});
|
|
7048
|
+
let params = new $OpenApi.Params({
|
|
7049
|
+
action: "GetChatappVerifyCode",
|
|
7050
|
+
version: "2020-06-06",
|
|
7051
|
+
protocol: "HTTPS",
|
|
7052
|
+
pathname: "/",
|
|
7053
|
+
method: "POST",
|
|
7054
|
+
authType: "AK",
|
|
7055
|
+
style: "RPC",
|
|
7056
|
+
reqBodyType: "formData",
|
|
7057
|
+
bodyType: "json",
|
|
7058
|
+
});
|
|
7059
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappVerifyCodeResponse({}));
|
|
7060
|
+
}
|
|
7061
|
+
/**
|
|
7062
|
+
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7063
|
+
*
|
|
7064
|
+
* @param request GetChatappVerifyCodeRequest
|
|
7065
|
+
* @return GetChatappVerifyCodeResponse
|
|
7066
|
+
*/
|
|
7067
|
+
async getChatappVerifyCode(request) {
|
|
7068
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7069
|
+
return await this.getChatappVerifyCodeWithOptions(request, runtime);
|
|
7070
|
+
}
|
|
7071
|
+
async getCommerceSettingWithOptions(request, runtime) {
|
|
7072
|
+
tea_util_1.default.validateModel(request);
|
|
7073
|
+
let query = {};
|
|
7074
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7075
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
7076
|
+
}
|
|
7077
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
7078
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
7079
|
+
}
|
|
7080
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7081
|
+
query: openapi_util_1.default.query(query),
|
|
7082
|
+
});
|
|
7083
|
+
let params = new $OpenApi.Params({
|
|
7084
|
+
action: "GetCommerceSetting",
|
|
7085
|
+
version: "2020-06-06",
|
|
7086
|
+
protocol: "HTTPS",
|
|
7087
|
+
pathname: "/",
|
|
7088
|
+
method: "POST",
|
|
7089
|
+
authType: "AK",
|
|
7090
|
+
style: "RPC",
|
|
7091
|
+
reqBodyType: "formData",
|
|
7092
|
+
bodyType: "json",
|
|
7093
|
+
});
|
|
7094
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetCommerceSettingResponse({}));
|
|
7095
|
+
}
|
|
7096
|
+
async getCommerceSetting(request) {
|
|
7097
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7098
|
+
return await this.getCommerceSettingWithOptions(request, runtime);
|
|
7099
|
+
}
|
|
7100
|
+
async getFlowWithOptions(request, runtime) {
|
|
7101
|
+
tea_util_1.default.validateModel(request);
|
|
7102
|
+
let body = {};
|
|
7103
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7104
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
7105
|
+
}
|
|
7106
|
+
if (!tea_util_1.default.isUnset(request.flowId)) {
|
|
7107
|
+
body["FlowId"] = request.flowId;
|
|
7108
|
+
}
|
|
7109
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7110
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
7111
|
+
});
|
|
7112
|
+
let params = new $OpenApi.Params({
|
|
7113
|
+
action: "GetFlow",
|
|
7114
|
+
version: "2020-06-06",
|
|
7115
|
+
protocol: "HTTPS",
|
|
7116
|
+
pathname: "/",
|
|
7117
|
+
method: "POST",
|
|
7118
|
+
authType: "AK",
|
|
7119
|
+
style: "RPC",
|
|
7120
|
+
reqBodyType: "formData",
|
|
7121
|
+
bodyType: "json",
|
|
7122
|
+
});
|
|
7123
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowResponse({}));
|
|
7124
|
+
}
|
|
7125
|
+
async getFlow(request) {
|
|
7126
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7127
|
+
return await this.getFlowWithOptions(request, runtime);
|
|
7128
|
+
}
|
|
7129
|
+
async getFlowJSONAssestWithOptions(request, runtime) {
|
|
7130
|
+
tea_util_1.default.validateModel(request);
|
|
7131
|
+
let body = {};
|
|
7132
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7133
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
7134
|
+
}
|
|
7135
|
+
if (!tea_util_1.default.isUnset(request.flowId)) {
|
|
7136
|
+
body["FlowId"] = request.flowId;
|
|
5442
7137
|
}
|
|
5443
7138
|
let req = new $OpenApi.OpenApiRequest({
|
|
5444
7139
|
body: openapi_util_1.default.parseToMap(body),
|
|
5445
7140
|
});
|
|
5446
7141
|
let params = new $OpenApi.Params({
|
|
5447
|
-
action: "
|
|
7142
|
+
action: "GetFlowJSONAssest",
|
|
5448
7143
|
version: "2020-06-06",
|
|
5449
7144
|
protocol: "HTTPS",
|
|
5450
7145
|
pathname: "/",
|
|
@@ -5454,32 +7149,26 @@ class Client extends openapi_client_1.default {
|
|
|
5454
7149
|
reqBodyType: "formData",
|
|
5455
7150
|
bodyType: "json",
|
|
5456
7151
|
});
|
|
5457
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
7152
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowJSONAssestResponse({}));
|
|
5458
7153
|
}
|
|
5459
|
-
|
|
5460
|
-
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5461
|
-
*
|
|
5462
|
-
* @param request GetChatappVerifyCodeRequest
|
|
5463
|
-
* @return GetChatappVerifyCodeResponse
|
|
5464
|
-
*/
|
|
5465
|
-
async getChatappVerifyCode(request) {
|
|
7154
|
+
async getFlowJSONAssest(request) {
|
|
5466
7155
|
let runtime = new $Util.RuntimeOptions({});
|
|
5467
|
-
return await this.
|
|
7156
|
+
return await this.getFlowJSONAssestWithOptions(request, runtime);
|
|
5468
7157
|
}
|
|
5469
|
-
async
|
|
7158
|
+
async getFlowPreviewUrlWithOptions(request, runtime) {
|
|
5470
7159
|
tea_util_1.default.validateModel(request);
|
|
5471
|
-
let
|
|
7160
|
+
let body = {};
|
|
5472
7161
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
5473
|
-
|
|
7162
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
5474
7163
|
}
|
|
5475
|
-
if (!tea_util_1.default.isUnset(request.
|
|
5476
|
-
|
|
7164
|
+
if (!tea_util_1.default.isUnset(request.flowId)) {
|
|
7165
|
+
body["FlowId"] = request.flowId;
|
|
5477
7166
|
}
|
|
5478
7167
|
let req = new $OpenApi.OpenApiRequest({
|
|
5479
|
-
|
|
7168
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
5480
7169
|
});
|
|
5481
7170
|
let params = new $OpenApi.Params({
|
|
5482
|
-
action: "
|
|
7171
|
+
action: "GetFlowPreviewUrl",
|
|
5483
7172
|
version: "2020-06-06",
|
|
5484
7173
|
protocol: "HTTPS",
|
|
5485
7174
|
pathname: "/",
|
|
@@ -5489,11 +7178,11 @@ class Client extends openapi_client_1.default {
|
|
|
5489
7178
|
reqBodyType: "formData",
|
|
5490
7179
|
bodyType: "json",
|
|
5491
7180
|
});
|
|
5492
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
7181
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowPreviewUrlResponse({}));
|
|
5493
7182
|
}
|
|
5494
|
-
async
|
|
7183
|
+
async getFlowPreviewUrl(request) {
|
|
5495
7184
|
let runtime = new $Util.RuntimeOptions({});
|
|
5496
|
-
return await this.
|
|
7185
|
+
return await this.getFlowPreviewUrlWithOptions(request, runtime);
|
|
5497
7186
|
}
|
|
5498
7187
|
/**
|
|
5499
7188
|
* The ID of the phone number.
|
|
@@ -5543,6 +7232,72 @@ class Client extends openapi_client_1.default {
|
|
|
5543
7232
|
let runtime = new $Util.RuntimeOptions({});
|
|
5544
7233
|
return await this.getMigrationVerifyCodeWithOptions(request, runtime);
|
|
5545
7234
|
}
|
|
7235
|
+
async getPermissionByCodeWithOptions(tmpReq, runtime) {
|
|
7236
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
7237
|
+
let request = new GetPermissionByCodeShrinkRequest({});
|
|
7238
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
7239
|
+
if (!tea_util_1.default.isUnset(tmpReq.permissions)) {
|
|
7240
|
+
request.permissionsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.permissions, "Permissions", "json");
|
|
7241
|
+
}
|
|
7242
|
+
let body = {};
|
|
7243
|
+
if (!tea_util_1.default.isUnset(request.code)) {
|
|
7244
|
+
body["Code"] = request.code;
|
|
7245
|
+
}
|
|
7246
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7247
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
7248
|
+
}
|
|
7249
|
+
if (!tea_util_1.default.isUnset(request.permissionsShrink)) {
|
|
7250
|
+
body["Permissions"] = request.permissionsShrink;
|
|
7251
|
+
}
|
|
7252
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7253
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
7254
|
+
});
|
|
7255
|
+
let params = new $OpenApi.Params({
|
|
7256
|
+
action: "GetPermissionByCode",
|
|
7257
|
+
version: "2020-06-06",
|
|
7258
|
+
protocol: "HTTPS",
|
|
7259
|
+
pathname: "/",
|
|
7260
|
+
method: "POST",
|
|
7261
|
+
authType: "AK",
|
|
7262
|
+
style: "RPC",
|
|
7263
|
+
reqBodyType: "formData",
|
|
7264
|
+
bodyType: "json",
|
|
7265
|
+
});
|
|
7266
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetPermissionByCodeResponse({}));
|
|
7267
|
+
}
|
|
7268
|
+
async getPermissionByCode(request) {
|
|
7269
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7270
|
+
return await this.getPermissionByCodeWithOptions(request, runtime);
|
|
7271
|
+
}
|
|
7272
|
+
async getPhoneEncryptionPublicKeyWithOptions(request, runtime) {
|
|
7273
|
+
tea_util_1.default.validateModel(request);
|
|
7274
|
+
let body = {};
|
|
7275
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7276
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
7277
|
+
}
|
|
7278
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
7279
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
7280
|
+
}
|
|
7281
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7282
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
7283
|
+
});
|
|
7284
|
+
let params = new $OpenApi.Params({
|
|
7285
|
+
action: "GetPhoneEncryptionPublicKey",
|
|
7286
|
+
version: "2020-06-06",
|
|
7287
|
+
protocol: "HTTPS",
|
|
7288
|
+
pathname: "/",
|
|
7289
|
+
method: "POST",
|
|
7290
|
+
authType: "AK",
|
|
7291
|
+
style: "RPC",
|
|
7292
|
+
reqBodyType: "formData",
|
|
7293
|
+
bodyType: "json",
|
|
7294
|
+
});
|
|
7295
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetPhoneEncryptionPublicKeyResponse({}));
|
|
7296
|
+
}
|
|
7297
|
+
async getPhoneEncryptionPublicKey(request) {
|
|
7298
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7299
|
+
return await this.getPhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
7300
|
+
}
|
|
5546
7301
|
/**
|
|
5547
7302
|
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5548
7303
|
*
|
|
@@ -5675,6 +7430,9 @@ class Client extends openapi_client_1.default {
|
|
|
5675
7430
|
async isvGetAppIdWithOptions(request, runtime) {
|
|
5676
7431
|
tea_util_1.default.validateModel(request);
|
|
5677
7432
|
let body = {};
|
|
7433
|
+
if (!tea_util_1.default.isUnset(request.permissions)) {
|
|
7434
|
+
body["Permissions"] = request.permissions;
|
|
7435
|
+
}
|
|
5678
7436
|
if (!tea_util_1.default.isUnset(request.type)) {
|
|
5679
7437
|
body["Type"] = request.type;
|
|
5680
7438
|
}
|
|
@@ -5771,6 +7529,72 @@ class Client extends openapi_client_1.default {
|
|
|
5771
7529
|
let runtime = new $Util.RuntimeOptions({});
|
|
5772
7530
|
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
5773
7531
|
}
|
|
7532
|
+
async listFlowWithOptions(tmpReq, runtime) {
|
|
7533
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
7534
|
+
let request = new ListFlowShrinkRequest({});
|
|
7535
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
7536
|
+
if (!tea_util_1.default.isUnset(tmpReq.page)) {
|
|
7537
|
+
request.pageShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json");
|
|
7538
|
+
}
|
|
7539
|
+
let body = {};
|
|
7540
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7541
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
7542
|
+
}
|
|
7543
|
+
if (!tea_util_1.default.isUnset(request.flowName)) {
|
|
7544
|
+
body["FlowName"] = request.flowName;
|
|
7545
|
+
}
|
|
7546
|
+
if (!tea_util_1.default.isUnset(request.pageShrink)) {
|
|
7547
|
+
body["Page"] = request.pageShrink;
|
|
7548
|
+
}
|
|
7549
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7550
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
7551
|
+
});
|
|
7552
|
+
let params = new $OpenApi.Params({
|
|
7553
|
+
action: "ListFlow",
|
|
7554
|
+
version: "2020-06-06",
|
|
7555
|
+
protocol: "HTTPS",
|
|
7556
|
+
pathname: "/",
|
|
7557
|
+
method: "POST",
|
|
7558
|
+
authType: "AK",
|
|
7559
|
+
style: "RPC",
|
|
7560
|
+
reqBodyType: "formData",
|
|
7561
|
+
bodyType: "json",
|
|
7562
|
+
});
|
|
7563
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListFlowResponse({}));
|
|
7564
|
+
}
|
|
7565
|
+
async listFlow(request) {
|
|
7566
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7567
|
+
return await this.listFlowWithOptions(request, runtime);
|
|
7568
|
+
}
|
|
7569
|
+
async listPhoneMessageQrdlWithOptions(request, runtime) {
|
|
7570
|
+
tea_util_1.default.validateModel(request);
|
|
7571
|
+
let body = {};
|
|
7572
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7573
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
7574
|
+
}
|
|
7575
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
7576
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
7577
|
+
}
|
|
7578
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7579
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
7580
|
+
});
|
|
7581
|
+
let params = new $OpenApi.Params({
|
|
7582
|
+
action: "ListPhoneMessageQrdl",
|
|
7583
|
+
version: "2020-06-06",
|
|
7584
|
+
protocol: "HTTPS",
|
|
7585
|
+
pathname: "/",
|
|
7586
|
+
method: "POST",
|
|
7587
|
+
authType: "AK",
|
|
7588
|
+
style: "RPC",
|
|
7589
|
+
reqBodyType: "formData",
|
|
7590
|
+
bodyType: "json",
|
|
7591
|
+
});
|
|
7592
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListPhoneMessageQrdlResponse({}));
|
|
7593
|
+
}
|
|
7594
|
+
async listPhoneMessageQrdl(request) {
|
|
7595
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7596
|
+
return await this.listPhoneMessageQrdlWithOptions(request, runtime);
|
|
7597
|
+
}
|
|
5774
7598
|
/**
|
|
5775
7599
|
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5776
7600
|
*
|
|
@@ -5974,6 +7798,46 @@ class Client extends openapi_client_1.default {
|
|
|
5974
7798
|
let runtime = new $Util.RuntimeOptions({});
|
|
5975
7799
|
return await this.modifyChatappTemplateWithOptions(request, runtime);
|
|
5976
7800
|
}
|
|
7801
|
+
async modifyFlowWithOptions(tmpReq, runtime) {
|
|
7802
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
7803
|
+
let request = new ModifyFlowShrinkRequest({});
|
|
7804
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
7805
|
+
if (!tea_util_1.default.isUnset(tmpReq.categories)) {
|
|
7806
|
+
request.categoriesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.categories, "Categories", "json");
|
|
7807
|
+
}
|
|
7808
|
+
let body = {};
|
|
7809
|
+
if (!tea_util_1.default.isUnset(request.categoriesShrink)) {
|
|
7810
|
+
body["Categories"] = request.categoriesShrink;
|
|
7811
|
+
}
|
|
7812
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7813
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
7814
|
+
}
|
|
7815
|
+
if (!tea_util_1.default.isUnset(request.flowId)) {
|
|
7816
|
+
body["FlowId"] = request.flowId;
|
|
7817
|
+
}
|
|
7818
|
+
if (!tea_util_1.default.isUnset(request.flowName)) {
|
|
7819
|
+
body["FlowName"] = request.flowName;
|
|
7820
|
+
}
|
|
7821
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7822
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
7823
|
+
});
|
|
7824
|
+
let params = new $OpenApi.Params({
|
|
7825
|
+
action: "ModifyFlow",
|
|
7826
|
+
version: "2020-06-06",
|
|
7827
|
+
protocol: "HTTPS",
|
|
7828
|
+
pathname: "/",
|
|
7829
|
+
method: "POST",
|
|
7830
|
+
authType: "AK",
|
|
7831
|
+
style: "RPC",
|
|
7832
|
+
reqBodyType: "formData",
|
|
7833
|
+
bodyType: "json",
|
|
7834
|
+
});
|
|
7835
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyFlowResponse({}));
|
|
7836
|
+
}
|
|
7837
|
+
async modifyFlow(request) {
|
|
7838
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7839
|
+
return await this.modifyFlowWithOptions(request, runtime);
|
|
7840
|
+
}
|
|
5977
7841
|
/**
|
|
5978
7842
|
* ModifyPhoneBusinessProfile
|
|
5979
7843
|
*
|
|
@@ -6039,6 +7903,35 @@ class Client extends openapi_client_1.default {
|
|
|
6039
7903
|
let runtime = new $Util.RuntimeOptions({});
|
|
6040
7904
|
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
6041
7905
|
}
|
|
7906
|
+
async publishFlowWithOptions(request, runtime) {
|
|
7907
|
+
tea_util_1.default.validateModel(request);
|
|
7908
|
+
let body = {};
|
|
7909
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7910
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
7911
|
+
}
|
|
7912
|
+
if (!tea_util_1.default.isUnset(request.flowId)) {
|
|
7913
|
+
body["FlowId"] = request.flowId;
|
|
7914
|
+
}
|
|
7915
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7916
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
7917
|
+
});
|
|
7918
|
+
let params = new $OpenApi.Params({
|
|
7919
|
+
action: "PublishFlow",
|
|
7920
|
+
version: "2020-06-06",
|
|
7921
|
+
protocol: "HTTPS",
|
|
7922
|
+
pathname: "/",
|
|
7923
|
+
method: "POST",
|
|
7924
|
+
authType: "AK",
|
|
7925
|
+
style: "RPC",
|
|
7926
|
+
reqBodyType: "formData",
|
|
7927
|
+
bodyType: "json",
|
|
7928
|
+
});
|
|
7929
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PublishFlowResponse({}));
|
|
7930
|
+
}
|
|
7931
|
+
async publishFlow(request) {
|
|
7932
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7933
|
+
return await this.publishFlowWithOptions(request, runtime);
|
|
7934
|
+
}
|
|
6042
7935
|
/**
|
|
6043
7936
|
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6044
7937
|
*
|
|
@@ -6309,6 +8202,9 @@ class Client extends openapi_client_1.default {
|
|
|
6309
8202
|
tea_util_1.default.validateModel(tmpReq);
|
|
6310
8203
|
let request = new SendChatappMessageShrinkRequest({});
|
|
6311
8204
|
openapi_util_1.default.convert(tmpReq, request);
|
|
8205
|
+
if (!tea_util_1.default.isUnset(tmpReq.flowAction)) {
|
|
8206
|
+
request.flowActionShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.flowAction, "FlowAction", "json");
|
|
8207
|
+
}
|
|
6312
8208
|
if (!tea_util_1.default.isUnset(tmpReq.payload)) {
|
|
6313
8209
|
request.payloadShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.payload, "Payload", "json");
|
|
6314
8210
|
}
|
|
@@ -6350,6 +8246,9 @@ class Client extends openapi_client_1.default {
|
|
|
6350
8246
|
if (!tea_util_1.default.isUnset(request.fallBackRule)) {
|
|
6351
8247
|
body["FallBackRule"] = request.fallBackRule;
|
|
6352
8248
|
}
|
|
8249
|
+
if (!tea_util_1.default.isUnset(request.flowActionShrink)) {
|
|
8250
|
+
body["FlowAction"] = request.flowActionShrink;
|
|
8251
|
+
}
|
|
6353
8252
|
if (!tea_util_1.default.isUnset(request.from)) {
|
|
6354
8253
|
body["From"] = request.from;
|
|
6355
8254
|
}
|
|
@@ -6559,6 +8458,108 @@ class Client extends openapi_client_1.default {
|
|
|
6559
8458
|
let runtime = new $Util.RuntimeOptions({});
|
|
6560
8459
|
return await this.updateCommerceSettingWithOptions(request, runtime);
|
|
6561
8460
|
}
|
|
8461
|
+
async updateFlowJSONAssetWithOptions(request, runtime) {
|
|
8462
|
+
tea_util_1.default.validateModel(request);
|
|
8463
|
+
let body = {};
|
|
8464
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
8465
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
8466
|
+
}
|
|
8467
|
+
if (!tea_util_1.default.isUnset(request.filePath)) {
|
|
8468
|
+
body["FilePath"] = request.filePath;
|
|
8469
|
+
}
|
|
8470
|
+
if (!tea_util_1.default.isUnset(request.flowId)) {
|
|
8471
|
+
body["FlowId"] = request.flowId;
|
|
8472
|
+
}
|
|
8473
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8474
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
8475
|
+
});
|
|
8476
|
+
let params = new $OpenApi.Params({
|
|
8477
|
+
action: "UpdateFlowJSONAsset",
|
|
8478
|
+
version: "2020-06-06",
|
|
8479
|
+
protocol: "HTTPS",
|
|
8480
|
+
pathname: "/",
|
|
8481
|
+
method: "POST",
|
|
8482
|
+
authType: "AK",
|
|
8483
|
+
style: "RPC",
|
|
8484
|
+
reqBodyType: "formData",
|
|
8485
|
+
bodyType: "json",
|
|
8486
|
+
});
|
|
8487
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateFlowJSONAssetResponse({}));
|
|
8488
|
+
}
|
|
8489
|
+
async updateFlowJSONAsset(request) {
|
|
8490
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8491
|
+
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
8492
|
+
}
|
|
8493
|
+
async updatePhoneEncryptionPublicKeyWithOptions(request, runtime) {
|
|
8494
|
+
tea_util_1.default.validateModel(request);
|
|
8495
|
+
let body = {};
|
|
8496
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
8497
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
8498
|
+
}
|
|
8499
|
+
if (!tea_util_1.default.isUnset(request.encryptionPublicKey)) {
|
|
8500
|
+
body["EncryptionPublicKey"] = request.encryptionPublicKey;
|
|
8501
|
+
}
|
|
8502
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
8503
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
8504
|
+
}
|
|
8505
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8506
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
8507
|
+
});
|
|
8508
|
+
let params = new $OpenApi.Params({
|
|
8509
|
+
action: "UpdatePhoneEncryptionPublicKey",
|
|
8510
|
+
version: "2020-06-06",
|
|
8511
|
+
protocol: "HTTPS",
|
|
8512
|
+
pathname: "/",
|
|
8513
|
+
method: "POST",
|
|
8514
|
+
authType: "AK",
|
|
8515
|
+
style: "RPC",
|
|
8516
|
+
reqBodyType: "formData",
|
|
8517
|
+
bodyType: "json",
|
|
8518
|
+
});
|
|
8519
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneEncryptionPublicKeyResponse({}));
|
|
8520
|
+
}
|
|
8521
|
+
async updatePhoneEncryptionPublicKey(request) {
|
|
8522
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8523
|
+
return await this.updatePhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
8524
|
+
}
|
|
8525
|
+
async updatePhoneMessageQrdlWithOptions(request, runtime) {
|
|
8526
|
+
tea_util_1.default.validateModel(request);
|
|
8527
|
+
let body = {};
|
|
8528
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
8529
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
8530
|
+
}
|
|
8531
|
+
if (!tea_util_1.default.isUnset(request.generateQrImage)) {
|
|
8532
|
+
body["GenerateQrImage"] = request.generateQrImage;
|
|
8533
|
+
}
|
|
8534
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
8535
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
8536
|
+
}
|
|
8537
|
+
if (!tea_util_1.default.isUnset(request.prefilledMessage)) {
|
|
8538
|
+
body["PrefilledMessage"] = request.prefilledMessage;
|
|
8539
|
+
}
|
|
8540
|
+
if (!tea_util_1.default.isUnset(request.qrdlCode)) {
|
|
8541
|
+
body["QrdlCode"] = request.qrdlCode;
|
|
8542
|
+
}
|
|
8543
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8544
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
8545
|
+
});
|
|
8546
|
+
let params = new $OpenApi.Params({
|
|
8547
|
+
action: "UpdatePhoneMessageQrdl",
|
|
8548
|
+
version: "2020-06-06",
|
|
8549
|
+
protocol: "HTTPS",
|
|
8550
|
+
pathname: "/",
|
|
8551
|
+
method: "POST",
|
|
8552
|
+
authType: "AK",
|
|
8553
|
+
style: "RPC",
|
|
8554
|
+
reqBodyType: "formData",
|
|
8555
|
+
bodyType: "json",
|
|
8556
|
+
});
|
|
8557
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneMessageQrdlResponse({}));
|
|
8558
|
+
}
|
|
8559
|
+
async updatePhoneMessageQrdl(request) {
|
|
8560
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8561
|
+
return await this.updatePhoneMessageQrdlWithOptions(request, runtime);
|
|
8562
|
+
}
|
|
6562
8563
|
/**
|
|
6563
8564
|
* The error message returned.
|
|
6564
8565
|
*
|