@ignos/api-client 20260109.0.13694 → 20260116.0.13753
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.
- package/lib/ignosportal-api.d.ts +567 -262
- package/lib/ignosportal-api.js +2248 -1051
- package/package.json +1 -1
- package/src/ignosportal-api.ts +9039 -7592
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -226,7 +226,7 @@ export declare class MachineUtilizationClient extends AuthorizedApiBase implemen
|
|
|
226
226
|
}
|
|
227
227
|
export interface IResourceUtilizationClient {
|
|
228
228
|
/**
|
|
229
|
-
* Get
|
|
229
|
+
* Get resource utilization data. Historic utilizations start from now, whereas the start for current utilization is
|
|
230
230
|
calculated based on startTimeToday or utcOffset. An UTC offset is
|
|
231
231
|
obtained either from startTimeToday, utcOffset or the server's local
|
|
232
232
|
time zone. The current utilization is calculated starting from the start of the current date offset from UTC
|
|
@@ -242,7 +242,7 @@ export interface IResourceUtilizationClient {
|
|
|
242
242
|
getResourceTimelines(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
|
|
243
243
|
listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
244
244
|
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
245
|
-
listResourceUptimesToday(request: ListResourceUptimesTodayRequest): Promise<
|
|
245
|
+
listResourceUptimesToday(request: ListResourceUptimesTodayRequest): Promise<ResourceUptimesAggregateDto>;
|
|
246
246
|
listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
|
|
247
247
|
getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
|
|
248
248
|
getProgramTimeline(id: string, startTime: Date | undefined, endTime: Date | undefined): Promise<ProgramDatapoint[]>;
|
|
@@ -255,7 +255,7 @@ export declare class ResourceUtilizationClient extends AuthorizedApiBase impleme
|
|
|
255
255
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
256
256
|
});
|
|
257
257
|
/**
|
|
258
|
-
* Get
|
|
258
|
+
* Get resource utilization data. Historic utilizations start from now, whereas the start for current utilization is
|
|
259
259
|
calculated based on startTimeToday or utcOffset. An UTC offset is
|
|
260
260
|
obtained either from startTimeToday, utcOffset or the server's local
|
|
261
261
|
time zone. The current utilization is calculated starting from the start of the current date offset from UTC
|
|
@@ -276,8 +276,8 @@ export declare class ResourceUtilizationClient extends AuthorizedApiBase impleme
|
|
|
276
276
|
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
277
277
|
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
278
278
|
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
279
|
-
listResourceUptimesToday(request: ListResourceUptimesTodayRequest): Promise<
|
|
280
|
-
protected processListResourceUptimesToday(response: Response): Promise<
|
|
279
|
+
listResourceUptimesToday(request: ListResourceUptimesTodayRequest): Promise<ResourceUptimesAggregateDto>;
|
|
280
|
+
protected processListResourceUptimesToday(response: Response): Promise<ResourceUptimesAggregateDto>;
|
|
281
281
|
listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
|
|
282
282
|
protected processListPowerOnUtilizationDatapoints(response: Response): Promise<PowerOnUtilizationList>;
|
|
283
283
|
getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
|
|
@@ -458,17 +458,91 @@ export declare class MachineAlarmsClient extends AuthorizedApiBase implements IM
|
|
|
458
458
|
getMachineAlarmDetails(id: number): Promise<MachineAlarmDetailsDto>;
|
|
459
459
|
protected processGetMachineAlarmDetails(response: Response): Promise<MachineAlarmDetailsDto>;
|
|
460
460
|
}
|
|
461
|
+
export interface IKpiAdminClient {
|
|
462
|
+
getResourceCapacityAdmin(): Promise<ResourceGroupCapacityDto[]>;
|
|
463
|
+
updateResourceCapacityAdmin(request: UpdateResourcesCapacity): Promise<ResourceCapacityDto>;
|
|
464
|
+
getCalendarCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalendarDayDto[]>;
|
|
465
|
+
updateCalendarCapacityAdmin(request: UpdateCalendarCapacity): Promise<CalendarCapacityDto>;
|
|
466
|
+
getCalendarSettings(): Promise<CalendarSettingsDto>;
|
|
467
|
+
updateCalendarSettings(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto>;
|
|
468
|
+
getMachineCapacityAdmin(): Promise<MachineGroupCapacityDto[]>;
|
|
469
|
+
updateMachineCapacityAdmin(request: UpdateMachinesCapacity): Promise<MachineCapacityDto>;
|
|
470
|
+
getCalendarCapacityAdmin2(startDate: Date | undefined, endDate: Date | undefined): Promise<CalendarDayDto[]>;
|
|
471
|
+
updateCalendarCapacityAdmin2(request: UpdateCalendarCapacity): Promise<CalendarCapacityDto>;
|
|
472
|
+
getCalendarSettings2(): Promise<CalendarSettingsDto>;
|
|
473
|
+
updateCalendarSettings2(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto>;
|
|
474
|
+
}
|
|
475
|
+
export declare class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient {
|
|
476
|
+
private http;
|
|
477
|
+
private baseUrl;
|
|
478
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
479
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
480
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
481
|
+
});
|
|
482
|
+
getResourceCapacityAdmin(): Promise<ResourceGroupCapacityDto[]>;
|
|
483
|
+
protected processGetResourceCapacityAdmin(response: Response): Promise<ResourceGroupCapacityDto[]>;
|
|
484
|
+
updateResourceCapacityAdmin(request: UpdateResourcesCapacity): Promise<ResourceCapacityDto>;
|
|
485
|
+
protected processUpdateResourceCapacityAdmin(response: Response): Promise<ResourceCapacityDto>;
|
|
486
|
+
getCalendarCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalendarDayDto[]>;
|
|
487
|
+
protected processGetCalendarCapacityAdmin(response: Response): Promise<CalendarDayDto[]>;
|
|
488
|
+
updateCalendarCapacityAdmin(request: UpdateCalendarCapacity): Promise<CalendarCapacityDto>;
|
|
489
|
+
protected processUpdateCalendarCapacityAdmin(response: Response): Promise<CalendarCapacityDto>;
|
|
490
|
+
getCalendarSettings(): Promise<CalendarSettingsDto>;
|
|
491
|
+
protected processGetCalendarSettings(response: Response): Promise<CalendarSettingsDto>;
|
|
492
|
+
updateCalendarSettings(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto>;
|
|
493
|
+
protected processUpdateCalendarSettings(response: Response): Promise<CalendarSettingsDto>;
|
|
494
|
+
getMachineCapacityAdmin(): Promise<MachineGroupCapacityDto[]>;
|
|
495
|
+
protected processGetMachineCapacityAdmin(response: Response): Promise<MachineGroupCapacityDto[]>;
|
|
496
|
+
updateMachineCapacityAdmin(request: UpdateMachinesCapacity): Promise<MachineCapacityDto>;
|
|
497
|
+
protected processUpdateMachineCapacityAdmin(response: Response): Promise<MachineCapacityDto>;
|
|
498
|
+
getCalendarCapacityAdmin2(startDate: Date | undefined, endDate: Date | undefined): Promise<CalendarDayDto[]>;
|
|
499
|
+
protected processGetCalendarCapacityAdmin2(response: Response): Promise<CalendarDayDto[]>;
|
|
500
|
+
updateCalendarCapacityAdmin2(request: UpdateCalendarCapacity): Promise<CalendarCapacityDto>;
|
|
501
|
+
protected processUpdateCalendarCapacityAdmin2(response: Response): Promise<CalendarCapacityDto>;
|
|
502
|
+
getCalendarSettings2(): Promise<CalendarSettingsDto>;
|
|
503
|
+
protected processGetCalendarSettings2(response: Response): Promise<CalendarSettingsDto>;
|
|
504
|
+
updateCalendarSettings2(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto>;
|
|
505
|
+
protected processUpdateCalendarSettings2(response: Response): Promise<CalendarSettingsDto>;
|
|
506
|
+
}
|
|
507
|
+
export interface IKpiClient {
|
|
508
|
+
getMachineKpi(machineExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<ResourceKpiDto>;
|
|
509
|
+
getMachineDailyUptime(machineExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<ResourceDailyUptimeDto>;
|
|
510
|
+
getUptimeNormalTrend(assetId: number | null | undefined, assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
|
|
511
|
+
getMachineKpi2(machineExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<MachineKpiDto>;
|
|
512
|
+
getMachineDailyUptime2(machineExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<MachineDailyUptimeDto>;
|
|
513
|
+
getUptimeNormalTrend2(assetId: number | null | undefined, assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
|
|
514
|
+
}
|
|
515
|
+
export declare class KpiClient extends AuthorizedApiBase implements IKpiClient {
|
|
516
|
+
private http;
|
|
517
|
+
private baseUrl;
|
|
518
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
519
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
520
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
521
|
+
});
|
|
522
|
+
getMachineKpi(machineExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<ResourceKpiDto>;
|
|
523
|
+
protected processGetMachineKpi(response: Response): Promise<ResourceKpiDto>;
|
|
524
|
+
getMachineDailyUptime(machineExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<ResourceDailyUptimeDto>;
|
|
525
|
+
protected processGetMachineDailyUptime(response: Response): Promise<ResourceDailyUptimeDto>;
|
|
526
|
+
getUptimeNormalTrend(assetId: number | null | undefined, assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
|
|
527
|
+
protected processGetUptimeNormalTrend(response: Response): Promise<UptimeTrendDataPointDto[]>;
|
|
528
|
+
getMachineKpi2(machineExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<MachineKpiDto>;
|
|
529
|
+
protected processGetMachineKpi2(response: Response): Promise<MachineKpiDto>;
|
|
530
|
+
getMachineDailyUptime2(machineExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<MachineDailyUptimeDto>;
|
|
531
|
+
protected processGetMachineDailyUptime2(response: Response): Promise<MachineDailyUptimeDto>;
|
|
532
|
+
getUptimeNormalTrend2(assetId: number | null | undefined, assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
|
|
533
|
+
protected processGetUptimeNormalTrend2(response: Response): Promise<UptimeTrendDataPointDto[]>;
|
|
534
|
+
}
|
|
461
535
|
export interface IResourcesClient {
|
|
462
536
|
listResources(onlyConnectedResources: boolean | undefined): Promise<ApplicationResourcesResourceDto[]>;
|
|
463
537
|
listResourceGroups(): Promise<ApplicationResourcesResourceGroupDto[]>;
|
|
464
538
|
createResourceGroup(request: CreateResourceGroup): Promise<CreateResourceGroupResponse>;
|
|
465
539
|
updateResourceGroup(id: string, request: UpdateResourceGroup): Promise<void>;
|
|
466
540
|
deleteResourceGroup(id: string): Promise<void>;
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
541
|
+
listCurrentMachineStates(assetId: number | null | undefined): Promise<MachineStateListDto>;
|
|
542
|
+
listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
543
|
+
listLastDowntimeMachineStates(id: number, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
544
|
+
getMachineStateWithDowntimePeriods(id: number, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
545
|
+
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
472
546
|
listResourceErpData(): Promise<ResourceErpDataListDto>;
|
|
473
547
|
getResourceErpData(id: number): Promise<ResourceErpDataDto>;
|
|
474
548
|
getResourceUtilizationSummary(): Promise<UtilizationSummaryDto>;
|
|
@@ -498,16 +572,16 @@ export declare class ResourcesClient extends AuthorizedApiBase implements IResou
|
|
|
498
572
|
protected processUpdateResourceGroup(response: Response): Promise<void>;
|
|
499
573
|
deleteResourceGroup(id: string): Promise<void>;
|
|
500
574
|
protected processDeleteResourceGroup(response: Response): Promise<void>;
|
|
501
|
-
|
|
502
|
-
protected
|
|
503
|
-
|
|
504
|
-
protected
|
|
505
|
-
|
|
506
|
-
protected
|
|
507
|
-
|
|
508
|
-
protected
|
|
509
|
-
|
|
510
|
-
protected
|
|
575
|
+
listCurrentMachineStates(assetId: number | null | undefined): Promise<MachineStateListDto>;
|
|
576
|
+
protected processListCurrentMachineStates(response: Response): Promise<MachineStateListDto>;
|
|
577
|
+
listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
578
|
+
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
579
|
+
listLastDowntimeMachineStates(id: number, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
580
|
+
protected processListLastDowntimeMachineStates(response: Response): Promise<DowntimeMachineStateDto[]>;
|
|
581
|
+
getMachineStateWithDowntimePeriods(id: number, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
582
|
+
protected processGetMachineStateWithDowntimePeriods(response: Response): Promise<DowntimeMachineStateDto>;
|
|
583
|
+
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
584
|
+
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
511
585
|
listResourceErpData(): Promise<ResourceErpDataListDto>;
|
|
512
586
|
protected processListResourceErpData(response: Response): Promise<ResourceErpDataListDto>;
|
|
513
587
|
getResourceErpData(id: number): Promise<ResourceErpDataDto>;
|
|
@@ -548,11 +622,45 @@ export declare class PulseClient extends AuthorizedApiBase implements IPulseClie
|
|
|
548
622
|
protected processUpdatePulseSettings(response: Response): Promise<PulseSettingsDto>;
|
|
549
623
|
}
|
|
550
624
|
export interface IUtilizationClient {
|
|
625
|
+
/**
|
|
626
|
+
* @param utilizationType (optional)
|
|
627
|
+
* @param startTime (optional)
|
|
628
|
+
* @param endTime (optional)
|
|
629
|
+
* @param ianaTimeZone (optional)
|
|
630
|
+
* @deprecated
|
|
631
|
+
*/
|
|
551
632
|
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDto>;
|
|
552
633
|
getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyUtilizationDto>;
|
|
634
|
+
/**
|
|
635
|
+
* @param utilizationType (optional)
|
|
636
|
+
* @param startTime (optional)
|
|
637
|
+
* @param endTime (optional)
|
|
638
|
+
* @param ianaTimeZone (optional)
|
|
639
|
+
* @param assetId (optional)
|
|
640
|
+
* @param assetExternalId (optional)
|
|
641
|
+
* @deprecated
|
|
642
|
+
*/
|
|
553
643
|
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
644
|
+
/**
|
|
645
|
+
* @param utilizationType (optional)
|
|
646
|
+
* @param startTime (optional)
|
|
647
|
+
* @param endTime (optional)
|
|
648
|
+
* @param ianaTimeZone (optional)
|
|
649
|
+
* @deprecated
|
|
650
|
+
*/
|
|
554
651
|
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
|
|
652
|
+
/**
|
|
653
|
+
* @param utilizationType (optional)
|
|
654
|
+
* @param startTime (optional)
|
|
655
|
+
* @param endTime (optional)
|
|
656
|
+
* @param ianaTimeZone (optional)
|
|
657
|
+
* @deprecated
|
|
658
|
+
*/
|
|
555
659
|
getCrossCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyUtilizationDatapointListDto>;
|
|
660
|
+
getCompanyResourceUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyResourceUtilizationDto>;
|
|
661
|
+
getResourceUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<ResourceUtilizationDatapointListDto>;
|
|
662
|
+
getCompanyResourceUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
663
|
+
getCrossCompanyResourceUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyResourceUtilizationDatapointListDto>;
|
|
556
664
|
}
|
|
557
665
|
export declare class UtilizationClient extends AuthorizedApiBase implements IUtilizationClient {
|
|
558
666
|
private http;
|
|
@@ -561,16 +669,54 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
|
|
|
561
669
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
562
670
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
563
671
|
});
|
|
672
|
+
/**
|
|
673
|
+
* @param utilizationType (optional)
|
|
674
|
+
* @param startTime (optional)
|
|
675
|
+
* @param endTime (optional)
|
|
676
|
+
* @param ianaTimeZone (optional)
|
|
677
|
+
* @deprecated
|
|
678
|
+
*/
|
|
564
679
|
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDto>;
|
|
565
680
|
protected processGetCompanyUtilization(response: Response): Promise<CompanyUtilizationDto>;
|
|
566
681
|
getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyUtilizationDto>;
|
|
567
682
|
protected processGetCrossCompanyUtilization(response: Response): Promise<CrossCompanyUtilizationDto>;
|
|
683
|
+
/**
|
|
684
|
+
* @param utilizationType (optional)
|
|
685
|
+
* @param startTime (optional)
|
|
686
|
+
* @param endTime (optional)
|
|
687
|
+
* @param ianaTimeZone (optional)
|
|
688
|
+
* @param assetId (optional)
|
|
689
|
+
* @param assetExternalId (optional)
|
|
690
|
+
* @deprecated
|
|
691
|
+
*/
|
|
568
692
|
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
569
693
|
protected processGetUtilizationDatapoints(response: Response): Promise<MachineUtilizationDatapointListDto>;
|
|
694
|
+
/**
|
|
695
|
+
* @param utilizationType (optional)
|
|
696
|
+
* @param startTime (optional)
|
|
697
|
+
* @param endTime (optional)
|
|
698
|
+
* @param ianaTimeZone (optional)
|
|
699
|
+
* @deprecated
|
|
700
|
+
*/
|
|
570
701
|
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
|
|
571
702
|
protected processGetCompanyUtilizationDatapoints(response: Response): Promise<CompanyUtilizationDatapointListDto>;
|
|
703
|
+
/**
|
|
704
|
+
* @param utilizationType (optional)
|
|
705
|
+
* @param startTime (optional)
|
|
706
|
+
* @param endTime (optional)
|
|
707
|
+
* @param ianaTimeZone (optional)
|
|
708
|
+
* @deprecated
|
|
709
|
+
*/
|
|
572
710
|
getCrossCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyUtilizationDatapointListDto>;
|
|
573
711
|
protected processGetCrossCompanyUtilizationDatapoints(response: Response): Promise<CrossCompanyUtilizationDatapointListDto>;
|
|
712
|
+
getCompanyResourceUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyResourceUtilizationDto>;
|
|
713
|
+
protected processGetCompanyResourceUtilization(response: Response): Promise<CompanyResourceUtilizationDto>;
|
|
714
|
+
getResourceUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<ResourceUtilizationDatapointListDto>;
|
|
715
|
+
protected processGetResourceUtilizationDatapoints(response: Response): Promise<ResourceUtilizationDatapointListDto>;
|
|
716
|
+
getCompanyResourceUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
717
|
+
protected processGetCompanyResourceUtilizationDatapoints(response: Response): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
718
|
+
getCrossCompanyResourceUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyResourceUtilizationDatapointListDto>;
|
|
719
|
+
protected processGetCrossCompanyResourceUtilizationDatapoints(response: Response): Promise<CrossCompanyResourceUtilizationDatapointListDto>;
|
|
574
720
|
}
|
|
575
721
|
export interface IMrbClient {
|
|
576
722
|
listMrbInstances(customerOrder: string | undefined, customerOrderLine: number | null | undefined): Promise<MrbInstanceDto[]>;
|
|
@@ -931,6 +1077,7 @@ export interface IDowntimeReasonsClient {
|
|
|
931
1077
|
listDowntimeReasonsHierarchyForMachine(id: number): Promise<ParentTopicDto[]>;
|
|
932
1078
|
listActiveDowntimeReasonsForMachine(id: number): Promise<DowntimePeriodReasonDto[]>;
|
|
933
1079
|
listTopDowntimeReasons(start: Date | null | undefined, end: Date | null | undefined): Promise<TopDowntimeReasonsDto>;
|
|
1080
|
+
listTopDowntimeReasonsForResources(request: ListTopDowntimeReasonsForResourcesRequest): Promise<TopDowntimeReasonsDto>;
|
|
934
1081
|
createReport(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportDto>;
|
|
935
1082
|
exportReportToCsv(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportCsvDto>;
|
|
936
1083
|
}
|
|
@@ -955,58 +1102,13 @@ export declare class DowntimeReasonsClient extends AuthorizedApiBase implements
|
|
|
955
1102
|
protected processListActiveDowntimeReasonsForMachine(response: Response): Promise<DowntimePeriodReasonDto[]>;
|
|
956
1103
|
listTopDowntimeReasons(start: Date | null | undefined, end: Date | null | undefined): Promise<TopDowntimeReasonsDto>;
|
|
957
1104
|
protected processListTopDowntimeReasons(response: Response): Promise<TopDowntimeReasonsDto>;
|
|
1105
|
+
listTopDowntimeReasonsForResources(request: ListTopDowntimeReasonsForResourcesRequest): Promise<TopDowntimeReasonsDto>;
|
|
1106
|
+
protected processListTopDowntimeReasonsForResources(response: Response): Promise<TopDowntimeReasonsDto>;
|
|
958
1107
|
createReport(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportDto>;
|
|
959
1108
|
protected processCreateReport(response: Response): Promise<DowntimeReasonsReportDto>;
|
|
960
1109
|
exportReportToCsv(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportCsvDto>;
|
|
961
1110
|
protected processExportReportToCsv(response: Response): Promise<DowntimeReasonsReportCsvDto>;
|
|
962
1111
|
}
|
|
963
|
-
export interface IKpiAdminClient {
|
|
964
|
-
getMachineCapacityAdmin(): Promise<MachineGroupCapacityDto[]>;
|
|
965
|
-
updateMachineCapacityAdmin(request: UpdateMachinesCapacity): Promise<MachineCapacityDto>;
|
|
966
|
-
getCalendarCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalendarDayDto[]>;
|
|
967
|
-
updateCalendarCapacityAdmin(request: UpdateCalendarCapacity): Promise<CalendarCapacityDto>;
|
|
968
|
-
getCalendarSettings(): Promise<CalendarSettingsDto>;
|
|
969
|
-
updateCalendarSettings(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto>;
|
|
970
|
-
}
|
|
971
|
-
export declare class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient {
|
|
972
|
-
private http;
|
|
973
|
-
private baseUrl;
|
|
974
|
-
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
975
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
976
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
977
|
-
});
|
|
978
|
-
getMachineCapacityAdmin(): Promise<MachineGroupCapacityDto[]>;
|
|
979
|
-
protected processGetMachineCapacityAdmin(response: Response): Promise<MachineGroupCapacityDto[]>;
|
|
980
|
-
updateMachineCapacityAdmin(request: UpdateMachinesCapacity): Promise<MachineCapacityDto>;
|
|
981
|
-
protected processUpdateMachineCapacityAdmin(response: Response): Promise<MachineCapacityDto>;
|
|
982
|
-
getCalendarCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalendarDayDto[]>;
|
|
983
|
-
protected processGetCalendarCapacityAdmin(response: Response): Promise<CalendarDayDto[]>;
|
|
984
|
-
updateCalendarCapacityAdmin(request: UpdateCalendarCapacity): Promise<CalendarCapacityDto>;
|
|
985
|
-
protected processUpdateCalendarCapacityAdmin(response: Response): Promise<CalendarCapacityDto>;
|
|
986
|
-
getCalendarSettings(): Promise<CalendarSettingsDto>;
|
|
987
|
-
protected processGetCalendarSettings(response: Response): Promise<CalendarSettingsDto>;
|
|
988
|
-
updateCalendarSettings(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto>;
|
|
989
|
-
protected processUpdateCalendarSettings(response: Response): Promise<CalendarSettingsDto>;
|
|
990
|
-
}
|
|
991
|
-
export interface IKpiClient {
|
|
992
|
-
getMachineKpi(machineExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<MachineKpiDto>;
|
|
993
|
-
getMachineDailyUptime(machineExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<MachineDailyUptimeDto>;
|
|
994
|
-
getUptimeNormalTrend(assetId: number | null | undefined, assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
|
|
995
|
-
}
|
|
996
|
-
export declare class KpiClient extends AuthorizedApiBase implements IKpiClient {
|
|
997
|
-
private http;
|
|
998
|
-
private baseUrl;
|
|
999
|
-
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
1000
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
1001
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1002
|
-
});
|
|
1003
|
-
getMachineKpi(machineExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<MachineKpiDto>;
|
|
1004
|
-
protected processGetMachineKpi(response: Response): Promise<MachineKpiDto>;
|
|
1005
|
-
getMachineDailyUptime(machineExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<MachineDailyUptimeDto>;
|
|
1006
|
-
protected processGetMachineDailyUptime(response: Response): Promise<MachineDailyUptimeDto>;
|
|
1007
|
-
getUptimeNormalTrend(assetId: number | null | undefined, assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
|
|
1008
|
-
protected processGetUptimeNormalTrend(response: Response): Promise<UptimeTrendDataPointDto[]>;
|
|
1009
|
-
}
|
|
1010
1112
|
export interface IMachinesClient {
|
|
1011
1113
|
listMachines(onlyConnectedMachines: boolean | undefined): Promise<MachineDto[]>;
|
|
1012
1114
|
listMachineGroups(): Promise<MachineGroupDto[]>;
|
|
@@ -3490,6 +3592,44 @@ export interface IResourceUtilizationDetailsDto {
|
|
|
3490
3592
|
startTime?: Date | null;
|
|
3491
3593
|
powerOnUtilization?: number | null;
|
|
3492
3594
|
}
|
|
3595
|
+
export declare class ResourceUptimesAggregateDto implements IResourceUptimesAggregateDto {
|
|
3596
|
+
resourceUptimes: ResourceUptimeDto[];
|
|
3597
|
+
sum: ResourceUptimeSumDto;
|
|
3598
|
+
constructor(data?: IResourceUptimesAggregateDto);
|
|
3599
|
+
init(_data?: any): void;
|
|
3600
|
+
static fromJS(data: any): ResourceUptimesAggregateDto;
|
|
3601
|
+
toJSON(data?: any): any;
|
|
3602
|
+
}
|
|
3603
|
+
export interface IResourceUptimesAggregateDto {
|
|
3604
|
+
resourceUptimes: ResourceUptimeDto[];
|
|
3605
|
+
sum: ResourceUptimeSumDto;
|
|
3606
|
+
}
|
|
3607
|
+
export declare class ResourceUptimeDto implements IResourceUptimeDto {
|
|
3608
|
+
assetExternalId: string;
|
|
3609
|
+
percent: number;
|
|
3610
|
+
numberOfSeconds: number;
|
|
3611
|
+
constructor(data?: IResourceUptimeDto);
|
|
3612
|
+
init(_data?: any): void;
|
|
3613
|
+
static fromJS(data: any): ResourceUptimeDto;
|
|
3614
|
+
toJSON(data?: any): any;
|
|
3615
|
+
}
|
|
3616
|
+
export interface IResourceUptimeDto {
|
|
3617
|
+
assetExternalId: string;
|
|
3618
|
+
percent: number;
|
|
3619
|
+
numberOfSeconds: number;
|
|
3620
|
+
}
|
|
3621
|
+
export declare class ResourceUptimeSumDto implements IResourceUptimeSumDto {
|
|
3622
|
+
percent: number;
|
|
3623
|
+
numberOfSeconds: number;
|
|
3624
|
+
constructor(data?: IResourceUptimeSumDto);
|
|
3625
|
+
init(_data?: any): void;
|
|
3626
|
+
static fromJS(data: any): ResourceUptimeSumDto;
|
|
3627
|
+
toJSON(data?: any): any;
|
|
3628
|
+
}
|
|
3629
|
+
export interface IResourceUptimeSumDto {
|
|
3630
|
+
percent: number;
|
|
3631
|
+
numberOfSeconds: number;
|
|
3632
|
+
}
|
|
3493
3633
|
export declare class ListResourceUptimesTodayRequest implements IListResourceUptimesTodayRequest {
|
|
3494
3634
|
resourceExternalIds?: string[] | null;
|
|
3495
3635
|
utcOffset?: number;
|
|
@@ -4167,6 +4307,222 @@ export interface ICncProgramInfoDto {
|
|
|
4167
4307
|
sequence?: string | null;
|
|
4168
4308
|
line?: string | null;
|
|
4169
4309
|
}
|
|
4310
|
+
export declare class ResourceGroupCapacityDto implements IResourceGroupCapacityDto {
|
|
4311
|
+
resourceGroupName: string;
|
|
4312
|
+
resource: ResourceCapacityDto[];
|
|
4313
|
+
constructor(data?: IResourceGroupCapacityDto);
|
|
4314
|
+
init(_data?: any): void;
|
|
4315
|
+
static fromJS(data: any): ResourceGroupCapacityDto;
|
|
4316
|
+
toJSON(data?: any): any;
|
|
4317
|
+
}
|
|
4318
|
+
export interface IResourceGroupCapacityDto {
|
|
4319
|
+
resourceGroupName: string;
|
|
4320
|
+
resource: ResourceCapacityDto[];
|
|
4321
|
+
}
|
|
4322
|
+
export declare class ResourceCapacityDto implements IResourceCapacityDto {
|
|
4323
|
+
resourceExternalId: string;
|
|
4324
|
+
name: string;
|
|
4325
|
+
description?: string | null;
|
|
4326
|
+
comment?: string | null;
|
|
4327
|
+
utilizationPercent: number;
|
|
4328
|
+
capacity: ResourceCapacitySettingsDto[];
|
|
4329
|
+
created?: Date | null;
|
|
4330
|
+
updated?: Date | null;
|
|
4331
|
+
updatedBy?: string | null;
|
|
4332
|
+
updatedById?: string | null;
|
|
4333
|
+
constructor(data?: IResourceCapacityDto);
|
|
4334
|
+
init(_data?: any): void;
|
|
4335
|
+
static fromJS(data: any): ResourceCapacityDto;
|
|
4336
|
+
toJSON(data?: any): any;
|
|
4337
|
+
}
|
|
4338
|
+
export interface IResourceCapacityDto {
|
|
4339
|
+
resourceExternalId: string;
|
|
4340
|
+
name: string;
|
|
4341
|
+
description?: string | null;
|
|
4342
|
+
comment?: string | null;
|
|
4343
|
+
utilizationPercent: number;
|
|
4344
|
+
capacity: ResourceCapacitySettingsDto[];
|
|
4345
|
+
created?: Date | null;
|
|
4346
|
+
updated?: Date | null;
|
|
4347
|
+
updatedBy?: string | null;
|
|
4348
|
+
updatedById?: string | null;
|
|
4349
|
+
}
|
|
4350
|
+
export declare class ResourceCapacitySettingsDto implements IResourceCapacitySettingsDto {
|
|
4351
|
+
dayIndex: number;
|
|
4352
|
+
capacityHours: number;
|
|
4353
|
+
constructor(data?: IResourceCapacitySettingsDto);
|
|
4354
|
+
init(_data?: any): void;
|
|
4355
|
+
static fromJS(data: any): ResourceCapacitySettingsDto;
|
|
4356
|
+
toJSON(data?: any): any;
|
|
4357
|
+
}
|
|
4358
|
+
export interface IResourceCapacitySettingsDto {
|
|
4359
|
+
dayIndex: number;
|
|
4360
|
+
capacityHours: number;
|
|
4361
|
+
}
|
|
4362
|
+
export declare class UpdateResourcesCapacity implements IUpdateResourcesCapacity {
|
|
4363
|
+
resourceExternalId: string;
|
|
4364
|
+
comment?: string | null;
|
|
4365
|
+
utilizationPercent?: number | null;
|
|
4366
|
+
capacity?: ResourceCapacitySettingsDto[] | null;
|
|
4367
|
+
constructor(data?: IUpdateResourcesCapacity);
|
|
4368
|
+
init(_data?: any): void;
|
|
4369
|
+
static fromJS(data: any): UpdateResourcesCapacity;
|
|
4370
|
+
toJSON(data?: any): any;
|
|
4371
|
+
}
|
|
4372
|
+
export interface IUpdateResourcesCapacity {
|
|
4373
|
+
resourceExternalId: string;
|
|
4374
|
+
comment?: string | null;
|
|
4375
|
+
utilizationPercent?: number | null;
|
|
4376
|
+
capacity?: ResourceCapacitySettingsDto[] | null;
|
|
4377
|
+
}
|
|
4378
|
+
export declare class CalendarDayDto implements ICalendarDayDto {
|
|
4379
|
+
date?: Date;
|
|
4380
|
+
dayCapacity?: CalendarDayCapacityDto;
|
|
4381
|
+
capacityHours?: number;
|
|
4382
|
+
companyId?: string | null;
|
|
4383
|
+
constructor(data?: ICalendarDayDto);
|
|
4384
|
+
init(_data?: any): void;
|
|
4385
|
+
static fromJS(data: any): CalendarDayDto;
|
|
4386
|
+
toJSON(data?: any): any;
|
|
4387
|
+
}
|
|
4388
|
+
export interface ICalendarDayDto {
|
|
4389
|
+
date?: Date;
|
|
4390
|
+
dayCapacity?: CalendarDayCapacityDto;
|
|
4391
|
+
capacityHours?: number;
|
|
4392
|
+
companyId?: string | null;
|
|
4393
|
+
}
|
|
4394
|
+
export type CalendarDayCapacityDto = "WorkingDay" | "HalfDay" | "Holiday";
|
|
4395
|
+
export declare class CalendarCapacityDto implements ICalendarCapacityDto {
|
|
4396
|
+
date?: Date;
|
|
4397
|
+
dayCapacity?: CalendarDayCapacityDto;
|
|
4398
|
+
constructor(data?: ICalendarCapacityDto);
|
|
4399
|
+
init(_data?: any): void;
|
|
4400
|
+
static fromJS(data: any): CalendarCapacityDto;
|
|
4401
|
+
toJSON(data?: any): any;
|
|
4402
|
+
}
|
|
4403
|
+
export interface ICalendarCapacityDto {
|
|
4404
|
+
date?: Date;
|
|
4405
|
+
dayCapacity?: CalendarDayCapacityDto;
|
|
4406
|
+
}
|
|
4407
|
+
export declare class UpdateCalendarCapacity implements IUpdateCalendarCapacity {
|
|
4408
|
+
date?: Date;
|
|
4409
|
+
dayCapacity?: CalendarDayCapacityDto;
|
|
4410
|
+
constructor(data?: IUpdateCalendarCapacity);
|
|
4411
|
+
init(_data?: any): void;
|
|
4412
|
+
static fromJS(data: any): UpdateCalendarCapacity;
|
|
4413
|
+
toJSON(data?: any): any;
|
|
4414
|
+
}
|
|
4415
|
+
export interface IUpdateCalendarCapacity {
|
|
4416
|
+
date?: Date;
|
|
4417
|
+
dayCapacity?: CalendarDayCapacityDto;
|
|
4418
|
+
}
|
|
4419
|
+
export declare class CalendarSettingsDto implements ICalendarSettingsDto {
|
|
4420
|
+
defaultHoursPerWeekday?: {
|
|
4421
|
+
[key in DayOfWeek]?: number;
|
|
4422
|
+
};
|
|
4423
|
+
halfDayHours?: number;
|
|
4424
|
+
holidayHours?: number;
|
|
4425
|
+
constructor(data?: ICalendarSettingsDto);
|
|
4426
|
+
init(_data?: any): void;
|
|
4427
|
+
static fromJS(data: any): CalendarSettingsDto;
|
|
4428
|
+
toJSON(data?: any): any;
|
|
4429
|
+
}
|
|
4430
|
+
export interface ICalendarSettingsDto {
|
|
4431
|
+
defaultHoursPerWeekday?: {
|
|
4432
|
+
[key in DayOfWeek]?: number;
|
|
4433
|
+
};
|
|
4434
|
+
halfDayHours?: number;
|
|
4435
|
+
holidayHours?: number;
|
|
4436
|
+
}
|
|
4437
|
+
export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
4438
|
+
export declare class UpdateCalendarSettingsCommand implements IUpdateCalendarSettingsCommand {
|
|
4439
|
+
defaultHoursPerWeekday?: {
|
|
4440
|
+
[key in DayOfWeek]?: number;
|
|
4441
|
+
};
|
|
4442
|
+
halfDayHours?: number;
|
|
4443
|
+
holidayHours?: number;
|
|
4444
|
+
constructor(data?: IUpdateCalendarSettingsCommand);
|
|
4445
|
+
init(_data?: any): void;
|
|
4446
|
+
static fromJS(data: any): UpdateCalendarSettingsCommand;
|
|
4447
|
+
toJSON(data?: any): any;
|
|
4448
|
+
}
|
|
4449
|
+
export interface IUpdateCalendarSettingsCommand {
|
|
4450
|
+
defaultHoursPerWeekday?: {
|
|
4451
|
+
[key in DayOfWeek]?: number;
|
|
4452
|
+
};
|
|
4453
|
+
halfDayHours?: number;
|
|
4454
|
+
holidayHours?: number;
|
|
4455
|
+
}
|
|
4456
|
+
export declare class ResourceKpiDto implements IResourceKpiDto {
|
|
4457
|
+
uptimeToNow: number;
|
|
4458
|
+
uptimeToNowPreviousPeriod: number;
|
|
4459
|
+
averageUpTime: number;
|
|
4460
|
+
uptimeTargetReached: number;
|
|
4461
|
+
days: ResourceDayKpiDto[];
|
|
4462
|
+
constructor(data?: IResourceKpiDto);
|
|
4463
|
+
init(_data?: any): void;
|
|
4464
|
+
static fromJS(data: any): ResourceKpiDto;
|
|
4465
|
+
toJSON(data?: any): any;
|
|
4466
|
+
}
|
|
4467
|
+
export interface IResourceKpiDto {
|
|
4468
|
+
uptimeToNow: number;
|
|
4469
|
+
uptimeToNowPreviousPeriod: number;
|
|
4470
|
+
averageUpTime: number;
|
|
4471
|
+
uptimeTargetReached: number;
|
|
4472
|
+
days: ResourceDayKpiDto[];
|
|
4473
|
+
}
|
|
4474
|
+
export declare class ResourceDayKpiDto implements IResourceDayKpiDto {
|
|
4475
|
+
date: Date;
|
|
4476
|
+
uptime: number;
|
|
4477
|
+
utilizationGoal: number;
|
|
4478
|
+
constructor(data?: IResourceDayKpiDto);
|
|
4479
|
+
init(_data?: any): void;
|
|
4480
|
+
static fromJS(data: any): ResourceDayKpiDto;
|
|
4481
|
+
toJSON(data?: any): any;
|
|
4482
|
+
}
|
|
4483
|
+
export interface IResourceDayKpiDto {
|
|
4484
|
+
date: Date;
|
|
4485
|
+
uptime: number;
|
|
4486
|
+
utilizationGoal: number;
|
|
4487
|
+
}
|
|
4488
|
+
export declare class ResourceDailyUptimeDto implements IResourceDailyUptimeDto {
|
|
4489
|
+
date?: Date;
|
|
4490
|
+
historicUptimeDataPoints?: ResourceDailyUptimePointDto[] | null;
|
|
4491
|
+
todayUptimeDataPoints?: ResourceDailyUptimePointDto[] | null;
|
|
4492
|
+
constructor(data?: IResourceDailyUptimeDto);
|
|
4493
|
+
init(_data?: any): void;
|
|
4494
|
+
static fromJS(data: any): ResourceDailyUptimeDto;
|
|
4495
|
+
toJSON(data?: any): any;
|
|
4496
|
+
}
|
|
4497
|
+
export interface IResourceDailyUptimeDto {
|
|
4498
|
+
date?: Date;
|
|
4499
|
+
historicUptimeDataPoints?: ResourceDailyUptimePointDto[] | null;
|
|
4500
|
+
todayUptimeDataPoints?: ResourceDailyUptimePointDto[] | null;
|
|
4501
|
+
}
|
|
4502
|
+
export declare class ResourceDailyUptimePointDto implements IResourceDailyUptimePointDto {
|
|
4503
|
+
date?: Date;
|
|
4504
|
+
uptime?: number;
|
|
4505
|
+
constructor(data?: IResourceDailyUptimePointDto);
|
|
4506
|
+
init(_data?: any): void;
|
|
4507
|
+
static fromJS(data: any): ResourceDailyUptimePointDto;
|
|
4508
|
+
toJSON(data?: any): any;
|
|
4509
|
+
}
|
|
4510
|
+
export interface IResourceDailyUptimePointDto {
|
|
4511
|
+
date?: Date;
|
|
4512
|
+
uptime?: number;
|
|
4513
|
+
}
|
|
4514
|
+
export declare class UptimeTrendDataPointDto implements IUptimeTrendDataPointDto {
|
|
4515
|
+
timestamp: Date;
|
|
4516
|
+
uptime: number;
|
|
4517
|
+
constructor(data?: IUptimeTrendDataPointDto);
|
|
4518
|
+
init(_data?: any): void;
|
|
4519
|
+
static fromJS(data: any): UptimeTrendDataPointDto;
|
|
4520
|
+
toJSON(data?: any): any;
|
|
4521
|
+
}
|
|
4522
|
+
export interface IUptimeTrendDataPointDto {
|
|
4523
|
+
timestamp: Date;
|
|
4524
|
+
uptime: number;
|
|
4525
|
+
}
|
|
4170
4526
|
export declare class ApplicationResourcesResourceDto implements IApplicationResourcesResourceDto {
|
|
4171
4527
|
id: number;
|
|
4172
4528
|
externalId: string;
|
|
@@ -4263,93 +4619,50 @@ export interface IUpdateResourceGroup {
|
|
|
4263
4619
|
name: string;
|
|
4264
4620
|
machineExternalIds?: string[] | null;
|
|
4265
4621
|
}
|
|
4266
|
-
export declare class
|
|
4267
|
-
|
|
4268
|
-
constructor(data?:
|
|
4622
|
+
export declare class MachineStateListDto implements IMachineStateListDto {
|
|
4623
|
+
machines?: MachineStateDto[] | null;
|
|
4624
|
+
constructor(data?: IMachineStateListDto);
|
|
4269
4625
|
init(_data?: any): void;
|
|
4270
|
-
static fromJS(data: any):
|
|
4626
|
+
static fromJS(data: any): MachineStateListDto;
|
|
4271
4627
|
toJSON(data?: any): any;
|
|
4272
4628
|
}
|
|
4273
|
-
export interface
|
|
4274
|
-
|
|
4629
|
+
export interface IMachineStateListDto {
|
|
4630
|
+
machines?: MachineStateDto[] | null;
|
|
4275
4631
|
}
|
|
4276
|
-
export declare class
|
|
4632
|
+
export declare class MachineStateDto implements IMachineStateDto {
|
|
4277
4633
|
assetId: number;
|
|
4278
4634
|
name: string;
|
|
4279
4635
|
description?: string | null;
|
|
4280
4636
|
state: string;
|
|
4281
|
-
|
|
4637
|
+
machineState: MachineState;
|
|
4282
4638
|
startTime: Date;
|
|
4283
|
-
constructor(data?:
|
|
4639
|
+
constructor(data?: IMachineStateDto);
|
|
4284
4640
|
init(_data?: any): void;
|
|
4285
|
-
static fromJS(data: any):
|
|
4641
|
+
static fromJS(data: any): MachineStateDto;
|
|
4286
4642
|
toJSON(data?: any): any;
|
|
4287
4643
|
}
|
|
4288
|
-
export interface
|
|
4644
|
+
export interface IMachineStateDto {
|
|
4289
4645
|
assetId: number;
|
|
4290
4646
|
name: string;
|
|
4291
4647
|
description?: string | null;
|
|
4292
4648
|
state: string;
|
|
4293
|
-
|
|
4649
|
+
machineState: MachineState;
|
|
4294
4650
|
startTime: Date;
|
|
4295
4651
|
}
|
|
4296
|
-
export
|
|
4297
|
-
|
|
4298
|
-
resourceStateText: string;
|
|
4299
|
-
resourceState: ResourceState;
|
|
4300
|
-
timestamp: number;
|
|
4301
|
-
isDowntime: boolean;
|
|
4302
|
-
downtimePeriodReasons: DowntimePeriodReasonDto[];
|
|
4303
|
-
constructor(data?: IResourceStateDatapoint);
|
|
4304
|
-
init(_data?: any): void;
|
|
4305
|
-
static fromJS(data: any): ResourceStateDatapoint;
|
|
4306
|
-
toJSON(data?: any): any;
|
|
4307
|
-
}
|
|
4308
|
-
export interface IResourceStateDatapoint {
|
|
4309
|
-
resourceStateText: string;
|
|
4310
|
-
resourceState: ResourceState;
|
|
4311
|
-
timestamp: number;
|
|
4312
|
-
isDowntime: boolean;
|
|
4313
|
-
downtimePeriodReasons: DowntimePeriodReasonDto[];
|
|
4314
|
-
}
|
|
4315
|
-
export declare class DowntimeResourceStateDto implements IDowntimeResourceStateDto {
|
|
4316
|
-
datapoint: ResourceStateDatapoint;
|
|
4652
|
+
export declare class DowntimeMachineStateDto implements IDowntimeMachineStateDto {
|
|
4653
|
+
datapoint: MachineStateDatapoint;
|
|
4317
4654
|
startTime: Date;
|
|
4318
4655
|
endTime: Date;
|
|
4319
|
-
constructor(data?:
|
|
4656
|
+
constructor(data?: IDowntimeMachineStateDto);
|
|
4320
4657
|
init(_data?: any): void;
|
|
4321
|
-
static fromJS(data: any):
|
|
4658
|
+
static fromJS(data: any): DowntimeMachineStateDto;
|
|
4322
4659
|
toJSON(data?: any): any;
|
|
4323
4660
|
}
|
|
4324
|
-
export interface
|
|
4325
|
-
datapoint:
|
|
4661
|
+
export interface IDowntimeMachineStateDto {
|
|
4662
|
+
datapoint: MachineStateDatapoint;
|
|
4326
4663
|
startTime: Date;
|
|
4327
4664
|
endTime: Date;
|
|
4328
4665
|
}
|
|
4329
|
-
export declare class ResourceStatesSummaryDto implements IResourceStatesSummaryDto {
|
|
4330
|
-
states: ApplicationResourceStatesStateDto[];
|
|
4331
|
-
constructor(data?: IResourceStatesSummaryDto);
|
|
4332
|
-
init(_data?: any): void;
|
|
4333
|
-
static fromJS(data: any): ResourceStatesSummaryDto;
|
|
4334
|
-
toJSON(data?: any): any;
|
|
4335
|
-
}
|
|
4336
|
-
export interface IResourceStatesSummaryDto {
|
|
4337
|
-
states: ApplicationResourceStatesStateDto[];
|
|
4338
|
-
}
|
|
4339
|
-
export declare class ApplicationResourceStatesStateDto implements IApplicationResourceStatesStateDto {
|
|
4340
|
-
state: string;
|
|
4341
|
-
resourceState: ResourceState;
|
|
4342
|
-
seconds: number;
|
|
4343
|
-
constructor(data?: IApplicationResourceStatesStateDto);
|
|
4344
|
-
init(_data?: any): void;
|
|
4345
|
-
static fromJS(data: any): ApplicationResourceStatesStateDto;
|
|
4346
|
-
toJSON(data?: any): any;
|
|
4347
|
-
}
|
|
4348
|
-
export interface IApplicationResourceStatesStateDto {
|
|
4349
|
-
state: string;
|
|
4350
|
-
resourceState: ResourceState;
|
|
4351
|
-
seconds: number;
|
|
4352
|
-
}
|
|
4353
4666
|
export declare class ResourceErpDataListDto implements IResourceErpDataListDto {
|
|
4354
4667
|
resources: SingleResourceErpDataListDto[];
|
|
4355
4668
|
constructor(data?: IResourceErpDataListDto);
|
|
@@ -5025,6 +5338,116 @@ export interface INamedCompanyUtilizationDatapointListDto extends ICompanyUtiliz
|
|
|
5025
5338
|
companyId: string;
|
|
5026
5339
|
companyName: string;
|
|
5027
5340
|
}
|
|
5341
|
+
export declare class CompanyResourceUtilizationDto implements ICompanyResourceUtilizationDto {
|
|
5342
|
+
utilizationType: UtilizationTypeDto;
|
|
5343
|
+
companyUtilization: UtilizationDetailsV2Dto;
|
|
5344
|
+
groups: ResourceGroupUtilizationV2Dto[];
|
|
5345
|
+
ungroupedResources: ResourceUtilizationV3Dto[];
|
|
5346
|
+
constructor(data?: ICompanyResourceUtilizationDto);
|
|
5347
|
+
init(_data?: any): void;
|
|
5348
|
+
static fromJS(data: any): CompanyResourceUtilizationDto;
|
|
5349
|
+
toJSON(data?: any): any;
|
|
5350
|
+
}
|
|
5351
|
+
export interface ICompanyResourceUtilizationDto {
|
|
5352
|
+
utilizationType: UtilizationTypeDto;
|
|
5353
|
+
companyUtilization: UtilizationDetailsV2Dto;
|
|
5354
|
+
groups: ResourceGroupUtilizationV2Dto[];
|
|
5355
|
+
ungroupedResources: ResourceUtilizationV3Dto[];
|
|
5356
|
+
}
|
|
5357
|
+
export declare class ResourceGroupUtilizationV2Dto implements IResourceGroupUtilizationV2Dto {
|
|
5358
|
+
name: string;
|
|
5359
|
+
utilization: UtilizationDetailsV2Dto;
|
|
5360
|
+
resources: ResourceUtilizationV3Dto[];
|
|
5361
|
+
constructor(data?: IResourceGroupUtilizationV2Dto);
|
|
5362
|
+
init(_data?: any): void;
|
|
5363
|
+
static fromJS(data: any): ResourceGroupUtilizationV2Dto;
|
|
5364
|
+
toJSON(data?: any): any;
|
|
5365
|
+
}
|
|
5366
|
+
export interface IResourceGroupUtilizationV2Dto {
|
|
5367
|
+
name: string;
|
|
5368
|
+
utilization: UtilizationDetailsV2Dto;
|
|
5369
|
+
resources: ResourceUtilizationV3Dto[];
|
|
5370
|
+
}
|
|
5371
|
+
export declare class ResourceUtilizationV3Dto implements IResourceUtilizationV3Dto {
|
|
5372
|
+
id?: number;
|
|
5373
|
+
name: string;
|
|
5374
|
+
description?: string | null;
|
|
5375
|
+
utilization: UtilizationDetailsV2Dto;
|
|
5376
|
+
constructor(data?: IResourceUtilizationV3Dto);
|
|
5377
|
+
init(_data?: any): void;
|
|
5378
|
+
static fromJS(data: any): ResourceUtilizationV3Dto;
|
|
5379
|
+
toJSON(data?: any): any;
|
|
5380
|
+
}
|
|
5381
|
+
export interface IResourceUtilizationV3Dto {
|
|
5382
|
+
id?: number;
|
|
5383
|
+
name: string;
|
|
5384
|
+
description?: string | null;
|
|
5385
|
+
utilization: UtilizationDetailsV2Dto;
|
|
5386
|
+
}
|
|
5387
|
+
export declare class ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto implements IResourceUtilizationDatapointListDto {
|
|
5388
|
+
externalId: string;
|
|
5389
|
+
id: number;
|
|
5390
|
+
name: string;
|
|
5391
|
+
description?: string | null;
|
|
5392
|
+
constructor(data?: IResourceUtilizationDatapointListDto);
|
|
5393
|
+
init(_data?: any): void;
|
|
5394
|
+
static fromJS(data: any): ResourceUtilizationDatapointListDto;
|
|
5395
|
+
toJSON(data?: any): any;
|
|
5396
|
+
}
|
|
5397
|
+
export interface IResourceUtilizationDatapointListDto extends IUtilizationDatapointListDto {
|
|
5398
|
+
externalId: string;
|
|
5399
|
+
id: number;
|
|
5400
|
+
name: string;
|
|
5401
|
+
description?: string | null;
|
|
5402
|
+
}
|
|
5403
|
+
export declare class CompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto implements ICompanyResourceUtilizationDatapointListDto {
|
|
5404
|
+
groups?: ResourceGroupUtilizationDatapointListDto[];
|
|
5405
|
+
ungroupedResources?: ResourceUtilizationDatapointListDto[];
|
|
5406
|
+
constructor(data?: ICompanyResourceUtilizationDatapointListDto);
|
|
5407
|
+
init(_data?: any): void;
|
|
5408
|
+
static fromJS(data: any): CompanyResourceUtilizationDatapointListDto;
|
|
5409
|
+
toJSON(data?: any): any;
|
|
5410
|
+
}
|
|
5411
|
+
export interface ICompanyResourceUtilizationDatapointListDto extends IUtilizationDatapointListDto {
|
|
5412
|
+
groups?: ResourceGroupUtilizationDatapointListDto[];
|
|
5413
|
+
ungroupedResources?: ResourceUtilizationDatapointListDto[];
|
|
5414
|
+
}
|
|
5415
|
+
export declare class ResourceGroupUtilizationDatapointListDto extends UtilizationDatapointListDto implements IResourceGroupUtilizationDatapointListDto {
|
|
5416
|
+
groupId: string;
|
|
5417
|
+
groupName: string;
|
|
5418
|
+
resources?: ResourceUtilizationDatapointListDto[];
|
|
5419
|
+
constructor(data?: IResourceGroupUtilizationDatapointListDto);
|
|
5420
|
+
init(_data?: any): void;
|
|
5421
|
+
static fromJS(data: any): ResourceGroupUtilizationDatapointListDto;
|
|
5422
|
+
toJSON(data?: any): any;
|
|
5423
|
+
}
|
|
5424
|
+
export interface IResourceGroupUtilizationDatapointListDto extends IUtilizationDatapointListDto {
|
|
5425
|
+
groupId: string;
|
|
5426
|
+
groupName: string;
|
|
5427
|
+
resources?: ResourceUtilizationDatapointListDto[];
|
|
5428
|
+
}
|
|
5429
|
+
export declare class CrossCompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto implements ICrossCompanyResourceUtilizationDatapointListDto {
|
|
5430
|
+
companies?: NamedCompanyResourceUtilizationDatapointListDto[];
|
|
5431
|
+
constructor(data?: ICrossCompanyResourceUtilizationDatapointListDto);
|
|
5432
|
+
init(_data?: any): void;
|
|
5433
|
+
static fromJS(data: any): CrossCompanyResourceUtilizationDatapointListDto;
|
|
5434
|
+
toJSON(data?: any): any;
|
|
5435
|
+
}
|
|
5436
|
+
export interface ICrossCompanyResourceUtilizationDatapointListDto extends IUtilizationDatapointListDto {
|
|
5437
|
+
companies?: NamedCompanyResourceUtilizationDatapointListDto[];
|
|
5438
|
+
}
|
|
5439
|
+
export declare class NamedCompanyResourceUtilizationDatapointListDto extends CompanyResourceUtilizationDatapointListDto implements INamedCompanyResourceUtilizationDatapointListDto {
|
|
5440
|
+
companyId: string;
|
|
5441
|
+
companyName: string;
|
|
5442
|
+
constructor(data?: INamedCompanyResourceUtilizationDatapointListDto);
|
|
5443
|
+
init(_data?: any): void;
|
|
5444
|
+
static fromJS(data: any): NamedCompanyResourceUtilizationDatapointListDto;
|
|
5445
|
+
toJSON(data?: any): any;
|
|
5446
|
+
}
|
|
5447
|
+
export interface INamedCompanyResourceUtilizationDatapointListDto extends ICompanyResourceUtilizationDatapointListDto {
|
|
5448
|
+
companyId: string;
|
|
5449
|
+
companyName: string;
|
|
5450
|
+
}
|
|
5028
5451
|
export declare class MrbInstanceDto implements IMrbInstanceDto {
|
|
5029
5452
|
id: string;
|
|
5030
5453
|
title?: string | null;
|
|
@@ -6892,6 +7315,20 @@ export interface IDowntimeReasonCountDto {
|
|
|
6892
7315
|
count: number;
|
|
6893
7316
|
reason: string;
|
|
6894
7317
|
}
|
|
7318
|
+
export declare class ListTopDowntimeReasonsForResourcesRequest implements IListTopDowntimeReasonsForResourcesRequest {
|
|
7319
|
+
startTime?: Date | null;
|
|
7320
|
+
endTime?: Date | null;
|
|
7321
|
+
resourceExternalIds?: string[] | null;
|
|
7322
|
+
constructor(data?: IListTopDowntimeReasonsForResourcesRequest);
|
|
7323
|
+
init(_data?: any): void;
|
|
7324
|
+
static fromJS(data: any): ListTopDowntimeReasonsForResourcesRequest;
|
|
7325
|
+
toJSON(data?: any): any;
|
|
7326
|
+
}
|
|
7327
|
+
export interface IListTopDowntimeReasonsForResourcesRequest {
|
|
7328
|
+
startTime?: Date | null;
|
|
7329
|
+
endTime?: Date | null;
|
|
7330
|
+
resourceExternalIds?: string[] | null;
|
|
7331
|
+
}
|
|
6895
7332
|
export declare class DowntimeReasonsReportDto implements IDowntimeReasonsReportDto {
|
|
6896
7333
|
companyId?: string | null;
|
|
6897
7334
|
totalDowntimeDurationMilliseconds?: number;
|
|
@@ -7040,84 +7477,6 @@ export interface IUpdateMachinesCapacity {
|
|
|
7040
7477
|
utilizationPercent?: number | null;
|
|
7041
7478
|
capacity?: MachineCapacitySettingsDto[] | null;
|
|
7042
7479
|
}
|
|
7043
|
-
export declare class CalendarDayDto implements ICalendarDayDto {
|
|
7044
|
-
date?: Date;
|
|
7045
|
-
dayCapacity?: CalendarDayCapacityDto;
|
|
7046
|
-
capacityHours?: number;
|
|
7047
|
-
companyId?: string | null;
|
|
7048
|
-
constructor(data?: ICalendarDayDto);
|
|
7049
|
-
init(_data?: any): void;
|
|
7050
|
-
static fromJS(data: any): CalendarDayDto;
|
|
7051
|
-
toJSON(data?: any): any;
|
|
7052
|
-
}
|
|
7053
|
-
export interface ICalendarDayDto {
|
|
7054
|
-
date?: Date;
|
|
7055
|
-
dayCapacity?: CalendarDayCapacityDto;
|
|
7056
|
-
capacityHours?: number;
|
|
7057
|
-
companyId?: string | null;
|
|
7058
|
-
}
|
|
7059
|
-
export type CalendarDayCapacityDto = "WorkingDay" | "HalfDay" | "Holiday";
|
|
7060
|
-
export declare class CalendarCapacityDto implements ICalendarCapacityDto {
|
|
7061
|
-
date?: Date;
|
|
7062
|
-
dayCapacity?: CalendarDayCapacityDto;
|
|
7063
|
-
constructor(data?: ICalendarCapacityDto);
|
|
7064
|
-
init(_data?: any): void;
|
|
7065
|
-
static fromJS(data: any): CalendarCapacityDto;
|
|
7066
|
-
toJSON(data?: any): any;
|
|
7067
|
-
}
|
|
7068
|
-
export interface ICalendarCapacityDto {
|
|
7069
|
-
date?: Date;
|
|
7070
|
-
dayCapacity?: CalendarDayCapacityDto;
|
|
7071
|
-
}
|
|
7072
|
-
export declare class UpdateCalendarCapacity implements IUpdateCalendarCapacity {
|
|
7073
|
-
date?: Date;
|
|
7074
|
-
dayCapacity?: CalendarDayCapacityDto;
|
|
7075
|
-
constructor(data?: IUpdateCalendarCapacity);
|
|
7076
|
-
init(_data?: any): void;
|
|
7077
|
-
static fromJS(data: any): UpdateCalendarCapacity;
|
|
7078
|
-
toJSON(data?: any): any;
|
|
7079
|
-
}
|
|
7080
|
-
export interface IUpdateCalendarCapacity {
|
|
7081
|
-
date?: Date;
|
|
7082
|
-
dayCapacity?: CalendarDayCapacityDto;
|
|
7083
|
-
}
|
|
7084
|
-
export declare class CalendarSettingsDto implements ICalendarSettingsDto {
|
|
7085
|
-
defaultHoursPerWeekday?: {
|
|
7086
|
-
[key in DayOfWeek]?: number;
|
|
7087
|
-
};
|
|
7088
|
-
halfDayHours?: number;
|
|
7089
|
-
holidayHours?: number;
|
|
7090
|
-
constructor(data?: ICalendarSettingsDto);
|
|
7091
|
-
init(_data?: any): void;
|
|
7092
|
-
static fromJS(data: any): CalendarSettingsDto;
|
|
7093
|
-
toJSON(data?: any): any;
|
|
7094
|
-
}
|
|
7095
|
-
export interface ICalendarSettingsDto {
|
|
7096
|
-
defaultHoursPerWeekday?: {
|
|
7097
|
-
[key in DayOfWeek]?: number;
|
|
7098
|
-
};
|
|
7099
|
-
halfDayHours?: number;
|
|
7100
|
-
holidayHours?: number;
|
|
7101
|
-
}
|
|
7102
|
-
export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
7103
|
-
export declare class UpdateCalendarSettingsCommand implements IUpdateCalendarSettingsCommand {
|
|
7104
|
-
defaultHoursPerWeekday?: {
|
|
7105
|
-
[key in DayOfWeek]?: number;
|
|
7106
|
-
};
|
|
7107
|
-
halfDayHours?: number;
|
|
7108
|
-
holidayHours?: number;
|
|
7109
|
-
constructor(data?: IUpdateCalendarSettingsCommand);
|
|
7110
|
-
init(_data?: any): void;
|
|
7111
|
-
static fromJS(data: any): UpdateCalendarSettingsCommand;
|
|
7112
|
-
toJSON(data?: any): any;
|
|
7113
|
-
}
|
|
7114
|
-
export interface IUpdateCalendarSettingsCommand {
|
|
7115
|
-
defaultHoursPerWeekday?: {
|
|
7116
|
-
[key in DayOfWeek]?: number;
|
|
7117
|
-
};
|
|
7118
|
-
halfDayHours?: number;
|
|
7119
|
-
holidayHours?: number;
|
|
7120
|
-
}
|
|
7121
7480
|
export declare class MachineKpiDto implements IMachineKpiDto {
|
|
7122
7481
|
uptimeToNow: number;
|
|
7123
7482
|
uptimeToNowPreviousPeriod: number;
|
|
@@ -7176,18 +7535,6 @@ export interface IMachineDailyUptimePointDto {
|
|
|
7176
7535
|
date?: Date;
|
|
7177
7536
|
uptime?: number;
|
|
7178
7537
|
}
|
|
7179
|
-
export declare class UptimeTrendDataPointDto implements IUptimeTrendDataPointDto {
|
|
7180
|
-
timestamp: Date;
|
|
7181
|
-
uptime: number;
|
|
7182
|
-
constructor(data?: IUptimeTrendDataPointDto);
|
|
7183
|
-
init(_data?: any): void;
|
|
7184
|
-
static fromJS(data: any): UptimeTrendDataPointDto;
|
|
7185
|
-
toJSON(data?: any): any;
|
|
7186
|
-
}
|
|
7187
|
-
export interface IUptimeTrendDataPointDto {
|
|
7188
|
-
timestamp: Date;
|
|
7189
|
-
uptime: number;
|
|
7190
|
-
}
|
|
7191
7538
|
export declare class MachineGroupDto implements IMachineGroupDto {
|
|
7192
7539
|
id: string;
|
|
7193
7540
|
name: string;
|
|
@@ -7258,50 +7605,6 @@ export interface IUpdateMachineGroup {
|
|
|
7258
7605
|
name: string;
|
|
7259
7606
|
machineExternalIds?: string[] | null;
|
|
7260
7607
|
}
|
|
7261
|
-
export declare class MachineStateListDto implements IMachineStateListDto {
|
|
7262
|
-
machines?: MachineStateDto[] | null;
|
|
7263
|
-
constructor(data?: IMachineStateListDto);
|
|
7264
|
-
init(_data?: any): void;
|
|
7265
|
-
static fromJS(data: any): MachineStateListDto;
|
|
7266
|
-
toJSON(data?: any): any;
|
|
7267
|
-
}
|
|
7268
|
-
export interface IMachineStateListDto {
|
|
7269
|
-
machines?: MachineStateDto[] | null;
|
|
7270
|
-
}
|
|
7271
|
-
export declare class MachineStateDto implements IMachineStateDto {
|
|
7272
|
-
assetId: number;
|
|
7273
|
-
name: string;
|
|
7274
|
-
description?: string | null;
|
|
7275
|
-
state: string;
|
|
7276
|
-
machineState: MachineState;
|
|
7277
|
-
startTime: Date;
|
|
7278
|
-
constructor(data?: IMachineStateDto);
|
|
7279
|
-
init(_data?: any): void;
|
|
7280
|
-
static fromJS(data: any): MachineStateDto;
|
|
7281
|
-
toJSON(data?: any): any;
|
|
7282
|
-
}
|
|
7283
|
-
export interface IMachineStateDto {
|
|
7284
|
-
assetId: number;
|
|
7285
|
-
name: string;
|
|
7286
|
-
description?: string | null;
|
|
7287
|
-
state: string;
|
|
7288
|
-
machineState: MachineState;
|
|
7289
|
-
startTime: Date;
|
|
7290
|
-
}
|
|
7291
|
-
export declare class DowntimeMachineStateDto implements IDowntimeMachineStateDto {
|
|
7292
|
-
datapoint: MachineStateDatapoint;
|
|
7293
|
-
startTime: Date;
|
|
7294
|
-
endTime: Date;
|
|
7295
|
-
constructor(data?: IDowntimeMachineStateDto);
|
|
7296
|
-
init(_data?: any): void;
|
|
7297
|
-
static fromJS(data: any): DowntimeMachineStateDto;
|
|
7298
|
-
toJSON(data?: any): any;
|
|
7299
|
-
}
|
|
7300
|
-
export interface IDowntimeMachineStateDto {
|
|
7301
|
-
datapoint: MachineStateDatapoint;
|
|
7302
|
-
startTime: Date;
|
|
7303
|
-
endTime: Date;
|
|
7304
|
-
}
|
|
7305
7608
|
export declare class MachineErpDataListDto implements IMachineErpDataListDto {
|
|
7306
7609
|
machines: SingleMachineErpDataListDto[];
|
|
7307
7610
|
constructor(data?: IMachineErpDataListDto);
|
|
@@ -11254,6 +11557,7 @@ export declare class ProductionOrderDto implements IProductionOrderDto {
|
|
|
11254
11557
|
attachments?: WorkOrderAttachmentDto[] | null;
|
|
11255
11558
|
startDate?: Date | null;
|
|
11256
11559
|
endDate?: Date | null;
|
|
11560
|
+
deliveryDate?: Date | null;
|
|
11257
11561
|
bomPosition?: string | null;
|
|
11258
11562
|
drawing?: DrawingDto | null;
|
|
11259
11563
|
orderReference?: OrderReferenceDto | null;
|
|
@@ -11281,6 +11585,7 @@ export interface IProductionOrderDto {
|
|
|
11281
11585
|
attachments?: WorkOrderAttachmentDto[] | null;
|
|
11282
11586
|
startDate?: Date | null;
|
|
11283
11587
|
endDate?: Date | null;
|
|
11588
|
+
deliveryDate?: Date | null;
|
|
11284
11589
|
bomPosition?: string | null;
|
|
11285
11590
|
drawing?: DrawingDto | null;
|
|
11286
11591
|
orderReference?: OrderReferenceDto | null;
|