@d19n/youfibre-odin-sdk 2.0.115 → 2.0.116
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.
|
@@ -394,10 +394,29 @@ exports.KCI_EFFECT_ROWS = [
|
|
|
394
394
|
reasonCode: 'AMENDED',
|
|
395
395
|
serviceOrderKind: 'PROVIDE',
|
|
396
396
|
yfEffect: {
|
|
397
|
-
kind: '
|
|
398
|
-
|
|
397
|
+
kind: 'WO_SCHEDULE_APPOINTMENT',
|
|
398
|
+
scheduleAppointment: {
|
|
399
|
+
dateFrom: 'provideServiceOrder.appointmentTimeslot.timeslotStartDateTime',
|
|
400
|
+
timeBlockFrom: 'provideServiceOrder.appointmentTimeslot.classification',
|
|
401
|
+
supplierReferenceFrom: 'provideServiceOrder.appointmentReservationReference',
|
|
402
|
+
},
|
|
403
|
+
notes: 'Supplier-confirmed amendment — new appointment locked in. Bundled ' +
|
|
404
|
+
'effect: WO Pending→Scheduled + set appointment date + stamp supplier ' +
|
|
405
|
+
'reservation reference. Single scheduleAppointment service call handles ' +
|
|
406
|
+
'all three (skipSupplierBooking=true because NET has already accepted ' +
|
|
407
|
+
'the amendment server-side). Target WO resolved from ' +
|
|
408
|
+
'dto.tenantWorkOrderReference; field-service picks the right ' +
|
|
409
|
+
'Scheduled-stage key per WO type. ' +
|
|
410
|
+
'AMENDED is the canonical "supplier has accepted an amendment with new ' +
|
|
411
|
+
'appointment details" signal — emitted whether the amendment was ' +
|
|
412
|
+
'YF-tenant-driven (customer rebooks via /schedule-appointment → YF ' +
|
|
413
|
+
'amends NET → NET responds AMENDED) or NET-autonomous (rare; NET ' +
|
|
414
|
+
'reserves + amends server-side). Same JSONPaths as REAPPOINTED — the ' +
|
|
415
|
+
'two rows differ only in semantics: REAPPOINTED = NET initiated, ' +
|
|
416
|
+
'AMENDED = amendment-accept confirmation (tenant or auto-amend path).',
|
|
399
417
|
},
|
|
400
418
|
logAgainstOrder: true,
|
|
419
|
+
specRef: 'fibrecafe-docs/pages/orderstate.md (AMENDED) + Frank 2026-05-12 spec quote',
|
|
401
420
|
},
|
|
402
421
|
{
|
|
403
422
|
id: 'provide-amendment-rejected',
|