@alicloud/cams20200606 1.0.16 → 1.0.18

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.js CHANGED
@@ -873,31 +873,23 @@ class DeleteChatappTemplateResponse extends $tea.Model {
873
873
  }
874
874
  }
875
875
  exports.DeleteChatappTemplateResponse = DeleteChatappTemplateResponse;
876
- class GetChatappTemplateDetailRequest extends $tea.Model {
876
+ class GetChatappUploadAuthorizationRequest extends $tea.Model {
877
877
  constructor(map) {
878
878
  super(map);
879
879
  }
880
880
  static names() {
881
881
  return {
882
882
  custSpaceId: 'CustSpaceId',
883
- custWabaId: 'CustWabaId',
884
- isvCode: 'IsvCode',
885
- language: 'Language',
886
- templateCode: 'TemplateCode',
887
883
  };
888
884
  }
889
885
  static types() {
890
886
  return {
891
887
  custSpaceId: 'string',
892
- custWabaId: 'string',
893
- isvCode: 'string',
894
- language: 'string',
895
- templateCode: 'string',
896
888
  };
897
889
  }
898
890
  }
899
- exports.GetChatappTemplateDetailRequest = GetChatappTemplateDetailRequest;
900
- class GetChatappTemplateDetailResponseBody extends $tea.Model {
891
+ exports.GetChatappUploadAuthorizationRequest = GetChatappUploadAuthorizationRequest;
892
+ class GetChatappUploadAuthorizationResponseBody extends $tea.Model {
901
893
  constructor(map) {
902
894
  super(map);
903
895
  }
@@ -912,14 +904,14 @@ class GetChatappTemplateDetailResponseBody extends $tea.Model {
912
904
  static types() {
913
905
  return {
914
906
  code: 'string',
915
- data: GetChatappTemplateDetailResponseBodyData,
907
+ data: GetChatappUploadAuthorizationResponseBodyData,
916
908
  message: 'string',
917
909
  requestId: 'string',
918
910
  };
919
911
  }
920
912
  }
921
- exports.GetChatappTemplateDetailResponseBody = GetChatappTemplateDetailResponseBody;
922
- class GetChatappTemplateDetailResponse extends $tea.Model {
913
+ exports.GetChatappUploadAuthorizationResponseBody = GetChatappUploadAuthorizationResponseBody;
914
+ class GetChatappUploadAuthorizationResponse extends $tea.Model {
923
915
  constructor(map) {
924
916
  super(map);
925
917
  }
@@ -934,11 +926,11 @@ class GetChatappTemplateDetailResponse extends $tea.Model {
934
926
  return {
935
927
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
936
928
  statusCode: 'number',
937
- body: GetChatappTemplateDetailResponseBody,
929
+ body: GetChatappUploadAuthorizationResponseBody,
938
930
  };
939
931
  }
940
932
  }
941
- exports.GetChatappTemplateDetailResponse = GetChatappTemplateDetailResponse;
933
+ exports.GetChatappUploadAuthorizationResponse = GetChatappUploadAuthorizationResponse;
942
934
  class GetChatappVerifyCodeRequest extends $tea.Model {
943
935
  constructor(map) {
944
936
  super(map);
@@ -1183,110 +1175,13 @@ class IsvGetAppIdResponse extends $tea.Model {
1183
1175
  }
1184
1176
  }
1185
1177
  exports.IsvGetAppIdResponse = IsvGetAppIdResponse;
1186
- class ListChatappTemplateRequest extends $tea.Model {
1187
- constructor(map) {
1188
- super(map);
1189
- }
1190
- static names() {
1191
- return {
1192
- auditStatus: 'AuditStatus',
1193
- custSpaceId: 'CustSpaceId',
1194
- custWabaId: 'CustWabaId',
1195
- isvCode: 'IsvCode',
1196
- language: 'Language',
1197
- name: 'Name',
1198
- page: 'Page',
1199
- };
1200
- }
1201
- static types() {
1202
- return {
1203
- auditStatus: 'string',
1204
- custSpaceId: 'string',
1205
- custWabaId: 'string',
1206
- isvCode: 'string',
1207
- language: 'string',
1208
- name: 'string',
1209
- page: ListChatappTemplateRequestPage,
1210
- };
1211
- }
1212
- }
1213
- exports.ListChatappTemplateRequest = ListChatappTemplateRequest;
1214
- class ListChatappTemplateShrinkRequest extends $tea.Model {
1215
- constructor(map) {
1216
- super(map);
1217
- }
1218
- static names() {
1219
- return {
1220
- auditStatus: 'AuditStatus',
1221
- custSpaceId: 'CustSpaceId',
1222
- custWabaId: 'CustWabaId',
1223
- isvCode: 'IsvCode',
1224
- language: 'Language',
1225
- name: 'Name',
1226
- pageShrink: 'Page',
1227
- };
1228
- }
1229
- static types() {
1230
- return {
1231
- auditStatus: 'string',
1232
- custSpaceId: 'string',
1233
- custWabaId: 'string',
1234
- isvCode: 'string',
1235
- language: 'string',
1236
- name: 'string',
1237
- pageShrink: 'string',
1238
- };
1239
- }
1240
- }
1241
- exports.ListChatappTemplateShrinkRequest = ListChatappTemplateShrinkRequest;
1242
- class ListChatappTemplateResponseBody extends $tea.Model {
1243
- constructor(map) {
1244
- super(map);
1245
- }
1246
- static names() {
1247
- return {
1248
- code: 'Code',
1249
- listTemplate: 'ListTemplate',
1250
- message: 'Message',
1251
- requestId: 'RequestId',
1252
- };
1253
- }
1254
- static types() {
1255
- return {
1256
- code: 'string',
1257
- listTemplate: { 'type': 'array', 'itemType': ListChatappTemplateResponseBodyListTemplate },
1258
- message: 'string',
1259
- requestId: 'string',
1260
- };
1261
- }
1262
- }
1263
- exports.ListChatappTemplateResponseBody = ListChatappTemplateResponseBody;
1264
- class ListChatappTemplateResponse extends $tea.Model {
1265
- constructor(map) {
1266
- super(map);
1267
- }
1268
- static names() {
1269
- return {
1270
- headers: 'headers',
1271
- statusCode: 'statusCode',
1272
- body: 'body',
1273
- };
1274
- }
1275
- static types() {
1276
- return {
1277
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1278
- statusCode: 'number',
1279
- body: ListChatappTemplateResponseBody,
1280
- };
1281
- }
1282
- }
1283
- exports.ListChatappTemplateResponse = ListChatappTemplateResponse;
1284
1178
  class ModifyChatappTemplateRequest extends $tea.Model {
1285
1179
  constructor(map) {
1286
1180
  super(map);
1287
1181
  }
1288
1182
  static names() {
1289
1183
  return {
1184
+ category: 'Category',
1290
1185
  components: 'Components',
1291
1186
  custSpaceId: 'CustSpaceId',
1292
1187
  custWabaId: 'CustWabaId',
@@ -1294,10 +1189,12 @@ class ModifyChatappTemplateRequest extends $tea.Model {
1294
1189
  isvCode: 'IsvCode',
1295
1190
  language: 'Language',
1296
1191
  templateCode: 'TemplateCode',
1192
+ templateType: 'TemplateType',
1297
1193
  };
1298
1194
  }
1299
1195
  static types() {
1300
1196
  return {
1197
+ category: 'string',
1301
1198
  components: { 'type': 'array', 'itemType': ModifyChatappTemplateRequestComponents },
1302
1199
  custSpaceId: 'string',
1303
1200
  custWabaId: 'string',
@@ -1305,6 +1202,7 @@ class ModifyChatappTemplateRequest extends $tea.Model {
1305
1202
  isvCode: 'string',
1306
1203
  language: 'string',
1307
1204
  templateCode: 'string',
1205
+ templateType: 'string',
1308
1206
  };
1309
1207
  }
1310
1208
  }
@@ -1315,6 +1213,7 @@ class ModifyChatappTemplateShrinkRequest extends $tea.Model {
1315
1213
  }
1316
1214
  static names() {
1317
1215
  return {
1216
+ category: 'Category',
1318
1217
  componentsShrink: 'Components',
1319
1218
  custSpaceId: 'CustSpaceId',
1320
1219
  custWabaId: 'CustWabaId',
@@ -1322,10 +1221,12 @@ class ModifyChatappTemplateShrinkRequest extends $tea.Model {
1322
1221
  isvCode: 'IsvCode',
1323
1222
  language: 'Language',
1324
1223
  templateCode: 'TemplateCode',
1224
+ templateType: 'TemplateType',
1325
1225
  };
1326
1226
  }
1327
1227
  static types() {
1328
1228
  return {
1229
+ category: 'string',
1329
1230
  componentsShrink: 'string',
1330
1231
  custSpaceId: 'string',
1331
1232
  custWabaId: 'string',
@@ -1333,6 +1234,7 @@ class ModifyChatappTemplateShrinkRequest extends $tea.Model {
1333
1234
  isvCode: 'string',
1334
1235
  language: 'string',
1335
1236
  templateCode: 'string',
1237
+ templateType: 'string',
1336
1238
  };
1337
1239
  }
1338
1240
  }
@@ -1732,10 +1634,13 @@ class SendChatappMassMessageRequest extends $tea.Model {
1732
1634
  fallBackId: 'FallBackId',
1733
1635
  from: 'From',
1734
1636
  isvCode: 'IsvCode',
1637
+ label: 'Label',
1735
1638
  language: 'Language',
1736
1639
  senderList: 'SenderList',
1640
+ tag: 'Tag',
1737
1641
  taskId: 'TaskId',
1738
1642
  templateCode: 'TemplateCode',
1643
+ ttl: 'Ttl',
1739
1644
  };
1740
1645
  }
1741
1646
  static types() {
@@ -1747,10 +1652,13 @@ class SendChatappMassMessageRequest extends $tea.Model {
1747
1652
  fallBackId: 'string',
1748
1653
  from: 'string',
1749
1654
  isvCode: 'string',
1655
+ label: 'string',
1750
1656
  language: 'string',
1751
1657
  senderList: { 'type': 'array', 'itemType': SendChatappMassMessageRequestSenderList },
1658
+ tag: 'string',
1752
1659
  taskId: 'string',
1753
1660
  templateCode: 'string',
1661
+ ttl: 'number',
1754
1662
  };
1755
1663
  }
1756
1664
  }
@@ -1768,10 +1676,13 @@ class SendChatappMassMessageShrinkRequest extends $tea.Model {
1768
1676
  fallBackId: 'FallBackId',
1769
1677
  from: 'From',
1770
1678
  isvCode: 'IsvCode',
1679
+ label: 'Label',
1771
1680
  language: 'Language',
1772
1681
  senderListShrink: 'SenderList',
1682
+ tag: 'Tag',
1773
1683
  taskId: 'TaskId',
1774
1684
  templateCode: 'TemplateCode',
1685
+ ttl: 'Ttl',
1775
1686
  };
1776
1687
  }
1777
1688
  static types() {
@@ -1783,10 +1694,13 @@ class SendChatappMassMessageShrinkRequest extends $tea.Model {
1783
1694
  fallBackId: 'string',
1784
1695
  from: 'string',
1785
1696
  isvCode: 'string',
1697
+ label: 'string',
1786
1698
  language: 'string',
1787
1699
  senderListShrink: 'string',
1700
+ tag: 'string',
1788
1701
  taskId: 'string',
1789
1702
  templateCode: 'string',
1703
+ ttl: 'number',
1790
1704
  };
1791
1705
  }
1792
1706
  }
@@ -1853,6 +1767,7 @@ class SendChatappMessageRequest extends $tea.Model {
1853
1767
  messageType: 'MessageType',
1854
1768
  payload: 'Payload',
1855
1769
  tag: 'Tag',
1770
+ taskId: 'TaskId',
1856
1771
  templateCode: 'TemplateCode',
1857
1772
  templateParams: 'TemplateParams',
1858
1773
  to: 'To',
@@ -1877,6 +1792,7 @@ class SendChatappMessageRequest extends $tea.Model {
1877
1792
  messageType: 'string',
1878
1793
  payload: { 'type': 'array', 'itemType': 'string' },
1879
1794
  tag: 'string',
1795
+ taskId: 'string',
1880
1796
  templateCode: 'string',
1881
1797
  templateParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1882
1798
  to: 'string',
@@ -1907,6 +1823,7 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
1907
1823
  messageType: 'MessageType',
1908
1824
  payloadShrink: 'Payload',
1909
1825
  tag: 'Tag',
1826
+ taskId: 'TaskId',
1910
1827
  templateCode: 'TemplateCode',
1911
1828
  templateParamsShrink: 'TemplateParams',
1912
1829
  to: 'To',
@@ -1931,6 +1848,7 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
1931
1848
  messageType: 'string',
1932
1849
  payloadShrink: 'string',
1933
1850
  tag: 'string',
1851
+ taskId: 'string',
1934
1852
  templateCode: 'string',
1935
1853
  templateParamsShrink: 'string',
1936
1854
  to: 'string',
@@ -1983,6 +1901,74 @@ class SendChatappMessageResponse extends $tea.Model {
1983
1901
  }
1984
1902
  }
1985
1903
  exports.SendChatappMessageResponse = SendChatappMessageResponse;
1904
+ class SubmitIsvCustomerTermsRequest extends $tea.Model {
1905
+ constructor(map) {
1906
+ super(map);
1907
+ }
1908
+ static names() {
1909
+ return {
1910
+ businessDesc: 'BusinessDesc',
1911
+ contactMail: 'ContactMail',
1912
+ countryId: 'CountryId',
1913
+ custName: 'CustName',
1914
+ custSpaceId: 'CustSpaceId',
1915
+ isvTerms: 'IsvTerms',
1916
+ officeAddress: 'OfficeAddress',
1917
+ };
1918
+ }
1919
+ static types() {
1920
+ return {
1921
+ businessDesc: 'string',
1922
+ contactMail: 'string',
1923
+ countryId: 'string',
1924
+ custName: 'string',
1925
+ custSpaceId: 'string',
1926
+ isvTerms: 'string',
1927
+ officeAddress: 'string',
1928
+ };
1929
+ }
1930
+ }
1931
+ exports.SubmitIsvCustomerTermsRequest = SubmitIsvCustomerTermsRequest;
1932
+ class SubmitIsvCustomerTermsResponseBody extends $tea.Model {
1933
+ constructor(map) {
1934
+ super(map);
1935
+ }
1936
+ static names() {
1937
+ return {
1938
+ code: 'Code',
1939
+ message: 'Message',
1940
+ requestId: 'RequestId',
1941
+ };
1942
+ }
1943
+ static types() {
1944
+ return {
1945
+ code: 'string',
1946
+ message: 'string',
1947
+ requestId: 'string',
1948
+ };
1949
+ }
1950
+ }
1951
+ exports.SubmitIsvCustomerTermsResponseBody = SubmitIsvCustomerTermsResponseBody;
1952
+ class SubmitIsvCustomerTermsResponse extends $tea.Model {
1953
+ constructor(map) {
1954
+ super(map);
1955
+ }
1956
+ static names() {
1957
+ return {
1958
+ headers: 'headers',
1959
+ statusCode: 'statusCode',
1960
+ body: 'body',
1961
+ };
1962
+ }
1963
+ static types() {
1964
+ return {
1965
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1966
+ statusCode: 'number',
1967
+ body: SubmitIsvCustomerTermsResponseBody,
1968
+ };
1969
+ }
1970
+ }
1971
+ exports.SubmitIsvCustomerTermsResponse = SubmitIsvCustomerTermsResponse;
1986
1972
  class UpdateAccountWebhookRequest extends $tea.Model {
1987
1973
  constructor(map) {
1988
1974
  super(map);
@@ -2475,9 +2461,12 @@ class CreateChatappTemplateRequestComponents extends $tea.Model {
2475
2461
  return {
2476
2462
  buttons: 'Buttons',
2477
2463
  caption: 'Caption',
2464
+ duration: 'Duration',
2478
2465
  fileName: 'FileName',
2466
+ fileType: 'FileType',
2479
2467
  format: 'Format',
2480
2468
  text: 'Text',
2469
+ thumbUrl: 'ThumbUrl',
2481
2470
  type: 'Type',
2482
2471
  url: 'Url',
2483
2472
  };
@@ -2486,9 +2475,12 @@ class CreateChatappTemplateRequestComponents extends $tea.Model {
2486
2475
  return {
2487
2476
  buttons: { 'type': 'array', 'itemType': CreateChatappTemplateRequestComponentsButtons },
2488
2477
  caption: 'string',
2478
+ duration: 'number',
2489
2479
  fileName: 'string',
2480
+ fileType: 'string',
2490
2481
  format: 'string',
2491
2482
  text: 'string',
2483
+ thumbUrl: 'string',
2492
2484
  type: 'string',
2493
2485
  url: 'string',
2494
2486
  };
@@ -2513,86 +2505,34 @@ class CreateChatappTemplateResponseBodyData extends $tea.Model {
2513
2505
  }
2514
2506
  }
2515
2507
  exports.CreateChatappTemplateResponseBodyData = CreateChatappTemplateResponseBodyData;
2516
- class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Model {
2508
+ class GetChatappUploadAuthorizationResponseBodyData extends $tea.Model {
2517
2509
  constructor(map) {
2518
2510
  super(map);
2519
2511
  }
2520
2512
  static names() {
2521
2513
  return {
2522
- phoneNumber: 'PhoneNumber',
2523
- text: 'Text',
2524
- type: 'Type',
2525
- url: 'Url',
2526
- urlType: 'UrlType',
2514
+ accessKeyId: 'AccessKeyId',
2515
+ accessKeySecret: 'AccessKeySecret',
2516
+ bucketName: 'BucketName',
2517
+ dir: 'Dir',
2518
+ endPoint: 'EndPoint',
2519
+ expire: 'Expire',
2520
+ securityToken: 'SecurityToken',
2527
2521
  };
2528
2522
  }
2529
2523
  static types() {
2530
2524
  return {
2531
- phoneNumber: 'string',
2532
- text: 'string',
2533
- type: 'string',
2534
- url: 'string',
2535
- urlType: 'string',
2525
+ accessKeyId: 'string',
2526
+ accessKeySecret: 'string',
2527
+ bucketName: 'string',
2528
+ dir: 'string',
2529
+ endPoint: 'string',
2530
+ expire: 'number',
2531
+ securityToken: 'string',
2536
2532
  };
2537
2533
  }
2538
2534
  }
2539
- exports.GetChatappTemplateDetailResponseBodyDataComponentsButtons = GetChatappTemplateDetailResponseBodyDataComponentsButtons;
2540
- class GetChatappTemplateDetailResponseBodyDataComponents extends $tea.Model {
2541
- constructor(map) {
2542
- super(map);
2543
- }
2544
- static names() {
2545
- return {
2546
- buttons: 'Buttons',
2547
- caption: 'Caption',
2548
- fileName: 'FileName',
2549
- format: 'Format',
2550
- text: 'Text',
2551
- type: 'Type',
2552
- url: 'Url',
2553
- };
2554
- }
2555
- static types() {
2556
- return {
2557
- buttons: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponentsButtons },
2558
- caption: 'string',
2559
- fileName: 'string',
2560
- format: 'string',
2561
- text: 'string',
2562
- type: 'string',
2563
- url: 'string',
2564
- };
2565
- }
2566
- }
2567
- exports.GetChatappTemplateDetailResponseBodyDataComponents = GetChatappTemplateDetailResponseBodyDataComponents;
2568
- class GetChatappTemplateDetailResponseBodyData extends $tea.Model {
2569
- constructor(map) {
2570
- super(map);
2571
- }
2572
- static names() {
2573
- return {
2574
- auditStatus: 'AuditStatus',
2575
- category: 'Category',
2576
- components: 'Components',
2577
- example: 'Example',
2578
- language: 'Language',
2579
- name: 'Name',
2580
- templateCode: 'TemplateCode',
2581
- };
2582
- }
2583
- static types() {
2584
- return {
2585
- auditStatus: 'string',
2586
- category: 'string',
2587
- components: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponents },
2588
- example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2589
- language: 'string',
2590
- name: 'string',
2591
- templateCode: 'string',
2592
- };
2593
- }
2594
- }
2595
- exports.GetChatappTemplateDetailResponseBodyData = GetChatappTemplateDetailResponseBodyData;
2535
+ exports.GetChatappUploadAuthorizationResponseBodyData = GetChatappUploadAuthorizationResponseBodyData;
2596
2536
  class GetMigrationVerifyCodeResponseBodyData extends $tea.Model {
2597
2537
  constructor(map) {
2598
2538
  super(map);
@@ -2631,48 +2571,6 @@ class GetPhoneNumberVerificationStatusResponseBodyData extends $tea.Model {
2631
2571
  }
2632
2572
  }
2633
2573
  exports.GetPhoneNumberVerificationStatusResponseBodyData = GetPhoneNumberVerificationStatusResponseBodyData;
2634
- class ListChatappTemplateRequestPage extends $tea.Model {
2635
- constructor(map) {
2636
- super(map);
2637
- }
2638
- static names() {
2639
- return {
2640
- index: 'Index',
2641
- size: 'Size',
2642
- };
2643
- }
2644
- static types() {
2645
- return {
2646
- index: 'number',
2647
- size: 'number',
2648
- };
2649
- }
2650
- }
2651
- exports.ListChatappTemplateRequestPage = ListChatappTemplateRequestPage;
2652
- class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
2653
- constructor(map) {
2654
- super(map);
2655
- }
2656
- static names() {
2657
- return {
2658
- auditStatus: 'AuditStatus',
2659
- category: 'Category',
2660
- language: 'Language',
2661
- templateCode: 'TemplateCode',
2662
- templateName: 'TemplateName',
2663
- };
2664
- }
2665
- static types() {
2666
- return {
2667
- auditStatus: 'string',
2668
- category: 'string',
2669
- language: 'string',
2670
- templateCode: 'string',
2671
- templateName: 'string',
2672
- };
2673
- }
2674
- }
2675
- exports.ListChatappTemplateResponseBodyListTemplate = ListChatappTemplateResponseBodyListTemplate;
2676
2574
  class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
2677
2575
  constructor(map) {
2678
2576
  super(map);
@@ -2705,9 +2603,12 @@ class ModifyChatappTemplateRequestComponents extends $tea.Model {
2705
2603
  return {
2706
2604
  buttons: 'Buttons',
2707
2605
  caption: 'Caption',
2606
+ duration: 'Duration',
2708
2607
  fileName: 'FileName',
2608
+ fileType: 'FileType',
2709
2609
  format: 'Format',
2710
2610
  text: 'Text',
2611
+ thumbUrl: 'ThumbUrl',
2711
2612
  type: 'Type',
2712
2613
  url: 'Url',
2713
2614
  };
@@ -2716,9 +2617,12 @@ class ModifyChatappTemplateRequestComponents extends $tea.Model {
2716
2617
  return {
2717
2618
  buttons: { 'type': 'array', 'itemType': ModifyChatappTemplateRequestComponentsButtons },
2718
2619
  caption: 'string',
2620
+ duration: 'number',
2719
2621
  fileName: 'string',
2622
+ fileType: 'string',
2720
2623
  format: 'string',
2721
2624
  text: 'string',
2625
+ thumbUrl: 'string',
2722
2626
  type: 'string',
2723
2627
  url: 'string',
2724
2628
  };
@@ -3028,6 +2932,13 @@ class Client extends openapi_client_1.default {
3028
2932
  let runtime = new $Util.RuntimeOptions({});
3029
2933
  return await this.beeBotChatWithOptions(request, runtime);
3030
2934
  }
2935
+ /**
2936
+ * 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.
2937
+ *
2938
+ * @param request ChatappBindWabaRequest
2939
+ * @param runtime runtime options for this request RuntimeOptions
2940
+ * @return ChatappBindWabaResponse
2941
+ */
3031
2942
  async chatappBindWabaWithOptions(request, runtime) {
3032
2943
  tea_util_1.default.validateModel(request);
3033
2944
  let body = {};
@@ -3050,10 +2961,23 @@ class Client extends openapi_client_1.default {
3050
2961
  });
3051
2962
  return $tea.cast(await this.callApi(params, req, runtime), new ChatappBindWabaResponse({}));
3052
2963
  }
2964
+ /**
2965
+ * 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.
2966
+ *
2967
+ * @param request ChatappBindWabaRequest
2968
+ * @return ChatappBindWabaResponse
2969
+ */
3053
2970
  async chatappBindWaba(request) {
3054
2971
  let runtime = new $Util.RuntimeOptions({});
3055
2972
  return await this.chatappBindWabaWithOptions(request, runtime);
3056
2973
  }
2974
+ /**
2975
+ * 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.
2976
+ *
2977
+ * @param request ChatappEmbedSignUpRequest
2978
+ * @param runtime runtime options for this request RuntimeOptions
2979
+ * @return ChatappEmbedSignUpResponse
2980
+ */
3057
2981
  async chatappEmbedSignUpWithOptions(request, runtime) {
3058
2982
  tea_util_1.default.validateModel(request);
3059
2983
  let body = {};
@@ -3076,10 +3000,23 @@ class Client extends openapi_client_1.default {
3076
3000
  });
3077
3001
  return $tea.cast(await this.callApi(params, req, runtime), new ChatappEmbedSignUpResponse({}));
3078
3002
  }
3003
+ /**
3004
+ * 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.
3005
+ *
3006
+ * @param request ChatappEmbedSignUpRequest
3007
+ * @return ChatappEmbedSignUpResponse
3008
+ */
3079
3009
  async chatappEmbedSignUp(request) {
3080
3010
  let runtime = new $Util.RuntimeOptions({});
3081
3011
  return await this.chatappEmbedSignUpWithOptions(request, runtime);
3082
3012
  }
3013
+ /**
3014
+ * 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.
3015
+ *
3016
+ * @param request ChatappMigrationRegisterRequest
3017
+ * @param runtime runtime options for this request RuntimeOptions
3018
+ * @return ChatappMigrationRegisterResponse
3019
+ */
3083
3020
  async chatappMigrationRegisterWithOptions(request, runtime) {
3084
3021
  tea_util_1.default.validateModel(request);
3085
3022
  let query = {};
@@ -3105,10 +3042,23 @@ class Client extends openapi_client_1.default {
3105
3042
  });
3106
3043
  return $tea.cast(await this.callApi(params, req, runtime), new ChatappMigrationRegisterResponse({}));
3107
3044
  }
3045
+ /**
3046
+ * 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.
3047
+ *
3048
+ * @param request ChatappMigrationRegisterRequest
3049
+ * @return ChatappMigrationRegisterResponse
3050
+ */
3108
3051
  async chatappMigrationRegister(request) {
3109
3052
  let runtime = new $Util.RuntimeOptions({});
3110
3053
  return await this.chatappMigrationRegisterWithOptions(request, runtime);
3111
3054
  }
3055
+ /**
3056
+ * 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.
3057
+ *
3058
+ * @param request ChatappMigrationVerifiedRequest
3059
+ * @param runtime runtime options for this request RuntimeOptions
3060
+ * @return ChatappMigrationVerifiedResponse
3061
+ */
3112
3062
  async chatappMigrationVerifiedWithOptions(request, runtime) {
3113
3063
  tea_util_1.default.validateModel(request);
3114
3064
  let query = {};
@@ -3137,10 +3087,23 @@ class Client extends openapi_client_1.default {
3137
3087
  });
3138
3088
  return $tea.cast(await this.callApi(params, req, runtime), new ChatappMigrationVerifiedResponse({}));
3139
3089
  }
3090
+ /**
3091
+ * 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.
3092
+ *
3093
+ * @param request ChatappMigrationVerifiedRequest
3094
+ * @return ChatappMigrationVerifiedResponse
3095
+ */
3140
3096
  async chatappMigrationVerified(request) {
3141
3097
  let runtime = new $Util.RuntimeOptions({});
3142
3098
  return await this.chatappMigrationVerifiedWithOptions(request, runtime);
3143
3099
  }
3100
+ /**
3101
+ * 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.
3102
+ *
3103
+ * @param request ChatappPhoneNumberRegisterRequest
3104
+ * @param runtime runtime options for this request RuntimeOptions
3105
+ * @return ChatappPhoneNumberRegisterResponse
3106
+ */
3144
3107
  async chatappPhoneNumberRegisterWithOptions(request, runtime) {
3145
3108
  tea_util_1.default.validateModel(request);
3146
3109
  let body = {};
@@ -3166,10 +3129,23 @@ class Client extends openapi_client_1.default {
3166
3129
  });
3167
3130
  return $tea.cast(await this.callApi(params, req, runtime), new ChatappPhoneNumberRegisterResponse({}));
3168
3131
  }
3132
+ /**
3133
+ * 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.
3134
+ *
3135
+ * @param request ChatappPhoneNumberRegisterRequest
3136
+ * @return ChatappPhoneNumberRegisterResponse
3137
+ */
3169
3138
  async chatappPhoneNumberRegister(request) {
3170
3139
  let runtime = new $Util.RuntimeOptions({});
3171
3140
  return await this.chatappPhoneNumberRegisterWithOptions(request, runtime);
3172
3141
  }
3142
+ /**
3143
+ * 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.
3144
+ *
3145
+ * @param request ChatappSyncPhoneNumberRequest
3146
+ * @param runtime runtime options for this request RuntimeOptions
3147
+ * @return ChatappSyncPhoneNumberResponse
3148
+ */
3173
3149
  async chatappSyncPhoneNumberWithOptions(request, runtime) {
3174
3150
  tea_util_1.default.validateModel(request);
3175
3151
  let query = {};
@@ -3192,10 +3168,23 @@ class Client extends openapi_client_1.default {
3192
3168
  });
3193
3169
  return $tea.cast(await this.callApi(params, req, runtime), new ChatappSyncPhoneNumberResponse({}));
3194
3170
  }
3171
+ /**
3172
+ * 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.
3173
+ *
3174
+ * @param request ChatappSyncPhoneNumberRequest
3175
+ * @return ChatappSyncPhoneNumberResponse
3176
+ */
3195
3177
  async chatappSyncPhoneNumber(request) {
3196
3178
  let runtime = new $Util.RuntimeOptions({});
3197
3179
  return await this.chatappSyncPhoneNumberWithOptions(request, runtime);
3198
3180
  }
3181
+ /**
3182
+ * 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.
3183
+ *
3184
+ * @param request ChatappVerifyAndRegisterRequest
3185
+ * @param runtime runtime options for this request RuntimeOptions
3186
+ * @return ChatappVerifyAndRegisterResponse
3187
+ */
3199
3188
  async chatappVerifyAndRegisterWithOptions(request, runtime) {
3200
3189
  tea_util_1.default.validateModel(request);
3201
3190
  let body = {};
@@ -3224,10 +3213,23 @@ class Client extends openapi_client_1.default {
3224
3213
  });
3225
3214
  return $tea.cast(await this.callApi(params, req, runtime), new ChatappVerifyAndRegisterResponse({}));
3226
3215
  }
3216
+ /**
3217
+ * 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.
3218
+ *
3219
+ * @param request ChatappVerifyAndRegisterRequest
3220
+ * @return ChatappVerifyAndRegisterResponse
3221
+ */
3227
3222
  async chatappVerifyAndRegister(request) {
3228
3223
  let runtime = new $Util.RuntimeOptions({});
3229
3224
  return await this.chatappVerifyAndRegisterWithOptions(request, runtime);
3230
3225
  }
3226
+ /**
3227
+ * 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.
3228
+ *
3229
+ * @param request CreateChatappMigrationInitiateRequest
3230
+ * @param runtime runtime options for this request RuntimeOptions
3231
+ * @return CreateChatappMigrationInitiateResponse
3232
+ */
3231
3233
  async createChatappMigrationInitiateWithOptions(request, runtime) {
3232
3234
  tea_util_1.default.validateModel(request);
3233
3235
  let query = {};
@@ -3256,6 +3258,12 @@ class Client extends openapi_client_1.default {
3256
3258
  });
3257
3259
  return $tea.cast(await this.callApi(params, req, runtime), new CreateChatappMigrationInitiateResponse({}));
3258
3260
  }
3261
+ /**
3262
+ * 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.
3263
+ *
3264
+ * @param request CreateChatappMigrationInitiateRequest
3265
+ * @return CreateChatappMigrationInitiateResponse
3266
+ */
3259
3267
  async createChatappMigrationInitiate(request) {
3260
3268
  let runtime = new $Util.RuntimeOptions({});
3261
3269
  return await this.createChatappMigrationInitiateWithOptions(request, runtime);
@@ -3337,7 +3345,7 @@ class Client extends openapi_client_1.default {
3337
3345
  }
3338
3346
  /**
3339
3347
  * ### QPS limit
3340
- * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
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.
3341
3349
  *
3342
3350
  * @param request DeleteChatappTemplateRequest
3343
3351
  * @param runtime runtime options for this request RuntimeOptions
@@ -3376,7 +3384,7 @@ class Client extends openapi_client_1.default {
3376
3384
  }
3377
3385
  /**
3378
3386
  * ### QPS limit
3379
- * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
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.
3380
3388
  *
3381
3389
  * @param request DeleteChatappTemplateRequest
3382
3390
  * @return DeleteChatappTemplateResponse
@@ -3385,37 +3393,17 @@ class Client extends openapi_client_1.default {
3385
3393
  let runtime = new $Util.RuntimeOptions({});
3386
3394
  return await this.deleteChatappTemplateWithOptions(request, runtime);
3387
3395
  }
3388
- /**
3389
- * ### QPS limit
3390
- * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
3391
- *
3392
- * @param request GetChatappTemplateDetailRequest
3393
- * @param runtime runtime options for this request RuntimeOptions
3394
- * @return GetChatappTemplateDetailResponse
3395
- */
3396
- async getChatappTemplateDetailWithOptions(request, runtime) {
3396
+ async getChatappUploadAuthorizationWithOptions(request, runtime) {
3397
3397
  tea_util_1.default.validateModel(request);
3398
3398
  let query = {};
3399
3399
  if (!tea_util_1.default.isUnset(request.custSpaceId)) {
3400
3400
  query["CustSpaceId"] = request.custSpaceId;
3401
3401
  }
3402
- if (!tea_util_1.default.isUnset(request.custWabaId)) {
3403
- query["CustWabaId"] = request.custWabaId;
3404
- }
3405
- if (!tea_util_1.default.isUnset(request.isvCode)) {
3406
- query["IsvCode"] = request.isvCode;
3407
- }
3408
- if (!tea_util_1.default.isUnset(request.language)) {
3409
- query["Language"] = request.language;
3410
- }
3411
- if (!tea_util_1.default.isUnset(request.templateCode)) {
3412
- query["TemplateCode"] = request.templateCode;
3413
- }
3414
3402
  let req = new $OpenApi.OpenApiRequest({
3415
3403
  query: openapi_util_1.default.query(query),
3416
3404
  });
3417
3405
  let params = new $OpenApi.Params({
3418
- action: "GetChatappTemplateDetail",
3406
+ action: "GetChatappUploadAuthorization",
3419
3407
  version: "2020-06-06",
3420
3408
  protocol: "HTTPS",
3421
3409
  pathname: "/",
@@ -3425,19 +3413,19 @@ class Client extends openapi_client_1.default {
3425
3413
  reqBodyType: "formData",
3426
3414
  bodyType: "json",
3427
3415
  });
3428
- return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateDetailResponse({}));
3416
+ return $tea.cast(await this.callApi(params, req, runtime), new GetChatappUploadAuthorizationResponse({}));
3417
+ }
3418
+ async getChatappUploadAuthorization(request) {
3419
+ let runtime = new $Util.RuntimeOptions({});
3420
+ return await this.getChatappUploadAuthorizationWithOptions(request, runtime);
3429
3421
  }
3430
3422
  /**
3431
- * ### QPS limit
3432
- * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
3423
+ * 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.
3433
3424
  *
3434
- * @param request GetChatappTemplateDetailRequest
3435
- * @return GetChatappTemplateDetailResponse
3425
+ * @param request GetChatappVerifyCodeRequest
3426
+ * @param runtime runtime options for this request RuntimeOptions
3427
+ * @return GetChatappVerifyCodeResponse
3436
3428
  */
3437
- async getChatappTemplateDetail(request) {
3438
- let runtime = new $Util.RuntimeOptions({});
3439
- return await this.getChatappTemplateDetailWithOptions(request, runtime);
3440
- }
3441
3429
  async getChatappVerifyCodeWithOptions(request, runtime) {
3442
3430
  tea_util_1.default.validateModel(request);
3443
3431
  let body = {};
@@ -3469,10 +3457,23 @@ class Client extends openapi_client_1.default {
3469
3457
  });
3470
3458
  return $tea.cast(await this.callApi(params, req, runtime), new GetChatappVerifyCodeResponse({}));
3471
3459
  }
3460
+ /**
3461
+ * 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.
3462
+ *
3463
+ * @param request GetChatappVerifyCodeRequest
3464
+ * @return GetChatappVerifyCodeResponse
3465
+ */
3472
3466
  async getChatappVerifyCode(request) {
3473
3467
  let runtime = new $Util.RuntimeOptions({});
3474
3468
  return await this.getChatappVerifyCodeWithOptions(request, runtime);
3475
3469
  }
3470
+ /**
3471
+ * 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.
3472
+ *
3473
+ * @param request GetMigrationVerifyCodeRequest
3474
+ * @param runtime runtime options for this request RuntimeOptions
3475
+ * @return GetMigrationVerifyCodeResponse
3476
+ */
3476
3477
  async getMigrationVerifyCodeWithOptions(request, runtime) {
3477
3478
  tea_util_1.default.validateModel(request);
3478
3479
  let query = {};
@@ -3504,10 +3505,23 @@ class Client extends openapi_client_1.default {
3504
3505
  });
3505
3506
  return $tea.cast(await this.callApi(params, req, runtime), new GetMigrationVerifyCodeResponse({}));
3506
3507
  }
3508
+ /**
3509
+ * 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.
3510
+ *
3511
+ * @param request GetMigrationVerifyCodeRequest
3512
+ * @return GetMigrationVerifyCodeResponse
3513
+ */
3507
3514
  async getMigrationVerifyCode(request) {
3508
3515
  let runtime = new $Util.RuntimeOptions({});
3509
3516
  return await this.getMigrationVerifyCodeWithOptions(request, runtime);
3510
3517
  }
3518
+ /**
3519
+ * 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.
3520
+ *
3521
+ * @param request GetPhoneNumberVerificationStatusRequest
3522
+ * @param runtime runtime options for this request RuntimeOptions
3523
+ * @return GetPhoneNumberVerificationStatusResponse
3524
+ */
3511
3525
  async getPhoneNumberVerificationStatusWithOptions(request, runtime) {
3512
3526
  tea_util_1.default.validateModel(request);
3513
3527
  let body = {};
@@ -3533,10 +3547,23 @@ class Client extends openapi_client_1.default {
3533
3547
  });
3534
3548
  return $tea.cast(await this.callApi(params, req, runtime), new GetPhoneNumberVerificationStatusResponse({}));
3535
3549
  }
3550
+ /**
3551
+ * 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.
3552
+ *
3553
+ * @param request GetPhoneNumberVerificationStatusRequest
3554
+ * @return GetPhoneNumberVerificationStatusResponse
3555
+ */
3536
3556
  async getPhoneNumberVerificationStatus(request) {
3537
3557
  let runtime = new $Util.RuntimeOptions({});
3538
3558
  return await this.getPhoneNumberVerificationStatusWithOptions(request, runtime);
3539
3559
  }
3560
+ /**
3561
+ * 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.
3562
+ *
3563
+ * @param request IsvGetAppIdRequest
3564
+ * @param runtime runtime options for this request RuntimeOptions
3565
+ * @return IsvGetAppIdResponse
3566
+ */
3540
3567
  async isvGetAppIdWithOptions(request, runtime) {
3541
3568
  tea_util_1.default.validateModel(request);
3542
3569
  let body = {};
@@ -3559,74 +3586,24 @@ class Client extends openapi_client_1.default {
3559
3586
  });
3560
3587
  return $tea.cast(await this.callApi(params, req, runtime), new IsvGetAppIdResponse({}));
3561
3588
  }
