bx-rest 0.9.11 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (791) hide show
  1. package/consts/part-name-methods.d.ts +129 -0
  2. package/esm2022/bx-rest.mjs +5 -0
  3. package/esm2022/consts/part-name-methods.mjs +130 -0
  4. package/esm2022/functions/errorHandler.mjs +34 -0
  5. package/esm2022/functions/mapResult.mjs +10 -0
  6. package/esm2022/functions/serializeBitrixParams.mjs +25 -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/company.mjs +53 -0
  17. package/esm2022/map/crm/contact.mjs +51 -0
  18. package/esm2022/map/crm/deal.mjs +63 -0
  19. package/esm2022/map/crm/index.mjs +7 -0
  20. package/esm2022/map/crm/lead.mjs +61 -0
  21. package/esm2022/map/crm/quote.mjs +72 -0
  22. package/esm2022/map/department.mjs +24 -0
  23. package/esm2022/map/disk/attachedObject.mjs +18 -0
  24. package/esm2022/map/disk/base.mjs +67 -0
  25. package/esm2022/map/disk/file.mjs +23 -0
  26. package/esm2022/map/disk/folder.mjs +7 -0
  27. package/esm2022/map/disk/storage.mjs +10 -0
  28. package/esm2022/map/im/dialog.mjs +16 -0
  29. package/esm2022/map/im/gialog/messages.mjs +29 -0
  30. package/esm2022/map/im/gialog/users.mjs +15 -0
  31. package/esm2022/map/im/recent.mjs +80 -0
  32. package/esm2022/map/im/user/list.mjs +10 -0
  33. package/esm2022/map/im/user.mjs +16 -0
  34. package/esm2022/map/lists/element.mjs +14 -0
  35. package/esm2022/map/lists/field.mjs +6 -0
  36. package/esm2022/map/lists.mjs +63 -0
  37. package/esm2022/map/log/blogpost.mjs +72 -0
  38. package/esm2022/map/log.mjs +7 -0
  39. package/esm2022/map/pull/application/config.mjs +34 -0
  40. package/esm2022/map/pull.mjs +19 -0
  41. package/esm2022/map/rest.mjs +7 -0
  42. package/esm2022/map/server.mjs +7 -0
  43. package/esm2022/map/socialnetwork/api/livefeed/blogpost/important.mjs +9 -0
  44. package/esm2022/map/sonet_group.mjs +24 -0
  45. package/esm2022/map/task/commentitem.mjs +44 -0
  46. package/esm2022/map/task/elapseditem.mjs +23 -0
  47. package/esm2022/map/task/item/userfield.mjs +27 -0
  48. package/esm2022/map/task/planner.mjs +7 -0
  49. package/esm2022/map/task/stages.mjs +11 -0
  50. package/esm2022/map/task.mjs +11 -0
  51. package/esm2022/map/tasks/task/result.mjs +16 -0
  52. package/esm2022/map/tasks/task.mjs +134 -0
  53. package/esm2022/map/tasks.mjs +7 -0
  54. package/esm2022/map/timeman.mjs +31 -0
  55. package/esm2022/map/user.mjs +85 -0
  56. package/esm2022/public-api.mjs +15 -0
  57. package/esm2022/request/app.mjs +13 -0
  58. package/esm2022/request/bizproc/activity.mjs +3 -0
  59. package/esm2022/request/bizproc/event.mjs +3 -0
  60. package/esm2022/request/bizproc/robot.mjs +3 -0
  61. package/esm2022/request/bizproc/task.mjs +3 -0
  62. package/esm2022/request/bizproc/workflow/instance.mjs +3 -0
  63. package/esm2022/request/bizproc/workflow/template.mjs +3 -0
  64. package/esm2022/request/bizproc/workflow.mjs +18 -0
  65. package/esm2022/request/bizproc.mjs +15 -0
  66. package/esm2022/request/department.mjs +26 -0
  67. package/esm2022/request/disk/attachedObject.mjs +14 -0
  68. package/esm2022/request/disk/file.mjs +18 -0
  69. package/esm2022/request/disk/folder.mjs +117 -0
  70. package/esm2022/request/disk/storage.mjs +35 -0
  71. package/esm2022/request/disk.mjs +11 -0
  72. package/esm2022/request/lists/element.mjs +18 -0
  73. package/esm2022/request/lists/field.mjs +35 -0
  74. package/esm2022/request/lists.mjs +86 -0
  75. package/esm2022/request/log/blogcomment.mjs +3 -0
  76. package/esm2022/request/log/blogpost.mjs +18 -0
  77. package/esm2022/request/log.mjs +9 -0
  78. package/esm2022/request/pull/application/config.mjs +11 -0
  79. package/esm2022/request/pull/channel/public.mjs +18 -0
  80. package/esm2022/request/pull/config.mjs +13 -0
  81. package/esm2022/request/pull.mjs +11 -0
  82. package/esm2022/request/server.mjs +14 -0
  83. package/esm2022/request/socialnetwork/api/contentview.mjs +14 -0
  84. package/esm2022/request/socialnetwork/api/livefeed/blogpost/important.mjs +14 -0
  85. package/esm2022/request/socialnetwork/api/livefeed/blogpost.mjs +7 -0
  86. package/esm2022/request/socialnetwork/api/livefeed.mjs +7 -0
  87. package/esm2022/request/socialnetwork/api.mjs +9 -0
  88. package/esm2022/request/socialnetwork.mjs +8 -0
  89. package/esm2022/request/sonet_group.mjs +24 -0
  90. package/esm2022/request/task/commentitem.mjs +32 -0
  91. package/esm2022/request/task/elapseditem.mjs +40 -0
  92. package/esm2022/request/task/item/userfield.mjs +14 -0
  93. package/esm2022/request/task/item.mjs +7 -0
  94. package/esm2022/request/task/planner.mjs +11 -0
  95. package/esm2022/request/task.mjs +13 -0
  96. package/esm2022/request/tasks/task/result.mjs +22 -0
  97. package/esm2022/request/tasks/task.mjs +110 -0
  98. package/esm2022/request/tasks.mjs +7 -0
  99. package/esm2022/request/user/userfield.mjs +14 -0
  100. package/esm2022/request/user.mjs +40 -0
  101. package/esm2022/request-navvy/app.mjs +14 -0
  102. package/esm2022/request-navvy/bizproc/task.mjs +26 -0
  103. package/esm2022/request-navvy/bizproc/workflow.mjs +32 -0
  104. package/esm2022/request-navvy/bizproc.mjs +60 -0
  105. package/esm2022/request-navvy/calendar/event.mjs +54 -0
  106. package/esm2022/request-navvy/calendar/section.mjs +35 -0
  107. package/esm2022/request-navvy/calendar/user/settings.mjs +27 -0
  108. package/esm2022/request-navvy/calendar/user.mjs +7 -0
  109. package/esm2022/request-navvy/calendar.mjs +36 -0
  110. package/esm2022/request-navvy/crm/automatedsolution.mjs +73 -0
  111. package/esm2022/request-navvy/crm/automation/index.mjs +62 -0
  112. package/esm2022/request-navvy/crm/company.mjs +76 -0
  113. package/esm2022/request-navvy/crm/contact.mjs +76 -0
  114. package/esm2022/request-navvy/crm/deal.mjs +76 -0
  115. package/esm2022/request-navvy/crm/enum/index.mjs +115 -0
  116. package/esm2022/request-navvy/crm/enum/settings.mjs +21 -0
  117. package/esm2022/request-navvy/crm/lead.mjs +76 -0
  118. package/esm2022/request-navvy/crm/multifield.mjs +21 -0
  119. package/esm2022/request-navvy/crm/quote/index.mjs +80 -0
  120. package/esm2022/request-navvy/crm/quote/productrows.mjs +33 -0
  121. package/esm2022/request-navvy/crm/quote/userfield.mjs +60 -0
  122. package/esm2022/request-navvy/crm.mjs +28 -0
  123. package/esm2022/request-navvy/department.mjs +28 -0
  124. package/esm2022/request-navvy/disk/attachedObject.mjs +12 -0
  125. package/esm2022/request-navvy/disk/file.mjs +65 -0
  126. package/esm2022/request-navvy/disk/folder.mjs +118 -0
  127. package/esm2022/request-navvy/disk/operation/storage.mjs +55 -0
  128. package/esm2022/request-navvy/disk/operation.mjs +74 -0
  129. package/esm2022/request-navvy/disk/storage.mjs +56 -0
  130. package/esm2022/request-navvy/disk.mjs +13 -0
  131. package/esm2022/request-navvy/im/chat/user.mjs +25 -0
  132. package/esm2022/request-navvy/im/chat.mjs +84 -0
  133. package/esm2022/request-navvy/im/counters.mjs +11 -0
  134. package/esm2022/request-navvy/im/dialog/messages.mjs +12 -0
  135. package/esm2022/request-navvy/im/dialog/read.mjs +19 -0
  136. package/esm2022/request-navvy/im/dialog/users.mjs +12 -0
  137. package/esm2022/request-navvy/im/dialog.mjs +39 -0
  138. package/esm2022/request-navvy/im/recent.mjs +46 -0
  139. package/esm2022/request-navvy/im/user/list.mjs +13 -0
  140. package/esm2022/request-navvy/im/user/status/idle.mjs +14 -0
  141. package/esm2022/request-navvy/im/user/status.mjs +22 -0
  142. package/esm2022/request-navvy/im/user.mjs +21 -0
  143. package/esm2022/request-navvy/im.mjs +15 -0
  144. package/esm2022/request-navvy/lists/element.mjs +37 -0
  145. package/esm2022/request-navvy/lists/field.mjs +36 -0
  146. package/esm2022/request-navvy/lists.mjs +93 -0
  147. package/esm2022/request-navvy/log/blogcomment.mjs +9 -0
  148. package/esm2022/request-navvy/log/blogpost.mjs +40 -0
  149. package/esm2022/request-navvy/log.mjs +9 -0
  150. package/esm2022/request-navvy/pull/application/config.mjs +12 -0
  151. package/esm2022/request-navvy/pull/channel/public.mjs +15 -0
  152. package/esm2022/request-navvy/pull/config.mjs +24 -0
  153. package/esm2022/request-navvy/pull.mjs +15 -0
  154. package/esm2022/request-navvy/server.mjs +15 -0
  155. package/esm2022/request-navvy/socialnetwork/api/contentview.mjs +11 -0
  156. package/esm2022/request-navvy/socialnetwork/api/livefeed/blogpost/important.mjs +15 -0
  157. package/esm2022/request-navvy/socialnetwork/api/livefeed/blogpost.mjs +7 -0
  158. package/esm2022/request-navvy/socialnetwork/api/livefeed.mjs +11 -0
  159. package/esm2022/request-navvy/socialnetwork/api.mjs +9 -0
  160. package/esm2022/request-navvy/socialnetwork.mjs +7 -0
  161. package/esm2022/request-navvy/sonet_group.mjs +50 -0
  162. package/esm2022/request-navvy/task/commentitem.mjs +47 -0
  163. package/esm2022/request-navvy/task/delegate/elapseditem.mjs +25 -0
  164. package/esm2022/request-navvy/task/elapseditem.mjs +69 -0
  165. package/esm2022/request-navvy/task/item/userfield.mjs +42 -0
  166. package/esm2022/request-navvy/task/item.mjs +7 -0
  167. package/esm2022/request-navvy/task/operation/elapseditem.mjs +324 -0
  168. package/esm2022/request-navvy/task/planner.mjs +15 -0
  169. package/esm2022/request-navvy/task.mjs +13 -0
  170. package/esm2022/request-navvy/tasks/task/result.mjs +32 -0
  171. package/esm2022/request-navvy/tasks/task.mjs +231 -0
  172. package/esm2022/request-navvy/tasks.mjs +7 -0
  173. package/esm2022/request-navvy/timeman.mjs +53 -0
  174. package/esm2022/request-navvy/user/userfield.mjs +35 -0
  175. package/esm2022/request-navvy/user.mjs +155 -0
  176. package/esm2022/rest/base.mjs +39 -0
  177. package/esm2022/rest/map.mjs +39 -0
  178. package/esm2022/rest/navvy.mjs +58 -0
  179. package/esm2022/services/base.mjs +205 -0
  180. package/esm2022/services/http/HttpBX.mjs +142 -0
  181. package/esm2022/services/http/HttpData.mjs +77 -0
  182. package/esm2022/services/http/base/base.mjs +4 -0
  183. package/esm2022/services/http/http.mjs +76 -0
  184. package/esm2022/services/http/httpNavvy.mjs +14 -0
  185. package/esm2022/services/http/sessionKey.mjs +220 -0
  186. package/esm2022/services/navvy/extends/navvy-pag-base.mjs +40 -0
  187. package/esm2022/services/navvy/navvy-alternative-pagination-navigation.mjs +84 -0
  188. package/esm2022/services/navvy/navvy-pag-nav-result-key.mjs +77 -0
  189. package/esm2022/services/navvy/navvy-pag-nav-tasks.mjs +78 -0
  190. package/esm2022/services/navvy/navvy-pag-nav-with-useless-key.mjs +81 -0
  191. package/esm2022/services/navvy/navvy-pag.mjs +70 -0
  192. package/esm2022/services/navvy/navvy-simple.mjs +4 -0
  193. package/esm2022/services/navvy/navvy-support.mjs +15 -0
  194. package/esm2022/services/navvy.mjs +61 -0
  195. package/esm2022/services/vanilla/localStorage.mjs +25 -0
  196. package/esm2022/services/vanilla/sessionStorage.mjs +13 -0
  197. package/esm2022/services/vanilla//321/201ookies.mjs +33 -0
  198. package/esm2022/settings.mjs +28 -0
  199. package/esm2022/typification/auth/save.mjs +2 -0
  200. package/esm2022/typification/base/all-key-free.mjs +2 -0
  201. package/esm2022/typification/base/answers.mjs +438 -0
  202. package/esm2022/typification/base/modyfy.mjs +2 -0
  203. package/esm2022/typification/base/params.mjs +525 -0
  204. package/esm2022/typification/base/upper-case-keys.mjs +2 -0
  205. package/esm2022/typification/base/workpiece/methods-list.mjs +2 -0
  206. package/esm2022/typification/base/workpiece/methods.mjs +2 -0
  207. package/esm2022/typification/rest/app/info.mjs +2 -0
  208. package/esm2022/typification/rest/app.mjs +5 -0
  209. package/esm2022/typification/rest/base/answer.mjs +2 -0
  210. package/esm2022/typification/rest/base/api-pagination-bx.mjs +2 -0
  211. package/esm2022/typification/rest/base/field-bx-type.mjs +2 -0
  212. package/esm2022/typification/rest/base/filter-generator.mjs +2 -0
  213. package/esm2022/typification/rest/base/order-options.mjs +2 -0
  214. package/esm2022/typification/rest/base/sort.mjs +2 -0
  215. package/esm2022/typification/rest/base/yes-no.mjs +2 -0
  216. package/esm2022/typification/rest/base.mjs +11 -0
  217. package/esm2022/typification/rest/batch/batchRequestParam.mjs +2 -0
  218. package/esm2022/typification/rest/batch.mjs +2 -0
  219. package/esm2022/typification/rest/bizproc/base/filedEnum.mjs +2 -0
  220. package/esm2022/typification/rest/bizproc/task/complete.mjs +2 -0
  221. package/esm2022/typification/rest/bizproc/task/delegate.mjs +2 -0
  222. package/esm2022/typification/rest/bizproc/task/list.mjs +2 -0
  223. package/esm2022/typification/rest/bizproc/workflow/instances.mjs +2 -0
  224. package/esm2022/typification/rest/bizproc/workflow/kill.mjs +2 -0
  225. package/esm2022/typification/rest/bizproc/workflow/start.mjs +2 -0
  226. package/esm2022/typification/rest/bizproc/workflow/template/list.mjs +2 -0
  227. package/esm2022/typification/rest/bizproc/workflow/terminate.mjs +2 -0
  228. package/esm2022/typification/rest/bizproc.mjs +13 -0
  229. package/esm2022/typification/rest/calendar/base/type.mjs +2 -0
  230. package/esm2022/typification/rest/calendar/event/add.mjs +2 -0
  231. package/esm2022/typification/rest/calendar/event/delete.mjs +2 -0
  232. package/esm2022/typification/rest/calendar/event/get/nearest.mjs +2 -0
  233. package/esm2022/typification/rest/calendar/event/get.mjs +2 -0
  234. package/esm2022/typification/rest/calendar/event/update.mjs +2 -0
  235. package/esm2022/typification/rest/calendar/section/add.mjs +2 -0
  236. package/esm2022/typification/rest/calendar/section/delete.mjs +2 -0
  237. package/esm2022/typification/rest/calendar/section/get.mjs +2 -0
  238. package/esm2022/typification/rest/calendar/section/update.mjs +2 -0
  239. package/esm2022/typification/rest/calendar/user/settings/get.mjs +2 -0
  240. package/esm2022/typification/rest/calendar/user/settings/set.mjs +2 -0
  241. package/esm2022/typification/rest/calendar.mjs +16 -0
  242. package/esm2022/typification/rest/crm/automatedsolution/add.mjs +2 -0
  243. package/esm2022/typification/rest/crm/automatedsolution/automatedsolution.mjs +2 -0
  244. package/esm2022/typification/rest/crm/automatedsolution/delete.mjs +2 -0
  245. package/esm2022/typification/rest/crm/automatedsolution/get.mjs +2 -0
  246. package/esm2022/typification/rest/crm/automatedsolution/index.mjs +7 -0
  247. package/esm2022/typification/rest/crm/automatedsolution/list.mjs +2 -0
  248. package/esm2022/typification/rest/crm/automatedsolution/update.mjs +2 -0
  249. package/esm2022/typification/rest/crm/automation.mjs +2 -0
  250. package/esm2022/typification/rest/crm/company/add.mjs +2 -0
  251. package/esm2022/typification/rest/crm/company/company.mjs +2 -0
  252. package/esm2022/typification/rest/crm/company/delete.mjs +2 -0
  253. package/esm2022/typification/rest/crm/company/get.mjs +2 -0
  254. package/esm2022/typification/rest/crm/company/index.mjs +7 -0
  255. package/esm2022/typification/rest/crm/company/list.mjs +2 -0
  256. package/esm2022/typification/rest/crm/company/update.mjs +2 -0
  257. package/esm2022/typification/rest/crm/contact/add.mjs +2 -0
  258. package/esm2022/typification/rest/crm/contact/contact.mjs +2 -0
  259. package/esm2022/typification/rest/crm/contact/delete.mjs +2 -0
  260. package/esm2022/typification/rest/crm/contact/get.mjs +2 -0
  261. package/esm2022/typification/rest/crm/contact/index.mjs +7 -0
  262. package/esm2022/typification/rest/crm/contact/list.mjs +2 -0
  263. package/esm2022/typification/rest/crm/contact/update.mjs +2 -0
  264. package/esm2022/typification/rest/crm/deal/add.mjs +2 -0
  265. package/esm2022/typification/rest/crm/deal/deal.mjs +2 -0
  266. package/esm2022/typification/rest/crm/deal/delete.mjs +2 -0
  267. package/esm2022/typification/rest/crm/deal/get.mjs +2 -0
  268. package/esm2022/typification/rest/crm/deal/index.mjs +7 -0
  269. package/esm2022/typification/rest/crm/deal/list.mjs +2 -0
  270. package/esm2022/typification/rest/crm/deal/update.mjs +2 -0
  271. package/esm2022/typification/rest/crm/enum.mjs +2 -0
  272. package/esm2022/typification/rest/crm/index.mjs +10 -0
  273. package/esm2022/typification/rest/crm/lead/add.mjs +2 -0
  274. package/esm2022/typification/rest/crm/lead/delete.mjs +2 -0
  275. package/esm2022/typification/rest/crm/lead/get.mjs +2 -0
  276. package/esm2022/typification/rest/crm/lead/index.mjs +7 -0
  277. package/esm2022/typification/rest/crm/lead/lead.mjs +2 -0
  278. package/esm2022/typification/rest/crm/lead/list.mjs +2 -0
  279. package/esm2022/typification/rest/crm/lead/update.mjs +2 -0
  280. package/esm2022/typification/rest/crm/multifield.mjs +2 -0
  281. package/esm2022/typification/rest/crm/quote/index.mjs +2 -0
  282. package/esm2022/typification/rest/department/add.mjs +2 -0
  283. package/esm2022/typification/rest/department/del.mjs +2 -0
  284. package/esm2022/typification/rest/department/department.mjs +2 -0
  285. package/esm2022/typification/rest/department/get.mjs +2 -0
  286. package/esm2022/typification/rest/department/update.mjs +2 -0
  287. package/esm2022/typification/rest/department.mjs +9 -0
  288. package/esm2022/typification/rest/disk/AttachedObject.mjs +2 -0
  289. package/esm2022/typification/rest/disk/file.mjs +2 -0
  290. package/esm2022/typification/rest/disk/folder/addSubFolder.mjs +2 -0
  291. package/esm2022/typification/rest/disk/folder/copyTo.mjs +2 -0
  292. package/esm2022/typification/rest/disk/folder/getFields.mjs +2 -0
  293. package/esm2022/typification/rest/disk/folder/moveTo.mjs +2 -0
  294. package/esm2022/typification/rest/disk/folder/rename.mjs +2 -0
  295. package/esm2022/typification/rest/disk/folder/uploadFile.mjs +2 -0
  296. package/esm2022/typification/rest/disk/folder.mjs +2 -0
  297. package/esm2022/typification/rest/disk/map.mjs +2 -0
  298. package/esm2022/typification/rest/disk/storage/getchildren.mjs +2 -0
  299. package/esm2022/typification/rest/disk/storage/uploadfile.mjs +2 -0
  300. package/esm2022/typification/rest/disk.mjs +16 -0
  301. package/esm2022/typification/rest/im/chat/add.mjs +2 -0
  302. package/esm2022/typification/rest/im/chat/get.mjs +2 -0
  303. package/esm2022/typification/rest/im/chat/leave.mjs +2 -0
  304. package/esm2022/typification/rest/im/chat/mute.mjs +2 -0
  305. package/esm2022/typification/rest/im/chat/setOwner.mjs +2 -0
  306. package/esm2022/typification/rest/im/chat/updateAvatar.mjs +2 -0
  307. package/esm2022/typification/rest/im/chat/updateColor.mjs +2 -0
  308. package/esm2022/typification/rest/im/chat/updateTitle.mjs +2 -0
  309. package/esm2022/typification/rest/im/chat/user/add.mjs +2 -0
  310. package/esm2022/typification/rest/im/chat/user/delete.mjs +2 -0
  311. package/esm2022/typification/rest/im/chat/user/list.mjs +2 -0
  312. package/esm2022/typification/rest/im/counters/get.mjs +2 -0
  313. package/esm2022/typification/rest/im/dialog/get.mjs +2 -0
  314. package/esm2022/typification/rest/im/dialog/messages/get.mjs +2 -0
  315. package/esm2022/typification/rest/im/dialog/read.mjs +2 -0
  316. package/esm2022/typification/rest/im/dialog/recent/get.mjs +2 -0
  317. package/esm2022/typification/rest/im/dialog/recent/list.mjs +2 -0
  318. package/esm2022/typification/rest/im/dialog/recent/unread.mjs +2 -0
  319. package/esm2022/typification/rest/im/dialog/unread.mjs +2 -0
  320. package/esm2022/typification/rest/im/dialog/user/get.mjs +2 -0
  321. package/esm2022/typification/rest/im/dialog/writing.mjs +2 -0
  322. package/esm2022/typification/rest/im/user/get.mjs +2 -0
  323. package/esm2022/typification/rest/im/user/list/get.mjs +2 -0
  324. package/esm2022/typification/rest/im/user/status/get.mjs +2 -0
  325. package/esm2022/typification/rest/im/user/status/idle.mjs +2 -0
  326. package/esm2022/typification/rest/im/user/status/set.mjs +2 -0
  327. package/esm2022/typification/rest/im.mjs +34 -0
  328. package/esm2022/typification/rest/lists/element/add.mjs +2 -0
  329. package/esm2022/typification/rest/lists/element/get.mjs +2 -0
  330. package/esm2022/typification/rest/lists/field/get.mjs +2 -0
  331. package/esm2022/typification/rest/lists/get.mjs +2 -0
  332. package/esm2022/typification/rest/lists.mjs +8 -0
  333. package/esm2022/typification/rest/log/blogpost/add.mjs +2 -0
  334. package/esm2022/typification/rest/log/blogpost/essence.mjs +2 -0
  335. package/esm2022/typification/rest/log/blogpost/get.mjs +2 -0
  336. package/esm2022/typification/rest/log.mjs +7 -0
  337. package/esm2022/typification/rest/profile.mjs +2 -0
  338. package/esm2022/typification/rest/pull/application/config/get.mjs +2 -0
  339. package/esm2022/typification/rest/pull/channel/get.mjs +2 -0
  340. package/esm2022/typification/rest/pull/config/get.mjs +2 -0
  341. package/esm2022/typification/rest/pull.mjs +4 -0
  342. package/esm2022/typification/rest/settings.mjs +2 -0
  343. package/esm2022/typification/rest/socialnetwork/api/contentview/set.mjs +2 -0
  344. package/esm2022/typification/rest/socialnetwork/api/livefeed/blogpost/important/vote.mjs +2 -0
  345. package/esm2022/typification/rest/socialnetwork.mjs +6 -0
  346. package/esm2022/typification/rest/sonet_group/base.mjs +2 -0
  347. package/esm2022/typification/rest/sonet_group/get.mjs +2 -0
  348. package/esm2022/typification/rest/sonet_group.mjs +6 -0
  349. package/esm2022/typification/rest/support/param.mjs +2 -0
  350. package/esm2022/typification/rest/support.mjs +5 -0
  351. package/esm2022/typification/rest/task/access/getaccess.mjs +2 -0
  352. package/esm2022/typification/rest/task/commentitem/add.mjs +2 -0
  353. package/esm2022/typification/rest/task/commentitem/commentitem.mjs +2 -0
  354. package/esm2022/typification/rest/task/commentitem/delete.mjs +2 -0
  355. package/esm2022/typification/rest/task/commentitem/get.mjs +2 -0
  356. package/esm2022/typification/rest/task/commentitem/getlist.mjs +2 -0
  357. package/esm2022/typification/rest/task/commentitem/update.mjs +2 -0
  358. package/esm2022/typification/rest/task/elapseditem/add.mjs +2 -0
  359. package/esm2022/typification/rest/task/elapseditem/del.mjs +2 -0
  360. package/esm2022/typification/rest/task/elapseditem/get.mjs +2 -0
  361. package/esm2022/typification/rest/task/elapseditem/isActionAllowedParam.mjs +2 -0
  362. package/esm2022/typification/rest/task/elapseditem/item.mjs +2 -0
  363. package/esm2022/typification/rest/task/elapseditem/update.mjs +2 -0
  364. package/esm2022/typification/rest/task/item/userfield/getlist.mjs +2 -0
  365. package/esm2022/typification/rest/task/stages/add.mjs +2 -0
  366. package/esm2022/typification/rest/task/stages/canMoveTask.mjs +2 -0
  367. package/esm2022/typification/rest/task/stages/get.mjs +2 -0
  368. package/esm2022/typification/rest/task/stages/stage.mjs +2 -0
  369. package/esm2022/typification/rest/task/stages/update.mjs +2 -0
  370. package/esm2022/typification/rest/task.mjs +28 -0
  371. package/esm2022/typification/rest/tasks/base/fields-name.mjs +2 -0
  372. package/esm2022/typification/rest/tasks/base/filter-generator.mjs +2 -0
  373. package/esm2022/typification/rest/tasks/base/people.mjs +2 -0
  374. package/esm2022/typification/rest/tasks/result/list.mjs +2 -0
  375. package/esm2022/typification/rest/tasks/task/add.mjs +2 -0
  376. package/esm2022/typification/rest/tasks/task/approve.mjs +2 -0
  377. package/esm2022/typification/rest/tasks/task/base.mjs +2 -0
  378. package/esm2022/typification/rest/tasks/task/complete.mjs +2 -0
  379. package/esm2022/typification/rest/tasks/task/defer.mjs +2 -0
  380. package/esm2022/typification/rest/tasks/task/get.mjs +2 -0
  381. package/esm2022/typification/rest/tasks/task/getFields.mjs +2 -0
  382. package/esm2022/typification/rest/tasks/task/list.mjs +2 -0
  383. package/esm2022/typification/rest/tasks/task/result/result.mjs +2 -0
  384. package/esm2022/typification/rest/tasks/task/update.mjs +2 -0
  385. package/esm2022/typification/rest/tasks/task.mjs +2 -0
  386. package/esm2022/typification/rest/tasks.mjs +22 -0
  387. package/esm2022/typification/rest/timeman/status.mjs +2 -0
  388. package/esm2022/typification/rest/timeman.mjs +2 -0
  389. package/esm2022/typification/rest/user/get.mjs +2 -0
  390. package/esm2022/typification/rest/user/search.mjs +2 -0
  391. package/esm2022/typification/rest/user/user.mjs +2 -0
  392. package/esm2022/typification/rest/user/userFilter.mjs +2 -0
  393. package/esm2022/typification/rest/user/userfield/list.mjs +2 -0
  394. package/esm2022/typification/rest/user.mjs +9 -0
  395. package/esm2022/typification/settings.mjs +2 -0
  396. package/fesm2022/bx-rest.mjs +6999 -0
  397. package/fesm2022/bx-rest.mjs.map +1 -0
  398. package/functions/errorHandler.d.ts +10 -0
  399. package/functions/mapResult.d.ts +5 -0
  400. package/functions/serializeBitrixParams.d.ts +5 -0
  401. package/functions/toLocalAtom.d.ts +1 -0
  402. package/index.d.ts +5 -0
  403. package/map/app.d.ts +4 -0
  404. package/map/calendar/event.d.ts +6 -0
  405. package/map/calendar/section.d.ts +5 -0
  406. package/map/calendar/user/settings.d.ts +4 -0
  407. package/map/calendar/user.d.ts +4 -0
  408. package/map/calendar.d.ts +8 -0
  409. package/map/channel/public.d.ts +4 -0
  410. package/map/crm/automatedsolution.d.ts +7 -0
  411. package/map/crm/company.d.ts +19 -0
  412. package/map/crm/contact.d.ts +19 -0
  413. package/map/crm/deal.d.ts +19 -0
  414. package/map/crm/index.d.ts +6 -0
  415. package/map/crm/lead.d.ts +19 -0
  416. package/map/crm/quote.d.ts +12 -0
  417. package/map/department.d.ts +4 -0
  418. package/map/disk/attachedObject.d.ts +6 -0
  419. package/map/disk/base.d.ts +9 -0
  420. package/map/disk/file.d.ts +4 -0
  421. package/map/disk/folder.d.ts +6 -0
  422. package/map/disk/storage.d.ts +7 -0
  423. package/map/im/dialog.d.ts +4 -0
  424. package/map/im/gialog/messages.d.ts +4 -0
  425. package/map/im/gialog/users.d.ts +4 -0
  426. package/map/im/recent.d.ts +9 -0
  427. package/map/im/user/list.d.ts +5 -0
  428. package/map/im/user.d.ts +4 -0
  429. package/map/lists/element.d.ts +4 -0
  430. package/map/lists/field.d.ts +4 -0
  431. package/map/lists.d.ts +9 -0
  432. package/map/log/blogpost.d.ts +7 -0
  433. package/map/log.d.ts +4 -0
  434. package/map/pull/application/config.d.ts +4 -0
  435. package/map/pull.d.ts +4 -0
  436. package/map/rest.d.ts +4 -0
  437. package/map/server.d.ts +3 -0
  438. package/map/socialnetwork/api/livefeed/blogpost/important.d.ts +4 -0
  439. package/map/sonet_group.d.ts +5 -0
  440. package/map/task/commentitem.d.ts +6 -0
  441. package/map/task/elapseditem.d.ts +6 -0
  442. package/map/task/item/userfield.d.ts +4 -0
  443. package/map/task/planner.d.ts +3 -0
  444. package/map/task/stages.d.ts +4 -0
  445. package/map/task.d.ts +8 -0
  446. package/map/tasks/task/result.d.ts +6 -0
  447. package/map/tasks/task.d.ts +18 -0
  448. package/map/tasks.d.ts +4 -0
  449. package/map/timeman.d.ts +4 -0
  450. package/map/user.d.ts +10 -0
  451. package/package.json +133 -124
  452. package/public-api.d.ts +14 -0
  453. package/request/app.d.ts +8 -0
  454. package/request/bizproc/activity.d.ts +2 -0
  455. package/request/bizproc/event.d.ts +2 -0
  456. package/request/bizproc/robot.d.ts +2 -0
  457. package/request/bizproc/task.d.ts +2 -0
  458. package/request/bizproc/workflow/instance.d.ts +2 -0
  459. package/request/bizproc/workflow/template.d.ts +2 -0
  460. package/request/bizproc/workflow.d.ts +13 -0
  461. package/request/bizproc.d.ts +12 -0
  462. package/request/department.d.ts +18 -0
  463. package/request/disk/attachedObject.d.ts +8 -0
  464. package/request/disk/file.d.ts +10 -0
  465. package/request/disk/folder.d.ts +96 -0
  466. package/request/disk/storage.d.ts +27 -0
  467. package/request/disk.d.ts +8 -0
  468. package/request/lists/element.d.ts +11 -0
  469. package/request/lists/field.d.ts +11 -0
  470. package/request/lists.d.ts +31 -0
  471. package/request/log/blogcomment.d.ts +2 -0
  472. package/request/log/blogpost.d.ts +11 -0
  473. package/request/log.d.ts +6 -0
  474. package/request/pull/application/config.d.ts +5 -0
  475. package/request/pull/channel/public.d.ts +5 -0
  476. package/request/pull/config.d.ts +7 -0
  477. package/request/pull.d.ts +8 -0
  478. package/request/server.d.ts +7 -0
  479. package/request/socialnetwork/api/contentview.d.ts +6 -0
  480. package/request/socialnetwork/api/livefeed/blogpost/important.d.ts +6 -0
  481. package/request/socialnetwork/api/livefeed/blogpost.d.ts +4 -0
  482. package/request/socialnetwork/api/livefeed.d.ts +4 -0
  483. package/request/socialnetwork/api.d.ts +6 -0
  484. package/request/socialnetwork.d.ts +4 -0
  485. package/request/sonet_group.d.ts +8 -0
  486. package/request/task/commentitem.d.ts +23 -0
  487. package/request/task/elapseditem.d.ts +26 -0
  488. package/request/task/item/userfield.d.ts +6 -0
  489. package/request/task/item.d.ts +4 -0
  490. package/request/task/planner.d.ts +4 -0
  491. package/request/task.d.ts +10 -0
  492. package/request/tasks/task/result.d.ts +13 -0
  493. package/request/tasks/task.d.ts +37 -0
  494. package/request/tasks.d.ts +4 -0
  495. package/request/user/userfield.d.ts +8 -0
  496. package/request/user.d.ts +24 -0
  497. package/request-navvy/app.d.ts +8 -0
  498. package/request-navvy/bizproc/task.d.ts +16 -0
  499. package/request-navvy/bizproc/workflow.d.ts +20 -0
  500. package/request-navvy/bizproc.d.ts +19 -0
  501. package/request-navvy/calendar/event.d.ts +17 -0
  502. package/request-navvy/calendar/section.d.ts +13 -0
  503. package/request-navvy/calendar/user/settings.d.ts +13 -0
  504. package/request-navvy/calendar/user.d.ts +4 -0
  505. package/request-navvy/calendar.d.ts +8 -0
  506. package/request-navvy/crm/automatedsolution.d.ts +56 -0
  507. package/request-navvy/crm/automation/index.d.ts +42 -0
  508. package/request-navvy/crm/company.d.ts +59 -0
  509. package/request-navvy/crm/contact.d.ts +59 -0
  510. package/request-navvy/crm/deal.d.ts +59 -0
  511. package/request-navvy/crm/enum/index.d.ts +78 -0
  512. package/request-navvy/crm/enum/settings.d.ts +13 -0
  513. package/request-navvy/crm/lead.d.ts +59 -0
  514. package/request-navvy/crm/multifield.d.ts +13 -0
  515. package/request-navvy/crm/quote/index.d.ts +56 -0
  516. package/request-navvy/crm/quote/productrows.d.ts +21 -0
  517. package/request-navvy/crm/quote/userfield.d.ts +39 -0
  518. package/request-navvy/crm.d.ts +25 -0
  519. package/request-navvy/department.d.ts +15 -0
  520. package/request-navvy/disk/attachedObject.d.ts +5 -0
  521. package/request-navvy/disk/file.d.ts +16 -0
  522. package/request-navvy/disk/folder.d.ts +89 -0
  523. package/request-navvy/disk/operation/storage.d.ts +19 -0
  524. package/request-navvy/disk/operation.d.ts +18 -0
  525. package/request-navvy/disk/storage.d.ts +31 -0
  526. package/request-navvy/disk.d.ts +10 -0
  527. package/request-navvy/im/chat/user.d.ts +15 -0
  528. package/request-navvy/im/chat.d.ts +64 -0
  529. package/request-navvy/im/counters.d.ts +5 -0
  530. package/request-navvy/im/dialog/messages.d.ts +5 -0
  531. package/request-navvy/im/dialog/read.d.ts +9 -0
  532. package/request-navvy/im/dialog/users.d.ts +5 -0
  533. package/request-navvy/im/dialog.d.ts +30 -0
  534. package/request-navvy/im/recent.d.ts +31 -0
  535. package/request-navvy/im/user/list.d.ts +6 -0
  536. package/request-navvy/im/user/status/idle.d.ts +6 -0
  537. package/request-navvy/im/user/status.d.ts +14 -0
  538. package/request-navvy/im/user.d.ts +14 -0
  539. package/request-navvy/im.d.ts +12 -0
  540. package/request-navvy/lists/element.d.ts +16 -0
  541. package/request-navvy/lists/field.d.ts +11 -0
  542. package/request-navvy/lists.d.ts +32 -0
  543. package/request-navvy/log/blogcomment.d.ts +5 -0
  544. package/request-navvy/log/blogpost.d.ts +16 -0
  545. package/request-navvy/log.d.ts +6 -0
  546. package/request-navvy/pull/application/config.d.ts +5 -0
  547. package/request-navvy/pull/channel/public.d.ts +8 -0
  548. package/request-navvy/pull/config.d.ts +17 -0
  549. package/request-navvy/pull.d.ts +12 -0
  550. package/request-navvy/server.d.ts +7 -0
  551. package/request-navvy/socialnetwork/api/contentview.d.ts +5 -0
  552. package/request-navvy/socialnetwork/api/livefeed/blogpost/important.d.ts +8 -0
  553. package/request-navvy/socialnetwork/api/livefeed/blogpost.d.ts +4 -0
  554. package/request-navvy/socialnetwork/api/livefeed.d.ts +4 -0
  555. package/request-navvy/socialnetwork/api.d.ts +6 -0
  556. package/request-navvy/socialnetwork.d.ts +4 -0
  557. package/request-navvy/sonet_group.d.ts +11 -0
  558. package/request-navvy/task/commentitem.d.ts +16 -0
  559. package/request-navvy/task/delegate/elapseditem.d.ts +5 -0
  560. package/request-navvy/task/elapseditem.d.ts +46 -0
  561. package/request-navvy/task/item/userfield.d.ts +15 -0
  562. package/request-navvy/task/item.d.ts +4 -0
  563. package/request-navvy/task/operation/elapseditem.d.ts +64 -0
  564. package/request-navvy/task/planner.d.ts +7 -0
  565. package/request-navvy/task.d.ts +10 -0
  566. package/request-navvy/tasks/task/result.d.ts +25 -0
  567. package/request-navvy/tasks/task.d.ts +77 -0
  568. package/request-navvy/tasks.d.ts +4 -0
  569. package/request-navvy/timeman.d.ts +32 -0
  570. package/request-navvy/user/userfield.d.ts +6 -0
  571. package/request-navvy/user.d.ts +28 -0
  572. package/rest/base.d.ts +33 -0
  573. package/rest/map.d.ts +20 -0
  574. package/rest/navvy.d.ts +40 -0
  575. package/services/base.d.ts +67 -0
  576. package/services/http/HttpBX.d.ts +33 -0
  577. package/services/http/HttpData.d.ts +7 -0
  578. package/services/http/base/base.d.ts +7 -0
  579. package/services/http/http.d.ts +12 -0
  580. package/services/http/httpNavvy.d.ts +10 -0
  581. package/services/http/sessionKey.d.ts +34 -0
  582. package/services/navvy/extends/navvy-pag-base.d.ts +16 -0
  583. package/services/navvy/navvy-alternative-pagination-navigation.d.ts +14 -0
  584. package/services/navvy/navvy-pag-nav-result-key.d.ts +13 -0
  585. package/services/navvy/navvy-pag-nav-tasks.d.ts +11 -0
  586. package/services/navvy/navvy-pag-nav-with-useless-key.d.ts +7 -0
  587. package/services/navvy/navvy-pag.d.ts +8 -0
  588. package/services/navvy/navvy-simple.d.ts +3 -0
  589. package/services/navvy/navvy-support.d.ts +11 -0
  590. package/services/navvy.d.ts +32 -0
  591. package/services/vanilla/localStorage.d.ts +7 -0
  592. package/services/vanilla/sessionStorage.d.ts +4 -0
  593. package/services/vanilla//321/201ookies.d.ts +6 -0
  594. package/settings.d.ts +6 -0
  595. package/typification/auth/save.d.ts +14 -0
  596. package/typification/base/all-key-free.d.ts +3 -0
  597. package/typification/base/answers.d.ts +12 -0
  598. package/typification/base/modyfy.d.ts +9 -0
  599. package/typification/base/params.d.ts +16 -0
  600. package/typification/base/upper-case-keys.d.ts +6 -0
  601. package/typification/base/workpiece/methods-list.d.ts +247 -0
  602. package/typification/base/workpiece/methods.d.ts +20 -0
  603. package/typification/rest/app/info.d.ts +17 -0
  604. package/typification/rest/app.d.ts +4 -0
  605. package/typification/rest/base/answer.d.ts +19 -0
  606. package/typification/rest/base/api-pagination-bx.d.ts +11 -0
  607. package/typification/rest/base/field-bx-type.d.ts +1 -0
  608. package/typification/rest/base/filter-generator.d.ts +5 -0
  609. package/typification/rest/base/order-options.d.ts +1 -0
  610. package/typification/rest/base/sort.d.ts +1 -0
  611. package/typification/rest/base/yes-no.d.ts +1 -0
  612. package/typification/rest/base.d.ts +10 -0
  613. package/typification/rest/batch/batchRequestParam.d.ts +15 -0
  614. package/typification/rest/batch.d.ts +26 -0
  615. package/typification/rest/bizproc/base/filedEnum.d.ts +1 -0
  616. package/typification/rest/bizproc/task/complete.d.ts +7 -0
  617. package/typification/rest/bizproc/task/delegate.d.ts +5 -0
  618. package/typification/rest/bizproc/task/list.d.ts +52 -0
  619. package/typification/rest/bizproc/workflow/instances.d.ts +20 -0
  620. package/typification/rest/bizproc/workflow/kill.d.ts +3 -0
  621. package/typification/rest/bizproc/workflow/start.d.ts +5 -0
  622. package/typification/rest/bizproc/workflow/template/list.d.ts +8 -0
  623. package/typification/rest/bizproc/workflow/terminate.d.ts +4 -0
  624. package/typification/rest/bizproc.d.ts +12 -0
  625. package/typification/rest/calendar/base/type.d.ts +2 -0
  626. package/typification/rest/calendar/event/add.d.ts +145 -0
  627. package/typification/rest/calendar/event/delete.d.ts +3 -0
  628. package/typification/rest/calendar/event/get/nearest.d.ts +24 -0
  629. package/typification/rest/calendar/event/get.d.ts +136 -0
  630. package/typification/rest/calendar/event/update.d.ts +6 -0
  631. package/typification/rest/calendar/section/add.d.ts +10 -0
  632. package/typification/rest/calendar/section/delete.d.ts +6 -0
  633. package/typification/rest/calendar/section/get.d.ts +50 -0
  634. package/typification/rest/calendar/section/update.d.ts +10 -0
  635. package/typification/rest/calendar/user/settings/get.d.ts +102 -0
  636. package/typification/rest/calendar/user/settings/set.d.ts +58 -0
  637. package/typification/rest/calendar.d.ts +15 -0
  638. package/typification/rest/crm/automatedsolution/add.d.ts +8 -0
  639. package/typification/rest/crm/automatedsolution/automatedsolution.d.ts +23 -0
  640. package/typification/rest/crm/automatedsolution/delete.d.ts +4 -0
  641. package/typification/rest/crm/automatedsolution/get.d.ts +4 -0
  642. package/typification/rest/crm/automatedsolution/index.d.ts +6 -0
  643. package/typification/rest/crm/automatedsolution/list.d.ts +7 -0
  644. package/typification/rest/crm/automatedsolution/update.d.ts +10 -0
  645. package/typification/rest/crm/automation.d.ts +35 -0
  646. package/typification/rest/crm/company/add.d.ts +6 -0
  647. package/typification/rest/crm/company/company.d.ts +38 -0
  648. package/typification/rest/crm/company/delete.d.ts +3 -0
  649. package/typification/rest/crm/company/get.d.ts +3 -0
  650. package/typification/rest/crm/company/index.d.ts +6 -0
  651. package/typification/rest/crm/company/list.d.ts +6 -0
  652. package/typification/rest/crm/company/update.d.ts +7 -0
  653. package/typification/rest/crm/contact/add.d.ts +6 -0
  654. package/typification/rest/crm/contact/contact.d.ts +41 -0
  655. package/typification/rest/crm/contact/delete.d.ts +3 -0
  656. package/typification/rest/crm/contact/get.d.ts +3 -0
  657. package/typification/rest/crm/contact/index.d.ts +6 -0
  658. package/typification/rest/crm/contact/list.d.ts +6 -0
  659. package/typification/rest/crm/contact/update.d.ts +7 -0
  660. package/typification/rest/crm/deal/add.d.ts +6 -0
  661. package/typification/rest/crm/deal/deal.d.ts +47 -0
  662. package/typification/rest/crm/deal/delete.d.ts +3 -0
  663. package/typification/rest/crm/deal/get.d.ts +3 -0
  664. package/typification/rest/crm/deal/index.d.ts +6 -0
  665. package/typification/rest/crm/deal/list.d.ts +6 -0
  666. package/typification/rest/crm/deal/update.d.ts +7 -0
  667. package/typification/rest/crm/enum.d.ts +46 -0
  668. package/typification/rest/crm/index.d.ts +9 -0
  669. package/typification/rest/crm/lead/add.d.ts +6 -0
  670. package/typification/rest/crm/lead/delete.d.ts +3 -0
  671. package/typification/rest/crm/lead/get.d.ts +3 -0
  672. package/typification/rest/crm/lead/index.d.ts +6 -0
  673. package/typification/rest/crm/lead/lead.d.ts +52 -0
  674. package/typification/rest/crm/lead/list.d.ts +6 -0
  675. package/typification/rest/crm/lead/update.d.ts +7 -0
  676. package/typification/rest/crm/multifield.d.ts +12 -0
  677. package/typification/rest/crm/quote/index.d.ts +299 -0
  678. package/typification/rest/department/add.d.ts +6 -0
  679. package/typification/rest/department/del.d.ts +3 -0
  680. package/typification/rest/department/department.d.ts +14 -0
  681. package/typification/rest/department/get.d.ts +10 -0
  682. package/typification/rest/department/update.d.ts +7 -0
  683. package/typification/rest/department.d.ts +8 -0
  684. package/typification/rest/disk/AttachedObject.d.ts +26 -0
  685. package/typification/rest/disk/file.d.ts +19 -0
  686. package/typification/rest/disk/folder/addSubFolder.d.ts +6 -0
  687. package/typification/rest/disk/folder/copyTo.d.ts +4 -0
  688. package/typification/rest/disk/folder/getFields.d.ts +9 -0
  689. package/typification/rest/disk/folder/moveTo.d.ts +4 -0
  690. package/typification/rest/disk/folder/rename.d.ts +4 -0
  691. package/typification/rest/disk/folder/uploadFile.d.ts +13 -0
  692. package/typification/rest/disk/folder.d.ts +62 -0
  693. package/typification/rest/disk/map.d.ts +6 -0
  694. package/typification/rest/disk/storage/getchildren.d.ts +4 -0
  695. package/typification/rest/disk/storage/uploadfile.d.ts +9 -0
  696. package/typification/rest/disk.d.ts +15 -0
  697. package/typification/rest/im/chat/add.d.ts +12 -0
  698. package/typification/rest/im/chat/get.d.ts +18 -0
  699. package/typification/rest/im/chat/leave.d.ts +4 -0
  700. package/typification/rest/im/chat/mute.d.ts +10 -0
  701. package/typification/rest/im/chat/setOwner.d.ts +6 -0
  702. package/typification/rest/im/chat/updateAvatar.d.ts +6 -0
  703. package/typification/rest/im/chat/updateColor.d.ts +9 -0
  704. package/typification/rest/im/chat/updateTitle.d.ts +8 -0
  705. package/typification/rest/im/chat/user/add.d.ts +12 -0
  706. package/typification/rest/im/chat/user/delete.d.ts +6 -0
  707. package/typification/rest/im/chat/user/list.d.ts +4 -0
  708. package/typification/rest/im/counters/get.d.ts +13 -0
  709. package/typification/rest/im/dialog/get.d.ts +83 -0
  710. package/typification/rest/im/dialog/messages/get.d.ts +180 -0
  711. package/typification/rest/im/dialog/read.d.ts +25 -0
  712. package/typification/rest/im/dialog/recent/get.d.ts +176 -0
  713. package/typification/rest/im/dialog/recent/list.d.ts +186 -0
  714. package/typification/rest/im/dialog/recent/unread.d.ts +12 -0
  715. package/typification/rest/im/dialog/unread.d.ts +3 -0
  716. package/typification/rest/im/dialog/user/get.d.ts +71 -0
  717. package/typification/rest/im/dialog/writing.d.ts +2 -0
  718. package/typification/rest/im/user/get.d.ts +73 -0
  719. package/typification/rest/im/user/list/get.d.ts +5 -0
  720. package/typification/rest/im/user/status/get.d.ts +7 -0
  721. package/typification/rest/im/user/status/idle.d.ts +4 -0
  722. package/typification/rest/im/user/status/set.d.ts +4 -0
  723. package/typification/rest/im.d.ts +29 -0
  724. package/typification/rest/lists/element/add.d.ts +9 -0
  725. package/typification/rest/lists/element/get.d.ts +33 -0
  726. package/typification/rest/lists/field/get.d.ts +38 -0
  727. package/typification/rest/lists/get.d.ts +95 -0
  728. package/typification/rest/lists.d.ts +7 -0
  729. package/typification/rest/log/blogpost/add.d.ts +12 -0
  730. package/typification/rest/log/blogpost/essence.d.ts +51 -0
  731. package/typification/rest/log/blogpost/get.d.ts +71 -0
  732. package/typification/rest/log.d.ts +6 -0
  733. package/typification/rest/profile.d.ts +16 -0
  734. package/typification/rest/pull/application/config/get.d.ts +3 -0
  735. package/typification/rest/pull/channel/get.d.ts +13 -0
  736. package/typification/rest/pull/config/get.d.ts +70 -0
  737. package/typification/rest/pull.d.ts +3 -0
  738. package/typification/rest/settings.d.ts +6 -0
  739. package/typification/rest/socialnetwork/api/contentview/set.d.ts +10 -0
  740. package/typification/rest/socialnetwork/api/livefeed/blogpost/important/vote.d.ts +12 -0
  741. package/typification/rest/socialnetwork.d.ts +5 -0
  742. package/typification/rest/sonet_group/base.d.ts +8 -0
  743. package/typification/rest/sonet_group/get.d.ts +30 -0
  744. package/typification/rest/sonet_group.d.ts +5 -0
  745. package/typification/rest/support/param.d.ts +5 -0
  746. package/typification/rest/support.d.ts +4 -0
  747. package/typification/rest/task/access/getaccess.d.ts +40 -0
  748. package/typification/rest/task/commentitem/add.d.ts +18 -0
  749. package/typification/rest/task/commentitem/commentitem.d.ts +36 -0
  750. package/typification/rest/task/commentitem/delete.d.ts +4 -0
  751. package/typification/rest/task/commentitem/get.d.ts +4 -0
  752. package/typification/rest/task/commentitem/getlist.d.ts +20 -0
  753. package/typification/rest/task/commentitem/update.d.ts +4 -0
  754. package/typification/rest/task/elapseditem/add.d.ts +10 -0
  755. package/typification/rest/task/elapseditem/del.d.ts +4 -0
  756. package/typification/rest/task/elapseditem/get.d.ts +23 -0
  757. package/typification/rest/task/elapseditem/isActionAllowedParam.d.ts +5 -0
  758. package/typification/rest/task/elapseditem/item.d.ts +25 -0
  759. package/typification/rest/task/elapseditem/update.d.ts +10 -0
  760. package/typification/rest/task/item/userfield/getlist.d.ts +91 -0
  761. package/typification/rest/task/stages/add.d.ts +7 -0
  762. package/typification/rest/task/stages/canMoveTask.d.ts +4 -0
  763. package/typification/rest/task/stages/get.d.ts +4 -0
  764. package/typification/rest/task/stages/stage.d.ts +19 -0
  765. package/typification/rest/task/stages/update.d.ts +5 -0
  766. package/typification/rest/task.d.ts +22 -0
  767. package/typification/rest/tasks/base/fields-name.d.ts +19 -0
  768. package/typification/rest/tasks/base/filter-generator.d.ts +6 -0
  769. package/typification/rest/tasks/base/people.d.ts +12 -0
  770. package/typification/rest/tasks/result/list.d.ts +4 -0
  771. package/typification/rest/tasks/task/add.d.ts +254 -0
  772. package/typification/rest/tasks/task/approve.d.ts +144 -0
  773. package/typification/rest/tasks/task/base.d.ts +3 -0
  774. package/typification/rest/tasks/task/complete.d.ts +6 -0
  775. package/typification/rest/tasks/task/defer.d.ts +6 -0
  776. package/typification/rest/tasks/task/get.d.ts +52 -0
  777. package/typification/rest/tasks/task/getFields.d.ts +19 -0
  778. package/typification/rest/tasks/task/list.d.ts +119 -0
  779. package/typification/rest/tasks/task/result/result.d.ts +23 -0
  780. package/typification/rest/tasks/task/update.d.ts +47 -0
  781. package/typification/rest/tasks/task.d.ts +121 -0
  782. package/typification/rest/tasks.d.ts +18 -0
  783. package/typification/rest/timeman/status.d.ts +107 -0
  784. package/typification/rest/timeman.d.ts +1 -0
  785. package/typification/rest/user/get.d.ts +66 -0
  786. package/typification/rest/user/search.d.ts +66 -0
  787. package/typification/rest/user/user.d.ts +62 -0
  788. package/typification/rest/user/userFilter.d.ts +13 -0
  789. package/typification/rest/user/userfield/list.d.ts +56 -0
  790. package/typification/rest/user.d.ts +8 -0
  791. package/typification/settings.d.ts +11 -0
