@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.
@@ -235,21 +235,21 @@ export declare class AgendizeApi {
235
235
  result: UserEntity | undefined;
236
236
  local: boolean;
237
237
  }>;
238
- getDefaultAgendaUsers(organisation: string): Promise<{
238
+ getDefaultAgendaUsers(organisation: string, mergeStaffs?: boolean): Promise<{
239
239
  results: UserEntity[] | undefined;
240
240
  local: boolean;
241
241
  }>;
242
- getAllUsers(organisation: string, mode?: QUERY_TYPE): Promise<{
242
+ getAllUsers(organisation: string, mergeStaffs?: boolean, mode?: QUERY_TYPE): Promise<{
243
243
  results: UserEntity[] | undefined;
244
244
  local: boolean;
245
245
  }>;
246
- getAllUsersWithTeam(organisation: string): Promise<{
246
+ getAllUsersWithTeam(organisation: string, mergeStaffs?: boolean): Promise<{
247
247
  users: UserEntity[] | undefined;
248
248
  teams: CalendarTeamEntity[] | undefined;
249
249
  local: boolean;
250
250
  }>;
251
- getDefaultTeams(organisation: string): Promise<QUERY_RESULTS<CalendarTeamEntity>>;
252
- getAllTeams(organisation: string): Promise<QUERY_RESULTS<CalendarTeamEntity>>;
251
+ getDefaultTeams(organisation: string, mergeStaffs?: boolean): Promise<QUERY_RESULTS<CalendarTeamEntity>>;
252
+ getAllTeams(organisation: string, mergeStaffs?: boolean): Promise<QUERY_RESULTS<CalendarTeamEntity>>;
253
253
  getAllStaffs(companyId: string, account: string, mode?: QUERY_TYPE): Promise<{
254
254
  results: StaffEntity[] | undefined;
255
255
  local: boolean;
@@ -309,7 +309,7 @@ export declare class AgendizeApi {
309
309
  }>;
310
310
  getWidgetEventById(accountId: string, eventId: string, securityKey: string, locale?: string): Promise<EventEntity | undefined>;
311
311
  getCompanyEventById(organisationEmail: string, companyId: string, eventId: string, showPersonal?: boolean): Promise<EventEntity | undefined>;
312
- getAllEvents(organisationEmail: string, start: Date, end: Date, userIds: string[], showPersonal?: boolean, showDeleted?: boolean, timeZone?: string, fields?: EventFields[], syncToken?: string, mode?: QUERY_TYPE): Promise<{
312
+ getAllEvents(organisationEmail: string, start: Date, end: Date, userIds: string[], showPersonal?: boolean, showDeleted?: boolean, timeZone?: string, fields?: EventFields[], syncToken?: string, mergeStaffs?: boolean, mode?: QUERY_TYPE): Promise<{
313
313
  results: EventEntity[] | undefined;
314
314
  nextSyncToken?: string;
315
315
  local: boolean;
@@ -100,6 +100,7 @@ export declare class AccountSecuredEntity extends SecuredBodyEntity {
100
100
  accountSettings?: AccountSettingsEntity;
101
101
  deploymentEnabled: boolean;
102
102
  isReseller?: boolean;
103
+ mergeStaffs?: boolean;
103
104
  constructor();
104
105
  static fromAccountDto(dto: AccountDto): AccountSecuredEntity;
105
106
  static fromAccountDto2(dto: AccountDto): AccountSecuredEntity;
@@ -161,6 +162,7 @@ export declare class AccountDto {
161
162
  userWidgetDomain?: string;
162
163
  languageVariant?: string;
163
164
  appointmentPanelVersion?: string;
165
+ mergeStaffCalendar?: boolean;
164
166
  picture?: ImageEntity;
165
167
  profileSettings?: {
166
168
  country?: string;
@@ -23,6 +23,7 @@ export declare class ShortPollingNotificationEvent extends ShortPollingNotificat
23
23
  lastName: string;
24
24
  };
25
25
  status: string;
26
+ sourceType: string;
26
27
  constructor(dto: ShortPollingNotificationEventDb);
27
28
  }
28
29
  export declare class ShortPollingNotificationEventDb extends ShortPollingNotificationObjectDb {
@@ -55,4 +56,5 @@ export declare class ShortPollingNotificationEventDb extends ShortPollingNotific
55
56
  lastName?: string;
56
57
  };
57
58
  status: string;
59
+ sourceType: string;
58
60
  }
@@ -22,7 +22,7 @@ export declare class EventDb {
22
22
  saveEvent(event: EventSecuredEntity): Promise<void>;
23
23
  deleteEvent(eventId: string): Promise<void>;
24
24
  deleteByEventIds(eventIds: string[]): Promise<void>;
25
- getAllEvents(account?: string, userIds?: string[], start?: Date, end?: Date): Promise<EventSecuredEntity[]>;
25
+ getAllEvents(account?: string, userIds?: string[], start?: Date, end?: Date, mergeStaffs?: boolean): Promise<EventSecuredEntity[]>;
26
26
  getFirstEventByChildEventId(eventChildId: string): Promise<EventSecuredEntity | undefined>;
27
27
  getById(objectId: string): Promise<EventSecuredEntity>;
28
28
  drop(): Promise<void>;