/* tslint:disable */ /* eslint-disable */ /** * 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 */ export const StoreStockType = { Display: 'display', Available: 'available' } as const; export type StoreStockType = typeof StoreStockType[keyof typeof StoreStockType]; export function instanceOfStoreStockType(value: any): boolean { for (const key in StoreStockType) { if (Object.prototype.hasOwnProperty.call(StoreStockType, key)) { if (StoreStockType[key as keyof typeof StoreStockType] === value) { return true; } } } return false; } export function StoreStockTypeFromJSON(json: any): StoreStockType { return StoreStockTypeFromJSONTyped(json, false); } export function StoreStockTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreStockType { return json as StoreStockType; } export function StoreStockTypeToJSON(value?: StoreStockType | null): any { return value as any; } export function StoreStockTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): StoreStockType { return value as StoreStockType; }