bx-rest 0.10.5 → 0.10.7

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 (893) hide show
  1. package/consts/part-name-methods.d.ts +165 -0
  2. package/esm2022/bx-rest.mjs +5 -0
  3. package/esm2022/consts/part-name-methods.mjs +166 -0
  4. package/esm2022/functions/errorHandler.mjs +34 -0
  5. package/esm2022/functions/mapResult.mjs +10 -0
  6. package/esm2022/functions/serializeBitrixParams.mjs +24 -0
  7. package/esm2022/functions/toLocalAtom.mjs +11 -0
  8. package/esm2022/map/app.mjs +9 -0
  9. package/esm2022/map/calendar/event.mjs +47 -0
  10. package/esm2022/map/calendar/section.mjs +17 -0
  11. package/esm2022/map/calendar/user/settings.mjs +22 -0
  12. package/esm2022/map/calendar/user.mjs +7 -0
  13. package/esm2022/map/calendar.mjs +11 -0
  14. package/esm2022/map/channel/public.mjs +12 -0
  15. package/esm2022/map/crm/automatedsolution.mjs +11 -0
  16. package/esm2022/map/crm/calllist.mjs +30 -0
  17. package/esm2022/map/crm/company.mjs +53 -0
  18. package/esm2022/map/crm/contact.mjs +51 -0
  19. package/esm2022/map/crm/currency.mjs +36 -0
  20. package/esm2022/map/crm/deal.mjs +63 -0
  21. package/esm2022/map/crm/index.mjs +10 -0
  22. package/esm2022/map/crm/lead.mjs +61 -0
  23. package/esm2022/map/crm/quote.mjs +72 -0
  24. package/esm2022/map/crm/status.mjs +26 -0
  25. package/esm2022/map/department.mjs +24 -0
  26. package/esm2022/map/disk/attachedObject.mjs +18 -0
  27. package/esm2022/map/disk/base.mjs +67 -0
  28. package/esm2022/map/disk/file.mjs +23 -0
  29. package/esm2022/map/disk/folder.mjs +7 -0
  30. package/esm2022/map/disk/storage.mjs +10 -0
  31. package/esm2022/map/im/dialog.mjs +16 -0
  32. package/esm2022/map/im/gialog/messages.mjs +29 -0
  33. package/esm2022/map/im/gialog/users.mjs +15 -0
  34. package/esm2022/map/im/recent.mjs +80 -0
  35. package/esm2022/map/im/user/list.mjs +10 -0
  36. package/esm2022/map/im/user.mjs +16 -0
  37. package/esm2022/map/lists/element.mjs +14 -0
  38. package/esm2022/map/lists/field.mjs +6 -0
  39. package/esm2022/map/lists.mjs +63 -0
  40. package/esm2022/map/log/blogpost.mjs +72 -0
  41. package/esm2022/map/log.mjs +7 -0
  42. package/esm2022/map/pull/application/config.mjs +34 -0
  43. package/esm2022/map/pull.mjs +19 -0
  44. package/esm2022/map/rest.mjs +7 -0
  45. package/esm2022/map/server.mjs +7 -0
  46. package/esm2022/map/socialnetwork/api/livefeed/blogpost/important.mjs +9 -0
  47. package/esm2022/map/sonet_group.mjs +24 -0
  48. package/esm2022/map/task/commentitem.mjs +44 -0
  49. package/esm2022/map/task/elapseditem.mjs +23 -0
  50. package/esm2022/map/task/item/userfield.mjs +27 -0
  51. package/esm2022/map/task/planner.mjs +7 -0
  52. package/esm2022/map/task/stages.mjs +11 -0
  53. package/esm2022/map/task.mjs +11 -0
  54. package/esm2022/map/tasks/task/result.mjs +16 -0
  55. package/esm2022/map/tasks/task.mjs +134 -0
  56. package/esm2022/map/tasks.mjs +7 -0
  57. package/esm2022/map/timeman.mjs +31 -0
  58. package/esm2022/map/user.mjs +85 -0
  59. package/esm2022/public-api.mjs +15 -0
  60. package/esm2022/request/app.mjs +13 -0
  61. package/esm2022/request/bizproc/activity.mjs +3 -0
  62. package/esm2022/request/bizproc/event.mjs +3 -0
  63. package/esm2022/request/bizproc/robot.mjs +3 -0
  64. package/esm2022/request/bizproc/task.mjs +3 -0
  65. package/esm2022/request/bizproc/workflow/instance.mjs +3 -0
  66. package/esm2022/request/bizproc/workflow/template.mjs +3 -0
  67. package/esm2022/request/bizproc/workflow.mjs +18 -0
  68. package/esm2022/request/bizproc.mjs +15 -0
  69. package/esm2022/request/department.mjs +26 -0
  70. package/esm2022/request/disk/attachedObject.mjs +14 -0
  71. package/esm2022/request/disk/file.mjs +18 -0
  72. package/esm2022/request/disk/folder.mjs +117 -0
  73. package/esm2022/request/disk/storage.mjs +35 -0
  74. package/esm2022/request/disk.mjs +11 -0
  75. package/esm2022/request/lists/element.mjs +18 -0
  76. package/esm2022/request/lists/field.mjs +35 -0
  77. package/esm2022/request/lists.mjs +86 -0
  78. package/esm2022/request/log/blogcomment.mjs +3 -0
  79. package/esm2022/request/log/blogpost.mjs +18 -0
  80. package/esm2022/request/log.mjs +9 -0
  81. package/esm2022/request/pull/application/config.mjs +11 -0
  82. package/esm2022/request/pull/channel/public.mjs +18 -0
  83. package/esm2022/request/pull/config.mjs +13 -0
  84. package/esm2022/request/pull.mjs +11 -0
  85. package/esm2022/request/server.mjs +14 -0
  86. package/esm2022/request/socialnetwork/api/contentview.mjs +14 -0
  87. package/esm2022/request/socialnetwork/api/livefeed/blogpost/important.mjs +14 -0
  88. package/esm2022/request/socialnetwork/api/livefeed/blogpost.mjs +7 -0
  89. package/esm2022/request/socialnetwork/api/livefeed.mjs +7 -0
  90. package/esm2022/request/socialnetwork/api.mjs +9 -0
  91. package/esm2022/request/socialnetwork.mjs +8 -0
  92. package/esm2022/request/sonet_group.mjs +24 -0
  93. package/esm2022/request/task/commentitem.mjs +32 -0
  94. package/esm2022/request/task/elapseditem.mjs +40 -0
  95. package/esm2022/request/task/item/userfield.mjs +14 -0
  96. package/esm2022/request/task/item.mjs +7 -0
  97. package/esm2022/request/task/planner.mjs +11 -0
  98. package/esm2022/request/task.mjs +13 -0
  99. package/esm2022/request/tasks/task/result.mjs +22 -0
  100. package/esm2022/request/tasks/task.mjs +110 -0
  101. package/esm2022/request/tasks.mjs +7 -0
  102. package/esm2022/request/user/userfield.mjs +14 -0
  103. package/esm2022/request/user.mjs +40 -0
  104. package/esm2022/request-navvy/app.mjs +14 -0
  105. package/esm2022/request-navvy/bizproc/task.mjs +26 -0
  106. package/esm2022/request-navvy/bizproc/workflow.mjs +32 -0
  107. package/esm2022/request-navvy/bizproc.mjs +60 -0
  108. package/esm2022/request-navvy/calendar/event.mjs +54 -0
  109. package/esm2022/request-navvy/calendar/section.mjs +35 -0
  110. package/esm2022/request-navvy/calendar/user/settings.mjs +27 -0
  111. package/esm2022/request-navvy/calendar/user.mjs +7 -0
  112. package/esm2022/request-navvy/calendar.mjs +36 -0
  113. package/esm2022/request-navvy/crm/address.mjs +66 -0
  114. package/esm2022/request-navvy/crm/automatedsolution.mjs +73 -0
  115. package/esm2022/request-navvy/crm/automation/index.mjs +62 -0
  116. package/esm2022/request-navvy/crm/calllist/index.mjs +79 -0
  117. package/esm2022/request-navvy/crm/calllist/items.mjs +24 -0
  118. package/esm2022/request-navvy/crm/company.mjs +76 -0
  119. package/esm2022/request-navvy/crm/contact.mjs +76 -0
  120. package/esm2022/request-navvy/crm/currency/base.mjs +31 -0
  121. package/esm2022/request-navvy/crm/currency.mjs +75 -0
  122. package/esm2022/request-navvy/crm/deal.mjs +76 -0
  123. package/esm2022/request-navvy/crm/documentgenerator/document.mjs +103 -0
  124. package/esm2022/request-navvy/crm/documentgenerator/index.mjs +18 -0
  125. package/esm2022/request-navvy/crm/documentgenerator/numerator.mjs +61 -0
  126. package/esm2022/request-navvy/crm/documentgenerator/template.mjs +76 -0
  127. package/esm2022/request-navvy/crm/duplicate/index.mjs +26 -0
  128. package/esm2022/request-navvy/crm/duplicate/volatile-type.mjs +51 -0
  129. package/esm2022/request-navvy/crm/entity.mjs +23 -0
  130. package/esm2022/request-navvy/crm/enum/index.mjs +115 -0
  131. package/esm2022/request-navvy/crm/enum/settings.mjs +21 -0
  132. package/esm2022/request-navvy/crm/lead.mjs +76 -0
  133. package/esm2022/request-navvy/crm/multifield.mjs +21 -0
  134. package/esm2022/request-navvy/crm/quote/index.mjs +80 -0
  135. package/esm2022/request-navvy/crm/quote/productrows.mjs +33 -0
  136. package/esm2022/request-navvy/crm/quote/userfield.mjs +60 -0
  137. package/esm2022/request-navvy/crm/requisite/bankdetail.mjs +70 -0
  138. package/esm2022/request-navvy/crm/requisite/index.mjs +89 -0
  139. package/esm2022/request-navvy/crm/requisite/link.mjs +62 -0
  140. package/esm2022/request-navvy/crm/requisite/preset/field.mjs +82 -0
  141. package/esm2022/request-navvy/crm/requisite/preset/index.mjs +83 -0
  142. package/esm2022/request-navvy/crm/requisite/userfield.mjs +63 -0
  143. package/esm2022/request-navvy/crm/status/entity.mjs +32 -0
  144. package/esm2022/request-navvy/crm/status.mjs +78 -0
  145. package/esm2022/request-navvy/crm/timeline/bindings.mjs +51 -0
  146. package/esm2022/request-navvy/crm/timeline/comment.mjs +83 -0
  147. package/esm2022/request-navvy/crm/timeline/icon.mjs +58 -0
  148. package/esm2022/request-navvy/crm/timeline/index.mjs +38 -0
  149. package/esm2022/request-navvy/crm/timeline/item.mjs +31 -0
  150. package/esm2022/request-navvy/crm/timeline/layout/blocks.mjs +45 -0
  151. package/esm2022/request-navvy/crm/timeline/layout/index.mjs +10 -0
  152. package/esm2022/request-navvy/crm/timeline/logmessage.mjs +58 -0
  153. package/esm2022/request-navvy/crm/timeline/logo.mjs +58 -0
  154. package/esm2022/request-navvy/crm/timeline/note.mjs +43 -0
  155. package/esm2022/request-navvy/crm.mjs +55 -0
  156. package/esm2022/request-navvy/department.mjs +28 -0
  157. package/esm2022/request-navvy/disk/attachedObject.mjs +12 -0
  158. package/esm2022/request-navvy/disk/file.mjs +65 -0
  159. package/esm2022/request-navvy/disk/folder.mjs +118 -0
  160. package/esm2022/request-navvy/disk/operation/storage.mjs +55 -0
  161. package/esm2022/request-navvy/disk/operation.mjs +74 -0
  162. package/esm2022/request-navvy/disk/storage.mjs +56 -0
  163. package/esm2022/request-navvy/disk.mjs +13 -0
  164. package/esm2022/request-navvy/im/chat/user.mjs +25 -0
  165. package/esm2022/request-navvy/im/chat.mjs +84 -0
  166. package/esm2022/request-navvy/im/counters.mjs +11 -0
  167. package/esm2022/request-navvy/im/dialog/messages.mjs +12 -0
  168. package/esm2022/request-navvy/im/dialog/read.mjs +19 -0
  169. package/esm2022/request-navvy/im/dialog/users.mjs +12 -0
  170. package/esm2022/request-navvy/im/dialog.mjs +39 -0
  171. package/esm2022/request-navvy/im/recent.mjs +46 -0
  172. package/esm2022/request-navvy/im/user/list.mjs +13 -0
  173. package/esm2022/request-navvy/im/user/status/idle.mjs +14 -0
  174. package/esm2022/request-navvy/im/user/status.mjs +22 -0
  175. package/esm2022/request-navvy/im/user.mjs +21 -0
  176. package/esm2022/request-navvy/im.mjs +15 -0
  177. package/esm2022/request-navvy/lists/element.mjs +37 -0
  178. package/esm2022/request-navvy/lists/field.mjs +36 -0
  179. package/esm2022/request-navvy/lists.mjs +93 -0
  180. package/esm2022/request-navvy/log/blogcomment.mjs +9 -0
  181. package/esm2022/request-navvy/log/blogpost.mjs +40 -0
  182. package/esm2022/request-navvy/log.mjs +9 -0
  183. package/esm2022/request-navvy/pull/application/config.mjs +12 -0
  184. package/esm2022/request-navvy/pull/channel/public.mjs +15 -0
  185. package/esm2022/request-navvy/pull/config.mjs +24 -0
  186. package/esm2022/request-navvy/pull.mjs +15 -0
  187. package/esm2022/request-navvy/server.mjs +15 -0
  188. package/esm2022/request-navvy/socialnetwork/api/contentview.mjs +11 -0
  189. package/esm2022/request-navvy/socialnetwork/api/livefeed/blogpost/important.mjs +15 -0
  190. package/esm2022/request-navvy/socialnetwork/api/livefeed/blogpost.mjs +7 -0
  191. package/esm2022/request-navvy/socialnetwork/api/livefeed.mjs +11 -0
  192. package/esm2022/request-navvy/socialnetwork/api.mjs +9 -0
  193. package/esm2022/request-navvy/socialnetwork.mjs +7 -0
  194. package/esm2022/request-navvy/sonet_group.mjs +50 -0
  195. package/esm2022/request-navvy/task/commentitem.mjs +47 -0
  196. package/esm2022/request-navvy/task/delegate/elapseditem.mjs +25 -0
  197. package/esm2022/request-navvy/task/elapseditem.mjs +69 -0
  198. package/esm2022/request-navvy/task/item/userfield.mjs +42 -0
  199. package/esm2022/request-navvy/task/item.mjs +7 -0
  200. package/esm2022/request-navvy/task/operation/elapseditem.mjs +324 -0
  201. package/esm2022/request-navvy/task/planner.mjs +15 -0
  202. package/esm2022/request-navvy/task.mjs +13 -0
  203. package/esm2022/request-navvy/tasks/task/result.mjs +32 -0
  204. package/esm2022/request-navvy/tasks/task.mjs +231 -0
  205. package/esm2022/request-navvy/tasks.mjs +7 -0
  206. package/esm2022/request-navvy/timeman.mjs +53 -0
  207. package/esm2022/request-navvy/user/userfield.mjs +35 -0
  208. package/esm2022/request-navvy/user.mjs +155 -0
  209. package/esm2022/rest/base.mjs +39 -0
  210. package/esm2022/rest/map.mjs +39 -0
  211. package/esm2022/rest/navvy.mjs +58 -0
  212. package/esm2022/services/base.mjs +205 -0
  213. package/esm2022/services/http/HttpBX.mjs +142 -0
  214. package/esm2022/services/http/HttpData.mjs +77 -0
  215. package/esm2022/services/http/base/base.mjs +4 -0
  216. package/esm2022/services/http/http.mjs +76 -0
  217. package/esm2022/services/http/httpNavvy.mjs +14 -0
  218. package/esm2022/services/http/sessionKey.mjs +220 -0
  219. package/esm2022/services/navvy/extends/navvy-pag-base.mjs +40 -0
  220. package/esm2022/services/navvy/navvy-alternative-pagination-navigation.mjs +84 -0
  221. package/esm2022/services/navvy/navvy-pag-nav-result-key-object.mjs +60 -0
  222. package/esm2022/services/navvy/navvy-pag-nav-result-key.mjs +77 -0
  223. package/esm2022/services/navvy/navvy-pag-nav-tasks.mjs +78 -0
  224. package/esm2022/services/navvy/navvy-pag-nav-with-useless-key.mjs +81 -0
  225. package/esm2022/services/navvy/navvy-pag.mjs +70 -0
  226. package/esm2022/services/navvy/navvy-simple.mjs +4 -0
  227. package/esm2022/services/navvy/navvy-support.mjs +15 -0
  228. package/esm2022/services/navvy.mjs +66 -0
  229. package/esm2022/services/vanilla/localStorage.mjs +25 -0
  230. package/esm2022/services/vanilla/sessionStorage.mjs +13 -0
  231. package/esm2022/services/vanilla//321/201ookies.mjs +33 -0
  232. package/esm2022/settings.mjs +28 -0
  233. package/esm2022/typification/auth/save.mjs +2 -0
  234. package/esm2022/typification/base/all-key-free.mjs +2 -0
  235. package/esm2022/typification/base/answers.mjs +438 -0
  236. package/esm2022/typification/base/modyfy.mjs +2 -0
  237. package/esm2022/typification/base/params.mjs +525 -0
  238. package/esm2022/typification/base/upper-case-keys.mjs +2 -0
  239. package/esm2022/typification/base/workpiece/methods-list.mjs +2 -0
  240. package/esm2022/typification/base/workpiece/methods.mjs +2 -0
  241. package/esm2022/typification/rest/app/info.mjs +2 -0
  242. package/esm2022/typification/rest/app.mjs +5 -0
  243. package/esm2022/typification/rest/base/answer.mjs +2 -0
  244. package/esm2022/typification/rest/base/api-pagination-bx.mjs +2 -0
  245. package/esm2022/typification/rest/base/field-bx-type.mjs +2 -0
  246. package/esm2022/typification/rest/base/filter-generator.mjs +2 -0
  247. package/esm2022/typification/rest/base/order-options.mjs +2 -0
  248. package/esm2022/typification/rest/base/sort.mjs +2 -0
  249. package/esm2022/typification/rest/base/yes-no.mjs +2 -0
  250. package/esm2022/typification/rest/base.mjs +11 -0
  251. package/esm2022/typification/rest/batch/batchRequestParam.mjs +2 -0
  252. package/esm2022/typification/rest/batch.mjs +2 -0
  253. package/esm2022/typification/rest/bizproc/base/filedEnum.mjs +2 -0
  254. package/esm2022/typification/rest/bizproc/task/complete.mjs +2 -0
  255. package/esm2022/typification/rest/bizproc/task/delegate.mjs +2 -0
  256. package/esm2022/typification/rest/bizproc/task/list.mjs +2 -0
  257. package/esm2022/typification/rest/bizproc/workflow/instances.mjs +2 -0
  258. package/esm2022/typification/rest/bizproc/workflow/kill.mjs +2 -0
  259. package/esm2022/typification/rest/bizproc/workflow/start.mjs +2 -0
  260. package/esm2022/typification/rest/bizproc/workflow/template/list.mjs +2 -0
  261. package/esm2022/typification/rest/bizproc/workflow/terminate.mjs +2 -0
  262. package/esm2022/typification/rest/bizproc.mjs +13 -0
  263. package/esm2022/typification/rest/calendar/base/type.mjs +2 -0
  264. package/esm2022/typification/rest/calendar/event/add.mjs +2 -0
  265. package/esm2022/typification/rest/calendar/event/delete.mjs +2 -0
  266. package/esm2022/typification/rest/calendar/event/get/nearest.mjs +2 -0
  267. package/esm2022/typification/rest/calendar/event/get.mjs +2 -0
  268. package/esm2022/typification/rest/calendar/event/update.mjs +2 -0
  269. package/esm2022/typification/rest/calendar/section/add.mjs +2 -0
  270. package/esm2022/typification/rest/calendar/section/delete.mjs +2 -0
  271. package/esm2022/typification/rest/calendar/section/get.mjs +2 -0
  272. package/esm2022/typification/rest/calendar/section/update.mjs +2 -0
  273. package/esm2022/typification/rest/calendar/user/settings/get.mjs +2 -0
  274. package/esm2022/typification/rest/calendar/user/settings/set.mjs +2 -0
  275. package/esm2022/typification/rest/calendar.mjs +16 -0
  276. package/esm2022/typification/rest/crm/automatedsolution/add.mjs +2 -0
  277. package/esm2022/typification/rest/crm/automatedsolution/automatedsolution.mjs +2 -0
  278. package/esm2022/typification/rest/crm/automatedsolution/delete.mjs +2 -0
  279. package/esm2022/typification/rest/crm/automatedsolution/get.mjs +2 -0
  280. package/esm2022/typification/rest/crm/automatedsolution/index.mjs +7 -0
  281. package/esm2022/typification/rest/crm/automatedsolution/list.mjs +2 -0
  282. package/esm2022/typification/rest/crm/automatedsolution/update.mjs +2 -0
  283. package/esm2022/typification/rest/crm/automation.mjs +2 -0
  284. package/esm2022/typification/rest/crm/calllist.mjs +2 -0
  285. package/esm2022/typification/rest/crm/company/add.mjs +2 -0
  286. package/esm2022/typification/rest/crm/company/company.mjs +2 -0
  287. package/esm2022/typification/rest/crm/company/delete.mjs +2 -0
  288. package/esm2022/typification/rest/crm/company/get.mjs +2 -0
  289. package/esm2022/typification/rest/crm/company/index.mjs +7 -0
  290. package/esm2022/typification/rest/crm/company/list.mjs +2 -0
  291. package/esm2022/typification/rest/crm/company/update.mjs +2 -0
  292. package/esm2022/typification/rest/crm/contact/add.mjs +2 -0
  293. package/esm2022/typification/rest/crm/contact/contact.mjs +2 -0
  294. package/esm2022/typification/rest/crm/contact/delete.mjs +2 -0
  295. package/esm2022/typification/rest/crm/contact/get.mjs +2 -0
  296. package/esm2022/typification/rest/crm/contact/index.mjs +7 -0
  297. package/esm2022/typification/rest/crm/contact/list.mjs +2 -0
  298. package/esm2022/typification/rest/crm/contact/update.mjs +2 -0
  299. package/esm2022/typification/rest/crm/currency.mjs +2 -0
  300. package/esm2022/typification/rest/crm/deal/add.mjs +2 -0
  301. package/esm2022/typification/rest/crm/deal/deal.mjs +2 -0
  302. package/esm2022/typification/rest/crm/deal/delete.mjs +2 -0
  303. package/esm2022/typification/rest/crm/deal/get.mjs +2 -0
  304. package/esm2022/typification/rest/crm/deal/index.mjs +7 -0
  305. package/esm2022/typification/rest/crm/deal/list.mjs +2 -0
  306. package/esm2022/typification/rest/crm/deal/update.mjs +2 -0
  307. package/esm2022/typification/rest/crm/documentgenerator.mjs +2 -0
  308. package/esm2022/typification/rest/crm/duplicate.mjs +2 -0
  309. package/esm2022/typification/rest/crm/entity.mjs +2 -0
  310. package/esm2022/typification/rest/crm/enum.mjs +2 -0
  311. package/esm2022/typification/rest/crm/index.mjs +18 -0
  312. package/esm2022/typification/rest/crm/lead/add.mjs +2 -0
  313. package/esm2022/typification/rest/crm/lead/delete.mjs +2 -0
  314. package/esm2022/typification/rest/crm/lead/get.mjs +2 -0
  315. package/esm2022/typification/rest/crm/lead/index.mjs +7 -0
  316. package/esm2022/typification/rest/crm/lead/lead.mjs +2 -0
  317. package/esm2022/typification/rest/crm/lead/list.mjs +2 -0
  318. package/esm2022/typification/rest/crm/lead/update.mjs +2 -0
  319. package/esm2022/typification/rest/crm/multifield.mjs +2 -0
  320. package/esm2022/typification/rest/crm/quote/index.mjs +2 -0
  321. package/esm2022/typification/rest/crm/requisite.mjs +2 -0
  322. package/esm2022/typification/rest/crm/status.mjs +2 -0
  323. package/esm2022/typification/rest/crm/timeline/bindings.mjs +2 -0
  324. package/esm2022/typification/rest/crm/timeline/comment.mjs +2 -0
  325. package/esm2022/typification/rest/crm/timeline/common.mjs +2 -0
  326. package/esm2022/typification/rest/crm/timeline/icon.mjs +2 -0
  327. package/esm2022/typification/rest/crm/timeline/index.mjs +10 -0
  328. package/esm2022/typification/rest/crm/timeline/item.mjs +2 -0
  329. package/esm2022/typification/rest/crm/timeline/layout.mjs +2 -0
  330. package/esm2022/typification/rest/crm/timeline/logmessage.mjs +2 -0
  331. package/esm2022/typification/rest/crm/timeline/logo.mjs +2 -0
  332. package/esm2022/typification/rest/crm/timeline/note.mjs +2 -0
  333. package/esm2022/typification/rest/department/add.mjs +2 -0
  334. package/esm2022/typification/rest/department/del.mjs +2 -0
  335. package/esm2022/typification/rest/department/department.mjs +2 -0
  336. package/esm2022/typification/rest/department/get.mjs +2 -0
  337. package/esm2022/typification/rest/department/update.mjs +2 -0
  338. package/esm2022/typification/rest/department.mjs +9 -0
  339. package/esm2022/typification/rest/disk/AttachedObject.mjs +2 -0
  340. package/esm2022/typification/rest/disk/file.mjs +2 -0
  341. package/esm2022/typification/rest/disk/folder/addSubFolder.mjs +2 -0
  342. package/esm2022/typification/rest/disk/folder/copyTo.mjs +2 -0
  343. package/esm2022/typification/rest/disk/folder/getFields.mjs +2 -0
  344. package/esm2022/typification/rest/disk/folder/moveTo.mjs +2 -0
  345. package/esm2022/typification/rest/disk/folder/rename.mjs +2 -0
  346. package/esm2022/typification/rest/disk/folder/uploadFile.mjs +2 -0
  347. package/esm2022/typification/rest/disk/folder.mjs +2 -0
  348. package/esm2022/typification/rest/disk/map.mjs +2 -0
  349. package/esm2022/typification/rest/disk/storage/getchildren.mjs +2 -0
  350. package/esm2022/typification/rest/disk/storage/uploadfile.mjs +2 -0
  351. package/esm2022/typification/rest/disk.mjs +16 -0
  352. package/esm2022/typification/rest/im/chat/add.mjs +2 -0
  353. package/esm2022/typification/rest/im/chat/get.mjs +2 -0
  354. package/esm2022/typification/rest/im/chat/leave.mjs +2 -0
  355. package/esm2022/typification/rest/im/chat/mute.mjs +2 -0
  356. package/esm2022/typification/rest/im/chat/setOwner.mjs +2 -0
  357. package/esm2022/typification/rest/im/chat/updateAvatar.mjs +2 -0
  358. package/esm2022/typification/rest/im/chat/updateColor.mjs +2 -0
  359. package/esm2022/typification/rest/im/chat/updateTitle.mjs +2 -0
  360. package/esm2022/typification/rest/im/chat/user/add.mjs +2 -0
  361. package/esm2022/typification/rest/im/chat/user/delete.mjs +2 -0
  362. package/esm2022/typification/rest/im/chat/user/list.mjs +2 -0
  363. package/esm2022/typification/rest/im/counters/get.mjs +2 -0
  364. package/esm2022/typification/rest/im/dialog/get.mjs +2 -0
  365. package/esm2022/typification/rest/im/dialog/messages/get.mjs +2 -0
  366. package/esm2022/typification/rest/im/dialog/read.mjs +2 -0
  367. package/esm2022/typification/rest/im/dialog/recent/get.mjs +2 -0
  368. package/esm2022/typification/rest/im/dialog/recent/list.mjs +2 -0
  369. package/esm2022/typification/rest/im/dialog/recent/unread.mjs +2 -0
  370. package/esm2022/typification/rest/im/dialog/unread.mjs +2 -0
  371. package/esm2022/typification/rest/im/dialog/user/get.mjs +2 -0
  372. package/esm2022/typification/rest/im/dialog/writing.mjs +2 -0
  373. package/esm2022/typification/rest/im/user/get.mjs +2 -0
  374. package/esm2022/typification/rest/im/user/list/get.mjs +2 -0
  375. package/esm2022/typification/rest/im/user/status/get.mjs +2 -0
  376. package/esm2022/typification/rest/im/user/status/idle.mjs +2 -0
  377. package/esm2022/typification/rest/im/user/status/set.mjs +2 -0
  378. package/esm2022/typification/rest/im.mjs +34 -0
  379. package/esm2022/typification/rest/lists/element/add.mjs +2 -0
  380. package/esm2022/typification/rest/lists/element/get.mjs +2 -0
  381. package/esm2022/typification/rest/lists/field/get.mjs +2 -0
  382. package/esm2022/typification/rest/lists/get.mjs +2 -0
  383. package/esm2022/typification/rest/lists.mjs +8 -0
  384. package/esm2022/typification/rest/log/blogpost/add.mjs +2 -0
  385. package/esm2022/typification/rest/log/blogpost/essence.mjs +2 -0
  386. package/esm2022/typification/rest/log/blogpost/get.mjs +2 -0
  387. package/esm2022/typification/rest/log.mjs +7 -0
  388. package/esm2022/typification/rest/profile.mjs +2 -0
  389. package/esm2022/typification/rest/pull/application/config/get.mjs +2 -0
  390. package/esm2022/typification/rest/pull/channel/get.mjs +2 -0
  391. package/esm2022/typification/rest/pull/config/get.mjs +2 -0
  392. package/esm2022/typification/rest/pull.mjs +4 -0
  393. package/esm2022/typification/rest/settings.mjs +2 -0
  394. package/esm2022/typification/rest/socialnetwork/api/contentview/set.mjs +2 -0
  395. package/esm2022/typification/rest/socialnetwork/api/livefeed/blogpost/important/vote.mjs +2 -0
  396. package/esm2022/typification/rest/socialnetwork.mjs +6 -0
  397. package/esm2022/typification/rest/sonet_group/base.mjs +2 -0
  398. package/esm2022/typification/rest/sonet_group/get.mjs +2 -0
  399. package/esm2022/typification/rest/sonet_group.mjs +6 -0
  400. package/esm2022/typification/rest/support/param.mjs +2 -0
  401. package/esm2022/typification/rest/support.mjs +5 -0
  402. package/esm2022/typification/rest/task/access/getaccess.mjs +2 -0
  403. package/esm2022/typification/rest/task/commentitem/add.mjs +2 -0
  404. package/esm2022/typification/rest/task/commentitem/commentitem.mjs +2 -0
  405. package/esm2022/typification/rest/task/commentitem/delete.mjs +2 -0
  406. package/esm2022/typification/rest/task/commentitem/get.mjs +2 -0
  407. package/esm2022/typification/rest/task/commentitem/getlist.mjs +2 -0
  408. package/esm2022/typification/rest/task/commentitem/update.mjs +2 -0
  409. package/esm2022/typification/rest/task/elapseditem/add.mjs +2 -0
  410. package/esm2022/typification/rest/task/elapseditem/del.mjs +2 -0
  411. package/esm2022/typification/rest/task/elapseditem/get.mjs +2 -0
  412. package/esm2022/typification/rest/task/elapseditem/isActionAllowedParam.mjs +2 -0
  413. package/esm2022/typification/rest/task/elapseditem/item.mjs +2 -0
  414. package/esm2022/typification/rest/task/elapseditem/update.mjs +2 -0
  415. package/esm2022/typification/rest/task/item/userfield/getlist.mjs +2 -0
  416. package/esm2022/typification/rest/task/stages/add.mjs +2 -0
  417. package/esm2022/typification/rest/task/stages/canMoveTask.mjs +2 -0
  418. package/esm2022/typification/rest/task/stages/get.mjs +2 -0
  419. package/esm2022/typification/rest/task/stages/stage.mjs +2 -0
  420. package/esm2022/typification/rest/task/stages/update.mjs +2 -0
  421. package/esm2022/typification/rest/task.mjs +28 -0
  422. package/esm2022/typification/rest/tasks/base/fields-name.mjs +2 -0
  423. package/esm2022/typification/rest/tasks/base/filter-generator.mjs +2 -0
  424. package/esm2022/typification/rest/tasks/base/people.mjs +2 -0
  425. package/esm2022/typification/rest/tasks/result/list.mjs +2 -0
  426. package/esm2022/typification/rest/tasks/task/add.mjs +2 -0
  427. package/esm2022/typification/rest/tasks/task/approve.mjs +2 -0
  428. package/esm2022/typification/rest/tasks/task/base.mjs +2 -0
  429. package/esm2022/typification/rest/tasks/task/complete.mjs +2 -0
  430. package/esm2022/typification/rest/tasks/task/defer.mjs +2 -0
  431. package/esm2022/typification/rest/tasks/task/get.mjs +2 -0
  432. package/esm2022/typification/rest/tasks/task/getFields.mjs +2 -0
  433. package/esm2022/typification/rest/tasks/task/list.mjs +2 -0
  434. package/esm2022/typification/rest/tasks/task/result/result.mjs +2 -0
  435. package/esm2022/typification/rest/tasks/task/update.mjs +2 -0
  436. package/esm2022/typification/rest/tasks/task.mjs +2 -0
  437. package/esm2022/typification/rest/tasks.mjs +22 -0
  438. package/esm2022/typification/rest/timeman/status.mjs +2 -0
  439. package/esm2022/typification/rest/timeman.mjs +2 -0
  440. package/esm2022/typification/rest/user/get.mjs +2 -0
  441. package/esm2022/typification/rest/user/search.mjs +2 -0
  442. package/esm2022/typification/rest/user/user.mjs +2 -0
  443. package/esm2022/typification/rest/user/userFilter.mjs +2 -0
  444. package/esm2022/typification/rest/user/userfield/list.mjs +2 -0
  445. package/esm2022/typification/rest/user.mjs +9 -0
  446. package/esm2022/typification/settings.mjs +2 -0
  447. package/fesm2022/bx-rest.mjs +8797 -0
  448. package/fesm2022/bx-rest.mjs.map +1 -0
  449. package/functions/errorHandler.d.ts +10 -0
  450. package/functions/mapResult.d.ts +5 -0
  451. package/functions/serializeBitrixParams.d.ts +5 -0
  452. package/functions/toLocalAtom.d.ts +1 -0
  453. package/index.d.ts +5 -0
  454. package/map/app.d.ts +4 -0
  455. package/map/calendar/event.d.ts +6 -0
  456. package/map/calendar/section.d.ts +5 -0
  457. package/map/calendar/user/settings.d.ts +4 -0
  458. package/map/calendar/user.d.ts +4 -0
  459. package/map/calendar.d.ts +8 -0
  460. package/map/channel/public.d.ts +4 -0
  461. package/map/crm/automatedsolution.d.ts +7 -0
  462. package/map/crm/calllist.d.ts +8 -0
  463. package/map/crm/company.d.ts +19 -0
  464. package/map/crm/contact.d.ts +19 -0
  465. package/map/crm/currency.d.ts +8 -0
  466. package/map/crm/deal.d.ts +19 -0
  467. package/map/crm/index.d.ts +9 -0
  468. package/map/crm/lead.d.ts +19 -0
  469. package/map/crm/quote.d.ts +12 -0
  470. package/map/crm/status.d.ts +9 -0
  471. package/map/department.d.ts +4 -0
  472. package/map/disk/attachedObject.d.ts +6 -0
  473. package/map/disk/base.d.ts +9 -0
  474. package/map/disk/file.d.ts +4 -0
  475. package/map/disk/folder.d.ts +6 -0
  476. package/map/disk/storage.d.ts +7 -0
  477. package/map/im/dialog.d.ts +4 -0
  478. package/map/im/gialog/messages.d.ts +4 -0
  479. package/map/im/gialog/users.d.ts +4 -0
  480. package/map/im/recent.d.ts +9 -0
  481. package/map/im/user/list.d.ts +5 -0
  482. package/map/im/user.d.ts +4 -0
  483. package/map/lists/element.d.ts +4 -0
  484. package/map/lists/field.d.ts +4 -0
  485. package/map/lists.d.ts +9 -0
  486. package/map/log/blogpost.d.ts +7 -0
  487. package/map/log.d.ts +4 -0
  488. package/map/pull/application/config.d.ts +4 -0
  489. package/map/pull.d.ts +4 -0
  490. package/map/rest.d.ts +4 -0
  491. package/map/server.d.ts +3 -0
  492. package/map/socialnetwork/api/livefeed/blogpost/important.d.ts +4 -0
  493. package/map/sonet_group.d.ts +5 -0
  494. package/map/task/commentitem.d.ts +6 -0
  495. package/map/task/elapseditem.d.ts +6 -0
  496. package/map/task/item/userfield.d.ts +4 -0
  497. package/map/task/planner.d.ts +3 -0
  498. package/map/task/stages.d.ts +4 -0
  499. package/map/task.d.ts +8 -0
  500. package/map/tasks/task/result.d.ts +6 -0
  501. package/map/tasks/task.d.ts +18 -0
  502. package/map/tasks.d.ts +4 -0
  503. package/map/timeman.d.ts +4 -0
  504. package/map/user.d.ts +10 -0
  505. package/package.json +133 -124
  506. package/public-api.d.ts +14 -0
  507. package/request/app.d.ts +8 -0
  508. package/request/bizproc/activity.d.ts +2 -0
  509. package/request/bizproc/event.d.ts +2 -0
  510. package/request/bizproc/robot.d.ts +2 -0
  511. package/request/bizproc/task.d.ts +2 -0
  512. package/request/bizproc/workflow/instance.d.ts +2 -0
  513. package/request/bizproc/workflow/template.d.ts +2 -0
  514. package/request/bizproc/workflow.d.ts +13 -0
  515. package/request/bizproc.d.ts +12 -0
  516. package/request/department.d.ts +18 -0
  517. package/request/disk/attachedObject.d.ts +8 -0
  518. package/request/disk/file.d.ts +10 -0
  519. package/request/disk/folder.d.ts +96 -0
  520. package/request/disk/storage.d.ts +27 -0
  521. package/request/disk.d.ts +8 -0
  522. package/request/lists/element.d.ts +11 -0
  523. package/request/lists/field.d.ts +11 -0
  524. package/request/lists.d.ts +31 -0
  525. package/request/log/blogcomment.d.ts +2 -0
  526. package/request/log/blogpost.d.ts +11 -0
  527. package/request/log.d.ts +6 -0
  528. package/request/pull/application/config.d.ts +5 -0
  529. package/request/pull/channel/public.d.ts +5 -0
  530. package/request/pull/config.d.ts +7 -0
  531. package/request/pull.d.ts +8 -0
  532. package/request/server.d.ts +7 -0
  533. package/request/socialnetwork/api/contentview.d.ts +6 -0
  534. package/request/socialnetwork/api/livefeed/blogpost/important.d.ts +6 -0
  535. package/request/socialnetwork/api/livefeed/blogpost.d.ts +4 -0
  536. package/request/socialnetwork/api/livefeed.d.ts +4 -0
  537. package/request/socialnetwork/api.d.ts +6 -0
  538. package/request/socialnetwork.d.ts +4 -0
  539. package/request/sonet_group.d.ts +8 -0
  540. package/request/task/commentitem.d.ts +23 -0
  541. package/request/task/elapseditem.d.ts +26 -0
  542. package/request/task/item/userfield.d.ts +6 -0
  543. package/request/task/item.d.ts +4 -0
  544. package/request/task/planner.d.ts +4 -0
  545. package/request/task.d.ts +10 -0
  546. package/request/tasks/task/result.d.ts +13 -0
  547. package/request/tasks/task.d.ts +37 -0
  548. package/request/tasks.d.ts +4 -0
  549. package/request/user/userfield.d.ts +8 -0
  550. package/request/user.d.ts +24 -0
  551. package/request-navvy/app.d.ts +8 -0
  552. package/request-navvy/bizproc/task.d.ts +16 -0
  553. package/request-navvy/bizproc/workflow.d.ts +20 -0
  554. package/request-navvy/bizproc.d.ts +19 -0
  555. package/request-navvy/calendar/event.d.ts +17 -0
  556. package/request-navvy/calendar/section.d.ts +13 -0
  557. package/request-navvy/calendar/user/settings.d.ts +13 -0
  558. package/request-navvy/calendar/user.d.ts +4 -0
  559. package/request-navvy/calendar.d.ts +8 -0
  560. package/request-navvy/crm/address.d.ts +46 -0
  561. package/request-navvy/crm/automatedsolution.d.ts +56 -0
  562. package/request-navvy/crm/automation/index.d.ts +42 -0
  563. package/request-navvy/crm/calllist/index.d.ts +58 -0
  564. package/request-navvy/crm/calllist/items.d.ts +16 -0
  565. package/request-navvy/crm/company.d.ts +59 -0
  566. package/request-navvy/crm/contact.d.ts +59 -0
  567. package/request-navvy/crm/currency/base.d.ts +20 -0
  568. package/request-navvy/crm/currency.d.ts +51 -0
  569. package/request-navvy/crm/deal.d.ts +59 -0
  570. package/request-navvy/crm/documentgenerator/document.d.ts +92 -0
  571. package/request-navvy/crm/documentgenerator/index.d.ts +15 -0
  572. package/request-navvy/crm/documentgenerator/numerator.d.ts +51 -0
  573. package/request-navvy/crm/documentgenerator/template.d.ts +65 -0
  574. package/request-navvy/crm/duplicate/index.d.ts +18 -0
  575. package/request-navvy/crm/duplicate/volatile-type.d.ts +34 -0
  576. package/request-navvy/crm/entity.d.ts +15 -0
  577. package/request-navvy/crm/enum/index.d.ts +78 -0
  578. package/request-navvy/crm/enum/settings.d.ts +13 -0
  579. package/request-navvy/crm/lead.d.ts +59 -0
  580. package/request-navvy/crm/multifield.d.ts +13 -0
  581. package/request-navvy/crm/quote/index.d.ts +56 -0
  582. package/request-navvy/crm/quote/productrows.d.ts +21 -0
  583. package/request-navvy/crm/quote/userfield.d.ts +39 -0
  584. package/request-navvy/crm/requisite/bankdetail.d.ts +47 -0
  585. package/request-navvy/crm/requisite/index.d.ts +66 -0
  586. package/request-navvy/crm/requisite/link.d.ts +42 -0
  587. package/request-navvy/crm/requisite/preset/field.d.ts +56 -0
  588. package/request-navvy/crm/requisite/preset/index.d.ts +57 -0
  589. package/request-navvy/crm/requisite/userfield.d.ts +43 -0
  590. package/request-navvy/crm/status/entity.d.ts +20 -0
  591. package/request-navvy/crm/status.d.ts +54 -0
  592. package/request-navvy/crm/timeline/bindings.d.ts +39 -0
  593. package/request-navvy/crm/timeline/comment.d.ts +67 -0
  594. package/request-navvy/crm/timeline/icon.d.ts +46 -0
  595. package/request-navvy/crm/timeline/index.d.ts +35 -0
  596. package/request-navvy/crm/timeline/item.d.ts +23 -0
  597. package/request-navvy/crm/timeline/layout/blocks.d.ts +35 -0
  598. package/request-navvy/crm/timeline/layout/index.d.ts +7 -0
  599. package/request-navvy/crm/timeline/logmessage.d.ts +44 -0
  600. package/request-navvy/crm/timeline/logo.d.ts +46 -0
  601. package/request-navvy/crm/timeline/note.d.ts +33 -0
  602. package/request-navvy/crm.d.ts +52 -0
  603. package/request-navvy/department.d.ts +15 -0
  604. package/request-navvy/disk/attachedObject.d.ts +5 -0
  605. package/request-navvy/disk/file.d.ts +16 -0
  606. package/request-navvy/disk/folder.d.ts +89 -0
  607. package/request-navvy/disk/operation/storage.d.ts +19 -0
  608. package/request-navvy/disk/operation.d.ts +18 -0
  609. package/request-navvy/disk/storage.d.ts +31 -0
  610. package/request-navvy/disk.d.ts +10 -0
  611. package/request-navvy/im/chat/user.d.ts +15 -0
  612. package/request-navvy/im/chat.d.ts +64 -0
  613. package/request-navvy/im/counters.d.ts +5 -0
  614. package/request-navvy/im/dialog/messages.d.ts +5 -0
  615. package/request-navvy/im/dialog/read.d.ts +9 -0
  616. package/request-navvy/im/dialog/users.d.ts +5 -0
  617. package/request-navvy/im/dialog.d.ts +30 -0
  618. package/request-navvy/im/recent.d.ts +31 -0
  619. package/request-navvy/im/user/list.d.ts +6 -0
  620. package/request-navvy/im/user/status/idle.d.ts +6 -0
  621. package/request-navvy/im/user/status.d.ts +14 -0
  622. package/request-navvy/im/user.d.ts +14 -0
  623. package/request-navvy/im.d.ts +12 -0
  624. package/request-navvy/lists/element.d.ts +16 -0
  625. package/request-navvy/lists/field.d.ts +11 -0
  626. package/request-navvy/lists.d.ts +32 -0
  627. package/request-navvy/log/blogcomment.d.ts +5 -0
  628. package/request-navvy/log/blogpost.d.ts +16 -0
  629. package/request-navvy/log.d.ts +6 -0
  630. package/request-navvy/pull/application/config.d.ts +5 -0
  631. package/request-navvy/pull/channel/public.d.ts +8 -0
  632. package/request-navvy/pull/config.d.ts +17 -0
  633. package/request-navvy/pull.d.ts +12 -0
  634. package/request-navvy/server.d.ts +7 -0
  635. package/request-navvy/socialnetwork/api/contentview.d.ts +5 -0
  636. package/request-navvy/socialnetwork/api/livefeed/blogpost/important.d.ts +8 -0
  637. package/request-navvy/socialnetwork/api/livefeed/blogpost.d.ts +4 -0
  638. package/request-navvy/socialnetwork/api/livefeed.d.ts +4 -0
  639. package/request-navvy/socialnetwork/api.d.ts +6 -0
  640. package/request-navvy/socialnetwork.d.ts +4 -0
  641. package/request-navvy/sonet_group.d.ts +11 -0
  642. package/request-navvy/task/commentitem.d.ts +16 -0
  643. package/request-navvy/task/delegate/elapseditem.d.ts +5 -0
  644. package/request-navvy/task/elapseditem.d.ts +46 -0
  645. package/request-navvy/task/item/userfield.d.ts +15 -0
  646. package/request-navvy/task/item.d.ts +4 -0
  647. package/request-navvy/task/operation/elapseditem.d.ts +64 -0
  648. package/request-navvy/task/planner.d.ts +7 -0
  649. package/request-navvy/task.d.ts +10 -0
  650. package/request-navvy/tasks/task/result.d.ts +25 -0
  651. package/request-navvy/tasks/task.d.ts +77 -0
  652. package/request-navvy/tasks.d.ts +4 -0
  653. package/request-navvy/timeman.d.ts +32 -0
  654. package/request-navvy/user/userfield.d.ts +6 -0
  655. package/request-navvy/user.d.ts +28 -0
  656. package/rest/base.d.ts +33 -0
  657. package/rest/map.d.ts +20 -0
  658. package/rest/navvy.d.ts +40 -0
  659. package/services/base.d.ts +67 -0
  660. package/services/http/HttpBX.d.ts +33 -0
  661. package/services/http/HttpData.d.ts +7 -0
  662. package/services/http/base/base.d.ts +7 -0
  663. package/services/http/http.d.ts +12 -0
  664. package/services/http/httpNavvy.d.ts +10 -0
  665. package/services/http/sessionKey.d.ts +34 -0
  666. package/services/navvy/extends/navvy-pag-base.d.ts +16 -0
  667. package/services/navvy/navvy-alternative-pagination-navigation.d.ts +14 -0
  668. package/services/navvy/navvy-pag-nav-result-key-object.d.ts +12 -0
  669. package/services/navvy/navvy-pag-nav-result-key.d.ts +13 -0
  670. package/services/navvy/navvy-pag-nav-tasks.d.ts +11 -0
  671. package/services/navvy/navvy-pag-nav-with-useless-key.d.ts +7 -0
  672. package/services/navvy/navvy-pag.d.ts +8 -0
  673. package/services/navvy/navvy-simple.d.ts +3 -0
  674. package/services/navvy/navvy-support.d.ts +11 -0
  675. package/services/navvy.d.ts +35 -0
  676. package/services/vanilla/localStorage.d.ts +7 -0
  677. package/services/vanilla/sessionStorage.d.ts +4 -0
  678. package/services/vanilla//321/201ookies.d.ts +6 -0
  679. package/settings.d.ts +6 -0
  680. package/typification/auth/save.d.ts +14 -0
  681. package/typification/base/all-key-free.d.ts +3 -0
  682. package/typification/base/answers.d.ts +12 -0
  683. package/typification/base/modyfy.d.ts +9 -0
  684. package/typification/base/params.d.ts +16 -0
  685. package/typification/base/upper-case-keys.d.ts +6 -0
  686. package/typification/base/workpiece/methods-list.d.ts +247 -0
  687. package/typification/base/workpiece/methods.d.ts +20 -0
  688. package/typification/rest/app/info.d.ts +17 -0
  689. package/typification/rest/app.d.ts +4 -0
  690. package/typification/rest/base/answer.d.ts +19 -0
  691. package/typification/rest/base/api-pagination-bx.d.ts +11 -0
  692. package/typification/rest/base/field-bx-type.d.ts +1 -0
  693. package/typification/rest/base/filter-generator.d.ts +5 -0
  694. package/typification/rest/base/order-options.d.ts +1 -0
  695. package/typification/rest/base/sort.d.ts +1 -0
  696. package/typification/rest/base/yes-no.d.ts +1 -0
  697. package/typification/rest/base.d.ts +10 -0
  698. package/typification/rest/batch/batchRequestParam.d.ts +15 -0
  699. package/typification/rest/batch.d.ts +26 -0
  700. package/typification/rest/bizproc/base/filedEnum.d.ts +1 -0
  701. package/typification/rest/bizproc/task/complete.d.ts +7 -0
  702. package/typification/rest/bizproc/task/delegate.d.ts +5 -0
  703. package/typification/rest/bizproc/task/list.d.ts +52 -0
  704. package/typification/rest/bizproc/workflow/instances.d.ts +20 -0
  705. package/typification/rest/bizproc/workflow/kill.d.ts +3 -0
  706. package/typification/rest/bizproc/workflow/start.d.ts +5 -0
  707. package/typification/rest/bizproc/workflow/template/list.d.ts +8 -0
  708. package/typification/rest/bizproc/workflow/terminate.d.ts +4 -0
  709. package/typification/rest/bizproc.d.ts +12 -0
  710. package/typification/rest/calendar/base/type.d.ts +2 -0
  711. package/typification/rest/calendar/event/add.d.ts +145 -0
  712. package/typification/rest/calendar/event/delete.d.ts +3 -0
  713. package/typification/rest/calendar/event/get/nearest.d.ts +24 -0
  714. package/typification/rest/calendar/event/get.d.ts +136 -0
  715. package/typification/rest/calendar/event/update.d.ts +6 -0
  716. package/typification/rest/calendar/section/add.d.ts +10 -0
  717. package/typification/rest/calendar/section/delete.d.ts +6 -0
  718. package/typification/rest/calendar/section/get.d.ts +50 -0
  719. package/typification/rest/calendar/section/update.d.ts +10 -0
  720. package/typification/rest/calendar/user/settings/get.d.ts +102 -0
  721. package/typification/rest/calendar/user/settings/set.d.ts +58 -0
  722. package/typification/rest/calendar.d.ts +15 -0
  723. package/typification/rest/crm/automatedsolution/add.d.ts +8 -0
  724. package/typification/rest/crm/automatedsolution/automatedsolution.d.ts +23 -0
  725. package/typification/rest/crm/automatedsolution/delete.d.ts +4 -0
  726. package/typification/rest/crm/automatedsolution/get.d.ts +4 -0
  727. package/typification/rest/crm/automatedsolution/index.d.ts +6 -0
  728. package/typification/rest/crm/automatedsolution/list.d.ts +7 -0
  729. package/typification/rest/crm/automatedsolution/update.d.ts +10 -0
  730. package/typification/rest/crm/automation.d.ts +35 -0
  731. package/typification/rest/crm/calllist.d.ts +117 -0
  732. package/typification/rest/crm/company/add.d.ts +6 -0
  733. package/typification/rest/crm/company/company.d.ts +38 -0
  734. package/typification/rest/crm/company/delete.d.ts +3 -0
  735. package/typification/rest/crm/company/get.d.ts +3 -0
  736. package/typification/rest/crm/company/index.d.ts +6 -0
  737. package/typification/rest/crm/company/list.d.ts +6 -0
  738. package/typification/rest/crm/company/update.d.ts +7 -0
  739. package/typification/rest/crm/contact/add.d.ts +6 -0
  740. package/typification/rest/crm/contact/contact.d.ts +41 -0
  741. package/typification/rest/crm/contact/delete.d.ts +3 -0
  742. package/typification/rest/crm/contact/get.d.ts +3 -0
  743. package/typification/rest/crm/contact/index.d.ts +6 -0
  744. package/typification/rest/crm/contact/list.d.ts +6 -0
  745. package/typification/rest/crm/contact/update.d.ts +7 -0
  746. package/typification/rest/crm/currency.d.ts +146 -0
  747. package/typification/rest/crm/deal/add.d.ts +6 -0
  748. package/typification/rest/crm/deal/deal.d.ts +47 -0
  749. package/typification/rest/crm/deal/delete.d.ts +3 -0
  750. package/typification/rest/crm/deal/get.d.ts +3 -0
  751. package/typification/rest/crm/deal/index.d.ts +6 -0
  752. package/typification/rest/crm/deal/list.d.ts +6 -0
  753. package/typification/rest/crm/deal/update.d.ts +7 -0
  754. package/typification/rest/crm/documentgenerator.d.ts +200 -0
  755. package/typification/rest/crm/duplicate.d.ts +57 -0
  756. package/typification/rest/crm/entity.d.ts +29 -0
  757. package/typification/rest/crm/enum.d.ts +46 -0
  758. package/typification/rest/crm/index.d.ts +17 -0
  759. package/typification/rest/crm/lead/add.d.ts +6 -0
  760. package/typification/rest/crm/lead/delete.d.ts +3 -0
  761. package/typification/rest/crm/lead/get.d.ts +3 -0
  762. package/typification/rest/crm/lead/index.d.ts +6 -0
  763. package/typification/rest/crm/lead/lead.d.ts +52 -0
  764. package/typification/rest/crm/lead/list.d.ts +6 -0
  765. package/typification/rest/crm/lead/update.d.ts +7 -0
  766. package/typification/rest/crm/multifield.d.ts +12 -0
  767. package/typification/rest/crm/quote/index.d.ts +299 -0
  768. package/typification/rest/crm/requisite.d.ts +369 -0
  769. package/typification/rest/crm/status.d.ts +167 -0
  770. package/typification/rest/crm/timeline/bindings.d.ts +33 -0
  771. package/typification/rest/crm/timeline/comment.d.ts +122 -0
  772. package/typification/rest/crm/timeline/common.d.ts +31 -0
  773. package/typification/rest/crm/timeline/icon.d.ts +9 -0
  774. package/typification/rest/crm/timeline/index.d.ts +9 -0
  775. package/typification/rest/crm/timeline/item.d.ts +9 -0
  776. package/typification/rest/crm/timeline/layout.d.ts +34 -0
  777. package/typification/rest/crm/timeline/logmessage.d.ts +52 -0
  778. package/typification/rest/crm/timeline/logo.d.ts +9 -0
  779. package/typification/rest/crm/timeline/note.d.ts +31 -0
  780. package/typification/rest/department/add.d.ts +6 -0
  781. package/typification/rest/department/del.d.ts +3 -0
  782. package/typification/rest/department/department.d.ts +14 -0
  783. package/typification/rest/department/get.d.ts +10 -0
  784. package/typification/rest/department/update.d.ts +7 -0
  785. package/typification/rest/department.d.ts +8 -0
  786. package/typification/rest/disk/AttachedObject.d.ts +26 -0
  787. package/typification/rest/disk/file.d.ts +19 -0
  788. package/typification/rest/disk/folder/addSubFolder.d.ts +6 -0
  789. package/typification/rest/disk/folder/copyTo.d.ts +4 -0
  790. package/typification/rest/disk/folder/getFields.d.ts +9 -0
  791. package/typification/rest/disk/folder/moveTo.d.ts +4 -0
  792. package/typification/rest/disk/folder/rename.d.ts +4 -0
  793. package/typification/rest/disk/folder/uploadFile.d.ts +13 -0
  794. package/typification/rest/disk/folder.d.ts +62 -0
  795. package/typification/rest/disk/map.d.ts +6 -0
  796. package/typification/rest/disk/storage/getchildren.d.ts +4 -0
  797. package/typification/rest/disk/storage/uploadfile.d.ts +9 -0
  798. package/typification/rest/disk.d.ts +15 -0
  799. package/typification/rest/im/chat/add.d.ts +12 -0
  800. package/typification/rest/im/chat/get.d.ts +18 -0
  801. package/typification/rest/im/chat/leave.d.ts +4 -0
  802. package/typification/rest/im/chat/mute.d.ts +10 -0
  803. package/typification/rest/im/chat/setOwner.d.ts +6 -0
  804. package/typification/rest/im/chat/updateAvatar.d.ts +6 -0
  805. package/typification/rest/im/chat/updateColor.d.ts +9 -0
  806. package/typification/rest/im/chat/updateTitle.d.ts +8 -0
  807. package/typification/rest/im/chat/user/add.d.ts +12 -0
  808. package/typification/rest/im/chat/user/delete.d.ts +6 -0
  809. package/typification/rest/im/chat/user/list.d.ts +4 -0
  810. package/typification/rest/im/counters/get.d.ts +13 -0
  811. package/typification/rest/im/dialog/get.d.ts +83 -0
  812. package/typification/rest/im/dialog/messages/get.d.ts +180 -0
  813. package/typification/rest/im/dialog/read.d.ts +25 -0
  814. package/typification/rest/im/dialog/recent/get.d.ts +176 -0
  815. package/typification/rest/im/dialog/recent/list.d.ts +186 -0
  816. package/typification/rest/im/dialog/recent/unread.d.ts +12 -0
  817. package/typification/rest/im/dialog/unread.d.ts +3 -0
  818. package/typification/rest/im/dialog/user/get.d.ts +71 -0
  819. package/typification/rest/im/dialog/writing.d.ts +2 -0
  820. package/typification/rest/im/user/get.d.ts +73 -0
  821. package/typification/rest/im/user/list/get.d.ts +5 -0
  822. package/typification/rest/im/user/status/get.d.ts +7 -0
  823. package/typification/rest/im/user/status/idle.d.ts +4 -0
  824. package/typification/rest/im/user/status/set.d.ts +4 -0
  825. package/typification/rest/im.d.ts +29 -0
  826. package/typification/rest/lists/element/add.d.ts +9 -0
  827. package/typification/rest/lists/element/get.d.ts +33 -0
  828. package/typification/rest/lists/field/get.d.ts +38 -0
  829. package/typification/rest/lists/get.d.ts +95 -0
  830. package/typification/rest/lists.d.ts +7 -0
  831. package/typification/rest/log/blogpost/add.d.ts +12 -0
  832. package/typification/rest/log/blogpost/essence.d.ts +51 -0
  833. package/typification/rest/log/blogpost/get.d.ts +71 -0
  834. package/typification/rest/log.d.ts +6 -0
  835. package/typification/rest/profile.d.ts +16 -0
  836. package/typification/rest/pull/application/config/get.d.ts +3 -0
  837. package/typification/rest/pull/channel/get.d.ts +13 -0
  838. package/typification/rest/pull/config/get.d.ts +70 -0
  839. package/typification/rest/pull.d.ts +3 -0
  840. package/typification/rest/settings.d.ts +6 -0
  841. package/typification/rest/socialnetwork/api/contentview/set.d.ts +10 -0
  842. package/typification/rest/socialnetwork/api/livefeed/blogpost/important/vote.d.ts +12 -0
  843. package/typification/rest/socialnetwork.d.ts +5 -0
  844. package/typification/rest/sonet_group/base.d.ts +8 -0
  845. package/typification/rest/sonet_group/get.d.ts +30 -0
  846. package/typification/rest/sonet_group.d.ts +5 -0
  847. package/typification/rest/support/param.d.ts +5 -0
  848. package/typification/rest/support.d.ts +4 -0
  849. package/typification/rest/task/access/getaccess.d.ts +40 -0
  850. package/typification/rest/task/commentitem/add.d.ts +18 -0
  851. package/typification/rest/task/commentitem/commentitem.d.ts +36 -0
  852. package/typification/rest/task/commentitem/delete.d.ts +4 -0
  853. package/typification/rest/task/commentitem/get.d.ts +4 -0
  854. package/typification/rest/task/commentitem/getlist.d.ts +20 -0
  855. package/typification/rest/task/commentitem/update.d.ts +4 -0
  856. package/typification/rest/task/elapseditem/add.d.ts +10 -0
  857. package/typification/rest/task/elapseditem/del.d.ts +4 -0
  858. package/typification/rest/task/elapseditem/get.d.ts +23 -0
  859. package/typification/rest/task/elapseditem/isActionAllowedParam.d.ts +5 -0
  860. package/typification/rest/task/elapseditem/item.d.ts +25 -0
  861. package/typification/rest/task/elapseditem/update.d.ts +10 -0
  862. package/typification/rest/task/item/userfield/getlist.d.ts +91 -0
  863. package/typification/rest/task/stages/add.d.ts +7 -0
  864. package/typification/rest/task/stages/canMoveTask.d.ts +4 -0
  865. package/typification/rest/task/stages/get.d.ts +4 -0
  866. package/typification/rest/task/stages/stage.d.ts +19 -0
  867. package/typification/rest/task/stages/update.d.ts +5 -0
  868. package/typification/rest/task.d.ts +22 -0
  869. package/typification/rest/tasks/base/fields-name.d.ts +19 -0
  870. package/typification/rest/tasks/base/filter-generator.d.ts +6 -0
  871. package/typification/rest/tasks/base/people.d.ts +12 -0
  872. package/typification/rest/tasks/result/list.d.ts +4 -0
  873. package/typification/rest/tasks/task/add.d.ts +254 -0
  874. package/typification/rest/tasks/task/approve.d.ts +144 -0
  875. package/typification/rest/tasks/task/base.d.ts +3 -0
  876. package/typification/rest/tasks/task/complete.d.ts +6 -0
  877. package/typification/rest/tasks/task/defer.d.ts +6 -0
  878. package/typification/rest/tasks/task/get.d.ts +52 -0
  879. package/typification/rest/tasks/task/getFields.d.ts +19 -0
  880. package/typification/rest/tasks/task/list.d.ts +119 -0
  881. package/typification/rest/tasks/task/result/result.d.ts +23 -0
  882. package/typification/rest/tasks/task/update.d.ts +47 -0
  883. package/typification/rest/tasks/task.d.ts +121 -0
  884. package/typification/rest/tasks.d.ts +18 -0
  885. package/typification/rest/timeman/status.d.ts +107 -0
  886. package/typification/rest/timeman.d.ts +1 -0
  887. package/typification/rest/user/get.d.ts +66 -0
  888. package/typification/rest/user/search.d.ts +66 -0
  889. package/typification/rest/user/user.d.ts +62 -0
  890. package/typification/rest/user/userFilter.d.ts +13 -0
  891. package/typification/rest/user/userfield/list.d.ts +56 -0
  892. package/typification/rest/user.d.ts +8 -0
  893. package/typification/settings.d.ts +11 -0
