import { AvailabilityConfig } from '../../../../takvim/api/models';
import { dvnSpaces } from './dvn-spaces';
export const takvimAvailabilityConfigs = (config) => ({
  takvimAvailabilitiesBasic: AvailabilityConfig.decode({
    _id: 'takvimAvailabilitiesBasic',
    _created: new Date(),
    _updated: new Date(),
    base: 'khanguru',
    fields: [
      {
        id: 'startDate',
        required: true,
        title: 'Start Date',
        type: 'date',
      },
      {
        id: 'endDate',
        required: true,
        title: 'End Date',
        type: 'date',
      },
      {
        id: 'meetingDuration',
        required: true,
        title: 'Duration',
        type: 'number',
      },
      {
        id: 'breakDuration',
        title: 'Breaks In Between',
        type: 'number',
      },
      {
        id: 'isRecurring',
        title: 'Is Recurring',
        type: 'boolean',
      },
      {
        id: 'location',
        title: 'Location',
        type: 'string',
      },
      {
        id: 'videoConferencePlatform',
        title: 'Video Conference Platform',
        type: 'string',
      },
      {
        id: 'videoConferenceURL',
        title: 'Video Conference URL',
        type: 'string',
      },
    ],
    space: dvnSpaces(config).dvnSpaces1,
    name: 'takvimAvailabilitiesBasic',
  }),
});
