@ebarooni/capacitor-calendar 8.4.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 (42) hide show
  1. package/README.md +179 -241
  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 +380 -156
  7. package/dist/esm/index.d.ts +6 -2
  8. package/dist/esm/index.js +2 -1
  9. package/dist/esm/index.js.map +1 -1
  10. package/dist/esm/schemas/interfaces/calendar-event.d.ts +140 -67
  11. package/dist/esm/schemas/interfaces/calendar-event.js.map +1 -1
  12. package/dist/esm/schemas/interfaces/create-event-options.d.ts +22 -13
  13. package/dist/esm/schemas/interfaces/create-event-options.js.map +1 -1
  14. package/dist/esm/schemas/interfaces/create-event-result.d.ts +24 -0
  15. package/dist/esm/schemas/interfaces/create-event-result.js +2 -0
  16. package/dist/esm/schemas/interfaces/create-event-result.js.map +1 -0
  17. package/dist/esm/schemas/interfaces/create-event-with-prompt-result.d.ts +14 -0
  18. package/dist/esm/schemas/interfaces/create-event-with-prompt-result.js +2 -0
  19. package/dist/esm/schemas/interfaces/create-event-with-prompt-result.js.map +1 -0
  20. package/dist/esm/schemas/interfaces/list-events-in-range-result.d.ts +13 -0
  21. package/dist/esm/schemas/interfaces/list-events-in-range-result.js +2 -0
  22. package/dist/esm/schemas/interfaces/list-events-in-range-result.js.map +1 -0
  23. package/dist/esm/sub-definitions/event-operations.d.ts +22 -12
  24. package/dist/esm/sub-definitions/event-operations.js.map +1 -1
  25. package/dist/esm/web/download-ics-file.d.ts +18 -0
  26. package/dist/esm/web/download-ics-file.js +33 -0
  27. package/dist/esm/web/download-ics-file.js.map +1 -0
  28. package/dist/esm/web/ics.d.ts +21 -0
  29. package/dist/esm/web/ics.js +252 -0
  30. package/dist/esm/web/ics.js.map +1 -0
  31. package/dist/esm/web.d.ts +6 -10
  32. package/dist/esm/web.js +13 -2
  33. package/dist/esm/web.js.map +1 -1
  34. package/dist/plugin.cjs.js +297 -2
  35. package/dist/plugin.cjs.js.map +1 -1
  36. package/dist/plugin.js +297 -2
  37. package/dist/plugin.js.map +1 -1
  38. package/ios/Plugin/Implementation/CapacitorCalendar.swift +1 -1
  39. package/ios/Plugin/Models/Results/CreateEventResult.swift +1 -0
  40. package/ios/Plugin/Models/Results/ListEventsInRangeResult.swift +15 -2
  41. package/ios/Plugin/Utils/ImplementationHelper.swift +47 -3
  42. 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
 
@@ -37,7 +37,7 @@ Full-featured Capacitor plugin for native calendar and reminders access. Manage
37
37
 
38
38
  - **iOS** — Full support (including Reminders and advanced features)
39
39
  - **Android** — Strong support for all core calendar features
40
- - **Web** — Not supported (Capacitor stub only - calls will fail)
40
+ - **Web** — Partial support (create event)
41
41
 
42
42
  ## Why this plugin?
43
43
 
