@ebarooni/capacitor-calendar 7.2.0 → 7.4.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 (269) hide show
  1. package/EbarooniCapacitorCalendar.podspec +1 -1
  2. package/Package.swift +2 -2
  3. package/README.md +932 -466
  4. package/android/src/main/java/dev/barooni/capacitor/calendar/CapacitorCalendarPlugin.kt +128 -31
  5. package/android/src/main/java/dev/barooni/capacitor/calendar/PluginError.kt +43 -19
  6. package/android/src/main/java/dev/barooni/capacitor/calendar/implementation/CapacitorCalendar.kt +312 -85
  7. package/android/src/main/java/dev/barooni/capacitor/calendar/models/data/CalendarEvent.kt +4 -0
  8. package/android/src/main/java/dev/barooni/capacitor/calendar/models/data/EventDeleteInfo.kt +8 -0
  9. package/android/src/main/java/dev/barooni/capacitor/calendar/models/data/EventRecurrenceRule.kt +135 -0
  10. package/android/src/main/java/dev/barooni/capacitor/calendar/models/enums/EventSpan.kt +13 -0
  11. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CheckPermissionInput.kt +0 -4
  12. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CreateCalendarInput.kt +3 -1
  13. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CreateEventInput.kt +1 -0
  14. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CreateEventWithPromptInput.kt +5 -0
  15. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/DeleteCalendarInput.kt +4 -1
  16. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/DeleteEventInput.kt +4 -1
  17. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/DeleteEventWithPromptInput.kt +4 -1
  18. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/DeleteEventsByIdInput.kt +2 -0
  19. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/GetDefaultCalendarInput.kt +9 -0
  20. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/ModifyCalendarInput.kt +10 -1
  21. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/ModifyEvent.kt +3 -1
  22. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/ModifyEventWithPromptInput.kt +3 -0
  23. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/RequestPermissionInput.kt +3 -5
  24. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/CheckAllPermissionsResult.kt +3 -2
  25. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/CreateEventResult.kt +1 -0
  26. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/CreateEventWithPromptResult.kt +1 -0
  27. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/GetDefaultCalendarResult.kt +1 -0
  28. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/ListCalendarsResult.kt +1 -0
  29. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/ListEventsInRangeResult.kt +4 -0
  30. package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/RequestAllPermissionsResult.kt +1 -1
  31. package/android/src/main/java/dev/barooni/capacitor/calendar/models/templates/PluginCompletion.kt +8 -0
  32. package/android/src/main/java/dev/barooni/capacitor/calendar/utils/DeclarationCheck.kt +59 -0
  33. package/android/src/main/java/dev/barooni/capacitor/calendar/utils/ImplementationHelper.kt +468 -39
  34. package/dist/docs.json +3046 -1048
  35. package/dist/esm/definitions.d.ts +5 -5
  36. package/dist/esm/definitions.js.map +1 -1
  37. package/dist/esm/index.d.ts +72 -48
  38. package/dist/esm/index.js +18 -17
  39. package/dist/esm/index.js.map +1 -1
  40. package/dist/esm/schemas/enums/attendee-role.js.map +1 -1
  41. package/dist/esm/schemas/enums/attendee-status.js.map +1 -1
  42. package/dist/esm/schemas/enums/attendee-type.js.map +1 -1
  43. package/dist/esm/schemas/enums/calendar-permission-scope.d.ts +9 -1
  44. package/dist/esm/schemas/enums/calendar-permission-scope.js +9 -1
  45. package/dist/esm/schemas/enums/calendar-permission-scope.js.map +1 -1
  46. package/dist/esm/schemas/enums/capacitor-calendar-error-code.d.ts +13 -0
  47. package/dist/esm/schemas/enums/capacitor-calendar-error-code.js +15 -0
  48. package/dist/esm/schemas/enums/capacitor-calendar-error-code.js.map +1 -0
  49. package/dist/esm/schemas/enums/event-span.d.ts +4 -0
  50. package/dist/esm/schemas/enums/event-span.js +4 -0
  51. package/dist/esm/schemas/enums/event-span.js.map +1 -1
  52. package/dist/esm/schemas/enums/event-status.js.map +1 -1
  53. package/dist/esm/schemas/enums/reminder-recurrence-frequency.d.ts +5 -5
  54. package/dist/esm/schemas/enums/reminder-recurrence-frequency.js +5 -5
  55. package/dist/esm/schemas/enums/reminder-recurrence-frequency.js.map +1 -1
  56. package/dist/esm/schemas/interfaces/calendar-event.d.ts +145 -70
  57. package/dist/esm/schemas/interfaces/calendar-event.js.map +1 -1
  58. package/dist/esm/schemas/interfaces/calendar-source.d.ts +4 -1
  59. package/dist/esm/schemas/interfaces/calendar-source.js.map +1 -1
  60. package/dist/esm/schemas/interfaces/calendar.d.ts +22 -4
  61. package/dist/esm/schemas/interfaces/calendar.js.map +1 -1
  62. package/dist/esm/schemas/interfaces/check-permission-options.d.ts +19 -0
  63. package/dist/esm/schemas/interfaces/check-permission-options.js +2 -0
  64. package/dist/esm/schemas/interfaces/check-permission-options.js.map +1 -0
  65. package/dist/esm/schemas/interfaces/create-calendar-options.d.ts +19 -6
  66. package/dist/esm/schemas/interfaces/create-calendar-options.js.map +1 -1
  67. package/dist/esm/schemas/interfaces/create-calendar-result.d.ts +12 -0
  68. package/dist/esm/schemas/interfaces/create-calendar-result.js +2 -0
  69. package/dist/esm/schemas/interfaces/create-calendar-result.js.map +1 -0
  70. package/dist/esm/schemas/interfaces/create-event-options.d.ts +86 -51
  71. package/dist/esm/schemas/interfaces/create-event-options.js.map +1 -1
  72. package/dist/esm/schemas/interfaces/create-event-result.d.ts +22 -0
  73. package/dist/esm/schemas/interfaces/create-event-result.js +2 -0
  74. package/dist/esm/schemas/interfaces/create-event-result.js.map +1 -0
  75. package/dist/esm/schemas/interfaces/create-event-with-prompt-options.d.ts +73 -36
  76. package/dist/esm/schemas/interfaces/create-event-with-prompt-options.js.map +1 -1
  77. package/dist/esm/schemas/interfaces/create-event-with-prompt-result.d.ts +23 -0
  78. package/dist/esm/schemas/interfaces/create-event-with-prompt-result.js +2 -0
  79. package/dist/esm/schemas/interfaces/create-event-with-prompt-result.js.map +1 -0
  80. package/dist/esm/schemas/interfaces/create-reminder-options.d.ts +42 -12
  81. package/dist/esm/schemas/interfaces/create-reminder-options.js.map +1 -1
  82. package/dist/esm/schemas/interfaces/create-reminder-result.d.ts +12 -0
  83. package/dist/esm/schemas/interfaces/create-reminder-result.js +2 -0
  84. package/dist/esm/schemas/interfaces/create-reminder-result.js.map +1 -0
  85. package/dist/esm/schemas/interfaces/create-reminders-list-options.d.ts +46 -0
  86. package/dist/esm/schemas/interfaces/create-reminders-list-options.js +2 -0
  87. package/dist/esm/schemas/interfaces/create-reminders-list-options.js.map +1 -0
  88. package/dist/esm/schemas/interfaces/create-reminders-list-result.d.ts +12 -0
  89. package/dist/esm/schemas/interfaces/create-reminders-list-result.js +2 -0
  90. package/dist/esm/schemas/interfaces/create-reminders-list-result.js.map +1 -0
  91. package/dist/esm/schemas/interfaces/delete-calendar-options.d.ts +1 -0
  92. package/dist/esm/schemas/interfaces/delete-calendar-options.js.map +1 -1
  93. package/dist/esm/schemas/interfaces/delete-event-options.d.ts +29 -4
  94. package/dist/esm/schemas/interfaces/delete-event-options.js.map +1 -1
  95. package/dist/esm/schemas/interfaces/delete-event-with-prompt-options.d.ts +39 -14
  96. package/dist/esm/schemas/interfaces/delete-event-with-prompt-options.js.map +1 -1
  97. package/dist/esm/schemas/interfaces/delete-events-by-id-options.d.ts +16 -4
  98. package/dist/esm/schemas/interfaces/delete-events-by-id-options.js.map +1 -1
  99. package/dist/esm/schemas/interfaces/delete-reminder-options.d.ts +10 -0
  100. package/dist/esm/schemas/interfaces/delete-reminder-options.js.map +1 -1
  101. package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-result.d.ts +12 -0
  102. package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-result.js +2 -0
  103. package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-result.js.map +1 -0
  104. package/dist/esm/schemas/interfaces/delete-reminders-by-id-result.d.ts +13 -0
  105. package/dist/esm/schemas/interfaces/delete-reminders-by-id-result.js +2 -0
  106. package/dist/esm/schemas/interfaces/delete-reminders-by-id-result.js.map +1 -0
  107. package/dist/esm/schemas/interfaces/delete-reminders-list-options.d.ts +23 -0
  108. package/dist/esm/schemas/interfaces/delete-reminders-list-options.js +2 -0
  109. package/dist/esm/schemas/interfaces/delete-reminders-list-options.js.map +1 -0
  110. package/dist/esm/schemas/interfaces/event-recurrence-rule.d.ts +96 -0
  111. package/dist/esm/schemas/interfaces/event-recurrence-rule.js +2 -0
  112. package/dist/esm/schemas/interfaces/event-recurrence-rule.js.map +1 -0
  113. package/dist/esm/schemas/interfaces/fetch-all-calendar-sources-result.d.ts +13 -0
  114. package/dist/esm/schemas/interfaces/fetch-all-calendar-sources-result.js +2 -0
  115. package/dist/esm/schemas/interfaces/fetch-all-calendar-sources-result.js.map +1 -0
  116. package/dist/esm/schemas/interfaces/get-default-calendar-options.d.ts +13 -0
  117. package/dist/esm/schemas/interfaces/get-default-calendar-options.js +2 -0
  118. package/dist/esm/schemas/interfaces/get-default-calendar-options.js.map +1 -0
  119. package/dist/esm/schemas/interfaces/get-default-reminders-list-result.d.ts +13 -0
  120. package/dist/esm/schemas/interfaces/get-default-reminders-list-result.js +2 -0
  121. package/dist/esm/schemas/interfaces/get-default-reminders-list-result.js.map +1 -0
  122. package/dist/esm/schemas/interfaces/get-reminder-by-id-result.d.ts +13 -0
  123. package/dist/esm/schemas/interfaces/get-reminder-by-id-result.js +2 -0
  124. package/dist/esm/schemas/interfaces/get-reminder-by-id-result.js.map +1 -0
  125. package/dist/esm/schemas/interfaces/get-reminders-from-lists-result.d.ts +13 -0
  126. package/dist/esm/schemas/interfaces/get-reminders-from-lists-result.js +2 -0
  127. package/dist/esm/schemas/interfaces/get-reminders-from-lists-result.js.map +1 -0
  128. package/dist/esm/schemas/interfaces/get-reminders-lists-result.d.ts +13 -0
  129. package/dist/esm/schemas/interfaces/get-reminders-lists-result.js +2 -0
  130. package/dist/esm/schemas/interfaces/get-reminders-lists-result.js.map +1 -0
  131. package/dist/esm/schemas/interfaces/list-calendars-result.d.ts +13 -0
  132. package/dist/esm/schemas/interfaces/list-calendars-result.js +2 -0
  133. package/dist/esm/schemas/interfaces/list-calendars-result.js.map +1 -0
  134. package/dist/esm/schemas/interfaces/list-events-in-range-options.d.ts +7 -2
  135. package/dist/esm/schemas/interfaces/list-events-in-range-options.js.map +1 -1
  136. package/dist/esm/schemas/interfaces/list-events-in-range-result.d.ts +13 -0
  137. package/dist/esm/schemas/interfaces/list-events-in-range-result.js +2 -0
  138. package/dist/esm/schemas/interfaces/list-events-in-range-result.js.map +1 -0
  139. package/dist/esm/schemas/interfaces/modify-calendar-options.d.ts +13 -2
  140. package/dist/esm/schemas/interfaces/modify-calendar-options.js.map +1 -1
  141. package/dist/esm/schemas/interfaces/modify-event-options.d.ts +61 -44
  142. package/dist/esm/schemas/interfaces/modify-event-options.js.map +1 -1
  143. package/dist/esm/schemas/interfaces/modify-event-with-prompt-options.d.ts +77 -2
  144. package/dist/esm/schemas/interfaces/modify-event-with-prompt-options.js.map +1 -1
  145. package/dist/esm/schemas/interfaces/modify-reminder-options.d.ts +77 -13
  146. package/dist/esm/schemas/interfaces/modify-reminder-options.js.map +1 -1
  147. package/dist/esm/schemas/interfaces/open-calendar-options.d.ts +5 -1
  148. package/dist/esm/schemas/interfaces/open-calendar-options.js.map +1 -1
  149. package/dist/esm/schemas/interfaces/recurrence-rule.d.ts +8 -2
  150. package/dist/esm/schemas/interfaces/recurrence-rule.js.map +1 -1
  151. package/dist/esm/schemas/interfaces/reminder-recurrence-rule.d.ts +1 -1
  152. package/dist/esm/schemas/interfaces/reminder-recurrence-rule.js.map +1 -1
  153. package/dist/esm/schemas/interfaces/reminder.d.ts +4 -1
  154. package/dist/esm/schemas/interfaces/reminder.js.map +1 -1
  155. package/dist/esm/schemas/interfaces/reminders-list.d.ts +8 -2
  156. package/dist/esm/schemas/interfaces/reminders-list.js.map +1 -1
  157. package/dist/esm/schemas/interfaces/request-permission-options.d.ts +16 -0
  158. package/dist/esm/schemas/interfaces/request-permission-options.js +2 -0
  159. package/dist/esm/schemas/interfaces/request-permission-options.js.map +1 -0
  160. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-options.d.ts +1 -1
  161. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-options.js.map +1 -1
  162. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-result.d.ts +14 -0
  163. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-result.js +2 -0
  164. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-result.js.map +1 -0
  165. package/dist/esm/schemas/interfaces/update-reminders-list-options.d.ts +43 -0
  166. package/dist/esm/schemas/interfaces/update-reminders-list-options.js +2 -0
  167. package/dist/esm/schemas/interfaces/update-reminders-list-options.js.map +1 -0
  168. package/dist/esm/schemas/interfaces/update-reminders-list-result.d.ts +12 -0
  169. package/dist/esm/schemas/interfaces/update-reminders-list-result.js +2 -0
  170. package/dist/esm/schemas/interfaces/update-reminders-list-result.js.map +1 -0
  171. package/dist/esm/schemas/types/event-edit-action.d.ts +1 -1
  172. package/dist/esm/schemas/types/event-edit-action.js.map +1 -1
  173. package/dist/esm/schemas/types/recurrence-frequency.d.ts +4 -0
  174. package/dist/esm/schemas/types/recurrence-frequency.js +2 -0
  175. package/dist/esm/schemas/types/recurrence-frequency.js.map +1 -0
  176. package/dist/esm/schemas/types/system-color-name.d.ts +6 -0
  177. package/dist/esm/schemas/types/system-color-name.js +2 -0
  178. package/dist/esm/schemas/types/system-color-name.js.map +1 -0
  179. package/dist/esm/sub-definitions/calendar-access.d.ts +26 -14
  180. package/dist/esm/sub-definitions/calendar-access.js.map +1 -1
  181. package/dist/esm/sub-definitions/calendar-operations.d.ts +68 -21
  182. package/dist/esm/sub-definitions/calendar-operations.js.map +1 -1
  183. package/dist/esm/sub-definitions/event-operations.d.ts +46 -25
  184. package/dist/esm/sub-definitions/event-operations.js.map +1 -1
  185. package/dist/esm/sub-definitions/reminders-access.d.ts +6 -2
  186. package/dist/esm/sub-definitions/reminders-access.js.map +1 -1
  187. package/dist/esm/sub-definitions/reminders-operations.d.ts +78 -43
  188. package/dist/esm/sub-definitions/reminders-operations.js.map +1 -1
  189. package/dist/esm/web/download-ics-file.d.ts +18 -0
  190. package/dist/esm/web/download-ics-file.js +33 -0
  191. package/dist/esm/web/download-ics-file.js.map +1 -0
  192. package/dist/esm/web/ics.d.ts +27 -0
  193. package/dist/esm/web/ics.js +294 -0
  194. package/dist/esm/web/ics.js.map +1 -0
  195. package/dist/esm/web.d.ts +70 -82
  196. package/dist/esm/web.js +121 -6
  197. package/dist/esm/web.js.map +1 -1
  198. package/dist/plugin.cjs.js +479 -35
  199. package/dist/plugin.cjs.js.map +1 -1
  200. package/dist/plugin.js +479 -35
  201. package/dist/plugin.js.map +1 -1
  202. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/CapacitorCalendarPlugin.swift +190 -77
  203. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Implementation/CapacitorCalendar.swift +203 -110
  204. package/ios/Plugin/Info.plist +24 -0
  205. package/ios/Plugin/Models/Enums/EventSpan.swift +8 -0
  206. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateCalendarInput.swift +6 -4
  207. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateEventInput.swift +25 -21
  208. package/ios/Plugin/Models/Inputs/CreateEventWithPromptInput.swift +171 -0
  209. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateReminderInput.swift +14 -4
  210. package/ios/Plugin/Models/Inputs/CreateRemindersListInput.swift +43 -0
  211. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteCalendarInput.swift +1 -1
  212. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventInput.swift +9 -4
  213. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventWithPromptInput.swift +9 -4
  214. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventsByIdInput.swift +9 -4
  215. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteReminderInput.swift +7 -1
  216. package/ios/Plugin/Models/Inputs/DeleteRemindersListInput.swift +22 -0
  217. package/ios/Plugin/Models/Inputs/GetDefaultCalendarInput.swift +13 -0
  218. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyCalendarInput.swift +6 -3
  219. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventInput.swift +63 -41
  220. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyReminderInput.swift +66 -5
  221. package/ios/Plugin/Models/Inputs/UpdateRemindersListInput.swift +41 -0
  222. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateEventResult.swift +1 -0
  223. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateEventWithPromptResult.swift +1 -0
  224. package/ios/Plugin/Models/Results/CreateRemindersListResult.swift +15 -0
  225. package/ios/Plugin/Models/Results/ListEventsInRangeResult.swift +29 -0
  226. package/ios/Plugin/Models/Results/UpdateRemindersListResult.swift +15 -0
  227. package/ios/Plugin/Models/Structs/RecurrenceInput.swift +41 -0
  228. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginConfig.swift +30 -27
  229. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginError.swift +87 -56
  230. package/ios/Plugin/Utils/DeclarationCheck.swift +63 -0
  231. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Utils/ImplementationHelper.swift +140 -24
  232. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Utils/UIColorFromHexExtension.swift +5 -0
  233. package/package.json +36 -43
  234. package/dist/esm/schemas/enums/recurrence-frequency.d.ts +0 -21
  235. package/dist/esm/schemas/enums/recurrence-frequency.js +0 -23
  236. package/dist/esm/schemas/enums/recurrence-frequency.js.map +0 -1
  237. package/ios/Sources/CapacitorCalendarPlugin/Models/Inputs/CreateEventWithPromptInput.swift +0 -89
  238. package/ios/Sources/CapacitorCalendarPlugin/Models/Results/ListEventsInRangeResult.swift +0 -16
  239. package/ios/Tests/CapacitorCalendarPluginTests/CapacitorCalendarPluginTests.swift +0 -15
  240. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/CAPPermissionState.swift +0 -0
  241. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/CalendarPermissionScope.swift +0 -0
  242. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/EventEditAction.swift +0 -0
  243. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CheckPermissionInput.swift +0 -0
  244. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteReminderWithPromptInput.swift +0 -0
  245. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteRemindersByIdInput.swift +0 -0
  246. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/GetReminderByIdInput.swift +0 -0
  247. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/GetRemindersFromListsInput.swift +0 -0
  248. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ListEventsInRangeInput.swift +0 -0
  249. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventWithPromptInput.swift +0 -0
  250. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/OpenCalendarInput.swift +0 -0
  251. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/RequestPermissionInput.swift +0 -0
  252. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/SelectCalendarsWithPromptInput.swift +0 -0
  253. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CheckAllPermissionsResult.swift +0 -0
  254. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CheckPermissionResult.swift +0 -0
  255. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateCalendarResult.swift +0 -0
  256. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateReminderResult.swift +0 -0
  257. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteEventWithPromptResult.swift +0 -0
  258. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteEventsByIdResult.swift +0 -0
  259. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteRemindersByIdResult.swift +0 -0
  260. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/FetchAllCalendarSourcesResult.swift +0 -0
  261. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetDefaultCalendarResult.swift +0 -0
  262. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetReminderByIdResult.swift +0 -0
  263. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetRemindersFromListsResult.swift +0 -0
  264. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ListCalendarsResult.swift +0 -0
  265. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ModifyEventWithPromptResult.swift +0 -0
  266. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/RequestAllPermissionsResult.swift +0 -0
  267. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/RequestPermissionResult.swift +0 -0
  268. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/SelectCalendarsWithPromptResult.swift +0 -0
  269. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Templates/JSResult.swift +0 -0
