@abyss-project/console 1.0.20 → 1.0.22

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;
@@ -45,9 +45,7 @@ export interface ICallWebhookActionConfig {
45
45
  }
46
46
  export interface IInviteToProjectActionConfig {
47
47
  actionType: WorkflowActionType.INVITE_TO_PROJECT;
48
- projectId: string;
49
48
  permissions: string[];
50
- message?: string;
51
49
  }
52
50
  export type IActionStepConfig = ICallWebhookActionConfig | IInviteToProjectActionConfig;
53
51
  export type StepConfig = IFilterStepConfig | ISleepStepConfig | ISwitchStepConfig | IActionStepConfig;
@@ -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?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/console",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "Core package to interact with AbyssConsole",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",