@abyss-project/console 1.0.22 → 1.0.24

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.
@@ -22,12 +22,6 @@ export declare enum WorkflowActionType {
22
22
  CALL_WEBHOOK = "CALL_WEBHOOK",
23
23
  INVITE_TO_PROJECT = "INVITE_TO_PROJECT"
24
24
  }
25
- export declare enum WorkflowConnectionType {
26
- SEQUENTIAL = "SEQUENTIAL",
27
- CONDITIONAL = "CONDITIONAL",
28
- DEFAULT = "DEFAULT",
29
- MERGE = "MERGE"
30
- }
31
25
  export declare enum WorkflowStepStatus {
32
26
  PENDING = "PENDING",
33
27
  RUNNING = "RUNNING",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HttpMethod = exports.SwitchConditionOperator = exports.FilterOperator = exports.WebhookStatus = exports.WebhookDirection = exports.WorkflowExecutionStatus = exports.WorkflowStepStatus = exports.WorkflowConnectionType = exports.WorkflowActionType = exports.WorkflowStepType = exports.WorkflowTemplate = exports.WorkflowTriggerType = exports.WorkflowStatus = void 0;
3
+ exports.HttpMethod = exports.SwitchConditionOperator = exports.FilterOperator = exports.WebhookStatus = exports.WebhookDirection = exports.WorkflowExecutionStatus = exports.WorkflowStepStatus = exports.WorkflowActionType = exports.WorkflowStepType = exports.WorkflowTemplate = exports.WorkflowTriggerType = exports.WorkflowStatus = void 0;
4
4
  var WorkflowStatus;
5
5
  (function (WorkflowStatus) {
6
6
  WorkflowStatus["DRAFT"] = "DRAFT";
@@ -30,13 +30,6 @@ var WorkflowActionType;
30
30
  WorkflowActionType["CALL_WEBHOOK"] = "CALL_WEBHOOK";
31
31
  WorkflowActionType["INVITE_TO_PROJECT"] = "INVITE_TO_PROJECT";
32
32
  })(WorkflowActionType || (exports.WorkflowActionType = WorkflowActionType = {}));
33
- var WorkflowConnectionType;
34
- (function (WorkflowConnectionType) {
35
- WorkflowConnectionType["SEQUENTIAL"] = "SEQUENTIAL";
36
- WorkflowConnectionType["CONDITIONAL"] = "CONDITIONAL";
37
- WorkflowConnectionType["DEFAULT"] = "DEFAULT";
38
- WorkflowConnectionType["MERGE"] = "MERGE";
39
- })(WorkflowConnectionType || (exports.WorkflowConnectionType = WorkflowConnectionType = {}));
40
33
  var WorkflowStepStatus;
41
34
  (function (WorkflowStepStatus) {
42
35
  WorkflowStepStatus["PENDING"] = "PENDING";
@@ -83,6 +83,7 @@ export interface IUpdateWorkflowStepBody {
83
83
  continueOnError?: boolean;
84
84
  afterStepId?: string | null;
85
85
  beforeStepId?: string | null;
86
+ swapStepId?: string;
86
87
  condition?: {
87
88
  field: string;
88
89
  operator: 'equals' | 'not_equals' | 'contains' | 'greater_than' | 'less_than';
@@ -1,4 +1,3 @@
1
- import { WorkflowConnectionType } from '../../enum/workflow.enum';
2
1
  export interface WorkflowCondition {
3
2
  field: string;
4
3
  operator: 'equals' | 'not_equals' | 'contains' | 'greater_than' | 'less_than';
@@ -9,7 +8,6 @@ export interface IWorkflowStepConnection {
9
8
  workflowId: string;
10
9
  fromStepId: string | null;
11
10
  toStepId: string | null;
12
- type: WorkflowConnectionType;
13
11
  label: string | null;
14
12
  condition: WorkflowCondition | null;
15
13
  order: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/console",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "Core package to interact with AbyssConsole",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",