@d19n/youfibre-odin-sdk 2.0.122 → 2.0.124

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.
Files changed (60) hide show
  1. package/README.md +6 -2
  2. package/dist/EntityRegistry.d.ts +2 -0
  3. package/dist/EntityRegistry.js +2 -0
  4. package/dist/OdinApiClient.d.ts +4 -0
  5. package/dist/OdinApiClient.js +8 -0
  6. package/dist/OdinDbClient.d.ts +4 -0
  7. package/dist/OdinDbClient.js +8 -0
  8. package/dist/accessors-v2/YfFieldServiceVisitAccessor.d.ts +111 -0
  9. package/dist/accessors-v2/YfFieldServiceVisitAccessor.js +190 -0
  10. package/dist/accessors-v2/index.d.ts +1 -0
  11. package/dist/accessors-v2/index.js +3 -1
  12. package/dist/actions-v2/CompleteServiceWorkOrderFlowDto.d.ts +1026 -3
  13. package/dist/actions-v2/CompleteServiceWorkOrderFlowDto.js +115 -2
  14. package/dist/actions-v2/CreateContactDto.d.ts +7 -7
  15. package/dist/actions-v2/CreateInboundCallDto.d.ts +33 -1
  16. package/dist/actions-v2/CreateLeadFromAddressDto.d.ts +7 -7
  17. package/dist/actions-v2/MoveCaseToClosedWithAdditionalNoteDto.d.ts +172 -0
  18. package/dist/actions-v2/MoveCaseToClosedWithAdditionalNoteDto.js +122 -0
  19. package/dist/actions-v2/UpdateAdditionalCareDto.d.ts +28 -29
  20. package/dist/actions-v2/UpdateAdditionalNoteDto.d.ts +73 -0
  21. package/dist/actions-v2/UpdateAdditionalNoteDto.js +56 -0
  22. package/dist/actions-v2/UpdateContactDto.d.ts +28 -29
  23. package/dist/api-sdk-v2/AddressApi.d.ts +2 -0
  24. package/dist/api-sdk-v2/AddressApi.js +6 -0
  25. package/dist/api-sdk-v2/ContactApi.d.ts +2 -2
  26. package/dist/api-sdk-v2/ContactApi.js +6 -6
  27. package/dist/api-sdk-v2/YfFieldServiceVisitApi.d.ts +2 -0
  28. package/dist/api-sdk-v2/YfFieldServiceVisitApi.js +6 -0
  29. package/dist/db-accessors-v2/YfFieldServiceVisitDbAccessor.d.ts +149 -0
  30. package/dist/db-accessors-v2/YfFieldServiceVisitDbAccessor.js +227 -0
  31. package/dist/db-accessors-v2/index.d.ts +1 -0
  32. package/dist/db-accessors-v2/index.js +3 -1
  33. package/dist/db-sdk-v2/AddressDb.d.ts +2 -0
  34. package/dist/db-sdk-v2/AddressDb.js +6 -0
  35. package/dist/db-sdk-v2/ContactDb.d.ts +2 -2
  36. package/dist/db-sdk-v2/ContactDb.js +6 -6
  37. package/dist/db-sdk-v2/YfFieldServiceVisitDb.d.ts +2 -0
  38. package/dist/db-sdk-v2/YfFieldServiceVisitDb.js +6 -0
  39. package/dist/entities-v2/Address.d.ts +3 -0
  40. package/dist/entities-v2/Contact.d.ts +88 -89
  41. package/dist/entities-v2/Contact.js +58 -59
  42. package/dist/entities-v2/YfFieldServiceVisit.d.ts +20 -13
  43. package/dist/entities-v2/YfFieldServiceVisit.js +7 -3
  44. package/dist/records-v2/AddressRecord.d.ts +20 -0
  45. package/dist/records-v2/AddressRecord.js +33 -0
  46. package/dist/records-v2/CaseRecord.d.ts +113 -0
  47. package/dist/records-v2/CaseRecord.js +164 -1
  48. package/dist/records-v2/ContactRecord.d.ts +20 -20
  49. package/dist/records-v2/ContactRecord.js +33 -33
  50. package/dist/records-v2/FileRecord.d.ts +20 -0
  51. package/dist/records-v2/FileRecord.js +33 -0
  52. package/dist/records-v2/NoteRecord.d.ts +20 -0
  53. package/dist/records-v2/NoteRecord.js +33 -0
  54. package/dist/records-v2/WorkOrderRecord.d.ts +98 -8
  55. package/dist/records-v2/WorkOrderRecord.js +169 -10
  56. package/dist/records-v2/YfFieldServiceVisitRecord.d.ts +265 -0
  57. package/dist/records-v2/YfFieldServiceVisitRecord.js +379 -0
  58. package/dist/records-v2/index.d.ts +1 -0
  59. package/dist/records-v2/index.js +8 -5
  60. package/package.json +1 -1
@@ -11,7 +11,1019 @@
11
11
  *
12
12
  * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
13
  */