3589
+ /**
3590
+ * 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.
3591
+ *
3592
+ * @param request IsvGetAppIdRequest
3593
+ * @return IsvGetAppIdResponse
3594
+ */
3562
3595
  async isvGetAppId(request) {
3563
3596
  let runtime = new $Util.RuntimeOptions({});
3564
3597
  return await this.isvGetAppIdWithOptions(request, runtime);
3565
3598
  }
3566
3599
  /**
3567
3600
  * ### QPS limit
3568
- * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
3601
+ * 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.
3569
3602
  *
3570
- * @param tmpReq ListChatappTemplateRequest
3603
+ * @param tmpReq ModifyChatappTemplateRequest
3571
3604
  * @param runtime runtime options for this request RuntimeOptions
3572
- * @return ListChatappTemplateResponse
3605
+ * @return ModifyChatappTemplateResponse
3573
3606
  */
3574
- async listChatappTemplateWithOptions(tmpReq, runtime) {
3575
- tea_util_1.default.validateModel(tmpReq);
3576
- let request = new ListChatappTemplateShrinkRequest({});
3577
- openapi_util_1.default.convert(tmpReq, request);
3578
- if (!tea_util_1.default.isUnset(tmpReq.page)) {
3579
- request.pageShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json");
3580
- }
3581
- let query = {};
3582
- if (!tea_util_1.default.isUnset(request.auditStatus)) {
3583
- query["AuditStatus"] = request.auditStatus;
3584
- }
3585
- if (!tea_util_1.default.isUnset(request.custSpaceId)) {
3586
- query["CustSpaceId"] = request.custSpaceId;
3587
- }
3588
- if (!tea_util_1.default.isUnset(request.custWabaId)) {
3589
- query["CustWabaId"] = request.custWabaId;
3590
- }
3591
- if (!tea_util_1.default.isUnset(request.isvCode)) {
3592
- query["IsvCode"] = request.isvCode;
3593
- }
3594
- if (!tea_util_1.default.isUnset(request.language)) {
3595
- query["Language"] = request.language;
3596
- }
3597
- if (!tea_util_1.default.isUnset(request.name)) {
3598
- query["Name"] = request.name;
3599
- }
3600
- if (!tea_util_1.default.isUnset(request.pageShrink)) {
3601
- query["Page"] = request.pageShrink;
3602
- }
3603
- let req = new $OpenApi.OpenApiRequest({
3604
- query: openapi_util_1.default.query(query),
3605
- });
3606
- let params = new $OpenApi.Params({
3607
- action: "ListChatappTemplate",
3608
- version: "2020-06-06",
3609
- protocol: "HTTPS",
3610
- pathname: "/",
3611
- method: "POST",
3612
- authType: "AK",
3613
- style: "RPC",
3614
- reqBodyType: "formData",
3615
- bodyType: "json",
3616
- });
3617
- return $tea.cast(await this.callApi(params, req, runtime), new ListChatappTemplateResponse({}));
3618
- }
3619
- /**
3620
- * ### QPS limit
3621
- * You can call this operation up to 5 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
3622
- *
3623
- * @param request ListChatappTemplateRequest
3624
- * @return ListChatappTemplateResponse
3625
- */
3626
- async listChatappTemplate(request) {
3627
- let runtime = new $Util.RuntimeOptions({});
3628
- return await this.listChatappTemplateWithOptions(request, runtime);
3629
- }
3630
3607
  async modifyChatappTemplateWithOptions(tmpReq, runtime) {
3631
3608
  tea_util_1.default.validateModel(tmpReq);
3632
3609
  let request = new ModifyChatappTemplateShrinkRequest({});
@@ -3638,6 +3615,9 @@ class Client extends openapi_client_1.default {
3638
3615
  request.exampleShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
3639
3616
  }
3640
3617
  let body = {};
3618
+ if (!tea_util_1.default.isUnset(request.category)) {
3619
+ body["Category"] = request.category;
3620
+ }
3641
3621
  if (!tea_util_1.default.isUnset(request.componentsShrink)) {
3642
3622
  body["Components"] = request.componentsShrink;
3643
3623
  }
@@ -3659,6 +3639,9 @@ class Client extends openapi_client_1.default {
3659
3639
  if (!tea_util_1.default.isUnset(request.templateCode)) {
3660
3640
  body["TemplateCode"] = request.templateCode;
3661
3641
  }
3642
+ if (!tea_util_1.default.isUnset(request.templateType)) {
3643
+ body["TemplateType"] = request.templateType;
3644
+ }
3662
3645
  let req = new $OpenApi.OpenApiRequest({
3663
3646
  body: openapi_util_1.default.parseToMap(body),
3664
3647
  });
@@ -3675,10 +3658,24 @@ class Client extends openapi_client_1.default {
3675
3658
  });
3676
3659
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyChatappTemplateResponse({}));
3677
3660
  }
3661
+ /**
3662
+ * ### QPS limit
3663
+ * 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.
3664
+ *
3665
+ * @param request ModifyChatappTemplateRequest
3666
+ * @return ModifyChatappTemplateResponse
3667
+ */
3678
3668
  async modifyChatappTemplate(request) {
3679
3669
  let runtime = new $Util.RuntimeOptions({});
3680
3670
  return await this.modifyChatappTemplateWithOptions(request, runtime);
3681
3671
  }
3672
+ /**
3673
+ * 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.
3674
+ *
3675
+ * @param tmpReq ModifyPhoneBusinessProfileRequest
3676
+ * @param runtime runtime options for this request RuntimeOptions
3677
+ * @return ModifyPhoneBusinessProfileResponse
3678
+ */
3682
3679
  async modifyPhoneBusinessProfileWithOptions(tmpReq, runtime) {
3683
3680
  tea_util_1.default.validateModel(tmpReq);
3684
3681
  let request = new ModifyPhoneBusinessProfileShrinkRequest({});
@@ -3727,6 +3724,12 @@ class Client extends openapi_client_1.default {
3727
3724
  });
3728
3725
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyPhoneBusinessProfileResponse({}));
3729
3726
  }
3727
+ /**
3728
+ * 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.
3729
+ *
3730
+ * @param request ModifyPhoneBusinessProfileRequest
3731
+ * @return ModifyPhoneBusinessProfileResponse
3732
+ */
3730
3733
  async modifyPhoneBusinessProfile(request) {
3731
3734
  let runtime = new $Util.RuntimeOptions({});
3732
3735
  return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
@@ -3815,6 +3818,13 @@ class Client extends openapi_client_1.default {
3815
3818
  let runtime = new $Util.RuntimeOptions({});
3816
3819
  return await this.queryChatappPhoneNumbersWithOptions(request, runtime);
3817
3820
  }
3821
+ /**
3822
+ * 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.
3823
+ *
3824
+ * @param request QueryPhoneBusinessProfileRequest
3825
+ * @param runtime runtime options for this request RuntimeOptions
3826
+ * @return QueryPhoneBusinessProfileResponse
3827
+ */
3818
3828
  async queryPhoneBusinessProfileWithOptions(request, runtime) {
3819
3829
  tea_util_1.default.validateModel(request);
3820
3830
  let query = {};
@@ -3840,10 +3850,23 @@ class Client extends openapi_client_1.default {
3840
3850
  });
3841
3851
  return $tea.cast(await this.callApi(params, req, runtime), new QueryPhoneBusinessProfileResponse({}));
3842
3852
  }
