@ignos/api-client 20250320.0.11395-alpha → 20250320.0.11399

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.
@@ -151,10 +151,31 @@ export declare class PresentationClient extends AuthorizedApiBase implements IPr
151
151
  protected processGetComponentSettings(response: Response): Promise<ComponentSettingsDto>;
152
152
  }
153
153
  export interface IMachineUtilizationClient {
154
+ /**
155
+ * Get machine utilization data. Historic utilizations start from now, whereas the start for current utilization is
156
+ calculated based on startTimeToday or utcOffset. An UTC offset is
157
+ obtained either from startTimeToday, utcOffset or the server's local
158
+ time zone. The current utilization is calculated starting from the start of the current date offset from UTC
159
+ by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
160
+ client and server
161
+ * @param assetId (optional)
162
+ * @param favorites (optional)
163
+ * @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
164
+ * @param utcOffset (optional) Explicit UTC offset for start of today's utilization
165
+ */
166
+ getMachineUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<UtilizationListDto>;
154
167
  getMachineUtilization(id: number, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
168
+ /**
169
+ * @param startTime (optional)
170
+ * @param endTime (optional)
171
+ * @deprecated
172
+ */
173
+ getUtilizationDetailsForMachine(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
155
174
  listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
156
175
  getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
157
176
  listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
177
+ listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
178
+ getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
158
179
  }
159
180
  export declare class MachineUtilizationClient extends AuthorizedApiBase implements IMachineUtilizationClient {
160
181
  private http;
@@ -163,14 +184,39 @@ export declare class MachineUtilizationClient extends AuthorizedApiBase implemen
163
184
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
164
185
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
165
186
  });
187
+ /**
188
+ * Get machine utilization data. Historic utilizations start from now, whereas the start for current utilization is
189
+ calculated based on startTimeToday or utcOffset. An UTC offset is
190
+ obtained either from startTimeToday, utcOffset or the server's local
191
+ time zone. The current utilization is calculated starting from the start of the current date offset from UTC
192
+ by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
193
+ client and server
194
+ * @param assetId (optional)
195
+ * @param favorites (optional)
196
+ * @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
197
+ * @param utcOffset (optional) Explicit UTC offset for start of today's utilization
198
+ */
199
+ getMachineUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<UtilizationListDto>;
200
+ protected processGetMachineUtilizations(response: Response): Promise<UtilizationListDto>;
166
201
  getMachineUtilization(id: number, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
167
202
  protected processGetMachineUtilization(response: Response): Promise<UtilizationDetailsDto>;
203
+ /**
204
+ * @param startTime (optional)
205
+ * @param endTime (optional)
206
+ * @deprecated
207
+ */
208
+ getUtilizationDetailsForMachine(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
209
+ protected processGetUtilizationDetailsForMachine(response: Response): Promise<MachineStatesSummaryDto>;
168
210
  listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
169
211
  protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
170
212
  getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
171
213
  protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
172
214
  listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
173
215
  protected processListMachineUptimesToday(response: Response): Promise<MachineUptimesAggregateDto>;
216
+ listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
217
+ protected processListPowerOnUtilizationDatapoints(response: Response): Promise<PowerOnUtilizationList>;
218
+ getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
219
+ protected processGetFactoryUtilization(response: Response): Promise<PowerOnUtilizationDto>;
174
220
  }
175
221
  export interface IMeClient {
176
222
  getMyApps(): Promise<UserAppDto[]>;
@@ -791,6 +837,9 @@ export interface IMachinesClient {
791
837
  getMachineStateWithDowntimePeriods(id: number, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
792
838
  getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
793
839
  listMachineErpData(): Promise<MachineErpDataListDto>;
840
+ getMachineErpData(id: number): Promise<MachineErpDataDto>;
841
+ getMachineUtilizationSummary(): Promise<UtilizationSummaryDto>;
842
+ getCrossCompanyUtilizationSummary(): Promise<CrossCompanyUtilizationSummaryDto>;
794
843
  listCurrentMachineOperators(machineExternalId: string | null | undefined, operatorNameQuery: string | null | undefined): Promise<OperatorAndMachineDto[]>;
795
844
  createMachineWithoutResource(request: CreateMachineWithoutResource): Promise<void>;
796
845
  createResourceWithoutMachine(request: CreateResourceWithoutMachine): Promise<void>;
@@ -826,6 +875,12 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
826
875
  protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
827
876
  listMachineErpData(): Promise<MachineErpDataListDto>;
828
877
  protected processListMachineErpData(response: Response): Promise<MachineErpDataListDto>;
878
+ getMachineErpData(id: number): Promise<MachineErpDataDto>;
879
+ protected processGetMachineErpData(response: Response): Promise<MachineErpDataDto>;
880
+ getMachineUtilizationSummary(): Promise<UtilizationSummaryDto>;
881
+ protected processGetMachineUtilizationSummary(response: Response): Promise<UtilizationSummaryDto>;
882
+ getCrossCompanyUtilizationSummary(): Promise<CrossCompanyUtilizationSummaryDto>;
883
+ protected processGetCrossCompanyUtilizationSummary(response: Response): Promise<CrossCompanyUtilizationSummaryDto>;
829
884
  listCurrentMachineOperators(machineExternalId: string | null | undefined, operatorNameQuery: string | null | undefined): Promise<OperatorAndMachineDto[]>;
830
885
  protected processListCurrentMachineOperators(response: Response): Promise<OperatorAndMachineDto[]>;
831
886
  createMachineWithoutResource(request: CreateMachineWithoutResource): Promise<void>;
@@ -2575,6 +2630,117 @@ export interface IComponentSettingsDto {
2575
2630
  componentId?: string | null;
2576
2631
  disabledFields?: string[] | null;
2577
2632
  }
2633
+ export declare class UtilizationListDto implements IUtilizationListDto {
2634
+ machines?: MachineUtilizationDto[] | null;
2635
+ constructor(data?: IUtilizationListDto);
2636
+ init(_data?: any): void;
2637
+ static fromJS(data: any): UtilizationListDto;
2638
+ toJSON(data?: any): any;
2639
+ }
2640
+ export interface IUtilizationListDto {
2641
+ machines?: MachineUtilizationDto[] | null;
2642
+ }
2643
+ export declare class MachineUtilizationDto implements IMachineUtilizationDto {
2644
+ assetId: number;
2645
+ name: string;
2646
+ description?: string | null;
2647
+ state: string;
2648
+ machineState: MachineState;
2649
+ startTime?: Date;
2650
+ workorder?: UtilizationWorkorderDto | null;
2651
+ powerOn?: PowerOnUtilizationDto | null;
2652
+ constructor(data?: IMachineUtilizationDto);
2653
+ init(_data?: any): void;
2654
+ static fromJS(data: any): MachineUtilizationDto;
2655
+ toJSON(data?: any): any;
2656
+ }
2657
+ export interface IMachineUtilizationDto {
2658
+ assetId: number;
2659
+ name: string;
2660
+ description?: string | null;
2661
+ state: string;
2662
+ machineState: MachineState;
2663
+ startTime?: Date;
2664
+ workorder?: UtilizationWorkorderDto | null;
2665
+ powerOn?: PowerOnUtilizationDto | null;
2666
+ }
2667
+ export type MachineState = "InCycle" | "MasterCam" | "MdiCycle" | "CamCycle" | "Idle" | "OptionalStop" | "ProgramStop" | "M0" | "AtcStopped" | "FeedHold" | "MdiMode" | "ManualMode" | "EStop" | "Alarm" | "PowerOff";
2668
+ export declare class UtilizationWorkorderDto implements IUtilizationWorkorderDto {
2669
+ id?: string | null;
2670
+ operation?: number;
2671
+ isSetup?: boolean;
2672
+ partNumber?: string | null;
2673
+ partName?: string | null;
2674
+ customer?: CustomerDto | null;
2675
+ customerOrder?: string | null;
2676
+ startTime?: Date;
2677
+ workorderUtilization?: number | null;
2678
+ comparedToAverage?: number | null;
2679
+ workorderDescription?: string | null;
2680
+ operationDescription?: string | null;
2681
+ constructor(data?: IUtilizationWorkorderDto);
2682
+ init(_data?: any): void;
2683
+ static fromJS(data: any): UtilizationWorkorderDto;
2684
+ toJSON(data?: any): any;
2685
+ }
2686
+ export interface IUtilizationWorkorderDto {
2687
+ id?: string | null;
2688
+ operation?: number;
2689
+ isSetup?: boolean;
2690
+ partNumber?: string | null;
2691
+ partName?: string | null;
2692
+ customer?: CustomerDto | null;
2693
+ customerOrder?: string | null;
2694
+ startTime?: Date;
2695
+ workorderUtilization?: number | null;
2696
+ comparedToAverage?: number | null;
2697
+ workorderDescription?: string | null;
2698
+ operationDescription?: string | null;
2699
+ }
2700
+ export declare class CustomerDto implements ICustomerDto {
2701
+ id: string;
2702
+ name: string;
2703
+ groupId?: string | null;
2704
+ groupName?: string | null;
2705
+ constructor(data?: ICustomerDto);
2706
+ init(_data?: any): void;
2707
+ static fromJS(data: any): CustomerDto;
2708
+ toJSON(data?: any): any;
2709
+ }
2710
+ export interface ICustomerDto {
2711
+ id: string;
2712
+ name: string;
2713
+ groupId?: string | null;
2714
+ groupName?: string | null;
2715
+ }
2716
+ export declare class UtilizationAveragesDto implements IUtilizationAveragesDto {
2717
+ averageUtilization90Days?: number | null;
2718
+ averageUtilization30Days?: number | null;
2719
+ averageUtilization7Days?: number | null;
2720
+ averageUtilizationYearToDate?: number | null;
2721
+ constructor(data?: IUtilizationAveragesDto);
2722
+ init(_data?: any): void;
2723
+ static fromJS(data: any): UtilizationAveragesDto;
2724
+ toJSON(data?: any): any;
2725
+ }
2726
+ export interface IUtilizationAveragesDto {
2727
+ averageUtilization90Days?: number | null;
2728
+ averageUtilization30Days?: number | null;
2729
+ averageUtilization7Days?: number | null;
2730
+ averageUtilizationYearToDate?: number | null;
2731
+ }
2732
+ export declare class PowerOnUtilizationDto extends UtilizationAveragesDto implements IPowerOnUtilizationDto {
2733
+ powerOnUtilization?: number | null;
2734
+ comparedToAverage?: number | null;
2735
+ constructor(data?: IPowerOnUtilizationDto);
2736
+ init(_data?: any): void;
2737
+ static fromJS(data: any): PowerOnUtilizationDto;
2738
+ toJSON(data?: any): any;
2739
+ }
2740
+ export interface IPowerOnUtilizationDto extends IUtilizationAveragesDto {
2741
+ powerOnUtilization?: number | null;
2742
+ comparedToAverage?: number | null;
2743
+ }
2578
2744
  export declare class UtilizationDetailsDto implements IUtilizationDetailsDto {
2579
2745
  machineId: number;
2580
2746
  machineName: string;
@@ -2595,7 +2761,30 @@ export interface IUtilizationDetailsDto {
2595
2761
  startTime?: Date | null;
2596
2762
  powerOnUtilization?: number | null;
2597
2763
  }
2598
- export type MachineState = "InCycle" | "MasterCam" | "MdiCycle" | "CamCycle" | "Idle" | "OptionalStop" | "ProgramStop" | "M0" | "AtcStopped" | "FeedHold" | "MdiMode" | "ManualMode" | "EStop" | "Alarm" | "PowerOff";
2764
+ export declare class MachineStatesSummaryDto implements IMachineStatesSummaryDto {
2765
+ states: StateDto[];
2766
+ constructor(data?: IMachineStatesSummaryDto);
2767
+ init(_data?: any): void;
2768
+ static fromJS(data: any): MachineStatesSummaryDto;
2769
+ toJSON(data?: any): any;
2770
+ }
2771
+ export interface IMachineStatesSummaryDto {
2772
+ states: StateDto[];
2773
+ }
2774
+ export declare class StateDto implements IStateDto {
2775
+ state: string;
2776
+ machineState: MachineState;
2777
+ seconds: number;
2778
+ constructor(data?: IStateDto);
2779
+ init(_data?: any): void;
2780
+ static fromJS(data: any): StateDto;
2781
+ toJSON(data?: any): any;
2782
+ }
2783
+ export interface IStateDto {
2784
+ state: string;
2785
+ machineState: MachineState;
2786
+ seconds: number;
2787
+ }
2599
2788
  export declare class MachineStateDatapoint implements IMachineStateDatapoint {
2600
2789
  machineStateText: string;
2601
2790
  machineState: MachineState;
@@ -2641,30 +2830,6 @@ export interface IDowntimePeriodReasonDto {
2641
2830
  reasonId: string;
2642
2831
  }
2643
2832
  export type DowntimeReasonTypeDto = "Unplanned" | "Planned";
2644
- export declare class MachineStatesSummaryDto implements IMachineStatesSummaryDto {
2645
- states: StateDto[];
2646
- constructor(data?: IMachineStatesSummaryDto);
2647
- init(_data?: any): void;
2648
- static fromJS(data: any): MachineStatesSummaryDto;
2649
- toJSON(data?: any): any;
2650
- }
2651
- export interface IMachineStatesSummaryDto {
2652
- states: StateDto[];
2653
- }
2654
- export declare class StateDto implements IStateDto {
2655
- state: string;
2656
- machineState: MachineState;
2657
- seconds: number;
2658
- constructor(data?: IStateDto);
2659
- init(_data?: any): void;
2660
- static fromJS(data: any): StateDto;
2661
- toJSON(data?: any): any;
2662
- }
2663
- export interface IStateDto {
2664
- state: string;
2665
- machineState: MachineState;
2666
- seconds: number;
2667
- }
2668
2833
  export declare class MachineUptimesAggregateDto implements IMachineUptimesAggregateDto {
2669
2834
  machineUptimes: MachineUptimeDto[];
2670
2835
  sum: MachineUptimeSumDto;
@@ -2715,6 +2880,46 @@ export interface IListMachineUptimesTodayRequest {
2715
2880
  machineExternalIds?: string[] | null;
2716
2881
  utcOffset?: number;
2717
2882
  }
2883
+ export declare class PowerOnUtilizationList implements IPowerOnUtilizationList {
2884
+ machines?: Machine[];
2885
+ constructor(data?: IPowerOnUtilizationList);
2886
+ init(_data?: any): void;
2887
+ static fromJS(data: any): PowerOnUtilizationList;
2888
+ toJSON(data?: any): any;
2889
+ }
2890
+ export interface IPowerOnUtilizationList {
2891
+ machines?: Machine[];
2892
+ }
2893
+ export declare class Machine implements IMachine {
2894
+ externalId?: string;
2895
+ id?: number;
2896
+ name?: string;
2897
+ description?: string | null;
2898
+ datapoints?: NumericNullableValueWithTimestamp[];
2899
+ constructor(data?: IMachine);
2900
+ init(_data?: any): void;
2901
+ static fromJS(data: any): Machine;
2902
+ toJSON(data?: any): any;
2903
+ }
2904
+ export interface IMachine {
2905
+ externalId?: string;
2906
+ id?: number;
2907
+ name?: string;
2908
+ description?: string | null;
2909
+ datapoints?: NumericNullableValueWithTimestamp[];
2910
+ }
2911
+ export declare class NumericNullableValueWithTimestamp implements INumericNullableValueWithTimestamp {
2912
+ timestamp?: number;
2913
+ value?: number | null;
2914
+ constructor(data?: INumericNullableValueWithTimestamp);
2915
+ init(_data?: any): void;
2916
+ static fromJS(data: any): NumericNullableValueWithTimestamp;
2917
+ toJSON(data?: any): any;
2918
+ }
2919
+ export interface INumericNullableValueWithTimestamp {
2920
+ timestamp?: number;
2921
+ value?: number | null;
2922
+ }
2718
2923
  export declare class UserAppDto implements IUserAppDto {
2719
2924
  key: string;
2720
2925
  name: string;
@@ -3371,9 +3576,9 @@ export interface IUpdatePulseSettings {
3371
3576
  }
3372
3577
  export declare class CompanyUtilizationDto implements ICompanyUtilizationDto {
3373
3578
  utilizationType: UtilizationTypeDto;
3374
- companyUtilization: UtilizationDetailsDto2;
3375
- groups: MachineGroupUtilizationDto[];
3376
- ungroupedMachines: MachineUtilizationDto[];
3579
+ companyUtilization: UtilizationDetailsV2Dto;
3580
+ groups: MachineGroupUtilizationV2Dto[];
3581
+ ungroupedMachines: MachineUtilizationV3Dto[];
3377
3582
  constructor(data?: ICompanyUtilizationDto);
3378
3583
  init(_data?: any): void;
3379
3584
  static fromJS(data: any): CompanyUtilizationDto;
@@ -3381,11 +3586,11 @@ export declare class CompanyUtilizationDto implements ICompanyUtilizationDto {
3381
3586
  }
3382
3587
  export interface ICompanyUtilizationDto {
3383
3588
  utilizationType: UtilizationTypeDto;
3384
- companyUtilization: UtilizationDetailsDto2;
3385
- groups: MachineGroupUtilizationDto[];
3386
- ungroupedMachines: MachineUtilizationDto[];
3589
+ companyUtilization: UtilizationDetailsV2Dto;
3590
+ groups: MachineGroupUtilizationV2Dto[];
3591
+ ungroupedMachines: MachineUtilizationV3Dto[];
3387
3592
  }
3388
- export declare class UtilizationDetailsDto2 implements IUtilizationDetailsDto2 {
3593
+ export declare class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
3389
3594
  utilizationPercent?: number | null;
3390
3595
  uptimeInSeconds?: number | null;
3391
3596
  downtimeInSeconds?: number | null;
@@ -3393,12 +3598,12 @@ export declare class UtilizationDetailsDto2 implements IUtilizationDetailsDto2 {
3393
3598
  uptimeInMilliseconds?: number | null;
3394
3599
  downtimeInMilliseconds?: number | null;
3395
3600
  totalTimeInMilliseconds?: number | null;
3396
- constructor(data?: IUtilizationDetailsDto2);
3601
+ constructor(data?: IUtilizationDetailsV2Dto);
3397
3602
  init(_data?: any): void;
3398
- static fromJS(data: any): UtilizationDetailsDto2;
3603
+ static fromJS(data: any): UtilizationDetailsV2Dto;
3399
3604
  toJSON(data?: any): any;
3400
3605
  }
3401
- export interface IUtilizationDetailsDto2 {
3606
+ export interface IUtilizationDetailsV2Dto {
3402
3607
  utilizationPercent?: number | null;
3403
3608
  uptimeInSeconds?: number | null;
3404
3609
  downtimeInSeconds?: number | null;
@@ -3407,39 +3612,39 @@ export interface IUtilizationDetailsDto2 {
3407
3612
  downtimeInMilliseconds?: number | null;
3408
3613
  totalTimeInMilliseconds?: number | null;
3409
3614
  }
3410
- export declare class MachineGroupUtilizationDto implements IMachineGroupUtilizationDto {
3615
+ export declare class MachineGroupUtilizationV2Dto implements IMachineGroupUtilizationV2Dto {
3411
3616
  name: string;
3412
- utilization: UtilizationDetailsDto2;
3413
- machines: MachineUtilizationDto[];
3414
- constructor(data?: IMachineGroupUtilizationDto);
3617
+ utilization: UtilizationDetailsV2Dto;
3618
+ machines: MachineUtilizationV3Dto[];
3619
+ constructor(data?: IMachineGroupUtilizationV2Dto);
3415
3620
  init(_data?: any): void;
3416
- static fromJS(data: any): MachineGroupUtilizationDto;
3621
+ static fromJS(data: any): MachineGroupUtilizationV2Dto;
3417
3622
  toJSON(data?: any): any;
3418
3623
  }
3419
- export interface IMachineGroupUtilizationDto {
3624
+ export interface IMachineGroupUtilizationV2Dto {
3420
3625
  name: string;
3421
- utilization: UtilizationDetailsDto2;
3422
- machines: MachineUtilizationDto[];
3626
+ utilization: UtilizationDetailsV2Dto;
3627
+ machines: MachineUtilizationV3Dto[];
3423
3628
  }
3424
- export declare class MachineUtilizationDto implements IMachineUtilizationDto {
3629
+ export declare class MachineUtilizationV3Dto implements IMachineUtilizationV3Dto {
3425
3630
  id?: number;
3426
3631
  name: string;
3427
3632
  description?: string | null;
3428
- utilization: UtilizationDetailsDto2;
3429
- constructor(data?: IMachineUtilizationDto);
3633
+ utilization: UtilizationDetailsV2Dto;
3634
+ constructor(data?: IMachineUtilizationV3Dto);
3430
3635
  init(_data?: any): void;
3431
- static fromJS(data: any): MachineUtilizationDto;
3636
+ static fromJS(data: any): MachineUtilizationV3Dto;
3432
3637
  toJSON(data?: any): any;
3433
3638
  }
3434
- export interface IMachineUtilizationDto {
3639
+ export interface IMachineUtilizationV3Dto {
3435
3640
  id?: number;
3436
3641
  name: string;
3437
3642
  description?: string | null;
3438
- utilization: UtilizationDetailsDto2;
3643
+ utilization: UtilizationDetailsV2Dto;
3439
3644
  }
3440
3645
  export declare class CrossCompanyUtilizationDto implements ICrossCompanyUtilizationDto {
3441
3646
  utilizationType: UtilizationTypeDto;
3442
- crossCompanyUtilization: UtilizationDetailsDto2;
3647
+ crossCompanyUtilization: UtilizationDetailsV2Dto;
3443
3648
  companies: NamedCompanyUtilizationDto[];
3444
3649
  constructor(data?: ICrossCompanyUtilizationDto);
3445
3650
  init(_data?: any): void;
@@ -3448,7 +3653,7 @@ export declare class CrossCompanyUtilizationDto implements ICrossCompanyUtilizat
3448
3653
  }
3449
3654
  export interface ICrossCompanyUtilizationDto {
3450
3655
  utilizationType: UtilizationTypeDto;
3451
- crossCompanyUtilization: UtilizationDetailsDto2;
3656
+ crossCompanyUtilization: UtilizationDetailsV2Dto;
3452
3657
  companies: NamedCompanyUtilizationDto[];
3453
3658
  }
3454
3659
  export declare class NamedCompanyUtilizationDto extends CompanyUtilizationDto implements INamedCompanyUtilizationDto {
@@ -3493,18 +3698,6 @@ export interface IMachineUtilizationDatapointListDto extends IUtilizationDatapoi
3493
3698
  name: string;
3494
3699
  description?: string | null;
3495
3700
  }
3496
- export declare class NumericNullableValueWithTimestamp implements INumericNullableValueWithTimestamp {
3497
- timestamp?: number;
3498
- value?: number | null;
3499
- constructor(data?: INumericNullableValueWithTimestamp);
3500
- init(_data?: any): void;
3501
- static fromJS(data: any): NumericNullableValueWithTimestamp;
3502
- toJSON(data?: any): any;
3503
- }
3504
- export interface INumericNullableValueWithTimestamp {
3505
- timestamp?: number;
3506
- value?: number | null;
3507
- }
3508
3701
  export declare class CompanyUtilizationDatapointListDto extends UtilizationDatapointListDto implements ICompanyUtilizationDatapointListDto {
3509
3702
  groups?: MachineGroupUtilizationDatapointListDto[];
3510
3703
  ungroupedMachines?: MachineUtilizationDatapointListDto[];
@@ -5783,6 +5976,156 @@ export interface IWorkOrderProjectDto {
5783
5976
  name?: string | null;
5784
5977
  projectManager?: string | null;
5785
5978
  }
5979
+ export declare class UtilizationSummaryDto implements IUtilizationSummaryDto {
5980
+ factory: FactoryUtilizationDto;
5981
+ groups: MachineGroupUtilizationDto[];
5982
+ ungroupedMachines: MachineUtilizationV2Dto[];
5983
+ constructor(data?: IUtilizationSummaryDto);
5984
+ init(_data?: any): void;
5985
+ static fromJS(data: any): UtilizationSummaryDto;
5986
+ toJSON(data?: any): any;
5987
+ }
5988
+ export interface IUtilizationSummaryDto {
5989
+ factory: FactoryUtilizationDto;
5990
+ groups: MachineGroupUtilizationDto[];
5991
+ ungroupedMachines: MachineUtilizationV2Dto[];
5992
+ }
5993
+ export declare class FactoryUtilizationDto implements IFactoryUtilizationDto {
5994
+ utilization: UtilizationDto;
5995
+ constructor(data?: IFactoryUtilizationDto);
5996
+ init(_data?: any): void;
5997
+ static fromJS(data: any): FactoryUtilizationDto;
5998
+ toJSON(data?: any): any;
5999
+ }
6000
+ export interface IFactoryUtilizationDto {
6001
+ utilization: UtilizationDto;
6002
+ }
6003
+ export declare class UtilizationDto implements IUtilizationDto {
6004
+ powerOn: PowerOnUtilizationV2Dto;
6005
+ uptimeDowntimes: UptimeDowntimesDto;
6006
+ twentyFourSeven: TwentyFourSevenUtilizationDto;
6007
+ constructor(data?: IUtilizationDto);
6008
+ init(_data?: any): void;
6009
+ static fromJS(data: any): UtilizationDto;
6010
+ toJSON(data?: any): any;
6011
+ }
6012
+ export interface IUtilizationDto {
6013
+ powerOn: PowerOnUtilizationV2Dto;
6014
+ uptimeDowntimes: UptimeDowntimesDto;
6015
+ twentyFourSeven: TwentyFourSevenUtilizationDto;
6016
+ }
6017
+ export declare class PowerOnUtilizationV2Dto implements IPowerOnUtilizationV2Dto {
6018
+ today?: number | null;
6019
+ sevenDays?: number | null;
6020
+ thirtyDays?: number | null;
6021
+ ninetyDays?: number | null;
6022
+ yearToDate?: number | null;
6023
+ constructor(data?: IPowerOnUtilizationV2Dto);
6024
+ init(_data?: any): void;
6025
+ static fromJS(data: any): PowerOnUtilizationV2Dto;
6026
+ toJSON(data?: any): any;
6027
+ }
6028
+ export interface IPowerOnUtilizationV2Dto {
6029
+ today?: number | null;
6030
+ sevenDays?: number | null;
6031
+ thirtyDays?: number | null;
6032
+ ninetyDays?: number | null;
6033
+ yearToDate?: number | null;
6034
+ }
6035
+ export declare class UptimeDowntimesDto implements IUptimeDowntimesDto {
6036
+ today?: UptimeDowntimeDto | null;
6037
+ sevenDays?: UptimeDowntimeDto | null;
6038
+ thirtyDays?: UptimeDowntimeDto | null;
6039
+ ninetyDays?: UptimeDowntimeDto | null;
6040
+ yearToDate?: UptimeDowntimeDto | null;
6041
+ total?: UptimeDowntimeDto | null;
6042
+ constructor(data?: IUptimeDowntimesDto);
6043
+ init(_data?: any): void;
6044
+ static fromJS(data: any): UptimeDowntimesDto;
6045
+ toJSON(data?: any): any;
6046
+ }
6047
+ export interface IUptimeDowntimesDto {
6048
+ today?: UptimeDowntimeDto | null;
6049
+ sevenDays?: UptimeDowntimeDto | null;
6050
+ thirtyDays?: UptimeDowntimeDto | null;
6051
+ ninetyDays?: UptimeDowntimeDto | null;
6052
+ yearToDate?: UptimeDowntimeDto | null;
6053
+ total?: UptimeDowntimeDto | null;
6054
+ }
6055
+ export declare class UptimeDowntimeDto implements IUptimeDowntimeDto {
6056
+ uptimeInSeconds?: number | null;
6057
+ downtimeInSeconds?: number | null;
6058
+ powerOnTimeInSeconds?: number | null;
6059
+ twentyFourSevenTimeInSeconds?: number | null;
6060
+ constructor(data?: IUptimeDowntimeDto);
6061
+ init(_data?: any): void;
6062
+ static fromJS(data: any): UptimeDowntimeDto;
6063
+ toJSON(data?: any): any;
6064
+ }
6065
+ export interface IUptimeDowntimeDto {
6066
+ uptimeInSeconds?: number | null;
6067
+ downtimeInSeconds?: number | null;
6068
+ powerOnTimeInSeconds?: number | null;
6069
+ twentyFourSevenTimeInSeconds?: number | null;
6070
+ }
6071
+ export declare class TwentyFourSevenUtilizationDto implements ITwentyFourSevenUtilizationDto {
6072
+ sevenDays?: number | null;
6073
+ thirtyDays?: number | null;
6074
+ ninetyDays?: number | null;
6075
+ yearToDate?: number | null;
6076
+ constructor(data?: ITwentyFourSevenUtilizationDto);
6077
+ init(_data?: any): void;
6078
+ static fromJS(data: any): TwentyFourSevenUtilizationDto;
6079
+ toJSON(data?: any): any;
6080
+ }
6081
+ export interface ITwentyFourSevenUtilizationDto {
6082
+ sevenDays?: number | null;
6083
+ thirtyDays?: number | null;
6084
+ ninetyDays?: number | null;
6085
+ yearToDate?: number | null;
6086
+ }
6087
+ export declare class MachineGroupUtilizationDto implements IMachineGroupUtilizationDto {
6088
+ name: string;
6089
+ utilization: UtilizationDto;
6090
+ machines: MachineUtilizationV2Dto[];
6091
+ constructor(data?: IMachineGroupUtilizationDto);
6092
+ init(_data?: any): void;
6093
+ static fromJS(data: any): MachineGroupUtilizationDto;
6094
+ toJSON(data?: any): any;
6095
+ }
6096
+ export interface IMachineGroupUtilizationDto {
6097
+ name: string;
6098
+ utilization: UtilizationDto;
6099
+ machines: MachineUtilizationV2Dto[];
6100
+ }
6101
+ export declare class MachineUtilizationV2Dto implements IMachineUtilizationV2Dto {
6102
+ id?: number;
6103
+ name: string;
6104
+ description?: string | null;
6105
+ utilization: UtilizationDto;
6106
+ constructor(data?: IMachineUtilizationV2Dto);
6107
+ init(_data?: any): void;
6108
+ static fromJS(data: any): MachineUtilizationV2Dto;
6109
+ toJSON(data?: any): any;
6110
+ }
6111
+ export interface IMachineUtilizationV2Dto {
6112
+ id?: number;
6113
+ name: string;
6114
+ description?: string | null;
6115
+ utilization: UtilizationDto;
6116
+ }
6117
+ export declare class CrossCompanyUtilizationSummaryDto implements ICrossCompanyUtilizationSummaryDto {
6118
+ crossCompany: FactoryUtilizationDto;
6119
+ companies: MachineGroupUtilizationDto[];
6120
+ constructor(data?: ICrossCompanyUtilizationSummaryDto);
6121
+ init(_data?: any): void;
6122
+ static fromJS(data: any): CrossCompanyUtilizationSummaryDto;
6123
+ toJSON(data?: any): any;
6124
+ }
6125
+ export interface ICrossCompanyUtilizationSummaryDto {
6126
+ crossCompany: FactoryUtilizationDto;
6127
+ companies: MachineGroupUtilizationDto[];
6128
+ }
5786
6129
  export declare class OperatorAndMachineDto implements IOperatorAndMachineDto {
5787
6130
  operator?: EmployeeDto | null;
5788
6131
  lastWorkOrderEventStartTime?: Date;
@@ -11866,6 +12209,7 @@ export declare class MeasurementFormInstanceDto implements IMeasurementFormInsta
11866
12209
  suppliers: MeasurementFormWorkorderSupplierDto[];
11867
12210
  progress: MeasurementFormProgressDto;
11868
12211
  approvedReportUrl?: string | null;
12212
+ currentResource?: ResourceDto | null;
11869
12213
  constructor(data?: IMeasurementFormInstanceDto);
11870
12214
  init(_data?: any): void;
11871
12215
  static fromJS(data: any): MeasurementFormInstanceDto;
@@ -11888,6 +12232,7 @@ export interface IMeasurementFormInstanceDto {
11888
12232
  suppliers: MeasurementFormWorkorderSupplierDto[];
11889
12233
  progress: MeasurementFormProgressDto;
11890
12234
  approvedReportUrl?: string | null;
12235
+ currentResource?: ResourceDto | null;
11891
12236
  }
11892
12237
  export declare class MeasurementFormWorkorderSchemaDto implements IMeasurementFormWorkorderSchemaDto {
11893
12238
  id: string;
@@ -12678,22 +13023,6 @@ export interface IUpsertCustomerOrderRequest {
12678
13023
  orderLines: CustomerOrderLineDto[];
12679
13024
  }
12680
13025
  export type CustomerOrderStatus = "Draft" | "Ready" | "Ongoing" | "Completed" | "Deleted";
12681
- export declare class CustomerDto implements ICustomerDto {
12682
- id: string;
12683
- name: string;
12684
- groupId?: string | null;
12685
- groupName?: string | null;
12686
- constructor(data?: ICustomerDto);
12687
- init(_data?: any): void;
12688
- static fromJS(data: any): CustomerDto;
12689
- toJSON(data?: any): any;
12690
- }
12691
- export interface ICustomerDto {
12692
- id: string;
12693
- name: string;
12694
- groupId?: string | null;
12695
- groupName?: string | null;
12696
- }
12697
13026
  export declare class CustomerOrderLineDto implements ICustomerOrderLineDto {
12698
13027
  line: number;
12699
13028
  quantity: number;