@mojaloop/event-sdk
Version:
Shared code for Event Logging
64 lines (58 loc) • 5.98 kB
JavaScript
/*****
License
--------------
Copyright © 2020-2025 Mojaloop Foundation
The Mojaloop files are made available by the Mojaloop Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Contributors
--------------
This is the official list of the Mojaloop project contributors for this file.
Names of the original copyright holders (individuals or organizations)
should be listed with a '*' in the first column. People who have
contributed from an organization can be listed under the organization
that actually holds the copyright for their contributions (see the
Mojaloop Foundation for an example). Those individuals should have
their names indented and be marked with a '-'. Email address can be added
optionally within square brackets <email>.
* Mojaloop Foundation
- Name Surname <name.surname@mojaloop.io>
- Ramiro González Maciel <ramiro@modusbox.com>
- Valentin Genev <valentin.genev@modusbox.com>
--------------
******/
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.actionDictionary = exports.DefaultSidecarRecorderAsync = exports.HttpRequestOptions = exports.EVENT_RECEIVED = exports.EventLoggingServiceServer = exports.EventLoggingServiceClient = exports.EventStateMetadata = exports.EventTraceMetadata = exports.EventType = exports.NullEventAction = exports.Span = exports.DefaultSidecarRecorder = exports.DefaultLoggerRecorder = exports.Tracer = exports.LogResponse = exports.LogResponseStatus = exports.EventMessage = exports.EventMetadata = exports.EventStatusType = exports.TraceEventAction = exports.AuditEventAction = exports.LogEventAction = exports.TraceEventTypeAction = exports.AuditEventTypeAction = exports.LogEventTypeAction = void 0;
const Tracer_1 = require("./Tracer");
Object.defineProperty(exports, "Tracer", { enumerable: true, get: function () { return Tracer_1.Tracer; } });
const Recorder_1 = require("./Recorder");
Object.defineProperty(exports, "DefaultLoggerRecorder", { enumerable: true, get: function () { return Recorder_1.DefaultLoggerRecorder; } });
Object.defineProperty(exports, "DefaultSidecarRecorder", { enumerable: true, get: function () { return Recorder_1.DefaultSidecarRecorder; } });
Object.defineProperty(exports, "DefaultSidecarRecorderAsync", { enumerable: true, get: function () { return Recorder_1.DefaultSidecarRecorderAsync; } });
const Span_1 = require("./Span");
Object.defineProperty(exports, "Span", { enumerable: true, get: function () { return Span_1.Span; } });
const EventLoggingServiceClient_1 = require("./transport/EventLoggingServiceClient");
Object.defineProperty(exports, "EventLoggingServiceClient", { enumerable: true, get: function () { return EventLoggingServiceClient_1.EventLoggingServiceClient; } });
const EventLoggingServiceServer_1 = require("./transport/EventLoggingServiceServer");
Object.defineProperty(exports, "EventLoggingServiceServer", { enumerable: true, get: function () { return EventLoggingServiceServer_1.EventLoggingServiceServer; } });
Object.defineProperty(exports, "EVENT_RECEIVED", { enumerable: true, get: function () { return EventLoggingServiceServer_1.EVENT_RECEIVED; } });
const EventMessage_1 = require("./model/EventMessage");
Object.defineProperty(exports, "EventMessage", { enumerable: true, get: function () { return EventMessage_1.EventMessage; } });
Object.defineProperty(exports, "LogEventTypeAction", { enumerable: true, get: function () { return EventMessage_1.LogEventTypeAction; } });
Object.defineProperty(exports, "AuditEventTypeAction", { enumerable: true, get: function () { return EventMessage_1.AuditEventTypeAction; } });
Object.defineProperty(exports, "TraceEventTypeAction", { enumerable: true, get: function () { return EventMessage_1.TraceEventTypeAction; } });
Object.defineProperty(exports, "LogEventAction", { enumerable: true, get: function () { return EventMessage_1.LogEventAction; } });
Object.defineProperty(exports, "AuditEventAction", { enumerable: true, get: function () { return EventMessage_1.AuditEventAction; } });
Object.defineProperty(exports, "TraceEventAction", { enumerable: true, get: function () { return EventMessage_1.TraceEventAction; } });
Object.defineProperty(exports, "EventStatusType", { enumerable: true, get: function () { return EventMessage_1.EventStatusType; } });
Object.defineProperty(exports, "EventMetadata", { enumerable: true, get: function () { return EventMessage_1.EventMetadata; } });
Object.defineProperty(exports, "LogResponseStatus", { enumerable: true, get: function () { return EventMessage_1.LogResponseStatus; } });
Object.defineProperty(exports, "LogResponse", { enumerable: true, get: function () { return EventMessage_1.LogResponse; } });
Object.defineProperty(exports, "NullEventAction", { enumerable: true, get: function () { return EventMessage_1.NullEventAction; } });
Object.defineProperty(exports, "EventType", { enumerable: true, get: function () { return EventMessage_1.EventType; } });
Object.defineProperty(exports, "EventTraceMetadata", { enumerable: true, get: function () { return EventMessage_1.EventTraceMetadata; } });
Object.defineProperty(exports, "EventStateMetadata", { enumerable: true, get: function () { return EventMessage_1.EventStateMetadata; } });
Object.defineProperty(exports, "HttpRequestOptions", { enumerable: true, get: function () { return EventMessage_1.HttpRequestOptions; } });
Object.defineProperty(exports, "actionDictionary", { enumerable: true, get: function () { return EventMessage_1.actionDictionary; } });
//# sourceMappingURL=index.js.map