"use strict";
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetFrozenPartialTokensQueryFixture = exports.UnfreezePartialTokensRequestFixture = exports.UnfreezePartialTokensCommandFixture = exports.FreezePartialTokensRequestFixture = exports.FreezePartialTokensCommandFixture = exports.SetAddressFrozenRequestFixture = exports.SetAddressFrozenCommandFixture = void 0;
const config_1 = require("../config");
const DataFixture_1 = require("../shared/DataFixture");
exports.SetAddressFrozenCommandFixture = (0, config_1.createFixture)((command) => {
    command.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.status.faker((faker) => faker.datatype.boolean());
    command.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.SetAddressFrozenRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.status.faker((faker) => faker.datatype.boolean());
    request.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.FreezePartialTokensCommandFixture = (0, config_1.createFixture)((command) => {
    command.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.amount.faker((faker) => faker.number.int({ min: 1, max: 10 }).toString());
    command.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.FreezePartialTokensRequestFixture = (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());
    request.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.UnfreezePartialTokensCommandFixture = (0, config_1.createFixture)((command) => {
    command.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.amount.faker((faker) => faker.number.int({ min: 1, max: 10 }).toString());
    command.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.UnfreezePartialTokensRequestFixture = (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());
    request.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.GetFrozenPartialTokensQueryFixture = (0, config_1.createFixture)((query) => {
    query.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    query.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
