Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/nine-spiders-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@equinor/mad-maintenance-api-ts-wrapper": patch
---

Update wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,68 @@
/* eslint-disable */

export type WorkOrderOperationInPlan = {
/**
* Internal id of operation
*/
operationId: string;
/**
* Id of operation user is familiar with
*/
operation: string;
title: string;
/**
* Text-based information from the planner
*/
planNotes: string;
/**
* Operation is part of a baseline plan
*/
inBaselinePlan: boolean;
workCenterId: string;
workCenterPlantId: string;
standardTextTemplate: string;
isCompleted: boolean;
/**
* Duration as defined in ISO8601
*/
plannedWorkHours: string | null;
/**
* Duration as defined in ISO8601
*/
actualWorkHours: string | null;
/**
* Represents progress reported through technical feedback solution. If Work order is completed, the value is 100
*/
actualPercentageComplete: number;
/**
* Number of capacity from work center required for the operation
*/
capacityCount: number;
/**
* Planned duration for operation is based on plannedManHours and capacityCount. Property format is as defined in ISO8601
*/
plannedDuration: string | null;
/**
* Operation is scheduled outside of the normal scheduling engine in Equinor ERP system SAP
*/
isScheduledExternally: boolean;
earliestStartDateTime: string | null;
earliestFinishDateTime: string | null;
/**
* Constraint: * `MSO` - Must start on * `SNET` - Start no earlier than * `SNLT` - Start no later than * `SFRP` - Start from resource planning
*
*/
schedulingStartConstraintId: 'MSO' | 'SNET' | 'SNLT' | 'SFRP' | null;
schedulingStartConstraintDateTime: string | null;
/**
* Constraint: * `MFO` - Must finish on date * `FNET` - Finish no earlier than * `FNLT` - Finish no later than * `FFC` - Finish from confirmation
*
*/
schedulingFinishConstraintId: 'MFO' | 'FNET' | 'FNLT' | 'FFC' | null;
schedulingFinishConstraintDateTime: string | null;
/**
* Indicator for if the operation has material
*/
hasMaterial?: boolean;
};

Loading