3853
+ /**
3854
+ * 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.
3855
+ *
3856
+ * @param request QueryPhoneBusinessProfileRequest
3857
+ * @return QueryPhoneBusinessProfileResponse
3858
+ */
3843
3859
  async queryPhoneBusinessProfile(request) {
3844
3860
  let runtime = new $Util.RuntimeOptions({});
3845
3861
  return await this.queryPhoneBusinessProfileWithOptions(request, runtime);
3846
3862
  }
3863
+ /**
3864
+ * 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.
3865
+ *
3866
+ * @param request QueryWabaBusinessInfoRequest
3867
+ * @param runtime runtime options for this request RuntimeOptions
3868
+ * @return QueryWabaBusinessInfoResponse
3869
+ */
3847
3870
  async queryWabaBusinessInfoWithOptions(request, runtime) {
3848
3871
  tea_util_1.default.validateModel(request);
3849
3872
  let query = {};
@@ -3869,13 +3892,19 @@ class Client extends openapi_client_1.default {
3869
3892
  });
3870
3893
  return $tea.cast(await this.callApi(params, req, runtime), new QueryWabaBusinessInfoResponse({}));
3871
3894
  }
3895
+ /**
3896
+ * 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.
3897
+ *
3898
+ * @param request QueryWabaBusinessInfoRequest
3899
+ * @return QueryWabaBusinessInfoResponse
3900
+ */
3872
3901
  async queryWabaBusinessInfo(request) {
3873
3902
  let runtime = new $Util.RuntimeOptions({});
3874
3903
  return await this.queryWabaBusinessInfoWithOptions(request, runtime);
3875
3904
  }
