@agendize/js-agendize-api 1.34.0 → 1.35.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/package.json +3 -3
- package/dist/agendizeApi.d.ts +0 -556
- package/dist/browserStorage/browserStorage.d.ts +0 -46
- package/dist/config.d.ts +0 -19
- package/dist/data/Account.d.ts +0 -220
- package/dist/data/Activity.d.ts +0 -506
- package/dist/data/Address.d.ts +0 -46
- package/dist/data/Batch.d.ts +0 -41
- package/dist/data/CRMSettings.d.ts +0 -35
- package/dist/data/Calendar.d.ts +0 -78
- package/dist/data/Changelog.d.ts +0 -20
- package/dist/data/Common.d.ts +0 -28
- package/dist/data/CommonEnum.d.ts +0 -44
- package/dist/data/Company.d.ts +0 -162
- package/dist/data/CompanyPerformance.d.ts +0 -26
- package/dist/data/CompanySettings.d.ts +0 -17
- package/dist/data/Connector.d.ts +0 -26
- package/dist/data/Consent.d.ts +0 -4
- package/dist/data/Contact.d.ts +0 -202
- package/dist/data/CustomStatus.d.ts +0 -20
- package/dist/data/Employee.d.ts +0 -27
- package/dist/data/Error.d.ts +0 -65
- package/dist/data/Event.d.ts +0 -216
- package/dist/data/EventSearch.d.ts +0 -220
- package/dist/data/EventUpdate.d.ts +0 -9
- package/dist/data/Form.d.ts +0 -229
- package/dist/data/FormResult.d.ts +0 -61
- package/dist/data/FormResultStatus.d.ts +0 -23
- package/dist/data/FreeSlot.d.ts +0 -72
- package/dist/data/Help.d.ts +0 -18
- package/dist/data/Image.d.ts +0 -24
- package/dist/data/Integration.d.ts +0 -36
- package/dist/data/Link.d.ts +0 -10
- package/dist/data/Log.d.ts +0 -77
- package/dist/data/LoginProvider.d.ts +0 -17
- package/dist/data/LoginRealm.d.ts +0 -20
- package/dist/data/Note.d.ts +0 -27
- package/dist/data/Notification.d.ts +0 -51
- package/dist/data/NotificationStatus.d.ts +0 -5
- package/dist/data/PrivacyPolicy.d.ts +0 -43
- package/dist/data/Queue.d.ts +0 -54
- package/dist/data/QueueRegistration.d.ts +0 -101
- package/dist/data/Reporting.d.ts +0 -42
- package/dist/data/ReportingExportBody.d.ts +0 -176
- package/dist/data/ReportingExportResponse.d.ts +0 -20
- package/dist/data/Rights.d.ts +0 -140
- package/dist/data/Service.d.ts +0 -224
- package/dist/data/ServiceGroup.d.ts +0 -57
- package/dist/data/ServiceResource.d.ts +0 -26
- package/dist/data/Settings.d.ts +0 -29
- package/dist/data/ShortPollingNotification.d.ts +0 -35
- package/dist/data/Shortener.d.ts +0 -8
- package/dist/data/Staff.d.ts +0 -115
- package/dist/data/StaffForms.d.ts +0 -42
- package/dist/data/StaffGroup.d.ts +0 -58
- package/dist/data/User.d.ts +0 -84
- package/dist/data/WidgetUrlCipher.d.ts +0 -23
- package/dist/data/WorkingHours.d.ts +0 -94
- package/dist/data/account/Permission.d.ts +0 -46
- package/dist/data/action/ShareLink.d.ts +0 -55
- package/dist/data/conference/Conference.d.ts +0 -161
- package/dist/data/conference/ConferenceAssignment.d.ts +0 -194
- package/dist/data/conference/ConferenceForm.d.ts +0 -36
- package/dist/data/conference/ConferenceInvitee.d.ts +0 -31
- package/dist/data/conference/ConferenceLocation.d.ts +0 -359
- package/dist/data/conference/ConferenceSpeaker.d.ts +0 -28
- package/dist/data/conference/ConferenceSubscriptionRules.d.ts +0 -12
- package/dist/data/conference/ConferenceTag.d.ts +0 -29
- package/dist/data/conference/Registration.d.ts +0 -56
- package/dist/data/conference/RegistrationCancel.d.ts +0 -26
- package/dist/data/conference/RegistrationClient.d.ts +0 -16
- package/dist/data/conference/Session.d.ts +0 -140
- package/dist/data/conference/Widget.d.ts +0 -94
- package/dist/data/dashboard/DashboardStructure.d.ts +0 -42
- package/dist/data/dashboard/KeyFigures.d.ts +0 -9
- package/dist/data/planning/Planning.d.ts +0 -17
- package/dist/data/planning/PlanningDay.d.ts +0 -12
- package/dist/data/planning/PlanningHour.d.ts +0 -10
- package/dist/data/planning/PlanningWeek.d.ts +0 -13
- package/dist/data/scheduling/Availabilities.d.ts +0 -102
- package/dist/data/scheduling/SchedulingRights.d.ts +0 -40
- package/dist/data/scheduling/WorkingPlanning.d.ts +0 -119
- package/dist/data/scheduling/schedule/CompanySchedule.d.ts +0 -19
- package/dist/data/scheduling/schedule/ScheduleWorkingHours.d.ts +0 -18
- package/dist/data/scheduling/schedule/UserSchedules.d.ts +0 -20
- package/dist/data/shortPollingNotification/ShortPollingNotificationEvent.d.ts +0 -58
- package/dist/data/shortPollingNotification/ShortPollingNotificationObject.d.ts +0 -4
- package/dist/data/shortPollingNotification/ShortPollingNotificationReport.d.ts +0 -8
- package/dist/db/DashboardStructureDb.d.ts +0 -12
- package/dist/db/calendarDb.d.ts +0 -26
- package/dist/db/calendarTeamDb.d.ts +0 -27
- package/dist/db/calendarTeamDefaultDb.d.ts +0 -20
- package/dist/db/companyDb.d.ts +0 -26
- package/dist/db/companySettingsDb.d.ts +0 -11
- package/dist/db/conferenceDb.d.ts +0 -26
- package/dist/db/conferenceInviteeDb.d.ts +0 -27
- package/dist/db/conferenceRegistrationDb.d.ts +0 -11
- package/dist/db/conferenceSessionDb.d.ts +0 -27
- package/dist/db/conferenceSpeakerDb.d.ts +0 -27
- package/dist/db/conferenceTagDb.d.ts +0 -12
- package/dist/db/contactDb.d.ts +0 -26
- package/dist/db/crmSettingsDb.d.ts +0 -9
- package/dist/db/customStatusDb.d.ts +0 -13
- package/dist/db/eventDb.d.ts +0 -29
- package/dist/db/externalEventDb.d.ts +0 -26
- package/dist/db/formBuilderDb.d.ts +0 -26
- package/dist/db/icsEventDb.d.ts +0 -25
- package/dist/db/index.d.ts +0 -73
- package/dist/db/noteDb.d.ts +0 -27
- package/dist/db/notificationDb.d.ts +0 -9
- package/dist/db/notificationStatusDb.d.ts +0 -26
- package/dist/db/planningDb.d.ts +0 -27
- package/dist/db/privacyPolicyDb.d.ts +0 -24
- package/dist/db/promoteFieldDb.d.ts +0 -9
- package/dist/db/queueDb.d.ts +0 -27
- package/dist/db/rightsDb.d.ts +0 -25
- package/dist/db/serviceDb.d.ts +0 -28
- package/dist/db/serviceGroupDb.d.ts +0 -31
- package/dist/db/serviceResourceDb.d.ts +0 -27
- package/dist/db/settingsDb.d.ts +0 -24
- package/dist/db/shortPollingNotificationDb.d.ts +0 -28
- package/dist/db/sseNotificationDb.d.ts +0 -0
- package/dist/db/staffDb.d.ts +0 -28
- package/dist/db/staffFormsDb.d.ts +0 -25
- package/dist/db/staffGroupDb.d.ts +0 -32
- package/dist/db/userDb.d.ts +0 -27
- package/dist/db/userDefaultDb.d.ts +0 -20
- package/dist/db/userDirectoryDb.d.ts +0 -28
- package/dist/db/widgetFormDb.d.ts +0 -25
- package/dist/eventFetchedMeta/eventMeta.d.ts +0 -24
- package/dist/eventFetchedMeta/eventMetaStorage.d.ts +0 -63
- package/dist/index.d.ts +0 -99
- package/dist/js-agendize-api.es.js +0 -33511
- package/dist/repository/index.d.ts +0 -86
- package/dist/repository/public/accountPublicRepository.d.ts +0 -40
- package/dist/repository/public/availabilityPublicRepository.d.ts +0 -39
- package/dist/repository/public/companyPublicRepository.d.ts +0 -24
- package/dist/repository/public/conferencePublicRepository.d.ts +0 -27
- package/dist/repository/public/customStatusPublicRepository.d.ts +0 -28
- package/dist/repository/public/eventPublicRepository.d.ts +0 -42
- package/dist/repository/public/formPublicRepository.d.ts +0 -25
- package/dist/repository/public/freeSlotPublicRepository.d.ts +0 -40
- package/dist/repository/public/queuePublicRepository.d.ts +0 -22
- package/dist/repository/public/queueRegistrationPublicRepository.d.ts +0 -22
- package/dist/repository/public/registrationPublicRepository.d.ts +0 -22
- package/dist/repository/public/servicePublicRepository.d.ts +0 -24
- package/dist/repository/public/sessionPublicRepository.d.ts +0 -23
- package/dist/repository/public/staffGroupPublicRepository.d.ts +0 -24
- package/dist/repository/public/staffPublicRepository.d.ts +0 -24
- package/dist/repository/public/widgetPublicRepository.d.ts +0 -26
- package/dist/repository/secured/CRMSettingsSecuredRepository.d.ts +0 -25
- package/dist/repository/secured/accountSecuredRepository.d.ts +0 -44
- package/dist/repository/secured/activitySecuredRepository.d.ts +0 -43
- package/dist/repository/secured/additionalFieldsSecuredRepository.d.ts +0 -24
- package/dist/repository/secured/availabilitySecuredRepository.d.ts +0 -42
- package/dist/repository/secured/calendarSecuredRepository.d.ts +0 -33
- package/dist/repository/secured/changelogSecuredRepository.d.ts +0 -24
- package/dist/repository/secured/companyPerformanceSecuredRepository.d.ts +0 -37
- package/dist/repository/secured/companySecuredRepository.d.ts +0 -34
- package/dist/repository/secured/companySettingsSecuredRepository.d.ts +0 -28
- package/dist/repository/secured/conferenceInviteeSecuredRepository.d.ts +0 -47
- package/dist/repository/secured/conferenceRegistrationSecuredRepository.d.ts +0 -39
- package/dist/repository/secured/conferenceSecuredRepository.d.ts +0 -50
- package/dist/repository/secured/conferenceSessionSecuredRepository.d.ts +0 -49
- package/dist/repository/secured/conferenceSpeakerSecuredRepository.d.ts +0 -50
- package/dist/repository/secured/conferenceTagSecuredRepository.d.ts +0 -31
- package/dist/repository/secured/connectorsSecuredRepository.d.ts +0 -24
- package/dist/repository/secured/contactExternalSecuredRepository.d.ts +0 -27
- package/dist/repository/secured/contactSecuredRepository.d.ts +0 -38
- package/dist/repository/secured/customStatusSecuredRepository.d.ts +0 -32
- package/dist/repository/secured/dasboardStructureSecuredRepository.d.ts +0 -25
- package/dist/repository/secured/dashboardSecuredRepository.d.ts +0 -20
- package/dist/repository/secured/eventSecuredRepository.d.ts +0 -67
- package/dist/repository/secured/exportAppointmentsSecuredRepository.d.ts +0 -25
- package/dist/repository/secured/exportCalendarSecuredRepository.d.ts +0 -28
- package/dist/repository/secured/externalEventSecuredRepository.d.ts +0 -39
- package/dist/repository/secured/formBuilderSecuredRepository.d.ts +0 -46
- package/dist/repository/secured/formResultSecuredRepository.d.ts +0 -31
- package/dist/repository/secured/formResultStatusSecuredRepository.d.ts +0 -30
- package/dist/repository/secured/freeSlotSecuredRepository.d.ts +0 -46
- package/dist/repository/secured/icsEventSecuredRepository.d.ts +0 -34
- package/dist/repository/secured/integrationsSecuredRepository.d.ts +0 -24
- package/dist/repository/secured/logSecuredRepository.d.ts +0 -25
- package/dist/repository/secured/noteSecuredRepository.d.ts +0 -27
- package/dist/repository/secured/notificationSecuredRepository.d.ts +0 -27
- package/dist/repository/secured/notificationStatusSecuredRepository.d.ts +0 -40
- package/dist/repository/secured/permissionSecuredRepository.d.ts +0 -45
- package/dist/repository/secured/planningSecuredRepository.d.ts +0 -46
- package/dist/repository/secured/privacyPolicySecuredRepository.d.ts +0 -41
- package/dist/repository/secured/promoteFieldSecuredRepository.d.ts +0 -26
- package/dist/repository/secured/queueRegistrationSecuredRepository.d.ts +0 -46
- package/dist/repository/secured/queueSecuredRepository.d.ts +0 -46
- package/dist/repository/secured/reportingSecuredRepository.d.ts +0 -42
- package/dist/repository/secured/rightsSecuredRepository.d.ts +0 -40
- package/dist/repository/secured/scheduleSecuredRepository.d.ts +0 -25
- package/dist/repository/secured/schedulingRightsSecuredRepository.d.ts +0 -26
- package/dist/repository/secured/serviceGroupSecuredRepository.d.ts +0 -50
- package/dist/repository/secured/serviceResourceSecuredRepository.d.ts +0 -50
- package/dist/repository/secured/serviceSecuredRepository.d.ts +0 -36
- package/dist/repository/secured/settingsSecuredRepository.d.ts +0 -27
- package/dist/repository/secured/shareLinkSecuredRepository.d.ts +0 -38
- package/dist/repository/secured/shortPollingNotificationSecuredRepository.d.ts +0 -32
- package/dist/repository/secured/shortenerSecuredRepository.d.ts +0 -39
- package/dist/repository/secured/sseNotificationSecuredRepository.d.ts +0 -0
- package/dist/repository/secured/staffFormsSecuredRepository.d.ts +0 -40
- package/dist/repository/secured/staffGroupSecuredRepository.d.ts +0 -50
- package/dist/repository/secured/staffSecuredRepository.d.ts +0 -41
- package/dist/repository/secured/tagSecuredRepository.d.ts +0 -24
- package/dist/repository/secured/userAbstractSecuredRepository.d.ts +0 -55
- package/dist/repository/secured/userDefaultSecuredRepository.d.ts +0 -28
- package/dist/repository/secured/userDirectorySecuredRepository.d.ts +0 -41
- package/dist/repository/secured/userSecuredRepository.d.ts +0 -33
- package/dist/repository/secured/widgetFormSecuredRepository.d.ts +0 -45
- package/dist/repository/secured/widgetUrlCipherSecuredRepository.d.ts +0 -46
- package/dist/repository/secured/workingPlanningSecuredRepository.d.ts +0 -29
- package/dist/service/index.d.ts +0 -47
- package/dist/service/items/EventFields.d.ts +0 -30
- package/dist/service/public/WidgetError.d.ts +0 -7
- package/dist/service/public/accountPublicService.d.ts +0 -20
- package/dist/service/public/availabilityPublicService.d.ts +0 -20
- package/dist/service/public/companyPublicService.d.ts +0 -6
- package/dist/service/public/conferencePublicService.d.ts +0 -6
- package/dist/service/public/customStatusPublicService.d.ts +0 -5
- package/dist/service/public/eventPublicService.d.ts +0 -30
- package/dist/service/public/formPublicService.d.ts +0 -7
- package/dist/service/public/freeSlotPublicService.d.ts +0 -20
- package/dist/service/public/queueInscriptionPublicService.d.ts +0 -5
- package/dist/service/public/queuePublicService.d.ts +0 -5
- package/dist/service/public/registrationPublicService.d.ts +0 -8
- package/dist/service/public/servicePublicService.d.ts +0 -21
- package/dist/service/public/sessionPublicService.d.ts +0 -5
- package/dist/service/public/staffGroupPublicService.d.ts +0 -6
- package/dist/service/public/staffPublicService.d.ts +0 -6
- package/dist/service/public/widgetPublicService.d.ts +0 -5
- package/dist/service/public/widgetResponse.d.ts +0 -3
- package/dist/service/secured/FormResultSecuredService.d.ts +0 -8
- package/dist/service/secured/accountSecuredService.d.ts +0 -23
- package/dist/service/secured/activitySecuredService.d.ts +0 -22
- package/dist/service/secured/additionalFieldsSecuredService.d.ts +0 -5
- package/dist/service/secured/authenticationSecuredService.d.ts +0 -56
- package/dist/service/secured/availabilitiesSecuredService.d.ts +0 -20
- package/dist/service/secured/batchSecuredService.d.ts +0 -20
- package/dist/service/secured/calendarSecuredService.d.ts +0 -28
- package/dist/service/secured/changelogSecuredService.d.ts +0 -20
- package/dist/service/secured/companyPerformanceSecuredService.d.ts +0 -20
- package/dist/service/secured/companySecuredService.d.ts +0 -27
- package/dist/service/secured/companySettingsSecuredService.d.ts +0 -6
- package/dist/service/secured/conferenceInviteeSecuredService.d.ts +0 -25
- package/dist/service/secured/conferenceRegistrationSecuredService.d.ts +0 -13
- package/dist/service/secured/conferenceSecuredService.d.ts +0 -25
- package/dist/service/secured/conferenceSessionSecuredService.d.ts +0 -26
- package/dist/service/secured/conferenceSpeakerSecuredService.d.ts +0 -30
- package/dist/service/secured/conferenceTagSecuredService.d.ts +0 -10
- package/dist/service/secured/connectorsSecuredService.d.ts +0 -5
- package/dist/service/secured/contactExternalSecuredService.d.ts +0 -21
- package/dist/service/secured/contactSecuredService.d.ts +0 -26
- package/dist/service/secured/crmSettingsSecuredService.d.ts +0 -5
- package/dist/service/secured/customStatusSecuredService.d.ts +0 -9
- package/dist/service/secured/dashboardSecuredService.d.ts +0 -5
- package/dist/service/secured/dashboardStructureSecuredService.d.ts +0 -5
- package/dist/service/secured/eventSecuredService.d.ts +0 -46
- package/dist/service/secured/exportAppointmentsSecuredService.d.ts +0 -7
- package/dist/service/secured/exportCalendarSecuredService.d.ts +0 -5
- package/dist/service/secured/formBuilderSecuredService.d.ts +0 -23
- package/dist/service/secured/formResultStatusSecuredService.d.ts +0 -6
- package/dist/service/secured/freeSlotSecuredService.d.ts +0 -21
- package/dist/service/secured/freeStaffSecuredService.d.ts +0 -19
- package/dist/service/secured/integrationsSecuredService.d.ts +0 -5
- package/dist/service/secured/logSecuredService.d.ts +0 -19
- package/dist/service/secured/noteSecuredService.d.ts +0 -22
- package/dist/service/secured/notificationSecuredService.d.ts +0 -6
- package/dist/service/secured/permissionsSecuredService.d.ts +0 -23
- package/dist/service/secured/planningSecuredService.d.ts +0 -25
- package/dist/service/secured/privacyPolicySecuredService.d.ts +0 -20
- package/dist/service/secured/promoteFieldSecuredService.d.ts +0 -5
- package/dist/service/secured/queueRegistrationSecuredService.d.ts +0 -23
- package/dist/service/secured/queueSecuredService.d.ts +0 -25
- package/dist/service/secured/reportingSecuredService.d.ts +0 -20
- package/dist/service/secured/rightsSecuredService.d.ts +0 -20
- package/dist/service/secured/scheduleSecuredService.d.ts +0 -5
- package/dist/service/secured/schedulingRightsSecuredService.d.ts +0 -7
- package/dist/service/secured/serviceGroupSecuredService.d.ts +0 -25
- package/dist/service/secured/serviceResourceSecuredService.d.ts +0 -25
- package/dist/service/secured/serviceSecuredService.d.ts +0 -25
- package/dist/service/secured/settingsSecuredService.d.ts +0 -20
- package/dist/service/secured/shareLinkSecuredService.d.ts +0 -21
- package/dist/service/secured/shortPollingNotificationSecuredService.d.ts +0 -10
- package/dist/service/secured/shortenerSecuredService.d.ts +0 -20
- package/dist/service/secured/staffFormsSecuredService.d.ts +0 -20
- package/dist/service/secured/staffGroupSecuredService.d.ts +0 -25
- package/dist/service/secured/staffSecuredService.d.ts +0 -26
- package/dist/service/secured/tagSecuredService.d.ts +0 -5
- package/dist/service/secured/userDirectorySecuredService.d.ts +0 -20
- package/dist/service/secured/userSecuredService.d.ts +0 -33
- package/dist/service/secured/widgetFormSecuredService.d.ts +0 -26
- package/dist/service/secured/widgetUrlCipherSecuredService.d.ts +0 -21
- package/dist/service/secured/workingPlanningSecuredService.d.ts +0 -6
- package/dist/utils/axiosLoggerBuilder.d.ts +0 -11
- package/dist/utils/colorManager.d.ts +0 -7
- package/dist/utils/date.d.ts +0 -12
- package/dist/utils/encoding.d.ts +0 -7
- package/dist/utils/formUtils.d.ts +0 -4
- package/dist/utils/logger.d.ts +0 -40
- package/dist/utils/pkceUtils.d.ts +0 -10
- package/dist/utils/widgetForms.d.ts +0 -7
package/dist/data/Event.d.ts
DELETED
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
import { ConsentEntity } from "./Consent";
|
|
2
|
-
import { FormItemDto, FormItemEntity } from "./Form";
|
|
3
|
-
import { CustomStatusDto, CustomStatusEntity } from "./CustomStatus";
|
|
4
|
-
import { EntityType, PublicBodyEntity, SecuredBodyEntity, SecuredEntity } from "@/data/Common";
|
|
5
|
-
import { LocationType, ServicePublicDto, ServicePublicEntity } from "@/data/Service";
|
|
6
|
-
import { StaffPublicDto, StaffPublicEntity } from "@/data/Staff";
|
|
7
|
-
import { CompanyPublicDto, CompanyPublicEntity } from "@/data/Company";
|
|
8
|
-
import { ContactDto, ContactEntity } from "@/data/Contact";
|
|
9
|
-
import { ActivityDto, AppointmentActivityEntity } from "@/data/Activity";
|
|
10
|
-
export declare enum EventType {
|
|
11
|
-
PRO = "normal",
|
|
12
|
-
PERSO = "personal",
|
|
13
|
-
EXTERNAL = "external",
|
|
14
|
-
ICS = "ics"
|
|
15
|
-
}
|
|
16
|
-
export declare enum EventStatus {
|
|
17
|
-
PENDING = "pending",
|
|
18
|
-
DECLINED = "declined",
|
|
19
|
-
ACCEPTED = "accepted",
|
|
20
|
-
IN_PROGRESS = "inProgress",
|
|
21
|
-
NO_SHOW = "noShow",
|
|
22
|
-
COMPLETED = "completed",
|
|
23
|
-
CANCELLED = "cancelled",
|
|
24
|
-
PERSONAL = "personal",
|
|
25
|
-
PERSONAL_CANCELLED = "personal_cancelled",
|
|
26
|
-
EXTERNAL = "external",
|
|
27
|
-
UNDEFINED = "undefined",
|
|
28
|
-
CUSTOM = "custom",
|
|
29
|
-
PENDING_PAYMENT = "pendingPayment"
|
|
30
|
-
}
|
|
31
|
-
export type EventEntity<Type = EntityType> = Type extends SecuredEntity ? EventSecuredEntity : EventPublicEntity;
|
|
32
|
-
export declare class EventPublicEntity extends PublicBodyEntity {
|
|
33
|
-
id?: string;
|
|
34
|
-
company: CompanyPublicEntity;
|
|
35
|
-
services: ServicePublicEntity[];
|
|
36
|
-
staffs: StaffPublicEntity[];
|
|
37
|
-
start: Date;
|
|
38
|
-
end: Date;
|
|
39
|
-
status: string;
|
|
40
|
-
customStatus?: CustomStatusEntity;
|
|
41
|
-
notes?: string;
|
|
42
|
-
contact: ContactEntity;
|
|
43
|
-
location: LocationType[];
|
|
44
|
-
locationCustom?: string;
|
|
45
|
-
form?: FormItemEntity[];
|
|
46
|
-
histories?: AppointmentActivityEntity[];
|
|
47
|
-
source?: string;
|
|
48
|
-
sourceType?: 'manual' | 'widget' | 'external' | 'manualPhone' | 'api' | 'backofficeWidget' | 'mobile' | 'facebook' | 'internalWidget' | '' | undefined;
|
|
49
|
-
onlineMeeting?: {
|
|
50
|
-
link: string;
|
|
51
|
-
};
|
|
52
|
-
cancellable?: boolean;
|
|
53
|
-
static fromDto(dto: EventPublicDto): EventPublicEntity;
|
|
54
|
-
}
|
|
55
|
-
export declare class EventPublicDto {
|
|
56
|
-
id: string;
|
|
57
|
-
company: CompanyPublicDto;
|
|
58
|
-
services: ServicePublicDto[];
|
|
59
|
-
staffs: StaffPublicDto[];
|
|
60
|
-
start: {
|
|
61
|
-
dateTime: string;
|
|
62
|
-
timeZone: string;
|
|
63
|
-
};
|
|
64
|
-
end: {
|
|
65
|
-
dateTime: string;
|
|
66
|
-
timeZone: string;
|
|
67
|
-
};
|
|
68
|
-
status: string;
|
|
69
|
-
customStatus?: CustomStatusEntity;
|
|
70
|
-
notes?: string;
|
|
71
|
-
client: ContactDto;
|
|
72
|
-
location: LocationType[];
|
|
73
|
-
customLocation?: string;
|
|
74
|
-
cancellable?: boolean;
|
|
75
|
-
locationLink?: string;
|
|
76
|
-
form?: FormItemDto[];
|
|
77
|
-
histories?: ActivityDto[];
|
|
78
|
-
source?: string;
|
|
79
|
-
sourceType?: 'manual' | 'widget' | 'external' | 'manualPhone' | 'api' | 'backofficeWidget' | 'mobile' | 'facebook' | 'internalWidget' | '' | undefined;
|
|
80
|
-
onlineMeeting?: {
|
|
81
|
-
link: string;
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
export declare class EventSecuredEntity extends SecuredBodyEntity {
|
|
85
|
-
id?: string;
|
|
86
|
-
owner?: {
|
|
87
|
-
id: string;
|
|
88
|
-
userName: string;
|
|
89
|
-
};
|
|
90
|
-
company?: {
|
|
91
|
-
id: string;
|
|
92
|
-
name?: string;
|
|
93
|
-
encryptedId?: string;
|
|
94
|
-
};
|
|
95
|
-
service?: {
|
|
96
|
-
id: string;
|
|
97
|
-
name?: string;
|
|
98
|
-
color?: string;
|
|
99
|
-
preparationDuration?: number;
|
|
100
|
-
bufferDuration?: number;
|
|
101
|
-
capacity?: number;
|
|
102
|
-
};
|
|
103
|
-
staff?: {
|
|
104
|
-
id: string;
|
|
105
|
-
firstName?: string;
|
|
106
|
-
lastName?: string;
|
|
107
|
-
phone?: string;
|
|
108
|
-
email?: string;
|
|
109
|
-
externalId?: string;
|
|
110
|
-
userId?: string;
|
|
111
|
-
};
|
|
112
|
-
client?: {
|
|
113
|
-
id: string;
|
|
114
|
-
firstName?: string;
|
|
115
|
-
lastName?: string;
|
|
116
|
-
email?: string;
|
|
117
|
-
phone?: string;
|
|
118
|
-
externalId?: string;
|
|
119
|
-
};
|
|
120
|
-
start: Date;
|
|
121
|
-
end: Date;
|
|
122
|
-
status?: string;
|
|
123
|
-
type: string;
|
|
124
|
-
source: string;
|
|
125
|
-
price?: number;
|
|
126
|
-
paid?: boolean;
|
|
127
|
-
notes?: string;
|
|
128
|
-
summary?: string;
|
|
129
|
-
form?: FormItemEntity[];
|
|
130
|
-
metaEvent?: boolean;
|
|
131
|
-
metaEventId?: string;
|
|
132
|
-
onlineMeeting?: {
|
|
133
|
-
provider: string;
|
|
134
|
-
videoLink: string;
|
|
135
|
-
};
|
|
136
|
-
parameters?: any;
|
|
137
|
-
events?: EventSecuredEntity[];
|
|
138
|
-
privacyConsent?: ConsentEntity;
|
|
139
|
-
marketingConsent?: ConsentEntity;
|
|
140
|
-
location: LocationType;
|
|
141
|
-
locationCustom?: string;
|
|
142
|
-
preparationDuration?: number;
|
|
143
|
-
bufferDuration?: number;
|
|
144
|
-
customStatus?: CustomStatusEntity;
|
|
145
|
-
securityKey?: string;
|
|
146
|
-
static fromDto(dto: EventSecuredDto, type?: EventType | string): EventSecuredEntity;
|
|
147
|
-
static toDto(entity: EventSecuredEntity, timeZone?: string): EventSecuredDto;
|
|
148
|
-
}
|
|
149
|
-
export declare class EventSecuredDto {
|
|
150
|
-
id?: string;
|
|
151
|
-
owner?: {
|
|
152
|
-
id: string;
|
|
153
|
-
userName: string;
|
|
154
|
-
};
|
|
155
|
-
company?: {
|
|
156
|
-
id: string;
|
|
157
|
-
name?: string;
|
|
158
|
-
};
|
|
159
|
-
service?: {
|
|
160
|
-
id: string;
|
|
161
|
-
name?: string;
|
|
162
|
-
color?: string;
|
|
163
|
-
preparationDuration?: number;
|
|
164
|
-
bufferDuration?: number;
|
|
165
|
-
capacity?: number;
|
|
166
|
-
};
|
|
167
|
-
staff?: {
|
|
168
|
-
id: string;
|
|
169
|
-
firstName?: string;
|
|
170
|
-
lastName?: string;
|
|
171
|
-
phone?: string;
|
|
172
|
-
email?: string;
|
|
173
|
-
externalId?: string;
|
|
174
|
-
userId?: string;
|
|
175
|
-
};
|
|
176
|
-
client?: {
|
|
177
|
-
id: string;
|
|
178
|
-
firstName?: string;
|
|
179
|
-
lastName?: string;
|
|
180
|
-
email?: string;
|
|
181
|
-
phone?: string;
|
|
182
|
-
externalId?: string;
|
|
183
|
-
};
|
|
184
|
-
start: {
|
|
185
|
-
dateTime: string;
|
|
186
|
-
timeZone?: string;
|
|
187
|
-
};
|
|
188
|
-
end: {
|
|
189
|
-
dateTime: string;
|
|
190
|
-
timeZone?: string;
|
|
191
|
-
};
|
|
192
|
-
status?: string;
|
|
193
|
-
type: string;
|
|
194
|
-
source: string;
|
|
195
|
-
paid?: boolean;
|
|
196
|
-
price?: number;
|
|
197
|
-
notes?: string;
|
|
198
|
-
summary?: string;
|
|
199
|
-
form?: FormItemDto[];
|
|
200
|
-
'meta-event'?: boolean;
|
|
201
|
-
metaEventId?: string;
|
|
202
|
-
onlineMeeting?: {
|
|
203
|
-
provider: string;
|
|
204
|
-
videoLink: string;
|
|
205
|
-
};
|
|
206
|
-
parameters?: any;
|
|
207
|
-
events?: EventSecuredDto[];
|
|
208
|
-
privacyConsent?: ConsentEntity;
|
|
209
|
-
marketingConsent?: ConsentEntity;
|
|
210
|
-
location: LocationType;
|
|
211
|
-
locationCustom?: string;
|
|
212
|
-
preparationDuration?: number;
|
|
213
|
-
bufferDuration?: number;
|
|
214
|
-
customStatus?: CustomStatusDto;
|
|
215
|
-
securityKey?: string;
|
|
216
|
-
}
|
|
@@ -1,220 +0,0 @@
|
|
|
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
|
-
*/
|
|
16
|
-
import { CustomStatusDto } from "./CustomStatus";
|
|
17
|
-
import { EventSecuredEntity } from "./Event";
|
|
18
|
-
import { LocationType } from "@/data/Service";
|
|
19
|
-
export declare class EventSearchEntity {
|
|
20
|
-
id?: string;
|
|
21
|
-
company?: EventSearchCompanyEntity;
|
|
22
|
-
service?: EventSearchServiceEntity;
|
|
23
|
-
staff?: EventSearchStaffEntity;
|
|
24
|
-
contact?: EventSearchContactEntity;
|
|
25
|
-
location: EventSearchLocationEntity;
|
|
26
|
-
start: Date;
|
|
27
|
-
end: Date;
|
|
28
|
-
status?: EventSearchStatusEntity;
|
|
29
|
-
conflict?: boolean;
|
|
30
|
-
conflicts?: EventSearchConflictEntity[];
|
|
31
|
-
securityKey?: string;
|
|
32
|
-
static fromEventDto(dto: EventSearchDto): EventSearchEntity;
|
|
33
|
-
static toEventEntity(searchEntity: EventSearchEntity): EventSecuredEntity;
|
|
34
|
-
}
|
|
35
|
-
export declare class EventSearchCompanyEntity {
|
|
36
|
-
id: string;
|
|
37
|
-
name: string;
|
|
38
|
-
timeZone?: string;
|
|
39
|
-
static fromDto(dto: EventSearchCompanyDto): EventSearchCompanyEntity;
|
|
40
|
-
}
|
|
41
|
-
export declare class EventSearchServiceEntity {
|
|
42
|
-
id: string;
|
|
43
|
-
name: string;
|
|
44
|
-
static fromDto(dto: EventSearchServiceDto): EventSearchServiceEntity;
|
|
45
|
-
}
|
|
46
|
-
export declare class EventSearchStaffEntity {
|
|
47
|
-
id: string;
|
|
48
|
-
firstName?: string;
|
|
49
|
-
lastName?: string;
|
|
50
|
-
externalId?: string;
|
|
51
|
-
userId?: string;
|
|
52
|
-
static fromDto(dto: EventSearchStaffDto): EventSearchStaffEntity;
|
|
53
|
-
}
|
|
54
|
-
export declare class EventSearchContactEntity {
|
|
55
|
-
id: string;
|
|
56
|
-
title?: string;
|
|
57
|
-
firstName?: string;
|
|
58
|
-
lastName?: string;
|
|
59
|
-
email?: string;
|
|
60
|
-
phone?: string;
|
|
61
|
-
reference?: string;
|
|
62
|
-
static fromDto(dto: EventSearchContactDto): EventSearchContactEntity;
|
|
63
|
-
}
|
|
64
|
-
export declare class EventSearchLocationEntity {
|
|
65
|
-
type: LocationType;
|
|
66
|
-
static fromDto(dto: EventSearchLocationDto): EventSearchLocationEntity;
|
|
67
|
-
}
|
|
68
|
-
export declare class EventSearchStatusEntity {
|
|
69
|
-
id: string;
|
|
70
|
-
standard: boolean;
|
|
71
|
-
label?: string;
|
|
72
|
-
color?: string;
|
|
73
|
-
static fromDto(dto: EventSearchStatusDto): EventSearchStatusEntity;
|
|
74
|
-
}
|
|
75
|
-
export declare class EventSearchConflictEntity {
|
|
76
|
-
event?: string;
|
|
77
|
-
company?: string;
|
|
78
|
-
reason: EventSearchConflictReason;
|
|
79
|
-
source: EventSearchConflictSource;
|
|
80
|
-
static fromDto(dto: EventSearchConflictDto): EventSearchConflictEntity;
|
|
81
|
-
}
|
|
82
|
-
export declare enum EventSearchConflictReason {
|
|
83
|
-
STAFF = "STAFF",
|
|
84
|
-
SERVICE = "SERVICE",
|
|
85
|
-
STAFF_TIME = "STAFF_TIME",
|
|
86
|
-
SERVICE_TIME = "SERVICE_TIME",
|
|
87
|
-
SERVICE_SKILL = "SERVICE_SKILL",
|
|
88
|
-
STAFF_RESCHEDULE = "STAFF_RESCHEDULE",
|
|
89
|
-
STAFF_VACATION = "STAFF_VACATION",
|
|
90
|
-
UNKNOWN = "UNKNOWN"
|
|
91
|
-
}
|
|
92
|
-
export declare enum EventSearchConflictSource {
|
|
93
|
-
SERVICE_NOT_AVAILABLE = "SERVICE_NOT_AVAILABLE",
|
|
94
|
-
STAFF_NOT_AVAILABLE = "STAFF_NOT_AVAILABLE",
|
|
95
|
-
UNKNOWN = "UNKNOWN"
|
|
96
|
-
}
|
|
97
|
-
export declare class EventSearchPageEntity {
|
|
98
|
-
items: EventSearchEntity[];
|
|
99
|
-
totalItems: number;
|
|
100
|
-
nextSyncToken?: string;
|
|
101
|
-
nextPageToken?: string;
|
|
102
|
-
static fromDto(dto: EventSearchPageDto): EventSearchPageEntity;
|
|
103
|
-
}
|
|
104
|
-
export interface EventSearchOption {
|
|
105
|
-
page?: number;
|
|
106
|
-
pageToken?: string;
|
|
107
|
-
orderBy?: string;
|
|
108
|
-
maxResults?: number;
|
|
109
|
-
}
|
|
110
|
-
export declare class EventSearchBodyEntity {
|
|
111
|
-
basicSearch?: string;
|
|
112
|
-
timeZone?: string;
|
|
113
|
-
start?: Date;
|
|
114
|
-
end?: Date;
|
|
115
|
-
companies: EventSearchBodyCompanyEntity[];
|
|
116
|
-
status?: string[];
|
|
117
|
-
conflict?: boolean;
|
|
118
|
-
cancelledOrDeclined?: boolean;
|
|
119
|
-
static fromDto(dto: EventSearchBodyDto): EventSearchBodyEntity;
|
|
120
|
-
static toDto(entity: EventSearchBodyEntity, timeZone: string): EventSearchBodyDto;
|
|
121
|
-
}
|
|
122
|
-
export declare class EventSearchBodyCompanyEntity {
|
|
123
|
-
companyId: string;
|
|
124
|
-
staffIds?: string[];
|
|
125
|
-
staffGroupIds?: string[];
|
|
126
|
-
serviceIds?: string[];
|
|
127
|
-
serviceGroupIds?: string[];
|
|
128
|
-
static toDto(entity: EventSearchBodyCompanyEntity): EventSearchBodyCompanyDto;
|
|
129
|
-
static fromDto(dto: EventSearchBodyCompanyDto): EventSearchBodyCompanyEntity;
|
|
130
|
-
}
|
|
131
|
-
export interface EventSearchConflictDto {
|
|
132
|
-
event?: string;
|
|
133
|
-
company?: string;
|
|
134
|
-
reason: string;
|
|
135
|
-
source: string;
|
|
136
|
-
}
|
|
137
|
-
export interface EventSearchStatusDto {
|
|
138
|
-
id: string;
|
|
139
|
-
standard: boolean;
|
|
140
|
-
label?: string;
|
|
141
|
-
color?: string;
|
|
142
|
-
}
|
|
143
|
-
export interface EventSearchBodyDto {
|
|
144
|
-
basicSearch?: string;
|
|
145
|
-
timeZone?: string;
|
|
146
|
-
start?: {
|
|
147
|
-
dateTime: string;
|
|
148
|
-
timeZone?: string;
|
|
149
|
-
};
|
|
150
|
-
end?: {
|
|
151
|
-
dateTime: string;
|
|
152
|
-
timeZone?: string;
|
|
153
|
-
};
|
|
154
|
-
companies: EventSearchBodyCompanyDto[];
|
|
155
|
-
status?: string[];
|
|
156
|
-
conflict?: boolean;
|
|
157
|
-
cancelledOrDeclined?: boolean;
|
|
158
|
-
}
|
|
159
|
-
export interface EventSearchBodyCompanyDto {
|
|
160
|
-
companyId: string;
|
|
161
|
-
staffIds?: string[];
|
|
162
|
-
staffGroupIds?: string[];
|
|
163
|
-
serviceIds?: string[];
|
|
164
|
-
serviceGroupIds?: string[];
|
|
165
|
-
}
|
|
166
|
-
export interface EventSearchPageDto {
|
|
167
|
-
items: EventSearchDto[];
|
|
168
|
-
totalItems: number;
|
|
169
|
-
nextSyncToken?: string;
|
|
170
|
-
nextPageToken?: string;
|
|
171
|
-
}
|
|
172
|
-
export declare class EventSearchCompanyDto {
|
|
173
|
-
id: string;
|
|
174
|
-
name: string;
|
|
175
|
-
timeZone?: string;
|
|
176
|
-
}
|
|
177
|
-
export declare class EventSearchServiceDto {
|
|
178
|
-
id: string;
|
|
179
|
-
name: string;
|
|
180
|
-
}
|
|
181
|
-
export declare class EventSearchStaffDto {
|
|
182
|
-
id: string;
|
|
183
|
-
firstName?: string;
|
|
184
|
-
lastName?: string;
|
|
185
|
-
externalId?: string;
|
|
186
|
-
userId?: string;
|
|
187
|
-
}
|
|
188
|
-
export declare class EventSearchContactDto {
|
|
189
|
-
id: string;
|
|
190
|
-
title?: string;
|
|
191
|
-
firstName?: string;
|
|
192
|
-
lastName?: string;
|
|
193
|
-
email?: string;
|
|
194
|
-
phone?: string;
|
|
195
|
-
reference?: string;
|
|
196
|
-
}
|
|
197
|
-
export declare class EventSearchLocationDto {
|
|
198
|
-
type: LocationType;
|
|
199
|
-
}
|
|
200
|
-
export declare class EventSearchDto {
|
|
201
|
-
id?: string;
|
|
202
|
-
company?: EventSearchCompanyDto;
|
|
203
|
-
service?: EventSearchServiceDto;
|
|
204
|
-
staff?: EventSearchStaffDto;
|
|
205
|
-
contact?: EventSearchContactDto;
|
|
206
|
-
location: EventSearchLocationDto;
|
|
207
|
-
startDate: {
|
|
208
|
-
dateTime: string;
|
|
209
|
-
timeZone?: string;
|
|
210
|
-
};
|
|
211
|
-
endDate: {
|
|
212
|
-
dateTime: string;
|
|
213
|
-
timeZone?: string;
|
|
214
|
-
};
|
|
215
|
-
status?: EventSearchStatusDto;
|
|
216
|
-
customStatus?: CustomStatusDto;
|
|
217
|
-
conflict?: boolean;
|
|
218
|
-
conflicts?: EventSearchConflictDto[];
|
|
219
|
-
securityKey?: string;
|
|
220
|
-
}
|
package/dist/data/Form.d.ts
DELETED
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
import { EntityType, PublicBodyEntity, SecuredBodyEntity, SecuredEntity } from "@/data/Common";
|
|
2
|
-
export declare const FORM_FILE_MAX_SIZE = 10;
|
|
3
|
-
export declare const FORM_FILE_EXTENSIONS: string[];
|
|
4
|
-
export type FormBuilderEntity<Type = EntityType> = Type extends SecuredEntity ? FormBuilderSecuredEntity : FormBuilderPublicEntity;
|
|
5
|
-
export interface FormDtoOptionParser {
|
|
6
|
-
splitValues?: boolean;
|
|
7
|
-
splitValuesSeparator?: string;
|
|
8
|
-
useSelectGroup?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const FormDtoOptionParserDefault: FormDtoOptionParser;
|
|
11
|
-
export declare class PagePublicEntity {
|
|
12
|
-
fields: Array<FormItemEntity>;
|
|
13
|
-
legend?: string;
|
|
14
|
-
static fromPageDto(dto: PagePublicDto, options?: FormDtoOptionParser): PagePublicEntity;
|
|
15
|
-
static toPageDto(page: PagePublicEntity): PagePublicDto;
|
|
16
|
-
}
|
|
17
|
-
export declare class PagePublicDto {
|
|
18
|
-
fields: Array<FormItemDto>;
|
|
19
|
-
legend?: string;
|
|
20
|
-
}
|
|
21
|
-
export declare class FormBuilderPublicEntity extends PublicBodyEntity {
|
|
22
|
-
pages: Array<PagePublicEntity>;
|
|
23
|
-
name: string;
|
|
24
|
-
language: string;
|
|
25
|
-
author: string;
|
|
26
|
-
submitMessage?: string;
|
|
27
|
-
privateDataConsentMessage?: string;
|
|
28
|
-
marketingListConsentMessage?: string;
|
|
29
|
-
title?: string;
|
|
30
|
-
welcomeMessage?: string;
|
|
31
|
-
static fromFormDto(dto: FormBuilderPublicDto, options?: FormDtoOptionParser): FormBuilderPublicEntity;
|
|
32
|
-
static toFormDto(form: FormBuilderPublicEntity): FormBuilderPublicDto;
|
|
33
|
-
}
|
|
34
|
-
export declare class FormBuilderPublicDto {
|
|
35
|
-
pages: Array<PagePublicDto>;
|
|
36
|
-
name: string;
|
|
37
|
-
language: string;
|
|
38
|
-
author: string;
|
|
39
|
-
submitMessage?: string;
|
|
40
|
-
privateDataConsentMessage?: string;
|
|
41
|
-
marketingListConsentMessage?: string;
|
|
42
|
-
title?: string;
|
|
43
|
-
welcomeMessage?: string;
|
|
44
|
-
}
|
|
45
|
-
export declare class FormBuilderSecuredEntity extends SecuredBodyEntity {
|
|
46
|
-
id: string;
|
|
47
|
-
author: string;
|
|
48
|
-
name: string;
|
|
49
|
-
title: string;
|
|
50
|
-
submitMessage?: string;
|
|
51
|
-
description?: string;
|
|
52
|
-
fields?: FormItemEntity[];
|
|
53
|
-
followUp?: boolean;
|
|
54
|
-
emailNotifications?: boolean;
|
|
55
|
-
emailNotificationsAddresses?: string[];
|
|
56
|
-
clientEmailNotifications?: boolean;
|
|
57
|
-
finalizeLater?: boolean;
|
|
58
|
-
finalizeLaterEmailMessage?: string;
|
|
59
|
-
useAccountConsent?: boolean;
|
|
60
|
-
formResultCount?: number;
|
|
61
|
-
static fromFormBuilderDto(dto: FormBuilderSecuredDto): FormBuilderSecuredEntity;
|
|
62
|
-
static toFromBuilderDto(entity: FormBuilderSecuredEntity): FormBuilderSecuredDto;
|
|
63
|
-
}
|
|
64
|
-
export declare class FormBuilderSecuredDto {
|
|
65
|
-
id: string;
|
|
66
|
-
author: string;
|
|
67
|
-
name: string;
|
|
68
|
-
title: string;
|
|
69
|
-
description?: string;
|
|
70
|
-
submitMessage?: string;
|
|
71
|
-
fields?: FormItemDto[];
|
|
72
|
-
followUp?: boolean;
|
|
73
|
-
emailNotifications?: boolean;
|
|
74
|
-
emailNotificationsAddresses?: string[];
|
|
75
|
-
clientEmailNotifications?: boolean;
|
|
76
|
-
finalizeLater?: boolean;
|
|
77
|
-
finalizeLaterEmailMessage?: string;
|
|
78
|
-
useAccountConsent?: boolean;
|
|
79
|
-
formResultCount?: number;
|
|
80
|
-
}
|
|
81
|
-
export declare class FormValueEntity {
|
|
82
|
-
id: string;
|
|
83
|
-
name?: string;
|
|
84
|
-
value?: any;
|
|
85
|
-
values?: FormValueEntity[];
|
|
86
|
-
static fromCustomFormValueDto(dto: FormValueDto): FormValueEntity;
|
|
87
|
-
static toFormValueDto(entity: FormValueEntity, prefixValue?: string): FormValueDto;
|
|
88
|
-
}
|
|
89
|
-
export declare class WidgetFormEntity {
|
|
90
|
-
id: string;
|
|
91
|
-
fields?: FormItemEntity[];
|
|
92
|
-
contactFields?: FormItemEntity[];
|
|
93
|
-
uniqueForCompany?: boolean;
|
|
94
|
-
static fromDto(dto: WidgetFormDto): WidgetFormEntity;
|
|
95
|
-
}
|
|
96
|
-
export declare class WidgetFormDto {
|
|
97
|
-
id: string;
|
|
98
|
-
pages?: {
|
|
99
|
-
fields: FormItemDto[];
|
|
100
|
-
}[];
|
|
101
|
-
uniqueForCompany?: boolean;
|
|
102
|
-
}
|
|
103
|
-
export declare class FormItemEntity {
|
|
104
|
-
id: string;
|
|
105
|
-
label?: string;
|
|
106
|
-
type: string;
|
|
107
|
-
inputType?: string;
|
|
108
|
-
visible?: boolean;
|
|
109
|
-
backofficeVisible?: boolean;
|
|
110
|
-
disabled?: boolean;
|
|
111
|
-
required?: boolean;
|
|
112
|
-
values?: FormValueEntity[];
|
|
113
|
-
subItem?: FormItemEntity[];
|
|
114
|
-
valueGroups?: FormValueEntity[];
|
|
115
|
-
formatType?: 'none' | 'numeric' | 'alphanumeric' | 'regex';
|
|
116
|
-
pattern?: string;
|
|
117
|
-
minlength?: number;
|
|
118
|
-
maxlength?: number;
|
|
119
|
-
externalId?: string;
|
|
120
|
-
help?: string;
|
|
121
|
-
placeholder?: string;
|
|
122
|
-
otherValue?: boolean;
|
|
123
|
-
category?: boolean;
|
|
124
|
-
readonly?: boolean;
|
|
125
|
-
value?: any;
|
|
126
|
-
fileName?: string;
|
|
127
|
-
multiple?: boolean;
|
|
128
|
-
bind?: string;
|
|
129
|
-
bindGroup?: string;
|
|
130
|
-
static fromFormDto(dto: FormItemDto, options?: FormDtoOptionParser): FormItemEntity;
|
|
131
|
-
static fromWidgetFormItemDto(dto: WidgetFormItemDto): FormItemEntity;
|
|
132
|
-
static toFormDto(entity: FormItemEntity): FormItemDto;
|
|
133
|
-
static formItemToFormField(field: FormItemEntity, showInvisible: boolean): {
|
|
134
|
-
id: string;
|
|
135
|
-
inputType: string;
|
|
136
|
-
label: string | undefined;
|
|
137
|
-
mandatory: boolean | undefined;
|
|
138
|
-
visible: boolean;
|
|
139
|
-
backofficeVisible: boolean | undefined;
|
|
140
|
-
values: {
|
|
141
|
-
label: string;
|
|
142
|
-
value: string;
|
|
143
|
-
values?: {
|
|
144
|
-
label: string;
|
|
145
|
-
value: string;
|
|
146
|
-
}[];
|
|
147
|
-
}[] | undefined;
|
|
148
|
-
placeholder: string | undefined;
|
|
149
|
-
bind: string | undefined;
|
|
150
|
-
multiple: boolean | undefined;
|
|
151
|
-
value: any;
|
|
152
|
-
pattern: string | undefined;
|
|
153
|
-
disabled: boolean | undefined;
|
|
154
|
-
minlength: number | undefined;
|
|
155
|
-
maxlength: number | undefined;
|
|
156
|
-
};
|
|
157
|
-
static formItemsToFormFields(formItems: FormItemEntity[], extractSubItem?: boolean, showInvisible?: boolean): any[] | undefined;
|
|
158
|
-
}
|
|
159
|
-
export declare class FormItemDto {
|
|
160
|
-
id: string;
|
|
161
|
-
label?: string;
|
|
162
|
-
title?: string;
|
|
163
|
-
type: string;
|
|
164
|
-
inputType?: string;
|
|
165
|
-
visible?: boolean;
|
|
166
|
-
backofficeVisible?: boolean;
|
|
167
|
-
disabled?: boolean;
|
|
168
|
-
mandatory?: boolean;
|
|
169
|
-
values?: FormValueDto[];
|
|
170
|
-
subItem?: FormItemDto[];
|
|
171
|
-
valueGroups?: FormValueDto[];
|
|
172
|
-
valueFormat?: {
|
|
173
|
-
type?: 'none' | 'numeric' | 'alphanumeric' | 'regex';
|
|
174
|
-
valueFormat?: 'none' | 'numeric' | 'alphanumeric' | 'regex';
|
|
175
|
-
minLength?: number;
|
|
176
|
-
maxLength?: number;
|
|
177
|
-
regexType?: string;
|
|
178
|
-
regexValue?: string;
|
|
179
|
-
};
|
|
180
|
-
minlength?: number;
|
|
181
|
-
maxlength?: number;
|
|
182
|
-
pattern?: string;
|
|
183
|
-
externalId?: string;
|
|
184
|
-
help?: string;
|
|
185
|
-
placeholder?: string;
|
|
186
|
-
otherValue?: boolean;
|
|
187
|
-
category?: boolean;
|
|
188
|
-
readonly?: boolean;
|
|
189
|
-
value?: any;
|
|
190
|
-
fileName?: string;
|
|
191
|
-
multiple?: boolean;
|
|
192
|
-
bind?: string;
|
|
193
|
-
bindGroup?: string;
|
|
194
|
-
zonedDateTime?: {
|
|
195
|
-
dateTime: string;
|
|
196
|
-
timeZone: string;
|
|
197
|
-
};
|
|
198
|
-
required?: boolean;
|
|
199
|
-
}
|
|
200
|
-
export declare class WidgetFormItemDto {
|
|
201
|
-
id: string;
|
|
202
|
-
label?: string;
|
|
203
|
-
title?: string;
|
|
204
|
-
type: string;
|
|
205
|
-
inputType?: string;
|
|
206
|
-
visible?: boolean;
|
|
207
|
-
backofficeVisible?: boolean;
|
|
208
|
-
disabled?: boolean;
|
|
209
|
-
placeholder?: string;
|
|
210
|
-
help?: string;
|
|
211
|
-
externalId?: string;
|
|
212
|
-
required?: boolean;
|
|
213
|
-
values?: FormValueDto[];
|
|
214
|
-
pattern?: string;
|
|
215
|
-
minlength?: number;
|
|
216
|
-
maxlength?: number;
|
|
217
|
-
readonly?: boolean;
|
|
218
|
-
value?: any;
|
|
219
|
-
fileName?: string;
|
|
220
|
-
multiple?: boolean;
|
|
221
|
-
bind?: string;
|
|
222
|
-
bindGroup?: string;
|
|
223
|
-
}
|
|
224
|
-
export declare class FormValueDto {
|
|
225
|
-
id: string;
|
|
226
|
-
name?: string;
|
|
227
|
-
value?: string;
|
|
228
|
-
values?: FormValueDto[];
|
|
229
|
-
}
|