"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const types_1 = require("../../types");
exports.apiConfigWNRequests = {
    requestAccess: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/access',
        params: {
            refresh: 'boolean',
        },
    },
    requestAddresses: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/addresses',
        params: {
            refresh: 'boolean',
            walletid: 'number?',
        },
    },
    requestAllAssetClasses: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/allAssetClasses',
        params: {},
    },
    requestAllNamespaces: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/allNamespaces',
        params: {},
    },
    requestContract: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/contract',
        params: {
            walletid: 'number?',
            contractid: 'string?',
        },
    },
    requestBlock: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/block',
        params: {},
    },
    requestHolders: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/holders',
        params: {
            walletid: 'number?',
            namespace: 'string',
            classid: 'string?',
        },
    },
    requestHoldingsDetail: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/holdingsDetail',
        params: {
            namespace: 'string?',
            classid: 'string?',
            address: 'string?',
        },
    },
    requestHoldingsDetails: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/holdingsDetails',
        params: {
            walletid: 'object?',
            namespace: 'string?',
            classid: 'string?',
        },
    },
    requestHoldings: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/holdings',
        params: {
            namespace: 'string?',
            classid: 'string?',
            address: 'string?',
        },
    },
    requestAssetClasses: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/assetClasses',
        params: {
            walletid: 'number',
        },
    },
    requestNamespace: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/namespace',
        params: {
            walletid: 'number?',
            address: 'string?',
            namespace: 'string?',
        },
    },
    requestNewAddress: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/newAddress',
        params: {
            walletId: 'number',
            keyType: 'string?',
            metadata: 'string?',
            creator: 'string?',
        },
    },
    requestPOAAttorneyDetails: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/poaAttorneyDetails',
        params: {
            address: 'string',
        },
    },
    requestPOAOwnerDetails: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/poaOwnerDetails',
        params: {
            address: 'string',
        },
    },
    requestState: {
        apiType: types_1.ApiType.WN,
        method: types_1.HttpMethod.GET,
        path: 'request/state',
        params: {},
    },
};
