@alicloud/cams20200606 1.5.1 → 1.6.0

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.js CHANGED
@@ -29,9 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.DeleteChatappTemplateRequest = exports.CreatePhoneMessageQrdlResponse = exports.CreatePhoneMessageQrdlResponseBody = exports.CreatePhoneMessageQrdlRequest = exports.CreateFlowResponse = exports.CreateFlowResponseBody = exports.CreateFlowShrinkRequest = exports.CreateFlowRequest = exports.CreateChatappTemplateResponse = exports.CreateChatappTemplateResponseBody = exports.CreateChatappTemplateShrinkRequest = exports.CreateChatappTemplateRequest = exports.CreateChatappMigrationInitiateResponse = exports.CreateChatappMigrationInitiateResponseBody = exports.CreateChatappMigrationInitiateRequest = exports.ChatappVerifyAndRegisterResponse = exports.ChatappVerifyAndRegisterResponseBody = exports.ChatappVerifyAndRegisterRequest = exports.ChatappSyncPhoneNumberResponse = exports.ChatappSyncPhoneNumberResponseBody = exports.ChatappSyncPhoneNumberRequest = exports.ChatappPhoneNumberRegisterResponse = exports.ChatappPhoneNumberRegisterResponseBody = exports.ChatappPhoneNumberRegisterRequest = exports.ChatappPhoneNumberDeregisterResponse = exports.ChatappPhoneNumberDeregisterResponseBody = exports.ChatappPhoneNumberDeregisterRequest = exports.ChatappMigrationVerifiedResponse = exports.ChatappMigrationVerifiedResponseBody = exports.ChatappMigrationVerifiedRequest = exports.ChatappMigrationRegisterResponse = exports.ChatappMigrationRegisterResponseBody = exports.ChatappMigrationRegisterRequest = exports.ChatappEmbedSignUpResponse = exports.ChatappEmbedSignUpResponseBody = exports.ChatappEmbedSignUpRequest = exports.ChatappBindWabaResponse = exports.ChatappBindWabaResponseBody = exports.ChatappBindWabaRequest = exports.BeeBotChatResponse = exports.BeeBotChatResponseBody = exports.BeeBotChatShrinkRequest = exports.BeeBotChatRequest = exports.BeeBotAssociateResponse = exports.BeeBotAssociateResponseBody = exports.BeeBotAssociateShrinkRequest = exports.BeeBotAssociateRequest = exports.AddChatappPhoneNumberResponse = exports.AddChatappPhoneNumberResponseBody = exports.AddChatappPhoneNumberRequest = void 0;
30
30
  exports.GetPermissionByCodeResponseBody = exports.GetPermissionByCodeShrinkRequest = exports.GetPermissionByCodeRequest = exports.GetMigrationVerifyCodeResponse = exports.GetMigrationVerifyCodeResponseBody = exports.GetMigrationVerifyCodeRequest = exports.GetFlowPreviewUrlResponse = exports.GetFlowPreviewUrlResponseBody = exports.GetFlowPreviewUrlRequest = exports.GetFlowJSONAssestResponse = exports.GetFlowJSONAssestResponseBody = exports.GetFlowJSONAssestRequest = exports.GetFlowResponse = exports.GetFlowResponseBody = exports.GetFlowRequest = exports.GetConversationalAutomationResponse = exports.GetConversationalAutomationResponseBody = exports.GetConversationalAutomationRequest = exports.GetCommerceSettingResponse = exports.GetCommerceSettingResponseBody = exports.GetCommerceSettingRequest = exports.GetChatappVerifyCodeResponse = exports.GetChatappVerifyCodeResponseBody = exports.GetChatappVerifyCodeRequest = exports.GetChatappUploadAuthorizationResponse = exports.GetChatappUploadAuthorizationResponseBody = exports.GetChatappUploadAuthorizationRequest = exports.GetChatappTemplateMetricResponse = exports.GetChatappTemplateMetricResponseBody = exports.GetChatappTemplateMetricRequest = exports.GetChatappTemplateDetailResponse = exports.GetChatappTemplateDetailResponseBody = exports.GetChatappTemplateDetailRequest = exports.GetChatappPhoneNumberMetricResponse = exports.GetChatappPhoneNumberMetricResponseBody = exports.GetChatappPhoneNumberMetricRequest = exports.EnableWhatsappROIMetricResponse = exports.EnableWhatsappROIMetricResponseBody = exports.EnableWhatsappROIMetricRequest = exports.DeprecateFlowResponse = exports.DeprecateFlowResponseBody = exports.DeprecateFlowRequest = exports.DeletePhoneMessageQrdlResponse = exports.DeletePhoneMessageQrdlResponseBody = exports.DeletePhoneMessageQrdlRequest = exports.DeleteFlowResponse = exports.DeleteFlowResponseBody = exports.DeleteFlowRequest = exports.DeleteChatappTemplateResponse = exports.DeleteChatappTemplateResponseBody = void 0;
31
31
  exports.PublishFlowResponseBody = exports.PublishFlowRequest = exports.ModifyPhoneBusinessProfileResponse = exports.ModifyPhoneBusinessProfileResponseBody = exports.ModifyPhoneBusinessProfileShrinkRequest = exports.ModifyPhoneBusinessProfileRequest = exports.ModifyFlowResponse = exports.ModifyFlowResponseBody = exports.ModifyFlowShrinkRequest = exports.ModifyFlowRequest = exports.ModifyChatappTemplateResponse = exports.ModifyChatappTemplateResponseBody = exports.ModifyChatappTemplateShrinkRequest = exports.ModifyChatappTemplateRequest = exports.ListProductCatalogResponse = exports.ListProductCatalogResponseBody = exports.ListProductCatalogRequest = exports.ListProductResponse = exports.ListProductResponseBody = exports.ListProductRequest = exports.ListPhoneMessageQrdlResponse = exports.ListPhoneMessageQrdlResponseBody = exports.ListPhoneMessageQrdlRequest = exports.ListFlowResponse = exports.ListFlowResponseBody = exports.ListFlowShrinkRequest = exports.ListFlowRequest = exports.ListChatappTemplateResponse = exports.ListChatappTemplateResponseBody = exports.ListChatappTemplateShrinkRequest = exports.ListChatappTemplateRequest = exports.IsvGetAppIdResponse = exports.IsvGetAppIdResponseBody = exports.IsvGetAppIdRequest = exports.GetWhatsappHealthStatusResponse = exports.GetWhatsappHealthStatusResponseBody = exports.GetWhatsappHealthStatusRequest = exports.GetWhatsappConnectionCatalogResponse = exports.GetWhatsappConnectionCatalogResponseBody = exports.GetWhatsappConnectionCatalogRequest = exports.GetPreValidatePhoneIdResponse = exports.GetPreValidatePhoneIdResponseBody = exports.GetPreValidatePhoneIdRequest = exports.GetPhoneNumberVerificationStatusResponse = exports.GetPhoneNumberVerificationStatusResponseBody = exports.GetPhoneNumberVerificationStatusRequest = exports.GetPhoneEncryptionPublicKeyResponse = exports.GetPhoneEncryptionPublicKeyResponseBody = exports.GetPhoneEncryptionPublicKeyRequest = exports.GetPermissionByCodeResponse = void 0;