3876
3905
  /**
3877
- * You can call this operation up to 10 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
3878
- * Can support up to 1,000 numbers per request.
3906
+ * You can call this operation up to 10 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.
3907
+ * You can send messages to up to 1,000 phone numbers in a single request.
3879
3908
  *
3880
3909
  * @param tmpReq SendChatappMassMessageRequest
3881
3910
  * @param runtime runtime options for this request RuntimeOptions
@@ -3910,18 +3939,27 @@ class Client extends openapi_client_1.default {
3910
3939
  if (!tea_util_1.default.isUnset(request.isvCode)) {
3911
3940
  body["IsvCode"] = request.isvCode;
3912
3941
  }
3942
+ if (!tea_util_1.default.isUnset(request.label)) {
3943
+ body["Label"] = request.label;
3944
+ }
3913
3945
  if (!tea_util_1.default.isUnset(request.language)) {
3914
3946
  body["Language"] = request.language;
3915
3947
  }
3916
3948
  if (!tea_util_1.default.isUnset(request.senderListShrink)) {
3917
3949
  body["SenderList"] = request.senderListShrink;
3918
3950
  }
3951
+ if (!tea_util_1.default.isUnset(request.tag)) {
3952
+ body["Tag"] = request.tag;
3953
+ }
3919
3954
  if (!tea_util_1.default.isUnset(request.taskId)) {
3920
3955
  body["TaskId"] = request.taskId;
3921
3956
  }
3922
3957
  if (!tea_util_1.default.isUnset(request.templateCode)) {
3923
3958
  body["TemplateCode"] = request.templateCode;
3924
3959
  }
3960
+ if (!tea_util_1.default.isUnset(request.ttl)) {
3961
+ body["Ttl"] = request.ttl;
3962
+ }
3925
3963
  let req = new $OpenApi.OpenApiRequest({
3926
3964
  body: openapi_util_1.default.parseToMap(body),
3927
3965
  });
@@ -3939,8 +3977,8 @@ class Client extends openapi_client_1.default {
3939
3977
  return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMassMessageResponse({}));
3940
3978
  }
3941
3979
  /**
3942
- * You can call this operation up to 10 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
3943
- * Can support up to 1,000 numbers per request.
3980
+ * You can call this operation up to 10 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.
3981
+ * You can send messages to up to 1,000 phone numbers in a single request.
3944
3982
  *
3945
3983
  * @param request SendChatappMassMessageRequest
3946
3984
  * @return SendChatappMassMessageResponse
@@ -3950,7 +3988,7 @@ class Client extends openapi_client_1.default {
3950
3988
  return await this.sendChatappMassMessageWithOptions(request, runtime);
3951
3989
  }
3952
3990
  /**
3953
- * You can call this operation up to 200 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
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.
3954
3992
  *
3955
3993
  * @param tmpReq SendChatappMessageRequest
3956
3994
  * @param runtime runtime options for this request RuntimeOptions
@@ -4010,6 +4048,9 @@ class Client extends openapi_client_1.default {
4010
4048
  if (!tea_util_1.default.isUnset(request.tag)) {
4011
4049
  body["Tag"] = request.tag;
4012
4050
  }
4051
+ if (!tea_util_1.default.isUnset(request.taskId)) {
4052
+ body["TaskId"] = request.taskId;
4053
+ }
4013
4054
  if (!tea_util_1.default.isUnset(request.templateCode)) {
4014
4055
  body["TemplateCode"] = request.templateCode;
4015
4056
  }
@@ -4046,7 +4087,7 @@ class Client extends openapi_client_1.default {
4046
4087
  return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMessageResponse({}));
4047
4088
  }
4048
4089
  /**
4049
- * You can call this operation up to 200 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
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.
4050
4091
  *
4051
4092
  * @param request SendChatappMessageRequest
4052
4093
  * @return SendChatappMessageResponse
@@ -4055,6 +4096,57 @@ class Client extends openapi_client_1.default {
4055
4096
  let runtime = new $Util.RuntimeOptions({});
4056
4097
  return await this.sendChatappMessageWithOptions(request, runtime);
4057
4098
  }
4099
+ async submitIsvCustomerTermsWithOptions(request, runtime) {
4100
+ tea_util_1.default.validateModel(request);
4101
+ let query = {};
4102
+ if (!tea_util_1.default.isUnset(request.businessDesc)) {
4103
+ query["BusinessDesc"] = request.businessDesc;
4104
+ }
4105
+ if (!tea_util_1.default.isUnset(request.contactMail)) {
4106
+ query["ContactMail"] = request.contactMail;
4107
+ }
4108
+ if (!tea_util_1.default.isUnset(request.countryId)) {
4109
+ query["CountryId"] = request.countryId;
4110
+ }
4111
+ if (!tea_util_1.default.isUnset(request.custName)) {
4112
+ query["CustName"] = request.custName;
4113
+ }
4114
+ if (!tea_util_1.default.isUnset(request.custSpaceId)) {
4115
+ query["CustSpaceId"] = request.custSpaceId;
4116
+ }
4117
+ if (!tea_util_1.default.isUnset(request.isvTerms)) {
4118
+ query["IsvTerms"] = request.isvTerms;
4119
+ }
4120
+ if (!tea_util_1.default.isUnset(request.officeAddress)) {
4121
+ query["OfficeAddress"] = request.officeAddress;
4122
+ }
4123
+ let req = new $OpenApi.OpenApiRequest({
4124
+ query: openapi_util_1.default.query(query),
4125
+ });
4126
+ let params = new $OpenApi.Params({
4127
+ action: "SubmitIsvCustomerTerms",
4128
+ version: "2020-06-06",
4129
+ protocol: "HTTPS",
4130
+ pathname: "/",
4131
+ method: "POST",
4132
+ authType: "AK",
4133
+ style: "RPC",
4134
+ reqBodyType: "formData",
4135
+ bodyType: "json",
4136
+ });
4137
+ return $tea.cast(await this.callApi(params, req, runtime), new SubmitIsvCustomerTermsResponse({}));
4138
+ }
4139
+ async submitIsvCustomerTerms(request) {
4140
+ let runtime = new $Util.RuntimeOptions({});
4141
+ return await this.submitIsvCustomerTermsWithOptions(request, runtime);
4142
+ }
4143
+ /**
4144
+ * 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.
4145
+ *
4146
+ * @param request UpdateAccountWebhookRequest
4147
+ * @param runtime runtime options for this request RuntimeOptions
4148
+ * @return UpdateAccountWebhookResponse
4149
+ */
4058
4150
  async updateAccountWebhookWithOptions(request, runtime) {
4059
4151
  tea_util_1.default.validateModel(request);
4060
4152
  let query = {};
@@ -4086,10 +4178,23 @@ class Client extends openapi_client_1.default {
4086
4178
  });
