bx-rest 0.6.2 → 0.6.3

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.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "bitrix rest api on angular, vue or typescript",
5
5
  "keywords": [
6
6
  "bitrix",
@@ -3,7 +3,12 @@ import { Navvy } from '../services/navvy';
3
3
  import { iBXRestParamDepartmentAdd } from '../typification/rest/department/add';
4
4
  import { iBXRestDepartmentUpdate } from '../typification/rest/department/update';
5
5
  export declare class BXRestNavvyDepartment {
6
- url: import("../typification/base/workpiece/methods-list").iBXRestWorkpieceMethodsDepartment<string[], string[], string[], string[]>;
6
+ url: {
7
+ get: string[];
8
+ del: string[];
9
+ add: string[];
10
+ update: string[];
11
+ };
7
12
  protected Navvy: Navvy;
8
13
  get(param?: iBXRestParamDepartmentGet): import("../services/navvy/navvy-pag").NavvyPag<import("../typification/rest/department/department").iBXRestDepartmentHttp, import("../typification/rest/department/department").iBXRestDepartment, iBXRestParamDepartmentGet>;
9
14
  add(param: iBXRestParamDepartmentAdd): import("../services/navvy/navvy-simple").NavvySimple<unknown, unknown, iBXRestParamDepartmentAdd | undefined>;
@@ -1 +1,2 @@
1
- export type iBXRestCalendarType = 'user' | 'group';
1
+ export type iBXRestCalendarType = 'user' | 'group' | 'company_calendar' | 'location';
2
+ export type iBXRestCalendarTypeEvent = 'user' | 'group' | 'company_calendar';
@@ -1,5 +1,5 @@
1
1
  import { CountryCode, TimezoneName } from 'countries-and-timezones';
2
- import { iBXRestCalendarType } from '../base/type';
2
+ import { iBXRestCalendarTypeEvent } from '../base/type';
3
3
  import { iBXRestYesNo } from '../../base/yes-no';
4
4
  export interface iBXRestCalendarEventGetAnswer extends iBXRestCalendarEventGetAnswerBase {
5
5
  ATTENDEE_LIST: {
@@ -67,7 +67,7 @@ export interface iBXRestCalendarEventGetAnswerBase {
67
67
  ACCESSIBILITY: 'busy';
68
68
  ATTENDEES_CODES: string[];
69
69
  CAL_DAV_LABEL: null;
70
- CAL_TYPE: iBXRestCalendarType;
70
+ CAL_TYPE: iBXRestCalendarTypeEvent;
71
71
  COLOR: string;
72
72
  DAV_EXCH_LABEL: null;
73
73
  DAV_XML_ID: string;
@@ -102,7 +102,7 @@ export interface iBXRestCalendarEventGetAnswerBase {
102
102
  UF_CRM_CAL_EVENT: boolean;
103
103
  UF_WEBDAV_CAL_EVENT: boolean;
104
104
  attendeesEntityList?: {
105
- entityId: iBXRestCalendarType;
105
+ entityId: iBXRestCalendarTypeEvent;
106
106
  id: number;
107
107
  }[] | null;
108
108
  '~USER_OFFSET_FROM': number;
@@ -124,7 +124,7 @@ interface iBXRestCalendarEventGetAnswerRuleBase {
124
124
  INTERVAL: number;
125
125
  }
126
126
  export interface iBXRestCalendarEventGetParam {
127
- type: iBXRestCalendarType;
127
+ type: iBXRestCalendarTypeEvent;
128
128
  ownerId?: number;
129
129
  from?: Date;
130
130
  to?: Date;