@hubbleprotocol/carpool-typescript-client
Version:
OpenAPI TypeScript client for Carpool
63 lines (62 loc) • 1.58 kB
TypeScript
/**
* Carpool Query
* The Carpool Query API
*
* OpenAPI spec version: 1.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
*
* @export
* @interface AccountSearchRequest
*/
export interface AccountSearchRequest {
/**
* Number of entries to return. Default is 10.
* @type {number}
* @memberof AccountSearchRequest
*/
size?: number;
/**
* Pagination starting point.
* @type {number}
* @memberof AccountSearchRequest
*/
from?: number;
/**
* Slot sort order for results. Defaults to \"desc\".
* @type {string}
* @memberof AccountSearchRequest
*/
sort?: AccountSearchRequestSortEnum;
/**
* AND queries - An array of elasticsearch conditions which must ALL match. Supports nesting.
* @type {Array<object>}
* @memberof AccountSearchRequest
*/
must?: Array<object>;
/**
* NOR queries - An array of elasticsearch conditions which must ALL NOT match. Supports nesting.
* @type {Array<object>}
* @memberof AccountSearchRequest
*/
mustNot?: Array<object>;
/**
* OR querires - An array of elasticsearch conditions of which, at least ONE must match. Supports nesting.
* @type {Array<object>}
* @memberof AccountSearchRequest
*/
should?: Array<object>;
}
/**
* @export
* @enum {string}
*/
export declare enum AccountSearchRequestSortEnum {
Asc = "asc",
Desc = "desc"
}