@messari/sdk
Version:
Messari SDK provides a type-safe, intuitive interface for accessing Messari's suite of crypto data and AI APIs.
771 lines (770 loc) • 30.5 kB
TypeScript
import type { components } from './types';
export interface APIResponseWithMetadata<T = unknown, M = unknown> {
/** @description Response payload */
data: T;
/** @description Error message if request failed */
error?: string;
/** @description Additional metadata about the response */
metadata?: M;
}
export type PathParams = Record<string, string>;
export type createChatCompletionResponse = components['schemas']['ChatCompletionResponse'];
export type createChatCompletionError = components['schemas']['APIError'];
export type createChatCompletionParameters = components['schemas']['ChatCompletionRequest'];
export declare const createChatCompletion: {
readonly method: "POST";
readonly pathParams: readonly [];
readonly queryParams: readonly [];
readonly bodyParams: readonly ["messages", "verbosity", "response_format", "inline_citations", "stream"];
readonly path: () => string;
};
export type extractEntitiesResponse = components['schemas']['ExtractResponse'];
export type extractEntitiesError = components['schemas']['APIError'];
export type extractEntitiesParameters = components['schemas']['ExtractRequest'];
export declare const extractEntities: {
readonly method: "POST";
readonly pathParams: readonly [];
readonly queryParams: readonly [];
readonly bodyParams: readonly ["content", "entityTypes", "allSimilarEntities"];
readonly path: () => string;
};
export type createChatCompletionOpenAIResponse = components['schemas']['ChatCompletionResponseOpenAI'];
export type createChatCompletionOpenAIError = components['schemas']['APIError'];
export type createChatCompletionOpenAIParameters = components['schemas']['ChatCompletionRequest'];
export declare const createChatCompletionOpenAI: {
readonly method: "POST";
readonly pathParams: readonly [];
readonly queryParams: readonly [];
readonly bodyParams: readonly ["messages", "verbosity", "response_format", "inline_citations", "stream"];
readonly path: () => string;
};
export type getAssetsV2Response = components['schemas']['V2AssetListItem'][];
export type getAssetsV2Error = components['schemas']['APIError'];
export type getAssetsV2Parameters = {
category?: string;
sector?: string;
tags?: string[];
search?: string;
limit?: number;
hasDiligence?: boolean;
hasIntel?: boolean;
hasMarketData?: boolean;
hasNews?: boolean;
hasProposals?: boolean;
hasResearch?: boolean;
hasTokenUnlocks?: boolean;
hasFundraising?: boolean;
};
export declare const getAssetsV2: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["category", "sector", "tags", "search", "limit", "hasDiligence", "hasIntel", "hasMarketData", "hasNews", "hasProposals", "hasResearch", "hasTokenUnlocks", "hasFundraising"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getAssetDetailsResponse = components['schemas']['V2Asset'][];
export type getAssetDetailsError = components['schemas']['APIError'];
export type getAssetDetailsParameters = {
ids?: string;
slugs?: string;
};
export declare const getAssetDetails: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["ids", "slugs"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getAssetsTimeseriesCatalogResponse = components['schemas']['TimeseriesCatalog'];
export type getAssetsTimeseriesCatalogError = components['schemas']['APIError'];
export type getAssetsTimeseriesCatalogParameters = null;
export declare const getAssetsTimeseriesCatalog: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getAssetTimeseriesResponse = components['schemas']['TimeseriesData'];
export type getAssetTimeseriesError = components['schemas']['APIError'];
export type getAssetTimeseriesParameters = {
start?: string;
end?: string;
} & {
entityIdentifier: string;
datasetSlug: string;
};
export declare const getAssetTimeseries: {
readonly method: "GET";
readonly pathParams: readonly ["entityIdentifier", "datasetSlug"];
readonly queryParams: readonly ["start", "end"];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type getAssetTimeseriesWithGranularityResponse = components['schemas']['TimeseriesData'];
export type getAssetTimeseriesWithGranularityError = components['schemas']['APIError'];
export type getAssetTimeseriesWithGranularityParameters = {
start?: string;
end?: string;
} & {
entityIdentifier: string;
datasetSlug: string;
granularity: string;
};
export declare const getAssetTimeseriesWithGranularity: {
readonly method: "GET";
readonly pathParams: readonly ["entityIdentifier", "datasetSlug", "granularity"];
readonly queryParams: readonly ["start", "end"];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type getAssetsV2ATHResponse = components['schemas']['V2AssetAthItem'][];
export type getAssetsV2ATHError = components['schemas']['APIError'];
export type getAssetsV2ATHParameters = {
ids?: string;
slugs?: string;
category?: string;
sector?: string;
tags?: string[];
search?: string;
limit?: number;
};
export declare const getAssetsV2ATH: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["ids", "slugs", "category", "sector", "tags", "search", "limit"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getAssetsV2ROIResponse = components['schemas']['V2AssetRoiItem'][];
export type getAssetsV2ROIError = components['schemas']['APIError'];
export type getAssetsV2ROIParameters = {
ids?: string;
slugs?: string;
category?: string;
sector?: string;
tags?: string[];
search?: string;
limit?: number;
};
export declare const getAssetsV2ROI: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["ids", "slugs", "category", "sector", "tags", "search", "limit"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getExchangesResponse = components['schemas']['Exchange'][];
export type getExchangesError = components['schemas']['APIError'];
export type getExchangesParameters = {
type?: string;
typeRankCutoff?: string;
page?: number;
pageSize?: number;
};
export declare const getExchanges: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["type", "typeRankCutoff", "page", "pageSize"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getExchangeResponse = components['schemas']['Exchange'];
export type getExchangeError = components['schemas']['APIError'];
export type getExchangeParameters = {
exchangeIdentifier: string;
};
export declare const getExchange: {
readonly method: "GET";
readonly pathParams: readonly ["exchangeIdentifier"];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type getExchangeMetricsResponse = components['schemas']['TimeseriesCatalog'];
export type getExchangeMetricsError = components['schemas']['APIError'];
export type getExchangeMetricsParameters = null;
export declare const getExchangeMetrics: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getExchangeTimeseriesResponse = components['schemas']['TimeseriesData'];
export type getExchangeTimeseriesError = components['schemas']['APIError'];
export type getExchangeTimeseriesParameters = {
start: string;
end: string;
} & {
entityIdentifier: string;
datasetSlug: string;
granularity: string;
};
export declare const getExchangeTimeseries: {
readonly method: "GET";
readonly pathParams: readonly ["entityIdentifier", "datasetSlug", "granularity"];
readonly queryParams: readonly ["start", "end"];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type getMarketsResponse = components['schemas']['Market'][];
export type getMarketsError = components['schemas']['APIError'];
export type getMarketsParameters = {
exchangeId?: string;
exchangeSlug?: string;
quoteAssetId?: string;
quoteAssetSlug?: string;
baseAssetId?: string;
baseAssetSlug?: string;
volume24hAbove?: string;
volume24hBelow?: string;
};
export declare const getMarkets: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["exchangeId", "exchangeSlug", "quoteAssetId", "quoteAssetSlug", "baseAssetId", "baseAssetSlug", "volume24hAbove", "volume24hBelow"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getMarketResponse = components['schemas']['Market'];
export type getMarketError = components['schemas']['APIError'];
export type getMarketParameters = {
marketIdentifier: string;
};
export declare const getMarket: {
readonly method: "GET";
readonly pathParams: readonly ["marketIdentifier"];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type getMarketMetricsResponse = components['schemas']['TimeseriesCatalog'];
export type getMarketMetricsError = components['schemas']['APIError'];
export type getMarketMetricsParameters = null;
export declare const getMarketMetrics: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getMarketTimeseriesResponse = components['schemas']['TimeseriesData'];
export type getMarketTimeseriesError = components['schemas']['APIError'];
export type getMarketTimeseriesParameters = {
start: string;
end: string;
} & {
entityIdentifier: string;
datasetSlug: string;
granularity: string;
};
export declare const getMarketTimeseries: {
readonly method: "GET";
readonly pathParams: readonly ["entityIdentifier", "datasetSlug", "granularity"];
readonly queryParams: readonly ["start", "end"];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type getNetworksResponse = components['schemas']['Network'][];
export type getNetworksError = components['schemas']['APIError'];
export type getNetworksParameters = {
page?: number;
pageSize?: number;
};
export declare const getNetworks: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["page", "pageSize"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getNetworkResponse = components['schemas']['Network'];
export type getNetworkError = components['schemas']['APIError'];
export type getNetworkParameters = {
networkIdentifier: string;
};
export declare const getNetwork: {
readonly method: "GET";
readonly pathParams: readonly ["networkIdentifier"];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type getNetworkMetricsResponse = components['schemas']['TimeseriesCatalog'];
export type getNetworkMetricsError = components['schemas']['APIError'];
export type getNetworkMetricsParameters = null;
export declare const getNetworkMetrics: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getNetworkTimeseriesResponse = components['schemas']['TimeseriesData'];
export type getNetworkTimeseriesError = components['schemas']['APIError'];
export type getNetworkTimeseriesParameters = {
start: string;
end: string;
} & {
entityIdentifier: string;
datasetSlug: string;
granularity: string;
};
export declare const getNetworkTimeseries: {
readonly method: "GET";
readonly pathParams: readonly ["entityIdentifier", "datasetSlug", "granularity"];
readonly queryParams: readonly ["start", "end"];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type getAllEventsResponse = APIResponseWithMetadata<components['schemas']['Event'][], components['schemas']['PaginationResult']>;
export type getAllEventsError = components['schemas']['APIError'];
export type getAllEventsParameters = components['schemas']['GetAllEventsRequest'];
export declare const getAllEvents: {
readonly method: "POST";
readonly pathParams: readonly [];
readonly queryParams: readonly [];
readonly bodyParams: readonly ["page", "limit", "primaryAssets", "secondaryAssets", "primaryOrSecondaryAssets", "startTime", "endTime", "importance", "category", "subcategory", "tag", "status", "globalEvent"];
readonly path: () => string;
};
export type getEventAndHistoryResponse = components['schemas']['GetEventResponse'];
export type getEventAndHistoryError = components['schemas']['APIError'];
export type getEventAndHistoryParameters = {
eventId: string;
};
export declare const getEventAndHistory: {
readonly method: "GET";
readonly pathParams: readonly ["eventId"];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type getAllAssetsResponse = APIResponseWithMetadata<components['schemas']['Asset'][], components['schemas']['PaginationResult']>;
export type getAllAssetsError = components['schemas']['APIError'];
export type getAllAssetsParameters = {
page?: number;
limit?: number;
symbol?: string;
name?: string;
};
export declare const getAllAssets: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["page", "limit", "symbol", "name"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getNewsFeedAssetsResponse = APIResponseWithMetadata<components['schemas']['AssetList'], components['schemas']['PaginationResult']>;
export type getNewsFeedAssetsError = components['schemas']['APIError'];
export type getNewsFeedAssetsParameters = {
nameOrSymbol?: string;
limit?: number;
page?: number;
};
export declare const getNewsFeedAssets: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["nameOrSymbol", "limit", "page"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getNewsFeedResponse = APIResponseWithMetadata<components['schemas']['DocumentList'], components['schemas']['PaginationResult']>;
export type getNewsFeedError = components['schemas']['APIError'];
export type getNewsFeedParameters = {
publishedBefore?: number;
publishedAfter?: number;
sourceTypes?: string[];
sourceIds?: string[];
assetIds?: string[];
sort?: number;
limit?: number;
page?: number;
};
export declare const getNewsFeed: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["publishedBefore", "publishedAfter", "sourceTypes", "sourceIds", "assetIds", "sort", "limit", "page"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getNewsSourcesResponse = APIResponseWithMetadata<components['schemas']['SourceList'], components['schemas']['PaginationResult']>;
export type getNewsSourcesError = components['schemas']['APIError'];
export type getNewsSourcesParameters = {
sourceName?: string;
limit?: number;
page?: number;
};
export declare const getNewsSources: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["sourceName", "limit", "page"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getProjectRecapResponse = components['schemas']['GetProjectRecapResponse'];
export type getProjectRecapError = components['schemas']['APIError'];
export type getProjectRecapParameters = {
project_id: string;
};
export declare const getProjectRecap: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["project_id"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getExchangeRecapResponse = components['schemas']['ExchangeRecap'];
export type getExchangeRecapError = components['schemas']['APIError'];
export type getExchangeRecapParameters = {
exchange_id: string;
};
export declare const getExchangeRecap: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["exchange_id"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getExchangeRankingsRecapResponse = components['schemas']['ExchangeRankingsRecap'];
export type getExchangeRankingsRecapError = components['schemas']['APIError'];
export type getExchangeRankingsRecapParameters = {
period?: string;
};
export declare const getExchangeRankingsRecap: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["period"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getResearchReportsResponse = components['schemas']['ResearchReport'][];
export type getResearchReportsError = components['schemas']['APIError'];
export type getResearchReportsParameters = {
page?: number;
limit?: number;
assetId?: string;
tags?: string;
contentType: string;
};
export declare const getResearchReports: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["page", "limit", "assetId", "tags", "contentType"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getResearchReportByIdResponse = components['schemas']['ResearchReport'];
export type getResearchReportByIdError = components['schemas']['APIError'];
export type getResearchReportByIdParameters = {
id: string;
};
export declare const getResearchReportById: {
readonly method: "GET";
readonly pathParams: readonly ["id"];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type getResearchReportTagsResponse = string[];
export type getResearchReportTagsError = components['schemas']['APIError'];
export type getResearchReportTagsParameters = null;
export declare const getResearchReportTags: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getPreviewsResponse = components['schemas']['GetPreviewsResponse'];
export type getPreviewsError = components['schemas']['APIError'];
export type getPreviewsParameters = {
sector?: string;
isDefaultIncluded?: boolean;
isPublished?: boolean;
isPurchased?: boolean;
sort?: string;
order?: string;
};
export declare const getPreviews: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["sector", "isDefaultIncluded", "isPublished", "isPurchased", "sort", "order"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getReportByAssetIDResponse = components['schemas']['AssetReport'];
export type getReportByAssetIDError = components['schemas']['APIError'];
export type getReportByAssetIDParameters = {
assetId: string;
};
export declare const getReportByAssetID: {
readonly method: "GET";
readonly pathParams: readonly ["assetId"];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type getFundingRoundsResponse = components['schemas']['FundingRound'][];
export type getFundingRoundsError = components['schemas']['APIError'];
export type getFundingRoundsParameters = {
fundedEntityId?: string;
investorId?: string;
type?: string;
stage?: string;
raisedAmountMax?: number;
raisedAmountMin?: number;
isTokenFunded?: boolean;
announcedBefore?: string;
announcedAfter?: string;
page?: number;
limit?: number;
};
export declare const getFundingRounds: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["fundedEntityId", "investorId", "type", "stage", "raisedAmountMax", "raisedAmountMin", "isTokenFunded", "announcedBefore", "announcedAfter", "page", "limit"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getFundingRoundsInvestorsResponse = components['schemas']['Investors'][];
export type getFundingRoundsInvestorsError = components['schemas']['APIError'];
export type getFundingRoundsInvestorsParameters = {
fundedEntityId?: string;
investorId?: string;
type?: string;
stage?: string;
raisedAmountMax?: number;
raisedAmountMin?: number;
isTokenFunded?: boolean;
announcedBefore?: string;
announcedAfter?: string;
page?: number;
limit?: number;
};
export declare const getFundingRoundsInvestors: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["fundedEntityId", "investorId", "type", "stage", "raisedAmountMax", "raisedAmountMin", "isTokenFunded", "announcedBefore", "announcedAfter", "page", "limit"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getAcquisitionDealsResponse = components['schemas']['AcquisitionDeal'][];
export type getAcquisitionDealsError = components['schemas']['APIError'];
export type getAcquisitionDealsParameters = {
acquiringEntityId?: string;
acquiredEntityId?: string;
transactionAmountMin?: number;
transactionAmountMax?: number;
announcedBefore?: string;
announcedAfter?: string;
page?: number;
limit?: number;
};
export declare const getAcquisitionDeals: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["acquiringEntityId", "acquiredEntityId", "transactionAmountMin", "transactionAmountMax", "announcedBefore", "announcedAfter", "page", "limit"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getOrganizationsResponse = components['schemas']['Organization'][];
export type getOrganizationsError = components['schemas']['APIError'];
export type getOrganizationsParameters = {
id?: string;
category?: string;
sector?: string;
tags?: string;
foundedBefore?: string;
foundedAfter?: string;
page?: number;
limit?: number;
};
export declare const getOrganizations: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["id", "category", "sector", "tags", "foundedBefore", "foundedAfter", "page", "limit"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getProjectsResponse = components['schemas']['Project'][];
export type getProjectsError = components['schemas']['APIError'];
export type getProjectsParameters = {
id?: string;
category?: string;
sector?: string;
tags?: string;
foundedBefore?: string;
foundedAfter?: string;
page?: number;
limit?: number;
};
export declare const getProjects: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["id", "category", "sector", "tags", "foundedBefore", "foundedAfter", "page", "limit"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getTokenUnlockSupportedAssetsResponse = components['schemas']['TokenUnlockSupportedAsset'][];
export type getTokenUnlockSupportedAssetsError = components['schemas']['APIError'];
export type getTokenUnlockSupportedAssetsParameters = {
assetIDs?: string;
category?: string;
sectors?: string;
tags?: string;
};
export declare const getTokenUnlockSupportedAssets: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["assetIDs", "category", "sectors", "tags"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getTokenUnlockAllocationsResponse = components['schemas']['TokenUnlockAllocation'][];
export type getTokenUnlockAllocationsError = components['schemas']['APIError'];
export type getTokenUnlockAllocationsParameters = {
assetIDs?: string;
};
export declare const getTokenUnlockAllocations: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly ["assetIDs"];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getTokenUnlockVestingScheduleResponse = components['schemas']['TokenUnlockVestingSchedule'];
export type getTokenUnlockVestingScheduleError = components['schemas']['APIError'];
export type getTokenUnlockVestingScheduleParameters = {
startTime: string;
endTime: string;
} & {
assetId: string;
};
export declare const getTokenUnlockVestingSchedule: {
readonly method: "GET";
readonly pathParams: readonly ["assetId"];
readonly queryParams: readonly ["startTime", "endTime"];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type getTokenUnlocksResponse = components['schemas']['TokenUnlockUnlocks'];
export type getTokenUnlocksError = components['schemas']['APIError'];
export type getTokenUnlocksParameters = {
startTime: string;
endTime: string;
interval: string;
} & {
assetId: string;
};
export declare const getTokenUnlocks: {
readonly method: "GET";
readonly pathParams: readonly ["assetId"];
readonly queryParams: readonly ["startTime", "endTime", "interval"];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type getTokenUnlockEventsResponse = components['schemas']['TokenUnlockEvent'];
export type getTokenUnlockEventsError = components['schemas']['APIError'];
export type getTokenUnlockEventsParameters = {
startTime?: string;
endTime?: string;
} & {
assetId: string;
};
export declare const getTokenUnlockEvents: {
readonly method: "GET";
readonly pathParams: readonly ["assetId"];
readonly queryParams: readonly ["startTime", "endTime"];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type getTeamAllowanceResponse = components['schemas']['AllowanceInfo'];
export type getTeamAllowanceError = components['schemas']['APIError'];
export type getTeamAllowanceParameters = null;
export declare const getTeamAllowance: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type getPermissionsResponse = components['schemas']['PermissionsResponse'];
export type getPermissionsError = components['schemas']['APIError'];
export type getPermissionsParameters = null;
export declare const getPermissions: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type listWatchlistsResponse = components['schemas']['Watchlist'][];
export type listWatchlistsError = components['schemas']['APIError'];
export type listWatchlistsParameters = null;
export declare const listWatchlists: {
readonly method: "GET";
readonly pathParams: readonly [];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: () => string;
};
export type createWatchlistResponse = components['schemas']['Watchlist'];
export type createWatchlistError = components['schemas']['APIError'];
export type createWatchlistParameters = components['schemas']['CreateWatchlistRequest'];
export declare const createWatchlist: {
readonly method: "POST";
readonly pathParams: readonly [];
readonly queryParams: readonly [];
readonly bodyParams: readonly ["assetIds", "title"];
readonly path: () => string;
};
export type deleteWatchlistResponse = void;
export type deleteWatchlistError = components['schemas']['APIError'];
export type deleteWatchlistParameters = {
id: string;
};
export declare const deleteWatchlist: {
readonly method: "DELETE";
readonly pathParams: readonly ["id"];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type getWatchlistResponse = components['schemas']['Watchlist'];
export type getWatchlistError = components['schemas']['APIError'];
export type getWatchlistParameters = {
id: string;
};
export declare const getWatchlist: {
readonly method: "GET";
readonly pathParams: readonly ["id"];
readonly queryParams: readonly [];
readonly bodyParams: readonly [];
readonly path: (p: PathParams) => string;
};
export type updateWatchlistResponse = components['schemas']['Watchlist'];
export type updateWatchlistError = components['schemas']['APIError'];
export type updateWatchlistParameters = components['schemas']['UpdateWatchlistRequest'] & {
id: string;
};
export declare const updateWatchlist: {
readonly method: "PATCH";
readonly pathParams: readonly ["id"];
readonly queryParams: readonly [];
readonly bodyParams: readonly ["assetIds", "title", "watchlistID"];
readonly path: (p: PathParams) => string;
};
export type modifyWatchlistAssetsResponse = components['schemas']['Watchlist'];
export type modifyWatchlistAssetsError = components['schemas']['APIError'];
export type modifyWatchlistAssetsParameters = components['schemas']['ModifyWatchlistAssetsRequest'] & {
id: string;
};
export declare const modifyWatchlistAssets: {
readonly method: "PATCH";
readonly pathParams: readonly ["id"];
readonly queryParams: readonly [];
readonly bodyParams: readonly ["action", "assetIds", "watchlistID"];
readonly path: (p: PathParams) => string;
};
export * from './schema';