bx-rest 0.1.11 → 0.1.16
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 +2 -3
- package/{esm2020 → esm2022}/map/base.mjs +4 -4
- package/{esm2020 → esm2022}/map/calendar/event.mjs +4 -4
- package/{esm2020 → esm2022}/map/disk/attachedObject.mjs +4 -4
- package/{esm2020 → esm2022}/map/disk/base.mjs +4 -4
- package/esm2022/map/disk/file.mjs +20 -0
- package/esm2022/map/disk/folder.mjs +17 -0
- package/esm2022/map/disk/storage.mjs +17 -0
- package/esm2022/map/lists/element.mjs +24 -0
- package/esm2022/map/lists/field.mjs +16 -0
- package/esm2022/map/lists.mjs +67 -0
- package/{esm2020 → esm2022}/map/sonet_group.mjs +4 -4
- package/esm2022/map/task/elapseditem.mjs +16 -0
- package/esm2022/map/tasks/task.mjs +127 -0
- package/esm2022/map/user.mjs +89 -0
- package/{esm2020 → esm2022}/public-api.mjs +2 -1
- package/{esm2020 → esm2022}/request/bizproc/activity.mjs +4 -4
- package/{esm2020 → esm2022}/request/bizproc/event.mjs +4 -4
- package/{esm2020 → esm2022}/request/bizproc/robot.mjs +4 -4
- package/{esm2020 → esm2022}/request/bizproc/task.mjs +4 -4
- package/{esm2020 → esm2022}/request/bizproc/workflow/instance.mjs +4 -4
- package/{esm2020 → esm2022}/request/bizproc/workflow/template.mjs +4 -4
- package/{esm2020 → esm2022}/request/bizproc/workflow.mjs +4 -4
- package/{esm2020 → esm2022}/request/bizproc.mjs +4 -4
- package/{esm2020 → esm2022}/request/bx-rest.module.mjs +9 -9
- package/{esm2020 → esm2022}/request/calendar/event.mjs +4 -4
- package/{esm2020 → esm2022}/request/calendar.mjs +4 -4
- package/{esm2020 → esm2022}/request/disk/attachedObject.mjs +4 -4
- package/{esm2020 → esm2022}/request/disk/file.mjs +5 -5
- package/{esm2020 → esm2022}/request/disk/folder.mjs +4 -4
- package/esm2022/request/disk/storage.mjs +45 -0
- package/{esm2020 → esm2022}/request/disk.mjs +4 -4
- package/{esm2020 → esm2022}/request/lists/element.mjs +4 -4
- package/esm2022/request/lists/field.mjs +30 -0
- package/esm2022/request/lists.mjs +32 -0
- package/{esm2020 → esm2022}/request/log/blogcomment.mjs +4 -4
- package/{esm2020 → esm2022}/request/log/blogpost.mjs +4 -4
- package/{esm2020 → esm2022}/request/log.mjs +4 -4
- package/{esm2020 → esm2022}/request/sonet_group.mjs +4 -4
- package/{esm2020 → esm2022}/request/task/elapseditem.mjs +4 -4
- package/{esm2020 → esm2022}/request/task.mjs +4 -4
- package/{esm2020 → esm2022}/request/tasks/task.mjs +4 -4
- package/{esm2020 → esm2022}/request/tasks.mjs +4 -4
- package/esm2022/request/user.mjs +109 -0
- package/esm2022/request-navvy/bizproc/workflow.mjs +22 -0
- package/esm2022/request-navvy/bizproc.mjs +61 -0
- package/esm2022/request-navvy/calendar/event.mjs +24 -0
- package/{esm2020 → esm2022}/request-navvy/calendar.mjs +4 -4
- package/esm2022/request-navvy/disk/attachedObject.mjs +24 -0
- package/esm2022/request-navvy/disk/file.mjs +27 -0
- package/esm2022/request-navvy/disk/folder.mjs +38 -0
- package/esm2022/request-navvy/disk/interlayer/storage.mjs +60 -0
- package/esm2022/request-navvy/disk/operation.mjs +87 -0
- package/esm2022/request-navvy/disk/storage.mjs +54 -0
- package/{esm2020 → esm2022}/request-navvy/disk.mjs +4 -4
- package/esm2022/request-navvy/lists/element.mjs +27 -0
- package/esm2022/request-navvy/lists/field.mjs +24 -0
- package/esm2022/request-navvy/lists.mjs +28 -0
- package/{esm2020 → esm2022}/request-navvy/log/blogcomment.mjs +4 -4
- package/esm2022/request-navvy/log/blogpost.mjs +36 -0
- package/{esm2020 → esm2022}/request-navvy/log.mjs +4 -4
- package/esm2022/request-navvy/sonet_group.mjs +27 -0
- package/esm2022/request-navvy/task/elapseditem.mjs +300 -0
- package/{esm2020 → esm2022}/request-navvy/task.mjs +4 -4
- package/esm2022/request-navvy/tasks/task.mjs +219 -0
- package/{esm2020 → esm2022}/request-navvy/tasks.mjs +4 -4
- package/esm2022/request-navvy/user.mjs +66 -0
- package/{esm2020 → esm2022}/rest.mjs +10 -10
- package/esm2022/services/Navvy/NavvyAlternativePaginationNavigation.mjs +65 -0
- package/esm2022/services/Navvy/NavvyPagNav.mjs +42 -0
- package/esm2022/services/Navvy/NavvyPagNavWithUselessKey.mjs +57 -0
- package/esm2022/services/Navvy/NavvySimple.mjs +25 -0
- package/esm2022/services/Navvy/NavvySupport.mjs +22 -0
- package/esm2022/services/Navvy/extends/NavvyPagNavBase.mjs +28 -0
- package/{esm2020 → esm2022}/services/base.mjs +4 -4
- package/{esm2020 → esm2022}/services/http/HttpBX.mjs +4 -4
- package/{esm2020 → esm2022}/services/http/base/base.mjs +4 -4
- package/{esm2020 → esm2022}/services/http/http.mjs +4 -4
- package/{esm2020 → esm2022}/services/http/sessionKey.mjs +4 -4
- package/esm2022/services/navvy.mjs +28 -0
- package/{esm2020 → esm2022}/services/permission.mjs +4 -4
- package/{esm2020 → esm2022}/services/snack-bar/snack-bar.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/snack-bar/toast-message/toast-message.component.mjs +4 -4
- package/{esm2020 → esm2022}/services/vanilla/JSON.mjs +4 -4
- package/{esm2020 → esm2022}/services/vanilla/localStorage.mjs +4 -4
- package/{esm2020 → esm2022}/services/vanilla/sessionStorage.mjs +4 -4
- package/{esm2020 → esm2022}/services/vanilla//321/201ookies.mjs +4 -4
- package/{esm2020 → esm2022}/typification/rest/api-lib.mjs +4 -4
- package/esm2022/typification/rest/disk/storage/getchildren.mjs +2 -0
- package/esm2022/typification/rest/lists/element/get.mjs +2 -0
- package/esm2022/typification/rest/lists/field/get.mjs +2 -0
- package/{esm2020 → esm2022}/typification/rest/lists/get.mjs +1 -1
- package/{fesm2020 → fesm2022}/bx-rest.mjs +880 -494
- package/fesm2022/bx-rest.mjs.map +1 -0
- package/map/disk/file.d.ts +13 -0
- package/map/disk/folder.d.ts +1 -1
- package/map/disk/storage.d.ts +1 -1
- package/map/lists/element.d.ts +1 -1
- package/map/lists/field.d.ts +9 -0
- package/map/lists.d.ts +1 -4
- package/map/task/elapseditem.d.ts +6 -0
- package/map/tasks/task.d.ts +21 -0
- package/package.json +5 -11
- package/public-api.d.ts +1 -0
- package/request/disk/file.d.ts +1 -1
- package/request/disk/storage.d.ts +2 -4
- package/request/lists/field.d.ts +21 -0
- package/request/lists.d.ts +3 -1
- package/request/user.d.ts +1 -1
- package/request-navvy/bizproc/workflow.d.ts +2 -3
- package/request-navvy/bizproc.d.ts +1 -0
- package/request-navvy/calendar/event.d.ts +3 -4
- package/request-navvy/disk/attachedObject.d.ts +2 -3
- package/request-navvy/disk/file.d.ts +6 -6
- package/request-navvy/disk/folder.d.ts +2 -3
- package/request-navvy/disk/interlayer/storage.d.ts +21 -0
- package/request-navvy/disk/operation.d.ts +1 -1
- package/request-navvy/disk/storage.d.ts +8 -12
- package/request-navvy/lists/element.d.ts +3 -4
- package/request-navvy/lists/field.d.ts +13 -0
- package/request-navvy/lists.d.ts +7 -5
- package/request-navvy/log/blogpost.d.ts +4 -5
- package/request-navvy/sonet_group.d.ts +2 -3
- package/request-navvy/task/elapseditem.d.ts +12 -12
- package/request-navvy/tasks/task.d.ts +14 -10
- package/request-navvy/user.d.ts +8 -11
- package/services/Navvy/NavvyAlternativePaginationNavigation.d.ts +21 -0
- package/services/Navvy/NavvyPagNav.d.ts +8 -0
- package/services/Navvy/NavvyPagNavWithUselessKey.d.ts +8 -0
- package/services/Navvy/NavvySimple.d.ts +13 -0
- package/services/Navvy/NavvySupport.d.ts +14 -0
- package/services/Navvy/extends/NavvyPagNavBase.d.ts +16 -0
- package/services/base.d.ts +1 -1
- package/services/http/sessionKey.d.ts +1 -1
- package/services/navvy.d.ts +20 -8
- package/typification/base/modyfy.d.ts +4 -4
- package/typification/rest/base/OrderOptions.d.ts +1 -1
- package/typification/rest/base/YesNo.d.ts +1 -1
- package/typification/rest/base/filterGenerator.d.ts +3 -3
- package/typification/rest/base/sort.d.ts +1 -1
- package/typification/rest/batch/batchRequestParam.d.ts +3 -3
- package/typification/rest/bizproc/base/filedEnum.d.ts +1 -1
- package/typification/rest/bizproc/workflow/template/list.d.ts +1 -1
- package/typification/rest/calendar/base/type.d.ts +1 -1
- package/typification/rest/calendar/get/answer.d.ts +1 -1
- package/typification/rest/disk/storage/getchildren.d.ts +4 -0
- package/typification/rest/lists/element/get.d.ts +3 -2
- package/typification/rest/lists/field/get.d.ts +34 -0
- package/typification/rest/lists/get.d.ts +2 -1
- package/typification/rest/sonet_group/base.d.ts +7 -7
- package/typification/rest/sonet_group/get.d.ts +4 -4
- package/typification/rest/task/base/fieldsName.d.ts +1 -1
- package/typification/rest/user/user.d.ts +3 -3
- package/esm2020/map/disk/folder.mjs +0 -17
- package/esm2020/map/disk/storage.mjs +0 -17
- package/esm2020/map/lists/element.mjs +0 -22
- package/esm2020/map/lists.mjs +0 -72
- package/esm2020/map/task.mjs +0 -124
- package/esm2020/map/user.mjs +0 -89
- package/esm2020/request/disk/storage.mjs +0 -46
- package/esm2020/request/lists.mjs +0 -30
- package/esm2020/request/user.mjs +0 -103
- package/esm2020/request-navvy/bizproc/workflow.mjs +0 -22
- package/esm2020/request-navvy/bizproc.mjs +0 -60
- package/esm2020/request-navvy/calendar/event.mjs +0 -25
- package/esm2020/request-navvy/disk/attachedObject.mjs +0 -25
- package/esm2020/request-navvy/disk/file.mjs +0 -39
- package/esm2020/request-navvy/disk/folder.mjs +0 -44
- package/esm2020/request-navvy/disk/operation.mjs +0 -95
- package/esm2020/request-navvy/disk/storage.mjs +0 -56
- package/esm2020/request-navvy/lists/element.mjs +0 -28
- package/esm2020/request-navvy/lists.mjs +0 -27
- package/esm2020/request-navvy/log/blogpost.mjs +0 -36
- package/esm2020/request-navvy/sonet_group.mjs +0 -28
- package/esm2020/request-navvy/task/elapseditem.mjs +0 -261
- package/esm2020/request-navvy/tasks/task.mjs +0 -235
- package/esm2020/request-navvy/user.mjs +0 -64
- package/esm2020/services/navvy.mjs +0 -26
- package/esm2020/typification/rest/lists/element/get.mjs +0 -2
- package/fesm2015/bx-rest.mjs +0 -3827
- package/fesm2015/bx-rest.mjs.map +0 -1
- package/fesm2020/bx-rest.mjs.map +0 -1
- package/map/task.d.ts +0 -11
- /package/{esm2020 → esm2022}/bx-rest.mjs +0 -0
- /package/{esm2020 → esm2022}/consts/part-name-metods.mjs +0 -0
- /package/{esm2020 → esm2022}/consts/time.mjs +0 -0
- /package/{esm2020 → esm2022}/functions/mapResult.mjs +0 -0
- /package/{esm2020 → esm2022}/functions/serializeJavascript.mjs +0 -0
- /package/{esm2020 → esm2022}/services/http/HttpData.mjs +0 -0
- /package/{esm2020 → esm2022}/services/http/base/http.mjs +0 -0
- /package/{esm2020 → esm2022}/settings.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/auth/save.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/base/modyfy.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/permission.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/base/ApiPaginationBX.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/base/OrderOptions.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/base/YesNo.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/base/answer.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/base/filterGenerator.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/base/sort.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/batch/batchRequestParam.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/bizproc/base/filedEnum.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/bizproc/workflow/start.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/bizproc/workflow/template/list.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/calendar/base/type.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/calendar/get/answer.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/calendar/get/param.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/disk/AttachedObject.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/disk/file.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/disk/folder.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/disk/map.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/disk/storage/uploadfile.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/lib.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/lists/element/add.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/log/blogpost/add.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/log/blogpost/essence.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/log/blogpost/get.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/settings.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/sonet_group/base.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/sonet_group/get.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/support/param.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/task/access/getaccess.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/task/base/fieldsName.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/task/elapseditem/add.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/task/elapseditem/del.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/task/elapseditem/get.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/task/elapseditem/isActionAllowedParam.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/task/elapseditem/item.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/task/elapseditem/update.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/task/people/base.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/task/task.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/tasks/task/add.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/tasks/task/get.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/tasks/task/list.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/user/UserFilterSearch.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/user/get.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/rest/user/user.mjs +0 -0
- /package/{esm2020 → esm2022}/typification/settings.mjs +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { iBXRestFileHttp } from '../../typification/rest/disk/file';
|
|
2
|
+
import { BaseMapServices } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BXRestMapDiskFile extends BaseMapServices {
|
|
5
|
+
get(v: iBXRestFileHttp | undefined): (iBXRestFileHttp & {
|
|
6
|
+
SIZE: number;
|
|
7
|
+
}) | undefined;
|
|
8
|
+
markdeleted(v: iBXRestFileHttp | undefined): (iBXRestFileHttp & {
|
|
9
|
+
SIZE: number;
|
|
10
|
+
}) | undefined;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapDiskFile, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapDiskFile>;
|
|
13
|
+
}
|
package/map/disk/folder.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { iBXRestFileHttp } from '../../typification/rest/disk/file';
|
|
|
3
3
|
import BXRestMapDiskBase from './base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export default class BXRestMapDiskFolder extends BXRestMapDiskBase {
|
|
6
|
-
getContent(arr: (iBXRestFolderHttp | iBXRestFileHttp)[]): import("../../typification/rest/disk/map").iBXRestFileAndFolderMap;
|
|
6
|
+
getContent(arr: (iBXRestFolderHttp | iBXRestFileHttp)[] | undefined): import("../../typification/rest/disk/map").iBXRestFileAndFolderMap;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapDiskFolder, never>;
|
|
8
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapDiskFolder>;
|
|
9
9
|
}
|
package/map/disk/storage.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { iBXRestFolderHttp } from '../../typification/rest/disk/folder';
|
|
|
3
3
|
import { iBXRestFileHttp } from '../../typification/rest/disk/file';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export default class BXRestMapDiskStorage extends BXRestMapDiskBase {
|
|
6
|
-
getchildren(arr: (iBXRestFolderHttp | iBXRestFileHttp)[]): import("../../typification/rest/disk/map").iBXRestFileAndFolderMap;
|
|
6
|
+
getchildren(arr: (iBXRestFolderHttp | iBXRestFileHttp)[] | undefined): import("../../typification/rest/disk/map").iBXRestFileAndFolderMap;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapDiskStorage, never>;
|
|
8
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapDiskStorage>;
|
|
9
9
|
}
|
package/map/lists/element.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { BaseMapServices } from '../base';
|
|
|
2
2
|
import { iBXRestHttpListsElement, iBXRestListsElement } from '../../typification/rest/lists/element/get';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export default class BXRestMapListsElement extends BaseMapServices {
|
|
5
|
-
get(items: iBXRestHttpListsElement[]): iBXRestListsElement[];
|
|
5
|
+
get(items: iBXRestHttpListsElement[] | undefined): iBXRestListsElement[] | undefined;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapListsElement, never>;
|
|
7
7
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapListsElement>;
|
|
8
8
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { iBXRestFieldItem } from '../../typification/rest/lists/field/get';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BXRestMapListsField {
|
|
4
|
+
get(v: {
|
|
5
|
+
[key: string]: iBXRestFieldItem;
|
|
6
|
+
} | undefined): iBXRestFieldItem[] | undefined;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapListsField, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapListsField>;
|
|
9
|
+
}
|
package/map/lists.d.ts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { BaseMapServices } from './base';
|
|
2
|
-
import BXRestListsElementMap from './lists/element';
|
|
3
2
|
import { iBXRestListItem, iBXRestListItemHttp } from '../typification/rest/lists/get';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class BXRestMapLists extends BaseMapServices {
|
|
6
|
-
element: BXRestListsElementMap;
|
|
7
|
-
constructor(element: BXRestListsElementMap);
|
|
8
5
|
get(value: iBXRestListItemHttp[] | undefined): iBXRestListItem[] | undefined;
|
|
9
|
-
|
|
6
|
+
protected iBXRestListItemHttpToiBXRestListItem(itemLists: iBXRestListItemHttp): iBXRestListItem;
|
|
10
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapLists, never>;
|
|
11
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapLists>;
|
|
12
9
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { iBXRestTaskGetAccess } from '../../typification/rest/task/access/getaccess';
|
|
2
|
+
import { iBXRestHttpTask, iBXRestTask } from '../../typification/rest/task/task';
|
|
3
|
+
import { BaseMapServices } from '../base';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BXRestMapTasksTask extends BaseMapServices {
|
|
6
|
+
getaccess(v: iBXRestTaskGetAccess | undefined): {
|
|
7
|
+
[key: number]: import("../../typification/rest/task/access/getaccess").iBXRestTaskGetAccessItem;
|
|
8
|
+
} | undefined;
|
|
9
|
+
add(item: {
|
|
10
|
+
task: iBXRestHttpTask;
|
|
11
|
+
} | undefined): iBXRestTask | undefined;
|
|
12
|
+
get(item: {
|
|
13
|
+
task: iBXRestHttpTask | undefined;
|
|
14
|
+
} | undefined): iBXRestTask | undefined;
|
|
15
|
+
list(item: {
|
|
16
|
+
tasks: iBXRestHttpTask[] | undefined;
|
|
17
|
+
} | undefined): iBXRestTask[] | undefined;
|
|
18
|
+
private TaskBXHttpToTaskBX;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapTasksTask, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapTasksTask>;
|
|
21
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bx-rest",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"description": "bitrix rest api",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bitrxi",
|
|
@@ -20,11 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"tslib": "^2.3.0"
|
|
22
22
|
},
|
|
23
|
-
"module": "
|
|
24
|
-
"es2020": "fesm2020/bx-rest.mjs",
|
|
25
|
-
"esm2020": "esm2020/bx-rest.mjs",
|
|
26
|
-
"fesm2020": "fesm2020/bx-rest.mjs",
|
|
27
|
-
"fesm2015": "fesm2015/bx-rest.mjs",
|
|
23
|
+
"module": "fesm2022/bx-rest.mjs",
|
|
28
24
|
"typings": "index.d.ts",
|
|
29
25
|
"exports": {
|
|
30
26
|
"./package.json": {
|
|
@@ -32,11 +28,9 @@
|
|
|
32
28
|
},
|
|
33
29
|
".": {
|
|
34
30
|
"types": "./index.d.ts",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"node": "./fesm2015/bx-rest.mjs",
|
|
39
|
-
"default": "./fesm2020/bx-rest.mjs"
|
|
31
|
+
"esm2022": "./esm2022/bx-rest.mjs",
|
|
32
|
+
"esm": "./esm2022/bx-rest.mjs",
|
|
33
|
+
"default": "./fesm2022/bx-rest.mjs"
|
|
40
34
|
}
|
|
41
35
|
},
|
|
42
36
|
"sideEffects": false
|
package/public-api.d.ts
CHANGED
package/request/disk/file.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare class BXRestDiskFile {
|
|
|
19
19
|
};
|
|
20
20
|
constructor(http: HttpBXServices);
|
|
21
21
|
get(id: number): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<iBXRestFileHttp> | undefined>;
|
|
22
|
-
|
|
22
|
+
markdeleted(id: number): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<iBXRestFileHttp> | undefined>;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestDiskFile, never>;
|
|
24
24
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestDiskFile>;
|
|
25
25
|
}
|
|
@@ -2,6 +2,7 @@ import { HttpBXServices } from '../../services/http/HttpBX';
|
|
|
2
2
|
import { iBXRestFile, iBXRestFileHttp } from '../../typification/rest/disk/file';
|
|
3
3
|
import { iBXRestFolderHttp, iBXRestFolderInfo } from '../../typification/rest/disk/folder';
|
|
4
4
|
import { iBXRestParamUploadFile } from '../../typification/rest/disk/storage/uploadfile';
|
|
5
|
+
import { iBXRestParamGetchildren } from '../../typification/rest/disk/storage/getchildren';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class BXRestDiskStorage {
|
|
7
8
|
private http;
|
|
@@ -18,10 +19,7 @@ export declare class BXRestDiskStorage {
|
|
|
18
19
|
};
|
|
19
20
|
constructor(http: HttpBXServices);
|
|
20
21
|
getforapp(): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<iBXRestFolderInfo> | undefined>;
|
|
21
|
-
getchildren(param:
|
|
22
|
-
id: number;
|
|
23
|
-
filter?: any;
|
|
24
|
-
}): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<(iBXRestFolderHttp | iBXRestFileHttp)[]> | undefined>;
|
|
22
|
+
getchildren(param: iBXRestParamGetchildren): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<(iBXRestFolderHttp | iBXRestFileHttp)[]> | undefined>;
|
|
25
23
|
addfolder(param: {
|
|
26
24
|
id: number;
|
|
27
25
|
data: {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { iBXRestFieldItem, iBXRestParamListField } from '../../typification/rest/lists/field/get';
|
|
2
|
+
import { HttpBXServices } from '../../services/http/HttpBX';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export default class BXRestListsField {
|
|
5
|
+
private http;
|
|
6
|
+
url: {
|
|
7
|
+
add: string[];
|
|
8
|
+
delete: string[];
|
|
9
|
+
get: string[];
|
|
10
|
+
type: {
|
|
11
|
+
get: string[];
|
|
12
|
+
};
|
|
13
|
+
update: string[];
|
|
14
|
+
};
|
|
15
|
+
constructor(http: HttpBXServices);
|
|
16
|
+
get(param: iBXRestParamListField): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<{
|
|
17
|
+
[key: string]: iBXRestFieldItem;
|
|
18
|
+
}> | undefined>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestListsField, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestListsField>;
|
|
21
|
+
}
|
package/request/lists.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { BXRestListsElement } from './lists/element';
|
|
2
2
|
import { HttpBXServices } from '../services/http/HttpBX';
|
|
3
3
|
import { iBXRestListItemHttp, iBXRestParamListGet } from '../typification/rest/lists/get';
|
|
4
|
+
import BXRestListsField from './lists/field';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class BXRestLists {
|
|
6
7
|
element: BXRestListsElement;
|
|
8
|
+
field: BXRestListsField;
|
|
7
9
|
private http;
|
|
8
10
|
url: {
|
|
9
11
|
add: string[];
|
|
@@ -12,7 +14,7 @@ export declare class BXRestLists {
|
|
|
12
14
|
update: string[];
|
|
13
15
|
getIblockTypeId: string[];
|
|
14
16
|
};
|
|
15
|
-
constructor(element: BXRestListsElement, http: HttpBXServices);
|
|
17
|
+
constructor(element: BXRestListsElement, field: BXRestListsField, http: HttpBXServices);
|
|
16
18
|
get(pram: iBXRestParamListGet): import("rxjs").Observable<import("../typification/rest/base/answer").iBXRestAnswer<iBXRestListItemHttp[]> | undefined>;
|
|
17
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestLists, never>;
|
|
18
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestLists>;
|
package/request/user.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare class BXRestUser {
|
|
|
29
29
|
constructor(http: HttpBXServices, BXRestUserMap: BXRestUserMap);
|
|
30
30
|
admin(): import("rxjs").Observable<iBXRestAnswer<boolean> | undefined>;
|
|
31
31
|
get(params?: iBXRestParamUserGet): import("rxjs").Observable<iBXRestAnswer<iBXRestUserHttp[]> | undefined>;
|
|
32
|
-
current(): import("rxjs").Observable<iBXRestAnswer<iBXRestUserHttp> | undefined>;
|
|
32
|
+
current(update?: boolean): import("rxjs").Observable<iBXRestAnswer<iBXRestUserHttp> | undefined>;
|
|
33
33
|
update(user: iBXRestUser, fieldUpdate: string[]): import("rxjs").Observable<iBXRestAnswer<iBXRestUserHttp[]> | undefined>;
|
|
34
34
|
search(params: string | UserFilterSearch): import("rxjs").Observable<iBXRestAnswer<iBXRestAnswer<iBXRestUserHttp[]>> | undefined>;
|
|
35
35
|
access(access: string[]): import("rxjs").Observable<iBXRestAnswer<iBXRestAnswer<boolean> | undefined> | undefined>;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { iBXRestParamBizprocWorkflowStart } from '../../typification/rest/bizproc/workflow/start';
|
|
2
2
|
import { BXRestBizprocWorkflow } from '../../request/bizproc/workflow';
|
|
3
|
-
import { Navvy } from '../../services/navvy';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class BXRestNavvyBizprocWorkflow {
|
|
6
5
|
private BXRestBizprocWorkflow;
|
|
7
6
|
private Navvy;
|
|
8
|
-
constructor(BXRestBizprocWorkflow: BXRestBizprocWorkflow
|
|
9
|
-
start(param: iBXRestParamBizprocWorkflowStart): import("
|
|
7
|
+
constructor(BXRestBizprocWorkflow: BXRestBizprocWorkflow);
|
|
8
|
+
start(param: iBXRestParamBizprocWorkflowStart): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestBizprocWorkflow, undefined, string, unknown>;
|
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyBizprocWorkflow, never>;
|
|
11
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyBizprocWorkflow>;
|
|
12
11
|
}
|
|
@@ -8,6 +8,7 @@ export declare class BXRestNavvyBizproc {
|
|
|
8
8
|
constructor(workflow: BXRestNavvyBizprocWorkflow, BXRestNavvyLists: BXRestNavvyLists);
|
|
9
9
|
/**
|
|
10
10
|
* Метод по запуску бизнес процессов из ленты
|
|
11
|
+
* TODO: продумать работу с такими методами-исключениями
|
|
11
12
|
*
|
|
12
13
|
* @param id
|
|
13
14
|
* @param parametersElement
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { iBXRestCalendarEventGetParam } from '../../typification/rest/calendar/get/param';
|
|
2
2
|
import { BXRestCalendarEvent } from '../../request/calendar/event';
|
|
3
|
-
import { Navvy } from '../../services/navvy';
|
|
4
3
|
import { BXRestMapCalendarEvent } from '../../map/calendar/event';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class BXRestRestCalendarEvent {
|
|
7
6
|
private BXRestCalendarEvent;
|
|
8
|
-
private Navvy;
|
|
9
7
|
private eventMap;
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
private Navvy;
|
|
9
|
+
constructor(BXRestCalendarEvent: BXRestCalendarEvent, eventMap: BXRestMapCalendarEvent);
|
|
10
|
+
get(param: iBXRestCalendarEventGetParam): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestMapCalendarEvent, undefined, import("../../typification/rest/calendar/get/answer").iBXRestCalendarEventGetAnswerHttp[], import("../../typification/rest/calendar/get/answer").iBXRestCalendarEventGetAnswer[] | undefined>;
|
|
12
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestRestCalendarEvent, never>;
|
|
13
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestRestCalendarEvent>;
|
|
14
13
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { BXRestDiskAttachedObject } from '../../request/disk/attachedObject';
|
|
2
|
-
import { Navvy } from '../../services/navvy';
|
|
3
2
|
import BXRestMapDiskAttachedObject from '../../map/disk/attachedObject';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class BXRestNavvyDiskAttachedObject {
|
|
6
5
|
private BXRestDiskAttachedObject;
|
|
7
6
|
private mapAttachedObject;
|
|
8
7
|
private Navvy;
|
|
9
|
-
constructor(BXRestDiskAttachedObject: BXRestDiskAttachedObject, mapAttachedObject: BXRestMapDiskAttachedObject
|
|
10
|
-
get(id: number): import("
|
|
8
|
+
constructor(BXRestDiskAttachedObject: BXRestDiskAttachedObject, mapAttachedObject: BXRestMapDiskAttachedObject);
|
|
9
|
+
get(id: number): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestDiskAttachedObject, BXRestMapDiskAttachedObject, import("../../typification/rest/disk/AttachedObject").iBXRestDiskAttachedObjectHttp, import("../../typification/rest/disk/AttachedObject").iBXRestDiskAttachedObject | undefined>;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyDiskAttachedObject, never>;
|
|
12
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyDiskAttachedObject>;
|
|
13
12
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { BaseServices } from '../../services/base';
|
|
2
1
|
import { BXRestDiskFile } from '../../request/disk/file';
|
|
3
|
-
import {
|
|
2
|
+
import { BXRestMapDiskFile } from '../../map/disk/file';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BXRestNavvyDiskFile
|
|
4
|
+
export declare class BXRestNavvyDiskFile {
|
|
6
5
|
private BXRestDiskFile;
|
|
6
|
+
private BXRestMapDiskFile;
|
|
7
7
|
private Navvy;
|
|
8
|
-
constructor(BXRestDiskFile: BXRestDiskFile,
|
|
9
|
-
get(id: number): import("
|
|
8
|
+
constructor(BXRestDiskFile: BXRestDiskFile, BXRestMapDiskFile: BXRestMapDiskFile);
|
|
9
|
+
get(id: number): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestDiskFile, BXRestMapDiskFile, import("../../typification/rest/disk/file").iBXRestFileHttp, (import("../../typification/rest/disk/file").iBXRestFileHttp & {
|
|
10
10
|
SIZE: number;
|
|
11
11
|
}) | undefined>;
|
|
12
|
-
|
|
12
|
+
markdeleted(id: number): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestDiskFile, BXRestMapDiskFile, import("../../typification/rest/disk/file").iBXRestFileHttp, (import("../../typification/rest/disk/file").iBXRestFileHttp & {
|
|
13
13
|
SIZE: number;
|
|
14
14
|
}) | undefined>;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyDiskFile, never>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import BXRestMapDiskFolder from '../../map/disk/folder';
|
|
2
2
|
import { BXRestDiskFolder } from '../../request/disk/folder';
|
|
3
|
-
import { Navvy } from '../../services/navvy';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class BXRestNavvyDiskFolder {
|
|
6
5
|
private BXRestDiskFolder;
|
|
7
6
|
private BXRestMapDiskFolder;
|
|
8
7
|
private Navvy;
|
|
9
|
-
constructor(BXRestDiskFolder: BXRestDiskFolder, BXRestMapDiskFolder: BXRestMapDiskFolder
|
|
10
|
-
getchildren(id: number): import("
|
|
8
|
+
constructor(BXRestDiskFolder: BXRestDiskFolder, BXRestMapDiskFolder: BXRestMapDiskFolder);
|
|
9
|
+
getchildren(id: number): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestDiskFolder, BXRestMapDiskFolder, (import("../../typification/rest/disk/folder").iBXRestFolderHttp | import("../../typification/rest/disk/file").iBXRestFileHttp)[], import("../../typification/rest/disk/map").iBXRestFileAndFolderMap>;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyDiskFolder, never>;
|
|
12
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyDiskFolder>;
|
|
13
12
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BXRestDiskStorage } from '../../../request/disk/storage';
|
|
2
|
+
import { iBXRestParamUploadFile } from '../../../typification/rest/disk/storage/uploadfile';
|
|
3
|
+
import { iBXRestParamGetchildren } from '../../../typification/rest/disk/storage/getchildren';
|
|
4
|
+
import { iBXRestFolderInfo } from '../../../typification/rest/disk/folder';
|
|
5
|
+
import { iBXRestAnswer } from '../../../typification/rest/base/answer';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class BXRestNavvyInterlayerDiskStorage {
|
|
8
|
+
private BXRestDiskStorage;
|
|
9
|
+
constructor(BXRestDiskStorage: BXRestDiskStorage);
|
|
10
|
+
getforapp(): import("rxjs").Observable<iBXRestAnswer<iBXRestFolderInfo> | undefined>;
|
|
11
|
+
getchildren(param: iBXRestParamGetchildren): import("rxjs").Observable<iBXRestAnswer<(import("../../../typification/rest/disk/folder").iBXRestFolderHttp | import("../../../typification/rest/disk/file").iBXRestFileHttp)[]> | undefined>;
|
|
12
|
+
addfolder(param: {
|
|
13
|
+
id: number;
|
|
14
|
+
data: {
|
|
15
|
+
NAME: string;
|
|
16
|
+
};
|
|
17
|
+
}): import("rxjs").Observable<iBXRestAnswer<any> | undefined>;
|
|
18
|
+
uploadfile(param: iBXRestParamUploadFile): import("rxjs").Observable<iBXRestAnswer<import("../../../typification/rest/disk/file").iBXRestFile> | undefined>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyInterlayerDiskStorage, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyInterlayerDiskStorage>;
|
|
21
|
+
}
|
|
@@ -11,7 +11,7 @@ export declare class BXRestNavvyDiskOperation {
|
|
|
11
11
|
name: string;
|
|
12
12
|
val: string;
|
|
13
13
|
}): import("rxjs").Observable<import("../../typification/rest/disk/file").iBXRestFile | undefined>;
|
|
14
|
-
getOfCreateRootContentFolderApp(folderName: string): import("rxjs").Observable<import("../../typification/rest/disk/map").iBXRestFileAndFolderMap | undefined>;
|
|
14
|
+
getOfCreateRootContentFolderApp(folderName: string): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<import("../../typification/rest/disk/map").iBXRestFileAndFolderMap | undefined> | undefined>;
|
|
15
15
|
getRootFoldersApp(): import("rxjs").Observable<import("../../typification/rest/disk/map").iBXRestFileAndFolderMap | undefined>;
|
|
16
16
|
/**
|
|
17
17
|
* Получать или создать папку, если её нет, с определенным именем для приложения
|
|
@@ -1,26 +1,22 @@
|
|
|
1
|
-
import { BXRestDiskStorage } from '../../request/disk/storage';
|
|
2
1
|
import BXRestMapDiskStorage from '../../map/disk/storage';
|
|
3
2
|
import { iBXRestParamUploadFile } from '../../typification/rest/disk/storage/uploadfile';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { iBXRestParamGetchildren } from '../../typification/rest/disk/storage/getchildren';
|
|
4
|
+
import { BXRestNavvyInterlayerDiskStorage } from './interlayer/storage';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class BXRestNavvyDiskStorage {
|
|
8
|
-
private
|
|
7
|
+
private BXRestNavvyInterlayerDiskStorage;
|
|
9
8
|
private BXRestMapDiskStorage;
|
|
10
9
|
private Navvy;
|
|
11
|
-
constructor(
|
|
12
|
-
getforapp(): import("
|
|
13
|
-
getchildren(param:
|
|
14
|
-
id: number;
|
|
15
|
-
filter?: any;
|
|
16
|
-
}): import("rxjs").Observable<import("../../typification/rest/disk/map").iBXRestFileAndFolderMap>;
|
|
10
|
+
constructor(BXRestNavvyInterlayerDiskStorage: BXRestNavvyInterlayerDiskStorage, BXRestMapDiskStorage: BXRestMapDiskStorage);
|
|
11
|
+
getforapp(): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestNavvyInterlayerDiskStorage, BXRestMapDiskStorage, import("../../typification/rest/disk/folder").iBXRestFolderInfo, unknown>;
|
|
12
|
+
getchildren(param: iBXRestParamGetchildren): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestNavvyInterlayerDiskStorage, BXRestMapDiskStorage, (import("../../typification/rest/disk/folder").iBXRestFolderHttp | import("../../typification/rest/disk/file").iBXRestFileHttp)[], import("../../typification/rest/disk/map").iBXRestFileAndFolderMap>;
|
|
17
13
|
addfolder(param: {
|
|
18
14
|
id: number;
|
|
19
15
|
data: {
|
|
20
16
|
NAME: string;
|
|
21
17
|
};
|
|
22
|
-
}): import("
|
|
23
|
-
uploadfile(param: iBXRestParamUploadFile): import("
|
|
18
|
+
}): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestNavvyInterlayerDiskStorage, BXRestMapDiskStorage, any, unknown>;
|
|
19
|
+
uploadfile(param: iBXRestParamUploadFile): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestNavvyInterlayerDiskStorage, BXRestMapDiskStorage, import("../../typification/rest/disk/file").iBXRestFile, unknown>;
|
|
24
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyDiskStorage, never>;
|
|
25
21
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyDiskStorage>;
|
|
26
22
|
}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { iBXRestParamListsElementGet } from '../../typification/rest/lists/element/get';
|
|
2
2
|
import { BXRestListsElement } from '../../request/lists/element';
|
|
3
3
|
import BXRestListsElementMap from '../../map/lists/element';
|
|
4
|
-
import { Navvy } from '../../services/navvy';
|
|
5
4
|
import { iBXRestParamListsElementAdd } from '../../typification/rest/lists/element/add';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class BXRestNavvyListsElement {
|
|
8
7
|
private BXRestListsElement;
|
|
9
8
|
private BXRestMap;
|
|
10
9
|
private Navvy;
|
|
11
|
-
constructor(BXRestListsElement: BXRestListsElement, BXRestMap: BXRestListsElementMap
|
|
12
|
-
get(param: iBXRestParamListsElementGet): import("
|
|
13
|
-
add(param: iBXRestParamListsElementAdd): import("
|
|
10
|
+
constructor(BXRestListsElement: BXRestListsElement, BXRestMap: BXRestListsElementMap);
|
|
11
|
+
get(param: iBXRestParamListsElementGet): import("../../services/Navvy/NavvyPagNav").NavvyPagNav<BXRestListsElement, BXRestListsElementMap, import("../../typification/rest/lists/element/get").iBXRestHttpListsElement, import("../../typification/rest/lists/element/get").iBXRestListsElement, iBXRestParamListsElementGet>;
|
|
12
|
+
add(param: iBXRestParamListsElementAdd): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestListsElement, BXRestListsElementMap, number, unknown>;
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyListsElement, never>;
|
|
15
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyListsElement>;
|
|
16
15
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import BXRestListsField from '../../request/lists/field';
|
|
2
|
+
import { iBXRestParamListField } from '../../typification/rest/lists/field/get';
|
|
3
|
+
import { BXRestMapListsField } from '../../map/lists/field';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export default class BXRestNavvyListsField {
|
|
6
|
+
private BXRestListsField;
|
|
7
|
+
private BXRestMapListsField;
|
|
8
|
+
private Navvy;
|
|
9
|
+
constructor(BXRestListsField: BXRestListsField, BXRestMapListsField: BXRestMapListsField);
|
|
10
|
+
get(param: iBXRestParamListField): import("../../services/Navvy/NavvyPagNavWithUselessKey").NavvyPagNavWithUselessKey<BXRestListsField, BXRestMapListsField, import("../../typification/rest/lists/field/get").iBXRestFieldItem, import("../../typification/rest/lists/field/get").iBXRestFieldItem, iBXRestParamListField>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyListsField, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyListsField>;
|
|
13
|
+
}
|
package/request-navvy/lists.d.ts
CHANGED
|
@@ -3,14 +3,16 @@ import { BXRestLists } from '../request/lists';
|
|
|
3
3
|
import { iBXRestParamListGet } from '../typification/rest/lists/get';
|
|
4
4
|
import { Navvy } from '../services/navvy';
|
|
5
5
|
import { BXRestMapLists } from '../map/lists';
|
|
6
|
+
import BXRestNavvyListsField from './lists/field';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class BXRestNavvyLists {
|
|
8
9
|
element: BXRestNavvyListsElement;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
field: BXRestNavvyListsField;
|
|
11
|
+
protected mapList: BXRestMapLists;
|
|
12
|
+
protected BXRestLists: BXRestLists;
|
|
13
|
+
protected Navvy: Navvy<BXRestLists, BXRestMapLists>;
|
|
14
|
+
constructor(element: BXRestNavvyListsElement, field: BXRestNavvyListsField, mapList: BXRestMapLists, BXRestLists: BXRestLists);
|
|
15
|
+
get(param: iBXRestParamListGet): import("../services/Navvy/NavvyPagNav").NavvyPagNav<BXRestLists, BXRestMapLists, import("../typification/rest/lists/get").iBXRestListItemHttp, import("../typification/rest/lists/get").iBXRestListItem, iBXRestParamListGet>;
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyLists, never>;
|
|
15
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyLists>;
|
|
16
18
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { iBXRestParamLogBlogPostAdd } from '../../typification/rest/log/blogpost/add';
|
|
2
2
|
import { BXRestLogBlogPost } from '../../request/log/blogpost';
|
|
3
|
-
import { Navvy } from '../../services/navvy';
|
|
4
3
|
import { iBXRestParamBlogPostGet } from '../../typification/rest/log/blogpost/get';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class BXRestNavvyLogBlogPost {
|
|
7
6
|
private BXRestLogBlogPost;
|
|
8
|
-
private Navvy;
|
|
9
7
|
url: {
|
|
10
8
|
add: string[];
|
|
11
9
|
get: string[];
|
|
@@ -13,9 +11,10 @@ export declare class BXRestNavvyLogBlogPost {
|
|
|
13
11
|
share: string[];
|
|
14
12
|
update: string[];
|
|
15
13
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
private Navvy;
|
|
15
|
+
constructor(BXRestLogBlogPost: BXRestLogBlogPost);
|
|
16
|
+
add(param: iBXRestParamLogBlogPostAdd): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestLogBlogPost, undefined, boolean, unknown>;
|
|
17
|
+
get(param?: iBXRestParamBlogPostGet): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestLogBlogPost, undefined, import("../../typification/rest/log/blogpost/get").iBXRestBlogPostHttp[], unknown>;
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyLogBlogPost, never>;
|
|
20
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyLogBlogPost>;
|
|
21
20
|
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { iBXRestParamSonetGroupGet } from '../typification/rest/sonet_group/get';
|
|
2
2
|
import { BXRestMapSonetGroup } from '../map/sonet_group';
|
|
3
|
-
import { Navvy } from '../services/navvy';
|
|
4
3
|
import { BXRestSonetGroup } from '../request/sonet_group';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class BXRestNavvySonetGroup {
|
|
7
6
|
private BXRestSonetGroup;
|
|
8
7
|
private mapSonetGroup;
|
|
9
8
|
private Navvy;
|
|
10
|
-
constructor(BXRestSonetGroup: BXRestSonetGroup, mapSonetGroup: BXRestMapSonetGroup
|
|
11
|
-
get(param?: iBXRestParamSonetGroupGet): import("
|
|
9
|
+
constructor(BXRestSonetGroup: BXRestSonetGroup, mapSonetGroup: BXRestMapSonetGroup);
|
|
10
|
+
get(param?: iBXRestParamSonetGroupGet): import("../services/Navvy/NavvySimple").NavvySimple<BXRestSonetGroup, BXRestMapSonetGroup, import("../typification/rest/sonet_group/get").iBXRestParamSonetHttp[], import("../typification/rest/sonet_group/get").iBXRestParamSonet[] | undefined>;
|
|
12
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvySonetGroup, never>;
|
|
13
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvySonetGroup>;
|
|
14
13
|
}
|
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
import { iBXRestParamElapseditemGet } from '../../typification/rest/task/elapseditem/get';
|
|
2
2
|
import { BXRestElapseditem } from '../../request/task/elapseditem';
|
|
3
|
-
import { Navvy } from '../../services/navvy';
|
|
4
3
|
import { iBXRestParamAddElapseditem } from '../../typification/rest/task/elapseditem/add';
|
|
5
4
|
import { BXRestNavvyUser } from '../user';
|
|
6
5
|
import { BXRestNavvyTasks } from '../tasks';
|
|
7
|
-
import SnackBarService from '../../services/snack-bar/snack-bar.service';
|
|
8
6
|
import { iBXRestParamUpdateElapseditem } from '../../typification/rest/task/elapseditem/update';
|
|
9
7
|
import { iIsActionAllowedParam } from '../../typification/rest/task/elapseditem/isActionAllowedParam';
|
|
10
8
|
import { iBXRestParamDelElapseditem } from '../../typification/rest/task/elapseditem/del';
|
|
9
|
+
import { BXRestMapTaskElapseditem } from '../../map/task/elapseditem';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
export declare class BXRestNavvyElapseditem {
|
|
13
12
|
private BXRestElapseditem;
|
|
14
13
|
private BXRestNavvyUser;
|
|
15
14
|
private BXRestNavvyTasks;
|
|
15
|
+
private BXRestMapElapseditem;
|
|
16
16
|
private Navvy;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
isAllowedRemove(idTask: number, idItem: number): import("rxjs").Observable<boolean>;
|
|
17
|
+
constructor(BXRestElapseditem: BXRestElapseditem, BXRestNavvyUser: BXRestNavvyUser, BXRestNavvyTasks: BXRestNavvyTasks, BXRestMapElapseditem: BXRestMapTaskElapseditem);
|
|
18
|
+
getList(param?: iBXRestParamElapseditemGet | undefined): import("../../services/Navvy/NavvyAlternativePaginationNavigation").NavvyAlterPagNav<BXRestElapseditem, BXRestMapTaskElapseditem>;
|
|
19
|
+
add(param: iBXRestParamAddElapseditem): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<number> | undefined>;
|
|
20
|
+
update(param: iBXRestParamUpdateElapseditem): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestElapseditem, BXRestMapTaskElapseditem, null, boolean>;
|
|
21
|
+
isAllowedModify(idTask: number, idItem: number): import("rxjs").Observable<boolean | undefined>;
|
|
22
|
+
private isAllowedRemove;
|
|
24
23
|
/**
|
|
25
24
|
* idAction:
|
|
26
25
|
* 1 - ACTION_ELAPSED_TIME_ADD
|
|
@@ -28,9 +27,10 @@ export declare class BXRestNavvyElapseditem {
|
|
|
28
27
|
* 3 - ACTION_ELAPSED_TIME_REMOVE
|
|
29
28
|
* @param param
|
|
30
29
|
*/
|
|
31
|
-
isActionAllowed(param: iIsActionAllowedParam): import("
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
isActionAllowed(param: iIsActionAllowedParam): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestElapseditem, BXRestMapTaskElapseditem, boolean, unknown>;
|
|
31
|
+
checkPermissionAddTask(idTask: number): import("rxjs").Observable<boolean | undefined>;
|
|
32
|
+
private checkPermissionReadTask;
|
|
33
|
+
del(param: iBXRestParamDelElapseditem): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestElapseditem, BXRestMapTaskElapseditem, null, boolean>;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyElapseditem, never>;
|
|
35
35
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyElapseditem>;
|
|
36
36
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import SnackBarService from '../../services/snack-bar/snack-bar.service';
|
|
2
|
-
import { BXRestTaskMap } from '../../map/task';
|
|
3
1
|
import { BXRestTasksTask } from '../../request/tasks/task';
|
|
4
2
|
import { iBXRestTaskFieldsName } from '../../typification/rest/task/base/fieldsName';
|
|
5
3
|
import { iBXRestParamTaskAdd } from '../../typification/rest/tasks/task/add';
|
|
@@ -7,22 +5,28 @@ import iBXRestParamTaskGet from '../../typification/rest/tasks/task/get';
|
|
|
7
5
|
import { Navvy } from '../../services/navvy';
|
|
8
6
|
import { iBXRestParamTasksList } from '../../typification/rest/tasks/task/list';
|
|
9
7
|
import { iBXRestParamTaskGetAccess } from '../../typification/rest/task/access/getaccess';
|
|
8
|
+
import { BXRestMapTasksTask } from '../../map/tasks/task';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
export declare class BXRestNavvyTasksTask {
|
|
12
11
|
private BXRestTasksTask;
|
|
13
|
-
private
|
|
14
|
-
private taskMap;
|
|
15
|
-
private Navvy;
|
|
12
|
+
private BXRestMapTasksTask;
|
|
16
13
|
def: {
|
|
17
14
|
select: iBXRestTaskFieldsName[];
|
|
18
15
|
};
|
|
19
|
-
|
|
16
|
+
Navvy: Navvy<BXRestTasksTask, BXRestMapTasksTask>;
|
|
17
|
+
constructor(BXRestTasksTask: BXRestTasksTask, BXRestMapTasksTask: BXRestMapTasksTask);
|
|
20
18
|
add(param: {
|
|
21
19
|
fields: iBXRestParamTaskAdd;
|
|
22
|
-
}): import("
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
}): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestTasksTask, BXRestMapTasksTask, {
|
|
21
|
+
task: import("../../typification/rest/task/task").iBXRestHttpTask;
|
|
22
|
+
}, import("../../typification/rest/task/task").iBXRestTask | undefined>;
|
|
23
|
+
get(param: iBXRestParamTaskGet): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestTasksTask, BXRestMapTasksTask, {
|
|
24
|
+
task: import("../../typification/rest/task/task").iBXRestHttpTask | undefined;
|
|
25
|
+
}, import("../../typification/rest/task/task").iBXRestTask | undefined>;
|
|
26
|
+
list(param?: iBXRestParamTasksList): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestTasksTask, BXRestMapTasksTask, {
|
|
27
|
+
tasks: import("../../typification/rest/task/task").iBXRestHttpTask[] | undefined;
|
|
28
|
+
}, import("../../typification/rest/task/task").iBXRestTask[] | undefined>;
|
|
29
|
+
getaccess(param: iBXRestParamTaskGetAccess): import("../../services/Navvy/NavvySimple").NavvySimple<BXRestTasksTask, BXRestMapTasksTask, import("../../typification/rest/task/access/getaccess").iBXRestTaskGetAccess, {
|
|
26
30
|
[key: number]: import("../../typification/rest/task/access/getaccess").iBXRestTaskGetAccessItem;
|
|
27
31
|
} | undefined>;
|
|
28
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyTasksTask, never>;
|