// SPDX-License-Identifier: Apache-2.0
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);
};
import { Exclude, Expose } from 'class-transformer';
let WrapsSchema = class WrapsSchema {
    artifactsFolderName;
    directoryName;
    allowedKeyFiles;
    // IMPORTANT: libraryDownloadUrl must be kept consistent with directoryName.
    // If directoryName is updated, update libraryDownloadUrl to match.
    libraryDownloadUrl;
    constructor(artifactsFolderName, directoryName, allowedKeyFiles, libraryDownloadUrl) {
        this.artifactsFolderName = artifactsFolderName ?? 'wraps-v0.2.0';
        this.directoryName = directoryName ?? 'wraps-v0.2.0';
        this.allowedKeyFiles = allowedKeyFiles ?? 'decider_pp.bin,decider_vp.bin,nova_pp.bin,nova_vp.bin';
        this.libraryDownloadUrl =
            libraryDownloadUrl ?? 'https://builds.hedera.com/tss/hiero/wraps/v0.2/wraps-v0.2.0.tar.gz';
    }
};
__decorate([
    Expose(),
    __metadata("design:type", String)
], WrapsSchema.prototype, "artifactsFolderName", void 0);
__decorate([
    Expose(),
    __metadata("design:type", String)
], WrapsSchema.prototype, "directoryName", void 0);
__decorate([
    Expose(),
    __metadata("design:type", String)
], WrapsSchema.prototype, "allowedKeyFiles", void 0);
__decorate([
    Expose(),
    __metadata("design:type", String)
], WrapsSchema.prototype, "libraryDownloadUrl", void 0);
WrapsSchema = __decorate([
    Exclude(),
    __metadata("design:paramtypes", [String, String, String, String])
], WrapsSchema);
export { WrapsSchema };
//# sourceMappingURL=wraps-schema.js.map