@ampsec/platform-client 45.0.0 → 45.2.0

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,3 +1,4 @@
1
1
  export declare enum RequiredDataProperty {
2
- DURATION = "DURATION"
2
+ DURATION = "DURATION",
3
+ OUTCOME = "OUTCOME"
3
4
  }
@@ -5,5 +5,6 @@ exports.RequiredDataProperty = void 0;
5
5
  var RequiredDataProperty;
6
6
  (function (RequiredDataProperty) {
7
7
  RequiredDataProperty["DURATION"] = "DURATION";
8
+ RequiredDataProperty["OUTCOME"] = "OUTCOME";
8
9
  })(RequiredDataProperty || (exports.RequiredDataProperty = RequiredDataProperty = {}));
9
10
  //# sourceMappingURL=requiredDataProperty.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"requiredDataProperty.enum.js","sourceRoot":"","sources":["../../../../src/dto/enums/requiredDataProperty.enum.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,IAAY,oBAEX;AAFD,WAAY,oBAAoB;IAC9B,6CAAqB,CAAA;AACvB,CAAC,EAFW,oBAAoB,oCAApB,oBAAoB,QAE/B"}
1
+ {"version":3,"file":"requiredDataProperty.enum.js","sourceRoot":"","sources":["../../../../src/dto/enums/requiredDataProperty.enum.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,6CAAqB,CAAA;IACrB,2CAAmB,CAAA;AACrB,CAAC,EAHW,oBAAoB,oCAApB,oBAAoB,QAG/B"}
@@ -1,5 +1,6 @@
1
1
  import { BaseDto } from './base.dto';
2
2
  import { ContentStrategyKind, DeliveryStrategyKind } from './enums';
3
+ import { FindingOutcome } from './enums/finding.outcome';
3
4
  import { WorkflowStepKind } from './enums/workflowStep.kind';
4
5
  import { WorkflowTriggerKind } from './enums/workflowTrigger.kind';
5
6
  export type WorflowStepDescriptor = {
@@ -7,7 +8,7 @@ export type WorflowStepDescriptor = {
7
8
  kind: WorkflowStepKind;
8
9
  /** Optional default values to be used of no other is provided */
9
10
  defaults?: {
10
- [propName: string]: string | number | boolean;
11
+ [propName: string]: string | number | boolean | FindingOutcome;
11
12
  };
12
13
  };
13
14
  export type NotificationStepDescriptor = WorflowStepDescriptor & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "45.0.0",
3
+ "version": "45.2.0",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
@@ -1,4 +1,5 @@
1
1
  /* eslint-disable no-unused-vars */
2
2
  export enum RequiredDataProperty {
3
3
  DURATION = 'DURATION',
4
+ OUTCOME = 'OUTCOME',
4
5
  }
@@ -1,5 +1,6 @@
1
1
  import {BaseDto} from './base.dto';
2
2
  import {ContentStrategyKind, DeliveryStrategyKind} from './enums';
3
+ import {FindingOutcome} from './enums/finding.outcome';
3
4
  import {WorkflowStepKind} from './enums/workflowStep.kind';
4
5
  import {WorkflowTriggerKind} from './enums/workflowTrigger.kind';
5
6
 
@@ -8,7 +9,7 @@ export type WorflowStepDescriptor = {
8
9
  kind: WorkflowStepKind;
9
10
  /** Optional default values to be used of no other is provided */
10
11
  defaults?: {
11
- [propName: string]: string | number | boolean;
12
+ [propName: string]: string | number | boolean | FindingOutcome;
12
13
  };
13
14
  };
14
15