"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ImportConfirmDTO = exports.ConflictResolutionDTO = exports.ImportProfileItemDTO = void 0;
const class_transformer_1 = require("class-transformer");
const class_validator_1 = require("class-validator");
class ImportProfileItemDTO {
}
exports.ImportProfileItemDTO = ImportProfileItemDTO;
__decorate([
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.MaxLength)(255),
    __metadata("design:type", String)
], ImportProfileItemDTO.prototype, "slug", void 0);
__decorate([
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.MaxLength)(127),
    __metadata("design:type", String)
], ImportProfileItemDTO.prototype, "name", void 0);
__decorate([
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.MaxLength)(255),
    __metadata("design:type", String)
], ImportProfileItemDTO.prototype, "type_slug", void 0);
__decorate([
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.MaxLength)(255),
    __metadata("design:type", String)
], ImportProfileItemDTO.prototype, "provider_slug", void 0);
__decorate([
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsObject)(),
    __metadata("design:type", Object)
], ImportProfileItemDTO.prototype, "config", void 0);
__decorate([
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsBoolean)(),
    __metadata("design:type", Boolean)
], ImportProfileItemDTO.prototype, "is_active", void 0);
class ConflictResolutionDTO {
}
exports.ConflictResolutionDTO = ConflictResolutionDTO;
__decorate([
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.MaxLength)(255),
    __metadata("design:type", String)
], ConflictResolutionDTO.prototype, "slug", void 0);
__decorate([
    (0, class_validator_1.IsIn)(['ignore', 'replace', 'rename_auto']),
    __metadata("design:type", String)
], ConflictResolutionDTO.prototype, "action", void 0);
class ImportConfirmDTO {
}
exports.ImportConfirmDTO = ImportConfirmDTO;
__decorate([
    (0, class_validator_1.IsArray)(),
    (0, class_validator_1.ArrayNotEmpty)(),
    (0, class_validator_1.ValidateNested)({ each: true }),
    (0, class_transformer_1.Type)(() => ImportProfileItemDTO),
    __metadata("design:type", Array)
], ImportConfirmDTO.prototype, "profiles", void 0);
__decorate([
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsArray)(),
    (0, class_validator_1.ValidateNested)({ each: true }),
    (0, class_transformer_1.Type)(() => ConflictResolutionDTO),
    __metadata("design:type", Array)
], ImportConfirmDTO.prototype, "conflict_resolutions", void 0);
//# sourceMappingURL=import-confirm.dto.js.map