package/README.md CHANGED
@@ -1,111 +1,369 @@
1
- <p align="center">
2
- <img src="assets/images/text-logo.png" alt="capacitor-calendar-logo" height="136"/>
3
- <br>
4
- <em>A capacitor plugin for managing calendar events on iOS and Android, with reminders support on iOS.</em>
5
- </p>
1
+ # @ebarooni/capacitor-calendar
6
2
 
7
- <p align="center">
8
- <img src="https://img.shields.io/maintenance/yes/2025?style=flat-square" />
3
+ <p>
4
+ <img src="https://img.shields.io/maintenance/yes/2026?style=flat-square" />
9
5
  <a href="https://www.npmjs.com/package/@ebarooni/capacitor-calendar">
10
6
  <img src="https://img.shields.io/npm/l/@ebarooni/capacitor-calendar?style=flat-square" />
11
7
  </a>
12
- <br>
13
8
  <a href="https://www.npmjs.com/package/@ebarooni/capacitor-calendar">
14
- <img src="https://img.shields.io/npm/dw/@ebarooni/capacitor-calendar?style=flat-square" />
9
+ <img src="https://img.shields.io/npm/dm/@ebarooni/capacitor-calendar?style=flat-square" />
15
10
  </a>
16
11
  <a href="https://www.npmjs.com/package/@ebarooni/capacitor-calendar">
17
- <img src="https://img.shields.io/npm/v/@ebarooni/capacitor-calendar?style=flat-square" />
12
+ <img src="https://img.shields.io/npm/v/@ebarooni/capacitor-calendar/latest-7?style=flat-square" />
13
+ </a>
14
+ <a href="https://capacitorjs.com/">
15
+ <img src="https://img.shields.io/badge/Capacitor-7.x-119EFF.svg?style=flat-square" />
16
+ </a>
17
+ <a href="mcp/README.md">
18
+ <img src="https://img.shields.io/badge/MCP-161b22?style=flat&logo=modelcontextprotocol&logoColor=5FB8AF" />
18
19
  </a>
19
20
  </p>
20
21
 
22
+ ![capacitor-calendar-logo](assets/images/text-logo.png)
23
+
24
+ `@ebarooni/capacitor-calendar` connects your Capacitor app to the native calendar. On iOS and Android, create, edit, and list events, and manage calendars and permissions. iOS also supports reminders. On the web, the plugin builds a downloadable `.ics` file; it does not write to a device calendar.
25
+
21
26
  ## Table of Contents
22
27
 
