/** * 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 SearchAttributesRequest */ export interface SearchAttributesRequest { /** * * @type {string} * @memberof SearchAttributesRequest */ search?: string | null; /** * * @type {string} * @memberof SearchAttributesRequest */ sortBy?: SearchAttributesRequestSortByEnum; /** * * @type {string} * @memberof SearchAttributesRequest */ sortDirection?: SearchAttributesRequestSortDirectionEnum; /** * * @type {number} * @memberof SearchAttributesRequest */ perPage?: number; /** * * @type {number} * @memberof SearchAttributesRequest */ page?: number; /** * * @type {Array} * @memberof SearchAttributesRequest */ type?: Array; /** * * @type {Array} * @memberof SearchAttributesRequest */ isFilterable?: Array; /** * * @type {Array} * @memberof SearchAttributesRequest */ isExpandedByDefault?: Array; /** * * @type {number} * @memberof SearchAttributesRequest */ relatedId?: number; /** * * @type {string} * @memberof SearchAttributesRequest */ relatedType?: SearchAttributesRequestRelatedTypeEnum; /** * * @type {boolean} * @memberof SearchAttributesRequest */ includesRelations?: boolean; } /** * @export */ export declare const SearchAttributesRequestSortByEnum: { readonly Id: "id"; readonly Name: "name"; readonly FilterIndex: "filter_index"; readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; }; export type SearchAttributesRequestSortByEnum = typeof SearchAttributesRequestSortByEnum[keyof typeof SearchAttributesRequestSortByEnum]; /** * @export */ export declare const SearchAttributesRequestSortDirectionEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; export type SearchAttributesRequestSortDirectionEnum = typeof SearchAttributesRequestSortDirectionEnum[keyof typeof SearchAttributesRequestSortDirectionEnum]; /** * @export */ export declare const SearchAttributesRequestRelatedTypeEnum: { readonly ProductType: "productType"; readonly ProductRange: "productRange"; readonly Category: "category"; }; export type SearchAttributesRequestRelatedTypeEnum = typeof SearchAttributesRequestRelatedTypeEnum[keyof typeof SearchAttributesRequestRelatedTypeEnum]; /** * Check if a given object implements the SearchAttributesRequest interface. */ export declare function instanceOfSearchAttributesRequest(value: object): value is SearchAttributesRequest; export declare function SearchAttributesRequestFromJSON(json: any): SearchAttributesRequest; export declare function SearchAttributesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchAttributesRequest; export declare function SearchAttributesRequestToJSON(json: any): SearchAttributesRequest; export declare function SearchAttributesRequestToJSONTyped(value?: SearchAttributesRequest | null, ignoreDiscriminator?: boolean): any;