@alicloud/cams20200606 1.4.1 → 1.4.3
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 +780 -440
- package/dist/client.js +798 -440
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +810 -440
package/src/client.ts
CHANGED
|
@@ -3105,6 +3105,7 @@ export class IsvGetAppIdResponse extends $tea.Model {
|
|
|
3105
3105
|
|
|
3106
3106
|
export class ListChatappTemplateRequest extends $tea.Model {
|
|
3107
3107
|
auditStatus?: string;
|
|
3108
|
+
code?: string;
|
|
3108
3109
|
custSpaceId?: string;
|
|
3109
3110
|
custWabaId?: string;
|
|
3110
3111
|
isvCode?: string;
|
|
@@ -3115,6 +3116,7 @@ export class ListChatappTemplateRequest extends $tea.Model {
|
|
|
3115
3116
|
static names(): { [key: string]: string } {
|
|
3116
3117
|
return {
|
|
3117
3118
|
auditStatus: 'AuditStatus',
|
|
3119
|
+
code: 'Code',
|
|
3118
3120
|
custSpaceId: 'CustSpaceId',
|
|
3119
3121
|
custWabaId: 'CustWabaId',
|
|
3120
3122
|
isvCode: 'IsvCode',
|
|
@@ -3128,6 +3130,7 @@ export class ListChatappTemplateRequest extends $tea.Model {
|
|
|
3128
3130
|
static types(): { [key: string]: any } {
|
|
3129
3131
|
return {
|
|
3130
3132
|
auditStatus: 'string',
|
|
3133
|
+
code: 'string',
|
|
3131
3134
|
custSpaceId: 'string',
|
|
3132
3135
|
custWabaId: 'string',
|
|
3133
3136
|
isvCode: 'string',
|
|
@@ -3145,6 +3148,7 @@ export class ListChatappTemplateRequest extends $tea.Model {
|
|
|
3145
3148
|
|
|
3146
3149
|
export class ListChatappTemplateShrinkRequest extends $tea.Model {
|
|
3147
3150
|
auditStatus?: string;
|
|
3151
|
+
code?: string;
|
|
3148
3152
|
custSpaceId?: string;
|
|
3149
3153
|
custWabaId?: string;
|
|
3150
3154
|
isvCode?: string;
|
|
@@ -3155,6 +3159,7 @@ export class ListChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
3155
3159
|
static names(): { [key: string]: string } {
|
|
3156
3160
|
return {
|
|
3157
3161
|
auditStatus: 'AuditStatus',
|
|
3162
|
+
code: 'Code',
|
|
3158
3163
|
custSpaceId: 'CustSpaceId',
|
|
3159
3164
|
custWabaId: 'CustWabaId',
|
|
3160
3165
|
isvCode: 'IsvCode',
|
|
@@ -3168,6 +3173,7 @@ export class ListChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
3168
3173
|
static types(): { [key: string]: any } {
|
|
3169
3174
|
return {
|
|
3170
3175
|
auditStatus: 'string',
|
|
3176
|
+
code: 'string',
|
|
3171
3177
|
custSpaceId: 'string',
|
|
3172
3178
|
custWabaId: 'string',
|
|
3173
3179
|
isvCode: 'string',
|
|
@@ -4104,10 +4110,16 @@ export class PublishFlowResponse extends $tea.Model {
|
|
|
4104
4110
|
export class QueryChatappBindWabaRequest extends $tea.Model {
|
|
4105
4111
|
custSpaceId?: string;
|
|
4106
4112
|
isvCode?: string;
|
|
4113
|
+
ownerId?: number;
|
|
4114
|
+
resourceOwnerAccount?: string;
|
|
4115
|
+
resourceOwnerId?: number;
|
|
4107
4116
|
static names(): { [key: string]: string } {
|
|
4108
4117
|
return {
|
|
4109
4118
|
custSpaceId: 'CustSpaceId',
|
|
4110
4119
|
isvCode: 'IsvCode',
|
|
4120
|
+
ownerId: 'OwnerId',
|
|
4121
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4122
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
4111
4123
|
};
|
|
4112
4124
|
}
|
|
4113
4125
|
|
|
@@ -4115,6 +4127,9 @@ export class QueryChatappBindWabaRequest extends $tea.Model {
|
|
|
4115
4127
|
return {
|
|
4116
4128
|
custSpaceId: 'string',
|
|
4117
4129
|
isvCode: 'string',
|
|
4130
|
+
ownerId: 'number',
|
|
4131
|
+
resourceOwnerAccount: 'string',
|
|
4132
|
+
resourceOwnerId: 'number',
|
|
4118
4133
|
};
|
|
4119
4134
|
}
|
|
4120
4135
|
|
|
@@ -4129,6 +4144,7 @@ export class QueryChatappBindWabaResponseBody extends $tea.Model {
|
|
|
4129
4144
|
data?: QueryChatappBindWabaResponseBodyData;
|
|
4130
4145
|
message?: string;
|
|
4131
4146
|
requestId?: string;
|
|
4147
|
+
success?: boolean;
|
|
4132
4148
|
static names(): { [key: string]: string } {
|
|
4133
4149
|
return {
|
|
4134
4150
|
accessDeniedDetail: 'AccessDeniedDetail',
|
|
@@ -4136,6 +4152,7 @@ export class QueryChatappBindWabaResponseBody extends $tea.Model {
|
|
|
4136
4152
|
data: 'Data',
|
|
4137
4153
|
message: 'Message',
|
|
4138
4154
|
requestId: 'RequestId',
|
|
4155
|
+
success: 'Success',
|
|
4139
4156
|
};
|
|
4140
4157
|
}
|
|
4141
4158
|
|
|
@@ -4146,6 +4163,7 @@ export class QueryChatappBindWabaResponseBody extends $tea.Model {
|
|
|
4146
4163
|
data: QueryChatappBindWabaResponseBodyData,
|
|
4147
4164
|
message: 'string',
|
|
4148
4165
|
requestId: 'string',
|
|
4166
|
+
success: 'boolean',
|
|
4149
4167
|
};
|
|
4150
4168
|
}
|
|
4151
4169
|
|
|
@@ -7263,27 +7281,33 @@ export class ModifyFlowResponseBodyData extends $tea.Model {
|
|
|
7263
7281
|
|
|
7264
7282
|
export class QueryChatappBindWabaResponseBodyData extends $tea.Model {
|
|
7265
7283
|
accountReviewStatus?: string;
|
|
7284
|
+
authInternationalRateEligibility?: { [key: string]: any };
|
|
7266
7285
|
currency?: string;
|
|
7267
7286
|
id?: string;
|
|
7268
7287
|
messageTemplateNamespace?: string;
|
|
7269
7288
|
name?: string;
|
|
7289
|
+
primaryBusinessLocation?: string;
|
|
7270
7290
|
static names(): { [key: string]: string } {
|
|
7271
7291
|
return {
|
|
7272
7292
|
accountReviewStatus: 'AccountReviewStatus',
|
|
7293
|
+
authInternationalRateEligibility: 'AuthInternationalRateEligibility',
|
|
7273
7294
|
currency: 'Currency',
|
|
7274
7295
|
id: 'Id',
|
|
7275
7296
|
messageTemplateNamespace: 'MessageTemplateNamespace',
|
|
7276
7297
|
name: 'Name',
|
|
7298
|
+
primaryBusinessLocation: 'PrimaryBusinessLocation',
|
|
7277
7299
|
};
|
|
7278
7300
|
}
|
|
7279
7301
|
|
|
7280
7302
|
static types(): { [key: string]: any } {
|
|
7281
7303
|
return {
|
|
7282
7304
|
accountReviewStatus: 'string',
|
|
7305
|
+
authInternationalRateEligibility: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7283
7306
|
currency: 'string',
|
|
7284
7307
|
id: 'string',
|
|
7285
7308
|
messageTemplateNamespace: 'string',
|
|
7286
7309
|
name: 'string',
|
|
7310
|
+
primaryBusinessLocation: 'string',
|
|
7287
7311
|
};
|
|
7288
7312
|
}
|
|
7289
7313
|
|
|
@@ -7687,11 +7711,13 @@ export default class Client extends OpenApi {
|
|
|
7687
7711
|
}
|
|
7688
7712
|
|
|
7689
7713
|
/**
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
|
|
7714
|
+
* @summary Adds a phone number for a WhatsApp Business account (WABA).
|
|
7715
|
+
*
|
|
7716
|
+
* @description 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.
|
|
7717
|
+
*
|
|
7718
|
+
* @param request AddChatappPhoneNumberRequest
|
|
7719
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7720
|
+
* @return AddChatappPhoneNumberResponse
|
|
7695
7721
|
*/
|
|
7696
7722
|
async addChatappPhoneNumberWithOptions(request: AddChatappPhoneNumberRequest, runtime: $Util.RuntimeOptions): Promise<AddChatappPhoneNumberResponse> {
|
|
7697
7723
|
Util.validateModel(request);
|
|
@@ -7734,10 +7760,12 @@ export default class Client extends OpenApi {
|
|
|
7734
7760
|
}
|
|
7735
7761
|
|
|
7736
7762
|
/**
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7763
|
+
* @summary Adds a phone number for a WhatsApp Business account (WABA).
|
|
7764
|
+
*
|
|
7765
|
+
* @description 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.
|
|
7766
|
+
*
|
|
7767
|
+
* @param request AddChatappPhoneNumberRequest
|
|
7768
|
+
* @return AddChatappPhoneNumberResponse
|
|
7741
7769
|
*/
|
|
7742
7770
|
async addChatappPhoneNumber(request: AddChatappPhoneNumberRequest): Promise<AddChatappPhoneNumberResponse> {
|
|
7743
7771
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -7745,11 +7773,13 @@ export default class Client extends OpenApi {
|
|
|
7745
7773
|
}
|
|
7746
7774
|
|
|
7747
7775
|
/**
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7776
|
+
* @summary Associates FAQs in the knowledge base.
|
|
7777
|
+
*
|
|
7778
|
+
* @description 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.
|
|
7779
|
+
*
|
|
7780
|
+
* @param tmpReq BeeBotAssociateRequest
|
|
7781
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7782
|
+
* @return BeeBotAssociateResponse
|
|
7753
7783
|
*/
|
|
7754
7784
|
async beeBotAssociateWithOptions(tmpReq: BeeBotAssociateRequest, runtime: $Util.RuntimeOptions): Promise<BeeBotAssociateResponse> {
|
|
7755
7785
|
Util.validateModel(tmpReq);
|
|
@@ -7806,10 +7836,12 @@ export default class Client extends OpenApi {
|
|
|
7806
7836
|
}
|
|
7807
7837
|
|
|
7808
7838
|
/**
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
7839
|
+
* @summary Associates FAQs in the knowledge base.
|
|
7840
|
+
*
|
|
7841
|
+
* @description 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.
|
|
7842
|
+
*
|
|
7843
|
+
* @param request BeeBotAssociateRequest
|
|
7844
|
+
* @return BeeBotAssociateResponse
|
|
7813
7845
|
*/
|
|
7814
7846
|
async beeBotAssociate(request: BeeBotAssociateRequest): Promise<BeeBotAssociateResponse> {
|
|
7815
7847
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -7817,11 +7849,13 @@ export default class Client extends OpenApi {
|
|
|
7817
7849
|
}
|
|
7818
7850
|
|
|
7819
7851
|
/**
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7852
|
+
* @summary Conducts sessions with the bot based on its unique identifier (ID).
|
|
7853
|
+
*
|
|
7854
|
+
* @description 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.
|
|
7855
|
+
*
|
|
7856
|
+
* @param tmpReq BeeBotChatRequest
|
|
7857
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7858
|
+
* @return BeeBotChatResponse
|
|
7825
7859
|
*/
|
|
7826
7860
|
async beeBotChatWithOptions(tmpReq: BeeBotChatRequest, runtime: $Util.RuntimeOptions): Promise<BeeBotChatResponse> {
|
|
7827
7861
|
Util.validateModel(tmpReq);
|
|
@@ -7898,10 +7932,12 @@ export default class Client extends OpenApi {
|
|
|
7898
7932
|
}
|
|
7899
7933
|
|
|
7900
7934
|
/**
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
7935
|
+
* @summary Conducts sessions with the bot based on its unique identifier (ID).
|
|
7936
|
+
*
|
|
7937
|
+
* @description 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.
|
|
7938
|
+
*
|
|
7939
|
+
* @param request BeeBotChatRequest
|
|
7940
|
+
* @return BeeBotChatResponse
|
|
7905
7941
|
*/
|
|
7906
7942
|
async beeBotChat(request: BeeBotChatRequest): Promise<BeeBotChatResponse> {
|
|
7907
7943
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -7909,11 +7945,13 @@ export default class Client extends OpenApi {
|
|
|
7909
7945
|
}
|
|
7910
7946
|
|
|
7911
7947
|
/**
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
7915
|
-
|
|
7916
|
-
|
|
7948
|
+
* @summary Binds the WhatsApp Business account with ChatApp.
|
|
7949
|
+
*
|
|
7950
|
+
* @description 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.
|
|
7951
|
+
*
|
|
7952
|
+
* @param request ChatappBindWabaRequest
|
|
7953
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7954
|
+
* @return ChatappBindWabaResponse
|
|
7917
7955
|
*/
|
|
7918
7956
|
async chatappBindWabaWithOptions(request: ChatappBindWabaRequest, runtime: $Util.RuntimeOptions): Promise<ChatappBindWabaResponse> {
|
|
7919
7957
|
Util.validateModel(request);
|
|
@@ -7940,10 +7978,12 @@ export default class Client extends OpenApi {
|
|
|
7940
7978
|
}
|
|
7941
7979
|
|
|
7942
7980
|
/**
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
7981
|
+
* @summary Binds the WhatsApp Business account with ChatApp.
|
|
7982
|
+
*
|
|
7983
|
+
* @description 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.
|
|
7984
|
+
*
|
|
7985
|
+
* @param request ChatappBindWabaRequest
|
|
7986
|
+
* @return ChatappBindWabaResponse
|
|
7947
7987
|
*/
|
|
7948
7988
|
async chatappBindWaba(request: ChatappBindWabaRequest): Promise<ChatappBindWabaResponse> {
|
|
7949
7989
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -7951,11 +7991,13 @@ export default class Client extends OpenApi {
|
|
|
7951
7991
|
}
|
|
7952
7992
|
|
|
7953
7993
|
/**
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
|
|
7958
|
-
|
|
7994
|
+
* @summary Queries WhatsApp Business account (WABA) information after embedded signup. You do not need to call this API operation if you use Version 2 of WhatsApp embedded signup.
|
|
7995
|
+
*
|
|
7996
|
+
* @description 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.
|
|
7997
|
+
*
|
|
7998
|
+
* @param request ChatappEmbedSignUpRequest
|
|
7999
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8000
|
+
* @return ChatappEmbedSignUpResponse
|
|
7959
8001
|
*/
|
|
7960
8002
|
async chatappEmbedSignUpWithOptions(request: ChatappEmbedSignUpRequest, runtime: $Util.RuntimeOptions): Promise<ChatappEmbedSignUpResponse> {
|
|
7961
8003
|
Util.validateModel(request);
|
|
@@ -7982,10 +8024,12 @@ export default class Client extends OpenApi {
|
|
|
7982
8024
|
}
|
|
7983
8025
|
|
|
7984
8026
|
/**
|
|
7985
|
-
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
8027
|
+
* @summary Queries WhatsApp Business account (WABA) information after embedded signup. You do not need to call this API operation if you use Version 2 of WhatsApp embedded signup.
|
|
8028
|
+
*
|
|
8029
|
+
* @description 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.
|
|
8030
|
+
*
|
|
8031
|
+
* @param request ChatappEmbedSignUpRequest
|
|
8032
|
+
* @return ChatappEmbedSignUpResponse
|
|
7989
8033
|
*/
|
|
7990
8034
|
async chatappEmbedSignUp(request: ChatappEmbedSignUpRequest): Promise<ChatappEmbedSignUpResponse> {
|
|
7991
8035
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -7993,11 +8037,13 @@ export default class Client extends OpenApi {
|
|
|
7993
8037
|
}
|
|
7994
8038
|
|
|
7995
8039
|
/**
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
|
|
7999
|
-
|
|
8000
|
-
|
|
8040
|
+
* @summary Registers a phone number for migration.
|
|
8041
|
+
*
|
|
8042
|
+
* @description 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.
|
|
8043
|
+
*
|
|
8044
|
+
* @param request ChatappMigrationRegisterRequest
|
|
8045
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8046
|
+
* @return ChatappMigrationRegisterResponse
|
|
8001
8047
|
*/
|
|
8002
8048
|
async chatappMigrationRegisterWithOptions(request: ChatappMigrationRegisterRequest, runtime: $Util.RuntimeOptions): Promise<ChatappMigrationRegisterResponse> {
|
|
8003
8049
|
Util.validateModel(request);
|
|
@@ -8028,10 +8074,12 @@ export default class Client extends OpenApi {
|
|
|
8028
8074
|
}
|
|
8029
8075
|
|
|
8030
8076
|
/**
|
|
8031
|
-
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
|
|
8077
|
+
* @summary Registers a phone number for migration.
|
|
8078
|
+
*
|
|
8079
|
+
* @description 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.
|
|
8080
|
+
*
|
|
8081
|
+
* @param request ChatappMigrationRegisterRequest
|
|
8082
|
+
* @return ChatappMigrationRegisterResponse
|
|
8035
8083
|
*/
|
|
8036
8084
|
async chatappMigrationRegister(request: ChatappMigrationRegisterRequest): Promise<ChatappMigrationRegisterResponse> {
|
|
8037
8085
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8039,11 +8087,13 @@ export default class Client extends OpenApi {
|
|
|
8039
8087
|
}
|
|
8040
8088
|
|
|
8041
8089
|
/**
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8090
|
+
* @summary Verifies a specified phone number for migration.
|
|
8091
|
+
*
|
|
8092
|
+
* @description 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.
|
|
8093
|
+
*
|
|
8094
|
+
* @param request ChatappMigrationVerifiedRequest
|
|
8095
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8096
|
+
* @return ChatappMigrationVerifiedResponse
|
|
8047
8097
|
*/
|
|
8048
8098
|
async chatappMigrationVerifiedWithOptions(request: ChatappMigrationVerifiedRequest, runtime: $Util.RuntimeOptions): Promise<ChatappMigrationVerifiedResponse> {
|
|
8049
8099
|
Util.validateModel(request);
|
|
@@ -8078,10 +8128,12 @@ export default class Client extends OpenApi {
|
|
|
8078
8128
|
}
|
|
8079
8129
|
|
|
8080
8130
|
/**
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
|
|
8131
|
+
* @summary Verifies a specified phone number for migration.
|
|
8132
|
+
*
|
|
8133
|
+
* @description 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.
|
|
8134
|
+
*
|
|
8135
|
+
* @param request ChatappMigrationVerifiedRequest
|
|
8136
|
+
* @return ChatappMigrationVerifiedResponse
|
|
8085
8137
|
*/
|
|
8086
8138
|
async chatappMigrationVerified(request: ChatappMigrationVerifiedRequest): Promise<ChatappMigrationVerifiedResponse> {
|
|
8087
8139
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8089,11 +8141,13 @@ export default class Client extends OpenApi {
|
|
|
8089
8141
|
}
|
|
8090
8142
|
|
|
8091
8143
|
/**
|
|
8092
|
-
|
|
8093
|
-
|
|
8094
|
-
|
|
8095
|
-
|
|
8096
|
-
|
|
8144
|
+
* @summary Deregisters a phone number from a WhatsApp Business account (WABA).
|
|
8145
|
+
*
|
|
8146
|
+
* @description 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.
|
|
8147
|
+
*
|
|
8148
|
+
* @param request ChatappPhoneNumberDeregisterRequest
|
|
8149
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8150
|
+
* @return ChatappPhoneNumberDeregisterResponse
|
|
8097
8151
|
*/
|
|
8098
8152
|
async chatappPhoneNumberDeregisterWithOptions(request: ChatappPhoneNumberDeregisterRequest, runtime: $Util.RuntimeOptions): Promise<ChatappPhoneNumberDeregisterResponse> {
|
|
8099
8153
|
Util.validateModel(request);
|
|
@@ -8124,10 +8178,12 @@ export default class Client extends OpenApi {
|
|
|
8124
8178
|
}
|
|
8125
8179
|
|
|
8126
8180
|
/**
|
|
8127
|
-
|
|
8128
|
-
|
|
8129
|
-
|
|
8130
|
-
|
|
8181
|
+
* @summary Deregisters a phone number from a WhatsApp Business account (WABA).
|
|
8182
|
+
*
|
|
8183
|
+
* @description 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.
|
|
8184
|
+
*
|
|
8185
|
+
* @param request ChatappPhoneNumberDeregisterRequest
|
|
8186
|
+
* @return ChatappPhoneNumberDeregisterResponse
|
|
8131
8187
|
*/
|
|
8132
8188
|
async chatappPhoneNumberDeregister(request: ChatappPhoneNumberDeregisterRequest): Promise<ChatappPhoneNumberDeregisterResponse> {
|
|
8133
8189
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8135,11 +8191,13 @@ export default class Client extends OpenApi {
|
|
|
8135
8191
|
}
|
|
8136
8192
|
|
|
8137
8193
|
/**
|
|
8138
|
-
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
|
|
8194
|
+
* @summary Registers a phone number.
|
|
8195
|
+
*
|
|
8196
|
+
* @description 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.
|
|
8197
|
+
*
|
|
8198
|
+
* @param request ChatappPhoneNumberRegisterRequest
|
|
8199
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8200
|
+
* @return ChatappPhoneNumberRegisterResponse
|
|
8143
8201
|
*/
|
|
8144
8202
|
async chatappPhoneNumberRegisterWithOptions(request: ChatappPhoneNumberRegisterRequest, runtime: $Util.RuntimeOptions): Promise<ChatappPhoneNumberRegisterResponse> {
|
|
8145
8203
|
Util.validateModel(request);
|
|
@@ -8170,10 +8228,12 @@ export default class Client extends OpenApi {
|
|
|
8170
8228
|
}
|
|
8171
8229
|
|
|
8172
8230
|
/**
|
|
8173
|
-
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
|
|
8231
|
+
* @summary Registers a phone number.
|
|
8232
|
+
*
|
|
8233
|
+
* @description 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.
|
|
8234
|
+
*
|
|
8235
|
+
* @param request ChatappPhoneNumberRegisterRequest
|
|
8236
|
+
* @return ChatappPhoneNumberRegisterResponse
|
|
8177
8237
|
*/
|
|
8178
8238
|
async chatappPhoneNumberRegister(request: ChatappPhoneNumberRegisterRequest): Promise<ChatappPhoneNumberRegisterResponse> {
|
|
8179
8239
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8181,11 +8241,13 @@ export default class Client extends OpenApi {
|
|
|
8181
8241
|
}
|
|
8182
8242
|
|
|
8183
8243
|
/**
|
|
8184
|
-
|
|
8185
|
-
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
|
|
8244
|
+
* @summary Synchronizes phone numbers.
|
|
8245
|
+
*
|
|
8246
|
+
* @description 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.
|
|
8247
|
+
*
|
|
8248
|
+
* @param request ChatappSyncPhoneNumberRequest
|
|
8249
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8250
|
+
* @return ChatappSyncPhoneNumberResponse
|
|
8189
8251
|
*/
|
|
8190
8252
|
async chatappSyncPhoneNumberWithOptions(request: ChatappSyncPhoneNumberRequest, runtime: $Util.RuntimeOptions): Promise<ChatappSyncPhoneNumberResponse> {
|
|
8191
8253
|
Util.validateModel(request);
|
|
@@ -8212,10 +8274,12 @@ export default class Client extends OpenApi {
|
|
|
8212
8274
|
}
|
|
8213
8275
|
|
|
8214
8276
|
/**
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
8218
|
-
|
|
8277
|
+
* @summary Synchronizes phone numbers.
|
|
8278
|
+
*
|
|
8279
|
+
* @description 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.
|
|
8280
|
+
*
|
|
8281
|
+
* @param request ChatappSyncPhoneNumberRequest
|
|
8282
|
+
* @return ChatappSyncPhoneNumberResponse
|
|
8219
8283
|
*/
|
|
8220
8284
|
async chatappSyncPhoneNumber(request: ChatappSyncPhoneNumberRequest): Promise<ChatappSyncPhoneNumberResponse> {
|
|
8221
8285
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8223,11 +8287,13 @@ export default class Client extends OpenApi {
|
|
|
8223
8287
|
}
|
|
8224
8288
|
|
|
8225
8289
|
/**
|
|
8226
|
-
|
|
8227
|
-
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
|
|
8290
|
+
* @summary Associates a phone number with a WhatsApp Business account (WABA).
|
|
8291
|
+
*
|
|
8292
|
+
* @description 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.
|
|
8293
|
+
*
|
|
8294
|
+
* @param request ChatappVerifyAndRegisterRequest
|
|
8295
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8296
|
+
* @return ChatappVerifyAndRegisterResponse
|
|
8231
8297
|
*/
|
|
8232
8298
|
async chatappVerifyAndRegisterWithOptions(request: ChatappVerifyAndRegisterRequest, runtime: $Util.RuntimeOptions): Promise<ChatappVerifyAndRegisterResponse> {
|
|
8233
8299
|
Util.validateModel(request);
|
|
@@ -8262,10 +8328,12 @@ export default class Client extends OpenApi {
|
|
|
8262
8328
|
}
|
|
8263
8329
|
|
|
8264
8330
|
/**
|
|
8265
|
-
|
|
8266
|
-
|
|
8267
|
-
|
|
8268
|
-
|
|
8331
|
+
* @summary Associates a phone number with a WhatsApp Business account (WABA).
|
|
8332
|
+
*
|
|
8333
|
+
* @description 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.
|
|
8334
|
+
*
|
|
8335
|
+
* @param request ChatappVerifyAndRegisterRequest
|
|
8336
|
+
* @return ChatappVerifyAndRegisterResponse
|
|
8269
8337
|
*/
|
|
8270
8338
|
async chatappVerifyAndRegister(request: ChatappVerifyAndRegisterRequest): Promise<ChatappVerifyAndRegisterResponse> {
|
|
8271
8339
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8273,11 +8341,13 @@ export default class Client extends OpenApi {
|
|
|
8273
8341
|
}
|
|
8274
8342
|
|
|
8275
8343
|
/**
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8344
|
+
* @summary The ID of the number.
|
|
8345
|
+
*
|
|
8346
|
+
* @description The status of the phone number.
|
|
8347
|
+
*
|
|
8348
|
+
* @param request CreateChatappMigrationInitiateRequest
|
|
8349
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8350
|
+
* @return CreateChatappMigrationInitiateResponse
|
|
8281
8351
|
*/
|
|
8282
8352
|
async createChatappMigrationInitiateWithOptions(request: CreateChatappMigrationInitiateRequest, runtime: $Util.RuntimeOptions): Promise<CreateChatappMigrationInitiateResponse> {
|
|
8283
8353
|
Util.validateModel(request);
|
|
@@ -8312,10 +8382,12 @@ export default class Client extends OpenApi {
|
|
|
8312
8382
|
}
|
|
8313
8383
|
|
|
8314
8384
|
/**
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
|
|
8385
|
+
* @summary The ID of the number.
|
|
8386
|
+
*
|
|
8387
|
+
* @description The status of the phone number.
|
|
8388
|
+
*
|
|
8389
|
+
* @param request CreateChatappMigrationInitiateRequest
|
|
8390
|
+
* @return CreateChatappMigrationInitiateResponse
|
|
8319
8391
|
*/
|
|
8320
8392
|
async createChatappMigrationInitiate(request: CreateChatappMigrationInitiateRequest): Promise<CreateChatappMigrationInitiateResponse> {
|
|
8321
8393
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8323,11 +8395,15 @@ export default class Client extends OpenApi {
|
|
|
8323
8395
|
}
|
|
8324
8396
|
|
|
8325
8397
|
/**
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8330
|
-
|
|
8398
|
+
* @summary The HTTP status code.
|
|
8399
|
+
* \\\\* Example: OK. This parameter indicates that the request is successful.
|
|
8400
|
+
* \\\\* Other values indicate that the request fails. For more information, see \\[Error codes]\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
8401
|
+
*
|
|
8402
|
+
* @description The error message.
|
|
8403
|
+
*
|
|
8404
|
+
* @param tmpReq CreateChatappTemplateRequest
|
|
8405
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8406
|
+
* @return CreateChatappTemplateResponse
|
|
8331
8407
|
*/
|
|
8332
8408
|
async createChatappTemplateWithOptions(tmpReq: CreateChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<CreateChatappTemplateResponse> {
|
|
8333
8409
|
Util.validateModel(tmpReq);
|
|
@@ -8404,10 +8480,14 @@ export default class Client extends OpenApi {
|
|
|
8404
8480
|
}
|
|
8405
8481
|
|
|
8406
8482
|
/**
|
|
8407
|
-
|
|
8408
|
-
|
|
8409
|
-
|
|
8410
|
-
|
|
8483
|
+
* @summary The HTTP status code.
|
|
8484
|
+
* \\\\* Example: OK. This parameter indicates that the request is successful.
|
|
8485
|
+
* \\\\* Other values indicate that the request fails. For more information, see \\[Error codes]\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
8486
|
+
*
|
|
8487
|
+
* @description The error message.
|
|
8488
|
+
*
|
|
8489
|
+
* @param request CreateChatappTemplateRequest
|
|
8490
|
+
* @return CreateChatappTemplateResponse
|
|
8411
8491
|
*/
|
|
8412
8492
|
async createChatappTemplate(request: CreateChatappTemplateRequest): Promise<CreateChatappTemplateResponse> {
|
|
8413
8493
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8415,11 +8495,13 @@ export default class Client extends OpenApi {
|
|
|
8415
8495
|
}
|
|
8416
8496
|
|
|
8417
8497
|
/**
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8498
|
+
* @summary Creates a Flow.
|
|
8499
|
+
*
|
|
8500
|
+
* @description 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.
|
|
8501
|
+
*
|
|
8502
|
+
* @param tmpReq CreateFlowRequest
|
|
8503
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8504
|
+
* @return CreateFlowResponse
|
|
8423
8505
|
*/
|
|
8424
8506
|
async createFlowWithOptions(tmpReq: CreateFlowRequest, runtime: $Util.RuntimeOptions): Promise<CreateFlowResponse> {
|
|
8425
8507
|
Util.validateModel(tmpReq);
|
|
@@ -8460,16 +8542,25 @@ export default class Client extends OpenApi {
|
|
|
8460
8542
|
}
|
|
8461
8543
|
|
|
8462
8544
|
/**
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
|
|
8545
|
+
* @summary Creates a Flow.
|
|
8546
|
+
*
|
|
8547
|
+
* @description 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.
|
|
8548
|
+
*
|
|
8549
|
+
* @param request CreateFlowRequest
|
|
8550
|
+
* @return CreateFlowResponse
|
|
8467
8551
|
*/
|
|
8468
8552
|
async createFlow(request: CreateFlowRequest): Promise<CreateFlowResponse> {
|
|
8469
8553
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8470
8554
|
return await this.createFlowWithOptions(request, runtime);
|
|
8471
8555
|
}
|
|
8472
8556
|
|
|
8557
|
+
/**
|
|
8558
|
+
* @summary 创建消息发送二维码
|
|
8559
|
+
*
|
|
8560
|
+
* @param request CreatePhoneMessageQrdlRequest
|
|
8561
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8562
|
+
* @return CreatePhoneMessageQrdlResponse
|
|
8563
|
+
*/
|
|
8473
8564
|
async createPhoneMessageQrdlWithOptions(request: CreatePhoneMessageQrdlRequest, runtime: $Util.RuntimeOptions): Promise<CreatePhoneMessageQrdlResponse> {
|
|
8474
8565
|
Util.validateModel(request);
|
|
8475
8566
|
let body : {[key: string ]: any} = { };
|
|
@@ -8506,18 +8597,26 @@ export default class Client extends OpenApi {
|
|
|
8506
8597
|
return $tea.cast<CreatePhoneMessageQrdlResponse>(await this.callApi(params, req, runtime), new CreatePhoneMessageQrdlResponse({}));
|
|
8507
8598
|
}
|
|
8508
8599
|
|
|
8600
|
+
/**
|
|
8601
|
+
* @summary 创建消息发送二维码
|
|
8602
|
+
*
|
|
8603
|
+
* @param request CreatePhoneMessageQrdlRequest
|
|
8604
|
+
* @return CreatePhoneMessageQrdlResponse
|
|
8605
|
+
*/
|
|
8509
8606
|
async createPhoneMessageQrdl(request: CreatePhoneMessageQrdlRequest): Promise<CreatePhoneMessageQrdlResponse> {
|
|
8510
8607
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8511
8608
|
return await this.createPhoneMessageQrdlWithOptions(request, runtime);
|
|
8512
8609
|
}
|
|
8513
8610
|
|
|
8514
8611
|
/**
|
|
8515
|
-
|
|
8516
|
-
|
|
8517
|
-
|
|
8518
|
-
|
|
8519
|
-
|
|
8520
|
-
|
|
8612
|
+
* @summary Deletes a message template.
|
|
8613
|
+
*
|
|
8614
|
+
* @description ### QPS limit
|
|
8615
|
+
* 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.
|
|
8616
|
+
*
|
|
8617
|
+
* @param request DeleteChatappTemplateRequest
|
|
8618
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8619
|
+
* @return DeleteChatappTemplateResponse
|
|
8521
8620
|
*/
|
|
8522
8621
|
async deleteChatappTemplateWithOptions(request: DeleteChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<DeleteChatappTemplateResponse> {
|
|
8523
8622
|
Util.validateModel(request);
|
|
@@ -8568,11 +8667,13 @@ export default class Client extends OpenApi {
|
|
|
8568
8667
|
}
|
|
8569
8668
|
|
|
8570
8669
|
/**
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8575
|
-
|
|
8670
|
+
* @summary Deletes a message template.
|
|
8671
|
+
*
|
|
8672
|
+
* @description ### QPS limit
|
|
8673
|
+
* 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.
|
|
8674
|
+
*
|
|
8675
|
+
* @param request DeleteChatappTemplateRequest
|
|
8676
|
+
* @return DeleteChatappTemplateResponse
|
|
8576
8677
|
*/
|
|
8577
8678
|
async deleteChatappTemplate(request: DeleteChatappTemplateRequest): Promise<DeleteChatappTemplateResponse> {
|
|
8578
8679
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8580,11 +8681,13 @@ export default class Client extends OpenApi {
|
|
|
8580
8681
|
}
|
|
8581
8682
|
|
|
8582
8683
|
/**
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8684
|
+
* @summary Deletes a Flow. Only Flows in the DRAFT state can be deleted.
|
|
8685
|
+
*
|
|
8686
|
+
* @description 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.
|
|
8687
|
+
*
|
|
8688
|
+
* @param request DeleteFlowRequest
|
|
8689
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8690
|
+
* @return DeleteFlowResponse
|
|
8588
8691
|
*/
|
|
8589
8692
|
async deleteFlowWithOptions(request: DeleteFlowRequest, runtime: $Util.RuntimeOptions): Promise<DeleteFlowResponse> {
|
|
8590
8693
|
Util.validateModel(request);
|
|
@@ -8615,16 +8718,25 @@ export default class Client extends OpenApi {
|
|
|
8615
8718
|
}
|
|
8616
8719
|
|
|
8617
8720
|
/**
|
|
8618
|
-
|
|
8619
|
-
|
|
8620
|
-
|
|
8621
|
-
|
|
8721
|
+
* @summary Deletes a Flow. Only Flows in the DRAFT state can be deleted.
|
|
8722
|
+
*
|
|
8723
|
+
* @description 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.
|
|
8724
|
+
*
|
|
8725
|
+
* @param request DeleteFlowRequest
|
|
8726
|
+
* @return DeleteFlowResponse
|
|
8622
8727
|
*/
|
|
8623
8728
|
async deleteFlow(request: DeleteFlowRequest): Promise<DeleteFlowResponse> {
|
|
8624
8729
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8625
8730
|
return await this.deleteFlowWithOptions(request, runtime);
|
|
8626
8731
|
}
|
|
8627
8732
|
|
|
8733
|
+
/**
|
|
8734
|
+
* @summary 删除消息发送二维码
|
|
8735
|
+
*
|
|
8736
|
+
* @param request DeletePhoneMessageQrdlRequest
|
|
8737
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8738
|
+
* @return DeletePhoneMessageQrdlResponse
|
|
8739
|
+
*/
|
|
8628
8740
|
async deletePhoneMessageQrdlWithOptions(request: DeletePhoneMessageQrdlRequest, runtime: $Util.RuntimeOptions): Promise<DeletePhoneMessageQrdlResponse> {
|
|
8629
8741
|
Util.validateModel(request);
|
|
8630
8742
|
let body : {[key: string ]: any} = { };
|
|
@@ -8657,11 +8769,24 @@ export default class Client extends OpenApi {
|
|
|
8657
8769
|
return $tea.cast<DeletePhoneMessageQrdlResponse>(await this.callApi(params, req, runtime), new DeletePhoneMessageQrdlResponse({}));
|
|
8658
8770
|
}
|
|
8659
8771
|
|
|
8772
|
+
/**
|
|
8773
|
+
* @summary 删除消息发送二维码
|
|
8774
|
+
*
|
|
8775
|
+
* @param request DeletePhoneMessageQrdlRequest
|
|
8776
|
+
* @return DeletePhoneMessageQrdlResponse
|
|
8777
|
+
*/
|
|
8660
8778
|
async deletePhoneMessageQrdl(request: DeletePhoneMessageQrdlRequest): Promise<DeletePhoneMessageQrdlResponse> {
|
|
8661
8779
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8662
8780
|
return await this.deletePhoneMessageQrdlWithOptions(request, runtime);
|
|
8663
8781
|
}
|
|
8664
8782
|
|
|
8783
|
+
/**
|
|
8784
|
+
* @summary 弃用Flow
|
|
8785
|
+
*
|
|
8786
|
+
* @param request DeprecateFlowRequest
|
|
8787
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8788
|
+
* @return DeprecateFlowResponse
|
|
8789
|
+
*/
|
|
8665
8790
|
async deprecateFlowWithOptions(request: DeprecateFlowRequest, runtime: $Util.RuntimeOptions): Promise<DeprecateFlowResponse> {
|
|
8666
8791
|
Util.validateModel(request);
|
|
8667
8792
|
let body : {[key: string ]: any} = { };
|
|
@@ -8690,17 +8815,25 @@ export default class Client extends OpenApi {
|
|
|
8690
8815
|
return $tea.cast<DeprecateFlowResponse>(await this.callApi(params, req, runtime), new DeprecateFlowResponse({}));
|
|
8691
8816
|
}
|
|
8692
8817
|
|
|
8818
|
+
/**
|
|
8819
|
+
* @summary 弃用Flow
|
|
8820
|
+
*
|
|
8821
|
+
* @param request DeprecateFlowRequest
|
|
8822
|
+
* @return DeprecateFlowResponse
|
|
8823
|
+
*/
|
|
8693
8824
|
async deprecateFlow(request: DeprecateFlowRequest): Promise<DeprecateFlowResponse> {
|
|
8694
8825
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8695
8826
|
return await this.deprecateFlowWithOptions(request, runtime);
|
|
8696
8827
|
}
|
|
8697
8828
|
|
|
8698
8829
|
/**
|
|
8699
|
-
|
|
8700
|
-
|
|
8701
|
-
|
|
8702
|
-
|
|
8703
|
-
|
|
8830
|
+
* @summary Enables the statistics on the metrics that are related to WhatsApp.
|
|
8831
|
+
*
|
|
8832
|
+
* @description 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.
|
|
8833
|
+
*
|
|
8834
|
+
* @param request EnableWhatsappROIMetricRequest
|
|
8835
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8836
|
+
* @return EnableWhatsappROIMetricResponse
|
|
8704
8837
|
*/
|
|
8705
8838
|
async enableWhatsappROIMetricWithOptions(request: EnableWhatsappROIMetricRequest, runtime: $Util.RuntimeOptions): Promise<EnableWhatsappROIMetricResponse> {
|
|
8706
8839
|
Util.validateModel(request);
|
|
@@ -8731,10 +8864,12 @@ export default class Client extends OpenApi {
|
|
|
8731
8864
|
}
|
|
8732
8865
|
|
|
8733
8866
|
/**
|
|
8734
|
-
|
|
8735
|
-
|
|
8736
|
-
|
|
8737
|
-
|
|
8867
|
+
* @summary Enables the statistics on the metrics that are related to WhatsApp.
|
|
8868
|
+
*
|
|
8869
|
+
* @description 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.
|
|
8870
|
+
*
|
|
8871
|
+
* @param request EnableWhatsappROIMetricRequest
|
|
8872
|
+
* @return EnableWhatsappROIMetricResponse
|
|
8738
8873
|
*/
|
|
8739
8874
|
async enableWhatsappROIMetric(request: EnableWhatsappROIMetricRequest): Promise<EnableWhatsappROIMetricResponse> {
|
|
8740
8875
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8742,11 +8877,13 @@ export default class Client extends OpenApi {
|
|
|
8742
8877
|
}
|
|
8743
8878
|
|
|
8744
8879
|
/**
|
|
8745
|
-
|
|
8746
|
-
|
|
8747
|
-
|
|
8748
|
-
|
|
8749
|
-
|
|
8880
|
+
* @summary Queries the number of messages that are sent by using a phone number by a specific metric.
|
|
8881
|
+
*
|
|
8882
|
+
* @description You can call this operation up to 50 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.
|
|
8883
|
+
*
|
|
8884
|
+
* @param request GetChatappPhoneNumberMetricRequest
|
|
8885
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8886
|
+
* @return GetChatappPhoneNumberMetricResponse
|
|
8750
8887
|
*/
|
|
8751
8888
|
async getChatappPhoneNumberMetricWithOptions(request: GetChatappPhoneNumberMetricRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappPhoneNumberMetricResponse> {
|
|
8752
8889
|
Util.validateModel(request);
|
|
@@ -8793,10 +8930,12 @@ export default class Client extends OpenApi {
|
|
|
8793
8930
|
}
|
|
8794
8931
|
|
|
8795
8932
|
/**
|
|
8796
|
-
|
|
8797
|
-
|
|
8798
|
-
|
|
8799
|
-
|
|
8933
|
+
* @summary Queries the number of messages that are sent by using a phone number by a specific metric.
|
|
8934
|
+
*
|
|
8935
|
+
* @description You can call this operation up to 50 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.
|
|
8936
|
+
*
|
|
8937
|
+
* @param request GetChatappPhoneNumberMetricRequest
|
|
8938
|
+
* @return GetChatappPhoneNumberMetricResponse
|
|
8800
8939
|
*/
|
|
8801
8940
|
async getChatappPhoneNumberMetric(request: GetChatappPhoneNumberMetricRequest): Promise<GetChatappPhoneNumberMetricResponse> {
|
|
8802
8941
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8804,12 +8943,14 @@ export default class Client extends OpenApi {
|
|
|
8804
8943
|
}
|
|
8805
8944
|
|
|
8806
8945
|
/**
|
|
8807
|
-
|
|
8808
|
-
|
|
8809
|
-
|
|
8810
|
-
|
|
8811
|
-
|
|
8812
|
-
|
|
8946
|
+
* @summary Queries the information of a message template.
|
|
8947
|
+
*
|
|
8948
|
+
* @description ### QPS limit
|
|
8949
|
+
* You can call this API 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.
|
|
8950
|
+
*
|
|
8951
|
+
* @param request GetChatappTemplateDetailRequest
|
|
8952
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8953
|
+
* @return GetChatappTemplateDetailResponse
|
|
8813
8954
|
*/
|
|
8814
8955
|
async getChatappTemplateDetailWithOptions(request: GetChatappTemplateDetailRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappTemplateDetailResponse> {
|
|
8815
8956
|
Util.validateModel(request);
|
|
@@ -8860,11 +9001,13 @@ export default class Client extends OpenApi {
|
|
|
8860
9001
|
}
|
|
8861
9002
|
|
|
8862
9003
|
/**
|
|
8863
|
-
|
|
8864
|
-
|
|
8865
|
-
|
|
8866
|
-
|
|
8867
|
-
|
|
9004
|
+
* @summary Queries the information of a message template.
|
|
9005
|
+
*
|
|
9006
|
+
* @description ### QPS limit
|
|
9007
|
+
* You can call this API 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.
|
|
9008
|
+
*
|
|
9009
|
+
* @param request GetChatappTemplateDetailRequest
|
|
9010
|
+
* @return GetChatappTemplateDetailResponse
|
|
8868
9011
|
*/
|
|
8869
9012
|
async getChatappTemplateDetail(request: GetChatappTemplateDetailRequest): Promise<GetChatappTemplateDetailResponse> {
|
|
8870
9013
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8872,11 +9015,13 @@ export default class Client extends OpenApi {
|
|
|
8872
9015
|
}
|
|
8873
9016
|
|
|
8874
9017
|
/**
|
|
8875
|
-
|
|
8876
|
-
|
|
8877
|
-
|
|
8878
|
-
|
|
8879
|
-
|
|
9018
|
+
* @summary Queries the metrics about a marketing template.
|
|
9019
|
+
*
|
|
9020
|
+
* @description You can call this operation up to 50 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.
|
|
9021
|
+
*
|
|
9022
|
+
* @param request GetChatappTemplateMetricRequest
|
|
9023
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9024
|
+
* @return GetChatappTemplateMetricResponse
|
|
8880
9025
|
*/
|
|
8881
9026
|
async getChatappTemplateMetricWithOptions(request: GetChatappTemplateMetricRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappTemplateMetricResponse> {
|
|
8882
9027
|
Util.validateModel(request);
|
|
@@ -8931,10 +9076,12 @@ export default class Client extends OpenApi {
|
|
|
8931
9076
|
}
|
|
8932
9077
|
|
|
8933
9078
|
/**
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
9079
|
+
* @summary Queries the metrics about a marketing template.
|
|
9080
|
+
*
|
|
9081
|
+
* @description You can call this operation up to 50 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.
|
|
9082
|
+
*
|
|
9083
|
+
* @param request GetChatappTemplateMetricRequest
|
|
9084
|
+
* @return GetChatappTemplateMetricResponse
|
|
8938
9085
|
*/
|
|
8939
9086
|
async getChatappTemplateMetric(request: GetChatappTemplateMetricRequest): Promise<GetChatappTemplateMetricResponse> {
|
|
8940
9087
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8942,11 +9089,13 @@ export default class Client extends OpenApi {
|
|
|
8942
9089
|
}
|
|
8943
9090
|
|
|
8944
9091
|
/**
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
|
|
9092
|
+
* @summary Obtains the authentication information that is used to upload a file.
|
|
9093
|
+
*
|
|
9094
|
+
* @description 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.
|
|
9095
|
+
*
|
|
9096
|
+
* @param request GetChatappUploadAuthorizationRequest
|
|
9097
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9098
|
+
* @return GetChatappUploadAuthorizationResponse
|
|
8950
9099
|
*/
|
|
8951
9100
|
async getChatappUploadAuthorizationWithOptions(request: GetChatappUploadAuthorizationRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappUploadAuthorizationResponse> {
|
|
8952
9101
|
Util.validateModel(request);
|
|
@@ -8973,10 +9122,12 @@ export default class Client extends OpenApi {
|
|
|
8973
9122
|
}
|
|
8974
9123
|
|
|
8975
9124
|
/**
|
|
8976
|
-
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
|
|
9125
|
+
* @summary Obtains the authentication information that is used to upload a file.
|
|
9126
|
+
*
|
|
9127
|
+
* @description 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.
|
|
9128
|
+
*
|
|
9129
|
+
* @param request GetChatappUploadAuthorizationRequest
|
|
9130
|
+
* @return GetChatappUploadAuthorizationResponse
|
|
8980
9131
|
*/
|
|
8981
9132
|
async getChatappUploadAuthorization(request: GetChatappUploadAuthorizationRequest): Promise<GetChatappUploadAuthorizationResponse> {
|
|
8982
9133
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8984,11 +9135,13 @@ export default class Client extends OpenApi {
|
|
|
8984
9135
|
}
|
|
8985
9136
|
|
|
8986
9137
|
/**
|
|
8987
|
-
|
|
8988
|
-
|
|
8989
|
-
|
|
8990
|
-
|
|
8991
|
-
|
|
9138
|
+
* @summary Obtains a verification code.
|
|
9139
|
+
*
|
|
9140
|
+
* @description 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.
|
|
9141
|
+
*
|
|
9142
|
+
* @param request GetChatappVerifyCodeRequest
|
|
9143
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9144
|
+
* @return GetChatappVerifyCodeResponse
|
|
8992
9145
|
*/
|
|
8993
9146
|
async getChatappVerifyCodeWithOptions(request: GetChatappVerifyCodeRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappVerifyCodeResponse> {
|
|
8994
9147
|
Util.validateModel(request);
|
|
@@ -9027,10 +9180,12 @@ export default class Client extends OpenApi {
|
|
|
9027
9180
|
}
|
|
9028
9181
|
|
|
9029
9182
|
/**
|
|
9030
|
-
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
|
-
|
|
9183
|
+
* @summary Obtains a verification code.
|
|
9184
|
+
*
|
|
9185
|
+
* @description 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.
|
|
9186
|
+
*
|
|
9187
|
+
* @param request GetChatappVerifyCodeRequest
|
|
9188
|
+
* @return GetChatappVerifyCodeResponse
|
|
9034
9189
|
*/
|
|
9035
9190
|
async getChatappVerifyCode(request: GetChatappVerifyCodeRequest): Promise<GetChatappVerifyCodeResponse> {
|
|
9036
9191
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9038,11 +9193,13 @@ export default class Client extends OpenApi {
|
|
|
9038
9193
|
}
|
|
9039
9194
|
|
|
9040
9195
|
/**
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9196
|
+
* @summary Queries the business settings of a phone number.
|
|
9197
|
+
*
|
|
9198
|
+
* @description 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.
|
|
9199
|
+
*
|
|
9200
|
+
* @param request GetCommerceSettingRequest
|
|
9201
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9202
|
+
* @return GetCommerceSettingResponse
|
|
9046
9203
|
*/
|
|
9047
9204
|
async getCommerceSettingWithOptions(request: GetCommerceSettingRequest, runtime: $Util.RuntimeOptions): Promise<GetCommerceSettingResponse> {
|
|
9048
9205
|
Util.validateModel(request);
|
|
@@ -9073,10 +9230,12 @@ export default class Client extends OpenApi {
|
|
|
9073
9230
|
}
|
|
9074
9231
|
|
|
9075
9232
|
/**
|
|
9076
|
-
|
|
9077
|
-
|
|
9078
|
-
|
|
9079
|
-
|
|
9233
|
+
* @summary Queries the business settings of a phone number.
|
|
9234
|
+
*
|
|
9235
|
+
* @description 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.
|
|
9236
|
+
*
|
|
9237
|
+
* @param request GetCommerceSettingRequest
|
|
9238
|
+
* @return GetCommerceSettingResponse
|
|
9080
9239
|
*/
|
|
9081
9240
|
async getCommerceSetting(request: GetCommerceSettingRequest): Promise<GetCommerceSettingResponse> {
|
|
9082
9241
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9084,11 +9243,13 @@ export default class Client extends OpenApi {
|
|
|
9084
9243
|
}
|
|
9085
9244
|
|
|
9086
9245
|
/**
|
|
9087
|
-
|
|
9088
|
-
|
|
9089
|
-
|
|
9090
|
-
|
|
9091
|
-
|
|
9246
|
+
* @summary Queries the information about a Flow.
|
|
9247
|
+
*
|
|
9248
|
+
* @description 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.
|
|
9249
|
+
*
|
|
9250
|
+
* @param request GetFlowRequest
|
|
9251
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9252
|
+
* @return GetFlowResponse
|
|
9092
9253
|
*/
|
|
9093
9254
|
async getFlowWithOptions(request: GetFlowRequest, runtime: $Util.RuntimeOptions): Promise<GetFlowResponse> {
|
|
9094
9255
|
Util.validateModel(request);
|
|
@@ -9119,16 +9280,25 @@ export default class Client extends OpenApi {
|
|
|
9119
9280
|
}
|
|
9120
9281
|
|
|
9121
9282
|
/**
|
|
9122
|
-
|
|
9123
|
-
|
|
9124
|
-
|
|
9125
|
-
|
|
9283
|
+
* @summary Queries the information about a Flow.
|
|
9284
|
+
*
|
|
9285
|
+
* @description 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.
|
|
9286
|
+
*
|
|
9287
|
+
* @param request GetFlowRequest
|
|
9288
|
+
* @return GetFlowResponse
|
|
9126
9289
|
*/
|
|
9127
9290
|
async getFlow(request: GetFlowRequest): Promise<GetFlowResponse> {
|
|
9128
9291
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9129
9292
|
return await this.getFlowWithOptions(request, runtime);
|
|
9130
9293
|
}
|
|
9131
9294
|
|
|
9295
|
+
/**
|
|
9296
|
+
* @summary 获取flow的JSON文件
|
|
9297
|
+
*
|
|
9298
|
+
* @param request GetFlowJSONAssestRequest
|
|
9299
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9300
|
+
* @return GetFlowJSONAssestResponse
|
|
9301
|
+
*/
|
|
9132
9302
|
async getFlowJSONAssestWithOptions(request: GetFlowJSONAssestRequest, runtime: $Util.RuntimeOptions): Promise<GetFlowJSONAssestResponse> {
|
|
9133
9303
|
Util.validateModel(request);
|
|
9134
9304
|
let body : {[key: string ]: any} = { };
|
|
@@ -9157,17 +9327,25 @@ export default class Client extends OpenApi {
|
|
|
9157
9327
|
return $tea.cast<GetFlowJSONAssestResponse>(await this.callApi(params, req, runtime), new GetFlowJSONAssestResponse({}));
|
|
9158
9328
|
}
|
|
9159
9329
|
|
|
9330
|
+
/**
|
|
9331
|
+
* @summary 获取flow的JSON文件
|
|
9332
|
+
*
|
|
9333
|
+
* @param request GetFlowJSONAssestRequest
|
|
9334
|
+
* @return GetFlowJSONAssestResponse
|
|
9335
|
+
*/
|
|
9160
9336
|
async getFlowJSONAssest(request: GetFlowJSONAssestRequest): Promise<GetFlowJSONAssestResponse> {
|
|
9161
9337
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9162
9338
|
return await this.getFlowJSONAssestWithOptions(request, runtime);
|
|
9163
9339
|
}
|
|
9164
9340
|
|
|
9165
9341
|
/**
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
|
-
|
|
9169
|
-
|
|
9170
|
-
|
|
9342
|
+
* @summary Obtains the preview URL of a Flow.
|
|
9343
|
+
*
|
|
9344
|
+
* @description 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.
|
|
9345
|
+
*
|
|
9346
|
+
* @param request GetFlowPreviewUrlRequest
|
|
9347
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9348
|
+
* @return GetFlowPreviewUrlResponse
|
|
9171
9349
|
*/
|
|
9172
9350
|
async getFlowPreviewUrlWithOptions(request: GetFlowPreviewUrlRequest, runtime: $Util.RuntimeOptions): Promise<GetFlowPreviewUrlResponse> {
|
|
9173
9351
|
Util.validateModel(request);
|
|
@@ -9198,10 +9376,12 @@ export default class Client extends OpenApi {
|
|
|
9198
9376
|
}
|
|
9199
9377
|
|
|
9200
9378
|
/**
|
|
9201
|
-
|
|
9202
|
-
|
|
9203
|
-
|
|
9204
|
-
|
|
9379
|
+
* @summary Obtains the preview URL of a Flow.
|
|
9380
|
+
*
|
|
9381
|
+
* @description 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.
|
|
9382
|
+
*
|
|
9383
|
+
* @param request GetFlowPreviewUrlRequest
|
|
9384
|
+
* @return GetFlowPreviewUrlResponse
|
|
9205
9385
|
*/
|
|
9206
9386
|
async getFlowPreviewUrl(request: GetFlowPreviewUrlRequest): Promise<GetFlowPreviewUrlResponse> {
|
|
9207
9387
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9209,11 +9389,13 @@ export default class Client extends OpenApi {
|
|
|
9209
9389
|
}
|
|
9210
9390
|
|
|
9211
9391
|
/**
|
|
9212
|
-
|
|
9213
|
-
|
|
9214
|
-
|
|
9215
|
-
|
|
9216
|
-
|
|
9392
|
+
* @summary The phone number.
|
|
9393
|
+
*
|
|
9394
|
+
* @description The ID of the phone number.
|
|
9395
|
+
*
|
|
9396
|
+
* @param request GetMigrationVerifyCodeRequest
|
|
9397
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9398
|
+
* @return GetMigrationVerifyCodeResponse
|
|
9217
9399
|
*/
|
|
9218
9400
|
async getMigrationVerifyCodeWithOptions(request: GetMigrationVerifyCodeRequest, runtime: $Util.RuntimeOptions): Promise<GetMigrationVerifyCodeResponse> {
|
|
9219
9401
|
Util.validateModel(request);
|
|
@@ -9252,16 +9434,25 @@ export default class Client extends OpenApi {
|
|
|
9252
9434
|
}
|
|
9253
9435
|
|
|
9254
9436
|
/**
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9258
|
-
|
|
9437
|
+
* @summary The phone number.
|
|
9438
|
+
*
|
|
9439
|
+
* @description The ID of the phone number.
|
|
9440
|
+
*
|
|
9441
|
+
* @param request GetMigrationVerifyCodeRequest
|
|
9442
|
+
* @return GetMigrationVerifyCodeResponse
|
|
9259
9443
|
*/
|
|
9260
9444
|
async getMigrationVerifyCode(request: GetMigrationVerifyCodeRequest): Promise<GetMigrationVerifyCodeResponse> {
|
|
9261
9445
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9262
9446
|
return await this.getMigrationVerifyCodeWithOptions(request, runtime);
|
|
9263
9447
|
}
|
|
9264
9448
|
|
|
9449
|
+
/**
|
|
9450
|
+
* @summary 根据Code获取权限
|
|
9451
|
+
*
|
|
9452
|
+
* @param tmpReq GetPermissionByCodeRequest
|
|
9453
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9454
|
+
* @return GetPermissionByCodeResponse
|
|
9455
|
+
*/
|
|
9265
9456
|
async getPermissionByCodeWithOptions(tmpReq: GetPermissionByCodeRequest, runtime: $Util.RuntimeOptions): Promise<GetPermissionByCodeResponse> {
|
|
9266
9457
|
Util.validateModel(tmpReq);
|
|
9267
9458
|
let request = new GetPermissionByCodeShrinkRequest({ });
|
|
@@ -9300,11 +9491,24 @@ export default class Client extends OpenApi {
|
|
|
9300
9491
|
return $tea.cast<GetPermissionByCodeResponse>(await this.callApi(params, req, runtime), new GetPermissionByCodeResponse({}));
|
|
9301
9492
|
}
|
|
9302
9493
|
|
|
9494
|
+
/**
|
|
9495
|
+
* @summary 根据Code获取权限
|
|
9496
|
+
*
|
|
9497
|
+
* @param request GetPermissionByCodeRequest
|
|
9498
|
+
* @return GetPermissionByCodeResponse
|
|
9499
|
+
*/
|
|
9303
9500
|
async getPermissionByCode(request: GetPermissionByCodeRequest): Promise<GetPermissionByCodeResponse> {
|
|
9304
9501
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9305
9502
|
return await this.getPermissionByCodeWithOptions(request, runtime);
|
|
9306
9503
|
}
|
|
9307
9504
|
|
|
9505
|
+
/**
|
|
9506
|
+
* @summary 获取号码的公钥
|
|
9507
|
+
*
|
|
9508
|
+
* @param request GetPhoneEncryptionPublicKeyRequest
|
|
9509
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9510
|
+
* @return GetPhoneEncryptionPublicKeyResponse
|
|
9511
|
+
*/
|
|
9308
9512
|
async getPhoneEncryptionPublicKeyWithOptions(request: GetPhoneEncryptionPublicKeyRequest, runtime: $Util.RuntimeOptions): Promise<GetPhoneEncryptionPublicKeyResponse> {
|
|
9309
9513
|
Util.validateModel(request);
|
|
9310
9514
|
let body : {[key: string ]: any} = { };
|
|
@@ -9333,17 +9537,25 @@ export default class Client extends OpenApi {
|
|
|
9333
9537
|
return $tea.cast<GetPhoneEncryptionPublicKeyResponse>(await this.callApi(params, req, runtime), new GetPhoneEncryptionPublicKeyResponse({}));
|
|
9334
9538
|
}
|
|
9335
9539
|
|
|
9540
|
+
/**
|
|
9541
|
+
* @summary 获取号码的公钥
|
|
9542
|
+
*
|
|
9543
|
+
* @param request GetPhoneEncryptionPublicKeyRequest
|
|
9544
|
+
* @return GetPhoneEncryptionPublicKeyResponse
|
|
9545
|
+
*/
|
|
9336
9546
|
async getPhoneEncryptionPublicKey(request: GetPhoneEncryptionPublicKeyRequest): Promise<GetPhoneEncryptionPublicKeyResponse> {
|
|
9337
9547
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9338
9548
|
return await this.getPhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
9339
9549
|
}
|
|
9340
9550
|
|
|
9341
9551
|
/**
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9552
|
+
* @summary Obtains the verification status of a phone number.
|
|
9553
|
+
*
|
|
9554
|
+
* @description 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.
|
|
9555
|
+
*
|
|
9556
|
+
* @param request GetPhoneNumberVerificationStatusRequest
|
|
9557
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9558
|
+
* @return GetPhoneNumberVerificationStatusResponse
|
|
9347
9559
|
*/
|
|
9348
9560
|
async getPhoneNumberVerificationStatusWithOptions(request: GetPhoneNumberVerificationStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetPhoneNumberVerificationStatusResponse> {
|
|
9349
9561
|
Util.validateModel(request);
|
|
@@ -9374,10 +9586,12 @@ export default class Client extends OpenApi {
|
|
|
9374
9586
|
}
|
|
9375
9587
|
|
|
9376
9588
|
/**
|
|
9377
|
-
|
|
9378
|
-
|
|
9379
|
-
|
|
9380
|
-
|
|
9589
|
+
* @summary Obtains the verification status of a phone number.
|
|
9590
|
+
*
|
|
9591
|
+
* @description 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.
|
|
9592
|
+
*
|
|
9593
|
+
* @param request GetPhoneNumberVerificationStatusRequest
|
|
9594
|
+
* @return GetPhoneNumberVerificationStatusResponse
|
|
9381
9595
|
*/
|
|
9382
9596
|
async getPhoneNumberVerificationStatus(request: GetPhoneNumberVerificationStatusRequest): Promise<GetPhoneNumberVerificationStatusResponse> {
|
|
9383
9597
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9385,11 +9599,13 @@ export default class Client extends OpenApi {
|
|
|
9385
9599
|
}
|
|
9386
9600
|
|
|
9387
9601
|
/**
|
|
9388
|
-
|
|
9389
|
-
|
|
9390
|
-
|
|
9391
|
-
|
|
9392
|
-
|
|
9602
|
+
* @summary Obtains the ID of a pre-registered phone number used for embedded signup without the need to re-obtain a verification code.
|
|
9603
|
+
*
|
|
9604
|
+
* @description 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.
|
|
9605
|
+
*
|
|
9606
|
+
* @param request GetPreValidatePhoneIdRequest
|
|
9607
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9608
|
+
* @return GetPreValidatePhoneIdResponse
|
|
9393
9609
|
*/
|
|
9394
9610
|
async getPreValidatePhoneIdWithOptions(request: GetPreValidatePhoneIdRequest, runtime: $Util.RuntimeOptions): Promise<GetPreValidatePhoneIdResponse> {
|
|
9395
9611
|
Util.validateModel(request);
|
|
@@ -9420,10 +9636,12 @@ export default class Client extends OpenApi {
|
|
|
9420
9636
|
}
|
|
9421
9637
|
|
|
9422
9638
|
/**
|
|
9423
|
-
|
|
9424
|
-
|
|
9425
|
-
|
|
9426
|
-
|
|
9639
|
+
* @summary Obtains the ID of a pre-registered phone number used for embedded signup without the need to re-obtain a verification code.
|
|
9640
|
+
*
|
|
9641
|
+
* @description 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.
|
|
9642
|
+
*
|
|
9643
|
+
* @param request GetPreValidatePhoneIdRequest
|
|
9644
|
+
* @return GetPreValidatePhoneIdResponse
|
|
9427
9645
|
*/
|
|
9428
9646
|
async getPreValidatePhoneId(request: GetPreValidatePhoneIdRequest): Promise<GetPreValidatePhoneIdResponse> {
|
|
9429
9647
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9431,11 +9649,13 @@ export default class Client extends OpenApi {
|
|
|
9431
9649
|
}
|
|
9432
9650
|
|
|
9433
9651
|
/**
|
|
9434
|
-
|
|
9435
|
-
|
|
9436
|
-
|
|
9437
|
-
|
|
9438
|
-
|
|
9652
|
+
* @summary Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
9653
|
+
*
|
|
9654
|
+
* @description 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.
|
|
9655
|
+
*
|
|
9656
|
+
* @param request GetWhatsappConnectionCatalogRequest
|
|
9657
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9658
|
+
* @return GetWhatsappConnectionCatalogResponse
|
|
9439
9659
|
*/
|
|
9440
9660
|
async getWhatsappConnectionCatalogWithOptions(request: GetWhatsappConnectionCatalogRequest, runtime: $Util.RuntimeOptions): Promise<GetWhatsappConnectionCatalogResponse> {
|
|
9441
9661
|
Util.validateModel(request);
|
|
@@ -9478,10 +9698,12 @@ export default class Client extends OpenApi {
|
|
|
9478
9698
|
}
|
|
9479
9699
|
|
|
9480
9700
|
/**
|
|
9481
|
-
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
|
|
9701
|
+
* @summary Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
9702
|
+
*
|
|
9703
|
+
* @description 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.
|
|
9704
|
+
*
|
|
9705
|
+
* @param request GetWhatsappConnectionCatalogRequest
|
|
9706
|
+
* @return GetWhatsappConnectionCatalogResponse
|
|
9485
9707
|
*/
|
|
9486
9708
|
async getWhatsappConnectionCatalog(request: GetWhatsappConnectionCatalogRequest): Promise<GetWhatsappConnectionCatalogResponse> {
|
|
9487
9709
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9489,11 +9711,13 @@ export default class Client extends OpenApi {
|
|
|
9489
9711
|
}
|
|
9490
9712
|
|
|
9491
9713
|
/**
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
|
|
9714
|
+
* @summary Obtains the application ID under the ISV account.
|
|
9715
|
+
*
|
|
9716
|
+
* @description 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.
|
|
9717
|
+
*
|
|
9718
|
+
* @param request IsvGetAppIdRequest
|
|
9719
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9720
|
+
* @return IsvGetAppIdResponse
|
|
9497
9721
|
*/
|
|
9498
9722
|
async isvGetAppIdWithOptions(request: IsvGetAppIdRequest, runtime: $Util.RuntimeOptions): Promise<IsvGetAppIdResponse> {
|
|
9499
9723
|
Util.validateModel(request);
|
|
@@ -9524,10 +9748,12 @@ export default class Client extends OpenApi {
|
|
|
9524
9748
|
}
|
|
9525
9749
|
|
|
9526
9750
|
/**
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9751
|
+
* @summary Obtains the application ID under the ISV account.
|
|
9752
|
+
*
|
|
9753
|
+
* @description 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.
|
|
9754
|
+
*
|
|
9755
|
+
* @param request IsvGetAppIdRequest
|
|
9756
|
+
* @return IsvGetAppIdResponse
|
|
9531
9757
|
*/
|
|
9532
9758
|
async isvGetAppId(request: IsvGetAppIdRequest): Promise<IsvGetAppIdResponse> {
|
|
9533
9759
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9535,12 +9761,14 @@ export default class Client extends OpenApi {
|
|
|
9535
9761
|
}
|
|
9536
9762
|
|
|
9537
9763
|
/**
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9764
|
+
* @summary Queries message templates.
|
|
9765
|
+
*
|
|
9766
|
+
* @description ### QPS limit
|
|
9767
|
+
* 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.
|
|
9768
|
+
*
|
|
9769
|
+
* @param tmpReq ListChatappTemplateRequest
|
|
9770
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9771
|
+
* @return ListChatappTemplateResponse
|
|
9544
9772
|
*/
|
|
9545
9773
|
async listChatappTemplateWithOptions(tmpReq: ListChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ListChatappTemplateResponse> {
|
|
9546
9774
|
Util.validateModel(tmpReq);
|
|
@@ -9555,6 +9783,10 @@ export default class Client extends OpenApi {
|
|
|
9555
9783
|
query["AuditStatus"] = request.auditStatus;
|
|
9556
9784
|
}
|
|
9557
9785
|
|
|
9786
|
+
if (!Util.isUnset(request.code)) {
|
|
9787
|
+
query["Code"] = request.code;
|
|
9788
|
+
}
|
|
9789
|
+
|
|
9558
9790
|
if (!Util.isUnset(request.custSpaceId)) {
|
|
9559
9791
|
query["CustSpaceId"] = request.custSpaceId;
|
|
9560
9792
|
}
|
|
@@ -9601,11 +9833,13 @@ export default class Client extends OpenApi {
|
|
|
9601
9833
|
}
|
|
9602
9834
|
|
|
9603
9835
|
/**
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
|
|
9607
|
-
|
|
9608
|
-
|
|
9836
|
+
* @summary Queries message templates.
|
|
9837
|
+
*
|
|
9838
|
+
* @description ### QPS limit
|
|
9839
|
+
* 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.
|
|
9840
|
+
*
|
|
9841
|
+
* @param request ListChatappTemplateRequest
|
|
9842
|
+
* @return ListChatappTemplateResponse
|
|
9609
9843
|
*/
|
|
9610
9844
|
async listChatappTemplate(request: ListChatappTemplateRequest): Promise<ListChatappTemplateResponse> {
|
|
9611
9845
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9613,11 +9847,13 @@ export default class Client extends OpenApi {
|
|
|
9613
9847
|
}
|
|
9614
9848
|
|
|
9615
9849
|
/**
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9850
|
+
* @summary Queries a list of Flows.
|
|
9851
|
+
*
|
|
9852
|
+
* @description 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.
|
|
9853
|
+
*
|
|
9854
|
+
* @param tmpReq ListFlowRequest
|
|
9855
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9856
|
+
* @return ListFlowResponse
|
|
9621
9857
|
*/
|
|
9622
9858
|
async listFlowWithOptions(tmpReq: ListFlowRequest, runtime: $Util.RuntimeOptions): Promise<ListFlowResponse> {
|
|
9623
9859
|
Util.validateModel(tmpReq);
|
|
@@ -9658,16 +9894,25 @@ export default class Client extends OpenApi {
|
|
|
9658
9894
|
}
|
|
9659
9895
|
|
|
9660
9896
|
/**
|
|
9661
|
-
|
|
9662
|
-
|
|
9663
|
-
|
|
9664
|
-
|
|
9897
|
+
* @summary Queries a list of Flows.
|
|
9898
|
+
*
|
|
9899
|
+
* @description 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.
|
|
9900
|
+
*
|
|
9901
|
+
* @param request ListFlowRequest
|
|
9902
|
+
* @return ListFlowResponse
|
|
9665
9903
|
*/
|
|
9666
9904
|
async listFlow(request: ListFlowRequest): Promise<ListFlowResponse> {
|
|
9667
9905
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9668
9906
|
return await this.listFlowWithOptions(request, runtime);
|
|
9669
9907
|
}
|
|
9670
9908
|
|
|
9909
|
+
/**
|
|
9910
|
+
* @summary 查询消息发送二维码
|
|
9911
|
+
*
|
|
9912
|
+
* @param request ListPhoneMessageQrdlRequest
|
|
9913
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9914
|
+
* @return ListPhoneMessageQrdlResponse
|
|
9915
|
+
*/
|
|
9671
9916
|
async listPhoneMessageQrdlWithOptions(request: ListPhoneMessageQrdlRequest, runtime: $Util.RuntimeOptions): Promise<ListPhoneMessageQrdlResponse> {
|
|
9672
9917
|
Util.validateModel(request);
|
|
9673
9918
|
let body : {[key: string ]: any} = { };
|
|
@@ -9696,17 +9941,25 @@ export default class Client extends OpenApi {
|
|
|
9696
9941
|
return $tea.cast<ListPhoneMessageQrdlResponse>(await this.callApi(params, req, runtime), new ListPhoneMessageQrdlResponse({}));
|
|
9697
9942
|
}
|
|
9698
9943
|
|
|
9944
|
+
/**
|
|
9945
|
+
* @summary 查询消息发送二维码
|
|
9946
|
+
*
|
|
9947
|
+
* @param request ListPhoneMessageQrdlRequest
|
|
9948
|
+
* @return ListPhoneMessageQrdlResponse
|
|
9949
|
+
*/
|
|
9699
9950
|
async listPhoneMessageQrdl(request: ListPhoneMessageQrdlRequest): Promise<ListPhoneMessageQrdlResponse> {
|
|
9700
9951
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9701
9952
|
return await this.listPhoneMessageQrdlWithOptions(request, runtime);
|
|
9702
9953
|
}
|
|
9703
9954
|
|
|
9704
9955
|
/**
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
|
|
9709
|
-
|
|
9956
|
+
* @summary Queries products in a product catalog.
|
|
9957
|
+
*
|
|
9958
|
+
* @description 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.
|
|
9959
|
+
*
|
|
9960
|
+
* @param request ListProductRequest
|
|
9961
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9962
|
+
* @return ListProductResponse
|
|
9710
9963
|
*/
|
|
9711
9964
|
async listProductWithOptions(request: ListProductRequest, runtime: $Util.RuntimeOptions): Promise<ListProductResponse> {
|
|
9712
9965
|
Util.validateModel(request);
|
|
@@ -9769,10 +10022,12 @@ export default class Client extends OpenApi {
|
|
|
9769
10022
|
}
|
|
9770
10023
|
|
|
9771
10024
|
/**
|
|
9772
|
-
|
|
9773
|
-
|
|
9774
|
-
|
|
9775
|
-
|
|
10025
|
+
* @summary Queries products in a product catalog.
|
|
10026
|
+
*
|
|
10027
|
+
* @description 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.
|
|
10028
|
+
*
|
|
10029
|
+
* @param request ListProductRequest
|
|
10030
|
+
* @return ListProductResponse
|
|
9776
10031
|
*/
|
|
9777
10032
|
async listProduct(request: ListProductRequest): Promise<ListProductResponse> {
|
|
9778
10033
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9780,11 +10035,13 @@ export default class Client extends OpenApi {
|
|
|
9780
10035
|
}
|
|
9781
10036
|
|
|
9782
10037
|
/**
|
|
9783
|
-
|
|
9784
|
-
|
|
9785
|
-
|
|
9786
|
-
|
|
9787
|
-
|
|
10038
|
+
* @summary Queries the product catalogs on the Business Manager platform of Meta.
|
|
10039
|
+
*
|
|
10040
|
+
* @description 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.
|
|
10041
|
+
*
|
|
10042
|
+
* @param request ListProductCatalogRequest
|
|
10043
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10044
|
+
* @return ListProductCatalogResponse
|
|
9788
10045
|
*/
|
|
9789
10046
|
async listProductCatalogWithOptions(request: ListProductCatalogRequest, runtime: $Util.RuntimeOptions): Promise<ListProductCatalogResponse> {
|
|
9790
10047
|
Util.validateModel(request);
|
|
@@ -9843,10 +10100,12 @@ export default class Client extends OpenApi {
|
|
|
9843
10100
|
}
|
|
9844
10101
|
|
|
9845
10102
|
/**
|
|
9846
|
-
|
|
9847
|
-
|
|
9848
|
-
|
|
9849
|
-
|
|
10103
|
+
* @summary Queries the product catalogs on the Business Manager platform of Meta.
|
|
10104
|
+
*
|
|
10105
|
+
* @description 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.
|
|
10106
|
+
*
|
|
10107
|
+
* @param request ListProductCatalogRequest
|
|
10108
|
+
* @return ListProductCatalogResponse
|
|
9850
10109
|
*/
|
|
9851
10110
|
async listProductCatalog(request: ListProductCatalogRequest): Promise<ListProductCatalogResponse> {
|
|
9852
10111
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9854,11 +10113,13 @@ export default class Client extends OpenApi {
|
|
|
9854
10113
|
}
|
|
9855
10114
|
|
|
9856
10115
|
/**
|
|
9857
|
-
|
|
9858
|
-
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
|
|
10116
|
+
* @summary The code of the message template.
|
|
10117
|
+
*
|
|
10118
|
+
* @description The name of the message template.
|
|
10119
|
+
*
|
|
10120
|
+
* @param tmpReq ModifyChatappTemplateRequest
|
|
10121
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10122
|
+
* @return ModifyChatappTemplateResponse
|
|
9862
10123
|
*/
|
|
9863
10124
|
async modifyChatappTemplateWithOptions(tmpReq: ModifyChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ModifyChatappTemplateResponse> {
|
|
9864
10125
|
Util.validateModel(tmpReq);
|
|
@@ -9935,10 +10196,12 @@ export default class Client extends OpenApi {
|
|
|
9935
10196
|
}
|
|
9936
10197
|
|
|
9937
10198
|
/**
|
|
9938
|
-
|
|
9939
|
-
|
|
9940
|
-
|
|
9941
|
-
|
|
10199
|
+
* @summary The code of the message template.
|
|
10200
|
+
*
|
|
10201
|
+
* @description The name of the message template.
|
|
10202
|
+
*
|
|
10203
|
+
* @param request ModifyChatappTemplateRequest
|
|
10204
|
+
* @return ModifyChatappTemplateResponse
|
|
9942
10205
|
*/
|
|
9943
10206
|
async modifyChatappTemplate(request: ModifyChatappTemplateRequest): Promise<ModifyChatappTemplateResponse> {
|
|
9944
10207
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9946,11 +10209,13 @@ export default class Client extends OpenApi {
|
|
|
9946
10209
|
}
|
|
9947
10210
|
|
|
9948
10211
|
/**
|
|
9949
|
-
|
|
9950
|
-
|
|
9951
|
-
|
|
9952
|
-
|
|
9953
|
-
|
|
10212
|
+
* @summary Modifies the basic information about a Flow.
|
|
10213
|
+
*
|
|
10214
|
+
* @description 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.
|
|
10215
|
+
*
|
|
10216
|
+
* @param tmpReq ModifyFlowRequest
|
|
10217
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10218
|
+
* @return ModifyFlowResponse
|
|
9954
10219
|
*/
|
|
9955
10220
|
async modifyFlowWithOptions(tmpReq: ModifyFlowRequest, runtime: $Util.RuntimeOptions): Promise<ModifyFlowResponse> {
|
|
9956
10221
|
Util.validateModel(tmpReq);
|
|
@@ -9995,10 +10260,12 @@ export default class Client extends OpenApi {
|
|
|
9995
10260
|
}
|
|
9996
10261
|
|
|
9997
10262
|
/**
|
|
9998
|
-
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
|
|
10263
|
+
* @summary Modifies the basic information about a Flow.
|
|
10264
|
+
*
|
|
10265
|
+
* @description 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.
|
|
10266
|
+
*
|
|
10267
|
+
* @param request ModifyFlowRequest
|
|
10268
|
+
* @return ModifyFlowResponse
|
|
10002
10269
|
*/
|
|
10003
10270
|
async modifyFlow(request: ModifyFlowRequest): Promise<ModifyFlowResponse> {
|
|
10004
10271
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10006,11 +10273,13 @@ export default class Client extends OpenApi {
|
|
|
10006
10273
|
}
|
|
10007
10274
|
|
|
10008
10275
|
/**
|
|
10009
|
-
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10276
|
+
* @summary The ID of the request.
|
|
10277
|
+
*
|
|
10278
|
+
* @description ModifyPhoneBusinessProfile
|
|
10279
|
+
*
|
|
10280
|
+
* @param tmpReq ModifyPhoneBusinessProfileRequest
|
|
10281
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10282
|
+
* @return ModifyPhoneBusinessProfileResponse
|
|
10014
10283
|
*/
|
|
10015
10284
|
async modifyPhoneBusinessProfileWithOptions(tmpReq: ModifyPhoneBusinessProfileRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPhoneBusinessProfileResponse> {
|
|
10016
10285
|
Util.validateModel(tmpReq);
|
|
@@ -10075,10 +10344,12 @@ export default class Client extends OpenApi {
|
|
|
10075
10344
|
}
|
|
10076
10345
|
|
|
10077
10346
|
/**
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10347
|
+
* @summary The ID of the request.
|
|
10348
|
+
*
|
|
10349
|
+
* @description ModifyPhoneBusinessProfile
|
|
10350
|
+
*
|
|
10351
|
+
* @param request ModifyPhoneBusinessProfileRequest
|
|
10352
|
+
* @return ModifyPhoneBusinessProfileResponse
|
|
10082
10353
|
*/
|
|
10083
10354
|
async modifyPhoneBusinessProfile(request: ModifyPhoneBusinessProfileRequest): Promise<ModifyPhoneBusinessProfileResponse> {
|
|
10084
10355
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10086,11 +10357,13 @@ export default class Client extends OpenApi {
|
|
|
10086
10357
|
}
|
|
10087
10358
|
|
|
10088
10359
|
/**
|
|
10089
|
-
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
|
|
10093
|
-
|
|
10360
|
+
* @summary Publishes a Flow.
|
|
10361
|
+
*
|
|
10362
|
+
* @description 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.
|
|
10363
|
+
*
|
|
10364
|
+
* @param request PublishFlowRequest
|
|
10365
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10366
|
+
* @return PublishFlowResponse
|
|
10094
10367
|
*/
|
|
10095
10368
|
async publishFlowWithOptions(request: PublishFlowRequest, runtime: $Util.RuntimeOptions): Promise<PublishFlowResponse> {
|
|
10096
10369
|
Util.validateModel(request);
|
|
@@ -10121,10 +10394,12 @@ export default class Client extends OpenApi {
|
|
|
10121
10394
|
}
|
|
10122
10395
|
|
|
10123
10396
|
/**
|
|
10124
|
-
|
|
10125
|
-
|
|
10126
|
-
|
|
10127
|
-
|
|
10397
|
+
* @summary Publishes a Flow.
|
|
10398
|
+
*
|
|
10399
|
+
* @description 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.
|
|
10400
|
+
*
|
|
10401
|
+
* @param request PublishFlowRequest
|
|
10402
|
+
* @return PublishFlowResponse
|
|
10128
10403
|
*/
|
|
10129
10404
|
async publishFlow(request: PublishFlowRequest): Promise<PublishFlowResponse> {
|
|
10130
10405
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10132,11 +10407,13 @@ export default class Client extends OpenApi {
|
|
|
10132
10407
|
}
|
|
10133
10408
|
|
|
10134
10409
|
/**
|
|
10135
|
-
|
|
10136
|
-
|
|
10137
|
-
|
|
10138
|
-
|
|
10139
|
-
|
|
10410
|
+
* @summary Query the WhatsApp Business account you associate with ChatApp.
|
|
10411
|
+
*
|
|
10412
|
+
* @description 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.
|
|
10413
|
+
*
|
|
10414
|
+
* @param request QueryChatappBindWabaRequest
|
|
10415
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10416
|
+
* @return QueryChatappBindWabaResponse
|
|
10140
10417
|
*/
|
|
10141
10418
|
async queryChatappBindWabaWithOptions(request: QueryChatappBindWabaRequest, runtime: $Util.RuntimeOptions): Promise<QueryChatappBindWabaResponse> {
|
|
10142
10419
|
Util.validateModel(request);
|
|
@@ -10149,6 +10426,18 @@ export default class Client extends OpenApi {
|
|
|
10149
10426
|
query["IsvCode"] = request.isvCode;
|
|
10150
10427
|
}
|
|
10151
10428
|
|
|
10429
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
10430
|
+
query["OwnerId"] = request.ownerId;
|
|
10431
|
+
}
|
|
10432
|
+
|
|
10433
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
10434
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
10435
|
+
}
|
|
10436
|
+
|
|
10437
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
10438
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
10439
|
+
}
|
|
10440
|
+
|
|
10152
10441
|
let req = new $OpenApi.OpenApiRequest({
|
|
10153
10442
|
query: OpenApiUtil.query(query),
|
|
10154
10443
|
});
|
|
@@ -10167,10 +10456,12 @@ export default class Client extends OpenApi {
|
|
|
10167
10456
|
}
|
|
10168
10457
|
|
|
10169
10458
|
/**
|
|
10170
|
-
|
|
10171
|
-
|
|
10172
|
-
|
|
10173
|
-
|
|
10459
|
+
* @summary Query the WhatsApp Business account you associate with ChatApp.
|
|
10460
|
+
*
|
|
10461
|
+
* @description 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.
|
|
10462
|
+
*
|
|
10463
|
+
* @param request QueryChatappBindWabaRequest
|
|
10464
|
+
* @return QueryChatappBindWabaResponse
|
|
10174
10465
|
*/
|
|
10175
10466
|
async queryChatappBindWaba(request: QueryChatappBindWabaRequest): Promise<QueryChatappBindWabaResponse> {
|
|
10176
10467
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10178,11 +10469,13 @@ export default class Client extends OpenApi {
|
|
|
10178
10469
|
}
|
|
10179
10470
|
|
|
10180
10471
|
/**
|
|
10181
|
-
|
|
10182
|
-
|
|
10183
|
-
|
|
10184
|
-
|
|
10185
|
-
|
|
10472
|
+
* @summary Queries phone numbers that receive messages and statuses of these numbers under a specified user.
|
|
10473
|
+
*
|
|
10474
|
+
* @description 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.
|
|
10475
|
+
*
|
|
10476
|
+
* @param request QueryChatappPhoneNumbersRequest
|
|
10477
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10478
|
+
* @return QueryChatappPhoneNumbersResponse
|
|
10186
10479
|
*/
|
|
10187
10480
|
async queryChatappPhoneNumbersWithOptions(request: QueryChatappPhoneNumbersRequest, runtime: $Util.RuntimeOptions): Promise<QueryChatappPhoneNumbersResponse> {
|
|
10188
10481
|
Util.validateModel(request);
|
|
@@ -10217,10 +10510,12 @@ export default class Client extends OpenApi {
|
|
|
10217
10510
|
}
|
|
10218
10511
|
|
|
10219
10512
|
/**
|
|
10220
|
-
|
|
10221
|
-
|
|
10222
|
-
|
|
10223
|
-
|
|
10513
|
+
* @summary Queries phone numbers that receive messages and statuses of these numbers under a specified user.
|
|
10514
|
+
*
|
|
10515
|
+
* @description 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.
|
|
10516
|
+
*
|
|
10517
|
+
* @param request QueryChatappPhoneNumbersRequest
|
|
10518
|
+
* @return QueryChatappPhoneNumbersResponse
|
|
10224
10519
|
*/
|
|
10225
10520
|
async queryChatappPhoneNumbers(request: QueryChatappPhoneNumbersRequest): Promise<QueryChatappPhoneNumbersResponse> {
|
|
10226
10521
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10228,11 +10523,13 @@ export default class Client extends OpenApi {
|
|
|
10228
10523
|
}
|
|
10229
10524
|
|
|
10230
10525
|
/**
|
|
10231
|
-
|
|
10232
|
-
|
|
10233
|
-
|
|
10234
|
-
|
|
10235
|
-
|
|
10526
|
+
* @summary Queries the business information of the account to which a specified phone number is bound.
|
|
10527
|
+
*
|
|
10528
|
+
* @description 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.
|
|
10529
|
+
*
|
|
10530
|
+
* @param request QueryPhoneBusinessProfileRequest
|
|
10531
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10532
|
+
* @return QueryPhoneBusinessProfileResponse
|
|
10236
10533
|
*/
|
|
10237
10534
|
async queryPhoneBusinessProfileWithOptions(request: QueryPhoneBusinessProfileRequest, runtime: $Util.RuntimeOptions): Promise<QueryPhoneBusinessProfileResponse> {
|
|
10238
10535
|
Util.validateModel(request);
|
|
@@ -10263,10 +10560,12 @@ export default class Client extends OpenApi {
|
|
|
10263
10560
|
}
|
|
10264
10561
|
|
|
10265
10562
|
/**
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10563
|
+
* @summary Queries the business information of the account to which a specified phone number is bound.
|
|
10564
|
+
*
|
|
10565
|
+
* @description 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.
|
|
10566
|
+
*
|
|
10567
|
+
* @param request QueryPhoneBusinessProfileRequest
|
|
10568
|
+
* @return QueryPhoneBusinessProfileResponse
|
|
10270
10569
|
*/
|
|
10271
10570
|
async queryPhoneBusinessProfile(request: QueryPhoneBusinessProfileRequest): Promise<QueryPhoneBusinessProfileResponse> {
|
|
10272
10571
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10274,11 +10573,13 @@ export default class Client extends OpenApi {
|
|
|
10274
10573
|
}
|
|
10275
10574
|
|
|
10276
10575
|
/**
|
|
10277
|
-
|
|
10278
|
-
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
10576
|
+
* @summary Queries the business information about the WhatsApp Business account (WABA).
|
|
10577
|
+
*
|
|
10578
|
+
* @description 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.
|
|
10579
|
+
*
|
|
10580
|
+
* @param request QueryWabaBusinessInfoRequest
|
|
10581
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10582
|
+
* @return QueryWabaBusinessInfoResponse
|
|
10282
10583
|
*/
|
|
10283
10584
|
async queryWabaBusinessInfoWithOptions(request: QueryWabaBusinessInfoRequest, runtime: $Util.RuntimeOptions): Promise<QueryWabaBusinessInfoResponse> {
|
|
10284
10585
|
Util.validateModel(request);
|
|
@@ -10309,10 +10610,12 @@ export default class Client extends OpenApi {
|
|
|
10309
10610
|
}
|
|
10310
10611
|
|
|
10311
10612
|
/**
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
|
|
10613
|
+
* @summary Queries the business information about the WhatsApp Business account (WABA).
|
|
10614
|
+
*
|
|
10615
|
+
* @description 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.
|
|
10616
|
+
*
|
|
10617
|
+
* @param request QueryWabaBusinessInfoRequest
|
|
10618
|
+
* @return QueryWabaBusinessInfoResponse
|
|
10316
10619
|
*/
|
|
10317
10620
|
async queryWabaBusinessInfo(request: QueryWabaBusinessInfoRequest): Promise<QueryWabaBusinessInfoResponse> {
|
|
10318
10621
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10320,12 +10623,14 @@ export default class Client extends OpenApi {
|
|
|
10320
10623
|
}
|
|
10321
10624
|
|
|
10322
10625
|
/**
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
10626
|
+
* @summary Sends a message to multiple phone numbers by using ChatAPP at a time.
|
|
10627
|
+
*
|
|
10628
|
+
* @description 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.
|
|
10629
|
+
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
10630
|
+
*
|
|
10631
|
+
* @param tmpReq SendChatappMassMessageRequest
|
|
10632
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10633
|
+
* @return SendChatappMassMessageResponse
|
|
10329
10634
|
*/
|
|
10330
10635
|
async sendChatappMassMessageWithOptions(tmpReq: SendChatappMassMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMassMessageResponse> {
|
|
10331
10636
|
Util.validateModel(tmpReq);
|
|
@@ -10422,11 +10727,13 @@ export default class Client extends OpenApi {
|
|
|
10422
10727
|
}
|
|
10423
10728
|
|
|
10424
10729
|
/**
|
|
10425
|
-
|
|
10426
|
-
|
|
10427
|
-
|
|
10428
|
-
|
|
10429
|
-
|
|
10730
|
+
* @summary Sends a message to multiple phone numbers by using ChatAPP at a time.
|
|
10731
|
+
*
|
|
10732
|
+
* @description 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.
|
|
10733
|
+
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
10734
|
+
*
|
|
10735
|
+
* @param request SendChatappMassMessageRequest
|
|
10736
|
+
* @return SendChatappMassMessageResponse
|
|
10430
10737
|
*/
|
|
10431
10738
|
async sendChatappMassMessage(request: SendChatappMassMessageRequest): Promise<SendChatappMassMessageResponse> {
|
|
10432
10739
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10434,11 +10741,13 @@ export default class Client extends OpenApi {
|
|
|
10434
10741
|
}
|
|
10435
10742
|
|
|
10436
10743
|
/**
|
|
10437
|
-
|
|
10438
|
-
|
|
10439
|
-
|
|
10440
|
-
|
|
10441
|
-
|
|
10744
|
+
* @summary Sends messages by using ChatAPP.
|
|
10745
|
+
*
|
|
10746
|
+
* @description 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.
|
|
10747
|
+
*
|
|
10748
|
+
* @param tmpReq SendChatappMessageRequest
|
|
10749
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10750
|
+
* @return SendChatappMessageResponse
|
|
10442
10751
|
*/
|
|
10443
10752
|
async sendChatappMessageWithOptions(tmpReq: SendChatappMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMessageResponse> {
|
|
10444
10753
|
Util.validateModel(tmpReq);
|
|
@@ -10585,10 +10894,12 @@ export default class Client extends OpenApi {
|
|
|
10585
10894
|
}
|
|
10586
10895
|
|
|
10587
10896
|
/**
|
|
10588
|
-
|
|
10589
|
-
|
|
10590
|
-
|
|
10591
|
-
|
|
10897
|
+
* @summary Sends messages by using ChatAPP.
|
|
10898
|
+
*
|
|
10899
|
+
* @description 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.
|
|
10900
|
+
*
|
|
10901
|
+
* @param request SendChatappMessageRequest
|
|
10902
|
+
* @return SendChatappMessageResponse
|
|
10592
10903
|
*/
|
|
10593
10904
|
async sendChatappMessage(request: SendChatappMessageRequest): Promise<SendChatappMessageResponse> {
|
|
10594
10905
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10596,11 +10907,13 @@ export default class Client extends OpenApi {
|
|
|
10596
10907
|
}
|
|
10597
10908
|
|
|
10598
10909
|
/**
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
|
|
10910
|
+
* @summary Submits the agreement information for independent software vendor (ISV) customers.
|
|
10911
|
+
*
|
|
10912
|
+
* @description 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.
|
|
10913
|
+
*
|
|
10914
|
+
* @param request SubmitIsvCustomerTermsRequest
|
|
10915
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10916
|
+
* @return SubmitIsvCustomerTermsResponse
|
|
10604
10917
|
*/
|
|
10605
10918
|
async submitIsvCustomerTermsWithOptions(request: SubmitIsvCustomerTermsRequest, runtime: $Util.RuntimeOptions): Promise<SubmitIsvCustomerTermsResponse> {
|
|
10606
10919
|
Util.validateModel(request);
|
|
@@ -10651,10 +10964,12 @@ export default class Client extends OpenApi {
|
|
|
10651
10964
|
}
|
|
10652
10965
|
|
|
10653
10966
|
/**
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10967
|
+
* @summary Submits the agreement information for independent software vendor (ISV) customers.
|
|
10968
|
+
*
|
|
10969
|
+
* @description 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.
|
|
10970
|
+
*
|
|
10971
|
+
* @param request SubmitIsvCustomerTermsRequest
|
|
10972
|
+
* @return SubmitIsvCustomerTermsResponse
|
|
10658
10973
|
*/
|
|
10659
10974
|
async submitIsvCustomerTerms(request: SubmitIsvCustomerTermsRequest): Promise<SubmitIsvCustomerTermsResponse> {
|
|
10660
10975
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10662,11 +10977,13 @@ export default class Client extends OpenApi {
|
|
|
10662
10977
|
}
|
|
10663
10978
|
|
|
10664
10979
|
/**
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
|
|
10669
|
-
|
|
10980
|
+
* @summary Modifies the callback URL of an account.
|
|
10981
|
+
*
|
|
10982
|
+
* @description 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.
|
|
10983
|
+
*
|
|
10984
|
+
* @param request UpdateAccountWebhookRequest
|
|
10985
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10986
|
+
* @return UpdateAccountWebhookResponse
|
|
10670
10987
|
*/
|
|
10671
10988
|
async updateAccountWebhookWithOptions(request: UpdateAccountWebhookRequest, runtime: $Util.RuntimeOptions): Promise<UpdateAccountWebhookResponse> {
|
|
10672
10989
|
Util.validateModel(request);
|
|
@@ -10705,10 +11022,12 @@ export default class Client extends OpenApi {
|
|
|
10705
11022
|
}
|
|
10706
11023
|
|
|
10707
11024
|
/**
|
|
10708
|
-
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
11025
|
+
* @summary Modifies the callback URL of an account.
|
|
11026
|
+
*
|
|
11027
|
+
* @description 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.
|
|
11028
|
+
*
|
|
11029
|
+
* @param request UpdateAccountWebhookRequest
|
|
11030
|
+
* @return UpdateAccountWebhookResponse
|
|
10712
11031
|
*/
|
|
10713
11032
|
async updateAccountWebhook(request: UpdateAccountWebhookRequest): Promise<UpdateAccountWebhookResponse> {
|
|
10714
11033
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10716,11 +11035,13 @@ export default class Client extends OpenApi {
|
|
|
10716
11035
|
}
|
|
10717
11036
|
|
|
10718
11037
|
/**
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
|
|
11038
|
+
* @summary Modifies the business settings of a phone number.
|
|
11039
|
+
*
|
|
11040
|
+
* @description 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.
|
|
11041
|
+
*
|
|
11042
|
+
* @param request UpdateCommerceSettingRequest
|
|
11043
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11044
|
+
* @return UpdateCommerceSettingResponse
|
|
10724
11045
|
*/
|
|
10725
11046
|
async updateCommerceSettingWithOptions(request: UpdateCommerceSettingRequest, runtime: $Util.RuntimeOptions): Promise<UpdateCommerceSettingResponse> {
|
|
10726
11047
|
Util.validateModel(request);
|
|
@@ -10759,16 +11080,25 @@ export default class Client extends OpenApi {
|
|
|
10759
11080
|
}
|
|
10760
11081
|
|
|
10761
11082
|
/**
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
11083
|
+
* @summary Modifies the business settings of a phone number.
|
|
11084
|
+
*
|
|
11085
|
+
* @description 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.
|
|
11086
|
+
*
|
|
11087
|
+
* @param request UpdateCommerceSettingRequest
|
|
11088
|
+
* @return UpdateCommerceSettingResponse
|
|
10766
11089
|
*/
|
|
10767
11090
|
async updateCommerceSetting(request: UpdateCommerceSettingRequest): Promise<UpdateCommerceSettingResponse> {
|
|
10768
11091
|
let runtime = new $Util.RuntimeOptions({ });
|
|
10769
11092
|
return await this.updateCommerceSettingWithOptions(request, runtime);
|
|
10770
11093
|
}
|
|
10771
11094
|
|
|
11095
|
+
/**
|
|
11096
|
+
* @summary 更新flow的表单内容
|
|
11097
|
+
*
|
|
11098
|
+
* @param request UpdateFlowJSONAssetRequest
|
|
11099
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11100
|
+
* @return UpdateFlowJSONAssetResponse
|
|
11101
|
+
*/
|
|
10772
11102
|
async updateFlowJSONAssetWithOptions(request: UpdateFlowJSONAssetRequest, runtime: $Util.RuntimeOptions): Promise<UpdateFlowJSONAssetResponse> {
|
|
10773
11103
|
Util.validateModel(request);
|
|
10774
11104
|
let body : {[key: string ]: any} = { };
|
|
@@ -10801,11 +11131,24 @@ export default class Client extends OpenApi {
|
|
|
10801
11131
|
return $tea.cast<UpdateFlowJSONAssetResponse>(await this.callApi(params, req, runtime), new UpdateFlowJSONAssetResponse({}));
|
|
10802
11132
|
}
|
|
10803
11133
|
|
|
11134
|
+
/**
|
|
11135
|
+
* @summary 更新flow的表单内容
|
|
11136
|
+
*
|
|
11137
|
+
* @param request UpdateFlowJSONAssetRequest
|
|
11138
|
+
* @return UpdateFlowJSONAssetResponse
|
|
11139
|
+
*/
|
|
10804
11140
|
async updateFlowJSONAsset(request: UpdateFlowJSONAssetRequest): Promise<UpdateFlowJSONAssetResponse> {
|
|
10805
11141
|
let runtime = new $Util.RuntimeOptions({ });
|
|
10806
11142
|
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
10807
11143
|
}
|
|
10808
11144
|
|
|
11145
|
+
/**
|
|
11146
|
+
* @summary 更新号码的公钥
|
|
11147
|
+
*
|
|
11148
|
+
* @param request UpdatePhoneEncryptionPublicKeyRequest
|
|
11149
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11150
|
+
* @return UpdatePhoneEncryptionPublicKeyResponse
|
|
11151
|
+
*/
|
|
10809
11152
|
async updatePhoneEncryptionPublicKeyWithOptions(request: UpdatePhoneEncryptionPublicKeyRequest, runtime: $Util.RuntimeOptions): Promise<UpdatePhoneEncryptionPublicKeyResponse> {
|
|
10810
11153
|
Util.validateModel(request);
|
|
10811
11154
|
let body : {[key: string ]: any} = { };
|
|
@@ -10838,11 +11181,24 @@ export default class Client extends OpenApi {
|
|
|
10838
11181
|
return $tea.cast<UpdatePhoneEncryptionPublicKeyResponse>(await this.callApi(params, req, runtime), new UpdatePhoneEncryptionPublicKeyResponse({}));
|
|
10839
11182
|
}
|
|
10840
11183
|
|
|
11184
|
+
/**
|
|
11185
|
+
* @summary 更新号码的公钥
|
|
11186
|
+
*
|
|
11187
|
+
* @param request UpdatePhoneEncryptionPublicKeyRequest
|
|
11188
|
+
* @return UpdatePhoneEncryptionPublicKeyResponse
|
|
11189
|
+
*/
|
|
10841
11190
|
async updatePhoneEncryptionPublicKey(request: UpdatePhoneEncryptionPublicKeyRequest): Promise<UpdatePhoneEncryptionPublicKeyResponse> {
|
|
10842
11191
|
let runtime = new $Util.RuntimeOptions({ });
|
|
10843
11192
|
return await this.updatePhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
10844
11193
|
}
|
|
10845
11194
|
|
|
11195
|
+
/**
|
|
11196
|
+
* @summary 修改消息发送二维码
|
|
11197
|
+
*
|
|
11198
|
+
* @param request UpdatePhoneMessageQrdlRequest
|
|
11199
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11200
|
+
* @return UpdatePhoneMessageQrdlResponse
|
|
11201
|
+
*/
|
|
10846
11202
|
async updatePhoneMessageQrdlWithOptions(request: UpdatePhoneMessageQrdlRequest, runtime: $Util.RuntimeOptions): Promise<UpdatePhoneMessageQrdlResponse> {
|
|
10847
11203
|
Util.validateModel(request);
|
|
10848
11204
|
let body : {[key: string ]: any} = { };
|
|
@@ -10883,17 +11239,27 @@ export default class Client extends OpenApi {
|
|
|
10883
11239
|
return $tea.cast<UpdatePhoneMessageQrdlResponse>(await this.callApi(params, req, runtime), new UpdatePhoneMessageQrdlResponse({}));
|
|
10884
11240
|
}
|
|
10885
11241
|
|
|
11242
|
+
/**
|
|
11243
|
+
* @summary 修改消息发送二维码
|
|
11244
|
+
*
|
|
11245
|
+
* @param request UpdatePhoneMessageQrdlRequest
|
|
11246
|
+
* @return UpdatePhoneMessageQrdlResponse
|
|
11247
|
+
*/
|
|
10886
11248
|
async updatePhoneMessageQrdl(request: UpdatePhoneMessageQrdlRequest): Promise<UpdatePhoneMessageQrdlResponse> {
|
|
10887
11249
|
let runtime = new $Util.RuntimeOptions({ });
|
|
10888
11250
|
return await this.updatePhoneMessageQrdlWithOptions(request, runtime);
|
|
10889
11251
|
}
|
|
10890
11252
|
|
|
10891
11253
|
/**
|
|
10892
|
-
|
|
10893
|
-
|
|
10894
|
-
|
|
10895
|
-
|
|
10896
|
-
|
|
11254
|
+
* @summary The HTTP status code returned.
|
|
11255
|
+
* * A value of OK indicates that the call is successful.
|
|
11256
|
+
* * Other values indicate that the call fails. For more information, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
|
|
11257
|
+
*
|
|
11258
|
+
* @description The error message returned.
|
|
11259
|
+
*
|
|
11260
|
+
* @param request UpdatePhoneWebhookRequest
|
|
11261
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11262
|
+
* @return UpdatePhoneWebhookResponse
|
|
10897
11263
|
*/
|
|
10898
11264
|
async updatePhoneWebhookWithOptions(request: UpdatePhoneWebhookRequest, runtime: $Util.RuntimeOptions): Promise<UpdatePhoneWebhookResponse> {
|
|
10899
11265
|
Util.validateModel(request);
|
|
@@ -10940,10 +11306,14 @@ export default class Client extends OpenApi {
|
|
|
10940
11306
|
}
|
|
10941
11307
|
|
|
10942
11308
|
/**
|
|
10943
|
-
|
|
10944
|
-
|
|
10945
|
-
|
|
10946
|
-
|
|
11309
|
+
* @summary The HTTP status code returned.
|
|
11310
|
+
* * A value of OK indicates that the call is successful.
|
|
11311
|
+
* * Other values indicate that the call fails. For more information, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
|
|
11312
|
+
*
|
|
11313
|
+
* @description The error message returned.
|
|
11314
|
+
*
|
|
11315
|
+
* @param request UpdatePhoneWebhookRequest
|
|
11316
|
+
* @return UpdatePhoneWebhookResponse
|
|
10947
11317
|
*/
|
|
10948
11318
|
async updatePhoneWebhook(request: UpdatePhoneWebhookRequest): Promise<UpdatePhoneWebhookResponse> {
|
|
10949
11319
|
let runtime = new $Util.RuntimeOptions({ });
|