"use strict";
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.IsAuthorizedWhiteListMockRequestFixture = exports.IsAuthorizedBlackListMockRequestFixture = exports.RemoveFromBlackListMockRequestFixture = exports.RemoveFromWhiteListMockRequestFixture = exports.AddToWhiteListMockRequestFixture = exports.AddToBlackListMockRequestFixture = exports.RemoveExternalControlListsRequestFixture = exports.AddExternalControlListsRequestFixture = exports.GetExternalControlListsCountRequestFixture = exports.GetExternalControlListsMembersRequestFixture = exports.IsExternalControlListRequestFixture = exports.IsExternalControlListQueryFixture = exports.GetExternalControlListsMembersQueryFixture = exports.GetExternalControlListsCountQueryFixture = exports.UpdateExternalControlListsRequestFixture = exports.IsAuthorizedWhiteListMockQueryFixture = exports.IsAuthorizedBlackListMockQueryFixture = exports.RemoveFromWhiteListMockCommandFixture = exports.RemoveFromBlackListMockCommandFixture = exports.AddToWhiteListMockCommandFixture = exports.AddToBlackListMockCommandFixture = exports.RemoveExternalControlListCommandFixture = exports.AddExternalControlListCommandFixture = exports.UpdateExternalControlListsCommandFixture = void 0;
const config_1 = require("../config");
const DataFixture_1 = require("../shared/DataFixture");
exports.UpdateExternalControlListsCommandFixture = (0, config_1.createFixture)((command) => {
    command.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.externalControlListsAddresses.as(() => [DataFixture_1.HederaIdPropsFixture.create().value]);
    command.actives.faker((faker) => [faker.datatype.boolean()]);
});
exports.AddExternalControlListCommandFixture = (0, config_1.createFixture)((command) => {
    command.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.externalControlListAddress.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.RemoveExternalControlListCommandFixture = (0, config_1.createFixture)((command) => {
    command.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.externalControlListAddress.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.AddToBlackListMockCommandFixture = (0, config_1.createFixture)((command) => {
    command.contractId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.AddToWhiteListMockCommandFixture = (0, config_1.createFixture)((command) => {
    command.contractId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.RemoveFromBlackListMockCommandFixture = (0, config_1.createFixture)((command) => {
    command.contractId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.RemoveFromWhiteListMockCommandFixture = (0, config_1.createFixture)((command) => {
    command.contractId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    command.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.IsAuthorizedBlackListMockQueryFixture = (0, config_1.createFixture)((query) => {
    query.contractId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    query.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.IsAuthorizedWhiteListMockQueryFixture = (0, config_1.createFixture)((query) => {
    query.contractId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    query.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.UpdateExternalControlListsRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.externalControlListsAddresses.as(() => [DataFixture_1.HederaIdPropsFixture.create().value]);
    request.actives.faker((faker) => [faker.datatype.boolean()]);
});
exports.GetExternalControlListsCountQueryFixture = (0, config_1.createFixture)((query) => {
    query.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.GetExternalControlListsMembersQueryFixture = (0, config_1.createFixture)((query) => {
    query.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    query.start.faker((faker) => faker.number.int({ min: 1, max: 10 }));
    query.end.faker((faker) => faker.number.int({ min: 1, max: 10 }));
});
exports.IsExternalControlListQueryFixture = (0, config_1.createFixture)((query) => {
    query.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    query.externalControlListAddress.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.IsExternalControlListRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.externalControlListAddress.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.GetExternalControlListsMembersRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.start.faker((faker) => faker.number.int({ min: 1, max: 10 }));
    request.end.faker((faker) => faker.number.int({ min: 1, max: 10 }));
});
exports.GetExternalControlListsCountRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.AddExternalControlListsRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.externalControlListAddress.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.RemoveExternalControlListsRequestFixture = (0, config_1.createFixture)((request) => {
    request.securityId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.externalControlListAddress.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.AddToBlackListMockRequestFixture = (0, config_1.createFixture)((request) => {
    request.contractId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.AddToWhiteListMockRequestFixture = (0, config_1.createFixture)((request) => {
    request.contractId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.RemoveFromWhiteListMockRequestFixture = (0, config_1.createFixture)((request) => {
    request.contractId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.RemoveFromBlackListMockRequestFixture = (0, config_1.createFixture)((request) => {
    request.contractId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.IsAuthorizedBlackListMockRequestFixture = (0, config_1.createFixture)((request) => {
    request.contractId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
exports.IsAuthorizedWhiteListMockRequestFixture = (0, config_1.createFixture)((request) => {
    request.contractId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
    request.targetId.as(() => DataFixture_1.HederaIdPropsFixture.create().value);
});
