@dv4resi/dvss-backend-module-calendar-im 0.0.9 → 0.0.10
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/dist/index.d.ts +2 -2
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1750,10 +1750,10 @@ interface IEventSyncMetadata {
|
|
|
1750
1750
|
createdBy?: 'DVSS' | 'PROVIDER';
|
|
1751
1751
|
syncVersion?: number;
|
|
1752
1752
|
lastSyncTimestamp?: string;
|
|
1753
|
-
|
|
1753
|
+
organizerEventId?: string;
|
|
1754
1754
|
syncType?: 'SINGLE' | 'RECURRING_SERIES' | 'CUSTOM_DATES';
|
|
1755
1755
|
externalSeriesId?: string;
|
|
1756
|
-
|
|
1756
|
+
organizerEventIds?: {
|
|
1757
1757
|
date: string;
|
|
1758
1758
|
eventId: string;
|
|
1759
1759
|
}[];
|
package/dist/index.js
CHANGED
|
@@ -4023,18 +4023,25 @@ function scheduleToGraphRecurrence(schedule, window) {
|
|
|
4023
4023
|
}
|
|
4024
4024
|
__name(scheduleToGraphRecurrence, "scheduleToGraphRecurrence");
|
|
4025
4025
|
function graphEventToRef(graph, options) {
|
|
4026
|
-
|
|
4026
|
+
const result = {
|
|
4027
4027
|
id: graph.id,
|
|
4028
4028
|
seriesId: graph.seriesMasterId,
|
|
4029
4029
|
instanceKind: graph.type ? GRAPH_TYPE_TO_INSTANCE_KIND[graph.type] : void 0,
|
|
4030
4030
|
syncMetadata: omitUndefined({
|
|
4031
4031
|
...options?.syncMetadata,
|
|
4032
|
-
|
|
4032
|
+
organizerEventId: graph.id ?? options?.syncMetadata?.organizerEventId,
|
|
4033
4033
|
organizerUserEmail: options?.organizerUserEmail ?? options?.syncMetadata?.organizerUserEmail,
|
|
4034
4034
|
resourceId: options?.resourceId ?? options?.syncMetadata?.resourceId,
|
|
4035
4035
|
excludedDateResults: options?.excludedDateResults ?? options?.syncMetadata?.excludedDateResults
|
|
4036
4036
|
})
|
|
4037
4037
|
};
|
|
4038
|
+
if (graph.iCalUId !== void 0) {
|
|
4039
|
+
result.iCalUId = graph.iCalUId;
|
|
4040
|
+
result.providerPayload = {
|
|
4041
|
+
iCalUId: graph.iCalUId
|
|
4042
|
+
};
|
|
4043
|
+
}
|
|
4044
|
+
return result;
|
|
4038
4045
|
}
|
|
4039
4046
|
__name(graphEventToRef, "graphEventToRef");
|
|
4040
4047
|
function graphEventsToInstances(response) {
|