@alicloud/cams20200606 1.0.14 → 1.0.15

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 CHANGED
@@ -615,20 +615,25 @@ export declare class SendChatappMassMessageResponse extends $tea.Model {
615
615
  export declare class SendChatappMessageRequest extends $tea.Model {
616
616
  channelType?: string;
617
617
  content?: string;
618
+ contextMessageId?: string;
618
619
  custSpaceId?: string;
619
620
  custWabaId?: string;
620
621
  fallBackContent?: string;
621
622
  fallBackId?: string;
622
623
  from?: string;
623
624
  isvCode?: string;
625
+ label?: string;
624
626
  language?: string;
625
627
  messageType?: string;
626
628
  payload?: string[];
629
+ tag?: string;
627
630
  templateCode?: string;
628
631
  templateParams?: {
629
632
  [key: string]: string;
630
633
  };
631
634
  to?: string;
635
+ trackingData?: string;
636
+ ttl?: number;
632
637
  type?: string;
633
638
  static names(): {
634
639
  [key: string]: string;
@@ -643,18 +648,23 @@ export declare class SendChatappMessageRequest extends $tea.Model {
643
648
  export declare class SendChatappMessageShrinkRequest extends $tea.Model {
644
649
  channelType?: string;
645
650
  content?: string;
651
+ contextMessageId?: string;
646
652
  custSpaceId?: string;
647
653
  custWabaId?: string;
648
654
  fallBackContent?: string;
649
655
  fallBackId?: string;
650
656
  from?: string;
651
657
  isvCode?: string;
658
+ label?: string;
652
659
  language?: string;
653
660
  messageType?: string;
654
661
  payloadShrink?: string;
662
+ tag?: string;
655
663
  templateCode?: string;
656
664
  templateParamsShrink?: string;
657
665
  to?: string;
666
+ trackingData?: string;
667
+ ttl?: number;
658
668
  type?: string;
659
669
  static names(): {
660
670
  [key: string]: string;
@@ -1038,6 +1048,10 @@ export declare class QueryChatappBindWabaResponseBodyData extends $tea.Model {
1038
1048
  });
1039
1049
  }
1040
1050
  export declare class QueryChatappPhoneNumbersResponseBodyPhoneNumbers extends $tea.Model {
1051
+ codeVerificationStatus?: string;
1052
+ messagingLimitTier?: string;
1053
+ nameStatus?: string;
1054
+ newNameStatus?: string;
1041
1055
  phoneNumber?: string;
1042
1056
  qualityRating?: string;
1043
1057
  status?: string;
@@ -1077,26 +1091,166 @@ export default class Client extends OpenApi {
1077
1091
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
1078
1092
  [key: string]: string;
1079
1093
  }, endpoint: string): string;
1094
+ /**
1095
+ * You can call this operation up to 100 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.
1096
+ *
1097
+ * @param tmpReq BeeBotAssociateRequest
1098
+ * @param runtime runtime options for this request RuntimeOptions
1099
+ * @return BeeBotAssociateResponse
1100
+ */
1080
1101
  beeBotAssociateWithOptions(tmpReq: BeeBotAssociateRequest, runtime: $Util.RuntimeOptions): Promise<BeeBotAssociateResponse>;
1102
+ /**
1103
+ * You can call this operation up to 100 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.
1104
+ *
1105
+ * @param request BeeBotAssociateRequest
1106
+ * @return BeeBotAssociateResponse
1107
+ */
1081
1108
  beeBotAssociate(request: BeeBotAssociateRequest): Promise<BeeBotAssociateResponse>;
1109
+ /**
1110
+ * You can call this operation up to 100 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.
1111
+ *
1112
+ * @param tmpReq BeeBotChatRequest
1113
+ * @param runtime runtime options for this request RuntimeOptions
1114
+ * @return BeeBotChatResponse
1115
+ */
1082
1116
  beeBotChatWithOptions(tmpReq: BeeBotChatRequest, runtime: $Util.RuntimeOptions): Promise<BeeBotChatResponse>;
1117
+ /**
1118
+ * You can call this operation up to 100 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.
1119
+ *
1120
+ * @param request BeeBotChatRequest
1121
+ * @return BeeBotChatResponse
1122
+ */
1083
1123
  beeBotChat(request: BeeBotChatRequest): Promise<BeeBotChatResponse>;
1124
+ /**
1125
+ * ### QPS limit
1126
+ * 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.
1127
+ *
1128
+ * @param tmpReq CreateChatappTemplateRequest
1129
+ * @param runtime runtime options for this request RuntimeOptions
1130
+ * @return CreateChatappTemplateResponse
1131
+ */
1084
1132
  createChatappTemplateWithOptions(tmpReq: CreateChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<CreateChatappTemplateResponse>;
1133
+ /**
1134
+ * ### QPS limit
1135
+ * 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.
1136
+ *
1137
+ * @param request CreateChatappTemplateRequest
1138
+ * @return CreateChatappTemplateResponse
1139
+ */
1085
1140
  createChatappTemplate(request: CreateChatappTemplateRequest): Promise<CreateChatappTemplateResponse>;
1141
+ /**
1142
+ * ### QPS limit
1143
+ * 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.
1144
+ *
1145
+ * @param request DeleteChatappTemplateRequest
1146
+ * @param runtime runtime options for this request RuntimeOptions
1147
+ * @return DeleteChatappTemplateResponse
1148
+ */
1086
1149
  deleteChatappTemplateWithOptions(request: DeleteChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<DeleteChatappTemplateResponse>;
1150
+ /**
1151
+ * ### QPS limit
1152
+ * 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.
1153
+ *
1154
+ * @param request DeleteChatappTemplateRequest
1155
+ * @return DeleteChatappTemplateResponse
1156
+ */
1087
1157
  deleteChatappTemplate(request: DeleteChatappTemplateRequest): Promise<DeleteChatappTemplateResponse>;
1158
+ /**
1159
+ * ### QPS limit
1160
+ * 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.
1161
+ *
1162
+ * @param request GetChatappTemplateDetailRequest
1163
+ * @param runtime runtime options for this request RuntimeOptions
1164
+ * @return GetChatappTemplateDetailResponse
1165
+ */
1088
1166
  getChatappTemplateDetailWithOptions(request: GetChatappTemplateDetailRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappTemplateDetailResponse>;
1167
+ /**
1168
+ * ### QPS limit
1169
+ * 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.
1170
+ *
1171
+ * @param request GetChatappTemplateDetailRequest
1172
+ * @return GetChatappTemplateDetailResponse
1173
+ */
1089
1174
  getChatappTemplateDetail(request: GetChatappTemplateDetailRequest): Promise<GetChatappTemplateDetailResponse>;
1175
+ /**
1176
+ * ### QPS limit
1177
+ * 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.
1178
+ *
1179
+ * @param tmpReq ListChatappTemplateRequest
1180
+ * @param runtime runtime options for this request RuntimeOptions
1181
+ * @return ListChatappTemplateResponse
1182
+ */
1090
1183
  listChatappTemplateWithOptions(tmpReq: ListChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ListChatappTemplateResponse>;
1184
+ /**
1185
+ * ### QPS limit
1186
+ * 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.
1187
+ *
1188
+ * @param request ListChatappTemplateRequest
1189
+ * @return ListChatappTemplateResponse
1190
+ */
1091
1191
  listChatappTemplate(request: ListChatappTemplateRequest): Promise<ListChatappTemplateResponse>;
1092
1192
  modifyChatappTemplateWithOptions(tmpReq: ModifyChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ModifyChatappTemplateResponse>;
1093
1193
  modifyChatappTemplate(request: ModifyChatappTemplateRequest): Promise<ModifyChatappTemplateResponse>;
1194
+ /**
1195
+ * 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.
1196
+ *
1197
+ * @param request QueryChatappBindWabaRequest
1198
+ * @param runtime runtime options for this request RuntimeOptions
1199
+ * @return QueryChatappBindWabaResponse
1200
+ */
1094
1201
  queryChatappBindWabaWithOptions(request: QueryChatappBindWabaRequest, runtime: $Util.RuntimeOptions): Promise<QueryChatappBindWabaResponse>;
1202
+ /**
1203
+ * 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.
1204
+ *
1205
+ * @param request QueryChatappBindWabaRequest
1206
+ * @return QueryChatappBindWabaResponse
1207
+ */
1095
1208
  queryChatappBindWaba(request: QueryChatappBindWabaRequest): Promise<QueryChatappBindWabaResponse>;
1209
+ /**
1210
+ * 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.
1211
+ *
1212
+ * @param request QueryChatappPhoneNumbersRequest
1213
+ * @param runtime runtime options for this request RuntimeOptions
1214
+ * @return QueryChatappPhoneNumbersResponse
1215
+ */
1096
1216
  queryChatappPhoneNumbersWithOptions(request: QueryChatappPhoneNumbersRequest, runtime: $Util.RuntimeOptions): Promise<QueryChatappPhoneNumbersResponse>;
1217
+ /**
1218
+ * 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.
1219
+ *
1220
+ * @param request QueryChatappPhoneNumbersRequest
1221
+ * @return QueryChatappPhoneNumbersResponse
1222
+ */
1097
1223
  queryChatappPhoneNumbers(request: QueryChatappPhoneNumbersRequest): Promise<QueryChatappPhoneNumbersResponse>;
1224
+ /**
1225
+ * 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.
1226
+ * Can support up to 1,000 numbers per request.
1227
+ *
1228
+ * @param tmpReq SendChatappMassMessageRequest
1229
+ * @param runtime runtime options for this request RuntimeOptions
1230
+ * @return SendChatappMassMessageResponse
1231
+ */
1098
1232
  sendChatappMassMessageWithOptions(tmpReq: SendChatappMassMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMassMessageResponse>;
1233
+ /**
1234
+ * 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.
1235
+ * Can support up to 1,000 numbers per request.
1236
+ *
1237
+ * @param request SendChatappMassMessageRequest
1238
+ * @return SendChatappMassMessageResponse
1239
+ */
1099
1240
  sendChatappMassMessage(request: SendChatappMassMessageRequest): Promise<SendChatappMassMessageResponse>;
1241
+ /**
1242
+ * 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.
1243
+ *
1244
+ * @param tmpReq SendChatappMessageRequest
1245
+ * @param runtime runtime options for this request RuntimeOptions
1246
+ * @return SendChatappMessageResponse
1247
+ */
1100
1248
  sendChatappMessageWithOptions(tmpReq: SendChatappMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMessageResponse>;
1249
+ /**
1250
+ * 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.
1251
+ *
1252
+ * @param request SendChatappMessageRequest
1253
+ * @return SendChatappMessageResponse
1254
+ */
1101
1255
  sendChatappMessage(request: SendChatappMessageRequest): Promise<SendChatappMessageResponse>;
1102
1256
  }
package/dist/client.js CHANGED
@@ -903,18 +903,23 @@ class SendChatappMessageRequest extends $tea.Model {
903
903
  return {
904
904
  channelType: 'ChannelType',
905
905
  content: 'Content',
906
+ contextMessageId: 'ContextMessageId',
906
907
  custSpaceId: 'CustSpaceId',
907
908
  custWabaId: 'CustWabaId',
908
909
  fallBackContent: 'FallBackContent',
909
910
  fallBackId: 'FallBackId',
910
911
  from: 'From',
911
912
  isvCode: 'IsvCode',
913
+ label: 'Label',
912
914
  language: 'Language',
913
915
  messageType: 'MessageType',
914
916
  payload: 'Payload',
917
+ tag: 'Tag',
915
918
  templateCode: 'TemplateCode',
916
919
  templateParams: 'TemplateParams',
917
920
  to: 'To',
921
+ trackingData: 'TrackingData',
922
+ ttl: 'Ttl',
918
923
  type: 'Type',
919
924
  };
920
925
  }
@@ -922,18 +927,23 @@ class SendChatappMessageRequest extends $tea.Model {
922
927
  return {
923
928
  channelType: 'string',
924
929
  content: 'string',
930
+ contextMessageId: 'string',
925
931
  custSpaceId: 'string',
926
932
  custWabaId: 'string',
927
933
  fallBackContent: 'string',
928
934
  fallBackId: 'string',
929
935
  from: 'string',
930
936
  isvCode: 'string',
937
+ label: 'string',
931
938
  language: 'string',
932
939
  messageType: 'string',
933
940
  payload: { 'type': 'array', 'itemType': 'string' },
941
+ tag: 'string',
934
942
  templateCode: 'string',
935
943
  templateParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
936
944
  to: 'string',
945
+ trackingData: 'string',
946
+ ttl: 'number',
937
947
  type: 'string',
938
948
  };
939
949
  }
@@ -947,18 +957,23 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
947
957
  return {
948
958
  channelType: 'ChannelType',
949
959
  content: 'Content',
960
+ contextMessageId: 'ContextMessageId',
950
961
  custSpaceId: 'CustSpaceId',
951
962
  custWabaId: 'CustWabaId',
952
963
  fallBackContent: 'FallBackContent',
953
964
  fallBackId: 'FallBackId',
954
965
  from: 'From',
955
966
  isvCode: 'IsvCode',
967
+ label: 'Label',
956
968
  language: 'Language',
957
969
  messageType: 'MessageType',
958
970
  payloadShrink: 'Payload',
971
+ tag: 'Tag',
959
972
  templateCode: 'TemplateCode',
960
973
  templateParamsShrink: 'TemplateParams',
961
974
  to: 'To',
975
+ trackingData: 'TrackingData',
976
+ ttl: 'Ttl',
962
977
  type: 'Type',
963
978
  };
964
979
  }
@@ -966,18 +981,23 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
966
981
  return {
967
982
  channelType: 'string',
968
983
  content: 'string',
984
+ contextMessageId: 'string',
969
985
  custSpaceId: 'string',
970
986
  custWabaId: 'string',
971
987
  fallBackContent: 'string',
972
988
  fallBackId: 'string',
973
989
  from: 'string',
974
990
  isvCode: 'string',
991
+ label: 'string',
975
992
  language: 'string',
976
993
  messageType: 'string',
977
994
  payloadShrink: 'string',
995
+ tag: 'string',
978
996
  templateCode: 'string',
979
997
  templateParamsShrink: 'string',
980
998
  to: 'string',
999
+ trackingData: 'string',
1000
+ ttl: 'number',
981
1001
  type: 'string',
982
1002
  };
983
1003
  }
@@ -1531,6 +1551,10 @@ class QueryChatappPhoneNumbersResponseBodyPhoneNumbers extends $tea.Model {
1531
1551
  }
1532
1552
  static names() {
1533
1553
  return {
1554
+ codeVerificationStatus: 'CodeVerificationStatus',
1555
+ messagingLimitTier: 'MessagingLimitTier',
1556
+ nameStatus: 'NameStatus',
1557
+ newNameStatus: 'NewNameStatus',
1534
1558
  phoneNumber: 'PhoneNumber',
1535
1559
  qualityRating: 'QualityRating',
1536
1560
  status: 'Status',
@@ -1543,6 +1567,10 @@ class QueryChatappPhoneNumbersResponseBodyPhoneNumbers extends $tea.Model {
1543
1567
  }
1544
1568
  static types() {
1545
1569
  return {
1570
+ codeVerificationStatus: 'string',
1571
+ messagingLimitTier: 'string',
1572
+ nameStatus: 'string',
1573
+ newNameStatus: 'string',
1546
1574
  phoneNumber: 'string',
1547
1575
  qualityRating: 'string',
1548
1576
  status: 'string',
@@ -1591,6 +1619,13 @@ class Client extends openapi_client_1.default {
1591
1619
  }
1592
1620
  return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
1593
1621
  }
1622
+ /**
1623
+ * You can call this operation up to 100 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.
1624
+ *
1625
+ * @param tmpReq BeeBotAssociateRequest
1626
+ * @param runtime runtime options for this request RuntimeOptions
1627
+ * @return BeeBotAssociateResponse
1628
+ */
1594
1629
  async beeBotAssociateWithOptions(tmpReq, runtime) {
1595
1630
  tea_util_1.default.validateModel(tmpReq);
1596
1631
  let request = new BeeBotAssociateShrinkRequest({});
@@ -1636,10 +1671,23 @@ class Client extends openapi_client_1.default {
1636
1671
  });
1637
1672
  return $tea.cast(await this.callApi(params, req, runtime), new BeeBotAssociateResponse({}));
1638
1673
  }
1674
+ /**
1675
+ * You can call this operation up to 100 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.
1676
+ *
1677
+ * @param request BeeBotAssociateRequest
1678
+ * @return BeeBotAssociateResponse
1679
+ */
1639
1680
  async beeBotAssociate(request) {
1640
1681
  let runtime = new $Util.RuntimeOptions({});
1641
1682
  return await this.beeBotAssociateWithOptions(request, runtime);
1642
1683
  }
1684
+ /**
1685
+ * You can call this operation up to 100 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.
1686
+ *
1687
+ * @param tmpReq BeeBotChatRequest
1688
+ * @param runtime runtime options for this request RuntimeOptions
1689
+ * @return BeeBotChatResponse
1690
+ */
1643
1691
  async beeBotChatWithOptions(tmpReq, runtime) {
1644
1692
  tea_util_1.default.validateModel(tmpReq);
1645
1693
  let request = new BeeBotChatShrinkRequest({});
@@ -1700,10 +1748,24 @@ class Client extends openapi_client_1.default {
1700
1748
  });
1701
1749
  return $tea.cast(await this.callApi(params, req, runtime), new BeeBotChatResponse({}));
1702
1750
  }
1751
+ /**
1752
+ * You can call this operation up to 100 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.
1753
+ *
1754
+ * @param request BeeBotChatRequest
1755
+ * @return BeeBotChatResponse
1756
+ */
1703
1757
  async beeBotChat(request) {
1704
1758
  let runtime = new $Util.RuntimeOptions({});
1705
1759
  return await this.beeBotChatWithOptions(request, runtime);
1706
1760
  }
1761
+ /**
1762
+ * ### QPS limit
1763
+ * 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.
1764
+ *
1765
+ * @param tmpReq CreateChatappTemplateRequest
1766
+ * @param runtime runtime options for this request RuntimeOptions
1767
+ * @return CreateChatappTemplateResponse
1768
+ */
1707
1769
  async createChatappTemplateWithOptions(tmpReq, runtime) {
1708
1770
  tea_util_1.default.validateModel(tmpReq);
1709
1771
  let request = new CreateChatappTemplateShrinkRequest({});
@@ -1760,10 +1822,25 @@ class Client extends openapi_client_1.default {
1760
1822
  });
1761
1823
  return $tea.cast(await this.callApi(params, req, runtime), new CreateChatappTemplateResponse({}));
1762
1824
  }
1825
+ /**
1826
+ * ### QPS limit
1827
+ * 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.
1828
+ *
1829
+ * @param request CreateChatappTemplateRequest
1830
+ * @return CreateChatappTemplateResponse
1831
+ */
1763
1832
  async createChatappTemplate(request) {
1764
1833
  let runtime = new $Util.RuntimeOptions({});
1765
1834
  return await this.createChatappTemplateWithOptions(request, runtime);
1766
1835
  }
1836
+ /**
1837
+ * ### QPS limit
1838
+ * 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.
1839
+ *
1840
+ * @param request DeleteChatappTemplateRequest
1841
+ * @param runtime runtime options for this request RuntimeOptions
1842
+ * @return DeleteChatappTemplateResponse
1843
+ */
1767
1844
  async deleteChatappTemplateWithOptions(request, runtime) {
1768
1845
  tea_util_1.default.validateModel(request);
1769
1846
  let query = {};
@@ -1795,10 +1872,25 @@ class Client extends openapi_client_1.default {
1795
1872
  });
1796
1873
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteChatappTemplateResponse({}));
1797
1874
  }
1875
+ /**
1876
+ * ### QPS limit
1877
+ * 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.
1878
+ *
1879
+ * @param request DeleteChatappTemplateRequest
1880
+ * @return DeleteChatappTemplateResponse
1881
+ */
1798
1882
  async deleteChatappTemplate(request) {
1799
1883
  let runtime = new $Util.RuntimeOptions({});
1800
1884
  return await this.deleteChatappTemplateWithOptions(request, runtime);
1801
1885
  }
1886
+ /**
1887
+ * ### QPS limit
1888
+ * 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.
1889
+ *
1890
+ * @param request GetChatappTemplateDetailRequest
1891
+ * @param runtime runtime options for this request RuntimeOptions
1892
+ * @return GetChatappTemplateDetailResponse
1893
+ */
1802
1894
  async getChatappTemplateDetailWithOptions(request, runtime) {
1803
1895
  tea_util_1.default.validateModel(request);
1804
1896
  let query = {};
@@ -1833,16 +1925,31 @@ class Client extends openapi_client_1.default {
1833
1925
  });
1834
1926
  return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateDetailResponse({}));
1835
1927
  }
1928
+ /**
1929
+ * ### QPS limit
1930
+ * 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.
1931
+ *
1932
+ * @param request GetChatappTemplateDetailRequest
1933
+ * @return GetChatappTemplateDetailResponse
1934
+ */
1836
1935
  async getChatappTemplateDetail(request) {
1837
1936
  let runtime = new $Util.RuntimeOptions({});
1838
1937
  return await this.getChatappTemplateDetailWithOptions(request, runtime);
1839
1938
  }
1939
+ /**
1940
+ * ### QPS limit
1941
+ * 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.
1942
+ *
1943
+ * @param tmpReq ListChatappTemplateRequest
1944
+ * @param runtime runtime options for this request RuntimeOptions
1945
+ * @return ListChatappTemplateResponse
1946
+ */
1840
1947
  async listChatappTemplateWithOptions(tmpReq, runtime) {
1841
1948
  tea_util_1.default.validateModel(tmpReq);
1842
1949
  let request = new ListChatappTemplateShrinkRequest({});
1843
1950
  openapi_util_1.default.convert(tmpReq, request);
1844
- if (!tea_util_1.default.isUnset($tea.toMap(tmpReq.page))) {
1845
- request.pageShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle($tea.toMap(tmpReq.page), "Page", "json");
1951
+ if (!tea_util_1.default.isUnset(tmpReq.page)) {
1952
+ request.pageShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json");
1846
1953
  }
1847
1954
  let query = {};
1848
1955
  if (!tea_util_1.default.isUnset(request.auditStatus)) {
@@ -1882,6 +1989,13 @@ class Client extends openapi_client_1.default {
1882
1989
  });
1883
1990
  return $tea.cast(await this.callApi(params, req, runtime), new ListChatappTemplateResponse({}));
1884
1991
  }
1992
+ /**
1993
+ * ### QPS limit
1994
+ * 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.
1995
+ *
1996
+ * @param request ListChatappTemplateRequest
1997
+ * @return ListChatappTemplateResponse
1998
+ */
1885
1999
  async listChatappTemplate(request) {
1886
2000
  let runtime = new $Util.RuntimeOptions({});
1887
2001
  return await this.listChatappTemplateWithOptions(request, runtime);
@@ -1938,6 +2052,13 @@ class Client extends openapi_client_1.default {
1938
2052
  let runtime = new $Util.RuntimeOptions({});
1939
2053
  return await this.modifyChatappTemplateWithOptions(request, runtime);
1940
2054
  }
2055
+ /**
2056
+ * 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.
2057
+ *
2058
+ * @param request QueryChatappBindWabaRequest
2059
+ * @param runtime runtime options for this request RuntimeOptions
2060
+ * @return QueryChatappBindWabaResponse
2061
+ */
1941
2062
  async queryChatappBindWabaWithOptions(request, runtime) {
1942
2063
  tea_util_1.default.validateModel(request);
1943
2064
  let query = {};
@@ -1963,10 +2084,23 @@ class Client extends openapi_client_1.default {
1963
2084
  });
1964
2085
  return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappBindWabaResponse({}));
1965
2086
  }
2087
+ /**
2088
+ * 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.
2089
+ *
2090
+ * @param request QueryChatappBindWabaRequest
2091
+ * @return QueryChatappBindWabaResponse
2092
+ */
1966
2093
  async queryChatappBindWaba(request) {
1967
2094
  let runtime = new $Util.RuntimeOptions({});
1968
2095
  return await this.queryChatappBindWabaWithOptions(request, runtime);
1969
2096
  }
2097
+ /**
2098
+ * 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.
2099
+ *
2100
+ * @param request QueryChatappPhoneNumbersRequest
2101
+ * @param runtime runtime options for this request RuntimeOptions
2102
+ * @return QueryChatappPhoneNumbersResponse
2103
+ */
1970
2104
  async queryChatappPhoneNumbersWithOptions(request, runtime) {
1971
2105
  tea_util_1.default.validateModel(request);
1972
2106
  let query = {};
@@ -1992,10 +2126,24 @@ class Client extends openapi_client_1.default {
1992
2126
  });
1993
2127
  return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappPhoneNumbersResponse({}));
1994
2128
  }
2129
+ /**
2130
+ * 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.
2131
+ *
2132
+ * @param request QueryChatappPhoneNumbersRequest
2133
+ * @return QueryChatappPhoneNumbersResponse
2134
+ */
1995
2135
  async queryChatappPhoneNumbers(request) {
1996
2136
  let runtime = new $Util.RuntimeOptions({});
1997
2137
  return await this.queryChatappPhoneNumbersWithOptions(request, runtime);
1998
2138
  }
2139
+ /**
2140
+ * 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.
2141
+ * Can support up to 1,000 numbers per request.
2142
+ *
2143
+ * @param tmpReq SendChatappMassMessageRequest
2144
+ * @param runtime runtime options for this request RuntimeOptions
2145
+ * @return SendChatappMassMessageResponse
2146
+ */
1999
2147
  async sendChatappMassMessageWithOptions(tmpReq, runtime) {
2000
2148
  tea_util_1.default.validateModel(tmpReq);
2001
2149
  let request = new SendChatappMassMessageShrinkRequest({});
@@ -2053,10 +2201,24 @@ class Client extends openapi_client_1.default {
2053
2201
  });
2054
2202
  return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMassMessageResponse({}));
2055
2203
  }
