@ebarooni/capacitor-calendar 7.2.0 → 7.3.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 (264) hide show
  1. package/EbarooniCapacitorCalendar.podspec +1 -1
  2. package/Package.swift +2 -2
  3. package/README.md +901 -466
  4. package/android/src/main/java/dev/barooni/capacitor/calendar/CapacitorCalendarPlugin.kt +57 -7
  5. package/android/src/main/java/dev/barooni/capacitor/calendar/PluginError.kt +35 -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/ImplementationHelper.kt +468 -39
  33. package/dist/docs.json +3046 -1048
  34. package/dist/esm/definitions.d.ts +5 -5
  35. package/dist/esm/definitions.js.map +1 -1
  36. package/dist/esm/index.d.ts +71 -48
  37. package/dist/esm/index.js +17 -17
  38. package/dist/esm/index.js.map +1 -1
  39. package/dist/esm/schemas/enums/attendee-role.js.map +1 -1
  40. package/dist/esm/schemas/enums/attendee-status.js.map +1 -1
  41. package/dist/esm/schemas/enums/attendee-type.js.map +1 -1
  42. package/dist/esm/schemas/enums/calendar-permission-scope.d.ts +9 -1
  43. package/dist/esm/schemas/enums/calendar-permission-scope.js +9 -1
  44. package/dist/esm/schemas/enums/calendar-permission-scope.js.map +1 -1
  45. package/dist/esm/schemas/enums/event-span.d.ts +4 -0
  46. package/dist/esm/schemas/enums/event-span.js +4 -0
  47. package/dist/esm/schemas/enums/event-span.js.map +1 -1
  48. package/dist/esm/schemas/enums/event-status.js.map +1 -1
  49. package/dist/esm/schemas/enums/reminder-recurrence-frequency.d.ts +5 -5
  50. package/dist/esm/schemas/enums/reminder-recurrence-frequency.js +5 -5
  51. package/dist/esm/schemas/enums/reminder-recurrence-frequency.js.map +1 -1
  52. package/dist/esm/schemas/interfaces/calendar-event.d.ts +145 -70
  53. package/dist/esm/schemas/interfaces/calendar-event.js.map +1 -1
  54. package/dist/esm/schemas/interfaces/calendar-source.d.ts +4 -1
  55. package/dist/esm/schemas/interfaces/calendar-source.js.map +1 -1
  56. package/dist/esm/schemas/interfaces/calendar.d.ts +22 -4
  57. package/dist/esm/schemas/interfaces/calendar.js.map +1 -1
  58. package/dist/esm/schemas/interfaces/check-permission-options.d.ts +19 -0
  59. package/dist/esm/schemas/interfaces/check-permission-options.js +2 -0
  60. package/dist/esm/schemas/interfaces/check-permission-options.js.map +1 -0
  61. package/dist/esm/schemas/interfaces/create-calendar-options.d.ts +19 -6
  62. package/dist/esm/schemas/interfaces/create-calendar-options.js.map +1 -1
  63. package/dist/esm/schemas/interfaces/create-calendar-result.d.ts +12 -0
  64. package/dist/esm/schemas/interfaces/create-calendar-result.js +2 -0
  65. package/dist/esm/schemas/interfaces/create-calendar-result.js.map +1 -0
  66. package/dist/esm/schemas/interfaces/create-event-options.d.ts +86 -51
  67. package/dist/esm/schemas/interfaces/create-event-options.js.map +1 -1
  68. package/dist/esm/schemas/interfaces/create-event-result.d.ts +22 -0
  69. package/dist/esm/schemas/interfaces/create-event-result.js +2 -0
  70. package/dist/esm/schemas/interfaces/create-event-result.js.map +1 -0
  71. package/dist/esm/schemas/interfaces/create-event-with-prompt-options.d.ts +73 -36
  72. package/dist/esm/schemas/interfaces/create-event-with-prompt-options.js.map +1 -1
  73. package/dist/esm/schemas/interfaces/create-event-with-prompt-result.d.ts +23 -0
  74. package/dist/esm/schemas/interfaces/create-event-with-prompt-result.js +2 -0
  75. package/dist/esm/schemas/interfaces/create-event-with-prompt-result.js.map +1 -0
  76. package/dist/esm/schemas/interfaces/create-reminder-options.d.ts +42 -12
  77. package/dist/esm/schemas/interfaces/create-reminder-options.js.map +1 -1
  78. package/dist/esm/schemas/interfaces/create-reminder-result.d.ts +12 -0
  79. package/dist/esm/schemas/interfaces/create-reminder-result.js +2 -0
  80. package/dist/esm/schemas/interfaces/create-reminder-result.js.map +1 -0
  81. package/dist/esm/schemas/interfaces/create-reminders-list-options.d.ts +46 -0
  82. package/dist/esm/schemas/interfaces/create-reminders-list-options.js +2 -0
  83. package/dist/esm/schemas/interfaces/create-reminders-list-options.js.map +1 -0
  84. package/dist/esm/schemas/interfaces/create-reminders-list-result.d.ts +12 -0
  85. package/dist/esm/schemas/interfaces/create-reminders-list-result.js +2 -0
  86. package/dist/esm/schemas/interfaces/create-reminders-list-result.js.map +1 -0
  87. package/dist/esm/schemas/interfaces/delete-calendar-options.d.ts +1 -0
  88. package/dist/esm/schemas/interfaces/delete-calendar-options.js.map +1 -1
  89. package/dist/esm/schemas/interfaces/delete-event-options.d.ts +29 -4
  90. package/dist/esm/schemas/interfaces/delete-event-options.js.map +1 -1
  91. package/dist/esm/schemas/interfaces/delete-event-with-prompt-options.d.ts +39 -14
  92. package/dist/esm/schemas/interfaces/delete-event-with-prompt-options.js.map +1 -1
  93. package/dist/esm/schemas/interfaces/delete-events-by-id-options.d.ts +16 -4
  94. package/dist/esm/schemas/interfaces/delete-events-by-id-options.js.map +1 -1
  95. package/dist/esm/schemas/interfaces/delete-reminder-options.d.ts +10 -0
  96. package/dist/esm/schemas/interfaces/delete-reminder-options.js.map +1 -1
  97. package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-result.d.ts +12 -0
  98. package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-result.js +2 -0
  99. package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-result.js.map +1 -0
  100. package/dist/esm/schemas/interfaces/delete-reminders-by-id-result.d.ts +13 -0
  101. package/dist/esm/schemas/interfaces/delete-reminders-by-id-result.js +2 -0
  102. package/dist/esm/schemas/interfaces/delete-reminders-by-id-result.js.map +1 -0
  103. package/dist/esm/schemas/interfaces/delete-reminders-list-options.d.ts +23 -0
  104. package/dist/esm/schemas/interfaces/delete-reminders-list-options.js +2 -0
  105. package/dist/esm/schemas/interfaces/delete-reminders-list-options.js.map +1 -0
  106. package/dist/esm/schemas/interfaces/event-recurrence-rule.d.ts +96 -0
  107. package/dist/esm/schemas/interfaces/event-recurrence-rule.js +2 -0
  108. package/dist/esm/schemas/interfaces/event-recurrence-rule.js.map +1 -0
  109. package/dist/esm/schemas/interfaces/fetch-all-calendar-sources-result.d.ts +13 -0
  110. package/dist/esm/schemas/interfaces/fetch-all-calendar-sources-result.js +2 -0
  111. package/dist/esm/schemas/interfaces/fetch-all-calendar-sources-result.js.map +1 -0
  112. package/dist/esm/schemas/interfaces/get-default-calendar-options.d.ts +13 -0
  113. package/dist/esm/schemas/interfaces/get-default-calendar-options.js +2 -0
  114. package/dist/esm/schemas/interfaces/get-default-calendar-options.js.map +1 -0
  115. package/dist/esm/schemas/interfaces/get-default-reminders-list-result.d.ts +13 -0
  116. package/dist/esm/schemas/interfaces/get-default-reminders-list-result.js +2 -0
  117. package/dist/esm/schemas/interfaces/get-default-reminders-list-result.js.map +1 -0
  118. package/dist/esm/schemas/interfaces/get-reminder-by-id-result.d.ts +13 -0
  119. package/dist/esm/schemas/interfaces/get-reminder-by-id-result.js +2 -0
  120. package/dist/esm/schemas/interfaces/get-reminder-by-id-result.js.map +1 -0
  121. package/dist/esm/schemas/interfaces/get-reminders-from-lists-result.d.ts +13 -0
  122. package/dist/esm/schemas/interfaces/get-reminders-from-lists-result.js +2 -0
  123. package/dist/esm/schemas/interfaces/get-reminders-from-lists-result.js.map +1 -0
  124. package/dist/esm/schemas/interfaces/get-reminders-lists-result.d.ts +13 -0
  125. package/dist/esm/schemas/interfaces/get-reminders-lists-result.js +2 -0
  126. package/dist/esm/schemas/interfaces/get-reminders-lists-result.js.map +1 -0
  127. package/dist/esm/schemas/interfaces/list-calendars-result.d.ts +13 -0
  128. package/dist/esm/schemas/interfaces/list-calendars-result.js +2 -0
  129. package/dist/esm/schemas/interfaces/list-calendars-result.js.map +1 -0
  130. package/dist/esm/schemas/interfaces/list-events-in-range-options.d.ts +7 -2
  131. package/dist/esm/schemas/interfaces/list-events-in-range-options.js.map +1 -1
  132. package/dist/esm/schemas/interfaces/list-events-in-range-result.d.ts +13 -0
  133. package/dist/esm/schemas/interfaces/list-events-in-range-result.js +2 -0
  134. package/dist/esm/schemas/interfaces/list-events-in-range-result.js.map +1 -0
  135. package/dist/esm/schemas/interfaces/modify-calendar-options.d.ts +13 -2
  136. package/dist/esm/schemas/interfaces/modify-calendar-options.js.map +1 -1
  137. package/dist/esm/schemas/interfaces/modify-event-options.d.ts +61 -44
  138. package/dist/esm/schemas/interfaces/modify-event-options.js.map +1 -1
  139. package/dist/esm/schemas/interfaces/modify-event-with-prompt-options.d.ts +77 -2
  140. package/dist/esm/schemas/interfaces/modify-event-with-prompt-options.js.map +1 -1
  141. package/dist/esm/schemas/interfaces/modify-reminder-options.d.ts +77 -13
  142. package/dist/esm/schemas/interfaces/modify-reminder-options.js.map +1 -1
  143. package/dist/esm/schemas/interfaces/open-calendar-options.d.ts +5 -1
  144. package/dist/esm/schemas/interfaces/open-calendar-options.js.map +1 -1
  145. package/dist/esm/schemas/interfaces/recurrence-rule.d.ts +8 -2
  146. package/dist/esm/schemas/interfaces/recurrence-rule.js.map +1 -1
  147. package/dist/esm/schemas/interfaces/reminder-recurrence-rule.d.ts +1 -1
  148. package/dist/esm/schemas/interfaces/reminder-recurrence-rule.js.map +1 -1
  149. package/dist/esm/schemas/interfaces/reminder.d.ts +4 -1
  150. package/dist/esm/schemas/interfaces/reminder.js.map +1 -1
  151. package/dist/esm/schemas/interfaces/reminders-list.d.ts +8 -2
  152. package/dist/esm/schemas/interfaces/reminders-list.js.map +1 -1
  153. package/dist/esm/schemas/interfaces/request-permission-options.d.ts +16 -0
  154. package/dist/esm/schemas/interfaces/request-permission-options.js +2 -0
  155. package/dist/esm/schemas/interfaces/request-permission-options.js.map +1 -0
  156. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-options.d.ts +1 -1
  157. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-options.js.map +1 -1
  158. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-result.d.ts +14 -0
  159. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-result.js +2 -0
  160. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-result.js.map +1 -0
  161. package/dist/esm/schemas/interfaces/update-reminders-list-options.d.ts +43 -0
  162. package/dist/esm/schemas/interfaces/update-reminders-list-options.js +2 -0
  163. package/dist/esm/schemas/interfaces/update-reminders-list-options.js.map +1 -0
  164. package/dist/esm/schemas/interfaces/update-reminders-list-result.d.ts +12 -0
  165. package/dist/esm/schemas/interfaces/update-reminders-list-result.js +2 -0
  166. package/dist/esm/schemas/interfaces/update-reminders-list-result.js.map +1 -0
  167. package/dist/esm/schemas/types/event-edit-action.d.ts +1 -1
  168. package/dist/esm/schemas/types/event-edit-action.js.map +1 -1
  169. package/dist/esm/schemas/types/recurrence-frequency.d.ts +4 -0
  170. package/dist/esm/schemas/types/recurrence-frequency.js +2 -0
  171. package/dist/esm/schemas/types/recurrence-frequency.js.map +1 -0
  172. package/dist/esm/schemas/types/system-color-name.d.ts +6 -0
  173. package/dist/esm/schemas/types/system-color-name.js +2 -0
  174. package/dist/esm/schemas/types/system-color-name.js.map +1 -0
  175. package/dist/esm/sub-definitions/calendar-access.d.ts +26 -14
  176. package/dist/esm/sub-definitions/calendar-access.js.map +1 -1
  177. package/dist/esm/sub-definitions/calendar-operations.d.ts +68 -21
  178. package/dist/esm/sub-definitions/calendar-operations.js.map +1 -1
  179. package/dist/esm/sub-definitions/event-operations.d.ts +46 -25
  180. package/dist/esm/sub-definitions/event-operations.js.map +1 -1
  181. package/dist/esm/sub-definitions/reminders-access.d.ts +6 -2
  182. package/dist/esm/sub-definitions/reminders-access.js.map +1 -1
  183. package/dist/esm/sub-definitions/reminders-operations.d.ts +78 -43
  184. package/dist/esm/sub-definitions/reminders-operations.js.map +1 -1
  185. package/dist/esm/web/download-ics-file.d.ts +18 -0
  186. package/dist/esm/web/download-ics-file.js +33 -0
  187. package/dist/esm/web/download-ics-file.js.map +1 -0
  188. package/dist/esm/web/ics.d.ts +27 -0
  189. package/dist/esm/web/ics.js +294 -0
  190. package/dist/esm/web/ics.js.map +1 -0
  191. package/dist/esm/web.d.ts +70 -82
  192. package/dist/esm/web.js +121 -6
  193. package/dist/esm/web.js.map +1 -1
  194. package/dist/plugin.cjs.js +464 -35
  195. package/dist/plugin.cjs.js.map +1 -1
  196. package/dist/plugin.js +464 -35
  197. package/dist/plugin.js.map +1 -1
  198. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/CapacitorCalendarPlugin.swift +148 -81
  199. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Implementation/CapacitorCalendar.swift +203 -110
  200. package/ios/Plugin/Info.plist +24 -0
  201. package/ios/Plugin/Models/Enums/EventSpan.swift +8 -0
  202. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateCalendarInput.swift +6 -4
  203. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateEventInput.swift +25 -21
  204. package/ios/Plugin/Models/Inputs/CreateEventWithPromptInput.swift +171 -0
  205. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateReminderInput.swift +14 -4
  206. package/ios/Plugin/Models/Inputs/CreateRemindersListInput.swift +43 -0
  207. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteCalendarInput.swift +1 -1
  208. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventInput.swift +9 -4
  209. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventWithPromptInput.swift +9 -4
  210. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventsByIdInput.swift +9 -4
  211. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteReminderInput.swift +7 -1
  212. package/ios/Plugin/Models/Inputs/DeleteRemindersListInput.swift +22 -0
  213. package/ios/Plugin/Models/Inputs/GetDefaultCalendarInput.swift +13 -0
  214. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyCalendarInput.swift +6 -3
  215. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventInput.swift +63 -41
  216. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyReminderInput.swift +66 -5
  217. package/ios/Plugin/Models/Inputs/UpdateRemindersListInput.swift +41 -0
  218. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateEventResult.swift +1 -0
  219. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateEventWithPromptResult.swift +1 -0
  220. package/ios/Plugin/Models/Results/CreateRemindersListResult.swift +15 -0
  221. package/ios/Plugin/Models/Results/ListEventsInRangeResult.swift +29 -0
  222. package/ios/Plugin/Models/Results/UpdateRemindersListResult.swift +15 -0
  223. package/ios/Plugin/Models/Structs/RecurrenceInput.swift +41 -0
  224. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginConfig.swift +30 -27
  225. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginError.swift +74 -56
  226. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Utils/ImplementationHelper.swift +140 -24
  227. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Utils/UIColorFromHexExtension.swift +5 -0
  228. package/package.json +36 -43
  229. package/dist/esm/schemas/enums/recurrence-frequency.d.ts +0 -21
  230. package/dist/esm/schemas/enums/recurrence-frequency.js +0 -23
  231. package/dist/esm/schemas/enums/recurrence-frequency.js.map +0 -1
  232. package/ios/Sources/CapacitorCalendarPlugin/Models/Inputs/CreateEventWithPromptInput.swift +0 -89
  233. package/ios/Sources/CapacitorCalendarPlugin/Models/Results/ListEventsInRangeResult.swift +0 -16
  234. package/ios/Tests/CapacitorCalendarPluginTests/CapacitorCalendarPluginTests.swift +0 -15
  235. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/CAPPermissionState.swift +0 -0
  236. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/CalendarPermissionScope.swift +0 -0
  237. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/EventEditAction.swift +0 -0
  238. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CheckPermissionInput.swift +0 -0
  239. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteReminderWithPromptInput.swift +0 -0
  240. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteRemindersByIdInput.swift +0 -0
  241. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/GetReminderByIdInput.swift +0 -0
  242. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/GetRemindersFromListsInput.swift +0 -0
  243. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ListEventsInRangeInput.swift +0 -0
  244. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventWithPromptInput.swift +0 -0
  245. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/OpenCalendarInput.swift +0 -0
  246. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/RequestPermissionInput.swift +0 -0
  247. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/SelectCalendarsWithPromptInput.swift +0 -0
  248. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CheckAllPermissionsResult.swift +0 -0
  249. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CheckPermissionResult.swift +0 -0
  250. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateCalendarResult.swift +0 -0
  251. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateReminderResult.swift +0 -0
  252. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteEventWithPromptResult.swift +0 -0
  253. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteEventsByIdResult.swift +0 -0
  254. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteRemindersByIdResult.swift +0 -0
  255. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/FetchAllCalendarSourcesResult.swift +0 -0
  256. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetDefaultCalendarResult.swift +0 -0
  257. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetReminderByIdResult.swift +0 -0
  258. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetRemindersFromListsResult.swift +0 -0
  259. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ListCalendarsResult.swift +0 -0
  260. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ModifyEventWithPromptResult.swift +0 -0
  261. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/RequestAllPermissionsResult.swift +0 -0
  262. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/RequestPermissionResult.swift +0 -0
  263. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/SelectCalendarsWithPromptResult.swift +0 -0
  264. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Templates/JSResult.swift +0 -0
