UNPKG

@cognigy/rest-api-client

Version:

Cognigy REST-Client

12 lines 488 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resetNodeState = void 0; function resetNodeState(api, nodeId) { api.setLastExecutionMarker(nodeId, -1); api.resetExecutionAmount(nodeId); api.deleteSystemContext('activeQuestion'); api.deleteSystemContext('reconfirmationQuestionInProgress'); api.deleteSystemContext('reconfirmationQuestionInput'); } exports.resetNodeState = resetNodeState; //# sourceMappingURL=resetNodeState.js.map