bx-rest 0.4.17 → 0.4.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bx-rest",
3
- "version": "0.4.17",
3
+ "version": "0.4.18",
4
4
  "description": "bitrix rest api",
5
5
  "keywords": [
6
6
  "bitrix",
@@ -26,14 +26,14 @@
26
26
  "dependencies": {
27
27
  "tslib": "^2.3.0"
28
28
  },
29
- "main": "dist/index.js",
30
29
  "module": "fesm2022/bx-rest.mjs",
30
+ "types": "index.d.ts",
31
31
  "typings": "index.d.ts",
32
32
  "exports": {
33
33
  ".": {
34
34
  "types": "./index.d.ts",
35
35
  "esm2022": "./esm2022/bx-rest.mjs",
36
- "import": "./dist/esm2022/bx-rest.mjs",
36
+ "import": "./esm2022/bx-rest.mjs",
37
37
  "default": "./fesm2022/bx-rest.mjs",
38
38
  "esm": "./esm2022/bx-rest.mjs"
39
39
  },
package/public-api.d.ts CHANGED
@@ -3,7 +3,9 @@
3
3
  */
4
4
  export { BX_REST_SETTINGS } from './settings';
5
5
  export { BXRestMapResult } from './functions/mapResult';
6
- export { BXRest, BXRestNavvy, BXRestMap } from './rest';
6
+ export { BXRest } from './rest/base';
7
+ export { BXRestNavvy } from './rest/navvy';
8
+ export { BXRestMap } from './rest/map';
7
9
  export { Navvy } from './services/navvy';
8
10
  export { Map as BXMap } from './map';
9
11
  export { HttpBXServices as BXRestRequest } from './services/http/HttpBX';
package/rest/base.d.ts ADDED
@@ -0,0 +1,40 @@
1
+ import { BXRestUser } from '../request/user';
2
+ import { BXRestLists } from '../request/lists';
3
+ import { BXRestTask } from '../request/task';
4
+ import { BXRestTasks } from '../request/tasks';
5
+ import { BXRestDisk } from '../request/disk';
6
+ import { BXRestBizProc } from '../request/bizproc';
7
+ import { BXRestLog } from '../request/log';
8
+ import { BXRestCalendar } from '../request/calendar';
9
+ import { BXRestSonetGroup } from '../request/sonet_group';
10
+ import { BXRestServer } from '../request/server';
11
+ import { BXRestDepartment } from '../request/department';
12
+ import { BXRestIm } from '../request/im';
13
+ import { BXRestApp } from '../request/app';
14
+ import { BXRestTimeMan } from '../request/timeman';
15
+ import { HttpBXServices } from '../services/http/HttpBX';
16
+ import { iBXRestProfileHttp } from '../typification/rest/profile';
17
+ import { iBXRestBatch, iBXRestParamBatch } from '../typification/rest/batch';
18
+ import * as i0 from "@angular/core";
19
+ export declare class BXRest {
20
+ user: BXRestUser;
21
+ lists: BXRestLists;
22
+ task: BXRestTask;
23
+ tasks: BXRestTasks;
24
+ disk: BXRestDisk;
25
+ bizProc: BXRestBizProc;
26
+ log: BXRestLog;
27
+ calendar: BXRestCalendar;
28
+ sonet_group: BXRestSonetGroup;
29
+ server: BXRestServer;
30
+ department: BXRestDepartment;
31
+ im: BXRestIm;
32
+ app: BXRestApp;
33
+ timeMan: BXRestTimeMan;
34
+ private http;
35
+ constructor(user: BXRestUser, lists: BXRestLists, task: BXRestTask, tasks: BXRestTasks, disk: BXRestDisk, bizProc: BXRestBizProc, log: BXRestLog, calendar: BXRestCalendar, sonet_group: BXRestSonetGroup, server: BXRestServer, department: BXRestDepartment, im: BXRestIm, app: BXRestApp, timeMan: BXRestTimeMan, http: HttpBXServices);
36
+ profile(): import("rxjs").Observable<import("../typification/rest/base/answer").iBXRestAnswer<iBXRestProfileHttp> | undefined>;
37
+ batch<T>(param: iBXRestParamBatch<T>): import("rxjs").Observable<import("../typification/rest/base/answer").iBXRestAnswer<iBXRestBatch<T>> | undefined>;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<BXRest, never>;
39
+ static ɵprov: i0.ɵɵInjectableDeclaration<BXRest>;
40
+ }
package/rest/map.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import { BXRestMapLists } from '../map/lists';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BXRestMap {
4
+ lists: BXRestMapLists;
5
+ constructor(lists: BXRestMapLists);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMap, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMap>;
8
+ }
@@ -0,0 +1,45 @@
1
+ import { BXRestMaps } from '../map/rest';
2
+ import { BXRestNavvyUser } from '../request-navvy/user';
3
+ import { BXRestNavvyLists } from '../request-navvy/lists';
4
+ import { BXRestNavvyTask } from '../request-navvy/task';
5
+ import { BXRestNavvyTasks } from '../request-navvy/tasks';
6
+ import { BXRestNavvyDisk } from '../request-navvy/disk';
7
+ import { BXRestNavvyBizProc } from '../request-navvy/bizproc';
8
+ import { BXRestNavvyLog } from '../request-navvy/log';
9
+ import { BXRestNavvyCalendar } from '../request-navvy/calendar';
10
+ import { BXRestNavvySonetGroup } from '../request-navvy/sonet_group';
11
+ import { BXRestNavvyServer } from '../request-navvy/server';
12
+ import { BXRestNavvyDepartment } from '../request-navvy/department';
13
+ import { BXRestNavvyIm } from '../request-navvy/im';
14
+ import { BXRestNavvyApp } from '../request-navvy/app';
15
+ import { BXRestNavvyTimeMan } from '../request-navvy/timeman';
16
+ import { iBXRestNavvyParamBatch } from '../typification/rest/batch';
17
+ import { Navvy } from '../services/navvy';
18
+ import { BXRest } from './base';
19
+ import * as i0 from "@angular/core";
20
+ export declare class BXRestNavvy {
21
+ user: BXRestNavvyUser;
22
+ lists: BXRestNavvyLists;
23
+ task: BXRestNavvyTask;
24
+ tasks: BXRestNavvyTasks;
25
+ disk: BXRestNavvyDisk;
26
+ bizProc: BXRestNavvyBizProc;
27
+ log: BXRestNavvyLog;
28
+ calendar: BXRestNavvyCalendar;
29
+ sonet_group: BXRestNavvySonetGroup;
30
+ server: BXRestNavvyServer;
31
+ department: BXRestNavvyDepartment;
32
+ im: BXRestNavvyIm;
33
+ app: BXRestNavvyApp;
34
+ timeMan: BXRestNavvyTimeMan;
35
+ private BXRest;
36
+ private BXRestMap;
37
+ protected Navvy: Navvy<BXRest, BXRestMaps>;
38
+ constructor(user: BXRestNavvyUser, lists: BXRestNavvyLists, task: BXRestNavvyTask, tasks: BXRestNavvyTasks, disk: BXRestNavvyDisk, bizProc: BXRestNavvyBizProc, log: BXRestNavvyLog, calendar: BXRestNavvyCalendar, sonet_group: BXRestNavvySonetGroup, server: BXRestNavvyServer, department: BXRestNavvyDepartment, im: BXRestNavvyIm, app: BXRestNavvyApp, timeMan: BXRestNavvyTimeMan, BXRest: BXRest, BXRestMap: BXRestMaps);
39
+ profile(): import("../services/Navvy/NavvySimple").NavvySimple<BXRest, BXRestMaps, import("../typification/rest/profile").iBXRestProfileHttp, import("../typification/rest/profile").iBXRestProfile | undefined>;
40
+ batch<T, C, M>(param: iBXRestNavvyParamBatch<T, C, M>): import("rxjs").Observable<import("../typification/rest/base/answer").iBXRestAnswer<import("../typification/rest/batch").iBXRestBatch<{
41
+ [x: string]: any;
42
+ }>> | undefined>;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvy, never>;
44
+ static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvy>;
45
+ }