@@ -1,18 +1,43 @@
1
- import { EventSpan } from "../enums/event-span";
1
+ import type { EventSpan } from '../enums/event-span';
2
2
  /**
3
3
  * @since 7.1.0
4
4
  */
5
5
  export interface DeleteEventOptions {
6
6
  /**
7
+ * Whether to save the deletion to the event store immediately.
8
+ * Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.
9
+ *
10
+ * @example false
11
+ * @default true
12
+ * @platform iOS
13
+ * @since 7.3.0
14
+ */
15
+ commit?: boolean;
16
+ /**
17
+ * The ID of the event to delete.
18
+ *
19
+ * @example '1234'
20
+ * @platform Android, iOS
7
21
  * @since 7.1.0
8
22
  */
9
23
  id: string;
10
24
  /**
11
- * The span of deletion.
25
+ * The start time of the occurrence to delete, in milliseconds since the epoch.
26
+ * Use `startDate` from `listEventsInRange`.
27
+ * On Android, required for `THIS_EVENT` on recurring events. If omitted with `THIS_AND_FUTURE_EVENTS`, the whole series is deleted.
12
28
  *
29
+ * @example 1716153600000
30
+ * @platform Android
31
+ * @since 7.3.0
32
+ */
33
+ instanceDate?: number;
34
+ /**
35
+ * How much of a recurring series to delete.
36
+ *
37
+ * @example EventSpan.THIS_EVENT
13
38
  * @default EventSpan.THIS_EVENT
14
- * @platform iOS
15
- * @see 7.1.0
39
+ * @platform Android, iOS
40
+ * @since 7.1.0
16
41
  */
17
42
  span?: EventSpan;
18
43
  }
