@veridid/calendar 0.0.0-stage → 1.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/LICENSE +202 -0
- package/README.md +39 -2
- package/build/CalendarEvents.d.mts +59 -0
- package/build/CalendarEvents.d.mts.map +1 -0
- package/build/CalendarEvents.mjs +13 -0
- package/build/CalendarEvents.mjs.map +1 -0
- package/build/CalendarModule.d.mts +17 -0
- package/build/CalendarModule.d.mts.map +1 -0
- package/build/CalendarModule.mjs +98 -0
- package/build/CalendarModule.mjs.map +1 -0
- package/build/CalendarModuleConfig.d.mts +15 -0
- package/build/CalendarModuleConfig.d.mts.map +1 -0
- package/build/CalendarModuleConfig.mjs +12 -0
- package/build/CalendarModuleConfig.mjs.map +1 -0
- package/build/_virtual/_@oxc-project_runtime@0.112.0/helpers/decorate.mjs +10 -0
- package/build/_virtual/_@oxc-project_runtime@0.112.0/helpers/decorateMetadata.mjs +7 -0
- package/build/_virtual/_@oxc-project_runtime@0.112.0/helpers/decorateParam.mjs +9 -0
- package/build/api/CalendarApi.d.mts +132 -0
- package/build/api/CalendarApi.d.mts.map +1 -0
- package/build/api/CalendarApi.mjs +289 -0
- package/build/api/CalendarApi.mjs.map +1 -0
- package/build/index.d.mts +44 -0
- package/build/index.mjs +44 -0
- package/build/model/types.d.mts +133 -0
- package/build/model/types.d.mts.map +1 -0
- package/build/protocol/CalendarMessageTypes.d.mts +23 -0
- package/build/protocol/CalendarMessageTypes.d.mts.map +1 -0
- package/build/protocol/CalendarMessageTypes.mjs +24 -0
- package/build/protocol/CalendarMessageTypes.mjs.map +1 -0
- package/build/protocol/handlers/AcceptHandler.d.mts +14 -0
- package/build/protocol/handlers/AcceptHandler.d.mts.map +1 -0
- package/build/protocol/handlers/AcceptHandler.mjs +57 -0
- package/build/protocol/handlers/AcceptHandler.mjs.map +1 -0
- package/build/protocol/handlers/AvailabilityHandler.d.mts +14 -0
- package/build/protocol/handlers/AvailabilityHandler.d.mts.map +1 -0
- package/build/protocol/handlers/AvailabilityHandler.mjs +24 -0
- package/build/protocol/handlers/AvailabilityHandler.mjs.map +1 -0
- package/build/protocol/handlers/CancelHandler.d.mts +14 -0
- package/build/protocol/handlers/CancelHandler.d.mts.map +1 -0
- package/build/protocol/handlers/CancelHandler.mjs +60 -0
- package/build/protocol/handlers/CancelHandler.mjs.map +1 -0
- package/build/protocol/handlers/DeclineHandler.d.mts +14 -0
- package/build/protocol/handlers/DeclineHandler.d.mts.map +1 -0
- package/build/protocol/handlers/DeclineHandler.mjs +57 -0
- package/build/protocol/handlers/DeclineHandler.mjs.map +1 -0
- package/build/protocol/handlers/DelegateAcceptHandler.d.mts +14 -0
- package/build/protocol/handlers/DelegateAcceptHandler.d.mts.map +1 -0
- package/build/protocol/handlers/DelegateAcceptHandler.mjs +37 -0
- package/build/protocol/handlers/DelegateAcceptHandler.mjs.map +1 -0
- package/build/protocol/handlers/DelegateDeclineHandler.d.mts +14 -0
- package/build/protocol/handlers/DelegateDeclineHandler.d.mts.map +1 -0
- package/build/protocol/handlers/DelegateDeclineHandler.mjs +45 -0
- package/build/protocol/handlers/DelegateDeclineHandler.mjs.map +1 -0
- package/build/protocol/handlers/DelegateHandler.d.mts +14 -0
- package/build/protocol/handlers/DelegateHandler.d.mts.map +1 -0
- package/build/protocol/handlers/DelegateHandler.mjs +90 -0
- package/build/protocol/handlers/DelegateHandler.mjs.map +1 -0
- package/build/protocol/handlers/InviteHandler.d.mts +14 -0
- package/build/protocol/handlers/InviteHandler.d.mts.map +1 -0
- package/build/protocol/handlers/InviteHandler.mjs +69 -0
- package/build/protocol/handlers/InviteHandler.mjs.map +1 -0
- package/build/protocol/handlers/PollResultHandler.d.mts +14 -0
- package/build/protocol/handlers/PollResultHandler.d.mts.map +1 -0
- package/build/protocol/handlers/PollResultHandler.mjs +34 -0
- package/build/protocol/handlers/PollResultHandler.mjs.map +1 -0
- package/build/protocol/handlers/PollVoteHandler.d.mts +14 -0
- package/build/protocol/handlers/PollVoteHandler.d.mts.map +1 -0
- package/build/protocol/handlers/PollVoteHandler.mjs +54 -0
- package/build/protocol/handlers/PollVoteHandler.mjs.map +1 -0
- package/build/protocol/handlers/ProblemReportHandler.d.mts +14 -0
- package/build/protocol/handlers/ProblemReportHandler.d.mts.map +1 -0
- package/build/protocol/handlers/ProblemReportHandler.mjs +29 -0
- package/build/protocol/handlers/ProblemReportHandler.mjs.map +1 -0
- package/build/protocol/handlers/ProposeHandler.d.mts +14 -0
- package/build/protocol/handlers/ProposeHandler.d.mts.map +1 -0
- package/build/protocol/handlers/ProposeHandler.mjs +64 -0
- package/build/protocol/handlers/ProposeHandler.mjs.map +1 -0
- package/build/protocol/handlers/QueryAvailabilityHandler.d.mts +15 -0
- package/build/protocol/handlers/QueryAvailabilityHandler.d.mts.map +1 -0
- package/build/protocol/handlers/QueryAvailabilityHandler.mjs +75 -0
- package/build/protocol/handlers/QueryAvailabilityHandler.mjs.map +1 -0
- package/build/protocol/handlers/RecurrenceExceptionHandler.d.mts +14 -0
- package/build/protocol/handlers/RecurrenceExceptionHandler.d.mts.map +1 -0
- package/build/protocol/handlers/RecurrenceExceptionHandler.mjs +57 -0
- package/build/protocol/handlers/RecurrenceExceptionHandler.mjs.map +1 -0
- package/build/protocol/handlers/ReminderHandler.d.mts +14 -0
- package/build/protocol/handlers/ReminderHandler.d.mts.map +1 -0
- package/build/protocol/handlers/ReminderHandler.mjs +35 -0
- package/build/protocol/handlers/ReminderHandler.mjs.map +1 -0
- package/build/protocol/handlers/TentativeHandler.d.mts +14 -0
- package/build/protocol/handlers/TentativeHandler.d.mts.map +1 -0
- package/build/protocol/handlers/TentativeHandler.mjs +57 -0
- package/build/protocol/handlers/TentativeHandler.mjs.map +1 -0
- package/build/protocol/handlers/UpdateHandler.d.mts +14 -0
- package/build/protocol/handlers/UpdateHandler.d.mts.map +1 -0
- package/build/protocol/handlers/UpdateHandler.mjs +57 -0
- package/build/protocol/handlers/UpdateHandler.mjs.map +1 -0
- package/build/protocol/messages/AcceptMessage.d.mts +22 -0
- package/build/protocol/messages/AcceptMessage.d.mts.map +1 -0
- package/build/protocol/messages/AcceptMessage.mjs +23 -0
- package/build/protocol/messages/AcceptMessage.mjs.map +1 -0
- package/build/protocol/messages/AvailabilityMessage.d.mts +23 -0
- package/build/protocol/messages/AvailabilityMessage.d.mts.map +1 -0
- package/build/protocol/messages/AvailabilityMessage.mjs +23 -0
- package/build/protocol/messages/AvailabilityMessage.mjs.map +1 -0
- package/build/protocol/messages/CancelMessage.d.mts +24 -0
- package/build/protocol/messages/CancelMessage.d.mts.map +1 -0
- package/build/protocol/messages/CancelMessage.mjs +23 -0
- package/build/protocol/messages/CancelMessage.mjs.map +1 -0
- package/build/protocol/messages/DeclineMessage.d.mts +23 -0
- package/build/protocol/messages/DeclineMessage.d.mts.map +1 -0
- package/build/protocol/messages/DeclineMessage.mjs +23 -0
- package/build/protocol/messages/DeclineMessage.mjs.map +1 -0
- package/build/protocol/messages/DelegateAcceptMessage.d.mts +22 -0
- package/build/protocol/messages/DelegateAcceptMessage.d.mts.map +1 -0
- package/build/protocol/messages/DelegateAcceptMessage.mjs +23 -0
- package/build/protocol/messages/DelegateAcceptMessage.mjs.map +1 -0
- package/build/protocol/messages/DelegateDeclineMessage.d.mts +22 -0
- package/build/protocol/messages/DelegateDeclineMessage.d.mts.map +1 -0
- package/build/protocol/messages/DelegateDeclineMessage.mjs +23 -0
- package/build/protocol/messages/DelegateDeclineMessage.mjs.map +1 -0
- package/build/protocol/messages/DelegateMessage.d.mts +25 -0
- package/build/protocol/messages/DelegateMessage.d.mts.map +1 -0
- package/build/protocol/messages/DelegateMessage.mjs +23 -0
- package/build/protocol/messages/DelegateMessage.mjs.map +1 -0
- package/build/protocol/messages/InviteMessage.d.mts +38 -0
- package/build/protocol/messages/InviteMessage.d.mts.map +1 -0
- package/build/protocol/messages/InviteMessage.mjs +23 -0
- package/build/protocol/messages/InviteMessage.mjs.map +1 -0
- package/build/protocol/messages/PollResultMessage.d.mts +24 -0
- package/build/protocol/messages/PollResultMessage.d.mts.map +1 -0
- package/build/protocol/messages/PollResultMessage.mjs +23 -0
- package/build/protocol/messages/PollResultMessage.mjs.map +1 -0
- package/build/protocol/messages/PollVoteMessage.d.mts +21 -0
- package/build/protocol/messages/PollVoteMessage.d.mts.map +1 -0
- package/build/protocol/messages/PollVoteMessage.mjs +23 -0
- package/build/protocol/messages/PollVoteMessage.mjs.map +1 -0
- package/build/protocol/messages/ProblemReportMessage.d.mts +21 -0
- package/build/protocol/messages/ProblemReportMessage.d.mts.map +1 -0
- package/build/protocol/messages/ProblemReportMessage.mjs +23 -0
- package/build/protocol/messages/ProblemReportMessage.mjs.map +1 -0
- package/build/protocol/messages/ProposeMessage.d.mts +31 -0
- package/build/protocol/messages/ProposeMessage.d.mts.map +1 -0
- package/build/protocol/messages/ProposeMessage.mjs +23 -0
- package/build/protocol/messages/ProposeMessage.mjs.map +1 -0
- package/build/protocol/messages/QueryAvailabilityMessage.d.mts +25 -0
- package/build/protocol/messages/QueryAvailabilityMessage.d.mts.map +1 -0
- package/build/protocol/messages/QueryAvailabilityMessage.mjs +23 -0
- package/build/protocol/messages/QueryAvailabilityMessage.mjs.map +1 -0
- package/build/protocol/messages/RecurrenceExceptionMessage.d.mts +24 -0
- package/build/protocol/messages/RecurrenceExceptionMessage.d.mts.map +1 -0
- package/build/protocol/messages/RecurrenceExceptionMessage.mjs +23 -0
- package/build/protocol/messages/RecurrenceExceptionMessage.mjs.map +1 -0
- package/build/protocol/messages/ReminderMessage.d.mts +26 -0
- package/build/protocol/messages/ReminderMessage.d.mts.map +1 -0
- package/build/protocol/messages/ReminderMessage.mjs +23 -0
- package/build/protocol/messages/ReminderMessage.mjs.map +1 -0
- package/build/protocol/messages/TentativeMessage.d.mts +22 -0
- package/build/protocol/messages/TentativeMessage.d.mts.map +1 -0
- package/build/protocol/messages/TentativeMessage.mjs +23 -0
- package/build/protocol/messages/TentativeMessage.mjs.map +1 -0
- package/build/protocol/messages/UpdateMessage.d.mts +23 -0
- package/build/protocol/messages/UpdateMessage.d.mts.map +1 -0
- package/build/protocol/messages/UpdateMessage.mjs +23 -0
- package/build/protocol/messages/UpdateMessage.mjs.map +1 -0
- package/build/repository/CalendarEventRecord.d.mts +49 -0
- package/build/repository/CalendarEventRecord.d.mts.map +1 -0
- package/build/repository/CalendarEventRecord.mjs +42 -0
- package/build/repository/CalendarEventRecord.mjs.map +1 -0
- package/build/repository/CalendarEventRepository.d.mts +18 -0
- package/build/repository/CalendarEventRepository.d.mts.map +1 -0
- package/build/repository/CalendarEventRepository.mjs +63 -0
- package/build/repository/CalendarEventRepository.mjs.map +1 -0
- package/build/services/CalendarService.d.mts +222 -0
- package/build/services/CalendarService.d.mts.map +1 -0
- package/build/services/CalendarService.mjs +587 -0
- package/build/services/CalendarService.mjs.map +1 -0
- package/package.json +43 -3
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.112.0/helpers/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.112.0/helpers/decorate.mjs";
|
|
3
|
+
import { DidCommMessage, IsValidMessageType, parseMessageType } from "@credo-ts/didcomm";
|
|
4
|
+
|
|
5
|
+
//#region src/protocol/messages/RecurrenceExceptionMessage.ts
|
|
6
|
+
var RecurrenceExceptionMessage = class RecurrenceExceptionMessage extends DidCommMessage {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super();
|
|
9
|
+
this.type = RecurrenceExceptionMessage.type.messageTypeUri;
|
|
10
|
+
this.type = RecurrenceExceptionMessage.type.messageTypeUri;
|
|
11
|
+
if (options) {
|
|
12
|
+
this.id = options.id || this.generateId();
|
|
13
|
+
this.body = options.body;
|
|
14
|
+
if (options.thid) this.setThread({ threadId: options.thid });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
RecurrenceExceptionMessage.type = parseMessageType("https://didcomm.org/calendar/1.0/recurrence-exception");
|
|
19
|
+
__decorate([IsValidMessageType(RecurrenceExceptionMessage.type), __decorateMetadata("design:type", Object)], RecurrenceExceptionMessage.prototype, "type", void 0);
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { RecurrenceExceptionMessage };
|
|
23
|
+
//# sourceMappingURL=RecurrenceExceptionMessage.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecurrenceExceptionMessage.mjs","names":[],"sources":["../../../src/protocol/messages/RecurrenceExceptionMessage.ts"],"sourcesContent":["import { DidCommMessage, IsValidMessageType, parseMessageType } from '@credo-ts/didcomm'\n\nexport class RecurrenceExceptionMessage extends DidCommMessage {\n public static readonly type = parseMessageType('https://didcomm.org/calendar/1.0/recurrence-exception')\n\n @IsValidMessageType(RecurrenceExceptionMessage.type)\n public type = RecurrenceExceptionMessage.type.messageTypeUri\n\n public body!: {\n event_id: string\n recurrence_id: string\n action: 'modify' | 'cancel'\n changes?: Record<string, unknown>\n sequence: number\n reason?: string\n }\n\n public constructor(options?: { id?: string; body: RecurrenceExceptionMessage['body']; thid?: string }) {\n super()\n this.type = RecurrenceExceptionMessage.type.messageTypeUri\n if (options) {\n this.id = options.id || this.generateId()\n this.body = options.body\n if (options.thid) this.setThread({ threadId: options.thid })\n }\n }\n}\n"],"mappings":";;;;;AAEA,IAAa,6BAAb,MAAa,mCAAmC,eAAe;CAe7D,AAAO,YAAY,SAAoF;AACrG,SAAO;OAZF,OAAO,2BAA2B,KAAK;AAa5C,OAAK,OAAO,2BAA2B,KAAK;AAC5C,MAAI,SAAS;AACX,QAAK,KAAK,QAAQ,MAAM,KAAK,YAAY;AACzC,QAAK,OAAO,QAAQ;AACpB,OAAI,QAAQ,KAAM,MAAK,UAAU,EAAE,UAAU,QAAQ,MAAM,CAAC;;;;2BApBzC,OAAO,iBAAiB,wDAAwD;YAEtG,mBAAmB,2BAA2B,KAAK"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CallTrigger } from "../../model/types.mjs";
|
|
2
|
+
import * as _credo_ts_didcomm0 from "@credo-ts/didcomm";
|
|
3
|
+
import { DidCommMessage } from "@credo-ts/didcomm";
|
|
4
|
+
|
|
5
|
+
//#region src/protocol/messages/ReminderMessage.d.ts
|
|
6
|
+
declare class ReminderMessage extends DidCommMessage {
|
|
7
|
+
static readonly type: _credo_ts_didcomm0.ParsedMessageType;
|
|
8
|
+
type: string;
|
|
9
|
+
body: {
|
|
10
|
+
event_id: string;
|
|
11
|
+
title: string;
|
|
12
|
+
start: string;
|
|
13
|
+
timezone: string;
|
|
14
|
+
offset_minutes: number;
|
|
15
|
+
action?: string;
|
|
16
|
+
call_trigger?: CallTrigger;
|
|
17
|
+
};
|
|
18
|
+
constructor(options?: {
|
|
19
|
+
id?: string;
|
|
20
|
+
body: ReminderMessage['body'];
|
|
21
|
+
thid?: string;
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { ReminderMessage };
|
|
26
|
+
//# sourceMappingURL=ReminderMessage.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReminderMessage.d.mts","names":[],"sources":["../../../src/protocol/messages/ReminderMessage.ts"],"mappings":";;;;;cAIa,eAAA,SAAwB,cAAA;EAAA,gBACZ,IAAA,EADI,kBAAA,CACA,iBAAA;EAGpB,IAAA;EAEA,IAAA;IACL,QAAA;IACA,KAAA;IACA,KAAA;IACA,QAAA;IACA,cAAA;IACA,MAAA;IACA,YAAA,GAAe,WAAA;EAAA;cAGE,OAAA;IAAY,EAAA;IAAa,IAAA,EAAM,eAAA;IAAyB,IAAA;EAAA;AAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.112.0/helpers/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.112.0/helpers/decorate.mjs";
|
|
3
|
+
import { DidCommMessage, IsValidMessageType, parseMessageType } from "@credo-ts/didcomm";
|
|
4
|
+
|
|
5
|
+
//#region src/protocol/messages/ReminderMessage.ts
|
|
6
|
+
var ReminderMessage = class ReminderMessage extends DidCommMessage {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super();
|
|
9
|
+
this.type = ReminderMessage.type.messageTypeUri;
|
|
10
|
+
this.type = ReminderMessage.type.messageTypeUri;
|
|
11
|
+
if (options) {
|
|
12
|
+
this.id = options.id || this.generateId();
|
|
13
|
+
this.body = options.body;
|
|
14
|
+
if (options.thid) this.setThread({ threadId: options.thid });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
ReminderMessage.type = parseMessageType("https://didcomm.org/calendar/1.0/reminder");
|
|
19
|
+
__decorate([IsValidMessageType(ReminderMessage.type), __decorateMetadata("design:type", Object)], ReminderMessage.prototype, "type", void 0);
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { ReminderMessage };
|
|
23
|
+
//# sourceMappingURL=ReminderMessage.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReminderMessage.mjs","names":[],"sources":["../../../src/protocol/messages/ReminderMessage.ts"],"sourcesContent":["import type { CallTrigger } from '../../model/types'\n\nimport { DidCommMessage, IsValidMessageType, parseMessageType } from '@credo-ts/didcomm'\n\nexport class ReminderMessage extends DidCommMessage {\n public static readonly type = parseMessageType('https://didcomm.org/calendar/1.0/reminder')\n\n @IsValidMessageType(ReminderMessage.type)\n public type = ReminderMessage.type.messageTypeUri\n\n public body!: {\n event_id: string\n title: string\n start: string\n timezone: string\n offset_minutes: number\n action?: string\n call_trigger?: CallTrigger\n }\n\n public constructor(options?: { id?: string; body: ReminderMessage['body']; thid?: string }) {\n super()\n this.type = ReminderMessage.type.messageTypeUri\n if (options) {\n this.id = options.id || this.generateId()\n this.body = options.body\n if (options.thid) this.setThread({ threadId: options.thid })\n }\n }\n}\n"],"mappings":";;;;;AAIA,IAAa,kBAAb,MAAa,wBAAwB,eAAe;CAgBlD,AAAO,YAAY,SAAyE;AAC1F,SAAO;OAbF,OAAO,gBAAgB,KAAK;AAcjC,OAAK,OAAO,gBAAgB,KAAK;AACjC,MAAI,SAAS;AACX,QAAK,KAAK,QAAQ,MAAM,KAAK,YAAY;AACzC,QAAK,OAAO,QAAQ;AACpB,OAAI,QAAQ,KAAM,MAAK,UAAU,EAAE,UAAU,QAAQ,MAAM,CAAC;;;;gBArBzC,OAAO,iBAAiB,4CAA4C;YAE1F,mBAAmB,gBAAgB,KAAK"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as _credo_ts_didcomm0 from "@credo-ts/didcomm";
|
|
2
|
+
import { DidCommMessage } from "@credo-ts/didcomm";
|
|
3
|
+
|
|
4
|
+
//#region src/protocol/messages/TentativeMessage.d.ts
|
|
5
|
+
declare class TentativeMessage extends DidCommMessage {
|
|
6
|
+
static readonly type: _credo_ts_didcomm0.ParsedMessageType;
|
|
7
|
+
type: string;
|
|
8
|
+
body: {
|
|
9
|
+
event_id: string;
|
|
10
|
+
sequence: number;
|
|
11
|
+
confirm_by?: string;
|
|
12
|
+
comment?: string;
|
|
13
|
+
};
|
|
14
|
+
constructor(options?: {
|
|
15
|
+
id?: string;
|
|
16
|
+
body: TentativeMessage['body'];
|
|
17
|
+
thid?: string;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { TentativeMessage };
|
|
22
|
+
//# sourceMappingURL=TentativeMessage.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TentativeMessage.d.mts","names":[],"sources":["../../../src/protocol/messages/TentativeMessage.ts"],"mappings":";;;;cAEa,gBAAA,SAAyB,cAAA;EAAA,gBACb,IAAA,EADK,kBAAA,CACD,iBAAA;EAGpB,IAAA;EAEA,IAAA;IACL,QAAA;IACA,QAAA;IACA,UAAA;IACA,OAAA;EAAA;cAGiB,OAAA;IAAY,EAAA;IAAa,IAAA,EAAM,gBAAA;IAA0B,IAAA;EAAA;AAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.112.0/helpers/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.112.0/helpers/decorate.mjs";
|
|
3
|
+
import { DidCommMessage, IsValidMessageType, parseMessageType } from "@credo-ts/didcomm";
|
|
4
|
+
|
|
5
|
+
//#region src/protocol/messages/TentativeMessage.ts
|
|
6
|
+
var TentativeMessage = class TentativeMessage extends DidCommMessage {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super();
|
|
9
|
+
this.type = TentativeMessage.type.messageTypeUri;
|
|
10
|
+
this.type = TentativeMessage.type.messageTypeUri;
|
|
11
|
+
if (options) {
|
|
12
|
+
this.id = options.id || this.generateId();
|
|
13
|
+
this.body = options.body;
|
|
14
|
+
if (options.thid) this.setThread({ threadId: options.thid });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
TentativeMessage.type = parseMessageType("https://didcomm.org/calendar/1.0/tentative");
|
|
19
|
+
__decorate([IsValidMessageType(TentativeMessage.type), __decorateMetadata("design:type", Object)], TentativeMessage.prototype, "type", void 0);
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { TentativeMessage };
|
|
23
|
+
//# sourceMappingURL=TentativeMessage.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TentativeMessage.mjs","names":[],"sources":["../../../src/protocol/messages/TentativeMessage.ts"],"sourcesContent":["import { DidCommMessage, IsValidMessageType, parseMessageType } from '@credo-ts/didcomm'\n\nexport class TentativeMessage extends DidCommMessage {\n public static readonly type = parseMessageType('https://didcomm.org/calendar/1.0/tentative')\n\n @IsValidMessageType(TentativeMessage.type)\n public type = TentativeMessage.type.messageTypeUri\n\n public body!: {\n event_id: string\n sequence: number\n confirm_by?: string\n comment?: string\n }\n\n public constructor(options?: { id?: string; body: TentativeMessage['body']; thid?: string }) {\n super()\n this.type = TentativeMessage.type.messageTypeUri\n if (options) {\n this.id = options.id || this.generateId()\n this.body = options.body\n if (options.thid) this.setThread({ threadId: options.thid })\n }\n }\n}\n"],"mappings":";;;;;AAEA,IAAa,mBAAb,MAAa,yBAAyB,eAAe;CAanD,AAAO,YAAY,SAA0E;AAC3F,SAAO;OAVF,OAAO,iBAAiB,KAAK;AAWlC,OAAK,OAAO,iBAAiB,KAAK;AAClC,MAAI,SAAS;AACX,QAAK,KAAK,QAAQ,MAAM,KAAK,YAAY;AACzC,QAAK,OAAO,QAAQ;AACpB,OAAI,QAAQ,KAAM,MAAK,UAAU,EAAE,UAAU,QAAQ,MAAM,CAAC;;;;iBAlBzC,OAAO,iBAAiB,6CAA6C;YAE3F,mBAAmB,iBAAiB,KAAK"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as _credo_ts_didcomm0 from "@credo-ts/didcomm";
|
|
2
|
+
import { DidCommMessage } from "@credo-ts/didcomm";
|
|
3
|
+
|
|
4
|
+
//#region src/protocol/messages/UpdateMessage.d.ts
|
|
5
|
+
declare class UpdateMessage extends DidCommMessage {
|
|
6
|
+
static readonly type: _credo_ts_didcomm0.ParsedMessageType;
|
|
7
|
+
type: string;
|
|
8
|
+
body: {
|
|
9
|
+
event_id: string;
|
|
10
|
+
sequence: number;
|
|
11
|
+
changes: Record<string, unknown>;
|
|
12
|
+
reason?: string;
|
|
13
|
+
require_re_rsvp?: boolean;
|
|
14
|
+
};
|
|
15
|
+
constructor(options?: {
|
|
16
|
+
id?: string;
|
|
17
|
+
body: UpdateMessage['body'];
|
|
18
|
+
thid?: string;
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { UpdateMessage };
|
|
23
|
+
//# sourceMappingURL=UpdateMessage.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateMessage.d.mts","names":[],"sources":["../../../src/protocol/messages/UpdateMessage.ts"],"mappings":";;;;cAEa,aAAA,SAAsB,cAAA;EAAA,gBACV,IAAA,EADE,kBAAA,CACE,iBAAA;EAGpB,IAAA;EAEA,IAAA;IACL,QAAA;IACA,QAAA;IACA,OAAA,EAAS,MAAA;IACT,MAAA;IACA,eAAA;EAAA;cAGiB,OAAA;IAAY,EAAA;IAAa,IAAA,EAAM,aAAA;IAAuB,IAAA;EAAA;AAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.112.0/helpers/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.112.0/helpers/decorate.mjs";
|
|
3
|
+
import { DidCommMessage, IsValidMessageType, parseMessageType } from "@credo-ts/didcomm";
|
|
4
|
+
|
|
5
|
+
//#region src/protocol/messages/UpdateMessage.ts
|
|
6
|
+
var UpdateMessage = class UpdateMessage extends DidCommMessage {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super();
|
|
9
|
+
this.type = UpdateMessage.type.messageTypeUri;
|
|
10
|
+
this.type = UpdateMessage.type.messageTypeUri;
|
|
11
|
+
if (options) {
|
|
12
|
+
this.id = options.id || this.generateId();
|
|
13
|
+
this.body = options.body;
|
|
14
|
+
if (options.thid) this.setThread({ threadId: options.thid });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
UpdateMessage.type = parseMessageType("https://didcomm.org/calendar/1.0/update");
|
|
19
|
+
__decorate([IsValidMessageType(UpdateMessage.type), __decorateMetadata("design:type", Object)], UpdateMessage.prototype, "type", void 0);
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { UpdateMessage };
|
|
23
|
+
//# sourceMappingURL=UpdateMessage.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateMessage.mjs","names":[],"sources":["../../../src/protocol/messages/UpdateMessage.ts"],"sourcesContent":["import { DidCommMessage, IsValidMessageType, parseMessageType } from '@credo-ts/didcomm'\n\nexport class UpdateMessage extends DidCommMessage {\n public static readonly type = parseMessageType('https://didcomm.org/calendar/1.0/update')\n\n @IsValidMessageType(UpdateMessage.type)\n public type = UpdateMessage.type.messageTypeUri\n\n public body!: {\n event_id: string\n sequence: number\n changes: Record<string, unknown>\n reason?: string\n require_re_rsvp?: boolean\n }\n\n public constructor(options?: { id?: string; body: UpdateMessage['body']; thid?: string }) {\n super()\n this.type = UpdateMessage.type.messageTypeUri\n if (options) {\n this.id = options.id || this.generateId()\n this.body = options.body\n if (options.thid) this.setThread({ threadId: options.thid })\n }\n }\n}\n"],"mappings":";;;;;AAEA,IAAa,gBAAb,MAAa,sBAAsB,eAAe;CAchD,AAAO,YAAY,SAAuE;AACxF,SAAO;OAXF,OAAO,cAAc,KAAK;AAY/B,OAAK,OAAO,cAAc,KAAK;AAC/B,MAAI,SAAS;AACX,QAAK,KAAK,QAAQ,MAAM,KAAK,YAAY;AACzC,QAAK,OAAO,QAAQ;AACpB,OAAI,QAAQ,KAAM,MAAK,UAAU,EAAE,UAAU,QAAQ,MAAM,CAAC;;;;cAnBzC,OAAO,iBAAiB,0CAA0C;YAExF,mBAAmB,cAAc,KAAK"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { CalendarHistoryItem, CalendarRole, DelegationToken, EventDescriptor, InviteeState, OrganizerState, PollVoteEntry, TimeOption } from "../model/types.mjs";
|
|
2
|
+
import { BaseRecord, TagsBase } from "@credo-ts/core";
|
|
3
|
+
|
|
4
|
+
//#region src/repository/CalendarEventRecord.d.ts
|
|
5
|
+
interface CalendarEventRecordProps {
|
|
6
|
+
id?: string;
|
|
7
|
+
createdAt?: Date;
|
|
8
|
+
eventId: string;
|
|
9
|
+
connectionId?: string;
|
|
10
|
+
role: CalendarRole;
|
|
11
|
+
event: EventDescriptor;
|
|
12
|
+
organizerState?: OrganizerState;
|
|
13
|
+
inviteeState?: InviteeState;
|
|
14
|
+
history?: CalendarHistoryItem[];
|
|
15
|
+
timeOptions?: TimeOption[];
|
|
16
|
+
pollVotes?: Record<string, PollVoteEntry[]>;
|
|
17
|
+
pollClosed?: boolean;
|
|
18
|
+
delegationTokens?: DelegationToken[];
|
|
19
|
+
tags?: TagsBase;
|
|
20
|
+
}
|
|
21
|
+
type DefaultCalendarEventTags = {
|
|
22
|
+
eventId: string;
|
|
23
|
+
connectionId?: string;
|
|
24
|
+
role: string;
|
|
25
|
+
organizerState?: string;
|
|
26
|
+
inviteeState?: string;
|
|
27
|
+
organizerDid?: string;
|
|
28
|
+
eventType?: string;
|
|
29
|
+
};
|
|
30
|
+
declare class CalendarEventRecord extends BaseRecord<DefaultCalendarEventTags, TagsBase> implements CalendarEventRecordProps {
|
|
31
|
+
eventId: string;
|
|
32
|
+
connectionId?: string;
|
|
33
|
+
role: CalendarRole;
|
|
34
|
+
event: EventDescriptor;
|
|
35
|
+
organizerState?: OrganizerState;
|
|
36
|
+
inviteeState?: InviteeState;
|
|
37
|
+
history: CalendarHistoryItem[];
|
|
38
|
+
timeOptions?: TimeOption[];
|
|
39
|
+
pollVotes?: Record<string, PollVoteEntry[]>;
|
|
40
|
+
pollClosed?: boolean;
|
|
41
|
+
delegationTokens?: DelegationToken[];
|
|
42
|
+
static readonly type = "CalendarEventRecord";
|
|
43
|
+
readonly type = "CalendarEventRecord";
|
|
44
|
+
constructor(props: CalendarEventRecordProps);
|
|
45
|
+
getTags(): DefaultCalendarEventTags;
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
export { CalendarEventRecord, CalendarEventRecordProps, DefaultCalendarEventTags };
|
|
49
|
+
//# sourceMappingURL=CalendarEventRecord.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarEventRecord.d.mts","names":[],"sources":["../../src/repository/CalendarEventRecord.ts"],"mappings":";;;;UAciB,wBAAA;EACf,EAAA;EACA,SAAA,GAAY,IAAA;EACZ,OAAA;EACA,YAAA;EACA,IAAA,EAAM,YAAA;EACN,KAAA,EAAO,eAAA;EACP,cAAA,GAAiB,cAAA;EACjB,YAAA,GAAe,YAAA;EACf,OAAA,GAAU,mBAAA;EAEV,WAAA,GAAc,UAAA;EACd,SAAA,GAAY,MAAA,SAAe,aAAA;EAC3B,UAAA;EAEA,gBAAA,GAAmB,eAAA;EACnB,IAAA,GAAO,QAAA;AAAA;AAAA,KAGG,wBAAA;EACV,OAAA;EACA,YAAA;EACA,IAAA;EACA,cAAA;EACA,YAAA;EACA,YAAA;EACA,SAAA;AAAA;AAAA,cAGW,mBAAA,SACH,UAAA,CAAW,wBAAA,EAA0B,QAAA,aAClC,wBAAA;EAEJ,OAAA;EACA,YAAA;EACA,IAAA,EAAO,YAAA;EACP,KAAA,EAAQ,eAAA;EACR,cAAA,GAAiB,cAAA;EACjB,YAAA,GAAe,YAAA;EACf,OAAA,EAAU,mBAAA;EACV,WAAA,GAAc,UAAA;EACd,SAAA,GAAY,MAAA,SAAe,aAAA;EAC3B,UAAA;EACA,gBAAA,GAAmB,eAAA;EAAA,gBAEH,IAAA;EAAA,SACP,IAAA;cAEG,KAAA,EAAO,wBAAA;EAoBnB,OAAA,CAAA,GAAW,wBAAA;AAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { BaseRecord, utils } from "@credo-ts/core";
|
|
2
|
+
|
|
3
|
+
//#region src/repository/CalendarEventRecord.ts
|
|
4
|
+
var CalendarEventRecord = class CalendarEventRecord extends BaseRecord {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super();
|
|
7
|
+
this.type = CalendarEventRecord.type;
|
|
8
|
+
if (props) {
|
|
9
|
+
this.id = props.id ?? utils.uuid();
|
|
10
|
+
this.createdAt = props.createdAt ?? /* @__PURE__ */ new Date();
|
|
11
|
+
this.eventId = props.eventId;
|
|
12
|
+
this.connectionId = props.connectionId;
|
|
13
|
+
this.role = props.role;
|
|
14
|
+
this.event = props.event;
|
|
15
|
+
this.organizerState = props.organizerState;
|
|
16
|
+
this.inviteeState = props.inviteeState;
|
|
17
|
+
this.history = props.history ?? [];
|
|
18
|
+
this.timeOptions = props.timeOptions;
|
|
19
|
+
this.pollVotes = props.pollVotes;
|
|
20
|
+
this.pollClosed = props.pollClosed;
|
|
21
|
+
this.delegationTokens = props.delegationTokens;
|
|
22
|
+
this._tags = props.tags ?? {};
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
getTags() {
|
|
26
|
+
return {
|
|
27
|
+
...this._tags,
|
|
28
|
+
eventId: this.eventId,
|
|
29
|
+
connectionId: this.connectionId,
|
|
30
|
+
role: this.role,
|
|
31
|
+
organizerState: this.organizerState,
|
|
32
|
+
inviteeState: this.inviteeState,
|
|
33
|
+
organizerDid: this.event?.organizer,
|
|
34
|
+
eventType: this.event?.type
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
CalendarEventRecord.type = "CalendarEventRecord";
|
|
39
|
+
|
|
40
|
+
//#endregion
|
|
41
|
+
export { CalendarEventRecord };
|
|
42
|
+
//# sourceMappingURL=CalendarEventRecord.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarEventRecord.mjs","names":[],"sources":["../../src/repository/CalendarEventRecord.ts"],"sourcesContent":["import type {\n CalendarHistoryItem,\n CalendarRole,\n DelegationToken,\n EventDescriptor,\n OrganizerState,\n InviteeState,\n PollVoteEntry,\n TimeOption,\n} from '../model/types'\nimport type { TagsBase } from '@credo-ts/core'\n\nimport { BaseRecord, utils } from '@credo-ts/core'\n\nexport interface CalendarEventRecordProps {\n id?: string\n createdAt?: Date\n eventId: string\n connectionId?: string\n role: CalendarRole\n event: EventDescriptor\n organizerState?: OrganizerState\n inviteeState?: InviteeState\n history?: CalendarHistoryItem[]\n // Poll tracking (organizer-side)\n timeOptions?: TimeOption[]\n pollVotes?: Record<string, PollVoteEntry[]>\n pollClosed?: boolean\n // Delegation tracking\n delegationTokens?: DelegationToken[]\n tags?: TagsBase\n}\n\nexport type DefaultCalendarEventTags = {\n eventId: string\n connectionId?: string\n role: string\n organizerState?: string\n inviteeState?: string\n organizerDid?: string\n eventType?: string\n}\n\nexport class CalendarEventRecord\n extends BaseRecord<DefaultCalendarEventTags, TagsBase>\n implements CalendarEventRecordProps\n{\n public eventId!: string\n public connectionId?: string\n public role!: CalendarRole\n public event!: EventDescriptor\n public organizerState?: OrganizerState\n public inviteeState?: InviteeState\n public history!: CalendarHistoryItem[]\n public timeOptions?: TimeOption[]\n public pollVotes?: Record<string, PollVoteEntry[]>\n public pollClosed?: boolean\n public delegationTokens?: DelegationToken[]\n\n public static readonly type = 'CalendarEventRecord'\n public readonly type = CalendarEventRecord.type\n\n public constructor(props: CalendarEventRecordProps) {\n super()\n if (props) {\n this.id = props.id ?? utils.uuid()\n this.createdAt = props.createdAt ?? new Date()\n this.eventId = props.eventId\n this.connectionId = props.connectionId\n this.role = props.role\n this.event = props.event\n this.organizerState = props.organizerState\n this.inviteeState = props.inviteeState\n this.history = props.history ?? []\n this.timeOptions = props.timeOptions\n this.pollVotes = props.pollVotes\n this.pollClosed = props.pollClosed\n this.delegationTokens = props.delegationTokens\n this._tags = props.tags ?? {}\n }\n }\n\n public getTags(): DefaultCalendarEventTags {\n return {\n ...this._tags,\n eventId: this.eventId,\n connectionId: this.connectionId,\n role: this.role,\n organizerState: this.organizerState,\n inviteeState: this.inviteeState,\n organizerDid: this.event?.organizer,\n eventType: this.event?.type,\n }\n }\n}\n"],"mappings":";;;AA2CA,IAAa,sBAAb,MAAa,4BACH,WAEV;CAgBE,AAAO,YAAY,OAAiC;AAClD,SAAO;OAHO,OAAO,oBAAoB;AAIzC,MAAI,OAAO;AACT,QAAK,KAAK,MAAM,MAAM,MAAM,MAAM;AAClC,QAAK,YAAY,MAAM,6BAAa,IAAI,MAAM;AAC9C,QAAK,UAAU,MAAM;AACrB,QAAK,eAAe,MAAM;AAC1B,QAAK,OAAO,MAAM;AAClB,QAAK,QAAQ,MAAM;AACnB,QAAK,iBAAiB,MAAM;AAC5B,QAAK,eAAe,MAAM;AAC1B,QAAK,UAAU,MAAM,WAAW,EAAE;AAClC,QAAK,cAAc,MAAM;AACzB,QAAK,YAAY,MAAM;AACvB,QAAK,aAAa,MAAM;AACxB,QAAK,mBAAmB,MAAM;AAC9B,QAAK,QAAQ,MAAM,QAAQ,EAAE;;;CAIjC,AAAO,UAAoC;AACzC,SAAO;GACL,GAAG,KAAK;GACR,SAAS,KAAK;GACd,cAAc,KAAK;GACnB,MAAM,KAAK;GACX,gBAAgB,KAAK;GACrB,cAAc,KAAK;GACnB,cAAc,KAAK,OAAO;GAC1B,WAAW,KAAK,OAAO;GACxB;;;oBAjCoB,OAAO"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CalendarEventRecord } from "./CalendarEventRecord.mjs";
|
|
2
|
+
import { AgentContext, EventEmitter, Repository, StorageService } from "@credo-ts/core";
|
|
3
|
+
|
|
4
|
+
//#region src/repository/CalendarEventRepository.d.ts
|
|
5
|
+
declare class CalendarEventRepository extends Repository<CalendarEventRecord> {
|
|
6
|
+
constructor(storageService: StorageService<CalendarEventRecord>, eventEmitter: EventEmitter);
|
|
7
|
+
findByEventId(agentContext: AgentContext, eventId: string): Promise<CalendarEventRecord | null>;
|
|
8
|
+
findByEventIdAndRole(agentContext: AgentContext, eventId: string, role: string): Promise<CalendarEventRecord | null>;
|
|
9
|
+
findByConnection(agentContext: AgentContext, connectionId: string): Promise<CalendarEventRecord[]>;
|
|
10
|
+
findByRole(agentContext: AgentContext, role: string): Promise<CalendarEventRecord[]>;
|
|
11
|
+
findByOrganizerState(agentContext: AgentContext, organizerState: string): Promise<CalendarEventRecord[]>;
|
|
12
|
+
findByInviteeState(agentContext: AgentContext, inviteeState: string): Promise<CalendarEventRecord[]>;
|
|
13
|
+
findByConnectionAndRole(agentContext: AgentContext, connectionId: string, role: string): Promise<CalendarEventRecord[]>;
|
|
14
|
+
findUpcoming(agentContext: AgentContext): Promise<CalendarEventRecord[]>;
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { CalendarEventRepository };
|
|
18
|
+
//# sourceMappingURL=CalendarEventRepository.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarEventRepository.d.mts","names":[],"sources":["../../src/repository/CalendarEventRepository.ts"],"mappings":";;;;cAOa,uBAAA,SAAgC,UAAA,CAAW,mBAAA;cAEX,cAAA,EAAgB,cAAA,CAAe,mBAAA,GACxE,YAAA,EAAc,YAAA;EAKH,aAAA,CAAc,YAAA,EAAc,YAAA,EAAc,OAAA,WAAe,OAAA,CAAA,mBAAA;EAIzD,oBAAA,CAAqB,YAAA,EAAc,YAAA,EAAc,OAAA,UAAiB,IAAA,WAAY,OAAA,CAAA,mBAAA;EAI9E,gBAAA,CAAiB,YAAA,EAAc,YAAA,EAAc,YAAA,WAAoB,OAAA,CAAA,mBAAA;EAIjE,UAAA,CAAW,YAAA,EAAc,YAAA,EAAc,IAAA,WAAY,OAAA,CAAA,mBAAA;EAInD,oBAAA,CAAqB,YAAA,EAAc,YAAA,EAAc,cAAA,WAAsB,OAAA,CAAA,mBAAA;EAIvE,kBAAA,CAAmB,YAAA,EAAc,YAAA,EAAc,YAAA,WAAoB,OAAA,CAAA,mBAAA;EAInE,uBAAA,CAAwB,YAAA,EAAc,YAAA,EAAc,YAAA,UAAsB,IAAA,WAAY,OAAA,CAAA,mBAAA;EAItF,YAAA,CAAa,YAAA,EAAc,YAAA,GAAY,OAAA,CAAA,mBAAA;AAAA"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { CalendarEventRecord } from "./CalendarEventRecord.mjs";
|
|
2
|
+
import { __decorateMetadata } from "../_virtual/_@oxc-project_runtime@0.112.0/helpers/decorateMetadata.mjs";
|
|
3
|
+
import { __decorateParam } from "../_virtual/_@oxc-project_runtime@0.112.0/helpers/decorateParam.mjs";
|
|
4
|
+
import { __decorate } from "../_virtual/_@oxc-project_runtime@0.112.0/helpers/decorate.mjs";
|
|
5
|
+
import { EventEmitter, InjectionSymbols, Repository, inject, injectable } from "@credo-ts/core";
|
|
6
|
+
|
|
7
|
+
//#region src/repository/CalendarEventRepository.ts
|
|
8
|
+
var _ref;
|
|
9
|
+
let CalendarEventRepository = class CalendarEventRepository extends Repository {
|
|
10
|
+
constructor(storageService, eventEmitter) {
|
|
11
|
+
super(CalendarEventRecord, storageService, eventEmitter);
|
|
12
|
+
}
|
|
13
|
+
async findByEventId(agentContext, eventId) {
|
|
14
|
+
return this.findSingleByQuery(agentContext, { eventId });
|
|
15
|
+
}
|
|
16
|
+
async findByEventIdAndRole(agentContext, eventId, role) {
|
|
17
|
+
return this.findSingleByQuery(agentContext, {
|
|
18
|
+
eventId,
|
|
19
|
+
role
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
async findByConnection(agentContext, connectionId) {
|
|
23
|
+
return this.findByQuery(agentContext, { connectionId });
|
|
24
|
+
}
|
|
25
|
+
async findByRole(agentContext, role) {
|
|
26
|
+
return this.findByQuery(agentContext, { role });
|
|
27
|
+
}
|
|
28
|
+
async findByOrganizerState(agentContext, organizerState) {
|
|
29
|
+
return this.findByQuery(agentContext, { organizerState });
|
|
30
|
+
}
|
|
31
|
+
async findByInviteeState(agentContext, inviteeState) {
|
|
32
|
+
return this.findByQuery(agentContext, { inviteeState });
|
|
33
|
+
}
|
|
34
|
+
async findByConnectionAndRole(agentContext, connectionId, role) {
|
|
35
|
+
return this.findByQuery(agentContext, {
|
|
36
|
+
connectionId,
|
|
37
|
+
role
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
async findUpcoming(agentContext) {
|
|
41
|
+
const confirmed = await this.findByQuery(agentContext, { organizerState: "confirmed" });
|
|
42
|
+
const active = await this.findByQuery(agentContext, { organizerState: "active" });
|
|
43
|
+
const acceptedInvitee = await this.findByQuery(agentContext, { inviteeState: "accepted" });
|
|
44
|
+
return [
|
|
45
|
+
...confirmed,
|
|
46
|
+
...active,
|
|
47
|
+
...acceptedInvitee
|
|
48
|
+
].sort((a, b) => {
|
|
49
|
+
const aStart = a.event?.start || "";
|
|
50
|
+
const bStart = b.event?.start || "";
|
|
51
|
+
return aStart.localeCompare(bStart);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
CalendarEventRepository = __decorate([
|
|
56
|
+
injectable(),
|
|
57
|
+
__decorateParam(0, inject(InjectionSymbols.StorageService)),
|
|
58
|
+
__decorateMetadata("design:paramtypes", [Object, EventEmitter])
|
|
59
|
+
], CalendarEventRepository);
|
|
60
|
+
|
|
61
|
+
//#endregion
|
|
62
|
+
export { CalendarEventRepository };
|
|
63
|
+
//# sourceMappingURL=CalendarEventRepository.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarEventRepository.mjs","names":[],"sources":["../../src/repository/CalendarEventRepository.ts"],"sourcesContent":["import type { AgentContext, StorageService } from '@credo-ts/core'\n\nimport { EventEmitter, InjectionSymbols, Repository, inject, injectable } from '@credo-ts/core'\n\nimport { CalendarEventRecord } from './CalendarEventRecord'\n\n@injectable()\nexport class CalendarEventRepository extends Repository<CalendarEventRecord> {\n public constructor(\n @inject(InjectionSymbols.StorageService) storageService: StorageService<CalendarEventRecord>,\n eventEmitter: EventEmitter\n ) {\n super(CalendarEventRecord, storageService, eventEmitter)\n }\n\n public async findByEventId(agentContext: AgentContext, eventId: string) {\n return this.findSingleByQuery(agentContext, { eventId })\n }\n\n public async findByEventIdAndRole(agentContext: AgentContext, eventId: string, role: string) {\n return this.findSingleByQuery(agentContext, { eventId, role })\n }\n\n public async findByConnection(agentContext: AgentContext, connectionId: string) {\n return this.findByQuery(agentContext, { connectionId })\n }\n\n public async findByRole(agentContext: AgentContext, role: string) {\n return this.findByQuery(agentContext, { role })\n }\n\n public async findByOrganizerState(agentContext: AgentContext, organizerState: string) {\n return this.findByQuery(agentContext, { organizerState })\n }\n\n public async findByInviteeState(agentContext: AgentContext, inviteeState: string) {\n return this.findByQuery(agentContext, { inviteeState })\n }\n\n public async findByConnectionAndRole(agentContext: AgentContext, connectionId: string, role: string) {\n return this.findByQuery(agentContext, { connectionId, role })\n }\n\n public async findUpcoming(agentContext: AgentContext) {\n // Fetch all confirmed/active events, sort by start time\n const confirmed = await this.findByQuery(agentContext, { organizerState: 'confirmed' })\n const active = await this.findByQuery(agentContext, { organizerState: 'active' })\n const acceptedInvitee = await this.findByQuery(agentContext, { inviteeState: 'accepted' })\n const all = [...confirmed, ...active, ...acceptedInvitee]\n return all.sort((a, b) => {\n const aStart = a.event?.start || ''\n const bStart = b.event?.start || ''\n return aStart.localeCompare(bStart)\n })\n }\n}\n"],"mappings":";;;;;;;;AAOO,oCAAM,gCAAgC,WAAgC;CAC3E,AAAO,YACL,AAAyC,gBACzC,cACA;AACA,QAAM,qBAAqB,gBAAgB,aAAa;;CAG1D,MAAa,cAAc,cAA4B,SAAiB;AACtE,SAAO,KAAK,kBAAkB,cAAc,EAAE,SAAS,CAAC;;CAG1D,MAAa,qBAAqB,cAA4B,SAAiB,MAAc;AAC3F,SAAO,KAAK,kBAAkB,cAAc;GAAE;GAAS;GAAM,CAAC;;CAGhE,MAAa,iBAAiB,cAA4B,cAAsB;AAC9E,SAAO,KAAK,YAAY,cAAc,EAAE,cAAc,CAAC;;CAGzD,MAAa,WAAW,cAA4B,MAAc;AAChE,SAAO,KAAK,YAAY,cAAc,EAAE,MAAM,CAAC;;CAGjD,MAAa,qBAAqB,cAA4B,gBAAwB;AACpF,SAAO,KAAK,YAAY,cAAc,EAAE,gBAAgB,CAAC;;CAG3D,MAAa,mBAAmB,cAA4B,cAAsB;AAChF,SAAO,KAAK,YAAY,cAAc,EAAE,cAAc,CAAC;;CAGzD,MAAa,wBAAwB,cAA4B,cAAsB,MAAc;AACnG,SAAO,KAAK,YAAY,cAAc;GAAE;GAAc;GAAM,CAAC;;CAG/D,MAAa,aAAa,cAA4B;EAEpD,MAAM,YAAY,MAAM,KAAK,YAAY,cAAc,EAAE,gBAAgB,aAAa,CAAC;EACvF,MAAM,SAAS,MAAM,KAAK,YAAY,cAAc,EAAE,gBAAgB,UAAU,CAAC;EACjF,MAAM,kBAAkB,MAAM,KAAK,YAAY,cAAc,EAAE,cAAc,YAAY,CAAC;AAE1F,SADY;GAAC,GAAG;GAAW,GAAG;GAAQ,GAAG;GAAgB,CAC9C,MAAM,GAAG,MAAM;GACxB,MAAM,SAAS,EAAE,OAAO,SAAS;GACjC,MAAM,SAAS,EAAE,OAAO,SAAS;AACjC,UAAO,OAAO,cAAc,OAAO;IACnC;;;;CA/CL,YAAY;oBAGR,OAAO,iBAAiB,eAAe"}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import { CalendarModuleConfig } from "../CalendarModuleConfig.mjs";
|
|
2
|
+
import { CalendarRole, CancelScope, CounterPropose, DelegationScope, DelegationToken, EventDescriptor, FreeBusySlot, PollTally, PollVoteEntry, TimeOption } from "../model/types.mjs";
|
|
3
|
+
import { CalendarEventRecord } from "../repository/CalendarEventRecord.mjs";
|
|
4
|
+
import { CalendarEventRepository } from "../repository/CalendarEventRepository.mjs";
|
|
5
|
+
import { AgentConfig, AgentContext, EventEmitter } from "@credo-ts/core";
|
|
6
|
+
|
|
7
|
+
//#region src/services/CalendarService.d.ts
|
|
8
|
+
declare class CalendarService {
|
|
9
|
+
private readonly eventRepo;
|
|
10
|
+
private readonly config;
|
|
11
|
+
private readonly agentConfig;
|
|
12
|
+
private readonly eventEmitter?;
|
|
13
|
+
constructor(eventRepo: CalendarEventRepository, config: CalendarModuleConfig, agentConfig: AgentConfig, eventEmitter?: EventEmitter | undefined);
|
|
14
|
+
createProposal(agentContext: AgentContext, opts: {
|
|
15
|
+
event_id?: string;
|
|
16
|
+
title: string;
|
|
17
|
+
type: string;
|
|
18
|
+
time_options: TimeOption[];
|
|
19
|
+
description?: unknown;
|
|
20
|
+
location?: unknown;
|
|
21
|
+
organizer_did: string;
|
|
22
|
+
participant_dids: string[];
|
|
23
|
+
connection_id?: string;
|
|
24
|
+
quorum?: {
|
|
25
|
+
min_accept: number;
|
|
26
|
+
deadline: string;
|
|
27
|
+
};
|
|
28
|
+
reminders?: EventDescriptor['reminders'];
|
|
29
|
+
recurrence?: EventDescriptor['recurrence'];
|
|
30
|
+
sensitivity?: EventDescriptor['sensitivity'];
|
|
31
|
+
call_config?: EventDescriptor['call_config'];
|
|
32
|
+
tags?: string[];
|
|
33
|
+
}): Promise<CalendarEventRecord>;
|
|
34
|
+
createInvite(agentContext: AgentContext, opts: {
|
|
35
|
+
event_id?: string;
|
|
36
|
+
title: string;
|
|
37
|
+
type: string;
|
|
38
|
+
start: string;
|
|
39
|
+
end: string;
|
|
40
|
+
timezone: string;
|
|
41
|
+
description?: unknown;
|
|
42
|
+
location?: unknown;
|
|
43
|
+
organizer_did: string;
|
|
44
|
+
participant_dids: string[];
|
|
45
|
+
connection_id?: string;
|
|
46
|
+
reminders?: EventDescriptor['reminders'];
|
|
47
|
+
recurrence?: EventDescriptor['recurrence'];
|
|
48
|
+
sensitivity?: EventDescriptor['sensitivity'];
|
|
49
|
+
call_config?: EventDescriptor['call_config'];
|
|
50
|
+
quorum?: {
|
|
51
|
+
min_accept: number;
|
|
52
|
+
deadline: string;
|
|
53
|
+
};
|
|
54
|
+
allow_delegation?: boolean;
|
|
55
|
+
require_signed_rsvp?: boolean;
|
|
56
|
+
vault_ref?: EventDescriptor['vault_ref'];
|
|
57
|
+
tags?: string[];
|
|
58
|
+
}): Promise<CalendarEventRecord>;
|
|
59
|
+
receiveProposal(agentContext: AgentContext, opts: {
|
|
60
|
+
event_id: string;
|
|
61
|
+
title: string;
|
|
62
|
+
type: string;
|
|
63
|
+
time_options: TimeOption[];
|
|
64
|
+
description?: unknown;
|
|
65
|
+
location?: unknown;
|
|
66
|
+
organizer_did: string;
|
|
67
|
+
call_config?: EventDescriptor['call_config'];
|
|
68
|
+
quorum?: {
|
|
69
|
+
min_accept: number;
|
|
70
|
+
deadline: string;
|
|
71
|
+
};
|
|
72
|
+
reminders?: EventDescriptor['reminders'];
|
|
73
|
+
recurrence?: EventDescriptor['recurrence'];
|
|
74
|
+
sensitivity?: EventDescriptor['sensitivity'];
|
|
75
|
+
tags?: string[];
|
|
76
|
+
}, connectionId?: string): Promise<CalendarEventRecord>;
|
|
77
|
+
receiveInvite(agentContext: AgentContext, event: EventDescriptor, connectionId?: string): Promise<CalendarEventRecord>;
|
|
78
|
+
respond(agentContext: AgentContext, opts: {
|
|
79
|
+
event_id: string;
|
|
80
|
+
response: 'accept' | 'decline' | 'tentative';
|
|
81
|
+
comment?: string;
|
|
82
|
+
reason?: string;
|
|
83
|
+
counter_propose?: CounterPropose;
|
|
84
|
+
confirm_by?: string;
|
|
85
|
+
signed_rsvp?: string;
|
|
86
|
+
}): Promise<CalendarEventRecord>;
|
|
87
|
+
receiveResponse(agentContext: AgentContext, opts: {
|
|
88
|
+
event_id: string;
|
|
89
|
+
from_did: string;
|
|
90
|
+
response: 'accept' | 'decline' | 'tentative';
|
|
91
|
+
sequence: number;
|
|
92
|
+
comment?: string;
|
|
93
|
+
reason?: string;
|
|
94
|
+
counter_propose?: CounterPropose;
|
|
95
|
+
confirm_by?: string;
|
|
96
|
+
signed_rsvp?: string;
|
|
97
|
+
}): Promise<CalendarEventRecord>;
|
|
98
|
+
updateEvent(agentContext: AgentContext, opts: {
|
|
99
|
+
event_id: string;
|
|
100
|
+
changes: Record<string, unknown>;
|
|
101
|
+
reason?: string;
|
|
102
|
+
require_re_rsvp?: boolean;
|
|
103
|
+
}): Promise<CalendarEventRecord>;
|
|
104
|
+
receiveUpdate(agentContext: AgentContext, opts: {
|
|
105
|
+
event_id: string;
|
|
106
|
+
sequence: number;
|
|
107
|
+
changes: Record<string, unknown>;
|
|
108
|
+
reason?: string;
|
|
109
|
+
require_re_rsvp?: boolean;
|
|
110
|
+
}): Promise<CalendarEventRecord>;
|
|
111
|
+
cancelEvent(agentContext: AgentContext, opts: {
|
|
112
|
+
event_id: string;
|
|
113
|
+
reason?: string;
|
|
114
|
+
cancel_scope?: CancelScope;
|
|
115
|
+
recurrence_id?: string;
|
|
116
|
+
}): Promise<CalendarEventRecord>;
|
|
117
|
+
receiveCancellation(agentContext: AgentContext, opts: {
|
|
118
|
+
event_id: string;
|
|
119
|
+
sequence: number;
|
|
120
|
+
reason?: string;
|
|
121
|
+
cancel_scope?: CancelScope;
|
|
122
|
+
recurrence_id?: string;
|
|
123
|
+
}): Promise<CalendarEventRecord>;
|
|
124
|
+
respondAvailability(agentContext: AgentContext, opts: {
|
|
125
|
+
slots: FreeBusySlot[];
|
|
126
|
+
timezone: string;
|
|
127
|
+
privacy_level?: string;
|
|
128
|
+
}): Promise<{
|
|
129
|
+
timezone: string;
|
|
130
|
+
slots: FreeBusySlot[];
|
|
131
|
+
expires: string;
|
|
132
|
+
privacy_level: string;
|
|
133
|
+
}>;
|
|
134
|
+
delegate(agentContext: AgentContext, opts: {
|
|
135
|
+
event_id: string;
|
|
136
|
+
delegate_to: string;
|
|
137
|
+
scope: DelegationScope;
|
|
138
|
+
reason?: string;
|
|
139
|
+
jws: string;
|
|
140
|
+
}): Promise<{
|
|
141
|
+
record: CalendarEventRecord;
|
|
142
|
+
token: DelegationToken;
|
|
143
|
+
}>;
|
|
144
|
+
receiveDelegation(agentContext: AgentContext, opts: {
|
|
145
|
+
event_id: string;
|
|
146
|
+
delegator: string;
|
|
147
|
+
delegate_to: string;
|
|
148
|
+
scope: DelegationScope;
|
|
149
|
+
delegation_token: DelegationToken;
|
|
150
|
+
}): Promise<CalendarEventRecord>;
|
|
151
|
+
approveDelegation(agentContext: AgentContext, opts: {
|
|
152
|
+
event_id: string;
|
|
153
|
+
delegator: string;
|
|
154
|
+
delegate: string;
|
|
155
|
+
}): Promise<CalendarEventRecord>;
|
|
156
|
+
declineDelegation(agentContext: AgentContext, opts: {
|
|
157
|
+
event_id: string;
|
|
158
|
+
delegator: string;
|
|
159
|
+
delegate: string;
|
|
160
|
+
reason?: string;
|
|
161
|
+
}): Promise<CalendarEventRecord>;
|
|
162
|
+
handleRecurrenceException(agentContext: AgentContext, opts: {
|
|
163
|
+
event_id: string;
|
|
164
|
+
recurrence_id: string;
|
|
165
|
+
action: 'modify' | 'cancel';
|
|
166
|
+
changes?: Record<string, unknown>;
|
|
167
|
+
sequence: number;
|
|
168
|
+
reason?: string;
|
|
169
|
+
}): Promise<CalendarEventRecord>;
|
|
170
|
+
receiveRecurrenceException(agentContext: AgentContext, opts: {
|
|
171
|
+
event_id: string;
|
|
172
|
+
recurrence_id: string;
|
|
173
|
+
action: 'modify' | 'cancel';
|
|
174
|
+
changes?: Record<string, unknown>;
|
|
175
|
+
sequence: number;
|
|
176
|
+
}): Promise<CalendarEventRecord>;
|
|
177
|
+
castPollVote(agentContext: AgentContext, opts: {
|
|
178
|
+
event_id: string;
|
|
179
|
+
votes: PollVoteEntry[];
|
|
180
|
+
}): Promise<CalendarEventRecord>;
|
|
181
|
+
receivePollVote(agentContext: AgentContext, opts: {
|
|
182
|
+
event_id: string;
|
|
183
|
+
voter_did: string;
|
|
184
|
+
votes: PollVoteEntry[];
|
|
185
|
+
}): Promise<CalendarEventRecord>;
|
|
186
|
+
closePoll(agentContext: AgentContext, opts: {
|
|
187
|
+
event_id: string;
|
|
188
|
+
selected_option_id: string;
|
|
189
|
+
}): Promise<{
|
|
190
|
+
record: CalendarEventRecord;
|
|
191
|
+
tallies: PollTally[];
|
|
192
|
+
}>;
|
|
193
|
+
receivePollResult(agentContext: AgentContext, opts: {
|
|
194
|
+
event_id: string;
|
|
195
|
+
selected_option: string;
|
|
196
|
+
tallies: PollTally[];
|
|
197
|
+
proceed: boolean;
|
|
198
|
+
}): Promise<CalendarEventRecord>;
|
|
199
|
+
receiveReminder(agentContext: AgentContext, opts: {
|
|
200
|
+
event_id: string;
|
|
201
|
+
offset_minutes: number;
|
|
202
|
+
action?: string;
|
|
203
|
+
call_trigger?: {
|
|
204
|
+
type: string;
|
|
205
|
+
preconfig: unknown;
|
|
206
|
+
};
|
|
207
|
+
}): Promise<CalendarEventRecord | null>;
|
|
208
|
+
getEvent(agentContext: AgentContext, eventId: string): Promise<CalendarEventRecord>;
|
|
209
|
+
listEvents(agentContext: AgentContext, filters?: {
|
|
210
|
+
role?: CalendarRole;
|
|
211
|
+
connectionId?: string;
|
|
212
|
+
}): Promise<CalendarEventRecord[]>;
|
|
213
|
+
getUpcomingEvents(agentContext: AgentContext): Promise<CalendarEventRecord[]>;
|
|
214
|
+
private getEventRecord;
|
|
215
|
+
private computeTallies;
|
|
216
|
+
private emitStateChanged;
|
|
217
|
+
private problem;
|
|
218
|
+
private uuid;
|
|
219
|
+
}
|
|
220
|
+
//#endregion
|
|
221
|
+
export { CalendarService };
|
|
222
|
+
//# sourceMappingURL=CalendarService.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarService.d.mts","names":[],"sources":["../../src/services/CalendarService.ts"],"mappings":"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"}
|