"use strict";
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetNominalValueDecimalsRequestFixture = exports.GetNominalValueRequestFixture = exports.SetNominalValueRequestFixture = exports.GetNominalValueDecimalsQueryFixture = exports.GetNominalValueQueryFixture = exports.SetNominalValueCommandFixture = void 0;
const config_1 = require("../config");
const DataFixture_1 = require("../shared/DataFixture");
exports.SetNominalValueCommandFixture = (0, config_1.createFixture)((command) => {
    command.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.nominalValue.faker((faker) => faker.number.int({ min: 1, max: 1000000 }).toString());
    command.nominalValueDecimals.faker((faker) => faker.number.int({ min: 0, max: 18 }));
});
exports.GetNominalValueQueryFixture = (0, config_1.createFixture)((query) => {
    query.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.GetNominalValueDecimalsQueryFixture = (0, config_1.createFixture)((query) => {
    query.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.SetNominalValueRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.nominalValue.faker((faker) => faker.number.int({ min: 1, max: 1000000 }).toString());
    request.nominalValueDecimals.faker((faker) => faker.number.int({ min: 0, max: 18 }));
});
exports.GetNominalValueRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.GetNominalValueDecimalsRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