@@ -1 +1 @@
1
- {"version":3,"file":"delete-event-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-event-options.ts"],"names":[],"mappings":"","sourcesContent":["import { EventSpan } from \"../enums/event-span\";\n\n/**\n * @since 7.1.0\n */\nexport interface DeleteEventOptions {\n /**\n * @since 7.1.0\n */\n id: string;\n /**\n * The span of deletion.\n *\n * @default EventSpan.THIS_EVENT\n * @platform iOS\n * @see 7.1.0\n */\n span?: EventSpan;\n}\n"]}
1
+ {"version":3,"file":"delete-event-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-event-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { EventSpan } from '../enums/event-span';\n\n/**\n * @since 7.1.0\n */\nexport interface DeleteEventOptions {\n /**\n * Whether to save the deletion to the event store immediately.\n * Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.\n *\n * @example false\n * @default true\n * @platform iOS\n * @since 7.3.0\n */\n commit?: boolean;\n /**\n * The ID of the event to delete.\n *\n * @example '1234'\n * @platform Android, iOS\n * @since 7.1.0\n */\n id: string;\n /**\n * The start time of the occurrence to delete, in milliseconds since the epoch.\n * Use `startDate` from `listEventsInRange`.\n * On Android, required for `THIS_EVENT` on recurring events. If omitted with `THIS_AND_FUTURE_EVENTS`, the whole series is deleted.\n *\n * @example 1716153600000\n * @platform Android\n * @since 7.3.0\n */\n instanceDate?: number;\n /**\n * How much of a recurring series to delete.\n *\n * @example EventSpan.THIS_EVENT\n * @default EventSpan.THIS_EVENT\n * @platform Android, iOS\n * @since 7.1.0\n */\n span?: EventSpan;\n}\n"]}
@@ -1,27 +1,52 @@
1
- import { EventSpan } from "../enums/event-span";
1
+ import type { EventSpan } from '../enums/event-span';
2
2
  /**
3
3
  * @since 7.1.0
4
4
  */