32
- exports.BeeBotChatResponseBodyDataMessagesKnowledge = exports.BeeBotChatResponseBodyDataMessagesKnowledgeRelatedKnowledges = exports.BeeBotAssociateResponseBodyData = exports.BeeBotAssociateResponseBodyDataAssociate = exports.UpdatePhoneWebhookResponse = exports.UpdatePhoneWebhookResponseBody = exports.UpdatePhoneWebhookRequest = exports.UpdatePhoneMessageQrdlResponse = exports.UpdatePhoneMessageQrdlResponseBody = exports.UpdatePhoneMessageQrdlRequest = exports.UpdatePhoneEncryptionPublicKeyResponse = exports.UpdatePhoneEncryptionPublicKeyResponseBody = exports.UpdatePhoneEncryptionPublicKeyRequest = exports.UpdateFlowJSONAssetResponse = exports.UpdateFlowJSONAssetResponseBody = exports.UpdateFlowJSONAssetRequest = exports.UpdateConversationalAutomationResponse = exports.UpdateConversationalAutomationResponseBody = exports.UpdateConversationalAutomationShrinkRequest = exports.UpdateConversationalAutomationRequest = exports.UpdateCommerceSettingResponse = exports.UpdateCommerceSettingResponseBody = exports.UpdateCommerceSettingRequest = exports.UpdateAccountWebhookResponse = exports.UpdateAccountWebhookResponseBody = exports.UpdateAccountWebhookRequest = exports.SubmitIsvCustomerTermsResponse = exports.SubmitIsvCustomerTermsResponseBody = exports.SubmitIsvCustomerTermsRequest = exports.SendChatappMessageResponse = exports.SendChatappMessageResponseBody = exports.SendChatappMessageShrinkRequest = exports.SendChatappMessageRequest = exports.SendChatappMassMessageResponse = exports.SendChatappMassMessageResponseBody = exports.SendChatappMassMessageShrinkRequest = exports.SendChatappMassMessageRequest = exports.QueryWabaBusinessInfoResponse = exports.QueryWabaBusinessInfoResponseBody = exports.QueryWabaBusinessInfoRequest = exports.QueryPhoneBusinessProfileResponse = exports.QueryPhoneBusinessProfileResponseBody = exports.QueryPhoneBusinessProfileRequest = exports.QueryChatappPhoneNumbersResponse = exports.QueryChatappPhoneNumbersResponseBody = exports.QueryChatappPhoneNumbersRequest = exports.QueryChatappBindWabaResponse = exports.QueryChatappBindWabaResponseBody = exports.QueryChatappBindWabaRequest = exports.PublishFlowResponse = void 0;
33
- exports.ListProductResponseBodyModelPagingCursors = exports.ListPhoneMessageQrdlResponseBodyData = exports.ListFlowResponseBodyData = exports.ListFlowRequestPage = exports.ListChatappTemplateResponseBodyListTemplate = exports.ListChatappTemplateRequestPage = exports.GetWhatsappHealthStatusResponseBodyData = exports.GetWhatsappHealthStatusResponseBodyDataEntities = exports.GetWhatsappHealthStatusResponseBodyDataEntitiesErrors = exports.GetPreValidatePhoneIdResponseBodyData = exports.GetPhoneNumberVerificationStatusResponseBodyData = exports.GetPhoneEncryptionPublicKeyResponseBodyData = exports.GetMigrationVerifyCodeResponseBodyData = exports.GetFlowPreviewUrlResponseBodyData = exports.GetFlowJSONAssestResponseBodyData = exports.GetFlowResponseBodyData = exports.GetConversationalAutomationResponseBodyData = exports.GetConversationalAutomationResponseBodyDataCommands = exports.GetCommerceSettingResponseBodyData = exports.GetChatappUploadAuthorizationResponseBodyData = exports.GetChatappTemplateMetricResponseBodyData = exports.GetChatappTemplateMetricResponseBodyDataCliented = exports.GetChatappTemplateDetailResponseBodyData = exports.GetChatappTemplateDetailResponseBodyDataComponents = exports.GetChatappTemplateDetailResponseBodyDataComponentsCards = exports.GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponents = exports.GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponentsButtons = exports.GetChatappTemplateDetailResponseBodyDataComponentsButtons = exports.GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps = exports.GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs = exports.GetChatappPhoneNumberMetricResponseBodyData = exports.CreatePhoneMessageQrdlResponseBodyData = exports.CreateFlowResponseBodyData = exports.CreateChatappTemplateResponseBodyData = exports.CreateChatappTemplateRequestComponents = exports.CreateChatappTemplateRequestComponentsCards = exports.CreateChatappTemplateRequestComponentsCardsCardComponents = exports.CreateChatappTemplateRequestComponentsCardsCardComponentsButtons = exports.CreateChatappTemplateRequestComponentsButtons = exports.CreateChatappTemplateRequestComponentsButtonsSupportedApps = exports.CreateChatappMigrationInitiateResponseBodyData = exports.ChatappSyncPhoneNumberResponseBodyPhoneNumbers = exports.ChatappMigrationVerifiedResponseBodyData = exports.ChatappEmbedSignUpResponseBodyWabas = exports.ChatappBindWabaResponseBodyData = exports.BeeBotChatResponseBodyData = exports.BeeBotChatResponseBodyDataMessages = exports.BeeBotChatResponseBodyDataMessagesText = exports.BeeBotChatResponseBodyDataMessagesTextSlots = exports.BeeBotChatResponseBodyDataMessagesRecommends = void 0;
34
- exports.UpdatePhoneMessageQrdlResponseBodyData = exports.UpdateFlowJSONAssetResponseBodyData = exports.UpdateConversationalAutomationRequestCommands = exports.SendChatappMessageRequestProductAction = exports.SendChatappMessageRequestProductActionSections = exports.SendChatappMessageRequestProductActionSectionsProductItems = exports.SendChatappMessageRequestFlowAction = exports.SendChatappMassMessageRequestSenderList = exports.SendChatappMassMessageRequestSenderListProductAction = exports.SendChatappMassMessageRequestSenderListProductActionSections = exports.SendChatappMassMessageRequestSenderListProductActionSectionsProductItems = exports.SendChatappMassMessageRequestSenderListFlowAction = exports.QueryWabaBusinessInfoResponseBodyData = exports.QueryPhoneBusinessProfileResponseBodyData = exports.QueryChatappPhoneNumbersResponseBodyPhoneNumbers = exports.QueryChatappBindWabaResponseBodyData = exports.ModifyFlowResponseBodyData = exports.ModifyChatappTemplateResponseBodyData = exports.ModifyChatappTemplateRequestComponents = exports.ModifyChatappTemplateRequestComponentsCards = exports.ModifyChatappTemplateRequestComponentsCardsCardComponents = exports.ModifyChatappTemplateRequestComponentsCardsCardComponentsButtons = exports.ModifyChatappTemplateRequestComponentsButtons = exports.ModifyChatappTemplateRequestComponentsButtonsSupportedApps = exports.ListProductCatalogResponseBodyModel = exports.ListProductCatalogResponseBodyModelPaging = exports.ListProductCatalogResponseBodyModelPagingCursors = exports.ListProductResponseBodyModel = exports.ListProductResponseBodyModelPaging = void 0;
32
+ exports.UpdatePhoneWebhookResponse = exports.UpdatePhoneWebhookResponseBody = exports.UpdatePhoneWebhookRequest = exports.UpdatePhoneMessageQrdlResponse = exports.UpdatePhoneMessageQrdlResponseBody = exports.UpdatePhoneMessageQrdlRequest = exports.UpdatePhoneEncryptionPublicKeyResponse = exports.UpdatePhoneEncryptionPublicKeyResponseBody = exports.UpdatePhoneEncryptionPublicKeyRequest = exports.UpdateFlowJSONAssetResponse = exports.UpdateFlowJSONAssetResponseBody = exports.UpdateFlowJSONAssetRequest = exports.UpdateConversationalAutomationResponse = exports.UpdateConversationalAutomationResponseBody = exports.UpdateConversationalAutomationShrinkRequest = exports.UpdateConversationalAutomationRequest = exports.UpdateCommerceSettingResponse = exports.UpdateCommerceSettingResponseBody = exports.UpdateCommerceSettingRequest = exports.UpdateAccountWebhookResponse = exports.UpdateAccountWebhookResponseBody = exports.UpdateAccountWebhookRequest = exports.TriggerChatFlowResponse = exports.TriggerChatFlowResponseBody = exports.TriggerChatFlowShrinkRequest = exports.TriggerChatFlowRequest = exports.SubmitIsvCustomerTermsResponse = exports.SubmitIsvCustomerTermsResponseBody = exports.SubmitIsvCustomerTermsRequest = exports.SendChatappMessageResponse = exports.SendChatappMessageResponseBody = exports.SendChatappMessageShrinkRequest = exports.SendChatappMessageRequest = exports.SendChatappMassMessageResponse = exports.SendChatappMassMessageResponseBody = exports.SendChatappMassMessageShrinkRequest = exports.SendChatappMassMessageRequest = exports.QueryWabaBusinessInfoResponse = exports.QueryWabaBusinessInfoResponseBody = exports.QueryWabaBusinessInfoRequest = exports.QueryPhoneBusinessProfileResponse = exports.QueryPhoneBusinessProfileResponseBody = exports.QueryPhoneBusinessProfileRequest = exports.QueryChatappPhoneNumbersResponse = exports.QueryChatappPhoneNumbersResponseBody = exports.QueryChatappPhoneNumbersRequest = exports.QueryChatappBindWabaResponse = exports.QueryChatappBindWabaResponseBody = exports.QueryChatappBindWabaRequest = exports.PublishFlowResponse = void 0;
33
+ exports.ListChatappTemplateResponseBodyListTemplate = exports.ListChatappTemplateRequestPage = exports.GetWhatsappHealthStatusResponseBodyData = exports.GetWhatsappHealthStatusResponseBodyDataEntities = exports.GetWhatsappHealthStatusResponseBodyDataEntitiesErrors = exports.GetPreValidatePhoneIdResponseBodyData = exports.GetPhoneNumberVerificationStatusResponseBodyData = exports.GetPhoneEncryptionPublicKeyResponseBodyData = exports.GetMigrationVerifyCodeResponseBodyData = exports.GetFlowPreviewUrlResponseBodyData = exports.GetFlowJSONAssestResponseBodyData = exports.GetFlowResponseBodyData = exports.GetConversationalAutomationResponseBodyData = exports.GetConversationalAutomationResponseBodyDataCommands = exports.GetCommerceSettingResponseBodyData = exports.GetChatappUploadAuthorizationResponseBodyData = exports.GetChatappTemplateMetricResponseBodyData = exports.GetChatappTemplateMetricResponseBodyDataCliented = exports.GetChatappTemplateDetailResponseBodyData = exports.GetChatappTemplateDetailResponseBodyDataComponents = exports.GetChatappTemplateDetailResponseBodyDataComponentsCards = exports.GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponents = exports.GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponentsButtons = exports.GetChatappTemplateDetailResponseBodyDataComponentsButtons = exports.GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps = exports.GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs = exports.GetChatappPhoneNumberMetricResponseBodyData = exports.CreatePhoneMessageQrdlResponseBodyData = exports.CreateFlowResponseBodyData = exports.CreateChatappTemplateResponseBodyData = exports.CreateChatappTemplateRequestComponents = exports.CreateChatappTemplateRequestComponentsCards = exports.CreateChatappTemplateRequestComponentsCardsCardComponents = exports.CreateChatappTemplateRequestComponentsCardsCardComponentsButtons = exports.CreateChatappTemplateRequestComponentsButtons = exports.CreateChatappTemplateRequestComponentsButtonsSupportedApps = exports.CreateChatappMigrationInitiateResponseBodyData = exports.ChatappSyncPhoneNumberResponseBodyPhoneNumbers = exports.ChatappMigrationVerifiedResponseBodyData = exports.ChatappEmbedSignUpResponseBodyWabas = exports.ChatappBindWabaResponseBodyData = exports.BeeBotChatResponseBodyData = exports.BeeBotChatResponseBodyDataMessages = exports.BeeBotChatResponseBodyDataMessagesText = exports.BeeBotChatResponseBodyDataMessagesTextSlots = exports.BeeBotChatResponseBodyDataMessagesRecommends = exports.BeeBotChatResponseBodyDataMessagesKnowledge = exports.BeeBotChatResponseBodyDataMessagesKnowledgeRelatedKnowledges = exports.BeeBotAssociateResponseBodyData = exports.BeeBotAssociateResponseBodyDataAssociate = void 0;
34
+ exports.UpdatePhoneMessageQrdlResponseBodyData = exports.UpdateFlowJSONAssetResponseBodyData = exports.UpdateConversationalAutomationRequestCommands = exports.SendChatappMessageRequestProductAction = exports.SendChatappMessageRequestProductActionSections = exports.SendChatappMessageRequestProductActionSectionsProductItems = exports.SendChatappMessageRequestFlowAction = exports.SendChatappMassMessageRequestSenderList = exports.SendChatappMassMessageRequestSenderListProductAction = exports.SendChatappMassMessageRequestSenderListProductActionSections = exports.SendChatappMassMessageRequestSenderListProductActionSectionsProductItems = exports.SendChatappMassMessageRequestSenderListFlowAction = exports.QueryWabaBusinessInfoResponseBodyData = exports.QueryPhoneBusinessProfileResponseBodyData = exports.QueryChatappPhoneNumbersResponseBodyPhoneNumbers = exports.QueryChatappBindWabaResponseBodyData = exports.ModifyFlowResponseBodyData = exports.ModifyChatappTemplateResponseBodyData = exports.ModifyChatappTemplateRequestComponents = exports.ModifyChatappTemplateRequestComponentsCards = exports.ModifyChatappTemplateRequestComponentsCardsCardComponents = exports.ModifyChatappTemplateRequestComponentsCardsCardComponentsButtons = exports.ModifyChatappTemplateRequestComponentsButtons = exports.ModifyChatappTemplateRequestComponentsButtonsSupportedApps = exports.ListProductCatalogResponseBodyModel = exports.ListProductCatalogResponseBodyModelPaging = exports.ListProductCatalogResponseBodyModelPagingCursors = exports.ListProductResponseBodyModel = exports.ListProductResponseBodyModelPaging = exports.ListProductResponseBodyModelPagingCursors = exports.ListPhoneMessageQrdlResponseBodyData = exports.ListFlowResponseBodyData = exports.ListFlowRequestPage = void 0;
35
35
  // This file is auto-generated, don't edit it
