@alicloud/cams20200606 1.0.19 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +57 -20
- package/dist/client.js +80 -25
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +94 -25
package/dist/client.js
CHANGED
|
@@ -711,6 +711,7 @@ class CreateChatappTemplateRequest extends $tea.Model {
|
|
|
711
711
|
}
|
|
712
712
|
static names() {
|
|
713
713
|
return {
|
|
714
|
+
allowCategoryChange: 'AllowCategoryChange',
|
|
714
715
|
category: 'Category',
|
|
715
716
|
components: 'Components',
|
|
716
717
|
custSpaceId: 'CustSpaceId',
|
|
@@ -724,6 +725,7 @@ class CreateChatappTemplateRequest extends $tea.Model {
|
|
|
724
725
|
}
|
|
725
726
|
static types() {
|
|
726
727
|
return {
|
|
728
|
+
allowCategoryChange: 'boolean',
|
|
727
729
|
category: 'string',
|
|
728
730
|
components: { 'type': 'array', 'itemType': CreateChatappTemplateRequestComponents },
|
|
729
731
|
custSpaceId: 'string',
|
|
@@ -743,6 +745,7 @@ class CreateChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
743
745
|
}
|
|
744
746
|
static names() {
|
|
745
747
|
return {
|
|
748
|
+
allowCategoryChange: 'AllowCategoryChange',
|
|
746
749
|
category: 'Category',
|
|
747
750
|
componentsShrink: 'Components',
|
|
748
751
|
custSpaceId: 'CustSpaceId',
|
|
@@ -756,6 +759,7 @@ class CreateChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
756
759
|
}
|
|
757
760
|
static types() {
|
|
758
761
|
return {
|
|
762
|
+
allowCategoryChange: 'boolean',
|
|
759
763
|
category: 'string',
|
|
760
764
|
componentsShrink: 'string',
|
|
761
765
|
custSpaceId: 'string',
|
|
@@ -1313,6 +1317,7 @@ class ListChatappTemplateResponseBody extends $tea.Model {
|
|
|
1313
1317
|
listTemplate: 'ListTemplate',
|
|
1314
1318
|
message: 'Message',
|
|
1315
1319
|
requestId: 'RequestId',
|
|
1320
|
+
total: 'Total',
|
|
1316
1321
|
};
|
|
1317
1322
|
}
|
|
1318
1323
|
static types() {
|
|
@@ -1321,6 +1326,7 @@ class ListChatappTemplateResponseBody extends $tea.Model {
|
|
|
1321
1326
|
listTemplate: { 'type': 'array', 'itemType': ListChatappTemplateResponseBodyListTemplate },
|
|
1322
1327
|
message: 'string',
|
|
1323
1328
|
requestId: 'string',
|
|
1329
|
+
total: 'number',
|
|
1324
1330
|
};
|
|
1325
1331
|
}
|
|
1326
1332
|
}
|
|
@@ -1801,6 +1807,7 @@ class SendChatappMassMessageRequest extends $tea.Model {
|
|
|
1801
1807
|
custSpaceId: 'CustSpaceId',
|
|
1802
1808
|
custWabaId: 'CustWabaId',
|
|
1803
1809
|
fallBackContent: 'FallBackContent',
|
|
1810
|
+
fallBackDuration: 'FallBackDuration',
|
|
1804
1811
|
fallBackId: 'FallBackId',
|
|
1805
1812
|
from: 'From',
|
|
1806
1813
|
isvCode: 'IsvCode',
|
|
@@ -1819,6 +1826,7 @@ class SendChatappMassMessageRequest extends $tea.Model {
|
|
|
1819
1826
|
custSpaceId: 'string',
|
|
1820
1827
|
custWabaId: 'string',
|
|
1821
1828
|
fallBackContent: 'string',
|
|
1829
|
+
fallBackDuration: 'number',
|
|
1822
1830
|
fallBackId: 'string',
|
|
1823
1831
|
from: 'string',
|
|
1824
1832
|
isvCode: 'string',
|
|
@@ -1843,6 +1851,7 @@ class SendChatappMassMessageShrinkRequest extends $tea.Model {
|
|
|
1843
1851
|
custSpaceId: 'CustSpaceId',
|
|
1844
1852
|
custWabaId: 'CustWabaId',
|
|
1845
1853
|
fallBackContent: 'FallBackContent',
|
|
1854
|
+
fallBackDuration: 'FallBackDuration',
|
|
1846
1855
|
fallBackId: 'FallBackId',
|
|
1847
1856
|
from: 'From',
|
|
1848
1857
|
isvCode: 'IsvCode',
|
|
@@ -1861,6 +1870,7 @@ class SendChatappMassMessageShrinkRequest extends $tea.Model {
|
|
|
1861
1870
|
custSpaceId: 'string',
|
|
1862
1871
|
custWabaId: 'string',
|
|
1863
1872
|
fallBackContent: 'string',
|
|
1873
|
+
fallBackDuration: 'number',
|
|
1864
1874
|
fallBackId: 'string',
|
|
1865
1875
|
from: 'string',
|
|
1866
1876
|
isvCode: 'string',
|
|
@@ -1929,6 +1939,7 @@ class SendChatappMessageRequest extends $tea.Model {
|
|
|
1929
1939
|
custSpaceId: 'CustSpaceId',
|
|
1930
1940
|
custWabaId: 'CustWabaId',
|
|
1931
1941
|
fallBackContent: 'FallBackContent',
|
|
1942
|
+
fallBackDuration: 'FallBackDuration',
|
|
1932
1943
|
fallBackId: 'FallBackId',
|
|
1933
1944
|
from: 'From',
|
|
1934
1945
|
isvCode: 'IsvCode',
|
|
@@ -1954,6 +1965,7 @@ class SendChatappMessageRequest extends $tea.Model {
|
|
|
1954
1965
|
custSpaceId: 'string',
|
|
1955
1966
|
custWabaId: 'string',
|
|
1956
1967
|
fallBackContent: 'string',
|
|
1968
|
+
fallBackDuration: 'number',
|
|
1957
1969
|
fallBackId: 'string',
|
|
1958
1970
|
from: 'string',
|
|
1959
1971
|
isvCode: 'string',
|
|
@@ -1985,6 +1997,7 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
1985
1997
|
custSpaceId: 'CustSpaceId',
|
|
1986
1998
|
custWabaId: 'CustWabaId',
|
|
1987
1999
|
fallBackContent: 'FallBackContent',
|
|
2000
|
+
fallBackDuration: 'FallBackDuration',
|
|
1988
2001
|
fallBackId: 'FallBackId',
|
|
1989
2002
|
from: 'From',
|
|
1990
2003
|
isvCode: 'IsvCode',
|
|
@@ -2010,6 +2023,7 @@ class SendChatappMessageShrinkRequest extends $tea.Model {
|
|
|
2010
2023
|
custSpaceId: 'string',
|
|
2011
2024
|
custWabaId: 'string',
|
|
2012
2025
|
fallBackContent: 'string',
|
|
2026
|
+
fallBackDuration: 'number',
|
|
2013
2027
|
fallBackId: 'string',
|
|
2014
2028
|
from: 'string',
|
|
2015
2029
|
isvCode: 'string',
|
|
@@ -2711,6 +2725,10 @@ class GetChatappTemplateDetailResponseBodyDataComponents extends $tea.Model {
|
|
|
2711
2725
|
fileName: 'FileName',
|
|
2712
2726
|
fileType: 'FileType',
|
|
2713
2727
|
format: 'Format',
|
|
2728
|
+
latitude: 'Latitude',
|
|
2729
|
+
locationAddress: 'LocationAddress',
|
|
2730
|
+
locationName: 'LocationName',
|
|
2731
|
+
longitude: 'Longitude',
|
|
2714
2732
|
text: 'Text',
|
|
2715
2733
|
thumbUrl: 'ThumbUrl',
|
|
2716
2734
|
type: 'Type',
|
|
@@ -2725,6 +2743,10 @@ class GetChatappTemplateDetailResponseBodyDataComponents extends $tea.Model {
|
|
|
2725
2743
|
fileName: 'string',
|
|
2726
2744
|
fileType: 'string',
|
|
2727
2745
|
format: 'string',
|
|
2746
|
+
latitude: 'string',
|
|
2747
|
+
locationAddress: 'string',
|
|
2748
|
+
locationName: 'string',
|
|
2749
|
+
longitude: 'string',
|
|
2728
2750
|
text: 'string',
|
|
2729
2751
|
thumbUrl: 'string',
|
|
2730
2752
|
type: 'string',
|
|
@@ -3096,7 +3118,7 @@ class Client extends openapi_client_1.default {
|
|
|
3096
3118
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
3097
3119
|
}
|
|
3098
3120
|
/**
|
|
3099
|
-
* You can call this operation up to 100 times per second per account. If the number of
|
|
3121
|
+
* You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3100
3122
|
*
|
|
3101
3123
|
* @param tmpReq BeeBotAssociateRequest
|
|
3102
3124
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3148,7 +3170,7 @@ class Client extends openapi_client_1.default {
|
|
|
3148
3170
|
return $tea.cast(await this.callApi(params, req, runtime), new BeeBotAssociateResponse({}));
|
|
3149
3171
|
}
|
|
3150
3172
|
/**
|
|
3151
|
-
* You can call this operation up to 100 times per second per account. If the number of
|
|
3173
|
+
* You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3152
3174
|
*
|
|
3153
3175
|
* @param request BeeBotAssociateRequest
|
|
3154
3176
|
* @return BeeBotAssociateResponse
|
|
@@ -3158,7 +3180,7 @@ class Client extends openapi_client_1.default {
|
|
|
3158
3180
|
return await this.beeBotAssociateWithOptions(request, runtime);
|
|
3159
3181
|
}
|
|
3160
3182
|
/**
|
|
3161
|
-
* You can call this operation up to 100 times per second per account. If the number of
|
|
3183
|
+
* You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3162
3184
|
*
|
|
3163
3185
|
* @param tmpReq BeeBotChatRequest
|
|
3164
3186
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3225,7 +3247,7 @@ class Client extends openapi_client_1.default {
|
|
|
3225
3247
|
return $tea.cast(await this.callApi(params, req, runtime), new BeeBotChatResponse({}));
|
|
3226
3248
|
}
|
|
3227
3249
|
/**
|
|
3228
|
-
* You can call this operation up to 100 times per second per account. If the number of
|
|
3250
|
+
* You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3229
3251
|
*
|
|
3230
3252
|
* @param request BeeBotChatRequest
|
|
3231
3253
|
* @return BeeBotChatResponse
|
|
@@ -3572,7 +3594,7 @@ class Client extends openapi_client_1.default {
|
|
|
3572
3594
|
}
|
|
3573
3595
|
/**
|
|
3574
3596
|
* ### QPS limit
|
|
3575
|
-
* You can call this operation up to
|
|
3597
|
+
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3576
3598
|
*
|
|
3577
3599
|
* @param tmpReq CreateChatappTemplateRequest
|
|
3578
3600
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3588,17 +3610,19 @@ class Client extends openapi_client_1.default {
|
|
|
3588
3610
|
if (!tea_util_1.default.isUnset(tmpReq.example)) {
|
|
3589
3611
|
request.exampleShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
|
|
3590
3612
|
}
|
|
3591
|
-
let query = {};
|
|
3592
|
-
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3593
|
-
query["CustSpaceId"] = request.custSpaceId;
|
|
3594
|
-
}
|
|
3595
3613
|
let body = {};
|
|
3614
|
+
if (!tea_util_1.default.isUnset(request.allowCategoryChange)) {
|
|
3615
|
+
body["AllowCategoryChange"] = request.allowCategoryChange;
|
|
3616
|
+
}
|
|
3596
3617
|
if (!tea_util_1.default.isUnset(request.category)) {
|
|
3597
3618
|
body["Category"] = request.category;
|
|
3598
3619
|
}
|
|
3599
3620
|
if (!tea_util_1.default.isUnset(request.componentsShrink)) {
|
|
3600
3621
|
body["Components"] = request.componentsShrink;
|
|
3601
3622
|
}
|
|
3623
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
3624
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
3625
|
+
}
|
|
3602
3626
|
if (!tea_util_1.default.isUnset(request.custWabaId)) {
|
|
3603
3627
|
body["CustWabaId"] = request.custWabaId;
|
|
3604
3628
|
}
|
|
@@ -3618,7 +3642,6 @@ class Client extends openapi_client_1.default {
|
|
|
3618
3642
|
body["TemplateType"] = request.templateType;
|
|
3619
3643
|
}
|
|
3620
3644
|
let req = new $OpenApi.OpenApiRequest({
|
|
3621
|
-
query: openapi_util_1.default.query(query),
|
|
3622
3645
|
body: openapi_util_1.default.parseToMap(body),
|
|
3623
3646
|
});
|
|
3624
3647
|
let params = new $OpenApi.Params({
|
|
@@ -3636,7 +3659,7 @@ class Client extends openapi_client_1.default {
|
|
|
3636
3659
|
}
|
|
3637
3660
|
/**
|
|
3638
3661
|
* ### QPS limit
|
|
3639
|
-
* You can call this operation up to
|
|
3662
|
+
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3640
3663
|
*
|
|
3641
3664
|
* @param request CreateChatappTemplateRequest
|
|
3642
3665
|
* @return CreateChatappTemplateResponse
|
|
@@ -3647,7 +3670,7 @@ class Client extends openapi_client_1.default {
|
|
|
3647
3670
|
}
|
|
3648
3671
|
/**
|
|
3649
3672
|
* ### QPS limit
|
|
3650
|
-
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3673
|
+
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3651
3674
|
*
|
|
3652
3675
|
* @param request DeleteChatappTemplateRequest
|
|
3653
3676
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3686,7 +3709,7 @@ class Client extends openapi_client_1.default {
|
|
|
3686
3709
|
}
|
|
3687
3710
|
/**
|
|
3688
3711
|
* ### QPS limit
|
|
3689
|
-
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3712
|
+
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3690
3713
|
*
|
|
3691
3714
|
* @param request DeleteChatappTemplateRequest
|
|
3692
3715
|
* @return DeleteChatappTemplateResponse
|
|
@@ -3697,7 +3720,7 @@ class Client extends openapi_client_1.default {
|
|
|
3697
3720
|
}
|
|
3698
3721
|
/**
|
|
3699
3722
|
* ### QPS limit
|
|
3700
|
-
* You can call this operation up to
|
|
3723
|
+
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3701
3724
|
*
|
|
3702
3725
|
* @param request GetChatappTemplateDetailRequest
|
|
3703
3726
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3742,7 +3765,7 @@ class Client extends openapi_client_1.default {
|
|
|
3742
3765
|
}
|
|
3743
3766
|
/**
|
|
3744
3767
|
* ### QPS limit
|
|
3745
|
-
* You can call this operation up to
|
|
3768
|
+
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3746
3769
|
*
|
|
3747
3770
|
* @param request GetChatappTemplateDetailRequest
|
|
3748
3771
|
* @return GetChatappTemplateDetailResponse
|
|
@@ -3751,6 +3774,13 @@ class Client extends openapi_client_1.default {
|
|
|
3751
3774
|
let runtime = new $Util.RuntimeOptions({});
|
|
3752
3775
|
return await this.getChatappTemplateDetailWithOptions(request, runtime);
|
|
3753
3776
|
}
|
|
3777
|
+
/**
|
|
3778
|
+
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3779
|
+
*
|
|
3780
|
+
* @param request GetChatappUploadAuthorizationRequest
|
|
3781
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3782
|
+
* @return GetChatappUploadAuthorizationResponse
|
|
3783
|
+
*/
|
|
3754
3784
|
async getChatappUploadAuthorizationWithOptions(request, runtime) {
|
|
3755
3785
|
tea_util_1.default.validateModel(request);
|
|
3756
3786
|
let query = {};
|
|
@@ -3773,6 +3803,12 @@ class Client extends openapi_client_1.default {
|
|
|
3773
3803
|
});
|
|
3774
3804
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappUploadAuthorizationResponse({}));
|
|
3775
3805
|
}
|
|
3806
|
+
/**
|
|
3807
|
+
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3808
|
+
*
|
|
3809
|
+
* @param request GetChatappUploadAuthorizationRequest
|
|
3810
|
+
* @return GetChatappUploadAuthorizationResponse
|
|
3811
|
+
*/
|
|
3776
3812
|
async getChatappUploadAuthorization(request) {
|
|
3777
3813
|
let runtime = new $Util.RuntimeOptions({});
|
|
3778
3814
|
return await this.getChatappUploadAuthorizationWithOptions(request, runtime);
|
|
@@ -3956,7 +3992,7 @@ class Client extends openapi_client_1.default {
|
|
|
3956
3992
|
}
|
|
3957
3993
|
/**
|
|
3958
3994
|
* ### QPS limit
|
|
3959
|
-
* You can call this operation up to
|
|
3995
|
+
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3960
3996
|
*
|
|
3961
3997
|
* @param tmpReq ListChatappTemplateRequest
|
|
3962
3998
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4012,7 +4048,7 @@ class Client extends openapi_client_1.default {
|
|
|
4012
4048
|
}
|
|
4013
4049
|
/**
|
|
4014
4050
|
* ### QPS limit
|
|
4015
|
-
* You can call this operation up to
|
|
4051
|
+
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4016
4052
|
*
|
|
4017
4053
|
* @param request ListChatappTemplateRequest
|
|
4018
4054
|
* @return ListChatappTemplateResponse
|
|
@@ -4160,7 +4196,7 @@ class Client extends openapi_client_1.default {
|
|
|
4160
4196
|
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
4161
4197
|
}
|
|
4162
4198
|
/**
|
|
4163
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
4199
|
+
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4164
4200
|
*
|
|
4165
4201
|
* @param request QueryChatappBindWabaRequest
|
|
4166
4202
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4192,7 +4228,7 @@ class Client extends openapi_client_1.default {
|
|
|
4192
4228
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappBindWabaResponse({}));
|
|
4193
4229
|
}
|
|
4194
4230
|
/**
|
|
4195
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
4231
|
+
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4196
4232
|
*
|
|
4197
4233
|
* @param request QueryChatappBindWabaRequest
|
|
4198
4234
|
* @return QueryChatappBindWabaResponse
|
|
@@ -4202,7 +4238,7 @@ class Client extends openapi_client_1.default {
|
|
|
4202
4238
|
return await this.queryChatappBindWabaWithOptions(request, runtime);
|
|
4203
4239
|
}
|
|
4204
4240
|
/**
|
|
4205
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
4241
|
+
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4206
4242
|
*
|
|
4207
4243
|
* @param request QueryChatappPhoneNumbersRequest
|
|
4208
4244
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4234,7 +4270,7 @@ class Client extends openapi_client_1.default {
|
|
|
4234
4270
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappPhoneNumbersResponse({}));
|
|
4235
4271
|
}
|
|
4236
4272
|
/**
|
|
4237
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
4273
|
+
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4238
4274
|
*
|
|
4239
4275
|
* @param request QueryChatappPhoneNumbersRequest
|
|
4240
4276
|
* @return QueryChatappPhoneNumbersResponse
|
|
@@ -4328,7 +4364,7 @@ class Client extends openapi_client_1.default {
|
|
|
4328
4364
|
return await this.queryWabaBusinessInfoWithOptions(request, runtime);
|
|
4329
4365
|
}
|
|
4330
4366
|
/**
|
|
4331
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
4367
|
+
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4332
4368
|
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
4333
4369
|
*
|
|
4334
4370
|
* @param tmpReq SendChatappMassMessageRequest
|
|
@@ -4355,6 +4391,9 @@ class Client extends openapi_client_1.default {
|
|
|
4355
4391
|
if (!tea_util_1.default.isUnset(request.fallBackContent)) {
|
|
4356
4392
|
body["FallBackContent"] = request.fallBackContent;
|
|
4357
4393
|
}
|
|
4394
|
+
if (!tea_util_1.default.isUnset(request.fallBackDuration)) {
|
|
4395
|
+
body["FallBackDuration"] = request.fallBackDuration;
|
|
4396
|
+
}
|
|
4358
4397
|
if (!tea_util_1.default.isUnset(request.fallBackId)) {
|
|
4359
4398
|
body["FallBackId"] = request.fallBackId;
|
|
4360
4399
|
}
|
|
@@ -4402,7 +4441,7 @@ class Client extends openapi_client_1.default {
|
|
|
4402
4441
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMassMessageResponse({}));
|
|
4403
4442
|
}
|
|
4404
4443
|
/**
|
|
4405
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
4444
|
+
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4406
4445
|
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
4407
4446
|
*
|
|
4408
4447
|
* @param request SendChatappMassMessageRequest
|
|
@@ -4413,7 +4452,7 @@ class Client extends openapi_client_1.default {
|
|
|
4413
4452
|
return await this.sendChatappMassMessageWithOptions(request, runtime);
|
|
4414
4453
|
}
|
|
4415
4454
|
/**
|
|
4416
|
-
* You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4455
|
+
* You can call this operation up to 200 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4417
4456
|
*
|
|
4418
4457
|
* @param tmpReq SendChatappMessageRequest
|
|
4419
4458
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4452,6 +4491,9 @@ class Client extends openapi_client_1.default {
|
|
|
4452
4491
|
if (!tea_util_1.default.isUnset(request.fallBackContent)) {
|
|
4453
4492
|
body["FallBackContent"] = request.fallBackContent;
|
|
4454
4493
|
}
|
|
4494
|
+
if (!tea_util_1.default.isUnset(request.fallBackDuration)) {
|
|
4495
|
+
body["FallBackDuration"] = request.fallBackDuration;
|
|
4496
|
+
}
|
|
4455
4497
|
if (!tea_util_1.default.isUnset(request.fallBackId)) {
|
|
4456
4498
|
body["FallBackId"] = request.fallBackId;
|
|
4457
4499
|
}
|
|
@@ -4512,7 +4554,7 @@ class Client extends openapi_client_1.default {
|
|
|
4512
4554
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMessageResponse({}));
|
|
4513
4555
|
}
|
|
4514
4556
|
/**
|
|
4515
|
-
* You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4557
|
+
* You can call this operation up to 200 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4516
4558
|
*
|
|
4517
4559
|
* @param request SendChatappMessageRequest
|
|
4518
4560
|
* @return SendChatappMessageResponse
|
|
@@ -4521,6 +4563,13 @@ class Client extends openapi_client_1.default {
|
|
|
4521
4563
|
let runtime = new $Util.RuntimeOptions({});
|
|
4522
4564
|
return await this.sendChatappMessageWithOptions(request, runtime);
|
|
4523
4565
|
}
|
|
4566
|
+
/**
|
|
4567
|
+
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4568
|
+
*
|
|
4569
|
+
* @param request SubmitIsvCustomerTermsRequest
|
|
4570
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4571
|
+
* @return SubmitIsvCustomerTermsResponse
|
|
4572
|
+
*/
|
|
4524
4573
|
async submitIsvCustomerTermsWithOptions(request, runtime) {
|
|
4525
4574
|
tea_util_1.default.validateModel(request);
|
|
4526
4575
|
let query = {};
|
|
@@ -4561,6 +4610,12 @@ class Client extends openapi_client_1.default {
|
|
|
4561
4610
|
});
|
|
4562
4611
|
return $tea.cast(await this.callApi(params, req, runtime), new SubmitIsvCustomerTermsResponse({}));
|
|
4563
4612
|
}
|
|
4613
|
+
/**
|
|
4614
|
+
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4615
|
+
*
|
|
4616
|
+
* @param request SubmitIsvCustomerTermsRequest
|
|
4617
|
+
* @return SubmitIsvCustomerTermsResponse
|
|
4618
|
+
*/
|
|
4564
4619
|
async submitIsvCustomerTerms(request) {
|
|
4565
4620
|
let runtime = new $Util.RuntimeOptions({});
|
|
4566
4621
|
return await this.submitIsvCustomerTermsWithOptions(request, runtime);
|