"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const models_1 = require("../../models");
exports.getAccess = (connectionService, payload = { refresh: false }) => connectionService.send(payload, models_1.apiConfig.requestAccess);
exports.getAddresses = (connectionService, payload = { refresh: false }) => connectionService.send(payload, models_1.apiConfig.requestAddresses);
exports.getAllAssetClasses = (connectionService) => connectionService.send({}, models_1.apiConfig.requestAllAssetClasses);
exports.getAllNamespaces = (connectionService) => connectionService.send({}, models_1.apiConfig.requestAllNamespaces);
exports.getContract = (connectionService, payload) => connectionService.send(payload, models_1.apiConfig.requestContract);
exports.getBlock = (connectionService) => connectionService.send({}, models_1.apiConfig.requestBlock);
exports.getHolders = (connectionService, payload) => connectionService.send(payload, models_1.apiConfig.requestHolders);
exports.getHoldingsDetail = (connectionService, payload) => connectionService.send(payload, models_1.apiConfig.requestHoldingsDetail);
exports.getHoldingsDetails = (connectionService, payload) => connectionService.send(payload, models_1.apiConfig.requestHoldingsDetails);
exports.getHoldings = (connectionService, payload) => connectionService.send(payload, models_1.apiConfig.requestHoldings);
exports.getAssetClasses = (connectionService, payload) => connectionService.send(payload, models_1.apiConfig.requestAssetClasses);
exports.getNamespace = (connectionService, payload) => connectionService.send(payload, models_1.apiConfig.requestNamespace);
exports.getNewAddress = (connectionService, payload) => connectionService.send(payload, models_1.apiConfig.requestNewAddress);
exports.getPOAAttorneyDetails = (connectionService, payload) => connectionService.send(payload, models_1.apiConfig.requestPOAAttorneyDetails);
exports.getPOAOwnerDetails = (connectionService, payload) => connectionService.send(payload, models_1.apiConfig.requestPOAOwnerDetails);
exports.getState = (connectionService) => connectionService.send({}, models_1.apiConfig.requestState);
