/* tslint:disable */ /* eslint-disable */ /** * Vectorize API * API for Vectorize services (Beta) * * The version of the OpenAPI document: 0.1.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * Configuration for Fireflies.ai connector * @export * @interface FIREFLIESConfig */ export interface FIREFLIESConfig { /** * Start Date. Include meetings from this date forward. Example: Enter a date: Example 2023-12-31 * @type {Date} * @memberof FIREFLIESConfig */ startDate: Date; /** * End Date. Include meetings up to this date only. Example: Enter a date: Example 2023-12-31 * @type {Date} * @memberof FIREFLIESConfig */ endDate?: Date; /** * Title Filter. Only include meetings containing any of these keywords in the title. Example: Enter meeting title keywords * @type {Array} * @memberof FIREFLIESConfig */ titleFilter?: Array; /** * * @type {string} * @memberof FIREFLIESConfig */ participantFilterType: string; /** * Participant's Email Filter. Include meetings where these participants were invited. Example: Enter participant email * @type {string} * @memberof FIREFLIESConfig */ participantFilter?: string; /** * Max Meetings. Leave blank for no limit, or specify a maximum number. Example: Enter maximum number of meetings to retrieve (leave blank for no limit) * @type {number} * @memberof FIREFLIESConfig */ maxMeetings?: number; } /** * Check if a given object implements the FIREFLIESConfig interface. */ export function instanceOfFIREFLIESConfig(value: object): value is FIREFLIESConfig { if (!('startDate' in value) || value['startDate'] === undefined) return false; if (!('participantFilterType' in value) || value['participantFilterType'] === undefined) return false; return true; } export function FIREFLIESConfigFromJSON(json: any): FIREFLIESConfig { return FIREFLIESConfigFromJSONTyped(json, false); } export function FIREFLIESConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): FIREFLIESConfig { if (json == null) { return json; } return { 'startDate': (new Date(json['start-date'])), 'endDate': json['end-date'] == null ? undefined : (new Date(json['end-date'])), 'titleFilter': json['title-filter'] == null ? undefined : json['title-filter'], 'participantFilterType': json['participant-filter-type'], 'participantFilter': json['participant-filter'] == null ? undefined : json['participant-filter'], 'maxMeetings': json['max-meetings'] == null ? undefined : json['max-meetings'], }; } export function FIREFLIESConfigToJSON(json: any): FIREFLIESConfig { return FIREFLIESConfigToJSONTyped(json, false); } export function FIREFLIESConfigToJSONTyped(value?: FIREFLIESConfig | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'start-date': ((value['startDate']).toISOString().substring(0,10)), 'end-date': value['endDate'] == null ? undefined : ((value['endDate']).toISOString().substring(0,10)), 'title-filter': value['titleFilter'], 'participant-filter-type': value['participantFilterType'], 'participant-filter': value['participantFilter'], 'max-meetings': value['maxMeetings'], }; }