@ebarooni/capacitor-calendar 7.2.0 → 8.0.1

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 (140) hide show
  1. package/EbarooniCapacitorCalendar.podspec +2 -2
  2. package/Package.swift +4 -4
  3. package/README.md +176 -162
  4. package/android/build.gradle +21 -19
  5. package/android/src/main/java/dev/barooni/capacitor/calendar/implementation/CapacitorCalendar.kt +90 -61
  6. package/android/src/main/java/dev/barooni/capacitor/calendar/models/data/EventRecurrenceRule.kt +135 -0
  7. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CreateEventInput.kt +1 -0
  8. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CreateEventWithPromptInput.kt +5 -0
  9. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/ModifyEvent.kt +2 -0
  10. package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/ModifyEventWithPromptInput.kt +3 -0
  11. package/android/src/main/java/dev/barooni/capacitor/calendar/utils/ImplementationHelper.kt +48 -4
  12. package/dist/docs.json +584 -324
  13. package/dist/esm/definitions.d.ts +5 -5
  14. package/dist/esm/definitions.js.map +1 -1
  15. package/dist/esm/index.d.ts +46 -46
  16. package/dist/esm/index.js +16 -17
  17. package/dist/esm/index.js.map +1 -1
  18. package/dist/esm/schemas/enums/attendee-role.js.map +1 -1
  19. package/dist/esm/schemas/enums/attendee-status.js.map +1 -1
  20. package/dist/esm/schemas/enums/attendee-type.js.map +1 -1
  21. package/dist/esm/schemas/enums/calendar-permission-scope.js.map +1 -1
  22. package/dist/esm/schemas/enums/event-status.js.map +1 -1
  23. package/dist/esm/schemas/interfaces/calendar-event.d.ts +7 -5
  24. package/dist/esm/schemas/interfaces/calendar-event.js.map +1 -1
  25. package/dist/esm/schemas/interfaces/calendar-source.d.ts +1 -1
  26. package/dist/esm/schemas/interfaces/calendar-source.js.map +1 -1
  27. package/dist/esm/schemas/interfaces/calendar.d.ts +2 -2
  28. package/dist/esm/schemas/interfaces/calendar.js.map +1 -1
  29. package/dist/esm/schemas/interfaces/create-event-options.d.ts +63 -46
  30. package/dist/esm/schemas/interfaces/create-event-options.js.map +1 -1
  31. package/dist/esm/schemas/interfaces/create-event-with-prompt-options.d.ts +42 -31
  32. package/dist/esm/schemas/interfaces/create-event-with-prompt-options.js.map +1 -1
  33. package/dist/esm/schemas/interfaces/create-reminder-options.d.ts +10 -1
  34. package/dist/esm/schemas/interfaces/create-reminder-options.js.map +1 -1
  35. package/dist/esm/schemas/interfaces/delete-event-options.d.ts +1 -1
  36. package/dist/esm/schemas/interfaces/delete-event-options.js.map +1 -1
  37. package/dist/esm/schemas/interfaces/delete-event-with-prompt-options.d.ts +1 -1
  38. package/dist/esm/schemas/interfaces/delete-event-with-prompt-options.js.map +1 -1
  39. package/dist/esm/schemas/interfaces/delete-events-by-id-options.d.ts +1 -1
  40. package/dist/esm/schemas/interfaces/delete-events-by-id-options.js.map +1 -1
  41. package/dist/esm/schemas/interfaces/event-recurrence-rule.d.ts +96 -0
  42. package/dist/esm/schemas/interfaces/event-recurrence-rule.js +2 -0
  43. package/dist/esm/schemas/interfaces/event-recurrence-rule.js.map +1 -0
  44. package/dist/esm/schemas/interfaces/modify-event-options.d.ts +61 -44
  45. package/dist/esm/schemas/interfaces/modify-event-options.js.map +1 -1
  46. package/dist/esm/schemas/interfaces/modify-event-with-prompt-options.d.ts +1 -1
  47. package/dist/esm/schemas/interfaces/modify-event-with-prompt-options.js.map +1 -1
  48. package/dist/esm/schemas/interfaces/modify-reminder-options.d.ts +12 -1
  49. package/dist/esm/schemas/interfaces/modify-reminder-options.js.map +1 -1
  50. package/dist/esm/schemas/interfaces/recurrence-rule.d.ts +1 -1
  51. package/dist/esm/schemas/interfaces/recurrence-rule.js.map +1 -1
  52. package/dist/esm/schemas/interfaces/reminder-recurrence-rule.d.ts +1 -1
  53. package/dist/esm/schemas/interfaces/reminder-recurrence-rule.js.map +1 -1
  54. package/dist/esm/schemas/interfaces/reminder.d.ts +1 -1
  55. package/dist/esm/schemas/interfaces/reminder.js.map +1 -1
  56. package/dist/esm/schemas/interfaces/reminders-list.d.ts +2 -2
  57. package/dist/esm/schemas/interfaces/reminders-list.js.map +1 -1
  58. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-options.d.ts +1 -1
  59. package/dist/esm/schemas/interfaces/select-calendars-with-prompt-options.js.map +1 -1
  60. package/dist/esm/schemas/types/event-edit-action.d.ts +1 -1
  61. package/dist/esm/schemas/types/event-edit-action.js.map +1 -1
  62. package/dist/esm/schemas/types/recurrence-frequency.d.ts +4 -0
  63. package/dist/esm/schemas/types/recurrence-frequency.js +2 -0
  64. package/dist/esm/schemas/types/recurrence-frequency.js.map +1 -0
  65. package/dist/esm/sub-definitions/calendar-access.d.ts +4 -4
  66. package/dist/esm/sub-definitions/calendar-access.js.map +1 -1
  67. package/dist/esm/sub-definitions/calendar-operations.d.ts +7 -7
  68. package/dist/esm/sub-definitions/calendar-operations.js.map +1 -1
  69. package/dist/esm/sub-definitions/event-operations.d.ts +10 -10
  70. package/dist/esm/sub-definitions/event-operations.js.map +1 -1
  71. package/dist/esm/sub-definitions/reminders-access.d.ts +1 -1
  72. package/dist/esm/sub-definitions/reminders-access.js.map +1 -1
  73. package/dist/esm/sub-definitions/reminders-operations.d.ts +10 -10
  74. package/dist/esm/sub-definitions/reminders-operations.js.map +1 -1
  75. package/dist/esm/web.d.ts +33 -32
  76. package/dist/esm/web.js +1 -1
  77. package/dist/esm/web.js.map +1 -1
  78. package/dist/plugin.cjs.js +1 -24
  79. package/dist/plugin.cjs.js.map +1 -1
  80. package/dist/plugin.js +1 -24
  81. package/dist/plugin.js.map +1 -1
  82. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/CapacitorCalendarPlugin.swift +90 -71
  83. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Implementation/CapacitorCalendar.swift +45 -63
  84. package/ios/Plugin/Info.plist +24 -0
  85. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateEventInput.swift +25 -21
  86. package/ios/Plugin/Models/Inputs/CreateEventWithPromptInput.swift +171 -0
  87. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateReminderInput.swift +2 -2
  88. package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventInput.swift +63 -41
  89. package/ios/Plugin/Models/Structs/RecurrenceInput.swift +31 -0
  90. package/package.json +37 -45
  91. package/dist/esm/schemas/enums/recurrence-frequency.d.ts +0 -21
  92. package/dist/esm/schemas/enums/recurrence-frequency.js +0 -23
  93. package/dist/esm/schemas/enums/recurrence-frequency.js.map +0 -1
  94. package/ios/Sources/CapacitorCalendarPlugin/Models/Inputs/CreateEventWithPromptInput.swift +0 -89
  95. package/ios/Tests/CapacitorCalendarPluginTests/CapacitorCalendarPluginTests.swift +0 -15
  96. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/CAPPermissionState.swift +0 -0
  97. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/CalendarPermissionScope.swift +0 -0
  98. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/EventEditAction.swift +0 -0
  99. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CheckPermissionInput.swift +0 -0
  100. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateCalendarInput.swift +0 -0
  101. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteCalendarInput.swift +0 -0
  102. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventInput.swift +0 -0
  103. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventWithPromptInput.swift +0 -0
  104. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventsByIdInput.swift +0 -0
  105. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteReminderInput.swift +0 -0
  106. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteReminderWithPromptInput.swift +0 -0
  107. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteRemindersByIdInput.swift +0 -0
  108. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/GetReminderByIdInput.swift +0 -0
  109. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/GetRemindersFromListsInput.swift +0 -0
  110. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ListEventsInRangeInput.swift +0 -0
  111. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyCalendarInput.swift +0 -0
  112. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventWithPromptInput.swift +0 -0
  113. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyReminderInput.swift +0 -0
  114. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/OpenCalendarInput.swift +0 -0
  115. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/RequestPermissionInput.swift +0 -0
  116. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/SelectCalendarsWithPromptInput.swift +0 -0
  117. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CheckAllPermissionsResult.swift +0 -0
  118. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CheckPermissionResult.swift +0 -0
  119. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateCalendarResult.swift +0 -0
  120. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateEventResult.swift +0 -0
  121. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateEventWithPromptResult.swift +0 -0
  122. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateReminderResult.swift +0 -0
  123. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteEventWithPromptResult.swift +0 -0
  124. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteEventsByIdResult.swift +0 -0
  125. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteRemindersByIdResult.swift +0 -0
  126. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/FetchAllCalendarSourcesResult.swift +0 -0
  127. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetDefaultCalendarResult.swift +0 -0
  128. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetReminderByIdResult.swift +0 -0
  129. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetRemindersFromListsResult.swift +0 -0
  130. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ListCalendarsResult.swift +0 -0
  131. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ListEventsInRangeResult.swift +0 -0
  132. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ModifyEventWithPromptResult.swift +0 -0
  133. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/RequestAllPermissionsResult.swift +0 -0
  134. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/RequestPermissionResult.swift +0 -0
  135. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/SelectCalendarsWithPromptResult.swift +0 -0
  136. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Templates/JSResult.swift +0 -0
  137. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginConfig.swift +0 -0
  138. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginError.swift +0 -0
  139. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Utils/ImplementationHelper.swift +0 -0
  140. /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Utils/UIColorFromHexExtension.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,49 +1,49 @@
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 { DeleteReminderWithPromptOptions } from "./schemas/interfaces/delete-reminder-with-prompt-options";
24
- import type { DeleteRemindersByIdOptions } from "./schemas/interfaces/delete-reminders-by-id-options";
25
- import type { DeleteRemindersByIdResult } from "./sub-definitions/reminders-operations";
26
- import { EventAvailability } from "./schemas/enums/event-availability";
27
- import type { EventEditAction } from "./schemas/types/event-edit-action";
28
- import { EventGuest } from "./schemas/interfaces/event-guest";
29
- import { EventSpan } from "./schemas/enums/event-span";
30
- import { EventStatus } from "./schemas/enums/event-status";
31
- import type { GetReminderByIdOptions } from "./schemas/interfaces/get-reminder-by-id-options";
32
- import type { GetRemindersFromListsOptions } from "./schemas/interfaces/get-reminders-from-lists-options";
33
- import type { ListEventsInRangeOptions } from "./schemas/interfaces/list-events-in-range-options";
34
- import type { ModifyCalendarOptions } from "./schemas/interfaces/modify-calendar-options";
35
- import type { ModifyEventOptions } from "./schemas/interfaces/modify-event-options";
36
- import type { ModifyEventWithPromptOptions } from "./schemas/interfaces/modify-event-with-prompt-options";
37
- import type { ModifyReminderOptions } from "./schemas/interfaces/modify-reminder-options";
38
- import type { OpenCalendarOptions } from "./schemas/interfaces/open-calendar-options";
39
- import { RecurrenceFrequency } from "./schemas/enums/recurrence-frequency";
40
- import type { RecurrenceRule } from "./schemas/interfaces/recurrence-rule";
41
- import type { Reminder } from "./schemas/interfaces/reminder";
42
- import { ReminderRecurrenceFrequency } from "./schemas/enums/reminder-recurrence-frequency";
43
- import type { ReminderRecurrenceRule } from "./schemas/interfaces/reminder-recurrence-rule";
44
- import type { RemindersList } from "./schemas/interfaces/reminders-list";
45
- 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 { CreateCalendarOptions } from './schemas/interfaces/create-calendar-options';
17
+ import type { CreateEventOptions } from './schemas/interfaces/create-event-options';
18
+ import type { CreateEventWithPromptOptions } from './schemas/interfaces/create-event-with-prompt-options';
19
+ import type { CreateReminderOptions } from './schemas/interfaces/create-reminder-options';
20
+ import type { DeleteCalendarOptions } from './schemas/interfaces/delete-calendar-options';
21
+ import type { DeleteEventOptions } from './schemas/interfaces/delete-event-options';
22
+ import type { DeleteEventWithPromptOptions } from './schemas/interfaces/delete-event-with-prompt-options';
23
+ import type { DeleteEventsByIdOptions } from './schemas/interfaces/delete-events-by-id-options';
24
+ import type { DeleteReminderOptions } from './schemas/interfaces/delete-reminder-options';
25
+ import type { DeleteReminderWithPromptOptions } from './schemas/interfaces/delete-reminder-with-prompt-options';
26
+ import type { DeleteRemindersByIdOptions } from './schemas/interfaces/delete-reminders-by-id-options';
27
+ import type { EventGuest } from './schemas/interfaces/event-guest';
28
+ import type { GetReminderByIdOptions } from './schemas/interfaces/get-reminder-by-id-options';
29
+ import type { GetRemindersFromListsOptions } from './schemas/interfaces/get-reminders-from-lists-options';
30
+ import type { ListEventsInRangeOptions } from './schemas/interfaces/list-events-in-range-options';
31
+ import type { ModifyCalendarOptions } from './schemas/interfaces/modify-calendar-options';
32
+ import type { ModifyEventOptions } from './schemas/interfaces/modify-event-options';
33
+ import type { ModifyEventWithPromptOptions } from './schemas/interfaces/modify-event-with-prompt-options';
34
+ import type { ModifyReminderOptions } from './schemas/interfaces/modify-reminder-options';
35
+ import type { OpenCalendarOptions } from './schemas/interfaces/open-calendar-options';
36
+ import type { RecurrenceRule } from './schemas/interfaces/recurrence-rule';
37
+ import type { Reminder } from './schemas/interfaces/reminder';
38
+ import type { ReminderRecurrenceRule } from './schemas/interfaces/reminder-recurrence-rule';
39
+ import type { RemindersList } from './schemas/interfaces/reminders-list';
40
+ import type { SelectCalendarsWithPromptOptions } from './schemas/interfaces/select-calendars-with-prompt-options';
41
+ import type { EventEditAction } from './schemas/types/event-edit-action';
42
+ import type { RecurrenceFrequency } from './schemas/types/recurrence-frequency';
43
+ import type { CheckAllPermissionsResult, RequestAllPermissionsResult } from './sub-definitions/calendar-access';
44
+ import type { DeleteEventsByIdResult } from './sub-definitions/event-operations';
45
+ import type { DeleteRemindersByIdResult } from './sub-definitions/reminders-operations';
46
46
  declare const CapacitorCalendar: CapacitorCalendarPlugin;
