yach.open.jssdk 4.4.3 → 4.4.4-beta2

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 (290) hide show
  1. package/dist/yach_jssdk_4.4.4-beta1.js +1 -0
  2. package/es/api/app/custom/talYoungFilesUpload.js +0 -2
  3. package/es/api/biz/chat/chooseConversationByCorpId.js +0 -2
  4. package/es/api/biz/chat/openSingleChat.js +0 -2
  5. package/es/api/biz/chat/openSquad.js +0 -2
  6. package/es/api/biz/chat/openTeamChat.js +0 -2
  7. package/es/api/biz/chat/pickConversation.js +0 -2
  8. package/es/api/biz/chat/sendP2PMsg.js +0 -2
  9. package/es/api/biz/contact/complexPicker.js +0 -2
  10. package/es/api/biz/contact/departmentsPicker.js +0 -2
  11. package/es/api/biz/group/groupComplexPicker.js +0 -2
  12. package/es/api/biz/map/multipointView.js +0 -2
  13. package/es/api/biz/map/view.js +0 -2
  14. package/es/api/biz/navigation/close.js +0 -2
  15. package/es/api/biz/navigation/goBack.js +0 -2
  16. package/es/api/biz/navigation/quit.js +0 -2
  17. package/es/api/biz/navigation/replace.js +0 -2
  18. package/es/api/biz/navigation/setIcon.js +0 -2
  19. package/es/api/biz/navigation/setLeft.js +0 -2
  20. package/es/api/biz/navigation/setMenu.js +0 -2
  21. package/es/api/biz/navigation/setPanGestureEnable.js +0 -2
  22. package/es/api/biz/navigation/setRight.js +0 -2
  23. package/es/api/biz/navigation/setTitle.js +0 -2
  24. package/es/api/biz/navigation/setTitleExpandIcon.js +0 -2
  25. package/es/api/biz/navigation/setWindowBig.js +0 -2
  26. package/es/api/biz/navigation/tencentMeeting.js +0 -2
  27. package/es/api/biz/navigation/tencentMeetingBegin.js +0 -2
  28. package/es/api/biz/navigation/updateExpandTitle.js +0 -2
  29. package/es/api/biz/telephone/call.js +0 -2
  30. package/es/api/biz/telephone/showCallMenu.js +0 -2
  31. package/es/api/biz/util/addAppToNav.js +0 -2
  32. package/es/api/biz/util/assistantCreate.js +0 -2
  33. package/es/api/biz/util/authFinish.js +0 -2
  34. package/es/api/biz/util/authStart.js +0 -2
  35. package/es/api/biz/util/chosen.js +0 -2
  36. package/es/api/biz/util/clipboardFileUpload.js +0 -2
  37. package/es/api/biz/util/closeWindow.js +0 -2
  38. package/es/api/biz/util/complain.js +0 -2
  39. package/es/api/biz/util/createModifySchedule.js +0 -2
  40. package/es/api/biz/util/datepicker.js +0 -2
  41. package/es/api/biz/util/datetimepicker.js +0 -2
  42. package/es/api/biz/util/disableScreenCapture.js +0 -2
  43. package/es/api/biz/util/downloadFile.js +0 -2
  44. package/es/api/biz/util/entergroupCheck.js +0 -2
  45. package/es/api/biz/util/externalLinkPreviewFile.js +0 -2
  46. package/es/api/biz/util/feedback.js +0 -2
  47. package/es/api/biz/util/getSingleWebviewData.js +0 -2
  48. package/es/api/biz/util/getTogetherConfig.js +0 -2
  49. package/es/api/biz/util/getToken.js +0 -2
  50. package/es/api/biz/util/injectScript.js +0 -2
  51. package/es/api/biz/util/invoice.js +0 -2
  52. package/es/api/biz/util/knowledgeBaseSelect.js +9 -3
  53. package/es/api/biz/util/knowledgeSelectParams.d.ts +12 -0
  54. package/es/api/biz/util/knowledgeSelectParams.js +19 -0
  55. package/es/api/biz/util/mediaFileUpload.js +0 -2
  56. package/es/api/biz/util/onlineDocmentOpenTeamChat.js +0 -2
  57. package/es/api/biz/util/open.js +0 -2
  58. package/es/api/biz/util/openFutureGroup.js +0 -2
  59. package/es/api/biz/util/openLink.js +0 -2
  60. package/es/api/biz/util/openMediaFileDialog.js +0 -2
  61. package/es/api/biz/util/openSingleWebview.js +0 -2
  62. package/es/api/biz/util/openSlidePanel.js +0 -2
  63. package/es/api/biz/util/openTalYoungToTopic.js +0 -2
  64. package/es/api/biz/util/openTogetherEyeWebview.js +0 -2
  65. package/es/api/biz/util/openUserSchedule.js +0 -2
  66. package/es/api/biz/util/openVideoPlayer.js +0 -2
  67. package/es/api/biz/util/previewFile.js +0 -2
  68. package/es/api/biz/util/previewImage.js +0 -2
  69. package/es/api/biz/util/proxy.js +0 -2
  70. package/es/api/biz/util/pushWorkMsg.js +0 -2
  71. package/es/api/biz/util/remind.js +0 -2
  72. package/es/api/biz/util/resetSessionUnread.js +0 -2
  73. package/es/api/biz/util/rouseApp.js +0 -2
  74. package/es/api/biz/util/savePic.js +0 -2
  75. package/es/api/biz/util/scan.js +0 -2
  76. package/es/api/biz/util/screen.js +0 -2
  77. package/es/api/biz/util/selectDepartment.js +0 -2
  78. package/es/api/biz/util/share.js +0 -2
  79. package/es/api/biz/util/takePicture.js +0 -2
  80. package/es/api/biz/util/topicEvent.js +0 -2
  81. package/es/api/biz/util/uploadAttachment.js +0 -2
  82. package/es/api/biz/util/weeklyRead.js +0 -2
  83. package/es/api/biz/util/yachEvent.js +0 -2
  84. package/es/api/biz/util/zfbAuth.js +0 -2
  85. package/es/api/biz/webViewMessage/send.js +0 -2
  86. package/es/api/device/audio/download.js +0 -2
  87. package/es/api/device/audio/onPlayEnd.js +0 -2
  88. package/es/api/device/audio/onRecordEnd.js +0 -2
  89. package/es/api/device/audio/onRecordEnd_v2.js +0 -2
  90. package/es/api/device/audio/pause.js +0 -2
  91. package/es/api/device/audio/play.js +0 -2
  92. package/es/api/device/audio/resume.js +0 -2
  93. package/es/api/device/audio/startRecord.js +0 -2
  94. package/es/api/device/audio/startRecord_v2.js +0 -2
  95. package/es/api/device/audio/stop.js +0 -2
  96. package/es/api/device/audio/stopRecord.js +0 -2
  97. package/es/api/device/audio/stopRecord_v2.js +0 -2
  98. package/es/api/device/base/checkStepPermission.js +0 -2
  99. package/es/api/device/base/getPhoneInfo.js +0 -2
  100. package/es/api/device/base/getUUID.js +0 -2
  101. package/es/api/device/connection/getNetworkType.js +0 -2
  102. package/es/api/device/connection/isAtTal.js +2 -4
  103. package/es/api/device/geolocation/get.js +0 -2
  104. package/es/api/device/geolocation/getSwitch.js +0 -2
  105. package/es/api/device/notification/actionSheet.js +0 -2
  106. package/es/api/device/notification/alert.js +0 -2
  107. package/es/api/device/notification/confirm.js +0 -2
  108. package/es/api/device/notification/hidePreloader.js +0 -4
  109. package/es/api/device/notification/showPreloader.js +0 -4
  110. package/es/api/device/notification/toast.js +0 -2
  111. package/es/api/device/notification/vibrate.js +0 -2
  112. package/es/api/device/system/getLang.js +0 -2
  113. package/es/api/device/system/setLight.js +0 -2
  114. package/es/api/initAPI.js +3 -5
  115. package/es/api/primary/createTab.js +0 -2
  116. package/es/api/primary/exitFullScreen.js +0 -2
  117. package/es/api/primary/fullScreen.js +0 -2
  118. package/es/api/primary/weeklyShare.js +0 -2
  119. package/es/api/runtime/permission/requestAuthCode.js +0 -2
  120. package/es/api/ui/pullToRefresh/disable.js +0 -2
  121. package/es/api/ui/pullToRefresh/enable.js +0 -2
  122. package/es/api/ui/pullToRefresh/stop.js +0 -2
  123. package/es/api/ui/webViewBounce/disable.js +0 -2
  124. package/es/api/util/domainStorage/getItem.js +0 -2
  125. package/es/api/util/domainStorage/removeItem.js +0 -2
  126. package/es/api/util/domainStorage/setItem.js +0 -2
  127. package/es/api/util/tool/flushLog.js +0 -2
  128. package/es/api/util/tool/log.js +0 -2
  129. package/es/index.d.ts +3 -1
  130. package/es/index.js +19 -28
  131. package/es/lib/bridge/mobile.js +12 -28
  132. package/es/lib/bridge/pc.js +11 -19
  133. package/es/lib/helper/apiHelper.js +0 -2
  134. package/es/lib/helper/codeMap.js +0 -2
  135. package/es/lib/helper/event.js +7 -19
  136. package/es/lib/helper/pcIframe.js +21 -51
  137. package/es/lib/index.js +8 -22
  138. package/es/lib/sdk/index.js +17 -39
  139. package/es/lib/sdk/sdk.typings.js +0 -1
  140. package/es/utils/bpitLog.js +4 -13
  141. package/es/utils/compareVersions.js +26 -53
  142. package/es/utils/console.js +1 -17
  143. package/es/utils/env.js +12 -19
  144. package/es/utils/index.js +1 -6
  145. package/libs/api/app/custom/talYoungFilesUpload.js +2 -7
  146. package/libs/api/biz/chat/chooseConversationByCorpId.js +1 -7
  147. package/libs/api/biz/chat/openSingleChat.js +1 -7
  148. package/libs/api/biz/chat/openSquad.js +1 -7
  149. package/libs/api/biz/chat/openTeamChat.js +1 -7
  150. package/libs/api/biz/chat/pickConversation.js +1 -7
  151. package/libs/api/biz/chat/sendP2PMsg.js +1 -7
  152. package/libs/api/biz/contact/complexPicker.js +1 -7
  153. package/libs/api/biz/contact/departmentsPicker.js +1 -7
  154. package/libs/api/biz/group/groupComplexPicker.js +1 -7
  155. package/libs/api/biz/map/multipointView.js +1 -7
  156. package/libs/api/biz/map/view.js +1 -7
  157. package/libs/api/biz/navigation/close.js +1 -7
  158. package/libs/api/biz/navigation/goBack.js +1 -7
  159. package/libs/api/biz/navigation/quit.js +1 -7
  160. package/libs/api/biz/navigation/replace.js +1 -7
  161. package/libs/api/biz/navigation/setIcon.js +1 -8
  162. package/libs/api/biz/navigation/setLeft.js +1 -8
  163. package/libs/api/biz/navigation/setMenu.js +1 -8
  164. package/libs/api/biz/navigation/setPanGestureEnable.js +1 -8
  165. package/libs/api/biz/navigation/setRight.js +1 -8
  166. package/libs/api/biz/navigation/setTitle.js +1 -7
  167. package/libs/api/biz/navigation/setTitleExpandIcon.js +1 -8
  168. package/libs/api/biz/navigation/setWindowBig.js +2 -7
  169. package/libs/api/biz/navigation/tencentMeeting.js +1 -7
  170. package/libs/api/biz/navigation/tencentMeetingBegin.js +1 -7
  171. package/libs/api/biz/navigation/updateExpandTitle.js +1 -7
  172. package/libs/api/biz/telephone/call.js +1 -7
  173. package/libs/api/biz/telephone/showCallMenu.js +1 -7
  174. package/libs/api/biz/util/addAppToNav.js +1 -7
  175. package/libs/api/biz/util/assistantCreate.js +1 -7
  176. package/libs/api/biz/util/authFinish.js +1 -7
  177. package/libs/api/biz/util/authStart.js +1 -7
  178. package/libs/api/biz/util/chosen.js +1 -7
  179. package/libs/api/biz/util/clipboardFileUpload.js +1 -7
  180. package/libs/api/biz/util/closeWindow.js +1 -7
  181. package/libs/api/biz/util/complain.js +1 -7
  182. package/libs/api/biz/util/createModifySchedule.js +1 -7
  183. package/libs/api/biz/util/datepicker.js +1 -7
  184. package/libs/api/biz/util/datetimepicker.js +1 -7
  185. package/libs/api/biz/util/disableScreenCapture.js +1 -7
  186. package/libs/api/biz/util/downloadFile.js +1 -7
  187. package/libs/api/biz/util/entergroupCheck.js +1 -7
  188. package/libs/api/biz/util/externalLinkPreviewFile.js +1 -7
  189. package/libs/api/biz/util/feedback.js +1 -7
  190. package/libs/api/biz/util/getSingleWebviewData.js +1 -7
  191. package/libs/api/biz/util/getTogetherConfig.js +1 -7
  192. package/libs/api/biz/util/getToken.js +1 -7
  193. package/libs/api/biz/util/injectScript.js +1 -7
  194. package/libs/api/biz/util/invoice.js +2 -7
  195. package/libs/api/biz/util/knowledgeBaseSelect.js +10 -8
  196. package/libs/api/biz/util/knowledgeSelectParams.d.ts +12 -0
  197. package/libs/api/biz/util/knowledgeSelectParams.js +26 -0
  198. package/libs/api/biz/util/mediaFileUpload.js +2 -7
  199. package/libs/api/biz/util/onlineDocmentOpenTeamChat.js +1 -7
  200. package/libs/api/biz/util/open.js +1 -7
  201. package/libs/api/biz/util/openFutureGroup.js +1 -7
  202. package/libs/api/biz/util/openLink.js +1 -7
  203. package/libs/api/biz/util/openMediaFileDialog.js +2 -7
  204. package/libs/api/biz/util/openSingleWebview.js +1 -7
  205. package/libs/api/biz/util/openSlidePanel.js +1 -7
  206. package/libs/api/biz/util/openTalYoungToTopic.js +2 -7
  207. package/libs/api/biz/util/openTogetherEyeWebview.js +1 -7
  208. package/libs/api/biz/util/openUserSchedule.js +1 -7
  209. package/libs/api/biz/util/openVideoPlayer.js +1 -7
  210. package/libs/api/biz/util/previewFile.js +1 -7
  211. package/libs/api/biz/util/previewImage.js +1 -7
  212. package/libs/api/biz/util/proxy.js +1 -7
  213. package/libs/api/biz/util/pushWorkMsg.js +2 -7
  214. package/libs/api/biz/util/remind.js +1 -7
  215. package/libs/api/biz/util/resetSessionUnread.js +1 -7
  216. package/libs/api/biz/util/rouseApp.js +2 -7
  217. package/libs/api/biz/util/savePic.js +1 -7
  218. package/libs/api/biz/util/scan.js +1 -7
  219. package/libs/api/biz/util/screen.js +1 -7
  220. package/libs/api/biz/util/selectDepartment.js +1 -7
  221. package/libs/api/biz/util/share.js +1 -7
  222. package/libs/api/biz/util/takePicture.js +1 -7
  223. package/libs/api/biz/util/topicEvent.js +1 -7
  224. package/libs/api/biz/util/uploadAttachment.js +1 -7
  225. package/libs/api/biz/util/weeklyRead.js +1 -7
  226. package/libs/api/biz/util/yachEvent.js +1 -7
  227. package/libs/api/biz/util/zfbAuth.js +1 -7
  228. package/libs/api/biz/webViewMessage/send.js +1 -7
  229. package/libs/api/device/audio/download.js +1 -7
  230. package/libs/api/device/audio/onPlayEnd.js +1 -7
  231. package/libs/api/device/audio/onRecordEnd.js +1 -7
  232. package/libs/api/device/audio/onRecordEnd_v2.js +1 -7
  233. package/libs/api/device/audio/pause.js +1 -7
  234. package/libs/api/device/audio/play.js +1 -7
  235. package/libs/api/device/audio/resume.js +1 -7
  236. package/libs/api/device/audio/startRecord.js +1 -7
  237. package/libs/api/device/audio/startRecord_v2.js +1 -7
  238. package/libs/api/device/audio/stop.js +1 -7
  239. package/libs/api/device/audio/stopRecord.js +1 -7
  240. package/libs/api/device/audio/stopRecord_v2.js +1 -7
  241. package/libs/api/device/base/checkStepPermission.js +1 -7
  242. package/libs/api/device/base/getPhoneInfo.js +1 -7
  243. package/libs/api/device/base/getUUID.js +1 -7
  244. package/libs/api/device/connection/getNetworkType.js +1 -7
  245. package/libs/api/device/connection/isAtTal.js +3 -9
  246. package/libs/api/device/geolocation/get.js +1 -7
  247. package/libs/api/device/geolocation/getSwitch.js +1 -7
  248. package/libs/api/device/notification/actionSheet.js +1 -7
  249. package/libs/api/device/notification/alert.js +1 -7
  250. package/libs/api/device/notification/confirm.js +1 -7
  251. package/libs/api/device/notification/hidePreloader.js +2 -10
  252. package/libs/api/device/notification/showPreloader.js +2 -10
  253. package/libs/api/device/notification/toast.js +1 -7
  254. package/libs/api/device/notification/vibrate.js +1 -7
  255. package/libs/api/device/system/getLang.js +1 -7
  256. package/libs/api/device/system/setLight.js +1 -7
  257. package/libs/api/initAPI.js +4 -13
  258. package/libs/api/primary/createTab.js +1 -7
  259. package/libs/api/primary/exitFullScreen.js +1 -7
  260. package/libs/api/primary/fullScreen.js +1 -7
  261. package/libs/api/primary/weeklyShare.js +1 -7
  262. package/libs/api/runtime/permission/requestAuthCode.js +1 -7
  263. package/libs/api/ui/pullToRefresh/disable.js +1 -7
  264. package/libs/api/ui/pullToRefresh/enable.js +1 -7
  265. package/libs/api/ui/pullToRefresh/stop.js +1 -7
  266. package/libs/api/ui/webViewBounce/disable.js +1 -7
  267. package/libs/api/util/domainStorage/getItem.js +1 -7
  268. package/libs/api/util/domainStorage/removeItem.js +1 -7
  269. package/libs/api/util/domainStorage/setItem.js +1 -7
  270. package/libs/api/util/tool/flushLog.js +1 -7
  271. package/libs/api/util/tool/log.js +1 -7
  272. package/libs/index.d.ts +3 -1
  273. package/libs/index.js +280 -527
  274. package/libs/lib/bridge/index.js +6 -13
  275. package/libs/lib/bridge/mobile.js +16 -50
  276. package/libs/lib/bridge/pc.js +16 -37
  277. package/libs/lib/helper/apiHelper.js +1 -7
  278. package/libs/lib/helper/codeMap.js +1 -7
  279. package/libs/lib/helper/event.js +8 -28
  280. package/libs/lib/helper/pcIframe.js +20 -58
  281. package/libs/lib/index.js +10 -34
  282. package/libs/lib/sdk/index.js +18 -49
  283. package/libs/lib/sdk/sdk.typings.js +0 -4
  284. package/libs/utils/bpitLog.js +4 -16
  285. package/libs/utils/compareVersions.js +32 -77
  286. package/libs/utils/console.js +2 -18
  287. package/libs/utils/env.js +12 -21
  288. package/libs/utils/index.js +8 -21
  289. package/package.json +1 -1
  290. package/dist/yach_jssdk_4.4.3.js +0 -1
