bx-rest 0.5.2 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/README.md +95 -52
  2. package/esm2022/map/app.mjs +5 -15
  3. package/esm2022/map/calendar/event.mjs +28 -38
  4. package/esm2022/map/calendar.mjs +2 -12
  5. package/esm2022/map/department.mjs +2 -12
  6. package/esm2022/map/disk/attachedObject.mjs +13 -22
  7. package/esm2022/map/disk/base.mjs +45 -55
  8. package/esm2022/map/disk/file.mjs +5 -15
  9. package/esm2022/map/disk/folder.mjs +5 -15
  10. package/esm2022/map/disk/storage.mjs +11 -17
  11. package/esm2022/map/lists/element.mjs +7 -17
  12. package/esm2022/map/lists/field.mjs +2 -12
  13. package/esm2022/map/lists.mjs +42 -53
  14. package/esm2022/map/log/blogpost.mjs +30 -40
  15. package/esm2022/map/log.mjs +2 -12
  16. package/esm2022/map/rest.mjs +5 -15
  17. package/esm2022/map/server.mjs +5 -15
  18. package/esm2022/map/socialnetwork/api/livefeed/blogpost/important.mjs +9 -0
  19. package/esm2022/map/sonet_group.mjs +13 -23
  20. package/esm2022/map/task/commentitem.mjs +17 -27
  21. package/esm2022/map/task/elapseditem.mjs +16 -26
  22. package/esm2022/map/task/item/userfield.mjs +5 -15
  23. package/esm2022/map/task/planner.mjs +5 -15
  24. package/esm2022/map/task/stages.mjs +7 -17
  25. package/esm2022/map/task.mjs +4 -14
  26. package/esm2022/map/tasks/task/result.mjs +10 -20
  27. package/esm2022/map/tasks/task.mjs +41 -52
  28. package/esm2022/map/tasks.mjs +2 -12
  29. package/esm2022/map/timeman.mjs +2 -12
  30. package/esm2022/map/user.mjs +22 -32
  31. package/esm2022/public-api.mjs +7 -5
  32. package/esm2022/request/app.mjs +2 -12
  33. package/esm2022/request/bizproc/activity.mjs +1 -11
  34. package/esm2022/request/bizproc/event.mjs +1 -11
  35. package/esm2022/request/bizproc/robot.mjs +1 -11
  36. package/esm2022/request/bizproc/task.mjs +1 -11
  37. package/esm2022/request/bizproc/workflow/instance.mjs +1 -11
  38. package/esm2022/request/bizproc/workflow/template.mjs +1 -12
  39. package/esm2022/request/bizproc/workflow.mjs +4 -14
  40. package/esm2022/request/bizproc.mjs +6 -16
  41. package/esm2022/request/calendar/event.mjs +2 -12
  42. package/esm2022/request/calendar.mjs +2 -12
  43. package/esm2022/request/department.mjs +4 -19
  44. package/esm2022/request/disk/attachedObject.mjs +2 -12
  45. package/esm2022/request/disk/file.mjs +2 -12
  46. package/esm2022/request/disk/folder.mjs +2 -12
  47. package/esm2022/request/disk/storage.mjs +2 -12
  48. package/esm2022/request/disk.mjs +4 -14
  49. package/esm2022/request/im/chat.mjs +2 -12
  50. package/esm2022/request/im.mjs +2 -12
  51. package/esm2022/request/lists/element.mjs +2 -12
  52. package/esm2022/request/lists/field.mjs +28 -15
  53. package/esm2022/request/lists.mjs +74 -17
  54. package/esm2022/request/log/blogcomment.mjs +1 -11
  55. package/esm2022/request/log/blogpost.mjs +2 -12
  56. package/esm2022/request/log.mjs +3 -13
  57. package/esm2022/request/server.mjs +2 -12
  58. package/esm2022/request/socialnetwork/api/contentview.mjs +12 -0
  59. package/esm2022/request/socialnetwork/api/livefeed/blogpost/important.mjs +12 -0
  60. package/esm2022/request/socialnetwork/api/livefeed/blogpost.mjs +7 -0
  61. package/esm2022/request/socialnetwork/api/livefeed.mjs +7 -0
  62. package/esm2022/request/socialnetwork/api.mjs +9 -0
  63. package/esm2022/request/socialnetwork.mjs +9 -0
  64. package/esm2022/request/sonet_group.mjs +2 -12
  65. package/esm2022/request/task/commentitem.mjs +2 -12
  66. package/esm2022/request/task/elapseditem.mjs +2 -12
  67. package/esm2022/request/task/item/userfield.mjs +2 -12
  68. package/esm2022/request/task/item.mjs +2 -12
  69. package/esm2022/request/task/planner.mjs +2 -12
  70. package/esm2022/request/task.mjs +5 -15
  71. package/esm2022/request/tasks/task/result.mjs +2 -12
  72. package/esm2022/request/tasks/task.mjs +3 -13
  73. package/esm2022/request/tasks.mjs +2 -12
  74. package/esm2022/request/timeman.mjs +49 -14
  75. package/esm2022/request/user/userfield.mjs +2 -12
  76. package/esm2022/request/user.mjs +3 -13
  77. package/esm2022/request-navvy/app.mjs +3 -16
  78. package/esm2022/request-navvy/bizproc/workflow.mjs +4 -15
  79. package/esm2022/request-navvy/bizproc.mjs +8 -18
  80. package/esm2022/request-navvy/calendar/event.mjs +26 -16
  81. package/esm2022/request-navvy/calendar.mjs +2 -12
  82. package/esm2022/request-navvy/department.mjs +8 -19
  83. package/esm2022/request-navvy/disk/attachedObject.mjs +5 -17
  84. package/esm2022/request-navvy/disk/file.mjs +56 -17
  85. package/esm2022/request-navvy/disk/folder.mjs +30 -28
  86. package/esm2022/request-navvy/disk/operation/storage.mjs +55 -0
  87. package/esm2022/request-navvy/disk/operation.mjs +11 -21
  88. package/esm2022/request-navvy/disk/storage.mjs +24 -20
  89. package/esm2022/request-navvy/disk.mjs +5 -15
  90. package/esm2022/request-navvy/im/chat.mjs +16 -15
  91. package/esm2022/request-navvy/im.mjs +2 -12
  92. package/esm2022/request-navvy/lists/element.mjs +27 -17
  93. package/esm2022/request-navvy/lists/field.mjs +28 -16
  94. package/esm2022/request-navvy/lists.mjs +83 -18
  95. package/esm2022/request-navvy/log/blogcomment.mjs +1 -11
  96. package/esm2022/request-navvy/log/blogpost.mjs +30 -19
  97. package/esm2022/request-navvy/log.mjs +3 -13
  98. package/esm2022/request-navvy/server.mjs +7 -16
  99. package/esm2022/request-navvy/socialnetwork/api/contentview.mjs +11 -0
  100. package/esm2022/request-navvy/socialnetwork/api/livefeed/blogpost/important.mjs +15 -0
  101. package/esm2022/request-navvy/socialnetwork/api/livefeed/blogpost.mjs +7 -0
  102. package/esm2022/request-navvy/socialnetwork/api/livefeed.mjs +11 -0
  103. package/esm2022/request-navvy/socialnetwork/api.mjs +9 -0
  104. package/esm2022/request-navvy/socialnetwork.mjs +7 -0
  105. package/esm2022/request-navvy/sonet_group.mjs +42 -16
  106. package/esm2022/request-navvy/task/commentitem.mjs +10 -21
  107. package/esm2022/request-navvy/task/delegate/elapseditem.mjs +4 -16
  108. package/esm2022/request-navvy/task/elapseditem.mjs +40 -182
  109. package/esm2022/request-navvy/task/item/userfield.mjs +34 -16
  110. package/esm2022/request-navvy/task/item.mjs +2 -12
  111. package/esm2022/request-navvy/task/operation/elapseditem.mjs +146 -24
  112. package/esm2022/request-navvy/task/planner.mjs +7 -16
  113. package/esm2022/request-navvy/task.mjs +5 -15
  114. package/esm2022/request-navvy/tasks/task/result.mjs +20 -18
  115. package/esm2022/request-navvy/tasks/task.mjs +134 -40
  116. package/esm2022/request-navvy/tasks.mjs +2 -12
  117. package/esm2022/request-navvy/timeman.mjs +50 -16
  118. package/esm2022/request-navvy/user/userfield.mjs +28 -15
  119. package/esm2022/request-navvy/user.mjs +24 -33
  120. package/esm2022/rest/base.mjs +18 -26
  121. package/esm2022/rest/map.mjs +35 -13
  122. package/esm2022/rest/navvy.mjs +34 -42
  123. package/esm2022/services/base.mjs +123 -101
  124. package/esm2022/services/http/HttpBX.mjs +44 -43
  125. package/esm2022/services/http/HttpData.mjs +4 -43
  126. package/esm2022/services/http/base/base.mjs +1 -11
  127. package/esm2022/services/http/http.mjs +26 -34
  128. package/esm2022/services/http/httpNavvy.mjs +2 -12
  129. package/esm2022/services/http/sessionKey.mjs +14 -25
  130. package/esm2022/services/navvy/extends/navvy-pag-base.mjs +41 -0
  131. package/esm2022/services/navvy/navvy-alternative-pagination-navigation.mjs +83 -0
  132. package/esm2022/services/navvy/navvy-pag-nav-tasks.mjs +74 -0
  133. package/esm2022/services/navvy/navvy-pag-nav-with-useless-key.mjs +80 -0
  134. package/esm2022/services/navvy/navvy-pag.mjs +66 -0
  135. package/esm2022/services/navvy/navvy-simple.mjs +4 -0
  136. package/esm2022/services/navvy/navvy-support.mjs +15 -0
  137. package/esm2022/services/navvy.mjs +43 -23
  138. package/esm2022/services/vanilla/localStorage.mjs +1 -11
  139. package/esm2022/services/vanilla/sessionStorage.mjs +1 -11
  140. package/esm2022/services/vanilla//321/201ookies.mjs +1 -11
  141. package/esm2022/settings.mjs +17 -3
  142. package/esm2022/typification/base/answers.mjs +1 -1
  143. package/esm2022/typification/base/methods.mjs +44 -8
  144. package/esm2022/typification/base/params.mjs +1 -1
  145. package/esm2022/typification/base/workpiece/methods-list.mjs +1 -1
  146. package/esm2022/typification/base/workpiece/methods.mjs +1 -1
  147. package/esm2022/typification/rest/app/info.mjs +1 -1
  148. package/esm2022/typification/rest/base/api-pagination-bx.mjs +2 -0
  149. package/esm2022/typification/rest/base/filter-generator.mjs +2 -0
  150. package/esm2022/typification/rest/base/order-options.mjs +2 -0
  151. package/esm2022/typification/rest/base/yes-no.mjs +2 -0
  152. package/esm2022/typification/rest/batch.mjs +1 -1
  153. package/esm2022/typification/rest/calendar/get/answer.mjs +1 -1
  154. package/esm2022/typification/rest/department/get.mjs +1 -1
  155. package/esm2022/typification/rest/lists/element/get.mjs +1 -1
  156. package/esm2022/typification/rest/lists/field/get.mjs +1 -1
  157. package/esm2022/typification/rest/lists/get.mjs +1 -1
  158. package/esm2022/typification/rest/log/blogpost/add.mjs +1 -1
  159. package/esm2022/typification/rest/log/blogpost/essence.mjs +1 -1
  160. package/esm2022/typification/rest/log/blogpost/get.mjs +1 -1
  161. package/esm2022/typification/rest/socialnetwork/api/contentview/set.mjs +2 -0
  162. package/esm2022/typification/rest/socialnetwork/api/livefeed/blogpost/important/vote.mjs +2 -0
  163. package/esm2022/typification/rest/sonet_group/get.mjs +1 -1
  164. package/esm2022/typification/rest/task/commentitem/getlist.mjs +1 -1
  165. package/esm2022/typification/rest/task/elapseditem/get.mjs +1 -1
  166. package/esm2022/typification/rest/task/item/userfield/getlist.mjs +1 -1
  167. package/esm2022/typification/rest/tasks/base/fields-name.mjs +2 -0
  168. package/esm2022/typification/rest/tasks/base/filter-generator.mjs +2 -0
  169. package/esm2022/typification/rest/tasks/result/list.mjs +1 -1
  170. package/esm2022/typification/rest/tasks/task/add.mjs +1 -1
  171. package/esm2022/typification/rest/tasks/task/get.mjs +1 -1
  172. package/esm2022/typification/rest/tasks/task/getFields.mjs +1 -1
  173. package/esm2022/typification/rest/tasks/task/list.mjs +1 -1
  174. package/esm2022/typification/rest/tasks/task/update.mjs +1 -1
  175. package/esm2022/typification/rest/tasks/task.mjs +1 -1
  176. package/esm2022/typification/rest/user/get.mjs +1 -1
  177. package/esm2022/typification/rest/user/search.mjs +1 -1
  178. package/esm2022/typification/rest/user/user.mjs +1 -1
  179. package/esm2022/typification/rest/user/userfield/list.mjs +1 -1
  180. package/esm2022/typification/settings.mjs +1 -1
  181. package/fesm2022/bx-rest.mjs +2016 -2062
  182. package/fesm2022/bx-rest.mjs.map +1 -1
  183. package/map/app.d.ts +2 -6
  184. package/map/calendar/event.d.ts +3 -7
  185. package/map/calendar.d.ts +0 -3
  186. package/map/department.d.ts +1 -4
  187. package/map/disk/attachedObject.d.ts +4 -7
  188. package/map/disk/base.d.ts +5 -9
  189. package/map/disk/file.d.ts +1 -5
  190. package/map/disk/folder.d.ts +3 -6
  191. package/map/disk/storage.d.ts +6 -8
  192. package/map/lists/element.d.ts +2 -6
  193. package/map/lists/field.d.ts +1 -6
  194. package/map/lists.d.ts +3 -7
  195. package/map/log/blogpost.d.ts +5 -8
  196. package/map/log.d.ts +0 -3
  197. package/map/rest.d.ts +2 -6
  198. package/map/server.d.ts +2 -6
  199. package/map/socialnetwork/api/livefeed/blogpost/important.d.ts +4 -0
  200. package/map/sonet_group.d.ts +3 -7
  201. package/map/task/commentitem.d.ts +4 -8
  202. package/map/task/elapseditem.d.ts +4 -8
  203. package/map/task/item/userfield.d.ts +2 -6
  204. package/map/task/planner.d.ts +2 -6
  205. package/map/task/stages.d.ts +2 -6
  206. package/map/task.d.ts +0 -3
  207. package/map/tasks/task/result.d.ts +4 -8
  208. package/map/tasks/task.d.ts +8 -12
  209. package/map/tasks.d.ts +0 -3
  210. package/map/timeman.d.ts +1 -4
  211. package/map/user.d.ts +8 -12
  212. package/package.json +10 -12
  213. package/public-api.d.ts +6 -4
  214. package/request/app.d.ts +0 -3
  215. package/request/bizproc/activity.d.ts +0 -3
  216. package/request/bizproc/event.d.ts +0 -3
  217. package/request/bizproc/robot.d.ts +0 -3
  218. package/request/bizproc/task.d.ts +0 -3
  219. package/request/bizproc/workflow/instance.d.ts +0 -3
  220. package/request/bizproc/workflow/template.d.ts +0 -3
  221. package/request/bizproc/workflow.d.ts +1 -4
  222. package/request/bizproc.d.ts +0 -3
  223. package/request/calendar/event.d.ts +0 -3
  224. package/request/calendar.d.ts +0 -3
  225. package/request/department.d.ts +1 -9
  226. package/request/disk/attachedObject.d.ts +0 -3
  227. package/request/disk/file.d.ts +0 -3
  228. package/request/disk/folder.d.ts +0 -3
  229. package/request/disk/storage.d.ts +0 -3
  230. package/request/disk.d.ts +0 -3
  231. package/request/im/chat.d.ts +0 -3
  232. package/request/im.d.ts +0 -3
  233. package/request/lists/element.d.ts +1 -4
  234. package/request/lists/field.d.ts +7 -5
  235. package/request/lists.d.ts +23 -5
  236. package/request/log/blogcomment.d.ts +0 -3
  237. package/request/log/blogpost.d.ts +0 -3
  238. package/request/log.d.ts +0 -3
  239. package/request/server.d.ts +0 -3
  240. package/request/socialnetwork/api/contentview.d.ts +6 -0
  241. package/request/socialnetwork/api/livefeed/blogpost/important.d.ts +6 -0
  242. package/request/socialnetwork/api/livefeed/blogpost.d.ts +4 -0
  243. package/request/socialnetwork/api/livefeed.d.ts +4 -0
  244. package/request/socialnetwork/api.d.ts +6 -0
  245. package/request/socialnetwork.d.ts +4 -0
  246. package/request/sonet_group.d.ts +0 -3
  247. package/request/task/commentitem.d.ts +0 -3
  248. package/request/task/elapseditem.d.ts +0 -3
  249. package/request/task/item/userfield.d.ts +1 -4
  250. package/request/task/item.d.ts +0 -3
  251. package/request/task/planner.d.ts +0 -3
  252. package/request/task.d.ts +0 -3
  253. package/request/tasks/task/result.d.ts +0 -3
  254. package/request/tasks/task.d.ts +4 -7
  255. package/request/tasks.d.ts +0 -3
  256. package/request/timeman.d.ts +6 -4
  257. package/request/user/userfield.d.ts +0 -3
  258. package/request/user.d.ts +0 -3
  259. package/request-navvy/app.d.ts +1 -7
  260. package/request-navvy/bizproc/workflow.d.ts +1 -6
  261. package/request-navvy/bizproc.d.ts +1 -8
  262. package/request-navvy/calendar/event.d.ts +2 -8
  263. package/request-navvy/calendar.d.ts +0 -3
  264. package/request-navvy/department.d.ts +8 -12
  265. package/request-navvy/disk/attachedObject.d.ts +1 -8
  266. package/request-navvy/disk/file.d.ts +12 -8
  267. package/request-navvy/disk/folder.d.ts +26 -19
  268. package/request-navvy/disk/{interlayer → operation}/storage.d.ts +6 -4
  269. package/request-navvy/disk/operation.d.ts +0 -3
  270. package/request-navvy/disk/storage.d.ts +25 -11
  271. package/request-navvy/disk.d.ts +0 -3
  272. package/request-navvy/im/chat.d.ts +4 -6
  273. package/request-navvy/im.d.ts +0 -3
  274. package/request-navvy/lists/element.d.ts +12 -9
  275. package/request-navvy/lists/field.d.ts +8 -9
  276. package/request-navvy/lists.d.ts +24 -9
  277. package/request-navvy/log/blogcomment.d.ts +0 -3
  278. package/request-navvy/log/blogpost.d.ts +12 -10
  279. package/request-navvy/log.d.ts +0 -3
  280. package/request-navvy/server.d.ts +4 -8
  281. package/request-navvy/socialnetwork/api/contentview.d.ts +5 -0
  282. package/request-navvy/socialnetwork/api/livefeed/blogpost/important.d.ts +8 -0
  283. package/request-navvy/socialnetwork/api/livefeed/blogpost.d.ts +4 -0
  284. package/request-navvy/socialnetwork/api/livefeed.d.ts +4 -0
  285. package/request-navvy/socialnetwork/api.d.ts +6 -0
  286. package/request-navvy/socialnetwork.d.ts +4 -0
  287. package/request-navvy/sonet_group.d.ts +7 -8
  288. package/request-navvy/task/commentitem.d.ts +6 -11
  289. package/request-navvy/task/delegate/elapseditem.d.ts +1 -8
  290. package/request-navvy/task/elapseditem.d.ts +27 -16
  291. package/request-navvy/task/item/userfield.d.ts +12 -9
  292. package/request-navvy/task/item.d.ts +0 -3
  293. package/request-navvy/task/operation/elapseditem.d.ts +41 -6
  294. package/request-navvy/task/planner.d.ts +4 -8
  295. package/request-navvy/task.d.ts +0 -3
  296. package/request-navvy/tasks/task/result.d.ts +22 -11
  297. package/request-navvy/tasks/task.d.ts +71 -19
  298. package/request-navvy/tasks.d.ts +0 -3
  299. package/request-navvy/timeman.d.ts +8 -9
  300. package/request-navvy/user/userfield.d.ts +2 -6
  301. package/request-navvy/user.d.ts +16 -13
  302. package/rest/base.d.ts +3 -4
  303. package/rest/map.d.ts +17 -4
  304. package/rest/navvy.d.ts +4 -12
  305. package/services/base.d.ts +14 -21
  306. package/services/http/HttpBX.d.ts +1 -6
  307. package/services/http/HttpData.d.ts +2 -6
  308. package/services/http/base/base.d.ts +0 -3
  309. package/services/http/http.d.ts +3 -5
  310. package/services/http/httpNavvy.d.ts +0 -3
  311. package/services/http/sessionKey.d.ts +2 -5
  312. package/services/navvy/extends/navvy-pag-base.d.ts +19 -0
  313. package/services/{Navvy/NavvyAlternativePaginationNavigation.d.ts → navvy/navvy-alternative-pagination-navigation.d.ts} +5 -5
  314. package/services/navvy/navvy-pag-nav-tasks.d.ts +11 -0
  315. package/services/navvy/navvy-pag-nav-with-useless-key.d.ts +7 -0
  316. package/services/navvy/navvy-pag.d.ts +8 -0
  317. package/services/navvy/navvy-simple.d.ts +3 -0
  318. package/services/{Navvy/NavvySupport.d.ts → navvy/navvy-support.d.ts} +2 -3
  319. package/services/navvy.d.ts +21 -25
  320. package/services/vanilla/localStorage.d.ts +0 -3
  321. package/services/vanilla/sessionStorage.d.ts +0 -3
  322. package/services/vanilla//321/201ookies.d.ts +0 -3
  323. package/settings.d.ts +4 -2
  324. package/typification/base/answers.d.ts +2 -2
  325. package/typification/base/methods.d.ts +4 -0
  326. package/typification/base/params.d.ts +2 -3
  327. package/typification/base/workpiece/methods-list.d.ts +28 -0
  328. package/typification/base/workpiece/methods.d.ts +4 -3
  329. package/typification/rest/app/info.d.ts +1 -1
  330. package/typification/rest/batch.d.ts +3 -17
  331. package/typification/rest/calendar/get/answer.d.ts +3 -3
  332. package/typification/rest/department/get.d.ts +1 -1
  333. package/typification/rest/lists/element/get.d.ts +5 -9
  334. package/typification/rest/lists/field/get.d.ts +8 -8
  335. package/typification/rest/lists/get.d.ts +2 -2
  336. package/typification/rest/log/blogpost/add.d.ts +1 -1
  337. package/typification/rest/log/blogpost/essence.d.ts +1 -1
  338. package/typification/rest/log/blogpost/get.d.ts +1 -1
  339. package/typification/rest/socialnetwork/api/contentview/set.d.ts +10 -0
  340. package/typification/rest/socialnetwork/api/livefeed/blogpost/important/vote.d.ts +12 -0
  341. package/typification/rest/sonet_group/get.d.ts +4 -9
  342. package/typification/rest/task/commentitem/getlist.d.ts +2 -2
  343. package/typification/rest/task/elapseditem/get.d.ts +2 -2
  344. package/typification/rest/task/item/userfield/getlist.d.ts +3 -3
  345. package/typification/rest/tasks/result/list.d.ts +1 -1
  346. package/typification/rest/tasks/task/add.d.ts +1 -1
  347. package/typification/rest/tasks/task/get.d.ts +2 -2
  348. package/typification/rest/tasks/task/getFields.d.ts +1 -1
  349. package/typification/rest/tasks/task/list.d.ts +7 -7
  350. package/typification/rest/tasks/task/update.d.ts +1 -1
  351. package/typification/rest/tasks/task.d.ts +1 -1
  352. package/typification/rest/user/get.d.ts +2 -2
  353. package/typification/rest/user/search.d.ts +2 -2
  354. package/typification/rest/user/user.d.ts +1 -1
  355. package/typification/rest/user/userfield/list.d.ts +1 -1
  356. package/typification/settings.d.ts +1 -1
  357. package/consts/time.d.ts +0 -3
  358. package/esm2022/consts/time.mjs +0 -4
  359. package/esm2022/map/base.mjs +0 -14
  360. package/esm2022/map.mjs +0 -33
  361. package/esm2022/provide.mjs +0 -14
  362. package/esm2022/request-navvy/disk/interlayer/storage.mjs +0 -60
  363. package/esm2022/services/Navvy/NavvyAlternativePaginationNavigation.mjs +0 -57
  364. package/esm2022/services/Navvy/NavvyPagNav.mjs +0 -40
  365. package/esm2022/services/Navvy/NavvyPagNavTasks.mjs +0 -40
  366. package/esm2022/services/Navvy/NavvyPagNavWithUselessKey.mjs +0 -58
  367. package/esm2022/services/Navvy/NavvySimple.mjs +0 -16
  368. package/esm2022/services/Navvy/NavvySupport.mjs +0 -16
  369. package/esm2022/services/Navvy/extends/NavvyPagNavBase.mjs +0 -31
  370. package/esm2022/typification/rest/base/ApiPaginationBX.mjs +0 -2
  371. package/esm2022/typification/rest/base/OrderOptions.mjs +0 -2
  372. package/esm2022/typification/rest/base/YesNo.mjs +0 -2
  373. package/esm2022/typification/rest/base/filterGenerator.mjs +0 -2
  374. package/esm2022/typification/rest/tasks/base/fieldsName.mjs +0 -2
  375. package/esm2022/typification/rest/tasks/base/filterGenerator.mjs +0 -2
  376. package/map/base.d.ts +0 -6
  377. package/map.d.ts +0 -23
  378. package/provide.d.ts +0 -3
  379. package/services/Navvy/NavvyPagNav.d.ts +0 -8
  380. package/services/Navvy/NavvyPagNavTasks.d.ts +0 -10
  381. package/services/Navvy/NavvyPagNavWithUselessKey.d.ts +0 -8
  382. package/services/Navvy/NavvySimple.d.ts +0 -10
  383. package/services/Navvy/extends/NavvyPagNavBase.d.ts +0 -16
  384. /package/typification/rest/base/{ApiPaginationBX.d.ts → api-pagination-bx.d.ts} +0 -0
  385. /package/typification/rest/base/{filterGenerator.d.ts → filter-generator.d.ts} +0 -0
  386. /package/typification/rest/base/{OrderOptions.d.ts → order-options.d.ts} +0 -0
  387. /package/typification/rest/base/{YesNo.d.ts → yes-no.d.ts} +0 -0
  388. /package/typification/rest/tasks/base/{fieldsName.d.ts → fields-name.d.ts} +0 -0
  389. /package/typification/rest/tasks/base/{filterGenerator.d.ts → filter-generator.d.ts} +0 -0
