/** * flow-protocol-model-common * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import { FlowApiError, FlowAuction, FlowAuctionBidsPagination, FlowAuctionIds, FlowAuctionSort, FlowAuctionStatus, FlowAuctionsPagination } from '../models'; export interface GetAuctionBidsByIdRequest { id: number; continuation?: string; size?: number; } export interface GetAuctionByIdRequest { id: number; } export interface GetAuctionsByCollectionRequest { contract: string; seller?: string; status?: Array; continuation?: string; size?: number; } export interface GetAuctionsByIdsRequest { flowAuctionIds: FlowAuctionIds; } export interface GetAuctionsByItemRequest { contract: string; tokenId: number; seller?: string; sort?: FlowAuctionSort; status?: Array; currencyId?: string; continuation?: string; size?: number; } export interface GetAuctionsBySellerRequest { seller: string; status?: Array; continuation?: string; size?: number; } /** * no description */ export declare class FlowAuctionControllerApi extends runtime.BaseAPI { /** * Returns auction bids by the auction id */ getAuctionBidsByIdRaw(requestParameters: GetAuctionBidsByIdRequest): Promise; /** * Returns auction bids by the auction id */ getAuctionBidsById(requestParameters: GetAuctionBidsByIdRequest): Promise; /** * Return auction by id */ getAuctionByIdRaw(requestParameters: GetAuctionByIdRequest): Promise; /** * Return auction by id */ getAuctionById(requestParameters: GetAuctionByIdRequest): Promise; /** * Returns all auctions by collection */ getAuctionsByCollectionRaw(requestParameters: GetAuctionsByCollectionRequest): Promise; /** * Returns all auctions by collection */ getAuctionsByCollection(requestParameters: GetAuctionsByCollectionRequest): Promise; /** * Returns all auctions by auction id\'s */ getAuctionsByIdsRaw(requestParameters: GetAuctionsByIdsRequest): Promise; /** * Returns all auctions by auction id\'s */ getAuctionsByIds(requestParameters: GetAuctionsByIdsRequest): Promise>; /** * Returns all auctions by item */ getAuctionsByItemRaw(requestParameters: GetAuctionsByItemRequest): Promise; /** * Returns all auctions by item */ getAuctionsByItem(requestParameters: GetAuctionsByItemRequest): Promise; /** * Returns all auctions by seller */ getAuctionsBySellerRaw(requestParameters: GetAuctionsBySellerRequest): Promise; /** * Returns all auctions by seller */ getAuctionsBySeller(requestParameters: GetAuctionsBySellerRequest): Promise; } export declare type GetAuctionBidsById200 = { status: 200; value: FlowAuctionBidsPagination; }; export declare type GetAuctionBidsById400 = { status: 400; value: FlowApiError; }; export declare type GetAuctionBidsById500 = { status: 500; value: FlowApiError; }; export declare type GetAuctionBidsByIdResponse = GetAuctionBidsById200 | GetAuctionBidsById400 | GetAuctionBidsById500; export declare type GetAuctionById200 = { status: 200; value: FlowAuction; }; export declare type GetAuctionById404 = { status: 404; value: FlowApiError; }; export declare type GetAuctionById400 = { status: 400; value: FlowApiError; }; export declare type GetAuctionById500 = { status: 500; value: FlowApiError; }; export declare type GetAuctionByIdResponse = GetAuctionById200 | GetAuctionById404 | GetAuctionById400 | GetAuctionById500; export declare type GetAuctionsByCollection200 = { status: 200; value: FlowAuctionsPagination; }; export declare type GetAuctionsByCollection400 = { status: 400; value: FlowApiError; }; export declare type GetAuctionsByCollection500 = { status: 500; value: FlowApiError; }; export declare type GetAuctionsByCollectionResponse = GetAuctionsByCollection200 | GetAuctionsByCollection400 | GetAuctionsByCollection500; export declare type GetAuctionsByIds200 = { status: 200; value: Array; }; export declare type GetAuctionsByIds400 = { status: 400; value: FlowApiError; }; export declare type GetAuctionsByIds500 = { status: 500; value: FlowApiError; }; export declare type GetAuctionsByIdsResponse = GetAuctionsByIds200 | GetAuctionsByIds400 | GetAuctionsByIds500; export declare type GetAuctionsByItem200 = { status: 200; value: FlowAuctionsPagination; }; export declare type GetAuctionsByItem400 = { status: 400; value: FlowApiError; }; export declare type GetAuctionsByItem500 = { status: 500; value: FlowApiError; }; export declare type GetAuctionsByItemResponse = GetAuctionsByItem200 | GetAuctionsByItem400 | GetAuctionsByItem500; export declare type GetAuctionsBySeller200 = { status: 200; value: FlowAuctionsPagination; }; export declare type GetAuctionsBySeller400 = { status: 400; value: FlowApiError; }; export declare type GetAuctionsBySeller500 = { status: 500; value: FlowApiError; }; export declare type GetAuctionsBySellerResponse = GetAuctionsBySeller200 | GetAuctionsBySeller400 | GetAuctionsBySeller500;