47
- export * from "./definitions";
47
+ export * from './definitions';
48
48
  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, ModifyCalendarOptions, DeleteReminderWithPromptOptions, };
49
49
  export { CalendarPermissionScope, EventAvailability, EventSpan, CalendarChooserDisplayStyle, CalendarType, CalendarSourceType, ReminderRecurrenceFrequency, RecurrenceFrequency, EventStatus, AttendeeRole, AttendeeType, AttendeeStatus, CapacitorCalendar, };
package/dist/esm/index.js CHANGED
@@ -1,19 +1,18 @@
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
+ const CapacitorCalendar = registerPlugin('CapacitorCalendar', {
14
+ web: () => import('./web').then((m) => new m.CapacitorCalendarWeb()),
16
15
  });
17
- export * from "./definitions";
18
- export { CalendarPermissionScope, EventAvailability, EventSpan, CalendarChooserDisplayStyle, CalendarType, CalendarSourceType, ReminderRecurrenceFrequency, RecurrenceFrequency, EventStatus, AttendeeRole, AttendeeType, AttendeeStatus, CapacitorCalendar, };
16
+ export * from './definitions';
17
+ export { CalendarPermissionScope, EventAvailability, EventSpan, CalendarChooserDisplayStyle, CalendarType, CalendarSourceType, ReminderRecurrenceFrequency, EventStatus, AttendeeRole, AttendeeType, AttendeeStatus, CapacitorCalendar, };
19
18
  //# 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;AAe7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAGvE,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAS3D,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;AAoC9B,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 { DeleteReminderWithPromptOptions } from \"./schemas/interfaces/delete-reminder-with-prompt-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 { 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 { 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 ModifyCalendarOptions,\n DeleteReminderWithPromptOptions,\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;AAmC5F,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;AAoC9B,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,GAClB,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 { 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 { DeleteReminderOptions } from './schemas/interfaces/delete-reminder-options';\nimport type { DeleteReminderWithPromptOptions } from './schemas/interfaces/delete-reminder-with-prompt-options';\nimport type { DeleteRemindersByIdOptions } from './schemas/interfaces/delete-reminders-by-id-options';\nimport type { EventGuest } from './schemas/interfaces/event-guest';\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 { 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 { SelectCalendarsWithPromptOptions } from './schemas/interfaces/select-calendars-with-prompt-options';\nimport type { EventEditAction } from './schemas/types/event-edit-action';\nimport type { RecurrenceFrequency } from './schemas/types/recurrence-frequency';\nimport type { CheckAllPermissionsResult, RequestAllPermissionsResult } from './sub-definitions/calendar-access';\nimport type { DeleteEventsByIdResult } from './sub-definitions/event-operations';\nimport type { DeleteRemindersByIdResult } from './sub-definitions/reminders-operations';\n\nconst CapacitorCalendar = registerPlugin<CapacitorCalendarPlugin>('CapacitorCalendar', {\n web: () => import('./web').then((m) => new m.CapacitorCalendarWeb()),\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 ModifyCalendarOptions,\n DeleteReminderWithPromptOptions,\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 +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"]}
