yach.open.jssdk 4.3.2 → 4.3.3-beta1
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/yach_jssdk_4.3.3-beta1.js +1 -0
- package/es/api/app/custom/talYoungFilesUpload.d.ts +38 -0
- package/es/api/app/custom/talYoungFilesUpload.js +16 -0
- package/es/api/biz/chat/chooseConversationByCorpId.d.ts +36 -0
- package/es/api/biz/chat/chooseConversationByCorpId.js +8 -0
- package/es/api/biz/chat/openSingleChat.d.ts +10 -0
- package/es/api/biz/chat/openSingleChat.js +8 -0
- package/es/api/biz/chat/openSquad.d.ts +8 -0
- package/es/api/biz/chat/openSquad.js +8 -0
- package/es/api/biz/chat/openTeamChat.d.ts +10 -0
- package/es/api/biz/chat/openTeamChat.js +8 -0
- package/es/api/biz/chat/pickConversation.d.ts +19 -0
- package/es/api/biz/chat/pickConversation.js +19 -0
- package/es/api/biz/chat/sendP2PMsg.d.ts +10 -0
- package/es/api/biz/chat/sendP2PMsg.js +8 -0
- package/es/api/biz/contact/complexPicker.d.ts +62 -0
- package/es/api/biz/contact/complexPicker.js +8 -0
- package/es/api/biz/contact/departmentsPicker.d.ts +35 -0
- package/es/api/biz/contact/departmentsPicker.js +8 -0
- package/es/api/biz/group/groupComplexPicker.d.ts +33 -0
- package/es/api/biz/group/groupComplexPicker.js +8 -0
- package/es/api/biz/map/multipointView.d.ts +21 -0
- package/es/api/biz/map/multipointView.js +19 -0
- package/es/api/biz/map/view.d.ts +13 -0
- package/es/api/biz/map/view.js +19 -0
- package/es/api/biz/navigation/close.d.ts +7 -0
- package/es/api/biz/navigation/close.js +9 -0
- package/es/api/biz/navigation/goBack.d.ts +7 -0
- package/es/api/biz/navigation/goBack.js +19 -0
- package/es/api/biz/navigation/quit.d.ts +8 -0
- package/es/api/biz/navigation/quit.js +15 -0
- package/es/api/biz/navigation/replace.d.ts +8 -0
- package/es/api/biz/navigation/replace.js +8 -0
- package/es/api/biz/navigation/setIcon.d.ts +12 -0
- package/es/api/biz/navigation/setIcon.js +27 -0
- package/es/api/biz/navigation/setLeft.d.ts +9 -0
- package/es/api/biz/navigation/setLeft.js +31 -0
- package/es/api/biz/navigation/setMenu.d.ts +20 -0
- package/es/api/biz/navigation/setMenu.js +25 -0
- package/es/api/biz/navigation/setPanGestureEnable.d.ts +9 -0
- package/es/api/biz/navigation/setPanGestureEnable.js +26 -0
- package/es/api/biz/navigation/setRight.d.ts +13 -0
- package/es/api/biz/navigation/setRight.js +31 -0
- package/es/api/biz/navigation/setTitle.d.ts +11 -0
- package/es/api/biz/navigation/setTitle.js +8 -0
- package/es/api/biz/navigation/setTitleExpandIcon.d.ts +9 -0
- package/es/api/biz/navigation/setTitleExpandIcon.js +25 -0
- package/es/api/biz/navigation/setWindowBig.d.ts +9 -0
- package/es/api/biz/navigation/setWindowBig.js +16 -0
- package/es/api/biz/navigation/tencentMeeting.d.ts +22 -0
- package/es/api/biz/navigation/tencentMeeting.js +8 -0
- package/es/api/biz/navigation/tencentMeetingBegin.d.ts +7 -0
- package/es/api/biz/navigation/tencentMeetingBegin.js +8 -0
- package/es/api/biz/navigation/updateExpandTitle.d.ts +8 -0
- package/es/api/biz/navigation/updateExpandTitle.js +8 -0
- package/es/api/biz/telephone/call.d.ts +9 -0
- package/es/api/biz/telephone/call.js +19 -0
- package/es/api/biz/telephone/showCallMenu.d.ts +12 -0
- package/es/api/biz/telephone/showCallMenu.js +19 -0
- package/es/api/biz/util/assistantCreate.d.ts +11 -0
- package/es/api/biz/util/assistantCreate.js +23 -0
- package/es/api/biz/util/authFinish.d.ts +11 -0
- package/es/api/biz/util/authFinish.js +19 -0
- package/es/api/biz/util/authStart.d.ts +9 -0
- package/es/api/biz/util/authStart.js +19 -0
- package/es/api/biz/util/chosen.d.ts +15 -0
- package/es/api/biz/util/chosen.js +19 -0
- package/es/api/biz/util/clipboardFileUpload.d.ts +7 -0
- package/es/api/biz/util/clipboardFileUpload.js +8 -0
- package/es/api/biz/util/closeWindow.d.ts +8 -0
- package/es/api/biz/util/closeWindow.js +15 -0
- package/es/api/biz/util/complain.d.ts +12 -0
- package/es/api/biz/util/complain.js +8 -0
- package/es/api/biz/util/createModifySchedule.d.ts +26 -0
- package/es/api/biz/util/createModifySchedule.js +15 -0
- package/es/api/biz/util/datepicker.d.ts +14 -0
- package/es/api/biz/util/datepicker.js +19 -0
- package/es/api/biz/util/datetimepicker.d.ts +14 -0
- package/es/api/biz/util/datetimepicker.js +19 -0
- package/es/api/biz/util/disableScreenCapture.d.ts +8 -0
- package/es/api/biz/util/disableScreenCapture.js +19 -0
- package/es/api/biz/util/downloadFile.d.ts +9 -0
- package/es/api/biz/util/downloadFile.js +8 -0
- package/es/api/biz/util/entergroupCheck.d.ts +10 -0
- package/es/api/biz/util/entergroupCheck.js +23 -0
- package/es/api/biz/util/externalLinkPreviewFile.d.ts +11 -0
- package/es/api/biz/util/externalLinkPreviewFile.js +8 -0
- package/es/api/biz/util/feedback.d.ts +11 -0
- package/es/api/biz/util/feedback.js +8 -0
- package/es/api/biz/util/getSingleWebviewData.d.ts +8 -0
- package/es/api/biz/util/getSingleWebviewData.js +8 -0
- package/es/api/biz/util/getTogetherConfig.d.ts +11 -0
- package/es/api/biz/util/getTogetherConfig.js +23 -0
- package/es/api/biz/util/getToken.d.ts +11 -0
- package/es/api/biz/util/getToken.js +19 -0
- package/es/api/biz/util/injectScript.d.ts +9 -0
- package/es/api/biz/util/injectScript.js +8 -0
- package/es/api/biz/util/invoice.d.ts +12 -0
- package/es/api/biz/util/invoice.js +15 -0
- package/es/api/biz/util/mediaFileUpload.d.ts +26 -0
- package/es/api/biz/util/mediaFileUpload.js +15 -0
- package/es/api/biz/util/onlineDocmentOpenTeamChat.d.ts +10 -0
- package/es/api/biz/util/onlineDocmentOpenTeamChat.js +23 -0
- package/es/api/biz/util/open.d.ts +9 -0
- package/es/api/biz/util/open.js +8 -0
- package/es/api/biz/util/openLink.d.ts +8 -0
- package/es/api/biz/util/openLink.js +8 -0
- package/es/api/biz/util/openMediaFileDialog.d.ts +23 -0
- package/es/api/biz/util/openMediaFileDialog.js +15 -0
- package/es/api/biz/util/openSingleWebview.d.ts +23 -0
- package/es/api/biz/util/openSingleWebview.js +15 -0
- package/es/api/biz/util/openSlidePanel.d.ts +11 -0
- package/es/api/biz/util/openSlidePanel.js +15 -0
- package/es/api/biz/util/openTalYoungToTopic.d.ts +6 -0
- package/es/api/biz/util/openTalYoungToTopic.js +15 -0
- package/es/api/biz/util/openTogetherEyeWebview.d.ts +11 -0
- package/es/api/biz/util/openTogetherEyeWebview.js +23 -0
- package/es/api/biz/util/openUserSchedule.d.ts +11 -0
- package/es/api/biz/util/openUserSchedule.js +23 -0
- package/es/api/biz/util/openVideoPlayer.d.ts +27 -0
- package/es/api/biz/util/openVideoPlayer.js +23 -0
- package/es/api/biz/util/previewFile.d.ts +11 -0
- package/es/api/biz/util/previewFile.js +8 -0
- package/es/api/biz/util/previewImage.d.ts +9 -0
- package/es/api/biz/util/previewImage.js +8 -0
- package/es/api/biz/util/proxy.d.ts +13 -0
- package/es/api/biz/util/proxy.js +8 -0
- package/es/api/biz/util/pushWorkMsg.d.ts +10 -0
- package/es/api/biz/util/pushWorkMsg.js +15 -0
- package/es/api/biz/util/remind.d.ts +15 -0
- package/es/api/biz/util/remind.js +23 -0
- package/es/api/biz/util/rouseApp.d.ts +12 -0
- package/es/api/biz/util/rouseApp.js +15 -0
- package/es/api/biz/util/savePic.d.ts +8 -0
- package/es/api/biz/util/savePic.js +19 -0
- package/es/api/biz/util/scan.d.ts +11 -0
- package/es/api/biz/util/scan.js +19 -0
- package/es/api/biz/util/selectDepartment.d.ts +9 -0
- package/es/api/biz/util/selectDepartment.js +8 -0
- package/es/api/biz/util/share.d.ts +12 -0
- package/es/api/biz/util/share.js +19 -0
- package/es/api/biz/util/takePicture.d.ts +13 -0
- package/es/api/biz/util/takePicture.js +8 -0
- package/es/api/biz/util/uploadAttachment.d.ts +55 -0
- package/es/api/biz/util/uploadAttachment.js +8 -0
- package/es/api/biz/util/yachEvent.d.ts +12 -0
- package/es/api/biz/util/yachEvent.js +27 -0
- package/es/api/biz/util/zfbAuth.d.ts +10 -0
- package/es/api/biz/util/zfbAuth.js +19 -0
- package/es/api/biz/webViewMessage/send.d.ts +7 -0
- package/es/api/biz/webViewMessage/send.js +15 -0
- package/es/api/common.typings.d.ts +9 -0
- package/es/api/common.typings.js +0 -0
- package/es/api/device/audio/download.d.ts +8 -0
- package/es/api/device/audio/download.js +19 -0
- package/es/api/device/audio/onPlayEnd.d.ts +7 -0
- package/es/api/device/audio/onPlayEnd.js +19 -0
- package/es/api/device/audio/onRecordEnd.d.ts +7 -0
- package/es/api/device/audio/onRecordEnd.js +19 -0
- package/es/api/device/audio/onRecordEnd_v2.d.ts +7 -0
- package/es/api/device/audio/onRecordEnd_v2.js +19 -0
- package/es/api/device/audio/pause.d.ts +8 -0
- package/es/api/device/audio/pause.js +19 -0
- package/es/api/device/audio/play.d.ts +8 -0
- package/es/api/device/audio/play.js +19 -0
- package/es/api/device/audio/resume.d.ts +8 -0
- package/es/api/device/audio/resume.js +19 -0
- package/es/api/device/audio/startRecord.d.ts +8 -0
- package/es/api/device/audio/startRecord.js +19 -0
- package/es/api/device/audio/startRecord_v2.d.ts +8 -0
- package/es/api/device/audio/startRecord_v2.js +19 -0
- package/es/api/device/audio/stop.d.ts +8 -0
- package/es/api/device/audio/stop.js +19 -0
- package/es/api/device/audio/stopRecord.d.ts +7 -0
- package/es/api/device/audio/stopRecord.js +19 -0
- package/es/api/device/audio/stopRecord_v2.d.ts +7 -0
- package/es/api/device/audio/stopRecord_v2.js +19 -0
- package/es/api/device/base/checkStepPermission.d.ts +8 -0
- package/es/api/device/base/checkStepPermission.js +19 -0
- package/es/api/device/base/getPhoneInfo.d.ts +16 -0
- package/es/api/device/base/getPhoneInfo.js +19 -0
- package/es/api/device/base/getUUID.d.ts +10 -0
- package/es/api/device/base/getUUID.js +23 -0
- package/es/api/device/connection/getNetworkType.d.ts +10 -0
- package/es/api/device/connection/getNetworkType.js +19 -0
- package/es/api/device/connection/isAtTal.d.ts +10 -0
- package/es/api/device/connection/isAtTal.js +21 -0
- package/es/api/device/geolocation/get.d.ts +42 -0
- package/es/api/device/geolocation/get.js +19 -0
- package/es/api/device/geolocation/getSwitch.d.ts +10 -0
- package/es/api/device/geolocation/getSwitch.js +15 -0
- package/es/api/device/notification/actionSheet.d.ts +15 -0
- package/es/api/device/notification/actionSheet.js +19 -0
- package/es/api/device/notification/alert.d.ts +13 -0
- package/es/api/device/notification/alert.js +23 -0
- package/es/api/device/notification/confirm.d.ts +16 -0
- package/es/api/device/notification/confirm.js +23 -0
- package/es/api/device/notification/hidePreloader.d.ts +7 -0
- package/es/api/device/notification/hidePreloader.js +19 -0
- package/es/api/device/notification/showPreloader.d.ts +9 -0
- package/es/api/device/notification/showPreloader.js +19 -0
- package/es/api/device/notification/toast.d.ts +15 -0
- package/es/api/device/notification/toast.js +8 -0
- package/es/api/device/notification/vibrate.d.ts +8 -0
- package/es/api/device/notification/vibrate.js +19 -0
- package/es/api/device/system/getLang.d.ts +10 -0
- package/es/api/device/system/getLang.js +8 -0
- package/es/api/device/system/setLight.d.ts +8 -0
- package/es/api/device/system/setLight.js +19 -0
- package/es/api/initAPI.d.ts +6 -0
- package/es/api/initAPI.js +22 -0
- package/es/api/primary/createTab.d.ts +13 -0
- package/es/api/primary/createTab.js +15 -0
- package/es/api/primary/exitFullScreen.d.ts +7 -0
- package/es/api/primary/exitFullScreen.js +15 -0
- package/es/api/primary/fullScreen.d.ts +7 -0
- package/es/api/primary/fullScreen.js +15 -0
- package/es/api/primary/weeklyShare.d.ts +13 -0
- package/es/api/primary/weeklyShare.js +15 -0
- package/es/api/runtime/permission/requestAuthCode.d.ts +12 -0
- package/es/api/runtime/permission/requestAuthCode.js +8 -0
- package/es/api/ui/pullToRefresh/disable.d.ts +7 -0
- package/es/api/ui/pullToRefresh/disable.js +19 -0
- package/es/api/ui/pullToRefresh/enable.d.ts +7 -0
- package/es/api/ui/pullToRefresh/enable.js +19 -0
- package/es/api/ui/pullToRefresh/stop.d.ts +7 -0
- package/es/api/ui/pullToRefresh/stop.js +19 -0
- package/es/api/ui/webViewBounce/disable.d.ts +7 -0
- package/es/api/ui/webViewBounce/disable.js +15 -0
- package/es/api/util/domainStorage/getItem.d.ts +12 -0
- package/es/api/util/domainStorage/getItem.js +19 -0
- package/es/api/util/domainStorage/removeItem.d.ts +9 -0
- package/es/api/util/domainStorage/removeItem.js +19 -0
- package/es/api/util/domainStorage/setItem.d.ts +11 -0
- package/es/api/util/domainStorage/setItem.js +19 -0
- package/es/api/util/tool/flushLog.d.ts +7 -0
- package/es/api/util/tool/flushLog.js +15 -0
- package/es/api/util/tool/log.d.ts +9 -0
- package/es/api/util/tool/log.js +15 -0
- package/es/index.d.ts +311 -0
- package/es/index.js +327 -0
- package/es/lib/bridge/index.d.ts +2 -0
- package/es/lib/bridge/index.js +2 -0
- package/es/lib/bridge/mobile.d.ts +13 -0
- package/es/lib/bridge/mobile.js +169 -0
- package/es/lib/bridge/pc.d.ts +4 -0
- package/es/lib/bridge/pc.js +81 -0
- package/es/lib/helper/apiHelper.d.ts +2 -0
- package/es/lib/helper/apiHelper.js +8 -0
- package/es/lib/helper/codeMap.d.ts +2 -0
- package/es/lib/helper/codeMap.js +6 -0
- package/es/lib/helper/event.d.ts +9 -0
- package/es/lib/helper/event.js +40 -0
- package/es/lib/helper/pcIframe.d.ts +44 -0
- package/es/lib/helper/pcIframe.js +148 -0
- package/es/lib/index.d.ts +4 -0
- package/es/lib/index.js +78 -0
- package/es/lib/sdk/index.d.ts +19 -0
- package/es/lib/sdk/index.js +170 -0
- package/es/lib/sdk/sdk.typings.d.ts +85 -0
- package/es/lib/sdk/sdk.typings.js +7 -0
- package/es/utils/bpitLog.d.ts +16 -0
- package/es/utils/bpitLog.js +62 -0
- package/es/utils/compareVersions.d.ts +58 -0
- package/es/utils/compareVersions.js +165 -0
- package/es/utils/console.d.ts +4 -0
- package/es/utils/console.js +44 -0
- package/es/utils/env.d.ts +3 -0
- package/es/utils/env.js +45 -0
- package/es/utils/index.d.ts +4 -0
- package/es/utils/index.js +20 -0
- package/libs/api/app/custom/talYoungFilesUpload.d.ts +38 -0
- package/libs/api/app/custom/talYoungFilesUpload.js +24 -0
- package/libs/api/biz/chat/chooseConversationByCorpId.d.ts +36 -0
- package/libs/api/biz/chat/chooseConversationByCorpId.js +15 -0
- package/libs/api/biz/chat/openSingleChat.d.ts +10 -0
- package/libs/api/biz/chat/openSingleChat.js +15 -0
- package/libs/api/biz/chat/openSquad.d.ts +8 -0
- package/libs/api/biz/chat/openSquad.js +15 -0
- package/libs/api/biz/chat/openTeamChat.d.ts +10 -0
- package/libs/api/biz/chat/openTeamChat.js +15 -0
- package/libs/api/biz/chat/pickConversation.d.ts +19 -0
- package/libs/api/biz/chat/pickConversation.js +26 -0
- package/libs/api/biz/chat/sendP2PMsg.d.ts +10 -0
- package/libs/api/biz/chat/sendP2PMsg.js +15 -0
- package/libs/api/biz/contact/complexPicker.d.ts +62 -0
- package/libs/api/biz/contact/complexPicker.js +15 -0
- package/libs/api/biz/contact/departmentsPicker.d.ts +35 -0
- package/libs/api/biz/contact/departmentsPicker.js +15 -0
- package/libs/api/biz/group/groupComplexPicker.d.ts +33 -0
- package/libs/api/biz/group/groupComplexPicker.js +15 -0
- package/libs/api/biz/map/multipointView.d.ts +21 -0
- package/libs/api/biz/map/multipointView.js +26 -0
- package/libs/api/biz/map/view.d.ts +13 -0
- package/libs/api/biz/map/view.js +26 -0
- package/libs/api/biz/navigation/close.d.ts +7 -0
- package/libs/api/biz/navigation/close.js +16 -0
- package/libs/api/biz/navigation/goBack.d.ts +7 -0
- package/libs/api/biz/navigation/goBack.js +26 -0
- package/libs/api/biz/navigation/quit.d.ts +8 -0
- package/libs/api/biz/navigation/quit.js +22 -0
- package/libs/api/biz/navigation/replace.d.ts +8 -0
- package/libs/api/biz/navigation/replace.js +15 -0
- package/libs/api/biz/navigation/setIcon.d.ts +12 -0
- package/libs/api/biz/navigation/setIcon.js +34 -0
- package/libs/api/biz/navigation/setLeft.d.ts +9 -0
- package/libs/api/biz/navigation/setLeft.js +38 -0
- package/libs/api/biz/navigation/setMenu.d.ts +20 -0
- package/libs/api/biz/navigation/setMenu.js +32 -0
- package/libs/api/biz/navigation/setPanGestureEnable.d.ts +9 -0
- package/libs/api/biz/navigation/setPanGestureEnable.js +33 -0
- package/libs/api/biz/navigation/setRight.d.ts +13 -0
- package/libs/api/biz/navigation/setRight.js +38 -0
- package/libs/api/biz/navigation/setTitle.d.ts +11 -0
- package/libs/api/biz/navigation/setTitle.js +15 -0
- package/libs/api/biz/navigation/setTitleExpandIcon.d.ts +9 -0
- package/libs/api/biz/navigation/setTitleExpandIcon.js +32 -0
- package/libs/api/biz/navigation/setWindowBig.d.ts +9 -0
- package/libs/api/biz/navigation/setWindowBig.js +24 -0
- package/libs/api/biz/navigation/tencentMeeting.d.ts +22 -0
- package/libs/api/biz/navigation/tencentMeeting.js +15 -0
- package/libs/api/biz/navigation/tencentMeetingBegin.d.ts +7 -0
- package/libs/api/biz/navigation/tencentMeetingBegin.js +15 -0
- package/libs/api/biz/navigation/updateExpandTitle.d.ts +8 -0
- package/libs/api/biz/navigation/updateExpandTitle.js +15 -0
- package/libs/api/biz/telephone/call.d.ts +9 -0
- package/libs/api/biz/telephone/call.js +26 -0
- package/libs/api/biz/telephone/showCallMenu.d.ts +12 -0
- package/libs/api/biz/telephone/showCallMenu.js +26 -0
- package/libs/api/biz/util/assistantCreate.d.ts +11 -0
- package/libs/api/biz/util/assistantCreate.js +30 -0
- package/libs/api/biz/util/authFinish.d.ts +11 -0
- package/libs/api/biz/util/authFinish.js +26 -0
- package/libs/api/biz/util/authStart.d.ts +9 -0
- package/libs/api/biz/util/authStart.js +26 -0
- package/libs/api/biz/util/chosen.d.ts +15 -0
- package/libs/api/biz/util/chosen.js +26 -0
- package/libs/api/biz/util/clipboardFileUpload.d.ts +7 -0
- package/libs/api/biz/util/clipboardFileUpload.js +15 -0
- package/libs/api/biz/util/closeWindow.d.ts +8 -0
- package/libs/api/biz/util/closeWindow.js +22 -0
- package/libs/api/biz/util/complain.d.ts +12 -0
- package/libs/api/biz/util/complain.js +15 -0
- package/libs/api/biz/util/createModifySchedule.d.ts +26 -0
- package/libs/api/biz/util/createModifySchedule.js +22 -0
- package/libs/api/biz/util/datepicker.d.ts +14 -0
- package/libs/api/biz/util/datepicker.js +26 -0
- package/libs/api/biz/util/datetimepicker.d.ts +14 -0
- package/libs/api/biz/util/datetimepicker.js +26 -0
- package/libs/api/biz/util/disableScreenCapture.d.ts +8 -0
- package/libs/api/biz/util/disableScreenCapture.js +26 -0
- package/libs/api/biz/util/downloadFile.d.ts +9 -0
- package/libs/api/biz/util/downloadFile.js +15 -0
- package/libs/api/biz/util/entergroupCheck.d.ts +10 -0
- package/libs/api/biz/util/entergroupCheck.js +30 -0
- package/libs/api/biz/util/externalLinkPreviewFile.d.ts +11 -0
- package/libs/api/biz/util/externalLinkPreviewFile.js +15 -0
- package/libs/api/biz/util/feedback.d.ts +11 -0
- package/libs/api/biz/util/feedback.js +15 -0
- package/libs/api/biz/util/getSingleWebviewData.d.ts +8 -0
- package/libs/api/biz/util/getSingleWebviewData.js +15 -0
- package/libs/api/biz/util/getTogetherConfig.d.ts +11 -0
- package/libs/api/biz/util/getTogetherConfig.js +30 -0
- package/libs/api/biz/util/getToken.d.ts +11 -0
- package/libs/api/biz/util/getToken.js +26 -0
- package/libs/api/biz/util/injectScript.d.ts +9 -0
- package/libs/api/biz/util/injectScript.js +15 -0
- package/libs/api/biz/util/invoice.d.ts +12 -0
- package/libs/api/biz/util/invoice.js +23 -0
- package/libs/api/biz/util/mediaFileUpload.d.ts +26 -0
- package/libs/api/biz/util/mediaFileUpload.js +23 -0
- package/libs/api/biz/util/onlineDocmentOpenTeamChat.d.ts +10 -0
- package/libs/api/biz/util/onlineDocmentOpenTeamChat.js +30 -0
- package/libs/api/biz/util/open.d.ts +9 -0
- package/libs/api/biz/util/open.js +15 -0
- package/libs/api/biz/util/openLink.d.ts +8 -0
- package/libs/api/biz/util/openLink.js +15 -0
- package/libs/api/biz/util/openMediaFileDialog.d.ts +23 -0
- package/libs/api/biz/util/openMediaFileDialog.js +23 -0
- package/libs/api/biz/util/openSingleWebview.d.ts +23 -0
- package/libs/api/biz/util/openSingleWebview.js +22 -0
- package/libs/api/biz/util/openSlidePanel.d.ts +11 -0
- package/libs/api/biz/util/openSlidePanel.js +22 -0
- package/libs/api/biz/util/openTalYoungToTopic.d.ts +6 -0
- package/libs/api/biz/util/openTalYoungToTopic.js +23 -0
- package/libs/api/biz/util/openTogetherEyeWebview.d.ts +11 -0
- package/libs/api/biz/util/openTogetherEyeWebview.js +30 -0
- package/libs/api/biz/util/openUserSchedule.d.ts +11 -0
- package/libs/api/biz/util/openUserSchedule.js +30 -0
- package/libs/api/biz/util/openVideoPlayer.d.ts +27 -0
- package/libs/api/biz/util/openVideoPlayer.js +30 -0
- package/libs/api/biz/util/previewFile.d.ts +11 -0
- package/libs/api/biz/util/previewFile.js +15 -0
- package/libs/api/biz/util/previewImage.d.ts +9 -0
- package/libs/api/biz/util/previewImage.js +15 -0
- package/libs/api/biz/util/proxy.d.ts +13 -0
- package/libs/api/biz/util/proxy.js +15 -0
- package/libs/api/biz/util/pushWorkMsg.d.ts +10 -0
- package/libs/api/biz/util/pushWorkMsg.js +23 -0
- package/libs/api/biz/util/remind.d.ts +15 -0
- package/libs/api/biz/util/remind.js +30 -0
- package/libs/api/biz/util/rouseApp.d.ts +12 -0
- package/libs/api/biz/util/rouseApp.js +23 -0
- package/libs/api/biz/util/savePic.d.ts +8 -0
- package/libs/api/biz/util/savePic.js +26 -0
- package/libs/api/biz/util/scan.d.ts +11 -0
- package/libs/api/biz/util/scan.js +26 -0
- package/libs/api/biz/util/selectDepartment.d.ts +9 -0
- package/libs/api/biz/util/selectDepartment.js +15 -0
- package/libs/api/biz/util/share.d.ts +12 -0
- package/libs/api/biz/util/share.js +26 -0
- package/libs/api/biz/util/takePicture.d.ts +13 -0
- package/libs/api/biz/util/takePicture.js +15 -0
- package/libs/api/biz/util/uploadAttachment.d.ts +55 -0
- package/libs/api/biz/util/uploadAttachment.js +15 -0
- package/libs/api/biz/util/yachEvent.d.ts +12 -0
- package/libs/api/biz/util/yachEvent.js +34 -0
- package/libs/api/biz/util/zfbAuth.d.ts +10 -0
- package/libs/api/biz/util/zfbAuth.js +26 -0
- package/libs/api/biz/webViewMessage/send.d.ts +7 -0
- package/libs/api/biz/webViewMessage/send.js +22 -0
- package/libs/api/common.typings.d.ts +9 -0
- package/libs/api/common.typings.js +1 -0
- package/libs/api/device/audio/download.d.ts +8 -0
- package/libs/api/device/audio/download.js +26 -0
- package/libs/api/device/audio/onPlayEnd.d.ts +7 -0
- package/libs/api/device/audio/onPlayEnd.js +26 -0
- package/libs/api/device/audio/onRecordEnd.d.ts +7 -0
- package/libs/api/device/audio/onRecordEnd.js +26 -0
- package/libs/api/device/audio/onRecordEnd_v2.d.ts +7 -0
- package/libs/api/device/audio/onRecordEnd_v2.js +26 -0
- package/libs/api/device/audio/pause.d.ts +8 -0
- package/libs/api/device/audio/pause.js +26 -0
- package/libs/api/device/audio/play.d.ts +8 -0
- package/libs/api/device/audio/play.js +26 -0
- package/libs/api/device/audio/resume.d.ts +8 -0
- package/libs/api/device/audio/resume.js +26 -0
- package/libs/api/device/audio/startRecord.d.ts +8 -0
- package/libs/api/device/audio/startRecord.js +26 -0
- package/libs/api/device/audio/startRecord_v2.d.ts +8 -0
- package/libs/api/device/audio/startRecord_v2.js +26 -0
- package/libs/api/device/audio/stop.d.ts +8 -0
- package/libs/api/device/audio/stop.js +26 -0
- package/libs/api/device/audio/stopRecord.d.ts +7 -0
- package/libs/api/device/audio/stopRecord.js +26 -0
- package/libs/api/device/audio/stopRecord_v2.d.ts +7 -0
- package/libs/api/device/audio/stopRecord_v2.js +26 -0
- package/libs/api/device/base/checkStepPermission.d.ts +8 -0
- package/libs/api/device/base/checkStepPermission.js +26 -0
- package/libs/api/device/base/getPhoneInfo.d.ts +16 -0
- package/libs/api/device/base/getPhoneInfo.js +26 -0
- package/libs/api/device/base/getUUID.d.ts +10 -0
- package/libs/api/device/base/getUUID.js +30 -0
- package/libs/api/device/connection/getNetworkType.d.ts +10 -0
- package/libs/api/device/connection/getNetworkType.js +26 -0
- package/libs/api/device/connection/isAtTal.d.ts +10 -0
- package/libs/api/device/connection/isAtTal.js +28 -0
- package/libs/api/device/geolocation/get.d.ts +42 -0
- package/libs/api/device/geolocation/get.js +26 -0
- package/libs/api/device/geolocation/getSwitch.d.ts +10 -0
- package/libs/api/device/geolocation/getSwitch.js +22 -0
- package/libs/api/device/notification/actionSheet.d.ts +15 -0
- package/libs/api/device/notification/actionSheet.js +26 -0
- package/libs/api/device/notification/alert.d.ts +13 -0
- package/libs/api/device/notification/alert.js +30 -0
- package/libs/api/device/notification/confirm.d.ts +16 -0
- package/libs/api/device/notification/confirm.js +30 -0
- package/libs/api/device/notification/hidePreloader.d.ts +7 -0
- package/libs/api/device/notification/hidePreloader.js +26 -0
- package/libs/api/device/notification/showPreloader.d.ts +9 -0
- package/libs/api/device/notification/showPreloader.js +26 -0
- package/libs/api/device/notification/toast.d.ts +15 -0
- package/libs/api/device/notification/toast.js +15 -0
- package/libs/api/device/notification/vibrate.d.ts +8 -0
- package/libs/api/device/notification/vibrate.js +26 -0
- package/libs/api/device/system/getLang.d.ts +10 -0
- package/libs/api/device/system/getLang.js +15 -0
- package/libs/api/device/system/setLight.d.ts +8 -0
- package/libs/api/device/system/setLight.js +26 -0
- package/libs/api/initAPI.d.ts +6 -0
- package/libs/api/initAPI.js +29 -0
- package/libs/api/primary/createTab.d.ts +13 -0
- package/libs/api/primary/createTab.js +22 -0
- package/libs/api/primary/exitFullScreen.d.ts +7 -0
- package/libs/api/primary/exitFullScreen.js +22 -0
- package/libs/api/primary/fullScreen.d.ts +7 -0
- package/libs/api/primary/fullScreen.js +22 -0
- package/libs/api/primary/weeklyShare.d.ts +13 -0
- package/libs/api/primary/weeklyShare.js +22 -0
- package/libs/api/runtime/permission/requestAuthCode.d.ts +12 -0
- package/libs/api/runtime/permission/requestAuthCode.js +15 -0
- package/libs/api/ui/pullToRefresh/disable.d.ts +7 -0
- package/libs/api/ui/pullToRefresh/disable.js +26 -0
- package/libs/api/ui/pullToRefresh/enable.d.ts +7 -0
- package/libs/api/ui/pullToRefresh/enable.js +26 -0
- package/libs/api/ui/pullToRefresh/stop.d.ts +7 -0
- package/libs/api/ui/pullToRefresh/stop.js +26 -0
- package/libs/api/ui/webViewBounce/disable.d.ts +7 -0
- package/libs/api/ui/webViewBounce/disable.js +22 -0
- package/libs/api/util/domainStorage/getItem.d.ts +12 -0
- package/libs/api/util/domainStorage/getItem.js +26 -0
- package/libs/api/util/domainStorage/removeItem.d.ts +9 -0
- package/libs/api/util/domainStorage/removeItem.js +26 -0
- package/libs/api/util/domainStorage/setItem.d.ts +11 -0
- package/libs/api/util/domainStorage/setItem.js +26 -0
- package/libs/api/util/tool/flushLog.d.ts +7 -0
- package/libs/api/util/tool/flushLog.js +22 -0
- package/libs/api/util/tool/log.d.ts +9 -0
- package/libs/api/util/tool/log.js +22 -0
- package/libs/index.d.ts +311 -0
- package/libs/index.js +1042 -0
- package/libs/lib/bridge/index.d.ts +2 -0
- package/libs/lib/bridge/index.js +32 -0
- package/libs/lib/bridge/mobile.d.ts +13 -0
- package/libs/lib/bridge/mobile.js +175 -0
- package/libs/lib/bridge/pc.d.ts +4 -0
- package/libs/lib/bridge/pc.js +87 -0
- package/libs/lib/helper/apiHelper.d.ts +2 -0
- package/libs/lib/helper/apiHelper.js +15 -0
- package/libs/lib/helper/codeMap.d.ts +2 -0
- package/libs/lib/helper/codeMap.js +13 -0
- package/libs/lib/helper/event.d.ts +9 -0
- package/libs/lib/helper/event.js +48 -0
- package/libs/lib/helper/pcIframe.d.ts +44 -0
- package/libs/lib/helper/pcIframe.js +156 -0
- package/libs/lib/index.d.ts +4 -0
- package/libs/lib/index.js +86 -0
- package/libs/lib/sdk/index.d.ts +19 -0
- package/libs/lib/sdk/index.js +178 -0
- package/libs/lib/sdk/sdk.typings.d.ts +85 -0
- package/libs/lib/sdk/sdk.typings.js +14 -0
- package/libs/utils/bpitLog.d.ts +16 -0
- package/libs/utils/bpitLog.js +69 -0
- package/libs/utils/compareVersions.d.ts +58 -0
- package/libs/utils/compareVersions.js +173 -0
- package/libs/utils/console.d.ts +4 -0
- package/libs/utils/console.js +53 -0
- package/libs/utils/env.d.ts +3 -0
- package/libs/utils/env.js +51 -0
- package/libs/utils/index.d.ts +4 -0
- package/libs/utils/index.js +51 -0
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import _Date$now from "@babel/runtime-corejs3/core-js/date/now";
|
|
2
|
+
import _Object$assign from "@babel/runtime-corejs3/core-js/object/assign";
|
|
3
|
+
import { getENV } from './env';
|
|
4
|
+
import bpitLog from './bpitLog';
|
|
5
|
+
import { log, error, warn } from './console';
|
|
6
|
+
function staticsLog(config) {
|
|
7
|
+
var env = getENV().env;
|
|
8
|
+
var version = getENV().version;
|
|
9
|
+
var timestamp = _Date$now();
|
|
10
|
+
var params = _Object$assign({
|
|
11
|
+
group: 'yach',
|
|
12
|
+
project: 'yach_31_jssdk',
|
|
13
|
+
env: env,
|
|
14
|
+
version: version,
|
|
15
|
+
timestamp: timestamp
|
|
16
|
+
}, config);
|
|
17
|
+
console.log('jssdk 项目 bpit 上报数据:', params);
|
|
18
|
+
bpitLog(params);
|
|
19
|
+
}
|
|
20
|
+
export { log, error, warn, staticsLog as bpitLog, getENV };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
export interface IBizUtiltalYoungFilesUploadResult {
|
|
3
|
+
count?: number;
|
|
4
|
+
data?: {
|
|
5
|
+
imageId?: string;
|
|
6
|
+
filePath?: string;
|
|
7
|
+
fileName?: string;
|
|
8
|
+
source?: string;
|
|
9
|
+
base64?: string;
|
|
10
|
+
width?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
processdata?: object;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
interface IBizUtiltalYoungFilesUploadProgress {
|
|
16
|
+
loaded: number;
|
|
17
|
+
total: number;
|
|
18
|
+
speed: number;
|
|
19
|
+
percent: number;
|
|
20
|
+
}
|
|
21
|
+
export interface IBizUtiltalYoungFilesUploadParams {
|
|
22
|
+
/** types这个数组里有photo、camera参数需要构建这个数据 */
|
|
23
|
+
image?: {
|
|
24
|
+
/** 是否多选,默认为false */
|
|
25
|
+
multiple?: boolean;
|
|
26
|
+
/** 是否压缩,默认为true */
|
|
27
|
+
compress?: boolean;
|
|
28
|
+
/** 最多选择的图片数目,最多支持9张 */
|
|
29
|
+
max?: number;
|
|
30
|
+
};
|
|
31
|
+
/** 支持上传附件的文件类型,至少一个,最多支持两种种类型 */
|
|
32
|
+
types: Array<'photo' | 'vedio'>;
|
|
33
|
+
onSuccess?: (data: IBizUtiltalYoungFilesUploadResult) => void;
|
|
34
|
+
onFail?: (err: IError) => void;
|
|
35
|
+
onProgress?: (data: IBizUtiltalYoungFilesUploadProgress) => void;
|
|
36
|
+
}
|
|
37
|
+
declare function talYoungFilesUpload(params: IBizUtiltalYoungFilesUploadParams): void;
|
|
38
|
+
export { talYoungFilesUpload };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.talYoungFilesUpload = talYoungFilesUpload;
|
|
9
|
+
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
+
/*
|
|
11
|
+
* @Descripttion:
|
|
12
|
+
* @Author: olei<wangzheng_jzb@100tal.com>
|
|
13
|
+
* @Date: 2020-09-07 19:55:47
|
|
14
|
+
* @LastEditors: olei<wangzheng_jzb@100tal.com>
|
|
15
|
+
* @LastEditTime: 2020-09-10 16:51:44
|
|
16
|
+
* yach > 1.4.7 已经废弃,目前只保留 sdk 入口兼容 yach 低版本调用
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
var apiName = 'app.custom.talYoungFilesUpload';
|
|
20
|
+
function talYoungFilesUpload(params) {
|
|
21
|
+
(0, _initAPI["default"])(apiName, {
|
|
22
|
+
params: params
|
|
23
|
+
});
|
|
24
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
/**
|
|
3
|
+
* 返回参数定义
|
|
4
|
+
*/
|
|
5
|
+
export interface IBizChatChooseConversationByCorpIdResult {
|
|
6
|
+
chatId: string;
|
|
7
|
+
title: string;
|
|
8
|
+
type: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 选择企业会话 请求参数定义
|
|
12
|
+
* @apiName biz.chat.chooseConversationByCorpId
|
|
13
|
+
*/
|
|
14
|
+
export interface IBizChatChooseConversationByCorpIdParams {
|
|
15
|
+
/** 会话id */
|
|
16
|
+
chatId: string;
|
|
17
|
+
/** 是否允许创建会话, 仅支持移动端,暂时没用和钉钉保持一致*/
|
|
18
|
+
isAllowCreateGroup?: boolean;
|
|
19
|
+
/** 是否限制为自己创建的会话,仅支持移动端 */
|
|
20
|
+
filterNotOwnerGroup?: boolean;
|
|
21
|
+
/** 是否支持多选,默认不支持 */
|
|
22
|
+
multiple?: boolean;
|
|
23
|
+
/** 超过限定会话提示 */
|
|
24
|
+
limitTips?: string;
|
|
25
|
+
/** 最大选择会话数量 */
|
|
26
|
+
maxConversations?: number;
|
|
27
|
+
disabledUsers?: string[];
|
|
28
|
+
disabledTeams?: string[];
|
|
29
|
+
/** 是否展示外部联系人 */
|
|
30
|
+
showExternalContact?: boolean;
|
|
31
|
+
onSuccess?: (data: IBizChatChooseConversationByCorpIdResult) => void;
|
|
32
|
+
onFail?: (err: IError) => void;
|
|
33
|
+
onCancel?: () => void;
|
|
34
|
+
}
|
|
35
|
+
declare function chooseConversationByCorpId(params: IBizChatChooseConversationByCorpIdParams): void;
|
|
36
|
+
export { chooseConversationByCorpId };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.chooseConversationByCorpId = chooseConversationByCorpId;
|
|
9
|
+
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
+
var apiName = 'biz.chat.chooseConversationByCorpId';
|
|
11
|
+
function chooseConversationByCorpId(params) {
|
|
12
|
+
(0, _initAPI["default"])(apiName, {
|
|
13
|
+
params: params
|
|
14
|
+
});
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
export interface IBizChatOpenSingleChatParams {
|
|
3
|
+
/** 企业id */
|
|
4
|
+
corpId: string;
|
|
5
|
+
userId: string;
|
|
6
|
+
onSuccess?: () => void;
|
|
7
|
+
onFail?: (err: IError) => void;
|
|
8
|
+
}
|
|
9
|
+
declare function openSingleChat(params: IBizChatOpenSingleChatParams): void;
|
|
10
|
+
export { openSingleChat };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.openSingleChat = openSingleChat;
|
|
9
|
+
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
+
var apiName = 'biz.chat.openSingleChat';
|
|
11
|
+
function openSingleChat(params) {
|
|
12
|
+
(0, _initAPI["default"])(apiName, {
|
|
13
|
+
params: params
|
|
14
|
+
});
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
export interface IBizChatOpenSquadParams {
|
|
3
|
+
sessionId: string;
|
|
4
|
+
onSuccess?: () => void;
|
|
5
|
+
onFail?: (err: IError) => void;
|
|
6
|
+
}
|
|
7
|
+
declare function openSquad(params: IBizChatOpenSquadParams): void;
|
|
8
|
+
export { openSquad };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.openSquad = openSquad;
|
|
9
|
+
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
+
var apiName = 'biz.chat.openSquad';
|
|
11
|
+
function openSquad(params) {
|
|
12
|
+
(0, _initAPI["default"])(apiName, {
|
|
13
|
+
params: params
|
|
14
|
+
});
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
export interface IBizChatOpenTeamChatParams {
|
|
3
|
+
/** 企业id */
|
|
4
|
+
corpId: string;
|
|
5
|
+
teamId: string;
|
|
6
|
+
onSuccess?: () => void;
|
|
7
|
+
onFail?: (err: IError) => void;
|
|
8
|
+
}
|
|
9
|
+
declare function openTeamChat(params: IBizChatOpenTeamChatParams): void;
|
|
10
|
+
export { openTeamChat };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.openTeamChat = openTeamChat;
|
|
9
|
+
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
+
var apiName = 'biz.chat.openTeamChat';
|
|
11
|
+
function openTeamChat(params) {
|
|
12
|
+
(0, _initAPI["default"])(apiName, {
|
|
13
|
+
params: params
|
|
14
|
+
});
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
export interface IBizChatPickConversationResult {
|
|
3
|
+
cid: string;
|
|
4
|
+
title: string;
|
|
5
|
+
type: number;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* 获取会话信息 请求参数定义
|
|
9
|
+
* @apiName biz.chat.pickConversation
|
|
10
|
+
*/
|
|
11
|
+
export interface IBizChatPickConversationParams {
|
|
12
|
+
/** 企业id */
|
|
13
|
+
corpId?: string;
|
|
14
|
+
isConfirm?: boolean;
|
|
15
|
+
onSuccess?: (data: IBizChatPickConversationResult) => void;
|
|
16
|
+
onFail?: (err: IError) => void;
|
|
17
|
+
}
|
|
18
|
+
declare function pickConversation(params: IBizChatPickConversationParams): void;
|
|
19
|
+
export { pickConversation };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.pickConversation = pickConversation;
|
|
9
|
+
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
+
var apiName = 'biz.chat.pickConversation';
|
|
11
|
+
var ios = {
|
|
12
|
+
vs: '0.0.0'
|
|
13
|
+
};
|
|
14
|
+
var android = {
|
|
15
|
+
vs: '0.0.0'
|
|
16
|
+
};
|
|
17
|
+
var platform = {
|
|
18
|
+
ios: ios,
|
|
19
|
+
android: android
|
|
20
|
+
};
|
|
21
|
+
function pickConversation(params) {
|
|
22
|
+
(0, _initAPI["default"])(apiName, {
|
|
23
|
+
params: params,
|
|
24
|
+
platform: platform
|
|
25
|
+
});
|
|
26
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
export interface IBizSendP2PMsgParams {
|
|
3
|
+
toUserId: string;
|
|
4
|
+
message: string;
|
|
5
|
+
messageId: string;
|
|
6
|
+
onSuccess?: () => void;
|
|
7
|
+
onFail?: (err: IError) => void;
|
|
8
|
+
}
|
|
9
|
+
declare function sendP2PMsg(params: IBizSendP2PMsgParams): void;
|
|
10
|
+
export { sendP2PMsg };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.sendP2PMsg = sendP2PMsg;
|
|
9
|
+
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
+
var apiName = 'biz.chat.sendP2PMsg';
|
|
11
|
+
function sendP2PMsg(params) {
|
|
12
|
+
(0, _initAPI["default"])(apiName, {
|
|
13
|
+
params: params
|
|
14
|
+
});
|
|
15
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { IDepartments, IError } from '../../common.typings';
|
|
2
|
+
interface IUsers {
|
|
3
|
+
userid: string;
|
|
4
|
+
name: string;
|
|
5
|
+
avatar: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IBizContactComplexPickerResult {
|
|
8
|
+
selectedCount: number;
|
|
9
|
+
users?: Array<IUsers>;
|
|
10
|
+
departments?: Array<IDepartments>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 选人与部门 请求参数定义
|
|
14
|
+
* @apiName biz.contact.complexPicker
|
|
15
|
+
*/
|
|
16
|
+
export interface IBizContactComplexPickerParams {
|
|
17
|
+
/** 标题 */
|
|
18
|
+
title?: string;
|
|
19
|
+
/** 企业的corpId */
|
|
20
|
+
corpId?: string;
|
|
21
|
+
/** 是否多选 */
|
|
22
|
+
multiple?: boolean;
|
|
23
|
+
/** 超过限定人数返回提示 */
|
|
24
|
+
limitTips?: string;
|
|
25
|
+
/** 选人组件,用户未选择人的时候,左下角的提示文案 */
|
|
26
|
+
pickTips?: string;
|
|
27
|
+
/** 最大可选人数 */
|
|
28
|
+
maxUsers?: number;
|
|
29
|
+
/** 已选用户 */
|
|
30
|
+
pickedUsers?: string[];
|
|
31
|
+
/** 已选部门 */
|
|
32
|
+
pickedDepartments?: string[];
|
|
33
|
+
/** 不可选用户 */
|
|
34
|
+
disabledUsers?: string[];
|
|
35
|
+
/** 不可选部门 */
|
|
36
|
+
disabledDepartments?: string[];
|
|
37
|
+
/** 必选用户(不可取消选中状态) */
|
|
38
|
+
requiredUsers?: string[];
|
|
39
|
+
/** 必选部门(不可取消选中状态) */
|
|
40
|
+
requiredDepartments?: string[];
|
|
41
|
+
/** 微应用的Id */
|
|
42
|
+
appId?: number;
|
|
43
|
+
/** 选人权限,目前只有GLOBAL这个参数 */
|
|
44
|
+
permissionType?: string;
|
|
45
|
+
/** 返回人,或者返回人和部门 */
|
|
46
|
+
responseUserOnly?: boolean;
|
|
47
|
+
/** 0表示从企业最上层开始 */
|
|
48
|
+
startWithDepartmentId?: number;
|
|
49
|
+
/** 上游业务来源 */
|
|
50
|
+
origin?: number;
|
|
51
|
+
/** 上游业务来源描述 */
|
|
52
|
+
originMeta?: string;
|
|
53
|
+
/** 只支持移动端,可以直接跳到具体部门。-1 表示根部门,0 表示当前部门(startWithDepartmentId需要传2,depId才生效) */
|
|
54
|
+
deptId?: number;
|
|
55
|
+
/** 是否展示外部联系人 */
|
|
56
|
+
showExternalContact?: boolean;
|
|
57
|
+
onSuccess?: (data: IBizContactComplexPickerResult) => void;
|
|
58
|
+
onFail?: (err: IError) => void;
|
|
59
|
+
onCancel?: () => void;
|
|
60
|
+
}
|
|
61
|
+
declare function complexPicker(params: IBizContactComplexPickerParams): void;
|
|
62
|
+
export { complexPicker };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.complexPicker = complexPicker;
|
|
9
|
+
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
+
var apiName = 'biz.contact.complexPicker';
|
|
11
|
+
function complexPicker(params) {
|
|
12
|
+
(0, _initAPI["default"])(apiName, {
|
|
13
|
+
params: params
|
|
14
|
+
});
|
|
15
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { IError, IDepartments } from '../../common.typings';
|
|
2
|
+
export interface IBizContactDepartmentsPickerResult {
|
|
3
|
+
departmentsCount: number;
|
|
4
|
+
userCount: number;
|
|
5
|
+
departments?: Array<IDepartments>;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* 选择部门信息 请求参数定义
|
|
9
|
+
* @apiName biz.contact.departmentsPicker
|
|
10
|
+
*/
|
|
11
|
+
export interface IBizContactDepartmentsPickerParams {
|
|
12
|
+
/** 企业标题 */
|
|
13
|
+
title?: string;
|
|
14
|
+
/** 企业的corpId */
|
|
15
|
+
corpId?: string;
|
|
16
|
+
/** 是否多选 */
|
|
17
|
+
multiple?: boolean;
|
|
18
|
+
/** 超过限定人数返回提示 */
|
|
19
|
+
limitTips?: string;
|
|
20
|
+
/** 最大选择部门的数量 */
|
|
21
|
+
maxDepartments?: number;
|
|
22
|
+
/** 已选部门 */
|
|
23
|
+
pickedDepartments?: string[];
|
|
24
|
+
/** 必选部门(不可取消选中状态) */
|
|
25
|
+
requiredDepartments?: string[];
|
|
26
|
+
/** 微应用的Id */
|
|
27
|
+
appId?: number;
|
|
28
|
+
/** 选人权限,目前只有GLOBAL这个参数 */
|
|
29
|
+
permissionType?: string;
|
|
30
|
+
onSuccess?: (data: IBizContactDepartmentsPickerResult) => void;
|
|
31
|
+
onFail?: (err: IError) => void;
|
|
32
|
+
onCancel?: () => void;
|
|
33
|
+
}
|
|
34
|
+
declare function departmentsPicker(params: IBizContactDepartmentsPickerParams): void;
|
|
35
|
+
export { departmentsPicker };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.departmentsPicker = departmentsPicker;
|
|
9
|
+
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
+
var apiName = 'biz.contact.departmentsPicker';
|
|
11
|
+
function departmentsPicker(params) {
|
|
12
|
+
(0, _initAPI["default"])(apiName, {
|
|
13
|
+
params: params
|
|
14
|
+
});
|
|
15
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
interface IGroups {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
number: number;
|
|
6
|
+
avatar?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IBizGroupGroupComplexPickerResult {
|
|
9
|
+
groups: Array<IGroups>;
|
|
10
|
+
groupCount: number;
|
|
11
|
+
userCount: number;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* 选择群组
|
|
15
|
+
* @apiName biz.group.groupComplexPicker
|
|
16
|
+
*/
|
|
17
|
+
export interface IBizGroupGroupComplexPickerParams {
|
|
18
|
+
/** 页面名称 */
|
|
19
|
+
title?: string;
|
|
20
|
+
corpId?: string;
|
|
21
|
+
multiple?: boolean;
|
|
22
|
+
limitTips?: string;
|
|
23
|
+
maxGroups?: number;
|
|
24
|
+
pickedGroups?: Array<string>;
|
|
25
|
+
disabledGroups?: Array<string>;
|
|
26
|
+
/** 是否展示外部联系人 */
|
|
27
|
+
showExternalContact?: boolean;
|
|
28
|
+
onSuccess?: (data: IBizGroupGroupComplexPickerResult) => void;
|
|
29
|
+
onFail?: (err: IError) => void;
|
|
30
|
+
onCancel?: () => void;
|
|
31
|
+
}
|
|
32
|
+
declare function groupComplexPicker(params: IBizGroupGroupComplexPickerParams): void;
|
|
33
|
+
export { groupComplexPicker };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.groupComplexPicker = groupComplexPicker;
|
|
9
|
+
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
+
var apiName = 'biz.group.groupComplexPicker';
|
|
11
|
+
function groupComplexPicker(params) {
|
|
12
|
+
(0, _initAPI["default"])(apiName, {
|
|
13
|
+
params: params
|
|
14
|
+
});
|
|
15
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
interface ILocations {
|
|
3
|
+
/** 需要和longitude组合成合法经纬度,高德坐标 */
|
|
4
|
+
latitude: number;
|
|
5
|
+
/** 需要和latitude组合成合法经纬度,高德坐标 */
|
|
6
|
+
longitude: number;
|
|
7
|
+
title?: string;
|
|
8
|
+
radius?: number;
|
|
9
|
+
isShowNavigation?: boolean;
|
|
10
|
+
isShowPointAnnotation?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface IBizMapMultipointViewParams {
|
|
13
|
+
locations: Array<ILocations>;
|
|
14
|
+
/** 在地图锚点气泡显示的文案 */
|
|
15
|
+
title: string;
|
|
16
|
+
isShowUserLocation?: boolean;
|
|
17
|
+
onSuccess?: () => void;
|
|
18
|
+
onFail?: (err: IError) => void;
|
|
19
|
+
}
|
|
20
|
+
declare function multipointView(params: IBizMapMultipointViewParams): void;
|
|
21
|
+
export { multipointView };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.multipointView = multipointView;
|
|
9
|
+
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
+
var apiName = 'biz.map.multipointView';
|
|
11
|
+
var ios = {
|
|
12
|
+
vs: '0.0.0'
|
|
13
|
+
};
|
|
14
|
+
var android = {
|
|
15
|
+
vs: '0.0.0'
|
|
16
|
+
};
|
|
17
|
+
var platform = {
|
|
18
|
+
ios: ios,
|
|
19
|
+
android: android
|
|
20
|
+
};
|
|
21
|
+
function multipointView(params) {
|
|
22
|
+
(0, _initAPI["default"])(apiName, {
|
|
23
|
+
params: params,
|
|
24
|
+
platform: platform
|
|
25
|
+
});
|
|
26
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
export interface IBizMapViewParams {
|
|
3
|
+
/** 需要和longitude组合成合法经纬度,高德坐标 */
|
|
4
|
+
latitude: number;
|
|
5
|
+
/** 需要和latitude组合成合法经纬度,高德坐标 */
|
|
6
|
+
longitude: number;
|
|
7
|
+
/** 在地图锚点气泡显示的文案 */
|
|
8
|
+
title: string;
|
|
9
|
+
onSuccess?: () => void;
|
|
10
|
+
onFail?: (err: IError) => void;
|
|
11
|
+
}
|
|
12
|
+
declare function view(params: IBizMapViewParams): void;
|
|
13
|
+
export { view };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.view = view;
|
|
9
|
+
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
+
var apiName = 'biz.map.view';
|
|
11
|
+
var ios = {
|
|
12
|
+
vs: '0.0.0'
|
|
13
|
+
};
|
|
14
|
+
var android = {
|
|
15
|
+
vs: '0.0.0'
|
|
16
|
+
};
|
|
17
|
+
var platform = {
|
|
18
|
+
ios: ios,
|
|
19
|
+
android: android
|
|
20
|
+
};
|
|
21
|
+
function view(params) {
|
|
22
|
+
(0, _initAPI["default"])(apiName, {
|
|
23
|
+
params: params,
|
|
24
|
+
platform: platform
|
|
25
|
+
});
|
|
26
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.close = close;
|
|
9
|
+
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
+
;
|
|
11
|
+
var apiName = 'biz.navigation.close';
|
|
12
|
+
function close(params) {
|
|
13
|
+
(0, _initAPI["default"])(apiName, {
|
|
14
|
+
params: params
|
|
15
|
+
});
|
|
16
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.goBack = goBack;
|
|
9
|
+
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
+
var apiName = 'biz.navigation.goBack';
|
|
11
|
+
var ios = {
|
|
12
|
+
vs: '0.0.0'
|
|
13
|
+
};
|
|
14
|
+
var android = {
|
|
15
|
+
vs: '0.0.0'
|
|
16
|
+
};
|
|
17
|
+
var platform = {
|
|
18
|
+
ios: ios,
|
|
19
|
+
android: android
|
|
20
|
+
};
|
|
21
|
+
function goBack(params) {
|
|
22
|
+
(0, _initAPI["default"])(apiName, {
|
|
23
|
+
params: params,
|
|
24
|
+
platform: platform
|
|
25
|
+
});
|
|
26
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.quit = quit;
|
|
9
|
+
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
+
var apiName = 'biz.navigation.quit';
|
|
11
|
+
var pc = {
|
|
12
|
+
vs: '0.0.0'
|
|
13
|
+
};
|
|
14
|
+
var platform = {
|
|
15
|
+
pc: pc
|
|
16
|
+
};
|
|
17
|
+
function quit(params) {
|
|
18
|
+
(0, _initAPI["default"])(apiName, {
|
|
19
|
+
params: params,
|
|
20
|
+
platform: platform
|
|
21
|
+
});
|
|
22
|
+
}
|