"use strict";
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.BalancesOfAtSnapshotRequestFixture = exports.BalancesOfAtSnapshotQueryFixture = exports.GetTotalTokenHoldersAtSnapshotRequestFixture = exports.GetTokenHoldersAtSnapshotRequestFixture = exports.GetTotalTokenHoldersAtSnapshotQueryFixture = exports.GetTokenHoldersAtSnapshotQueryFixture = exports.TakeSnapshotRequestFixture = exports.TakeSnapshotCommandFixture = void 0;
const config_1 = require("../config");
const DataFixture_1 = require("../shared/DataFixture");
exports.TakeSnapshotCommandFixture = (0, config_1.createFixture)((command) => {
    command.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.TakeSnapshotRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.GetTokenHoldersAtSnapshotQueryFixture = (0, config_1.createFixture)((query) => {
    query.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    query.snapshotId.faker((faker) => faker.number.int({ min: 1, max: 10 }));
    query.start.faker((faker) => faker.number.int({ min: 1, max: 999 }));
    query.end.faker((faker) => faker.number.int({ min: 1, max: 999 }));
});
exports.GetTotalTokenHoldersAtSnapshotQueryFixture = (0, config_1.createFixture)((query) => {
    query.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    query.snapshotId.faker((faker) => faker.number.int({ min: 1, max: 10 }));
});
exports.GetTokenHoldersAtSnapshotRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.snapshotId.faker((faker) => faker.number.int({ min: 1, max: 10 }));
    request.start.faker((faker) => faker.number.int({ min: 1, max: 999 }));
    request.end.faker((faker) => faker.number.int({ min: 1, max: 999 }));
});
exports.GetTotalTokenHoldersAtSnapshotRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.snapshotId.faker((faker) => faker.number.int({ min: 1, max: 10 }));
});
exports.BalancesOfAtSnapshotQueryFixture = (0, config_1.createFixture)((query) => {
    query.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    query.snapshotId.faker((faker) => faker.number.int({ min: 1, max: 10 }));
    query.pageIndex.faker((faker) => faker.number.int({ min: 0, max: 100 }));
    query.pageLength.faker((faker) => faker.number.int({ min: 1, max: 50 }));
});
exports.BalancesOfAtSnapshotRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.snapshotId.faker((faker) => faker.number.int({ min: 1, max: 10 }));
    request.pageIndex.faker((faker) => faker.number.int({ min: 0, max: 100 }));
    request.pageLength.faker((faker) => faker.number.int({ min: 1, max: 50 }));
});