@@ -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,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 +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,8 +1,8 @@
1
- import { AttendeeRole } from "../enums/attendee-role";
2
- import { AttendeeStatus } from "../enums/attendee-status";
3
- import { AttendeeType } from "../enums/attendee-type";
4
- import { EventAvailability } from "../enums/event-availability";
5
- import { EventStatus } from "../enums/event-status";
1
+ import type { AttendeeRole } from '../enums/attendee-role';
2
+ import type { AttendeeStatus } from '../enums/attendee-status';
3
+ import type { AttendeeType } from '../enums/attendee-type';
4
+ import type { EventAvailability } from '../enums/event-availability';
5
+ import type { EventStatus } from '../enums/event-status';
6
6
  /**
7
7
  * @since 7.1.0
8
8
  */
@@ -43,6 +43,8 @@ export interface CalendarEvent {
43
43
  */
44
44
  isAllDay: boolean;
45
45
  /**
46
+ * Alert times in minutes relative to the event start.
47
+ *
46
48
  * @platform Android, iOS
47
49
  * @since 7.1.0
48
50
  */
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-event.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/calendar-event.ts"],"names":[],"mappings":"","sourcesContent":["import { AttendeeRole } from \"../enums/attendee-role\";\nimport { AttendeeStatus } from \"../enums/attendee-status\";\nimport { AttendeeType } from \"../enums/attendee-type\";\nimport { EventAvailability } from \"../enums/event-availability\";\nimport { EventStatus } from \"../enums/event-status\";\n\n/**\n * @since 7.1.0\n */\nexport interface CalendarEvent {\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n id: string;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n title: string;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n calendarId: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n location: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n startDate: number;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n endDate: number;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n isAllDay: boolean;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n alerts: number[];\n /**\n * @platform iOS\n * @since 7.1.0\n */\n url: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n description: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n availability: EventAvailability | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n organizer: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n color: string | null;\n /**\n * @platform Android\n * @since 7.1.0\n */\n duration: string | null;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n isDetached: boolean | null;\n /**\n * @platform iOS\n * @see {@link https://developer.apple.com/documentation/eventkit/ekevent/birthdaycontactidentifier}\n * @since 7.1.0\n */\n birthdayContactIdentifier: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n status: EventStatus | null;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n creationDate: number | null;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n lastModifiedDate: number | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n attendees: {\n /**\n * @platform Android\n * @since 7.1.0\n */\n email: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n name: string | null;\n /**\n * Equivalent to ATTENDEE_RELATIONSHIP on Android.\n * Equivalent to EKParticipantRole on iOS.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n role: AttendeeRole | null;\n /**\n * Equivalent to ATTENDEE_STATUS on Android.\n * Equivalent to EKParticipantStatus on iOS.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n status: AttendeeStatus | null;\n /**\n * Equivalent to ATTENDEE_TYPE on Android.\n * Equivalent to EKParticipantType on iOS.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n type: AttendeeType | null;\n }[];\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n timezone: string | null;\n}\n"]}
1
+ {"version":3,"file":"calendar-event.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/calendar-event.ts"],"names":[],"mappings":"","sourcesContent":["import type { AttendeeRole } from '../enums/attendee-role';\nimport type { AttendeeStatus } from '../enums/attendee-status';\nimport type { AttendeeType } from '../enums/attendee-type';\nimport type { EventAvailability } from '../enums/event-availability';\nimport type { EventStatus } from '../enums/event-status';\n\n/**\n * @since 7.1.0\n */\nexport interface CalendarEvent {\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n id: string;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n title: string;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n calendarId: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n location: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n startDate: number;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n endDate: number;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n isAllDay: boolean;\n /**\n * Alert times in minutes relative to the event start.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n alerts: number[];\n /**\n * @platform iOS\n * @since 7.1.0\n */\n url: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n description: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n availability: EventAvailability | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n organizer: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n color: string | null;\n /**\n * @platform Android\n * @since 7.1.0\n */\n duration: string | null;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n isDetached: boolean | null;\n /**\n * @platform iOS\n * @see {@link https://developer.apple.com/documentation/eventkit/ekevent/birthdaycontactidentifier}\n * @since 7.1.0\n */\n birthdayContactIdentifier: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n status: EventStatus | null;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n creationDate: number | null;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n lastModifiedDate: number | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n attendees: {\n /**\n * @platform Android\n * @since 7.1.0\n */\n email: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n name: string | null;\n /**\n * Equivalent to ATTENDEE_RELATIONSHIP on Android.\n * Equivalent to EKParticipantRole on iOS.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n role: AttendeeRole | null;\n /**\n * Equivalent to ATTENDEE_STATUS on Android.\n * Equivalent to EKParticipantStatus on iOS.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n status: AttendeeStatus | null;\n /**\n * Equivalent to ATTENDEE_TYPE on Android.\n * Equivalent to EKParticipantType on iOS.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n type: AttendeeType | null;\n }[];\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n timezone: string | null;\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { CalendarSourceType } from "../enums/calendar-source-type";
1
+ import type { CalendarSourceType } from '../enums/calendar-source-type';
2
2
  /**
3
3
  * @since 7.1.0
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-source.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/calendar-source.ts"],"names":[],"mappings":"","sourcesContent":["import { CalendarSourceType } from \"../enums/calendar-source-type\";\n\n/**\n * @since 7.1.0\n */\nexport interface CalendarSource {\n /**\n * @since 7.1.0\n */\n type: CalendarSourceType;\n /**\n * @since 7.1.0\n */\n id: string;\n /**\n * @since 7.1.0\n */\n title: string;\n}\n"]}
1
+ {"version":3,"file":"calendar-source.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/calendar-source.ts"],"names":[],"mappings":"","sourcesContent":["import type { CalendarSourceType } from '../enums/calendar-source-type';\n\n/**\n * @since 7.1.0\n */\nexport interface CalendarSource {\n /**\n * @since 7.1.0\n */\n type: CalendarSourceType;\n /**\n * @since 7.1.0\n */\n id: string;\n /**\n * @since 7.1.0\n */\n title: string;\n}\n"]}
@@ -1,5 +1,5 @@
1
- import type { CalendarSource } from "./calendar-source";
2
- import { CalendarType } from "../enums/calendar-type";
1
+ import type { CalendarType } from '../enums/calendar-type';
2
+ import type { CalendarSource } from './calendar-source';
3
3
  /**
4
4
  * @since 7.1.0
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"calendar.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/calendar.ts"],"names":[],"mappings":"","sourcesContent":["import type { CalendarSource } from \"./calendar-source\";\nimport { CalendarType } from \"../enums/calendar-type\";\n\n/**\n * @since 7.1.0\n */\nexport interface Calendar {\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n id: string;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n title: string;\n /**\n * Internal name of the calendar (`CalendarContract.Calendars.NAME`).\n *\n * @platform Android\n * @since 7.1.0\n */\n internalTitle: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n color: string;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n isImmutable: boolean | null;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n allowsContentModifications: boolean | null;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n type: CalendarType | null;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n isSubscribed: boolean | null;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n source: CalendarSource | null;\n /**\n * Indicates if the events from this calendar should be shown.\n *\n * @platform Android\n * @since 7.1.0\n */\n visible: boolean | null;\n /**\n * The account under which the calendar is registered.\n *\n * @platform Android\n * @since 7.1.0\n */\n accountName: string | null;\n /**\n * The owner of the calendar.\n *\n * @platform Android\n * @since 7.1.0\n */\n ownerAccount: string | null;\n /**\n * Maximum number of reminders allowed per event.\n *\n * @platform Android\n * @since 7.1.0\n */\n maxReminders: number | null;\n /**\n * @platform Android\n * @since 7.1.0\n */\n location: string | null;\n}\n"]}
1
+ {"version":3,"file":"calendar.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/calendar.ts"],"names":[],"mappings":"","sourcesContent":["import type { CalendarType } from '../enums/calendar-type';\n\nimport type { CalendarSource } from './calendar-source';\n\n/**\n * @since 7.1.0\n */\nexport interface Calendar {\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n id: string;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n title: string;\n /**\n * Internal name of the calendar (`CalendarContract.Calendars.NAME`).\n *\n * @platform Android\n * @since 7.1.0\n */\n internalTitle: string | null;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n color: string;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n isImmutable: boolean | null;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n allowsContentModifications: boolean | null;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n type: CalendarType | null;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n isSubscribed: boolean | null;\n /**\n * @platform iOS\n * @since 7.1.0\n */\n source: CalendarSource | null;\n /**\n * Indicates if the events from this calendar should be shown.\n *\n * @platform Android\n * @since 7.1.0\n */\n visible: boolean | null;\n /**\n * The account under which the calendar is registered.\n *\n * @platform Android\n * @since 7.1.0\n */\n accountName: string | null;\n /**\n * The owner of the calendar.\n *\n * @platform Android\n * @since 7.1.0\n */\n ownerAccount: string | null;\n /**\n * Maximum number of reminders allowed per event.\n *\n * @platform Android\n * @since 7.1.0\n */\n maxReminders: number | null;\n /**\n * @platform Android\n * @since 7.1.0\n */\n location: string | null;\n}\n"]}
@@ -1,60 +1,85 @@
1
- import { EventAvailability } from "../enums/event-availability";
2
- import type { EventGuest } from "./event-guest";
1
+ import type { EventAvailability } from '../enums/event-availability';
2
+ import type { EventGuest } from './event-guest';
3
+ import type { EventRecurrenceRule } from './event-recurrence-rule';
3
4
  /**
4
5
  * @since 7.1.0
5
6
  */