5
5
  export interface DeleteEventWithPromptOptions {
6
6
  /**
7
+ * Text to show on the cancel button.
8
+ *
9
+ * @default 'Cancel'
10
+ * @platform Android, iOS
7
11
  * @since 7.1.0
8
12
  */
9
- id: string;
13
+ cancelButtonText?: string;
10
14
  /**
11
- * The span of deletion.
15
+ * Whether to save the deletion to the event store immediately.
16
+ * Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.
12
17
  *
13
- * @default EventSpan.THIS_EVENT
18
+ * @example false
19
+ * @default true
14
20
  * @platform iOS
15
- * @see 7.1.0
21
+ * @since 7.3.0
16
22
  */
17
- span?: EventSpan;
23
+ commit?: boolean;
18
24
  /**
19
- * Title of the dialog.
25
+ * Text to show on the confirm button.
20
26
  *
27
+ * @default 'Delete'
21
28
  * @platform Android, iOS
22
29
  * @since 7.1.0
23
30
  */
24
- title: string;
31
+ confirmButtonText?: string;
32
+ /**
33
+ * The ID of the event to delete.
34
+ *
35
+ * @example '1234'
36
+ * @platform Android, iOS
37
+ * @since 7.1.0
38
+ */
39
+ id: string;
40
+ /**
41
+ * The start time of the occurrence to delete, in milliseconds since the epoch.
42
+ * Use `startDate` from `listEventsInRange`.
43
+ * On Android, required for `THIS_EVENT` on recurring events. If omitted with `THIS_AND_FUTURE_EVENTS`, the whole series is deleted.
44
+ *
45
+ * @example 1716153600000
46
+ * @platform Android
47
+ * @since 7.3.0
48
+ */
49
+ instanceDate?: number;
25
50
  /**
26
51
  * Message of the dialog.
27
52
  *
@@ -30,19 +55,19 @@ export interface DeleteEventWithPromptOptions {
30
55
  */
31
56
  message: string;
32
57
  /**
33
- * Text to show on the confirm button.
58
+ * How much of a recurring series to delete.
34
59
  *
35
- * @default 'Delete'
60
+ * @example EventSpan.THIS_EVENT
61
+ * @default EventSpan.THIS_EVENT
36
62
  * @platform Android, iOS
37
63
  * @since 7.1.0
38
64
  */
39
- confirmButtonText?: string;
65
+ span?: EventSpan;
40
66
  /**
41
- * Text to show on the cancel button.
67
+ * Title of the dialog.
42
68
  *
43
- * @default 'Cancel'
44
69
  * @platform Android, iOS
45
70
  * @since 7.1.0
46
71
  */
47
- cancelButtonText?: string;
72
+ title: string;
48
73
  }
