bx-rest 0.10.5 → 0.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/consts/part-name-methods.d.ts +165 -0
- package/esm2022/bx-rest.mjs +5 -0
- package/esm2022/consts/part-name-methods.mjs +166 -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/timeline/bindings.mjs +51 -0
- package/esm2022/request-navvy/crm/timeline/comment.mjs +83 -0
- package/esm2022/request-navvy/crm/timeline/icon.mjs +58 -0
- package/esm2022/request-navvy/crm/timeline/index.mjs +38 -0
- package/esm2022/request-navvy/crm/timeline/item.mjs +31 -0
- package/esm2022/request-navvy/crm/timeline/layout/blocks.mjs +45 -0
- package/esm2022/request-navvy/crm/timeline/layout/index.mjs +10 -0
- package/esm2022/request-navvy/crm/timeline/logmessage.mjs +58 -0
- package/esm2022/request-navvy/crm/timeline/logo.mjs +58 -0
- package/esm2022/request-navvy/crm/timeline/note.mjs +43 -0
- package/esm2022/request-navvy/crm.mjs +55 -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 +18 -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/crm/timeline/bindings.mjs +2 -0
- package/esm2022/typification/rest/crm/timeline/comment.mjs +2 -0
- package/esm2022/typification/rest/crm/timeline/common.mjs +2 -0
- package/esm2022/typification/rest/crm/timeline/icon.mjs +2 -0
- package/esm2022/typification/rest/crm/timeline/index.mjs +10 -0
- package/esm2022/typification/rest/crm/timeline/item.mjs +2 -0
- package/esm2022/typification/rest/crm/timeline/layout.mjs +2 -0
- package/esm2022/typification/rest/crm/timeline/logmessage.mjs +2 -0
- package/esm2022/typification/rest/crm/timeline/logo.mjs +2 -0
- package/esm2022/typification/rest/crm/timeline/note.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 +8797 -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/timeline/bindings.d.ts +39 -0
- package/request-navvy/crm/timeline/comment.d.ts +67 -0
- package/request-navvy/crm/timeline/icon.d.ts +46 -0
- package/request-navvy/crm/timeline/index.d.ts +35 -0
- package/request-navvy/crm/timeline/item.d.ts +23 -0
- package/request-navvy/crm/timeline/layout/blocks.d.ts +35 -0
- package/request-navvy/crm/timeline/layout/index.d.ts +7 -0
- package/request-navvy/crm/timeline/logmessage.d.ts +44 -0
- package/request-navvy/crm/timeline/logo.d.ts +46 -0
- package/request-navvy/crm/timeline/note.d.ts +33 -0
- package/request-navvy/crm.d.ts +52 -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 +17 -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/crm/timeline/bindings.d.ts +33 -0
- package/typification/rest/crm/timeline/comment.d.ts +122 -0
- package/typification/rest/crm/timeline/common.d.ts +31 -0
- package/typification/rest/crm/timeline/icon.d.ts +9 -0
- package/typification/rest/crm/timeline/index.d.ts +9 -0
- package/typification/rest/crm/timeline/item.d.ts +9 -0
- package/typification/rest/crm/timeline/layout.d.ts +34 -0
- package/typification/rest/crm/timeline/logmessage.d.ts +52 -0
- package/typification/rest/crm/timeline/logo.d.ts +9 -0
- package/typification/rest/crm/timeline/note.d.ts +31 -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,64 @@
|
|
|
1
|
+
import { iBXRestParamElapseditemGet, iBXRestTaskElapsedItemHttp, iIsActionAllowedParam, iBXRestParamAddElapseditem, iBXRestParamUpdateElapseditem, iBXRestParamDelElapseditem } from '../../../typification/rest/task';
|
|
2
|
+
import { iBXRestUser } from '../../../typification/rest/user';
|
|
3
|
+
import { BXRestNavvyElapsedItem } from '../elapseditem';
|
|
4
|
+
export declare class BXRestNavvyOperationElapsedItem {
|
|
5
|
+
private BXRestNavvyElapsedItem;
|
|
6
|
+
private readonly http;
|
|
7
|
+
private readonly delegate;
|
|
8
|
+
private readonly BXRestNavvyUser;
|
|
9
|
+
private readonly BXRestNavvyTasks;
|
|
10
|
+
constructor(BXRestNavvyElapsedItem: BXRestNavvyElapsedItem);
|
|
11
|
+
getByInterval(idsUsers: number[], dateStart: Date, dateEnd: Date): import("../../../services/navvy").NavvyAlterPagNav<iBXRestTaskElapsedItemHttp, import("../../../typification/rest/task").iBXRestTaskElapsedItem, iBXRestParamElapseditemGet>;
|
|
12
|
+
getListByIDTask(ids: number[]): import("rxjs").Observable<import("../../../typification/rest/task").iBXRestTaskElapsedItem[] | undefined>;
|
|
13
|
+
checkPermissionAddElapsedTimeToTaskArr(tasks: number[], userCurrent?: iBXRestUser | undefined): import("rxjs").Observable<{
|
|
14
|
+
id: number;
|
|
15
|
+
value: boolean;
|
|
16
|
+
}[] | undefined>;
|
|
17
|
+
/**
|
|
18
|
+
* Проверка на возможность добавление записи трека в таску
|
|
19
|
+
*
|
|
20
|
+
* @param idTask
|
|
21
|
+
* @param userCurrent
|
|
22
|
+
*/
|
|
23
|
+
checkPermissionAddElapsedTimeToTask(idTask: number, userCurrent?: iBXRestUser | undefined): import("rxjs").Observable<boolean | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Проверка на возможность прочтения такски
|
|
26
|
+
*
|
|
27
|
+
* @param idTask
|
|
28
|
+
* @param userCurrent
|
|
29
|
+
*/
|
|
30
|
+
checkPermissionReadTask(idTask: number, userCurrent?: iBXRestUser | undefined): import("rxjs").Observable<boolean | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Законченный метод добавления записи с предварительной проверкой прав
|
|
33
|
+
*
|
|
34
|
+
* TODO: добавить сохранение предварительно проверенных записей
|
|
35
|
+
* @param param
|
|
36
|
+
*/
|
|
37
|
+
add(param: iBXRestParamAddElapseditem): import("rxjs").Observable<number | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Законченный метод обновления записи с предварительной проверкой прав
|
|
40
|
+
*
|
|
41
|
+
* TODO: добавить сохранение предварительно проверенных записей
|
|
42
|
+
* @param param
|
|
43
|
+
*/
|
|
44
|
+
update(param: iBXRestParamUpdateElapseditem): import("rxjs").Observable<null | undefined>;
|
|
45
|
+
isAllowedModify(idTask: number, idItem: number): import("rxjs").Observable<boolean | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* isActionAllowed с фиксом на проверку возможности чтения задачи записи
|
|
48
|
+
* (без проверки даёт ошибку)
|
|
49
|
+
*
|
|
50
|
+
* idAction:
|
|
51
|
+
* 1 - ACTION_ELAPSED_TIME_ADD
|
|
52
|
+
* 2 - ACTION_ELAPSED_TIME_MODIFY
|
|
53
|
+
* 3 - ACTION_ELAPSED_TIME_REMOVE
|
|
54
|
+
* @param param
|
|
55
|
+
*/
|
|
56
|
+
isActionAllowed(param: iIsActionAllowedParam): import("rxjs").Observable<boolean | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* Полноценный метод удаления
|
|
59
|
+
*
|
|
60
|
+
* @param param
|
|
61
|
+
*/
|
|
62
|
+
del(param: iBXRestParamDelElapseditem): import("rxjs").Observable<null | undefined>;
|
|
63
|
+
private isAllowedRemove;
|
|
64
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BXRestNavvyElapsedItem } from './task/elapseditem';
|
|
2
|
+
import { BXRestNavvyTaskCommentItem } from './task/commentitem';
|
|
3
|
+
import { BXRestNavvyTaskPlanner } from './task/planner';
|
|
4
|
+
import { BXRestNavvyTaskItem } from './task/item';
|
|
5
|
+
export declare class BXRestNavvyTask {
|
|
6
|
+
readonly elapsedItem: BXRestNavvyElapsedItem;
|
|
7
|
+
readonly commentItem: BXRestNavvyTaskCommentItem;
|
|
8
|
+
readonly planner: BXRestNavvyTaskPlanner;
|
|
9
|
+
readonly item: BXRestNavvyTaskItem;
|
|
10
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { iBXRestParamTasksTaskResultList, iBXParamRestTasksTaskResultAdd, iBXRestTasksTaskResult, iBXRestTasksTaskResultHttp } from '../../../typification/rest/tasks';
|
|
2
|
+
export declare class BXRestNavvyTasksTaskResult {
|
|
3
|
+
url: {
|
|
4
|
+
/**
|
|
5
|
+
* Просмотр списка результатов к задаче
|
|
6
|
+
*/
|
|
7
|
+
list: string[];
|
|
8
|
+
/**
|
|
9
|
+
* Создание результата задачи из комментария
|
|
10
|
+
*/
|
|
11
|
+
addFromComment: string[];
|
|
12
|
+
/**
|
|
13
|
+
* Удаление результата задачи по комментарию из которого он был создан
|
|
14
|
+
*/
|
|
15
|
+
deleteFromComment: string[];
|
|
16
|
+
};
|
|
17
|
+
private Navvy;
|
|
18
|
+
deleteFromComment(commentID: {
|
|
19
|
+
commentId: number;
|
|
20
|
+
}): import("../../../services/navvy").NavvySimple<null, null, {
|
|
21
|
+
commentId: number;
|
|
22
|
+
} | undefined>;
|
|
23
|
+
addFromComment(param: iBXParamRestTasksTaskResultAdd): import("../../../services/navvy").NavvySimple<iBXRestTasksTaskResultHttp, iBXRestTasksTaskResult, iBXParamRestTasksTaskResultAdd | undefined>;
|
|
24
|
+
list(param: iBXRestParamTasksTaskResultList): import("../../../services/navvy").NavvyPag<iBXRestTasksTaskResultHttp, iBXRestTasksTaskResult, iBXRestParamTasksTaskResultList>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { iBXRestParamTaskAdd, iBXRestParamTasksList, iBXRestTaskFieldsName, iBXRestTasksTaskBaseAnswer, iBXRestTask, iBXRestTasksTaskGetFields, iBXRestTasksTaskDeferHttp, iBXRestParamTasksTaskGet, iBXRestTasksTaskGet, iBXRestTasksTaskGetHttp, iBXRestTasksTaskGetHttpDefault, iBXRestTasksTaskFieldsCanUpdate, iBXRestParamTasksTaskApprove, iBXRestTasksTaskApproveHttp, iBXRestParamTasksTaskComplete, iBXRestTasksTaskCompleteHttp, iBXRestParamTasksTaskDefer } from '../../typification/rest/tasks';
|
|
2
|
+
import { BXRestNavvyTasksTaskResult } from './task/result';
|
|
3
|
+
import { iBXRestParamTaskGetAccess, iBXRestTaskGetAccess, iBXRestTaskGetAccessItem } from '../../typification/rest/task';
|
|
4
|
+
import { ToUpperCaseKeys } from '../../typification/base/upper-case-keys';
|
|
5
|
+
import { ObjectToSnake } from 'ts-case-convert/lib/caseConvert';
|
|
6
|
+
import { AllKeyFree } from '../../typification/base/all-key-free';
|
|
7
|
+
export declare class BXRestNavvyTasksTask {
|
|
8
|
+
url: {
|
|
9
|
+
/**
|
|
10
|
+
* Создает задачу
|
|
11
|
+
*/
|
|
12
|
+
add: string[];
|
|
13
|
+
/**
|
|
14
|
+
* Позволяет принять задачу
|
|
15
|
+
*/
|
|
16
|
+
approve: string[];
|
|
17
|
+
/**
|
|
18
|
+
* Переводит задачу в статус «завершена»
|
|
19
|
+
*/
|
|
20
|
+
complete: string[];
|
|
21
|
+
/**
|
|
22
|
+
* Переводит задачу в статус «отложена»
|
|
23
|
+
*/
|
|
24
|
+
defer: string[];
|
|
25
|
+
/**
|
|
26
|
+
* Метод для делегирования задачи
|
|
27
|
+
*/
|
|
28
|
+
delegate: string[];
|
|
29
|
+
/**
|
|
30
|
+
* Возвращает информацию о конкретной задаче
|
|
31
|
+
*/
|
|
32
|
+
get: string[];
|
|
33
|
+
/**
|
|
34
|
+
* Возвращает все доступные поля
|
|
35
|
+
*/
|
|
36
|
+
getFields: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Метод для проверки доступа к задаче
|
|
39
|
+
*/
|
|
40
|
+
getAccess: string[];
|
|
41
|
+
/**
|
|
42
|
+
* Возвращает массив задач, каждая из которых содержит массив полей
|
|
43
|
+
*/
|
|
44
|
+
list: string[];
|
|
45
|
+
/**
|
|
46
|
+
* Обновляет задачу
|
|
47
|
+
*/
|
|
48
|
+
update: string[];
|
|
49
|
+
result: {
|
|
50
|
+
/**
|
|
51
|
+
* Просмотр списка результатов к задаче
|
|
52
|
+
*/
|
|
53
|
+
list: string[];
|
|
54
|
+
/**
|
|
55
|
+
* Создание результата задачи из комментария
|
|
56
|
+
*/
|
|
57
|
+
addFromComment: string[];
|
|
58
|
+
/**
|
|
59
|
+
* Удаление результата задачи по комментарию из которого он был создан
|
|
60
|
+
*/
|
|
61
|
+
deleteFromComment: string[];
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
readonly result: BXRestNavvyTasksTaskResult;
|
|
65
|
+
private readonly Navvy;
|
|
66
|
+
add<CustomFields extends object = object>(param: iBXRestParamTaskAdd<CustomFields>): import("../../services/navvy").NavvySimple<iBXRestTasksTaskBaseAnswer<iBXRestTasksTaskGetHttpDefault>, iBXRestTask, iBXRestParamTaskAdd<CustomFields> | undefined>;
|
|
67
|
+
approve(param: iBXRestParamTasksTaskApprove): import("../../services/navvy").NavvySimple<iBXRestTasksTaskBaseAnswer<iBXRestTasksTaskApproveHttp>, iBXRestTasksTaskBaseAnswer<iBXRestTasksTaskApproveHttp>, iBXRestParamTasksTaskApprove | undefined>;
|
|
68
|
+
complete(param: iBXRestParamTasksTaskComplete): import("../../services/navvy").NavvySimple<iBXRestTasksTaskBaseAnswer<iBXRestTasksTaskCompleteHttp>, iBXRestTasksTaskBaseAnswer<iBXRestTasksTaskCompleteHttp>, iBXRestParamTasksTaskComplete | undefined>;
|
|
69
|
+
defer(param: iBXRestParamTasksTaskDefer): import("../../services/navvy").NavvySimple<iBXRestTasksTaskBaseAnswer<iBXRestTasksTaskDeferHttp>, iBXRestTasksTaskBaseAnswer<iBXRestTasksTaskDeferHttp>, iBXRestParamTasksTaskDefer | undefined>;
|
|
70
|
+
update<CustomFields extends object>(task: AllKeyFree<iBXRestTasksTaskGet<iBXRestTaskFieldsName[], CustomFields>>, updateFields: (iBXRestTasksTaskFieldsCanUpdate | keyof ToUpperCaseKeys<ObjectToSnake<CustomFields>>)[]): import("../../services/navvy").NavvySimple<iBXRestTasksTaskBaseAnswer<iBXRestTasksTaskDeferHttp>, iBXRestTasksTaskBaseAnswer<iBXRestTasksTaskDeferHttp>, any>;
|
|
71
|
+
get<S extends iBXRestTaskFieldsName[], CustomFields extends object = object>(param: iBXRestParamTasksTaskGet<CustomFields>): import("../../services/navvy").NavvySimple<iBXRestTasksTaskGetHttp<S, CustomFields>, iBXRestTasksTaskGet<S, CustomFields>, iBXRestParamTasksTaskGet<CustomFields> | undefined>;
|
|
72
|
+
list<S extends iBXRestTaskFieldsName[], CustomFields extends object = object>(param?: iBXRestParamTasksList<CustomFields>): import("../../services/navvy").NavvyPagNavTasks<import("../../typification/rest/tasks").iBXRestHttpTasksTaskList<S, CustomFields>, import("../../typification/rest/tasks").iBXRestTasksTaskList<S, CustomFields>, iBXRestParamTasksList<CustomFields>>;
|
|
73
|
+
getFields(): import("../../services/navvy").NavvySimple<iBXRestTasksTaskGetFields, iBXRestTasksTaskGetFields, undefined>;
|
|
74
|
+
getAccess(param: iBXRestParamTaskGetAccess): import("../../services/navvy").NavvySimple<iBXRestTaskGetAccess, {
|
|
75
|
+
[key: number]: iBXRestTaskGetAccessItem;
|
|
76
|
+
}, iBXRestParamTaskGetAccess | undefined>;
|
|
77
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { iBXRestParamTimeManClose, iBXRestParamTimeManOpen, iBXRestParamTimeManPause, iBXRestParamTimeManSettings, iBXRestParamTimeManStatus, iBXRestTimeManSettings, iBXRestTimeManStatus, iBXRestTimeManStatusHttp } from '../typification/rest/timeman';
|
|
2
|
+
import { Navvy } from '../services/navvy';
|
|
3
|
+
export declare class BXRestNavvyTimeMan {
|
|
4
|
+
protected readonly url: {
|
|
5
|
+
/**
|
|
6
|
+
* Получение настроек рабочего времени пользователя
|
|
7
|
+
*/
|
|
8
|
+
settings: string[];
|
|
9
|
+
/**
|
|
10
|
+
* Получение информации о текущем рабочем дне пользователя
|
|
11
|
+
*/
|
|
12
|
+
status: string[];
|
|
13
|
+
/**
|
|
14
|
+
* Начать новый рабочий день либо возобновить закрытый или приостановленный
|
|
15
|
+
*/
|
|
16
|
+
open: string[];
|
|
17
|
+
/**
|
|
18
|
+
* Закрыть рабочий день
|
|
19
|
+
*/
|
|
20
|
+
close: string[];
|
|
21
|
+
/**
|
|
22
|
+
* Приостановить рабочий день
|
|
23
|
+
*/
|
|
24
|
+
pause: string[];
|
|
25
|
+
};
|
|
26
|
+
protected Navvy: Navvy;
|
|
27
|
+
status(param?: iBXRestParamTimeManStatus | undefined): import("../services/navvy").NavvySimple<iBXRestTimeManStatusHttp, iBXRestTimeManStatus, iBXRestParamTimeManStatus | undefined>;
|
|
28
|
+
open(param?: iBXRestParamTimeManOpen): import("../services/navvy").NavvySimple<iBXRestTimeManStatusHttp, iBXRestTimeManStatus, iBXRestParamTimeManOpen | undefined>;
|
|
29
|
+
pause(param?: iBXRestParamTimeManPause): import("../services/navvy").NavvySimple<iBXRestTimeManStatusHttp, iBXRestTimeManStatus, iBXRestParamTimeManPause | undefined>;
|
|
30
|
+
close(param?: iBXRestParamTimeManClose): import("../services/navvy").NavvySimple<iBXRestTimeManStatusHttp, iBXRestTimeManStatus, iBXRestParamTimeManClose | undefined>;
|
|
31
|
+
settings(param?: iBXRestParamTimeManSettings): import("../services/navvy").NavvySimple<iBXRestTimeManSettings, iBXRestTimeManSettings, iBXRestParamTimeManSettings | undefined>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { iBXRestUserUserField } from '../../typification/rest/user';
|
|
2
|
+
export declare class BXRestNavvyUserUserfield {
|
|
3
|
+
private url;
|
|
4
|
+
private readonly Navvy;
|
|
5
|
+
list(): import("../../services/navvy").NavvySimple<iBXRestUserUserField[], iBXRestUserUserField[], undefined>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { iBXRestParamUserGet, iBXRestParamUserSearch, iBXRestUser, iBXRestUserHttp, iBXRestUserHttpField } from '../typification/rest/user';
|
|
2
|
+
import { BXRestNavvyUserUserfield } from './user/userfield';
|
|
3
|
+
export declare class BXRestNavvyUser {
|
|
4
|
+
def: {
|
|
5
|
+
params: {
|
|
6
|
+
ACTIVE: boolean;
|
|
7
|
+
start: 0;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
url: {
|
|
11
|
+
admin: string[];
|
|
12
|
+
get: string[];
|
|
13
|
+
current: string[];
|
|
14
|
+
update: string[];
|
|
15
|
+
search: string[];
|
|
16
|
+
access: string[];
|
|
17
|
+
fields: string[];
|
|
18
|
+
};
|
|
19
|
+
readonly userField: BXRestNavvyUserUserfield;
|
|
20
|
+
private readonly Navvy;
|
|
21
|
+
admin(): import("../services/navvy").NavvySimple<boolean, boolean, undefined>;
|
|
22
|
+
get(params?: iBXRestParamUserGet): import("../services/navvy").NavvyPag<iBXRestUserHttp, iBXRestUser, iBXRestParamUserGet>;
|
|
23
|
+
current(): import("../services/navvy").NavvySimple<iBXRestUserHttp, iBXRestUser, undefined>;
|
|
24
|
+
search(params: iBXRestParamUserSearch): import("../services/navvy").NavvyPag<iBXRestUserHttp, iBXRestUser, iBXRestParamUserSearch>;
|
|
25
|
+
access(params: string[]): import("../services/navvy").NavvySimple<boolean, boolean, string[] | undefined>;
|
|
26
|
+
fields(): import("../services/navvy").NavvySimple<iBXRestUserHttpField, iBXRestUserHttpField, undefined>;
|
|
27
|
+
private setDefParam;
|
|
28
|
+
}
|
package/rest/base.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { BXRestUser } from '../request/user';
|
|
2
|
+
import { BXRestLists } from '../request/lists';
|
|
3
|
+
import { BXRestTask } from '../request/task';
|
|
4
|
+
import { BXRestTasks } from '../request/tasks';
|
|
5
|
+
import { BXRestDisk } from '../request/disk';
|
|
6
|
+
import { BXRestBizProc } from '../request/bizproc';
|
|
7
|
+
import { BXRestLog } from '../request/log';
|
|
8
|
+
import { BXRestSonetGroup } from '../request/sonet_group';
|
|
9
|
+
import { BXRestServer } from '../request/server';
|
|
10
|
+
import { BXRestDepartment } from '../request/department';
|
|
11
|
+
import { BXRestApp } from '../request/app';
|
|
12
|
+
import { iBXRestProfileHttp } from '../typification/rest/profile';
|
|
13
|
+
import { iBXRestBatch, iBXRestParamBatch } from '../typification/rest/batch';
|
|
14
|
+
import { BXRestSocialNetWork } from '../request/socialnetwork';
|
|
15
|
+
import { BXRestPull } from '../request/pull';
|
|
16
|
+
export declare class BXRest {
|
|
17
|
+
private readonly http;
|
|
18
|
+
readonly user: BXRestUser;
|
|
19
|
+
readonly lists: BXRestLists;
|
|
20
|
+
readonly task: BXRestTask;
|
|
21
|
+
readonly tasks: BXRestTasks;
|
|
22
|
+
readonly disk: BXRestDisk;
|
|
23
|
+
readonly bizProc: BXRestBizProc;
|
|
24
|
+
readonly log: BXRestLog;
|
|
25
|
+
readonly sonet_group: BXRestSonetGroup;
|
|
26
|
+
readonly server: BXRestServer;
|
|
27
|
+
readonly department: BXRestDepartment;
|
|
28
|
+
readonly app: BXRestApp;
|
|
29
|
+
readonly socialNetWork: BXRestSocialNetWork;
|
|
30
|
+
readonly pull: BXRestPull;
|
|
31
|
+
profile(): import("rxjs").Observable<import("../typification/rest/base").iBXRestAnswer<iBXRestProfileHttp> | undefined>;
|
|
32
|
+
batch<T>(param: iBXRestParamBatch): import("rxjs").Observable<import("../typification/rest/base").iBXRestAnswer<iBXRestBatch<T>> | undefined>;
|
|
33
|
+
}
|
package/rest/map.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BXRestMapLists } from '../map/lists';
|
|
2
|
+
import { BXRestMapUser } from '../map/user';
|
|
3
|
+
import { BXRestMapSonetGroup } from '../map/sonet_group';
|
|
4
|
+
import { BXRestMapServer } from '../map/server';
|
|
5
|
+
import { BXRestDisk } from '../request/disk';
|
|
6
|
+
import { BXRestMapCalendar } from '../map/calendar';
|
|
7
|
+
import { BXRestMapLog } from '../map/log';
|
|
8
|
+
import { BXRestMapTask } from '../map/task';
|
|
9
|
+
import { BXRestMapTasks } from '../map/tasks';
|
|
10
|
+
export declare class BXRestMap {
|
|
11
|
+
get user(): typeof BXRestMapUser;
|
|
12
|
+
get sonet_group(): typeof BXRestMapSonetGroup;
|
|
13
|
+
get server(): typeof BXRestMapServer;
|
|
14
|
+
get lists(): typeof BXRestMapLists;
|
|
15
|
+
get disk(): typeof BXRestDisk;
|
|
16
|
+
get calendar(): typeof BXRestMapCalendar;
|
|
17
|
+
get log(): typeof BXRestMapLog;
|
|
18
|
+
get task(): typeof BXRestMapTask;
|
|
19
|
+
get tasks(): typeof BXRestMapTasks;
|
|
20
|
+
}
|
package/rest/navvy.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Navvy } from '../services/navvy';
|
|
2
|
+
import { BXRestNavvyUser } from '../request-navvy/user';
|
|
3
|
+
import { BXRestNavvyLists } from '../request-navvy/lists';
|
|
4
|
+
import { BXRestNavvyTask } from '../request-navvy/task';
|
|
5
|
+
import { BXRestNavvyTasks } from '../request-navvy/tasks';
|
|
6
|
+
import { BXRestNavvyDisk } from '../request-navvy/disk';
|
|
7
|
+
import { BXRestNavvyBizProc } from '../request-navvy/bizproc';
|
|
8
|
+
import { BXRestNavvyLog } from '../request-navvy/log';
|
|
9
|
+
import { BXRestNavvyCalendar } from '../request-navvy/calendar';
|
|
10
|
+
import { BXRestNavvySonetGroup } from '../request-navvy/sonet_group';
|
|
11
|
+
import { BXRestNavvyServer } from '../request-navvy/server';
|
|
12
|
+
import { BXRestNavvyDepartment } from '../request-navvy/department';
|
|
13
|
+
import { BXRestNavvyIm } from '../request-navvy/im';
|
|
14
|
+
import { BXRestNavvyApp } from '../request-navvy/app';
|
|
15
|
+
import { BXRestNavvyTimeMan } from '../request-navvy/timeman';
|
|
16
|
+
import { BXRestNavvySocialNetWork } from '../request-navvy/socialnetwork';
|
|
17
|
+
import { BXRestNavvyPull } from '../request-navvy/pull';
|
|
18
|
+
import { BXRestNavvyCrm } from '../request-navvy/crm';
|
|
19
|
+
import { iBXRestProfile, iBXRestProfileHttp } from '../typification/rest/profile';
|
|
20
|
+
export declare class BXRestNavvy {
|
|
21
|
+
readonly user: BXRestNavvyUser;
|
|
22
|
+
readonly lists: BXRestNavvyLists;
|
|
23
|
+
readonly task: BXRestNavvyTask;
|
|
24
|
+
readonly tasks: BXRestNavvyTasks;
|
|
25
|
+
readonly disk: BXRestNavvyDisk;
|
|
26
|
+
readonly bizProc: BXRestNavvyBizProc;
|
|
27
|
+
readonly log: BXRestNavvyLog;
|
|
28
|
+
readonly calendar: BXRestNavvyCalendar;
|
|
29
|
+
readonly sonet_group: BXRestNavvySonetGroup;
|
|
30
|
+
readonly server: BXRestNavvyServer;
|
|
31
|
+
readonly department: BXRestNavvyDepartment;
|
|
32
|
+
readonly im: BXRestNavvyIm;
|
|
33
|
+
readonly app: BXRestNavvyApp;
|
|
34
|
+
readonly timeMan: BXRestNavvyTimeMan;
|
|
35
|
+
readonly socialNetWork: BXRestNavvySocialNetWork;
|
|
36
|
+
readonly pull: BXRestNavvyPull;
|
|
37
|
+
readonly crm: BXRestNavvyCrm;
|
|
38
|
+
readonly Navvy: Navvy;
|
|
39
|
+
profile(): import("../services/navvy").NavvySimple<iBXRestProfileHttp, iBXRestProfile, undefined>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { DateTimeOptions } from 'luxon';
|
|
2
|
+
/**
|
|
3
|
+
* Преобразует значение в строку
|
|
4
|
+
*
|
|
5
|
+
* @param val
|
|
6
|
+
* @param throwError
|
|
7
|
+
*/
|
|
8
|
+
export declare function toStr(val: any, throwError?: boolean): string;
|
|
9
|
+
/**
|
|
10
|
+
* Преобразует значение в число
|
|
11
|
+
*/
|
|
12
|
+
export declare function toNum(val: any, throwError?: boolean, defValue?: number): number;
|
|
13
|
+
/**
|
|
14
|
+
* Кастомный тип ошибки для числовых преобразований
|
|
15
|
+
*/
|
|
16
|
+
export declare class ToNumError extends Error {
|
|
17
|
+
readonly value: any;
|
|
18
|
+
constructor(value: any);
|
|
19
|
+
toString(): string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Преобразует значение в дату
|
|
23
|
+
*/
|
|
24
|
+
export declare function toDate(val: number | string | Date, format?: string, opt?: DateTimeOptions, throwError?: boolean): Date;
|
|
25
|
+
/**
|
|
26
|
+
* Преобразует дату в строку с учетом временной зоны
|
|
27
|
+
*
|
|
28
|
+
* @param date
|
|
29
|
+
* @param throwError
|
|
30
|
+
*/
|
|
31
|
+
export declare function toISOStringWithTimezone(date: Date, throwError?: boolean): string;
|
|
32
|
+
/**
|
|
33
|
+
* Преобразует значение в булево значение
|
|
34
|
+
*
|
|
35
|
+
* @param val
|
|
36
|
+
* @param throwError
|
|
37
|
+
*/
|
|
38
|
+
export declare function toBool(val: any, throwError?: boolean): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Преобразует булево значение в 'Y' или 'N'
|
|
41
|
+
*
|
|
42
|
+
* @param val
|
|
43
|
+
*/
|
|
44
|
+
export declare function toBXYorN(val: boolean): string;
|
|
45
|
+
export declare function getBaseUrlHttps(url: string, component?: boolean): string;
|
|
46
|
+
/**
|
|
47
|
+
* Обрезает URL (удаляет протокол)
|
|
48
|
+
*
|
|
49
|
+
* @param url
|
|
50
|
+
*/
|
|
51
|
+
export declare function cropUrl(url: string): string;
|
|
52
|
+
/**
|
|
53
|
+
* Преобразует файл в base64
|
|
54
|
+
*
|
|
55
|
+
* @param file
|
|
56
|
+
*/
|
|
57
|
+
export declare function getBase64File(file: File): Promise<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Получить файл в формате base64 с разбивкой на заголовок и данные
|
|
60
|
+
*
|
|
61
|
+
* @param file
|
|
62
|
+
*/
|
|
63
|
+
export declare function getBase64FileLikeStr(file: File): Promise<{
|
|
64
|
+
header: string;
|
|
65
|
+
val: string;
|
|
66
|
+
} | undefined>;
|
|
67
|
+
export declare function prepareBaseAddress(url: string, add?: string | undefined): string;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { HttpServices } from './http';
|
|
3
|
+
import { iBatchRequestAnswer, iBatchRequestParam, iBatchRequestParamArr, iBatchRequestParamHttp, keyBatch } from '../../typification/rest/batch/batchRequestParam';
|
|
4
|
+
import { iBXRestAnswer } from '../../typification/rest/base/answer';
|
|
5
|
+
export declare class HttpBXServices extends HttpServices {
|
|
6
|
+
/**
|
|
7
|
+
* Это пиздец а не метод
|
|
8
|
+
* TODO: Удалить данный метод после реализации его в разделе Navvy
|
|
9
|
+
* @param param
|
|
10
|
+
*/
|
|
11
|
+
branch<T, A>(param: iBatchRequestParamArr<T> | iBatchRequestParam<T>[]): Observable<iBatchRequestAnswer<A>[] | undefined>;
|
|
12
|
+
prepareBatch<T>(param: iBatchRequestParamArr<T> | iBatchRequestParam<T>[]): iBatchRequestParamHttp;
|
|
13
|
+
mapBranchResult<T>(res: iBatchRequestAnswer<T>[]): Record<keyBatch, T>;
|
|
14
|
+
mapBranchResultWithoutKey<T>(res: iBatchRequestAnswer<T>[]): T[];
|
|
15
|
+
/**
|
|
16
|
+
* Основной метод для запросов
|
|
17
|
+
*
|
|
18
|
+
* @param name
|
|
19
|
+
* @param params
|
|
20
|
+
*/
|
|
21
|
+
post<T>(name: string[], params?: any): Observable<iBXRestAnswer<T> | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Второстепенный метод для запросов. По возможности лучше не использовать
|
|
24
|
+
*
|
|
25
|
+
* @param name
|
|
26
|
+
* @param params
|
|
27
|
+
*/
|
|
28
|
+
get<T>(name: string[], params?: any): Observable<iBXRestAnswer<T> | undefined>;
|
|
29
|
+
httpPost<T>(url: string, params?: any): Observable<T | undefined>;
|
|
30
|
+
serializeBitrixParams(params: unknown): string;
|
|
31
|
+
httpGet<T>(url: string, params?: any): Observable<T | undefined>;
|
|
32
|
+
getNameMethod(arr: string[]): string;
|
|
33
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { iHttpParamSettings } from '../../typification/rest/settings';
|
|
2
|
+
export declare class HttpData {
|
|
3
|
+
defSettings: iHttpParamSettings;
|
|
4
|
+
getHttpParamsPost(obj: any, sendHttpParams?: FormData, nesting?: string[], settings?: iHttpParamSettings): any;
|
|
5
|
+
sliceArrayIntoChunks(arr: any[], chunkSize: number): any[][];
|
|
6
|
+
removingMultipleSlashes(str: string): string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { iHttpParamSettings } from '../../../typification/rest/settings';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { HttpData } from '../HttpData';
|
|
4
|
+
export declare abstract class BaseHttp extends HttpData {
|
|
5
|
+
abstract httpGet<T>(url: string, params: any, settings: iHttpParamSettings): Observable<T | undefined>;
|
|
6
|
+
abstract httpPost<T>(url: string, params: any, settings: iHttpParamSettings): Observable<T | undefined>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { AxiosInstance } from 'axios';
|
|
3
|
+
import { SessionKeyServices } from '../../services/http/sessionKey';
|
|
4
|
+
import { iHttpParamSettings } from '../../typification/rest/settings';
|
|
5
|
+
import { BaseHttp } from './base/base';
|
|
6
|
+
export declare class HttpServices extends BaseHttp {
|
|
7
|
+
protected readonly axiosInstance: AxiosInstance;
|
|
8
|
+
readonly session: SessionKeyServices;
|
|
9
|
+
constructor();
|
|
10
|
+
httpPost<T>(url: string, params?: any, settings?: iHttpParamSettings): Observable<T | undefined>;
|
|
11
|
+
httpGet<T>(url: string, params?: any): Observable<T | undefined>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { iBXRestParams } from '../../typification/base/params';
|
|
3
|
+
import { iBXRestAnswer } from '../../typification/rest/base';
|
|
4
|
+
import { iBXRestAnswers } from '../../typification/base/answers';
|
|
5
|
+
export declare class HttpNavvyServices {
|
|
6
|
+
private readonly httpServices;
|
|
7
|
+
post<T extends keyof iBXRestParams>(url: [T], params?: iBXRestParams[T]): Observable<iBXRestAnswer<iBXRestAnswers[T]> | undefined>;
|
|
8
|
+
post<T extends keyof iBXRestParams, K1 extends keyof iBXRestParams>(url: [T, K1], params?: iBXRestParams[T][K1]): Observable<iBXRestAnswer<iBXRestAnswers[T][K1]> | undefined>;
|
|
9
|
+
post<T extends keyof iBXRestParams, K1 extends keyof iBXRestParams[T], K2 extends keyof iBXRestParams[T][K1]>(url: [T, K1, K2], params?: iBXRestParams[T][K1][K2]): Observable<iBXRestAnswer<iBXRestAnswers[T][K1][K2]> | undefined>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Observable, Subscription } from 'rxjs';
|
|
2
|
+
import { iBXRestAuth } from '../../typification/auth/save';
|
|
3
|
+
type IKeyAuth = 'sessid' | 'auth' | string;
|
|
4
|
+
export declare class SessionKeyError extends Error {
|
|
5
|
+
constructor(message: string);
|
|
6
|
+
}
|
|
7
|
+
export declare class SessionKeyServices {
|
|
8
|
+
authHave: boolean;
|
|
9
|
+
authData: iBXRestAuth | undefined;
|
|
10
|
+
subscribe: {
|
|
11
|
+
authData: Subscription;
|
|
12
|
+
};
|
|
13
|
+
private readonly BX_REST_SETTINGS;
|
|
14
|
+
constructor();
|
|
15
|
+
subscribeAll(): void;
|
|
16
|
+
getAuth(): string;
|
|
17
|
+
getKeyAuth(): IKeyAuth;
|
|
18
|
+
getSessid(): string;
|
|
19
|
+
getAuthParams(): string | undefined;
|
|
20
|
+
getCheckAuthParamsIsOn(): boolean;
|
|
21
|
+
getAuthError(operation?: string): SessionKeyError;
|
|
22
|
+
getBaseUrl(): Observable<string | undefined>;
|
|
23
|
+
getBaseUrlError(operation?: string): SessionKeyError;
|
|
24
|
+
private getAuthCheckedPlaces;
|
|
25
|
+
private getBxSessid;
|
|
26
|
+
private getSearchParam;
|
|
27
|
+
private getCookie;
|
|
28
|
+
private getLocalStorage;
|
|
29
|
+
private setLocalStorage;
|
|
30
|
+
private getSessionItem;
|
|
31
|
+
private getStorageItem;
|
|
32
|
+
private normalizeValue;
|
|
33
|
+
}
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { iBXRestAnswer } from '../../../typification/rest/base/answer';
|
|
3
|
+
import { HttpBXServices } from '../../http/HttpBX';
|
|
4
|
+
import { ReturnTypeNavvy } from '../navvy-support';
|
|
5
|
+
export declare abstract class NavvyPagBase<T, R, P> {
|
|
6
|
+
protected url: string[];
|
|
7
|
+
protected param: P;
|
|
8
|
+
protected map: ((param: T | undefined) => R | undefined) | undefined;
|
|
9
|
+
protected readonly http: HttpBXServices;
|
|
10
|
+
pageSize: number;
|
|
11
|
+
constructor(url: string[], param: P, map?: ((param: T | undefined) => R | undefined) | undefined);
|
|
12
|
+
resVanilla(): Observable<iBXRestAnswer<T> | undefined>;
|
|
13
|
+
mapForVanilla(): Observable<iBXRestAnswer<ReturnTypeNavvy<T, R>> | undefined>;
|
|
14
|
+
res(): Observable<ReturnTypeNavvy<T, R> | undefined>;
|
|
15
|
+
mapAndError<T>(request: Observable<iBXRestAnswer<T> | undefined>): Observable<T | undefined>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReturnTypeNavvy } from './navvy-support';
|
|
2
|
+
import { iBXRestAlternativePagination } from '../../typification/rest/base/api-pagination-bx';
|
|
3
|
+
import { NavvyPagBase } from './extends/navvy-pag-base';
|
|
4
|
+
/**
|
|
5
|
+
* Класс-прослойка-обработчик для методов работающих на альтернативной постраничной навигации тика как методы по
|
|
6
|
+
* затраченному времени на задачи https://dev.1c-bitrix.ru/rest_help/tasks/task/elapseditem/index.php
|
|
7
|
+
*
|
|
8
|
+
* не завершенный класс, работаем от частного к общему
|
|
9
|
+
*/
|
|
10
|
+
export declare class NavvyAlterPagNav<T, R, P extends iBXRestAlternativePagination> extends NavvyPagBase<T[], R[], P> {
|
|
11
|
+
resAll(): import("rxjs").Observable<ReturnTypeNavvy<T, R>[]>;
|
|
12
|
+
private resultAllEnd;
|
|
13
|
+
private mapResultForGetAll;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { iBXRestPagination } from '../../typification/rest/base/api-pagination-bx';
|
|
2
|
+
import { NavvyPagBase } from './extends/navvy-pag-base';
|
|
3
|
+
type KeyedObjectResult<K extends string, T> = Record<K, Record<string, T> | undefined>;
|
|
4
|
+
/** Пагинация для методов, возвращающих коллекцию как объект с идентификаторами в ключах. */
|
|
5
|
+
export declare class NavvyPagNavResultKeyObject<T, R, P extends iBXRestPagination, K extends string> extends NavvyPagBase<KeyedObjectResult<K, T>, R[], P> {
|
|
6
|
+
private readonly key;
|
|
7
|
+
constructor(url: string[], param: P, key: K, mapResult?: (param: KeyedObjectResult<K, T> | undefined) => R[] | undefined);
|
|
8
|
+
resAll(): import("rxjs").Observable<R[] | undefined>;
|
|
9
|
+
private resultAllEnd;
|
|
10
|
+
private mapResult;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { iBXRestPagination } from '../../typification/rest/base/api-pagination-bx';
|
|
2
|
+
import { ReturnTypeNavvy } from './navvy-support';
|
|
3
|
+
import { NavvyPagBase } from './extends/navvy-pag-base';
|
|
4
|
+
type KeyedResult<K extends string, T> = Record<K, T[] | undefined>;
|
|
5
|
+
export declare class NavvyPagNavResultKey<T, R, P extends iBXRestPagination, K extends string> extends NavvyPagBase<KeyedResult<K, T>, R[], P> {
|
|
6
|
+
private readonly key;
|
|
7
|
+
save: ReturnTypeNavvy<T, R>[];
|
|
8
|
+
constructor(url: string[], param: P, key: K, map?: (param: KeyedResult<K, T> | undefined) => R[] | undefined);
|
|
9
|
+
resAll(): import("rxjs").Observable<ReturnTypeNavvy<T, R>[]>;
|
|
10
|
+
private resultAllEnd;
|
|
11
|
+
private mapResForGetAll;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { iBXRestPagination } from '../../typification/rest/base/api-pagination-bx';
|
|
2
|
+
import { ReturnTypeNavvy } from './navvy-support';
|
|
3
|
+
import { NavvyPagBase } from './extends/navvy-pag-base';
|
|
4
|
+
export declare class NavvyPagNavTasks<T, R, P extends iBXRestPagination> extends NavvyPagBase<{
|
|
5
|
+
tasks: T[] | undefined;
|
|
6
|
+
}, R[], P> {
|
|
7
|
+
save: ReturnTypeNavvy<T, R>[];
|
|
8
|
+
resAll(): import("rxjs").Observable<ReturnTypeNavvy<T, R>[]>;
|
|
9
|
+
private resultAllEnd;
|
|
10
|
+
private mapResForGetAll;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { iBXRestPagination } from '../../typification/rest/base/api-pagination-bx';
|
|
2
|
+
import { NavvyPagBase } from './extends/navvy-pag-base';
|
|
3
|
+
import { ReturnTypeNavvy } from './navvy-support';
|
|
4
|
+
export declare class NavvyPagNavWithUselessKey<T, R, P extends iBXRestPagination> extends NavvyPagBase<Record<string, T>, R[], P> {
|
|
5
|
+
save: ReturnTypeNavvy<Record<string, T>, R[]>;
|
|
6
|
+
resAll(): import("rxjs").Observable<R[] | undefined>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { iBXRestPagination } from '../../typification/rest/base/api-pagination-bx';
|
|
2
|
+
import { ReturnTypeNavvy } from './navvy-support';
|
|
3
|
+
import { NavvyPagBase } from './extends/navvy-pag-base';
|
|
4
|
+
export declare class NavvyPag<T, R, P extends iBXRestPagination> extends NavvyPagBase<T[], R[], P> {
|
|
5
|
+
save: ReturnTypeNavvy<T, R>[];
|
|
6
|
+
resAll(): import("rxjs").Observable<ReturnTypeNavvy<T, R>[]>;
|
|
7
|
+
private mapResForGetAll;
|
|
8
|
+
}
|