@@ -14,12 +14,10 @@ var platform = {
14
14
  pc: pc
15
15
  };
16
16
  var apiName = 'biz.util.entergroupCheck';
17
-
18
17
  function entergroupCheck(params) {
19
18
  initAPI(apiName, {
20
19
  params: params,
21
20
  platform: platform
22
21
  });
23
22
  }
24
-
25
23
  export { entergroupCheck };
@@ -1,10 +1,8 @@
1
1
  import initAPI from '../../initAPI';
2
2
  var apiName = 'biz.util.externalLinkPreviewFile';
3
-
4
3
  function externalLinkPreviewFile(params) {
5
4
  initAPI(apiName, {
6
5
  params: params
7
6
  });
8
7
  }
9
-
10
8
  export { externalLinkPreviewFile };
@@ -1,10 +1,8 @@
1
1
  import initAPI from '../../initAPI';
2
2
  var apiName = 'biz.util.feedback';
3
-
4
3
  function feedback(params) {
5
4
  initAPI(apiName, {
6
5
  params: params
7
6
  });
8
7
  }
9
-
10
8
  export { feedback };
@@ -1,10 +1,8 @@
1
1
  import initAPI from '../../initAPI';
2
2
  var apiName = 'biz.util.getSingleWebviewData';
3
-
4
3
  function getSingleWebviewData(params) {
5
4
  initAPI(apiName, {
6
5
  params: params
7
6
  });
8
7
  }