@@ -1,30 +1,43 @@
1
1
  import { iBXRestParamElapseditemGet } from '../../typification/rest/task/elapseditem/get';
2
- import { BXRestTaskElapsedItem } from '../../request/task/elapseditem';
3
2
  import { iBXRestParamAddElapseditem } from '../../typification/rest/task/elapseditem/add';
4
3
  import { iBXRestParamUpdateElapseditem } from '../../typification/rest/task/elapseditem/update';
5
4
  import { iIsActionAllowedParam } from '../../typification/rest/task/elapseditem/isActionAllowedParam';
6
5
  import { iBXRestParamDelElapseditem } from '../../typification/rest/task/elapseditem/del';
7
- import { BXRestMapTaskElapsedItem } from '../../map/task/elapseditem';
8
6
  import { BXRestNavvyOperationElapsedItem } from './operation/elapseditem';
9
- import { NavvySimple } from '../../services/Navvy/NavvySimple';
10
- import * as i0 from "@angular/core";
11
7
  export declare class BXRestNavvyElapsedItem {
12
- private readonly BXRestElapsedItem;
13
- private readonly BXRestMapElapsedItem;
8
+ protected url: {
9
+ /**
10
+ * Возвращает список записей о затраченном времени по задаче
11
+ */
12
+ getList: string[];
13
+ /**
14
+ * Добавляет затраченное время к задаче
15
+ */
16
+ add: string[];
17
+ /**
18
+ * Удаляет запись о затраченном времени
19
+ */
20
+ delete: string[];
21
+ /**
22
+ * Проверяет разрешено ли действие
23
+ */
24
+ isActionAllowed: string[];
25
+ /**
26
+ * Изменяет параметры записи о затраченном времени
27
+ */
28
+ update: string[];
29
+ };
14
30
  private readonly delegate;
15
31
  readonly operation: BXRestNavvyOperationElapsedItem;
16
32
  private readonly Navvy;
17
- getList(param?: iBXRestParamElapseditemGet): import("../../services/Navvy/NavvyAlternativePaginationNavigation").NavvyAlterPagNav<BXRestTaskElapsedItem, BXRestMapTaskElapsedItem, import("../../typification/rest/task/elapseditem/item").iBXRestTaskElapsedItemHttp, import("../../typification/rest/task/elapseditem/item").iBXRestTaskElapsedItem, iBXRestParamElapseditemGet>;
18
- add(param: iBXRestParamAddElapseditem): NavvySimple<this, BXRestMapTaskElapsedItem, number, unknown>;
19
- private addBase;
33
+ getList(param?: iBXRestParamElapseditemGet): import("../../services/navvy/navvy-alternative-pagination-navigation").NavvyAlterPagNav<import("../../typification/rest/task/elapseditem/item").iBXRestTaskElapsedItemHttp, import("../../typification/rest/task/elapseditem/item").iBXRestTaskElapsedItem, iBXRestParamElapseditemGet>;
34
+ add(param: iBXRestParamAddElapseditem): import("../../services/navvy/navvy-simple").NavvySimple<number, number, iBXRestParamAddElapseditem | undefined>;
20
35
  /**
21
36
  * Обновление записи рабочего времени
22
37
  *
23
38
  * @param param
24
39
  */
25
- update(param: iBXRestParamUpdateElapseditem): NavvySimple<this, BXRestMapTaskElapsedItem, null, boolean>;
26
- isAllowedModify(idTask: number, idItem: number): import("rxjs").Observable<boolean | undefined>;
27
- private isAllowedRemove;
40
+ update(param: iBXRestParamUpdateElapseditem): import("../../services/navvy/navvy-simple").NavvySimple<null, null, iBXRestParamUpdateElapseditem | undefined>;
28
41
  /**
29
42
  * idAction:
30
43
  * 1 - ACTION_ELAPSED_TIME_ADD
@@ -32,8 +45,6 @@ export declare class BXRestNavvyElapsedItem {
32
45
  * 3 - ACTION_ELAPSED_TIME_REMOVE
33
46
  * @param param
34
47
  */
35
- isActionAllowed(param: iIsActionAllowedParam): NavvySimple<BXRestTaskElapsedItem, BXRestMapTaskElapsedItem, boolean, unknown>;
36
- del(param: iBXRestParamDelElapseditem): NavvySimple<BXRestTaskElapsedItem, BXRestMapTaskElapsedItem, null, boolean>;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyElapsedItem, never>;
38
- static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyElapsedItem>;
48
+ isActionAllowed(param: iIsActionAllowedParam): import("../../services/navvy/navvy-simple").NavvySimple<boolean, boolean, iIsActionAllowedParam | undefined>;
49
+ delete(param: iBXRestParamDelElapseditem): import("../../services/navvy/navvy-simple").NavvySimple<null, null, iBXRestParamDelElapseditem | undefined>;
39
50
  }
