@alicloud/cams20200606 1.0.18 → 1.0.19
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 +239 -0
- package/dist/client.js +425 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +535 -0
package/dist/client.js
CHANGED
|
@@ -873,6 +873,74 @@ class DeleteChatappTemplateResponse extends $tea.Model {
|
|
|
873
873
|
}
|
|
874
874
|
}
|
|
875
875
|
exports.DeleteChatappTemplateResponse = DeleteChatappTemplateResponse;
|
|
876
|
+
class GetChatappTemplateDetailRequest extends $tea.Model {
|
|
877
|
+
constructor(map) {
|
|
878
|
+
super(map);
|
|
879
|
+
}
|
|
880
|
+
static names() {
|
|
881
|
+
return {
|
|
882
|
+
custSpaceId: 'CustSpaceId',
|
|
883
|
+
custWabaId: 'CustWabaId',
|
|
884
|
+
isvCode: 'IsvCode',
|
|
885
|
+
language: 'Language',
|
|
886
|
+
templateCode: 'TemplateCode',
|
|
887
|
+
templateType: 'TemplateType',
|
|
888
|
+
};
|
|
889
|
+
}
|
|
890
|
+
static types() {
|
|
891
|
+
return {
|
|
892
|
+
custSpaceId: 'string',
|
|
893
|
+
custWabaId: 'string',
|
|
894
|
+
isvCode: 'string',
|
|
895
|
+
language: 'string',
|
|
896
|
+
templateCode: 'string',
|
|
897
|
+
templateType: 'string',
|
|
898
|
+
};
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
exports.GetChatappTemplateDetailRequest = GetChatappTemplateDetailRequest;
|
|
902
|
+
class GetChatappTemplateDetailResponseBody extends $tea.Model {
|
|
903
|
+
constructor(map) {
|
|
904
|
+
super(map);
|
|
905
|
+
}
|
|
906
|
+
static names() {
|
|
907
|
+
return {
|
|
908
|
+
code: 'Code',
|
|
909
|
+
data: 'Data',
|
|
910
|
+
message: 'Message',
|
|
911
|
+
requestId: 'RequestId',
|
|
912
|
+
};
|
|
913
|
+
}
|
|
914
|
+
static types() {
|
|
915
|
+
return {
|
|
916
|
+
code: 'string',
|
|
917
|
+
data: GetChatappTemplateDetailResponseBodyData,
|
|
918
|
+
message: 'string',
|
|
919
|
+
requestId: 'string',
|
|
920
|
+
};
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
exports.GetChatappTemplateDetailResponseBody = GetChatappTemplateDetailResponseBody;
|
|
924
|
+
class GetChatappTemplateDetailResponse extends $tea.Model {
|
|
925
|
+
constructor(map) {
|
|
926
|
+
super(map);
|
|
927
|
+
}
|
|
928
|
+
static names() {
|
|
929
|
+
return {
|
|
930
|
+
headers: 'headers',
|
|
931
|
+
statusCode: 'statusCode',
|
|
932
|
+
body: 'body',
|
|
933
|
+
};
|
|
934
|
+
}
|
|
935
|
+
static types() {
|
|
936
|
+
return {
|
|
937
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
938
|
+
statusCode: 'number',
|
|
939
|
+
body: GetChatappTemplateDetailResponseBody,
|
|
940
|
+
};
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
exports.GetChatappTemplateDetailResponse = GetChatappTemplateDetailResponse;
|
|
876
944
|
class GetChatappUploadAuthorizationRequest extends $tea.Model {
|
|
877
945
|
constructor(map) {
|
|
878
946
|
super(map);
|
|
@@ -1175,6 +1243,108 @@ class IsvGetAppIdResponse extends $tea.Model {
|
|
|
1175
1243
|
}
|
|
1176
1244
|
}
|
|
1177
1245
|
exports.IsvGetAppIdResponse = IsvGetAppIdResponse;
|
|
1246
|
+
class ListChatappTemplateRequest extends $tea.Model {
|
|
1247
|
+
constructor(map) {
|
|
1248
|
+
super(map);
|
|
1249
|
+
}
|
|
1250
|
+
static names() {
|
|
1251
|
+
return {
|
|
1252
|
+
auditStatus: 'AuditStatus',
|
|
1253
|
+
custSpaceId: 'CustSpaceId',
|
|
1254
|
+
custWabaId: 'CustWabaId',
|
|
1255
|
+
isvCode: 'IsvCode',
|
|
1256
|
+
language: 'Language',
|
|
1257
|
+
name: 'Name',
|
|
1258
|
+
page: 'Page',
|
|
1259
|
+
templateType: 'TemplateType',
|
|
1260
|
+
};
|
|
1261
|
+
}
|
|
1262
|
+
static types() {
|
|
1263
|
+
return {
|
|
1264
|
+
auditStatus: 'string',
|
|
1265
|
+
custSpaceId: 'string',
|
|
1266
|
+
custWabaId: 'string',
|
|
1267
|
+
isvCode: 'string',
|
|
1268
|
+
language: 'string',
|
|
1269
|
+
name: 'string',
|
|
1270
|
+
page: ListChatappTemplateRequestPage,
|
|
1271
|
+
templateType: 'string',
|
|
1272
|
+
};
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
exports.ListChatappTemplateRequest = ListChatappTemplateRequest;
|
|
1276
|
+
class ListChatappTemplateShrinkRequest extends $tea.Model {
|
|
1277
|
+
constructor(map) {
|
|
1278
|
+
super(map);
|
|
1279
|
+
}
|
|
1280
|
+
static names() {
|
|
1281
|
+
return {
|
|
1282
|
+
auditStatus: 'AuditStatus',
|
|
1283
|
+
custSpaceId: 'CustSpaceId',
|
|
1284
|
+
custWabaId: 'CustWabaId',
|
|
1285
|
+
isvCode: 'IsvCode',
|
|
1286
|
+
language: 'Language',
|
|
1287
|
+
name: 'Name',
|
|
1288
|
+
pageShrink: 'Page',
|
|
1289
|
+
templateType: 'TemplateType',
|
|
1290
|
+
};
|
|
1291
|
+
}
|
|
1292
|
+
static types() {
|
|
1293
|
+
return {
|
|
1294
|
+
auditStatus: 'string',
|
|
1295
|
+
custSpaceId: 'string',
|
|
1296
|
+
custWabaId: 'string',
|
|
1297
|
+
isvCode: 'string',
|
|
1298
|
+
language: 'string',
|
|
1299
|
+
name: 'string',
|
|
1300
|
+
pageShrink: 'string',
|
|
1301
|
+
templateType: 'string',
|
|
1302
|
+
};
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
exports.ListChatappTemplateShrinkRequest = ListChatappTemplateShrinkRequest;
|
|
1306
|
+
class ListChatappTemplateResponseBody extends $tea.Model {
|
|
1307
|
+
constructor(map) {
|
|
1308
|
+
super(map);
|
|
1309
|
+
}
|
|
1310
|
+
static names() {
|
|
1311
|
+
return {
|
|
1312
|
+
code: 'Code',
|
|
1313
|
+
listTemplate: 'ListTemplate',
|
|
1314
|
+
message: 'Message',
|
|
1315
|
+
requestId: 'RequestId',
|
|
1316
|
+
};
|
|
1317
|
+
}
|
|
1318
|
+
static types() {
|
|
1319
|
+
return {
|
|
1320
|
+
code: 'string',
|
|
1321
|
+
listTemplate: { 'type': 'array', 'itemType': ListChatappTemplateResponseBodyListTemplate },
|
|
1322
|
+
message: 'string',
|
|
1323
|
+
requestId: 'string',
|
|
1324
|
+
};
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
exports.ListChatappTemplateResponseBody = ListChatappTemplateResponseBody;
|
|
1328
|
+
class ListChatappTemplateResponse extends $tea.Model {
|
|
1329
|
+
constructor(map) {
|
|
1330
|
+
super(map);
|
|
1331
|
+
}
|
|
1332
|
+
static names() {
|
|
1333
|
+
return {
|
|
1334
|
+
headers: 'headers',
|
|
1335
|
+
statusCode: 'statusCode',
|
|
1336
|
+
body: 'body',
|
|
1337
|
+
};
|
|
1338
|
+
}
|
|
1339
|
+
static types() {
|
|
1340
|
+
return {
|
|
1341
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1342
|
+
statusCode: 'number',
|
|
1343
|
+
body: ListChatappTemplateResponseBody,
|
|
1344
|
+
};
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
exports.ListChatappTemplateResponse = ListChatappTemplateResponse;
|
|
1178
1348
|
class ModifyChatappTemplateRequest extends $tea.Model {
|
|
1179
1349
|
constructor(map) {
|
|
1180
1350
|
super(map);
|
|
@@ -2505,6 +2675,94 @@ class CreateChatappTemplateResponseBodyData extends $tea.Model {
|
|
|
2505
2675
|
}
|
|
2506
2676
|
}
|
|
2507
2677
|
exports.CreateChatappTemplateResponseBodyData = CreateChatappTemplateResponseBodyData;
|
|
2678
|
+
class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Model {
|
|
2679
|
+
constructor(map) {
|
|
2680
|
+
super(map);
|
|
2681
|
+
}
|
|
2682
|
+
static names() {
|
|
2683
|
+
return {
|
|
2684
|
+
phoneNumber: 'PhoneNumber',
|
|
2685
|
+
text: 'Text',
|
|
2686
|
+
type: 'Type',
|
|
2687
|
+
url: 'Url',
|
|
2688
|
+
urlType: 'UrlType',
|
|
2689
|
+
};
|
|
2690
|
+
}
|
|
2691
|
+
static types() {
|
|
2692
|
+
return {
|
|
2693
|
+
phoneNumber: 'string',
|
|
2694
|
+
text: 'string',
|
|
2695
|
+
type: 'string',
|
|
2696
|
+
url: 'string',
|
|
2697
|
+
urlType: 'string',
|
|
2698
|
+
};
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
exports.GetChatappTemplateDetailResponseBodyDataComponentsButtons = GetChatappTemplateDetailResponseBodyDataComponentsButtons;
|
|
2702
|
+
class GetChatappTemplateDetailResponseBodyDataComponents extends $tea.Model {
|
|
2703
|
+
constructor(map) {
|
|
2704
|
+
super(map);
|
|
2705
|
+
}
|
|
2706
|
+
static names() {
|
|
2707
|
+
return {
|
|
2708
|
+
buttons: 'Buttons',
|
|
2709
|
+
caption: 'Caption',
|
|
2710
|
+
duration: 'Duration',
|
|
2711
|
+
fileName: 'FileName',
|
|
2712
|
+
fileType: 'FileType',
|
|
2713
|
+
format: 'Format',
|
|
2714
|
+
text: 'Text',
|
|
2715
|
+
thumbUrl: 'ThumbUrl',
|
|
2716
|
+
type: 'Type',
|
|
2717
|
+
url: 'Url',
|
|
2718
|
+
};
|
|
2719
|
+
}
|
|
2720
|
+
static types() {
|
|
2721
|
+
return {
|
|
2722
|
+
buttons: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponentsButtons },
|
|
2723
|
+
caption: 'string',
|
|
2724
|
+
duration: 'number',
|
|
2725
|
+
fileName: 'string',
|
|
2726
|
+
fileType: 'string',
|
|
2727
|
+
format: 'string',
|
|
2728
|
+
text: 'string',
|
|
2729
|
+
thumbUrl: 'string',
|
|
2730
|
+
type: 'string',
|
|
2731
|
+
url: 'string',
|
|
2732
|
+
};
|
|
2733
|
+
}
|
|
2734
|
+
}
|
|
2735
|
+
exports.GetChatappTemplateDetailResponseBodyDataComponents = GetChatappTemplateDetailResponseBodyDataComponents;
|
|
2736
|
+
class GetChatappTemplateDetailResponseBodyData extends $tea.Model {
|
|
2737
|
+
constructor(map) {
|
|
2738
|
+
super(map);
|
|
2739
|
+
}
|
|
2740
|
+
static names() {
|
|
2741
|
+
return {
|
|
2742
|
+
auditStatus: 'AuditStatus',
|
|
2743
|
+
category: 'Category',
|
|
2744
|
+
components: 'Components',
|
|
2745
|
+
example: 'Example',
|
|
2746
|
+
language: 'Language',
|
|
2747
|
+
name: 'Name',
|
|
2748
|
+
templateCode: 'TemplateCode',
|
|
2749
|
+
templateType: 'TemplateType',
|
|
2750
|
+
};
|
|
2751
|
+
}
|
|
2752
|
+
static types() {
|
|
2753
|
+
return {
|
|
2754
|
+
auditStatus: 'string',
|
|
2755
|
+
category: 'string',
|
|
2756
|
+
components: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponents },
|
|
2757
|
+
example: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2758
|
+
language: 'string',
|
|
2759
|
+
name: 'string',
|
|
2760
|
+
templateCode: 'string',
|
|
2761
|
+
templateType: 'string',
|
|
2762
|
+
};
|
|
2763
|
+
}
|
|
2764
|
+
}
|
|
2765
|
+
exports.GetChatappTemplateDetailResponseBodyData = GetChatappTemplateDetailResponseBodyData;
|
|
2508
2766
|
class GetChatappUploadAuthorizationResponseBodyData extends $tea.Model {
|
|
2509
2767
|
constructor(map) {
|
|
2510
2768
|
super(map);
|
|
@@ -2571,6 +2829,50 @@ class GetPhoneNumberVerificationStatusResponseBodyData extends $tea.Model {
|
|
|
2571
2829
|
}
|
|
2572
2830
|
}
|
|
2573
2831
|
exports.GetPhoneNumberVerificationStatusResponseBodyData = GetPhoneNumberVerificationStatusResponseBodyData;
|
|
2832
|
+
class ListChatappTemplateRequestPage extends $tea.Model {
|
|
2833
|
+
constructor(map) {
|
|
2834
|
+
super(map);
|
|
2835
|
+
}
|
|
2836
|
+
static names() {
|
|
2837
|
+
return {
|
|
2838
|
+
index: 'Index',
|
|
2839
|
+
size: 'Size',
|
|
2840
|
+
};
|
|
2841
|
+
}
|
|
2842
|
+
static types() {
|
|
2843
|
+
return {
|
|
2844
|
+
index: 'number',
|
|
2845
|
+
size: 'number',
|
|
2846
|
+
};
|
|
2847
|
+
}
|
|
2848
|
+
}
|
|
2849
|
+
exports.ListChatappTemplateRequestPage = ListChatappTemplateRequestPage;
|
|
2850
|
+
class ListChatappTemplateResponseBodyListTemplate extends $tea.Model {
|
|
2851
|
+
constructor(map) {
|
|
2852
|
+
super(map);
|
|
2853
|
+
}
|
|
2854
|
+
static names() {
|
|
2855
|
+
return {
|
|
2856
|
+
auditStatus: 'AuditStatus',
|
|
2857
|
+
category: 'Category',
|
|
2858
|
+
language: 'Language',
|
|
2859
|
+
templateCode: 'TemplateCode',
|
|
2860
|
+
templateName: 'TemplateName',
|
|
2861
|
+
templateType: 'TemplateType',
|
|
2862
|
+
};
|
|
2863
|
+
}
|
|
2864
|
+
static types() {
|
|
2865
|
+
return {
|
|
2866
|
+
auditStatus: 'string',
|
|
2867
|
+
category: 'string',
|
|
2868
|
+
language: 'string',
|
|
2869
|
+
templateCode: 'string',
|
|
2870
|
+
templateName: 'string',
|
|
2871
|
+
templateType: 'string',
|
|
2872
|
+
};
|
|
2873
|
+
}
|
|
2874
|
+
}
|
|
2875
|
+
exports.ListChatappTemplateResponseBodyListTemplate = ListChatappTemplateResponseBodyListTemplate;
|
|
2574
2876
|
class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
2575
2877
|
constructor(map) {
|
|
2576
2878
|
super(map);
|
|
@@ -3393,6 +3695,62 @@ class Client extends openapi_client_1.default {
|
|
|
3393
3695
|
let runtime = new $Util.RuntimeOptions({});
|
|
3394
3696
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
3395
3697
|
}
|
|
3698
|
+
/**
|
|
3699
|
+
* ### QPS limit
|
|
3700
|
+
* 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.
|
|
3701
|
+
*
|
|
3702
|
+
* @param request GetChatappTemplateDetailRequest
|
|
3703
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3704
|
+
* @return GetChatappTemplateDetailResponse
|
|
3705
|
+
*/
|
|
3706
|
+
async getChatappTemplateDetailWithOptions(request, runtime) {
|
|
3707
|
+
tea_util_1.default.validateModel(request);
|
|
3708
|
+
let query = {};
|
|
3709
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3710
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3711
|
+
}
|
|
3712
|
+
if (!tea_util_1.default.isUnset(request.custWabaId)) {
|
|
3713
|
+
query["CustWabaId"] = request.custWabaId;
|
|
3714
|
+
}
|
|
3715
|
+
if (!tea_util_1.default.isUnset(request.isvCode)) {
|
|
3716
|
+
query["IsvCode"] = request.isvCode;
|
|
3717
|
+
}
|
|
3718
|
+
if (!tea_util_1.default.isUnset(request.language)) {
|
|
3719
|
+
query["Language"] = request.language;
|
|
3720
|
+
}
|
|
3721
|
+
if (!tea_util_1.default.isUnset(request.templateCode)) {
|
|
3722
|
+
query["TemplateCode"] = request.templateCode;
|
|
3723
|
+
}
|
|
3724
|
+
if (!tea_util_1.default.isUnset(request.templateType)) {
|
|
3725
|
+
query["TemplateType"] = request.templateType;
|
|
3726
|
+
}
|
|
3727
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3728
|
+
query: openapi_util_1.default.query(query),
|
|
3729
|
+
});
|
|
3730
|
+
let params = new $OpenApi.Params({
|
|
3731
|
+
action: "GetChatappTemplateDetail",
|
|
3732
|
+
version: "2020-06-06",
|
|
3733
|
+
protocol: "HTTPS",
|
|
3734
|
+
pathname: "/",
|
|
3735
|
+
method: "POST",
|
|
3736
|
+
authType: "AK",
|
|
3737
|
+
style: "RPC",
|
|
3738
|
+
reqBodyType: "formData",
|
|
3739
|
+
bodyType: "json",
|
|
3740
|
+
});
|
|
3741
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateDetailResponse({}));
|
|
3742
|
+
}
|
|
3743
|
+
/**
|
|
3744
|
+
* ### QPS limit
|
|
3745
|
+
* 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.
|
|
3746
|
+
*
|
|
3747
|
+
* @param request GetChatappTemplateDetailRequest
|
|
3748
|
+
* @return GetChatappTemplateDetailResponse
|
|
3749
|
+
*/
|
|
3750
|
+
async getChatappTemplateDetail(request) {
|
|
3751
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3752
|
+
return await this.getChatappTemplateDetailWithOptions(request, runtime);
|
|
3753
|
+
}
|
|
3396
3754
|
async getChatappUploadAuthorizationWithOptions(request, runtime) {
|
|
3397
3755
|
tea_util_1.default.validateModel(request);
|
|
3398
3756
|
let query = {};
|
|
@@ -3596,6 +3954,73 @@ class Client extends openapi_client_1.default {
|
|
|
3596
3954
|
let runtime = new $Util.RuntimeOptions({});
|
|
3597
3955
|
return await this.isvGetAppIdWithOptions(request, runtime);
|
|
3598
3956
|
}
|
|
3957
|
+
/**
|
|
3958
|
+
* ### QPS limit
|
|
3959
|
+
* 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.
|
|
3960
|
+
*
|
|
3961
|
+
* @param tmpReq ListChatappTemplateRequest
|
|
3962
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3963
|
+
* @return ListChatappTemplateResponse
|
|
3964
|
+
*/
|
|
3965
|
+
async listChatappTemplateWithOptions(tmpReq, runtime) {
|
|
3966
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3967
|
+
let request = new ListChatappTemplateShrinkRequest({});
|
|
3968
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3969
|
+
if (!tea_util_1.default.isUnset(tmpReq.page)) {
|
|
3970
|
+
request.pageShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json");
|
|
3971
|
+
}
|
|
3972
|
+
let query = {};
|
|
3973
|
+
if (!tea_util_1.default.isUnset(request.auditStatus)) {
|
|
3974
|
+
query["AuditStatus"] = request.auditStatus;
|
|
3975
|
+
}
|
|
3976
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3977
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3978
|
+
}
|
|
3979
|
+
if (!tea_util_1.default.isUnset(request.custWabaId)) {
|
|
3980
|
+
query["CustWabaId"] = request.custWabaId;
|
|
3981
|
+
}
|
|
3982
|
+
if (!tea_util_1.default.isUnset(request.isvCode)) {
|
|
3983
|
+
query["IsvCode"] = request.isvCode;
|
|
3984
|
+
}
|
|
3985
|
+
if (!tea_util_1.default.isUnset(request.language)) {
|
|
3986
|
+
query["Language"] = request.language;
|
|
3987
|
+
}
|
|
3988
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
3989
|
+
query["Name"] = request.name;
|
|
3990
|
+
}
|
|
3991
|
+
if (!tea_util_1.default.isUnset(request.pageShrink)) {
|
|
3992
|
+
query["Page"] = request.pageShrink;
|
|
3993
|
+
}
|
|
3994
|
+
if (!tea_util_1.default.isUnset(request.templateType)) {
|
|
3995
|
+
query["TemplateType"] = request.templateType;
|
|
3996
|
+
}
|
|
3997
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3998
|
+
query: openapi_util_1.default.query(query),
|
|
3999
|
+
});
|
|
4000
|
+
let params = new $OpenApi.Params({
|
|
4001
|
+
action: "ListChatappTemplate",
|
|
4002
|
+
version: "2020-06-06",
|
|
4003
|
+
protocol: "HTTPS",
|
|
4004
|
+
pathname: "/",
|
|
4005
|
+
method: "POST",
|
|
4006
|
+
authType: "AK",
|
|
4007
|
+
style: "RPC",
|
|
4008
|
+
reqBodyType: "formData",
|
|
4009
|
+
bodyType: "json",
|
|
4010
|
+
});
|
|
4011
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListChatappTemplateResponse({}));
|
|
4012
|
+
}
|
|
4013
|
+
/**
|
|
4014
|
+
* ### QPS limit
|
|
4015
|
+
* 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.
|
|
4016
|
+
*
|
|
4017
|
+
* @param request ListChatappTemplateRequest
|
|
4018
|
+
* @return ListChatappTemplateResponse
|
|
4019
|
+
*/
|
|
4020
|
+
async listChatappTemplate(request) {
|
|
4021
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4022
|
+
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
4023
|
+
}
|
|
3599
4024
|
/**
|
|
3600
4025
|
* ### QPS limit
|
|
3601
4026
|
* 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.
|