@ebarooni/capacitor-calendar 7.1.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 (268) hide show
  1. package/EbarooniCapacitorCalendar.podspec +1 -1
  2. package/Package.swift +2 -2
  3. package/README.md +949 -452
  4. package/android/src/main/java/dev/barooni/capacitor/calendar/CapacitorCalendarPlugin.kt +74 -7
  5. package/android/src/main/java/dev/barooni/capacitor/calendar/PluginError.kt +36 -18
  6. package/android/src/main/java/dev/barooni/capacitor/calendar/implementation/CapacitorCalendar.kt +325 -83
  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 +22 -0
  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 +3321 -1121
  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 -46
  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-options.d.ts +35 -0
  98. package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-options.js +2 -0
  99. package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-options.js.map +1 -0
  100. package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-result.d.ts +12 -0
  101. package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-result.js +2 -0
  102. package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-result.js.map +1 -0
  103. package/dist/esm/schemas/interfaces/delete-reminders-by-id-result.d.ts +13 -0
  104. package/dist/esm/schemas/interfaces/delete-reminders-by-id-result.js +2 -0
  105. package/dist/esm/schemas/interfaces/delete-reminders-by-id-result.js.map +1 -0
  106. package/dist/esm/schemas/interfaces/delete-reminders-list-options.d.ts +23 -0
  107. package/dist/esm/schemas/interfaces/delete-reminders-list-options.js +2 -0
  108. package/dist/esm/schemas/interfaces/delete-reminders-list-options.js.map +1 -0
  109. package/dist/esm/schemas/interfaces/event-recurrence-rule.d.ts +96 -0
  110. package/dist/esm/schemas/interfaces/event-recurrence-rule.js +2 -0
  111. package/dist/esm/schemas/interfaces/event-recurrence-rule.js.map +1 -0
  112. package/dist/esm/schemas/interfaces/fetch-all-calendar-sources-result.d.ts +13 -0
  113. package/dist/esm/schemas/interfaces/fetch-all-calendar-sources-result.js +2 -0
  114. package/dist/esm/schemas/interfaces/fetch-all-calendar-sources-result.js.map +1 -0
  115. package/dist/esm/schemas/interfaces/get-default-calendar-options.d.ts +13 -0
  116. package/dist/esm/schemas/interfaces/get-default-calendar-options.js +2 -0
  117. package/dist/esm/schemas/interfaces/get-default-calendar-options.js.map +1 -0
  118. package/dist/esm/schemas/interfaces/get-default-reminders-list-result.d.ts +13 -0
  119. package/dist/esm/schemas/interfaces/get-default-reminders-list-result.js +2 -0
  120. package/dist/esm/schemas/interfaces/get-default-reminders-list-result.js.map +1 -0
  121. package/dist/esm/schemas/interfaces/get-reminder-by-id-result.d.ts +13 -0
  122. package/dist/esm/schemas/interfaces/get-reminder-by-id-result.js +2 -0
  123. package/dist/esm/schemas/interfaces/get-reminder-by-id-result.js.map +1 -0
  124. package/dist/esm/schemas/interfaces/get-reminders-from-lists-result.d.ts +13 -0
  125. package/dist/esm/schemas/interfaces/get-reminders-from-lists-result.js +2 -0
  126. package/dist/esm/schemas/interfaces/get-reminders-from-lists-result.js.map +1 -0
  127. package/dist/esm/schemas/interfaces/get-reminders-lists-result.d.ts +13 -0
  128. package/dist/esm/schemas/interfaces/get-reminders-lists-result.js +2 -0
  129. package/dist/esm/schemas/interfaces/get-reminders-lists-result.js.map +1 -0
  130. package/dist/esm/schemas/interfaces/list-calendars-result.d.ts +13 -0
  131. package/dist/esm/schemas/interfaces/list-calendars-result.js +2 -0
  132. package/dist/esm/schemas/interfaces/list-calendars-result.js.map +1 -0
  133. package/dist/esm/schemas/interfaces/list-events-in-range-options.d.ts +7 -2
  134. package/dist/esm/schemas/interfaces/list-events-in-range-options.js.map +1 -1
  135. package/dist/esm/schemas/interfaces/list-events-in-range-result.d.ts +13 -0
  136. package/dist/esm/schemas/interfaces/list-events-in-range-result.js +2 -0
  137. package/dist/esm/schemas/interfaces/list-events-in-range-result.js.map +1 -0
  138. package/dist/esm/schemas/interfaces/modify-calendar-options.d.ts +32 -0
  139. package/dist/esm/schemas/interfaces/modify-calendar-options.js +2 -0
  140. package/dist/esm/schemas/interfaces/modify-calendar-options.js.map +1 -0
  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 +75 -20
  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 +82 -37
  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 +71 -77
  196. package/dist/esm/web.js +127 -6
  197. package/dist/esm/web.js.map +1 -1
  198. package/dist/plugin.cjs.js +470 -35
  199. package/dist/plugin.cjs.js.map +1 -1
  200. package/dist/plugin.js +470 -35
  201. package/dist/plugin.js.map +1 -1
  202. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/CapacitorCalendarPlugin.swift +168 -75
  203. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Implementation/CapacitorCalendar.swift +242 -107
  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/DeleteReminderWithPromptInput.swift +46 -0
  217. package/ios/Plugin/Models/Inputs/DeleteRemindersListInput.swift +22 -0
  218. package/ios/Plugin/Models/Inputs/GetDefaultCalendarInput.swift +13 -0
  219. package/ios/Plugin/Models/Inputs/ModifyCalendarInput.swift +35 -0
  220. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventInput.swift +63 -41
  221. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyReminderInput.swift +66 -5
  222. package/ios/Plugin/Models/Inputs/UpdateRemindersListInput.swift +41 -0
  223. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateEventResult.swift +1 -0
  224. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateEventWithPromptResult.swift +1 -0
  225. package/ios/Plugin/Models/Results/CreateRemindersListResult.swift +15 -0
  226. package/ios/Plugin/Models/Results/ListEventsInRangeResult.swift +29 -0
  227. package/ios/Plugin/Models/Results/UpdateRemindersListResult.swift +15 -0
  228. package/ios/Plugin/Models/Structs/RecurrenceInput.swift +41 -0
  229. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginConfig.swift +30 -25
  230. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginError.swift +74 -56
  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/DeleteRemindersByIdInput.swift +0 -0
  245. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/GetReminderByIdInput.swift +0 -0
  246. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/GetRemindersFromListsInput.swift +0 -0
  247. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ListEventsInRangeInput.swift +0 -0
  248. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventWithPromptInput.swift +0 -0
  249. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/OpenCalendarInput.swift +0 -0
  250. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/RequestPermissionInput.swift +0 -0
  251. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/SelectCalendarsWithPromptInput.swift +0 -0
  252. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CheckAllPermissionsResult.swift +0 -0
  253. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CheckPermissionResult.swift +0 -0
  254. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateCalendarResult.swift +0 -0
  255. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateReminderResult.swift +0 -0
  256. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteEventWithPromptResult.swift +0 -0
  257. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteEventsByIdResult.swift +0 -0
  258. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteRemindersByIdResult.swift +0 -0
  259. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/FetchAllCalendarSourcesResult.swift +0 -0
  260. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetDefaultCalendarResult.swift +0 -0
  261. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetReminderByIdResult.swift +0 -0
  262. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetRemindersFromListsResult.swift +0 -0
  263. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ListCalendarsResult.swift +0 -0
  264. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ModifyEventWithPromptResult.swift +0 -0
  265. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/RequestAllPermissionsResult.swift +0 -0
  266. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/RequestPermissionResult.swift +0 -0
  267. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/SelectCalendarsWithPromptResult.swift +0 -0
  268. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Templates/JSResult.swift +0 -0
