import * as $dara from '@darabonba/typescript'; export declare class CreateOncallScheduleRequestRotations extends $dara.Model { /** * @remarks * The days of the week when the rotation is active. * * This parameter is required. */ activeDays?: number[]; /** * @remarks * The list of contacts. * * This parameter is required. */ contacts?: string[]; /** * @remarks * The end time of the rotation. Format: HH:mm. * * This parameter is required. * * @example * 24:00 */ rotationEndTime?: string; /** * @remarks * The name of the rotation. * * This parameter is required. * * @example * testRotationName */ rotationName?: string; /** * @remarks * The start time of the rotation. Format: HH:mm. * * This parameter is required. * * @example * 00:00 */ rotationStartTime?: string; /** * @remarks * The length of the shift interval. Use this parameter in conjunction with shiftRecurrenceFrequency. For example, set this parameter to 3 to rotate to the next on-call contact every 3 days. * * @example * 1 */ shiftLength?: number; /** * @remarks * The unit of the shift interval. Use this parameter in conjunction with shiftRecurrenceFrequency. For example, set this parameter to week to rotate to the next on-call contact every week. * * This parameter is required. * * @example * WEEKLY */ shiftRecurrenceFrequency?: string; /** * @remarks * The start date of the rotation. Format: yyyy-MM-dd. * * This parameter is required. * * @example * 2024-08-14 */ startDate?: string; /** * @remarks * The name of the time zone. The time zone must follow the **IANA Time Zone Database** standard, such as `Asia/Shanghai`. * * This parameter is required. * * @example * Asia/Shanghai */ timeZone?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateOncallScheduleRequestSubstitudes extends $dara.Model { /** * @remarks * The ID of the substitute contact. * * @example * testId */ contactId?: string; /** * @remarks * The end time of the substitution. Format: YYYY-MM-DD HH:mm. * * @example * 2024-10-15 18:00 */ endTime?: string; /** * @remarks * The ID of the replaced contact. * * @example * testId */ replacedContactId?: string; /** * @remarks * The start time of the substitution. Format: YYYY-MM-DD HH:mm. * * @example * 2024-10-10 09:00 */ startTime?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateOncallScheduleRequest extends $dara.Model { /** * @remarks * The unique identifier of the on-call schedule. * * @example * testOncallScheduleId */ oncallScheduleId?: string; /** * @remarks * The name of the on-call schedule. * * @example * testOncallScheduleName */ oncallScheduleName?: string; /** * @remarks * The list of rotations. */ rotations?: CreateOncallScheduleRequestRotations[]; /** * @remarks * The ID of the chatbot for shift reminders. * * @example * testRobotId */ shiftRobotId?: string; /** * @remarks * The list of substitution rules. */ substitudes?: CreateOncallScheduleRequestSubstitudes[]; /** * @remarks * The name of the workspace. * * @example * default-cms-5884500827389836-cn-hangzhou */ workspace?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }