bx-rest 0.8.2 → 0.8.4
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/esm2022/functions/toLocalAtom.mjs +11 -0
- package/esm2022/map/task/elapseditem.mjs +1 -1
- package/esm2022/map/timeman.mjs +6 -2
- package/esm2022/request/task/elapseditem.mjs +1 -1
- package/esm2022/request-navvy/bizproc/workflow.mjs +1 -1
- package/esm2022/request-navvy/calendar/event.mjs +1 -1
- package/esm2022/request-navvy/calendar/section.mjs +1 -1
- package/esm2022/request-navvy/calendar/user/settings.mjs +1 -1
- package/esm2022/request-navvy/department.mjs +1 -1
- package/esm2022/request-navvy/disk/attachedObject.mjs +1 -1
- package/esm2022/request-navvy/disk/file.mjs +1 -1
- package/esm2022/request-navvy/disk/folder.mjs +1 -1
- package/esm2022/request-navvy/disk/operation/storage.mjs +1 -1
- package/esm2022/request-navvy/disk/storage.mjs +1 -1
- package/esm2022/request-navvy/im/chat/user.mjs +1 -1
- package/esm2022/request-navvy/im/chat.mjs +1 -1
- package/esm2022/request-navvy/im/counters.mjs +1 -1
- package/esm2022/request-navvy/im/dialog/messages.mjs +1 -1
- package/esm2022/request-navvy/im/dialog/read.mjs +1 -1
- package/esm2022/request-navvy/im/dialog/users.mjs +1 -1
- package/esm2022/request-navvy/im/dialog.mjs +1 -1
- package/esm2022/request-navvy/im/recent.mjs +1 -1
- package/esm2022/request-navvy/im/user/list.mjs +1 -1
- package/esm2022/request-navvy/im/user/status/idle.mjs +1 -1
- package/esm2022/request-navvy/im/user/status.mjs +1 -1
- package/esm2022/request-navvy/im/user.mjs +1 -1
- package/esm2022/request-navvy/lists/element.mjs +1 -1
- package/esm2022/request-navvy/lists/field.mjs +1 -1
- package/esm2022/request-navvy/lists.mjs +1 -1
- package/esm2022/request-navvy/log/blogpost.mjs +1 -1
- package/esm2022/request-navvy/pull/application/config.mjs +1 -1
- package/esm2022/request-navvy/pull/channel/public.mjs +1 -1
- package/esm2022/request-navvy/socialnetwork/api/contentview.mjs +1 -1
- package/esm2022/request-navvy/socialnetwork/api/livefeed/blogpost/important.mjs +1 -1
- package/esm2022/request-navvy/sonet_group.mjs +1 -1
- package/esm2022/request-navvy/task/commentitem.mjs +1 -1
- package/esm2022/request-navvy/task/delegate/elapseditem.mjs +1 -1
- package/esm2022/request-navvy/task/elapseditem.mjs +1 -1
- package/esm2022/request-navvy/task/item/userfield.mjs +1 -1
- package/esm2022/request-navvy/task/operation/elapseditem.mjs +1 -1
- package/esm2022/request-navvy/tasks/task/result.mjs +1 -1
- package/esm2022/request-navvy/tasks/task.mjs +1 -1
- package/esm2022/request-navvy/timeman.mjs +8 -1
- package/esm2022/request-navvy/user.mjs +1 -1
- package/esm2022/services/http/HttpBX.mjs +24 -5
- package/esm2022/services/navvy.mjs +7 -1
- package/esm2022/typification/rest/bizproc/base/filedEnum.mjs +2 -0
- package/esm2022/typification/rest/bizproc/workflow/template/list.mjs +2 -0
- package/esm2022/typification/rest/bizproc.mjs +7 -0
- package/esm2022/typification/rest/calendar.mjs +16 -0
- package/esm2022/typification/rest/department.mjs +9 -0
- package/esm2022/typification/rest/disk.mjs +16 -0
- package/esm2022/typification/rest/im.mjs +34 -0
- package/esm2022/typification/rest/lists.mjs +8 -0
- package/esm2022/typification/rest/log.mjs +7 -0
- package/esm2022/typification/rest/pull.mjs +4 -2
- package/esm2022/typification/rest/socialnetwork.mjs +6 -0
- package/esm2022/typification/rest/sonet_group.mjs +6 -0
- package/esm2022/typification/rest/task/stages/add.mjs +2 -0
- package/esm2022/typification/rest/task/stages/canMoveTask.mjs +2 -0
- package/esm2022/typification/rest/task/stages/get.mjs +2 -0
- package/esm2022/typification/rest/task/stages/update.mjs +2 -0
- package/esm2022/typification/rest/task.mjs +28 -0
- package/esm2022/typification/rest/tasks.mjs +22 -0
- package/esm2022/typification/rest/timeman/status.mjs +1 -1
- package/esm2022/typification/rest/timeman.mjs +2 -0
- package/fesm2022/bx-rest.mjs +58 -5
- package/fesm2022/bx-rest.mjs.map +1 -1
- package/functions/toLocalAtom.d.ts +1 -0
- package/map/disk/folder.d.ts +1 -1
- package/map/disk/storage.d.ts +1 -1
- package/map/task/elapseditem.d.ts +1 -1
- package/package.json +56 -2
- package/request/task/elapseditem.d.ts +1 -6
- package/request-navvy/app.d.ts +1 -1
- package/request-navvy/bizproc/workflow.d.ts +2 -2
- package/request-navvy/calendar/event.d.ts +7 -11
- package/request-navvy/calendar/section.d.ts +5 -8
- package/request-navvy/calendar/user/settings.d.ts +3 -3
- package/request-navvy/department.d.ts +5 -7
- package/request-navvy/disk/attachedObject.d.ts +2 -2
- package/request-navvy/disk/file.d.ts +3 -3
- package/request-navvy/disk/folder.d.ts +13 -19
- package/request-navvy/disk/operation/storage.d.ts +5 -7
- package/request-navvy/disk/operation.d.ts +4 -4
- package/request-navvy/disk/storage.d.ts +5 -9
- package/request-navvy/im/chat/user.d.ts +4 -6
- package/request-navvy/im/chat.d.ts +9 -16
- package/request-navvy/im/counters.d.ts +2 -2
- package/request-navvy/im/dialog/messages.d.ts +2 -2
- package/request-navvy/im/dialog/read.d.ts +3 -3
- package/request-navvy/im/dialog/users.d.ts +2 -2
- package/request-navvy/im/dialog.d.ts +6 -8
- package/request-navvy/im/recent.d.ts +6 -8
- package/request-navvy/im/user/list.d.ts +2 -3
- package/request-navvy/im/user/status/idle.d.ts +3 -3
- package/request-navvy/im/user/status.d.ts +3 -4
- package/request-navvy/im/user.d.ts +2 -2
- package/request-navvy/lists/element.d.ts +3 -4
- package/request-navvy/lists/field.d.ts +2 -2
- package/request-navvy/lists.d.ts +2 -2
- package/request-navvy/log/blogpost.d.ts +3 -4
- package/request-navvy/pull/application/config.d.ts +2 -2
- package/request-navvy/pull/channel/public.d.ts +2 -2
- package/request-navvy/pull/config.d.ts +1 -1
- package/request-navvy/server.d.ts +1 -1
- package/request-navvy/socialnetwork/api/contentview.d.ts +2 -2
- package/request-navvy/socialnetwork/api/livefeed/blogpost/important.d.ts +2 -2
- package/request-navvy/sonet_group.d.ts +2 -2
- package/request-navvy/task/commentitem.d.ts +5 -10
- package/request-navvy/task/delegate/elapseditem.d.ts +2 -2
- package/request-navvy/task/elapseditem.d.ts +6 -10
- package/request-navvy/task/item/userfield.d.ts +2 -2
- package/request-navvy/task/operation/elapseditem.d.ts +3 -8
- package/request-navvy/task/planner.d.ts +1 -1
- package/request-navvy/tasks/task/result.d.ts +4 -5
- package/request-navvy/tasks/task.d.ts +8 -16
- package/request-navvy/timeman.d.ts +6 -6
- package/request-navvy/user/userfield.d.ts +1 -1
- package/request-navvy/user.d.ts +7 -9
- package/rest/navvy.d.ts +1 -1
- package/services/navvy.d.ts +6 -0
- package/typification/rest/bizproc/base/filedEnum.d.ts +1 -0
- package/typification/rest/bizproc/workflow/template/list.d.ts +8 -0
- package/typification/rest/bizproc.d.ts +6 -0
- package/typification/rest/calendar.d.ts +15 -0
- package/typification/rest/department.d.ts +8 -0
- package/typification/rest/disk.d.ts +15 -0
- package/typification/rest/im.d.ts +29 -0
- package/typification/rest/lists.d.ts +7 -0
- package/typification/rest/log.d.ts +6 -0
- package/typification/rest/pull.d.ts +3 -1
- package/typification/rest/socialnetwork.d.ts +5 -0
- package/typification/rest/sonet_group.d.ts +5 -0
- package/typification/rest/task/stages/add.d.ts +7 -0
- package/typification/rest/task/stages/canMoveTask.d.ts +4 -0
- package/typification/rest/task/stages/get.d.ts +4 -0
- package/typification/rest/task/stages/update.d.ts +5 -0
- package/typification/rest/task.d.ts +22 -0
- package/typification/rest/tasks.d.ts +18 -0
- package/typification/rest/timeman/status.d.ts +7 -3
- package/typification/rest/timeman.d.ts +1 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Файл для возможности импорта интерфейсов подразделений в локальные проекты
|
|
3
|
+
*/
|
|
4
|
+
export * from './department/add';
|
|
5
|
+
export * from './department/del';
|
|
6
|
+
export * from './department/department';
|
|
7
|
+
export * from './department/get';
|
|
8
|
+
export * from './department/update';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Файл для возможности импорта интерфейсов Disk в локальные проекты
|
|
3
|
+
*/
|
|
4
|
+
export * from './disk/AttachedObject';
|
|
5
|
+
export * from './disk/file';
|
|
6
|
+
export * from './disk/folder';
|
|
7
|
+
export * from './disk/folder/addSubFolder';
|
|
8
|
+
export * from './disk/folder/copyTo';
|
|
9
|
+
export * from './disk/folder/getFields';
|
|
10
|
+
export * from './disk/folder/moveTo';
|
|
11
|
+
export * from './disk/folder/rename';
|
|
12
|
+
export * from './disk/folder/uploadFile';
|
|
13
|
+
export * from './disk/map';
|
|
14
|
+
export * from './disk/storage/getchildren';
|
|
15
|
+
export * from './disk/storage/uploadfile';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Файл для возможности импорта интерфейсов модуля im в локальные проекты
|
|
3
|
+
*/
|
|
4
|
+
export * from './im/chat/add';
|
|
5
|
+
export * from './im/chat/get';
|
|
6
|
+
export * from './im/chat/leave';
|
|
7
|
+
export * from './im/chat/mute';
|
|
8
|
+
export * from './im/chat/setOwner';
|
|
9
|
+
export * from './im/chat/updateAvatar';
|
|
10
|
+
export * from './im/chat/updateColor';
|
|
11
|
+
export * from './im/chat/updateTitle';
|
|
12
|
+
export * from './im/chat/user/add';
|
|
13
|
+
export * from './im/chat/user/delete';
|
|
14
|
+
export * from './im/chat/user/list';
|
|
15
|
+
export * from './im/counters/get';
|
|
16
|
+
export * from './im/dialog/get';
|
|
17
|
+
export * from './im/dialog/messages/get';
|
|
18
|
+
export * from './im/dialog/read';
|
|
19
|
+
export * from './im/dialog/recent/get';
|
|
20
|
+
export * from './im/dialog/recent/list';
|
|
21
|
+
export * from './im/dialog/recent/unread';
|
|
22
|
+
export * from './im/dialog/unread';
|
|
23
|
+
export * from './im/dialog/user/get';
|
|
24
|
+
export * from './im/dialog/writing';
|
|
25
|
+
export * from './im/user/get';
|
|
26
|
+
export * from './im/user/list/get';
|
|
27
|
+
export * from './im/user/status/get';
|
|
28
|
+
export * from './im/user/status/idle';
|
|
29
|
+
export * from './im/user/status/set';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Файл для возможности импорта интерфейсов задач (task) в локальные проекты
|
|
3
|
+
*/
|
|
4
|
+
export * from './task/access/getaccess';
|
|
5
|
+
export * from './task/commentitem/add';
|
|
6
|
+
export * from './task/commentitem/commentitem';
|
|
7
|
+
export * from './task/commentitem/delete';
|
|
8
|
+
export * from './task/commentitem/get';
|
|
9
|
+
export * from './task/commentitem/getlist';
|
|
10
|
+
export * from './task/commentitem/update';
|
|
11
|
+
export * from './task/elapseditem/add';
|
|
12
|
+
export * from './task/elapseditem/del';
|
|
13
|
+
export * from './task/elapseditem/get';
|
|
14
|
+
export * from './task/elapseditem/isActionAllowedParam';
|
|
15
|
+
export * from './task/elapseditem/item';
|
|
16
|
+
export * from './task/elapseditem/update';
|
|
17
|
+
export * from './task/item/userfield/getlist';
|
|
18
|
+
export * from './task/stages/add';
|
|
19
|
+
export * from './task/stages/canMoveTask';
|
|
20
|
+
export * from './task/stages/get';
|
|
21
|
+
export * from './task/stages/stage';
|
|
22
|
+
export * from './task/stages/update';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Файл для возможности импорта интерфейсов модуля tasks в локальные проекты
|
|
3
|
+
*/
|
|
4
|
+
export * from './tasks/base/fields-name';
|
|
5
|
+
export * from './tasks/base/filter-generator';
|
|
6
|
+
export * from './tasks/base/people';
|
|
7
|
+
export * from './tasks/result/list';
|
|
8
|
+
export * from './tasks/task/result/result';
|
|
9
|
+
export * from './tasks/task/add';
|
|
10
|
+
export * from './tasks/task/approve';
|
|
11
|
+
export * from './tasks/task/base';
|
|
12
|
+
export * from './tasks/task/complete';
|
|
13
|
+
export * from './tasks/task/defer';
|
|
14
|
+
export * from './tasks/task/get';
|
|
15
|
+
export * from './tasks/task/getFields';
|
|
16
|
+
export * from './tasks/task/list';
|
|
17
|
+
export * from './tasks/task/update';
|
|
18
|
+
export * from './tasks/task';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type BXRestTimeManStatusDay = 'OPENED' | '
|
|
1
|
+
type BXRestTimeManStatusDay = 'OPENED' | 'CLOSED' | 'PAUSED' | 'EXPIRED';
|
|
2
2
|
/** Параметры для timeman.status */
|
|
3
3
|
export interface iBXRestParamTimeManStatus {
|
|
4
4
|
/** Идентификатор пользователя (по умолчанию текущий) */
|
|
@@ -9,7 +9,7 @@ export interface iBXRestParamTimeManOpen {
|
|
|
9
9
|
/** Идентификатор пользователя (по умолчанию текущий) */
|
|
10
10
|
USER_ID?: number;
|
|
11
11
|
/** Время начала дня в формате ISO-8601 */
|
|
12
|
-
TIME?: string;
|
|
12
|
+
TIME?: Date | string;
|
|
13
13
|
/** Причина изменения рабочего дня */
|
|
14
14
|
REPORT?: string;
|
|
15
15
|
/** Широта точки начала дня */
|
|
@@ -22,7 +22,7 @@ export interface iBXRestParamTimeManClose {
|
|
|
22
22
|
/** Идентификатор пользователя (по умолчанию текущий) */
|
|
23
23
|
USER_ID?: number;
|
|
24
24
|
/** Время окончания дня в формате ISO-8601 */
|
|
25
|
-
TIME?: string;
|
|
25
|
+
TIME?: Date | string;
|
|
26
26
|
/** Причина изменения рабочего дня */
|
|
27
27
|
REPORT?: string;
|
|
28
28
|
/** Широта точки окончания дня */
|
|
@@ -50,6 +50,8 @@ export interface iBXRestTimeManStatus extends iBXRestTimeManStatusBase {
|
|
|
50
50
|
DURATION: number;
|
|
51
51
|
/** Суммарная длительность перерывов в секундах */
|
|
52
52
|
TIME_LEAKS: number;
|
|
53
|
+
/** Дефолтное значение закрытого дня */
|
|
54
|
+
TIME_FINISH_DEFAULT?: Date;
|
|
53
55
|
}
|
|
54
56
|
/** Ответ timeman.status в сыром виде от API */
|
|
55
57
|
export interface iBXRestTimeManStatusHttp extends iBXRestTimeManStatusBase {
|
|
@@ -61,6 +63,8 @@ export interface iBXRestTimeManStatusHttp extends iBXRestTimeManStatusBase {
|
|
|
61
63
|
DURATION: string;
|
|
62
64
|
/** Суммарная длительность перерывов в HH:MM:SS */
|
|
63
65
|
TIME_LEAKS: string;
|
|
66
|
+
/** Дефолтное значение закрытого дня */
|
|
67
|
+
TIME_FINISH_DEFAULT?: string;
|
|
64
68
|
}
|
|
65
69
|
/** Базовые поля статуса рабочего дня */
|
|
66
70
|
interface iBXRestTimeManStatusBase {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './timeman/status';
|