/* tslint:disable */ /* eslint-disable */ /** * Fabric API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * 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 BillingCycle = { Week: 'week', Month: 'month', Year: 'year', Year3: 'year_3' } as const; export type BillingCycle = typeof BillingCycle[keyof typeof BillingCycle]; export function instanceOfBillingCycle(value: any): boolean { for (const key in BillingCycle) { if (Object.prototype.hasOwnProperty.call(BillingCycle, key)) { if (BillingCycle[key as keyof typeof BillingCycle] === value) { return true; } } } return false; } export function BillingCycleFromJSON(json: any): BillingCycle { return BillingCycleFromJSONTyped(json, false); } export function BillingCycleFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingCycle { return json as BillingCycle; } export function BillingCycleToJSON(value?: BillingCycle | null): any { return value as any; } export function BillingCycleToJSONTyped(value: any, ignoreDiscriminator: boolean): BillingCycle { return value as BillingCycle; }