Skip to content

Commit

Permalink
1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
billneff79 committed Apr 18, 2018
1 parent ea12d27 commit b303d9b
Showing 1 changed file with 80 additions and 13 deletions.
93 changes: 80 additions & 13 deletions src/schema/generated-schema-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,10 @@ export interface InviteInfo {
}

export interface InviteComponent {
allDay?:
| boolean
| null /* duration: DurationInfo # dur - TODOrecurrence: RecurrenceInfo - TODO */;
recurrence?:
| RecurrenceInfo[]
| null /* duration: DurationInfo # dur - TODO */;
allDay?: boolean | null;
attendees?: CalendarItemAttendee[] | null;
calItemId?: string | null;
ciFolder?: string | null;
Expand Down Expand Up @@ -320,6 +321,62 @@ export interface InviteComponent {
aid?: string | null;
}

export interface RecurrenceInfo {
add?: AddRecurrenceInfo[] | null;
exclude?: ExcludeRecurrenceInfo[] | null;
except?: ExceptionRuleInfo[] | null;
cancel?: CancelRuleInfo[] | null;
rule?: SimpleRepeatingRule[] | null /* dates: [SingleDates] # TODO */;
}

export interface AddRecurrenceInfo {
add?: AddRecurrenceInfo[] | null;
exclude?: ExcludeRecurrenceInfo[] | null;
except?: ExceptionRuleInfo[] | null;
cancel?: CancelRuleInfo[] | null;
rule?: SimpleRepeatingRule[] | null /* dates: SingleDates # TODO */;
}

export interface ExcludeRecurrenceInfo {
exclude?: ExcludeRecurrenceInfo[] | null;
except?: ExceptionRuleInfo[] | null;
}

export interface ExceptionRuleInfo {
rangeType?: number | null;
recurId?: string | null;
tz?: string | null;
ridZ?: string | null;
add?: AddRecurrenceInfo[] | null;
exclude?: ExcludeRecurrenceInfo[] | null;
}

export interface CancelRuleInfo {
rangeType?: number | null;
recurId?: string | null;
tz?: string | null;
ridZ?: string | null;
}

export interface SimpleRepeatingRule {
frequency?: CalendarItemRecurrenceFrequency | null;
interval?: IntervalRule[] | null;
byday?: ByDayRule[] | null;
}

export interface IntervalRule {
intervalCount?: number | null;
}

export interface ByDayRule {
wkday?: WkDay[] | null;
}

export interface WkDay {
day?: Weekday | null;
ordwk?: number | null;
}

export interface CalendarItemAttendee {
role?: ParticipationRole | null;
participationStatus?: ParticipationStatus | null;
Expand Down Expand Up @@ -1136,6 +1193,26 @@ export enum InviteType {
task = 'task'
}

export enum CalendarItemRecurrenceFrequency {
SEC = 'SEC',
MIN = 'MIN',
HOU = 'HOU',
DAI = 'DAI',
WEE = 'WEE',
MON = 'MON',
YEA = 'YEA'
}

export enum Weekday {
SU = 'SU',
MO = 'MO',
TU = 'TU',
WE = 'WE',
TH = 'TH',
FR = 'FR',
SA = 'SA'
}

export enum ParticipationRole {
REQ = 'REQ',
OPT = 'OPT',
Expand Down Expand Up @@ -1250,16 +1327,6 @@ export enum ConnectionType {
tls_is_available = 'tls_is_available'
}

export enum CalendarItemRecurrenceFrequency {
SEC = 'SEC',
MIN = 'MIN',
HOU = 'HOU',
DAI = 'DAI',
WEE = 'WEE',
MON = 'MON',
YEA = 'YEA'
}

export enum AlarmAction {
DISPLAY = 'DISPLAY',
AUDIO = 'AUDIO',
Expand Down

0 comments on commit b303d9b

Please sign in to comment.