Merged in chore/move-enter-details (pull request #2778)
Chore/move enter details Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -1,15 +1,7 @@
|
||||
export const SEARCHTYPE = "searchtype"
|
||||
|
||||
export const MEMBERSHIP_FAILED_ERROR = "MembershipFailedError"
|
||||
|
||||
export enum CancellationRuleEnum {
|
||||
CancellableBefore6PM = "CancellableBefore6PM",
|
||||
NonCancellable = "NonCancellable",
|
||||
Changeable = "Changeable",
|
||||
}
|
||||
|
||||
export enum PaymentCallbackStatusEnum {
|
||||
Success = "success",
|
||||
Error = "error",
|
||||
Cancel = "cancel",
|
||||
}
|
||||
|
||||
5
packages/common/constants/paymentCallbackStatusEnum.ts
Normal file
5
packages/common/constants/paymentCallbackStatusEnum.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export enum PaymentCallbackStatusEnum {
|
||||
Success = "success",
|
||||
Error = "error",
|
||||
Cancel = "cancel",
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Lang } from "../language"
|
||||
|
||||
import type { LangRoute } from "./langRoute"
|
||||
|
||||
export const bookingTermsAndConditionsRoutes = {
|
||||
da: `/${Lang.da}/kundeservice/politikker/bookingsvilkar`,
|
||||
de: `/${Lang.de}/kundenbetreuung/richtlinien/reservierungsbedingungen`,
|
||||
en: `/${Lang.en}/customer-service/policies/booking-terms`,
|
||||
fi: `/${Lang.fi}/asiakaspalvelu/ehdot/varausehdot`,
|
||||
no: `/${Lang.no}/kundeservice/betingelser/reservasjonsbetingelser`,
|
||||
sv: `/${Lang.sv}/kundservice/villkor/bokningsvillkor`,
|
||||
} as const satisfies LangRoute
|
||||
12
packages/common/constants/routes/customerService.ts
Normal file
12
packages/common/constants/routes/customerService.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Lang } from "../language"
|
||||
|
||||
import type { LangRoute } from "./langRoute"
|
||||
|
||||
export const customerService = {
|
||||
da: `/${Lang.da}/kundeservice`,
|
||||
de: `/${Lang.de}/kundenbetreuung`,
|
||||
en: `/${Lang.en}/customer-service`,
|
||||
fi: `/${Lang.fi}/asiakaspalvelu`,
|
||||
no: `/${Lang.no}/kundeservice`,
|
||||
sv: `/${Lang.sv}/kundservice`,
|
||||
} as const satisfies LangRoute
|
||||
@@ -1,19 +1,21 @@
|
||||
import type { LangRoute } from "./langRoute"
|
||||
|
||||
export const findMyBooking: LangRoute = {
|
||||
export type FindMyBookingRoute =
|
||||
(typeof findMyBookingRoutes)[keyof typeof findMyBookingRoutes]
|
||||
export const findMyBookingRoutes = {
|
||||
da: "/da/hotelreservation/hent-booking",
|
||||
de: "/de/hotelreservation/mein-bereich",
|
||||
en: "/en/hotelreservation/get-booking",
|
||||
fi: "/fi/hotelreservation/hae-varaus",
|
||||
no: "/no/hotelreservation/get-booking",
|
||||
sv: "/sv/hotelreservation/hitta-bokning",
|
||||
}
|
||||
} as const satisfies LangRoute
|
||||
|
||||
export const findMyBookingCurrentWebPath: LangRoute = {
|
||||
export const findMyBookingCurrentWebPath = {
|
||||
da: "/hotelreservation/hent-booking",
|
||||
de: "/hotelreservation/mein-bereich",
|
||||
en: "/hotelreservation/get-booking",
|
||||
fi: "/varaa-hotelli/hae-varaus",
|
||||
no: "/hotelreservation/get-booking",
|
||||
sv: "/hotelreservation/hitta-bokning",
|
||||
}
|
||||
} as const satisfies LangRoute
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Lang } from "../language"
|
||||
|
||||
import type { LangRoute } from "./langRoute"
|
||||
|
||||
export const membershipTermsAndConditions: LangRoute = {
|
||||
da: `/${Lang.da}/kundeservice/politikker/scandic-friends-betingelser`,
|
||||
de: `/${Lang.de}/kundenbetreuung/richtlinien/scandic-friends-allgemeine-geschaeftsbedingungen`,
|
||||
en: `/${Lang.en}/customer-service/policies/scandic-friends`,
|
||||
fi: `/${Lang.fi}/asiakaspalvelu/ehdot/scandic-friends`,
|
||||
no: `/${Lang.no}/kundeservice/betingelser/scandic-friends-betingelser`,
|
||||
sv: `/${Lang.sv}/kundservice/villkor/scandic-friends`,
|
||||
}
|
||||
12
packages/common/constants/routes/privacyPolicyRoutes.ts
Normal file
12
packages/common/constants/routes/privacyPolicyRoutes.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Lang } from "../language"
|
||||
|
||||
import type { LangRoute } from "./langRoute"
|
||||
|
||||
export const privacyPolicyRoutes = {
|
||||
da: `/${Lang.da}/kundeservice/politikker/privatliv`,
|
||||
de: `/${Lang.de}/kundenbetreuung/richtlinien/datenschutz`,
|
||||
en: `/${Lang.en}/customer-service/policies/privacy`,
|
||||
fi: `/${Lang.fi}/asiakaspalvelu/ehdot/tietosuojaseloste`,
|
||||
no: `/${Lang.no}/kundeservice/personvernpolicy`,
|
||||
sv: `/${Lang.sv}/kundservice/villkor/integritetspolicy`,
|
||||
} as const satisfies LangRoute
|
||||
Reference in New Issue
Block a user