@d19n/youfibre-odin-sdk 2.0.198 → 2.0.199
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.
|
@@ -30,7 +30,7 @@ export declare type VMO2OrderAction = 'add' | 'remove' | 'change';
|
|
|
30
30
|
export declare type VMO2OrderStatus = 'accepted' | 'rejected' | 'validated' | 'committed' | 'completed' | 'cancelled' | 'delayed';
|
|
31
31
|
export declare type VMO2RequestType = 'reactiveincident' | 'preserviceispassistance' | 'postserviceispassistance' | 'restrictedpremisesurvey' | 'cableinstallsurvey' | 'equipmentmove';
|
|
32
32
|
export declare type VMO2RequestStatus = 'rejected' | 'delayed' | 'accepted' | 'inprogress' | 'resolved' | 'closed';
|
|
33
|
-
export declare type VMO2VisitType = 'InHome' | 'PreWork' | '
|
|
33
|
+
export declare type VMO2VisitType = 'InHome' | 'PreWork' | 'InternalIncident' | 'SingleVisitForPreWorkAndInHome' | 'External Incident' | 'Move Interior Equipment' | 'Move Exterior Equipment' | 'End Customer Support' | 'Pre-Service ISP Assistance' | 'Restricted Premise Survey' | 'Cable Install Survey' | 'Troubleshoot';
|
|
34
34
|
export declare type VMO2AppointmentStatus = 'reserved' | 'confirmed' | 'cancelled' | 'engineer assigned' | 'visit started' | 'visit complete';
|
|
35
35
|
export declare type VMO2InstallFieldVisitRequired = 'no' | 'singleInHome' | 'splitPreWorkAndInHome' | 'singlePreWork' | 'singlePreWorkAndInHome';
|
|
36
36
|
export declare type VMO2SelfInstallAvailable = 'no' | 'customerGatewayOnly';
|
|
@@ -434,7 +434,16 @@ export declare type VMO2AmendIncidentPatch = {
|
|
|
434
434
|
endCustomer?: VMO2EndCustomerDetails;
|
|
435
435
|
description?: string;
|
|
436
436
|
};
|
|
437
|
+
/**
|
|
438
|
+
* Get Service Management RESPONSE — CORRECTED to the verified wire (2026-06-10).
|
|
439
|
+
* Adds status/premiseId/networkType/serviceLevel/resolution[]. NOTE the SMR
|
|
440
|
+
* response uses `productsAndServices` (CAPITAL 'A') — unlike Get Order's
|
|
441
|
+
* lowercase `productsandServices` — and a DIFFERENT child shape
|
|
442
|
+
* (technicalProductName + serviceRestorationDateTime, no action/remoteId).
|
|
443
|
+
* `appointments` is a SINGLE object here (not an array).
|
|
444
|
+
*/
|
|
437
445
|
export interface VMO2IncidentDetails {
|
|
446
|
+
status?: string;
|
|
438
447
|
requestType: VMO2RequestType;
|
|
439
448
|
requestStatus: VMO2RequestStatus;
|
|
440
449
|
reasonCode: VMO2IncidentReasonCode;
|
|
@@ -442,8 +451,21 @@ export interface VMO2IncidentDetails {
|
|
|
442
451
|
actualResolutionDateTime?: ISO8601DateTime;
|
|
443
452
|
cancellationDateTime?: ISO8601DateTime;
|
|
444
453
|
closureDateTime?: ISO8601DateTime;
|
|
445
|
-
|
|
446
|
-
|
|
454
|
+
premiseId?: VMO2PremiseId;
|
|
455
|
+
networkType?: VMO2NetworkType;
|
|
456
|
+
serviceLevel?: string;
|
|
457
|
+
resolution?: Array<{
|
|
458
|
+
resolutionCode: string;
|
|
459
|
+
}>;
|
|
460
|
+
productsAndServices?: {
|
|
461
|
+
parentServiceId: VMO2ParentServiceId;
|
|
462
|
+
technicalProductsAndChildServices: Array<{
|
|
463
|
+
childServiceId: VMO2ChildServiceId;
|
|
464
|
+
technicalProductName?: string;
|
|
465
|
+
serviceRestorationDateTime?: ISO8601DateTime;
|
|
466
|
+
}>;
|
|
467
|
+
};
|
|
468
|
+
appointments?: VMO2AppointmentDetails;
|
|
447
469
|
}
|
|
448
470
|
export declare type VMO2OrderNotificationType = 'orderrejected' | 'orderdelayed' | 'ordervalidated' | 'ordercommitted' | 'childserviceupdate' | 'engineerassigned' | 'visitstarted' | 'visitcomplete' | 'ordercompleted' | 'ordercancelled' | 'amendrejected' | 'amendaccepted' | 'cancelrejected' | 'startunsolicitedcease';
|
|
449
471
|
export declare type VMO2SMRNotificationType = 'smrrejected' | 'smrdelayed' | 'smrinprogress' | 'smrupdate' | 'engineerassigned' | 'visitstarted' | 'visitcomplete' | 'smrchildserviceupdate' | 'smrincidentresolved' | 'smrclosed' | 'smramendrejected' | 'smramendaccepted' | 'smrcancelrejected' | 'proactiveincidentinprogress' | 'proactiveincidentupdated' | 'proactiveincidentresolved' | 'plannedworkplanned' | 'plannedworkcancelled' | 'plannedworkinprogress' | 'plannedworkupdate' | 'plannedworkended';
|