/* tslint:disable */ /* eslint-disable */ /** * configuration/branches.yaml * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import type { AddressDetails } from './address-details'; // May contain unused imports in some cases // @ts-ignore import type { CustomFieldValueSetConfiguration } from './custom-field-value-set-configuration'; // May contain unused imports in some cases // @ts-ignore import type { HolidayDetails } from './holiday-details'; /** * Model representation of the configuration for a branch. */ export interface BranchConfiguration { address?: AddressDetails; /** * Custom fields value sets of the branch. Ordered by the set id. */ customFieldValueSets?: Array; /** * Branch email address. */ emailAddress?: string; /** * Holidays of the branch. The yaml file dictates the ordering. */ holidays?: Array; /** * User-defined ID, globally unique. Branches are ordered by id in the yaml file. */ id: string; /** * Name of the branch. */ name: string; /** * Notes for the branch. */ notes?: string; /** * Branch phone number, as a string. */ phoneNumber?: string; /** * Model representation of the state of a branch. */ state: BranchConfigurationStateEnum; } export const BranchConfigurationStateEnum = { Active: 'ACTIVE', Inactive: 'INACTIVE', } as const; export type BranchConfigurationStateEnum = (typeof BranchConfigurationStateEnum)[keyof typeof BranchConfigurationStateEnum];