@@ -1,7 +1,7 @@
1
- import type { CalendarAccess } from "./sub-definitions/calendar-access";
2
- import type { CalendarOperations } from "./sub-definitions/calendar-operations";
3
- import type { EventOperations } from "./sub-definitions/event-operations";
4
- import type { RemindersAccess } from "./sub-definitions/reminders-access";
5
- import type { RemindersOperations } from "./sub-definitions/reminders-operations";
1
+ import type { CalendarAccess } from './sub-definitions/calendar-access';
2
+ import type { CalendarOperations } from './sub-definitions/calendar-operations';
3
+ import type { EventOperations } from './sub-definitions/event-operations';
4
+ import type { RemindersAccess } from './sub-definitions/reminders-access';
5
+ import type { RemindersOperations } from './sub-definitions/reminders-operations';
6
6
  export interface CapacitorCalendarPlugin extends CalendarAccess, RemindersAccess, EventOperations, CalendarOperations, RemindersOperations {
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["import type { CalendarAccess } from \"./sub-definitions/calendar-access\";\nimport type { CalendarOperations } from \"./sub-definitions/calendar-operations\";\nimport type { EventOperations } from \"./sub-definitions/event-operations\";\nimport type { RemindersAccess } from \"./sub-definitions/reminders-access\";\nimport type { RemindersOperations } from \"./sub-definitions/reminders-operations\";\n\nexport interface CapacitorCalendarPlugin\n extends CalendarAccess,\n RemindersAccess,\n EventOperations,\n CalendarOperations,\n RemindersOperations {}\n"]}
1
+ {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["import type { CalendarAccess } from './sub-definitions/calendar-access';\nimport type { CalendarOperations } from './sub-definitions/calendar-operations';\nimport type { EventOperations } from './sub-definitions/event-operations';\nimport type { RemindersAccess } from './sub-definitions/reminders-access';\nimport type { RemindersOperations } from './sub-definitions/reminders-operations';\n\nexport interface CapacitorCalendarPlugin\n extends CalendarAccess, RemindersAccess, EventOperations, CalendarOperations, RemindersOperations {}\n"]}
@@ -1,47 +1,72 @@
1
- import type { CheckAllPermissionsResult, RequestAllPermissionsResult } from "./sub-definitions/calendar-access";
2
- import { AttendeeRole } from "./schemas/enums/attendee-role";
3
- import { AttendeeStatus } from "./schemas/enums/attendee-status";
4
- import { AttendeeType } from "./schemas/enums/attendee-type";
5
- import type { Calendar } from "./schemas/interfaces/calendar";
6
- import { CalendarChooserDisplayStyle } from "./schemas/enums/calendar-chooser-display-style";
7
- import type { CalendarEvent } from "./schemas/interfaces/calendar-event";
8
- import { CalendarPermissionScope } from "./schemas/enums/calendar-permission-scope";
9
- import type { CalendarSource } from "./schemas/interfaces/calendar-source";
10
- import { CalendarSourceType } from "./schemas/enums/calendar-source-type";
11
- import { CalendarType } from "./schemas/enums/calendar-type";
12
- import type { CapacitorCalendarPlugin } from "./definitions";
13
- import type { CreateCalendarOptions } from "./schemas/interfaces/create-calendar-options";
14
- import type { CreateEventOptions } from "./schemas/interfaces/create-event-options";
15
- import type { CreateEventWithPromptOptions } from "./schemas/interfaces/create-event-with-prompt-options";
16
- import type { CreateReminderOptions } from "./schemas/interfaces/create-reminder-options";
17
- import type { DeleteCalendarOptions } from "./schemas/interfaces/delete-calendar-options";
18
- import type { DeleteEventOptions } from "./schemas/interfaces/delete-event-options";
19
- import type { DeleteEventWithPromptOptions } from "./schemas/interfaces/delete-event-with-prompt-options";
20
- import type { DeleteEventsByIdOptions } from "./schemas/interfaces/delete-events-by-id-options";
21
- import type { DeleteEventsByIdResult } from "./sub-definitions/event-operations";
22
- import type { DeleteReminderOptions } from "./schemas/interfaces/delete-reminder-options";
23
- import type { DeleteRemindersByIdOptions } from "./schemas/interfaces/delete-reminders-by-id-options";
24
- import type { DeleteRemindersByIdResult } from "./sub-definitions/reminders-operations";
25
- import { EventAvailability } from "./schemas/enums/event-availability";
26
- import type { EventEditAction } from "./schemas/types/event-edit-action";
27
- import { EventGuest } from "./schemas/interfaces/event-guest";
28
- import { EventSpan } from "./schemas/enums/event-span";
29
- import { EventStatus } from "./schemas/enums/event-status";
30
- import type { GetReminderByIdOptions } from "./schemas/interfaces/get-reminder-by-id-options";
31
- import type { GetRemindersFromListsOptions } from "./schemas/interfaces/get-reminders-from-lists-options";
32
- import type { ListEventsInRangeOptions } from "./schemas/interfaces/list-events-in-range-options";
33
- import type { ModifyEventOptions } from "./schemas/interfaces/modify-event-options";
34
- import type { ModifyEventWithPromptOptions } from "./schemas/interfaces/modify-event-with-prompt-options";
35
- import type { ModifyReminderOptions } from "./schemas/interfaces/modify-reminder-options";
36
- import type { OpenCalendarOptions } from "./schemas/interfaces/open-calendar-options";
37
- import { RecurrenceFrequency } from "./schemas/enums/recurrence-frequency";
38
- import type { RecurrenceRule } from "./schemas/interfaces/recurrence-rule";
39
- import type { Reminder } from "./schemas/interfaces/reminder";
40
- import { ReminderRecurrenceFrequency } from "./schemas/enums/reminder-recurrence-frequency";
41
- import type { ReminderRecurrenceRule } from "./schemas/interfaces/reminder-recurrence-rule";
42
- import type { RemindersList } from "./schemas/interfaces/reminders-list";
43
- import type { SelectCalendarsWithPromptOptions } from "./schemas/interfaces/select-calendars-with-prompt-options";
1
+ import type { CapacitorCalendarPlugin } from './definitions';
2
+ import { AttendeeRole } from './schemas/enums/attendee-role';
3
+ import { AttendeeStatus } from './schemas/enums/attendee-status';
4
+ import { AttendeeType } from './schemas/enums/attendee-type';
5
+ import { CalendarChooserDisplayStyle } from './schemas/enums/calendar-chooser-display-style';
6
+ import { CalendarPermissionScope } from './schemas/enums/calendar-permission-scope';
7
+ import { CalendarSourceType } from './schemas/enums/calendar-source-type';
8
+ import { CalendarType } from './schemas/enums/calendar-type';
9
+ import { EventAvailability } from './schemas/enums/event-availability';
10
+ import { EventSpan } from './schemas/enums/event-span';
11
+ import { EventStatus } from './schemas/enums/event-status';
12
+ import { ReminderRecurrenceFrequency } from './schemas/enums/reminder-recurrence-frequency';
13
+ import type { Calendar } from './schemas/interfaces/calendar';
14
+ import type { CalendarEvent } from './schemas/interfaces/calendar-event';
15
+ import type { CalendarSource } from './schemas/interfaces/calendar-source';
16
+ import type { CheckPermissionOptions } from './schemas/interfaces/check-permission-options';
17
+ import type { CreateCalendarOptions } from './schemas/interfaces/create-calendar-options';
18
+ import type { CreateCalendarResult } from './schemas/interfaces/create-calendar-result';
19
+ import type { CreateEventOptions } from './schemas/interfaces/create-event-options';
20
+ import type { CreateEventResult } from './schemas/interfaces/create-event-result';
21
+ import type { CreateEventWithPromptOptions } from './schemas/interfaces/create-event-with-prompt-options';
22
+ import type { CreateEventWithPromptResult } from './schemas/interfaces/create-event-with-prompt-result';
23
+ import type { CreateReminderOptions } from './schemas/interfaces/create-reminder-options';
24
+ import type { CreateReminderResult } from './schemas/interfaces/create-reminder-result';
25
+ import type { CreateRemindersListOptions } from './schemas/interfaces/create-reminders-list-options';
26
+ import type { CreateRemindersListResult } from './schemas/interfaces/create-reminders-list-result';
27
+ import type { DeleteCalendarOptions } from './schemas/interfaces/delete-calendar-options';
28
+ import type { DeleteEventOptions } from './schemas/interfaces/delete-event-options';
29
+ import type { DeleteEventWithPromptOptions } from './schemas/interfaces/delete-event-with-prompt-options';
30
+ import type { DeleteEventsByIdOptions } from './schemas/interfaces/delete-events-by-id-options';
31
+ import type { DeleteReminderOptions } from './schemas/interfaces/delete-reminder-options';
32
+ import type { DeleteReminderWithPromptOptions } from './schemas/interfaces/delete-reminder-with-prompt-options';
33
+ import type { DeleteReminderWithPromptResult } from './schemas/interfaces/delete-reminder-with-prompt-result';
34
+ import type { DeleteRemindersByIdOptions } from './schemas/interfaces/delete-reminders-by-id-options';
35
+ import type { DeleteRemindersByIdResult } from './schemas/interfaces/delete-reminders-by-id-result';
36
+ import type { DeleteRemindersListOptions } from './schemas/interfaces/delete-reminders-list-options';
37
+ import type { EventGuest } from './schemas/interfaces/event-guest';
38
+ import type { FetchAllCalendarSourcesResult } from './schemas/interfaces/fetch-all-calendar-sources-result';
39
+ import type { GetDefaultCalendarOptions } from './schemas/interfaces/get-default-calendar-options';
40
+ import type { GetDefaultRemindersListResult } from './schemas/interfaces/get-default-reminders-list-result';
41
+ import type { GetReminderByIdOptions } from './schemas/interfaces/get-reminder-by-id-options';
42
+ import type { GetReminderByIdResult } from './schemas/interfaces/get-reminder-by-id-result';
43
+ import type { GetRemindersFromListsOptions } from './schemas/interfaces/get-reminders-from-lists-options';
44
+ import type { GetRemindersFromListsResult } from './schemas/interfaces/get-reminders-from-lists-result';
45
+ import type { GetRemindersListsResult } from './schemas/interfaces/get-reminders-lists-result';
46
+ import type { ListCalendarsResult } from './schemas/interfaces/list-calendars-result';
47
+ import type { ListEventsInRangeOptions } from './schemas/interfaces/list-events-in-range-options';
48
+ import type { ListEventsInRangeResult } from './schemas/interfaces/list-events-in-range-result';
49
+ import type { ModifyCalendarOptions } from './schemas/interfaces/modify-calendar-options';
50
+ import type { ModifyEventOptions } from './schemas/interfaces/modify-event-options';
51
+ import type { ModifyEventWithPromptOptions } from './schemas/interfaces/modify-event-with-prompt-options';
52
+ import type { ModifyReminderOptions } from './schemas/interfaces/modify-reminder-options';
53
+ import type { OpenCalendarOptions } from './schemas/interfaces/open-calendar-options';
54
+ import type { RecurrenceRule } from './schemas/interfaces/recurrence-rule';
55
+ import type { Reminder } from './schemas/interfaces/reminder';
56
+ import type { ReminderRecurrenceRule } from './schemas/interfaces/reminder-recurrence-rule';
57
+ import type { RemindersList } from './schemas/interfaces/reminders-list';
58
+ import type { RequestPermissionOptions } from './schemas/interfaces/request-permission-options';
59
+ import type { SelectCalendarsWithPromptOptions } from './schemas/interfaces/select-calendars-with-prompt-options';
60
+ import type { SelectCalendarsWithPromptResult } from './schemas/interfaces/select-calendars-with-prompt-result';
61
+ import type { UpdateRemindersListOptions } from './schemas/interfaces/update-reminders-list-options';
62
+ import type { UpdateRemindersListResult } from './schemas/interfaces/update-reminders-list-result';
63
+ import type { EventEditAction } from './schemas/types/event-edit-action';
64
+ import type { RecurrenceFrequency } from './schemas/types/recurrence-frequency';
65
+ import type { SystemColorName } from './schemas/types/system-color-name';
66
+ import type { CheckAllPermissionsResult, RequestAllPermissionsResult } from './sub-definitions/calendar-access';
67
+ import type { DeleteEventsByIdResult } from './sub-definitions/event-operations';
68
+ import { downloadIcsFile } from './web/download-ics-file';
44
69
  declare const CapacitorCalendar: CapacitorCalendarPlugin;