6
7
  export interface CreateEventOptions {
7
8
  /**
9
+ * Alert times in minutes relative to the event start.
10
+ * Use negative numbers for alerts before the start, and positive numbers for alerts after the start.
11
+ *
12
+ * @example
13
+ * // -1440 -> 1 day before
14
+ * // -60 -> 1 hour before
15
+ * // 30 -> 30 minutes after
16
+ * [-1440, -60, 30]
17
+ *
8
18
  * @platform Android, iOS
9
- * @since 0.4.0
19
+ * @since 7.1.0
10
20
  */
11
- title: string;
21
+ alerts?: number[];
12
22
  /**
13
- * @platform Android, iOS
14
- * @since 0.1.0
23
+ * The event guests.
24
+ *
25
+ * @platform Android
26
+ * @since 7.1.0
15
27
  */
16
- calendarId?: string;
28
+ attendees?: EventGuest[];
17
29
  /**
18
30
  * @platform Android, iOS
19
- * @since 0.1.0
31
+ * @since 7.1.0
20
32
  */
21
- location?: string;
33
+ availability?: EventAvailability;
22
34
  /**
23
- *
24
35
  * @platform Android, iOS
25
36
  * @since 0.1.0
26
37
  */
27
- startDate?: number;
38
+ calendarId?: string;
28
39
  /**
29
- * @platform Android, iOS
30
- * @since 0.1.0
40
+ * @example #6750A4
41
+ * @platform Android
42
+ * @since 7.1.0
31
43
  */
32
- endDate?: number;
44
+ color?: string;
33
45
  /**
34
- * @platform Android, iOS
35
- * @since 0.1.0
46
+ * Whether to save immediately (`true`) or batch changes for later (`false`).
47
+ *
48
+ * @default true
49
+ * @platform iOS
50
+ * @see {@link CalendarOperations#commit}
51
+ * @since 7.1.0
36
52
  */
37
- isAllDay?: boolean;
53
+ commit?: boolean;
38
54
  /**
39
55
  * @platform Android, iOS
40
56
  * @since 7.1.0
41
57
  */
42
- alerts?: number[];
58
+ description?: string;
43
59
  /**
44
- * @platform iOS
60
+ * Duration of the event in RFC2445 format.
61
+ *
62
+ * @example P1D (1 day), P3W (3 weeks), P2DT4H30M (2 days, 4 hours, and 30 minutes).
63
+ * @platform Android
64
+ * @see {@link https://datatracker.ietf.org/doc/html/rfc2445}
65
+ * @since 7.1.0
66
+ */
67
+ duration?: string;
68
+ /**
69
+ * @platform Android, iOS
45
70
  * @since 0.1.0
46
71
  */
47
- url?: string;
72
+ endDate?: number;
48
73
  /**
49
74
  * @platform Android, iOS
50
- * @since 7.1.0
75
+ * @since 0.1.0
51
76
  */
52
- description?: string;
77
+ isAllDay?: boolean;
53
78
  /**
54
79
  * @platform Android, iOS
55
- * @since 7.1.0
80
+ * @since 0.1.0
56
81
  */
57
- availability?: EventAvailability;
82
+ location?: string;
58
83
  /**
59
84
  * Email of the event organizer.
60
85
  *
@@ -63,34 +88,26 @@ export interface CreateEventOptions {
63
88
  */
64
89
  organizer?: string;
65
90
  /**
66
- * @example #6750A4
67
- * @platform Android
68
- * @since 7.1.0
91
+ * Rules for creating a recurring event.
92
+ *
93
+ * @platform Android, iOS
94
+ * @since 7.3.0
69
95
  */
70
- color?: string;
96
+ recurrence?: EventRecurrenceRule;
71
97
  /**
72
- * Duration of the event in RFC2445 format.
73
98
  *
74
- * @example P1D (1 day), P3W (3 weeks), P2DT4H30M (2 days, 4 hours, and 30 minutes).
75
- * @platform Android
76
- * @see {@link https://datatracker.ietf.org/doc/html/rfc2445}
77
- * @since 7.1.0
99
+ * @platform Android, iOS
100
+ * @since 0.1.0
78
101
  */
79
- duration?: string;
102
+ startDate?: number;
80
103
  /**
81
- * Whether to save immediately (`true`) or batch changes for later (`false`).
82
- *
83
- * @default true
84
- * @platform iOS
85
- * @see {@link CalendarOperations#commit}
86
- * @since 7.1.0
104
+ * @platform Android, iOS
105
+ * @since 0.4.0
87
106
  */
88
- commit?: boolean;
107
+ title: string;
89
108
  /**
90
- * The event guests.
91
- *
92
- * @platform Android
93
- * @since 7.1.0
109
+ * @platform iOS
110
+ * @since 0.1.0
94
111
  */
95
- attendees?: EventGuest[];
112
+ url?: string;
96
113
  }
