@pipedream/microsoft_outlook_calendar 0.7.2 → 8.0.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.
- package/actions/create-calendar-event/create-calendar-event.mjs +170 -6
- package/actions/delete-calendar-event/delete-calendar-event.mjs +1 -1
- package/actions/delete-recurring-event-instance/delete-recurring-event-instance.mjs +1 -1
- package/actions/get-schedule/get-schedule.mjs +1 -1
- package/actions/list-events/list-events.mjs +1 -1
- package/actions/search-contacts/search-contacts.mjs +1 -1
- package/actions/search-people/search-people.mjs +1 -1
- package/actions/update-calendar-event/update-calendar-event.mjs +1 -1
- package/actions/update-recurring-event-instance/update-recurring-event-instance.mjs +1 -1
- package/common/constants.mjs +118 -0
- package/microsoft_outlook_calendar.app.mjs +79 -0
- package/package.json +1 -1
- package/sources/new-calendar-event/new-calendar-event.mjs +1 -1
- package/sources/new-upcoming-event/new-upcoming-event.mjs +1 -1
- package/sources/new-upcoming-event-polling/new-upcoming-event-polling.mjs +1 -1
- package/sources/updated-calendar-event/updated-calendar-event.mjs +1 -1
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
import microsoftOutlook from "../../microsoft_outlook_calendar.app.mjs";
|
|
2
|
+
import {
|
|
3
|
+
DAYS_OF_WEEK_TYPES,
|
|
4
|
+
ABSOLUTE_TYPES,
|
|
5
|
+
YEARLY_TYPES,
|
|
6
|
+
RELATIVE_TYPES,
|
|
7
|
+
} from "../../common/constants.mjs";
|
|
2
8
|
|
|
3
9
|
export default {
|
|
4
10
|
type: "action",
|
|
5
11
|
key: "microsoft_outlook_calendar-create-calendar-event",
|
|
6
|
-
version: "0.0.
|
|
12
|
+
version: "0.0.13",
|
|
7
13
|
annotations: {
|
|
8
14
|
destructiveHint: false,
|
|
9
15
|
openWorldHint: true,
|
|
10
16
|
readOnlyHint: false,
|
|
11
17
|
},
|
|
12
18
|
name: "Create Calendar Event",
|
|
13
|
-
description: "Create an event in the user's default calendar. [See the documentation](https://docs.microsoft.com/en-us/graph/api/user-post-events)",
|
|
19
|
+
description: "Create an event in the user's default calendar. Supports one-time and recurring events. [See the documentation](https://docs.microsoft.com/en-us/graph/api/user-post-events) and [recurring event example](https://learn.microsoft.com/en-us/graph/api/user-post-events?view=graph-rest-1.0&tabs=http#example-3-create-a-recurring-event).",
|
|
14
20
|
props: {
|
|
15
21
|
microsoftOutlook,
|
|
16
22
|
subject: {
|
|
@@ -72,7 +78,68 @@ export default {
|
|
|
72
78
|
microsoftOutlook,
|
|
73
79
|
"expand",
|
|
74
80
|
],
|
|
75
|
-
description: "Additional event details
|
|
81
|
+
description: "Additional event details. "
|
|
82
|
+
+ "[See object definition](https://docs.microsoft.com/en-us/graph/api/resources/event)",
|
|
83
|
+
},
|
|
84
|
+
recurrencePatternType: {
|
|
85
|
+
propDefinition: [
|
|
86
|
+
microsoftOutlook,
|
|
87
|
+
"recurrencePatternType",
|
|
88
|
+
],
|
|
89
|
+
},
|
|
90
|
+
recurrenceInterval: {
|
|
91
|
+
propDefinition: [
|
|
92
|
+
microsoftOutlook,
|
|
93
|
+
"recurrenceInterval",
|
|
94
|
+
],
|
|
95
|
+
},
|
|
96
|
+
recurrenceDaysOfWeek: {
|
|
97
|
+
propDefinition: [
|
|
98
|
+
microsoftOutlook,
|
|
99
|
+
"recurrenceDaysOfWeek",
|
|
100
|
+
],
|
|
101
|
+
},
|
|
102
|
+
recurrenceDayOfMonth: {
|
|
103
|
+
propDefinition: [
|
|
104
|
+
microsoftOutlook,
|
|
105
|
+
"recurrenceDayOfMonth",
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
recurrenceMonth: {
|
|
109
|
+
propDefinition: [
|
|
110
|
+
microsoftOutlook,
|
|
111
|
+
"recurrenceMonth",
|
|
112
|
+
],
|
|
113
|
+
},
|
|
114
|
+
recurrenceFirstDayOfWeek: {
|
|
115
|
+
propDefinition: [
|
|
116
|
+
microsoftOutlook,
|
|
117
|
+
"recurrenceFirstDayOfWeek",
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
recurrenceIndex: {
|
|
121
|
+
propDefinition: [
|
|
122
|
+
microsoftOutlook,
|
|
123
|
+
"recurrenceIndex",
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
recurrenceRangeType: {
|
|
127
|
+
propDefinition: [
|
|
128
|
+
microsoftOutlook,
|
|
129
|
+
"recurrenceRangeType",
|
|
130
|
+
],
|
|
131
|
+
},
|
|
132
|
+
recurrenceEndDate: {
|
|
133
|
+
propDefinition: [
|
|
134
|
+
microsoftOutlook,
|
|
135
|
+
"recurrenceEndDate",
|
|
136
|
+
],
|
|
137
|
+
},
|
|
138
|
+
recurrenceNumberOfOccurrences: {
|
|
139
|
+
propDefinition: [
|
|
140
|
+
microsoftOutlook,
|
|
141
|
+
"recurrenceNumberOfOccurrences",
|
|
142
|
+
],
|
|
76
143
|
},
|
|
77
144
|
},
|
|
78
145
|
async run({ $ }) {
|
|
@@ -98,19 +165,116 @@ export default {
|
|
|
98
165
|
location: {
|
|
99
166
|
displayName: this.location,
|
|
100
167
|
},
|
|
101
|
-
attendees: this.attendees
|
|
168
|
+
attendees: this.attendees?.map((at) => ({
|
|
102
169
|
emailAddress: {
|
|
103
170
|
address: at,
|
|
104
171
|
},
|
|
105
|
-
})),
|
|
172
|
+
})) ?? [],
|
|
106
173
|
isOnlineMeeting: this.isOnlineMeeting,
|
|
107
174
|
...this.expand,
|
|
108
175
|
};
|
|
176
|
+
|
|
177
|
+
// Build recurrence when recurrence pattern type is set (create recurring event)
|
|
178
|
+
if (this.recurrencePatternType) {
|
|
179
|
+
if (!this.recurrenceInterval || this.recurrenceInterval < 1) {
|
|
180
|
+
throw new Error(
|
|
181
|
+
"Recurrence Interval is required and must be at least 1 when creating a recurring event.",
|
|
182
|
+
);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
const patternType = this.recurrencePatternType;
|
|
186
|
+
if ([
|
|
187
|
+
"weekly",
|
|
188
|
+
"relativeMonthly",
|
|
189
|
+
"relativeYearly",
|
|
190
|
+
].includes(patternType)) {
|
|
191
|
+
if (!this.recurrenceDaysOfWeek?.length) {
|
|
192
|
+
throw new Error(
|
|
193
|
+
`Recurrence Days of Week is required when pattern type is ${patternType}.`,
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
if ([
|
|
198
|
+
"absoluteMonthly",
|
|
199
|
+
"absoluteYearly",
|
|
200
|
+
].includes(patternType)) {
|
|
201
|
+
const dom = this.recurrenceDayOfMonth;
|
|
202
|
+
if (dom == null || dom < 1 || dom > 31) {
|
|
203
|
+
throw new Error(
|
|
204
|
+
`Recurrence Day of Month (1-31) is required when pattern type is ${patternType}.`,
|
|
205
|
+
);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
if (YEARLY_TYPES.includes(patternType)) {
|
|
209
|
+
if (this.recurrenceMonth == null || this.recurrenceMonth < 1 || this.recurrenceMonth > 12) {
|
|
210
|
+
throw new Error(
|
|
211
|
+
`Recurrence Month (1-12) is required when pattern type is ${patternType}.`,
|
|
212
|
+
);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
const rangeType = this.recurrenceRangeType ?? "noEnd";
|
|
217
|
+
if (rangeType === "endDate") {
|
|
218
|
+
if (!this.recurrenceEndDate || !/^\d{4}-\d{2}-\d{2}$/.test(this.recurrenceEndDate)) {
|
|
219
|
+
throw new Error(
|
|
220
|
+
"Recurrence End Date (yyyy-MM-dd) is required when range type is End by date.",
|
|
221
|
+
);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
if (rangeType === "numbered") {
|
|
225
|
+
if (this.recurrenceNumberOfOccurrences == null || this.recurrenceNumberOfOccurrences < 1) {
|
|
226
|
+
throw new Error(
|
|
227
|
+
"Recurrence Number of Occurrences is required (≥1) when range type is numbered.",
|
|
228
|
+
);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
const pattern = {
|
|
233
|
+
type: patternType,
|
|
234
|
+
interval: this.recurrenceInterval,
|
|
235
|
+
};
|
|
236
|
+
if (DAYS_OF_WEEK_TYPES.includes(patternType)) {
|
|
237
|
+
pattern.daysOfWeek = this.recurrenceDaysOfWeek;
|
|
238
|
+
}
|
|
239
|
+
if (patternType === "weekly") {
|
|
240
|
+
pattern.firstDayOfWeek = this.recurrenceFirstDayOfWeek ?? "sunday";
|
|
241
|
+
}
|
|
242
|
+
if (ABSOLUTE_TYPES.includes(patternType)) {
|
|
243
|
+
pattern.dayOfMonth = this.recurrenceDayOfMonth;
|
|
244
|
+
}
|
|
245
|
+
if (YEARLY_TYPES.includes(patternType)) {
|
|
246
|
+
pattern.month = this.recurrenceMonth;
|
|
247
|
+
}
|
|
248
|
+
if (RELATIVE_TYPES.includes(patternType) && this.recurrenceIndex) {
|
|
249
|
+
pattern.index = this.recurrenceIndex;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
const startDateStr = this.start.slice(0, 10); // yyyy-MM-dd
|
|
253
|
+
const range = {
|
|
254
|
+
type: rangeType,
|
|
255
|
+
startDate: startDateStr,
|
|
256
|
+
recurrenceTimeZone: this.timeZone,
|
|
257
|
+
};
|
|
258
|
+
if (rangeType === "endDate") {
|
|
259
|
+
range.endDate = this.recurrenceEndDate;
|
|
260
|
+
}
|
|
261
|
+
if (rangeType === "numbered") {
|
|
262
|
+
range.numberOfOccurrences = this.recurrenceNumberOfOccurrences;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
data.recurrence = {
|
|
266
|
+
pattern,
|
|
267
|
+
range,
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
|
|
109
271
|
const response = await this.microsoftOutlook.createCalendarEvent({
|
|
110
272
|
$,
|
|
111
273
|
data,
|
|
112
274
|
});
|
|
113
|
-
$.export("$summary",
|
|
275
|
+
$.export("$summary", data.recurrence
|
|
276
|
+
? "Recurring calendar event has been created."
|
|
277
|
+
: "Calendar event has been created.");
|
|
114
278
|
return response;
|
|
115
279
|
},
|
|
116
280
|
};
|
|
@@ -3,7 +3,7 @@ import microsoftOutlook from "../../microsoft_outlook_calendar.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
type: "action",
|
|
5
5
|
key: "microsoft_outlook_calendar-delete-calendar-event",
|
|
6
|
-
version: "0.0.
|
|
6
|
+
version: "0.0.8",
|
|
7
7
|
annotations: {
|
|
8
8
|
destructiveHint: true,
|
|
9
9
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ import { ConfigurationError } from "@pipedream/platform";
|
|
|
4
4
|
export default {
|
|
5
5
|
type: "action",
|
|
6
6
|
key: "microsoft_outlook_calendar-delete-recurring-event-instance",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.5",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: true,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
key: "microsoft_outlook_calendar-get-schedule",
|
|
9
9
|
name: "Get Free/Busy Schedule",
|
|
10
10
|
description: "Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. [See the documentation](https://learn.microsoft.com/en-us/graph/api/calendar-getschedule)",
|
|
11
|
-
version: "0.0.
|
|
11
|
+
version: "0.0.10",
|
|
12
12
|
annotations: {
|
|
13
13
|
destructiveHint: false,
|
|
14
14
|
openWorldHint: true,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "microsoft_outlook_calendar-list-events",
|
|
6
6
|
name: "List Events",
|
|
7
7
|
description: "Get a list of event objects in the user's mailbox. [See the documentation](https://learn.microsoft.com/en-us/graph/api/user-list-events)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.11",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
11
11
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "microsoft_outlook_calendar-search-contacts",
|
|
5
5
|
name: "Search Contacts",
|
|
6
6
|
description: "Search for contacts by name from your saved contacts list and retrieve their email addresses. [See the documentation](https://learn.microsoft.com/en-us/graph/api/user-list-contacts)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.4",
|
|
8
8
|
type: "action",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "microsoft_outlook_calendar-search-people",
|
|
5
5
|
name: "Search People",
|
|
6
6
|
description: "Retrieve a collection of person objects ordered by their relevance to the user, based on communication and collaboration patterns and business relationships. [See the documentation](https://learn.microsoft.com/en-us/graph/api/user-list-people)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.4",
|
|
8
8
|
type: "action",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
@@ -3,7 +3,7 @@ import microsoftOutlook from "../../microsoft_outlook_calendar.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
type: "action",
|
|
5
5
|
key: "microsoft_outlook_calendar-update-calendar-event",
|
|
6
|
-
version: "0.0.
|
|
6
|
+
version: "0.0.8",
|
|
7
7
|
annotations: {
|
|
8
8
|
destructiveHint: true,
|
|
9
9
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ import { ConfigurationError } from "@pipedream/platform";
|
|
|
4
4
|
export default {
|
|
5
5
|
type: "action",
|
|
6
6
|
key: "microsoft_outlook_calendar-update-recurring-event-instance",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.5",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: false,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
// Recurrence pattern type groupings (for validation and pattern building)
|
|
2
|
+
export const DAYS_OF_WEEK_TYPES = [
|
|
3
|
+
"weekly",
|
|
4
|
+
"relativeMonthly",
|
|
5
|
+
"relativeYearly",
|
|
6
|
+
];
|
|
7
|
+
export const ABSOLUTE_TYPES = [
|
|
8
|
+
"absoluteMonthly",
|
|
9
|
+
"absoluteYearly",
|
|
10
|
+
];
|
|
11
|
+
export const YEARLY_TYPES = [
|
|
12
|
+
"absoluteYearly",
|
|
13
|
+
"relativeYearly",
|
|
14
|
+
];
|
|
15
|
+
export const RELATIVE_TYPES = [
|
|
16
|
+
"relativeMonthly",
|
|
17
|
+
"relativeYearly",
|
|
18
|
+
];
|
|
19
|
+
|
|
20
|
+
// Day of week options (recurrence days + first day of week)
|
|
21
|
+
export const DAY_OF_WEEK_OPTIONS = [
|
|
22
|
+
{
|
|
23
|
+
label: "Sunday",
|
|
24
|
+
value: "sunday",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
label: "Monday",
|
|
28
|
+
value: "monday",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
label: "Tuesday",
|
|
32
|
+
value: "tuesday",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
label: "Wednesday",
|
|
36
|
+
value: "wednesday",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
label: "Thursday",
|
|
40
|
+
value: "thursday",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
label: "Friday",
|
|
44
|
+
value: "friday",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
label: "Saturday",
|
|
48
|
+
value: "saturday",
|
|
49
|
+
},
|
|
50
|
+
];
|
|
51
|
+
|
|
52
|
+
// Recurrence pattern type options
|
|
53
|
+
export const RECURRENCE_PATTERN_TYPE_OPTIONS = [
|
|
54
|
+
{
|
|
55
|
+
label: "Daily",
|
|
56
|
+
value: "daily",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
label: "Weekly",
|
|
60
|
+
value: "weekly",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
label: "Absolute Monthly (e.g. 15th of each month)",
|
|
64
|
+
value: "absoluteMonthly",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
label: "Relative Monthly (e.g. 2nd Tuesday)",
|
|
68
|
+
value: "relativeMonthly",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
label: "Absolute Yearly (e.g. March 15 every year)",
|
|
72
|
+
value: "absoluteYearly",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
label: "Relative Yearly (e.g. 2nd Thursday of November)",
|
|
76
|
+
value: "relativeYearly",
|
|
77
|
+
},
|
|
78
|
+
];
|
|
79
|
+
|
|
80
|
+
// Recurrence week index options (for relativeMonthly, relativeYearly)
|
|
81
|
+
export const RECURRENCE_INDEX_OPTIONS = [
|
|
82
|
+
{
|
|
83
|
+
label: "First",
|
|
84
|
+
value: "first",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
label: "Second",
|
|
88
|
+
value: "second",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
label: "Third",
|
|
92
|
+
value: "third",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
label: "Fourth",
|
|
96
|
+
value: "fourth",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
label: "Last",
|
|
100
|
+
value: "last",
|
|
101
|
+
},
|
|
102
|
+
];
|
|
103
|
+
|
|
104
|
+
// Recurrence range type options
|
|
105
|
+
export const RECURRENCE_RANGE_TYPE_OPTIONS = [
|
|
106
|
+
{
|
|
107
|
+
label: "No end date",
|
|
108
|
+
value: "noEnd",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
label: "End by date",
|
|
112
|
+
value: "endDate",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
label: "End after N occurrences",
|
|
116
|
+
value: "numbered",
|
|
117
|
+
},
|
|
118
|
+
];
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { Client } from "@microsoft/microsoft-graph-client";
|
|
2
2
|
import "isomorphic-fetch";
|
|
3
3
|
import pickBy from "lodash.pickby";
|
|
4
|
+
import {
|
|
5
|
+
DAY_OF_WEEK_OPTIONS,
|
|
6
|
+
RECURRENCE_PATTERN_TYPE_OPTIONS,
|
|
7
|
+
RECURRENCE_INDEX_OPTIONS,
|
|
8
|
+
RECURRENCE_RANGE_TYPE_OPTIONS,
|
|
9
|
+
} from "./common/constants.mjs";
|
|
4
10
|
|
|
5
11
|
export default {
|
|
6
12
|
type: "app",
|
|
@@ -120,6 +126,79 @@ export default {
|
|
|
120
126
|
type: "object",
|
|
121
127
|
optional: true,
|
|
122
128
|
},
|
|
129
|
+
recurrencePatternType: {
|
|
130
|
+
label: "Recurrence Pattern Type",
|
|
131
|
+
description: "How often the event repeats. Required when creating a recurring event. [See recurrence pattern docs](https://learn.microsoft.com/en-us/graph/api/resources/recurrencepattern)",
|
|
132
|
+
type: "string",
|
|
133
|
+
optional: true,
|
|
134
|
+
options: RECURRENCE_PATTERN_TYPE_OPTIONS,
|
|
135
|
+
},
|
|
136
|
+
recurrenceInterval: {
|
|
137
|
+
label: "Recurrence Interval",
|
|
138
|
+
description: "Number of units between occurrences (e.g. every 2 weeks = 2). Required when recurrence pattern type is set.",
|
|
139
|
+
type: "integer",
|
|
140
|
+
optional: true,
|
|
141
|
+
min: 1,
|
|
142
|
+
},
|
|
143
|
+
recurrenceDaysOfWeek: {
|
|
144
|
+
label: "Recurrence Days of Week",
|
|
145
|
+
description: "Days of the week the event repeats (required for weekly, relativeMonthly, relativeYearly). E.g. monday, tuesday",
|
|
146
|
+
type: "string[]",
|
|
147
|
+
optional: true,
|
|
148
|
+
options: DAY_OF_WEEK_OPTIONS,
|
|
149
|
+
},
|
|
150
|
+
recurrenceDayOfMonth: {
|
|
151
|
+
label: "Recurrence Day of Month",
|
|
152
|
+
description: "Day of the month (1-31). Required for absoluteMonthly and absoluteYearly.",
|
|
153
|
+
type: "integer",
|
|
154
|
+
optional: true,
|
|
155
|
+
min: 1,
|
|
156
|
+
max: 31,
|
|
157
|
+
},
|
|
158
|
+
recurrenceMonth: {
|
|
159
|
+
label: "Recurrence Month",
|
|
160
|
+
description: "Month (1-12). Required for absoluteYearly and relativeYearly.",
|
|
161
|
+
type: "integer",
|
|
162
|
+
optional: true,
|
|
163
|
+
min: 1,
|
|
164
|
+
max: 12,
|
|
165
|
+
},
|
|
166
|
+
recurrenceFirstDayOfWeek: {
|
|
167
|
+
label: "Recurrence First Day of Week",
|
|
168
|
+
description: "First day of the week for weekly recurrence. Required for weekly pattern. [See recurrence pattern](https://learn.microsoft.com/en-us/graph/api/resources/recurrencepattern)",
|
|
169
|
+
type: "string",
|
|
170
|
+
optional: true,
|
|
171
|
+
options: DAY_OF_WEEK_OPTIONS,
|
|
172
|
+
default: "sunday",
|
|
173
|
+
},
|
|
174
|
+
recurrenceIndex: {
|
|
175
|
+
label: "Recurrence Week Index",
|
|
176
|
+
description: "Which instance in the month/year (e.g. second Tuesday). Optional for relativeMonthly and relativeYearly; defaults to first.",
|
|
177
|
+
type: "string",
|
|
178
|
+
optional: true,
|
|
179
|
+
options: RECURRENCE_INDEX_OPTIONS,
|
|
180
|
+
default: "first",
|
|
181
|
+
},
|
|
182
|
+
recurrenceRangeType: {
|
|
183
|
+
label: "Recurrence Range Type",
|
|
184
|
+
description: "How the recurrence ends. [See recurrence range docs](https://learn.microsoft.com/en-us/graph/api/resources/recurrencerange)",
|
|
185
|
+
type: "string",
|
|
186
|
+
optional: true,
|
|
187
|
+
options: RECURRENCE_RANGE_TYPE_OPTIONS,
|
|
188
|
+
},
|
|
189
|
+
recurrenceEndDate: {
|
|
190
|
+
label: "Recurrence End Date",
|
|
191
|
+
description: "End date for recurrence (yyyy-MM-dd). Required when recurrence range type is endDate.",
|
|
192
|
+
type: "string",
|
|
193
|
+
optional: true,
|
|
194
|
+
},
|
|
195
|
+
recurrenceNumberOfOccurrences: {
|
|
196
|
+
label: "Recurrence Number of Occurrences",
|
|
197
|
+
description: "Number of occurrences. Required when recurrence range type is numbered.",
|
|
198
|
+
type: "integer",
|
|
199
|
+
optional: true,
|
|
200
|
+
min: 1,
|
|
201
|
+
},
|
|
123
202
|
},
|
|
124
203
|
methods: {
|
|
125
204
|
client() {
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "microsoft_outlook_calendar-new-calendar-event",
|
|
6
6
|
name: "New Calendar Event (Instant)",
|
|
7
7
|
description: "Emit new event when a new Calendar event is created",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.13",
|
|
9
9
|
type: "source",
|
|
10
10
|
hooks: {
|
|
11
11
|
...common.hooks,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "microsoft_outlook_calendar-new-upcoming-event",
|
|
7
7
|
name: "New Upcoming Calendar Event",
|
|
8
8
|
description: "Emit new event when a Calendar event is upcoming, this source is using `reminderMinutesBeforeStart` property of the event to determine the time it should emit.",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.9",
|
|
10
10
|
type: "source",
|
|
11
11
|
props: {
|
|
12
12
|
...common.props,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "microsoft_outlook_calendar-new-upcoming-event-polling",
|
|
6
6
|
name: "New Upcoming Calendar Event (Polling)",
|
|
7
7
|
description: "Emit new event based on a time interval before an upcoming calendar event. [See the documentation](https://docs.microsoft.com/en-us/graph/api/user-list-events)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.5",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "unique",
|
|
11
11
|
props: {
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "microsoft_outlook_calendar-updated-calendar-event",
|
|
6
6
|
name: "New Calendar Event Update (Instant)",
|
|
7
7
|
description: "Emit new event when a Calendar event is updated",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.13",
|
|
9
9
|
type: "source",
|
|
10
10
|
hooks: {
|
|
11
11
|
...common.hooks,
|