9
-
10
8
  export { getSingleWebviewData };
@@ -14,12 +14,10 @@ var platform = {
14
14
  android: android,
15
15
  pc: pc
16
16
  };
17
-
18
17
  function getTogetherConfig(params) {
19
18
  initAPI(apiName, {
20
19
  params: params,
21
20
  platform: platform
22
21
  });
23
22
  }
24
-
25
23
  export { getTogetherConfig };
@@ -10,12 +10,10 @@ var platform = {
10
10
  ios: ios,
11
11
  android: android
12
12
  };
13
-
14
13
  function getToken(params) {
15
14
  initAPI(apiName, {
16
15
  params: params,
17
16
  platform: platform
18
17
  });
19
18
  }
20
-
21
19
  export { getToken };
@@ -1,10 +1,8 @@
1
1
  import initAPI from '../../initAPI';
2
2
  var apiName = 'biz.util.injectScript';
3
-
4
3
  function injectScript(params) {
5
4
  initAPI(apiName, {
6
5
  params: params
7
6
  });
8
7
  }
9
-
10
8
  export { injectScript };
@@ -7,11 +7,9 @@
7
7
  */
8
8
  import initAPI from '../../initAPI';
9
9
  var apiName = 'biz.util.invoice';
10
-
11
10
  function invoice(params) {
12
11
  initAPI(apiName, {
13
12
  params: params
14
13
  });
15
14
  }
