@ignos/api-client 20250318.0.11388 → 20250320.0.11395-alpha

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,31 +151,10 @@ 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>;
167
154
  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>;
174
155
  listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
175
156
  getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
176
157
  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>;
179
158
  }
180
159
  export declare class MachineUtilizationClient extends AuthorizedApiBase implements IMachineUtilizationClient {
181
160
  private http;
@@ -184,39 +163,14 @@ export declare class MachineUtilizationClient extends AuthorizedApiBase implemen
184
163
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
185
164
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
186
165
  });
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>;
201
166
  getMachineUtilization(id: number, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
202
167
  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>;
210
168
  listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
211
169
  protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
212
170
  getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
213
171
  protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
214
172
  listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
215
173
  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>;
220
174
  }
221
175
  export interface IMeClient {
222
176
  getMyApps(): Promise<UserAppDto[]>;
@@ -837,9 +791,6 @@ export interface IMachinesClient {
837
791
  getMachineStateWithDowntimePeriods(id: number, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
838
792
  getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
839
793
  listMachineErpData(): Promise<MachineErpDataListDto>;
840
- getMachineErpData(id: number): Promise<MachineErpDataDto>;
841
- getMachineUtilizationSummary(): Promise<UtilizationSummaryDto>;
842
- getCrossCompanyUtilizationSummary(): Promise<CrossCompanyUtilizationSummaryDto>;
843
794
  listCurrentMachineOperators(machineExternalId: string | null | undefined, operatorNameQuery: string | null | undefined): Promise<OperatorAndMachineDto[]>;
844
795
  createMachineWithoutResource(request: CreateMachineWithoutResource): Promise<void>;
845
796
  createResourceWithoutMachine(request: CreateResourceWithoutMachine): Promise<void>;
@@ -875,12 +826,6 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
875
826
  protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
876
827
  listMachineErpData(): Promise<MachineErpDataListDto>;
877
828
  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>;
884
829
  listCurrentMachineOperators(machineExternalId: string | null | undefined, operatorNameQuery: string | null | undefined): Promise<OperatorAndMachineDto[]>;
885
830
  protected processListCurrentMachineOperators(response: Response): Promise<OperatorAndMachineDto[]>;
886
831
  createMachineWithoutResource(request: CreateMachineWithoutResource): Promise<void>;
@@ -2630,117 +2575,6 @@ export interface IComponentSettingsDto {
2630
2575
  componentId?: string | null;
2631
2576
  disabledFields?: string[] | null;
2632
2577
  }
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
- }
2744
2578
  export declare class UtilizationDetailsDto implements IUtilizationDetailsDto {
2745
2579
  machineId: number;
2746
2580
  machineName: string;
@@ -2761,30 +2595,7 @@ export interface IUtilizationDetailsDto {
2761
2595
  startTime?: Date | null;
2762
2596
  powerOnUtilization?: number | null;
2763
2597
  }
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
- }
2598
+ export type MachineState = "InCycle" | "MasterCam" | "MdiCycle" | "CamCycle" | "Idle" | "OptionalStop" | "ProgramStop" | "M0" | "AtcStopped" | "FeedHold" | "MdiMode" | "ManualMode" | "EStop" | "Alarm" | "PowerOff";
2788
2599
  export declare class MachineStateDatapoint implements IMachineStateDatapoint {
2789
2600
  machineStateText: string;
2790
2601
  machineState: MachineState;
@@ -2830,6 +2641,30 @@ export interface IDowntimePeriodReasonDto {
2830
2641
  reasonId: string;
2831
2642
  }
2832
2643
  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
+ }
2833
2668
  export declare class MachineUptimesAggregateDto implements IMachineUptimesAggregateDto {
2834
2669
  machineUptimes: MachineUptimeDto[];
2835
2670
  sum: MachineUptimeSumDto;
@@ -2880,46 +2715,6 @@ export interface IListMachineUptimesTodayRequest {
2880
2715
  machineExternalIds?: string[] | null;
2881
2716
  utcOffset?: number;
2882
2717
  }
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
- }
2923
2718
  export declare class UserAppDto implements IUserAppDto {
2924
2719
  key: string;
2925
2720
  name: string;
@@ -3576,9 +3371,9 @@ export interface IUpdatePulseSettings {
3576
3371
  }
3577
3372
  export declare class CompanyUtilizationDto implements ICompanyUtilizationDto {
3578
3373
  utilizationType: UtilizationTypeDto;
3579
- companyUtilization: UtilizationDetailsV2Dto;
3580
- groups: MachineGroupUtilizationV2Dto[];
3581
- ungroupedMachines: MachineUtilizationV3Dto[];
3374
+ companyUtilization: UtilizationDetailsDto2;
3375
+ groups: MachineGroupUtilizationDto[];
3376
+ ungroupedMachines: MachineUtilizationDto[];
3582
3377
  constructor(data?: ICompanyUtilizationDto);
3583
3378
  init(_data?: any): void;
3584
3379
  static fromJS(data: any): CompanyUtilizationDto;
@@ -3586,11 +3381,11 @@ export declare class CompanyUtilizationDto implements ICompanyUtilizationDto {
3586
3381
  }
3587
3382
  export interface ICompanyUtilizationDto {
3588
3383
  utilizationType: UtilizationTypeDto;
3589
- companyUtilization: UtilizationDetailsV2Dto;
3590
- groups: MachineGroupUtilizationV2Dto[];
3591
- ungroupedMachines: MachineUtilizationV3Dto[];
3384
+ companyUtilization: UtilizationDetailsDto2;
3385
+ groups: MachineGroupUtilizationDto[];
3386
+ ungroupedMachines: MachineUtilizationDto[];
3592
3387
  }
3593
- export declare class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
3388
+ export declare class UtilizationDetailsDto2 implements IUtilizationDetailsDto2 {
3594
3389
  utilizationPercent?: number | null;
3595
3390
  uptimeInSeconds?: number | null;
3596
3391
  downtimeInSeconds?: number | null;
@@ -3598,12 +3393,12 @@ export declare class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto
3598
3393
  uptimeInMilliseconds?: number | null;
3599
3394
  downtimeInMilliseconds?: number | null;
3600
3395
  totalTimeInMilliseconds?: number | null;
3601
- constructor(data?: IUtilizationDetailsV2Dto);
3396
+ constructor(data?: IUtilizationDetailsDto2);
3602
3397
  init(_data?: any): void;
3603
- static fromJS(data: any): UtilizationDetailsV2Dto;
3398
+ static fromJS(data: any): UtilizationDetailsDto2;
3604
3399
  toJSON(data?: any): any;
3605
3400
  }
3606
- export interface IUtilizationDetailsV2Dto {
3401
+ export interface IUtilizationDetailsDto2 {
3607
3402
  utilizationPercent?: number | null;
3608
3403
  uptimeInSeconds?: number | null;
3609
3404
  downtimeInSeconds?: number | null;
@@ -3612,39 +3407,39 @@ export interface IUtilizationDetailsV2Dto {
3612
3407
  downtimeInMilliseconds?: number | null;
3613
3408
  totalTimeInMilliseconds?: number | null;
3614
3409
  }
3615
- export declare class MachineGroupUtilizationV2Dto implements IMachineGroupUtilizationV2Dto {
3410
+ export declare class MachineGroupUtilizationDto implements IMachineGroupUtilizationDto {
3616
3411
  name: string;
3617
- utilization: UtilizationDetailsV2Dto;
3618
- machines: MachineUtilizationV3Dto[];
3619
- constructor(data?: IMachineGroupUtilizationV2Dto);
3412
+ utilization: UtilizationDetailsDto2;
3413
+ machines: MachineUtilizationDto[];
3414
+ constructor(data?: IMachineGroupUtilizationDto);
3620
3415
  init(_data?: any): void;
3621
- static fromJS(data: any): MachineGroupUtilizationV2Dto;
3416
+ static fromJS(data: any): MachineGroupUtilizationDto;
3622
3417
  toJSON(data?: any): any;
3623
3418
  }
3624
- export interface IMachineGroupUtilizationV2Dto {
3419
+ export interface IMachineGroupUtilizationDto {
3625
3420
  name: string;
3626
- utilization: UtilizationDetailsV2Dto;
3627
- machines: MachineUtilizationV3Dto[];
3421
+ utilization: UtilizationDetailsDto2;
3422
+ machines: MachineUtilizationDto[];
3628
3423
  }
3629
- export declare class MachineUtilizationV3Dto implements IMachineUtilizationV3Dto {
3424
+ export declare class MachineUtilizationDto implements IMachineUtilizationDto {
3630
3425
  id?: number;
3631
3426
  name: string;
3632
3427
  description?: string | null;
3633
- utilization: UtilizationDetailsV2Dto;
3634
- constructor(data?: IMachineUtilizationV3Dto);
3428
+ utilization: UtilizationDetailsDto2;
3429
+ constructor(data?: IMachineUtilizationDto);
3635
3430
  init(_data?: any): void;
3636
- static fromJS(data: any): MachineUtilizationV3Dto;
3431
+ static fromJS(data: any): MachineUtilizationDto;
3637
3432
  toJSON(data?: any): any;
3638
3433
  }
3639
- export interface IMachineUtilizationV3Dto {
3434
+ export interface IMachineUtilizationDto {
3640
3435
  id?: number;
3641
3436
  name: string;
3642
3437
  description?: string | null;
3643
- utilization: UtilizationDetailsV2Dto;
3438
+ utilization: UtilizationDetailsDto2;
3644
3439
  }
3645
3440
  export declare class CrossCompanyUtilizationDto implements ICrossCompanyUtilizationDto {
3646
3441
  utilizationType: UtilizationTypeDto;
3647
- crossCompanyUtilization: UtilizationDetailsV2Dto;
3442
+ crossCompanyUtilization: UtilizationDetailsDto2;
3648
3443
  companies: NamedCompanyUtilizationDto[];
3649
3444
  constructor(data?: ICrossCompanyUtilizationDto);
3650
3445
  init(_data?: any): void;
@@ -3653,7 +3448,7 @@ export declare class CrossCompanyUtilizationDto implements ICrossCompanyUtilizat
3653
3448
  }
3654
3449
  export interface ICrossCompanyUtilizationDto {
3655
3450
  utilizationType: UtilizationTypeDto;
3656
- crossCompanyUtilization: UtilizationDetailsV2Dto;
3451
+ crossCompanyUtilization: UtilizationDetailsDto2;
3657
3452
  companies: NamedCompanyUtilizationDto[];
3658
3453
  }
3659
3454
  export declare class NamedCompanyUtilizationDto extends CompanyUtilizationDto implements INamedCompanyUtilizationDto {
@@ -3698,6 +3493,18 @@ export interface IMachineUtilizationDatapointListDto extends IUtilizationDatapoi
3698
3493
  name: string;
3699
3494
  description?: string | null;
3700
3495
  }
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
+ }
3701
3508
  export declare class CompanyUtilizationDatapointListDto extends UtilizationDatapointListDto implements ICompanyUtilizationDatapointListDto {
3702
3509
  groups?: MachineGroupUtilizationDatapointListDto[];
3703
3510
  ungroupedMachines?: MachineUtilizationDatapointListDto[];
@@ -5976,156 +5783,6 @@ export interface IWorkOrderProjectDto {
5976
5783
  name?: string | null;
5977
5784
  projectManager?: string | null;
5978
5785
  }
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
- }
6129
5786
  export declare class OperatorAndMachineDto implements IOperatorAndMachineDto {
6130
5787
  operator?: EmployeeDto | null;
6131
5788
  lastWorkOrderEventStartTime?: Date;
@@ -13021,6 +12678,22 @@ export interface IUpsertCustomerOrderRequest {
13021
12678
  orderLines: CustomerOrderLineDto[];
13022
12679
  }
13023
12680
  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
+ }
13024
12697
  export declare class CustomerOrderLineDto implements ICustomerOrderLineDto {
13025
12698
  line: number;
13026
12699
  quantity: number;