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.
- package/consts/part-name-methods.d.ts +129 -0
- package/esm2022/bx-rest.mjs +5 -0
- package/esm2022/consts/part-name-methods.mjs +130 -0
- package/esm2022/functions/errorHandler.mjs +34 -0
- package/esm2022/functions/mapResult.mjs +10 -0
- package/esm2022/functions/serializeBitrixParams.mjs +25 -0
- package/esm2022/functions/toLocalAtom.mjs +11 -0
- package/esm2022/map/app.mjs +9 -0
- package/esm2022/map/calendar/event.mjs +47 -0
- package/esm2022/map/calendar/section.mjs +17 -0
- package/esm2022/map/calendar/user/settings.mjs +22 -0
- package/esm2022/map/calendar/user.mjs +7 -0
- package/esm2022/map/calendar.mjs +11 -0
- package/esm2022/map/channel/public.mjs +12 -0
- package/esm2022/map/crm/automatedsolution.mjs +11 -0
- package/esm2022/map/crm/company.mjs +53 -0
- package/esm2022/map/crm/contact.mjs +51 -0
- package/esm2022/map/crm/deal.mjs +63 -0
- package/esm2022/map/crm/index.mjs +7 -0
- package/esm2022/map/crm/lead.mjs +61 -0
- package/esm2022/map/crm/quote.mjs +72 -0
- package/esm2022/map/department.mjs +24 -0
- package/esm2022/map/disk/attachedObject.mjs +18 -0
- package/esm2022/map/disk/base.mjs +67 -0
- package/esm2022/map/disk/file.mjs +23 -0
- package/esm2022/map/disk/folder.mjs +7 -0
- package/esm2022/map/disk/storage.mjs +10 -0
- package/esm2022/map/im/dialog.mjs +16 -0
- package/esm2022/map/im/gialog/messages.mjs +29 -0
- package/esm2022/map/im/gialog/users.mjs +15 -0
- package/esm2022/map/im/recent.mjs +80 -0
- package/esm2022/map/im/user/list.mjs +10 -0
- package/esm2022/map/im/user.mjs +16 -0
- package/esm2022/map/lists/element.mjs +14 -0
- package/esm2022/map/lists/field.mjs +6 -0
- package/esm2022/map/lists.mjs +63 -0
- package/esm2022/map/log/blogpost.mjs +72 -0
- package/esm2022/map/log.mjs +7 -0
- package/esm2022/map/pull/application/config.mjs +34 -0
- package/esm2022/map/pull.mjs +19 -0
- package/esm2022/map/rest.mjs +7 -0
- package/esm2022/map/server.mjs +7 -0
- package/esm2022/map/socialnetwork/api/livefeed/blogpost/important.mjs +9 -0
- package/esm2022/map/sonet_group.mjs +24 -0
- package/esm2022/map/task/commentitem.mjs +44 -0
- package/esm2022/map/task/elapseditem.mjs +23 -0
- package/esm2022/map/task/item/userfield.mjs +27 -0
- package/esm2022/map/task/planner.mjs +7 -0
- package/esm2022/map/task/stages.mjs +11 -0
- package/esm2022/map/task.mjs +11 -0
- package/esm2022/map/tasks/task/result.mjs +16 -0
- package/esm2022/map/tasks/task.mjs +134 -0
- package/esm2022/map/tasks.mjs +7 -0
- package/esm2022/map/timeman.mjs +31 -0
- package/esm2022/map/user.mjs +85 -0
- package/esm2022/public-api.mjs +15 -0
- package/esm2022/request/app.mjs +13 -0
- package/esm2022/request/bizproc/activity.mjs +3 -0
- package/esm2022/request/bizproc/event.mjs +3 -0
- package/esm2022/request/bizproc/robot.mjs +3 -0
- package/esm2022/request/bizproc/task.mjs +3 -0
- package/esm2022/request/bizproc/workflow/instance.mjs +3 -0
- package/esm2022/request/bizproc/workflow/template.mjs +3 -0
- package/esm2022/request/bizproc/workflow.mjs +18 -0
- package/esm2022/request/bizproc.mjs +15 -0
- package/esm2022/request/department.mjs +26 -0
- package/esm2022/request/disk/attachedObject.mjs +14 -0
- package/esm2022/request/disk/file.mjs +18 -0
- package/esm2022/request/disk/folder.mjs +117 -0
- package/esm2022/request/disk/storage.mjs +35 -0
- package/esm2022/request/disk.mjs +11 -0
- package/esm2022/request/lists/element.mjs +18 -0
- package/esm2022/request/lists/field.mjs +35 -0
- package/esm2022/request/lists.mjs +86 -0
- package/esm2022/request/log/blogcomment.mjs +3 -0
- package/esm2022/request/log/blogpost.mjs +18 -0
- package/esm2022/request/log.mjs +9 -0
- package/esm2022/request/pull/application/config.mjs +11 -0
- package/esm2022/request/pull/channel/public.mjs +18 -0
- package/esm2022/request/pull/config.mjs +13 -0
- package/esm2022/request/pull.mjs +11 -0
- package/esm2022/request/server.mjs +14 -0
- package/esm2022/request/socialnetwork/api/contentview.mjs +14 -0
- package/esm2022/request/socialnetwork/api/livefeed/blogpost/important.mjs +14 -0
- package/esm2022/request/socialnetwork/api/livefeed/blogpost.mjs +7 -0
- package/esm2022/request/socialnetwork/api/livefeed.mjs +7 -0
- package/esm2022/request/socialnetwork/api.mjs +9 -0
- package/esm2022/request/socialnetwork.mjs +8 -0
- package/esm2022/request/sonet_group.mjs +24 -0
- package/esm2022/request/task/commentitem.mjs +32 -0
- package/esm2022/request/task/elapseditem.mjs +40 -0
- package/esm2022/request/task/item/userfield.mjs +14 -0
- package/esm2022/request/task/item.mjs +7 -0
- package/esm2022/request/task/planner.mjs +11 -0
- package/esm2022/request/task.mjs +13 -0
- package/esm2022/request/tasks/task/result.mjs +22 -0
- package/esm2022/request/tasks/task.mjs +110 -0
- package/esm2022/request/tasks.mjs +7 -0
- package/esm2022/request/user/userfield.mjs +14 -0
- package/esm2022/request/user.mjs +40 -0
- package/esm2022/request-navvy/app.mjs +14 -0
- package/esm2022/request-navvy/bizproc/task.mjs +26 -0
- package/esm2022/request-navvy/bizproc/workflow.mjs +32 -0
- package/esm2022/request-navvy/bizproc.mjs +60 -0
- package/esm2022/request-navvy/calendar/event.mjs +54 -0
- package/esm2022/request-navvy/calendar/section.mjs +35 -0
- package/esm2022/request-navvy/calendar/user/settings.mjs +27 -0
- package/esm2022/request-navvy/calendar/user.mjs +7 -0
- package/esm2022/request-navvy/calendar.mjs +36 -0
- package/esm2022/request-navvy/crm/automatedsolution.mjs +73 -0
- package/esm2022/request-navvy/crm/automation/index.mjs +62 -0
- package/esm2022/request-navvy/crm/company.mjs +76 -0
- package/esm2022/request-navvy/crm/contact.mjs +76 -0
- package/esm2022/request-navvy/crm/deal.mjs +76 -0
- package/esm2022/request-navvy/crm/enum/index.mjs +115 -0
- package/esm2022/request-navvy/crm/enum/settings.mjs +21 -0
- package/esm2022/request-navvy/crm/lead.mjs +76 -0
- package/esm2022/request-navvy/crm/multifield.mjs +21 -0
- package/esm2022/request-navvy/crm/quote/index.mjs +80 -0
- package/esm2022/request-navvy/crm/quote/productrows.mjs +33 -0
- package/esm2022/request-navvy/crm/quote/userfield.mjs +60 -0
- package/esm2022/request-navvy/crm.mjs +28 -0
- package/esm2022/request-navvy/department.mjs +28 -0
- package/esm2022/request-navvy/disk/attachedObject.mjs +12 -0
- package/esm2022/request-navvy/disk/file.mjs +65 -0
- package/esm2022/request-navvy/disk/folder.mjs +118 -0
- package/esm2022/request-navvy/disk/operation/storage.mjs +55 -0
- package/esm2022/request-navvy/disk/operation.mjs +74 -0
- package/esm2022/request-navvy/disk/storage.mjs +56 -0
- package/esm2022/request-navvy/disk.mjs +13 -0
- package/esm2022/request-navvy/im/chat/user.mjs +25 -0
- package/esm2022/request-navvy/im/chat.mjs +84 -0
- package/esm2022/request-navvy/im/counters.mjs +11 -0
- package/esm2022/request-navvy/im/dialog/messages.mjs +12 -0
- package/esm2022/request-navvy/im/dialog/read.mjs +19 -0
- package/esm2022/request-navvy/im/dialog/users.mjs +12 -0
- package/esm2022/request-navvy/im/dialog.mjs +39 -0
- package/esm2022/request-navvy/im/recent.mjs +46 -0
- package/esm2022/request-navvy/im/user/list.mjs +13 -0
- package/esm2022/request-navvy/im/user/status/idle.mjs +14 -0
- package/esm2022/request-navvy/im/user/status.mjs +22 -0
- package/esm2022/request-navvy/im/user.mjs +21 -0
- package/esm2022/request-navvy/im.mjs +15 -0
- package/esm2022/request-navvy/lists/element.mjs +37 -0
- package/esm2022/request-navvy/lists/field.mjs +36 -0
- package/esm2022/request-navvy/lists.mjs +93 -0
- package/esm2022/request-navvy/log/blogcomment.mjs +9 -0
- package/esm2022/request-navvy/log/blogpost.mjs +40 -0
- package/esm2022/request-navvy/log.mjs +9 -0
- package/esm2022/request-navvy/pull/application/config.mjs +12 -0
- package/esm2022/request-navvy/pull/channel/public.mjs +15 -0
- package/esm2022/request-navvy/pull/config.mjs +24 -0
- package/esm2022/request-navvy/pull.mjs +15 -0
- package/esm2022/request-navvy/server.mjs +15 -0
- package/esm2022/request-navvy/socialnetwork/api/contentview.mjs +11 -0
- package/esm2022/request-navvy/socialnetwork/api/livefeed/blogpost/important.mjs +15 -0
- package/esm2022/request-navvy/socialnetwork/api/livefeed/blogpost.mjs +7 -0
- package/esm2022/request-navvy/socialnetwork/api/livefeed.mjs +11 -0
- package/esm2022/request-navvy/socialnetwork/api.mjs +9 -0
- package/esm2022/request-navvy/socialnetwork.mjs +7 -0
- package/esm2022/request-navvy/sonet_group.mjs +50 -0
- package/esm2022/request-navvy/task/commentitem.mjs +47 -0
- package/esm2022/request-navvy/task/delegate/elapseditem.mjs +25 -0
- package/esm2022/request-navvy/task/elapseditem.mjs +69 -0
- package/esm2022/request-navvy/task/item/userfield.mjs +42 -0
- package/esm2022/request-navvy/task/item.mjs +7 -0
- package/esm2022/request-navvy/task/operation/elapseditem.mjs +324 -0
- package/esm2022/request-navvy/task/planner.mjs +15 -0
- package/esm2022/request-navvy/task.mjs +13 -0
- package/esm2022/request-navvy/tasks/task/result.mjs +32 -0
- package/esm2022/request-navvy/tasks/task.mjs +231 -0
- package/esm2022/request-navvy/tasks.mjs +7 -0
- package/esm2022/request-navvy/timeman.mjs +53 -0
- package/esm2022/request-navvy/user/userfield.mjs +35 -0
- package/esm2022/request-navvy/user.mjs +155 -0
- package/esm2022/rest/base.mjs +39 -0
- package/esm2022/rest/map.mjs +39 -0
- package/esm2022/rest/navvy.mjs +58 -0
- package/esm2022/services/base.mjs +205 -0
- package/esm2022/services/http/HttpBX.mjs +142 -0
- package/esm2022/services/http/HttpData.mjs +77 -0
- package/esm2022/services/http/base/base.mjs +4 -0
- package/esm2022/services/http/http.mjs +76 -0
- package/esm2022/services/http/httpNavvy.mjs +14 -0
- package/esm2022/services/http/sessionKey.mjs +220 -0
- package/esm2022/services/navvy/extends/navvy-pag-base.mjs +40 -0
- package/esm2022/services/navvy/navvy-alternative-pagination-navigation.mjs +84 -0
- package/esm2022/services/navvy/navvy-pag-nav-result-key.mjs +77 -0
- package/esm2022/services/navvy/navvy-pag-nav-tasks.mjs +78 -0
- package/esm2022/services/navvy/navvy-pag-nav-with-useless-key.mjs +81 -0
- package/esm2022/services/navvy/navvy-pag.mjs +70 -0
- package/esm2022/services/navvy/navvy-simple.mjs +4 -0
- package/esm2022/services/navvy/navvy-support.mjs +15 -0
- package/esm2022/services/navvy.mjs +61 -0
- package/esm2022/services/vanilla/localStorage.mjs +25 -0
- package/esm2022/services/vanilla/sessionStorage.mjs +13 -0
- package/esm2022/services/vanilla//321/201ookies.mjs +33 -0
- package/esm2022/settings.mjs +28 -0
- package/esm2022/typification/auth/save.mjs +2 -0
- package/esm2022/typification/base/all-key-free.mjs +2 -0
- package/esm2022/typification/base/answers.mjs +438 -0
- package/esm2022/typification/base/modyfy.mjs +2 -0
- package/esm2022/typification/base/params.mjs +525 -0
- package/esm2022/typification/base/upper-case-keys.mjs +2 -0
- package/esm2022/typification/base/workpiece/methods-list.mjs +2 -0
- package/esm2022/typification/base/workpiece/methods.mjs +2 -0
- package/esm2022/typification/rest/app/info.mjs +2 -0
- package/esm2022/typification/rest/app.mjs +5 -0
- package/esm2022/typification/rest/base/answer.mjs +2 -0
- package/esm2022/typification/rest/base/api-pagination-bx.mjs +2 -0
- package/esm2022/typification/rest/base/field-bx-type.mjs +2 -0
- package/esm2022/typification/rest/base/filter-generator.mjs +2 -0
- package/esm2022/typification/rest/base/order-options.mjs +2 -0
- package/esm2022/typification/rest/base/sort.mjs +2 -0
- package/esm2022/typification/rest/base/yes-no.mjs +2 -0
- package/esm2022/typification/rest/base.mjs +11 -0
- package/esm2022/typification/rest/batch/batchRequestParam.mjs +2 -0
- package/esm2022/typification/rest/batch.mjs +2 -0
- package/esm2022/typification/rest/bizproc/base/filedEnum.mjs +2 -0
- package/esm2022/typification/rest/bizproc/task/complete.mjs +2 -0
- package/esm2022/typification/rest/bizproc/task/delegate.mjs +2 -0
- package/esm2022/typification/rest/bizproc/task/list.mjs +2 -0
- package/esm2022/typification/rest/bizproc/workflow/instances.mjs +2 -0
- package/esm2022/typification/rest/bizproc/workflow/kill.mjs +2 -0
- package/esm2022/typification/rest/bizproc/workflow/start.mjs +2 -0
- package/esm2022/typification/rest/bizproc/workflow/template/list.mjs +2 -0
- package/esm2022/typification/rest/bizproc/workflow/terminate.mjs +2 -0
- package/esm2022/typification/rest/bizproc.mjs +13 -0
- package/esm2022/typification/rest/calendar/base/type.mjs +2 -0
- package/esm2022/typification/rest/calendar/event/add.mjs +2 -0
- package/esm2022/typification/rest/calendar/event/delete.mjs +2 -0
- package/esm2022/typification/rest/calendar/event/get/nearest.mjs +2 -0
- package/esm2022/typification/rest/calendar/event/get.mjs +2 -0
- package/esm2022/typification/rest/calendar/event/update.mjs +2 -0
- package/esm2022/typification/rest/calendar/section/add.mjs +2 -0
- package/esm2022/typification/rest/calendar/section/delete.mjs +2 -0
- package/esm2022/typification/rest/calendar/section/get.mjs +2 -0
- package/esm2022/typification/rest/calendar/section/update.mjs +2 -0
- package/esm2022/typification/rest/calendar/user/settings/get.mjs +2 -0
- package/esm2022/typification/rest/calendar/user/settings/set.mjs +2 -0
- package/esm2022/typification/rest/calendar.mjs +16 -0
- package/esm2022/typification/rest/crm/automatedsolution/add.mjs +2 -0
- package/esm2022/typification/rest/crm/automatedsolution/automatedsolution.mjs +2 -0
- package/esm2022/typification/rest/crm/automatedsolution/delete.mjs +2 -0
- package/esm2022/typification/rest/crm/automatedsolution/get.mjs +2 -0
- package/esm2022/typification/rest/crm/automatedsolution/index.mjs +7 -0
- package/esm2022/typification/rest/crm/automatedsolution/list.mjs +2 -0
- package/esm2022/typification/rest/crm/automatedsolution/update.mjs +2 -0
- package/esm2022/typification/rest/crm/automation.mjs +2 -0
- package/esm2022/typification/rest/crm/company/add.mjs +2 -0
- package/esm2022/typification/rest/crm/company/company.mjs +2 -0
- package/esm2022/typification/rest/crm/company/delete.mjs +2 -0
- package/esm2022/typification/rest/crm/company/get.mjs +2 -0
- package/esm2022/typification/rest/crm/company/index.mjs +7 -0
- package/esm2022/typification/rest/crm/company/list.mjs +2 -0
- package/esm2022/typification/rest/crm/company/update.mjs +2 -0
- package/esm2022/typification/rest/crm/contact/add.mjs +2 -0
- package/esm2022/typification/rest/crm/contact/contact.mjs +2 -0
- package/esm2022/typification/rest/crm/contact/delete.mjs +2 -0
- package/esm2022/typification/rest/crm/contact/get.mjs +2 -0
- package/esm2022/typification/rest/crm/contact/index.mjs +7 -0
- package/esm2022/typification/rest/crm/contact/list.mjs +2 -0
- package/esm2022/typification/rest/crm/contact/update.mjs +2 -0
- package/esm2022/typification/rest/crm/deal/add.mjs +2 -0
- package/esm2022/typification/rest/crm/deal/deal.mjs +2 -0
- package/esm2022/typification/rest/crm/deal/delete.mjs +2 -0
- package/esm2022/typification/rest/crm/deal/get.mjs +2 -0
- package/esm2022/typification/rest/crm/deal/index.mjs +7 -0
- package/esm2022/typification/rest/crm/deal/list.mjs +2 -0
- package/esm2022/typification/rest/crm/deal/update.mjs +2 -0
- package/esm2022/typification/rest/crm/enum.mjs +2 -0
- package/esm2022/typification/rest/crm/index.mjs +10 -0
- package/esm2022/typification/rest/crm/lead/add.mjs +2 -0
- package/esm2022/typification/rest/crm/lead/delete.mjs +2 -0
- package/esm2022/typification/rest/crm/lead/get.mjs +2 -0
- package/esm2022/typification/rest/crm/lead/index.mjs +7 -0
- package/esm2022/typification/rest/crm/lead/lead.mjs +2 -0
- package/esm2022/typification/rest/crm/lead/list.mjs +2 -0
- package/esm2022/typification/rest/crm/lead/update.mjs +2 -0
- package/esm2022/typification/rest/crm/multifield.mjs +2 -0
- package/esm2022/typification/rest/crm/quote/index.mjs +2 -0
- package/esm2022/typification/rest/department/add.mjs +2 -0
- package/esm2022/typification/rest/department/del.mjs +2 -0
- package/esm2022/typification/rest/department/department.mjs +2 -0
- package/esm2022/typification/rest/department/get.mjs +2 -0
- package/esm2022/typification/rest/department/update.mjs +2 -0
- package/esm2022/typification/rest/department.mjs +9 -0
- package/esm2022/typification/rest/disk/AttachedObject.mjs +2 -0
- package/esm2022/typification/rest/disk/file.mjs +2 -0
- package/esm2022/typification/rest/disk/folder/addSubFolder.mjs +2 -0
- package/esm2022/typification/rest/disk/folder/copyTo.mjs +2 -0
- package/esm2022/typification/rest/disk/folder/getFields.mjs +2 -0
- package/esm2022/typification/rest/disk/folder/moveTo.mjs +2 -0
- package/esm2022/typification/rest/disk/folder/rename.mjs +2 -0
- package/esm2022/typification/rest/disk/folder/uploadFile.mjs +2 -0
- package/esm2022/typification/rest/disk/folder.mjs +2 -0
- package/esm2022/typification/rest/disk/map.mjs +2 -0
- package/esm2022/typification/rest/disk/storage/getchildren.mjs +2 -0
- package/esm2022/typification/rest/disk/storage/uploadfile.mjs +2 -0
- package/esm2022/typification/rest/disk.mjs +16 -0
- package/esm2022/typification/rest/im/chat/add.mjs +2 -0
- package/esm2022/typification/rest/im/chat/get.mjs +2 -0
- package/esm2022/typification/rest/im/chat/leave.mjs +2 -0
- package/esm2022/typification/rest/im/chat/mute.mjs +2 -0
- package/esm2022/typification/rest/im/chat/setOwner.mjs +2 -0
- package/esm2022/typification/rest/im/chat/updateAvatar.mjs +2 -0
- package/esm2022/typification/rest/im/chat/updateColor.mjs +2 -0
- package/esm2022/typification/rest/im/chat/updateTitle.mjs +2 -0
- package/esm2022/typification/rest/im/chat/user/add.mjs +2 -0
- package/esm2022/typification/rest/im/chat/user/delete.mjs +2 -0
- package/esm2022/typification/rest/im/chat/user/list.mjs +2 -0
- package/esm2022/typification/rest/im/counters/get.mjs +2 -0
- package/esm2022/typification/rest/im/dialog/get.mjs +2 -0
- package/esm2022/typification/rest/im/dialog/messages/get.mjs +2 -0
- package/esm2022/typification/rest/im/dialog/read.mjs +2 -0
- package/esm2022/typification/rest/im/dialog/recent/get.mjs +2 -0
- package/esm2022/typification/rest/im/dialog/recent/list.mjs +2 -0
- package/esm2022/typification/rest/im/dialog/recent/unread.mjs +2 -0
- package/esm2022/typification/rest/im/dialog/unread.mjs +2 -0
- package/esm2022/typification/rest/im/dialog/user/get.mjs +2 -0
- package/esm2022/typification/rest/im/dialog/writing.mjs +2 -0
- package/esm2022/typification/rest/im/user/get.mjs +2 -0
- package/esm2022/typification/rest/im/user/list/get.mjs +2 -0
- package/esm2022/typification/rest/im/user/status/get.mjs +2 -0
- package/esm2022/typification/rest/im/user/status/idle.mjs +2 -0
- package/esm2022/typification/rest/im/user/status/set.mjs +2 -0
- package/esm2022/typification/rest/im.mjs +34 -0
- package/esm2022/typification/rest/lists/element/add.mjs +2 -0
- package/esm2022/typification/rest/lists/element/get.mjs +2 -0
- package/esm2022/typification/rest/lists/field/get.mjs +2 -0
- package/esm2022/typification/rest/lists/get.mjs +2 -0
- package/esm2022/typification/rest/lists.mjs +8 -0
- package/esm2022/typification/rest/log/blogpost/add.mjs +2 -0
- package/esm2022/typification/rest/log/blogpost/essence.mjs +2 -0
- package/esm2022/typification/rest/log/blogpost/get.mjs +2 -0
- package/esm2022/typification/rest/log.mjs +7 -0
- package/esm2022/typification/rest/profile.mjs +2 -0
- package/esm2022/typification/rest/pull/application/config/get.mjs +2 -0
- package/esm2022/typification/rest/pull/channel/get.mjs +2 -0
- package/esm2022/typification/rest/pull/config/get.mjs +2 -0
- package/esm2022/typification/rest/pull.mjs +4 -0
- package/esm2022/typification/rest/settings.mjs +2 -0
- package/esm2022/typification/rest/socialnetwork/api/contentview/set.mjs +2 -0
- package/esm2022/typification/rest/socialnetwork/api/livefeed/blogpost/important/vote.mjs +2 -0
- package/esm2022/typification/rest/socialnetwork.mjs +6 -0
- package/esm2022/typification/rest/sonet_group/base.mjs +2 -0
- package/esm2022/typification/rest/sonet_group/get.mjs +2 -0
- package/esm2022/typification/rest/sonet_group.mjs +6 -0
- package/esm2022/typification/rest/support/param.mjs +2 -0
- package/esm2022/typification/rest/support.mjs +5 -0
- package/esm2022/typification/rest/task/access/getaccess.mjs +2 -0
- package/esm2022/typification/rest/task/commentitem/add.mjs +2 -0
- package/esm2022/typification/rest/task/commentitem/commentitem.mjs +2 -0
- package/esm2022/typification/rest/task/commentitem/delete.mjs +2 -0
- package/esm2022/typification/rest/task/commentitem/get.mjs +2 -0
- package/esm2022/typification/rest/task/commentitem/getlist.mjs +2 -0
- package/esm2022/typification/rest/task/commentitem/update.mjs +2 -0
- package/esm2022/typification/rest/task/elapseditem/add.mjs +2 -0
- package/esm2022/typification/rest/task/elapseditem/del.mjs +2 -0
- package/esm2022/typification/rest/task/elapseditem/get.mjs +2 -0
- package/esm2022/typification/rest/task/elapseditem/isActionAllowedParam.mjs +2 -0
- package/esm2022/typification/rest/task/elapseditem/item.mjs +2 -0
- package/esm2022/typification/rest/task/elapseditem/update.mjs +2 -0
- package/esm2022/typification/rest/task/item/userfield/getlist.mjs +2 -0
- package/esm2022/typification/rest/task/stages/add.mjs +2 -0
- package/esm2022/typification/rest/task/stages/canMoveTask.mjs +2 -0
- package/esm2022/typification/rest/task/stages/get.mjs +2 -0
- package/esm2022/typification/rest/task/stages/stage.mjs +2 -0
- package/esm2022/typification/rest/task/stages/update.mjs +2 -0
- package/esm2022/typification/rest/task.mjs +28 -0
- package/esm2022/typification/rest/tasks/base/fields-name.mjs +2 -0
- package/esm2022/typification/rest/tasks/base/filter-generator.mjs +2 -0
- package/esm2022/typification/rest/tasks/base/people.mjs +2 -0
- package/esm2022/typification/rest/tasks/result/list.mjs +2 -0
- package/esm2022/typification/rest/tasks/task/add.mjs +2 -0
- package/esm2022/typification/rest/tasks/task/approve.mjs +2 -0
- package/esm2022/typification/rest/tasks/task/base.mjs +2 -0
- package/esm2022/typification/rest/tasks/task/complete.mjs +2 -0
- package/esm2022/typification/rest/tasks/task/defer.mjs +2 -0
- package/esm2022/typification/rest/tasks/task/get.mjs +2 -0
- package/esm2022/typification/rest/tasks/task/getFields.mjs +2 -0
- package/esm2022/typification/rest/tasks/task/list.mjs +2 -0
- package/esm2022/typification/rest/tasks/task/result/result.mjs +2 -0
- package/esm2022/typification/rest/tasks/task/update.mjs +2 -0
- package/esm2022/typification/rest/tasks/task.mjs +2 -0
- package/esm2022/typification/rest/tasks.mjs +22 -0
- package/esm2022/typification/rest/timeman/status.mjs +2 -0
- package/esm2022/typification/rest/timeman.mjs +2 -0
- package/esm2022/typification/rest/user/get.mjs +2 -0
- package/esm2022/typification/rest/user/search.mjs +2 -0
- package/esm2022/typification/rest/user/user.mjs +2 -0
- package/esm2022/typification/rest/user/userFilter.mjs +2 -0
- package/esm2022/typification/rest/user/userfield/list.mjs +2 -0
- package/esm2022/typification/rest/user.mjs +9 -0
- package/esm2022/typification/settings.mjs +2 -0
- package/fesm2022/bx-rest.mjs +6999 -0
- package/fesm2022/bx-rest.mjs.map +1 -0
- package/functions/errorHandler.d.ts +10 -0
- package/functions/mapResult.d.ts +5 -0
- package/functions/serializeBitrixParams.d.ts +5 -0
- package/functions/toLocalAtom.d.ts +1 -0
- package/index.d.ts +5 -0
- package/map/app.d.ts +4 -0
- package/map/calendar/event.d.ts +6 -0
- package/map/calendar/section.d.ts +5 -0
- package/map/calendar/user/settings.d.ts +4 -0
- package/map/calendar/user.d.ts +4 -0
- package/map/calendar.d.ts +8 -0
- package/map/channel/public.d.ts +4 -0
- package/map/crm/automatedsolution.d.ts +7 -0
- package/map/crm/company.d.ts +19 -0
- package/map/crm/contact.d.ts +19 -0
- package/map/crm/deal.d.ts +19 -0
- package/map/crm/index.d.ts +6 -0
- package/map/crm/lead.d.ts +19 -0
- package/map/crm/quote.d.ts +12 -0
- package/map/department.d.ts +4 -0
- package/map/disk/attachedObject.d.ts +6 -0
- package/map/disk/base.d.ts +9 -0
- package/map/disk/file.d.ts +4 -0
- package/map/disk/folder.d.ts +6 -0
- package/map/disk/storage.d.ts +7 -0
- package/map/im/dialog.d.ts +4 -0
- package/map/im/gialog/messages.d.ts +4 -0
- package/map/im/gialog/users.d.ts +4 -0
- package/map/im/recent.d.ts +9 -0
- package/map/im/user/list.d.ts +5 -0
- package/map/im/user.d.ts +4 -0
- package/map/lists/element.d.ts +4 -0
- package/map/lists/field.d.ts +4 -0
- package/map/lists.d.ts +9 -0
- package/map/log/blogpost.d.ts +7 -0
- package/map/log.d.ts +4 -0
- package/map/pull/application/config.d.ts +4 -0
- package/map/pull.d.ts +4 -0
- package/map/rest.d.ts +4 -0
- package/map/server.d.ts +3 -0
- package/map/socialnetwork/api/livefeed/blogpost/important.d.ts +4 -0
- package/map/sonet_group.d.ts +5 -0
- package/map/task/commentitem.d.ts +6 -0
- package/map/task/elapseditem.d.ts +6 -0
- package/map/task/item/userfield.d.ts +4 -0
- package/map/task/planner.d.ts +3 -0
- package/map/task/stages.d.ts +4 -0
- package/map/task.d.ts +8 -0
- package/map/tasks/task/result.d.ts +6 -0
- package/map/tasks/task.d.ts +18 -0
- package/map/tasks.d.ts +4 -0
- package/map/timeman.d.ts +4 -0
- package/map/user.d.ts +10 -0
- package/package.json +133 -124
- package/public-api.d.ts +14 -0
- package/request/app.d.ts +8 -0
- package/request/bizproc/activity.d.ts +2 -0
- package/request/bizproc/event.d.ts +2 -0
- package/request/bizproc/robot.d.ts +2 -0
- package/request/bizproc/task.d.ts +2 -0
- package/request/bizproc/workflow/instance.d.ts +2 -0
- package/request/bizproc/workflow/template.d.ts +2 -0
- package/request/bizproc/workflow.d.ts +13 -0
- package/request/bizproc.d.ts +12 -0
- package/request/department.d.ts +18 -0
- package/request/disk/attachedObject.d.ts +8 -0
- package/request/disk/file.d.ts +10 -0
- package/request/disk/folder.d.ts +96 -0
- package/request/disk/storage.d.ts +27 -0
- package/request/disk.d.ts +8 -0
- package/request/lists/element.d.ts +11 -0
- package/request/lists/field.d.ts +11 -0
- package/request/lists.d.ts +31 -0
- package/request/log/blogcomment.d.ts +2 -0
- package/request/log/blogpost.d.ts +11 -0
- package/request/log.d.ts +6 -0
- package/request/pull/application/config.d.ts +5 -0
- package/request/pull/channel/public.d.ts +5 -0
- package/request/pull/config.d.ts +7 -0
- package/request/pull.d.ts +8 -0
- package/request/server.d.ts +7 -0
- package/request/socialnetwork/api/contentview.d.ts +6 -0
- package/request/socialnetwork/api/livefeed/blogpost/important.d.ts +6 -0
- package/request/socialnetwork/api/livefeed/blogpost.d.ts +4 -0
- package/request/socialnetwork/api/livefeed.d.ts +4 -0
- package/request/socialnetwork/api.d.ts +6 -0
- package/request/socialnetwork.d.ts +4 -0
- package/request/sonet_group.d.ts +8 -0
- package/request/task/commentitem.d.ts +23 -0
- package/request/task/elapseditem.d.ts +26 -0
- package/request/task/item/userfield.d.ts +6 -0
- package/request/task/item.d.ts +4 -0
- package/request/task/planner.d.ts +4 -0
- package/request/task.d.ts +10 -0
- package/request/tasks/task/result.d.ts +13 -0
- package/request/tasks/task.d.ts +37 -0
- package/request/tasks.d.ts +4 -0
- package/request/user/userfield.d.ts +8 -0
- package/request/user.d.ts +24 -0
- package/request-navvy/app.d.ts +8 -0
- package/request-navvy/bizproc/task.d.ts +16 -0
- package/request-navvy/bizproc/workflow.d.ts +20 -0
- package/request-navvy/bizproc.d.ts +19 -0
- package/request-navvy/calendar/event.d.ts +17 -0
- package/request-navvy/calendar/section.d.ts +13 -0
- package/request-navvy/calendar/user/settings.d.ts +13 -0
- package/request-navvy/calendar/user.d.ts +4 -0
- package/request-navvy/calendar.d.ts +8 -0
- package/request-navvy/crm/automatedsolution.d.ts +56 -0
- package/request-navvy/crm/automation/index.d.ts +42 -0
- package/request-navvy/crm/company.d.ts +59 -0
- package/request-navvy/crm/contact.d.ts +59 -0
- package/request-navvy/crm/deal.d.ts +59 -0
- package/request-navvy/crm/enum/index.d.ts +78 -0
- package/request-navvy/crm/enum/settings.d.ts +13 -0
- package/request-navvy/crm/lead.d.ts +59 -0
- package/request-navvy/crm/multifield.d.ts +13 -0
- package/request-navvy/crm/quote/index.d.ts +56 -0
- package/request-navvy/crm/quote/productrows.d.ts +21 -0
- package/request-navvy/crm/quote/userfield.d.ts +39 -0
- package/request-navvy/crm.d.ts +25 -0
- package/request-navvy/department.d.ts +15 -0
- package/request-navvy/disk/attachedObject.d.ts +5 -0
- package/request-navvy/disk/file.d.ts +16 -0
- package/request-navvy/disk/folder.d.ts +89 -0
- package/request-navvy/disk/operation/storage.d.ts +19 -0
- package/request-navvy/disk/operation.d.ts +18 -0
- package/request-navvy/disk/storage.d.ts +31 -0
- package/request-navvy/disk.d.ts +10 -0
- package/request-navvy/im/chat/user.d.ts +15 -0
- package/request-navvy/im/chat.d.ts +64 -0
- package/request-navvy/im/counters.d.ts +5 -0
- package/request-navvy/im/dialog/messages.d.ts +5 -0
- package/request-navvy/im/dialog/read.d.ts +9 -0
- package/request-navvy/im/dialog/users.d.ts +5 -0
- package/request-navvy/im/dialog.d.ts +30 -0
- package/request-navvy/im/recent.d.ts +31 -0
- package/request-navvy/im/user/list.d.ts +6 -0
- package/request-navvy/im/user/status/idle.d.ts +6 -0
- package/request-navvy/im/user/status.d.ts +14 -0
- package/request-navvy/im/user.d.ts +14 -0
- package/request-navvy/im.d.ts +12 -0
- package/request-navvy/lists/element.d.ts +16 -0
- package/request-navvy/lists/field.d.ts +11 -0
- package/request-navvy/lists.d.ts +32 -0
- package/request-navvy/log/blogcomment.d.ts +5 -0
- package/request-navvy/log/blogpost.d.ts +16 -0
- package/request-navvy/log.d.ts +6 -0
- package/request-navvy/pull/application/config.d.ts +5 -0
- package/request-navvy/pull/channel/public.d.ts +8 -0
- package/request-navvy/pull/config.d.ts +17 -0
- package/request-navvy/pull.d.ts +12 -0
- package/request-navvy/server.d.ts +7 -0
- package/request-navvy/socialnetwork/api/contentview.d.ts +5 -0
- package/request-navvy/socialnetwork/api/livefeed/blogpost/important.d.ts +8 -0
- package/request-navvy/socialnetwork/api/livefeed/blogpost.d.ts +4 -0
- package/request-navvy/socialnetwork/api/livefeed.d.ts +4 -0
- package/request-navvy/socialnetwork/api.d.ts +6 -0
- package/request-navvy/socialnetwork.d.ts +4 -0
- package/request-navvy/sonet_group.d.ts +11 -0
- package/request-navvy/task/commentitem.d.ts +16 -0
- package/request-navvy/task/delegate/elapseditem.d.ts +5 -0
- package/request-navvy/task/elapseditem.d.ts +46 -0
- package/request-navvy/task/item/userfield.d.ts +15 -0
- package/request-navvy/task/item.d.ts +4 -0
- package/request-navvy/task/operation/elapseditem.d.ts +64 -0
- package/request-navvy/task/planner.d.ts +7 -0
- package/request-navvy/task.d.ts +10 -0
- package/request-navvy/tasks/task/result.d.ts +25 -0
- package/request-navvy/tasks/task.d.ts +77 -0
- package/request-navvy/tasks.d.ts +4 -0
- package/request-navvy/timeman.d.ts +32 -0
- package/request-navvy/user/userfield.d.ts +6 -0
- package/request-navvy/user.d.ts +28 -0
- package/rest/base.d.ts +33 -0
- package/rest/map.d.ts +20 -0
- package/rest/navvy.d.ts +40 -0
- package/services/base.d.ts +67 -0
- package/services/http/HttpBX.d.ts +33 -0
- package/services/http/HttpData.d.ts +7 -0
- package/services/http/base/base.d.ts +7 -0
- package/services/http/http.d.ts +12 -0
- package/services/http/httpNavvy.d.ts +10 -0
- package/services/http/sessionKey.d.ts +34 -0
- package/services/navvy/extends/navvy-pag-base.d.ts +16 -0
- package/services/navvy/navvy-alternative-pagination-navigation.d.ts +14 -0
- package/services/navvy/navvy-pag-nav-result-key.d.ts +13 -0
- package/services/navvy/navvy-pag-nav-tasks.d.ts +11 -0
- package/services/navvy/navvy-pag-nav-with-useless-key.d.ts +7 -0
- package/services/navvy/navvy-pag.d.ts +8 -0
- package/services/navvy/navvy-simple.d.ts +3 -0
- package/services/navvy/navvy-support.d.ts +11 -0
- package/services/navvy.d.ts +32 -0
- package/services/vanilla/localStorage.d.ts +7 -0
- package/services/vanilla/sessionStorage.d.ts +4 -0
- package/services/vanilla//321/201ookies.d.ts +6 -0
- package/settings.d.ts +6 -0
- package/typification/auth/save.d.ts +14 -0
- package/typification/base/all-key-free.d.ts +3 -0
- package/typification/base/answers.d.ts +12 -0
- package/typification/base/modyfy.d.ts +9 -0
- package/typification/base/params.d.ts +16 -0
- package/typification/base/upper-case-keys.d.ts +6 -0
- package/typification/base/workpiece/methods-list.d.ts +247 -0
- package/typification/base/workpiece/methods.d.ts +20 -0
- package/typification/rest/app/info.d.ts +17 -0
- package/typification/rest/app.d.ts +4 -0
- package/typification/rest/base/answer.d.ts +19 -0
- package/typification/rest/base/api-pagination-bx.d.ts +11 -0
- package/typification/rest/base/field-bx-type.d.ts +1 -0
- package/typification/rest/base/filter-generator.d.ts +5 -0
- package/typification/rest/base/order-options.d.ts +1 -0
- package/typification/rest/base/sort.d.ts +1 -0
- package/typification/rest/base/yes-no.d.ts +1 -0
- package/typification/rest/base.d.ts +10 -0
- package/typification/rest/batch/batchRequestParam.d.ts +15 -0
- package/typification/rest/batch.d.ts +26 -0
- package/typification/rest/bizproc/base/filedEnum.d.ts +1 -0
- package/typification/rest/bizproc/task/complete.d.ts +7 -0
- package/typification/rest/bizproc/task/delegate.d.ts +5 -0
- package/typification/rest/bizproc/task/list.d.ts +52 -0
- package/typification/rest/bizproc/workflow/instances.d.ts +20 -0
- package/typification/rest/bizproc/workflow/kill.d.ts +3 -0
- package/typification/rest/bizproc/workflow/start.d.ts +5 -0
- package/typification/rest/bizproc/workflow/template/list.d.ts +8 -0
- package/typification/rest/bizproc/workflow/terminate.d.ts +4 -0
- package/typification/rest/bizproc.d.ts +12 -0
- package/typification/rest/calendar/base/type.d.ts +2 -0
- package/typification/rest/calendar/event/add.d.ts +145 -0
- package/typification/rest/calendar/event/delete.d.ts +3 -0
- package/typification/rest/calendar/event/get/nearest.d.ts +24 -0
- package/typification/rest/calendar/event/get.d.ts +136 -0
- package/typification/rest/calendar/event/update.d.ts +6 -0
- package/typification/rest/calendar/section/add.d.ts +10 -0
- package/typification/rest/calendar/section/delete.d.ts +6 -0
- package/typification/rest/calendar/section/get.d.ts +50 -0
- package/typification/rest/calendar/section/update.d.ts +10 -0
- package/typification/rest/calendar/user/settings/get.d.ts +102 -0
- package/typification/rest/calendar/user/settings/set.d.ts +58 -0
- package/typification/rest/calendar.d.ts +15 -0
- package/typification/rest/crm/automatedsolution/add.d.ts +8 -0
- package/typification/rest/crm/automatedsolution/automatedsolution.d.ts +23 -0
- package/typification/rest/crm/automatedsolution/delete.d.ts +4 -0
- package/typification/rest/crm/automatedsolution/get.d.ts +4 -0
- package/typification/rest/crm/automatedsolution/index.d.ts +6 -0
- package/typification/rest/crm/automatedsolution/list.d.ts +7 -0
- package/typification/rest/crm/automatedsolution/update.d.ts +10 -0
- package/typification/rest/crm/automation.d.ts +35 -0
- package/typification/rest/crm/company/add.d.ts +6 -0
- package/typification/rest/crm/company/company.d.ts +38 -0
- package/typification/rest/crm/company/delete.d.ts +3 -0
- package/typification/rest/crm/company/get.d.ts +3 -0
- package/typification/rest/crm/company/index.d.ts +6 -0
- package/typification/rest/crm/company/list.d.ts +6 -0
- package/typification/rest/crm/company/update.d.ts +7 -0
- package/typification/rest/crm/contact/add.d.ts +6 -0
- package/typification/rest/crm/contact/contact.d.ts +41 -0
- package/typification/rest/crm/contact/delete.d.ts +3 -0
- package/typification/rest/crm/contact/get.d.ts +3 -0
- package/typification/rest/crm/contact/index.d.ts +6 -0
- package/typification/rest/crm/contact/list.d.ts +6 -0
- package/typification/rest/crm/contact/update.d.ts +7 -0
- package/typification/rest/crm/deal/add.d.ts +6 -0
- package/typification/rest/crm/deal/deal.d.ts +47 -0
- package/typification/rest/crm/deal/delete.d.ts +3 -0
- package/typification/rest/crm/deal/get.d.ts +3 -0
- package/typification/rest/crm/deal/index.d.ts +6 -0
- package/typification/rest/crm/deal/list.d.ts +6 -0
- package/typification/rest/crm/deal/update.d.ts +7 -0
- package/typification/rest/crm/enum.d.ts +46 -0
- package/typification/rest/crm/index.d.ts +9 -0
- package/typification/rest/crm/lead/add.d.ts +6 -0
- package/typification/rest/crm/lead/delete.d.ts +3 -0
- package/typification/rest/crm/lead/get.d.ts +3 -0
- package/typification/rest/crm/lead/index.d.ts +6 -0
- package/typification/rest/crm/lead/lead.d.ts +52 -0
- package/typification/rest/crm/lead/list.d.ts +6 -0
- package/typification/rest/crm/lead/update.d.ts +7 -0
- package/typification/rest/crm/multifield.d.ts +12 -0
- package/typification/rest/crm/quote/index.d.ts +299 -0
- package/typification/rest/department/add.d.ts +6 -0
- package/typification/rest/department/del.d.ts +3 -0
- package/typification/rest/department/department.d.ts +14 -0
- package/typification/rest/department/get.d.ts +10 -0
- package/typification/rest/department/update.d.ts +7 -0
- package/typification/rest/department.d.ts +8 -0
- package/typification/rest/disk/AttachedObject.d.ts +26 -0
- package/typification/rest/disk/file.d.ts +19 -0
- package/typification/rest/disk/folder/addSubFolder.d.ts +6 -0
- package/typification/rest/disk/folder/copyTo.d.ts +4 -0
- package/typification/rest/disk/folder/getFields.d.ts +9 -0
- package/typification/rest/disk/folder/moveTo.d.ts +4 -0
- package/typification/rest/disk/folder/rename.d.ts +4 -0
- package/typification/rest/disk/folder/uploadFile.d.ts +13 -0
- package/typification/rest/disk/folder.d.ts +62 -0
- package/typification/rest/disk/map.d.ts +6 -0
- package/typification/rest/disk/storage/getchildren.d.ts +4 -0
- package/typification/rest/disk/storage/uploadfile.d.ts +9 -0
- package/typification/rest/disk.d.ts +15 -0
- package/typification/rest/im/chat/add.d.ts +12 -0
- package/typification/rest/im/chat/get.d.ts +18 -0
- package/typification/rest/im/chat/leave.d.ts +4 -0
- package/typification/rest/im/chat/mute.d.ts +10 -0
- package/typification/rest/im/chat/setOwner.d.ts +6 -0
- package/typification/rest/im/chat/updateAvatar.d.ts +6 -0
- package/typification/rest/im/chat/updateColor.d.ts +9 -0
- package/typification/rest/im/chat/updateTitle.d.ts +8 -0
- package/typification/rest/im/chat/user/add.d.ts +12 -0
- package/typification/rest/im/chat/user/delete.d.ts +6 -0
- package/typification/rest/im/chat/user/list.d.ts +4 -0
- package/typification/rest/im/counters/get.d.ts +13 -0
- package/typification/rest/im/dialog/get.d.ts +83 -0
- package/typification/rest/im/dialog/messages/get.d.ts +180 -0
- package/typification/rest/im/dialog/read.d.ts +25 -0
- package/typification/rest/im/dialog/recent/get.d.ts +176 -0
- package/typification/rest/im/dialog/recent/list.d.ts +186 -0
- package/typification/rest/im/dialog/recent/unread.d.ts +12 -0
- package/typification/rest/im/dialog/unread.d.ts +3 -0
- package/typification/rest/im/dialog/user/get.d.ts +71 -0
- package/typification/rest/im/dialog/writing.d.ts +2 -0
- package/typification/rest/im/user/get.d.ts +73 -0
- package/typification/rest/im/user/list/get.d.ts +5 -0
- package/typification/rest/im/user/status/get.d.ts +7 -0
- package/typification/rest/im/user/status/idle.d.ts +4 -0
- package/typification/rest/im/user/status/set.d.ts +4 -0
- package/typification/rest/im.d.ts +29 -0
- package/typification/rest/lists/element/add.d.ts +9 -0
- package/typification/rest/lists/element/get.d.ts +33 -0
- package/typification/rest/lists/field/get.d.ts +38 -0
- package/typification/rest/lists/get.d.ts +95 -0
- package/typification/rest/lists.d.ts +7 -0
- package/typification/rest/log/blogpost/add.d.ts +12 -0
- package/typification/rest/log/blogpost/essence.d.ts +51 -0
- package/typification/rest/log/blogpost/get.d.ts +71 -0
- package/typification/rest/log.d.ts +6 -0
- package/typification/rest/profile.d.ts +16 -0
- package/typification/rest/pull/application/config/get.d.ts +3 -0
- package/typification/rest/pull/channel/get.d.ts +13 -0
- package/typification/rest/pull/config/get.d.ts +70 -0
- package/typification/rest/pull.d.ts +3 -0
- package/typification/rest/settings.d.ts +6 -0
- package/typification/rest/socialnetwork/api/contentview/set.d.ts +10 -0
- package/typification/rest/socialnetwork/api/livefeed/blogpost/important/vote.d.ts +12 -0
- package/typification/rest/socialnetwork.d.ts +5 -0
- package/typification/rest/sonet_group/base.d.ts +8 -0
- package/typification/rest/sonet_group/get.d.ts +30 -0
- package/typification/rest/sonet_group.d.ts +5 -0
- package/typification/rest/support/param.d.ts +5 -0
- package/typification/rest/support.d.ts +4 -0
- package/typification/rest/task/access/getaccess.d.ts +40 -0
- package/typification/rest/task/commentitem/add.d.ts +18 -0
- package/typification/rest/task/commentitem/commentitem.d.ts +36 -0
- package/typification/rest/task/commentitem/delete.d.ts +4 -0
- package/typification/rest/task/commentitem/get.d.ts +4 -0
- package/typification/rest/task/commentitem/getlist.d.ts +20 -0
- package/typification/rest/task/commentitem/update.d.ts +4 -0
- package/typification/rest/task/elapseditem/add.d.ts +10 -0
- package/typification/rest/task/elapseditem/del.d.ts +4 -0
- package/typification/rest/task/elapseditem/get.d.ts +23 -0
- package/typification/rest/task/elapseditem/isActionAllowedParam.d.ts +5 -0
- package/typification/rest/task/elapseditem/item.d.ts +25 -0
- package/typification/rest/task/elapseditem/update.d.ts +10 -0
- package/typification/rest/task/item/userfield/getlist.d.ts +91 -0
- package/typification/rest/task/stages/add.d.ts +7 -0
- package/typification/rest/task/stages/canMoveTask.d.ts +4 -0
- package/typification/rest/task/stages/get.d.ts +4 -0
- package/typification/rest/task/stages/stage.d.ts +19 -0
- package/typification/rest/task/stages/update.d.ts +5 -0
- package/typification/rest/task.d.ts +22 -0
- package/typification/rest/tasks/base/fields-name.d.ts +19 -0
- package/typification/rest/tasks/base/filter-generator.d.ts +6 -0
- package/typification/rest/tasks/base/people.d.ts +12 -0
- package/typification/rest/tasks/result/list.d.ts +4 -0
- package/typification/rest/tasks/task/add.d.ts +254 -0
- package/typification/rest/tasks/task/approve.d.ts +144 -0
- package/typification/rest/tasks/task/base.d.ts +3 -0
- package/typification/rest/tasks/task/complete.d.ts +6 -0
- package/typification/rest/tasks/task/defer.d.ts +6 -0
- package/typification/rest/tasks/task/get.d.ts +52 -0
- package/typification/rest/tasks/task/getFields.d.ts +19 -0
- package/typification/rest/tasks/task/list.d.ts +119 -0
- package/typification/rest/tasks/task/result/result.d.ts +23 -0
- package/typification/rest/tasks/task/update.d.ts +47 -0
- package/typification/rest/tasks/task.d.ts +121 -0
- package/typification/rest/tasks.d.ts +18 -0
- package/typification/rest/timeman/status.d.ts +107 -0
- package/typification/rest/timeman.d.ts +1 -0
- package/typification/rest/user/get.d.ts +66 -0
- package/typification/rest/user/search.d.ts +66 -0
- package/typification/rest/user/user.d.ts +62 -0
- package/typification/rest/user/userFilter.d.ts +13 -0
- package/typification/rest/user/userfield/list.d.ts +56 -0
- package/typification/rest/user.d.ts +8 -0
- package/typification/settings.d.ts +11 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface iBXRestImCountersType {
|
|
2
|
+
ALL: number;
|
|
3
|
+
CHAT: number;
|
|
4
|
+
DIALOG: number;
|
|
5
|
+
LINES: number;
|
|
6
|
+
NOTIFY: number;
|
|
7
|
+
}
|
|
8
|
+
export interface iBXRestImCounters {
|
|
9
|
+
CHAT: Record<string, number>;
|
|
10
|
+
DIALOG: Record<string, number>;
|
|
11
|
+
LINES: Record<string, number>;
|
|
12
|
+
TYPE: iBXRestImCountersType;
|
|
13
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export interface iBXRestImDialogGetParam {
|
|
2
|
+
/**
|
|
3
|
+
* Идентификатор диалога. Формат:
|
|
4
|
+
*
|
|
5
|
+
* chatXXX – чат получателя, если сообщение для чата
|
|
6
|
+
* XXX – идентификатор получателя, если сообщение для приватного диалога
|
|
7
|
+
*/
|
|
8
|
+
DIALOG_ID: string | number;
|
|
9
|
+
}
|
|
10
|
+
export interface iBXRestImDialogGet extends iBXRestImDialogGetBase {
|
|
11
|
+
/**
|
|
12
|
+
* идентификатор чата
|
|
13
|
+
*/
|
|
14
|
+
id: number;
|
|
15
|
+
/**
|
|
16
|
+
* идентификатор пользователя владельца чата
|
|
17
|
+
*/
|
|
18
|
+
owner: number;
|
|
19
|
+
/**
|
|
20
|
+
* дата создания чата
|
|
21
|
+
*/
|
|
22
|
+
date_create: Date;
|
|
23
|
+
}
|
|
24
|
+
export interface iBXRestImDialogGetHttp extends iBXRestImDialogGetBase {
|
|
25
|
+
/**
|
|
26
|
+
* идентификатор чата
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* идентификатор пользователя владельца чата
|
|
31
|
+
*/
|
|
32
|
+
owner: string;
|
|
33
|
+
/**
|
|
34
|
+
* дата создания чата в формате АТОМ
|
|
35
|
+
*/
|
|
36
|
+
date_create: string;
|
|
37
|
+
}
|
|
38
|
+
export interface iBXRestImDialogGetBase {
|
|
39
|
+
/**
|
|
40
|
+
* название чата
|
|
41
|
+
*/
|
|
42
|
+
title: string;
|
|
43
|
+
/**
|
|
44
|
+
* признак участия в чате внешнего экстранет-пользователя (true/false)
|
|
45
|
+
*/
|
|
46
|
+
extranet: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* ссылка на аватар (если пусто, значит аватар не задан)
|
|
49
|
+
*/
|
|
50
|
+
avatar: string;
|
|
51
|
+
/**
|
|
52
|
+
* цвет чата в формате hex TODO: типизировать
|
|
53
|
+
*/
|
|
54
|
+
color: string;
|
|
55
|
+
/**
|
|
56
|
+
* тип чата (групповой чат, чат для звонка, чат открытой линии и тд)
|
|
57
|
+
*/
|
|
58
|
+
type: string;
|
|
59
|
+
/**
|
|
60
|
+
* внешний код для чата – тип
|
|
61
|
+
*/
|
|
62
|
+
entity_type: string;
|
|
63
|
+
/**
|
|
64
|
+
* внешний код для чата – идентификатор
|
|
65
|
+
*/
|
|
66
|
+
entity_id: string;
|
|
67
|
+
/**
|
|
68
|
+
* нешние данные для чата
|
|
69
|
+
*/
|
|
70
|
+
entity_data_1: string;
|
|
71
|
+
/**
|
|
72
|
+
* нешние данные для чата
|
|
73
|
+
*/
|
|
74
|
+
entity_data_2: string;
|
|
75
|
+
/**
|
|
76
|
+
* нешние данные для чата
|
|
77
|
+
*/
|
|
78
|
+
entity_data_3: string;
|
|
79
|
+
/**
|
|
80
|
+
* тип сообщений чата
|
|
81
|
+
*/
|
|
82
|
+
message_type: string;
|
|
83
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { iBXRestYesNo } from '../../../base/yes-no';
|
|
2
|
+
import { iBXRestImDialogGetParam } from '../get';
|
|
3
|
+
export interface iBXRestImDialogMessagesGetParam extends iBXRestImDialogGetParam {
|
|
4
|
+
/** Идентификатор последнего загруженного сообщения */
|
|
5
|
+
LAST_ID?: number;
|
|
6
|
+
/** Идентификатор первого загруженного сообщения */
|
|
7
|
+
FIRST_ID?: number;
|
|
8
|
+
/** Ограничение на выборку сообщений в диалоге */
|
|
9
|
+
LIMIT?: number;
|
|
10
|
+
}
|
|
11
|
+
export type iBXRestImDialogMessagesGet = iBXRestImDialogMessagesGetBase<iBXRestImDialogMessagesGetMessage>;
|
|
12
|
+
export type iBXRestImDialogMessagesGetHttp = iBXRestImDialogMessagesGetBase<iBXRestImDialogMessagesGetMessageHttp>;
|
|
13
|
+
export interface iBXRestImDialogMessagesGetBase<message = iBXRestImDialogMessagesGetMessageBase> {
|
|
14
|
+
/** массив сообщений */
|
|
15
|
+
messages: message[];
|
|
16
|
+
/** обьекты описания данных пользователя */
|
|
17
|
+
users: iBXRestImDialogMessagesGetUser[];
|
|
18
|
+
/** обьект, описывающий файлы в выбранных сообщениях */
|
|
19
|
+
files: iBXRestImDialogMessagesGetChatFile[];
|
|
20
|
+
/** идентификатор чата */
|
|
21
|
+
chat_id: number;
|
|
22
|
+
}
|
|
23
|
+
export interface iBXRestImDialogMessagesGetMessage extends iBXRestImDialogMessagesGetBase {
|
|
24
|
+
/** Дата сообщения */
|
|
25
|
+
date: Date;
|
|
26
|
+
/** Параметры сообщения (может быть null) */
|
|
27
|
+
params: iBXRestImDialogMessagesGetMessageParams | null;
|
|
28
|
+
}
|
|
29
|
+
export interface iBXRestImDialogMessagesGetMessageHttp extends iBXRestImDialogMessagesGetBase {
|
|
30
|
+
/** Дата сообщения в формате ATOM */
|
|
31
|
+
date: string;
|
|
32
|
+
/** Параметры сообщения (может быть null) */
|
|
33
|
+
params: iBXRestImDialogMessagesGetMessageParamsHttp | null;
|
|
34
|
+
}
|
|
35
|
+
export interface iBXRestImDialogMessagesGetMessageBase {
|
|
36
|
+
/** Идентификатор сообщения */
|
|
37
|
+
id: number;
|
|
38
|
+
/** Идентификатор чата */
|
|
39
|
+
chat_id: number;
|
|
40
|
+
/** Автор сообщения (0 — системное сообщение) */
|
|
41
|
+
author_id: number;
|
|
42
|
+
/** Текст сообщения */
|
|
43
|
+
text: string;
|
|
44
|
+
/** Параметры сообщения (может быть null) */
|
|
45
|
+
params: iBXRestImDialogMessagesGetBase | null;
|
|
46
|
+
}
|
|
47
|
+
export interface iBXRestImDialogMessagesGetMessageParams extends iBXRestImDialogMessagesGetMessageParamsBase {
|
|
48
|
+
/** Признак того, что сообщение содержит только ссылку */
|
|
49
|
+
URL_ONLY?: boolean;
|
|
50
|
+
/** Признак отредактированного сообщения */
|
|
51
|
+
IS_EDITED?: boolean;
|
|
52
|
+
/** Признак удаленного сообщения */
|
|
53
|
+
IS_DELETED?: boolean;
|
|
54
|
+
}
|
|
55
|
+
export interface iBXRestImDialogMessagesGetMessageParamsHttp extends iBXRestImDialogMessagesGetMessageParamsBase {
|
|
56
|
+
/** Признак того, что сообщение содержит только ссылку */
|
|
57
|
+
URL_ONLY?: iBXRestYesNo;
|
|
58
|
+
/** Признак отредактированного сообщения */
|
|
59
|
+
IS_EDITED?: iBXRestYesNo;
|
|
60
|
+
/** Признак удаленного сообщения */
|
|
61
|
+
IS_DELETED?: iBXRestYesNo;
|
|
62
|
+
}
|
|
63
|
+
export interface iBXRestImDialogMessagesGetMessageParamsBase {
|
|
64
|
+
/** Массив идентификаторов URL */
|
|
65
|
+
URL_ID?: number[];
|
|
66
|
+
/** Массив идентификаторов прикрепленных файлов */
|
|
67
|
+
FILE_ID?: number[];
|
|
68
|
+
/** Массив пользователей, поставивших "лайк" */
|
|
69
|
+
LIKE?: number[];
|
|
70
|
+
/** Массив блоков расширенного оформления */
|
|
71
|
+
ATTACH?: iBXRestImDialogMessagesGetMessageParamsAttachment[];
|
|
72
|
+
/** Объект клавиатуры (опционально) */
|
|
73
|
+
KEYBOARD?: any;
|
|
74
|
+
}
|
|
75
|
+
interface iBXRestImDialogMessagesGetMessageParamsAttachment {
|
|
76
|
+
ID: string;
|
|
77
|
+
COLOR: string;
|
|
78
|
+
BLOCKS: iBXRestImDialogMessagesGetMessageParamsAttachmentBlock[];
|
|
79
|
+
}
|
|
80
|
+
interface iBXRestImDialogMessagesGetMessageParamsAttachmentBlock {
|
|
81
|
+
RICH_LINK?: iBXRestImDialogMessagesGetMessageParamsAttachmentRichLink[];
|
|
82
|
+
}
|
|
83
|
+
interface iBXRestImDialogMessagesGetMessageParamsAttachmentRichLink {
|
|
84
|
+
/** Название ссылки */
|
|
85
|
+
NAME: string;
|
|
86
|
+
/** URL ссылки */
|
|
87
|
+
LINK: string;
|
|
88
|
+
/** Описание ссылки */
|
|
89
|
+
DESC: string;
|
|
90
|
+
/** URL изображения-превью */
|
|
91
|
+
PREVIEW: string;
|
|
92
|
+
}
|
|
93
|
+
interface iBXRestImDialogMessagesGetUser {
|
|
94
|
+
/** Идентификатор пользователя */
|
|
95
|
+
id: number;
|
|
96
|
+
/** Имя и фамилия */
|
|
97
|
+
name: string;
|
|
98
|
+
/** Имя */
|
|
99
|
+
first_name: string;
|
|
100
|
+
/** Фамилия */
|
|
101
|
+
last_name: string;
|
|
102
|
+
/** Должность */
|
|
103
|
+
work_position: string;
|
|
104
|
+
/** Цвет (в HEX) */
|
|
105
|
+
color: string;
|
|
106
|
+
/** Ссылка на аватар (может быть пустой строкой) */
|
|
107
|
+
avatar: string;
|
|
108
|
+
/** Пол: "M" или "F" */
|
|
109
|
+
gender: string;
|
|
110
|
+
/** День рождения в формате DD-MM или пустая строка */
|
|
111
|
+
birthday: string;
|
|
112
|
+
/** Признак экстранет-пользователя */
|
|
113
|
+
extranet: boolean;
|
|
114
|
+
/** Признак Bitrix24.Network-пользователя */
|
|
115
|
+
network: boolean;
|
|
116
|
+
/** Признак бота */
|
|
117
|
+
bot: boolean;
|
|
118
|
+
/** Признак открытых линий */
|
|
119
|
+
connector: boolean;
|
|
120
|
+
/** Код внешней авторизации */
|
|
121
|
+
external_auth_id: string;
|
|
122
|
+
/** Статус пользователя (например, "online") */
|
|
123
|
+
status: string;
|
|
124
|
+
/** Время ухода от компьютера или false */
|
|
125
|
+
idle: string | false;
|
|
126
|
+
/** Дата последней активности или false */
|
|
127
|
+
last_activity_date: string | false;
|
|
128
|
+
/** Дата активности в мобильном приложении или false */
|
|
129
|
+
mobile_last_date: string | false;
|
|
130
|
+
/** Дата окончания отпуска или false */
|
|
131
|
+
absent: string | false;
|
|
132
|
+
/** Подразделения */
|
|
133
|
+
departments: number[];
|
|
134
|
+
/** Телефоны или false */
|
|
135
|
+
phones: iBXRestImDialogMessagesGetUserPhones | false;
|
|
136
|
+
}
|
|
137
|
+
interface iBXRestImDialogMessagesGetUserPhones {
|
|
138
|
+
/** Рабочий телефон */
|
|
139
|
+
work_phone?: string;
|
|
140
|
+
/** Мобильный телефон */
|
|
141
|
+
personal_mobile?: string;
|
|
142
|
+
/** Домашний телефон */
|
|
143
|
+
personal_phone?: string;
|
|
144
|
+
}
|
|
145
|
+
interface iBXRestImDialogMessagesGetChatFile {
|
|
146
|
+
/** Идентификатор файла */
|
|
147
|
+
id: number;
|
|
148
|
+
/** Идентификатор чата */
|
|
149
|
+
chatId: number;
|
|
150
|
+
/** Дата добавления */
|
|
151
|
+
date: string;
|
|
152
|
+
/** Тип: "image" или "file" */
|
|
153
|
+
type: 'image' | 'file';
|
|
154
|
+
/** Имя файла */
|
|
155
|
+
name: string;
|
|
156
|
+
/** Размер файла в байтах */
|
|
157
|
+
size: number;
|
|
158
|
+
/** Превью (может быть пустым) */
|
|
159
|
+
preview: string;
|
|
160
|
+
/** Размер изображения, если применимо */
|
|
161
|
+
image?: {
|
|
162
|
+
width: number;
|
|
163
|
+
height: number;
|
|
164
|
+
};
|
|
165
|
+
/** Статус загрузки */
|
|
166
|
+
status: 'done' | 'upload';
|
|
167
|
+
/** Прогресс загрузки: 0–100, -1 если неизвестен */
|
|
168
|
+
progress: number;
|
|
169
|
+
/** Идентификатор автора */
|
|
170
|
+
authorId: number;
|
|
171
|
+
/** Имя автора */
|
|
172
|
+
authorName: string;
|
|
173
|
+
/** Ссылка на предпросмотр (только для изображений) */
|
|
174
|
+
urlPreview?: string;
|
|
175
|
+
/** Ссылка на просмотр */
|
|
176
|
+
urlShow: string;
|
|
177
|
+
/** Ссылка на скачивание */
|
|
178
|
+
urlDownload: string;
|
|
179
|
+
}
|
|
180
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { iBXRestImDialogGetParam } from './get';
|
|
2
|
+
export interface iBXRestImDialogReadParam extends iBXRestImDialogGetParam {
|
|
3
|
+
/**
|
|
4
|
+
* Идентификатор последнего прочитанного сообщения в диалоге
|
|
5
|
+
*/
|
|
6
|
+
MESSAGE_ID: number;
|
|
7
|
+
}
|
|
8
|
+
export interface iBXRestImDialogRead {
|
|
9
|
+
/**
|
|
10
|
+
* идентификатор прочитанного диалога
|
|
11
|
+
*/
|
|
12
|
+
dialogId: string;
|
|
13
|
+
/**
|
|
14
|
+
* идентификатор чата
|
|
15
|
+
*/
|
|
16
|
+
chatId: number;
|
|
17
|
+
/**
|
|
18
|
+
* кол-во непрочитанных сообщений после выполнения метода
|
|
19
|
+
*/
|
|
20
|
+
counter: number;
|
|
21
|
+
/**
|
|
22
|
+
* последнее прочитанное сообщение
|
|
23
|
+
*/
|
|
24
|
+
lastId: number;
|
|
25
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { iBXRestYesNo } from '../../../base/yes-no';
|
|
2
|
+
export interface iBXRestImDialogRecentGetParam {
|
|
3
|
+
/**
|
|
4
|
+
* Пропускать чаты открытых линий
|
|
5
|
+
*/
|
|
6
|
+
SKIP_OPENLINES?: iBXRestYesNo;
|
|
7
|
+
/** Пропускать чаты */
|
|
8
|
+
SKIP_CHAT?: iBXRestYesNo;
|
|
9
|
+
/** Пропускать диалоги один-на-один */
|
|
10
|
+
SKIP_DIALOG?: iBXRestYesNo;
|
|
11
|
+
/**
|
|
12
|
+
* Ограничение выборки для минимизации переданных данных.
|
|
13
|
+
*/
|
|
14
|
+
LAST_UPDATE?: Date;
|
|
15
|
+
/**
|
|
16
|
+
* Выборка только чатов открытых линий
|
|
17
|
+
*/
|
|
18
|
+
ONLY_OPENLINES?: iBXRestYesNo;
|
|
19
|
+
/**
|
|
20
|
+
* Дата предыдущей выборки для загрузки изменений, произошедших в списке с этого времени.
|
|
21
|
+
* Выборка возвращает данные не старше 7 дней.
|
|
22
|
+
*/
|
|
23
|
+
LAST_SYNC_DATE?: Date;
|
|
24
|
+
}
|
|
25
|
+
export interface iBXRestImDialogRecentGetAvatar {
|
|
26
|
+
/** Ссылка на аватар (если пусто — аватар не задан) */
|
|
27
|
+
url: string;
|
|
28
|
+
/** Цвет диалога в формате hex */
|
|
29
|
+
color: string;
|
|
30
|
+
}
|
|
31
|
+
export interface iBXRestImDialogRecentGetMessage {
|
|
32
|
+
/** Идентификатор сообщения */
|
|
33
|
+
id: string;
|
|
34
|
+
/** Текст сообщения (без BB-кодов и переносов строк) */
|
|
35
|
+
text: string;
|
|
36
|
+
/** Признак наличия файлов */
|
|
37
|
+
file: boolean;
|
|
38
|
+
/** Признак наличия вложений */
|
|
39
|
+
attach: boolean;
|
|
40
|
+
/** Идентификатор автора сообщения */
|
|
41
|
+
author_id: string;
|
|
42
|
+
}
|
|
43
|
+
export interface iBXRestImDialogRecentGetUserData extends iBXRestImDialogRecentGetUserDataBase {
|
|
44
|
+
/** Идентификатор пользователя */
|
|
45
|
+
id: number;
|
|
46
|
+
/** Дата последнего действия пользователя */
|
|
47
|
+
last_activity_date: Date | false;
|
|
48
|
+
/** Дата последней активности в мобильном приложении или false */
|
|
49
|
+
mobile_last_date: Date | false;
|
|
50
|
+
/** Дата окончания отпуска или false */
|
|
51
|
+
absent: Date | false;
|
|
52
|
+
}
|
|
53
|
+
export interface iBXRestImDialogRecentGetUserDataHttp extends iBXRestImDialogRecentGetUserDataBase {
|
|
54
|
+
/** Идентификатор пользователя */
|
|
55
|
+
id: string;
|
|
56
|
+
/** Дата последнего действия пользователя */
|
|
57
|
+
last_activity_date: string;
|
|
58
|
+
/** Дата последней активности в мобильном приложении или false */
|
|
59
|
+
mobile_last_date: string | false;
|
|
60
|
+
/** Дата окончания отпуска или false */
|
|
61
|
+
absent: string | false;
|
|
62
|
+
}
|
|
63
|
+
export interface iBXRestImDialogRecentGetUserDataBase {
|
|
64
|
+
/** Полное имя (имя и фамилия) */
|
|
65
|
+
name: string;
|
|
66
|
+
/** Имя пользователя */
|
|
67
|
+
first_name: string;
|
|
68
|
+
/** Фамилия пользователя */
|
|
69
|
+
last_name: string;
|
|
70
|
+
/** Должность пользователя */
|
|
71
|
+
work_position: string;
|
|
72
|
+
/** Цвет в формате hex */
|
|
73
|
+
color: string;
|
|
74
|
+
/** Ссылка на аватар */
|
|
75
|
+
avatar: string;
|
|
76
|
+
/** Пол пользователя (M/F) */
|
|
77
|
+
gender: string;
|
|
78
|
+
/** День рождения в формате DD-MM или false */
|
|
79
|
+
birthday: string | false;
|
|
80
|
+
/** Внешний экстранет-пользователь */
|
|
81
|
+
extranet: boolean;
|
|
82
|
+
/** Пользователь Битрикс24.Network */
|
|
83
|
+
network: boolean;
|
|
84
|
+
/** Бот */
|
|
85
|
+
bot: boolean;
|
|
86
|
+
/** Пользователь открытых линий */
|
|
87
|
+
connector: boolean;
|
|
88
|
+
/** Код внешней авторизации */
|
|
89
|
+
external_auth_id: string;
|
|
90
|
+
/** Статус пользователя (например, online) */
|
|
91
|
+
status: string;
|
|
92
|
+
/** Дата, когда пользователь отошел от компьютера, или false */
|
|
93
|
+
idle: string | false;
|
|
94
|
+
}
|
|
95
|
+
export interface iBXRestImDialogRecentGetChatChatData extends iBXRestImDialogRecentGetChatChatDataBase {
|
|
96
|
+
/** Идентификатор чата */
|
|
97
|
+
id: number;
|
|
98
|
+
/** Дата создания чата */
|
|
99
|
+
date_create: Date;
|
|
100
|
+
}
|
|
101
|
+
export interface iBXRestImDialogRecentGetChatChatDataHttp extends iBXRestImDialogRecentGetChatChatDataBase {
|
|
102
|
+
/** Идентификатор чата */
|
|
103
|
+
id: string;
|
|
104
|
+
/** Дата создания чата */
|
|
105
|
+
date_create: string;
|
|
106
|
+
}
|
|
107
|
+
export type iBXRestImDialogRecentGetChatDataBase = iBXRestImDialogRecentGetChatChatDataBase | iBXRestImDialogRecentGetChatUserDataBase;
|
|
108
|
+
export interface iBXRestImDialogRecentGetChatChatDataBase {
|
|
109
|
+
background_id: null;
|
|
110
|
+
text_field_enabled: true;
|
|
111
|
+
}
|
|
112
|
+
export interface iBXRestImDialogRecentGetChatUserDataBase {
|
|
113
|
+
/** Название чата */
|
|
114
|
+
title: string;
|
|
115
|
+
/** Идентификатор владельца чата */
|
|
116
|
+
owner: string;
|
|
117
|
+
/** Признак участия внешнего пользователя */
|
|
118
|
+
extranet: boolean;
|
|
119
|
+
/** Ссылка на аватар чата */
|
|
120
|
+
avatar: string;
|
|
121
|
+
/** Цвет чата */
|
|
122
|
+
color: string;
|
|
123
|
+
/** Тип чата (chat, openline и т.д.) */
|
|
124
|
+
type: string;
|
|
125
|
+
/** Внешний код чата — тип */
|
|
126
|
+
entity_type: string;
|
|
127
|
+
/** Внешний код чата — идентификатор (может отсутствовать) */
|
|
128
|
+
entity_id?: string;
|
|
129
|
+
/** Внешние данные для чата (1) */
|
|
130
|
+
entity_data_1: string;
|
|
131
|
+
/** Внешние данные для чата (2) */
|
|
132
|
+
entity_data_2: string;
|
|
133
|
+
/** Внешние данные для чата (3) */
|
|
134
|
+
entity_data_3: string;
|
|
135
|
+
/** Тип сообщений в чате (обычно "C") */
|
|
136
|
+
message_type: string;
|
|
137
|
+
}
|
|
138
|
+
export interface iBXRestImDialogRecentGet extends iBXRestImDialogRecentGetBase {
|
|
139
|
+
/** Дата последнего сообщения */
|
|
140
|
+
date_update: Date;
|
|
141
|
+
/** Объект пользователя, если type === 'user' */
|
|
142
|
+
user?: iBXRestImDialogRecentGetUserData;
|
|
143
|
+
/** Объект чата, если type === 'chat' */
|
|
144
|
+
chat?: iBXRestImDialogRecentGetChatChatData | iBXRestImDialogRecentGetChatUserDataBase;
|
|
145
|
+
}
|
|
146
|
+
export interface iBXRestImDialogRecentGetHttp extends iBXRestImDialogRecentGetBase {
|
|
147
|
+
/** Дата последнего сообщения */
|
|
148
|
+
date_update: string;
|
|
149
|
+
/**
|
|
150
|
+
* Объект пользователя, если type === 'user'
|
|
151
|
+
* Посмотреть бы в глаза тому человеку, что эту хуету сделала, ну тип {id: 0} это ахуй
|
|
152
|
+
*/
|
|
153
|
+
user?: iBXRestImDialogRecentGetUserDataHttp | {
|
|
154
|
+
id: 0;
|
|
155
|
+
};
|
|
156
|
+
/** Объект чата, если type === 'chat' */
|
|
157
|
+
chat?: iBXRestImDialogRecentGetChatChatDataHttp | iBXRestImDialogRecentGetChatUserDataBase;
|
|
158
|
+
}
|
|
159
|
+
export interface iBXRestImDialogRecentGetBase {
|
|
160
|
+
/** Идентификатор записи: число для пользователя, строка "chatXXX" для чата */
|
|
161
|
+
id: string | number;
|
|
162
|
+
/** Количество непрочитанных сообщений */
|
|
163
|
+
counter: number;
|
|
164
|
+
/** Тип записи: 'user' или 'chat' */
|
|
165
|
+
type: 'user' | 'chat';
|
|
166
|
+
/** Объект аватара */
|
|
167
|
+
avatar: iBXRestImDialogRecentGetAvatar;
|
|
168
|
+
/** Заголовок: имя пользователя или название чата */
|
|
169
|
+
title: string;
|
|
170
|
+
/** Последнее сообщение */
|
|
171
|
+
message: iBXRestImDialogRecentGetMessage;
|
|
172
|
+
/** Объект пользователя, если type === 'user' */
|
|
173
|
+
user?: iBXRestImDialogRecentGetUserDataBase | {
|
|
174
|
+
id: 0;
|
|
175
|
+
};
|
|
176
|
+
}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { iBXRestYesNo } from '../../../base/yes-no';
|
|
2
|
+
export interface iBXRestImDialogRecentListParam {
|
|
3
|
+
/**
|
|
4
|
+
* Пропускать чаты открытых линий
|
|
5
|
+
*/
|
|
6
|
+
SKIP_OPENLINES?: iBXRestYesNo;
|
|
7
|
+
/** Пропускать диалоги "один на один" */
|
|
8
|
+
SKIP_DIALOG?: iBXRestYesNo;
|
|
9
|
+
/** Пропускать чатын */
|
|
10
|
+
SKIP_CHAT?: iBXRestYesNo;
|
|
11
|
+
/** Дата из последнего элемента предыдущей выборки */
|
|
12
|
+
LAST_MESSAGE_DATE?: Date;
|
|
13
|
+
}
|
|
14
|
+
interface iBXRestImDialogRecentListAvatar {
|
|
15
|
+
/** Ссылка на аватар (если пусто — аватар не задан) */
|
|
16
|
+
url: string;
|
|
17
|
+
/** Цвет диалога в формате hex */
|
|
18
|
+
color: string;
|
|
19
|
+
}
|
|
20
|
+
export interface iBXRestImDialogRecentListMessage extends iBXRestImDialogRecentListMessageBase {
|
|
21
|
+
/** Дата сообщения */
|
|
22
|
+
date: Date;
|
|
23
|
+
}
|
|
24
|
+
export interface iBXRestImDialogRecentListMessageHttp extends iBXRestImDialogRecentListMessageBase {
|
|
25
|
+
/** Дата сообщения */
|
|
26
|
+
date: string;
|
|
27
|
+
}
|
|
28
|
+
export interface iBXRestImDialogRecentListMessageBase {
|
|
29
|
+
/** Идентификатор сообщения */
|
|
30
|
+
id: number;
|
|
31
|
+
/** Текст сообщения без BB-кодов и переносов строк */
|
|
32
|
+
text: string;
|
|
33
|
+
/** Признак наличия файлов */
|
|
34
|
+
file: boolean;
|
|
35
|
+
/** Признак наличия вложений */
|
|
36
|
+
attach: boolean;
|
|
37
|
+
/** Идентификатор автора */
|
|
38
|
+
author_id: number;
|
|
39
|
+
/** Статус сообщения (например, "received") */
|
|
40
|
+
status: string;
|
|
41
|
+
}
|
|
42
|
+
export interface iBXRestImDialogRecentListUserData extends iBXRestImDialogRecentListUserDataBase {
|
|
43
|
+
birthday?: Date | false;
|
|
44
|
+
last_activity_date?: Date;
|
|
45
|
+
mobile_last_date?: Date | false;
|
|
46
|
+
}
|
|
47
|
+
export interface iBXRestImDialogRecentListUserDataHttp extends iBXRestImDialogRecentListUserDataBase {
|
|
48
|
+
birthday?: string | false;
|
|
49
|
+
last_activity_date?: string;
|
|
50
|
+
mobile_last_date?: string | false;
|
|
51
|
+
}
|
|
52
|
+
export interface iBXRestImDialogRecentListUserDataBase {
|
|
53
|
+
/** Идентификатор пользователя */
|
|
54
|
+
id: number;
|
|
55
|
+
name?: string;
|
|
56
|
+
first_name?: string;
|
|
57
|
+
last_name?: string;
|
|
58
|
+
work_position?: string;
|
|
59
|
+
color?: string;
|
|
60
|
+
avatar?: string;
|
|
61
|
+
gender?: string;
|
|
62
|
+
extranet?: boolean;
|
|
63
|
+
network?: boolean;
|
|
64
|
+
bot?: boolean;
|
|
65
|
+
connector?: boolean;
|
|
66
|
+
external_auth_id?: string;
|
|
67
|
+
status?: string;
|
|
68
|
+
idle?: string | false;
|
|
69
|
+
absent?: string | false;
|
|
70
|
+
}
|
|
71
|
+
export interface iBXRestImDialogRecentListChatData extends iBXRestImDialogRecentListChatDataBase {
|
|
72
|
+
/** Дата создания чата */
|
|
73
|
+
date_create: Date;
|
|
74
|
+
}
|
|
75
|
+
export interface iBXRestImDialogRecentListChatDataHttp extends iBXRestImDialogRecentListChatDataBase {
|
|
76
|
+
/** Дата создания чата */
|
|
77
|
+
date_create: string;
|
|
78
|
+
}
|
|
79
|
+
export interface iBXRestImDialogRecentListChatDataBase {
|
|
80
|
+
/** Идентификатор чата */
|
|
81
|
+
id: number;
|
|
82
|
+
/** Название чата */
|
|
83
|
+
name: string;
|
|
84
|
+
/** Владелец чата */
|
|
85
|
+
owner: number;
|
|
86
|
+
/** Признак участия внешнего пользователя */
|
|
87
|
+
extranet: boolean;
|
|
88
|
+
/** Ссылка на аватар чата */
|
|
89
|
+
avatar: string;
|
|
90
|
+
/** Цвет чата */
|
|
91
|
+
color: string;
|
|
92
|
+
/** Тип чата (например, 'chat', 'lines', ...) */
|
|
93
|
+
type: string;
|
|
94
|
+
/** Внешний тип чата */
|
|
95
|
+
entity_type: string;
|
|
96
|
+
/** Внешний идентификатор чата */
|
|
97
|
+
entity_id: string;
|
|
98
|
+
/** Внешние данные для чата (часто технические строки) */
|
|
99
|
+
entity_data_1: string;
|
|
100
|
+
entity_data_2: string;
|
|
101
|
+
entity_data_3: string;
|
|
102
|
+
/** Список заглушенных пользователей (может быть пустым) */
|
|
103
|
+
mute_list: number[];
|
|
104
|
+
/** Список менеджеров чата */
|
|
105
|
+
manager_list: number[];
|
|
106
|
+
/** Тип сообщений в чате */
|
|
107
|
+
message_type: string;
|
|
108
|
+
}
|
|
109
|
+
export interface iBXRestImDialogRecentListLinesData extends iBXRestImDialogRecentListLinesDataBase {
|
|
110
|
+
/** Дата создания */
|
|
111
|
+
date_create: Date;
|
|
112
|
+
}
|
|
113
|
+
export interface iBXRestImDialogRecentListLinesDataHttp extends iBXRestImDialogRecentListLinesDataBase {
|
|
114
|
+
/** Дата создания */
|
|
115
|
+
date_create: string;
|
|
116
|
+
}
|
|
117
|
+
export interface iBXRestImDialogRecentListLinesDataBase {
|
|
118
|
+
/** Идентификатор открытой линии */
|
|
119
|
+
id: number;
|
|
120
|
+
/** Статус линии */
|
|
121
|
+
status: number;
|
|
122
|
+
}
|
|
123
|
+
export interface iBXRestImDialogRecentListChatListItem extends iBXRestImDialogRecentListChatListItemBase {
|
|
124
|
+
/** Уникальный идентификатор (строка chatXXX или число) */
|
|
125
|
+
id: number;
|
|
126
|
+
/** Дата последнего обновления чата */
|
|
127
|
+
date_update: Date;
|
|
128
|
+
/** Информация об открытой линии */
|
|
129
|
+
lines?: iBXRestImDialogRecentListLinesData;
|
|
130
|
+
/** Последнее сообщение */
|
|
131
|
+
message: iBXRestImDialogRecentListMessage;
|
|
132
|
+
/** Информация о чате, если доступна */
|
|
133
|
+
chat?: iBXRestImDialogRecentListChatData;
|
|
134
|
+
/** Информация о пользователе */
|
|
135
|
+
user?: iBXRestImDialogRecentListUserData;
|
|
136
|
+
}
|
|
137
|
+
export interface iBXRestImDialogRecentListChatListItemHttp extends iBXRestImDialogRecentListChatListItemBase {
|
|
138
|
+
/** Уникальный идентификатор (строка chatXXX или число) */
|
|
139
|
+
id: string;
|
|
140
|
+
/** Дата последнего обновления чата */
|
|
141
|
+
date_update: string;
|
|
142
|
+
/** Информация об открытой линии */
|
|
143
|
+
lines?: iBXRestImDialogRecentListLinesDataHttp;
|
|
144
|
+
/** Последнее сообщение */
|
|
145
|
+
message: iBXRestImDialogRecentListMessageHttp;
|
|
146
|
+
/** Информация о чате, если доступна */
|
|
147
|
+
chat?: iBXRestImDialogRecentListChatDataHttp;
|
|
148
|
+
/** Информация о пользователе */
|
|
149
|
+
user?: iBXRestImDialogRecentListUserDataHttp;
|
|
150
|
+
}
|
|
151
|
+
export interface iBXRestImDialogRecentListChatListItemBase {
|
|
152
|
+
/** Идентификатор чата (если применимо) */
|
|
153
|
+
chat_id?: number;
|
|
154
|
+
/** Тип: 'user' или 'chat' */
|
|
155
|
+
type: 'user' | 'chat';
|
|
156
|
+
/** Объект аватара */
|
|
157
|
+
avatar: iBXRestImDialogRecentListAvatar;
|
|
158
|
+
/** Заголовок (имя пользователя или название чата) */
|
|
159
|
+
title: string;
|
|
160
|
+
/** Последнее сообщение */
|
|
161
|
+
message: iBXRestImDialogRecentListMessageBase;
|
|
162
|
+
/** Количество непрочитанных сообщений */
|
|
163
|
+
counter: number;
|
|
164
|
+
/** Признак закрепленного чата */
|
|
165
|
+
pinned: boolean;
|
|
166
|
+
/** Признак непрочитанного чата */
|
|
167
|
+
unread: boolean;
|
|
168
|
+
/** Информация о чате, если доступна */
|
|
169
|
+
chat?: iBXRestImDialogRecentListChatDataBase;
|
|
170
|
+
/** Информация об открытой линии */
|
|
171
|
+
lines?: iBXRestImDialogRecentListLinesDataBase;
|
|
172
|
+
/** Информация о пользователе */
|
|
173
|
+
user?: iBXRestImDialogRecentListUserDataBase;
|
|
174
|
+
/** Дополнительные опции (пока не описаны) */
|
|
175
|
+
options: any[];
|
|
176
|
+
}
|
|
177
|
+
export interface iBXRestImDialogRecentList extends iBXRestImDialogRecentListBase {
|
|
178
|
+
items: iBXRestImDialogRecentListChatListItem[];
|
|
179
|
+
}
|
|
180
|
+
export interface iBXRestImDialogRecentListHttp extends iBXRestImDialogRecentListBase {
|
|
181
|
+
items: iBXRestImDialogRecentListChatListItemHttp[];
|
|
182
|
+
}
|
|
183
|
+
export interface iBXRestImDialogRecentListBase {
|
|
184
|
+
items: iBXRestImDialogRecentListChatListItemBase[];
|
|
185
|
+
}
|
|
186
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { iBXRestYesNo } from '../../../base/yes-no';
|
|
2
|
+
export interface iBXRestImDialogRecentUnreadParam {
|
|
3
|
+
/**
|
|
4
|
+
* Идентификатор диалога. Формат:
|
|
5
|
+
*
|
|
6
|
+
* chatXXX – чат получателя, если сообщение для чата
|
|
7
|
+
* XXX – идентификатор получателя, если сообщение для приватного диалога
|
|
8
|
+
*/
|
|
9
|
+
DIALOG_ID: string | number;
|
|
10
|
+
/** Поставить / снять метку «не прочитан» на диалог - `'Y' */
|
|
11
|
+
ACTION: iBXRestYesNo;
|
|
12
|
+
}
|