@@ -1 +1 @@
1
- {"version":3,"file":"create-event-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/create-event-options.ts"],"names":[],"mappings":"","sourcesContent":["import { EventAvailability } from \"../enums/event-availability\";\nimport type { EventGuest } from \"./event-guest\";\n\n/**\n * @since 7.1.0\n */\nexport interface CreateEventOptions {\n /**\n * @platform Android, iOS\n * @since 0.4.0\n */\n title: string;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n calendarId?: string;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n location?: string;\n /**\n *\n * @platform Android, iOS\n * @since 0.1.0\n */\n startDate?: number;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n endDate?: number;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n isAllDay?: boolean;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n alerts?: number[];\n /**\n * @platform iOS\n * @since 0.1.0\n */\n url?: string;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n description?: string;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n availability?: EventAvailability;\n /**\n * Email of the event organizer.\n *\n * @platform Android\n * @since 7.1.0\n */\n organizer?: string;\n /**\n * @example #6750A4\n * @platform Android\n * @since 7.1.0\n */\n color?: string;\n /**\n * Duration of the event in RFC2445 format.\n *\n * @example P1D (1 day), P3W (3 weeks), P2DT4H30M (2 days, 4 hours, and 30 minutes).\n * @platform Android\n * @see {@link https://datatracker.ietf.org/doc/html/rfc2445}\n * @since 7.1.0\n */\n duration?: string;\n /**\n * Whether to save immediately (`true`) or batch changes for later (`false`).\n *\n * @default true\n * @platform iOS\n * @see {@link CalendarOperations#commit}\n * @since 7.1.0\n */\n commit?: boolean;\n /**\n * The event guests.\n *\n * @platform Android\n * @since 7.1.0\n */\n attendees?: EventGuest[];\n}\n"]}
1
+ {"version":3,"file":"create-event-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/create-event-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { EventAvailability } from '../enums/event-availability';\n\nimport type { EventGuest } from './event-guest';\nimport type { EventRecurrenceRule } from './event-recurrence-rule';\n\n/**\n * @since 7.1.0\n */\nexport interface CreateEventOptions {\n /**\n * Alert times in minutes relative to the event start.\n * Use negative numbers for alerts before the start, and positive numbers for alerts after the start.\n *\n * @example\n * // -1440 -> 1 day before\n * // -60 -> 1 hour before\n * // 30 -> 30 minutes after\n * [-1440, -60, 30]\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n alerts?: number[];\n /**\n * The event guests.\n *\n * @platform Android\n * @since 7.1.0\n */\n attendees?: EventGuest[];\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n availability?: EventAvailability;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n calendarId?: string;\n /**\n * @example #6750A4\n * @platform Android\n * @since 7.1.0\n */\n color?: string;\n /**\n * Whether to save immediately (`true`) or batch changes for later (`false`).\n *\n * @default true\n * @platform iOS\n * @see {@link CalendarOperations#commit}\n * @since 7.1.0\n */\n commit?: boolean;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n description?: string;\n /**\n * Duration of the event in RFC2445 format.\n *\n * @example P1D (1 day), P3W (3 weeks), P2DT4H30M (2 days, 4 hours, and 30 minutes).\n * @platform Android\n * @see {@link https://datatracker.ietf.org/doc/html/rfc2445}\n * @since 7.1.0\n */\n duration?: string;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n endDate?: number;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n isAllDay?: boolean;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n location?: string;\n /**\n * Email of the event organizer.\n *\n * @platform Android\n * @since 7.1.0\n */\n organizer?: string;\n /**\n * Rules for creating a recurring event.\n *\n * @platform Android, iOS\n * @since 7.3.0\n */\n recurrence?: EventRecurrenceRule;\n /**\n *\n * @platform Android, iOS\n * @since 0.1.0\n */\n startDate?: number;\n /**\n * @platform Android, iOS\n * @since 0.4.0\n */\n title: string;\n /**\n * @platform iOS\n * @since 0.1.0\n */\n url?: string;\n}\n"]}