@@ -0,0 +1,52 @@
1
+ import { iBXRestTaskFieldsName } from '../base/fields-name';
2
+ import { iBXRestHttpTask, iBXRestHttpTaskGroupHttp, iBXRestTask } from '../task';
3
+ import { SnakeToCamelCase } from 'snake-camel-types';
4
+ import { ToUpperCaseKeys } from '../../../base/upper-case-keys';
5
+ import { ObjectToSnake } from 'ts-case-convert/lib/caseConvert';
6
+ export interface iBXRestParamTasksTaskGet<CustomFields extends object> {
7
+ taskId: number;
8
+ select?: (iBXRestTaskFieldsName | keyof ToUpperCaseKeys<ObjectToSnake<CustomFields>> | '*' | 'UF_*')[];
9
+ }
10
+ export interface iBXRestParamTasksTaskGetBase {
11
+ taskId: number;
12
+ select?: (iBXRestTaskFieldsName | '*' | 'UF_*')[];
13
+ }
14
+ export interface iBXRestTasksTaskGetHttpBase<S extends iBXRestTaskFieldsName[]> {
15
+ task: iBXRestHttpTasksTaskGetBase<S> | undefined;
16
+ }
17
+ export interface iBXRestTasksTaskGetHttp<S extends iBXRestTaskFieldsName[], CustomFields = object> {
18
+ task: iBXRestHttpTasksTaskGet<S, CustomFields> | undefined;
19
+ }
20
+ export type iBXRestTasksTaskGetBase<S extends iBXRestTaskFieldsName[]> = {
21
+ [K in SnakeToCamelCase<Lowercase<S[number]>>]: iBXRestTask[K];
22
+ };
23
+ export type iBXRestTasksTaskGet<S extends iBXRestTaskFieldsName[], CustomFields> = {
24
+ [K in SnakeToCamelCase<Lowercase<S[number]>>]: iBXRestTask[K];
25
+ } & CustomFields;
26
+ export type iBXRestHttpTasksTaskGetBase<S extends iBXRestTaskFieldsName[]> = {
27
+ [K in SnakeToCamelCase<Lowercase<S[number]>>]: iBXRestHttpTask[K];
28
+ };
29
+ type iBXRestHttpTasksTaskGet<S extends iBXRestTaskFieldsName[], CustomFields> = {
30
+ [K in SnakeToCamelCase<Lowercase<S[number]>>]: iBXRestHttpTask[K];
31
+ } & CustomFields;
32
+ /**
33
+ * Если при запросе tasks.task.get не указывать выводимые поля (select) отдаст этот набор
34
+ */
35
+ export interface iBXRestTasksTaskGetHttpDefault extends iBXRestHttpTask {
36
+ closedDate: null;
37
+ createdDate: string;
38
+ durationFact: string;
39
+ group: iBXRestHttpTaskGroupHttp;
40
+ additionalData: any[];
41
+ id: string;
42
+ image: string;
43
+ membersCount: number;
44
+ name: string;
45
+ opened: boolean;
46
+ groupId: string;
47
+ projectId: string;
48
+ timeEstimate: string;
49
+ timeSpentInLogs: string;
50
+ title: string;
51
+ }
52
+ export {};
@@ -0,0 +1,19 @@
1
+ import { iBXRestYesNo } from '../../base/yes-no';
2
+ export type iBXRestTasksTaskGetFieldsKey = 'ID' | 'PARENT_ID' | 'TITLE' | 'DESCRIPTION' | 'MARK' | 'PRIORITY' | 'STATUS' | 'MULTITASK' | 'NOT_VIEWED' | 'REPLICATE' | 'GROUP_ID' | 'STAGE_ID' | 'CREATED_BY' | 'CREATED_DATE' | 'RESPONSIBLE_ID' | 'ACCOMPLICES' | 'AUDITORS' | 'CHANGED_BY' | 'CHANGED_DATE' | 'STATUS_CHANGED_DATE' | 'CLOSED_BY' | 'CLOSED_DATE' | 'DATE_START' | 'DEADLINE' | 'START_DATE_PLAN' | 'END_DATE_PLAN' | 'GUID' | 'XML_ID' | 'COMMENTS_COUNT' | 'NEW_COMMENTS_COUNT' | 'TASK_CONTROL' | 'ADD_IN_REPORT' | 'FORKED_BY_TEMPLATE_ID' | 'TIME_ESTIMATE' | 'TIME_SPENT_IN_LOGS' | 'MATCH_WORK_TIME' | 'FORUM_TOPIC_ID' | 'FORUM_ID' | 'SITE_ID' | 'SUBORDINATE' | 'FAVORITE' | 'VIEWED_DATE' | 'SORTING' | 'DURATION_PLAN' | 'DURATION_FACT' | 'DURATION_TYPE' | 'ACTIVITY_DATE' | 'TAGS' | 'ALLOW_TIME_TRACKING';
3
+ export type iBXRestTasksTaskGetFieldsFields = {
4
+ [Property in keyof iBXRestTasksTaskGetFieldsKey]: iGetFieldsDescriptionBody;
5
+ };
6
+ export type iFieldBXType = 'text' | 'link' | 'datetime' | 'list' | 'phone' | 'timezone' | 'userField' | 'multilist';
7
+ export interface iGetFieldsDescriptionBody {
8
+ title: string | null;
9
+ type: iFieldBXType;
10
+ default?: any;
11
+ values?: {
12
+ [Property in keyof iBXRestYesNo]: string;
13
+ } | {
14
+ [Property in keyof number]: string;
15
+ };
16
+ }
17
+ export interface iBXRestTasksTaskGetFields {
18
+ fields: iBXRestTasksTaskGetFieldsFields;
19
+ }
@@ -0,0 +1,119 @@
1
+ import { iBXRestParamSort } from '../../base/sort';
2
+ import { iBXRestYesNo } from '../../base/yes-no';
3
+ import { iBXRestFilterGenerator } from '../../base/filter-generator';
4
+ import { iBXRestPagination } from '../../base/api-pagination-bx';
5
+ import { iBXRestHttpTask, iBXRestHttpTaskGroupHttp, iBXRestTask } from '../task';
6
+ import { iBXRestTaskFieldsName } from '../base/fields-name';
7
+ import { SnakeToCamelCase } from 'snake-camel-types';
8
+ import { ToUpperCaseKeys } from '../../../base/upper-case-keys';
9
+ import { ObjectToSnake } from 'ts-case-convert/lib/caseConvert';
10
+ export interface iBXRestTasksTaskListHttp<S extends iBXRestTaskFieldsName[], CustomFields = object> {
11
+ tasks: iBXRestHttpTasksTaskList<S, CustomFields>[] | undefined;
12
+ }
13
+ export type iBXRestHttpTasksTaskList<S extends iBXRestTaskFieldsName[], CustomFields = object> = {
14
+ [K in SnakeToCamelCase<Lowercase<S[number]>>]: iBXRestHttpTask[K];
15
+ } & CustomFields;
16
+ export type iBXRestTasksTaskList<S extends iBXRestTaskFieldsName[], CustomFields = object> = {
17
+ [K in SnakeToCamelCase<Lowercase<S[number]>>]: iBXRestTask[K];
18
+ } & CustomFields;
19
+ /**
20
+ * Если при запросе tasks.task.list не указывать выводимые поля (select) отдаст этот набор
21
+ */
22
+ export interface iBXRestTasksTaskListHttpDefault extends iBXRestHttpTask {
23
+ closedDate: null;
24
+ createdDate: string;
25
+ durationFact: string;
26
+ group: iBXRestHttpTaskGroupHttp;
27
+ additionalData: any[];
28
+ id: string;
29
+ image: string;
30
+ membersCount: number;
31
+ name: string;
32
+ opened: boolean;
33
+ groupId: string;
34
+ projectId: string;
35
+ timeEstimate: string;
36
+ timeSpentInLogs: string;
37
+ title: string;
38
+ }
39
+ /**
40
+ * Если при запросе tasks.task.list не указывать выводимые поля (select) отдаст этот набор
41
+ */
42
+ export interface iBXRestTasksTaskListDefault extends Partial<iBXRestTask> {
43
+ closedDate: Date | undefined;
44
+ createdDate: Date;
45
+ durationFact: string;
46
+ group: iBXRestHttpTaskGroupHttp;
47
+ additionalData: any[];
48
+ id: number;
49
+ image: string;
50
+ membersCount: number;
51
+ name: string;
52
+ opened: boolean;
53
+ groupId: number;
54
+ projectId: string;
55
+ timeEstimate: string;
56
+ timeSpentInLogs: string;
57
+ title: string;
58
+ }
59
+ export interface iBXRestParamTasksList<CustomFields extends object> extends iBXRestPagination {
60
+ order?: iBXRestParamTaskListOrder;
61
+ filter?: iBXRestFilterGenerator<iBXRestParamTaskListFilter>;
62
+ select?: (iBXRestTaskFieldsName | keyof ToUpperCaseKeys<ObjectToSnake<CustomFields>> | '*' | 'UF_*')[];
63
+ }
64
+ export interface iBXRestParamTaskListOrder {
65
+ ID?: iBXRestParamSort;
66
+ TITLE?: iBXRestParamSort;
67
+ TIME_SPENT_IN_LOGS?: iBXRestParamSort;
68
+ DATE_START?: iBXRestParamSort;
69
+ CREATED_DATE?: iBXRestParamSort;
70
+ CHANGED_DATE?: iBXRestParamSort;
71
+ CLOSED_DATE?: iBXRestParamSort;
72
+ START_DATE_PLAN?: iBXRestParamSort;
73
+ END_DATE_PLAN?: iBXRestParamSort;
74
+ DEADLINE?: iBXRestParamSort;
75
+ REAL_STATUS?: iBXRestParamSort;
76
+ STATUS_COMPLETE?: iBXRestParamSort;
77
+ PRIORITY?: iBXRestParamSort;
78
+ MARK?: iBXRestParamSort;
79
+ CREATED_BY_LAST_NAME?: iBXRestParamSort;
80
+ RESPONSIBLE_LAST_NAME?: iBXRestParamSort;
81
+ GROUP_ID?: iBXRestParamSort;
82
+ TIME_ESTIMATE?: iBXRestParamSort;
83
+ ALLOW_CHANGE_DEADLINE?: iBXRestParamSort;
84
+ ALLOW_TIME_TRACKING?: iBXRestParamSort;
85
+ MATCH_WORK_TIME?: iBXRestParamSort;
86
+ FAVORITE?: iBXRestParamSort;
87
+ SORTING?: iBXRestParamSort;
88
+ MESSAGE_ID?: iBXRestParamSort;
89
+ }
90
+ export interface iBXRestParamTaskListFilter {
91
+ ID?: number | number[];
92
+ ACTIVITY_DATE?: string;
93
+ PARENT_ID?: number;
94
+ GROUP_ID?: number | number[];
95
+ CREATED_BY?: number | number[];
96
+ STATUS_CHANGED_BY?: number;
97
+ PRIORITY?: number;
98
+ FORUM_TOPIC_ID?: number;
99
+ RESPONSIBLE_ID?: number | number[];
100
+ TITLE?: string;
101
+ TAG?: string;
102
+ REAL_STATUS?: number | number[];
103
+ STATUS?: number | number[];
104
+ MARK?: number;
105
+ SITE_ID?: number;
106
+ ADD_IN_REPORT?: iBXRestYesNo;
107
+ ALLOW_TIME_TRACKING?: iBXRestYesNo;
108
+ DATE_START?: Date | string;
109
+ DEADLINE?: Date | string;
110
+ CREATED_DATE?: Date | string;
111
+ CLOSED_DATE?: Date | string;
112
+ CHANGED_DATE?: Date | string;
113
+ ACCOMPLICE?: number | number[];
114
+ AUDITOR?: number | number[];
115
+ DEPENDS_ON?: number;
116
+ ONLY_ROOT_TASKS?: iBXRestYesNo;
117
+ STAGE_ID?: number | number[] | string | string[];
118
+ UF_CRM_TASK?: number | number[] | string | string[] | any;
119
+ }
@@ -0,0 +1,23 @@
1
+ export interface iBXParamRestTasksTaskResultAdd {
2
+ commentId: number;
3
+ }
4
+ export interface iBXRestTasksTaskResult extends iBXRestTasksTaskResultBase {
5
+ createdAt: Date;
6
+ updatedAt: Date;
7
+ }
8
+ export interface iBXRestTasksTaskResultHttp extends iBXRestTasksTaskResultBase {
9
+ createdAt: string;
10
+ updatedAt: string;
11
+ }
12
+ interface iBXRestTasksTaskResultBase {
13
+ commentId: number;
14
+ createdBy: number;
15
+ fileInfo: null;
16
+ files: number[];
17
+ formattedText: string;
18
+ id: number;
19
+ status: number;
20
+ taskId: number;
21
+ text: string;
22
+ }
23
+ export {};
@@ -0,0 +1,47 @@
1
+ import { iBXRestYesNo } from '../../base/yes-no';
2
+ export interface iBXRestParamTasksTaskUpdate {
3
+ taskId: number;
4
+ fields: iBXRestParamTasksTaskUpdateFields;
5
+ }
6
+ export interface iBXRestParamTasksTaskUpdateFields {
7
+ PARENT_ID?: number;
8
+ TITLE?: string;
9
+ DESCRIPTION?: string;
10
+ MARK?: 'N' | 'P' | null;
11
+ PRIORITY?: 2 | 1 | 0;
12
+ STATUS?: 2 | 3 | 4 | 5 | 6;
13
+ MULTITASK?: iBXRestYesNo;
14
+ REPLICATE?: iBXRestYesNo;
15
+ GROUP_ID?: number;
16
+ STAGE_ID?: number;
17
+ RESPONSIBLE_ID?: number;
18
+ ACCOMPLICES?: number[];
19
+ AUDITORS?: number[];
20
+ CLOSED_DATE?: Date;
21
+ DATE_START?: Date;
22
+ DEADLINE?: Date;
23
+ START_DATE_PLAN?: Date;
24
+ END_DATE_PLAN?: Date;
25
+ ALLOW_CHANGE_DEADLINE?: iBXRestYesNo;
26
+ TASK_CONTROL?: iBXRestYesNo;
27
+ ADD_IN_REPORT?: iBXRestYesNo;
28
+ FORKED_BY_TEMPLATE_ID?: iBXRestYesNo;
29
+ MATCH_WORK_TIME?: number;
30
+ SUBORDINATE?: iBXRestYesNo;
31
+ FAVORITE?: iBXRestYesNo;
32
+ EXCHANGE_MODIFIED?: Date;
33
+ OUTLOOK_VERSION?: number;
34
+ VIEWED_DATE?: Date;
35
+ SORTING?: number;
36
+ DURATION_PLAN?: number;
37
+ DURATION_FACT?: number;
38
+ CHECKLIST?: any[];
39
+ DURATION_TYPE?: 1 | 2 | 3 | 4 | 5 | 6;
40
+ UF_CRM_TASK?: string;
41
+ UF_TASK_WEBDAV_FILES?: string[];
42
+ UF_MAIL_MESSAGE?: any;
43
+ IS_MUTED?: iBXRestYesNo;
44
+ IS_PINNED?: iBXRestYesNo;
45
+ IS_PINNED_IN_GROUP?: iBXRestYesNo;
46
+ }
47
+ export type iBXRestTasksTaskFieldsCanUpdate = keyof iBXRestParamTasksTaskUpdateFields;
@@ -0,0 +1,121 @@
1
+ import { iBXRestYesNo } from '../base/yes-no';
2
+ import { iBXRestHttpTaskPeople, iBXRestTaskPeople } from './base/people';
3
+ export interface iBXRestTask extends iBXRestBaseTask {
4
+ id: number;
5
+ parentId: number;
6
+ priority: number;
7
+ status: number;
8
+ multitask: boolean;
9
+ groupId: number;
10
+ stageId: number;
11
+ createdBy: number;
12
+ createdDate: Date;
13
+ responsibleId: number;
14
+ changedBy: number;
15
+ changedDate: Date;
16
+ statusChangedBy: number;
17
+ statusChangedDate: Date;
18
+ closedBy: number;
19
+ closedDate: Date | null;
20
+ dateStart: Date;
21
+ deadline: Date;
22
+ startDatePlan: Date;
23
+ endDatePlan: Date;
24
+ forumTopicId: number;
25
+ forumId: number;
26
+ viewedDate: Date;
27
+ sorting: number;
28
+ durationPlan: number;
29
+ descriptionInBbcode: boolean;
30
+ accomplices: number[];
31
+ subStatus: number;
32
+ creator: iBXRestTaskPeople;
33
+ responsible: iBXRestTaskPeople;
34
+ accomplicesData: iBXRestTaskPeople[];
35
+ allowTimeTracking: boolean;
36
+ tags: iBXRestTaskTag[];
37
+ }
38
+ export interface iBXRestHttpTask extends iBXRestBaseTask {
39
+ id: string;
40
+ parentId: string;
41
+ priority: string;
42
+ status: string;
43
+ multitask: iBXRestYesNo;
44
+ groupId: string;
45
+ group: iBXRestHttpTaskGroupHttp;
46
+ stageId: string;
47
+ createdBy: string;
48
+ createdDate: string;
49
+ responsibleId: string;
50
+ changedBy: string;
51
+ changedDate: string;
52
+ statusChangedBy: string;
53
+ statusChangedDate: string;
54
+ closedBy: string;
55
+ closedDate: string | null;
56
+ dateStart: string;
57
+ deadline: string;
58
+ startDatePlan: string;
59
+ endDatePlan: string;
60
+ forumTopicId: string;
61
+ forumId: string;
62
+ viewedDate: string;
63
+ sorting: string;
64
+ durationPlan: string;
65
+ descriptionInBbcode: iBXRestYesNo;
66
+ accomplices: string[];
67
+ subStatus: string;
68
+ additionalData: any[];
69
+ creator: iBXRestHttpTaskPeople;
70
+ responsible: iBXRestHttpTaskPeople;
71
+ accomplicesData: {
72
+ [key: number]: iBXRestHttpTaskPeople;
73
+ };
74
+ allowTimeTracking: iBXRestYesNo;
75
+ tags: iBXRestTaskHttpTag;
76
+ }
77
+ export interface iBXRestTaskTag {
78
+ id: number;
79
+ title: string;
80
+ }
81
+ export interface iBXRestTaskHttpTag {
82
+ [key: string]: {
83
+ id: string;
84
+ title: string;
85
+ };
86
+ }
87
+ export interface iBXRestHttpTaskGroupHttp {
88
+ id: string;
89
+ name: string;
90
+ opened: boolean;
91
+ membersCount: number;
92
+ }
93
+ export interface iBXRestBaseTask {
94
+ title: string;
95
+ description: string;
96
+ mark: string;
97
+ notViewed: string;
98
+ replicate: string;
99
+ guid: string;
100
+ xmlId: string;
101
+ commentsCount: string;
102
+ taskControl: string;
103
+ addInReport: string;
104
+ forkedByTemplateId: string;
105
+ timeEstimate: string;
106
+ timeSpentInLogs: string;
107
+ matchWorkTime: string;
108
+ siteId: string;
109
+ subordinate: string;
110
+ favorite: string;
111
+ exchangeModified: string;
112
+ exchangeId: string;
113
+ outlookVersion: string;
114
+ durationFact: string | null;
115
+ durationType: string;
116
+ ufCrmTask: number[];
117
+ ufTaskWebdavFiles: number[];
118
+ ufMailMessage: string;
119
+ auditors: number[];
120
+ newCommentsCount: number;
121
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Файл для возможности импорта интерфейсов модуля tasks в локальные проекты
3
+ */
4
+ export * from './tasks/base/fields-name';
5
+ export * from './tasks/base/filter-generator';
6
+ export * from './tasks/base/people';
7
+ export * from './tasks/result/list';
8
+ export * from './tasks/task/result/result';
9
+ export * from './tasks/task/add';
10
+ export * from './tasks/task/approve';
11
+ export * from './tasks/task/base';
12
+ export * from './tasks/task/complete';
13
+ export * from './tasks/task/defer';
14
+ export * from './tasks/task/get';
15
+ export * from './tasks/task/getFields';
16
+ export * from './tasks/task/list';
17
+ export * from './tasks/task/update';
18
+ export * from './tasks/task';
@@ -0,0 +1,107 @@
1
+ type BXRestTimeManStatusDay = 'OPENED' | 'CLOSED' | 'PAUSED' | 'EXPIRED';
2
+ /** Параметры для timeman.status */
3
+ export interface iBXRestParamTimeManStatus {
4
+ /** Идентификатор пользователя (по умолчанию текущий) */
5
+ USER_ID?: number;
6
+ }
7
+ /** Параметры для timeman.open */
8
+ export interface iBXRestParamTimeManOpen {
9
+ /** Идентификатор пользователя (по умолчанию текущий) */
10
+ USER_ID?: number;
11
+ /** Время начала дня в формате ISO-8601 */
12
+ TIME?: Date | string;
13
+ /** Причина изменения рабочего дня */
14
+ REPORT?: string;
15
+ /** Широта точки начала дня */
16
+ LAT?: number;
17
+ /** Долгота точки начала дня */
18
+ LON?: number;
19
+ }
20
+ /** Параметры для timeman.close */
21
+ export interface iBXRestParamTimeManClose {
22
+ /** Идентификатор пользователя (по умолчанию текущий) */
23
+ USER_ID?: number;
24
+ /** Время окончания дня в формате ISO-8601 */
25
+ TIME?: Date | string;
26
+ /** Причина изменения рабочего дня */
27
+ REPORT?: string;
28
+ /** Широта точки окончания дня */
29
+ LAT?: number;
30
+ /** Долгота точки окончания дня */
31
+ LON?: number;
32
+ }
33
+ /** Параметры для timeman.pause */
34
+ export interface iBXRestParamTimeManPause {
35
+ /** Идентификатор пользователя (по умолчанию текущий) */
36
+ USER_ID?: number;
37
+ }
38
+ /** Параметры для timeman.settings */
39
+ export interface iBXRestParamTimeManSettings {
40
+ /** Идентификатор пользователя (по умолчанию текущий) */
41
+ USER_ID?: number;
42
+ }
43
+ /** Ответ timeman.status после маппинга в Date/числа */
44
+ export interface iBXRestTimeManStatus extends iBXRestTimeManStatusBase {
45
+ /** Дата начала рабочего дня */
46
+ TIME_START: Date | undefined;
47
+ /** Дата завершения рабочего дня */
48
+ TIME_FINISH: Date | undefined;
49
+ /** Длительность рабочего дня в секундах */
50
+ DURATION: number;
51
+ /** Суммарная длительность перерывов в секундах */
52
+ TIME_LEAKS: number;
53
+ /** Дефолтное значение закрытого дня */
54
+ TIME_FINISH_DEFAULT?: Date;
55
+ }
56
+ /** Ответ timeman.status в сыром виде от API */
57
+ export interface iBXRestTimeManStatusHttp extends iBXRestTimeManStatusBase {
58
+ /** Дата начала рабочего дня в ISO-8601 */
59
+ TIME_START: string | null;
60
+ /** Дата завершения рабочего дня в ISO-8601 */
61
+ TIME_FINISH: string | null;
62
+ /** Длительность рабочего дня в HH:MM:SS */
63
+ DURATION: string;
64
+ /** Суммарная длительность перерывов в HH:MM:SS */
65
+ TIME_LEAKS: string;
66
+ /** Дефолтное значение закрытого дня */
67
+ TIME_FINISH_DEFAULT?: string;
68
+ }
69
+ /** Базовые поля статуса рабочего дня */
70
+ interface iBXRestTimeManStatusBase {
71
+ /** Статус текущего рабочего дня */
72
+ STATUS: BXRestTimeManStatusDay;
73
+ /** Требуется подтверждение руководителем (false если ждет) */
74
+ ACTIVE: boolean;
75
+ /** IP при открытии дня */
76
+ IP_OPEN: string;
77
+ /** IP при закрытии дня */
78
+ IP_CLOSE: string;
79
+ /** Широта точки начала дня */
80
+ LAT_OPEN: number;
81
+ /** Долгота точки начала дня */
82
+ LON_OPEN: number;
83
+ /** Широта точки окончания дня */
84
+ LAT_CLOSE: number;
85
+ /** Долгота точки окончания дня */
86
+ LON_CLOSE: number;
87
+ /** Смещение часового пояса начала дня */
88
+ TZ_OFFSET: number;
89
+ }
90
+ /** Настройки учета рабочего времени пользователя */
91
+ export interface iBXRestTimeManSettings {
92
+ /** Учет рабочего времени включен */
93
+ UF_TIMEMAN: boolean;
94
+ /** Свободный график включен */
95
+ UF_TM_FREE: boolean;
96
+ /** Максимальное время начала дня HH:MM:SS */
97
+ UF_TM_MAX_START: string;
98
+ /** Минимальное время завершения HH:MM:SS */
99
+ UF_TM_MIN_FINISH: string;
100
+ /** Минимальная длительность дня HH:MM:SS */
101
+ UF_TM_MIN_DURATION: string;
102
+ /** Допустимая дельта изменений HH:MM:SS */
103
+ UF_TM_ALLOWED_DELTA: string;
104
+ /** Может управлять днями других сотрудников (только для текущего пользователя) */
105
+ ADMIN?: boolean;
106
+ }
107
+ export {};
@@ -0,0 +1 @@
1
+ export * from './timeman/status';
@@ -0,0 +1,66 @@
1
+ import { iBXRestYesNo } from '../base/yes-no';
2
+ import { iBXRestBaseParam } from '../support';
3
+ import { iBXRestOrderOption } from '../base/order-options';
4
+ import { iAllBXGender } from './user';
5
+ export interface iBXRestParamUserGet extends iBXRestBaseParam {
6
+ FILTER?: iBXRestParamUserGetFilter;
7
+ order?: iBXRestOrderOption;
8
+ ADMIN_MODE?: string;
9
+ }
10
+ export interface iBXRestParamUserGetFilter {
11
+ ID?: number[] | number;
12
+ PERSONAL_BIRTHDAY?: string | string[];
13
+ /** Принадлежность к структуре компании */
14
+ UF_DEPARTMENT?: number[];
15
+ /** Внутренний телефонный номер */
16
+ UF_PHONE_INNER?: string;
17
+ /** Позволяет показать только авторизованных или нет пользователей */
18
+ IS_ONLINE?: iBXRestYesNo;
19
+ /** Быстрый поиск по персональным данны */
20
+ NAME_SEARCH?: string;
21
+ /**
22
+ * Тип пользователя. Может принимать следующие значения:
23
+ * employee - сотрудник
24
+ * extranet - пользователь экстранета
25
+ * email - почтовый пользователь
26
+ */
27
+ USER_TYPE?: 'employee' | 'extranet' | 'email';
28
+ /**
29
+ * При значении true исключает из запроса уволенных пользователей.
30
+ * False показывает только уволенных
31
+ * Отсутствие указателя показывает и тех и других
32
+ */
33
+ ACTIVE?: boolean | null;
34
+ EMAIL?: string;
35
+ NAME?: string;
36
+ LAST_NAME?: string;
37
+ SECOND_NAME?: string;
38
+ PERSONAL_GENDER?: iAllBXGender;
39
+ PERSONAL_PROFESSION?: string;
40
+ PERSONAL_WWW?: string;
41
+ PERSONAL_PHOTO?: string;
42
+ PERSONAL_ICQ?: string;
43
+ PERSONAL_PHONE?: string;
44
+ PERSONAL_FAX?: string;
45
+ PERSONAL_MOBILE?: string;
46
+ PERSONAL_PAGER?: string;
47
+ PERSONAL_STREET?: string;
48
+ PERSONAL_CITY?: string;
49
+ PERSONAL_STATE?: string;
50
+ PERSONAL_ZIP?: string;
51
+ PERSONAL_COUNTRY?: string;
52
+ TIME_ZONE?: string;
53
+ TIME_ZONE_OFFSET?: string;
54
+ WORK_COMPANY?: string;
55
+ WORK_POSITION?: string;
56
+ WORK_PHONE?: string;
57
+ UF_INTERESTS?: string;
58
+ UF_SKILLS?: string;
59
+ UF_WEB_SITES?: string;
60
+ UF_XING?: string;
61
+ UF_LINKEDIN?: string;
62
+ UF_FACEBOOK?: string;
63
+ UF_TWITTER?: string;
64
+ UF_SKYPE?: string;
65
+ UF_DISTRICT?: string;
66
+ }
@@ -0,0 +1,66 @@
1
+ import { iBXRestPagination } from '../base/api-pagination-bx';
2
+ import { iBXRestYesNo } from '../base/yes-no';
3
+ export interface iBXRestParamUserSearch extends iBXRestPagination {
4
+ /**
5
+ * Имя
6
+ */
7
+ NAME?: string;
8
+ /**
9
+ * Фамилия
10
+ */
11
+ LAST_NAME?: string;
12
+ /**
13
+ * Отчество
14
+ */
15
+ SECOND_NAME?: string;
16
+ /**
17
+ * Должность
18
+ */
19
+ WORK_POSITION?: string;
20
+ /**
21
+ * Название подразделения
22
+ */
23
+ UF_DEPARTMENT_NAME?: string;
24
+ USER_TYPE?: 'employee' | 'extranet' | 'email';
25
+ /**
26
+ * Поиск по всем выше перечисленным полям
27
+ */
28
+ FIND?: string;
29
+ /**
30
+ * Уволен или нет сотрудник
31
+ */
32
+ ACTIVE?: iBXRestYesNo;
33
+ EMAIL?: string;
34
+ LAST_LOGIN?: string;
35
+ DATE_REGISTER?: string;
36
+ IS_ONLINE?: iBXRestYesNo;
37
+ PERSONAL_GENDER?: 'M' | 'F';
38
+ PERSONAL_PROFESSION?: string;
39
+ PERSONAL_WWW?: string;
40
+ PERSONAL_BIRTHDAY?: string;
41
+ PERSONAL_PHOTO?: string;
42
+ PERSONAL_ICQ?: string;
43
+ PERSONAL_PHONE?: string;
44
+ PERSONAL_FAX?: string;
45
+ PERSONAL_MOBILE?: string;
46
+ PERSONAL_PAGER?: string;
47
+ PERSONAL_STREET?: string;
48
+ PERSONAL_CITY?: string;
49
+ PERSONAL_STATE?: string;
50
+ PERSONAL_ZIP?: string;
51
+ PERSONAL_COUNTRY?: string;
52
+ TIME_ZONE_OFFSET?: string;
53
+ WORK_COMPANY?: string;
54
+ WORK_PHONE?: string;
55
+ UF_DEPARTMENT?: number[];
56
+ UF_INTERESTS?: string;
57
+ UF_SKILLS?: string;
58
+ UF_WEB_SITES?: string;
59
+ UF_XING?: string;
60
+ UF_LINKEDIN?: string;
61
+ UF_FACEBOOK?: string;
62
+ UF_TWITTER?: string;
63
+ UF_SKYPE?: string;
64
+ UF_DISTRICT?: string;
65
+ UF_PHONE_INNER?: string;
66
+ }