// SPDX-License-Identifier: Apache-2.0
import { createFixture } from "../config";
import { HederaIdPropsFixture } from "../shared/DataFixture";
export const TakeSnapshotCommandFixture = createFixture((command) => {
    command.securityId.as(() => HederaIdPropsFixture.create().value);
});
export const TakeSnapshotRequestFixture = createFixture((request) => {
    request.securityId.as(() => HederaIdPropsFixture.create().value);
});
export const GetTokenHoldersAtSnapshotQueryFixture = createFixture((query) => {
    query.securityId.as(() => 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 }));
});
export const GetTotalTokenHoldersAtSnapshotQueryFixture = createFixture((query) => {
    query.securityId.as(() => HederaIdPropsFixture.create().value);
    query.snapshotId.faker((faker) => faker.number.int({ min: 1, max: 10 }));
});
export const GetTokenHoldersAtSnapshotRequestFixture = createFixture((request) => {
    request.securityId.as(() => 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 }));
});
export const GetTotalTokenHoldersAtSnapshotRequestFixture = createFixture((request) => {
    request.securityId.as(() => HederaIdPropsFixture.create().value);
    request.snapshotId.faker((faker) => faker.number.int({ min: 1, max: 10 }));
});
export const BalancesOfAtSnapshotQueryFixture = createFixture((query) => {
    query.securityId.as(() => 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 }));
});
export const BalancesOfAtSnapshotRequestFixture = createFixture((request) => {
    request.securityId.as(() => 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 }));
});