2204
+ /**
2205
+ * 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.
2206
+ * Can support up to 1,000 numbers per request.
2207
+ *
2208
+ * @param request SendChatappMassMessageRequest
2209
+ * @return SendChatappMassMessageResponse
2210
+ */
2056
2211
  async sendChatappMassMessage(request) {
2057
2212
  let runtime = new $Util.RuntimeOptions({});
2058
2213
  return await this.sendChatappMassMessageWithOptions(request, runtime);
2059
2214
  }
2215
+ /**
2216
+ * 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.
2217
+ *
2218
+ * @param tmpReq SendChatappMessageRequest
2219
+ * @param runtime runtime options for this request RuntimeOptions
2220
+ * @return SendChatappMessageResponse
2221
+ */
2060
2222
  async sendChatappMessageWithOptions(tmpReq, runtime) {
2061
2223
  tea_util_1.default.validateModel(tmpReq);
2062
2224
  let request = new SendChatappMessageShrinkRequest({});
@@ -2078,6 +2240,9 @@ class Client extends openapi_client_1.default {
2078
2240
  if (!tea_util_1.default.isUnset(request.channelType)) {
2079
2241
  body["ChannelType"] = request.channelType;
2080
2242
  }
2243
+ if (!tea_util_1.default.isUnset(request.contextMessageId)) {
2244
+ body["ContextMessageId"] = request.contextMessageId;
2245
+ }
2081
2246
  if (!tea_util_1.default.isUnset(request.custSpaceId)) {
2082
2247
  body["CustSpaceId"] = request.custSpaceId;
2083
2248
  }
@@ -2096,12 +2261,18 @@ class Client extends openapi_client_1.default {
2096
2261
  if (!tea_util_1.default.isUnset(request.isvCode)) {
2097
2262
  body["IsvCode"] = request.isvCode;
2098
2263
  }
2264
+ if (!tea_util_1.default.isUnset(request.label)) {
2265
+ body["Label"] = request.label;
2266
+ }
2099
2267
  if (!tea_util_1.default.isUnset(request.language)) {
2100
2268
  body["Language"] = request.language;
2101
2269
  }
2102
2270
  if (!tea_util_1.default.isUnset(request.messageType)) {
2103
2271
  body["MessageType"] = request.messageType;
2104
2272
  }
2273
+ if (!tea_util_1.default.isUnset(request.tag)) {
2274
+ body["Tag"] = request.tag;
2275
+ }
2105
2276
  if (!tea_util_1.default.isUnset(request.templateCode)) {
2106
2277
  body["TemplateCode"] = request.templateCode;
2107
2278
  }
@@ -2111,6 +2282,12 @@ class Client extends openapi_client_1.default {
2111
2282
  if (!tea_util_1.default.isUnset(request.to)) {
2112
2283
  body["To"] = request.to;
2113
2284
  }
2285
+ if (!tea_util_1.default.isUnset(request.trackingData)) {
2286
+ body["TrackingData"] = request.trackingData;
2287
+ }
2288
+ if (!tea_util_1.default.isUnset(request.ttl)) {
2289
+ body["Ttl"] = request.ttl;
2290
+ }
2114
2291
  if (!tea_util_1.default.isUnset(request.type)) {
2115
2292
  body["Type"] = request.type;
2116
2293
  }
@@ -2131,6 +2308,12 @@ class Client extends openapi_client_1.default {
2131
2308
  });
2132
2309
  return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMessageResponse({}));
2133
2310
  }
2311
+ /**
2312
+ * 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.
2313
+ *
2314
+ * @param request SendChatappMessageRequest
2315
+ * @return SendChatappMessageResponse
2316
+ */
2134
2317
  async sendChatappMessage(request) {
2135
2318
  let runtime = new $Util.RuntimeOptions({});
2136
2319
  return await this.sendChatappMessageWithOptions(request, runtime);