/* 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 AddressType = { Shipping: 'shipping', Billing: 'billing', ShippingBilling: 'shipping-billing', Others: 'others' } as const; export type AddressType = typeof AddressType[keyof typeof AddressType]; export function instanceOfAddressType(value: any): boolean { for (const key in AddressType) { if (Object.prototype.hasOwnProperty.call(AddressType, key)) { if (AddressType[key as keyof typeof AddressType] === value) { return true; } } } return false; } export function AddressTypeFromJSON(json: any): AddressType { return AddressTypeFromJSONTyped(json, false); } export function AddressTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressType { return json as AddressType; } export function AddressTypeToJSON(value?: AddressType | null): any { return value as any; } export function AddressTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): AddressType { return value as AddressType; }