feat(SW-3580): Add feature toggle enableRedemption to BookingFlowConfig * Add feature toggle enableRedemption to BookingFlowConfig * Update error message Approved-by: Joakim Jäderberg
22 lines
958 B
TypeScript
22 lines
958 B
TypeScript
import { bookingTermsAndConditionsRoutes } from "@scandic-hotels/common/constants/routes/bookingTermsAndConditionsRoutes"
|
|
import { customerService } from "@scandic-hotels/common/constants/routes/customerService"
|
|
import { membershipTermsAndConditions } from "@scandic-hotels/common/constants/routes/membershipTermsAndConditions"
|
|
import { myStay } from "@scandic-hotels/common/constants/routes/myStay"
|
|
import { privacyPolicyRoutes } from "@scandic-hotels/common/constants/routes/privacyPolicyRoutes"
|
|
|
|
import type { BookingFlowConfig } from "@scandic-hotels/booking-flow/BookingFlowConfig"
|
|
|
|
export const bookingFlowConfig: BookingFlowConfig = {
|
|
bookingCodeEnabled: true,
|
|
redemptionEnabled: true,
|
|
enterDetailsMembershipIdInputLocation: "form",
|
|
variant: "scandic",
|
|
routes: {
|
|
myStay,
|
|
customerService,
|
|
bookingTermsAndConditions: bookingTermsAndConditionsRoutes,
|
|
membershipTermsAndConditions,
|
|
privacyPolicy: privacyPolicyRoutes,
|
|
},
|
|
}
|