@agendize/js-agendize-api 1.33.0 → 1.34.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 +16 -6
- package/dist/browserStorage/browserStorage.d.ts +1 -1
- package/dist/data/Account.d.ts +2 -0
- package/dist/data/Activity.d.ts +65 -3
- package/dist/data/Common.d.ts +13 -0
- package/dist/data/Company.d.ts +1 -0
- package/dist/data/CustomStatus.d.ts +4 -0
- package/dist/data/EventSearch.d.ts +6 -4
- package/dist/data/Form.d.ts +4 -0
- package/dist/data/FreeSlot.d.ts +1 -0
- package/dist/data/ReportingExportBody.d.ts +2 -0
- package/dist/data/Rights.d.ts +18 -1
- package/dist/data/Service.d.ts +4 -0
- package/dist/data/Settings.d.ts +15 -0
- package/dist/data/account/Permission.d.ts +2 -2
- package/dist/data/conference/Conference.d.ts +9 -4
- package/dist/data/conference/ConferenceAssignment.d.ts +194 -0
- package/dist/data/conference/ConferenceLocation.d.ts +353 -30
- package/dist/data/conference/Session.d.ts +25 -0
- package/dist/data/scheduling/WorkingPlanning.d.ts +1 -1
- package/dist/db/icsEventDb.d.ts +2 -1
- package/dist/db/shortPollingNotificationDb.d.ts +15 -0
- package/dist/index.d.ts +9 -8
- package/dist/js-agendize-api.es.js +11404 -7764
- package/dist/repository/public/conferencePublicRepository.d.ts +3 -2
- package/dist/repository/public/eventPublicRepository.d.ts +2 -0
- package/dist/repository/secured/companySecuredRepository.d.ts +2 -0
- package/dist/repository/secured/conferenceInviteeSecuredRepository.d.ts +1 -1
- package/dist/repository/secured/conferenceSessionSecuredRepository.d.ts +1 -1
- package/dist/repository/secured/conferenceSpeakerSecuredRepository.d.ts +1 -1
- package/dist/repository/secured/conferenceTagSecuredRepository.d.ts +1 -1
- package/dist/repository/secured/contactExternalSecuredRepository.d.ts +1 -1
- package/dist/repository/secured/eventSecuredRepository.d.ts +2 -1
- package/dist/repository/secured/freeSlotSecuredRepository.d.ts +3 -0
- package/dist/repository/secured/workingPlanningSecuredRepository.d.ts +2 -1
- package/dist/service/public/conferencePublicService.d.ts +2 -2
- package/dist/service/public/eventPublicService.d.ts +1 -0
- package/dist/service/public/queueInscriptionPublicService.d.ts +1 -1
- package/dist/service/secured/companySecuredService.d.ts +1 -0
- package/dist/service/secured/eventSecuredService.d.ts +2 -0
- package/dist/service/secured/freeSlotSecuredService.d.ts +2 -1
- package/dist/utils/encoding.d.ts +2 -0
- package/dist/utils/widgetForms.d.ts +1 -0
- package/package.json +21 -15
package/dist/agendizeApi.d.ts
CHANGED
|
@@ -213,6 +213,7 @@ export declare class AgendizeApi {
|
|
|
213
213
|
results: CompanyEntity[] | undefined;
|
|
214
214
|
local: boolean;
|
|
215
215
|
}>;
|
|
216
|
+
getAllScopedCompanies(scope: 'conferences' | 'scheduling', account?: string): Promise<CompanyEntity[]>;
|
|
216
217
|
getAllCompaniesConsiderTemplate(accountId: string, serviceId?: string, location?: string, cipherParams?: string): Promise<CompanyEntity[]>;
|
|
217
218
|
getCompanyById(companyId: string, account?: string, companySelector?: boolean, mode?: QUERY_TYPE): Promise<{
|
|
218
219
|
result: CompanyEntity | undefined;
|
|
@@ -325,6 +326,7 @@ export declare class AgendizeApi {
|
|
|
325
326
|
updateEventStatus(account: string, companyId: string, eventId: string, status: string | {
|
|
326
327
|
status?: string;
|
|
327
328
|
customStatus?: string;
|
|
329
|
+
fromStaff?: boolean;
|
|
328
330
|
}, option?: {
|
|
329
331
|
locale?: string;
|
|
330
332
|
securityKey: string;
|
|
@@ -332,7 +334,7 @@ export declare class AgendizeApi {
|
|
|
332
334
|
}): Promise<EventEntity>;
|
|
333
335
|
updateEventsToStatus(organisation: string, events: EventSearchEntity[], status: string | CustomStatusEntity): Promise<EventEntity[]>;
|
|
334
336
|
updateEventCustomStatus(companyId: string, eventId: string, customStatus: CustomStatusEntity): Promise<EventEntity>;
|
|
335
|
-
updateEventNotes(account: string, eventId: string, notes: string, option?: {
|
|
337
|
+
updateEventNotes(account: string, companyId: string, eventId: string, notes: string, option?: {
|
|
336
338
|
locale?: string;
|
|
337
339
|
securityKey: string;
|
|
338
340
|
widgetType?: string;
|
|
@@ -368,6 +370,10 @@ export declare class AgendizeApi {
|
|
|
368
370
|
result: FreeSlotEntity | undefined;
|
|
369
371
|
local: boolean;
|
|
370
372
|
}>;
|
|
373
|
+
getNextSlot(account: string, companyId: string, serviceId: string, filterOptions: FreeSlotsFilterOptions): Promise<{
|
|
374
|
+
result: FreeSlotEntity | undefined;
|
|
375
|
+
local: boolean;
|
|
376
|
+
}>;
|
|
371
377
|
getFreeStaffs(companyId: string, eventId: string, serviceId: string, staffIds?: string[], timeZone?: string): Promise<string[]>;
|
|
372
378
|
getPrivacyPolicy(ownerId: string, ownerLogin: string, mode?: QUERY_TYPE): Promise<{
|
|
373
379
|
result: PrivacyPolicyEntity | undefined;
|
|
@@ -474,15 +480,15 @@ export declare class AgendizeApi {
|
|
|
474
480
|
local: boolean;
|
|
475
481
|
}>;
|
|
476
482
|
getAllCompanyWorkingPlannings(organisationEmail: string, companyId: string, start: Date, end: Date, withOccupancy: boolean): Promise<WorkingPlanningEntity[]>;
|
|
477
|
-
createWorkingPlanning(organisationEmail: string, workingPlanning: WorkingPlanningEntity): Promise<WorkingPlanningEntity>;
|
|
483
|
+
createWorkingPlanning(organisationEmail: string, workingPlanning: WorkingPlanningEntity, staffIds?: string[]): Promise<WorkingPlanningEntity>;
|
|
478
484
|
shorten(url: string): Promise<ShortenerEntity>;
|
|
479
485
|
getAllConferences(organisationEmail: string, timeZone?: string): Promise<QUERY_RESULTS<ConferenceEntity>>;
|
|
480
486
|
getConferenceById(organisationEmail: string, conferenceId: string, timeZone?: string, mode?: QUERY_TYPE): Promise<QUERY_RESULT<ConferenceEntity>>;
|
|
481
487
|
deleteConferenceById(organisationEmail: string, conferenceId: string): Promise<void>;
|
|
482
488
|
createConference(organisationEmail: string, conference: ConferenceEntity, timeZone?: string): Promise<ConferenceEntity>;
|
|
483
489
|
updateConference(organisationEmail: string, conferenceId: string, conference: ConferenceEntity, timeZone?: string): Promise<ConferenceEntity>;
|
|
484
|
-
getConferenceList(accountId: string, tagIds?: string[], accountTagIds?: string[], cipherParams?: string): Promise<QUERY_RESULT<ConferenceListEntity>>;
|
|
485
|
-
searchInAllConferences(accountId: string, start?: Date, end?: Date, tagIds?: string[], locations?: string[], accountIds?: string[], accountTagIds?: string[], cipherParams?: string): Promise<ConferenceLightEntity[]>;
|
|
490
|
+
getConferenceList(accountId: string, tagIds?: string[], accountTagIds?: string[], companyIds?: string[], cipherParams?: string): Promise<QUERY_RESULT<ConferenceListEntity>>;
|
|
491
|
+
searchInAllConferences(accountId: string, start?: Date, end?: Date, tagIds?: string[], locations?: string[], accountIds?: string[], accountTagIds?: string[], companyIds?: string[], cipherParams?: string): Promise<ConferenceLightEntity[]>;
|
|
486
492
|
getAllConferenceSpeakers(organisationEmail: string, conferenceId: string): Promise<QUERY_RESULTS<ConferenceSpeakerEntity>>;
|
|
487
493
|
getConferenceSpeakerById(organisationEmail: string, conferenceId: string, speakerId: string): Promise<QUERY_RESULT<ConferenceSpeakerEntity>>;
|
|
488
494
|
deleteConferenceSpeakerById(organisationEmail: string, conferenceId: string, speakerId: string): Promise<void>;
|
|
@@ -512,8 +518,12 @@ export declare class AgendizeApi {
|
|
|
512
518
|
getWidgetConference(accountId: string, conferenceId: string, additionalQueryParams: Map<string, string>): Promise<QUERY_RESULT<WidgetEntity>>;
|
|
513
519
|
getWidgetConferenceSession(accountId: string, conferenceId: string, sessionId: string, additionalQueryParams: Map<string, string>): Promise<QUERY_RESULT<WidgetEntity>>;
|
|
514
520
|
getWidgetConferenceRegistration(accountId: string, conferenceId: string, registrationId: string, additionalQueryParams: Map<string, string>): Promise<QUERY_RESULT<WidgetEntity>>;
|
|
515
|
-
getAllCustomStatus(
|
|
516
|
-
|
|
521
|
+
getAllCustomStatus(organisation: {
|
|
522
|
+
id?: string;
|
|
523
|
+
email: string;
|
|
524
|
+
}, appointmentId?: string, options?: {
|
|
525
|
+
securityKey?: string;
|
|
526
|
+
}, mode?: QUERY_TYPE): Promise<QUERY_RESULTS<CustomStatusEntity>>;
|
|
517
527
|
getCustomStatus(organisationEmail: string, customStatusId: string, mode?: QUERY_TYPE): Promise<QUERY_RESULT<CustomStatusEntity>>;
|
|
518
528
|
createCustomStatus(organisationEmail: string, customStatus: CustomStatusEntity): Promise<CustomStatusEntity>;
|
|
519
529
|
updateCustomStatus(organisationEmail: string, customStatusId: string, customStatus: CustomStatusEntity): Promise<CustomStatusEntity>;
|
|
@@ -29,7 +29,7 @@ export declare class BrowserStorage {
|
|
|
29
29
|
getItem(key: StorageKeys): string | null;
|
|
30
30
|
setItem(key: StorageKeys, item: string): void;
|
|
31
31
|
clear(): void;
|
|
32
|
-
clearAllBut(but
|
|
32
|
+
clearAllBut(but?: (StorageKeys | 'local' | 'session')[]): void;
|
|
33
33
|
removeItem(key: StorageKeys): void;
|
|
34
34
|
getItems(key: StorageKeys): BrowserStorageItemValue[] | null;
|
|
35
35
|
setItems(key: StorageKeys, items: BrowserStorageItemValue[]): void;
|
package/dist/data/Account.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ export declare class ProfileSettingsEntity {
|
|
|
106
106
|
timeZone?: string;
|
|
107
107
|
country?: string;
|
|
108
108
|
defaultAccount?: string;
|
|
109
|
+
homePage?: string;
|
|
109
110
|
accountName?: string;
|
|
110
111
|
betaNh?: boolean;
|
|
111
112
|
hasSyncModule?: boolean;
|
|
@@ -157,6 +158,7 @@ export declare class AccountDto {
|
|
|
157
158
|
language?: string;
|
|
158
159
|
timeZone?: string;
|
|
159
160
|
defaultAccount?: string;
|
|
161
|
+
homePage?: string;
|
|
160
162
|
accountName?: string;
|
|
161
163
|
betaNh?: boolean;
|
|
162
164
|
hasSyncModule?: boolean;
|
package/dist/data/Activity.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ConferenceLocationEntity, ConferenceLocationSecuredDto } from "@/data/conference/ConferenceLocation";
|
|
1
2
|
export declare abstract class ActivityEntity {
|
|
2
3
|
id: string;
|
|
3
4
|
date: Date;
|
|
@@ -9,7 +10,7 @@ export declare abstract class ActivityEntity {
|
|
|
9
10
|
lastName?: string;
|
|
10
11
|
};
|
|
11
12
|
marketingConsent?: string;
|
|
12
|
-
type: 'appointment' | 'note' | 'formResult' | 'consent' | 'email' | 'emailNotification' | 'textMessageNotification' | 'conflict';
|
|
13
|
+
type: 'appointment' | 'note' | 'formResult' | 'consent' | 'email' | 'emailNotification' | 'textMessageNotification' | 'conflict' | 'conferenceRegistration';
|
|
13
14
|
event?: 'created' | 'updated' | 'deleted';
|
|
14
15
|
updatedAttributes?: string[];
|
|
15
16
|
protected constructor(id: string, date: Date, user: {
|
|
@@ -39,13 +40,13 @@ export declare enum AppointmentActivityType {
|
|
|
39
40
|
export declare enum AppointmentActivitySourceType {
|
|
40
41
|
MANUAL = "manual",
|
|
41
42
|
WIDGET = "widget",
|
|
43
|
+
INTERNAL_WIDGET = "internalWidget",
|
|
42
44
|
EXTERNAL = "external",
|
|
43
45
|
MANUAL_PHONE = "manualPhone",
|
|
44
46
|
API = "api",
|
|
45
47
|
BACKOFFICE_WIDGET = "backofficeWidget",
|
|
46
48
|
API_MOBILE = "mobile",
|
|
47
49
|
FACEBOOK = "facebook",
|
|
48
|
-
INTERNAL_WIDGET = "internalWidget",
|
|
49
50
|
USER = "user"
|
|
50
51
|
}
|
|
51
52
|
export declare class AppointmentActivityEntity extends ActivityEntity {
|
|
@@ -312,6 +313,36 @@ export declare class ConflictActivityEntity extends ActivityEntity {
|
|
|
312
313
|
lastName?: string;
|
|
313
314
|
} | undefined);
|
|
314
315
|
}
|
|
316
|
+
export declare class ConferenceRegistrationActivityEntity extends ActivityEntity {
|
|
317
|
+
selfLink?: string;
|
|
318
|
+
numberOfSeats?: number;
|
|
319
|
+
conference?: {
|
|
320
|
+
id?: string;
|
|
321
|
+
title?: string;
|
|
322
|
+
capacity?: number;
|
|
323
|
+
waitingListEnabled?: boolean;
|
|
324
|
+
};
|
|
325
|
+
session?: {
|
|
326
|
+
id?: string;
|
|
327
|
+
start?: Date;
|
|
328
|
+
end?: Date;
|
|
329
|
+
};
|
|
330
|
+
sourceType?: "undefined" | "manuel" | "widget" | "external" | "api" | "backofficeWidget" | "mobile" | "sessionCancelled" | "conferenceCancelled";
|
|
331
|
+
source?: string;
|
|
332
|
+
status?: "accepted" | "cancelled" | "waitingList";
|
|
333
|
+
location?: ConferenceLocationEntity;
|
|
334
|
+
company?: {
|
|
335
|
+
id?: string;
|
|
336
|
+
name?: string;
|
|
337
|
+
};
|
|
338
|
+
constructor(id: string, date: Date, user: {
|
|
339
|
+
id: string;
|
|
340
|
+
userName?: string;
|
|
341
|
+
emailAddress?: string;
|
|
342
|
+
firstName?: string;
|
|
343
|
+
lastName?: string;
|
|
344
|
+
} | undefined, conferenceRegistration: ConferenceRegistrationActivityDto);
|
|
345
|
+
}
|
|
315
346
|
declare class AppointmentActivityDto {
|
|
316
347
|
id: string;
|
|
317
348
|
start?: {
|
|
@@ -379,6 +410,36 @@ declare class AppointmentActivityDto {
|
|
|
379
410
|
emailAddress?: string;
|
|
380
411
|
};
|
|
381
412
|
}
|
|
413
|
+
declare class ConferenceRegistrationActivityDto {
|
|
414
|
+
selfLink?: string;
|
|
415
|
+
id: string;
|
|
416
|
+
numberOfSeats?: number;
|
|
417
|
+
conference?: {
|
|
418
|
+
id?: string;
|
|
419
|
+
title?: string;
|
|
420
|
+
capacity?: number;
|
|
421
|
+
waitingListEnabled?: boolean;
|
|
422
|
+
};
|
|
423
|
+
session?: {
|
|
424
|
+
id?: string;
|
|
425
|
+
start?: {
|
|
426
|
+
dateTime: string;
|
|
427
|
+
timeZone: string;
|
|
428
|
+
};
|
|
429
|
+
end?: {
|
|
430
|
+
dateTime: string;
|
|
431
|
+
timeZone: string;
|
|
432
|
+
};
|
|
433
|
+
};
|
|
434
|
+
sourceType?: "undefined" | "manuel" | "widget" | "external" | "api" | "backofficeWidget" | "mobile" | "sessionCancelled" | "conferenceCancelled";
|
|
435
|
+
source?: string;
|
|
436
|
+
status?: "accepted" | "cancelled" | "waitingList";
|
|
437
|
+
location?: ConferenceLocationSecuredDto;
|
|
438
|
+
company?: {
|
|
439
|
+
id?: string;
|
|
440
|
+
name?: string;
|
|
441
|
+
};
|
|
442
|
+
}
|
|
382
443
|
export type AttributesUpdateType = 'start' | 'end' | 'staff' | 'location' | 'service' | 'resource' | 'form' | 'status' | 'notes' | string;
|
|
383
444
|
export declare enum AppointmentChangeTypes {
|
|
384
445
|
START = "start",
|
|
@@ -394,7 +455,7 @@ export declare enum AppointmentChangeTypes {
|
|
|
394
455
|
}
|
|
395
456
|
export declare class ActivityDto {
|
|
396
457
|
id: string;
|
|
397
|
-
type?: 'appointment' | 'note' | 'formResult' | 'consent' | 'email' | 'emailNotification' | 'textMessageNotification' | 'conflict';
|
|
458
|
+
type?: 'appointment' | 'note' | 'formResult' | 'consent' | 'email' | 'emailNotification' | 'textMessageNotification' | 'conflict' | 'conferenceRegistration';
|
|
398
459
|
event?: 'created' | 'updated' | 'deleted';
|
|
399
460
|
updatedAttributes?: AttributesUpdateType[];
|
|
400
461
|
date?: {
|
|
@@ -440,5 +501,6 @@ export declare class ActivityDto {
|
|
|
440
501
|
textMessage?: {
|
|
441
502
|
body: string;
|
|
442
503
|
};
|
|
504
|
+
conferenceRegistration?: ConferenceRegistrationActivityDto;
|
|
443
505
|
}
|
|
444
506
|
export {};
|
package/dist/data/Common.d.ts
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
1
2
|
declare type EntityType = PublicEntity | SecuredEntity;
|
|
2
3
|
declare type PublicEntity = 'Public';
|
|
3
4
|
declare type SecuredEntity = 'Secured';
|
|
4
5
|
export type { EntityType, PublicEntity, SecuredEntity };
|
|
6
|
+
export declare const IdNameSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
id: string;
|
|
11
|
+
name?: string | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
id: string;
|
|
14
|
+
name?: string | undefined;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const PublicEntitySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
17
|
+
export declare const SecuredEntitySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
5
18
|
declare class BodyEntity<EntityType> {
|
|
6
19
|
bodyEntityType: EntityType;
|
|
7
20
|
constructor(type: EntityType);
|
package/dist/data/Company.d.ts
CHANGED
|
@@ -120,6 +120,7 @@ export declare class CompanySecuredEntity extends SecuredBodyEntity {
|
|
|
120
120
|
type: string;
|
|
121
121
|
}[];
|
|
122
122
|
pmrAccess?: boolean;
|
|
123
|
+
static fromDto(dto: CompanySecuredDto): CompanySecuredEntity;
|
|
123
124
|
static toDto(entity: CompanySecuredEntity): CompanySecuredDto;
|
|
124
125
|
}
|
|
125
126
|
export declare class CompanySecuredDto {
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
export declare const CustomStatusTypeValues: string[];
|
|
2
|
+
export declare type CustomStatusType = typeof CustomStatusTypeValues[number];
|
|
1
3
|
export declare class CustomStatusEntity {
|
|
2
4
|
id?: string;
|
|
3
5
|
name?: string;
|
|
4
6
|
description?: string;
|
|
5
7
|
color?: string;
|
|
6
8
|
native?: boolean;
|
|
9
|
+
type?: CustomStatusType;
|
|
7
10
|
static fromCustomStatusDto(dto: CustomStatusDto): CustomStatusEntity;
|
|
8
11
|
static toCustomStatusDto(entity: CustomStatusEntity): CustomStatusDto;
|
|
9
12
|
}
|
|
@@ -13,4 +16,5 @@ export declare class CustomStatusDto {
|
|
|
13
16
|
description?: string;
|
|
14
17
|
color?: string;
|
|
15
18
|
native?: boolean;
|
|
19
|
+
type?: CustomStatusType | string;
|
|
16
20
|
}
|
|
@@ -69,6 +69,7 @@ export declare class EventSearchStatusEntity {
|
|
|
69
69
|
id: string;
|
|
70
70
|
standard: boolean;
|
|
71
71
|
label?: string;
|
|
72
|
+
color?: string;
|
|
72
73
|
static fromDto(dto: EventSearchStatusDto): EventSearchStatusEntity;
|
|
73
74
|
}
|
|
74
75
|
export declare class EventSearchConflictEntity {
|
|
@@ -109,8 +110,8 @@ export interface EventSearchOption {
|
|
|
109
110
|
export declare class EventSearchBodyEntity {
|
|
110
111
|
basicSearch?: string;
|
|
111
112
|
timeZone?: string;
|
|
112
|
-
start
|
|
113
|
-
end
|
|
113
|
+
start?: Date;
|
|
114
|
+
end?: Date;
|
|
114
115
|
companies: EventSearchBodyCompanyEntity[];
|
|
115
116
|
status?: string[];
|
|
116
117
|
conflict?: boolean;
|
|
@@ -137,15 +138,16 @@ export interface EventSearchStatusDto {
|
|
|
137
138
|
id: string;
|
|
138
139
|
standard: boolean;
|
|
139
140
|
label?: string;
|
|
141
|
+
color?: string;
|
|
140
142
|
}
|
|
141
143
|
export interface EventSearchBodyDto {
|
|
142
144
|
basicSearch?: string;
|
|
143
145
|
timeZone?: string;
|
|
144
|
-
start
|
|
146
|
+
start?: {
|
|
145
147
|
dateTime: string;
|
|
146
148
|
timeZone?: string;
|
|
147
149
|
};
|
|
148
|
-
end
|
|
150
|
+
end?: {
|
|
149
151
|
dateTime: string;
|
|
150
152
|
timeZone?: string;
|
|
151
153
|
};
|
package/dist/data/Form.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ export declare class FormItemEntity {
|
|
|
106
106
|
type: string;
|
|
107
107
|
inputType?: string;
|
|
108
108
|
visible?: boolean;
|
|
109
|
+
backofficeVisible?: boolean;
|
|
109
110
|
disabled?: boolean;
|
|
110
111
|
required?: boolean;
|
|
111
112
|
values?: FormValueEntity[];
|
|
@@ -135,6 +136,7 @@ export declare class FormItemEntity {
|
|
|
135
136
|
label: string | undefined;
|
|
136
137
|
mandatory: boolean | undefined;
|
|
137
138
|
visible: boolean;
|
|
139
|
+
backofficeVisible: boolean | undefined;
|
|
138
140
|
values: {
|
|
139
141
|
label: string;
|
|
140
142
|
value: string;
|
|
@@ -161,6 +163,7 @@ export declare class FormItemDto {
|
|
|
161
163
|
type: string;
|
|
162
164
|
inputType?: string;
|
|
163
165
|
visible?: boolean;
|
|
166
|
+
backofficeVisible?: boolean;
|
|
164
167
|
disabled?: boolean;
|
|
165
168
|
mandatory?: boolean;
|
|
166
169
|
values?: FormValueDto[];
|
|
@@ -201,6 +204,7 @@ export declare class WidgetFormItemDto {
|
|
|
201
204
|
type: string;
|
|
202
205
|
inputType?: string;
|
|
203
206
|
visible?: boolean;
|
|
207
|
+
backofficeVisible?: boolean;
|
|
204
208
|
disabled?: boolean;
|
|
205
209
|
placeholder?: string;
|
|
206
210
|
help?: string;
|
package/dist/data/FreeSlot.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export interface FreeSlotsPublicDto {
|
|
|
41
41
|
}
|
|
42
42
|
export declare class FreeSlotSecuredEntity {
|
|
43
43
|
items: FreeSlotItemSecuredEntity[];
|
|
44
|
+
nextSlot?: Date;
|
|
44
45
|
static fromFreeSlotDto(dto: FreeSlotSecuredDto): FreeSlotSecuredEntity;
|
|
45
46
|
}
|
|
46
47
|
export declare class FreeSlotItemSecuredEntity {
|
|
@@ -90,6 +90,7 @@ export declare class ReportingExportBodyFieldAppointmentEntity {
|
|
|
90
90
|
customFields?: boolean;
|
|
91
91
|
sourceInterface?: boolean;
|
|
92
92
|
source?: boolean;
|
|
93
|
+
creationDate?: boolean;
|
|
93
94
|
id?: boolean;
|
|
94
95
|
constructor();
|
|
95
96
|
static toReportingExportBodyFieldAppointmentDto(entity: ReportingExportBodyFieldAppointmentEntity): ReportingExportBodyFieldAppointmentDto;
|
|
@@ -170,5 +171,6 @@ export declare class ReportingExportBodyFieldAppointmentDto {
|
|
|
170
171
|
customFields?: boolean;
|
|
171
172
|
sourceInterface?: boolean;
|
|
172
173
|
source?: boolean;
|
|
174
|
+
creationDate?: boolean;
|
|
173
175
|
id?: boolean;
|
|
174
176
|
}
|
package/dist/data/Rights.d.ts
CHANGED
|
@@ -37,7 +37,14 @@ export declare enum GlobalRight {
|
|
|
37
37
|
accountDataOfficer = 20,
|
|
38
38
|
accountWorkflows = 21,
|
|
39
39
|
accountWorkingPlanning = 22,
|
|
40
|
-
schedulingTeamManager = 23
|
|
40
|
+
schedulingTeamManager = 23,
|
|
41
|
+
accountConferenceAdministrator = 24,
|
|
42
|
+
schedulingNone = 25,
|
|
43
|
+
accountConferenceSchedule = 26,
|
|
44
|
+
accountConferenceRead = 27,
|
|
45
|
+
conferenceAdministrator = 28,
|
|
46
|
+
conferenceSchedule = 29,
|
|
47
|
+
conferenceRead = 30
|
|
41
48
|
}
|
|
42
49
|
export declare class RightsEntity {
|
|
43
50
|
id: string;
|
|
@@ -52,6 +59,7 @@ export declare class RightsEntity {
|
|
|
52
59
|
workingPlanning?: WorkingPlanningRight;
|
|
53
60
|
planning?: PlanningRight;
|
|
54
61
|
conference?: ConferenceRight;
|
|
62
|
+
dashboard?: DashboardRight;
|
|
55
63
|
whiteLabel?: WhiteLabelRight;
|
|
56
64
|
static fromRightsDto(dto: RightsDto): RightsEntity;
|
|
57
65
|
}
|
|
@@ -100,6 +108,14 @@ export interface PlanningRight {
|
|
|
100
108
|
}
|
|
101
109
|
export interface ConferenceRight {
|
|
102
110
|
conference: string;
|
|
111
|
+
forms: string;
|
|
112
|
+
registrations: string;
|
|
113
|
+
sessions: string;
|
|
114
|
+
speakers: string;
|
|
115
|
+
tags: string;
|
|
116
|
+
}
|
|
117
|
+
export interface DashboardRight {
|
|
118
|
+
dashboard: string;
|
|
103
119
|
}
|
|
104
120
|
export interface WhiteLabelRight {
|
|
105
121
|
name: string;
|
|
@@ -120,4 +136,5 @@ export declare class RightsDto {
|
|
|
120
136
|
planning?: PlanningRight;
|
|
121
137
|
conference?: ConferenceRight;
|
|
122
138
|
whiteLabel?: WhiteLabelRight;
|
|
139
|
+
dashboard?: DashboardRight;
|
|
123
140
|
}
|
package/dist/data/Service.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ import { ServiceGroupPublicDto, ServiceGroupPublicEntity } from "@/data/ServiceG
|
|
|
20
20
|
export type ServiceEntity<Type = EntityType> = Type extends SecuredEntity ? ServiceSecuredEntity : ServicePublicEntity;
|
|
21
21
|
export type ServicesListEntity<Type = EntityType> = Type extends SecuredEntity ? ServicesListSecuredEntity : ServicesListPublicEntity;
|
|
22
22
|
export type LocationType = "companyAddress" | "videoconference" | "phone" | "custom";
|
|
23
|
+
export type LocationValue = {
|
|
24
|
+
type: LocationType;
|
|
25
|
+
value: string;
|
|
26
|
+
};
|
|
23
27
|
export declare class ServicePublicEntity extends PublicBodyEntity {
|
|
24
28
|
id: string;
|
|
25
29
|
name: string;
|
package/dist/data/Settings.d.ts
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2022 Agendize All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at.
|
|
7
|
+
*
|
|
8
|
+
* Http://www.apache.org/licenses/LICENSE-2.0.
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
export declare class SettingsEntity {
|
|
2
17
|
private id?;
|
|
3
18
|
calendar: {
|
|
@@ -14,7 +14,7 @@ export declare class PermissionEntity {
|
|
|
14
14
|
static toPermissionDto(entity: PermissionEntity): PermissionDto;
|
|
15
15
|
}
|
|
16
16
|
export declare class PermissionRightEntity {
|
|
17
|
-
role: 'accountAnalytics' | 'schedulingAdministrator' | 'schedulingStaff' | 'schedulingRead' | 'testimonialsModeration' | 'accountAdministrator' | 'accountBilling' | 'accountButtons' | 'accountDataOfficer' | 'accountEmails' | 'accountCalls' | 'accountForms' | 'accountCRM' | 'accountSchedulingAdministrator' | 'accountSchedulingSchedule' | 'accountSchedulingRead' | 'queue' | '
|
|
17
|
+
role: 'accountAnalytics' | 'schedulingAdministrator' | 'schedulingStaff' | 'schedulingRead' | 'testimonialsModeration' | 'accountAdministrator' | 'accountBilling' | 'accountButtons' | 'accountDataOfficer' | 'accountEmails' | 'accountCalls' | 'accountForms' | 'accountCRM' | 'accountSchedulingAdministrator' | 'accountSchedulingSchedule' | 'accountSchedulingRead' | 'queue' | 'accountConferenceAdministrator' | 'accountConferenceSchedule' | 'accountConferenceRead' | 'conferenceAdministrator' | 'conferenceSchedule' | 'conferenceRead' | 'accountWorkflows';
|
|
18
18
|
resource?: {
|
|
19
19
|
id: string;
|
|
20
20
|
name: string;
|
|
@@ -30,7 +30,7 @@ export declare class PermissionDto {
|
|
|
30
30
|
externalId: string;
|
|
31
31
|
};
|
|
32
32
|
permissions: {
|
|
33
|
-
role: 'accountAnalytics' | 'schedulingAdministrator' | 'schedulingStaff' | 'schedulingRead' | 'testimonialsModeration' | 'accountAdministrator' | 'accountBilling' | 'accountButtons' | 'accountDataOfficer' | 'accountEmails' | 'accountCalls' | 'accountForms' | 'accountCRM' | 'accountSchedulingAdministrator' | 'accountSchedulingSchedule' | 'accountSchedulingRead' | 'queue' | '
|
|
33
|
+
role: 'accountAnalytics' | 'schedulingAdministrator' | 'schedulingStaff' | 'schedulingRead' | 'testimonialsModeration' | 'accountAdministrator' | 'accountBilling' | 'accountButtons' | 'accountDataOfficer' | 'accountEmails' | 'accountCalls' | 'accountForms' | 'accountCRM' | 'accountSchedulingAdministrator' | 'accountSchedulingSchedule' | 'accountSchedulingRead' | 'queue' | 'accountConferenceAdministrator' | 'accountConferenceSchedule' | 'accountConferenceRead' | 'conferenceAdministrator' | 'conferenceSchedule' | 'conferenceRead' | 'accountWorkflows';
|
|
34
34
|
resource?: {
|
|
35
35
|
id: string;
|
|
36
36
|
name: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImageEntity } from "../Image";
|
|
2
|
-
import {
|
|
2
|
+
import { type ConferenceLocationSecuredDto, type ConferenceLocationEntity } from "@/data/conference/ConferenceLocation";
|
|
3
3
|
import { ConferenceMergedTagDto, ConferenceMergedTagEntity, ConferenceTagDto, ConferenceTagPublicEntity, ConferenceTagSecuredEntity } from "@/data/conference/ConferenceTag";
|
|
4
4
|
import { ConferenceSubscriptionRulesEntity, SubscriptionRulesDto } from "@/data/conference/ConferenceSubscriptionRules";
|
|
5
5
|
import { ConferenceFormEntity, ConferenceFormPublicDto, ConferenceFormSecuredDto, ConferenceFormSecuredEntity } from "@/data/conference/ConferenceForm";
|
|
@@ -8,6 +8,7 @@ import { ConferenceSpeakerPublicDto, ConferenceSpeakerPublicEntity } from "@/dat
|
|
|
8
8
|
import { ConferenceInviteePublicDto, ConferenceInviteePublicEntity } from "@/data/conference/ConferenceInvitee";
|
|
9
9
|
import { EntityType, PublicBodyEntity, SecuredBodyEntity, SecuredEntity } from "@/data/Common";
|
|
10
10
|
import { DateTime } from "luxon";
|
|
11
|
+
import { ConferenceAssignmentSecuredDto, ConferenceAssignmentSecuredEntity } from "@/data/conference/ConferenceAssignment";
|
|
11
12
|
export type ConferenceEntity<Type = EntityType> = Type extends SecuredEntity ? ConferenceSecuredEntity : ConferencePublicEntity;
|
|
12
13
|
export declare class ConferencePublicEntity extends PublicBodyEntity {
|
|
13
14
|
id: string;
|
|
@@ -34,7 +35,7 @@ export declare class ConferencePublicDto {
|
|
|
34
35
|
duration: number;
|
|
35
36
|
numberOfSeats: number;
|
|
36
37
|
form?: ConferenceFormPublicDto;
|
|
37
|
-
location?:
|
|
38
|
+
location?: ConferenceLocationSecuredDto;
|
|
38
39
|
waitingListEnabled?: boolean;
|
|
39
40
|
picture?: ImageEntity;
|
|
40
41
|
tags?: ConferenceTagDto[];
|
|
@@ -63,6 +64,8 @@ export declare class ConferenceSecuredEntity extends SecuredBodyEntity {
|
|
|
63
64
|
tags?: ConferenceTagSecuredEntity[];
|
|
64
65
|
sessions?: ConferenceSessionSecuredEntity[];
|
|
65
66
|
registrationRules?: ConferenceSubscriptionRulesEntity;
|
|
67
|
+
assignment?: ConferenceAssignmentSecuredEntity;
|
|
68
|
+
sessionCanSetLocation?: boolean;
|
|
66
69
|
static fromConferenceDto(dto: ConferenceSecuredDto): ConferenceSecuredEntity;
|
|
67
70
|
static toConferenceDto(entity: ConferenceSecuredEntity, timeZone?: string): ConferenceSecuredDto;
|
|
68
71
|
}
|
|
@@ -81,11 +84,13 @@ export declare class ConferenceSecuredDto {
|
|
|
81
84
|
capacity?: number;
|
|
82
85
|
duration?: number;
|
|
83
86
|
availability?: "public" | "private";
|
|
84
|
-
location?:
|
|
87
|
+
location?: ConferenceLocationSecuredDto;
|
|
85
88
|
form?: ConferenceFormSecuredDto;
|
|
86
89
|
sessions?: ConferenceSessionSecuredDto[];
|
|
87
90
|
tags?: ConferenceTagDto[];
|
|
88
91
|
registrationRules?: SubscriptionRulesDto;
|
|
92
|
+
schedulingAssignment?: ConferenceAssignmentSecuredDto;
|
|
93
|
+
sessionCanSetLocation?: boolean;
|
|
89
94
|
}
|
|
90
95
|
export declare class ConferenceListEntity {
|
|
91
96
|
headerBackgroundColor?: string;
|
|
@@ -143,7 +148,7 @@ export declare class ConferenceLightDto {
|
|
|
143
148
|
nextSession?: SessionLightDto;
|
|
144
149
|
author: string;
|
|
145
150
|
picture?: ImageEntity;
|
|
146
|
-
location?:
|
|
151
|
+
location?: ConferenceLocationSecuredDto;
|
|
147
152
|
cipheredParameters?: string;
|
|
148
153
|
account?: string;
|
|
149
154
|
}
|