@alicloud/cams20200606 2.2.0 → 3.1.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.d.ts +385 -42
- package/dist/client.js +2348 -620
- package/dist/client.js.map +1 -1
- package/dist/models/ChatappBindWabaResponseBody.d.ts +30 -1
- package/dist/models/ChatappBindWabaResponseBody.js +25 -3
- package/dist/models/ChatappBindWabaResponseBody.js.map +1 -1
- package/dist/models/ChatappEmbedSignUpRequest.d.ts +4 -3
- package/dist/models/ChatappEmbedSignUpRequest.js +6 -0
- package/dist/models/ChatappEmbedSignUpRequest.js.map +1 -1
- package/dist/models/ChatappEmbedSignUpResponseBody.d.ts +52 -1
- package/dist/models/ChatappEmbedSignUpResponseBody.js +29 -3
- package/dist/models/ChatappEmbedSignUpResponseBody.js.map +1 -1
- package/dist/models/ChatappMigrationRegisterRequest.d.ts +3 -0
- package/dist/models/ChatappMigrationRegisterRequest.js +6 -0
- package/dist/models/ChatappMigrationRegisterRequest.js.map +1 -1
- package/dist/models/ChatappMigrationVerifiedRequest.d.ts +3 -0
- package/dist/models/ChatappMigrationVerifiedRequest.js +6 -0
- package/dist/models/ChatappMigrationVerifiedRequest.js.map +1 -1
- package/dist/models/ChatappMigrationVerifiedResponseBody.d.ts +28 -1
- package/dist/models/ChatappMigrationVerifiedResponseBody.js +23 -3
- package/dist/models/ChatappMigrationVerifiedResponseBody.js.map +1 -1
- package/dist/models/ChatappPhoneNumberDeregisterRequest.d.ts +5 -6
- package/dist/models/ChatappPhoneNumberDeregisterRequest.js +6 -0
- package/dist/models/ChatappPhoneNumberDeregisterRequest.js.map +1 -1
- package/dist/models/ChatappSyncPhoneNumberResponseBody.d.ts +157 -2
- package/dist/models/ChatappSyncPhoneNumberResponseBody.js +45 -3
- package/dist/models/ChatappSyncPhoneNumberResponseBody.js.map +1 -1
- package/dist/models/ChatappVerifyAndRegisterResponseBody.d.ts +13 -0
- package/dist/models/ChatappVerifyAndRegisterResponseBody.js.map +1 -1
- package/dist/models/CreateChatFlowByImportRequest.d.ts +58 -0
- package/dist/models/CreateChatFlowByImportRequest.js +75 -0
- package/dist/models/CreateChatFlowByImportRequest.js.map +1 -0
- package/dist/models/CreateChatFlowByImportResponse.d.ts +19 -0
- package/dist/models/CreateChatFlowByImportResponse.js +69 -0
- package/dist/models/CreateChatFlowByImportResponse.js.map +1 -0
- package/dist/models/{UpdatePhoneMessageQrdlResponseBodyData.d.ts → CreateChatFlowByImportResponseBody.d.ts} +21 -19
- package/dist/models/{BeeBotAssociateResponseBody.js → CreateChatFlowByImportResponseBody.js} +9 -8
- package/dist/models/CreateChatFlowByImportResponseBody.js.map +1 -0
- package/dist/models/CreateChatFlowByImportShrinkRequest.d.ts +56 -0
- package/dist/models/CreateChatFlowByImportShrinkRequest.js +72 -0
- package/dist/models/CreateChatFlowByImportShrinkRequest.js.map +1 -0
- package/dist/models/{UpdateFlowJsonassetResponseBodyData.d.ts → CreateChatFlowLogSettingRequest.d.ts} +7 -4
- package/dist/models/{BeeBotAssociateResponseBodyDataAssociate.js → CreateChatFlowLogSettingRequest.js} +12 -10
- package/dist/models/CreateChatFlowLogSettingRequest.js.map +1 -0
- package/dist/models/CreateChatFlowLogSettingResponse.d.ts +19 -0
- package/dist/models/CreateChatFlowLogSettingResponse.js +69 -0
- package/dist/models/CreateChatFlowLogSettingResponse.js.map +1 -0
- package/dist/models/CreateChatFlowLogSettingResponseBody.d.ts +63 -0
- package/dist/models/{ListProductResponseBodyModel.js → CreateChatFlowLogSettingResponseBody.js} +17 -13
- package/dist/models/CreateChatFlowLogSettingResponseBody.js.map +1 -0
- package/dist/models/CreateChatFlowRequest.d.ts +58 -0
- package/dist/models/CreateChatFlowRequest.js +75 -0
- package/dist/models/CreateChatFlowRequest.js.map +1 -0
- package/dist/models/CreateChatFlowResponse.d.ts +19 -0
- package/dist/models/CreateChatFlowResponse.js +69 -0
- package/dist/models/CreateChatFlowResponse.js.map +1 -0
- package/dist/models/CreateChatFlowResponseBody.d.ts +67 -0
- package/dist/models/CreateChatFlowResponseBody.js +76 -0
- package/dist/models/CreateChatFlowResponseBody.js.map +1 -0
- package/dist/models/CreateChatFlowShrinkRequest.d.ts +56 -0
- package/dist/models/{SendChatappMessageRequestProductActionSections.js → CreateChatFlowShrinkRequest.js} +18 -10
- package/dist/models/CreateChatFlowShrinkRequest.js.map +1 -0
- package/dist/models/CreateChatappMigrationInitiateRequest.d.ts +3 -0
- package/dist/models/CreateChatappMigrationInitiateRequest.js +6 -0
- package/dist/models/CreateChatappMigrationInitiateRequest.js.map +1 -1
- package/dist/models/CreateChatappMigrationInitiateResponseBody.d.ts +36 -1
- package/dist/models/CreateChatappMigrationInitiateResponseBody.js +25 -3
- package/dist/models/CreateChatappMigrationInitiateResponseBody.js.map +1 -1
- package/dist/models/CreateChatappTemplateRequest.d.ts +467 -1
- package/dist/models/CreateChatappTemplateRequest.js +201 -3
- package/dist/models/CreateChatappTemplateRequest.js.map +1 -1
- package/dist/models/CreateChatappTemplateResponseBody.d.ts +28 -1
- package/dist/models/CreateChatappTemplateResponseBody.js +23 -3
- package/dist/models/CreateChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/CreateFlowRequest.d.ts +5 -9
- package/dist/models/CreateFlowRequest.js +6 -0
- package/dist/models/CreateFlowRequest.js.map +1 -1
- package/dist/models/CreateFlowResponseBody.d.ts +34 -1
- package/dist/models/CreateFlowResponseBody.js +30 -3
- package/dist/models/CreateFlowResponseBody.js.map +1 -1
- package/dist/models/CreateFlowShrinkRequest.d.ts +5 -9
- package/dist/models/CreateFlowShrinkRequest.js +6 -0
- package/dist/models/CreateFlowShrinkRequest.js.map +1 -1
- package/dist/models/CreateFlowVersionRequest.d.ts +58 -0
- package/dist/models/CreateFlowVersionRequest.js +75 -0
- package/dist/models/CreateFlowVersionRequest.js.map +1 -0
- package/dist/models/CreateFlowVersionResponse.d.ts +19 -0
- package/dist/models/CreateFlowVersionResponse.js +69 -0
- package/dist/models/CreateFlowVersionResponse.js.map +1 -0
- package/dist/models/CreateFlowVersionResponseBody.d.ts +63 -0
- package/dist/models/CreateFlowVersionResponseBody.js +71 -0
- package/dist/models/CreateFlowVersionResponseBody.js.map +1 -0
- package/dist/models/CreateFlowVersionShrinkRequest.d.ts +56 -0
- package/dist/models/CreateFlowVersionShrinkRequest.js +72 -0
- package/dist/models/CreateFlowVersionShrinkRequest.js.map +1 -0
- package/dist/models/CreatePhoneMessageQrdlRequest.d.ts +7 -13
- package/dist/models/CreatePhoneMessageQrdlRequest.js +6 -0
- package/dist/models/CreatePhoneMessageQrdlRequest.js.map +1 -1
- package/dist/models/CreatePhoneMessageQrdlResponseBody.d.ts +61 -1
- package/dist/models/CreatePhoneMessageQrdlResponseBody.js +33 -3
- package/dist/models/CreatePhoneMessageQrdlResponseBody.js.map +1 -1
- package/dist/models/DeleteChatFlowRequest.d.ts +42 -0
- package/dist/models/DeleteChatFlowRequest.js +71 -0
- package/dist/models/DeleteChatFlowRequest.js.map +1 -0
- package/dist/models/DeleteChatFlowResponse.d.ts +19 -0
- package/dist/models/DeleteChatFlowResponse.js +69 -0
- package/dist/models/DeleteChatFlowResponse.js.map +1 -0
- package/dist/models/{CreatePhoneMessageQrdlResponseBodyData.d.ts → DeleteChatFlowResponseBody.d.ts} +21 -19
- package/dist/models/DeleteChatFlowResponseBody.js +71 -0
- package/dist/models/DeleteChatFlowResponseBody.js.map +1 -0
- package/dist/models/DeleteChatFlowShrinkRequest.d.ts +40 -0
- package/dist/models/DeleteChatFlowShrinkRequest.js +68 -0
- package/dist/models/DeleteChatFlowShrinkRequest.js.map +1 -0
- package/dist/models/DeleteChatGroupParticipantsRequest.d.ts +17 -1
- package/dist/models/DeleteChatGroupParticipantsRequest.js +21 -3
- package/dist/models/DeleteChatGroupParticipantsRequest.js.map +1 -1
- package/dist/models/DeleteFlowRequest.d.ts +5 -7
- package/dist/models/DeleteFlowRequest.js +6 -0
- package/dist/models/DeleteFlowRequest.js.map +1 -1
- package/dist/models/DeleteFlowResponseBody.d.ts +1 -0
- package/dist/models/DeleteFlowResponseBody.js +2 -0
- package/dist/models/DeleteFlowResponseBody.js.map +1 -1
- package/dist/models/DeleteFlowVersionRequest.d.ts +50 -0
- package/dist/models/{BeeBotAssociateRequest.js → DeleteFlowVersionRequest.js} +20 -20
- package/dist/models/DeleteFlowVersionRequest.js.map +1 -0
- package/dist/models/DeleteFlowVersionResponse.d.ts +19 -0
- package/dist/models/DeleteFlowVersionResponse.js +69 -0
- package/dist/models/DeleteFlowVersionResponse.js.map +1 -0
- package/dist/models/DeleteFlowVersionResponseBody.d.ts +63 -0
- package/dist/models/DeleteFlowVersionResponseBody.js +71 -0
- package/dist/models/DeleteFlowVersionResponseBody.js.map +1 -0
- package/dist/models/DeleteFlowVersionShrinkRequest.d.ts +48 -0
- package/dist/models/{BeeBotAssociateShrinkRequest.js → DeleteFlowVersionShrinkRequest.js} +18 -18
- package/dist/models/DeleteFlowVersionShrinkRequest.js.map +1 -0
- package/dist/models/DeletePhoneMessageQrdlRequest.d.ts +6 -10
- package/dist/models/DeletePhoneMessageQrdlRequest.js +6 -0
- package/dist/models/DeletePhoneMessageQrdlRequest.js.map +1 -1
- package/dist/models/DeletePhoneMessageQrdlResponseBody.d.ts +1 -0
- package/dist/models/DeletePhoneMessageQrdlResponseBody.js +2 -0
- package/dist/models/DeletePhoneMessageQrdlResponseBody.js.map +1 -1
- package/dist/models/DeprecateFlowRequest.d.ts +5 -7
- package/dist/models/DeprecateFlowRequest.js +6 -0
- package/dist/models/DeprecateFlowRequest.js.map +1 -1
- package/dist/models/DeprecateFlowResponseBody.d.ts +1 -0
- package/dist/models/DeprecateFlowResponseBody.js +2 -0
- package/dist/models/DeprecateFlowResponseBody.js.map +1 -1
- package/dist/models/EnableWhatsappRoimetricRequest.d.ts +3 -0
- package/dist/models/EnableWhatsappRoimetricRequest.js +6 -0
- package/dist/models/EnableWhatsappRoimetricRequest.js.map +1 -1
- package/dist/models/FlowBindPhoneRequest.d.ts +69 -0
- package/dist/models/FlowBindPhoneRequest.js +77 -0
- package/dist/models/FlowBindPhoneRequest.js.map +1 -0
- package/dist/models/FlowBindPhoneResponse.d.ts +19 -0
- package/dist/models/{CreateFlowResponseBodyData.js → FlowBindPhoneResponse.js} +16 -12
- package/dist/models/FlowBindPhoneResponse.js.map +1 -0
- package/dist/models/FlowBindPhoneResponseBody.d.ts +61 -0
- package/dist/models/FlowBindPhoneResponseBody.js +68 -0
- package/dist/models/FlowBindPhoneResponseBody.js.map +1 -0
- package/dist/models/FlowBindPhoneShrinkRequest.d.ts +69 -0
- package/dist/models/{ChatappBindWabaResponseBodyData.js → FlowBindPhoneShrinkRequest.js} +20 -6
- package/dist/models/FlowBindPhoneShrinkRequest.js.map +1 -0
- package/dist/models/FlowRebindPhoneRequest.d.ts +69 -0
- package/dist/models/FlowRebindPhoneRequest.js +77 -0
- package/dist/models/FlowRebindPhoneRequest.js.map +1 -0
- package/dist/models/{BeeBotAssociateResponse.d.ts → FlowRebindPhoneResponse.d.ts} +3 -3
- package/dist/models/{BeeBotAssociateResponse.js → FlowRebindPhoneResponse.js} +6 -6
- package/dist/models/{BeeBotAssociateResponse.js.map → FlowRebindPhoneResponse.js.map} +1 -1
- package/dist/models/{ListPhoneMessageQrdlResponseBodyData.d.ts → FlowRebindPhoneResponseBody.d.ts} +19 -19
- package/dist/models/FlowRebindPhoneResponseBody.js +68 -0
- package/dist/models/FlowRebindPhoneResponseBody.js.map +1 -0
- package/dist/models/FlowRebindPhoneShrinkRequest.d.ts +69 -0
- package/dist/models/FlowRebindPhoneShrinkRequest.js +74 -0
- package/dist/models/FlowRebindPhoneShrinkRequest.js.map +1 -0
- package/dist/models/FlowUnbindPhoneRequest.d.ts +47 -0
- package/dist/models/FlowUnbindPhoneRequest.js +73 -0
- package/dist/models/FlowUnbindPhoneRequest.js.map +1 -0
- package/dist/models/FlowUnbindPhoneResponse.d.ts +19 -0
- package/dist/models/{BeeBotAssociateResponseBodyData.js → FlowUnbindPhoneResponse.js} +16 -13
- package/dist/models/FlowUnbindPhoneResponse.js.map +1 -0
- package/dist/models/FlowUnbindPhoneResponseBody.d.ts +53 -0
- package/dist/models/{BeeBotChatResponseBodyDataMessagesKnowledgeRelatedKnowledges.js → FlowUnbindPhoneResponseBody.js} +14 -8
- package/dist/models/FlowUnbindPhoneResponseBody.js.map +1 -0
- package/dist/models/FlowUnbindPhoneShrinkRequest.d.ts +47 -0
- package/dist/models/FlowUnbindPhoneShrinkRequest.js +70 -0
- package/dist/models/FlowUnbindPhoneShrinkRequest.js.map +1 -0
- package/dist/models/GetChatFlowMetricRequest.d.ts +79 -0
- package/dist/models/{BeeBotChatRequest.js → GetChatFlowMetricRequest.js} +30 -30
- package/dist/models/GetChatFlowMetricRequest.js.map +1 -0
- package/dist/models/GetChatFlowMetricResponse.d.ts +19 -0
- package/dist/models/GetChatFlowMetricResponse.js +69 -0
- package/dist/models/GetChatFlowMetricResponse.js.map +1 -0
- package/dist/models/GetChatFlowMetricResponseBody.d.ts +63 -0
- package/dist/models/{BeeBotChatResponseBody.js → GetChatFlowMetricResponseBody.js} +9 -8
- package/dist/models/GetChatFlowMetricResponseBody.js.map +1 -0
- package/dist/models/GetChatFlowMetricShrinkRequest.d.ts +75 -0
- package/dist/models/GetChatFlowMetricShrinkRequest.js +78 -0
- package/dist/models/GetChatFlowMetricShrinkRequest.js.map +1 -0
- package/dist/models/{ListChatappTemplateRequestPage.d.ts → GetChatFlowTemplateRequest.d.ts} +10 -9
- package/dist/models/{CreateChatappMigrationInitiateResponseBodyData.js → GetChatFlowTemplateRequest.js} +13 -9
- package/dist/models/GetChatFlowTemplateRequest.js.map +1 -0
- package/dist/models/GetChatFlowTemplateResponse.d.ts +19 -0
- package/dist/models/GetChatFlowTemplateResponse.js +69 -0
- package/dist/models/GetChatFlowTemplateResponse.js.map +1 -0
- package/dist/models/GetChatFlowTemplateResponseBody.d.ts +80 -0
- package/dist/models/GetChatFlowTemplateResponseBody.js +93 -0
- package/dist/models/GetChatFlowTemplateResponseBody.js.map +1 -0
- package/dist/models/GetChatappPhoneNumberMetricRequest.d.ts +3 -0
- package/dist/models/GetChatappPhoneNumberMetricRequest.js +6 -0
- package/dist/models/GetChatappPhoneNumberMetricRequest.js.map +1 -1
- package/dist/models/GetChatappPhoneNumberMetricResponseBody.d.ts +65 -1
- package/dist/models/GetChatappPhoneNumberMetricResponseBody.js +31 -3
- package/dist/models/GetChatappPhoneNumberMetricResponseBody.js.map +1 -1
- package/dist/models/GetChatappTemplateDetailResponseBody.d.ts +647 -1
- package/dist/models/GetChatappTemplateDetailResponseBody.js +292 -3
- package/dist/models/GetChatappTemplateDetailResponseBody.js.map +1 -1
- package/dist/models/GetChatappTemplateMetricRequest.d.ts +3 -0
- package/dist/models/GetChatappTemplateMetricRequest.js +6 -0
- package/dist/models/GetChatappTemplateMetricRequest.js.map +1 -1
- package/dist/models/GetChatappTemplateMetricResponseBody.d.ts +115 -1
- package/dist/models/GetChatappTemplateMetricResponseBody.js +61 -3
- package/dist/models/GetChatappTemplateMetricResponseBody.js.map +1 -1
- package/dist/models/GetChatappUploadAuthorizationRequest.d.ts +3 -0
- package/dist/models/GetChatappUploadAuthorizationRequest.js +6 -0
- package/dist/models/GetChatappUploadAuthorizationRequest.js.map +1 -1
- package/dist/models/GetChatappUploadAuthorizationResponseBody.d.ts +68 -1
- package/dist/models/GetChatappUploadAuthorizationResponseBody.js +33 -3
- package/dist/models/GetChatappUploadAuthorizationResponseBody.js.map +1 -1
- package/dist/models/GetChatappVerifyCodeResponseBody.d.ts +13 -0
- package/dist/models/GetChatappVerifyCodeResponseBody.js.map +1 -1
- package/dist/models/GetCommerceSettingResponseBody.d.ts +34 -1
- package/dist/models/GetCommerceSettingResponseBody.js +23 -3
- package/dist/models/GetCommerceSettingResponseBody.js.map +1 -1
- package/dist/models/GetConversationalAutomationResponseBody.d.ts +66 -1
- package/dist/models/GetConversationalAutomationResponseBody.js +54 -3
- package/dist/models/GetConversationalAutomationResponseBody.js.map +1 -1
- package/dist/models/GetFlowJsonassestRequest.d.ts +5 -10
- package/dist/models/GetFlowJsonassestRequest.js +6 -0
- package/dist/models/GetFlowJsonassestRequest.js.map +1 -1
- package/dist/models/GetFlowJsonassestResponseBody.d.ts +29 -1
- package/dist/models/GetFlowJsonassestResponseBody.js +25 -3
- package/dist/models/GetFlowJsonassestResponseBody.js.map +1 -1
- package/dist/models/GetFlowPreviewUrlRequest.d.ts +5 -7
- package/dist/models/GetFlowPreviewUrlRequest.js +6 -0
- package/dist/models/GetFlowPreviewUrlRequest.js.map +1 -1
- package/dist/models/GetFlowPreviewUrlResponseBody.d.ts +37 -1
- package/dist/models/GetFlowPreviewUrlResponseBody.js +27 -3
- package/dist/models/GetFlowPreviewUrlResponseBody.js.map +1 -1
- package/dist/models/GetFlowRequest.d.ts +5 -7
- package/dist/models/GetFlowRequest.js +6 -0
- package/dist/models/GetFlowRequest.js.map +1 -1
- package/dist/models/GetFlowResponseBody.d.ts +100 -1
- package/dist/models/GetFlowResponseBody.js +40 -3
- package/dist/models/GetFlowResponseBody.js.map +1 -1
- package/dist/models/GetMigrationVerifyCodeRequest.d.ts +3 -0
- package/dist/models/GetMigrationVerifyCodeRequest.js +6 -0
- package/dist/models/GetMigrationVerifyCodeRequest.js.map +1 -1
- package/dist/models/GetMigrationVerifyCodeResponseBody.d.ts +28 -1
- package/dist/models/GetMigrationVerifyCodeResponseBody.js +23 -3
- package/dist/models/GetMigrationVerifyCodeResponseBody.js.map +1 -1
- package/dist/models/GetPermissionByCodeRequest.d.ts +5 -11
- package/dist/models/GetPermissionByCodeRequest.js +6 -0
- package/dist/models/GetPermissionByCodeRequest.js.map +1 -1
- package/dist/models/GetPermissionByCodeResponseBody.d.ts +1 -0
- package/dist/models/GetPermissionByCodeResponseBody.js +2 -0
- package/dist/models/GetPermissionByCodeResponseBody.js.map +1 -1
- package/dist/models/GetPermissionByCodeShrinkRequest.d.ts +5 -11
- package/dist/models/GetPermissionByCodeShrinkRequest.js +6 -0
- package/dist/models/GetPermissionByCodeShrinkRequest.js.map +1 -1
- package/dist/models/GetPhoneEncryptionPublicKeyRequest.d.ts +5 -7
- package/dist/models/GetPhoneEncryptionPublicKeyRequest.js +6 -0
- package/dist/models/GetPhoneEncryptionPublicKeyRequest.js.map +1 -1
- package/dist/models/GetPhoneEncryptionPublicKeyResponseBody.d.ts +48 -1
- package/dist/models/GetPhoneEncryptionPublicKeyResponseBody.js +27 -3
- package/dist/models/GetPhoneEncryptionPublicKeyResponseBody.js.map +1 -1
- package/dist/models/GetPhoneNumberVerificationStatusRequest.d.ts +5 -6
- package/dist/models/GetPhoneNumberVerificationStatusRequest.js +6 -0
- package/dist/models/GetPhoneNumberVerificationStatusRequest.js.map +1 -1
- package/dist/models/GetPhoneNumberVerificationStatusResponseBody.d.ts +37 -1
- package/dist/models/GetPhoneNumberVerificationStatusResponseBody.js +27 -3
- package/dist/models/GetPhoneNumberVerificationStatusResponseBody.js.map +1 -1
- package/dist/models/GetPreValidatePhoneIdResponseBody.d.ts +28 -1
- package/dist/models/GetPreValidatePhoneIdResponseBody.js +23 -3
- package/dist/models/GetPreValidatePhoneIdResponseBody.js.map +1 -1
- package/dist/models/GetWhatsappHealthStatusResponseBody.d.ts +134 -1
- package/dist/models/GetWhatsappHealthStatusResponseBody.js +85 -3
- package/dist/models/GetWhatsappHealthStatusResponseBody.js.map +1 -1
- package/dist/models/IsvGetAppIdRequest.d.ts +10 -13
- package/dist/models/IsvGetAppIdRequest.js +8 -0
- package/dist/models/IsvGetAppIdRequest.js.map +1 -1
- package/dist/models/ListBindingRelationsForFlowVersionRequest.d.ts +42 -0
- package/dist/models/{ListProductResponseBodyModelPagingCursors.js → ListBindingRelationsForFlowVersionRequest.js} +14 -8
- package/dist/models/ListBindingRelationsForFlowVersionRequest.js.map +1 -0
- package/dist/models/ListBindingRelationsForFlowVersionResponse.d.ts +19 -0
- package/dist/models/ListBindingRelationsForFlowVersionResponse.js +69 -0
- package/dist/models/ListBindingRelationsForFlowVersionResponse.js.map +1 -0
- package/dist/models/{BeeBotChatResponseBody.d.ts → ListBindingRelationsForFlowVersionResponseBody.d.ts} +22 -9
- package/dist/models/{ListProductCatalogResponseBodyModel.js → ListBindingRelationsForFlowVersionResponseBody.js} +14 -10
- package/dist/models/ListBindingRelationsForFlowVersionResponseBody.js.map +1 -0
- package/dist/models/ListChatFlowRequest.d.ts +87 -0
- package/dist/models/ListChatFlowRequest.js +81 -0
- package/dist/models/ListChatFlowRequest.js.map +1 -0
- package/dist/models/{BeeBotChatResponse.d.ts → ListChatFlowResponse.d.ts} +3 -3
- package/dist/models/{BeeBotChatResponse.js → ListChatFlowResponse.js} +6 -6
- package/dist/models/ListChatFlowResponse.js.map +1 -0
- package/dist/models/ListChatFlowResponseBody.d.ts +63 -0
- package/dist/models/ListChatFlowResponseBody.js +71 -0
- package/dist/models/ListChatFlowResponseBody.js.map +1 -0
- package/dist/models/ListChatFlowShrinkRequest.d.ts +85 -0
- package/dist/models/ListChatFlowShrinkRequest.js +78 -0
- package/dist/models/ListChatFlowShrinkRequest.js.map +1 -0
- package/dist/models/ListChatFlowTemplateRequest.d.ts +64 -0
- package/dist/models/ListChatFlowTemplateRequest.js +72 -0
- package/dist/models/ListChatFlowTemplateRequest.js.map +1 -0
- package/dist/models/ListChatFlowTemplateResponse.d.ts +19 -0
- package/dist/models/ListChatFlowTemplateResponse.js +69 -0
- package/dist/models/ListChatFlowTemplateResponse.js.map +1 -0
- package/dist/models/ListChatFlowTemplateResponseBody.d.ts +80 -0
- package/dist/models/ListChatFlowTemplateResponseBody.js +93 -0
- package/dist/models/ListChatFlowTemplateResponseBody.js.map +1 -0
- package/dist/models/ListChatGroupParticipantsRequest.d.ts +22 -1
- package/dist/models/ListChatGroupParticipantsRequest.js +23 -3
- package/dist/models/ListChatGroupParticipantsRequest.js.map +1 -1
- package/dist/models/ListChatGroupParticipantsResponseBody.d.ts +35 -1
- package/dist/models/ListChatGroupParticipantsResponseBody.js +45 -3
- package/dist/models/ListChatGroupParticipantsResponseBody.js.map +1 -1
- package/dist/models/ListChatGroupRequest.d.ts +28 -1
- package/dist/models/ListChatGroupRequest.js +23 -3
- package/dist/models/ListChatGroupRequest.js.map +1 -1
- package/dist/models/ListChatGroupResponseBody.d.ts +65 -1
- package/dist/models/ListChatGroupResponseBody.js +57 -3
- package/dist/models/ListChatGroupResponseBody.js.map +1 -1
- package/dist/models/ListChatappMessageRequest.d.ts +113 -0
- package/dist/models/ListChatappMessageRequest.js +110 -0
- package/dist/models/ListChatappMessageRequest.js.map +1 -0
- package/dist/models/ListChatappMessageResponse.d.ts +19 -0
- package/dist/models/ListChatappMessageResponse.js +69 -0
- package/dist/models/ListChatappMessageResponse.js.map +1 -0
- package/dist/models/ListChatappMessageResponseBody.d.ts +177 -0
- package/dist/models/ListChatappMessageResponseBody.js +140 -0
- package/dist/models/ListChatappMessageResponseBody.js.map +1 -0
- package/dist/models/ListChatappMessageShrinkRequest.d.ts +85 -0
- package/dist/models/{ListChatGroupResponseBodyDataList.js → ListChatappMessageShrinkRequest.js} +32 -16
- package/dist/models/ListChatappMessageShrinkRequest.js.map +1 -0
- package/dist/models/ListChatappTemplateRequest.d.ts +44 -11
- package/dist/models/ListChatappTemplateRequest.js +23 -3
- package/dist/models/ListChatappTemplateRequest.js.map +1 -1
- package/dist/models/ListChatappTemplateResponseBody.d.ts +105 -3
- package/dist/models/ListChatappTemplateResponseBody.js +35 -3
- package/dist/models/ListChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/ListChatappTemplateShrinkRequest.d.ts +12 -10
- package/dist/models/ListChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/ListFlowNodePrototypeV2request.d.ts +50 -0
- package/dist/models/ListFlowNodePrototypeV2request.js +72 -0
- package/dist/models/ListFlowNodePrototypeV2request.js.map +1 -0
- package/dist/models/ListFlowNodePrototypeV2response.d.ts +19 -0
- package/dist/models/ListFlowNodePrototypeV2response.js +69 -0
- package/dist/models/ListFlowNodePrototypeV2response.js.map +1 -0
- package/dist/models/ListFlowNodePrototypeV2responseBody.d.ts +76 -0
- package/dist/models/ListFlowNodePrototypeV2responseBody.js +118 -0
- package/dist/models/ListFlowNodePrototypeV2responseBody.js.map +1 -0
- package/dist/models/ListFlowRequest.d.ts +19 -13
- package/dist/models/ListFlowRequest.js +29 -3
- package/dist/models/ListFlowRequest.js.map +1 -1
- package/dist/models/ListFlowResponseBody.d.ts +34 -1
- package/dist/models/ListFlowResponseBody.js +30 -3
- package/dist/models/ListFlowResponseBody.js.map +1 -1
- package/dist/models/ListFlowShrinkRequest.d.ts +5 -12
- package/dist/models/ListFlowShrinkRequest.js +6 -0
- package/dist/models/ListFlowShrinkRequest.js.map +1 -1
- package/dist/models/ListFlowVersionRequest.d.ts +66 -0
- package/dist/models/ListFlowVersionRequest.js +77 -0
- package/dist/models/ListFlowVersionRequest.js.map +1 -0
- package/dist/models/ListFlowVersionResponse.d.ts +19 -0
- package/dist/models/ListFlowVersionResponse.js +69 -0
- package/dist/models/ListFlowVersionResponse.js.map +1 -0
- package/dist/models/{QueryPhoneBusinessProfileResponseBodyData.d.ts → ListFlowVersionResponseBody.d.ts} +21 -24
- package/dist/models/ListFlowVersionResponseBody.js +71 -0
- package/dist/models/ListFlowVersionResponseBody.js.map +1 -0
- package/dist/models/ListFlowVersionShrinkRequest.d.ts +64 -0
- package/dist/models/ListFlowVersionShrinkRequest.js +74 -0
- package/dist/models/ListFlowVersionShrinkRequest.js.map +1 -0
- package/dist/models/ListPhoneMessageQrdlRequest.d.ts +5 -7
- package/dist/models/ListPhoneMessageQrdlRequest.js +6 -0
- package/dist/models/ListPhoneMessageQrdlRequest.js.map +1 -1
- package/dist/models/ListPhoneMessageQrdlResponseBody.d.ts +61 -1
- package/dist/models/ListPhoneMessageQrdlResponseBody.js +33 -3
- package/dist/models/ListPhoneMessageQrdlResponseBody.js.map +1 -1
- package/dist/models/ListProductCatalogResponseBody.d.ts +69 -1
- package/dist/models/ListProductCatalogResponseBody.js +72 -3
- package/dist/models/ListProductCatalogResponseBody.js.map +1 -1
- package/dist/models/ListProductResponseBody.d.ts +69 -1
- package/dist/models/ListProductResponseBody.js +72 -3
- package/dist/models/ListProductResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplateRequest.d.ts +469 -1
- package/dist/models/ModifyChatappTemplateRequest.js +201 -3
- package/dist/models/ModifyChatappTemplateRequest.js.map +1 -1
- package/dist/models/ModifyChatappTemplateResponseBody.d.ts +28 -1
- package/dist/models/ModifyChatappTemplateResponseBody.js +23 -3
- package/dist/models/ModifyChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/ModifyFlowRequest.d.ts +6 -13
- package/dist/models/ModifyFlowRequest.js +6 -0
- package/dist/models/ModifyFlowRequest.js.map +1 -1
- package/dist/models/ModifyFlowResponseBody.d.ts +34 -1
- package/dist/models/ModifyFlowResponseBody.js +30 -3
- package/dist/models/ModifyFlowResponseBody.js.map +1 -1
- package/dist/models/ModifyFlowShrinkRequest.d.ts +6 -13
- package/dist/models/ModifyFlowShrinkRequest.js +6 -0
- package/dist/models/ModifyFlowShrinkRequest.js.map +1 -1
- package/dist/models/OfflineFlowVersionRequest.d.ts +58 -0
- package/dist/models/OfflineFlowVersionRequest.js +75 -0
- package/dist/models/OfflineFlowVersionRequest.js.map +1 -0
- package/dist/models/OfflineFlowVersionResponse.d.ts +19 -0
- package/dist/models/OfflineFlowVersionResponse.js +69 -0
- package/dist/models/OfflineFlowVersionResponse.js.map +1 -0
- package/dist/models/OfflineFlowVersionResponseBody.d.ts +63 -0
- package/dist/models/OfflineFlowVersionResponseBody.js +71 -0
- package/dist/models/OfflineFlowVersionResponseBody.js.map +1 -0
- package/dist/models/OfflineFlowVersionShrinkRequest.d.ts +56 -0
- package/dist/models/OfflineFlowVersionShrinkRequest.js +72 -0
- package/dist/models/OfflineFlowVersionShrinkRequest.js.map +1 -0
- package/dist/models/OnlineFlowVersionRequest.d.ts +58 -0
- package/dist/models/OnlineFlowVersionRequest.js +75 -0
- package/dist/models/OnlineFlowVersionRequest.js.map +1 -0
- package/dist/models/OnlineFlowVersionResponse.d.ts +19 -0
- package/dist/models/OnlineFlowVersionResponse.js +69 -0
- package/dist/models/OnlineFlowVersionResponse.js.map +1 -0
- package/dist/models/OnlineFlowVersionResponseBody.d.ts +63 -0
- package/dist/models/OnlineFlowVersionResponseBody.js +71 -0
- package/dist/models/OnlineFlowVersionResponseBody.js.map +1 -0
- package/dist/models/OnlineFlowVersionShrinkRequest.d.ts +56 -0
- package/dist/models/{GetChatappPhoneNumberMetricResponseBodyData.js → OnlineFlowVersionShrinkRequest.js} +20 -16
- package/dist/models/OnlineFlowVersionShrinkRequest.js.map +1 -0
- package/dist/models/PublishFlowRequest.d.ts +5 -7
- package/dist/models/PublishFlowRequest.js +6 -0
- package/dist/models/PublishFlowRequest.js.map +1 -1
- package/dist/models/PublishFlowResponseBody.d.ts +1 -0
- package/dist/models/PublishFlowResponseBody.js +2 -0
- package/dist/models/PublishFlowResponseBody.js.map +1 -1
- package/dist/models/QueryChatappBindWabaResponseBody.d.ts +101 -1
- package/dist/models/QueryChatappBindWabaResponseBody.js +42 -3
- package/dist/models/QueryChatappBindWabaResponseBody.js.map +1 -1
- package/dist/models/QueryChatappPhoneNumbersResponseBody.d.ts +159 -1
- package/dist/models/QueryChatappPhoneNumbersResponseBody.js +45 -3
- package/dist/models/QueryChatappPhoneNumbersResponseBody.js.map +1 -1
- package/dist/models/QueryPhoneBusinessProfileResponseBody.d.ts +65 -1
- package/dist/models/QueryPhoneBusinessProfileResponseBody.js +36 -3
- package/dist/models/QueryPhoneBusinessProfileResponseBody.js.map +1 -1
- package/dist/models/QueryWabaBusinessInfoResponseBody.d.ts +46 -1
- package/dist/models/QueryWabaBusinessInfoResponseBody.js +27 -3
- package/dist/models/QueryWabaBusinessInfoResponseBody.js.map +1 -1
- package/dist/models/{ListFlowRequestPage.d.ts → ReadChatFlowLogSettingRequest.d.ts} +7 -12
- package/dist/models/{BeeBotChatResponseBodyDataMessagesTextSlots.js → ReadChatFlowLogSettingRequest.js} +12 -12
- package/dist/models/ReadChatFlowLogSettingRequest.js.map +1 -0
- package/dist/models/ReadChatFlowLogSettingResponse.d.ts +19 -0
- package/dist/models/ReadChatFlowLogSettingResponse.js +69 -0
- package/dist/models/ReadChatFlowLogSettingResponse.js.map +1 -0
- package/dist/models/{BeeBotAssociateResponseBody.d.ts → ReadChatFlowLogSettingResponseBody.d.ts} +22 -10
- package/dist/models/ReadChatFlowLogSettingResponseBody.js +71 -0
- package/dist/models/ReadChatFlowLogSettingResponseBody.js.map +1 -0
- package/dist/models/ReadChatFlowRequest.d.ts +42 -0
- package/dist/models/ReadChatFlowRequest.js +71 -0
- package/dist/models/ReadChatFlowRequest.js.map +1 -0
- package/dist/models/ReadChatFlowResponse.d.ts +19 -0
- package/dist/models/{BeeBotChatResponseBodyData.js → ReadChatFlowResponse.js} +16 -13
- package/dist/models/ReadChatFlowResponse.js.map +1 -0
- package/dist/models/ReadChatFlowResponseBody.d.ts +63 -0
- package/dist/models/ReadChatFlowResponseBody.js +71 -0
- package/dist/models/ReadChatFlowResponseBody.js.map +1 -0
- package/dist/models/ReadChatFlowShrinkRequest.d.ts +40 -0
- package/dist/models/{BeeBotChatResponseBodyDataMessagesRecommends.js → ReadChatFlowShrinkRequest.js} +16 -10
- package/dist/models/ReadChatFlowShrinkRequest.js.map +1 -0
- package/dist/models/ReadFlowVersionRequest.d.ts +58 -0
- package/dist/models/{GetFlowResponseBodyData.js → ReadFlowVersionRequest.js} +20 -20
- package/dist/models/ReadFlowVersionRequest.js.map +1 -0
- package/dist/models/ReadFlowVersionResponse.d.ts +19 -0
- package/dist/models/ReadFlowVersionResponse.js +69 -0
- package/dist/models/ReadFlowVersionResponse.js.map +1 -0
- package/dist/models/ReadFlowVersionResponseBody.d.ts +63 -0
- package/dist/models/ReadFlowVersionResponseBody.js +71 -0
- package/dist/models/ReadFlowVersionResponseBody.js.map +1 -0
- package/dist/models/ReadFlowVersionShrinkRequest.d.ts +56 -0
- package/dist/models/ReadFlowVersionShrinkRequest.js +72 -0
- package/dist/models/ReadFlowVersionShrinkRequest.js.map +1 -0
- package/dist/models/SendChatappMassMessageRequest.d.ts +141 -1
- package/dist/models/SendChatappMassMessageRequest.js +132 -3
- package/dist/models/SendChatappMassMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMessageRequest.d.ts +97 -2
- package/dist/models/SendChatappMessageRequest.js +94 -5
- package/dist/models/SendChatappMessageRequest.js.map +1 -1
- package/dist/models/SubmitIsvCustomerTermsRequest.d.ts +3 -0
- package/dist/models/SubmitIsvCustomerTermsRequest.js +6 -0
- package/dist/models/SubmitIsvCustomerTermsRequest.js.map +1 -1
- package/dist/models/UpdateAccountWebhookRequest.d.ts +3 -0
- package/dist/models/UpdateAccountWebhookRequest.js +6 -0
- package/dist/models/UpdateAccountWebhookRequest.js.map +1 -1
- package/dist/models/UpdateChatFlowLogSettingRequest.d.ts +43 -0
- package/dist/models/{ChatappEmbedSignUpResponseBodyWabas.js → UpdateChatFlowLogSettingRequest.js} +15 -13
- package/dist/models/UpdateChatFlowLogSettingRequest.js.map +1 -0
- package/dist/models/UpdateChatFlowLogSettingResponse.d.ts +19 -0
- package/dist/models/UpdateChatFlowLogSettingResponse.js +69 -0
- package/dist/models/UpdateChatFlowLogSettingResponse.js.map +1 -0
- package/dist/models/UpdateChatFlowLogSettingResponseBody.d.ts +63 -0
- package/dist/models/UpdateChatFlowLogSettingResponseBody.js +71 -0
- package/dist/models/UpdateChatFlowLogSettingResponseBody.js.map +1 -0
- package/dist/models/UpdateChatFlowRequest.d.ts +58 -0
- package/dist/models/UpdateChatFlowRequest.js +75 -0
- package/dist/models/UpdateChatFlowRequest.js.map +1 -0
- package/dist/models/UpdateChatFlowResponse.d.ts +19 -0
- package/dist/models/UpdateChatFlowResponse.js +69 -0
- package/dist/models/UpdateChatFlowResponse.js.map +1 -0
- package/dist/models/UpdateChatFlowResponseBody.d.ts +63 -0
- package/dist/models/UpdateChatFlowResponseBody.js +71 -0
- package/dist/models/UpdateChatFlowResponseBody.js.map +1 -0
- package/dist/models/UpdateChatFlowShrinkRequest.d.ts +56 -0
- package/dist/models/UpdateChatFlowShrinkRequest.js +72 -0
- package/dist/models/UpdateChatFlowShrinkRequest.js.map +1 -0
- package/dist/models/UpdateConversationalAutomationRequest.d.ts +28 -1
- package/dist/models/UpdateConversationalAutomationRequest.js +23 -3
- package/dist/models/UpdateConversationalAutomationRequest.js.map +1 -1
- package/dist/models/UpdateFlowJsonassetRequest.d.ts +6 -10
- package/dist/models/UpdateFlowJsonassetRequest.js +6 -0
- package/dist/models/UpdateFlowJsonassetRequest.js.map +1 -1
- package/dist/models/UpdateFlowJsonassetResponseBody.d.ts +21 -1
- package/dist/models/UpdateFlowJsonassetResponseBody.js +23 -3
- package/dist/models/UpdateFlowJsonassetResponseBody.js.map +1 -1
- package/dist/models/UpdateFlowVersionRequest.d.ts +66 -0
- package/dist/models/UpdateFlowVersionRequest.js +77 -0
- package/dist/models/UpdateFlowVersionRequest.js.map +1 -0
- package/dist/models/UpdateFlowVersionResponse.d.ts +19 -0
- package/dist/models/UpdateFlowVersionResponse.js +69 -0
- package/dist/models/UpdateFlowVersionResponse.js.map +1 -0
- package/dist/models/UpdateFlowVersionResponseBody.d.ts +63 -0
- package/dist/models/UpdateFlowVersionResponseBody.js +71 -0
- package/dist/models/UpdateFlowVersionResponseBody.js.map +1 -0
- package/dist/models/UpdateFlowVersionShrinkRequest.d.ts +64 -0
- package/dist/models/UpdateFlowVersionShrinkRequest.js +74 -0
- package/dist/models/UpdateFlowVersionShrinkRequest.js.map +1 -0
- package/dist/models/UpdatePhoneEncryptionPublicKeyRequest.d.ts +6 -18
- package/dist/models/UpdatePhoneEncryptionPublicKeyRequest.js +6 -0
- package/dist/models/UpdatePhoneEncryptionPublicKeyRequest.js.map +1 -1
- package/dist/models/UpdatePhoneEncryptionPublicKeyResponseBody.d.ts +1 -0
- package/dist/models/UpdatePhoneEncryptionPublicKeyResponseBody.js +2 -0
- package/dist/models/UpdatePhoneEncryptionPublicKeyResponseBody.js.map +1 -1
- package/dist/models/UpdatePhoneMessageQrdlRequest.d.ts +8 -16
- package/dist/models/UpdatePhoneMessageQrdlRequest.js +6 -0
- package/dist/models/UpdatePhoneMessageQrdlRequest.js.map +1 -1
- package/dist/models/UpdatePhoneMessageQrdlResponseBody.d.ts +61 -1
- package/dist/models/UpdatePhoneMessageQrdlResponseBody.js +33 -3
- package/dist/models/UpdatePhoneMessageQrdlResponseBody.js.map +1 -1
- package/dist/models/UpdatePhoneWebhookRequest.d.ts +3 -0
- package/dist/models/UpdatePhoneWebhookRequest.js +6 -0
- package/dist/models/UpdatePhoneWebhookRequest.js.map +1 -1
- package/dist/models/model.d.ts +180 -98
- package/dist/models/model.js +463 -297
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2760 -696
- package/src/models/ChatappBindWabaResponseBody.ts +42 -1
- package/src/models/ChatappEmbedSignUpRequest.ts +10 -3
- package/src/models/ChatappEmbedSignUpResponseBody.ts +70 -1
- package/src/models/ChatappMigrationRegisterRequest.ts +9 -0
- package/src/models/ChatappMigrationVerifiedRequest.ts +9 -0
- package/src/models/ChatappMigrationVerifiedResponseBody.ts +40 -1
- package/src/models/ChatappPhoneNumberDeregisterRequest.ts +11 -6
- package/src/models/ChatappSyncPhoneNumberResponseBody.ts +191 -2
- package/src/models/ChatappVerifyAndRegisterResponseBody.ts +13 -0
- package/src/models/CreateChatFlowByImportRequest.ts +86 -0
- package/src/models/CreateChatFlowByImportResponse.ts +40 -0
- package/src/models/CreateChatFlowByImportResponseBody.ts +87 -0
- package/src/models/CreateChatFlowByImportShrinkRequest.ts +83 -0
- package/src/models/CreateChatFlowLogSettingRequest.ts +43 -0
- package/src/models/CreateChatFlowLogSettingResponse.ts +40 -0
- package/src/models/CreateChatFlowLogSettingResponseBody.ts +87 -0
- package/src/models/CreateChatFlowRequest.ts +86 -0
- package/src/models/CreateChatFlowResponse.ts +40 -0
- package/src/models/CreateChatFlowResponseBody.ts +94 -0
- package/src/models/CreateChatFlowShrinkRequest.ts +83 -0
- package/src/models/CreateChatappMigrationInitiateRequest.ts +9 -0
- package/src/models/CreateChatappMigrationInitiateResponseBody.ts +50 -1
- package/src/models/CreateChatappTemplateRequest.ts +612 -1
- package/src/models/CreateChatappTemplateResponseBody.ts +40 -1
- package/src/models/CreateFlowRequest.ts +11 -9
- package/src/models/CreateFlowResponseBody.ts +53 -1
- package/src/models/CreateFlowShrinkRequest.ts +11 -9
- package/src/models/CreateFlowVersionRequest.ts +86 -0
- package/src/models/CreateFlowVersionResponse.ts +40 -0
- package/src/models/CreateFlowVersionResponseBody.ts +87 -0
- package/src/models/CreateFlowVersionShrinkRequest.ts +83 -0
- package/src/models/CreatePhoneMessageQrdlRequest.ts +13 -13
- package/src/models/CreatePhoneMessageQrdlResponseBody.ts +83 -1
- package/src/models/DeleteChatFlowRequest.ts +66 -0
- package/src/models/DeleteChatFlowResponse.ts +40 -0
- package/src/models/DeleteChatFlowResponseBody.ts +87 -0
- package/src/models/DeleteChatFlowShrinkRequest.ts +63 -0
- package/src/models/DeleteChatGroupParticipantsRequest.ts +27 -1
- package/src/models/DeleteFlowRequest.ts +11 -7
- package/src/models/DeleteFlowResponseBody.ts +3 -0
- package/src/models/DeleteFlowVersionRequest.ts +76 -0
- package/src/models/DeleteFlowVersionResponse.ts +40 -0
- package/src/models/DeleteFlowVersionResponseBody.ts +87 -0
- package/src/models/DeleteFlowVersionShrinkRequest.ts +73 -0
- package/src/models/DeletePhoneMessageQrdlRequest.ts +12 -10
- package/src/models/DeletePhoneMessageQrdlResponseBody.ts +3 -0
- package/src/models/DeprecateFlowRequest.ts +11 -7
- package/src/models/DeprecateFlowResponseBody.ts +3 -0
- package/src/models/EnableWhatsappRoimetricRequest.ts +9 -0
- package/src/models/FlowBindPhoneRequest.ts +101 -0
- package/src/models/FlowBindPhoneResponse.ts +40 -0
- package/src/models/FlowBindPhoneResponseBody.ts +84 -0
- package/src/models/FlowBindPhoneShrinkRequest.ts +98 -0
- package/src/models/FlowRebindPhoneRequest.ts +101 -0
- package/src/models/{BeeBotAssociateResponse.ts → FlowRebindPhoneResponse.ts} +4 -4
- package/src/models/FlowRebindPhoneResponseBody.ts +84 -0
- package/src/models/FlowRebindPhoneShrinkRequest.ts +98 -0
- package/src/models/FlowUnbindPhoneRequest.ts +75 -0
- package/src/models/FlowUnbindPhoneResponse.ts +40 -0
- package/src/models/FlowUnbindPhoneResponseBody.ts +74 -0
- package/src/models/FlowUnbindPhoneShrinkRequest.ts +72 -0
- package/src/models/GetChatFlowMetricRequest.ts +114 -0
- package/src/models/GetChatFlowMetricResponse.ts +40 -0
- package/src/models/GetChatFlowMetricResponseBody.ts +87 -0
- package/src/models/GetChatFlowMetricShrinkRequest.ts +108 -0
- package/src/models/GetChatFlowTemplateRequest.ts +55 -0
- package/src/models/GetChatFlowTemplateResponse.ts +40 -0
- package/src/models/GetChatFlowTemplateResponseBody.ts +117 -0
- package/src/models/GetChatappPhoneNumberMetricRequest.ts +9 -0
- package/src/models/GetChatappPhoneNumberMetricResponseBody.ts +85 -1
- package/src/models/GetChatappTemplateDetailResponseBody.ts +863 -1
- package/src/models/GetChatappTemplateMetricRequest.ts +9 -0
- package/src/models/GetChatappTemplateMetricResponseBody.ts +156 -1
- package/src/models/GetChatappUploadAuthorizationRequest.ts +9 -0
- package/src/models/GetChatappUploadAuthorizationResponseBody.ts +90 -1
- package/src/models/GetChatappVerifyCodeResponseBody.ts +13 -0
- package/src/models/GetCommerceSettingResponseBody.ts +46 -1
- package/src/models/GetConversationalAutomationResponseBody.ts +100 -1
- package/src/models/GetFlowJsonassestRequest.ts +11 -10
- package/src/models/GetFlowJsonassestResponseBody.ts +43 -1
- package/src/models/GetFlowPreviewUrlRequest.ts +11 -7
- package/src/models/GetFlowPreviewUrlResponseBody.ts +53 -1
- package/src/models/GetFlowRequest.ts +11 -7
- package/src/models/GetFlowResponseBody.ts +129 -1
- package/src/models/GetMigrationVerifyCodeRequest.ts +9 -0
- package/src/models/GetMigrationVerifyCodeResponseBody.ts +40 -1
- package/src/models/GetPermissionByCodeRequest.ts +11 -11
- package/src/models/GetPermissionByCodeResponseBody.ts +3 -0
- package/src/models/GetPermissionByCodeShrinkRequest.ts +11 -11
- package/src/models/GetPhoneEncryptionPublicKeyRequest.ts +11 -7
- package/src/models/GetPhoneEncryptionPublicKeyResponseBody.ts +64 -1
- package/src/models/GetPhoneNumberVerificationStatusRequest.ts +11 -6
- package/src/models/GetPhoneNumberVerificationStatusResponseBody.ts +53 -1
- package/src/models/GetPreValidatePhoneIdResponseBody.ts +40 -1
- package/src/models/GetWhatsappHealthStatusResponseBody.ts +190 -1
- package/src/models/IsvGetAppIdRequest.ts +18 -13
- package/src/models/ListBindingRelationsForFlowVersionRequest.ts +63 -0
- package/src/models/ListBindingRelationsForFlowVersionResponse.ts +40 -0
- package/src/models/{BeeBotChatResponseBody.ts → ListBindingRelationsForFlowVersionResponseBody.ts} +25 -12
- package/src/models/ListChatFlowRequest.ts +121 -0
- package/src/models/{BeeBotChatResponse.ts → ListChatFlowResponse.ts} +4 -4
- package/src/models/ListChatFlowResponseBody.ts +87 -0
- package/src/models/ListChatFlowShrinkRequest.ts +118 -0
- package/src/models/ListChatFlowTemplateRequest.ts +91 -0
- package/src/models/ListChatFlowTemplateResponse.ts +40 -0
- package/src/models/ListChatFlowTemplateResponseBody.ts +117 -0
- package/src/models/ListChatGroupParticipantsRequest.ts +34 -1
- package/src/models/ListChatGroupParticipantsResponseBody.ts +60 -1
- package/src/models/ListChatGroupRequest.ts +40 -1
- package/src/models/ListChatGroupResponseBody.ts +102 -1
- package/src/models/ListChatappMessageRequest.ts +169 -0
- package/src/models/ListChatappMessageResponse.ts +40 -0
- package/src/models/ListChatappMessageResponseBody.ts +263 -0
- package/src/models/ListChatappMessageShrinkRequest.ts +126 -0
- package/src/models/ListChatappTemplateRequest.ts +56 -11
- package/src/models/ListChatappTemplateResponseBody.ts +129 -3
- package/src/models/ListChatappTemplateShrinkRequest.ts +12 -10
- package/src/models/ListFlowNodePrototypeV2request.ts +77 -0
- package/src/models/ListFlowNodePrototypeV2response.ts +40 -0
- package/src/models/ListFlowNodePrototypeV2responseBody.ts +131 -0
- package/src/models/ListFlowRequest.ts +37 -13
- package/src/models/ListFlowResponseBody.ts +53 -1
- package/src/models/ListFlowShrinkRequest.ts +11 -12
- package/src/models/ListFlowVersionRequest.ts +96 -0
- package/src/models/ListFlowVersionResponse.ts +40 -0
- package/src/models/ListFlowVersionResponseBody.ts +87 -0
- package/src/models/ListFlowVersionShrinkRequest.ts +93 -0
- package/src/models/ListPhoneMessageQrdlRequest.ts +11 -7
- package/src/models/ListPhoneMessageQrdlResponseBody.ts +83 -1
- package/src/models/ListProductCatalogResponseBody.ts +110 -1
- package/src/models/ListProductResponseBody.ts +110 -1
- package/src/models/ModifyChatappTemplateRequest.ts +614 -1
- package/src/models/ModifyChatappTemplateResponseBody.ts +40 -1
- package/src/models/ModifyFlowRequest.ts +12 -13
- package/src/models/ModifyFlowResponseBody.ts +53 -1
- package/src/models/ModifyFlowShrinkRequest.ts +12 -13
- package/src/models/OfflineFlowVersionRequest.ts +86 -0
- package/src/models/OfflineFlowVersionResponse.ts +40 -0
- package/src/models/OfflineFlowVersionResponseBody.ts +87 -0
- package/src/models/OfflineFlowVersionShrinkRequest.ts +83 -0
- package/src/models/OnlineFlowVersionRequest.ts +86 -0
- package/src/models/OnlineFlowVersionResponse.ts +40 -0
- package/src/models/OnlineFlowVersionResponseBody.ts +87 -0
- package/src/models/OnlineFlowVersionShrinkRequest.ts +83 -0
- package/src/models/PublishFlowRequest.ts +11 -7
- package/src/models/PublishFlowResponseBody.ts +3 -0
- package/src/models/QueryChatappBindWabaResponseBody.ts +130 -1
- package/src/models/QueryChatappPhoneNumbersResponseBody.ts +193 -1
- package/src/models/QueryPhoneBusinessProfileResponseBody.ts +90 -1
- package/src/models/QueryWabaBusinessInfoResponseBody.ts +62 -1
- package/src/models/ReadChatFlowLogSettingRequest.ts +43 -0
- package/src/models/ReadChatFlowLogSettingResponse.ts +40 -0
- package/src/models/{BeeBotAssociateResponseBody.ts → ReadChatFlowLogSettingResponseBody.ts} +25 -13
- package/src/models/ReadChatFlowRequest.ts +66 -0
- package/src/models/ReadChatFlowResponse.ts +40 -0
- package/src/models/ReadChatFlowResponseBody.ts +87 -0
- package/src/models/ReadChatFlowShrinkRequest.ts +63 -0
- package/src/models/ReadFlowVersionRequest.ts +86 -0
- package/src/models/ReadFlowVersionResponse.ts +40 -0
- package/src/models/ReadFlowVersionResponseBody.ts +87 -0
- package/src/models/ReadFlowVersionShrinkRequest.ts +83 -0
- package/src/models/SendChatappMassMessageRequest.ts +222 -1
- package/src/models/SendChatappMessageRequest.ts +150 -2
- package/src/models/SubmitIsvCustomerTermsRequest.ts +9 -0
- package/src/models/UpdateAccountWebhookRequest.ts +9 -0
- package/src/models/UpdateChatFlowLogSettingRequest.ts +66 -0
- package/src/models/UpdateChatFlowLogSettingResponse.ts +40 -0
- package/src/models/UpdateChatFlowLogSettingResponseBody.ts +87 -0
- package/src/models/UpdateChatFlowRequest.ts +86 -0
- package/src/models/UpdateChatFlowResponse.ts +40 -0
- package/src/models/UpdateChatFlowResponseBody.ts +87 -0
- package/src/models/UpdateChatFlowShrinkRequest.ts +83 -0
- package/src/models/UpdateConversationalAutomationRequest.ts +40 -1
- package/src/models/UpdateFlowJsonassetRequest.ts +12 -10
- package/src/models/UpdateFlowJsonassetResponseBody.ts +33 -1
- package/src/models/UpdateFlowVersionRequest.ts +96 -0
- package/src/models/UpdateFlowVersionResponse.ts +40 -0
- package/src/models/UpdateFlowVersionResponseBody.ts +87 -0
- package/src/models/UpdateFlowVersionShrinkRequest.ts +93 -0
- package/src/models/UpdatePhoneEncryptionPublicKeyRequest.ts +12 -18
- package/src/models/UpdatePhoneEncryptionPublicKeyResponseBody.ts +3 -0
- package/src/models/UpdatePhoneMessageQrdlRequest.ts +14 -16
- package/src/models/UpdatePhoneMessageQrdlResponseBody.ts +83 -1
- package/src/models/UpdatePhoneWebhookRequest.ts +9 -0
- package/src/models/model.ts +180 -98
- package/dist/models/BeeBotAssociateRequest.d.ts +0 -68
- package/dist/models/BeeBotAssociateRequest.js.map +0 -1
- package/dist/models/BeeBotAssociateResponseBody.js.map +0 -1
- package/dist/models/BeeBotAssociateResponseBodyData.d.ts +0 -35
- package/dist/models/BeeBotAssociateResponseBodyData.js.map +0 -1
- package/dist/models/BeeBotAssociateResponseBodyDataAssociate.d.ts +0 -31
- package/dist/models/BeeBotAssociateResponseBodyDataAssociate.js.map +0 -1
- package/dist/models/BeeBotAssociateShrinkRequest.d.ts +0 -68
- package/dist/models/BeeBotAssociateShrinkRequest.js.map +0 -1
- package/dist/models/BeeBotChatRequest.d.ts +0 -104
- package/dist/models/BeeBotChatRequest.js.map +0 -1
- package/dist/models/BeeBotChatResponse.js.map +0 -1
- package/dist/models/BeeBotChatResponseBody.js.map +0 -1
- package/dist/models/BeeBotChatResponseBodyData.d.ts +0 -35
- package/dist/models/BeeBotChatResponseBodyData.js.map +0 -1
- package/dist/models/BeeBotChatResponseBodyDataMessages.d.ts +0 -47
- package/dist/models/BeeBotChatResponseBodyDataMessages.js +0 -78
- package/dist/models/BeeBotChatResponseBodyDataMessages.js.map +0 -1
- package/dist/models/BeeBotChatResponseBodyDataMessagesKnowledge.d.ts +0 -83
- package/dist/models/BeeBotChatResponseBodyDataMessagesKnowledge.js +0 -78
- package/dist/models/BeeBotChatResponseBodyDataMessagesKnowledge.js.map +0 -1
- package/dist/models/BeeBotChatResponseBodyDataMessagesKnowledgeRelatedKnowledges.d.ts +0 -29
- package/dist/models/BeeBotChatResponseBodyDataMessagesKnowledgeRelatedKnowledges.js.map +0 -1
- package/dist/models/BeeBotChatResponseBodyDataMessagesRecommends.d.ts +0 -37
- package/dist/models/BeeBotChatResponseBodyDataMessagesRecommends.js.map +0 -1
- package/dist/models/BeeBotChatResponseBodyDataMessagesText.d.ts +0 -113
- package/dist/models/BeeBotChatResponseBodyDataMessagesText.js +0 -92
- package/dist/models/BeeBotChatResponseBodyDataMessagesText.js.map +0 -1
- package/dist/models/BeeBotChatResponseBodyDataMessagesTextSlots.d.ts +0 -45
- package/dist/models/BeeBotChatResponseBodyDataMessagesTextSlots.js.map +0 -1
- package/dist/models/BeeBotChatShrinkRequest.d.ts +0 -102
- package/dist/models/BeeBotChatShrinkRequest.js +0 -78
- package/dist/models/BeeBotChatShrinkRequest.js.map +0 -1
- package/dist/models/ChatappBindWabaResponseBodyData.d.ts +0 -29
- package/dist/models/ChatappBindWabaResponseBodyData.js.map +0 -1
- package/dist/models/ChatappEmbedSignUpResponseBodyWabas.d.ts +0 -53
- package/dist/models/ChatappEmbedSignUpResponseBodyWabas.js.map +0 -1
- package/dist/models/ChatappMigrationVerifiedResponseBodyData.d.ts +0 -29
- package/dist/models/ChatappMigrationVerifiedResponseBodyData.js +0 -60
- package/dist/models/ChatappMigrationVerifiedResponseBodyData.js.map +0 -1
- package/dist/models/ChatappSyncPhoneNumberResponseBodyPhoneNumbers.d.ts +0 -114
- package/dist/models/ChatappSyncPhoneNumberResponseBodyPhoneNumbers.js +0 -82
- package/dist/models/ChatappSyncPhoneNumberResponseBodyPhoneNumbers.js.map +0 -1
- package/dist/models/CreateChatappMigrationInitiateResponseBodyData.d.ts +0 -37
- package/dist/models/CreateChatappMigrationInitiateResponseBodyData.js.map +0 -1
- package/dist/models/CreateChatappTemplateRequestComponents.d.ts +0 -157
- package/dist/models/CreateChatappTemplateRequestComponents.js +0 -92
- package/dist/models/CreateChatappTemplateRequestComponents.js.map +0 -1
- package/dist/models/CreateChatappTemplateRequestComponentsButtons.d.ts +0 -149
- package/dist/models/CreateChatappTemplateRequestComponentsButtons.js +0 -88
- package/dist/models/CreateChatappTemplateRequestComponentsButtons.js.map +0 -1
- package/dist/models/CreateChatappTemplateRequestComponentsButtonsSupportedApps.d.ts +0 -29
- package/dist/models/CreateChatappTemplateRequestComponentsButtonsSupportedApps.js +0 -60
- package/dist/models/CreateChatappTemplateRequestComponentsButtonsSupportedApps.js.map +0 -1
- package/dist/models/CreateChatappTemplateRequestComponentsCards.d.ts +0 -21
- package/dist/models/CreateChatappTemplateRequestComponentsCards.js +0 -62
- package/dist/models/CreateChatappTemplateRequestComponentsCards.js.map +0 -1
- package/dist/models/CreateChatappTemplateRequestComponentsCardsCardComponents.d.ts +0 -60
- package/dist/models/CreateChatappTemplateRequestComponentsCardsCardComponents.js +0 -70
- package/dist/models/CreateChatappTemplateRequestComponentsCardsCardComponents.js.map +0 -1
- package/dist/models/CreateChatappTemplateRequestComponentsCardsCardComponentsButtons.d.ts +0 -62
- package/dist/models/CreateChatappTemplateRequestComponentsCardsCardComponentsButtons.js +0 -66
- package/dist/models/CreateChatappTemplateRequestComponentsCardsCardComponentsButtons.js.map +0 -1
- package/dist/models/CreateChatappTemplateResponseBodyData.d.ts +0 -29
- package/dist/models/CreateChatappTemplateResponseBodyData.js +0 -60
- package/dist/models/CreateChatappTemplateResponseBodyData.js.map +0 -1
- package/dist/models/CreateFlowResponseBodyData.d.ts +0 -34
- package/dist/models/CreateFlowResponseBodyData.js.map +0 -1
- package/dist/models/CreatePhoneMessageQrdlResponseBodyData.js +0 -68
- package/dist/models/CreatePhoneMessageQrdlResponseBodyData.js.map +0 -1
- package/dist/models/DeleteChatGroupParticipantsRequestList.d.ts +0 -18
- package/dist/models/DeleteChatGroupParticipantsRequestList.js +0 -58
- package/dist/models/DeleteChatGroupParticipantsRequestList.js.map +0 -1
- package/dist/models/GetChatappPhoneNumberMetricResponseBodyData.d.ts +0 -66
- package/dist/models/GetChatappPhoneNumberMetricResponseBodyData.js.map +0 -1
- package/dist/models/GetChatappTemplateDetailResponseBodyData.d.ts +0 -127
- package/dist/models/GetChatappTemplateDetailResponseBodyData.js +0 -89
- package/dist/models/GetChatappTemplateDetailResponseBodyData.js.map +0 -1
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponents.d.ts +0 -186
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponents.js +0 -102
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponents.js.map +0 -1
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsButtons.d.ts +0 -144
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsButtons.js +0 -94
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsButtons.js.map +0 -1
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs.d.ts +0 -53
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs.js +0 -66
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs.js.map +0 -1
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps.d.ts +0 -29
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps.js +0 -60
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps.js.map +0 -1
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsCards.d.ts +0 -19
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsCards.js +0 -62
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsCards.js.map +0 -1
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponents.d.ts +0 -51
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponents.js +0 -70
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponents.js.map +0 -1
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponentsButtons.d.ts +0 -53
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponentsButtons.js +0 -66
- package/dist/models/GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponentsButtons.js.map +0 -1
- package/dist/models/GetChatappTemplateMetricResponseBodyData.d.ts +0 -75
- package/dist/models/GetChatappTemplateMetricResponseBodyData.js +0 -76
- package/dist/models/GetChatappTemplateMetricResponseBodyData.js.map +0 -1
- package/dist/models/GetChatappTemplateMetricResponseBodyDataCliented.d.ts +0 -43
- package/dist/models/GetChatappTemplateMetricResponseBodyDataCliented.js +0 -62
- package/dist/models/GetChatappTemplateMetricResponseBodyDataCliented.js.map +0 -1
- package/dist/models/GetChatappUploadAuthorizationResponseBodyData.d.ts +0 -69
- package/dist/models/GetChatappUploadAuthorizationResponseBodyData.js +0 -70
- package/dist/models/GetChatappUploadAuthorizationResponseBodyData.js.map +0 -1
- package/dist/models/GetCommerceSettingResponseBodyData.d.ts +0 -35
- package/dist/models/GetCommerceSettingResponseBodyData.js +0 -60
- package/dist/models/GetCommerceSettingResponseBodyData.js.map +0 -1
- package/dist/models/GetConversationalAutomationResponseBodyData.d.ts +0 -40
- package/dist/models/GetConversationalAutomationResponseBodyData.js +0 -71
- package/dist/models/GetConversationalAutomationResponseBodyData.js.map +0 -1
- package/dist/models/GetConversationalAutomationResponseBodyDataCommands.d.ts +0 -29
- package/dist/models/GetConversationalAutomationResponseBodyDataCommands.js +0 -60
- package/dist/models/GetConversationalAutomationResponseBodyDataCommands.js.map +0 -1
- package/dist/models/GetFlowJsonassestResponseBodyData.d.ts +0 -29
- package/dist/models/GetFlowJsonassestResponseBodyData.js +0 -60
- package/dist/models/GetFlowJsonassestResponseBodyData.js.map +0 -1
- package/dist/models/GetFlowPreviewUrlResponseBodyData.d.ts +0 -37
- package/dist/models/GetFlowPreviewUrlResponseBodyData.js +0 -62
- package/dist/models/GetFlowPreviewUrlResponseBodyData.js.map +0 -1
- package/dist/models/GetFlowResponseBodyData.d.ts +0 -100
- package/dist/models/GetFlowResponseBodyData.js.map +0 -1
- package/dist/models/GetMigrationVerifyCodeResponseBodyData.d.ts +0 -29
- package/dist/models/GetMigrationVerifyCodeResponseBodyData.js +0 -60
- package/dist/models/GetMigrationVerifyCodeResponseBodyData.js.map +0 -1
- package/dist/models/GetPhoneEncryptionPublicKeyResponseBodyData.d.ts +0 -48
- package/dist/models/GetPhoneEncryptionPublicKeyResponseBodyData.js +0 -62
- package/dist/models/GetPhoneEncryptionPublicKeyResponseBodyData.js.map +0 -1
- package/dist/models/GetPhoneNumberVerificationStatusResponseBodyData.d.ts +0 -37
- package/dist/models/GetPhoneNumberVerificationStatusResponseBodyData.js +0 -62
- package/dist/models/GetPhoneNumberVerificationStatusResponseBodyData.js.map +0 -1
- package/dist/models/GetPreValidatePhoneIdResponseBodyData.d.ts +0 -29
- package/dist/models/GetPreValidatePhoneIdResponseBodyData.js +0 -60
- package/dist/models/GetPreValidatePhoneIdResponseBodyData.js.map +0 -1
- package/dist/models/GetWhatsappHealthStatusResponseBodyData.d.ts +0 -27
- package/dist/models/GetWhatsappHealthStatusResponseBodyData.js +0 -64
- package/dist/models/GetWhatsappHealthStatusResponseBodyData.js.map +0 -1
- package/dist/models/GetWhatsappHealthStatusResponseBodyDataEntities.d.ts +0 -75
- package/dist/models/GetWhatsappHealthStatusResponseBodyDataEntities.js +0 -76
- package/dist/models/GetWhatsappHealthStatusResponseBodyDataEntities.js.map +0 -1
- package/dist/models/GetWhatsappHealthStatusResponseBodyDataEntitiesErrors.d.ts +0 -37
- package/dist/models/GetWhatsappHealthStatusResponseBodyDataEntitiesErrors.js +0 -62
- package/dist/models/GetWhatsappHealthStatusResponseBodyDataEntitiesErrors.js.map +0 -1
- package/dist/models/ListChatGroupParticipantsRequestPage.d.ts +0 -23
- package/dist/models/ListChatGroupParticipantsRequestPage.js +0 -60
- package/dist/models/ListChatGroupParticipantsRequestPage.js.map +0 -1
- package/dist/models/ListChatGroupParticipantsResponseBodyData.d.ts +0 -20
- package/dist/models/ListChatGroupParticipantsResponseBodyData.js +0 -64
- package/dist/models/ListChatGroupParticipantsResponseBodyData.js.map +0 -1
- package/dist/models/ListChatGroupParticipantsResponseBodyDataList.d.ts +0 -18
- package/dist/models/ListChatGroupParticipantsResponseBodyDataList.js +0 -58
- package/dist/models/ListChatGroupParticipantsResponseBodyDataList.js.map +0 -1
- package/dist/models/ListChatGroupRequestPage.d.ts +0 -29
- package/dist/models/ListChatGroupRequestPage.js +0 -60
- package/dist/models/ListChatGroupRequestPage.js.map +0 -1
- package/dist/models/ListChatGroupResponseBodyData.d.ts +0 -20
- package/dist/models/ListChatGroupResponseBodyData.js +0 -64
- package/dist/models/ListChatGroupResponseBodyData.js.map +0 -1
- package/dist/models/ListChatGroupResponseBodyDataList.d.ts +0 -48
- package/dist/models/ListChatGroupResponseBodyDataList.js.map +0 -1
- package/dist/models/ListChatappTemplateRequestPage.js +0 -60
- package/dist/models/ListChatappTemplateRequestPage.js.map +0 -1
- package/dist/models/ListChatappTemplateResponseBodyListTemplate.d.ts +0 -98
- package/dist/models/ListChatappTemplateResponseBodyListTemplate.js +0 -72
- package/dist/models/ListChatappTemplateResponseBodyListTemplate.js.map +0 -1
- package/dist/models/ListFlowRequestPage.js +0 -60
- package/dist/models/ListFlowRequestPage.js.map +0 -1
- package/dist/models/ListFlowResponseBodyData.d.ts +0 -34
- package/dist/models/ListFlowResponseBodyData.js +0 -65
- package/dist/models/ListFlowResponseBodyData.js.map +0 -1
- package/dist/models/ListPhoneMessageQrdlResponseBodyData.js +0 -68
- package/dist/models/ListPhoneMessageQrdlResponseBodyData.js.map +0 -1
- package/dist/models/ListProductCatalogResponseBodyModel.d.ts +0 -26
- package/dist/models/ListProductCatalogResponseBodyModel.js.map +0 -1
- package/dist/models/ListProductCatalogResponseBodyModelPaging.d.ts +0 -19
- package/dist/models/ListProductCatalogResponseBodyModelPaging.js +0 -62
- package/dist/models/ListProductCatalogResponseBodyModelPaging.js.map +0 -1
- package/dist/models/ListProductCatalogResponseBodyModelPagingCursors.d.ts +0 -29
- package/dist/models/ListProductCatalogResponseBodyModelPagingCursors.js +0 -60
- package/dist/models/ListProductCatalogResponseBodyModelPagingCursors.js.map +0 -1
- package/dist/models/ListProductResponseBodyModel.d.ts +0 -26
- package/dist/models/ListProductResponseBodyModel.js.map +0 -1
- package/dist/models/ListProductResponseBodyModelPaging.d.ts +0 -19
- package/dist/models/ListProductResponseBodyModelPaging.js +0 -62
- package/dist/models/ListProductResponseBodyModelPaging.js.map +0 -1
- package/dist/models/ListProductResponseBodyModelPagingCursors.d.ts +0 -29
- package/dist/models/ListProductResponseBodyModelPagingCursors.js.map +0 -1
- package/dist/models/ModifyChatappTemplateRequestComponents.d.ts +0 -159
- package/dist/models/ModifyChatappTemplateRequestComponents.js +0 -92
- package/dist/models/ModifyChatappTemplateRequestComponents.js.map +0 -1
- package/dist/models/ModifyChatappTemplateRequestComponentsButtons.d.ts +0 -149
- package/dist/models/ModifyChatappTemplateRequestComponentsButtons.js +0 -88
- package/dist/models/ModifyChatappTemplateRequestComponentsButtons.js.map +0 -1
- package/dist/models/ModifyChatappTemplateRequestComponentsButtonsSupportedApps.d.ts +0 -29
- package/dist/models/ModifyChatappTemplateRequestComponentsButtonsSupportedApps.js +0 -60
- package/dist/models/ModifyChatappTemplateRequestComponentsButtonsSupportedApps.js.map +0 -1
- package/dist/models/ModifyChatappTemplateRequestComponentsCards.d.ts +0 -21
- package/dist/models/ModifyChatappTemplateRequestComponentsCards.js +0 -62
- package/dist/models/ModifyChatappTemplateRequestComponentsCards.js.map +0 -1
- package/dist/models/ModifyChatappTemplateRequestComponentsCardsCardComponents.d.ts +0 -60
- package/dist/models/ModifyChatappTemplateRequestComponentsCardsCardComponents.js +0 -70
- package/dist/models/ModifyChatappTemplateRequestComponentsCardsCardComponents.js.map +0 -1
- package/dist/models/ModifyChatappTemplateRequestComponentsCardsCardComponentsButtons.d.ts +0 -62
- package/dist/models/ModifyChatappTemplateRequestComponentsCardsCardComponentsButtons.js +0 -66
- package/dist/models/ModifyChatappTemplateRequestComponentsCardsCardComponentsButtons.js.map +0 -1
- package/dist/models/ModifyChatappTemplateResponseBodyData.d.ts +0 -29
- package/dist/models/ModifyChatappTemplateResponseBodyData.js +0 -60
- package/dist/models/ModifyChatappTemplateResponseBodyData.js.map +0 -1
- package/dist/models/ModifyFlowResponseBodyData.d.ts +0 -34
- package/dist/models/ModifyFlowResponseBodyData.js +0 -65
- package/dist/models/ModifyFlowResponseBodyData.js.map +0 -1
- package/dist/models/QueryChatappBindWabaResponseBodyData.d.ts +0 -99
- package/dist/models/QueryChatappBindWabaResponseBodyData.js +0 -79
- package/dist/models/QueryChatappBindWabaResponseBodyData.js.map +0 -1
- package/dist/models/QueryChatappPhoneNumbersResponseBodyPhoneNumbers.d.ts +0 -144
- package/dist/models/QueryChatappPhoneNumbersResponseBodyPhoneNumbers.js +0 -82
- package/dist/models/QueryChatappPhoneNumbersResponseBodyPhoneNumbers.js.map +0 -1
- package/dist/models/QueryPhoneBusinessProfileResponseBodyData.js +0 -73
- package/dist/models/QueryPhoneBusinessProfileResponseBodyData.js.map +0 -1
- package/dist/models/QueryWabaBusinessInfoResponseBodyData.d.ts +0 -47
- package/dist/models/QueryWabaBusinessInfoResponseBodyData.js +0 -64
- package/dist/models/QueryWabaBusinessInfoResponseBodyData.js.map +0 -1
- package/dist/models/SendChatappMassMessageRequestSenderList.d.ts +0 -47
- package/dist/models/SendChatappMassMessageRequestSenderList.js +0 -80
- package/dist/models/SendChatappMassMessageRequestSenderList.js.map +0 -1
- package/dist/models/SendChatappMassMessageRequestSenderListFlowAction.d.ts +0 -28
- package/dist/models/SendChatappMassMessageRequestSenderListFlowAction.js +0 -63
- package/dist/models/SendChatappMassMessageRequestSenderListFlowAction.js.map +0 -1
- package/dist/models/SendChatappMassMessageRequestSenderListProductAction.d.ts +0 -27
- package/dist/models/SendChatappMassMessageRequestSenderListProductAction.js +0 -64
- package/dist/models/SendChatappMassMessageRequestSenderListProductAction.js.map +0 -1
- package/dist/models/SendChatappMassMessageRequestSenderListProductActionSections.d.ts +0 -27
- package/dist/models/SendChatappMassMessageRequestSenderListProductActionSections.js +0 -64
- package/dist/models/SendChatappMassMessageRequestSenderListProductActionSections.js.map +0 -1
- package/dist/models/SendChatappMassMessageRequestSenderListProductActionSectionsProductItems.d.ts +0 -21
- package/dist/models/SendChatappMassMessageRequestSenderListProductActionSectionsProductItems.js +0 -58
- package/dist/models/SendChatappMassMessageRequestSenderListProductActionSectionsProductItems.js.map +0 -1
- package/dist/models/SendChatappMessageRequestFlowAction.d.ts +0 -28
- package/dist/models/SendChatappMessageRequestFlowAction.js +0 -63
- package/dist/models/SendChatappMessageRequestFlowAction.js.map +0 -1
- package/dist/models/SendChatappMessageRequestProductAction.d.ts +0 -27
- package/dist/models/SendChatappMessageRequestProductAction.js +0 -64
- package/dist/models/SendChatappMessageRequestProductAction.js.map +0 -1
- package/dist/models/SendChatappMessageRequestProductActionSections.d.ts +0 -27
- package/dist/models/SendChatappMessageRequestProductActionSections.js.map +0 -1
- package/dist/models/SendChatappMessageRequestProductActionSectionsProductItems.d.ts +0 -21
- package/dist/models/SendChatappMessageRequestProductActionSectionsProductItems.js +0 -58
- package/dist/models/SendChatappMessageRequestProductActionSectionsProductItems.js.map +0 -1
- package/dist/models/UpdateConversationalAutomationRequestCommands.d.ts +0 -29
- package/dist/models/UpdateConversationalAutomationRequestCommands.js +0 -60
- package/dist/models/UpdateConversationalAutomationRequestCommands.js.map +0 -1
- package/dist/models/UpdateFlowJsonassetResponseBodyData.js +0 -58
- package/dist/models/UpdateFlowJsonassetResponseBodyData.js.map +0 -1
- package/dist/models/UpdatePhoneMessageQrdlResponseBodyData.js +0 -68
- package/dist/models/UpdatePhoneMessageQrdlResponseBodyData.js.map +0 -1
- package/src/models/BeeBotAssociateRequest.ts +0 -96
- package/src/models/BeeBotAssociateResponseBodyData.ts +0 -55
- package/src/models/BeeBotAssociateResponseBodyDataAssociate.ts +0 -46
- package/src/models/BeeBotAssociateShrinkRequest.ts +0 -93
- package/src/models/BeeBotChatRequest.ts +0 -141
- package/src/models/BeeBotChatResponseBodyData.ts +0 -55
- package/src/models/BeeBotChatResponseBodyDataMessages.ts +0 -77
- package/src/models/BeeBotChatResponseBodyDataMessagesKnowledge.ts +0 -115
- package/src/models/BeeBotChatResponseBodyDataMessagesKnowledgeRelatedKnowledges.ts +0 -44
- package/src/models/BeeBotChatResponseBodyDataMessagesRecommends.ts +0 -54
- package/src/models/BeeBotChatResponseBodyDataMessagesText.ts +0 -155
- package/src/models/BeeBotChatResponseBodyDataMessagesTextSlots.ts +0 -64
- package/src/models/BeeBotChatShrinkRequest.ts +0 -135
- package/src/models/ChatappBindWabaResponseBodyData.ts +0 -44
- package/src/models/ChatappEmbedSignUpResponseBodyWabas.ts +0 -74
- package/src/models/ChatappMigrationVerifiedResponseBodyData.ts +0 -44
- package/src/models/ChatappSyncPhoneNumberResponseBodyPhoneNumbers.ts +0 -151
- package/src/models/CreateChatappMigrationInitiateResponseBodyData.ts +0 -54
- package/src/models/CreateChatappTemplateRequestComponents.ts +0 -202
- package/src/models/CreateChatappTemplateRequestComponentsButtons.ts +0 -191
- package/src/models/CreateChatappTemplateRequestComponentsButtonsSupportedApps.ts +0 -44
- package/src/models/CreateChatappTemplateRequestComponentsCards.ts +0 -37
- package/src/models/CreateChatappTemplateRequestComponentsCardsCardComponents.ts +0 -84
- package/src/models/CreateChatappTemplateRequestComponentsCardsCardComponentsButtons.ts +0 -83
- package/src/models/CreateChatappTemplateResponseBodyData.ts +0 -44
- package/src/models/CreateFlowResponseBodyData.ts +0 -54
- package/src/models/CreatePhoneMessageQrdlResponseBodyData.ts +0 -84
- package/src/models/DeleteChatGroupParticipantsRequestList.ts +0 -31
- package/src/models/GetChatappPhoneNumberMetricResponseBodyData.ts +0 -89
- package/src/models/GetChatappTemplateDetailResponseBodyData.ts +0 -168
- package/src/models/GetChatappTemplateDetailResponseBodyDataComponents.ts +0 -241
- package/src/models/GetChatappTemplateDetailResponseBodyDataComponentsButtons.ts +0 -191
- package/src/models/GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs.ts +0 -74
- package/src/models/GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps.ts +0 -44
- package/src/models/GetChatappTemplateDetailResponseBodyDataComponentsCards.ts +0 -35
- package/src/models/GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponents.ts +0 -75
- package/src/models/GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponentsButtons.ts +0 -74
- package/src/models/GetChatappTemplateMetricResponseBodyData.ts +0 -105
- package/src/models/GetChatappTemplateMetricResponseBodyDataCliented.ts +0 -60
- package/src/models/GetChatappUploadAuthorizationResponseBodyData.ts +0 -94
- package/src/models/GetCommerceSettingResponseBodyData.ts +0 -50
- package/src/models/GetConversationalAutomationResponseBodyData.ts +0 -65
- package/src/models/GetConversationalAutomationResponseBodyDataCommands.ts +0 -44
- package/src/models/GetFlowJsonassestResponseBodyData.ts +0 -44
- package/src/models/GetFlowPreviewUrlResponseBodyData.ts +0 -54
- package/src/models/GetFlowResponseBodyData.ts +0 -130
- package/src/models/GetMigrationVerifyCodeResponseBodyData.ts +0 -44
- package/src/models/GetPhoneEncryptionPublicKeyResponseBodyData.ts +0 -65
- package/src/models/GetPhoneNumberVerificationStatusResponseBodyData.ts +0 -54
- package/src/models/GetPreValidatePhoneIdResponseBodyData.ts +0 -44
- package/src/models/GetWhatsappHealthStatusResponseBodyData.ts +0 -45
- package/src/models/GetWhatsappHealthStatusResponseBodyDataEntities.ts +0 -105
- package/src/models/GetWhatsappHealthStatusResponseBodyDataEntitiesErrors.ts +0 -54
- package/src/models/ListChatGroupParticipantsRequestPage.ts +0 -38
- package/src/models/ListChatGroupParticipantsResponseBodyData.ts +0 -38
- package/src/models/ListChatGroupParticipantsResponseBodyDataList.ts +0 -31
- package/src/models/ListChatGroupRequestPage.ts +0 -44
- package/src/models/ListChatGroupResponseBodyData.ts +0 -38
- package/src/models/ListChatGroupResponseBodyDataList.ts +0 -73
- package/src/models/ListChatappTemplateRequestPage.ts +0 -48
- package/src/models/ListChatappTemplateResponseBodyListTemplate.ts +0 -125
- package/src/models/ListFlowRequestPage.ts +0 -44
- package/src/models/ListFlowResponseBodyData.ts +0 -54
- package/src/models/ListPhoneMessageQrdlResponseBodyData.ts +0 -84
- package/src/models/ListProductCatalogResponseBodyModel.ts +0 -45
- package/src/models/ListProductCatalogResponseBodyModelPaging.ts +0 -35
- package/src/models/ListProductCatalogResponseBodyModelPagingCursors.ts +0 -44
- package/src/models/ListProductResponseBodyModel.ts +0 -45
- package/src/models/ListProductResponseBodyModelPaging.ts +0 -35
- package/src/models/ListProductResponseBodyModelPagingCursors.ts +0 -44
- package/src/models/ModifyChatappTemplateRequestComponents.ts +0 -204
- package/src/models/ModifyChatappTemplateRequestComponentsButtons.ts +0 -191
- package/src/models/ModifyChatappTemplateRequestComponentsButtonsSupportedApps.ts +0 -44
- package/src/models/ModifyChatappTemplateRequestComponentsCards.ts +0 -37
- package/src/models/ModifyChatappTemplateRequestComponentsCardsCardComponents.ts +0 -84
- package/src/models/ModifyChatappTemplateRequestComponentsCardsCardComponentsButtons.ts +0 -83
- package/src/models/ModifyChatappTemplateResponseBodyData.ts +0 -44
- package/src/models/ModifyFlowResponseBodyData.ts +0 -54
- package/src/models/QueryChatappBindWabaResponseBodyData.ts +0 -131
- package/src/models/QueryChatappPhoneNumbersResponseBodyPhoneNumbers.ts +0 -181
- package/src/models/QueryPhoneBusinessProfileResponseBodyData.ts +0 -94
- package/src/models/QueryWabaBusinessInfoResponseBodyData.ts +0 -66
- package/src/models/SendChatappMassMessageRequestSenderList.ts +0 -78
- package/src/models/SendChatappMassMessageRequestSenderListFlowAction.ts +0 -44
- package/src/models/SendChatappMassMessageRequestSenderListProductAction.ts +0 -45
- package/src/models/SendChatappMassMessageRequestSenderListProductActionSections.ts +0 -45
- package/src/models/SendChatappMassMessageRequestSenderListProductActionSectionsProductItems.ts +0 -34
- package/src/models/SendChatappMessageRequestFlowAction.ts +0 -44
- package/src/models/SendChatappMessageRequestProductAction.ts +0 -45
- package/src/models/SendChatappMessageRequestProductActionSections.ts +0 -45
- package/src/models/SendChatappMessageRequestProductActionSectionsProductItems.ts +0 -34
- package/src/models/UpdateConversationalAutomationRequestCommands.ts +0 -44
- package/src/models/UpdateFlowJsonassetResponseBodyData.ts +0 -34
- package/src/models/UpdatePhoneMessageQrdlResponseBodyData.ts +0 -84
package/src/client.ts
CHANGED
|
@@ -235,182 +235,6 @@ export default class Client extends OpenApi {
|
|
|
235
235
|
return await this.addChatappPhoneNumberWithOptions(request, runtime);
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
/**
|
|
239
|
-
* Associates FAQs in the knowledge base.
|
|
240
|
-
*
|
|
241
|
-
* @remarks
|
|
242
|
-
* 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.
|
|
243
|
-
*
|
|
244
|
-
* @param tmpReq - BeeBotAssociateRequest
|
|
245
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
246
|
-
* @returns BeeBotAssociateResponse
|
|
247
|
-
*/
|
|
248
|
-
async beeBotAssociateWithOptions(tmpReq: $_model.BeeBotAssociateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BeeBotAssociateResponse> {
|
|
249
|
-
tmpReq.validate();
|
|
250
|
-
let request = new $_model.BeeBotAssociateShrinkRequest({ });
|
|
251
|
-
OpenApiUtil.convert(tmpReq, request);
|
|
252
|
-
if (!$dara.isNull(tmpReq.perspective)) {
|
|
253
|
-
request.perspectiveShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.perspective, "Perspective", "json");
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
let body : {[key: string ]: any} = { };
|
|
257
|
-
if (!$dara.isNull(request.chatBotInstanceId)) {
|
|
258
|
-
body["ChatBotInstanceId"] = request.chatBotInstanceId;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
if (!$dara.isNull(request.custSpaceId)) {
|
|
262
|
-
body["CustSpaceId"] = request.custSpaceId;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
if (!$dara.isNull(request.isvCode)) {
|
|
266
|
-
body["IsvCode"] = request.isvCode;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
if (!$dara.isNull(request.perspectiveShrink)) {
|
|
270
|
-
body["Perspective"] = request.perspectiveShrink;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
if (!$dara.isNull(request.recommendNum)) {
|
|
274
|
-
body["RecommendNum"] = request.recommendNum;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
if (!$dara.isNull(request.sessionId)) {
|
|
278
|
-
body["SessionId"] = request.sessionId;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
if (!$dara.isNull(request.utterance)) {
|
|
282
|
-
body["Utterance"] = request.utterance;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
let req = new $OpenApiUtil.OpenApiRequest({
|
|
286
|
-
body: OpenApiUtil.parseToMap(body),
|
|
287
|
-
});
|
|
288
|
-
let params = new $OpenApiUtil.Params({
|
|
289
|
-
action: "BeeBotAssociate",
|
|
290
|
-
version: "2020-06-06",
|
|
291
|
-
protocol: "HTTPS",
|
|
292
|
-
pathname: "/",
|
|
293
|
-
method: "POST",
|
|
294
|
-
authType: "AK",
|
|
295
|
-
style: "RPC",
|
|
296
|
-
reqBodyType: "formData",
|
|
297
|
-
bodyType: "json",
|
|
298
|
-
});
|
|
299
|
-
return $dara.cast<$_model.BeeBotAssociateResponse>(await this.callApi(params, req, runtime), new $_model.BeeBotAssociateResponse({}));
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* Associates FAQs in the knowledge base.
|
|
304
|
-
*
|
|
305
|
-
* @remarks
|
|
306
|
-
* 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.
|
|
307
|
-
*
|
|
308
|
-
* @param request - BeeBotAssociateRequest
|
|
309
|
-
* @returns BeeBotAssociateResponse
|
|
310
|
-
*/
|
|
311
|
-
async beeBotAssociate(request: $_model.BeeBotAssociateRequest): Promise<$_model.BeeBotAssociateResponse> {
|
|
312
|
-
let runtime = new $dara.RuntimeOptions({ });
|
|
313
|
-
return await this.beeBotAssociateWithOptions(request, runtime);
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* Conducts sessions with the bot based on its unique identifier (ID).
|
|
318
|
-
*
|
|
319
|
-
* @remarks
|
|
320
|
-
* The ID of the session.
|
|
321
|
-
*
|
|
322
|
-
* @param tmpReq - BeeBotChatRequest
|
|
323
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
324
|
-
* @returns BeeBotChatResponse
|
|
325
|
-
*/
|
|
326
|
-
async beeBotChatWithOptions(tmpReq: $_model.BeeBotChatRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BeeBotChatResponse> {
|
|
327
|
-
tmpReq.validate();
|
|
328
|
-
let request = new $_model.BeeBotChatShrinkRequest({ });
|
|
329
|
-
OpenApiUtil.convert(tmpReq, request);
|
|
330
|
-
if (!$dara.isNull(tmpReq.perspective)) {
|
|
331
|
-
request.perspectiveShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.perspective, "Perspective", "json");
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
if (!$dara.isNull(tmpReq.vendorParam)) {
|
|
335
|
-
request.vendorParamShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.vendorParam, "VendorParam", "json");
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
let body : {[key: string ]: any} = { };
|
|
339
|
-
if (!$dara.isNull(request.chatBotInstanceId)) {
|
|
340
|
-
body["ChatBotInstanceId"] = request.chatBotInstanceId;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
if (!$dara.isNull(request.custSpaceId)) {
|
|
344
|
-
body["CustSpaceId"] = request.custSpaceId;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
if (!$dara.isNull(request.intentName)) {
|
|
348
|
-
body["IntentName"] = request.intentName;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
if (!$dara.isNull(request.isvCode)) {
|
|
352
|
-
body["IsvCode"] = request.isvCode;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
if (!$dara.isNull(request.knowledgeId)) {
|
|
356
|
-
body["KnowledgeId"] = request.knowledgeId;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
if (!$dara.isNull(request.perspectiveShrink)) {
|
|
360
|
-
body["Perspective"] = request.perspectiveShrink;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
if (!$dara.isNull(request.senderId)) {
|
|
364
|
-
body["SenderId"] = request.senderId;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
if (!$dara.isNull(request.senderNick)) {
|
|
368
|
-
body["SenderNick"] = request.senderNick;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
if (!$dara.isNull(request.sessionId)) {
|
|
372
|
-
body["SessionId"] = request.sessionId;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
if (!$dara.isNull(request.utterance)) {
|
|
376
|
-
body["Utterance"] = request.utterance;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
if (!$dara.isNull(request.vendorParamShrink)) {
|
|
380
|
-
body["VendorParam"] = request.vendorParamShrink;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
let req = new $OpenApiUtil.OpenApiRequest({
|
|
384
|
-
body: OpenApiUtil.parseToMap(body),
|
|
385
|
-
});
|
|
386
|
-
let params = new $OpenApiUtil.Params({
|
|
387
|
-
action: "BeeBotChat",
|
|
388
|
-
version: "2020-06-06",
|
|
389
|
-
protocol: "HTTPS",
|
|
390
|
-
pathname: "/",
|
|
391
|
-
method: "POST",
|
|
392
|
-
authType: "AK",
|
|
393
|
-
style: "RPC",
|
|
394
|
-
reqBodyType: "formData",
|
|
395
|
-
bodyType: "json",
|
|
396
|
-
});
|
|
397
|
-
return $dara.cast<$_model.BeeBotChatResponse>(await this.callApi(params, req, runtime), new $_model.BeeBotChatResponse({}));
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* Conducts sessions with the bot based on its unique identifier (ID).
|
|
402
|
-
*
|
|
403
|
-
* @remarks
|
|
404
|
-
* The ID of the session.
|
|
405
|
-
*
|
|
406
|
-
* @param request - BeeBotChatRequest
|
|
407
|
-
* @returns BeeBotChatResponse
|
|
408
|
-
*/
|
|
409
|
-
async beeBotChat(request: $_model.BeeBotChatRequest): Promise<$_model.BeeBotChatResponse> {
|
|
410
|
-
let runtime = new $dara.RuntimeOptions({ });
|
|
411
|
-
return await this.beeBotChatWithOptions(request, runtime);
|
|
412
|
-
}
|
|
413
|
-
|
|
414
238
|
/**
|
|
415
239
|
* Binds the WhatsApp Business account with ChatApp.
|
|
416
240
|
*
|
|
@@ -483,13 +307,25 @@ export default class Client extends OpenApi {
|
|
|
483
307
|
*/
|
|
484
308
|
async chatappEmbedSignUpWithOptions(request: $_model.ChatappEmbedSignUpRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ChatappEmbedSignUpResponse> {
|
|
485
309
|
request.validate();
|
|
486
|
-
let
|
|
310
|
+
let query = { };
|
|
487
311
|
if (!$dara.isNull(request.inputToken)) {
|
|
488
|
-
|
|
312
|
+
query["InputToken"] = request.inputToken;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
316
|
+
query["OwnerId"] = request.ownerId;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
320
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
324
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
489
325
|
}
|
|
490
326
|
|
|
491
327
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
492
|
-
|
|
328
|
+
query: OpenApiUtil.query(query),
|
|
493
329
|
});
|
|
494
330
|
let params = new $OpenApiUtil.Params({
|
|
495
331
|
action: "ChatappEmbedSignUp",
|
|
@@ -536,10 +372,22 @@ export default class Client extends OpenApi {
|
|
|
536
372
|
query["CustSpaceId"] = request.custSpaceId;
|
|
537
373
|
}
|
|
538
374
|
|
|
375
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
376
|
+
query["OwnerId"] = request.ownerId;
|
|
377
|
+
}
|
|
378
|
+
|
|
539
379
|
if (!$dara.isNull(request.phoneNumber)) {
|
|
540
380
|
query["PhoneNumber"] = request.phoneNumber;
|
|
541
381
|
}
|
|
542
382
|
|
|
383
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
384
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
388
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
389
|
+
}
|
|
390
|
+
|
|
543
391
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
544
392
|
query: OpenApiUtil.query(query),
|
|
545
393
|
});
|
|
@@ -588,10 +436,22 @@ export default class Client extends OpenApi {
|
|
|
588
436
|
query["CustSpaceId"] = request.custSpaceId;
|
|
589
437
|
}
|
|
590
438
|
|
|
439
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
440
|
+
query["OwnerId"] = request.ownerId;
|
|
441
|
+
}
|
|
442
|
+
|
|
591
443
|
if (!$dara.isNull(request.phoneNumber)) {
|
|
592
444
|
query["PhoneNumber"] = request.phoneNumber;
|
|
593
445
|
}
|
|
594
446
|
|
|
447
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
448
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
452
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
453
|
+
}
|
|
454
|
+
|
|
595
455
|
if (!$dara.isNull(request.verifyCode)) {
|
|
596
456
|
query["VerifyCode"] = request.verifyCode;
|
|
597
457
|
}
|
|
@@ -639,17 +499,29 @@ export default class Client extends OpenApi {
|
|
|
639
499
|
*/
|
|
640
500
|
async chatappPhoneNumberDeregisterWithOptions(request: $_model.ChatappPhoneNumberDeregisterRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ChatappPhoneNumberDeregisterResponse> {
|
|
641
501
|
request.validate();
|
|
642
|
-
let
|
|
502
|
+
let query = { };
|
|
643
503
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
644
|
-
|
|
504
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
508
|
+
query["OwnerId"] = request.ownerId;
|
|
645
509
|
}
|
|
646
510
|
|
|
647
511
|
if (!$dara.isNull(request.phoneNumber)) {
|
|
648
|
-
|
|
512
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
516
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
520
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
649
521
|
}
|
|
650
522
|
|
|
651
523
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
652
|
-
|
|
524
|
+
query: OpenApiUtil.query(query),
|
|
653
525
|
});
|
|
654
526
|
let params = new $OpenApiUtil.Params({
|
|
655
527
|
action: "ChatappPhoneNumberDeregister",
|
|
@@ -872,35 +744,58 @@ export default class Client extends OpenApi {
|
|
|
872
744
|
}
|
|
873
745
|
|
|
874
746
|
/**
|
|
875
|
-
*
|
|
876
|
-
*
|
|
877
|
-
* @remarks
|
|
878
|
-
* The status of the phone number.
|
|
747
|
+
* Create Chatflow
|
|
879
748
|
*
|
|
880
|
-
* @param
|
|
749
|
+
* @param tmpReq - CreateChatFlowRequest
|
|
881
750
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
882
|
-
* @returns
|
|
751
|
+
* @returns CreateChatFlowResponse
|
|
883
752
|
*/
|
|
884
|
-
async
|
|
885
|
-
|
|
753
|
+
async createChatFlowWithOptions(tmpReq: $_model.CreateChatFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateChatFlowResponse> {
|
|
754
|
+
tmpReq.validate();
|
|
755
|
+
let request = new $_model.CreateChatFlowShrinkRequest({ });
|
|
756
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
757
|
+
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
758
|
+
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
759
|
+
}
|
|
760
|
+
|
|
886
761
|
let query = { };
|
|
887
|
-
if (!$dara.isNull(request.
|
|
888
|
-
query["
|
|
762
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
763
|
+
query["BizCode"] = request.bizCode;
|
|
889
764
|
}
|
|
890
765
|
|
|
891
|
-
if (!$dara.isNull(request.
|
|
892
|
-
query["
|
|
766
|
+
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
767
|
+
query["BizExtend"] = request.bizExtendShrink;
|
|
893
768
|
}
|
|
894
769
|
|
|
895
|
-
if (!$dara.isNull(request.
|
|
896
|
-
query["
|
|
770
|
+
if (!$dara.isNull(request.flowTriggerType)) {
|
|
771
|
+
query["FlowTriggerType"] = request.flowTriggerType;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
775
|
+
query["OwnerId"] = request.ownerId;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
if (!$dara.isNull(request.remark)) {
|
|
779
|
+
query["Remark"] = request.remark;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
783
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
787
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
if (!$dara.isNull(request.title)) {
|
|
791
|
+
query["Title"] = request.title;
|
|
897
792
|
}
|
|
898
793
|
|
|
899
794
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
900
795
|
query: OpenApiUtil.query(query),
|
|
901
796
|
});
|
|
902
797
|
let params = new $OpenApiUtil.Params({
|
|
903
|
-
action: "
|
|
798
|
+
action: "CreateChatFlow",
|
|
904
799
|
version: "2020-06-06",
|
|
905
800
|
protocol: "HTTPS",
|
|
906
801
|
pathname: "/",
|
|
@@ -910,78 +805,273 @@ export default class Client extends OpenApi {
|
|
|
910
805
|
reqBodyType: "formData",
|
|
911
806
|
bodyType: "json",
|
|
912
807
|
});
|
|
913
|
-
return $dara.cast<$_model.
|
|
808
|
+
return $dara.cast<$_model.CreateChatFlowResponse>(await this.callApi(params, req, runtime), new $_model.CreateChatFlowResponse({}));
|
|
914
809
|
}
|
|
915
810
|
|
|
916
811
|
/**
|
|
917
|
-
*
|
|
918
|
-
*
|
|
919
|
-
* @remarks
|
|
920
|
-
* The status of the phone number.
|
|
812
|
+
* Create Chatflow
|
|
921
813
|
*
|
|
922
|
-
* @param request -
|
|
923
|
-
* @returns
|
|
814
|
+
* @param request - CreateChatFlowRequest
|
|
815
|
+
* @returns CreateChatFlowResponse
|
|
924
816
|
*/
|
|
925
|
-
async
|
|
817
|
+
async createChatFlow(request: $_model.CreateChatFlowRequest): Promise<$_model.CreateChatFlowResponse> {
|
|
926
818
|
let runtime = new $dara.RuntimeOptions({ });
|
|
927
|
-
return await this.
|
|
819
|
+
return await this.createChatFlowWithOptions(request, runtime);
|
|
928
820
|
}
|
|
929
821
|
|
|
930
822
|
/**
|
|
931
|
-
*
|
|
932
|
-
* \\\\\\\\* Example: OK. This parameter indicates that the request is successful.
|
|
933
|
-
* \\\\\\\\* Other values indicate that the request fails. For more information, see \\\\\\[Error codes]\\\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
934
|
-
*
|
|
935
|
-
* @remarks
|
|
936
|
-
* ### [](#qps-)QPS limit
|
|
937
|
-
* 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.
|
|
823
|
+
* Import and create flow
|
|
938
824
|
*
|
|
939
|
-
* @param tmpReq -
|
|
825
|
+
* @param tmpReq - CreateChatFlowByImportRequest
|
|
940
826
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
941
|
-
* @returns
|
|
827
|
+
* @returns CreateChatFlowByImportResponse
|
|
942
828
|
*/
|
|
943
|
-
async
|
|
829
|
+
async createChatFlowByImportWithOptions(tmpReq: $_model.CreateChatFlowByImportRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateChatFlowByImportResponse> {
|
|
944
830
|
tmpReq.validate();
|
|
945
|
-
let request = new $_model.
|
|
831
|
+
let request = new $_model.CreateChatFlowByImportShrinkRequest({ });
|
|
946
832
|
OpenApiUtil.convert(tmpReq, request);
|
|
947
|
-
if (!$dara.isNull(tmpReq.
|
|
948
|
-
request.
|
|
833
|
+
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
834
|
+
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
949
835
|
}
|
|
950
836
|
|
|
951
|
-
|
|
952
|
-
|
|
837
|
+
let query = { };
|
|
838
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
839
|
+
query["BizCode"] = request.bizCode;
|
|
953
840
|
}
|
|
954
841
|
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
body["AllowCategoryChange"] = request.allowCategoryChange;
|
|
842
|
+
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
843
|
+
query["BizExtend"] = request.bizExtendShrink;
|
|
958
844
|
}
|
|
959
845
|
|
|
960
|
-
if (!$dara.isNull(request.
|
|
961
|
-
|
|
846
|
+
if (!$dara.isNull(request.flowViewModel)) {
|
|
847
|
+
query["FlowViewModel"] = request.flowViewModel;
|
|
962
848
|
}
|
|
963
849
|
|
|
964
|
-
if (!$dara.isNull(request.
|
|
965
|
-
|
|
850
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
851
|
+
query["OwnerId"] = request.ownerId;
|
|
966
852
|
}
|
|
967
853
|
|
|
968
|
-
if (!$dara.isNull(request.
|
|
969
|
-
|
|
854
|
+
if (!$dara.isNull(request.remark)) {
|
|
855
|
+
query["Remark"] = request.remark;
|
|
970
856
|
}
|
|
971
857
|
|
|
972
|
-
if (!$dara.isNull(request.
|
|
973
|
-
|
|
858
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
859
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
974
860
|
}
|
|
975
861
|
|
|
976
|
-
if (!$dara.isNull(request.
|
|
977
|
-
|
|
862
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
863
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
978
864
|
}
|
|
979
865
|
|
|
980
|
-
if (!$dara.isNull(request.
|
|
981
|
-
|
|
866
|
+
if (!$dara.isNull(request.title)) {
|
|
867
|
+
query["Title"] = request.title;
|
|
982
868
|
}
|
|
983
869
|
|
|
984
|
-
|
|
870
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
871
|
+
query: OpenApiUtil.query(query),
|
|
872
|
+
});
|
|
873
|
+
let params = new $OpenApiUtil.Params({
|
|
874
|
+
action: "CreateChatFlowByImport",
|
|
875
|
+
version: "2020-06-06",
|
|
876
|
+
protocol: "HTTPS",
|
|
877
|
+
pathname: "/",
|
|
878
|
+
method: "POST",
|
|
879
|
+
authType: "AK",
|
|
880
|
+
style: "RPC",
|
|
881
|
+
reqBodyType: "formData",
|
|
882
|
+
bodyType: "json",
|
|
883
|
+
});
|
|
884
|
+
return $dara.cast<$_model.CreateChatFlowByImportResponse>(await this.callApi(params, req, runtime), new $_model.CreateChatFlowByImportResponse({}));
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* Import and create flow
|
|
889
|
+
*
|
|
890
|
+
* @param request - CreateChatFlowByImportRequest
|
|
891
|
+
* @returns CreateChatFlowByImportResponse
|
|
892
|
+
*/
|
|
893
|
+
async createChatFlowByImport(request: $_model.CreateChatFlowByImportRequest): Promise<$_model.CreateChatFlowByImportResponse> {
|
|
894
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
895
|
+
return await this.createChatFlowByImportWithOptions(request, runtime);
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* Create chatFlow log setting
|
|
900
|
+
*
|
|
901
|
+
* @param request - CreateChatFlowLogSettingRequest
|
|
902
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
903
|
+
* @returns CreateChatFlowLogSettingResponse
|
|
904
|
+
*/
|
|
905
|
+
async createChatFlowLogSettingWithOptions(request: $_model.CreateChatFlowLogSettingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateChatFlowLogSettingResponse> {
|
|
906
|
+
request.validate();
|
|
907
|
+
let query = { };
|
|
908
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
909
|
+
query["FlowCode"] = request.flowCode;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
913
|
+
query["OwnerId"] = request.ownerId;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
917
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
921
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
925
|
+
query: OpenApiUtil.query(query),
|
|
926
|
+
});
|
|
927
|
+
let params = new $OpenApiUtil.Params({
|
|
928
|
+
action: "CreateChatFlowLogSetting",
|
|
929
|
+
version: "2020-06-06",
|
|
930
|
+
protocol: "HTTPS",
|
|
931
|
+
pathname: "/",
|
|
932
|
+
method: "POST",
|
|
933
|
+
authType: "AK",
|
|
934
|
+
style: "RPC",
|
|
935
|
+
reqBodyType: "formData",
|
|
936
|
+
bodyType: "json",
|
|
937
|
+
});
|
|
938
|
+
return $dara.cast<$_model.CreateChatFlowLogSettingResponse>(await this.callApi(params, req, runtime), new $_model.CreateChatFlowLogSettingResponse({}));
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* Create chatFlow log setting
|
|
943
|
+
*
|
|
944
|
+
* @param request - CreateChatFlowLogSettingRequest
|
|
945
|
+
* @returns CreateChatFlowLogSettingResponse
|
|
946
|
+
*/
|
|
947
|
+
async createChatFlowLogSetting(request: $_model.CreateChatFlowLogSettingRequest): Promise<$_model.CreateChatFlowLogSettingResponse> {
|
|
948
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
949
|
+
return await this.createChatFlowLogSettingWithOptions(request, runtime);
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* The ID of the number.
|
|
954
|
+
*
|
|
955
|
+
* @remarks
|
|
956
|
+
* The status of the phone number.
|
|
957
|
+
*
|
|
958
|
+
* @param request - CreateChatappMigrationInitiateRequest
|
|
959
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
960
|
+
* @returns CreateChatappMigrationInitiateResponse
|
|
961
|
+
*/
|
|
962
|
+
async createChatappMigrationInitiateWithOptions(request: $_model.CreateChatappMigrationInitiateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateChatappMigrationInitiateResponse> {
|
|
963
|
+
request.validate();
|
|
964
|
+
let query = { };
|
|
965
|
+
if (!$dara.isNull(request.countryCode)) {
|
|
966
|
+
query["CountryCode"] = request.countryCode;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
970
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
if (!$dara.isNull(request.mobileNumber)) {
|
|
974
|
+
query["MobileNumber"] = request.mobileNumber;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
978
|
+
query["OwnerId"] = request.ownerId;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
982
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
986
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
990
|
+
query: OpenApiUtil.query(query),
|
|
991
|
+
});
|
|
992
|
+
let params = new $OpenApiUtil.Params({
|
|
993
|
+
action: "CreateChatappMigrationInitiate",
|
|
994
|
+
version: "2020-06-06",
|
|
995
|
+
protocol: "HTTPS",
|
|
996
|
+
pathname: "/",
|
|
997
|
+
method: "POST",
|
|
998
|
+
authType: "AK",
|
|
999
|
+
style: "RPC",
|
|
1000
|
+
reqBodyType: "formData",
|
|
1001
|
+
bodyType: "json",
|
|
1002
|
+
});
|
|
1003
|
+
return $dara.cast<$_model.CreateChatappMigrationInitiateResponse>(await this.callApi(params, req, runtime), new $_model.CreateChatappMigrationInitiateResponse({}));
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* The ID of the number.
|
|
1008
|
+
*
|
|
1009
|
+
* @remarks
|
|
1010
|
+
* The status of the phone number.
|
|
1011
|
+
*
|
|
1012
|
+
* @param request - CreateChatappMigrationInitiateRequest
|
|
1013
|
+
* @returns CreateChatappMigrationInitiateResponse
|
|
1014
|
+
*/
|
|
1015
|
+
async createChatappMigrationInitiate(request: $_model.CreateChatappMigrationInitiateRequest): Promise<$_model.CreateChatappMigrationInitiateResponse> {
|
|
1016
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1017
|
+
return await this.createChatappMigrationInitiateWithOptions(request, runtime);
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* The HTTP status code.
|
|
1022
|
+
* \\\\\\\\* Example: OK. This parameter indicates that the request is successful.
|
|
1023
|
+
* \\\\\\\\* Other values indicate that the request fails. For more information, see \\\\\\[Error codes]\\\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
1024
|
+
*
|
|
1025
|
+
* @remarks
|
|
1026
|
+
* ### [](#qps-)QPS limit
|
|
1027
|
+
* 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.
|
|
1028
|
+
*
|
|
1029
|
+
* @param tmpReq - CreateChatappTemplateRequest
|
|
1030
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1031
|
+
* @returns CreateChatappTemplateResponse
|
|
1032
|
+
*/
|
|
1033
|
+
async createChatappTemplateWithOptions(tmpReq: $_model.CreateChatappTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateChatappTemplateResponse> {
|
|
1034
|
+
tmpReq.validate();
|
|
1035
|
+
let request = new $_model.CreateChatappTemplateShrinkRequest({ });
|
|
1036
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
1037
|
+
if (!$dara.isNull(tmpReq.components)) {
|
|
1038
|
+
request.componentsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.components, "Components", "json");
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
if (!$dara.isNull(tmpReq.example)) {
|
|
1042
|
+
request.exampleShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
let body : {[key: string ]: any} = { };
|
|
1046
|
+
if (!$dara.isNull(request.allowCategoryChange)) {
|
|
1047
|
+
body["AllowCategoryChange"] = request.allowCategoryChange;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
if (!$dara.isNull(request.category)) {
|
|
1051
|
+
body["Category"] = request.category;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
if (!$dara.isNull(request.categoryChangePaused)) {
|
|
1055
|
+
body["CategoryChangePaused"] = request.categoryChangePaused;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
if (!$dara.isNull(request.componentsShrink)) {
|
|
1059
|
+
body["Components"] = request.componentsShrink;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
1063
|
+
body["CustSpaceId"] = request.custSpaceId;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
if (!$dara.isNull(request.custWabaId)) {
|
|
1067
|
+
body["CustWabaId"] = request.custWabaId;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
if (!$dara.isNull(request.exampleShrink)) {
|
|
1071
|
+
body["Example"] = request.exampleShrink;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
if (!$dara.isNull(request.isvCode)) {
|
|
985
1075
|
body["IsvCode"] = request.isvCode;
|
|
986
1076
|
}
|
|
987
1077
|
|
|
@@ -997,15 +1087,660 @@ export default class Client extends OpenApi {
|
|
|
997
1087
|
body["Name"] = request.name;
|
|
998
1088
|
}
|
|
999
1089
|
|
|
1000
|
-
if (!$dara.isNull(request.templateType)) {
|
|
1001
|
-
body["TemplateType"] = request.templateType;
|
|
1090
|
+
if (!$dara.isNull(request.templateType)) {
|
|
1091
|
+
body["TemplateType"] = request.templateType;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1095
|
+
body: OpenApiUtil.parseToMap(body),
|
|
1096
|
+
});
|
|
1097
|
+
let params = new $OpenApiUtil.Params({
|
|
1098
|
+
action: "CreateChatappTemplate",
|
|
1099
|
+
version: "2020-06-06",
|
|
1100
|
+
protocol: "HTTPS",
|
|
1101
|
+
pathname: "/",
|
|
1102
|
+
method: "POST",
|
|
1103
|
+
authType: "AK",
|
|
1104
|
+
style: "RPC",
|
|
1105
|
+
reqBodyType: "formData",
|
|
1106
|
+
bodyType: "json",
|
|
1107
|
+
});
|
|
1108
|
+
return $dara.cast<$_model.CreateChatappTemplateResponse>(await this.callApi(params, req, runtime), new $_model.CreateChatappTemplateResponse({}));
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* The HTTP status code.
|
|
1113
|
+
* \\\\\\\\* Example: OK. This parameter indicates that the request is successful.
|
|
1114
|
+
* \\\\\\\\* Other values indicate that the request fails. For more information, see \\\\\\[Error codes]\\\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
1115
|
+
*
|
|
1116
|
+
* @remarks
|
|
1117
|
+
* ### [](#qps-)QPS limit
|
|
1118
|
+
* 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.
|
|
1119
|
+
*
|
|
1120
|
+
* @param request - CreateChatappTemplateRequest
|
|
1121
|
+
* @returns CreateChatappTemplateResponse
|
|
1122
|
+
*/
|
|
1123
|
+
async createChatappTemplate(request: $_model.CreateChatappTemplateRequest): Promise<$_model.CreateChatappTemplateResponse> {
|
|
1124
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1125
|
+
return await this.createChatappTemplateWithOptions(request, runtime);
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* Creates a Flow.
|
|
1130
|
+
*
|
|
1131
|
+
* @remarks
|
|
1132
|
+
* 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.
|
|
1133
|
+
*
|
|
1134
|
+
* @param tmpReq - CreateFlowRequest
|
|
1135
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1136
|
+
* @returns CreateFlowResponse
|
|
1137
|
+
*/
|
|
1138
|
+
async createFlowWithOptions(tmpReq: $_model.CreateFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateFlowResponse> {
|
|
1139
|
+
tmpReq.validate();
|
|
1140
|
+
let request = new $_model.CreateFlowShrinkRequest({ });
|
|
1141
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
1142
|
+
if (!$dara.isNull(tmpReq.categories)) {
|
|
1143
|
+
request.categoriesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.categories, "Categories", "json");
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
let query = { };
|
|
1147
|
+
if (!$dara.isNull(request.categoriesShrink)) {
|
|
1148
|
+
query["Categories"] = request.categoriesShrink;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
1152
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
if (!$dara.isNull(request.flowName)) {
|
|
1156
|
+
query["FlowName"] = request.flowName;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
1160
|
+
query["OwnerId"] = request.ownerId;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
1164
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
1168
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1172
|
+
query: OpenApiUtil.query(query),
|
|
1173
|
+
});
|
|
1174
|
+
let params = new $OpenApiUtil.Params({
|
|
1175
|
+
action: "CreateFlow",
|
|
1176
|
+
version: "2020-06-06",
|
|
1177
|
+
protocol: "HTTPS",
|
|
1178
|
+
pathname: "/",
|
|
1179
|
+
method: "POST",
|
|
1180
|
+
authType: "AK",
|
|
1181
|
+
style: "RPC",
|
|
1182
|
+
reqBodyType: "formData",
|
|
1183
|
+
bodyType: "json",
|
|
1184
|
+
});
|
|
1185
|
+
return $dara.cast<$_model.CreateFlowResponse>(await this.callApi(params, req, runtime), new $_model.CreateFlowResponse({}));
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* Creates a Flow.
|
|
1190
|
+
*
|
|
1191
|
+
* @remarks
|
|
1192
|
+
* 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.
|
|
1193
|
+
*
|
|
1194
|
+
* @param request - CreateFlowRequest
|
|
1195
|
+
* @returns CreateFlowResponse
|
|
1196
|
+
*/
|
|
1197
|
+
async createFlow(request: $_model.CreateFlowRequest): Promise<$_model.CreateFlowResponse> {
|
|
1198
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1199
|
+
return await this.createFlowWithOptions(request, runtime);
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* CreateFlowVersion
|
|
1204
|
+
*
|
|
1205
|
+
* @param tmpReq - CreateFlowVersionRequest
|
|
1206
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1207
|
+
* @returns CreateFlowVersionResponse
|
|
1208
|
+
*/
|
|
1209
|
+
async createFlowVersionWithOptions(tmpReq: $_model.CreateFlowVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateFlowVersionResponse> {
|
|
1210
|
+
tmpReq.validate();
|
|
1211
|
+
let request = new $_model.CreateFlowVersionShrinkRequest({ });
|
|
1212
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
1213
|
+
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
1214
|
+
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
let query = { };
|
|
1218
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
1219
|
+
query["BizCode"] = request.bizCode;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
1223
|
+
query["BizExtend"] = request.bizExtendShrink;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
1227
|
+
query["FlowCode"] = request.flowCode;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
if (!$dara.isNull(request.flowVersionCopyFrom)) {
|
|
1231
|
+
query["FlowVersionCopyFrom"] = request.flowVersionCopyFrom;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
1235
|
+
query["OwnerId"] = request.ownerId;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
if (!$dara.isNull(request.remark)) {
|
|
1239
|
+
query["Remark"] = request.remark;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
1243
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
1247
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1251
|
+
query: OpenApiUtil.query(query),
|
|
1252
|
+
});
|
|
1253
|
+
let params = new $OpenApiUtil.Params({
|
|
1254
|
+
action: "CreateFlowVersion",
|
|
1255
|
+
version: "2020-06-06",
|
|
1256
|
+
protocol: "HTTPS",
|
|
1257
|
+
pathname: "/",
|
|
1258
|
+
method: "POST",
|
|
1259
|
+
authType: "AK",
|
|
1260
|
+
style: "RPC",
|
|
1261
|
+
reqBodyType: "formData",
|
|
1262
|
+
bodyType: "json",
|
|
1263
|
+
});
|
|
1264
|
+
return $dara.cast<$_model.CreateFlowVersionResponse>(await this.callApi(params, req, runtime), new $_model.CreateFlowVersionResponse({}));
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* CreateFlowVersion
|
|
1269
|
+
*
|
|
1270
|
+
* @param request - CreateFlowVersionRequest
|
|
1271
|
+
* @returns CreateFlowVersionResponse
|
|
1272
|
+
*/
|
|
1273
|
+
async createFlowVersion(request: $_model.CreateFlowVersionRequest): Promise<$_model.CreateFlowVersionResponse> {
|
|
1274
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1275
|
+
return await this.createFlowVersionWithOptions(request, runtime);
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
/**
|
|
1279
|
+
* Creates a quick-response (QR) code that contains a message.
|
|
1280
|
+
*
|
|
1281
|
+
* @param request - CreatePhoneMessageQrdlRequest
|
|
1282
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1283
|
+
* @returns CreatePhoneMessageQrdlResponse
|
|
1284
|
+
*/
|
|
1285
|
+
async createPhoneMessageQrdlWithOptions(request: $_model.CreatePhoneMessageQrdlRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreatePhoneMessageQrdlResponse> {
|
|
1286
|
+
request.validate();
|
|
1287
|
+
let query = { };
|
|
1288
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
1289
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
if (!$dara.isNull(request.generateQrImage)) {
|
|
1293
|
+
query["GenerateQrImage"] = request.generateQrImage;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
1297
|
+
query["OwnerId"] = request.ownerId;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
1301
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
if (!$dara.isNull(request.prefilledMessage)) {
|
|
1305
|
+
query["PrefilledMessage"] = request.prefilledMessage;
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
1309
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
1313
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1317
|
+
query: OpenApiUtil.query(query),
|
|
1318
|
+
});
|
|
1319
|
+
let params = new $OpenApiUtil.Params({
|
|
1320
|
+
action: "CreatePhoneMessageQrdl",
|
|
1321
|
+
version: "2020-06-06",
|
|
1322
|
+
protocol: "HTTPS",
|
|
1323
|
+
pathname: "/",
|
|
1324
|
+
method: "POST",
|
|
1325
|
+
authType: "AK",
|
|
1326
|
+
style: "RPC",
|
|
1327
|
+
reqBodyType: "formData",
|
|
1328
|
+
bodyType: "json",
|
|
1329
|
+
});
|
|
1330
|
+
return $dara.cast<$_model.CreatePhoneMessageQrdlResponse>(await this.callApi(params, req, runtime), new $_model.CreatePhoneMessageQrdlResponse({}));
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* Creates a quick-response (QR) code that contains a message.
|
|
1335
|
+
*
|
|
1336
|
+
* @param request - CreatePhoneMessageQrdlRequest
|
|
1337
|
+
* @returns CreatePhoneMessageQrdlResponse
|
|
1338
|
+
*/
|
|
1339
|
+
async createPhoneMessageQrdl(request: $_model.CreatePhoneMessageQrdlRequest): Promise<$_model.CreatePhoneMessageQrdlResponse> {
|
|
1340
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1341
|
+
return await this.createPhoneMessageQrdlWithOptions(request, runtime);
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
/**
|
|
1345
|
+
* Delete Process
|
|
1346
|
+
*
|
|
1347
|
+
* @param tmpReq - DeleteChatFlowRequest
|
|
1348
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1349
|
+
* @returns DeleteChatFlowResponse
|
|
1350
|
+
*/
|
|
1351
|
+
async deleteChatFlowWithOptions(tmpReq: $_model.DeleteChatFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteChatFlowResponse> {
|
|
1352
|
+
tmpReq.validate();
|
|
1353
|
+
let request = new $_model.DeleteChatFlowShrinkRequest({ });
|
|
1354
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
1355
|
+
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
1356
|
+
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
let query = { };
|
|
1360
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
1361
|
+
query["BizCode"] = request.bizCode;
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
1365
|
+
query["BizExtend"] = request.bizExtendShrink;
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
1369
|
+
query["FlowCode"] = request.flowCode;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
1373
|
+
query["OwnerId"] = request.ownerId;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
1377
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
1381
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1385
|
+
query: OpenApiUtil.query(query),
|
|
1386
|
+
});
|
|
1387
|
+
let params = new $OpenApiUtil.Params({
|
|
1388
|
+
action: "DeleteChatFlow",
|
|
1389
|
+
version: "2020-06-06",
|
|
1390
|
+
protocol: "HTTPS",
|
|
1391
|
+
pathname: "/",
|
|
1392
|
+
method: "POST",
|
|
1393
|
+
authType: "AK",
|
|
1394
|
+
style: "RPC",
|
|
1395
|
+
reqBodyType: "formData",
|
|
1396
|
+
bodyType: "json",
|
|
1397
|
+
});
|
|
1398
|
+
return $dara.cast<$_model.DeleteChatFlowResponse>(await this.callApi(params, req, runtime), new $_model.DeleteChatFlowResponse({}));
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* Delete Process
|
|
1403
|
+
*
|
|
1404
|
+
* @param request - DeleteChatFlowRequest
|
|
1405
|
+
* @returns DeleteChatFlowResponse
|
|
1406
|
+
*/
|
|
1407
|
+
async deleteChatFlow(request: $_model.DeleteChatFlowRequest): Promise<$_model.DeleteChatFlowResponse> {
|
|
1408
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1409
|
+
return await this.deleteChatFlowWithOptions(request, runtime);
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* DeleteChatGroup
|
|
1414
|
+
*
|
|
1415
|
+
* @param request - DeleteChatGroupRequest
|
|
1416
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1417
|
+
* @returns DeleteChatGroupResponse
|
|
1418
|
+
*/
|
|
1419
|
+
async deleteChatGroupWithOptions(request: $_model.DeleteChatGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteChatGroupResponse> {
|
|
1420
|
+
request.validate();
|
|
1421
|
+
let query = { };
|
|
1422
|
+
if (!$dara.isNull(request.businessNumber)) {
|
|
1423
|
+
query["BusinessNumber"] = request.businessNumber;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
if (!$dara.isNull(request.channelType)) {
|
|
1427
|
+
query["ChannelType"] = request.channelType;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
1431
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
if (!$dara.isNull(request.groupId)) {
|
|
1435
|
+
query["GroupId"] = request.groupId;
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
1439
|
+
query["OwnerId"] = request.ownerId;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
1443
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
1447
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1451
|
+
query: OpenApiUtil.query(query),
|
|
1452
|
+
});
|
|
1453
|
+
let params = new $OpenApiUtil.Params({
|
|
1454
|
+
action: "DeleteChatGroup",
|
|
1455
|
+
version: "2020-06-06",
|
|
1456
|
+
protocol: "HTTPS",
|
|
1457
|
+
pathname: "/",
|
|
1458
|
+
method: "POST",
|
|
1459
|
+
authType: "AK",
|
|
1460
|
+
style: "RPC",
|
|
1461
|
+
reqBodyType: "formData",
|
|
1462
|
+
bodyType: "json",
|
|
1463
|
+
});
|
|
1464
|
+
return $dara.cast<$_model.DeleteChatGroupResponse>(await this.callApi(params, req, runtime), new $_model.DeleteChatGroupResponse({}));
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* DeleteChatGroup
|
|
1469
|
+
*
|
|
1470
|
+
* @param request - DeleteChatGroupRequest
|
|
1471
|
+
* @returns DeleteChatGroupResponse
|
|
1472
|
+
*/
|
|
1473
|
+
async deleteChatGroup(request: $_model.DeleteChatGroupRequest): Promise<$_model.DeleteChatGroupResponse> {
|
|
1474
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1475
|
+
return await this.deleteChatGroupWithOptions(request, runtime);
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
/**
|
|
1479
|
+
* DeleteChatGroupInviteLink
|
|
1480
|
+
*
|
|
1481
|
+
* @param request - DeleteChatGroupInviteLinkRequest
|
|
1482
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1483
|
+
* @returns DeleteChatGroupInviteLinkResponse
|
|
1484
|
+
*/
|
|
1485
|
+
async deleteChatGroupInviteLinkWithOptions(request: $_model.DeleteChatGroupInviteLinkRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteChatGroupInviteLinkResponse> {
|
|
1486
|
+
request.validate();
|
|
1487
|
+
let query = { };
|
|
1488
|
+
if (!$dara.isNull(request.businessNumber)) {
|
|
1489
|
+
query["BusinessNumber"] = request.businessNumber;
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
if (!$dara.isNull(request.channelType)) {
|
|
1493
|
+
query["ChannelType"] = request.channelType;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
1497
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
if (!$dara.isNull(request.groupId)) {
|
|
1501
|
+
query["GroupId"] = request.groupId;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
1505
|
+
query["OwnerId"] = request.ownerId;
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
1509
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
1513
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1517
|
+
query: OpenApiUtil.query(query),
|
|
1518
|
+
});
|
|
1519
|
+
let params = new $OpenApiUtil.Params({
|
|
1520
|
+
action: "DeleteChatGroupInviteLink",
|
|
1521
|
+
version: "2020-06-06",
|
|
1522
|
+
protocol: "HTTPS",
|
|
1523
|
+
pathname: "/",
|
|
1524
|
+
method: "POST",
|
|
1525
|
+
authType: "AK",
|
|
1526
|
+
style: "RPC",
|
|
1527
|
+
reqBodyType: "formData",
|
|
1528
|
+
bodyType: "json",
|
|
1529
|
+
});
|
|
1530
|
+
return $dara.cast<$_model.DeleteChatGroupInviteLinkResponse>(await this.callApi(params, req, runtime), new $_model.DeleteChatGroupInviteLinkResponse({}));
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* DeleteChatGroupInviteLink
|
|
1535
|
+
*
|
|
1536
|
+
* @param request - DeleteChatGroupInviteLinkRequest
|
|
1537
|
+
* @returns DeleteChatGroupInviteLinkResponse
|
|
1538
|
+
*/
|
|
1539
|
+
async deleteChatGroupInviteLink(request: $_model.DeleteChatGroupInviteLinkRequest): Promise<$_model.DeleteChatGroupInviteLinkResponse> {
|
|
1540
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1541
|
+
return await this.deleteChatGroupInviteLinkWithOptions(request, runtime);
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
/**
|
|
1545
|
+
* DeleteChatGroupParticipants
|
|
1546
|
+
*
|
|
1547
|
+
* @param tmpReq - DeleteChatGroupParticipantsRequest
|
|
1548
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1549
|
+
* @returns DeleteChatGroupParticipantsResponse
|
|
1550
|
+
*/
|
|
1551
|
+
async deleteChatGroupParticipantsWithOptions(tmpReq: $_model.DeleteChatGroupParticipantsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteChatGroupParticipantsResponse> {
|
|
1552
|
+
tmpReq.validate();
|
|
1553
|
+
let request = new $_model.DeleteChatGroupParticipantsShrinkRequest({ });
|
|
1554
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
1555
|
+
if (!$dara.isNull(tmpReq.list)) {
|
|
1556
|
+
request.listShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.list, "List", "json");
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
let query = { };
|
|
1560
|
+
if (!$dara.isNull(request.businessNumber)) {
|
|
1561
|
+
query["BusinessNumber"] = request.businessNumber;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
if (!$dara.isNull(request.channelType)) {
|
|
1565
|
+
query["ChannelType"] = request.channelType;
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
1569
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
if (!$dara.isNull(request.groupId)) {
|
|
1573
|
+
query["GroupId"] = request.groupId;
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
if (!$dara.isNull(request.listShrink)) {
|
|
1577
|
+
query["List"] = request.listShrink;
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
1581
|
+
query["OwnerId"] = request.ownerId;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
1585
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
1589
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1593
|
+
query: OpenApiUtil.query(query),
|
|
1594
|
+
});
|
|
1595
|
+
let params = new $OpenApiUtil.Params({
|
|
1596
|
+
action: "DeleteChatGroupParticipants",
|
|
1597
|
+
version: "2020-06-06",
|
|
1598
|
+
protocol: "HTTPS",
|
|
1599
|
+
pathname: "/",
|
|
1600
|
+
method: "POST",
|
|
1601
|
+
authType: "AK",
|
|
1602
|
+
style: "RPC",
|
|
1603
|
+
reqBodyType: "formData",
|
|
1604
|
+
bodyType: "json",
|
|
1605
|
+
});
|
|
1606
|
+
return $dara.cast<$_model.DeleteChatGroupParticipantsResponse>(await this.callApi(params, req, runtime), new $_model.DeleteChatGroupParticipantsResponse({}));
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
/**
|
|
1610
|
+
* DeleteChatGroupParticipants
|
|
1611
|
+
*
|
|
1612
|
+
* @param request - DeleteChatGroupParticipantsRequest
|
|
1613
|
+
* @returns DeleteChatGroupParticipantsResponse
|
|
1614
|
+
*/
|
|
1615
|
+
async deleteChatGroupParticipants(request: $_model.DeleteChatGroupParticipantsRequest): Promise<$_model.DeleteChatGroupParticipantsResponse> {
|
|
1616
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1617
|
+
return await this.deleteChatGroupParticipantsWithOptions(request, runtime);
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
/**
|
|
1621
|
+
* Deletes a message template.
|
|
1622
|
+
*
|
|
1623
|
+
* @remarks
|
|
1624
|
+
* ### QPS limit
|
|
1625
|
+
* 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.
|
|
1626
|
+
*
|
|
1627
|
+
* @param request - DeleteChatappTemplateRequest
|
|
1628
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1629
|
+
* @returns DeleteChatappTemplateResponse
|
|
1630
|
+
*/
|
|
1631
|
+
async deleteChatappTemplateWithOptions(request: $_model.DeleteChatappTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteChatappTemplateResponse> {
|
|
1632
|
+
request.validate();
|
|
1633
|
+
let query = { };
|
|
1634
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
1635
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
if (!$dara.isNull(request.custWabaId)) {
|
|
1639
|
+
query["CustWabaId"] = request.custWabaId;
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
if (!$dara.isNull(request.isvCode)) {
|
|
1643
|
+
query["IsvCode"] = request.isvCode;
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
if (!$dara.isNull(request.language)) {
|
|
1647
|
+
query["Language"] = request.language;
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
1651
|
+
query["OwnerId"] = request.ownerId;
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
1655
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
1659
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
if (!$dara.isNull(request.templateCode)) {
|
|
1663
|
+
query["TemplateCode"] = request.templateCode;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
if (!$dara.isNull(request.templateName)) {
|
|
1667
|
+
query["TemplateName"] = request.templateName;
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
if (!$dara.isNull(request.templateType)) {
|
|
1671
|
+
query["TemplateType"] = request.templateType;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1675
|
+
query: OpenApiUtil.query(query),
|
|
1676
|
+
});
|
|
1677
|
+
let params = new $OpenApiUtil.Params({
|
|
1678
|
+
action: "DeleteChatappTemplate",
|
|
1679
|
+
version: "2020-06-06",
|
|
1680
|
+
protocol: "HTTPS",
|
|
1681
|
+
pathname: "/",
|
|
1682
|
+
method: "POST",
|
|
1683
|
+
authType: "AK",
|
|
1684
|
+
style: "RPC",
|
|
1685
|
+
reqBodyType: "formData",
|
|
1686
|
+
bodyType: "json",
|
|
1687
|
+
});
|
|
1688
|
+
return $dara.cast<$_model.DeleteChatappTemplateResponse>(await this.callApi(params, req, runtime), new $_model.DeleteChatappTemplateResponse({}));
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* Deletes a message template.
|
|
1693
|
+
*
|
|
1694
|
+
* @remarks
|
|
1695
|
+
* ### QPS limit
|
|
1696
|
+
* 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.
|
|
1697
|
+
*
|
|
1698
|
+
* @param request - DeleteChatappTemplateRequest
|
|
1699
|
+
* @returns DeleteChatappTemplateResponse
|
|
1700
|
+
*/
|
|
1701
|
+
async deleteChatappTemplate(request: $_model.DeleteChatappTemplateRequest): Promise<$_model.DeleteChatappTemplateResponse> {
|
|
1702
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1703
|
+
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
/**
|
|
1707
|
+
* Deletes a Flow. Only Flows in the DRAFT state can be deleted.
|
|
1708
|
+
*
|
|
1709
|
+
* @remarks
|
|
1710
|
+
* 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.
|
|
1711
|
+
*
|
|
1712
|
+
* @param request - DeleteFlowRequest
|
|
1713
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1714
|
+
* @returns DeleteFlowResponse
|
|
1715
|
+
*/
|
|
1716
|
+
async deleteFlowWithOptions(request: $_model.DeleteFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteFlowResponse> {
|
|
1717
|
+
request.validate();
|
|
1718
|
+
let query = { };
|
|
1719
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
1720
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
if (!$dara.isNull(request.flowId)) {
|
|
1724
|
+
query["FlowId"] = request.flowId;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
1728
|
+
query["OwnerId"] = request.ownerId;
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
1732
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1735
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
1736
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1002
1737
|
}
|
|
1003
1738
|
|
|
1004
1739
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1005
|
-
|
|
1740
|
+
query: OpenApiUtil.query(query),
|
|
1006
1741
|
});
|
|
1007
1742
|
let params = new $OpenApiUtil.Params({
|
|
1008
|
-
action: "
|
|
1743
|
+
action: "DeleteFlow",
|
|
1009
1744
|
version: "2020-06-06",
|
|
1010
1745
|
protocol: "HTTPS",
|
|
1011
1746
|
pathname: "/",
|
|
@@ -1015,62 +1750,72 @@ export default class Client extends OpenApi {
|
|
|
1015
1750
|
reqBodyType: "formData",
|
|
1016
1751
|
bodyType: "json",
|
|
1017
1752
|
});
|
|
1018
|
-
return $dara.cast<$_model.
|
|
1753
|
+
return $dara.cast<$_model.DeleteFlowResponse>(await this.callApi(params, req, runtime), new $_model.DeleteFlowResponse({}));
|
|
1019
1754
|
}
|
|
1020
1755
|
|
|
1021
1756
|
/**
|
|
1022
|
-
*
|
|
1023
|
-
* \\\\\\\\* Example: OK. This parameter indicates that the request is successful.
|
|
1024
|
-
* \\\\\\\\* Other values indicate that the request fails. For more information, see \\\\\\[Error codes]\\\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
1757
|
+
* Deletes a Flow. Only Flows in the DRAFT state can be deleted.
|
|
1025
1758
|
*
|
|
1026
1759
|
* @remarks
|
|
1027
|
-
*
|
|
1028
|
-
* 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.
|
|
1760
|
+
* 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.
|
|
1029
1761
|
*
|
|
1030
|
-
* @param request -
|
|
1031
|
-
* @returns
|
|
1762
|
+
* @param request - DeleteFlowRequest
|
|
1763
|
+
* @returns DeleteFlowResponse
|
|
1032
1764
|
*/
|
|
1033
|
-
async
|
|
1765
|
+
async deleteFlow(request: $_model.DeleteFlowRequest): Promise<$_model.DeleteFlowResponse> {
|
|
1034
1766
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1035
|
-
return await this.
|
|
1767
|
+
return await this.deleteFlowWithOptions(request, runtime);
|
|
1036
1768
|
}
|
|
1037
1769
|
|
|
1038
1770
|
/**
|
|
1039
|
-
*
|
|
1040
|
-
*
|
|
1041
|
-
* @remarks
|
|
1042
|
-
* 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.
|
|
1771
|
+
* Delete Flow Version
|
|
1043
1772
|
*
|
|
1044
|
-
* @param tmpReq -
|
|
1773
|
+
* @param tmpReq - DeleteFlowVersionRequest
|
|
1045
1774
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1046
|
-
* @returns
|
|
1775
|
+
* @returns DeleteFlowVersionResponse
|
|
1047
1776
|
*/
|
|
1048
|
-
async
|
|
1777
|
+
async deleteFlowVersionWithOptions(tmpReq: $_model.DeleteFlowVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteFlowVersionResponse> {
|
|
1049
1778
|
tmpReq.validate();
|
|
1050
|
-
let request = new $_model.
|
|
1779
|
+
let request = new $_model.DeleteFlowVersionShrinkRequest({ });
|
|
1051
1780
|
OpenApiUtil.convert(tmpReq, request);
|
|
1052
|
-
if (!$dara.isNull(tmpReq.
|
|
1053
|
-
request.
|
|
1781
|
+
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
1782
|
+
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
1054
1783
|
}
|
|
1055
1784
|
|
|
1056
|
-
let
|
|
1057
|
-
if (!$dara.isNull(request.
|
|
1058
|
-
|
|
1785
|
+
let query = { };
|
|
1786
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
1787
|
+
query["BizCode"] = request.bizCode;
|
|
1059
1788
|
}
|
|
1060
1789
|
|
|
1061
|
-
if (!$dara.isNull(request.
|
|
1062
|
-
|
|
1790
|
+
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
1791
|
+
query["BizExtend"] = request.bizExtendShrink;
|
|
1063
1792
|
}
|
|
1064
1793
|
|
|
1065
|
-
if (!$dara.isNull(request.
|
|
1066
|
-
|
|
1794
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
1795
|
+
query["FlowCode"] = request.flowCode;
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
if (!$dara.isNull(request.flowVersion)) {
|
|
1799
|
+
query["FlowVersion"] = request.flowVersion;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
1803
|
+
query["OwnerId"] = request.ownerId;
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
1807
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
1811
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1067
1812
|
}
|
|
1068
1813
|
|
|
1069
1814
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1070
|
-
|
|
1815
|
+
query: OpenApiUtil.query(query),
|
|
1071
1816
|
});
|
|
1072
1817
|
let params = new $OpenApiUtil.Params({
|
|
1073
|
-
action: "
|
|
1818
|
+
action: "DeleteFlowVersion",
|
|
1074
1819
|
version: "2020-06-06",
|
|
1075
1820
|
protocol: "HTTPS",
|
|
1076
1821
|
pathname: "/",
|
|
@@ -1080,54 +1825,59 @@ export default class Client extends OpenApi {
|
|
|
1080
1825
|
reqBodyType: "formData",
|
|
1081
1826
|
bodyType: "json",
|
|
1082
1827
|
});
|
|
1083
|
-
return $dara.cast<$_model.
|
|
1828
|
+
return $dara.cast<$_model.DeleteFlowVersionResponse>(await this.callApi(params, req, runtime), new $_model.DeleteFlowVersionResponse({}));
|
|
1084
1829
|
}
|
|
1085
1830
|
|
|
1086
1831
|
/**
|
|
1087
|
-
*
|
|
1088
|
-
*
|
|
1089
|
-
* @remarks
|
|
1090
|
-
* 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.
|
|
1832
|
+
* Delete Flow Version
|
|
1091
1833
|
*
|
|
1092
|
-
* @param request -
|
|
1093
|
-
* @returns
|
|
1834
|
+
* @param request - DeleteFlowVersionRequest
|
|
1835
|
+
* @returns DeleteFlowVersionResponse
|
|
1094
1836
|
*/
|
|
1095
|
-
async
|
|
1837
|
+
async deleteFlowVersion(request: $_model.DeleteFlowVersionRequest): Promise<$_model.DeleteFlowVersionResponse> {
|
|
1096
1838
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1097
|
-
return await this.
|
|
1839
|
+
return await this.deleteFlowVersionWithOptions(request, runtime);
|
|
1098
1840
|
}
|
|
1099
1841
|
|
|
1100
1842
|
/**
|
|
1101
|
-
*
|
|
1843
|
+
* Deletes a quick-response (QR) code that contains a message.
|
|
1102
1844
|
*
|
|
1103
|
-
* @param request -
|
|
1845
|
+
* @param request - DeletePhoneMessageQrdlRequest
|
|
1104
1846
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1105
|
-
* @returns
|
|
1847
|
+
* @returns DeletePhoneMessageQrdlResponse
|
|
1106
1848
|
*/
|
|
1107
|
-
async
|
|
1849
|
+
async deletePhoneMessageQrdlWithOptions(request: $_model.DeletePhoneMessageQrdlRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeletePhoneMessageQrdlResponse> {
|
|
1108
1850
|
request.validate();
|
|
1109
|
-
let
|
|
1851
|
+
let query = { };
|
|
1110
1852
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
1111
|
-
|
|
1853
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
1112
1854
|
}
|
|
1113
1855
|
|
|
1114
|
-
if (!$dara.isNull(request.
|
|
1115
|
-
|
|
1856
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
1857
|
+
query["OwnerId"] = request.ownerId;
|
|
1116
1858
|
}
|
|
1117
1859
|
|
|
1118
1860
|
if (!$dara.isNull(request.phoneNumber)) {
|
|
1119
|
-
|
|
1861
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
1120
1862
|
}
|
|
1121
1863
|
|
|
1122
|
-
if (!$dara.isNull(request.
|
|
1123
|
-
|
|
1864
|
+
if (!$dara.isNull(request.qrdlCode)) {
|
|
1865
|
+
query["QrdlCode"] = request.qrdlCode;
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
1869
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
1873
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1124
1874
|
}
|
|
1125
1875
|
|
|
1126
1876
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1127
|
-
|
|
1877
|
+
query: OpenApiUtil.query(query),
|
|
1128
1878
|
});
|
|
1129
1879
|
let params = new $OpenApiUtil.Params({
|
|
1130
|
-
action: "
|
|
1880
|
+
action: "DeletePhoneMessageQrdl",
|
|
1131
1881
|
version: "2020-06-06",
|
|
1132
1882
|
protocol: "HTTPS",
|
|
1133
1883
|
pathname: "/",
|
|
@@ -1137,44 +1887,36 @@ export default class Client extends OpenApi {
|
|
|
1137
1887
|
reqBodyType: "formData",
|
|
1138
1888
|
bodyType: "json",
|
|
1139
1889
|
});
|
|
1140
|
-
return $dara.cast<$_model.
|
|
1890
|
+
return $dara.cast<$_model.DeletePhoneMessageQrdlResponse>(await this.callApi(params, req, runtime), new $_model.DeletePhoneMessageQrdlResponse({}));
|
|
1141
1891
|
}
|
|
1142
1892
|
|
|
1143
1893
|
/**
|
|
1144
|
-
*
|
|
1894
|
+
* Deletes a quick-response (QR) code that contains a message.
|
|
1145
1895
|
*
|
|
1146
|
-
* @param request -
|
|
1147
|
-
* @returns
|
|
1896
|
+
* @param request - DeletePhoneMessageQrdlRequest
|
|
1897
|
+
* @returns DeletePhoneMessageQrdlResponse
|
|
1148
1898
|
*/
|
|
1149
|
-
async
|
|
1899
|
+
async deletePhoneMessageQrdl(request: $_model.DeletePhoneMessageQrdlRequest): Promise<$_model.DeletePhoneMessageQrdlResponse> {
|
|
1150
1900
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1151
|
-
return await this.
|
|
1901
|
+
return await this.deletePhoneMessageQrdlWithOptions(request, runtime);
|
|
1152
1902
|
}
|
|
1153
1903
|
|
|
1154
1904
|
/**
|
|
1155
|
-
*
|
|
1905
|
+
* Deprecates a Flow.
|
|
1156
1906
|
*
|
|
1157
|
-
* @param request -
|
|
1907
|
+
* @param request - DeprecateFlowRequest
|
|
1158
1908
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1159
|
-
* @returns
|
|
1909
|
+
* @returns DeprecateFlowResponse
|
|
1160
1910
|
*/
|
|
1161
|
-
async
|
|
1911
|
+
async deprecateFlowWithOptions(request: $_model.DeprecateFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeprecateFlowResponse> {
|
|
1162
1912
|
request.validate();
|
|
1163
1913
|
let query = { };
|
|
1164
|
-
if (!$dara.isNull(request.businessNumber)) {
|
|
1165
|
-
query["BusinessNumber"] = request.businessNumber;
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
if (!$dara.isNull(request.channelType)) {
|
|
1169
|
-
query["ChannelType"] = request.channelType;
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
1914
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
1173
1915
|
query["CustSpaceId"] = request.custSpaceId;
|
|
1174
1916
|
}
|
|
1175
1917
|
|
|
1176
|
-
if (!$dara.isNull(request.
|
|
1177
|
-
query["
|
|
1918
|
+
if (!$dara.isNull(request.flowId)) {
|
|
1919
|
+
query["FlowId"] = request.flowId;
|
|
1178
1920
|
}
|
|
1179
1921
|
|
|
1180
1922
|
if (!$dara.isNull(request.ownerId)) {
|
|
@@ -1193,7 +1935,7 @@ export default class Client extends OpenApi {
|
|
|
1193
1935
|
query: OpenApiUtil.query(query),
|
|
1194
1936
|
});
|
|
1195
1937
|
let params = new $OpenApiUtil.Params({
|
|
1196
|
-
action: "
|
|
1938
|
+
action: "DeprecateFlow",
|
|
1197
1939
|
version: "2020-06-06",
|
|
1198
1940
|
protocol: "HTTPS",
|
|
1199
1941
|
pathname: "/",
|
|
@@ -1203,44 +1945,39 @@ export default class Client extends OpenApi {
|
|
|
1203
1945
|
reqBodyType: "formData",
|
|
1204
1946
|
bodyType: "json",
|
|
1205
1947
|
});
|
|
1206
|
-
return $dara.cast<$_model.
|
|
1948
|
+
return $dara.cast<$_model.DeprecateFlowResponse>(await this.callApi(params, req, runtime), new $_model.DeprecateFlowResponse({}));
|
|
1207
1949
|
}
|
|
1208
1950
|
|
|
1209
1951
|
/**
|
|
1210
|
-
*
|
|
1952
|
+
* Deprecates a Flow.
|
|
1211
1953
|
*
|
|
1212
|
-
* @param request -
|
|
1213
|
-
* @returns
|
|
1954
|
+
* @param request - DeprecateFlowRequest
|
|
1955
|
+
* @returns DeprecateFlowResponse
|
|
1214
1956
|
*/
|
|
1215
|
-
async
|
|
1957
|
+
async deprecateFlow(request: $_model.DeprecateFlowRequest): Promise<$_model.DeprecateFlowResponse> {
|
|
1216
1958
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1217
|
-
return await this.
|
|
1959
|
+
return await this.deprecateFlowWithOptions(request, runtime);
|
|
1218
1960
|
}
|
|
1219
1961
|
|
|
1220
1962
|
/**
|
|
1221
|
-
*
|
|
1963
|
+
* Enables the statistics on the metrics that are related to WhatsApp.
|
|
1222
1964
|
*
|
|
1223
|
-
* @
|
|
1965
|
+
* @remarks
|
|
1966
|
+
* 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.
|
|
1967
|
+
*
|
|
1968
|
+
* @param request - EnableWhatsappROIMetricRequest
|
|
1224
1969
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1225
|
-
* @returns
|
|
1970
|
+
* @returns EnableWhatsappROIMetricResponse
|
|
1226
1971
|
*/
|
|
1227
|
-
async
|
|
1972
|
+
async enableWhatsappROIMetricWithOptions(request: $_model.EnableWhatsappROIMetricRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableWhatsappROIMetricResponse> {
|
|
1228
1973
|
request.validate();
|
|
1229
1974
|
let query = { };
|
|
1230
|
-
if (!$dara.isNull(request.businessNumber)) {
|
|
1231
|
-
query["BusinessNumber"] = request.businessNumber;
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
if (!$dara.isNull(request.channelType)) {
|
|
1235
|
-
query["ChannelType"] = request.channelType;
|
|
1236
|
-
}
|
|
1237
|
-
|
|
1238
1975
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
1239
1976
|
query["CustSpaceId"] = request.custSpaceId;
|
|
1240
1977
|
}
|
|
1241
1978
|
|
|
1242
|
-
if (!$dara.isNull(request.
|
|
1243
|
-
query["
|
|
1979
|
+
if (!$dara.isNull(request.isvCode)) {
|
|
1980
|
+
query["IsvCode"] = request.isvCode;
|
|
1244
1981
|
}
|
|
1245
1982
|
|
|
1246
1983
|
if (!$dara.isNull(request.ownerId)) {
|
|
@@ -1259,7 +1996,7 @@ export default class Client extends OpenApi {
|
|
|
1259
1996
|
query: OpenApiUtil.query(query),
|
|
1260
1997
|
});
|
|
1261
1998
|
let params = new $OpenApiUtil.Params({
|
|
1262
|
-
action: "
|
|
1999
|
+
action: "EnableWhatsappROIMetric",
|
|
1263
2000
|
version: "2020-06-06",
|
|
1264
2001
|
protocol: "HTTPS",
|
|
1265
2002
|
pathname: "/",
|
|
@@ -1269,60 +2006,63 @@ export default class Client extends OpenApi {
|
|
|
1269
2006
|
reqBodyType: "formData",
|
|
1270
2007
|
bodyType: "json",
|
|
1271
2008
|
});
|
|
1272
|
-
return $dara.cast<$_model.
|
|
2009
|
+
return $dara.cast<$_model.EnableWhatsappROIMetricResponse>(await this.callApi(params, req, runtime), new $_model.EnableWhatsappROIMetricResponse({}));
|
|
1273
2010
|
}
|
|
1274
2011
|
|
|
1275
2012
|
/**
|
|
1276
|
-
*
|
|
2013
|
+
* Enables the statistics on the metrics that are related to WhatsApp.
|
|
1277
2014
|
*
|
|
1278
|
-
* @
|
|
1279
|
-
*
|
|
2015
|
+
* @remarks
|
|
2016
|
+
* 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.
|
|
2017
|
+
*
|
|
2018
|
+
* @param request - EnableWhatsappROIMetricRequest
|
|
2019
|
+
* @returns EnableWhatsappROIMetricResponse
|
|
1280
2020
|
*/
|
|
1281
|
-
async
|
|
2021
|
+
async enableWhatsappROIMetric(request: $_model.EnableWhatsappROIMetricRequest): Promise<$_model.EnableWhatsappROIMetricResponse> {
|
|
1282
2022
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1283
|
-
return await this.
|
|
2023
|
+
return await this.enableWhatsappROIMetricWithOptions(request, runtime);
|
|
1284
2024
|
}
|
|
1285
2025
|
|
|
1286
2026
|
/**
|
|
1287
|
-
*
|
|
2027
|
+
* Bind phone numbers to flow
|
|
1288
2028
|
*
|
|
1289
|
-
* @param tmpReq -
|
|
2029
|
+
* @param tmpReq - FlowBindPhoneRequest
|
|
1290
2030
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1291
|
-
* @returns
|
|
2031
|
+
* @returns FlowBindPhoneResponse
|
|
1292
2032
|
*/
|
|
1293
|
-
async
|
|
2033
|
+
async flowBindPhoneWithOptions(tmpReq: $_model.FlowBindPhoneRequest, runtime: $dara.RuntimeOptions): Promise<$_model.FlowBindPhoneResponse> {
|
|
1294
2034
|
tmpReq.validate();
|
|
1295
|
-
let request = new $_model.
|
|
2035
|
+
let request = new $_model.FlowBindPhoneShrinkRequest({ });
|
|
1296
2036
|
OpenApiUtil.convert(tmpReq, request);
|
|
1297
|
-
if (!$dara.isNull(tmpReq.
|
|
1298
|
-
request.
|
|
2037
|
+
if (!$dara.isNull(tmpReq.phoneNumbers)) {
|
|
2038
|
+
request.phoneNumbersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneNumbers, "PhoneNumbers", "json");
|
|
1299
2039
|
}
|
|
1300
2040
|
|
|
1301
2041
|
let query = { };
|
|
1302
|
-
if (!$dara.isNull(request.
|
|
1303
|
-
query["
|
|
2042
|
+
if (!$dara.isNull(request.channelCode)) {
|
|
2043
|
+
query["ChannelCode"] = request.channelCode;
|
|
1304
2044
|
}
|
|
1305
2045
|
|
|
1306
2046
|
if (!$dara.isNull(request.channelType)) {
|
|
1307
2047
|
query["ChannelType"] = request.channelType;
|
|
1308
2048
|
}
|
|
1309
2049
|
|
|
1310
|
-
if (!$dara.isNull(request.
|
|
1311
|
-
query["
|
|
1312
|
-
}
|
|
1313
|
-
|
|
1314
|
-
if (!$dara.isNull(request.groupId)) {
|
|
1315
|
-
query["GroupId"] = request.groupId;
|
|
2050
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
2051
|
+
query["FlowCode"] = request.flowCode;
|
|
1316
2052
|
}
|
|
1317
2053
|
|
|
1318
|
-
if (!$dara.isNull(request.
|
|
1319
|
-
query["
|
|
2054
|
+
if (!$dara.isNull(request.flowVersion)) {
|
|
2055
|
+
query["FlowVersion"] = request.flowVersion;
|
|
1320
2056
|
}
|
|
1321
2057
|
|
|
1322
2058
|
if (!$dara.isNull(request.ownerId)) {
|
|
1323
2059
|
query["OwnerId"] = request.ownerId;
|
|
1324
2060
|
}
|
|
1325
2061
|
|
|
2062
|
+
if (!$dara.isNull(request.phoneNumbersShrink)) {
|
|
2063
|
+
query["PhoneNumbers"] = request.phoneNumbersShrink;
|
|
2064
|
+
}
|
|
2065
|
+
|
|
1326
2066
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
1327
2067
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1328
2068
|
}
|
|
@@ -1331,11 +2071,15 @@ export default class Client extends OpenApi {
|
|
|
1331
2071
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1332
2072
|
}
|
|
1333
2073
|
|
|
2074
|
+
if (!$dara.isNull(request.wabaId)) {
|
|
2075
|
+
query["WabaId"] = request.wabaId;
|
|
2076
|
+
}
|
|
2077
|
+
|
|
1334
2078
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1335
2079
|
query: OpenApiUtil.query(query),
|
|
1336
2080
|
});
|
|
1337
2081
|
let params = new $OpenApiUtil.Params({
|
|
1338
|
-
action: "
|
|
2082
|
+
action: "FlowBindPhone",
|
|
1339
2083
|
version: "2020-06-06",
|
|
1340
2084
|
protocol: "HTTPS",
|
|
1341
2085
|
pathname: "/",
|
|
@@ -1345,54 +2089,60 @@ export default class Client extends OpenApi {
|
|
|
1345
2089
|
reqBodyType: "formData",
|
|
1346
2090
|
bodyType: "json",
|
|
1347
2091
|
});
|
|
1348
|
-
return $dara.cast<$_model.
|
|
2092
|
+
return $dara.cast<$_model.FlowBindPhoneResponse>(await this.callApi(params, req, runtime), new $_model.FlowBindPhoneResponse({}));
|
|
1349
2093
|
}
|
|
1350
2094
|
|
|
1351
2095
|
/**
|
|
1352
|
-
*
|
|
2096
|
+
* Bind phone numbers to flow
|
|
1353
2097
|
*
|
|
1354
|
-
* @param request -
|
|
1355
|
-
* @returns
|
|
2098
|
+
* @param request - FlowBindPhoneRequest
|
|
2099
|
+
* @returns FlowBindPhoneResponse
|
|
1356
2100
|
*/
|
|
1357
|
-
async
|
|
2101
|
+
async flowBindPhone(request: $_model.FlowBindPhoneRequest): Promise<$_model.FlowBindPhoneResponse> {
|
|
1358
2102
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1359
|
-
return await this.
|
|
2103
|
+
return await this.flowBindPhoneWithOptions(request, runtime);
|
|
1360
2104
|
}
|
|
1361
2105
|
|
|
1362
2106
|
/**
|
|
1363
|
-
*
|
|
1364
|
-
*
|
|
1365
|
-
* @remarks
|
|
1366
|
-
* ### QPS limit
|
|
1367
|
-
* 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.
|
|
2107
|
+
* Rebind phone number for flow
|
|
1368
2108
|
*
|
|
1369
|
-
* @param
|
|
2109
|
+
* @param tmpReq - FlowRebindPhoneRequest
|
|
1370
2110
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1371
|
-
* @returns
|
|
2111
|
+
* @returns FlowRebindPhoneResponse
|
|
1372
2112
|
*/
|
|
1373
|
-
async
|
|
1374
|
-
|
|
2113
|
+
async flowRebindPhoneWithOptions(tmpReq: $_model.FlowRebindPhoneRequest, runtime: $dara.RuntimeOptions): Promise<$_model.FlowRebindPhoneResponse> {
|
|
2114
|
+
tmpReq.validate();
|
|
2115
|
+
let request = new $_model.FlowRebindPhoneShrinkRequest({ });
|
|
2116
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2117
|
+
if (!$dara.isNull(tmpReq.phoneNumbers)) {
|
|
2118
|
+
request.phoneNumbersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneNumbers, "PhoneNumbers", "json");
|
|
2119
|
+
}
|
|
2120
|
+
|
|
1375
2121
|
let query = { };
|
|
1376
|
-
if (!$dara.isNull(request.
|
|
1377
|
-
query["
|
|
2122
|
+
if (!$dara.isNull(request.channelCode)) {
|
|
2123
|
+
query["ChannelCode"] = request.channelCode;
|
|
1378
2124
|
}
|
|
1379
2125
|
|
|
1380
|
-
if (!$dara.isNull(request.
|
|
1381
|
-
query["
|
|
2126
|
+
if (!$dara.isNull(request.channelType)) {
|
|
2127
|
+
query["ChannelType"] = request.channelType;
|
|
1382
2128
|
}
|
|
1383
2129
|
|
|
1384
|
-
if (!$dara.isNull(request.
|
|
1385
|
-
query["
|
|
2130
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
2131
|
+
query["FlowCode"] = request.flowCode;
|
|
1386
2132
|
}
|
|
1387
2133
|
|
|
1388
|
-
if (!$dara.isNull(request.
|
|
1389
|
-
query["
|
|
2134
|
+
if (!$dara.isNull(request.flowVersion)) {
|
|
2135
|
+
query["FlowVersion"] = request.flowVersion;
|
|
1390
2136
|
}
|
|
1391
2137
|
|
|
1392
2138
|
if (!$dara.isNull(request.ownerId)) {
|
|
1393
2139
|
query["OwnerId"] = request.ownerId;
|
|
1394
2140
|
}
|
|
1395
2141
|
|
|
2142
|
+
if (!$dara.isNull(request.phoneNumbersShrink)) {
|
|
2143
|
+
query["PhoneNumbers"] = request.phoneNumbersShrink;
|
|
2144
|
+
}
|
|
2145
|
+
|
|
1396
2146
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
1397
2147
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1398
2148
|
}
|
|
@@ -1400,24 +2150,16 @@ export default class Client extends OpenApi {
|
|
|
1400
2150
|
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
1401
2151
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1402
2152
|
}
|
|
1403
|
-
|
|
1404
|
-
if (!$dara.isNull(request.
|
|
1405
|
-
query["
|
|
1406
|
-
}
|
|
1407
|
-
|
|
1408
|
-
if (!$dara.isNull(request.templateName)) {
|
|
1409
|
-
query["TemplateName"] = request.templateName;
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
if (!$dara.isNull(request.templateType)) {
|
|
1413
|
-
query["TemplateType"] = request.templateType;
|
|
2153
|
+
|
|
2154
|
+
if (!$dara.isNull(request.wabaId)) {
|
|
2155
|
+
query["WabaId"] = request.wabaId;
|
|
1414
2156
|
}
|
|
1415
2157
|
|
|
1416
2158
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1417
2159
|
query: OpenApiUtil.query(query),
|
|
1418
2160
|
});
|
|
1419
2161
|
let params = new $OpenApiUtil.Params({
|
|
1420
|
-
action: "
|
|
2162
|
+
action: "FlowRebindPhone",
|
|
1421
2163
|
version: "2020-06-06",
|
|
1422
2164
|
protocol: "HTTPS",
|
|
1423
2165
|
pathname: "/",
|
|
@@ -1427,103 +2169,69 @@ export default class Client extends OpenApi {
|
|
|
1427
2169
|
reqBodyType: "formData",
|
|
1428
2170
|
bodyType: "json",
|
|
1429
2171
|
});
|
|
1430
|
-
return $dara.cast<$_model.
|
|
2172
|
+
return $dara.cast<$_model.FlowRebindPhoneResponse>(await this.callApi(params, req, runtime), new $_model.FlowRebindPhoneResponse({}));
|
|
1431
2173
|
}
|
|
1432
2174
|
|
|
1433
2175
|
/**
|
|
1434
|
-
*
|
|
1435
|
-
*
|
|
1436
|
-
* @remarks
|
|
1437
|
-
* ### QPS limit
|
|
1438
|
-
* 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.
|
|
2176
|
+
* Rebind phone number for flow
|
|
1439
2177
|
*
|
|
1440
|
-
* @param request -
|
|
1441
|
-
* @returns
|
|
2178
|
+
* @param request - FlowRebindPhoneRequest
|
|
2179
|
+
* @returns FlowRebindPhoneResponse
|
|
1442
2180
|
*/
|
|
1443
|
-
async
|
|
2181
|
+
async flowRebindPhone(request: $_model.FlowRebindPhoneRequest): Promise<$_model.FlowRebindPhoneResponse> {
|
|
1444
2182
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1445
|
-
return await this.
|
|
2183
|
+
return await this.flowRebindPhoneWithOptions(request, runtime);
|
|
1446
2184
|
}
|
|
1447
2185
|
|
|
1448
2186
|
/**
|
|
1449
|
-
*
|
|
1450
|
-
*
|
|
1451
|
-
* @remarks
|
|
1452
|
-
* 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.
|
|
2187
|
+
* Unbind phone number from flow
|
|
1453
2188
|
*
|
|
1454
|
-
* @param
|
|
2189
|
+
* @param tmpReq - FlowUnbindPhoneRequest
|
|
1455
2190
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1456
|
-
* @returns
|
|
2191
|
+
* @returns FlowUnbindPhoneResponse
|
|
1457
2192
|
*/
|
|
1458
|
-
async
|
|
1459
|
-
|
|
1460
|
-
let
|
|
1461
|
-
|
|
1462
|
-
|
|
2193
|
+
async flowUnbindPhoneWithOptions(tmpReq: $_model.FlowUnbindPhoneRequest, runtime: $dara.RuntimeOptions): Promise<$_model.FlowUnbindPhoneResponse> {
|
|
2194
|
+
tmpReq.validate();
|
|
2195
|
+
let request = new $_model.FlowUnbindPhoneShrinkRequest({ });
|
|
2196
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2197
|
+
if (!$dara.isNull(tmpReq.phoneNumbers)) {
|
|
2198
|
+
request.phoneNumbersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneNumbers, "PhoneNumbers", "json");
|
|
1463
2199
|
}
|
|
1464
2200
|
|
|
1465
|
-
|
|
1466
|
-
|
|
2201
|
+
let query = { };
|
|
2202
|
+
if (!$dara.isNull(request.channelType)) {
|
|
2203
|
+
query["ChannelType"] = request.channelType;
|
|
1467
2204
|
}
|
|
1468
2205
|
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
}
|
|
1472
|
-
let params = new $OpenApiUtil.Params({
|
|
1473
|
-
action: "DeleteFlow",
|
|
1474
|
-
version: "2020-06-06",
|
|
1475
|
-
protocol: "HTTPS",
|
|
1476
|
-
pathname: "/",
|
|
1477
|
-
method: "POST",
|
|
1478
|
-
authType: "AK",
|
|
1479
|
-
style: "RPC",
|
|
1480
|
-
reqBodyType: "formData",
|
|
1481
|
-
bodyType: "json",
|
|
1482
|
-
});
|
|
1483
|
-
return $dara.cast<$_model.DeleteFlowResponse>(await this.callApi(params, req, runtime), new $_model.DeleteFlowResponse({}));
|
|
1484
|
-
}
|
|
2206
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
2207
|
+
query["FlowCode"] = request.flowCode;
|
|
2208
|
+
}
|
|
1485
2209
|
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
* @remarks
|
|
1490
|
-
* 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.
|
|
1491
|
-
*
|
|
1492
|
-
* @param request - DeleteFlowRequest
|
|
1493
|
-
* @returns DeleteFlowResponse
|
|
1494
|
-
*/
|
|
1495
|
-
async deleteFlow(request: $_model.DeleteFlowRequest): Promise<$_model.DeleteFlowResponse> {
|
|
1496
|
-
let runtime = new $dara.RuntimeOptions({ });
|
|
1497
|
-
return await this.deleteFlowWithOptions(request, runtime);
|
|
1498
|
-
}
|
|
2210
|
+
if (!$dara.isNull(request.flowVersion)) {
|
|
2211
|
+
query["FlowVersion"] = request.flowVersion;
|
|
2212
|
+
}
|
|
1499
2213
|
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
*
|
|
1503
|
-
* @param request - DeletePhoneMessageQrdlRequest
|
|
1504
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
1505
|
-
* @returns DeletePhoneMessageQrdlResponse
|
|
1506
|
-
*/
|
|
1507
|
-
async deletePhoneMessageQrdlWithOptions(request: $_model.DeletePhoneMessageQrdlRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeletePhoneMessageQrdlResponse> {
|
|
1508
|
-
request.validate();
|
|
1509
|
-
let body : {[key: string ]: any} = { };
|
|
1510
|
-
if (!$dara.isNull(request.custSpaceId)) {
|
|
1511
|
-
body["CustSpaceId"] = request.custSpaceId;
|
|
2214
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
2215
|
+
query["OwnerId"] = request.ownerId;
|
|
1512
2216
|
}
|
|
1513
2217
|
|
|
1514
|
-
if (!$dara.isNull(request.
|
|
1515
|
-
|
|
2218
|
+
if (!$dara.isNull(request.phoneNumbersShrink)) {
|
|
2219
|
+
query["PhoneNumbers"] = request.phoneNumbersShrink;
|
|
1516
2220
|
}
|
|
1517
2221
|
|
|
1518
|
-
if (!$dara.isNull(request.
|
|
1519
|
-
|
|
2222
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2223
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2227
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1520
2228
|
}
|
|
1521
2229
|
|
|
1522
2230
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1523
|
-
|
|
2231
|
+
query: OpenApiUtil.query(query),
|
|
1524
2232
|
});
|
|
1525
2233
|
let params = new $OpenApiUtil.Params({
|
|
1526
|
-
action: "
|
|
2234
|
+
action: "FlowUnbindPhone",
|
|
1527
2235
|
version: "2020-06-06",
|
|
1528
2236
|
protocol: "HTTPS",
|
|
1529
2237
|
pathname: "/",
|
|
@@ -1533,43 +2241,89 @@ export default class Client extends OpenApi {
|
|
|
1533
2241
|
reqBodyType: "formData",
|
|
1534
2242
|
bodyType: "json",
|
|
1535
2243
|
});
|
|
1536
|
-
return $dara.cast<$_model.
|
|
2244
|
+
return $dara.cast<$_model.FlowUnbindPhoneResponse>(await this.callApi(params, req, runtime), new $_model.FlowUnbindPhoneResponse({}));
|
|
1537
2245
|
}
|
|
1538
2246
|
|
|
1539
2247
|
/**
|
|
1540
|
-
*
|
|
2248
|
+
* Unbind phone number from flow
|
|
1541
2249
|
*
|
|
1542
|
-
* @param request -
|
|
1543
|
-
* @returns
|
|
2250
|
+
* @param request - FlowUnbindPhoneRequest
|
|
2251
|
+
* @returns FlowUnbindPhoneResponse
|
|
1544
2252
|
*/
|
|
1545
|
-
async
|
|
2253
|
+
async flowUnbindPhone(request: $_model.FlowUnbindPhoneRequest): Promise<$_model.FlowUnbindPhoneResponse> {
|
|
1546
2254
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1547
|
-
return await this.
|
|
2255
|
+
return await this.flowUnbindPhoneWithOptions(request, runtime);
|
|
1548
2256
|
}
|
|
1549
2257
|
|
|
1550
2258
|
/**
|
|
1551
|
-
*
|
|
2259
|
+
* Get ChatFlow Runtime Data
|
|
1552
2260
|
*
|
|
1553
|
-
* @param
|
|
2261
|
+
* @param tmpReq - GetChatFlowMetricRequest
|
|
1554
2262
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1555
|
-
* @returns
|
|
2263
|
+
* @returns GetChatFlowMetricResponse
|
|
1556
2264
|
*/
|
|
1557
|
-
async
|
|
1558
|
-
|
|
1559
|
-
let
|
|
1560
|
-
|
|
1561
|
-
|
|
2265
|
+
async getChatFlowMetricWithOptions(tmpReq: $_model.GetChatFlowMetricRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetChatFlowMetricResponse> {
|
|
2266
|
+
tmpReq.validate();
|
|
2267
|
+
let request = new $_model.GetChatFlowMetricShrinkRequest({ });
|
|
2268
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
2269
|
+
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
2270
|
+
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
1562
2271
|
}
|
|
1563
2272
|
|
|
1564
|
-
if (!$dara.isNull(
|
|
1565
|
-
|
|
2273
|
+
if (!$dara.isNull(tmpReq.metricParam)) {
|
|
2274
|
+
request.metricParamShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.metricParam, "MetricParam", "json");
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
let query = { };
|
|
2278
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
2279
|
+
query["BizCode"] = request.bizCode;
|
|
2280
|
+
}
|
|
2281
|
+
|
|
2282
|
+
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
2283
|
+
query["BizExtend"] = request.bizExtendShrink;
|
|
2284
|
+
}
|
|
2285
|
+
|
|
2286
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
2287
|
+
query["FlowCode"] = request.flowCode;
|
|
2288
|
+
}
|
|
2289
|
+
|
|
2290
|
+
if (!$dara.isNull(request.flowVersion)) {
|
|
2291
|
+
query["FlowVersion"] = request.flowVersion;
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
if (!$dara.isNull(request.from)) {
|
|
2295
|
+
query["From"] = request.from;
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
if (!$dara.isNull(request.metricName)) {
|
|
2299
|
+
query["MetricName"] = request.metricName;
|
|
2300
|
+
}
|
|
2301
|
+
|
|
2302
|
+
if (!$dara.isNull(request.metricParamShrink)) {
|
|
2303
|
+
query["MetricParam"] = request.metricParamShrink;
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
2307
|
+
query["OwnerId"] = request.ownerId;
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2311
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2315
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2318
|
+
if (!$dara.isNull(request.to)) {
|
|
2319
|
+
query["To"] = request.to;
|
|
1566
2320
|
}
|
|
1567
2321
|
|
|
1568
2322
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1569
|
-
|
|
2323
|
+
query: OpenApiUtil.query(query),
|
|
1570
2324
|
});
|
|
1571
2325
|
let params = new $OpenApiUtil.Params({
|
|
1572
|
-
action: "
|
|
2326
|
+
action: "GetChatFlowMetric",
|
|
1573
2327
|
version: "2020-06-06",
|
|
1574
2328
|
protocol: "HTTPS",
|
|
1575
2329
|
pathname: "/",
|
|
@@ -1579,46 +2333,55 @@ export default class Client extends OpenApi {
|
|
|
1579
2333
|
reqBodyType: "formData",
|
|
1580
2334
|
bodyType: "json",
|
|
1581
2335
|
});
|
|
1582
|
-
return $dara.cast<$_model.
|
|
2336
|
+
return $dara.cast<$_model.GetChatFlowMetricResponse>(await this.callApi(params, req, runtime), new $_model.GetChatFlowMetricResponse({}));
|
|
1583
2337
|
}
|
|
1584
2338
|
|
|
1585
2339
|
/**
|
|
1586
|
-
*
|
|
2340
|
+
* Get ChatFlow Runtime Data
|
|
1587
2341
|
*
|
|
1588
|
-
* @param request -
|
|
1589
|
-
* @returns
|
|
2342
|
+
* @param request - GetChatFlowMetricRequest
|
|
2343
|
+
* @returns GetChatFlowMetricResponse
|
|
1590
2344
|
*/
|
|
1591
|
-
async
|
|
2345
|
+
async getChatFlowMetric(request: $_model.GetChatFlowMetricRequest): Promise<$_model.GetChatFlowMetricResponse> {
|
|
1592
2346
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1593
|
-
return await this.
|
|
2347
|
+
return await this.getChatFlowMetricWithOptions(request, runtime);
|
|
1594
2348
|
}
|
|
1595
2349
|
|
|
1596
2350
|
/**
|
|
1597
|
-
*
|
|
1598
|
-
*
|
|
1599
|
-
* @remarks
|
|
1600
|
-
* 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.
|
|
2351
|
+
* Query chatFlow template
|
|
1601
2352
|
*
|
|
1602
|
-
* @param request -
|
|
2353
|
+
* @param request - GetChatFlowTemplateRequest
|
|
1603
2354
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1604
|
-
* @returns
|
|
2355
|
+
* @returns GetChatFlowTemplateResponse
|
|
1605
2356
|
*/
|
|
1606
|
-
async
|
|
2357
|
+
async getChatFlowTemplateWithOptions(request: $_model.GetChatFlowTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetChatFlowTemplateResponse> {
|
|
1607
2358
|
request.validate();
|
|
1608
2359
|
let query = { };
|
|
1609
|
-
if (!$dara.isNull(request.
|
|
1610
|
-
query["
|
|
2360
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
2361
|
+
query["BizCode"] = request.bizCode;
|
|
1611
2362
|
}
|
|
1612
2363
|
|
|
1613
|
-
if (!$dara.isNull(request.
|
|
1614
|
-
query["
|
|
2364
|
+
if (!$dara.isNull(request.id)) {
|
|
2365
|
+
query["Id"] = request.id;
|
|
2366
|
+
}
|
|
2367
|
+
|
|
2368
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
2369
|
+
query["OwnerId"] = request.ownerId;
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2373
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2377
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1615
2378
|
}
|
|
1616
2379
|
|
|
1617
2380
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1618
2381
|
query: OpenApiUtil.query(query),
|
|
1619
2382
|
});
|
|
1620
2383
|
let params = new $OpenApiUtil.Params({
|
|
1621
|
-
action: "
|
|
2384
|
+
action: "GetChatFlowTemplate",
|
|
1622
2385
|
version: "2020-06-06",
|
|
1623
2386
|
protocol: "HTTPS",
|
|
1624
2387
|
pathname: "/",
|
|
@@ -1628,21 +2391,18 @@ export default class Client extends OpenApi {
|
|
|
1628
2391
|
reqBodyType: "formData",
|
|
1629
2392
|
bodyType: "json",
|
|
1630
2393
|
});
|
|
1631
|
-
return $dara.cast<$_model.
|
|
2394
|
+
return $dara.cast<$_model.GetChatFlowTemplateResponse>(await this.callApi(params, req, runtime), new $_model.GetChatFlowTemplateResponse({}));
|
|
1632
2395
|
}
|
|
1633
2396
|
|
|
1634
2397
|
/**
|
|
1635
|
-
*
|
|
1636
|
-
*
|
|
1637
|
-
* @remarks
|
|
1638
|
-
* 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.
|
|
2398
|
+
* Query chatFlow template
|
|
1639
2399
|
*
|
|
1640
|
-
* @param request -
|
|
1641
|
-
* @returns
|
|
2400
|
+
* @param request - GetChatFlowTemplateRequest
|
|
2401
|
+
* @returns GetChatFlowTemplateResponse
|
|
1642
2402
|
*/
|
|
1643
|
-
async
|
|
2403
|
+
async getChatFlowTemplate(request: $_model.GetChatFlowTemplateRequest): Promise<$_model.GetChatFlowTemplateResponse> {
|
|
1644
2404
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1645
|
-
return await this.
|
|
2405
|
+
return await this.getChatFlowTemplateWithOptions(request, runtime);
|
|
1646
2406
|
}
|
|
1647
2407
|
|
|
1648
2408
|
/**
|
|
@@ -1674,10 +2434,22 @@ export default class Client extends OpenApi {
|
|
|
1674
2434
|
query["IsvCode"] = request.isvCode;
|
|
1675
2435
|
}
|
|
1676
2436
|
|
|
2437
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
2438
|
+
query["OwnerId"] = request.ownerId;
|
|
2439
|
+
}
|
|
2440
|
+
|
|
1677
2441
|
if (!$dara.isNull(request.phoneNumber)) {
|
|
1678
2442
|
query["PhoneNumber"] = request.phoneNumber;
|
|
1679
2443
|
}
|
|
1680
2444
|
|
|
2445
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2446
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2450
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2451
|
+
}
|
|
2452
|
+
|
|
1681
2453
|
if (!$dara.isNull(request.start)) {
|
|
1682
2454
|
query["Start"] = request.start;
|
|
1683
2455
|
}
|
|
@@ -1820,6 +2592,18 @@ export default class Client extends OpenApi {
|
|
|
1820
2592
|
query["Language"] = request.language;
|
|
1821
2593
|
}
|
|
1822
2594
|
|
|
2595
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
2596
|
+
query["OwnerId"] = request.ownerId;
|
|
2597
|
+
}
|
|
2598
|
+
|
|
2599
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2600
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2603
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2604
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2605
|
+
}
|
|
2606
|
+
|
|
1823
2607
|
if (!$dara.isNull(request.start)) {
|
|
1824
2608
|
query["Start"] = request.start;
|
|
1825
2609
|
}
|
|
@@ -1880,6 +2664,18 @@ export default class Client extends OpenApi {
|
|
|
1880
2664
|
query["CustSpaceId"] = request.custSpaceId;
|
|
1881
2665
|
}
|
|
1882
2666
|
|
|
2667
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
2668
|
+
query["OwnerId"] = request.ownerId;
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2671
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2672
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2673
|
+
}
|
|
2674
|
+
|
|
2675
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2676
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2677
|
+
}
|
|
2678
|
+
|
|
1883
2679
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1884
2680
|
query: OpenApiUtil.query(query),
|
|
1885
2681
|
});
|
|
@@ -2127,17 +2923,29 @@ export default class Client extends OpenApi {
|
|
|
2127
2923
|
*/
|
|
2128
2924
|
async getFlowWithOptions(request: $_model.GetFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetFlowResponse> {
|
|
2129
2925
|
request.validate();
|
|
2130
|
-
let
|
|
2926
|
+
let query = { };
|
|
2131
2927
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
2132
|
-
|
|
2928
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
2133
2929
|
}
|
|
2134
2930
|
|
|
2135
2931
|
if (!$dara.isNull(request.flowId)) {
|
|
2136
|
-
|
|
2932
|
+
query["FlowId"] = request.flowId;
|
|
2933
|
+
}
|
|
2934
|
+
|
|
2935
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
2936
|
+
query["OwnerId"] = request.ownerId;
|
|
2937
|
+
}
|
|
2938
|
+
|
|
2939
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2940
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2943
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2944
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2137
2945
|
}
|
|
2138
2946
|
|
|
2139
2947
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2140
|
-
|
|
2948
|
+
query: OpenApiUtil.query(query),
|
|
2141
2949
|
});
|
|
2142
2950
|
let params = new $OpenApiUtil.Params({
|
|
2143
2951
|
action: "GetFlow",
|
|
@@ -2176,17 +2984,29 @@ export default class Client extends OpenApi {
|
|
|
2176
2984
|
*/
|
|
2177
2985
|
async getFlowJSONAssestWithOptions(request: $_model.GetFlowJSONAssestRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetFlowJSONAssestResponse> {
|
|
2178
2986
|
request.validate();
|
|
2179
|
-
let
|
|
2987
|
+
let query = { };
|
|
2180
2988
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
2181
|
-
|
|
2989
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
2182
2990
|
}
|
|
2183
2991
|
|
|
2184
2992
|
if (!$dara.isNull(request.flowId)) {
|
|
2185
|
-
|
|
2993
|
+
query["FlowId"] = request.flowId;
|
|
2994
|
+
}
|
|
2995
|
+
|
|
2996
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
2997
|
+
query["OwnerId"] = request.ownerId;
|
|
2998
|
+
}
|
|
2999
|
+
|
|
3000
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
3001
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3002
|
+
}
|
|
3003
|
+
|
|
3004
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
3005
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2186
3006
|
}
|
|
2187
3007
|
|
|
2188
3008
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2189
|
-
|
|
3009
|
+
query: OpenApiUtil.query(query),
|
|
2190
3010
|
});
|
|
2191
3011
|
let params = new $OpenApiUtil.Params({
|
|
2192
3012
|
action: "GetFlowJSONAssest",
|
|
@@ -2225,17 +3045,29 @@ export default class Client extends OpenApi {
|
|
|
2225
3045
|
*/
|
|
2226
3046
|
async getFlowPreviewUrlWithOptions(request: $_model.GetFlowPreviewUrlRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetFlowPreviewUrlResponse> {
|
|
2227
3047
|
request.validate();
|
|
2228
|
-
let
|
|
3048
|
+
let query = { };
|
|
2229
3049
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
2230
|
-
|
|
3050
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
2231
3051
|
}
|
|
2232
3052
|
|
|
2233
3053
|
if (!$dara.isNull(request.flowId)) {
|
|
2234
|
-
|
|
3054
|
+
query["FlowId"] = request.flowId;
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
3058
|
+
query["OwnerId"] = request.ownerId;
|
|
3059
|
+
}
|
|
3060
|
+
|
|
3061
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
3062
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3063
|
+
}
|
|
3064
|
+
|
|
3065
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
3066
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2235
3067
|
}
|
|
2236
3068
|
|
|
2237
3069
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2238
|
-
|
|
3070
|
+
query: OpenApiUtil.query(query),
|
|
2239
3071
|
});
|
|
2240
3072
|
let params = new $OpenApiUtil.Params({
|
|
2241
3073
|
action: "GetFlowPreviewUrl",
|
|
@@ -2290,10 +3122,22 @@ export default class Client extends OpenApi {
|
|
|
2290
3122
|
query["Method"] = request.method;
|
|
2291
3123
|
}
|
|
2292
3124
|
|
|
3125
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
3126
|
+
query["OwnerId"] = request.ownerId;
|
|
3127
|
+
}
|
|
3128
|
+
|
|
2293
3129
|
if (!$dara.isNull(request.phoneNumber)) {
|
|
2294
3130
|
query["PhoneNumber"] = request.phoneNumber;
|
|
2295
3131
|
}
|
|
2296
3132
|
|
|
3133
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
3134
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
3138
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3139
|
+
}
|
|
3140
|
+
|
|
2297
3141
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2298
3142
|
query: OpenApiUtil.query(query),
|
|
2299
3143
|
});
|
|
@@ -2340,21 +3184,33 @@ export default class Client extends OpenApi {
|
|
|
2340
3184
|
request.permissionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.permissions, "Permissions", "json");
|
|
2341
3185
|
}
|
|
2342
3186
|
|
|
2343
|
-
let
|
|
3187
|
+
let query = { };
|
|
2344
3188
|
if (!$dara.isNull(request.code)) {
|
|
2345
|
-
|
|
3189
|
+
query["Code"] = request.code;
|
|
2346
3190
|
}
|
|
2347
3191
|
|
|
2348
3192
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
2349
|
-
|
|
3193
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3194
|
+
}
|
|
3195
|
+
|
|
3196
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
3197
|
+
query["OwnerId"] = request.ownerId;
|
|
2350
3198
|
}
|
|
2351
3199
|
|
|
2352
3200
|
if (!$dara.isNull(request.permissionsShrink)) {
|
|
2353
|
-
|
|
3201
|
+
query["Permissions"] = request.permissionsShrink;
|
|
3202
|
+
}
|
|
3203
|
+
|
|
3204
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
3205
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3208
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
3209
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2354
3210
|
}
|
|
2355
3211
|
|
|
2356
3212
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2357
|
-
|
|
3213
|
+
query: OpenApiUtil.query(query),
|
|
2358
3214
|
});
|
|
2359
3215
|
let params = new $OpenApiUtil.Params({
|
|
2360
3216
|
action: "GetPermissionByCode",
|
|
@@ -2390,17 +3246,29 @@ export default class Client extends OpenApi {
|
|
|
2390
3246
|
*/
|
|
2391
3247
|
async getPhoneEncryptionPublicKeyWithOptions(request: $_model.GetPhoneEncryptionPublicKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetPhoneEncryptionPublicKeyResponse> {
|
|
2392
3248
|
request.validate();
|
|
2393
|
-
let
|
|
3249
|
+
let query = { };
|
|
2394
3250
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
2395
|
-
|
|
3251
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3252
|
+
}
|
|
3253
|
+
|
|
3254
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
3255
|
+
query["OwnerId"] = request.ownerId;
|
|
2396
3256
|
}
|
|
2397
3257
|
|
|
2398
3258
|
if (!$dara.isNull(request.phoneNumber)) {
|
|
2399
|
-
|
|
3259
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
3260
|
+
}
|
|
3261
|
+
|
|
3262
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
3263
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3264
|
+
}
|
|
3265
|
+
|
|
3266
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
3267
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2400
3268
|
}
|
|
2401
3269
|
|
|
2402
3270
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2403
|
-
|
|
3271
|
+
query: OpenApiUtil.query(query),
|
|
2404
3272
|
});
|
|
2405
3273
|
let params = new $OpenApiUtil.Params({
|
|
2406
3274
|
action: "GetPhoneEncryptionPublicKey",
|
|
@@ -2439,17 +3307,29 @@ export default class Client extends OpenApi {
|
|
|
2439
3307
|
*/
|
|
2440
3308
|
async getPhoneNumberVerificationStatusWithOptions(request: $_model.GetPhoneNumberVerificationStatusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetPhoneNumberVerificationStatusResponse> {
|
|
2441
3309
|
request.validate();
|
|
2442
|
-
let
|
|
3310
|
+
let query = { };
|
|
2443
3311
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
2444
|
-
|
|
3312
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3313
|
+
}
|
|
3314
|
+
|
|
3315
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
3316
|
+
query["OwnerId"] = request.ownerId;
|
|
2445
3317
|
}
|
|
2446
3318
|
|
|
2447
3319
|
if (!$dara.isNull(request.phoneNumber)) {
|
|
2448
|
-
|
|
3320
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3323
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
3324
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3325
|
+
}
|
|
3326
|
+
|
|
3327
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
3328
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2449
3329
|
}
|
|
2450
3330
|
|
|
2451
3331
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2452
|
-
|
|
3332
|
+
query: OpenApiUtil.query(query),
|
|
2453
3333
|
});
|
|
2454
3334
|
let params = new $OpenApiUtil.Params({
|
|
2455
3335
|
action: "GetPhoneNumberVerificationStatus",
|
|
@@ -2685,26 +3565,271 @@ export default class Client extends OpenApi {
|
|
|
2685
3565
|
* @remarks
|
|
2686
3566
|
* 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.
|
|
2687
3567
|
*
|
|
2688
|
-
* @param request - IsvGetAppIdRequest
|
|
3568
|
+
* @param request - IsvGetAppIdRequest
|
|
3569
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3570
|
+
* @returns IsvGetAppIdResponse
|
|
3571
|
+
*/
|
|
3572
|
+
async isvGetAppIdWithOptions(request: $_model.IsvGetAppIdRequest, runtime: $dara.RuntimeOptions): Promise<$_model.IsvGetAppIdResponse> {
|
|
3573
|
+
request.validate();
|
|
3574
|
+
let query = { };
|
|
3575
|
+
if (!$dara.isNull(request.intlVersion)) {
|
|
3576
|
+
query["IntlVersion"] = request.intlVersion;
|
|
3577
|
+
}
|
|
3578
|
+
|
|
3579
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
3580
|
+
query["OwnerId"] = request.ownerId;
|
|
3581
|
+
}
|
|
3582
|
+
|
|
3583
|
+
if (!$dara.isNull(request.permissions)) {
|
|
3584
|
+
query["Permissions"] = request.permissions;
|
|
3585
|
+
}
|
|
3586
|
+
|
|
3587
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
3588
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3589
|
+
}
|
|
3590
|
+
|
|
3591
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
3592
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3593
|
+
}
|
|
3594
|
+
|
|
3595
|
+
if (!$dara.isNull(request.type)) {
|
|
3596
|
+
query["Type"] = request.type;
|
|
3597
|
+
}
|
|
3598
|
+
|
|
3599
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3600
|
+
query: OpenApiUtil.query(query),
|
|
3601
|
+
});
|
|
3602
|
+
let params = new $OpenApiUtil.Params({
|
|
3603
|
+
action: "IsvGetAppId",
|
|
3604
|
+
version: "2020-06-06",
|
|
3605
|
+
protocol: "HTTPS",
|
|
3606
|
+
pathname: "/",
|
|
3607
|
+
method: "POST",
|
|
3608
|
+
authType: "AK",
|
|
3609
|
+
style: "RPC",
|
|
3610
|
+
reqBodyType: "formData",
|
|
3611
|
+
bodyType: "json",
|
|
3612
|
+
});
|
|
3613
|
+
return $dara.cast<$_model.IsvGetAppIdResponse>(await this.callApi(params, req, runtime), new $_model.IsvGetAppIdResponse({}));
|
|
3614
|
+
}
|
|
3615
|
+
|
|
3616
|
+
/**
|
|
3617
|
+
* Obtains the application ID under the ISV account.
|
|
3618
|
+
*
|
|
3619
|
+
* @remarks
|
|
3620
|
+
* 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.
|
|
3621
|
+
*
|
|
3622
|
+
* @param request - IsvGetAppIdRequest
|
|
3623
|
+
* @returns IsvGetAppIdResponse
|
|
3624
|
+
*/
|
|
3625
|
+
async isvGetAppId(request: $_model.IsvGetAppIdRequest): Promise<$_model.IsvGetAppIdResponse> {
|
|
3626
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3627
|
+
return await this.isvGetAppIdWithOptions(request, runtime);
|
|
3628
|
+
}
|
|
3629
|
+
|
|
3630
|
+
/**
|
|
3631
|
+
* Query Bound List Based on flowCode
|
|
3632
|
+
*
|
|
3633
|
+
* @remarks
|
|
3634
|
+
* - You can call this interface to query the list of phone numbers or merchant account IDs bound to a process, or you can view the list in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** interface.
|
|
3635
|
+
* - Before calling this interface, make sure that the process you created has already been bound to a phone number or merchant account ID.
|
|
3636
|
+
* - If the process you created is not bound to a phone number or merchant account ID, you can manually bind a phone number or merchant account ID in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** interface, or bind it through the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) interface.
|
|
3637
|
+
*
|
|
3638
|
+
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
3639
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3640
|
+
* @returns ListBindingRelationsForFlowVersionResponse
|
|
3641
|
+
*/
|
|
3642
|
+
async listBindingRelationsForFlowVersionWithOptions(request: $_model.ListBindingRelationsForFlowVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListBindingRelationsForFlowVersionResponse> {
|
|
3643
|
+
request.validate();
|
|
3644
|
+
let query = { };
|
|
3645
|
+
if (!$dara.isNull(request.channelType)) {
|
|
3646
|
+
query["ChannelType"] = request.channelType;
|
|
3647
|
+
}
|
|
3648
|
+
|
|
3649
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
3650
|
+
query["FlowCode"] = request.flowCode;
|
|
3651
|
+
}
|
|
3652
|
+
|
|
3653
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
3654
|
+
query["OwnerId"] = request.ownerId;
|
|
3655
|
+
}
|
|
3656
|
+
|
|
3657
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
3658
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3659
|
+
}
|
|
3660
|
+
|
|
3661
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
3662
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3663
|
+
}
|
|
3664
|
+
|
|
3665
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3666
|
+
query: OpenApiUtil.query(query),
|
|
3667
|
+
});
|
|
3668
|
+
let params = new $OpenApiUtil.Params({
|
|
3669
|
+
action: "ListBindingRelationsForFlowVersion",
|
|
3670
|
+
version: "2020-06-06",
|
|
3671
|
+
protocol: "HTTPS",
|
|
3672
|
+
pathname: "/",
|
|
3673
|
+
method: "POST",
|
|
3674
|
+
authType: "AK",
|
|
3675
|
+
style: "RPC",
|
|
3676
|
+
reqBodyType: "formData",
|
|
3677
|
+
bodyType: "json",
|
|
3678
|
+
});
|
|
3679
|
+
return $dara.cast<$_model.ListBindingRelationsForFlowVersionResponse>(await this.callApi(params, req, runtime), new $_model.ListBindingRelationsForFlowVersionResponse({}));
|
|
3680
|
+
}
|
|
3681
|
+
|
|
3682
|
+
/**
|
|
3683
|
+
* Query Bound List Based on flowCode
|
|
3684
|
+
*
|
|
3685
|
+
* @remarks
|
|
3686
|
+
* - You can call this interface to query the list of phone numbers or merchant account IDs bound to a process, or you can view the list in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** interface.
|
|
3687
|
+
* - Before calling this interface, make sure that the process you created has already been bound to a phone number or merchant account ID.
|
|
3688
|
+
* - If the process you created is not bound to a phone number or merchant account ID, you can manually bind a phone number or merchant account ID in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** interface, or bind it through the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) interface.
|
|
3689
|
+
*
|
|
3690
|
+
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
3691
|
+
* @returns ListBindingRelationsForFlowVersionResponse
|
|
3692
|
+
*/
|
|
3693
|
+
async listBindingRelationsForFlowVersion(request: $_model.ListBindingRelationsForFlowVersionRequest): Promise<$_model.ListBindingRelationsForFlowVersionResponse> {
|
|
3694
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3695
|
+
return await this.listBindingRelationsForFlowVersionWithOptions(request, runtime);
|
|
3696
|
+
}
|
|
3697
|
+
|
|
3698
|
+
/**
|
|
3699
|
+
* List Flows
|
|
3700
|
+
*
|
|
3701
|
+
* @param tmpReq - ListChatFlowRequest
|
|
3702
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3703
|
+
* @returns ListChatFlowResponse
|
|
3704
|
+
*/
|
|
3705
|
+
async listChatFlowWithOptions(tmpReq: $_model.ListChatFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListChatFlowResponse> {
|
|
3706
|
+
tmpReq.validate();
|
|
3707
|
+
let request = new $_model.ListChatFlowShrinkRequest({ });
|
|
3708
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
3709
|
+
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
3710
|
+
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
3711
|
+
}
|
|
3712
|
+
|
|
3713
|
+
let query = { };
|
|
3714
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
3715
|
+
query["BizCode"] = request.bizCode;
|
|
3716
|
+
}
|
|
3717
|
+
|
|
3718
|
+
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
3719
|
+
query["BizExtend"] = request.bizExtendShrink;
|
|
3720
|
+
}
|
|
3721
|
+
|
|
3722
|
+
if (!$dara.isNull(request.flowTriggerType)) {
|
|
3723
|
+
query["FlowTriggerType"] = request.flowTriggerType;
|
|
3724
|
+
}
|
|
3725
|
+
|
|
3726
|
+
if (!$dara.isNull(request.keyword)) {
|
|
3727
|
+
query["Keyword"] = request.keyword;
|
|
3728
|
+
}
|
|
3729
|
+
|
|
3730
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
3731
|
+
query["OwnerId"] = request.ownerId;
|
|
3732
|
+
}
|
|
3733
|
+
|
|
3734
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
3735
|
+
query["PageNo"] = request.pageNo;
|
|
3736
|
+
}
|
|
3737
|
+
|
|
3738
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
3739
|
+
query["PageSize"] = request.pageSize;
|
|
3740
|
+
}
|
|
3741
|
+
|
|
3742
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
3743
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3744
|
+
}
|
|
3745
|
+
|
|
3746
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
3747
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3748
|
+
}
|
|
3749
|
+
|
|
3750
|
+
if (!$dara.isNull(request.returnWithOnlineVersion)) {
|
|
3751
|
+
query["ReturnWithOnlineVersion"] = request.returnWithOnlineVersion;
|
|
3752
|
+
}
|
|
3753
|
+
|
|
3754
|
+
if (!$dara.isNull(request.status)) {
|
|
3755
|
+
query["Status"] = request.status;
|
|
3756
|
+
}
|
|
3757
|
+
|
|
3758
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3759
|
+
query: OpenApiUtil.query(query),
|
|
3760
|
+
});
|
|
3761
|
+
let params = new $OpenApiUtil.Params({
|
|
3762
|
+
action: "ListChatFlow",
|
|
3763
|
+
version: "2020-06-06",
|
|
3764
|
+
protocol: "HTTPS",
|
|
3765
|
+
pathname: "/",
|
|
3766
|
+
method: "POST",
|
|
3767
|
+
authType: "AK",
|
|
3768
|
+
style: "RPC",
|
|
3769
|
+
reqBodyType: "formData",
|
|
3770
|
+
bodyType: "json",
|
|
3771
|
+
});
|
|
3772
|
+
return $dara.cast<$_model.ListChatFlowResponse>(await this.callApi(params, req, runtime), new $_model.ListChatFlowResponse({}));
|
|
3773
|
+
}
|
|
3774
|
+
|
|
3775
|
+
/**
|
|
3776
|
+
* List Flows
|
|
3777
|
+
*
|
|
3778
|
+
* @param request - ListChatFlowRequest
|
|
3779
|
+
* @returns ListChatFlowResponse
|
|
3780
|
+
*/
|
|
3781
|
+
async listChatFlow(request: $_model.ListChatFlowRequest): Promise<$_model.ListChatFlowResponse> {
|
|
3782
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3783
|
+
return await this.listChatFlowWithOptions(request, runtime);
|
|
3784
|
+
}
|
|
3785
|
+
|
|
3786
|
+
/**
|
|
3787
|
+
* ChatFlow Template List
|
|
3788
|
+
*
|
|
3789
|
+
* @param request - ListChatFlowTemplateRequest
|
|
2689
3790
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2690
|
-
* @returns
|
|
3791
|
+
* @returns ListChatFlowTemplateResponse
|
|
2691
3792
|
*/
|
|
2692
|
-
async
|
|
3793
|
+
async listChatFlowTemplateWithOptions(request: $_model.ListChatFlowTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListChatFlowTemplateResponse> {
|
|
2693
3794
|
request.validate();
|
|
2694
|
-
let
|
|
2695
|
-
if (!$dara.isNull(request.
|
|
2696
|
-
|
|
3795
|
+
let query = { };
|
|
3796
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
3797
|
+
query["BizCode"] = request.bizCode;
|
|
2697
3798
|
}
|
|
2698
3799
|
|
|
2699
|
-
if (!$dara.isNull(request.
|
|
2700
|
-
|
|
3800
|
+
if (!$dara.isNull(request.keyword)) {
|
|
3801
|
+
query["Keyword"] = request.keyword;
|
|
3802
|
+
}
|
|
3803
|
+
|
|
3804
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
3805
|
+
query["OwnerId"] = request.ownerId;
|
|
3806
|
+
}
|
|
3807
|
+
|
|
3808
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
3809
|
+
query["PageNo"] = request.pageNo;
|
|
3810
|
+
}
|
|
3811
|
+
|
|
3812
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
3813
|
+
query["PageSize"] = request.pageSize;
|
|
3814
|
+
}
|
|
3815
|
+
|
|
3816
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
3817
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3818
|
+
}
|
|
3819
|
+
|
|
3820
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
3821
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3822
|
+
}
|
|
3823
|
+
|
|
3824
|
+
if (!$dara.isNull(request.triggerType)) {
|
|
3825
|
+
query["TriggerType"] = request.triggerType;
|
|
2701
3826
|
}
|
|
2702
3827
|
|
|
2703
3828
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2704
|
-
|
|
3829
|
+
query: OpenApiUtil.query(query),
|
|
2705
3830
|
});
|
|
2706
3831
|
let params = new $OpenApiUtil.Params({
|
|
2707
|
-
action: "
|
|
3832
|
+
action: "ListChatFlowTemplate",
|
|
2708
3833
|
version: "2020-06-06",
|
|
2709
3834
|
protocol: "HTTPS",
|
|
2710
3835
|
pathname: "/",
|
|
@@ -2714,21 +3839,18 @@ export default class Client extends OpenApi {
|
|
|
2714
3839
|
reqBodyType: "formData",
|
|
2715
3840
|
bodyType: "json",
|
|
2716
3841
|
});
|
|
2717
|
-
return $dara.cast<$_model.
|
|
3842
|
+
return $dara.cast<$_model.ListChatFlowTemplateResponse>(await this.callApi(params, req, runtime), new $_model.ListChatFlowTemplateResponse({}));
|
|
2718
3843
|
}
|
|
2719
3844
|
|
|
2720
3845
|
/**
|
|
2721
|
-
*
|
|
2722
|
-
*
|
|
2723
|
-
* @remarks
|
|
2724
|
-
* 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.
|
|
3846
|
+
* ChatFlow Template List
|
|
2725
3847
|
*
|
|
2726
|
-
* @param request -
|
|
2727
|
-
* @returns
|
|
3848
|
+
* @param request - ListChatFlowTemplateRequest
|
|
3849
|
+
* @returns ListChatFlowTemplateResponse
|
|
2728
3850
|
*/
|
|
2729
|
-
async
|
|
3851
|
+
async listChatFlowTemplate(request: $_model.ListChatFlowTemplateRequest): Promise<$_model.ListChatFlowTemplateResponse> {
|
|
2730
3852
|
let runtime = new $dara.RuntimeOptions({ });
|
|
2731
|
-
return await this.
|
|
3853
|
+
return await this.listChatFlowTemplateWithOptions(request, runtime);
|
|
2732
3854
|
}
|
|
2733
3855
|
|
|
2734
3856
|
/**
|
|
@@ -2887,6 +4009,110 @@ export default class Client extends OpenApi {
|
|
|
2887
4009
|
return await this.listChatGroupParticipantsWithOptions(request, runtime);
|
|
2888
4010
|
}
|
|
2889
4011
|
|
|
4012
|
+
/**
|
|
4013
|
+
* 查询消息列表
|
|
4014
|
+
*
|
|
4015
|
+
* @param tmpReq - ListChatappMessageRequest
|
|
4016
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4017
|
+
* @returns ListChatappMessageResponse
|
|
4018
|
+
*/
|
|
4019
|
+
async listChatappMessageWithOptions(tmpReq: $_model.ListChatappMessageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListChatappMessageResponse> {
|
|
4020
|
+
tmpReq.validate();
|
|
4021
|
+
let request = new $_model.ListChatappMessageShrinkRequest({ });
|
|
4022
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
4023
|
+
if (!$dara.isNull(tmpReq.page)) {
|
|
4024
|
+
request.pageShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json");
|
|
4025
|
+
}
|
|
4026
|
+
|
|
4027
|
+
let query = { };
|
|
4028
|
+
if (!$dara.isNull(request.businessNumber)) {
|
|
4029
|
+
query["BusinessNumber"] = request.businessNumber;
|
|
4030
|
+
}
|
|
4031
|
+
|
|
4032
|
+
if (!$dara.isNull(request.channelType)) {
|
|
4033
|
+
query["ChannelType"] = request.channelType;
|
|
4034
|
+
}
|
|
4035
|
+
|
|
4036
|
+
if (!$dara.isNull(request.clientAcceptStatus)) {
|
|
4037
|
+
query["ClientAcceptStatus"] = request.clientAcceptStatus;
|
|
4038
|
+
}
|
|
4039
|
+
|
|
4040
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
4041
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4042
|
+
}
|
|
4043
|
+
|
|
4044
|
+
if (!$dara.isNull(request.endTime)) {
|
|
4045
|
+
query["EndTime"] = request.endTime;
|
|
4046
|
+
}
|
|
4047
|
+
|
|
4048
|
+
if (!$dara.isNull(request.eventAction)) {
|
|
4049
|
+
query["EventAction"] = request.eventAction;
|
|
4050
|
+
}
|
|
4051
|
+
|
|
4052
|
+
if (!$dara.isNull(request.groupMessageId)) {
|
|
4053
|
+
query["GroupMessageId"] = request.groupMessageId;
|
|
4054
|
+
}
|
|
4055
|
+
|
|
4056
|
+
if (!$dara.isNull(request.messageStatus)) {
|
|
4057
|
+
query["MessageStatus"] = request.messageStatus;
|
|
4058
|
+
}
|
|
4059
|
+
|
|
4060
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
4061
|
+
query["OwnerId"] = request.ownerId;
|
|
4062
|
+
}
|
|
4063
|
+
|
|
4064
|
+
if (!$dara.isNull(request.pageShrink)) {
|
|
4065
|
+
query["Page"] = request.pageShrink;
|
|
4066
|
+
}
|
|
4067
|
+
|
|
4068
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
4069
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4070
|
+
}
|
|
4071
|
+
|
|
4072
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
4073
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4074
|
+
}
|
|
4075
|
+
|
|
4076
|
+
if (!$dara.isNull(request.startTime)) {
|
|
4077
|
+
query["StartTime"] = request.startTime;
|
|
4078
|
+
}
|
|
4079
|
+
|
|
4080
|
+
if (!$dara.isNull(request.templateCode)) {
|
|
4081
|
+
query["TemplateCode"] = request.templateCode;
|
|
4082
|
+
}
|
|
4083
|
+
|
|
4084
|
+
if (!$dara.isNull(request.userNumber)) {
|
|
4085
|
+
query["UserNumber"] = request.userNumber;
|
|
4086
|
+
}
|
|
4087
|
+
|
|
4088
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4089
|
+
query: OpenApiUtil.query(query),
|
|
4090
|
+
});
|
|
4091
|
+
let params = new $OpenApiUtil.Params({
|
|
4092
|
+
action: "ListChatappMessage",
|
|
4093
|
+
version: "2020-06-06",
|
|
4094
|
+
protocol: "HTTPS",
|
|
4095
|
+
pathname: "/",
|
|
4096
|
+
method: "POST",
|
|
4097
|
+
authType: "AK",
|
|
4098
|
+
style: "RPC",
|
|
4099
|
+
reqBodyType: "formData",
|
|
4100
|
+
bodyType: "json",
|
|
4101
|
+
});
|
|
4102
|
+
return $dara.cast<$_model.ListChatappMessageResponse>(await this.callApi(params, req, runtime), new $_model.ListChatappMessageResponse({}));
|
|
4103
|
+
}
|
|
4104
|
+
|
|
4105
|
+
/**
|
|
4106
|
+
* 查询消息列表
|
|
4107
|
+
*
|
|
4108
|
+
* @param request - ListChatappMessageRequest
|
|
4109
|
+
* @returns ListChatappMessageResponse
|
|
4110
|
+
*/
|
|
4111
|
+
async listChatappMessage(request: $_model.ListChatappMessageRequest): Promise<$_model.ListChatappMessageResponse> {
|
|
4112
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4113
|
+
return await this.listChatappMessageWithOptions(request, runtime);
|
|
4114
|
+
}
|
|
4115
|
+
|
|
2890
4116
|
/**
|
|
2891
4117
|
* Queries message templates.
|
|
2892
4118
|
*
|
|
@@ -2943,8 +4169,160 @@ export default class Client extends OpenApi {
|
|
|
2943
4169
|
query["OwnerId"] = request.ownerId;
|
|
2944
4170
|
}
|
|
2945
4171
|
|
|
2946
|
-
if (!$dara.isNull(request.pageShrink)) {
|
|
2947
|
-
query["Page"] = request.pageShrink;
|
|
4172
|
+
if (!$dara.isNull(request.pageShrink)) {
|
|
4173
|
+
query["Page"] = request.pageShrink;
|
|
4174
|
+
}
|
|
4175
|
+
|
|
4176
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
4177
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4178
|
+
}
|
|
4179
|
+
|
|
4180
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
4181
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4182
|
+
}
|
|
4183
|
+
|
|
4184
|
+
if (!$dara.isNull(request.templateType)) {
|
|
4185
|
+
query["TemplateType"] = request.templateType;
|
|
4186
|
+
}
|
|
4187
|
+
|
|
4188
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4189
|
+
query: OpenApiUtil.query(query),
|
|
4190
|
+
});
|
|
4191
|
+
let params = new $OpenApiUtil.Params({
|
|
4192
|
+
action: "ListChatappTemplate",
|
|
4193
|
+
version: "2020-06-06",
|
|
4194
|
+
protocol: "HTTPS",
|
|
4195
|
+
pathname: "/",
|
|
4196
|
+
method: "POST",
|
|
4197
|
+
authType: "AK",
|
|
4198
|
+
style: "RPC",
|
|
4199
|
+
reqBodyType: "formData",
|
|
4200
|
+
bodyType: "json",
|
|
4201
|
+
});
|
|
4202
|
+
return $dara.cast<$_model.ListChatappTemplateResponse>(await this.callApi(params, req, runtime), new $_model.ListChatappTemplateResponse({}));
|
|
4203
|
+
}
|
|
4204
|
+
|
|
4205
|
+
/**
|
|
4206
|
+
* Queries message templates.
|
|
4207
|
+
*
|
|
4208
|
+
* @remarks
|
|
4209
|
+
* ### QPS limit
|
|
4210
|
+
* 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.
|
|
4211
|
+
*
|
|
4212
|
+
* @param request - ListChatappTemplateRequest
|
|
4213
|
+
* @returns ListChatappTemplateResponse
|
|
4214
|
+
*/
|
|
4215
|
+
async listChatappTemplate(request: $_model.ListChatappTemplateRequest): Promise<$_model.ListChatappTemplateResponse> {
|
|
4216
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4217
|
+
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
4218
|
+
}
|
|
4219
|
+
|
|
4220
|
+
/**
|
|
4221
|
+
* Queries a list of Flows.
|
|
4222
|
+
*
|
|
4223
|
+
* @remarks
|
|
4224
|
+
* 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.
|
|
4225
|
+
*
|
|
4226
|
+
* @param tmpReq - ListFlowRequest
|
|
4227
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4228
|
+
* @returns ListFlowResponse
|
|
4229
|
+
*/
|
|
4230
|
+
async listFlowWithOptions(tmpReq: $_model.ListFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListFlowResponse> {
|
|
4231
|
+
tmpReq.validate();
|
|
4232
|
+
let request = new $_model.ListFlowShrinkRequest({ });
|
|
4233
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
4234
|
+
if (!$dara.isNull(tmpReq.page)) {
|
|
4235
|
+
request.pageShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.page, "Page", "json");
|
|
4236
|
+
}
|
|
4237
|
+
|
|
4238
|
+
let query = { };
|
|
4239
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
4240
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4241
|
+
}
|
|
4242
|
+
|
|
4243
|
+
if (!$dara.isNull(request.flowName)) {
|
|
4244
|
+
query["FlowName"] = request.flowName;
|
|
4245
|
+
}
|
|
4246
|
+
|
|
4247
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
4248
|
+
query["OwnerId"] = request.ownerId;
|
|
4249
|
+
}
|
|
4250
|
+
|
|
4251
|
+
if (!$dara.isNull(request.pageShrink)) {
|
|
4252
|
+
query["Page"] = request.pageShrink;
|
|
4253
|
+
}
|
|
4254
|
+
|
|
4255
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
4256
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4257
|
+
}
|
|
4258
|
+
|
|
4259
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
4260
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4261
|
+
}
|
|
4262
|
+
|
|
4263
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4264
|
+
query: OpenApiUtil.query(query),
|
|
4265
|
+
});
|
|
4266
|
+
let params = new $OpenApiUtil.Params({
|
|
4267
|
+
action: "ListFlow",
|
|
4268
|
+
version: "2020-06-06",
|
|
4269
|
+
protocol: "HTTPS",
|
|
4270
|
+
pathname: "/",
|
|
4271
|
+
method: "POST",
|
|
4272
|
+
authType: "AK",
|
|
4273
|
+
style: "RPC",
|
|
4274
|
+
reqBodyType: "formData",
|
|
4275
|
+
bodyType: "json",
|
|
4276
|
+
});
|
|
4277
|
+
return $dara.cast<$_model.ListFlowResponse>(await this.callApi(params, req, runtime), new $_model.ListFlowResponse({}));
|
|
4278
|
+
}
|
|
4279
|
+
|
|
4280
|
+
/**
|
|
4281
|
+
* Queries a list of Flows.
|
|
4282
|
+
*
|
|
4283
|
+
* @remarks
|
|
4284
|
+
* 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.
|
|
4285
|
+
*
|
|
4286
|
+
* @param request - ListFlowRequest
|
|
4287
|
+
* @returns ListFlowResponse
|
|
4288
|
+
*/
|
|
4289
|
+
async listFlow(request: $_model.ListFlowRequest): Promise<$_model.ListFlowResponse> {
|
|
4290
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4291
|
+
return await this.listFlowWithOptions(request, runtime);
|
|
4292
|
+
}
|
|
4293
|
+
|
|
4294
|
+
/**
|
|
4295
|
+
* ListFlowNodePrototypeV2
|
|
4296
|
+
*
|
|
4297
|
+
* @param request - ListFlowNodePrototypeV2Request
|
|
4298
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4299
|
+
* @returns ListFlowNodePrototypeV2Response
|
|
4300
|
+
*/
|
|
4301
|
+
async listFlowNodePrototypeV2WithOptions(request: $_model.ListFlowNodePrototypeV2Request, runtime: $dara.RuntimeOptions): Promise<$_model.ListFlowNodePrototypeV2Response> {
|
|
4302
|
+
request.validate();
|
|
4303
|
+
let query = { };
|
|
4304
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
4305
|
+
query["BizCode"] = request.bizCode;
|
|
4306
|
+
}
|
|
4307
|
+
|
|
4308
|
+
if (!$dara.isNull(request.groupCode)) {
|
|
4309
|
+
query["GroupCode"] = request.groupCode;
|
|
4310
|
+
}
|
|
4311
|
+
|
|
4312
|
+
if (!$dara.isNull(request.keyword)) {
|
|
4313
|
+
query["Keyword"] = request.keyword;
|
|
4314
|
+
}
|
|
4315
|
+
|
|
4316
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
4317
|
+
query["OwnerId"] = request.ownerId;
|
|
4318
|
+
}
|
|
4319
|
+
|
|
4320
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
4321
|
+
query["PageNo"] = request.pageNo;
|
|
4322
|
+
}
|
|
4323
|
+
|
|
4324
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
4325
|
+
query["PageSize"] = request.pageSize;
|
|
2948
4326
|
}
|
|
2949
4327
|
|
|
2950
4328
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
@@ -2955,15 +4333,11 @@ export default class Client extends OpenApi {
|
|
|
2955
4333
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2956
4334
|
}
|
|
2957
4335
|
|
|
2958
|
-
if (!$dara.isNull(request.templateType)) {
|
|
2959
|
-
query["TemplateType"] = request.templateType;
|
|
2960
|
-
}
|
|
2961
|
-
|
|
2962
4336
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2963
4337
|
query: OpenApiUtil.query(query),
|
|
2964
4338
|
});
|
|
2965
4339
|
let params = new $OpenApiUtil.Params({
|
|
2966
|
-
action: "
|
|
4340
|
+
action: "ListFlowNodePrototypeV2",
|
|
2967
4341
|
version: "2020-06-06",
|
|
2968
4342
|
protocol: "HTTPS",
|
|
2969
4343
|
pathname: "/",
|
|
@@ -2973,60 +4347,77 @@ export default class Client extends OpenApi {
|
|
|
2973
4347
|
reqBodyType: "formData",
|
|
2974
4348
|
bodyType: "json",
|
|
2975
4349
|
});
|
|
2976
|
-
return $dara.cast<$_model.
|
|
4350
|
+
return $dara.cast<$_model.ListFlowNodePrototypeV2Response>(await this.callApi(params, req, runtime), new $_model.ListFlowNodePrototypeV2Response({}));
|
|
2977
4351
|
}
|
|
2978
4352
|
|
|
2979
4353
|
/**
|
|
2980
|
-
*
|
|
2981
|
-
*
|
|
2982
|
-
* @remarks
|
|
2983
|
-
* ### QPS limit
|
|
2984
|
-
* 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.
|
|
4354
|
+
* ListFlowNodePrototypeV2
|
|
2985
4355
|
*
|
|
2986
|
-
* @param request -
|
|
2987
|
-
* @returns
|
|
4356
|
+
* @param request - ListFlowNodePrototypeV2Request
|
|
4357
|
+
* @returns ListFlowNodePrototypeV2Response
|
|
2988
4358
|
*/
|
|
2989
|
-
async
|
|
4359
|
+
async listFlowNodePrototypeV2(request: $_model.ListFlowNodePrototypeV2Request): Promise<$_model.ListFlowNodePrototypeV2Response> {
|
|
2990
4360
|
let runtime = new $dara.RuntimeOptions({ });
|
|
2991
|
-
return await this.
|
|
4361
|
+
return await this.listFlowNodePrototypeV2WithOptions(request, runtime);
|
|
2992
4362
|
}
|
|
2993
4363
|
|
|
2994
4364
|
/**
|
|
2995
|
-
*
|
|
2996
|
-
*
|
|
2997
|
-
* @remarks
|
|
2998
|
-
* 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.
|
|
4365
|
+
* List Flow Versions
|
|
2999
4366
|
*
|
|
3000
|
-
* @param tmpReq -
|
|
4367
|
+
* @param tmpReq - ListFlowVersionRequest
|
|
3001
4368
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3002
|
-
* @returns
|
|
4369
|
+
* @returns ListFlowVersionResponse
|
|
3003
4370
|
*/
|
|
3004
|
-
async
|
|
4371
|
+
async listFlowVersionWithOptions(tmpReq: $_model.ListFlowVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListFlowVersionResponse> {
|
|
3005
4372
|
tmpReq.validate();
|
|
3006
|
-
let request = new $_model.
|
|
4373
|
+
let request = new $_model.ListFlowVersionShrinkRequest({ });
|
|
3007
4374
|
OpenApiUtil.convert(tmpReq, request);
|
|
3008
|
-
if (!$dara.isNull(tmpReq.
|
|
3009
|
-
request.
|
|
4375
|
+
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
4376
|
+
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
3010
4377
|
}
|
|
3011
4378
|
|
|
3012
|
-
let
|
|
3013
|
-
if (!$dara.isNull(request.
|
|
3014
|
-
|
|
4379
|
+
let query = { };
|
|
4380
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
4381
|
+
query["BizCode"] = request.bizCode;
|
|
3015
4382
|
}
|
|
3016
4383
|
|
|
3017
|
-
if (!$dara.isNull(request.
|
|
3018
|
-
|
|
4384
|
+
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
4385
|
+
query["BizExtend"] = request.bizExtendShrink;
|
|
3019
4386
|
}
|
|
3020
4387
|
|
|
3021
|
-
if (!$dara.isNull(request.
|
|
3022
|
-
|
|
4388
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
4389
|
+
query["FlowCode"] = request.flowCode;
|
|
4390
|
+
}
|
|
4391
|
+
|
|
4392
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
4393
|
+
query["OwnerId"] = request.ownerId;
|
|
4394
|
+
}
|
|
4395
|
+
|
|
4396
|
+
if (!$dara.isNull(request.pageNo)) {
|
|
4397
|
+
query["PageNo"] = request.pageNo;
|
|
4398
|
+
}
|
|
4399
|
+
|
|
4400
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
4401
|
+
query["PageSize"] = request.pageSize;
|
|
4402
|
+
}
|
|
4403
|
+
|
|
4404
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
4405
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4406
|
+
}
|
|
4407
|
+
|
|
4408
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
4409
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4410
|
+
}
|
|
4411
|
+
|
|
4412
|
+
if (!$dara.isNull(request.status)) {
|
|
4413
|
+
query["Status"] = request.status;
|
|
3023
4414
|
}
|
|
3024
4415
|
|
|
3025
4416
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3026
|
-
|
|
4417
|
+
query: OpenApiUtil.query(query),
|
|
3027
4418
|
});
|
|
3028
4419
|
let params = new $OpenApiUtil.Params({
|
|
3029
|
-
action: "
|
|
4420
|
+
action: "ListFlowVersion",
|
|
3030
4421
|
version: "2020-06-06",
|
|
3031
4422
|
protocol: "HTTPS",
|
|
3032
4423
|
pathname: "/",
|
|
@@ -3036,21 +4427,18 @@ export default class Client extends OpenApi {
|
|
|
3036
4427
|
reqBodyType: "formData",
|
|
3037
4428
|
bodyType: "json",
|
|
3038
4429
|
});
|
|
3039
|
-
return $dara.cast<$_model.
|
|
4430
|
+
return $dara.cast<$_model.ListFlowVersionResponse>(await this.callApi(params, req, runtime), new $_model.ListFlowVersionResponse({}));
|
|
3040
4431
|
}
|
|
3041
4432
|
|
|
3042
4433
|
/**
|
|
3043
|
-
*
|
|
3044
|
-
*
|
|
3045
|
-
* @remarks
|
|
3046
|
-
* 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.
|
|
4434
|
+
* List Flow Versions
|
|
3047
4435
|
*
|
|
3048
|
-
* @param request -
|
|
3049
|
-
* @returns
|
|
4436
|
+
* @param request - ListFlowVersionRequest
|
|
4437
|
+
* @returns ListFlowVersionResponse
|
|
3050
4438
|
*/
|
|
3051
|
-
async
|
|
4439
|
+
async listFlowVersion(request: $_model.ListFlowVersionRequest): Promise<$_model.ListFlowVersionResponse> {
|
|
3052
4440
|
let runtime = new $dara.RuntimeOptions({ });
|
|
3053
|
-
return await this.
|
|
4441
|
+
return await this.listFlowVersionWithOptions(request, runtime);
|
|
3054
4442
|
}
|
|
3055
4443
|
|
|
3056
4444
|
/**
|
|
@@ -3062,17 +4450,29 @@ export default class Client extends OpenApi {
|
|
|
3062
4450
|
*/
|
|
3063
4451
|
async listPhoneMessageQrdlWithOptions(request: $_model.ListPhoneMessageQrdlRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListPhoneMessageQrdlResponse> {
|
|
3064
4452
|
request.validate();
|
|
3065
|
-
let
|
|
4453
|
+
let query = { };
|
|
3066
4454
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
3067
|
-
|
|
4455
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4456
|
+
}
|
|
4457
|
+
|
|
4458
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
4459
|
+
query["OwnerId"] = request.ownerId;
|
|
3068
4460
|
}
|
|
3069
4461
|
|
|
3070
4462
|
if (!$dara.isNull(request.phoneNumber)) {
|
|
3071
|
-
|
|
4463
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
4464
|
+
}
|
|
4465
|
+
|
|
4466
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
4467
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4468
|
+
}
|
|
4469
|
+
|
|
4470
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
4471
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3072
4472
|
}
|
|
3073
4473
|
|
|
3074
4474
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3075
|
-
|
|
4475
|
+
query: OpenApiUtil.query(query),
|
|
3076
4476
|
});
|
|
3077
4477
|
let params = new $OpenApiUtil.Params({
|
|
3078
4478
|
action: "ListPhoneMessageQrdl",
|
|
@@ -3447,38 +4847,227 @@ export default class Client extends OpenApi {
|
|
|
3447
4847
|
*
|
|
3448
4848
|
* @param tmpReq - ModifyFlowRequest
|
|
3449
4849
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3450
|
-
* @returns ModifyFlowResponse
|
|
4850
|
+
* @returns ModifyFlowResponse
|
|
4851
|
+
*/
|
|
4852
|
+
async modifyFlowWithOptions(tmpReq: $_model.ModifyFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyFlowResponse> {
|
|
4853
|
+
tmpReq.validate();
|
|
4854
|
+
let request = new $_model.ModifyFlowShrinkRequest({ });
|
|
4855
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
4856
|
+
if (!$dara.isNull(tmpReq.categories)) {
|
|
4857
|
+
request.categoriesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.categories, "Categories", "json");
|
|
4858
|
+
}
|
|
4859
|
+
|
|
4860
|
+
let query = { };
|
|
4861
|
+
if (!$dara.isNull(request.categoriesShrink)) {
|
|
4862
|
+
query["Categories"] = request.categoriesShrink;
|
|
4863
|
+
}
|
|
4864
|
+
|
|
4865
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
4866
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4867
|
+
}
|
|
4868
|
+
|
|
4869
|
+
if (!$dara.isNull(request.flowId)) {
|
|
4870
|
+
query["FlowId"] = request.flowId;
|
|
4871
|
+
}
|
|
4872
|
+
|
|
4873
|
+
if (!$dara.isNull(request.flowName)) {
|
|
4874
|
+
query["FlowName"] = request.flowName;
|
|
4875
|
+
}
|
|
4876
|
+
|
|
4877
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
4878
|
+
query["OwnerId"] = request.ownerId;
|
|
4879
|
+
}
|
|
4880
|
+
|
|
4881
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
4882
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4883
|
+
}
|
|
4884
|
+
|
|
4885
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
4886
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4887
|
+
}
|
|
4888
|
+
|
|
4889
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4890
|
+
query: OpenApiUtil.query(query),
|
|
4891
|
+
});
|
|
4892
|
+
let params = new $OpenApiUtil.Params({
|
|
4893
|
+
action: "ModifyFlow",
|
|
4894
|
+
version: "2020-06-06",
|
|
4895
|
+
protocol: "HTTPS",
|
|
4896
|
+
pathname: "/",
|
|
4897
|
+
method: "POST",
|
|
4898
|
+
authType: "AK",
|
|
4899
|
+
style: "RPC",
|
|
4900
|
+
reqBodyType: "formData",
|
|
4901
|
+
bodyType: "json",
|
|
4902
|
+
});
|
|
4903
|
+
return $dara.cast<$_model.ModifyFlowResponse>(await this.callApi(params, req, runtime), new $_model.ModifyFlowResponse({}));
|
|
4904
|
+
}
|
|
4905
|
+
|
|
4906
|
+
/**
|
|
4907
|
+
* Modifies the basic information about a Flow.
|
|
4908
|
+
*
|
|
4909
|
+
* @remarks
|
|
4910
|
+
* 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.
|
|
4911
|
+
*
|
|
4912
|
+
* @param request - ModifyFlowRequest
|
|
4913
|
+
* @returns ModifyFlowResponse
|
|
4914
|
+
*/
|
|
4915
|
+
async modifyFlow(request: $_model.ModifyFlowRequest): Promise<$_model.ModifyFlowResponse> {
|
|
4916
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4917
|
+
return await this.modifyFlowWithOptions(request, runtime);
|
|
4918
|
+
}
|
|
4919
|
+
|
|
4920
|
+
/**
|
|
4921
|
+
* The ID of the request.
|
|
4922
|
+
*
|
|
4923
|
+
* @remarks
|
|
4924
|
+
* ModifyPhoneBusinessProfile
|
|
4925
|
+
*
|
|
4926
|
+
* @param tmpReq - ModifyPhoneBusinessProfileRequest
|
|
4927
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4928
|
+
* @returns ModifyPhoneBusinessProfileResponse
|
|
4929
|
+
*/
|
|
4930
|
+
async modifyPhoneBusinessProfileWithOptions(tmpReq: $_model.ModifyPhoneBusinessProfileRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyPhoneBusinessProfileResponse> {
|
|
4931
|
+
tmpReq.validate();
|
|
4932
|
+
let request = new $_model.ModifyPhoneBusinessProfileShrinkRequest({ });
|
|
4933
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
4934
|
+
if (!$dara.isNull(tmpReq.websites)) {
|
|
4935
|
+
request.websitesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.websites, "Websites", "json");
|
|
4936
|
+
}
|
|
4937
|
+
|
|
4938
|
+
let query = { };
|
|
4939
|
+
if (!$dara.isNull(request.about)) {
|
|
4940
|
+
query["About"] = request.about;
|
|
4941
|
+
}
|
|
4942
|
+
|
|
4943
|
+
if (!$dara.isNull(request.address)) {
|
|
4944
|
+
query["Address"] = request.address;
|
|
4945
|
+
}
|
|
4946
|
+
|
|
4947
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
4948
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4949
|
+
}
|
|
4950
|
+
|
|
4951
|
+
if (!$dara.isNull(request.description)) {
|
|
4952
|
+
query["Description"] = request.description;
|
|
4953
|
+
}
|
|
4954
|
+
|
|
4955
|
+
if (!$dara.isNull(request.email)) {
|
|
4956
|
+
query["Email"] = request.email;
|
|
4957
|
+
}
|
|
4958
|
+
|
|
4959
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
4960
|
+
query["OwnerId"] = request.ownerId;
|
|
4961
|
+
}
|
|
4962
|
+
|
|
4963
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
4964
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
4965
|
+
}
|
|
4966
|
+
|
|
4967
|
+
if (!$dara.isNull(request.profilePictureUrl)) {
|
|
4968
|
+
query["ProfilePictureUrl"] = request.profilePictureUrl;
|
|
4969
|
+
}
|
|
4970
|
+
|
|
4971
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
4972
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4973
|
+
}
|
|
4974
|
+
|
|
4975
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
4976
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4977
|
+
}
|
|
4978
|
+
|
|
4979
|
+
if (!$dara.isNull(request.vertical)) {
|
|
4980
|
+
query["Vertical"] = request.vertical;
|
|
4981
|
+
}
|
|
4982
|
+
|
|
4983
|
+
if (!$dara.isNull(request.websitesShrink)) {
|
|
4984
|
+
query["Websites"] = request.websitesShrink;
|
|
4985
|
+
}
|
|
4986
|
+
|
|
4987
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4988
|
+
query: OpenApiUtil.query(query),
|
|
4989
|
+
});
|
|
4990
|
+
let params = new $OpenApiUtil.Params({
|
|
4991
|
+
action: "ModifyPhoneBusinessProfile",
|
|
4992
|
+
version: "2020-06-06",
|
|
4993
|
+
protocol: "HTTPS",
|
|
4994
|
+
pathname: "/",
|
|
4995
|
+
method: "POST",
|
|
4996
|
+
authType: "AK",
|
|
4997
|
+
style: "RPC",
|
|
4998
|
+
reqBodyType: "formData",
|
|
4999
|
+
bodyType: "json",
|
|
5000
|
+
});
|
|
5001
|
+
return $dara.cast<$_model.ModifyPhoneBusinessProfileResponse>(await this.callApi(params, req, runtime), new $_model.ModifyPhoneBusinessProfileResponse({}));
|
|
5002
|
+
}
|
|
5003
|
+
|
|
5004
|
+
/**
|
|
5005
|
+
* The ID of the request.
|
|
5006
|
+
*
|
|
5007
|
+
* @remarks
|
|
5008
|
+
* ModifyPhoneBusinessProfile
|
|
5009
|
+
*
|
|
5010
|
+
* @param request - ModifyPhoneBusinessProfileRequest
|
|
5011
|
+
* @returns ModifyPhoneBusinessProfileResponse
|
|
5012
|
+
*/
|
|
5013
|
+
async modifyPhoneBusinessProfile(request: $_model.ModifyPhoneBusinessProfileRequest): Promise<$_model.ModifyPhoneBusinessProfileResponse> {
|
|
5014
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5015
|
+
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
5016
|
+
}
|
|
5017
|
+
|
|
5018
|
+
/**
|
|
5019
|
+
* Offline Flow Version
|
|
5020
|
+
*
|
|
5021
|
+
* @param tmpReq - OfflineFlowVersionRequest
|
|
5022
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5023
|
+
* @returns OfflineFlowVersionResponse
|
|
3451
5024
|
*/
|
|
3452
|
-
async
|
|
5025
|
+
async offlineFlowVersionWithOptions(tmpReq: $_model.OfflineFlowVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.OfflineFlowVersionResponse> {
|
|
3453
5026
|
tmpReq.validate();
|
|
3454
|
-
let request = new $_model.
|
|
5027
|
+
let request = new $_model.OfflineFlowVersionShrinkRequest({ });
|
|
3455
5028
|
OpenApiUtil.convert(tmpReq, request);
|
|
3456
|
-
if (!$dara.isNull(tmpReq.
|
|
3457
|
-
request.
|
|
5029
|
+
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
5030
|
+
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
3458
5031
|
}
|
|
3459
5032
|
|
|
3460
|
-
let
|
|
3461
|
-
if (!$dara.isNull(request.
|
|
3462
|
-
|
|
5033
|
+
let query = { };
|
|
5034
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
5035
|
+
query["BizCode"] = request.bizCode;
|
|
3463
5036
|
}
|
|
3464
5037
|
|
|
3465
|
-
if (!$dara.isNull(request.
|
|
3466
|
-
|
|
5038
|
+
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
5039
|
+
query["BizExtend"] = request.bizExtendShrink;
|
|
3467
5040
|
}
|
|
3468
5041
|
|
|
3469
|
-
if (!$dara.isNull(request.
|
|
3470
|
-
|
|
5042
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
5043
|
+
query["FlowCode"] = request.flowCode;
|
|
3471
5044
|
}
|
|
3472
5045
|
|
|
3473
|
-
if (!$dara.isNull(request.
|
|
3474
|
-
|
|
5046
|
+
if (!$dara.isNull(request.flowVersion)) {
|
|
5047
|
+
query["FlowVersion"] = request.flowVersion;
|
|
5048
|
+
}
|
|
5049
|
+
|
|
5050
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
5051
|
+
query["OwnerId"] = request.ownerId;
|
|
5052
|
+
}
|
|
5053
|
+
|
|
5054
|
+
if (!$dara.isNull(request.remark)) {
|
|
5055
|
+
query["Remark"] = request.remark;
|
|
5056
|
+
}
|
|
5057
|
+
|
|
5058
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
5059
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
5060
|
+
}
|
|
5061
|
+
|
|
5062
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
5063
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3475
5064
|
}
|
|
3476
5065
|
|
|
3477
5066
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3478
|
-
|
|
5067
|
+
query: OpenApiUtil.query(query),
|
|
3479
5068
|
});
|
|
3480
5069
|
let params = new $OpenApiUtil.Params({
|
|
3481
|
-
action: "
|
|
5070
|
+
action: "OfflineFlowVersion",
|
|
3482
5071
|
version: "2020-06-06",
|
|
3483
5072
|
protocol: "HTTPS",
|
|
3484
5073
|
pathname: "/",
|
|
@@ -3488,72 +5077,58 @@ export default class Client extends OpenApi {
|
|
|
3488
5077
|
reqBodyType: "formData",
|
|
3489
5078
|
bodyType: "json",
|
|
3490
5079
|
});
|
|
3491
|
-
return $dara.cast<$_model.
|
|
5080
|
+
return $dara.cast<$_model.OfflineFlowVersionResponse>(await this.callApi(params, req, runtime), new $_model.OfflineFlowVersionResponse({}));
|
|
3492
5081
|
}
|
|
3493
5082
|
|
|
3494
5083
|
/**
|
|
3495
|
-
*
|
|
3496
|
-
*
|
|
3497
|
-
* @remarks
|
|
3498
|
-
* 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.
|
|
5084
|
+
* Offline Flow Version
|
|
3499
5085
|
*
|
|
3500
|
-
* @param request -
|
|
3501
|
-
* @returns
|
|
5086
|
+
* @param request - OfflineFlowVersionRequest
|
|
5087
|
+
* @returns OfflineFlowVersionResponse
|
|
3502
5088
|
*/
|
|
3503
|
-
async
|
|
5089
|
+
async offlineFlowVersion(request: $_model.OfflineFlowVersionRequest): Promise<$_model.OfflineFlowVersionResponse> {
|
|
3504
5090
|
let runtime = new $dara.RuntimeOptions({ });
|
|
3505
|
-
return await this.
|
|
5091
|
+
return await this.offlineFlowVersionWithOptions(request, runtime);
|
|
3506
5092
|
}
|
|
3507
5093
|
|
|
3508
5094
|
/**
|
|
3509
|
-
*
|
|
3510
|
-
*
|
|
3511
|
-
* @remarks
|
|
3512
|
-
* ModifyPhoneBusinessProfile
|
|
5095
|
+
* Online Flow Version
|
|
3513
5096
|
*
|
|
3514
|
-
* @param tmpReq -
|
|
5097
|
+
* @param tmpReq - OnlineFlowVersionRequest
|
|
3515
5098
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3516
|
-
* @returns
|
|
5099
|
+
* @returns OnlineFlowVersionResponse
|
|
3517
5100
|
*/
|
|
3518
|
-
async
|
|
5101
|
+
async onlineFlowVersionWithOptions(tmpReq: $_model.OnlineFlowVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.OnlineFlowVersionResponse> {
|
|
3519
5102
|
tmpReq.validate();
|
|
3520
|
-
let request = new $_model.
|
|
5103
|
+
let request = new $_model.OnlineFlowVersionShrinkRequest({ });
|
|
3521
5104
|
OpenApiUtil.convert(tmpReq, request);
|
|
3522
|
-
if (!$dara.isNull(tmpReq.
|
|
3523
|
-
request.
|
|
5105
|
+
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
5106
|
+
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
3524
5107
|
}
|
|
3525
5108
|
|
|
3526
5109
|
let query = { };
|
|
3527
|
-
if (!$dara.isNull(request.
|
|
3528
|
-
query["
|
|
3529
|
-
}
|
|
3530
|
-
|
|
3531
|
-
if (!$dara.isNull(request.address)) {
|
|
3532
|
-
query["Address"] = request.address;
|
|
5110
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
5111
|
+
query["BizCode"] = request.bizCode;
|
|
3533
5112
|
}
|
|
3534
5113
|
|
|
3535
|
-
if (!$dara.isNull(request.
|
|
3536
|
-
query["
|
|
5114
|
+
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
5115
|
+
query["BizExtend"] = request.bizExtendShrink;
|
|
3537
5116
|
}
|
|
3538
5117
|
|
|
3539
|
-
if (!$dara.isNull(request.
|
|
3540
|
-
query["
|
|
5118
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
5119
|
+
query["FlowCode"] = request.flowCode;
|
|
3541
5120
|
}
|
|
3542
5121
|
|
|
3543
|
-
if (!$dara.isNull(request.
|
|
3544
|
-
query["
|
|
5122
|
+
if (!$dara.isNull(request.flowVersion)) {
|
|
5123
|
+
query["FlowVersion"] = request.flowVersion;
|
|
3545
5124
|
}
|
|
3546
5125
|
|
|
3547
5126
|
if (!$dara.isNull(request.ownerId)) {
|
|
3548
5127
|
query["OwnerId"] = request.ownerId;
|
|
3549
5128
|
}
|
|
3550
5129
|
|
|
3551
|
-
if (!$dara.isNull(request.
|
|
3552
|
-
query["
|
|
3553
|
-
}
|
|
3554
|
-
|
|
3555
|
-
if (!$dara.isNull(request.profilePictureUrl)) {
|
|
3556
|
-
query["ProfilePictureUrl"] = request.profilePictureUrl;
|
|
5130
|
+
if (!$dara.isNull(request.remark)) {
|
|
5131
|
+
query["Remark"] = request.remark;
|
|
3557
5132
|
}
|
|
3558
5133
|
|
|
3559
5134
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
@@ -3564,19 +5139,11 @@ export default class Client extends OpenApi {
|
|
|
3564
5139
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3565
5140
|
}
|
|
3566
5141
|
|
|
3567
|
-
if (!$dara.isNull(request.vertical)) {
|
|
3568
|
-
query["Vertical"] = request.vertical;
|
|
3569
|
-
}
|
|
3570
|
-
|
|
3571
|
-
if (!$dara.isNull(request.websitesShrink)) {
|
|
3572
|
-
query["Websites"] = request.websitesShrink;
|
|
3573
|
-
}
|
|
3574
|
-
|
|
3575
5142
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3576
5143
|
query: OpenApiUtil.query(query),
|
|
3577
5144
|
});
|
|
3578
5145
|
let params = new $OpenApiUtil.Params({
|
|
3579
|
-
action: "
|
|
5146
|
+
action: "OnlineFlowVersion",
|
|
3580
5147
|
version: "2020-06-06",
|
|
3581
5148
|
protocol: "HTTPS",
|
|
3582
5149
|
pathname: "/",
|
|
@@ -3586,21 +5153,18 @@ export default class Client extends OpenApi {
|
|
|
3586
5153
|
reqBodyType: "formData",
|
|
3587
5154
|
bodyType: "json",
|
|
3588
5155
|
});
|
|
3589
|
-
return $dara.cast<$_model.
|
|
5156
|
+
return $dara.cast<$_model.OnlineFlowVersionResponse>(await this.callApi(params, req, runtime), new $_model.OnlineFlowVersionResponse({}));
|
|
3590
5157
|
}
|
|
3591
5158
|
|
|
3592
5159
|
/**
|
|
3593
|
-
*
|
|
3594
|
-
*
|
|
3595
|
-
* @remarks
|
|
3596
|
-
* ModifyPhoneBusinessProfile
|
|
5160
|
+
* Online Flow Version
|
|
3597
5161
|
*
|
|
3598
|
-
* @param request -
|
|
3599
|
-
* @returns
|
|
5162
|
+
* @param request - OnlineFlowVersionRequest
|
|
5163
|
+
* @returns OnlineFlowVersionResponse
|
|
3600
5164
|
*/
|
|
3601
|
-
async
|
|
5165
|
+
async onlineFlowVersion(request: $_model.OnlineFlowVersionRequest): Promise<$_model.OnlineFlowVersionResponse> {
|
|
3602
5166
|
let runtime = new $dara.RuntimeOptions({ });
|
|
3603
|
-
return await this.
|
|
5167
|
+
return await this.onlineFlowVersionWithOptions(request, runtime);
|
|
3604
5168
|
}
|
|
3605
5169
|
|
|
3606
5170
|
/**
|
|
@@ -3615,17 +5179,29 @@ export default class Client extends OpenApi {
|
|
|
3615
5179
|
*/
|
|
3616
5180
|
async publishFlowWithOptions(request: $_model.PublishFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PublishFlowResponse> {
|
|
3617
5181
|
request.validate();
|
|
3618
|
-
let
|
|
5182
|
+
let query = { };
|
|
3619
5183
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
3620
|
-
|
|
5184
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3621
5185
|
}
|
|
3622
5186
|
|
|
3623
5187
|
if (!$dara.isNull(request.flowId)) {
|
|
3624
|
-
|
|
5188
|
+
query["FlowId"] = request.flowId;
|
|
5189
|
+
}
|
|
5190
|
+
|
|
5191
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
5192
|
+
query["OwnerId"] = request.ownerId;
|
|
5193
|
+
}
|
|
5194
|
+
|
|
5195
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
5196
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
5197
|
+
}
|
|
5198
|
+
|
|
5199
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
5200
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3625
5201
|
}
|
|
3626
5202
|
|
|
3627
5203
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3628
|
-
|
|
5204
|
+
query: OpenApiUtil.query(query),
|
|
3629
5205
|
});
|
|
3630
5206
|
let params = new $OpenApiUtil.Params({
|
|
3631
5207
|
action: "PublishFlow",
|
|
@@ -3910,9 +5486,207 @@ export default class Client extends OpenApi {
|
|
|
3910
5486
|
* @param request - QueryWabaBusinessInfoRequest
|
|
3911
5487
|
* @returns QueryWabaBusinessInfoResponse
|
|
3912
5488
|
*/
|
|
3913
|
-
async queryWabaBusinessInfo(request: $_model.QueryWabaBusinessInfoRequest): Promise<$_model.QueryWabaBusinessInfoResponse> {
|
|
5489
|
+
async queryWabaBusinessInfo(request: $_model.QueryWabaBusinessInfoRequest): Promise<$_model.QueryWabaBusinessInfoResponse> {
|
|
5490
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5491
|
+
return await this.queryWabaBusinessInfoWithOptions(request, runtime);
|
|
5492
|
+
}
|
|
5493
|
+
|
|
5494
|
+
/**
|
|
5495
|
+
* Retrieve Flow
|
|
5496
|
+
*
|
|
5497
|
+
* @param tmpReq - ReadChatFlowRequest
|
|
5498
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5499
|
+
* @returns ReadChatFlowResponse
|
|
5500
|
+
*/
|
|
5501
|
+
async readChatFlowWithOptions(tmpReq: $_model.ReadChatFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ReadChatFlowResponse> {
|
|
5502
|
+
tmpReq.validate();
|
|
5503
|
+
let request = new $_model.ReadChatFlowShrinkRequest({ });
|
|
5504
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
5505
|
+
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
5506
|
+
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
5507
|
+
}
|
|
5508
|
+
|
|
5509
|
+
let query = { };
|
|
5510
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
5511
|
+
query["BizCode"] = request.bizCode;
|
|
5512
|
+
}
|
|
5513
|
+
|
|
5514
|
+
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
5515
|
+
query["BizExtend"] = request.bizExtendShrink;
|
|
5516
|
+
}
|
|
5517
|
+
|
|
5518
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
5519
|
+
query["FlowCode"] = request.flowCode;
|
|
5520
|
+
}
|
|
5521
|
+
|
|
5522
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
5523
|
+
query["OwnerId"] = request.ownerId;
|
|
5524
|
+
}
|
|
5525
|
+
|
|
5526
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
5527
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
5528
|
+
}
|
|
5529
|
+
|
|
5530
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
5531
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5532
|
+
}
|
|
5533
|
+
|
|
5534
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5535
|
+
query: OpenApiUtil.query(query),
|
|
5536
|
+
});
|
|
5537
|
+
let params = new $OpenApiUtil.Params({
|
|
5538
|
+
action: "ReadChatFlow",
|
|
5539
|
+
version: "2020-06-06",
|
|
5540
|
+
protocol: "HTTPS",
|
|
5541
|
+
pathname: "/",
|
|
5542
|
+
method: "POST",
|
|
5543
|
+
authType: "AK",
|
|
5544
|
+
style: "RPC",
|
|
5545
|
+
reqBodyType: "formData",
|
|
5546
|
+
bodyType: "json",
|
|
5547
|
+
});
|
|
5548
|
+
return $dara.cast<$_model.ReadChatFlowResponse>(await this.callApi(params, req, runtime), new $_model.ReadChatFlowResponse({}));
|
|
5549
|
+
}
|
|
5550
|
+
|
|
5551
|
+
/**
|
|
5552
|
+
* Retrieve Flow
|
|
5553
|
+
*
|
|
5554
|
+
* @param request - ReadChatFlowRequest
|
|
5555
|
+
* @returns ReadChatFlowResponse
|
|
5556
|
+
*/
|
|
5557
|
+
async readChatFlow(request: $_model.ReadChatFlowRequest): Promise<$_model.ReadChatFlowResponse> {
|
|
5558
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5559
|
+
return await this.readChatFlowWithOptions(request, runtime);
|
|
5560
|
+
}
|
|
5561
|
+
|
|
5562
|
+
/**
|
|
5563
|
+
* View chatFlow log settings
|
|
5564
|
+
*
|
|
5565
|
+
* @param request - ReadChatFlowLogSettingRequest
|
|
5566
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5567
|
+
* @returns ReadChatFlowLogSettingResponse
|
|
5568
|
+
*/
|
|
5569
|
+
async readChatFlowLogSettingWithOptions(request: $_model.ReadChatFlowLogSettingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ReadChatFlowLogSettingResponse> {
|
|
5570
|
+
request.validate();
|
|
5571
|
+
let query = { };
|
|
5572
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
5573
|
+
query["FlowCode"] = request.flowCode;
|
|
5574
|
+
}
|
|
5575
|
+
|
|
5576
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
5577
|
+
query["OwnerId"] = request.ownerId;
|
|
5578
|
+
}
|
|
5579
|
+
|
|
5580
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
5581
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
5582
|
+
}
|
|
5583
|
+
|
|
5584
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
5585
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5586
|
+
}
|
|
5587
|
+
|
|
5588
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5589
|
+
query: OpenApiUtil.query(query),
|
|
5590
|
+
});
|
|
5591
|
+
let params = new $OpenApiUtil.Params({
|
|
5592
|
+
action: "ReadChatFlowLogSetting",
|
|
5593
|
+
version: "2020-06-06",
|
|
5594
|
+
protocol: "HTTPS",
|
|
5595
|
+
pathname: "/",
|
|
5596
|
+
method: "POST",
|
|
5597
|
+
authType: "AK",
|
|
5598
|
+
style: "RPC",
|
|
5599
|
+
reqBodyType: "formData",
|
|
5600
|
+
bodyType: "json",
|
|
5601
|
+
});
|
|
5602
|
+
return $dara.cast<$_model.ReadChatFlowLogSettingResponse>(await this.callApi(params, req, runtime), new $_model.ReadChatFlowLogSettingResponse({}));
|
|
5603
|
+
}
|
|
5604
|
+
|
|
5605
|
+
/**
|
|
5606
|
+
* View chatFlow log settings
|
|
5607
|
+
*
|
|
5608
|
+
* @param request - ReadChatFlowLogSettingRequest
|
|
5609
|
+
* @returns ReadChatFlowLogSettingResponse
|
|
5610
|
+
*/
|
|
5611
|
+
async readChatFlowLogSetting(request: $_model.ReadChatFlowLogSettingRequest): Promise<$_model.ReadChatFlowLogSettingResponse> {
|
|
5612
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5613
|
+
return await this.readChatFlowLogSettingWithOptions(request, runtime);
|
|
5614
|
+
}
|
|
5615
|
+
|
|
5616
|
+
/**
|
|
5617
|
+
* Get Flow Version
|
|
5618
|
+
*
|
|
5619
|
+
* @param tmpReq - ReadFlowVersionRequest
|
|
5620
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5621
|
+
* @returns ReadFlowVersionResponse
|
|
5622
|
+
*/
|
|
5623
|
+
async readFlowVersionWithOptions(tmpReq: $_model.ReadFlowVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ReadFlowVersionResponse> {
|
|
5624
|
+
tmpReq.validate();
|
|
5625
|
+
let request = new $_model.ReadFlowVersionShrinkRequest({ });
|
|
5626
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
5627
|
+
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
5628
|
+
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
5629
|
+
}
|
|
5630
|
+
|
|
5631
|
+
let query = { };
|
|
5632
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
5633
|
+
query["BizCode"] = request.bizCode;
|
|
5634
|
+
}
|
|
5635
|
+
|
|
5636
|
+
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
5637
|
+
query["BizExtend"] = request.bizExtendShrink;
|
|
5638
|
+
}
|
|
5639
|
+
|
|
5640
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
5641
|
+
query["FlowCode"] = request.flowCode;
|
|
5642
|
+
}
|
|
5643
|
+
|
|
5644
|
+
if (!$dara.isNull(request.flowVersion)) {
|
|
5645
|
+
query["FlowVersion"] = request.flowVersion;
|
|
5646
|
+
}
|
|
5647
|
+
|
|
5648
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
5649
|
+
query["OwnerId"] = request.ownerId;
|
|
5650
|
+
}
|
|
5651
|
+
|
|
5652
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
5653
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
5654
|
+
}
|
|
5655
|
+
|
|
5656
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
5657
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5658
|
+
}
|
|
5659
|
+
|
|
5660
|
+
if (!$dara.isNull(request.status)) {
|
|
5661
|
+
query["Status"] = request.status;
|
|
5662
|
+
}
|
|
5663
|
+
|
|
5664
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5665
|
+
query: OpenApiUtil.query(query),
|
|
5666
|
+
});
|
|
5667
|
+
let params = new $OpenApiUtil.Params({
|
|
5668
|
+
action: "ReadFlowVersion",
|
|
5669
|
+
version: "2020-06-06",
|
|
5670
|
+
protocol: "HTTPS",
|
|
5671
|
+
pathname: "/",
|
|
5672
|
+
method: "POST",
|
|
5673
|
+
authType: "AK",
|
|
5674
|
+
style: "RPC",
|
|
5675
|
+
reqBodyType: "formData",
|
|
5676
|
+
bodyType: "json",
|
|
5677
|
+
});
|
|
5678
|
+
return $dara.cast<$_model.ReadFlowVersionResponse>(await this.callApi(params, req, runtime), new $_model.ReadFlowVersionResponse({}));
|
|
5679
|
+
}
|
|
5680
|
+
|
|
5681
|
+
/**
|
|
5682
|
+
* Get Flow Version
|
|
5683
|
+
*
|
|
5684
|
+
* @param request - ReadFlowVersionRequest
|
|
5685
|
+
* @returns ReadFlowVersionResponse
|
|
5686
|
+
*/
|
|
5687
|
+
async readFlowVersion(request: $_model.ReadFlowVersionRequest): Promise<$_model.ReadFlowVersionResponse> {
|
|
3914
5688
|
let runtime = new $dara.RuntimeOptions({ });
|
|
3915
|
-
return await this.
|
|
5689
|
+
return await this.readFlowVersionWithOptions(request, runtime);
|
|
3916
5690
|
}
|
|
3917
5691
|
|
|
3918
5692
|
/**
|
|
@@ -4249,6 +6023,18 @@ export default class Client extends OpenApi {
|
|
|
4249
6023
|
query["OfficeAddress"] = request.officeAddress;
|
|
4250
6024
|
}
|
|
4251
6025
|
|
|
6026
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
6027
|
+
query["OwnerId"] = request.ownerId;
|
|
6028
|
+
}
|
|
6029
|
+
|
|
6030
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
6031
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6032
|
+
}
|
|
6033
|
+
|
|
6034
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
6035
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6036
|
+
}
|
|
6037
|
+
|
|
4252
6038
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4253
6039
|
query: OpenApiUtil.query(query),
|
|
4254
6040
|
});
|
|
@@ -4388,10 +6174,22 @@ export default class Client extends OpenApi {
|
|
|
4388
6174
|
query["HttpFlag"] = request.httpFlag;
|
|
4389
6175
|
}
|
|
4390
6176
|
|
|
6177
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
6178
|
+
query["OwnerId"] = request.ownerId;
|
|
6179
|
+
}
|
|
6180
|
+
|
|
4391
6181
|
if (!$dara.isNull(request.queueFlag)) {
|
|
4392
6182
|
query["QueueFlag"] = request.queueFlag;
|
|
4393
6183
|
}
|
|
4394
6184
|
|
|
6185
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
6186
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6187
|
+
}
|
|
6188
|
+
|
|
6189
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
6190
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6191
|
+
}
|
|
6192
|
+
|
|
4395
6193
|
if (!$dara.isNull(request.statusCallbackUrl)) {
|
|
4396
6194
|
query["StatusCallbackUrl"] = request.statusCallbackUrl;
|
|
4397
6195
|
}
|
|
@@ -4427,6 +6225,144 @@ export default class Client extends OpenApi {
|
|
|
4427
6225
|
return await this.updateAccountWebhookWithOptions(request, runtime);
|
|
4428
6226
|
}
|
|
4429
6227
|
|
|
6228
|
+
/**
|
|
6229
|
+
* Get Process
|
|
6230
|
+
*
|
|
6231
|
+
* @param tmpReq - UpdateChatFlowRequest
|
|
6232
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6233
|
+
* @returns UpdateChatFlowResponse
|
|
6234
|
+
*/
|
|
6235
|
+
async updateChatFlowWithOptions(tmpReq: $_model.UpdateChatFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateChatFlowResponse> {
|
|
6236
|
+
tmpReq.validate();
|
|
6237
|
+
let request = new $_model.UpdateChatFlowShrinkRequest({ });
|
|
6238
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
6239
|
+
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
6240
|
+
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
6241
|
+
}
|
|
6242
|
+
|
|
6243
|
+
let query = { };
|
|
6244
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
6245
|
+
query["BizCode"] = request.bizCode;
|
|
6246
|
+
}
|
|
6247
|
+
|
|
6248
|
+
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
6249
|
+
query["BizExtend"] = request.bizExtendShrink;
|
|
6250
|
+
}
|
|
6251
|
+
|
|
6252
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
6253
|
+
query["FlowCode"] = request.flowCode;
|
|
6254
|
+
}
|
|
6255
|
+
|
|
6256
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
6257
|
+
query["OwnerId"] = request.ownerId;
|
|
6258
|
+
}
|
|
6259
|
+
|
|
6260
|
+
if (!$dara.isNull(request.remark)) {
|
|
6261
|
+
query["Remark"] = request.remark;
|
|
6262
|
+
}
|
|
6263
|
+
|
|
6264
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
6265
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6266
|
+
}
|
|
6267
|
+
|
|
6268
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
6269
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6270
|
+
}
|
|
6271
|
+
|
|
6272
|
+
if (!$dara.isNull(request.title)) {
|
|
6273
|
+
query["Title"] = request.title;
|
|
6274
|
+
}
|
|
6275
|
+
|
|
6276
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6277
|
+
query: OpenApiUtil.query(query),
|
|
6278
|
+
});
|
|
6279
|
+
let params = new $OpenApiUtil.Params({
|
|
6280
|
+
action: "UpdateChatFlow",
|
|
6281
|
+
version: "2020-06-06",
|
|
6282
|
+
protocol: "HTTPS",
|
|
6283
|
+
pathname: "/",
|
|
6284
|
+
method: "POST",
|
|
6285
|
+
authType: "AK",
|
|
6286
|
+
style: "RPC",
|
|
6287
|
+
reqBodyType: "formData",
|
|
6288
|
+
bodyType: "json",
|
|
6289
|
+
});
|
|
6290
|
+
return $dara.cast<$_model.UpdateChatFlowResponse>(await this.callApi(params, req, runtime), new $_model.UpdateChatFlowResponse({}));
|
|
6291
|
+
}
|
|
6292
|
+
|
|
6293
|
+
/**
|
|
6294
|
+
* Get Process
|
|
6295
|
+
*
|
|
6296
|
+
* @param request - UpdateChatFlowRequest
|
|
6297
|
+
* @returns UpdateChatFlowResponse
|
|
6298
|
+
*/
|
|
6299
|
+
async updateChatFlow(request: $_model.UpdateChatFlowRequest): Promise<$_model.UpdateChatFlowResponse> {
|
|
6300
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6301
|
+
return await this.updateChatFlowWithOptions(request, runtime);
|
|
6302
|
+
}
|
|
6303
|
+
|
|
6304
|
+
/**
|
|
6305
|
+
* Modify chatFlow log settings
|
|
6306
|
+
*
|
|
6307
|
+
* @param request - UpdateChatFlowLogSettingRequest
|
|
6308
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6309
|
+
* @returns UpdateChatFlowLogSettingResponse
|
|
6310
|
+
*/
|
|
6311
|
+
async updateChatFlowLogSettingWithOptions(request: $_model.UpdateChatFlowLogSettingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateChatFlowLogSettingResponse> {
|
|
6312
|
+
request.validate();
|
|
6313
|
+
let query = { };
|
|
6314
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
6315
|
+
query["FlowCode"] = request.flowCode;
|
|
6316
|
+
}
|
|
6317
|
+
|
|
6318
|
+
if (!$dara.isNull(request.id)) {
|
|
6319
|
+
query["Id"] = request.id;
|
|
6320
|
+
}
|
|
6321
|
+
|
|
6322
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
6323
|
+
query["OwnerId"] = request.ownerId;
|
|
6324
|
+
}
|
|
6325
|
+
|
|
6326
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
6327
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6328
|
+
}
|
|
6329
|
+
|
|
6330
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
6331
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6332
|
+
}
|
|
6333
|
+
|
|
6334
|
+
if (!$dara.isNull(request.status)) {
|
|
6335
|
+
query["Status"] = request.status;
|
|
6336
|
+
}
|
|
6337
|
+
|
|
6338
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6339
|
+
query: OpenApiUtil.query(query),
|
|
6340
|
+
});
|
|
6341
|
+
let params = new $OpenApiUtil.Params({
|
|
6342
|
+
action: "UpdateChatFlowLogSetting",
|
|
6343
|
+
version: "2020-06-06",
|
|
6344
|
+
protocol: "HTTPS",
|
|
6345
|
+
pathname: "/",
|
|
6346
|
+
method: "POST",
|
|
6347
|
+
authType: "AK",
|
|
6348
|
+
style: "RPC",
|
|
6349
|
+
reqBodyType: "formData",
|
|
6350
|
+
bodyType: "json",
|
|
6351
|
+
});
|
|
6352
|
+
return $dara.cast<$_model.UpdateChatFlowLogSettingResponse>(await this.callApi(params, req, runtime), new $_model.UpdateChatFlowLogSettingResponse({}));
|
|
6353
|
+
}
|
|
6354
|
+
|
|
6355
|
+
/**
|
|
6356
|
+
* Modify chatFlow log settings
|
|
6357
|
+
*
|
|
6358
|
+
* @param request - UpdateChatFlowLogSettingRequest
|
|
6359
|
+
* @returns UpdateChatFlowLogSettingResponse
|
|
6360
|
+
*/
|
|
6361
|
+
async updateChatFlowLogSetting(request: $_model.UpdateChatFlowLogSettingRequest): Promise<$_model.UpdateChatFlowLogSettingResponse> {
|
|
6362
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6363
|
+
return await this.updateChatFlowLogSettingWithOptions(request, runtime);
|
|
6364
|
+
}
|
|
6365
|
+
|
|
4430
6366
|
/**
|
|
4431
6367
|
* UpdateChatGroup
|
|
4432
6368
|
*
|
|
@@ -4676,21 +6612,33 @@ export default class Client extends OpenApi {
|
|
|
4676
6612
|
*/
|
|
4677
6613
|
async updateFlowJSONAssetWithOptions(request: $_model.UpdateFlowJSONAssetRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateFlowJSONAssetResponse> {
|
|
4678
6614
|
request.validate();
|
|
4679
|
-
let
|
|
6615
|
+
let query = { };
|
|
4680
6616
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
4681
|
-
|
|
6617
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4682
6618
|
}
|
|
4683
6619
|
|
|
4684
6620
|
if (!$dara.isNull(request.filePath)) {
|
|
4685
|
-
|
|
6621
|
+
query["FilePath"] = request.filePath;
|
|
4686
6622
|
}
|
|
4687
6623
|
|
|
4688
6624
|
if (!$dara.isNull(request.flowId)) {
|
|
4689
|
-
|
|
6625
|
+
query["FlowId"] = request.flowId;
|
|
6626
|
+
}
|
|
6627
|
+
|
|
6628
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
6629
|
+
query["OwnerId"] = request.ownerId;
|
|
6630
|
+
}
|
|
6631
|
+
|
|
6632
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
6633
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6634
|
+
}
|
|
6635
|
+
|
|
6636
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
6637
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4690
6638
|
}
|
|
4691
6639
|
|
|
4692
6640
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4693
|
-
|
|
6641
|
+
query: OpenApiUtil.query(query),
|
|
4694
6642
|
});
|
|
4695
6643
|
let params = new $OpenApiUtil.Params({
|
|
4696
6644
|
action: "UpdateFlowJSONAsset",
|
|
@@ -4717,6 +6665,86 @@ export default class Client extends OpenApi {
|
|
|
4717
6665
|
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
4718
6666
|
}
|
|
4719
6667
|
|
|
6668
|
+
/**
|
|
6669
|
+
* Update flow version, used for updating the flow DSL on the canvas
|
|
6670
|
+
*
|
|
6671
|
+
* @param tmpReq - UpdateFlowVersionRequest
|
|
6672
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6673
|
+
* @returns UpdateFlowVersionResponse
|
|
6674
|
+
*/
|
|
6675
|
+
async updateFlowVersionWithOptions(tmpReq: $_model.UpdateFlowVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateFlowVersionResponse> {
|
|
6676
|
+
tmpReq.validate();
|
|
6677
|
+
let request = new $_model.UpdateFlowVersionShrinkRequest({ });
|
|
6678
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
6679
|
+
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
6680
|
+
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
6681
|
+
}
|
|
6682
|
+
|
|
6683
|
+
let query = { };
|
|
6684
|
+
if (!$dara.isNull(request.bizCode)) {
|
|
6685
|
+
query["BizCode"] = request.bizCode;
|
|
6686
|
+
}
|
|
6687
|
+
|
|
6688
|
+
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
6689
|
+
query["BizExtend"] = request.bizExtendShrink;
|
|
6690
|
+
}
|
|
6691
|
+
|
|
6692
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
6693
|
+
query["FlowCode"] = request.flowCode;
|
|
6694
|
+
}
|
|
6695
|
+
|
|
6696
|
+
if (!$dara.isNull(request.flowVersion)) {
|
|
6697
|
+
query["FlowVersion"] = request.flowVersion;
|
|
6698
|
+
}
|
|
6699
|
+
|
|
6700
|
+
if (!$dara.isNull(request.flowViewModel)) {
|
|
6701
|
+
query["FlowViewModel"] = request.flowViewModel;
|
|
6702
|
+
}
|
|
6703
|
+
|
|
6704
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
6705
|
+
query["OwnerId"] = request.ownerId;
|
|
6706
|
+
}
|
|
6707
|
+
|
|
6708
|
+
if (!$dara.isNull(request.remark)) {
|
|
6709
|
+
query["Remark"] = request.remark;
|
|
6710
|
+
}
|
|
6711
|
+
|
|
6712
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
6713
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6714
|
+
}
|
|
6715
|
+
|
|
6716
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
6717
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6718
|
+
}
|
|
6719
|
+
|
|
6720
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6721
|
+
query: OpenApiUtil.query(query),
|
|
6722
|
+
});
|
|
6723
|
+
let params = new $OpenApiUtil.Params({
|
|
6724
|
+
action: "UpdateFlowVersion",
|
|
6725
|
+
version: "2020-06-06",
|
|
6726
|
+
protocol: "HTTPS",
|
|
6727
|
+
pathname: "/",
|
|
6728
|
+
method: "POST",
|
|
6729
|
+
authType: "AK",
|
|
6730
|
+
style: "RPC",
|
|
6731
|
+
reqBodyType: "formData",
|
|
6732
|
+
bodyType: "json",
|
|
6733
|
+
});
|
|
6734
|
+
return $dara.cast<$_model.UpdateFlowVersionResponse>(await this.callApi(params, req, runtime), new $_model.UpdateFlowVersionResponse({}));
|
|
6735
|
+
}
|
|
6736
|
+
|
|
6737
|
+
/**
|
|
6738
|
+
* Update flow version, used for updating the flow DSL on the canvas
|
|
6739
|
+
*
|
|
6740
|
+
* @param request - UpdateFlowVersionRequest
|
|
6741
|
+
* @returns UpdateFlowVersionResponse
|
|
6742
|
+
*/
|
|
6743
|
+
async updateFlowVersion(request: $_model.UpdateFlowVersionRequest): Promise<$_model.UpdateFlowVersionResponse> {
|
|
6744
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6745
|
+
return await this.updateFlowVersionWithOptions(request, runtime);
|
|
6746
|
+
}
|
|
6747
|
+
|
|
4720
6748
|
/**
|
|
4721
6749
|
* Updates the encryption public key of a phone number.
|
|
4722
6750
|
*
|
|
@@ -4726,21 +6754,33 @@ export default class Client extends OpenApi {
|
|
|
4726
6754
|
*/
|
|
4727
6755
|
async updatePhoneEncryptionPublicKeyWithOptions(request: $_model.UpdatePhoneEncryptionPublicKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdatePhoneEncryptionPublicKeyResponse> {
|
|
4728
6756
|
request.validate();
|
|
4729
|
-
let
|
|
6757
|
+
let query = { };
|
|
4730
6758
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
4731
|
-
|
|
6759
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4732
6760
|
}
|
|
4733
6761
|
|
|
4734
6762
|
if (!$dara.isNull(request.encryptionPublicKey)) {
|
|
4735
|
-
|
|
6763
|
+
query["EncryptionPublicKey"] = request.encryptionPublicKey;
|
|
6764
|
+
}
|
|
6765
|
+
|
|
6766
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
6767
|
+
query["OwnerId"] = request.ownerId;
|
|
4736
6768
|
}
|
|
4737
6769
|
|
|
4738
6770
|
if (!$dara.isNull(request.phoneNumber)) {
|
|
4739
|
-
|
|
6771
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
6772
|
+
}
|
|
6773
|
+
|
|
6774
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
6775
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6776
|
+
}
|
|
6777
|
+
|
|
6778
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
6779
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4740
6780
|
}
|
|
4741
6781
|
|
|
4742
6782
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4743
|
-
|
|
6783
|
+
query: OpenApiUtil.query(query),
|
|
4744
6784
|
});
|
|
4745
6785
|
let params = new $OpenApiUtil.Params({
|
|
4746
6786
|
action: "UpdatePhoneEncryptionPublicKey",
|
|
@@ -4776,29 +6816,41 @@ export default class Client extends OpenApi {
|
|
|
4776
6816
|
*/
|
|
4777
6817
|
async updatePhoneMessageQrdlWithOptions(request: $_model.UpdatePhoneMessageQrdlRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdatePhoneMessageQrdlResponse> {
|
|
4778
6818
|
request.validate();
|
|
4779
|
-
let
|
|
6819
|
+
let query = { };
|
|
4780
6820
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
4781
|
-
|
|
6821
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
4782
6822
|
}
|
|
4783
6823
|
|
|
4784
6824
|
if (!$dara.isNull(request.generateQrImage)) {
|
|
4785
|
-
|
|
6825
|
+
query["GenerateQrImage"] = request.generateQrImage;
|
|
6826
|
+
}
|
|
6827
|
+
|
|
6828
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
6829
|
+
query["OwnerId"] = request.ownerId;
|
|
4786
6830
|
}
|
|
4787
6831
|
|
|
4788
6832
|
if (!$dara.isNull(request.phoneNumber)) {
|
|
4789
|
-
|
|
6833
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
4790
6834
|
}
|
|
4791
6835
|
|
|
4792
6836
|
if (!$dara.isNull(request.prefilledMessage)) {
|
|
4793
|
-
|
|
6837
|
+
query["PrefilledMessage"] = request.prefilledMessage;
|
|
4794
6838
|
}
|
|
4795
6839
|
|
|
4796
6840
|
if (!$dara.isNull(request.qrdlCode)) {
|
|
4797
|
-
|
|
6841
|
+
query["QrdlCode"] = request.qrdlCode;
|
|
6842
|
+
}
|
|
6843
|
+
|
|
6844
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
6845
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6846
|
+
}
|
|
6847
|
+
|
|
6848
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
6849
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4798
6850
|
}
|
|
4799
6851
|
|
|
4800
6852
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4801
|
-
|
|
6853
|
+
query: OpenApiUtil.query(query),
|
|
4802
6854
|
});
|
|
4803
6855
|
let params = new $OpenApiUtil.Params({
|
|
4804
6856
|
action: "UpdatePhoneMessageQrdl",
|
|
@@ -4848,6 +6900,10 @@ export default class Client extends OpenApi {
|
|
|
4848
6900
|
query["HttpFlag"] = request.httpFlag;
|
|
4849
6901
|
}
|
|
4850
6902
|
|
|
6903
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
6904
|
+
query["OwnerId"] = request.ownerId;
|
|
6905
|
+
}
|
|
6906
|
+
|
|
4851
6907
|
if (!$dara.isNull(request.phoneNumber)) {
|
|
4852
6908
|
query["PhoneNumber"] = request.phoneNumber;
|
|
4853
6909
|
}
|
|
@@ -4856,6 +6912,14 @@ export default class Client extends OpenApi {
|
|
|
4856
6912
|
query["QueueFlag"] = request.queueFlag;
|
|
4857
6913
|
}
|
|
4858
6914
|
|
|
6915
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
6916
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6917
|
+
}
|
|
6918
|
+
|
|
6919
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
6920
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6921
|
+
}
|
|
6922
|
+
|
|
4859
6923
|
if (!$dara.isNull(request.statusCallbackUrl)) {
|
|
4860
6924
|
query["StatusCallbackUrl"] = request.statusCallbackUrl;
|
|
4861
6925
|
}
|