bx-rest 0.4.18 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (455) hide show
  1. package/README.md +15 -26
  2. package/consts/part-name-methods.d.ts +98 -98
  3. package/consts/time.d.ts +3 -3
  4. package/esm2022/bx-rest.mjs +4 -4
  5. package/esm2022/consts/part-name-methods.mjs +99 -99
  6. package/esm2022/consts/time.mjs +3 -3
  7. package/esm2022/functions/mapResult.mjs +10 -10
  8. package/esm2022/map/app.mjs +18 -18
  9. package/esm2022/map/base.mjs +13 -13
  10. package/esm2022/map/calendar/event.mjs +54 -54
  11. package/esm2022/map/calendar.mjs +17 -17
  12. package/esm2022/map/department.mjs +34 -34
  13. package/esm2022/map/disk/attachedObject.mjs +26 -26
  14. package/esm2022/map/disk/base.mjs +77 -77
  15. package/esm2022/map/disk/file.mjs +19 -19
  16. package/esm2022/map/disk/folder.mjs +16 -16
  17. package/esm2022/map/disk/storage.mjs +19 -19
  18. package/esm2022/map/lists/element.mjs +23 -23
  19. package/esm2022/map/lists/field.mjs +15 -15
  20. package/esm2022/map/lists.mjs +74 -75
  21. package/esm2022/map/log/blogpost.mjs +82 -82
  22. package/esm2022/map/log.mjs +17 -17
  23. package/esm2022/map/rest.mjs +16 -16
  24. package/esm2022/map/server.mjs +16 -16
  25. package/esm2022/map/sonet_group.mjs +33 -33
  26. package/esm2022/map/task/commentitem.mjs +54 -54
  27. package/esm2022/map/task/elapseditem.mjs +33 -34
  28. package/esm2022/map/task/item/userfield.mjs +37 -37
  29. package/esm2022/map/task/planner.mjs +16 -16
  30. package/esm2022/map/task/stages.mjs +20 -20
  31. package/esm2022/map/task.mjs +21 -21
  32. package/esm2022/map/tasks/task/result.mjs +25 -25
  33. package/esm2022/map/tasks/task.mjs +145 -146
  34. package/esm2022/map/tasks.mjs +17 -17
  35. package/esm2022/map/timeman.mjs +37 -37
  36. package/esm2022/map/user.mjs +95 -99
  37. package/esm2022/map.mjs +33 -33
  38. package/esm2022/provide.mjs +14 -0
  39. package/esm2022/public-api.mjs +17 -15
  40. package/esm2022/request/app.mjs +24 -24
  41. package/esm2022/request/bizproc/activity.mjs +12 -12
  42. package/esm2022/request/bizproc/event.mjs +12 -12
  43. package/esm2022/request/bizproc/robot.mjs +12 -12
  44. package/esm2022/request/bizproc/task.mjs +12 -12
  45. package/esm2022/request/bizproc/workflow/instance.mjs +12 -12
  46. package/esm2022/request/bizproc/workflow/template.mjs +13 -13
  47. package/esm2022/request/bizproc/workflow.mjs +28 -26
  48. package/esm2022/request/bizproc.mjs +25 -25
  49. package/esm2022/request/calendar/event.mjs +22 -22
  50. package/esm2022/request/calendar.mjs +17 -17
  51. package/esm2022/request/department.mjs +36 -36
  52. package/esm2022/request/disk/attachedObject.mjs +22 -22
  53. package/esm2022/request/disk/file.mjs +25 -25
  54. package/esm2022/request/disk/folder.mjs +114 -114
  55. package/esm2022/request/disk/storage.mjs +45 -45
  56. package/esm2022/request/disk.mjs +21 -21
  57. package/esm2022/request/im/chat.mjs +22 -22
  58. package/esm2022/request/im.mjs +17 -17
  59. package/esm2022/request/lists/element.mjs +25 -25
  60. package/esm2022/request/lists/field.mjs +22 -22
  61. package/esm2022/request/lists.mjs +29 -26
  62. package/esm2022/request/log/blogcomment.mjs +12 -12
  63. package/esm2022/request/log/blogpost.mjs +25 -25
  64. package/esm2022/request/log.mjs +19 -19
  65. package/esm2022/request/server.mjs +22 -22
  66. package/esm2022/request/sonet_group.mjs +32 -32
  67. package/esm2022/request/task/commentitem.mjs +42 -42
  68. package/esm2022/request/task/elapseditem.mjs +44 -44
  69. package/esm2022/request/task/item/userfield.mjs +22 -22
  70. package/esm2022/request/task/item.mjs +17 -17
  71. package/esm2022/request/task/planner.mjs +21 -21
  72. package/esm2022/request/task.mjs +23 -23
  73. package/esm2022/request/tasks/task/result.mjs +28 -28
  74. package/esm2022/request/tasks/task.mjs +110 -110
  75. package/esm2022/request/tasks.mjs +17 -17
  76. package/esm2022/request/timeman.mjs +22 -22
  77. package/esm2022/request/user/userfield.mjs +22 -22
  78. package/esm2022/request/user.mjs +42 -42
  79. package/esm2022/request-navvy/app.mjs +27 -27
  80. package/esm2022/request-navvy/bizproc/workflow.mjs +25 -22
  81. package/esm2022/request-navvy/bizproc.mjs +62 -61
  82. package/esm2022/request-navvy/calendar/event.mjs +24 -24
  83. package/esm2022/request-navvy/calendar.mjs +52 -52
  84. package/esm2022/request-navvy/department.mjs +34 -34
  85. package/esm2022/request-navvy/disk/attachedObject.mjs +24 -24
  86. package/esm2022/request-navvy/disk/file.mjs +27 -27
  87. package/esm2022/request-navvy/disk/folder.mjs +116 -116
  88. package/esm2022/request-navvy/disk/interlayer/storage.mjs +60 -60
  89. package/esm2022/request-navvy/disk/operation.mjs +84 -84
  90. package/esm2022/request-navvy/disk/storage.mjs +51 -51
  91. package/esm2022/request-navvy/disk.mjs +23 -23
  92. package/esm2022/request-navvy/im/chat.mjs +22 -22
  93. package/esm2022/request-navvy/im.mjs +17 -17
  94. package/esm2022/request-navvy/lists/element.mjs +27 -27
  95. package/esm2022/request-navvy/lists/field.mjs +24 -24
  96. package/esm2022/request-navvy/lists.mjs +28 -28
  97. package/esm2022/request-navvy/log/blogcomment.mjs +18 -18
  98. package/esm2022/request-navvy/log/blogpost.mjs +29 -38
  99. package/esm2022/request-navvy/log.mjs +19 -19
  100. package/esm2022/request-navvy/server.mjs +24 -24
  101. package/esm2022/request-navvy/sonet_group.mjs +24 -24
  102. package/esm2022/request-navvy/task/commentitem.mjs +52 -52
  103. package/esm2022/request-navvy/task/delegate/elapseditem.mjs +37 -37
  104. package/esm2022/request-navvy/task/elapseditem.mjs +211 -211
  105. package/esm2022/request-navvy/task/item/userfield.mjs +24 -24
  106. package/esm2022/request-navvy/task/item.mjs +17 -17
  107. package/esm2022/request-navvy/task/operation/elapseditem.mjs +172 -159
  108. package/esm2022/request-navvy/task/planner.mjs +24 -24
  109. package/esm2022/request-navvy/task.mjs +23 -23
  110. package/esm2022/request-navvy/tasks/task/result.mjs +30 -30
  111. package/esm2022/request-navvy/tasks/task.mjs +128 -128
  112. package/esm2022/request-navvy/tasks.mjs +17 -17
  113. package/esm2022/request-navvy/timeman.mjs +24 -24
  114. package/esm2022/request-navvy/user/userfield.mjs +22 -22
  115. package/esm2022/request-navvy/user.mjs +161 -161
  116. package/esm2022/rest/base.mjs +51 -51
  117. package/esm2022/rest/map.mjs +17 -17
  118. package/esm2022/rest/navvy.mjs +62 -62
  119. package/esm2022/services/Navvy/NavvyAlternativePaginationNavigation.mjs +57 -57
  120. package/esm2022/services/Navvy/NavvyPagNav.mjs +40 -45
  121. package/esm2022/services/Navvy/NavvyPagNavTasks.mjs +40 -40
  122. package/esm2022/services/Navvy/NavvyPagNavWithUselessKey.mjs +58 -58
  123. package/esm2022/services/Navvy/NavvySimple.mjs +15 -15
  124. package/esm2022/services/Navvy/NavvySupport.mjs +16 -16
  125. package/esm2022/services/Navvy/extends/NavvyPagNavBase.mjs +30 -30
  126. package/esm2022/services/base.mjs +121 -173
  127. package/esm2022/services/http/HttpBX.mjs +121 -121
  128. package/esm2022/services/http/HttpData.mjs +116 -118
  129. package/esm2022/services/http/base/base.mjs +14 -27
  130. package/esm2022/services/http/http.mjs +61 -61
  131. package/esm2022/services/http/httpNavvy.mjs +24 -0
  132. package/esm2022/services/http/sessionKey.mjs +125 -216
  133. package/esm2022/services/navvy.mjs +29 -29
  134. package/esm2022/services/vanilla/localStorage.mjs +35 -35
  135. package/esm2022/services/vanilla/sessionStorage.mjs +23 -23
  136. package/esm2022/services/vanilla//321/201ookies.mjs +43 -43
  137. package/esm2022/settings.mjs +14 -15
  138. package/esm2022/typification/auth/save.mjs +2 -2
  139. package/esm2022/typification/base/all-key-free.mjs +1 -1
  140. package/esm2022/typification/base/answers.mjs +438 -0
  141. package/esm2022/typification/base/methods.mjs +664 -656
  142. package/esm2022/typification/base/modyfy.mjs +2 -2
  143. package/esm2022/typification/base/params.mjs +525 -0
  144. package/esm2022/typification/base/upper-case-keys.mjs +1 -1
  145. package/esm2022/typification/base/workpiece/methods-list.mjs +2 -2
  146. package/esm2022/typification/base/workpiece/methods.mjs +2 -2
  147. package/esm2022/typification/rest/app/info.mjs +1 -1
  148. package/esm2022/typification/rest/base/ApiPaginationBX.mjs +1 -1
  149. package/esm2022/typification/rest/base/OrderOptions.mjs +1 -1
  150. package/esm2022/typification/rest/base/YesNo.mjs +1 -1
  151. package/esm2022/typification/rest/base/answer.mjs +1 -1
  152. package/esm2022/typification/rest/base/filterGenerator.mjs +1 -1
  153. package/esm2022/typification/rest/base/sort.mjs +1 -1
  154. package/esm2022/typification/rest/batch/batchRequestParam.mjs +1 -1
  155. package/esm2022/typification/rest/batch.mjs +1 -1
  156. package/esm2022/typification/rest/bizproc/workflow/start.mjs +1 -1
  157. package/esm2022/typification/rest/calendar/base/type.mjs +1 -1
  158. package/esm2022/typification/rest/calendar/get/answer.mjs +1 -1
  159. package/esm2022/typification/rest/calendar/get/param.mjs +1 -1
  160. package/esm2022/typification/rest/department/add.mjs +1 -1
  161. package/esm2022/typification/rest/department/del.mjs +1 -1
  162. package/esm2022/typification/rest/department/department.mjs +1 -1
  163. package/esm2022/typification/rest/department/get.mjs +1 -1
  164. package/esm2022/typification/rest/department/update.mjs +1 -1
  165. package/esm2022/typification/rest/disk/AttachedObject.mjs +1 -1
  166. package/esm2022/typification/rest/disk/file.mjs +1 -1
  167. package/esm2022/typification/rest/disk/folder/addSubFolder.mjs +1 -1
  168. package/esm2022/typification/rest/disk/folder/copyTo.mjs +1 -1
  169. package/esm2022/typification/rest/disk/folder/getFields.mjs +1 -1
  170. package/esm2022/typification/rest/disk/folder/moveTo.mjs +1 -1
  171. package/esm2022/typification/rest/disk/folder/rename.mjs +1 -1
  172. package/esm2022/typification/rest/disk/folder/uploadFile.mjs +1 -1
  173. package/esm2022/typification/rest/disk/folder.mjs +1 -1
  174. package/esm2022/typification/rest/disk/map.mjs +1 -1
  175. package/esm2022/typification/rest/disk/storage/getchildren.mjs +1 -1
  176. package/esm2022/typification/rest/disk/storage/uploadfile.mjs +1 -1
  177. package/esm2022/typification/rest/im/chat/add.mjs +1 -1
  178. package/esm2022/typification/rest/lists/element/add.mjs +1 -1
  179. package/esm2022/typification/rest/lists/element/get.mjs +1 -1
  180. package/esm2022/typification/rest/lists/field/get.mjs +1 -1
  181. package/esm2022/typification/rest/lists/get.mjs +2 -2
  182. package/esm2022/typification/rest/log/blogpost/add.mjs +2 -2
  183. package/esm2022/typification/rest/log/blogpost/essence.mjs +1 -1
  184. package/esm2022/typification/rest/log/blogpost/get.mjs +2 -2
  185. package/esm2022/typification/rest/profile.mjs +1 -1
  186. package/esm2022/typification/rest/settings.mjs +1 -1
  187. package/esm2022/typification/rest/sonet_group/base.mjs +1 -1
  188. package/esm2022/typification/rest/sonet_group/get.mjs +2 -2
  189. package/esm2022/typification/rest/support/param.mjs +1 -1
  190. package/esm2022/typification/rest/task/access/getaccess.mjs +1 -1
  191. package/esm2022/typification/rest/task/commentitem/add.mjs +1 -1
  192. package/esm2022/typification/rest/task/commentitem/commentitem.mjs +1 -1
  193. package/esm2022/typification/rest/task/commentitem/delete.mjs +1 -1
  194. package/esm2022/typification/rest/task/commentitem/get.mjs +1 -1
  195. package/esm2022/typification/rest/task/commentitem/getlist.mjs +1 -1
  196. package/esm2022/typification/rest/task/commentitem/update.mjs +1 -1
  197. package/esm2022/typification/rest/task/elapseditem/add.mjs +1 -1
  198. package/esm2022/typification/rest/task/elapseditem/del.mjs +1 -1
  199. package/esm2022/typification/rest/task/elapseditem/get.mjs +1 -1
  200. package/esm2022/typification/rest/task/elapseditem/isActionAllowedParam.mjs +1 -1
  201. package/esm2022/typification/rest/task/elapseditem/item.mjs +1 -1
  202. package/esm2022/typification/rest/task/elapseditem/update.mjs +1 -1
  203. package/esm2022/typification/rest/task/item/userfield/getlist.mjs +2 -2
  204. package/esm2022/typification/rest/task/stages/stage.mjs +1 -1
  205. package/esm2022/typification/rest/tasks/base/fieldsName.mjs +2 -2
  206. package/esm2022/typification/rest/tasks/base/filterGenerator.mjs +1 -1
  207. package/esm2022/typification/rest/tasks/base/people.mjs +1 -1
  208. package/esm2022/typification/rest/tasks/result/list.mjs +1 -1
  209. package/esm2022/typification/rest/tasks/task/add.mjs +1 -1
  210. package/esm2022/typification/rest/tasks/task/approve.mjs +1 -1
  211. package/esm2022/typification/rest/tasks/task/base.mjs +1 -1
  212. package/esm2022/typification/rest/tasks/task/complete.mjs +1 -1
  213. package/esm2022/typification/rest/tasks/task/defer.mjs +1 -1
  214. package/esm2022/typification/rest/tasks/task/get.mjs +2 -2
  215. package/esm2022/typification/rest/tasks/task/getFields.mjs +1 -1
  216. package/esm2022/typification/rest/tasks/task/list.mjs +2 -2
  217. package/esm2022/typification/rest/tasks/task/result/result.mjs +1 -1
  218. package/esm2022/typification/rest/tasks/task/update.mjs +1 -1
  219. package/esm2022/typification/rest/tasks/task.mjs +1 -1
  220. package/esm2022/typification/rest/timeman/status.mjs +1 -1
  221. package/esm2022/typification/rest/user/get.mjs +2 -2
  222. package/esm2022/typification/rest/user/search.mjs +1 -1
  223. package/esm2022/typification/rest/user/user.mjs +1 -1
  224. package/esm2022/typification/rest/user/userfield/list.mjs +1 -1
  225. package/esm2022/typification/settings.mjs +2 -2
  226. package/fesm2022/bx-rest.mjs +5272 -5399
  227. package/fesm2022/bx-rest.mjs.map +1 -1
  228. package/functions/mapResult.d.ts +5 -5
  229. package/index.d.ts +5 -5
  230. package/map/app.d.ts +8 -8
  231. package/map/base.d.ts +6 -6
  232. package/map/calendar/event.d.ts +9 -9
  233. package/map/calendar.d.ts +7 -8
  234. package/map/department.d.ts +7 -7
  235. package/map/disk/attachedObject.d.ts +9 -9
  236. package/map/disk/base.d.ts +13 -13
  237. package/map/disk/file.d.ts +9 -9
  238. package/map/disk/folder.d.ts +9 -9
  239. package/map/disk/storage.d.ts +10 -10
  240. package/map/lists/element.d.ts +8 -8
  241. package/map/lists/field.d.ts +9 -9
  242. package/map/lists.d.ts +13 -15
  243. package/map/log/blogpost.d.ts +10 -10
  244. package/map/log.d.ts +7 -8
  245. package/map/rest.d.ts +8 -8
  246. package/map/server.d.ts +7 -7
  247. package/map/sonet_group.d.ts +9 -9
  248. package/map/task/commentitem.d.ts +10 -10
  249. package/map/task/elapseditem.d.ts +10 -10
  250. package/map/task/item/userfield.d.ts +8 -8
  251. package/map/task/planner.d.ts +7 -7
  252. package/map/task/stages.d.ts +8 -8
  253. package/map/task.d.ts +11 -12
  254. package/map/tasks/task/result.d.ts +10 -10
  255. package/map/tasks/task.d.ts +22 -24
  256. package/map/tasks.d.ts +7 -8
  257. package/map/timeman.d.ts +7 -7
  258. package/map/user.d.ts +14 -16
  259. package/map.d.ts +23 -24
  260. package/package.json +3 -3
  261. package/provide.d.ts +3 -0
  262. package/public-api.d.ts +16 -14
  263. package/request/app.d.ts +11 -13
  264. package/request/bizproc/activity.d.ts +5 -5
  265. package/request/bizproc/event.d.ts +5 -5
  266. package/request/bizproc/robot.d.ts +5 -5
  267. package/request/bizproc/task.d.ts +5 -5
  268. package/request/bizproc/workflow/instance.d.ts +5 -5
  269. package/request/bizproc/workflow/template.d.ts +5 -5
  270. package/request/bizproc/workflow.d.ts +16 -15
  271. package/request/bizproc.d.ts +15 -16
  272. package/request/calendar/event.d.ts +10 -12
  273. package/request/calendar.d.ts +7 -8
  274. package/request/department.d.ts +21 -23
  275. package/request/disk/attachedObject.d.ts +9 -11
  276. package/request/disk/file.d.ts +10 -12
  277. package/request/disk/folder.d.ts +86 -88
  278. package/request/disk/storage.d.ts +30 -32
  279. package/request/disk.d.ts +11 -12
  280. package/request/im/chat.d.ts +9 -11
  281. package/request/im.d.ts +7 -8
  282. package/request/lists/element.d.ts +11 -13
  283. package/request/lists/field.d.ts +9 -11
  284. package/request/lists.d.ts +13 -15
  285. package/request/log/blogcomment.d.ts +5 -5
  286. package/request/log/blogpost.d.ts +11 -13
  287. package/request/log.d.ts +9 -10
  288. package/request/server.d.ts +8 -10
  289. package/request/sonet_group.d.ts +9 -11
  290. package/request/task/commentitem.d.ts +26 -28
  291. package/request/task/elapseditem.d.ts +28 -30
  292. package/request/task/item/userfield.d.ts +9 -11
  293. package/request/task/item.d.ts +7 -8
  294. package/request/task/planner.d.ts +7 -9
  295. package/request/task.d.ts +13 -14
  296. package/request/tasks/task/result.d.ts +12 -14
  297. package/request/tasks/task.d.ts +30 -32
  298. package/request/tasks.d.ts +7 -8
  299. package/request/timeman.d.ts +9 -11
  300. package/request/user/userfield.d.ts +9 -11
  301. package/request/user.d.ts +19 -21
  302. package/request-navvy/app.d.ts +14 -16
  303. package/request-navvy/bizproc/workflow.d.ts +13 -11
  304. package/request-navvy/bizproc.d.ts +24 -25
  305. package/request-navvy/calendar/event.d.ts +12 -13
  306. package/request-navvy/calendar.d.ts +7 -8
  307. package/request-navvy/department.d.ts +18 -19
  308. package/request-navvy/disk/attachedObject.d.ts +12 -13
  309. package/request-navvy/disk/file.d.ts +13 -14
  310. package/request-navvy/disk/folder.d.ts +88 -89
  311. package/request-navvy/disk/interlayer/storage.d.ts +19 -21
  312. package/request-navvy/disk/operation.d.ts +21 -23
  313. package/request-navvy/disk/storage.d.ts +21 -22
  314. package/request-navvy/disk.d.ts +13 -14
  315. package/request-navvy/im/chat.d.ts +10 -11
  316. package/request-navvy/im.d.ts +7 -8
  317. package/request-navvy/lists/element.d.ts +14 -15
  318. package/request-navvy/lists/field.d.ts +12 -13
  319. package/request-navvy/lists.d.ts +17 -18
  320. package/request-navvy/log/blogcomment.d.ts +8 -8
  321. package/request-navvy/log/blogpost.d.ts +15 -22
  322. package/request-navvy/log.d.ts +9 -10
  323. package/request-navvy/server.d.ts +11 -13
  324. package/request-navvy/sonet_group.d.ts +12 -13
  325. package/request-navvy/task/commentitem.d.ts +20 -22
  326. package/request-navvy/task/delegate/elapseditem.d.ts +12 -13
  327. package/request-navvy/task/elapseditem.d.ts +39 -41
  328. package/request-navvy/task/item/userfield.d.ts +12 -14
  329. package/request-navvy/task/item.d.ts +7 -8
  330. package/request-navvy/task/operation/elapseditem.d.ts +35 -27
  331. package/request-navvy/task/planner.d.ts +11 -12
  332. package/request-navvy/task.d.ts +13 -14
  333. package/request-navvy/tasks/task/result.d.ts +15 -16
  334. package/request-navvy/tasks/task.d.ts +30 -31
  335. package/request-navvy/tasks.d.ts +7 -8
  336. package/request-navvy/timeman.d.ts +13 -14
  337. package/request-navvy/user/userfield.d.ts +9 -10
  338. package/request-navvy/user.d.ts +27 -28
  339. package/rest/base.d.ts +38 -40
  340. package/rest/map.d.ts +7 -8
  341. package/rest/navvy.d.ts +43 -45
  342. package/services/Navvy/NavvyAlternativePaginationNavigation.d.ts +14 -14
  343. package/services/Navvy/NavvyPagNav.d.ts +8 -8
  344. package/services/Navvy/NavvyPagNavTasks.d.ts +10 -10
  345. package/services/Navvy/NavvyPagNavWithUselessKey.d.ts +8 -8
  346. package/services/Navvy/NavvySimple.d.ts +10 -10
  347. package/services/Navvy/NavvySupport.d.ts +12 -12
  348. package/services/Navvy/extends/NavvyPagNavBase.d.ts +16 -16
  349. package/services/base.d.ts +22 -34
  350. package/services/http/HttpBX.d.ts +37 -38
  351. package/services/http/HttpData.d.ts +11 -11
  352. package/services/http/base/base.d.ts +10 -15
  353. package/services/http/http.d.ts +14 -15
  354. package/services/http/httpNavvy.d.ts +13 -0
  355. package/services/http/sessionKey.d.ts +23 -27
  356. package/services/navvy.d.ts +27 -27
  357. package/services/vanilla/localStorage.d.ts +10 -10
  358. package/services/vanilla/sessionStorage.d.ts +7 -7
  359. package/services/vanilla//321/201ookies.d.ts +9 -9
  360. package/settings.d.ts +4 -12
  361. package/typification/auth/save.d.ts +14 -14
  362. package/typification/base/all-key-free.d.ts +3 -3
  363. package/typification/base/answers.d.ts +12 -0
  364. package/typification/base/methods.d.ts +2 -2
  365. package/typification/base/modyfy.d.ts +9 -9
  366. package/typification/base/params.d.ts +17 -0
  367. package/typification/base/upper-case-keys.d.ts +6 -6
  368. package/typification/base/workpiece/methods-list.d.ts +219 -209
  369. package/typification/base/workpiece/methods.d.ts +19 -19
  370. package/typification/rest/app/info.d.ts +17 -17
  371. package/typification/rest/base/ApiPaginationBX.d.ts +11 -11
  372. package/typification/rest/base/OrderOptions.d.ts +1 -1
  373. package/typification/rest/base/YesNo.d.ts +1 -1
  374. package/typification/rest/base/answer.d.ts +19 -19
  375. package/typification/rest/base/filterGenerator.d.ts +5 -5
  376. package/typification/rest/base/sort.d.ts +1 -1
  377. package/typification/rest/batch/batchRequestParam.d.ts +15 -15
  378. package/typification/rest/batch.d.ts +40 -40
  379. package/typification/rest/bizproc/workflow/start.d.ts +5 -5
  380. package/typification/rest/calendar/base/type.d.ts +1 -1
  381. package/typification/rest/calendar/get/answer.d.ts +126 -126
  382. package/typification/rest/calendar/get/param.d.ts +8 -8
  383. package/typification/rest/department/add.d.ts +6 -6
  384. package/typification/rest/department/del.d.ts +3 -3
  385. package/typification/rest/department/department.d.ts +14 -14
  386. package/typification/rest/department/get.d.ts +10 -10
  387. package/typification/rest/department/update.d.ts +7 -7
  388. package/typification/rest/disk/AttachedObject.d.ts +26 -26
  389. package/typification/rest/disk/file.d.ts +20 -20
  390. package/typification/rest/disk/folder/addSubFolder.d.ts +6 -6
  391. package/typification/rest/disk/folder/copyTo.d.ts +4 -4
  392. package/typification/rest/disk/folder/getFields.d.ts +9 -9
  393. package/typification/rest/disk/folder/moveTo.d.ts +4 -4
  394. package/typification/rest/disk/folder/rename.d.ts +4 -4
  395. package/typification/rest/disk/folder/uploadFile.d.ts +13 -13
  396. package/typification/rest/disk/folder.d.ts +62 -62
  397. package/typification/rest/disk/map.d.ts +6 -6
  398. package/typification/rest/disk/storage/getchildren.d.ts +4 -4
  399. package/typification/rest/disk/storage/uploadfile.d.ts +9 -9
  400. package/typification/rest/im/chat/add.d.ts +12 -12
  401. package/typification/rest/lists/element/add.d.ts +9 -9
  402. package/typification/rest/lists/element/get.d.ts +37 -37
  403. package/typification/rest/lists/field/get.d.ts +37 -37
  404. package/typification/rest/lists/get.d.ts +95 -95
  405. package/typification/rest/log/blogpost/add.d.ts +12 -12
  406. package/typification/rest/log/blogpost/essence.d.ts +51 -51
  407. package/typification/rest/log/blogpost/get.d.ts +71 -71
  408. package/typification/rest/profile.d.ts +16 -16
  409. package/typification/rest/settings.d.ts +6 -6
  410. package/typification/rest/sonet_group/base.d.ts +8 -8
  411. package/typification/rest/sonet_group/get.d.ts +35 -35
  412. package/typification/rest/support/param.d.ts +5 -5
  413. package/typification/rest/task/access/getaccess.d.ts +40 -40
  414. package/typification/rest/task/commentitem/add.d.ts +18 -18
  415. package/typification/rest/task/commentitem/commentitem.d.ts +36 -36
  416. package/typification/rest/task/commentitem/delete.d.ts +4 -4
  417. package/typification/rest/task/commentitem/get.d.ts +4 -4
  418. package/typification/rest/task/commentitem/getlist.d.ts +20 -20
  419. package/typification/rest/task/commentitem/update.d.ts +4 -4
  420. package/typification/rest/task/elapseditem/add.d.ts +10 -10
  421. package/typification/rest/task/elapseditem/del.d.ts +4 -4
  422. package/typification/rest/task/elapseditem/get.d.ts +23 -23
  423. package/typification/rest/task/elapseditem/isActionAllowedParam.d.ts +5 -5
  424. package/typification/rest/task/elapseditem/item.d.ts +25 -25
  425. package/typification/rest/task/elapseditem/update.d.ts +10 -10
  426. package/typification/rest/task/item/userfield/getlist.d.ts +91 -91
  427. package/typification/rest/task/stages/stage.d.ts +19 -19
  428. package/typification/rest/tasks/base/fieldsName.d.ts +19 -19
  429. package/typification/rest/tasks/base/filterGenerator.d.ts +6 -6
  430. package/typification/rest/tasks/base/people.d.ts +12 -12
  431. package/typification/rest/tasks/result/list.d.ts +4 -4
  432. package/typification/rest/tasks/task/add.d.ts +254 -254
  433. package/typification/rest/tasks/task/approve.d.ts +144 -144
  434. package/typification/rest/tasks/task/base.d.ts +3 -3
  435. package/typification/rest/tasks/task/complete.d.ts +6 -6
  436. package/typification/rest/tasks/task/defer.d.ts +6 -6
  437. package/typification/rest/tasks/task/get.d.ts +52 -52
  438. package/typification/rest/tasks/task/getFields.d.ts +19 -19
  439. package/typification/rest/tasks/task/list.d.ts +119 -119
  440. package/typification/rest/tasks/task/result/result.d.ts +23 -23
  441. package/typification/rest/tasks/task/update.d.ts +47 -47
  442. package/typification/rest/tasks/task.d.ts +121 -121
  443. package/typification/rest/timeman/status.d.ts +28 -28
  444. package/typification/rest/user/get.d.ts +74 -74
  445. package/typification/rest/user/search.d.ts +66 -66
  446. package/typification/rest/user/user.d.ts +62 -62
  447. package/typification/rest/user/userfield/list.d.ts +56 -56
  448. package/typification/settings.d.ts +11 -10
  449. package/esm2022/index.mjs +0 -13
  450. package/esm2022/rest.mjs +0 -123
  451. package/esm2022/typification/rest/api-lib.mjs +0 -21
  452. package/esm2022/typification/rest/lib.mjs +0 -2
  453. package/rest.d.ts +0 -89
  454. package/typification/rest/api-lib.d.ts +0 -9
  455. package/typification/rest/lib.d.ts +0 -18
