@enable-tech/shared-types
Version:
This package represents the single source of truth of the Types being used in the codebase (front-end and back-end) of enable.tech, It is an organization-scoped package. So, all the development teams belonging to it can participate to enhance it.
20 lines • 879 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.E_ActionType = exports.E_JourneyStatus = void 0;
// ! NOTE: This type replaces the following type: JourneyStatus
var E_JourneyStatus;
(function (E_JourneyStatus) {
// default/initial state
// rules: always allowed
// triggers: manual activation
E_JourneyStatus["INACTIVE"] = "inactive";
// rules: at least one event, one action, and one message variant defined.
// triggers: manual activation
E_JourneyStatus["ACTIVE"] = "active";
})(E_JourneyStatus || (exports.E_JourneyStatus = E_JourneyStatus = {}));
// ! NOTE: This type replaces the following type: ActionType
var E_ActionType;
(function (E_ActionType) {
E_ActionType["COMPLETE_JOURNEY"] = "complete_journey";
})(E_ActionType || (exports.E_ActionType = E_ActionType = {}));
//# sourceMappingURL=index.js.map