16
-
17
15
  export { invoice };
@@ -2,16 +2,22 @@ import initAPI from '../../initAPI';
2
2
  var pc = {
3
3
  vs: '1.8.8'
4
4
  };
5
+ var ios = {
6
+ vs: '1.9.12'
7
+ };
8
+ var android = {
9
+ vs: '1.9.12'
10
+ };
5
11
  var platform = {
6
- pc: pc
12
+ pc: pc,
13
+ ios: ios,
14
+ android: android
7
15
  };
8
16
  var apiName = 'biz.util.knowledgeBaseSelect';
9
-
10
17
  function knowledgeBaseSelect(params) {
11
18
  initAPI(apiName, {
12
19
  params: params,
13
20
  platform: platform
14
21
  });
15
22
  }
16
-
17
23
  export { knowledgeBaseSelect };
@@ -0,0 +1,12 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface KnowledgeSelectParamsParamsResult {
3
+ code: number;
4
+ message: string;
5
+ data: any;
6
+ }
7
+ export interface KnowledgeSelectParamsParams {
8
+ onSuccess?: (res: KnowledgeSelectParamsParamsResult) => void;
9
+ onFail?: (err: IError) => void;
10
+ }
11
+ declare function knowledgeSelectParams(params: KnowledgeSelectParamsParams): void;
12
+ export { knowledgeSelectParams };
@@ -0,0 +1,19 @@
1
+ import initAPI from '../../initAPI';
2
+ var ios = {
3
+ vs: '1.9.12'
4
+ };
5
+ var android = {
6
+ vs: '1.9.12'
7
+ };
8
+ var platform = {
9
+ ios: ios,
10
+ android: android
11
+ };
12
+ var apiName = 'biz.util.knowledgeSelectParams';
13
+ function knowledgeSelectParams(params) {
14
+ initAPI(apiName, {
15
+ params: params,
16
+ platform: platform
17
+ });
18
+ }
19
+ export { knowledgeSelectParams };
@@ -7,11 +7,9 @@
7
7
  */
