Performing logins, mobile cards, and other tasks
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { ApiPropertyOptional } from '@nestjs/swagger';
|
||||
import {
|
||||
IsArray,
|
||||
ArrayMaxSize,
|
||||
IsBoolean,
|
||||
IsInt,
|
||||
IsLatitude,
|
||||
@@ -179,4 +181,15 @@ export class UpdateBusinessDto {
|
||||
@IsString()
|
||||
@Matches(/^(first_booking|always)$/)
|
||||
promoDiscountMode?: 'first_booking' | 'always';
|
||||
|
||||
@ApiPropertyOptional({
|
||||
type: [String],
|
||||
example: ['customer_satisfaction', 'professional_staff', 'online_booking'],
|
||||
description: 'Up to 3 highlight keys from the platform catalog for the landing hero',
|
||||
})
|
||||
@IsOptional()
|
||||
@IsArray()
|
||||
@ArrayMaxSize(3)
|
||||
@IsString({ each: true })
|
||||
heroHighlightKeys?: string[] | null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user