@ebarooni/capacitor-calendar 8.5.0 → 8.6.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.
Files changed (24) hide show
  1. package/README.md +141 -223
  2. package/android/src/main/java/dev/barooni/capacitor/calendar/implementation/CapacitorCalendar.kt +82 -0
  3. package/android/src/main/java/dev/barooni/capacitor/calendar/models/data/CalendarEvent.kt +4 -0
  4. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/CreateEventResult.kt +1 -0
  5. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/ListEventsInRangeResult.kt +4 -0
  6. package/dist/docs.json +259 -139
  7. package/dist/esm/index.d.ts +2 -1
  8. package/dist/esm/index.js.map +1 -1
  9. package/dist/esm/schemas/interfaces/calendar-event.d.ts +140 -67
  10. package/dist/esm/schemas/interfaces/calendar-event.js.map +1 -1
  11. package/dist/esm/schemas/interfaces/create-event-result.d.ts +3 -2
  12. package/dist/esm/schemas/interfaces/create-event-result.js.map +1 -1
  13. package/dist/esm/schemas/interfaces/list-events-in-range-result.d.ts +13 -0
  14. package/dist/esm/schemas/interfaces/list-events-in-range-result.js +2 -0
  15. package/dist/esm/schemas/interfaces/list-events-in-range-result.js.map +1 -0
  16. package/dist/esm/sub-definitions/event-operations.d.ts +2 -4
  17. package/dist/esm/sub-definitions/event-operations.js.map +1 -1
  18. package/dist/esm/web.d.ts +2 -4
  19. package/dist/esm/web.js.map +1 -1
  20. package/ios/Plugin/Implementation/CapacitorCalendar.swift +1 -1
  21. package/ios/Plugin/Models/Results/CreateEventResult.swift +1 -0
  22. package/ios/Plugin/Models/Results/ListEventsInRangeResult.swift +15 -2
  23. package/ios/Plugin/Utils/ImplementationHelper.swift +47 -3
  24. package/package.json +3 -3
package/README.md CHANGED
@@ -21,7 +21,7 @@
21
21
 
22
22
  ![capacitor-calendar-logo](assets/images/text-logo.png)
23
23
 
24
- Full-featured Capacitor plugin for native calendar and reminders access. Manage permissions, create, modify, and delete events and reminders programmatically or via the native UI, query events within a given time period, and list all available calendars.
24
+ Full-featured Capacitor plugin for calendar and reminders access on iOS, Android, and the web. On iOS and Android, manage permissions, create, modify, and delete events and reminders programmatically or via the native UI, query events in a date range, and list available calendars. On the web, create events as ICS files that users can add to their calendar.
25
25
 
26
26
  ## Core Features
27
27
 
@@ -248,48 +248,48 @@ See [CHANGELOG.md](CHANGELOG.md) for the latest updates and release history.
248
248
 
249
249
  <docgen-index>
250
250
 