23
- - [Installation](#installation)
28
+ - [Features and Platforms](#features-and-platforms)
24
29
  - [Demo](#demo)
30
+ - [Why this plugin?](#why-this-plugin)
31
+ - [MCP Server](#mcp-server)
32
+ - [Capacitor Compatibility](#capacitor-compatibility)
33
+ - [Installation](#installation)
25
34
  - [Setup](#setup)
35
+ - [Error codes](#error-codes)
36
+ - [Quick Start](#quick-start)
37
+ - [Usage Examples](#usage-examples)
26
38
  - [Documentation](#documentation)
27
39
  - [Changelog](#changelog)
40
+ - [Breaking Changes](#breaking-changes)
28
41
  - [API](#api)
29
42
  - [Contributing](#contributing)
30
43
  - [License](#license)
31
44
 
45
+ ## Features and Platforms
46
+
47
+ | Capability | iOS | Android | Web |
48
+ | :------------------------------------------------ | :-: | :-----: | :-----------: |
49
+ | Create, update, and delete events | ✅ | ✅ | Create only\* |
50
+ | Native prompts to create, edit, and delete events | ✅ | ✅ | Create only\* |
51
+ | List events in a date range | ✅ | ✅ | – |
52
+ | Request calendar permissions | ✅ | ✅ | – |
53
+ | List, create, modify, and delete calendars | ✅ | ✅ | – |
54
+ | Open the native Calendar app | ✅ | ✅ | – |
55
+ | Calendar sources and a calendar picker prompt | ✅ | – | – |
56
+ | Reminders and reminder lists | ✅ | – | – |
57
+
58
+ \* On the web, `createEvent` and `createEventWithPrompt` return a downloadable `.ics` file. They do not write to a device calendar. See [Create and download an event on the web](#create-and-download-an-event-on-the-web).
59
+
60
+ ## Demo
61
+
62
+ | iOS | Android |
63
+ | :-----------------------------: | :---------------------------------: |
64
+ | ![](./assets/demo/ios-demo.gif) | ![](./assets/demo/android-demo.gif) |
65
+
66
+ **Web:** Run the example app in a browser. Use **Create event** or **Create event with prompt** for `.ics` export. Unsupported actions are disabled.
67
+
68
+ ## Why this plugin?
69
+
70
+ - **Established.** Available since Capacitor 5, with years of real-world use behind it.
71
+ - **Actively maintained.** The original author still owns the codebase and ships fixes and features.
72
+ - **Fast support.** Questions and bug reports get quick answers.
73
+ - **Lower vendor risk.** Relying on one plugin author for everything is risky. Independent, focused maintainers keep your stack resilient.
74
+
75
+ ## MCP Server
76
+
77
+ `@ebarooni/capacitor-calendar` ships an official [MCP](https://modelcontextprotocol.io) server. It gives AI coding assistants accurate, grounded knowledge of the plugin.
78
+
79
+ ```bash
80
+ docker run --rm -d --name capacitor-calendar-mcp -p 8080:8080 ghcr.io/ebarooni/capacitor-calendar-mcp:1.2.0
81
+ ```
82
+
83
+ See [`mcp/README.md`](mcp/README.md) for client configuration and full details.
84
+
85
+ ## Capacitor Compatibility
86
+
87
+ Match the npm tag to your Capacitor major. The `latest` and `latest-7` packages are intended to stay in feature parity.
88
+
89
+ | Capacitor | npm tag | Version |
90
+ | :-------- | :--------- | :------------------------------------------------------------------------------------------------------------------------- |
91
+ | `8.x` | `latest` | ![npm@latest](https://img.shields.io/npm/v/@ebarooni/capacitor-calendar/latest?label=npm%40latest&style=flat-square) |
92
+ | `7.x` | `latest-7` | ![npm@latest-7](https://img.shields.io/npm/v/@ebarooni/capacitor-calendar/latest-7?label=npm%40latest-7&style=flat-square) |
93
+
32
94
  ## Installation
33
95
 
96
+ **Capacitor 8:**
97
+
34
98
  ```bash
35
99
  npm install @ebarooni/capacitor-calendar
100
+ # or: npm install @ebarooni/capacitor-calendar@latest
36
101
  npx cap sync
37
102
  ```
38
103
 
39
- ## Demo
104
+ **Capacitor 7:**
40
105
 
41
- | iOS 18 | Android 15 |
42
- | :-----------------------------: | :---------------------------------: |
43
- | ![](./assets/demo/ios-demo.gif) | ![](./assets/demo/android-demo.gif) |
106
+ ```bash
107
+ npm install @ebarooni/capacitor-calendar@latest-7
108
+ npx cap sync
109
+ ```
44
110
 
45
111
  ## Setup
46
112
 
47
- This plugin requires additional platform-specific configuration. Follow the official guides:
113
+ This plugin works with native calendar APIs, so you need to configure permissions on each platform before you request access at runtime. After setup, see [Quick Start](#quick-start) to request permissions in code.
114
+
115
+ ### Android
116
+
117
+ Add these permissions to `android/app/src/main/AndroidManifest.xml`:
118
+
119
+ ```xml
120
+ <uses-permission android:name="android.permission.READ_CALENDAR" />
121
+ <uses-permission android:name="android.permission.WRITE_CALENDAR" />
122
+ ```
123
+
124
+ Request the matching runtime permissions before you read from or write to the calendar.
125
+
126
+ ### iOS
127
+
128
+ Add the appropriate usage description keys to `ios/App/App/Info.plist`. Starting with iOS 17, Apple requires separate keys for write-only and full calendar access.
129
+
130
+ ```xml
131
+ <key>NSCalendarsUsageDescription</key>
132
+ <string>This app needs access to your calendar.</string>
133
+
134
+ <key>NSCalendarsWriteOnlyAccessUsageDescription</key>
135
+ <string>This app needs permission to create calendar events.</string>
136
+
137
+ <key>NSCalendarsFullAccessUsageDescription</key>
138
+ <string>This app needs permission to read and manage your calendar events.</string>
139
+
140
+ <key>NSRemindersUsageDescription</key>
141
+ <string>This app needs access to your reminders.</string>
142
+
143
+ <key>NSRemindersFullAccessUsageDescription</key>
144
+ <string>This app needs permission to read and manage your reminders.</string>
145
+ ```
146
+
147
+ > [!IMPORTANT]
148
+ > Only include the keys your app actually needs. If you only create events, you can omit the full access and reminders entries.
149
+
150
+ ### Official References
48
151
 
49
152
  - **iOS:** [Migrating to the Latest Calendar Access Levels](https://developer.apple.com/documentation/technotes/tn3152-migrating-to-the-latest-calendar-access-levels)
50
153
  - **Android:** [Calendar Provider User Permissions](https://developer.android.com/identity/providers/calendar-provider#manifest)
51
154
 
155
+ ## Error codes
156
+
157
+ On Android and iOS, a rejected call can expose `error.code` (stable category) and `error.message` (exact cause). Compare codes with the exported `CapacitorCalendarErrorCode` enum.
158
+
159
+ Defined codes:
160
+
161
+ | Code | Name | When |
162
+ | :------------- | :------------------- | :------------------------------------------------------------------------------ |
163
+ | `EB-CLDR-0100` | `MissingDeclaration` | Required Info.plist usage description or AndroidManifest permission is not set. |
164
+
165
+ ## Quick Start
166
+
167
+ The sample below is for Android and iOS. For Web, see [Create and download an event on the web](#create-and-download-an-event-on-the-web).
168
+
169
+ ```typescript
170
+ import { CapacitorCalendar } from '@ebarooni/capacitor-calendar';
171
+
172
+ const { result } = await CapacitorCalendar.requestFullCalendarAccess();
173
+
174
+ if (result !== 'granted') {
175
+ throw new Error('Calendar permission denied');
176
+ }
177
+
178
+ // Create an event starting in 1 hour, lasting 1 hour
179
+ const startDate = Date.now() + 60 * 60 * 1000;
180
+ const endDate = startDate + 60 * 60 * 1000;
181
+
182
+ const { id } = await CapacitorCalendar.createEvent({
183
+ title: 'Product review',
184
+ location: 'Office',
185
+ startDate,
186
+ endDate,
187
+ description: 'Created with @ebarooni/capacitor-calendar',
188
+ });
189
+
190
+ console.log('Event created with ID:', id);
191
+ ```
192
+
193
+ > [!NOTE]
194
+ > Dates are expected as Unix timestamps in milliseconds.
195
+
196
+ ## Usage Examples
197
+
198
+ ### Create and download an event on the web
199
+
200
+ On Web, `createEvent` and `createEventWithPrompt` build an `.ics` file. They do not write to a calendar store. Use `autoDownloadIcsFile` (defaults: `false` on `createEvent`, `true` on `createEventWithPrompt`) or `downloadIcsFile`. Permission APIs are unimplemented. For details, see MCP `docs://web-behavior` ([`mcp/README.md`](mcp/README.md)).
201
+
202
+ ```typescript
203
+ import { CapacitorCalendar } from '@ebarooni/capacitor-calendar';
204
+
205
+ const startDate = Date.now() + 60 * 60 * 1000;
206
+ const endDate = startDate + 60 * 60 * 1000;
207
+
208
+ const { ics } = await CapacitorCalendar.createEvent({
209
+ title: 'Team standup',
210
+ startDate,
211
+ endDate,
212
+ icsFileName: 'team-standup.ics',
213
+ autoDownloadIcsFile: true,
214
+ });
215
+ ```
216
+
217
+ ### Open the native event editor
218
+
219
+ Use the system calendar UI to let users create or edit events (on Web: confirm dialog + ICS):
220
+
221
+ ```typescript
222
+ await CapacitorCalendar.createEventWithPrompt({
223
+ title: 'Planning session',
224
+ location: 'Office',
225
+ startDate: Date.now() + 24 * 60 * 60 * 1000,
226
+ endDate: Date.now() + 25 * 60 * 60 * 1000,
227
+ });
228
+ ```
229
+
230
+ > [!NOTE]
231
+ > On Android, this method always returns null for `id`. If you need the event ID, call `listEventsInRange(...)` afterward. On Web, cancel resolves with `ics: null`.
232
+
233
+ ### Modify or delete an event
234
+
235
+ The sample below is for Android and iOS. Use an `id` from `createEvent` or `listEventsInRange`:
236
+
237
+ ```typescript
238
+ await CapacitorCalendar.modifyEvent({
239
+ id: eventId,
240
+ title: 'Updated title',
241
+ });
242
+
243
+ await CapacitorCalendar.deleteEvent({
244
+ id: eventId,
245
+ });
246
+ ```
247
+
248
+ ### List events in a range
249
+
250
+ `listEventsInRange` returns events that overlap the given range, not only events that start or end inside it. Multi-day events that span the interval are included.
251
+
252
+ ```typescript
253
+ const now = Date.now();
254
+ const oneWeekLater = now + 7 * 24 * 60 * 60 * 1000;
255
+
256
+ const { result: events } = await CapacitorCalendar.listEventsInRange({
257
+ from: now,
258
+ to: oneWeekLater,
259
+ });
260
+
261
+ console.log('Upcoming events:', events);
262
+ ```
263
+
264
+ To list events on a single day, use that day's bounds:
265
+
266
+ ```typescript
267
+ const startOfDay = new Date();
268
+ startOfDay.setHours(0, 0, 0, 0);
269
+ const startOfNextDay = new Date(startOfDay);
270
+ startOfNextDay.setDate(startOfNextDay.getDate() + 1);
271
+
272
+ const { result: todaysEvents } = await CapacitorCalendar.listEventsInRange({
273
+ from: startOfDay.getTime(),
274
+ to: startOfNextDay.getTime(),
275
+ });
276
+ ```
277
+
278
+ ### Working with Calendars
279
+
280
+ ```typescript
281
+ // Get all calendars and default calendar
282
+ const { result: calendars } = await CapacitorCalendar.listCalendars();
283
+ const { result: defaultCalendar } = await CapacitorCalendar.getDefaultCalendar();
284
+
285
+ // Use default or fall back to first calendar
286
+ const targetCalendarId = defaultCalendar?.id ?? calendars[0]?.id;
287
+ ```
288
+
289
+ > [!NOTE]
290
+ > On iOS you can also use `selectCalendarsWithPrompt()` to let the user pick calendars via the native interface.
291
+
292
+ ### Create a Reminder (iOS only)
293
+
294
+ ```typescript
295
+ const { result } = await CapacitorCalendar.requestFullRemindersAccess();
296
+
297
+ if (result === 'granted') {
298
+ await CapacitorCalendar.createReminder({
299
+ title: 'Send launch notes',
300
+ dueDate: Date.now() + 2 * 24 * 60 * 60 * 1000,
301
+ notes: 'Created with @ebarooni/capacitor-calendar',
302
+ });
303
+ }
304
+ ```
305
+
52
306
  ## Documentation
53
307
 
54
- For comprehensive usage examples, detailed explanations, and API references, check out:
308
+ The full documentation is generated from TypeScript definitions and is available online:
55
309
 
56
- - **[Online documentation](https://ebarooni.github.io/capacitor-calendar/)**
57
- - **[Type definitions & examples](src/definitions.ts)**
310
+ - **[Complete Documentation](https://ebarooni.github.io/capacitor-calendar/)** — Guides, examples, and full API reference (recommended)
311
+ - **[Source Definitions](src/definitions.ts)** — The TypeScript source used to generate the docs
58
312
 
59
313
  ## Changelog
60
314
 
61
315
  See [CHANGELOG.md](CHANGELOG.md) for the latest updates and release history.
62
316
 
63
- > [!NOTE]
64
- > Version 7.1.0 introduces breaking changes.
317
+ ## Breaking Changes
318
+
319
+ See [BREAKING.md](BREAKING.md) for breaking changes and migration steps.
65
320
 
66
321
  ## API
67
322
 
68
323
  <docgen-index>
69
324
 
70
- * [`checkPermission(...)`](#checkpermission)
71
- * [`checkAllPermissions()`](#checkallpermissions)
72
- * [`requestPermission(...)`](#requestpermission)
73
- * [`requestAllPermissions()`](#requestallpermissions)
74
- * [`requestWriteOnlyCalendarAccess()`](#requestwriteonlycalendaraccess)
75
- * [`requestReadOnlyCalendarAccess()`](#requestreadonlycalendaraccess)
76
- * [`requestFullCalendarAccess()`](#requestfullcalendaraccess)
77
- * [`requestFullRemindersAccess()`](#requestfullremindersaccess)
78
- * [`createEventWithPrompt(...)`](#createeventwithprompt)
79
- * [`modifyEventWithPrompt(...)`](#modifyeventwithprompt)
80
- * [`createEvent(...)`](#createevent)
81
- * [`modifyEvent(...)`](#modifyevent)
82
- * [`deleteEventsById(...)`](#deleteeventsbyid)
83
- * [`deleteEvent(...)`](#deleteevent)
84
- * [`deleteEventWithPrompt(...)`](#deleteeventwithprompt)
85
- * [`listEventsInRange(...)`](#listeventsinrange)
86
- * [`commit()`](#commit)
87
- * [`selectCalendarsWithPrompt(...)`](#selectcalendarswithprompt)
88
- * [`fetchAllCalendarSources()`](#fetchallcalendarsources)
89
- * [`listCalendars()`](#listcalendars)
90
- * [`getDefaultCalendar()`](#getdefaultcalendar)
91
- * [`openCalendar(...)`](#opencalendar)
92
- * [`createCalendar(...)`](#createcalendar)
93
- * [`deleteCalendar(...)`](#deletecalendar)
94
- * [`modifyCalendar(...)`](#modifycalendar)
95
- * [`fetchAllRemindersSources()`](#fetchallreminderssources)
96
- * [`openReminders()`](#openreminders)
97
- * [`getDefaultRemindersList()`](#getdefaultreminderslist)
98
- * [`getRemindersLists()`](#getreminderslists)
99
- * [`createReminder(...)`](#createreminder)
100
- * [`deleteRemindersById(...)`](#deleteremindersbyid)
101
- * [`deleteReminder(...)`](#deletereminder)
102
- * [`modifyReminder(...)`](#modifyreminder)
103
- * [`getReminderById(...)`](#getreminderbyid)
104
- * [`getRemindersFromLists(...)`](#getremindersfromlists)
105
- * [`deleteReminderWithPrompt(...)`](#deletereminderwithprompt)
106
- * [Interfaces](#interfaces)
107
- * [Type Aliases](#type-aliases)
108
- * [Enums](#enums)
325
+ - [`checkPermission(...)`](#checkpermission)
326
+ - [`checkAllPermissions()`](#checkallpermissions)
327
+ - [`requestPermission(...)`](#requestpermission)
328
+ - [`requestAllPermissions()`](#requestallpermissions)
329
+ - [`requestWriteOnlyCalendarAccess()`](#requestwriteonlycalendaraccess)
330
+ - [`requestReadOnlyCalendarAccess()`](#requestreadonlycalendaraccess)
331
+ - [`requestFullCalendarAccess()`](#requestfullcalendaraccess)
332
+ - [`requestFullRemindersAccess()`](#requestfullremindersaccess)
333
+ - [`createEventWithPrompt(...)`](#createeventwithprompt)
334
+ - [`modifyEventWithPrompt(...)`](#modifyeventwithprompt)
335
+ - [`createEvent(...)`](#createevent)
336
+ - [`modifyEvent(...)`](#modifyevent)
337
+ - [`deleteEventsById(...)`](#deleteeventsbyid)
338
+ - [`deleteEvent(...)`](#deleteevent)
339
+ - [`deleteEventWithPrompt(...)`](#deleteeventwithprompt)
340
+ - [`listEventsInRange(...)`](#listeventsinrange)
341
+ - [`commit()`](#commit)
342
+ - [`selectCalendarsWithPrompt(...)`](#selectcalendarswithprompt)
343
+ - [`fetchAllCalendarSources()`](#fetchallcalendarsources)
344
+ - [`listCalendars()`](#listcalendars)
345
+ - [`getDefaultCalendar(...)`](#getdefaultcalendar)
346
+ - [`openCalendar(...)`](#opencalendar)
347
+ - [`createCalendar(...)`](#createcalendar)
348
+ - [`deleteCalendar(...)`](#deletecalendar)
349
+ - [`modifyCalendar(...)`](#modifycalendar)
350
+ - [`createRemindersList(...)`](#createreminderslist)
351
+ - [`deleteRemindersList(...)`](#deletereminderslist)
352
+ - [`fetchAllRemindersSources()`](#fetchallreminderssources)
353
+ - [`openReminders()`](#openreminders)
354
+ - [`getDefaultRemindersList()`](#getdefaultreminderslist)
355
+ - [`getRemindersLists()`](#getreminderslists)
356
+ - [`createReminder(...)`](#createreminder)
357
+ - [`deleteRemindersById(...)`](#deleteremindersbyid)
358
+ - [`deleteReminder(...)`](#deletereminder)
359
+ - [`modifyReminder(...)`](#modifyreminder)
360
+ - [`getReminderById(...)`](#getreminderbyid)
361
+ - [`getRemindersFromLists(...)`](#getremindersfromlists)
362
+ - [`deleteReminderWithPrompt(...)`](#deletereminderwithprompt)
363
+ - [`updateRemindersList(...)`](#updatereminderslist)
364
+ - [Interfaces](#interfaces)
365
+ - [Type Aliases](#type-aliases)
366
+ - [Enums](#enums)
109
367
 
110
368
  </docgen-index>
111
369
 
@@ -115,14 +373,15 @@ See [CHANGELOG.md](CHANGELOG.md) for the latest updates and release history.
115
373
  ### checkPermission(...)
116
374
 
117
375
  ```typescript
118
- checkPermission(options: { scope: CalendarPermissionScope; }) => Promise<{ result: PermissionState; }>
376
+ checkPermission(options: CheckPermissionOptions) => Promise<{ result: PermissionState; }>
119
377
  ```
120
378
 
121
379
  Retrieves the current permission state for a given scope.
380
+ On Android, `readReminders` and `writeReminders` resolve to `"prompt"`.
122
381
 
123
- | Param | Type |
124
- | ------------- | --------------------------------------------------------------------------------------- |
125
- | **`options`** | <code>{ scope: <a href="#calendarpermissionscope">CalendarPermissionScope</a>; }</code> |
382
+ | Param | Type |
383
+ | ------------- | ------------------------------------------------------------------------- |
384
+ | **`options`** | <code><a href="#checkpermissionoptions">CheckPermissionOptions</a></code> |
126
385
 
127
386
  **Returns:** <code>Promise&lt;{ result: <a href="#permissionstate">PermissionState</a>; }&gt;</code>
128
387
 
@@ -130,8 +389,7 @@ Retrieves the current permission state for a given scope.
130
389
 
131
390
  **Platform:** Android, iOS
132
391
 
133
- --------------------
134
-
392
+ ---
135
393
 
136
394
  ### checkAllPermissions()
137
395
 
@@ -140,6 +398,7 @@ checkAllPermissions() => Promise<{ result: CheckAllPermissionsResult; }>
140
398
  ```
141
399
 
142
400
  Retrieves the current state of all permissions.
401
+ On Android, reminder keys always resolve to `"prompt"`.
143
402
 
144
403
  **Returns:** <code>Promise&lt;{ result: <a href="#checkallpermissionsresult">CheckAllPermissionsResult</a>; }&gt;</code>
145
404
 
@@ -147,20 +406,20 @@ Retrieves the current state of all permissions.
147
406
 
148
407
  **Platform:** Android, iOS
149
408
 
150
- --------------------
151
-
409
+ ---
152
410
 
153
411
  ### requestPermission(...)
154
412
 
155
413
  ```typescript
156
- requestPermission(options: { scope: CalendarPermissionScope; }) => Promise<{ result: PermissionState; }>
414
+ requestPermission(options: RequestPermissionOptions) => Promise<{ result: PermissionState; }>
157
415
  ```
158
416
 
159
417
  Requests permission for a given scope.
418
+ On Android, `readReminders` and `writeReminders` reject with `Invalid scope.`
160
419
 
161
- | Param | Type |
162
- | ------------- | --------------------------------------------------------------------------------------- |
163
- | **`options`** | <code>{ scope: <a href="#calendarpermissionscope">CalendarPermissionScope</a>; }</code> |
420
+ | Param | Type |
421
+ | ------------- | ----------------------------------------------------------------------------- |
422
+ | **`options`** | <code><a href="#requestpermissionoptions">RequestPermissionOptions</a></code> |
164
423
 
165
424
  **Returns:** <code>Promise&lt;{ result: <a href="#permissionstate">PermissionState</a>; }&gt;</code>
166
425
 
@@ -168,8 +427,7 @@ Requests permission for a given scope.
168
427
 
169
428
  **Platform:** Android, iOS
170
429
 
171
- --------------------
172
-
430
+ ---
173
431
 
174
432
  ### requestAllPermissions()
175
433
 
@@ -178,6 +436,7 @@ requestAllPermissions() => Promise<{ result: RequestAllPermissionsResult; }>
178
436
  ```
179
437
 
180
438
  Requests permission for all calendar and reminder permissions.
439
+ On Android, only calendar permissions are requested; reminder keys stay `"prompt"`.
181
440
 
182
441
  **Returns:** <code>Promise&lt;{ result: <a href="#checkallpermissionsresult">CheckAllPermissionsResult</a>; }&gt;</code>
183
442
 
@@ -185,8 +444,7 @@ Requests permission for all calendar and reminder permissions.
185
444
 
186
445
  **Platform:** Android, iOS
187
446
 
188
- --------------------
189
-
447
+ ---
190
448
 
191
449
  ### requestWriteOnlyCalendarAccess()
192
450
 
@@ -202,8 +460,7 @@ Requests write access to the calendar.
202
460
 
203
461
  **Platform:** Android, iOS
204
462
 
205
- --------------------
206
-
463
+ ---
207
464
 
208
465
  ### requestReadOnlyCalendarAccess()
209
466
 
@@ -219,8 +476,7 @@ Requests read access to the calendar.
219
476
 
220
477
  **Platform:** Android
221
478
 
222
- --------------------
223
-
479
+ ---
224
480
 
225
481
  ### requestFullCalendarAccess()
226
482
 
@@ -236,8 +492,7 @@ Requests read and write access to the calendar.
236
492
 
237
493
  **Platform:** Android, iOS
238
494
 
239
- --------------------
240
-
495
+ ---
241
496
 
242
497
  ### requestFullRemindersAccess()
243
498
 
@@ -246,6 +501,8 @@ requestFullRemindersAccess() => Promise<{ result: PermissionState; }>
246
501
  ```
247
502
 
248
503
  Requests read and write access to the reminders.
504
+ Resolves with `"granted"` or `"denied"` (never `"prompt"`).
505
+ A grant covers both `readReminders` and `writeReminders`.
249
506
 
250
507
  **Returns:** <code>Promise&lt;{ result: <a href="#permissionstate">PermissionState</a>; }&gt;</code>
251
508
 
@@ -253,31 +510,30 @@ Requests read and write access to the reminders.
253
510
 
254
511
  **Platform:** iOS
255
512
 
256
- --------------------
257
-
513
+ ---
258
514
 
259
515
  ### createEventWithPrompt(...)
260
516
 
261
517
  ```typescript
262
- createEventWithPrompt(options?: CreateEventWithPromptOptions | undefined) => Promise<{ id: string | null; }>
518
+ createEventWithPrompt(options?: CreateEventWithPromptOptions | undefined) => Promise<CreateEventWithPromptResult>
263
519
  ```
264
520
 
265
- Opens the system calendar interface to create a new event.
266
- On Android always returns `null`.
267
- Fetch the events to find the ID of the newly created event.
521
+ Opens a calendar UI to create an event.
522
+ On Android and iOS, opens the system editor. On Android, `id` is always `null`.
523
+ On Web, shows a confirm dialog, then builds an `.ics` `File` when the user confirms.
524
+ See MCP `docs://web-behavior` for Web details.
268
525
 
269
526
  | Param | Type |
270
527
  | ------------- | ------------------------------------------------------------------------------------- |
271
528
  | **`options`** | <code><a href="#createeventwithpromptoptions">CreateEventWithPromptOptions</a></code> |
272
529
 
273
- **Returns:** <code>Promise&lt;{ id: string | null; }&gt;</code>
530
+ **Returns:** <code>Promise&lt;<a href="#createeventwithpromptresult">CreateEventWithPromptResult</a>&gt;</code>
274
531
 
275
532
  **Since:** 0.1.0
276
533
 
277
- **Platform:** Android, iOS
278
-
279
- --------------------
534
+ **Platform:** Android, iOS, Web
280
535
 
536
+ ---
281
537
 
282
538
  ### modifyEventWithPrompt(...)
283
539
 
@@ -298,29 +554,29 @@ On Android always returns `null`.
298
554
 
299
555
  **Platform:** Android, iOS
300
556
 
301
- --------------------
302
-
557
+ ---
303
558
 
304
559
  ### createEvent(...)
305
560
 
306
561
  ```typescript
307
- createEvent(options: CreateEventOptions) => Promise<{ id: string; }>
562
+ createEvent(options: CreateEventOptions) => Promise<CreateEventResult>
308
563
  ```
309
564
 
310
565
  Creates an event in the calendar.
566
+ On Android and iOS, inserts into the system calendar and returns its `id`.
567
+ On Web, builds an `.ics` `File` as `ics` (no calendar store). See MCP `docs://web-behavior`.
311
568
 
312
569
  | Param | Type |
313
570
  | ------------- | ----------------------------------------------------------------- |
314
571
  | **`options`** | <code><a href="#createeventoptions">CreateEventOptions</a></code> |
315
572
 
316
- **Returns:** <code>Promise&lt;{ id: string; }&gt;</code>
573
+ **Returns:** <code>Promise&lt;<a href="#createeventresult">CreateEventResult</a>&gt;</code>
317
574
 
318
575
  **Since:** 0.4.0
319
576
 
320
- **Platform:** iOS, Android
321
-
322
- --------------------
577
+ **Platform:** Android, iOS, Web
323
578
 
579
+ ---
324
580
 
325
581
  ### modifyEvent(...)
326
582
 
@@ -338,8 +594,7 @@ Modifies an event.
338
594
 
339
595
  **Platform:** Android, iOS
340
596
 
341
- --------------------
342
-
597
+ ---
343
598
 
344
599
  ### deleteEventsById(...)
345
600
 
@@ -359,8 +614,7 @@ Deletes multiple events.
359
614
 
360
615
  **Platform:** Android, iOS
361
616
 
362
- --------------------
363
-
617
+ ---
364
618
 
365
619
  ### deleteEvent(...)
366
620
 
@@ -378,8 +632,7 @@ Deletes an event.
378
632
 
379
633
  **Platform:** Android, iOS
380
634
 
381
- --------------------
382
-
635
+ ---
383
636
 
384
637
  ### deleteEventWithPrompt(...)
385
638
 
@@ -399,29 +652,30 @@ Opens a dialog to delete an event.
399
652
 
400
653
  **Platform:** Android, iOS
401
654
 
402
- --------------------
403
-
655
+ ---
404
656
 
405
657
  ### listEventsInRange(...)
406
658
 
407
659
  ```typescript
408
- listEventsInRange(options: ListEventsInRangeOptions) => Promise<{ result: CalendarEvent[]; }>
660
+ listEventsInRange(options: ListEventsInRangeOptions) => Promise<ListEventsInRangeResult>
409
661
  ```
410
662
 
411
- Retrieves the events within a date range.
663
+ Retrieves events that overlap a date range.
664
+
665
+ An event is included when its time interval intersects `[from, to]`, including
666
+ multi-day events that span the range without starting or ending inside it.
412
667
 
413
668
  | Param | Type |
414
669
  | ------------- | ----------------------------------------------------------------------------- |
415
670
  | **`options`** | <code><a href="#listeventsinrangeoptions">ListEventsInRangeOptions</a></code> |
416
671
 
417
- **Returns:** <code>Promise&lt;{ result: CalendarEvent[]; }&gt;</code>
672
+ **Returns:** <code>Promise&lt;<a href="#listeventsinrangeresult">ListEventsInRangeResult</a>&gt;</code>
418
673
 
419
674
  **Since:** 0.10.0
420
675
 
421
676
  **Platform:** Android, iOS
422
677
 
423
- --------------------
424
-
678
+ ---
425
679
 
426
680
  ### commit()
427
681
 
@@ -429,86 +683,108 @@ Retrieves the events within a date range.
429
683
  commit() => Promise<void>
430
684
  ```
431
685
 
432
- Save the changes to the calendar.
686
+ Saves pending calendar changes.
433
687
 
434
688
  **Since:** 7.1.0
435
689
 
436
690
  **Platform:** iOS
437
691
 
438
- --------------------
439
-
692
+ ---
440
693
 
441
694
  ### selectCalendarsWithPrompt(...)
442
695
 
443
696
  ```typescript
444
- selectCalendarsWithPrompt(options?: SelectCalendarsWithPromptOptions | undefined) => Promise<{ result: Calendar[]; }>
697
+ selectCalendarsWithPrompt(options?: SelectCalendarsWithPromptOptions | undefined) => Promise<SelectCalendarsWithPromptResult>
445
698
  ```
446
699
 
447
700
  Opens a system interface to choose one or multiple calendars.
448
701
 
702
+ Calendar access is expected. Call `requestFullCalendarAccess()` first.
703
+ Without authorization the chooser can look empty.
704
+
705
+ On confirm, `result` contains the calendars the user selected.
706
+ On cancel, `result` is an empty array.
707
+
708
+ If a chooser is already presented, a new call is rejected; the in-flight
709
+ call continues until the user confirms or cancels.
710
+
449
711
  | Param | Type |
450
712
  | ------------- | --------------------------------------------------------------------------------------------- |
451
713
  | **`options`** | <code><a href="#selectcalendarswithpromptoptions">SelectCalendarsWithPromptOptions</a></code> |
452
714
 
453
- **Returns:** <code>Promise&lt;{ result: Calendar[]; }&gt;</code>
715
+ **Returns:** <code>Promise&lt;<a href="#selectcalendarswithpromptresult">SelectCalendarsWithPromptResult</a>&gt;</code>
454
716
 
455
717
  **Since:** 0.2.0
456
718
 
457
719
  **Platform:** iOS
458
720
 
459
- --------------------
460
-
721
+ ---
461
722
 
462
723
  ### fetchAllCalendarSources()
463
724
 
464
725
  ```typescript
465
- fetchAllCalendarSources() => Promise<{ result: CalendarSource[]; }>
726
+ fetchAllCalendarSources() => Promise<FetchAllCalendarSourcesResult>
466
727
  ```
467
728
 
468
729
  Retrieves a list of calendar sources.
469
730
 
470
- **Returns:** <code>Promise&lt;{ result: CalendarSource[]; }&gt;</code>
731
+ Requires calendar access. Without authorization, `result` is typically
732
+ an empty array. This method does not reject solely for missing permission.
733
+
734
+ **Returns:** <code>Promise&lt;<a href="#fetchallcalendarsourcesresult">FetchAllCalendarSourcesResult</a>&gt;</code>
471
735
 
472
736
  **Since:** 6.6.0
473
737
 
474
738
  **Platform:** iOS
475
739
 
476
- --------------------
477
-
740
+ ---
478
741
 
479
742
  ### listCalendars()
480
743
 
481
744
  ```typescript
482
- listCalendars() => Promise<{ result: Calendar[]; }>
745
+ listCalendars() => Promise<ListCalendarsResult>
483
746
  ```
484
747
 
485
748
  Retrieves a list of all available calendars.
486
749
 
487
- **Returns:** <code>Promise&lt;{ result: Calendar[]; }&gt;</code>
750
+ Requires calendar read access. On Android, missing permission typically
751
+ rejects. On iOS, missing authorization typically returns an empty `result`.
752
+
753
+ **Returns:** <code>Promise&lt;<a href="#listcalendarsresult">ListCalendarsResult</a>&gt;</code>
488
754
 
489
755
  **Since:** 7.1.0
490
756
 
491
757
  **Platform:** Android, iOS
492
758
 
493
- --------------------
759
+ ---
494
760
 
495
-
496
- ### getDefaultCalendar()
761
+ ### getDefaultCalendar(...)
497
762
 
498
763
  ```typescript
499
- getDefaultCalendar() => Promise<{ result: Calendar | null; }>
764
+ getDefaultCalendar(options?: GetDefaultCalendarOptions | undefined) => Promise<{ result: Calendar | null; }>
500
765
  ```
501
766
 
502
767
  Retrieves the default calendar.
503
768
 
769
+ Requires calendar read access. On Android, missing permission typically
770
+ rejects. On iOS, missing authorization typically yields `result: null`.
771
+
772
+ The system default is the primary calendar on Android and
773
+ `defaultCalendarForNewEvents` on iOS. When neither exists and
774
+ `useFallbackCalendar` is true, the first available calendar is returned.
775
+ Otherwise the method returns `null` when there is no system default.
776
+
777
+ | Param | Type |
778
+ | ------------- | ------------------------------------------------------------------------------- |
779
+ | **`options`** | <code><a href="#getdefaultcalendaroptions">GetDefaultCalendarOptions</a></code> |
780
+
504
781
  **Returns:** <code>Promise&lt;{ result: <a href="#calendar">Calendar</a> | null; }&gt;</code>
505
782
 
506
783
  **Since:** 0.3.0
507
784
 
508
785
  **Platform:** Android, iOS
509
786
 
510
- --------------------
511
-
787
+ ---
512
788
 
513
789
  ### openCalendar(...)
514
790
 
@@ -526,29 +802,30 @@ Opens the calendar app.
526
802
 
527
803
  **Platform:** Android, iOS
528
804
 
529
- --------------------
530
-
805
+ ---
531
806
 
532
807
  ### createCalendar(...)
533
808
 
534
809
  ```typescript
535
- createCalendar(options: CreateCalendarOptions) => Promise<{ id: string; }>
810
+ createCalendar(options: CreateCalendarOptions) => Promise<CreateCalendarResult>
536
811
  ```
537
812
 
538
813
  Creates a calendar.
539
814
 
815
+ `title` is required. `color` is optional and defaults to `#007AFF`.
816
+ On Android, `accountName` and `ownerAccount` are required at runtime.
817
+
540
818
  | Param | Type |
541
819
  | ------------- | ----------------------------------------------------------------------- |
542
820
  | **`options`** | <code><a href="#createcalendaroptions">CreateCalendarOptions</a></code> |
543
821
 
544
- **Returns:** <code>Promise&lt;{ id: string; }&gt;</code>
822
+ **Returns:** <code>Promise&lt;<a href="#createcalendarresult">CreateCalendarResult</a>&gt;</code>
545
823
 
546
824
  **Since:** 5.2.0
547
825
 
548
826
  **Platform:** Android, iOS
549
827
 
550
- --------------------
551
-
828
+ ---
552
829
 
553
830
  ### deleteCalendar(...)
554
831
 
@@ -566,8 +843,7 @@ Deletes a calendar by id.
566
843
 
567
844
  **Platform:** Android, iOS
568
845
 
569
- --------------------
570
-
846
+ ---
571
847
 
572
848
  ### modifyCalendar(...)
573
849
 
@@ -585,25 +861,61 @@ Modifies a calendar with options.
585
861
 
586
862
  **Platform:** Android, iOS
587
863
 
588
- --------------------
864
+ ---
865
+
866
+ ### createRemindersList(...)
867
+
868
+ ```typescript
869
+ createRemindersList(options: CreateRemindersListOptions) => Promise<CreateRemindersListResult>
870
+ ```
871
+
872
+ Creates a new reminders list.
873
+
874
+ | Param | Type |
875
+ | ------------- | --------------------------------------------------------------------------------- |
876
+ | **`options`** | <code><a href="#createreminderslistoptions">CreateRemindersListOptions</a></code> |
877
+
878
+ **Returns:** <code>Promise&lt;<a href="#createreminderslistresult">CreateRemindersListResult</a>&gt;</code>
879
+
880
+ **Since:** 7.3.0
881
+
882
+ **Platform:** iOS
883
+
884
+ ---
589
885
 
886
+ ### deleteRemindersList(...)
887
+
888
+ ```typescript
889
+ deleteRemindersList(options: DeleteRemindersListOptions) => Promise<void>
890
+ ```
891
+
892
+ Deletes a reminders list.
893
+
894
+ | Param | Type |
895
+ | ------------- | --------------------------------------------------------------------------------- |
896
+ | **`options`** | <code><a href="#deletereminderslistoptions">DeleteRemindersListOptions</a></code> |
897
+
898
+ **Since:** 7.3.0
899
+
900
+ **Platform:** iOS
901
+
902
+ ---
590
903
 
591
904
  ### fetchAllRemindersSources()
592
905
 
593
906
  ```typescript
594
- fetchAllRemindersSources() => Promise<{ result: CalendarSource[]; }>
907
+ fetchAllRemindersSources() => Promise<FetchAllCalendarSourcesResult>
595
908
  ```
596
909
 
597
910
  Retrieves a list of calendar sources.
598
911
 
599
- **Returns:** <code>Promise&lt;{ result: CalendarSource[]; }&gt;</code>
912
+ **Returns:** <code>Promise&lt;<a href="#fetchallcalendarsourcesresult">FetchAllCalendarSourcesResult</a>&gt;</code>
600
913
 
601
914
  **Since:** 6.6.0
602
915
 
603
916
  **Platform:** iOS
604
917
 
605
- --------------------
606
-
918
+ ---
607
919
 
608
920
  ### openReminders()
609
921
 
@@ -617,47 +929,44 @@ Opens the reminders app.
617
929
 
618
930
  **Platform:** iOS
619
931
 
620
- --------------------
621
-
932
+ ---
622
933
 
623
934
  ### getDefaultRemindersList()
624
935
 
625
936
  ```typescript
626
- getDefaultRemindersList() => Promise<{ result: RemindersList | null; }>
937
+ getDefaultRemindersList() => Promise<GetDefaultRemindersListResult>
627
938
  ```
628
939
 
629
940
  Retrieves the default reminders list.
630
941
 
631
- **Returns:** <code>Promise&lt;{ result: <a href="#calendar">Calendar</a> | null; }&gt;</code>
942
+ **Returns:** <code>Promise&lt;<a href="#getdefaultreminderslistresult">GetDefaultRemindersListResult</a>&gt;</code>
632
943
 
633
944
  **Since:** 7.1.0
634
945
 
635
946
  **Platform:** iOS
636
947
 
637
- --------------------
638
-
948
+ ---
639
949
 
640
950
  ### getRemindersLists()
641
951
 
642
952
  ```typescript
643
- getRemindersLists() => Promise<{ result: RemindersList[]; }>
953
+ getRemindersLists() => Promise<GetRemindersListsResult>
644
954
  ```
645
955
 
646
956
  Retrieves all available reminders lists.
647
957
 
648
- **Returns:** <code>Promise&lt;{ result: Calendar[]; }&gt;</code>
958
+ **Returns:** <code>Promise&lt;<a href="#getreminderslistsresult">GetRemindersListsResult</a>&gt;</code>
649
959
 
650
960
  **Since:** 7.1.0
651
961
 
652
962
  **Platform:** iOS
653
963
 
654
- --------------------
655
-
964
+ ---
656
965
 
657
966
  ### createReminder(...)
658
967
 
659
968
  ```typescript
660
- createReminder(options: CreateReminderOptions) => Promise<{ id: string; }>
969
+ createReminder(options: CreateReminderOptions) => Promise<CreateReminderResult>
661
970
  ```
662
971
 
663
972
  Creates a reminder.
@@ -666,14 +975,13 @@ Creates a reminder.
666
975
  | ------------- | ----------------------------------------------------------------------- |
667
976
  | **`options`** | <code><a href="#createreminderoptions">CreateReminderOptions</a></code> |
668
977
 
669
- **Returns:** <code>Promise&lt;{ id: string; }&gt;</code>
978
+ **Returns:** <code>Promise&lt;<a href="#createreminderresult">CreateReminderResult</a>&gt;</code>
670
979
 
671
980
  **Since:** 0.5.0
672
981
 
673
982
  **Platform:** iOS
674
983
 
675
- --------------------
676
-
984
+ ---
677
985
 
678
986
  ### deleteRemindersById(...)
679
987
 
@@ -693,8 +1001,7 @@ Deletes multiple reminders.
693
1001
 
694
1002
  **Platform:** iOS
695
1003
 
696
- --------------------
697
-
1004
+ ---
698
1005
 
699
1006
  ### deleteReminder(...)
700
1007
 
@@ -712,8 +1019,7 @@ Deletes a reminder.
712
1019
 
713
1020
  **Platform:** iOS
714
1021
 
715
- --------------------
716
-
1022
+ ---
717
1023
 
718
1024
  ### modifyReminder(...)
719
1025
 
@@ -731,34 +1037,32 @@ Modifies a reminder.
731
1037
 
732
1038
  **Platform:** iOS
733
1039
 
734
- --------------------
735
-
1040
+ ---
736
1041
 
737
1042
  ### getReminderById(...)
738
1043
 
739
1044
  ```typescript
740
- getReminderById(options: GetReminderByIdOptions) => Promise<{ result: Reminder | null; }>
1045
+ getReminderById(options: GetReminderByIdOptions) => Promise<GetReminderByIdResult>
741
1046
  ```
742
1047
 
743
- Retrieve a reminder by ID.
1048
+ Retrieves a reminder by id.
744
1049
 
745
1050
  | Param | Type |
746
1051
  | ------------- | ------------------------------------------------------------------------- |
747
1052
  | **`options`** | <code><a href="#getreminderbyidoptions">GetReminderByIdOptions</a></code> |
748
1053
 
749
- **Returns:** <code>Promise&lt;{ result: <a href="#reminder">Reminder</a> | null; }&gt;</code>
1054
+ **Returns:** <code>Promise&lt;<a href="#getreminderbyidresult">GetReminderByIdResult</a>&gt;</code>
750
1055
 
751
1056
  **Since:** 7.1.0
752
1057
 
753
1058
  **Platform:** iOS
754
1059
 
755
- --------------------
756
-
1060
+ ---
757
1061
 
758
1062
  ### getRemindersFromLists(...)
759
1063
 
760
1064
  ```typescript
761
- getRemindersFromLists(options: GetRemindersFromListsOptions) => Promise<{ result: Reminder[]; }>
1065
+ getRemindersFromLists(options: GetRemindersFromListsOptions) => Promise<GetRemindersFromListsResult>
762
1066
  ```
763
1067
 
764
1068
  Retrieves reminders from multiple lists.
@@ -767,19 +1071,18 @@ Retrieves reminders from multiple lists.
767
1071
  | ------------- | ------------------------------------------------------------------------------------- |
768
1072
  | **`options`** | <code><a href="#getremindersfromlistsoptions">GetRemindersFromListsOptions</a></code> |
769
1073
 
770
- **Returns:** <code>Promise&lt;{ result: Reminder[]; }&gt;</code>
1074
+ **Returns:** <code>Promise&lt;<a href="#getremindersfromlistsresult">GetRemindersFromListsResult</a>&gt;</code>
771
1075
 
772
1076
  **Since:** 5.3.0
773
1077
 
774
1078
  **Platform:** iOS
775
1079
 
776
- --------------------
777
-
1080
+ ---
778
1081
 
779
1082
  ### deleteReminderWithPrompt(...)
780
1083
 
781
1084
  ```typescript
782
- deleteReminderWithPrompt(options: DeleteReminderWithPromptOptions) => Promise<{ deleted: boolean; }>
1085
+ deleteReminderWithPrompt(options: DeleteReminderWithPromptOptions) => Promise<DeleteReminderWithPromptResult>
783
1086
  ```
784
1087
 
785
1088
  Opens a dialog to delete a reminder.
@@ -788,73 +1091,140 @@ Opens a dialog to delete a reminder.
788
1091
  | ------------- | ------------------------------------------------------------------------------------------- |
789
1092
  | **`options`** | <code><a href="#deletereminderwithpromptoptions">DeleteReminderWithPromptOptions</a></code> |
790
1093
 
791
- **Returns:** <code>Promise&lt;{ deleted: boolean; }&gt;</code>
1094
+ **Returns:** <code>Promise&lt;<a href="#deletereminderwithpromptresult">DeleteReminderWithPromptResult</a>&gt;</code>
792
1095
 
793
1096
  **Since:** 7.2.0
794
1097
 
795
1098
  **Platform:** iOS
796
1099
 
797
- --------------------
1100
+ ---
1101
+
1102
+ ### updateRemindersList(...)
1103
+
1104
+ ```typescript
1105
+ updateRemindersList(options: UpdateRemindersListOptions) => Promise<UpdateRemindersListResult>
1106
+ ```
1107
+
1108
+ Updates a reminders list.
1109
+
1110
+ | Param | Type |
1111
+ | ------------- | --------------------------------------------------------------------------------- |
1112
+ | **`options`** | <code><a href="#updatereminderslistoptions">UpdateRemindersListOptions</a></code> |
1113
+
1114
+ **Returns:** <code>Promise&lt;<a href="#updatereminderslistresult">UpdateRemindersListResult</a>&gt;</code>
798
1115
 
1116
+ **Since:** 7.3.0
1117
+
1118
+ **Platform:** iOS
1119
+
1120
+ ---
799
1121
 
800
1122
  ### Interfaces
801
1123
 
1124
+ #### CheckPermissionOptions
802
1125
 
803
- #### CreateEventWithPromptOptions
1126
+ Options for {@link CalendarAccess#checkPermission}.
804
1127
 
805
- | Prop | Type | Description | Since | Platform |
806
- | ------------------ | --------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ----- | ------------ |
807
- | **`title`** | <code>string</code> | | 0.1.0 | Android, iOS |
808
- | **`calendarId`** | <code>string</code> | | 0.1.0 | iOS |
809
- | **`location`** | <code>string</code> | | 0.1.0 | Android, iOS |
810
- | **`startDate`** | <code>number</code> | | 0.1.0 | Android, iOS |
811
- | **`endDate`** | <code>number</code> | | 0.1.0 | Android, iOS |
812
- | **`isAllDay`** | <code>boolean</code> | | 0.1.0 | Android, iOS |
813
- | **`alerts`** | <code>number[]</code> | Sets alerts before or after the start of the event in minutes. On iOS only 2 alerts are supported. | 7.1.0 | iOS |
814
- | **`url`** | <code>string</code> | | 0.1.0 | iOS |
815
- | **`description`** | <code>string</code> | | 7.1.0 | Android, iOS |
816
- | **`availability`** | <code><a href="#eventavailability">EventAvailability</a></code> | | 7.1.0 | Android, iOS |
817
- | **`invitees`** | <code>string[]</code> | An array of emails to invite. | 7.1.0 | Android |
1128
+ | Prop | Type | Description | Since | Platform |
1129
+ | ----------- | --------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------------ |
1130
+ | **`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). | 7.3.0 | Android, iOS |
818
1131
 
1132
+ #### RequestPermissionOptions
819
1133
 
820
- #### ModifyEventWithPromptOptions
1134
+ Options for {@link CalendarAccess#requestPermission}.
821
1135
 
822
- | Prop | Type | Description | Since | Platform |
823
- | ------------------ | --------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ----- | ------------ |
824
- | **`title`** | <code>string</code> | | 0.1.0 | Android, iOS |
825
- | **`calendarId`** | <code>string</code> | | 0.1.0 | iOS |
826
- | **`location`** | <code>string</code> | | 0.1.0 | Android, iOS |
827
- | **`startDate`** | <code>number</code> | | 0.1.0 | Android, iOS |
828
- | **`endDate`** | <code>number</code> | | 0.1.0 | Android, iOS |
829
- | **`isAllDay`** | <code>boolean</code> | | 0.1.0 | Android, iOS |
830
- | **`alerts`** | <code>number[]</code> | Sets alerts before or after the start of the event in minutes. On iOS only 2 alerts are supported. | 7.1.0 | iOS |
831
- | **`url`** | <code>string</code> | | 0.1.0 | iOS |
832
- | **`description`** | <code>string</code> | | 7.1.0 | Android, iOS |
833
- | **`availability`** | <code><a href="#eventavailability">EventAvailability</a></code> | | 7.1.0 | Android, iOS |
834
- | **`invitees`** | <code>string[]</code> | An array of emails to invite. | 7.1.0 | Android |
835
- | **`id`** | <code>string</code> | The ID of the event to be modified. | 7.1.0 | Android, iOS |
1136
+ | Prop | Type | Description | Since | Platform |
1137
+ | ----------- | --------------------------------------------------------------------------- | -------------------------------- | ----- | ------------ |
1138
+ | **`scope`** | <code><a href="#calendarpermissionscope">CalendarPermissionScope</a></code> | The permission scope to request. | 7.3.0 | Android, iOS |
836
1139
 
1140
+ #### CreateEventWithPromptResult
837
1141
 
838
- #### CreateEventOptions
1142
+ | Prop | Type | Description | Since | Platform |
1143
+ | --------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------------ |
1144
+ | **`ics`** | <code>File \| null</code> | An `.ics` file (`text/calendar`) with one `VEVENT`. Always `null` on Android and iOS. On Web, set when the user confirms; `null` when the user cancels. | 7.3.0 | Web |
1145
+ | **`id`** | <code>string \| null</code> | The identifier of the created event. Always `null` on Android and Web. Present on iOS when the user saves. | 0.1.0 | Android, iOS |
1146
+
1147
+ #### CreateEventWithPromptOptions
1148
+
1149
+ | Prop | Type | Description | Default | Since | Platform |
1150
+ | ------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------- | ----- | ----------------- |
1151
+ | **`alerts`** | <code>number[]</code> | Alert times in minutes relative to the event start. Use negative numbers for reminders before the start, and positive numbers for reminders after the start. On iOS only 2 alerts are supported. | | 7.1.0 | iOS, Web |
1152
+ | **`autoDownloadIcsFile`** | <code>boolean</code> | Start a browser download of the ICS file. | <code>true</code> | 7.3.0 | Web |
1153
+ | **`availability`** | <code><a href="#eventavailability">EventAvailability</a></code> | | | 7.1.0 | Android, iOS, Web |
1154
+ | **`calendarId`** | <code>string</code> | | | 0.1.0 | iOS |
1155
+ | **`description`** | <code>string</code> | | | 7.1.0 | Android, iOS, Web |
1156
+ | **`endDate`** | <code>number</code> | | | 0.1.0 | Android, iOS, Web |
1157
+ | **`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. | | 7.3.0 | Web |
1158
+ | **`invitees`** | <code>string[]</code> | An array of emails to invite. | | 7.1.0 | Android |
1159
+ | **`isAllDay`** | <code>boolean</code> | | | 0.1.0 | Android, iOS, Web |
1160
+ | **`location`** | <code>string</code> | | | 0.1.0 | Android, iOS, Web |
1161
+ | **`promptMessage`** | <code>string</code> | Confirm dialog message. When omitted, the dialog uses the event title and time summary. | | 7.3.0 | Web |
1162
+ | **`recurrence`** | <code><a href="#eventrecurrencerule">EventRecurrenceRule</a></code> | Rules for creating a recurring event. | | 7.3.0 | Android, iOS, Web |
1163
+ | **`startDate`** | <code>number</code> | | | 0.1.0 | Android, iOS, Web |
1164
+ | **`title`** | <code>string</code> | | | 0.1.0 | Android, iOS, Web |
1165
+ | **`url`** | <code>string</code> | | | 0.1.0 | iOS, Web |
1166
+
1167
+ #### EventRecurrenceRule
1168
+
1169
+ | Prop | Type | Description | Default | Since | Platform |
1170
+ | -------------------- | ------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- | ----- | ----------------- |
1171
+ | **`byMonth`** | <code>number[]</code> | Limits a yearly recurrence to specific months of the year. The values should be between 1 and 12. | | 7.1.0 | Android, iOS, Web |
1172
+ | **`byMonthDay`** | <code>number[]</code> | Limits a monthly recurrence to specific days of the month. The values should be between 1 and 31. | | 7.1.0 | Android, iOS, Web |
1173
+ | **`byWeekDay`** | <code>number[]</code> | Limits a weekly recurrence to specific weekdays. The values should be between 1 and 7. 1 means Monday and 7 means Sunday. | | 7.3.0 | Android, iOS, Web |
1174
+ | **`count`** | <code>number</code> | The total number of occurrences. If set, the recurrence ends after this many occurrences. If `count` is provided, `end` is ignored. | | 7.3.0 | Android, iOS, Web |
1175
+ | **`daysOfTheYear`** | <code>number[]</code> | Limits a yearly recurrence to specific days of the year (1 to 366). | | 7.3.0 | iOS, Web |
1176
+ | **`end`** | <code>number</code> | End date of the recurrence series as a Unix timestamp in milliseconds. | | 7.1.0 | Android, iOS, Web |
1177
+ | **`frequency`** | <code><a href="#recurrencefrequency">RecurrenceFrequency</a></code> | How often the event repeats. | | 7.3.0 | Android, iOS, Web |
1178
+ | **`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, Web |
1179
+ | **`weeksOfTheYear`** | <code>number[]</code> | Limits a yearly recurrence to specific ISO week numbers (1 to 53). | | 7.3.0 | iOS, Web |
839
1180
 
840
- | Prop | Type | Description | Default | Since | Platform |
841
- | ------------------ | --------------------------------------------------------------- | -------------------------------------------------------------------------- | ----------------- | ----- | ------------ |
842
- | **`title`** | <code>string</code> | | | 0.4.0 | Android, iOS |
843
- | **`calendarId`** | <code>string</code> | | | 0.1.0 | Android, iOS |
844
- | **`location`** | <code>string</code> | | | 0.1.0 | Android, iOS |
845
- | **`startDate`** | <code>number</code> | | | 0.1.0 | Android, iOS |
846
- | **`endDate`** | <code>number</code> | | | 0.1.0 | Android, iOS |
847
- | **`isAllDay`** | <code>boolean</code> | | | 0.1.0 | Android, iOS |
848
- | **`alerts`** | <code>number[]</code> | | | 7.1.0 | Android, iOS |
849
- | **`url`** | <code>string</code> | | | 0.1.0 | iOS |
850
- | **`description`** | <code>string</code> | | | 7.1.0 | Android, iOS |
851
- | **`availability`** | <code><a href="#eventavailability">EventAvailability</a></code> | | | 7.1.0 | Android, iOS |
852
- | **`organizer`** | <code>string</code> | Email of the event organizer. | | 7.1.0 | Android |
853
- | **`color`** | <code>string</code> | | | 7.1.0 | Android |
854
- | **`duration`** | <code>string</code> | Duration of the event in RFC2445 format. | | 7.1.0 | Android |
855
- | **`commit`** | <code>boolean</code> | Whether to save immediately (`true`) or batch changes for later (`false`). | <code>true</code> | 7.1.0 | iOS |
856
- | **`attendees`** | <code>EventGuest[]</code> | The event guests. | | 7.1.0 | Android |
1181
+ #### ModifyEventWithPromptOptions
1182
+
1183
+ | Prop | Type | Description | Since | Platform |
1184
+ | ------------------ | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----- | ------------ |
1185
+ | **`alerts`** | <code>number[]</code> | Alert times in minutes relative to the event start. Use negative numbers for reminders before the start, and positive numbers for reminders after the start. On iOS only 2 alerts are supported. | 7.1.0 | iOS |
1186
+ | **`availability`** | <code><a href="#eventavailability">EventAvailability</a></code> | | 7.1.0 | Android, iOS |
1187
+ | **`calendarId`** | <code>string</code> | | 0.1.0 | iOS |
1188
+ | **`description`** | <code>string</code> | | 7.1.0 | Android, iOS |
1189
+ | **`endDate`** | <code>number</code> | | 0.1.0 | Android, iOS |
1190
+ | **`id`** | <code>string</code> | The ID of the event to be modified. | 7.1.0 | Android, iOS |
1191
+ | **`invitees`** | <code>string[]</code> | An array of emails to invite. | 7.1.0 | Android |
1192
+ | **`isAllDay`** | <code>boolean</code> | | 0.1.0 | Android, iOS |
1193
+ | **`location`** | <code>string</code> | | 0.1.0 | Android, iOS |
1194
+ | **`recurrence`** | <code><a href="#eventrecurrencerule">EventRecurrenceRule</a></code> | Rules for creating a recurring event. | 7.3.0 | Android, iOS |
1195
+ | **`startDate`** | <code>number</code> | | 0.1.0 | Android, iOS |
1196
+ | **`title`** | <code>string</code> | | 0.1.0 | Android, iOS |
1197
+ | **`url`** | <code>string</code> | | 0.1.0 | iOS |
1198
+
1199
+ #### CreateEventResult
1200
+
1201
+ | Prop | Type | Description | Since | Platform |
1202
+ | --------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------- | ----- | ------------ |
1203
+ | **`ics`** | <code>File \| null</code> | An `.ics` file (`text/calendar`) with one `VEVENT`. Always `null` on Android and iOS. | 7.3.0 | Web |
1204
+ | **`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 |
1205
+
1206
+ #### CreateEventOptions
857
1207
 
1208
+ | Prop | Type | Description | Default | Since | Platform |
1209
+ | ------------------------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | ----- | ----------------- |
1210
+ | **`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 |
1211
+ | **`attendees`** | <code>EventGuest[]</code> | The event guests. | | 7.1.0 | Android, Web |
1212
+ | **`autoDownloadIcsFile`** | <code>boolean</code> | Start a browser download of the ICS file. | <code>false</code> | 7.3.0 | Web |
1213
+ | **`availability`** | <code><a href="#eventavailability">EventAvailability</a></code> | | | 7.1.0 | Android, iOS, Web |
1214
+ | **`calendarId`** | <code>string</code> | | | 0.1.0 | Android, iOS |
1215
+ | **`color`** | <code>string</code> | | | 7.1.0 | Android |
1216
+ | **`commit`** | <code>boolean</code> | Whether to save immediately (`true`) or batch changes for later (`false`). | <code>true</code> | 7.1.0 | iOS |
1217
+ | **`description`** | <code>string</code> | | | 7.1.0 | Android, iOS, Web |
1218
+ | **`duration`** | <code>string</code> | Duration of the event in RFC2445 format. On Web, used when `endDate` is omitted; `endDate` wins if both are set. | | 7.1.0 | Android, Web |
1219
+ | **`endDate`** | <code>number</code> | | | 0.1.0 | Android, iOS, Web |
1220
+ | **`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. | | 7.3.0 | Web |
1221
+ | **`isAllDay`** | <code>boolean</code> | | | 0.1.0 | Android, iOS, Web |
1222
+ | **`location`** | <code>string</code> | | | 0.1.0 | Android, iOS, Web |
1223
+ | **`organizer`** | <code>string</code> | Email of the event organizer. | | 7.1.0 | Android, Web |
1224
+ | **`recurrence`** | <code><a href="#eventrecurrencerule">EventRecurrenceRule</a></code> | Rules for creating a recurring event. | | 7.3.0 | Android, iOS, Web |
1225
+ | **`startDate`** | <code>number</code> | | | 0.1.0 | Android, iOS, Web |
1226
+ | **`title`** | <code>string</code> | | | 0.4.0 | Android, iOS, Web |
1227
+ | **`url`** | <code>string</code> | | | 0.1.0 | iOS, Web |
858
1228
 
859
1229
  #### EventGuest
860
1230
 
@@ -863,28 +1233,27 @@ Opens a dialog to delete a reminder.
863
1233
  | **`name`** | <code>string</code> | 7.1.0 |
864
1234
  | **`email`** | <code>string</code> | 7.1.0 |
865
1235
 
866
-
867
1236
  #### ModifyEventOptions
868
1237
 
869
- | Prop | Type | Description | Default | Since | Platform |
870
- | ------------------ | --------------------------------------------------------------- | ---------------------------------------- | --------------------------------- | ----- | ------------ |
871
- | **`id`** | <code>string</code> | The ID of the event to be modified. | | 7.1.0 | Android, iOS |
872
- | **`title`** | <code>string</code> | | | 0.4.0 | Android, iOS |
873
- | **`calendarId`** | <code>string</code> | | | 0.1.0 | Android, iOS |
874
- | **`location`** | <code>string</code> | | | 0.1.0 | Android, iOS |
875
- | **`startDate`** | <code>number</code> | | | 0.1.0 | Android, iOS |
876
- | **`endDate`** | <code>number</code> | | | 0.1.0 | Android, iOS |
877
- | **`isAllDay`** | <code>boolean</code> | | | 0.1.0 | Android, iOS |
878
- | **`alerts`** | <code>number[]</code> | | | 7.1.0 | Android, iOS |
879
- | **`url`** | <code>string</code> | | | 0.1.0 | iOS |
880
- | **`description`** | <code>string</code> | | | 7.1.0 | Android, iOS |
881
- | **`availability`** | <code><a href="#eventavailability">EventAvailability</a></code> | | | 7.1.0 | Android, iOS |
882
- | **`organizer`** | <code>string</code> | Email of the event organizer. | | 7.1.0 | Android |
883
- | **`color`** | <code>string</code> | | | 7.1.0 | Android |
884
- | **`duration`** | <code>string</code> | Duration of the event in RFC2445 format. | | 7.1.0 | Android |
885
- | **`attendees`** | <code>EventGuest[]</code> | The event guests. | | 7.1.0 | Android |
886
- | **`span`** | <code><a href="#eventspan">EventSpan</a></code> | The span of modifications. | <code>EventSpan.THIS_EVENT</code> | | iOS |
887
-
1238
+ | Prop | Type | Description | Default | Since | Platform |
1239
+ | ------------------ | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------- | ----- | ------------ |
1240
+ | **`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 |
1241
+ | **`attendees`** | <code>EventGuest[]</code> | The event guests. | | 7.1.0 | Android |
1242
+ | **`availability`** | <code><a href="#eventavailability">EventAvailability</a></code> | | | 7.1.0 | Android, iOS |
1243
+ | **`calendarId`** | <code>string</code> | | | 0.1.0 | Android, iOS |
1244
+ | **`color`** | <code>string</code> | | | 7.1.0 | Android |
1245
+ | **`description`** | <code>string</code> | | | 7.1.0 | Android, iOS |
1246
+ | **`duration`** | <code>string</code> | Duration of the event in RFC2445 format. | | 7.1.0 | Android |
1247
+ | **`endDate`** | <code>number</code> | | | 0.1.0 | Android, iOS |
1248
+ | **`id`** | <code>string</code> | The ID of the event to be modified. | | 7.1.0 | Android, iOS |
1249
+ | **`isAllDay`** | <code>boolean</code> | | | 0.1.0 | Android, iOS |
1250
+ | **`location`** | <code>string</code> | | | 0.1.0 | Android, iOS |
1251
+ | **`recurrence`** | <code><a href="#eventrecurrencerule">EventRecurrenceRule</a></code> | Rules for creating a recurring event. | | 7.3.0 | Android, iOS |
1252
+ | **`organizer`** | <code>string</code> | Email of the event organizer. | | 7.1.0 | Android |
1253
+ | **`span`** | <code><a href="#eventspan">EventSpan</a></code> | The span of modifications. | <code>EventSpan.THIS_EVENT</code> | | iOS |
1254
+ | **`startDate`** | <code>number</code> | | | 0.1.0 | Android, iOS |
1255
+ | **`title`** | <code>string</code> | | | 0.4.0 | Android, iOS |
1256
+ | **`url`** | <code>string</code> | | | 0.1.0 | iOS |
888
1257
 
889
1258
  #### DeleteEventsByIdResult
890
1259
 
@@ -893,98 +1262,112 @@ Opens a dialog to delete a reminder.
893
1262
  | **`deleted`** | <code>string[]</code> | 7.1.0 |
894
1263
  | **`failed`** | <code>string[]</code> | 7.1.0 |
895
1264
 
896
-
897
1265
  #### DeleteEventsByIdOptions
898
1266
 
899
- | Prop | Type | Description | Default | Since | Platform |
900
- | ---------- | ----------------------------------------------- | --------------------- | --------------------------------- | ----- | -------- |
901
- | **`ids`** | <code>string[]</code> | | | 7.1.0 | |
902
- | **`span`** | <code><a href="#eventspan">EventSpan</a></code> | The span of deletion. | <code>EventSpan.THIS_EVENT</code> | | iOS |
903
-
1267
+ | Prop | Type | Description | Default | Since | Platform |
1268
+ | ------------ | ----------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- | ----- | ------------ |
1269
+ | **`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> | 7.3.0 | iOS |
1270
+ | **`ids`** | <code>string[]</code> | | | 7.1.0 | |
1271
+ | **`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 |
904
1272
 
905
1273
  #### DeleteEventOptions
906
1274
 
907
- | Prop | Type | Description | Default | Since | Platform |
908
- | ---------- | ----------------------------------------------- | --------------------- | --------------------------------- | ----- | -------- |
909
- | **`id`** | <code>string</code> | | | 7.1.0 | |
910
- | **`span`** | <code><a href="#eventspan">EventSpan</a></code> | The span of deletion. | <code>EventSpan.THIS_EVENT</code> | | iOS |
911
-
1275
+ | Prop | Type | Description | Default | Since | Platform |
1276
+ | ------------------ | ----------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- | ----- | ------------ |
1277
+ | **`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> | 7.3.0 | iOS |
1278
+ | **`id`** | <code>string</code> | The ID of the event to delete. | | 7.1.0 | Android, iOS |
1279
+ | **`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. | | 7.3.0 | Android |
1280
+ | **`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 |
912
1281
 
913
1282
  #### DeleteEventWithPromptOptions
914
1283
 
915
- | Prop | Type | Description | Default | Since | Platform |
916
- | ----------------------- | ----------------------------------------------- | ----------------------------------- | --------------------------------- | ----- | ------------ |
917
- | **`id`** | <code>string</code> | | | 7.1.0 | |
918
- | **`span`** | <code><a href="#eventspan">EventSpan</a></code> | The span of deletion. | <code>EventSpan.THIS_EVENT</code> | | iOS |
919
- | **`title`** | <code>string</code> | Title of the dialog. | | 7.1.0 | Android, iOS |
920
- | **`message`** | <code>string</code> | Message of the dialog. | | 7.1.0 | Android, iOS |
921
- | **`confirmButtonText`** | <code>string</code> | Text to show on the confirm button. | <code>'Delete'</code> | 7.1.0 | Android, iOS |
922
- | **`cancelButtonText`** | <code>string</code> | Text to show on the cancel button. | <code>'Cancel'</code> | 7.1.0 | Android, iOS |
1284
+ | Prop | Type | Description | Default | Since | Platform |
1285
+ | ----------------------- | ----------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- | ----- | ------------ |
1286
+ | **`cancelButtonText`** | <code>string</code> | Text to show on the cancel button. | <code>'Cancel'</code> | 7.1.0 | Android, iOS |
1287
+ | **`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> | 7.3.0 | iOS |
1288
+ | **`confirmButtonText`** | <code>string</code> | Text to show on the confirm button. | <code>'Delete'</code> | 7.1.0 | Android, iOS |
1289
+ | **`id`** | <code>string</code> | The ID of the event to delete. | | 7.1.0 | Android, iOS |
1290
+ | **`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. | | 7.3.0 | Android |
1291
+ | **`message`** | <code>string</code> | Message of the dialog. | | 7.1.0 | Android, iOS |
1292
+ | **`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 |
1293
+ | **`title`** | <code>string</code> | Title of the dialog. | | 7.1.0 | Android, iOS |
923
1294
 
1295
+ #### ListEventsInRangeResult
924
1296
 
925
- #### CalendarEvent
1297
+ | Prop | Type | Description | Since | Platform |
1298
+ | ------------ | ---------------------------- | ---------------------------------------- | ----- | ------------ |
1299
+ | **`result`** | <code>CalendarEvent[]</code> | Events that overlap the requested range. | 7.3.0 | Android, iOS |
926
1300
 
927
- | Prop | Type | Since | Platform |
928
- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------------ |
929
- | **`id`** | <code>string</code> | 7.1.0 | Android, iOS |
930
- | **`title`** | <code>string</code> | 7.1.0 | Android, iOS |
931
- | **`calendarId`** | <code>string \| null</code> | 7.1.0 | Android, iOS |
932
- | **`location`** | <code>string \| null</code> | 7.1.0 | Android, iOS |
933
- | **`startDate`** | <code>number</code> | 7.1.0 | Android, iOS |
934
- | **`endDate`** | <code>number</code> | 7.1.0 | Android, iOS |
935
- | **`isAllDay`** | <code>boolean</code> | 7.1.0 | Android, iOS |
936
- | **`alerts`** | <code>number[]</code> | 7.1.0 | Android, iOS |
937
- | **`url`** | <code>string \| null</code> | 7.1.0 | iOS |
938
- | **`description`** | <code>string \| null</code> | 7.1.0 | Android, iOS |
939
- | **`availability`** | <code><a href="#eventavailability">EventAvailability</a> \| null</code> | 7.1.0 | Android, iOS |
940
- | **`organizer`** | <code>string \| null</code> | 7.1.0 | Android, iOS |
941
- | **`color`** | <code>string \| null</code> | 7.1.0 | Android, iOS |
942
- | **`duration`** | <code>string \| null</code> | 7.1.0 | Android |
943
- | **`isDetached`** | <code>boolean \| null</code> | 7.1.0 | iOS |
944
- | **`birthdayContactIdentifier`** | <code>string \| null</code> | 7.1.0 | iOS |
945
- | **`status`** | <code><a href="#eventstatus">EventStatus</a> \| null</code> | 7.1.0 | Android, iOS |
946
- | **`creationDate`** | <code>number \| null</code> | 7.1.0 | iOS |
947
- | **`lastModifiedDate`** | <code>number \| null</code> | 7.1.0 | iOS |
948
- | **`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 |
949
- | **`timezone`** | <code>string \| null</code> | 7.1.0 | Android, iOS |
1301
+ #### CalendarEvent
950
1302
 
1303
+ | Prop | Type | Description | Since | Platform |
1304
+ | ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------------ |
1305
+ | **`alerts`** | <code>number[]</code> | Alert times in minutes relative to the event start. | 7.1.0 | Android, iOS |
1306
+ | **`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 |
1307
+ | **`availability`** | <code><a href="#eventavailability">EventAvailability</a> \| null</code> | | 7.1.0 | Android, iOS |
1308
+ | **`birthdayContactIdentifier`** | <code>string \| null</code> | | 7.1.0 | iOS |
1309
+ | **`calendarId`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1310
+ | **`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`. | 7.3.0 | iOS |
1311
+ | **`color`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1312
+ | **`creationDate`** | <code>number \| null</code> | | 7.1.0 | iOS |
1313
+ | **`description`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1314
+ | **`duration`** | <code>string \| null</code> | | 7.1.0 | Android |
1315
+ | **`endDate`** | <code>number</code> | | 7.1.0 | Android, iOS |
1316
+ | **`id`** | <code>string</code> | | 7.1.0 | Android, iOS |
1317
+ | **`isAllDay`** | <code>boolean</code> | | 7.1.0 | Android, iOS |
1318
+ | **`isDetached`** | <code>boolean \| null</code> | | 7.1.0 | iOS |
1319
+ | **`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). | 7.3.0 | Android, iOS |
1320
+ | **`lastModifiedDate`** | <code>number \| null</code> | | 7.1.0 | iOS |
1321
+ | **`location`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1322
+ | **`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. | 7.3.0 | Android |
1323
+ | **`organizer`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1324
+ | **`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. | 7.3.0 | Android, iOS |
1325
+ | **`startDate`** | <code>number</code> | | 7.1.0 | Android, iOS |
1326
+ | **`status`** | <code><a href="#eventstatus">EventStatus</a> \| null</code> | | 7.1.0 | Android, iOS |
1327
+ | **`timezone`** | <code>string \| null</code> | | 7.1.0 | Android, iOS |
1328
+ | **`title`** | <code>string</code> | | 7.1.0 | Android, iOS |
1329
+ | **`url`** | <code>string \| null</code> | | 7.1.0 | iOS |
951
1330
 
952
1331
  #### ListEventsInRangeOptions
953
1332
 
954
- | Prop | Type | Description | Since |
955
- | ---------- | ------------------- | ------------------------------ | ----- |
956
- | **`from`** | <code>number</code> | The timestamp in milliseconds. | 7.1.0 |
957
- | **`to`** | <code>number</code> | The timestamp in milliseconds. | 7.1.0 |
1333
+ | Prop | Type | Description | Since |
1334
+ | ---------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |
1335
+ | **`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 |
1336
+ | **`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 |
958
1337
 
1338
+ #### SelectCalendarsWithPromptResult
959
1339
 
960
- #### Calendar
1340
+ | Prop | Type | Description | Since | Platform |
1341
+ | ------------ | ----------------------- | ------------------------------------------------------------------------- | ----- | -------- |
1342
+ | **`result`** | <code>Calendar[]</code> | Calendars the user confirmed in the chooser. Empty when the user cancels. | 7.3.0 | iOS |
961
1343
 
962
- | Prop | Type | Description | Since | Platform |
963
- | -------------------------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------ | ----- | ------------ |
964
- | **`id`** | <code>string</code> | | 7.1.0 | Android, iOS |
965
- | **`title`** | <code>string</code> | | 7.1.0 | Android, iOS |
966
- | **`internalTitle`** | <code>string \| null</code> | Internal name of the calendar (`CalendarContract.Calendars.NAME`). | 7.1.0 | Android |
967
- | **`color`** | <code>string</code> | | 7.1.0 | Android, iOS |
968
- | **`isImmutable`** | <code>boolean \| null</code> | | 7.1.0 | iOS |
969
- | **`allowsContentModifications`** | <code>boolean \| null</code> | | 7.1.0 | iOS |
970
- | **`type`** | <code><a href="#calendartype">CalendarType</a> \| null</code> | | 7.1.0 | iOS |
971
- | **`isSubscribed`** | <code>boolean \| null</code> | | 7.1.0 | iOS |
972
- | **`source`** | <code><a href="#calendarsource">CalendarSource</a> \| null</code> | | 7.1.0 | iOS |
973
- | **`visible`** | <code>boolean \| null</code> | Indicates if the events from this calendar should be shown. | 7.1.0 | Android |
974
- | **`accountName`** | <code>string \| null</code> | The account under which the calendar is registered. | 7.1.0 | Android |
975
- | **`ownerAccount`** | <code>string \| null</code> | The owner of the calendar. | 7.1.0 | Android |
976
- | **`maxReminders`** | <code>number \| null</code> | Maximum number of reminders allowed per event. | 7.1.0 | Android |
977
- | **`location`** | <code>string \| null</code> | | 7.1.0 | Android |
1344
+ #### Calendar
978
1345
 
1346
+ | Prop | Type | Description | Since | Platform |
1347
+ | -------------------------------- | ------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------------ |
1348
+ | **`id`** | <code>string</code> | | 7.1.0 | Android, iOS |
1349
+ | **`title`** | <code>string \| null</code> | Display title of the calendar. May be `null` when the platform does not provide a title. | 7.1.0 | Android, iOS |
1350
+ | **`internalTitle`** | <code>string \| null</code> | Internal name of the calendar (`CalendarContract.Calendars.NAME`). | 7.1.0 | Android |
1351
+ | **`color`** | <code>string \| null</code> | Hex color string, or null when none is available. Format: `#RRGGBB` when opaque; `#RRGGBBAA` when alpha is below fully opaque. | 7.1.0 | Android, iOS |
1352
+ | **`colorName`** | <code><a href="#systemcolorname">SystemColorName</a> \| null</code> | Named color if the stored color matches one of the system colors; otherwise null. May be null in dark mode or for custom hex. Always null on Android. | 7.3.0 | Android, iOS |
1353
+ | **`isImmutable`** | <code>boolean \| null</code> | | 7.1.0 | iOS |
1354
+ | **`allowsContentModifications`** | <code>boolean \| null</code> | | 7.1.0 | iOS |
1355
+ | **`type`** | <code><a href="#calendartype">CalendarType</a> \| null</code> | | 7.1.0 | iOS |
1356
+ | **`isSubscribed`** | <code>boolean \| null</code> | | 7.1.0 | iOS |
1357
+ | **`source`** | <code><a href="#calendarsource">CalendarSource</a> \| null</code> | | 7.1.0 | iOS |
1358
+ | **`visible`** | <code>boolean \| null</code> | Indicates if the events from this calendar should be shown. | 7.1.0 | Android |
1359
+ | **`accountName`** | <code>string \| null</code> | The account under which the calendar is registered. | 7.1.0 | Android |
1360
+ | **`ownerAccount`** | <code>string \| null</code> | The owner of the calendar. | 7.1.0 | Android |
1361
+ | **`maxReminders`** | <code>number \| null</code> | Maximum number of reminders allowed per event. | 7.1.0 | Android |
1362
+ | **`location`** | <code>string \| null</code> | | 7.1.0 | Android |
979
1363
 
980
1364
  #### CalendarSource
981
1365
 
982
- | Prop | Type | Since |
983
- | ----------- | ----------------------------------------------------------------- | ----- |
984
- | **`type`** | <code><a href="#calendarsourcetype">CalendarSourceType</a></code> | 7.1.0 |
985
- | **`id`** | <code>string</code> | 7.1.0 |
986
- | **`title`** | <code>string</code> | 7.1.0 |
987
-
1366
+ | Prop | Type | Since | Platform |
1367
+ | ----------- | ----------------------------------------------------------------- | ----- | -------- |
1368
+ | **`type`** | <code><a href="#calendarsourcetype">CalendarSourceType</a></code> | 7.1.0 | iOS |
1369
+ | **`id`** | <code>string</code> | 7.1.0 | iOS |
1370
+ | **`title`** | <code>string</code> | 7.1.0 | iOS |
988
1371
 
989
1372
  #### SelectCalendarsWithPromptOptions
990
1373
 
@@ -993,67 +1376,125 @@ Opens a dialog to delete a reminder.
993
1376
  | **`displayStyle`** | <code><a href="#calendarchooserdisplaystyle">CalendarChooserDisplayStyle</a></code> | | <code>CalendarChooserDisplayStyle.ALL_CALENDARS</code> | 7.1.0 |
994
1377
  | **`multiple`** | <code>boolean</code> | Allow multiple selections. | <code>false</code> | 7.1.0 |
995
1378
 
1379
+ #### FetchAllCalendarSourcesResult
1380
+
1381
+ | Prop | Type | Description | Since | Platform |
1382
+ | ------------ | ----------------------------- | -------------------------------------------------- | ----- | -------- |
1383
+ | **`result`** | <code>CalendarSource[]</code> | All calendar sources (accounts) known to EventKit. | 7.3.0 | iOS |
1384
+
1385
+ #### ListCalendarsResult
1386
+
1387
+ | Prop | Type | Description | Since | Platform |
1388
+ | ------------ | ----------------------- | ------------------------ | ----- | ------------ |
1389
+ | **`result`** | <code>Calendar[]</code> | All available calendars. | 7.3.0 | Android, iOS |
1390
+
1391
+ #### GetDefaultCalendarOptions
1392
+
1393
+ | Prop | Type | Description | Default | Since | Platform |
1394
+ | ------------------------- | -------------------- | --------------------------------------------------------------------------- | ------------------ | ----- | ------------ |
1395
+ | **`useFallbackCalendar`** | <code>boolean</code> | When there is no system default calendar, use the first available calendar. | <code>false</code> | 7.3.0 | Android, iOS |
996
1396
 
997
1397
  #### OpenCalendarOptions
998
1398
 
999
- | Prop | Type | Default | Since |
1000
- | ---------- | ------------------- | ----------------------- | ----- |
1001
- | **`date`** | <code>number</code> | <code>Date.now()</code> | 7.1.0 |
1399
+ | Prop | Type | Description | Default | Since | Platform |
1400
+ | ---------- | ------------------- | ------------------------------------------------------------------ | ----------------------- | ----- | ------------ |
1401
+ | **`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 |
1002
1402
 
1403
+ #### CreateCalendarResult
1003
1404
 
1004
- #### CreateCalendarOptions
1405
+ | Prop | Type | Description | Since | Platform |
1406
+ | -------- | ------------------- | ----------------------------------------- | ----- | ------------ |
1407
+ | **`id`** | <code>string</code> | Identifier of the newly created calendar. | 7.3.0 | Android, iOS |
1005
1408
 
1006
- | Prop | Type | Description | Since | Platform |
1007
- | ------------------ | ------------------- | ---------------------------------------------------------- | ----- | ------------ |
1008
- | **`title`** | <code>string</code> | | 5.2.0 | Android, iOS |
1009
- | **`color`** | <code>string</code> | The color of the calendar. Should be provided on Android. | 5.2.0 | Android, iOS |
1010
- | **`sourceId`** | <code>string</code> | | 5.2.0 | iOS |
1011
- | **`accountName`** | <code>string</code> | Only needed on Android. Typically set to an email address. | 7.1.0 | Android |
1012
- | **`ownerAccount`** | <code>string</code> | Only needed on Android. Typically set to an email address. | 7.1.0 | Android |
1409
+ #### CreateCalendarOptions
1013
1410
 
1411
+ | Prop | Type | Description | Default | Since | Platform |
1412
+ | ------------------ | --------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | ----- | ------------ |
1413
+ | **`title`** | <code>string</code> | | | 5.2.0 | Android, iOS |
1414
+ | **`color`** | <code><a href="#systemcolorname">SystemColorName</a> \| `#${string}`</code> | Named color (`blue`, …) or hex `#RRGGBB` / `#RRGGBBAA`. When omitted, Android and iOS use `#007AFF`. On Android, only hex is accepted; named colors reject with `Invalid color format.` | <code>#007AFF</code> | 5.2.0 | Android, iOS |
1415
+ | **`sourceId`** | <code>string</code> | The EventKit source (account) where the calendar should be created. If provided, it must match an existing source from `fetchAllCalendarSources()`. If omitted, iCloud is used when available, otherwise the local source. | | 5.2.0 | iOS |
1416
+ | **`accountName`** | <code>string</code> | The account under which the calendar is registered. Required on Android. Typically an email address. | | 7.1.0 | Android |
1417
+ | **`ownerAccount`** | <code>string</code> | The owner of the calendar. Required on Android. Typically an email address. | | 7.1.0 | Android |
1014
1418
 
1015
1419
  #### DeleteCalendarOptions
1016
1420
 
1017
- | Prop | Type | Since |
1018
- | -------- | ------------------- | ----- |
1019
- | **`id`** | <code>string</code> | 7.1.0 |
1020
-
1421
+ | Prop | Type | Since | Platform |
1422
+ | -------- | ------------------- | ----- | ------------ |
1423
+ | **`id`** | <code>string</code> | 7.1.0 | Android, iOS |
1021
1424
 
1022
1425
  #### ModifyCalendarOptions
1023
1426
 
1024
- | Prop | Type | Since | Platform |
1025
- | ----------- | ------------------- | ----- | ------------ |
1026
- | **`id`** | <code>string</code> | 7.2.0 | Android, iOS |
1027
- | **`title`** | <code>string</code> | 7.2.0 | Android, iOS |
1028
- | **`color`** | <code>string</code> | 7.2.0 | Android, iOS |
1427
+ | Prop | Type | Description | Since | Platform |
1428
+ | ----------- | --------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------------ |
1429
+ | **`id`** | <code>string</code> | | 7.2.0 | Android, iOS |
1430
+ | **`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 |
1431
+ | **`color`** | <code><a href="#systemcolorname">SystemColorName</a> \| `#${string}`</code> | Named color (`blue`, …) or hex `#RRGGBB` / `#RRGGBBAA`. If omitted, the color is left unchanged. On Android, only hex is accepted; named colors reject with `Invalid color format.` | 7.2.0 | Android, iOS |
1029
1432
 
1433
+ #### CreateRemindersListResult
1030
1434
 
1031
- #### CreateReminderOptions
1435
+ | Prop | Type | Description | Since | Platform |
1436
+ | -------- | ------------------- | ----------------------------------------------- | ----- | -------- |
1437
+ | **`id`** | <code>string</code> | Identifier of the newly created reminders list. | 7.3.0 | iOS |
1032
1438
 
1033
- | Prop | Type | Since |
1034
- | -------------------- | --------------------------------------------------------- | ----- |
1035
- | **`title`** | <code>string</code> | 7.1.0 |
1036
- | **`listId`** | <code>string</code> | 7.1.0 |
1037
- | **`priority`** | <code>number</code> | 7.1.0 |
1038
- | **`isCompleted`** | <code>boolean</code> | 7.1.0 |
1039
- | **`startDate`** | <code>number</code> | 7.1.0 |
1040
- | **`dueDate`** | <code>number</code> | 7.1.0 |
1041
- | **`completionDate`** | <code>number</code> | 7.1.0 |
1042
- | **`notes`** | <code>string</code> | 7.1.0 |
1043
- | **`url`** | <code>string</code> | 7.1.0 |
1044
- | **`location`** | <code>string</code> | 7.1.0 |
1045
- | **`recurrence`** | <code><a href="#recurrencerule">RecurrenceRule</a></code> | 7.1.0 |
1046
- | **`alerts`** | <code>number[]</code> | 7.1.0 |
1439
+ #### CreateRemindersListOptions
1047
1440
 
1441
+ | Prop | Type | Description | Default | Since | Platform |
1442
+ | -------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | ----- | -------- |
1443
+ | **`color`** | <code><a href="#systemcolorname">SystemColorName</a> \| `#${string}`</code> | Named color (`blue`, …) or hex `#RRGGBB` / `#RRGGBBAA`. When omitted, the platform chooses the list color. | | 7.3.0 | iOS |
1444
+ | **`commit`** | <code>boolean</code> | Whether to save the list immediately. Pass `false` to batch changes and commit them with `CapacitorCalendar.commit()`. | <code>true</code> | 7.3.0 | iOS |
1445
+ | **`sourceId`** | <code>string</code> | The calendar source (account) where the list should be created. If provided, it should match a source from `fetchAllCalendarSources()`. If omitted or unmatched, iCloud is used when available, otherwise the local source. | | 7.3.0 | iOS |
1446
+ | **`title`** | <code>string</code> | The title of the list. | | 7.3.0 | iOS |
1048
1447
 
1049
- #### RecurrenceRule
1448
+ #### DeleteRemindersListOptions
1449
+
1450
+ | Prop | Type | Description | Default | Since | Platform |
1451
+ | ------------ | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | ----- | -------- |
1452
+ | **`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> | 7.3.0 | iOS |
1453
+ | **`id`** | <code>string</code> | Identifier of the reminders list to delete. | | 7.3.0 | iOS |
1454
+
1455
+ #### GetDefaultRemindersListResult
1456
+
1457
+ | Prop | Type | Description | Since | Platform |
1458
+ | ------------ | ----------------------------------------------------- | ------------------------------------------------------- | ----- | -------- |
1459
+ | **`result`** | <code><a href="#calendar">Calendar</a> \| null</code> | The default reminders list, or `null` when none exists. | 7.1.0 | iOS |
1050
1460
 
1051
- | Prop | Type | Description | Since |
1052
- | --------------- | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ----- |
1053
- | **`frequency`** | <code><a href="#recurrencefrequency">RecurrenceFrequency</a></code> | | 7.1.0 |
1054
- | **`interval`** | <code>number</code> | How often it repeats (e.g. 1 for every occurrence, 2 for every second occurrence). | 7.1.0 |
1055
- | **`end`** | <code>number</code> | Timestamp of when the recurrence ends. | 7.1.0 |
1461
+ #### GetRemindersListsResult
1056
1462
 
1463
+ | Prop | Type | Description | Since | Platform |
1464
+ | ------------ | ----------------------- | ------------------------------ | ----- | -------- |
1465
+ | **`result`** | <code>Calendar[]</code> | All available reminders lists. | 7.1.0 | iOS |
1466
+
1467
+ #### CreateReminderResult
1468
+
1469
+ | Prop | Type | Description | Since | Platform |
1470
+ | -------- | ------------------- | ----------------------------------------- | ----- | -------- |
1471
+ | **`id`** | <code>string</code> | Identifier of the newly created reminder. | 0.5.0 | iOS |
1472
+
1473
+ #### CreateReminderOptions
1474
+
1475
+ | Prop | Type | Description | Default | Since | Platform |
1476
+ | -------------------- | --------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | ----- | -------- |
1477
+ | **`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 | |
1478
+ | **`commit`** | <code>boolean</code> | Whether to save immediately (`true`) or batch changes for later (`false`). 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> | 7.3.0 | iOS |
1479
+ | **`completionDate`** | <code>number</code> | | | 7.1.0 | |
1480
+ | **`dueDate`** | <code>number</code> | When the reminder should be completed, in milliseconds since the epoch. On iOS, if `startDate` is omitted, it is set to this value. | | 7.1.0 | |
1481
+ | **`isCompleted`** | <code>boolean</code> | | | 7.1.0 | |
1482
+ | **`listId`** | <code>string</code> | | | 7.1.0 | |
1483
+ | **`location`** | <code>string</code> | | | 7.1.0 | |
1484
+ | **`notes`** | <code>string</code> | | | 7.1.0 | |
1485
+ | **`priority`** | <code>number</code> | Priority: `0` none, `1` highest through `9` lowest. | | 7.1.0 | |
1486
+ | **`recurrence`** | <code><a href="#recurrencerule">RecurrenceRule</a></code> | | | 7.1.0 | iOS |
1487
+ | **`startDate`** | <code>number</code> | When the reminder starts, in milliseconds since the epoch. Relative `alerts` use this date. | | 7.1.0 | |
1488
+ | **`title`** | <code>string</code> | | | 7.1.0 | |
1489
+ | **`url`** | <code>string</code> | | | 7.1.0 | |
1490
+
1491
+ #### RecurrenceRule
1492
+
1493
+ | Prop | Type | Description | Since | Platform |
1494
+ | --------------- | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ----- | -------- |
1495
+ | **`frequency`** | <code><a href="#recurrencefrequency">RecurrenceFrequency</a></code> | How often the reminder repeats. | 7.1.0 | iOS |
1496
+ | **`interval`** | <code>number</code> | How often it repeats (e.g. 1 for every occurrence, 2 for every second occurrence). | 7.1.0 | iOS |
1497
+ | **`end`** | <code>number</code> | End of the recurrence series as a Unix timestamp in milliseconds. | 7.1.0 | iOS |
1057
1498
 
1058
1499
  #### DeleteRemindersByIdResult
1059
1500
 
@@ -1062,58 +1503,61 @@ Opens a dialog to delete a reminder.
1062
1503
  | **`deleted`** | <code>string[]</code> | 7.1.0 |
1063
1504
  | **`failed`** | <code>string[]</code> | 7.1.0 |
1064
1505
 
1065
-
1066
1506
  #### DeleteRemindersByIdOptions
1067
1507
 
1068
1508
  | Prop | Type | Since |
1069
1509
  | --------- | --------------------- | ----- |
1070
1510
  | **`ids`** | <code>string[]</code> | 7.1.0 |
1071
1511
 
1072
-
1073
1512
  #### DeleteReminderOptions
1074
1513
 
1075
- | Prop | Type | Since |
1076
- | -------- | ------------------- | ----- |
1077
- | **`id`** | <code>string</code> | 7.1.0 |
1078
-
1514
+ | Prop | Type | Description | Default | Since | Platform |
1515
+ | ------------ | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | ----- | -------- |
1516
+ | **`commit`** | <code>boolean</code> | Whether to save immediately (`true`) or batch changes for later (`false`). 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> | 7.3.0 | iOS |
1517
+ | **`id`** | <code>string</code> | | | 7.1.0 | |
1079
1518
 
1080
1519
  #### ModifyReminderOptions
1081
1520
 
1082
- | Prop | Type | Since |
1083
- | -------------------- | --------------------------------------------------------- | ----- |
1084
- | **`id`** | <code>string</code> | 7.1.0 |
1085
- | **`title`** | <code>string</code> | 7.1.0 |
1086
- | **`listId`** | <code>string</code> | 7.1.0 |
1087
- | **`priority`** | <code>number</code> | 7.1.0 |
1088
- | **`isCompleted`** | <code>boolean</code> | 7.1.0 |
1089
- | **`startDate`** | <code>number</code> | 7.1.0 |
1090
- | **`dueDate`** | <code>number</code> | 7.1.0 |
1091
- | **`completionDate`** | <code>number</code> | 7.1.0 |
1092
- | **`notes`** | <code>string</code> | 7.1.0 |
1093
- | **`url`** | <code>string</code> | 7.1.0 |
1094
- | **`location`** | <code>string</code> | 7.1.0 |
1095
- | **`recurrence`** | <code><a href="#recurrencerule">RecurrenceRule</a></code> | 7.1.0 |
1096
- | **`alerts`** | <code>number[]</code> | 7.1.0 |
1097
-
1521
+ | Prop | Type | Description | Default | Since | Platform |
1522
+ | -------------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | ----- | -------- |
1523
+ | **`alerts`** | <code>number[] \| null</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. Omit or pass `undefined` to leave existing alerts unchanged. Pass `null` or an empty array `[]` to clear alerts. On iOS, when both `startDate` and `dueDate` are cleared in the same call, alerts are cleared even if `alerts` is set. When clearing dates across separate batched calls, pass `alerts: null` or `[]` explicitly. On iOS only 2 alerts are supported. | | 7.1.0 | |
1524
+ | **`commit`** | <code>boolean</code> | Whether to save immediately (`true`) or batch changes for later (`false`). 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> | 7.3.0 | iOS |
1525
+ | **`completionDate`** | <code>number \| null</code> | When the reminder was completed, in milliseconds since the epoch. Omit or pass `undefined` to leave the existing value unchanged. Since 7.3.0, pass `null` to clear. Clearing this date does not mark the reminder incomplete; set `isCompleted` to `false` for that. | | 7.1.0 | |
1526
+ | **`dueDate`** | <code>number \| null</code> | When the reminder is due, in milliseconds since the epoch. On iOS, if `startDate` is omitted and the reminder has no start, it is set to this value. Omit or pass `undefined` to leave the existing value unchanged. Since 7.3.0, pass `null` to clear. Clearing only `dueDate` leaves an existing start unchanged (including a start previously copied from due). Pass `startDate: null` together with `dueDate: null` to remove scheduling. | | 7.1.0 | |
1527
+ | **`id`** | <code>string</code> | | | 7.1.0 | |
1528
+ | **`isCompleted`** | <code>boolean</code> | | | 7.1.0 | |
1529
+ | **`listId`** | <code>string</code> | | | 7.1.0 | |
1530
+ | **`location`** | <code>string \| null</code> | Location for the reminder. Omit or pass `undefined` to leave the existing value unchanged. Since 7.3.0, pass `null` to clear. | | 7.1.0 | |
1531
+ | **`notes`** | <code>string \| null</code> | Notes for the reminder. Omit or pass `undefined` to leave the existing value unchanged. Since 7.3.0, pass `null` to clear. | | 7.1.0 | |
1532
+ | **`priority`** | <code>number</code> | Priority: `0` none, `1` highest through `9` lowest. Omit to leave the existing value unchanged. | | 7.1.0 | |
1533
+ | **`recurrence`** | <code><a href="#recurrencerule">RecurrenceRule</a> \| null</code> | Recurrence rule for the reminder. Omit or pass `undefined` to leave the existing value unchanged. Since 7.3.0, pass `null` to clear. | | 7.1.0 | iOS |
1534
+ | **`startDate`** | <code>number \| null</code> | When the reminder starts, in milliseconds since the epoch. Relative `alerts` use this date. Omit or pass `undefined` to leave the existing value unchanged. Since 7.3.0, pass `null` to clear. If a due date remains, clearing start sets start to the due date (it does not keep the previous start). Pass `dueDate: null` as well to remove scheduling. | | 7.1.0 | |
1535
+ | **`title`** | <code>string</code> | | | 7.1.0 | |
1536
+ | **`url`** | <code>string \| null</code> | URL associated with the reminder. Omit or pass `undefined` to leave the existing value unchanged. Since 7.3.0, pass `null` to clear. | | 7.1.0 | |
1537
+
1538
+ #### GetReminderByIdResult
1539
+
1540
+ | Prop | Type | Description | Since | Platform |
1541
+ | ------------ | ----------------------------------------------------- | ---------------------------------------------------------- | ----- | -------- |
1542
+ | **`result`** | <code><a href="#reminder">Reminder</a> \| null</code> | The reminder for the given id, or `null` when none exists. | 7.1.0 | iOS |
1098
1543
 
1099
1544
  #### Reminder
1100
1545
 
1101
- | Prop | Type | Since |
1102
- | -------------------- | ----------------------------- | ----- |
1103
- | **`id`** | <code>string</code> | 7.1.0 |
1104
- | **`title`** | <code>string \| null</code> | 7.1.0 |
1105
- | **`listId`** | <code>string \| null</code> | 7.1.0 |
1106
- | **`isCompleted`** | <code>boolean</code> | 7.1.0 |
1107
- | **`priority`** | <code>number \| null</code> | 7.1.0 |
1108
- | **`notes`** | <code>string \| null</code> | 7.1.0 |
1109
- | **`location`** | <code>string \| null</code> | 7.1.0 |
1110
- | **`url`** | <code>string \| null</code> | 7.1.0 |
1111
- | **`startDate`** | <code>number \| null</code> | 7.1.0 |
1112
- | **`dueDate`** | <code>number \| null</code> | 7.1.0 |
1113
- | **`completionDate`** | <code>number \| null</code> | 7.1.0 |
1114
- | **`recurrence`** | <code>RecurrenceRule[]</code> | 7.1.0 |
1115
- | **`alerts`** | <code>number[]</code> | 7.1.0 |
1116
-
1546
+ | Prop | Type | Description | Since | Platform |
1547
+ | -------------------- | ----------------------------- | --------------------------------------------------- | ----- | -------- |
1548
+ | **`id`** | <code>string</code> | | 7.1.0 | |
1549
+ | **`title`** | <code>string \| null</code> | | 7.1.0 | |
1550
+ | **`listId`** | <code>string \| null</code> | | 7.1.0 | |
1551
+ | **`isCompleted`** | <code>boolean</code> | | 7.1.0 | |
1552
+ | **`priority`** | <code>number \| null</code> | Priority: `0` none, `1` highest through `9` lowest. | 7.1.0 | |
1553
+ | **`notes`** | <code>string \| null</code> | | 7.1.0 | |
1554
+ | **`location`** | <code>string \| null</code> | | 7.1.0 | |
1555
+ | **`url`** | <code>string \| null</code> | | 7.1.0 | |
1556
+ | **`startDate`** | <code>number \| null</code> | | 7.1.0 | |
1557
+ | **`dueDate`** | <code>number \| null</code> | | 7.1.0 | |
1558
+ | **`completionDate`** | <code>number \| null</code> | | 7.1.0 | |
1559
+ | **`recurrence`** | <code>RecurrenceRule[]</code> | | 7.1.0 | iOS |
1560
+ | **`alerts`** | <code>number[]</code> | | 7.1.0 | |
1117
1561
 
1118
1562
  #### GetReminderByIdOptions
1119
1563
 
@@ -1121,6 +1565,11 @@ Opens a dialog to delete a reminder.
1121
1565
  | -------- | ------------------- | ----- |
1122
1566
  | **`id`** | <code>string</code> | 7.1.0 |
1123
1567
 
1568
+ #### GetRemindersFromListsResult
1569
+
1570
+ | Prop | Type | Description | Since | Platform |
1571
+ | ------------ | ----------------------- | ----------------------------------- | ----- | -------- |
1572
+ | **`result`** | <code>Reminder[]</code> | Reminders from the requested lists. | 5.3.0 | iOS |
1124
1573
 
1125
1574
  #### GetRemindersFromListsOptions
1126
1575
 
@@ -1128,6 +1577,11 @@ Opens a dialog to delete a reminder.
1128
1577
  | ------------- | --------------------- | ----- |
1129
1578
  | **`listIds`** | <code>string[]</code> | 7.1.0 |
1130
1579
 
1580
+ #### DeleteReminderWithPromptResult
1581
+
1582
+ | Prop | Type | Description | Since | Platform |
1583
+ | ------------- | -------------------- | ------------------------------------ | ----- | -------- |
1584
+ | **`deleted`** | <code>boolean</code> | Whether the user confirmed deletion. | 7.2.0 | iOS |
1131
1585
 
1132
1586
  #### DeleteReminderWithPromptOptions
1133
1587
 
@@ -1139,54 +1593,84 @@ Opens a dialog to delete a reminder.
1139
1593
  | **`confirmButtonText`** | <code>string</code> | Text to show on the confirm button. | <code>'Delete'</code> | 7.2.0 |
1140
1594
  | **`cancelButtonText`** | <code>string</code> | Text to show on the cancel button. | <code>'Cancel'</code> | 7.2.0 |
1141
1595
 
1596
+ #### UpdateRemindersListResult
1142
1597
 
1143
- ### Type Aliases
1598
+ | Prop | Type | Description | Since | Platform |
1599
+ | -------- | ------------------- | ----------------------------------------- | ----- | -------- |
1600
+ | **`id`** | <code>string</code> | Identifier of the updated reminders list. | 7.3.0 | iOS |
1601
+
1602
+ #### UpdateRemindersListOptions
1144
1603
 
1604
+ | Prop | Type | Description | Default | Since | Platform |
1605
+ | ------------ | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ----------------- | ----- | -------- |
1606
+ | **`color`** | <code><a href="#systemcolorname">SystemColorName</a> \| `#${string}`</code> | Named color (`blue`, …) or hex `#RRGGBB` / `#RRGGBBAA`. If omitted, the color is left unchanged. | | 7.3.0 | iOS |
1607
+ | **`commit`** | <code>boolean</code> | Whether to save the update immediately. Pass `false` to batch changes and commit them with `CapacitorCalendar.commit()`. | <code>true</code> | 7.3.0 | iOS |
1608
+ | **`id`** | <code>string</code> | The identifier of the list to update. | | 7.3.0 | iOS |
1609
+ | **`title`** | <code>string</code> | The new title of the list. If omitted, the title is left unchanged. | | 7.3.0 | iOS |
1610
+
1611
+ ### Type Aliases
1145
1612
 
1146
1613
  #### PermissionState
1147
1614
 
1148
1615
  <code>'prompt' | 'prompt-with-rationale' | 'granted' | 'denied'</code>
1149
1616
 
1150
-
1151
1617
  #### CheckAllPermissionsResult
1152
1618
 
1153
- <code><a href="#record">Record</a>&lt; <a href="#calendarpermissionscope">CalendarPermissionScope</a>, <a href="#permissionstate">PermissionState</a> &gt;</code>
1154
-
1619
+ <code>
1620
+ <a href="#record">Record</a>&lt;<a href="#calendarpermissionscope">CalendarPermissionScope</a>,{' '}
1621
+ <a href="#permissionstate">PermissionState</a>&gt;
1622
+ </code>
1155
1623
 
1156
1624
  #### Record
1157
1625
 
1158
1626
  Construct a type with a set of properties K of type T
1159
1627
 
1160
- <code>{
1161
1628
  [P in K]: T;
1162
1629
  }</code>
1163
-
1630
+ <code>{
1631
+ [P in K]: T;
1632
+ }</code>
1164
1633
 
1165
1634
  #### RequestAllPermissionsResult
1166
1635
 
1167
- <code><a href="#checkallpermissionsresult">CheckAllPermissionsResult</a></code>
1636
+ <code>
1637
+ <a href="#checkallpermissionsresult">CheckAllPermissionsResult</a>
1638
+ </code>
1639
+
1640
+ #### RecurrenceFrequency
1168
1641
 
1642
+ <code>'daily' | 'weekly' | 'monthly' | 'yearly'</code>
1169
1643
 
1170
1644
  #### EventEditAction
1171
1645
 
1172
- <code>"canceled" | "saved" | "deleted"</code>
1646
+ <code>'canceled' | 'saved' | 'deleted'</code>
1647
+
1648
+ #### SystemColorName
1649
+
1650
+ Named iOS system color.
1173
1651
 
1652
+ <code>'blue' | 'brown' | 'gray' | 'green' | 'indigo' | 'orange' | 'pink' | 'purple' | 'red' | 'teal' | 'yellow'</code>
1174
1653
 
1175
1654
  #### RemindersList
1176
1655
 
1177
- <code><a href="#calendar">Calendar</a></code>
1656
+ A reminders list on iOS.
1178
1657
 
1658
+ Same shape as {@link <a href="#calendar">Calendar</a>} today. Android-only calendar fields
1659
+ (`visible`, `accountName`, `ownerAccount`, `maxReminders`, `internalTitle`,
1660
+ `location`) are always `null` on reminder list payloads.
1179
1661
 
1180
- ### Enums
1662
+ <code>
1663
+ <a href="#calendar">Calendar</a>
1664
+ </code>
1181
1665
 
1666
+ ### Enums
1182
1667
 
1183
1668
  #### CalendarPermissionScope
1184
1669
 
1185
- | Members | Value | Description | Since | Platform |
1186
- | --------------------- | ----------------------------- | ------------------------------------------------------------ | ----- | ------------ |
1187
- | **`READ_CALENDAR`** | <code>"readCalendar"</code> | Permission required for reading calendar events. | 7.1.0 | Android, iOS |
1188
- | **`READ_REMINDERS`** | <code>"readReminders"</code> | Permission required for reading reminders. | 7.1.0 | iOS |
1189
- | **`WRITE_CALENDAR`** | <code>"writeCalendar"</code> | Permission required for adding or modifying calendar events. | 7.1.0 | Android, iOS |
1190
- | **`WRITE_REMINDERS`** | <code>"writeReminders"</code> | Permission required for adding or modifying reminders. | 7.1.0 | iOS |
1191
-
1670
+ | Members | Value | Description | Since | Platform |
1671
+ | --------------------- | ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------------ |
1672
+ | **`READ_CALENDAR`** | <code>'readCalendar'</code> | Permission required for reading calendar events. | 7.1.0 | Android, iOS |
1673
+ | **`READ_REMINDERS`** | <code>'readReminders'</code> | Permission required for reading reminders. On Android, reminders are not supported. `checkPermission` and `checkAllPermissions` return `"prompt"` for this scope. `requestPermission` rejects with `Invalid scope.`. | 7.1.0 | iOS |
1674
+ | **`WRITE_CALENDAR`** | <code>'writeCalendar'</code> | Permission required for adding or modifying calendar events. | 7.1.0 | Android, iOS |
1675
+ | **`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 |
1192
1676
 
1193
1677
  #### EventAvailability
1194
1678
 
@@ -1198,69 +1682,63 @@ Construct a type with a set of properties K of type T
1198
1682
  | **`TENTATIVE`** | | 7.1.0 | Android, iOS |
1199
1683
  | **`UNAVAILABLE`** | | 7.1.0 | iOS |
1200
1684
 
1201
-
1202
1685
  #### EventSpan
1203
1686
 
1204
- | Members | Since |
1205
- | ---------------------------- | ----- |
1206
- | **`THIS_EVENT`** | 7.1.0 |
1207
- | **`THIS_AND_FUTURE_EVENTS`** | 7.1.0 |
1208
-
1209
-
1210
- #### EventStatus
1211
-
1212
- | Members | Value | Since | Platform |
1213
- | --------------- | ------------------------ | ----- | ------------ |
1214
- | **`NONE`** | <code>"none"</code> | 7.1.0 | iOS |
1215
- | **`CONFIRMED`** | <code>"confirmed"</code> | 7.1.0 | Android, iOS |
1216
- | **`TENTATIVE`** | <code>"tentative"</code> | 7.1.0 | Android, iOS |
1217
- | **`CANCELED`** | <code>"canceled"</code> | 7.1.0 | Android, iOS |
1218
-
1687
+ | Members | Description | Since |
1688
+ | ---------------------------- | --------------------------------------------------------------- | ----- |
1689
+ | **`THIS_EVENT`** | Only the identified event or occurrence. | 7.1.0 |
1690
+ | **`THIS_AND_FUTURE_EVENTS`** | The identified occurrence and future occurrences in the series. | 7.1.0 |
1219
1691
 
1220
1692
  #### AttendeeRole
1221
1693
 
1222
1694
  | Members | Value | Since | Platform |
1223
1695
  | --------------------- | ----------------------------- | ----- | ------------ |
1224
- | **`UNKNOWN`** | <code>"unknown"</code> | 7.1.0 | Android, iOS |
1225
- | **`REQUIRED`** | <code>"required"</code> | 7.1.0 | iOS |
1226
- | **`OPTIONAL`** | <code>"optional"</code> | 7.1.0 | iOS |
1227
- | **`CHAIR`** | <code>"chair"</code> | 7.1.0 | iOS |
1228
- | **`NON_PARTICIPANT`** | <code>"nonParticipant"</code> | 7.1.0 | Android, iOS |
1229
- | **`ATTENDEE`** | <code>"attendee"</code> | 7.1.0 | Android |
1230
- | **`ORGANIZER`** | <code>"organizer"</code> | 7.1.0 | Android |
1231
- | **`PERFORMER`** | <code>"performer"</code> | 7.1.0 | Android |
1232
- | **`SPEAKER`** | <code>"speaker"</code> | 7.1.0 | Android |
1233
-
1696
+ | **`UNKNOWN`** | <code>'unknown'</code> | 7.1.0 | Android, iOS |
1697
+ | **`REQUIRED`** | <code>'required'</code> | 7.1.0 | iOS |
1698
+ | **`OPTIONAL`** | <code>'optional'</code> | 7.1.0 | iOS |
1699
+ | **`CHAIR`** | <code>'chair'</code> | 7.1.0 | iOS |
1700
+ | **`NON_PARTICIPANT`** | <code>'nonParticipant'</code> | 7.1.0 | Android, iOS |
1701
+ | **`ATTENDEE`** | <code>'attendee'</code> | 7.1.0 | Android |
1702
+ | **`ORGANIZER`** | <code>'organizer'</code> | 7.1.0 | Android |
1703
+ | **`PERFORMER`** | <code>'performer'</code> | 7.1.0 | Android |
1704
+ | **`SPEAKER`** | <code>'speaker'</code> | 7.1.0 | Android |
1234
1705
 
1235
1706
  #### AttendeeStatus
1236
1707
 
1237
1708
  | Members | Value | Since | Platform |
1238
1709
  | ---------------- | ------------------------ | ----- | ------------ |
1239
- | **`NONE`** | <code>"none"</code> | 7.1.0 | Android |
1240
- | **`ACCEPTED`** | <code>"accepted"</code> | 7.1.0 | Android, iOS |
1241
- | **`DECLINED`** | <code>"declined"</code> | 7.1.0 | Android, iOS |
1242
- | **`INVITED`** | <code>"invited"</code> | 7.1.0 | Android |
1243
- | **`UNKNOWN`** | <code>"unknown"</code> | 7.1.0 | iOS |
1244
- | **`PENDING`** | <code>"pending"</code> | 7.1.0 | iOS |
1245
- | **`TENTATIVE`** | <code>"tentative"</code> | 7.1.0 | Android, iOS |
1246
- | **`DELEGATED`** | <code>"delegated"</code> | 7.1.0 | iOS |
1247
- | **`COMPLETED`** | <code>"completed"</code> | 7.1.0 | iOS |
1248
- | **`IN_PROCESS`** | <code>"inProcess"</code> | 7.1.0 | iOS |
1249
-
1710
+ | **`NONE`** | <code>'none'</code> | 7.1.0 | Android |
1711
+ | **`ACCEPTED`** | <code>'accepted'</code> | 7.1.0 | Android, iOS |
1712
+ | **`DECLINED`** | <code>'declined'</code> | 7.1.0 | Android, iOS |
1713
+ | **`INVITED`** | <code>'invited'</code> | 7.1.0 | Android |
1714
+ | **`UNKNOWN`** | <code>'unknown'</code> | 7.1.0 | iOS |
1715
+ | **`PENDING`** | <code>'pending'</code> | 7.1.0 | iOS |
1716
+ | **`TENTATIVE`** | <code>'tentative'</code> | 7.1.0 | Android, iOS |
1717
+ | **`DELEGATED`** | <code>'delegated'</code> | 7.1.0 | iOS |
1718
+ | **`COMPLETED`** | <code>'completed'</code> | 7.1.0 | iOS |
1719
+ | **`IN_PROCESS`** | <code>'inProcess'</code> | 7.1.0 | iOS |
1250
1720
 
1251
1721
  #### AttendeeType
1252
1722
 
1253
1723
  | Members | Value | Since | Platform |
1254
1724
  | -------------- | ----------------------- | ----- | ------------ |
1255
- | **`UNKNOWN`** | <code>"unknown"</code> | 7.1.0 | Android, iOS |
1256
- | **`PERSON`** | <code>"person"</code> | 7.1.0 | iOS |
1257
- | **`ROOM`** | <code>"room"</code> | 7.1.0 | iOS |
1258
- | **`RESOURCE`** | <code>"resource"</code> | 7.1.0 | Android, iOS |
1259
- | **`GROUP`** | <code>"group"</code> | 7.1.0 | iOS |
1260
- | **`REQUIRED`** | <code>"required"</code> | 7.1.0 | Android |
1261
- | **`NONE`** | <code>"none"</code> | 7.1.0 | Android |
1262
- | **`OPTIONAL`** | <code>"optional"</code> | 7.1.0 | Android |
1725
+ | **`UNKNOWN`** | <code>'unknown'</code> | 7.1.0 | Android, iOS |
1726
+ | **`PERSON`** | <code>'person'</code> | 7.1.0 | iOS |
1727
+ | **`ROOM`** | <code>'room'</code> | 7.1.0 | iOS |
1728
+ | **`RESOURCE`** | <code>'resource'</code> | 7.1.0 | Android, iOS |
1729
+ | **`GROUP`** | <code>'group'</code> | 7.1.0 | iOS |
1730
+ | **`REQUIRED`** | <code>'required'</code> | 7.1.0 | Android |
1731
+ | **`NONE`** | <code>'none'</code> | 7.1.0 | Android |
1732
+ | **`OPTIONAL`** | <code>'optional'</code> | 7.1.0 | Android |
1263
1733
 
1734
+ #### EventStatus
1735
+
1736
+ | Members | Value | Since | Platform |
1737
+ | --------------- | ------------------------ | ----- | ------------ |
1738
+ | **`NONE`** | <code>'none'</code> | 7.1.0 | iOS |
1739
+ | **`CONFIRMED`** | <code>'confirmed'</code> | 7.1.0 | Android, iOS |
1740
+ | **`TENTATIVE`** | <code>'tentative'</code> | 7.1.0 | Android, iOS |
1741
+ | **`CANCELED`** | <code>'canceled'</code> | 7.1.0 | Android, iOS |
1264
1742
 
1265
1743
  #### CalendarType
1266
1744
 
@@ -1272,7 +1750,6 @@ Construct a type with a set of properties K of type T
1272
1750
  | **`SUBSCRIPTION`** | 7.1.0 |
1273
1751
  | **`BIRTHDAY`** | 7.1.0 |
1274
1752
 
1275
-
1276
1753
  #### CalendarSourceType
1277
1754
 
1278
1755
  | Members | Since |
@@ -1284,7 +1761,6 @@ Construct a type with a set of properties K of type T
1284
1761
  | **`SUBSCRIBED`** | 7.1.0 |
1285
1762
  | **`BIRTHDAYS`** | 7.1.0 |
1286
1763
 
1287
-
1288
1764
  #### CalendarChooserDisplayStyle
1289
1765
 
1290
1766
  | Members | Since |
@@ -1292,16 +1768,6 @@ Construct a type with a set of properties K of type T
1292
1768
  | **`ALL_CALENDARS`** | 0.2.0 |
1293
1769
  | **`WRITABLE_CALENDARS_ONLY`** | 0.2.0 |
1294
1770
 
1295
-
1296
- #### RecurrenceFrequency
1297
-
1298
- | Members | Since |
1299
- | ------------- | ----- |
1300
- | **`DAILY`** | 7.1.0 |
1301
- | **`WEEKLY`** | 7.1.0 |
1302
- | **`MONTHLY`** | 7.1.0 |
1303
- | **`YEARLY`** | 7.1.0 |
1304
-
1305
1771
  </docgen-api>
1306
1772
 
1307
1773
  ## Contributing