import * as $dara from '@darabonba/typescript'; export declare class GetOnCallSchedulesDetailResponseBodyDataRenderedFinnalEntriesSimpleContact extends $dara.Model { /** * @remarks * The ID of the user on duty. * * @example * 123 */ id?: number; /** * @remarks * The name of the user on duty. * * @example * Employee 1 */ name?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetOnCallSchedulesDetailResponseBodyDataRenderedFinnalEntries extends $dara.Model { /** * @remarks * The date on which the user completed shift work. * * @example * 2022-10-30 */ end?: string; /** * @remarks * The information about the user on duty. */ simpleContact?: GetOnCallSchedulesDetailResponseBodyDataRenderedFinnalEntriesSimpleContact; /** * @remarks * The date from which the user started shift work. * * @example * 2022-10-01 */ start?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetOnCallSchedulesDetailResponseBodyDataRenderedLayerEntriesSimpleContact extends $dara.Model { /** * @remarks * The ID of the scheduled user. * * @example * 123 */ id?: number; /** * @remarks * The name of the scheduled user. * * @example * Employee 1 */ name?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetOnCallSchedulesDetailResponseBodyDataRenderedLayerEntries extends $dara.Model { /** * @remarks * The date from which the scheduled user was supposed to start shift work. * * @example * 2022-10-01 */ start?: string; /** * @remarks * The date on which the scheduled user was supposed to complete shift work. * * @example * 2022-10-30 */ end?: string; /** * @remarks * The information about the scheduled user. */ simpleContact?: GetOnCallSchedulesDetailResponseBodyDataRenderedLayerEntriesSimpleContact; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetOnCallSchedulesDetailResponseBodyDataRenderedSubstitudeEntriesSimpleContact extends $dara.Model { /** * @remarks * The ID of the substitute. * * @example * 234 */ id?: number; /** * @remarks * The name of the substitute. * * @example * Employee 2 */ name?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetOnCallSchedulesDetailResponseBodyDataRenderedSubstitudeEntries extends $dara.Model { /** * @remarks * The date on which the substitute was supposed to complete shift work. * * @example * 2022-10-30 */ end?: string; /** * @remarks * The information about the substitute. */ simpleContact?: GetOnCallSchedulesDetailResponseBodyDataRenderedSubstitudeEntriesSimpleContact; /** * @remarks * The date from which the substitute was supposed to start shift work. * * @example * 2022-10-01 */ start?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetOnCallSchedulesDetailResponseBodyDataScheduleLayersRestrictions extends $dara.Model { /** * @remarks * The end time of the shift per day. * * @example * 18:00 */ endTimeOfDay?: string; /** * @remarks * The type of the limit. Valid values: * * * daily_restriction * * weekly_restriction * * @example * daily_restriction */ restrictionType?: string; /** * @remarks * The start time of the shift per day. * * @example * 09:00 */ startTimeOfDay?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetOnCallSchedulesDetailResponseBodyDataScheduleLayers extends $dara.Model { /** * @remarks * The ID list of users on duty. */ contactIds?: number[]; /** * @remarks * The limit on the time of the shift. */ restrictions?: GetOnCallSchedulesDetailResponseBodyDataScheduleLayersRestrictions[]; /** * @remarks * The type of the shift. Valid values: * * * DAY * * WEEK * * CUSTOM * * @example * DAY */ rotationType?: string; /** * @remarks * The shift cycle. Unit: hours. * * @example * 8 */ shiftLength?: number; /** * @remarks * The date on which the shift change took effect. * * @example * 2022-10-01 */ startTime?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetOnCallSchedulesDetailResponseBodyData extends $dara.Model { /** * @remarks * The URL of the DingTalk chatbot, which is used to receive notifications about shift changes. * * @example * https://oapi.dingtalk.com/robot/send?access_token=69d4e009547e11069c6513309414937b7bf0482fb9284125b5****** */ alertRobotId?: number; /** * @remarks * The description of the scheduling policy. * * @example * Test */ description?: string; /** * @remarks * The ID of the scheduling policy. * * @example * 1234 */ id?: number; /** * @remarks * The name of the scheduling policy. * * @example * Scheduling policy test */ name?: string; /** * @remarks * The information about the final user on duty. */ renderedFinnalEntries?: GetOnCallSchedulesDetailResponseBodyDataRenderedFinnalEntries[]; /** * @remarks * The scheduled users on duty within a time range. */ renderedLayerEntries?: GetOnCallSchedulesDetailResponseBodyDataRenderedLayerEntries[][]; /** * @remarks * The information about the substitutes within a time range. */ renderedSubstitudeEntries?: GetOnCallSchedulesDetailResponseBodyDataRenderedSubstitudeEntries[]; /** * @remarks * The information about the shift. */ scheduleLayers?: GetOnCallSchedulesDetailResponseBodyDataScheduleLayers[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetOnCallSchedulesDetailResponseBody extends $dara.Model { /** * @remarks * The information about the scheduling policy. */ data?: GetOnCallSchedulesDetailResponseBodyData; /** * @remarks * The request ID. * * @example * 21E85B16-75A6-429A-9F65-8AAC9A54**** */ requestId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }