"use strict";
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.ForceRedeemRequestFixture = exports.RedeemRequestFixture = exports.RedeemCommandFixture = void 0;
const DataFixture_1 = require("../shared/DataFixture");
const config_1 = require("../config");
exports.RedeemCommandFixture = (0, config_1.createFixture)((command) => {
    command.amount.faker((faker) => faker.number.int({ min: 1, max: 1000 }).toString());
    command.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.sourceId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.partitionId.as(() => DataFixture_1.PartitionIdFixture.create().value);
    command.deadline.faker((faker) => faker.date.future().getTime().toString());
    command.nounce.faker((faker) => faker.number.int({ min: 0, max: 1000 }).toString());
    command.signature.faker((faker) => faker.string.hexadecimal({ length: 64, prefix: "0x" }));
});
exports.RedeemRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.amount.faker((faker) => faker.number.int({ min: 1, max: 10 }).toString());
});
exports.ForceRedeemRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.sourceId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.amount.faker((faker) => faker.number.int({ min: 1, max: 10 }).toString());
});
