import * as $dara from '@darabonba/typescript'; export declare class UpdateOncallScheduleRequestRotations extends $dara.Model { /** * @remarks * The days of the week when the rotation takes effect. * * This parameter is required. */ activeDays?: number[]; /** * @remarks * The IDs of the 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 * test */ 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 cycle. Used in conjunction with shiftRecurrenceFrequency, such as switching to the next on-call person every 3 days. * * @example * 3 */ shiftLength?: number; /** * @remarks * The unit of the shift cycle. Used in conjunction with shiftRecurrenceFrequency, such as switching to the next on-call person 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-04-04 */ startDate?: string; /** * @remarks * The time zone name. Uses 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 UpdateOncallScheduleRequestSubstitudes extends $dara.Model { /** * @remarks * The contact ID of the substitute. * * @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 contact ID of the replaced person. * * @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 UpdateOncallScheduleRequest extends $dara.Model { /** * @remarks * The name of the on-call schedule. * * @example * testName */ oncallScheduleName?: string; /** * @remarks * The list of rotations. */ rotations?: UpdateOncallScheduleRequestRotations[]; /** * @remarks * The ID of the shift reminder chatbot. * * @example * testId */ shiftRobotId?: string; /** * @remarks * The list of substitution rules. */ substitudes?: UpdateOncallScheduleRequestSubstitudes[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }