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/esm2022/request-navvy/department.mjs +8 -3
- package/esm2022/typification/rest/calendar/base/type.mjs +1 -1
- package/esm2022/typification/rest/calendar/event/get.mjs +1 -1
- package/fesm2022/bx-rest.mjs +6 -1
- package/fesm2022/bx-rest.mjs.map +1 -1
- package/package.json +1 -1
- package/request-navvy/department.d.ts +6 -1
- package/typification/rest/calendar/base/type.d.ts +2 -1
- package/typification/rest/calendar/event/get.d.ts +4 -4
package/package.json
CHANGED
|
@@ -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:
|
|
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 {
|
|
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:
|
|
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:
|
|
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:
|
|
127
|
+
type: iBXRestCalendarTypeEvent;
|
|
128
128
|
ownerId?: number;
|
|
129
129
|
from?: Date;
|
|
130
130
|
to?: Date;
|