"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdateProceedRecipientDataCommandFixture = exports.RemoveProceedRecipientCommandFixture = exports.AddProceedRecipientCommandFixture = exports.GetProceedRecipientsQueryFixture = exports.GetProceedRecipientsCountQueryFixture = exports.GetProceedRecipientDataQueryFixture = exports.IsProceedRecipientQueryFixture = void 0;
const HederaId_1 = require("../../../src/domain/context/shared/HederaId");
const config_1 = require("../config");
const DataFixture_1 = require("../shared/DataFixture");
exports.IsProceedRecipientQueryFixture = (0, config_1.createFixture)((query) => {
    query.securityId.as(() => new HederaId_1.HederaId(DataFixture_1.HederaIdPropsFixture.create().value));
    query.targetId.as(() => new HederaId_1.HederaId(DataFixture_1.HederaIdPropsFixture.create().value));
});
exports.GetProceedRecipientDataQueryFixture = (0, config_1.createFixture)((query) => {
    query.securityId.as(() => new HederaId_1.HederaId(DataFixture_1.HederaIdPropsFixture.create().value));
    query.targetId.as(() => new HederaId_1.HederaId(DataFixture_1.HederaIdPropsFixture.create().value));
});
exports.GetProceedRecipientsCountQueryFixture = (0, config_1.createFixture)((query) => {
    query.securityId.as(() => new HederaId_1.HederaId(DataFixture_1.HederaIdPropsFixture.create().value));
});
exports.GetProceedRecipientsQueryFixture = (0, config_1.createFixture)((query) => {
    query.securityId.as(() => new HederaId_1.HederaId(DataFixture_1.HederaIdPropsFixture.create().value));
    query.pageIndex.faker((f) => f.number.int({ min: 1, max: 20 }));
    query.pageSize.faker((f) => f.number.int({ min: 1, max: 100 }));
});
exports.AddProceedRecipientCommandFixture = (0, config_1.createFixture)((command) => {
    command.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.proceedRecipient.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.data?.as(() => '0x');
});
exports.RemoveProceedRecipientCommandFixture = (0, config_1.createFixture)((command) => {
    command.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.proceedRecipient.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.UpdateProceedRecipientDataCommandFixture = (0, config_1.createFixture)((command) => {
    command.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.proceedRecipient.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.data.as(() => '0x');
});
