@sphereon/ssi-sdk.event-logger 0.33.1-next.2 → 0.33.1-next.68

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.js CHANGED
@@ -1,28 +1,765 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropNames = Object.getOwnPropertyNames;
3
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
4
+ var __commonJS = (cb, mod) => function __require() {
5
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
6
+ };
7
+
8
+ // plugin.schema.json
9
+ var require_plugin_schema = __commonJS({
10
+ "plugin.schema.json"(exports, module) {
11
+ module.exports = {
12
+ IEventLogger: {
13
+ components: {
14
+ schemas: {
15
+ GetActivityEventsArgs: {
16
+ type: "object",
17
+ properties: {
18
+ filter: {
19
+ $ref: "#/components/schemas/FindActivityLoggingEventArgs"
20
+ }
21
+ },
22
+ additionalProperties: false
23
+ },
24
+ FindActivityLoggingEventArgs: {
25
+ type: "array",
26
+ items: {
27
+ $ref: "#/components/schemas/PartialActivityLoggingEvent"
28
+ }
29
+ },
30
+ PartialActivityLoggingEvent: {
31
+ $ref: "#/components/schemas/Partial<ActivityLoggingEvent>"
32
+ },
33
+ "Partial<ActivityLoggingEvent>": {
34
+ type: "object",
35
+ properties: {
36
+ level: {
37
+ $ref: "#/components/schemas/LogLevel"
38
+ },
39
+ correlationId: {
40
+ type: "string"
41
+ },
42
+ timestamp: {
43
+ type: "string",
44
+ format: "date-time"
45
+ },
46
+ diagnosticData: {},
47
+ id: {
48
+ type: "string"
49
+ },
50
+ type: {
51
+ $ref: "#/components/schemas/LoggingEventType.ACTIVITY"
52
+ },
53
+ originalCredential: {
54
+ type: "string"
55
+ },
56
+ credentialHash: {
57
+ type: "string"
58
+ },
59
+ parentCredentialHash: {
60
+ type: "string"
61
+ },
62
+ credentialType: {
63
+ $ref: "#/components/schemas/CredentialType"
64
+ },
65
+ sharePurpose: {
66
+ type: "string"
67
+ },
68
+ system: {
69
+ $ref: "#/components/schemas/System"
70
+ },
71
+ subSystemType: {
72
+ $ref: "#/components/schemas/SubSystem"
73
+ },
74
+ actionType: {
75
+ $ref: "#/components/schemas/ActionType"
76
+ },
77
+ actionSubType: {
78
+ $ref: "#/components/schemas/ActionSubType"
79
+ },
80
+ initiatorType: {
81
+ $ref: "#/components/schemas/InitiatorType"
82
+ },
83
+ systemCorrelationIdType: {
84
+ $ref: "#/components/schemas/SystemCorrelationIdType"
85
+ },
86
+ systemCorrelationId: {
87
+ type: "string"
88
+ },
89
+ systemAlias: {
90
+ type: "string"
91
+ },
92
+ partyCorrelationType: {
93
+ $ref: "#/components/schemas/PartyCorrelationType"
94
+ },
95
+ partyCorrelationId: {
96
+ type: "string"
97
+ },
98
+ partyAlias: {
99
+ type: "string"
100
+ },
101
+ description: {
102
+ type: "string"
103
+ },
104
+ data: {}
105
+ },
106
+ additionalProperties: false
107
+ },
108
+ LogLevel: {
109
+ type: "number",
110
+ enum: [0, 1, 2, 3, 4]
111
+ },
112
+ "LoggingEventType.ACTIVITY": {
113
+ type: "string",
114
+ const: "activity"
115
+ },
116
+ CredentialType: {
117
+ type: "string",
118
+ enum: ["JSON_LD", "JWT", "SD_JWT", "MSO_MDOC"]
119
+ },
120
+ System: {
121
+ type: "string",
122
+ enum: ["general", "kms", "identity", "oid4vci", "oid4vp", "siopv2", "PE", "credentials", "web3", "profile", "contact"]
123
+ },
124
+ SubSystem: {
125
+ type: "string",
126
+ enum: [
127
+ "key",
128
+ "did_provider",
129
+ "did_resolver",
130
+ "oid4vp_op",
131
+ "oid4vci_client",
132
+ "siopv2_op",
133
+ "contact_manager",
134
+ "vc_issuer",
135
+ "vc_verifier",
136
+ "vc_persistence",
137
+ "transport",
138
+ "profile",
139
+ "api"
140
+ ]
141
+ },
142
+ ActionType: {
143
+ type: "string",
144
+ enum: ["create", "read", "update", "delete", "execute"]
145
+ },
146
+ ActionSubType: {
147
+ anyOf: [
148
+ {
149
+ $ref: "#/components/schemas/DefaultActionSubType"
150
+ },
151
+ {
152
+ type: "string"
153
+ }
154
+ ]
155
+ },
156
+ DefaultActionSubType: {
157
+ type: "string",
158
+ enum: [
159
+ "Key generation",
160
+ "Key import",
161
+ "Key persistence",
162
+ "Key removal",
163
+ "DID creation",
164
+ "DID resolution",
165
+ "DID service update",
166
+ "VC issue",
167
+ "VC verify",
168
+ "VC share",
169
+ "VC delete",
170
+ "VC issue decline",
171
+ "VC share decline"
172
+ ]
173
+ },
174
+ InitiatorType: {
175
+ type: "string",
176
+ enum: ["user", "system", "external"]
177
+ },
178
+ SystemCorrelationIdType: {
179
+ type: "string",
180
+ enum: ["did", "url", "email", "hostname", "phone", "user"]
181
+ },
182
+ PartyCorrelationType: {
183
+ type: "string",
184
+ enum: ["did", "url", "email", "hostname", "phone"]
185
+ },
186
+ ActivityLoggingEvent: {
187
+ type: "object",
188
+ additionalProperties: false,
189
+ properties: {
190
+ id: {
191
+ type: "string"
192
+ },
193
+ type: {
194
+ $ref: "#/components/schemas/LoggingEventType.ACTIVITY"
195
+ },
196
+ originalCredential: {
197
+ type: "string"
198
+ },
199
+ credentialHash: {
200
+ type: "string"
201
+ },
202
+ parentCredentialHash: {
203
+ type: "string"
204
+ },
205
+ credentialType: {
206
+ $ref: "#/components/schemas/CredentialType"
207
+ },
208
+ sharePurpose: {
209
+ type: "string"
210
+ },
211
+ correlationId: {
212
+ type: "string"
213
+ },
214
+ system: {
215
+ $ref: "#/components/schemas/System"
216
+ },
217
+ subSystemType: {
218
+ $ref: "#/components/schemas/SubSystem"
219
+ },
220
+ actionType: {
221
+ $ref: "#/components/schemas/ActionType"
222
+ },
223
+ actionSubType: {
224
+ $ref: "#/components/schemas/ActionSubType"
225
+ },
226
+ initiatorType: {
227
+ $ref: "#/components/schemas/InitiatorType"
228
+ },
229
+ systemCorrelationIdType: {
230
+ $ref: "#/components/schemas/SystemCorrelationIdType"
231
+ },
232
+ systemCorrelationId: {
233
+ type: "string"
234
+ },
235
+ systemAlias: {
236
+ type: "string"
237
+ },
238
+ partyCorrelationType: {
239
+ $ref: "#/components/schemas/PartyCorrelationType"
240
+ },
241
+ partyCorrelationId: {
242
+ type: "string"
243
+ },
244
+ partyAlias: {
245
+ type: "string"
246
+ },
247
+ description: {
248
+ type: "string"
249
+ },
250
+ data: {},
251
+ level: {
252
+ $ref: "#/components/schemas/LogLevel"
253
+ },
254
+ timestamp: {
255
+ type: "string",
256
+ format: "date-time"
257
+ },
258
+ diagnosticData: {}
259
+ },
260
+ required: [
261
+ "actionSubType",
262
+ "actionType",
263
+ "correlationId",
264
+ "description",
265
+ "id",
266
+ "initiatorType",
267
+ "level",
268
+ "subSystemType",
269
+ "system",
270
+ "timestamp",
271
+ "type"
272
+ ]
273
+ },
274
+ GetAuditEventsArgs: {
275
+ type: "object",
276
+ properties: {
277
+ filter: {
278
+ $ref: "#/components/schemas/FindAuditLoggingEventArgs"
279
+ }
280
+ },
281
+ additionalProperties: false
282
+ },
283
+ FindAuditLoggingEventArgs: {
284
+ type: "array",
285
+ items: {
286
+ $ref: "#/components/schemas/PartialAuditLoggingEvent"
287
+ }
288
+ },
289
+ PartialAuditLoggingEvent: {
290
+ $ref: "#/components/schemas/Partial<AuditLoggingEvent>"
291
+ },
292
+ "Partial<AuditLoggingEvent>": {
293
+ type: "object",
294
+ properties: {
295
+ level: {
296
+ $ref: "#/components/schemas/LogLevel"
297
+ },
298
+ correlationId: {
299
+ type: "string"
300
+ },
301
+ timestamp: {
302
+ type: "string",
303
+ format: "date-time"
304
+ },
305
+ diagnosticData: {},
306
+ id: {
307
+ type: "string"
308
+ },
309
+ type: {
310
+ $ref: "#/components/schemas/LoggingEventType.AUDIT"
311
+ },
312
+ system: {
313
+ $ref: "#/components/schemas/System"
314
+ },
315
+ subSystemType: {
316
+ $ref: "#/components/schemas/SubSystem"
317
+ },
318
+ actionType: {
319
+ $ref: "#/components/schemas/ActionType"
320
+ },
321
+ actionSubType: {
322
+ $ref: "#/components/schemas/ActionSubType"
323
+ },
324
+ initiatorType: {
325
+ $ref: "#/components/schemas/InitiatorType"
326
+ },
327
+ systemCorrelationIdType: {
328
+ $ref: "#/components/schemas/SystemCorrelationIdType"
329
+ },
330
+ systemCorrelationId: {
331
+ type: "string"
332
+ },
333
+ systemAlias: {
334
+ type: "string"
335
+ },
336
+ partyCorrelationType: {
337
+ $ref: "#/components/schemas/PartyCorrelationType"
338
+ },
339
+ partyCorrelationId: {
340
+ type: "string"
341
+ },
342
+ partyAlias: {
343
+ type: "string"
344
+ },
345
+ description: {
346
+ type: "string"
347
+ },
348
+ data: {}
349
+ },
350
+ additionalProperties: false
351
+ },
352
+ "LoggingEventType.AUDIT": {
353
+ type: "string",
354
+ const: "audit"
355
+ },
356
+ AuditLoggingEvent: {
357
+ type: "object",
358
+ additionalProperties: false,
359
+ properties: {
360
+ id: {
361
+ type: "string"
362
+ },
363
+ type: {
364
+ $ref: "#/components/schemas/LoggingEventType.AUDIT"
365
+ },
366
+ correlationId: {
367
+ type: "string"
368
+ },
369
+ system: {
370
+ $ref: "#/components/schemas/System"
371
+ },
372
+ subSystemType: {
373
+ $ref: "#/components/schemas/SubSystem"
374
+ },
375
+ actionType: {
376
+ $ref: "#/components/schemas/ActionType"
377
+ },
378
+ actionSubType: {
379
+ $ref: "#/components/schemas/ActionSubType"
380
+ },
381
+ initiatorType: {
382
+ $ref: "#/components/schemas/InitiatorType"
383
+ },
384
+ systemCorrelationIdType: {
385
+ $ref: "#/components/schemas/SystemCorrelationIdType"
386
+ },
387
+ systemCorrelationId: {
388
+ type: "string"
389
+ },
390
+ systemAlias: {
391
+ type: "string"
392
+ },
393
+ partyCorrelationType: {
394
+ $ref: "#/components/schemas/PartyCorrelationType"
395
+ },
396
+ partyCorrelationId: {
397
+ type: "string"
398
+ },
399
+ partyAlias: {
400
+ type: "string"
401
+ },
402
+ description: {
403
+ type: "string"
404
+ },
405
+ data: {},
406
+ level: {
407
+ $ref: "#/components/schemas/LogLevel"
408
+ },
409
+ timestamp: {
410
+ type: "string",
411
+ format: "date-time"
412
+ },
413
+ diagnosticData: {}
414
+ },
415
+ required: [
416
+ "actionSubType",
417
+ "actionType",
418
+ "correlationId",
419
+ "description",
420
+ "id",
421
+ "initiatorType",
422
+ "level",
423
+ "subSystemType",
424
+ "system",
425
+ "timestamp",
426
+ "type"
427
+ ]
428
+ },
429
+ LogEventArgs: {
430
+ type: "object",
431
+ properties: {
432
+ event: {
433
+ $ref: "#/components/schemas/LogEventType"
434
+ }
435
+ },
436
+ required: ["event"],
437
+ additionalProperties: false
438
+ },
439
+ LogEventType: {
440
+ anyOf: [
441
+ {
442
+ $ref: "#/components/schemas/NonPersistedAuditLoggingEvent"
443
+ },
444
+ {
445
+ $ref: "#/components/schemas/NonPersistedActivityLoggingEvent"
446
+ }
447
+ ]
448
+ },
449
+ NonPersistedAuditLoggingEvent: {
450
+ type: "object",
451
+ additionalProperties: false,
452
+ properties: {
453
+ system: {
454
+ $ref: "#/components/schemas/System"
455
+ },
456
+ subSystemType: {
457
+ $ref: "#/components/schemas/SubSystem"
458
+ },
459
+ initiatorType: {
460
+ $ref: "#/components/schemas/InitiatorType"
461
+ },
462
+ diagnosticData: {},
463
+ actionType: {
464
+ $ref: "#/components/schemas/ActionType"
465
+ },
466
+ actionSubType: {
467
+ $ref: "#/components/schemas/ActionSubType"
468
+ },
469
+ systemCorrelationIdType: {
470
+ $ref: "#/components/schemas/SystemCorrelationIdType"
471
+ },
472
+ systemCorrelationId: {
473
+ type: "string"
474
+ },
475
+ systemAlias: {
476
+ type: "string"
477
+ },
478
+ partyCorrelationType: {
479
+ $ref: "#/components/schemas/PartyCorrelationType"
480
+ },
481
+ partyCorrelationId: {
482
+ type: "string"
483
+ },
484
+ partyAlias: {
485
+ type: "string"
486
+ },
487
+ description: {
488
+ type: "string"
489
+ },
490
+ data: {},
491
+ level: {
492
+ $ref: "#/components/schemas/LogLevel"
493
+ },
494
+ correlationId: {
495
+ type: "string"
496
+ }
497
+ },
498
+ required: ["actionSubType", "actionType", "description", "initiatorType", "subSystemType", "system"]
499
+ },
500
+ NonPersistedActivityLoggingEvent: {
501
+ type: "object",
502
+ additionalProperties: false,
503
+ properties: {
504
+ system: {
505
+ $ref: "#/components/schemas/System"
506
+ },
507
+ subSystemType: {
508
+ $ref: "#/components/schemas/SubSystem"
509
+ },
510
+ initiatorType: {
511
+ $ref: "#/components/schemas/InitiatorType"
512
+ },
513
+ originalCredential: {
514
+ type: "string"
515
+ },
516
+ credentialHash: {
517
+ type: "string"
518
+ },
519
+ parentCredentialHash: {
520
+ type: "string"
521
+ },
522
+ credentialType: {
523
+ $ref: "#/components/schemas/CredentialType"
524
+ },
525
+ sharePurpose: {
526
+ type: "string"
527
+ },
528
+ data: {},
529
+ diagnosticData: {},
530
+ actionType: {
531
+ $ref: "#/components/schemas/ActionType"
532
+ },
533
+ actionSubType: {
534
+ $ref: "#/components/schemas/ActionSubType"
535
+ },
536
+ systemCorrelationIdType: {
537
+ $ref: "#/components/schemas/SystemCorrelationIdType"
538
+ },
539
+ systemCorrelationId: {
540
+ type: "string"
541
+ },
542
+ systemAlias: {
543
+ type: "string"
544
+ },
545
+ partyCorrelationType: {
546
+ $ref: "#/components/schemas/PartyCorrelationType"
547
+ },
548
+ partyCorrelationId: {
549
+ type: "string"
550
+ },
551
+ partyAlias: {
552
+ type: "string"
553
+ },
554
+ description: {
555
+ type: "string"
556
+ },
557
+ level: {
558
+ $ref: "#/components/schemas/LogLevel"
559
+ },
560
+ correlationId: {
561
+ type: "string"
562
+ }
563
+ },
564
+ required: ["actionSubType", "actionType", "description", "initiatorType", "subSystemType", "system"]
565
+ }
566
+ },
567
+ methods: {
568
+ loggerGetActivityEvents: {
569
+ description: "",
570
+ arguments: {
571
+ $ref: "#/components/schemas/GetActivityEventsArgs"
572
+ },
573
+ returnType: {
574
+ type: "array",
575
+ items: {
576
+ $ref: "#/components/schemas/ActivityLoggingEvent"
577
+ }
578
+ }
579
+ },
580
+ loggerGetAuditEvents: {
581
+ description: "",
582
+ arguments: {
583
+ $ref: "#/components/schemas/GetAuditEventsArgs"
584
+ },
585
+ returnType: {
586
+ type: "array",
587
+ items: {
588
+ $ref: "#/components/schemas/AuditLoggingEvent"
589
+ }
590
+ }
591
+ },
592
+ loggerLogActivityEvent: {
593
+ description: "",
594
+ arguments: {
595
+ $ref: "#/components/schemas/LogEventArgs"
596
+ },
597
+ returnType: {
598
+ $ref: "#/components/schemas/ActivityLoggingEvent"
599
+ }
600
+ },
601
+ loggerLogAuditEvent: {
602
+ description: "",
603
+ arguments: {
604
+ $ref: "#/components/schemas/LogEventArgs"
605
+ },
606
+ returnType: {
607
+ $ref: "#/components/schemas/AuditLoggingEvent"
608
+ }
609
+ },
610
+ loggerLogGeneralEvent: {
611
+ description: "",
612
+ arguments: {
613
+ $ref: "#/components/schemas/LogEventArgs"
614
+ },
615
+ returnType: {
616
+ $ref: "#/components/schemas/LogEventType"
617
+ }
618
+ }
619
+ }
620
+ }
621
+ }
622
+ };
623
+ }
624
+ });
625
+
626
+ // src/agent/EventLogger.ts
627
+ import { Loggers, LoggingEventType, LogLevel, LogMethod } from "@sphereon/ssi-types";
628
+ import { v4 as uuidv4 } from "uuid";
629
+ var eventLoggerAuditMethods = [
630
+ "loggerGetAuditEvents",
631
+ "loggerLogAuditEvent",
632
+ "loggerLogGeneralEvent",
633
+ "loggerLogActivityEvent",
634
+ "loggerGetActivityEvents"
635
+ ];
636
+ var eventLoggerMethods = [
637
+ ...eventLoggerAuditMethods
638
+ ];
639
+ var EventLogger = class {
640
+ static {
641
+ __name(this, "EventLogger");
642
+ }
643
+ schema = schema.IEventLogger;
644
+ eventTypes = [];
645
+ store;
646
+ simpleLoggers;
647
+ methods = {
648
+ loggerGetAuditEvents: this.loggerGetAuditEvents.bind(this),
649
+ loggerLogAuditEvent: this.loggerLogAuditEvent.bind(this),
650
+ loggerLogGeneralEvent: this.loggerLogGeneralEvent.bind(this),
651
+ loggerLogActivityEvent: this.loggerLogActivityEvent.bind(this),
652
+ loggerGetActivityEvents: this.loggerGetActivityEvents.bind(this)
653
+ };
654
+ constructor(options) {
655
+ const { store, eventTypes } = options;
656
+ const generalOpts = options.general ?? {
657
+ debugPkg: true
658
+ };
659
+ this.store = store;
660
+ this.eventTypes = eventTypes;
661
+ const methods = [];
662
+ if (generalOpts.debugPkg) {
663
+ methods.push(LogMethod.DEBUG_PKG);
664
+ }
665
+ if (generalOpts.console) {
666
+ methods.push(LogMethod.CONSOLE);
667
+ }
668
+ if (generalOpts.events) {
669
+ methods.push(LogMethod.EVENT);
670
+ }
671
+ this.simpleLoggers = new Loggers({
672
+ methods,
673
+ eventName: generalOpts.eventName,
674
+ defaultLogLevel: generalOpts.defaultLogLevel
675
+ });
676
+ }
677
+ async onEvent(event, context) {
678
+ switch (event.type) {
679
+ case LoggingEventType.AUDIT:
680
+ await context.agent.loggerLogAuditEvent({
681
+ event: event.data
682
+ });
683
+ break;
684
+ case LoggingEventType.GENERAL:
685
+ await context.agent.loggerLogGeneralEvent({
686
+ event: event.data
687
+ });
688
+ break;
689
+ case LoggingEventType.ACTIVITY:
690
+ await context.agent.loggerLogActivityEvent({
691
+ event: event.data
692
+ });
693
+ break;
694
+ default:
695
+ return Promise.reject(Error(`Event type ${event.type} not supported`));
696
+ }
697
+ }
698
+ async loggerGetAuditEvents(args) {
699
+ const { filter } = args ?? {};
700
+ if (!this.store) {
701
+ return Promise.reject(Error("No store available in options"));
702
+ }
703
+ return this.store.getAuditEvents({
704
+ filter
705
+ });
706
+ }
707
+ async loggerGetActivityEvents(args) {
708
+ const { filter } = args ?? {};
709
+ if (!this.store) {
710
+ return Promise.reject(Error("No store available in options"));
711
+ }
712
+ return this.store.getActivityEvents({
713
+ filter
714
+ });
715
+ }
716
+ async loggerLogGeneralEvent(args) {
717
+ const { event } = args;
718
+ this.simpleLoggers.get(event.data.system).logl(event.data.level ?? LogLevel.INFO, event.data.data, event.data);
719
+ return args.event;
720
+ }
721
+ async loggerLogAuditEvent(args) {
722
+ const { event } = args;
723
+ if (!this.store) {
724
+ return Promise.reject(Error("No store available in options"));
725
+ }
726
+ return this.store.storeAuditEvent({
727
+ event: {
728
+ ...event,
729
+ system: event.system,
730
+ subSystemType: event.subSystemType,
731
+ initiatorType: event.initiatorType,
732
+ level: event.level ?? LogLevel.INFO,
733
+ correlationId: event.correlationId ?? uuidv4(),
734
+ timestamp: /* @__PURE__ */ new Date()
735
+ }
736
+ });
737
+ }
738
+ async loggerLogActivityEvent(args) {
739
+ const { event } = args;
740
+ if (!this.store) {
741
+ return Promise.reject(Error("No store available in options"));
742
+ }
743
+ return this.store.storeActivityEvent({
744
+ event: {
745
+ ...event,
746
+ system: event.system,
747
+ subSystemType: event.subSystemType,
748
+ initiatorType: event.initiatorType,
749
+ level: event.level ?? LogLevel.INFO,
750
+ correlationId: event.correlationId ?? uuidv4(),
751
+ timestamp: /* @__PURE__ */ new Date()
752
+ }
753
+ });
754
+ }
755
+ };
756
+
757
+ // src/index.ts
758
+ var schema = require_plugin_schema();
759
+ export {
760
+ EventLogger,
761
+ eventLoggerAuditMethods,
762
+ eventLoggerMethods,
763
+ schema
15
764
  };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.eventLoggerAuditMethods = exports.eventLoggerMethods = exports.EventLogger = exports.schema = void 0;
18
- /**
19
- * @public
20
- */
21
- const schema = require('../plugin.schema.json');
22
- exports.schema = schema;
23
- var EventLogger_1 = require("./agent/EventLogger");
24
- Object.defineProperty(exports, "EventLogger", { enumerable: true, get: function () { return EventLogger_1.EventLogger; } });
25
- Object.defineProperty(exports, "eventLoggerMethods", { enumerable: true, get: function () { return EventLogger_1.eventLoggerMethods; } });
26
- Object.defineProperty(exports, "eventLoggerAuditMethods", { enumerable: true, get: function () { return EventLogger_1.eventLoggerAuditMethods; } });
27
- __exportStar(require("./types/IEventLogger"), exports);
28
765
  //# sourceMappingURL=index.js.map