bx-rest 0.1.7 → 0.1.10
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/esm2020/map/disk/attachedObject.mjs +27 -0
- package/esm2020/map/lists.mjs +54 -1
- package/esm2020/map/sonet_group.mjs +34 -0
- package/esm2020/request/disk/attachedObject.mjs +24 -0
- package/esm2020/request/disk.mjs +6 -4
- package/esm2020/request/lists/element.mjs +1 -1
- package/esm2020/request/lists.mjs +9 -4
- package/esm2020/request/log/blogpost.mjs +4 -1
- package/esm2020/request/sonet_group.mjs +57 -0
- package/esm2020/request-navvy/disk/attachedObject.mjs +25 -0
- package/esm2020/request-navvy/disk/folder.mjs +5 -5
- package/esm2020/request-navvy/disk/operation.mjs +3 -3
- package/esm2020/request-navvy/disk.mjs +10 -8
- package/esm2020/request-navvy/lists.mjs +14 -4
- package/esm2020/request-navvy/log/blogpost.mjs +4 -1
- package/esm2020/request-navvy/sonet_group.mjs +28 -0
- package/esm2020/rest.mjs +21 -17
- package/esm2020/typification/base/modyfy.mjs +2 -0
- package/esm2020/typification/rest/base/ApiPaginationBX.mjs +2 -0
- package/esm2020/typification/rest/disk/AttachedObject.mjs +2 -0
- package/esm2020/typification/rest/lists/get.mjs +2 -0
- package/esm2020/typification/rest/log/blogpost/essence.mjs +2 -0
- package/esm2020/typification/rest/log/blogpost/get.mjs +2 -0
- package/esm2020/typification/rest/sonet_group/base.mjs +2 -0
- package/esm2020/typification/rest/sonet_group/get.mjs +2 -0
- package/fesm2015/bx-rest.mjs +308 -66
- package/fesm2015/bx-rest.mjs.map +1 -1
- package/fesm2020/bx-rest.mjs +308 -66
- package/fesm2020/bx-rest.mjs.map +1 -1
- package/map/disk/attachedObject.d.ts +9 -0
- package/map/lists.d.ts +3 -0
- package/map/sonet_group.d.ts +9 -0
- package/package.json +1 -1
- package/request/disk/attachedObject.d.ts +13 -0
- package/request/disk.d.ts +3 -1
- package/request/lists.d.ts +5 -1
- package/request/log/blogpost.d.ts +2 -0
- package/request/sonet_group.d.ts +17 -0
- package/request-navvy/disk/attachedObject.d.ts +13 -0
- package/request-navvy/disk/folder.d.ts +3 -3
- package/request-navvy/disk/operation.d.ts +3 -3
- package/request-navvy/disk.d.ts +6 -4
- package/request-navvy/lists.d.ts +9 -1
- package/request-navvy/log/blogpost.d.ts +2 -0
- package/request-navvy/sonet_group.d.ts +14 -0
- package/rest.d.ts +6 -2
- package/typification/base/modyfy.d.ts +9 -0
- package/typification/rest/base/ApiPaginationBX.d.ts +3 -0
- package/typification/rest/disk/AttachedObject.d.ts +23 -0
- package/typification/rest/lists/get.d.ts +94 -0
- package/typification/rest/log/blogpost/essence.d.ts +51 -0
- package/typification/rest/log/blogpost/get.d.ts +71 -0
- package/typification/rest/sonet_group/base.d.ts +8 -0
- package/typification/rest/sonet_group/get.d.ts +29 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import BXRestMapDiskBase from './base';
|
|
2
|
+
import { iBXRestDiskAttachedObject, iBXRestDiskAttachedObjectHttp } from '../../typification/rest/disk/AttachedObject';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export default class BXRestMapDiskAttachedObject extends BXRestMapDiskBase {
|
|
5
|
+
get(v: iBXRestDiskAttachedObjectHttp | undefined): iBXRestDiskAttachedObject | undefined;
|
|
6
|
+
private iBXRestDiskAttachedObjectHttpToiBXRestDiskAttachedObject;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapDiskAttachedObject, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapDiskAttachedObject>;
|
|
9
|
+
}
|
package/map/lists.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { BaseMapServices } from './base';
|
|
2
2
|
import BXRestListsElementMap from './lists/element';
|
|
3
|
+
import { iBXRestListItem, iBXRestListItemHttp } from '../typification/rest/lists/get';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class BXRestMapLists extends BaseMapServices {
|
|
5
6
|
element: BXRestListsElementMap;
|
|
6
7
|
constructor(element: BXRestListsElementMap);
|
|
8
|
+
get(value: iBXRestListItemHttp[] | undefined): iBXRestListItem[] | undefined;
|
|
9
|
+
private iBXRestListItemHttpToiBXRestListItem;
|
|
7
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapLists, never>;
|
|
8
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapLists>;
|
|
9
12
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseMapServices } from './base';
|
|
2
|
+
import { iBXRestParamSonet, iBXRestParamSonetHttp } from '../typification/rest/sonet_group/get';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BXRestMapSonetGroup extends BaseMapServices {
|
|
5
|
+
get(items: iBXRestParamSonetHttp[] | undefined): iBXRestParamSonet[] | undefined;
|
|
6
|
+
private iBXRestParamSonetHttpToiBXRestParamSonet;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapSonetGroup, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapSonetGroup>;
|
|
9
|
+
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HttpBXServices } from '../../services/http/HttpBX';
|
|
2
|
+
import { iBXRestDiskAttachedObjectHttp } from '../../typification/rest/disk/AttachedObject';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BXRestDiskAttachedObject {
|
|
5
|
+
private http;
|
|
6
|
+
url: {
|
|
7
|
+
get: string[];
|
|
8
|
+
};
|
|
9
|
+
constructor(http: HttpBXServices);
|
|
10
|
+
get(id: number): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<iBXRestDiskAttachedObjectHttp> | undefined>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestDiskAttachedObject, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestDiskAttachedObject>;
|
|
13
|
+
}
|
package/request/disk.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { BXRestDiskFile } from './disk/file';
|
|
2
2
|
import { BXRestDiskFolder } from './disk/folder';
|
|
3
|
+
import { BXRestDiskAttachedObject } from './disk/attachedObject';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class BXRestDisk {
|
|
5
6
|
file: BXRestDiskFile;
|
|
6
7
|
folder: BXRestDiskFolder;
|
|
7
|
-
|
|
8
|
+
attachedObject: BXRestDiskAttachedObject;
|
|
9
|
+
constructor(file: BXRestDiskFile, folder: BXRestDiskFolder, attachedObject: BXRestDiskAttachedObject);
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestDisk, never>;
|
|
9
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestDisk>;
|
|
10
12
|
}
|
package/request/lists.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { BXRestListsElement } from './lists/element';
|
|
2
|
+
import { HttpBXServices } from '../services/http/HttpBX';
|
|
3
|
+
import { iBXRestListItemHttp, iBXRestParamListGet } from '../typification/rest/lists/get';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
export declare class BXRestLists {
|
|
4
6
|
element: BXRestListsElement;
|
|
7
|
+
private http;
|
|
5
8
|
url: {
|
|
6
9
|
add: string[];
|
|
7
10
|
delete: string[];
|
|
@@ -9,7 +12,8 @@ export declare class BXRestLists {
|
|
|
9
12
|
update: string[];
|
|
10
13
|
getIblockTypeId: string[];
|
|
11
14
|
};
|
|
12
|
-
constructor(element: BXRestListsElement);
|
|
15
|
+
constructor(element: BXRestListsElement, http: HttpBXServices);
|
|
16
|
+
get(pram: iBXRestParamListGet): import("rxjs").Observable<import("../typification/rest/base/answer").iBXRestAnswer<iBXRestListItemHttp[]> | undefined>;
|
|
13
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestLists, never>;
|
|
14
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestLists>;
|
|
15
19
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpBXServices } from '../../services/http/HttpBX';
|
|
2
2
|
import { iBXRestParamLogBlogPostAdd } from '../../typification/rest/log/blogpost/add';
|
|
3
|
+
import { iBXRestBlogPostHttp, iBXRestParamBlogPostGet } from '../../typification/rest/log/blogpost/get';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class BXRestLogBlogPost {
|
|
5
6
|
private http;
|
|
@@ -12,6 +13,7 @@ export declare class BXRestLogBlogPost {
|
|
|
12
13
|
};
|
|
13
14
|
constructor(http: HttpBXServices);
|
|
14
15
|
add(param: iBXRestParamLogBlogPostAdd): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<boolean> | undefined>;
|
|
16
|
+
get(param?: iBXRestParamBlogPostGet): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<iBXRestBlogPostHttp[]> | undefined>;
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestLogBlogPost, never>;
|
|
16
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestLogBlogPost>;
|
|
17
19
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpBXServices } from '../services/http/HttpBX';
|
|
2
|
+
import { iBXRestParamSonetGroupGet, iBXRestParamSonetHttp } from '../typification/rest/sonet_group/get';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BXRestSonetGroup {
|
|
5
|
+
private http;
|
|
6
|
+
url: {
|
|
7
|
+
create: string[];
|
|
8
|
+
delete: string[];
|
|
9
|
+
get: string[];
|
|
10
|
+
setowner: string[];
|
|
11
|
+
update: string[];
|
|
12
|
+
};
|
|
13
|
+
constructor(http: HttpBXServices);
|
|
14
|
+
get(param?: iBXRestParamSonetGroupGet): import("rxjs").Observable<import("../typification/rest/base/answer").iBXRestAnswer<iBXRestParamSonetHttp[]> | undefined>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestSonetGroup, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestSonetGroup>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BXRestDiskAttachedObject } from '../../request/disk/attachedObject';
|
|
2
|
+
import { Navvy } from '../../services/navvy';
|
|
3
|
+
import BXRestMapDiskAttachedObject from '../../map/disk/attachedObject';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BXRestNavvyDiskAttachedObject {
|
|
6
|
+
private BXRestDiskAttachedObject;
|
|
7
|
+
private mapAttachedObject;
|
|
8
|
+
private Navvy;
|
|
9
|
+
constructor(BXRestDiskAttachedObject: BXRestDiskAttachedObject, mapAttachedObject: BXRestMapDiskAttachedObject, Navvy: Navvy);
|
|
10
|
+
get(id: number): import("rxjs").Observable<import("../../typification/rest/disk/AttachedObject").iBXRestDiskAttachedObject | undefined>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyDiskAttachedObject, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyDiskAttachedObject>;
|
|
13
|
+
}
|
|
@@ -2,12 +2,12 @@ import BXRestMapDiskFolder from '../../map/disk/folder';
|
|
|
2
2
|
import { BXRestDiskFolder } from '../../request/disk/folder';
|
|
3
3
|
import { Navvy } from '../../services/navvy';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class BXRestNavvyDiskFolder {
|
|
6
6
|
private BXRestDiskFolder;
|
|
7
7
|
private BXRestMapDiskFolder;
|
|
8
8
|
private Navvy;
|
|
9
9
|
constructor(BXRestDiskFolder: BXRestDiskFolder, BXRestMapDiskFolder: BXRestMapDiskFolder, Navvy: Navvy);
|
|
10
10
|
getchildren(id: number): import("rxjs").Observable<import("../../typification/rest/disk/map").iBXRestFileAndFolderMap>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyDiskFolder, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyDiskFolder>;
|
|
13
13
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BXRestNavvyDiskFolder } from './folder';
|
|
2
2
|
import { BXRestNavvyDiskFile } from './file';
|
|
3
3
|
import { BXRestNavvyDiskStorage } from './storage';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class BXRestNavvyDiskOperation {
|
|
6
|
-
folder:
|
|
6
|
+
folder: BXRestNavvyDiskFolder;
|
|
7
7
|
disk: BXRestNavvyDiskFile;
|
|
8
8
|
private storage;
|
|
9
|
-
constructor(folder:
|
|
9
|
+
constructor(folder: BXRestNavvyDiskFolder, disk: BXRestNavvyDiskFile, storage: BXRestNavvyDiskStorage);
|
|
10
10
|
loadFileInAppFolder(file: {
|
|
11
11
|
name: string;
|
|
12
12
|
val: string;
|
package/request-navvy/disk.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { BXRestNavvyDiskFile } from './disk/file';
|
|
2
|
-
import {
|
|
2
|
+
import { BXRestNavvyDiskFolder } from './disk/folder';
|
|
3
3
|
import { BXRestNavvyDiskOperation } from './disk/operation';
|
|
4
|
+
import { BXRestNavvyDiskAttachedObject } from './disk/attachedObject';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class BXRestNavvyDisk {
|
|
6
|
-
file: BXRestNavvyDiskFile;
|
|
7
|
-
folder: BXRestDiskNavvyFolder;
|
|
8
7
|
operation: BXRestNavvyDiskOperation;
|
|
9
|
-
|
|
8
|
+
file: BXRestNavvyDiskFile;
|
|
9
|
+
folder: BXRestNavvyDiskFolder;
|
|
10
|
+
attachedObject: BXRestNavvyDiskAttachedObject;
|
|
11
|
+
constructor(operation: BXRestNavvyDiskOperation, file: BXRestNavvyDiskFile, folder: BXRestNavvyDiskFolder, attachedObject: BXRestNavvyDiskAttachedObject);
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyDisk, never>;
|
|
11
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyDisk>;
|
|
12
14
|
}
|
package/request-navvy/lists.d.ts
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import { BXRestNavvyListsElement } from './lists/element';
|
|
2
|
+
import { BXRestLists } from '../request/lists';
|
|
3
|
+
import { iBXRestParamListGet } from '../typification/rest/lists/get';
|
|
4
|
+
import { Navvy } from '../services/navvy';
|
|
5
|
+
import { BXRestMapLists } from '../map/lists';
|
|
2
6
|
import * as i0 from "@angular/core";
|
|
3
7
|
export declare class BXRestNavvyLists {
|
|
4
8
|
element: BXRestNavvyListsElement;
|
|
5
|
-
|
|
9
|
+
private BXRestLists;
|
|
10
|
+
private Navvy;
|
|
11
|
+
private mapList;
|
|
12
|
+
constructor(element: BXRestNavvyListsElement, BXRestLists: BXRestLists, Navvy: Navvy, mapList: BXRestMapLists);
|
|
13
|
+
get(param: iBXRestParamListGet): import("rxjs").Observable<import("../typification/rest/lists/get").iBXRestListItem[] | undefined>;
|
|
6
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyLists, never>;
|
|
7
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyLists>;
|
|
8
16
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { iBXRestParamLogBlogPostAdd } from '../../typification/rest/log/blogpost/add';
|
|
2
2
|
import { BXRestLogBlogPost } from '../../request/log/blogpost';
|
|
3
3
|
import { Navvy } from '../../services/navvy';
|
|
4
|
+
import { iBXRestParamBlogPostGet } from '../../typification/rest/log/blogpost/get';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class BXRestNavvyLogBlogPost {
|
|
6
7
|
private BXRestLogBlogPost;
|
|
@@ -14,6 +15,7 @@ export declare class BXRestNavvyLogBlogPost {
|
|
|
14
15
|
};
|
|
15
16
|
constructor(BXRestLogBlogPost: BXRestLogBlogPost, Navvy: Navvy);
|
|
16
17
|
add(param: iBXRestParamLogBlogPostAdd): import("rxjs").Observable<boolean | undefined>;
|
|
18
|
+
get(param?: iBXRestParamBlogPostGet): import("rxjs").Observable<import("../../typification/rest/log/blogpost/get").iBXRestBlogPostHttp[] | undefined>;
|
|
17
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyLogBlogPost, never>;
|
|
18
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyLogBlogPost>;
|
|
19
21
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { iBXRestParamSonetGroupGet } from '../typification/rest/sonet_group/get';
|
|
2
|
+
import { BXRestMapSonetGroup } from '../map/sonet_group';
|
|
3
|
+
import { Navvy } from '../services/navvy';
|
|
4
|
+
import { BXRestSonetGroup } from '../request/sonet_group';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class BXRestNavvySonetGroup {
|
|
7
|
+
private BXRestSonetGroup;
|
|
8
|
+
private mapSonetGroup;
|
|
9
|
+
private Navvy;
|
|
10
|
+
constructor(BXRestSonetGroup: BXRestSonetGroup, mapSonetGroup: BXRestMapSonetGroup, Navvy: Navvy);
|
|
11
|
+
get(param?: iBXRestParamSonetGroupGet): import("rxjs").Observable<import("../typification/rest/sonet_group/get").iBXRestParamSonet[] | undefined>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvySonetGroup, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvySonetGroup>;
|
|
14
|
+
}
|
package/rest.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { BXRestDisk } from './request/disk';
|
|
|
6
6
|
import { BXRestBizproc } from './request/bizproc';
|
|
7
7
|
import { BXRestLog } from './request/log';
|
|
8
8
|
import { BXRestCalendar } from './request/calendar';
|
|
9
|
+
import { BXRestSonetGroup } from './request/sonet_group';
|
|
9
10
|
import { BXRestNavvyLists } from './request-navvy/lists';
|
|
10
11
|
import { BXRestNavvyTasks } from './request-navvy/tasks';
|
|
11
12
|
import { BXRestNavvyUser } from './request-navvy/user';
|
|
@@ -13,6 +14,7 @@ import { BXRestNavvyDisk } from './request-navvy/disk';
|
|
|
13
14
|
import { BXRestNavvyBizproc } from './request-navvy/bizproc';
|
|
14
15
|
import { BXRestNavvyLog } from './request-navvy/log';
|
|
15
16
|
import { BXRestNavvyCalendar } from './request-navvy/calendar';
|
|
17
|
+
import { BXRestNavvySonetGroup } from './request-navvy/sonet_group';
|
|
16
18
|
import * as i0 from "@angular/core";
|
|
17
19
|
export declare class BXRest {
|
|
18
20
|
user: BXRestUser;
|
|
@@ -22,7 +24,8 @@ export declare class BXRest {
|
|
|
22
24
|
bizproc: BXRestBizproc;
|
|
23
25
|
log: BXRestLog;
|
|
24
26
|
calendar: BXRestCalendar;
|
|
25
|
-
|
|
27
|
+
sonet_group: BXRestSonetGroup;
|
|
28
|
+
constructor(user: BXRestUser, lists: BXRestLists, tasks: BXRestTasks, disk: BXRestDisk, bizproc: BXRestBizproc, log: BXRestLog, calendar: BXRestCalendar, sonet_group: BXRestSonetGroup);
|
|
26
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRest, never>;
|
|
27
30
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRest>;
|
|
28
31
|
}
|
|
@@ -34,7 +37,8 @@ export declare class BXRestNavvy {
|
|
|
34
37
|
bizproc: BXRestNavvyBizproc;
|
|
35
38
|
log: BXRestNavvyLog;
|
|
36
39
|
calendar: BXRestNavvyCalendar;
|
|
37
|
-
|
|
40
|
+
sonet_group: BXRestNavvySonetGroup;
|
|
41
|
+
constructor(user: BXRestNavvyUser, lists: BXRestNavvyLists, tasks: BXRestNavvyTasks, disk: BXRestNavvyDisk, bizproc: BXRestNavvyBizproc, log: BXRestNavvyLog, calendar: BXRestNavvyCalendar, sonet_group: BXRestNavvySonetGroup);
|
|
38
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvy, never>;
|
|
39
43
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvy>;
|
|
40
44
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare type Modify<T, R> = Omit<T, keyof R> & R;
|
|
2
|
+
export declare type ModifyDeep<A, B extends DeepPartialAny<A>> = {
|
|
3
|
+
[K in keyof A | keyof B]: K extends keyof A ? K extends keyof B ? A[K] extends AnyObject ? B[K] extends AnyObject ? ModifyDeep<A[K], B[K]> : B[K] : B[K] : A[K] : B[K];
|
|
4
|
+
};
|
|
5
|
+
declare type AnyObject = Record<string, any>;
|
|
6
|
+
declare type DeepPartialAny<T> = {
|
|
7
|
+
[P in keyof T]?: T[P] extends AnyObject ? DeepPartialAny<T[P]> : any;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface iBXRestDiskAttachedObject extends iBXRestDiskAttachedObjectBase {
|
|
2
|
+
ID: number;
|
|
3
|
+
OBJECT_ID: number;
|
|
4
|
+
ENTITY_ID: number;
|
|
5
|
+
CREATE_TIME: Date;
|
|
6
|
+
CREATED_BY: number;
|
|
7
|
+
SIZE: number;
|
|
8
|
+
}
|
|
9
|
+
export interface iBXRestDiskAttachedObjectHttp extends iBXRestDiskAttachedObjectBase {
|
|
10
|
+
ID: string;
|
|
11
|
+
OBJECT_ID: string;
|
|
12
|
+
ENTITY_ID: string;
|
|
13
|
+
CREATE_TIME: string;
|
|
14
|
+
CREATED_BY: string;
|
|
15
|
+
SIZE: string;
|
|
16
|
+
}
|
|
17
|
+
interface iBXRestDiskAttachedObjectBase {
|
|
18
|
+
MODULE_ID: string;
|
|
19
|
+
ENTITY_TYPE: string;
|
|
20
|
+
DOWNLOAD_URL: string;
|
|
21
|
+
NAME: string;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,94 @@
|
|
|
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
|
+
}
|
|
44
|
+
export interface iBXRestListItemHttp extends iBXRestBaseListItem {
|
|
45
|
+
ACTIVE: iBXRestYesNo;
|
|
46
|
+
API_CODE: string | null;
|
|
47
|
+
BIZPROC: iBXRestYesNo;
|
|
48
|
+
CANONICAL_PAGE_URL: string | null;
|
|
49
|
+
DESCRIPTION: string | null;
|
|
50
|
+
DETAIL_PAGE_URL: string | null;
|
|
51
|
+
EDIT_FILE_AFTER: string | null;
|
|
52
|
+
EDIT_FILE_BEFORE: string | null;
|
|
53
|
+
ID: string;
|
|
54
|
+
INDEX_ELEMENT: iBXRestYesNo;
|
|
55
|
+
INDEX_SECTION: iBXRestYesNo;
|
|
56
|
+
LAST_CONV_ELEMENT: string;
|
|
57
|
+
LIST_MODE: string | null;
|
|
58
|
+
LIST_PAGE_URL: string | null;
|
|
59
|
+
PICTURE: string | null;
|
|
60
|
+
PROPERTY_INDEX: string | null;
|
|
61
|
+
REST_ON: iBXRestYesNo;
|
|
62
|
+
RSS_ACTIVE: iBXRestYesNo;
|
|
63
|
+
RSS_FILE_ACTIVE: iBXRestYesNo;
|
|
64
|
+
RSS_FILE_DAYS: string | null;
|
|
65
|
+
RSS_FILE_LIMIT: string | null;
|
|
66
|
+
RSS_TTL: string;
|
|
67
|
+
RSS_YANDEX_ACTIVE: iBXRestYesNo;
|
|
68
|
+
SECTION_PAGE_URL: string | null;
|
|
69
|
+
SECTION_PROPERTY: string | null;
|
|
70
|
+
SERVER_NAME: string | null;
|
|
71
|
+
SOCNET_GROUP_ID: string | null;
|
|
72
|
+
TIMESTAMP_X: string;
|
|
73
|
+
TMP_ID: string | null;
|
|
74
|
+
VERSION: string;
|
|
75
|
+
WORKFLOW: iBXRestYesNo;
|
|
76
|
+
XML_ID: string | null;
|
|
77
|
+
}
|
|
78
|
+
interface iBXRestBaseListItem {
|
|
79
|
+
CODE: string;
|
|
80
|
+
DESCRIPTION_TYPE: 'text';
|
|
81
|
+
ELEMENTS_NAME: string;
|
|
82
|
+
ELEMENT_NAME: string;
|
|
83
|
+
EXTERNAL_ID: string | null;
|
|
84
|
+
IBLOCK_TYPE_ID: string;
|
|
85
|
+
LANG_DIR: string;
|
|
86
|
+
LID: string;
|
|
87
|
+
NAME: string;
|
|
88
|
+
RIGHTS_MODE: string;
|
|
89
|
+
SECTIONS_NAME: string;
|
|
90
|
+
SECTION_CHOOSER: string;
|
|
91
|
+
SECTION_NAME: string;
|
|
92
|
+
SORT: string;
|
|
93
|
+
}
|
|
94
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { iBXRestYesNo } from '../../base/YesNo';
|
|
2
|
+
export interface iBXRestBlogPostEssence extends iBXRestBlogPostEssenceBase {
|
|
3
|
+
EDIT_IN_LIST: boolean;
|
|
4
|
+
ID: number;
|
|
5
|
+
IS_SEARCHABLE: boolean;
|
|
6
|
+
MANDATORY: boolean;
|
|
7
|
+
MULTIPLE: boolean;
|
|
8
|
+
SHOW_FILTER: boolean;
|
|
9
|
+
SHOW_IN_LIST: boolean;
|
|
10
|
+
SORT: number;
|
|
11
|
+
}
|
|
12
|
+
export interface iBXRestBlogPostEssenceHttp extends iBXRestBlogPostEssenceBase {
|
|
13
|
+
EDIT_IN_LIST: iBXRestYesNo;
|
|
14
|
+
ID: string;
|
|
15
|
+
IS_SEARCHABLE: iBXRestYesNo;
|
|
16
|
+
MANDATORY: iBXRestYesNo;
|
|
17
|
+
MULTIPLE: iBXRestYesNo;
|
|
18
|
+
SHOW_FILTER: iBXRestYesNo;
|
|
19
|
+
SHOW_IN_LIST: iBXRestYesNo;
|
|
20
|
+
SORT: string;
|
|
21
|
+
}
|
|
22
|
+
export interface iBXRestBlogPostEssenceBase {
|
|
23
|
+
EDIT_FORM_LABEL: string;
|
|
24
|
+
ENTITY_ID: string;
|
|
25
|
+
ENTITY_VALUE_ID: number;
|
|
26
|
+
ERROR_MESSAGE: null;
|
|
27
|
+
FIELD_NAME: string;
|
|
28
|
+
HELP_MESSAGE: null;
|
|
29
|
+
LIST_COLUMN_LABEL: null;
|
|
30
|
+
LIST_FILTER_LABEL: null;
|
|
31
|
+
SETTINGS: {
|
|
32
|
+
SIZE: 20;
|
|
33
|
+
MIN_VALUE: 0;
|
|
34
|
+
MAX_VALUE: 0;
|
|
35
|
+
DEFAULT_VALUE: 0;
|
|
36
|
+
};
|
|
37
|
+
USER_TYPE: {
|
|
38
|
+
BASE_TYPE: 'int';
|
|
39
|
+
CLASS_NAME: string;
|
|
40
|
+
DESCRIPTION: string;
|
|
41
|
+
EDIT_CALLBACK: string[];
|
|
42
|
+
USER_TYPE_ID: 'integer';
|
|
43
|
+
USE_FIELD_COMPONENT: boolean;
|
|
44
|
+
VIEW_CALLBACK: string[];
|
|
45
|
+
VALUE: boolean;
|
|
46
|
+
XML_ID: null;
|
|
47
|
+
};
|
|
48
|
+
USER_TYPE_ID: 'integer';
|
|
49
|
+
VALUE: boolean;
|
|
50
|
+
XML_ID: null;
|
|
51
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { iBXRestBlogPostEssence, iBXRestBlogPostEssenceHttp } from './essence';
|
|
2
|
+
import { iBXRestYesNo } from '../../base/YesNo';
|
|
3
|
+
export interface iBXRestParamBlogPostGet {
|
|
4
|
+
start?: number;
|
|
5
|
+
POST_ID?: number;
|
|
6
|
+
LOG_RIGHTS?: string[];
|
|
7
|
+
}
|
|
8
|
+
export interface iBXRestBlogPost extends iBXRestBlogPostBase {
|
|
9
|
+
AUTHOR_ID: number;
|
|
10
|
+
BLOG_ID: number;
|
|
11
|
+
CATEGORY_ID: number;
|
|
12
|
+
DATE_PUBLISH: Date;
|
|
13
|
+
ENABLE_COMMENTS: boolean;
|
|
14
|
+
HAS_COMMENT_IMAGES: boolean;
|
|
15
|
+
HAS_SOCNET_ALL: boolean;
|
|
16
|
+
HAS_IMAGES: boolean;
|
|
17
|
+
HAS_PROPS: boolean;
|
|
18
|
+
HAS_TAGS: boolean;
|
|
19
|
+
ID: number;
|
|
20
|
+
MICRO: boolean;
|
|
21
|
+
NUM_COMMENTS: number;
|
|
22
|
+
UF_ANSWER_ID: iBXRestBlogPostEssence | undefined;
|
|
23
|
+
UF_BLOG_POST_DOC: iBXRestBlogPostEssence | undefined;
|
|
24
|
+
UF_BLOG_POST_FILE: iBXRestBlogPostEssence | undefined;
|
|
25
|
+
UF_BLOG_POST_F_EDIT: iBXRestBlogPostEssence | undefined;
|
|
26
|
+
UF_BLOG_POST_IMPRTNT: iBXRestBlogPostEssence | undefined;
|
|
27
|
+
UF_BLOG_POST_URL_PRV: iBXRestBlogPostEssence | undefined;
|
|
28
|
+
UF_BLOG_POST_VOTE: iBXRestBlogPostEssence | undefined;
|
|
29
|
+
UF_CATEGORY_CODE: iBXRestBlogPostEssence | undefined;
|
|
30
|
+
UF_GRATITUDE: iBXRestBlogPostEssence | undefined;
|
|
31
|
+
UF_IMPRTANT_DATE_END: iBXRestBlogPostEssence | undefined;
|
|
32
|
+
UF_MAIL_MESSAGE: iBXRestBlogPostEssence | undefined;
|
|
33
|
+
UF_ORIGINAL_ID: iBXRestBlogPostEssence | undefined;
|
|
34
|
+
UF_STATUS: iBXRestBlogPostEssence | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface iBXRestBlogPostHttp extends iBXRestBlogPostBase {
|
|
37
|
+
AUTHOR_ID: string;
|
|
38
|
+
BLOG_ID: string;
|
|
39
|
+
CATEGORY_ID: string;
|
|
40
|
+
DATE_PUBLISH: string;
|
|
41
|
+
ENABLE_COMMENTS: iBXRestYesNo;
|
|
42
|
+
HAS_COMMENT_IMAGES: iBXRestYesNo;
|
|
43
|
+
HAS_SOCNET_ALL: iBXRestYesNo;
|
|
44
|
+
HAS_IMAGES: iBXRestYesNo;
|
|
45
|
+
HAS_PROPS: iBXRestYesNo;
|
|
46
|
+
HAS_TAGS: iBXRestYesNo;
|
|
47
|
+
ID: string;
|
|
48
|
+
MICRO: iBXRestYesNo;
|
|
49
|
+
NUM_COMMENTS: string;
|
|
50
|
+
UF_ANSWER_ID: iBXRestBlogPostEssenceHttp | undefined;
|
|
51
|
+
UF_BLOG_POST_DOC: iBXRestBlogPostEssenceHttp | undefined;
|
|
52
|
+
UF_BLOG_POST_FILE: iBXRestBlogPostEssenceHttp | undefined;
|
|
53
|
+
UF_BLOG_POST_F_EDIT: iBXRestBlogPostEssenceHttp | undefined;
|
|
54
|
+
UF_BLOG_POST_IMPRTNT: iBXRestBlogPostEssenceHttp | undefined;
|
|
55
|
+
UF_BLOG_POST_URL_PRV: iBXRestBlogPostEssenceHttp | undefined;
|
|
56
|
+
UF_BLOG_POST_VOTE: iBXRestBlogPostEssenceHttp | undefined;
|
|
57
|
+
UF_CATEGORY_CODE: iBXRestBlogPostEssenceHttp | undefined;
|
|
58
|
+
UF_GRATITUDE: iBXRestBlogPostEssenceHttp | undefined;
|
|
59
|
+
UF_IMPRTANT_DATE_END: iBXRestBlogPostEssenceHttp | undefined;
|
|
60
|
+
UF_MAIL_MESSAGE: iBXRestBlogPostEssenceHttp | undefined;
|
|
61
|
+
UF_ORIGINAL_ID: iBXRestBlogPostEssenceHttp | undefined;
|
|
62
|
+
UF_STATUS: iBXRestBlogPostEssenceHttp | undefined;
|
|
63
|
+
}
|
|
64
|
+
interface iBXRestBlogPostBase {
|
|
65
|
+
CODE: null;
|
|
66
|
+
DETAIL_TEXT: string;
|
|
67
|
+
FILES: number[] | null;
|
|
68
|
+
TITLE: string;
|
|
69
|
+
PUBLISH_STATUS: 'P';
|
|
70
|
+
}
|
|
71
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare type iBXRestSonetGroupFieldsSelect = iBXRestSonetGroupFieldsBase | iBXRestSonetGroupFieldsAddForSelect;
|
|
2
|
+
export declare type iBXRestSonetGroupFieldsOrder = iBXRestSonetGroupFieldsBase | iBXRestSonetGroupFieldsAddForOrder;
|
|
3
|
+
export declare type iBXRestSonetGroupFieldsFilter = iBXRestSonetGroupFieldsBase | iBXRestSonetGroupFieldsAddForOrder | iBXRestSonetGroupFieldsAddForFilter;
|
|
4
|
+
declare type iBXRestSonetGroupFieldsAddForFilter = 'CHECK_PERMISSIONS';
|
|
5
|
+
declare type iBXRestSonetGroupFieldsAddForOrder = 'OWNER_LAST_NAME' | 'OWNER_LOGIN' | 'IMAGE_ID';
|
|
6
|
+
declare type iBXRestSonetGroupFieldsAddForSelect = 'DESCRIPTION' | 'KEYWORDS' | 'IMAGE_ID';
|
|
7
|
+
export declare type iBXRestSonetGroupFieldsBase = 'ID' | 'SITE_ID' | 'NAME' | 'DATE_CREATE' | 'DATE_UPDATE' | 'DATE_ACTIVITY' | 'ACTIVE' | 'VISIBLE' | 'OPENED' | 'CLOSED' | 'SUBJECT_ID' | 'OWNER_ID' | 'INITIATE_PERMS' | 'SPAM_PERMS' | 'SUBJECT_NAME' | 'NUMBER_OF_MEMBERS';
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { iBXRestParamSort } from '../base/sort';
|
|
2
|
+
import { iBXRestSonetGroupFieldsFilter, iBXRestSonetGroupFieldsOrder, iBXRestSonetGroupFieldsSelect } from './base';
|
|
3
|
+
import { Modify } from '../../base/modyfy';
|
|
4
|
+
export interface iBXRestParamSonetGroupGet {
|
|
5
|
+
filter: iBXRestParamSonetFilerWorkgroup;
|
|
6
|
+
order: iBXRestParamSonetOrderWorkgroup;
|
|
7
|
+
}
|
|
8
|
+
export declare type iBXRestParamSonetFilerWorkgroup = {
|
|
9
|
+
[key in iBXRestSonetGroupFieldsFilter]?: string | string[] | number | number[] | Date;
|
|
10
|
+
};
|
|
11
|
+
export declare type iBXRestParamSonetOrderWorkgroup = {
|
|
12
|
+
[key in iBXRestSonetGroupFieldsOrder]?: iBXRestParamSort;
|
|
13
|
+
};
|
|
14
|
+
export declare type iBXRestParamSonetHttp = Record<iBXRestSonetGroupFieldsSelect, string>;
|
|
15
|
+
export declare type iBXRestParamSonet = Modify<iBXRestParamSonetHttp, {
|
|
16
|
+
ID: number;
|
|
17
|
+
DATE_CREATE: Date;
|
|
18
|
+
DATE_UPDATE: Date;
|
|
19
|
+
ACTIVE: boolean;
|
|
20
|
+
VISIBLE: boolean;
|
|
21
|
+
OPENED: boolean;
|
|
22
|
+
CLOSED: boolean;
|
|
23
|
+
SUBJECT_ID: number;
|
|
24
|
+
OWNER_ID: number;
|
|
25
|
+
NUMBER_OF_MEMBERS: number;
|
|
26
|
+
DATE_ACTIVITY: Date;
|
|
27
|
+
PROJECT: boolean;
|
|
28
|
+
IS_EXTRANET: boolean;
|
|
29
|
+
}>;
|