/* 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 CustomerOrderTab = { All: 'all', Processing: 'processing', Shipped: 'shipped' } as const; export type CustomerOrderTab = typeof CustomerOrderTab[keyof typeof CustomerOrderTab]; export function instanceOfCustomerOrderTab(value: any): boolean { for (const key in CustomerOrderTab) { if (Object.prototype.hasOwnProperty.call(CustomerOrderTab, key)) { if (CustomerOrderTab[key as keyof typeof CustomerOrderTab] === value) { return true; } } } return false; } export function CustomerOrderTabFromJSON(json: any): CustomerOrderTab { return CustomerOrderTabFromJSONTyped(json, false); } export function CustomerOrderTabFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerOrderTab { return json as CustomerOrderTab; } export function CustomerOrderTabToJSON(value?: CustomerOrderTab | null): any { return value as any; } export function CustomerOrderTabToJSONTyped(value: any, ignoreDiscriminator: boolean): CustomerOrderTab { return value as CustomerOrderTab; }