bx-rest 0.5.3 → 0.6.1
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/README.md +95 -52
- package/esm2022/map/app.mjs +5 -15
- package/esm2022/map/calendar/event.mjs +28 -38
- package/esm2022/map/calendar/section.mjs +17 -0
- package/esm2022/map/calendar.mjs +2 -12
- package/esm2022/map/department.mjs +2 -12
- package/esm2022/map/disk/attachedObject.mjs +13 -22
- package/esm2022/map/disk/base.mjs +45 -55
- package/esm2022/map/disk/file.mjs +5 -15
- package/esm2022/map/disk/folder.mjs +5 -15
- package/esm2022/map/disk/storage.mjs +11 -17
- package/esm2022/map/lists/element.mjs +7 -17
- package/esm2022/map/lists/field.mjs +2 -12
- package/esm2022/map/lists.mjs +42 -53
- package/esm2022/map/log/blogpost.mjs +30 -40
- package/esm2022/map/log.mjs +2 -12
- package/esm2022/map/rest.mjs +5 -15
- package/esm2022/map/server.mjs +5 -15
- package/esm2022/map/socialnetwork/api/livefeed/blogpost/important.mjs +4 -17
- package/esm2022/map/sonet_group.mjs +13 -23
- package/esm2022/map/task/commentitem.mjs +17 -27
- package/esm2022/map/task/elapseditem.mjs +16 -26
- package/esm2022/map/task/item/userfield.mjs +5 -15
- package/esm2022/map/task/planner.mjs +5 -15
- package/esm2022/map/task/stages.mjs +7 -17
- package/esm2022/map/task.mjs +4 -14
- package/esm2022/map/tasks/task/result.mjs +10 -20
- package/esm2022/map/tasks/task.mjs +41 -52
- package/esm2022/map/tasks.mjs +2 -12
- package/esm2022/map/timeman.mjs +2 -12
- package/esm2022/map/user.mjs +22 -32
- package/esm2022/public-api.mjs +7 -5
- package/esm2022/request/app.mjs +2 -12
- package/esm2022/request/bizproc/activity.mjs +1 -11
- package/esm2022/request/bizproc/event.mjs +1 -11
- package/esm2022/request/bizproc/robot.mjs +1 -11
- package/esm2022/request/bizproc/task.mjs +1 -11
- package/esm2022/request/bizproc/workflow/instance.mjs +1 -11
- package/esm2022/request/bizproc/workflow/template.mjs +1 -12
- package/esm2022/request/bizproc/workflow.mjs +4 -14
- package/esm2022/request/bizproc.mjs +6 -16
- package/esm2022/request/calendar/event.mjs +2 -12
- package/esm2022/request/calendar.mjs +2 -12
- package/esm2022/request/department.mjs +4 -19
- package/esm2022/request/disk/attachedObject.mjs +2 -12
- package/esm2022/request/disk/file.mjs +2 -12
- package/esm2022/request/disk/folder.mjs +2 -12
- package/esm2022/request/disk/storage.mjs +2 -12
- package/esm2022/request/disk.mjs +4 -14
- package/esm2022/request/im/chat.mjs +2 -12
- package/esm2022/request/im.mjs +2 -12
- package/esm2022/request/lists/element.mjs +2 -12
- package/esm2022/request/lists/field.mjs +28 -15
- package/esm2022/request/lists.mjs +74 -17
- package/esm2022/request/log/blogcomment.mjs +1 -11
- package/esm2022/request/log/blogpost.mjs +2 -12
- package/esm2022/request/log.mjs +3 -13
- package/esm2022/request/server.mjs +2 -12
- package/esm2022/request/socialnetwork/api/contentview.mjs +2 -12
- package/esm2022/request/socialnetwork/api/livefeed/blogpost/important.mjs +2 -12
- package/esm2022/request/socialnetwork/api/livefeed/blogpost.mjs +2 -12
- package/esm2022/request/socialnetwork/api/livefeed.mjs +2 -12
- package/esm2022/request/socialnetwork/api.mjs +3 -13
- package/esm2022/request/socialnetwork.mjs +3 -13
- package/esm2022/request/sonet_group.mjs +2 -12
- package/esm2022/request/task/commentitem.mjs +2 -12
- package/esm2022/request/task/elapseditem.mjs +2 -12
- package/esm2022/request/task/item/userfield.mjs +2 -12
- package/esm2022/request/task/item.mjs +2 -12
- package/esm2022/request/task/planner.mjs +2 -12
- package/esm2022/request/task.mjs +5 -15
- package/esm2022/request/tasks/task/result.mjs +2 -12
- package/esm2022/request/tasks/task.mjs +3 -13
- package/esm2022/request/tasks.mjs +2 -12
- package/esm2022/request/timeman.mjs +49 -14
- package/esm2022/request/user/userfield.mjs +2 -12
- package/esm2022/request/user.mjs +3 -13
- package/esm2022/request-navvy/app.mjs +3 -16
- package/esm2022/request-navvy/bizproc/workflow.mjs +4 -15
- package/esm2022/request-navvy/bizproc.mjs +8 -18
- package/esm2022/request-navvy/calendar/event.mjs +29 -16
- package/esm2022/request-navvy/calendar/section.mjs +51 -0
- package/esm2022/request-navvy/calendar.mjs +4 -18
- package/esm2022/request-navvy/department.mjs +8 -19
- package/esm2022/request-navvy/disk/attachedObject.mjs +5 -17
- package/esm2022/request-navvy/disk/file.mjs +56 -17
- package/esm2022/request-navvy/disk/folder.mjs +30 -28
- package/esm2022/request-navvy/disk/operation/storage.mjs +55 -0
- package/esm2022/request-navvy/disk/operation.mjs +11 -21
- package/esm2022/request-navvy/disk/storage.mjs +24 -20
- package/esm2022/request-navvy/disk.mjs +5 -15
- package/esm2022/request-navvy/im/chat.mjs +16 -15
- package/esm2022/request-navvy/im.mjs +2 -12
- package/esm2022/request-navvy/lists/element.mjs +27 -17
- package/esm2022/request-navvy/lists/field.mjs +28 -16
- package/esm2022/request-navvy/lists.mjs +83 -18
- package/esm2022/request-navvy/log/blogcomment.mjs +1 -11
- package/esm2022/request-navvy/log/blogpost.mjs +30 -19
- package/esm2022/request-navvy/log.mjs +3 -13
- package/esm2022/request-navvy/server.mjs +7 -16
- package/esm2022/request-navvy/socialnetwork/api/contentview.mjs +4 -15
- package/esm2022/request-navvy/socialnetwork/api/livefeed/blogpost/important.mjs +7 -16
- package/esm2022/request-navvy/socialnetwork/api/livefeed/blogpost.mjs +2 -12
- package/esm2022/request-navvy/socialnetwork/api/livefeed.mjs +3 -13
- package/esm2022/request-navvy/socialnetwork/api.mjs +3 -13
- package/esm2022/request-navvy/socialnetwork.mjs +2 -12
- package/esm2022/request-navvy/sonet_group.mjs +42 -16
- package/esm2022/request-navvy/task/commentitem.mjs +10 -21
- package/esm2022/request-navvy/task/delegate/elapseditem.mjs +4 -16
- package/esm2022/request-navvy/task/elapseditem.mjs +40 -182
- package/esm2022/request-navvy/task/item/userfield.mjs +34 -16
- package/esm2022/request-navvy/task/item.mjs +2 -12
- package/esm2022/request-navvy/task/operation/elapseditem.mjs +146 -24
- package/esm2022/request-navvy/task/planner.mjs +7 -16
- package/esm2022/request-navvy/task.mjs +5 -15
- package/esm2022/request-navvy/tasks/task/result.mjs +20 -18
- package/esm2022/request-navvy/tasks/task.mjs +134 -40
- package/esm2022/request-navvy/tasks.mjs +2 -12
- package/esm2022/request-navvy/timeman.mjs +50 -16
- package/esm2022/request-navvy/user/userfield.mjs +28 -15
- package/esm2022/request-navvy/user.mjs +24 -33
- package/esm2022/rest/base.mjs +17 -27
- package/esm2022/rest/map.mjs +35 -13
- package/esm2022/rest/navvy.mjs +33 -43
- package/esm2022/services/base.mjs +123 -101
- package/esm2022/services/http/HttpBX.mjs +28 -25
- package/esm2022/services/http/HttpData.mjs +4 -43
- package/esm2022/services/http/base/base.mjs +1 -11
- package/esm2022/services/http/http.mjs +26 -34
- package/esm2022/services/http/httpNavvy.mjs +2 -12
- package/esm2022/services/http/sessionKey.mjs +11 -22
- package/esm2022/services/navvy/extends/navvy-pag-base.mjs +41 -0
- package/esm2022/services/navvy/navvy-alternative-pagination-navigation.mjs +84 -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 +67 -0
- package/esm2022/services/navvy/navvy-simple.mjs +4 -0
- package/esm2022/services/navvy/navvy-support.mjs +15 -0
- package/esm2022/services/navvy.mjs +43 -23
- package/esm2022/services/vanilla/localStorage.mjs +1 -11
- package/esm2022/services/vanilla/sessionStorage.mjs +1 -11
- package/esm2022/services/vanilla//321/201ookies.mjs +1 -11
- package/esm2022/settings.mjs +17 -3
- package/esm2022/typification/base/methods.mjs +29 -7
- package/esm2022/typification/rest/app/info.mjs +1 -1
- package/esm2022/typification/rest/base/api-pagination-bx.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/yes-no.mjs +2 -0
- package/esm2022/typification/rest/batch.mjs +1 -1
- package/esm2022/typification/rest/calendar/get/answer.mjs +1 -1
- 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/department/get.mjs +1 -1
- package/esm2022/typification/rest/lists/element/get.mjs +1 -1
- package/esm2022/typification/rest/lists/field/get.mjs +1 -1
- package/esm2022/typification/rest/lists/get.mjs +1 -1
- package/esm2022/typification/rest/log/blogpost/add.mjs +1 -1
- package/esm2022/typification/rest/log/blogpost/essence.mjs +1 -1
- package/esm2022/typification/rest/log/blogpost/get.mjs +1 -1
- package/esm2022/typification/rest/socialnetwork/api/contentview/set.mjs +1 -1
- package/esm2022/typification/rest/socialnetwork/api/livefeed/blogpost/important/vote.mjs +1 -1
- package/esm2022/typification/rest/sonet_group/get.mjs +1 -1
- package/esm2022/typification/rest/task/commentitem/getlist.mjs +1 -1
- package/esm2022/typification/rest/task/elapseditem/get.mjs +1 -1
- package/esm2022/typification/rest/task/item/userfield/getlist.mjs +1 -1
- 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/result/list.mjs +1 -1
- package/esm2022/typification/rest/tasks/task/add.mjs +1 -1
- package/esm2022/typification/rest/tasks/task/get.mjs +1 -1
- package/esm2022/typification/rest/tasks/task/getFields.mjs +1 -1
- package/esm2022/typification/rest/tasks/task/list.mjs +1 -1
- package/esm2022/typification/rest/tasks/task/update.mjs +1 -1
- package/esm2022/typification/rest/tasks/task.mjs +1 -1
- package/esm2022/typification/rest/user/get.mjs +1 -1
- package/esm2022/typification/rest/user/search.mjs +1 -1
- package/esm2022/typification/rest/user/user.mjs +1 -1
- package/esm2022/typification/rest/user/userfield/list.mjs +1 -1
- package/fesm2022/bx-rest.mjs +1979 -2182
- package/fesm2022/bx-rest.mjs.map +1 -1
- package/map/app.d.ts +2 -6
- package/map/calendar/event.d.ts +3 -7
- package/map/calendar/section.d.ts +5 -0
- package/map/calendar.d.ts +0 -3
- package/map/department.d.ts +1 -4
- package/map/disk/attachedObject.d.ts +4 -7
- package/map/disk/base.d.ts +5 -9
- package/map/disk/file.d.ts +1 -5
- package/map/disk/folder.d.ts +3 -6
- package/map/disk/storage.d.ts +6 -8
- package/map/lists/element.d.ts +2 -6
- package/map/lists/field.d.ts +1 -6
- package/map/lists.d.ts +3 -7
- package/map/log/blogpost.d.ts +5 -8
- package/map/log.d.ts +0 -3
- package/map/rest.d.ts +2 -6
- package/map/server.d.ts +2 -6
- package/map/socialnetwork/api/livefeed/blogpost/important.d.ts +1 -5
- package/map/sonet_group.d.ts +3 -7
- package/map/task/commentitem.d.ts +4 -8
- package/map/task/elapseditem.d.ts +4 -8
- package/map/task/item/userfield.d.ts +2 -6
- package/map/task/planner.d.ts +2 -6
- package/map/task/stages.d.ts +2 -6
- package/map/task.d.ts +0 -3
- package/map/tasks/task/result.d.ts +4 -8
- package/map/tasks/task.d.ts +8 -12
- package/map/tasks.d.ts +0 -3
- package/map/timeman.d.ts +1 -4
- package/map/user.d.ts +8 -12
- package/package.json +4 -5
- package/public-api.d.ts +6 -4
- package/request/app.d.ts +0 -3
- package/request/bizproc/activity.d.ts +0 -3
- package/request/bizproc/event.d.ts +0 -3
- package/request/bizproc/robot.d.ts +0 -3
- package/request/bizproc/task.d.ts +0 -3
- package/request/bizproc/workflow/instance.d.ts +0 -3
- package/request/bizproc/workflow/template.d.ts +0 -3
- package/request/bizproc/workflow.d.ts +0 -3
- package/request/bizproc.d.ts +0 -3
- package/request/calendar/event.d.ts +0 -3
- package/request/calendar.d.ts +0 -3
- package/request/department.d.ts +1 -9
- package/request/disk/attachedObject.d.ts +0 -3
- package/request/disk/file.d.ts +0 -3
- package/request/disk/folder.d.ts +0 -3
- package/request/disk/storage.d.ts +0 -3
- package/request/disk.d.ts +0 -3
- package/request/im/chat.d.ts +0 -3
- package/request/im.d.ts +0 -3
- package/request/lists/element.d.ts +1 -4
- package/request/lists/field.d.ts +7 -5
- package/request/lists.d.ts +23 -5
- package/request/log/blogcomment.d.ts +0 -3
- package/request/log/blogpost.d.ts +0 -3
- package/request/log.d.ts +0 -3
- package/request/server.d.ts +0 -3
- package/request/socialnetwork/api/contentview.d.ts +0 -3
- package/request/socialnetwork/api/livefeed/blogpost/important.d.ts +0 -3
- package/request/socialnetwork/api/livefeed/blogpost.d.ts +0 -3
- package/request/socialnetwork/api/livefeed.d.ts +0 -3
- package/request/socialnetwork/api.d.ts +0 -3
- package/request/socialnetwork.d.ts +0 -3
- package/request/sonet_group.d.ts +0 -3
- package/request/task/commentitem.d.ts +0 -3
- package/request/task/elapseditem.d.ts +0 -3
- package/request/task/item/userfield.d.ts +1 -4
- package/request/task/item.d.ts +0 -3
- package/request/task/planner.d.ts +0 -3
- package/request/task.d.ts +0 -3
- package/request/tasks/task/result.d.ts +0 -3
- package/request/tasks/task.d.ts +4 -7
- package/request/tasks.d.ts +0 -3
- package/request/timeman.d.ts +6 -4
- package/request/user/userfield.d.ts +0 -3
- package/request/user.d.ts +0 -3
- package/request-navvy/app.d.ts +1 -7
- package/request-navvy/bizproc/workflow.d.ts +1 -6
- package/request-navvy/bizproc.d.ts +1 -8
- package/request-navvy/calendar/event.d.ts +5 -8
- package/request-navvy/calendar/section.d.ts +24 -0
- package/request-navvy/calendar.d.ts +2 -3
- package/request-navvy/department.d.ts +8 -12
- package/request-navvy/disk/attachedObject.d.ts +1 -8
- package/request-navvy/disk/file.d.ts +12 -8
- package/request-navvy/disk/folder.d.ts +26 -19
- package/request-navvy/disk/{interlayer → operation}/storage.d.ts +6 -4
- package/request-navvy/disk/operation.d.ts +0 -3
- package/request-navvy/disk/storage.d.ts +25 -11
- package/request-navvy/disk.d.ts +0 -3
- package/request-navvy/im/chat.d.ts +4 -6
- package/request-navvy/im.d.ts +0 -3
- package/request-navvy/lists/element.d.ts +12 -9
- package/request-navvy/lists/field.d.ts +8 -9
- package/request-navvy/lists.d.ts +24 -9
- package/request-navvy/log/blogcomment.d.ts +0 -3
- package/request-navvy/log/blogpost.d.ts +12 -10
- package/request-navvy/log.d.ts +0 -3
- package/request-navvy/server.d.ts +4 -8
- package/request-navvy/socialnetwork/api/contentview.d.ts +1 -6
- package/request-navvy/socialnetwork/api/livefeed/blogpost/important.d.ts +4 -8
- package/request-navvy/socialnetwork/api/livefeed/blogpost.d.ts +0 -3
- package/request-navvy/socialnetwork/api/livefeed.d.ts +0 -3
- package/request-navvy/socialnetwork/api.d.ts +0 -3
- package/request-navvy/socialnetwork.d.ts +0 -3
- package/request-navvy/sonet_group.d.ts +7 -8
- package/request-navvy/task/commentitem.d.ts +6 -11
- package/request-navvy/task/delegate/elapseditem.d.ts +1 -8
- package/request-navvy/task/elapseditem.d.ts +27 -16
- package/request-navvy/task/item/userfield.d.ts +12 -9
- package/request-navvy/task/item.d.ts +0 -3
- package/request-navvy/task/operation/elapseditem.d.ts +41 -6
- package/request-navvy/task/planner.d.ts +4 -8
- package/request-navvy/task.d.ts +0 -3
- package/request-navvy/tasks/task/result.d.ts +22 -11
- package/request-navvy/tasks/task.d.ts +71 -19
- package/request-navvy/tasks.d.ts +0 -3
- package/request-navvy/timeman.d.ts +8 -9
- package/request-navvy/user/userfield.d.ts +2 -6
- package/request-navvy/user.d.ts +16 -13
- package/rest/base.d.ts +1 -4
- package/rest/map.d.ts +17 -4
- package/rest/navvy.d.ts +2 -12
- package/services/base.d.ts +14 -21
- package/services/http/HttpBX.d.ts +1 -6
- package/services/http/HttpData.d.ts +2 -6
- package/services/http/base/base.d.ts +0 -3
- package/services/http/http.d.ts +3 -5
- package/services/http/httpNavvy.d.ts +0 -3
- package/services/http/sessionKey.d.ts +1 -5
- package/services/navvy/extends/navvy-pag-base.d.ts +19 -0
- package/services/{Navvy/NavvyAlternativePaginationNavigation.d.ts → navvy/navvy-alternative-pagination-navigation.d.ts} +5 -5
- 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/NavvySupport.d.ts → navvy/navvy-support.d.ts} +4 -5
- package/services/navvy.d.ts +21 -25
- package/services/vanilla/localStorage.d.ts +0 -3
- package/services/vanilla/sessionStorage.d.ts +0 -3
- package/services/vanilla//321/201ookies.d.ts +0 -3
- package/settings.d.ts +4 -2
- package/typification/base/methods.d.ts +4 -0
- package/typification/rest/app/info.d.ts +1 -1
- package/typification/rest/batch.d.ts +3 -17
- package/typification/rest/calendar/get/answer.d.ts +4 -4
- 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/department/get.d.ts +1 -1
- package/typification/rest/lists/element/get.d.ts +5 -9
- package/typification/rest/lists/field/get.d.ts +4 -8
- package/typification/rest/lists/get.d.ts +2 -2
- package/typification/rest/log/blogpost/add.d.ts +1 -1
- package/typification/rest/log/blogpost/essence.d.ts +1 -1
- package/typification/rest/log/blogpost/get.d.ts +1 -1
- package/typification/rest/socialnetwork/api/contentview/set.d.ts +1 -1
- package/typification/rest/socialnetwork/api/livefeed/blogpost/important/vote.d.ts +1 -1
- package/typification/rest/sonet_group/get.d.ts +4 -9
- package/typification/rest/task/commentitem/getlist.d.ts +2 -2
- package/typification/rest/task/elapseditem/get.d.ts +2 -2
- package/typification/rest/task/item/userfield/getlist.d.ts +3 -3
- package/typification/rest/tasks/result/list.d.ts +1 -1
- package/typification/rest/tasks/task/add.d.ts +1 -1
- package/typification/rest/tasks/task/get.d.ts +2 -2
- package/typification/rest/tasks/task/getFields.d.ts +1 -1
- package/typification/rest/tasks/task/list.d.ts +7 -7
- package/typification/rest/tasks/task/update.d.ts +1 -1
- package/typification/rest/tasks/task.d.ts +1 -1
- package/typification/rest/user/get.d.ts +2 -2
- package/typification/rest/user/search.d.ts +2 -2
- package/typification/rest/user/user.d.ts +1 -1
- package/typification/rest/user/userfield/list.d.ts +1 -1
- package/consts/time.d.ts +0 -3
- package/esm2022/consts/time.mjs +0 -4
- package/esm2022/map/base.mjs +0 -14
- package/esm2022/map.mjs +0 -33
- package/esm2022/provide.mjs +0 -14
- package/esm2022/request-navvy/disk/interlayer/storage.mjs +0 -60
- package/esm2022/services/Navvy/NavvyAlternativePaginationNavigation.mjs +0 -57
- package/esm2022/services/Navvy/NavvyPagNav.mjs +0 -40
- package/esm2022/services/Navvy/NavvyPagNavTasks.mjs +0 -40
- package/esm2022/services/Navvy/NavvyPagNavWithUselessKey.mjs +0 -58
- package/esm2022/services/Navvy/NavvySimple.mjs +0 -16
- package/esm2022/services/Navvy/NavvySupport.mjs +0 -16
- package/esm2022/services/Navvy/extends/NavvyPagNavBase.mjs +0 -31
- package/esm2022/typification/rest/base/ApiPaginationBX.mjs +0 -2
- package/esm2022/typification/rest/base/OrderOptions.mjs +0 -2
- package/esm2022/typification/rest/base/YesNo.mjs +0 -2
- package/esm2022/typification/rest/base/filterGenerator.mjs +0 -2
- package/esm2022/typification/rest/tasks/base/fieldsName.mjs +0 -2
- package/esm2022/typification/rest/tasks/base/filterGenerator.mjs +0 -2
- package/map/base.d.ts +0 -6
- package/map.d.ts +0 -23
- package/provide.d.ts +0 -3
- package/services/Navvy/NavvyPagNav.d.ts +0 -8
- package/services/Navvy/NavvyPagNavTasks.d.ts +0 -10
- package/services/Navvy/NavvyPagNavWithUselessKey.d.ts +0 -8
- package/services/Navvy/NavvySimple.d.ts +0 -10
- package/services/Navvy/extends/NavvyPagNavBase.d.ts +0 -16
- /package/typification/rest/base/{ApiPaginationBX.d.ts → api-pagination-bx.d.ts} +0 -0
- /package/typification/rest/base/{filterGenerator.d.ts → filter-generator.d.ts} +0 -0
- /package/typification/rest/base/{OrderOptions.d.ts → order-options.d.ts} +0 -0
- /package/typification/rest/base/{YesNo.d.ts → yes-no.d.ts} +0 -0
- /package/typification/rest/tasks/base/{fieldsName.d.ts → fields-name.d.ts} +0 -0
- /package/typification/rest/tasks/base/{filterGenerator.d.ts → filter-generator.d.ts} +0 -0
|
@@ -2,7 +2,6 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
import { HttpServices } from './http';
|
|
3
3
|
import { iBatchRequestAnswer, iBatchRequestParam, iBatchRequestParamArr, iBatchRequestParamHttp, keyBatch } from '../../typification/rest/batch/batchRequestParam';
|
|
4
4
|
import { iBXRestAnswer } from '../../typification/rest/base/answer';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class HttpBXServices extends HttpServices {
|
|
7
6
|
/**
|
|
8
7
|
* Это пиздец а не метод
|
|
@@ -11,9 +10,7 @@ export declare class HttpBXServices extends HttpServices {
|
|
|
11
10
|
*/
|
|
12
11
|
branch<T, A>(param: iBatchRequestParamArr<T> | iBatchRequestParam<T>[]): Observable<iBatchRequestAnswer<A>[] | undefined>;
|
|
13
12
|
prepareBatch<T>(param: iBatchRequestParamArr<T> | iBatchRequestParam<T>[]): iBatchRequestParamHttp;
|
|
14
|
-
mapBranchResult<T>(res: iBatchRequestAnswer<T>[]):
|
|
15
|
-
[key: keyBatch]: T;
|
|
16
|
-
};
|
|
13
|
+
mapBranchResult<T>(res: iBatchRequestAnswer<T>[]): Record<keyBatch, T>;
|
|
17
14
|
mapBranchResultWithoutKey<T>(res: iBatchRequestAnswer<T>[]): T[];
|
|
18
15
|
/**
|
|
19
16
|
* Основной метод для запросов
|
|
@@ -32,6 +29,4 @@ export declare class HttpBXServices extends HttpServices {
|
|
|
32
29
|
httpPost<T>(url: string, params?: any): Observable<T | undefined>;
|
|
33
30
|
httpGet<T>(url: string, params?: any): Observable<T | undefined>;
|
|
34
31
|
getNameMethod(arr: string[]): string;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HttpBXServices, never>;
|
|
36
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HttpBXServices>;
|
|
37
32
|
}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { BaseServices } from '../base';
|
|
2
|
-
import { HttpParams } from '@angular/common/http';
|
|
3
1
|
import { iHttpParamSettings } from '../../typification/rest/settings';
|
|
4
|
-
export declare class HttpData
|
|
2
|
+
export declare class HttpData {
|
|
5
3
|
defSettings: iHttpParamSettings;
|
|
6
|
-
|
|
7
|
-
obj: any, sendHttpParams?: HttpParams, thisArray?: boolean, nesting?: string[], _?: iHttpParamSettings): any;
|
|
8
|
-
getHttpParamsPost(obj: any, sendHttpParams?: FormData, thisArray?: boolean, nesting?: string[], settings?: iHttpParamSettings): any;
|
|
4
|
+
getHttpParamsPost(obj: any, sendHttpParams?: FormData, nesting?: string[], settings?: iHttpParamSettings): any;
|
|
9
5
|
sliceArrayIntoChunks(arr: any[], chunkSize: number): any[][];
|
|
10
6
|
removingMultipleSlashes(str: string): string;
|
|
11
7
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { iHttpParamSettings } from '../../../typification/rest/settings';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { HttpData } from '../HttpData';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
4
|
export declare abstract class BaseHttp extends HttpData {
|
|
6
5
|
abstract httpGet<T>(url: string, params: any, settings: iHttpParamSettings): Observable<T | undefined>;
|
|
7
6
|
abstract httpPost<T>(url: string, params: any, settings: iHttpParamSettings): Observable<T | undefined>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseHttp, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseHttp>;
|
|
10
7
|
}
|
package/services/http/http.d.ts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
+
import { AxiosInstance } from 'axios';
|
|
2
3
|
import SessionKeyServices from '../../services/http/sessionKey';
|
|
3
4
|
import { iHttpParamSettings } from '../../typification/rest/settings';
|
|
4
5
|
import { BaseHttp } from './base/base';
|
|
5
|
-
import { HttpClient } from '@angular/common/http';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class HttpServices extends BaseHttp {
|
|
8
|
-
readonly
|
|
7
|
+
protected readonly axiosInstance: AxiosInstance;
|
|
9
8
|
readonly session: SessionKeyServices;
|
|
9
|
+
constructor();
|
|
10
10
|
httpPost<T>(url: string, params?: any, settings?: iHttpParamSettings): Observable<T | undefined>;
|
|
11
11
|
httpGet<T>(url: string, params?: any): Observable<T | undefined>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HttpServices, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HttpServices>;
|
|
14
12
|
}
|
|
@@ -2,12 +2,9 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
import { iBXRestParams } from '../../typification/base/params';
|
|
3
3
|
import { iBXRestAnswers } from '../../typification/base/answers';
|
|
4
4
|
import { iBXRestAnswer } from '../../typification/rest/base/answer';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class HttpNavvyServices {
|
|
7
6
|
private readonly httpServices;
|
|
8
7
|
post<T extends keyof iBXRestParams>(url: [T], params?: iBXRestParams[T]): Observable<iBXRestAnswer<iBXRestAnswers[T]> | undefined>;
|
|
9
8
|
post<T extends keyof iBXRestParams, K1 extends keyof iBXRestParams>(url: [T, K1], params?: iBXRestParams[T][K1]): Observable<iBXRestAnswer<iBXRestAnswers[T][K1]> | undefined>;
|
|
10
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>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HttpNavvyServices, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HttpNavvyServices>;
|
|
13
10
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Observable, Subscription } from 'rxjs';
|
|
2
|
-
import { BaseServices } from '../base';
|
|
3
2
|
import { iBXRestAuth } from '../../typification/auth/save';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
3
|
type IKeyAuth = 'sessid' | 'auth' | string;
|
|
6
|
-
export default class SessionKeyServices
|
|
4
|
+
export default class SessionKeyServices {
|
|
7
5
|
authHave: boolean;
|
|
8
6
|
authData: iBXRestAuth | undefined;
|
|
9
7
|
subscribe: {
|
|
@@ -18,7 +16,5 @@ export default class SessionKeyServices extends BaseServices {
|
|
|
18
16
|
getAuthParams(): string | undefined;
|
|
19
17
|
getCheckAuthParamsIsOn(): boolean;
|
|
20
18
|
getBaseUrl(): Observable<string | undefined>;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SessionKeyServices, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SessionKeyServices>;
|
|
23
19
|
}
|
|
24
20
|
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* Грядущая повсеместная замена для NavvyPagNavBase
|
|
7
|
+
*/
|
|
8
|
+
export declare abstract class NavvyPagBase<T, R, P> {
|
|
9
|
+
protected url: string[];
|
|
10
|
+
protected param: P;
|
|
11
|
+
protected map: ((param: T | undefined) => R | undefined) | undefined;
|
|
12
|
+
protected readonly http: HttpBXServices;
|
|
13
|
+
pageSize: number;
|
|
14
|
+
constructor(url: string[], param: P, map: ((param: T | undefined) => R | undefined) | undefined);
|
|
15
|
+
resVanilla(): Observable<iBXRestAnswer<T> | undefined>;
|
|
16
|
+
mapForVanilla(): Observable<iBXRestAnswer<ReturnTypeNavvy<T, R>> | undefined>;
|
|
17
|
+
res(): Observable<ReturnTypeNavvy<T, R> | undefined>;
|
|
18
|
+
mapAndError<T>(request: Observable<iBXRestAnswer<T> | undefined>): Observable<T | undefined>;
|
|
19
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
4
|
/**
|
|
5
5
|
* Класс-прослойка-обработчик для методов работающих на альтернативной постраничной навигации тика как методы по
|
|
6
6
|
* затраченному времени на задачи https://dev.1c-bitrix.ru/rest_help/tasks/task/elapseditem/index.php
|
|
7
7
|
*
|
|
8
8
|
* не завершенный класс, работаем от частного к общему
|
|
9
9
|
*/
|
|
10
|
-
export declare class NavvyAlterPagNav<
|
|
11
|
-
|
|
10
|
+
export declare class NavvyAlterPagNav<T, R, P extends iBXRestAlternativePagination> extends NavvyPagBase<T[], R[], P> {
|
|
11
|
+
resAll(): import("rxjs").Observable<ReturnTypeNavvy<T, R>[]>;
|
|
12
12
|
private resultAllEnd;
|
|
13
13
|
private mapResultForGetAll;
|
|
14
14
|
}
|
|
@@ -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
|
+
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { iBXRestAnswer } from '../../typification/rest/base/answer';
|
|
3
3
|
export type ReturnTypeNavvy<T, R> = T extends R ? T : R;
|
|
4
|
-
export declare abstract class NavvySupport<C,
|
|
4
|
+
export declare abstract class NavvySupport<C, T, R> {
|
|
5
5
|
requestClass: C;
|
|
6
|
-
mapClass: M;
|
|
7
6
|
pageSize: number;
|
|
8
|
-
protected constructor(requestClass: C
|
|
7
|
+
protected constructor(requestClass: C);
|
|
9
8
|
mapAndError<T>(request: Observable<iBXRestAnswer<T> | undefined>): Observable<T | undefined>;
|
|
10
|
-
abstract
|
|
11
|
-
abstract
|
|
9
|
+
abstract resVanilla(): Observable<iBXRestAnswer<T> | undefined>;
|
|
10
|
+
abstract res(): ReturnTypeNavvy<Observable<T | undefined>, Observable<R | undefined>>;
|
|
12
11
|
}
|
package/services/navvy.d.ts
CHANGED
|
@@ -1,27 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { NavvySimple } from './navvy/navvy-simple';
|
|
2
|
+
import { NavvyAlterPagNav } from './navvy/navvy-alternative-pagination-navigation';
|
|
3
|
+
import { iBXRestAlternativePagination, iBXRestPagination } from '../typification/rest/base/api-pagination-bx';
|
|
4
|
+
import { NavvyPagNavWithUselessKey } from './navvy/navvy-pag-nav-with-useless-key';
|
|
5
|
+
import { NavvyPagNavTasks } from './navvy/navvy-pag-nav-tasks';
|
|
6
|
+
import { NavvyPag } from './navvy/navvy-pag';
|
|
7
|
+
export declare class Navvy {
|
|
8
|
+
simple<T, R = T, A = undefined>(url: string[], arg?: A, map?: (param: T | undefined) => R | undefined): NavvySimple<T, R, (A & ({} | null)) | undefined>;
|
|
9
|
+
/**
|
|
10
|
+
* Новый, пока тестируемый метод для api методов с пагинацией
|
|
11
|
+
*
|
|
12
|
+
* @param url
|
|
13
|
+
* @param arg
|
|
14
|
+
* @param map
|
|
15
|
+
* @constructor
|
|
16
|
+
*/
|
|
17
|
+
pagNav<T, R, A extends iBXRestPagination>(url: string[], arg: A, map?: (param: T[] | undefined) => R[] | undefined): NavvyPag<T, R, A>;
|
|
18
|
+
pagNavTasks<T, R, A extends iBXRestPagination>(url: string[], arg: A, map?: (param: {
|
|
17
19
|
tasks: T[] | undefined;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
PagNavWithUselessKey<T, R, A extends iBXRestPagination>(func: (param: A) => Observable<iBXRestAnswer<{
|
|
22
|
-
[key: string]: T;
|
|
23
|
-
}> | undefined>, arg: A, map?: ((param: {
|
|
24
|
-
[key: string]: T;
|
|
25
|
-
} | undefined) => R[] | undefined) | undefined): NavvyPagNavWithUselessKey<C, M, T, R, A>;
|
|
26
|
-
alterPagNav<T, R, A extends iBXRestAlternativePagination>(func: (param: A) => Observable<iBXRestAnswer<T[]> | undefined>, arg: A, map?: ((param: T[] | undefined) => R[] | undefined) | undefined): NavvyAlterPagNav<C, M, T, R, A>;
|
|
20
|
+
} | undefined) => R[] | undefined): NavvyPagNavTasks<T, R, A>;
|
|
21
|
+
pagNavWithUselessKey<T, R, A extends iBXRestPagination>(url: string[], arg: A, map?: (param: Record<string, T> | undefined) => R[] | undefined): NavvyPagNavWithUselessKey<T, R, A>;
|
|
22
|
+
alterPagNav<T, R, A extends iBXRestAlternativePagination>(url: string[], arg: A, map?: (param: T[] | undefined) => R[] | undefined): NavvyAlterPagNav<T, R, A>;
|
|
27
23
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
1
|
export declare class LocalStorageServices {
|
|
3
2
|
static get(name: string): any;
|
|
4
3
|
static getObj<T>(name: string): T | null;
|
|
5
4
|
static set(name: string, value: string): void;
|
|
6
5
|
static setObj(name: string, value: any): void;
|
|
7
6
|
static del(name: string): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageServices, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageServices>;
|
|
10
7
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
1
|
export declare class SessionStorage {
|
|
3
2
|
static setItem(name: string, value: any): void;
|
|
4
3
|
static getItem<T>(name: string): T | undefined;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SessionStorage, never>;
|
|
6
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SessionStorage>;
|
|
7
4
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
1
|
export default class CookiesServices {
|
|
3
2
|
static get(name: string): string;
|
|
4
3
|
static set(name: string, value: string, age?: number): void;
|
|
5
4
|
static setObj(name: string, value: any, age?: number): void;
|
|
6
5
|
static getObj<T>(name: string): T | false;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CookiesServices, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CookiesServices>;
|
|
9
6
|
}
|
package/settings.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { iBXRestSettings } from './typification/settings';
|
|
2
|
-
import { InjectionToken } from '@angular/core';
|
|
3
2
|
export declare const DEFAULT_BX_REST_SETTINGS: iBXRestSettings;
|
|
4
|
-
export declare const
|
|
3
|
+
export declare const BXRestSettings: {
|
|
4
|
+
date: iBXRestSettings;
|
|
5
|
+
update(newSettings: Partial<iBXRestSettings>): void;
|
|
6
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { iBXRestAnswerSuccessTime } from './base/answer';
|
|
2
2
|
import { Navvy } from '../../services/navvy';
|
|
3
|
-
export interface iBXRestParamBatch
|
|
3
|
+
export interface iBXRestParamBatch {
|
|
4
4
|
/**
|
|
5
5
|
* Определяет прерывать ли последовательность запросов в случае ошибки.
|
|
6
6
|
*/
|
|
@@ -8,23 +8,9 @@ export interface iBXRestParamBatch<T> {
|
|
|
8
8
|
/**
|
|
9
9
|
* Массив запросов стандартного вида
|
|
10
10
|
*/
|
|
11
|
-
cmd:
|
|
12
|
-
[K in keyof T]: string;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export interface iBXRestNavvyParamBatch<T, C, M> {
|
|
16
|
-
/**
|
|
17
|
-
* Определяет прерывать ли последовательность запросов в случае ошибки
|
|
18
|
-
*/
|
|
19
|
-
halt: 0 | 1;
|
|
20
|
-
/**
|
|
21
|
-
* Массив запросов стандартного вида
|
|
22
|
-
*/
|
|
23
|
-
cmd: iBXRestNavvyParamBatchCMD<C, M>;
|
|
24
|
-
}
|
|
25
|
-
export interface iBXRestNavvyParamBatchCMD<C, M> {
|
|
26
|
-
[key: string]: ReturnType<Navvy<C, M>['simpleWithArg'] | Navvy<C, M>['simple'] | Navvy<C, M>['PagNav'] | Navvy<C, M>['PagNavTasks']>;
|
|
11
|
+
cmd: Record<number | string, string> | string[];
|
|
27
12
|
}
|
|
13
|
+
export type iBXRestNavvyParamBatchCMD = Record<string, ReturnType<Navvy['simple'] | Navvy['pagNav'] | Navvy['pagNavTasks']>>;
|
|
28
14
|
export interface iBXRestBatch<T> {
|
|
29
15
|
result: {
|
|
30
16
|
[K in keyof T]: T[K];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CountryCode, TimezoneName } from 'countries-and-timezones';
|
|
2
|
-
import { iBXRestYesNo } from '../../base/
|
|
2
|
+
import { iBXRestYesNo } from '../../base/yes-no';
|
|
3
3
|
import { iBXRestCalendarType } from '../base/type';
|
|
4
4
|
export interface iBXRestCalendarEventGetAnswer extends iBXRestCalendarEventGetAnswerBase {
|
|
5
5
|
ATTENDEE_LIST: {
|
|
@@ -55,7 +55,7 @@ export interface iBXRestCalendarEventGetAnswerHttp extends iBXRestCalendarEventG
|
|
|
55
55
|
OWNER_ID: string;
|
|
56
56
|
PARENT_ID: string;
|
|
57
57
|
RECURRENCE_ID: string;
|
|
58
|
-
RRULE:
|
|
58
|
+
RRULE: string | iBXRestCalendarEventGetAnswerRuleHttp;
|
|
59
59
|
SECTION_ID: string;
|
|
60
60
|
SECT_ID: string;
|
|
61
61
|
TIMESTAMP_X: string;
|
|
@@ -116,11 +116,11 @@ interface iBXRestCalendarEventGetAnswerRule extends iBXRestCalendarEventGetAnswe
|
|
|
116
116
|
UNTIL: Date;
|
|
117
117
|
'~UNTIL': Date;
|
|
118
118
|
}
|
|
119
|
-
|
|
119
|
+
interface iBXRestCalendarEventGetAnswerRuleBase {
|
|
120
120
|
FR?: 'FR';
|
|
121
121
|
MO?: 'MO';
|
|
122
122
|
WE?: 'WE';
|
|
123
123
|
FREQ: 'WEEKLY';
|
|
124
124
|
INTERVAL: number;
|
|
125
|
-
}
|
|
125
|
+
}
|
|
126
126
|
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { iBXRestCalendarType } from '../base/type';
|
|
2
|
+
export interface iBXRestCalendarSectionGetParam {
|
|
3
|
+
type: iBXRestCalendarType;
|
|
4
|
+
ownerId?: number;
|
|
5
|
+
}
|
|
6
|
+
interface CalendarExport {
|
|
7
|
+
ALLOW: boolean;
|
|
8
|
+
LINK: string;
|
|
9
|
+
}
|
|
10
|
+
type CalendarAccess = Record<string, number>;
|
|
11
|
+
interface CalendarPermissions {
|
|
12
|
+
view_time: boolean;
|
|
13
|
+
view_title: boolean;
|
|
14
|
+
view_full: boolean;
|
|
15
|
+
add: boolean;
|
|
16
|
+
edit: boolean;
|
|
17
|
+
edit_section: boolean;
|
|
18
|
+
access: boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface iBXRestCalendarSectionGet extends iBXRestCalendarSectionGetBase {
|
|
21
|
+
ID: number;
|
|
22
|
+
OWNER_ID: number;
|
|
23
|
+
CREATED_BY: number;
|
|
24
|
+
DATE_CREATE: Date;
|
|
25
|
+
TIMESTAMP_X: Date;
|
|
26
|
+
}
|
|
27
|
+
export interface iBXRestCalendarSectionGetHttp extends iBXRestCalendarSectionGetBase {
|
|
28
|
+
ID: string;
|
|
29
|
+
OWNER_ID: string;
|
|
30
|
+
CREATED_BY: string;
|
|
31
|
+
DATE_CREATE: string;
|
|
32
|
+
TIMESTAMP_X: string;
|
|
33
|
+
}
|
|
34
|
+
interface iBXRestCalendarSectionGetBase {
|
|
35
|
+
NAME: string;
|
|
36
|
+
GAPI_CALENDAR_ID: string | null;
|
|
37
|
+
DESCRIPTION: string;
|
|
38
|
+
COLOR: string;
|
|
39
|
+
TEXT_COLOR: null;
|
|
40
|
+
EXPORT: CalendarExport;
|
|
41
|
+
CAL_TYPE: iBXRestCalendarType;
|
|
42
|
+
CAL_DAV_CON: null;
|
|
43
|
+
SYNC_TOKEN: null;
|
|
44
|
+
PAGE_TOKEN: null;
|
|
45
|
+
EXTERNAL_TYPE: string;
|
|
46
|
+
ACCESS: CalendarAccess;
|
|
47
|
+
IS_COLLAB: boolean;
|
|
48
|
+
PERM: CalendarPermissions;
|
|
49
|
+
}
|
|
50
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { iBXRestPagination } from '../base/
|
|
1
|
+
import { iBXRestPagination } from '../base/api-pagination-bx';
|
|
2
2
|
import { iBXRestParamSort } from '../base/sort';
|
|
3
3
|
export interface iBXRestParamDepartmentGet extends iBXRestPagination {
|
|
4
4
|
ID?: number | number[];
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { iBXRestYesNo } from '../../base/
|
|
2
|
-
import { iBXRestFilterKeys } from '../../base/
|
|
3
|
-
import { iBXRestPagination } from '../../base/
|
|
1
|
+
import { iBXRestYesNo } from '../../base/yes-no';
|
|
2
|
+
import { iBXRestFilterKeys } from '../../base/filter-generator';
|
|
3
|
+
import { iBXRestPagination } from '../../base/api-pagination-bx';
|
|
4
4
|
export interface iBXRestParamListsElementGet extends iBXRestPagination {
|
|
5
5
|
IBLOCK_TYPE_ID: 'lists' | 'bitrix_processes' | 'lists_socnet';
|
|
6
6
|
IBLOCK_ID: number;
|
|
7
7
|
SOCNET_GROUP_ID?: number;
|
|
8
8
|
ELEMENT_ID?: number;
|
|
9
|
-
FILTER?:
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
};
|
|
9
|
+
FILTER?: Record<string, any>;
|
|
12
10
|
}
|
|
13
11
|
export type iBXRestListsElementKey = keyof iBXRestListsElement;
|
|
14
12
|
export interface iBXRestListsElement extends iBXRestBaseListsElement {
|
|
@@ -27,9 +25,7 @@ export interface iBXRestBaseListsElement {
|
|
|
27
25
|
CODE: string | null;
|
|
28
26
|
IBLOCK_SECTION_ID: string | null;
|
|
29
27
|
NAME: string;
|
|
30
|
-
[key: `${iBXRestFilterKeys}PROPERTY_${string}`]:
|
|
31
|
-
[key: string]: string | iBXRestParamListsElementGetHtml;
|
|
32
|
-
};
|
|
28
|
+
[key: `${iBXRestFilterKeys}PROPERTY_${string}`]: Record<string, string | iBXRestParamListsElementGetHtml>;
|
|
33
29
|
}
|
|
34
30
|
export interface iBXRestParamListsElementGetHtml {
|
|
35
31
|
TYPE: 'HTML';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { iBXRestYesNo } from '../../base/
|
|
2
|
-
import { iBXRestPagination } from '../../base/
|
|
1
|
+
import { iBXRestYesNo } from '../../base/yes-no';
|
|
2
|
+
import { iBXRestPagination } from '../../base/api-pagination-bx';
|
|
3
3
|
export interface iBXRestParamListField extends iBXRestPagination {
|
|
4
4
|
IBLOCK_TYPE_ID: 'lists' | 'bitrix_processes' | 'lists_socnet';
|
|
5
5
|
IBLOCK_CODE?: string;
|
|
@@ -29,14 +29,10 @@ export interface iBXRestFieldItem {
|
|
|
29
29
|
SHOW_FIELD_PREVIEW: null | string;
|
|
30
30
|
};
|
|
31
31
|
IBLOCK_ID: number;
|
|
32
|
-
DISPLAY_VALUES_FORM?:
|
|
33
|
-
[key: number]: string;
|
|
34
|
-
};
|
|
32
|
+
DISPLAY_VALUES_FORM?: Record<number, string>;
|
|
35
33
|
USER_TYPE_SETTINGS?: {
|
|
36
34
|
write: iBXRestYesNo;
|
|
37
35
|
VALUE: number;
|
|
38
36
|
} | null;
|
|
39
37
|
}
|
|
40
|
-
export type BXRestHttpListsFieldGet =
|
|
41
|
-
[key: string]: iBXRestFieldItem;
|
|
42
|
-
};
|
|
38
|
+
export type BXRestHttpListsFieldGet = Record<string, iBXRestFieldItem>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { iBXRestPagination } from '../base/
|
|
2
|
-
import { iBXRestYesNo } from '../base/
|
|
1
|
+
import { iBXRestPagination } from '../base/api-pagination-bx';
|
|
2
|
+
import { iBXRestYesNo } from '../base/yes-no';
|
|
3
3
|
export interface iBXRestParamListGet extends iBXRestPagination {
|
|
4
4
|
IBLOCK_TYPE_ID: 'lists' | 'bitrix_processes' | 'lists_socnet';
|
|
5
5
|
IBLOCK_CODE?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { iBXRestBlogPostEssence, iBXRestBlogPostEssenceHttp } from './essence';
|
|
2
|
-
import { iBXRestYesNo } from '../../base/
|
|
2
|
+
import { iBXRestYesNo } from '../../base/yes-no';
|
|
3
3
|
import { iBXRestBaseParam } from '../../support/param';
|
|
4
4
|
export interface iBXRestParamBlogPostGet extends iBXRestBaseParam {
|
|
5
5
|
POST_ID?: number;
|
|
@@ -1,22 +1,17 @@
|
|
|
1
1
|
import { iBXRestParamSort } from '../base/sort';
|
|
2
2
|
import { iBXRestSonetGroupFieldsFilter, iBXRestSonetGroupFieldsOrder, iBXRestSonetGroupFieldsSelect } from './base';
|
|
3
3
|
import { Modify } from '../../base/modyfy';
|
|
4
|
-
import { iBXRestFilterGenerator } from '../base/
|
|
4
|
+
import { iBXRestFilterGenerator } from '../base/filter-generator';
|
|
5
5
|
export interface iBXRestParamSonetGroupGet {
|
|
6
6
|
FILTER?: iBXRestParamSonetGroupGetFilterWithParam;
|
|
7
7
|
ORDER?: iBXRestParamSonetOrderWorkgroup;
|
|
8
8
|
}
|
|
9
|
-
export
|
|
10
|
-
}
|
|
9
|
+
export type iBXRestParamSonetGroupGetFilterWithParam = iBXRestFilterGenerator<iBXRestParamSonetGroupGetFilter>;
|
|
11
10
|
export interface iBXRestParamSonetGroupGetFilter extends iBXRestParamSonetFilerWorkgroup {
|
|
12
11
|
NAME: string;
|
|
13
12
|
}
|
|
14
|
-
export type iBXRestParamSonetFilerWorkgroup =
|
|
15
|
-
|
|
16
|
-
};
|
|
17
|
-
export type iBXRestParamSonetOrderWorkgroup = {
|
|
18
|
-
[key in iBXRestSonetGroupFieldsOrder]?: iBXRestParamSort;
|
|
19
|
-
};
|
|
13
|
+
export type iBXRestParamSonetFilerWorkgroup = Partial<Record<iBXRestSonetGroupFieldsFilter, string | string[] | number | number[] | Date>>;
|
|
14
|
+
export type iBXRestParamSonetOrderWorkgroup = Partial<Record<iBXRestSonetGroupFieldsOrder, iBXRestParamSort>>;
|
|
20
15
|
export type iBXRestSonetGroupGetHttp = Record<iBXRestSonetGroupFieldsSelect, string>;
|
|
21
16
|
export type iBXRestSonetGroupGet = Modify<iBXRestSonetGroupGetHttp, {
|
|
22
17
|
ID: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { iBXRestOrderOption } from '../../base/
|
|
2
|
-
import { filterGenerator } from '../../tasks/base/
|
|
1
|
+
import { iBXRestOrderOption } from '../../base/order-options';
|
|
2
|
+
import { filterGenerator } from '../../tasks/base/filter-generator';
|
|
3
3
|
export interface BXRestTaskCommentItemGetList {
|
|
4
4
|
FILTER: iBXRestTaskCommentItemFilterList;
|
|
5
5
|
ORDER: iBXRestTaskCommentItemOrderList;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { iBXRestParamSort } from '../../base/sort';
|
|
2
|
-
import { iBXRestFilterGenerator } from '../../base/
|
|
3
|
-
import { iBXRestAlternativePagination } from '../../base/
|
|
2
|
+
import { iBXRestFilterGenerator } from '../../base/filter-generator';
|
|
3
|
+
import { iBXRestAlternativePagination } from '../../base/api-pagination-bx';
|
|
4
4
|
export interface iBXRestParamElapseditemGet extends iBXRestAlternativePagination {
|
|
5
5
|
TASKID?: number | number[];
|
|
6
6
|
ORDER?: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { iBXRestYesNo } from '../../../base/
|
|
2
|
-
import { iBXRestOrderOption } from '../../../base/
|
|
3
|
-
import { iBXRestPagination } from '../../../base/
|
|
1
|
+
import { iBXRestYesNo } from '../../../base/yes-no';
|
|
2
|
+
import { iBXRestOrderOption } from '../../../base/order-options';
|
|
3
|
+
import { iBXRestPagination } from '../../../base/api-pagination-bx';
|
|
4
4
|
export interface iBXRestParamTaskItemUserFieldGetlist extends iBXRestPagination {
|
|
5
5
|
ORDER?: {
|
|
6
6
|
[key in keyof iBXRestTaskItemUserFieldGetlistHttp]: iBXRestOrderOption;
|