@d19n/youfibre-odin-sdk 2.0.305 → 2.0.307

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 (41) hide show
  1. package/README.md +10 -9
  2. package/dist/actions-v2/CollectCustomerDeviceRouterDto.d.ts +63 -0
  3. package/dist/actions-v2/CollectCustomerDeviceRouterDto.js +56 -0
  4. package/dist/actions-v2/CompleteServiceWorkOrderFlowDto.d.ts +135 -96
  5. package/dist/api-sdk-v2/PaymentMethodRefundApi.d.ts +2 -2
  6. package/dist/api-sdk-v2/PaymentMethodRefundApi.js +6 -6
  7. package/dist/api-sdk-v2/UserApi.d.ts +2 -0
  8. package/dist/api-sdk-v2/UserApi.js +6 -0
  9. package/dist/api-sdk-v2/YfFieldVisitOutcomeFormApi.d.ts +2 -0
  10. package/dist/api-sdk-v2/YfFieldVisitOutcomeFormApi.js +6 -0
  11. package/dist/db-sdk-v2/PaymentMethodRefundDb.d.ts +2 -2
  12. package/dist/db-sdk-v2/PaymentMethodRefundDb.js +6 -6
  13. package/dist/db-sdk-v2/UserDb.d.ts +2 -0
  14. package/dist/db-sdk-v2/UserDb.js +6 -0
  15. package/dist/db-sdk-v2/YfFieldVisitOutcomeFormDb.d.ts +2 -0
  16. package/dist/db-sdk-v2/YfFieldVisitOutcomeFormDb.js +6 -0
  17. package/dist/entities-v2/BillingAdjustment.d.ts +1 -3
  18. package/dist/entities-v2/BillingAdjustment.js +1 -3
  19. package/dist/entities-v2/Case.d.ts +2 -1
  20. package/dist/entities-v2/Case.js +2 -1
  21. package/dist/entities-v2/CreditNote.d.ts +1 -2
  22. package/dist/entities-v2/CreditNote.js +1 -2
  23. package/dist/entities-v2/PaymentMethodRefund.d.ts +3 -3
  24. package/dist/entities-v2/PgReportEvent.d.ts +5 -1
  25. package/dist/entities-v2/PgReportEvent.js +4 -0
  26. package/dist/entities-v2/User.d.ts +3 -0
  27. package/dist/entities-v2/VoiceConfiguration.d.ts +8 -0
  28. package/dist/entities-v2/VoiceConfiguration.js +2 -0
  29. package/dist/entities-v2/YfFieldVisitOutcomeForm.d.ts +149 -80
  30. package/dist/entities-v2/YfFieldVisitOutcomeForm.js +37 -31
  31. package/dist/records-v2/CustomerDeviceRouterRecord.d.ts +28 -0
  32. package/dist/records-v2/CustomerDeviceRouterRecord.js +37 -0
  33. package/dist/records-v2/PaymentMethodRefundRecord.d.ts +20 -20
  34. package/dist/records-v2/PaymentMethodRefundRecord.js +33 -33
  35. package/dist/records-v2/UserRecord.d.ts +20 -0
  36. package/dist/records-v2/UserRecord.js +33 -0
  37. package/dist/records-v2/YfFieldVisitOutcomeFormRecord.d.ts +22 -18
  38. package/dist/records-v2/YfFieldVisitOutcomeFormRecord.js +34 -17
  39. package/dist/records-v2/index.d.ts +1 -1
  40. package/dist/records-v2/index.js +5 -5
  41. package/package.json +1 -1
package/README.md CHANGED
@@ -369,7 +369,7 @@ This SDK includes **181** entities across **12** modules.
369
369
 
370
370
  ## Actions
371
371
 
372
- This SDK includes **869** actions.
372
+ This SDK includes **870** actions.
373
373
 
374
374
  ### Action Types
375
375
 
@@ -1255,6 +1255,15 @@ This SDK includes **869** actions.
1255
1255
  | `UpdateConversation` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Conversation.Update.UpdateConversation |
1256
1256
  | `UpdateConversationSummary` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Conversation.Update.UpdateConversationSummary |
1257
1257
 
1258
+ #### CustomerDeviceRouter
1259
+
1260
+ | Action | Type | Event |
1261
+ |--------|------|-------|
1262
+ | `CollectCustomerDeviceRouter` | UPDATE | k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Update.CollectCustomerDeviceRouter |
1263
+ | `CreateCustomerDeviceRouterFromDispatch` | CREATE | k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Create.CreateCustomerDeviceRouterFromDispatch |
1264
+ | `CustomerDeviceRouterCreate` | CREATE | k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Create.CustomerDeviceRouterCreate |
1265
+ | `CustomerDeviceRouterUpdate` | UPDATE | k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Update.CustomerDeviceRouterUpdate |
1266
+
1258
1267
  #### PaymentMethodRefund
