yach.open.jssdk 4.4.3-beta2 → 4.4.3-beta3

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.
Files changed (586) hide show
  1. package/dist/yach_jssdk_4.4.3-beta2.js +1 -0
  2. package/es/api/app/custom/talYoungFilesUpload.d.ts +38 -0
  3. package/es/api/app/custom/talYoungFilesUpload.js +16 -0
  4. package/es/api/biz/chat/chooseConversationByCorpId.d.ts +36 -0
  5. package/es/api/biz/chat/chooseConversationByCorpId.js +8 -0
  6. package/es/api/biz/chat/openSingleChat.d.ts +10 -0
  7. package/es/api/biz/chat/openSingleChat.js +8 -0
  8. package/es/api/biz/chat/openSquad.d.ts +8 -0
  9. package/es/api/biz/chat/openSquad.js +8 -0
  10. package/es/api/biz/chat/openTeamChat.d.ts +10 -0
  11. package/es/api/biz/chat/openTeamChat.js +8 -0
  12. package/es/api/biz/chat/pickConversation.d.ts +19 -0
  13. package/es/api/biz/chat/pickConversation.js +19 -0
  14. package/es/api/biz/chat/sendP2PMsg.d.ts +10 -0
  15. package/es/api/biz/chat/sendP2PMsg.js +8 -0
  16. package/es/api/biz/contact/complexPicker.d.ts +62 -0
  17. package/es/api/biz/contact/complexPicker.js +8 -0
  18. package/es/api/biz/contact/departmentsPicker.d.ts +35 -0
  19. package/es/api/biz/contact/departmentsPicker.js +8 -0
  20. package/es/api/biz/group/groupComplexPicker.d.ts +33 -0
  21. package/es/api/biz/group/groupComplexPicker.js +8 -0
  22. package/es/api/biz/map/multipointView.d.ts +21 -0
  23. package/es/api/biz/map/multipointView.js +19 -0
  24. package/es/api/biz/map/view.d.ts +13 -0
  25. package/es/api/biz/map/view.js +19 -0
  26. package/es/api/biz/navigation/close.d.ts +8 -0
  27. package/es/api/biz/navigation/close.js +9 -0
  28. package/es/api/biz/navigation/goBack.d.ts +7 -0
  29. package/es/api/biz/navigation/goBack.js +19 -0
  30. package/es/api/biz/navigation/quit.d.ts +8 -0
  31. package/es/api/biz/navigation/quit.js +15 -0
  32. package/es/api/biz/navigation/replace.d.ts +8 -0
  33. package/es/api/biz/navigation/replace.js +8 -0
  34. package/es/api/biz/navigation/setIcon.d.ts +12 -0
  35. package/es/api/biz/navigation/setIcon.js +27 -0
  36. package/es/api/biz/navigation/setLeft.d.ts +9 -0
  37. package/es/api/biz/navigation/setLeft.js +31 -0
  38. package/es/api/biz/navigation/setMenu.d.ts +20 -0
  39. package/es/api/biz/navigation/setMenu.js +25 -0
  40. package/es/api/biz/navigation/setPanGestureEnable.d.ts +9 -0
  41. package/es/api/biz/navigation/setPanGestureEnable.js +26 -0
  42. package/es/api/biz/navigation/setRight.d.ts +13 -0
  43. package/es/api/biz/navigation/setRight.js +31 -0
  44. package/es/api/biz/navigation/setTitle.d.ts +11 -0
  45. package/es/api/biz/navigation/setTitle.js +8 -0
  46. package/es/api/biz/navigation/setTitleExpandIcon.d.ts +9 -0
  47. package/es/api/biz/navigation/setTitleExpandIcon.js +25 -0
  48. package/es/api/biz/navigation/setWindowBig.d.ts +9 -0
  49. package/es/api/biz/navigation/setWindowBig.js +16 -0
  50. package/es/api/biz/navigation/tencentMeeting.d.ts +23 -0
  51. package/es/api/biz/navigation/tencentMeeting.js +8 -0
  52. package/es/api/biz/navigation/tencentMeetingBegin.d.ts +7 -0
  53. package/es/api/biz/navigation/tencentMeetingBegin.js +8 -0
  54. package/es/api/biz/navigation/updateExpandTitle.d.ts +8 -0
  55. package/es/api/biz/navigation/updateExpandTitle.js +8 -0
  56. package/es/api/biz/telephone/call.d.ts +9 -0
  57. package/es/api/biz/telephone/call.js +19 -0
  58. package/es/api/biz/telephone/showCallMenu.d.ts +12 -0
  59. package/es/api/biz/telephone/showCallMenu.js +19 -0
  60. package/es/api/biz/util/addAppToNav.d.ts +9 -0
  61. package/es/api/biz/util/addAppToNav.js +23 -0
  62. package/es/api/biz/util/assistantCreate.d.ts +11 -0
  63. package/es/api/biz/util/assistantCreate.js +23 -0
  64. package/es/api/biz/util/authFinish.d.ts +11 -0
  65. package/es/api/biz/util/authFinish.js +19 -0
  66. package/es/api/biz/util/authStart.d.ts +9 -0
  67. package/es/api/biz/util/authStart.js +19 -0
  68. package/es/api/biz/util/chosen.d.ts +15 -0
  69. package/es/api/biz/util/chosen.js +19 -0
  70. package/es/api/biz/util/clipboardFileUpload.d.ts +7 -0
  71. package/es/api/biz/util/clipboardFileUpload.js +8 -0
  72. package/es/api/biz/util/closeWindow.d.ts +8 -0
  73. package/es/api/biz/util/closeWindow.js +15 -0
  74. package/es/api/biz/util/complain.d.ts +12 -0
  75. package/es/api/biz/util/complain.js +8 -0
  76. package/es/api/biz/util/copy.d.ts +11 -0
  77. package/es/api/biz/util/copy.js +19 -0
  78. package/es/api/biz/util/createModifySchedule.d.ts +26 -0
  79. package/es/api/biz/util/createModifySchedule.js +15 -0
  80. package/es/api/biz/util/datepicker.d.ts +14 -0
  81. package/es/api/biz/util/datepicker.js +19 -0
  82. package/es/api/biz/util/datetimepicker.d.ts +14 -0
  83. package/es/api/biz/util/datetimepicker.js +19 -0
  84. package/es/api/biz/util/disableScreenCapture.d.ts +8 -0
  85. package/es/api/biz/util/disableScreenCapture.js +19 -0
  86. package/es/api/biz/util/downloadFile.d.ts +9 -0
  87. package/es/api/biz/util/downloadFile.js +8 -0
  88. package/es/api/biz/util/entergroupCheck.d.ts +11 -0
  89. package/es/api/biz/util/entergroupCheck.js +23 -0
  90. package/es/api/biz/util/externalLinkPreviewFile.d.ts +11 -0
  91. package/es/api/biz/util/externalLinkPreviewFile.js +8 -0
  92. package/es/api/biz/util/feedback.d.ts +11 -0
  93. package/es/api/biz/util/feedback.js +8 -0
  94. package/es/api/biz/util/getSingleWebviewData.d.ts +8 -0
  95. package/es/api/biz/util/getSingleWebviewData.js +8 -0
  96. package/es/api/biz/util/getTogetherConfig.d.ts +11 -0
  97. package/es/api/biz/util/getTogetherConfig.js +23 -0
  98. package/es/api/biz/util/getToken.d.ts +11 -0
  99. package/es/api/biz/util/getToken.js +19 -0
  100. package/es/api/biz/util/injectScript.d.ts +9 -0
  101. package/es/api/biz/util/injectScript.js +8 -0
  102. package/es/api/biz/util/invoice.d.ts +12 -0
  103. package/es/api/biz/util/invoice.js +15 -0
  104. package/es/api/biz/util/knowledgeBaseSelect.d.ts +21 -0
  105. package/es/api/biz/util/knowledgeBaseSelect.js +15 -0
  106. package/es/api/biz/util/lorebaseRefreshNodeWebview.d.ts +11 -0
  107. package/es/api/biz/util/lorebaseRefreshNodeWebview.js +19 -0
  108. package/es/api/biz/util/lorebaseShowList.d.ts +11 -0
  109. package/es/api/biz/util/lorebaseShowList.js +19 -0
  110. package/es/api/biz/util/mediaFileUpload.d.ts +26 -0
  111. package/es/api/biz/util/mediaFileUpload.js +15 -0
  112. package/es/api/biz/util/onlineDocmentOpenTeamChat.d.ts +10 -0
  113. package/es/api/biz/util/onlineDocmentOpenTeamChat.js +23 -0
  114. package/es/api/biz/util/open.d.ts +9 -0
  115. package/es/api/biz/util/open.js +8 -0
  116. package/es/api/biz/util/openFutureGroup.d.ts +10 -0
  117. package/es/api/biz/util/openFutureGroup.js +23 -0
  118. package/es/api/biz/util/openLink.d.ts +8 -0
  119. package/es/api/biz/util/openLink.js +8 -0
  120. package/es/api/biz/util/openMediaFileDialog.d.ts +23 -0
  121. package/es/api/biz/util/openMediaFileDialog.js +15 -0
  122. package/es/api/biz/util/openPublish.d.ts +20 -0
  123. package/es/api/biz/util/openPublish.js +21 -0
  124. package/es/api/biz/util/openSingleWebview.d.ts +23 -0
  125. package/es/api/biz/util/openSingleWebview.js +15 -0
  126. package/es/api/biz/util/openSlidePanel.d.ts +11 -0
  127. package/es/api/biz/util/openSlidePanel.js +15 -0
  128. package/es/api/biz/util/openTalYoungToTopic.d.ts +6 -0
  129. package/es/api/biz/util/openTalYoungToTopic.js +15 -0
  130. package/es/api/biz/util/openTogetherEyeWebview.d.ts +11 -0
  131. package/es/api/biz/util/openTogetherEyeWebview.js +23 -0
  132. package/es/api/biz/util/openUserSchedule.d.ts +11 -0
  133. package/es/api/biz/util/openUserSchedule.js +23 -0
  134. package/es/api/biz/util/openVideoPlayer.d.ts +27 -0
  135. package/es/api/biz/util/openVideoPlayer.js +23 -0
  136. package/es/api/biz/util/previewFile.d.ts +11 -0
  137. package/es/api/biz/util/previewFile.js +8 -0
  138. package/es/api/biz/util/previewImage.d.ts +9 -0
  139. package/es/api/biz/util/previewImage.js +8 -0
  140. package/es/api/biz/util/proxy.d.ts +13 -0
  141. package/es/api/biz/util/proxy.js +8 -0
  142. package/es/api/biz/util/pushWorkMsg.d.ts +10 -0
  143. package/es/api/biz/util/pushWorkMsg.js +15 -0
  144. package/es/api/biz/util/remind.d.ts +15 -0
  145. package/es/api/biz/util/remind.js +23 -0
  146. package/es/api/biz/util/resetSessionUnread.d.ts +8 -0
  147. package/es/api/biz/util/resetSessionUnread.js +21 -0
  148. package/es/api/biz/util/rouseApp.d.ts +12 -0
  149. package/es/api/biz/util/rouseApp.js +15 -0
  150. package/es/api/biz/util/savePic.d.ts +8 -0
  151. package/es/api/biz/util/savePic.js +19 -0
  152. package/es/api/biz/util/scan.d.ts +11 -0
  153. package/es/api/biz/util/scan.js +19 -0
  154. package/es/api/biz/util/screen.d.ts +15 -0
  155. package/es/api/biz/util/screen.js +15 -0
  156. package/es/api/biz/util/selectDepartment.d.ts +9 -0
  157. package/es/api/biz/util/selectDepartment.js +8 -0
  158. package/es/api/biz/util/share.d.ts +12 -0
  159. package/es/api/biz/util/share.js +19 -0
  160. package/es/api/biz/util/takePicture.d.ts +13 -0
  161. package/es/api/biz/util/takePicture.js +8 -0
  162. package/es/api/biz/util/topicEvent.d.ts +13 -0
  163. package/es/api/biz/util/topicEvent.js +27 -0
  164. package/es/api/biz/util/uploadAttachment.d.ts +55 -0
  165. package/es/api/biz/util/uploadAttachment.js +8 -0
  166. package/es/api/biz/util/weeklyRead.d.ts +5 -0
  167. package/es/api/biz/util/weeklyRead.js +23 -0
  168. package/es/api/biz/util/yachEvent.d.ts +12 -0
  169. package/es/api/biz/util/yachEvent.js +27 -0
  170. package/es/api/biz/util/zfbAuth.d.ts +10 -0
  171. package/es/api/biz/util/zfbAuth.js +19 -0
  172. package/es/api/biz/webViewMessage/send.d.ts +7 -0
  173. package/es/api/biz/webViewMessage/send.js +15 -0
  174. package/es/api/common.typings.d.ts +9 -0
  175. package/es/api/common.typings.js +0 -0
  176. package/es/api/device/audio/download.d.ts +8 -0
  177. package/es/api/device/audio/download.js +19 -0
  178. package/es/api/device/audio/onPlayEnd.d.ts +7 -0
  179. package/es/api/device/audio/onPlayEnd.js +19 -0
  180. package/es/api/device/audio/onRecordEnd.d.ts +7 -0
  181. package/es/api/device/audio/onRecordEnd.js +19 -0
  182. package/es/api/device/audio/onRecordEnd_v2.d.ts +7 -0
  183. package/es/api/device/audio/onRecordEnd_v2.js +19 -0
  184. package/es/api/device/audio/pause.d.ts +8 -0
  185. package/es/api/device/audio/pause.js +19 -0
  186. package/es/api/device/audio/play.d.ts +8 -0
  187. package/es/api/device/audio/play.js +19 -0
  188. package/es/api/device/audio/resume.d.ts +8 -0
  189. package/es/api/device/audio/resume.js +19 -0
  190. package/es/api/device/audio/startRecord.d.ts +8 -0
  191. package/es/api/device/audio/startRecord.js +19 -0
  192. package/es/api/device/audio/startRecord_v2.d.ts +8 -0
  193. package/es/api/device/audio/startRecord_v2.js +19 -0
  194. package/es/api/device/audio/stop.d.ts +8 -0
  195. package/es/api/device/audio/stop.js +19 -0
  196. package/es/api/device/audio/stopRecord.d.ts +7 -0
  197. package/es/api/device/audio/stopRecord.js +19 -0
  198. package/es/api/device/audio/stopRecord_v2.d.ts +7 -0
  199. package/es/api/device/audio/stopRecord_v2.js +19 -0
  200. package/es/api/device/base/checkStepPermission.d.ts +8 -0
  201. package/es/api/device/base/checkStepPermission.js +19 -0
  202. package/es/api/device/base/getPhoneInfo.d.ts +16 -0
  203. package/es/api/device/base/getPhoneInfo.js +19 -0
  204. package/es/api/device/base/getUUID.d.ts +10 -0
  205. package/es/api/device/base/getUUID.js +23 -0
  206. package/es/api/device/connection/getNetworkType.d.ts +10 -0
  207. package/es/api/device/connection/getNetworkType.js +19 -0
  208. package/es/api/device/connection/isAtTal.d.ts +10 -0
  209. package/es/api/device/connection/isAtTal.js +21 -0
  210. package/es/api/device/geolocation/get.d.ts +42 -0
  211. package/es/api/device/geolocation/get.js +19 -0
  212. package/es/api/device/geolocation/getSwitch.d.ts +10 -0
  213. package/es/api/device/geolocation/getSwitch.js +15 -0
  214. package/es/api/device/notification/actionSheet.d.ts +15 -0
  215. package/es/api/device/notification/actionSheet.js +19 -0
  216. package/es/api/device/notification/alert.d.ts +13 -0
  217. package/es/api/device/notification/alert.js +23 -0
  218. package/es/api/device/notification/confirm.d.ts +16 -0
  219. package/es/api/device/notification/confirm.js +23 -0
  220. package/es/api/device/notification/hidePreloader.d.ts +12 -0
  221. package/es/api/device/notification/hidePreloader.js +32 -0
  222. package/es/api/device/notification/showPreloader.d.ts +18 -0
  223. package/es/api/device/notification/showPreloader.js +32 -0
  224. package/es/api/device/notification/toast.d.ts +15 -0
  225. package/es/api/device/notification/toast.js +8 -0
  226. package/es/api/device/notification/vibrate.d.ts +8 -0
  227. package/es/api/device/notification/vibrate.js +19 -0
  228. package/es/api/device/system/getLang.d.ts +10 -0
  229. package/es/api/device/system/getLang.js +8 -0
  230. package/es/api/device/system/setLight.d.ts +8 -0
  231. package/es/api/device/system/setLight.js +19 -0
  232. package/es/api/initAPI.d.ts +6 -0
  233. package/es/api/initAPI.js +22 -0
  234. package/es/api/primary/createTab.d.ts +13 -0
  235. package/es/api/primary/createTab.js +15 -0
  236. package/es/api/primary/exitFullScreen.d.ts +7 -0
  237. package/es/api/primary/exitFullScreen.js +15 -0
  238. package/es/api/primary/fullScreen.d.ts +7 -0
  239. package/es/api/primary/fullScreen.js +15 -0
  240. package/es/api/primary/weeklyShare.d.ts +13 -0
  241. package/es/api/primary/weeklyShare.js +15 -0
  242. package/es/api/runtime/permission/requestAuthCode.d.ts +12 -0
  243. package/es/api/runtime/permission/requestAuthCode.js +8 -0
  244. package/es/api/ui/pullToRefresh/disable.d.ts +7 -0
  245. package/es/api/ui/pullToRefresh/disable.js +19 -0
  246. package/es/api/ui/pullToRefresh/enable.d.ts +7 -0
  247. package/es/api/ui/pullToRefresh/enable.js +19 -0
  248. package/es/api/ui/pullToRefresh/stop.d.ts +7 -0
  249. package/es/api/ui/pullToRefresh/stop.js +19 -0
  250. package/es/api/ui/webViewBounce/disable.d.ts +7 -0
  251. package/es/api/ui/webViewBounce/disable.js +15 -0
  252. package/es/api/util/domainStorage/getItem.d.ts +12 -0
  253. package/es/api/util/domainStorage/getItem.js +19 -0
  254. package/es/api/util/domainStorage/removeItem.d.ts +9 -0
  255. package/es/api/util/domainStorage/removeItem.js +19 -0
  256. package/es/api/util/domainStorage/setItem.d.ts +11 -0
  257. package/es/api/util/domainStorage/setItem.js +19 -0
  258. package/es/api/util/tool/flushLog.d.ts +7 -0
  259. package/es/api/util/tool/flushLog.js +15 -0
  260. package/es/api/util/tool/log.d.ts +9 -0
  261. package/es/api/util/tool/log.js +15 -0
  262. package/es/index.d.ts +335 -0
  263. package/es/index.js +352 -0
  264. package/es/lib/bridge/index.d.ts +2 -0
  265. package/es/lib/bridge/index.js +2 -0
  266. package/es/lib/bridge/mobile.d.ts +13 -0
  267. package/es/lib/bridge/mobile.js +178 -0
  268. package/es/lib/bridge/pc.d.ts +4 -0
  269. package/es/lib/bridge/pc.js +86 -0
  270. package/es/lib/helper/apiHelper.d.ts +2 -0
  271. package/es/lib/helper/apiHelper.js +8 -0
  272. package/es/lib/helper/codeMap.d.ts +2 -0
  273. package/es/lib/helper/codeMap.js +6 -0
  274. package/es/lib/helper/event.d.ts +9 -0
  275. package/es/lib/helper/event.js +40 -0
  276. package/es/lib/helper/pcIframe.d.ts +44 -0
  277. package/es/lib/helper/pcIframe.js +150 -0
  278. package/es/lib/index.d.ts +4 -0
  279. package/es/lib/index.js +78 -0
  280. package/es/lib/sdk/index.d.ts +19 -0
  281. package/es/lib/sdk/index.js +169 -0
  282. package/es/lib/sdk/sdk.typings.d.ts +85 -0
  283. package/es/lib/sdk/sdk.typings.js +7 -0
  284. package/es/utils/bpitLog.d.ts +16 -0
  285. package/es/utils/bpitLog.js +62 -0
  286. package/es/utils/compareVersions.d.ts +58 -0
  287. package/es/utils/compareVersions.js +165 -0
  288. package/es/utils/console.d.ts +4 -0
  289. package/es/utils/console.js +44 -0
  290. package/es/utils/env.d.ts +3 -0
  291. package/es/utils/env.js +45 -0
  292. package/es/utils/index.d.ts +4 -0
  293. package/es/utils/index.js +20 -0
  294. package/libs/api/app/custom/talYoungFilesUpload.d.ts +38 -0
  295. package/libs/api/app/custom/talYoungFilesUpload.js +24 -0
  296. package/libs/api/biz/chat/chooseConversationByCorpId.d.ts +36 -0
  297. package/libs/api/biz/chat/chooseConversationByCorpId.js +15 -0
  298. package/libs/api/biz/chat/openSingleChat.d.ts +10 -0
  299. package/libs/api/biz/chat/openSingleChat.js +15 -0
  300. package/libs/api/biz/chat/openSquad.d.ts +8 -0
  301. package/libs/api/biz/chat/openSquad.js +15 -0
  302. package/libs/api/biz/chat/openTeamChat.d.ts +10 -0
  303. package/libs/api/biz/chat/openTeamChat.js +15 -0
  304. package/libs/api/biz/chat/pickConversation.d.ts +19 -0
  305. package/libs/api/biz/chat/pickConversation.js +26 -0
  306. package/libs/api/biz/chat/sendP2PMsg.d.ts +10 -0
  307. package/libs/api/biz/chat/sendP2PMsg.js +15 -0
  308. package/libs/api/biz/contact/complexPicker.d.ts +62 -0
  309. package/libs/api/biz/contact/complexPicker.js +15 -0
  310. package/libs/api/biz/contact/departmentsPicker.d.ts +35 -0
  311. package/libs/api/biz/contact/departmentsPicker.js +15 -0
  312. package/libs/api/biz/group/groupComplexPicker.d.ts +33 -0
  313. package/libs/api/biz/group/groupComplexPicker.js +15 -0
  314. package/libs/api/biz/map/multipointView.d.ts +21 -0
  315. package/libs/api/biz/map/multipointView.js +26 -0
  316. package/libs/api/biz/map/view.d.ts +13 -0
  317. package/libs/api/biz/map/view.js +26 -0
  318. package/libs/api/biz/navigation/close.d.ts +8 -0
  319. package/libs/api/biz/navigation/close.js +16 -0
  320. package/libs/api/biz/navigation/goBack.d.ts +7 -0
  321. package/libs/api/biz/navigation/goBack.js +26 -0
  322. package/libs/api/biz/navigation/quit.d.ts +8 -0
  323. package/libs/api/biz/navigation/quit.js +22 -0
  324. package/libs/api/biz/navigation/replace.d.ts +8 -0
  325. package/libs/api/biz/navigation/replace.js +15 -0
  326. package/libs/api/biz/navigation/setIcon.d.ts +12 -0
  327. package/libs/api/biz/navigation/setIcon.js +34 -0
  328. package/libs/api/biz/navigation/setLeft.d.ts +9 -0
  329. package/libs/api/biz/navigation/setLeft.js +38 -0
  330. package/libs/api/biz/navigation/setMenu.d.ts +20 -0
  331. package/libs/api/biz/navigation/setMenu.js +32 -0
  332. package/libs/api/biz/navigation/setPanGestureEnable.d.ts +9 -0
  333. package/libs/api/biz/navigation/setPanGestureEnable.js +33 -0
  334. package/libs/api/biz/navigation/setRight.d.ts +13 -0
  335. package/libs/api/biz/navigation/setRight.js +38 -0
  336. package/libs/api/biz/navigation/setTitle.d.ts +11 -0
  337. package/libs/api/biz/navigation/setTitle.js +15 -0
  338. package/libs/api/biz/navigation/setTitleExpandIcon.d.ts +9 -0
  339. package/libs/api/biz/navigation/setTitleExpandIcon.js +32 -0
  340. package/libs/api/biz/navigation/setWindowBig.d.ts +9 -0
  341. package/libs/api/biz/navigation/setWindowBig.js +24 -0
  342. package/libs/api/biz/navigation/tencentMeeting.d.ts +23 -0
  343. package/libs/api/biz/navigation/tencentMeeting.js +15 -0
  344. package/libs/api/biz/navigation/tencentMeetingBegin.d.ts +7 -0
  345. package/libs/api/biz/navigation/tencentMeetingBegin.js +15 -0
  346. package/libs/api/biz/navigation/updateExpandTitle.d.ts +8 -0
  347. package/libs/api/biz/navigation/updateExpandTitle.js +15 -0
  348. package/libs/api/biz/telephone/call.d.ts +9 -0
  349. package/libs/api/biz/telephone/call.js +26 -0
  350. package/libs/api/biz/telephone/showCallMenu.d.ts +12 -0
  351. package/libs/api/biz/telephone/showCallMenu.js +26 -0
  352. package/libs/api/biz/util/addAppToNav.d.ts +9 -0
  353. package/libs/api/biz/util/addAppToNav.js +30 -0
  354. package/libs/api/biz/util/assistantCreate.d.ts +11 -0
  355. package/libs/api/biz/util/assistantCreate.js +30 -0
  356. package/libs/api/biz/util/authFinish.d.ts +11 -0
  357. package/libs/api/biz/util/authFinish.js +26 -0
  358. package/libs/api/biz/util/authStart.d.ts +9 -0
  359. package/libs/api/biz/util/authStart.js +26 -0
  360. package/libs/api/biz/util/chosen.d.ts +15 -0
  361. package/libs/api/biz/util/chosen.js +26 -0
  362. package/libs/api/biz/util/clipboardFileUpload.d.ts +7 -0
  363. package/libs/api/biz/util/clipboardFileUpload.js +15 -0
  364. package/libs/api/biz/util/closeWindow.d.ts +8 -0
  365. package/libs/api/biz/util/closeWindow.js +22 -0
  366. package/libs/api/biz/util/complain.d.ts +12 -0
  367. package/libs/api/biz/util/complain.js +15 -0
  368. package/libs/api/biz/util/copy.d.ts +11 -0
  369. package/libs/api/biz/util/copy.js +26 -0
  370. package/libs/api/biz/util/createModifySchedule.d.ts +26 -0
  371. package/libs/api/biz/util/createModifySchedule.js +22 -0
  372. package/libs/api/biz/util/datepicker.d.ts +14 -0
  373. package/libs/api/biz/util/datepicker.js +26 -0
  374. package/libs/api/biz/util/datetimepicker.d.ts +14 -0
  375. package/libs/api/biz/util/datetimepicker.js +26 -0
  376. package/libs/api/biz/util/disableScreenCapture.d.ts +8 -0
  377. package/libs/api/biz/util/disableScreenCapture.js +26 -0
  378. package/libs/api/biz/util/downloadFile.d.ts +9 -0
  379. package/libs/api/biz/util/downloadFile.js +15 -0
  380. package/libs/api/biz/util/entergroupCheck.d.ts +11 -0
  381. package/libs/api/biz/util/entergroupCheck.js +30 -0
  382. package/libs/api/biz/util/externalLinkPreviewFile.d.ts +11 -0
  383. package/libs/api/biz/util/externalLinkPreviewFile.js +15 -0
  384. package/libs/api/biz/util/feedback.d.ts +11 -0
  385. package/libs/api/biz/util/feedback.js +15 -0
  386. package/libs/api/biz/util/getSingleWebviewData.d.ts +8 -0
  387. package/libs/api/biz/util/getSingleWebviewData.js +15 -0
  388. package/libs/api/biz/util/getTogetherConfig.d.ts +11 -0
  389. package/libs/api/biz/util/getTogetherConfig.js +30 -0
  390. package/libs/api/biz/util/getToken.d.ts +11 -0
  391. package/libs/api/biz/util/getToken.js +26 -0
  392. package/libs/api/biz/util/injectScript.d.ts +9 -0
  393. package/libs/api/biz/util/injectScript.js +15 -0
  394. package/libs/api/biz/util/invoice.d.ts +12 -0
  395. package/libs/api/biz/util/invoice.js +23 -0
  396. package/libs/api/biz/util/knowledgeBaseSelect.d.ts +21 -0
  397. package/libs/api/biz/util/knowledgeBaseSelect.js +22 -0
  398. package/libs/api/biz/util/lorebaseRefreshNodeWebview.d.ts +11 -0
  399. package/libs/api/biz/util/lorebaseRefreshNodeWebview.js +26 -0
  400. package/libs/api/biz/util/lorebaseShowList.d.ts +11 -0
  401. package/libs/api/biz/util/lorebaseShowList.js +26 -0
  402. package/libs/api/biz/util/mediaFileUpload.d.ts +26 -0
  403. package/libs/api/biz/util/mediaFileUpload.js +23 -0
  404. package/libs/api/biz/util/onlineDocmentOpenTeamChat.d.ts +10 -0
  405. package/libs/api/biz/util/onlineDocmentOpenTeamChat.js +30 -0
  406. package/libs/api/biz/util/open.d.ts +9 -0
  407. package/libs/api/biz/util/open.js +15 -0
  408. package/libs/api/biz/util/openFutureGroup.d.ts +10 -0
  409. package/libs/api/biz/util/openFutureGroup.js +30 -0
  410. package/libs/api/biz/util/openLink.d.ts +8 -0
  411. package/libs/api/biz/util/openLink.js +15 -0
  412. package/libs/api/biz/util/openMediaFileDialog.d.ts +23 -0
  413. package/libs/api/biz/util/openMediaFileDialog.js +23 -0
  414. package/libs/api/biz/util/openPublish.d.ts +20 -0
  415. package/libs/api/biz/util/openPublish.js +29 -0
  416. package/libs/api/biz/util/openSingleWebview.d.ts +23 -0
  417. package/libs/api/biz/util/openSingleWebview.js +22 -0
  418. package/libs/api/biz/util/openSlidePanel.d.ts +11 -0
  419. package/libs/api/biz/util/openSlidePanel.js +22 -0
  420. package/libs/api/biz/util/openTalYoungToTopic.d.ts +6 -0
  421. package/libs/api/biz/util/openTalYoungToTopic.js +23 -0
  422. package/libs/api/biz/util/openTogetherEyeWebview.d.ts +11 -0
  423. package/libs/api/biz/util/openTogetherEyeWebview.js +30 -0
  424. package/libs/api/biz/util/openUserSchedule.d.ts +11 -0
  425. package/libs/api/biz/util/openUserSchedule.js +30 -0
  426. package/libs/api/biz/util/openVideoPlayer.d.ts +27 -0
  427. package/libs/api/biz/util/openVideoPlayer.js +30 -0
  428. package/libs/api/biz/util/previewFile.d.ts +11 -0
  429. package/libs/api/biz/util/previewFile.js +15 -0
  430. package/libs/api/biz/util/previewImage.d.ts +9 -0
  431. package/libs/api/biz/util/previewImage.js +15 -0
  432. package/libs/api/biz/util/proxy.d.ts +13 -0
  433. package/libs/api/biz/util/proxy.js +15 -0
  434. package/libs/api/biz/util/pushWorkMsg.d.ts +10 -0
  435. package/libs/api/biz/util/pushWorkMsg.js +23 -0
  436. package/libs/api/biz/util/remind.d.ts +15 -0
  437. package/libs/api/biz/util/remind.js +30 -0
  438. package/libs/api/biz/util/resetSessionUnread.d.ts +8 -0
  439. package/libs/api/biz/util/resetSessionUnread.js +28 -0
  440. package/libs/api/biz/util/rouseApp.d.ts +12 -0
  441. package/libs/api/biz/util/rouseApp.js +23 -0
  442. package/libs/api/biz/util/savePic.d.ts +8 -0
  443. package/libs/api/biz/util/savePic.js +26 -0
  444. package/libs/api/biz/util/scan.d.ts +11 -0
  445. package/libs/api/biz/util/scan.js +26 -0
  446. package/libs/api/biz/util/screen.d.ts +15 -0
  447. package/libs/api/biz/util/screen.js +22 -0
  448. package/libs/api/biz/util/selectDepartment.d.ts +9 -0
  449. package/libs/api/biz/util/selectDepartment.js +15 -0
  450. package/libs/api/biz/util/share.d.ts +12 -0
  451. package/libs/api/biz/util/share.js +26 -0
  452. package/libs/api/biz/util/takePicture.d.ts +13 -0
  453. package/libs/api/biz/util/takePicture.js +15 -0
  454. package/libs/api/biz/util/topicEvent.d.ts +13 -0
  455. package/libs/api/biz/util/topicEvent.js +34 -0
  456. package/libs/api/biz/util/uploadAttachment.d.ts +55 -0
  457. package/libs/api/biz/util/uploadAttachment.js +15 -0
  458. package/libs/api/biz/util/weeklyRead.d.ts +5 -0
  459. package/libs/api/biz/util/weeklyRead.js +30 -0
  460. package/libs/api/biz/util/yachEvent.d.ts +12 -0
  461. package/libs/api/biz/util/yachEvent.js +34 -0
  462. package/libs/api/biz/util/zfbAuth.d.ts +10 -0
  463. package/libs/api/biz/util/zfbAuth.js +26 -0
  464. package/libs/api/biz/webViewMessage/send.d.ts +7 -0
  465. package/libs/api/biz/webViewMessage/send.js +22 -0
  466. package/libs/api/common.typings.d.ts +9 -0
  467. package/libs/api/common.typings.js +1 -0
  468. package/libs/api/device/audio/download.d.ts +8 -0
  469. package/libs/api/device/audio/download.js +26 -0
  470. package/libs/api/device/audio/onPlayEnd.d.ts +7 -0
  471. package/libs/api/device/audio/onPlayEnd.js +26 -0
  472. package/libs/api/device/audio/onRecordEnd.d.ts +7 -0
  473. package/libs/api/device/audio/onRecordEnd.js +26 -0
  474. package/libs/api/device/audio/onRecordEnd_v2.d.ts +7 -0
  475. package/libs/api/device/audio/onRecordEnd_v2.js +26 -0
  476. package/libs/api/device/audio/pause.d.ts +8 -0
  477. package/libs/api/device/audio/pause.js +26 -0
  478. package/libs/api/device/audio/play.d.ts +8 -0
  479. package/libs/api/device/audio/play.js +26 -0
  480. package/libs/api/device/audio/resume.d.ts +8 -0
  481. package/libs/api/device/audio/resume.js +26 -0
  482. package/libs/api/device/audio/startRecord.d.ts +8 -0
  483. package/libs/api/device/audio/startRecord.js +26 -0
  484. package/libs/api/device/audio/startRecord_v2.d.ts +8 -0
  485. package/libs/api/device/audio/startRecord_v2.js +26 -0
  486. package/libs/api/device/audio/stop.d.ts +8 -0
  487. package/libs/api/device/audio/stop.js +26 -0
  488. package/libs/api/device/audio/stopRecord.d.ts +7 -0
  489. package/libs/api/device/audio/stopRecord.js +26 -0
  490. package/libs/api/device/audio/stopRecord_v2.d.ts +7 -0
  491. package/libs/api/device/audio/stopRecord_v2.js +26 -0
  492. package/libs/api/device/base/checkStepPermission.d.ts +8 -0
  493. package/libs/api/device/base/checkStepPermission.js +26 -0
  494. package/libs/api/device/base/getPhoneInfo.d.ts +16 -0
  495. package/libs/api/device/base/getPhoneInfo.js +26 -0
  496. package/libs/api/device/base/getUUID.d.ts +10 -0
  497. package/libs/api/device/base/getUUID.js +30 -0
  498. package/libs/api/device/connection/getNetworkType.d.ts +10 -0
  499. package/libs/api/device/connection/getNetworkType.js +26 -0
  500. package/libs/api/device/connection/isAtTal.d.ts +10 -0
  501. package/libs/api/device/connection/isAtTal.js +28 -0
  502. package/libs/api/device/geolocation/get.d.ts +42 -0
  503. package/libs/api/device/geolocation/get.js +26 -0
  504. package/libs/api/device/geolocation/getSwitch.d.ts +10 -0
  505. package/libs/api/device/geolocation/getSwitch.js +22 -0
  506. package/libs/api/device/notification/actionSheet.d.ts +15 -0
  507. package/libs/api/device/notification/actionSheet.js +26 -0
  508. package/libs/api/device/notification/alert.d.ts +13 -0
  509. package/libs/api/device/notification/alert.js +30 -0
  510. package/libs/api/device/notification/confirm.d.ts +16 -0
  511. package/libs/api/device/notification/confirm.js +30 -0
  512. package/libs/api/device/notification/hidePreloader.d.ts +12 -0
  513. package/libs/api/device/notification/hidePreloader.js +40 -0
  514. package/libs/api/device/notification/showPreloader.d.ts +18 -0
  515. package/libs/api/device/notification/showPreloader.js +40 -0
  516. package/libs/api/device/notification/toast.d.ts +15 -0
  517. package/libs/api/device/notification/toast.js +15 -0
  518. package/libs/api/device/notification/vibrate.d.ts +8 -0
  519. package/libs/api/device/notification/vibrate.js +26 -0
  520. package/libs/api/device/system/getLang.d.ts +10 -0
  521. package/libs/api/device/system/getLang.js +15 -0
  522. package/libs/api/device/system/setLight.d.ts +8 -0
  523. package/libs/api/device/system/setLight.js +26 -0
  524. package/libs/api/initAPI.d.ts +6 -0
  525. package/libs/api/initAPI.js +29 -0
  526. package/libs/api/primary/createTab.d.ts +13 -0
  527. package/libs/api/primary/createTab.js +22 -0
  528. package/libs/api/primary/exitFullScreen.d.ts +7 -0
  529. package/libs/api/primary/exitFullScreen.js +22 -0
  530. package/libs/api/primary/fullScreen.d.ts +7 -0
  531. package/libs/api/primary/fullScreen.js +22 -0
  532. package/libs/api/primary/weeklyShare.d.ts +13 -0
  533. package/libs/api/primary/weeklyShare.js +22 -0
  534. package/libs/api/runtime/permission/requestAuthCode.d.ts +12 -0
  535. package/libs/api/runtime/permission/requestAuthCode.js +15 -0
  536. package/libs/api/ui/pullToRefresh/disable.d.ts +7 -0
  537. package/libs/api/ui/pullToRefresh/disable.js +26 -0
  538. package/libs/api/ui/pullToRefresh/enable.d.ts +7 -0
  539. package/libs/api/ui/pullToRefresh/enable.js +26 -0
  540. package/libs/api/ui/pullToRefresh/stop.d.ts +7 -0
  541. package/libs/api/ui/pullToRefresh/stop.js +26 -0
  542. package/libs/api/ui/webViewBounce/disable.d.ts +7 -0
  543. package/libs/api/ui/webViewBounce/disable.js +22 -0
  544. package/libs/api/util/domainStorage/getItem.d.ts +12 -0
  545. package/libs/api/util/domainStorage/getItem.js +26 -0
  546. package/libs/api/util/domainStorage/removeItem.d.ts +9 -0
  547. package/libs/api/util/domainStorage/removeItem.js +26 -0
  548. package/libs/api/util/domainStorage/setItem.d.ts +11 -0
  549. package/libs/api/util/domainStorage/setItem.js +26 -0
  550. package/libs/api/util/tool/flushLog.d.ts +7 -0
  551. package/libs/api/util/tool/flushLog.js +22 -0
  552. package/libs/api/util/tool/log.d.ts +9 -0
  553. package/libs/api/util/tool/log.js +22 -0
  554. package/libs/index.d.ts +335 -0
  555. package/libs/index.js +1158 -0
  556. package/libs/lib/bridge/index.d.ts +2 -0
  557. package/libs/lib/bridge/index.js +32 -0
  558. package/libs/lib/bridge/mobile.d.ts +13 -0
  559. package/libs/lib/bridge/mobile.js +185 -0
  560. package/libs/lib/bridge/pc.d.ts +4 -0
  561. package/libs/lib/bridge/pc.js +93 -0
  562. package/libs/lib/helper/apiHelper.d.ts +2 -0
  563. package/libs/lib/helper/apiHelper.js +15 -0
  564. package/libs/lib/helper/codeMap.d.ts +2 -0
  565. package/libs/lib/helper/codeMap.js +13 -0
  566. package/libs/lib/helper/event.d.ts +9 -0
  567. package/libs/lib/helper/event.js +48 -0
  568. package/libs/lib/helper/pcIframe.d.ts +44 -0
  569. package/libs/lib/helper/pcIframe.js +158 -0
  570. package/libs/lib/index.d.ts +4 -0
  571. package/libs/lib/index.js +86 -0
  572. package/libs/lib/sdk/index.d.ts +19 -0
  573. package/libs/lib/sdk/index.js +177 -0
  574. package/libs/lib/sdk/sdk.typings.d.ts +85 -0
  575. package/libs/lib/sdk/sdk.typings.js +14 -0
  576. package/libs/utils/bpitLog.d.ts +16 -0
  577. package/libs/utils/bpitLog.js +69 -0
  578. package/libs/utils/compareVersions.d.ts +58 -0
  579. package/libs/utils/compareVersions.js +173 -0
  580. package/libs/utils/console.d.ts +4 -0
  581. package/libs/utils/console.js +53 -0
  582. package/libs/utils/env.d.ts +3 -0
  583. package/libs/utils/env.js +51 -0
  584. package/libs/utils/index.d.ts +4 -0
  585. package/libs/utils/index.js +51 -0
  586. package/package.json +1 -1
