Montify stores integration: multi-store connections, customer/order/transaction sync, webhooks

This commit is contained in:
2026-10-10 15:59:12 +03:30
parent fa3fe0d364
commit e82bd2b2df
18 changed files with 3712 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
import {
IsBoolean,
IsOptional,
IsString,
MaxLength,
MinLength,
} from 'class-validator';
export class CreateMontifyConnectionDto {
@IsString()
@MinLength(2)
@MaxLength(80)
label!: string;
@IsString()
@MinLength(8)
@MaxLength(300)
baseUrl!: string;
@IsString()
@MinLength(8)
@MaxLength(500)
token!: string;
@IsOptional()
@IsString()
@MaxLength(100)
storeId?: string;
@IsOptional()
@IsBoolean()
enabled?: boolean;
}
export class UpdateMontifyConnectionDto {
@IsOptional()
@IsString()
@MinLength(2)
@MaxLength(80)
label?: string;
@IsOptional()
@IsString()
@MinLength(8)
@MaxLength(300)
baseUrl?: string;
@IsOptional()
@IsString()
@MaxLength(500)
token?: string;
@IsOptional()
@IsString()
@MaxLength(100)
storeId?: string;
@IsOptional()
@IsBoolean()
enabled?: boolean;
}