8
8
  import initAPI from '../../initAPI';
9
9
  var apiName = 'biz.util.mediaFileUpload';
10
-
11
10
  function mediaFileUpload(params) {
12
11
  initAPI(apiName, {
13
12
  params: params
14
13
  });
15
14
  }
16
-
17
15
  export { mediaFileUpload };
@@ -14,12 +14,10 @@ var platform = {
14
14
  pc: pc
15
15
  };
16
16
  var apiName = 'onlineDocmentOpenTeamChat';
17
-
18
17
  function onlineDocmentOpenTeamChat(params) {
19
18
  initAPI(apiName, {
20
19
  params: params,
21
20
  platform: platform
22
21
  });
23
22
  }
24
-
25
23
  export { onlineDocmentOpenTeamChat };
@@ -1,10 +1,8 @@
1
1
  import initAPI from '../../initAPI';
2
2
  var apiName = 'biz.util.open';
3
-
4
3
  function open(params) {
5
4
  initAPI(apiName, {
6
5
  params: params
7
6
  });
8
7
  }
9
-
10
8
  export { open };
@@ -14,12 +14,10 @@ var platform = {
14
14
  android: android
15
15
  };
16
16
  var apiName = 'biz.util.openFutureGroup';
17
-
18
17
  function openFutureGroup(params) {
19
18
  initAPI(apiName, {
20
19
  params: params,
21
20
  platform: platform
22
21
  });
23
22
  }
