@ironcode/vas-lib 1.12.0 → 1.13.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,7 +1,7 @@
1
1
  export declare type VasJobActionStepStage = 'initializing' | 'running' | 'succeeded' | 'failed';
2
2
  export interface VasJobActionStepDto {
3
3
  id: string;
4
- type: 'automation' | 'controls' | 'email-form' | 'instruction' | 'set-datetime' | 'set-job-status' | 'set-value';
4
+ type: 'automation' | 'controls' | 'email-form' | 'instruction' | 'note-prompt' | 'set-datetime' | 'set-job-status' | 'set-value';
5
5
  stage: VasJobActionStepStage;
6
6
  }
7
7
  /**
@@ -57,13 +57,12 @@ export interface VasJobActionInstructionStepDto extends VasJobActionStepDto {
57
57
  linkControl: string;
58
58
  }
59
59
  /**
60
- * SetJobStatus step allow us set the job status to some value
60
+ * NotePrompt step allows us to prompt the user for a note
61
61
  */
62
- export interface VasJobActionSetJobStatusStepDto extends VasJobActionStepDto {
63
- type: 'set-job-status';
64
- value: string;
62
+ export interface VasJobActionNotePromptStepDto extends VasJobActionStepDto {
63
+ type: 'note-prompt';
65
64
  }
66
- export declare const isJobSetJobStatusStep: (step: VasJobActionStepDto) => step is VasJobActionSetJobStatusStepDto;
65
+ export declare const isJobNotePromptStep: (step: VasJobActionStepDto) => step is VasJobActionNotePromptStepDto;
67
66
  /**
68
67
  * SetDatetime step allow us set the value of a datetime control
69
68
  */
@@ -73,6 +72,14 @@ export interface VasJobActionSetDatetimeStepDto extends VasJobActionStepDto {
73
72
  controlName: string;
74
73
  }
75
74
  export declare const isJobSetDatetimeStep: (step: VasJobActionStepDto) => step is VasJobActionSetDatetimeStepDto;
75
+ /**
76
+ * SetJobStatus step allow us set the job status to some value
77
+ */
78
+ export interface VasJobActionSetJobStatusStepDto extends VasJobActionStepDto {
79
+ type: 'set-job-status';
80
+ value: string;
81
+ }
82
+ export declare const isJobSetJobStatusStep: (step: VasJobActionStepDto) => step is VasJobActionSetJobStatusStepDto;
76
83
  /**
77
84
  * SetValue step allow us set the value of any control with a hardcoded value
78
85
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironcode/vas-lib",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "peerDependencies": {
5
5
  "angular2-uuid": "^1.1.1",
6
6
  "moment": "^2.0.0"