jscalendar 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,652 @@
1
+ module Jscalendar
2
+ VERSION: String
3
+ type json_value = nil | bool | Integer | Float | String | Array[json_value] | Hash[String, json_value]
4
+ type object = Hash[String, json_value]
5
+ def self.parse: (String source, ?strict: bool, **Integer limits) -> (Event | Task | Group)
6
+ def self.validate: (String | object source, **Integer limits) -> Array[Violation]
7
+ class Violation < Struct[untyped]
8
+ attr_accessor pointer: String
9
+ attr_accessor message: String
10
+ end
11
+ class Error < StandardError
12
+ attr_reader pointer: String?
13
+ end
14
+ class ParseError < Error
15
+ end
16
+ class ConversionError < Error
17
+ end
18
+ class LimitError < Error
19
+ end
20
+ class UnsupportedError < Error
21
+ end
22
+ class ValidationError < Error
23
+ attr_reader errors: Array[Violation]
24
+ end
25
+ class Model
26
+ attr_reader limits: Hash[Symbol, Integer]
27
+ def self.build: (**untyped properties) ?{ (instance) -> void } -> instance
28
+ def initialize: (?object data, ?strict: bool, ?time_zones: object, **Integer limits) -> void
29
+ def []: (String | Symbol) -> untyped
30
+ def []=: (String | Symbol, untyped) -> untyped
31
+ def key?: (String | Symbol) -> bool
32
+ def delete: (String | Symbol) -> untyped
33
+ def to_h: () -> object
34
+ def to_json: (?Hash[Symbol, untyped]? options) -> String
35
+ def errors: () -> Array[Violation]
36
+ alias warnings errors
37
+ def valid?: () -> bool
38
+ def validate!: () -> self
39
+ def localize: (String) -> instance
40
+ end
41
+ class IdMap[A]
42
+ include Enumerable[[String, A]]
43
+ def []: (String | Symbol) -> A?
44
+ def []=: (String | Symbol, object | A) -> untyped
45
+ def each: () { (String, A) -> void } -> self
46
+ | () -> Enumerator[[String, A], self]
47
+ def keys: () -> Array[String]
48
+ def values: () -> Array[A]
49
+ def size: () -> Integer
50
+ alias length size
51
+ def empty?: () -> bool
52
+ def key?: (String | Symbol) -> bool
53
+ def delete: (String | Symbol) -> A?
54
+ def add: (object | A, ?prefix: String) -> String
55
+ def to_h: () -> object
56
+ end
57
+ class LocalDateTime
58
+ include Comparable
59
+ def initialize: (String | LocalDateTime) -> void
60
+ def self.from_time: (Time) -> LocalDateTime
61
+ def to_s: () -> String
62
+ def to_time: () -> Time
63
+ def <=>: (String | LocalDateTime) -> Integer?
64
+ end
65
+ class Duration
66
+ attr_reader days: Integer
67
+ attr_reader seconds: Rational
68
+ def initialize: (String | Duration) -> void
69
+ def self.from_seconds: (Numeric) -> instance
70
+ def to_s: () -> String
71
+ def to_seconds: () -> Rational
72
+ def add_to: (String | LocalDateTime, ?time_zone: String?, ?time_zones: object) -> LocalDateTime
73
+ end
74
+ class SignedDuration < Duration
75
+ end
76
+ class PatchObject
77
+ def initialize: (object, ?max_patches: Integer, **Integer limits) -> void
78
+ def to_h: () -> object
79
+ def apply: (object, ?validate: bool) -> object
80
+ end
81
+ module RecurringCalendar
82
+ def start_time: (?time_zone: String?) -> Time
83
+ def end_time: (?time_zone: String?) -> Time
84
+ def occurrences: (from: Time, to: Time, ?limit: Integer, ?time_zone: String?, ?timeout: Numeric) -> Occurrences
85
+ def add_recurrence_rule: (**untyped properties) -> self
86
+ end
87
+ class Occurrence
88
+ attr_reader recurrence_id: LocalDateTime
89
+ attr_reader event: Event | Task
90
+ alias calendar event
91
+ def start_time: (?time_zone: String?) -> Time
92
+ end
93
+ class Occurrences
94
+ include Enumerable[Occurrence]
95
+ def each: () { (Occurrence) -> void } -> self
96
+ | () -> Enumerator[Occurrence, self]
97
+ def truncated?: () -> bool
98
+ end
99
+ class Event < Model
100
+ include RecurringCalendar
101
+ def uid: () -> (String)?
102
+ def uid=: (untyped) -> untyped
103
+ def relatedTo: () -> (IdMap[Relation])?
104
+ def relatedTo=: (untyped) -> untyped
105
+ alias related_to relatedTo
106
+ alias related_to= relatedTo=
107
+ def prodId: () -> (String)?
108
+ def prodId=: (untyped) -> untyped
109
+ alias prod_id prodId
110
+ alias prod_id= prodId=
111
+ def created: () -> (String)?
112
+ def created=: (untyped) -> untyped
113
+ def updated: () -> (String)?
114
+ def updated=: (untyped) -> untyped
115
+ def sequence: () -> (Integer)?
116
+ def sequence=: (untyped) -> untyped
117
+ def method: () -> (String)?
118
+ def method=: (untyped) -> untyped
119
+ def title: () -> (String)?
120
+ def title=: (untyped) -> untyped
121
+ def description: () -> (String)?
122
+ def description=: (untyped) -> untyped
123
+ def descriptionContentType: () -> (String)?
124
+ def descriptionContentType=: (untyped) -> untyped
125
+ alias description_content_type descriptionContentType
126
+ alias description_content_type= descriptionContentType=
127
+ def showWithoutTime: () -> (bool)?
128
+ def showWithoutTime=: (untyped) -> untyped
129
+ alias show_without_time showWithoutTime
130
+ alias show_without_time= showWithoutTime=
131
+ def locations: () -> (IdMap[Location])?
132
+ def locations=: (untyped) -> untyped
133
+ def virtualLocations: () -> (IdMap[VirtualLocation])?
134
+ def virtualLocations=: (untyped) -> untyped
135
+ alias virtual_locations virtualLocations
136
+ alias virtual_locations= virtualLocations=
137
+ def links: () -> (IdMap[Link])?
138
+ def links=: (untyped) -> untyped
139
+ def locale: () -> (String)?
140
+ def locale=: (untyped) -> untyped
141
+ def keywords: () -> (Hash[String, bool])?
142
+ def keywords=: (untyped) -> untyped
143
+ def categories: () -> (Hash[String, bool])?
144
+ def categories=: (untyped) -> untyped
145
+ def color: () -> (String)?
146
+ def color=: (untyped) -> untyped
147
+ def recurrenceId: () -> (LocalDateTime)?
148
+ def recurrenceId=: (untyped) -> untyped
149
+ alias recurrence_id recurrenceId
150
+ alias recurrence_id= recurrenceId=
151
+ def recurrenceIdTimeZone: () -> ((String)?)?
152
+ def recurrenceIdTimeZone=: (untyped) -> untyped
153
+ alias recurrence_id_time_zone recurrenceIdTimeZone
154
+ alias recurrence_id_time_zone= recurrenceIdTimeZone=
155
+ def recurrenceRules: () -> (Array[RecurrenceRule])?
156
+ def recurrenceRules=: (untyped) -> untyped
157
+ alias recurrence_rules recurrenceRules
158
+ alias recurrence_rules= recurrenceRules=
159
+ def excludedRecurrenceRules: () -> (Array[RecurrenceRule])?
160
+ def excludedRecurrenceRules=: (untyped) -> untyped
161
+ alias excluded_recurrence_rules excludedRecurrenceRules
162
+ alias excluded_recurrence_rules= excludedRecurrenceRules=
163
+ def recurrenceOverrides: () -> (Hash[String, object])?
164
+ def recurrenceOverrides=: (untyped) -> untyped
165
+ alias recurrence_overrides recurrenceOverrides
166
+ alias recurrence_overrides= recurrenceOverrides=
167
+ def excluded: () -> (bool)?
168
+ def excluded=: (untyped) -> untyped
169
+ def priority: () -> (Integer)?
170
+ def priority=: (untyped) -> untyped
171
+ def freeBusyStatus: () -> (String)?
172
+ def freeBusyStatus=: (untyped) -> untyped
173
+ alias free_busy_status freeBusyStatus
174
+ alias free_busy_status= freeBusyStatus=
175
+ def privacy: () -> (String)?
176
+ def privacy=: (untyped) -> untyped
177
+ def replyTo: () -> (Hash[String, String])?
178
+ def replyTo=: (untyped) -> untyped
179
+ alias reply_to replyTo
180
+ alias reply_to= replyTo=
181
+ def sentBy: () -> (String)?
182
+ def sentBy=: (untyped) -> untyped
183
+ alias sent_by sentBy
184
+ alias sent_by= sentBy=
185
+ def participants: () -> (IdMap[Participant])?
186
+ def participants=: (untyped) -> untyped
187
+ def requestStatus: () -> (String)?
188
+ def requestStatus=: (untyped) -> untyped
189
+ alias request_status requestStatus
190
+ alias request_status= requestStatus=
191
+ def useDefaultAlerts: () -> (bool)?
192
+ def useDefaultAlerts=: (untyped) -> untyped
193
+ alias use_default_alerts useDefaultAlerts
194
+ alias use_default_alerts= useDefaultAlerts=
195
+ def alerts: () -> (IdMap[Alert])?
196
+ def alerts=: (untyped) -> untyped
197
+ def localizations: () -> (Hash[String, object])?
198
+ def localizations=: (untyped) -> untyped
199
+ def timeZone: () -> ((String)?)?
200
+ def timeZone=: (untyped) -> untyped
201
+ alias time_zone timeZone
202
+ alias time_zone= timeZone=
203
+ def timeZones: () -> (IdMap[TimeZone])?
204
+ def timeZones=: (untyped) -> untyped
205
+ alias time_zones timeZones
206
+ alias time_zones= timeZones=
207
+ def start: () -> (LocalDateTime)?
208
+ def start=: (untyped) -> untyped
209
+ def duration: () -> (Duration)?
210
+ def duration=: (untyped) -> untyped
211
+ def status: () -> (String)?
212
+ def status=: (untyped) -> untyped
213
+ end
214
+ class Task < Model
215
+ include RecurringCalendar
216
+ def uid: () -> (String)?
217
+ def uid=: (untyped) -> untyped
218
+ def relatedTo: () -> (IdMap[Relation])?
219
+ def relatedTo=: (untyped) -> untyped
220
+ alias related_to relatedTo
221
+ alias related_to= relatedTo=
222
+ def prodId: () -> (String)?
223
+ def prodId=: (untyped) -> untyped
224
+ alias prod_id prodId
225
+ alias prod_id= prodId=
226
+ def created: () -> (String)?
227
+ def created=: (untyped) -> untyped
228
+ def updated: () -> (String)?
229
+ def updated=: (untyped) -> untyped
230
+ def sequence: () -> (Integer)?
231
+ def sequence=: (untyped) -> untyped
232
+ def method: () -> (String)?
233
+ def method=: (untyped) -> untyped
234
+ def title: () -> (String)?
235
+ def title=: (untyped) -> untyped
236
+ def description: () -> (String)?
237
+ def description=: (untyped) -> untyped
238
+ def descriptionContentType: () -> (String)?
239
+ def descriptionContentType=: (untyped) -> untyped
240
+ alias description_content_type descriptionContentType
241
+ alias description_content_type= descriptionContentType=
242
+ def showWithoutTime: () -> (bool)?
243
+ def showWithoutTime=: (untyped) -> untyped
244
+ alias show_without_time showWithoutTime
245
+ alias show_without_time= showWithoutTime=
246
+ def locations: () -> (IdMap[Location])?
247
+ def locations=: (untyped) -> untyped
248
+ def virtualLocations: () -> (IdMap[VirtualLocation])?
249
+ def virtualLocations=: (untyped) -> untyped
250
+ alias virtual_locations virtualLocations
251
+ alias virtual_locations= virtualLocations=
252
+ def links: () -> (IdMap[Link])?
253
+ def links=: (untyped) -> untyped
254
+ def locale: () -> (String)?
255
+ def locale=: (untyped) -> untyped
256
+ def keywords: () -> (Hash[String, bool])?
257
+ def keywords=: (untyped) -> untyped
258
+ def categories: () -> (Hash[String, bool])?
259
+ def categories=: (untyped) -> untyped
260
+ def color: () -> (String)?
261
+ def color=: (untyped) -> untyped
262
+ def recurrenceId: () -> (LocalDateTime)?
263
+ def recurrenceId=: (untyped) -> untyped
264
+ alias recurrence_id recurrenceId
265
+ alias recurrence_id= recurrenceId=
266
+ def recurrenceIdTimeZone: () -> ((String)?)?
267
+ def recurrenceIdTimeZone=: (untyped) -> untyped
268
+ alias recurrence_id_time_zone recurrenceIdTimeZone
269
+ alias recurrence_id_time_zone= recurrenceIdTimeZone=
270
+ def recurrenceRules: () -> (Array[RecurrenceRule])?
271
+ def recurrenceRules=: (untyped) -> untyped
272
+ alias recurrence_rules recurrenceRules
273
+ alias recurrence_rules= recurrenceRules=
274
+ def excludedRecurrenceRules: () -> (Array[RecurrenceRule])?
275
+ def excludedRecurrenceRules=: (untyped) -> untyped
276
+ alias excluded_recurrence_rules excludedRecurrenceRules
277
+ alias excluded_recurrence_rules= excludedRecurrenceRules=
278
+ def recurrenceOverrides: () -> (Hash[String, object])?
279
+ def recurrenceOverrides=: (untyped) -> untyped
280
+ alias recurrence_overrides recurrenceOverrides
281
+ alias recurrence_overrides= recurrenceOverrides=
282
+ def excluded: () -> (bool)?
283
+ def excluded=: (untyped) -> untyped
284
+ def priority: () -> (Integer)?
285
+ def priority=: (untyped) -> untyped
286
+ def freeBusyStatus: () -> (String)?
287
+ def freeBusyStatus=: (untyped) -> untyped
288
+ alias free_busy_status freeBusyStatus
289
+ alias free_busy_status= freeBusyStatus=
290
+ def privacy: () -> (String)?
291
+ def privacy=: (untyped) -> untyped
292
+ def replyTo: () -> (Hash[String, String])?
293
+ def replyTo=: (untyped) -> untyped
294
+ alias reply_to replyTo
295
+ alias reply_to= replyTo=
296
+ def sentBy: () -> (String)?
297
+ def sentBy=: (untyped) -> untyped
298
+ alias sent_by sentBy
299
+ alias sent_by= sentBy=
300
+ def participants: () -> (IdMap[Participant])?
301
+ def participants=: (untyped) -> untyped
302
+ def requestStatus: () -> (String)?
303
+ def requestStatus=: (untyped) -> untyped
304
+ alias request_status requestStatus
305
+ alias request_status= requestStatus=
306
+ def useDefaultAlerts: () -> (bool)?
307
+ def useDefaultAlerts=: (untyped) -> untyped
308
+ alias use_default_alerts useDefaultAlerts
309
+ alias use_default_alerts= useDefaultAlerts=
310
+ def alerts: () -> (IdMap[Alert])?
311
+ def alerts=: (untyped) -> untyped
312
+ def localizations: () -> (Hash[String, object])?
313
+ def localizations=: (untyped) -> untyped
314
+ def timeZone: () -> ((String)?)?
315
+ def timeZone=: (untyped) -> untyped
316
+ alias time_zone timeZone
317
+ alias time_zone= timeZone=
318
+ def timeZones: () -> (IdMap[TimeZone])?
319
+ def timeZones=: (untyped) -> untyped
320
+ alias time_zones timeZones
321
+ alias time_zones= timeZones=
322
+ def due: () -> (LocalDateTime)?
323
+ def due=: (untyped) -> untyped
324
+ def start: () -> (LocalDateTime)?
325
+ def start=: (untyped) -> untyped
326
+ def estimatedDuration: () -> (Duration)?
327
+ def estimatedDuration=: (untyped) -> untyped
328
+ alias estimated_duration estimatedDuration
329
+ alias estimated_duration= estimatedDuration=
330
+ def percentComplete: () -> (Integer)?
331
+ def percentComplete=: (untyped) -> untyped
332
+ alias percent_complete percentComplete
333
+ alias percent_complete= percentComplete=
334
+ def progress: () -> (String)?
335
+ def progress=: (untyped) -> untyped
336
+ def progressUpdated: () -> (String)?
337
+ def progressUpdated=: (untyped) -> untyped
338
+ alias progress_updated progressUpdated
339
+ alias progress_updated= progressUpdated=
340
+ end
341
+ class Group < Model
342
+ def uid: () -> (String)?
343
+ def uid=: (untyped) -> untyped
344
+ def updated: () -> (String)?
345
+ def updated=: (untyped) -> untyped
346
+ def entries: () -> (Array[Event | Task | object])?
347
+ def entries=: (untyped) -> untyped
348
+ def source: () -> (String)?
349
+ def source=: (untyped) -> untyped
350
+ def prodId: () -> (String)?
351
+ def prodId=: (untyped) -> untyped
352
+ alias prod_id prodId
353
+ alias prod_id= prodId=
354
+ def created: () -> (String)?
355
+ def created=: (untyped) -> untyped
356
+ def title: () -> (String)?
357
+ def title=: (untyped) -> untyped
358
+ def description: () -> (String)?
359
+ def description=: (untyped) -> untyped
360
+ def descriptionContentType: () -> (String)?
361
+ def descriptionContentType=: (untyped) -> untyped
362
+ alias description_content_type descriptionContentType
363
+ alias description_content_type= descriptionContentType=
364
+ def links: () -> (IdMap[Link])?
365
+ def links=: (untyped) -> untyped
366
+ def locale: () -> (String)?
367
+ def locale=: (untyped) -> untyped
368
+ def keywords: () -> (Hash[String, bool])?
369
+ def keywords=: (untyped) -> untyped
370
+ def categories: () -> (Hash[String, bool])?
371
+ def categories=: (untyped) -> untyped
372
+ def color: () -> (String)?
373
+ def color=: (untyped) -> untyped
374
+ def timeZones: () -> (IdMap[TimeZone])?
375
+ def timeZones=: (untyped) -> untyped
376
+ alias time_zones timeZones
377
+ alias time_zones= timeZones=
378
+ end
379
+ class Relation < Model
380
+ def relation: () -> (Hash[String, bool])?
381
+ def relation=: (untyped) -> untyped
382
+ end
383
+ class Link < Model
384
+ def href: () -> (String)?
385
+ def href=: (untyped) -> untyped
386
+ def cid: () -> (String)?
387
+ def cid=: (untyped) -> untyped
388
+ def contentType: () -> (String)?
389
+ def contentType=: (untyped) -> untyped
390
+ alias content_type contentType
391
+ alias content_type= contentType=
392
+ def size: () -> (Integer)?
393
+ def size=: (untyped) -> untyped
394
+ def rel: () -> (String)?
395
+ def rel=: (untyped) -> untyped
396
+ def display: () -> (String)?
397
+ def display=: (untyped) -> untyped
398
+ def title: () -> (String)?
399
+ def title=: (untyped) -> untyped
400
+ end
401
+ class Location < Model
402
+ def name: () -> (String)?
403
+ def name=: (untyped) -> untyped
404
+ def description: () -> (String)?
405
+ def description=: (untyped) -> untyped
406
+ def locationTypes: () -> (Hash[String, bool])?
407
+ def locationTypes=: (untyped) -> untyped
408
+ alias location_types locationTypes
409
+ alias location_types= locationTypes=
410
+ def relativeTo: () -> (String)?
411
+ def relativeTo=: (untyped) -> untyped
412
+ alias relative_to relativeTo
413
+ alias relative_to= relativeTo=
414
+ def timeZone: () -> (String)?
415
+ def timeZone=: (untyped) -> untyped
416
+ alias time_zone timeZone
417
+ alias time_zone= timeZone=
418
+ def coordinates: () -> (String)?
419
+ def coordinates=: (untyped) -> untyped
420
+ def links: () -> (IdMap[Link])?
421
+ def links=: (untyped) -> untyped
422
+ end
423
+ class VirtualLocation < Model
424
+ def name: () -> (String)?
425
+ def name=: (untyped) -> untyped
426
+ def description: () -> (String)?
427
+ def description=: (untyped) -> untyped
428
+ def uri: () -> (String)?
429
+ def uri=: (untyped) -> untyped
430
+ def features: () -> (Hash[String, bool])?
431
+ def features=: (untyped) -> untyped
432
+ end
433
+ class Participant < Model
434
+ def name: () -> (String)?
435
+ def name=: (untyped) -> untyped
436
+ def email: () -> (String)?
437
+ def email=: (untyped) -> untyped
438
+ def description: () -> (String)?
439
+ def description=: (untyped) -> untyped
440
+ def sendTo: () -> (Hash[String, String])?
441
+ def sendTo=: (untyped) -> untyped
442
+ alias send_to sendTo
443
+ alias send_to= sendTo=
444
+ def kind: () -> (String)?
445
+ def kind=: (untyped) -> untyped
446
+ def roles: () -> (Hash[String, bool])?
447
+ def roles=: (untyped) -> untyped
448
+ def locationId: () -> (String)?
449
+ def locationId=: (untyped) -> untyped
450
+ alias location_id locationId
451
+ alias location_id= locationId=
452
+ def language: () -> (String)?
453
+ def language=: (untyped) -> untyped
454
+ def participationStatus: () -> (String)?
455
+ def participationStatus=: (untyped) -> untyped
456
+ alias participation_status participationStatus
457
+ alias participation_status= participationStatus=
458
+ def participationComment: () -> (String)?
459
+ def participationComment=: (untyped) -> untyped
460
+ alias participation_comment participationComment
461
+ alias participation_comment= participationComment=
462
+ def expectReply: () -> (bool)?
463
+ def expectReply=: (untyped) -> untyped
464
+ alias expect_reply expectReply
465
+ alias expect_reply= expectReply=
466
+ def scheduleAgent: () -> (String)?
467
+ def scheduleAgent=: (untyped) -> untyped
468
+ alias schedule_agent scheduleAgent
469
+ alias schedule_agent= scheduleAgent=
470
+ def scheduleForceSend: () -> (bool)?
471
+ def scheduleForceSend=: (untyped) -> untyped
472
+ alias schedule_force_send scheduleForceSend
473
+ alias schedule_force_send= scheduleForceSend=
474
+ def scheduleSequence: () -> (Integer)?
475
+ def scheduleSequence=: (untyped) -> untyped
476
+ alias schedule_sequence scheduleSequence
477
+ alias schedule_sequence= scheduleSequence=
478
+ def scheduleStatus: () -> (Array[String])?
479
+ def scheduleStatus=: (untyped) -> untyped
480
+ alias schedule_status scheduleStatus
481
+ alias schedule_status= scheduleStatus=
482
+ def scheduleUpdated: () -> (String)?
483
+ def scheduleUpdated=: (untyped) -> untyped
484
+ alias schedule_updated scheduleUpdated
485
+ alias schedule_updated= scheduleUpdated=
486
+ def sentBy: () -> (String)?
487
+ def sentBy=: (untyped) -> untyped
488
+ alias sent_by sentBy
489
+ alias sent_by= sentBy=
490
+ def invitedBy: () -> (String)?
491
+ def invitedBy=: (untyped) -> untyped
492
+ alias invited_by invitedBy
493
+ alias invited_by= invitedBy=
494
+ def delegatedTo: () -> (Hash[String, bool])?
495
+ def delegatedTo=: (untyped) -> untyped
496
+ alias delegated_to delegatedTo
497
+ alias delegated_to= delegatedTo=
498
+ def delegatedFrom: () -> (Hash[String, bool])?
499
+ def delegatedFrom=: (untyped) -> untyped
500
+ alias delegated_from delegatedFrom
501
+ alias delegated_from= delegatedFrom=
502
+ def memberOf: () -> (Hash[String, bool])?
503
+ def memberOf=: (untyped) -> untyped
504
+ alias member_of memberOf
505
+ alias member_of= memberOf=
506
+ def links: () -> (IdMap[Link])?
507
+ def links=: (untyped) -> untyped
508
+ def progress: () -> (String)?
509
+ def progress=: (untyped) -> untyped
510
+ def progressUpdated: () -> (String)?
511
+ def progressUpdated=: (untyped) -> untyped
512
+ alias progress_updated progressUpdated
513
+ alias progress_updated= progressUpdated=
514
+ def percentComplete: () -> (Integer)?
515
+ def percentComplete=: (untyped) -> untyped
516
+ alias percent_complete percentComplete
517
+ alias percent_complete= percentComplete=
518
+ end
519
+ class Alert < Model
520
+ def trigger: () -> (OffsetTrigger | AbsoluteTrigger | object)?
521
+ def trigger=: (untyped) -> untyped
522
+ def acknowledged: () -> (String)?
523
+ def acknowledged=: (untyped) -> untyped
524
+ def relatedTo: () -> (IdMap[Relation])?
525
+ def relatedTo=: (untyped) -> untyped
526
+ alias related_to relatedTo
527
+ alias related_to= relatedTo=
528
+ def action: () -> (String)?
529
+ def action=: (untyped) -> untyped
530
+ end
531
+ class OffsetTrigger < Model
532
+ def offset: () -> (SignedDuration)?
533
+ def offset=: (untyped) -> untyped
534
+ def relativeTo: () -> (String)?
535
+ def relativeTo=: (untyped) -> untyped
536
+ alias relative_to relativeTo
537
+ alias relative_to= relativeTo=
538
+ end
539
+ class AbsoluteTrigger < Model
540
+ def when: () -> (String)?
541
+ def when=: (untyped) -> untyped
542
+ end
543
+ class RecurrenceRule < Model
544
+ def to_rrule: () -> String
545
+ def frequency: () -> (String)?
546
+ def frequency=: (untyped) -> untyped
547
+ def interval: () -> (Integer)?
548
+ def interval=: (untyped) -> untyped
549
+ def rscale: () -> (String)?
550
+ def rscale=: (untyped) -> untyped
551
+ def skip: () -> (String)?
552
+ def skip=: (untyped) -> untyped
553
+ def firstDayOfWeek: () -> (String)?
554
+ def firstDayOfWeek=: (untyped) -> untyped
555
+ alias first_day_of_week firstDayOfWeek
556
+ alias first_day_of_week= firstDayOfWeek=
557
+ def byDay: () -> (Array[NDay])?
558
+ def byDay=: (untyped) -> untyped
559
+ alias by_day byDay
560
+ alias by_day= byDay=
561
+ def byMonthDay: () -> (Array[Integer])?
562
+ def byMonthDay=: (untyped) -> untyped
563
+ alias by_month_day byMonthDay
564
+ alias by_month_day= byMonthDay=
565
+ def byMonth: () -> (Array[String])?
566
+ def byMonth=: (untyped) -> untyped
567
+ alias by_month byMonth
568
+ alias by_month= byMonth=
569
+ def byYearDay: () -> (Array[Integer])?
570
+ def byYearDay=: (untyped) -> untyped
571
+ alias by_year_day byYearDay
572
+ alias by_year_day= byYearDay=
573
+ def byWeekNo: () -> (Array[Integer])?
574
+ def byWeekNo=: (untyped) -> untyped
575
+ alias by_week_no byWeekNo
576
+ alias by_week_no= byWeekNo=
577
+ def byHour: () -> (Array[Integer])?
578
+ def byHour=: (untyped) -> untyped
579
+ alias by_hour byHour
580
+ alias by_hour= byHour=
581
+ def byMinute: () -> (Array[Integer])?
582
+ def byMinute=: (untyped) -> untyped
583
+ alias by_minute byMinute
584
+ alias by_minute= byMinute=
585
+ def bySecond: () -> (Array[Integer])?
586
+ def bySecond=: (untyped) -> untyped
587
+ alias by_second bySecond
588
+ alias by_second= bySecond=
589
+ def bySetPosition: () -> (Array[Integer])?
590
+ def bySetPosition=: (untyped) -> untyped
591
+ alias by_set_position bySetPosition
592
+ alias by_set_position= bySetPosition=
593
+ def count: () -> (Integer)?
594
+ def count=: (untyped) -> untyped
595
+ def until: () -> (LocalDateTime)?
596
+ def until=: (untyped) -> untyped
597
+ end
598
+ class NDay < Model
599
+ def day: () -> (String)?
600
+ def day=: (untyped) -> untyped
601
+ def nthOfPeriod: () -> (Integer)?
602
+ def nthOfPeriod=: (untyped) -> untyped
603
+ alias nth_of_period nthOfPeriod
604
+ alias nth_of_period= nthOfPeriod=
605
+ end
606
+ class TimeZone < Model
607
+ def tzId: () -> (String)?
608
+ def tzId=: (untyped) -> untyped
609
+ alias tz_id tzId
610
+ alias tz_id= tzId=
611
+ def updated: () -> (String)?
612
+ def updated=: (untyped) -> untyped
613
+ def url: () -> (String)?
614
+ def url=: (untyped) -> untyped
615
+ def validUntil: () -> (String)?
616
+ def validUntil=: (untyped) -> untyped
617
+ alias valid_until validUntil
618
+ alias valid_until= validUntil=
619
+ def aliases: () -> (Hash[String, bool])?
620
+ def aliases=: (untyped) -> untyped
621
+ def standard: () -> (Array[TimeZoneRule])?
622
+ def standard=: (untyped) -> untyped
623
+ def daylight: () -> (Array[TimeZoneRule])?
624
+ def daylight=: (untyped) -> untyped
625
+ end
626
+ class TimeZoneRule < Model
627
+ def start: () -> (LocalDateTime)?
628
+ def start=: (untyped) -> untyped
629
+ def offsetFrom: () -> (String)?
630
+ def offsetFrom=: (untyped) -> untyped
631
+ alias offset_from offsetFrom
632
+ alias offset_from= offsetFrom=
633
+ def offsetTo: () -> (String)?
634
+ def offsetTo=: (untyped) -> untyped
635
+ alias offset_to offsetTo
636
+ alias offset_to= offsetTo=
637
+ def recurrenceRules: () -> (Array[RecurrenceRule])?
638
+ def recurrenceRules=: (untyped) -> untyped
639
+ alias recurrence_rules recurrenceRules
640
+ alias recurrence_rules= recurrenceRules=
641
+ def recurrenceOverrides: () -> (Hash[String, object])?
642
+ def recurrenceOverrides=: (untyped) -> untyped
643
+ alias recurrence_overrides recurrenceOverrides
644
+ alias recurrence_overrides= recurrenceOverrides=
645
+ def names: () -> (Hash[String, bool])?
646
+ def names=: (untyped) -> untyped
647
+ def comments: () -> (Array[String])?
648
+ def comments=: (untyped) -> untyped
649
+ end
650
+ end
651
+
652
+ module JSCalendar = Jscalendar