251
- * [`checkPermission(...)`](#checkpermission)
252
- * [`checkAllPermissions()`](#checkallpermissions)
253
- * [`requestPermission(...)`](#requestpermission)
254
- * [`requestAllPermissions()`](#requestallpermissions)
255
- * [`requestWriteOnlyCalendarAccess()`](#requestwriteonlycalendaraccess)
256
- * [`requestReadOnlyCalendarAccess()`](#requestreadonlycalendaraccess)
257
- * [`requestFullCalendarAccess()`](#requestfullcalendaraccess)
258
- * [`requestFullRemindersAccess()`](#requestfullremindersaccess)
259
- * [`createEventWithPrompt(...)`](#createeventwithprompt)
260
- * [`modifyEventWithPrompt(...)`](#modifyeventwithprompt)
261
- * [`createEvent(...)`](#createevent)
262
- * [`modifyEvent(...)`](#modifyevent)
263
- * [`deleteEventsById(...)`](#deleteeventsbyid)
264
- * [`deleteEvent(...)`](#deleteevent)
265
- * [`deleteEventWithPrompt(...)`](#deleteeventwithprompt)
266
- * [`listEventsInRange(...)`](#listeventsinrange)
267
- * [`commit()`](#commit)
268
- * [`selectCalendarsWithPrompt(...)`](#selectcalendarswithprompt)
269
- * [`fetchAllCalendarSources()`](#fetchallcalendarsources)
270
- * [`listCalendars()`](#listcalendars)
271
- * [`getDefaultCalendar(...)`](#getdefaultcalendar)
272
- * [`openCalendar(...)`](#opencalendar)
273
- * [`createCalendar(...)`](#createcalendar)
274
- * [`deleteCalendar(...)`](#deletecalendar)
275
- * [`modifyCalendar(...)`](#modifycalendar)
276
- * [`createRemindersList(...)`](#createreminderslist)
277
- * [`deleteRemindersList(...)`](#deletereminderslist)
278
- * [`fetchAllRemindersSources()`](#fetchallreminderssources)
279
- * [`openReminders()`](#openreminders)
280
- * [`getDefaultRemindersList()`](#getdefaultreminderslist)
281
- * [`getRemindersLists()`](#getreminderslists)
282
- * [`createReminder(...)`](#createreminder)
283
- * [`deleteRemindersById(...)`](#deleteremindersbyid)
284
- * [`deleteReminder(...)`](#deletereminder)
285
- * [`modifyReminder(...)`](#modifyreminder)
286
- * [`getReminderById(...)`](#getreminderbyid)
287
- * [`getRemindersFromLists(...)`](#getremindersfromlists)
288
- * [`deleteReminderWithPrompt(...)`](#deletereminderwithprompt)
289
- * [`updateRemindersList(...)`](#updatereminderslist)
290
- * [Interfaces](#interfaces)
291
- * [Type Aliases](#type-aliases)
292
- * [Enums](#enums)
251
+ - [`checkPermission(...)`](#checkpermission)
252
+ - [`checkAllPermissions()`](#checkallpermissions)
253
+ - [`requestPermission(...)`](#requestpermission)
254
+ - [`requestAllPermissions()`](#requestallpermissions)
255
+ - [`requestWriteOnlyCalendarAccess()`](#requestwriteonlycalendaraccess)
256
+ - [`requestReadOnlyCalendarAccess()`](#requestreadonlycalendaraccess)
257
+ - [`requestFullCalendarAccess()`](#requestfullcalendaraccess)
258
+ - [`requestFullRemindersAccess()`](#requestfullremindersaccess)
259
+ - [`createEventWithPrompt(...)`](#createeventwithprompt)
260
+ - [`modifyEventWithPrompt(...)`](#modifyeventwithprompt)
261
+ - [`createEvent(...)`](#createevent)
262
+ - [`modifyEvent(...)`](#modifyevent)
263
+ - [`deleteEventsById(...)`](#deleteeventsbyid)
264
+ - [`deleteEvent(...)`](#deleteevent)
265
+ - [`deleteEventWithPrompt(...)`](#deleteeventwithprompt)
266
+ - [`listEventsInRange(...)`](#listeventsinrange)
267
+ - [`commit()`](#commit)
268
+ - [`selectCalendarsWithPrompt(...)`](#selectcalendarswithprompt)
269
+ - [`fetchAllCalendarSources()`](#fetchallcalendarsources)
270
+ - [`listCalendars()`](#listcalendars)
271
+ - [`getDefaultCalendar(...)`](#getdefaultcalendar)
272
+ - [`openCalendar(...)`](#opencalendar)
273
+ - [`createCalendar(...)`](#createcalendar)
274
+ - [`deleteCalendar(...)`](#deletecalendar)
275
+ - [`modifyCalendar(...)`](#modifycalendar)
276
+ - [`createRemindersList(...)`](#createreminderslist)
277
+ - [`deleteRemindersList(...)`](#deletereminderslist)
278
+ - [`fetchAllRemindersSources()`](#fetchallreminderssources)
279
+ - [`openReminders()`](#openreminders)
280
+ - [`getDefaultRemindersList()`](#getdefaultreminderslist)
281
+ - [`getRemindersLists()`](#getreminderslists)
282
+ - [`createReminder(...)`](#createreminder)
283
+ - [`deleteRemindersById(...)`](#deleteremindersbyid)
284
+ - [`deleteReminder(...)`](#deletereminder)
285
+ - [`modifyReminder(...)`](#modifyreminder)
286
+ - [`getReminderById(...)`](#getreminderbyid)
287
+ - [`getRemindersFromLists(...)`](#getremindersfromlists)
288
+ - [`deleteReminderWithPrompt(...)`](#deletereminderwithprompt)
289
+ - [`updateRemindersList(...)`](#updatereminderslist)
290
+ - [Interfaces](#interfaces)
291
+ - [Type Aliases](#type-aliases)
292
+ - [Enums](#enums)
293
293
 
294
294
  </docgen-index>
295
295
 
@@ -315,8 +315,7 @@ On Android, `readReminders` and `writeReminders` resolve to `"prompt"`.
315
315
 
316
316
  **Platform:** Android, iOS
317
317
 
318
- --------------------
319
-
318
+ ---
320
319
 
321
320
  ### checkAllPermissions()
322
321
 
@@ -333,8 +332,7 @@ On Android, reminder keys always resolve to `"prompt"`.
333
332
 
334
333
  **Platform:** Android, iOS
335
334
 
336
- --------------------
337
-
335
+ ---
338
336
 
339
337
  ### requestPermission(...)
340
338
 
@@ -355,8 +353,7 @@ On Android, `readReminders` and `writeReminders` reject with `Invalid scope.`
355
353
 
356
354
  **Platform:** Android, iOS
357
355
 
358
- --------------------
359
-
356
+ ---
360
357
 
361
358
  ### requestAllPermissions()
362
359
 
@@ -373,8 +370,7 @@ On Android, only calendar permissions are requested; reminder keys stay `"prompt
373
370
 
374
371
  **Platform:** Android, iOS
375
372
 
376
- --------------------
377
-
373
+ ---
378
374
 
379
375
  ### requestWriteOnlyCalendarAccess()
380
376
 
@@ -390,8 +386,7 @@ Requests write access to the calendar.
390
386
 
391
387
  **Platform:** Android, iOS
392
388
 
393
- --------------------
394
-
389
+ ---
395
390
 
396
391
  ### requestReadOnlyCalendarAccess()
397
392
 
@@ -407,8 +402,7 @@ Requests read access to the calendar.
407
402
 
408
403
  **Platform:** Android
409
404
 
410
- --------------------
411
-
405
+ ---
412
406
 
413
407
  ### requestFullCalendarAccess()
414
408
 
@@ -424,8 +418,7 @@ Requests read and write access to the calendar.
424
418
 
425
419
  **Platform:** Android, iOS
426
420
 
427
- --------------------
428
-
421
+ ---
429
422
 
430
423
  ### requestFullRemindersAccess()
431
424
 
@@ -443,8 +436,7 @@ A grant covers both `readReminders` and `writeReminders`.
443
436
 
444
437
  **Platform:** iOS
445
438
 
446
- --------------------
447
-
439
+ ---
448
440
 
449
441
  ### createEventWithPrompt(...)
450
442
 
@@ -466,8 +458,7 @@ Fetch the events to find the ID of the newly created event.
466
458
 
467
459
  **Platform:** Android, iOS
468
460
 
469
- --------------------
470
-
461
+ ---
471
462
 
472
463
  ### modifyEventWithPrompt(...)
473
464
 
@@ -488,8 +479,7 @@ On Android always returns `null`.
488
479
 
489
480
  **Platform:** Android, iOS
490
481
 
491
- --------------------
492
-
482
+ ---
493
483
 
494
484
  ### createEvent(...)
495
485
 
@@ -513,8 +503,7 @@ this method does not trigger a download.
513
503
 
514
504
  **Platform:** Android, iOS, Web
515
505
 
516
- --------------------
517
-
506
+ ---
518
507
 
519
508
  ### modifyEvent(...)
520
509
 
@@ -532,8 +521,7 @@ Modifies an event.
532
521
 
533
522
  **Platform:** Android, iOS
534
523
 
535
- --------------------
536
-
524
+ ---
537
525
 
538
526
  ### deleteEventsById(...)
539
527
 
@@ -553,8 +541,7 @@ Deletes multiple events.
553
541
 
554
542
  **Platform:** Android, iOS
555
543
 
556
- --------------------
557
-
544
+ ---
558
545
 
559
546
  ### deleteEvent(...)
560
547
 
@@ -572,8 +559,7 @@ Deletes an event.
572
559
 
573
560
  **Platform:** Android, iOS
574
561
 
575
- --------------------
576
-
562
+ ---
577
563
 
578
564
  ### deleteEventWithPrompt(...)
579
565
 
@@ -593,13 +579,12 @@ Opens a dialog to delete an event.
593
579
 
594
580
  **Platform:** Android, iOS
595
581
 
596
- --------------------
597
-
582
+ ---
598
583
 
599
584
  ### listEventsInRange(...)
600
585
 
601
586
  ```typescript
602
- listEventsInRange(options: ListEventsInRangeOptions) => Promise<{ result: CalendarEvent[]; }>
587
+ listEventsInRange(options: ListEventsInRangeOptions) => Promise<ListEventsInRangeResult>
603
588
  ```
604
589
 
605
590
  Retrieves events that overlap a date range.
@@ -611,14 +596,13 @@ multi-day events that span the range without starting or ending inside it.
611
596
  | ------------- | ----------------------------------------------------------------------------- |
612
597
  | **`options`** | <code><a href="#listeventsinrangeoptions">ListEventsInRangeOptions</a></code> |
613
598
 
614
- **Returns:** <code>Promise&lt;{ result: CalendarEvent[]; }&gt;</code>
599
+ **Returns:** <code>Promise&lt;<a href="#listeventsinrangeresult">ListEventsInRangeResult</a>&gt;</code>
615
600
 
616
601
  **Since:** 0.10.0
617
602
 
618
603
  **Platform:** Android, iOS
619
604
 
620
- --------------------
621
-
605
+ ---
622
606
 
623
607
  ### commit()
624
608
 
@@ -632,8 +616,7 @@ Saves pending calendar changes.
632
616
 
633
617
  **Platform:** iOS
634
618
 
635
- --------------------
636
-
619
+ ---
637
620
 
638
621
  ### selectCalendarsWithPrompt(...)
639
622
 
@@ -662,8 +645,7 @@ call continues until the user confirms or cancels.
662
645
 
663
646
  **Platform:** iOS
664
647
 
665
- --------------------
666
-
648
+ ---
667
649
 
668
650
  ### fetchAllCalendarSources()
669
651
 
@@ -682,8 +664,7 @@ an empty array. This method does not reject solely for missing permission.
682
664
 
683
665
  **Platform:** iOS
684
666
 
685
- --------------------
686
-
667
+ ---
687
668
 
688
669
  ### listCalendars()
689
670
 
@@ -702,8 +683,7 @@ rejects. On iOS, missing authorization typically returns an empty `result`.
702
683
 
703
684
  **Platform:** Android, iOS
704
685
 
705
- --------------------
706
-
686
+ ---
707
687
 
708
688
  ### getDefaultCalendar(...)
709
689
 
@@ -731,8 +711,7 @@ Otherwise the method returns `null` when there is no system default.
731
711
 
732
712
  **Platform:** Android, iOS
733
713
 
734
- --------------------
735
-
714
+ ---
736
715
 
737
716
  ### openCalendar(...)
738
717
 
@@ -750,8 +729,7 @@ Opens the calendar app.
750
729
 
751
730
  **Platform:** Android, iOS
752
731
 
753
- --------------------
754
-
732
+ ---
755
733
 
756
734
  ### createCalendar(...)
757
735
 
@@ -774,8 +752,7 @@ On Android, `accountName` and `ownerAccount` are required at runtime.
774
752
 
775
753
  **Platform:** Android, iOS
776
754
 
777
- --------------------
778
-
755
+ ---
779
756
 
780
757
  ### deleteCalendar(...)
781
758
 
@@ -793,8 +770,7 @@ Deletes a calendar by id.
793
770
 
794
771
  **Platform:** Android, iOS
795
772
 
796
- --------------------
797
-
773
+ ---
798
774
 
799
775
  ### modifyCalendar(...)
800
776
 
@@ -812,8 +788,7 @@ Modifies a calendar with options.
812
788
 
813
789
  **Platform:** Android, iOS
814
790
 
815
- --------------------
816
-
791
+ ---
817
792
 
818
793
  ### createRemindersList(...)
819
794
 
@@ -833,8 +808,7 @@ Creates a new reminders list.
833
808
 
834
809
  **Platform:** iOS
835
810
 
836
- --------------------
837
-
811
+ ---
838
812
 
839
813
  ### deleteRemindersList(...)
840
814
 
@@ -852,8 +826,7 @@ Deletes a reminders list.
852
826
 
853
827
  **Platform:** iOS
854
828
 
855
- --------------------
856
-
829
+ ---
857
830
 
858
831
  ### fetchAllRemindersSources()
859
832
 
@@ -869,8 +842,7 @@ Retrieves a list of calendar sources.
869
842
 
870
843
  **Platform:** iOS
871
844
 
872
- --------------------
873
-
845
+ ---
874
846
 
875
847
  ### openReminders()
876
848
 
@@ -884,8 +856,7 @@ Opens the reminders app.
884
856
 
885
857
  **Platform:** iOS
886
858
 
887
- --------------------
888
-
859
+ ---
889
860
 
890
861
  ### getDefaultRemindersList()
891
862
 
@@ -901,8 +872,7 @@ Retrieves the default reminders list.
901
872
 
902
873
  **Platform:** iOS
903
874
 
904
- --------------------
905
-
875
+ ---
906
876
 
907
877
  ### getRemindersLists()
908
878
 
@@ -918,8 +888,7 @@ Retrieves all available reminders lists.
918
888
 
919
889
  **Platform:** iOS
920
890
 
921
- --------------------
922
-
891
+ ---
923
892
 
924
893
  ### createReminder(...)
925
894
 
@@ -939,8 +908,7 @@ Creates a reminder.
939
908
 
940
909
  **Platform:** iOS
941
910
 
942
- --------------------
943
-
911
+ ---
944
912
 
945
913
  ### deleteRemindersById(...)
946
914
 
@@ -960,8 +928,7 @@ Deletes multiple reminders.
960
928
 
961
929
  **Platform:** iOS
962
930
 
963
- --------------------
964
-
931
+ ---
965
932
 
966
933
  ### deleteReminder(...)
967
934
 
@@ -979,8 +946,7 @@ Deletes a reminder.
979
946
 
980
947
  **Platform:** iOS
981
948
 
982
- --------------------
983
-
949
+ ---
984
950
 
985
951
  ### modifyReminder(...)
986
952
 
@@ -998,8 +964,7 @@ Modifies a reminder.
998
964
 
999
965
  **Platform:** iOS
1000
966
 
1001
- --------------------
1002
-
967
+ ---
1003
968
 
1004
969
  ### getReminderById(...)
1005
970
 
@@ -1019,8 +984,7 @@ Retrieve a reminder by ID.
1019
984
 
1020
985
  **Platform:** iOS
1021
986
 
1022
- --------------------
1023
-
987
+ ---
1024
988
 
1025
989
  ### getRemindersFromLists(...)
1026
990
 
@@ -1040,8 +1004,7 @@ Retrieves reminders from multiple lists.
1040
1004
 
1041
1005
  **Platform:** iOS
1042
1006
 
1043
- --------------------
1044
-
1007
+ ---
1045
1008
 
1046
1009
  ### deleteReminderWithPrompt(...)
1047
1010
 
@@ -1061,8 +1024,7 @@ Opens a dialog to delete a reminder.
1061
1024
 
1062
1025
  **Platform:** iOS
1063
1026
 
1064
- --------------------
1065
-
1027
+ ---
1066
1028
 
1067
1029
  ### updateRemindersList(...)
1068
1030
 
@@ -1082,12 +1044,10 @@ Update a reminders list with options.
1082
1044
 
1083
1045
  **Platform:** iOS
1084
1046
 
1085
- --------------------
1086
-
1047
+ ---
1087
1048
 
1088
1049
  ### Interfaces
1089
1050
 
1090
-
1091
1051
  #### CheckPermissionOptions
1092
1052
 
1093
1053
  Options for {@link CalendarAccess#checkPermission}.
@@ -1096,7 +1056,6 @@ Options for {@link CalendarAccess#checkPermission}.
1096
1056
  | ----------- | --------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------------ |
1097
1057
  | **`scope`** | <code><a href="#calendarpermissionscope">CalendarPermissionScope</a></code> | The permission scope to check. On Android, `readReminders` and `writeReminders` resolve to `"prompt"` (reminders are not supported on Android). | 8.3.1 | Android, iOS |
1098
1058
 
1099
-
1100
1059
  #### RequestPermissionOptions
1101
1060
 
1102
1061
  Options for {@link CalendarAccess#requestPermission}.
@@ -1105,14 +1064,12 @@ Options for {@link CalendarAccess#requestPermission}.
1105
1064
  | ----------- | --------------------------------------------------------------------------- | -------------------------------- | ----- | ------------ |
1106
1065
  | **`scope`** | <code><a href="#calendarpermissionscope">CalendarPermissionScope</a></code> | The permission scope to request. | 8.3.1 | Android, iOS |
1107
1066
 
1108
-
1109
1067
  #### CreateEventWithPromptResult
1110
1068
 
1111
1069
  | Prop | Type | Description | Since | Platform |
1112
1070
  | -------- | --------------------------- | -------------------------------------------------------------------------------------------------- | ----- | ------------ |
1113
1071
  | **`id`** | <code>string \| null</code> | The identifier of the created event. Always `null` on Android. Present on iOS when the user saves. | 0.1.0 | Android, iOS |
1114
1072
 
1115
-
1116
1073
  #### CreateEventWithPromptOptions
1117
1074
 
1118
1075
  | Prop | Type | Description | Since | Platform |
@@ -1130,7 +1087,6 @@ Options for {@link CalendarAccess#requestPermission}.
1130
1087
  | **`title`** | <code>string</code> | | 0.1.0 | Android, iOS |
1131
1088
  | **`url`** | <code>string</code> | | 0.1.0 | iOS |
1132
1089
 
1133
-
1134
1090
  #### EventRecurrenceRule
1135
1091
 
1136
1092
  | Prop | Type | Description | Default | Since | Platform |
@@ -1145,7 +1101,6 @@ Options for {@link CalendarAccess#requestPermission}.
1145
1101
  | **`interval`** | <code>number</code> | The interval between recurrences. Use in combination with `frequency`. For example, a weekly event with an interval of 2, results in the event occurring every 2 weeks. | <code>1</code> | 7.3.0 | Android, iOS |
1146
1102
  | **`weeksOfTheYear`** | <code>number[]</code> | Limits a yearly recurrence to specific ISO week numbers (1 to 53). | | 7.3.0 | iOS |
1147
1103
 
1148
-
1149
1104
  #### ModifyEventWithPromptOptions
1150
1105
 
1151
1106
  | Prop | Type | Description | Since | Platform |
@@ -1164,14 +1119,12 @@ Options for {@link CalendarAccess#requestPermission}.
1164
1119
  | **`url`** | <code>string</code> | | 0.1.0 | iOS |
1165
1120
  | **`id`** | <code>string</code> | The ID of the event to be modified. | 7.1.0 | Android, iOS |
1166
1121
 
1167
-
1168
1122
  #### CreateEventResult
1169
1123
 
1170
- | Prop | Type | Description | Since | Platform |
1171
- | --------- | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------------ |
1172
- | **`ics`** | <code>File</code> | An `.ics` file (`text/calendar`) with one `VEVENT`. Present only on Web. The plugin does not write to a calendar store or start a download; use `downloadIcsFile(...)` or pass the `File` to another API. | 8.5.0 | Web |
1173
- | **`id`** | <code>string \| null</code> | The identifier of the created event. Always `null` on Web. Present on Android and iOS after a successful create. | 0.4.0 | Android, iOS |
1174
-
1124
+ | Prop | Type | Description | Since | Platform |
1125
+ | --------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----- | ------------ |
1126
+ | **`ics`** | <code>File \| null</code> | An `.ics` file (`text/calendar`) with one `VEVENT`. Always `null` on Android and iOS. On Web, the plugin does not write to a calendar store or start a download; use `downloadIcsFile(...)` or pass the `File` to another API. | 8.5.0 | Web |
1127
+ | **`id`** | <code>string \| null</code> | The identifier of the created event. Always `null` on Web. Present on Android and iOS after a successful create. | 0.4.0 | Android, iOS |
1175
1128
 
1176
1129
  #### CreateEventOptions
1177
1130
 
@@ -1195,7 +1148,6 @@ Options for {@link CalendarAccess#requestPermission}.
1195
1148
  | **`title`** | <code>string</code> | | | 0.4.0 | Android, iOS, Web |
1196
1149
  | **`url`** | <code>string</code> | | | 0.1.0 | iOS, Web |
1197
1150
 
1198
-
1199
1151
  #### EventGuest
1200
1152
 
1201
1153
  | Prop | Type | Since |
@@ -1203,7 +1155,6 @@ Options for {@link CalendarAccess#requestPermission}.
1203
1155
  | **`name`** | <code>string</code> | 7.1.0 |
1204
1156
  | **`email`** | <code>string</code> | 7.1.0 |
1205
1157
 
1206
-
1207
1158
  #### ModifyEventOptions
1208
1159
 
1209
1160
  | Prop | Type | Description | Default | Since | Platform |
@@ -1226,7 +1177,6 @@ Options for {@link CalendarAccess#requestPermission}.
1226
1177
  | **`title`** | <code>string</code> | | | 0.4.0 | Android, iOS |
1227
1178
  | **`url`** | <code>string</code> | | | 0.1.0 | iOS |
1228
1179
 
1229
-
1230
1180
  #### DeleteEventsByIdResult
1231
1181
 
1232
1182
  | Prop | Type | Since |
@@ -1234,7 +1184,6 @@ Options for {@link CalendarAccess#requestPermission}.
1234
1184
  | **`deleted`** | <code>string[]</code> | 7.1.0 |
1235
1185
  | **`failed`** | <code>string[]</code> | 7.1.0 |
1236
1186
 
1237
-
1238
1187
  #### DeleteEventsByIdOptions
1239
1188
 
1240
1189
  | Prop | Type | Description | Default | Since | Platform |
@@ -1243,7 +1192,6 @@ Options for {@link CalendarAccess#requestPermission}.
1243
1192
  | **`ids`** | <code>string[]</code> | | | 7.1.0 | |
1244
1193
  | **`span`** | <code><a href="#eventspan">EventSpan</a></code> | How much of a recurring series to delete. On Android, `THIS_EVENT` cannot target a single recurring occurrence here — use `deleteEvent` with `instanceDate`. Those ids are reported in `failed`. | <code>EventSpan.THIS_EVENT</code> | 7.1.0 | Android, iOS |
1245
1194
 
1246
-
1247
1195
  #### DeleteEventOptions
1248
1196
 
1249
1197
  | Prop | Type | Description | Default | Since | Platform |
@@ -1253,7 +1201,6 @@ Options for {@link CalendarAccess#requestPermission}.
1253
1201
  | **`instanceDate`** | <code>number</code> | The start time of the occurrence to delete, in milliseconds since the epoch. Use `startDate` from `listEventsInRange`. On Android, required for `THIS_EVENT` on recurring events. If omitted with `THIS_AND_FUTURE_EVENTS`, the whole series is deleted. | | 8.3.0 | Android |
1254
1202
  | **`span`** | <code><a href="#eventspan">EventSpan</a></code> | How much of a recurring series to delete. | <code>EventSpan.THIS_EVENT</code> | 7.1.0 | Android, iOS |
1255
1203
 
1256
-
1257
1204
  #### DeleteEventWithPromptOptions
1258
1205
 
1259
1206
  | Prop | Type | Description | Default | Since | Platform |
@@ -1267,33 +1214,41 @@ Options for {@link CalendarAccess#requestPermission}.
1267
1214
  | **`span`** | <code><a href="#eventspan">EventSpan</a></code> | How much of a recurring series to delete. | <code>EventSpan.THIS_EVENT</code> | 7.1.0 | Android, iOS |
1268
1215
  | **`title`** | <code>string</code> | Title of the dialog. | | 7.1.0 | Android, iOS |
1269
1216
 
1217
+ #### ListEventsInRangeResult
1270
1218
 
1271
- #### CalendarEvent
1219
+ | Prop | Type | Description | Since | Platform |
1220
+ | ------------ | ---------------------------- | ---------------------------------------- | ----- | ------------ |
1221
+ | **`result`** | <code>CalendarEvent[]</code> | Events that overlap the requested range. | 8.6.0 | Android, iOS |
1272
1222
 
1273
- | Prop | Type | Description | Since | Platform |
1274
- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- | ----- | ------------ |
1275
- | **`id`** | <code>string</code> | | 7.1.0 | Android, iOS |
1276
- | **`title`** | <code>string</code> | | 7.1.0 | Android, iOS |
1277
- | **`calendarId`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1278
- | **`location`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1279
- | **`startDate`** | <code>number</code> | | 7.1.0 | Android, iOS |
1280
- | **`endDate`** | <code>number</code> | | 7.1.0 | Android, iOS |
1281
- | **`isAllDay`** | <code>boolean</code> | | 7.1.0 | Android, iOS |
1282
- | **`alerts`** | <code>number[]</code> | Alert times in minutes relative to the event start. | 7.1.0 | Android, iOS |
1283
- | **`url`** | <code>string \| null</code> | | 7.1.0 | iOS |
1284
- | **`description`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1285
- | **`availability`** | <code><a href="#eventavailability">EventAvailability</a> \| null</code> | | 7.1.0 | Android, iOS |
1286
- | **`organizer`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1287
- | **`color`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1288
- | **`duration`** | <code>string \| null</code> | | 7.1.0 | Android |
1289
- | **`isDetached`** | <code>boolean \| null</code> | | 7.1.0 | iOS |
1290
- | **`birthdayContactIdentifier`** | <code>string \| null</code> | | 7.1.0 | iOS |
1291
- | **`status`** | <code><a href="#eventstatus">EventStatus</a> \| null</code> | | 7.1.0 | Android, iOS |
1292
- | **`creationDate`** | <code>number \| null</code> | | 7.1.0 | iOS |
1293
- | **`lastModifiedDate`** | <code>number \| null</code> | | 7.1.0 | iOS |
1294
- | **`attendees`** | <code>{ email: string \| null; name: string \| null; role: <a href="#attendeerole">AttendeeRole</a> \| null; status: <a href="#attendeestatus">AttendeeStatus</a> \| null; type: <a href="#attendeetype">AttendeeType</a> \| null; }[]</code> | | 7.1.0 | Android, iOS |
1295
- | **`timezone`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1223
+ #### CalendarEvent
1296
1224
 
1225
+ | Prop | Type | Description | Since | Platform |
1226
+ | ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------------ |
1227
+ | **`alerts`** | <code>number[]</code> | Alert times in minutes relative to the event start. | 7.1.0 | Android, iOS |
1228
+ | **`attendees`** | <code>{ email: string \| null; name: string \| null; role: <a href="#attendeerole">AttendeeRole</a> \| null; status: <a href="#attendeestatus">AttendeeStatus</a> \| null; type: <a href="#attendeetype">AttendeeType</a> \| null; }[]</code> | | 7.1.0 | Android, iOS |
1229
+ | **`availability`** | <code><a href="#eventavailability">EventAvailability</a> \| null</code> | | 7.1.0 | Android, iOS |
1230
+ | **`birthdayContactIdentifier`** | <code>string \| null</code> | | 7.1.0 | iOS |
1231
+ | **`calendarId`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1232
+ | **`calendarItemExternalIdentifier`** | <code>string \| null</code> | A stable external id for this calendar item. On iOS this is set when the system provides it. On Android and web it is always `null`. Use `masterId` on Android for the series master id. Do not treat this field as the same as `masterId`. They identify different things on different platforms. For non-detached occurrences of a series, this value is shared across those occurrences. On one device, `id` is often already shared for them. This field is mainly useful as a stable id across devices. Detached exceptions usually get a new identifier. You cannot find the original series from this value. Use `isDetached` and `isPartOfSeries` instead. Do not pass this value where the plugin expects an event `id`. | 8.6.0 | iOS |
1233
+ | **`color`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1234
+ | **`creationDate`** | <code>number \| null</code> | | 7.1.0 | iOS |
1235
+ | **`description`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1236
+ | **`duration`** | <code>string \| null</code> | | 7.1.0 | Android |
1237
+ | **`endDate`** | <code>number</code> | | 7.1.0 | Android, iOS |
1238
+ | **`id`** | <code>string</code> | | 7.1.0 | Android, iOS |
1239
+ | **`isAllDay`** | <code>boolean</code> | | 7.1.0 | Android, iOS |
1240
+ | **`isDetached`** | <code>boolean \| null</code> | | 7.1.0 | iOS |
1241
+ | **`isPartOfSeries`** | <code>boolean</code> | Whether this event belongs to a recurring series. `true` for series occurrences and detached exceptions. `false` for one-off events. Detached exceptions also set `isDetached` (iOS only). | 8.6.0 | Android, iOS |
1242
+ | **`lastModifiedDate`** | <code>number \| null</code> | | 7.1.0 | iOS |
1243
+ | **`location`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1244
+ | **`masterId`** | <code>string \| null</code> | The id of the series master for this listed occurrence. On Android this is always a string. On iOS and web it is always `null`. iOS has no public master event id. Use `calendarItemExternalIdentifier` on iOS instead. Do not treat this field as the same as `calendarItemExternalIdentifier`. They identify different things on different platforms. If this row is the master or a one-shot event, `masterId` equals `id`. If this row is an exception, `id` is the exception and `masterId` is the series master. To modify or delete the whole series, pass `masterId` as the `id` option. You still need `span` and `instanceDate` when those APIs require them. In rare sync cases, an exception may temporarily report `masterId` equal to `id` until the platform links it to the series master. | 8.6.0 | Android |
1245
+ | **`organizer`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1246
+ | **`seriesStartDate`** | <code>number</code> | Start time of the recurring series, in milliseconds since the epoch. Equals `startDate` for one-off events. On iOS, equals `startDate` when the series start is not available for a detached exception. | 8.6.0 | Android, iOS |
1247
+ | **`startDate`** | <code>number</code> | | 7.1.0 | Android, iOS |
1248
+ | **`status`** | <code><a href="#eventstatus">EventStatus</a> \| null</code> | | 7.1.0 | Android, iOS |
1249
+ | **`timezone`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1250
+ | **`title`** | <code>string</code> | | 7.1.0 | Android, iOS |
1251
+ | **`url`** | <code>string \| null</code> | | 7.1.0 | iOS |
1297
1252
 
1298
1253
  #### ListEventsInRangeOptions
1299
1254
 
@@ -1302,14 +1257,12 @@ Options for {@link CalendarAccess#requestPermission}.
1302
1257
  | **`from`** | <code>number</code> | The start of the range, in milliseconds since the epoch. Events still in progress at this time are included. | 7.1.0 |
1303
1258
  | **`to`** | <code>number</code> | The end of the range, in milliseconds since the epoch. Events that begin at or after this time are typically excluded; prefer the next day's start when querying a single calendar day. | 7.1.0 |
1304
1259
 
1305
-
1306
1260
  #### SelectCalendarsWithPromptResult
1307
1261
 
1308
1262
  | Prop | Type | Description | Since | Platform |
1309
1263
  | ------------ | ----------------------- | ------------------------------------------------------------------------- | ----- | -------- |
1310
1264
  | **`result`** | <code>Calendar[]</code> | Calendars the user confirmed in the chooser. Empty when the user cancels. | 8.4.0 | iOS |
1311
1265
 
1312
-
1313
1266
  #### Calendar
1314
1267
 
1315
1268
  | Prop | Type | Description | Since | Platform |
@@ -1329,7 +1282,6 @@ Options for {@link CalendarAccess#requestPermission}.
1329
1282
  | **`maxReminders`** | <code>number \| null</code> | Maximum number of reminders allowed per event. | 7.1.0 | Android |
1330
1283
  | **`location`** | <code>string \| null</code> | | 7.1.0 | Android |
1331
1284
 
1332
-
1333
1285
  #### CalendarSource
1334
1286
 
1335
1287
  | Prop | Type | Since | Platform |
@@ -1338,7 +1290,6 @@ Options for {@link CalendarAccess#requestPermission}.
1338
1290
  | **`id`** | <code>string</code> | 7.1.0 | iOS |
1339
1291
  | **`title`** | <code>string</code> | 7.1.0 | iOS |
1340
1292
 
1341
-
1342
1293
  #### SelectCalendarsWithPromptOptions
1343
1294
 
1344
1295
  | Prop | Type | Description | Default | Since |
@@ -1346,42 +1297,36 @@ Options for {@link CalendarAccess#requestPermission}.
1346
1297
  | **`displayStyle`** | <code><a href="#calendarchooserdisplaystyle">CalendarChooserDisplayStyle</a></code> | | <code>CalendarChooserDisplayStyle.ALL_CALENDARS</code> | 7.1.0 |
1347
1298
  | **`multiple`** | <code>boolean</code> | Allow multiple selections. | <code>false</code> | 7.1.0 |
1348
1299
 
1349
-
1350
1300
  #### FetchAllCalendarSourcesResult
1351
1301
 
1352
1302
  | Prop | Type | Description | Since | Platform |
1353
1303
  | ------------ | ----------------------------- | -------------------------------------------------- | ----- | -------- |
1354
1304
  | **`result`** | <code>CalendarSource[]</code> | All calendar sources (accounts) known to EventKit. | 8.4.0 | iOS |
1355
1305
 
1356
-
1357
1306
  #### ListCalendarsResult
1358
1307
 
1359
1308
  | Prop | Type | Description | Since | Platform |
1360
1309
  | ------------ | ----------------------- | ------------------------ | ----- | ------------ |
1361
1310
  | **`result`** | <code>Calendar[]</code> | All available calendars. | 8.4.0 | Android, iOS |
1362
1311
 
1363
-
1364
1312
  #### GetDefaultCalendarOptions
1365
1313
 
1366
1314
  | Prop | Type | Description | Default | Since | Platform |
1367
1315
  | ------------------------- | -------------------- | --------------------------------------------------------------------------- | ------------------ | ----- | ------------ |
1368
1316
  | **`useFallbackCalendar`** | <code>boolean</code> | When there is no system default calendar, use the first available calendar. | <code>false</code> | 8.4.0 | Android, iOS |
1369
1317
 
1370
-
1371
1318
  #### OpenCalendarOptions
1372
1319
 
1373
1320
  | Prop | Type | Description | Default | Since | Platform |
1374
1321
  | ---------- | ------------------- | ------------------------------------------------------------------ | ----------------------- | ----- | ------------ |
1375
1322
  | **`date`** | <code>number</code> | The date to open the calendar at, in milliseconds since the epoch. | <code>Date.now()</code> | 7.1.0 | Android, iOS |
1376
1323
 
1377
-
1378
1324
  #### CreateCalendarResult
1379
1325
 
1380
1326
  | Prop | Type | Description | Since | Platform |
1381
1327
  | -------- | ------------------- | ----------------------------------------- | ----- | ------------ |
1382
1328
  | **`id`** | <code>string</code> | Identifier of the newly created calendar. | 8.4.0 | Android, iOS |
1383
1329
 
1384
-
1385
1330
  #### CreateCalendarOptions
1386
1331
 
1387
1332
  | Prop | Type | Description | Default | Since | Platform |
@@ -1392,14 +1337,12 @@ Options for {@link CalendarAccess#requestPermission}.
1392
1337
  | **`accountName`** | <code>string</code> | The account under which the calendar is registered. Required on Android. Typically an email address. | | 7.1.0 | Android |
1393
1338
  | **`ownerAccount`** | <code>string</code> | The owner of the calendar. Required on Android. Typically an email address. | | 7.1.0 | Android |
1394
1339
 
1395
-
1396
1340
  #### DeleteCalendarOptions
1397
1341
 
1398
1342
  | Prop | Type | Since | Platform |
1399
1343
  | -------- | ------------------- | ----- | ------------ |
1400
1344
  | **`id`** | <code>string</code> | 7.1.0 | Android, iOS |
1401
1345
 
1402
-
1403
1346
  #### ModifyCalendarOptions
1404
1347
 
1405
1348
  | Prop | Type | Description | Since | Platform |
@@ -1408,14 +1351,12 @@ Options for {@link CalendarAccess#requestPermission}.
1408
1351
  | **`title`** | <code>string</code> | Display title of the calendar. On Android this updates both `CALENDAR_DISPLAY_NAME` (`title`) and `Calendars.NAME` (`internalTitle`). | 7.2.0 | Android, iOS |
1409
1352
  | **`color`** | <code>string</code> | The color of the calendar as `#RRGGBB` or `#RRGGBBAA`. | 7.2.0 | Android, iOS |
1410
1353
 
1411
-
1412
1354
  #### CreateRemindersListResult
1413
1355
 
1414
1356
  | Prop | Type | Description | Since | Platform |
1415
1357
  | -------- | ------------------- | ----------------------------------------------- | ----- | -------- |
1416
1358
  | **`id`** | <code>string</code> | Identifier of the newly created reminders list. | 8.1.0 | iOS |
1417
1359
 
1418
-
1419
1360
  #### CreateRemindersListOptions
1420
1361
 
1421
1362
  | Prop | Type | Description | Default | Since | Platform |
@@ -1425,7 +1366,6 @@ Options for {@link CalendarAccess#requestPermission}.
1425
1366
  | **`sourceId`** | <code>string</code> | The EKSource identifier (account) where the list should be created. If left undefined, iCloud will be used if available, otherwise falls back to local. | | 8.1.0 | iOS |
1426
1367
  | **`title`** | <code>string</code> | The title of the list. | | 8.1.0 | iOS |
1427
1368
 
1428
-
1429
1369
  #### DeleteRemindersListOptions
1430
1370
 
1431
1371
  | Prop | Type | Description | Default | Since | Platform |
@@ -1433,7 +1373,6 @@ Options for {@link CalendarAccess#requestPermission}.
1433
1373
  | **`commit`** | <code>boolean</code> | Whether to save the deletion to the event store immediately. Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually. | <code>true</code> | 8.2.0 | iOS |
1434
1374
  | **`id`** | <code>string</code> | Identifier of the reminders list to delete. | | 8.2.0 | iOS |
1435
1375
 
1436
-
1437
1376
  #### CreateReminderOptions
1438
1377
 
1439
1378
  | Prop | Type | Description | Since |
@@ -1451,7 +1390,6 @@ Options for {@link CalendarAccess#requestPermission}.
1451
1390
  | **`recurrence`** | <code><a href="#recurrencerule">RecurrenceRule</a></code> | | 7.1.0 |
1452
1391
  | **`alerts`** | <code>number[]</code> | Alert times in minutes relative to the reminder start. Use negative numbers for alerts before the start, and positive numbers for alerts after the start. | 7.1.0 |
1453
1392
 
1454
-
1455
1393
  #### RecurrenceRule
1456
1394
 
1457
1395
  | Prop | Type | Description | Since |
@@ -1460,7 +1398,6 @@ Options for {@link CalendarAccess#requestPermission}.
1460
1398
  | **`interval`** | <code>number</code> | How often it repeats (e.g. 1 for every occurrence, 2 for every second occurrence). | 7.1.0 |
1461
1399
  | **`end`** | <code>number</code> | Timestamp of when the recurrence ends. | 7.1.0 |
1462
1400
 
1463
-
1464
1401
  #### DeleteRemindersByIdResult
1465
1402
 
1466
1403
  | Prop | Type | Since |
@@ -1468,21 +1405,18 @@ Options for {@link CalendarAccess#requestPermission}.
1468
1405
  | **`deleted`** | <code>string[]</code> | 7.1.0 |
1469
1406
  | **`failed`** | <code>string[]</code> | 7.1.0 |
1470
1407
 
1471
-
1472
1408
  #### DeleteRemindersByIdOptions
1473
1409
 
1474
1410
  | Prop | Type | Since |
1475
1411
  | --------- | --------------------- | ----- |
1476
1412
  | **`ids`** | <code>string[]</code> | 7.1.0 |
1477
1413
 
1478
-
1479
1414
  #### DeleteReminderOptions
1480
1415
 
1481
1416
  | Prop | Type | Since |
1482
1417
  | -------- | ------------------- | ----- |
1483
1418
  | **`id`** | <code>string</code> | 7.1.0 |
1484
1419
 
1485
-
1486
1420
  #### ModifyReminderOptions
1487
1421
 
1488
1422
  | Prop | Type | Description | Since |
@@ -1501,7 +1435,6 @@ Options for {@link CalendarAccess#requestPermission}.
1501
1435
  | **`recurrence`** | <code><a href="#recurrencerule">RecurrenceRule</a></code> | | 7.1.0 |
1502
1436
  | **`alerts`** | <code>number[]</code> | Alert times in minutes relative to the reminder start. Use negative numbers for alerts before the start, and positive numbers for alerts after the start. On iOS only 2 alerts are supported. | 7.1.0 |
1503
1437
 
1504
-
1505
1438
  #### Reminder
1506
1439
 
1507
1440
  | Prop | Type | Since |
@@ -1520,21 +1453,18 @@ Options for {@link CalendarAccess#requestPermission}.
1520
1453
  | **`recurrence`** | <code>RecurrenceRule[]</code> | 7.1.0 |
1521
1454
  | **`alerts`** | <code>number[]</code> | 7.1.0 |
1522
1455
 
1523
-
1524
1456
  #### GetReminderByIdOptions
1525
1457
 
1526
1458
  | Prop | Type | Since |
1527
1459
  | -------- | ------------------- | ----- |
1528
1460
  | **`id`** | <code>string</code> | 7.1.0 |
1529
1461
 
1530
-
1531
1462
  #### GetRemindersFromListsOptions
1532
1463
 
1533
1464
  | Prop | Type | Since |
1534
1465
  | ------------- | --------------------- | ----- |
1535
1466
  | **`listIds`** | <code>string[]</code> | 7.1.0 |
1536
1467
 
1537
-
1538
1468
  #### DeleteReminderWithPromptOptions
1539
1469
 
1540
1470
  | Prop | Type | Description | Default | Since |
@@ -1545,14 +1475,12 @@ Options for {@link CalendarAccess#requestPermission}.
1545
1475
  | **`confirmButtonText`** | <code>string</code> | Text to show on the confirm button. | <code>'Delete'</code> | 7.2.0 |
1546
1476
  | **`cancelButtonText`** | <code>string</code> | Text to show on the cancel button. | <code>'Cancel'</code> | 7.2.0 |
1547
1477
 
1548
-
1549
1478
  #### UpdateRemindersListResult
1550
1479
 
1551
1480
  | Prop | Type | Description | Since | Platform |
1552
1481
  | -------- | ------------------- | ----------------------------------------- | ----- | -------- |
1553
1482
  | **`id`** | <code>string</code> | Identifier of the updated reminders list. | 8.2.0 | iOS |
1554
1483
 
1555
-
1556
1484
  #### UpdateRemindersListOptions
1557
1485
 
1558
1486
  | Prop | Type | Description | Default | Since | Platform |
@@ -1562,50 +1490,49 @@ Options for {@link CalendarAccess#requestPermission}.
1562
1490
  | **`id`** | <code>string</code> | The identifier of the list to update. | | 8.2.0 | iOS |
1563
1491
  | **`title`** | <code>string</code> | The new title of the list. If omitted, the title is left unchanged. | | 8.2.0 | iOS |
1564
1492
 
1565
-
1566
1493
  ### Type Aliases
1567
1494
 
1568
-
1569
1495
  #### PermissionState
1570
1496
 
1571
1497
  <code>'prompt' | 'prompt-with-rationale' | 'granted' | 'denied'</code>
1572
1498
 
1573
-
1574
1499
  #### CheckAllPermissionsResult
1575
1500
 
1576
- <code><a href="#record">Record</a>&lt;<a href="#calendarpermissionscope">CalendarPermissionScope</a>, <a href="#permissionstate">PermissionState</a>&gt;</code>
1577
-
1501
+ <code>
1502
+ <a href="#record">Record</a>&lt;<a href="#calendarpermissionscope">CalendarPermissionScope</a>,{' '}
1503
+ <a href="#permissionstate">PermissionState</a>&gt;
1504
+ </code>
1578
1505
 
1579
1506
  #### Record
1580
1507
 
1581
1508
  Construct a type with a set of properties K of type T
1582
1509
 
1583
- <code>{
1584
1510
  [P in K]: T;
1585
1511
  }</code>
1586
-
1512
+ <code>{
1513
+ [P in K]: T;
1514
+ }</code>
1587
1515
 
1588
1516
  #### RequestAllPermissionsResult
1589
1517
 
1590
- <code><a href="#checkallpermissionsresult">CheckAllPermissionsResult</a></code>
1591
-
1518
+ <code>
1519
+ <a href="#checkallpermissionsresult">CheckAllPermissionsResult</a>
1520
+ </code>
1592
1521
 
1593
1522
  #### RecurrenceFrequency
1594
1523
 
1595
1524
  <code>'daily' | 'weekly' | 'monthly' | 'yearly'</code>
1596
1525
 
1597
-
1598
1526
  #### EventEditAction
1599
1527
 
1600
1528
  <code>'canceled' | 'saved' | 'deleted'</code>
1601
1529
 
1602
-
1603
1530
  #### RemindersList
1604
1531
 
1605
- <code><a href="#calendar">Calendar</a></code>
1606
-
1532
+ <code>
1533
+ <a href="#calendar">Calendar</a>
1534
+ </code>
1607
1535
 
1608
1536
  ### Enums
1609
1537
 
1610
-
1611
1538
  #### CalendarPermissionScope
1612
1539
 
1613
1540
  | Members | Value | Description | Since | Platform |
@@ -1615,7 +1542,6 @@ Construct a type with a set of properties K of type T
1615
1542
  | **`WRITE_CALENDAR`** | <code>'writeCalendar'</code> | Permission required for adding or modifying calendar events. | 7.1.0 | Android, iOS |
1616
1543
  | **`WRITE_REMINDERS`** | <code>'writeReminders'</code> | Permission required for adding or modifying reminders. On Android, reminders are not supported. `checkPermission` and `checkAllPermissions` return `"prompt"` for this scope. `requestPermission` rejects with `Invalid scope.`. | 7.1.0 | iOS |
1617
1544
 
1618
-
1619
1545
  #### EventAvailability
1620
1546
 
1621
1547
  | Members | Value | Since | Platform |
@@ -1626,7 +1552,6 @@ Construct a type with a set of properties K of type T
1626
1552
  | **`TENTATIVE`** | | 7.1.0 | Android, iOS |
1627
1553
  | **`UNAVAILABLE`** | | 7.1.0 | iOS |
1628
1554
 
1629
-
1630
1555
  #### EventSpan
1631
1556
 
1632
1557
  | Members | Description | Since |
@@ -1634,17 +1559,6 @@ Construct a type with a set of properties K of type T
1634
1559
  | **`THIS_EVENT`** | Only the identified event or occurrence. | 7.1.0 |
1635
1560
  | **`THIS_AND_FUTURE_EVENTS`** | The identified occurrence and future occurrences in the series. | 7.1.0 |
1636
1561
 
1637
-
1638
- #### EventStatus
1639
-
1640
- | Members | Value | Since | Platform |
1641
- | --------------- | ------------------------ | ----- | ------------ |
1642
- | **`NONE`** | <code>'none'</code> | 7.1.0 | iOS |
1643
- | **`CONFIRMED`** | <code>'confirmed'</code> | 7.1.0 | Android, iOS |
1644
- | **`TENTATIVE`** | <code>'tentative'</code> | 7.1.0 | Android, iOS |
1645
- | **`CANCELED`** | <code>'canceled'</code> | 7.1.0 | Android, iOS |
1646
-
1647
-
1648
1562
  #### AttendeeRole
1649
1563
 
1650
1564
  | Members | Value | Since | Platform |
@@ -1659,7 +1573,6 @@ Construct a type with a set of properties K of type T
1659
1573
  | **`PERFORMER`** | <code>'performer'</code> | 7.1.0 | Android |
1660
1574
  | **`SPEAKER`** | <code>'speaker'</code> | 7.1.0 | Android |
1661
1575
 
1662
-
1663
1576
  #### AttendeeStatus
1664
1577
 
1665
1578
  | Members | Value | Since | Platform |
@@ -1675,7 +1588,6 @@ Construct a type with a set of properties K of type T
1675
1588
  | **`COMPLETED`** | <code>'completed'</code> | 7.1.0 | iOS |
1676
1589
  | **`IN_PROCESS`** | <code>'inProcess'</code> | 7.1.0 | iOS |
1677
1590
 
1678
-
1679
1591
  #### AttendeeType
1680
1592
 
1681
1593
  | Members | Value | Since | Platform |
@@ -1689,6 +1601,14 @@ Construct a type with a set of properties K of type T
1689
1601
  | **`NONE`** | <code>'none'</code> | 7.1.0 | Android |
1690
1602
  | **`OPTIONAL`** | <code>'optional'</code> | 7.1.0 | Android |
1691
1603
 
1604
+ #### EventStatus
1605
+
1606
+ | Members | Value | Since | Platform |
1607
+ | --------------- | ------------------------ | ----- | ------------ |
1608
+ | **`NONE`** | <code>'none'</code> | 7.1.0 | iOS |
1609
+ | **`CONFIRMED`** | <code>'confirmed'</code> | 7.1.0 | Android, iOS |
1610
+ | **`TENTATIVE`** | <code>'tentative'</code> | 7.1.0 | Android, iOS |
1611
+ | **`CANCELED`** | <code>'canceled'</code> | 7.1.0 | Android, iOS |
1692
1612
 
1693
1613
  #### CalendarType
1694
1614
 
@@ -1700,7 +1620,6 @@ Construct a type with a set of properties K of type T
1700
1620
  | **`SUBSCRIPTION`** | 7.1.0 |
1701
1621
  | **`BIRTHDAY`** | 7.1.0 |
1702
1622
 
1703
-
1704
1623
  #### CalendarSourceType
1705
1624
 
1706
1625
  | Members | Since |
@@ -1712,7 +1631,6 @@ Construct a type with a set of properties K of type T
1712
1631
  | **`SUBSCRIBED`** | 7.1.0 |
1713
1632
  | **`BIRTHDAYS`** | 7.1.0 |
1714
1633
 
1715
-
1716
1634
  #### CalendarChooserDisplayStyle
1717
1635
 
1718
1636
  | Members | Since |