@alicloud/cams20200606 1.4.2 → 1.4.4
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 +822 -440
- package/dist/client.js +860 -442
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +885 -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
|
|
|
@@ -5848,6 +5866,28 @@ export class CreateChatappMigrationInitiateResponseBodyData extends $tea.Model {
|
|
|
5848
5866
|
}
|
|
5849
5867
|
}
|
|
5850
5868
|
|
|
5869
|
+
export class CreateChatappTemplateRequestComponentsButtonsSupportedApps extends $tea.Model {
|
|
5870
|
+
packageName?: string;
|
|
5871
|
+
signatureHash?: string;
|
|
5872
|
+
static names(): { [key: string]: string } {
|
|
5873
|
+
return {
|
|
5874
|
+
packageName: 'PackageName',
|
|
5875
|
+
signatureHash: 'SignatureHash',
|
|
5876
|
+
};
|
|
5877
|
+
}
|
|
5878
|
+
|
|
5879
|
+
static types(): { [key: string]: any } {
|
|
5880
|
+
return {
|
|
5881
|
+
packageName: 'string',
|
|
5882
|
+
signatureHash: 'string',
|
|
5883
|
+
};
|
|
5884
|
+
}
|
|
5885
|
+
|
|
5886
|
+
constructor(map?: { [key: string]: any }) {
|
|
5887
|
+
super(map);
|
|
5888
|
+
}
|
|
5889
|
+
}
|
|
5890
|
+
|
|
5851
5891
|
export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
5852
5892
|
autofillText?: string;
|
|
5853
5893
|
couponCode?: string;
|
|
@@ -5858,6 +5898,7 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
5858
5898
|
packageName?: string;
|
|
5859
5899
|
phoneNumber?: string;
|
|
5860
5900
|
signatureHash?: string;
|
|
5901
|
+
supportedApps?: CreateChatappTemplateRequestComponentsButtonsSupportedApps[];
|
|
5861
5902
|
text?: string;
|
|
5862
5903
|
type?: string;
|
|
5863
5904
|
url?: string;
|
|
@@ -5873,6 +5914,7 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
5873
5914
|
packageName: 'PackageName',
|
|
5874
5915
|
phoneNumber: 'PhoneNumber',
|
|
5875
5916
|
signatureHash: 'SignatureHash',
|
|
5917
|
+
supportedApps: 'SupportedApps',
|
|
5876
5918
|
text: 'Text',
|
|
5877
5919
|
type: 'Type',
|
|
5878
5920
|
url: 'Url',
|
|
@@ -5891,6 +5933,7 @@ export class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
5891
5933
|
packageName: 'string',
|
|
5892
5934
|
phoneNumber: 'string',
|
|
5893
5935
|
signatureHash: 'string',
|
|
5936
|
+
supportedApps: { 'type': 'array', 'itemType': CreateChatappTemplateRequestComponentsButtonsSupportedApps },
|
|
5894
5937
|
text: 'string',
|
|
5895
5938
|
type: 'string',
|
|
5896
5939
|
url: 'string',
|
|
@@ -6188,6 +6231,28 @@ export class GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttr
|
|
|
6188
6231
|
}
|
|
6189
6232
|
}
|
|
6190
6233
|
|
|
6234
|
+
export class GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps extends $tea.Model {
|
|
6235
|
+
packageName?: string;
|
|
6236
|
+
signatureHash?: string;
|
|
6237
|
+
static names(): { [key: string]: string } {
|
|
6238
|
+
return {
|
|
6239
|
+
packageName: 'PackageName',
|
|
6240
|
+
signatureHash: 'SignatureHash',
|
|
6241
|
+
};
|
|
6242
|
+
}
|
|
6243
|
+
|
|
6244
|
+
static types(): { [key: string]: any } {
|
|
6245
|
+
return {
|
|
6246
|
+
packageName: 'string',
|
|
6247
|
+
signatureHash: 'string',
|
|
6248
|
+
};
|
|
6249
|
+
}
|
|
6250
|
+
|
|
6251
|
+
constructor(map?: { [key: string]: any }) {
|
|
6252
|
+
super(map);
|
|
6253
|
+
}
|
|
6254
|
+
}
|
|
6255
|
+
|
|
6191
6256
|
export class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Model {
|
|
6192
6257
|
autofillText?: string;
|
|
6193
6258
|
couponCode?: string;
|
|
@@ -6199,6 +6264,7 @@ export class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $
|
|
|
6199
6264
|
packageName?: string;
|
|
6200
6265
|
phoneNumber?: string;
|
|
6201
6266
|
signatureHash?: string;
|
|
6267
|
+
supportedApps?: GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps[];
|
|
6202
6268
|
text?: string;
|
|
6203
6269
|
type?: string;
|
|
6204
6270
|
url?: string;
|
|
@@ -6215,6 +6281,7 @@ export class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $
|
|
|
6215
6281
|
packageName: 'PackageName',
|
|
6216
6282
|
phoneNumber: 'PhoneNumber',
|
|
6217
6283
|
signatureHash: 'SignatureHash',
|
|
6284
|
+
supportedApps: 'SupportedApps',
|
|
6218
6285
|
text: 'Text',
|
|
6219
6286
|
type: 'Type',
|
|
6220
6287
|
url: 'Url',
|
|
@@ -6234,6 +6301,7 @@ export class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $
|
|
|
6234
6301
|
packageName: 'string',
|
|
6235
6302
|
phoneNumber: 'string',
|
|
6236
6303
|
signatureHash: 'string',
|
|
6304
|
+
supportedApps: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps },
|
|
6237
6305
|
text: 'string',
|
|
6238
6306
|
type: 'string',
|
|
6239
6307
|
url: 'string',
|
|
@@ -7020,6 +7088,28 @@ export class ListProductCatalogResponseBodyModel extends $tea.Model {
|
|
|
7020
7088
|
}
|
|
7021
7089
|
}
|
|
7022
7090
|
|
|
7091
|
+
export class ModifyChatappTemplateRequestComponentsButtonsSupportedApps extends $tea.Model {
|
|
7092
|
+
packageName?: string;
|
|
7093
|
+
signatureHash?: string;
|
|
7094
|
+
static names(): { [key: string]: string } {
|
|
7095
|
+
return {
|
|
7096
|
+
packageName: 'PackageName',
|
|
7097
|
+
signatureHash: 'SignatureHash',
|
|
7098
|
+
};
|
|
7099
|
+
}
|
|
7100
|
+
|
|
7101
|
+
static types(): { [key: string]: any } {
|
|
7102
|
+
return {
|
|
7103
|
+
packageName: 'string',
|
|
7104
|
+
signatureHash: 'string',
|
|
7105
|
+
};
|
|
7106
|
+
}
|
|
7107
|
+
|
|
7108
|
+
constructor(map?: { [key: string]: any }) {
|
|
7109
|
+
super(map);
|
|
7110
|
+
}
|
|
7111
|
+
}
|
|
7112
|
+
|
|
7023
7113
|
export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
7024
7114
|
autofillText?: string;
|
|
7025
7115
|
couponCode?: string;
|
|
@@ -7030,6 +7120,7 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
7030
7120
|
packageName?: string;
|
|
7031
7121
|
phoneNumber?: string;
|
|
7032
7122
|
signatureHash?: string;
|
|
7123
|
+
supportedApps?: ModifyChatappTemplateRequestComponentsButtonsSupportedApps[];
|
|
7033
7124
|
text?: string;
|
|
7034
7125
|
type?: string;
|
|
7035
7126
|
url?: string;
|
|
@@ -7045,6 +7136,7 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
7045
7136
|
packageName: 'PackageName',
|
|
7046
7137
|
phoneNumber: 'PhoneNumber',
|
|
7047
7138
|
signatureHash: 'SignatureHash',
|
|
7139
|
+
supportedApps: 'SupportedApps',
|
|
7048
7140
|
text: 'Text',
|
|
7049
7141
|
type: 'Type',
|
|
7050
7142
|
url: 'Url',
|
|
@@ -7063,6 +7155,7 @@ export class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
7063
7155
|
packageName: 'string',
|
|
7064
7156
|
phoneNumber: 'string',
|
|
7065
7157
|
signatureHash: 'string',
|
|
7158
|
+
supportedApps: { 'type': 'array', 'itemType': ModifyChatappTemplateRequestComponentsButtonsSupportedApps },
|
|
7066
7159
|
text: 'string',
|
|
7067
7160
|
type: 'string',
|
|
7068
7161
|
url: 'string',
|
|
@@ -7263,27 +7356,33 @@ export class ModifyFlowResponseBodyData extends $tea.Model {
|
|
|
7263
7356
|
|
|
7264
7357
|
export class QueryChatappBindWabaResponseBodyData extends $tea.Model {
|
|
7265
7358
|
accountReviewStatus?: string;
|
|
7359
|
+
authInternationalRateEligibility?: { [key: string]: any };
|
|
7266
7360
|
currency?: string;
|
|
7267
7361
|
id?: string;
|
|
7268
7362
|
messageTemplateNamespace?: string;
|
|
7269
7363
|
name?: string;
|
|
7364
|
+
primaryBusinessLocation?: string;
|
|
7270
7365
|
static names(): { [key: string]: string } {
|
|
7271
7366
|
return {
|
|
7272
7367
|
accountReviewStatus: 'AccountReviewStatus',
|
|
7368
|
+
authInternationalRateEligibility: 'AuthInternationalRateEligibility',
|
|
7273
7369
|
currency: 'Currency',
|
|
7274
7370
|
id: 'Id',
|
|
7275
7371
|
messageTemplateNamespace: 'MessageTemplateNamespace',
|
|
7276
7372
|
name: 'Name',
|
|
7373
|
+
primaryBusinessLocation: 'PrimaryBusinessLocation',
|
|
7277
7374
|
};
|
|
7278
7375
|
}
|
|
7279
7376
|
|
|
7280
7377
|
static types(): { [key: string]: any } {
|
|
7281
7378
|
return {
|
|
7282
7379
|
accountReviewStatus: 'string',
|
|
7380
|
+
authInternationalRateEligibility: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7283
7381
|
currency: 'string',
|
|
7284
7382
|
id: 'string',
|
|
7285
7383
|
messageTemplateNamespace: 'string',
|
|
7286
7384
|
name: 'string',
|
|
7385
|
+
primaryBusinessLocation: 'string',
|
|
7287
7386
|
};
|
|
7288
7387
|
}
|
|
7289
7388
|
|
|
@@ -7687,11 +7786,13 @@ export default class Client extends OpenApi {
|
|
|
7687
7786
|
}
|
|
7688
7787
|
|
|
7689
7788
|
/**
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
|
|
7789
|
+
* @summary Adds a phone number for a WhatsApp Business account (WABA).
|
|
7790
|
+
*
|
|
7791
|
+
* @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.
|
|
7792
|
+
*
|
|
7793
|
+
* @param request AddChatappPhoneNumberRequest
|
|
7794
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7795
|
+
* @return AddChatappPhoneNumberResponse
|
|
7695
7796
|
*/
|
|
7696
7797
|
async addChatappPhoneNumberWithOptions(request: AddChatappPhoneNumberRequest, runtime: $Util.RuntimeOptions): Promise<AddChatappPhoneNumberResponse> {
|
|
7697
7798
|
Util.validateModel(request);
|
|
@@ -7734,10 +7835,12 @@ export default class Client extends OpenApi {
|
|
|
7734
7835
|
}
|
|
7735
7836
|
|
|
7736
7837
|
/**
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7838
|
+
* @summary Adds a phone number for a WhatsApp Business account (WABA).
|
|
7839
|
+
*
|
|
7840
|
+
* @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.
|
|
7841
|
+
*
|
|
7842
|
+
* @param request AddChatappPhoneNumberRequest
|
|
7843
|
+
* @return AddChatappPhoneNumberResponse
|
|
7741
7844
|
*/
|
|
7742
7845
|
async addChatappPhoneNumber(request: AddChatappPhoneNumberRequest): Promise<AddChatappPhoneNumberResponse> {
|
|
7743
7846
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -7745,11 +7848,13 @@ export default class Client extends OpenApi {
|
|
|
7745
7848
|
}
|
|
7746
7849
|
|
|
7747
7850
|
/**
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7851
|
+
* @summary Associates FAQs in the knowledge base.
|
|
7852
|
+
*
|
|
7853
|
+
* @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.
|
|
7854
|
+
*
|
|
7855
|
+
* @param tmpReq BeeBotAssociateRequest
|
|
7856
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7857
|
+
* @return BeeBotAssociateResponse
|
|
7753
7858
|
*/
|
|
7754
7859
|
async beeBotAssociateWithOptions(tmpReq: BeeBotAssociateRequest, runtime: $Util.RuntimeOptions): Promise<BeeBotAssociateResponse> {
|
|
7755
7860
|
Util.validateModel(tmpReq);
|
|
@@ -7806,10 +7911,12 @@ export default class Client extends OpenApi {
|
|
|
7806
7911
|
}
|
|
7807
7912
|
|
|
7808
7913
|
/**
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
7914
|
+
* @summary Associates FAQs in the knowledge base.
|
|
7915
|
+
*
|
|
7916
|
+
* @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.
|
|
7917
|
+
*
|
|
7918
|
+
* @param request BeeBotAssociateRequest
|
|
7919
|
+
* @return BeeBotAssociateResponse
|
|
7813
7920
|
*/
|
|
7814
7921
|
async beeBotAssociate(request: BeeBotAssociateRequest): Promise<BeeBotAssociateResponse> {
|
|
7815
7922
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -7817,11 +7924,13 @@ export default class Client extends OpenApi {
|
|
|
7817
7924
|
}
|
|
7818
7925
|
|
|
7819
7926
|
/**
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7927
|
+
* @summary Conducts sessions with the bot based on its unique identifier (ID).
|
|
7928
|
+
*
|
|
7929
|
+
* @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.
|
|
7930
|
+
*
|
|
7931
|
+
* @param tmpReq BeeBotChatRequest
|
|
7932
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7933
|
+
* @return BeeBotChatResponse
|
|
7825
7934
|
*/
|
|
7826
7935
|
async beeBotChatWithOptions(tmpReq: BeeBotChatRequest, runtime: $Util.RuntimeOptions): Promise<BeeBotChatResponse> {
|
|
7827
7936
|
Util.validateModel(tmpReq);
|
|
@@ -7898,10 +8007,12 @@ export default class Client extends OpenApi {
|
|
|
7898
8007
|
}
|
|
7899
8008
|
|
|
7900
8009
|
/**
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
8010
|
+
* @summary Conducts sessions with the bot based on its unique identifier (ID).
|
|
8011
|
+
*
|
|
8012
|
+
* @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.
|
|
8013
|
+
*
|
|
8014
|
+
* @param request BeeBotChatRequest
|
|
8015
|
+
* @return BeeBotChatResponse
|
|
7905
8016
|
*/
|
|
7906
8017
|
async beeBotChat(request: BeeBotChatRequest): Promise<BeeBotChatResponse> {
|
|
7907
8018
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -7909,11 +8020,13 @@ export default class Client extends OpenApi {
|
|
|
7909
8020
|
}
|
|
7910
8021
|
|
|
7911
8022
|
/**
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
7915
|
-
|
|
7916
|
-
|
|
8023
|
+
* @summary Binds the WhatsApp Business account with ChatApp.
|
|
8024
|
+
*
|
|
8025
|
+
* @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.
|
|
8026
|
+
*
|
|
8027
|
+
* @param request ChatappBindWabaRequest
|
|
8028
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8029
|
+
* @return ChatappBindWabaResponse
|
|
7917
8030
|
*/
|
|
7918
8031
|
async chatappBindWabaWithOptions(request: ChatappBindWabaRequest, runtime: $Util.RuntimeOptions): Promise<ChatappBindWabaResponse> {
|
|
7919
8032
|
Util.validateModel(request);
|
|
@@ -7940,10 +8053,12 @@ export default class Client extends OpenApi {
|
|
|
7940
8053
|
}
|
|
7941
8054
|
|
|
7942
8055
|
/**
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
8056
|
+
* @summary Binds the WhatsApp Business account with ChatApp.
|
|
8057
|
+
*
|
|
8058
|
+
* @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.
|
|
8059
|
+
*
|
|
8060
|
+
* @param request ChatappBindWabaRequest
|
|
8061
|
+
* @return ChatappBindWabaResponse
|
|
7947
8062
|
*/
|
|
7948
8063
|
async chatappBindWaba(request: ChatappBindWabaRequest): Promise<ChatappBindWabaResponse> {
|
|
7949
8064
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -7951,11 +8066,13 @@ export default class Client extends OpenApi {
|
|
|
7951
8066
|
}
|
|
7952
8067
|
|
|
7953
8068
|
/**
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
|
|
7958
|
-
|
|
8069
|
+
* @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.
|
|
8070
|
+
*
|
|
8071
|
+
* @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.
|
|
8072
|
+
*
|
|
8073
|
+
* @param request ChatappEmbedSignUpRequest
|
|
8074
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8075
|
+
* @return ChatappEmbedSignUpResponse
|
|
7959
8076
|
*/
|
|
7960
8077
|
async chatappEmbedSignUpWithOptions(request: ChatappEmbedSignUpRequest, runtime: $Util.RuntimeOptions): Promise<ChatappEmbedSignUpResponse> {
|
|
7961
8078
|
Util.validateModel(request);
|
|
@@ -7982,10 +8099,12 @@ export default class Client extends OpenApi {
|
|
|
7982
8099
|
}
|
|
7983
8100
|
|
|
7984
8101
|
/**
|
|
7985
|
-
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
8102
|
+
* @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.
|
|
8103
|
+
*
|
|
8104
|
+
* @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.
|
|
8105
|
+
*
|
|
8106
|
+
* @param request ChatappEmbedSignUpRequest
|
|
8107
|
+
* @return ChatappEmbedSignUpResponse
|
|
7989
8108
|
*/
|
|
7990
8109
|
async chatappEmbedSignUp(request: ChatappEmbedSignUpRequest): Promise<ChatappEmbedSignUpResponse> {
|
|
7991
8110
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -7993,11 +8112,13 @@ export default class Client extends OpenApi {
|
|
|
7993
8112
|
}
|
|
7994
8113
|
|
|
7995
8114
|
/**
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
|
|
7999
|
-
|
|
8000
|
-
|
|
8115
|
+
* @summary Registers a phone number for migration.
|
|
8116
|
+
*
|
|
8117
|
+
* @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.
|
|
8118
|
+
*
|
|
8119
|
+
* @param request ChatappMigrationRegisterRequest
|
|
8120
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8121
|
+
* @return ChatappMigrationRegisterResponse
|
|
8001
8122
|
*/
|
|
8002
8123
|
async chatappMigrationRegisterWithOptions(request: ChatappMigrationRegisterRequest, runtime: $Util.RuntimeOptions): Promise<ChatappMigrationRegisterResponse> {
|
|
8003
8124
|
Util.validateModel(request);
|
|
@@ -8028,10 +8149,12 @@ export default class Client extends OpenApi {
|
|
|
8028
8149
|
}
|
|
8029
8150
|
|
|
8030
8151
|
/**
|
|
8031
|
-
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
|
|
8152
|
+
* @summary Registers a phone number for migration.
|
|
8153
|
+
*
|
|
8154
|
+
* @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.
|
|
8155
|
+
*
|
|
8156
|
+
* @param request ChatappMigrationRegisterRequest
|
|
8157
|
+
* @return ChatappMigrationRegisterResponse
|
|
8035
8158
|
*/
|
|
8036
8159
|
async chatappMigrationRegister(request: ChatappMigrationRegisterRequest): Promise<ChatappMigrationRegisterResponse> {
|
|
8037
8160
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8039,11 +8162,13 @@ export default class Client extends OpenApi {
|
|
|
8039
8162
|
}
|
|
8040
8163
|
|
|
8041
8164
|
/**
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8165
|
+
* @summary Verifies a specified phone number for migration.
|
|
8166
|
+
*
|
|
8167
|
+
* @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.
|
|
8168
|
+
*
|
|
8169
|
+
* @param request ChatappMigrationVerifiedRequest
|
|
8170
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8171
|
+
* @return ChatappMigrationVerifiedResponse
|
|
8047
8172
|
*/
|
|
8048
8173
|
async chatappMigrationVerifiedWithOptions(request: ChatappMigrationVerifiedRequest, runtime: $Util.RuntimeOptions): Promise<ChatappMigrationVerifiedResponse> {
|
|
8049
8174
|
Util.validateModel(request);
|
|
@@ -8078,10 +8203,12 @@ export default class Client extends OpenApi {
|
|
|
8078
8203
|
}
|
|
8079
8204
|
|
|
8080
8205
|
/**
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
|
|
8206
|
+
* @summary Verifies a specified phone number for migration.
|
|
8207
|
+
*
|
|
8208
|
+
* @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.
|
|
8209
|
+
*
|
|
8210
|
+
* @param request ChatappMigrationVerifiedRequest
|
|
8211
|
+
* @return ChatappMigrationVerifiedResponse
|
|
8085
8212
|
*/
|
|
8086
8213
|
async chatappMigrationVerified(request: ChatappMigrationVerifiedRequest): Promise<ChatappMigrationVerifiedResponse> {
|
|
8087
8214
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8089,11 +8216,13 @@ export default class Client extends OpenApi {
|
|
|
8089
8216
|
}
|
|
8090
8217
|
|
|
8091
8218
|
/**
|
|
8092
|
-
|
|
8093
|
-
|
|
8094
|
-
|
|
8095
|
-
|
|
8096
|
-
|
|
8219
|
+
* @summary Deregisters a phone number from a WhatsApp Business account (WABA).
|
|
8220
|
+
*
|
|
8221
|
+
* @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.
|
|
8222
|
+
*
|
|
8223
|
+
* @param request ChatappPhoneNumberDeregisterRequest
|
|
8224
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8225
|
+
* @return ChatappPhoneNumberDeregisterResponse
|
|
8097
8226
|
*/
|
|
8098
8227
|
async chatappPhoneNumberDeregisterWithOptions(request: ChatappPhoneNumberDeregisterRequest, runtime: $Util.RuntimeOptions): Promise<ChatappPhoneNumberDeregisterResponse> {
|
|
8099
8228
|
Util.validateModel(request);
|
|
@@ -8124,10 +8253,12 @@ export default class Client extends OpenApi {
|
|
|
8124
8253
|
}
|
|
8125
8254
|
|
|
8126
8255
|
/**
|
|
8127
|
-
|
|
8128
|
-
|
|
8129
|
-
|
|
8130
|
-
|
|
8256
|
+
* @summary Deregisters a phone number from a WhatsApp Business account (WABA).
|
|
8257
|
+
*
|
|
8258
|
+
* @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.
|
|
8259
|
+
*
|
|
8260
|
+
* @param request ChatappPhoneNumberDeregisterRequest
|
|
8261
|
+
* @return ChatappPhoneNumberDeregisterResponse
|
|
8131
8262
|
*/
|
|
8132
8263
|
async chatappPhoneNumberDeregister(request: ChatappPhoneNumberDeregisterRequest): Promise<ChatappPhoneNumberDeregisterResponse> {
|
|
8133
8264
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8135,11 +8266,13 @@ export default class Client extends OpenApi {
|
|
|
8135
8266
|
}
|
|
8136
8267
|
|
|
8137
8268
|
/**
|
|
8138
|
-
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
|
|
8269
|
+
* @summary Registers a phone number.
|
|
8270
|
+
*
|
|
8271
|
+
* @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.
|
|
8272
|
+
*
|
|
8273
|
+
* @param request ChatappPhoneNumberRegisterRequest
|
|
8274
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8275
|
+
* @return ChatappPhoneNumberRegisterResponse
|
|
8143
8276
|
*/
|
|
8144
8277
|
async chatappPhoneNumberRegisterWithOptions(request: ChatappPhoneNumberRegisterRequest, runtime: $Util.RuntimeOptions): Promise<ChatappPhoneNumberRegisterResponse> {
|
|
8145
8278
|
Util.validateModel(request);
|
|
@@ -8170,10 +8303,12 @@ export default class Client extends OpenApi {
|
|
|
8170
8303
|
}
|
|
8171
8304
|
|
|
8172
8305
|
/**
|
|
8173
|
-
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
|
|
8306
|
+
* @summary Registers a phone number.
|
|
8307
|
+
*
|
|
8308
|
+
* @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.
|
|
8309
|
+
*
|
|
8310
|
+
* @param request ChatappPhoneNumberRegisterRequest
|
|
8311
|
+
* @return ChatappPhoneNumberRegisterResponse
|
|
8177
8312
|
*/
|
|
8178
8313
|
async chatappPhoneNumberRegister(request: ChatappPhoneNumberRegisterRequest): Promise<ChatappPhoneNumberRegisterResponse> {
|
|
8179
8314
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8181,11 +8316,13 @@ export default class Client extends OpenApi {
|
|
|
8181
8316
|
}
|
|
8182
8317
|
|
|
8183
8318
|
/**
|
|
8184
|
-
|
|
8185
|
-
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
|
|
8319
|
+
* @summary Synchronizes phone numbers.
|
|
8320
|
+
*
|
|
8321
|
+
* @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.
|
|
8322
|
+
*
|
|
8323
|
+
* @param request ChatappSyncPhoneNumberRequest
|
|
8324
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8325
|
+
* @return ChatappSyncPhoneNumberResponse
|
|
8189
8326
|
*/
|
|
8190
8327
|
async chatappSyncPhoneNumberWithOptions(request: ChatappSyncPhoneNumberRequest, runtime: $Util.RuntimeOptions): Promise<ChatappSyncPhoneNumberResponse> {
|
|
8191
8328
|
Util.validateModel(request);
|
|
@@ -8212,10 +8349,12 @@ export default class Client extends OpenApi {
|
|
|
8212
8349
|
}
|
|
8213
8350
|
|
|
8214
8351
|
/**
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
8218
|
-
|
|
8352
|
+
* @summary Synchronizes phone numbers.
|
|
8353
|
+
*
|
|
8354
|
+
* @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.
|
|
8355
|
+
*
|
|
8356
|
+
* @param request ChatappSyncPhoneNumberRequest
|
|
8357
|
+
* @return ChatappSyncPhoneNumberResponse
|
|
8219
8358
|
*/
|
|
8220
8359
|
async chatappSyncPhoneNumber(request: ChatappSyncPhoneNumberRequest): Promise<ChatappSyncPhoneNumberResponse> {
|
|
8221
8360
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8223,11 +8362,13 @@ export default class Client extends OpenApi {
|
|
|
8223
8362
|
}
|
|
8224
8363
|
|
|
8225
8364
|
/**
|
|
8226
|
-
|
|
8227
|
-
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
|
|
8365
|
+
* @summary Associates a phone number with a WhatsApp Business account (WABA).
|
|
8366
|
+
*
|
|
8367
|
+
* @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.
|
|
8368
|
+
*
|
|
8369
|
+
* @param request ChatappVerifyAndRegisterRequest
|
|
8370
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8371
|
+
* @return ChatappVerifyAndRegisterResponse
|
|
8231
8372
|
*/
|
|
8232
8373
|
async chatappVerifyAndRegisterWithOptions(request: ChatappVerifyAndRegisterRequest, runtime: $Util.RuntimeOptions): Promise<ChatappVerifyAndRegisterResponse> {
|
|
8233
8374
|
Util.validateModel(request);
|
|
@@ -8262,10 +8403,12 @@ export default class Client extends OpenApi {
|
|
|
8262
8403
|
}
|
|
8263
8404
|
|
|
8264
8405
|
/**
|
|
8265
|
-
|
|
8266
|
-
|
|
8267
|
-
|
|
8268
|
-
|
|
8406
|
+
* @summary Associates a phone number with a WhatsApp Business account (WABA).
|
|
8407
|
+
*
|
|
8408
|
+
* @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.
|
|
8409
|
+
*
|
|
8410
|
+
* @param request ChatappVerifyAndRegisterRequest
|
|
8411
|
+
* @return ChatappVerifyAndRegisterResponse
|
|
8269
8412
|
*/
|
|
8270
8413
|
async chatappVerifyAndRegister(request: ChatappVerifyAndRegisterRequest): Promise<ChatappVerifyAndRegisterResponse> {
|
|
8271
8414
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8273,11 +8416,13 @@ export default class Client extends OpenApi {
|
|
|
8273
8416
|
}
|
|
8274
8417
|
|
|
8275
8418
|
/**
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8419
|
+
* @summary The ID of the number.
|
|
8420
|
+
*
|
|
8421
|
+
* @description The status of the phone number.
|
|
8422
|
+
*
|
|
8423
|
+
* @param request CreateChatappMigrationInitiateRequest
|
|
8424
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8425
|
+
* @return CreateChatappMigrationInitiateResponse
|
|
8281
8426
|
*/
|
|
8282
8427
|
async createChatappMigrationInitiateWithOptions(request: CreateChatappMigrationInitiateRequest, runtime: $Util.RuntimeOptions): Promise<CreateChatappMigrationInitiateResponse> {
|
|
8283
8428
|
Util.validateModel(request);
|
|
@@ -8312,10 +8457,12 @@ export default class Client extends OpenApi {
|
|
|
8312
8457
|
}
|
|
8313
8458
|
|
|
8314
8459
|
/**
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
|
|
8460
|
+
* @summary The ID of the number.
|
|
8461
|
+
*
|
|
8462
|
+
* @description The status of the phone number.
|
|
8463
|
+
*
|
|
8464
|
+
* @param request CreateChatappMigrationInitiateRequest
|
|
8465
|
+
* @return CreateChatappMigrationInitiateResponse
|
|
8319
8466
|
*/
|
|
8320
8467
|
async createChatappMigrationInitiate(request: CreateChatappMigrationInitiateRequest): Promise<CreateChatappMigrationInitiateResponse> {
|
|
8321
8468
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8323,11 +8470,15 @@ export default class Client extends OpenApi {
|
|
|
8323
8470
|
}
|
|
8324
8471
|
|
|
8325
8472
|
/**
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8330
|
-
|
|
8473
|
+
* @summary The HTTP status code.
|
|
8474
|
+
* \\\\* Example: OK. This parameter indicates that the request is successful.
|
|
8475
|
+
* \\\\* Other values indicate that the request fails. For more information, see \\[Error codes]\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
8476
|
+
*
|
|
8477
|
+
* @description The error message.
|
|
8478
|
+
*
|
|
8479
|
+
* @param tmpReq CreateChatappTemplateRequest
|
|
8480
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8481
|
+
* @return CreateChatappTemplateResponse
|
|
8331
8482
|
*/
|
|
8332
8483
|
async createChatappTemplateWithOptions(tmpReq: CreateChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<CreateChatappTemplateResponse> {
|
|
8333
8484
|
Util.validateModel(tmpReq);
|
|
@@ -8404,10 +8555,14 @@ export default class Client extends OpenApi {
|
|
|
8404
8555
|
}
|
|
8405
8556
|
|
|
8406
8557
|
/**
|
|
8407
|
-
|
|
8408
|
-
|
|
8409
|
-
|
|
8410
|
-
|
|
8558
|
+
* @summary The HTTP status code.
|
|
8559
|
+
* \\\\* Example: OK. This parameter indicates that the request is successful.
|
|
8560
|
+
* \\\\* Other values indicate that the request fails. For more information, see \\[Error codes]\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
8561
|
+
*
|
|
8562
|
+
* @description The error message.
|
|
8563
|
+
*
|
|
8564
|
+
* @param request CreateChatappTemplateRequest
|
|
8565
|
+
* @return CreateChatappTemplateResponse
|
|
8411
8566
|
*/
|
|
8412
8567
|
async createChatappTemplate(request: CreateChatappTemplateRequest): Promise<CreateChatappTemplateResponse> {
|
|
8413
8568
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8415,11 +8570,13 @@ export default class Client extends OpenApi {
|
|
|
8415
8570
|
}
|
|
8416
8571
|
|
|
8417
8572
|
/**
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8573
|
+
* @summary Creates a Flow.
|
|
8574
|
+
*
|
|
8575
|
+
* @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.
|
|
8576
|
+
*
|
|
8577
|
+
* @param tmpReq CreateFlowRequest
|
|
8578
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8579
|
+
* @return CreateFlowResponse
|
|
8423
8580
|
*/
|
|
8424
8581
|
async createFlowWithOptions(tmpReq: CreateFlowRequest, runtime: $Util.RuntimeOptions): Promise<CreateFlowResponse> {
|
|
8425
8582
|
Util.validateModel(tmpReq);
|
|
@@ -8460,16 +8617,25 @@ export default class Client extends OpenApi {
|
|
|
8460
8617
|
}
|
|
8461
8618
|
|
|
8462
8619
|
/**
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
|
|
8620
|
+
* @summary Creates a Flow.
|
|
8621
|
+
*
|
|
8622
|
+
* @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.
|
|
8623
|
+
*
|
|
8624
|
+
* @param request CreateFlowRequest
|
|
8625
|
+
* @return CreateFlowResponse
|
|
8467
8626
|
*/
|
|
8468
8627
|
async createFlow(request: CreateFlowRequest): Promise<CreateFlowResponse> {
|
|
8469
8628
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8470
8629
|
return await this.createFlowWithOptions(request, runtime);
|
|
8471
8630
|
}
|
|
8472
8631
|
|
|
8632
|
+
/**
|
|
8633
|
+
* @summary 创建消息发送二维码
|
|
8634
|
+
*
|
|
8635
|
+
* @param request CreatePhoneMessageQrdlRequest
|
|
8636
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8637
|
+
* @return CreatePhoneMessageQrdlResponse
|
|
8638
|
+
*/
|
|
8473
8639
|
async createPhoneMessageQrdlWithOptions(request: CreatePhoneMessageQrdlRequest, runtime: $Util.RuntimeOptions): Promise<CreatePhoneMessageQrdlResponse> {
|
|
8474
8640
|
Util.validateModel(request);
|
|
8475
8641
|
let body : {[key: string ]: any} = { };
|
|
@@ -8506,18 +8672,26 @@ export default class Client extends OpenApi {
|
|
|
8506
8672
|
return $tea.cast<CreatePhoneMessageQrdlResponse>(await this.callApi(params, req, runtime), new CreatePhoneMessageQrdlResponse({}));
|
|
8507
8673
|
}
|
|
8508
8674
|
|
|
8675
|
+
/**
|
|
8676
|
+
* @summary 创建消息发送二维码
|
|
8677
|
+
*
|
|
8678
|
+
* @param request CreatePhoneMessageQrdlRequest
|
|
8679
|
+
* @return CreatePhoneMessageQrdlResponse
|
|
8680
|
+
*/
|
|
8509
8681
|
async createPhoneMessageQrdl(request: CreatePhoneMessageQrdlRequest): Promise<CreatePhoneMessageQrdlResponse> {
|
|
8510
8682
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8511
8683
|
return await this.createPhoneMessageQrdlWithOptions(request, runtime);
|
|
8512
8684
|
}
|
|
8513
8685
|
|
|
8514
8686
|
/**
|
|
8515
|
-
|
|
8516
|
-
|
|
8517
|
-
|
|
8518
|
-
|
|
8519
|
-
|
|
8520
|
-
|
|
8687
|
+
* @summary Deletes a message template.
|
|
8688
|
+
*
|
|
8689
|
+
* @description ### QPS limit
|
|
8690
|
+
* 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.
|
|
8691
|
+
*
|
|
8692
|
+
* @param request DeleteChatappTemplateRequest
|
|
8693
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8694
|
+
* @return DeleteChatappTemplateResponse
|
|
8521
8695
|
*/
|
|
8522
8696
|
async deleteChatappTemplateWithOptions(request: DeleteChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<DeleteChatappTemplateResponse> {
|
|
8523
8697
|
Util.validateModel(request);
|
|
@@ -8568,11 +8742,13 @@ export default class Client extends OpenApi {
|
|
|
8568
8742
|
}
|
|
8569
8743
|
|
|
8570
8744
|
/**
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8575
|
-
|
|
8745
|
+
* @summary Deletes a message template.
|
|
8746
|
+
*
|
|
8747
|
+
* @description ### QPS limit
|
|
8748
|
+
* 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.
|
|
8749
|
+
*
|
|
8750
|
+
* @param request DeleteChatappTemplateRequest
|
|
8751
|
+
* @return DeleteChatappTemplateResponse
|
|
8576
8752
|
*/
|
|
8577
8753
|
async deleteChatappTemplate(request: DeleteChatappTemplateRequest): Promise<DeleteChatappTemplateResponse> {
|
|
8578
8754
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8580,11 +8756,13 @@ export default class Client extends OpenApi {
|
|
|
8580
8756
|
}
|
|
8581
8757
|
|
|
8582
8758
|
/**
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8759
|
+
* @summary Deletes a Flow. Only Flows in the DRAFT state can be deleted.
|
|
8760
|
+
*
|
|
8761
|
+
* @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.
|
|
8762
|
+
*
|
|
8763
|
+
* @param request DeleteFlowRequest
|
|
8764
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8765
|
+
* @return DeleteFlowResponse
|
|
8588
8766
|
*/
|
|
8589
8767
|
async deleteFlowWithOptions(request: DeleteFlowRequest, runtime: $Util.RuntimeOptions): Promise<DeleteFlowResponse> {
|
|
8590
8768
|
Util.validateModel(request);
|
|
@@ -8615,16 +8793,25 @@ export default class Client extends OpenApi {
|
|
|
8615
8793
|
}
|
|
8616
8794
|
|
|
8617
8795
|
/**
|
|
8618
|
-
|
|
8619
|
-
|
|
8620
|
-
|
|
8621
|
-
|
|
8796
|
+
* @summary Deletes a Flow. Only Flows in the DRAFT state can be deleted.
|
|
8797
|
+
*
|
|
8798
|
+
* @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.
|
|
8799
|
+
*
|
|
8800
|
+
* @param request DeleteFlowRequest
|
|
8801
|
+
* @return DeleteFlowResponse
|
|
8622
8802
|
*/
|
|
8623
8803
|
async deleteFlow(request: DeleteFlowRequest): Promise<DeleteFlowResponse> {
|
|
8624
8804
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8625
8805
|
return await this.deleteFlowWithOptions(request, runtime);
|
|
8626
8806
|
}
|
|
8627
8807
|
|
|
8808
|
+
/**
|
|
8809
|
+
* @summary 删除消息发送二维码
|
|
8810
|
+
*
|
|
8811
|
+
* @param request DeletePhoneMessageQrdlRequest
|
|
8812
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8813
|
+
* @return DeletePhoneMessageQrdlResponse
|
|
8814
|
+
*/
|
|
8628
8815
|
async deletePhoneMessageQrdlWithOptions(request: DeletePhoneMessageQrdlRequest, runtime: $Util.RuntimeOptions): Promise<DeletePhoneMessageQrdlResponse> {
|
|
8629
8816
|
Util.validateModel(request);
|
|
8630
8817
|
let body : {[key: string ]: any} = { };
|
|
@@ -8657,11 +8844,24 @@ export default class Client extends OpenApi {
|
|
|
8657
8844
|
return $tea.cast<DeletePhoneMessageQrdlResponse>(await this.callApi(params, req, runtime), new DeletePhoneMessageQrdlResponse({}));
|
|
8658
8845
|
}
|
|
8659
8846
|
|
|
8847
|
+
/**
|
|
8848
|
+
* @summary 删除消息发送二维码
|
|
8849
|
+
*
|
|
8850
|
+
* @param request DeletePhoneMessageQrdlRequest
|
|
8851
|
+
* @return DeletePhoneMessageQrdlResponse
|
|
8852
|
+
*/
|
|
8660
8853
|
async deletePhoneMessageQrdl(request: DeletePhoneMessageQrdlRequest): Promise<DeletePhoneMessageQrdlResponse> {
|
|
8661
8854
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8662
8855
|
return await this.deletePhoneMessageQrdlWithOptions(request, runtime);
|
|
8663
8856
|
}
|
|
8664
8857
|
|
|
8858
|
+
/**
|
|
8859
|
+
* @summary 弃用Flow
|
|
8860
|
+
*
|
|
8861
|
+
* @param request DeprecateFlowRequest
|
|
8862
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8863
|
+
* @return DeprecateFlowResponse
|
|
8864
|
+
*/
|
|
8665
8865
|
async deprecateFlowWithOptions(request: DeprecateFlowRequest, runtime: $Util.RuntimeOptions): Promise<DeprecateFlowResponse> {
|
|
8666
8866
|
Util.validateModel(request);
|
|
8667
8867
|
let body : {[key: string ]: any} = { };
|
|
@@ -8690,17 +8890,25 @@ export default class Client extends OpenApi {
|
|
|
8690
8890
|
return $tea.cast<DeprecateFlowResponse>(await this.callApi(params, req, runtime), new DeprecateFlowResponse({}));
|
|
8691
8891
|
}
|
|
8692
8892
|
|
|
8893
|
+
/**
|
|
8894
|
+
* @summary 弃用Flow
|
|
8895
|
+
*
|
|
8896
|
+
* @param request DeprecateFlowRequest
|
|
8897
|
+
* @return DeprecateFlowResponse
|
|
8898
|
+
*/
|
|
8693
8899
|
async deprecateFlow(request: DeprecateFlowRequest): Promise<DeprecateFlowResponse> {
|
|
8694
8900
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8695
8901
|
return await this.deprecateFlowWithOptions(request, runtime);
|
|
8696
8902
|
}
|
|
8697
8903
|
|
|
8698
8904
|
/**
|
|
8699
|
-
|
|
8700
|
-
|
|
8701
|
-
|
|
8702
|
-
|
|
8703
|
-
|
|
8905
|
+
* @summary Enables the statistics on the metrics that are related to WhatsApp.
|
|
8906
|
+
*
|
|
8907
|
+
* @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.
|
|
8908
|
+
*
|
|
8909
|
+
* @param request EnableWhatsappROIMetricRequest
|
|
8910
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8911
|
+
* @return EnableWhatsappROIMetricResponse
|
|
8704
8912
|
*/
|
|
8705
8913
|
async enableWhatsappROIMetricWithOptions(request: EnableWhatsappROIMetricRequest, runtime: $Util.RuntimeOptions): Promise<EnableWhatsappROIMetricResponse> {
|
|
8706
8914
|
Util.validateModel(request);
|
|
@@ -8731,10 +8939,12 @@ export default class Client extends OpenApi {
|
|
|
8731
8939
|
}
|
|
8732
8940
|
|
|
8733
8941
|
/**
|
|
8734
|
-
|
|
8735
|
-
|
|
8736
|
-
|
|
8737
|
-
|
|
8942
|
+
* @summary Enables the statistics on the metrics that are related to WhatsApp.
|
|
8943
|
+
*
|
|
8944
|
+
* @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.
|
|
8945
|
+
*
|
|
8946
|
+
* @param request EnableWhatsappROIMetricRequest
|
|
8947
|
+
* @return EnableWhatsappROIMetricResponse
|
|
8738
8948
|
*/
|
|
8739
8949
|
async enableWhatsappROIMetric(request: EnableWhatsappROIMetricRequest): Promise<EnableWhatsappROIMetricResponse> {
|
|
8740
8950
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8742,11 +8952,13 @@ export default class Client extends OpenApi {
|
|
|
8742
8952
|
}
|
|
8743
8953
|
|
|
8744
8954
|
/**
|
|
8745
|
-
|
|
8746
|
-
|
|
8747
|
-
|
|
8748
|
-
|
|
8749
|
-
|
|
8955
|
+
* @summary Queries the number of messages that are sent by using a phone number by a specific metric.
|
|
8956
|
+
*
|
|
8957
|
+
* @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.
|
|
8958
|
+
*
|
|
8959
|
+
* @param request GetChatappPhoneNumberMetricRequest
|
|
8960
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8961
|
+
* @return GetChatappPhoneNumberMetricResponse
|
|
8750
8962
|
*/
|
|
8751
8963
|
async getChatappPhoneNumberMetricWithOptions(request: GetChatappPhoneNumberMetricRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappPhoneNumberMetricResponse> {
|
|
8752
8964
|
Util.validateModel(request);
|
|
@@ -8793,10 +9005,12 @@ export default class Client extends OpenApi {
|
|
|
8793
9005
|
}
|
|
8794
9006
|
|
|
8795
9007
|
/**
|
|
8796
|
-
|
|
8797
|
-
|
|
8798
|
-
|
|
8799
|
-
|
|
9008
|
+
* @summary Queries the number of messages that are sent by using a phone number by a specific metric.
|
|
9009
|
+
*
|
|
9010
|
+
* @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.
|
|
9011
|
+
*
|
|
9012
|
+
* @param request GetChatappPhoneNumberMetricRequest
|
|
9013
|
+
* @return GetChatappPhoneNumberMetricResponse
|
|
8800
9014
|
*/
|
|
8801
9015
|
async getChatappPhoneNumberMetric(request: GetChatappPhoneNumberMetricRequest): Promise<GetChatappPhoneNumberMetricResponse> {
|
|
8802
9016
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8804,12 +9018,14 @@ export default class Client extends OpenApi {
|
|
|
8804
9018
|
}
|
|
8805
9019
|
|
|
8806
9020
|
/**
|
|
8807
|
-
|
|
8808
|
-
|
|
8809
|
-
|
|
8810
|
-
|
|
8811
|
-
|
|
8812
|
-
|
|
9021
|
+
* @summary Queries the information of a message template.
|
|
9022
|
+
*
|
|
9023
|
+
* @description ### QPS limit
|
|
9024
|
+
* 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.
|
|
9025
|
+
*
|
|
9026
|
+
* @param request GetChatappTemplateDetailRequest
|
|
9027
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9028
|
+
* @return GetChatappTemplateDetailResponse
|
|
8813
9029
|
*/
|
|
8814
9030
|
async getChatappTemplateDetailWithOptions(request: GetChatappTemplateDetailRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappTemplateDetailResponse> {
|
|
8815
9031
|
Util.validateModel(request);
|
|
@@ -8860,11 +9076,13 @@ export default class Client extends OpenApi {
|
|
|
8860
9076
|
}
|
|
8861
9077
|
|
|
8862
9078
|
/**
|
|
8863
|
-
|
|
8864
|
-
|
|
8865
|
-
|
|
8866
|
-
|
|
8867
|
-
|
|
9079
|
+
* @summary Queries the information of a message template.
|
|
9080
|
+
*
|
|
9081
|
+
* @description ### QPS limit
|
|
9082
|
+
* 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.
|
|
9083
|
+
*
|
|
9084
|
+
* @param request GetChatappTemplateDetailRequest
|
|
9085
|
+
* @return GetChatappTemplateDetailResponse
|
|
8868
9086
|
*/
|
|
8869
9087
|
async getChatappTemplateDetail(request: GetChatappTemplateDetailRequest): Promise<GetChatappTemplateDetailResponse> {
|
|
8870
9088
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8872,11 +9090,13 @@ export default class Client extends OpenApi {
|
|
|
8872
9090
|
}
|
|
8873
9091
|
|
|
8874
9092
|
/**
|
|
8875
|
-
|
|
8876
|
-
|
|
8877
|
-
|
|
8878
|
-
|
|
8879
|
-
|
|
9093
|
+
* @summary Queries the metrics about a marketing template.
|
|
9094
|
+
*
|
|
9095
|
+
* @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.
|
|
9096
|
+
*
|
|
9097
|
+
* @param request GetChatappTemplateMetricRequest
|
|
9098
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9099
|
+
* @return GetChatappTemplateMetricResponse
|
|
8880
9100
|
*/
|
|
8881
9101
|
async getChatappTemplateMetricWithOptions(request: GetChatappTemplateMetricRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappTemplateMetricResponse> {
|
|
8882
9102
|
Util.validateModel(request);
|
|
@@ -8931,10 +9151,12 @@ export default class Client extends OpenApi {
|
|
|
8931
9151
|
}
|
|
8932
9152
|
|
|
8933
9153
|
/**
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
9154
|
+
* @summary Queries the metrics about a marketing template.
|
|
9155
|
+
*
|
|
9156
|
+
* @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.
|
|
9157
|
+
*
|
|
9158
|
+
* @param request GetChatappTemplateMetricRequest
|
|
9159
|
+
* @return GetChatappTemplateMetricResponse
|
|
8938
9160
|
*/
|
|
8939
9161
|
async getChatappTemplateMetric(request: GetChatappTemplateMetricRequest): Promise<GetChatappTemplateMetricResponse> {
|
|
8940
9162
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8942,11 +9164,13 @@ export default class Client extends OpenApi {
|
|
|
8942
9164
|
}
|
|
8943
9165
|
|
|
8944
9166
|
/**
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
|
|
9167
|
+
* @summary Obtains the authentication information that is used to upload a file.
|
|
9168
|
+
*
|
|
9169
|
+
* @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.
|
|
9170
|
+
*
|
|
9171
|
+
* @param request GetChatappUploadAuthorizationRequest
|
|
9172
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9173
|
+
* @return GetChatappUploadAuthorizationResponse
|
|
8950
9174
|
*/
|
|
8951
9175
|
async getChatappUploadAuthorizationWithOptions(request: GetChatappUploadAuthorizationRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappUploadAuthorizationResponse> {
|
|
8952
9176
|
Util.validateModel(request);
|
|
@@ -8973,10 +9197,12 @@ export default class Client extends OpenApi {
|
|
|
8973
9197
|
}
|
|
8974
9198
|
|
|
8975
9199
|
/**
|
|
8976
|
-
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
|
|
9200
|
+
* @summary Obtains the authentication information that is used to upload a file.
|
|
9201
|
+
*
|
|
9202
|
+
* @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.
|
|
9203
|
+
*
|
|
9204
|
+
* @param request GetChatappUploadAuthorizationRequest
|
|
9205
|
+
* @return GetChatappUploadAuthorizationResponse
|
|
8980
9206
|
*/
|
|
8981
9207
|
async getChatappUploadAuthorization(request: GetChatappUploadAuthorizationRequest): Promise<GetChatappUploadAuthorizationResponse> {
|
|
8982
9208
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -8984,11 +9210,13 @@ export default class Client extends OpenApi {
|
|
|
8984
9210
|
}
|
|
8985
9211
|
|
|
8986
9212
|
/**
|
|
8987
|
-
|
|
8988
|
-
|
|
8989
|
-
|
|
8990
|
-
|
|
8991
|
-
|
|
9213
|
+
* @summary Obtains a verification code.
|
|
9214
|
+
*
|
|
9215
|
+
* @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.
|
|
9216
|
+
*
|
|
9217
|
+
* @param request GetChatappVerifyCodeRequest
|
|
9218
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9219
|
+
* @return GetChatappVerifyCodeResponse
|
|
8992
9220
|
*/
|
|
8993
9221
|
async getChatappVerifyCodeWithOptions(request: GetChatappVerifyCodeRequest, runtime: $Util.RuntimeOptions): Promise<GetChatappVerifyCodeResponse> {
|
|
8994
9222
|
Util.validateModel(request);
|
|
@@ -9027,10 +9255,12 @@ export default class Client extends OpenApi {
|
|
|
9027
9255
|
}
|
|
9028
9256
|
|
|
9029
9257
|
/**
|
|
9030
|
-
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
|
-
|
|
9258
|
+
* @summary Obtains a verification code.
|
|
9259
|
+
*
|
|
9260
|
+
* @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.
|
|
9261
|
+
*
|
|
9262
|
+
* @param request GetChatappVerifyCodeRequest
|
|
9263
|
+
* @return GetChatappVerifyCodeResponse
|
|
9034
9264
|
*/
|
|
9035
9265
|
async getChatappVerifyCode(request: GetChatappVerifyCodeRequest): Promise<GetChatappVerifyCodeResponse> {
|
|
9036
9266
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9038,11 +9268,13 @@ export default class Client extends OpenApi {
|
|
|
9038
9268
|
}
|
|
9039
9269
|
|
|
9040
9270
|
/**
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9271
|
+
* @summary Queries the business settings of a phone number.
|
|
9272
|
+
*
|
|
9273
|
+
* @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.
|
|
9274
|
+
*
|
|
9275
|
+
* @param request GetCommerceSettingRequest
|
|
9276
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9277
|
+
* @return GetCommerceSettingResponse
|
|
9046
9278
|
*/
|
|
9047
9279
|
async getCommerceSettingWithOptions(request: GetCommerceSettingRequest, runtime: $Util.RuntimeOptions): Promise<GetCommerceSettingResponse> {
|
|
9048
9280
|
Util.validateModel(request);
|
|
@@ -9073,10 +9305,12 @@ export default class Client extends OpenApi {
|
|
|
9073
9305
|
}
|
|
9074
9306
|
|
|
9075
9307
|
/**
|
|
9076
|
-
|
|
9077
|
-
|
|
9078
|
-
|
|
9079
|
-
|
|
9308
|
+
* @summary Queries the business settings of a phone number.
|
|
9309
|
+
*
|
|
9310
|
+
* @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.
|
|
9311
|
+
*
|
|
9312
|
+
* @param request GetCommerceSettingRequest
|
|
9313
|
+
* @return GetCommerceSettingResponse
|
|
9080
9314
|
*/
|
|
9081
9315
|
async getCommerceSetting(request: GetCommerceSettingRequest): Promise<GetCommerceSettingResponse> {
|
|
9082
9316
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9084,11 +9318,13 @@ export default class Client extends OpenApi {
|
|
|
9084
9318
|
}
|
|
9085
9319
|
|
|
9086
9320
|
/**
|
|
9087
|
-
|
|
9088
|
-
|
|
9089
|
-
|
|
9090
|
-
|
|
9091
|
-
|
|
9321
|
+
* @summary Queries the information about a Flow.
|
|
9322
|
+
*
|
|
9323
|
+
* @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.
|
|
9324
|
+
*
|
|
9325
|
+
* @param request GetFlowRequest
|
|
9326
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9327
|
+
* @return GetFlowResponse
|
|
9092
9328
|
*/
|
|
9093
9329
|
async getFlowWithOptions(request: GetFlowRequest, runtime: $Util.RuntimeOptions): Promise<GetFlowResponse> {
|
|
9094
9330
|
Util.validateModel(request);
|
|
@@ -9119,16 +9355,25 @@ export default class Client extends OpenApi {
|
|
|
9119
9355
|
}
|
|
9120
9356
|
|
|
9121
9357
|
/**
|
|
9122
|
-
|
|
9123
|
-
|
|
9124
|
-
|
|
9125
|
-
|
|
9358
|
+
* @summary Queries the information about a Flow.
|
|
9359
|
+
*
|
|
9360
|
+
* @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.
|
|
9361
|
+
*
|
|
9362
|
+
* @param request GetFlowRequest
|
|
9363
|
+
* @return GetFlowResponse
|
|
9126
9364
|
*/
|
|
9127
9365
|
async getFlow(request: GetFlowRequest): Promise<GetFlowResponse> {
|
|
9128
9366
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9129
9367
|
return await this.getFlowWithOptions(request, runtime);
|
|
9130
9368
|
}
|
|
9131
9369
|
|
|
9370
|
+
/**
|
|
9371
|
+
* @summary 获取flow的JSON文件
|
|
9372
|
+
*
|
|
9373
|
+
* @param request GetFlowJSONAssestRequest
|
|
9374
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9375
|
+
* @return GetFlowJSONAssestResponse
|
|
9376
|
+
*/
|
|
9132
9377
|
async getFlowJSONAssestWithOptions(request: GetFlowJSONAssestRequest, runtime: $Util.RuntimeOptions): Promise<GetFlowJSONAssestResponse> {
|
|
9133
9378
|
Util.validateModel(request);
|
|
9134
9379
|
let body : {[key: string ]: any} = { };
|
|
@@ -9157,17 +9402,25 @@ export default class Client extends OpenApi {
|
|
|
9157
9402
|
return $tea.cast<GetFlowJSONAssestResponse>(await this.callApi(params, req, runtime), new GetFlowJSONAssestResponse({}));
|
|
9158
9403
|
}
|
|
9159
9404
|
|
|
9405
|
+
/**
|
|
9406
|
+
* @summary 获取flow的JSON文件
|
|
9407
|
+
*
|
|
9408
|
+
* @param request GetFlowJSONAssestRequest
|
|
9409
|
+
* @return GetFlowJSONAssestResponse
|
|
9410
|
+
*/
|
|
9160
9411
|
async getFlowJSONAssest(request: GetFlowJSONAssestRequest): Promise<GetFlowJSONAssestResponse> {
|
|
9161
9412
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9162
9413
|
return await this.getFlowJSONAssestWithOptions(request, runtime);
|
|
9163
9414
|
}
|
|
9164
9415
|
|
|
9165
9416
|
/**
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
|
-
|
|
9169
|
-
|
|
9170
|
-
|
|
9417
|
+
* @summary Obtains the preview URL of a Flow.
|
|
9418
|
+
*
|
|
9419
|
+
* @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.
|
|
9420
|
+
*
|
|
9421
|
+
* @param request GetFlowPreviewUrlRequest
|
|
9422
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9423
|
+
* @return GetFlowPreviewUrlResponse
|
|
9171
9424
|
*/
|
|
9172
9425
|
async getFlowPreviewUrlWithOptions(request: GetFlowPreviewUrlRequest, runtime: $Util.RuntimeOptions): Promise<GetFlowPreviewUrlResponse> {
|
|
9173
9426
|
Util.validateModel(request);
|
|
@@ -9198,10 +9451,12 @@ export default class Client extends OpenApi {
|
|
|
9198
9451
|
}
|
|
9199
9452
|
|
|
9200
9453
|
/**
|
|
9201
|
-
|
|
9202
|
-
|
|
9203
|
-
|
|
9204
|
-
|
|
9454
|
+
* @summary Obtains the preview URL of a Flow.
|
|
9455
|
+
*
|
|
9456
|
+
* @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.
|
|
9457
|
+
*
|
|
9458
|
+
* @param request GetFlowPreviewUrlRequest
|
|
9459
|
+
* @return GetFlowPreviewUrlResponse
|
|
9205
9460
|
*/
|
|
9206
9461
|
async getFlowPreviewUrl(request: GetFlowPreviewUrlRequest): Promise<GetFlowPreviewUrlResponse> {
|
|
9207
9462
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9209,11 +9464,13 @@ export default class Client extends OpenApi {
|
|
|
9209
9464
|
}
|
|
9210
9465
|
|
|
9211
9466
|
/**
|
|
9212
|
-
|
|
9213
|
-
|
|
9214
|
-
|
|
9215
|
-
|
|
9216
|
-
|
|
9467
|
+
* @summary The phone number.
|
|
9468
|
+
*
|
|
9469
|
+
* @description The ID of the phone number.
|
|
9470
|
+
*
|
|
9471
|
+
* @param request GetMigrationVerifyCodeRequest
|
|
9472
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9473
|
+
* @return GetMigrationVerifyCodeResponse
|
|
9217
9474
|
*/
|
|
9218
9475
|
async getMigrationVerifyCodeWithOptions(request: GetMigrationVerifyCodeRequest, runtime: $Util.RuntimeOptions): Promise<GetMigrationVerifyCodeResponse> {
|
|
9219
9476
|
Util.validateModel(request);
|
|
@@ -9252,16 +9509,25 @@ export default class Client extends OpenApi {
|
|
|
9252
9509
|
}
|
|
9253
9510
|
|
|
9254
9511
|
/**
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9258
|
-
|
|
9512
|
+
* @summary The phone number.
|
|
9513
|
+
*
|
|
9514
|
+
* @description The ID of the phone number.
|
|
9515
|
+
*
|
|
9516
|
+
* @param request GetMigrationVerifyCodeRequest
|
|
9517
|
+
* @return GetMigrationVerifyCodeResponse
|
|
9259
9518
|
*/
|
|
9260
9519
|
async getMigrationVerifyCode(request: GetMigrationVerifyCodeRequest): Promise<GetMigrationVerifyCodeResponse> {
|
|
9261
9520
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9262
9521
|
return await this.getMigrationVerifyCodeWithOptions(request, runtime);
|
|
9263
9522
|
}
|
|
9264
9523
|
|
|
9524
|
+
/**
|
|
9525
|
+
* @summary 根据Code获取权限
|
|
9526
|
+
*
|
|
9527
|
+
* @param tmpReq GetPermissionByCodeRequest
|
|
9528
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9529
|
+
* @return GetPermissionByCodeResponse
|
|
9530
|
+
*/
|
|
9265
9531
|
async getPermissionByCodeWithOptions(tmpReq: GetPermissionByCodeRequest, runtime: $Util.RuntimeOptions): Promise<GetPermissionByCodeResponse> {
|
|
9266
9532
|
Util.validateModel(tmpReq);
|
|
9267
9533
|
let request = new GetPermissionByCodeShrinkRequest({ });
|
|
@@ -9300,11 +9566,24 @@ export default class Client extends OpenApi {
|
|
|
9300
9566
|
return $tea.cast<GetPermissionByCodeResponse>(await this.callApi(params, req, runtime), new GetPermissionByCodeResponse({}));
|
|
9301
9567
|
}
|
|
9302
9568
|
|
|
9569
|
+
/**
|
|
9570
|
+
* @summary 根据Code获取权限
|
|
9571
|
+
*
|
|
9572
|
+
* @param request GetPermissionByCodeRequest
|
|
9573
|
+
* @return GetPermissionByCodeResponse
|
|
9574
|
+
*/
|
|
9303
9575
|
async getPermissionByCode(request: GetPermissionByCodeRequest): Promise<GetPermissionByCodeResponse> {
|
|
9304
9576
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9305
9577
|
return await this.getPermissionByCodeWithOptions(request, runtime);
|
|
9306
9578
|
}
|
|
9307
9579
|
|
|
9580
|
+
/**
|
|
9581
|
+
* @summary 获取号码的公钥
|
|
9582
|
+
*
|
|
9583
|
+
* @param request GetPhoneEncryptionPublicKeyRequest
|
|
9584
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9585
|
+
* @return GetPhoneEncryptionPublicKeyResponse
|
|
9586
|
+
*/
|
|
9308
9587
|
async getPhoneEncryptionPublicKeyWithOptions(request: GetPhoneEncryptionPublicKeyRequest, runtime: $Util.RuntimeOptions): Promise<GetPhoneEncryptionPublicKeyResponse> {
|
|
9309
9588
|
Util.validateModel(request);
|
|
9310
9589
|
let body : {[key: string ]: any} = { };
|
|
@@ -9333,17 +9612,25 @@ export default class Client extends OpenApi {
|
|
|
9333
9612
|
return $tea.cast<GetPhoneEncryptionPublicKeyResponse>(await this.callApi(params, req, runtime), new GetPhoneEncryptionPublicKeyResponse({}));
|
|
9334
9613
|
}
|
|
9335
9614
|
|
|
9615
|
+
/**
|
|
9616
|
+
* @summary 获取号码的公钥
|
|
9617
|
+
*
|
|
9618
|
+
* @param request GetPhoneEncryptionPublicKeyRequest
|
|
9619
|
+
* @return GetPhoneEncryptionPublicKeyResponse
|
|
9620
|
+
*/
|
|
9336
9621
|
async getPhoneEncryptionPublicKey(request: GetPhoneEncryptionPublicKeyRequest): Promise<GetPhoneEncryptionPublicKeyResponse> {
|
|
9337
9622
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9338
9623
|
return await this.getPhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
9339
9624
|
}
|
|
9340
9625
|
|
|
9341
9626
|
/**
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9627
|
+
* @summary Obtains the verification status of a phone number.
|
|
9628
|
+
*
|
|
9629
|
+
* @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.
|
|
9630
|
+
*
|
|
9631
|
+
* @param request GetPhoneNumberVerificationStatusRequest
|
|
9632
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9633
|
+
* @return GetPhoneNumberVerificationStatusResponse
|
|
9347
9634
|
*/
|
|
9348
9635
|
async getPhoneNumberVerificationStatusWithOptions(request: GetPhoneNumberVerificationStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetPhoneNumberVerificationStatusResponse> {
|
|
9349
9636
|
Util.validateModel(request);
|
|
@@ -9374,10 +9661,12 @@ export default class Client extends OpenApi {
|
|
|
9374
9661
|
}
|
|
9375
9662
|
|
|
9376
9663
|
/**
|
|
9377
|
-
|
|
9378
|
-
|
|
9379
|
-
|
|
9380
|
-
|
|
9664
|
+
* @summary Obtains the verification status of a phone number.
|
|
9665
|
+
*
|
|
9666
|
+
* @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.
|
|
9667
|
+
*
|
|
9668
|
+
* @param request GetPhoneNumberVerificationStatusRequest
|
|
9669
|
+
* @return GetPhoneNumberVerificationStatusResponse
|
|
9381
9670
|
*/
|
|
9382
9671
|
async getPhoneNumberVerificationStatus(request: GetPhoneNumberVerificationStatusRequest): Promise<GetPhoneNumberVerificationStatusResponse> {
|
|
9383
9672
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9385,11 +9674,13 @@ export default class Client extends OpenApi {
|
|
|
9385
9674
|
}
|
|
9386
9675
|
|
|
9387
9676
|
/**
|
|
9388
|
-
|
|
9389
|
-
|
|
9390
|
-
|
|
9391
|
-
|
|
9392
|
-
|
|
9677
|
+
* @summary Obtains the ID of a pre-registered phone number used for embedded signup without the need to re-obtain a verification code.
|
|
9678
|
+
*
|
|
9679
|
+
* @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.
|
|
9680
|
+
*
|
|
9681
|
+
* @param request GetPreValidatePhoneIdRequest
|
|
9682
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9683
|
+
* @return GetPreValidatePhoneIdResponse
|
|
9393
9684
|
*/
|
|
9394
9685
|
async getPreValidatePhoneIdWithOptions(request: GetPreValidatePhoneIdRequest, runtime: $Util.RuntimeOptions): Promise<GetPreValidatePhoneIdResponse> {
|
|
9395
9686
|
Util.validateModel(request);
|
|
@@ -9420,10 +9711,12 @@ export default class Client extends OpenApi {
|
|
|
9420
9711
|
}
|
|
9421
9712
|
|
|
9422
9713
|
/**
|
|
9423
|
-
|
|
9424
|
-
|
|
9425
|
-
|
|
9426
|
-
|
|
9714
|
+
* @summary Obtains the ID of a pre-registered phone number used for embedded signup without the need to re-obtain a verification code.
|
|
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 GetPreValidatePhoneIdRequest
|
|
9719
|
+
* @return GetPreValidatePhoneIdResponse
|
|
9427
9720
|
*/
|
|
9428
9721
|
async getPreValidatePhoneId(request: GetPreValidatePhoneIdRequest): Promise<GetPreValidatePhoneIdResponse> {
|
|
9429
9722
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9431,11 +9724,13 @@ export default class Client extends OpenApi {
|
|
|
9431
9724
|
}
|
|
9432
9725
|
|
|
9433
9726
|
/**
|
|
9434
|
-
|
|
9435
|
-
|
|
9436
|
-
|
|
9437
|
-
|
|
9438
|
-
|
|
9727
|
+
* @summary Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
9728
|
+
*
|
|
9729
|
+
* @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.
|
|
9730
|
+
*
|
|
9731
|
+
* @param request GetWhatsappConnectionCatalogRequest
|
|
9732
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9733
|
+
* @return GetWhatsappConnectionCatalogResponse
|
|
9439
9734
|
*/
|
|
9440
9735
|
async getWhatsappConnectionCatalogWithOptions(request: GetWhatsappConnectionCatalogRequest, runtime: $Util.RuntimeOptions): Promise<GetWhatsappConnectionCatalogResponse> {
|
|
9441
9736
|
Util.validateModel(request);
|
|
@@ -9478,10 +9773,12 @@ export default class Client extends OpenApi {
|
|
|
9478
9773
|
}
|
|
9479
9774
|
|
|
9480
9775
|
/**
|
|
9481
|
-
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
|
|
9776
|
+
* @summary Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
9777
|
+
*
|
|
9778
|
+
* @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.
|
|
9779
|
+
*
|
|
9780
|
+
* @param request GetWhatsappConnectionCatalogRequest
|
|
9781
|
+
* @return GetWhatsappConnectionCatalogResponse
|
|
9485
9782
|
*/
|
|
9486
9783
|
async getWhatsappConnectionCatalog(request: GetWhatsappConnectionCatalogRequest): Promise<GetWhatsappConnectionCatalogResponse> {
|
|
9487
9784
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9489,11 +9786,13 @@ export default class Client extends OpenApi {
|
|
|
9489
9786
|
}
|
|
9490
9787
|
|
|
9491
9788
|
/**
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
|
|
9789
|
+
* @summary Obtains the application ID under the ISV account.
|
|
9790
|
+
*
|
|
9791
|
+
* @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.
|
|
9792
|
+
*
|
|
9793
|
+
* @param request IsvGetAppIdRequest
|
|
9794
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9795
|
+
* @return IsvGetAppIdResponse
|
|
9497
9796
|
*/
|
|
9498
9797
|
async isvGetAppIdWithOptions(request: IsvGetAppIdRequest, runtime: $Util.RuntimeOptions): Promise<IsvGetAppIdResponse> {
|
|
9499
9798
|
Util.validateModel(request);
|
|
@@ -9524,10 +9823,12 @@ export default class Client extends OpenApi {
|
|
|
9524
9823
|
}
|
|
9525
9824
|
|
|
9526
9825
|
/**
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9826
|
+
* @summary Obtains the application ID under the ISV account.
|
|
9827
|
+
*
|
|
9828
|
+
* @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.
|
|
9829
|
+
*
|
|
9830
|
+
* @param request IsvGetAppIdRequest
|
|
9831
|
+
* @return IsvGetAppIdResponse
|
|
9531
9832
|
*/
|
|
9532
9833
|
async isvGetAppId(request: IsvGetAppIdRequest): Promise<IsvGetAppIdResponse> {
|
|
9533
9834
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9535,12 +9836,14 @@ export default class Client extends OpenApi {
|
|
|
9535
9836
|
}
|
|
9536
9837
|
|
|
9537
9838
|
/**
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9839
|
+
* @summary Queries message templates.
|
|
9840
|
+
*
|
|
9841
|
+
* @description ### QPS limit
|
|
9842
|
+
* 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.
|
|
9843
|
+
*
|
|
9844
|
+
* @param tmpReq ListChatappTemplateRequest
|
|
9845
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9846
|
+
* @return ListChatappTemplateResponse
|
|
9544
9847
|
*/
|
|
9545
9848
|
async listChatappTemplateWithOptions(tmpReq: ListChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ListChatappTemplateResponse> {
|
|
9546
9849
|
Util.validateModel(tmpReq);
|
|
@@ -9555,6 +9858,10 @@ export default class Client extends OpenApi {
|
|
|
9555
9858
|
query["AuditStatus"] = request.auditStatus;
|
|
9556
9859
|
}
|
|
9557
9860
|
|
|
9861
|
+
if (!Util.isUnset(request.code)) {
|
|
9862
|
+
query["Code"] = request.code;
|
|
9863
|
+
}
|
|
9864
|
+
|
|
9558
9865
|
if (!Util.isUnset(request.custSpaceId)) {
|
|
9559
9866
|
query["CustSpaceId"] = request.custSpaceId;
|
|
9560
9867
|
}
|
|
@@ -9601,11 +9908,13 @@ export default class Client extends OpenApi {
|
|
|
9601
9908
|
}
|
|
9602
9909
|
|
|
9603
9910
|
/**
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
|
|
9607
|
-
|
|
9608
|
-
|
|
9911
|
+
* @summary Queries message templates.
|
|
9912
|
+
*
|
|
9913
|
+
* @description ### QPS limit
|
|
9914
|
+
* 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.
|
|
9915
|
+
*
|
|
9916
|
+
* @param request ListChatappTemplateRequest
|
|
9917
|
+
* @return ListChatappTemplateResponse
|
|
9609
9918
|
*/
|
|
9610
9919
|
async listChatappTemplate(request: ListChatappTemplateRequest): Promise<ListChatappTemplateResponse> {
|
|
9611
9920
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9613,11 +9922,13 @@ export default class Client extends OpenApi {
|
|
|
9613
9922
|
}
|
|
9614
9923
|
|
|
9615
9924
|
/**
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9925
|
+
* @summary Queries a list of Flows.
|
|
9926
|
+
*
|
|
9927
|
+
* @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.
|
|
9928
|
+
*
|
|
9929
|
+
* @param tmpReq ListFlowRequest
|
|
9930
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9931
|
+
* @return ListFlowResponse
|
|
9621
9932
|
*/
|
|
9622
9933
|
async listFlowWithOptions(tmpReq: ListFlowRequest, runtime: $Util.RuntimeOptions): Promise<ListFlowResponse> {
|
|
9623
9934
|
Util.validateModel(tmpReq);
|
|
@@ -9658,16 +9969,25 @@ export default class Client extends OpenApi {
|
|
|
9658
9969
|
}
|
|
9659
9970
|
|
|
9660
9971
|
/**
|
|
9661
|
-
|
|
9662
|
-
|
|
9663
|
-
|
|
9664
|
-
|
|
9972
|
+
* @summary Queries a list of Flows.
|
|
9973
|
+
*
|
|
9974
|
+
* @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.
|
|
9975
|
+
*
|
|
9976
|
+
* @param request ListFlowRequest
|
|
9977
|
+
* @return ListFlowResponse
|
|
9665
9978
|
*/
|
|
9666
9979
|
async listFlow(request: ListFlowRequest): Promise<ListFlowResponse> {
|
|
9667
9980
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9668
9981
|
return await this.listFlowWithOptions(request, runtime);
|
|
9669
9982
|
}
|
|
9670
9983
|
|
|
9984
|
+
/**
|
|
9985
|
+
* @summary 查询消息发送二维码
|
|
9986
|
+
*
|
|
9987
|
+
* @param request ListPhoneMessageQrdlRequest
|
|
9988
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9989
|
+
* @return ListPhoneMessageQrdlResponse
|
|
9990
|
+
*/
|
|
9671
9991
|
async listPhoneMessageQrdlWithOptions(request: ListPhoneMessageQrdlRequest, runtime: $Util.RuntimeOptions): Promise<ListPhoneMessageQrdlResponse> {
|
|
9672
9992
|
Util.validateModel(request);
|
|
9673
9993
|
let body : {[key: string ]: any} = { };
|
|
@@ -9696,17 +10016,25 @@ export default class Client extends OpenApi {
|
|
|
9696
10016
|
return $tea.cast<ListPhoneMessageQrdlResponse>(await this.callApi(params, req, runtime), new ListPhoneMessageQrdlResponse({}));
|
|
9697
10017
|
}
|
|
9698
10018
|
|
|
10019
|
+
/**
|
|
10020
|
+
* @summary 查询消息发送二维码
|
|
10021
|
+
*
|
|
10022
|
+
* @param request ListPhoneMessageQrdlRequest
|
|
10023
|
+
* @return ListPhoneMessageQrdlResponse
|
|
10024
|
+
*/
|
|
9699
10025
|
async listPhoneMessageQrdl(request: ListPhoneMessageQrdlRequest): Promise<ListPhoneMessageQrdlResponse> {
|
|
9700
10026
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9701
10027
|
return await this.listPhoneMessageQrdlWithOptions(request, runtime);
|
|
9702
10028
|
}
|
|
9703
10029
|
|
|
9704
10030
|
/**
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
|
|
9709
|
-
|
|
10031
|
+
* @summary Queries products in a product catalog.
|
|
10032
|
+
*
|
|
10033
|
+
* @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.
|
|
10034
|
+
*
|
|
10035
|
+
* @param request ListProductRequest
|
|
10036
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10037
|
+
* @return ListProductResponse
|
|
9710
10038
|
*/
|
|
9711
10039
|
async listProductWithOptions(request: ListProductRequest, runtime: $Util.RuntimeOptions): Promise<ListProductResponse> {
|
|
9712
10040
|
Util.validateModel(request);
|
|
@@ -9769,10 +10097,12 @@ export default class Client extends OpenApi {
|
|
|
9769
10097
|
}
|
|
9770
10098
|
|
|
9771
10099
|
/**
|
|
9772
|
-
|
|
9773
|
-
|
|
9774
|
-
|
|
9775
|
-
|
|
10100
|
+
* @summary Queries products in a product catalog.
|
|
10101
|
+
*
|
|
10102
|
+
* @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.
|
|
10103
|
+
*
|
|
10104
|
+
* @param request ListProductRequest
|
|
10105
|
+
* @return ListProductResponse
|
|
9776
10106
|
*/
|
|
9777
10107
|
async listProduct(request: ListProductRequest): Promise<ListProductResponse> {
|
|
9778
10108
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9780,11 +10110,13 @@ export default class Client extends OpenApi {
|
|
|
9780
10110
|
}
|
|
9781
10111
|
|
|
9782
10112
|
/**
|
|
9783
|
-
|
|
9784
|
-
|
|
9785
|
-
|
|
9786
|
-
|
|
9787
|
-
|
|
10113
|
+
* @summary Queries the product catalogs on the Business Manager platform of Meta.
|
|
10114
|
+
*
|
|
10115
|
+
* @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.
|
|
10116
|
+
*
|
|
10117
|
+
* @param request ListProductCatalogRequest
|
|
10118
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10119
|
+
* @return ListProductCatalogResponse
|
|
9788
10120
|
*/
|
|
9789
10121
|
async listProductCatalogWithOptions(request: ListProductCatalogRequest, runtime: $Util.RuntimeOptions): Promise<ListProductCatalogResponse> {
|
|
9790
10122
|
Util.validateModel(request);
|
|
@@ -9843,10 +10175,12 @@ export default class Client extends OpenApi {
|
|
|
9843
10175
|
}
|
|
9844
10176
|
|
|
9845
10177
|
/**
|
|
9846
|
-
|
|
9847
|
-
|
|
9848
|
-
|
|
9849
|
-
|
|
10178
|
+
* @summary Queries the product catalogs on the Business Manager platform of Meta.
|
|
10179
|
+
*
|
|
10180
|
+
* @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.
|
|
10181
|
+
*
|
|
10182
|
+
* @param request ListProductCatalogRequest
|
|
10183
|
+
* @return ListProductCatalogResponse
|
|
9850
10184
|
*/
|
|
9851
10185
|
async listProductCatalog(request: ListProductCatalogRequest): Promise<ListProductCatalogResponse> {
|
|
9852
10186
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9854,11 +10188,13 @@ export default class Client extends OpenApi {
|
|
|
9854
10188
|
}
|
|
9855
10189
|
|
|
9856
10190
|
/**
|
|
9857
|
-
|
|
9858
|
-
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
|
|
10191
|
+
* @summary The code of the message template.
|
|
10192
|
+
*
|
|
10193
|
+
* @description The name of the message template.
|
|
10194
|
+
*
|
|
10195
|
+
* @param tmpReq ModifyChatappTemplateRequest
|
|
10196
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10197
|
+
* @return ModifyChatappTemplateResponse
|
|
9862
10198
|
*/
|
|
9863
10199
|
async modifyChatappTemplateWithOptions(tmpReq: ModifyChatappTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ModifyChatappTemplateResponse> {
|
|
9864
10200
|
Util.validateModel(tmpReq);
|
|
@@ -9935,10 +10271,12 @@ export default class Client extends OpenApi {
|
|
|
9935
10271
|
}
|
|
9936
10272
|
|
|
9937
10273
|
/**
|
|
9938
|
-
|
|
9939
|
-
|
|
9940
|
-
|
|
9941
|
-
|
|
10274
|
+
* @summary The code of the message template.
|
|
10275
|
+
*
|
|
10276
|
+
* @description The name of the message template.
|
|
10277
|
+
*
|
|
10278
|
+
* @param request ModifyChatappTemplateRequest
|
|
10279
|
+
* @return ModifyChatappTemplateResponse
|
|
9942
10280
|
*/
|
|
9943
10281
|
async modifyChatappTemplate(request: ModifyChatappTemplateRequest): Promise<ModifyChatappTemplateResponse> {
|
|
9944
10282
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -9946,11 +10284,13 @@ export default class Client extends OpenApi {
|
|
|
9946
10284
|
}
|
|
9947
10285
|
|
|
9948
10286
|
/**
|
|
9949
|
-
|
|
9950
|
-
|
|
9951
|
-
|
|
9952
|
-
|
|
9953
|
-
|
|
10287
|
+
* @summary Modifies the basic information about a Flow.
|
|
10288
|
+
*
|
|
10289
|
+
* @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.
|
|
10290
|
+
*
|
|
10291
|
+
* @param tmpReq ModifyFlowRequest
|
|
10292
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10293
|
+
* @return ModifyFlowResponse
|
|
9954
10294
|
*/
|
|
9955
10295
|
async modifyFlowWithOptions(tmpReq: ModifyFlowRequest, runtime: $Util.RuntimeOptions): Promise<ModifyFlowResponse> {
|
|
9956
10296
|
Util.validateModel(tmpReq);
|
|
@@ -9995,10 +10335,12 @@ export default class Client extends OpenApi {
|
|
|
9995
10335
|
}
|
|
9996
10336
|
|
|
9997
10337
|
/**
|
|
9998
|
-
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
|
|
10338
|
+
* @summary Modifies the basic information about a Flow.
|
|
10339
|
+
*
|
|
10340
|
+
* @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.
|
|
10341
|
+
*
|
|
10342
|
+
* @param request ModifyFlowRequest
|
|
10343
|
+
* @return ModifyFlowResponse
|
|
10002
10344
|
*/
|
|
10003
10345
|
async modifyFlow(request: ModifyFlowRequest): Promise<ModifyFlowResponse> {
|
|
10004
10346
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10006,11 +10348,13 @@ export default class Client extends OpenApi {
|
|
|
10006
10348
|
}
|
|
10007
10349
|
|
|
10008
10350
|
/**
|
|
10009
|
-
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10351
|
+
* @summary The ID of the request.
|
|
10352
|
+
*
|
|
10353
|
+
* @description ModifyPhoneBusinessProfile
|
|
10354
|
+
*
|
|
10355
|
+
* @param tmpReq ModifyPhoneBusinessProfileRequest
|
|
10356
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10357
|
+
* @return ModifyPhoneBusinessProfileResponse
|
|
10014
10358
|
*/
|
|
10015
10359
|
async modifyPhoneBusinessProfileWithOptions(tmpReq: ModifyPhoneBusinessProfileRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPhoneBusinessProfileResponse> {
|
|
10016
10360
|
Util.validateModel(tmpReq);
|
|
@@ -10075,10 +10419,12 @@ export default class Client extends OpenApi {
|
|
|
10075
10419
|
}
|
|
10076
10420
|
|
|
10077
10421
|
/**
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10422
|
+
* @summary The ID of the request.
|
|
10423
|
+
*
|
|
10424
|
+
* @description ModifyPhoneBusinessProfile
|
|
10425
|
+
*
|
|
10426
|
+
* @param request ModifyPhoneBusinessProfileRequest
|
|
10427
|
+
* @return ModifyPhoneBusinessProfileResponse
|
|
10082
10428
|
*/
|
|
10083
10429
|
async modifyPhoneBusinessProfile(request: ModifyPhoneBusinessProfileRequest): Promise<ModifyPhoneBusinessProfileResponse> {
|
|
10084
10430
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10086,11 +10432,13 @@ export default class Client extends OpenApi {
|
|
|
10086
10432
|
}
|
|
10087
10433
|
|
|
10088
10434
|
/**
|
|
10089
|
-
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
|
|
10093
|
-
|
|
10435
|
+
* @summary Publishes a Flow.
|
|
10436
|
+
*
|
|
10437
|
+
* @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.
|
|
10438
|
+
*
|
|
10439
|
+
* @param request PublishFlowRequest
|
|
10440
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10441
|
+
* @return PublishFlowResponse
|
|
10094
10442
|
*/
|
|
10095
10443
|
async publishFlowWithOptions(request: PublishFlowRequest, runtime: $Util.RuntimeOptions): Promise<PublishFlowResponse> {
|
|
10096
10444
|
Util.validateModel(request);
|
|
@@ -10121,10 +10469,12 @@ export default class Client extends OpenApi {
|
|
|
10121
10469
|
}
|
|
10122
10470
|
|
|
10123
10471
|
/**
|
|
10124
|
-
|
|
10125
|
-
|
|
10126
|
-
|
|
10127
|
-
|
|
10472
|
+
* @summary Publishes a Flow.
|
|
10473
|
+
*
|
|
10474
|
+
* @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.
|
|
10475
|
+
*
|
|
10476
|
+
* @param request PublishFlowRequest
|
|
10477
|
+
* @return PublishFlowResponse
|
|
10128
10478
|
*/
|
|
10129
10479
|
async publishFlow(request: PublishFlowRequest): Promise<PublishFlowResponse> {
|
|
10130
10480
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10132,11 +10482,13 @@ export default class Client extends OpenApi {
|
|
|
10132
10482
|
}
|
|
10133
10483
|
|
|
10134
10484
|
/**
|
|
10135
|
-
|
|
10136
|
-
|
|
10137
|
-
|
|
10138
|
-
|
|
10139
|
-
|
|
10485
|
+
* @summary Query the WhatsApp Business account you associate with ChatApp.
|
|
10486
|
+
*
|
|
10487
|
+
* @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.
|
|
10488
|
+
*
|
|
10489
|
+
* @param request QueryChatappBindWabaRequest
|
|
10490
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10491
|
+
* @return QueryChatappBindWabaResponse
|
|
10140
10492
|
*/
|
|
10141
10493
|
async queryChatappBindWabaWithOptions(request: QueryChatappBindWabaRequest, runtime: $Util.RuntimeOptions): Promise<QueryChatappBindWabaResponse> {
|
|
10142
10494
|
Util.validateModel(request);
|
|
@@ -10149,6 +10501,18 @@ export default class Client extends OpenApi {
|
|
|
10149
10501
|
query["IsvCode"] = request.isvCode;
|
|
10150
10502
|
}
|
|
10151
10503
|
|
|
10504
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
10505
|
+
query["OwnerId"] = request.ownerId;
|
|
10506
|
+
}
|
|
10507
|
+
|
|
10508
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
10509
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
10510
|
+
}
|
|
10511
|
+
|
|
10512
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
10513
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
10514
|
+
}
|
|
10515
|
+
|
|
10152
10516
|
let req = new $OpenApi.OpenApiRequest({
|
|
10153
10517
|
query: OpenApiUtil.query(query),
|
|
10154
10518
|
});
|
|
@@ -10167,10 +10531,12 @@ export default class Client extends OpenApi {
|
|
|
10167
10531
|
}
|
|
10168
10532
|
|
|
10169
10533
|
/**
|
|
10170
|
-
|
|
10171
|
-
|
|
10172
|
-
|
|
10173
|
-
|
|
10534
|
+
* @summary Query the WhatsApp Business account you associate with ChatApp.
|
|
10535
|
+
*
|
|
10536
|
+
* @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.
|
|
10537
|
+
*
|
|
10538
|
+
* @param request QueryChatappBindWabaRequest
|
|
10539
|
+
* @return QueryChatappBindWabaResponse
|
|
10174
10540
|
*/
|
|
10175
10541
|
async queryChatappBindWaba(request: QueryChatappBindWabaRequest): Promise<QueryChatappBindWabaResponse> {
|
|
10176
10542
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10178,11 +10544,13 @@ export default class Client extends OpenApi {
|
|
|
10178
10544
|
}
|
|
10179
10545
|
|
|
10180
10546
|
/**
|
|
10181
|
-
|
|
10182
|
-
|
|
10183
|
-
|
|
10184
|
-
|
|
10185
|
-
|
|
10547
|
+
* @summary Queries phone numbers that receive messages and statuses of these numbers under a specified user.
|
|
10548
|
+
*
|
|
10549
|
+
* @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.
|
|
10550
|
+
*
|
|
10551
|
+
* @param request QueryChatappPhoneNumbersRequest
|
|
10552
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10553
|
+
* @return QueryChatappPhoneNumbersResponse
|
|
10186
10554
|
*/
|
|
10187
10555
|
async queryChatappPhoneNumbersWithOptions(request: QueryChatappPhoneNumbersRequest, runtime: $Util.RuntimeOptions): Promise<QueryChatappPhoneNumbersResponse> {
|
|
10188
10556
|
Util.validateModel(request);
|
|
@@ -10217,10 +10585,12 @@ export default class Client extends OpenApi {
|
|
|
10217
10585
|
}
|
|
10218
10586
|
|
|
10219
10587
|
/**
|
|
10220
|
-
|
|
10221
|
-
|
|
10222
|
-
|
|
10223
|
-
|
|
10588
|
+
* @summary Queries phone numbers that receive messages and statuses of these numbers under a specified user.
|
|
10589
|
+
*
|
|
10590
|
+
* @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.
|
|
10591
|
+
*
|
|
10592
|
+
* @param request QueryChatappPhoneNumbersRequest
|
|
10593
|
+
* @return QueryChatappPhoneNumbersResponse
|
|
10224
10594
|
*/
|
|
10225
10595
|
async queryChatappPhoneNumbers(request: QueryChatappPhoneNumbersRequest): Promise<QueryChatappPhoneNumbersResponse> {
|
|
10226
10596
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10228,11 +10598,13 @@ export default class Client extends OpenApi {
|
|
|
10228
10598
|
}
|
|
10229
10599
|
|
|
10230
10600
|
/**
|
|
10231
|
-
|
|
10232
|
-
|
|
10233
|
-
|
|
10234
|
-
|
|
10235
|
-
|
|
10601
|
+
* @summary Queries the business information of the account to which a specified phone number is bound.
|
|
10602
|
+
*
|
|
10603
|
+
* @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.
|
|
10604
|
+
*
|
|
10605
|
+
* @param request QueryPhoneBusinessProfileRequest
|
|
10606
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10607
|
+
* @return QueryPhoneBusinessProfileResponse
|
|
10236
10608
|
*/
|
|
10237
10609
|
async queryPhoneBusinessProfileWithOptions(request: QueryPhoneBusinessProfileRequest, runtime: $Util.RuntimeOptions): Promise<QueryPhoneBusinessProfileResponse> {
|
|
10238
10610
|
Util.validateModel(request);
|
|
@@ -10263,10 +10635,12 @@ export default class Client extends OpenApi {
|
|
|
10263
10635
|
}
|
|
10264
10636
|
|
|
10265
10637
|
/**
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10638
|
+
* @summary Queries the business information of the account to which a specified phone number is bound.
|
|
10639
|
+
*
|
|
10640
|
+
* @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.
|
|
10641
|
+
*
|
|
10642
|
+
* @param request QueryPhoneBusinessProfileRequest
|
|
10643
|
+
* @return QueryPhoneBusinessProfileResponse
|
|
10270
10644
|
*/
|
|
10271
10645
|
async queryPhoneBusinessProfile(request: QueryPhoneBusinessProfileRequest): Promise<QueryPhoneBusinessProfileResponse> {
|
|
10272
10646
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10274,11 +10648,13 @@ export default class Client extends OpenApi {
|
|
|
10274
10648
|
}
|
|
10275
10649
|
|
|
10276
10650
|
/**
|
|
10277
|
-
|
|
10278
|
-
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
10651
|
+
* @summary Queries the business information about the WhatsApp Business account (WABA).
|
|
10652
|
+
*
|
|
10653
|
+
* @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.
|
|
10654
|
+
*
|
|
10655
|
+
* @param request QueryWabaBusinessInfoRequest
|
|
10656
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10657
|
+
* @return QueryWabaBusinessInfoResponse
|
|
10282
10658
|
*/
|
|
10283
10659
|
async queryWabaBusinessInfoWithOptions(request: QueryWabaBusinessInfoRequest, runtime: $Util.RuntimeOptions): Promise<QueryWabaBusinessInfoResponse> {
|
|
10284
10660
|
Util.validateModel(request);
|
|
@@ -10309,10 +10685,12 @@ export default class Client extends OpenApi {
|
|
|
10309
10685
|
}
|
|
10310
10686
|
|
|
10311
10687
|
/**
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
|
|
10688
|
+
* @summary Queries the business information about the WhatsApp Business account (WABA).
|
|
10689
|
+
*
|
|
10690
|
+
* @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.
|
|
10691
|
+
*
|
|
10692
|
+
* @param request QueryWabaBusinessInfoRequest
|
|
10693
|
+
* @return QueryWabaBusinessInfoResponse
|
|
10316
10694
|
*/
|
|
10317
10695
|
async queryWabaBusinessInfo(request: QueryWabaBusinessInfoRequest): Promise<QueryWabaBusinessInfoResponse> {
|
|
10318
10696
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10320,12 +10698,14 @@ export default class Client extends OpenApi {
|
|
|
10320
10698
|
}
|
|
10321
10699
|
|
|
10322
10700
|
/**
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
10701
|
+
* @summary Sends a message to multiple phone numbers by using ChatAPP at a time.
|
|
10702
|
+
*
|
|
10703
|
+
* @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.
|
|
10704
|
+
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
10705
|
+
*
|
|
10706
|
+
* @param tmpReq SendChatappMassMessageRequest
|
|
10707
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10708
|
+
* @return SendChatappMassMessageResponse
|
|
10329
10709
|
*/
|
|
10330
10710
|
async sendChatappMassMessageWithOptions(tmpReq: SendChatappMassMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMassMessageResponse> {
|
|
10331
10711
|
Util.validateModel(tmpReq);
|
|
@@ -10422,11 +10802,13 @@ export default class Client extends OpenApi {
|
|
|
10422
10802
|
}
|
|
10423
10803
|
|
|
10424
10804
|
/**
|
|
10425
|
-
|
|
10426
|
-
|
|
10427
|
-
|
|
10428
|
-
|
|
10429
|
-
|
|
10805
|
+
* @summary Sends a message to multiple phone numbers by using ChatAPP at a time.
|
|
10806
|
+
*
|
|
10807
|
+
* @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.
|
|
10808
|
+
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
10809
|
+
*
|
|
10810
|
+
* @param request SendChatappMassMessageRequest
|
|
10811
|
+
* @return SendChatappMassMessageResponse
|
|
10430
10812
|
*/
|
|
10431
10813
|
async sendChatappMassMessage(request: SendChatappMassMessageRequest): Promise<SendChatappMassMessageResponse> {
|
|
10432
10814
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10434,11 +10816,13 @@ export default class Client extends OpenApi {
|
|
|
10434
10816
|
}
|
|
10435
10817
|
|
|
10436
10818
|
/**
|
|
10437
|
-
|
|
10438
|
-
|
|
10439
|
-
|
|
10440
|
-
|
|
10441
|
-
|
|
10819
|
+
* @summary Sends messages by using ChatAPP.
|
|
10820
|
+
*
|
|
10821
|
+
* @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.
|
|
10822
|
+
*
|
|
10823
|
+
* @param tmpReq SendChatappMessageRequest
|
|
10824
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10825
|
+
* @return SendChatappMessageResponse
|
|
10442
10826
|
*/
|
|
10443
10827
|
async sendChatappMessageWithOptions(tmpReq: SendChatappMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendChatappMessageResponse> {
|
|
10444
10828
|
Util.validateModel(tmpReq);
|
|
@@ -10585,10 +10969,12 @@ export default class Client extends OpenApi {
|
|
|
10585
10969
|
}
|
|
10586
10970
|
|
|
10587
10971
|
/**
|
|
10588
|
-
|
|
10589
|
-
|
|
10590
|
-
|
|
10591
|
-
|
|
10972
|
+
* @summary Sends messages by using ChatAPP.
|
|
10973
|
+
*
|
|
10974
|
+
* @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.
|
|
10975
|
+
*
|
|
10976
|
+
* @param request SendChatappMessageRequest
|
|
10977
|
+
* @return SendChatappMessageResponse
|
|
10592
10978
|
*/
|
|
10593
10979
|
async sendChatappMessage(request: SendChatappMessageRequest): Promise<SendChatappMessageResponse> {
|
|
10594
10980
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10596,11 +10982,13 @@ export default class Client extends OpenApi {
|
|
|
10596
10982
|
}
|
|
10597
10983
|
|
|
10598
10984
|
/**
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
|
|
10985
|
+
* @summary Submits the agreement information for independent software vendor (ISV) customers.
|
|
10986
|
+
*
|
|
10987
|
+
* @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.
|
|
10988
|
+
*
|
|
10989
|
+
* @param request SubmitIsvCustomerTermsRequest
|
|
10990
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10991
|
+
* @return SubmitIsvCustomerTermsResponse
|
|
10604
10992
|
*/
|
|
10605
10993
|
async submitIsvCustomerTermsWithOptions(request: SubmitIsvCustomerTermsRequest, runtime: $Util.RuntimeOptions): Promise<SubmitIsvCustomerTermsResponse> {
|
|
10606
10994
|
Util.validateModel(request);
|
|
@@ -10651,10 +11039,12 @@ export default class Client extends OpenApi {
|
|
|
10651
11039
|
}
|
|
10652
11040
|
|
|
10653
11041
|
/**
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
11042
|
+
* @summary Submits the agreement information for independent software vendor (ISV) customers.
|
|
11043
|
+
*
|
|
11044
|
+
* @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.
|
|
11045
|
+
*
|
|
11046
|
+
* @param request SubmitIsvCustomerTermsRequest
|
|
11047
|
+
* @return SubmitIsvCustomerTermsResponse
|
|
10658
11048
|
*/
|
|
10659
11049
|
async submitIsvCustomerTerms(request: SubmitIsvCustomerTermsRequest): Promise<SubmitIsvCustomerTermsResponse> {
|
|
10660
11050
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10662,11 +11052,13 @@ export default class Client extends OpenApi {
|
|
|
10662
11052
|
}
|
|
10663
11053
|
|
|
10664
11054
|
/**
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
|
|
10669
|
-
|
|
11055
|
+
* @summary Modifies the callback URL of an account.
|
|
11056
|
+
*
|
|
11057
|
+
* @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.
|
|
11058
|
+
*
|
|
11059
|
+
* @param request UpdateAccountWebhookRequest
|
|
11060
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11061
|
+
* @return UpdateAccountWebhookResponse
|
|
10670
11062
|
*/
|
|
10671
11063
|
async updateAccountWebhookWithOptions(request: UpdateAccountWebhookRequest, runtime: $Util.RuntimeOptions): Promise<UpdateAccountWebhookResponse> {
|
|
10672
11064
|
Util.validateModel(request);
|
|
@@ -10705,10 +11097,12 @@ export default class Client extends OpenApi {
|
|
|
10705
11097
|
}
|
|
10706
11098
|
|
|
10707
11099
|
/**
|
|
10708
|
-
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
11100
|
+
* @summary Modifies the callback URL of an account.
|
|
11101
|
+
*
|
|
11102
|
+
* @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.
|
|
11103
|
+
*
|
|
11104
|
+
* @param request UpdateAccountWebhookRequest
|
|
11105
|
+
* @return UpdateAccountWebhookResponse
|
|
10712
11106
|
*/
|
|
10713
11107
|
async updateAccountWebhook(request: UpdateAccountWebhookRequest): Promise<UpdateAccountWebhookResponse> {
|
|
10714
11108
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -10716,11 +11110,13 @@ export default class Client extends OpenApi {
|
|
|
10716
11110
|
}
|
|
10717
11111
|
|
|
10718
11112
|
/**
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
|
|
11113
|
+
* @summary Modifies the business settings of a phone number.
|
|
11114
|
+
*
|
|
11115
|
+
* @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.
|
|
11116
|
+
*
|
|
11117
|
+
* @param request UpdateCommerceSettingRequest
|
|
11118
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11119
|
+
* @return UpdateCommerceSettingResponse
|
|
10724
11120
|
*/
|
|
10725
11121
|
async updateCommerceSettingWithOptions(request: UpdateCommerceSettingRequest, runtime: $Util.RuntimeOptions): Promise<UpdateCommerceSettingResponse> {
|
|
10726
11122
|
Util.validateModel(request);
|
|
@@ -10759,16 +11155,25 @@ export default class Client extends OpenApi {
|
|
|
10759
11155
|
}
|
|
10760
11156
|
|
|
10761
11157
|
/**
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
11158
|
+
* @summary Modifies the business settings of a phone number.
|
|
11159
|
+
*
|
|
11160
|
+
* @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.
|
|
11161
|
+
*
|
|
11162
|
+
* @param request UpdateCommerceSettingRequest
|
|
11163
|
+
* @return UpdateCommerceSettingResponse
|
|
10766
11164
|
*/
|
|
10767
11165
|
async updateCommerceSetting(request: UpdateCommerceSettingRequest): Promise<UpdateCommerceSettingResponse> {
|
|
10768
11166
|
let runtime = new $Util.RuntimeOptions({ });
|
|
10769
11167
|
return await this.updateCommerceSettingWithOptions(request, runtime);
|
|
10770
11168
|
}
|
|
10771
11169
|
|
|
11170
|
+
/**
|
|
11171
|
+
* @summary 更新flow的表单内容
|
|
11172
|
+
*
|
|
11173
|
+
* @param request UpdateFlowJSONAssetRequest
|
|
11174
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11175
|
+
* @return UpdateFlowJSONAssetResponse
|
|
11176
|
+
*/
|
|
10772
11177
|
async updateFlowJSONAssetWithOptions(request: UpdateFlowJSONAssetRequest, runtime: $Util.RuntimeOptions): Promise<UpdateFlowJSONAssetResponse> {
|
|
10773
11178
|
Util.validateModel(request);
|
|
10774
11179
|
let body : {[key: string ]: any} = { };
|
|
@@ -10801,11 +11206,24 @@ export default class Client extends OpenApi {
|
|
|
10801
11206
|
return $tea.cast<UpdateFlowJSONAssetResponse>(await this.callApi(params, req, runtime), new UpdateFlowJSONAssetResponse({}));
|
|
10802
11207
|
}
|
|
10803
11208
|
|
|
11209
|
+
/**
|
|
11210
|
+
* @summary 更新flow的表单内容
|
|
11211
|
+
*
|
|
11212
|
+
* @param request UpdateFlowJSONAssetRequest
|
|
11213
|
+
* @return UpdateFlowJSONAssetResponse
|
|
11214
|
+
*/
|
|
10804
11215
|
async updateFlowJSONAsset(request: UpdateFlowJSONAssetRequest): Promise<UpdateFlowJSONAssetResponse> {
|
|
10805
11216
|
let runtime = new $Util.RuntimeOptions({ });
|
|
10806
11217
|
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
10807
11218
|
}
|
|
10808
11219
|
|
|
11220
|
+
/**
|
|
11221
|
+
* @summary 更新号码的公钥
|
|
11222
|
+
*
|
|
11223
|
+
* @param request UpdatePhoneEncryptionPublicKeyRequest
|
|
11224
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11225
|
+
* @return UpdatePhoneEncryptionPublicKeyResponse
|
|
11226
|
+
*/
|
|
10809
11227
|
async updatePhoneEncryptionPublicKeyWithOptions(request: UpdatePhoneEncryptionPublicKeyRequest, runtime: $Util.RuntimeOptions): Promise<UpdatePhoneEncryptionPublicKeyResponse> {
|
|
10810
11228
|
Util.validateModel(request);
|
|
10811
11229
|
let body : {[key: string ]: any} = { };
|
|
@@ -10838,11 +11256,24 @@ export default class Client extends OpenApi {
|
|
|
10838
11256
|
return $tea.cast<UpdatePhoneEncryptionPublicKeyResponse>(await this.callApi(params, req, runtime), new UpdatePhoneEncryptionPublicKeyResponse({}));
|
|
10839
11257
|
}
|
|
10840
11258
|
|
|
11259
|
+
/**
|
|
11260
|
+
* @summary 更新号码的公钥
|
|
11261
|
+
*
|
|
11262
|
+
* @param request UpdatePhoneEncryptionPublicKeyRequest
|
|
11263
|
+
* @return UpdatePhoneEncryptionPublicKeyResponse
|
|
11264
|
+
*/
|
|
10841
11265
|
async updatePhoneEncryptionPublicKey(request: UpdatePhoneEncryptionPublicKeyRequest): Promise<UpdatePhoneEncryptionPublicKeyResponse> {
|
|
10842
11266
|
let runtime = new $Util.RuntimeOptions({ });
|
|
10843
11267
|
return await this.updatePhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
10844
11268
|
}
|
|
10845
11269
|
|
|
11270
|
+
/**
|
|
11271
|
+
* @summary 修改消息发送二维码
|
|
11272
|
+
*
|
|
11273
|
+
* @param request UpdatePhoneMessageQrdlRequest
|
|
11274
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11275
|
+
* @return UpdatePhoneMessageQrdlResponse
|
|
11276
|
+
*/
|
|
10846
11277
|
async updatePhoneMessageQrdlWithOptions(request: UpdatePhoneMessageQrdlRequest, runtime: $Util.RuntimeOptions): Promise<UpdatePhoneMessageQrdlResponse> {
|
|
10847
11278
|
Util.validateModel(request);
|
|
10848
11279
|
let body : {[key: string ]: any} = { };
|
|
@@ -10883,17 +11314,27 @@ export default class Client extends OpenApi {
|
|
|
10883
11314
|
return $tea.cast<UpdatePhoneMessageQrdlResponse>(await this.callApi(params, req, runtime), new UpdatePhoneMessageQrdlResponse({}));
|
|
10884
11315
|
}
|
|
10885
11316
|
|
|
11317
|
+
/**
|
|
11318
|
+
* @summary 修改消息发送二维码
|
|
11319
|
+
*
|
|
11320
|
+
* @param request UpdatePhoneMessageQrdlRequest
|
|
11321
|
+
* @return UpdatePhoneMessageQrdlResponse
|
|
11322
|
+
*/
|
|
10886
11323
|
async updatePhoneMessageQrdl(request: UpdatePhoneMessageQrdlRequest): Promise<UpdatePhoneMessageQrdlResponse> {
|
|
10887
11324
|
let runtime = new $Util.RuntimeOptions({ });
|
|
10888
11325
|
return await this.updatePhoneMessageQrdlWithOptions(request, runtime);
|
|
10889
11326
|
}
|
|
10890
11327
|
|
|
10891
11328
|
/**
|
|
10892
|
-
|
|
10893
|
-
|
|
10894
|
-
|
|
10895
|
-
|
|
10896
|
-
|
|
11329
|
+
* @summary The HTTP status code returned.
|
|
11330
|
+
* * A value of OK indicates that the call is successful.
|
|
11331
|
+
* * Other values indicate that the call fails. For more information, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
|
|
11332
|
+
*
|
|
11333
|
+
* @description The error message returned.
|
|
11334
|
+
*
|
|
11335
|
+
* @param request UpdatePhoneWebhookRequest
|
|
11336
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11337
|
+
* @return UpdatePhoneWebhookResponse
|
|
10897
11338
|
*/
|
|
10898
11339
|
async updatePhoneWebhookWithOptions(request: UpdatePhoneWebhookRequest, runtime: $Util.RuntimeOptions): Promise<UpdatePhoneWebhookResponse> {
|
|
10899
11340
|
Util.validateModel(request);
|
|
@@ -10940,10 +11381,14 @@ export default class Client extends OpenApi {
|
|
|
10940
11381
|
}
|
|
10941
11382
|
|
|
10942
11383
|
/**
|
|
10943
|
-
|
|
10944
|
-
|
|
10945
|
-
|
|
10946
|
-
|
|
11384
|
+
* @summary The HTTP status code returned.
|
|
11385
|
+
* * A value of OK indicates that the call is successful.
|
|
11386
|
+
* * Other values indicate that the call fails. For more information, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
|
|
11387
|
+
*
|
|
11388
|
+
* @description The error message returned.
|
|
11389
|
+
*
|
|
11390
|
+
* @param request UpdatePhoneWebhookRequest
|
|
11391
|
+
* @return UpdatePhoneWebhookResponse
|
|
10947
11392
|
*/
|
|
10948
11393
|
async updatePhoneWebhook(request: UpdatePhoneWebhookRequest): Promise<UpdatePhoneWebhookResponse> {
|
|
10949
11394
|
let runtime = new $Util.RuntimeOptions({ });
|