@alicloud/cams20200606 1.0.16 → 1.0.17
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 +181 -6
- package/dist/client.js +196 -6
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +205 -6
package/dist/client.js
CHANGED
|
@@ -1732,10 +1732,13 @@ class SendChatappMassMessageRequest extends $tea.Model {
|
|
|
1732
1732
|
fallBackId: 'FallBackId',
|
|
1733
1733
|
from: 'From',
|
|
1734
1734
|
isvCode: 'IsvCode',
|
|
1735
|
+
label: 'Label',
|
|
1735
1736
|
language: 'Language',
|
|
1736
1737
|
senderList: 'SenderList',
|
|
1738
|
+
tag: 'Tag',
|
|
1737
1739
|
taskId: 'TaskId',
|
|
1738
1740
|
templateCode: 'TemplateCode',
|
|
1741
|
+
ttl: 'Ttl',
|
|
1739
1742
|
};
|
|
1740
1743
|
}
|
|
1741
1744
|
static types() {
|
|
@@ -1747,10 +1750,13 @@ class SendChatappMassMessageRequest extends $tea.Model {
|
|
|
1747
1750
|
fallBackId: 'string',
|
|
1748
1751
|
from: 'string',
|
|
1749
1752
|
isvCode: 'string',
|
|
1753
|
+
label: 'string',
|
|
1750
1754
|
language: 'string',
|
|
1751
1755
|
senderList: { 'type': 'array', 'itemType': SendChatappMassMessageRequestSenderList },
|
|
1756
|
+
tag: 'string',
|
|
1752
1757
|
taskId: 'string',
|
|
1753
1758
|
templateCode: 'string',
|
|
1759
|
+
ttl: 'number',
|
|
1754
1760
|
};
|
|
1755
1761
|
}
|
|
1756
1762
|
}
|
|
@@ -1768,10 +1774,13 @@ class SendChatappMassMessageShrinkRequest extends $tea.Model {
|
|
|
1768
1774
|
fallBackId: 'FallBackId',
|
|
1769
1775
|
from: 'From',
|
|
1770
1776
|
isvCode: 'IsvCode',
|
|
1777
|
+
label: 'Label',
|
|
1771
1778
|
language: 'Language',
|
|
1772
1779
|
senderListShrink: 'SenderList',
|
|
1780
|
+
tag: 'Tag',
|
|
1773
1781
|
taskId: 'TaskId',
|
|
1774
1782
|
templateCode: 'TemplateCode',
|
|
1783
|
+
ttl: 'Ttl',
|
|
1775
1784
|
};
|
|
1776
1785
|
}
|
|
1777
1786
|
static types() {
|
|
@@ -1783,10 +1792,13 @@ class SendChatappMassMessageShrinkRequest extends $tea.Model {
|
|
|
1783
1792
|
fallBackId: 'string',
|
|
1784
1793
|
from: 'string',
|
|
1785
1794
|
isvCode: 'string',
|
|
1795
|
+
label: 'string',
|
|
1786
1796
|
language: 'string',
|
|
1787
1797
|
senderListShrink: 'string',
|
|
1798
|
+
tag: 'string',
|
|
1788
1799
|
taskId: 'string',
|
|
1789
1800
|
templateCode: 'string',
|
|
1801
|
+
ttl: 'number',
|
|
1790
1802
|
};
|
|
1791
1803
|
}
|
|
1792
1804
|
}
|
|
@@ -3028,6 +3040,13 @@ class Client extends openapi_client_1.default {
|
|
|
3028
3040
|
let runtime = new $Util.RuntimeOptions({});
|
|
3029
3041
|
return await this.beeBotChatWithOptions(request, runtime);
|
|
3030
3042
|
}
|
|
3043
|
+
/**
|
|
3044
|
+
* 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.
|
|
3045
|
+
*
|
|
3046
|
+
* @param request ChatappBindWabaRequest
|
|
3047
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3048
|
+
* @return ChatappBindWabaResponse
|
|
3049
|
+
*/
|
|
3031
3050
|
async chatappBindWabaWithOptions(request, runtime) {
|
|
3032
3051
|
tea_util_1.default.validateModel(request);
|
|
3033
3052
|
let body = {};
|
|
@@ -3050,10 +3069,23 @@ class Client extends openapi_client_1.default {
|
|
|
3050
3069
|
});
|
|
3051
3070
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappBindWabaResponse({}));
|
|
3052
3071
|
}
|
|
3072
|
+
/**
|
|
3073
|
+
* 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.
|
|
3074
|
+
*
|
|
3075
|
+
* @param request ChatappBindWabaRequest
|
|
3076
|
+
* @return ChatappBindWabaResponse
|
|
3077
|
+
*/
|
|
3053
3078
|
async chatappBindWaba(request) {
|
|
3054
3079
|
let runtime = new $Util.RuntimeOptions({});
|
|
3055
3080
|
return await this.chatappBindWabaWithOptions(request, runtime);
|
|
3056
3081
|
}
|
|
3082
|
+
/**
|
|
3083
|
+
* 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.
|
|
3084
|
+
*
|
|
3085
|
+
* @param request ChatappEmbedSignUpRequest
|
|
3086
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3087
|
+
* @return ChatappEmbedSignUpResponse
|
|
3088
|
+
*/
|
|
3057
3089
|
async chatappEmbedSignUpWithOptions(request, runtime) {
|
|
3058
3090
|
tea_util_1.default.validateModel(request);
|
|
3059
3091
|
let body = {};
|
|
@@ -3076,6 +3108,12 @@ class Client extends openapi_client_1.default {
|
|
|
3076
3108
|
});
|
|
3077
3109
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappEmbedSignUpResponse({}));
|
|
3078
3110
|
}
|
|
3111
|
+
/**
|
|
3112
|
+
* 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.
|
|
3113
|
+
*
|
|
3114
|
+
* @param request ChatappEmbedSignUpRequest
|
|
3115
|
+
* @return ChatappEmbedSignUpResponse
|
|
3116
|
+
*/
|
|
3079
3117
|
async chatappEmbedSignUp(request) {
|
|
3080
3118
|
let runtime = new $Util.RuntimeOptions({});
|
|
3081
3119
|
return await this.chatappEmbedSignUpWithOptions(request, runtime);
|
|
@@ -3141,6 +3179,13 @@ class Client extends openapi_client_1.default {
|
|
|
3141
3179
|
let runtime = new $Util.RuntimeOptions({});
|
|
3142
3180
|
return await this.chatappMigrationVerifiedWithOptions(request, runtime);
|
|
3143
3181
|
}
|
|
3182
|
+
/**
|
|
3183
|
+
* 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.
|
|
3184
|
+
*
|
|
3185
|
+
* @param request ChatappPhoneNumberRegisterRequest
|
|
3186
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3187
|
+
* @return ChatappPhoneNumberRegisterResponse
|
|
3188
|
+
*/
|
|
3144
3189
|
async chatappPhoneNumberRegisterWithOptions(request, runtime) {
|
|
3145
3190
|
tea_util_1.default.validateModel(request);
|
|
3146
3191
|
let body = {};
|
|
@@ -3166,10 +3211,23 @@ class Client extends openapi_client_1.default {
|
|
|
3166
3211
|
});
|
|
3167
3212
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappPhoneNumberRegisterResponse({}));
|
|
3168
3213
|
}
|
|
3214
|
+
/**
|
|
3215
|
+
* 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.
|
|
3216
|
+
*
|
|
3217
|
+
* @param request ChatappPhoneNumberRegisterRequest
|
|
3218
|
+
* @return ChatappPhoneNumberRegisterResponse
|
|
3219
|
+
*/
|
|
3169
3220
|
async chatappPhoneNumberRegister(request) {
|
|
3170
3221
|
let runtime = new $Util.RuntimeOptions({});
|
|
3171
3222
|
return await this.chatappPhoneNumberRegisterWithOptions(request, runtime);
|
|
3172
3223
|
}
|
|
3224
|
+
/**
|
|
3225
|
+
* 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.
|
|
3226
|
+
*
|
|
3227
|
+
* @param request ChatappSyncPhoneNumberRequest
|
|
3228
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3229
|
+
* @return ChatappSyncPhoneNumberResponse
|
|
3230
|
+
*/
|
|
3173
3231
|
async chatappSyncPhoneNumberWithOptions(request, runtime) {
|
|
3174
3232
|
tea_util_1.default.validateModel(request);
|
|
3175
3233
|
let query = {};
|
|
@@ -3192,10 +3250,23 @@ class Client extends openapi_client_1.default {
|
|
|
3192
3250
|
});
|
|
3193
3251
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappSyncPhoneNumberResponse({}));
|
|
3194
3252
|
}
|
|
3253
|
+
/**
|
|
3254
|
+
* 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.
|
|
3255
|
+
*
|
|
3256
|
+
* @param request ChatappSyncPhoneNumberRequest
|
|
3257
|
+
* @return ChatappSyncPhoneNumberResponse
|
|
3258
|
+
*/
|
|
3195
3259
|
async chatappSyncPhoneNumber(request) {
|
|
3196
3260
|
let runtime = new $Util.RuntimeOptions({});
|
|
3197
3261
|
return await this.chatappSyncPhoneNumberWithOptions(request, runtime);
|
|
3198
3262
|
}
|
|
3263
|
+
/**
|
|
3264
|
+
* 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.
|
|
3265
|
+
*
|
|
3266
|
+
* @param request ChatappVerifyAndRegisterRequest
|
|
3267
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3268
|
+
* @return ChatappVerifyAndRegisterResponse
|
|
3269
|
+
*/
|
|
3199
3270
|
async chatappVerifyAndRegisterWithOptions(request, runtime) {
|
|
3200
3271
|
tea_util_1.default.validateModel(request);
|
|
3201
3272
|
let body = {};
|
|
@@ -3224,10 +3295,23 @@ class Client extends openapi_client_1.default {
|
|
|
3224
3295
|
});
|
|
3225
3296
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappVerifyAndRegisterResponse({}));
|
|
3226
3297
|
}
|
|
3298
|
+
/**
|
|
3299
|
+
* 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.
|
|
3300
|
+
*
|
|
3301
|
+
* @param request ChatappVerifyAndRegisterRequest
|
|
3302
|
+
* @return ChatappVerifyAndRegisterResponse
|
|
3303
|
+
*/
|
|
3227
3304
|
async chatappVerifyAndRegister(request) {
|
|
3228
3305
|
let runtime = new $Util.RuntimeOptions({});
|
|
3229
3306
|
return await this.chatappVerifyAndRegisterWithOptions(request, runtime);
|
|
3230
3307
|
}
|
|
3308
|
+
/**
|
|
3309
|
+
* 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.
|
|
3310
|
+
*
|
|
3311
|
+
* @param request CreateChatappMigrationInitiateRequest
|
|
3312
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3313
|
+
* @return CreateChatappMigrationInitiateResponse
|
|
3314
|
+
*/
|
|
3231
3315
|
async createChatappMigrationInitiateWithOptions(request, runtime) {
|
|
3232
3316
|
tea_util_1.default.validateModel(request);
|
|
3233
3317
|
let query = {};
|
|
@@ -3256,6 +3340,12 @@ class Client extends openapi_client_1.default {
|
|
|
3256
3340
|
});
|
|
3257
3341
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateChatappMigrationInitiateResponse({}));
|
|
3258
3342
|
}
|
|
3343
|
+
/**
|
|
3344
|
+
* 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.
|
|
3345
|
+
*
|
|
3346
|
+
* @param request CreateChatappMigrationInitiateRequest
|
|
3347
|
+
* @return CreateChatappMigrationInitiateResponse
|
|
3348
|
+
*/
|
|
3259
3349
|
async createChatappMigrationInitiate(request) {
|
|
3260
3350
|
let runtime = new $Util.RuntimeOptions({});
|
|
3261
3351
|
return await this.createChatappMigrationInitiateWithOptions(request, runtime);
|
|
@@ -3438,6 +3528,13 @@ class Client extends openapi_client_1.default {
|
|
|
3438
3528
|
let runtime = new $Util.RuntimeOptions({});
|
|
3439
3529
|
return await this.getChatappTemplateDetailWithOptions(request, runtime);
|
|
3440
3530
|
}
|
|
3531
|
+
/**
|
|
3532
|
+
* 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.
|
|
3533
|
+
*
|
|
3534
|
+
* @param request GetChatappVerifyCodeRequest
|
|
3535
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3536
|
+
* @return GetChatappVerifyCodeResponse
|
|
3537
|
+
*/
|
|
3441
3538
|
async getChatappVerifyCodeWithOptions(request, runtime) {
|
|
3442
3539
|
tea_util_1.default.validateModel(request);
|
|
3443
3540
|
let body = {};
|
|
@@ -3469,6 +3566,12 @@ class Client extends openapi_client_1.default {
|
|
|
3469
3566
|
});
|
|
3470
3567
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappVerifyCodeResponse({}));
|
|
3471
3568
|
}
|
|
3569
|
+
/**
|
|
3570
|
+
* 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.
|
|
3571
|
+
*
|
|
3572
|
+
* @param request GetChatappVerifyCodeRequest
|
|
3573
|
+
* @return GetChatappVerifyCodeResponse
|
|
3574
|
+
*/
|
|
3472
3575
|
async getChatappVerifyCode(request) {
|
|
3473
3576
|
let runtime = new $Util.RuntimeOptions({});
|
|
3474
3577
|
return await this.getChatappVerifyCodeWithOptions(request, runtime);
|
|
@@ -3508,6 +3611,13 @@ class Client extends openapi_client_1.default {
|
|
|
3508
3611
|
let runtime = new $Util.RuntimeOptions({});
|
|
3509
3612
|
return await this.getMigrationVerifyCodeWithOptions(request, runtime);
|
|
3510
3613
|
}
|
|
3614
|
+
/**
|
|
3615
|
+
* 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.
|
|
3616
|
+
*
|
|
3617
|
+
* @param request GetPhoneNumberVerificationStatusRequest
|
|
3618
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3619
|
+
* @return GetPhoneNumberVerificationStatusResponse
|
|
3620
|
+
*/
|
|
3511
3621
|
async getPhoneNumberVerificationStatusWithOptions(request, runtime) {
|
|
3512
3622
|
tea_util_1.default.validateModel(request);
|
|
3513
3623
|
let body = {};
|
|
@@ -3533,10 +3643,23 @@ class Client extends openapi_client_1.default {
|
|
|
3533
3643
|
});
|
|
3534
3644
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPhoneNumberVerificationStatusResponse({}));
|
|
3535
3645
|
}
|
|
3646
|
+
/**
|
|
3647
|
+
* 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.
|
|
3648
|
+
*
|
|
3649
|
+
* @param request GetPhoneNumberVerificationStatusRequest
|
|
3650
|
+
* @return GetPhoneNumberVerificationStatusResponse
|
|
3651
|
+
*/
|
|
3536
3652
|
async getPhoneNumberVerificationStatus(request) {
|
|
3537
3653
|
let runtime = new $Util.RuntimeOptions({});
|
|
3538
3654
|
return await this.getPhoneNumberVerificationStatusWithOptions(request, runtime);
|
|
3539
3655
|
}
|
|
3656
|
+
/**
|
|
3657
|
+
* 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.
|
|
3658
|
+
*
|
|
3659
|
+
* @param request IsvGetAppIdRequest
|
|
3660
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3661
|
+
* @return IsvGetAppIdResponse
|
|
3662
|
+
*/
|
|
3540
3663
|
async isvGetAppIdWithOptions(request, runtime) {
|
|
3541
3664
|
tea_util_1.default.validateModel(request);
|
|
3542
3665
|
let body = {};
|
|
@@ -3559,6 +3682,12 @@ class Client extends openapi_client_1.default {
|
|
|
3559
3682
|
});
|
|
3560
3683
|
return $tea.cast(await this.callApi(params, req, runtime), new IsvGetAppIdResponse({}));
|
|
3561
3684
|
}
|
|
3685
|
+
/**
|
|
3686
|
+
* 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.
|
|
3687
|
+
*
|
|
3688
|
+
* @param request IsvGetAppIdRequest
|
|
3689
|
+
* @return IsvGetAppIdResponse
|
|
3690
|
+
*/
|
|
3562
3691
|
async isvGetAppId(request) {
|
|
3563
3692
|
let runtime = new $Util.RuntimeOptions({});
|
|
3564
3693
|
return await this.isvGetAppIdWithOptions(request, runtime);
|
|
@@ -3679,6 +3808,13 @@ class Client extends openapi_client_1.default {
|
|
|
3679
3808
|
let runtime = new $Util.RuntimeOptions({});
|
|
3680
3809
|
return await this.modifyChatappTemplateWithOptions(request, runtime);
|
|
3681
3810
|
}
|
|
3811
|
+
/**
|
|
3812
|
+
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3813
|
+
*
|
|
3814
|
+
* @param tmpReq ModifyPhoneBusinessProfileRequest
|
|
3815
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3816
|
+
* @return ModifyPhoneBusinessProfileResponse
|
|
3817
|
+
*/
|
|
3682
3818
|
async modifyPhoneBusinessProfileWithOptions(tmpReq, runtime) {
|
|
3683
3819
|
tea_util_1.default.validateModel(tmpReq);
|
|
3684
3820
|
let request = new ModifyPhoneBusinessProfileShrinkRequest({});
|
|
@@ -3727,6 +3863,12 @@ class Client extends openapi_client_1.default {
|
|
|
3727
3863
|
});
|
|
3728
3864
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPhoneBusinessProfileResponse({}));
|
|
3729
3865
|
}
|
|
3866
|
+
/**
|
|
3867
|
+
* 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.
|
|
3868
|
+
*
|
|
3869
|
+
* @param request ModifyPhoneBusinessProfileRequest
|
|
3870
|
+
* @return ModifyPhoneBusinessProfileResponse
|
|
3871
|
+
*/
|
|
3730
3872
|
async modifyPhoneBusinessProfile(request) {
|
|
3731
3873
|
let runtime = new $Util.RuntimeOptions({});
|
|
3732
3874
|
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
@@ -3815,6 +3957,13 @@ class Client extends openapi_client_1.default {
|
|
|
3815
3957
|
let runtime = new $Util.RuntimeOptions({});
|
|
3816
3958
|
return await this.queryChatappPhoneNumbersWithOptions(request, runtime);
|
|
3817
3959
|
}
|
|
3960
|
+
/**
|
|
3961
|
+
* 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.
|
|
3962
|
+
*
|
|
3963
|
+
* @param request QueryPhoneBusinessProfileRequest
|
|
3964
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3965
|
+
* @return QueryPhoneBusinessProfileResponse
|
|
3966
|
+
*/
|
|
3818
3967
|
async queryPhoneBusinessProfileWithOptions(request, runtime) {
|
|
3819
3968
|
tea_util_1.default.validateModel(request);
|
|
3820
3969
|
let query = {};
|
|
@@ -3840,10 +3989,23 @@ class Client extends openapi_client_1.default {
|
|
|
3840
3989
|
});
|
|
3841
3990
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryPhoneBusinessProfileResponse({}));
|
|
3842
3991
|
}
|
|
3992
|
+
/**
|
|
3993
|
+
* 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.
|
|
3994
|
+
*
|
|
3995
|
+
* @param request QueryPhoneBusinessProfileRequest
|
|
3996
|
+
* @return QueryPhoneBusinessProfileResponse
|
|
3997
|
+
*/
|
|
3843
3998
|
async queryPhoneBusinessProfile(request) {
|
|
3844
3999
|
let runtime = new $Util.RuntimeOptions({});
|
|
3845
4000
|
return await this.queryPhoneBusinessProfileWithOptions(request, runtime);
|
|
3846
4001
|
}
|
|
4002
|
+
/**
|
|
4003
|
+
* 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.
|
|
4004
|
+
*
|
|
4005
|
+
* @param request QueryWabaBusinessInfoRequest
|
|
4006
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4007
|
+
* @return QueryWabaBusinessInfoResponse
|
|
4008
|
+
*/
|
|
3847
4009
|
async queryWabaBusinessInfoWithOptions(request, runtime) {
|
|
3848
4010
|
tea_util_1.default.validateModel(request);
|
|
3849
4011
|
let query = {};
|
|
@@ -3869,13 +4031,19 @@ class Client extends openapi_client_1.default {
|
|
|
3869
4031
|
});
|
|
3870
4032
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryWabaBusinessInfoResponse({}));
|
|
3871
4033
|
}
|
|
4034
|
+
/**
|
|
4035
|
+
* 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.
|
|
4036
|
+
*
|
|
4037
|
+
* @param request QueryWabaBusinessInfoRequest
|
|
4038
|
+
* @return QueryWabaBusinessInfoResponse
|
|
4039
|
+
*/
|
|
3872
4040
|
async queryWabaBusinessInfo(request) {
|
|
3873
4041
|
let runtime = new $Util.RuntimeOptions({});
|
|
3874
4042
|
return await this.queryWabaBusinessInfoWithOptions(request, runtime);
|
|
3875
4043
|
}
|
|
3876
4044
|
/**
|
|
3877
|
-
* You can call this operation up to 10 times per second per account.
|
|
3878
|
-
*
|
|
4045
|
+
* 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.
|
|
4046
|
+
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
3879
4047
|
*
|
|
3880
4048
|
* @param tmpReq SendChatappMassMessageRequest
|
|
3881
4049
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3910,18 +4078,27 @@ class Client extends openapi_client_1.default {
|
|
|
3910
4078
|
if (!tea_util_1.default.isUnset(request.isvCode)) {
|
|
3911
4079
|
body["IsvCode"] = request.isvCode;
|
|
3912
4080
|
}
|
|
4081
|
+
if (!tea_util_1.default.isUnset(request.label)) {
|
|
4082
|
+
body["Label"] = request.label;
|
|
4083
|
+
}
|
|
3913
4084
|
if (!tea_util_1.default.isUnset(request.language)) {
|
|
3914
4085
|
body["Language"] = request.language;
|
|
3915
4086
|
}
|
|
3916
4087
|
if (!tea_util_1.default.isUnset(request.senderListShrink)) {
|
|
3917
4088
|
body["SenderList"] = request.senderListShrink;
|
|
3918
4089
|
}
|
|
4090
|
+
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
4091
|
+
body["Tag"] = request.tag;
|
|
4092
|
+
}
|
|
3919
4093
|
if (!tea_util_1.default.isUnset(request.taskId)) {
|
|
3920
4094
|
body["TaskId"] = request.taskId;
|
|
3921
4095
|
}
|
|
3922
4096
|
if (!tea_util_1.default.isUnset(request.templateCode)) {
|
|
3923
4097
|
body["TemplateCode"] = request.templateCode;
|
|
3924
4098
|
}
|
|
4099
|
+
if (!tea_util_1.default.isUnset(request.ttl)) {
|
|
4100
|
+
body["Ttl"] = request.ttl;
|
|
4101
|
+
}
|
|
3925
4102
|
let req = new $OpenApi.OpenApiRequest({
|
|
3926
4103
|
body: openapi_util_1.default.parseToMap(body),
|
|
3927
4104
|
});
|
|
@@ -3939,8 +4116,8 @@ class Client extends openapi_client_1.default {
|
|
|
3939
4116
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMassMessageResponse({}));
|
|
3940
4117
|
}
|
|
3941
4118
|
/**
|
|
3942
|
-
* You can call this operation up to 10 times per second per account.
|
|
3943
|
-
*
|
|
4119
|
+
* 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.
|
|
4120
|
+
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
3944
4121
|
*
|
|
3945
4122
|
* @param request SendChatappMassMessageRequest
|
|
3946
4123
|
* @return SendChatappMassMessageResponse
|
|
@@ -3950,7 +4127,7 @@ class Client extends openapi_client_1.default {
|
|
|
3950
4127
|
return await this.sendChatappMassMessageWithOptions(request, runtime);
|
|
3951
4128
|
}
|
|
3952
4129
|
/**
|
|
3953
|
-
* You can call this operation up to 200 times per second per account.
|
|
4130
|
+
* 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
4131
|
*
|
|
3955
4132
|
* @param tmpReq SendChatappMessageRequest
|
|
3956
4133
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -4046,7 +4223,7 @@ class Client extends openapi_client_1.default {
|
|
|
4046
4223
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMessageResponse({}));
|
|
4047
4224
|
}
|
|
4048
4225
|
/**
|
|
4049
|
-
* You can call this operation up to 200 times per second per account.
|
|
4226
|
+
* 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
4227
|
*
|
|
4051
4228
|
* @param request SendChatappMessageRequest
|
|
4052
4229
|
* @return SendChatappMessageResponse
|
|
@@ -4090,6 +4267,13 @@ class Client extends openapi_client_1.default {
|
|
|
4090
4267
|
let runtime = new $Util.RuntimeOptions({});
|
|
4091
4268
|
return await this.updateAccountWebhookWithOptions(request, runtime);
|
|
4092
4269
|
}
|
|
4270
|
+
/**
|
|
4271
|
+
* 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.
|
|
4272
|
+
*
|
|
4273
|
+
* @param request UpdatePhoneWebhookRequest
|
|
4274
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4275
|
+
* @return UpdatePhoneWebhookResponse
|
|
4276
|
+
*/
|
|
4093
4277
|
async updatePhoneWebhookWithOptions(request, runtime) {
|
|
4094
4278
|
tea_util_1.default.validateModel(request);
|
|
4095
4279
|
let query = {};
|
|
@@ -4127,6 +4311,12 @@ class Client extends openapi_client_1.default {
|
|
|
4127
4311
|
});
|
|
4128
4312
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneWebhookResponse({}));
|
|
4129
4313
|
}
|
|
4314
|
+
/**
|
|
4315
|
+
* 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.
|
|
4316
|
+
*
|
|
4317
|
+
* @param request UpdatePhoneWebhookRequest
|
|
4318
|
+
* @return UpdatePhoneWebhookResponse
|
|
4319
|
+
*/
|
|
4130
4320
|
async updatePhoneWebhook(request) {
|
|
4131
4321
|
let runtime = new $Util.RuntimeOptions({});
|
|
4132
4322
|
return await this.updatePhoneWebhookWithOptions(request, runtime);
|