bx-rest 0.4.16 → 0.4.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/index.mjs +13 -0
- package/esm2022/public-api.mjs +3 -3
- package/esm2022/request-navvy/user.mjs +3 -6
- package/esm2022/rest.mjs +1 -1
- package/esm2022/typification/rest/user/get.mjs +1 -1
- package/fesm2022/bx-rest.mjs +3 -6
- package/fesm2022/bx-rest.mjs.map +1 -1
- package/package.json +8 -7
- package/public-api.d.ts +4 -1
- package/request-navvy/user.d.ts +1 -1
- package/typification/rest/user/get.d.ts +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bx-rest",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.17",
|
|
4
4
|
"description": "bitrix rest api",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bitrix",
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
"api"
|
|
10
10
|
],
|
|
11
11
|
"author": "Aricatofuka",
|
|
12
|
-
"main": "./src/public-api.ts",
|
|
13
12
|
"license": "MIT",
|
|
14
13
|
"bugs": {
|
|
15
14
|
"url": "https://github.com/Aricatofuka/bx-rest/issues"
|
|
@@ -27,17 +26,19 @@
|
|
|
27
26
|
"dependencies": {
|
|
28
27
|
"tslib": "^2.3.0"
|
|
29
28
|
},
|
|
29
|
+
"main": "dist/index.js",
|
|
30
30
|
"module": "fesm2022/bx-rest.mjs",
|
|
31
31
|
"typings": "index.d.ts",
|
|
32
32
|
"exports": {
|
|
33
|
-
"./package.json": {
|
|
34
|
-
"default": "./package.json"
|
|
35
|
-
},
|
|
36
33
|
".": {
|
|
37
34
|
"types": "./index.d.ts",
|
|
38
35
|
"esm2022": "./esm2022/bx-rest.mjs",
|
|
39
|
-
"
|
|
40
|
-
"default": "./fesm2022/bx-rest.mjs"
|
|
36
|
+
"import": "./dist/esm2022/bx-rest.mjs",
|
|
37
|
+
"default": "./fesm2022/bx-rest.mjs",
|
|
38
|
+
"esm": "./esm2022/bx-rest.mjs"
|
|
39
|
+
},
|
|
40
|
+
"./package.json": {
|
|
41
|
+
"default": "./package.json"
|
|
41
42
|
}
|
|
42
43
|
},
|
|
43
44
|
"sideEffects": false
|
package/public-api.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Public API Surface of bx-rest
|
|
3
|
+
*/
|
|
1
4
|
export { BX_REST_SETTINGS } from './settings';
|
|
2
5
|
export { BXRestMapResult } from './functions/mapResult';
|
|
3
6
|
export { BXRest, BXRestNavvy, BXRestMap } from './rest';
|
|
4
7
|
export { Navvy } from './services/navvy';
|
|
5
8
|
export { Map as BXMap } from './map';
|
|
6
|
-
export * as partNameMethods from './consts/part-name-methods';
|
|
7
9
|
export { HttpBXServices as BXRestRequest } from './services/http/HttpBX';
|
|
8
10
|
export { BaseMapServices as BXRestMapBase } from './map/base';
|
|
9
11
|
export { instanceOfiBXRestAnswerSuccess as isBXRestAnswerSuccess } from './functions/mapResult';
|
|
12
|
+
export * as partNameMethods from './consts/part-name-methods';
|
package/request-navvy/user.d.ts
CHANGED
|
@@ -34,9 +34,11 @@ export interface iBXRestParamUserGetFilter {
|
|
|
34
34
|
*/
|
|
35
35
|
USER_TYPE?: 'employee' | 'extranet' | 'email';
|
|
36
36
|
/**
|
|
37
|
-
* При значении
|
|
37
|
+
* При значении true исключает из запроса уволенных пользователей.
|
|
38
|
+
* False показывает только уволенных
|
|
39
|
+
* Отсутствие указателя показывает и тех и других
|
|
38
40
|
*/
|
|
39
|
-
ACTIVE?:
|
|
41
|
+
ACTIVE?: boolean;
|
|
40
42
|
EMAIL?: string;
|
|
41
43
|
NAME?: string;
|
|
42
44
|
LAST_NAME?: string;
|