workflow-common 1.1.15 → 1.1.17

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "workflow-common",
3
- "version": "1.1.15",
3
+ "version": "1.1.17",
4
4
  "description": "this is shared library project for bolt ui and backend",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -15,6 +15,7 @@ export interface WorkflowEmailData {
15
15
  suiteUrl?: string;
16
16
  executions: WorkflowItems[];
17
17
  applicationName?: string;
18
+ environmentName?: string;
18
19
  }
19
20
  export interface WorkflowItems {
20
21
  testName: string;
package/types/suites.d.ts CHANGED
@@ -10,6 +10,7 @@ export type SuiteExecution = {
10
10
  executionType: string;
11
11
  executionIds: string[];
12
12
  suiteId: string;
13
+ environmentId: string;
13
14
  };
14
15
  export interface SuiteData {
15
16
  id?: string;
@@ -18,6 +19,7 @@ export interface SuiteData {
18
19
  executionType: 'sequential' | 'parallel';
19
20
  scheduler?: Scheduler;
20
21
  applicationId: string;
22
+ environmentId: string;
21
23
  companyId?: string | null;
22
24
  createdBy?: string | null;
23
25
  createdAt?: Timestamp | FieldValue | null;
@@ -11,6 +11,7 @@ export interface WorkflowData {
11
11
  applicationId: string;
12
12
  name: string;
13
13
  description: string;
14
+ environmentId: string;
14
15
  scheduler?: {
15
16
  enabled: boolean;
16
17
  dateTime: Timestamp | FieldValue | null;
@@ -40,7 +41,8 @@ export declare enum WorkflowExecutionStatus {
40
41
  PENDING = "PENDING",
41
42
  RUNNING = "RUNNING",
42
43
  COMPLETED = "COMPLETED",
43
- FAILED = "FAILED"
44
+ FAILED = "FAILED",
45
+ FAILED_NO_CREDITS = "FAILED_NO_CREDITS"
44
46
  }
45
47
  export declare enum ExecutionPhaseStatus {
46
48
  CREATED = "CREATED",
package/types/workflow.js CHANGED
@@ -12,6 +12,7 @@ var WorkflowExecutionStatus;
12
12
  WorkflowExecutionStatus["RUNNING"] = "RUNNING";
13
13
  WorkflowExecutionStatus["COMPLETED"] = "COMPLETED";
14
14
  WorkflowExecutionStatus["FAILED"] = "FAILED";
15
+ WorkflowExecutionStatus["FAILED_NO_CREDITS"] = "FAILED_NO_CREDITS";
15
16
  })(WorkflowExecutionStatus || (exports.WorkflowExecutionStatus = WorkflowExecutionStatus = {}));
16
17
  var ExecutionPhaseStatus;
17
18
  (function (ExecutionPhaseStatus) {