@@ -1,43 +1,43 @@
1
- import { Injectable } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export default class CookiesServices {
4
- static get(name) {
5
- const results = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');
6
- if (results)
7
- return results[2];
8
- else
9
- return '';
10
- }
11
- static set(name, value, age = 0) {
12
- let string = name + '=' + value + ';';
13
- if (age) {
14
- string += ' max-age=' + age;
15
- }
16
- string += '; SameSite=None; Secure';
17
- document.cookie = string;
18
- }
19
- static setObj(name, value, age = 0) {
20
- let string = name + '=' + JSON.stringify(value) + ';';
21
- if (age) {
22
- string += ' max-age=' + age;
23
- }
24
- string += '; SameSite=None; Secure';
25
- document.cookie = string;
26
- }
27
- static getObj(name) {
28
- const results = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');
29
- if (results) {
30
- return JSON.parse(results[2]);
31
- }
32
- return false;
33
- }
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: CookiesServices, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
35
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: CookiesServices, providedIn: 'root' }); }
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: CookiesServices, decorators: [{
38
- type: Injectable,
39
- args: [{
40
- providedIn: 'root'
41
- }]
42
- }] });
43
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoi0YFvb2tpZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ieC1yZXN0L3NyYy9zZXJ2aWNlcy92YW5pbGxhL9GBb29raWVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUE7O0FBSzFDLE1BQU0sQ0FBQyxPQUFPLE9BQU8sZUFBZTtJQUVsQyxNQUFNLENBQUMsR0FBRyxDQUFDLElBQVk7UUFDckIsTUFBTSxPQUFPLEdBQUcsUUFBUSxDQUFDLE1BQU0sQ0FBQyxLQUFLLENBQUMsU0FBUyxHQUFHLElBQUksR0FBRyxlQUFlLENBQUMsQ0FBQztRQUMxRSxJQUFJLE9BQU87WUFDVCxPQUFPLE9BQU8sQ0FBQyxDQUFDLENBQUMsQ0FBQTs7WUFFakIsT0FBTyxFQUFFLENBQUE7SUFDYixDQUFDO0lBRUQsTUFBTSxDQUFDLEdBQUcsQ0FBQyxJQUFZLEVBQUUsS0FBYSxFQUFFLE1BQWMsQ0FBQztRQUNyRCxJQUFJLE1BQU0sR0FBRyxJQUFJLEdBQUcsR0FBRyxHQUFHLEtBQUssR0FBRyxHQUFHLENBQUE7UUFDckMsSUFBRyxHQUFHLEVBQUU7WUFDTixNQUFNLElBQUksV0FBVyxHQUFHLEdBQUcsQ0FBQTtTQUM1QjtRQUNELE1BQU0sSUFBSSx5QkFBeUIsQ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Y29uc3QgcmVzdWx0cyA9IGRvY3VtZW50LmNvb2tpZS5tYXRjaCgnKF58OykgPycgKyBuYW1lICsgJz0oW147XSopKDt8JCknKTtcclxuICAgIGlmIChyZXN1bHRzKSB7XHJcbiAgICAgIHJldHVybiBKU09OLnBhcnNlKHJlc3VsdHNbMl0pIGFzIFRcclxuICAgIH1cclxuXHJcbiAgICByZXR1cm4gZmFsc2VcclxuICB9XHJcbn1cclxuIl19
1
+ import { Injectable } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export default class CookiesServices {
4
+ static get(name) {
5
+ const results = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');
6
+ if (results)
7
+ return results[2];
8
+ else
9
+ return '';
10
+ }
11
+ static set(name, value, age = 0) {
12
+ let string = name + '=' + value + ';';
13
+ if (age) {
14
+ string += ' max-age=' + age;
15
+ }
16
+ string += '; SameSite=None; Secure';
17
+ document.cookie = string;
18
+ }
19
+ static setObj(name, value, age = 0) {
20
+ let string = name + '=' + JSON.stringify(value) + ';';
21
+ if (age) {
22
+ string += ' max-age=' + age;
23
+ }
24
+ string += '; SameSite=None; Secure';
25
+ document.cookie = string;
26
+ }
27
+ static getObj(name) {
28
+ const results = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');
29
+ if (results) {
30
+ return JSON.parse(results[2]);
31
+ }
32
+ return false;
33
+ }
34
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: CookiesServices, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
35
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: CookiesServices, providedIn: 'root' }); }
36
+ }
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: CookiesServices, decorators: [{
38
+ type: Injectable,
39
+ args: [{
40
+ providedIn: 'root'
41
+ }]
42
+ }] });
43
+ //#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zdWx0c1syXSkgYXMgVFxyXG4gICAgfVxyXG5cclxuICAgIHJldHVybiBmYWxzZVxyXG4gIH1cclxufVxyXG4iXX0=
@@ -1,15 +1,14 @@
1
- import { InjectionToken } from '@angular/core';
2
- export class BX_REST_SETTINGS extends InjectionToken {
3
- constructor() {
4
- super(...arguments);
5
- this.auth = {
6
- source: 'cookies',
7
- key: 'auth'
8
- };
9
- this.urls = {
10
- source: 'localStorage',
11
- key: ''
12
- };
13
- }
14
- }
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZ3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9ieC1yZXN0L3NyYy9zZXR0aW5ncy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFBO0FBRTlDLE1BQU0sT0FBTyxnQkFBaUIsU0FBUSxjQUE2QjtJQUFuRTs7UUFDRSxTQUFJLEdBQUc7WUFDTCxNQUFNLEVBQUUsU0FBUztZQUNqQixHQUFHLEVBQUUsTUFBTTtTQUNaLENBQUE7UUFDRCxTQUFJLEdBQUc7WUFDTCxNQUFNLEVBQUUsY0FBYztZQUN0QixHQUFHLEVBQUUsRUFBRTtTQUNSLENBQUE7SUFDSCxDQUFDO0NBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBpUmVzdFNldHRpbmdzIH0gZnJvbSAnLi90eXBpZmljYXRpb24vc2V0dGluZ3MnXHJcbmltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSdcclxuXHJcbmV4cG9ydCBjbGFzcyBCWF9SRVNUX1NFVFRJTkdTIGV4dGVuZHMgSW5qZWN0aW9uVG9rZW48aVJlc3RTZXR0aW5ncz4ge1xyXG4gIGF1dGggPSB7XHJcbiAgICBzb3VyY2U6ICdjb29raWVzJyxcclxuICAgIGtleTogJ2F1dGgnXHJcbiAgfVxyXG4gIHVybHMgPSB7XHJcbiAgICBzb3VyY2U6ICdsb2NhbFN0b3JhZ2UnLFxyXG4gICAga2V5OiAnJ1xyXG4gIH1cclxufVxyXG4iXX0=
1
+ import { InjectionToken } from '@angular/core';
2
+ export const DEFAULT_BX_REST_SETTINGS = {
3
+ auth: {
4
+ source: 'cookies',
5
+ key: 'auth'
6
+ },
7
+ urls: {
8
+ source: 'localStorage',
9
+ key: '',
10
+ additional_part: 'rest'
11
+ }
12
+ };
13
+ export const BX_REST_SETTINGS = new InjectionToken('BX_REST_SETTINGS');
14
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZ3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9ieC1yZXN0L3NyYy9zZXR0aW5ncy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFBO0FBRTlDLE1BQU0sQ0FBQyxNQUFNLHdCQUF3QixHQUFvQjtJQUN2RCxJQUFJLEVBQUU7UUFDSixNQUFNLEVBQUUsU0FBUztRQUNqQixHQUFHLEVBQUUsTUFBTTtLQUNaO0lBQ0QsSUFBSSxFQUFFO1FBQ0osTUFBTSxFQUFFLGNBQWM7UUFDdEIsR0FBRyxFQUFFLEVBQUU7UUFDUCxlQUFlLEVBQUUsTUFBTTtLQUN4QjtDQUNGLENBQUE7QUFFRCxNQUFNLENBQUMsTUFBTSxnQkFBZ0IsR0FBRyxJQUFJLGNBQWMsQ0FBa0Isa0JBQWtCLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGlCWFJlc3RTZXR0aW5ncyB9IGZyb20gJy4vdHlwaWZpY2F0aW9uL3NldHRpbmdzJ1xyXG5pbX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SRVNULdC40L3RgtC10YDRhNC10LnRgdCwINC/0L7RgNGC0LDQu9CwXHJcbiAgZG9tYWluOiBzdHJpbmcsXHJcbiAgZXhwaXJlczogbnVtYmVyLFxyXG4gIGV4cGlyZXNfaW46IG51bWJlcixcclxuICBtZW1iZXJfaWQ6IHN0cmluZyxcclxuICByZWZyZXNoX3Rva2VuOiBzdHJpbmcsIC8vINC00L7Qv9C+0LvQvdC40YLQtdC70YzQvdGL0Lkg0LDQstGC0L7RgNC40LfQsNGG0LjQvtC90L3Ri9C5INGC0L7QutC10L0sINGB0LvRg9C20LDRidC40Lkg0LTQu9GPINC/0YDQvtC00LvQtdC90LjRjyDRgdC+0YXRgNCw0L3QtdC90L3QvtC5INCw0LLRgtC+0YDQuNC30LDRhtC40LhcclxuICBzY29wZTogc3RyaW5nLFxyXG4gIHNlcnZlcl9lbmRwb2ludDogc3RyaW5nLCAvLyDQsNC00YDQtdGBIFJFU1Qt0LjQvdGC0LXRgNGE0LXQudGB0LAg0YHQtdGA0LLQtdGA0LBcclxuICBzdGF0dXM6IHN0cmluZywgLy8g0YHRgtCw0YLRg9GBINC/0YDQuNC70L7QttC10L3QuNGPINC90LAg0L/QvtGA0YLQsNC70LVcclxuICB1c2VyX2lkOiBudW1iZXIsXHJcbiAgc3RhdGU/OiBhbnlcclxufVxyXG4iXX0=
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2F2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2J4LXJlc3Qvc3JjL3R5cGlmaWNhdGlvbi9hdXRoL3NhdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgaUJYUmVzdEF1dGgge1xyXG4gIGFjY2Vzc190b2tlbjogc3RyaW5nLCAvLyDQvtGB0L3Q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