1259
1268
 
1260
1269
  | Action | Type | Event |
@@ -1595,14 +1604,6 @@ This SDK includes **869** actions.
1595
1604
  | `CreateCustomerDeviceOnt` | CREATE | k1.t-hEOJjsDb.ServiceModule.CustomerDeviceOnt.Create.CreateCustomerDeviceOnt |
1596
1605
  | `UpdateCustomerDeviceOnt` | UPDATE | k1.t-hEOJjsDb.ServiceModule.CustomerDeviceOnt.Update.UpdateCustomerDeviceONT |
1597
1606
 
1598
- #### CustomerDeviceRouter
1599
-
1600
- | Action | Type | Event |
1601
- |--------|------|-------|
1602
- | `CreateCustomerDeviceRouterFromDispatch` | CREATE | k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Create.CreateCustomerDeviceRouterFromDispatch |
1603
- | `CustomerDeviceRouterCreate` | CREATE | k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Create.CustomerDeviceRouterCreate |
1604
- | `CustomerDeviceRouterUpdate` | UPDATE | k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Update.CustomerDeviceRouterUpdate |
1605
-
1606
1607
  #### EmailSender
1607
1608
 
1608
1609
  | Action | Type | Event |
@@ -0,0 +1,63 @@
1
+ /**
2
+ * CollectCustomerDeviceRouter Action DTO
3
+ *
4
+ * Marks a customer-device router as collected. Applied programmatically by youfibre-api-service (removeLinksFromCollectedRouter) when the COLLECTION_AMCO flow deletes the OrderItem↔Router association — the collected moment; the module then removes the router’s ONT, Address and Order links so a recovered device carries no customer linkage. No form fields; not a record-header button. NET-275.
5
+ *
6
+ * @module ServiceModule
7
+ * @entity CustomerDeviceRouter
8
+ * @actionKey CollectCustomerDeviceRouter
9
+ * @event k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Update.CollectCustomerDeviceRouter
10
+ *
11
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
+ */
13
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
14
+ /**
15
+ * RabbitMQ message payload for CollectCustomerDeviceRouter updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Update.CollectCustomerDeviceRouter
18
+ */
19
+ export interface CollectCustomerDeviceRouterMessage extends OdinRecordUpdatedEvent<CollectCustomerDeviceRouterDto, CollectCustomerDeviceRouterProperties> {
20
+ }
21
+ /**
22
+ * Properties for CollectCustomerDeviceRouter action
23
+ *
24
+ */
25
+ export interface CollectCustomerDeviceRouterProperties {
26
+ }
27
+ /**
28
+ * Collect Router
29
+ *
30
+ * Marks a customer-device router as collected. Applied programmatically by youfibre-api-service (removeLinksFromCollectedRouter) when the COLLECTION_AMCO flow deletes the OrderItem↔Router association — the collected moment; the module then removes the router’s ONT, Address and Order links so a recovered device carries no customer linkage. No form fields; not a record-header button. NET-275.
31
+ *
32
+ * @actionType UPDATE - Updates an existing CustomerDeviceRouter record
33
+ * @module ServiceModule
34
+ * @entity CustomerDeviceRouter
35
+ * @event k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Update.CollectCustomerDeviceRouter
36
+ * @permission schema.action.collectcustomerdevicerouter.trigger
37
+ * @benchmark This action is tracked for performance benchmarks
38
+ */
39
+ export declare class CollectCustomerDeviceRouterDto extends OdinRecordUpdateDto<CollectCustomerDeviceRouterProperties> {
40
+ /** Used by SDK generators to identify action type */
41
+ static readonly ACTION_TYPE = "UPDATE";
42
+ static readonly ACTION_KEY = "CollectCustomerDeviceRouter";
43
+ static readonly MODULE_NAME = "ServiceModule";
44
+ static readonly ENTITIES: string[];
45
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Update.CollectCustomerDeviceRouter";
46
+ static readonly PERMISSION = "schema.action.collectcustomerdevicerouter.trigger";
47
+ /** Step metadata - entity this action targets */
48
+ static readonly STEP_ENTITY = "ServiceModule:CustomerDeviceRouter";
49
+ static readonly STEP_SCHEMA_ID = "4c9cdf3a-e059-4e45-8050-e6cdf9fdd87d";
50
+ static readonly STEP_SCHEMA_ACTION_ID = "cdda0bbb-a3c9-42ea-94fd-0abd306f7401";
51
+ static readonly AUTO_LINK_PARENT = false;
52
+ readonly actionName: string;
53
+ readonly schemaActionId: string;
54
+ readonly entity: string;
55
+ constructor(record: OdinRecord<any> | {
56
+ id: string;
57
+ entity: string;
58
+ type?: string;
59
+ }, properties: CollectCustomerDeviceRouterProperties, options?: {
60
+ journeyId?: string;
61
+ stageKey?: string;
62
+ });
63
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * CollectCustomerDeviceRouter Action DTO
4
+ *
5
+ * Marks a customer-device router as collected. Applied programmatically by youfibre-api-service (removeLinksFromCollectedRouter) when the COLLECTION_AMCO flow deletes the OrderItem↔Router association — the collected moment; the module then removes the router’s ONT, Address and Order links so a recovered device carries no customer linkage. No form fields; not a record-header button. NET-275.
6
+ *
7
+ * @module ServiceModule
8
+ * @entity CustomerDeviceRouter
9
+ * @actionKey CollectCustomerDeviceRouter
10
+ * @event k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Update.CollectCustomerDeviceRouter
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CollectCustomerDeviceRouterDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * Collect Router
19
+ *
20
+ * Marks a customer-device router as collected. Applied programmatically by youfibre-api-service (removeLinksFromCollectedRouter) when the COLLECTION_AMCO flow deletes the OrderItem↔Router association — the collected moment; the module then removes the router’s ONT, Address and Order links so a recovered device carries no customer linkage. No form fields; not a record-header button. NET-275.
21
+ *
22
+ * @actionType UPDATE - Updates an existing CustomerDeviceRouter record
23
+ * @module ServiceModule
24
+ * @entity CustomerDeviceRouter
25
+ * @event k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Update.CollectCustomerDeviceRouter
26
+ * @permission schema.action.collectcustomerdevicerouter.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class CollectCustomerDeviceRouterDto extends core_1.OdinRecordUpdateDto {
30
+ constructor(record, properties, options) {
31
+ super({
32
+ id: record.id,
33
+ entity: record.entity,
34
+ type: record.type,
35
+ properties,
36
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
37
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
38
+ });
39
+ this.actionName = 'CollectCustomerDeviceRouter';
40
+ this.schemaActionId = 'cdda0bbb-a3c9-42ea-94fd-0abd306f7401';
41
+ this.entity = 'ServiceModule:CustomerDeviceRouter';
42
+ }
43
+ }
44
+ exports.CollectCustomerDeviceRouterDto = CollectCustomerDeviceRouterDto;
45
+ /** Used by SDK generators to identify action type */
46
+ CollectCustomerDeviceRouterDto.ACTION_TYPE = 'UPDATE';
47
+ CollectCustomerDeviceRouterDto.ACTION_KEY = 'CollectCustomerDeviceRouter';
48
+ CollectCustomerDeviceRouterDto.MODULE_NAME = 'ServiceModule';
49
+ CollectCustomerDeviceRouterDto.ENTITIES = ['CustomerDeviceRouter'];
50
+ CollectCustomerDeviceRouterDto.EVENT_NAME = 'k1.t-hEOJjsDb.ServiceModule.CustomerDeviceRouter.Update.CollectCustomerDeviceRouter';
51
+ CollectCustomerDeviceRouterDto.PERMISSION = 'schema.action.collectcustomerdevicerouter.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ CollectCustomerDeviceRouterDto.STEP_ENTITY = 'ServiceModule:CustomerDeviceRouter';
54
+ CollectCustomerDeviceRouterDto.STEP_SCHEMA_ID = '4c9cdf3a-e059-4e45-8050-e6cdf9fdd87d';
55
+ CollectCustomerDeviceRouterDto.STEP_SCHEMA_ACTION_ID = 'cdda0bbb-a3c9-42ea-94fd-0abd306f7401';
56
+ CollectCustomerDeviceRouterDto.AUTO_LINK_PARENT = false;
@@ -114,8 +114,8 @@ export declare class CompleteServiceWorkOrderDto extends OdinRecordUpdateDto<Com
114
114
  /**
115
115
  * Properties for YfFieldVisitOutcomeForm action
116
116
  *
117
- * @property Required fields: 42
118
- * @property Optional fields: 15
117
+ * @property Required fields: 57
118
+ * @property Optional fields: 3
119
119
  */
120
120
  export interface YfFieldVisitOutcomeFormProperties {
121
121
  /**
@@ -127,19 +127,21 @@ export interface YfFieldVisitOutcomeFormProperties {
127
127
  */
128
128
  ServiceVisitDateTime: string;
129
129
  /**
130
- * EngineerName
130
+ * Engineer
131
131
  *
132
- * The attending engineer. Asked for as free text; auto-populating from the logged-in user is the same prefill question as ServiceVisitDateTime.
133
- * @type {NAME}
132
+ * The attending engineer. Prefilled from the work order via the form field default; the engineer can correct it if the job was reassigned on the day.
133
+ * @type {TEXT}
134
134
  * @required
135
+ * @default Dynamic: {source_record_properties_EngineerName}
135
136
  */
136
- EngineerName: string;
137
+ Engineer: string;
137
138
  /**
138
139
  * WorkOrderNumber
139
140
  *
140
141
  * The work order this visit was made against. Deliberately carries no UNIQUE validator: a repeat visit to the same work order is a second form, not an overwrite of the first.
141
142
  * @type {ALPHA_NUMERICAL}
142
143
  * @required
144
+ * @default Dynamic: {source_record_recordNumber}
143
145
  */
144
146
  WorkOrderNumber: string;
145
147
  /**
@@ -148,6 +150,7 @@ export interface YfFieldVisitOutcomeFormProperties {
148
150
  * The property visited, linked to the CRM address record.
149
151
  * @type {LOOKUP}
150
152
  * @required
153
+ * @default Dynamic: {source_record_properties_AddressId}
151
154
  */
152
155
  Location: string;
153
156
  /**
@@ -158,6 +161,14 @@ export interface YfFieldVisitOutcomeFormProperties {
158
161
  * @required
159
162
  */
160
163
  PropertyFrontPhotoConfirmed: string;
164
+ /**
165
+ * PropertyFrontPhoto
166
+ *
167
+ * The picture the engineer confirms having taken on arrival.
168
+ * @type {FILE_MULTIPLE}
169
+ * @required
170
+ */
171
+ PropertyFrontPhoto: string;
161
172
  /**
162
173
  * CustomerAtInstall
163
174
  *
@@ -174,6 +185,14 @@ export interface YfFieldVisitOutcomeFormProperties {
174
185
  * @required
175
186
  */
176
187
  ONTFixedToWall: string;
188
+ /**
189
+ * ONTFixedToWallPhoto
190
+ *
191
+ * Evidence of how the ONT is fixed and powered.
192
+ * @type {FILE_MULTIPLE}
193
+ * @required
194
+ */
195
+ ONTFixedToWallPhoto: string;
177
196
  /**
178
197
  * ONTChecksPassed
179
198
  *
@@ -182,6 +201,22 @@ export interface YfFieldVisitOutcomeFormProperties {
182
201
  * @required
183
202
  */
184
203
  ONTChecksPassed: string;
204
+ /**
205
+ * ONTLightLevelPhoto
206
+ *
207
+ * The ONT light level reading. Split out of the old combined ONT photo.
208
+ * @type {FILE_MULTIPLE}
209
+ * @required
210
+ */
211
+ ONTLightLevelPhoto: string;
212
+ /**
213
+ * ONTStatusLightsPhoto
214
+ *
215
+ * The ONT status lights. Split out of the old combined ONT photo.
216
+ * @type {FILE_MULTIPLE}
217
+ * @required
218
+ */
219
+ ONTStatusLightsPhoto: string;
185
220
  /**
186
221
  * ONTCheckFailReason
187
222
  *
@@ -191,6 +226,15 @@ export interface YfFieldVisitOutcomeFormProperties {
191
226
  * @visibleWhen ONTChecksPassed = ["NO"]
192
227
  */
193
228
  ONTCheckFailReason: string;
229
+ /**
230
+ * ONTCheckFailReasonPhoto
231
+ *
232
+ * What the engineer saw that produced the failure reason.
233
+ * @type {FILE_MULTIPLE}
234
+ * @required
235
+ * @visibleWhen ONTChecksPassed = ["NO"]
236
+ */
237
+ ONTCheckFailReasonPhoto: string;
194
238
  /**
195
239
  * EngineerDiagnosis
196
240
  *
@@ -208,6 +252,15 @@ export interface YfFieldVisitOutcomeFormProperties {
208
252
  * @visibleWhen EngineerDiagnosis = ["CUSTOMER_DEVICE_ISSUE"]
209
253
  */
210
254
  EngineerDiagnosisCustomerDevice: string;
255
+ /**
256
+ * EngineerDiagnosisCustomerDevicePhoto
257
+ *
258
+ * The device the diagnosis points at.
259
+ * @type {FILE_MULTIPLE}
260
+ * @required
261
+ * @visibleWhen EngineerDiagnosis = ["CUSTOMER_DEVICE_ISSUE"]
262
+ */
263
+ EngineerDiagnosisCustomerDevicePhoto: string;
211
264
  /**
212
265
  * RouterLocationProperty
213
266
  *
@@ -216,6 +269,14 @@ export interface YfFieldVisitOutcomeFormProperties {
216
269
  * @required
217
270
  */
218
271
  RouterLocationProperty: string;
272
+ /**
273
+ * RouterLocationPhoto
274
+ *
275
+ * Where the router actually is — the answer text alone rarely settles a coverage argument.
276
+ * @type {FILE_MULTIPLE}
277
+ * @required
278
+ */
279
+ RouterLocationPhoto: string;
219
280
  /**
220
281
  * MainRouterSerial
221
282
  *
@@ -250,6 +311,15 @@ export interface YfFieldVisitOutcomeFormProperties {
250
311
  * @visibleWhen HowManyYouMeshNodes = ["1","2","3"]
251
312
  */
252
313
  YouMeshLocation1: string;
314
+ /**
315
+ * YouMeshLocation1Photo
316
+ *
317
+ * Evidence the node is not on the floor.
318
+ * @type {FILE_MULTIPLE}
319
+ * @required
320
+ * @visibleWhen HowManyYouMeshNodes = ["1","2","3"]
321
+ */
322
+ YouMeshLocation1Photo: string;
253
323
  /**
254
324
  * YouMeshSerial2
255
325
  *
@@ -268,6 +338,15 @@ export interface YfFieldVisitOutcomeFormProperties {
268
338
  * @visibleWhen HowManyYouMeshNodes = ["2","3"]
269
339
  */
270
340
  YouMeshLocation2: string;
341
+ /**
342
+ * YouMeshLocation2Photo
343
+ *
344
+ * Evidence the node is not on the floor.
345
+ * @type {FILE_MULTIPLE}
346
+ * @required
347
+ * @visibleWhen HowManyYouMeshNodes = ["2","3"]
348
+ */
349
+ YouMeshLocation2Photo: string;
271
350
  /**
272
351
  * YouMeshSerial3
273
352
  *
@@ -286,6 +365,15 @@ export interface YfFieldVisitOutcomeFormProperties {
286
365
  * @visibleWhen HowManyYouMeshNodes = ["3"]
287
366
  */
288
367
  YouMeshLocation3: string;
368
+ /**
369
+ * YouMeshLocation3Photo
370
+ *
371
+ * Evidence the node is not on the floor.
372
+ * @type {FILE_MULTIPLE}
373
+ * @required
374
+ * @visibleWhen HowManyYouMeshNodes = ["3"]
375
+ */
376
+ YouMeshLocation3Photo: string;
289
377
  /**
290
378
  * PreFaultInvestigationConsent
291
379
  *
@@ -294,6 +382,14 @@ export interface YfFieldVisitOutcomeFormProperties {
294
382
  * @required
295
383
  */
296
384
  PreFaultInvestigationConsent: boolean;
385
+ /**
386
+ * PreFaultTestPhoto
387
+ *
388
+ * The before-state evidence the acknowledgement refers to.
389
+ * @type {FILE_MULTIPLE}
390
+ * @required
391
+ */
392
+ PreFaultTestPhoto: string;
297
393
  /**
298
394
  * PreTestOntSpeedtest
299
395
  *
@@ -327,6 +423,23 @@ export interface YfFieldVisitOutcomeFormProperties {
327
423
  * @visibleWhen AbleToAchieveMinimumSpeed = ["NO"]
328
424
  */
329
425
  NotAbleToAchieveSignalNote: string;
426
+ /**
427
+ * NotAbleToAchieveSignalPhoto
428
+ *
429
+ * What the readings looked like where the standard could not be met.
430
+ * @type {FILE_MULTIPLE}
431
+ * @required
432
+ * @visibleWhen AbleToAchieveMinimumSpeed = ["NO"]
433
+ */
434
+ NotAbleToAchieveSignalPhoto: string;
435
+ /**
436
+ * PostFaultSpeedDbmEvidence
437
+ *
438
+ * The post-fault EXFO report. Asked on every visit, not only where the standard was met.
439
+ * @type {FILE_MULTIPLE}
440
+ * @required
441
+ */
442
+ PostFaultSpeedDbmEvidence: string;
330
443
  /**
331
444
  * AbleToAchieveSignalEvidence
332
445
  *
@@ -336,6 +449,22 @@ export interface YfFieldVisitOutcomeFormProperties {
336
449
  * @visibleWhen AbleToAchieveMinimumSpeed = ["YES"]
337
450
  */
338
451
  AbleToAchieveSignalEvidence: string;
452
+ /**
453
+ * PostFaultMeshTopologyEvidence
454
+ *
455
+ * Mesh topology from the gateway GUI, showing every unit in spec after the work.
456
+ * @type {FILE_MULTIPLE}
457
+ * @required
458
+ */
459
+ PostFaultMeshTopologyEvidence: string;
460
+ /**
461
+ * ResolutionNotes
462
+ *
463
+ * The engineer's account of the visit. Deliberately carries no defaultValue: whether the template headings (Outcome / Fault Found / Checks Done / Action Taken / Status on Leave / Further Action / Customer Advised) are pre-filled or shown as guidance is open with Trevor, and adding a default later is a column PUT while removing one already written onto live records is not clean.
464
+ * @type {TEXT_LONG}
465
+ * @required
466
+ */
467
+ ResolutionNotes: string;
339
468
  /**
340
469
  * EscalatedToManager
341
470
  *
@@ -471,81 +600,6 @@ export interface YfFieldVisitOutcomeFormProperties {
471
600
  * @required
472
601
  */
473
602
  EngineerSignature: undefined;
474
- /**
475
- * PropertyFrontPhoto
476
- *
477
- * The picture the engineer confirms having taken on arrival.
478
- * @type {FILE_MULTIPLE}
479
- */
480
- PropertyFrontPhoto?: string | null;
481
- /**
482
- * ONTFixedToWallPhoto
483
- *
484
- * Evidence of how the ONT is fixed and powered.
485
- * @type {FILE_MULTIPLE}
486
- */
487
- ONTFixedToWallPhoto?: string | null;
488
- /**
489
- * ONTChecksPhoto
490
- *
491
- * The readings behind the ONT check answer.
492
- * @type {FILE_MULTIPLE}
493
- */
494
- ONTChecksPhoto?: string | null;
495
- /**
496
- * ONTCheckFailReasonPhoto
497
- *
498
- * What the engineer saw that produced the failure reason.
499
- * @type {FILE_MULTIPLE}
500
- * @visibleWhen ONTChecksPassed = ["NO"]
501
- */
502
- ONTCheckFailReasonPhoto?: string | null;
503
- /**
504
- * EngineerDiagnosisCustomerDevicePhoto
505
- *
506
- * The device the diagnosis points at.
507
- * @type {FILE_MULTIPLE}
508
- * @visibleWhen EngineerDiagnosis = ["CUSTOMER_DEVICE_ISSUE"]
509
- */
510
- EngineerDiagnosisCustomerDevicePhoto?: string | null;
511
- /**
512
- * RouterLocationPhoto
513
- *
514
- * Where the router actually is — the answer text alone rarely settles a coverage argument.
515
- * @type {FILE_MULTIPLE}
516
- */
517
- RouterLocationPhoto?: string | null;
518
- /**
519
- * YouMeshLocation1Photo
520
- *
521
- * Evidence the node is not on the floor.
522
- * @type {FILE_MULTIPLE}
523
- * @visibleWhen HowManyYouMeshNodes = ["1","2","3"]
524
- */
525
- YouMeshLocation1Photo?: string | null;
526
- /**
527
- * YouMeshLocation2Photo
528
- *
529
- * Evidence the node is not on the floor.
530
- * @type {FILE_MULTIPLE}
531
- * @visibleWhen HowManyYouMeshNodes = ["2","3"]
532
- */
533
- YouMeshLocation2Photo?: string | null;
534
- /**
535
- * YouMeshLocation3Photo
536
- *
537
- * Evidence the node is not on the floor.
538
- * @type {FILE_MULTIPLE}
539
- * @visibleWhen HowManyYouMeshNodes = ["3"]
540
- */
541
- YouMeshLocation3Photo?: string | null;
542
- /**
543
- * PreFaultTestPhoto
544
- *
545
- * The before-state evidence the acknowledgement refers to.
546
- * @type {FILE_MULTIPLE}
547
- */
548
- PreFaultTestPhoto?: string | null;
549
603
  /**
550
604
  * PostFaultInvestigationConsent
551
605
  *
@@ -553,21 +607,6 @@ export interface YfFieldVisitOutcomeFormProperties {
553
607
  * @type {BOOLEAN}
554
608
  */
555
609
  PostFaultInvestigationConsent?: boolean | null;
556
- /**
557
- * NotAbleToAchieveSignalPhoto
558
- *
559
- * What the readings looked like where the standard could not be met.
560
- * @type {FILE_MULTIPLE}
561
- * @visibleWhen AbleToAchieveMinimumSpeed = ["NO"]
562
- */
563
- NotAbleToAchieveSignalPhoto?: string | null;
564
- /**
565
- * ResolutionNotes
566
- *
567
- * The engineer's account of the visit. Deliberately carries no defaultValue: whether the template headings (Outcome / Fault Found / Checks Done / Action Taken / Status on Leave / Further Action / Customer Advised) are pre-filled or shown as guidance is open with Trevor, and adding a default later is a column PUT while removing one already written onto live records is not clean.
568
- * @type {TEXT_LONG}
569
- */
570
- ResolutionNotes?: string | null;
571
610
  /**
572
611
  * OtherEvidence
573
612
  *
@@ -26,8 +26,8 @@ export declare class PaymentMethodRefundApi extends ApiProvider {
26
26
  private _workorder?;
27
27
  private _invoice?;
28
28
  private _activity?;
29
- private _transaction?;
30
29
  private _contractbuyout?;
30
+ private _transaction?;
31
31
  constructor(authParams?: OauthParams, authToken?: string);
32
32
  get reward(): ApiRecordLinkManager;
33
33
  get file(): ApiRecordLinkManager;
@@ -38,8 +38,8 @@ export declare class PaymentMethodRefundApi extends ApiProvider {
38
38
  get workorder(): ApiRecordLinkManager;
39
39
  get invoice(): ApiRecordLinkManager;
40
40
  get activity(): ApiRecordLinkManager;
41
- get transaction(): ApiRecordLinkManager;
42
41
  get contractbuyout(): ApiRecordLinkManager;
42
+ get transaction(): ApiRecordLinkManager;
43
43
  setRecord(sourceRecord: any): void;
44
44
  schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
45
45
  search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<PaymentMethodRefundProperties>>>;
@@ -87,18 +87,18 @@ class PaymentMethodRefundApi extends api_provider_1.ApiProvider {
87
87
  }
88
88
  return this._activity;
89
89
  }
90
- get transaction() {
91
- if (!this._transaction) {
92
- this._transaction = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'BillingModule:PaymentMethodRefund', 'BillingModule:Transaction', 'PaymentMethodRefund__Transaction');
93
- }
94
- return this._transaction;
95
- }
96
90
  get contractbuyout() {
97
91
  if (!this._contractbuyout) {
98
92
  this._contractbuyout = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'BillingModule:PaymentMethodRefund', 'OrderModule:ContractBuyOut', 'ContractBuyOut__PaymentMethodRefund');
99
93
  }
100
94
  return this._contractbuyout;
101
95
  }
96
+ get transaction() {
97
+ if (!this._transaction) {
98
+ this._transaction = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'BillingModule:PaymentMethodRefund', 'BillingModule:Transaction', 'PaymentMethodRefund__Transaction');
99
+ }
100
+ return this._transaction;
101
+ }
102
102
  // ============================================
103
103
  // STANDARD METHODS (Unchanged API)
104
104
  // ============================================
@@ -48,6 +48,7 @@ export declare class UserApi extends ApiProvider {
48
48
  private _outbounddialsession?;
49
49
  private _agentstatus?;
50
50
  private _agentstatushistory?;
51
+ private _yffieldvisitoutcomeform?;
51
52
  constructor(authParams?: OauthParams, authToken?: string);
52
53
  get blockagea55(): ApiRecordLinkManager;
53
54
  get timeslot(): ApiRecordLinkManager;
@@ -80,6 +81,7 @@ export declare class UserApi extends ApiProvider {
80
81
  get outbounddialsession(): ApiRecordLinkManager;
81
82
  get agentstatus(): ApiRecordLinkManager;
82
83
  get agentstatushistory(): ApiRecordLinkManager;
84
+ get yffieldvisitoutcomeform(): ApiRecordLinkManager;
83
85
  setRecord(sourceRecord: any): void;
84
86
  schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
85
87
  search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<UserProperties>>>;
@@ -219,6 +219,12 @@ class UserApi extends api_provider_1.ApiProvider {
219
219
  }
220
220
  return this._agentstatushistory;
221
221
  }
222
+ get yffieldvisitoutcomeform() {
223
+ if (!this._yffieldvisitoutcomeform) {
224
+ this._yffieldvisitoutcomeform = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'IdentityModule:User', 'FieldServiceModule:YfFieldVisitOutcomeForm', 'YfFieldVisitOutcomeForm__User');
225
+ }
226
+ return this._yffieldvisitoutcomeform;
227
+ }
222
228
  // ============================================
223
229
  // STANDARD METHODS (Unchanged API)
224
230
  // ============================================
@@ -21,11 +21,13 @@ export declare class YfFieldVisitOutcomeFormApi extends ApiProvider {
21
21
  private _address?;
22
22
  private _note?;
23
23
  private _file?;
24
+ private _user?;
24
25
  constructor(authParams?: OauthParams, authToken?: string);
25
26
  get workorder(): ApiRecordLinkManager;
26
27
  get address(): ApiRecordLinkManager;
27
28
  get note(): ApiRecordLinkManager;
28
29
  get file(): ApiRecordLinkManager;
30
+ get user(): ApiRecordLinkManager;
29
31
  setRecord(sourceRecord: any): void;
30
32
  schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
31
33
  search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<YfFieldVisitOutcomeFormProperties>>>;
@@ -57,6 +57,12 @@ class YfFieldVisitOutcomeFormApi extends api_provider_1.ApiProvider {
57
57
  }
58
58
  return this._file;
59
59
  }
60
+ get user() {
61
+ if (!this._user) {
62
+ this._user = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'FieldServiceModule:YfFieldVisitOutcomeForm', 'IdentityModule:User', 'YfFieldVisitOutcomeForm__User');
63
+ }
64
+ return this._user;
65
+ }
60
66
  // ============================================
61
67
  // STANDARD METHODS (Unchanged API)
62
68
  // ============================================
@@ -30,8 +30,8 @@ export declare class PaymentMethodRefundDb extends DbProvider {
30
30
  private _workorder?;
31
31
  private _invoice?;
32
32
  private _activity?;
33
- private _transaction?;
34
33
  private _contractbuyout?;
34
+ private _transaction?;
35
35
  constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
36
36
  get reward(): DbRecordLinkManager;
37
37
  get file(): DbRecordLinkManager;
@@ -42,8 +42,8 @@ export declare class PaymentMethodRefundDb extends DbProvider {
42
42
  get workorder(): DbRecordLinkManager;
43
43
  get invoice(): DbRecordLinkManager;
44
44
  get activity(): DbRecordLinkManager;
45
- get transaction(): DbRecordLinkManager;
46
45
  get contractbuyout(): DbRecordLinkManager;
46
+ get transaction(): DbRecordLinkManager;
47
47
  setRecord(sourceRecord: any): void;
48
48
  /**
49
49
  * Search records with manual pagination control
@@ -92,18 +92,18 @@ class PaymentMethodRefundDb extends db_provider_1.DbProvider {
92
92
  }
93
93
  return this._activity;
94
94
  }
95
- get transaction() {
96
- if (!this._transaction) {
97
- this._transaction = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'BillingModule:PaymentMethodRefund', 'BillingModule:Transaction', 'PaymentMethodRefund__Transaction');
98
- }
99
- return this._transaction;
100
- }
101
95
  get contractbuyout() {
102
96
  if (!this._contractbuyout) {
103
97
  this._contractbuyout = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'BillingModule:PaymentMethodRefund', 'OrderModule:ContractBuyOut', 'ContractBuyOut__PaymentMethodRefund');
104
98
  }
105
99
  return this._contractbuyout;
106
100
  }
101
+ get transaction() {
102
+ if (!this._transaction) {
103
+ this._transaction = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'BillingModule:PaymentMethodRefund', 'BillingModule:Transaction', 'PaymentMethodRefund__Transaction');
104
+ }
105
+ return this._transaction;
106
+ }
107
107
  // ============================================
108
108
  // STANDARD METHODS
109
109
  // ============================================
@@ -52,6 +52,7 @@ export declare class UserDb extends DbProvider {
52
52
  private _outbounddialsession?;
53
53
  private _agentstatus?;
54
54
  private _agentstatushistory?;
55
+ private _yffieldvisitoutcomeform?;
55
56
  constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
56
57
  get blockagea55(): DbRecordLinkManager;
57
58
  get timeslot(): DbRecordLinkManager;
@@ -84,6 +85,7 @@ export declare class UserDb extends DbProvider {
84
85
  get outbounddialsession(): DbRecordLinkManager;
85
86
  get agentstatus(): DbRecordLinkManager;
86
87
  get agentstatushistory(): DbRecordLinkManager;
88
+ get yffieldvisitoutcomeform(): DbRecordLinkManager;
87
89
  setRecord(sourceRecord: any): void;
88
90
  /**
89
91
  * Search records with manual pagination control