@d19n/youfibre-odin-sdk 2.0.188 → 2.0.189
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/README.md +15 -18
- package/dist/actions-v2/CreateSsraDto.d.ts +303 -0
- package/dist/actions-v2/CreateSsraDto.js +58 -0
- package/dist/actions-v2/MoveInspectionWorkOrderToInProgressSubstantialDto.d.ts +57 -229
- package/dist/actions-v2/MoveInspectionWorkOrderToInProgressSubstantialDto.js +2 -6
- package/dist/actions-v2/MoveInstallWorkOrderToInProgressSubstantialDto.d.ts +57 -229
- package/dist/actions-v2/MoveInstallWorkOrderToInProgressSubstantialDto.js +2 -6
- package/dist/actions-v2/MovePrePullWorkOrderToInProgressSubstantialDto.d.ts +57 -229
- package/dist/actions-v2/MovePrePullWorkOrderToInProgressSubstantialDto.js +2 -6
- package/dist/actions-v2/MoveRemediationWorkOrderToInProgressSubstantialDto.d.ts +57 -229
- package/dist/actions-v2/MoveRemediationWorkOrderToInProgressSubstantialDto.js +2 -6
- package/dist/actions-v2/MoveServiceWorkOrderToInProgressDto.d.ts +335 -3
- package/dist/actions-v2/MoveServiceWorkOrderToInProgressDto.js +64 -2
- package/dist/actions-v2/MoveServiceWorkOrderToInProgressSubstantialDto.d.ts +57 -229
- package/dist/actions-v2/MoveServiceWorkOrderToInProgressSubstantialDto.js +2 -6
- package/dist/actions-v2/MoveServiceWorkOrderToInProgressSupplierDto.d.ts +335 -3
- package/dist/actions-v2/MoveServiceWorkOrderToInProgressSupplierDto.js +64 -2
- package/dist/actions-v2/UpdateSsraDto.d.ts +56 -228
- package/dist/actions-v2/UpdateSsraDto.js +0 -4
- package/dist/entities-v2/Order.d.ts +7 -0
- package/dist/entities-v2/Order.js +2 -0
- package/dist/entities-v2/SiteSpecificRiskAssessmentOutcomeForm.d.ts +183 -0
- package/dist/entities-v2/SiteSpecificRiskAssessmentOutcomeForm.js +89 -1
- package/dist/records-v2/SiteSpecificRiskAssessmentOutcomeFormRecord.d.ts +3 -3
- package/dist/records-v2/SiteSpecificRiskAssessmentOutcomeFormRecord.js +3 -3
- package/dist/records-v2/WorkOrderRecord.d.ts +138 -16
- package/dist/records-v2/WorkOrderRecord.js +223 -24
- package/dist/records-v2/index.d.ts +1 -1
- package/dist/records-v2/index.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -352,7 +352,7 @@ This SDK includes **164** entities across **12** modules.
|
|
|
352
352
|
|
|
353
353
|
## Actions
|
|
354
354
|
|
|
355
|
-
This SDK includes **
|
|
355
|
+
This SDK includes **680** actions.
|
|
356
356
|
|
|
357
357
|
### Action Types
|
|
358
358
|
|
|
@@ -560,8 +560,6 @@ This SDK includes **679** actions.
|
|
|
560
560
|
| `MoveServiceWorkOrderToCancelled` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderToCancelled |
|
|
561
561
|
| `MoveServiceWorkOrderToEnRoute` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderToEnRoute |
|
|
562
562
|
| `MoveServiceWorkOrderToEnRouteSupplier` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderToEnRouteSupplier |
|
|
563
|
-
| `MoveServiceWorkOrderToInProgress` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderToInProgress |
|
|
564
|
-
| `MoveServiceWorkOrderToInProgressSupplier` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderToInProgressSupplier |
|
|
565
563
|
| `MoveServiceWorkOrderToRemediationSupplier` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderToRemediationSupplier |
|
|
566
564
|
| `MoveWayleaveWorkOrderToAwaitingPtd` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveWayleaveWorkOrderToAwaitingPtd |
|
|
567
565
|
| `MoveWayleaveWorkOrderToCancelled` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveWayleaveWorkOrderToCancelled |
|
|
@@ -754,10 +752,6 @@ This SDK includes **679** actions.
|
|
|
754
752
|
|
|
755
753
|
**MoveServiceWorkOrderToEnRouteSupplier Target Stages:** `WorkOrderStageEnRoute`
|
|
756
754
|
|
|
757
|
-
**MoveServiceWorkOrderToInProgress Target Stages:** `WorkOrderStageInProgress`
|
|
758
|
-
|
|
759
|
-
**MoveServiceWorkOrderToInProgressSupplier Target Stages:** `WorkOrderStageInProgress`
|
|
760
|
-
|
|
761
755
|
**MoveServiceWorkOrderToRemediationSupplier Target Stages:** `WorkOrderRemediationRequired`
|
|
762
756
|
|
|
763
757
|
**MoveWayleaveWorkOrderToAwaitingPtd Target Stages:** `WayleavePipelineStageAwaitingPtd`
|
|
@@ -1827,6 +1821,20 @@ This SDK includes **679** actions.
|
|
|
1827
1821
|
| `CreateService` | CREATE | k1.t-hEOJjsDb.ServiceModule.Service.Create.CreateService |
|
|
1828
1822
|
| `UpdateService` | UPDATE | k1.t-hEOJjsDb.ServiceModule.Service.Update.UpdateService |
|
|
1829
1823
|
|
|
1824
|
+
#### SiteSpecificRiskAssessmentOutcomeForm
|
|
1825
|
+
|
|
1826
|
+
| Action | Type | Event |
|
|
1827
|
+
|--------|------|-------|
|
|
1828
|
+
| `CreateSsra` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1829
|
+
| `MoveInspectionWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1830
|
+
| `MoveInstallWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1831
|
+
| `MovePrePullWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1832
|
+
| `MoveRemediationWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1833
|
+
| `MoveServiceWorkOrderToInProgress` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1834
|
+
| `MoveServiceWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1835
|
+
| `MoveServiceWorkOrderToInProgressSupplier` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1836
|
+
| `UpdateSsra` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Update.UpdateSsra |
|
|
1837
|
+
|
|
1830
1838
|
#### Team
|
|
1831
1839
|
|
|
1832
1840
|
| Action | Type | Event |
|
|
@@ -1929,17 +1937,6 @@ This SDK includes **679** actions.
|
|
|
1929
1937
|
| `KnowledgeArticleReleaseNoteCreate` | CREATE | k1.t-hEOJjsDb.SupportModule.KnowledgeArticle.Create.KnowledgeArticleReleaseNoteCreate |
|
|
1930
1938
|
| `KnowledgeArticleUserGuideCreate` | CREATE | k1.t-hEOJjsDb.SupportModule.KnowledgeArticle.Create.KnowledgeArticleUserGuideCreate |
|
|
1931
1939
|
|
|
1932
|
-
#### SiteSpecificRiskAssessmentOutcomeForm
|
|
1933
|
-
|
|
1934
|
-
| Action | Type | Event |
|
|
1935
|
-
|--------|------|-------|
|
|
1936
|
-
| `MoveInspectionWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1937
|
-
| `MoveInstallWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1938
|
-
| `MovePrePullWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1939
|
-
| `MoveRemediationWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1940
|
-
| `MoveServiceWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1941
|
-
| `UpdateSsra` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Update.UpdateSsra |
|
|
1942
|
-
|
|
1943
1940
|
#### Outage
|
|
1944
1941
|
|
|
1945
1942
|
| Action | Type | Event |
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CreateSsra Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Create Ssra
|
|
5
|
+
*
|
|
6
|
+
* @module FieldServiceModule
|
|
7
|
+
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
8
|
+
* @actionKey CreateSsra
|
|
9
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
/**
|
|
15
|
+
* RabbitMQ message payload for CreateSsra created events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateSsraMessage extends OdinRecordCreatedEvent<CreateSsraDto, CreateSsraProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for CreateSsra action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 20
|
|
25
|
+
* @property Optional fields: 10
|
|
26
|
+
*/
|
|
27
|
+
export interface CreateSsraProperties {
|
|
28
|
+
/**
|
|
29
|
+
* FitAndWellToCompleteJob
|
|
30
|
+
*
|
|
31
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
32
|
+
* @type {ENUM}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
FitAndWellToCompleteJob: string;
|
|
36
|
+
/**
|
|
37
|
+
* CorrectPpe
|
|
38
|
+
*
|
|
39
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
40
|
+
* @type {ENUM}
|
|
41
|
+
* @required
|
|
42
|
+
*/
|
|
43
|
+
CorrectPpe: string;
|
|
44
|
+
/**
|
|
45
|
+
* AnyOtherIndividualsOnTheSite
|
|
46
|
+
*
|
|
47
|
+
* Reference identifier for SiteSpecificRiskAssessmentOutcomeForm relationships. Used for data integrity.
|
|
48
|
+
* @type {ENUM}
|
|
49
|
+
* @required
|
|
50
|
+
*/
|
|
51
|
+
AnyOtherIndividualsOnTheSite: string;
|
|
52
|
+
/**
|
|
53
|
+
* OtherIndividualsNames
|
|
54
|
+
*
|
|
55
|
+
* Reference identifier for SiteSpecificRiskAssessmentOutcomeForm relationships. Used for data integrity.
|
|
56
|
+
* @type {TEXT_LONG}
|
|
57
|
+
* @required
|
|
58
|
+
* @visibleWhen AnyOtherIndividualsOnTheSite = ["YES"]
|
|
59
|
+
*/
|
|
60
|
+
OtherIndividualsNames: string;
|
|
61
|
+
/**
|
|
62
|
+
* AccessToRiskAssessmentAndSafeSystemOfWork
|
|
63
|
+
*
|
|
64
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
65
|
+
* @type {ENUM}
|
|
66
|
+
* @required
|
|
67
|
+
*/
|
|
68
|
+
AccessToRiskAssessmentAndSafeSystemOfWork: string;
|
|
69
|
+
/**
|
|
70
|
+
* PeoplesafeActivated
|
|
71
|
+
*
|
|
72
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
73
|
+
* @type {ENUM}
|
|
74
|
+
* @required
|
|
75
|
+
*/
|
|
76
|
+
PeoplesafeActivated: string;
|
|
77
|
+
/**
|
|
78
|
+
* AnimalsAndPetsLockedAway
|
|
79
|
+
*
|
|
80
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
81
|
+
* @type {ENUM}
|
|
82
|
+
* @required
|
|
83
|
+
*/
|
|
84
|
+
AnimalsAndPetsLockedAway: string;
|
|
85
|
+
/**
|
|
86
|
+
* WorkAreaFreeFromHazards
|
|
87
|
+
*
|
|
88
|
+
* Is the work area and access route free from slip, trip and obstruction hazards (e.g., loose rugs, clutter, wet floors, cables)?
|
|
89
|
+
* @type {ENUM}
|
|
90
|
+
* @required
|
|
91
|
+
*/
|
|
92
|
+
WorkAreaFreeFromHazards: string;
|
|
93
|
+
/**
|
|
94
|
+
* CompletingDrillingWithinProperty
|
|
95
|
+
*
|
|
96
|
+
* Are you completing any drilling within the property?
|
|
97
|
+
* @type {ENUM}
|
|
98
|
+
* @required
|
|
99
|
+
*/
|
|
100
|
+
CompletingDrillingWithinProperty: string;
|
|
101
|
+
/**
|
|
102
|
+
* SafetyGlassesEarDefendersDustMaskAvailable
|
|
103
|
+
*
|
|
104
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
105
|
+
* @type {ENUM}
|
|
106
|
+
* @required
|
|
107
|
+
* @visibleWhen CompletingDrillingWithinProperty = ["YES"]
|
|
108
|
+
*/
|
|
109
|
+
SafetyGlassesEarDefendersDustMaskAvailable: string;
|
|
110
|
+
/**
|
|
111
|
+
* DrillConfirmationOntMountPhoto
|
|
112
|
+
*
|
|
113
|
+
* Please add image (Field Operations - SiteSpecificRiskAssessmentOutcomeForm)
|
|
114
|
+
* @type {FILE_MULTIPLE}
|
|
115
|
+
* @required
|
|
116
|
+
* @visibleWhen CompletingDrillingWithinProperty = ["YES"]
|
|
117
|
+
*/
|
|
118
|
+
DrillConfirmationOntMountPhoto: string;
|
|
119
|
+
/**
|
|
120
|
+
* DrillConfirmationDrillOutPhoto
|
|
121
|
+
*
|
|
122
|
+
* Please add image (Field Operations - SiteSpecificRiskAssessmentOutcomeForm)
|
|
123
|
+
* @type {FILE_MULTIPLE}
|
|
124
|
+
* @required
|
|
125
|
+
* @visibleWhen CompletingDrillingWithinProperty = ["YES"]
|
|
126
|
+
*/
|
|
127
|
+
DrillConfirmationDrillOutPhoto: string;
|
|
128
|
+
/**
|
|
129
|
+
* AreLaddersBeingUsed
|
|
130
|
+
*
|
|
131
|
+
* Are ladders being used?
|
|
132
|
+
* @type {ENUM}
|
|
133
|
+
* @required
|
|
134
|
+
*/
|
|
135
|
+
AreLaddersBeingUsed: string;
|
|
136
|
+
/**
|
|
137
|
+
* LadderPreUseCheckSafe
|
|
138
|
+
*
|
|
139
|
+
* Complete a pre-use check of ladders, are they safe and free from defects?
|
|
140
|
+
* @type {ENUM}
|
|
141
|
+
* @required
|
|
142
|
+
* @visibleWhen AreLaddersBeingUsed = ["YES"]
|
|
143
|
+
*/
|
|
144
|
+
LadderPreUseCheckSafe: string;
|
|
145
|
+
/**
|
|
146
|
+
* EquipmentDefects
|
|
147
|
+
*
|
|
148
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
149
|
+
* @type {ENUM}
|
|
150
|
+
* @required
|
|
151
|
+
*/
|
|
152
|
+
EquipmentDefects: string;
|
|
153
|
+
/**
|
|
154
|
+
* AreThereAnyAdditionalHazards
|
|
155
|
+
*
|
|
156
|
+
* Are there any additional hazards?
|
|
157
|
+
* @type {ENUM}
|
|
158
|
+
* @required
|
|
159
|
+
*/
|
|
160
|
+
AreThereAnyAdditionalHazards: string;
|
|
161
|
+
/**
|
|
162
|
+
* AdditionalControlsOnSite
|
|
163
|
+
*
|
|
164
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
165
|
+
* @type {TEXT_LONG}
|
|
166
|
+
* @required
|
|
167
|
+
* @visibleWhen AreThereAnyAdditionalHazards = ["YES"]
|
|
168
|
+
*/
|
|
169
|
+
AdditionalControlsOnSite: string;
|
|
170
|
+
/**
|
|
171
|
+
* AdditionalControlsOnSitePhoto
|
|
172
|
+
*
|
|
173
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
174
|
+
* @type {FILE_MULTIPLE}
|
|
175
|
+
* @required
|
|
176
|
+
* @visibleWhen AreThereAnyAdditionalHazards = ["YES"]
|
|
177
|
+
*/
|
|
178
|
+
AdditionalControlsOnSitePhoto: string;
|
|
179
|
+
/**
|
|
180
|
+
* ActivitySafe
|
|
181
|
+
*
|
|
182
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
183
|
+
* @type {ENUM}
|
|
184
|
+
* @required
|
|
185
|
+
*/
|
|
186
|
+
ActivitySafe: string;
|
|
187
|
+
/**
|
|
188
|
+
* ActivityUnsafeExplanation
|
|
189
|
+
*
|
|
190
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
191
|
+
* @type {TEXT_LONG}
|
|
192
|
+
* @required
|
|
193
|
+
* @visibleWhen ActivitySafe = ["UNSAFE"]
|
|
194
|
+
*/
|
|
195
|
+
ActivityUnsafeExplanation: string;
|
|
196
|
+
/**
|
|
197
|
+
* SsraStatement
|
|
198
|
+
*
|
|
199
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
200
|
+
* @type {TEXT}
|
|
201
|
+
*/
|
|
202
|
+
SsraStatement?: string | null;
|
|
203
|
+
/**
|
|
204
|
+
* FitnessAlert
|
|
205
|
+
*
|
|
206
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
207
|
+
* @type {TEXT}
|
|
208
|
+
* @visibleWhen FitAndWellToCompleteJob = ["NO"]
|
|
209
|
+
*/
|
|
210
|
+
FitnessAlert?: string | null;
|
|
211
|
+
/**
|
|
212
|
+
* PpeAlert
|
|
213
|
+
*
|
|
214
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
215
|
+
* @type {TEXT}
|
|
216
|
+
* @visibleWhen CorrectPpe = ["NO"]
|
|
217
|
+
*/
|
|
218
|
+
PpeAlert?: string | null;
|
|
219
|
+
/**
|
|
220
|
+
* RiskAssessmentAccessAlert
|
|
221
|
+
*
|
|
222
|
+
* Check in Compliance Corner now - contact your manager or SHEQ if you cannot access and do not proceed. https://substantialgroup.sharepoint.com/sites/SafetyPortal
|
|
223
|
+
* @type {TEXT}
|
|
224
|
+
* @visibleWhen AccessToRiskAssessmentAndSafeSystemOfWork = ["NO"]
|
|
225
|
+
*/
|
|
226
|
+
RiskAssessmentAccessAlert?: string | null;
|
|
227
|
+
/**
|
|
228
|
+
* PeoplesafeAlert
|
|
229
|
+
*
|
|
230
|
+
* Sign in and activate the Peoplesafe app, contact your manager if you cannot access or set up.
|
|
231
|
+
* @type {TEXT}
|
|
232
|
+
* @visibleWhen PeoplesafeActivated = ["NO"]
|
|
233
|
+
*/
|
|
234
|
+
PeoplesafeAlert?: string | null;
|
|
235
|
+
/**
|
|
236
|
+
* AnimalsAndPetsAlert
|
|
237
|
+
*
|
|
238
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
239
|
+
* @type {TEXT}
|
|
240
|
+
* @visibleWhen AnimalsAndPetsLockedAway = ["NO"]
|
|
241
|
+
*/
|
|
242
|
+
AnimalsAndPetsAlert?: string | null;
|
|
243
|
+
/**
|
|
244
|
+
* WorkAreaHazardsAlert
|
|
245
|
+
*
|
|
246
|
+
* If routes cannot be cleared or made safe, notify the customer and do not proceed. Contact your manager.
|
|
247
|
+
* @type {TEXT}
|
|
248
|
+
* @visibleWhen WorkAreaFreeFromHazards = ["NO"]
|
|
249
|
+
*/
|
|
250
|
+
WorkAreaHazardsAlert?: string | null;
|
|
251
|
+
/**
|
|
252
|
+
* LadderDefectAlert
|
|
253
|
+
*
|
|
254
|
+
* Do not proceed, contact your manager and do not continue work.
|
|
255
|
+
* @type {TEXT}
|
|
256
|
+
* @visibleWhen LadderPreUseCheckSafe = ["NO"]
|
|
257
|
+
*/
|
|
258
|
+
LadderDefectAlert?: string | null;
|
|
259
|
+
/**
|
|
260
|
+
* EquipmentDefectiveAlert
|
|
261
|
+
*
|
|
262
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
263
|
+
* @type {TEXT}
|
|
264
|
+
* @visibleWhen EquipmentDefects = ["DEFECTIVE"]
|
|
265
|
+
*/
|
|
266
|
+
EquipmentDefectiveAlert?: string | null;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* CreateSsra
|
|
270
|
+
*
|
|
271
|
+
* Create Ssra
|
|
272
|
+
*
|
|
273
|
+
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
274
|
+
* @module FieldServiceModule
|
|
275
|
+
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
276
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
277
|
+
* @permission schema.action.createssra.trigger
|
|
278
|
+
* @category LIFECYCLE
|
|
279
|
+
* @riskLevel MEDIUM
|
|
280
|
+
* @decisionTier TACTICAL
|
|
281
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
282
|
+
* @benchmarkTags entity:sitespecificriskassessmentoutcomeform, entity-type:outcome_form, field-operations, record-creation, sitespecificriskassessmentoutcomeform
|
|
283
|
+
*/
|
|
284
|
+
export declare class CreateSsraDto extends OdinRecordCreateDto<CreateSsraProperties> {
|
|
285
|
+
/** Used by SDK generators to identify action type */
|
|
286
|
+
static readonly ACTION_TYPE = "CREATE";
|
|
287
|
+
static readonly ACTION_KEY = "CreateSsra";
|
|
288
|
+
static readonly MODULE_NAME = "FieldServiceModule";
|
|
289
|
+
static readonly ENTITIES: string[];
|
|
290
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra";
|
|
291
|
+
static readonly PERMISSION = "schema.action.createssra.trigger";
|
|
292
|
+
/** Step metadata - entity this action targets */
|
|
293
|
+
static readonly STEP_ENTITY = "FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm";
|
|
294
|
+
static readonly STEP_SCHEMA_ID = "6a07d40c-6612-4a0c-87e9-609afa4cf6e5";
|
|
295
|
+
static readonly STEP_SCHEMA_ACTION_ID = "5809929f-e204-497b-afb7-22de6e6a7e82";
|
|
296
|
+
static readonly AUTO_LINK_PARENT = true;
|
|
297
|
+
readonly actionName: string;
|
|
298
|
+
readonly schemaActionId: string;
|
|
299
|
+
readonly entity: string;
|
|
300
|
+
constructor(properties: CreateSsraProperties, options?: {
|
|
301
|
+
journeyId?: string;
|
|
302
|
+
});
|
|
303
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* CreateSsra Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Create Ssra
|
|
6
|
+
*
|
|
7
|
+
* @module FieldServiceModule
|
|
8
|
+
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
9
|
+
* @actionKey CreateSsra
|
|
10
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.CreateSsraDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* CreateSsra
|
|
19
|
+
*
|
|
20
|
+
* Create Ssra
|
|
21
|
+
*
|
|
22
|
+
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
23
|
+
* @module FieldServiceModule
|
|
24
|
+
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
25
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
26
|
+
* @permission schema.action.createssra.trigger
|
|
27
|
+
* @category LIFECYCLE
|
|
28
|
+
* @riskLevel MEDIUM
|
|
29
|
+
* @decisionTier TACTICAL
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
* @benchmarkTags entity:sitespecificriskassessmentoutcomeform, entity-type:outcome_form, field-operations, record-creation, sitespecificriskassessmentoutcomeform
|
|
32
|
+
*/
|
|
33
|
+
class CreateSsraDto extends core_1.OdinRecordCreateDto {
|
|
34
|
+
constructor(properties, options) {
|
|
35
|
+
super({
|
|
36
|
+
entity: 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm',
|
|
37
|
+
type: undefined,
|
|
38
|
+
properties,
|
|
39
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
40
|
+
});
|
|
41
|
+
this.actionName = 'CreateSsra';
|
|
42
|
+
this.schemaActionId = '5809929f-e204-497b-afb7-22de6e6a7e82';
|
|
43
|
+
this.entity = 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm';
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CreateSsraDto = CreateSsraDto;
|
|
47
|
+
/** Used by SDK generators to identify action type */
|
|
48
|
+
CreateSsraDto.ACTION_TYPE = 'CREATE';
|
|
49
|
+
CreateSsraDto.ACTION_KEY = 'CreateSsra';
|
|
50
|
+
CreateSsraDto.MODULE_NAME = 'FieldServiceModule';
|
|
51
|
+
CreateSsraDto.ENTITIES = ['SiteSpecificRiskAssessmentOutcomeForm'];
|
|
52
|
+
CreateSsraDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra';
|
|
53
|
+
CreateSsraDto.PERMISSION = 'schema.action.createssra.trigger';
|
|
54
|
+
/** Step metadata - entity this action targets */
|
|
55
|
+
CreateSsraDto.STEP_ENTITY = 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm';
|
|
56
|
+
CreateSsraDto.STEP_SCHEMA_ID = '6a07d40c-6612-4a0c-87e9-609afa4cf6e5';
|
|
57
|
+
CreateSsraDto.STEP_SCHEMA_ACTION_ID = '5809929f-e204-497b-afb7-22de6e6a7e82';
|
|
58
|
+
CreateSsraDto.AUTO_LINK_PARENT = true;
|