@alicloud/cams20200606 5.3.0 → 5.3.1
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 +298 -296
- package/dist/client.js +380 -324
- package/dist/client.js.map +1 -1
- package/dist/models/AddMarketingFlowRequest.d.ts +58 -10
- package/dist/models/AddMarketingFlowRequest.js.map +1 -1
- package/dist/models/AddMarketingFlowResponseBody.d.ts +24 -4
- package/dist/models/AddMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/AddMarketingFlowShrinkRequest.d.ts +58 -10
- package/dist/models/AddMarketingFlowShrinkRequest.js.map +1 -1
- package/dist/models/BindMessengerPageRequest.d.ts +8 -1
- package/dist/models/BindMessengerPageRequest.js.map +1 -1
- package/dist/models/BindMessengerPageResponseBody.d.ts +30 -0
- package/dist/models/BindMessengerPageResponseBody.js.map +1 -1
- package/dist/models/ChangeResourceGroupRequest.d.ts +7 -0
- package/dist/models/ChangeResourceGroupRequest.js.map +1 -1
- package/dist/models/ChangeResourceGroupResponseBody.d.ts +3 -0
- package/dist/models/ChangeResourceGroupResponseBody.js.map +1 -1
- package/dist/models/CreateChatFlowByImportRequest.d.ts +7 -7
- package/dist/models/CreateChatFlowByImportResponseBody.d.ts +2 -2
- package/dist/models/CreateChatFlowByImportShrinkRequest.d.ts +7 -7
- package/dist/models/CreateChatFlowLogSettingRequest.d.ts +1 -1
- package/dist/models/CreateChatFlowLogSettingResponseBody.d.ts +3 -3
- package/dist/models/CreateChatFlowRequest.d.ts +29 -11
- package/dist/models/CreateChatFlowRequest.js +9 -0
- package/dist/models/CreateChatFlowRequest.js.map +1 -1
- package/dist/models/CreateChatFlowResponseBody.d.ts +4 -4
- package/dist/models/CreateChatFlowShrinkRequest.d.ts +27 -11
- package/dist/models/CreateChatFlowShrinkRequest.js +6 -0
- package/dist/models/CreateChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/CreateChatappTemplateRequest.d.ts +103 -105
- package/dist/models/CreateChatappTemplateRequest.js +2 -0
- package/dist/models/CreateChatappTemplateRequest.js.map +1 -1
- package/dist/models/CreateChatappTemplateResponseBody.d.ts +9 -4
- package/dist/models/CreateChatappTemplateResponseBody.js +2 -0
- package/dist/models/CreateChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/CreateChatappTemplateShrinkRequest.d.ts +38 -25
- package/dist/models/CreateChatappTemplateShrinkRequest.js +2 -0
- package/dist/models/CreateChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/CreateFlowVersionRequest.d.ts +6 -6
- package/dist/models/CreateFlowVersionResponseBody.d.ts +5 -5
- package/dist/models/CreateFlowVersionShrinkRequest.d.ts +6 -6
- package/dist/models/CreateMessengerPageRequest.d.ts +14 -4
- package/dist/models/CreateMessengerPageRequest.js.map +1 -1
- package/dist/models/CreateMessengerPageResponseBody.d.ts +30 -3
- package/dist/models/CreateMessengerPageResponseBody.js.map +1 -1
- package/dist/models/CreateMessengerPageShrinkRequest.d.ts +14 -4
- package/dist/models/CreateMessengerPageShrinkRequest.js.map +1 -1
- package/dist/models/CreatePhoneMessageQrdlRequest.d.ts +3 -3
- package/dist/models/CreateWhatsappConversionApiRequest.d.ts +10 -0
- package/dist/models/CreateWhatsappConversionApiRequest.js.map +1 -1
- package/dist/models/CreateWhatsappConversionApiResponseBody.d.ts +24 -3
- package/dist/models/CreateWhatsappConversionApiResponseBody.js.map +1 -1
- package/dist/models/CreateWhatsappConversionApiShrinkRequest.d.ts +10 -0
- package/dist/models/CreateWhatsappConversionApiShrinkRequest.js.map +1 -1
- package/dist/models/DeleteChatFlowRequest.d.ts +3 -3
- package/dist/models/DeleteChatFlowResponseBody.d.ts +5 -5
- package/dist/models/DeleteChatFlowShrinkRequest.d.ts +3 -3
- package/dist/models/DeleteContactsRequest.d.ts +23 -1
- package/dist/models/DeleteContactsRequest.js.map +1 -1
- package/dist/models/DeleteContactsResponseBody.d.ts +25 -1
- package/dist/models/DeleteContactsResponseBody.js.map +1 -1
- package/dist/models/DeleteContactsShrinkRequest.d.ts +23 -1
- package/dist/models/DeleteContactsShrinkRequest.js.map +1 -1
- package/dist/models/DeleteGroupByIdRequest.d.ts +2 -0
- package/dist/models/DeleteGroupByIdRequest.js.map +1 -1
- package/dist/models/DeleteGroupByIdResponseBody.d.ts +26 -2
- package/dist/models/DeleteGroupByIdResponseBody.js.map +1 -1
- package/dist/models/DeleteInstagramPageRequest.d.ts +5 -1
- package/dist/models/DeleteInstagramPageRequest.js.map +1 -1
- package/dist/models/DeleteInstagramPageResponseBody.d.ts +26 -0
- package/dist/models/DeleteInstagramPageResponseBody.js.map +1 -1
- package/dist/models/DeleteMessengerPageRequest.d.ts +4 -0
- package/dist/models/DeleteMessengerPageRequest.js.map +1 -1
- package/dist/models/DeleteMessengerPageResponseBody.d.ts +24 -0
- package/dist/models/DeleteMessengerPageResponseBody.js.map +1 -1
- package/dist/models/DeletePhoneMessageQrdlRequest.d.ts +6 -3
- package/dist/models/DeletePhoneMessageQrdlRequest.js.map +1 -1
- package/dist/models/DeprecateFlowRequest.d.ts +7 -2
- package/dist/models/DeprecateFlowRequest.js.map +1 -1
- package/dist/models/DeprecateFlowResponseBody.d.ts +5 -2
- package/dist/models/DeprecateFlowResponseBody.js.map +1 -1
- package/dist/models/FlowBindPhoneRequest.d.ts +46 -17
- package/dist/models/FlowBindPhoneRequest.js +32 -1
- package/dist/models/FlowBindPhoneRequest.js.map +1 -1
- package/dist/models/FlowBindPhoneResponseBody.d.ts +6 -6
- package/dist/models/FlowBindPhoneShrinkRequest.d.ts +13 -17
- package/dist/models/FlowBindPhoneShrinkRequest.js +2 -0
- package/dist/models/FlowBindPhoneShrinkRequest.js.map +1 -1
- package/dist/models/FlowRebindPhoneRequest.d.ts +42 -8
- package/dist/models/FlowRebindPhoneRequest.js +32 -1
- package/dist/models/FlowRebindPhoneRequest.js.map +1 -1
- package/dist/models/FlowRebindPhoneResponseBody.d.ts +6 -6
- package/dist/models/FlowRebindPhoneShrinkRequest.d.ts +9 -8
- package/dist/models/FlowRebindPhoneShrinkRequest.js +2 -0
- package/dist/models/FlowRebindPhoneShrinkRequest.js.map +1 -1
- package/dist/models/FlowUnbindPhoneRequest.d.ts +4 -6
- package/dist/models/FlowUnbindPhoneRequest.js.map +1 -1
- package/dist/models/FlowUnbindPhoneResponseBody.d.ts +5 -5
- package/dist/models/FlowUnbindPhoneShrinkRequest.d.ts +4 -6
- package/dist/models/FlowUnbindPhoneShrinkRequest.js.map +1 -1
- package/dist/models/GetAuditRequestByTypeUnAuditRequest.d.ts +4 -0
- package/dist/models/GetAuditRequestByTypeUnAuditRequest.js.map +1 -1
- package/dist/models/GetAuditRequestByTypeUnAuditResponseBody.d.ts +166 -0
- package/dist/models/GetAuditRequestByTypeUnAuditResponseBody.js.map +1 -1
- package/dist/models/GetChatFlowMetricRequest.d.ts +3 -3
- package/dist/models/GetChatFlowMetricResponseBody.d.ts +2 -2
- package/dist/models/GetChatFlowMetricShrinkRequest.d.ts +3 -3
- package/dist/models/GetChatFlowTemplateRequest.d.ts +2 -2
- package/dist/models/GetChatFlowTemplateResponseBody.d.ts +3 -3
- package/dist/models/GetChatappTemplateDetailRequest.d.ts +5 -3
- package/dist/models/GetChatappTemplateDetailRequest.js.map +1 -1
- package/dist/models/GetChatappTemplateDetailResponseBody.d.ts +82 -68
- package/dist/models/GetChatappTemplateDetailResponseBody.js +4 -0
- package/dist/models/GetChatappTemplateDetailResponseBody.js.map +1 -1
- package/dist/models/GetDownloadExcelListRequest.d.ts +34 -4
- package/dist/models/GetDownloadExcelListRequest.js.map +1 -1
- package/dist/models/GetDownloadExcelListResponseBody.d.ts +24 -0
- package/dist/models/GetDownloadExcelListResponseBody.js.map +1 -1
- package/dist/models/GetDownloadExcelListShrinkRequest.d.ts +34 -4
- package/dist/models/GetDownloadExcelListShrinkRequest.js.map +1 -1
- package/dist/models/GetFbInstagramPagesRequest.d.ts +5 -0
- package/dist/models/GetFbInstagramPagesRequest.js.map +1 -1
- package/dist/models/GetFbInstagramPagesResponseBody.d.ts +54 -0
- package/dist/models/GetFbInstagramPagesResponseBody.js.map +1 -1
- package/dist/models/GetFbMessengerPagesRequest.d.ts +4 -0
- package/dist/models/GetFbMessengerPagesRequest.js.map +1 -1
- package/dist/models/GetFbMessengerPagesResponseBody.d.ts +31 -0
- package/dist/models/GetFbMessengerPagesResponseBody.js.map +1 -1
- package/dist/models/GetFlowJsonassestRequest.d.ts +10 -2
- package/dist/models/GetFlowJsonassestRequest.js.map +1 -1
- package/dist/models/GetFlowJsonassestResponseBody.d.ts +5 -2
- package/dist/models/GetFlowJsonassestResponseBody.js.map +1 -1
- package/dist/models/GetFlowPreviewUrlRequest.d.ts +10 -2
- package/dist/models/GetFlowPreviewUrlRequest.js.map +1 -1
- package/dist/models/GetFlowPreviewUrlResponseBody.d.ts +4 -1
- package/dist/models/GetFlowPreviewUrlResponseBody.js.map +1 -1
- package/dist/models/GetFlowRequest.d.ts +10 -2
- package/dist/models/GetFlowRequest.js.map +1 -1
- package/dist/models/GetFlowResponseBody.d.ts +18 -5
- package/dist/models/GetFlowResponseBody.js.map +1 -1
- package/dist/models/GetGroupExistRequest.d.ts +13 -1
- package/dist/models/GetGroupExistRequest.js.map +1 -1
- package/dist/models/GetGroupExistResponseBody.d.ts +24 -0
- package/dist/models/GetGroupExistResponseBody.js.map +1 -1
- package/dist/models/GetGroupExistShrinkRequest.d.ts +13 -1
- package/dist/models/GetGroupExistShrinkRequest.js.map +1 -1
- package/dist/models/GetPhoneNumberVerificationStatusRequest.d.ts +11 -2
- package/dist/models/GetPhoneNumberVerificationStatusRequest.js.map +1 -1
- package/dist/models/GetPhoneNumberVerificationStatusResponseBody.d.ts +9 -3
- package/dist/models/GetPhoneNumberVerificationStatusResponseBody.js.map +1 -1
- package/dist/models/GetViberPauseTimesRequest.d.ts +2 -0
- package/dist/models/GetViberPauseTimesRequest.js.map +1 -1
- package/dist/models/GetViberPauseTimesResponseBody.d.ts +26 -0
- package/dist/models/GetViberPauseTimesResponseBody.js.map +1 -1
- package/dist/models/GetWhatsappConversionApiRequest.d.ts +3 -0
- package/dist/models/GetWhatsappConversionApiRequest.js.map +1 -1
- package/dist/models/GetWhatsappConversionApiResponseBody.d.ts +36 -0
- package/dist/models/GetWhatsappConversionApiResponseBody.js.map +1 -1
- package/dist/models/ListAllGroupsRequest.d.ts +11 -1
- package/dist/models/ListAllGroupsRequest.js.map +1 -1
- package/dist/models/ListAllGroupsResponseBody.d.ts +36 -0
- package/dist/models/ListAllGroupsResponseBody.js.map +1 -1
- package/dist/models/ListAllGroupsShrinkRequest.d.ts +11 -1
- package/dist/models/ListAllGroupsShrinkRequest.js.map +1 -1
- package/dist/models/ListBindDmAccountRequest.d.ts +3 -1
- package/dist/models/ListBindDmAccountRequest.js.map +1 -1
- package/dist/models/ListBindDmAccountResponseBody.d.ts +44 -0
- package/dist/models/ListBindDmAccountResponseBody.js.map +1 -1
- package/dist/models/ListBindingRelationsForFlowVersionRequest.d.ts +2 -6
- package/dist/models/ListBindingRelationsForFlowVersionRequest.js.map +1 -1
- package/dist/models/ListBindingRelationsForFlowVersionResponseBody.d.ts +4 -4
- package/dist/models/ListChatFlowRequest.d.ts +44 -0
- package/dist/models/ListChatFlowRequest.js +8 -0
- package/dist/models/ListChatFlowRequest.js.map +1 -1
- package/dist/models/ListChatFlowShrinkRequest.d.ts +44 -0
- package/dist/models/ListChatFlowShrinkRequest.js +8 -0
- package/dist/models/ListChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/ListChatFlowTemplateRequest.d.ts +3 -7
- package/dist/models/ListChatFlowTemplateRequest.js.map +1 -1
- package/dist/models/ListChatFlowTemplateResponseBody.d.ts +3 -3
- package/dist/models/ListChatGroupParticipantsRequest.d.ts +7 -7
- package/dist/models/ListChatGroupParticipantsResponseBody.d.ts +7 -9
- package/dist/models/ListChatGroupParticipantsResponseBody.js.map +1 -1
- package/dist/models/ListChatGroupParticipantsShrinkRequest.d.ts +6 -6
- package/dist/models/ListChatappTemplateRequest.d.ts +16 -13
- package/dist/models/ListChatappTemplateRequest.js.map +1 -1
- package/dist/models/ListChatappTemplateResponseBody.d.ts +32 -39
- package/dist/models/ListChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/ListChatappTemplateShrinkRequest.d.ts +15 -12
- package/dist/models/ListChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/ListDmTagRequest.d.ts +9 -0
- package/dist/models/ListDmTagRequest.js.map +1 -1
- package/dist/models/ListDmTagResponseBody.d.ts +39 -0
- package/dist/models/ListDmTagResponseBody.js.map +1 -1
- package/dist/models/ListFlowNodePrototypeV2request.d.ts +8 -8
- package/dist/models/ListFlowNodePrototypeV2responseBody.d.ts +22 -19
- package/dist/models/ListFlowNodePrototypeV2responseBody.js.map +1 -1
- package/dist/models/ListFlowRequest.d.ts +26 -2
- package/dist/models/ListFlowRequest.js.map +1 -1
- package/dist/models/ListFlowResponseBody.d.ts +7 -4
- package/dist/models/ListFlowResponseBody.js.map +1 -1
- package/dist/models/ListFlowShrinkRequest.d.ts +12 -2
- package/dist/models/ListFlowShrinkRequest.js.map +1 -1
- package/dist/models/ListFlowVersionRequest.d.ts +10 -14
- package/dist/models/ListFlowVersionRequest.js.map +1 -1
- package/dist/models/ListFlowVersionResponseBody.d.ts +4 -4
- package/dist/models/ListFlowVersionShrinkRequest.d.ts +10 -14
- package/dist/models/ListFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/ListInstagramPostsRequest.d.ts +2 -0
- package/dist/models/ListInstagramPostsRequest.js.map +1 -1
- package/dist/models/ListInstagramPostsResponseBody.d.ts +44 -0
- package/dist/models/ListInstagramPostsResponseBody.js.map +1 -1
- package/dist/models/ListInstanceRequest.d.ts +9 -10
- package/dist/models/ListInstanceRequest.js +4 -0
- package/dist/models/ListInstanceRequest.js.map +1 -1
- package/dist/models/ListInstanceResponseBody.d.ts +14 -16
- package/dist/models/ListInstanceResponseBody.js.map +1 -1
- package/dist/models/ListPhoneMessageQrdlRequest.d.ts +1 -1
- package/dist/models/ListPhoneMessageQrdlResponseBody.d.ts +3 -3
- package/dist/models/ListViberServiceMessageRequest.d.ts +2 -0
- package/dist/models/ListViberServiceMessageRequest.js.map +1 -1
- package/dist/models/ListViberServiceMessageResponseBody.d.ts +57 -2
- package/dist/models/ListViberServiceMessageResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplateRequest.d.ts +46 -42
- package/dist/models/ModifyChatappTemplateRequest.js +2 -0
- package/dist/models/ModifyChatappTemplateRequest.js.map +1 -1
- package/dist/models/ModifyChatappTemplateResponseBody.d.ts +7 -2
- package/dist/models/ModifyChatappTemplateResponseBody.js +2 -0
- package/dist/models/ModifyChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplateShrinkRequest.d.ts +19 -11
- package/dist/models/ModifyChatappTemplateShrinkRequest.js +2 -0
- package/dist/models/ModifyChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/MoveContactToGroupRequest.d.ts +19 -1
- package/dist/models/MoveContactToGroupRequest.js.map +1 -1
- package/dist/models/MoveContactToGroupResponseBody.d.ts +27 -2
- package/dist/models/MoveContactToGroupResponseBody.js.map +1 -1
- package/dist/models/MoveContactToGroupShrinkRequest.d.ts +19 -1
- package/dist/models/MoveContactToGroupShrinkRequest.js.map +1 -1
- package/dist/models/OfflineFlowVersionRequest.d.ts +5 -5
- package/dist/models/OfflineFlowVersionResponseBody.d.ts +5 -5
- package/dist/models/OfflineFlowVersionShrinkRequest.d.ts +5 -5
- package/dist/models/OnlineFlowVersionRequest.d.ts +6 -6
- package/dist/models/OnlineFlowVersionResponseBody.d.ts +4 -4
- package/dist/models/OnlineFlowVersionShrinkRequest.d.ts +6 -6
- package/dist/models/OpenChatappServiceResponseBody.d.ts +16 -0
- package/dist/models/OpenChatappServiceResponseBody.js.map +1 -1
- package/dist/models/PauseMarketingFlowRequest.d.ts +6 -0
- package/dist/models/PauseMarketingFlowRequest.js.map +1 -1
- package/dist/models/PauseMarketingFlowResponseBody.d.ts +27 -3
- package/dist/models/PauseMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/QueryMmlactiveRequest.d.ts +3 -0
- package/dist/models/QueryMmlactiveRequest.js.map +1 -1
- package/dist/models/QueryMmlactiveResponseBody.d.ts +27 -3
- package/dist/models/QueryMmlactiveResponseBody.js.map +1 -1
- package/dist/models/ReadChatFlowLogSettingRequest.d.ts +1 -1
- package/dist/models/ReadChatFlowLogSettingResponseBody.d.ts +4 -4
- package/dist/models/ReadChatFlowRequest.d.ts +3 -3
- package/dist/models/ReadChatFlowResponseBody.d.ts +5 -5
- package/dist/models/ReadChatFlowShrinkRequest.d.ts +3 -3
- package/dist/models/ReadFlowVersionRequest.d.ts +8 -0
- package/dist/models/ReadFlowVersionRequest.js +2 -0
- package/dist/models/ReadFlowVersionRequest.js.map +1 -1
- package/dist/models/ReadFlowVersionResponseBody.d.ts +1 -1
- package/dist/models/ReadFlowVersionShrinkRequest.d.ts +8 -0
- package/dist/models/ReadFlowVersionShrinkRequest.js +2 -0
- package/dist/models/ReadFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/RemoveContactByIdRequest.d.ts +4 -0
- package/dist/models/RemoveContactByIdRequest.js.map +1 -1
- package/dist/models/RemoveContactByIdResponseBody.d.ts +30 -4
- package/dist/models/RemoveContactByIdResponseBody.js.map +1 -1
- package/dist/models/SendChatappMessageRequest.d.ts +166 -54
- package/dist/models/SendChatappMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMessageShrinkRequest.d.ts +169 -57
- package/dist/models/SendChatappMessageShrinkRequest.js.map +1 -1
- package/dist/models/SyncFlowRequest.d.ts +1 -1
- package/dist/models/SyncFlowResponseBody.d.ts +23 -0
- package/dist/models/SyncFlowResponseBody.js.map +1 -1
- package/dist/models/UnbindDmAccountRequest.d.ts +2 -0
- package/dist/models/UnbindDmAccountRequest.js.map +1 -1
- package/dist/models/UnbindDmAccountResponseBody.d.ts +24 -0
- package/dist/models/UnbindDmAccountResponseBody.js.map +1 -1
- package/dist/models/UpdateChatFlowRequest.d.ts +7 -7
- package/dist/models/UpdateChatFlowResponseBody.d.ts +4 -4
- package/dist/models/UpdateChatFlowShrinkRequest.d.ts +7 -7
- package/dist/models/UpdateContactByIdRequest.d.ts +30 -6
- package/dist/models/UpdateContactByIdRequest.js.map +1 -1
- package/dist/models/UpdateContactByIdResponseBody.d.ts +31 -5
- package/dist/models/UpdateContactByIdResponseBody.js.map +1 -1
- package/dist/models/UpdateContactByIdShrinkRequest.d.ts +30 -6
- package/dist/models/UpdateContactByIdShrinkRequest.js.map +1 -1
- package/dist/models/UpdateFlowVersionRequest.d.ts +15 -7
- package/dist/models/UpdateFlowVersionRequest.js +2 -0
- package/dist/models/UpdateFlowVersionRequest.js.map +1 -1
- package/dist/models/UpdateFlowVersionResponseBody.d.ts +1 -1
- package/dist/models/UpdateFlowVersionShrinkRequest.d.ts +15 -7
- package/dist/models/UpdateFlowVersionShrinkRequest.js +2 -0
- package/dist/models/UpdateFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/UpdateGroupNameRequest.d.ts +6 -2
- package/dist/models/UpdateGroupNameRequest.js.map +1 -1
- package/dist/models/UpdateGroupNameResponseBody.d.ts +31 -5
- package/dist/models/UpdateGroupNameResponseBody.js.map +1 -1
- package/dist/models/UpdatePhoneMessageQrdlResponseBody.d.ts +2 -2
- package/dist/models/WhatsappCallRequest.d.ts +6 -8
- package/dist/models/WhatsappCallRequest.js.map +1 -1
- package/dist/models/WhatsappCallResponseBody.d.ts +4 -6
- package/dist/models/WhatsappCallResponseBody.js.map +1 -1
- package/dist/models/WhatsappCallShrinkRequest.d.ts +4 -6
- package/dist/models/WhatsappCallShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +23 -19
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +398 -324
- package/src/models/AddMarketingFlowRequest.ts +58 -10
- package/src/models/AddMarketingFlowResponseBody.ts +24 -4
- package/src/models/AddMarketingFlowShrinkRequest.ts +58 -10
- package/src/models/BindMessengerPageRequest.ts +8 -1
- package/src/models/BindMessengerPageResponseBody.ts +30 -0
- package/src/models/ChangeResourceGroupRequest.ts +7 -0
- package/src/models/ChangeResourceGroupResponseBody.ts +3 -0
- package/src/models/CreateChatFlowByImportRequest.ts +7 -7
- package/src/models/CreateChatFlowByImportResponseBody.ts +2 -2
- package/src/models/CreateChatFlowByImportShrinkRequest.ts +7 -7
- package/src/models/CreateChatFlowLogSettingRequest.ts +1 -1
- package/src/models/CreateChatFlowLogSettingResponseBody.ts +3 -3
- package/src/models/CreateChatFlowRequest.ts +36 -11
- package/src/models/CreateChatFlowResponseBody.ts +4 -4
- package/src/models/CreateChatFlowShrinkRequest.ts +33 -11
- package/src/models/CreateChatappTemplateRequest.ts +108 -108
- package/src/models/CreateChatappTemplateResponseBody.ts +11 -4
- package/src/models/CreateChatappTemplateShrinkRequest.ts +40 -25
- package/src/models/CreateFlowVersionRequest.ts +6 -6
- package/src/models/CreateFlowVersionResponseBody.ts +5 -5
- package/src/models/CreateFlowVersionShrinkRequest.ts +6 -6
- package/src/models/CreateMessengerPageRequest.ts +14 -4
- package/src/models/CreateMessengerPageResponseBody.ts +30 -3
- package/src/models/CreateMessengerPageShrinkRequest.ts +14 -4
- package/src/models/CreatePhoneMessageQrdlRequest.ts +3 -3
- package/src/models/CreateWhatsappConversionApiRequest.ts +10 -0
- package/src/models/CreateWhatsappConversionApiResponseBody.ts +24 -3
- package/src/models/CreateWhatsappConversionApiShrinkRequest.ts +10 -0
- package/src/models/DeleteChatFlowRequest.ts +3 -3
- package/src/models/DeleteChatFlowResponseBody.ts +5 -5
- package/src/models/DeleteChatFlowShrinkRequest.ts +3 -3
- package/src/models/DeleteContactsRequest.ts +23 -1
- package/src/models/DeleteContactsResponseBody.ts +25 -1
- package/src/models/DeleteContactsShrinkRequest.ts +23 -1
- package/src/models/DeleteGroupByIdRequest.ts +2 -0
- package/src/models/DeleteGroupByIdResponseBody.ts +26 -2
- package/src/models/DeleteInstagramPageRequest.ts +5 -1
- package/src/models/DeleteInstagramPageResponseBody.ts +26 -0
- package/src/models/DeleteMessengerPageRequest.ts +4 -0
- package/src/models/DeleteMessengerPageResponseBody.ts +24 -0
- package/src/models/DeletePhoneMessageQrdlRequest.ts +6 -3
- package/src/models/DeprecateFlowRequest.ts +7 -2
- package/src/models/DeprecateFlowResponseBody.ts +5 -2
- package/src/models/FlowBindPhoneRequest.ts +68 -17
- package/src/models/FlowBindPhoneResponseBody.ts +6 -6
- package/src/models/FlowBindPhoneShrinkRequest.ts +15 -17
- package/src/models/FlowRebindPhoneRequest.ts +64 -8
- package/src/models/FlowRebindPhoneResponseBody.ts +6 -6
- package/src/models/FlowRebindPhoneShrinkRequest.ts +11 -8
- package/src/models/FlowUnbindPhoneRequest.ts +4 -6
- package/src/models/FlowUnbindPhoneResponseBody.ts +5 -5
- package/src/models/FlowUnbindPhoneShrinkRequest.ts +4 -6
- package/src/models/GetAuditRequestByTypeUnAuditRequest.ts +4 -0
- package/src/models/GetAuditRequestByTypeUnAuditResponseBody.ts +166 -0
- package/src/models/GetChatFlowMetricRequest.ts +3 -3
- package/src/models/GetChatFlowMetricResponseBody.ts +2 -2
- package/src/models/GetChatFlowMetricShrinkRequest.ts +3 -3
- package/src/models/GetChatFlowTemplateRequest.ts +2 -2
- package/src/models/GetChatFlowTemplateResponseBody.ts +3 -3
- package/src/models/GetChatappTemplateDetailRequest.ts +5 -3
- package/src/models/GetChatappTemplateDetailResponseBody.ts +86 -68
- package/src/models/GetDownloadExcelListRequest.ts +34 -4
- package/src/models/GetDownloadExcelListResponseBody.ts +24 -0
- package/src/models/GetDownloadExcelListShrinkRequest.ts +34 -4
- package/src/models/GetFbInstagramPagesRequest.ts +5 -0
- package/src/models/GetFbInstagramPagesResponseBody.ts +54 -0
- package/src/models/GetFbMessengerPagesRequest.ts +4 -0
- package/src/models/GetFbMessengerPagesResponseBody.ts +31 -0
- package/src/models/GetFlowJsonassestRequest.ts +10 -2
- package/src/models/GetFlowJsonassestResponseBody.ts +5 -2
- package/src/models/GetFlowPreviewUrlRequest.ts +10 -2
- package/src/models/GetFlowPreviewUrlResponseBody.ts +4 -1
- package/src/models/GetFlowRequest.ts +10 -2
- package/src/models/GetFlowResponseBody.ts +18 -5
- package/src/models/GetGroupExistRequest.ts +13 -1
- package/src/models/GetGroupExistResponseBody.ts +24 -0
- package/src/models/GetGroupExistShrinkRequest.ts +13 -1
- package/src/models/GetPhoneNumberVerificationStatusRequest.ts +11 -2
- package/src/models/GetPhoneNumberVerificationStatusResponseBody.ts +9 -3
- package/src/models/GetViberPauseTimesRequest.ts +2 -0
- package/src/models/GetViberPauseTimesResponseBody.ts +26 -0
- package/src/models/GetWhatsappConversionApiRequest.ts +3 -0
- package/src/models/GetWhatsappConversionApiResponseBody.ts +36 -0
- package/src/models/ListAllGroupsRequest.ts +11 -1
- package/src/models/ListAllGroupsResponseBody.ts +36 -0
- package/src/models/ListAllGroupsShrinkRequest.ts +11 -1
- package/src/models/ListBindDmAccountRequest.ts +3 -1
- package/src/models/ListBindDmAccountResponseBody.ts +44 -0
- package/src/models/ListBindingRelationsForFlowVersionRequest.ts +2 -6
- package/src/models/ListBindingRelationsForFlowVersionResponseBody.ts +4 -4
- package/src/models/ListChatFlowRequest.ts +52 -0
- package/src/models/ListChatFlowShrinkRequest.ts +52 -0
- package/src/models/ListChatFlowTemplateRequest.ts +3 -7
- package/src/models/ListChatFlowTemplateResponseBody.ts +3 -3
- package/src/models/ListChatGroupParticipantsRequest.ts +7 -7
- package/src/models/ListChatGroupParticipantsResponseBody.ts +7 -9
- package/src/models/ListChatGroupParticipantsShrinkRequest.ts +6 -6
- package/src/models/ListChatappTemplateRequest.ts +16 -13
- package/src/models/ListChatappTemplateResponseBody.ts +32 -39
- package/src/models/ListChatappTemplateShrinkRequest.ts +15 -12
- package/src/models/ListDmTagRequest.ts +9 -0
- package/src/models/ListDmTagResponseBody.ts +39 -0
- package/src/models/ListFlowNodePrototypeV2request.ts +8 -8
- package/src/models/ListFlowNodePrototypeV2responseBody.ts +22 -19
- package/src/models/ListFlowRequest.ts +26 -2
- package/src/models/ListFlowResponseBody.ts +7 -4
- package/src/models/ListFlowShrinkRequest.ts +12 -2
- package/src/models/ListFlowVersionRequest.ts +10 -14
- package/src/models/ListFlowVersionResponseBody.ts +4 -4
- package/src/models/ListFlowVersionShrinkRequest.ts +10 -14
- package/src/models/ListInstagramPostsRequest.ts +2 -0
- package/src/models/ListInstagramPostsResponseBody.ts +44 -0
- package/src/models/ListInstanceRequest.ts +13 -10
- package/src/models/ListInstanceResponseBody.ts +14 -16
- package/src/models/ListPhoneMessageQrdlRequest.ts +1 -1
- package/src/models/ListPhoneMessageQrdlResponseBody.ts +3 -3
- package/src/models/ListViberServiceMessageRequest.ts +2 -0
- package/src/models/ListViberServiceMessageResponseBody.ts +57 -2
- package/src/models/ModifyChatappTemplateRequest.ts +48 -42
- package/src/models/ModifyChatappTemplateResponseBody.ts +9 -2
- package/src/models/ModifyChatappTemplateShrinkRequest.ts +21 -11
- package/src/models/MoveContactToGroupRequest.ts +19 -1
- package/src/models/MoveContactToGroupResponseBody.ts +27 -2
- package/src/models/MoveContactToGroupShrinkRequest.ts +19 -1
- package/src/models/OfflineFlowVersionRequest.ts +5 -5
- package/src/models/OfflineFlowVersionResponseBody.ts +5 -5
- package/src/models/OfflineFlowVersionShrinkRequest.ts +5 -5
- package/src/models/OnlineFlowVersionRequest.ts +6 -6
- package/src/models/OnlineFlowVersionResponseBody.ts +4 -4
- package/src/models/OnlineFlowVersionShrinkRequest.ts +6 -6
- package/src/models/OpenChatappServiceResponseBody.ts +16 -0
- package/src/models/PauseMarketingFlowRequest.ts +6 -0
- package/src/models/PauseMarketingFlowResponseBody.ts +27 -3
- package/src/models/QueryMmlactiveRequest.ts +3 -0
- package/src/models/QueryMmlactiveResponseBody.ts +27 -3
- package/src/models/ReadChatFlowLogSettingRequest.ts +1 -1
- package/src/models/ReadChatFlowLogSettingResponseBody.ts +4 -4
- package/src/models/ReadChatFlowRequest.ts +3 -3
- package/src/models/ReadChatFlowResponseBody.ts +5 -5
- package/src/models/ReadChatFlowShrinkRequest.ts +3 -3
- package/src/models/ReadFlowVersionRequest.ts +10 -0
- package/src/models/ReadFlowVersionResponseBody.ts +1 -1
- package/src/models/ReadFlowVersionShrinkRequest.ts +10 -0
- package/src/models/RemoveContactByIdRequest.ts +4 -0
- package/src/models/RemoveContactByIdResponseBody.ts +30 -4
- package/src/models/SendChatappMessageRequest.ts +166 -54
- package/src/models/SendChatappMessageShrinkRequest.ts +169 -57
- package/src/models/SyncFlowRequest.ts +1 -1
- package/src/models/SyncFlowResponseBody.ts +23 -0
- package/src/models/UnbindDmAccountRequest.ts +2 -0
- package/src/models/UnbindDmAccountResponseBody.ts +24 -0
- package/src/models/UpdateChatFlowRequest.ts +7 -7
- package/src/models/UpdateChatFlowResponseBody.ts +4 -4
- package/src/models/UpdateChatFlowShrinkRequest.ts +7 -7
- package/src/models/UpdateContactByIdRequest.ts +30 -6
- package/src/models/UpdateContactByIdResponseBody.ts +31 -5
- package/src/models/UpdateContactByIdShrinkRequest.ts +30 -6
- package/src/models/UpdateFlowVersionRequest.ts +17 -7
- package/src/models/UpdateFlowVersionResponseBody.ts +1 -1
- package/src/models/UpdateFlowVersionShrinkRequest.ts +17 -7
- package/src/models/UpdateGroupNameRequest.ts +6 -2
- package/src/models/UpdateGroupNameResponseBody.ts +31 -5
- package/src/models/UpdatePhoneMessageQrdlResponseBody.ts +2 -2
- package/src/models/WhatsappCallRequest.ts +6 -8
- package/src/models/WhatsappCallResponseBody.ts +4 -6
- package/src/models/WhatsappCallShrinkRequest.ts +4 -6
- package/src/models/model.ts +2 -0
|
@@ -75,7 +75,7 @@ export class SendChatappMessageRequestProductActionSectionsProductItems extends
|
|
|
75
75
|
export class SendChatappMessageRequestProductActionSections extends $dara.Model {
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The list of product
|
|
78
|
+
* The list of product items.
|
|
79
79
|
*/
|
|
80
80
|
productItems?: SendChatappMessageRequestProductActionSectionsProductItems[];
|
|
81
81
|
/**
|
|
@@ -120,7 +120,7 @@ export class SendChatappMessageRequestProductAction extends $dara.Model {
|
|
|
120
120
|
sections?: SendChatappMessageRequestProductActionSections[];
|
|
121
121
|
/**
|
|
122
122
|
* @remarks
|
|
123
|
-
* The product catalog ID. You can obtain
|
|
123
|
+
* The product catalog ID. You can obtain it by calling the [ListProductCatalog](https://help.aliyun.com/document_detail/2539783.html) operation.
|
|
124
124
|
*
|
|
125
125
|
* @example
|
|
126
126
|
* skkks99****
|
|
@@ -164,9 +164,9 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
164
164
|
adAccountId?: string;
|
|
165
165
|
/**
|
|
166
166
|
* @remarks
|
|
167
|
-
* The message
|
|
167
|
+
* The message type (for WhatsApp direct send).
|
|
168
168
|
*
|
|
169
|
-
* >Warning: Do not specify this parameter
|
|
169
|
+
* >Warning: Do not specify this parameter if you are not a Meta-invited customer. Otherwise, message sending fails.
|
|
170
170
|
*
|
|
171
171
|
* @example
|
|
172
172
|
* UTILITY
|
|
@@ -184,6 +184,10 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
184
184
|
*
|
|
185
185
|
* - **telegram**
|
|
186
186
|
*
|
|
187
|
+
* - **line**
|
|
188
|
+
*
|
|
189
|
+
* - **telegram**
|
|
190
|
+
*
|
|
187
191
|
* <props="intl">- **viber**
|
|
188
192
|
*
|
|
189
193
|
* This parameter is required.
|
|
@@ -195,38 +199,80 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
195
199
|
/**
|
|
196
200
|
* @remarks
|
|
197
201
|
* The message content.
|
|
202
|
+
* <details>
|
|
203
|
+
* <summary>WhatsApp message notes:</summary>
|
|
204
|
+
*
|
|
205
|
+
* - When **messageType** is **text**, the **text** field is required and the **Caption** field must not be specified.
|
|
206
|
+
* - When **messageType** is **image**, the **Link** field is required.
|
|
207
|
+
* - When **messageType** is **video**, the **Link** field is required.
|
|
208
|
+
* - When **messageType** is **audio**, the **Link** field is required and the **Caption** field is invalid.
|
|
209
|
+
* - When **messageType** is **document**, the **Link** and **FileName** fields are required and the **Caption** field is invalid.
|
|
210
|
+
* - When **messageType** is **interactive**, the **type** and **action** fields are required.
|
|
211
|
+
* - When **messageType** is **contacts**, the **name** field is required.
|
|
212
|
+
* - When **messageType** is **location**, the **longitude** and **latitude** fields are required.
|
|
213
|
+
* - When **messageType** is **sticker**, the **Link** field is required and the **Caption** and **FileName** fields are invalid.
|
|
214
|
+
* - When **messageType** is **reaction**, the **messageId** and **emoji** fields are required.
|
|
215
|
+
* </details>
|
|
216
|
+
*
|
|
217
|
+
* <details>
|
|
218
|
+
* <summary>Messenger message notes:</summary>
|
|
198
219
|
*
|
|
199
|
-
* **
|
|
200
|
-
* -
|
|
201
|
-
*
|
|
202
|
-
* - If **messageType** is **video**, the **Link** field is required.
|
|
203
|
-
* - If **messageType** is **audio**, the **Link** field is required and the **Caption** field is invalid.
|
|
204
|
-
* - If **messageType** is **document**, the **Link** and **FileName** fields are required and the **Caption** field is invalid.
|
|
205
|
-
* - If **messageType** is **interactive**, the **type** and **action** fields are required.
|
|
206
|
-
* - If **messageType** is **contacts**, the **name** field is required.
|
|
207
|
-
* - If **messageType** is **location**, the **longitude** and **latitude** fields are required.
|
|
208
|
-
* - If **messageType** is **sticker**, the **Link** field is required and the **Caption** and **FileName** fields are invalid.
|
|
209
|
-
* - If **messageType** is **reaction**, the **messageId** and **emoji** fields are required.
|
|
220
|
+
* - When **messageType** is **text**, the **text** field is required.
|
|
221
|
+
* - When **messageType** is **image**, **video**, **audio**, or **document**, the **link** field is required.
|
|
222
|
+
* </details>
|
|
210
223
|
*
|
|
224
|
+
* <details>
|
|
225
|
+
* <summary>Instagram message notes:</summary>
|
|
226
|
+
*
|
|
227
|
+
* - When **messageType** is **text**, the **text** field is required.
|
|
228
|
+
* - When **messageType** is **image**, **video**, or **audio**, the **link** field is required.
|
|
229
|
+
* </details>
|
|
230
|
+
*
|
|
231
|
+
* <props="intl">
|
|
232
|
+
*
|
|
233
|
+
* <details>
|
|
234
|
+
* <summary>Viber message notes:</summary>
|
|
235
|
+
*
|
|
236
|
+
* - When **messageType** is **text**, the **text** field is required.
|
|
237
|
+
* - When **messageType** is **image**, the **link** field is required.
|
|
238
|
+
* - When **messageType** is **video**, the **link**, **thumbnail**, **fileSize**, and **duration** fields are required.
|
|
239
|
+
* - When **messageType** is **document**, the **link**, **fileName**, and **fileType** fields are required.
|
|
240
|
+
* - When **messageType** is **text_button**, the **text**, **caption**, and **action** fields are required.
|
|
241
|
+
* - When **messageType** is **text_image_button**, the **text**, **link**, **caption**, and **action** fields are required.
|
|
242
|
+
* - When **messageType** is **text_video**, the **text**, **link**, **thumbnail**, **fileSize**, and **duration** fields are required.
|
|
243
|
+
* - When **messageType** is **text_video_button**, the **text**, **link**, **thumbnail**, **fileSize**, **duration**, and **caption** fields are required, and the **action** field must not be empty.
|
|
244
|
+
* </details>
|
|
211
245
|
*
|
|
212
|
-
* **Messenger message notes:**
|
|
213
|
-
* - If **messageType** is **text**, the **text** field is required.
|
|
214
|
-
* - If **messageType** is **image**, **video**, **audio**, or **document**, the **link** field is required.
|
|
215
246
|
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
* - If **messageType** is **image**, **video**, or **audio**, the **link** field is required.
|
|
247
|
+
* <details>
|
|
248
|
+
* <summary>Telegram message notes:</summary>
|
|
219
249
|
*
|
|
250
|
+
* - When **messageType** is **text**, the **text** field is required.
|
|
251
|
+
* - When **messageType** is **image**, **video**, **audio**, **gif**, or **sticker**, the **link** field is required.
|
|
252
|
+
* - When **messageType** is **location**, the **latitude** and **longitude** fields are required.
|
|
253
|
+
* - When **messageType** is **interactive**, the **type** field is required. You can send various Telegram message types. Example: {"type": "sendPhoto", "sendPhoto": {"photo":"http://img.png","caption":"21"}}. This can be used to send a Photo type message. For more information about message types, see [Telegram message body](https://core.telegram.org/bots/api#sendphoto).
|
|
254
|
+
* </details>
|
|
220
255
|
*
|
|
221
|
-
* <
|
|
222
|
-
* <
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
256
|
+
* <details>
|
|
257
|
+
* <summary>LINE message notes:</summary>
|
|
258
|
+
*
|
|
259
|
+
* - When **messageType** is **text** or **textV2**, the **text** field is required.
|
|
260
|
+
* - When **messageType** is **image** or **video**, the **link** and **previewImageUrl** fields are required.
|
|
261
|
+
* - When **messageType** is **audio**, the **link** and **duration** fields are required.
|
|
262
|
+
* - When **messageType** is **buttons** or **confirm**, the **text** and **actions** fields are required.
|
|
263
|
+
* - When **messageType** is **carousel** or **imageCarousel**, the **columns** field is required.
|
|
264
|
+
* - When **messageType** is **quickReply**, the **text** and **items** fields are required.
|
|
265
|
+
* - When **messageType** is **sticker**, the **packageId** and **stickerId** fields are required.
|
|
266
|
+
* - When **messageType** is **location**, the **title**, **address**, **latitude**, and **longitude** fields are required.
|
|
267
|
+
* - When **messageType** is **coupon**, the **couponId** field is required.
|
|
268
|
+
* - When **messageType** is **imagemap**, the **baseUrl** and **altText** fields are required.
|
|
269
|
+
* - When **messageType** is **flex**, the **contents** and **altText** fields are required.
|
|
270
|
+
* - When **messageType** is **interactive**, you can pass in message formats supported by LINE:
|
|
271
|
+
*
|
|
272
|
+
* - To send a single message, the **type** field is required, and other fields follow the LINE message body format. Example: {"type": "text", "text": "test"}
|
|
273
|
+
* - To send multiple messages (LINE supports up to 5 messages at a time), the **messages** field is required. Example: {"messages": [{"type": "text", "text": "test"}, {"type": "image", "originalContentUrl": "http://img.png", "previewImageUrl": "http://img2.png"}]}
|
|
274
|
+
* - For more information, see [LINE message body](https://developers.line.biz/en/reference/messaging-api/#message-objects).
|
|
275
|
+
* </details>
|
|
230
276
|
*
|
|
231
277
|
* @example
|
|
232
278
|
* {
|
|
@@ -247,7 +293,7 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
247
293
|
contextMessageId?: string;
|
|
248
294
|
/**
|
|
249
295
|
* @remarks
|
|
250
|
-
* The SpaceId of the ISV sub-customer
|
|
296
|
+
* The SpaceId of the ISV sub-customer or the instance ID of a direct customer. You can view it on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) page.
|
|
251
297
|
*
|
|
252
298
|
* @example
|
|
253
299
|
* cams-8c8*********
|
|
@@ -255,7 +301,10 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
255
301
|
custSpaceId?: string;
|
|
256
302
|
/**
|
|
257
303
|
* @remarks
|
|
258
|
-
* The ISV customer WABA ID.
|
|
304
|
+
* The ISV customer WABA ID.
|
|
305
|
+
*
|
|
306
|
+
* > This parameter is deprecated. Use CustSpaceId instead.
|
|
307
|
+
* > - You can view it on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) page.
|
|
259
308
|
*
|
|
260
309
|
* @example
|
|
261
310
|
* cams-8c8*********
|
|
@@ -265,7 +314,7 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
265
314
|
custWabaId?: string;
|
|
266
315
|
/**
|
|
267
316
|
* @remarks
|
|
268
|
-
* The custom fallback content. This parameter is for the China site
|
|
317
|
+
* The custom fallback content. This parameter is for the China International site. China site users can ignore this parameter.
|
|
269
318
|
*
|
|
270
319
|
* @example
|
|
271
320
|
* Fallback SMS
|
|
@@ -273,7 +322,7 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
273
322
|
fallBackContent?: string;
|
|
274
323
|
/**
|
|
275
324
|
* @remarks
|
|
276
|
-
* The fallback trigger time. This parameter is for the
|
|
325
|
+
* The fallback trigger time. This parameter is for the China International site. China site users can ignore this parameter. <props="intl">If the message does not return a delivered receipt within the specified time, fallback is triggered. If this parameter is not specified, fallback is triggered only when the message fails to send or a failure status report is received. Unit: seconds. Minimum value: 60. Maximum value: 43200.
|
|
277
326
|
*
|
|
278
327
|
* @example
|
|
279
328
|
* 120
|
|
@@ -281,7 +330,7 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
281
330
|
fallBackDuration?: number;
|
|
282
331
|
/**
|
|
283
332
|
* @remarks
|
|
284
|
-
* The fallback policy ID. This parameter is for the China site
|
|
333
|
+
* The fallback policy ID. This parameter is for the China International site. China site users can ignore this parameter. <props="intl">You can view the policy ID on the [**Fallback Strategy**](https://chatapp.console.alibabacloud.com/FallbackStrategy) page.
|
|
285
334
|
*
|
|
286
335
|
* @example
|
|
287
336
|
* S0****
|
|
@@ -289,9 +338,9 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
289
338
|
fallBackId?: string;
|
|
290
339
|
/**
|
|
291
340
|
* @remarks
|
|
292
|
-
* The fallback rule. This parameter is for the
|
|
341
|
+
* The fallback rule. This parameter is for the China International site. China site users can ignore this parameter.
|
|
293
342
|
* <props="intl">Valid values:
|
|
294
|
-
* <props="intl">- **undelivered**: fallback is triggered when the message cannot be delivered to the
|
|
343
|
+
* <props="intl">- **undelivered**: fallback is triggered when the message cannot be delivered to the endpoint (template and parameter validation must pass during the sending state; blocked templates or numbers are not validated). This rule is used by default when the parameter value is empty.
|
|
295
344
|
* <props="intl">- **sentFailed**: fallback is also triggered when template or template variable validation fails. Only the channelType, type, messageType, to, and from (existence check) parameters are strictly validated.
|
|
296
345
|
*
|
|
297
346
|
* @example
|
|
@@ -301,16 +350,20 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
301
350
|
/**
|
|
302
351
|
* @remarks
|
|
303
352
|
* The Flow message object.
|
|
353
|
+
*
|
|
354
|
+
* > Valid only for WHATSAPP.
|
|
304
355
|
*/
|
|
305
356
|
flowAction?: SendChatappMessageRequestFlowAction;
|
|
306
357
|
/**
|
|
307
358
|
* @remarks
|
|
308
359
|
* The sender number.
|
|
309
360
|
*
|
|
310
|
-
* -
|
|
311
|
-
* -
|
|
312
|
-
* -
|
|
313
|
-
* <props="intl">-
|
|
361
|
+
* - When ChannelType is **whatsapp**, this is the phone number registered and bindng with WhatsApp. You can view it on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **WABA Management** > **Number Management** page.
|
|
362
|
+
* - When ChannelType is **messenger**, this is the Page ID. You can view it on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Public Page** page.
|
|
363
|
+
* - When ChannelType is **instagram**, this is the Instagram professional account ID (Account ID). You can view it on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Professional Account** page.
|
|
364
|
+
* <props="intl">- When ChannelType is **viber**, this is the Viber Service ID. You can view it on the [**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Service ID Management** page.
|
|
365
|
+
* - When ChannelType is **telegram**, this is the Telegram bot ID. You can view it on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Bot Management** page.
|
|
366
|
+
* - When ChannelType is **line**, this is the LINE Channel ID. You can view it on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **LINE Official Account** page.
|
|
314
367
|
*
|
|
315
368
|
* This parameter is required.
|
|
316
369
|
*
|
|
@@ -320,7 +373,9 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
320
373
|
from?: string;
|
|
321
374
|
/**
|
|
322
375
|
* @remarks
|
|
323
|
-
* The ISV verification code
|
|
376
|
+
* The ISV verification code.
|
|
377
|
+
*
|
|
378
|
+
* > This parameter is deprecated. You can ignore it.
|
|
324
379
|
*
|
|
325
380
|
* @example
|
|
326
381
|
* 123123******
|
|
@@ -330,11 +385,13 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
330
385
|
isvCode?: string;
|
|
331
386
|
/**
|
|
332
387
|
* @remarks
|
|
333
|
-
* The Viber message type. This parameter is for the
|
|
388
|
+
* The Viber message type. This parameter is for the China International site. China site users can ignore this parameter.
|
|
334
389
|
* <props="intl">Valid values:
|
|
335
390
|
* <props="intl">- **pormotion**: marketing or promotional messages.
|
|
336
391
|
* <props="intl">- **transaction**: notification messages.
|
|
337
392
|
*
|
|
393
|
+
* > Valid only for VIBER.
|
|
394
|
+
*
|
|
338
395
|
* @example
|
|
339
396
|
* promotion
|
|
340
397
|
*/
|
|
@@ -386,7 +443,7 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
386
443
|
*
|
|
387
444
|
* - typing_indicator: typing indicator message.
|
|
388
445
|
*
|
|
389
|
-
* - pin: pin or unpin message (
|
|
446
|
+
* - pin: pin or unpin message (group messages only).
|
|
390
447
|
*
|
|
391
448
|
* - carousel: carousel message.
|
|
392
449
|
* </details>
|
|
@@ -457,6 +514,47 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
457
514
|
*
|
|
458
515
|
* - sticker: sticker message.
|
|
459
516
|
*
|
|
517
|
+
* - interactive: custom pass-through Telegram message.
|
|
518
|
+
*
|
|
519
|
+
* </details>
|
|
520
|
+
*
|
|
521
|
+
* <details>
|
|
522
|
+
* <summary>LINE</summary>
|
|
523
|
+
*
|
|
524
|
+
* - text: text message.
|
|
525
|
+
*
|
|
526
|
+
* - image: image message.
|
|
527
|
+
*
|
|
528
|
+
* - video: video message.
|
|
529
|
+
*
|
|
530
|
+
* - audio: audio message.
|
|
531
|
+
*
|
|
532
|
+
* - buttons: button message.
|
|
533
|
+
*
|
|
534
|
+
* - confirm: confirm message.
|
|
535
|
+
*
|
|
536
|
+
* - carousel: carousel message.
|
|
537
|
+
*
|
|
538
|
+
* - imageCarousel: image carousel message.
|
|
539
|
+
*
|
|
540
|
+
* - quickReply: quick reply message.
|
|
541
|
+
*
|
|
542
|
+
* - sticker: sticker message.
|
|
543
|
+
*
|
|
544
|
+
* - location: location message.
|
|
545
|
+
*
|
|
546
|
+
* - textV2: text message (V2).
|
|
547
|
+
*
|
|
548
|
+
* - coupon: coupon message.
|
|
549
|
+
*
|
|
550
|
+
* - imagemap: imagemap message.
|
|
551
|
+
*
|
|
552
|
+
* - flex: flex message.
|
|
553
|
+
*
|
|
554
|
+
* - interactive: custom pass-through LINE message.
|
|
555
|
+
*
|
|
556
|
+
* > [For more information, see the message types supported by LINE](https://developers.line.biz/en/reference/messaging-api/#message-objects)
|
|
557
|
+
*
|
|
460
558
|
* </details>
|
|
461
559
|
*
|
|
462
560
|
* @example
|
|
@@ -468,13 +566,17 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
468
566
|
* @remarks
|
|
469
567
|
* The collection of button trigger messages.
|
|
470
568
|
*
|
|
569
|
+
* > This parameter is valid only for WHATSAPP.
|
|
570
|
+
*
|
|
471
571
|
* @example
|
|
472
572
|
* payloadtext1,payloadtext2,payloadtext3
|
|
473
573
|
*/
|
|
474
574
|
payload?: string[];
|
|
475
575
|
/**
|
|
476
576
|
* @remarks
|
|
477
|
-
* The product information. This parameter
|
|
577
|
+
* The product information. This parameter is valid only for WhatsApp channel types. It refers to the product information you uploaded on Meta.
|
|
578
|
+
*
|
|
579
|
+
* > Valid only for WHATSAPP.
|
|
478
580
|
*/
|
|
479
581
|
productAction?: SendChatappMessageRequestProductAction;
|
|
480
582
|
/**
|
|
@@ -485,6 +587,8 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
485
587
|
*
|
|
486
588
|
* - group: a group.
|
|
487
589
|
*
|
|
590
|
+
* - userId: WhatsApp BSUID. Valid only for WHATSAPP.
|
|
591
|
+
*
|
|
488
592
|
* @example
|
|
489
593
|
* individual
|
|
490
594
|
*/
|
|
@@ -493,7 +597,9 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
493
597
|
resourceOwnerId?: number;
|
|
494
598
|
/**
|
|
495
599
|
* @remarks
|
|
496
|
-
* The tag information. Custom tag information
|
|
600
|
+
* The tag information. Custom tag information when sending Viber messages.
|
|
601
|
+
*
|
|
602
|
+
* > Valid only for VIBER.
|
|
497
603
|
*
|
|
498
604
|
* @example
|
|
499
605
|
* tag
|
|
@@ -532,10 +638,12 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
532
638
|
* @remarks
|
|
533
639
|
* The recipient number.
|
|
534
640
|
*
|
|
535
|
-
* -
|
|
536
|
-
* -
|
|
537
|
-
* -
|
|
538
|
-
* <props="intl">-
|
|
641
|
+
* - When ChannelType is **whatsapp**, this is the phone number or BSUID of the message recipient.
|
|
642
|
+
* - When ChannelType is **messenger**, this is the Page-Scoped User ID generated when the user interacts with the Facebook page.
|
|
643
|
+
* - When ChannelType is **instagram**, this is the Instagram User ID generated when the user interacts with the Instagram business or creator account.
|
|
644
|
+
* <props="intl">- When ChannelType is **viber**, this is the phone number of the message recipient.
|
|
645
|
+
* - When ChannelType is **telegram**, this is the Telegram chatId.
|
|
646
|
+
* - When ChannelType is **line**, this is the LINE User ID.
|
|
539
647
|
*
|
|
540
648
|
* This parameter is required.
|
|
541
649
|
*
|
|
@@ -554,7 +662,9 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
554
662
|
tokenType?: string;
|
|
555
663
|
/**
|
|
556
664
|
* @remarks
|
|
557
|
-
* The custom tracking data passed in for Viber message types. This parameter is for the
|
|
665
|
+
* The custom tracking data passed in for Viber message types. This parameter is for the China International site. China site users can ignore this parameter.
|
|
666
|
+
*
|
|
667
|
+
* > Valid only for VIBER.
|
|
558
668
|
*
|
|
559
669
|
* @example
|
|
560
670
|
* Tracking Data
|
|
@@ -562,7 +672,9 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
562
672
|
trackingData?: string;
|
|
563
673
|
/**
|
|
564
674
|
* @remarks
|
|
565
|
-
* The
|
|
675
|
+
* The Viber message sending timeout period. This parameter is for the China International site. China site users can ignore this parameter. <props="intl">Unit: seconds. Valid values: 30 to 1209600.
|
|
676
|
+
*
|
|
677
|
+
* > Valid only for VIBER.
|
|
566
678
|
*
|
|
567
679
|
* @example
|
|
568
680
|
* 50
|
|
@@ -574,9 +686,9 @@ export class SendChatappMessageRequest extends $dara.Model {
|
|
|
574
686
|
*
|
|
575
687
|
* - template: a message template that has been approved in the console. This type of message can be sent at any time.
|
|
576
688
|
*
|
|
577
|
-
* - message: a message in any format. This type of message can be sent
|
|
689
|
+
* - message: a message in any format. This type of message can only be sent within 24 hours after receiving the last message from the user.
|
|
578
690
|
*
|
|
579
|
-
* >Notice:
|
|
691
|
+
* >Notice: When Type is set to template, you must specify TemplateCode. When Type is set to message, you must specify MessageType.
|
|
580
692
|
*
|
|
581
693
|
* This parameter is required.
|
|
582
694
|
*
|