@@ -1 +1 @@
1
- {"version":3,"file":"delete-event-with-prompt-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-event-with-prompt-options.ts"],"names":[],"mappings":"","sourcesContent":["import { EventSpan } from \"../enums/event-span\";\n\n/**\n * @since 7.1.0\n */\nexport interface DeleteEventWithPromptOptions {\n /**\n * @since 7.1.0\n */\n id: string;\n /**\n * The span of deletion.\n *\n * @default EventSpan.THIS_EVENT\n * @platform iOS\n * @see 7.1.0\n */\n span?: EventSpan;\n /**\n * Title of the dialog.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n title: string;\n /**\n * Message of the dialog.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n message: string;\n /**\n * Text to show on the confirm button.\n *\n * @default 'Delete'\n * @platform Android, iOS\n * @since 7.1.0\n */\n confirmButtonText?: string;\n /**\n * Text to show on the cancel button.\n *\n * @default 'Cancel'\n * @platform Android, iOS\n * @since 7.1.0\n */\n cancelButtonText?: string;\n}\n"]}
1
+ {"version":3,"file":"delete-event-with-prompt-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-event-with-prompt-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { EventSpan } from '../enums/event-span';\n\n/**\n * @since 7.1.0\n */\nexport interface DeleteEventWithPromptOptions {\n /**\n * Text to show on the cancel button.\n *\n * @default 'Cancel'\n * @platform Android, iOS\n * @since 7.1.0\n */\n cancelButtonText?: string;\n /**\n * Whether to save the deletion to the event store immediately.\n * Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.\n *\n * @example false\n * @default true\n * @platform iOS\n * @since 7.3.0\n */\n commit?: boolean;\n /**\n * Text to show on the confirm button.\n *\n * @default 'Delete'\n * @platform Android, iOS\n * @since 7.1.0\n */\n confirmButtonText?: string;\n /**\n * The ID of the event to delete.\n *\n * @example '1234'\n * @platform Android, iOS\n * @since 7.1.0\n */\n id: string;\n /**\n * The start time of the occurrence to delete, in milliseconds since the epoch.\n * Use `startDate` from `listEventsInRange`.\n * On Android, required for `THIS_EVENT` on recurring events. If omitted with `THIS_AND_FUTURE_EVENTS`, the whole series is deleted.\n *\n * @example 1716153600000\n * @platform Android\n * @since 7.3.0\n */\n instanceDate?: number;\n /**\n * Message of the dialog.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n message: string;\n /**\n * How much of a recurring series to delete.\n *\n * @example EventSpan.THIS_EVENT\n * @default EventSpan.THIS_EVENT\n * @platform Android, iOS\n * @since 7.1.0\n */\n span?: EventSpan;\n /**\n * Title of the dialog.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n title: string;\n}\n"]}
@@ -1,18 +1,30 @@
1
- import { EventSpan } from "../enums/event-span";
1
+ import type { EventSpan } from '../enums/event-span';
2
2
  /**
3
3
  * @since 7.1.0
4
4
  */
5
5
  export interface DeleteEventsByIdOptions {
6
+ /**
7
+ * Whether to save the deletion to the event store immediately.
8
+ * Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.
9
+ *
10
+ * @example false
11
+ * @default true
12
+ * @platform iOS
13
+ * @since 7.3.0
14
+ */
15
+ commit?: boolean;
6
16
  /**
7
17
  * @since 7.1.0
8
18
  */
9
19
  ids: string[];
10
20
  /**
11
- * The span of deletion.
21
+ * How much of a recurring series to delete.
22
+ * On Android, `THIS_EVENT` cannot target a single recurring occurrence here — use `deleteEvent` with `instanceDate`. Those ids are reported in `failed`.
12
23
  *
24
+ * @example EventSpan.THIS_EVENT
13
25
  * @default EventSpan.THIS_EVENT
14
- * @platform iOS
15
- * @see 7.1.0
26
+ * @platform Android, iOS
27
+ * @since 7.1.0
16
28
  */
17
29
  span?: EventSpan;
18
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"delete-events-by-id-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-events-by-id-options.ts"],"names":[],"mappings":"","sourcesContent":["import { EventSpan } from \"../enums/event-span\";\n\n/**\n * @since 7.1.0\n */\nexport interface DeleteEventsByIdOptions {\n /**\n * @since 7.1.0\n */\n ids: string[];\n /**\n * The span of deletion.\n *\n * @default EventSpan.THIS_EVENT\n * @platform iOS\n * @see 7.1.0\n */\n span?: EventSpan;\n}\n"]}
1
+ {"version":3,"file":"delete-events-by-id-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-events-by-id-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { EventSpan } from '../enums/event-span';\n\n/**\n * @since 7.1.0\n */\nexport interface DeleteEventsByIdOptions {\n /**\n * Whether to save the deletion to the event store immediately.\n * Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.\n *\n * @example false\n * @default true\n * @platform iOS\n * @since 7.3.0\n */\n commit?: boolean;\n /**\n * @since 7.1.0\n */\n ids: string[];\n /**\n * How much of a recurring series to delete.\n * On Android, `THIS_EVENT` cannot target a single recurring occurrence here — use `deleteEvent` with `instanceDate`. Those ids are reported in `failed`.\n *\n * @example EventSpan.THIS_EVENT\n * @default EventSpan.THIS_EVENT\n * @platform Android, iOS\n * @since 7.1.0\n */\n span?: EventSpan;\n}\n"]}
@@ -2,6 +2,16 @@
2
2
  * @since 7.1.0