@@ -1,12 +1,15 @@
1
- import { BXRestTaskItemUserField } from '../../../request/task/item/userfield';
2
- import { BXRestMapTaskUserField } from '../../../map/task/item/userfield';
3
- import { iBXRestParamTaskItemUserFieldGetlist } from '../../../typification/rest/task/item/userfield/getlist';
4
- import * as i0 from "@angular/core";
1
+ import { iBXRestParamTaskItemUserFieldGetlist, iBXRestTaskItemUserFieldGetlist, iBXRestTaskItemUserFieldGetlistHttp } from '../../../typification/rest/task/item/userfield/getlist';
5
2
  export declare class BXRestNavvyTaskItemUserField {
6
- private readonly userField;
7
- private readonly map;
3
+ protected url: {
4
+ /**
5
+ * Получение всех доступных полей свойства
6
+ */
7
+ getFields: string[];
8
+ /**
9
+ * Получение списка свойств
10
+ */
11
+ getList: string[];
12
+ };
8
13
  private readonly Navvy;
9
- getList(param?: iBXRestParamTaskItemUserFieldGetlist): import("../../../services/Navvy/NavvyPagNav").NavvyPagNav<BXRestTaskItemUserField, BXRestMapTaskUserField, import("../../../typification/rest/task/item/userfield/getlist").iBXRestTaskItemUserFieldGetlistHttp, import("../../../typification/rest/task/item/userfield/getlist").iBXRestTaskItemUserFieldGetlist, iBXRestParamTaskItemUserFieldGetlist>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyTaskItemUserField, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyTaskItemUserField>;
14
+ getList(param?: iBXRestParamTaskItemUserFieldGetlist): import("../../../services/navvy/navvy-pag").NavvyPag<iBXRestTaskItemUserFieldGetlistHttp, iBXRestTaskItemUserFieldGetlist, iBXRestParamTaskItemUserFieldGetlist>;
12
15
  }
