bx-rest 0.4.10 → 0.4.11

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.
@@ -1,8 +1,8 @@
1
1
  import { BaseMapServices } from './base';
2
- import { iBXRestParamSonet, iBXRestParamSonetHttp } from '../typification/rest/sonet_group/get';
2
+ import { iBXRestSonetGroupGet, iBXRestSonetGroupGetHttp } from '../typification/rest/sonet_group/get';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class BXRestMapSonetGroup extends BaseMapServices {
5
- get(items: iBXRestParamSonetHttp[] | undefined): iBXRestParamSonet[] | undefined;
5
+ get(items: iBXRestSonetGroupGetHttp[] | undefined): iBXRestSonetGroupGet[] | undefined;
6
6
  private iBXRestParamSonetHttpToiBXRestParamSonet;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<BXRestMapSonetGroup, never>;
8
8
  static ɵprov: i0.ɵɵInjectableDeclaration<BXRestMapSonetGroup>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bx-rest",
3
- "version": "0.4.10",
3
+ "version": "0.4.11",
4
4
  "description": "bitrix rest api",
5
5
  "keywords": [
6
6
  "bitrix",
@@ -18,6 +18,9 @@
18
18
  "@angular/common": "^17.1.2",
19
19
  "@angular/core": "^17.1.2",
20
20
  "just-clone": "^6.2.0",
21
+ "just-camel-case": "^6.2.0",
22
+ "just-flatten-it": "^5.2.0",
23
+ "just-values": "^2.2.0",
21
24
  "luxon": "^3.4.4"
22
25
  },
23
26
  "dependencies": {
@@ -1,5 +1,5 @@
1
1
  import { HttpBXServices } from '../services/http/HttpBX';
2
- import { iBXRestParamSonetGroupGet, iBXRestParamSonetHttp } from '../typification/rest/sonet_group/get';
2
+ import { iBXRestParamSonetGroupGet, iBXRestSonetGroupGetHttp } from '../typification/rest/sonet_group/get';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class BXRestSonetGroup {
5
5
  private http;
@@ -11,7 +11,7 @@ export declare class BXRestSonetGroup {
11
11
  update: string[];
12
12
  };
13
13
  constructor(http: HttpBXServices);
14
- get(param?: iBXRestParamSonetGroupGet): import("rxjs").Observable<import("../typification/rest/base/answer").iBXRestAnswer<iBXRestParamSonetHttp[]> | undefined>;
14
+ get(param?: iBXRestParamSonetGroupGet): import("rxjs").Observable<import("../typification/rest/base/answer").iBXRestAnswer<iBXRestSonetGroupGetHttp[]> | undefined>;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BXRestSonetGroup, never>;
16
16
  static ɵprov: i0.ɵɵInjectableDeclaration<BXRestSonetGroup>;
17
17
  }
@@ -7,7 +7,7 @@ export declare class BXRestNavvySonetGroup {
7
7
  private mapSonetGroup;
8
8
  private Navvy;
9
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>;
10
+ get(param?: iBXRestParamSonetGroupGet): import("../services/Navvy/NavvySimple").NavvySimple<BXRestSonetGroup, BXRestMapSonetGroup, import("../typification/rest/sonet_group/get").iBXRestSonetGroupGetHttp[], import("../typification/rest/sonet_group/get").iBXRestSonetGroupGet[] | undefined>;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<BXRestNavvySonetGroup, never>;
12
12
  static ɵprov: i0.ɵɵInjectableDeclaration<BXRestNavvySonetGroup>;
13
13
  }
@@ -17,8 +17,8 @@ export type iBXRestParamSonetFilerWorkgroup = {
17
17
  export type iBXRestParamSonetOrderWorkgroup = {
18
18
  [key in iBXRestSonetGroupFieldsOrder]?: iBXRestParamSort;
19
19
  };
20
- export type iBXRestParamSonetHttp = Record<iBXRestSonetGroupFieldsSelect, string>;
21
- export type iBXRestParamSonet = Modify<iBXRestParamSonetHttp, {
20
+ export type iBXRestSonetGroupGetHttp = Record<iBXRestSonetGroupFieldsSelect, string>;
21
+ export type iBXRestSonetGroupGet = Modify<iBXRestSonetGroupGetHttp, {
22
22
  ID: number;
23
23
  DATE_CREATE: Date;
24
24
  DATE_UPDATE: Date;
@@ -105,11 +105,11 @@ export interface iBXRestParamTaskListFilter {
105
105
  SITE_ID?: number;
106
106
  ADD_IN_REPORT?: 'Y' | 'N';
107
107
  ALLOW_TIME_TRACKING?: 'Y' | 'N';
108
- DATE_START?: string;
109
- DEADLINE?: string;
110
- CREATED_DATE?: string;
111
- CLOSED_DATE?: string;
112
- CHANGED_DATE?: string;
108
+ DATE_START?: Date | string;
109
+ DEADLINE?: Date | string;
110
+ CREATED_DATE?: Date | string;
111
+ CLOSED_DATE?: Date | string;
112
+ CHANGED_DATE?: Date | string;
113
113
  ACCOMPLICE?: number | number[];
114
114
  AUDITOR?: number | number[];
115
115
  DEPENDS_ON?: number;
@@ -16,7 +16,7 @@ export interface iBXRestTask extends iBXRestBaseTask {
16
16
  statusChangedBy: number;
17
17
  statusChangedDate: Date;
18
18
  closedBy: number;
19
- closedDate: Date;
19
+ closedDate: Date | null;
20
20
  dateStart: Date;
21
21
  deadline: Date;
22
22
  startDatePlan: Date;
@@ -111,7 +111,7 @@ export interface iBXRestBaseTask {
111
111
  exchangeModified: string;
112
112
  exchangeId: string;
113
113
  outlookVersion: string;
114
- durationFact: string;
114
+ durationFact: string | null;
115
115
  durationType: string;
116
116
  ufCrmTask: number[];
117
117
  ufTaskWebdavFiles: number[];