@@ -0,0 +1,145 @@
1
+ import { iBXRestYesNo } from '../../base/yes-no';
2
+ export interface iBXRestCalendarEventAddParam {
3
+ type:
4
+ /**
5
+ * календарь пользователя
6
+ */
7
+ 'user'
8
+ /**
9
+ * календарь группы
10
+ */
11
+ | 'group'
12
+ /**
13
+ * календарь компании
14
+ */
15
+ | 'company_calendar';
16
+ /**
17
+ * Для календаря компании параметр ownerId имеет пустое значение ""
18
+ */
19
+ ownerId: number;
20
+ /**
21
+ * Дата и время начала события.
22
+ *
23
+ * Можно указать дату без времени. Для этого передайте значение Y в параметре skip_time
24
+ */
25
+ from: Date;
26
+ /**
27
+ * Дата окончания события.
28
+ *
29
+ * Можно указать дату без времени. Для этого передайте значение Y в параметре skip_time
30
+ */
31
+ to: Date;
32
+ /**
33
+ * Дата и время в формате timestamp. Можно использовать вместо параметра from
34
+ */
35
+ from_ts?: number;
36
+ /**
37
+ * Дата и время в формате timestamp. Можно использовать вместо параметра to
38
+ */
39
+ to_ts?: number;
40
+ /**
41
+ * Идентификатор календаря
42
+ */
43
+ section: number;
44
+ /**
45
+ * Название события
46
+ */
47
+ name: string;
48
+ /**
49
+ * Передать значение даты без времени в параметрах from и to. Возможные значения:
50
+ *
51
+ * Y — использовать только дату
52
+ * N — использовать дату и время
53
+ * Формат даты по стандарту ISO-8601
54
+ */
55
+ skip_time?: iBXRestYesNo;
56
+ /**
57
+ * Часовой пояс даты и времени начала события. По умолчанию — таймзона текущего пользователя.
58
+ *
59
+ * Значение нужно передавать в виде строки, например, Europe/Riga
60
+ */
61
+ timezone_from?: string;
62
+ /**
63
+ * Часовой пояс даты и времени окончания события. Значение по умолчанию — таймзона текущего пользователя.
64
+ *
65
+ * Значение нужно передавать в виде строки, например, Europe/Riga
66
+ */
67
+ timezone_to?: string;
68
+ /**
69
+ * Описание события
70
+ */
71
+ description?: string;
72
+ /**
73
+ * Цвет фона события.
74
+ *
75
+ * Cимвол # в цвете необходимо передавать в формате unicode — %23
76
+ */
77
+ color?: string;
78
+ /**
79
+ * Цвет текста события.
80
+ *
81
+ * Cимвол # в цвете необходимо передавать в формате unicode — %23
82
+ */
83
+ text_color?: string;
84
+ /**
85
+ * Доступность на время события
86
+ */
87
+ accessibility?:
88
+ /**
89
+ * Занят
90
+ */
91
+ 'busy'
92
+ /**
93
+ * Отсутствую
94
+ */
95
+ | 'absent'
96
+ /**
97
+ * Под вопросом
98
+ */
99
+ | 'quest'
100
+ /**
101
+ * Свободен
102
+ */
103
+ | 'free';
104
+ /**
105
+ * Важность события
106
+ */
107
+ importance?: 'high' | 'normal' | 'low';
108
+ /**
109
+ * Отметка, что событие частное.
110
+ */
111
+ private_event?: iBXRestYesNo;
112
+ /**
113
+ * Повторяемость события в виде объекта в терминах стандарта iCalendar.
114
+ * Подробнее тут https://apidocs.bitrix24.ru/api-reference/calendar/calendar-event/calendar-event-add.html#rrule
115
+ */
116
+ rrule?: string;
117
+ is_meeting?: iBXRestYesNo;
118
+ location?: string;
119
+ /**
120
+ * Список идентификаторов участников события. Если is_meeting = Y
121
+ *
122
+ * Подробнее тут https://apidocs.bitrix24.ru/api-reference/calendar/calendar-event/calendar-event-add.html#remind
123
+ */
124
+ remind?: {
125
+ type: 'min' | 'hour' | 'day';
126
+ count: number;
127
+ }[];
128
+ /**
129
+ * Список идентификаторов участников события. Если is_meeting = Y
130
+ */
131
+ attendees?: number[];
132
+ /**
133
+ * Идентификатор организатора события. Если is_meeting = Y
134
+ */
135
+ host?: number;
136
+ /**
137
+ * Объект с параметрами встречи
138
+ */
139
+ meeting?: {
140
+ text?: string;
141
+ open?: boolean;
142
+ notify?: boolean;
143
+ reinvite?: boolean;
144
+ };
145
+ }
@@ -0,0 +1,3 @@
1
+ export interface iBXRestCalendarEventDeleteParam {
2
+ id: number;
3
+ }
@@ -0,0 +1,24 @@
1
+ export interface iBXRestCalendarEventGetNearestParam {
2
+ /**
3
+ * Тип календаря:
4
+ * - 'user' —
5
+ * - 'group' — групповой календарь
6
+ */
7
+ type?:
8
+ /** календарь пользователя */
9
+ 'user'
10
+ /** групповой календарь */
11
+ | 'group'
12
+ /** календарь компании */
13
+ | 'company_calendar';
14
+ /** Идентификатор владельца календаря */
15
+ ownerId?: string;
16
+ /** Количество дней для выборки (по умолчанию 60) */
17
+ days?: number;
18
+ /** Учитывать только события текущего пользователя (по умолчанию false) */
19
+ forCurrentUser?: boolean;
20
+ /** Максимальное количество возвращаемых событий */
21
+ maxEventsCount?: number;
22
+ /** URL для календаря */
23
+ detailUrl?: string;
24
+ }
@@ -0,0 +1,136 @@
1
+ import { CountryCode, TimezoneName } from 'countries-and-timezones';
2
+ import { iBXRestCalendarTypeEvent } from '../base/type';
3
+ import { iBXRestYesNo } from '../../base/yes-no';
4
+ export interface iBXRestCalendarEventGetAnswer extends iBXRestCalendarEventGetAnswerBase {
5
+ ATTENDEE_LIST: {
6
+ id: number;
7
+ entryId: number;
8
+ status: 'Y' | 'N' | 'H';
9
+ }[];
10
+ CREATED_BY: string;
11
+ DATE_CREATE: Date;
12
+ DATE_FROM: Date;
13
+ DATE_FROM_TS_UTC: number;
14
+ DATE_TO: Date;
15
+ DATE_TO_TS_UTC: number;
16
+ DELETED: boolean;
17
+ DT_LENGTH: number;
18
+ DT_SKIP_TIME: boolean;
19
+ MEETING_STATUS: boolean;
20
+ EXDATE: Date[];
21
+ ID: number;
22
+ MEETING_HOST: number;
23
+ ORIGINAL_DATE_FROM: Date | null;
24
+ OWNER_ID: number;
25
+ PARENT_ID: number;
26
+ RECURRENCE_ID: number;
27
+ SECTION_ID: number;
28
+ SECT_ID: number;
29
+ TIMESTAMP_X: Date;
30
+ TZ_OFFSET_FROM: number;
31
+ TZ_OFFSET_TO: number;
32
+ VERSION: number;
33
+ RRULE: null | iBXRestCalendarEventGetAnswerRule;
34
+ }
35
+ export interface iBXRestCalendarEventGetAnswerHttp extends iBXRestCalendarEventGetAnswerBase {
36
+ ATTENDEE_LIST?: {
37
+ id: number;
38
+ entryId: string;
39
+ status: 'Y' | 'N' | 'H';
40
+ }[];
41
+ CREATED_BY: string;
42
+ DATE_CREATE: string;
43
+ DATE_FROM: string;
44
+ DATE_FROM_TS_UTC: string;
45
+ DATE_TO: string;
46
+ DATE_TO_TS_UTC: string;
47
+ DELETED: iBXRestYesNo;
48
+ DT_LENGTH: string;
49
+ DT_SKIP_TIME: iBXRestYesNo;
50
+ MEETING_STATUS: iBXRestYesNo;
51
+ EXDATE: string;
52
+ ID: string;
53
+ MEETING_HOST: string;
54
+ ORIGINAL_DATE_FROM: string | null;
55
+ OWNER_ID: string;
56
+ PARENT_ID: string;
57
+ RECURRENCE_ID: string;
58
+ RRULE: string | iBXRestCalendarEventGetAnswerRuleHttp;
59
+ SECTION_ID: string;
60
+ SECT_ID: string;
61
+ TIMESTAMP_X: string;
62
+ TZ_OFFSET_FROM: string;
63
+ TZ_OFFSET_TO: string;
64
+ VERSION: string;
65
+ }
66
+ export interface iBXRestCalendarEventGetAnswerBase {
67
+ ACCESSIBILITY: 'busy';
68
+ ATTENDEES_CODES: string[];
69
+ CAL_DAV_LABEL: null;
70
+ CAL_TYPE: iBXRestCalendarTypeEvent;
71
+ COLOR: string;
72
+ DAV_EXCH_LABEL: null;
73
+ DAV_XML_ID: string;
74
+ EVENT_TYPE: null;
75
+ G_EVENT_ID: null;
76
+ IMPORTANCE: 'normal';
77
+ IS_MEETING: boolean;
78
+ LOCATION: string;
79
+ RINDEX?: number;
80
+ MEETING: {
81
+ ALLOW_INVITE: boolean;
82
+ HIDE_GUESTS: boolean;
83
+ HOST_NAME: string;
84
+ LANGUAGE_ID: Lowercase<CountryCode>;
85
+ MAIL_FROM: string;
86
+ MEETING_CREATOR: number;
87
+ NOTIFY: boolean;
88
+ REINVITE: boolean;
89
+ } | null;
90
+ NAME: string;
91
+ PRIVATE_EVENT: "";
92
+ RELATIONS: {
93
+ COMMENT_XML_ID: string;
94
+ };
95
+ REMIND: {
96
+ type: 'min';
97
+ count: number;
98
+ }[];
99
+ SYNC_STATUS: null;
100
+ TZ_FROM: TimezoneName;
101
+ TZ_TO: TimezoneName;
102
+ UF_CRM_CAL_EVENT: boolean;
103
+ UF_WEBDAV_CAL_EVENT: boolean;
104
+ attendeesEntityList?: {
105
+ entityId: iBXRestCalendarTypeEvent;
106
+ id: number;
107
+ }[] | null;
108
+ '~USER_OFFSET_FROM': number;
109
+ '~USER_OFFSET_TO': number;
110
+ }
111
+ interface iBXRestCalendarEventGetAnswerRuleHttp extends iBXRestCalendarEventGetAnswerRuleBase {
112
+ UNTIL: string;
113
+ '~UNTIL': string;
114
+ }
115
+ interface iBXRestCalendarEventGetAnswerRule extends iBXRestCalendarEventGetAnswerRuleBase {
116
+ UNTIL: Date;
117
+ '~UNTIL': Date;
118
+ }
119
+ interface iBXRestCalendarEventGetAnswerRuleBase {
120
+ FR?: 'FR';
121
+ MO?: 'MO';
122
+ WE?: 'WE';
123
+ FREQ: 'WEEKLY';
124
+ INTERVAL: number;
125
+ }
126
+ export interface iBXRestCalendarEventGetParam {
127
+ type: iBXRestCalendarTypeEvent;
128
+ ownerId?: number;
129
+ from?: Date;
130
+ to?: Date;
131
+ section?: any;
132
+ }
133
+ export interface iBXRestCalendarEventGetByIdParam {
134
+ id: number;
135
+ }
136
+ export {};
@@ -0,0 +1,6 @@
1
+ import { iBXRestCalendarEventAddParam } from './add';
2
+ type iBXRestCalendarEventAddP = Omit<iBXRestCalendarEventAddParam, 'from' | 'to' | 'section'> & Partial<Pick<iBXRestCalendarEventAddParam, 'from' | 'to' | 'section'>>;
3
+ export interface iBXRestCalendarEventUpdateParam extends iBXRestCalendarEventAddP {
4
+ id: number;
5
+ }
6
+ export {};
@@ -0,0 +1,10 @@
1
+ import { iBXRestCalendarType } from '../base/type';
2
+ export interface iBXRestCalendarSectionAddParam {
3
+ type: iBXRestCalendarType;
4
+ ownerId?: number;
5
+ name: string;
6
+ description: string;
7
+ color?: string;
8
+ text_color?: string;
9
+ access: string[];
10
+ }
@@ -0,0 +1,6 @@
1
+ import { iBXRestCalendarType } from '../base/type';
2
+ export interface iBXRestCalendarSectionDeleteParam {
3
+ type: iBXRestCalendarType;
4
+ ownerId: number;
5
+ id: number;
6
+ }
@@ -0,0 +1,50 @@
1
+ import { iBXRestCalendarType } from '../base/type';
2
+ export interface iBXRestCalendarSectionGetParam {
3
+ type: iBXRestCalendarType;
4
+ ownerId?: number;
5
+ }
6
+ interface CalendarExport {
7
+ ALLOW: boolean;
8
+ LINK: string;
9
+ }
10
+ type CalendarAccess = Record<string, number>;
11
+ interface CalendarPermissions {
12
+ view_time: boolean;
13
+ view_title: boolean;
14
+ view_full: boolean;
15
+ add: boolean;
16
+ edit: boolean;
17
+ edit_section: boolean;
18
+ access: boolean;
19
+ }
20
+ export interface iBXRestCalendarSectionGet extends iBXRestCalendarSectionGetBase {
21
+ ID: number;
22
+ OWNER_ID: number;
23
+ CREATED_BY: number;
24
+ DATE_CREATE: Date;
25
+ TIMESTAMP_X: Date;
26
+ }
27
+ export interface iBXRestCalendarSectionGetHttp extends iBXRestCalendarSectionGetBase {
28
+ ID: string;
29
+ OWNER_ID: string;
30
+ CREATED_BY: string;
31
+ DATE_CREATE: string;
32
+ TIMESTAMP_X: string;
33
+ }
34
+ interface iBXRestCalendarSectionGetBase {
35
+ NAME: string;
36
+ GAPI_CALENDAR_ID: string | null;
37
+ DESCRIPTION: string;
38
+ COLOR: string;
39
+ TEXT_COLOR: null;
40
+ EXPORT: CalendarExport;
41
+ CAL_TYPE: iBXRestCalendarType;
42
+ CAL_DAV_CON: null;
43
+ SYNC_TOKEN: null;
44
+ PAGE_TOKEN: null;
45
+ EXTERNAL_TYPE: string;
46
+ ACCESS: CalendarAccess;
47
+ IS_COLLAB: boolean;
48
+ PERM: CalendarPermissions;
49
+ }
50
+ export {};
@@ -0,0 +1,10 @@
1
+ import { iBXRestCalendarType } from '../base/type';
2
+ export interface iBXRestCalendarSectionUpdateParam {
3
+ type: iBXRestCalendarType;
4
+ ownerId?: number;
5
+ name: string;
6
+ description: string;
7
+ color?: string;
8
+ text_color?: string;
9
+ access: string[];
10
+ }
@@ -0,0 +1,102 @@
1
+ import { iBXRestYesNo } from '../../../base/yes-no';
2
+ export interface iBXRestCalendarUserSettingsGet {
3
+ /** Календарь для приглашений */
4
+ meetSection: number;
5
+ /** Календарь для CRM */
6
+ crmSection: number;
7
+ /** Скрывать нерабочее время в календаре в недельном и дневном представлении */
8
+ collapseOffHours: boolean;
9
+ /** Показывать номер недель */
10
+ showWeekNumbers: boolean;
11
+ /** Отображать задачи в календаре */
12
+ showTasks: boolean;
13
+ /** Синхронизировать календарь задач */
14
+ syncTasks: boolean;
15
+ /** Отображать завершенные задач */
16
+ showCompletedTasks: boolean;
17
+ /**
18
+ * Идентификатор календаря, который используется при создании событий, если в параметрах не передан идентификатор календаря.
19
+ *
20
+ * Значение по умолчанию — false
21
+ */
22
+ lastUsedSection: number | false;
23
+ /**
24
+ * Настройки предустановленных календарей.
25
+ *
26
+ * Ключем объекта настроек может быть:
27
+ *
28
+ * user[id] — тип Календарь пользователя c идентификатором пользователя. Например, user12 соответствует календарю пользователя с идентификатором 12
29
+ * group[id] — тип Календарь группы с идентификатором группы. Например, group36 соответствует календарю группы с идентификатором 36
30
+ * Значением объекта является идентификатор календаря
31
+ */
32
+ defaultSections: Record<string, number>[];
33
+ /** Количество месяцев для синхронизации в прошлом периоде */
34
+ syncPeriodPast: number;
35
+ /** Количество месяцев для синхронизации в будущем периоде */
36
+ syncPeriodFuture: number;
37
+ }
38
+ export interface iBXRestCalendarUserSettingsGetHttp extends iBXRestCalendarUserSettingsGetBase {
39
+ /** Календарь для приглашений */
40
+ meetSection: string;
41
+ /** Календарь для CRM */
42
+ crmSection: string;
43
+ /** Скрывать нерабочее время в календаре в недельном и дневном представлении */
44
+ collapseOffHours: iBXRestYesNo;
45
+ /** Показывать номер недель */
46
+ showWeekNumbers: iBXRestYesNo;
47
+ /** Отображать задачи в календаре */
48
+ showTasks: iBXRestYesNo;
49
+ /** Синхронизировать календарь задач */
50
+ syncTasks: iBXRestYesNo;
51
+ /** Отображать завершенные задач */
52
+ showCompletedTasks: iBXRestYesNo;
53
+ /**
54
+ * Идентификатор календаря, который используется при создании событий, если в параметрах не передан идентификатор календаря.
55
+ *
56
+ * Значение по умолчанию — false
57
+ */
58
+ lastUsedSection: string;
59
+ /** E-mail для отправки почтовых приглашений */
60
+ sendFromEmail: string;
61
+ /**
62
+ * Настройки предустановленных календарей.
63
+ *
64
+ * Ключем объекта настроек может быть:
65
+ *
66
+ * user[id] — тип Календарь пользователя c идентификатором пользователя. Например, user12 соответствует календарю пользователя с идентификатором 12
67
+ * group[id] — тип Календарь группы с идентификатором группы. Например, group36 соответствует календарю группы с идентификатором 36
68
+ * Значением объекта является идентификатор календаря
69
+ */
70
+ defaultSections: Record<string, string>[];
71
+ /** Количество месяцев для синхронизации в прошлом периоде */
72
+ syncPeriodPast: string;
73
+ /** Количество месяцев для синхронизации в будущем периоде */
74
+ syncPeriodFuture: string;
75
+ }
76
+ export interface iBXRestCalendarUserSettingsGetBase {
77
+ /** Стандартное представление для календаря */
78
+ view: 'day' | 'week' | 'list';
79
+ /** Показывать события, в которых пользователь отказался принять участие */
80
+ showDeclined: boolean;
81
+ /** Запрещать приглашать в событие, если время занято */
82
+ denyBusyInvitation: boolean;
83
+ /** Объект со стандартными настройками напоминаний о событии */
84
+ defaultReminders: {
85
+ fullDay: iBXRestCalendarUserSettingsGetDefaultReminders[];
86
+ withTime: iBXRestCalendarUserSettingsGetDefaultReminders[];
87
+ };
88
+ /** Таймзона календаря */
89
+ timezoneName: string;
90
+ /** Смешение таймзоны относительно UTC в секундах */
91
+ timezoneOffsetUTC: number;
92
+ /** Если параметр timezoneName не установлен, здесь будет указан часовой пояс из параметра timezoneOffsetUTC */
93
+ timezoneDefaultName: string;
94
+ /** Время начала рабочего дня */
95
+ work_time_start: string;
96
+ /** Время окончания рабочего дня */
97
+ work_time_end: string;
98
+ }
99
+ export interface iBXRestCalendarUserSettingsGetDefaultReminders {
100
+ type: 'min' | 'day' | 'hour';
101
+ count: number;
102
+ }
@@ -0,0 +1,58 @@
1
+ import { iBXRestYesNo } from '../../../base/yes-no';
2
+ import { iBXRestCalendarUserSettingsGetDefaultReminders } from './get';
3
+ export interface iBXRestCalendarUserSettingsSetParam {
4
+ settings: {
5
+ /**
6
+ * Вид календаря. Возможные значения:
7
+ * - 'month' — месяц
8
+ * - 'week' — неделя
9
+ * - 'day' — день
10
+ */
11
+ view?: 'month' | 'week' | 'day';
12
+ /** Раздел встреч. Идентификатор раздела */
13
+ meetSection?: number;
14
+ /** Раздел CRM. Идентификатор раздела */
15
+ crmSection?: number;
16
+ /** Показывать отклоненные события */
17
+ showDeclined?: boolean;
18
+ /** Отклонять приглашения на занятые время */
19
+ denyBusyInvitation?: boolean;
20
+ /** Свернуть внерабочие часы. Возможные значения */
21
+ collapseOffHours?: iBXRestYesNo;
22
+ /** Показывать номера недель */
23
+ showWeekNumbers?: iBXRestYesNo;
24
+ /** Показывать задачи */
25
+ showTasks?: iBXRestYesNo;
26
+ /** Синхронизировать задачи */
27
+ syncTasks?: iBXRestYesNo;
28
+ /** Показывать завершенные задачи */
29
+ showCompletedTasks?: iBXRestYesNo;
30
+ /** Последний использованный раздел */
31
+ lastUsedSection?: 'true' | 'false';
32
+ /** Электронная почта для отправки. Адрес электронной почты */
33
+ sendFromEmail?: string;
34
+ /** Стандартные разделы. Объект, где ключ — идентификатор раздела, значение — его название */
35
+ defaultSections?: Record<string, string | number>;
36
+ /** Период синхронизации в прошлом. Число дней */
37
+ syncPeriodPast?: number;
38
+ /** Период синхронизации в будущем. Число дней */
39
+ syncPeriodFuture?: number;
40
+ /**
41
+ * Стандартные напоминания. Объект с массивами напоминаний для целого дня и с временем.
42
+ */
43
+ defaultReminders?: {
44
+ fullDay?: iBXRestCalendarUserSettingsGetDefaultReminders[];
45
+ withTime?: iBXRestCalendarUserSettingsGetDefaultReminders[];
46
+ };
47
+ /** Название часового пояса. Например, 'Europe/Riga' */
48
+ timezoneName?: string;
49
+ /** Смещение часового пояса от UTC в секундах */
50
+ timezoneOffsetUTC?: number;
51
+ /** Название стандартного часового пояса. Например, 'Europe/Riga' */
52
+ timezoneDefaultName?: string;
53
+ /** Время начала рабочего дня. В формате 'HH:mm' */
54
+ work_time_start?: string;
55
+ /** Время окончания рабочего дня. В формате 'HH:mm' */
56
+ work_time_end?: string;
57
+ };
58
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Файл для возможности импорта интерфейсов календаря в локальные проекты
3
+ */
4
+ export * from './calendar/base/type';
5
+ export * from './calendar/event/add';
6
+ export * from './calendar/event/delete';
7
+ export * from './calendar/event/get';
8
+ export * from './calendar/event/get/nearest';
9
+ export * from './calendar/event/update';
10
+ export * from './calendar/section/add';
11
+ export * from './calendar/section/delete';
12
+ export * from './calendar/section/get';
13
+ export * from './calendar/section/update';
14
+ export * from './calendar/user/settings/get';
15
+ export * from './calendar/user/settings/set';
@@ -0,0 +1,8 @@
1
+ export interface iBXRestParamCrmAutomatedSolutionAdd {
2
+ fields: {
3
+ /** Название цифрового рабочего места. */
4
+ title: string;
5
+ /** Идентификаторы смарт-процессов, которые нужно привязать к рабочему месту. */
6
+ typeIds?: number[];
7
+ };
8
+ }
@@ -0,0 +1,23 @@
1
+ import { iBXRestCrmFieldDescription } from '../enum';
2
+ /** Цифровое рабочее место CRM. */
3
+ export interface iBXRestCrmAutomatedSolution {
4
+ /** Уникальный идентификатор цифрового рабочего места. */
5
+ id: number;
6
+ /** Название цифрового рабочего места. */
7
+ title: string;
8
+ /** Идентификаторы смарт-процессов, привязанных к рабочему месту. */
9
+ typeIds: number[];
10
+ }
11
+ /** Контейнер ответа методов `crm.automatedsolution.add`, `get` и `update`. */
12
+ export interface iBXRestCrmAutomatedSolutionResult {
13
+ automatedSolution: iBXRestCrmAutomatedSolution;
14
+ }
15
+ /** Контейнер ответа метода `crm.automatedsolution.list`. */
16
+ export interface iBXRestCrmAutomatedSolutionListResult {
17
+ automatedSolutions?: iBXRestCrmAutomatedSolution[];
18
+ }
19
+ /** Описание полей цифрового рабочего места. */
20
+ export type iBXRestCrmAutomatedSolutionFields = Record<string, iBXRestCrmFieldDescription & {
21
+ /** Верхний регистр имени поля в REST API. */
22
+ upperName: string;
23
+ }>;
@@ -0,0 +1,4 @@
1
+ export interface iBXRestParamCrmAutomatedSolutionDelete {
2
+ /** Идентификатор цифрового рабочего места. */
3
+ id: number | string;
4
+ }
@@ -0,0 +1,4 @@
1
+ export interface iBXRestParamCrmAutomatedSolutionGet {
2
+ /** Идентификатор цифрового рабочего места. */
3
+ id: number | string;
4
+ }
@@ -0,0 +1,6 @@
1
+ export * from './add';
2
+ export * from './update';
3
+ export * from './get';
4
+ export * from './list';
5
+ export * from './delete';
6
+ export * from './automatedsolution';
@@ -0,0 +1,7 @@
1
+ import { iBXRestPagination } from '../../base/api-pagination-bx';
2
+ export interface iBXRestParamCrmAutomatedSolutionList extends iBXRestPagination {
3
+ /** Сортировка по полям `id` и `title`. */
4
+ order?: Record<string, 'ASC' | 'DESC' | 'asc' | 'desc'>;
5
+ /** Фильтр по полям `id` и `title`, включая REST-префиксы операторов. */
6
+ filter?: Record<string, any>;
7
+ }
@@ -0,0 +1,10 @@
1
+ export interface iBXRestParamCrmAutomatedSolutionUpdate {
2
+ /** Идентификатор цифрового рабочего места. */
3
+ id: number | string;
4
+ fields: {
5
+ /** Название цифрового рабочего места. */
6
+ title?: string;
7
+ /** Полный список идентификаторов смарт-процессов, которые должны быть привязаны к рабочему месту. */
8
+ typeIds?: number[];
9
+ };
10
+ }