/** * My API * API documentation for my Laravel app * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface SearchDefinitionsRequest */ export interface SearchDefinitionsRequest { /** * * @type {string} * @memberof SearchDefinitionsRequest */ search?: string | null; /** * * @type {string} * @memberof SearchDefinitionsRequest */ sortBy?: SearchDefinitionsRequestSortByEnum; /** * * @type {string} * @memberof SearchDefinitionsRequest */ sortDirection?: SearchDefinitionsRequestSortDirectionEnum; /** * * @type {number} * @memberof SearchDefinitionsRequest */ perPage?: number; /** * * @type {number} * @memberof SearchDefinitionsRequest */ page?: number; /** * * @type {number} * @memberof SearchDefinitionsRequest */ relatedId?: number; /** * * @type {string} * @memberof SearchDefinitionsRequest */ relatedType?: string; /** * * @type {boolean} * @memberof SearchDefinitionsRequest */ includesRelations?: boolean; } /** * @export */ export declare const SearchDefinitionsRequestSortByEnum: { readonly Id: "id"; readonly Name: "name"; readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; }; export type SearchDefinitionsRequestSortByEnum = typeof SearchDefinitionsRequestSortByEnum[keyof typeof SearchDefinitionsRequestSortByEnum]; /** * @export */ export declare const SearchDefinitionsRequestSortDirectionEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; export type SearchDefinitionsRequestSortDirectionEnum = typeof SearchDefinitionsRequestSortDirectionEnum[keyof typeof SearchDefinitionsRequestSortDirectionEnum]; /** * Check if a given object implements the SearchDefinitionsRequest interface. */ export declare function instanceOfSearchDefinitionsRequest(value: object): value is SearchDefinitionsRequest; export declare function SearchDefinitionsRequestFromJSON(json: any): SearchDefinitionsRequest; export declare function SearchDefinitionsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchDefinitionsRequest; export declare function SearchDefinitionsRequestToJSON(json: any): SearchDefinitionsRequest; export declare function SearchDefinitionsRequestToJSONTyped(value?: SearchDefinitionsRequest | null, ignoreDiscriminator?: boolean): any;