@agendize/js-agendize-api 1.45.0 → 1.46.0
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/dist/agendizeApi.d.ts +6 -6
- package/dist/data/Account.d.ts +2 -0
- package/dist/data/shortPollingNotification/ShortPollingNotificationEvent.d.ts +2 -0
- package/dist/db/eventDb.d.ts +1 -1
- package/dist/js-agendize-api.es.js +2835 -2762
- package/dist/repository/secured/eventSecuredRepository.d.ts +2 -1
- package/dist/repository/secured/userAbstractSecuredRepository.d.ts +3 -2
- package/dist/repository/secured/userDefaultSecuredRepository.d.ts +1 -1
- package/dist/repository/secured/userSecuredRepository.d.ts +2 -2
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ interface Args {
|
|
|
21
21
|
end?: Date;
|
|
22
22
|
fields?: EventFields[];
|
|
23
23
|
syncToken?: string;
|
|
24
|
+
mergeStaffs?: boolean;
|
|
24
25
|
}
|
|
25
26
|
export declare class EventSecuredRepository extends Repository<EventSecuredEntity, Args> {
|
|
26
27
|
REPOSITORY_NAME: string;
|
|
@@ -35,7 +36,7 @@ export declare class EventSecuredRepository extends Repository<EventSecuredEntit
|
|
|
35
36
|
updateEvent(bearer: string, account: string, companyId: string, event: EventSecuredEntity, timeZone?: string, force?: boolean): Promise<EventSecuredEntity>;
|
|
36
37
|
getEvent(bearer: string, organisationEmail: string, eventId: string, showPersonal?: boolean, mode?: QUERY_TYPE): Promise<QUERY_RESULT<EventSecuredEntity>>;
|
|
37
38
|
getCompanyEvent(bearer: string, organisationEmail: string, companyId: string, eventId: string, showPersonal?: boolean): Promise<EventSecuredEntity>;
|
|
38
|
-
getAllEvents(bearer: string, organisationEmail: string, userIds: string[], start: Date, end: Date, showPersonal?: boolean, showDeleted?: boolean, timeZone?: string, fields?: EventFields[], syncToken?: string, mode?: QUERY_TYPE): Promise<QUERY_RESULTS<EventSecuredEntity>>;
|
|
39
|
+
getAllEvents(bearer: string, organisationEmail: string, userIds: string[], start: Date, end: Date, showPersonal?: boolean, showDeleted?: boolean, timeZone?: string, fields?: EventFields[], syncToken?: string, mergeStaffs?: boolean, mode?: QUERY_TYPE): Promise<QUERY_RESULTS<EventSecuredEntity>>;
|
|
39
40
|
getEventWithCoverage(bearer: string, organisationEmail: string, userIds: string[], start: Date, end: Date, showPersonal?: boolean, showDeleted?: boolean, timeZone?: string, fields?: EventFields[], mode?: QUERY_TYPE): Promise<QUERY_RESULTS<EventSecuredEntity>>;
|
|
40
41
|
searchEvents(bearer: string, organisationEmail: string, searchBody: EventSearchBodyEntity, options?: EventSearchOption): Promise<EventSearchPageEntity>;
|
|
41
42
|
countAppointmentConflict(bearer: string, organisationEmail: string, searchBody: EventSearchBodyEntity): Promise<number>;
|
|
@@ -27,6 +27,7 @@ interface Args {
|
|
|
27
27
|
userId?: string;
|
|
28
28
|
organisation?: string;
|
|
29
29
|
defaultUsers?: boolean;
|
|
30
|
+
mergeStaffs?: boolean;
|
|
30
31
|
}
|
|
31
32
|
export declare abstract class UserAbstractSecuredRepository extends Repository<UserEntity, Args> {
|
|
32
33
|
protected userDb: UserDb;
|
|
@@ -35,8 +36,8 @@ export declare abstract class UserAbstractSecuredRepository extends Repository<U
|
|
|
35
36
|
protected constructor(authenticationSecuredService: AuthenticationSecuredService, indexedDb: IndexedDb, baseURL: string, logger?: Logger, repositoryName?: string);
|
|
36
37
|
protected abstract initUserDb(indexedDb: IndexedDb): UserDb;
|
|
37
38
|
protected abstract initTeamDb(indexedDb: IndexedDb): CalendarTeamDb;
|
|
38
|
-
abstract getAllUsers(bearer: string, organisation?: string, mode?: QUERY_TYPE): Promise<QUERY_RESULTS<UserEntity>>;
|
|
39
|
-
getAllTeams(bearer: string, organisation?: string): Promise<QUERY_RESULTS<CalendarTeamEntity>>;
|
|
39
|
+
abstract getAllUsers(bearer: string, organisation?: string, mergeStaffs?: boolean, mode?: QUERY_TYPE): Promise<QUERY_RESULTS<UserEntity>>;
|
|
40
|
+
getAllTeams(bearer: string, organisation?: string, mergeStaffs?: boolean): Promise<QUERY_RESULTS<CalendarTeamEntity>>;
|
|
40
41
|
getUser(bearer: string, userId: string, organisation?: string, mode?: QUERY_TYPE): Promise<QUERY_RESULT<UserEntity>>;
|
|
41
42
|
protected remoteList(bearer: string, args: Args): Promise<UserEntity[]>;
|
|
42
43
|
protected remoteGet(bearer: string, args: Args): Promise<UserEntity>;
|
|
@@ -24,5 +24,5 @@ export declare class UserDefaultSecuredRepository extends UserAbstractSecuredRep
|
|
|
24
24
|
constructor(authenticationSecuredService: AuthenticationSecuredService, indexedDb: IndexedDb, baseURL: string, logger?: Logger);
|
|
25
25
|
protected initTeamDb(indexedDb: IndexedDb): CalendarTeamDb;
|
|
26
26
|
protected initUserDb(indexedDb: IndexedDb): UserDb;
|
|
27
|
-
getAllUsers(bearer: string, organisation?: string, mode?: QUERY_TYPE): Promise<import("@/repository").QUERY_RESULTS<import("../..").UserEntity>>;
|
|
27
|
+
getAllUsers(bearer: string, organisation?: string, mergeStaffs?: boolean, mode?: QUERY_TYPE): Promise<import("@/repository").QUERY_RESULTS<import("../..").UserEntity>>;
|
|
28
28
|
}
|
|
@@ -24,8 +24,8 @@ export declare class UserSecuredRepository extends UserAbstractSecuredRepository
|
|
|
24
24
|
constructor(authenticationSecuredService: AuthenticationSecuredService, indexedDb: IndexedDb, baseURL: string, logger?: Logger);
|
|
25
25
|
protected initTeamDb(indexedDb: IndexedDb): CalendarTeamDb;
|
|
26
26
|
protected initUserDb(indexedDb: IndexedDb): UserDb;
|
|
27
|
-
getAllUsers(bearer: string, organisation?: string, mode?: QUERY_TYPE): Promise<import("@/repository").QUERY_RESULTS<import("../..").UserEntity>>;
|
|
28
|
-
getAllUsersWithTeam(bearer: string, organisation?: string, mode?: QUERY_TYPE): Promise<{
|
|
27
|
+
getAllUsers(bearer: string, organisation?: string, mergeStaffs?: boolean, mode?: QUERY_TYPE): Promise<import("@/repository").QUERY_RESULTS<import("../..").UserEntity>>;
|
|
28
|
+
getAllUsersWithTeam(bearer: string, organisation?: string, mergeStaffs?: boolean, mode?: QUERY_TYPE): Promise<{
|
|
29
29
|
users: import("../..").UserEntity[];
|
|
30
30
|
teams: import("../..").CalendarTeamEntity[];
|
|
31
31
|
local: boolean;
|