@@ -0,0 +1,14 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizUtilDatePickerResult {
3
+ value: string;
4
+ }
5
+ export interface IBizUtilDatePickerParams {
6
+ /** 日期和时间的格式 */
7
+ format: string;
8
+ /** 默认显示日期和时间 */
9
+ value: string;
10
+ onSuccess?: (data: IBizUtilDatePickerResult) => void;
11
+ onFail?: (err: IError) => void;
12
+ }
13
+ declare function datepicker(params: IBizUtilDatePickerParams): void;
14
+ export { datepicker };
@@ -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.datepicker = datepicker;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ var apiName = 'biz.util.datepicker';
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 datepicker(params) {
22
+ (0, _initAPI["default"])(apiName, {
23
+ params: params,
24
+ platform: platform
25
+ });
26
+ }
@@ -0,0 +1,14 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizUtilDateTimePickerResult {
3
+ value: string;
4
+ }
5
+ export interface IBizUtilDateTimePickerParams {
6
+ /** 日期和时间的格式 */
7
+ format: string;
8
+ /** 默认显示日期和时间 */
9
+ value: string;
10
+ onSuccess?: (data: IBizUtilDateTimePickerResult) => void;
11
+ onFail?: (err: IError) => void;
12
+ }
13
+ declare function datetimepicker(params: IBizUtilDateTimePickerParams): void;
14
+ export { datetimepicker };
@@ -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.datetimepicker = datetimepicker;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ var apiName = 'biz.util.datetimepicker';
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 datetimepicker(params) {
22
+ (0, _initAPI["default"])(apiName, {
23
+ params: params,
24
+ platform: platform
25
+ });
26
+ }
@@ -0,0 +1,8 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizUtilDisableScreenCaptureParams {
3
+ message: string;
4
+ onSuccess?: () => void;
5
+ onFail?: (err: IError) => void;
6
+ }
7
+ declare function disableScreenCapture(params: IBizUtilDisableScreenCaptureParams): void;
8
+ export { disableScreenCapture };
@@ -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.disableScreenCapture = disableScreenCapture;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ var apiName = 'biz.util.disableScreenCapture';
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 disableScreenCapture(params) {
22
+ (0, _initAPI["default"])(apiName, {
23
+ params: params,
24
+ platform: platform
25
+ });
26
+ }
@@ -0,0 +1,9 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizUtilDownloadFileParams {
3
+ url: string;
4
+ name?: string;
5
+ onSuccess?: () => void;
6
+ onFail?: (err: IError) => void;
7
+ }
8
+ declare function downloadFile(params: IBizUtilDownloadFileParams): void;
9
+ export { downloadFile };
@@ -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.downloadFile = downloadFile;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ var apiName = 'biz.util.downloadFile';
11
+ function downloadFile(params) {
12
+ (0, _initAPI["default"])(apiName, {
13
+ params: params
14
+ });
15
+ }
@@ -0,0 +1,11 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IOpenTeamChatInCheck {
3
+ teamId: number | string;
4
+ fromUid: number | string;
5
+ groupCate: number | string;
6
+ notActivateMain?: Boolean;
7
+ onSuccess?: () => void;
8
+ onFail?: (err: IError) => void;
9
+ }
10
+ declare function entergroupCheck(params?: IOpenTeamChatInCheck): void;
11
+ export { entergroupCheck };
@@ -0,0 +1,30 @@
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.entergroupCheck = entergroupCheck;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ var ios = {
11
+ vs: '0.0.0'
12
+ };
13
+ var android = {
14
+ vs: '0.0.0'
15
+ };
16
+ var pc = {
17
+ vs: '1.8.0'
18
+ };
19
+ var platform = {
20
+ ios: ios,
21
+ android: android,
22
+ pc: pc
23
+ };
24
+ var apiName = 'biz.util.entergroupCheck';
25
+ function entergroupCheck(params) {
26
+ (0, _initAPI["default"])(apiName, {
27
+ params: params,
28
+ platform: platform
29
+ });
30
+ }
@@ -0,0 +1,11 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizUtilExternalLinkPreviewFileParams {
3
+ file: string;
4
+ size: number;
5
+ name: string;
6
+ type: string;
7
+ onSuccess?: () => void;
8
+ onFail?: (err: IError) => void;
9
+ }
10
+ declare function externalLinkPreviewFile(params: IBizUtilExternalLinkPreviewFileParams): void;
11
+ export { externalLinkPreviewFile };
@@ -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.externalLinkPreviewFile = externalLinkPreviewFile;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ var apiName = 'biz.util.externalLinkPreviewFile';
11
+ function externalLinkPreviewFile(params) {
12
+ (0, _initAPI["default"])(apiName, {
13
+ params: params
14
+ });
15
+ }
@@ -0,0 +1,11 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IDeviceNotificationToastParams {
3
+ appId: string;
4
+ appKey: string;
5
+ title?: string;
6
+ placeholder?: string;
7
+ onSuccess?: (res: any) => void;
8
+ onFail?: (err: IError) => void;
9
+ }
10
+ declare function feedback(params: IDeviceNotificationToastParams): void;
11
+ export { feedback };
@@ -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.feedback = feedback;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ var apiName = 'biz.util.feedback';
11
+ function feedback(params) {
12
+ (0, _initAPI["default"])(apiName, {
13
+ params: params
14
+ });
15
+ }
@@ -0,0 +1,8 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizUtilGetSingleWebviewDataParams {
3
+ name?: string;
4
+ onSuccess?: (data: any) => void;
5
+ onFail?: (err: IError) => void;
6
+ }
7
+ declare function getSingleWebviewData(params?: IBizUtilGetSingleWebviewDataParams): void;
8
+ export { getSingleWebviewData };
@@ -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.getSingleWebviewData = getSingleWebviewData;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ var apiName = 'biz.util.getSingleWebviewData';
11
+ function getSingleWebviewData(params) {
12
+ (0, _initAPI["default"])(apiName, {
13
+ params: params
14
+ });
15
+ }
@@ -0,0 +1,11 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizUtilGetTogetherConfigResult {
3
+ token: string;
4
+ }
5
+ export interface GetTogetherConfigParams {
6
+ /** 存储信息的key值 */
7
+ onSuccess?: (data: IBizUtilGetTogetherConfigResult) => void;
8
+ onFail?: (err: IError) => void;
9
+ }
10
+ declare function getTogetherConfig(params?: GetTogetherConfigParams): void;
11
+ export { getTogetherConfig };
@@ -0,0 +1,30 @@
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.getTogetherConfig = getTogetherConfig;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ var apiName = 'biz.util.getTogetherConfig';
11
+ var ios = {
12
+ vs: '0.0.0'
13
+ };
14
+ var android = {
15
+ vs: '0.0.0'
16
+ };
17
+ var pc = {
18
+ vs: '0.0.0'
19
+ };
20
+ var platform = {
21
+ ios: ios,
22
+ android: android,
23
+ pc: pc
24
+ };
25
+ function getTogetherConfig(params) {
26
+ (0, _initAPI["default"])(apiName, {
27
+ params: params,
28
+ platform: platform
29
+ });
30
+ }
@@ -0,0 +1,11 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizUtilGetTokenResult {
3
+ token: string;
4
+ }
5
+ export interface IBizUtilGetTokenParams {
6
+ /** 存储信息的key值 */
7
+ onSuccess?: (data: IBizUtilGetTokenResult) => void;
8
+ onFail?: (err: IError) => void;
9
+ }
10
+ declare function getToken(params?: IBizUtilGetTokenParams): void;
11
+ export { getToken };
@@ -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.getToken = getToken;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ var apiName = 'biz.util.getToken';
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 getToken(params) {
22
+ (0, _initAPI["default"])(apiName, {
23
+ params: params,
24
+ platform: platform
25
+ });
26
+ }
@@ -0,0 +1,9 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizUtilInjectScriptParams {
3
+ /** 注入脚本内容 */
4
+ script: String;
5
+ onSuccess?: () => void;
6
+ onFail?: (err: IError) => void;
7
+ }
8
+ declare function injectScript(params?: IBizUtilInjectScriptParams): void;
9
+ export { injectScript };
@@ -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.injectScript = injectScript;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ var apiName = 'biz.util.injectScript';
11
+ function injectScript(params) {
12
+ (0, _initAPI["default"])(apiName, {
13
+ params: params
14
+ });
15
+ }
@@ -0,0 +1,12 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizUtilInvoiceResult {
3
+ data?: Object;
4
+ }
5
+ export interface IBizUtilInvoiceParams {
6
+ /** 平台类型wx | ali */
7
+ platformType?: String;
8
+ onSuccess?: (data: IBizUtilInvoiceResult) => void;
9
+ onFail?: (err: IError) => void;
10
+ }
11
+ declare function invoice(params: IBizUtilInvoiceParams): void;
12
+ export { invoice };
@@ -0,0 +1,23 @@
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.invoice = invoice;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ /*
11
+ * @Descripttion: 打开微信卡包,支付宝管家
12
+ * @Author: olei<wangzheng_jzb@100tal.com>
13
+ * @Date: 2020-09-18 11:10:45
14
+ * @LastEditors: olei<wangzheng_jzb@100tal.com>
15
+ * @LastEditTime: 2020-09-18 11:20:45
16
+ */
17
+
18
+ var apiName = 'biz.util.invoice';
19
+ function invoice(params) {
20
+ (0, _initAPI["default"])(apiName, {
21
+ params: params
22
+ });
23
+ }
@@ -0,0 +1,21 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IKnowledgeBaseSelectResult {
3
+ code: number;
4
+ message: string;
5
+ data: any;
6
+ }
7
+ declare type YachNode = {
8
+ node_name: string;
9
+ node_type: string;
10
+ link: string;
11
+ };
12
+ export interface IKnowledgeBaseSelectParams {
13
+ source: string;
14
+ title?: string;
15
+ list: YachNode[];
16
+ isAddToBase?: boolean;
17
+ onSuccess?: (res: IKnowledgeBaseSelectResult) => void;
18
+ onFail?: (err: IError) => void;
19
+ }
20
+ declare function knowledgeBaseSelect(params: IKnowledgeBaseSelectParams): void;
21
+ export { knowledgeBaseSelect };
@@ -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.knowledgeBaseSelect = knowledgeBaseSelect;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ var pc = {
11
+ vs: '1.8.8'
12
+ };
13
+ var platform = {
14
+ pc: pc
15
+ };
16
+ var apiName = 'biz.util.knowledgeBaseSelect';
17
+ function knowledgeBaseSelect(params) {
18
+ (0, _initAPI["default"])(apiName, {
19
+ params: params,
20
+ platform: platform
21
+ });
22
+ }
@@ -0,0 +1,11 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizUtilLorebaseRefreshNodeWebviewResult {
3
+ data?: Object;
4
+ }
5
+ export interface IBizUtilLorebaseRefreshNodeWebviewParams {
6
+ link: string;
7
+ onSuccess?: (data: IBizUtilLorebaseRefreshNodeWebviewResult) => void;
8
+ onFail?: (err: IError) => void;
9
+ }
10
+ declare function lorebaseRefreshNodeWebview(params: IBizUtilLorebaseRefreshNodeWebviewParams): void;
11
+ export { lorebaseRefreshNodeWebview };
@@ -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.lorebaseRefreshNodeWebview = lorebaseRefreshNodeWebview;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ var ios = {
11
+ vs: '0.0.0'
12
+ };
13
+ var android = {
14
+ vs: '0.0.0'
15
+ };
16
+ var platform = {
17
+ ios: ios,
18
+ android: android
19
+ };
20
+ var apiName = 'biz.util.lorebaseRefreshNodeWebview';
21
+ function lorebaseRefreshNodeWebview(params) {
22
+ (0, _initAPI["default"])(apiName, {
23
+ params: params,
24
+ platform: platform
25
+ });
26
+ }
@@ -0,0 +1,11 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizUtilLorebaseShowListResult {
3
+ data?: Object;
4
+ }
5
+ export interface IBizUtilLorebaseShowListParams {
6
+ isShow: Boolean;
7
+ onSuccess?: (data: IBizUtilLorebaseShowListResult) => void;
8
+ onFail?: (err: IError) => void;
9
+ }
10
+ declare function lorebaseShowList(params: IBizUtilLorebaseShowListParams): void;
11
+ export { lorebaseShowList };
@@ -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.lorebaseShowList = lorebaseShowList;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ var ios = {
11
+ vs: '0.0.0'
12
+ };
13
+ var android = {
14
+ vs: '0.0.0'
15
+ };
16
+ var platform = {
17
+ ios: ios,
18
+ android: android
19
+ };
20
+ var apiName = 'biz.util.lorebaseShowList';
21
+ function lorebaseShowList(params) {
22
+ (0, _initAPI["default"])(apiName, {
23
+ params: params,
24
+ platform: platform
25
+ });
26
+ }
@@ -0,0 +1,26 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizUtilFileUploadProgress {
3
+ loaded: number;
4
+ total: number;
5
+ speed: number;
6
+ percent: number;
7
+ }
8
+ export interface IBizUtilFileUploadResult {
9
+ data?: {
10
+ fileId?: string;
11
+ filePath?: string;
12
+ fileName?: string;
13
+ sourcePath?: string;
14
+ relation_id?: string;
15
+ videoPic?: string;
16
+ };
17
+ }
18
+ export interface IBizUtilFileUploadParams {
19
+ /** 支持上传附件的文件类型,至少一个,支持多种类型 */
20
+ files?: Array<Object>;
21
+ onSuccess?: (data: IBizUtilFileUploadResult) => void;
22
+ onFail?: (err: IError) => void;
23
+ onProgress?: (data: IBizUtilFileUploadProgress) => void;
24
+ }
25
+ declare function mediaFileUpload(params: IBizUtilFileUploadParams): void;
26
+ export { mediaFileUpload };
@@ -0,0 +1,23 @@
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.mediaFileUpload = mediaFileUpload;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ /*
11
+ * @Descripttion:
12
+ * @Author: olei<wangzheng_jzb@100tal.com>
13
+ * @Date: 2020-09-08 17:15:21
14
+ * @LastEditors: olei<wangzheng_jzb@100tal.com>
15
+ * @LastEditTime: 2020-09-15 11:48:01
16
+ */
17
+
18
+ var apiName = 'biz.util.mediaFileUpload';
19
+ function mediaFileUpload(params) {
20
+ (0, _initAPI["default"])(apiName, {
21
+ params: params
22
+ });
23
+ }
@@ -0,0 +1,10 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IOpenTeamChatInCheck {
3
+ teamId: number | string;
4
+ fromUid: number | string;
5
+ groupCate: number | string;
6
+ onSuccess?: () => void;
7
+ onFail?: (err: IError) => void;
8
+ }
9
+ declare function onlineDocmentOpenTeamChat(params?: IOpenTeamChatInCheck): void;
10
+ export { onlineDocmentOpenTeamChat };
@@ -0,0 +1,30 @@
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.onlineDocmentOpenTeamChat = onlineDocmentOpenTeamChat;
9
+ var _initAPI = _interopRequireDefault(require("../../initAPI"));
10
+ var ios = {
11
+ vs: '0.0.0'
12
+ };
13
+ var android = {
14
+ vs: '0.0.0'
15
+ };
16
+ var pc = {
17
+ vs: '0.0.0'
18
+ };
19
+ var platform = {
20
+ ios: ios,
21
+ android: android,
22
+ pc: pc
23
+ };
24
+ var apiName = 'onlineDocmentOpenTeamChat';
25
+ function onlineDocmentOpenTeamChat(params) {
26
+ (0, _initAPI["default"])(apiName, {
27
+ params: params,
28
+ platform: platform
29
+ });
30
+ }
@@ -0,0 +1,9 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizUtilOpenParams {
3
+ name: string;
4
+ params?: {};
5
+ onSuccess?: () => void;
6
+ onFail?: (err: IError) => void;
7
+ }
8
+ declare function open(params: IBizUtilOpenParams): void;
9
+ export { open };