// SPDX-License-Identifier: Apache-2.0
import { createFixture } from "../config";
import { HederaIdPropsFixture } from "../shared/DataFixture";
export const UpdateExternalControlListsCommandFixture = createFixture((command) => {
    command.securityId.as(() => HederaIdPropsFixture.create().value);
    command.externalControlListsAddresses.as(() => [HederaIdPropsFixture.create().value]);
    command.actives.faker((faker) => [faker.datatype.boolean()]);
});
export const AddExternalControlListCommandFixture = createFixture((command) => {
    command.securityId.as(() => HederaIdPropsFixture.create().value);
    command.externalControlListAddress.as(() => HederaIdPropsFixture.create().value);
});
export const RemoveExternalControlListCommandFixture = createFixture((command) => {
    command.securityId.as(() => HederaIdPropsFixture.create().value);
    command.externalControlListAddress.as(() => HederaIdPropsFixture.create().value);
});
export const AddToBlackListMockCommandFixture = createFixture((command) => {
    command.contractId.as(() => HederaIdPropsFixture.create().value);
    command.targetId.as(() => HederaIdPropsFixture.create().value);
});
export const AddToWhiteListMockCommandFixture = createFixture((command) => {
    command.contractId.as(() => HederaIdPropsFixture.create().value);
    command.targetId.as(() => HederaIdPropsFixture.create().value);
});
export const RemoveFromBlackListMockCommandFixture = createFixture((command) => {
    command.contractId.as(() => HederaIdPropsFixture.create().value);
    command.targetId.as(() => HederaIdPropsFixture.create().value);
});
export const RemoveFromWhiteListMockCommandFixture = createFixture((command) => {
    command.contractId.as(() => HederaIdPropsFixture.create().value);
    command.targetId.as(() => HederaIdPropsFixture.create().value);
});
export const IsAuthorizedBlackListMockQueryFixture = createFixture((query) => {
    query.contractId.as(() => HederaIdPropsFixture.create().value);
    query.targetId.as(() => HederaIdPropsFixture.create().value);
});
export const IsAuthorizedWhiteListMockQueryFixture = createFixture((query) => {
    query.contractId.as(() => HederaIdPropsFixture.create().value);
    query.targetId.as(() => HederaIdPropsFixture.create().value);
});
export const UpdateExternalControlListsRequestFixture = createFixture((request) => {
    request.securityId.as(() => HederaIdPropsFixture.create().value);
    request.externalControlListsAddresses.as(() => [HederaIdPropsFixture.create().value]);
    request.actives.faker((faker) => [faker.datatype.boolean()]);
});
export const GetExternalControlListsCountQueryFixture = createFixture((query) => {
    query.securityId.as(() => HederaIdPropsFixture.create().value);
});
export const GetExternalControlListsMembersQueryFixture = createFixture((query) => {
    query.securityId.as(() => 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 }));
});
export const IsExternalControlListQueryFixture = createFixture((query) => {
    query.securityId.as(() => HederaIdPropsFixture.create().value);
    query.externalControlListAddress.as(() => HederaIdPropsFixture.create().value);
});
export const IsExternalControlListRequestFixture = createFixture((request) => {
    request.securityId.as(() => HederaIdPropsFixture.create().value);
    request.externalControlListAddress.as(() => HederaIdPropsFixture.create().value);
});
export const GetExternalControlListsMembersRequestFixture = createFixture((request) => {
    request.securityId.as(() => 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 }));
});
export const GetExternalControlListsCountRequestFixture = createFixture((request) => {
    request.securityId.as(() => HederaIdPropsFixture.create().value);
});
export const AddExternalControlListsRequestFixture = createFixture((request) => {
    request.securityId.as(() => HederaIdPropsFixture.create().value);
    request.externalControlListAddress.as(() => HederaIdPropsFixture.create().value);
});
export const RemoveExternalControlListsRequestFixture = createFixture((request) => {
    request.securityId.as(() => HederaIdPropsFixture.create().value);
    request.externalControlListAddress.as(() => HederaIdPropsFixture.create().value);
});
export const AddToBlackListMockRequestFixture = createFixture((request) => {
    request.contractId.as(() => HederaIdPropsFixture.create().value);
    request.targetId.as(() => HederaIdPropsFixture.create().value);
});
export const AddToWhiteListMockRequestFixture = createFixture((request) => {
    request.contractId.as(() => HederaIdPropsFixture.create().value);
    request.targetId.as(() => HederaIdPropsFixture.create().value);
});
export const RemoveFromWhiteListMockRequestFixture = createFixture((request) => {
    request.contractId.as(() => HederaIdPropsFixture.create().value);
    request.targetId.as(() => HederaIdPropsFixture.create().value);
});
export const RemoveFromBlackListMockRequestFixture = createFixture((request) => {
    request.contractId.as(() => HederaIdPropsFixture.create().value);
    request.targetId.as(() => HederaIdPropsFixture.create().value);
});
export const IsAuthorizedBlackListMockRequestFixture = createFixture((request) => {
    request.contractId.as(() => HederaIdPropsFixture.create().value);
    request.targetId.as(() => HederaIdPropsFixture.create().value);
});
export const IsAuthorizedWhiteListMockRequestFixture = createFixture((request) => {
    request.contractId.as(() => HederaIdPropsFixture.create().value);
    request.targetId.as(() => HederaIdPropsFixture.create().value);
});