24
-
25
23
  export { openFutureGroup };
@@ -1,10 +1,8 @@
1
1
  import initAPI from '../../initAPI';
2
2
  var apiName = 'biz.util.openLink';
3
-
4
3
  function openLink(params) {
5
4
  initAPI(apiName, {
6
5
  params: params
7
6
  });
8
7
  }
9
-
10
8
  export { openLink };
@@ -7,11 +7,9 @@
7
7
  */
8
8
  import initAPI from '../../initAPI';
9
9
  var apiName = 'biz.util.openMediaFileDialog';
10
-
11
10
  function openMediaFileDialog(params) {
12
11
  initAPI(apiName, {
13
12
  params: params
14
13
  });
15
14
  }
16
-
17
15
  export { openMediaFileDialog };
@@ -6,12 +6,10 @@ var pc = {
6
6
  var platform = {
7
7
  pc: pc
8
8
  };
9
-
10
9
  function openSingleWebview(params) {
11
10
  initAPI(apiName, {
12
11
  params: params,
13
12
  platform: platform
14
13
  });
15
14
  }
16
-
17
15
  export { openSingleWebview };
@@ -6,12 +6,10 @@ var pc = {
6
6
  var platform = {
7
7
  pc: pc
8
8
  };
9
-
10
9
  function openSlidePanel(params) {
11
10
  initAPI(apiName, {
12
11
  params: params,
13
12
  platform: platform
14
13
  });
15
14
  }
16
-
17
15
  export { openSlidePanel };
@@ -7,11 +7,9 @@
7
7
  */
8
8
  import initAPI from '../../initAPI';
9
9
  var apiName = 'biz.util.openTalYoungToTopic';
10
-
11
10
  function openTalYoungToTopic(params) {
12
11
  initAPI(apiName, {
13
12
  params: params
14
13
  });
15
14
  }
16
-
17
15
  export { openTalYoungToTopic };
@@ -14,12 +14,10 @@ var platform = {
14
14
  android: android,
15
15
  pc: pc
16
16
  };
17
-
18
17
  function openTogetherEyeWebview(params) {
19
18
  initAPI(apiName, {
20
19
  params: params,
21
20
  platform: platform
22
21
  });
23
22
  }
24
-
25
23
  export { openTogetherEyeWebview };
@@ -14,12 +14,10 @@ var platform = {
14
14
  android: android,
15
15
  pc: pc
16
16
  };
17
-
18
17
  function openUserSchedule(params) {
19
18
  initAPI(apiName, {
20
19
  params: params,
21
20
  platform: platform
22
21
  });
23
22
  }
24
-
25
23
  export { openUserSchedule };
@@ -14,12 +14,10 @@ var platform = {
14
14
  ios: ios,
15
15
  android: android
16
16
  };
17
-
18
17
  function openVideoPlayer(params) {
19
18
  initAPI(apiName, {
20
19
  params: params,
21
20
  platform: platform
22
21
  });
23
22
  }
24
-
25
23
  export { openVideoPlayer };
@@ -1,10 +1,8 @@
1
1
  import initAPI from '../../initAPI';
2
2
  var apiName = 'biz.util.previewFile';
3
-
4
3
  function previewFile(params) {
5
4
  initAPI(apiName, {
6
5
  params: params
7
6
  });
8
7
  }
9
-
10
8
  export { previewFile };
@@ -1,10 +1,8 @@
1
1
  import initAPI from '../../initAPI';
2
2
  var apiName = 'biz.util.previewImage';
3
-
4
3
  function previewImage(params) {
5
4
  initAPI(apiName, {
6
5
  params: params
7
6
  });
8
7
  }
9
-
10
8
  export { previewImage };
@@ -1,10 +1,8 @@
1
1
  import initAPI from '../../initAPI';
2
2
  var apiName = 'biz.util.proxy';
3
-
4
3
  function proxy(params) {
5
4
  initAPI(apiName, {
6
5
  params: params
7
6
  });
8
7
  }
9
-
10
8
  export { proxy };
@@ -7,11 +7,9 @@
7
7
  */
8
8
  import initAPI from '../../initAPI';
9
9
  var apiName = 'biz.util.pushWorkMsg';
10
-
11
10
  function pushWorkMsg(params) {
12
11
  initAPI(apiName, {
13
12
  params: params
14
13
  });
15
14
  }
16
-
17
15
  export { pushWorkMsg };
@@ -14,12 +14,10 @@ var platform = {
14
14
  android: android,
15
15
  pc: pc
16
16
  };
17
-
18
17
  function remind(params) {
19
18
  initAPI(apiName, {
20
19
  params: params,
21
20
  platform: platform
22
21
  });
23
22
  }
24
-
25
23
  export { remind };
@@ -12,12 +12,10 @@ var platform = {
12
12
  pc: pc
13
13
  };
14
14
  var apiName = 'biz.util.resetSessionUnread';
15
-
16
15
  function resetSessionUnread(params) {
17
16
  initAPI(apiName, {
18
17
  params: params,
19
18
  platform: platform
20
19
  });
21
20
  }
22
-
23
21
  export { resetSessionUnread };
@@ -7,11 +7,9 @@
7
7
  */
8
8
  import initAPI from '../../initAPI';
9
9
  var apiName = 'biz.util.rouseApp';
10
-
11
10
  function rouseApp(params) {
12
11
  initAPI(apiName, {
13
12
  params: params
14
13
  });
15
14
  }
16
-
17
15
  export { rouseApp };
@@ -10,12 +10,10 @@ var platform = {
10
10
  ios: ios,
11
11
  android: android
12
12
  };
13
-
14
13
  function savePic(params) {
15
14
  initAPI(apiName, {
16
15
  params: params,
17
16
  platform: platform
18
17
  });
19
18
  }
20
-
21
19
  export { savePic };
@@ -10,12 +10,10 @@ var platform = {
10
10
  ios: ios,
11
11
  android: android
12
12
  };
13
-
14
13
  function scan(params) {
15
14
  initAPI(apiName, {
16
15
  params: params,
17
16
  platform: platform
18
17
  });
19
18
  }
20
-
21
19
  export { scan };
@@ -6,12 +6,10 @@ var pc = {
6
6
  var platform = {
7
7
  pc: pc
8
8
  };
9
-
10
9
  function capturePage(params) {
11
10
  initAPI(apiName, {
12
11
  params: params,
13
12
  platform: platform
14
13
  });
15
14
  }
16
-
17
15
  export { capturePage };
@@ -1,10 +1,8 @@
1
1
  import initAPI from '../../initAPI';
2
2
  var apiName = 'biz.util.selectDepartment';
3
-
4
3
  function selectDepartment(params) {
5
4
  initAPI(apiName, {
6
5
  params: params
7
6
  });
8
7
  }
9
-
10
8
  export { selectDepartment };
@@ -10,12 +10,10 @@ var platform = {
10
10
  ios: ios,
11
11
  android: android
12
12
  };
13
-
14
13
  function share(params) {
15
14
  initAPI(apiName, {
16
15
  params: params,
17
16
  platform: platform
18
17
  });
19
18
  }
20
-
21
19
  export { share };
@@ -1,10 +1,8 @@
1
1
  import initAPI from '../../initAPI';
2
2
  var apiName = 'biz.util.takePicture';
3
-
4
3
  function takePicture(params) {
5
4
  initAPI(apiName, {
6
5
  params: params
7
6
  });
8
7
  }
9
-
10
8
  export { takePicture };
@@ -18,12 +18,10 @@ var platform = {
18
18
  * 话题群 公共事件
19
19
  * @param params
20
20
  */
21
-
22
21
  function topicEvent(params) {
23
22
  initAPI(apiName, {
24
23
  params: params,
25
24
  platform: platform
26
25
  });
27
26
  }
28
-
29
27
  export { topicEvent };
@@ -1,10 +1,8 @@
1
1
  import initAPI from '../../initAPI';
2
2
  var apiName = 'biz.util.uploadAttachment';
3
-
4
3
  function uploadAttachment(params) {
5
4
  initAPI(apiName, {
6
5
  params: params
7
6
  });
8
7
  }
9
-
10
8
  export { uploadAttachment };
@@ -14,12 +14,10 @@ var platform = {
14
14
  android: android
15
15
  };
16
16
  var apiName = 'biz.util.weeklyRead';
17
-
18
17
  function weeklyRead(params) {
19
18
  initAPI(apiName, {
20
19
  params: params,
21
20
  platform: platform
22
21
  });
23
22
  }
24
-
25
23
  export { weeklyRead };
@@ -18,12 +18,10 @@ var platform = {
18
18
  * yach 公共事件,可处理不同业务类型
19
19
  * @param params
20
20
  */
21
-
22
21
  function yachEvent(params) {
23
22
  initAPI(apiName, {
24
23
  params: params,
25
24
  platform: platform
26
25
  });
27
26
  }
28
-
29
27
  export { yachEvent };
@@ -10,12 +10,10 @@ var platform = {
10
10
  ios: ios,
11
11
  android: android
12
12
  };
13
-
14
13
  function zfbAuth(params) {
15
14
  initAPI(apiName, {
16
15
  params: params,
17
16
  platform: platform
18
17
  });
19
18
  }
20
-
21
19
  export { zfbAuth };
@@ -6,12 +6,10 @@ var platform = {
6
6
  ios: ios
7
7
  };
8
8
  var apiName = 'biz.webViewMessage.send';
9
-
10
9
  function send(params) {
11
10
  initAPI(apiName, {
12
11
  params: params,
13
12
  platform: platform
14
13
  });
15
14
  }
16
-
17
15
  export { send };
@@ -10,12 +10,10 @@ var platform = {
10
10
  ios: ios,
11
11
  android: android
12
12
  };
13
-
14
13
  function download(params) {
15
14
  initAPI(apiName, {
16
15
  params: params,
17
16
  platform: platform
18
17
  });
19
18
  }
20
-
21
19
  export { download };
@@ -10,12 +10,10 @@ var platform = {
10
10
  ios: ios,
11
11
  android: android
12
12
  };
13
-
14
13
  function onPlayEnd(params) {
15
14
  initAPI(apiName, {
16
15
  params: params,
17
16
  platform: platform
18
17
  });
19
18
  }
20
-
21
19
  export { onPlayEnd };
@@ -10,12 +10,10 @@ var platform = {
10
10
  ios: ios,
11
11
  android: android
12
12
  };
13
-
14
13
  function onRecordEnd(params) {
15
14
  initAPI(apiName, {
16
15
  params: params,
17
16
  platform: platform
18
17
  });
19
18
  }
20
-
21
19
  export { onRecordEnd };
@@ -10,12 +10,10 @@ var platform = {
10
10
  ios: ios,
11
11
  android: android
12
12
  };
13
-
14
13
  function onRecordEnd_v2(params) {
15
14
  initAPI(apiName, {
16
15
  params: params,
17
16
  platform: platform
18
17
  });
19
18
  }
20
-
21
19
  export { onRecordEnd_v2 };
@@ -10,12 +10,10 @@ var platform = {
10
10
  ios: ios,
11
11
  android: android
12
12
  };
13
-
14
13
  function pause(params) {
15
14
  initAPI(apiName, {
16
15
  params: params,
17
16
  platform: platform
18
17
  });
19
18
  }
20
-
21
19
  export { pause };
@@ -10,12 +10,10 @@ var platform = {
10
10
  ios: ios,
11
11
  android: android
12
12
  };
13
-
14
13
  function play(params) {
15
14
  initAPI(apiName, {
16
15
  params: params,
17
16
  platform: platform
18
17
  });
19
18
  }
20
-
21
19
  export { play };
@@ -10,12 +10,10 @@ var platform = {
10
10
  ios: ios,
11
11
  android: android
12
12
  };
13
-
14
13
  function resume(params) {
15
14
  initAPI(apiName, {
16
15
  params: params,
17
16
  platform: platform
18
17
  });
19
18
  }
20
-
21
19
  export { resume };