@agendize/js-agendize-api 1.29.1 → 1.31.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 +4 -0
- package/dist/browserStorage/browserStorage.d.ts +3 -1
- package/dist/data/ReportingExportBody.d.ts +4 -0
- package/dist/data/action/ShareLink.d.ts +51 -0
- package/dist/index.d.ts +2 -1
- package/dist/js-agendize-api.es.js +2529 -2435
- package/dist/repository/secured/shareLinkSecuredRepository.d.ts +37 -0
- package/dist/service/secured/shareLinkSecuredService.d.ts +20 -0
- package/package.json +1 -1
package/dist/agendizeApi.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ import { ConferenceRegistrationResponseEntity, WidgetEntity } from "@/data/confe
|
|
|
76
76
|
import { LoginRealmEntity } from "@/data/LoginRealm";
|
|
77
77
|
import { CompanySettingsEntity } from "@/data/CompanySettings";
|
|
78
78
|
import { PermissionEntity } from "@/data/account/Permission";
|
|
79
|
+
import { ShareLinkEntity, ShareLinkResponseItemEntity } from "@/data/action/ShareLink";
|
|
79
80
|
export interface ApiOptions {
|
|
80
81
|
baseURL: string;
|
|
81
82
|
widgetBaseURL: string;
|
|
@@ -163,6 +164,7 @@ export declare class AgendizeApi {
|
|
|
163
164
|
private crmSettingsSecuredRepository;
|
|
164
165
|
private companySettingsSecuredRepository;
|
|
165
166
|
private permissionsSecuredRepository;
|
|
167
|
+
private shareLinkSecuredRepository;
|
|
166
168
|
private indexedDb;
|
|
167
169
|
private companyIdsAccount;
|
|
168
170
|
private formIdsAccount;
|
|
@@ -188,6 +190,7 @@ export declare class AgendizeApi {
|
|
|
188
190
|
refreshUserStorage(allUsers: UserEntity[] | undefined, meInOrganisation: UserEntity): Promise<void>;
|
|
189
191
|
clearAfterAccountSwitch(): Promise<void>;
|
|
190
192
|
logout(): Promise<void>;
|
|
193
|
+
clearLocalDB(): Promise<void>;
|
|
191
194
|
getSchedulingRights(organisation: string): Promise<SchedulingRightsEntity[]>;
|
|
192
195
|
getSchedulingRightsById(organisation: string, userId: string): Promise<SchedulingRightsEntity | undefined>;
|
|
193
196
|
updateSchedulingRights(organisation: string, userId: string, rights: SchedulingRightsEntity): Promise<SchedulingRightsEntity>;
|
|
@@ -529,4 +532,5 @@ export declare class AgendizeApi {
|
|
|
529
532
|
getUserPermission(organisationEmail: string, userId: string, withLastActivity?: boolean): Promise<QUERY_RESULT<PermissionEntity>>;
|
|
530
533
|
updateUserPermission(organisationEmail: string, userId: string, permission: PermissionEntity): Promise<PermissionEntity>;
|
|
531
534
|
deleteUserPermission(organisationEmail: string, userId: string): Promise<void>;
|
|
535
|
+
shareALink(organisationEmail: string, shareLinkQuery: ShareLinkEntity): Promise<ShareLinkResponseItemEntity[]>;
|
|
532
536
|
}
|
|
@@ -17,7 +17,9 @@ export declare enum StorageKeys {
|
|
|
17
17
|
AGENDAS_TEAM_REMOVED = "agendasTeamRemoved",
|
|
18
18
|
AGENDAS_ENABLED = "agendasEnabled",
|
|
19
19
|
LOGGER_ORGANISATION_ID = "widgetOrganisationId",
|
|
20
|
-
|
|
20
|
+
USERS_COLORS = "usersColors",
|
|
21
|
+
REALM = "realm",
|
|
22
|
+
API_BASE_URI = "api_base_uri"
|
|
21
23
|
}
|
|
22
24
|
export declare class BrowserStorage {
|
|
23
25
|
private readonly logger?;
|
|
@@ -88,6 +88,8 @@ export declare class ReportingExportBodyFieldAppointmentEntity {
|
|
|
88
88
|
status?: boolean;
|
|
89
89
|
notes?: boolean;
|
|
90
90
|
customFields?: boolean;
|
|
91
|
+
sourceInterface?: boolean;
|
|
92
|
+
source?: boolean;
|
|
91
93
|
id?: boolean;
|
|
92
94
|
constructor();
|
|
93
95
|
static toReportingExportBodyFieldAppointmentDto(entity: ReportingExportBodyFieldAppointmentEntity): ReportingExportBodyFieldAppointmentDto;
|
|
@@ -166,5 +168,7 @@ export declare class ReportingExportBodyFieldAppointmentDto {
|
|
|
166
168
|
status?: boolean;
|
|
167
169
|
notes?: boolean;
|
|
168
170
|
customFields?: boolean;
|
|
171
|
+
sourceInterface?: boolean;
|
|
172
|
+
source?: boolean;
|
|
169
173
|
id?: boolean;
|
|
170
174
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare class ShareLinkEntity {
|
|
2
|
+
link: {
|
|
3
|
+
url: string;
|
|
4
|
+
};
|
|
5
|
+
recipients: ShareLinkRecipientEntity[];
|
|
6
|
+
static fromDto(dto: ShareLinkDto): ShareLinkEntity;
|
|
7
|
+
static toDto(entity: ShareLinkEntity): ShareLinkDto;
|
|
8
|
+
}
|
|
9
|
+
export interface ShareLinkDto {
|
|
10
|
+
link: {
|
|
11
|
+
url: string;
|
|
12
|
+
};
|
|
13
|
+
recipients: ShareLinkRecipientDto[];
|
|
14
|
+
}
|
|
15
|
+
export declare class ShareLinkRecipientEntity {
|
|
16
|
+
emailAddress?: string;
|
|
17
|
+
id?: string;
|
|
18
|
+
externalId?: string;
|
|
19
|
+
firstName?: string;
|
|
20
|
+
lastName?: string;
|
|
21
|
+
static fromDto(dto: ShareLinkRecipientDto): ShareLinkRecipientEntity;
|
|
22
|
+
static toDto(entity: ShareLinkRecipientEntity): ShareLinkRecipientDto;
|
|
23
|
+
}
|
|
24
|
+
export interface ShareLinkRecipientDto {
|
|
25
|
+
emailAddress?: string;
|
|
26
|
+
id?: string;
|
|
27
|
+
externalId?: string;
|
|
28
|
+
firstName?: string;
|
|
29
|
+
lastName?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare class ShareLinkResponseEntity {
|
|
32
|
+
items: ShareLinkResponseItemEntity[];
|
|
33
|
+
static fromDto(dto: ShareLinkResponseDto): ShareLinkResponseEntity;
|
|
34
|
+
static toDto(entity: ShareLinkResponseEntity, timeZone?: string): ShareLinkResponseDto;
|
|
35
|
+
}
|
|
36
|
+
export declare class ShareLinkResponseItemEntity {
|
|
37
|
+
send: Date;
|
|
38
|
+
recipient: ShareLinkRecipientEntity;
|
|
39
|
+
static fromDto(dto: ShareLinkResponseItemDto): ShareLinkResponseItemEntity;
|
|
40
|
+
static toDto(entity: ShareLinkResponseItemEntity, timeZone?: string): ShareLinkResponseItemDto;
|
|
41
|
+
}
|
|
42
|
+
export interface ShareLinkResponseDto {
|
|
43
|
+
items: ShareLinkResponseItemDto[];
|
|
44
|
+
}
|
|
45
|
+
export interface ShareLinkResponseItemDto {
|
|
46
|
+
sent: {
|
|
47
|
+
dateTime: string;
|
|
48
|
+
timeZone?: string;
|
|
49
|
+
};
|
|
50
|
+
recipient: ShareLinkRecipientDto;
|
|
51
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -87,7 +87,8 @@ export { AgendizeApi } from './agendizeApi';
|
|
|
87
87
|
export { QUERY_TYPE } from '@/repository';
|
|
88
88
|
export * from './utils/logger';
|
|
89
89
|
import { PermissionEntity, PermissionRightEntity } from "@/data/account/Permission";
|
|
90
|
-
|
|
90
|
+
import { ShareLinkResponseEntity, ShareLinkResponseItemEntity, ShareLinkEntity, ShareLinkRecipientEntity } from "@/data/action/ShareLink";
|
|
91
|
+
export { setLang, AccountSettingsEntity, AclEntity, ProfileSettingsEntity, CalendarSettingsEntity, CalendarTeamEntity, AddressEntity, ImageEntity, CalendarEntity, ServiceTypeEntity, ContactEntity, ContactPhoneNumberEntity, ContactEmailAddressEntity, ContactAdditionalFieldEntity, ContactTagEntity, ContactAdvancedSearchEntity, type EventEntity, EventSecuredEntity, EventPublicEntity, EventType, EventStatus, FormItemEntity, FormValueEntity, FormResultStatusEntity, FORM_FILE_MAX_SIZE, FORM_FILE_EXTENSIONS, EventUpdateEntity, ApiErrors, AgendizeError, UserEntity, CalendarCompanyEntity, CalendarWorkingDayEntity, CalendarWorkingHourEntity, SettingsWorkingDayEntity, SettingsWorkingHoursEntity, SettingsPeriodWorkingEntity, SettingsPeriodWorkingDayEntity, FreeSlotItemSecuredEntity, PrivacyPolicyEntity, ServiceResourceEntity, StaffFormsEntity, RightsEntity, type SchedulingRight, type SettingsRight, type RightObject, type ReportRight, type QueueRight, type FormRight, type ClientRight, type WorkflowRight, type WorkingPlanningRight, type ConferenceRight, type PlanningRight, GlobalRight, CompanySchedulingRightsEntity, SchedulingRightsEntity, ActivityEntity, NoteEntity, ShortPollingNotificationEntity, NotificationStatusEntity, BrowserStorage, StorageKeys, BrowserStorageItemValue, EmployeeEntity, QueueRegistrationStatus, ResultStatusValues, ShortPollingNotificationEvent, ShortPollingNotificationReport, AppointmentActivityEntity, AppointmentUpdateStaffActivityEntity, AppointmentUpdateFormActivityEntity, AppointmentDeletionActivityEntity, AppointmentCreationActivityEntity, AppointmentUpdateDatesActivityEntity, AppointmentUpdateEndActivityEntity, AppointmentUpdateLocationActivityEntity, AppointmentUpdateNoteActivityEntity, AppointmentUpdateResourceActivityEntity, AppointmentUpdateServiceActivityEntity, AppointmentUpdateStartActivityEntity, AppointmentUpdateStatusActivityEntity, AppointmentUpdateClientActivityEntity, AppointmentChangeTypes, AppointmentActivityType, AppointmentActivitySourceType, TextMessageNotificationActivityEntity, EmailNotificationActivityEntity, FormResultActivityEntity, NoteActivityEntity, ConsentActivityEntity, CommonEnum, Gender, Title, Language, NotificationType, AdditionalFieldsEntity, WidgetUrlCipherEntity, DayProperty, PlanningEntity, PlanningWeekEntity, PlanningDayEntity, PlanningHourEntity, PromoteFieldEntity, PromoteFieldKey, EventFields, ReportsEntity, ReportDashboardEntity, ReportDashboardFilter, CompanyPerformanceEntity, UserSchedulesEntity, CompanyScheduleEntity, ScheduleWorkingDayEntity, ScheduleWorkingHourEntity, valuePromoteFieldFromContact, applyValueToField, getDefaultEventField, jsDateToYYYYMMDD, LogEntity, Action, ActionType, WorkingPlanningEntity, WorkingPlanningDayEntity, StaffWorkingPlanningEntity, OccupancyRateEntity, PeriodWithOccupancy, ChangelogEntity, ChangeEntity, ReportingExportResponseEntity, ReportingExportBodyEntity, ExportStatus, ShortenerEntity, type ConferenceEntity, ConferenceSecuredEntity, ConferenceLocationEntity, type ConferenceTagEntity, ConferenceTagSecuredEntity, ConferenceSubscriptionRulesEntity, type ConferenceSessionEntity, ConferenceSessionSecuredEntity, type ConferenceInviteeEntity, ConferenceInviteeSecuredEntity, type ConferenceSpeakerEntity, ConferenceSpeakerSecuredEntity, type ConferenceFormEntity, type ConferenceRegistrationEntity, ConferenceRegistrationPublicEntity, ConferenceClientEntity, ConferenceRegistrationResponseEntity, PrivacyConsentEntity, AccountLightEntity, ConferenceLightEntity, ConferenceMergedTagEntity, WidgetEntity, getApiErrorValueFromName, type ConferenceRegistrationCancelEntity, ConferenceRegistrationCancelSecuredEntity, ConferenceRegistrationCancelPublicEntity, CustomStatusEntity, ConferenceSessionSearchEntity, ConferenceSessionsSearchEntity, ConferenceSessionsSearchBodyEntity, EventSearchEntity, EventSearchLocationEntity, EventSearchCompanyEntity, EventSearchContactEntity, EventSearchServiceEntity, EventSearchStaffEntity, EventSearchPageEntity, EventSearchBodyEntity, EventSearchStatusEntity, type EventSearchOption, EventSearchBodyCompanyEntity, EventSearchConflictEntity, EventSearchConflictReason, EventSearchConflictSource, ShortPollingNotificationScope, SettingsEntity, IntegrationEntity, ConnectorEntity, DashboardStructureEntity, DashboardWidgetEntity, DashboardType, DashboardKey, ContactMatchingType, CRMSettingsEntity, CRMSettingsSyncEntity, HelpEntity, HelpDataEntity, LoginProviderEntity, WidgetUrlCipherInputEntity, WidgetFormEntity, WidgetFormFieldsAPIProperties, type CompanyEntity, CompanySecuredEntity, CompanyPublicEntity, type StaffEntity, StaffSecuredEntity, StaffPublicEntity, type StaffGroupEntity, StaffGroupSecuredEntity, StaffGroupPublicEntity, type ServiceEntity, ServiceSecuredEntity, ServicePublicEntity, type ServicesListEntity, ServicesListSecuredEntity, ServicesListPublicEntity, type ServiceGroupEntity, ServiceGroupPublicEntity, ServiceGroupSecuredEntity, type QueueEntity, QueueSecuredEntity, QueuePublicEntity, type QueueRegistrationEntity, QueueRegistrationSecuredEntity, QueueRegistrationPublicEntity, type QueueRegistrationResultEntity, QueueRegistrationResultSecuredEntity, QueueRegistrationResultPublicEntity, type FormBuilderEntity, FormBuilderPublicEntity, FormBuilderSecuredEntity, type FormResultEntity, FormResultPublicEntity, FormResultSecuredEntity, type AccountEntity, AccountPublicEntity, AccountSecuredEntity, type FreeSlotEntity, FreeSlotSecuredEntity, FreeSlotPublicEntity, FreeSlotMapPublicEntity, type FreeSlotsRecord, FreeSlotsFilterOptions, LinkEntity, WhiteLabelSettingsPublicEntity, PagePublicEntity, type WhiteLabelRight, LoginRealmEntity, WidgetError, NotificationEntity, CompanySettingsEntity, CompanySettingsWidgetEntity, PermissionEntity, PermissionRightEntity, ShareLinkResponseEntity, ShareLinkResponseItemEntity, ShareLinkEntity, ShareLinkRecipientEntity };
|
|
91
92
|
export type { SecuredEntity, PublicEntity } from './data/Common';
|
|
92
93
|
export { BodyEntity, SecuredBodyEntity, PublicBodyEntity } from './data/Common';
|
|
93
94
|
export type { ResultStatus } from "./data/FormResultStatus";
|