@alicloud/cams20200606 1.1.0 → 1.2.1
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 +549 -2
- package/dist/client.js +1116 -33
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1472 -114
package/dist/client.js
CHANGED
|
@@ -19,6 +19,72 @@ const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $Ope
|
|
|
19
19
|
const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
|
|
20
20
|
const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
|
|
21
21
|
const $tea = __importStar(require("@alicloud/tea-typescript"));
|
|
22
|
+
class AddChatappPhoneNumberRequest extends $tea.Model {
|
|
23
|
+
constructor(map) {
|
|
24
|
+
super(map);
|
|
25
|
+
}
|
|
26
|
+
static names() {
|
|
27
|
+
return {
|
|
28
|
+
cc: 'Cc',
|
|
29
|
+
custSpaceId: 'CustSpaceId',
|
|
30
|
+
phoneNumber: 'PhoneNumber',
|
|
31
|
+
preValidateId: 'PreValidateId',
|
|
32
|
+
verifiedName: 'VerifiedName',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
static types() {
|
|
36
|
+
return {
|
|
37
|
+
cc: 'string',
|
|
38
|
+
custSpaceId: 'string',
|
|
39
|
+
phoneNumber: 'string',
|
|
40
|
+
preValidateId: 'string',
|
|
41
|
+
verifiedName: 'string',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.AddChatappPhoneNumberRequest = AddChatappPhoneNumberRequest;
|
|
46
|
+
class AddChatappPhoneNumberResponseBody extends $tea.Model {
|
|
47
|
+
constructor(map) {
|
|
48
|
+
super(map);
|
|
49
|
+
}
|
|
50
|
+
static names() {
|
|
51
|
+
return {
|
|
52
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
53
|
+
code: 'Code',
|
|
54
|
+
message: 'Message',
|
|
55
|
+
requestId: 'RequestId',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
static types() {
|
|
59
|
+
return {
|
|
60
|
+
accessDeniedDetail: 'string',
|
|
61
|
+
code: 'string',
|
|
62
|
+
message: 'string',
|
|
63
|
+
requestId: 'string',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.AddChatappPhoneNumberResponseBody = AddChatappPhoneNumberResponseBody;
|
|
68
|
+
class AddChatappPhoneNumberResponse extends $tea.Model {
|
|
69
|
+
constructor(map) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
static names() {
|
|
73
|
+
return {
|
|
74
|
+
headers: 'headers',
|
|
75
|
+
statusCode: 'statusCode',
|
|
76
|
+
body: 'body',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
static types() {
|
|
80
|
+
return {
|
|
81
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
82
|
+
statusCode: 'number',
|
|
83
|
+
body: AddChatappPhoneNumberResponseBody,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.AddChatappPhoneNumberResponse = AddChatappPhoneNumberResponse;
|
|
22
88
|
class BeeBotAssociateRequest extends $tea.Model {
|
|
23
89
|
constructor(map) {
|
|
24
90
|
super(map);
|
|
@@ -479,6 +545,66 @@ class ChatappMigrationVerifiedResponse extends $tea.Model {
|
|
|
479
545
|
}
|
|
480
546
|
}
|
|
481
547
|
exports.ChatappMigrationVerifiedResponse = ChatappMigrationVerifiedResponse;
|
|
548
|
+
class ChatappPhoneNumberDeregisterRequest extends $tea.Model {
|
|
549
|
+
constructor(map) {
|
|
550
|
+
super(map);
|
|
551
|
+
}
|
|
552
|
+
static names() {
|
|
553
|
+
return {
|
|
554
|
+
custSpaceId: 'CustSpaceId',
|
|
555
|
+
phoneNumber: 'PhoneNumber',
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
static types() {
|
|
559
|
+
return {
|
|
560
|
+
custSpaceId: 'string',
|
|
561
|
+
phoneNumber: 'string',
|
|
562
|
+
};
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
exports.ChatappPhoneNumberDeregisterRequest = ChatappPhoneNumberDeregisterRequest;
|
|
566
|
+
class ChatappPhoneNumberDeregisterResponseBody extends $tea.Model {
|
|
567
|
+
constructor(map) {
|
|
568
|
+
super(map);
|
|
569
|
+
}
|
|
570
|
+
static names() {
|
|
571
|
+
return {
|
|
572
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
573
|
+
code: 'Code',
|
|
574
|
+
message: 'Message',
|
|
575
|
+
requestId: 'RequestId',
|
|
576
|
+
};
|
|
577
|
+
}
|
|
578
|
+
static types() {
|
|
579
|
+
return {
|
|
580
|
+
accessDeniedDetail: 'string',
|
|
581
|
+
code: 'string',
|
|
582
|
+
message: 'string',
|
|
583
|
+
requestId: 'string',
|
|
584
|
+
};
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
exports.ChatappPhoneNumberDeregisterResponseBody = ChatappPhoneNumberDeregisterResponseBody;
|
|
588
|
+
class ChatappPhoneNumberDeregisterResponse extends $tea.Model {
|
|
589
|
+
constructor(map) {
|
|
590
|
+
super(map);
|
|
591
|
+
}
|
|
592
|
+
static names() {
|
|
593
|
+
return {
|
|
594
|
+
headers: 'headers',
|
|
595
|
+
statusCode: 'statusCode',
|
|
596
|
+
body: 'body',
|
|
597
|
+
};
|
|
598
|
+
}
|
|
599
|
+
static types() {
|
|
600
|
+
return {
|
|
601
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
602
|
+
statusCode: 'number',
|
|
603
|
+
body: ChatappPhoneNumberDeregisterResponseBody,
|
|
604
|
+
};
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
exports.ChatappPhoneNumberDeregisterResponse = ChatappPhoneNumberDeregisterResponse;
|
|
482
608
|
class ChatappPhoneNumberRegisterRequest extends $tea.Model {
|
|
483
609
|
constructor(map) {
|
|
484
610
|
super(map);
|
|
@@ -905,6 +1031,136 @@ class DeleteChatappTemplateResponse extends $tea.Model {
|
|
|
905
1031
|
}
|
|
906
1032
|
}
|
|
907
1033
|
exports.DeleteChatappTemplateResponse = DeleteChatappTemplateResponse;
|
|
1034
|
+
class EnableWhatsappROIMetricRequest extends $tea.Model {
|
|
1035
|
+
constructor(map) {
|
|
1036
|
+
super(map);
|
|
1037
|
+
}
|
|
1038
|
+
static names() {
|
|
1039
|
+
return {
|
|
1040
|
+
custSpaceId: 'CustSpaceId',
|
|
1041
|
+
isvCode: 'IsvCode',
|
|
1042
|
+
};
|
|
1043
|
+
}
|
|
1044
|
+
static types() {
|
|
1045
|
+
return {
|
|
1046
|
+
custSpaceId: 'string',
|
|
1047
|
+
isvCode: 'string',
|
|
1048
|
+
};
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
exports.EnableWhatsappROIMetricRequest = EnableWhatsappROIMetricRequest;
|
|
1052
|
+
class EnableWhatsappROIMetricResponseBody extends $tea.Model {
|
|
1053
|
+
constructor(map) {
|
|
1054
|
+
super(map);
|
|
1055
|
+
}
|
|
1056
|
+
static names() {
|
|
1057
|
+
return {
|
|
1058
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1059
|
+
code: 'Code',
|
|
1060
|
+
message: 'Message',
|
|
1061
|
+
requestId: 'RequestId',
|
|
1062
|
+
};
|
|
1063
|
+
}
|
|
1064
|
+
static types() {
|
|
1065
|
+
return {
|
|
1066
|
+
accessDeniedDetail: 'string',
|
|
1067
|
+
code: 'string',
|
|
1068
|
+
message: 'string',
|
|
1069
|
+
requestId: 'string',
|
|
1070
|
+
};
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
exports.EnableWhatsappROIMetricResponseBody = EnableWhatsappROIMetricResponseBody;
|
|
1074
|
+
class EnableWhatsappROIMetricResponse extends $tea.Model {
|
|
1075
|
+
constructor(map) {
|
|
1076
|
+
super(map);
|
|
1077
|
+
}
|
|
1078
|
+
static names() {
|
|
1079
|
+
return {
|
|
1080
|
+
headers: 'headers',
|
|
1081
|
+
statusCode: 'statusCode',
|
|
1082
|
+
body: 'body',
|
|
1083
|
+
};
|
|
1084
|
+
}
|
|
1085
|
+
static types() {
|
|
1086
|
+
return {
|
|
1087
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1088
|
+
statusCode: 'number',
|
|
1089
|
+
body: EnableWhatsappROIMetricResponseBody,
|
|
1090
|
+
};
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
exports.EnableWhatsappROIMetricResponse = EnableWhatsappROIMetricResponse;
|
|
1094
|
+
class GetChatappPhoneNumberMetricRequest extends $tea.Model {
|
|
1095
|
+
constructor(map) {
|
|
1096
|
+
super(map);
|
|
1097
|
+
}
|
|
1098
|
+
static names() {
|
|
1099
|
+
return {
|
|
1100
|
+
custSpaceId: 'CustSpaceId',
|
|
1101
|
+
end: 'End',
|
|
1102
|
+
granularity: 'Granularity',
|
|
1103
|
+
isvCode: 'IsvCode',
|
|
1104
|
+
phoneNumber: 'PhoneNumber',
|
|
1105
|
+
start: 'Start',
|
|
1106
|
+
};
|
|
1107
|
+
}
|
|
1108
|
+
static types() {
|
|
1109
|
+
return {
|
|
1110
|
+
custSpaceId: 'string',
|
|
1111
|
+
end: 'number',
|
|
1112
|
+
granularity: 'string',
|
|
1113
|
+
isvCode: 'string',
|
|
1114
|
+
phoneNumber: 'string',
|
|
1115
|
+
start: 'number',
|
|
1116
|
+
};
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
exports.GetChatappPhoneNumberMetricRequest = GetChatappPhoneNumberMetricRequest;
|
|
1120
|
+
class GetChatappPhoneNumberMetricResponseBody extends $tea.Model {
|
|
1121
|
+
constructor(map) {
|
|
1122
|
+
super(map);
|
|
1123
|
+
}
|
|
1124
|
+
static names() {
|
|
1125
|
+
return {
|
|
1126
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1127
|
+
code: 'Code',
|
|
1128
|
+
data: 'Data',
|
|
1129
|
+
message: 'Message',
|
|
1130
|
+
requestId: 'RequestId',
|
|
1131
|
+
};
|
|
1132
|
+
}
|
|
1133
|
+
static types() {
|
|
1134
|
+
return {
|
|
1135
|
+
accessDeniedDetail: 'string',
|
|
1136
|
+
code: 'string',
|
|
1137
|
+
data: { 'type': 'array', 'itemType': GetChatappPhoneNumberMetricResponseBodyData },
|
|
1138
|
+
message: 'string',
|
|
1139
|
+
requestId: 'string',
|
|
1140
|
+
};
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
exports.GetChatappPhoneNumberMetricResponseBody = GetChatappPhoneNumberMetricResponseBody;
|
|
1144
|
+
class GetChatappPhoneNumberMetricResponse extends $tea.Model {
|
|
1145
|
+
constructor(map) {
|
|
1146
|
+
super(map);
|
|
1147
|
+
}
|
|
1148
|
+
static names() {
|
|
1149
|
+
return {
|
|
1150
|
+
headers: 'headers',
|
|
1151
|
+
statusCode: 'statusCode',
|
|
1152
|
+
body: 'body',
|
|
1153
|
+
};
|
|
1154
|
+
}
|
|
1155
|
+
static types() {
|
|
1156
|
+
return {
|
|
1157
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1158
|
+
statusCode: 'number',
|
|
1159
|
+
body: GetChatappPhoneNumberMetricResponseBody,
|
|
1160
|
+
};
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
exports.GetChatappPhoneNumberMetricResponse = GetChatappPhoneNumberMetricResponse;
|
|
908
1164
|
class GetChatappTemplateDetailRequest extends $tea.Model {
|
|
909
1165
|
constructor(map) {
|
|
910
1166
|
super(map);
|
|
@@ -975,6 +1231,80 @@ class GetChatappTemplateDetailResponse extends $tea.Model {
|
|
|
975
1231
|
}
|
|
976
1232
|
}
|
|
977
1233
|
exports.GetChatappTemplateDetailResponse = GetChatappTemplateDetailResponse;
|
|
1234
|
+
class GetChatappTemplateMetricRequest extends $tea.Model {
|
|
1235
|
+
constructor(map) {
|
|
1236
|
+
super(map);
|
|
1237
|
+
}
|
|
1238
|
+
static names() {
|
|
1239
|
+
return {
|
|
1240
|
+
custSpaceId: 'CustSpaceId',
|
|
1241
|
+
end: 'End',
|
|
1242
|
+
granularity: 'Granularity',
|
|
1243
|
+
isvCode: 'IsvCode',
|
|
1244
|
+
language: 'Language',
|
|
1245
|
+
start: 'Start',
|
|
1246
|
+
templateCode: 'TemplateCode',
|
|
1247
|
+
templateType: 'TemplateType',
|
|
1248
|
+
};
|
|
1249
|
+
}
|
|
1250
|
+
static types() {
|
|
1251
|
+
return {
|
|
1252
|
+
custSpaceId: 'string',
|
|
1253
|
+
end: 'number',
|
|
1254
|
+
granularity: 'string',
|
|
1255
|
+
isvCode: 'string',
|
|
1256
|
+
language: 'string',
|
|
1257
|
+
start: 'number',
|
|
1258
|
+
templateCode: 'string',
|
|
1259
|
+
templateType: 'string',
|
|
1260
|
+
};
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
exports.GetChatappTemplateMetricRequest = GetChatappTemplateMetricRequest;
|
|
1264
|
+
class GetChatappTemplateMetricResponseBody extends $tea.Model {
|
|
1265
|
+
constructor(map) {
|
|
1266
|
+
super(map);
|
|
1267
|
+
}
|
|
1268
|
+
static names() {
|
|
1269
|
+
return {
|
|
1270
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1271
|
+
code: 'Code',
|
|
1272
|
+
data: 'Data',
|
|
1273
|
+
message: 'Message',
|
|
1274
|
+
requestId: 'RequestId',
|
|
1275
|
+
};
|
|
1276
|
+
}
|
|
1277
|
+
static types() {
|
|
1278
|
+
return {
|
|
1279
|
+
accessDeniedDetail: 'string',
|
|
1280
|
+
code: 'string',
|
|
1281
|
+
data: { 'type': 'array', 'itemType': GetChatappTemplateMetricResponseBodyData },
|
|
1282
|
+
message: 'string',
|
|
1283
|
+
requestId: 'string',
|
|
1284
|
+
};
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
exports.GetChatappTemplateMetricResponseBody = GetChatappTemplateMetricResponseBody;
|
|
1288
|
+
class GetChatappTemplateMetricResponse extends $tea.Model {
|
|
1289
|
+
constructor(map) {
|
|
1290
|
+
super(map);
|
|
1291
|
+
}
|
|
1292
|
+
static names() {
|
|
1293
|
+
return {
|
|
1294
|
+
headers: 'headers',
|
|
1295
|
+
statusCode: 'statusCode',
|
|
1296
|
+
body: 'body',
|
|
1297
|
+
};
|
|
1298
|
+
}
|
|
1299
|
+
static types() {
|
|
1300
|
+
return {
|
|
1301
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1302
|
+
statusCode: 'number',
|
|
1303
|
+
body: GetChatappTemplateMetricResponseBody,
|
|
1304
|
+
};
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
exports.GetChatappTemplateMetricResponse = GetChatappTemplateMetricResponse;
|
|
978
1308
|
class GetChatappUploadAuthorizationRequest extends $tea.Model {
|
|
979
1309
|
constructor(map) {
|
|
980
1310
|
super(map);
|
|
@@ -1237,35 +1567,105 @@ class GetPreValidatePhoneIdRequest extends $tea.Model {
|
|
|
1237
1567
|
}
|
|
1238
1568
|
static types() {
|
|
1239
1569
|
return {
|
|
1240
|
-
phoneNumber: 'string',
|
|
1241
|
-
verifyCode: 'string',
|
|
1570
|
+
phoneNumber: 'string',
|
|
1571
|
+
verifyCode: 'string',
|
|
1572
|
+
};
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
exports.GetPreValidatePhoneIdRequest = GetPreValidatePhoneIdRequest;
|
|
1576
|
+
class GetPreValidatePhoneIdResponseBody extends $tea.Model {
|
|
1577
|
+
constructor(map) {
|
|
1578
|
+
super(map);
|
|
1579
|
+
}
|
|
1580
|
+
static names() {
|
|
1581
|
+
return {
|
|
1582
|
+
code: 'Code',
|
|
1583
|
+
data: 'Data',
|
|
1584
|
+
message: 'Message',
|
|
1585
|
+
requestId: 'RequestId',
|
|
1586
|
+
};
|
|
1587
|
+
}
|
|
1588
|
+
static types() {
|
|
1589
|
+
return {
|
|
1590
|
+
code: 'string',
|
|
1591
|
+
data: GetPreValidatePhoneIdResponseBodyData,
|
|
1592
|
+
message: 'string',
|
|
1593
|
+
requestId: 'string',
|
|
1594
|
+
};
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1597
|
+
exports.GetPreValidatePhoneIdResponseBody = GetPreValidatePhoneIdResponseBody;
|
|
1598
|
+
class GetPreValidatePhoneIdResponse extends $tea.Model {
|
|
1599
|
+
constructor(map) {
|
|
1600
|
+
super(map);
|
|
1601
|
+
}
|
|
1602
|
+
static names() {
|
|
1603
|
+
return {
|
|
1604
|
+
headers: 'headers',
|
|
1605
|
+
statusCode: 'statusCode',
|
|
1606
|
+
body: 'body',
|
|
1607
|
+
};
|
|
1608
|
+
}
|
|
1609
|
+
static types() {
|
|
1610
|
+
return {
|
|
1611
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1612
|
+
statusCode: 'number',
|
|
1613
|
+
body: GetPreValidatePhoneIdResponseBody,
|
|
1614
|
+
};
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
exports.GetPreValidatePhoneIdResponse = GetPreValidatePhoneIdResponse;
|
|
1618
|
+
class GetWhatsappConnectionCatalogRequest extends $tea.Model {
|
|
1619
|
+
constructor(map) {
|
|
1620
|
+
super(map);
|
|
1621
|
+
}
|
|
1622
|
+
static names() {
|
|
1623
|
+
return {
|
|
1624
|
+
custSpaceId: 'CustSpaceId',
|
|
1625
|
+
ownerId: 'OwnerId',
|
|
1626
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1627
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1628
|
+
wabaId: 'WabaId',
|
|
1629
|
+
};
|
|
1630
|
+
}
|
|
1631
|
+
static types() {
|
|
1632
|
+
return {
|
|
1633
|
+
custSpaceId: 'string',
|
|
1634
|
+
ownerId: 'number',
|
|
1635
|
+
resourceOwnerAccount: 'string',
|
|
1636
|
+
resourceOwnerId: 'number',
|
|
1637
|
+
wabaId: 'string',
|
|
1242
1638
|
};
|
|
1243
1639
|
}
|
|
1244
1640
|
}
|
|
1245
|
-
exports.
|
|
1246
|
-
class
|
|
1641
|
+
exports.GetWhatsappConnectionCatalogRequest = GetWhatsappConnectionCatalogRequest;
|
|
1642
|
+
class GetWhatsappConnectionCatalogResponseBody extends $tea.Model {
|
|
1247
1643
|
constructor(map) {
|
|
1248
1644
|
super(map);
|
|
1249
1645
|
}
|
|
1250
1646
|
static names() {
|
|
1251
1647
|
return {
|
|
1648
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1252
1649
|
code: 'Code',
|
|
1253
|
-
data: 'Data',
|
|
1254
1650
|
message: 'Message',
|
|
1651
|
+
model: 'Model',
|
|
1255
1652
|
requestId: 'RequestId',
|
|
1653
|
+
success: 'Success',
|
|
1256
1654
|
};
|
|
1257
1655
|
}
|
|
1258
1656
|
static types() {
|
|
1259
1657
|
return {
|
|
1658
|
+
accessDeniedDetail: 'string',
|
|
1260
1659
|
code: 'string',
|
|
1261
|
-
data: GetPreValidatePhoneIdResponseBodyData,
|
|
1262
1660
|
message: 'string',
|
|
1661
|
+
model: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1263
1662
|
requestId: 'string',
|
|
1663
|
+
success: 'boolean',
|
|
1264
1664
|
};
|
|
1265
1665
|
}
|
|
1266
1666
|
}
|
|
1267
|
-
exports.
|
|
1268
|
-
class
|
|
1667
|
+
exports.GetWhatsappConnectionCatalogResponseBody = GetWhatsappConnectionCatalogResponseBody;
|
|
1668
|
+
class GetWhatsappConnectionCatalogResponse extends $tea.Model {
|
|
1269
1669
|
constructor(map) {
|
|
1270
1670
|
super(map);
|
|
1271
1671
|
}
|
|
@@ -1280,11 +1680,11 @@ class GetPreValidatePhoneIdResponse extends $tea.Model {
|
|
|
1280
1680
|
return {
|
|
1281
1681
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1282
1682
|
statusCode: 'number',
|
|
1283
|
-
body:
|
|
1683
|
+
body: GetWhatsappConnectionCatalogResponseBody,
|
|
1284
1684
|
};
|
|
1285
1685
|
}
|
|
1286
1686
|
}
|
|
1287
|
-
exports.
|
|
1687
|
+
exports.GetWhatsappConnectionCatalogResponse = GetWhatsappConnectionCatalogResponse;
|
|
1288
1688
|
class IsvGetAppIdRequest extends $tea.Model {
|
|
1289
1689
|
constructor(map) {
|
|
1290
1690
|
super(map);
|
|
@@ -1451,6 +1851,164 @@ class ListChatappTemplateResponse extends $tea.Model {
|
|
|
1451
1851
|
}
|
|
1452
1852
|
}
|
|
1453
1853
|
exports.ListChatappTemplateResponse = ListChatappTemplateResponse;
|
|
1854
|
+
class ListProductRequest extends $tea.Model {
|
|
1855
|
+
constructor(map) {
|
|
1856
|
+
super(map);
|
|
1857
|
+
}
|
|
1858
|
+
static names() {
|
|
1859
|
+
return {
|
|
1860
|
+
after: 'After',
|
|
1861
|
+
before: 'Before',
|
|
1862
|
+
catalogId: 'CatalogId',
|
|
1863
|
+
custSpaceId: 'CustSpaceId',
|
|
1864
|
+
fields: 'Fields',
|
|
1865
|
+
limit: 'Limit',
|
|
1866
|
+
ownerId: 'OwnerId',
|
|
1867
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1868
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1869
|
+
wabaId: 'WabaId',
|
|
1870
|
+
};
|
|
1871
|
+
}
|
|
1872
|
+
static types() {
|
|
1873
|
+
return {
|
|
1874
|
+
after: 'string',
|
|
1875
|
+
before: 'string',
|
|
1876
|
+
catalogId: 'string',
|
|
1877
|
+
custSpaceId: 'string',
|
|
1878
|
+
fields: 'string',
|
|
1879
|
+
limit: 'number',
|
|
1880
|
+
ownerId: 'number',
|
|
1881
|
+
resourceOwnerAccount: 'string',
|
|
1882
|
+
resourceOwnerId: 'number',
|
|
1883
|
+
wabaId: 'string',
|
|
1884
|
+
};
|
|
1885
|
+
}
|
|
1886
|
+
}
|
|
1887
|
+
exports.ListProductRequest = ListProductRequest;
|
|
1888
|
+
class ListProductResponseBody extends $tea.Model {
|
|
1889
|
+
constructor(map) {
|
|
1890
|
+
super(map);
|
|
1891
|
+
}
|
|
1892
|
+
static names() {
|
|
1893
|
+
return {
|
|
1894
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1895
|
+
code: 'Code',
|
|
1896
|
+
message: 'Message',
|
|
1897
|
+
model: 'Model',
|
|
1898
|
+
requestId: 'RequestId',
|
|
1899
|
+
success: 'Success',
|
|
1900
|
+
};
|
|
1901
|
+
}
|
|
1902
|
+
static types() {
|
|
1903
|
+
return {
|
|
1904
|
+
accessDeniedDetail: 'string',
|
|
1905
|
+
code: 'string',
|
|
1906
|
+
message: 'string',
|
|
1907
|
+
model: ListProductResponseBodyModel,
|
|
1908
|
+
requestId: 'string',
|
|
1909
|
+
success: 'boolean',
|
|
1910
|
+
};
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
exports.ListProductResponseBody = ListProductResponseBody;
|
|
1914
|
+
class ListProductResponse 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: ListProductResponseBody,
|
|
1930
|
+
};
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
exports.ListProductResponse = ListProductResponse;
|
|
1934
|
+
class ListProductCatalogRequest extends $tea.Model {
|
|
1935
|
+
constructor(map) {
|
|
1936
|
+
super(map);
|
|
1937
|
+
}
|
|
1938
|
+
static names() {
|
|
1939
|
+
return {
|
|
1940
|
+
after: 'After',
|
|
1941
|
+
before: 'Before',
|
|
1942
|
+
businessId: 'BusinessId',
|
|
1943
|
+
custSpaceId: 'CustSpaceId',
|
|
1944
|
+
fields: 'Fields',
|
|
1945
|
+
limit: 'Limit',
|
|
1946
|
+
ownerId: 'OwnerId',
|
|
1947
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1948
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1949
|
+
};
|
|
1950
|
+
}
|
|
1951
|
+
static types() {
|
|
1952
|
+
return {
|
|
1953
|
+
after: 'string',
|
|
1954
|
+
before: 'string',
|
|
1955
|
+
businessId: 'number',
|
|
1956
|
+
custSpaceId: 'string',
|
|
1957
|
+
fields: 'string',
|
|
1958
|
+
limit: 'number',
|
|
1959
|
+
ownerId: 'number',
|
|
1960
|
+
resourceOwnerAccount: 'string',
|
|
1961
|
+
resourceOwnerId: 'number',
|
|
1962
|
+
};
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
exports.ListProductCatalogRequest = ListProductCatalogRequest;
|
|
1966
|
+
class ListProductCatalogResponseBody extends $tea.Model {
|
|
1967
|
+
constructor(map) {
|
|
1968
|
+
super(map);
|
|
1969
|
+
}
|
|
1970
|
+
static names() {
|
|
1971
|
+
return {
|
|
1972
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1973
|
+
code: 'Code',
|
|
1974
|
+
message: 'Message',
|
|
1975
|
+
model: 'Model',
|
|
1976
|
+
requestId: 'RequestId',
|
|
1977
|
+
success: 'Success',
|
|
1978
|
+
};
|
|
1979
|
+
}
|
|
1980
|
+
static types() {
|
|
1981
|
+
return {
|
|
1982
|
+
accessDeniedDetail: 'string',
|
|
1983
|
+
code: 'string',
|
|
1984
|
+
message: 'string',
|
|
1985
|
+
model: ListProductCatalogResponseBodyModel,
|
|
1986
|
+
requestId: 'string',
|
|
1987
|
+
success: 'boolean',
|
|
1988
|
+
};
|
|
1989
|
+
}
|
|
1990
|
+
}
|
|
1991
|
+
exports.ListProductCatalogResponseBody = ListProductCatalogResponseBody;
|
|
1992
|
+
class ListProductCatalogResponse extends $tea.Model {
|
|
1993
|
+
constructor(map) {
|
|
1994
|
+
super(map);
|
|
1995
|
+
}
|
|
1996
|
+
static names() {
|
|
1997
|
+
return {
|
|
1998
|
+
headers: 'headers',
|
|
1999
|
+
statusCode: 'statusCode',
|
|
2000
|
+
body: 'body',
|
|
2001
|
+
};
|
|
2002
|
+
}
|
|
2003
|
+
static types() {
|
|
2004
|
+
return {
|
|
2005
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2006
|
+
statusCode: 'number',
|
|
2007
|
+
body: ListProductCatalogResponseBody,
|
|
2008
|
+
};
|
|
2009
|
+
}
|
|
2010
|
+
}
|
|
2011
|
+
exports.ListProductCatalogResponse = ListProductCatalogResponse;
|
|
1454
2012
|
class ModifyChatappTemplateRequest extends $tea.Model {
|
|
1455
2013
|
constructor(map) {
|
|
1456
2014
|
super(map);
|
|
@@ -1925,6 +2483,7 @@ class SendChatappMassMessageRequest extends $tea.Model {
|
|
|
1925
2483
|
fallBackContent: 'FallBackContent',
|
|
1926
2484
|
fallBackDuration: 'FallBackDuration',
|
|
1927
2485
|
fallBackId: 'FallBackId',
|
|
2486
|
+
fallBackRule: 'FallBackRule',
|
|
1928
2487
|
from: 'From',
|
|
1929
2488
|
isvCode: 'IsvCode',
|
|
1930
2489
|
label: 'Label',
|
|
@@ -1944,6 +2503,7 @@ class SendChatappMassMessageRequest extends $tea.Model {
|
|
|
1944
2503
|
fallBackContent: 'string',
|
|
1945
2504
|
fallBackDuration: 'number',
|
|
1946
2505
|
fallBackId: 'string',
|
|
2506
|
+
fallBackRule: 'string',
|
|
1947
2507
|
from: 'string',
|
|
1948
2508
|
isvCode: 'string',
|
|
1949
2509
|
label: 'string',
|
|
@@ -1969,6 +2529,7 @@ class SendChatappMassMessageShrinkRequest extends $tea.Model {
|
|
|
1969
2529
|
fallBackContent: 'FallBackContent',
|
|
1970
2530
|
fallBackDuration: 'FallBackDuration',
|
|
1971
2531
|
fallBackId: 'FallBackId',
|
|
2532
|
+
fallBackRule: 'FallBackRule',
|
|
1972
2533
|
from: 'From',
|
|
1973
2534
|
isvCode: 'IsvCode',
|
|
1974
2535
|
label: 'Label',
|
|
@@ -1988,6 +2549,7 @@ class SendChatappMassMessageShrinkRequest extends $tea.Model {
|
|
|
1988
2549
|
fallBackContent: 'string',
|
|
1989
2550
|
fallBackDuration: 'number',
|
|
1990
2551
|
fallBackId: 'string',
|
|
2552
|
+
fallBackRule: 'string',
|
|
1991
2553
|
from: 'string',
|
|
1992
2554
|
isvCode: 'string',
|
|
1993
2555
|
label: 'string',
|
|
@@ -2059,6 +2621,7 @@ class SendChatappMessageRequest extends $tea.Model {
|
|
|
2059
2621
|
fallBackContent: 'FallBackContent',
|
|
2060
2622
|
fallBackDuration: 'FallBackDuration',
|
|
2061
2623
|
fallBackId: 'FallBackId',
|
|
2624
|
+
fallBackRule: 'FallBackRule',
|
|
2062
2625
|
from: 'From',
|
|
2063
2626
|
isvCode: 'IsvCode',
|
|
2064
2627
|
label: 'Label',
|
|
@@ -2086,6 +2649,7 @@ class SendChatappMessageRequest extends $tea.Model {
|
|
|
2086
2649
|
fallBackContent: 'string',
|
|
2087
2650
|
fallBackDuration: 'number',
|
|
2088
2651
|
fallBackId: 'string',
|
|
2652
|
+
fallBackRule: 'string',
|
|
2089
2653
|
from: 'string',
|
|
2090
2654
|
isvCode: 'string',
|
|
2091
2655
|
label: 'string',
|
|
@@ -2119,6 +2683,7 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
2119
2683
|
fallBackContent: 'FallBackContent',
|
|
2120
2684
|
fallBackDuration: 'FallBackDuration',
|
|
2121
2685
|
fallBackId: 'FallBackId',
|
|
2686
|
+
fallBackRule: 'FallBackRule',
|
|
2122
2687
|
from: 'From',
|
|
2123
2688
|
isvCode: 'IsvCode',
|
|
2124
2689
|
label: 'Label',
|
|
@@ -2146,6 +2711,7 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
2146
2711
|
fallBackContent: 'string',
|
|
2147
2712
|
fallBackDuration: 'number',
|
|
2148
2713
|
fallBackId: 'string',
|
|
2714
|
+
fallBackRule: 'string',
|
|
2149
2715
|
from: 'string',
|
|
2150
2716
|
isvCode: 'string',
|
|
2151
2717
|
label: 'string',
|
|
@@ -2829,6 +3395,32 @@ class CreateChatappTemplateResponseBodyData extends $tea.Model {
|
|
|
2829
3395
|
}
|
|
2830
3396
|
}
|
|
2831
3397
|
exports.CreateChatappTemplateResponseBodyData = CreateChatappTemplateResponseBodyData;
|
|
3398
|
+
class GetChatappPhoneNumberMetricResponseBodyData extends $tea.Model {
|
|
3399
|
+
constructor(map) {
|
|
3400
|
+
super(map);
|
|
3401
|
+
}
|
|
3402
|
+
static names() {
|
|
3403
|
+
return {
|
|
3404
|
+
deliveredCount: 'DeliveredCount',
|
|
3405
|
+
end: 'End',
|
|
3406
|
+
granularity: 'Granularity',
|
|
3407
|
+
phoneNumber: 'PhoneNumber',
|
|
3408
|
+
sentCount: 'SentCount',
|
|
3409
|
+
start: 'Start',
|
|
3410
|
+
};
|
|
3411
|
+
}
|
|
3412
|
+
static types() {
|
|
3413
|
+
return {
|
|
3414
|
+
deliveredCount: 'number',
|
|
3415
|
+
end: 'number',
|
|
3416
|
+
granularity: 'string',
|
|
3417
|
+
phoneNumber: 'string',
|
|
3418
|
+
sentCount: 'number',
|
|
3419
|
+
start: 'number',
|
|
3420
|
+
};
|
|
3421
|
+
}
|
|
3422
|
+
}
|
|
3423
|
+
exports.GetChatappPhoneNumberMetricResponseBodyData = GetChatappPhoneNumberMetricResponseBodyData;
|
|
2832
3424
|
class GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs extends $tea.Model {
|
|
2833
3425
|
constructor(map) {
|
|
2834
3426
|
super(map);
|
|
@@ -2947,6 +3539,7 @@ class GetChatappTemplateDetailResponseBodyData extends $tea.Model {
|
|
|
2947
3539
|
messageSendTtlSeconds: 'MessageSendTtlSeconds',
|
|
2948
3540
|
name: 'Name',
|
|
2949
3541
|
qualityScore: 'QualityScore',
|
|
3542
|
+
reason: 'Reason',
|
|
2950
3543
|
templateCode: 'TemplateCode',
|
|
2951
3544
|
templateType: 'TemplateType',
|
|
2952
3545
|
};
|
|
@@ -2961,12 +3554,63 @@ class GetChatappTemplateDetailResponseBodyData extends $tea.Model {
|
|
|
2961
3554
|
messageSendTtlSeconds: 'number',
|
|
2962
3555
|
name: 'string',
|
|
2963
3556
|
qualityScore: 'string',
|
|
3557
|
+
reason: 'string',
|
|
2964
3558
|
templateCode: 'string',
|
|
2965
3559
|
templateType: 'string',
|
|
2966
3560
|
};
|
|
2967
3561
|
}
|
|
2968
3562
|
}
|
|
2969
3563
|
exports.GetChatappTemplateDetailResponseBodyData = GetChatappTemplateDetailResponseBodyData;
|
|
3564
|
+
class GetChatappTemplateMetricResponseBodyDataCliented extends $tea.Model {
|
|
3565
|
+
constructor(map) {
|
|
3566
|
+
super(map);
|
|
3567
|
+
}
|
|
3568
|
+
static names() {
|
|
3569
|
+
return {
|
|
3570
|
+
buttonContent: 'ButtonContent',
|
|
3571
|
+
count: 'Count',
|
|
3572
|
+
type: 'Type',
|
|
3573
|
+
};
|
|
3574
|
+
}
|
|
3575
|
+
static types() {
|
|
3576
|
+
return {
|
|
3577
|
+
buttonContent: 'string',
|
|
3578
|
+
count: 'number',
|
|
3579
|
+
type: 'string',
|
|
3580
|
+
};
|
|
3581
|
+
}
|
|
3582
|
+
}
|
|
3583
|
+
exports.GetChatappTemplateMetricResponseBodyDataCliented = GetChatappTemplateMetricResponseBodyDataCliented;
|
|
3584
|
+
class GetChatappTemplateMetricResponseBodyData extends $tea.Model {
|
|
3585
|
+
constructor(map) {
|
|
3586
|
+
super(map);
|
|
3587
|
+
}
|
|
3588
|
+
static names() {
|
|
3589
|
+
return {
|
|
3590
|
+
cliented: 'Cliented',
|
|
3591
|
+
deliveredCount: 'DeliveredCount',
|
|
3592
|
+
end: 'End',
|
|
3593
|
+
language: 'Language',
|
|
3594
|
+
readCount: 'ReadCount',
|
|
3595
|
+
sentCount: 'SentCount',
|
|
3596
|
+
start: 'Start',
|
|
3597
|
+
templateCode: 'TemplateCode',
|
|
3598
|
+
};
|
|
3599
|
+
}
|
|
3600
|
+
static types() {
|
|
3601
|
+
return {
|
|
3602
|
+
cliented: { 'type': 'array', 'itemType': GetChatappTemplateMetricResponseBodyDataCliented },
|
|
3603
|
+
deliveredCount: 'number',
|
|
3604
|
+
end: 'number',
|
|
3605
|
+
language: 'string',
|
|
3606
|
+
readCount: 'number',
|
|
3607
|
+
sentCount: 'number',
|
|
3608
|
+
start: 'number',
|
|
3609
|
+
templateCode: 'string',
|
|
3610
|
+
};
|
|
3611
|
+
}
|
|
3612
|
+
}
|
|
3613
|
+
exports.GetChatappTemplateMetricResponseBodyData = GetChatappTemplateMetricResponseBodyData;
|
|
2970
3614
|
class GetChatappUploadAuthorizationResponseBodyData extends $tea.Model {
|
|
2971
3615
|
constructor(map) {
|
|
2972
3616
|
super(map);
|
|
@@ -3050,51 +3694,157 @@ class GetPreValidatePhoneIdResponseBodyData extends $tea.Model {
|
|
|
3050
3694
|
};
|
|
3051
3695
|
}
|
|
3052
3696
|
}
|
|
3053
|
-
exports.GetPreValidatePhoneIdResponseBodyData = GetPreValidatePhoneIdResponseBodyData;
|
|
3054
|
-
class ListChatappTemplateRequestPage extends $tea.Model {
|
|
3697
|
+
exports.GetPreValidatePhoneIdResponseBodyData = GetPreValidatePhoneIdResponseBodyData;
|
|
3698
|
+
class ListChatappTemplateRequestPage extends $tea.Model {
|
|
3699
|
+
constructor(map) {
|
|
3700
|
+
super(map);
|
|
3701
|
+
}
|
|
3702
|
+
static names() {
|
|
3703
|
+
return {
|
|
3704
|
+
index: 'Index',
|
|
3705
|
+
size: 'Size',
|
|
3706
|
+
};
|
|
3707
|
+
}
|
|
3708
|
+
static types() {
|
|
3709
|
+
return {
|
|
3710
|
+
index: 'number',
|
|
3711
|
+
size: 'number',
|
|
3712
|
+
};
|
|
3713
|
+
}
|
|
3714
|
+
}
|
|
3715
|
+
exports.ListChatappTemplateRequestPage = ListChatappTemplateRequestPage;
|
|
3716
|
+
class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
3717
|
+
constructor(map) {
|
|
3718
|
+
super(map);
|
|
3719
|
+
}
|
|
3720
|
+
static names() {
|
|
3721
|
+
return {
|
|
3722
|
+
auditStatus: 'AuditStatus',
|
|
3723
|
+
category: 'Category',
|
|
3724
|
+
language: 'Language',
|
|
3725
|
+
reason: 'Reason',
|
|
3726
|
+
templateCode: 'TemplateCode',
|
|
3727
|
+
templateName: 'TemplateName',
|
|
3728
|
+
templateType: 'TemplateType',
|
|
3729
|
+
};
|
|
3730
|
+
}
|
|
3731
|
+
static types() {
|
|
3732
|
+
return {
|
|
3733
|
+
auditStatus: 'string',
|
|
3734
|
+
category: 'string',
|
|
3735
|
+
language: 'string',
|
|
3736
|
+
reason: 'string',
|
|
3737
|
+
templateCode: 'string',
|
|
3738
|
+
templateName: 'string',
|
|
3739
|
+
templateType: 'string',
|
|
3740
|
+
};
|
|
3741
|
+
}
|
|
3742
|
+
}
|
|
3743
|
+
exports.ListChatappTemplateResponseBodyListTemplate = ListChatappTemplateResponseBodyListTemplate;
|
|
3744
|
+
class ListProductResponseBodyModelPagingCursors extends $tea.Model {
|
|
3745
|
+
constructor(map) {
|
|
3746
|
+
super(map);
|
|
3747
|
+
}
|
|
3748
|
+
static names() {
|
|
3749
|
+
return {
|
|
3750
|
+
after: 'After',
|
|
3751
|
+
before: 'Before',
|
|
3752
|
+
};
|
|
3753
|
+
}
|
|
3754
|
+
static types() {
|
|
3755
|
+
return {
|
|
3756
|
+
after: 'string',
|
|
3757
|
+
before: 'string',
|
|
3758
|
+
};
|
|
3759
|
+
}
|
|
3760
|
+
}
|
|
3761
|
+
exports.ListProductResponseBodyModelPagingCursors = ListProductResponseBodyModelPagingCursors;
|
|
3762
|
+
class ListProductResponseBodyModelPaging extends $tea.Model {
|
|
3763
|
+
constructor(map) {
|
|
3764
|
+
super(map);
|
|
3765
|
+
}
|
|
3766
|
+
static names() {
|
|
3767
|
+
return {
|
|
3768
|
+
cursors: 'Cursors',
|
|
3769
|
+
};
|
|
3770
|
+
}
|
|
3771
|
+
static types() {
|
|
3772
|
+
return {
|
|
3773
|
+
cursors: ListProductResponseBodyModelPagingCursors,
|
|
3774
|
+
};
|
|
3775
|
+
}
|
|
3776
|
+
}
|
|
3777
|
+
exports.ListProductResponseBodyModelPaging = ListProductResponseBodyModelPaging;
|
|
3778
|
+
class ListProductResponseBodyModel extends $tea.Model {
|
|
3779
|
+
constructor(map) {
|
|
3780
|
+
super(map);
|
|
3781
|
+
}
|
|
3782
|
+
static names() {
|
|
3783
|
+
return {
|
|
3784
|
+
data: 'Data',
|
|
3785
|
+
paging: 'Paging',
|
|
3786
|
+
};
|
|
3787
|
+
}
|
|
3788
|
+
static types() {
|
|
3789
|
+
return {
|
|
3790
|
+
data: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
3791
|
+
paging: ListProductResponseBodyModelPaging,
|
|
3792
|
+
};
|
|
3793
|
+
}
|
|
3794
|
+
}
|
|
3795
|
+
exports.ListProductResponseBodyModel = ListProductResponseBodyModel;
|
|
3796
|
+
class ListProductCatalogResponseBodyModelPagingCursors extends $tea.Model {
|
|
3797
|
+
constructor(map) {
|
|
3798
|
+
super(map);
|
|
3799
|
+
}
|
|
3800
|
+
static names() {
|
|
3801
|
+
return {
|
|
3802
|
+
after: 'After',
|
|
3803
|
+
before: 'Before',
|
|
3804
|
+
};
|
|
3805
|
+
}
|
|
3806
|
+
static types() {
|
|
3807
|
+
return {
|
|
3808
|
+
after: 'string',
|
|
3809
|
+
before: 'string',
|
|
3810
|
+
};
|
|
3811
|
+
}
|
|
3812
|
+
}
|
|
3813
|
+
exports.ListProductCatalogResponseBodyModelPagingCursors = ListProductCatalogResponseBodyModelPagingCursors;
|
|
3814
|
+
class ListProductCatalogResponseBodyModelPaging extends $tea.Model {
|
|
3055
3815
|
constructor(map) {
|
|
3056
3816
|
super(map);
|
|
3057
3817
|
}
|
|
3058
3818
|
static names() {
|
|
3059
3819
|
return {
|
|
3060
|
-
|
|
3061
|
-
size: 'Size',
|
|
3820
|
+
cursors: 'Cursors',
|
|
3062
3821
|
};
|
|
3063
3822
|
}
|
|
3064
3823
|
static types() {
|
|
3065
3824
|
return {
|
|
3066
|
-
|
|
3067
|
-
size: 'number',
|
|
3825
|
+
cursors: ListProductCatalogResponseBodyModelPagingCursors,
|
|
3068
3826
|
};
|
|
3069
3827
|
}
|
|
3070
3828
|
}
|
|
3071
|
-
exports.
|
|
3072
|
-
class
|
|
3829
|
+
exports.ListProductCatalogResponseBodyModelPaging = ListProductCatalogResponseBodyModelPaging;
|
|
3830
|
+
class ListProductCatalogResponseBodyModel extends $tea.Model {
|
|
3073
3831
|
constructor(map) {
|
|
3074
3832
|
super(map);
|
|
3075
3833
|
}
|
|
3076
3834
|
static names() {
|
|
3077
3835
|
return {
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
language: 'Language',
|
|
3081
|
-
templateCode: 'TemplateCode',
|
|
3082
|
-
templateName: 'TemplateName',
|
|
3083
|
-
templateType: 'TemplateType',
|
|
3836
|
+
data: 'Data',
|
|
3837
|
+
paging: 'Paging',
|
|
3084
3838
|
};
|
|
3085
3839
|
}
|
|
3086
3840
|
static types() {
|
|
3087
3841
|
return {
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
language: 'string',
|
|
3091
|
-
templateCode: 'string',
|
|
3092
|
-
templateName: 'string',
|
|
3093
|
-
templateType: 'string',
|
|
3842
|
+
data: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
3843
|
+
paging: ListProductCatalogResponseBodyModelPaging,
|
|
3094
3844
|
};
|
|
3095
3845
|
}
|
|
3096
3846
|
}
|
|
3097
|
-
exports.
|
|
3847
|
+
exports.ListProductCatalogResponseBodyModel = ListProductCatalogResponseBodyModel;
|
|
3098
3848
|
class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
3099
3849
|
constructor(map) {
|
|
3100
3850
|
super(map);
|
|
@@ -3435,6 +4185,44 @@ class Client extends openapi_client_1.default {
|
|
|
3435
4185
|
}
|
|
3436
4186
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
3437
4187
|
}
|
|
4188
|
+
async addChatappPhoneNumberWithOptions(request, runtime) {
|
|
4189
|
+
tea_util_1.default.validateModel(request);
|
|
4190
|
+
let body = {};
|
|
4191
|
+
if (!tea_util_1.default.isUnset(request.cc)) {
|
|
4192
|
+
body["Cc"] = request.cc;
|
|
4193
|
+
}
|
|
4194
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
4195
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
4196
|
+
}
|
|
4197
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
4198
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
4199
|
+
}
|
|
4200
|
+
if (!tea_util_1.default.isUnset(request.preValidateId)) {
|
|
4201
|
+
body["PreValidateId"] = request.preValidateId;
|
|
4202
|
+
}
|
|
4203
|
+
if (!tea_util_1.default.isUnset(request.verifiedName)) {
|
|
4204
|
+
body["VerifiedName"] = request.verifiedName;
|
|
4205
|
+
}
|
|
4206
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4207
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
4208
|
+
});
|
|
4209
|
+
let params = new $OpenApi.Params({
|
|
4210
|
+
action: "AddChatappPhoneNumber",
|
|
4211
|
+
version: "2020-06-06",
|
|
4212
|
+
protocol: "HTTPS",
|
|
4213
|
+
pathname: "/",
|
|
4214
|
+
method: "POST",
|
|
4215
|
+
authType: "AK",
|
|
4216
|
+
style: "RPC",
|
|
4217
|
+
reqBodyType: "formData",
|
|
4218
|
+
bodyType: "json",
|
|
4219
|
+
});
|
|
4220
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AddChatappPhoneNumberResponse({}));
|
|
4221
|
+
}
|
|
4222
|
+
async addChatappPhoneNumber(request) {
|
|
4223
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4224
|
+
return await this.addChatappPhoneNumberWithOptions(request, runtime);
|
|
4225
|
+
}
|
|
3438
4226
|
/**
|
|
3439
4227
|
* You can call this operation up to 100 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.
|
|
3440
4228
|
*
|
|
@@ -3739,6 +4527,35 @@ class Client extends openapi_client_1.default {
|
|
|
3739
4527
|
let runtime = new $Util.RuntimeOptions({});
|
|
3740
4528
|
return await this.chatappMigrationVerifiedWithOptions(request, runtime);
|
|
3741
4529
|
}
|
|
4530
|
+
async chatappPhoneNumberDeregisterWithOptions(request, runtime) {
|
|
4531
|
+
tea_util_1.default.validateModel(request);
|
|
4532
|
+
let body = {};
|
|
4533
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
4534
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
4535
|
+
}
|
|
4536
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
4537
|
+
body["PhoneNumber"] = request.phoneNumber;
|
|
4538
|
+
}
|
|
4539
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4540
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
4541
|
+
});
|
|
4542
|
+
let params = new $OpenApi.Params({
|
|
4543
|
+
action: "ChatappPhoneNumberDeregister",
|
|
4544
|
+
version: "2020-06-06",
|
|
4545
|
+
protocol: "HTTPS",
|
|
4546
|
+
pathname: "/",
|
|
4547
|
+
method: "POST",
|
|
4548
|
+
authType: "AK",
|
|
4549
|
+
style: "RPC",
|
|
4550
|
+
reqBodyType: "formData",
|
|
4551
|
+
bodyType: "json",
|
|
4552
|
+
});
|
|
4553
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ChatappPhoneNumberDeregisterResponse({}));
|
|
4554
|
+
}
|
|
4555
|
+
async chatappPhoneNumberDeregister(request) {
|
|
4556
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4557
|
+
return await this.chatappPhoneNumberDeregisterWithOptions(request, runtime);
|
|
4558
|
+
}
|
|
3742
4559
|
/**
|
|
3743
4560
|
* 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.
|
|
3744
4561
|
*
|
|
@@ -4037,8 +4854,79 @@ class Client extends openapi_client_1.default {
|
|
|
4037
4854
|
let runtime = new $Util.RuntimeOptions({});
|
|
4038
4855
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
4039
4856
|
}
|
|
4857
|
+
async enableWhatsappROIMetricWithOptions(request, runtime) {
|
|
4858
|
+
tea_util_1.default.validateModel(request);
|
|
4859
|
+
let query = {};
|
|
4860
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
4861
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4862
|
+
}
|
|
4863
|
+
if (!tea_util_1.default.isUnset(request.isvCode)) {
|
|
4864
|
+
query["IsvCode"] = request.isvCode;
|
|
4865
|
+
}
|
|
4866
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4867
|
+
query: openapi_util_1.default.query(query),
|
|
4868
|
+
});
|
|
4869
|
+
let params = new $OpenApi.Params({
|
|
4870
|
+
action: "EnableWhatsappROIMetric",
|
|
4871
|
+
version: "2020-06-06",
|
|
4872
|
+
protocol: "HTTPS",
|
|
4873
|
+
pathname: "/",
|
|
4874
|
+
method: "POST",
|
|
4875
|
+
authType: "AK",
|
|
4876
|
+
style: "RPC",
|
|
4877
|
+
reqBodyType: "formData",
|
|
4878
|
+
bodyType: "json",
|
|
4879
|
+
});
|
|
4880
|
+
return $tea.cast(await this.callApi(params, req, runtime), new EnableWhatsappROIMetricResponse({}));
|
|
4881
|
+
}
|
|
4882
|
+
async enableWhatsappROIMetric(request) {
|
|
4883
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4884
|
+
return await this.enableWhatsappROIMetricWithOptions(request, runtime);
|
|
4885
|
+
}
|
|
4886
|
+
async getChatappPhoneNumberMetricWithOptions(request, runtime) {
|
|
4887
|
+
tea_util_1.default.validateModel(request);
|
|
4888
|
+
let query = {};
|
|
4889
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
4890
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4891
|
+
}
|
|
4892
|
+
if (!tea_util_1.default.isUnset(request.end)) {
|
|
4893
|
+
query["End"] = request.end;
|
|
4894
|
+
}
|
|
4895
|
+
if (!tea_util_1.default.isUnset(request.granularity)) {
|
|
4896
|
+
query["Granularity"] = request.granularity;
|
|
4897
|
+
}
|
|
4898
|
+
if (!tea_util_1.default.isUnset(request.isvCode)) {
|
|
4899
|
+
query["IsvCode"] = request.isvCode;
|
|
4900
|
+
}
|
|
4901
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
4902
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
4903
|
+
}
|
|
4904
|
+
if (!tea_util_1.default.isUnset(request.start)) {
|
|
4905
|
+
query["Start"] = request.start;
|
|
4906
|
+
}
|
|
4907
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4908
|
+
query: openapi_util_1.default.query(query),
|
|
4909
|
+
});
|
|
4910
|
+
let params = new $OpenApi.Params({
|
|
4911
|
+
action: "GetChatappPhoneNumberMetric",
|
|
4912
|
+
version: "2020-06-06",
|
|
4913
|
+
protocol: "HTTPS",
|
|
4914
|
+
pathname: "/",
|
|
4915
|
+
method: "POST",
|
|
4916
|
+
authType: "AK",
|
|
4917
|
+
style: "RPC",
|
|
4918
|
+
reqBodyType: "formData",
|
|
4919
|
+
bodyType: "json",
|
|
4920
|
+
});
|
|
4921
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappPhoneNumberMetricResponse({}));
|
|
4922
|
+
}
|
|
4923
|
+
async getChatappPhoneNumberMetric(request) {
|
|
4924
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4925
|
+
return await this.getChatappPhoneNumberMetricWithOptions(request, runtime);
|
|
4926
|
+
}
|
|
4040
4927
|
/**
|
|
4041
|
-
*
|
|
4928
|
+
* ### QPS limit
|
|
4929
|
+
* You can call this API operation up to five 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.
|
|
4042
4930
|
*
|
|
4043
4931
|
* @param request GetChatappTemplateDetailRequest
|
|
4044
4932
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4082,7 +4970,8 @@ class Client extends openapi_client_1.default {
|
|
|
4082
4970
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateDetailResponse({}));
|
|
4083
4971
|
}
|
|
4084
4972
|
/**
|
|
4085
|
-
*
|
|
4973
|
+
* ### QPS limit
|
|
4974
|
+
* You can call this API operation up to five 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.
|
|
4086
4975
|
*
|
|
4087
4976
|
* @param request GetChatappTemplateDetailRequest
|
|
4088
4977
|
* @return GetChatappTemplateDetailResponse
|
|
@@ -4091,6 +4980,53 @@ class Client extends openapi_client_1.default {
|
|
|
4091
4980
|
let runtime = new $Util.RuntimeOptions({});
|
|
4092
4981
|
return await this.getChatappTemplateDetailWithOptions(request, runtime);
|
|
4093
4982
|
}
|
|
4983
|
+
async getChatappTemplateMetricWithOptions(request, runtime) {
|
|
4984
|
+
tea_util_1.default.validateModel(request);
|
|
4985
|
+
let query = {};
|
|
4986
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
4987
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4988
|
+
}
|
|
4989
|
+
if (!tea_util_1.default.isUnset(request.end)) {
|
|
4990
|
+
query["End"] = request.end;
|
|
4991
|
+
}
|
|
4992
|
+
if (!tea_util_1.default.isUnset(request.granularity)) {
|
|
4993
|
+
query["Granularity"] = request.granularity;
|
|
4994
|
+
}
|
|
4995
|
+
if (!tea_util_1.default.isUnset(request.isvCode)) {
|
|
4996
|
+
query["IsvCode"] = request.isvCode;
|
|
4997
|
+
}
|
|
4998
|
+
if (!tea_util_1.default.isUnset(request.language)) {
|
|
4999
|
+
query["Language"] = request.language;
|
|
5000
|
+
}
|
|
5001
|
+
if (!tea_util_1.default.isUnset(request.start)) {
|
|
5002
|
+
query["Start"] = request.start;
|
|
5003
|
+
}
|
|
5004
|
+
if (!tea_util_1.default.isUnset(request.templateCode)) {
|
|
5005
|
+
query["TemplateCode"] = request.templateCode;
|
|
5006
|
+
}
|
|
5007
|
+
if (!tea_util_1.default.isUnset(request.templateType)) {
|
|
5008
|
+
query["TemplateType"] = request.templateType;
|
|
5009
|
+
}
|
|
5010
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5011
|
+
query: openapi_util_1.default.query(query),
|
|
5012
|
+
});
|
|
5013
|
+
let params = new $OpenApi.Params({
|
|
5014
|
+
action: "GetChatappTemplateMetric",
|
|
5015
|
+
version: "2020-06-06",
|
|
5016
|
+
protocol: "HTTPS",
|
|
5017
|
+
pathname: "/",
|
|
5018
|
+
method: "POST",
|
|
5019
|
+
authType: "AK",
|
|
5020
|
+
style: "RPC",
|
|
5021
|
+
reqBodyType: "formData",
|
|
5022
|
+
bodyType: "json",
|
|
5023
|
+
});
|
|
5024
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateMetricResponse({}));
|
|
5025
|
+
}
|
|
5026
|
+
async getChatappTemplateMetric(request) {
|
|
5027
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5028
|
+
return await this.getChatappTemplateMetricWithOptions(request, runtime);
|
|
5029
|
+
}
|
|
4094
5030
|
/**
|
|
4095
5031
|
* You can call this operation up to five 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.
|
|
4096
5032
|
*
|
|
@@ -4297,6 +5233,44 @@ class Client extends openapi_client_1.default {
|
|
|
4297
5233
|
let runtime = new $Util.RuntimeOptions({});
|
|
4298
5234
|
return await this.getPreValidatePhoneIdWithOptions(request, runtime);
|
|
4299
5235
|
}
|
|
5236
|
+
async getWhatsappConnectionCatalogWithOptions(request, runtime) {
|
|
5237
|
+
tea_util_1.default.validateModel(request);
|
|
5238
|
+
let query = {};
|
|
5239
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
5240
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5241
|
+
}
|
|
5242
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
5243
|
+
query["OwnerId"] = request.ownerId;
|
|
5244
|
+
}
|
|
5245
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
5246
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
5247
|
+
}
|
|
5248
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
5249
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5250
|
+
}
|
|
5251
|
+
if (!tea_util_1.default.isUnset(request.wabaId)) {
|
|
5252
|
+
query["WabaId"] = request.wabaId;
|
|
5253
|
+
}
|
|
5254
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5255
|
+
query: openapi_util_1.default.query(query),
|
|
5256
|
+
});
|
|
5257
|
+
let params = new $OpenApi.Params({
|
|
5258
|
+
action: "GetWhatsappConnectionCatalog",
|
|
5259
|
+
version: "2020-06-06",
|
|
5260
|
+
protocol: "HTTPS",
|
|
5261
|
+
pathname: "/",
|
|
5262
|
+
method: "POST",
|
|
5263
|
+
authType: "AK",
|
|
5264
|
+
style: "RPC",
|
|
5265
|
+
reqBodyType: "formData",
|
|
5266
|
+
bodyType: "json",
|
|
5267
|
+
});
|
|
5268
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetWhatsappConnectionCatalogResponse({}));
|
|
5269
|
+
}
|
|
5270
|
+
async getWhatsappConnectionCatalog(request) {
|
|
5271
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5272
|
+
return await this.getWhatsappConnectionCatalogWithOptions(request, runtime);
|
|
5273
|
+
}
|
|
4300
5274
|
/**
|
|
4301
5275
|
* 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.
|
|
4302
5276
|
*
|
|
@@ -4403,6 +5377,109 @@ class Client extends openapi_client_1.default {
|
|
|
4403
5377
|
let runtime = new $Util.RuntimeOptions({});
|
|
4404
5378
|
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
4405
5379
|
}
|
|
5380
|
+
async listProductWithOptions(request, runtime) {
|
|
5381
|
+
tea_util_1.default.validateModel(request);
|
|
5382
|
+
let query = {};
|
|
5383
|
+
if (!tea_util_1.default.isUnset(request.after)) {
|
|
5384
|
+
query["After"] = request.after;
|
|
5385
|
+
}
|
|
5386
|
+
if (!tea_util_1.default.isUnset(request.before)) {
|
|
5387
|
+
query["Before"] = request.before;
|
|
5388
|
+
}
|
|
5389
|
+
if (!tea_util_1.default.isUnset(request.catalogId)) {
|
|
5390
|
+
query["CatalogId"] = request.catalogId;
|
|
5391
|
+
}
|
|
5392
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
5393
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5394
|
+
}
|
|
5395
|
+
if (!tea_util_1.default.isUnset(request.fields)) {
|
|
5396
|
+
query["Fields"] = request.fields;
|
|
5397
|
+
}
|
|
5398
|
+
if (!tea_util_1.default.isUnset(request.limit)) {
|
|
5399
|
+
query["Limit"] = request.limit;
|
|
5400
|
+
}
|
|
5401
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
5402
|
+
query["OwnerId"] = request.ownerId;
|
|
5403
|
+
}
|
|
5404
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
5405
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
5406
|
+
}
|
|
5407
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
5408
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5409
|
+
}
|
|
5410
|
+
if (!tea_util_1.default.isUnset(request.wabaId)) {
|
|
5411
|
+
query["WabaId"] = request.wabaId;
|
|
5412
|
+
}
|
|
5413
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5414
|
+
query: openapi_util_1.default.query(query),
|
|
5415
|
+
});
|
|
5416
|
+
let params = new $OpenApi.Params({
|
|
5417
|
+
action: "ListProduct",
|
|
5418
|
+
version: "2020-06-06",
|
|
5419
|
+
protocol: "HTTPS",
|
|
5420
|
+
pathname: "/",
|
|
5421
|
+
method: "POST",
|
|
5422
|
+
authType: "AK",
|
|
5423
|
+
style: "RPC",
|
|
5424
|
+
reqBodyType: "formData",
|
|
5425
|
+
bodyType: "json",
|
|
5426
|
+
});
|
|
5427
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListProductResponse({}));
|
|
5428
|
+
}
|
|
5429
|
+
async listProduct(request) {
|
|
5430
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5431
|
+
return await this.listProductWithOptions(request, runtime);
|
|
5432
|
+
}
|
|
5433
|
+
async listProductCatalogWithOptions(request, runtime) {
|
|
5434
|
+
tea_util_1.default.validateModel(request);
|
|
5435
|
+
let query = {};
|
|
5436
|
+
if (!tea_util_1.default.isUnset(request.after)) {
|
|
5437
|
+
query["After"] = request.after;
|
|
5438
|
+
}
|
|
5439
|
+
if (!tea_util_1.default.isUnset(request.before)) {
|
|
5440
|
+
query["Before"] = request.before;
|
|
5441
|
+
}
|
|
5442
|
+
if (!tea_util_1.default.isUnset(request.businessId)) {
|
|
5443
|
+
query["BusinessId"] = request.businessId;
|
|
5444
|
+
}
|
|
5445
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
5446
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5447
|
+
}
|
|
5448
|
+
if (!tea_util_1.default.isUnset(request.fields)) {
|
|
5449
|
+
query["Fields"] = request.fields;
|
|
5450
|
+
}
|
|
5451
|
+
if (!tea_util_1.default.isUnset(request.limit)) {
|
|
5452
|
+
query["Limit"] = request.limit;
|
|
5453
|
+
}
|
|
5454
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
5455
|
+
query["OwnerId"] = request.ownerId;
|
|
5456
|
+
}
|
|
5457
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
5458
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
5459
|
+
}
|
|
5460
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
5461
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5462
|
+
}
|
|
5463
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5464
|
+
query: openapi_util_1.default.query(query),
|
|
5465
|
+
});
|
|
5466
|
+
let params = new $OpenApi.Params({
|
|
5467
|
+
action: "ListProductCatalog",
|
|
5468
|
+
version: "2020-06-06",
|
|
5469
|
+
protocol: "HTTPS",
|
|
5470
|
+
pathname: "/",
|
|
5471
|
+
method: "POST",
|
|
5472
|
+
authType: "AK",
|
|
5473
|
+
style: "RPC",
|
|
5474
|
+
reqBodyType: "formData",
|
|
5475
|
+
bodyType: "json",
|
|
5476
|
+
});
|
|
5477
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListProductCatalogResponse({}));
|
|
5478
|
+
}
|
|
5479
|
+
async listProductCatalog(request) {
|
|
5480
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5481
|
+
return await this.listProductCatalogWithOptions(request, runtime);
|
|
5482
|
+
}
|
|
4406
5483
|
/**
|
|
4407
5484
|
* The name of the message template.
|
|
4408
5485
|
*
|
|
@@ -4744,6 +5821,9 @@ class Client extends openapi_client_1.default {
|
|
|
4744
5821
|
if (!tea_util_1.default.isUnset(request.fallBackId)) {
|
|
4745
5822
|
body["FallBackId"] = request.fallBackId;
|
|
4746
5823
|
}
|
|
5824
|
+
if (!tea_util_1.default.isUnset(request.fallBackRule)) {
|
|
5825
|
+
body["FallBackRule"] = request.fallBackRule;
|
|
5826
|
+
}
|
|
4747
5827
|
if (!tea_util_1.default.isUnset(request.from)) {
|
|
4748
5828
|
body["From"] = request.from;
|
|
4749
5829
|
}
|
|
@@ -4847,6 +5927,9 @@ class Client extends openapi_client_1.default {
|
|
|
4847
5927
|
if (!tea_util_1.default.isUnset(request.fallBackId)) {
|
|
4848
5928
|
body["FallBackId"] = request.fallBackId;
|
|
4849
5929
|
}
|
|
5930
|
+
if (!tea_util_1.default.isUnset(request.fallBackRule)) {
|
|
5931
|
+
body["FallBackRule"] = request.fallBackRule;
|
|
5932
|
+
}
|
|
4850
5933
|
if (!tea_util_1.default.isUnset(request.from)) {
|
|
4851
5934
|
body["From"] = request.from;
|
|
4852
5935
|
}
|