@@ -51,7 +51,7 @@ Full-featured Capacitor plugin for native calendar and reminders access. Manage
51
51
  `@ebarooni/capacitor-calendar` ships an official [MCP](https://modelcontextprotocol.io) server so AI coding assistants can work with the plugin accurately.
52
52
 
53
53
  ```bash
54
- docker run --rm -d --name capacitor-calendar-mcp -p 8080:8080 ghcr.io/ebarooni/capacitor-calendar-mcp:1.0.0
54
+ docker run --rm -d --name capacitor-calendar-mcp -p 8080:8080 ghcr.io/ebarooni/capacitor-calendar-mcp:1.1.0
55
55
  ```
56
56
 
57
57
  See [`mcp/README.md`](mcp/README.md) for client configuration and full details.
@@ -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,31 +436,29 @@ 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
 
451
443
  ```typescript
452
- createEventWithPrompt(options?: CreateEventWithPromptOptions | undefined) => Promise<{ id: string | null; }>
444
+ createEventWithPrompt(options?: CreateEventWithPromptOptions | undefined) => Promise<CreateEventWithPromptResult>
453
445
  ```
454
446
 
455
447
  Opens the system calendar interface to create a new event.
456
- On Android always returns `null`.
448
+ On Android always returns `null` for `id`.
457
449
  Fetch the events to find the ID of the newly created event.
458
450
 
459
451
  | Param | Type |
460
452
  | ------------- | ------------------------------------------------------------------------------------- |
461
453
  | **`options`** | <code><a href="#createeventwithpromptoptions">CreateEventWithPromptOptions</a></code> |
462
454
 
463
- **Returns:** <code>Promise&lt;{ id: string | null; }&gt;</code>
455
+ **Returns:** <code>Promise&lt;<a href="#createeventwithpromptresult">CreateEventWithPromptResult</a>&gt;</code>
464
456
 
465
457
  **Since:** 0.1.0
466
458
 
467
459
  **Platform:** Android, iOS
468
460
 
469
- --------------------
470
-
461
+ ---
471
462
 
472
463
  ### modifyEventWithPrompt(...)
473
464
 
@@ -488,29 +479,31 @@ On Android always returns `null`.
488
479
 
489
480
  **Platform:** Android, iOS
490
481
 
491
- --------------------
492
-
482
+ ---
493
483
 
494
484
  ### createEvent(...)
495
485
 
496
486
  ```typescript
497
- createEvent(options: CreateEventOptions) => Promise<{ id: string; }>
487
+ createEvent(options: CreateEventOptions) => Promise<CreateEventResult>
498
488
  ```
499
489
 
500
490
  Creates an event in the calendar.
491
+ On Android and iOS, inserts into the system calendar and returns its `id`.
492
+ On Web, there is no system calendar store: builds an `.ics` `File` as `ics`.
493
+ The app must download or open that file (for example with `downloadIcsFile(...)`);
494
+ this method does not trigger a download.
501
495
 
502
496
  | Param | Type |
503
497
  | ------------- | ----------------------------------------------------------------- |
504
498
  | **`options`** | <code><a href="#createeventoptions">CreateEventOptions</a></code> |
505
499
 
506
- **Returns:** <code>Promise&lt;{ id: string; }&gt;</code>
500
+ **Returns:** <code>Promise&lt;<a href="#createeventresult">CreateEventResult</a>&gt;</code>
507
501
 
508
502
  **Since:** 0.4.0
509
503
 
510
- **Platform:** iOS, Android
511
-
512
- --------------------
504
+ **Platform:** Android, iOS, Web
513
505
 
506
+ ---
514
507
 
515
508
  ### modifyEvent(...)
516
509
 
@@ -528,8 +521,7 @@ Modifies an event.
528
521
 
529
522
  **Platform:** Android, iOS
530
523
 
531
- --------------------
532
-
524
+ ---
533
525
 
534
526
  ### deleteEventsById(...)
535
527
 
@@ -549,8 +541,7 @@ Deletes multiple events.
549
541
 
550
542
  **Platform:** Android, iOS
551
543
 
552
- --------------------
553
-
544
+ ---
554
545
 
555
546
  ### deleteEvent(...)
556
547
 
@@ -568,8 +559,7 @@ Deletes an event.
568
559
 
569
560
  **Platform:** Android, iOS
570
561
 
571
- --------------------
572
-
562
+ ---
573
563
 
574
564
  ### deleteEventWithPrompt(...)
575
565
 
@@ -589,13 +579,12 @@ Opens a dialog to delete an event.
589
579
 
590
580
  **Platform:** Android, iOS
591
581
 
592
- --------------------
593
-
582
+ ---
594
583
 
595
584
  ### listEventsInRange(...)
596
585
 
597
586
  ```typescript
598
- listEventsInRange(options: ListEventsInRangeOptions) => Promise<{ result: CalendarEvent[]; }>
587
+ listEventsInRange(options: ListEventsInRangeOptions) => Promise<ListEventsInRangeResult>
599
588
  ```
600
589
 
601
590
  Retrieves events that overlap a date range.
@@ -607,14 +596,13 @@ multi-day events that span the range without starting or ending inside it.
607
596
  | ------------- | ----------------------------------------------------------------------------- |
608
597
  | **`options`** | <code><a href="#listeventsinrangeoptions">ListEventsInRangeOptions</a></code> |
609
598
 
610
- **Returns:** <code>Promise&lt;{ result: CalendarEvent[]; }&gt;</code>
599
+ **Returns:** <code>Promise&lt;<a href="#listeventsinrangeresult">ListEventsInRangeResult</a>&gt;</code>
611
600
 
612
601
  **Since:** 0.10.0
613
602
 
614
603
  **Platform:** Android, iOS
615
604
 
616
- --------------------
617
-
605
+ ---
618
606
 
619
607
  ### commit()
620
608
 
@@ -628,8 +616,7 @@ Saves pending calendar changes.
628
616
 
629
617
  **Platform:** iOS
630
618
 
631
- --------------------
632
-
619
+ ---
633
620
 
634
621
  ### selectCalendarsWithPrompt(...)
635
622
 
@@ -658,8 +645,7 @@ call continues until the user confirms or cancels.
658
645
 
659
646
  **Platform:** iOS
660
647
 
661
- --------------------
662
-
648
+ ---
663
649
 
664
650
  ### fetchAllCalendarSources()
665
651
 
@@ -678,8 +664,7 @@ an empty array. This method does not reject solely for missing permission.
678
664
 
679
665
  **Platform:** iOS
680
666
 
681
- --------------------
682
-
667
+ ---
683
668
 
684
669
  ### listCalendars()
685
670
 
@@ -698,8 +683,7 @@ rejects. On iOS, missing authorization typically returns an empty `result`.
698
683
 
699
684
  **Platform:** Android, iOS
700
685
 
701
- --------------------
702
-
686
+ ---
703
687
 
704
688
  ### getDefaultCalendar(...)
705
689
 
@@ -727,8 +711,7 @@ Otherwise the method returns `null` when there is no system default.
727
711
 
728
712
  **Platform:** Android, iOS
729
713
 
730
- --------------------
731
-
714
+ ---
732
715
 
733
716
  ### openCalendar(...)
734
717
 
@@ -746,8 +729,7 @@ Opens the calendar app.
746
729
 
747
730
  **Platform:** Android, iOS
748
731
 
749
- --------------------
750
-
732
+ ---
751
733
 
752
734
  ### createCalendar(...)
753
735
 
@@ -770,8 +752,7 @@ On Android, `accountName` and `ownerAccount` are required at runtime.
770
752
 
771
753
  **Platform:** Android, iOS
772
754
 
773
- --------------------
774
-
755
+ ---
775
756
 
776
757
  ### deleteCalendar(...)
777
758
 
@@ -789,8 +770,7 @@ Deletes a calendar by id.
789
770
 
790
771
  **Platform:** Android, iOS
791
772
 
792
- --------------------
793
-
773
+ ---
794
774
 
795
775
  ### modifyCalendar(...)
796
776
 
@@ -808,8 +788,7 @@ Modifies a calendar with options.
808
788
 
809
789
  **Platform:** Android, iOS
810
790
 
811
- --------------------
812
-
791
+ ---
813
792
 
814
793
  ### createRemindersList(...)
815
794
 
@@ -829,8 +808,7 @@ Creates a new reminders list.
829
808
 
830
809
  **Platform:** iOS
831
810
 
832
- --------------------
833
-
811
+ ---
834
812
 
835
813
  ### deleteRemindersList(...)
836
814
 
@@ -848,8 +826,7 @@ Deletes a reminders list.
848
826
 
849
827
  **Platform:** iOS
850
828
 
851
- --------------------
852
-
829
+ ---
853
830
 
854
831
  ### fetchAllRemindersSources()
855
832
 
@@ -865,8 +842,7 @@ Retrieves a list of calendar sources.
865
842
 
866
843
  **Platform:** iOS
867
844
 
868
- --------------------
869
-
845
+ ---
870
846
 
871
847
  ### openReminders()
872
848
 
@@ -880,8 +856,7 @@ Opens the reminders app.
880
856
 
881
857
  **Platform:** iOS
882
858
 
883
- --------------------
884
-
859
+ ---
885
860
 
886
861
  ### getDefaultRemindersList()
887
862
 
@@ -897,8 +872,7 @@ Retrieves the default reminders list.
897
872
 
898
873
  **Platform:** iOS
899
874
 
900
- --------------------
901
-
875
+ ---
902
876
 
903
877
  ### getRemindersLists()
904
878
 
@@ -914,8 +888,7 @@ Retrieves all available reminders lists.
914
888
 
915
889
  **Platform:** iOS
916
890
 
917
- --------------------
918
-
891
+ ---
919
892
 
920
893
  ### createReminder(...)
921
894
 
@@ -935,8 +908,7 @@ Creates a reminder.
935
908
 
936
909
  **Platform:** iOS
937
910
 
938
- --------------------
939
-
911
+ ---
940
912
 
941
913
  ### deleteRemindersById(...)
942
914
 
@@ -956,8 +928,7 @@ Deletes multiple reminders.
956
928
 
957
929
  **Platform:** iOS
958
930
 
959
- --------------------
960
-
931
+ ---
961
932
 
962
933
  ### deleteReminder(...)
963
934
 
@@ -975,8 +946,7 @@ Deletes a reminder.
975
946
 
976
947
  **Platform:** iOS
977
948
 
978
- --------------------
979
-
949
+ ---
980
950
 
981
951
  ### modifyReminder(...)
982
952
 
@@ -994,8 +964,7 @@ Modifies a reminder.
994
964
 
995
965
  **Platform:** iOS
996
966
 
997
- --------------------
998
-
967
+ ---
999
968
 
1000
969
  ### getReminderById(...)
1001
970
 
@@ -1015,8 +984,7 @@ Retrieve a reminder by ID.
1015
984
 
1016
985
  **Platform:** iOS
1017
986
 
1018
- --------------------
1019
-
987
+ ---
1020
988
 
1021
989
  ### getRemindersFromLists(...)
1022
990
 
@@ -1036,8 +1004,7 @@ Retrieves reminders from multiple lists.
1036
1004
 
1037
1005
  **Platform:** iOS
1038
1006
 
1039
- --------------------
1040
-
1007
+ ---
1041
1008
 
1042
1009
  ### deleteReminderWithPrompt(...)
1043
1010
 
@@ -1057,8 +1024,7 @@ Opens a dialog to delete a reminder.
1057
1024
 
1058
1025
  **Platform:** iOS
1059
1026
 
1060
- --------------------
1061
-
1027
+ ---
1062
1028
 
1063
1029
  ### updateRemindersList(...)
1064
1030
 
@@ -1078,12 +1044,10 @@ Update a reminders list with options.
1078
1044
 
1079
1045
  **Platform:** iOS
1080
1046
 
1081
- --------------------
1082
-
1047
+ ---
1083
1048
 
1084
1049
  ### Interfaces
1085
1050
 
1086
-
1087
1051
  #### CheckPermissionOptions
1088
1052
 
1089
1053
  Options for {@link CalendarAccess#checkPermission}.
@@ -1092,7 +1056,6 @@ Options for {@link CalendarAccess#checkPermission}.
1092
1056
  | ----------- | --------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------------ |
1093
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 |
1094
1058
 
1095
-
1096
1059
  #### RequestPermissionOptions
1097
1060
 
1098
1061
  Options for {@link CalendarAccess#requestPermission}.
@@ -1101,6 +1064,11 @@ Options for {@link CalendarAccess#requestPermission}.
1101
1064
  | ----------- | --------------------------------------------------------------------------- | -------------------------------- | ----- | ------------ |
1102
1065
  | **`scope`** | <code><a href="#calendarpermissionscope">CalendarPermissionScope</a></code> | The permission scope to request. | 8.3.1 | Android, iOS |
1103
1066
 
1067
+ #### CreateEventWithPromptResult
1068
+
1069
+ | Prop | Type | Description | Since | Platform |
1070
+ | -------- | --------------------------- | -------------------------------------------------------------------------------------------------- | ----- | ------------ |
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 |
1104
1072
 
1105
1073
  #### CreateEventWithPromptOptions
1106
1074
 
@@ -1119,7 +1087,6 @@ Options for {@link CalendarAccess#requestPermission}.
1119
1087
  | **`title`** | <code>string</code> | | 0.1.0 | Android, iOS |
1120
1088
  | **`url`** | <code>string</code> | | 0.1.0 | iOS |
1121
1089
 
1122
-
1123
1090
  #### EventRecurrenceRule
1124
1091
 
1125
1092
  | Prop | Type | Description | Default | Since | Platform |
@@ -1134,7 +1101,6 @@ Options for {@link CalendarAccess#requestPermission}.
1134
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 |
1135
1102
  | **`weeksOfTheYear`** | <code>number[]</code> | Limits a yearly recurrence to specific ISO week numbers (1 to 53). | | 7.3.0 | iOS |
1136
1103
 
1137
-
1138
1104
  #### ModifyEventWithPromptOptions
1139
1105
 
1140
1106
  | Prop | Type | Description | Since | Platform |
@@ -1153,28 +1119,34 @@ Options for {@link CalendarAccess#requestPermission}.
1153
1119
  | **`url`** | <code>string</code> | | 0.1.0 | iOS |
1154
1120
  | **`id`** | <code>string</code> | The ID of the event to be modified. | 7.1.0 | Android, iOS |
1155
1121
 
1122
+ #### CreateEventResult
1156
1123
 
1157
- #### CreateEventOptions
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 |
1158
1128
 
1159
- | Prop | Type | Description | Default | Since | Platform |
1160
- | ------------------ | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------- | ----- | ------------ |
1161
- | **`alerts`** | <code>number[]</code> | Alert times in minutes relative to the event start. Use negative numbers for alerts before the start, and positive numbers for alerts after the start. | | 7.1.0 | Android, iOS |
1162
- | **`attendees`** | <code>EventGuest[]</code> | The event guests. | | 7.1.0 | Android |
1163
- | **`availability`** | <code><a href="#eventavailability">EventAvailability</a></code> | | | 7.1.0 | Android, iOS |
1164
- | **`calendarId`** | <code>string</code> | | | 0.1.0 | Android, iOS |
1165
- | **`color`** | <code>string</code> | | | 7.1.0 | Android |
1166
- | **`commit`** | <code>boolean</code> | Whether to save immediately (`true`) or batch changes for later (`false`). | <code>true</code> | 7.1.0 | iOS |
1167
- | **`description`** | <code>string</code> | | | 7.1.0 | Android, iOS |
1168
- | **`duration`** | <code>string</code> | Duration of the event in RFC2445 format. | | 7.1.0 | Android |
1169
- | **`endDate`** | <code>number</code> | | | 0.1.0 | Android, iOS |
1170
- | **`isAllDay`** | <code>boolean</code> | | | 0.1.0 | Android, iOS |
1171
- | **`location`** | <code>string</code> | | | 0.1.0 | Android, iOS |
1172
- | **`organizer`** | <code>string</code> | Email of the event organizer. | | 7.1.0 | Android |
1173
- | **`recurrence`** | <code><a href="#eventrecurrencerule">EventRecurrenceRule</a></code> | Rules for creating a recurring event. | | 7.3.0 | Android, iOS |
1174
- | **`startDate`** | <code>number</code> | | | 0.1.0 | Android, iOS |
1175
- | **`title`** | <code>string</code> | | | 0.4.0 | Android, iOS |
1176
- | **`url`** | <code>string</code> | | | 0.1.0 | iOS |
1129
+ #### CreateEventOptions
1177
1130
 
1131
+ | Prop | Type | Description | Default | Since | Platform |
1132
+ | ------------------ | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | ----- | ----------------- |
1133
+ | **`alerts`** | <code>number[]</code> | Alert times in minutes relative to the event start. Use negative numbers for alerts before the start, and positive numbers for alerts after the start. | | 7.1.0 | Android, iOS, Web |
1134
+ | **`attendees`** | <code>EventGuest[]</code> | The event guests. | | 7.1.0 | Android, Web |
1135
+ | **`availability`** | <code><a href="#eventavailability">EventAvailability</a></code> | | | 7.1.0 | Android, iOS, Web |
1136
+ | **`calendarId`** | <code>string</code> | | | 0.1.0 | Android, iOS |
1137
+ | **`color`** | <code>string</code> | | | 7.1.0 | Android |
1138
+ | **`commit`** | <code>boolean</code> | Whether to save immediately (`true`) or batch changes for later (`false`). | <code>true</code> | 7.1.0 | iOS |
1139
+ | **`description`** | <code>string</code> | | | 7.1.0 | Android, iOS, Web |
1140
+ | **`duration`** | <code>string</code> | Duration of the event in RFC2445 format. | | 7.1.0 | Android |
1141
+ | **`endDate`** | <code>number</code> | | | 0.1.0 | Android, iOS, Web |
1142
+ | **`icsFileName`** | <code>string</code> | Download filename for the `.ics` file. When omitted, a name is derived from `title` (fallback `event.ics`). If the value has no `.ics` extension, `.ics` is appended. | | 8.5.0 | Web |
1143
+ | **`isAllDay`** | <code>boolean</code> | | | 0.1.0 | Android, iOS, Web |
1144
+ | **`location`** | <code>string</code> | | | 0.1.0 | Android, iOS, Web |
1145
+ | **`organizer`** | <code>string</code> | Email of the event organizer. | | 7.1.0 | Android, Web |
1146
+ | **`recurrence`** | <code><a href="#eventrecurrencerule">EventRecurrenceRule</a></code> | Rules for creating a recurring event. | | 7.3.0 | Android, iOS, Web |
1147
+ | **`startDate`** | <code>number</code> | | | 0.1.0 | Android, iOS, Web |
1148
+ | **`title`** | <code>string</code> | | | 0.4.0 | Android, iOS, Web |
1149
+ | **`url`** | <code>string</code> | | | 0.1.0 | iOS, Web |
1178
1150
 
1179
1151
  #### EventGuest
1180
1152
 
@@ -1183,7 +1155,6 @@ Options for {@link CalendarAccess#requestPermission}.
1183
1155
  | **`name`** | <code>string</code> | 7.1.0 |
1184
1156
  | **`email`** | <code>string</code> | 7.1.0 |
1185
1157
 
1186
-
1187
1158
  #### ModifyEventOptions
1188
1159
 
1189
1160
  | Prop | Type | Description | Default | Since | Platform |
@@ -1206,7 +1177,6 @@ Options for {@link CalendarAccess#requestPermission}.
1206
1177
  | **`title`** | <code>string</code> | | | 0.4.0 | Android, iOS |
1207
1178
  | **`url`** | <code>string</code> | | | 0.1.0 | iOS |
1208
1179
 
1209
-
1210
1180
  #### DeleteEventsByIdResult
1211
1181
 
1212
1182
  | Prop | Type | Since |
@@ -1214,7 +1184,6 @@ Options for {@link CalendarAccess#requestPermission}.
1214
1184
  | **`deleted`** | <code>string[]</code> | 7.1.0 |
1215
1185
  | **`failed`** | <code>string[]</code> | 7.1.0 |
1216
1186
 
1217
-
1218
1187
  #### DeleteEventsByIdOptions
1219
1188
 
1220
1189
  | Prop | Type | Description | Default | Since | Platform |
@@ -1223,7 +1192,6 @@ Options for {@link CalendarAccess#requestPermission}.
1223
1192
  | **`ids`** | <code>string[]</code> | | | 7.1.0 | |
1224
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 |
1225
1194
 
1226
-
1227
1195
  #### DeleteEventOptions
1228
1196
 
1229
1197
  | Prop | Type | Description | Default | Since | Platform |
@@ -1233,7 +1201,6 @@ Options for {@link CalendarAccess#requestPermission}.
1233
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 |
1234
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 |
1235
1203
 
1236
-
1237
1204
  #### DeleteEventWithPromptOptions
1238
1205
 
1239
1206
  | Prop | Type | Description | Default | Since | Platform |
@@ -1247,33 +1214,41 @@ Options for {@link CalendarAccess#requestPermission}.
1247
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 |
1248
1215
  | **`title`** | <code>string</code> | Title of the dialog. | | 7.1.0 | Android, iOS |
1249
1216
 
1217
+ #### ListEventsInRangeResult
1250
1218
 
1251
- #### CalendarEvent
1219
+ | Prop | Type | Description | Since | Platform |
1220
+ | ------------ | ---------------------------- | ---------------------------------------- | ----- | ------------ |
1221
+ | **`result`** | <code>CalendarEvent[]</code> | Events that overlap the requested range. | 8.6.0 | Android, iOS |
1252
1222
 
1253
- | Prop | Type | Description | Since | Platform |
1254
- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- | ----- | ------------ |
1255
- | **`id`** | <code>string</code> | | 7.1.0 | Android, iOS |
1256
- | **`title`** | <code>string</code> | | 7.1.0 | Android, iOS |
1257
- | **`calendarId`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1258
- | **`location`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1259
- | **`startDate`** | <code>number</code> | | 7.1.0 | Android, iOS |
1260
- | **`endDate`** | <code>number</code> | | 7.1.0 | Android, iOS |
1261
- | **`isAllDay`** | <code>boolean</code> | | 7.1.0 | Android, iOS |
1262
- | **`alerts`** | <code>number[]</code> | Alert times in minutes relative to the event start. | 7.1.0 | Android, iOS |
1263
- | **`url`** | <code>string \| null</code> | | 7.1.0 | iOS |
1264
- | **`description`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1265
- | **`availability`** | <code><a href="#eventavailability">EventAvailability</a> \| null</code> | | 7.1.0 | Android, iOS |
1266
- | **`organizer`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1267
- | **`color`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1268
- | **`duration`** | <code>string \| null</code> | | 7.1.0 | Android |
1269
- | **`isDetached`** | <code>boolean \| null</code> | | 7.1.0 | iOS |
1270
- | **`birthdayContactIdentifier`** | <code>string \| null</code> | | 7.1.0 | iOS |
1271
- | **`status`** | <code><a href="#eventstatus">EventStatus</a> \| null</code> | | 7.1.0 | Android, iOS |
1272
- | **`creationDate`** | <code>number \| null</code> | | 7.1.0 | iOS |
1273
- | **`lastModifiedDate`** | <code>number \| null</code> | | 7.1.0 | iOS |
1274
- | **`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 |
1275
- | **`timezone`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1223
+ #### CalendarEvent
1276
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 |
1277
1252
 
1278
1253
  #### ListEventsInRangeOptions
1279
1254
 
@@ -1282,14 +1257,12 @@ Options for {@link CalendarAccess#requestPermission}.
1282
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 |
1283
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 |
1284
1259
 
1285
-
1286
1260
  #### SelectCalendarsWithPromptResult
1287
1261
 
1288
1262
  | Prop | Type | Description | Since | Platform |
1289
1263
  | ------------ | ----------------------- | ------------------------------------------------------------------------- | ----- | -------- |
1290
1264
  | **`result`** | <code>Calendar[]</code> | Calendars the user confirmed in the chooser. Empty when the user cancels. | 8.4.0 | iOS |
1291
1265
 
1292
-
1293
1266
  #### Calendar
1294
1267
 
1295
1268
  | Prop | Type | Description | Since | Platform |
@@ -1309,7 +1282,6 @@ Options for {@link CalendarAccess#requestPermission}.
1309
1282
  | **`maxReminders`** | <code>number \| null</code> | Maximum number of reminders allowed per event. | 7.1.0 | Android |
1310
1283
  | **`location`** | <code>string \| null</code> | | 7.1.0 | Android |
1311
1284
 
1312
-
1313
1285
  #### CalendarSource
1314
1286
 
1315
1287
  | Prop | Type | Since | Platform |
@@ -1318,7 +1290,6 @@ Options for {@link CalendarAccess#requestPermission}.
1318
1290
  | **`id`** | <code>string</code> | 7.1.0 | iOS |
1319
1291
  | **`title`** | <code>string</code> | 7.1.0 | iOS |
1320
1292
 
1321
-
1322
1293
  #### SelectCalendarsWithPromptOptions
1323
1294
 
1324
1295
  | Prop | Type | Description | Default | Since |
@@ -1326,42 +1297,36 @@ Options for {@link CalendarAccess#requestPermission}.
1326
1297
  | **`displayStyle`** | <code><a href="#calendarchooserdisplaystyle">CalendarChooserDisplayStyle</a></code> | | <code>CalendarChooserDisplayStyle.ALL_CALENDARS</code> | 7.1.0 |
1327
1298
  | **`multiple`** | <code>boolean</code> | Allow multiple selections. | <code>false</code> | 7.1.0 |
1328
1299
 
1329
-
1330
1300
  #### FetchAllCalendarSourcesResult
1331
1301
 
1332
1302
  | Prop | Type | Description | Since | Platform |
1333
1303
  | ------------ | ----------------------------- | -------------------------------------------------- | ----- | -------- |
1334
1304
  | **`result`** | <code>CalendarSource[]</code> | All calendar sources (accounts) known to EventKit. | 8.4.0 | iOS |
1335
1305
 
1336
-
1337
1306
  #### ListCalendarsResult
1338
1307
 
1339
1308
  | Prop | Type | Description | Since | Platform |
1340
1309
  | ------------ | ----------------------- | ------------------------ | ----- | ------------ |
1341
1310
  | **`result`** | <code>Calendar[]</code> | All available calendars. | 8.4.0 | Android, iOS |
1342
1311
 
1343
-
1344
1312
  #### GetDefaultCalendarOptions
1345
1313
 
1346
1314
  | Prop | Type | Description | Default | Since | Platform |
1347
1315
  | ------------------------- | -------------------- | --------------------------------------------------------------------------- | ------------------ | ----- | ------------ |
1348
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 |
1349
1317
 
1350
-
1351
1318
  #### OpenCalendarOptions
1352
1319
 
1353
1320
  | Prop | Type | Description | Default | Since | Platform |
1354
1321
  | ---------- | ------------------- | ------------------------------------------------------------------ | ----------------------- | ----- | ------------ |
1355
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 |
1356
1323
 
1357
-
1358
1324
  #### CreateCalendarResult
1359
1325
 
1360
1326
  | Prop | Type | Description | Since | Platform |
1361
1327
  | -------- | ------------------- | ----------------------------------------- | ----- | ------------ |
1362
1328
  | **`id`** | <code>string</code> | Identifier of the newly created calendar. | 8.4.0 | Android, iOS |
1363
1329
 
1364
-
1365
1330
  #### CreateCalendarOptions
1366
1331
 
1367
1332
  | Prop | Type | Description | Default | Since | Platform |
@@ -1372,14 +1337,12 @@ Options for {@link CalendarAccess#requestPermission}.
1372
1337
  | **`accountName`** | <code>string</code> | The account under which the calendar is registered. Required on Android. Typically an email address. | | 7.1.0 | Android |
1373
1338
  | **`ownerAccount`** | <code>string</code> | The owner of the calendar. Required on Android. Typically an email address. | | 7.1.0 | Android |
1374
1339
 
1375
-
1376
1340
  #### DeleteCalendarOptions
1377
1341
 
1378
1342
  | Prop | Type | Since | Platform |
1379
1343
  | -------- | ------------------- | ----- | ------------ |
1380
1344
  | **`id`** | <code>string</code> | 7.1.0 | Android, iOS |
1381
1345
 
1382
-
1383
1346
  #### ModifyCalendarOptions
1384
1347
 
1385
1348
  | Prop | Type | Description | Since | Platform |
@@ -1388,14 +1351,12 @@ Options for {@link CalendarAccess#requestPermission}.
1388
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 |
1389
1352
  | **`color`** | <code>string</code> | The color of the calendar as `#RRGGBB` or `#RRGGBBAA`. | 7.2.0 | Android, iOS |
1390
1353
 
1391
-
1392
1354
  #### CreateRemindersListResult
1393
1355
 
1394
1356
  | Prop | Type | Description | Since | Platform |
1395
1357
  | -------- | ------------------- | ----------------------------------------------- | ----- | -------- |
1396
1358
  | **`id`** | <code>string</code> | Identifier of the newly created reminders list. | 8.1.0 | iOS |
1397
1359
 
1398
-
1399
1360
  #### CreateRemindersListOptions
1400
1361
 
1401
1362
  | Prop | Type | Description | Default | Since | Platform |
@@ -1405,7 +1366,6 @@ Options for {@link CalendarAccess#requestPermission}.
1405
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 |
1406
1367
  | **`title`** | <code>string</code> | The title of the list. | | 8.1.0 | iOS |
1407
1368
 
1408
-
1409
1369
  #### DeleteRemindersListOptions
1410
1370
 
1411
1371
  | Prop | Type | Description | Default | Since | Platform |
@@ -1413,7 +1373,6 @@ Options for {@link CalendarAccess#requestPermission}.
1413
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 |
1414
1374
  | **`id`** | <code>string</code> | Identifier of the reminders list to delete. | | 8.2.0 | iOS |
1415
1375
 
1416
-
1417
1376
  #### CreateReminderOptions
1418
1377
 
1419
1378
  | Prop | Type | Description | Since |
@@ -1431,7 +1390,6 @@ Options for {@link CalendarAccess#requestPermission}.
1431
1390
  | **`recurrence`** | <code><a href="#recurrencerule">RecurrenceRule</a></code> | | 7.1.0 |
1432
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 |
1433
1392
 
1434
-
1435
1393
  #### RecurrenceRule
1436
1394
 
1437
1395
  | Prop | Type | Description | Since |
@@ -1440,7 +1398,6 @@ Options for {@link CalendarAccess#requestPermission}.
1440
1398
  | **`interval`** | <code>number</code> | How often it repeats (e.g. 1 for every occurrence, 2 for every second occurrence). | 7.1.0 |
1441
1399
  | **`end`** | <code>number</code> | Timestamp of when the recurrence ends. | 7.1.0 |
1442
1400
 
1443
-
1444
1401
  #### DeleteRemindersByIdResult
1445
1402
 
1446
1403
  | Prop | Type | Since |
@@ -1448,21 +1405,18 @@ Options for {@link CalendarAccess#requestPermission}.
1448
1405
  | **`deleted`** | <code>string[]</code> | 7.1.0 |
1449
1406
  | **`failed`** | <code>string[]</code> | 7.1.0 |
1450
1407
 
1451
-
1452
1408
  #### DeleteRemindersByIdOptions
1453
1409
 
1454
1410
  | Prop | Type | Since |
1455
1411
  | --------- | --------------------- | ----- |
1456
1412
  | **`ids`** | <code>string[]</code> | 7.1.0 |
1457
1413
 
1458
-
1459
1414
  #### DeleteReminderOptions
1460
1415
 
1461
1416
  | Prop | Type | Since |
1462
1417
  | -------- | ------------------- | ----- |
1463
1418
  | **`id`** | <code>string</code> | 7.1.0 |
1464
1419
 
1465
-
1466
1420
  #### ModifyReminderOptions
1467
1421
 
1468
1422
  | Prop | Type | Description | Since |
@@ -1481,7 +1435,6 @@ Options for {@link CalendarAccess#requestPermission}.
1481
1435
  | **`recurrence`** | <code><a href="#recurrencerule">RecurrenceRule</a></code> | | 7.1.0 |
1482
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 |
1483
1437
 
1484
-
1485
1438
  #### Reminder
1486
1439
 
1487
1440
  | Prop | Type | Since |
@@ -1500,21 +1453,18 @@ Options for {@link CalendarAccess#requestPermission}.
1500
1453
  | **`recurrence`** | <code>RecurrenceRule[]</code> | 7.1.0 |
1501
1454
  | **`alerts`** | <code>number[]</code> | 7.1.0 |
1502
1455
 
1503
-
1504
1456
  #### GetReminderByIdOptions
1505
1457
 
1506
1458
  | Prop | Type | Since |
1507
1459
  | -------- | ------------------- | ----- |
1508
1460
  | **`id`** | <code>string</code> | 7.1.0 |
1509
1461
 
1510
-
1511
1462
  #### GetRemindersFromListsOptions
1512
1463
 
1513
1464
  | Prop | Type | Since |
1514
1465
  | ------------- | --------------------- | ----- |
1515
1466
  | **`listIds`** | <code>string[]</code> | 7.1.0 |
1516
1467
 
1517
-
1518
1468
  #### DeleteReminderWithPromptOptions
1519
1469
 
1520
1470
  | Prop | Type | Description | Default | Since |
@@ -1525,14 +1475,12 @@ Options for {@link CalendarAccess#requestPermission}.
1525
1475
  | **`confirmButtonText`** | <code>string</code> | Text to show on the confirm button. | <code>'Delete'</code> | 7.2.0 |
1526
1476
  | **`cancelButtonText`** | <code>string</code> | Text to show on the cancel button. | <code>'Cancel'</code> | 7.2.0 |
1527
1477
 
1528
-
1529
1478
  #### UpdateRemindersListResult
1530
1479
 
1531
1480
  | Prop | Type | Description | Since | Platform |
1532
1481
  | -------- | ------------------- | ----------------------------------------- | ----- | -------- |
1533
1482
  | **`id`** | <code>string</code> | Identifier of the updated reminders list. | 8.2.0 | iOS |
1534
1483
 
1535
-
1536
1484
  #### UpdateRemindersListOptions
1537
1485
 
1538
1486
  | Prop | Type | Description | Default | Since | Platform |
@@ -1542,50 +1490,49 @@ Options for {@link CalendarAccess#requestPermission}.
1542
1490
  | **`id`** | <code>string</code> | The identifier of the list to update. | | 8.2.0 | iOS |
1543
1491
  | **`title`** | <code>string</code> | The new title of the list. If omitted, the title is left unchanged. | | 8.2.0 | iOS |
1544
1492
 
1545
-
1546
1493
  ### Type Aliases
1547
1494
 
1548
-
1549
1495
  #### PermissionState
1550
1496
 
1551
1497
  <code>'prompt' | 'prompt-with-rationale' | 'granted' | 'denied'</code>
1552
1498
 
1553
-
1554
1499
  #### CheckAllPermissionsResult
1555
1500
 
1556
- <code><a href="#record">Record</a>&lt;<a href="#calendarpermissionscope">CalendarPermissionScope</a>, <a href="#permissionstate">PermissionState</a>&gt;</code>
1557
-
1501
+ <code>
1502
+ <a href="#record">Record</a>&lt;<a href="#calendarpermissionscope">CalendarPermissionScope</a>,{' '}
1503
+ <a href="#permissionstate">PermissionState</a>&gt;
1504
+ </code>
1558
1505
 
1559
1506
  #### Record
1560
1507
 
1561
1508
  Construct a type with a set of properties K of type T
1562
1509
 
1563
- <code>{
1564
1510
  [P in K]: T;
1565
1511
  }</code>
1566
-
1512
+ <code>{
1513
+ [P in K]: T;
1514
+ }</code>
1567
1515
 
1568
1516
  #### RequestAllPermissionsResult
1569
1517
 
1570
- <code><a href="#checkallpermissionsresult">CheckAllPermissionsResult</a></code>
1571
-
1518
+ <code>
1519
+ <a href="#checkallpermissionsresult">CheckAllPermissionsResult</a>
1520
+ </code>
1572
1521
 
1573
1522
  #### RecurrenceFrequency
1574
1523
 
1575
1524
  <code>'daily' | 'weekly' | 'monthly' | 'yearly'</code>
1576
1525
 
1577
-
1578
1526
  #### EventEditAction
1579
1527
 
1580
1528
  <code>'canceled' | 'saved' | 'deleted'</code>
1581
1529
 
1582
-
1583
1530
  #### RemindersList
1584
1531
 
1585
- <code><a href="#calendar">Calendar</a></code>
1586
-
1532
+ <code>
1533
+ <a href="#calendar">Calendar</a>
1534
+ </code>
1587
1535
 
1588
1536
  ### Enums
1589
1537
 
1590
-
1591
1538
  #### CalendarPermissionScope
1592
1539
 
1593
1540
  | Members | Value | Description | Since | Platform |
@@ -1595,7 +1542,6 @@ Construct a type with a set of properties K of type T
1595
1542
  | **`WRITE_CALENDAR`** | <code>'writeCalendar'</code> | Permission required for adding or modifying calendar events. | 7.1.0 | Android, iOS |
1596
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 |
1597
1544
 
1598
-
1599
1545
  #### EventAvailability
1600
1546
 
1601
1547
  | Members | Value | Since | Platform |
@@ -1606,7 +1552,6 @@ Construct a type with a set of properties K of type T
1606
1552
  | **`TENTATIVE`** | | 7.1.0 | Android, iOS |
1607
1553
  | **`UNAVAILABLE`** | | 7.1.0 | iOS |
1608
1554
 
1609
-
1610
1555
  #### EventSpan
1611
1556
 
1612
1557
  | Members | Description | Since |
@@ -1614,17 +1559,6 @@ Construct a type with a set of properties K of type T
1614
1559
  | **`THIS_EVENT`** | Only the identified event or occurrence. | 7.1.0 |
1615
1560
  | **`THIS_AND_FUTURE_EVENTS`** | The identified occurrence and future occurrences in the series. | 7.1.0 |
1616
1561
 
1617
-
1618
- #### EventStatus
1619
-
1620
- | Members | Value | Since | Platform |
1621
- | --------------- | ------------------------ | ----- | ------------ |
1622
- | **`NONE`** | <code>'none'</code> | 7.1.0 | iOS |
1623
- | **`CONFIRMED`** | <code>'confirmed'</code> | 7.1.0 | Android, iOS |
1624
- | **`TENTATIVE`** | <code>'tentative'</code> | 7.1.0 | Android, iOS |
1625
- | **`CANCELED`** | <code>'canceled'</code> | 7.1.0 | Android, iOS |
1626
-
1627
-
1628
1562
  #### AttendeeRole
1629
1563
 
1630
1564
  | Members | Value | Since | Platform |
@@ -1639,7 +1573,6 @@ Construct a type with a set of properties K of type T
1639
1573
  | **`PERFORMER`** | <code>'performer'</code> | 7.1.0 | Android |
1640
1574
  | **`SPEAKER`** | <code>'speaker'</code> | 7.1.0 | Android |
1641
1575
 
1642
-
1643
1576
  #### AttendeeStatus
1644
1577
 
1645
1578
  | Members | Value | Since | Platform |
@@ -1655,7 +1588,6 @@ Construct a type with a set of properties K of type T
1655
1588
  | **`COMPLETED`** | <code>'completed'</code> | 7.1.0 | iOS |
1656
1589
  | **`IN_PROCESS`** | <code>'inProcess'</code> | 7.1.0 | iOS |
1657
1590
 
1658
-
1659
1591
  #### AttendeeType
1660
1592
 
1661
1593
  | Members | Value | Since | Platform |
@@ -1669,6 +1601,14 @@ Construct a type with a set of properties K of type T
1669
1601
  | **`NONE`** | <code>'none'</code> | 7.1.0 | Android |
1670
1602
  | **`OPTIONAL`** | <code>'optional'</code> | 7.1.0 | Android |
1671
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 |
1672
1612
 
1673
1613
  #### CalendarType
1674
1614
 
@@ -1680,7 +1620,6 @@ Construct a type with a set of properties K of type T
1680
1620
  | **`SUBSCRIPTION`** | 7.1.0 |
1681
1621
  | **`BIRTHDAY`** | 7.1.0 |
1682
1622
 
1683
-
1684
1623
  #### CalendarSourceType
1685
1624
 
1686
1625
  | Members | Since |
@@ -1692,7 +1631,6 @@ Construct a type with a set of properties K of type T
1692
1631
  | **`SUBSCRIBED`** | 7.1.0 |
1693
1632
  | **`BIRTHDAYS`** | 7.1.0 |
1694
1633
 
1695
-
1696
1634
  #### CalendarChooserDisplayStyle
1697
1635
 
1698
1636
  | Members | Since |