diff --git a/.changeset/nine-spiders-tan.md b/.changeset/nine-spiders-tan.md new file mode 100644 index 000000000..5b4f487b6 --- /dev/null +++ b/.changeset/nine-spiders-tan.md @@ -0,0 +1,5 @@ +--- +"@equinor/mad-maintenance-api-ts-wrapper": patch +--- + +Update wrapper diff --git a/packages/api/maintenance-api/src/lib/generated/models/WorkOrderOperationInPlan.ts b/packages/api/maintenance-api/src/lib/generated/models/WorkOrderOperationInPlan.ts index 38efce979..ac50936df 100644 --- a/packages/api/maintenance-api/src/lib/generated/models/WorkOrderOperationInPlan.ts +++ b/packages/api/maintenance-api/src/lib/generated/models/WorkOrderOperationInPlan.ts @@ -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; };