14
- import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
14
+ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
15
+ /**
16
+ * Properties for CompleteServiceWorkOrder action
17
+ *
18
+ * @property Required fields: 1
19
+ * @property Optional fields: 6
20
+ */
21
+ export interface CompleteServiceWorkOrderProperties {
22
+ /**
23
+ * outcome of service visit
24
+ *
25
+ * Outcome of service visit (Field Operations - WorkOrder)
26
+ * @type {ENUM}
27
+ * @required
28
+ */
29
+ OutcomeOfServiceVisit: string;
30
+ /**
31
+ * contractor comments
32
+ *
33
+ * contractor comments (Field Operations - WorkOrder)
34
+ * @type {ENUM}
35
+ */
36
+ ContractorComments?: string | null;
37
+ /**
38
+ * engineer
39
+ *
40
+ * Reference identifier for WorkOrder relationships. Used for data integrity.
41
+ * @type {LOOKUP}
42
+ */
43
+ EngineerId?: string | null;
44
+ /**
45
+ * Earlier Availability
46
+ *
47
+ * Earlier Availability (Field Operations - WorkOrder)
48
+ * @type {BOOLEAN}
49
+ */
50
+ EarlierAvailability?: boolean | null;
51
+ /**
52
+ * service call reason
53
+ *
54
+ * the reason for the service call (Field Operations - WorkOrder)
55
+ * @type {ENUM}
56
+ */
57
+ ServiceCallReason?: string | null;
58
+ /**
59
+ * TLOS Verified
60
+ *
61
+ * Total loss of service verification indicator (Field Operations - WorkOrder)
62
+ * @type {BOOLEAN}
63
+ */
64
+ TLOSVerified?: boolean | null;
65
+ /**
66
+ * Is VIP
67
+ *
68
+ * Check if this is a VIP work order (Field Operations - WorkOrder)
69
+ * @type {BOOLEAN}
70
+ */
71
+ IsVIP?: boolean | null;
72
+ }
73
+ /**
74
+ * CompleteServiceWorkOrder
75
+ *
76
+ * This action is for completing a service work order
77
+ *
78
+ * @actionType UPDATE - Updates an existing WorkOrder record
79
+ * @module FieldServiceModule
80
+ * @entity WorkOrder
81
+ * @entityType SERVICE (service)
82
+ * @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.CompleteServiceWorkOrder
83
+ * @permission schema.action.completeserviceworkorder.trigger
84
+ * @benchmark This action is tracked for performance benchmarks
85
+ */
86
+ export declare class CompleteServiceWorkOrderDto extends OdinRecordUpdateDto<CompleteServiceWorkOrderProperties> {
87
+ /** Used by SDK generators to identify action type */
88
+ static readonly ACTION_TYPE = "UPDATE";
89
+ static readonly ACTION_KEY = "CompleteServiceWorkOrder";
90
+ static readonly MODULE_NAME = "FieldServiceModule";
91
+ static readonly ENTITIES: string[];
92
+ static readonly ENTITY_TYPE = "SERVICE";
93
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.CompleteServiceWorkOrder";
94
+ static readonly PERMISSION = "schema.action.completeserviceworkorder.trigger";
95
+ /** Step metadata - entity this action targets */
96
+ static readonly STEP_ENTITY = "FieldServiceModule:WorkOrder";
97
+ static readonly STEP_SCHEMA_ID = "966bf5d9-163e-4132-85e2-56a5f801c9de";
98
+ static readonly STEP_SCHEMA_ACTION_ID = "b1b4ac0d-2c94-4424-86df-42feea508845";
99
+ static readonly STEP_SCHEMA_TYPE_ID = "f7ca5acc-acaa-45b6-bc67-cff043bdfdc6";
100
+ static readonly STEP_TYPE = "SERVICE";
101
+ static readonly AUTO_LINK_PARENT = false;
102
+ readonly actionName: string;
103
+ readonly schemaActionId: string;
104
+ readonly entity: string;
105
+ constructor(record: OdinRecord<any> | {
106
+ id: string;
107
+ entity: string;
108
+ type?: string;
109
+ }, properties: CompleteServiceWorkOrderProperties, options?: {
110
+ journeyId?: string;
111
+ stageKey?: string;
112
+ });
113
+ }
114
+ /**
115
+ * Properties for YfFieldServiceVisitAudit action
116
+ *
117
+ * @property Required fields: 82
118
+ * @property Optional fields: 13
119
+ */
120
+ export interface YfFieldServiceVisitAuditProperties {
121
+ /**
122
+ * Location
123
+ *
124
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
125
+ * @type {LOOKUP}
126
+ * @required
127
+ */
128
+ Location: string;
129
+ /**
130
+ * It is safe to enter and exit the property/building/communal areas?
131
+ *
132
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
133
+ * @type {ENUM}
134
+ * @required
135
+ */
136
+ SafeToEnter: string;
137
+ /**
138
+ * I am confident my work will not disturb asbestos containing materials.
139
+ *
140
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
141
+ * @type {ENUM}
142
+ * @required
143
+ */
144
+ AsbestosMaterials: string;
145
+ /**
146
+ * I have received the relevant training to carry out the work required (I.e Asbestos, Work at Height, Confined Spaces, Gas, Electrics, and Manual Handling – Heavy lifting).
147
+ *
148
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
149
+ * @type {ENUM}
150
+ * @required
151
+ */
152
+ RelevantTraining: string;
153
+ /**
154
+ * My working environment is safe (no sharps, aggressive animals/tenants, unsanitary working conditions).
155
+ *
156
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
157
+ * @type {ENUM}
158
+ * @required
159
+ */
160
+ WorkEnvironmentSafe: string;
161
+ /**
162
+ * What makes your working environment unsafe?
163
+ *
164
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
165
+ * @type {TEXT_LONG}
166
+ * @required
167
+ * @visibleWhen WorkEnvironmentSafe = ["NO"]
168
+ */
169
+ WorkEnvironmentUnsafe: string;
170
+ /**
171
+ * Please capture images
172
+ *
173
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
174
+ * @type {FILE_MULTIPLE}
175
+ * @required
176
+ * @visibleWhen WorkEnvironmentSafe = ["NO"]
177
+ */
178
+ WorkEnvironmentUnsafePhoto: string;
179
+ /**
180
+ * My working area is free of materials or equipment that could be dangerous (asbestos, chemicals, tenants belongings)?
181
+ *
182
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
183
+ * @type {ENUM}
184
+ * @required
185
+ */
186
+ WorkingAreaFreeOfDangerousMaterials: string;
187
+ /**
188
+ * An adult (over 18) will be present in the property at all times.
189
+ *
190
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
191
+ * @type {ENUM}
192
+ * @required
193
+ */
194
+ AdultPresent: string;
195
+ /**
196
+ * I confirm fire exits and/or escape routes will not be obstructed by my work.
197
+ *
198
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
199
+ * @type {ENUM}
200
+ * @required
201
+ */
202
+ FireExits: string;
203
+ /**
204
+ * I confirm I will not create fumes, odours or anything likely to cause nuisance during and after works.
205
+ *
206
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
207
+ * @type {ENUM}
208
+ * @required
209
+ */
210
+ FumesNotCreated: string;
211
+ /**
212
+ * Engineer diagnosis : ( this is used to check if the visit was booked under the correct type, so pick the correct option once you have validated the reason directly with the CM).
213
+ *
214
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
215
+ * @type {ENUM}
216
+ * @required
217
+ */
218
+ EngineerDiagnosis: string;
219
+ /**
220
+ * Will the customer benefit from YouMesh?
221
+ *
222
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
223
+ * @type {ENUM}
224
+ * @required
225
+ * @visibleWhen EngineerDiagnosis = ["NEW_INSTALL_SETUP"]
226
+ */
227
+ YouMeshCustomerBenefit: string;
228
+ /**
229
+ * Offer this solution, factoring in guidelines for YouMesh based on property size. If accepted, install this and demo to the CM. Call CS to add this cost to the customers account.
230
+ *
231
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
232
+ * @type {ENUM}
233
+ * @required
234
+ * @visibleWhen YouMeshCustomerBenefit = ["YES"]
235
+ */
236
+ YouMeshCustomerOutcome: string;
237
+ /**
238
+ * Will the customer benefit from YouPhone?
239
+ *
240
+ * Contact information field for YfFieldServiceVisit. Used by Field Operations team for communication.
241
+ * @type {ENUM}
242
+ * @required
243
+ * @visibleWhen EngineerDiagnosis = ["NEW_INSTALL_SETUP"]
244
+ */
245
+ YouPhoneCustomerBenefit: string;
246
+ /**
247
+ * Offer this solution, factoring in, if the customer wishes to retain an existing number. If accepted, install this by swapping ONT. Call CS to add this cost to the customer account / arrange retaining thier number.
248
+ *
249
+ * Contact information field for YfFieldServiceVisit. Used by Field Operations team for communication.
250
+ * @type {ENUM}
251
+ * @required
252
+ * @visibleWhen YouPhoneCustomerBenefit = ["YES"]
253
+ */
254
+ YouPhoneCustomerOutcome: string;
255
+ /**
256
+ * What are you replacing?
257
+ *
258
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
259
+ * @type {ENUM}
260
+ * @required
261
+ * @visibleWhen EngineerDiagnosis = ["EQUIPMENT_REPLACEMENT_FAULTY"]
262
+ */
263
+ WhatAreYouReplacing1: string;
264
+ /**
265
+ * Does the Customer report any other concerns?
266
+ *
267
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
268
+ * @type {ENUM}
269
+ * @required
270
+ * @visibleWhen EngineerDiagnosis = ["EQUIPMENT_REPLACEMENT_FAULTY"]
271
+ */
272
+ CustomerOtherConcerns: string;
273
+ /**
274
+ * Write which other concerns customer is reporting.
275
+ *
276
+ * Free-text notes field for YfFieldServiceVisit. Used by Field Operations team for documentation.
277
+ * @type {TEXT_LONG}
278
+ * @required
279
+ * @visibleWhen CustomerOtherConcerns = ["YES"]
280
+ */
281
+ OtherConcernsDescription: string;
282
+ /**
283
+ * Is this the first time Mesh is being installed?
284
+ *
285
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
286
+ * @type {ENUM}
287
+ * @required
288
+ * @visibleWhen EngineerDiagnosis = ["INSTALL_MESH"]
289
+ */
290
+ YouMeshInstalledFirstTime: string;
291
+ /**
292
+ * Please include a screenshot of the Network Topology from Eero insights before you add Mesh.
293
+ *
294
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
295
+ * @type {FILE_MULTIPLE}
296
+ * @required
297
+ * @visibleWhen YouMeshInstalledFirstTime = ["NO"]
298
+ */
299
+ NetworkTopologyPhoto: string;
300
+ /**
301
+ * Go to the problem area & perfrom a Wi-Fi speedtest using EX1 before adding Mesh - this is to show a clear improvement once it is installed.
302
+ *
303
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
304
+ * @type {FILE_MULTIPLE}
305
+ * @required
306
+ * @visibleWhen EngineerDiagnosis = ["INSTALL_MESH"]
307
+ */
308
+ WiFiSpeedTest: string;
309
+ /**
310
+ * What are you going to hardwire?
311
+ *
312
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
313
+ * @type {TEXT_LONG}
314
+ * @required
315
+ * @visibleWhen EngineerDiagnosis = ["HARDWIRE_DEVICES"]
316
+ */
317
+ HardWireDevices: string;
318
+ /**
319
+ * Go to the worst-performing location and perform one Wi-Fi speed test using approved test equipment. Save and attach a screenshot or test report once complete.
320
+ *
321
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
322
+ * @type {FILE_MULTIPLE}
323
+ * @required
324
+ * @visibleWhen EngineerDiagnosis = ["SLOW_SPEEDS"]
325
+ */
326
+ WiFiSpeedTestWorstLocation: string;
327
+ /**
328
+ * Hardwire EX1 to router and complete speedtest Screen Shot of EX1 Report by tapping the clipboard icon awaiting the report to generate then attach to form.
329
+ *
330
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
331
+ * @type {FILE_MULTIPLE}
332
+ * @required
333
+ * @visibleWhen EngineerDiagnosis = ["CONNECTION_DROP_OUTS"]
334
+ */
335
+ EX1Report1: string;
336
+ /**
337
+ * If a particular area is impacted, go to this location and perform 1 Wi-Fi Speedtest using the EX1 Screen Shot of EX1 Report by tapping the clipboard icon awating the report ro generate then attach to form. If a particular area is impacted, go to this location and perform 1 Wi-Fi Speedtest using the EX1 Screen Shot of EX1 Report by tapping the clipboard icon awating the report ro generate then attach to form. Turn on screen reader support. To enable screen reader support, press Ctrl+Alt+Z To learn about keyboard shortcuts, press Ctrl+slash.
338
+ *
339
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
340
+ * @type {FILE_MULTIPLE}
341
+ * @required
342
+ * @visibleWhen EngineerDiagnosis = ["CONNECTION_DROP_OUTS"]
343
+ */
344
+ EX1Report2: string;
345
+ /**
346
+ * Go to the problem location and perform 1 Wi-Fi Speedtest using the EX1 - include screen shot of Eero insights network topology. Attach PDF results
347
+ *
348
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
349
+ * @type {FILE_MULTIPLE}
350
+ * @required
351
+ * @visibleWhen EngineerDiagnosis = ["WIFI_COVERAGE_ISSUE"]
352
+ */
353
+ WiFiCoverageReport: string;
354
+ /**
355
+ * Go to the problem location and perform 1 Wi-Fi Speedtest using the EX1 Screen Shot of EX1 Report by tapping the clipboard icon awating the report ro generate then attach to form. Go to the problem location and perform 1 Wi-Fi Speedtest using the EX1. Screen Shot of EX1 Report by tapping the clipboard icon awating the report ro generate then attach to form. Turn on screen reader support. To enable screen reader support, press Ctrl+Alt+Z. To learn about keyboard shortcuts, press Ctrl+slash.
356
+ *
357
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
358
+ * @type {FILE_MULTIPLE}
359
+ * @required
360
+ * @visibleWhen EngineerDiagnosis = ["WIFI_INTERFERENCE_ISSUE"]
361
+ */
362
+ WiFiInterferenceReport: string;
363
+ /**
364
+ * What is the device having the issue?
365
+ *
366
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
367
+ * @type {TEXT}
368
+ * @required
369
+ * @visibleWhen EngineerDiagnosis = ["DEVICE_ISSUE"]
370
+ */
371
+ DeviceReport1: string;
372
+ /**
373
+ * Have you checked the CUI database?
374
+ *
375
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
376
+ * @type {ENUM}
377
+ * @required
378
+ * @visibleWhen EngineerDiagnosis = ["DEVICE_ISSUE"]
379
+ */
380
+ DeviceReport2: string;
381
+ /**
382
+ * What is the other device?
383
+ *
384
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
385
+ * @type {TEXT}
386
+ * @required
387
+ * @visibleWhen EngineerDiagnosis = ["OTHER_DEVICE_ISSUE"]
388
+ */
389
+ OtherDeviceReport1: string;
390
+ /**
391
+ * Have you checked the CUI database?
392
+ *
393
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
394
+ * @type {ENUM}
395
+ * @required
396
+ * @visibleWhen EngineerDiagnosis = ["OTHER_DEVICE_ISSUE"]
397
+ */
398
+ OtherDeviceReport2: string;
399
+ /**
400
+ * What does the customer need help with?
401
+ *
402
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
403
+ * @type {TEXT_LONG}
404
+ * @required
405
+ * @visibleWhen EngineerDiagnosis = ["CM_TRAINING"]
406
+ */
407
+ CMTraining: string;
408
+ /**
409
+ * What is the issue?
410
+ *
411
+ * Contact information field for YfFieldServiceVisit. Used by Field Operations team for communication.
412
+ * @type {TEXT_LONG}
413
+ * @required
414
+ * @visibleWhen EngineerDiagnosis = ["YOUPHONE_ISSUE"]
415
+ */
416
+ YouPhoneReport1: string;
417
+ /**
418
+ * How many times has a engineer been regarding this issue?
419
+ *
420
+ * Contact information field for YfFieldServiceVisit. Used by Field Operations team for communication.
421
+ * @type {TEXT_LONG}
422
+ * @required
423
+ * @visibleWhen EngineerDiagnosis = ["YOUPHONE_ISSUE"]
424
+ */
425
+ YouPhoneReport2: string;
426
+ /**
427
+ * Have you swapped and provisioned the ONT?
428
+ *
429
+ * Contact information field for YfFieldServiceVisit. Used by Field Operations team for communication.
430
+ * @type {ENUM}
431
+ * @required
432
+ * @visibleWhen EngineerDiagnosis = ["YOUPHONE_ISSUE"]
433
+ */
434
+ YouPhoneReport3: string;
435
+ /**
436
+ * ONT location within property
437
+ *
438
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
439
+ * @type {TEXT_LONG}
440
+ * @required
441
+ * @visibleWhen FaultResolvedEngineer = ["YES"]
442
+ */
443
+ ONTLocationProperty: string;
444
+ /**
445
+ * Main Router location within property
446
+ *
447
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
448
+ * @type {TEXT_LONG}
449
+ * @required
450
+ * @visibleWhen FaultResolvedEngineer = ["YES"]
451
+ */
452
+ RouterLocationProperty: string;
453
+ /**
454
+ * Serial number of Main Router
455
+ *
456
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
457
+ * @type {ALPHA_NUMERICAL}
458
+ * @required
459
+ * @visibleWhen FaultResolvedEngineer = ["YES"]
460
+ */
461
+ MainRouterSerial: string;
462
+ /**
463
+ * Does the customer have a Mesh Node installed?
464
+ *
465
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
466
+ * @type {ENUM}
467
+ * @required
468
+ * @visibleWhen FaultResolvedEngineer = ["YES"]
469
+ */
470
+ YouMeshConfirmation: string;
471
+ /**
472
+ * How many mesh nodes are installed?
473
+ *
474
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
475
+ * @type {ENUM}
476
+ * @required
477
+ * @visibleWhen YouMeshConfirmation = ["YES"]
478
+ */
479
+ HowManyYouMeshNodes: string;
480
+ /**
481
+ * Serial number of mesh node 1
482
+ *
483
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
484
+ * @type {ALPHA_NUMERICAL}
485
+ * @required
486
+ * @visibleWhen HowManyYouMeshNodes = [1,2,3,4]
487
+ */
488
+ YouMeshSerial1: string;
489
+ /**
490
+ * Location within property of mesh node 1
491
+ *
492
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
493
+ * @type {TEXT_LONG}
494
+ * @required
495
+ * @visibleWhen HowManyYouMeshNodes = [1,2,3,4]
496
+ */
497
+ YouMeshLocation1: string;
498
+ /**
499
+ * Serial number of mesh node 2
500
+ *
501
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
502
+ * @type {ALPHA_NUMERICAL}
503
+ * @required
504
+ * @visibleWhen HowManyYouMeshNodes = [2,3,4]
505
+ */
506
+ YouMeshSerial2: string;
507
+ /**
508
+ * Location within property of mesh node 2
509
+ *
510
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
511
+ * @type {TEXT_LONG}
512
+ * @required
513
+ * @visibleWhen HowManyYouMeshNodes = [2,3,4]
514
+ */
515
+ YouMeshLocation2: string;
516
+ /**
517
+ * Serial number of mesh node 3
518
+ *
519
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
520
+ * @type {ALPHA_NUMERICAL}
521
+ * @required
522
+ * @visibleWhen HowManyYouMeshNodes = [3,4]
523
+ */
524
+ YouMeshSerial3: string;
525
+ /**
526
+ * Location within property of mesh node 3
527
+ *
528
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
529
+ * @type {TEXT_LONG}
530
+ * @required
531
+ * @visibleWhen HowManyYouMeshNodes = [3,4]
532
+ */
533
+ YouMeshLocation3: string;
534
+ /**
535
+ * Serial number of mesh node 4
536
+ *
537
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
538
+ * @type {ALPHA_NUMERICAL}
539
+ * @required
540
+ * @visibleWhen HowManyYouMeshNodes = [4]
541
+ */
542
+ YouMeshSerial4: string;
543
+ /**
544
+ * Location within property of mesh node 4
545
+ *
546
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
547
+ * @type {TEXT_LONG}
548
+ * @required
549
+ * @visibleWhen HowManyYouMeshNodes = [4]
550
+ */
551
+ YouMeshLocation4: string;
552
+ /**
553
+ * I am able to achieve minimum internet speeds of 20mbps throughout the property.
554
+ *
555
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
556
+ * @type {ENUM}
557
+ * @required
558
+ * @visibleWhen HowManyYouMeshNodes = ["YES"]
559
+ */
560
+ AbleToAchieveMinimumSpeed: string;
561
+ /**
562
+ * I am able to achieve a WiFi signal of -67dBm throughout the property - If not, add a note to give a brief explanation of why not.
563
+ *
564
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
565
+ * @type {ENUM}
566
+ * @required
567
+ * @visibleWhen YouMeshConfirmation = ["YES"]
568
+ */
569
+ AbleToAchieveSignal: string;
570
+ /**
571
+ * Explain why you are not able to achieve WiFi signal of -67dBm?
572
+ *
573
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
574
+ * @type {TEXT_LONG}
575
+ * @required
576
+ * @visibleWhen AbleToAchieveSignal = ["NO"]
577
+ */
578
+ NotAbleToAchieveSignalNote: string;
579
+ /**
580
+ * Perform Wi-Fi speed test in the furthest or problem-affected room using approved test equipment. Attach screenshot or test report once generated.
581
+ *
582
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
583
+ * @type {FILE_MULTIPLE}
584
+ * @required
585
+ * @visibleWhen FaultResolvedEngineer = ["YES"]
586
+ */
587
+ EX1SpeedtestReport: string;
588
+ /**
589
+ * (Summarise the actions taken to resolve the issue, providing sufficient detail to understand the steps and reasoning.)
590
+ *
591
+ * Free-text notes field for YfFieldServiceVisit. Used by Field Operations team for documentation.
592
+ * @type {TEXT_LONG}
593
+ * @required
594
+ * @visibleWhen FaultResolvedEngineer = ["YES"]
595
+ */
596
+ ResolutionNotes: string;
597
+ /**
598
+ * Did you use any network switches?
599
+ *
600
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
601
+ * @type {ENUM}
602
+ * @required
603
+ * @visibleWhen FaultResolvedEngineer = ["YES"]
604
+ */
605
+ NetworkSwitchesUse: string;
606
+ /**
607
+ * Was this approved by your line manager?
608
+ *
609
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
610
+ * @type {ENUM}
611
+ * @required
612
+ * @visibleWhen NetworkSwitchesUse = ["YES"]
613
+ */
614
+ NetworkSwitchesApproval: string;
615
+ /**
616
+ * Please provide justification as to why you could not obtain this.
617
+ *
618
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
619
+ * @type {TEXT_LONG}
620
+ * @required
621
+ * @visibleWhen NetworkSwitchesApproval = ["NO"]
622
+ */
623
+ NetworkSwitchesDenial: string;
624
+ /**
625
+ * I have carried out speed tests throughout the property.
626
+ *
627
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
628
+ * @type {ENUM}
629
+ * @required
630
+ * @visibleWhen FaultResolvedEngineer = ["YES"]
631
+ */
632
+ SpeedTestConfirmation: string;
633
+ /**
634
+ * I have carried out WiFi analysis throughout the property.
635
+ *
636
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
637
+ * @type {ENUM}
638
+ * @required
639
+ * @visibleWhen FaultResolvedEngineer = ["YES"]
640
+ */
641
+ WiFiAnalysisConfirmation: string;
642
+ /**
643
+ * Is the connection completely down?
644
+ *
645
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
646
+ * @type {ENUM}
647
+ * @required
648
+ * @visibleWhen FaultResolvedEngineer = ["NO"]
649
+ */
650
+ ConnectionCompletelyDown: string;
651
+ /**
652
+ * Where is the visible fibre break location?
653
+ *
654
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
655
+ * @type {TEXT_LONG}
656
+ * @required
657
+ * @visibleWhen VisibleFibreBreak = ["YES"]
658
+ */
659
+ VisibleFibreBreakLocation: string;
660
+ /**
661
+ * Attempted resolution:
662
+ *
663
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
664
+ * @type {TEXT_LONG}
665
+ * @required
666
+ * @visibleWhen FaultResolvedEngineer = ["NO"]
667
+ */
668
+ AttemptedResolution: string;
669
+ /**
670
+ * Any other Additional notes you wish to add?
671
+ *
672
+ * Free-text notes field for YfFieldServiceVisit. Used by Field Operations team for documentation.
673
+ * @type {TEXT_LONG}
674
+ * @required
675
+ * @visibleWhen FaultResolvedEngineer = ["NO"]
676
+ */
677
+ AdditionalNotes1: string;
678
+ /**
679
+ * Escalated to manager? (maurice.ridley@youfibre.com)
680
+ *
681
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
682
+ * @type {ENUM}
683
+ * @required
684
+ * @visibleWhen FaultResolvedEngineer = ["NO"]
685
+ */
686
+ EscalatedToManager: string;
687
+ /**
688
+ * Capture end date / time
689
+ *
690
+ * Date field for YfFieldServiceVisit records. Used by Field Operations team.
691
+ * @type {DATE_TIME}
692
+ * @required
693
+ * @visibleWhen FaultResolvedEngineer = ["NO"]
694
+ * @format DD/MM/YYYY hh:mm:ss
695
+ */
696
+ DateTime: string;
697
+ /**
698
+ * What are you installing / replacing?
699
+ *
700
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
701
+ * @type {ENUM_MULTI_SELECT}
702
+ * @required
703
+ * @visibleWhen FaultResolvedEngineer = ["INSTALL_SETUP_REPLACEMENT"]
704
+ */
705
+ WhatAreYouReplacing2: string;
706
+ /**
707
+ * Please capture the serial number of the new Eero 6.
708
+ *
709
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
710
+ * @type {ALPHA_NUMERICAL}
711
+ * @required
712
+ * @visibleWhen WhatAreYouReplacing2 = ["EERO6"]
713
+ */
714
+ Eero6Serial: string;
715
+ /**
716
+ * Please add pictures of the new unit.
717
+ *
718
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
719
+ * @type {FILE_MULTIPLE}
720
+ * @required
721
+ * @visibleWhen WhatAreYouReplacing2 = ["EERO6"]
722
+ */
723
+ Eero6Photo: string;
724
+ /**
725
+ * Please capture the serial number of the new Eero 6 Pro.
726
+ *
727
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
728
+ * @type {ALPHA_NUMERICAL}
729
+ * @required
730
+ * @visibleWhen WhatAreYouReplacing2 = ["EERO6PRO"]
731
+ */
732
+ Eero6ProSerial: string;
733
+ /**
734
+ * Please add pictures of the new unit.
735
+ *
736
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
737
+ * @type {FILE_MULTIPLE}
738
+ * @required
739
+ * @visibleWhen WhatAreYouReplacing2 = ["EERO6PRO"]
740
+ */
741
+ Eero6ProPhoto: string;
742
+ /**
743
+ * Please capture the serial number of the new Eero Pro 6E.
744
+ *
745
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
746
+ * @type {ALPHA_NUMERICAL}
747
+ * @required
748
+ * @visibleWhen WhatAreYouReplacing2 = ["EEROPRO6E"]
749
+ */
750
+ EeroPro6ESerial: string;
751
+ /**
752
+ * Please add pictures of the new unit.
753
+ *
754
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
755
+ * @type {FILE_MULTIPLE}
756
+ * @required
757
+ * @visibleWhen WhatAreYouReplacing2 = ["EEROPRO6E"]
758
+ */
759
+ EeroPro6EPhoto: string;
760
+ /**
761
+ * Please capture the serial number of the new NVG578LX1 Router.
762
+ *
763
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
764
+ * @type {ALPHA_NUMERICAL}
765
+ * @required
766
+ * @visibleWhen WhatAreYouReplacing2 = ["NVG578LX1"]
767
+ */
768
+ NVG578LX1Serial: string;
769
+ /**
770
+ * Please add pictures of the new unit.
771
+ *
772
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
773
+ * @type {FILE_MULTIPLE}
774
+ * @required
775
+ * @visibleWhen WhatAreYouReplacing2 = ["NVG578LX1"]
776
+ */
777
+ NVG578LX1Photo: string;
778
+ /**
779
+ * Please capture the serial number of the new NVG578LX Gateway.
780
+ *
781
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
782
+ * @type {ALPHA_NUMERICAL}
783
+ * @required
784
+ * @visibleWhen WhatAreYouReplacing2 = ["NVG578LX"]
785
+ */
786
+ NVG578LXSerial: string;
787
+ /**
788
+ * Please add pictures of the new unit.
789
+ *
790
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
791
+ * @type {FILE_MULTIPLE}
792
+ * @required
793
+ * @visibleWhen WhatAreYouReplacing2 = ["NVG578LX"]
794
+ */
795
+ NVG578LXPhoto: string;
796
+ /**
797
+ * Please capture the serial number of the new X5042 Extender.
798
+ *
799
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
800
+ * @type {ALPHA_NUMERICAL}
801
+ * @required
802
+ * @visibleWhen WhatAreYouReplacing2 = ["X5042"]
803
+ */
804
+ X5042Serial: string;
805
+ /**
806
+ * Please add pictures of the new unit.
807
+ *
808
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
809
+ * @type {FILE_MULTIPLE}
810
+ * @required
811
+ * @visibleWhen WhatAreYouReplacing2 = ["X5042"]
812
+ */
813
+ X5042Photo: string;
814
+ /**
815
+ * Any other Additional notes you wish to add?
816
+ *
817
+ * Free-text notes field for YfFieldServiceVisit. Used by Field Operations team for documentation.
818
+ * @type {TEXT_LONG}
819
+ * @required
820
+ * @visibleWhen FaultResolvedEngineer = ["INSTALL_SETUP_REPLACEMENT"]
821
+ */
822
+ AdditionalNotes2: string;
823
+ /**
824
+ * If applicable, go to the previous problem area and run another Wi-Fi SpeedTest using the EX1. Hard wire EX1 to router and complete Speedtest to validate their speeds.
825
+ *
826
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
827
+ * @type {FILE_MULTIPLE}
828
+ * @required
829
+ * @visibleWhen FaultResolvedEngineer = ["INSTALL_SETUP_REPLACEMENT"]
830
+ */
831
+ SecondSpeedTest: string;
832
+ /**
833
+ * Customer Signature
834
+ *
835
+ * Customer Signature (Field Operations - YfFieldServiceVisit)
836
+ * @type {SIGNATURE}
837
+ * @required
838
+ * @visibleWhen FaultResolvedEngineer = ["YES","INSTALL_SETUP_REPLACEMENT"]
839
+ */
840
+ CustomerSignature: undefined;
841
+ /**
842
+ * Engineer Signature
843
+ *
844
+ * Engineer Signature (Field Operations - YfFieldServiceVisit)
845
+ * @type {SIGNATURE}
846
+ * @required
847
+ * @visibleWhen FaultResolvedEngineer = ["YES","INSTALL_SETUP_REPLACEMENT"]
848
+ */
849
+ EngineerSignature: undefined;
850
+ /**
851
+ * Service visit Date and Time:
852
+ *
853
+ * Service visit Date and Time: (Field Operations - YfFieldServiceVisit)
854
+ * @type {DATE_TIME}
855
+ * @default Dynamic: {date_today}
856
+ * @format DD/MM/YYYY hh:mm:ss
857
+ */
858
+ ServiceVisitDateTime?: string | null;
859
+ /**
860
+ * Engineer Names
861
+ *
862
+ * Service engineer names (Field Operations - YfFieldServiceVisit)
863
+ * @type {NAME}
864
+ * @default Dynamic: {source_record_properties_EngineerName}
865
+ */
866
+ EngineerNames?: string | null;
867
+ /**
868
+ * Work Order Number
869
+ *
870
+ * e.g. (WO12345) (Field Operations - YfFieldServiceVisit)
871
+ * @type {ALPHA_NUMERICAL}
872
+ * @default Dynamic: {source_record_recordNumber}
873
+ */
874
+ WorkOrderNumber?: string | null;
875
+ /**
876
+ * Visit can not go ahead, please contact manager to reschedule. Check the box to confirm.
877
+ *
878
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
879
+ * @type {BOOLEAN}
880
+ */
881
+ CantContinueVisit?: boolean | null;
882
+ /**
883
+ * I confirm that I have completed this risk assessment BEFORE starting any work.
884
+ *
885
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
886
+ * @type {BOOLEAN}
887
+ */
888
+ RiskAssessmentConsent?: boolean | null;
889
+ /**
890
+ * Start your PRE fault investigation (BEFORE CHANGING ANYTHING). Speed tests must be completed using approved test equipment. This is mandatory unless authorised by a Supervisor. All results must be attached as screenshots or clear images (not PDFs). I confirm I have read these instructions.
891
+ *
892
+ * Reference identifier for YfFieldServiceVisit relationships. Used for data integrity.
893
+ * @type {BOOLEAN}
894
+ */
895
+ PreFaultInvestigationConsent?: boolean | null;
896
+ /**
897
+ * Remember that if a customer wants to have ANYTIME calls as opposed to evening & weekends, it’s only £5 more for this. YouPhone (evening after 19:00 & weekends) £3PM YouPhone Plus (Anytime) £8PM *applies to landline calls only - calls automatically disconnect at the hour duration to avoid charges* Confirm
898
+ *
899
+ * Monetary value field for YfFieldServiceVisit. Used by Field Operations team for financial tracking.
900
+ * @type {BOOLEAN}
901
+ * @visibleWhen EngineerDiagnosis = ["INSTALL_PHONE"]
902
+ */
903
+ YouPhonePriceConfirmation?: boolean | null;
904
+ /**
905
+ * If the issue still present, please call CS to escalate.
906
+ *
907
+ * Contact information field for YfFieldServiceVisit. Used by Field Operations team for communication.
908
+ * @type {BOOLEAN}
909
+ * @visibleWhen EngineerDiagnosis = ["YOUPHONE_ISSUE"]
910
+ */
911
+ YouPhoneEscalate?: boolean | null;
912
+ /**
913
+ * Start your POST fault investigation (AFTER MAKING CHANGES). Complete this section only after changes have been implemented. I confirm I have read these instructions.
914
+ *
915
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
916
+ * @type {BOOLEAN}
917
+ */
918
+ PostFaultInvestigationConsent?: boolean | null;
919
+ /**
920
+ * Can this fault be resolved by the attending engineer? If it is an installation, upgrade, or replacement, select “Install/Setup/Replacement.” For all other resolvable issues, select “Yes” and continue with the form.
921
+ *
922
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
923
+ * @type {ENUM}
924
+ */
925
+ FaultResolvedEngineer?: string | null;
926
+ /**
927
+ * Wi-Fi analysis of the property should be at the furthest location from he router or gateway using approved diagnostic tools. Include a screenshot or report showing signal strength and network topology. A minimum signal strength of -65 dB and a minimum speed of 20 Mbps should be achieved throughout the property. If these standards cannot be met, propose an improvement plan agreed with a Supervisor (e.g. additional mesh nodes or powerline adaptors). I confirm I have read these instructions.
928
+ *
929
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
930
+ * @type {BOOLEAN}
931
+ * @visibleWhen FaultResolvedEngineer = ["YES"]
932
+ */
933
+ WiFiAnalysisConsent?: boolean | null;
934
+ /**
935
+ * Is there a visible fibre break?
936
+ *
937
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
938
+ * @type {ENUM}
939
+ */
940
+ VisibleFibreBreak?: string | null;
941
+ /**
942
+ * I/We acknowledge that the work has been completed in a professional and courteous manner I/We confirm that the site has been left in a clean and tidy condition I/We am aware of the WiFi coverage around the property, and, if required, know what improvements are required I/We confirm that the fault/complaint/upgrade has been attended to and fully resolved. I/We confirm that the Gateway/Router/Mesh Nodes are provided on a lease basis and remain the property of the service provider. I am happy with my setup and all queries have been covered.
943
+ *
944
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
945
+ * @type {BOOLEAN}
946
+ * @visibleWhen FaultResolvedEngineer = ["YES","INSTALL_SETUP_REPLACEMENT"]
947
+ */
948
+ CustomerConfirmation?: boolean | null;
949
+ }
950
+ /**
951
+ * YF Field Service Visit Audit
952
+ *
953
+ * YF Field Service Visit Audit
954
+ *
955
+ * @actionType CREATE - Creates a new YfFieldServiceVisit record
956
+ * @module FieldServiceModule
957
+ * @entity YfFieldServiceVisit
958
+ * @entityType OUTCOME_FORM (outcome form)
959
+ * @event k1.t-hEOJjsDb.FieldServiceModule.YfFieldServiceVisit.Create.YfFieldServiceVisitAudit
960
+ * @permission schema.action.yffieldservicevisitaudit.trigger
961
+ * @benchmark This action is tracked for performance benchmarks
962
+ */
963
+ export declare class YfFieldServiceVisitAuditDto extends OdinRecordCreateDto<YfFieldServiceVisitAuditProperties> {
964
+ /** Used by SDK generators to identify action type */
965
+ static readonly ACTION_TYPE = "CREATE";
966
+ static readonly ACTION_KEY = "YfFieldServiceVisitAudit";
967
+ static readonly MODULE_NAME = "FieldServiceModule";
968
+ static readonly ENTITIES: string[];
969
+ static readonly ENTITY_TYPE = "OUTCOME_FORM";
970
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.YfFieldServiceVisit.Create.YfFieldServiceVisitAudit";
971
+ static readonly PERMISSION = "schema.action.yffieldservicevisitaudit.trigger";
972
+ /** Step metadata - entity this action targets */
973
+ static readonly STEP_ENTITY = "FieldServiceModule:YfFieldServiceVisit";
974
+ static readonly STEP_SCHEMA_ID = "cfc6080c-1f99-4b1b-af2a-38f16c6cec4c";
975
+ static readonly STEP_SCHEMA_ACTION_ID = "191bd652-75b8-4073-9fc5-ab3ad83670dc";
976
+ static readonly STEP_SCHEMA_TYPE_ID = "c79a7012-23b6-4db5-b178-355071ac07e4";
977
+ static readonly STEP_TYPE = "OUTCOME_FORM";
978
+ static readonly AUTO_LINK_PARENT = true;
979
+ readonly actionName: string;
980
+ readonly schemaActionId: string;
981
+ readonly entity: string;
982
+ constructor(properties: YfFieldServiceVisitAuditProperties, options?: {
983
+ journeyId?: string;
984
+ });
985
+ }
986
+ declare type StepClassMap = {
987
+ CompleteServiceWorkOrderDto: CompleteServiceWorkOrderDto;
988
+ YfFieldServiceVisitAuditDto: YfFieldServiceVisitAuditDto;
989
+ };
990
+ /**
991
+ * Link definition for connecting steps in CompleteServiceWorkOrderFlow
992
+ */
993
+ export interface CompleteServiceWorkOrderFlowStepLink {
994
+ /**
995
+ * The stepKey of the target step to link TO
996
+ * Must reference another step's stepKey in the same flow
997
+ */
998
+ stepKey: string;
999
+ /**
1000
+ * The schema association ID (UUID) defining the relationship
1001
+ * Use the association.id from the schema association definition
1002
+ * @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
1003
+ */
1004
+ schemaAssociationId: string;
1005
+ }
1006
+ /**
1007
+ * Step definition with linking metadata for CompleteServiceWorkOrderFlow
1008
+ */
1009
+ export interface CompleteServiceWorkOrderFlowStepDefinition {
1010
+ /** Unique identifier for this step */
1011
+ stepKey: string;
1012
+ /** The DTO class name for this step */
1013
+ dtoClass: string;
1014
+ /** The entity this step creates (Module:Entity format) */
1015
+ entity: string;
1016
+ /** Links to create after this step executes */
1017
+ linksTo: CompleteServiceWorkOrderFlowStepLink[] | null;
1018
+ }
1019
+ /**
1020
+ * Type-safe step keys for CompleteServiceWorkOrderFlow
1021
+ */
1022
+ export declare const CompleteServiceWorkOrderFlowSteps: {
1023
+ readonly step_1: "step_1";
1024
+ readonly step_2: "step_2";
1025
+ };
1026
+ export declare type CompleteServiceWorkOrderFlowStepKey = typeof CompleteServiceWorkOrderFlowSteps[keyof typeof CompleteServiceWorkOrderFlowSteps];
15
1027
  /**
16
1028
  * RabbitMQ message payload for CompleteServiceWorkOrderFlow step flow events
17
1029
  *
@@ -53,6 +1065,16 @@ export declare class CompleteServiceWorkOrderFlowDto extends OdinRecordUpdateDto
53
1065
  static readonly IS_STAGE_TRANSITION = true;
54
1066
  static readonly IS_MULTI_STEP_FLOW = false;
55
1067
  static readonly HAS_STEP_LINKS = false;
1068
+ /**
1069
+ * Step definitions with linking metadata
1070
+ * Used by SDK and backend for auto-linking after step execution
1071
+ */
1072
+ static readonly stepDefinitions: CompleteServiceWorkOrderFlowStepDefinition[];
1073
+ /** Type-safe step key accessor */
1074
+ static readonly Steps: {
1075
+ readonly step_1: "step_1";
1076
+ readonly step_2: "step_2";
1077
+ };
56
1078
  readonly actionName: string;
57
1079
  readonly schemaActionId: string;
58
1080
  readonly entity: string;
@@ -65,6 +1087,7 @@ export declare class CompleteServiceWorkOrderFlowDto extends OdinRecordUpdateDto
65
1087
  journeyId?: string;
66
1088
  });
67
1089
  /** Step classes that can be used with this action */
68
- static readonly stepClasses: readonly [];
69
- steps: [];
1090
+ static readonly stepClasses: readonly ["CompleteServiceWorkOrderDto", "YfFieldServiceVisitAuditDto"];
1091
+ steps: StepClassMap[(typeof CompleteServiceWorkOrderFlowDto.stepClasses)[number]][];
70
1092
  }
1093
+ export {};