@alicloud/cams20200606 1.0.18 → 1.0.20
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 +292 -16
- package/dist/client.js +501 -21
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +625 -21
package/dist/client.js
CHANGED
|
@@ -711,6 +711,7 @@ class CreateChatappTemplateRequest extends $tea.Model {
|
|
|
711
711
|
}
|
|
712
712
|
static names() {
|
|
713
713
|
return {
|
|
714
|
+
allowCategoryChange: 'AllowCategoryChange',
|
|
714
715
|
category: 'Category',
|
|
715
716
|
components: 'Components',
|
|
716
717
|
custSpaceId: 'CustSpaceId',
|
|
@@ -724,6 +725,7 @@ class CreateChatappTemplateRequest extends $tea.Model {
|
|
|
724
725
|
}
|
|
725
726
|
static types() {
|
|
726
727
|
return {
|
|
728
|
+
allowCategoryChange: 'boolean',
|
|
727
729
|
category: 'string',
|
|
728
730
|
components: { 'type': 'array', 'itemType': CreateChatappTemplateRequestComponents },
|
|
729
731
|
custSpaceId: 'string',
|
|
@@ -743,6 +745,7 @@ class CreateChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
743
745
|
}
|
|
744
746
|
static names() {
|
|
745
747
|
return {
|
|
748
|
+
allowCategoryChange: 'AllowCategoryChange',
|
|
746
749
|
category: 'Category',
|
|
747
750
|
componentsShrink: 'Components',
|
|
748
751
|
custSpaceId: 'CustSpaceId',
|
|
@@ -756,6 +759,7 @@ class CreateChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
756
759
|
}
|
|
757
760
|
static types() {
|
|
758
761
|
return {
|
|
762
|
+
allowCategoryChange: 'boolean',
|
|
759
763
|
category: 'string',
|
|
760
764
|
componentsShrink: 'string',
|
|
761
765
|
custSpaceId: 'string',
|
|
@@ -873,6 +877,74 @@ class DeleteChatappTemplateResponse extends $tea.Model {
|
|
|
873
877
|
}
|
|
874
878
|
}
|
|
875
879
|
exports.DeleteChatappTemplateResponse = DeleteChatappTemplateResponse;
|
|
880
|
+
class GetChatappTemplateDetailRequest extends $tea.Model {
|
|
881
|
+
constructor(map) {
|
|
882
|
+
super(map);
|
|
883
|
+
}
|
|
884
|
+
static names() {
|
|
885
|
+
return {
|
|
886
|
+
custSpaceId: 'CustSpaceId',
|
|
887
|
+
custWabaId: 'CustWabaId',
|
|
888
|
+
isvCode: 'IsvCode',
|
|
889
|
+
language: 'Language',
|
|
890
|
+
templateCode: 'TemplateCode',
|
|
891
|
+
templateType: 'TemplateType',
|
|
892
|
+
};
|
|
893
|
+
}
|
|
894
|
+
static types() {
|
|
895
|
+
return {
|
|
896
|
+
custSpaceId: 'string',
|
|
897
|
+
custWabaId: 'string',
|
|
898
|
+
isvCode: 'string',
|
|
899
|
+
language: 'string',
|
|
900
|
+
templateCode: 'string',
|
|
901
|
+
templateType: 'string',
|
|
902
|
+
};
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
exports.GetChatappTemplateDetailRequest = GetChatappTemplateDetailRequest;
|
|
906
|
+
class GetChatappTemplateDetailResponseBody extends $tea.Model {
|
|
907
|
+
constructor(map) {
|
|
908
|
+
super(map);
|
|
909
|
+
}
|
|
910
|
+
static names() {
|
|
911
|
+
return {
|
|
912
|
+
code: 'Code',
|
|
913
|
+
data: 'Data',
|
|
914
|
+
message: 'Message',
|
|
915
|
+
requestId: 'RequestId',
|
|
916
|
+
};
|
|
917
|
+
}
|
|
918
|
+
static types() {
|
|
919
|
+
return {
|
|
920
|
+
code: 'string',
|
|
921
|
+
data: GetChatappTemplateDetailResponseBodyData,
|
|
922
|
+
message: 'string',
|
|
923
|
+
requestId: 'string',
|
|
924
|
+
};
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
exports.GetChatappTemplateDetailResponseBody = GetChatappTemplateDetailResponseBody;
|
|
928
|
+
class GetChatappTemplateDetailResponse extends $tea.Model {
|
|
929
|
+
constructor(map) {
|
|
930
|
+
super(map);
|
|
931
|
+
}
|
|
932
|
+
static names() {
|
|
933
|
+
return {
|
|
934
|
+
headers: 'headers',
|
|
935
|
+
statusCode: 'statusCode',
|
|
936
|
+
body: 'body',
|
|
937
|
+
};
|
|
938
|
+
}
|
|
939
|
+
static types() {
|
|
940
|
+
return {
|
|
941
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
942
|
+
statusCode: 'number',
|
|
943
|
+
body: GetChatappTemplateDetailResponseBody,
|
|
944
|
+
};
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
exports.GetChatappTemplateDetailResponse = GetChatappTemplateDetailResponse;
|
|
876
948
|
class GetChatappUploadAuthorizationRequest extends $tea.Model {
|
|
877
949
|
constructor(map) {
|
|
878
950
|
super(map);
|
|
@@ -1175,6 +1247,110 @@ class IsvGetAppIdResponse extends $tea.Model {
|
|
|
1175
1247
|
}
|
|
1176
1248
|
}
|
|
1177
1249
|
exports.IsvGetAppIdResponse = IsvGetAppIdResponse;
|
|
1250
|
+
class ListChatappTemplateRequest extends $tea.Model {
|
|
1251
|
+
constructor(map) {
|
|
1252
|
+
super(map);
|
|
1253
|
+
}
|
|
1254
|
+
static names() {
|
|
1255
|
+
return {
|
|
1256
|
+
auditStatus: 'AuditStatus',
|
|
1257
|
+
custSpaceId: 'CustSpaceId',
|
|
1258
|
+
custWabaId: 'CustWabaId',
|
|
1259
|
+
isvCode: 'IsvCode',
|
|
1260
|
+
language: 'Language',
|
|
1261
|
+
name: 'Name',
|
|
1262
|
+
page: 'Page',
|
|
1263
|
+
templateType: 'TemplateType',
|
|
1264
|
+
};
|
|
1265
|
+
}
|
|
1266
|
+
static types() {
|
|
1267
|
+
return {
|
|
1268
|
+
auditStatus: 'string',
|
|
1269
|
+
custSpaceId: 'string',
|
|
1270
|
+
custWabaId: 'string',
|
|
1271
|
+
isvCode: 'string',
|
|
1272
|
+
language: 'string',
|
|
1273
|
+
name: 'string',
|
|
1274
|
+
page: ListChatappTemplateRequestPage,
|
|
1275
|
+
templateType: 'string',
|
|
1276
|
+
};
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
exports.ListChatappTemplateRequest = ListChatappTemplateRequest;
|
|
1280
|
+
class ListChatappTemplateShrinkRequest extends $tea.Model {
|
|
1281
|
+
constructor(map) {
|
|
1282
|
+
super(map);
|
|
1283
|
+
}
|
|
1284
|
+
static names() {
|
|
1285
|
+
return {
|
|
1286
|
+
auditStatus: 'AuditStatus',
|
|
1287
|
+
custSpaceId: 'CustSpaceId',
|
|
1288
|
+
custWabaId: 'CustWabaId',
|
|
1289
|
+
isvCode: 'IsvCode',
|
|
1290
|
+
language: 'Language',
|
|
1291
|
+
name: 'Name',
|
|
1292
|
+
pageShrink: 'Page',
|
|
1293
|
+
templateType: 'TemplateType',
|
|
1294
|
+
};
|
|
1295
|
+
}
|
|
1296
|
+
static types() {
|
|
1297
|
+
return {
|
|
1298
|
+
auditStatus: 'string',
|
|
1299
|
+
custSpaceId: 'string',
|
|
1300
|
+
custWabaId: 'string',
|
|
1301
|
+
isvCode: 'string',
|
|
1302
|
+
language: 'string',
|
|
1303
|
+
name: 'string',
|
|
1304
|
+
pageShrink: 'string',
|
|
1305
|
+
templateType: 'string',
|
|
1306
|
+
};
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
exports.ListChatappTemplateShrinkRequest = ListChatappTemplateShrinkRequest;
|
|
1310
|
+
class ListChatappTemplateResponseBody extends $tea.Model {
|
|
1311
|
+
constructor(map) {
|
|
1312
|
+
super(map);
|
|
1313
|
+
}
|
|
1314
|
+
static names() {
|
|
1315
|
+
return {
|
|
1316
|
+
code: 'Code',
|
|
1317
|
+
listTemplate: 'ListTemplate',
|
|
1318
|
+
message: 'Message',
|
|
1319
|
+
requestId: 'RequestId',
|
|
1320
|
+
total: 'Total',
|
|
1321
|
+
};
|
|
1322
|
+
}
|
|
1323
|
+
static types() {
|
|
1324
|
+
return {
|
|
1325
|
+
code: 'string',
|
|
1326
|
+
listTemplate: { 'type': 'array', 'itemType': ListChatappTemplateResponseBodyListTemplate },
|
|
1327
|
+
message: 'string',
|
|
1328
|
+
requestId: 'string',
|
|
1329
|
+
total: 'number',
|
|
1330
|
+
};
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
exports.ListChatappTemplateResponseBody = ListChatappTemplateResponseBody;
|
|
1334
|
+
class ListChatappTemplateResponse extends $tea.Model {
|
|
1335
|
+
constructor(map) {
|
|
1336
|
+
super(map);
|
|
1337
|
+
}
|
|
1338
|
+
static names() {
|
|
1339
|
+
return {
|
|
1340
|
+
headers: 'headers',
|
|
1341
|
+
statusCode: 'statusCode',
|
|
1342
|
+
body: 'body',
|
|
1343
|
+
};
|
|
1344
|
+
}
|
|
1345
|
+
static types() {
|
|
1346
|
+
return {
|
|
1347
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1348
|
+
statusCode: 'number',
|
|
1349
|
+
body: ListChatappTemplateResponseBody,
|
|
1350
|
+
};
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
exports.ListChatappTemplateResponse = ListChatappTemplateResponse;
|
|
1178
1354
|
class ModifyChatappTemplateRequest extends $tea.Model {
|
|
1179
1355
|
constructor(map) {
|
|
1180
1356
|
super(map);
|
|
@@ -1631,6 +1807,7 @@ class SendChatappMassMessageRequest extends $tea.Model {
|
|
|
1631
1807
|
custSpaceId: 'CustSpaceId',
|
|
1632
1808
|
custWabaId: 'CustWabaId',
|
|
1633
1809
|
fallBackContent: 'FallBackContent',
|
|
1810
|
+
fallBackDuration: 'FallBackDuration',
|
|
1634
1811
|
fallBackId: 'FallBackId',
|
|
1635
1812
|
from: 'From',
|
|
1636
1813
|
isvCode: 'IsvCode',
|
|
@@ -1649,6 +1826,7 @@ class SendChatappMassMessageRequest extends $tea.Model {
|
|
|
1649
1826
|
custSpaceId: 'string',
|
|
1650
1827
|
custWabaId: 'string',
|
|
1651
1828
|
fallBackContent: 'string',
|
|
1829
|
+
fallBackDuration: 'number',
|
|
1652
1830
|
fallBackId: 'string',
|
|
1653
1831
|
from: 'string',
|
|
1654
1832
|
isvCode: 'string',
|
|
@@ -1673,6 +1851,7 @@ class SendChatappMassMessageShrinkRequest extends $tea.Model {
|
|
|
1673
1851
|
custSpaceId: 'CustSpaceId',
|
|
1674
1852
|
custWabaId: 'CustWabaId',
|
|
1675
1853
|
fallBackContent: 'FallBackContent',
|
|
1854
|
+
fallBackDuration: 'FallBackDuration',
|
|
1676
1855
|
fallBackId: 'FallBackId',
|
|
1677
1856
|
from: 'From',
|
|
1678
1857
|
isvCode: 'IsvCode',
|
|
@@ -1691,6 +1870,7 @@ class SendChatappMassMessageShrinkRequest extends $tea.Model {
|
|
|
1691
1870
|
custSpaceId: 'string',
|
|
1692
1871
|
custWabaId: 'string',
|
|
1693
1872
|
fallBackContent: 'string',
|
|
1873
|
+
fallBackDuration: 'number',
|
|
1694
1874
|
fallBackId: 'string',
|
|
1695
1875
|
from: 'string',
|
|
1696
1876
|
isvCode: 'string',
|
|
@@ -1759,6 +1939,7 @@ class SendChatappMessageRequest extends $tea.Model {
|
|
|
1759
1939
|
custSpaceId: 'CustSpaceId',
|
|
1760
1940
|
custWabaId: 'CustWabaId',
|
|
1761
1941
|
fallBackContent: 'FallBackContent',
|
|
1942
|
+
fallBackDuration: 'FallBackDuration',
|
|
1762
1943
|
fallBackId: 'FallBackId',
|
|
1763
1944
|
from: 'From',
|
|
1764
1945
|
isvCode: 'IsvCode',
|
|
@@ -1784,6 +1965,7 @@ class SendChatappMessageRequest extends $tea.Model {
|
|
|
1784
1965
|
custSpaceId: 'string',
|
|
1785
1966
|
custWabaId: 'string',
|
|
1786
1967
|
fallBackContent: 'string',
|
|
1968
|
+
fallBackDuration: 'number',
|
|
1787
1969
|
fallBackId: 'string',
|
|
1788
1970
|
from: 'string',
|
|
1789
1971
|
isvCode: 'string',
|
|
@@ -1815,6 +1997,7 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
1815
1997
|
custSpaceId: 'CustSpaceId',
|
|
1816
1998
|
custWabaId: 'CustWabaId',
|
|
1817
1999
|
fallBackContent: 'FallBackContent',
|
|
2000
|
+
fallBackDuration: 'FallBackDuration',
|
|
1818
2001
|
fallBackId: 'FallBackId',
|
|
1819
2002
|
from: 'From',
|
|
1820
2003
|
isvCode: 'IsvCode',
|
|
@@ -1840,6 +2023,7 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
1840
2023
|
custSpaceId: 'string',
|
|
1841
2024
|
custWabaId: 'string',
|
|
1842
2025
|
fallBackContent: 'string',
|
|
2026
|
+
fallBackDuration: 'number',
|
|
1843
2027
|
fallBackId: 'string',
|
|
1844
2028
|
from: 'string',
|
|
1845
2029
|
isvCode: 'string',
|
|
@@ -2505,6 +2689,102 @@ class CreateChatappTemplateResponseBodyData extends $tea.Model {
|
|
|
2505
2689
|
}
|
|
2506
2690
|
}
|
|
2507
2691
|
exports.CreateChatappTemplateResponseBodyData = CreateChatappTemplateResponseBodyData;
|
|
2692
|
+
class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Model {
|
|
2693
|
+
constructor(map) {
|
|
2694
|
+
super(map);
|
|
2695
|
+
}
|
|
2696
|
+
static names() {
|
|
2697
|
+
return {
|
|
2698
|
+
phoneNumber: 'PhoneNumber',
|
|
2699
|
+
text: 'Text',
|
|
2700
|
+
type: 'Type',
|
|
2701
|
+
url: 'Url',
|
|
2702
|
+
urlType: 'UrlType',
|
|
2703
|
+
};
|
|
2704
|
+
}
|
|
2705
|
+
static types() {
|
|
2706
|
+
return {
|
|
2707
|
+
phoneNumber: 'string',
|
|
2708
|
+
text: 'string',
|
|
2709
|
+
type: 'string',
|
|
2710
|
+
url: 'string',
|
|
2711
|
+
urlType: 'string',
|
|
2712
|
+
};
|
|
2713
|
+
}
|
|
2714
|
+
}
|
|
2715
|
+
exports.GetChatappTemplateDetailResponseBodyDataComponentsButtons = GetChatappTemplateDetailResponseBodyDataComponentsButtons;
|
|
2716
|
+
class GetChatappTemplateDetailResponseBodyDataComponents extends $tea.Model {
|
|
2717
|
+
constructor(map) {
|
|
2718
|
+
super(map);
|
|
2719
|
+
}
|
|
2720
|
+
static names() {
|
|
2721
|
+
return {
|
|
2722
|
+
buttons: 'Buttons',
|
|
2723
|
+
caption: 'Caption',
|
|
2724
|
+
duration: 'Duration',
|
|
2725
|
+
fileName: 'FileName',
|
|
2726
|
+
fileType: 'FileType',
|
|
2727
|
+
format: 'Format',
|
|
2728
|
+
latitude: 'Latitude',
|
|
2729
|
+
locationAddress: 'LocationAddress',
|
|
2730
|
+
locationName: 'LocationName',
|
|
2731
|
+
longitude: 'Longitude',
|
|
2732
|
+
text: 'Text',
|
|
2733
|
+
thumbUrl: 'ThumbUrl',
|
|
2734
|
+
type: 'Type',
|
|
2735
|
+
url: 'Url',
|
|
2736
|
+
};
|
|
2737
|
+
}
|
|
2738
|
+
static types() {
|
|
2739
|
+
return {
|
|
2740
|
+
buttons: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponentsButtons },
|
|
2741
|
+
caption: 'string',
|
|
2742
|
+
duration: 'number',
|
|
2743
|
+
fileName: 'string',
|
|
2744
|
+
fileType: 'string',
|
|
2745
|
+
format: 'string',
|
|
2746
|
+
latitude: 'string',
|
|
2747
|
+
locationAddress: 'string',
|
|
2748
|
+
locationName: 'string',
|
|
2749
|
+
longitude: 'string',
|
|
2750
|
+
text: 'string',
|
|
2751
|
+
thumbUrl: 'string',
|
|
2752
|
+
type: 'string',
|
|
2753
|
+
url: 'string',
|
|
2754
|
+
};
|
|
2755
|
+
}
|
|
2756
|
+
}
|
|
2757
|
+
exports.GetChatappTemplateDetailResponseBodyDataComponents = GetChatappTemplateDetailResponseBodyDataComponents;
|
|
2758
|
+
class GetChatappTemplateDetailResponseBodyData extends $tea.Model {
|
|
2759
|
+
constructor(map) {
|
|
2760
|
+
super(map);
|
|
2761
|
+
}
|
|
2762
|
+
static names() {
|
|
2763
|
+
return {
|
|
2764
|
+
auditStatus: 'AuditStatus',
|
|
2765
|
+
category: 'Category',
|
|
2766
|
+
components: 'Components',
|
|
2767
|
+
example: 'Example',
|
|
2768
|
+
language: 'Language',
|
|
2769
|
+
name: 'Name',
|
|
2770
|
+
templateCode: 'TemplateCode',
|
|
2771
|
+
templateType: 'TemplateType',
|
|
2772
|
+
};
|
|
2773
|
+
}
|
|
2774
|
+
static types() {
|
|
2775
|
+
return {
|
|
2776
|
+
auditStatus: 'string',
|
|
2777
|
+
category: 'string',
|
|
2778
|
+
components: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponents },
|
|
2779
|
+
example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2780
|
+
language: 'string',
|
|
2781
|
+
name: 'string',
|
|
2782
|
+
templateCode: 'string',
|
|
2783
|
+
templateType: 'string',
|
|
2784
|
+
};
|
|
2785
|
+
}
|
|
2786
|
+
}
|
|
2787
|
+
exports.GetChatappTemplateDetailResponseBodyData = GetChatappTemplateDetailResponseBodyData;
|
|
2508
2788
|
class GetChatappUploadAuthorizationResponseBodyData extends $tea.Model {
|
|
2509
2789
|
constructor(map) {
|
|
2510
2790
|
super(map);
|
|
@@ -2571,6 +2851,50 @@ class GetPhoneNumberVerificationStatusResponseBodyData extends $tea.Model {
|
|
|
2571
2851
|
}
|
|
2572
2852
|
}
|
|
2573
2853
|
exports.GetPhoneNumberVerificationStatusResponseBodyData = GetPhoneNumberVerificationStatusResponseBodyData;
|
|
2854
|
+
class ListChatappTemplateRequestPage extends $tea.Model {
|
|
2855
|
+
constructor(map) {
|
|
2856
|
+
super(map);
|
|
2857
|
+
}
|
|
2858
|
+
static names() {
|
|
2859
|
+
return {
|
|
2860
|
+
index: 'Index',
|
|
2861
|
+
size: 'Size',
|
|
2862
|
+
};
|
|
2863
|
+
}
|
|
2864
|
+
static types() {
|
|
2865
|
+
return {
|
|
2866
|
+
index: 'number',
|
|
2867
|
+
size: 'number',
|
|
2868
|
+
};
|
|
2869
|
+
}
|
|
2870
|
+
}
|
|
2871
|
+
exports.ListChatappTemplateRequestPage = ListChatappTemplateRequestPage;
|
|
2872
|
+
class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
2873
|
+
constructor(map) {
|
|
2874
|
+
super(map);
|
|
2875
|
+
}
|
|
2876
|
+
static names() {
|
|
2877
|
+
return {
|
|
2878
|
+
auditStatus: 'AuditStatus',
|
|
2879
|
+
category: 'Category',
|
|
2880
|
+
language: 'Language',
|
|
2881
|
+
templateCode: 'TemplateCode',
|
|
2882
|
+
templateName: 'TemplateName',
|
|
2883
|
+
templateType: 'TemplateType',
|
|
2884
|
+
};
|
|
2885
|
+
}
|
|
2886
|
+
static types() {
|
|
2887
|
+
return {
|
|
2888
|
+
auditStatus: 'string',
|
|
2889
|
+
category: 'string',
|
|
2890
|
+
language: 'string',
|
|
2891
|
+
templateCode: 'string',
|
|
2892
|
+
templateName: 'string',
|
|
2893
|
+
templateType: 'string',
|
|
2894
|
+
};
|
|
2895
|
+
}
|
|
2896
|
+
}
|
|
2897
|
+
exports.ListChatappTemplateResponseBodyListTemplate = ListChatappTemplateResponseBodyListTemplate;
|
|
2574
2898
|
class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
2575
2899
|
constructor(map) {
|
|
2576
2900
|
super(map);
|
|
@@ -2794,7 +3118,7 @@ class Client extends openapi_client_1.default {
|
|
|
2794
3118
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
2795
3119
|
}
|
|
2796
3120
|
/**
|
|
2797
|
-
* You can call this operation up to 100 times per second per account. If the number of
|
|
3121
|
+
* 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.
|
|
2798
3122
|
*
|
|
2799
3123
|
* @param tmpReq BeeBotAssociateRequest
|
|
2800
3124
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2846,7 +3170,7 @@ class Client extends openapi_client_1.default {
|
|
|
2846
3170
|
return $tea.cast(await this.callApi(params, req, runtime), new BeeBotAssociateResponse({}));
|
|
2847
3171
|
}
|
|
2848
3172
|
/**
|
|
2849
|
-
* You can call this operation up to 100 times per second per account. If the number of
|
|
3173
|
+
* 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.
|
|
2850
3174
|
*
|
|
2851
3175
|
* @param request BeeBotAssociateRequest
|
|
2852
3176
|
* @return BeeBotAssociateResponse
|
|
@@ -2856,7 +3180,7 @@ class Client extends openapi_client_1.default {
|
|
|
2856
3180
|
return await this.beeBotAssociateWithOptions(request, runtime);
|
|
2857
3181
|
}
|
|
2858
3182
|
/**
|
|
2859
|
-
* You can call this operation up to 100 times per second per account. If the number of
|
|
3183
|
+
* 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.
|
|
2860
3184
|
*
|
|
2861
3185
|
* @param tmpReq BeeBotChatRequest
|
|
2862
3186
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2923,7 +3247,7 @@ class Client extends openapi_client_1.default {
|
|
|
2923
3247
|
return $tea.cast(await this.callApi(params, req, runtime), new BeeBotChatResponse({}));
|
|
2924
3248
|
}
|
|
2925
3249
|
/**
|
|
2926
|
-
* You can call this operation up to 100 times per second per account. If the number of
|
|
3250
|
+
* 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.
|
|
2927
3251
|
*
|
|
2928
3252
|
* @param request BeeBotChatRequest
|
|
2929
3253
|
* @return BeeBotChatResponse
|
|
@@ -3270,7 +3594,7 @@ class Client extends openapi_client_1.default {
|
|
|
3270
3594
|
}
|
|
3271
3595
|
/**
|
|
3272
3596
|
* ### QPS limit
|
|
3273
|
-
* You can call this operation up to
|
|
3597
|
+
* 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.
|
|
3274
3598
|
*
|
|
3275
3599
|
* @param tmpReq CreateChatappTemplateRequest
|
|
3276
3600
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3286,17 +3610,19 @@ class Client extends openapi_client_1.default {
|
|
|
3286
3610
|
if (!tea_util_1.default.isUnset(tmpReq.example)) {
|
|
3287
3611
|
request.exampleShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
|
|
3288
3612
|
}
|
|
3289
|
-
let query = {};
|
|
3290
|
-
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3291
|
-
query["CustSpaceId"] = request.custSpaceId;
|
|
3292
|
-
}
|
|
3293
3613
|
let body = {};
|
|
3614
|
+
if (!tea_util_1.default.isUnset(request.allowCategoryChange)) {
|
|
3615
|
+
body["AllowCategoryChange"] = request.allowCategoryChange;
|
|
3616
|
+
}
|
|
3294
3617
|
if (!tea_util_1.default.isUnset(request.category)) {
|
|
3295
3618
|
body["Category"] = request.category;
|
|
3296
3619
|
}
|
|
3297
3620
|
if (!tea_util_1.default.isUnset(request.componentsShrink)) {
|
|
3298
3621
|
body["Components"] = request.componentsShrink;
|
|
3299
3622
|
}
|
|
3623
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3624
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
3625
|
+
}
|
|
3300
3626
|
if (!tea_util_1.default.isUnset(request.custWabaId)) {
|
|
3301
3627
|
body["CustWabaId"] = request.custWabaId;
|
|
3302
3628
|
}
|
|
@@ -3316,7 +3642,6 @@ class Client extends openapi_client_1.default {
|
|
|
3316
3642
|
body["TemplateType"] = request.templateType;
|
|
3317
3643
|
}
|
|
3318
3644
|
let req = new $OpenApi.OpenApiRequest({
|
|
3319
|
-
query: openapi_util_1.default.query(query),
|
|
3320
3645
|
body: openapi_util_1.default.parseToMap(body),
|
|
3321
3646
|
});
|
|
3322
3647
|
let params = new $OpenApi.Params({
|
|
@@ -3334,7 +3659,7 @@ class Client extends openapi_client_1.default {
|
|
|
3334
3659
|
}
|
|
3335
3660
|
/**
|
|
3336
3661
|
* ### QPS limit
|
|
3337
|
-
* You can call this operation up to
|
|
3662
|
+
* 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.
|
|
3338
3663
|
*
|
|
3339
3664
|
* @param request CreateChatappTemplateRequest
|
|
3340
3665
|
* @return CreateChatappTemplateResponse
|
|
@@ -3345,7 +3670,7 @@ class Client extends openapi_client_1.default {
|
|
|
3345
3670
|
}
|
|
3346
3671
|
/**
|
|
3347
3672
|
* ### QPS limit
|
|
3348
|
-
* 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.
|
|
3673
|
+
* 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.
|
|
3349
3674
|
*
|
|
3350
3675
|
* @param request DeleteChatappTemplateRequest
|
|
3351
3676
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3384,7 +3709,7 @@ class Client extends openapi_client_1.default {
|
|
|
3384
3709
|
}
|
|
3385
3710
|
/**
|
|
3386
3711
|
* ### QPS limit
|
|
3387
|
-
* 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.
|
|
3712
|
+
* 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.
|
|
3388
3713
|
*
|
|
3389
3714
|
* @param request DeleteChatappTemplateRequest
|
|
3390
3715
|
* @return DeleteChatappTemplateResponse
|
|
@@ -3393,6 +3718,69 @@ class Client extends openapi_client_1.default {
|
|
|
3393
3718
|
let runtime = new $Util.RuntimeOptions({});
|
|
3394
3719
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
3395
3720
|
}
|
|
3721
|
+
/**
|
|
3722
|
+
* ### QPS limit
|
|
3723
|
+
* 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.
|
|
3724
|
+
*
|
|
3725
|
+
* @param request GetChatappTemplateDetailRequest
|
|
3726
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3727
|
+
* @return GetChatappTemplateDetailResponse
|
|
3728
|
+
*/
|
|
3729
|
+
async getChatappTemplateDetailWithOptions(request, runtime) {
|
|
3730
|
+
tea_util_1.default.validateModel(request);
|
|
3731
|
+
let query = {};
|
|
3732
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3733
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3734
|
+
}
|
|
3735
|
+
if (!tea_util_1.default.isUnset(request.custWabaId)) {
|
|
3736
|
+
query["CustWabaId"] = request.custWabaId;
|
|
3737
|
+
}
|
|
3738
|
+
if (!tea_util_1.default.isUnset(request.isvCode)) {
|
|
3739
|
+
query["IsvCode"] = request.isvCode;
|
|
3740
|
+
}
|
|
3741
|
+
if (!tea_util_1.default.isUnset(request.language)) {
|
|
3742
|
+
query["Language"] = request.language;
|
|
3743
|
+
}
|
|
3744
|
+
if (!tea_util_1.default.isUnset(request.templateCode)) {
|
|
3745
|
+
query["TemplateCode"] = request.templateCode;
|
|
3746
|
+
}
|
|
3747
|
+
if (!tea_util_1.default.isUnset(request.templateType)) {
|
|
3748
|
+
query["TemplateType"] = request.templateType;
|
|
3749
|
+
}
|
|
3750
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3751
|
+
query: openapi_util_1.default.query(query),
|
|
3752
|
+
});
|
|
3753
|
+
let params = new $OpenApi.Params({
|
|
3754
|
+
action: "GetChatappTemplateDetail",
|
|
3755
|
+
version: "2020-06-06",
|
|
3756
|
+
protocol: "HTTPS",
|
|
3757
|
+
pathname: "/",
|
|
3758
|
+
method: "POST",
|
|
3759
|
+
authType: "AK",
|
|
3760
|
+
style: "RPC",
|
|
3761
|
+
reqBodyType: "formData",
|
|
3762
|
+
bodyType: "json",
|
|
3763
|
+
});
|
|
3764
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateDetailResponse({}));
|
|
3765
|
+
}
|
|
3766
|
+
/**
|
|
3767
|
+
* ### QPS limit
|
|
3768
|
+
* 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.
|
|
3769
|
+
*
|
|
3770
|
+
* @param request GetChatappTemplateDetailRequest
|
|
3771
|
+
* @return GetChatappTemplateDetailResponse
|
|
3772
|
+
*/
|
|
3773
|
+
async getChatappTemplateDetail(request) {
|
|
3774
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3775
|
+
return await this.getChatappTemplateDetailWithOptions(request, runtime);
|
|
3776
|
+
}
|
|
3777
|
+
/**
|
|
3778
|
+
* 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.
|
|
3779
|
+
*
|
|
3780
|
+
* @param request GetChatappUploadAuthorizationRequest
|
|
3781
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3782
|
+
* @return GetChatappUploadAuthorizationResponse
|
|
3783
|
+
*/
|
|
3396
3784
|
async getChatappUploadAuthorizationWithOptions(request, runtime) {
|
|
3397
3785
|
tea_util_1.default.validateModel(request);
|
|
3398
3786
|
let query = {};
|
|
@@ -3415,6 +3803,12 @@ class Client extends openapi_client_1.default {
|
|
|
3415
3803
|
});
|
|
3416
3804
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappUploadAuthorizationResponse({}));
|
|
3417
3805
|
}
|
|
3806
|
+
/**
|
|
3807
|
+
* 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.
|
|
3808
|
+
*
|
|
3809
|
+
* @param request GetChatappUploadAuthorizationRequest
|
|
3810
|
+
* @return GetChatappUploadAuthorizationResponse
|
|
3811
|
+
*/
|
|
3418
3812
|
async getChatappUploadAuthorization(request) {
|
|
3419
3813
|
let runtime = new $Util.RuntimeOptions({});
|
|
3420
3814
|
return await this.getChatappUploadAuthorizationWithOptions(request, runtime);
|
|
@@ -3596,6 +3990,73 @@ class Client extends openapi_client_1.default {
|
|
|
3596
3990
|
let runtime = new $Util.RuntimeOptions({});
|
|
3597
3991
|
return await this.isvGetAppIdWithOptions(request, runtime);
|
|
3598
3992
|
}
|
|
3993
|
+
/**
|
|
3994
|
+
* ### QPS limit
|
|
3995
|
+
* 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.
|
|
3996
|
+
*
|
|
3997
|
+
* @param tmpReq ListChatappTemplateRequest
|
|
3998
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3999
|
+
* @return ListChatappTemplateResponse
|
|
4000
|
+
*/
|
|
4001
|
+
async listChatappTemplateWithOptions(tmpReq, runtime) {
|
|
4002
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
4003
|
+
let request = new ListChatappTemplateShrinkRequest({});
|
|
4004
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
4005
|
+
if (!tea_util_1.default.isUnset(tmpReq.page)) {
|
|
4006
|
+
request.pageShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json");
|
|
4007
|
+
}
|
|
4008
|
+
let query = {};
|
|
4009
|
+
if (!tea_util_1.default.isUnset(request.auditStatus)) {
|
|
4010
|
+
query["AuditStatus"] = request.auditStatus;
|
|
4011
|
+
}
|
|
4012
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
4013
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4014
|
+
}
|
|
4015
|
+
if (!tea_util_1.default.isUnset(request.custWabaId)) {
|
|
4016
|
+
query["CustWabaId"] = request.custWabaId;
|
|
4017
|
+
}
|
|
4018
|
+
if (!tea_util_1.default.isUnset(request.isvCode)) {
|
|
4019
|
+
query["IsvCode"] = request.isvCode;
|
|
4020
|
+
}
|
|
4021
|
+
if (!tea_util_1.default.isUnset(request.language)) {
|
|
4022
|
+
query["Language"] = request.language;
|
|
4023
|
+
}
|
|
4024
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
4025
|
+
query["Name"] = request.name;
|
|
4026
|
+
}
|
|
4027
|
+
if (!tea_util_1.default.isUnset(request.pageShrink)) {
|
|
4028
|
+
query["Page"] = request.pageShrink;
|
|
4029
|
+
}
|
|
4030
|
+
if (!tea_util_1.default.isUnset(request.templateType)) {
|
|
4031
|
+
query["TemplateType"] = request.templateType;
|
|
4032
|
+
}
|
|
4033
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4034
|
+
query: openapi_util_1.default.query(query),
|
|
4035
|
+
});
|
|
4036
|
+
let params = new $OpenApi.Params({
|
|
4037
|
+
action: "ListChatappTemplate",
|
|
4038
|
+
version: "2020-06-06",
|
|
4039
|
+
protocol: "HTTPS",
|
|
4040
|
+
pathname: "/",
|
|
4041
|
+
method: "POST",
|
|
4042
|
+
authType: "AK",
|
|
4043
|
+
style: "RPC",
|
|
4044
|
+
reqBodyType: "formData",
|
|
4045
|
+
bodyType: "json",
|
|
4046
|
+
});
|
|
4047
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListChatappTemplateResponse({}));
|
|
4048
|
+
}
|
|
4049
|
+
/**
|
|
4050
|
+
* ### QPS limit
|
|
4051
|
+
* 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.
|
|
4052
|
+
*
|
|
4053
|
+
* @param request ListChatappTemplateRequest
|
|
4054
|
+
* @return ListChatappTemplateResponse
|
|
4055
|
+
*/
|
|
4056
|
+
async listChatappTemplate(request) {
|
|
4057
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4058
|
+
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
4059
|
+
}
|
|
3599
4060
|
/**
|
|
3600
4061
|
* ### QPS limit
|
|
3601
4062
|
* 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.
|
|
@@ -3735,7 +4196,7 @@ class Client extends openapi_client_1.default {
|
|
|
3735
4196
|
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
3736
4197
|
}
|
|
3737
4198
|
/**
|
|
3738
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
4199
|
+
* 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.
|
|
3739
4200
|
*
|
|
3740
4201
|
* @param request QueryChatappBindWabaRequest
|
|
3741
4202
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3767,7 +4228,7 @@ class Client extends openapi_client_1.default {
|
|
|
3767
4228
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappBindWabaResponse({}));
|
|
3768
4229
|
}
|
|
3769
4230
|
/**
|
|
3770
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
4231
|
+
* 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.
|
|
3771
4232
|
*
|
|
3772
4233
|
* @param request QueryChatappBindWabaRequest
|
|
3773
4234
|
* @return QueryChatappBindWabaResponse
|
|
@@ -3777,7 +4238,7 @@ class Client extends openapi_client_1.default {
|
|
|
3777
4238
|
return await this.queryChatappBindWabaWithOptions(request, runtime);
|
|
3778
4239
|
}
|
|
3779
4240
|
/**
|
|
3780
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
4241
|
+
* 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.
|
|
3781
4242
|
*
|
|
3782
4243
|
* @param request QueryChatappPhoneNumbersRequest
|
|
3783
4244
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3809,7 +4270,7 @@ class Client extends openapi_client_1.default {
|
|
|
3809
4270
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappPhoneNumbersResponse({}));
|
|
3810
4271
|
}
|
|
3811
4272
|
/**
|
|
3812
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
4273
|
+
* 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.
|
|
3813
4274
|
*
|
|
3814
4275
|
* @param request QueryChatappPhoneNumbersRequest
|
|
3815
4276
|
* @return QueryChatappPhoneNumbersResponse
|
|
@@ -3903,7 +4364,7 @@ class Client extends openapi_client_1.default {
|
|
|
3903
4364
|
return await this.queryWabaBusinessInfoWithOptions(request, runtime);
|
|
3904
4365
|
}
|
|
3905
4366
|
/**
|
|
3906
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
4367
|
+
* 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.
|
|
3907
4368
|
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
3908
4369
|
*
|
|
3909
4370
|
* @param tmpReq SendChatappMassMessageRequest
|
|
@@ -3930,6 +4391,9 @@ class Client extends openapi_client_1.default {
|
|
|
3930
4391
|
if (!tea_util_1.default.isUnset(request.fallBackContent)) {
|
|
3931
4392
|
body["FallBackContent"] = request.fallBackContent;
|
|
3932
4393
|
}
|
|
4394
|
+
if (!tea_util_1.default.isUnset(request.fallBackDuration)) {
|
|
4395
|
+
body["FallBackDuration"] = request.fallBackDuration;
|
|
4396
|
+
}
|
|
3933
4397
|
if (!tea_util_1.default.isUnset(request.fallBackId)) {
|
|
3934
4398
|
body["FallBackId"] = request.fallBackId;
|
|
3935
4399
|
}
|
|
@@ -3977,7 +4441,7 @@ class Client extends openapi_client_1.default {
|
|
|
3977
4441
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMassMessageResponse({}));
|
|
3978
4442
|
}
|
|
3979
4443
|
/**
|
|
3980
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
4444
|
+
* 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.
|
|
3981
4445
|
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
3982
4446
|
*
|
|
3983
4447
|
* @param request SendChatappMassMessageRequest
|
|
@@ -3988,7 +4452,7 @@ class Client extends openapi_client_1.default {
|
|
|
3988
4452
|
return await this.sendChatappMassMessageWithOptions(request, runtime);
|
|
3989
4453
|
}
|
|
3990
4454
|
/**
|
|
3991
|
-
* You can call this operation up to 200 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.
|
|
4455
|
+
* You can call this operation up to 200 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.
|
|
3992
4456
|
*
|
|
3993
4457
|
* @param tmpReq SendChatappMessageRequest
|
|
3994
4458
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4027,6 +4491,9 @@ class Client extends openapi_client_1.default {
|
|
|
4027
4491
|
if (!tea_util_1.default.isUnset(request.fallBackContent)) {
|
|
4028
4492
|
body["FallBackContent"] = request.fallBackContent;
|
|
4029
4493
|
}
|
|
4494
|
+
if (!tea_util_1.default.isUnset(request.fallBackDuration)) {
|
|
4495
|
+
body["FallBackDuration"] = request.fallBackDuration;
|
|
4496
|
+
}
|
|
4030
4497
|
if (!tea_util_1.default.isUnset(request.fallBackId)) {
|
|
4031
4498
|
body["FallBackId"] = request.fallBackId;
|
|
4032
4499
|
}
|
|
@@ -4087,7 +4554,7 @@ class Client extends openapi_client_1.default {
|
|
|
4087
4554
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMessageResponse({}));
|
|
4088
4555
|
}
|
|
4089
4556
|
/**
|
|
4090
|
-
* You can call this operation up to 200 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.
|
|
4557
|
+
* You can call this operation up to 200 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.
|
|
4091
4558
|
*
|
|
4092
4559
|
* @param request SendChatappMessageRequest
|
|
4093
4560
|
* @return SendChatappMessageResponse
|
|
@@ -4096,6 +4563,13 @@ class Client extends openapi_client_1.default {
|
|
|
4096
4563
|
let runtime = new $Util.RuntimeOptions({});
|
|
4097
4564
|
return await this.sendChatappMessageWithOptions(request, runtime);
|
|
4098
4565
|
}
|
|
4566
|
+
/**
|
|
4567
|
+
* 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.
|
|
4568
|
+
*
|
|
4569
|
+
* @param request SubmitIsvCustomerTermsRequest
|
|
4570
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4571
|
+
* @return SubmitIsvCustomerTermsResponse
|
|
4572
|
+
*/
|
|
4099
4573
|
async submitIsvCustomerTermsWithOptions(request, runtime) {
|
|
4100
4574
|
tea_util_1.default.validateModel(request);
|
|
4101
4575
|
let query = {};
|
|
@@ -4136,6 +4610,12 @@ class Client extends openapi_client_1.default {
|
|
|
4136
4610
|
});
|
|
4137
4611
|
return $tea.cast(await this.callApi(params, req, runtime), new SubmitIsvCustomerTermsResponse({}));
|
|
4138
4612
|
}
|
|
4613
|
+
/**
|
|
4614
|
+
* 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.
|
|
4615
|
+
*
|
|
4616
|
+
* @param request SubmitIsvCustomerTermsRequest
|
|
4617
|
+
* @return SubmitIsvCustomerTermsResponse
|
|
4618
|
+
*/
|
|
4139
4619
|
async submitIsvCustomerTerms(request) {
|
|
4140
4620
|
let runtime = new $Util.RuntimeOptions({});
|
|
4141
4621
|
return await this.submitIsvCustomerTermsWithOptions(request, runtime);
|