/** * 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 { ScheduleReplicaSourceV2 } from './ScheduleReplicaSourceV2.js'; /** * * @export * @interface ScheduleReplicaCreatePayloadV2 */ export interface ScheduleReplicaCreatePayloadV2 { /** * How many days ahead to mirror this schedule into the external provider. Defaults to 14 if not set; maximum 90. */ mirror_window_days?: number; /** * The ID of a user in the external provider that will be assigned whenever nobody is on-call in the incident.io schedule. External providers typically require someone to always be on-call, so this user fills gaps where incident.io has no one scheduled. */ replica_fallback_user_id: string; /** * The external provider where this schedule is replicated to */ replica_provider: ScheduleReplicaCreatePayloadV2ReplicaProviderEnum; /** * The ID of the schedule in the external provider that this replica syncs to. For PagerDuty this is the schedule ID (e.g. PO8107X), for Opsgenie the schedule ID, and for Jira Service Management the schedule ID. */ replica_provider_id: string; /** * The specific rotation and layer combinations from the schedule to replicate. Each source identifies a single layer within a rotation to sync to the external provider. */ sources: Array; } /** * @export */ export declare const ScheduleReplicaCreatePayloadV2ReplicaProviderEnum: { readonly Native: "native"; readonly Pagerduty: "pagerduty"; readonly Opsgenie: "opsgenie"; readonly Jsm: "jsm"; }; export type ScheduleReplicaCreatePayloadV2ReplicaProviderEnum = typeof ScheduleReplicaCreatePayloadV2ReplicaProviderEnum[keyof typeof ScheduleReplicaCreatePayloadV2ReplicaProviderEnum]; /** * Check if a given object implements the ScheduleReplicaCreatePayloadV2 interface. */ export declare function instanceOfScheduleReplicaCreatePayloadV2(value: object): value is ScheduleReplicaCreatePayloadV2; export declare function ScheduleReplicaCreatePayloadV2FromJSON(json: any): ScheduleReplicaCreatePayloadV2; export declare function ScheduleReplicaCreatePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): ScheduleReplicaCreatePayloadV2; export declare function ScheduleReplicaCreatePayloadV2ToJSON(json: any): ScheduleReplicaCreatePayloadV2; export declare function ScheduleReplicaCreatePayloadV2ToJSONTyped(value?: ScheduleReplicaCreatePayloadV2 | null, ignoreDiscriminator?: boolean): any;