@rarible/api-client
Advanced tools
Comparing version 1.122.1 to 1.123.0
@@ -13,6 +13,6 @@ /** | ||
import * as runtime from '../runtime'; | ||
import { OlapBlockchain, OlapCollectionLeaderboardResponse, OlapError, OlapLeaderboardPeriod, OlapLeaderboardSort, OlapLeaderboardSortDirection } from '../models'; | ||
import { OlapBlockchain, OlapCollectionLeaderboardResponse, OlapError, OlapLeaderboardSort, OlapLeaderboardSortDirection, OlapPeriod } from '../models'; | ||
export interface GetCollectionLeaderboardRequest { | ||
blockchains?: Array<OlapBlockchain>; | ||
period?: OlapLeaderboardPeriod; | ||
period?: OlapPeriod; | ||
sort?: OlapLeaderboardSort; | ||
@@ -26,3 +26,3 @@ direction?: OlapLeaderboardSortDirection; | ||
blockchains?: Array<OlapBlockchain>; | ||
period?: OlapLeaderboardPeriod; | ||
period?: OlapPeriod; | ||
sort?: OlapLeaderboardSort; | ||
@@ -29,0 +29,0 @@ direction?: OlapLeaderboardSortDirection; |
@@ -13,3 +13,3 @@ /** | ||
import * as runtime from '../runtime'; | ||
import { OlapBidsByPriceSort, OlapBidsByPriceStatistics, OlapError, OlapGlobalCollectionStatisticsResponse, OlapLeaderboardPeriod, OlapOwnerStatistics, OlapPeriodCollectionStatisticsResponse, OlapPeriodCollectionsByIdsStatisticsRequest } from '../models'; | ||
import { OlapBidsByPriceSort, OlapBidsByPriceStatistics, OlapError, OlapGlobalCollectionStatisticsResponse, OlapOwnerStatistics, OlapPeriod, OlapPeriodCollectionStatisticsResponse, OlapPeriodCollectionsByIdsStatisticsRequest } from '../models'; | ||
export interface GetBidsByPriceRequest { | ||
@@ -34,3 +34,3 @@ id: string; | ||
id: string; | ||
period: OlapLeaderboardPeriod; | ||
period: OlapPeriod; | ||
} | ||
@@ -37,0 +37,0 @@ export interface GetPeriodCollectionStatisticsByIdsRequest { |
export * from './ActivityControllerApi'; | ||
export * from './BalanceControllerApi'; | ||
export * from './BlockControllerApi'; | ||
export * from './ChartControllerApi'; | ||
export * from './CollectionControllerApi'; | ||
@@ -5,0 +6,0 @@ export * from './CollectionLeaderboardControllerApi'; |
@@ -20,2 +20,3 @@ "use strict"; | ||
__exportStar(require("./BlockControllerApi"), exports); | ||
__exportStar(require("./ChartControllerApi"), exports); | ||
__exportStar(require("./CollectionControllerApi"), exports); | ||
@@ -22,0 +23,0 @@ __exportStar(require("./CollectionLeaderboardControllerApi"), exports); |
@@ -44,3 +44,4 @@ export declare enum Blockchain { | ||
SETTLUS = "SETTLUS", | ||
GOAT = "GOAT" | ||
GOAT = "GOAT", | ||
HYPEREVM = "HYPEREVM" | ||
} |
@@ -49,2 +49,3 @@ "use strict"; | ||
Blockchain["GOAT"] = "GOAT"; | ||
Blockchain["HYPEREVM"] = "HYPEREVM"; | ||
})(Blockchain = exports.Blockchain || (exports.Blockchain = {})); |
@@ -42,2 +42,3 @@ export * from "./Traits"; | ||
export * from "./BlockchainGroup"; | ||
export * from "./OlapChartResponse"; | ||
export * from "./Platform"; | ||
@@ -44,0 +45,0 @@ export * from "./Ownership"; |
@@ -58,2 +58,3 @@ "use strict"; | ||
__exportStar(require("./BlockchainGroup"), exports); | ||
__exportStar(require("./OlapChartResponse"), exports); | ||
__exportStar(require("./Platform"), exports); | ||
@@ -60,0 +61,0 @@ __exportStar(require("./Ownership"), exports); |
@@ -44,3 +44,4 @@ export declare enum OlapBlockchain { | ||
SETTLUS = "SETTLUS", | ||
GOAT = "GOAT" | ||
GOAT = "GOAT", | ||
HYPEREVM = "HYPEREVM" | ||
} |
@@ -49,2 +49,3 @@ "use strict"; | ||
OlapBlockchain["GOAT"] = "GOAT"; | ||
OlapBlockchain["HYPEREVM"] = "HYPEREVM"; | ||
})(OlapBlockchain = exports.OlapBlockchain || (exports.OlapBlockchain = {})); |
import { CurrencyId } from "@rarible/types"; | ||
import { OlapHistoryValuesByTimestamps } from "./OlapHistoryValuesByTimestamps"; | ||
import { OlapLeaderboardPeriod } from "./OlapLeaderboardPeriod"; | ||
import { OlapPeriod } from "./OlapPeriod"; | ||
export type OlapCollectionStatsFloorChangeData = { | ||
period: OlapLeaderboardPeriod; | ||
period: OlapPeriod; | ||
currencyId: CurrencyId; | ||
@@ -7,0 +7,0 @@ floorNative?: string; |
import { CurrencyId } from "@rarible/types"; | ||
import { OlapLeaderboardPeriod } from "./OlapLeaderboardPeriod"; | ||
import { OlapPeriod } from "./OlapPeriod"; | ||
export type OlapCollectionStatsVolumeChangeData = { | ||
period: OlapLeaderboardPeriod; | ||
period: OlapPeriod; | ||
currencyId: CurrencyId; | ||
@@ -6,0 +6,0 @@ volumeNative: string; |
@@ -28,3 +28,4 @@ export declare enum OlapCurrencyType { | ||
VIC = "VIC", | ||
BTC = "BTC" | ||
BTC = "BTC", | ||
HYPE = "HYPE" | ||
} |
@@ -33,2 +33,3 @@ "use strict"; | ||
OlapCurrencyType["BTC"] = "BTC"; | ||
OlapCurrencyType["HYPE"] = "HYPE"; | ||
})(OlapCurrencyType = exports.OlapCurrencyType || (exports.OlapCurrencyType = {})); |
export declare enum OlapLeaderboardPeriod { | ||
MIN5 = "MIN5", | ||
MIN30 = "MIN30", | ||
H1 = "H1", | ||
H6 = "H6", | ||
D1 = "D1", | ||
D7 = "D7", | ||
D30 = "D30", | ||
H6 = "H6", | ||
H1 = "H1", | ||
MIN30 = "MIN30", | ||
MIN5 = "MIN5", | ||
ALL = "ALL" | ||
} |
@@ -6,10 +6,10 @@ "use strict"; | ||
(function (OlapLeaderboardPeriod) { | ||
OlapLeaderboardPeriod["MIN5"] = "MIN5"; | ||
OlapLeaderboardPeriod["MIN30"] = "MIN30"; | ||
OlapLeaderboardPeriod["H1"] = "H1"; | ||
OlapLeaderboardPeriod["H6"] = "H6"; | ||
OlapLeaderboardPeriod["D1"] = "D1"; | ||
OlapLeaderboardPeriod["D7"] = "D7"; | ||
OlapLeaderboardPeriod["D30"] = "D30"; | ||
OlapLeaderboardPeriod["H6"] = "H6"; | ||
OlapLeaderboardPeriod["H1"] = "H1"; | ||
OlapLeaderboardPeriod["MIN30"] = "MIN30"; | ||
OlapLeaderboardPeriod["MIN5"] = "MIN5"; | ||
OlapLeaderboardPeriod["ALL"] = "ALL"; | ||
})(OlapLeaderboardPeriod = exports.OlapLeaderboardPeriod || (exports.OlapLeaderboardPeriod = {})); |
export declare enum OlapPeriod { | ||
MIN5 = "MIN5", | ||
MIN30 = "MIN30", | ||
H1 = "H1", | ||
H6 = "H6", | ||
D1 = "D1", | ||
D7 = "D7", | ||
D30 = "D30" | ||
D30 = "D30", | ||
D180 = "D180", | ||
D365 = "D365", | ||
ALL = "ALL" | ||
} |
@@ -6,5 +6,12 @@ "use strict"; | ||
(function (OlapPeriod) { | ||
OlapPeriod["MIN5"] = "MIN5"; | ||
OlapPeriod["MIN30"] = "MIN30"; | ||
OlapPeriod["H1"] = "H1"; | ||
OlapPeriod["H6"] = "H6"; | ||
OlapPeriod["D1"] = "D1"; | ||
OlapPeriod["D7"] = "D7"; | ||
OlapPeriod["D30"] = "D30"; | ||
OlapPeriod["D180"] = "D180"; | ||
OlapPeriod["D365"] = "D365"; | ||
OlapPeriod["ALL"] = "ALL"; | ||
})(OlapPeriod = exports.OlapPeriod || (exports.OlapPeriod = {})); |
@@ -1,5 +0,5 @@ | ||
import { OlapLeaderboardPeriod } from "./OlapLeaderboardPeriod"; | ||
import { OlapPeriod } from "./OlapPeriod"; | ||
export type OlapPeriodCollectionsByIdsStatisticsRequest = { | ||
collectionIds: Array<string>; | ||
period: OlapLeaderboardPeriod; | ||
period: OlapPeriod; | ||
}; |
import { CollectionId } from "@rarible/types"; | ||
import { OlapLeaderboardPeriod } from "./OlapLeaderboardPeriod"; | ||
import { OlapPeriod } from "./OlapPeriod"; | ||
import { OlapPriceWithUsd } from "./OlapPriceWithUsd"; | ||
export type OlapPeriodCollectionStatisticsResponse = { | ||
id?: CollectionId; | ||
period: OlapLeaderboardPeriod; | ||
period: OlapPeriod; | ||
volume: OlapPriceWithUsd; | ||
floorChangePercent?: string; | ||
}; |
@@ -0,5 +1,6 @@ | ||
import { Activity } from "./Activity"; | ||
import { ItemEvent } from "./ItemEvent"; | ||
import { OrderEvent } from "./OrderEvent"; | ||
import { OwnershipEvent } from "./OwnershipEvent"; | ||
export type SubscriptionEvent = FakeSubscriptionEvent | ItemSubscriptionEvent | ItemOwnershipSubscriptionEvent | OwnershipSubscriptionEvent | OrderSubscriptionEvent; | ||
export type SubscriptionEvent = FakeSubscriptionEvent | ItemSubscriptionEvent | ItemOwnershipSubscriptionEvent | OwnershipSubscriptionEvent | OrderSubscriptionEvent | ActivitySubscriptionEvent; | ||
export type FakeSubscriptionEvent = { | ||
@@ -24,1 +25,5 @@ "@type": "FAKE"; | ||
}; | ||
export type ActivitySubscriptionEvent = { | ||
"@type": "ACTIVITY"; | ||
value: Activity; | ||
}; |
@@ -0,1 +1,2 @@ | ||
import { ActivityType } from "./ActivityType"; | ||
import { CollectionId } from "@rarible/types"; | ||
@@ -7,3 +8,4 @@ import { ItemId } from "@rarible/types"; | ||
import { SubscriptionAction } from "./SubscriptionAction"; | ||
export type SubscriptionRequest = ItemSubscriptionRequest | OwnershipSubscriptionRequest | ItemOwnershipSubscriptionRequest | OrdersSubscriptionRequest | OrdersByItemSubscriptionRequest | OrdersByCollectionSubscriptionRequest; | ||
import { UnionAddress } from "@rarible/types"; | ||
export type SubscriptionRequest = ItemSubscriptionRequest | OwnershipSubscriptionRequest | ItemOwnershipSubscriptionRequest | OrdersSubscriptionRequest | OrdersByItemSubscriptionRequest | OrdersByCollectionSubscriptionRequest | ActivitySubscriptionRequest; | ||
export type ItemSubscriptionRequest = { | ||
@@ -44,1 +46,9 @@ "@type": "ITEM"; | ||
}; | ||
export type ActivitySubscriptionRequest = { | ||
"@type": "ACTIVITY"; | ||
action: SubscriptionAction; | ||
itemId?: ItemId; | ||
collectionId?: CollectionId; | ||
wallet?: UnionAddress; | ||
type?: ActivityType; | ||
}; |
{ | ||
"name": "@rarible/api-client", | ||
"version": "1.122.1", | ||
"version": "1.123.0", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "axios", |
733009
378
15680