{ "version": 3, "sources": ["src/app/store/selfservice/actions/agreement.actions.ts", "src/app/store/selfservice/actions/forms.actions.ts", "src/app/store/selfservice/actions/bookings.actions.ts", "src/app/store/selfservice/actions/index.ts", "src/app/store/selfservice/reducers/agreement.reducer.ts", "src/app/store/selfservice/reducers/forms.reducer.ts", "src/app/store/selfservice/reducers/bookings.reducer.ts", "src/app/store/selfservice/reducers/index.ts", "src/app/store/selfservice/services/agreement.service.ts", "src/app/store/selfservice/effects/agreement.effects.ts", "src/app/store/selfservice/services/forms.service.ts", "src/app/store/selfservice/effects/forms.effects.ts", "src/app/store/selfservice/services/bookings.service.ts", "src/app/store/selfservice/services/index.ts", "src/app/store/selfservice/effects/booking.effects.ts", "src/app/store/selfservice/effects/index.ts", "src/app/store/selfservice/index.ts"], "sourcesContent": ["import { Action } from '@ngrx/store';\r\nimport {SelfServiceAgreement, SelfServiceEsignForm } from '@model';\r\n\r\nexport enum AgreementActionTypes {\r\n AgreementLinkLoad = '[Agreement] Link Load',\r\n AgreementLinkLoadSuccess = '[Agreement] Link Load Success',\r\n AgreementLinkLoadFail = '[Agreement] Link Load Fail',\r\n SelfServiceAgreementsLoad = '[SelfServicegreements] Load data',\r\n SelfServiceAgreementsLoadSuccess = '[SelfServicegreements] Load success',\r\n SelfServiceAgreementsLoadFail = '[SelfServiceAgreements] Load fail',\r\n CreateSelfServiceAgreement = '[SelfServiceAgreement] create e-signature selfservice agreement',\r\n CreateSelfServiceAgreementSuccess = '[SelfServiceAgreement] create e-signature selfservice agreement success',\r\n CreateSelfServiceAgreementFail = '[SelfServiceAgreement] create e-signature selfservice agreement fail'\r\n}\r\n\r\nexport class AgreementLinkLoad implements Action {\r\n readonly type = AgreementActionTypes.AgreementLinkLoad;\r\n constructor(public agreementId: number) {}\r\n}\r\n\r\nexport class AgreementLinkLoadSuccess implements Action {\r\n readonly type = AgreementActionTypes.AgreementLinkLoadSuccess;\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class AgreementLinkLoadFail implements Action {\r\n readonly type = AgreementActionTypes.AgreementLinkLoadFail;\r\n constructor(public payload: any) {}\r\n}\r\n\r\nexport class SelfServiceAgreementsLoad implements Action {\r\n readonly type = AgreementActionTypes.SelfServiceAgreementsLoad;\r\n constructor() {}\r\n}\r\n\r\nexport class SelfServiceAgreementsLoadSuccess implements Action {\r\n readonly type = AgreementActionTypes.SelfServiceAgreementsLoadSuccess;\r\n constructor(public payload: SelfServiceAgreement[]) {}\r\n}\r\nexport class SelfServiceAgreementsLoadFail implements Action {\r\n readonly type = AgreementActionTypes.SelfServiceAgreementsLoadFail;\r\n constructor(public payload: any) {}\r\n}\r\n\r\nexport class CreateSelfServiceAgreement implements Action {\r\n readonly type = AgreementActionTypes.CreateSelfServiceAgreement;\r\n constructor(public payload: SelfServiceEsignForm) {}\r\n}\r\n\r\nexport class CreateSelfServiceAgreementSuccess implements Action {\r\n readonly type = AgreementActionTypes.CreateSelfServiceAgreementSuccess;\r\n constructor(public payload: number) {}\r\n}\r\n\r\nexport class CreateSelfServiceAgreementFail implements Action {\r\n readonly type = AgreementActionTypes.CreateSelfServiceAgreementFail;\r\n constructor(public payload: any) {}\r\n}\r\n\r\nexport type AgreementActions = \r\n | AgreementLinkLoad\r\n | AgreementLinkLoadSuccess\r\n | AgreementLinkLoadFail\r\n | SelfServiceAgreementsLoad\r\n | SelfServiceAgreementsLoadSuccess\r\n | SelfServiceAgreementsLoadFail\r\n | CreateSelfServiceAgreement\r\n | CreateSelfServiceAgreementSuccess\r\n | CreateSelfServiceAgreementFail;", "import { FormCategoryInformation } from '@model';\r\nimport { Action } from '@ngrx/store';\r\n\r\nexport enum FormsActionTypes {\r\n\r\n LoadFormCategoriesData = '[FormCategories] Load',\r\n LoadFormCategoriesDataSuccess = '[FormCategories] Load success',\r\n LoadFormCategoriesDataFail = '[FormCategories] Load fail',\r\n }\r\n \r\n export class LoadFormCategories implements Action {\r\n readonly type = FormsActionTypes.LoadFormCategoriesData;\r\n constructor() {}\r\n }\r\n export class LoadFormCategoriesSuccess implements Action {\r\n readonly type = FormsActionTypes.LoadFormCategoriesDataSuccess;\r\n constructor(public payload: FormCategoryInformation) {}\r\n }\r\n export class LoadFormCategoriesFail implements Action {\r\n readonly type = FormsActionTypes.LoadFormCategoriesDataFail;\r\n constructor(public payload: any) {}\r\n }\r\n\r\n export type FormsActions =\r\n | LoadFormCategories\r\n | LoadFormCategoriesSuccess\r\n | LoadFormCategoriesFail;", "import { Action } from \"@ngrx/store\";\r\nimport { BookingService, BookingServiceRequest, CreateAppointmentRequest, CustomQuestion, SchedulingPolicy, SchedulingPolicyRequest, Staff, StaffAvailability, StaffAvailabilityRequest, StaffLoadRequest } from \"@model\";\r\n\r\nexport enum BookingActionTypes{\r\n BookingServicesLoad = '[Booking] Services Load',\r\n BookingServicesLoadSuccess = '[Booking] Services Load Success',\r\n BookingServicesLoadFail = '[Booking] Services Load Fail',\r\n SelectService = '[Booking] Select Service',\r\n SchedulingPolicyLoad = '[Booking] Scheduling Policy Load',\r\n SchedulingPolicyLoadSuccess = '[Booking] Scheduling Policy Load Success',\r\n SchedulingPolicyLoadFail = '[Booking] Scheduling Policy Load Fail', \r\n StaffAvailabilityLoad = '[Booking] Staff Availability Load',\r\n StaffAvailabilityLoadSuccess = '[Booking] Staff Availability Load Success',\r\n StaffAvailabilityLoadFail = '[Booking] Staff Availability Load Fail',\r\n StaffLoad = '[Booking] Staff Load',\r\n StaffLoadSuccess = '[Booking] Staff Load Success',\r\n StaffLoadFail = '[Booking] Staff Load Fail',\r\n CreateAppointment = '[Booking] Create Appointment',\r\n CreateAppointmentSuccess = '[Booking] Create Appointment Success',\r\n CreateAppointmentFail = '[Booking] Create Appointment Fail',\r\n ClearAppointment = '[Booking] Clear Appointment',\r\n ServiceCustomQuestionsLoad = '[Booking] Service Custom Questions Load',\r\n ServiceCustomQuestionsLoadSuccess = '[Booking] Service Custom Questions Load Success',\r\n ServiceCustomQuestionsLoadFail = '[Booking] Service Custom Questions Load Fail',\r\n}\r\n\r\nexport class BookingServicesLoad implements Action {\r\n readonly type = BookingActionTypes.BookingServicesLoad;\r\n constructor() {}\r\n}\r\n\r\nexport class BookingServicesLoadSuccess implements Action {\r\n readonly type = BookingActionTypes.BookingServicesLoadSuccess;\r\n constructor(public payload: BookingService[]) {}\r\n}\r\n\r\nexport class BookingServicesLoadFail implements Action {\r\n readonly type = BookingActionTypes.BookingServicesLoadFail;\r\n constructor(public payload: any) {}\r\n}\r\n\r\nexport class SelectService implements Action {\r\n readonly type = BookingActionTypes.SelectService;\r\n constructor(public payload: BookingService) {}\r\n}\r\n\r\nexport class SchedulingPolicyLoad implements Action {\r\n readonly type = BookingActionTypes.SchedulingPolicyLoad;\r\n constructor(public payload: SchedulingPolicyRequest) {}\r\n}\r\n\r\nexport class SchedulingPolicyLoadSuccess implements Action {\r\n readonly type = BookingActionTypes.SchedulingPolicyLoadSuccess;\r\n constructor(public payload: SchedulingPolicy) {}\r\n}\r\n\r\nexport class SchedulingPolicyLoadFail implements Action {\r\n readonly type = BookingActionTypes.SchedulingPolicyLoadFail;\r\n constructor(public payload: any) {}\r\n}\r\n\r\nexport class StaffLoad implements Action {\r\n readonly type = BookingActionTypes.StaffLoad;\r\n constructor(public payload: StaffLoadRequest) {}\r\n}\r\n\r\nexport class StaffLoadSuccess implements Action {\r\n readonly type = BookingActionTypes.StaffLoadSuccess;\r\n constructor(public payload: Staff) {}\r\n}\r\n\r\nexport class StaffLoadFail implements Action {\r\n readonly type = BookingActionTypes.StaffLoadFail;\r\n constructor(public payload: any) {}\r\n}\r\n\r\nexport class StaffAvailabilityLoad implements Action {\r\n readonly type = BookingActionTypes.StaffAvailabilityLoad;\r\n constructor(public payload: StaffAvailabilityRequest) {}\r\n}\r\n\r\nexport class StaffAvailabilityLoadSuccess implements Action {\r\n readonly type = BookingActionTypes.StaffAvailabilityLoadSuccess;\r\n constructor(public payload: StaffAvailability) {}\r\n}\r\n\r\nexport class StaffAvailabilityLoadFail implements Action {\r\n readonly type = BookingActionTypes.StaffAvailabilityLoadFail;\r\n constructor(public payload: any) {}\r\n}\r\n\r\nexport class CreateAppointment implements Action {\r\n readonly type = BookingActionTypes.CreateAppointment;\r\n constructor(public payload: CreateAppointmentRequest) {}\r\n}\r\n\r\nexport class CreateAppointmentSuccess implements Action {\r\n readonly type = BookingActionTypes.CreateAppointmentSuccess;\r\n constructor(public payload: boolean) {}\r\n}\r\n\r\nexport class CreateAppointmentFail implements Action {\r\n readonly type = BookingActionTypes.CreateAppointmentFail;\r\n constructor(public payload: any) {}\r\n}\r\n\r\nexport class ClearAppointment implements Action {\r\n readonly type = BookingActionTypes.ClearAppointment;\r\n constructor() {}\r\n}\r\n\r\nexport class ServiceCustomQuestionsLoad implements Action {\r\n readonly type = BookingActionTypes.ServiceCustomQuestionsLoad;\r\n constructor(public payload: BookingServiceRequest) {}\r\n}\r\n\r\nexport class ServiceCustomQuestionsLoadSuccess implements Action {\r\n readonly type = BookingActionTypes.ServiceCustomQuestionsLoadSuccess;\r\n constructor(public payload: CustomQuestion[]) {}\r\n}\r\n\r\nexport class ServiceCustomQuestionsLoadFail implements Action {\r\n readonly type = BookingActionTypes.ServiceCustomQuestionsLoadFail;\r\n constructor(public payload: any) {}\r\n}\r\n\r\nexport type BookingActions = \r\n BookingServicesLoad |\r\n BookingServicesLoadSuccess |\r\n BookingServicesLoadFail |\r\n SelectService |\r\n SchedulingPolicyLoad |\r\n SchedulingPolicyLoadSuccess |\r\n SchedulingPolicyLoadFail |\r\n StaffLoad |\r\n StaffLoadSuccess |\r\n StaffLoadFail |\r\n StaffAvailabilityLoad |\r\n StaffAvailabilityLoadSuccess |\r\n StaffAvailabilityLoadFail |\r\n CreateAppointment |\r\n CreateAppointmentSuccess |\r\n CreateAppointmentFail |\r\n ClearAppointment |\r\n ServiceCustomQuestionsLoad |\r\n ServiceCustomQuestionsLoadSuccess |\r\n ServiceCustomQuestionsLoadFail;", "import * as agreements from '@appStore/selfservice/actions/agreement.actions';\r\nimport * as forms from '@appStore/selfservice/actions/forms.actions';\r\nimport * as bookings from '@appStore/selfservice/actions/bookings.actions';\r\n\r\nexport * from '@appStore/selfservice/actions/agreement.actions';\r\nexport * from '@appStore/selfservice/actions/forms.actions';\r\nexport * from '@appStore/selfservice/actions/bookings.actions';\r\n\r\nexport const ActionTypes = {\r\n ...agreements.AgreementActionTypes, ...forms.FormsActionTypes, ...bookings.BookingActionTypes\r\n};\r\n\r\nexport type Actions =\r\n | agreements.AgreementActions\r\n | forms.FormsActions\r\n | bookings.BookingActions;\r\n", "import { Actions, ActionTypes } from '@appStore/selfservice/actions';\r\nimport { SelfServiceAgreement } from '@model';\r\n\r\nexport interface State {\r\n activeAgreementLink: string;\r\n activeAgreementLinkLoading: boolean;\r\n activeAgreementLinkLoaded: boolean;\r\n selfServiceAgreements: SelfServiceAgreement[];\r\n selfServiceAgreementsLoading: boolean;\r\n selfServiceAgreementsLoaded: boolean;\r\n selfServiceAgreementCreated: boolean;\r\n selfServiceAgreementCreatedLoading: boolean;\r\n selfServiceAgreementCreatedLoaded: boolean;\r\n selfServiceAgreementId: number;\r\n}\r\n\r\nexport const initialState: State = {\r\n activeAgreementLink: null,\r\n activeAgreementLinkLoading: false,\r\n activeAgreementLinkLoaded: false,\r\n selfServiceAgreements: null,\r\n selfServiceAgreementsLoading: false,\r\n selfServiceAgreementsLoaded: false,\r\n selfServiceAgreementCreated: false,\r\n selfServiceAgreementCreatedLoading: false,\r\n selfServiceAgreementCreatedLoaded: false,\r\n selfServiceAgreementId: null\r\n}\r\n\r\nexport function reducer(state = initialState, action: Actions): State {\r\n\r\n switch(action.type) {\r\n \r\n case ActionTypes.AgreementLinkLoad:\r\n return {...state, activeAgreementLink: null, activeAgreementLinkLoaded: false, activeAgreementLinkLoading: true };\r\n case ActionTypes.AgreementLinkLoadSuccess:\r\n return {...state, activeAgreementLink: action.payload, activeAgreementLinkLoaded: true, activeAgreementLinkLoading: false };\r\n case ActionTypes.AgreementLinkLoadFail:\r\n return {...state, activeAgreementLink: null, activeAgreementLinkLoaded: false, activeAgreementLinkLoading: false };\r\n \r\n case ActionTypes.SelfServiceAgreementsLoad:\r\n return { ...state, selfServiceAgreementsLoaded: false, selfServiceAgreementsLoading: true };\r\n case ActionTypes.SelfServiceAgreementsLoadSuccess:\r\n return { ...state,\r\n selfServiceAgreementsLoaded: true,\r\n selfServiceAgreementsLoading: false,\r\n selfServiceAgreements: action.payload };\r\n case ActionTypes.SelfServiceAgreementsLoadFail:\r\n return { ...state, selfServiceAgreementsLoaded: false, selfServiceAgreementsLoading: false };\r\n\r\n case ActionTypes.CreateSelfServiceAgreement:\r\n return {...state,\r\n selfServiceAgreementCreated: false,\r\n selfServiceAgreementCreatedLoading: true,\r\n selfServiceAgreementCreatedLoaded: false,\r\n selfServiceAgreementId: null };\r\n case ActionTypes.CreateSelfServiceAgreementSuccess:\r\n return {...state, \r\n selfServiceAgreementCreated: true,\r\n selfServiceAgreementCreatedLoading: false,\r\n selfServiceAgreementCreatedLoaded: true,\r\n selfServiceAgreementId: action.payload };\r\n case ActionTypes.CreateSelfServiceAgreementFail:\r\n return {...state, \r\n selfServiceAgreementCreated: false,\r\n selfServiceAgreementCreatedLoading: false,\r\n selfServiceAgreementCreatedLoaded: false,\r\n selfServiceAgreementId: null };\r\n }\r\n \r\n return state;\r\n}\r\n\r\nexport const getActiveAgreementLink = (state: State) => state.activeAgreementLink;\r\nexport const getActiveAgreementLinkLoaded = (state: State) => state.activeAgreementLinkLoaded;\r\nexport const getSelfServiceAgreements = (state: State) => state.selfServiceAgreements;\r\nexport const getSelfServiceAgreementsLoaded = (state: State) => state.selfServiceAgreementsLoaded;\r\nexport const getSelfServiceAgreementCreated = (state: State) => state.selfServiceAgreementCreated;\r\nexport const getSelfServiceAgreementCreateId = (state: State) => state.selfServiceAgreementId;", "import { FormsActions, FormsActionTypes } from '@appStore/selfservice/actions';\r\nimport { FormCategory } from '@model';\r\n\r\nexport interface State {\r\n data: FormCategory[];\r\n text: string;\r\n loaded: boolean;\r\n loading: boolean;\r\n}\r\n\r\nexport const initialState: State = {\r\n data: null,\r\n text: null,\r\n loaded: false,\r\n loading: false\r\n};\r\n\r\nexport function reducer(state = initialState, action: FormsActions): State {\r\n\r\n switch (action.type) {\r\n case FormsActionTypes.LoadFormCategoriesData:\r\n return { ...state, loaded: false, loading: true };\r\n case FormsActionTypes.LoadFormCategoriesDataSuccess:\r\n return {\r\n ...state,\r\n loaded: true,\r\n loading: false,\r\n data: action.payload.formCategories,\r\n text: action.payload.groupsText\r\n };\r\n case FormsActionTypes.LoadFormCategoriesDataFail:\r\n return { ...state, loaded: false, loading: false };\r\n }\r\n return state;\r\n}\r\n\r\nexport const getFormCategories = (state: State) => state.data;\r\nexport const getFormCategoriesText = (state: State) => state.text;\r\nexport const getFormCategoriesLoaded = (state: State) => state.loaded;\r\nexport const getFormCategoriesLoading = (state: State) => state.loading;\r\n\r\n\r\n\r\n", "import { Actions, ActionTypes } from '@appStore/selfservice/actions';\r\nimport { BookingService, CustomQuestion, SchedulingPolicy, StaffAvailability } from \"@model\";\r\n\r\nexport interface State{\r\n bookingServices: BookingService[];\r\n bookingServicesLoading: boolean;\r\n bookingServicesLoaded: boolean;\r\n selectedService: BookingService;\r\n scheduingPolicy: SchedulingPolicy;\r\n schedulingPolicyLoading: boolean;\r\n schedulingPolicyLoaded: boolean;\r\n staffId: string;\r\n staffLoading: boolean;\r\n staffLoaded: boolean;\r\n staffAvailability: StaffAvailability,\r\n staffAvailabilityLoading: boolean,\r\n staffAvailabilityLoaded: boolean,\r\n appointmentCreated: boolean;\r\n appointmentCreating: boolean;\r\n serviceCustomQuestions: CustomQuestion[];\r\n serviceCustomQuestionsLoading: boolean;\r\n serviceCustomQuestionsLoaded: boolean;\r\n}\r\n\r\nexport const initialState: State = {\r\n bookingServices: [],\r\n bookingServicesLoading: false,\r\n bookingServicesLoaded: false,\r\n selectedService: null,\r\n scheduingPolicy: null,\r\n schedulingPolicyLoading: false,\r\n schedulingPolicyLoaded: false,\r\n staffId: '',\r\n staffLoading: false,\r\n staffLoaded: false,\r\n staffAvailability: null,\r\n staffAvailabilityLoading: false,\r\n staffAvailabilityLoaded: false,\r\n appointmentCreated: false,\r\n appointmentCreating: false,\r\n serviceCustomQuestions: [],\r\n serviceCustomQuestionsLoading: false,\r\n serviceCustomQuestionsLoaded: false\r\n};\r\n\r\nexport function reducer(state = initialState, action: Actions): State {\r\n switch(action.type) {\r\n case ActionTypes.BookingServicesLoad:\r\n return {...state, bookingServicesLoaded: false, bookingServicesLoading: true };\r\n case ActionTypes.BookingServicesLoadSuccess:\r\n return { ...state, bookingServicesLoaded: true, bookingServicesLoading: false, bookingServices: action.payload };\r\n case ActionTypes.BookingServicesLoadFail:\r\n return { ...state, bookingServicesLoaded: false, bookingServicesLoading: false, bookingServices: [] };\r\n case ActionTypes.SelectService:\r\n return {...state, selectedService: action.payload };\r\n case ActionTypes.SchedulingPolicyLoad:\r\n return { ...state, schedulingPolicyLoaded: false, schedulingPolicyLoading: true, scheduingPolicy: null };\r\n case ActionTypes.SchedulingPolicyLoadSuccess:\r\n return { ...state, schedulingPolicyLoaded: true, schedulingPolicyLoading: false, scheduingPolicy: action.payload };\r\n case ActionTypes.SchedulingPolicyLoadFail:\r\n return {...state, schedulingPolicyLoaded: false, schedulingPolicyLoading: false, scheduingPolicy: null };\r\n case ActionTypes.StaffLoad:\r\n return { ...state, staffLoaded: false, staffLoading: true, staffId: '' };\r\n case ActionTypes.StaffLoadSuccess:\r\n return { ...state, staffLoaded: true, staffLoading: false, staffId: action.payload.id };\r\n case ActionTypes.StaffLoadFail:\r\n return { ...state, staffLoaded: false, staffLoading: false, staffId: '' };\r\n case ActionTypes.StaffAvailabilityLoad:\r\n return { ...state, staffAvailabilityLoaded: false, staffAvailabilityLoading: true, staffAvailability: null };\r\n case ActionTypes.StaffAvailabilityLoadSuccess:\r\n return { ...state, staffAvailabilityLoaded: true, staffAvailabilityLoading: false, staffAvailability: action.payload };\r\n case ActionTypes.StaffAvailabilityLoadFail:\r\n return { ...state, staffAvailabilityLoaded: false, staffAvailabilityLoading: false, staffAvailability: null };\r\n case ActionTypes.CreateAppointment:\r\n return {...state, appointmentCreated: false, appointmentCreating: true };\r\n case ActionTypes.CreateAppointmentSuccess:\r\n return {...state, appointmentCreated: true, appointmentCreating: false };\r\n case ActionTypes.CreateAppointmentFail:\r\n return {...state, appointmentCreated: false, appointmentCreating: false };\r\n case ActionTypes.ClearAppointment:\r\n return {...state, selectedService: null, serviceCustomQuestions: [], serviceCustomQuestionsLoaded: false, serviceCustomQuestionsLoading: false, scheduingPolicy: null, staffId: '', staffLoaded: false, staffLoading: false, schedulingPolicyLoaded: false, schedulingPolicyLoading: false, appointmentCreated: false, appointmentCreating: false };\r\n case ActionTypes.ServiceCustomQuestionsLoad:\r\n return {...state, serviceCustomQuestionsLoading: true, serviceCustomQuestionsLoaded: false, serviceCustomQuestions: [] };\r\n case ActionTypes.ServiceCustomQuestionsLoadSuccess:\r\n return {...state, serviceCustomQuestionsLoading: false, serviceCustomQuestionsLoaded: true, serviceCustomQuestions: action.payload };\r\n case ActionTypes.ServiceCustomQuestionsLoadFail:\r\n return {...state, serviceCustomQuestionsLoading: false, serviceCustomQuestionsLoaded: false, serviceCustomQuestions: [] };\r\n }\r\n\r\n return state;\r\n}\r\n\r\nexport const getBookingServices = (state: State) => state.bookingServices;\r\nexport const getBookingServicesLoading = (state: State) => state.bookingServicesLoading;\r\nexport const getBookingServicesLoaded = (state: State) => state.bookingServicesLoaded;\r\n\r\nexport const getServiceCustomQuestions = (state: State) => state.serviceCustomQuestions;\r\nexport const getServiceCustomQuestionsLoading = (state: State) => state.serviceCustomQuestionsLoading;\r\nexport const getServiceCustomQuestionsLoaded = (state: State) => state.serviceCustomQuestionsLoaded;\r\n\r\nexport const getSelectedService = (state: State) => state.selectedService;\r\n\r\nexport const getSchedulingPolicy = (state: State) => state.scheduingPolicy;\r\nexport const getSchedulingPolicyLoading = (state: State) => state.schedulingPolicyLoading;\r\nexport const getSchedulingPolicyLoaded = (state: State) => state.schedulingPolicyLoaded;\r\n\r\nexport const getStaffId = (state: State) => state.staffId;\r\nexport const getStaffLoaded = (state: State) => state.staffLoaded;\r\nexport const getStaffLoading = (state: State) => state.staffLoading;\r\n\r\nexport const getStaffAvailability = (state: State) => state.staffAvailability;\r\nexport const getStaffAvailabilityLoading = (state: State) => state.staffAvailabilityLoading;\r\nexport const getStaffAvailabilityLoaded = (state: State) => state.staffAvailabilityLoaded;\r\n\r\nexport const getAppointmentCreated = (state: State) => state.appointmentCreated;\r\nexport const getAppointmentCreating = (state: State) => state.appointmentCreating;", "import { ActionReducerMap, createFeatureSelector, createSelector } from '@ngrx/store';\r\nimport * as fromAgreements from '@appStore/selfservice/reducers/agreement.reducer';\r\nimport * as fromForms from '@appStore/selfservice/reducers/forms.reducer';\r\nimport * as fromBookings from '@appStore/selfservice/reducers/bookings.reducer';\r\n\r\nimport * as fromRoot from '../../../reducers';\r\n\r\n// feature state\r\nexport interface SelfServiceState {\r\n agreements: fromAgreements.State;\r\n forms: fromForms.State;\r\n bookings: fromBookings.State;\r\n}\r\n\r\nexport interface State extends fromRoot.State {\r\n account: SelfServiceState;\r\n}\r\n\r\n// reducers\r\nexport const reducers: ActionReducerMap = {\r\n agreements: fromAgreements.reducer,\r\n forms: fromForms.reducer,\r\n bookings: fromBookings.reducer\r\n};\r\n\r\n// SelfService\r\nexport const getState = createFeatureSelector('selfservice');\r\n\r\n// Inskickade blanketter\r\nexport const getAgreementState = createSelector(\r\n getState,\r\n (state: SelfServiceState) => state.agreements\r\n);\r\n\r\nexport const getActiveAgreementLinkLoaded = createSelector(\r\n getAgreementState,\r\n fromAgreements.getActiveAgreementLinkLoaded\r\n);\r\nexport const getActiveAgreementLink = createSelector(\r\n getAgreementState,\r\n fromAgreements.getActiveAgreementLink\r\n);\r\nexport const getSelfServiceAgreements = createSelector(\r\n getAgreementState,\r\n fromAgreements.getSelfServiceAgreements\r\n);\r\nexport const getSelfServiceAgreementsLoaded = createSelector(\r\n getAgreementState,\r\n fromAgreements.getSelfServiceAgreementsLoaded\r\n);\r\nexport const getSelfServiceAgreementCreated = createSelector(\r\n getAgreementState,\r\n fromAgreements.getSelfServiceAgreementCreated\r\n);\r\nexport const getSelfServiceAgreementCreateId = createSelector(\r\n getAgreementState,\r\n fromAgreements.getSelfServiceAgreementCreateId\r\n);\r\n\r\n// Blanketter/ Blanketter grupperade\r\nexport const getFormsState = createSelector(\r\n getState,\r\n (state: SelfServiceState) => state.forms\r\n );\r\n// export const getForms = createSelector(\r\n// getFormsState,\r\n// fromForms.getForms\r\n// );\r\n// export const getFormsLoaded = createSelector(\r\n// getFormsState,\r\n// fromForms.getFormsLoaded\r\n// );\r\n\r\n// Blanketter grupperade \r\nexport const getFormCategories = createSelector(\r\n getFormsState,\r\n fromForms.getFormCategories\r\n);\r\nexport const getFormCategoriesText = createSelector(\r\n getFormsState,\r\n fromForms.getFormCategoriesText\r\n);\r\nexport const getFormCategoriesLoaded = createSelector(\r\n getFormsState,\r\n fromForms.getFormCategoriesLoaded\r\n);\r\n\r\n// Bookings\r\nexport const getBookingsState = createSelector(\r\n getState,\r\n (state: SelfServiceState) => state.bookings\r\n);\r\n\r\nexport const getBookingServices = createSelector(\r\n getBookingsState,\r\n fromBookings.getBookingServices\r\n);\r\n\r\nexport const getBookingServicesLoaded = createSelector(\r\n getBookingsState,\r\n fromBookings.getBookingServicesLoaded\r\n);\r\n\r\nexport const getServiceCustomQuestions = createSelector(\r\n getBookingsState,\r\n fromBookings.getServiceCustomQuestions\r\n);\r\n\r\nexport const getServiceCustomQuestionsLoaded = createSelector(\r\n getBookingsState,\r\n fromBookings.getServiceCustomQuestionsLoaded\r\n);\r\n\r\nexport const getSelectedService = createSelector(\r\n getBookingsState,\r\n fromBookings.getSelectedService\r\n);\r\n\r\nexport const getSchedulingPolicy = createSelector(\r\n getBookingsState,\r\n fromBookings.getSchedulingPolicy\r\n);\r\n\r\nexport const getSchedulingPolicyLoaded = createSelector(\r\n getBookingsState,\r\n fromBookings.getSchedulingPolicyLoaded\r\n);\r\n\r\nexport const getStaffId = createSelector(\r\n getBookingsState,\r\n fromBookings.getStaffId\r\n);\r\n\r\nexport const getStaffLoaded = createSelector(\r\n getBookingsState,\r\n fromBookings.getStaffLoaded\r\n);\r\n\r\nexport const getStaffLoading = createSelector(\r\n getBookingsState,\r\n fromBookings.getStaffLoading\r\n);\r\n\r\nexport const getStaffAvailability = createSelector(\r\n getBookingsState,\r\n fromBookings.getStaffAvailability\r\n);\r\n\r\nexport const getStaffAvailabilityLoaded = createSelector(\r\n getBookingsState,\r\n fromBookings.getStaffAvailabilityLoaded\r\n);\r\n\r\nexport const getAppointmentCreated = createSelector(\r\n getBookingsState,\r\n fromBookings.getAppointmentCreated\r\n);\r\n\r\nexport const getAppointmentCreating = createSelector(\r\n getBookingsState,\r\n fromBookings.getAppointmentCreating\r\n);", "import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError, map } from 'rxjs/operators';\r\nimport { environment } from 'environments/environment';\r\nimport { SxErrorService } from '@services';\r\nimport { SelfServiceAgreement, SelfServiceEsignForm } from '@model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n })\r\n export class AgreementService {\r\n \r\n constructor(private http: HttpClient, private sxErrorService: SxErrorService) {}\r\n \r\n getAgreementLink(agreementId: number): Observable{\r\n const headers = new HttpHeaders().set('Content-Type', 'text/plain; charset=utf-8');\r\n return this.http\r\n .get(`${environment.apiEndpoint}/agreements/${agreementId}/link`)\r\n .pipe(\r\n map(accessLink => accessLink.link),\r\n catchError((error: any) => this.sxErrorService.handleError(error))\r\n );\r\n }\r\n\r\n getMySelfServiceAgreements(): Observable {\r\n return this.http\r\n .get(`${environment.apiEndpoint}/agreements/forms`)\r\n .pipe(catchError((error: any) => this.sxErrorService.handleError(error)));\r\n }\r\n\r\n createSelfServiceAgreement(form: SelfServiceEsignForm): Observable {\r\n return this.http\r\n .post(`${environment.apiEndpoint}/agreements/form`, form)\r\n .pipe(catchError((error: any) => this.sxErrorService.handleError(error)));\r\n }\r\n\r\n }", "import { Injectable } from '@angular/core';\r\nimport { Actions, createEffect, ofType } from '@ngrx/effects';\r\nimport { of } from 'rxjs';\r\nimport { map, catchError, exhaustMap } from 'rxjs/operators';\r\nimport * as actions from '@appStore/selfservice/actions';\r\nimport { ActionTypes, AgreementLinkLoad } from '@appStore/selfservice/actions';\r\nimport { AgreementService } from '@appStore/selfservice/services/agreement.service';\r\n\r\n@Injectable()\r\nexport class AgreementEffects {\r\n constructor(private agreementService: AgreementService, private actions$: Actions) {}\r\n\r\n getAgreementLink$ = createEffect(() => {\r\n return this.actions$.pipe(\r\n ofType(ActionTypes.AgreementLinkLoad),\r\n exhaustMap((action: AgreementLinkLoad) => {\r\n return this.agreementService.getAgreementLink(action.agreementId).pipe(\r\n map(link => new actions.AgreementLinkLoadSuccess(link)),\r\n catchError(error => of(new actions.AgreementLinkLoadFail(error)))\r\n );\r\n })\r\n );\r\n });\r\n\r\n loadMyFormAgreement$ = createEffect(() => {\r\n return this.actions$.pipe(\r\n ofType(ActionTypes.SelfServiceAgreementsLoad),\r\n exhaustMap(action => {\r\n return this.agreementService.getMySelfServiceAgreements().pipe(\r\n map(forms => new actions.SelfServiceAgreementsLoadSuccess(forms)),\r\n catchError(error => of(new actions.SelfServiceAgreementsLoadFail(error)))\r\n );\r\n })\r\n );\r\n });\r\n\r\n createFormAgreement$ = createEffect(() => {\r\n return this.actions$.pipe(\r\n ofType(ActionTypes.CreateSelfServiceAgreement),\r\n exhaustMap((action: actions.CreateSelfServiceAgreement) => {\r\n return this.agreementService.createSelfServiceAgreement(action.payload).pipe(\r\n map(item => new actions.CreateSelfServiceAgreementSuccess(item)),\r\n catchError(error => of(new actions.CreateSelfServiceAgreementFail(error)))\r\n );\r\n })\r\n );\r\n });\r\n}", "import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { environment } from 'environments/environment';\r\n\r\nimport { SxErrorService } from 'app/services/sx-error.service';\r\nimport { FormCategoryInformation } from '@model';\r\n\r\n@Injectable()\r\nexport class FormsService {\r\n constructor(private http: HttpClient, private sxErrorService: SxErrorService) {}\r\n\r\n getFormCategoriesWithInfo(): Observable {\r\n return this.http\r\n .get(`${environment.apiEndpoint}/forms/WithInformation`)\r\n .pipe(catchError((error: any) => this.sxErrorService.handleError(error)));\r\n }\r\n}\r\n", "import { Injectable } from '@angular/core';\r\nimport { Actions, createEffect, ofType } from '@ngrx/effects';\r\nimport { map, catchError, exhaustMap } from 'rxjs/operators';\r\n\r\nimport { of } from 'rxjs';\r\nimport * as formActions from '@appStore/selfservice/actions';\r\nimport { FormsActionTypes } from '@appStore/selfservice/actions';\r\nimport { FormsService } from '@appStore/selfservice/services/forms.service';\r\n\r\n@Injectable()\r\nexport class FormsEffects {\r\n constructor(private formsService: FormsService, private actions$: Actions) {}\r\n\r\n\r\n loadFormCategoriesData$ = createEffect(() => {\r\n return this.actions$.pipe(\r\n ofType(FormsActionTypes.LoadFormCategoriesData),\r\n exhaustMap(action => {\r\n return this.formsService.getFormCategoriesWithInfo().pipe(\r\n map(formCategories => new formActions.LoadFormCategoriesSuccess(formCategories)),\r\n catchError(error => of(new formActions.LoadFormCategoriesFail(error)))\r\n );\r\n })\r\n );\r\n });\r\n}\r\n", "import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\nimport { environment } from 'environments/environment';\r\n\r\nimport { SxErrorService } from 'app/services/sx-error.service';\r\nimport { BookingService, CreateAppointmentRequest, CustomQuestion, SchedulingPolicy, Staff, StaffAvailability } from '@model';\r\n\r\n@Injectable()\r\nexport class BookingsService{\r\n constructor(private http: HttpClient, private sxErrorService: SxErrorService) {}\r\n \r\n getBookingServices(): Observable {\r\n return this.http\r\n .get(`${environment.apiEndpoint}/bookings/services`)\r\n .pipe(catchError((error: any) => this.sxErrorService.handleError(error)));\r\n }\r\n\r\n getSchedulingPolicy(bookingBusinessId: string, serviceId: string): Observable{\r\n return this.http\r\n .post(`${environment.apiEndpoint}/bookings/services/${serviceId}/scheduling`, { bookingBusinessId: bookingBusinessId })\r\n .pipe(catchError((error: any) => this.sxErrorService.handleError(error)));\r\n }\r\n\r\n getStaff(bookingBusinessId: string, customerId: string): Observable{\r\n return this.http\r\n .post(`${environment.apiEndpoint}/bookings/staff`, { bookingBusinessId: bookingBusinessId, customerId: customerId })\r\n .pipe(catchError((error: any) => this.sxErrorService.handleError(error)));\r\n }\r\n\r\n getAvailabilitySlots(bookingBusinessId: string, staffId: string, startDate: string, endDate: string): Observable{\r\n return this.http\r\n .post(`${environment.apiEndpoint}/bookings/availability`, { bookingBusinessId: bookingBusinessId, staffId: staffId, startDate: startDate, endDate: endDate })\r\n .pipe(catchError((error: any) => this.sxErrorService.handleError(error)));\r\n }\r\n\r\n createAppointment(request: CreateAppointmentRequest){\r\n return this.http\r\n .post(`${environment.apiEndpoint}/bookings/appointment`, request)\r\n .pipe(catchError((error: any) => this.sxErrorService.handleError(error)));\r\n }\r\n\r\n getServiceCustomQuestions(bookingBusinessId: string, serviceId: string) :Observable{\r\n return this.http\r\n .post(`${environment.apiEndpoint}/bookings/services/${serviceId}/questions`, { bookingBusinessId: bookingBusinessId })\r\n .pipe(catchError((error: any) => this.sxErrorService.handleError(error)));\r\n }\r\n}", "import { AgreementService } from '@appStore/selfservice/services/agreement.service';\r\nimport { FormsService } from '@appStore/selfservice/services/forms.service';\r\nimport { BookingsService } from '@appStore/selfservice/services/bookings.service';\r\n\r\nexport const services: any[] = [\r\n AgreementService, FormsService, BookingsService\r\n];\r\n\r\nexport * from '@appStore/selfservice/services/agreement.service';\r\nexport * from '@appStore/selfservice/services/forms.service';\r\nexport * from '@appStore/selfservice/services/bookings.service';", "import { Injectable } from '@angular/core';\r\nimport { Actions, createEffect, ofType } from '@ngrx/effects';\r\nimport { map, catchError, exhaustMap } from 'rxjs/operators';\r\nimport { of } from 'rxjs';\r\nimport * as actions from '@appStore/selfservice/actions';\r\nimport { BookingActionTypes } from '@appStore/selfservice/actions';\r\nimport { BookingsService } from '@appStore/selfservice/services';\r\n\r\n@Injectable() \r\nexport class BookingEffects {\r\n constructor(private bookingsService: BookingsService, private actions$: Actions) {}\r\n \r\n loadBookingServices$ = createEffect(() => {\r\n return this.actions$.pipe(\r\n ofType(BookingActionTypes.BookingServicesLoad),\r\n exhaustMap(action => {\r\n return this.bookingsService.getBookingServices().pipe(\r\n map(bookingServices => new actions.BookingServicesLoadSuccess(bookingServices)),\r\n catchError(error => of(new actions.BookingServicesLoadFail(error)))\r\n );\r\n })\r\n );\r\n });\r\n\r\n loadSchedulingPolicy$ = createEffect(() => {\r\n return this.actions$.pipe(\r\n ofType(BookingActionTypes.SchedulingPolicyLoad),\r\n exhaustMap((action: actions.SchedulingPolicyLoad) => {\r\n return this.bookingsService.getSchedulingPolicy(action.payload.bookingBusinessId, action.payload.serviceId).pipe(\r\n map(schedulingPolicy => new actions.SchedulingPolicyLoadSuccess(schedulingPolicy)),\r\n catchError(error => of(new actions.SchedulingPolicyLoadFail(error)))\r\n );\r\n })\r\n );\r\n });\r\n\r\n loadStaff$ = createEffect(() => {\r\n return this.actions$.pipe(\r\n ofType(BookingActionTypes.StaffLoad),\r\n exhaustMap((action: actions.StaffLoad) => {\r\n return this.bookingsService.getStaff(action.payload.bookingBusinessId, action.payload.customerId).pipe(\r\n map(staff => new actions.StaffLoadSuccess(staff)),\r\n catchError(error => of(new actions.StaffLoadFail(error)))\r\n );\r\n })\r\n );\r\n });\r\n\r\n loadStaffAvailability$ = createEffect(() => {\r\n return this.actions$.pipe(\r\n ofType(BookingActionTypes.StaffAvailabilityLoad),\r\n exhaustMap((action: actions.StaffAvailabilityLoad) => {\r\n return this.bookingsService.getAvailabilitySlots(action.payload.bookingBusinessId, action.payload.staffId, action.payload.startDate, action.payload.endDate).pipe(\r\n map(availability => new actions.StaffAvailabilityLoadSuccess(availability)),\r\n catchError(error => of(new actions.StaffAvailabilityLoadFail(error)))\r\n );\r\n })\r\n );\r\n });\r\n\r\n createAppointment$ = createEffect(() => {\r\n return this.actions$.pipe(\r\n ofType(BookingActionTypes.CreateAppointment),\r\n exhaustMap((action: actions.CreateAppointment) => {\r\n return this.bookingsService.createAppointment(action.payload).pipe(\r\n map(() => new actions.CreateAppointmentSuccess(true)),\r\n catchError(error => of(new actions.CreateAppointmentFail(error)))\r\n );\r\n })\r\n );\r\n });\r\n\r\n loadServiceCustomQuestions$ = createEffect(() => {\r\n return this.actions$.pipe(\r\n ofType(BookingActionTypes.ServiceCustomQuestionsLoad),\r\n exhaustMap((action: actions.ServiceCustomQuestionsLoad) => {\r\n return this.bookingsService.getServiceCustomQuestions(action.payload.bookingBusinessId, action.payload.serviceId).pipe(\r\n map(questions => new actions.ServiceCustomQuestionsLoadSuccess(questions)),\r\n catchError(error => of(new actions.ServiceCustomQuestionsLoadFail(error)))\r\n );\r\n })\r\n );\r\n });\r\n}", "\r\nimport { NgModule } from '@angular/core';\r\nimport { EffectsModule } from '@ngrx/effects';\r\n\r\nimport { AgreementEffects } from '@appStore/selfservice/effects/agreement.effects';\r\nimport { FormsEffects } from '@appStore/selfservice/effects/forms.effects';\r\nimport { BookingEffects } from '@appStore/selfservice/effects/booking.effects';\r\n\r\n\r\nexport const effects: any[] = [\r\n AgreementEffects, FormsEffects, BookingEffects\r\n];\r\n\r\n@NgModule({\r\n imports: [EffectsModule.forFeature(effects)]\r\n})\r\nexport class SelfServiceEffectsModule {}\r\n", "import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { StoreModule } from '@ngrx/store';\r\n\r\nimport { SelfServiceEffectsModule } from '@appStore/selfservice/effects';\r\nimport { reducers } from '@appStore/selfservice/reducers';\r\nimport * as fromServices from '@appStore/selfservice/services';\r\n\r\nexport * from '@appStore/selfservice/reducers';\r\nexport * from '@appStore/selfservice/effects';\r\nexport * from '@appStore/selfservice/actions';\r\n\r\n@NgModule({\r\n imports: [CommonModule, StoreModule.forFeature('selfservice', reducers), SelfServiceEffectsModule],\r\n providers: [...fromServices.services]\r\n})\r\nexport class SelfServiceStoreModule {}\r\n"], "mappings": "mOAGA,IAAYA,EAAZ,SAAYA,EAAoB,CAC9BA,OAAAA,EAAA,kBAAA,wBACAA,EAAA,yBAAA,gCACAA,EAAA,sBAAA,6BACAA,EAAA,0BAAA,mCACAA,EAAA,iCAAA,sCACAA,EAAA,8BAAA,oCACAA,EAAA,2BAAA,kEACAA,EAAA,kCAAA,0EACAA,EAAA,+BAAA,uEATUA,CAUZ,EAVYA,GAAoB,CAAA,CAAA,EAYnBC,GAAP,KAAwB,CAE1BC,YAAmBC,EAAmB,CAAnB,KAAAA,YAAAA,EADV,KAAAC,KAAOJ,EAAqBC,iBACI,GAGhCI,EAAP,KAA+B,CAEjCH,YAAmBI,EAAe,CAAf,KAAAA,QAAAA,EADV,KAAAF,KAAOJ,EAAqBK,wBACA,GAG5BE,EAAP,KAA4B,CAE9BL,YAAmBI,EAAY,CAAZ,KAAAA,QAAAA,EADV,KAAAF,KAAOJ,EAAqBO,qBACH,GAGzBC,GAAP,KAAgC,CAEpCN,aAAA,CADS,KAAAE,KAAOJ,EAAqBQ,yBACtB,GAGJC,EAAP,KAAuC,CAE3CP,YAAmBI,EAA+B,CAA/B,KAAAA,QAAAA,EADV,KAAAF,KAAOJ,EAAqBS,gCACgB,GAE1CC,EAAP,KAAoC,CAExCR,YAAmBI,EAAY,CAAZ,KAAAA,QAAAA,EADV,KAAAF,KAAOJ,EAAqBU,6BACH,GAGvBC,GAAP,KAAiC,CAErCT,YAAmBI,EAA6B,CAA7B,KAAAA,QAAAA,EADV,KAAAF,KAAOJ,EAAqBW,0BACc,GAGxCC,EAAP,KAAwC,CAE5CV,YAAmBI,EAAe,CAAf,KAAAA,QAAAA,EADV,KAAAF,KAAOJ,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0BAA0BzC,EAAOY,QAAQC,kBAAmBb,EAAOY,QAAQE,SAAS,EAAEnB,KAChHO,EAAIwC,GAAa,IAAYC,EAAkCD,CAAS,CAAC,EACzErC,EAAWC,GAASC,EAAG,IAAYqC,EAA+BtC,CAAK,CAAC,CAAC,CAAC,CAE7E,CAAC,CAEL,CAxEiF,iDADzEjB,GAAcwD,EAAAC,CAAA,EAAAD,EAAAE,CAAA,CAAA,CAAA,CAAA,iCAAd1D,EAAc2D,QAAd3D,EAAc4D,SAAA,CAAA,CAAA,SAAd5D,CAAc,GAAA,ECApB,IAAM6D,GAAiB,CAC5BC,GAAkBC,GAAcC,EAAc,EAMnCC,IAAwB,IAAA,CAA/B,MAAOA,CAAwB,iDAAxBA,EAAwB,CAAA,+BAAxBA,CAAwB,CAAA,CAAA,mCAFzBC,GAAcC,WAAWN,EAAO,CAAC,CAAA,CAAA,CAAA,SAEhCI,CAAwB,GAAA,ECArC,IAAaG,IAAsB,IAAA,CAA7B,MAAOA,CAAsB,iDAAtBA,EAAsB,CAAA,+BAAtBA,CAAsB,CAAA,CAAA,oCAFtB,CAAC,GAAgBC,EAAQ,EAACC,QAAA,CAD3BC,GAAcC,GAAYC,WAAW,cAAeC,EAAQ,EAAGC,EAAwB,CAAA,CAAA,CAAA,SAGtFP,CAAsB,GAAA", "names": ["AgreementActionTypes", "AgreementLinkLoad", "constructor", "agreementId", "type", "AgreementLinkLoadSuccess", "payload", "AgreementLinkLoadFail", "SelfServiceAgreementsLoad", "SelfServiceAgreementsLoadSuccess", "SelfServiceAgreementsLoadFail", "CreateSelfServiceAgreement", "CreateSelfServiceAgreementSuccess", "CreateSelfServiceAgreementFail", "FormsActionTypes", "LoadFormCategories", "constructor", "type", "LoadFormCategoriesData", "LoadFormCategoriesSuccess", "payload", "LoadFormCategoriesDataSuccess", "LoadFormCategoriesFail", "LoadFormCategoriesDataFail", "BookingActionTypes", "BookingServicesLoad", "constructor", "type", "BookingServicesLoadSuccess", "payload", "BookingServicesLoadFail", "SelectService", "SchedulingPolicyLoad", "SchedulingPolicyLoadSuccess", "SchedulingPolicyLoadFail", "StaffLoad", "StaffLoadSuccess", "StaffLoadFail", "StaffAvailabilityLoad", "StaffAvailabilityLoadSuccess", "StaffAvailabilityLoadFail", "CreateAppointment", "CreateAppointmentSuccess", "CreateAppointmentFail", "ClearAppointment", "ServiceCustomQuestionsLoad", "ServiceCustomQuestionsLoadSuccess", "ServiceCustomQuestionsLoadFail", "ActionTypes", "__spreadValues", "AgreementActionTypes", "FormsActionTypes", "BookingActionTypes", "initialState", "activeAgreementLink", "activeAgreementLinkLoading", "activeAgreementLinkLoaded", "selfServiceAgreements", "selfServiceAgreementsLoading", "selfServiceAgreementsLoaded", "selfServiceAgreementCreated", "selfServiceAgreementCreatedLoading", "selfServiceAgreementCreatedLoaded", "selfServiceAgreementId", "reducer", "state", "action", "type", "ActionTypes", "AgreementLinkLoad", "__spreadProps", "__spreadValues", "AgreementLinkLoadSuccess", "payload", "AgreementLinkLoadFail", "SelfServiceAgreementsLoad", "SelfServiceAgreementsLoadSuccess", "SelfServiceAgreementsLoadFail", "CreateSelfServiceAgreement", "CreateSelfServiceAgreementSuccess", "CreateSelfServiceAgreementFail", "getActiveAgreementLink", "getActiveAgreementLinkLoaded", "getSelfServiceAgreements", "getSelfServiceAgreementsLoaded", "getSelfServiceAgreementCreated", "getSelfServiceAgreementCreateId", "initialState", "data", "text", "loaded", "loading", "reducer", "state", "action", "type", "FormsActionTypes", "LoadFormCategoriesData", "__spreadProps", "__spreadValues", "LoadFormCategoriesDataSuccess", "payload", "formCategories", "groupsText", "LoadFormCategoriesDataFail", "getFormCategories", "getFormCategoriesText", "getFormCategoriesLoaded", "initialState", "bookingServices", "bookingServicesLoading", "bookingServicesLoaded", "selectedService", "scheduingPolicy", "schedulingPolicyLoading", "schedulingPolicyLoaded", "staffId", "staffLoading", "staffLoaded", "staffAvailability", "staffAvailabilityLoading", "staffAvailabilityLoaded", "appointmentCreated", "appointmentCreating", "serviceCustomQuestions", "serviceCustomQuestionsLoading", "serviceCustomQuestionsLoaded", "reducer", "state", "action", "type", "ActionTypes", "BookingServicesLoad", "__spreadProps", "__spreadValues", "BookingServicesLoadSuccess", "payload", "BookingServicesLoadFail", "SelectService", "SchedulingPolicyLoad", "SchedulingPolicyLoadSuccess", "SchedulingPolicyLoadFail", "StaffLoad", "StaffLoadSuccess", "id", "StaffLoadFail", "StaffAvailabilityLoad", "StaffAvailabilityLoadSuccess", "StaffAvailabilityLoadFail", "CreateAppointment", "CreateAppointmentSuccess", "CreateAppointmentFail", "ClearAppointment", "ServiceCustomQuestionsLoad", "ServiceCustomQuestionsLoadSuccess", "ServiceCustomQuestionsLoadFail", "getBookingServices", "getBookingServicesLoaded", "state", "bookingServicesLoaded", "getServiceCustomQuestions", "serviceCustomQuestions", "getServiceCustomQuestionsLoaded", "state", "serviceCustomQuestionsLoaded", "getSelectedService", "selectedService", "getSchedulingPolicy", "scheduingPolicy", "getSchedulingPolicyLoaded", "state", "schedulingPolicyLoaded", "getStaffId", "staffId", "getStaffLoaded", "staffLoaded", "getStaffLoading", "staffLoading", "getStaffAvailability", "staffAvailability", "getStaffAvailabilityLoaded", "state", "staffAvailabilityLoaded", "getAppointmentCreated", "appointmentCreated", "getAppointmentCreating", "appointmentCreating", "reducers", "agreements", "reducer", "forms", "bookings", "getState", "createFeatureSelector", "getAgreementState", "createSelector", "state", "getActiveAgreementLinkLoaded", "getActiveAgreementLink", "getSelfServiceAgreements", "getSelfServiceAgreementsLoaded", "getSelfServiceAgreementCreated", "getSelfServiceAgreementCreateId", "getFormsState", "getFormCategories", "getFormCategoriesText", "getFormCategoriesLoaded", "getBookingsState", "getBookingServices", "getBookingServicesLoaded", "getServiceCustomQuestions", "getServiceCustomQuestionsLoaded", "getSelectedService", "getSchedulingPolicy", "getSchedulingPolicyLoaded", "getStaffId", "getStaffLoaded", "getStaffLoading", "getStaffAvailability", "getStaffAvailabilityLoaded", "getAppointmentCreated", "getAppointmentCreating", "AgreementService", "constructor", "http", "sxErrorService", "getAgreementLink", "agreementId", "headers", "HttpHeaders", "set", "get", "environment", "apiEndpoint", "pipe", "map", "accessLink", "link", "catchError", "error", "handleError", "getMySelfServiceAgreements", "createSelfServiceAgreement", "form", "post", "\u0275\u0275inject", "HttpClient", "SxErrorService", "factory", "\u0275fac", "providedIn", "AgreementEffects", "constructor", "agreementService", "actions$", "getAgreementLink$", "createEffect", "pipe", "ofType", "ActionTypes", "AgreementLinkLoad", "exhaustMap", "action", "getAgreementLink", "agreementId", "map", "link", "AgreementLinkLoadSuccess", "catchError", "error", "of", "AgreementLinkLoadFail", "loadMyFormAgreement$", "SelfServiceAgreementsLoad", "getMySelfServiceAgreements", "forms", "SelfServiceAgreementsLoadSuccess", "SelfServiceAgreementsLoadFail", "createFormAgreement$", "CreateSelfServiceAgreement", "createSelfServiceAgreement", "payload", "item", "CreateSelfServiceAgreementSuccess", "CreateSelfServiceAgreementFail", "\u0275\u0275inject", "AgreementService", "Actions", "factory", "\u0275fac", "FormsService", "constructor", "http", "sxErrorService", "getFormCategoriesWithInfo", "get", "environment", "apiEndpoint", "pipe", "catchError", "error", "handleError", "\u0275\u0275inject", "HttpClient", "SxErrorService", "factory", "\u0275fac", "FormsEffects", "constructor", "formsService", "actions$", "loadFormCategoriesData$", "createEffect", "pipe", "ofType", "FormsActionTypes", "LoadFormCategoriesData", "exhaustMap", "action", "getFormCategoriesWithInfo", "map", "formCategories", "LoadFormCategoriesSuccess", "catchError", "error", "of", "LoadFormCategoriesFail", "\u0275\u0275inject", "FormsService", "Actions", "factory", "\u0275fac", "BookingsService", "constructor", "http", "sxErrorService", "getBookingServices", "get", "environment", "apiEndpoint", "pipe", "catchError", "error", "handleError", "getSchedulingPolicy", "bookingBusinessId", "serviceId", "post", "getStaff", "customerId", "getAvailabilitySlots", "staffId", "startDate", "endDate", "createAppointment", "request", "getServiceCustomQuestions", "\u0275\u0275inject", "HttpClient", "SxErrorService", "factory", "\u0275fac", "services", "AgreementService", "FormsService", "BookingsService", "BookingEffects", "constructor", "bookingsService", "actions$", "loadBookingServices$", "createEffect", "pipe", "ofType", "BookingActionTypes", "BookingServicesLoad", "exhaustMap", "action", "getBookingServices", "map", "bookingServices", "BookingServicesLoadSuccess", "catchError", "error", "of", "BookingServicesLoadFail", "loadSchedulingPolicy$", "SchedulingPolicyLoad", "getSchedulingPolicy", "payload", "bookingBusinessId", "serviceId", "schedulingPolicy", "SchedulingPolicyLoadSuccess", "SchedulingPolicyLoadFail", "loadStaff$", "StaffLoad", "getStaff", "customerId", "staff", "StaffLoadSuccess", "StaffLoadFail", "loadStaffAvailability$", "StaffAvailabilityLoad", "getAvailabilitySlots", "staffId", "startDate", "endDate", "availability", "StaffAvailabilityLoadSuccess", "StaffAvailabilityLoadFail", "createAppointment$", "CreateAppointment", "createAppointment", "CreateAppointmentSuccess", "CreateAppointmentFail", "loadServiceCustomQuestions$", "ServiceCustomQuestionsLoad", "getServiceCustomQuestions", "questions", "ServiceCustomQuestionsLoadSuccess", "ServiceCustomQuestionsLoadFail", "\u0275\u0275inject", "BookingsService", "Actions", "factory", "\u0275fac", "effects", "AgreementEffects", "FormsEffects", "BookingEffects", "SelfServiceEffectsModule", "EffectsModule", "forFeature", "SelfServiceStoreModule", "services", "imports", "CommonModule", "StoreModule", "forFeature", "reducers", "SelfServiceEffectsModule"] }