"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LinkType = exports.InboxEventStatus = exports.OutboxEventStatus = void 0;
/**
 * Event status throughout the integration lifecycle
 */
var OutboxEventStatus;
(function (OutboxEventStatus) {
    OutboxEventStatus["PENDING"] = "pending";
    OutboxEventStatus["PROCESSING"] = "processing";
    OutboxEventStatus["PROCESSED"] = "processed";
    OutboxEventStatus["FAILED"] = "failed";
    OutboxEventStatus["DEAD_LETTER"] = "dead_letter";
})(OutboxEventStatus || (exports.OutboxEventStatus = OutboxEventStatus = {}));
/**
 * Inbox event processing status per consumer
 */
var InboxEventStatus;
(function (InboxEventStatus) {
    InboxEventStatus["RECEIVED"] = "received";
    InboxEventStatus["PROCESSING"] = "processing";
    InboxEventStatus["PROCESSED"] = "processed";
    InboxEventStatus["FAILED"] = "failed";
    InboxEventStatus["SKIPPED"] = "skipped";
})(InboxEventStatus || (exports.InboxEventStatus = InboxEventStatus = {}));
/**
 * Type of link between entities from different modules
 */
var LinkType;
(function (LinkType) {
    LinkType["REFERENCE"] = "reference";
    LinkType["CASCADE"] = "cascade";
    LinkType["AGGREGATE_ROOT"] = "aggregate_root";
})(LinkType || (exports.LinkType = LinkType = {}));
//# sourceMappingURL=event.types.js.map