4087
4179
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateAccountWebhookResponse({}));
4088
4180
  }
4181
+ /**
4182
+ * 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.
4183
+ *
4184
+ * @param request UpdateAccountWebhookRequest
4185
+ * @return UpdateAccountWebhookResponse
4186
+ */
4089
4187
  async updateAccountWebhook(request) {
4090
4188
  let runtime = new $Util.RuntimeOptions({});
4091
4189
  return await this.updateAccountWebhookWithOptions(request, runtime);
4092
4190
  }
4191
+ /**
4192
+ * 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.
4193
+ *
4194
+ * @param request UpdatePhoneWebhookRequest
4195
+ * @param runtime runtime options for this request RuntimeOptions
4196
+ * @return UpdatePhoneWebhookResponse
4197
+ */
4093
4198
  async updatePhoneWebhookWithOptions(request, runtime) {
4094
4199
  tea_util_1.default.validateModel(request);
4095
4200
  let query = {};
@@ -4127,6 +4232,12 @@ class Client extends openapi_client_1.default {
4127
4232
  });
4128
4233
  return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneWebhookResponse({}));
4129
4234
  }
4235
+ /**
4236
+ * 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.
4237
+ *
4238
+ * @param request UpdatePhoneWebhookRequest
4239
+ * @return UpdatePhoneWebhookResponse
4240
+ */
4130
4241
  async updatePhoneWebhook(request) {
4131
4242
  let runtime = new $Util.RuntimeOptions({});
4132
4243
  return await this.updatePhoneWebhookWithOptions(request, runtime);