// SPDX-License-Identifier: Apache-2.0
import { createFixture } from "../config";
import { HederaIdPropsFixture } from "../shared/DataFixture";
export const SetNominalValueCommandFixture = createFixture((command) => {
    command.securityId.as(() => 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 }));
});
export const GetNominalValueQueryFixture = createFixture((query) => {
    query.securityId.as(() => HederaIdPropsFixture.create().value);
});
export const GetNominalValueDecimalsQueryFixture = createFixture((query) => {
    query.securityId.as(() => HederaIdPropsFixture.create().value);
});
export const SetNominalValueRequestFixture = createFixture((request) => {
    request.securityId.as(() => 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 }));
});
export const GetNominalValueRequestFixture = createFixture((request) => {
    request.securityId.as(() => HederaIdPropsFixture.create().value);
});
export const GetNominalValueDecimalsRequestFixture = createFixture((request) => {
    request.securityId.as(() => HederaIdPropsFixture.create().value);
});
