@rarible/api-client
Advanced tools
Comparing version
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: v0.1 | ||
* The version of the OpenAPI document: v1.0 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: v0.1 | ||
* The version of the OpenAPI document: v1.0 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: v0.1 | ||
* The version of the OpenAPI document: v1.0 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: v0.1 | ||
* The version of the OpenAPI document: v1.0 | ||
* | ||
@@ -11,0 +11,0 @@ * |
export * from './ActivityControllerApi'; | ||
export * from './CollectionControllerApi'; | ||
export * from './CurrencyControllerApi'; | ||
export * from './ItemControllerApi'; | ||
@@ -4,0 +5,0 @@ export * from './OrderControllerApi'; |
@@ -15,2 +15,3 @@ "use strict"; | ||
__exportStar(require("./CollectionControllerApi"), exports); | ||
__exportStar(require("./CurrencyControllerApi"), exports); | ||
__exportStar(require("./ItemControllerApi"), exports); | ||
@@ -17,0 +18,0 @@ __exportStar(require("./OrderControllerApi"), exports); |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: v0.1 | ||
* The version of the OpenAPI document: v1.0 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: v0.1 | ||
* The version of the OpenAPI document: v1.0 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: v0.1 | ||
* The version of the OpenAPI document: v1.0 | ||
* | ||
@@ -14,3 +14,3 @@ * | ||
import * as runtime from '../runtime'; | ||
import { Blockchain, Order, OrderIds, Orders, Platform, UnionApiErrorBadRequest, UnionApiErrorEntityNotFound, UnionApiErrorServerError } from '../models'; | ||
import { Blockchain, Order, OrderIds, OrderStatus, Orders, Platform, UnionApiErrorBadRequest, UnionApiErrorEntityNotFound, UnionApiErrorServerError } from '../models'; | ||
export interface GetOrderBidsByItemRequest { | ||
@@ -22,2 +22,5 @@ contract: string; | ||
origin?: string; | ||
status?: Array<OrderStatus>; | ||
start?: number; | ||
end?: number; | ||
continuation?: string; | ||
@@ -30,2 +33,5 @@ size?: number; | ||
origin?: string; | ||
status?: Array<OrderStatus>; | ||
start?: number; | ||
end?: number; | ||
continuation?: string; | ||
@@ -67,2 +73,3 @@ size?: number; | ||
origin?: string; | ||
status?: Array<OrderStatus>; | ||
continuation?: string; | ||
@@ -111,3 +118,3 @@ size?: number; | ||
*/ | ||
getOrdersByIds(requestParameters: GetOrdersByIdsRequest): Promise<Array<Order>>; | ||
getOrdersByIds(requestParameters: GetOrdersByIdsRequest): Promise<Orders>; | ||
/** | ||
@@ -196,3 +203,3 @@ */ | ||
status: 200; | ||
value: Array<Order>; | ||
value: Orders; | ||
}; | ||
@@ -199,0 +206,0 @@ export declare type GetOrdersByIds400 = { |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: v0.1 | ||
* The version of the OpenAPI document: v1.0 | ||
* | ||
@@ -128,2 +128,11 @@ * | ||
} | ||
if (requestParameters.status) { | ||
queryParameters['status'] = requestParameters.status; | ||
} | ||
if (requestParameters.start !== undefined) { | ||
queryParameters['start'] = requestParameters.start; | ||
} | ||
if (requestParameters.end !== undefined) { | ||
queryParameters['end'] = requestParameters.end; | ||
} | ||
if (requestParameters.continuation !== undefined) { | ||
@@ -212,2 +221,11 @@ queryParameters['continuation'] = requestParameters.continuation; | ||
} | ||
if (requestParameters.status) { | ||
queryParameters['status'] = requestParameters.status; | ||
} | ||
if (requestParameters.start !== undefined) { | ||
queryParameters['start'] = requestParameters.start; | ||
} | ||
if (requestParameters.end !== undefined) { | ||
queryParameters['end'] = requestParameters.end; | ||
} | ||
if (requestParameters.continuation !== undefined) { | ||
@@ -694,2 +712,5 @@ queryParameters['continuation'] = requestParameters.continuation; | ||
} | ||
if (requestParameters.status) { | ||
queryParameters['status'] = requestParameters.status; | ||
} | ||
if (requestParameters.continuation !== undefined) { | ||
@@ -696,0 +717,0 @@ queryParameters['continuation'] = requestParameters.continuation; |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: v0.1 | ||
* The version of the OpenAPI document: v1.0 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: v0.1 | ||
* The version of the OpenAPI document: v1.0 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: v0.1 | ||
* The version of the OpenAPI document: v1.0 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: v0.1 | ||
* The version of the OpenAPI document: v1.0 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -14,3 +14,3 @@ import { ActivityBlockchainInfo } from "./ActivityBlockchainInfo"; | ||
date: string; | ||
owners: Array<UnionAddress>; | ||
owner: UnionAddress; | ||
contract: UnionAddress; | ||
@@ -25,3 +25,3 @@ tokenId: BigNumber; | ||
date: string; | ||
owners: Array<UnionAddress>; | ||
owner: UnionAddress; | ||
contract: UnionAddress; | ||
@@ -37,3 +37,3 @@ tokenId: BigNumber; | ||
from: UnionAddress; | ||
owners: Array<UnionAddress>; | ||
owner: UnionAddress; | ||
contract: UnionAddress; | ||
@@ -40,0 +40,0 @@ tokenId: BigNumber; |
@@ -5,4 +5,3 @@ import { BigNumber } from "@rarible/types"; | ||
import { UnionAddress } from "@rarible/types"; | ||
export declare type AssetType = FlowAssetType | EthEthereumAssetType | EthErc20AssetType | EthErc721AssetType | EthErc721LazyAssetType | EthErc1155AssetType | EthErc1155LazyAssetType | EthCryptoPunksAssetType | EthGenerativeArtAssetType; | ||
export declare type FlowAssetType = FlowAssetTypeNft | FlowAssetTypeFt; | ||
export declare type AssetType = FlowAssetTypeNft | FlowAssetTypeFt | TezosXTZAssetType | TezosFA12AssetType | TezosFA2AssetType | EthEthereumAssetType | EthErc20AssetType | EthErc721AssetType | EthErc721LazyAssetType | EthErc1155AssetType | EthErc1155LazyAssetType | EthCryptoPunksAssetType | EthGenerativeArtAssetType; | ||
export declare type FlowAssetTypeNft = { | ||
@@ -17,2 +16,14 @@ "@type": "FLOW_NFT"; | ||
}; | ||
export declare type TezosXTZAssetType = { | ||
"@type": "XTZ"; | ||
}; | ||
export declare type TezosFA12AssetType = { | ||
"@type": "FA_1_2"; | ||
contract: UnionAddress; | ||
}; | ||
export declare type TezosFA2AssetType = { | ||
"@type": "FA_2"; | ||
contract: UnionAddress; | ||
tokenId: BigNumber; | ||
}; | ||
export declare type EthEthereumAssetType = { | ||
@@ -49,3 +60,3 @@ "@type": "ETH"; | ||
uri: string; | ||
supply?: BigNumber; | ||
supply: BigNumber; | ||
creators: Array<Creator>; | ||
@@ -52,0 +63,0 @@ royalties: Array<Royalty>; |
@@ -1,1 +0,1 @@ | ||
export declare type Blockchain = "ETHEREUM" | "POLYGON" | "FLOW"; | ||
export declare type Blockchain = "ETHEREUM" | "POLYGON" | "FLOW" | "TEZOS"; |
@@ -10,3 +10,3 @@ import { UnionAddress } from "@rarible/types"; | ||
}; | ||
export declare type Collection_Type = "CRYPTO_PUNKS" | "ERC721" | "ERC1155" | "FLOW"; | ||
export declare type Collection_Type = "CRYPTO_PUNKS" | "ERC721" | "ERC1155" | "FLOW" | "TEZOS"; | ||
export declare type Collection_Features = "APPROVE_FOR_ALL" | "SET_URI_PREFIX" | "BURN" | "MINT_WITH_ADDRESS" | "SECONDARY_SALE_FEES" | "MINT_AND_TRANSFER"; |
@@ -5,3 +5,2 @@ export * from "./AssetType"; | ||
export * from "./ActivitySort"; | ||
export * from "./EthOrderPayout"; | ||
export * from "./Item"; | ||
@@ -11,2 +10,3 @@ export * from "./Items"; | ||
export * from "./OrderIds"; | ||
export * from "./OrderStatus"; | ||
export * from "./Orders"; | ||
@@ -26,3 +26,2 @@ export * from "./OrderEvent"; | ||
export * from "./ItemEvent"; | ||
export * from "./FlowOrderPayout"; | ||
export * from "./UnionApiErrorEntityNotFound"; | ||
@@ -34,2 +33,3 @@ export * from "./MetaContent"; | ||
export * from "./ItemHistory"; | ||
export * from "./OrderPayout"; | ||
export * from "./Royalty"; | ||
@@ -39,3 +39,5 @@ export * from "./PendingOrder"; | ||
export * from "./OwnershipEvent"; | ||
export * from "./MetaAttribute"; | ||
export * from "./OrderData"; | ||
export * from "./CurrencyUsdRate"; | ||
export * from "./OrderActivityMatchSide"; | ||
@@ -42,0 +44,0 @@ export * from "./Platform"; |
@@ -17,3 +17,2 @@ "use strict"; | ||
__exportStar(require("./ActivitySort"), exports); | ||
__exportStar(require("./EthOrderPayout"), exports); | ||
__exportStar(require("./Item"), exports); | ||
@@ -23,2 +22,3 @@ __exportStar(require("./Items"), exports); | ||
__exportStar(require("./OrderIds"), exports); | ||
__exportStar(require("./OrderStatus"), exports); | ||
__exportStar(require("./Orders"), exports); | ||
@@ -38,3 +38,2 @@ __exportStar(require("./OrderEvent"), exports); | ||
__exportStar(require("./ItemEvent"), exports); | ||
__exportStar(require("./FlowOrderPayout"), exports); | ||
__exportStar(require("./UnionApiErrorEntityNotFound"), exports); | ||
@@ -46,2 +45,3 @@ __exportStar(require("./MetaContent"), exports); | ||
__exportStar(require("./ItemHistory"), exports); | ||
__exportStar(require("./OrderPayout"), exports); | ||
__exportStar(require("./Royalty"), exports); | ||
@@ -51,5 +51,7 @@ __exportStar(require("./PendingOrder"), exports); | ||
__exportStar(require("./OwnershipEvent"), exports); | ||
__exportStar(require("./MetaAttribute"), exports); | ||
__exportStar(require("./OrderData"), exports); | ||
__exportStar(require("./CurrencyUsdRate"), exports); | ||
__exportStar(require("./OrderActivityMatchSide"), exports); | ||
__exportStar(require("./Platform"), exports); | ||
__exportStar(require("./Activity"), exports); |
@@ -21,3 +21,2 @@ import { BigNumber } from "@rarible/types"; | ||
supply: BigNumber; | ||
metaUrl?: string; | ||
meta?: Meta; | ||
@@ -24,0 +23,0 @@ deleted: boolean; |
@@ -0,1 +1,2 @@ | ||
import { MetaAttribute } from "./MetaAttribute"; | ||
import { MetaContent } from "./MetaContent"; | ||
@@ -5,5 +6,5 @@ export declare type Meta = { | ||
description?: string; | ||
attributes: Record<string, string>; | ||
attributes: Array<MetaAttribute>; | ||
content: Array<MetaContent>; | ||
raw?: string; | ||
}; |
@@ -6,4 +6,4 @@ export declare type MetaContent = ImageContent | VideoContent; | ||
representation: MetaContent_Representation; | ||
mimeType: string; | ||
attributes: Record<string, string>; | ||
mimeType?: string; | ||
size?: number; | ||
width?: number; | ||
@@ -16,4 +16,4 @@ height?: number; | ||
representation: MetaContent_Representation; | ||
mimeType: string; | ||
attributes: Record<string, string>; | ||
mimeType?: string; | ||
size?: number; | ||
width?: number; | ||
@@ -20,0 +20,0 @@ height?: number; |
@@ -19,2 +19,4 @@ import { Asset } from "./Asset"; | ||
lastUpdatedAt: string; | ||
makePrice?: BigNumber; | ||
takePrice?: BigNumber; | ||
makePriceUsd?: BigNumber; | ||
@@ -21,0 +23,0 @@ takePriceUsd?: BigNumber; |
import { BigNumber } from "@rarible/types"; | ||
import { EthOrderPayout } from "./EthOrderPayout"; | ||
import { FlowOrderPayout } from "./FlowOrderPayout"; | ||
import { OrderPayout } from "./OrderPayout"; | ||
import { UnionAddress } from "@rarible/types"; | ||
export declare type OrderData = EthOrderDataLegacy | EthOrderDataRaribleV2DataV1 | EthOrderOpenSeaV1DataV1 | EthOrderCryptoPunksData | FlowOrderDataV1; | ||
export declare type OrderData = EthOrderDataLegacy | EthOrderDataRaribleV2DataV1 | EthOrderOpenSeaV1DataV1 | EthOrderCryptoPunksData | TezosOrderDataRaribleV2DataV1 | FlowOrderDataV1; | ||
export declare type EthOrderDataLegacy = { | ||
@@ -12,4 +11,4 @@ "@type": "ETH_RARIBLE_V1"; | ||
"@type": "ETH_RARIBLE_V2"; | ||
payouts: Array<EthOrderPayout>; | ||
originFees: Array<EthOrderPayout>; | ||
payouts: Array<OrderPayout>; | ||
originFees: Array<OrderPayout>; | ||
}; | ||
@@ -42,6 +41,11 @@ export declare type EthOrderOpenSeaV1DataV1_FeeMethod = "PROTOCOL_FEE" | "SPLIT_FEE"; | ||
}; | ||
export declare type TezosOrderDataRaribleV2DataV1 = { | ||
"@type": "TEZOS_RARIBLE_V2"; | ||
payouts: Array<OrderPayout>; | ||
originFees: Array<OrderPayout>; | ||
}; | ||
export declare type FlowOrderDataV1 = { | ||
"@type": "FLOW_RARIBLE_V1"; | ||
payouts: Array<FlowOrderPayout>; | ||
originFees: Array<FlowOrderPayout>; | ||
payouts: Array<OrderPayout>; | ||
originFees: Array<OrderPayout>; | ||
}; |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: v0.1 | ||
* The version of the OpenAPI document: v1.0 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: v0.1 | ||
* The version of the OpenAPI document: v1.0 | ||
* | ||
@@ -11,0 +11,0 @@ * |
{ | ||
"name": "@rarible/api-client", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "axios", |
212150
6.53%106
6%4954
6.13%