bx-rest 0.10.5 → 0.10.6
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 +152 -0
- package/esm2022/bx-rest.mjs +5 -0
- package/esm2022/consts/part-name-methods.mjs +153 -0
- package/esm2022/functions/errorHandler.mjs +34 -0
- package/esm2022/functions/mapResult.mjs +10 -0
- package/esm2022/functions/serializeBitrixParams.mjs +24 -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/calllist.mjs +30 -0
- package/esm2022/map/crm/company.mjs +53 -0
- package/esm2022/map/crm/contact.mjs +51 -0
- package/esm2022/map/crm/currency.mjs +36 -0
- package/esm2022/map/crm/deal.mjs +63 -0
- package/esm2022/map/crm/index.mjs +10 -0
- package/esm2022/map/crm/lead.mjs +61 -0
- package/esm2022/map/crm/quote.mjs +72 -0
- package/esm2022/map/crm/status.mjs +26 -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/address.mjs +66 -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/calllist/index.mjs +79 -0
- package/esm2022/request-navvy/crm/calllist/items.mjs +24 -0
- package/esm2022/request-navvy/crm/company.mjs +76 -0
- package/esm2022/request-navvy/crm/contact.mjs +76 -0
- package/esm2022/request-navvy/crm/currency/base.mjs +31 -0
- package/esm2022/request-navvy/crm/currency.mjs +75 -0
- package/esm2022/request-navvy/crm/deal.mjs +76 -0
- package/esm2022/request-navvy/crm/documentgenerator/document.mjs +103 -0
- package/esm2022/request-navvy/crm/documentgenerator/index.mjs +18 -0
- package/esm2022/request-navvy/crm/documentgenerator/numerator.mjs +61 -0
- package/esm2022/request-navvy/crm/documentgenerator/template.mjs +76 -0
- package/esm2022/request-navvy/crm/duplicate/index.mjs +26 -0
- package/esm2022/request-navvy/crm/duplicate/volatile-type.mjs +51 -0
- package/esm2022/request-navvy/crm/entity.mjs +23 -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/requisite/bankdetail.mjs +70 -0
- package/esm2022/request-navvy/crm/requisite/index.mjs +89 -0
- package/esm2022/request-navvy/crm/requisite/link.mjs +62 -0
- package/esm2022/request-navvy/crm/requisite/preset/field.mjs +82 -0
- package/esm2022/request-navvy/crm/requisite/preset/index.mjs +83 -0
- package/esm2022/request-navvy/crm/requisite/userfield.mjs +63 -0
- package/esm2022/request-navvy/crm/status/entity.mjs +32 -0
- package/esm2022/request-navvy/crm/status.mjs +78 -0
- package/esm2022/request-navvy/crm.mjs +52 -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-object.mjs +60 -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 +66 -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/calllist.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/currency.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/documentgenerator.mjs +2 -0
- package/esm2022/typification/rest/crm/duplicate.mjs +2 -0
- package/esm2022/typification/rest/crm/entity.mjs +2 -0
- package/esm2022/typification/rest/crm/enum.mjs +2 -0
- package/esm2022/typification/rest/crm/index.mjs +17 -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/crm/requisite.mjs +2 -0
- package/esm2022/typification/rest/crm/status.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 +8328 -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/calllist.d.ts +8 -0
- package/map/crm/company.d.ts +19 -0
- package/map/crm/contact.d.ts +19 -0
- package/map/crm/currency.d.ts +8 -0
- package/map/crm/deal.d.ts +19 -0
- package/map/crm/index.d.ts +9 -0
- package/map/crm/lead.d.ts +19 -0
- package/map/crm/quote.d.ts +12 -0
- package/map/crm/status.d.ts +9 -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/address.d.ts +46 -0
- package/request-navvy/crm/automatedsolution.d.ts +56 -0
- package/request-navvy/crm/automation/index.d.ts +42 -0
- package/request-navvy/crm/calllist/index.d.ts +58 -0
- package/request-navvy/crm/calllist/items.d.ts +16 -0
- package/request-navvy/crm/company.d.ts +59 -0
- package/request-navvy/crm/contact.d.ts +59 -0
- package/request-navvy/crm/currency/base.d.ts +20 -0
- package/request-navvy/crm/currency.d.ts +51 -0
- package/request-navvy/crm/deal.d.ts +59 -0
- package/request-navvy/crm/documentgenerator/document.d.ts +92 -0
- package/request-navvy/crm/documentgenerator/index.d.ts +15 -0
- package/request-navvy/crm/documentgenerator/numerator.d.ts +51 -0
- package/request-navvy/crm/documentgenerator/template.d.ts +65 -0
- package/request-navvy/crm/duplicate/index.d.ts +18 -0
- package/request-navvy/crm/duplicate/volatile-type.d.ts +34 -0
- package/request-navvy/crm/entity.d.ts +15 -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/requisite/bankdetail.d.ts +47 -0
- package/request-navvy/crm/requisite/index.d.ts +66 -0
- package/request-navvy/crm/requisite/link.d.ts +42 -0
- package/request-navvy/crm/requisite/preset/field.d.ts +56 -0
- package/request-navvy/crm/requisite/preset/index.d.ts +57 -0
- package/request-navvy/crm/requisite/userfield.d.ts +43 -0
- package/request-navvy/crm/status/entity.d.ts +20 -0
- package/request-navvy/crm/status.d.ts +54 -0
- package/request-navvy/crm.d.ts +49 -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-object.d.ts +12 -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 +35 -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/calllist.d.ts +117 -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/currency.d.ts +146 -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/documentgenerator.d.ts +200 -0
- package/typification/rest/crm/duplicate.d.ts +57 -0
- package/typification/rest/crm/entity.d.ts +29 -0
- package/typification/rest/crm/enum.d.ts +46 -0
- package/typification/rest/crm/index.d.ts +16 -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/crm/requisite.d.ts +369 -0
- package/typification/rest/crm/status.d.ts +167 -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,167 @@
|
|
|
1
|
+
import { iBXRestPagination } from '../base/api-pagination-bx';
|
|
2
|
+
import { iBXRestParamSort } from '../base/sort';
|
|
3
|
+
import { iBXRestYesNo } from '../base/yes-no';
|
|
4
|
+
import { iBXRestCrmFieldDescription } from './enum';
|
|
5
|
+
/** Группа стадии: успех, провал или стадия в работе. */
|
|
6
|
+
export type iBXRestCrmStatusSemantics = 'S' | 'F' | '';
|
|
7
|
+
/** Поля нового элемента справочника CRM. */
|
|
8
|
+
export interface iBXRestCrmStatusAddFields {
|
|
9
|
+
/** Символьный идентификатор справочника, например `DEAL_STAGE` или `SOURCE`. */
|
|
10
|
+
ENTITY_ID: string;
|
|
11
|
+
/** Уникальный в рамках справочника код значения. */
|
|
12
|
+
STATUS_ID: string;
|
|
13
|
+
/** Отображаемое название значения. */
|
|
14
|
+
NAME: string;
|
|
15
|
+
/** Позиция значения в справочнике. По умолчанию 10. */
|
|
16
|
+
SORT?: number;
|
|
17
|
+
/** Цвет стадии в формате hex, например `#39A8EF`. */
|
|
18
|
+
COLOR?: string;
|
|
19
|
+
/** Группа стадии: `S` — успех, `F` — провал, пустая строка — в работе. */
|
|
20
|
+
SEMANTICS?: iBXRestCrmStatusSemantics;
|
|
21
|
+
}
|
|
22
|
+
/** Изменяемые поля элемента справочника CRM. */
|
|
23
|
+
export interface iBXRestCrmStatusUpdateFields {
|
|
24
|
+
/** Новое отображаемое название. */
|
|
25
|
+
NAME?: string;
|
|
26
|
+
/** Новая позиция в справочнике. */
|
|
27
|
+
SORT?: number;
|
|
28
|
+
/** Новый цвет стадии в формате hex. */
|
|
29
|
+
COLOR?: string;
|
|
30
|
+
}
|
|
31
|
+
/** Параметры метода `crm.status.add`. */
|
|
32
|
+
export interface iBXRestParamCrmStatusAdd {
|
|
33
|
+
/** Поля нового элемента справочника. */
|
|
34
|
+
fields: iBXRestCrmStatusAddFields;
|
|
35
|
+
}
|
|
36
|
+
/** Параметры метода `crm.status.update`. */
|
|
37
|
+
export interface iBXRestParamCrmStatusUpdate {
|
|
38
|
+
/** Числовой идентификатор изменяемого элемента. */
|
|
39
|
+
id: number;
|
|
40
|
+
/** Изменяемые поля элемента справочника. */
|
|
41
|
+
fields: iBXRestCrmStatusUpdateFields;
|
|
42
|
+
}
|
|
43
|
+
/** Параметры методов, принимающих идентификатор элемента справочника. */
|
|
44
|
+
export interface iBXRestParamCrmStatusId {
|
|
45
|
+
/** Числовой идентификатор элемента справочника. */
|
|
46
|
+
id: number;
|
|
47
|
+
}
|
|
48
|
+
/** Параметры метода `crm.status.get`. */
|
|
49
|
+
export type iBXRestParamCrmStatusGet = iBXRestParamCrmStatusId;
|
|
50
|
+
/** Параметры метода `crm.status.delete`. */
|
|
51
|
+
export interface iBXRestParamCrmStatusDelete extends iBXRestParamCrmStatusId {
|
|
52
|
+
params?: {
|
|
53
|
+
/** Разрешает удалить системный элемент справочника. По умолчанию `N`. */
|
|
54
|
+
FORCED?: iBXRestYesNo;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
/** Поля элемента справочника, доступные для сортировки и фильтрации. */
|
|
58
|
+
export type iBXRestCrmStatusField = 'ID' | 'ENTITY_ID' | 'STATUS_ID' | 'SORT' | 'NAME' | 'NAME_INIT' | 'SYSTEM' | 'CATEGORY_ID' | 'COLOR' | 'SEMANTICS' | 'EXTRA';
|
|
59
|
+
/** Параметры метода `crm.status.list`. */
|
|
60
|
+
export interface iBXRestParamCrmStatusList extends iBXRestPagination {
|
|
61
|
+
/** Порядок сортировки элементов по полям справочника. */
|
|
62
|
+
order?: Partial<Record<iBXRestCrmStatusField, iBXRestParamSort>>;
|
|
63
|
+
/** Фильтр по полям справочника, включая REST-префиксы операторов. */
|
|
64
|
+
filter?: Record<string, any>;
|
|
65
|
+
}
|
|
66
|
+
/** Параметры метода `crm.status.entity.items`. */
|
|
67
|
+
export interface iBXRestParamCrmStatusEntityItems {
|
|
68
|
+
/** Символьный идентификатор справочника, например `DEAL_STAGE` или `SOURCE`. */
|
|
69
|
+
entityId: string;
|
|
70
|
+
}
|
|
71
|
+
/** Дополнительные данные элемента справочника. */
|
|
72
|
+
export interface iBXRestCrmStatusExtra extends Record<string, any> {
|
|
73
|
+
/** Семантика стадии в человекочитаемом формате. */
|
|
74
|
+
SEMANTICS?: string;
|
|
75
|
+
/** Цвет стадии в формате hex. */
|
|
76
|
+
COLOR?: string;
|
|
77
|
+
}
|
|
78
|
+
interface iBXRestCrmStatusBase {
|
|
79
|
+
/** Символьный идентификатор справочника. */
|
|
80
|
+
ENTITY_ID: string;
|
|
81
|
+
/** Код значения, используемый в полях элементов CRM. */
|
|
82
|
+
STATUS_ID: string;
|
|
83
|
+
/** Отображаемое название. */
|
|
84
|
+
NAME: string;
|
|
85
|
+
/** Исходное системное название. */
|
|
86
|
+
NAME_INIT: string;
|
|
87
|
+
/** Цвет стадии в формате hex. */
|
|
88
|
+
COLOR: string;
|
|
89
|
+
/** Группа стадии. */
|
|
90
|
+
SEMANTICS: iBXRestCrmStatusSemantics | null;
|
|
91
|
+
/** Дополнительные данные элемента. */
|
|
92
|
+
EXTRA?: iBXRestCrmStatusExtra;
|
|
93
|
+
}
|
|
94
|
+
/** Элемент справочника CRM в локальном формате библиотеки. */
|
|
95
|
+
export interface iBXRestCrmStatus extends iBXRestCrmStatusBase {
|
|
96
|
+
/** Числовой идентификатор элемента. */
|
|
97
|
+
ID: number;
|
|
98
|
+
/** Позиция элемента в справочнике. */
|
|
99
|
+
SORT: number;
|
|
100
|
+
/** Является ли элемент системным. */
|
|
101
|
+
SYSTEM: boolean;
|
|
102
|
+
/** Идентификатор воронки для статуса-стадии. */
|
|
103
|
+
CATEGORY_ID: number | null;
|
|
104
|
+
}
|
|
105
|
+
/** Элемент справочника CRM в формате ответа Bitrix24. */
|
|
106
|
+
export interface iBXRestCrmStatusHttp extends iBXRestCrmStatusBase {
|
|
107
|
+
ID: string;
|
|
108
|
+
SORT: string;
|
|
109
|
+
SYSTEM: iBXRestYesNo;
|
|
110
|
+
CATEGORY_ID: string | null;
|
|
111
|
+
}
|
|
112
|
+
/** Краткое представление элемента, возвращаемое `crm.status.entity.items`. */
|
|
113
|
+
export interface iBXRestCrmStatusEntityItem {
|
|
114
|
+
/** Отображаемое название. */
|
|
115
|
+
NAME: string;
|
|
116
|
+
/** Позиция элемента в справочнике. */
|
|
117
|
+
SORT: number;
|
|
118
|
+
/** Код значения, используемый в полях элементов CRM. */
|
|
119
|
+
STATUS_ID: string;
|
|
120
|
+
}
|
|
121
|
+
/** Семантические границы справочника стадий. */
|
|
122
|
+
export interface iBXRestCrmStatusSemanticInfo {
|
|
123
|
+
/** Код начальной стадии. */
|
|
124
|
+
START_FIELD: string;
|
|
125
|
+
/** Код успешной финальной стадии. */
|
|
126
|
+
FINAL_SUCCESS_FIELD: string;
|
|
127
|
+
/** Код неуспешной финальной стадии. */
|
|
128
|
+
FINAL_UNSUCCESS_FIELD: string;
|
|
129
|
+
/** Позиция финальной стадии. */
|
|
130
|
+
FINAL_SORT: number;
|
|
131
|
+
}
|
|
132
|
+
interface iBXRestCrmStatusEntityTypeBase {
|
|
133
|
+
/** Символьный идентификатор справочника для параметра `ENTITY_ID`. */
|
|
134
|
+
ID: string;
|
|
135
|
+
/** Отображаемое название справочника. */
|
|
136
|
+
NAME: string;
|
|
137
|
+
/** Тип объекта CRM, к которому относится справочник стадий. */
|
|
138
|
+
ENTITY_TYPE_ID?: number;
|
|
139
|
+
/** Семантические границы стадий; некоторые типы API возвращают пустой массив. */
|
|
140
|
+
SEMANTIC_INFO?: iBXRestCrmStatusSemanticInfo | [];
|
|
141
|
+
/** Префикс кода стадии воронки. */
|
|
142
|
+
PREFIX?: string;
|
|
143
|
+
/** Область применения поля, соответствующая воронке. */
|
|
144
|
+
FIELD_ATTRIBUTE_SCOPE?: string;
|
|
145
|
+
/** Активен ли тип справочника. */
|
|
146
|
+
IS_ENABLED?: boolean;
|
|
147
|
+
/** Идентификатор родительского справочника. */
|
|
148
|
+
PARENT_ID?: string;
|
|
149
|
+
/** Название воронки. */
|
|
150
|
+
CATEGORY_NAME?: string;
|
|
151
|
+
/** Позиция воронки. */
|
|
152
|
+
CATEGORY_SORT?: number;
|
|
153
|
+
/** Является ли воронка воронкой по умолчанию. */
|
|
154
|
+
IS_DEFAULT_CATEGORY?: boolean;
|
|
155
|
+
}
|
|
156
|
+
/** Описание типа справочника в локальном формате библиотеки. */
|
|
157
|
+
export interface iBXRestCrmStatusEntityType extends iBXRestCrmStatusEntityTypeBase {
|
|
158
|
+
/** Идентификатор воронки. */
|
|
159
|
+
CATEGORY_ID?: number;
|
|
160
|
+
}
|
|
161
|
+
/** Описание типа справочника в формате ответа Bitrix24. */
|
|
162
|
+
export interface iBXRestCrmStatusEntityTypeHttp extends iBXRestCrmStatusEntityTypeBase {
|
|
163
|
+
CATEGORY_ID?: number | string;
|
|
164
|
+
}
|
|
165
|
+
/** Описание полей, возвращаемое методом `crm.status.fields`. */
|
|
166
|
+
export type iBXRestCrmStatusFields = Record<iBXRestCrmStatusField, iBXRestCrmFieldDescription>;
|
|
167
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface iBXRestDepartment extends iBXRestDepartmentBase {
|
|
2
|
+
ID: number;
|
|
3
|
+
PARENT?: number;
|
|
4
|
+
UF_HEAD: number;
|
|
5
|
+
}
|
|
6
|
+
export interface iBXRestDepartmentHttp extends iBXRestDepartmentBase {
|
|
7
|
+
ID: string;
|
|
8
|
+
PARENT?: string;
|
|
9
|
+
UF_HEAD: string;
|
|
10
|
+
}
|
|
11
|
+
export interface iBXRestDepartmentBase {
|
|
12
|
+
NAME: string;
|
|
13
|
+
SORT: number;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { iBXRestPagination } from '../base/api-pagination-bx';
|
|
2
|
+
import { iBXRestParamSort } from '../base/sort';
|
|
3
|
+
export interface iBXRestParamDepartmentGet extends iBXRestPagination {
|
|
4
|
+
ID?: number | number[];
|
|
5
|
+
NAME?: string;
|
|
6
|
+
SORT?: number;
|
|
7
|
+
PARENT?: number;
|
|
8
|
+
UF_HEAD?: number;
|
|
9
|
+
ORDER?: iBXRestParamSort;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Файл для возможности импорта интерфейсов подразделений в локальные проекты
|
|
3
|
+
*/
|
|
4
|
+
export * from './department/add';
|
|
5
|
+
export * from './department/del';
|
|
6
|
+
export * from './department/department';
|
|
7
|
+
export * from './department/get';
|
|
8
|
+
export * from './department/update';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface iBXRestParamRestDiskAttachedObject {
|
|
2
|
+
id: number;
|
|
3
|
+
}
|
|
4
|
+
export interface iBXRestDiskAttachedObject extends iBXRestDiskAttachedObjectBase {
|
|
5
|
+
ID: number;
|
|
6
|
+
OBJECT_ID: number;
|
|
7
|
+
ENTITY_ID: number;
|
|
8
|
+
CREATE_TIME: Date;
|
|
9
|
+
CREATED_BY: number;
|
|
10
|
+
SIZE: number;
|
|
11
|
+
}
|
|
12
|
+
export interface iBXRestDiskAttachedObjectHttp extends iBXRestDiskAttachedObjectBase {
|
|
13
|
+
ID: string;
|
|
14
|
+
OBJECT_ID: string;
|
|
15
|
+
ENTITY_ID: string;
|
|
16
|
+
CREATE_TIME: string;
|
|
17
|
+
CREATED_BY: string;
|
|
18
|
+
SIZE: string;
|
|
19
|
+
}
|
|
20
|
+
interface iBXRestDiskAttachedObjectBase {
|
|
21
|
+
MODULE_ID: string;
|
|
22
|
+
ENTITY_TYPE: string;
|
|
23
|
+
DOWNLOAD_URL: string;
|
|
24
|
+
NAME: string;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { iBXRestFolderOrFile, iBXRestFolderOrFileBase } from './folder';
|
|
2
|
+
export type iBXRestParamDiskFileMarkDeleted = iBXRestParamDiskFile;
|
|
3
|
+
export type iBXRestParamDiskFileGet = iBXRestParamDiskFile;
|
|
4
|
+
export interface iBXRestParamDiskFile {
|
|
5
|
+
id: number;
|
|
6
|
+
}
|
|
7
|
+
export interface iBXRestDiskFile extends iBXRestFolderOrFile, iBXRestDiskFileBase {
|
|
8
|
+
SIZE: number;
|
|
9
|
+
FILE_ID: number;
|
|
10
|
+
}
|
|
11
|
+
export interface iBXRestDiskFileHttp extends iBXRestFolderOrFile, iBXRestDiskFileBase {
|
|
12
|
+
SIZE: string;
|
|
13
|
+
FILE_ID: string;
|
|
14
|
+
}
|
|
15
|
+
export interface iBXRestDiskFileBase extends iBXRestFolderOrFileBase {
|
|
16
|
+
DOWNLOAD_URL: string;
|
|
17
|
+
GLOBAL_CONTENT_VERSION: number;
|
|
18
|
+
TYPE: 'file';
|
|
19
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { iBXRestFolder } from '../folder';
|
|
2
|
+
export type iBXRestDiskFolderGetFieldsHttp = {
|
|
3
|
+
[key in keyof iBXRestFolder]: iBXRestDiskFolderGetFieldsHttpElement;
|
|
4
|
+
};
|
|
5
|
+
export interface iBXRestDiskFolderGetFieldsHttpElement {
|
|
6
|
+
TYPE: 'integer' | 'string' | 'enum' | 'datetime';
|
|
7
|
+
USE_IN_FILTER: boolean;
|
|
8
|
+
USE_IN_SHOW: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface iBXRestDiskFolderUploadFileParam {
|
|
2
|
+
id: number;
|
|
3
|
+
fileContent: string;
|
|
4
|
+
data: {
|
|
5
|
+
NAME: string;
|
|
6
|
+
};
|
|
7
|
+
generateUniqueName?: boolean;
|
|
8
|
+
rights?: [];
|
|
9
|
+
}
|
|
10
|
+
export interface iBXRestDiskFolderUploadFileParamRights {
|
|
11
|
+
TASK_ID: number;
|
|
12
|
+
ACCESS_CODE: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export interface iBXRestParamFolderGet extends iBXRestParamFolder {
|
|
2
|
+
}
|
|
3
|
+
export interface iBXRestParamFolderDeleteTree extends iBXRestParamFolder {
|
|
4
|
+
}
|
|
5
|
+
export interface iBXRestParamFolderMarkDeleted extends iBXRestParamFolder {
|
|
6
|
+
}
|
|
7
|
+
export interface iBXRestParamFolderRestore extends iBXRestParamFolder {
|
|
8
|
+
}
|
|
9
|
+
export interface iBXRestParamFolderGetExternalLink extends iBXRestParamFolder {
|
|
10
|
+
}
|
|
11
|
+
export interface iBXRestParamFolderGetChildren extends iBXRestParamFolder {
|
|
12
|
+
}
|
|
13
|
+
export interface iBXRestParamFolder {
|
|
14
|
+
id: number;
|
|
15
|
+
}
|
|
16
|
+
export interface iBXRestFolderInfo {
|
|
17
|
+
ID: number;
|
|
18
|
+
NAME: string;
|
|
19
|
+
CODE: null | string;
|
|
20
|
+
MODULE_ID: string;
|
|
21
|
+
ENTITY_TYPE: string;
|
|
22
|
+
ENTITY_ID: string;
|
|
23
|
+
ROOT_OBJECT_ID: number;
|
|
24
|
+
}
|
|
25
|
+
export interface iBXRestFolder extends iBXRestFolderOrFile, iBXRestFolderBase {
|
|
26
|
+
}
|
|
27
|
+
export interface iBXRestFolderHttp extends iBXRestFolderOrFileHttp, iBXRestFolderBase {
|
|
28
|
+
}
|
|
29
|
+
export interface iBXRestFolderBase extends iBXRestFolderOrFileBase {
|
|
30
|
+
TYPE: 'folder';
|
|
31
|
+
}
|
|
32
|
+
export interface iBXRestFolderOrFile extends iBXRestFolderOrFileBase {
|
|
33
|
+
CREATED_BY: number;
|
|
34
|
+
CREATE_TIME: Date;
|
|
35
|
+
DELETED_BY: number;
|
|
36
|
+
DELETED_TYPE: number;
|
|
37
|
+
DELETE_TIME: null | Date;
|
|
38
|
+
ID: number;
|
|
39
|
+
PARENT_ID: number;
|
|
40
|
+
REAL_OBJECT_ID: number;
|
|
41
|
+
STORAGE_ID: number;
|
|
42
|
+
UPDATED_BY: number;
|
|
43
|
+
UPDATE_TIME: Date;
|
|
44
|
+
}
|
|
45
|
+
export interface iBXRestFolderOrFileHttp extends iBXRestFolderOrFileBase {
|
|
46
|
+
CREATED_BY: string;
|
|
47
|
+
CREATE_TIME: string;
|
|
48
|
+
DELETED_BY: string;
|
|
49
|
+
DELETED_TYPE: string;
|
|
50
|
+
DELETE_TIME: null | string;
|
|
51
|
+
ID: string;
|
|
52
|
+
PARENT_ID: string;
|
|
53
|
+
REAL_OBJECT_ID: string;
|
|
54
|
+
STORAGE_ID: string;
|
|
55
|
+
UPDATED_BY: string;
|
|
56
|
+
UPDATE_TIME: string;
|
|
57
|
+
}
|
|
58
|
+
export interface iBXRestFolderOrFileBase {
|
|
59
|
+
CODE: null;
|
|
60
|
+
DETAIL_URL: null | string;
|
|
61
|
+
NAME: string;
|
|
62
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Файл для возможности импорта интерфейсов Disk в локальные проекты
|
|
3
|
+
*/
|
|
4
|
+
export * from './disk/AttachedObject';
|
|
5
|
+
export * from './disk/file';
|
|
6
|
+
export * from './disk/folder';
|
|
7
|
+
export * from './disk/folder/addSubFolder';
|
|
8
|
+
export * from './disk/folder/copyTo';
|
|
9
|
+
export * from './disk/folder/getFields';
|
|
10
|
+
export * from './disk/folder/moveTo';
|
|
11
|
+
export * from './disk/folder/rename';
|
|
12
|
+
export * from './disk/folder/uploadFile';
|
|
13
|
+
export * from './disk/map';
|
|
14
|
+
export * from './disk/storage/getchildren';
|
|
15
|
+
export * from './disk/storage/uploadfile';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface iBXRestImChatAddParam {
|
|
2
|
+
TYPE?: 'OPEN' | 'CHAT';
|
|
3
|
+
TITLE?: string;
|
|
4
|
+
DESCRIPTION?: string;
|
|
5
|
+
COLOR?: string;
|
|
6
|
+
MESSAGE?: string;
|
|
7
|
+
USERS: number[];
|
|
8
|
+
AVATAR?: string;
|
|
9
|
+
ENTITY_TYPE?: string;
|
|
10
|
+
ENTITY_ID?: number;
|
|
11
|
+
OWNER_ID?: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface iBXRestImChatGetParam {
|
|
2
|
+
/**
|
|
3
|
+
* Идентификатор сущности. Может быть использован для поиска чата и для легкого определения контекста в обработчиках событий:
|
|
4
|
+
*
|
|
5
|
+
* ONIMBOTMESSAGEADD
|
|
6
|
+
* ONIMBOTMESSAGEUPDATE
|
|
7
|
+
* ONIMBOTMESSAGEDELETE
|
|
8
|
+
*/
|
|
9
|
+
ENTITY_TYPE: string;
|
|
10
|
+
/**
|
|
11
|
+
* Числовой идентификатор сущности. Может быть использован для поиска чата и для легкого определения контекста в обработчиках событий:
|
|
12
|
+
*
|
|
13
|
+
* ONIMBOTMESSAGEADD
|
|
14
|
+
* ONIMBOTMESSAGEUPDATE
|
|
15
|
+
* ONIMBOTMESSAGEDELETE
|
|
16
|
+
*/
|
|
17
|
+
ENTITY_ID: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { iBXRestYesNo } from '../../base/yes-no';
|
|
2
|
+
export interface iBXRestImChatMuteParam {
|
|
3
|
+
/** Идентификатор чата */
|
|
4
|
+
CHAT_ID: number;
|
|
5
|
+
/**
|
|
6
|
+
* Варианты ключа MUTE: Y для отключения уведомлений и N для включения
|
|
7
|
+
*/
|
|
8
|
+
/** Идентификатор чата */
|
|
9
|
+
MUTE: iBXRestYesNo;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface iBXRestImChatUpdateColor {
|
|
2
|
+
/** Идентификатор чата */
|
|
3
|
+
CHAT_ID: number;
|
|
4
|
+
/**
|
|
5
|
+
* Цвет чата для мобильного приложения
|
|
6
|
+
* (RED, GREEN, MINT, LIGHT_BLUE, DARK_BLUE, PURPLE, AQUA, PINK, LIME, BROWN, AZURE, KHAKI, SAND, MARENGO, GRAY, GRAPHITE)
|
|
7
|
+
*/
|
|
8
|
+
COLOR: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { iBXRestYesNo } from '../../../base/yes-no';
|
|
2
|
+
export interface iBXRestImChatUserAddParam {
|
|
3
|
+
/** Идентификатор чата */
|
|
4
|
+
CHAT_ID: number;
|
|
5
|
+
/** Идентификаторы новых пользователей*/
|
|
6
|
+
USERS: number[];
|
|
7
|
+
/**
|
|
8
|
+
* Отображение истории переписки для пользователя, которого добавляют в чат этим методом.
|
|
9
|
+
* Y/N - по умолчанию N. Если передать Y, то новый пользователь не будет видеть историю.
|
|
10
|
+
*/
|
|
11
|
+
HIDE_HISTORY: iBXRestYesNo;
|
|
12
|
+
}
|
|
@@ -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
|
+
}
|