45
- export * from "./definitions";
46
- export type { CheckAllPermissionsResult, RequestAllPermissionsResult, CreateEventWithPromptOptions, ModifyEventWithPromptOptions, EventEditAction, CreateEventOptions, EventGuest, ModifyEventOptions, SelectCalendarsWithPromptOptions, Calendar, RemindersList, CalendarSource, OpenCalendarOptions, CreateCalendarOptions, DeleteCalendarOptions, ReminderRecurrenceRule, RecurrenceRule, CreateReminderOptions, DeleteRemindersByIdOptions, DeleteRemindersByIdResult, DeleteReminderOptions, ModifyReminderOptions, GetReminderByIdOptions, Reminder, GetRemindersFromListsOptions, DeleteEventsByIdOptions, DeleteEventsByIdResult, DeleteEventOptions, DeleteEventWithPromptOptions, ListEventsInRangeOptions, CalendarEvent, };
47
- export { CalendarPermissionScope, EventAvailability, EventSpan, CalendarChooserDisplayStyle, CalendarType, CalendarSourceType, ReminderRecurrenceFrequency, RecurrenceFrequency, EventStatus, AttendeeRole, AttendeeType, AttendeeStatus, CapacitorCalendar, };
70
+ export * from './definitions';
71
+ export type { Calendar, CalendarEvent, CalendarSource, CheckAllPermissionsResult, CheckPermissionOptions, CreateCalendarOptions, CreateCalendarResult, CreateEventOptions, CreateEventResult, CreateEventWithPromptOptions, CreateEventWithPromptResult, CreateReminderOptions, CreateReminderResult, CreateRemindersListOptions, CreateRemindersListResult, DeleteCalendarOptions, DeleteEventOptions, DeleteEventWithPromptOptions, DeleteEventsByIdOptions, DeleteEventsByIdResult, DeleteReminderOptions, DeleteReminderWithPromptOptions, DeleteReminderWithPromptResult, DeleteRemindersByIdOptions, DeleteRemindersByIdResult, DeleteRemindersListOptions, EventEditAction, EventGuest, FetchAllCalendarSourcesResult, GetDefaultCalendarOptions, GetDefaultRemindersListResult, GetReminderByIdOptions, GetReminderByIdResult, GetRemindersFromListsOptions, GetRemindersFromListsResult, GetRemindersListsResult, ListCalendarsResult, ListEventsInRangeOptions, ListEventsInRangeResult, ModifyCalendarOptions, ModifyEventOptions, ModifyEventWithPromptOptions, ModifyReminderOptions, OpenCalendarOptions, RecurrenceRule, Reminder, ReminderRecurrenceRule, RemindersList, RequestAllPermissionsResult, RequestPermissionOptions, SelectCalendarsWithPromptOptions, SelectCalendarsWithPromptResult, SystemColorName, UpdateRemindersListOptions, UpdateRemindersListResult, };
72
+ export { CalendarPermissionScope, EventAvailability, EventSpan, CalendarChooserDisplayStyle, CalendarType, CalendarSourceType, ReminderRecurrenceFrequency, RecurrenceFrequency, EventStatus, AttendeeRole, AttendeeType, AttendeeStatus, CapacitorCalendar, downloadIcsFile, };
package/dist/esm/index.js CHANGED
@@ -1,19 +1,19 @@
1
- import { AttendeeRole } from "./schemas/enums/attendee-role";
2
- import { AttendeeStatus } from "./schemas/enums/attendee-status";
3
- import { AttendeeType } from "./schemas/enums/attendee-type";
4
- import { CalendarChooserDisplayStyle } from "./schemas/enums/calendar-chooser-display-style";
5
- import { CalendarPermissionScope } from "./schemas/enums/calendar-permission-scope";
6
- import { CalendarSourceType } from "./schemas/enums/calendar-source-type";
7
- import { CalendarType } from "./schemas/enums/calendar-type";
8
- import { EventAvailability } from "./schemas/enums/event-availability";
9
- import { EventSpan } from "./schemas/enums/event-span";
10
- import { EventStatus } from "./schemas/enums/event-status";
11
- import { RecurrenceFrequency } from "./schemas/enums/recurrence-frequency";
12
- import { ReminderRecurrenceFrequency } from "./schemas/enums/reminder-recurrence-frequency";
13
- import { registerPlugin } from "@capacitor/core";
14
- const CapacitorCalendar = registerPlugin("CapacitorCalendar", {
15
- web: () => import("./web").then((m) => new m.CapacitorCalendarWeb()),
1
+ import { registerPlugin } from '@capacitor/core';
2
+ import { AttendeeRole } from './schemas/enums/attendee-role';
3
+ import { AttendeeStatus } from './schemas/enums/attendee-status';
4
+ import { AttendeeType } from './schemas/enums/attendee-type';
5
+ import { CalendarChooserDisplayStyle } from './schemas/enums/calendar-chooser-display-style';
6
+ import { CalendarPermissionScope } from './schemas/enums/calendar-permission-scope';
7
+ import { CalendarSourceType } from './schemas/enums/calendar-source-type';
8
+ import { CalendarType } from './schemas/enums/calendar-type';
9
+ import { EventAvailability } from './schemas/enums/event-availability';
10
+ import { EventSpan } from './schemas/enums/event-span';
11
+ import { EventStatus } from './schemas/enums/event-status';
12
+ import { ReminderRecurrenceFrequency } from './schemas/enums/reminder-recurrence-frequency';
13
+ import { downloadIcsFile } from './web/download-ics-file';
14
+ const CapacitorCalendar = registerPlugin('CapacitorCalendar', {
15
+ web: () => import('./web').then((m) => new m.CapacitorCalendarWeb()),
16
16
  });
17
- export * from "./definitions";
18
- export { CalendarPermissionScope, EventAvailability, EventSpan, CalendarChooserDisplayStyle, CalendarType, CalendarSourceType, ReminderRecurrenceFrequency, RecurrenceFrequency, EventStatus, AttendeeRole, AttendeeType, AttendeeStatus, CapacitorCalendar, };
17
+ export * from './definitions';
18
+ export { CalendarPermissionScope, EventAvailability, EventSpan, CalendarChooserDisplayStyle, CalendarType, CalendarSourceType, ReminderRecurrenceFrequency, EventStatus, AttendeeRole, AttendeeType, AttendeeStatus, CapacitorCalendar, downloadIcsFile, };
19
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAE7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAc7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAGvE,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAQ3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAG3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,+CAA+C,CAAC;AAI5F,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,iBAAiB,GAAG,cAAc,CACtC,mBAAmB,EACnB;IACE,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,oBAAoB,EAAE,CAAC;CACrE,CACF,CAAC;AAEF,cAAc,eAAe,CAAC;AAkC9B,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EACT,2BAA2B,EAC3B,YAAY,EACZ,kBAAkB,EAClB,2BAA2B,EAC3B,mBAAmB,EACnB,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,iBAAiB,GAClB,CAAC","sourcesContent":["import type {\n CheckAllPermissionsResult,\n RequestAllPermissionsResult,\n} from \"./sub-definitions/calendar-access\";\nimport { AttendeeRole } from \"./schemas/enums/attendee-role\";\nimport { AttendeeStatus } from \"./schemas/enums/attendee-status\";\nimport { AttendeeType } from \"./schemas/enums/attendee-type\";\nimport type { Calendar } from \"./schemas/interfaces/calendar\";\nimport { CalendarChooserDisplayStyle } from \"./schemas/enums/calendar-chooser-display-style\";\nimport type { CalendarEvent } from \"./schemas/interfaces/calendar-event\";\nimport { CalendarPermissionScope } from \"./schemas/enums/calendar-permission-scope\";\nimport type { CalendarSource } from \"./schemas/interfaces/calendar-source\";\nimport { CalendarSourceType } from \"./schemas/enums/calendar-source-type\";\nimport { CalendarType } from \"./schemas/enums/calendar-type\";\nimport type { CapacitorCalendarPlugin } from \"./definitions\";\nimport type { CreateCalendarOptions } from \"./schemas/interfaces/create-calendar-options\";\nimport type { CreateEventOptions } from \"./schemas/interfaces/create-event-options\";\nimport type { CreateEventWithPromptOptions } from \"./schemas/interfaces/create-event-with-prompt-options\";\nimport type { CreateReminderOptions } from \"./schemas/interfaces/create-reminder-options\";\nimport type { DeleteCalendarOptions } from \"./schemas/interfaces/delete-calendar-options\";\nimport type { DeleteEventOptions } from \"./schemas/interfaces/delete-event-options\";\nimport type { DeleteEventWithPromptOptions } from \"./schemas/interfaces/delete-event-with-prompt-options\";\nimport type { DeleteEventsByIdOptions } from \"./schemas/interfaces/delete-events-by-id-options\";\nimport type { DeleteEventsByIdResult } from \"./sub-definitions/event-operations\";\nimport type { DeleteReminderOptions } from \"./schemas/interfaces/delete-reminder-options\";\nimport type { DeleteRemindersByIdOptions } from \"./schemas/interfaces/delete-reminders-by-id-options\";\nimport type { DeleteRemindersByIdResult } from \"./sub-definitions/reminders-operations\";\nimport { EventAvailability } from \"./schemas/enums/event-availability\";\nimport type { EventEditAction } from \"./schemas/types/event-edit-action\";\nimport { EventGuest } from \"./schemas/interfaces/event-guest\";\nimport { EventSpan } from \"./schemas/enums/event-span\";\nimport { EventStatus } from \"./schemas/enums/event-status\";\nimport type { GetReminderByIdOptions } from \"./schemas/interfaces/get-reminder-by-id-options\";\nimport type { GetRemindersFromListsOptions } from \"./schemas/interfaces/get-reminders-from-lists-options\";\nimport type { ListEventsInRangeOptions } from \"./schemas/interfaces/list-events-in-range-options\";\nimport type { ModifyEventOptions } from \"./schemas/interfaces/modify-event-options\";\nimport type { ModifyEventWithPromptOptions } from \"./schemas/interfaces/modify-event-with-prompt-options\";\nimport type { ModifyReminderOptions } from \"./schemas/interfaces/modify-reminder-options\";\nimport type { OpenCalendarOptions } from \"./schemas/interfaces/open-calendar-options\";\nimport { RecurrenceFrequency } from \"./schemas/enums/recurrence-frequency\";\nimport type { RecurrenceRule } from \"./schemas/interfaces/recurrence-rule\";\nimport type { Reminder } from \"./schemas/interfaces/reminder\";\nimport { ReminderRecurrenceFrequency } from \"./schemas/enums/reminder-recurrence-frequency\";\nimport type { ReminderRecurrenceRule } from \"./schemas/interfaces/reminder-recurrence-rule\";\nimport type { RemindersList } from \"./schemas/interfaces/reminders-list\";\nimport type { SelectCalendarsWithPromptOptions } from \"./schemas/interfaces/select-calendars-with-prompt-options\";\nimport { registerPlugin } from \"@capacitor/core\";\n\nconst CapacitorCalendar = registerPlugin<CapacitorCalendarPlugin>(\n \"CapacitorCalendar\",\n {\n web: () => import(\"./web\").then((m) => new m.CapacitorCalendarWeb()),\n },\n);\n\nexport * from \"./definitions\";\nexport type {\n CheckAllPermissionsResult,\n RequestAllPermissionsResult,\n CreateEventWithPromptOptions,\n ModifyEventWithPromptOptions,\n EventEditAction,\n CreateEventOptions,\n EventGuest,\n ModifyEventOptions,\n SelectCalendarsWithPromptOptions,\n Calendar,\n RemindersList,\n CalendarSource,\n OpenCalendarOptions,\n CreateCalendarOptions,\n DeleteCalendarOptions,\n ReminderRecurrenceRule,\n RecurrenceRule,\n CreateReminderOptions,\n DeleteRemindersByIdOptions,\n DeleteRemindersByIdResult,\n DeleteReminderOptions,\n ModifyReminderOptions,\n GetReminderByIdOptions,\n Reminder,\n GetRemindersFromListsOptions,\n DeleteEventsByIdOptions,\n DeleteEventsByIdResult,\n DeleteEventOptions,\n DeleteEventWithPromptOptions,\n ListEventsInRangeOptions,\n CalendarEvent,\n};\nexport {\n CalendarPermissionScope,\n EventAvailability,\n EventSpan,\n CalendarChooserDisplayStyle,\n CalendarType,\n CalendarSourceType,\n ReminderRecurrenceFrequency,\n RecurrenceFrequency,\n EventStatus,\n AttendeeRole,\n AttendeeType,\n AttendeeStatus,\n CapacitorCalendar,\n};\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGjD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,2BAA2B,EAAE,MAAM,+CAA+C,CAAC;AAwD5F,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,iBAAiB,GAAG,cAAc,CAA0B,mBAAmB,EAAE;IACrF,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,oBAAoB,EAAE,CAAC;CACrE,CAAC,CAAC;AAEH,cAAc,eAAe,CAAC;AA0D9B,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EACT,2BAA2B,EAC3B,YAAY,EACZ,kBAAkB,EAClB,2BAA2B,EAE3B,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,iBAAiB,EACjB,eAAe,GAChB,CAAC","sourcesContent":["import { registerPlugin } from '@capacitor/core';\n\nimport type { CapacitorCalendarPlugin } from './definitions';\nimport { AttendeeRole } from './schemas/enums/attendee-role';\nimport { AttendeeStatus } from './schemas/enums/attendee-status';\nimport { AttendeeType } from './schemas/enums/attendee-type';\nimport { CalendarChooserDisplayStyle } from './schemas/enums/calendar-chooser-display-style';\nimport { CalendarPermissionScope } from './schemas/enums/calendar-permission-scope';\nimport { CalendarSourceType } from './schemas/enums/calendar-source-type';\nimport { CalendarType } from './schemas/enums/calendar-type';\nimport { EventAvailability } from './schemas/enums/event-availability';\nimport { EventSpan } from './schemas/enums/event-span';\nimport { EventStatus } from './schemas/enums/event-status';\nimport { ReminderRecurrenceFrequency } from './schemas/enums/reminder-recurrence-frequency';\nimport type { Calendar } from './schemas/interfaces/calendar';\nimport type { CalendarEvent } from './schemas/interfaces/calendar-event';\nimport type { CalendarSource } from './schemas/interfaces/calendar-source';\nimport type { CheckPermissionOptions } from './schemas/interfaces/check-permission-options';\nimport type { CreateCalendarOptions } from './schemas/interfaces/create-calendar-options';\nimport type { CreateCalendarResult } from './schemas/interfaces/create-calendar-result';\nimport type { CreateEventOptions } from './schemas/interfaces/create-event-options';\nimport type { CreateEventResult } from './schemas/interfaces/create-event-result';\nimport type { CreateEventWithPromptOptions } from './schemas/interfaces/create-event-with-prompt-options';\nimport type { CreateEventWithPromptResult } from './schemas/interfaces/create-event-with-prompt-result';\nimport type { CreateReminderOptions } from './schemas/interfaces/create-reminder-options';\nimport type { CreateReminderResult } from './schemas/interfaces/create-reminder-result';\nimport type { CreateRemindersListOptions } from './schemas/interfaces/create-reminders-list-options';\nimport type { CreateRemindersListResult } from './schemas/interfaces/create-reminders-list-result';\nimport type { DeleteCalendarOptions } from './schemas/interfaces/delete-calendar-options';\nimport type { DeleteEventOptions } from './schemas/interfaces/delete-event-options';\nimport type { DeleteEventWithPromptOptions } from './schemas/interfaces/delete-event-with-prompt-options';\nimport type { DeleteEventsByIdOptions } from './schemas/interfaces/delete-events-by-id-options';\nimport type { DeleteReminderOptions } from './schemas/interfaces/delete-reminder-options';\nimport type { DeleteReminderWithPromptOptions } from './schemas/interfaces/delete-reminder-with-prompt-options';\nimport type { DeleteReminderWithPromptResult } from './schemas/interfaces/delete-reminder-with-prompt-result';\nimport type { DeleteRemindersByIdOptions } from './schemas/interfaces/delete-reminders-by-id-options';\nimport type { DeleteRemindersByIdResult } from './schemas/interfaces/delete-reminders-by-id-result';\nimport type { DeleteRemindersListOptions } from './schemas/interfaces/delete-reminders-list-options';\nimport type { EventGuest } from './schemas/interfaces/event-guest';\nimport type { FetchAllCalendarSourcesResult } from './schemas/interfaces/fetch-all-calendar-sources-result';\nimport type { GetDefaultCalendarOptions } from './schemas/interfaces/get-default-calendar-options';\nimport type { GetDefaultRemindersListResult } from './schemas/interfaces/get-default-reminders-list-result';\nimport type { GetReminderByIdOptions } from './schemas/interfaces/get-reminder-by-id-options';\nimport type { GetReminderByIdResult } from './schemas/interfaces/get-reminder-by-id-result';\nimport type { GetRemindersFromListsOptions } from './schemas/interfaces/get-reminders-from-lists-options';\nimport type { GetRemindersFromListsResult } from './schemas/interfaces/get-reminders-from-lists-result';\nimport type { GetRemindersListsResult } from './schemas/interfaces/get-reminders-lists-result';\nimport type { ListCalendarsResult } from './schemas/interfaces/list-calendars-result';\nimport type { ListEventsInRangeOptions } from './schemas/interfaces/list-events-in-range-options';\nimport type { ListEventsInRangeResult } from './schemas/interfaces/list-events-in-range-result';\nimport type { ModifyCalendarOptions } from './schemas/interfaces/modify-calendar-options';\nimport type { ModifyEventOptions } from './schemas/interfaces/modify-event-options';\nimport type { ModifyEventWithPromptOptions } from './schemas/interfaces/modify-event-with-prompt-options';\nimport type { ModifyReminderOptions } from './schemas/interfaces/modify-reminder-options';\nimport type { OpenCalendarOptions } from './schemas/interfaces/open-calendar-options';\nimport type { RecurrenceRule } from './schemas/interfaces/recurrence-rule';\nimport type { Reminder } from './schemas/interfaces/reminder';\nimport type { ReminderRecurrenceRule } from './schemas/interfaces/reminder-recurrence-rule';\nimport type { RemindersList } from './schemas/interfaces/reminders-list';\nimport type { RequestPermissionOptions } from './schemas/interfaces/request-permission-options';\nimport type { SelectCalendarsWithPromptOptions } from './schemas/interfaces/select-calendars-with-prompt-options';\nimport type { SelectCalendarsWithPromptResult } from './schemas/interfaces/select-calendars-with-prompt-result';\nimport type { UpdateRemindersListOptions } from './schemas/interfaces/update-reminders-list-options';\nimport type { UpdateRemindersListResult } from './schemas/interfaces/update-reminders-list-result';\nimport type { EventEditAction } from './schemas/types/event-edit-action';\nimport type { RecurrenceFrequency } from './schemas/types/recurrence-frequency';\nimport type { SystemColorName } from './schemas/types/system-color-name';\nimport type { CheckAllPermissionsResult, RequestAllPermissionsResult } from './sub-definitions/calendar-access';\nimport type { DeleteEventsByIdResult } from './sub-definitions/event-operations';\nimport { downloadIcsFile } from './web/download-ics-file';\n\nconst CapacitorCalendar = registerPlugin<CapacitorCalendarPlugin>('CapacitorCalendar', {\n web: () => import('./web').then((m) => new m.CapacitorCalendarWeb()),\n});\n\nexport * from './definitions';\nexport type {\n Calendar,\n CalendarEvent,\n CalendarSource,\n CheckAllPermissionsResult,\n CheckPermissionOptions,\n CreateCalendarOptions,\n CreateCalendarResult,\n CreateEventOptions,\n CreateEventResult,\n CreateEventWithPromptOptions,\n CreateEventWithPromptResult,\n CreateReminderOptions,\n CreateReminderResult,\n CreateRemindersListOptions,\n CreateRemindersListResult,\n DeleteCalendarOptions,\n DeleteEventOptions,\n DeleteEventWithPromptOptions,\n DeleteEventsByIdOptions,\n DeleteEventsByIdResult,\n DeleteReminderOptions,\n DeleteReminderWithPromptOptions,\n DeleteReminderWithPromptResult,\n DeleteRemindersByIdOptions,\n DeleteRemindersByIdResult,\n DeleteRemindersListOptions,\n EventEditAction,\n EventGuest,\n FetchAllCalendarSourcesResult,\n GetDefaultCalendarOptions,\n GetDefaultRemindersListResult,\n GetReminderByIdOptions,\n GetReminderByIdResult,\n GetRemindersFromListsOptions,\n GetRemindersFromListsResult,\n GetRemindersListsResult,\n ListCalendarsResult,\n ListEventsInRangeOptions,\n ListEventsInRangeResult,\n ModifyCalendarOptions,\n ModifyEventOptions,\n ModifyEventWithPromptOptions,\n ModifyReminderOptions,\n OpenCalendarOptions,\n RecurrenceRule,\n Reminder,\n ReminderRecurrenceRule,\n RemindersList,\n RequestAllPermissionsResult,\n RequestPermissionOptions,\n SelectCalendarsWithPromptOptions,\n SelectCalendarsWithPromptResult,\n SystemColorName,\n UpdateRemindersListOptions,\n UpdateRemindersListResult,\n};\nexport {\n CalendarPermissionScope,\n EventAvailability,\n EventSpan,\n CalendarChooserDisplayStyle,\n CalendarType,\n CalendarSourceType,\n ReminderRecurrenceFrequency,\n RecurrenceFrequency,\n EventStatus,\n AttendeeRole,\n AttendeeType,\n AttendeeStatus,\n CapacitorCalendar,\n downloadIcsFile,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"attendee-role.js","sourceRoot":"","sources":["../../../../src/schemas/enums/attendee-role.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,YA8CX;AA9CD,WAAY,YAAY;IACtB;;;OAGG;IACH,mCAAmB,CAAA;IACnB;;;OAGG;IACH,qCAAqB,CAAA;IACrB;;;OAGG;IACH,qCAAqB,CAAA;IACrB;;;OAGG;IACH,+BAAe,CAAA;IACf;;;OAGG;IACH,kDAAkC,CAAA;IAClC;;;OAGG;IACH,qCAAqB,CAAA;IACrB;;;OAGG;IACH,uCAAuB,CAAA;IACvB;;;OAGG;IACH,uCAAuB,CAAA;IACvB;;;OAGG;IACH,mCAAmB,CAAA;AACrB,CAAC,EA9CW,YAAY,KAAZ,YAAY,QA8CvB","sourcesContent":["/**\n * @since 7.1.0\n */\nexport enum AttendeeRole {\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n UNKNOWN = \"unknown\",\n /**\n * @platform iOS\n * @since 7.1.0\n */\n REQUIRED = \"required\",\n /**\n * @platform iOS\n * @since 7.1.0\n */\n OPTIONAL = \"optional\",\n /**\n * @platform iOS\n * @since 7.1.0\n */\n CHAIR = \"chair\",\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n NON_PARTICIPANT = \"nonParticipant\",\n /**\n * @platform Android\n * @since 7.1.0\n */\n ATTENDEE = \"attendee\",\n /**\n * @platform Android\n * @since 7.1.0\n */\n ORGANIZER = \"organizer\",\n /**\n * @platform Android\n * @since 7.1.0\n */\n PERFORMER = \"performer\",\n /**\n * @platform Android\n * @since 7.1.0\n */\n SPEAKER = \"speaker\",\n}\n"]}
1
+ {"version":3,"file":"attendee-role.js","sourceRoot":"","sources":["../../../../src/schemas/enums/attendee-role.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,YA8CX;AA9CD,WAAY,YAAY;IACtB;;;OAGG;IACH,mCAAmB,CAAA;IACnB;;;OAGG;IACH,qCAAqB,CAAA;IACrB;;;OAGG;IACH,qCAAqB,CAAA;IACrB;;;OAGG;IACH,+BAAe,CAAA;IACf;;;OAGG;IACH,kDAAkC,CAAA;IAClC;;;OAGG;IACH,qCAAqB,CAAA;IACrB;;;OAGG;IACH,uCAAuB,CAAA;IACvB;;;OAGG;IACH,uCAAuB,CAAA;IACvB;;;OAGG;IACH,mCAAmB,CAAA;AACrB,CAAC,EA9CW,YAAY,KAAZ,YAAY,QA8CvB","sourcesContent":["/**\n * @since 7.1.0\n */\nexport enum AttendeeRole {\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n UNKNOWN = 'unknown',\n /**\n * @platform iOS\n * @since 7.1.0\n */\n REQUIRED = 'required',\n /**\n * @platform iOS\n * @since 7.1.0\n */\n OPTIONAL = 'optional',\n /**\n * @platform iOS\n * @since 7.1.0\n */\n CHAIR = 'chair',\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n NON_PARTICIPANT = 'nonParticipant',\n /**\n * @platform Android\n * @since 7.1.0\n */\n ATTENDEE = 'attendee',\n /**\n * @platform Android\n * @since 7.1.0\n */\n ORGANIZER = 'organizer',\n /**\n * @platform Android\n * @since 7.1.0\n */\n PERFORMER = 'performer',\n /**\n * @platform Android\n * @since 7.1.0\n */\n SPEAKER = 'speaker',\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"attendee-status.js","sourceRoot":"","sources":["../../../../src/schemas/enums/attendee-status.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,cAmDX;AAnDD,WAAY,cAAc;IACxB;;;OAGG;IACH,+BAAa,CAAA;IACb;;;OAGG;IACH,uCAAqB,CAAA;IACrB;;;OAGG;IACH,uCAAqB,CAAA;IACrB;;;OAGG;IACH,qCAAmB,CAAA;IACnB;;;OAGG;IACH,qCAAmB,CAAA;IACnB;;;OAGG;IACH,qCAAmB,CAAA;IACnB;;;OAGG;IACH,yCAAuB,CAAA;IACvB;;;OAGG;IACH,yCAAuB,CAAA;IACvB;;;OAGG;IACH,yCAAuB,CAAA;IACvB;;;OAGG;IACH,0CAAwB,CAAA;AAC1B,CAAC,EAnDW,cAAc,KAAd,cAAc,QAmDzB","sourcesContent":["/**\n * @since 7.1.0\n */\nexport enum AttendeeStatus {\n /**\n * @platform Android\n * @since 7.1.0\n */\n NONE = \"none\",\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n ACCEPTED = \"accepted\",\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n DECLINED = \"declined\",\n /**\n * @platform Android\n * @since 7.1.0\n */\n INVITED = \"invited\",\n /**\n * @platform iOS\n * @since 7.1.0\n */\n UNKNOWN = \"unknown\",\n /**\n * @platform iOS\n * @since 7.1.0\n */\n PENDING = \"pending\",\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n TENTATIVE = \"tentative\",\n /**\n * @platform iOS\n * @since 7.1.0\n */\n DELEGATED = \"delegated\",\n /**\n * @platform iOS\n * @since 7.1.0\n */\n COMPLETED = \"completed\",\n /**\n * @platform iOS\n * @since 7.1.0\n */\n IN_PROCESS = \"inProcess\",\n}\n"]}
1
+ {"version":3,"file":"attendee-status.js","sourceRoot":"","sources":["../../../../src/schemas/enums/attendee-status.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,cAmDX;AAnDD,WAAY,cAAc;IACxB;;;OAGG;IACH,+BAAa,CAAA;IACb;;;OAGG;IACH,uCAAqB,CAAA;IACrB;;;OAGG;IACH,uCAAqB,CAAA;IACrB;;;OAGG;IACH,qCAAmB,CAAA;IACnB;;;OAGG;IACH,qCAAmB,CAAA;IACnB;;;OAGG;IACH,qCAAmB,CAAA;IACnB;;;OAGG;IACH,yCAAuB,CAAA;IACvB;;;OAGG;IACH,yCAAuB,CAAA;IACvB;;;OAGG;IACH,yCAAuB,CAAA;IACvB;;;OAGG;IACH,0CAAwB,CAAA;AAC1B,CAAC,EAnDW,cAAc,KAAd,cAAc,QAmDzB","sourcesContent":["/**\n * @since 7.1.0\n */\nexport enum AttendeeStatus {\n /**\n * @platform Android\n * @since 7.1.0\n */\n NONE = 'none',\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n ACCEPTED = 'accepted',\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n DECLINED = 'declined',\n /**\n * @platform Android\n * @since 7.1.0\n */\n INVITED = 'invited',\n /**\n * @platform iOS\n * @since 7.1.0\n */\n UNKNOWN = 'unknown',\n /**\n * @platform iOS\n * @since 7.1.0\n */\n PENDING = 'pending',\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n TENTATIVE = 'tentative',\n /**\n * @platform iOS\n * @since 7.1.0\n */\n DELEGATED = 'delegated',\n /**\n * @platform iOS\n * @since 7.1.0\n */\n COMPLETED = 'completed',\n /**\n * @platform iOS\n * @since 7.1.0\n */\n IN_PROCESS = 'inProcess',\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"attendee-type.js","sourceRoot":"","sources":["../../../../src/schemas/enums/attendee-type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,YAyCX;AAzCD,WAAY,YAAY;IACtB;;;OAGG;IACH,mCAAmB,CAAA;IACnB;;;OAGG;IACH,iCAAiB,CAAA;IACjB;;;OAGG;IACH,6BAAa,CAAA;IACb;;;OAGG;IACH,qCAAqB,CAAA;IACrB;;;OAGG;IACH,+BAAe,CAAA;IACf;;;OAGG;IACH,qCAAqB,CAAA;IACrB;;;OAGG;IACH,6BAAa,CAAA;IACb;;;OAGG;IACH,qCAAqB,CAAA;AACvB,CAAC,EAzCW,YAAY,KAAZ,YAAY,QAyCvB","sourcesContent":["/**\n * @since 7.1.0\n */\nexport enum AttendeeType {\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n UNKNOWN = \"unknown\",\n /**\n * @platform iOS\n * @since 7.1.0\n */\n PERSON = \"person\",\n /**\n * @platform iOS\n * @since 7.1.0\n */\n ROOM = \"room\",\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n RESOURCE = \"resource\",\n /**\n * @platform iOS\n * @since 7.1.0\n */\n GROUP = \"group\",\n /**\n * @platform Android\n * @since 7.1.0\n */\n REQUIRED = \"required\",\n /**\n * @platform Android\n * @since 7.1.0\n */\n NONE = \"none\",\n /**\n * @platform Android\n * @since 7.1.0\n */\n OPTIONAL = \"optional\",\n}\n"]}
1
+ {"version":3,"file":"attendee-type.js","sourceRoot":"","sources":["../../../../src/schemas/enums/attendee-type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,YAyCX;AAzCD,WAAY,YAAY;IACtB;;;OAGG;IACH,mCAAmB,CAAA;IACnB;;;OAGG;IACH,iCAAiB,CAAA;IACjB;;;OAGG;IACH,6BAAa,CAAA;IACb;;;OAGG;IACH,qCAAqB,CAAA;IACrB;;;OAGG;IACH,+BAAe,CAAA;IACf;;;OAGG;IACH,qCAAqB,CAAA;IACrB;;;OAGG;IACH,6BAAa,CAAA;IACb;;;OAGG;IACH,qCAAqB,CAAA;AACvB,CAAC,EAzCW,YAAY,KAAZ,YAAY,QAyCvB","sourcesContent":["/**\n * @since 7.1.0\n */\nexport enum AttendeeType {\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n UNKNOWN = 'unknown',\n /**\n * @platform iOS\n * @since 7.1.0\n */\n PERSON = 'person',\n /**\n * @platform iOS\n * @since 7.1.0\n */\n ROOM = 'room',\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n RESOURCE = 'resource',\n /**\n * @platform iOS\n * @since 7.1.0\n */\n GROUP = 'group',\n /**\n * @platform Android\n * @since 7.1.0\n */\n REQUIRED = 'required',\n /**\n * @platform Android\n * @since 7.1.0\n */\n NONE = 'none',\n /**\n * @platform Android\n * @since 7.1.0\n */\n OPTIONAL = 'optional',\n}\n"]}
@@ -21,11 +21,15 @@ export declare enum CalendarPermissionScope {
21
21
  /**
22
22
  * Permission required for reading reminders.
23
23
  *
24
+ * On Android, reminders are not supported. `checkPermission` and
25
+ * `checkAllPermissions` return `"prompt"` for this scope.
26
+ * `requestPermission` rejects with `Invalid scope.`.
27
+ *
24
28
  * @permissions
25
29
  * | Platform | Required |
26
30
  * |-----------|---------------------|
27
31
  * | iOS 17+ | `NSRemindersFullAccessUsageDescription` |
28
- * | iOS 10-16 | `NSRemindersUsageDescription` |
32
+ * | iOS 13-16 | `NSRemindersUsageDescription` |
29
33
  * @platform iOS
30
34
  * @since 7.1.0
31
35
  */
@@ -47,6 +51,10 @@ export declare enum CalendarPermissionScope {
47
51
  /**
48
52
  * Permission required for adding or modifying reminders.
49
53
  *
54
+ * On Android, reminders are not supported. `checkPermission` and
55
+ * `checkAllPermissions` return `"prompt"` for this scope.
56
+ * `requestPermission` rejects with `Invalid scope.`.
57
+ *
50
58
  * @permissions
51
59
  * | Platform | Required |
52
60
  * |-----------|---------------------|
@@ -22,11 +22,15 @@ export var CalendarPermissionScope;
22
22
  /**
23
23
  * Permission required for reading reminders.
24
24
  *
25
+ * On Android, reminders are not supported. `checkPermission` and
26
+ * `checkAllPermissions` return `"prompt"` for this scope.
27
+ * `requestPermission` rejects with `Invalid scope.`.
28
+ *
25
29
  * @permissions
26
30
  * | Platform | Required |
27
31
  * |-----------|---------------------|
28
32
  * | iOS 17+ | `NSRemindersFullAccessUsageDescription` |
29
- * | iOS 10-16 | `NSRemindersUsageDescription` |
33
+ * | iOS 13-16 | `NSRemindersUsageDescription` |
30
34
  * @platform iOS
31
35
  * @since 7.1.0
32
36
  */
@@ -48,6 +52,10 @@ export var CalendarPermissionScope;
48
52
  /**
49
53
  * Permission required for adding or modifying reminders.
50
54
  *
55
+ * On Android, reminders are not supported. `checkPermission` and
56
+ * `checkAllPermissions` return `"prompt"` for this scope.
57
+ * `requestPermission` rejects with `Invalid scope.`.
58
+ *
51
59
  * @permissions
52
60
  * | Platform | Required |
53
61
  * |-----------|---------------------|
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-permission-scope.js","sourceRoot":"","sources":["../../../../src/schemas/enums/calendar-permission-scope.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAN,IAAY,uBAsDX;AAtDD,WAAY,uBAAuB;IACjC;;;;;;;;;;;;OAYG;IACH,yDAA8B,CAAA;IAC9B;;;;;;;;;;OAUG;IACH,2DAAgC,CAAA;IAChC;;;;;;;;;;;;OAYG;IACH,2DAAgC,CAAA;IAChC;;;;;;;;;;;OAWG;IACH,6DAAkC,CAAA;AACpC,CAAC,EAtDW,uBAAuB,KAAvB,uBAAuB,QAsDlC","sourcesContent":["/**\n * Enum defining available calendar and reminders related permissions.\n *\n * @since 7.1.0\n */\nexport enum CalendarPermissionScope {\n /**\n * Permission required for reading calendar events.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSCalendarsFullAccessUsageDescription` |\n * | iOS 13-16 | `NSCalendarsUsageDescription` |\n * | Android | `android.permission.READ_CALENDAR` |\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n READ_CALENDAR = \"readCalendar\",\n /**\n * Permission required for reading reminders.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSRemindersFullAccessUsageDescription` |\n * | iOS 10-16 | `NSRemindersUsageDescription` |\n * @platform iOS\n * @since 7.1.0\n */\n READ_REMINDERS = \"readReminders\",\n /**\n * Permission required for adding or modifying calendar events.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSCalendarsWriteOnlyAccessUsageDescription` |\n * | iOS 13-16 | `NSCalendarsUsageDescription` |\n * | Android | `android.permission.WRITE_CALENDAR` |\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n WRITE_CALENDAR = \"writeCalendar\",\n /**\n * Permission required for adding or modifying reminders.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSRemindersFullAccessUsageDescription` |\n * | iOS 13-16 | `NSRemindersUsageDescription` |\n *\n * @platform iOS\n * @since 7.1.0\n */\n WRITE_REMINDERS = \"writeReminders\",\n}\n"]}
1
+ {"version":3,"file":"calendar-permission-scope.js","sourceRoot":"","sources":["../../../../src/schemas/enums/calendar-permission-scope.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAN,IAAY,uBA8DX;AA9DD,WAAY,uBAAuB;IACjC;;;;;;;;;;;;OAYG;IACH,yDAA8B,CAAA;IAC9B;;;;;;;;;;;;;;OAcG;IACH,2DAAgC,CAAA;IAChC;;;;;;;;;;;;OAYG;IACH,2DAAgC,CAAA;IAChC;;;;;;;;;;;;;;;OAeG;IACH,6DAAkC,CAAA;AACpC,CAAC,EA9DW,uBAAuB,KAAvB,uBAAuB,QA8DlC","sourcesContent":["/**\n * Enum defining available calendar and reminders related permissions.\n *\n * @since 7.1.0\n */\nexport enum CalendarPermissionScope {\n /**\n * Permission required for reading calendar events.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSCalendarsFullAccessUsageDescription` |\n * | iOS 13-16 | `NSCalendarsUsageDescription` |\n * | Android | `android.permission.READ_CALENDAR` |\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n READ_CALENDAR = 'readCalendar',\n /**\n * Permission required for reading reminders.\n *\n * On Android, reminders are not supported. `checkPermission` and\n * `checkAllPermissions` return `\"prompt\"` for this scope.\n * `requestPermission` rejects with `Invalid scope.`.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSRemindersFullAccessUsageDescription` |\n * | iOS 13-16 | `NSRemindersUsageDescription` |\n * @platform iOS\n * @since 7.1.0\n */\n READ_REMINDERS = 'readReminders',\n /**\n * Permission required for adding or modifying calendar events.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSCalendarsWriteOnlyAccessUsageDescription` |\n * | iOS 13-16 | `NSCalendarsUsageDescription` |\n * | Android | `android.permission.WRITE_CALENDAR` |\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n WRITE_CALENDAR = 'writeCalendar',\n /**\n * Permission required for adding or modifying reminders.\n *\n * On Android, reminders are not supported. `checkPermission` and\n * `checkAllPermissions` return `\"prompt\"` for this scope.\n * `requestPermission` rejects with `Invalid scope.`.\n *\n * @permissions\n * | Platform | Required |\n * |-----------|---------------------|\n * | iOS 17+ | `NSRemindersFullAccessUsageDescription` |\n * | iOS 13-16 | `NSRemindersUsageDescription` |\n *\n * @platform iOS\n * @since 7.1.0\n */\n WRITE_REMINDERS = 'writeReminders',\n}\n"]}
@@ -3,10 +3,14 @@
3
3
  */
4
4
  export declare enum EventSpan {
5
5
  /**
6
+ * Only the identified event or occurrence.
7
+ *
6
8
  * @since 7.1.0
7
9
  */
8
10
  THIS_EVENT = 0,
9
11
  /**
12
+ * The identified occurrence and future occurrences in the series.
13
+ *
10
14
  * @since 7.1.0
11
15
  */
12
16
  THIS_AND_FUTURE_EVENTS = 1
@@ -4,10 +4,14 @@
4
4
  export var EventSpan;
5
5
  (function (EventSpan) {
6
6
  /**
7
+ * Only the identified event or occurrence.
8
+ *
7
9
  * @since 7.1.0
8
10
  */
9
11
  EventSpan[EventSpan["THIS_EVENT"] = 0] = "THIS_EVENT";
10
12
  /**
13
+ * The identified occurrence and future occurrences in the series.
14
+ *
11
15
  * @since 7.1.0
12
16
  */
13
17
  EventSpan[EventSpan["THIS_AND_FUTURE_EVENTS"] = 1] = "THIS_AND_FUTURE_EVENTS";
@@ -1 +1 @@
1
- {"version":3,"file":"event-span.js","sourceRoot":"","sources":["../../../../src/schemas/enums/event-span.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,SASX;AATD,WAAY,SAAS;IACnB;;OAEG;IACH,qDAAU,CAAA;IACV;;OAEG;IACH,6EAAsB,CAAA;AACxB,CAAC,EATW,SAAS,KAAT,SAAS,QASpB","sourcesContent":["/**\n * @since 7.1.0\n */\nexport enum EventSpan {\n /**\n * @since 7.1.0\n */\n THIS_EVENT,\n /**\n * @since 7.1.0\n */\n THIS_AND_FUTURE_EVENTS,\n}\n"]}
1
+ {"version":3,"file":"event-span.js","sourceRoot":"","sources":["../../../../src/schemas/enums/event-span.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB;;;;OAIG;IACH,qDAAU,CAAA;IACV;;;;OAIG;IACH,6EAAsB,CAAA;AACxB,CAAC,EAbW,SAAS,KAAT,SAAS,QAapB","sourcesContent":["/**\n * @since 7.1.0\n */\nexport enum EventSpan {\n /**\n * Only the identified event or occurrence.\n *\n * @since 7.1.0\n */\n THIS_EVENT,\n /**\n * The identified occurrence and future occurrences in the series.\n *\n * @since 7.1.0\n */\n THIS_AND_FUTURE_EVENTS,\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"event-status.js","sourceRoot":"","sources":["../../../../src/schemas/enums/event-status.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAN,IAAY,WAqBX;AArBD,WAAY,WAAW;IACrB;;;OAGG;IACH,4BAAa,CAAA;IACb;;;OAGG;IACH,sCAAuB,CAAA;IACvB;;;OAGG;IACH,sCAAuB,CAAA;IACvB;;;OAGG;IACH,oCAAqB,CAAA;AACvB,CAAC,EArBW,WAAW,KAAX,WAAW,QAqBtB","sourcesContent":["/**\n * @platform Android, iOS\n * @since 7.1.0\n */\nexport enum EventStatus {\n /**\n * @platform iOS\n * @since 7.1.0\n */\n NONE = \"none\",\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n CONFIRMED = \"confirmed\",\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n TENTATIVE = \"tentative\",\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n CANCELED = \"canceled\",\n}\n"]}
1
+ {"version":3,"file":"event-status.js","sourceRoot":"","sources":["../../../../src/schemas/enums/event-status.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAN,IAAY,WAqBX;AArBD,WAAY,WAAW;IACrB;;;OAGG;IACH,4BAAa,CAAA;IACb;;;OAGG;IACH,sCAAuB,CAAA;IACvB;;;OAGG;IACH,sCAAuB,CAAA;IACvB;;;OAGG;IACH,oCAAqB,CAAA;AACvB,CAAC,EArBW,WAAW,KAAX,WAAW,QAqBtB","sourcesContent":["/**\n * @platform Android, iOS\n * @since 7.1.0\n */\nexport enum EventStatus {\n /**\n * @platform iOS\n * @since 7.1.0\n */\n NONE = 'none',\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n CONFIRMED = 'confirmed',\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n TENTATIVE = 'tentative',\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n CANCELED = 'canceled',\n}\n"]}
@@ -1,21 +1,21 @@
1
1
  /**
2
- * @deprecated Use `RecurrenceFrequency`.
2
+ * @deprecated Use `'daily'`, `'weekly'`, `'monthly'`, or `'yearly'` (`RecurrenceFrequency`).
3
3
  */
4
4
  export declare enum ReminderRecurrenceFrequency {
5
5
  /**
6
- * @deprecated Use `RecurrenceFrequency.DAILY`.
6
+ * @deprecated Use `'daily'`.
7
7
  */
8
8
  DAILY = 0,
9
9
  /**
10
- * @deprecated Use `RecurrenceFrequency.WEEKLY`.
10
+ * @deprecated Use `'weekly'`.
11
11
  */
12
12
  WEEKLY = 1,
13
13
  /**
14
- * @deprecated Use `RecurrenceFrequency.MONTHLY`.
14
+ * @deprecated Use `'monthly'`.
15
15
  */
16
16
  MONTHLY = 2,
17
17
  /**
18
- * @deprecated Use `RecurrenceFrequency.YEARLY`.
18
+ * @deprecated Use `'yearly'`.
19
19
  */
20
20
  YEARLY = 3
21
21
  }
@@ -1,22 +1,22 @@
1
1
  /**
2
- * @deprecated Use `RecurrenceFrequency`.
2
+ * @deprecated Use `'daily'`, `'weekly'`, `'monthly'`, or `'yearly'` (`RecurrenceFrequency`).
3
3
  */
4
4
  export var ReminderRecurrenceFrequency;
5
5
  (function (ReminderRecurrenceFrequency) {
6
6
  /**
7
- * @deprecated Use `RecurrenceFrequency.DAILY`.
7
+ * @deprecated Use `'daily'`.
8
8
  */
9
9
  ReminderRecurrenceFrequency[ReminderRecurrenceFrequency["DAILY"] = 0] = "DAILY";
10
10
  /**
11
- * @deprecated Use `RecurrenceFrequency.WEEKLY`.
11
+ * @deprecated Use `'weekly'`.
12
12
  */
13
13
  ReminderRecurrenceFrequency[ReminderRecurrenceFrequency["WEEKLY"] = 1] = "WEEKLY";
14
14
  /**
15
- * @deprecated Use `RecurrenceFrequency.MONTHLY`.
15
+ * @deprecated Use `'monthly'`.
16
16
  */
17
17
  ReminderRecurrenceFrequency[ReminderRecurrenceFrequency["MONTHLY"] = 2] = "MONTHLY";
18
18
  /**
19
- * @deprecated Use `RecurrenceFrequency.YEARLY`.
19
+ * @deprecated Use `'yearly'`.
20
20
  */
21
21
  ReminderRecurrenceFrequency[ReminderRecurrenceFrequency["YEARLY"] = 3] = "YEARLY";
22
22
  })(ReminderRecurrenceFrequency || (ReminderRecurrenceFrequency = {}));
@@ -1 +1 @@
1
- {"version":3,"file":"reminder-recurrence-frequency.js","sourceRoot":"","sources":["../../../../src/schemas/enums/reminder-recurrence-frequency.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,2BAiBX;AAjBD,WAAY,2BAA2B;IACrC;;OAEG;IACH,+EAAK,CAAA;IACL;;OAEG;IACH,iFAAM,CAAA;IACN;;OAEG;IACH,mFAAO,CAAA;IACP;;OAEG;IACH,iFAAM,CAAA;AACR,CAAC,EAjBW,2BAA2B,KAA3B,2BAA2B,QAiBtC","sourcesContent":["/**\n * @deprecated Use `RecurrenceFrequency`.\n */\nexport enum ReminderRecurrenceFrequency {\n /**\n * @deprecated Use `RecurrenceFrequency.DAILY`.\n */\n DAILY,\n /**\n * @deprecated Use `RecurrenceFrequency.WEEKLY`.\n */\n WEEKLY,\n /**\n * @deprecated Use `RecurrenceFrequency.MONTHLY`.\n */\n MONTHLY,\n /**\n * @deprecated Use `RecurrenceFrequency.YEARLY`.\n */\n YEARLY,\n}\n"]}
1
+ {"version":3,"file":"reminder-recurrence-frequency.js","sourceRoot":"","sources":["../../../../src/schemas/enums/reminder-recurrence-frequency.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,2BAiBX;AAjBD,WAAY,2BAA2B;IACrC;;OAEG;IACH,+EAAK,CAAA;IACL;;OAEG;IACH,iFAAM,CAAA;IACN;;OAEG;IACH,mFAAO,CAAA;IACP;;OAEG;IACH,iFAAM,CAAA;AACR,CAAC,EAjBW,2BAA2B,KAA3B,2BAA2B,QAiBtC","sourcesContent":["/**\n * @deprecated Use `'daily'`, `'weekly'`, `'monthly'`, or `'yearly'` (`RecurrenceFrequency`).\n */\nexport enum ReminderRecurrenceFrequency {\n /**\n * @deprecated Use `'daily'`.\n */\n DAILY,\n /**\n * @deprecated Use `'weekly'`.\n */\n WEEKLY,\n /**\n * @deprecated Use `'monthly'`.\n */\n MONTHLY,\n /**\n * @deprecated Use `'yearly'`.\n */\n YEARLY,\n}\n"]}