/* Options: Date: 2025-05-04 22:06:29 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetInheritedSchedule.* //ExcludeTypes: //DefaultImports: */ export class NodeParameterMap { [key:string] : NodeParameter; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IReturn { createResponse(): T; } export class Struct { public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Value { public boolValue?: boolean; public stringValue: string; public numberValue?: number; public listValue: Struct[]; public structValue: Struct; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum SimpleSchedulingRuleTypes { Always = 'Always', CustomerState = 'CustomerState', Time = 'Time', } export enum DayOfWeek { Sunday = 'Sunday', Monday = 'Monday', Tuesday = 'Tuesday', Wednesday = 'Wednesday', Thursday = 'Thursday', Friday = 'Friday', Saturday = 'Saturday', } export class ScheduleDay { public offset: number; public dayOfWeek: DayOfWeek; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum SchedulingRuleFrequency { None = 'None', Secondly = 'Secondly', Minutely = 'Minutely', Hourly = 'Hourly', Daily = 'Daily', Weekly = 'Weekly', Monthly = 'Monthly', Yearly = 'Yearly', } export class SchedulingRule { public id: string; public name: string; public priority: number; public state: string; public source: string; public condition: string; public simpleRuleType: SimpleSchedulingRuleTypes; public customerState: string; public flowId: string; public flowParams: Struct; public isAllDay: boolean; public startDate: string; public startTime: string; public endTime: string; public bySetPosition: number[]; public byMonth: number[]; public byWeekNo: number[]; public byYearDay: number[]; public byMonthDay: number[]; public byDay: ScheduleDay[]; public byHour: number[]; public byMinute: number[]; public interval: number; public count: number; public untilDate: string; public frequency: SchedulingRuleFrequency; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Schedule { public timeZoneId: string; public inherit: boolean; public forceClosed: boolean; public rules: SchedulingRule[]; public defaultState: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Get the inherited schedule for this customer */ // @Route("/customers/{customerId}/inherited-schedule", "GET") // @Route("/endpoints/{endpointId}/inherited-schedule", "GET") // @Api(Description="Get the inherited schedule for this customer") export class GetInheritedSchedule implements IReturn { /** @description The customer ID whose inherited schedule you want to retrieve */ // @ApiMember(Description="The customer ID whose inherited schedule you want to retrieve") public customerId: string; /** @description The endpoint ID whose inherited schedule you want to retrieve (use this OR customer id */ // @ApiMember(Description="The endpoint ID whose inherited schedule you want to retrieve (use this OR customer id") public endpointId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetInheritedSchedule'; } public getMethod() { return 'GET'; } public createResponse() { return new Schedule(); } }