/** * incident.io * 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. */ import type { ScheduleEntryV2 } from './ScheduleEntryV2.js'; import type { ScheduleConfigV2 } from './ScheduleConfigV2.js'; import type { ScheduleHolidaysPublicConfigV2 } from './ScheduleHolidaysPublicConfigV2.js'; /** * * @export * @interface ScheduleV2 */ export interface ScheduleV2 { /** * Annotations that track metadata about this resource */ annotations: { [key: string]: string; }; /** * */ config?: ScheduleConfigV2; /** * */ created_at: Date; /** * Shifts that are ongoing for this schedule */ current_shifts?: Array; /** * */ holidays_public_config?: ScheduleHolidaysPublicConfigV2; /** * Unique internal ID of the schedule */ id: string; /** * Human readable name synced from external provider */ name: string; /** * The shifts after the next changeover. Note that on the list schedules endpoint, this will always be empty if the page size requested is greater than 25. */ next_shifts?: Array; /** * A permanent link to this schedule in the incident.io dashboard */ permalink: string; /** * IDs of teams that own this schedule */ team_ids: Array; /** * Timezone of the schedule, as interpreted at the point of generating the report */ timezone: string; /** * */ updated_at: Date; } /** * Check if a given object implements the ScheduleV2 interface. */ export declare function instanceOfScheduleV2(value: object): value is ScheduleV2; export declare function ScheduleV2FromJSON(json: any): ScheduleV2; export declare function ScheduleV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): ScheduleV2; export declare function ScheduleV2ToJSON(json: any): ScheduleV2; export declare function ScheduleV2ToJSONTyped(value?: ScheduleV2 | null, ignoreDiscriminator?: boolean): any;