@abyss-project/console 1.0.21 → 1.0.23

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.
@@ -1,6 +1,9 @@
1
+ export declare const WEBHOOK_TIMEOUT_MIN = 1;
2
+ export declare const WEBHOOK_TIMEOUT_MAX = 300;
3
+ export declare const WEBHOOK_TIMEOUT_DEFAULT = 30;
1
4
  export declare const WEBHOOK_MAX_RETRIES_MIN = 0;
2
5
  export declare const WEBHOOK_MAX_RETRIES_MAX = 10;
3
6
  export declare const WEBHOOK_MAX_RETRIES_DEFAULT = 3;
4
7
  export declare const WEBHOOK_RETRY_DELAY_MIN = 100;
5
- export declare const WEBHOOK_RETRY_DELAY_MAX = 300000;
8
+ export declare const WEBHOOK_RETRY_DELAY_MAX = 60000;
6
9
  export declare const WEBHOOK_RETRY_DELAY_DEFAULT = 1000;
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WEBHOOK_RETRY_DELAY_DEFAULT = exports.WEBHOOK_RETRY_DELAY_MAX = exports.WEBHOOK_RETRY_DELAY_MIN = exports.WEBHOOK_MAX_RETRIES_DEFAULT = exports.WEBHOOK_MAX_RETRIES_MAX = exports.WEBHOOK_MAX_RETRIES_MIN = void 0;
3
+ exports.WEBHOOK_RETRY_DELAY_DEFAULT = exports.WEBHOOK_RETRY_DELAY_MAX = exports.WEBHOOK_RETRY_DELAY_MIN = exports.WEBHOOK_MAX_RETRIES_DEFAULT = exports.WEBHOOK_MAX_RETRIES_MAX = exports.WEBHOOK_MAX_RETRIES_MIN = exports.WEBHOOK_TIMEOUT_DEFAULT = exports.WEBHOOK_TIMEOUT_MAX = exports.WEBHOOK_TIMEOUT_MIN = void 0;
4
+ exports.WEBHOOK_TIMEOUT_MIN = 1;
5
+ exports.WEBHOOK_TIMEOUT_MAX = 300;
6
+ exports.WEBHOOK_TIMEOUT_DEFAULT = 30;
4
7
  exports.WEBHOOK_MAX_RETRIES_MIN = 0;
5
8
  exports.WEBHOOK_MAX_RETRIES_MAX = 10;
6
9
  exports.WEBHOOK_MAX_RETRIES_DEFAULT = 3;
7
10
  exports.WEBHOOK_RETRY_DELAY_MIN = 100;
8
- exports.WEBHOOK_RETRY_DELAY_MAX = 300000;
11
+ exports.WEBHOOK_RETRY_DELAY_MAX = 60000;
9
12
  exports.WEBHOOK_RETRY_DELAY_DEFAULT = 1000;
@@ -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";
@@ -54,6 +54,7 @@ export interface ICreateWorkflowStepBody {
54
54
  description?: string | null;
55
55
  config: StepConfig;
56
56
  isEnabled?: boolean;
57
+ continueOnError?: boolean;
57
58
  afterStepId?: string | null;
58
59
  beforeStepId?: string | null;
59
60
  condition?: {
@@ -79,6 +80,7 @@ export interface IUpdateWorkflowStepBody {
79
80
  description?: string | null;
80
81
  config?: StepConfig;
81
82
  isEnabled?: boolean;
83
+ continueOnError?: boolean;
82
84
  afterStepId?: string | null;
83
85
  beforeStepId?: string | null;
84
86
  condition?: {
@@ -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.21",
3
+ "version": "1.0.23",
4
4
  "description": "Core package to interact with AbyssConsole",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",