/** * 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 SearchAllSuppliersRequest */ export interface SearchAllSuppliersRequest { /** * * @type {string} * @memberof SearchAllSuppliersRequest */ search?: string | null; /** * * @type {string} * @memberof SearchAllSuppliersRequest */ sortBy?: SearchAllSuppliersRequestSortByEnum; /** * * @type {string} * @memberof SearchAllSuppliersRequest */ sortDirection?: SearchAllSuppliersRequestSortDirectionEnum; /** * * @type {number} * @memberof SearchAllSuppliersRequest */ relatedId?: number; /** * * @type {string} * @memberof SearchAllSuppliersRequest */ relatedType?: SearchAllSuppliersRequestRelatedTypeEnum; /** * * @type {boolean} * @memberof SearchAllSuppliersRequest */ includesRelations?: boolean; } /** * @export */ export declare const SearchAllSuppliersRequestSortByEnum: { readonly Id: "id"; readonly Name: "name"; readonly Slug: "slug"; readonly SupplierEta: "supplier_eta"; readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; }; export type SearchAllSuppliersRequestSortByEnum = typeof SearchAllSuppliersRequestSortByEnum[keyof typeof SearchAllSuppliersRequestSortByEnum]; /** * @export */ export declare const SearchAllSuppliersRequestSortDirectionEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; export type SearchAllSuppliersRequestSortDirectionEnum = typeof SearchAllSuppliersRequestSortDirectionEnum[keyof typeof SearchAllSuppliersRequestSortDirectionEnum]; /** * @export */ export declare const SearchAllSuppliersRequestRelatedTypeEnum: { readonly Product: "product"; }; export type SearchAllSuppliersRequestRelatedTypeEnum = typeof SearchAllSuppliersRequestRelatedTypeEnum[keyof typeof SearchAllSuppliersRequestRelatedTypeEnum]; /** * Check if a given object implements the SearchAllSuppliersRequest interface. */ export declare function instanceOfSearchAllSuppliersRequest(value: object): value is SearchAllSuppliersRequest; export declare function SearchAllSuppliersRequestFromJSON(json: any): SearchAllSuppliersRequest; export declare function SearchAllSuppliersRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchAllSuppliersRequest; export declare function SearchAllSuppliersRequestToJSON(json: any): SearchAllSuppliersRequest; export declare function SearchAllSuppliersRequestToJSONTyped(value?: SearchAllSuppliersRequest | null, ignoreDiscriminator?: boolean): any;