36
36
  /**
37
37
  */
@@ -4142,6 +4142,116 @@ class SubmitIsvCustomerTermsResponse extends $tea.Model {
4142
4142
  }
4143
4143
  }
4144
4144
  exports.SubmitIsvCustomerTermsResponse = SubmitIsvCustomerTermsResponse;
4145
+ class TriggerChatFlowRequest extends $tea.Model {
4146
+ static names() {
4147
+ return {
4148
+ claimTimeMillis: 'ClaimTimeMillis',
4149
+ data: 'Data',
4150
+ discardTimeMillis: 'DiscardTimeMillis',
4151
+ flowCode: 'FlowCode',
4152
+ outId: 'OutId',
4153
+ ownerId: 'OwnerId',
4154
+ resourceOwnerAccount: 'ResourceOwnerAccount',
4155
+ resourceOwnerId: 'ResourceOwnerId',
4156
+ uuid: 'Uuid',
4157
+ };
4158
+ }
4159
+ static types() {
4160
+ return {
4161
+ claimTimeMillis: 'number',
4162
+ data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
4163
+ discardTimeMillis: 'number',
4164
+ flowCode: 'string',
4165
+ outId: 'string',
4166
+ ownerId: 'number',
4167
+ resourceOwnerAccount: 'string',
4168
+ resourceOwnerId: 'number',
4169
+ uuid: 'string',
4170
+ };
4171
+ }
4172
+ constructor(map) {
4173
+ super(map);
4174
+ }
4175
+ }
4176
+ exports.TriggerChatFlowRequest = TriggerChatFlowRequest;
4177
+ class TriggerChatFlowShrinkRequest extends $tea.Model {
4178
+ static names() {
4179
+ return {
4180
+ claimTimeMillis: 'ClaimTimeMillis',
4181
+ dataShrink: 'Data',
4182
+ discardTimeMillis: 'DiscardTimeMillis',
4183
+ flowCode: 'FlowCode',
4184
+ outId: 'OutId',
4185
+ ownerId: 'OwnerId',
4186
+ resourceOwnerAccount: 'ResourceOwnerAccount',
4187
+ resourceOwnerId: 'ResourceOwnerId',
4188
+ uuid: 'Uuid',
4189
+ };
4190
+ }
4191
+ static types() {
4192
+ return {
4193
+ claimTimeMillis: 'number',
4194
+ dataShrink: 'string',
4195
+ discardTimeMillis: 'number',
4196
+ flowCode: 'string',
4197
+ outId: 'string',
4198
+ ownerId: 'number',
4199
+ resourceOwnerAccount: 'string',
4200
+ resourceOwnerId: 'number',
4201
+ uuid: 'string',
4202
+ };
4203
+ }
4204
+ constructor(map) {
4205
+ super(map);
4206
+ }
4207
+ }
4208
+ exports.TriggerChatFlowShrinkRequest = TriggerChatFlowShrinkRequest;
4209
+ class TriggerChatFlowResponseBody extends $tea.Model {
4210
+ static names() {
4211
+ return {
4212
+ accessDeniedDetail: 'AccessDeniedDetail',
4213
+ code: 'Code',
4214
+ data: 'Data',
4215
+ message: 'Message',
4216
+ requestId: 'RequestId',
4217
+ success: 'Success',
4218
+ };
4219
+ }
4220
+ static types() {
4221
+ return {
4222
+ accessDeniedDetail: 'string',
4223
+ code: 'string',
4224
+ data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
4225
+ message: 'string',
4226
+ requestId: 'string',
4227
+ success: 'boolean',
4228
+ };
4229
+ }
4230
+ constructor(map) {
4231
+ super(map);
4232
+ }
4233
+ }
4234
+ exports.TriggerChatFlowResponseBody = TriggerChatFlowResponseBody;
4235
+ class TriggerChatFlowResponse extends $tea.Model {
4236
+ static names() {
4237
+ return {
4238
+ headers: 'headers',
4239
+ statusCode: 'statusCode',
4240
+ body: 'body',
4241
+ };
4242
+ }
4243
+ static types() {
4244
+ return {
4245
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4246
+ statusCode: 'number',
4247
+ body: TriggerChatFlowResponseBody,
4248
+ };
4249
+ }
4250
+ constructor(map) {
4251
+ super(map);
4252
+ }
4253
+ }
4254
+ exports.TriggerChatFlowResponse = TriggerChatFlowResponse;
4145
4255
  class UpdateAccountWebhookRequest extends $tea.Model {
4146
4256
  static names() {
4147
4257
  return {
@@ -6595,9 +6705,6 @@ class Client extends openapi_client_1.default {
6595
6705
  /**
6596
6706
  * Adds a phone number for a WhatsApp Business account (WABA).
6597
6707
  *
6598
- * @remarks
6599
- * 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.
6600
- *
6601
6708
  * @param request - AddChatappPhoneNumberRequest
6602
6709
  * @param runtime - runtime options for this request RuntimeOptions
6603
6710
  * @returns AddChatappPhoneNumberResponse
@@ -6648,9 +6755,6 @@ class Client extends openapi_client_1.default {
6648
6755
  /**
6649
6756
  * Adds a phone number for a WhatsApp Business account (WABA).
6650
6757
  *
6651
- * @remarks
6652
- * 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.
6653
- *
6654
6758
  * @param request - AddChatappPhoneNumberRequest
6655
6759
  * @returns AddChatappPhoneNumberResponse
6656
6760
  */
@@ -6730,7 +6834,7 @@ class Client extends openapi_client_1.default {
6730
6834
  * Conducts sessions with the bot based on its unique identifier (ID).
6731
6835
  *
6732
6836
  * @remarks
6733
- * 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.
6837
+ * The ID of the session.
6734
6838
  *
6735
6839
  * @param tmpReq - BeeBotChatRequest
6736
6840
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6800,7 +6904,7 @@ class Client extends openapi_client_1.default {
6800
6904
  * Conducts sessions with the bot based on its unique identifier (ID).
6801
6905
  *
6802
6906
  * @remarks
6803
- * 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.
6907
+ * The ID of the session.
6804
6908
  *
6805
6909
  * @param request - BeeBotChatRequest
6806
6910
  * @returns BeeBotChatResponse
@@ -6912,7 +7016,7 @@ class Client extends openapi_client_1.default {
6912
7016
  * Registers a phone number for migration.
6913
7017
  *
6914
7018
  * @remarks
6915
- * 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.
7019
+ * The space ID of the RAM user within the independent software vendor (ISV) account.
6916
7020
  *
6917
7021
  * @param request - ChatappMigrationRegisterRequest
6918
7022
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6947,7 +7051,7 @@ class Client extends openapi_client_1.default {
6947
7051
  * Registers a phone number for migration.
6948
7052
  *
6949
7053
  * @remarks
6950
- * 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.
7054
+ * The space ID of the RAM user within the independent software vendor (ISV) account.
6951
7055
  *
6952
7056
  * @param request - ChatappMigrationRegisterRequest
6953
7057
  * @returns ChatappMigrationRegisterResponse
@@ -7279,11 +7383,12 @@ class Client extends openapi_client_1.default {
7279
7383
  }
7280
7384
  /**
7281
7385
  * The HTTP status code.
7282
- * \\\\* Example: OK. This parameter indicates that the request is successful.
7283
- * \\\\* Other values indicate that the request fails. For more information, see \\[Error codes]\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
7386
+ * \\\\\\\\* Example: OK. This parameter indicates that the request is successful.
7387
+ * \\\\\\\\* Other values indicate that the request fails. For more information, see \\\\\\[Error codes]\\\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
7284
7388
  *
7285
7389
  * @remarks
7286
- * The error message.
7390
+ * ### [](#qps-)QPS limit
7391
+ * 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.
7287
7392
  *
7288
7393
  * @param tmpReq - CreateChatappTemplateRequest
7289
7394
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7351,11 +7456,12 @@ class Client extends openapi_client_1.default {
7351
7456
  }
7352
7457
  /**
7353
7458
  * The HTTP status code.
7354
- * \\\\* Example: OK. This parameter indicates that the request is successful.
7355
- * \\\\* Other values indicate that the request fails. For more information, see \\[Error codes]\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
7459
+ * \\\\\\\\* Example: OK. This parameter indicates that the request is successful.
7460
+ * \\\\\\\\* Other values indicate that the request fails. For more information, see \\\\\\[Error codes]\\\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
7356
7461
  *
7357
7462
  * @remarks
7358
- * The error message.
7463
+ * ### [](#qps-)QPS limit
7464
+ * 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.
7359
7465
  *
7360
7466
  * @param request - CreateChatappTemplateRequest
7361
7467
  * @returns CreateChatappTemplateResponse
@@ -7421,7 +7527,7 @@ class Client extends openapi_client_1.default {
7421
7527
  return await this.createFlowWithOptions(request, runtime);
7422
7528
  }
7423
7529
  /**
7424
- * 创建消息发送二维码
7530
+ * Creates a quick-response (QR) code that contains a message.
7425
7531
  *
7426
7532
  * @param request - CreatePhoneMessageQrdlRequest
7427
7533
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7459,7 +7565,7 @@ class Client extends openapi_client_1.default {
7459
7565
  return $tea.cast(await this.callApi(params, req, runtime), new CreatePhoneMessageQrdlResponse({}));
7460
7566
  }
7461
7567
  /**
7462
- * 创建消息发送二维码
7568
+ * Creates a quick-response (QR) code that contains a message.
7463
7569
  *
7464
7570
  * @param request - CreatePhoneMessageQrdlRequest
7465
7571
  * @returns CreatePhoneMessageQrdlResponse
@@ -7591,7 +7697,7 @@ class Client extends openapi_client_1.default {
7591
7697
  return await this.deleteFlowWithOptions(request, runtime);
7592
7698
  }
7593
7699
  /**
7594
- * 删除消息发送二维码
7700
+ * Deletes a quick-response (QR) code that contains a message.
7595
7701
  *
7596
7702
  * @param request - DeletePhoneMessageQrdlRequest
7597
7703
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7626,7 +7732,7 @@ class Client extends openapi_client_1.default {
7626
7732
  return $tea.cast(await this.callApi(params, req, runtime), new DeletePhoneMessageQrdlResponse({}));
7627
7733
  }
7628
7734
  /**
7629
- * 删除消息发送二维码
7735
+ * Deletes a quick-response (QR) code that contains a message.
7630
7736
  *
7631
7737
  * @param request - DeletePhoneMessageQrdlRequest
7632
7738
  * @returns DeletePhoneMessageQrdlResponse
@@ -7636,7 +7742,7 @@ class Client extends openapi_client_1.default {
7636
7742
  return await this.deletePhoneMessageQrdlWithOptions(request, runtime);
7637
7743
  }
7638
7744
  /**
7639
- * 弃用Flow
7745
+ * Deprecates a Flow.
7640
7746
  *
7641
7747
  * @param request - DeprecateFlowRequest
7642
7748
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7668,7 +7774,7 @@ class Client extends openapi_client_1.default {
7668
7774
  return $tea.cast(await this.callApi(params, req, runtime), new DeprecateFlowResponse({}));
7669
7775
  }
7670
7776
  /**
7671
- * 弃用Flow
7777
+ * Deprecates a Flow.
7672
7778
  *
7673
7779
  * @param request - DeprecateFlowRequest
7674
7780
  * @returns DeprecateFlowResponse
@@ -8082,7 +8188,12 @@ class Client extends openapi_client_1.default {
8082
8188
  return await this.getCommerceSettingWithOptions(request, runtime);
8083
8189
  }
8084
8190
  /**
8085
- * 获取号码欢迎消息设置信息
8191
+ * Configures welcoming messages, opening remarks, and commands.
8192
+ *
8193
+ * @remarks
8194
+ * ### [](#qps-)QPS limit
8195
+ * 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.
8196
+ * This operation will directly obtain data from Facebook, which sets an upper limit on the total number of calls for operations. We recommend that you take note of the limit when you call this operation.
8086
8197
  *
8087
8198
  * @param request - GetConversationalAutomationRequest
8088
8199
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8123,7 +8234,12 @@ class Client extends openapi_client_1.default {
8123
8234
  return $tea.cast(await this.callApi(params, req, runtime), new GetConversationalAutomationResponse({}));
8124
8235
  }
8125
8236
  /**
8126
- * 获取号码欢迎消息设置信息
8237
+ * Configures welcoming messages, opening remarks, and commands.
8238
+ *
8239
+ * @remarks
8240
+ * ### [](#qps-)QPS limit
8241
+ * 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.
8242
+ * This operation will directly obtain data from Facebook, which sets an upper limit on the total number of calls for operations. We recommend that you take note of the limit when you call this operation.
8127
8243
  *
8128
8244
  * @param request - GetConversationalAutomationRequest
8129
8245
  * @returns GetConversationalAutomationResponse
@@ -8181,7 +8297,7 @@ class Client extends openapi_client_1.default {
8181
8297
  return await this.getFlowWithOptions(request, runtime);
8182
8298
  }
8183
8299
  /**
8184
- * 获取flow的JSON文件
8300
+ * Queries the JSON content of a Flow.
8185
8301
  *
8186
8302
  * @param request - GetFlowJSONAssestRequest
8187
8303
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8213,7 +8329,7 @@ class Client extends openapi_client_1.default {
8213
8329
  return $tea.cast(await this.callApi(params, req, runtime), new GetFlowJSONAssestResponse({}));
8214
8330
  }
8215
8331
  /**
8216
- * 获取flow的JSON文件
8332
+ * Queries the JSON content of a Flow.
8217
8333
  *
8218
8334
  * @param request - GetFlowJSONAssestRequest
8219
8335
  * @returns GetFlowJSONAssestResponse
@@ -8271,10 +8387,10 @@ class Client extends openapi_client_1.default {
8271
8387
  return await this.getFlowPreviewUrlWithOptions(request, runtime);
8272
8388
  }
8273
8389
  /**
8274
- * The phone number.
8390
+ * Obtain the verification code for the migration number.
8275
8391
  *
8276
8392
  * @remarks
8277
- * The ID of the phone number.
8393
+ * The single user QPS limit for this interface is 10 times per second. Exceeding the limit may result in restricted API calls, which may affect your business. Please make reasonable calls.
8278
8394
  *
8279
8395
  * @param request - GetMigrationVerifyCodeRequest
8280
8396
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8312,10 +8428,10 @@ class Client extends openapi_client_1.default {
8312
8428
  return $tea.cast(await this.callApi(params, req, runtime), new GetMigrationVerifyCodeResponse({}));
8313
8429
  }
8314
8430
  /**
8315
- * The phone number.
8431
+ * Obtain the verification code for the migration number.
8316
8432
  *
8317
8433
  * @remarks
8318
- * The ID of the phone number.
8434
+ * The single user QPS limit for this interface is 10 times per second. Exceeding the limit may result in restricted API calls, which may affect your business. Please make reasonable calls.
8319
8435
  *
8320
8436
  * @param request - GetMigrationVerifyCodeRequest
8321
8437
  * @returns GetMigrationVerifyCodeResponse
@@ -8325,7 +8441,7 @@ class Client extends openapi_client_1.default {
8325
8441
  return await this.getMigrationVerifyCodeWithOptions(request, runtime);
8326
8442
  }
8327
8443
  /**
8328
- * 根据Code获取权限
8444
+ * Obtains permissions based on the authorization code obtained from embedded signup.
8329
8445
  *
8330
8446
  * @param tmpReq - GetPermissionByCodeRequest
8331
8447
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8365,7 +8481,7 @@ class Client extends openapi_client_1.default {
8365
8481
  return $tea.cast(await this.callApi(params, req, runtime), new GetPermissionByCodeResponse({}));
8366
8482
  }
8367
8483
  /**
8368
- * 根据Code获取权限
8484
+ * Obtains permissions based on the authorization code obtained from embedded signup.
8369
8485
  *
8370
8486
  * @param request - GetPermissionByCodeRequest
8371
8487
  * @returns GetPermissionByCodeResponse
@@ -8375,7 +8491,7 @@ class Client extends openapi_client_1.default {
8375
8491
  return await this.getPermissionByCodeWithOptions(request, runtime);
8376
8492
  }
8377
8493
  /**
8378
- * 获取号码的公钥
8494
+ * Queries the encryption public key of a phone number.
8379
8495
  *
8380
8496
  * @param request - GetPhoneEncryptionPublicKeyRequest
8381
8497
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8407,7 +8523,7 @@ class Client extends openapi_client_1.default {
8407
8523
  return $tea.cast(await this.callApi(params, req, runtime), new GetPhoneEncryptionPublicKeyResponse({}));
8408
8524
  }
8409
8525
  /**
8410
- * 获取号码的公钥
8526
+ * Queries the encryption public key of a phone number.
8411
8527
  *
8412
8528
  * @param request - GetPhoneEncryptionPublicKeyRequest
8413
8529
  * @returns GetPhoneEncryptionPublicKeyResponse
@@ -8570,7 +8686,12 @@ class Client extends openapi_client_1.default {
8570
8686
  return await this.getWhatsappConnectionCatalogWithOptions(request, runtime);
8571
8687
  }
8572
8688
  /**
8573
- * 获取whatsapp节点信息发送消息健康度
8689
+ * Queries the messaging health status of different types of nodes.
8690
+ *
8691
+ * @remarks
8692
+ * ### [](#qps-)QPS limit
8693
+ * 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.
8694
+ * This operation will directly obtain data from Facebook, which sets an upper limit on the total number of calls for operations. We recommend that you take note of the limit when you call this operation.
8574
8695
  *
8575
8696
  * @param request - GetWhatsappHealthStatusRequest
8576
8697
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8623,7 +8744,12 @@ class Client extends openapi_client_1.default {
8623
8744
  return $tea.cast(await this.callApi(params, req, runtime), new GetWhatsappHealthStatusResponse({}));
8624
8745
  }
8625
8746
  /**
8626
- * 获取whatsapp节点信息发送消息健康度
8747
+ * Queries the messaging health status of different types of nodes.
8748
+ *
8749
+ * @remarks
8750
+ * ### [](#qps-)QPS limit
8751
+ * 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.
8752
+ * This operation will directly obtain data from Facebook, which sets an upper limit on the total number of calls for operations. We recommend that you take note of the limit when you call this operation.
8627
8753
  *
8628
8754
  * @param request - GetWhatsappHealthStatusRequest
8629
8755
  * @returns GetWhatsappHealthStatusResponse
@@ -8813,7 +8939,7 @@ class Client extends openapi_client_1.default {
8813
8939
  return await this.listFlowWithOptions(request, runtime);
8814
8940
  }
8815
8941
  /**
8816
- * 查询消息发送二维码
8942
+ * Queries the information about a list of quick-response (QR) codes that contain messages.
8817
8943
  *
8818
8944
  * @param request - ListPhoneMessageQrdlRequest
8819
8945
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8845,7 +8971,7 @@ class Client extends openapi_client_1.default {
8845
8971
  return $tea.cast(await this.callApi(params, req, runtime), new ListPhoneMessageQrdlResponse({}));
8846
8972
  }
8847
8973
  /**
8848
- * 查询消息发送二维码
8974
+ * Queries the information about a list of quick-response (QR) codes that contain messages.
8849
8975
  *
8850
8976
  * @param request - ListPhoneMessageQrdlRequest
8851
8977
  * @returns ListPhoneMessageQrdlResponse
@@ -9730,7 +9856,8 @@ class Client extends openapi_client_1.default {
9730
9856
  * Submits the agreement information for independent software vendor (ISV) customers.
9731
9857
  *
9732
9858
  * @remarks
9733
- * 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.
9859
+ * 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.
9860
+ * * After you call the [GetChatappUploadAuthorization](~~GetChatappUploadAuthorization~~) operation to obtain the authentication information for uploading the file to Object Storage Service (OSS), you can use the authentication information to upload the file to the OSS server. To upload the file, you can call the SDK provided by OSS. When you upload the file, set the value of the key to the value of `Dir + "/" + file name`, such as C200293990209/isvTerms.pdf. The value of Dir is obtained from the [GetChatappUploadAuthorization](~~GetChatappUploadAuthorization~~) operation. The value of IsvTerms is obtained from the PutObject operation.
9734
9861
  *
9735
9862
  * @param request - SubmitIsvCustomerTermsRequest
9736
9863
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9780,7 +9907,8 @@ class Client extends openapi_client_1.default {
9780
9907
  * Submits the agreement information for independent software vendor (ISV) customers.
9781
9908
  *
9782
9909
  * @remarks
9783
- * 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.
9910
+ * 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.
9911
+ * * After you call the [GetChatappUploadAuthorization](~~GetChatappUploadAuthorization~~) operation to obtain the authentication information for uploading the file to Object Storage Service (OSS), you can use the authentication information to upload the file to the OSS server. To upload the file, you can call the SDK provided by OSS. When you upload the file, set the value of the key to the value of `Dir + "/" + file name`, such as C200293990209/isvTerms.pdf. The value of Dir is obtained from the [GetChatappUploadAuthorization](~~GetChatappUploadAuthorization~~) operation. The value of IsvTerms is obtained from the PutObject operation.
9784
9912
  *
9785
9913
  * @param request - SubmitIsvCustomerTermsRequest
9786
9914
  * @returns SubmitIsvCustomerTermsResponse
@@ -9789,6 +9917,80 @@ class Client extends openapi_client_1.default {
9789
9917
  let runtime = new $Util.RuntimeOptions({});
9790
9918
  return await this.submitIsvCustomerTermsWithOptions(request, runtime);
9791
9919
  }
9920
+ /**
9921
+ * Trigger an Online ChatFlow
9922
+ *
9923
+ * @remarks
9924
+ * After triggering an online flow, if your flow contains components that incur costs for cloud products, such as message sending or function calls, please ensure you fully understand the billing methods and prices of the related products before using this interface.
9925
+ *
9926
+ * @param tmpReq - TriggerChatFlowRequest
9927
+ * @param runtime - runtime options for this request RuntimeOptions
9928
+ * @returns TriggerChatFlowResponse
9929
+ */
9930
+ async triggerChatFlowWithOptions(tmpReq, runtime) {
9931
+ tea_util_1.default.validateModel(tmpReq);
9932
+ let request = new TriggerChatFlowShrinkRequest({});
9933
+ openapi_util_1.default.convert(tmpReq, request);
9934
+ if (!tea_util_1.default.isUnset(tmpReq.data)) {
9935
+ request.dataShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.data, "Data", "json");
9936
+ }
9937
+ let query = {};
9938
+ if (!tea_util_1.default.isUnset(request.claimTimeMillis)) {
9939
+ query["ClaimTimeMillis"] = request.claimTimeMillis;
9940
+ }
9941
+ if (!tea_util_1.default.isUnset(request.dataShrink)) {
9942
+ query["Data"] = request.dataShrink;
9943
+ }
9944
+ if (!tea_util_1.default.isUnset(request.discardTimeMillis)) {
9945
+ query["DiscardTimeMillis"] = request.discardTimeMillis;
9946
+ }
9947
+ if (!tea_util_1.default.isUnset(request.flowCode)) {
9948
+ query["FlowCode"] = request.flowCode;
9949
+ }
9950
+ if (!tea_util_1.default.isUnset(request.outId)) {
9951
+ query["OutId"] = request.outId;
9952
+ }
9953
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
9954
+ query["OwnerId"] = request.ownerId;
9955
+ }
9956
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
9957
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
9958
+ }
9959
+ if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
9960
+ query["ResourceOwnerId"] = request.resourceOwnerId;
9961
+ }
9962
+ if (!tea_util_1.default.isUnset(request.uuid)) {
9963
+ query["Uuid"] = request.uuid;
9964
+ }
9965
+ let req = new $OpenApi.OpenApiRequest({
9966
+ query: openapi_util_1.default.query(query),
9967
+ });
9968
+ let params = new $OpenApi.Params({
9969
+ action: "TriggerChatFlow",
9970
+ version: "2020-06-06",
9971
+ protocol: "HTTPS",
9972
+ pathname: "/",
9973
+ method: "POST",
9974
+ authType: "AK",
9975
+ style: "RPC",
9976
+ reqBodyType: "formData",
9977
+ bodyType: "json",
9978
+ });
9979
+ return $tea.cast(await this.callApi(params, req, runtime), new TriggerChatFlowResponse({}));
9980
+ }
9981
+ /**
9982
+ * Trigger an Online ChatFlow
9983
+ *
9984
+ * @remarks
9985
+ * After triggering an online flow, if your flow contains components that incur costs for cloud products, such as message sending or function calls, please ensure you fully understand the billing methods and prices of the related products before using this interface.
9986
+ *
9987
+ * @param request - TriggerChatFlowRequest
9988
+ * @returns TriggerChatFlowResponse
9989
+ */
9990
+ async triggerChatFlow(request) {
9991
+ let runtime = new $Util.RuntimeOptions({});
9992
+ return await this.triggerChatFlowWithOptions(request, runtime);
9993
+ }
9792
9994
  /**
9793
9995
  * Modifies the callback URL of an account.
9794
9996
  *
@@ -9907,7 +10109,12 @@ class Client extends openapi_client_1.default {
9907
10109
  return await this.updateCommerceSettingWithOptions(request, runtime);
9908
10110
  }
9909
10111
  /**
9910
- * 更新号码欢迎消息、命令等属性
10112
+ * Modifies welcoming messages, opening remarks, and commands for a phone number.
10113
+ *
10114
+ * @remarks
10115
+ * ### [](#qps-)QPS limit
10116
+ * 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.
10117
+ * This operation will directly obtain data from Facebook, which sets an upper limit on the total number of calls for operations. We recommend that you take note of the limit when you call this operation.
9911
10118
  *
9912
10119
  * @param tmpReq - UpdateConversationalAutomationRequest
9913
10120
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9965,7 +10172,12 @@ class Client extends openapi_client_1.default {
9965
10172
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateConversationalAutomationResponse({}));
9966
10173
  }
9967
10174
  /**
9968
- * 更新号码欢迎消息、命令等属性
10175
+ * Modifies welcoming messages, opening remarks, and commands for a phone number.
10176
+ *
10177
+ * @remarks
10178
+ * ### [](#qps-)QPS limit
10179
+ * 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.
10180
+ * This operation will directly obtain data from Facebook, which sets an upper limit on the total number of calls for operations. We recommend that you take note of the limit when you call this operation.
9969
10181
  *
9970
10182
  * @param request - UpdateConversationalAutomationRequest
9971
10183
  * @returns UpdateConversationalAutomationResponse
@@ -9975,7 +10187,7 @@ class Client extends openapi_client_1.default {
9975
10187
  return await this.updateConversationalAutomationWithOptions(request, runtime);
9976
10188
  }
9977
10189
  /**
9978
- * 更新flow的表单内容
10190
+ * Updates a Flow by using JSON content.
9979
10191
  *
9980
10192
  * @param request - UpdateFlowJSONAssetRequest
9981
10193
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10010,7 +10222,7 @@ class Client extends openapi_client_1.default {
10010
10222
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateFlowJSONAssetResponse({}));
10011
10223
  }
10012
10224
  /**
10013
- * 更新flow的表单内容
10225
+ * Updates a Flow by using JSON content.
10014
10226
  *
10015
10227
  * @param request - UpdateFlowJSONAssetRequest
10016
10228
  * @returns UpdateFlowJSONAssetResponse
@@ -10020,7 +10232,7 @@ class Client extends openapi_client_1.default {
10020
10232
  return await this.updateFlowJSONAssetWithOptions(request, runtime);
10021
10233
  }
10022
10234
  /**
10023
- * 更新号码的公钥
10235
+ * Updates the encryption public key of a phone number.
10024
10236
  *
10025
10237
  * @param request - UpdatePhoneEncryptionPublicKeyRequest
10026
10238
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10055,7 +10267,7 @@ class Client extends openapi_client_1.default {
10055
10267
  return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneEncryptionPublicKeyResponse({}));
10056
10268
  }
10057
10269
  /**
10058
- * 更新号码的公钥
10270
+ * Updates the encryption public key of a phone number.
10059
10271
  *
10060
10272
  * @param request - UpdatePhoneEncryptionPublicKeyRequest
10061
10273
  * @returns UpdatePhoneEncryptionPublicKeyResponse
@@ -10065,7 +10277,7 @@ class Client extends openapi_client_1.default {
10065
10277
  return await this.updatePhoneEncryptionPublicKeyWithOptions(request, runtime);
10066
10278
  }
10067
10279
  /**
10068
- * 修改消息发送二维码
10280
+ * Modifies a quick-response (QR) code that contains a message.
10069
10281
  *
10070
10282
  * @param request - UpdatePhoneMessageQrdlRequest
10071
10283
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10106,7 +10318,7 @@ class Client extends openapi_client_1.default {
10106
10318
  return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneMessageQrdlResponse({}));
10107
10319
  }
10108
10320
  /**
10109
- * 修改消息发送二维码
10321
+ * Modifies a quick-response (QR) code that contains a message.
10110
10322
  *
10111
10323
  * @param request - UpdatePhoneMessageQrdlRequest
10112
10324
  * @returns UpdatePhoneMessageQrdlResponse
@@ -10117,8 +10329,8 @@ class Client extends openapi_client_1.default {
10117
10329
  }
10118
10330
  /**
10119
10331
  * The HTTP status code returned.
10120
- * * A value of OK indicates that the call is successful.
10121
- * * Other values indicate that the call fails. For more information, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
10332
+ * \\* A value of OK indicates that the call is successful.
10333
+ * \\* Other values indicate that the call fails. For more information, see [Error codes]\\(~~196974~~).
10122
10334
  *
10123
10335
  * @remarks
10124
10336
  * The error message returned.
@@ -10166,8 +10378,8 @@ class Client extends openapi_client_1.default {
10166
10378
  }
10167
10379
  /**
10168
10380
  * The HTTP status code returned.
10169
- * * A value of OK indicates that the call is successful.
10170
- * * Other values indicate that the call fails. For more information, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
10381
+ * \\* A value of OK indicates that the call is successful.
10382
+ * \\* Other values indicate that the call fails. For more information, see [Error codes]\\(~~196974~~).
10171
10383
  *
10172
10384
  * @remarks
10173
10385
  * The error message returned.