/** * SmartyMeet Dev03 API REST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.1 * Contact: developer@smartymeet.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { CalendarResponseDocument, CalendarsResponseDocument, CreateCalendarRequestSchema, UpdateCalendarRequestSchema } from '../models/index'; export interface CreateCalendarRequest { createCalendarRequestSchema: CreateCalendarRequestSchema; } export interface DeleteCalendarRequest { calendarId: string; permanentDelete?: DeleteCalendarPermanentDeleteEnum; } export interface ListCalendarsRequest { filterOwnerId?: string; filterOwnerType?: ListCalendarsFilterOwnerTypeEnum; filterCreatedFrom?: Date; filterCreatedTo?: Date; filterModifiedFrom?: Date; filterModifiedTo?: Date; pageSize?: number; pageNumber?: number; pageAfter?: string; pageBefore?: string; } export interface ShowCalendarRequest { calendarId: string; } export interface UpdateCalendarRequest { calendarId: string; updateCalendarRequestSchema: UpdateCalendarRequestSchema; } /** * */ export declare class CalendarsApi extends runtime.BaseAPI { /** * Creates request options for createCalendar without sending the request */ createCalendarRequestOpts(requestParameters: CreateCalendarRequest): Promise; /** * Creates a calendar for a system user. Idempotent - if the user already has a calendar, the existing row is returned. Most callers do NOT use this endpoint directly; the event service auto-creates a calendar on first event need. * Create Calendar */ createCalendarRaw(requestParameters: CreateCalendarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Creates a calendar for a system user. Idempotent - if the user already has a calendar, the existing row is returned. Most callers do NOT use this endpoint directly; the event service auto-creates a calendar on first event need. * Create Calendar */ createCalendar(requestParameters: CreateCalendarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for deleteCalendar without sending the request */ deleteCalendarRequestOpts(requestParameters: DeleteCalendarRequest): Promise; /** * Soft-delete (status=archived) by default. Hard-delete with `?permanentDelete=true`. Hard-delete does NOT cascade events; callers should clean up events first. * Delete Calendar */ deleteCalendarRaw(requestParameters: DeleteCalendarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Soft-delete (status=archived) by default. Hard-delete with `?permanentDelete=true`. Hard-delete does NOT cascade events; callers should clean up events first. * Delete Calendar */ deleteCalendar(requestParameters: DeleteCalendarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for listCalendars without sending the request */ listCalendarsRequestOpts(requestParameters: ListCalendarsRequest): Promise; /** * Returns calendars for the current tenant. Calendars belong to system users (recruiters / boe / hiring managers). Use `filterOwnerId` to look up a specific user\'s calendar. * List Calendars */ listCalendarsRaw(requestParameters: ListCalendarsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns calendars for the current tenant. Calendars belong to system users (recruiters / boe / hiring managers). Use `filterOwnerId` to look up a specific user\'s calendar. * List Calendars */ listCalendars(requestParameters?: ListCalendarsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for showCalendar without sending the request */ showCalendarRequestOpts(requestParameters: ShowCalendarRequest): Promise; /** * Get a single calendar by id. * Show Calendar */ showCalendarRaw(requestParameters: ShowCalendarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Get a single calendar by id. * Show Calendar */ showCalendar(requestParameters: ShowCalendarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for updateCalendar without sending the request */ updateCalendarRequestOpts(requestParameters: UpdateCalendarRequest): Promise; /** * Patch calendar settings (workingHours, name, color, status, maxConcurrentEvents). Only the owner OR a tenant admin/owner can edit. * Update Calendar */ updateCalendarRaw(requestParameters: UpdateCalendarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Patch calendar settings (workingHours, name, color, status, maxConcurrentEvents). Only the owner OR a tenant admin/owner can edit. * Update Calendar */ updateCalendar(requestParameters: UpdateCalendarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * @export */ export declare const DeleteCalendarPermanentDeleteEnum: { readonly True: "true"; readonly False: "false"; }; export type DeleteCalendarPermanentDeleteEnum = typeof DeleteCalendarPermanentDeleteEnum[keyof typeof DeleteCalendarPermanentDeleteEnum]; /** * @export */ export declare const ListCalendarsFilterOwnerTypeEnum: { readonly Users: "users"; }; export type ListCalendarsFilterOwnerTypeEnum = typeof ListCalendarsFilterOwnerTypeEnum[keyof typeof ListCalendarsFilterOwnerTypeEnum]; //# sourceMappingURL=CalendarsApi.d.ts.map