bx-rest 0.4.18 → 0.5.2
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 +15 -26
- package/consts/part-name-methods.d.ts +98 -98
- package/consts/time.d.ts +3 -3
- package/esm2022/bx-rest.mjs +4 -4
- package/esm2022/consts/part-name-methods.mjs +99 -99
- package/esm2022/consts/time.mjs +3 -3
- package/esm2022/functions/mapResult.mjs +10 -10
- package/esm2022/map/app.mjs +18 -18
- package/esm2022/map/base.mjs +13 -13
- package/esm2022/map/calendar/event.mjs +54 -54
- package/esm2022/map/calendar.mjs +17 -17
- package/esm2022/map/department.mjs +34 -34
- package/esm2022/map/disk/attachedObject.mjs +26 -26
- package/esm2022/map/disk/base.mjs +77 -77
- package/esm2022/map/disk/file.mjs +19 -19
- package/esm2022/map/disk/folder.mjs +16 -16
- package/esm2022/map/disk/storage.mjs +19 -19
- package/esm2022/map/lists/element.mjs +23 -23
- package/esm2022/map/lists/field.mjs +15 -15
- package/esm2022/map/lists.mjs +74 -75
- package/esm2022/map/log/blogpost.mjs +82 -82
- package/esm2022/map/log.mjs +17 -17
- package/esm2022/map/rest.mjs +16 -16
- package/esm2022/map/server.mjs +16 -16
- package/esm2022/map/sonet_group.mjs +33 -33
- package/esm2022/map/task/commentitem.mjs +54 -54
- package/esm2022/map/task/elapseditem.mjs +33 -34
- package/esm2022/map/task/item/userfield.mjs +37 -37
- package/esm2022/map/task/planner.mjs +16 -16
- package/esm2022/map/task/stages.mjs +20 -20
- package/esm2022/map/task.mjs +21 -21
- package/esm2022/map/tasks/task/result.mjs +25 -25
- package/esm2022/map/tasks/task.mjs +145 -146
- package/esm2022/map/tasks.mjs +17 -17
- package/esm2022/map/timeman.mjs +37 -37
- package/esm2022/map/user.mjs +95 -99
- package/esm2022/map.mjs +33 -33
- package/esm2022/provide.mjs +14 -0
- package/esm2022/public-api.mjs +17 -15
- package/esm2022/request/app.mjs +24 -24
- package/esm2022/request/bizproc/activity.mjs +12 -12
- package/esm2022/request/bizproc/event.mjs +12 -12
- package/esm2022/request/bizproc/robot.mjs +12 -12
- package/esm2022/request/bizproc/task.mjs +12 -12
- package/esm2022/request/bizproc/workflow/instance.mjs +12 -12
- package/esm2022/request/bizproc/workflow/template.mjs +13 -13
- package/esm2022/request/bizproc/workflow.mjs +28 -26
- package/esm2022/request/bizproc.mjs +25 -25
- package/esm2022/request/calendar/event.mjs +22 -22
- package/esm2022/request/calendar.mjs +17 -17
- package/esm2022/request/department.mjs +36 -36
- package/esm2022/request/disk/attachedObject.mjs +22 -22
- package/esm2022/request/disk/file.mjs +25 -25
- package/esm2022/request/disk/folder.mjs +114 -114
- package/esm2022/request/disk/storage.mjs +45 -45
- package/esm2022/request/disk.mjs +21 -21
- package/esm2022/request/im/chat.mjs +22 -22
- package/esm2022/request/im.mjs +17 -17
- package/esm2022/request/lists/element.mjs +25 -25
- package/esm2022/request/lists/field.mjs +22 -22
- package/esm2022/request/lists.mjs +29 -26
- package/esm2022/request/log/blogcomment.mjs +12 -12
- package/esm2022/request/log/blogpost.mjs +25 -25
- package/esm2022/request/log.mjs +19 -19
- package/esm2022/request/server.mjs +22 -22
- package/esm2022/request/sonet_group.mjs +32 -32
- package/esm2022/request/task/commentitem.mjs +42 -42
- package/esm2022/request/task/elapseditem.mjs +44 -44
- package/esm2022/request/task/item/userfield.mjs +22 -22
- package/esm2022/request/task/item.mjs +17 -17
- package/esm2022/request/task/planner.mjs +21 -21
- package/esm2022/request/task.mjs +23 -23
- package/esm2022/request/tasks/task/result.mjs +28 -28
- package/esm2022/request/tasks/task.mjs +110 -110
- package/esm2022/request/tasks.mjs +17 -17
- package/esm2022/request/timeman.mjs +22 -22
- package/esm2022/request/user/userfield.mjs +22 -22
- package/esm2022/request/user.mjs +42 -42
- package/esm2022/request-navvy/app.mjs +27 -27
- package/esm2022/request-navvy/bizproc/workflow.mjs +25 -22
- package/esm2022/request-navvy/bizproc.mjs +62 -61
- package/esm2022/request-navvy/calendar/event.mjs +24 -24
- package/esm2022/request-navvy/calendar.mjs +52 -52
- package/esm2022/request-navvy/department.mjs +34 -34
- package/esm2022/request-navvy/disk/attachedObject.mjs +24 -24
- package/esm2022/request-navvy/disk/file.mjs +27 -27
- package/esm2022/request-navvy/disk/folder.mjs +116 -116
- package/esm2022/request-navvy/disk/interlayer/storage.mjs +60 -60
- package/esm2022/request-navvy/disk/operation.mjs +84 -84
- package/esm2022/request-navvy/disk/storage.mjs +51 -51
- package/esm2022/request-navvy/disk.mjs +23 -23
- package/esm2022/request-navvy/im/chat.mjs +22 -22
- package/esm2022/request-navvy/im.mjs +17 -17
- package/esm2022/request-navvy/lists/element.mjs +27 -27
- package/esm2022/request-navvy/lists/field.mjs +24 -24
- package/esm2022/request-navvy/lists.mjs +28 -28
- package/esm2022/request-navvy/log/blogcomment.mjs +18 -18
- package/esm2022/request-navvy/log/blogpost.mjs +29 -38
- package/esm2022/request-navvy/log.mjs +19 -19
- package/esm2022/request-navvy/server.mjs +24 -24
- package/esm2022/request-navvy/sonet_group.mjs +24 -24
- package/esm2022/request-navvy/task/commentitem.mjs +52 -52
- package/esm2022/request-navvy/task/delegate/elapseditem.mjs +37 -37
- package/esm2022/request-navvy/task/elapseditem.mjs +211 -211
- package/esm2022/request-navvy/task/item/userfield.mjs +24 -24
- package/esm2022/request-navvy/task/item.mjs +17 -17
- package/esm2022/request-navvy/task/operation/elapseditem.mjs +172 -159
- package/esm2022/request-navvy/task/planner.mjs +24 -24
- package/esm2022/request-navvy/task.mjs +23 -23
- package/esm2022/request-navvy/tasks/task/result.mjs +30 -30
- package/esm2022/request-navvy/tasks/task.mjs +128 -128
- package/esm2022/request-navvy/tasks.mjs +17 -17
- package/esm2022/request-navvy/timeman.mjs +24 -24
- package/esm2022/request-navvy/user/userfield.mjs +22 -22
- package/esm2022/request-navvy/user.mjs +161 -161
- package/esm2022/rest/base.mjs +51 -51
- package/esm2022/rest/map.mjs +17 -17
- package/esm2022/rest/navvy.mjs +62 -62
- package/esm2022/services/Navvy/NavvyAlternativePaginationNavigation.mjs +57 -57
- package/esm2022/services/Navvy/NavvyPagNav.mjs +40 -45
- package/esm2022/services/Navvy/NavvyPagNavTasks.mjs +40 -40
- package/esm2022/services/Navvy/NavvyPagNavWithUselessKey.mjs +58 -58
- package/esm2022/services/Navvy/NavvySimple.mjs +15 -15
- package/esm2022/services/Navvy/NavvySupport.mjs +16 -16
- package/esm2022/services/Navvy/extends/NavvyPagNavBase.mjs +30 -30
- package/esm2022/services/base.mjs +121 -173
- package/esm2022/services/http/HttpBX.mjs +121 -121
- package/esm2022/services/http/HttpData.mjs +116 -118
- package/esm2022/services/http/base/base.mjs +14 -27
- package/esm2022/services/http/http.mjs +61 -61
- package/esm2022/services/http/httpNavvy.mjs +24 -0
- package/esm2022/services/http/sessionKey.mjs +127 -216
- package/esm2022/services/navvy.mjs +29 -29
- package/esm2022/services/vanilla/localStorage.mjs +35 -35
- package/esm2022/services/vanilla/sessionStorage.mjs +23 -23
- package/esm2022/services/vanilla//321/201ookies.mjs +43 -43
- package/esm2022/settings.mjs +14 -15
- package/esm2022/typification/auth/save.mjs +2 -2
- package/esm2022/typification/base/all-key-free.mjs +1 -1
- package/esm2022/typification/base/answers.mjs +438 -0
- package/esm2022/typification/base/methods.mjs +664 -656
- package/esm2022/typification/base/modyfy.mjs +2 -2
- package/esm2022/typification/base/params.mjs +525 -0
- package/esm2022/typification/base/upper-case-keys.mjs +1 -1
- package/esm2022/typification/base/workpiece/methods-list.mjs +2 -2
- package/esm2022/typification/base/workpiece/methods.mjs +2 -2
- package/esm2022/typification/rest/app/info.mjs +1 -1
- package/esm2022/typification/rest/base/ApiPaginationBX.mjs +1 -1
- package/esm2022/typification/rest/base/OrderOptions.mjs +1 -1
- package/esm2022/typification/rest/base/YesNo.mjs +1 -1
- package/esm2022/typification/rest/base/answer.mjs +1 -1
- package/esm2022/typification/rest/base/filterGenerator.mjs +1 -1
- package/esm2022/typification/rest/base/sort.mjs +1 -1
- package/esm2022/typification/rest/batch/batchRequestParam.mjs +1 -1
- package/esm2022/typification/rest/batch.mjs +1 -1
- package/esm2022/typification/rest/bizproc/workflow/start.mjs +1 -1
- package/esm2022/typification/rest/calendar/base/type.mjs +1 -1
- package/esm2022/typification/rest/calendar/get/answer.mjs +1 -1
- package/esm2022/typification/rest/calendar/get/param.mjs +1 -1
- package/esm2022/typification/rest/department/add.mjs +1 -1
- package/esm2022/typification/rest/department/del.mjs +1 -1
- package/esm2022/typification/rest/department/department.mjs +1 -1
- package/esm2022/typification/rest/department/get.mjs +1 -1
- package/esm2022/typification/rest/department/update.mjs +1 -1
- package/esm2022/typification/rest/disk/AttachedObject.mjs +1 -1
- package/esm2022/typification/rest/disk/file.mjs +1 -1
- package/esm2022/typification/rest/disk/folder/addSubFolder.mjs +1 -1
- package/esm2022/typification/rest/disk/folder/copyTo.mjs +1 -1
- package/esm2022/typification/rest/disk/folder/getFields.mjs +1 -1
- package/esm2022/typification/rest/disk/folder/moveTo.mjs +1 -1
- package/esm2022/typification/rest/disk/folder/rename.mjs +1 -1
- package/esm2022/typification/rest/disk/folder/uploadFile.mjs +1 -1
- package/esm2022/typification/rest/disk/folder.mjs +1 -1
- package/esm2022/typification/rest/disk/map.mjs +1 -1
- package/esm2022/typification/rest/disk/storage/getchildren.mjs +1 -1
- package/esm2022/typification/rest/disk/storage/uploadfile.mjs +1 -1
- package/esm2022/typification/rest/im/chat/add.mjs +1 -1
- package/esm2022/typification/rest/lists/element/add.mjs +1 -1
- package/esm2022/typification/rest/lists/element/get.mjs +1 -1
- package/esm2022/typification/rest/lists/field/get.mjs +2 -2
- package/esm2022/typification/rest/lists/get.mjs +2 -2
- package/esm2022/typification/rest/log/blogpost/add.mjs +2 -2
- package/esm2022/typification/rest/log/blogpost/essence.mjs +1 -1
- package/esm2022/typification/rest/log/blogpost/get.mjs +2 -2
- package/esm2022/typification/rest/profile.mjs +1 -1
- package/esm2022/typification/rest/settings.mjs +1 -1
- package/esm2022/typification/rest/sonet_group/base.mjs +1 -1
- package/esm2022/typification/rest/sonet_group/get.mjs +2 -2
- package/esm2022/typification/rest/support/param.mjs +1 -1
- package/esm2022/typification/rest/task/access/getaccess.mjs +1 -1
- package/esm2022/typification/rest/task/commentitem/add.mjs +1 -1
- package/esm2022/typification/rest/task/commentitem/commentitem.mjs +1 -1
- package/esm2022/typification/rest/task/commentitem/delete.mjs +1 -1
- package/esm2022/typification/rest/task/commentitem/get.mjs +1 -1
- package/esm2022/typification/rest/task/commentitem/getlist.mjs +1 -1
- package/esm2022/typification/rest/task/commentitem/update.mjs +1 -1
- package/esm2022/typification/rest/task/elapseditem/add.mjs +1 -1
- package/esm2022/typification/rest/task/elapseditem/del.mjs +1 -1
- package/esm2022/typification/rest/task/elapseditem/get.mjs +1 -1
- package/esm2022/typification/rest/task/elapseditem/isActionAllowedParam.mjs +1 -1
- package/esm2022/typification/rest/task/elapseditem/item.mjs +1 -1
- package/esm2022/typification/rest/task/elapseditem/update.mjs +1 -1
- package/esm2022/typification/rest/task/item/userfield/getlist.mjs +2 -2
- package/esm2022/typification/rest/task/stages/stage.mjs +1 -1
- package/esm2022/typification/rest/tasks/base/fieldsName.mjs +2 -2
- package/esm2022/typification/rest/tasks/base/filterGenerator.mjs +1 -1
- package/esm2022/typification/rest/tasks/base/people.mjs +1 -1
- 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/approve.mjs +1 -1
- package/esm2022/typification/rest/tasks/task/base.mjs +1 -1
- package/esm2022/typification/rest/tasks/task/complete.mjs +1 -1
- package/esm2022/typification/rest/tasks/task/defer.mjs +1 -1
- package/esm2022/typification/rest/tasks/task/get.mjs +2 -2
- package/esm2022/typification/rest/tasks/task/getFields.mjs +1 -1
- package/esm2022/typification/rest/tasks/task/list.mjs +2 -2
- package/esm2022/typification/rest/tasks/task/result/result.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/timeman/status.mjs +1 -1
- package/esm2022/typification/rest/user/get.mjs +2 -2
- 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/esm2022/typification/settings.mjs +2 -2
- package/fesm2022/bx-rest.mjs +5274 -5399
- package/fesm2022/bx-rest.mjs.map +1 -1
- package/functions/mapResult.d.ts +5 -5
- package/index.d.ts +5 -5
- package/map/app.d.ts +8 -8
- package/map/base.d.ts +6 -6
- package/map/calendar/event.d.ts +9 -9
- package/map/calendar.d.ts +7 -8
- package/map/department.d.ts +7 -7
- package/map/disk/attachedObject.d.ts +9 -9
- package/map/disk/base.d.ts +13 -13
- package/map/disk/file.d.ts +9 -9
- package/map/disk/folder.d.ts +9 -9
- package/map/disk/storage.d.ts +10 -10
- package/map/lists/element.d.ts +8 -8
- package/map/lists/field.d.ts +9 -9
- package/map/lists.d.ts +13 -15
- package/map/log/blogpost.d.ts +10 -10
- package/map/log.d.ts +7 -8
- package/map/rest.d.ts +8 -8
- package/map/server.d.ts +7 -7
- package/map/sonet_group.d.ts +9 -9
- package/map/task/commentitem.d.ts +10 -10
- package/map/task/elapseditem.d.ts +10 -10
- package/map/task/item/userfield.d.ts +8 -8
- package/map/task/planner.d.ts +7 -7
- package/map/task/stages.d.ts +8 -8
- package/map/task.d.ts +11 -12
- package/map/tasks/task/result.d.ts +10 -10
- package/map/tasks/task.d.ts +22 -24
- package/map/tasks.d.ts +7 -8
- package/map/timeman.d.ts +7 -7
- package/map/user.d.ts +14 -16
- package/map.d.ts +23 -24
- package/package.json +3 -3
- package/provide.d.ts +3 -0
- package/public-api.d.ts +16 -14
- package/request/app.d.ts +11 -13
- package/request/bizproc/activity.d.ts +5 -5
- package/request/bizproc/event.d.ts +5 -5
- package/request/bizproc/robot.d.ts +5 -5
- package/request/bizproc/task.d.ts +5 -5
- package/request/bizproc/workflow/instance.d.ts +5 -5
- package/request/bizproc/workflow/template.d.ts +5 -5
- package/request/bizproc/workflow.d.ts +16 -15
- package/request/bizproc.d.ts +15 -16
- package/request/calendar/event.d.ts +10 -12
- package/request/calendar.d.ts +7 -8
- package/request/department.d.ts +21 -23
- package/request/disk/attachedObject.d.ts +9 -11
- package/request/disk/file.d.ts +10 -12
- package/request/disk/folder.d.ts +86 -88
- package/request/disk/storage.d.ts +30 -32
- package/request/disk.d.ts +11 -12
- package/request/im/chat.d.ts +9 -11
- package/request/im.d.ts +7 -8
- package/request/lists/element.d.ts +11 -13
- package/request/lists/field.d.ts +9 -11
- package/request/lists.d.ts +13 -15
- package/request/log/blogcomment.d.ts +5 -5
- package/request/log/blogpost.d.ts +11 -13
- package/request/log.d.ts +9 -10
- package/request/server.d.ts +8 -10
- package/request/sonet_group.d.ts +9 -11
- package/request/task/commentitem.d.ts +26 -28
- package/request/task/elapseditem.d.ts +28 -30
- package/request/task/item/userfield.d.ts +9 -11
- package/request/task/item.d.ts +7 -8
- package/request/task/planner.d.ts +7 -9
- package/request/task.d.ts +13 -14
- package/request/tasks/task/result.d.ts +12 -14
- package/request/tasks/task.d.ts +30 -32
- package/request/tasks.d.ts +7 -8
- package/request/timeman.d.ts +9 -11
- package/request/user/userfield.d.ts +9 -11
- package/request/user.d.ts +19 -21
- package/request-navvy/app.d.ts +14 -16
- package/request-navvy/bizproc/workflow.d.ts +13 -11
- package/request-navvy/bizproc.d.ts +24 -25
- package/request-navvy/calendar/event.d.ts +12 -13
- package/request-navvy/calendar.d.ts +7 -8
- package/request-navvy/department.d.ts +18 -19
- package/request-navvy/disk/attachedObject.d.ts +12 -13
- package/request-navvy/disk/file.d.ts +13 -14
- package/request-navvy/disk/folder.d.ts +88 -89
- package/request-navvy/disk/interlayer/storage.d.ts +19 -21
- package/request-navvy/disk/operation.d.ts +21 -23
- package/request-navvy/disk/storage.d.ts +21 -22
- package/request-navvy/disk.d.ts +13 -14
- package/request-navvy/im/chat.d.ts +10 -11
- package/request-navvy/im.d.ts +7 -8
- package/request-navvy/lists/element.d.ts +14 -15
- package/request-navvy/lists/field.d.ts +12 -13
- package/request-navvy/lists.d.ts +17 -18
- package/request-navvy/log/blogcomment.d.ts +8 -8
- package/request-navvy/log/blogpost.d.ts +15 -22
- package/request-navvy/log.d.ts +9 -10
- package/request-navvy/server.d.ts +11 -13
- package/request-navvy/sonet_group.d.ts +12 -13
- package/request-navvy/task/commentitem.d.ts +20 -22
- package/request-navvy/task/delegate/elapseditem.d.ts +12 -13
- package/request-navvy/task/elapseditem.d.ts +39 -41
- package/request-navvy/task/item/userfield.d.ts +12 -14
- package/request-navvy/task/item.d.ts +7 -8
- package/request-navvy/task/operation/elapseditem.d.ts +35 -27
- package/request-navvy/task/planner.d.ts +11 -12
- package/request-navvy/task.d.ts +13 -14
- package/request-navvy/tasks/task/result.d.ts +15 -16
- package/request-navvy/tasks/task.d.ts +30 -31
- package/request-navvy/tasks.d.ts +7 -8
- package/request-navvy/timeman.d.ts +13 -14
- package/request-navvy/user/userfield.d.ts +9 -10
- package/request-navvy/user.d.ts +27 -28
- package/rest/base.d.ts +38 -40
- package/rest/map.d.ts +7 -8
- package/rest/navvy.d.ts +43 -45
- package/services/Navvy/NavvyAlternativePaginationNavigation.d.ts +14 -14
- package/services/Navvy/NavvyPagNav.d.ts +8 -8
- package/services/Navvy/NavvyPagNavTasks.d.ts +10 -10
- package/services/Navvy/NavvyPagNavWithUselessKey.d.ts +8 -8
- package/services/Navvy/NavvySimple.d.ts +10 -10
- package/services/Navvy/NavvySupport.d.ts +12 -12
- package/services/Navvy/extends/NavvyPagNavBase.d.ts +16 -16
- package/services/base.d.ts +22 -34
- package/services/http/HttpBX.d.ts +37 -38
- package/services/http/HttpData.d.ts +11 -11
- package/services/http/base/base.d.ts +10 -15
- package/services/http/http.d.ts +14 -15
- package/services/http/httpNavvy.d.ts +13 -0
- package/services/http/sessionKey.d.ts +23 -27
- package/services/navvy.d.ts +27 -27
- package/services/vanilla/localStorage.d.ts +10 -10
- package/services/vanilla/sessionStorage.d.ts +7 -7
- package/services/vanilla//321/201ookies.d.ts +9 -9
- package/settings.d.ts +4 -12
- package/typification/auth/save.d.ts +14 -14
- package/typification/base/all-key-free.d.ts +3 -3
- package/typification/base/answers.d.ts +12 -0
- package/typification/base/methods.d.ts +2 -2
- package/typification/base/modyfy.d.ts +9 -9
- package/typification/base/params.d.ts +17 -0
- package/typification/base/upper-case-keys.d.ts +6 -6
- package/typification/base/workpiece/methods-list.d.ts +219 -209
- package/typification/base/workpiece/methods.d.ts +19 -19
- package/typification/rest/app/info.d.ts +17 -17
- package/typification/rest/base/ApiPaginationBX.d.ts +11 -11
- package/typification/rest/base/OrderOptions.d.ts +1 -1
- package/typification/rest/base/YesNo.d.ts +1 -1
- package/typification/rest/base/answer.d.ts +19 -19
- package/typification/rest/base/filterGenerator.d.ts +5 -5
- package/typification/rest/base/sort.d.ts +1 -1
- package/typification/rest/batch/batchRequestParam.d.ts +15 -15
- package/typification/rest/batch.d.ts +40 -40
- package/typification/rest/bizproc/workflow/start.d.ts +5 -5
- package/typification/rest/calendar/base/type.d.ts +1 -1
- package/typification/rest/calendar/get/answer.d.ts +126 -126
- package/typification/rest/calendar/get/param.d.ts +8 -8
- package/typification/rest/department/add.d.ts +6 -6
- package/typification/rest/department/del.d.ts +3 -3
- package/typification/rest/department/department.d.ts +14 -14
- package/typification/rest/department/get.d.ts +10 -10
- package/typification/rest/department/update.d.ts +7 -7
- package/typification/rest/disk/AttachedObject.d.ts +26 -26
- package/typification/rest/disk/file.d.ts +20 -20
- package/typification/rest/disk/folder/addSubFolder.d.ts +6 -6
- package/typification/rest/disk/folder/copyTo.d.ts +4 -4
- package/typification/rest/disk/folder/getFields.d.ts +9 -9
- package/typification/rest/disk/folder/moveTo.d.ts +4 -4
- package/typification/rest/disk/folder/rename.d.ts +4 -4
- package/typification/rest/disk/folder/uploadFile.d.ts +13 -13
- package/typification/rest/disk/folder.d.ts +62 -62
- package/typification/rest/disk/map.d.ts +6 -6
- package/typification/rest/disk/storage/getchildren.d.ts +4 -4
- package/typification/rest/disk/storage/uploadfile.d.ts +9 -9
- package/typification/rest/im/chat/add.d.ts +12 -12
- package/typification/rest/lists/element/add.d.ts +9 -9
- package/typification/rest/lists/element/get.d.ts +37 -37
- package/typification/rest/lists/field/get.d.ts +38 -37
- package/typification/rest/lists/get.d.ts +95 -95
- package/typification/rest/log/blogpost/add.d.ts +12 -12
- package/typification/rest/log/blogpost/essence.d.ts +51 -51
- package/typification/rest/log/blogpost/get.d.ts +71 -71
- package/typification/rest/profile.d.ts +16 -16
- package/typification/rest/settings.d.ts +6 -6
- package/typification/rest/sonet_group/base.d.ts +8 -8
- package/typification/rest/sonet_group/get.d.ts +35 -35
- package/typification/rest/support/param.d.ts +5 -5
- package/typification/rest/task/access/getaccess.d.ts +40 -40
- package/typification/rest/task/commentitem/add.d.ts +18 -18
- package/typification/rest/task/commentitem/commentitem.d.ts +36 -36
- package/typification/rest/task/commentitem/delete.d.ts +4 -4
- package/typification/rest/task/commentitem/get.d.ts +4 -4
- package/typification/rest/task/commentitem/getlist.d.ts +20 -20
- package/typification/rest/task/commentitem/update.d.ts +4 -4
- package/typification/rest/task/elapseditem/add.d.ts +10 -10
- package/typification/rest/task/elapseditem/del.d.ts +4 -4
- package/typification/rest/task/elapseditem/get.d.ts +23 -23
- package/typification/rest/task/elapseditem/isActionAllowedParam.d.ts +5 -5
- package/typification/rest/task/elapseditem/item.d.ts +25 -25
- package/typification/rest/task/elapseditem/update.d.ts +10 -10
- package/typification/rest/task/item/userfield/getlist.d.ts +91 -91
- package/typification/rest/task/stages/stage.d.ts +19 -19
- package/typification/rest/tasks/base/fieldsName.d.ts +19 -19
- package/typification/rest/tasks/base/filterGenerator.d.ts +6 -6
- package/typification/rest/tasks/base/people.d.ts +12 -12
- package/typification/rest/tasks/result/list.d.ts +4 -4
- package/typification/rest/tasks/task/add.d.ts +254 -254
- package/typification/rest/tasks/task/approve.d.ts +144 -144
- package/typification/rest/tasks/task/base.d.ts +3 -3
- package/typification/rest/tasks/task/complete.d.ts +6 -6
- package/typification/rest/tasks/task/defer.d.ts +6 -6
- package/typification/rest/tasks/task/get.d.ts +52 -52
- package/typification/rest/tasks/task/getFields.d.ts +19 -19
- package/typification/rest/tasks/task/list.d.ts +119 -119
- package/typification/rest/tasks/task/result/result.d.ts +23 -23
- package/typification/rest/tasks/task/update.d.ts +47 -47
- package/typification/rest/tasks/task.d.ts +121 -121
- package/typification/rest/timeman/status.d.ts +28 -28
- package/typification/rest/user/get.d.ts +74 -74
- package/typification/rest/user/search.d.ts +66 -66
- package/typification/rest/user/user.d.ts +62 -62
- package/typification/rest/user/userfield/list.d.ts +56 -56
- package/typification/settings.d.ts +11 -10
- package/esm2022/index.mjs +0 -13
- package/esm2022/rest.mjs +0 -123
- package/esm2022/typification/rest/api-lib.mjs +0 -21
- package/esm2022/typification/rest/lib.mjs +0 -2
- package/rest.d.ts +0 -89
- package/typification/rest/api-lib.d.ts +0 -9
- package/typification/rest/lib.d.ts +0 -18
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export interface iBXRestDiskFolderUploadFileParam {
|
|
2
|
-
id: number;
|
|
3
|
-
fileContent: string;
|
|
4
|
-
data: {
|
|
5
|
-
NAME: string;
|
|
6
|
-
};
|
|
7
|
-
generateUniqueName?: boolean;
|
|
8
|
-
rights?: [];
|
|
9
|
-
}
|
|
10
|
-
export interface iBXRestDiskFolderUploadFileParamRights {
|
|
11
|
-
TASK_ID: number;
|
|
12
|
-
ACCESS_CODE: string;
|
|
13
|
-
}
|
|
1
|
+
export interface iBXRestDiskFolderUploadFileParam {
|
|
2
|
+
id: number;
|
|
3
|
+
fileContent: string;
|
|
4
|
+
data: {
|
|
5
|
+
NAME: string;
|
|
6
|
+
};
|
|
7
|
+
generateUniqueName?: boolean;
|
|
8
|
+
rights?: [];
|
|
9
|
+
}
|
|
10
|
+
export interface iBXRestDiskFolderUploadFileParamRights {
|
|
11
|
+
TASK_ID: number;
|
|
12
|
+
ACCESS_CODE: string;
|
|
13
|
+
}
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
export interface iBXRestParamFolderGet extends iBXRestParamFolder {
|
|
2
|
-
}
|
|
3
|
-
export interface iBXRestParamFolderDeleteTree extends iBXRestParamFolder {
|
|
4
|
-
}
|
|
5
|
-
export interface iBXRestParamFolderMarkDeleted extends iBXRestParamFolder {
|
|
6
|
-
}
|
|
7
|
-
export interface iBXRestParamFolderRestore extends iBXRestParamFolder {
|
|
8
|
-
}
|
|
9
|
-
export interface iBXRestParamFolderGetExternalLink extends iBXRestParamFolder {
|
|
10
|
-
}
|
|
11
|
-
export interface iBXRestParamFolderGetChildren extends iBXRestParamFolder {
|
|
12
|
-
}
|
|
13
|
-
export interface iBXRestParamFolder {
|
|
14
|
-
id: number;
|
|
15
|
-
}
|
|
16
|
-
export interface iBXRestFolderInfo {
|
|
17
|
-
ID: number;
|
|
18
|
-
NAME: string;
|
|
19
|
-
CODE: null | string;
|
|
20
|
-
MODULE_ID: string;
|
|
21
|
-
ENTITY_TYPE: string;
|
|
22
|
-
ENTITY_ID: string;
|
|
23
|
-
ROOT_OBJECT_ID: number;
|
|
24
|
-
}
|
|
25
|
-
export interface iBXRestFolder extends iBXRestFolderOrFile, iBXRestFolderBase {
|
|
26
|
-
}
|
|
27
|
-
export interface iBXRestFolderHttp extends iBXRestFolderOrFileHttp, iBXRestFolderBase {
|
|
28
|
-
}
|
|
29
|
-
export interface iBXRestFolderBase extends iBXRestFolderOrFileBase {
|
|
30
|
-
TYPE: 'folder';
|
|
31
|
-
}
|
|
32
|
-
export interface iBXRestFolderOrFile extends iBXRestFolderOrFileBase {
|
|
33
|
-
CREATED_BY: number;
|
|
34
|
-
CREATE_TIME: Date;
|
|
35
|
-
DELETED_BY: number;
|
|
36
|
-
DELETED_TYPE: number;
|
|
37
|
-
DELETE_TIME: null | Date;
|
|
38
|
-
ID: number;
|
|
39
|
-
PARENT_ID: number;
|
|
40
|
-
REAL_OBJECT_ID: number;
|
|
41
|
-
STORAGE_ID: number;
|
|
42
|
-
UPDATED_BY: number;
|
|
43
|
-
UPDATE_TIME: Date;
|
|
44
|
-
}
|
|
45
|
-
export interface iBXRestFolderOrFileHttp extends iBXRestFolderOrFileBase {
|
|
46
|
-
CREATED_BY: string;
|
|
47
|
-
CREATE_TIME: string;
|
|
48
|
-
DELETED_BY: string;
|
|
49
|
-
DELETED_TYPE: string;
|
|
50
|
-
DELETE_TIME: null | string;
|
|
51
|
-
ID: string;
|
|
52
|
-
PARENT_ID: string;
|
|
53
|
-
REAL_OBJECT_ID: string;
|
|
54
|
-
STORAGE_ID: string;
|
|
55
|
-
UPDATED_BY: string;
|
|
56
|
-
UPDATE_TIME: string;
|
|
57
|
-
}
|
|
58
|
-
export interface iBXRestFolderOrFileBase {
|
|
59
|
-
CODE: null;
|
|
60
|
-
DETAIL_URL: null | string;
|
|
61
|
-
NAME: string;
|
|
62
|
-
}
|
|
1
|
+
export interface iBXRestParamFolderGet extends iBXRestParamFolder {
|
|
2
|
+
}
|
|
3
|
+
export interface iBXRestParamFolderDeleteTree extends iBXRestParamFolder {
|
|
4
|
+
}
|
|
5
|
+
export interface iBXRestParamFolderMarkDeleted extends iBXRestParamFolder {
|
|
6
|
+
}
|
|
7
|
+
export interface iBXRestParamFolderRestore extends iBXRestParamFolder {
|
|
8
|
+
}
|
|
9
|
+
export interface iBXRestParamFolderGetExternalLink extends iBXRestParamFolder {
|
|
10
|
+
}
|
|
11
|
+
export interface iBXRestParamFolderGetChildren extends iBXRestParamFolder {
|
|
12
|
+
}
|
|
13
|
+
export interface iBXRestParamFolder {
|
|
14
|
+
id: number;
|
|
15
|
+
}
|
|
16
|
+
export interface iBXRestFolderInfo {
|
|
17
|
+
ID: number;
|
|
18
|
+
NAME: string;
|
|
19
|
+
CODE: null | string;
|
|
20
|
+
MODULE_ID: string;
|
|
21
|
+
ENTITY_TYPE: string;
|
|
22
|
+
ENTITY_ID: string;
|
|
23
|
+
ROOT_OBJECT_ID: number;
|
|
24
|
+
}
|
|
25
|
+
export interface iBXRestFolder extends iBXRestFolderOrFile, iBXRestFolderBase {
|
|
26
|
+
}
|
|
27
|
+
export interface iBXRestFolderHttp extends iBXRestFolderOrFileHttp, iBXRestFolderBase {
|
|
28
|
+
}
|
|
29
|
+
export interface iBXRestFolderBase extends iBXRestFolderOrFileBase {
|
|
30
|
+
TYPE: 'folder';
|
|
31
|
+
}
|
|
32
|
+
export interface iBXRestFolderOrFile extends iBXRestFolderOrFileBase {
|
|
33
|
+
CREATED_BY: number;
|
|
34
|
+
CREATE_TIME: Date;
|
|
35
|
+
DELETED_BY: number;
|
|
36
|
+
DELETED_TYPE: number;
|
|
37
|
+
DELETE_TIME: null | Date;
|
|
38
|
+
ID: number;
|
|
39
|
+
PARENT_ID: number;
|
|
40
|
+
REAL_OBJECT_ID: number;
|
|
41
|
+
STORAGE_ID: number;
|
|
42
|
+
UPDATED_BY: number;
|
|
43
|
+
UPDATE_TIME: Date;
|
|
44
|
+
}
|
|
45
|
+
export interface iBXRestFolderOrFileHttp extends iBXRestFolderOrFileBase {
|
|
46
|
+
CREATED_BY: string;
|
|
47
|
+
CREATE_TIME: string;
|
|
48
|
+
DELETED_BY: string;
|
|
49
|
+
DELETED_TYPE: string;
|
|
50
|
+
DELETE_TIME: null | string;
|
|
51
|
+
ID: string;
|
|
52
|
+
PARENT_ID: string;
|
|
53
|
+
REAL_OBJECT_ID: string;
|
|
54
|
+
STORAGE_ID: string;
|
|
55
|
+
UPDATED_BY: string;
|
|
56
|
+
UPDATE_TIME: string;
|
|
57
|
+
}
|
|
58
|
+
export interface iBXRestFolderOrFileBase {
|
|
59
|
+
CODE: null;
|
|
60
|
+
DETAIL_URL: null | string;
|
|
61
|
+
NAME: string;
|
|
62
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { iBXRestFolder } from './folder';
|
|
2
|
-
import { iBXRestDiskFile } from './file';
|
|
3
|
-
export interface iBXRestDiskFileAndFolderMap {
|
|
4
|
-
file: iBXRestDiskFile[];
|
|
5
|
-
folder: iBXRestFolder[];
|
|
6
|
-
}
|
|
1
|
+
import { iBXRestFolder } from './folder';
|
|
2
|
+
import { iBXRestDiskFile } from './file';
|
|
3
|
+
export interface iBXRestDiskFileAndFolderMap {
|
|
4
|
+
file: iBXRestDiskFile[];
|
|
5
|
+
folder: iBXRestFolder[];
|
|
6
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface iBXRestParamGetchildren {
|
|
2
|
-
id: number;
|
|
3
|
-
filter?: any;
|
|
4
|
-
}
|
|
1
|
+
export interface iBXRestParamGetchildren {
|
|
2
|
+
id: number;
|
|
3
|
+
filter?: any;
|
|
4
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface iBXRestParamUploadFile {
|
|
2
|
-
id: number;
|
|
3
|
-
fileContent: string[];
|
|
4
|
-
data: {
|
|
5
|
-
NAME: string;
|
|
6
|
-
};
|
|
7
|
-
generateUniqueName?: boolean;
|
|
8
|
-
rights?: any[];
|
|
9
|
-
}
|
|
1
|
+
export interface iBXRestParamUploadFile {
|
|
2
|
+
id: number;
|
|
3
|
+
fileContent: string[];
|
|
4
|
+
data: {
|
|
5
|
+
NAME: string;
|
|
6
|
+
};
|
|
7
|
+
generateUniqueName?: boolean;
|
|
8
|
+
rights?: any[];
|
|
9
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface iBXRestParamImChatAdd {
|
|
2
|
-
TYPE?: 'OPEN' | 'CHAT';
|
|
3
|
-
TITLE?: string;
|
|
4
|
-
DESCRIPTION?: string;
|
|
5
|
-
COLOR?: string;
|
|
6
|
-
MESSAGE?: string;
|
|
7
|
-
USERS: number[];
|
|
8
|
-
AVATAR?: string;
|
|
9
|
-
ENTITY_TYPE?: string;
|
|
10
|
-
ENTITY_ID?: number;
|
|
11
|
-
OWNER_ID?: number;
|
|
12
|
-
}
|
|
1
|
+
export interface iBXRestParamImChatAdd {
|
|
2
|
+
TYPE?: 'OPEN' | 'CHAT';
|
|
3
|
+
TITLE?: string;
|
|
4
|
+
DESCRIPTION?: string;
|
|
5
|
+
COLOR?: string;
|
|
6
|
+
MESSAGE?: string;
|
|
7
|
+
USERS: number[];
|
|
8
|
+
AVATAR?: string;
|
|
9
|
+
ENTITY_TYPE?: string;
|
|
10
|
+
ENTITY_ID?: number;
|
|
11
|
+
OWNER_ID?: number;
|
|
12
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface iBXRestParamListsElementAdd {
|
|
2
|
-
IBLOCK_TYPE_ID: 'lists' | 'bitrix_processes';
|
|
3
|
-
IBLOCK_ID: number | any;
|
|
4
|
-
ELEMENT_CODE: string;
|
|
5
|
-
FIELDS: {
|
|
6
|
-
NAME: string;
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
1
|
+
export interface iBXRestParamListsElementAdd {
|
|
2
|
+
IBLOCK_TYPE_ID: 'lists' | 'bitrix_processes';
|
|
3
|
+
IBLOCK_ID: number | any;
|
|
4
|
+
ELEMENT_CODE: string;
|
|
5
|
+
FIELDS: {
|
|
6
|
+
NAME: string;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { iBXRestYesNo } from '../../base/YesNo';
|
|
2
|
-
import { iBXRestFilterKeys } from '../../base/filterGenerator';
|
|
3
|
-
import { iBXRestPagination } from '../../base/ApiPaginationBX';
|
|
4
|
-
export interface iBXRestParamListsElementGet extends iBXRestPagination {
|
|
5
|
-
IBLOCK_TYPE_ID: 'lists' | 'bitrix_processes' | 'lists_socnet';
|
|
6
|
-
IBLOCK_ID: number;
|
|
7
|
-
SOCNET_GROUP_ID?: number;
|
|
8
|
-
ELEMENT_ID?: number;
|
|
9
|
-
FILTER?: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export type iBXRestListsElementKey = keyof iBXRestListsElement;
|
|
14
|
-
export interface iBXRestListsElement extends iBXRestBaseListsElement {
|
|
15
|
-
BP_PUBLISHED: boolean;
|
|
16
|
-
CREATED_BY: number;
|
|
17
|
-
IBLOCK_ID: number;
|
|
18
|
-
ID: number;
|
|
19
|
-
}
|
|
20
|
-
export interface iBXRestHttpListsElement extends iBXRestBaseListsElement {
|
|
21
|
-
BP_PUBLISHED: iBXRestYesNo;
|
|
22
|
-
CREATED_BY: string;
|
|
23
|
-
IBLOCK_ID: string;
|
|
24
|
-
ID: string;
|
|
25
|
-
}
|
|
26
|
-
export interface iBXRestBaseListsElement {
|
|
27
|
-
CODE: string | null;
|
|
28
|
-
IBLOCK_SECTION_ID: string | null;
|
|
29
|
-
NAME: string;
|
|
30
|
-
[key: `${iBXRestFilterKeys}PROPERTY_${string}`]: {
|
|
31
|
-
[key: string]: string | iBXRestParamListsElementGetHtml;
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export interface iBXRestParamListsElementGetHtml {
|
|
35
|
-
TYPE: 'HTML';
|
|
36
|
-
TEXT: string;
|
|
37
|
-
}
|
|
1
|
+
import { iBXRestYesNo } from '../../base/YesNo';
|
|
2
|
+
import { iBXRestFilterKeys } from '../../base/filterGenerator';
|
|
3
|
+
import { iBXRestPagination } from '../../base/ApiPaginationBX';
|
|
4
|
+
export interface iBXRestParamListsElementGet extends iBXRestPagination {
|
|
5
|
+
IBLOCK_TYPE_ID: 'lists' | 'bitrix_processes' | 'lists_socnet';
|
|
6
|
+
IBLOCK_ID: number;
|
|
7
|
+
SOCNET_GROUP_ID?: number;
|
|
8
|
+
ELEMENT_ID?: number;
|
|
9
|
+
FILTER?: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export type iBXRestListsElementKey = keyof iBXRestListsElement;
|
|
14
|
+
export interface iBXRestListsElement extends iBXRestBaseListsElement {
|
|
15
|
+
BP_PUBLISHED: boolean;
|
|
16
|
+
CREATED_BY: number;
|
|
17
|
+
IBLOCK_ID: number;
|
|
18
|
+
ID: number;
|
|
19
|
+
}
|
|
20
|
+
export interface iBXRestHttpListsElement extends iBXRestBaseListsElement {
|
|
21
|
+
BP_PUBLISHED: iBXRestYesNo;
|
|
22
|
+
CREATED_BY: string;
|
|
23
|
+
IBLOCK_ID: string;
|
|
24
|
+
ID: string;
|
|
25
|
+
}
|
|
26
|
+
export interface iBXRestBaseListsElement {
|
|
27
|
+
CODE: string | null;
|
|
28
|
+
IBLOCK_SECTION_ID: string | null;
|
|
29
|
+
NAME: string;
|
|
30
|
+
[key: `${iBXRestFilterKeys}PROPERTY_${string}`]: {
|
|
31
|
+
[key: string]: string | iBXRestParamListsElementGetHtml;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export interface iBXRestParamListsElementGetHtml {
|
|
35
|
+
TYPE: 'HTML';
|
|
36
|
+
TEXT: string;
|
|
37
|
+
}
|
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import { iBXRestYesNo } from '../../base/YesNo';
|
|
2
|
-
import { iBXRestPagination } from '../../base/ApiPaginationBX';
|
|
3
|
-
export interface iBXRestParamListField extends iBXRestPagination {
|
|
4
|
-
IBLOCK_TYPE_ID: 'lists' | 'bitrix_processes' | 'lists_socnet';
|
|
5
|
-
IBLOCK_CODE?: string;
|
|
6
|
-
IBLOCK_ID?: number;
|
|
7
|
-
FIELD_ID?: number;
|
|
8
|
-
SOCNET_GROUP_ID?: number;
|
|
9
|
-
}
|
|
10
|
-
export interface iBXRestFieldItem {
|
|
11
|
-
FIELD_ID: string;
|
|
12
|
-
SORT: number;
|
|
13
|
-
NAME: string;
|
|
14
|
-
IS_REQUIRED: iBXRestYesNo;
|
|
15
|
-
MULTIPLE: iBXRestYesNo;
|
|
16
|
-
DEFAULT_VALUE: any;
|
|
17
|
-
TYPE: 'L' | 'F' | 'S:Date' | 'PREVIEW_TEXT' | string;
|
|
18
|
-
PROPERTY_TYPE: string | boolean;
|
|
19
|
-
PROPERTY_USER_TYPE: boolean | any;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
import { iBXRestYesNo } from '../../base/YesNo';
|
|
2
|
+
import { iBXRestPagination } from '../../base/ApiPaginationBX';
|
|
3
|
+
export interface iBXRestParamListField extends iBXRestPagination {
|
|
4
|
+
IBLOCK_TYPE_ID: 'lists' | 'bitrix_processes' | 'lists_socnet';
|
|
5
|
+
IBLOCK_CODE?: string;
|
|
6
|
+
IBLOCK_ID?: number;
|
|
7
|
+
FIELD_ID?: number;
|
|
8
|
+
SOCNET_GROUP_ID?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface iBXRestFieldItem {
|
|
11
|
+
FIELD_ID: string;
|
|
12
|
+
SORT: number;
|
|
13
|
+
NAME: string;
|
|
14
|
+
IS_REQUIRED: iBXRestYesNo;
|
|
15
|
+
MULTIPLE: iBXRestYesNo;
|
|
16
|
+
DEFAULT_VALUE: any;
|
|
17
|
+
TYPE: 'L' | 'F' | 'S:Date' | 'PREVIEW_TEXT' | string;
|
|
18
|
+
PROPERTY_TYPE: string | boolean;
|
|
19
|
+
PROPERTY_USER_TYPE: boolean | any;
|
|
20
|
+
CODE?: string | null;
|
|
21
|
+
SETTINGS: {
|
|
22
|
+
SHOW_ADD_FORM: iBXRestYesNo;
|
|
23
|
+
SHOW_EDIT_FORM: iBXRestYesNo;
|
|
24
|
+
USE_EDITOR?: iBXRestYesNo;
|
|
25
|
+
WIDTH?: number;
|
|
26
|
+
HEIGHT?: number;
|
|
27
|
+
ADD_READ_ONLY_FIELD?: null | string;
|
|
28
|
+
EDIT_READ_ONLY_FIELD?: null | string;
|
|
29
|
+
SHOW_FIELD_PREVIEW: null | string;
|
|
30
|
+
};
|
|
31
|
+
IBLOCK_ID: number;
|
|
32
|
+
DISPLAY_VALUES_FORM?: {
|
|
33
|
+
[key: number]: string;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export type BXRestHttpListsFieldGet = {
|
|
37
|
+
[key: string]: iBXRestFieldItem;
|
|
38
|
+
};
|
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
import { iBXRestPagination } from '../base/ApiPaginationBX';
|
|
2
|
-
import { iBXRestYesNo } from '../base/YesNo';
|
|
3
|
-
export interface iBXRestParamListGet extends iBXRestPagination {
|
|
4
|
-
IBLOCK_TYPE_ID: 'lists' | 'bitrix_processes' | 'lists_socnet';
|
|
5
|
-
IBLOCK_CODE?: string;
|
|
6
|
-
IBLOCK_ID?: number;
|
|
7
|
-
SOCNET_GROUP_ID?: number;
|
|
8
|
-
IBLOCK_ORDER?: any;
|
|
9
|
-
}
|
|
10
|
-
export interface iBXRestListItem extends iBXRestBaseListItem {
|
|
11
|
-
ACTIVE: boolean;
|
|
12
|
-
API_CODE: string;
|
|
13
|
-
BIZPROC: boolean;
|
|
14
|
-
CANONICAL_PAGE_URL: string;
|
|
15
|
-
DESCRIPTION: string;
|
|
16
|
-
DETAIL_PAGE_URL: string;
|
|
17
|
-
EDIT_FILE_AFTER: string;
|
|
18
|
-
EDIT_FILE_BEFORE: string;
|
|
19
|
-
ID: number;
|
|
20
|
-
INDEX_ELEMENT: boolean;
|
|
21
|
-
INDEX_SECTION: boolean;
|
|
22
|
-
LAST_CONV_ELEMENT: number;
|
|
23
|
-
LIST_MODE: string;
|
|
24
|
-
LIST_PAGE_URL: string;
|
|
25
|
-
PICTURE: string;
|
|
26
|
-
PROPERTY_INDEX: string;
|
|
27
|
-
REST_ON: boolean;
|
|
28
|
-
RSS_ACTIVE: boolean;
|
|
29
|
-
RSS_FILE_ACTIVE: boolean;
|
|
30
|
-
RSS_FILE_DAYS: string;
|
|
31
|
-
RSS_FILE_LIMIT: string;
|
|
32
|
-
RSS_TTL: number;
|
|
33
|
-
RSS_YANDEX_ACTIVE: boolean;
|
|
34
|
-
SECTION_PAGE_URL: string;
|
|
35
|
-
SECTION_PROPERTY: string;
|
|
36
|
-
SERVER_NAME: string;
|
|
37
|
-
SOCNET_GROUP_ID: string;
|
|
38
|
-
TIMESTAMP_X: Date;
|
|
39
|
-
TMP_ID: string;
|
|
40
|
-
VERSION: number;
|
|
41
|
-
WORKFLOW: boolean;
|
|
42
|
-
XML_ID: string;
|
|
43
|
-
SORT: number;
|
|
44
|
-
}
|
|
45
|
-
export interface iBXRestListItemHttp extends iBXRestBaseListItem {
|
|
46
|
-
ACTIVE: iBXRestYesNo;
|
|
47
|
-
API_CODE: string | null;
|
|
48
|
-
BIZPROC: iBXRestYesNo;
|
|
49
|
-
CANONICAL_PAGE_URL: string | null;
|
|
50
|
-
DESCRIPTION: string | null;
|
|
51
|
-
DETAIL_PAGE_URL: string | null;
|
|
52
|
-
EDIT_FILE_AFTER: string | null;
|
|
53
|
-
EDIT_FILE_BEFORE: string | null;
|
|
54
|
-
ID: string;
|
|
55
|
-
INDEX_ELEMENT: iBXRestYesNo;
|
|
56
|
-
INDEX_SECTION: iBXRestYesNo;
|
|
57
|
-
LAST_CONV_ELEMENT: string;
|
|
58
|
-
LIST_MODE: string | null;
|
|
59
|
-
LIST_PAGE_URL: string | null;
|
|
60
|
-
PICTURE: string | null;
|
|
61
|
-
PROPERTY_INDEX: string | null;
|
|
62
|
-
REST_ON: iBXRestYesNo;
|
|
63
|
-
RSS_ACTIVE: iBXRestYesNo;
|
|
64
|
-
RSS_FILE_ACTIVE: iBXRestYesNo;
|
|
65
|
-
RSS_FILE_DAYS: string | null;
|
|
66
|
-
RSS_FILE_LIMIT: string | null;
|
|
67
|
-
RSS_TTL: string;
|
|
68
|
-
RSS_YANDEX_ACTIVE: iBXRestYesNo;
|
|
69
|
-
SECTION_PAGE_URL: string | null;
|
|
70
|
-
SECTION_PROPERTY: string | null;
|
|
71
|
-
SERVER_NAME: string | null;
|
|
72
|
-
SOCNET_GROUP_ID: string | null;
|
|
73
|
-
TIMESTAMP_X: string;
|
|
74
|
-
TMP_ID: string | null;
|
|
75
|
-
VERSION: string;
|
|
76
|
-
WORKFLOW: iBXRestYesNo;
|
|
77
|
-
XML_ID: string | null;
|
|
78
|
-
SORT: string;
|
|
79
|
-
}
|
|
80
|
-
interface iBXRestBaseListItem {
|
|
81
|
-
CODE: string;
|
|
82
|
-
DESCRIPTION_TYPE: 'text';
|
|
83
|
-
ELEMENTS_NAME: string;
|
|
84
|
-
ELEMENT_NAME: string;
|
|
85
|
-
EXTERNAL_ID: string | null;
|
|
86
|
-
IBLOCK_TYPE_ID: string;
|
|
87
|
-
LANG_DIR: string;
|
|
88
|
-
LID: string;
|
|
89
|
-
NAME: string;
|
|
90
|
-
RIGHTS_MODE: string;
|
|
91
|
-
SECTIONS_NAME: string;
|
|
92
|
-
SECTION_CHOOSER: string;
|
|
93
|
-
SECTION_NAME: string;
|
|
94
|
-
}
|
|
95
|
-
export {};
|
|
1
|
+
import { iBXRestPagination } from '../base/ApiPaginationBX';
|
|
2
|
+
import { iBXRestYesNo } from '../base/YesNo';
|
|
3
|
+
export interface iBXRestParamListGet extends iBXRestPagination {
|
|
4
|
+
IBLOCK_TYPE_ID: 'lists' | 'bitrix_processes' | 'lists_socnet';
|
|
5
|
+
IBLOCK_CODE?: string;
|
|
6
|
+
IBLOCK_ID?: number;
|
|
7
|
+
SOCNET_GROUP_ID?: number;
|
|
8
|
+
IBLOCK_ORDER?: any;
|
|
9
|
+
}
|
|
10
|
+
export interface iBXRestListItem extends iBXRestBaseListItem {
|
|
11
|
+
ACTIVE: boolean;
|
|
12
|
+
API_CODE: string;
|
|
13
|
+
BIZPROC: boolean;
|
|
14
|
+
CANONICAL_PAGE_URL: string;
|
|
15
|
+
DESCRIPTION: string;
|
|
16
|
+
DETAIL_PAGE_URL: string;
|
|
17
|
+
EDIT_FILE_AFTER: string;
|
|
18
|
+
EDIT_FILE_BEFORE: string;
|
|
19
|
+
ID: number;
|
|
20
|
+
INDEX_ELEMENT: boolean;
|
|
21
|
+
INDEX_SECTION: boolean;
|
|
22
|
+
LAST_CONV_ELEMENT: number;
|
|
23
|
+
LIST_MODE: string;
|
|
24
|
+
LIST_PAGE_URL: string;
|
|
25
|
+
PICTURE: string;
|
|
26
|
+
PROPERTY_INDEX: string;
|
|
27
|
+
REST_ON: boolean;
|
|
28
|
+
RSS_ACTIVE: boolean;
|
|
29
|
+
RSS_FILE_ACTIVE: boolean;
|
|
30
|
+
RSS_FILE_DAYS: string;
|
|
31
|
+
RSS_FILE_LIMIT: string;
|
|
32
|
+
RSS_TTL: number;
|
|
33
|
+
RSS_YANDEX_ACTIVE: boolean;
|
|
34
|
+
SECTION_PAGE_URL: string;
|
|
35
|
+
SECTION_PROPERTY: string;
|
|
36
|
+
SERVER_NAME: string;
|
|
37
|
+
SOCNET_GROUP_ID: string;
|
|
38
|
+
TIMESTAMP_X: Date;
|
|
39
|
+
TMP_ID: string;
|
|
40
|
+
VERSION: number;
|
|
41
|
+
WORKFLOW: boolean;
|
|
42
|
+
XML_ID: string;
|
|
43
|
+
SORT: number;
|
|
44
|
+
}
|
|
45
|
+
export interface iBXRestListItemHttp extends iBXRestBaseListItem {
|
|
46
|
+
ACTIVE: iBXRestYesNo;
|
|
47
|
+
API_CODE: string | null;
|
|
48
|
+
BIZPROC: iBXRestYesNo;
|
|
49
|
+
CANONICAL_PAGE_URL: string | null;
|
|
50
|
+
DESCRIPTION: string | null;
|
|
51
|
+
DETAIL_PAGE_URL: string | null;
|
|
52
|
+
EDIT_FILE_AFTER: string | null;
|
|
53
|
+
EDIT_FILE_BEFORE: string | null;
|
|
54
|
+
ID: string;
|
|
55
|
+
INDEX_ELEMENT: iBXRestYesNo;
|
|
56
|
+
INDEX_SECTION: iBXRestYesNo;
|
|
57
|
+
LAST_CONV_ELEMENT: string;
|
|
58
|
+
LIST_MODE: string | null;
|
|
59
|
+
LIST_PAGE_URL: string | null;
|
|
60
|
+
PICTURE: string | null;
|
|
61
|
+
PROPERTY_INDEX: string | null;
|
|
62
|
+
REST_ON: iBXRestYesNo;
|
|
63
|
+
RSS_ACTIVE: iBXRestYesNo;
|
|
64
|
+
RSS_FILE_ACTIVE: iBXRestYesNo;
|
|
65
|
+
RSS_FILE_DAYS: string | null;
|
|
66
|
+
RSS_FILE_LIMIT: string | null;
|
|
67
|
+
RSS_TTL: string;
|
|
68
|
+
RSS_YANDEX_ACTIVE: iBXRestYesNo;
|
|
69
|
+
SECTION_PAGE_URL: string | null;
|
|
70
|
+
SECTION_PROPERTY: string | null;
|
|
71
|
+
SERVER_NAME: string | null;
|
|
72
|
+
SOCNET_GROUP_ID: string | null;
|
|
73
|
+
TIMESTAMP_X: string;
|
|
74
|
+
TMP_ID: string | null;
|
|
75
|
+
VERSION: string;
|
|
76
|
+
WORKFLOW: iBXRestYesNo;
|
|
77
|
+
XML_ID: string | null;
|
|
78
|
+
SORT: string;
|
|
79
|
+
}
|
|
80
|
+
interface iBXRestBaseListItem {
|
|
81
|
+
CODE: string;
|
|
82
|
+
DESCRIPTION_TYPE: 'text';
|
|
83
|
+
ELEMENTS_NAME: string;
|
|
84
|
+
ELEMENT_NAME: string;
|
|
85
|
+
EXTERNAL_ID: string | null;
|
|
86
|
+
IBLOCK_TYPE_ID: string;
|
|
87
|
+
LANG_DIR: string;
|
|
88
|
+
LID: string;
|
|
89
|
+
NAME: string;
|
|
90
|
+
RIGHTS_MODE: string;
|
|
91
|
+
SECTIONS_NAME: string;
|
|
92
|
+
SECTION_CHOOSER: string;
|
|
93
|
+
SECTION_NAME: string;
|
|
94
|
+
}
|
|
95
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { iBXRestYesNo } from '../../base/YesNo';
|
|
2
|
-
export interface iBXRestParamLogBlogPostAdd {
|
|
3
|
-
USER_ID?: number;
|
|
4
|
-
POST_MESSAGE: string;
|
|
5
|
-
POST_TITLE?: string;
|
|
6
|
-
DEST?: string[];
|
|
7
|
-
FILES?: string[][];
|
|
8
|
-
IMPORTANT?: iBXRestYesNo;
|
|
9
|
-
IMPORTANT_DATE_END?: Date;
|
|
10
|
-
GRATITUDE_MEDAL?: string;
|
|
11
|
-
GRATITUDE_EMPLOYEES?: number[];
|
|
12
|
-
}
|
|
1
|
+
import { iBXRestYesNo } from '../../base/YesNo';
|
|
2
|
+
export interface iBXRestParamLogBlogPostAdd {
|
|
3
|
+
USER_ID?: number;
|
|
4
|
+
POST_MESSAGE: string;
|
|
5
|
+
POST_TITLE?: string;
|
|
6
|
+
DEST?: string[];
|
|
7
|
+
FILES?: string[][];
|
|
8
|
+
IMPORTANT?: iBXRestYesNo;
|
|
9
|
+
IMPORTANT_DATE_END?: Date;
|
|
10
|
+
GRATITUDE_MEDAL?: string;
|
|
11
|
+
GRATITUDE_EMPLOYEES?: number[];
|
|
12
|
+
}
|