/** * 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 SearchSuppliersRequest */ export interface SearchSuppliersRequest { /** * * @type {string} * @memberof SearchSuppliersRequest */ search?: string | null; /** * * @type {string} * @memberof SearchSuppliersRequest */ sortBy?: SearchSuppliersRequestSortByEnum; /** * * @type {string} * @memberof SearchSuppliersRequest */ sortDirection?: SearchSuppliersRequestSortDirectionEnum; /** * * @type {number} * @memberof SearchSuppliersRequest */ perPage?: number; /** * * @type {number} * @memberof SearchSuppliersRequest */ page?: number; /** * * @type {number} * @memberof SearchSuppliersRequest */ relatedId?: number; /** * * @type {string} * @memberof SearchSuppliersRequest */ relatedType?: SearchSuppliersRequestRelatedTypeEnum; /** * * @type {boolean} * @memberof SearchSuppliersRequest */ includesRelations?: boolean; } /** * @export */ export declare const SearchSuppliersRequestSortByEnum: { readonly Id: "id"; readonly Name: "name"; readonly Slug: "slug"; readonly SupplierEta: "supplier_eta"; readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; }; export type SearchSuppliersRequestSortByEnum = typeof SearchSuppliersRequestSortByEnum[keyof typeof SearchSuppliersRequestSortByEnum]; /** * @export */ export declare const SearchSuppliersRequestSortDirectionEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; export type SearchSuppliersRequestSortDirectionEnum = typeof SearchSuppliersRequestSortDirectionEnum[keyof typeof SearchSuppliersRequestSortDirectionEnum]; /** * @export */ export declare const SearchSuppliersRequestRelatedTypeEnum: { readonly ProductChild: "productChild"; }; export type SearchSuppliersRequestRelatedTypeEnum = typeof SearchSuppliersRequestRelatedTypeEnum[keyof typeof SearchSuppliersRequestRelatedTypeEnum]; /** * Check if a given object implements the SearchSuppliersRequest interface. */ export declare function instanceOfSearchSuppliersRequest(value: object): value is SearchSuppliersRequest; export declare function SearchSuppliersRequestFromJSON(json: any): SearchSuppliersRequest; export declare function SearchSuppliersRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchSuppliersRequest; export declare function SearchSuppliersRequestToJSON(json: any): SearchSuppliersRequest; export declare function SearchSuppliersRequestToJSONTyped(value?: SearchSuppliersRequest | null, ignoreDiscriminator?: boolean): any;