@@ -1,7 +1,4 @@
1
1
  import { BXRestNavvyTaskItemUserField } from './item/userfield';
2
- import * as i0 from "@angular/core";
3
2
  export declare class BXRestNavvyTaskItem {
4
3
  readonly userField: BXRestNavvyTaskItemUserField;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyTaskItem, never>;
6
- static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyTaskItem>;
7
4
  }
@@ -1,16 +1,20 @@
1
1
  import { iBXRestParamElapseditemGet } from '../../../typification/rest/task/elapseditem/get';
2
2
  import { iBXRestTaskElapsedItemHttp } from '../../../typification/rest/task/elapseditem/item';
3
- import { BXRestMapTaskElapsedItem } from '../../../map/task/elapseditem';
4
3
  import { Observable } from 'rxjs';
4
+ import { iIsActionAllowedParam } from '../../../typification/rest/task/elapseditem/isActionAllowedParam';
5
5
  import { iBXRestUser } from '../../../typification/rest/user/user';
6
- import * as i0 from "@angular/core";
6
+ import { iBXRestParamAddElapseditem } from '../../../typification/rest/task/elapseditem/add';
7
+ import { BXRestNavvyElapsedItem } from '../elapseditem';
8
+ import { iBXRestParamUpdateElapseditem } from '../../../typification/rest/task/elapseditem/update';
9
+ import { iBXRestParamDelElapseditem } from '../../../typification/rest/task/elapseditem/del';
7
10
  export declare class BXRestNavvyOperationElapsedItem {
11
+ private BXRestNavvyElapsedItem;
8
12
  private readonly http;
9
13
  private readonly delegate;
10
- private readonly BXRestMapElapsedItem;
11
14
  private readonly BXRestNavvyUser;
12
15
  private readonly BXRestNavvyTasks;
13
- getByInterval(idsUsers: number[], dateStart: Date, dateEnd: Date): import("../../../services/Navvy/NavvyAlternativePaginationNavigation").NavvyAlterPagNav<import("../../../request/task/elapseditem").BXRestTaskElapsedItem, BXRestMapTaskElapsedItem, iBXRestTaskElapsedItemHttp, import("../../../typification/rest/task/elapseditem/item").iBXRestTaskElapsedItem, iBXRestParamElapseditemGet>;
16
+ constructor(BXRestNavvyElapsedItem: BXRestNavvyElapsedItem);
17
+ getByInterval(idsUsers: number[], dateStart: Date, dateEnd: Date): import("../../../services/navvy/navvy-alternative-pagination-navigation").NavvyAlterPagNav<iBXRestTaskElapsedItemHttp, import("../../../typification/rest/task/elapseditem/item").iBXRestTaskElapsedItem, iBXRestParamElapseditemGet>;
14
18
  getListByIDTask(ids: number[]): Observable<import("../../../typification/rest/task/elapseditem/item").iBXRestTaskElapsedItem[] | undefined>;
15
19
  checkPermissionAddElapsedTimeToTaskArr(tasks: number[], userCurrent?: iBXRestUser | undefined): Observable<{
16
20
  id: number;
@@ -30,6 +34,37 @@ export declare class BXRestNavvyOperationElapsedItem {
30
34
  * @param userCurrent
31
35
  */
32
36
  checkPermissionReadTask(idTask: number, userCurrent?: iBXRestUser | undefined): Observable<boolean | undefined>;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyOperationElapsedItem, never>;
34
- static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyOperationElapsedItem>;
37
+ /**
38
+ * Законченный метод добавления записи с предварительной проверкой прав
39
+ *
40
+ * TODO: добавить сохранение предварительно проверенных записей
41
+ * @param param
42
+ */
43
+ add(param: iBXRestParamAddElapseditem): Observable<number | undefined>;
44
+ /**
45
+ * Законченный метод обновления записи с предварительной проверкой прав
46
+ *
47
+ * TODO: добавить сохранение предварительно проверенных записей
48
+ * @param param
49
+ */
50
+ update(param: iBXRestParamUpdateElapseditem): Observable<null | undefined>;
51
+ isAllowedModify(idTask: number, idItem: number): Observable<boolean | undefined>;
52
+ /**
53
+ * isActionAllowed с фиксом на проверку возможности чтения задачи записи
54
+ * (без проверки даёт ошибку)
55
+ *
56
+ * idAction:
57
+ * 1 - ACTION_ELAPSED_TIME_ADD
58
+ * 2 - ACTION_ELAPSED_TIME_MODIFY
59
+ * 3 - ACTION_ELAPSED_TIME_REMOVE
60
+ * @param param
61
+ */
62
+ isActionAllowed(param: iIsActionAllowedParam): Observable<boolean | undefined>;
63
+ /**
64
+ * Полноценный метод удаления
65
+ *
66
+ * @param param
67
+ */
68
+ del(param: iBXRestParamDelElapseditem): Observable<null | undefined>;
69
+ private isAllowedRemove;
35
70
  }
@@ -1,11 +1,7 @@
1
- import { BXRestMapTaskPlaner } from '../../map/task/planner';
2
- import { BXRestTaskPlanner } from '../../request/task/planner';
3
- import * as i0 from "@angular/core";
4
1
  export declare class BXRestNavvyTaskPlanner {
5
- private readonly BXRestTaskPlanner;
6
- private readonly BXRestMapTaskPlaner;
2
+ url: {
3
+ getList: string[];
4
+ };
7
5
  private readonly Navvy;
8
- getList(): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestTaskPlanner, BXRestMapTaskPlaner, (string | number)[], number[] | undefined>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyTaskPlanner, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyTaskPlanner>;
6
+ getList(): import("../../services/navvy/navvy-simple").NavvySimple<(string | number)[], (string | number)[], undefined>;
11
7
  }
@@ -2,12 +2,9 @@ import { BXRestNavvyElapsedItem } from './task/elapseditem';
2
2
  import { BXRestNavvyTaskCommentItem } from './task/commentitem';
3
3
  import { BXRestNavvyTaskPlanner } from './task/planner';
4
4
  import { BXRestNavvyTaskItem } from './task/item';
5
- import * as i0 from "@angular/core";
6
5
  export declare class BXRestNavvyTask {
7
6
  readonly elapsedItem: BXRestNavvyElapsedItem;
8
7
  readonly commentItem: BXRestNavvyTaskCommentItem;
9
8
  readonly planner: BXRestNavvyTaskPlanner;
10
9
  readonly item: BXRestNavvyTaskItem;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyTask, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyTask>;
13
10
  }
@@ -1,15 +1,26 @@
1
- import { BXRestMapTasksTaskResult } from '../../../map/tasks/task/result';
2
1
  import { iBXRestParamTasksTaskResultList } from '../../../typification/rest/tasks/result/list';
3
- import { BXRestTasksTaskResult } from '../../../request/tasks/task/result';
4
- import { iBXParamRestTasksTaskResultAdd } from '../../../typification/rest/tasks/task/result/result';
5
- import * as i0 from "@angular/core";
2
+ import { iBXParamRestTasksTaskResultAdd, iBXRestTasksTaskResult, iBXRestTasksTaskResultHttp } from '../../../typification/rest/tasks/task/result/result';
6
3
  export declare class BXRestNavvyTasksTaskResult {
7
- private readonly BXRestTasksTaskResult;
8
- private readonly BXRestMapTasksTaskResult;
4
+ url: {
5
+ /**
6
+ * Просмотр списка результатов к задаче
7
+ */
8
+ list: string[];
9
+ /**
10
+ * Создание результата задачи из комментария
11
+ */
12
+ addFromComment: string[];
13
+ /**
14
+ * Удаление результата задачи по комментарию из которого он был создан
15
+ */
16
+ deleteFromComment: string[];
17
+ };
9
18
  private Navvy;
10
- deleteFromComment(commentID: number): import("../../../services/Navvy/NavvySimple").NavvySimple<BXRestTasksTaskResult, BXRestMapTasksTaskResult, null, unknown>;
11
- addFromComment(param: iBXParamRestTasksTaskResultAdd): import("../../../services/Navvy/NavvySimple").NavvySimple<BXRestTasksTaskResult, BXRestMapTasksTaskResult, import("../../../typification/rest/tasks/task/result/result").iBXRestTasksTaskResultHttp, import("../../../typification/rest/tasks/task/result/result").iBXRestTasksTaskResult | undefined>;
12
- list(param: iBXRestParamTasksTaskResultList): import("../../../services/Navvy/NavvyPagNav").NavvyPagNav<BXRestTasksTaskResult, BXRestMapTasksTaskResult, import("../../../typification/rest/tasks/task/result/result").iBXRestTasksTaskResultHttp, import("../../../typification/rest/tasks/task/result/result").iBXRestTasksTaskResult, iBXRestParamTasksTaskResultList>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyTasksTaskResult, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyTasksTaskResult>;
19
+ deleteFromComment(commentID: {
20
+ commentId: number;
21
+ }): import("../../../services/navvy/navvy-simple").NavvySimple<null, null, {
22
+ commentId: number;
23
+ } | undefined>;
24
+ addFromComment(param: iBXParamRestTasksTaskResultAdd): import("../../../services/navvy/navvy-simple").NavvySimple<iBXRestTasksTaskResultHttp, iBXRestTasksTaskResult, iBXParamRestTasksTaskResultAdd | undefined>;
25
+ list(param: iBXRestParamTasksTaskResultList): import("../../../services/navvy/navvy-pag").NavvyPag<iBXRestTasksTaskResultHttp, iBXRestTasksTaskResult, iBXRestParamTasksTaskResultList>;
15
26
  }
@@ -1,30 +1,82 @@
1
- import { BXRestTasksTask } from '../../request/tasks/task';
2
1
  import { iBXRestParamTaskAdd } from '../../typification/rest/tasks/task/add';
3
- import { iBXRestParamTasksTaskGet, iBXRestTasksTaskGet } from '../../typification/rest/tasks/task/get';
2
+ import { iBXRestParamTasksTaskGet, iBXRestTasksTaskGet, iBXRestTasksTaskGetHttpDefault } from '../../typification/rest/tasks/task/get';
4
3
  import { iBXRestParamTasksList } from '../../typification/rest/tasks/task/list';
5
- import { BXRestMapTasksTask } from '../../map/tasks/task';
6
4
  import { BXRestNavvyTasksTaskResult } from './task/result';
7
5
  import { iBXRestTasksTaskFieldsCanUpdate } from '../../typification/rest/tasks/task/update';
8
- import { NavvySimple } from '../../services/Navvy/NavvySimple';
9
- import { iBXRestParamTaskGetAccess } from '../../typification/rest/task/access/getaccess';
10
- import { iBXRestTaskFieldsName } from '../../typification/rest/tasks/base/fieldsName';
6
+ import { iBXRestParamTaskGetAccess, iBXRestTaskGetAccess, iBXRestTaskGetAccessItem } from '../../typification/rest/task/access/getaccess';
7
+ import { iBXRestTaskFieldsName } from '../../typification/rest/tasks/base/fields-name';
11
8
  import { ToUpperCaseKeys } from '../../typification/base/upper-case-keys';
12
9
  import { ObjectToSnake } from 'ts-case-convert/lib/caseConvert';
13
10
  import { AllKeyFree } from '../../typification/base/all-key-free';
14
- import * as i0 from "@angular/core";
11
+ import { iBXRestTasksTaskBaseAnswer } from '../../typification/rest/tasks/task/base';
12
+ import { iBXRestTask } from '../../typification/rest/tasks/task';
13
+ import { iBXRestTasksTaskGetFields } from '../../typification/rest/tasks/task/getFields';
14
+ import { iBXRestTasksTaskDeferHttp } from '../../typification/rest/tasks/task/defer';
15
15
  export declare class BXRestNavvyTasksTask {
16
+ url: {
17
+ /**
18
+ * Создает задачу
19
+ */
20
+ add: string[];
21
+ /**
22
+ * Позволяет принять задачу
23
+ */
24
+ approve: string[];
25
+ /**
26
+ * Переводит задачу в статус «завершена»
27
+ */
28
+ complete: string[];
29
+ /**
30
+ * Переводит задачу в статус «отложена»
31
+ */
32
+ defer: string[];
33
+ /**
34
+ * Метод для делегирования задачи
35
+ */
36
+ delegate: string[];
37
+ /**
38
+ * Возвращает информацию о конкретной задаче
39
+ */
40
+ get: string[];
41
+ /**
42
+ * Возвращает все доступные поля
43
+ */
44
+ getFields: string[];
45
+ /**
46
+ * Метод для проверки доступа к задаче
47
+ */
48
+ getAccess: string[];
49
+ /**
50
+ * Возвращает массив задач, каждая из которых содержит массив полей
51
+ */
52
+ list: string[];
53
+ /**
54
+ * Обновляет задачу
55
+ */
56
+ update: string[];
57
+ result: {
58
+ /**
59
+ * Просмотр списка результатов к задаче
60
+ */
61
+ list: string[];
62
+ /**
63
+ * Создание результата задачи из комментария
64
+ */
65
+ addFromComment: string[];
66
+ /**
67
+ * Удаление результата задачи по комментарию из которого он был создан
68
+ */
69
+ deleteFromComment: string[];
70
+ };
71
+ };
16
72
  readonly result: BXRestNavvyTasksTaskResult;
17
- private readonly BXRestTasksTask;
18
- private readonly BXRestMapTasksTask;
19
73
  private readonly Navvy;
20
- add<CustomFields extends object = {}>(param: iBXRestParamTaskAdd<CustomFields>): NavvySimple<BXRestTasksTask, BXRestMapTasksTask, import("../../typification/rest/tasks/task/base").iBXRestTasksTaskBaseAnswer<import("../../typification/rest/tasks/task/get").iBXRestTasksTaskGetHttpDefault>, import("../../typification/rest/tasks/task").iBXRestTask | undefined>;
21
- update<CustomFields extends object>(task: AllKeyFree<iBXRestTasksTaskGet<iBXRestTaskFieldsName[], CustomFields>>, updateFields: (iBXRestTasksTaskFieldsCanUpdate | keyof ToUpperCaseKeys<ObjectToSnake<CustomFields>>)[]): NavvySimple<this, BXRestMapTasksTask, import("../../typification/rest/tasks/task/base").iBXRestTasksTaskBaseAnswer<import("../../typification/rest/tasks/task/defer").iBXRestTasksTaskDeferHttp>, unknown>;
22
- get<S extends iBXRestTaskFieldsName[], CustomFields extends object = {}>(param: iBXRestParamTasksTaskGet<CustomFields>): NavvySimple<BXRestTasksTask, BXRestMapTasksTask, import("../../typification/rest/tasks/task/get").iBXRestTasksTaskGetHttp<S, CustomFields>, unknown>;
23
- list<S extends iBXRestTaskFieldsName[], CustomFields extends object = {}>(param?: iBXRestParamTasksList<CustomFields>): import("../../services/Navvy/NavvyPagNavTasks").NavvyPagNavTasks<BXRestTasksTask, BXRestMapTasksTask, import("../../typification/rest/tasks/task/list").iBXRestHttpTasksTaskList<S, CustomFields>, import("../../typification/rest/tasks/task/list").iBXRestTasksTaskList<S, CustomFields>, iBXRestParamTasksList<CustomFields>>;
24
- getFields(): NavvySimple<BXRestTasksTask, BXRestMapTasksTask, import("../../typification/rest/tasks/task/getFields").iBXRestTasksTaskGetFields, unknown>;
25
- getAccess(param: iBXRestParamTaskGetAccess): NavvySimple<BXRestTasksTask, BXRestMapTasksTask, import("../../typification/rest/task/access/getaccess").iBXRestTaskGetAccess, {
26
- [key: number]: import("../../typification/rest/task/access/getaccess").iBXRestTaskGetAccessItem;
27
- } | undefined>;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyTasksTask, never>;
29
- static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyTasksTask>;
74
+ add<CustomFields extends object = object>(param: iBXRestParamTaskAdd<CustomFields>): import("../../services/navvy/navvy-simple").NavvySimple<iBXRestTasksTaskBaseAnswer<iBXRestTasksTaskGetHttpDefault>, iBXRestTask, iBXRestParamTaskAdd<CustomFields> | undefined>;
75
+ update<CustomFields extends object>(task: AllKeyFree<iBXRestTasksTaskGet<iBXRestTaskFieldsName[], CustomFields>>, updateFields: (iBXRestTasksTaskFieldsCanUpdate | keyof ToUpperCaseKeys<ObjectToSnake<CustomFields>>)[]): import("../../services/navvy/navvy-simple").NavvySimple<iBXRestTasksTaskBaseAnswer<iBXRestTasksTaskDeferHttp>, iBXRestTasksTaskBaseAnswer<iBXRestTasksTaskDeferHttp>, any>;
76
+ get<S extends iBXRestTaskFieldsName[], CustomFields extends object = object>(param: iBXRestParamTasksTaskGet<CustomFields>): import("../../services/navvy/navvy-simple").NavvySimple<import("../../typification/rest/tasks/task/get").iBXRestTasksTaskGetHttp<S, CustomFields>, unknown, iBXRestParamTasksTaskGet<CustomFields> | undefined>;
77
+ list<S extends iBXRestTaskFieldsName[], CustomFields extends object = object>(param?: iBXRestParamTasksList<CustomFields>): import("../../services/navvy/navvy-pag-nav-tasks").NavvyPagNavTasks<import("../../typification/rest/tasks/task/list").iBXRestHttpTasksTaskList<S, CustomFields>, import("../../typification/rest/tasks/task/list").iBXRestTasksTaskList<S, CustomFields>, iBXRestParamTasksList<CustomFields>>;
78
+ getFields(): import("../../services/navvy/navvy-simple").NavvySimple<iBXRestTasksTaskGetFields, iBXRestTasksTaskGetFields, undefined>;
79
+ getAccess(param: iBXRestParamTaskGetAccess): import("../../services/navvy/navvy-simple").NavvySimple<iBXRestTaskGetAccess, {
80
+ [key: number]: iBXRestTaskGetAccessItem;
81
+ }, iBXRestParamTaskGetAccess | undefined>;
30
82
  }
@@ -1,7 +1,4 @@
1
1
  import { BXRestNavvyTasksTask } from './tasks/task';
2
- import * as i0 from "@angular/core";
3
2
  export declare class BXRestNavvyTasks {
4
3
  readonly task: BXRestNavvyTasksTask;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyTasks, never>;
6
- static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyTasks>;
7
4
  }
@@ -1,13 +1,12 @@
1
1
  import { iBXRestParamTimeManStatus } from '../typification/rest/timeman/status';
2
2
  import { Navvy } from '../services/navvy';
3
- import { BXRestTimeMan } from '../request/timeman';
4
- import { BXRestMapTimeMan } from '../map/timeman';
5
- import * as i0 from "@angular/core";
6
3
  export declare class BXRestNavvyTimeMan {
7
- private readonly BXRestTimeMan;
8
- private readonly BXRestMapTimeMan;
9
- protected Navvy: Navvy<BXRestTimeMan, BXRestMapTimeMan>;
10
- status(param?: iBXRestParamTimeManStatus | undefined): import("../services/Navvy/NavvySimple").NavvySimple<BXRestTimeMan, BXRestMapTimeMan, import("../typification/rest/timeman/status").iBXRestTimeManStatusHttp, import("../typification/rest/timeman/status").iBXRestTimeManStatus | undefined>;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyTimeMan, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyTimeMan>;
4
+ protected readonly url: {
5
+ /**
6
+ * Получение информации о текущем рабочем дне пользователя
7
+ */
8
+ status: string[];
9
+ };
10
+ protected Navvy: Navvy;
11
+ status(param?: iBXRestParamTimeManStatus | undefined): import("../services/navvy/navvy-simple").NavvySimple<import("../typification/rest/timeman/status").iBXRestTimeManStatusHttp, import("../typification/rest/timeman/status").iBXRestTimeManStatus, iBXRestParamTimeManStatus | undefined>;
13
12
  }
@@ -1,9 +1,5 @@
1
- import { BXRestUserUserfield } from '../../request/user/userfield';
2
- import * as i0 from "@angular/core";
3
1
  export declare class BXRestNavvyUserUserfield {
4
- private readonly BXRestUserUserfield;
2
+ private url;
5
3
  private readonly Navvy;
6
- list(): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestUserUserfield, undefined, import("../../typification/rest/user/userfield/list").iBXRestUserUserField[], unknown>;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyUserUserfield, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyUserUserfield>;
4
+ list(): import("../../services/navvy/navvy-simple").NavvySimple<unknown, unknown, undefined>;
9
5
  }
@@ -1,9 +1,7 @@
1
- import { BXRestUser } from '../request/user';
2
1
  import { iBXRestParamUserGet } from '../typification/rest/user/get';
3
2
  import { iBXRestParamUserSearch } from '../typification/rest/user/search';
4
3
  import { BXRestNavvyUserUserfield } from './user/userfield';
5
- import { BXRestMapUser } from '../map/user';
6
- import * as i0 from "@angular/core";
4
+ import { iBXRestUser, iBXRestUserHttp } from '../typification/rest/user/user';
7
5
  export declare class BXRestNavvyUser {
8
6
  def: {
9
7
  params: {
@@ -11,17 +9,22 @@ export declare class BXRestNavvyUser {
11
9
  start: 0;
12
10
  };
13
11
  };
14
- private readonly BXRestUserMap;
15
- private readonly BXRestUser;
12
+ url: {
13
+ admin: string[];
14
+ get: string[];
15
+ current: string[];
16
+ update: string[];
17
+ search: string[];
18
+ access: string[];
19
+ fields: string[];
20
+ };
16
21
  readonly userField: BXRestNavvyUserUserfield;
17
22
  private readonly Navvy;
18
- admin(): import("../services/Navvy/NavvySimple").NavvySimple<BXRestUser, BXRestMapUser, boolean, unknown>;
19
- get(params?: iBXRestParamUserGet): import("../services/Navvy/NavvyPagNav").NavvyPagNav<BXRestUser, BXRestMapUser, import("../typification/rest/user/user").iBXRestUserHttp, import("../typification/rest/user/user").iBXRestUser, iBXRestParamUserGet>;
20
- current(): import("../services/Navvy/NavvySimple").NavvySimple<BXRestUser, BXRestMapUser, import("../typification/rest/user/user").iBXRestUserHttp, import("../typification/rest/user/user").iBXRestUser | undefined>;
21
- search(params: iBXRestParamUserSearch): import("../services/Navvy/NavvyPagNav").NavvyPagNav<BXRestUser, BXRestMapUser, import("../typification/rest/user/user").iBXRestUserHttp, import("../typification/rest/user/user").iBXRestUser, iBXRestParamUserSearch>;
22
- access(params: string[]): import("../services/Navvy/NavvySimple").NavvySimple<BXRestUser, BXRestMapUser, boolean, unknown>;
23
- fields(): import("../services/Navvy/NavvySimple").NavvySimple<BXRestUser, BXRestMapUser, import("../typification/rest/user/user").iBXRestUserHttpField, unknown>;
23
+ admin(): import("../services/navvy/navvy-simple").NavvySimple<boolean, boolean, undefined>;
24
+ get(params?: iBXRestParamUserGet): import("../services/navvy/navvy-pag").NavvyPag<iBXRestUserHttp, iBXRestUser, iBXRestParamUserGet>;
25
+ current(): import("../services/navvy/navvy-simple").NavvySimple<iBXRestUserHttp, iBXRestUser, undefined>;
26
+ search(params: iBXRestParamUserSearch): import("../services/navvy/navvy-pag").NavvyPag<iBXRestUserHttp, iBXRestUser, iBXRestParamUserSearch>;
27
+ access(params: string[]): import("../services/navvy/navvy-simple").NavvySimple<unknown, unknown, string[] | undefined>;
28
+ fields(): import("../services/navvy/navvy-simple").NavvySimple<unknown, unknown, undefined>;
24
29
  private setDefParam;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyUser, never>;
26
- static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyUser>;
27
30
  }
package/rest/base.d.ts CHANGED
@@ -14,7 +14,7 @@ import { BXRestApp } from '../request/app';
14
14
  import { BXRestTimeMan } from '../request/timeman';
15
15
  import { iBXRestProfileHttp } from '../typification/rest/profile';
16
16
  import { iBXRestBatch, iBXRestParamBatch } from '../typification/rest/batch';
17
- import * as i0 from "@angular/core";
17
+ import { BXRestSocialNetWork } from '../request/socialnetwork';
18
18
  export declare class BXRest {
19
19
  private readonly http;
20
20
  readonly user: BXRestUser;
@@ -31,8 +31,7 @@ export declare class BXRest {
31
31
  readonly im: BXRestIm;
32
32
  readonly app: BXRestApp;
33
33
  readonly timeMan: BXRestTimeMan;
34
+ readonly socialNetWork: BXRestSocialNetWork;
34
35
  profile(): import("rxjs").Observable<import("../typification/rest/base/answer").iBXRestAnswer<iBXRestProfileHttp> | undefined>;
35
- batch<T>(param: iBXRestParamBatch<T>): import("rxjs").Observable<import("../typification/rest/base/answer").iBXRestAnswer<iBXRestBatch<T>> | undefined>;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<BXRest, never>;
37
- static ɵprov: i0.ɵɵInjectableDeclaration<BXRest>;
36
+ batch<T>(param: iBXRestParamBatch): import("rxjs").Observable<import("../typification/rest/base/answer").iBXRestAnswer<iBXRestBatch<T>> | undefined>;
38
37
  }
package/rest/map.d.ts CHANGED
@@ -1,7 +1,20 @@
1
1
  import { BXRestMapLists } from '../map/lists';
2
- import * as i0 from "@angular/core";
2
+ import { BXRestMapUser } from '../map/user';
3
+ import { BXRestMapSonetGroup } from '../map/sonet_group';
4
+ import { BXRestMapServer } from '../map/server';
5
+ import { BXRestDisk } from '../request/disk';
6
+ import { BXRestMapCalendar } from '../map/calendar';
7
+ import { BXRestMapLog } from '../map/log';
8
+ import { BXRestMapTask } from '../map/task';
9
+ import { BXRestMapTasks } from '../map/tasks';
3
10
  export declare class BXRestMap {
4
- readonly lists: BXRestMapLists;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMap, never>;
6
- static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMap>;
11
+ get user(): typeof BXRestMapUser;
12
+ get sonet_group(): typeof BXRestMapSonetGroup;
13
+ get server(): typeof BXRestMapServer;
14
+ get lists(): typeof BXRestMapLists;
15
+ get disk(): typeof BXRestDisk;
16
+ get calendar(): typeof BXRestMapCalendar;
17
+ get log(): typeof BXRestMapLog;
18
+ get task(): typeof BXRestMapTask;
19
+ get tasks(): typeof BXRestMapTasks;
7
20
  }
package/rest/navvy.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { BXRestMaps } from '../map/rest';
1
+ import { BXRestMap } from '../map/rest';
2
2
  import { BXRestNavvyUser } from '../request-navvy/user';
3
3
  import { BXRestNavvyLists } from '../request-navvy/lists';
4
4
  import { BXRestNavvyTask } from '../request-navvy/task';
@@ -13,9 +13,7 @@ import { BXRestNavvyDepartment } from '../request-navvy/department';
13
13
  import { BXRestNavvyIm } from '../request-navvy/im';
14
14
  import { BXRestNavvyApp } from '../request-navvy/app';
15
15
  import { BXRestNavvyTimeMan } from '../request-navvy/timeman';
16
- import { iBXRestNavvyParamBatch } from '../typification/rest/batch';
17
- import { BXRest } from './base';
18
- import * as i0 from "@angular/core";
16
+ import { BXRestNavvySocialNetWork } from '../request-navvy/socialnetwork';
19
17
  export declare class BXRestNavvy {
20
18
  readonly user: BXRestNavvyUser;
21
19
  readonly lists: BXRestNavvyLists;
@@ -31,13 +29,7 @@ export declare class BXRestNavvy {
31
29
  readonly im: BXRestNavvyIm;
32
30
  readonly app: BXRestNavvyApp;
33
31
  readonly timeMan: BXRestNavvyTimeMan;
34
- private readonly BXRest;
35
- private readonly BXRestMap;
32
+ readonly socialNetWork: BXRestNavvySocialNetWork;
36
33
  private readonly Navvy;
37
- profile(): import("../services/Navvy/NavvySimple").NavvySimple<BXRest, BXRestMaps, import("../typification/rest/profile").iBXRestProfileHttp, import("../typification/rest/profile").iBXRestProfile | undefined>;
38
- batch<T, C, M>(param: iBXRestNavvyParamBatch<T, C, M>): import("rxjs").Observable<import("../typification/rest/base/answer").iBXRestAnswer<import("../typification/rest/batch").iBXRestBatch<{
39
- [x: string]: any;
40
- }>> | undefined>;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvy, never>;
42
- static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvy>;
34
+ profile(): import("../services/navvy/navvy-simple").NavvySimple<unknown, unknown, typeof BXRestMap.profile | undefined>;
43
35
  }
@@ -1,22 +1,15 @@
1
1
  import { DateTimeOptions } from 'luxon/src/datetime';
2
- import * as i0 from "@angular/core";
3
- export declare class BaseServices {
4
- toStr(val: any): string;
5
- toNum(val: any): number;
6
- toDate(val: number | string | Date, format?: string, opt?: DateTimeOptions): Date;
7
- getBXStrTime(date: Date): string;
8
- toISOStringWithTimezone(date: Date): string;
9
- toBool(val: any): boolean;
10
- toBXYorN(val: boolean): "Y" | "N";
11
- typeof(val: any): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function";
12
- prepareBaseAddress(url: string, add?: string | undefined): string;
13
- dateDiff(a: Date, b: Date): Date;
14
- dateDiffInDays(a: Date, b: Date): number;
15
- getBase64File(file: File): Promise<unknown>;
16
- getBase64FileLikeStr(file: File): Promise<{
17
- header: string;
18
- val: string;
19
- } | undefined>;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseServices, never>;
21
- static ɵprov: i0.ɵɵInjectableDeclaration<BaseServices>;
22
- }
2
+ export declare function toStr(val: any, throwError?: boolean): string;
3
+ export declare function toNum(val: any, throwError?: boolean, defValue?: number): number;
4
+ export declare function toDate(val: number | string | Date, format?: string, opt?: DateTimeOptions, throwError?: boolean): Date;
5
+ export declare function toISOStringWithTimezone(date: Date, throwError?: boolean): string;
6
+ export declare function toBool(val: any, throwError?: boolean): boolean;
7
+ export declare function toBXYorN(val: boolean): string;
8
+ export declare function getBaseUrlHttps(url: string, component?: boolean): string;
9
+ export declare function cropUrl(url: string): string;
10
+ export declare function getBase64File(file: File): Promise<string>;
11
+ export declare function getBase64FileLikeStr(file: File): Promise<{
12
+ header: string;
13
+ val: string;
14
+ } | undefined>;
15
+ export declare function prepareBaseAddress(url: string, add?: string | undefined): string;
@@ -2,7 +2,6 @@ import { Observable } from 'rxjs';
2
2
  import { HttpServices } from './http';
3
3
  import { iBatchRequestAnswer, iBatchRequestParam, iBatchRequestParamArr, iBatchRequestParamHttp, keyBatch } from '../../typification/rest/batch/batchRequestParam';
4
4
  import { iBXRestAnswer } from '../../typification/rest/base/answer';
5
- import * as i0 from "@angular/core";
6
5
  export declare class HttpBXServices extends HttpServices {
7
6
  /**
8
7
  * Это пиздец а не метод
@@ -11,9 +10,7 @@ export declare class HttpBXServices extends HttpServices {
11
10
  */
12
11
  branch<T, A>(param: iBatchRequestParamArr<T> | iBatchRequestParam<T>[]): Observable<iBatchRequestAnswer<A>[] | undefined>;
13
12
  prepareBatch<T>(param: iBatchRequestParamArr<T> | iBatchRequestParam<T>[]): iBatchRequestParamHttp;
14
- mapBranchResult<T>(res: iBatchRequestAnswer<T>[]): {
15
- [key: keyBatch]: T;
16
- };
13
+ mapBranchResult<T>(res: iBatchRequestAnswer<T>[]): Record<keyBatch, T>;
17
14
  mapBranchResultWithoutKey<T>(res: iBatchRequestAnswer<T>[]): T[];
18
15
  /**
19
16
  * Основной метод для запросов
@@ -32,6 +29,4 @@ export declare class HttpBXServices extends HttpServices {
32
29
  httpPost<T>(url: string, params?: any): Observable<T | undefined>;
33
30
  httpGet<T>(url: string, params?: any): Observable<T | undefined>;
34
31
  getNameMethod(arr: string[]): string;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<HttpBXServices, never>;
36
- static ɵprov: i0.ɵɵInjectableDeclaration<HttpBXServices>;
37
32
  }
@@ -1,11 +1,7 @@
1
- import { BaseServices } from '../base';
2
- import { HttpParams } from '@angular/common/http';
3
1
  import { iHttpParamSettings } from '../../typification/rest/settings';
4
- export declare class HttpData extends BaseServices {
2
+ export declare class HttpData {
5
3
  defSettings: iHttpParamSettings;
6
- getHttpParamsGet(// не так уж и сложно сделать сложенный HttpParams, да гугл?
7
- obj: any, sendHttpParams?: HttpParams, thisArray?: boolean, nesting?: string[], _?: iHttpParamSettings): any;
8
- getHttpParamsPost(obj: any, sendHttpParams?: FormData, thisArray?: boolean, nesting?: string[], settings?: iHttpParamSettings): any;
4
+ getHttpParamsPost(obj: any, sendHttpParams?: FormData, nesting?: string[], settings?: iHttpParamSettings): any;
9
5
  sliceArrayIntoChunks(arr: any[], chunkSize: number): any[][];
10
6
  removingMultipleSlashes(str: string): string;
11
7
  }
@@ -1,10 +1,7 @@
1
1
  import { iHttpParamSettings } from '../../../typification/rest/settings';
2
2
  import { Observable } from 'rxjs';
3
3
  import { HttpData } from '../HttpData';
4
- import * as i0 from "@angular/core";
5
4
  export declare abstract class BaseHttp extends HttpData {
6
5
  abstract httpGet<T>(url: string, params: any, settings: iHttpParamSettings): Observable<T | undefined>;
7
6
  abstract httpPost<T>(url: string, params: any, settings: iHttpParamSettings): Observable<T | undefined>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseHttp, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<BaseHttp>;
10
7
  }