Performing logins, mobile cards, and other tasks

This commit is contained in:
2026-07-16 16:48:13 +03:30
parent 61c8653af6
commit 67506e2d98
5 changed files with 89 additions and 0 deletions
@@ -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;
}