@d19n/youfibre-odin-sdk 2.0.182 → 2.0.183
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/dist/actions-v2/CreateSsraDto.d.ts +47 -2
- package/dist/actions-v2/MoveInspectionWorkOrderToInProgressSubstantialDto.d.ts +47 -2
- package/dist/actions-v2/MoveInstallWorkOrderToInProgressSubstantialDto.d.ts +47 -2
- package/dist/actions-v2/MovePrePullWorkOrderToInProgressSubstantialDto.d.ts +47 -2
- package/dist/actions-v2/MoveRemediationWorkOrderToInProgressSubstantialDto.d.ts +47 -2
- package/dist/actions-v2/MoveServiceWorkOrderToInProgressDto.d.ts +47 -2
- package/dist/actions-v2/MoveServiceWorkOrderToInProgressSubstantialDto.d.ts +47 -2
- package/dist/actions-v2/MoveServiceWorkOrderToInProgressSupplierDto.d.ts +47 -2
- package/dist/actions-v2/UpdateSsraDto.d.ts +47 -2
- package/dist/entities-v2/SiteSpecificRiskAssessmentOutcomeForm.d.ts +120 -28
- package/dist/entities-v2/SiteSpecificRiskAssessmentOutcomeForm.js +47 -17
- package/dist/wholesale-provider/interface.d.ts +51 -0
- package/dist/wholesale-provider/providers/netomnia-provider.d.ts +3 -1
- package/dist/wholesale-provider/providers/netomnia-provider.js +3 -0
- package/dist/wholesale-provider/test/netomnia-provider.spec.js +28 -0
- package/package.json +1 -1
|
@@ -19,8 +19,8 @@ export interface CreateSsraMessage extends OdinRecordCreatedEvent<CreateSsraDto,
|
|
|
19
19
|
/**
|
|
20
20
|
* Properties for CreateSsra action
|
|
21
21
|
*
|
|
22
|
-
* @property Required fields:
|
|
23
|
-
* @property Optional fields:
|
|
22
|
+
* @property Required fields: 20
|
|
23
|
+
* @property Optional fields: 9
|
|
24
24
|
*/
|
|
25
25
|
export interface CreateSsraProperties {
|
|
26
26
|
/**
|
|
@@ -119,6 +119,19 @@ export interface CreateSsraProperties {
|
|
|
119
119
|
* @visibleWhen CompletingDrillingWithinProperty = ["YES"]
|
|
120
120
|
*/
|
|
121
121
|
DrillConfirmationDrillOutPhoto: string;
|
|
122
|
+
/**
|
|
123
|
+
* AreLaddersBeingUsed
|
|
124
|
+
* @type {ENUM}
|
|
125
|
+
* @required
|
|
126
|
+
*/
|
|
127
|
+
AreLaddersBeingUsed: string;
|
|
128
|
+
/**
|
|
129
|
+
* LadderPreUseCheckSafe
|
|
130
|
+
* @type {ENUM}
|
|
131
|
+
* @required
|
|
132
|
+
* @visibleWhen AreLaddersBeingUsed = ["YES"]
|
|
133
|
+
*/
|
|
134
|
+
LadderPreUseCheckSafe: string;
|
|
122
135
|
/**
|
|
123
136
|
* EquipmentDefects
|
|
124
137
|
*
|
|
@@ -191,6 +204,38 @@ export interface CreateSsraProperties {
|
|
|
191
204
|
* @visibleWhen CorrectPpe = ["NO"]
|
|
192
205
|
*/
|
|
193
206
|
PpeAlert?: string | null;
|
|
207
|
+
/**
|
|
208
|
+
* RiskAssessmentAccessAlert
|
|
209
|
+
* @type {TEXT}
|
|
210
|
+
* @visibleWhen AccessToRiskAssessmentAndSafeSystemOfWork = ["NO"]
|
|
211
|
+
*/
|
|
212
|
+
RiskAssessmentAccessAlert?: string | null;
|
|
213
|
+
/**
|
|
214
|
+
* PeoplesafeAlert
|
|
215
|
+
* @type {TEXT}
|
|
216
|
+
* @visibleWhen PeoplesafeActivated = ["NO"]
|
|
217
|
+
*/
|
|
218
|
+
PeoplesafeAlert?: string | null;
|
|
219
|
+
/**
|
|
220
|
+
* AnimalsAndPetsAlert
|
|
221
|
+
*
|
|
222
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
223
|
+
* @type {TEXT}
|
|
224
|
+
* @visibleWhen AnimalsAndPetsLockedAway = ["NO"]
|
|
225
|
+
*/
|
|
226
|
+
AnimalsAndPetsAlert?: string | null;
|
|
227
|
+
/**
|
|
228
|
+
* WorkAreaHazardsAlert
|
|
229
|
+
* @type {TEXT}
|
|
230
|
+
* @visibleWhen WorkAreaFreeFromHazards = ["NO"]
|
|
231
|
+
*/
|
|
232
|
+
WorkAreaHazardsAlert?: string | null;
|
|
233
|
+
/**
|
|
234
|
+
* LadderDefectAlert
|
|
235
|
+
* @type {TEXT}
|
|
236
|
+
* @visibleWhen LadderPreUseCheckSafe = ["NO"]
|
|
237
|
+
*/
|
|
238
|
+
LadderDefectAlert?: string | null;
|
|
194
239
|
/**
|
|
195
240
|
* EquipmentDefectiveAlert
|
|
196
241
|
*
|
|
@@ -15,8 +15,8 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
15
15
|
/**
|
|
16
16
|
* Properties for CreateSsra action
|
|
17
17
|
*
|
|
18
|
-
* @property Required fields:
|
|
19
|
-
* @property Optional fields:
|
|
18
|
+
* @property Required fields: 20
|
|
19
|
+
* @property Optional fields: 9
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateSsraProperties {
|
|
22
22
|
/**
|
|
@@ -115,6 +115,19 @@ export interface CreateSsraProperties {
|
|
|
115
115
|
* @visibleWhen CompletingDrillingWithinProperty = ["YES"]
|
|
116
116
|
*/
|
|
117
117
|
DrillConfirmationDrillOutPhoto: string;
|
|
118
|
+
/**
|
|
119
|
+
* AreLaddersBeingUsed
|
|
120
|
+
* @type {ENUM}
|
|
121
|
+
* @required
|
|
122
|
+
*/
|
|
123
|
+
AreLaddersBeingUsed: string;
|
|
124
|
+
/**
|
|
125
|
+
* LadderPreUseCheckSafe
|
|
126
|
+
* @type {ENUM}
|
|
127
|
+
* @required
|
|
128
|
+
* @visibleWhen AreLaddersBeingUsed = ["YES"]
|
|
129
|
+
*/
|
|
130
|
+
LadderPreUseCheckSafe: string;
|
|
118
131
|
/**
|
|
119
132
|
* EquipmentDefects
|
|
120
133
|
*
|
|
@@ -187,6 +200,38 @@ export interface CreateSsraProperties {
|
|
|
187
200
|
* @visibleWhen CorrectPpe = ["NO"]
|
|
188
201
|
*/
|
|
189
202
|
PpeAlert?: string | null;
|
|
203
|
+
/**
|
|
204
|
+
* RiskAssessmentAccessAlert
|
|
205
|
+
* @type {TEXT}
|
|
206
|
+
* @visibleWhen AccessToRiskAssessmentAndSafeSystemOfWork = ["NO"]
|
|
207
|
+
*/
|
|
208
|
+
RiskAssessmentAccessAlert?: string | null;
|
|
209
|
+
/**
|
|
210
|
+
* PeoplesafeAlert
|
|
211
|
+
* @type {TEXT}
|
|
212
|
+
* @visibleWhen PeoplesafeActivated = ["NO"]
|
|
213
|
+
*/
|
|
214
|
+
PeoplesafeAlert?: string | null;
|
|
215
|
+
/**
|
|
216
|
+
* AnimalsAndPetsAlert
|
|
217
|
+
*
|
|
218
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
219
|
+
* @type {TEXT}
|
|
220
|
+
* @visibleWhen AnimalsAndPetsLockedAway = ["NO"]
|
|
221
|
+
*/
|
|
222
|
+
AnimalsAndPetsAlert?: string | null;
|
|
223
|
+
/**
|
|
224
|
+
* WorkAreaHazardsAlert
|
|
225
|
+
* @type {TEXT}
|
|
226
|
+
* @visibleWhen WorkAreaFreeFromHazards = ["NO"]
|
|
227
|
+
*/
|
|
228
|
+
WorkAreaHazardsAlert?: string | null;
|
|
229
|
+
/**
|
|
230
|
+
* LadderDefectAlert
|
|
231
|
+
* @type {TEXT}
|
|
232
|
+
* @visibleWhen LadderPreUseCheckSafe = ["NO"]
|
|
233
|
+
*/
|
|
234
|
+
LadderDefectAlert?: string | null;
|
|
190
235
|
/**
|
|
191
236
|
* EquipmentDefectiveAlert
|
|
192
237
|
*
|
|
@@ -15,8 +15,8 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
15
15
|
/**
|
|
16
16
|
* Properties for CreateSsra action
|
|
17
17
|
*
|
|
18
|
-
* @property Required fields:
|
|
19
|
-
* @property Optional fields:
|
|
18
|
+
* @property Required fields: 20
|
|
19
|
+
* @property Optional fields: 9
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateSsraProperties {
|
|
22
22
|
/**
|
|
@@ -115,6 +115,19 @@ export interface CreateSsraProperties {
|
|
|
115
115
|
* @visibleWhen CompletingDrillingWithinProperty = ["YES"]
|
|
116
116
|
*/
|
|
117
117
|
DrillConfirmationDrillOutPhoto: string;
|
|
118
|
+
/**
|
|
119
|
+
* AreLaddersBeingUsed
|
|
120
|
+
* @type {ENUM}
|
|
121
|
+
* @required
|
|
122
|
+
*/
|
|
123
|
+
AreLaddersBeingUsed: string;
|
|
124
|
+
/**
|
|
125
|
+
* LadderPreUseCheckSafe
|
|
126
|
+
* @type {ENUM}
|
|
127
|
+
* @required
|
|
128
|
+
* @visibleWhen AreLaddersBeingUsed = ["YES"]
|
|
129
|
+
*/
|
|
130
|
+
LadderPreUseCheckSafe: string;
|
|
118
131
|
/**
|
|
119
132
|
* EquipmentDefects
|
|
120
133
|
*
|
|
@@ -187,6 +200,38 @@ export interface CreateSsraProperties {
|
|
|
187
200
|
* @visibleWhen CorrectPpe = ["NO"]
|
|
188
201
|
*/
|
|
189
202
|
PpeAlert?: string | null;
|
|
203
|
+
/**
|
|
204
|
+
* RiskAssessmentAccessAlert
|
|
205
|
+
* @type {TEXT}
|
|
206
|
+
* @visibleWhen AccessToRiskAssessmentAndSafeSystemOfWork = ["NO"]
|
|
207
|
+
*/
|
|
208
|
+
RiskAssessmentAccessAlert?: string | null;
|
|
209
|
+
/**
|
|
210
|
+
* PeoplesafeAlert
|
|
211
|
+
* @type {TEXT}
|
|
212
|
+
* @visibleWhen PeoplesafeActivated = ["NO"]
|
|
213
|
+
*/
|
|
214
|
+
PeoplesafeAlert?: string | null;
|
|
215
|
+
/**
|
|
216
|
+
* AnimalsAndPetsAlert
|
|
217
|
+
*
|
|
218
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
219
|
+
* @type {TEXT}
|
|
220
|
+
* @visibleWhen AnimalsAndPetsLockedAway = ["NO"]
|
|
221
|
+
*/
|
|
222
|
+
AnimalsAndPetsAlert?: string | null;
|
|
223
|
+
/**
|
|
224
|
+
* WorkAreaHazardsAlert
|
|
225
|
+
* @type {TEXT}
|
|
226
|
+
* @visibleWhen WorkAreaFreeFromHazards = ["NO"]
|
|
227
|
+
*/
|
|
228
|
+
WorkAreaHazardsAlert?: string | null;
|
|
229
|
+
/**
|
|
230
|
+
* LadderDefectAlert
|
|
231
|
+
* @type {TEXT}
|
|
232
|
+
* @visibleWhen LadderPreUseCheckSafe = ["NO"]
|
|
233
|
+
*/
|
|
234
|
+
LadderDefectAlert?: string | null;
|
|
190
235
|
/**
|
|
191
236
|
* EquipmentDefectiveAlert
|
|
192
237
|
*
|
|
@@ -15,8 +15,8 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
15
15
|
/**
|
|
16
16
|
* Properties for CreateSsra action
|
|
17
17
|
*
|
|
18
|
-
* @property Required fields:
|
|
19
|
-
* @property Optional fields:
|
|
18
|
+
* @property Required fields: 20
|
|
19
|
+
* @property Optional fields: 9
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateSsraProperties {
|
|
22
22
|
/**
|
|
@@ -115,6 +115,19 @@ export interface CreateSsraProperties {
|
|
|
115
115
|
* @visibleWhen CompletingDrillingWithinProperty = ["YES"]
|
|
116
116
|
*/
|
|
117
117
|
DrillConfirmationDrillOutPhoto: string;
|
|
118
|
+
/**
|
|
119
|
+
* AreLaddersBeingUsed
|
|
120
|
+
* @type {ENUM}
|
|
121
|
+
* @required
|
|
122
|
+
*/
|
|
123
|
+
AreLaddersBeingUsed: string;
|
|
124
|
+
/**
|
|
125
|
+
* LadderPreUseCheckSafe
|
|
126
|
+
* @type {ENUM}
|
|
127
|
+
* @required
|
|
128
|
+
* @visibleWhen AreLaddersBeingUsed = ["YES"]
|
|
129
|
+
*/
|
|
130
|
+
LadderPreUseCheckSafe: string;
|
|
118
131
|
/**
|
|
119
132
|
* EquipmentDefects
|
|
120
133
|
*
|
|
@@ -187,6 +200,38 @@ export interface CreateSsraProperties {
|
|
|
187
200
|
* @visibleWhen CorrectPpe = ["NO"]
|
|
188
201
|
*/
|
|
189
202
|
PpeAlert?: string | null;
|
|
203
|
+
/**
|
|
204
|
+
* RiskAssessmentAccessAlert
|
|
205
|
+
* @type {TEXT}
|
|
206
|
+
* @visibleWhen AccessToRiskAssessmentAndSafeSystemOfWork = ["NO"]
|
|
207
|
+
*/
|
|
208
|
+
RiskAssessmentAccessAlert?: string | null;
|
|
209
|
+
/**
|
|
210
|
+
* PeoplesafeAlert
|
|
211
|
+
* @type {TEXT}
|
|
212
|
+
* @visibleWhen PeoplesafeActivated = ["NO"]
|
|
213
|
+
*/
|
|
214
|
+
PeoplesafeAlert?: string | null;
|
|
215
|
+
/**
|
|
216
|
+
* AnimalsAndPetsAlert
|
|
217
|
+
*
|
|
218
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
219
|
+
* @type {TEXT}
|
|
220
|
+
* @visibleWhen AnimalsAndPetsLockedAway = ["NO"]
|
|
221
|
+
*/
|
|
222
|
+
AnimalsAndPetsAlert?: string | null;
|
|
223
|
+
/**
|
|
224
|
+
* WorkAreaHazardsAlert
|
|
225
|
+
* @type {TEXT}
|
|
226
|
+
* @visibleWhen WorkAreaFreeFromHazards = ["NO"]
|
|
227
|
+
*/
|
|
228
|
+
WorkAreaHazardsAlert?: string | null;
|
|
229
|
+
/**
|
|
230
|
+
* LadderDefectAlert
|
|
231
|
+
* @type {TEXT}
|
|
232
|
+
* @visibleWhen LadderPreUseCheckSafe = ["NO"]
|
|
233
|
+
*/
|
|
234
|
+
LadderDefectAlert?: string | null;
|
|
190
235
|
/**
|
|
191
236
|
* EquipmentDefectiveAlert
|
|
192
237
|
*
|
|
@@ -15,8 +15,8 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
15
15
|
/**
|
|
16
16
|
* Properties for CreateSsra action
|
|
17
17
|
*
|
|
18
|
-
* @property Required fields:
|
|
19
|
-
* @property Optional fields:
|
|
18
|
+
* @property Required fields: 20
|
|
19
|
+
* @property Optional fields: 9
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateSsraProperties {
|
|
22
22
|
/**
|
|
@@ -115,6 +115,19 @@ export interface CreateSsraProperties {
|
|
|
115
115
|
* @visibleWhen CompletingDrillingWithinProperty = ["YES"]
|
|
116
116
|
*/
|
|
117
117
|
DrillConfirmationDrillOutPhoto: string;
|
|
118
|
+
/**
|
|
119
|
+
* AreLaddersBeingUsed
|
|
120
|
+
* @type {ENUM}
|
|
121
|
+
* @required
|
|
122
|
+
*/
|
|
123
|
+
AreLaddersBeingUsed: string;
|
|
124
|
+
/**
|
|
125
|
+
* LadderPreUseCheckSafe
|
|
126
|
+
* @type {ENUM}
|
|
127
|
+
* @required
|
|
128
|
+
* @visibleWhen AreLaddersBeingUsed = ["YES"]
|
|
129
|
+
*/
|
|
130
|
+
LadderPreUseCheckSafe: string;
|
|
118
131
|
/**
|
|
119
132
|
* EquipmentDefects
|
|
120
133
|
*
|
|
@@ -187,6 +200,38 @@ export interface CreateSsraProperties {
|
|
|
187
200
|
* @visibleWhen CorrectPpe = ["NO"]
|
|
188
201
|
*/
|
|
189
202
|
PpeAlert?: string | null;
|
|
203
|
+
/**
|
|
204
|
+
* RiskAssessmentAccessAlert
|
|
205
|
+
* @type {TEXT}
|
|
206
|
+
* @visibleWhen AccessToRiskAssessmentAndSafeSystemOfWork = ["NO"]
|
|
207
|
+
*/
|
|
208
|
+
RiskAssessmentAccessAlert?: string | null;
|
|
209
|
+
/**
|
|
210
|
+
* PeoplesafeAlert
|
|
211
|
+
* @type {TEXT}
|
|
212
|
+
* @visibleWhen PeoplesafeActivated = ["NO"]
|
|
213
|
+
*/
|
|
214
|
+
PeoplesafeAlert?: string | null;
|
|
215
|
+
/**
|
|
216
|
+
* AnimalsAndPetsAlert
|
|
217
|
+
*
|
|
218
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
219
|
+
* @type {TEXT}
|
|
220
|
+
* @visibleWhen AnimalsAndPetsLockedAway = ["NO"]
|
|
221
|
+
*/
|
|
222
|
+
AnimalsAndPetsAlert?: string | null;
|
|
223
|
+
/**
|
|
224
|
+
* WorkAreaHazardsAlert
|
|
225
|
+
* @type {TEXT}
|
|
226
|
+
* @visibleWhen WorkAreaFreeFromHazards = ["NO"]
|
|
227
|
+
*/
|
|
228
|
+
WorkAreaHazardsAlert?: string | null;
|
|
229
|
+
/**
|
|
230
|
+
* LadderDefectAlert
|
|
231
|
+
* @type {TEXT}
|
|
232
|
+
* @visibleWhen LadderPreUseCheckSafe = ["NO"]
|
|
233
|
+
*/
|
|
234
|
+
LadderDefectAlert?: string | null;
|
|
190
235
|
/**
|
|
191
236
|
* EquipmentDefectiveAlert
|
|
192
237
|
*
|
|
@@ -15,8 +15,8 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
15
15
|
/**
|
|
16
16
|
* Properties for CreateSsra action
|
|
17
17
|
*
|
|
18
|
-
* @property Required fields:
|
|
19
|
-
* @property Optional fields:
|
|
18
|
+
* @property Required fields: 20
|
|
19
|
+
* @property Optional fields: 9
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateSsraProperties {
|
|
22
22
|
/**
|
|
@@ -115,6 +115,19 @@ export interface CreateSsraProperties {
|
|
|
115
115
|
* @visibleWhen CompletingDrillingWithinProperty = ["YES"]
|
|
116
116
|
*/
|
|
117
117
|
DrillConfirmationDrillOutPhoto: string;
|
|
118
|
+
/**
|
|
119
|
+
* AreLaddersBeingUsed
|
|
120
|
+
* @type {ENUM}
|
|
121
|
+
* @required
|
|
122
|
+
*/
|
|
123
|
+
AreLaddersBeingUsed: string;
|
|
124
|
+
/**
|
|
125
|
+
* LadderPreUseCheckSafe
|
|
126
|
+
* @type {ENUM}
|
|
127
|
+
* @required
|
|
128
|
+
* @visibleWhen AreLaddersBeingUsed = ["YES"]
|
|
129
|
+
*/
|
|
130
|
+
LadderPreUseCheckSafe: string;
|
|
118
131
|
/**
|
|
119
132
|
* EquipmentDefects
|
|
120
133
|
*
|
|
@@ -187,6 +200,38 @@ export interface CreateSsraProperties {
|
|
|
187
200
|
* @visibleWhen CorrectPpe = ["NO"]
|
|
188
201
|
*/
|
|
189
202
|
PpeAlert?: string | null;
|
|
203
|
+
/**
|
|
204
|
+
* RiskAssessmentAccessAlert
|
|
205
|
+
* @type {TEXT}
|
|
206
|
+
* @visibleWhen AccessToRiskAssessmentAndSafeSystemOfWork = ["NO"]
|
|
207
|
+
*/
|
|
208
|
+
RiskAssessmentAccessAlert?: string | null;
|
|
209
|
+
/**
|
|
210
|
+
* PeoplesafeAlert
|
|
211
|
+
* @type {TEXT}
|
|
212
|
+
* @visibleWhen PeoplesafeActivated = ["NO"]
|
|
213
|
+
*/
|
|
214
|
+
PeoplesafeAlert?: string | null;
|
|
215
|
+
/**
|
|
216
|
+
* AnimalsAndPetsAlert
|
|
217
|
+
*
|
|
218
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
219
|
+
* @type {TEXT}
|
|
220
|
+
* @visibleWhen AnimalsAndPetsLockedAway = ["NO"]
|
|
221
|
+
*/
|
|
222
|
+
AnimalsAndPetsAlert?: string | null;
|
|
223
|
+
/**
|
|
224
|
+
* WorkAreaHazardsAlert
|
|
225
|
+
* @type {TEXT}
|
|
226
|
+
* @visibleWhen WorkAreaFreeFromHazards = ["NO"]
|
|
227
|
+
*/
|
|
228
|
+
WorkAreaHazardsAlert?: string | null;
|
|
229
|
+
/**
|
|
230
|
+
* LadderDefectAlert
|
|
231
|
+
* @type {TEXT}
|
|
232
|
+
* @visibleWhen LadderPreUseCheckSafe = ["NO"]
|
|
233
|
+
*/
|
|
234
|
+
LadderDefectAlert?: string | null;
|
|
190
235
|
/**
|
|
191
236
|
* EquipmentDefectiveAlert
|
|
192
237
|
*
|
|
@@ -15,8 +15,8 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
15
15
|
/**
|
|
16
16
|
* Properties for CreateSsra action
|
|
17
17
|
*
|
|
18
|
-
* @property Required fields:
|
|
19
|
-
* @property Optional fields:
|
|
18
|
+
* @property Required fields: 20
|
|
19
|
+
* @property Optional fields: 9
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateSsraProperties {
|
|
22
22
|
/**
|
|
@@ -115,6 +115,19 @@ export interface CreateSsraProperties {
|
|
|
115
115
|
* @visibleWhen CompletingDrillingWithinProperty = ["YES"]
|
|
116
116
|
*/
|
|
117
117
|
DrillConfirmationDrillOutPhoto: string;
|
|
118
|
+
/**
|
|
119
|
+
* AreLaddersBeingUsed
|
|
120
|
+
* @type {ENUM}
|
|
121
|
+
* @required
|
|
122
|
+
*/
|
|
123
|
+
AreLaddersBeingUsed: string;
|
|
124
|
+
/**
|
|
125
|
+
* LadderPreUseCheckSafe
|
|
126
|
+
* @type {ENUM}
|
|
127
|
+
* @required
|
|
128
|
+
* @visibleWhen AreLaddersBeingUsed = ["YES"]
|
|
129
|
+
*/
|
|
130
|
+
LadderPreUseCheckSafe: string;
|
|
118
131
|
/**
|
|
119
132
|
* EquipmentDefects
|
|
120
133
|
*
|
|
@@ -187,6 +200,38 @@ export interface CreateSsraProperties {
|
|
|
187
200
|
* @visibleWhen CorrectPpe = ["NO"]
|
|
188
201
|
*/
|
|
189
202
|
PpeAlert?: string | null;
|
|
203
|
+
/**
|
|
204
|
+
* RiskAssessmentAccessAlert
|
|
205
|
+
* @type {TEXT}
|
|
206
|
+
* @visibleWhen AccessToRiskAssessmentAndSafeSystemOfWork = ["NO"]
|
|
207
|
+
*/
|
|
208
|
+
RiskAssessmentAccessAlert?: string | null;
|
|
209
|
+
/**
|
|
210
|
+
* PeoplesafeAlert
|
|
211
|
+
* @type {TEXT}
|
|
212
|
+
* @visibleWhen PeoplesafeActivated = ["NO"]
|
|
213
|
+
*/
|
|
214
|
+
PeoplesafeAlert?: string | null;
|
|
215
|
+
/**
|
|
216
|
+
* AnimalsAndPetsAlert
|
|
217
|
+
*
|
|
218
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
219
|
+
* @type {TEXT}
|
|
220
|
+
* @visibleWhen AnimalsAndPetsLockedAway = ["NO"]
|
|
221
|
+
*/
|
|
222
|
+
AnimalsAndPetsAlert?: string | null;
|
|
223
|
+
/**
|
|
224
|
+
* WorkAreaHazardsAlert
|
|
225
|
+
* @type {TEXT}
|
|
226
|
+
* @visibleWhen WorkAreaFreeFromHazards = ["NO"]
|
|
227
|
+
*/
|
|
228
|
+
WorkAreaHazardsAlert?: string | null;
|
|
229
|
+
/**
|
|
230
|
+
* LadderDefectAlert
|
|
231
|
+
* @type {TEXT}
|
|
232
|
+
* @visibleWhen LadderPreUseCheckSafe = ["NO"]
|
|
233
|
+
*/
|
|
234
|
+
LadderDefectAlert?: string | null;
|
|
190
235
|
/**
|
|
191
236
|
* EquipmentDefectiveAlert
|
|
192
237
|
*
|
|
@@ -15,8 +15,8 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
15
15
|
/**
|
|
16
16
|
* Properties for CreateSsra action
|
|
17
17
|
*
|
|
18
|
-
* @property Required fields:
|
|
19
|
-
* @property Optional fields:
|
|
18
|
+
* @property Required fields: 20
|
|
19
|
+
* @property Optional fields: 9
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateSsraProperties {
|
|
22
22
|
/**
|
|
@@ -115,6 +115,19 @@ export interface CreateSsraProperties {
|
|
|
115
115
|
* @visibleWhen CompletingDrillingWithinProperty = ["YES"]
|
|
116
116
|
*/
|
|
117
117
|
DrillConfirmationDrillOutPhoto: string;
|
|
118
|
+
/**
|
|
119
|
+
* AreLaddersBeingUsed
|
|
120
|
+
* @type {ENUM}
|
|
121
|
+
* @required
|
|
122
|
+
*/
|
|
123
|
+
AreLaddersBeingUsed: string;
|
|
124
|
+
/**
|
|
125
|
+
* LadderPreUseCheckSafe
|
|
126
|
+
* @type {ENUM}
|
|
127
|
+
* @required
|
|
128
|
+
* @visibleWhen AreLaddersBeingUsed = ["YES"]
|
|
129
|
+
*/
|
|
130
|
+
LadderPreUseCheckSafe: string;
|
|
118
131
|
/**
|
|
119
132
|
* EquipmentDefects
|
|
120
133
|
*
|
|
@@ -187,6 +200,38 @@ export interface CreateSsraProperties {
|
|
|
187
200
|
* @visibleWhen CorrectPpe = ["NO"]
|
|
188
201
|
*/
|
|
189
202
|
PpeAlert?: string | null;
|
|
203
|
+
/**
|
|
204
|
+
* RiskAssessmentAccessAlert
|
|
205
|
+
* @type {TEXT}
|
|
206
|
+
* @visibleWhen AccessToRiskAssessmentAndSafeSystemOfWork = ["NO"]
|
|
207
|
+
*/
|
|
208
|
+
RiskAssessmentAccessAlert?: string | null;
|
|
209
|
+
/**
|
|
210
|
+
* PeoplesafeAlert
|
|
211
|
+
* @type {TEXT}
|
|
212
|
+
* @visibleWhen PeoplesafeActivated = ["NO"]
|
|
213
|
+
*/
|
|
214
|
+
PeoplesafeAlert?: string | null;
|
|
215
|
+
/**
|
|
216
|
+
* AnimalsAndPetsAlert
|
|
217
|
+
*
|
|
218
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
219
|
+
* @type {TEXT}
|
|
220
|
+
* @visibleWhen AnimalsAndPetsLockedAway = ["NO"]
|
|
221
|
+
*/
|
|
222
|
+
AnimalsAndPetsAlert?: string | null;
|
|
223
|
+
/**
|
|
224
|
+
* WorkAreaHazardsAlert
|
|
225
|
+
* @type {TEXT}
|
|
226
|
+
* @visibleWhen WorkAreaFreeFromHazards = ["NO"]
|
|
227
|
+
*/
|
|
228
|
+
WorkAreaHazardsAlert?: string | null;
|
|
229
|
+
/**
|
|
230
|
+
* LadderDefectAlert
|
|
231
|
+
* @type {TEXT}
|
|
232
|
+
* @visibleWhen LadderPreUseCheckSafe = ["NO"]
|
|
233
|
+
*/
|
|
234
|
+
LadderDefectAlert?: string | null;
|
|
190
235
|
/**
|
|
191
236
|
* EquipmentDefectiveAlert
|
|
192
237
|
*
|
|
@@ -19,8 +19,8 @@ export interface UpdateSsraMessage extends OdinRecordUpdatedEvent<UpdateSsraDto,
|
|
|
19
19
|
/**
|
|
20
20
|
* Properties for UpdateSsra action
|
|
21
21
|
*
|
|
22
|
-
* @property Required fields:
|
|
23
|
-
* @property Optional fields:
|
|
22
|
+
* @property Required fields: 20
|
|
23
|
+
* @property Optional fields: 9
|
|
24
24
|
*/
|
|
25
25
|
export interface UpdateSsraProperties {
|
|
26
26
|
/**
|
|
@@ -119,6 +119,19 @@ export interface UpdateSsraProperties {
|
|
|
119
119
|
* @visibleWhen CompletingDrillingWithinProperty = ["YES"]
|
|
120
120
|
*/
|
|
121
121
|
DrillConfirmationDrillOutPhoto: string;
|
|
122
|
+
/**
|
|
123
|
+
* AreLaddersBeingUsed
|
|
124
|
+
* @type {ENUM}
|
|
125
|
+
* @required
|
|
126
|
+
*/
|
|
127
|
+
AreLaddersBeingUsed: string;
|
|
128
|
+
/**
|
|
129
|
+
* LadderPreUseCheckSafe
|
|
130
|
+
* @type {ENUM}
|
|
131
|
+
* @required
|
|
132
|
+
* @visibleWhen AreLaddersBeingUsed = ["YES"]
|
|
133
|
+
*/
|
|
134
|
+
LadderPreUseCheckSafe: string;
|
|
122
135
|
/**
|
|
123
136
|
* EquipmentDefects
|
|
124
137
|
*
|
|
@@ -191,6 +204,38 @@ export interface UpdateSsraProperties {
|
|
|
191
204
|
* @visibleWhen CorrectPpe = ["NO"]
|
|
192
205
|
*/
|
|
193
206
|
PpeAlert?: string | null;
|
|
207
|
+
/**
|
|
208
|
+
* RiskAssessmentAccessAlert
|
|
209
|
+
* @type {TEXT}
|
|
210
|
+
* @visibleWhen AccessToRiskAssessmentAndSafeSystemOfWork = ["NO"]
|
|
211
|
+
*/
|
|
212
|
+
RiskAssessmentAccessAlert?: string | null;
|
|
213
|
+
/**
|
|
214
|
+
* PeoplesafeAlert
|
|
215
|
+
* @type {TEXT}
|
|
216
|
+
* @visibleWhen PeoplesafeActivated = ["NO"]
|
|
217
|
+
*/
|
|
218
|
+
PeoplesafeAlert?: string | null;
|
|
219
|
+
/**
|
|
220
|
+
* AnimalsAndPetsAlert
|
|
221
|
+
*
|
|
222
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
223
|
+
* @type {TEXT}
|
|
224
|
+
* @visibleWhen AnimalsAndPetsLockedAway = ["NO"]
|
|
225
|
+
*/
|
|
226
|
+
AnimalsAndPetsAlert?: string | null;
|
|
227
|
+
/**
|
|
228
|
+
* WorkAreaHazardsAlert
|
|
229
|
+
* @type {TEXT}
|
|
230
|
+
* @visibleWhen WorkAreaFreeFromHazards = ["NO"]
|
|
231
|
+
*/
|
|
232
|
+
WorkAreaHazardsAlert?: string | null;
|
|
233
|
+
/**
|
|
234
|
+
* LadderDefectAlert
|
|
235
|
+
* @type {TEXT}
|
|
236
|
+
* @visibleWhen LadderPreUseCheckSafe = ["NO"]
|
|
237
|
+
*/
|
|
238
|
+
LadderDefectAlert?: string | null;
|
|
194
239
|
/**
|
|
195
240
|
* EquipmentDefectiveAlert
|
|
196
241
|
*
|
|
@@ -131,19 +131,6 @@ export declare enum SiteSpecificRiskAssessmentOutcomeFormExternalWork {
|
|
|
131
131
|
OVERHEAD_AND_UNDERGROUND = "OVERHEAD_AND_UNDERGROUND",
|
|
132
132
|
UNDERGROUND_ACCESS = "UNDERGROUND_ACCESS"
|
|
133
133
|
}
|
|
134
|
-
/**
|
|
135
|
-
* Valid values for SiteSpecificRiskAssessmentOutcomeForm.AccessToRiskAssessmentAndSafeSystemOfWork
|
|
136
|
-
*
|
|
137
|
-
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
138
|
-
*
|
|
139
|
-
* @remarks Available options:
|
|
140
|
-
* - `NO` - No
|
|
141
|
-
* - `YES` - Yes
|
|
142
|
-
*/
|
|
143
|
-
export declare enum SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork {
|
|
144
|
-
NO = "NO",
|
|
145
|
-
YES = "YES"
|
|
146
|
-
}
|
|
147
134
|
/**
|
|
148
135
|
* Valid values for SiteSpecificRiskAssessmentOutcomeForm.SashAndPuleyUsedForInstallation
|
|
149
136
|
*
|
|
@@ -374,6 +361,41 @@ export declare enum SiteSpecificRiskAssessmentOutcomeFormAreThereAnyAdditionalHa
|
|
|
374
361
|
NO = "NO",
|
|
375
362
|
YES = "YES"
|
|
376
363
|
}
|
|
364
|
+
/**
|
|
365
|
+
* Valid values for SiteSpecificRiskAssessmentOutcomeForm.AccessToRiskAssessmentAndSafeSystemOfWork
|
|
366
|
+
*
|
|
367
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
368
|
+
*
|
|
369
|
+
* @remarks Available options:
|
|
370
|
+
* - `NO` - No
|
|
371
|
+
* - `YES` - Yes
|
|
372
|
+
*/
|
|
373
|
+
export declare enum SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork {
|
|
374
|
+
NO = "NO",
|
|
375
|
+
YES = "YES"
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* Valid values for SiteSpecificRiskAssessmentOutcomeForm.AreLaddersBeingUsed
|
|
379
|
+
*
|
|
380
|
+
* @remarks Available options:
|
|
381
|
+
* - `NO` - No
|
|
382
|
+
* - `YES` - Yes
|
|
383
|
+
*/
|
|
384
|
+
export declare enum SiteSpecificRiskAssessmentOutcomeFormAreLaddersBeingUsed {
|
|
385
|
+
NO = "NO",
|
|
386
|
+
YES = "YES"
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* Valid values for SiteSpecificRiskAssessmentOutcomeForm.LadderPreUseCheckSafe
|
|
390
|
+
*
|
|
391
|
+
* @remarks Available options:
|
|
392
|
+
* - `NO` - No
|
|
393
|
+
* - `YES` - Yes
|
|
394
|
+
*/
|
|
395
|
+
export declare enum SiteSpecificRiskAssessmentOutcomeFormLadderPreUseCheckSafe {
|
|
396
|
+
NO = "NO",
|
|
397
|
+
YES = "YES"
|
|
398
|
+
}
|
|
377
399
|
/**
|
|
378
400
|
* Property keys for SiteSpecificRiskAssessmentOutcomeForm
|
|
379
401
|
* Use these constants instead of string literals for type safety
|
|
@@ -408,8 +430,6 @@ export declare enum SiteSpecificRiskAssessmentOutcomeFormPropertyKeys {
|
|
|
408
430
|
/** Reference identifier for SiteSpecificRiskAssessmentOutcomeForm relationships. Used for data integrity. */
|
|
409
431
|
OtherIndividualsNames = "OtherIndividualsNames",
|
|
410
432
|
/** Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team. */
|
|
411
|
-
AccessToRiskAssessmentAndSafeSystemOfWork = "AccessToRiskAssessmentAndSafeSystemOfWork",
|
|
412
|
-
/** Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team. */
|
|
413
433
|
PpeAlert = "PpeAlert",
|
|
414
434
|
/** Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team. */
|
|
415
435
|
AnimalsAndPetsAlert = "AnimalsAndPetsAlert",
|
|
@@ -479,7 +499,15 @@ export declare enum SiteSpecificRiskAssessmentOutcomeFormPropertyKeys {
|
|
|
479
499
|
/** Please add image (Field Operations - SiteSpecificRiskAssessmentOutcomeForm) */
|
|
480
500
|
DrillConfirmationOntMountPhoto = "DrillConfirmationOntMountPhoto",
|
|
481
501
|
/** Please add image (Field Operations - SiteSpecificRiskAssessmentOutcomeForm) */
|
|
482
|
-
DrillConfirmationDrillOutPhoto = "DrillConfirmationDrillOutPhoto"
|
|
502
|
+
DrillConfirmationDrillOutPhoto = "DrillConfirmationDrillOutPhoto",
|
|
503
|
+
/** Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team. */
|
|
504
|
+
AccessToRiskAssessmentAndSafeSystemOfWork = "AccessToRiskAssessmentAndSafeSystemOfWork",
|
|
505
|
+
RiskAssessmentAccessAlert = "RiskAssessmentAccessAlert",
|
|
506
|
+
PeoplesafeAlert = "PeoplesafeAlert",
|
|
507
|
+
WorkAreaHazardsAlert = "WorkAreaHazardsAlert",
|
|
508
|
+
AreLaddersBeingUsed = "AreLaddersBeingUsed",
|
|
509
|
+
LadderPreUseCheckSafe = "LadderPreUseCheckSafe",
|
|
510
|
+
LadderDefectAlert = "LadderDefectAlert"
|
|
483
511
|
}
|
|
484
512
|
/**
|
|
485
513
|
* Properties for SiteSpecificRiskAssessmentOutcomeForm records
|
|
@@ -566,12 +594,6 @@ export interface SiteSpecificRiskAssessmentOutcomeFormProperties {
|
|
|
566
594
|
* @type {TEXT_LONG}
|
|
567
595
|
*/
|
|
568
596
|
OtherIndividualsNames: string;
|
|
569
|
-
/** Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
570
|
-
*
|
|
571
|
-
* @type {ENUM}
|
|
572
|
-
* @enum {SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork}
|
|
573
|
-
*/
|
|
574
|
-
AccessToRiskAssessmentAndSafeSystemOfWork: SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork;
|
|
575
597
|
/** Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
576
598
|
*
|
|
577
599
|
* @type {TEXT}
|
|
@@ -775,6 +797,44 @@ export interface SiteSpecificRiskAssessmentOutcomeFormProperties {
|
|
|
775
797
|
* @type {FILE_MULTIPLE}
|
|
776
798
|
*/
|
|
777
799
|
DrillConfirmationDrillOutPhoto: string;
|
|
800
|
+
/** Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
801
|
+
*
|
|
802
|
+
* @type {ENUM}
|
|
803
|
+
* @enum {SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork}
|
|
804
|
+
*/
|
|
805
|
+
AccessToRiskAssessmentAndSafeSystemOfWork: SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork;
|
|
806
|
+
/** Check in Compliance Corner now - contact your manager or SHEQ if you cannot access and do not proceed. https://substantialgroup.sharepoint.com/sites/SafetyPortal
|
|
807
|
+
*
|
|
808
|
+
* @type {TEXT}
|
|
809
|
+
*/
|
|
810
|
+
RiskAssessmentAccessAlert: string;
|
|
811
|
+
/** Sign in and activate the Peoplesafe app, contact your manager if you cannot access or set up.
|
|
812
|
+
*
|
|
813
|
+
* @type {TEXT}
|
|
814
|
+
*/
|
|
815
|
+
PeoplesafeAlert: string;
|
|
816
|
+
/** If routes cannot be cleared or made safe, notify the customer and do not proceed. Contact your manager.
|
|
817
|
+
*
|
|
818
|
+
* @type {TEXT}
|
|
819
|
+
*/
|
|
820
|
+
WorkAreaHazardsAlert: string;
|
|
821
|
+
/** Are ladders being used?
|
|
822
|
+
*
|
|
823
|
+
* @type {ENUM}
|
|
824
|
+
* @enum {SiteSpecificRiskAssessmentOutcomeFormAreLaddersBeingUsed}
|
|
825
|
+
*/
|
|
826
|
+
AreLaddersBeingUsed: SiteSpecificRiskAssessmentOutcomeFormAreLaddersBeingUsed;
|
|
827
|
+
/** Complete a pre-use check of ladders, are they safe and free from defects?
|
|
828
|
+
*
|
|
829
|
+
* @type {ENUM}
|
|
830
|
+
* @enum {SiteSpecificRiskAssessmentOutcomeFormLadderPreUseCheckSafe}
|
|
831
|
+
*/
|
|
832
|
+
LadderPreUseCheckSafe: SiteSpecificRiskAssessmentOutcomeFormLadderPreUseCheckSafe;
|
|
833
|
+
/** Do not proceed, contact your manager and do not continue work.
|
|
834
|
+
*
|
|
835
|
+
* @type {TEXT}
|
|
836
|
+
*/
|
|
837
|
+
LadderDefectAlert: string;
|
|
778
838
|
}
|
|
779
839
|
/**
|
|
780
840
|
* Properties for OUTCOME_FORM SiteSpecificRiskAssessmentOutcomeForm records
|
|
@@ -861,12 +921,6 @@ export interface OutcomeFormSiteSpecificRiskAssessmentOutcomeFormProperties {
|
|
|
861
921
|
* @type {TEXT_LONG}
|
|
862
922
|
*/
|
|
863
923
|
OtherIndividualsNames: string;
|
|
864
|
-
/** Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
865
|
-
*
|
|
866
|
-
* @type {ENUM}
|
|
867
|
-
* @enum {SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork}
|
|
868
|
-
*/
|
|
869
|
-
AccessToRiskAssessmentAndSafeSystemOfWork: SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork;
|
|
870
924
|
/** Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
871
925
|
*
|
|
872
926
|
* @type {TEXT}
|
|
@@ -1070,6 +1124,44 @@ export interface OutcomeFormSiteSpecificRiskAssessmentOutcomeFormProperties {
|
|
|
1070
1124
|
* @type {FILE_MULTIPLE}
|
|
1071
1125
|
*/
|
|
1072
1126
|
DrillConfirmationDrillOutPhoto: string;
|
|
1127
|
+
/** Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
1128
|
+
*
|
|
1129
|
+
* @type {ENUM}
|
|
1130
|
+
* @enum {SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork}
|
|
1131
|
+
*/
|
|
1132
|
+
AccessToRiskAssessmentAndSafeSystemOfWork: SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork;
|
|
1133
|
+
/** Check in Compliance Corner now - contact your manager or SHEQ if you cannot access and do not proceed. https://substantialgroup.sharepoint.com/sites/SafetyPortal
|
|
1134
|
+
*
|
|
1135
|
+
* @type {TEXT}
|
|
1136
|
+
*/
|
|
1137
|
+
RiskAssessmentAccessAlert: string;
|
|
1138
|
+
/** Sign in and activate the Peoplesafe app, contact your manager if you cannot access or set up.
|
|
1139
|
+
*
|
|
1140
|
+
* @type {TEXT}
|
|
1141
|
+
*/
|
|
1142
|
+
PeoplesafeAlert: string;
|
|
1143
|
+
/** If routes cannot be cleared or made safe, notify the customer and do not proceed. Contact your manager.
|
|
1144
|
+
*
|
|
1145
|
+
* @type {TEXT}
|
|
1146
|
+
*/
|
|
1147
|
+
WorkAreaHazardsAlert: string;
|
|
1148
|
+
/** Are ladders being used?
|
|
1149
|
+
*
|
|
1150
|
+
* @type {ENUM}
|
|
1151
|
+
* @enum {SiteSpecificRiskAssessmentOutcomeFormAreLaddersBeingUsed}
|
|
1152
|
+
*/
|
|
1153
|
+
AreLaddersBeingUsed: SiteSpecificRiskAssessmentOutcomeFormAreLaddersBeingUsed;
|
|
1154
|
+
/** Complete a pre-use check of ladders, are they safe and free from defects?
|
|
1155
|
+
*
|
|
1156
|
+
* @type {ENUM}
|
|
1157
|
+
* @enum {SiteSpecificRiskAssessmentOutcomeFormLadderPreUseCheckSafe}
|
|
1158
|
+
*/
|
|
1159
|
+
LadderPreUseCheckSafe: SiteSpecificRiskAssessmentOutcomeFormLadderPreUseCheckSafe;
|
|
1160
|
+
/** Do not proceed, contact your manager and do not continue work.
|
|
1161
|
+
*
|
|
1162
|
+
* @type {TEXT}
|
|
1163
|
+
*/
|
|
1164
|
+
LadderDefectAlert: string;
|
|
1073
1165
|
}
|
|
1074
1166
|
/**
|
|
1075
1167
|
* SiteSpecificRiskAssessmentOutcomeForm entity from FieldServiceModule
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ROUTING_KEY_LINK_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_FILE_DELETED = exports.ROUTING_KEY_LINK_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_FILE_CREATED = exports.ROUTING_KEY_LINK_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_NOTE_DELETED = exports.ROUTING_KEY_LINK_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_NOTE_CREATED = exports.ROUTING_KEY_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_OUTCOME_FORM_DELETED = exports.ROUTING_KEY_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_OUTCOME_FORM_UPDATED = exports.ROUTING_KEY_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_OUTCOME_FORM_CREATED = exports.ROUTING_KEY_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_DELETED = exports.ROUTING_KEY_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_UPDATED = exports.ROUTING_KEY_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_CREATED = exports.SiteSpecificRiskAssessmentOutcomeForm = exports.SiteSpecificRiskAssessmentOutcomeFormPropertyKeys = exports.SiteSpecificRiskAssessmentOutcomeFormAreThereAnyAdditionalHazards = exports.SiteSpecificRiskAssessmentOutcomeFormCompletingDrillingWithinProperty = exports.SiteSpecificRiskAssessmentOutcomeFormWorkAreaFreeFromHazards = exports.SiteSpecificRiskAssessmentOutcomeFormActivitySafe = exports.SiteSpecificRiskAssessmentOutcomeFormBusinessInstallSurveyCompleted = exports.SiteSpecificRiskAssessmentOutcomeFormSafeToProceedOnRemediationWork = exports.SiteSpecificRiskAssessmentOutcomeFormRemediationIncluded = exports.SiteSpecificRiskAssessmentOutcomeFormEquipmentDefects = exports.SiteSpecificRiskAssessmentOutcomeFormAccessToCustomerPropertySafe = exports.SiteSpecificRiskAssessmentOutcomeFormInternalWork = exports.SiteSpecificRiskAssessmentOutcomeFormFitAndWellToCompleteJob = exports.SiteSpecificRiskAssessmentOutcomeFormAnimalsAndPetsLockedAway = exports.SiteSpecificRiskAssessmentOutcomeFormGduChargedAndCalibrated = exports.SiteSpecificRiskAssessmentOutcomeFormKeyLifterAndRollerBarAvailable = exports.SiteSpecificRiskAssessmentOutcomeFormAllChambersSufficiallyGuarded = exports.SiteSpecificRiskAssessmentOutcomeFormFullTetraSetupAvailable = exports.SiteSpecificRiskAssessmentOutcomeFormPeoplesafeActivated = exports.SiteSpecificRiskAssessmentOutcomeFormSashAndPuleyUsedForInstallation = exports.
|
|
15
|
+
exports.ROUTING_KEY_LINK_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_FILE_DELETED = exports.ROUTING_KEY_LINK_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_FILE_CREATED = exports.ROUTING_KEY_LINK_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_NOTE_DELETED = exports.ROUTING_KEY_LINK_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_NOTE_CREATED = exports.ROUTING_KEY_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_OUTCOME_FORM_DELETED = exports.ROUTING_KEY_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_OUTCOME_FORM_UPDATED = exports.ROUTING_KEY_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_OUTCOME_FORM_CREATED = exports.ROUTING_KEY_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_DELETED = exports.ROUTING_KEY_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_UPDATED = exports.ROUTING_KEY_SITE_SPECIFIC_RISK_ASSESSMENT_OUTCOME_FORM_CREATED = exports.SiteSpecificRiskAssessmentOutcomeForm = exports.SiteSpecificRiskAssessmentOutcomeFormPropertyKeys = exports.SiteSpecificRiskAssessmentOutcomeFormLadderPreUseCheckSafe = exports.SiteSpecificRiskAssessmentOutcomeFormAreLaddersBeingUsed = exports.SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork = exports.SiteSpecificRiskAssessmentOutcomeFormAreThereAnyAdditionalHazards = exports.SiteSpecificRiskAssessmentOutcomeFormCompletingDrillingWithinProperty = exports.SiteSpecificRiskAssessmentOutcomeFormWorkAreaFreeFromHazards = exports.SiteSpecificRiskAssessmentOutcomeFormActivitySafe = exports.SiteSpecificRiskAssessmentOutcomeFormBusinessInstallSurveyCompleted = exports.SiteSpecificRiskAssessmentOutcomeFormSafeToProceedOnRemediationWork = exports.SiteSpecificRiskAssessmentOutcomeFormRemediationIncluded = exports.SiteSpecificRiskAssessmentOutcomeFormEquipmentDefects = exports.SiteSpecificRiskAssessmentOutcomeFormAccessToCustomerPropertySafe = exports.SiteSpecificRiskAssessmentOutcomeFormInternalWork = exports.SiteSpecificRiskAssessmentOutcomeFormFitAndWellToCompleteJob = exports.SiteSpecificRiskAssessmentOutcomeFormAnimalsAndPetsLockedAway = exports.SiteSpecificRiskAssessmentOutcomeFormGduChargedAndCalibrated = exports.SiteSpecificRiskAssessmentOutcomeFormKeyLifterAndRollerBarAvailable = exports.SiteSpecificRiskAssessmentOutcomeFormAllChambersSufficiallyGuarded = exports.SiteSpecificRiskAssessmentOutcomeFormFullTetraSetupAvailable = exports.SiteSpecificRiskAssessmentOutcomeFormPeoplesafeActivated = exports.SiteSpecificRiskAssessmentOutcomeFormSashAndPuleyUsedForInstallation = exports.SiteSpecificRiskAssessmentOutcomeFormExternalWork = exports.SiteSpecificRiskAssessmentOutcomeFormCorrectPpe = exports.SiteSpecificRiskAssessmentOutcomeFormAnyOtherIndividualsOnTheSite = exports.SiteSpecificRiskAssessmentOutcomeFormDrillConfirmationOntMount = exports.SiteSpecificRiskAssessmentOutcomeFormPreUseCheckCompleted = exports.SiteSpecificRiskAssessmentOutcomeFormLaddersHarnessLanyardWorkingBeltPreCheck = exports.SiteSpecificRiskAssessmentOutcomeFormDrillConfirmationDrillOut = exports.SiteSpecificRiskAssessmentOutcomeFormSafetyGlassesEarDefendersDustMaskAvailable = exports.SiteSpecificRiskAssessmentOutcomeFormEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for SiteSpecificRiskAssessmentOutcomeForm records
|
|
@@ -140,20 +140,6 @@ var SiteSpecificRiskAssessmentOutcomeFormExternalWork;
|
|
|
140
140
|
SiteSpecificRiskAssessmentOutcomeFormExternalWork["OVERHEAD_AND_UNDERGROUND"] = "OVERHEAD_AND_UNDERGROUND";
|
|
141
141
|
SiteSpecificRiskAssessmentOutcomeFormExternalWork["UNDERGROUND_ACCESS"] = "UNDERGROUND_ACCESS";
|
|
142
142
|
})(SiteSpecificRiskAssessmentOutcomeFormExternalWork = exports.SiteSpecificRiskAssessmentOutcomeFormExternalWork || (exports.SiteSpecificRiskAssessmentOutcomeFormExternalWork = {}));
|
|
143
|
-
/**
|
|
144
|
-
* Valid values for SiteSpecificRiskAssessmentOutcomeForm.AccessToRiskAssessmentAndSafeSystemOfWork
|
|
145
|
-
*
|
|
146
|
-
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
147
|
-
*
|
|
148
|
-
* @remarks Available options:
|
|
149
|
-
* - `NO` - No
|
|
150
|
-
* - `YES` - Yes
|
|
151
|
-
*/
|
|
152
|
-
var SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork;
|
|
153
|
-
(function (SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork) {
|
|
154
|
-
SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork["NO"] = "NO";
|
|
155
|
-
SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork["YES"] = "YES";
|
|
156
|
-
})(SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork = exports.SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork || (exports.SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork = {}));
|
|
157
143
|
/**
|
|
158
144
|
* Valid values for SiteSpecificRiskAssessmentOutcomeForm.SashAndPuleyUsedForInstallation
|
|
159
145
|
*
|
|
@@ -402,6 +388,44 @@ var SiteSpecificRiskAssessmentOutcomeFormAreThereAnyAdditionalHazards;
|
|
|
402
388
|
SiteSpecificRiskAssessmentOutcomeFormAreThereAnyAdditionalHazards["NO"] = "NO";
|
|
403
389
|
SiteSpecificRiskAssessmentOutcomeFormAreThereAnyAdditionalHazards["YES"] = "YES";
|
|
404
390
|
})(SiteSpecificRiskAssessmentOutcomeFormAreThereAnyAdditionalHazards = exports.SiteSpecificRiskAssessmentOutcomeFormAreThereAnyAdditionalHazards || (exports.SiteSpecificRiskAssessmentOutcomeFormAreThereAnyAdditionalHazards = {}));
|
|
391
|
+
/**
|
|
392
|
+
* Valid values for SiteSpecificRiskAssessmentOutcomeForm.AccessToRiskAssessmentAndSafeSystemOfWork
|
|
393
|
+
*
|
|
394
|
+
* Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team.
|
|
395
|
+
*
|
|
396
|
+
* @remarks Available options:
|
|
397
|
+
* - `NO` - No
|
|
398
|
+
* - `YES` - Yes
|
|
399
|
+
*/
|
|
400
|
+
var SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork;
|
|
401
|
+
(function (SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork) {
|
|
402
|
+
SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork["NO"] = "NO";
|
|
403
|
+
SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork["YES"] = "YES";
|
|
404
|
+
})(SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork = exports.SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork || (exports.SiteSpecificRiskAssessmentOutcomeFormAccessToRiskAssessmentAndSafeSystemOfWork = {}));
|
|
405
|
+
/**
|
|
406
|
+
* Valid values for SiteSpecificRiskAssessmentOutcomeForm.AreLaddersBeingUsed
|
|
407
|
+
*
|
|
408
|
+
* @remarks Available options:
|
|
409
|
+
* - `NO` - No
|
|
410
|
+
* - `YES` - Yes
|
|
411
|
+
*/
|
|
412
|
+
var SiteSpecificRiskAssessmentOutcomeFormAreLaddersBeingUsed;
|
|
413
|
+
(function (SiteSpecificRiskAssessmentOutcomeFormAreLaddersBeingUsed) {
|
|
414
|
+
SiteSpecificRiskAssessmentOutcomeFormAreLaddersBeingUsed["NO"] = "NO";
|
|
415
|
+
SiteSpecificRiskAssessmentOutcomeFormAreLaddersBeingUsed["YES"] = "YES";
|
|
416
|
+
})(SiteSpecificRiskAssessmentOutcomeFormAreLaddersBeingUsed = exports.SiteSpecificRiskAssessmentOutcomeFormAreLaddersBeingUsed || (exports.SiteSpecificRiskAssessmentOutcomeFormAreLaddersBeingUsed = {}));
|
|
417
|
+
/**
|
|
418
|
+
* Valid values for SiteSpecificRiskAssessmentOutcomeForm.LadderPreUseCheckSafe
|
|
419
|
+
*
|
|
420
|
+
* @remarks Available options:
|
|
421
|
+
* - `NO` - No
|
|
422
|
+
* - `YES` - Yes
|
|
423
|
+
*/
|
|
424
|
+
var SiteSpecificRiskAssessmentOutcomeFormLadderPreUseCheckSafe;
|
|
425
|
+
(function (SiteSpecificRiskAssessmentOutcomeFormLadderPreUseCheckSafe) {
|
|
426
|
+
SiteSpecificRiskAssessmentOutcomeFormLadderPreUseCheckSafe["NO"] = "NO";
|
|
427
|
+
SiteSpecificRiskAssessmentOutcomeFormLadderPreUseCheckSafe["YES"] = "YES";
|
|
428
|
+
})(SiteSpecificRiskAssessmentOutcomeFormLadderPreUseCheckSafe = exports.SiteSpecificRiskAssessmentOutcomeFormLadderPreUseCheckSafe || (exports.SiteSpecificRiskAssessmentOutcomeFormLadderPreUseCheckSafe = {}));
|
|
405
429
|
/**
|
|
406
430
|
* Property keys for SiteSpecificRiskAssessmentOutcomeForm
|
|
407
431
|
* Use these constants instead of string literals for type safety
|
|
@@ -437,8 +461,6 @@ var SiteSpecificRiskAssessmentOutcomeFormPropertyKeys;
|
|
|
437
461
|
/** Reference identifier for SiteSpecificRiskAssessmentOutcomeForm relationships. Used for data integrity. */
|
|
438
462
|
SiteSpecificRiskAssessmentOutcomeFormPropertyKeys["OtherIndividualsNames"] = "OtherIndividualsNames";
|
|
439
463
|
/** Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team. */
|
|
440
|
-
SiteSpecificRiskAssessmentOutcomeFormPropertyKeys["AccessToRiskAssessmentAndSafeSystemOfWork"] = "AccessToRiskAssessmentAndSafeSystemOfWork";
|
|
441
|
-
/** Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team. */
|
|
442
464
|
SiteSpecificRiskAssessmentOutcomeFormPropertyKeys["PpeAlert"] = "PpeAlert";
|
|
443
465
|
/** Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team. */
|
|
444
466
|
SiteSpecificRiskAssessmentOutcomeFormPropertyKeys["AnimalsAndPetsAlert"] = "AnimalsAndPetsAlert";
|
|
@@ -509,6 +531,14 @@ var SiteSpecificRiskAssessmentOutcomeFormPropertyKeys;
|
|
|
509
531
|
SiteSpecificRiskAssessmentOutcomeFormPropertyKeys["DrillConfirmationOntMountPhoto"] = "DrillConfirmationOntMountPhoto";
|
|
510
532
|
/** Please add image (Field Operations - SiteSpecificRiskAssessmentOutcomeForm) */
|
|
511
533
|
SiteSpecificRiskAssessmentOutcomeFormPropertyKeys["DrillConfirmationDrillOutPhoto"] = "DrillConfirmationDrillOutPhoto";
|
|
534
|
+
/** Data field for SiteSpecificRiskAssessmentOutcomeForm records. Used by Field Operations team. */
|
|
535
|
+
SiteSpecificRiskAssessmentOutcomeFormPropertyKeys["AccessToRiskAssessmentAndSafeSystemOfWork"] = "AccessToRiskAssessmentAndSafeSystemOfWork";
|
|
536
|
+
SiteSpecificRiskAssessmentOutcomeFormPropertyKeys["RiskAssessmentAccessAlert"] = "RiskAssessmentAccessAlert";
|
|
537
|
+
SiteSpecificRiskAssessmentOutcomeFormPropertyKeys["PeoplesafeAlert"] = "PeoplesafeAlert";
|
|
538
|
+
SiteSpecificRiskAssessmentOutcomeFormPropertyKeys["WorkAreaHazardsAlert"] = "WorkAreaHazardsAlert";
|
|
539
|
+
SiteSpecificRiskAssessmentOutcomeFormPropertyKeys["AreLaddersBeingUsed"] = "AreLaddersBeingUsed";
|
|
540
|
+
SiteSpecificRiskAssessmentOutcomeFormPropertyKeys["LadderPreUseCheckSafe"] = "LadderPreUseCheckSafe";
|
|
541
|
+
SiteSpecificRiskAssessmentOutcomeFormPropertyKeys["LadderDefectAlert"] = "LadderDefectAlert";
|
|
512
542
|
})(SiteSpecificRiskAssessmentOutcomeFormPropertyKeys = exports.SiteSpecificRiskAssessmentOutcomeFormPropertyKeys || (exports.SiteSpecificRiskAssessmentOutcomeFormPropertyKeys = {}));
|
|
513
543
|
/**
|
|
514
544
|
* SiteSpecificRiskAssessmentOutcomeForm entity from FieldServiceModule
|
|
@@ -85,6 +85,43 @@ export interface AmendAppointmentArgs {
|
|
|
85
85
|
yfWorkOrderId: string;
|
|
86
86
|
supplierAppointmentReference: string;
|
|
87
87
|
}
|
|
88
|
+
/**
|
|
89
|
+
* Args for the tenant-initiated "release the appointment and park the
|
|
90
|
+
* order pending reappointment" cascade — the inverse direction of the
|
|
91
|
+
* supplier-driven REAPPOINT KCI. Issued when YF moves a WO to Pending
|
|
92
|
+
* for a reason the supplier doesn't yet know about (missing customer
|
|
93
|
+
* mandate, customer-side issue, agent decision) and the supplier-side
|
|
94
|
+
* Order/WO/SA must catch up so the supplier doesn't keep an engineer
|
|
95
|
+
* dispatched against a YF-Pending WO.
|
|
96
|
+
*
|
|
97
|
+
* Wire shape — POST /WholesaleGateway/v1.0/gateway/service-order-amendments
|
|
98
|
+
* with `appointmentReservationId: null` and `appointmentReservationReference:
|
|
99
|
+
* null` per FibreCafe orderamendment.md:6-7 ("empty value = removal").
|
|
100
|
+
* NET cascades: PROVIDE Order → Pending, WO → Pending, ServiceAppointment
|
|
101
|
+
* unlinked from the WO so the AMENDED KCI envelope doesn't ship stale
|
|
102
|
+
* appointment data, AMENDED KCI emitted back with a cleared payload.
|
|
103
|
+
*
|
|
104
|
+
* Correlation — the AMENDED KCI back from the supplier carries the
|
|
105
|
+
* (yfOrderId, yfWorkOrderId) tuple this call seeded; YF correlates via
|
|
106
|
+
* those fields, not via a supplier-side amend id. The 202 return body
|
|
107
|
+
* is intentionally `{}` — confirmation arrives async via the KCI bridge,
|
|
108
|
+
* not the HTTP response.
|
|
109
|
+
*
|
|
110
|
+
* `reason` is free text propagated to the FibreCafe `notes` field on the
|
|
111
|
+
* AMEND order for audit. The string-literal union below is the curated
|
|
112
|
+
* set of known triggers (offers IDE autocomplete + grep-ability) but the
|
|
113
|
+
* type stays open (`| string`) so new triggers don't require an SDK bump.
|
|
114
|
+
* Callers SHOULD always supply a reason — an empty `notes` field on the
|
|
115
|
+
* AMEND order makes prod triage harder. Whether to enforce that
|
|
116
|
+
* (required vs optional) is a YF-side decision; the SDK leaves it open
|
|
117
|
+
* so other tenants can adopt the cascade with their own policy.
|
|
118
|
+
*/
|
|
119
|
+
export declare type RequestTenantReappointmentReason = 'mandate-missing' | 'remediation-resolve' | 'operator-action' | 'customer-issue' | string;
|
|
120
|
+
export interface RequestTenantReappointmentArgs {
|
|
121
|
+
yfOrderId: string;
|
|
122
|
+
yfWorkOrderId: string;
|
|
123
|
+
reason?: RequestTenantReappointmentReason;
|
|
124
|
+
}
|
|
88
125
|
export interface SyncWorkOrderToSupplierArgs<TPrincipal = unknown> {
|
|
89
126
|
principal: TPrincipal;
|
|
90
127
|
yfOrderId: string;
|
|
@@ -170,6 +207,20 @@ export interface WholesaleProvider<TPrincipal = unknown> {
|
|
|
170
207
|
scheduleServiceWorkOrder(args: ScheduleServiceWorkOrderArgs): Promise<FibreCafeScheduleServiceWorkOrder201>;
|
|
171
208
|
rescheduleServiceWorkOrder(args: RescheduleServiceWorkOrderArgs): Promise<FibreCafeRescheduleServiceWorkOrder200>;
|
|
172
209
|
amendAppointment(args: AmendAppointmentArgs): Promise<FibreCafeOrderAmendAccept202>;
|
|
210
|
+
/**
|
|
211
|
+
* Tenant-initiated appointment release — cascades the local YF
|
|
212
|
+
* move-to-Pending decision to the supplier so the supplier-side
|
|
213
|
+
* Order/WO/SA mirror the new state. Uses the same supplier endpoint
|
|
214
|
+
* as `amendAppointment` (POST /service-order-amendments) but with
|
|
215
|
+
* `appointmentReservationId` + `appointmentReservationReference`
|
|
216
|
+
* explicitly null. See `RequestTenantReappointmentArgs`.
|
|
217
|
+
*
|
|
218
|
+
* Returns the same 202 envelope as `amendAppointment` — the supplier
|
|
219
|
+
* acknowledges synchronously, the AMENDED KCI confirms the cascade
|
|
220
|
+
* asynchronously (YF is already locally Pending at that point, so
|
|
221
|
+
* the KCI is a confirmation, not a state-driving event).
|
|
222
|
+
*/
|
|
223
|
+
requestTenantReappointment(args: RequestTenantReappointmentArgs): Promise<FibreCafeOrderAmendAccept202>;
|
|
173
224
|
/**
|
|
174
225
|
* Sold→Supply dispatch. Existing NET impl returns void after async dispatch
|
|
175
226
|
* (the actual order acknowledgement arrives later as an inbound KCI).
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* invokes `dispatchOrderNotification` / `dispatchSMRNotification` after
|
|
28
28
|
* envelope-mapping; registered handlers are fanned out.
|
|
29
29
|
*/
|
|
30
|
-
import type { WholesaleProvider, CreateOrderOptions, CancellationReasonCode, CancelServiceWorkOrderArgs, ReserveAppointmentArgs, ListAppointmentsArgs, ScheduleServiceWorkOrderArgs, RescheduleServiceWorkOrderArgs, AmendAppointmentArgs, SyncWorkOrderToSupplierArgs, UpdateOrderExternalRefArgs } from '../interface';
|
|
30
|
+
import type { WholesaleProvider, CreateOrderOptions, CancellationReasonCode, CancelServiceWorkOrderArgs, ReserveAppointmentArgs, ListAppointmentsArgs, ScheduleServiceWorkOrderArgs, RescheduleServiceWorkOrderArgs, AmendAppointmentArgs, RequestTenantReappointmentArgs, SyncWorkOrderToSupplierArgs, UpdateOrderExternalRefArgs } from '../interface';
|
|
31
31
|
import type { VMO2OrderNotification, VMO2SMRNotification } from '../types/vmo2';
|
|
32
32
|
import type { FibreCafeServiceAvailability200, FibreCafeAvailableAppointments200, FibreCafeReserveAppointment201, FibreCafeScheduleServiceWorkOrder201, FibreCafeRescheduleServiceWorkOrder200, FibreCafeOrderCreate202, FibreCafeOrderAmendAccept202, FibreCafeKciDto } from '../types/fibrecafe';
|
|
33
33
|
/**
|
|
@@ -56,6 +56,7 @@ export interface NetomniaProviderDeps<TPrincipal = unknown, TKci = FibreCafeKciD
|
|
|
56
56
|
scheduleServiceWorkOrder: (args: ScheduleServiceWorkOrderArgs) => Promise<FibreCafeScheduleServiceWorkOrder201>;
|
|
57
57
|
rescheduleServiceWorkOrder: (args: RescheduleServiceWorkOrderArgs) => Promise<FibreCafeRescheduleServiceWorkOrder200>;
|
|
58
58
|
amendAppointment: (args: AmendAppointmentArgs) => Promise<FibreCafeOrderAmendAccept202>;
|
|
59
|
+
requestTenantReappointment: (args: RequestTenantReappointmentArgs) => Promise<FibreCafeOrderAmendAccept202>;
|
|
59
60
|
createOrder: (principal: TPrincipal, orderId: string, options?: CreateOrderOptions) => Promise<void>;
|
|
60
61
|
amendOrder: (principal: TPrincipal, yfOrderId: string) => Promise<FibreCafeOrderCreate202 | null>;
|
|
61
62
|
cancelOrder: (yfOrderId: string, reasonCode: CancellationReasonCode) => Promise<FibreCafeOrderCreate202>;
|
|
@@ -79,6 +80,7 @@ export declare class NetomniaProvider<TPrincipal = unknown> implements Wholesale
|
|
|
79
80
|
scheduleServiceWorkOrder(args: ScheduleServiceWorkOrderArgs): Promise<FibreCafeScheduleServiceWorkOrder201>;
|
|
80
81
|
rescheduleServiceWorkOrder(args: RescheduleServiceWorkOrderArgs): Promise<FibreCafeRescheduleServiceWorkOrder200>;
|
|
81
82
|
amendAppointment(args: AmendAppointmentArgs): Promise<FibreCafeOrderAmendAccept202>;
|
|
83
|
+
requestTenantReappointment(args: RequestTenantReappointmentArgs): Promise<FibreCafeOrderAmendAccept202>;
|
|
82
84
|
createOrder(principal: TPrincipal, orderId: string, options?: CreateOrderOptions): Promise<void>;
|
|
83
85
|
amendOrder(principal: TPrincipal, yfOrderId: string): Promise<FibreCafeOrderCreate202>;
|
|
84
86
|
cancelOrder(yfOrderId: string, reasonCode: CancellationReasonCode): Promise<FibreCafeOrderCreate202>;
|
|
@@ -35,6 +35,9 @@ class NetomniaProvider {
|
|
|
35
35
|
amendAppointment(args) {
|
|
36
36
|
return this.deps.amendAppointment(args);
|
|
37
37
|
}
|
|
38
|
+
requestTenantReappointment(args) {
|
|
39
|
+
return this.deps.requestTenantReappointment(args);
|
|
40
|
+
}
|
|
38
41
|
createOrder(principal, orderId, options) {
|
|
39
42
|
return this.deps.createOrder(principal, orderId, options);
|
|
40
43
|
}
|
|
@@ -68,6 +68,7 @@ function buildDeps() {
|
|
|
68
68
|
scheduleServiceWorkOrder: { workOrderId: 'WO-1', appointmentId: 'APT-1' },
|
|
69
69
|
rescheduleServiceWorkOrder: { workOrderId: 'WO-1', appointmentId: 'APT-2' },
|
|
70
70
|
amendAppointment: {},
|
|
71
|
+
requestTenantReappointment: {},
|
|
71
72
|
amendOrder: {},
|
|
72
73
|
cancelOrder: {},
|
|
73
74
|
ceaseOrder: {},
|
|
@@ -98,6 +99,10 @@ function buildDeps() {
|
|
|
98
99
|
log.push({ method: 'amendAppointment', args: [args] });
|
|
99
100
|
return Promise.resolve(stubs.amendAppointment);
|
|
100
101
|
},
|
|
102
|
+
requestTenantReappointment: (args) => {
|
|
103
|
+
log.push({ method: 'requestTenantReappointment', args: [args] });
|
|
104
|
+
return Promise.resolve(stubs.requestTenantReappointment);
|
|
105
|
+
},
|
|
101
106
|
createOrder: (principal, orderId, options) => {
|
|
102
107
|
log.push({ method: 'createOrder', args: [principal, orderId, options] });
|
|
103
108
|
return Promise.resolve();
|
|
@@ -221,6 +226,29 @@ function run() {
|
|
|
221
226
|
assert('called once', log.length === 1);
|
|
222
227
|
assert('correct method', log[0].method === 'amendAppointment');
|
|
223
228
|
}
|
|
229
|
+
console.log('Test: requestTenantReappointment delegates to deps with reason (identity equality)');
|
|
230
|
+
{
|
|
231
|
+
const { deps, log } = buildDeps();
|
|
232
|
+
const p = new netomnia_provider_1.NetomniaProvider(deps);
|
|
233
|
+
const args = { yfOrderId: 'ORD-1', yfWorkOrderId: 'WO-1', reason: 'mandate-missing' };
|
|
234
|
+
yield p.requestTenantReappointment(args);
|
|
235
|
+
assert('called once', log.length === 1);
|
|
236
|
+
assert('correct method', log[0].method === 'requestTenantReappointment');
|
|
237
|
+
// Identity equality — catches accidental `{...args}` / `Object.assign({}, args)`
|
|
238
|
+
// copies in a future refactor that would silently strip new fields.
|
|
239
|
+
assert('args forwarded by reference', log[0].args[0] === args);
|
|
240
|
+
}
|
|
241
|
+
console.log('Test: requestTenantReappointment delegates without reason (optional arg)');
|
|
242
|
+
{
|
|
243
|
+
const { deps, log } = buildDeps();
|
|
244
|
+
const p = new netomnia_provider_1.NetomniaProvider(deps);
|
|
245
|
+
const args = { yfOrderId: 'ORD-2', yfWorkOrderId: 'WO-2' };
|
|
246
|
+
yield p.requestTenantReappointment(args);
|
|
247
|
+
assert('called once', log.length === 1);
|
|
248
|
+
assert('correct method', log[0].method === 'requestTenantReappointment');
|
|
249
|
+
assert('args forwarded by reference', log[0].args[0] === args);
|
|
250
|
+
assert('reason absent', log[0].args[0].reason === undefined);
|
|
251
|
+
}
|
|
224
252
|
console.log('Test: createOrder delegates to deps with all args (principal, orderId, options)');
|
|
225
253
|
{
|
|
226
254
|
const { deps, log } = buildDeps();
|