3
3
  */
4
4
  export interface DeleteReminderOptions {
5
+ /**
6
+ * Whether to save immediately (`true`) or batch changes for later (`false`).
7
+ * Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.
8
+ *
9
+ * @default true
10
+ * @platform iOS
11
+ * @see {@link CalendarOperations#commit}
12
+ * @since 7.3.0
13
+ */
14
+ commit?: boolean;
5
15
  /**
6
16
  * @since 7.1.0
7
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"delete-reminder-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-reminder-options.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.1.0\n */\nexport interface DeleteReminderOptions {\n /**\n * @since 7.1.0\n */\n id: string;\n}\n"]}
1
+ {"version":3,"file":"delete-reminder-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-reminder-options.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.1.0\n */\nexport interface DeleteReminderOptions {\n /**\n * Whether to save immediately (`true`) or batch changes for later (`false`).\n * Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.\n *\n * @default true\n * @platform iOS\n * @see {@link CalendarOperations#commit}\n * @since 7.3.0\n */\n commit?: boolean;\n /**\n * @since 7.1.0\n */\n id: string;\n}\n"]}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @since 7.2.0
3
+ */
4
+ export interface DeleteReminderWithPromptResult {
5
+ /**
6
+ * Whether the user confirmed deletion.
7
+ *
8
+ * @platform iOS
9
+ * @since 7.2.0
10
+ */
11
+ deleted: boolean;
12
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=delete-reminder-with-prompt-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-reminder-with-prompt-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-reminder-with-prompt-result.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.2.0\n */\nexport interface DeleteReminderWithPromptResult {\n /**\n * Whether the user confirmed deletion.\n *\n * @platform iOS\n * @since 7.2.0\n */\n deleted: boolean;\n}\n"]}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @since 7.1.0
3
+ */
4
+ export interface DeleteRemindersByIdResult {
5
+ /**
6
+ * @since 7.1.0
7
+ */
8
+ deleted: string[];
9
+ /**
10
+ * @since 7.1.0
11
+ */
12
+ failed: string[];
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=delete-reminders-by-id-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-reminders-by-id-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-reminders-by-id-result.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.1.0\n */\nexport interface DeleteRemindersByIdResult {\n /**\n * @since 7.1.0\n */\n deleted: string[];\n /**\n * @since 7.1.0\n */\n failed: string[];\n}\n"]}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @since 7.3.0
3
+ */
4
+ export interface DeleteRemindersListOptions {
5
+ /**
6
+ * Whether to save the deletion to the event store immediately.
7
+ * Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.
8
+ *
9
+ * @example false
10
+ * @default true
11
+ * @platform iOS
12
+ * @since 7.3.0
13
+ */
14
+ commit?: boolean;
15
+ /**
16
+ * Identifier of the reminders list to delete.
17
+ *
18
+ * @example 'A1234567-ABCD-EFGH-IJKL-MNOPQRSTUVWX'
19
+ * @platform iOS
20
+ * @since 7.3.0
21
+ */
22
+ id: string;
23
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=delete-reminders-list-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-reminders-list-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-reminders-list-options.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.3.0\n */\nexport interface DeleteRemindersListOptions {\n /**\n * Whether to save the deletion to the event store immediately.\n * Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.\n *\n * @example false\n * @default true\n * @platform iOS\n * @since 7.3.0\n */\n commit?: boolean;\n /**\n * Identifier of the reminders list to delete.\n *\n * @example 'A1234567-ABCD-EFGH-IJKL-MNOPQRSTUVWX'\n * @platform iOS\n * @since 7.3.0\n */\n id: string;\n}\n"]}
@@ -0,0 +1,96 @@
1
+ import type { RecurrenceFrequency } from '../types/recurrence-frequency';
2
+ export interface EventRecurrenceRule {
3
+ /**
4
+ * Limits a yearly recurrence to specific months of the year.
5
+ * The values should be between 1 and 12.
6
+ *
7
+ * @example [1, 7] // Means in January and July.
8
+ *
9
+ * @platform Android, iOS, Web
10
+ * @since 7.1.0
11
+ */
12
+ byMonth?: number[];
13
+ /**
14
+ * Limits a monthly recurrence to specific days of the month.
15
+ * The values should be between 1 and 31.
16
+ *
17
+ * @example [1, 15] // The 1st and 15th of each month.
18
+ *
19
+ * @platform Android, iOS, Web
20
+ * @since 7.1.0
21
+ */
22
+ byMonthDay?: number[];
23
+ /**
24
+ * Limits a weekly recurrence to specific weekdays.
25
+ * The values should be between 1 and 7.
26
+ * 1 means Monday and 7 means Sunday.
27
+ *
28
+ * @example [1, 3, 5] // Every Monday, Wednesday and Friday
29
+ *
30
+ * @platform Android, iOS, Web
31
+ * @since 7.3.0
32
+ */
33
+ byWeekDay?: number[];
34
+ /**
35
+ * The total number of occurrences.
36
+ * If set, the recurrence ends after this many occurrences.
37
+ * If `count` is provided, `end` is ignored.
38
+ *
39
+ * @example 10
40
+ *
41
+ * @platform Android, iOS, Web
42
+ * @since 7.3.0
43
+ */
44
+ count?: number;
45
+ /**
46
+ * Limits a yearly recurrence to specific days of the year (1 to 366).
47
+ *
48
+ * @example [1, 100, 364]
49
+ *
50
+ * @platform iOS, Web
51
+ * @since 7.3.0
52
+ */
53
+ daysOfTheYear?: number[];
54
+ /**
55
+ * End date of the recurrence series as a Unix timestamp in milliseconds.
56
+ *
57
+ * @example
58
+ * const date = new Date();
59
+ * date.setMonth(date.getMonth() + 1);
60
+ * const end = date.getTime();
61
+ *
62
+ * @platform Android, iOS, Web
63
+ * @since 7.1.0
64
+ */
65
+ end?: number;
66
+ /**
67
+ * How often the event repeats.
68
+ *
69
+ * @example 'weekly'
70
+ *
71
+ * @platform Android, iOS, Web
72
+ * @since 7.3.0
73
+ */
74
+ frequency: RecurrenceFrequency;
75
+ /**
76
+ * The interval between recurrences. Use in combination with `frequency`.
77
+ * For example, a weekly event with an interval of 2, results in the event
78
+ * occurring every 2 weeks.
79
+ *
80
+ * @example 2
81
+ *
82
+ * @default 1
83
+ * @platform Android, iOS, Web
84
+ * @since 7.3.0
85
+ */
86
+ interval?: number;
87
+ /**
88
+ * Limits a yearly recurrence to specific ISO week numbers (1 to 53).
89
+ *
90
+ * @example [1, 53]
91
+ *
92
+ * @platform iOS, Web
93
+ * @since 7.3.0
94
+ */
95
+ weeksOfTheYear?: number[];
96
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=event-recurrence-rule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-recurrence-rule.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/event-recurrence-rule.ts"],"names":[],"mappings":"","sourcesContent":["import type { RecurrenceFrequency } from '../types/recurrence-frequency';\n\nexport interface EventRecurrenceRule {\n /**\n * Limits a yearly recurrence to specific months of the year.\n * The values should be between 1 and 12.\n *\n * @example [1, 7] // Means in January and July.\n *\n * @platform Android, iOS, Web\n * @since 7.1.0\n */\n byMonth?: number[];\n /**\n * Limits a monthly recurrence to specific days of the month.\n * The values should be between 1 and 31.\n *\n * @example [1, 15] // The 1st and 15th of each month.\n *\n * @platform Android, iOS, Web\n * @since 7.1.0\n */\n byMonthDay?: number[];\n /**\n * Limits a weekly recurrence to specific weekdays.\n * The values should be between 1 and 7.\n * 1 means Monday and 7 means Sunday.\n *\n * @example [1, 3, 5] // Every Monday, Wednesday and Friday\n *\n * @platform Android, iOS, Web\n * @since 7.3.0\n */\n byWeekDay?: number[];\n /**\n * The total number of occurrences.\n * If set, the recurrence ends after this many occurrences.\n * If `count` is provided, `end` is ignored.\n *\n * @example 10\n *\n * @platform Android, iOS, Web\n * @since 7.3.0\n */\n count?: number;\n /**\n * Limits a yearly recurrence to specific days of the year (1 to 366).\n *\n * @example [1, 100, 364]\n *\n * @platform iOS, Web\n * @since 7.3.0\n */\n daysOfTheYear?: number[];\n /**\n * End date of the recurrence series as a Unix timestamp in milliseconds.\n *\n * @example\n * const date = new Date();\n * date.setMonth(date.getMonth() + 1);\n * const end = date.getTime();\n *\n * @platform Android, iOS, Web\n * @since 7.1.0\n */\n end?: number;\n /**\n * How often the event repeats.\n *\n * @example 'weekly'\n *\n * @platform Android, iOS, Web\n * @since 7.3.0\n */\n frequency: RecurrenceFrequency;\n /**\n * The interval between recurrences. Use in combination with `frequency`.\n * For example, a weekly event with an interval of 2, results in the event\n * occurring every 2 weeks.\n *\n * @example 2\n *\n * @default 1\n * @platform Android, iOS, Web\n * @since 7.3.0\n */\n interval?: number;\n /**\n * Limits a yearly recurrence to specific ISO week numbers (1 to 53).\n *\n * @example [1, 53]\n *\n * @platform iOS, Web\n * @since 7.3.0\n */\n weeksOfTheYear?: number[];\n}\n"]}
@@ -0,0 +1,13 @@
1
+ import type { CalendarSource } from './calendar-source';
2
+ /**
3
+ * @since 7.3.0
4
+ */
5
+ export interface FetchAllCalendarSourcesResult {
6
+ /**
7
+ * All calendar sources (accounts) known to EventKit.
8
+ *
9
+ * @platform iOS
10
+ * @since 7.3.0
11
+ */
12
+ result: CalendarSource[];
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=fetch-all-calendar-sources-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-all-calendar-sources-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/fetch-all-calendar-sources-result.ts"],"names":[],"mappings":"","sourcesContent":["import type { CalendarSource } from './calendar-source';\n\n/**\n * @since 7.3.0\n */\nexport interface FetchAllCalendarSourcesResult {\n /**\n * All calendar sources (accounts) known to EventKit.\n *\n * @platform iOS\n * @since 7.3.0\n */\n result: CalendarSource[];\n}\n"]}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @since 7.3.0
3
+ */
4
+ export interface GetDefaultCalendarOptions {
5
+ /**
6
+ * When there is no system default calendar, use the first available calendar.
7
+ *
8
+ * @default false
9
+ * @platform Android, iOS
10
+ * @since 7.3.0
11
+ */
12
+ useFallbackCalendar?: boolean;
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=get-default-calendar-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-default-calendar-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/get-default-calendar-options.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.3.0\n */\nexport interface GetDefaultCalendarOptions {\n /**\n * When there is no system default calendar, use the first available calendar.\n *\n * @default false\n * @platform Android, iOS\n * @since 7.3.0\n */\n useFallbackCalendar?: boolean;\n}\n"]}
@@ -0,0 +1,13 @@
1
+ import type { RemindersList } from './reminders-list';
2
+ /**
3
+ * @since 7.1.0
4
+ */
5
+ export interface GetDefaultRemindersListResult {
6
+ /**
7
+ * The default reminders list, or `null` when none exists.
8
+ *
9
+ * @platform iOS
10
+ * @since 7.1.0
11
+ */
12
+ result: RemindersList | null;
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=get-default-reminders-list-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-default-reminders-list-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/get-default-reminders-list-result.ts"],"names":[],"mappings":"","sourcesContent":["import type { RemindersList } from './reminders-list';\n\n/**\n * @since 7.1.0\n */\nexport interface GetDefaultRemindersListResult {\n /**\n * The default reminders list, or `null` when none exists.\n *\n * @platform iOS\n * @since 7.1.0\n */\n result: RemindersList | null;\n}\n"]}
@@ -0,0 +1,13 @@
1
+ import type { Reminder } from './reminder';
2
+ /**
3
+ * @since 7.1.0
4
+ */
5
+ export interface GetReminderByIdResult {
6
+ /**
7
+ * The reminder for the given id, or `null` when none exists.
8
+ *
9
+ * @platform iOS
10
+ * @since 7.1.0
11
+ */
12
+ result: Reminder | null;
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=get-reminder-by-id-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-reminder-by-id-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/get-reminder-by-id-result.ts"],"names":[],"mappings":"","sourcesContent":["import type { Reminder } from './reminder';\n\n/**\n * @since 7.1.0\n */\nexport interface GetReminderByIdResult {\n /**\n * The reminder for the given id, or `null` when none exists.\n *\n * @platform iOS\n * @since 7.1.0\n */\n result: Reminder | null;\n}\n"]}
@@ -0,0 +1,13 @@
1
+ import type { Reminder } from './reminder';
2
+ /**
3
+ * @since 5.3.0
4
+ */
5
+ export interface GetRemindersFromListsResult {
6
+ /**
7
+ * Reminders from the requested lists.
8
+ *
9
+ * @platform iOS
10
+ * @since 5.3.0
11
+ */
12
+ result: Reminder[];
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=get-reminders-from-lists-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-reminders-from-lists-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/get-reminders-from-lists-result.ts"],"names":[],"mappings":"","sourcesContent":["import type { Reminder } from './reminder';\n\n/**\n * @since 5.3.0\n */\nexport interface GetRemindersFromListsResult {\n /**\n * Reminders from the requested lists.\n *\n * @platform iOS\n * @since 5.3.0\n */\n result: Reminder[];\n}\n"]}
@@ -0,0 +1,13 @@
1
+ import type { RemindersList } from './reminders-list';
2
+ /**
3
+ * @since 7.1.0
4
+ */
5
+ export interface GetRemindersListsResult {
6
+ /**
7
+ * All available reminders lists.
8
+ *
9
+ * @platform iOS
10
+ * @since 7.1.0
11
+ */
12
+ result: RemindersList[];
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=get-reminders-lists-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-reminders-lists-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/get-reminders-lists-result.ts"],"names":[],"mappings":"","sourcesContent":["import type { RemindersList } from './reminders-list';\n\n/**\n * @since 7.1.0\n */\nexport interface GetRemindersListsResult {\n /**\n * All available reminders lists.\n *\n * @platform iOS\n * @since 7.1.0\n */\n result: RemindersList[];\n}\n"]}
@@ -0,0 +1,13 @@
1
+ import type { Calendar } from './calendar';
2
+ /**
3
+ * @since 7.3.0
4
+ */
5
+ export interface ListCalendarsResult {
6
+ /**
7
+ * All available calendars.
8
+ *
9
+ * @platform Android, iOS
10
+ * @since 7.3.0
11
+ */
12
+ result: Calendar[];
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=list-calendars-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-calendars-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/list-calendars-result.ts"],"names":[],"mappings":"","sourcesContent":["import type { Calendar } from './calendar';\n\n/**\n * @since 7.3.0\n */\nexport interface ListCalendarsResult {\n /**\n * All available calendars.\n *\n * @platform Android, iOS\n * @since 7.3.0\n */\n result: Calendar[];\n}\n"]}
@@ -3,14 +3,19 @@
3
3
  */
4
4
  export interface ListEventsInRangeOptions {
5
5
  /**
6
- * The timestamp in milliseconds.
6
+ * The start of the range, in milliseconds since the epoch.
7
+ * Events still in progress at this time are included.
7
8
  *
9
+ * @example 1719792000000
8
10
  * @since 7.1.0
9
11
  */
10
12
  from: number;
11
13
  /**
12
- * The timestamp in milliseconds.
14
+ * The end of the range, in milliseconds since the epoch.
15
+ * Events that begin at or after this time are typically excluded; prefer the
16
+ * next day's start when querying a single calendar day.
13
17
  *
18
+ * @example 1719878400000
14
19
  * @since 7.1.0
15
20
  */
16
21
  to: number;
@@ -1 +1 @@
1
- {"version":3,"file":"list-events-in-range-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/list-events-in-range-options.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.1.0\n */\nexport interface ListEventsInRangeOptions {\n /**\n * The timestamp in milliseconds.\n *\n * @since 7.1.0\n */\n from: number;\n /**\n * The timestamp in milliseconds.\n *\n * @since 7.1.0\n */\n to: number;\n}\n"]}
1
+ {"version":3,"file":"list-events-in-range-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/list-events-in-range-options.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.1.0\n */\nexport interface ListEventsInRangeOptions {\n /**\n * The start of the range, in milliseconds since the epoch.\n * Events still in progress at this time are included.\n *\n * @example 1719792000000\n * @since 7.1.0\n */\n from: number;\n /**\n * The end of the range, in milliseconds since the epoch.\n * Events that begin at or after this time are typically excluded; prefer the\n * next day's start when querying a single calendar day.\n *\n * @example 1719878400000\n * @since 7.1.0\n */\n to: number;\n}\n"]}
@@ -0,0 +1,13 @@
1
+ import type { CalendarEvent } from './calendar-event';
2
+ /**
3
+ * @since 7.3.0
4
+ */
5
+ export interface ListEventsInRangeResult {
6
+ /**
7
+ * Events that overlap the requested range.
8
+ *
9
+ * @platform Android, iOS
10
+ * @since 7.3.0
11
+ */
12
+ result: CalendarEvent[];
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=list-events-in-range-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-events-in-range-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/list-events-in-range-result.ts"],"names":[],"mappings":"","sourcesContent":["import type { CalendarEvent } from './calendar-event';\n\n/**\n * @since 7.3.0\n */\nexport interface ListEventsInRangeResult {\n /**\n * Events that overlap the requested range.\n *\n * @platform Android, iOS\n * @since 7.3.0\n */\n result: CalendarEvent[];\n}\n"]}