"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createGetGetTxDescriptor = exports.createGetGetQueryServicesDescriptor = exports.createGetGetConfigurationDescriptor = exports.createGetGetCodecDescriptor = exports.createGetGetChainDescriptor = exports.createGetGetAuthnDescriptor = void 0;
const helper_func_types_1 = require("../../../../helper-func-types");
const reflection_1 = require("./reflection");
const createGetGetAuthnDescriptor = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: reflection_1.GetAuthnDescriptorRequest.encode,
    decode: reflection_1.GetAuthnDescriptorResponse.decode,
    service: "cosmos.base.reflection.v2alpha1.ReflectionService",
    method: "GetAuthnDescriptor",
    clientResolver
});
exports.createGetGetAuthnDescriptor = createGetGetAuthnDescriptor;
const createGetGetChainDescriptor = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: reflection_1.GetChainDescriptorRequest.encode,
    decode: reflection_1.GetChainDescriptorResponse.decode,
    service: "cosmos.base.reflection.v2alpha1.ReflectionService",
    method: "GetChainDescriptor",
    clientResolver
});
exports.createGetGetChainDescriptor = createGetGetChainDescriptor;
const createGetGetCodecDescriptor = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: reflection_1.GetCodecDescriptorRequest.encode,
    decode: reflection_1.GetCodecDescriptorResponse.decode,
    service: "cosmos.base.reflection.v2alpha1.ReflectionService",
    method: "GetCodecDescriptor",
    clientResolver
});
exports.createGetGetCodecDescriptor = createGetGetCodecDescriptor;
const createGetGetConfigurationDescriptor = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: reflection_1.GetConfigurationDescriptorRequest.encode,
    decode: reflection_1.GetConfigurationDescriptorResponse.decode,
    service: "cosmos.base.reflection.v2alpha1.ReflectionService",
    method: "GetConfigurationDescriptor",
    clientResolver
});
exports.createGetGetConfigurationDescriptor = createGetGetConfigurationDescriptor;
const createGetGetQueryServicesDescriptor = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: reflection_1.GetQueryServicesDescriptorRequest.encode,
    decode: reflection_1.GetQueryServicesDescriptorResponse.decode,
    service: "cosmos.base.reflection.v2alpha1.ReflectionService",
    method: "GetQueryServicesDescriptor",
    clientResolver
});
exports.createGetGetQueryServicesDescriptor = createGetGetQueryServicesDescriptor;
const createGetGetTxDescriptor = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: reflection_1.GetTxDescriptorRequest.encode,
    decode: reflection_1.GetTxDescriptorResponse.decode,
    service: "cosmos.base.reflection.v2alpha1.ReflectionService",
    method: "GetTxDescriptor",
    clientResolver
});
exports.createGetGetTxDescriptor = createGetGetTxDescriptor;
