bx-rest 0.0.35 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -4
- package/esm2020/functions/mapResult.mjs +2 -2
- package/esm2020/map/disk/base.mjs +57 -0
- package/esm2020/map/disk/folder.mjs +17 -0
- package/esm2020/map/disk/storage.mjs +17 -0
- package/esm2020/map/lists/element.mjs +8 -8
- package/esm2020/map/lists.mjs +19 -0
- package/esm2020/map/task.mjs +115 -0
- package/esm2020/map/user.mjs +89 -0
- package/esm2020/public-api.mjs +4 -2
- package/esm2020/request/disk/file.mjs +38 -0
- package/esm2020/request/disk/folder.mjs +46 -0
- package/esm2020/request/disk/storage.mjs +46 -0
- package/esm2020/request/disk.mjs +19 -0
- package/esm2020/request/lists/element.mjs +5 -7
- package/esm2020/request/tasks/task.mjs +61 -0
- package/esm2020/request/tasks.mjs +17 -0
- package/esm2020/request/user.mjs +29 -132
- package/esm2020/request-navvy/disk/file.mjs +39 -0
- package/esm2020/request-navvy/disk/folder.mjs +44 -0
- package/esm2020/request-navvy/disk/operation.mjs +95 -0
- package/esm2020/request-navvy/disk/storage.mjs +59 -0
- package/esm2020/request-navvy/disk.mjs +21 -0
- package/esm2020/request-navvy/lists/element.mjs +25 -0
- package/esm2020/request-navvy/lists.mjs +25 -0
- package/esm2020/request-navvy/tasks/task.mjs +64 -0
- package/esm2020/request-navvy/tasks.mjs +17 -0
- package/esm2020/request-navvy/user.mjs +65 -0
- package/esm2020/rest.mjs +42 -4
- package/esm2020/services/base.mjs +3 -2
- package/esm2020/services/http/HttpBX.mjs +23 -59
- package/esm2020/services/http/HttpData.mjs +2 -8
- package/esm2020/services/http/base/base.mjs +3 -4
- package/esm2020/services/http/base/http.mjs +6 -21
- package/esm2020/services/http/http.mjs +7 -71
- package/esm2020/services/http/sessionKey.mjs +36 -20
- package/esm2020/services/navvy.mjs +26 -0
- package/esm2020/services/vanilla/sessionStorage.mjs +23 -0
- package/esm2020/settings.mjs +4 -5
- package/esm2020/typification/rest/base/answer.mjs +2 -0
- package/esm2020/typification/rest/base/filterGenerator.mjs +2 -0
- package/esm2020/typification/rest/batch/batchRequestParam.mjs +1 -1
- package/esm2020/typification/rest/disk/file.mjs +2 -0
- package/esm2020/typification/rest/disk/folder.mjs +2 -0
- package/esm2020/typification/rest/disk/map.mjs +2 -0
- package/esm2020/typification/rest/disk/storage/uploadfile.mjs +2 -0
- package/esm2020/typification/rest/lists/element/get.mjs +1 -1
- package/esm2020/typification/rest/task/fieldsForSend.mjs +2 -0
- package/esm2020/typification/rest/task/people/base.mjs +2 -0
- package/esm2020/typification/rest/task/task.mjs +2 -0
- package/esm2020/typification/rest/user/get.mjs +1 -1
- package/esm2020/typification/settings.mjs +1 -1
- package/fesm2015/bx-rest.mjs +1032 -427
- package/fesm2015/bx-rest.mjs.map +1 -1
- package/fesm2020/bx-rest.mjs +1030 -427
- package/fesm2020/bx-rest.mjs.map +1 -1
- package/functions/mapResult.d.ts +4 -2
- package/map/disk/base.d.ts +12 -0
- package/map/disk/folder.d.ts +9 -0
- package/map/disk/storage.d.ts +9 -0
- package/map/lists/element.d.ts +4 -4
- package/map/lists.d.ts +9 -0
- package/map/task.d.ts +8 -0
- package/map/user.d.ts +12 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -1
- package/request/disk/file.d.ts +25 -0
- package/request/disk/folder.d.ts +26 -0
- package/request/disk/storage.d.ts +34 -0
- package/request/disk.d.ts +10 -0
- package/request/lists/element.d.ts +3 -5
- package/request/tasks/task.d.ts +55 -0
- package/request/tasks.d.ts +8 -0
- package/request/user.d.ts +12 -23
- package/request-navvy/disk/file.d.ts +17 -0
- package/request-navvy/disk/folder.d.ts +13 -0
- package/request-navvy/disk/operation.d.ts +23 -0
- package/request-navvy/disk/storage.d.ts +28 -0
- package/request-navvy/disk.d.ts +12 -0
- package/request-navvy/lists/element.d.ts +14 -0
- package/request-navvy/lists.d.ts +15 -0
- package/request-navvy/tasks/task.d.ts +16 -0
- package/request-navvy/tasks.d.ts +8 -0
- package/request-navvy/user.d.ts +24 -0
- package/rest.d.ts +25 -1
- package/services/http/HttpBX.d.ts +7 -16
- package/services/http/HttpData.d.ts +1 -3
- package/services/http/base/base.d.ts +4 -4
- package/services/http/base/http.d.ts +3 -3
- package/services/http/http.d.ts +3 -17
- package/services/http/sessionKey.d.ts +13 -2
- package/services/navvy.d.ts +11 -0
- package/services/vanilla/sessionStorage.d.ts +7 -0
- package/typification/rest/base/{httpAnswerBX.d.ts → answer.d.ts} +1 -1
- package/typification/rest/base/filterGenerator.d.ts +5 -0
- package/typification/rest/batch/batchRequestParam.d.ts +2 -2
- package/typification/rest/disk/file.d.ts +14 -0
- package/typification/rest/disk/folder.d.ts +47 -0
- package/typification/rest/disk/map.d.ts +6 -0
- package/typification/rest/disk/storage/uploadfile.d.ts +9 -0
- package/typification/rest/lists/element/get.d.ts +9 -1
- package/typification/rest/task/fieldsForSend.d.ts +61 -0
- package/typification/rest/task/people/base.d.ts +12 -0
- package/typification/rest/task/task.d.ts +102 -0
- package/typification/rest/user/get.d.ts +1 -1
- package/typification/settings.d.ts +3 -4
- package/esm2020/services/map/base.mjs +0 -14
- package/esm2020/services/map/rest/user.mjs +0 -89
- package/esm2020/store/users.mjs +0 -67
- package/esm2020/typification/rest/base/httpAnswerBX.mjs +0 -2
- package/services/map/base.d.ts +0 -6
- package/services/map/rest/user.d.ts +0 -12
- package/store/users.d.ts +0 -34
package/functions/mapResult.d.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare function
|
|
1
|
+
import { iBXRestAnswer } from '../typification/rest/base/answer';
|
|
2
|
+
export declare function BXRestMapResult<T>(v: iBXRestAnswer<T>): NonNullable<T>;
|
|
3
|
+
export declare function BXRestMapResult(v: undefined): undefined;
|
|
4
|
+
export declare function BXRestMapResult<T>(v: iBXRestAnswer<T> | undefined): T | undefined;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import BaseMapServices from '../base';
|
|
2
|
+
import { iBXRestFile, iBXRestFileHttp } from '../../typification/rest/disk/file';
|
|
3
|
+
import { iBXRestFolder, iBXRestFolderHttp } from '../../typification/rest/disk/folder';
|
|
4
|
+
import { iBXRestFileAndFolderMap } from '../../typification/rest/disk/map';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export default class BXRestMapDiskBase extends BaseMapServices {
|
|
7
|
+
separationFoldersAndFiles(arr: (iBXRestFolderHttp | iBXRestFileHttp)[]): iBXRestFileAndFolderMap;
|
|
8
|
+
instanceOfiFile(object: any): object is iBXRestFile;
|
|
9
|
+
instanceOfiFolder(object: any): object is iBXRestFolder;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapDiskBase, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapDiskBase>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { iBXRestFolderHttp } from '../../typification/rest/disk/folder';
|
|
2
|
+
import { iBXRestFileHttp } from '../../typification/rest/disk/file';
|
|
3
|
+
import BXRestMapDiskBase from './base';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export default class BXRestMapDiskFolder extends BXRestMapDiskBase {
|
|
6
|
+
getContent(arr: (iBXRestFolderHttp | iBXRestFileHttp)[]): import("../../typification/rest/disk/map").iBXRestFileAndFolderMap;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapDiskFolder, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapDiskFolder>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import BXRestMapDiskBase from './base';
|
|
2
|
+
import { iBXRestFolderHttp } from '../../typification/rest/disk/folder';
|
|
3
|
+
import { iBXRestFileHttp } from '../../typification/rest/disk/file';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export default class BXRestMapDiskStorage extends BXRestMapDiskBase {
|
|
6
|
+
getchildren(arr: (iBXRestFolderHttp | iBXRestFileHttp)[]): import("../../typification/rest/disk/map").iBXRestFileAndFolderMap;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapDiskStorage, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapDiskStorage>;
|
|
9
|
+
}
|
package/map/lists/element.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import BaseMapServices from '../base';
|
|
2
2
|
import { iBXRestHttpListsElement, iBXRestListsElement } from '../../typification/rest/lists/element/get';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export default class
|
|
5
|
-
get(
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
4
|
+
export default class BXRestMapListsElement extends BaseMapServices {
|
|
5
|
+
get(items: iBXRestHttpListsElement[]): iBXRestListsElement[];
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapListsElement, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapListsElement>;
|
|
8
8
|
}
|
package/map/lists.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import BaseMapServices from './base';
|
|
2
|
+
import BXRestListsElementMap from './lists/element';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export default class BXRestMapLists extends BaseMapServices {
|
|
5
|
+
element: BXRestListsElementMap;
|
|
6
|
+
constructor(element: BXRestListsElementMap);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapLists, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapLists>;
|
|
9
|
+
}
|
package/map/task.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import BaseMapServices from './base';
|
|
2
|
+
import { iBXRestHttpTask, iBXRestTask } from '../typification/rest/task/task';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BXRestTaskMap extends BaseMapServices {
|
|
5
|
+
TaskBXHttpToTaskBX(item: iBXRestHttpTask): iBXRestTask;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestTaskMap, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestTaskMap>;
|
|
8
|
+
}
|
package/map/user.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import BaseMapServices from './base';
|
|
2
|
+
import { iBXRestUser, iBXRestUserHttp } from '../typification/rest/user/user';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BXRestUserMap extends BaseMapServices {
|
|
5
|
+
current(user: iBXRestUserHttp): iBXRestUser;
|
|
6
|
+
BXtoHttp(user: iBXRestUser): iBXRestUserHttp;
|
|
7
|
+
getFIO(user: iBXRestUser): string;
|
|
8
|
+
getFI(user: iBXRestUser): string;
|
|
9
|
+
getFIOShort(user: iBXRestUser): string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestUserMap, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestUserMap>;
|
|
12
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import HttpBXServices from '../../services/http/HttpBX';
|
|
2
|
+
import { iBXRestFileHttp } from '../../typification/rest/disk/file';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BXRestDiskFile {
|
|
5
|
+
private http;
|
|
6
|
+
url: {
|
|
7
|
+
getfields: string[];
|
|
8
|
+
get: string[];
|
|
9
|
+
rename: string[];
|
|
10
|
+
copyto: string[];
|
|
11
|
+
moveto: string[];
|
|
12
|
+
delete: string[];
|
|
13
|
+
markdeleted: string[];
|
|
14
|
+
restore: string[];
|
|
15
|
+
uploadversion: string[];
|
|
16
|
+
getVersions: string[];
|
|
17
|
+
restoreFromVersion: string[];
|
|
18
|
+
getExternalLink: string[];
|
|
19
|
+
};
|
|
20
|
+
constructor(http: HttpBXServices);
|
|
21
|
+
get(id: number): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<iBXRestFileHttp> | undefined>;
|
|
22
|
+
markDel(id: number): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<iBXRestFileHttp> | undefined>;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestDiskFile, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestDiskFile>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import HttpBXServices from '../../services/http/HttpBX';
|
|
2
|
+
import { iBXRestFolderHttp } from '../../typification/rest/disk/folder';
|
|
3
|
+
import { iBXRestFileHttp } from '../../typification/rest/disk/file';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BXRestDiskFolder {
|
|
6
|
+
private http;
|
|
7
|
+
url: {
|
|
8
|
+
getfields: string[];
|
|
9
|
+
get: string[];
|
|
10
|
+
getchildren: string[];
|
|
11
|
+
addsubfolder: string[];
|
|
12
|
+
copyto: string[];
|
|
13
|
+
moveto: string[];
|
|
14
|
+
rename: string[];
|
|
15
|
+
deletetree: string[];
|
|
16
|
+
markdeleted: string[];
|
|
17
|
+
restore: string[];
|
|
18
|
+
uploadfile: string[];
|
|
19
|
+
getExternalLink: string[];
|
|
20
|
+
};
|
|
21
|
+
constructor(http: HttpBXServices);
|
|
22
|
+
uploadfile(id: number, fileContent: string[]): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<unknown> | undefined>;
|
|
23
|
+
getchildren(id: number): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<(iBXRestFolderHttp | iBXRestFileHttp)[]> | undefined>;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestDiskFolder, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestDiskFolder>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import HttpBXServices from '../../services/http/HttpBX';
|
|
2
|
+
import { iBXRestFile, iBXRestFileHttp } from '../../typification/rest/disk/file';
|
|
3
|
+
import { iBXRestFolderHttp, iBXRestFolderInfo } from '../../typification/rest/disk/folder';
|
|
4
|
+
import { iBXRestParamUploadFile } from '../../typification/rest/disk/storage/uploadfile';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class BXRestDiskStorage {
|
|
7
|
+
private http;
|
|
8
|
+
url: {
|
|
9
|
+
getfields: string[];
|
|
10
|
+
get: string[];
|
|
11
|
+
rename: string[];
|
|
12
|
+
getlist: string[];
|
|
13
|
+
gettypes: string[];
|
|
14
|
+
addfolder: string[];
|
|
15
|
+
getchildren: string[];
|
|
16
|
+
uploadfile: string[];
|
|
17
|
+
getforapp: string[];
|
|
18
|
+
};
|
|
19
|
+
constructor(http: HttpBXServices);
|
|
20
|
+
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>;
|
|
25
|
+
addfolder(param: {
|
|
26
|
+
id: number;
|
|
27
|
+
data: {
|
|
28
|
+
NAME: string;
|
|
29
|
+
};
|
|
30
|
+
}): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<any> | undefined>;
|
|
31
|
+
uploadfile(param: iBXRestParamUploadFile): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<iBXRestFile> | undefined>;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestDiskStorage, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestDiskStorage>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BXRestDiskFile } from './disk/file';
|
|
2
|
+
import { BXRestDiskFolder } from './disk/folder';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BXRestDisk {
|
|
5
|
+
file: BXRestDiskFile;
|
|
6
|
+
folder: BXRestDiskFolder;
|
|
7
|
+
constructor(file: BXRestDiskFile, folder: BXRestDiskFolder);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestDisk, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestDisk>;
|
|
10
|
+
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import HttpBXServices from '../../services/http/HttpBX';
|
|
2
|
-
import
|
|
3
|
-
import { iBXRestListsElement, iBXRestParamListsElementGet } from '../../typification/rest/lists/element/get';
|
|
2
|
+
import { iBXRestHttpListsElement, iBXRestParamListsElementGet } from '../../typification/rest/lists/element/get';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class BXRestListsElement {
|
|
6
5
|
private http;
|
|
7
|
-
private mapResult;
|
|
8
6
|
url: {
|
|
9
7
|
add: string[];
|
|
10
8
|
delete: string[];
|
|
@@ -12,8 +10,8 @@ export declare class BXRestListsElement {
|
|
|
12
10
|
update: string[];
|
|
13
11
|
getFileUrl: string[];
|
|
14
12
|
};
|
|
15
|
-
constructor(http: HttpBXServices
|
|
16
|
-
get(pram: iBXRestParamListsElementGet): import("rxjs").Observable<import("../../typification/rest/base/
|
|
13
|
+
constructor(http: HttpBXServices);
|
|
14
|
+
get(pram: iBXRestParamListsElementGet): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<iBXRestHttpListsElement[]> | undefined>;
|
|
17
15
|
customPipe(): void;
|
|
18
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestListsElement, never>;
|
|
19
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestListsElement>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import HttpBXServices from '../../services/http/HttpBX';
|
|
2
|
+
import { iBXRestParamTaskAdd } from '../../typification/rest/task/fieldsForSend';
|
|
3
|
+
import { iBXRestHttpTask } from '../../typification/rest/task/task';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BXRestTasksTask {
|
|
6
|
+
private http;
|
|
7
|
+
url: {
|
|
8
|
+
add: string[];
|
|
9
|
+
approve: string[];
|
|
10
|
+
complete: string[];
|
|
11
|
+
counters: {
|
|
12
|
+
get: string[];
|
|
13
|
+
};
|
|
14
|
+
deger: string[];
|
|
15
|
+
delegate: string[];
|
|
16
|
+
delete: string[];
|
|
17
|
+
disapprove: string[];
|
|
18
|
+
favorite: {
|
|
19
|
+
add: string[];
|
|
20
|
+
delete: string[];
|
|
21
|
+
};
|
|
22
|
+
files: {
|
|
23
|
+
attach: string[];
|
|
24
|
+
};
|
|
25
|
+
get: string[];
|
|
26
|
+
getFields: string[];
|
|
27
|
+
getaccess: string[];
|
|
28
|
+
history: {
|
|
29
|
+
list: string[];
|
|
30
|
+
};
|
|
31
|
+
list: string[];
|
|
32
|
+
pause: string[];
|
|
33
|
+
renew: string[];
|
|
34
|
+
start: string[];
|
|
35
|
+
startwatch: string[];
|
|
36
|
+
stopwatch: string[];
|
|
37
|
+
update: string[];
|
|
38
|
+
result: {
|
|
39
|
+
list: string[];
|
|
40
|
+
addFromComment: string[];
|
|
41
|
+
deleteFromComment: string[];
|
|
42
|
+
};
|
|
43
|
+
planner: {
|
|
44
|
+
getlist: string[];
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
constructor(http: HttpBXServices);
|
|
48
|
+
add(param: {
|
|
49
|
+
fields: iBXRestParamTaskAdd;
|
|
50
|
+
}): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<{
|
|
51
|
+
task: iBXRestHttpTask;
|
|
52
|
+
}> | undefined>;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestTasksTask, never>;
|
|
54
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestTasksTask>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BXRestTasksTask } from './tasks/task';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BXRestTasks {
|
|
4
|
+
task: BXRestTasksTask;
|
|
5
|
+
constructor(task: BXRestTasksTask);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestTasks, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestTasks>;
|
|
8
|
+
}
|
package/request/user.d.ts
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { iBXGetParam } from '../typification/rest/user/get';
|
|
1
|
+
import { iBXRestParamUserGet } from '../typification/rest/user/get';
|
|
3
2
|
import HttpBXServices from '../services/http/HttpBX';
|
|
4
3
|
import UserFilterSearch from '../typification/rest/user/UserFilterSearch';
|
|
5
|
-
import { Store } from '@ngrx/store';
|
|
6
|
-
import { storeUsers } from '../store/users';
|
|
7
|
-
import { BitrixApiUserMapServices } from '../services/map/rest/user';
|
|
8
|
-
import SnackBarService from '../services/snack-bar/snack-bar.service';
|
|
9
|
-
import iHttpAnswerBX from '../typification/rest/base/httpAnswerBX';
|
|
10
4
|
import { iBXRestUser, iBXRestUserHttp, iBXRestUserHttpField } from '../typification/rest/user/user';
|
|
5
|
+
import { iBXRestAnswer } from '../typification/rest/base/answer';
|
|
6
|
+
import { BXRestUserMap } from '../map/user';
|
|
11
7
|
import * as i0 from "@angular/core";
|
|
12
8
|
export declare class BXRestUser {
|
|
13
9
|
private http;
|
|
14
|
-
private
|
|
15
|
-
private store;
|
|
16
|
-
private userMap;
|
|
10
|
+
private BXRestUserMap;
|
|
17
11
|
url: {
|
|
18
12
|
admin: string[];
|
|
19
13
|
get: string[];
|
|
@@ -32,19 +26,14 @@ export declare class BXRestUser {
|
|
|
32
26
|
start: 0;
|
|
33
27
|
};
|
|
34
28
|
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
access(access: string[], textError?: string): Observable<typeof import("../functions/mapResult").mapResult | iHttpAnswerBX<iHttpAnswerBX<boolean> | undefined> | undefined>;
|
|
44
|
-
private saveArrUser;
|
|
45
|
-
search(params: string | UserFilterSearch): Observable<typeof import("../functions/mapResult").mapResult | iHttpAnswerBX<iHttpAnswerBX<iBXRestUserHttp[]>> | undefined>;
|
|
46
|
-
fields(): Observable<typeof import("../functions/mapResult").mapResult | iHttpAnswerBX<iHttpAnswerBX<iBXRestUserHttpField>> | undefined>;
|
|
47
|
-
update(user: iBXRestUser, fieldUpdate: string[]): Observable<iHttpAnswerBX<iBXRestUserHttp[]> | undefined> | Observable<{}>;
|
|
29
|
+
constructor(http: HttpBXServices, BXRestUserMap: BXRestUserMap);
|
|
30
|
+
admin(): import("rxjs").Observable<iBXRestAnswer<boolean> | undefined>;
|
|
31
|
+
get(params?: iBXRestParamUserGet): import("rxjs").Observable<iBXRestAnswer<iBXRestUserHttp[]> | undefined>;
|
|
32
|
+
current(): import("rxjs").Observable<iBXRestAnswer<iBXRestUserHttp> | undefined>;
|
|
33
|
+
update(user: iBXRestUser, fieldUpdate: string[]): import("rxjs").Observable<iBXRestAnswer<iBXRestUserHttp[]> | undefined>;
|
|
34
|
+
search(params: string | UserFilterSearch): import("rxjs").Observable<iBXRestAnswer<iBXRestAnswer<iBXRestUserHttp[]>> | undefined>;
|
|
35
|
+
access(access: string[]): import("rxjs").Observable<iBXRestAnswer<iBXRestAnswer<boolean> | undefined> | undefined>;
|
|
36
|
+
fields(): import("rxjs").Observable<iBXRestAnswer<iBXRestAnswer<iBXRestUserHttpField>> | undefined>;
|
|
48
37
|
private setDefParam;
|
|
49
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestUser, never>;
|
|
50
39
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestUser>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseServices } from '../../services/base';
|
|
2
|
+
import { BXRestDiskFile } from '../../request/disk/file';
|
|
3
|
+
import { Navvy } from '../../services/navvy';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BXRestNavvyDiskFile extends BaseServices {
|
|
6
|
+
private BXRestDiskFile;
|
|
7
|
+
private Navvy;
|
|
8
|
+
constructor(BXRestDiskFile: BXRestDiskFile, Navvy: Navvy);
|
|
9
|
+
get(id: number): import("rxjs").Observable<(import("../../typification/rest/disk/file").iBXRestFileHttp & {
|
|
10
|
+
SIZE: number;
|
|
11
|
+
}) | undefined>;
|
|
12
|
+
markDel(id: number): import("rxjs").Observable<(import("../../typification/rest/disk/file").iBXRestFileHttp & {
|
|
13
|
+
SIZE: number;
|
|
14
|
+
}) | undefined>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyDiskFile, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyDiskFile>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import BXRestMapDiskFolder from '../../map/disk/folder';
|
|
2
|
+
import { BXRestDiskFolder } from '../../request/disk/folder';
|
|
3
|
+
import { Navvy } from '../../services/navvy';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BXRestDiskNavvyFolder {
|
|
6
|
+
private BXRestDiskFolder;
|
|
7
|
+
private BXRestMapDiskFolder;
|
|
8
|
+
private Navvy;
|
|
9
|
+
constructor(BXRestDiskFolder: BXRestDiskFolder, BXRestMapDiskFolder: BXRestMapDiskFolder, Navvy: Navvy);
|
|
10
|
+
getchildren(id: number): import("rxjs").Observable<import("../../typification/rest/disk/map").iBXRestFileAndFolderMap>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestDiskNavvyFolder, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestDiskNavvyFolder>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BXRestDiskNavvyFolder } from './folder';
|
|
2
|
+
import { BXRestNavvyDiskFile } from './file';
|
|
3
|
+
import { BXRestNavvyDiskStorage } from './storage';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BXRestNavvyDiskOperation {
|
|
6
|
+
folder: BXRestDiskNavvyFolder;
|
|
7
|
+
disk: BXRestNavvyDiskFile;
|
|
8
|
+
private storage;
|
|
9
|
+
constructor(folder: BXRestDiskNavvyFolder, disk: BXRestNavvyDiskFile, storage: BXRestNavvyDiskStorage);
|
|
10
|
+
loadFileInAppFolder(file: {
|
|
11
|
+
name: string;
|
|
12
|
+
val: string;
|
|
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>;
|
|
15
|
+
getRootFoldersApp(): import("rxjs").Observable<import("../../typification/rest/disk/map").iBXRestFileAndFolderMap | undefined>;
|
|
16
|
+
/**
|
|
17
|
+
* Получать или создать папку, если её нет, с определенным именем для приложения
|
|
18
|
+
* @param folderName
|
|
19
|
+
*/
|
|
20
|
+
getOfCreateRootFolderApp(folderName: string): import("rxjs").Observable<any>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyDiskOperation, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyDiskOperation>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BXRestDiskStorage } from '../../request/disk/storage';
|
|
2
|
+
import BXRestMapDiskStorage from '../../map/disk/storage';
|
|
3
|
+
import { iBXRestParamUploadFile } from '../../typification/rest/disk/storage/uploadfile';
|
|
4
|
+
import { Navvy } from '../../services/navvy';
|
|
5
|
+
import { SessionStorageServices } from '../../services/vanilla/sessionStorage';
|
|
6
|
+
import { iBXRestFolderInfo } from '../../typification/rest/disk/folder';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class BXRestNavvyDiskStorage {
|
|
9
|
+
private BXRestDiskStorage;
|
|
10
|
+
private BXRestMapDiskStorage;
|
|
11
|
+
private Navvy;
|
|
12
|
+
private SessionStorage;
|
|
13
|
+
constructor(BXRestDiskStorage: BXRestDiskStorage, BXRestMapDiskStorage: BXRestMapDiskStorage, Navvy: Navvy, SessionStorage: SessionStorageServices);
|
|
14
|
+
getforapp(): import("rxjs").Observable<iBXRestFolderInfo | undefined>;
|
|
15
|
+
getchildren(param: {
|
|
16
|
+
id: number;
|
|
17
|
+
filter?: any;
|
|
18
|
+
}): import("rxjs").Observable<import("../../typification/rest/disk/map").iBXRestFileAndFolderMap>;
|
|
19
|
+
addfolder(param: {
|
|
20
|
+
id: number;
|
|
21
|
+
data: {
|
|
22
|
+
NAME: string;
|
|
23
|
+
};
|
|
24
|
+
}): import("rxjs").Observable<any>;
|
|
25
|
+
uploadfile(param: iBXRestParamUploadFile): import("rxjs").Observable<import("../../typification/rest/base/answer").iBXRestAnswer<import("../../typification/rest/disk/file").iBXRestFile> | undefined>;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyDiskStorage, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyDiskStorage>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BXRestNavvyDiskFile } from './disk/file';
|
|
2
|
+
import { BXRestDiskNavvyFolder } from './disk/folder';
|
|
3
|
+
import { BXRestNavvyDiskOperation } from './disk/operation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BXRestNavvyDisk {
|
|
6
|
+
file: BXRestNavvyDiskFile;
|
|
7
|
+
folder: BXRestDiskNavvyFolder;
|
|
8
|
+
operation: BXRestNavvyDiskOperation;
|
|
9
|
+
constructor(file: BXRestNavvyDiskFile, folder: BXRestDiskNavvyFolder, operation: BXRestNavvyDiskOperation);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyDisk, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyDisk>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { iBXRestParamListsElementGet } from '../../typification/rest/lists/element/get';
|
|
2
|
+
import { BXRestListsElement } from '../../request/lists/element';
|
|
3
|
+
import BXRestListsElementMap from '../../map/lists/element';
|
|
4
|
+
import { Navvy } from '../../services/navvy';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class BXRestNavvyListsElement {
|
|
7
|
+
private BXRestListsElement;
|
|
8
|
+
private BXRestMap;
|
|
9
|
+
private Navvy;
|
|
10
|
+
constructor(BXRestListsElement: BXRestListsElement, BXRestMap: BXRestListsElementMap, Navvy: Navvy);
|
|
11
|
+
get(pram: iBXRestParamListsElementGet): import("rxjs").Observable<import("../../typification/rest/lists/element/get").iBXRestListsElement[] | undefined>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyListsElement, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyListsElement>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BXRestNavvyListsElement } from './lists/element';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export default class BXRestNavvyLists {
|
|
4
|
+
element: BXRestNavvyListsElement;
|
|
5
|
+
url: {
|
|
6
|
+
add: string[];
|
|
7
|
+
delete: string[];
|
|
8
|
+
get: string[];
|
|
9
|
+
update: string[];
|
|
10
|
+
getIblockTypeId: string[];
|
|
11
|
+
};
|
|
12
|
+
constructor(element: BXRestNavvyListsElement);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyLists, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyLists>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import SnackBarService from '../../services/snack-bar/snack-bar.service';
|
|
2
|
+
import { iBXRestParamTaskAdd } from '../../typification/rest/task/fieldsForSend';
|
|
3
|
+
import { BXRestTaskMap } from '../../map/task';
|
|
4
|
+
import { BXRestTasksTask } from '../../request/tasks/task';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class BXRestNavvyTasksTask {
|
|
7
|
+
private BXRestTasks;
|
|
8
|
+
private snackBar;
|
|
9
|
+
private taskMap;
|
|
10
|
+
constructor(BXRestTasks: BXRestTasksTask, snackBar: SnackBarService, taskMap: BXRestTaskMap);
|
|
11
|
+
add(param: {
|
|
12
|
+
fields: iBXRestParamTaskAdd;
|
|
13
|
+
}): import("rxjs").Observable<import("../../typification/rest/task/task").iBXRestTask | undefined>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyTasksTask, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyTasksTask>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BXRestNavvyTasksTask } from './tasks/task';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BXRestNavvyTasks {
|
|
4
|
+
task: BXRestNavvyTasksTask;
|
|
5
|
+
constructor(task: BXRestNavvyTasksTask);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyTasks, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyTasks>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BXRestUser } from '../request/user';
|
|
2
|
+
import { BXRestUserMap } from '../map/user';
|
|
3
|
+
import { iBXRestParamUserGet } from '../typification/rest/user/get';
|
|
4
|
+
import { Navvy } from '../services/navvy';
|
|
5
|
+
import { SessionStorageServices } from '../services/vanilla/sessionStorage';
|
|
6
|
+
import { iBXRestUser } from '../typification/rest/user/user';
|
|
7
|
+
import UserFilterSearch from '../typification/rest/user/UserFilterSearch';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class BXRestNavvyUser {
|
|
10
|
+
private BXRestUser;
|
|
11
|
+
private BXRestUserMap;
|
|
12
|
+
private Navvy;
|
|
13
|
+
private SessionStorage;
|
|
14
|
+
constructor(BXRestUser: BXRestUser, BXRestUserMap: BXRestUserMap, Navvy: Navvy, SessionStorage: SessionStorageServices);
|
|
15
|
+
get(params?: iBXRestParamUserGet): import("rxjs").Observable<import("../typification/rest/user/user").iBXRestUserHttp[] | undefined>;
|
|
16
|
+
current(update?: boolean): import("rxjs").Observable<iBXRestUser | undefined>;
|
|
17
|
+
update(user: iBXRestUser, fieldUpdate: string[]): import("rxjs").Observable<import("../typification/rest/user/user").iBXRestUserHttp[] | undefined>;
|
|
18
|
+
private self;
|
|
19
|
+
search(params: string | UserFilterSearch): import("rxjs").Observable<import("../typification/rest/base/answer").iBXRestAnswer<import("../typification/rest/user/user").iBXRestUserHttp[]> | undefined>;
|
|
20
|
+
access(access: string[]): import("rxjs").Observable<import("../typification/rest/base/answer").iBXRestAnswer<boolean> | undefined>;
|
|
21
|
+
fields(): import("rxjs").Observable<import("../typification/rest/base/answer").iBXRestAnswer<import("../typification/rest/user/user").iBXRestUserHttpField> | undefined>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvyUser, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvyUser>;
|
|
24
|
+
}
|
package/rest.d.ts
CHANGED
|
@@ -1,10 +1,34 @@
|
|
|
1
1
|
import { BXRestUser } from './request/user';
|
|
2
2
|
import BXRestLists from './request/lists';
|
|
3
|
+
import BXRestListsMap from './map/lists';
|
|
4
|
+
import BXRestNavvyLists from './request-navvy/lists';
|
|
5
|
+
import { BXRestNavvyTasks } from './request-navvy/tasks';
|
|
6
|
+
import { BXRestTasks } from './request/tasks';
|
|
7
|
+
import { BXRestNavvyUser } from './request-navvy/user';
|
|
8
|
+
import { BXRestDisk } from './request/disk';
|
|
9
|
+
import { BXRestNavvyDisk } from './request-navvy/disk';
|
|
3
10
|
import * as i0 from "@angular/core";
|
|
4
11
|
export declare class BXRest {
|
|
5
12
|
user: BXRestUser;
|
|
6
13
|
lists: BXRestLists;
|
|
7
|
-
|
|
14
|
+
tasks: BXRestTasks;
|
|
15
|
+
disk: BXRestDisk;
|
|
16
|
+
constructor(user: BXRestUser, lists: BXRestLists, tasks: BXRestTasks, disk: BXRestDisk);
|
|
8
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<BXRest, never>;
|
|
9
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<BXRest>;
|
|
10
19
|
}
|
|
20
|
+
export declare class BXRestNavvy {
|
|
21
|
+
user: BXRestNavvyUser;
|
|
22
|
+
lists: BXRestNavvyLists;
|
|
23
|
+
tasks: BXRestNavvyTasks;
|
|
24
|
+
disk: BXRestNavvyDisk;
|
|
25
|
+
constructor(user: BXRestNavvyUser, lists: BXRestNavvyLists, tasks: BXRestNavvyTasks, disk: BXRestNavvyDisk);
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvy, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvy>;
|
|
28
|
+
}
|
|
29
|
+
export declare class BXRestMap {
|
|
30
|
+
lists: BXRestListsMap;
|
|
31
|
+
constructor(lists: BXRestListsMap);
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMap, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMap>;
|
|
34
|
+
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { iHttpParamSettings } from '../../typification/rest/settings';
|
|
3
|
-
import
|
|
3
|
+
import { HttpServices } from './http';
|
|
4
4
|
import { iBatchRequestAnswer, iBatchRequestParam, iBatchRequestParamArr, iBatchRequestParamHttp } from '../../typification/rest/batch/batchRequestParam';
|
|
5
|
-
import {
|
|
6
|
-
import iHttpAnswerBX from '../../typification/rest/base/httpAnswerBX';
|
|
5
|
+
import { iBXRestAnswer } from '../../typification/rest/base/answer';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
|
-
|
|
9
|
-
export default class HttpBXServices extends BaseHttpServices {
|
|
7
|
+
export default class HttpBXServices extends HttpServices {
|
|
10
8
|
timeNowOnServer(): Observable<Date | undefined>;
|
|
11
9
|
/**
|
|
12
10
|
* Это пиздец а не метод
|
|
@@ -14,18 +12,11 @@ export default class HttpBXServices extends BaseHttpServices {
|
|
|
14
12
|
*/
|
|
15
13
|
branch<T, A>(param: iBatchRequestParamArr<T> | iBatchRequestParam<T>[]): Observable<iBatchRequestAnswer<A>[] | undefined>;
|
|
16
14
|
prepareBatch<T>(param: iBatchRequestParamArr<T> | iBatchRequestParam<T>[]): iBatchRequestParamHttp;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
mapBranchResultWithoutKey<T>(res: iBatchRequestAnswer<T>[]): T[];
|
|
22
|
-
post<T>(name: string[], params: any, textError: string, mapHttp?: undefined, settings?: iHttpParamSettings): Observable<iHttpAnswerBX<T> | undefined>;
|
|
23
|
-
post<T, R>(name: string[], params: any, textError: string, mapHttp: TransformFunction<T, R>, settings?: iHttpParamSettings): Observable<iHttpAnswerBX<R> | undefined>;
|
|
24
|
-
get<T, R = T>(name: string[], params?: any, textError?: string, mapHttp?: TransformFunction<T, R>, settings?: iHttpParamSettings): Observable<typeof mapResult | iHttpAnswerBX<T> | iHttpAnswerBX<R> | undefined>;
|
|
25
|
-
httpPost<T>(url: string, params?: any, textError?: string, settings?: iHttpParamSettings): Observable<T | undefined>;
|
|
26
|
-
httpGet<T>(url: string, params?: any, textError?: string, settings?: iHttpParamSettings): Observable<T | undefined>;
|
|
15
|
+
post<T>(name: string[], params?: any, settings?: iHttpParamSettings): Observable<iBXRestAnswer<T> | undefined>;
|
|
16
|
+
get<T>(name: string[], params?: any, settings?: iHttpParamSettings): Observable<iBXRestAnswer<T> | undefined>;
|
|
17
|
+
httpPost<T>(url: string, params?: any, settings?: iHttpParamSettings): Observable<T | undefined>;
|
|
18
|
+
httpGet<T>(url: string, params?: any, settings?: iHttpParamSettings): Observable<T | undefined>;
|
|
27
19
|
getNameMethod(arr: string[]): string;
|
|
28
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<HttpBXServices, never>;
|
|
29
21
|
static ɵprov: i0.ɵɵInjectableDeclaration<HttpBXServices>;
|
|
30
22
|
}
|
|
31
|
-
export {};
|