@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.
- package/cjs/lib/entity/vas-job-action.dto.d.ts +13 -6
- package/cjs/lib/entity/vas-job-action.dto.d.ts.map +1 -1
- package/cjs/lib/entity/vas-job-action.dto.js +8 -4
- package/cjs/lib/entity/vas-job-action.dto.js.map +1 -1
- package/cjs/package.json +5 -0
- package/fesm2022/ironcode-vas-lib.mjs +6 -3
- package/fesm2022/ironcode-vas-lib.mjs.map +1 -1
- package/lib/entity/vas-job-action.dto.d.ts +13 -6
- package/package.json +1 -1
|
@@ -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
|
-
*
|
|
60
|
+
* NotePrompt step allows us to prompt the user for a note
|
|
61
61
|
*/
|
|
62
|
-
export interface
|
|
63
|
-
type: '
|
|
64
|
-
value: string;
|
|
62
|
+
export interface VasJobActionNotePromptStepDto extends VasJobActionStepDto {
|
|
63
|
+
type: 'note-prompt';
|
|
65
64
|
}
|
|
66
|
-
export declare const
|
|
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
|
*/
|