@ignos/api-client 20261109.354.1 → 20261109.356.1-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.
- package/lib/ignosportal-api.d.ts +114 -142
- package/lib/ignosportal-api.js +23 -113
- package/package.json +1 -1
- package/src/ignosportal-api.ts +124 -234
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -220,24 +220,24 @@ export interface IMachineUtilizationClient {
|
|
|
220
220
|
time zone. The current utilization is calculated starting from the start of the current date offset from UTC
|
|
221
221
|
by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
|
|
222
222
|
client and server
|
|
223
|
-
* @param
|
|
223
|
+
* @param assetExternalId (optional)
|
|
224
224
|
* @param favorites (optional)
|
|
225
225
|
* @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
|
|
226
226
|
* @param utcOffset (optional) Explicit UTC offset for start of today's utilization
|
|
227
227
|
*/
|
|
228
|
-
getMachineUtilizations(
|
|
229
|
-
getMachineUtilization(id:
|
|
228
|
+
getMachineUtilizations(assetExternalId: string | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<UtilizationListDto>;
|
|
229
|
+
getMachineUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
|
|
230
230
|
/**
|
|
231
231
|
* @param startTime (optional)
|
|
232
232
|
* @param endTime (optional)
|
|
233
233
|
* @deprecated
|
|
234
234
|
*/
|
|
235
|
-
getUtilizationDetailsForMachine(id:
|
|
236
|
-
getResourceTimelines(id:
|
|
237
|
-
listMachineStates(id:
|
|
238
|
-
getMachineStatesSummary(id:
|
|
235
|
+
getUtilizationDetailsForMachine(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
236
|
+
getResourceTimelines(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
|
|
237
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
238
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
239
239
|
listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
|
|
240
|
-
listPowerOnUtilizationDatapoints(
|
|
240
|
+
listPowerOnUtilizationDatapoints(externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
|
|
241
241
|
getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
|
|
242
242
|
getProgramTimeline(id: string, startTime: Date | undefined, endTime: Date | undefined): Promise<ProgramDatapoint[]>;
|
|
243
243
|
}
|
|
@@ -254,31 +254,31 @@ export declare class MachineUtilizationClient extends AuthorizedApiBase implemen
|
|
|
254
254
|
time zone. The current utilization is calculated starting from the start of the current date offset from UTC
|
|
255
255
|
by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
|
|
256
256
|
client and server
|
|
257
|
-
* @param
|
|
257
|
+
* @param assetExternalId (optional)
|
|
258
258
|
* @param favorites (optional)
|
|
259
259
|
* @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
|
|
260
260
|
* @param utcOffset (optional) Explicit UTC offset for start of today's utilization
|
|
261
261
|
*/
|
|
262
|
-
getMachineUtilizations(
|
|
262
|
+
getMachineUtilizations(assetExternalId: string | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<UtilizationListDto>;
|
|
263
263
|
protected processGetMachineUtilizations(response: Response): Promise<UtilizationListDto>;
|
|
264
|
-
getMachineUtilization(id:
|
|
264
|
+
getMachineUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
|
|
265
265
|
protected processGetMachineUtilization(response: Response): Promise<UtilizationDetailsDto>;
|
|
266
266
|
/**
|
|
267
267
|
* @param startTime (optional)
|
|
268
268
|
* @param endTime (optional)
|
|
269
269
|
* @deprecated
|
|
270
270
|
*/
|
|
271
|
-
getUtilizationDetailsForMachine(id:
|
|
271
|
+
getUtilizationDetailsForMachine(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
272
272
|
protected processGetUtilizationDetailsForMachine(response: Response): Promise<MachineStatesSummaryDto>;
|
|
273
|
-
getResourceTimelines(id:
|
|
273
|
+
getResourceTimelines(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
|
|
274
274
|
protected processGetResourceTimelines(response: Response): Promise<TimelinesDto>;
|
|
275
|
-
listMachineStates(id:
|
|
275
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
276
276
|
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
277
|
-
getMachineStatesSummary(id:
|
|
277
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
278
278
|
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
279
279
|
listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
|
|
280
280
|
protected processListMachineUptimesToday(response: Response): Promise<MachineUptimesAggregateDto>;
|
|
281
|
-
listPowerOnUtilizationDatapoints(
|
|
281
|
+
listPowerOnUtilizationDatapoints(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>;
|
|
284
284
|
protected processGetFactoryUtilization(response: Response): Promise<PowerOnUtilizationDto>;
|
|
@@ -293,18 +293,18 @@ export interface IResourceUtilizationClient {
|
|
|
293
293
|
time zone. The current utilization is calculated starting from the start of the current date offset from UTC
|
|
294
294
|
by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
|
|
295
295
|
client and server
|
|
296
|
-
* @param
|
|
296
|
+
* @param assetExternalId (optional)
|
|
297
297
|
* @param favorites (optional)
|
|
298
298
|
* @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
|
|
299
299
|
* @param utcOffset (optional) Explicit UTC offset for start of today's utilization
|
|
300
300
|
*/
|
|
301
|
-
getResourceUtilizations(
|
|
302
|
-
getResourceUtilization(id:
|
|
303
|
-
getResourceTimelines(id:
|
|
304
|
-
listMachineStates(id:
|
|
305
|
-
getMachineStatesSummary(id:
|
|
301
|
+
getResourceUtilizations(assetExternalId: string | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<ResourceUtilizationListDto>;
|
|
302
|
+
getResourceUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<ResourceUtilizationDetailsDto>;
|
|
303
|
+
getResourceTimelines(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
|
|
304
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
305
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
306
306
|
listResourceUptimesToday(request: ListResourceUptimesTodayRequest): Promise<ResourceUptimesAggregateDto>;
|
|
307
|
-
listPowerOnUtilizationDatapoints(
|
|
307
|
+
listPowerOnUtilizationDatapoints(externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
|
|
308
308
|
getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
|
|
309
309
|
getProgramTimeline(id: string, startTime: Date | undefined, endTime: Date | undefined): Promise<ProgramDatapoint[]>;
|
|
310
310
|
}
|
|
@@ -321,24 +321,24 @@ export declare class ResourceUtilizationClient extends AuthorizedApiBase impleme
|
|
|
321
321
|
time zone. The current utilization is calculated starting from the start of the current date offset from UTC
|
|
322
322
|
by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
|
|
323
323
|
client and server
|
|
324
|
-
* @param
|
|
324
|
+
* @param assetExternalId (optional)
|
|
325
325
|
* @param favorites (optional)
|
|
326
326
|
* @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
|
|
327
327
|
* @param utcOffset (optional) Explicit UTC offset for start of today's utilization
|
|
328
328
|
*/
|
|
329
|
-
getResourceUtilizations(
|
|
329
|
+
getResourceUtilizations(assetExternalId: string | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<ResourceUtilizationListDto>;
|
|
330
330
|
protected processGetResourceUtilizations(response: Response): Promise<ResourceUtilizationListDto>;
|
|
331
|
-
getResourceUtilization(id:
|
|
331
|
+
getResourceUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<ResourceUtilizationDetailsDto>;
|
|
332
332
|
protected processGetResourceUtilization(response: Response): Promise<ResourceUtilizationDetailsDto>;
|
|
333
|
-
getResourceTimelines(id:
|
|
333
|
+
getResourceTimelines(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
|
|
334
334
|
protected processGetResourceTimelines(response: Response): Promise<TimelinesDto>;
|
|
335
|
-
listMachineStates(id:
|
|
335
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
336
336
|
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
337
|
-
getMachineStatesSummary(id:
|
|
337
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
338
338
|
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
339
339
|
listResourceUptimesToday(request: ListResourceUptimesTodayRequest): Promise<ResourceUptimesAggregateDto>;
|
|
340
340
|
protected processListResourceUptimesToday(response: Response): Promise<ResourceUptimesAggregateDto>;
|
|
341
|
-
listPowerOnUtilizationDatapoints(
|
|
341
|
+
listPowerOnUtilizationDatapoints(externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
|
|
342
342
|
protected processListPowerOnUtilizationDatapoints(response: Response): Promise<PowerOnUtilizationList>;
|
|
343
343
|
getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
|
|
344
344
|
protected processGetFactoryUtilization(response: Response): Promise<PowerOnUtilizationDto>;
|
|
@@ -436,7 +436,7 @@ export declare class UploadClient extends AuthorizedApiBase implements IUploadCl
|
|
|
436
436
|
protected processCreateUploadInfoCdf(response: Response): Promise<UploadInfoCdfDto>;
|
|
437
437
|
}
|
|
438
438
|
export interface ISystemHealthDashboardClient {
|
|
439
|
-
getMachineDataHealth(
|
|
439
|
+
getMachineDataHealth(assetExternalId: string | null | undefined): Promise<DataHealthDto>;
|
|
440
440
|
}
|
|
441
441
|
export declare class SystemHealthDashboardClient extends AuthorizedApiBase implements ISystemHealthDashboardClient {
|
|
442
442
|
private http;
|
|
@@ -444,7 +444,7 @@ export declare class SystemHealthDashboardClient extends AuthorizedApiBase imple
|
|
|
444
444
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
445
445
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
446
446
|
});
|
|
447
|
-
getMachineDataHealth(
|
|
447
|
+
getMachineDataHealth(assetExternalId: string | null | undefined): Promise<DataHealthDto>;
|
|
448
448
|
protected processGetMachineDataHealth(response: Response): Promise<DataHealthDto>;
|
|
449
449
|
}
|
|
450
450
|
export interface IPowerClient {
|
|
@@ -651,7 +651,7 @@ export declare class KpiAdminResourceClient extends AuthorizedApiBase implements
|
|
|
651
651
|
export interface IKpiResourceClient {
|
|
652
652
|
getResourceKpi(resourceExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<ResourceKpiDto>;
|
|
653
653
|
getResourceDailyUptime(resourceExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<ResourceDailyUptimeDto>;
|
|
654
|
-
getUptimeNormalTrend(
|
|
654
|
+
getUptimeNormalTrend(assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
|
|
655
655
|
}
|
|
656
656
|
export declare class KpiResourceClient extends AuthorizedApiBase implements IKpiResourceClient {
|
|
657
657
|
private http;
|
|
@@ -663,7 +663,7 @@ export declare class KpiResourceClient extends AuthorizedApiBase implements IKpi
|
|
|
663
663
|
protected processGetResourceKpi(response: Response): Promise<ResourceKpiDto>;
|
|
664
664
|
getResourceDailyUptime(resourceExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<ResourceDailyUptimeDto>;
|
|
665
665
|
protected processGetResourceDailyUptime(response: Response): Promise<ResourceDailyUptimeDto>;
|
|
666
|
-
getUptimeNormalTrend(
|
|
666
|
+
getUptimeNormalTrend(assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
|
|
667
667
|
protected processGetUptimeNormalTrend(response: Response): Promise<UptimeTrendDataPointDto[]>;
|
|
668
668
|
}
|
|
669
669
|
export interface IResourcesClient {
|
|
@@ -672,13 +672,13 @@ export interface IResourcesClient {
|
|
|
672
672
|
createResourceGroup(request: CreateResourceGroup): Promise<CreateResourceGroupResponse>;
|
|
673
673
|
updateResourceGroup(id: string, request: UpdateResourceGroup): Promise<void>;
|
|
674
674
|
deleteResourceGroup(id: string): Promise<void>;
|
|
675
|
-
listCurrentMachineStates(
|
|
676
|
-
listMachineStates(id:
|
|
677
|
-
listLastDowntimeMachineStates(id:
|
|
678
|
-
getMachineStateWithDowntimePeriods(id:
|
|
679
|
-
getMachineStatesSummary(id:
|
|
675
|
+
listCurrentMachineStates(assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
|
|
676
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
677
|
+
listLastDowntimeMachineStates(id: string, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
678
|
+
getMachineStateWithDowntimePeriods(id: string, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
679
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
680
680
|
listResourceErpData(): Promise<ResourceErpDataListDto>;
|
|
681
|
-
getResourceErpData(id:
|
|
681
|
+
getResourceErpData(id: string): Promise<ResourceErpDataDto>;
|
|
682
682
|
getResourceUtilizationSummary(): Promise<ResourceUtilizationSummaryDto>;
|
|
683
683
|
getCrossCompanyUtilizationSummary(): Promise<CrossCompanyResourceUtilizationSummaryDto>;
|
|
684
684
|
listCurrentResourceOperators(resourceExternalId: string | null | undefined, operatorNameQuery: string | null | undefined): Promise<OperatorAndMachineDto[]>;
|
|
@@ -686,7 +686,7 @@ export interface IResourcesClient {
|
|
|
686
686
|
createResourceWithoutMachine(request: CreateResourceWithoutMachine): Promise<void>;
|
|
687
687
|
createResourceWithResource(request: CreateResourceWithMachine): Promise<void>;
|
|
688
688
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
689
|
-
deleteMachine(id:
|
|
689
|
+
deleteMachine(id: string): Promise<void>;
|
|
690
690
|
/**
|
|
691
691
|
* @deprecated
|
|
692
692
|
*/
|
|
@@ -709,19 +709,19 @@ export declare class ResourcesClient extends AuthorizedApiBase implements IResou
|
|
|
709
709
|
protected processUpdateResourceGroup(response: Response): Promise<void>;
|
|
710
710
|
deleteResourceGroup(id: string): Promise<void>;
|
|
711
711
|
protected processDeleteResourceGroup(response: Response): Promise<void>;
|
|
712
|
-
listCurrentMachineStates(
|
|
712
|
+
listCurrentMachineStates(assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
|
|
713
713
|
protected processListCurrentMachineStates(response: Response): Promise<MachineStateListDto>;
|
|
714
|
-
listMachineStates(id:
|
|
714
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
715
715
|
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
716
|
-
listLastDowntimeMachineStates(id:
|
|
716
|
+
listLastDowntimeMachineStates(id: string, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
717
717
|
protected processListLastDowntimeMachineStates(response: Response): Promise<DowntimeMachineStateDto[]>;
|
|
718
|
-
getMachineStateWithDowntimePeriods(id:
|
|
718
|
+
getMachineStateWithDowntimePeriods(id: string, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
719
719
|
protected processGetMachineStateWithDowntimePeriods(response: Response): Promise<DowntimeMachineStateDto>;
|
|
720
|
-
getMachineStatesSummary(id:
|
|
720
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
721
721
|
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
722
722
|
listResourceErpData(): Promise<ResourceErpDataListDto>;
|
|
723
723
|
protected processListResourceErpData(response: Response): Promise<ResourceErpDataListDto>;
|
|
724
|
-
getResourceErpData(id:
|
|
724
|
+
getResourceErpData(id: string): Promise<ResourceErpDataDto>;
|
|
725
725
|
protected processGetResourceErpData(response: Response): Promise<ResourceErpDataDto>;
|
|
726
726
|
getResourceUtilizationSummary(): Promise<ResourceUtilizationSummaryDto>;
|
|
727
727
|
protected processGetResourceUtilizationSummary(response: Response): Promise<ResourceUtilizationSummaryDto>;
|
|
@@ -737,7 +737,7 @@ export declare class ResourcesClient extends AuthorizedApiBase implements IResou
|
|
|
737
737
|
protected processCreateResourceWithResource(response: Response): Promise<void>;
|
|
738
738
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
739
739
|
protected processCreateResourceInResourceGroup(response: Response): Promise<void>;
|
|
740
|
-
deleteMachine(id:
|
|
740
|
+
deleteMachine(id: string): Promise<void>;
|
|
741
741
|
protected processDeleteMachine(response: Response): Promise<void>;
|
|
742
742
|
/**
|
|
743
743
|
* @deprecated
|
|
@@ -849,11 +849,10 @@ export interface IUtilizationClient {
|
|
|
849
849
|
* @param startTime (optional)
|
|
850
850
|
* @param endTime (optional)
|
|
851
851
|
* @param ianaTimeZone (optional)
|
|
852
|
-
* @param assetId (optional)
|
|
853
852
|
* @param assetExternalId (optional)
|
|
854
853
|
* @deprecated
|
|
855
854
|
*/
|
|
856
|
-
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined,
|
|
855
|
+
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
857
856
|
getCompanyUtilizationDatapoints(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
858
857
|
/**
|
|
859
858
|
* @param utilizationType (optional)
|
|
@@ -865,7 +864,7 @@ export interface IUtilizationClient {
|
|
|
865
864
|
getCrossCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyUtilizationDatapointListDto>;
|
|
866
865
|
getCompanyResourceUtilization(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyResourceUtilizationDto>;
|
|
867
866
|
getCrossCompanyResourceUtilization(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyResourceUtilizationDto>;
|
|
868
|
-
getResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined,
|
|
867
|
+
getResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetExternalId: string | null | undefined): Promise<ResourceUtilizationDatapointListDto>;
|
|
869
868
|
getCompanyResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
870
869
|
getCrossCompanyResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyResourceUtilizationDatapointListDto>;
|
|
871
870
|
}
|
|
@@ -891,11 +890,10 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
|
|
|
891
890
|
* @param startTime (optional)
|
|
892
891
|
* @param endTime (optional)
|
|
893
892
|
* @param ianaTimeZone (optional)
|
|
894
|
-
* @param assetId (optional)
|
|
895
893
|
* @param assetExternalId (optional)
|
|
896
894
|
* @deprecated
|
|
897
895
|
*/
|
|
898
|
-
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined,
|
|
896
|
+
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
899
897
|
protected processGetUtilizationDatapoints(response: Response): Promise<MachineUtilizationDatapointListDto>;
|
|
900
898
|
getCompanyUtilizationDatapoints(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
901
899
|
protected processGetCompanyUtilizationDatapoints(response: Response): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
@@ -912,7 +910,7 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
|
|
|
912
910
|
protected processGetCompanyResourceUtilization(response: Response): Promise<CompanyResourceUtilizationDto>;
|
|
913
911
|
getCrossCompanyResourceUtilization(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyResourceUtilizationDto>;
|
|
914
912
|
protected processGetCrossCompanyResourceUtilization(response: Response): Promise<CrossCompanyResourceUtilizationDto>;
|
|
915
|
-
getResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined,
|
|
913
|
+
getResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetExternalId: string | null | undefined): Promise<ResourceUtilizationDatapointListDto>;
|
|
916
914
|
protected processGetResourceUtilizationDatapoints(response: Response): Promise<ResourceUtilizationDatapointListDto>;
|
|
917
915
|
getCompanyResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
918
916
|
protected processGetCompanyResourceUtilizationDatapoints(response: Response): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
@@ -1391,7 +1389,7 @@ export declare class KpiAdminClient extends AuthorizedApiBase implements IKpiAdm
|
|
|
1391
1389
|
export interface IKpiClient {
|
|
1392
1390
|
getMachineKpi(machineExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<MachineKpiDto>;
|
|
1393
1391
|
getMachineDailyUptime(machineExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<MachineDailyUptimeDto>;
|
|
1394
|
-
getUptimeNormalTrend(
|
|
1392
|
+
getUptimeNormalTrend(assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
|
|
1395
1393
|
}
|
|
1396
1394
|
export declare class KpiClient extends AuthorizedApiBase implements IKpiClient {
|
|
1397
1395
|
private http;
|
|
@@ -1403,7 +1401,7 @@ export declare class KpiClient extends AuthorizedApiBase implements IKpiClient {
|
|
|
1403
1401
|
protected processGetMachineKpi(response: Response): Promise<MachineKpiDto>;
|
|
1404
1402
|
getMachineDailyUptime(machineExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<MachineDailyUptimeDto>;
|
|
1405
1403
|
protected processGetMachineDailyUptime(response: Response): Promise<MachineDailyUptimeDto>;
|
|
1406
|
-
getUptimeNormalTrend(
|
|
1404
|
+
getUptimeNormalTrend(assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
|
|
1407
1405
|
protected processGetUptimeNormalTrend(response: Response): Promise<UptimeTrendDataPointDto[]>;
|
|
1408
1406
|
}
|
|
1409
1407
|
export interface IMachinesClient {
|
|
@@ -1412,13 +1410,13 @@ export interface IMachinesClient {
|
|
|
1412
1410
|
createMachineGroup(request: CreateMachineGroup): Promise<CreateMachineGroupResponse>;
|
|
1413
1411
|
updateMachineGroup(id: string, request: UpdateMachineGroup): Promise<void>;
|
|
1414
1412
|
deleteMachineGroup(id: string): Promise<void>;
|
|
1415
|
-
listCurrentMachineStates(
|
|
1416
|
-
listMachineStates(id:
|
|
1417
|
-
listLastDowntimeMachineStates(id:
|
|
1418
|
-
getMachineStateWithDowntimePeriods(id:
|
|
1419
|
-
getMachineStatesSummary(id:
|
|
1413
|
+
listCurrentMachineStates(assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
|
|
1414
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
1415
|
+
listLastDowntimeMachineStates(id: string, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
1416
|
+
getMachineStateWithDowntimePeriods(id: string, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
1417
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
1420
1418
|
listMachineErpData(): Promise<MachineErpDataListDto>;
|
|
1421
|
-
getMachineErpData(id:
|
|
1419
|
+
getMachineErpData(id: string): Promise<MachineErpDataDto>;
|
|
1422
1420
|
/**
|
|
1423
1421
|
* @param startTime (optional)
|
|
1424
1422
|
* @param endTime (optional)
|
|
@@ -1432,7 +1430,7 @@ export interface IMachinesClient {
|
|
|
1432
1430
|
createResourceWithoutMachine(request: CreateResourceWithoutMachine): Promise<void>;
|
|
1433
1431
|
createResourceWithMachine(request: CreateResourceWithMachine): Promise<void>;
|
|
1434
1432
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
1435
|
-
deleteMachine(id:
|
|
1433
|
+
deleteMachine(id: string): Promise<void>;
|
|
1436
1434
|
}
|
|
1437
1435
|
export declare class MachinesClient extends AuthorizedApiBase implements IMachinesClient {
|
|
1438
1436
|
private http;
|
|
@@ -1450,19 +1448,19 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
|
|
|
1450
1448
|
protected processUpdateMachineGroup(response: Response): Promise<void>;
|
|
1451
1449
|
deleteMachineGroup(id: string): Promise<void>;
|
|
1452
1450
|
protected processDeleteMachineGroup(response: Response): Promise<void>;
|
|
1453
|
-
listCurrentMachineStates(
|
|
1451
|
+
listCurrentMachineStates(assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
|
|
1454
1452
|
protected processListCurrentMachineStates(response: Response): Promise<MachineStateListDto>;
|
|
1455
|
-
listMachineStates(id:
|
|
1453
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
1456
1454
|
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
1457
|
-
listLastDowntimeMachineStates(id:
|
|
1455
|
+
listLastDowntimeMachineStates(id: string, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
1458
1456
|
protected processListLastDowntimeMachineStates(response: Response): Promise<DowntimeMachineStateDto[]>;
|
|
1459
|
-
getMachineStateWithDowntimePeriods(id:
|
|
1457
|
+
getMachineStateWithDowntimePeriods(id: string, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
1460
1458
|
protected processGetMachineStateWithDowntimePeriods(response: Response): Promise<DowntimeMachineStateDto>;
|
|
1461
|
-
getMachineStatesSummary(id:
|
|
1459
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
1462
1460
|
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
1463
1461
|
listMachineErpData(): Promise<MachineErpDataListDto>;
|
|
1464
1462
|
protected processListMachineErpData(response: Response): Promise<MachineErpDataListDto>;
|
|
1465
|
-
getMachineErpData(id:
|
|
1463
|
+
getMachineErpData(id: string): Promise<MachineErpDataDto>;
|
|
1466
1464
|
protected processGetMachineErpData(response: Response): Promise<MachineErpDataDto>;
|
|
1467
1465
|
/**
|
|
1468
1466
|
* @param startTime (optional)
|
|
@@ -1485,13 +1483,13 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
|
|
|
1485
1483
|
protected processCreateResourceWithMachine(response: Response): Promise<void>;
|
|
1486
1484
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
1487
1485
|
protected processCreateResourceInResourceGroup(response: Response): Promise<void>;
|
|
1488
|
-
deleteMachine(id:
|
|
1486
|
+
deleteMachine(id: string): Promise<void>;
|
|
1489
1487
|
protected processDeleteMachine(response: Response): Promise<void>;
|
|
1490
1488
|
}
|
|
1491
1489
|
export interface IMachineDataClient {
|
|
1492
|
-
getLiveMachineData(assetId:
|
|
1493
|
-
getTimeseriesGraph(assetId:
|
|
1494
|
-
exportTimeseriesGraph(assetId:
|
|
1490
|
+
getLiveMachineData(assetId: string, externalIds: string[] | undefined): Promise<LiveMachineDataDto>;
|
|
1491
|
+
getTimeseriesGraph(assetId: string, externalIds: string[] | undefined, startTime: Date | undefined, endTime: Date | undefined): Promise<TimeseriesGraphDto>;
|
|
1492
|
+
exportTimeseriesGraph(assetId: string, request: ExportTimeseriesGraphRequest): Promise<DownloadDto>;
|
|
1495
1493
|
}
|
|
1496
1494
|
export declare class MachineDataClient extends AuthorizedApiBase implements IMachineDataClient {
|
|
1497
1495
|
private http;
|
|
@@ -1499,11 +1497,11 @@ export declare class MachineDataClient extends AuthorizedApiBase implements IMac
|
|
|
1499
1497
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1500
1498
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1501
1499
|
});
|
|
1502
|
-
getLiveMachineData(assetId:
|
|
1500
|
+
getLiveMachineData(assetId: string, externalIds: string[] | undefined): Promise<LiveMachineDataDto>;
|
|
1503
1501
|
protected processGetLiveMachineData(response: Response): Promise<LiveMachineDataDto>;
|
|
1504
|
-
getTimeseriesGraph(assetId:
|
|
1502
|
+
getTimeseriesGraph(assetId: string, externalIds: string[] | undefined, startTime: Date | undefined, endTime: Date | undefined): Promise<TimeseriesGraphDto>;
|
|
1505
1503
|
protected processGetTimeseriesGraph(response: Response): Promise<TimeseriesGraphDto>;
|
|
1506
|
-
exportTimeseriesGraph(assetId:
|
|
1504
|
+
exportTimeseriesGraph(assetId: string, request: ExportTimeseriesGraphRequest): Promise<DownloadDto>;
|
|
1507
1505
|
protected processExportTimeseriesGraph(response: Response): Promise<DownloadDto>;
|
|
1508
1506
|
}
|
|
1509
1507
|
export interface ILinksClient {
|
|
@@ -2049,9 +2047,9 @@ export interface IAssetsClient {
|
|
|
2049
2047
|
listAssets(externalIdprefix: string | null | undefined, name: string | null | undefined, source: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfAssetDto>;
|
|
2050
2048
|
createAsset(createAsset: CreateAsset): Promise<AssetDto>;
|
|
2051
2049
|
searchAssets(name: string | null | undefined, description: string | null | undefined, limit: number | undefined): Promise<AssetDto[]>;
|
|
2052
|
-
getAssetById(id:
|
|
2053
|
-
updateAsset(id:
|
|
2054
|
-
getAssetStructureById(id:
|
|
2050
|
+
getAssetById(id: string): Promise<AssetDto>;
|
|
2051
|
+
updateAsset(id: string, request: UpdateAssetRequest): Promise<AssetDto>;
|
|
2052
|
+
getAssetStructureById(id: string): Promise<AssetStructureDto>;
|
|
2055
2053
|
/**
|
|
2056
2054
|
* @deprecated
|
|
2057
2055
|
*/
|
|
@@ -2069,11 +2067,11 @@ export declare class AssetsClient extends AuthorizedApiBase implements IAssetsCl
|
|
|
2069
2067
|
protected processCreateAsset(response: Response): Promise<AssetDto>;
|
|
2070
2068
|
searchAssets(name: string | null | undefined, description: string | null | undefined, limit: number | undefined): Promise<AssetDto[]>;
|
|
2071
2069
|
protected processSearchAssets(response: Response): Promise<AssetDto[]>;
|
|
2072
|
-
getAssetById(id:
|
|
2070
|
+
getAssetById(id: string): Promise<AssetDto>;
|
|
2073
2071
|
protected processGetAssetById(response: Response): Promise<AssetDto>;
|
|
2074
|
-
updateAsset(id:
|
|
2072
|
+
updateAsset(id: string, request: UpdateAssetRequest): Promise<AssetDto>;
|
|
2075
2073
|
protected processUpdateAsset(response: Response): Promise<AssetDto>;
|
|
2076
|
-
getAssetStructureById(id:
|
|
2074
|
+
getAssetStructureById(id: string): Promise<AssetStructureDto>;
|
|
2077
2075
|
protected processGetAssetStructureById(response: Response): Promise<AssetStructureDto>;
|
|
2078
2076
|
/**
|
|
2079
2077
|
* @deprecated
|
|
@@ -3111,7 +3109,6 @@ export interface IMeasurementFormSchemasAdminClient {
|
|
|
3111
3109
|
*/
|
|
3112
3110
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3113
3111
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
3114
|
-
deleteMeasurementFormSchemaFile(id: string, slot: SchemaFileSlot): Promise<void>;
|
|
3115
3112
|
getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
|
|
3116
3113
|
listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
3117
3114
|
postListLinkableMeasurementFormSchemas(request: ListLinkableMeasurementFormSchemasRequest): Promise<PagedResultOfMeasurementFormListDto>;
|
|
@@ -3202,8 +3199,6 @@ export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase
|
|
|
3202
3199
|
protected processUploadSchemaDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3203
3200
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
3204
3201
|
protected processUploadSchemaAttachment(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3205
|
-
deleteMeasurementFormSchemaFile(id: string, slot: SchemaFileSlot): Promise<void>;
|
|
3206
|
-
protected processDeleteMeasurementFormSchemaFile(response: Response): Promise<void>;
|
|
3207
3202
|
getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
|
|
3208
3203
|
protected processGetMeasurementFormImportStatus(response: Response): Promise<MeasurementFormImportStatusDto>;
|
|
3209
3204
|
listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
@@ -3302,7 +3297,6 @@ export interface IMeasurementFormSchemasClient {
|
|
|
3302
3297
|
getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
3303
3298
|
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormSchemaOverviewDto>;
|
|
3304
3299
|
postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto>;
|
|
3305
|
-
listMeasurementFormSchemaFiles(id: string): Promise<MeasurementFormSchemaFileDto[]>;
|
|
3306
3300
|
listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
3307
3301
|
listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]>;
|
|
3308
3302
|
listMeasurementFormSchemaVersionChanges(id: string): Promise<MeasurementFormSchemaVersionChangesDto[]>;
|
|
@@ -3332,8 +3326,6 @@ export declare class MeasurementFormSchemasClient extends AuthorizedApiBase impl
|
|
|
3332
3326
|
protected processPostListMeasurementFormSchemas(response: Response): Promise<PagedResultOfMeasurementFormSchemaOverviewDto>;
|
|
3333
3327
|
postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto>;
|
|
3334
3328
|
protected processPostCountMeasurementFormSchemas(response: Response): Promise<MeasurementFormSchemaCountsDto>;
|
|
3335
|
-
listMeasurementFormSchemaFiles(id: string): Promise<MeasurementFormSchemaFileDto[]>;
|
|
3336
|
-
protected processListMeasurementFormSchemaFiles(response: Response): Promise<MeasurementFormSchemaFileDto[]>;
|
|
3337
3329
|
listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
3338
3330
|
protected processListMeasurementFormSchemaVersions(response: Response): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
3339
3331
|
listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]>;
|
|
@@ -3982,7 +3974,7 @@ export interface UtilizationListDto {
|
|
|
3982
3974
|
machines?: MachineUtilizationDto[] | null;
|
|
3983
3975
|
}
|
|
3984
3976
|
export interface MachineUtilizationDto {
|
|
3985
|
-
|
|
3977
|
+
assetExternalId: string;
|
|
3986
3978
|
name: string;
|
|
3987
3979
|
description?: string | null;
|
|
3988
3980
|
state: string;
|
|
@@ -4023,7 +4015,7 @@ export interface PowerOnUtilizationDto extends UtilizationAveragesDto {
|
|
|
4023
4015
|
comparedToAverage?: number | null;
|
|
4024
4016
|
}
|
|
4025
4017
|
export interface UtilizationDetailsDto {
|
|
4026
|
-
|
|
4018
|
+
machineExternalId: string;
|
|
4027
4019
|
machineName: string;
|
|
4028
4020
|
machineStateText?: string | null;
|
|
4029
4021
|
machineState?: MachineState | null;
|
|
@@ -4124,7 +4116,7 @@ export interface PowerOnUtilizationList {
|
|
|
4124
4116
|
}
|
|
4125
4117
|
export interface Machine {
|
|
4126
4118
|
externalId?: string;
|
|
4127
|
-
id?: number;
|
|
4119
|
+
id?: number | null;
|
|
4128
4120
|
name?: string;
|
|
4129
4121
|
description?: string | null;
|
|
4130
4122
|
datapoints?: NumericNullableValueWithTimestamp[];
|
|
@@ -4137,7 +4129,7 @@ export interface ResourceUtilizationListDto {
|
|
|
4137
4129
|
resources?: ResourceUtilizationDto[] | null;
|
|
4138
4130
|
}
|
|
4139
4131
|
export interface ResourceUtilizationDto {
|
|
4140
|
-
|
|
4132
|
+
assetExternalId: string;
|
|
4141
4133
|
name: string;
|
|
4142
4134
|
description?: string | null;
|
|
4143
4135
|
state: string;
|
|
@@ -4147,7 +4139,7 @@ export interface ResourceUtilizationDto {
|
|
|
4147
4139
|
powerOn?: PowerOnUtilizationDto | null;
|
|
4148
4140
|
}
|
|
4149
4141
|
export interface ResourceUtilizationDetailsDto {
|
|
4150
|
-
|
|
4142
|
+
resourceExternalId: string;
|
|
4151
4143
|
resourceName: string;
|
|
4152
4144
|
machineStateText?: string | null;
|
|
4153
4145
|
machineState?: MachineState | null;
|
|
@@ -4235,6 +4227,7 @@ export interface UploadInfoDto {
|
|
|
4235
4227
|
accessKey?: string | null;
|
|
4236
4228
|
}
|
|
4237
4229
|
export interface UploadInfoCdfDto {
|
|
4230
|
+
externalId: string;
|
|
4238
4231
|
id: number;
|
|
4239
4232
|
url: string;
|
|
4240
4233
|
}
|
|
@@ -4245,7 +4238,7 @@ export interface DataHealthDto {
|
|
|
4245
4238
|
machines?: MachineDataHealthDto[] | null;
|
|
4246
4239
|
}
|
|
4247
4240
|
export interface MachineDataHealthDto {
|
|
4248
|
-
|
|
4241
|
+
assetExternalId: string;
|
|
4249
4242
|
name: string;
|
|
4250
4243
|
description?: string | null;
|
|
4251
4244
|
state?: string | null;
|
|
@@ -4262,7 +4255,7 @@ export interface PowerRegionDto {
|
|
|
4262
4255
|
description?: string | null;
|
|
4263
4256
|
}
|
|
4264
4257
|
export interface ConsumptionDto {
|
|
4265
|
-
|
|
4258
|
+
assetExternalId: string;
|
|
4266
4259
|
assetName: string;
|
|
4267
4260
|
kwh: number;
|
|
4268
4261
|
co2Equivalent?: number | null;
|
|
@@ -4270,16 +4263,16 @@ export interface ConsumptionDto {
|
|
|
4270
4263
|
items?: AssetConsumptionDto[] | null;
|
|
4271
4264
|
}
|
|
4272
4265
|
export interface AssetConsumptionDto {
|
|
4273
|
-
|
|
4266
|
+
timeseriesExternalId: string;
|
|
4274
4267
|
timeseriesName: string;
|
|
4275
4268
|
kwh: number;
|
|
4276
|
-
|
|
4269
|
+
assetExternalId: string;
|
|
4277
4270
|
assetName: string;
|
|
4278
4271
|
co2Equivalent?: number | null;
|
|
4279
4272
|
co2EquivalentNotAdjustedForLocalProduction?: number | null;
|
|
4280
4273
|
}
|
|
4281
4274
|
export interface GetConsumption {
|
|
4282
|
-
|
|
4275
|
+
assetExternalId?: string | null;
|
|
4283
4276
|
start?: Date | null;
|
|
4284
4277
|
end?: Date | null;
|
|
4285
4278
|
}
|
|
@@ -4288,9 +4281,9 @@ export interface PowerDto {
|
|
|
4288
4281
|
assets?: AssetPowerDto[] | null;
|
|
4289
4282
|
}
|
|
4290
4283
|
export interface AssetPowerDto {
|
|
4291
|
-
|
|
4284
|
+
timeseriesExternalId?: string | null;
|
|
4292
4285
|
timeseriesName?: string | null;
|
|
4293
|
-
|
|
4286
|
+
assetExternalId?: string | null;
|
|
4294
4287
|
assetName?: string | null;
|
|
4295
4288
|
timeSeriesDataPoints?: NumericDataPointDto[] | null;
|
|
4296
4289
|
}
|
|
@@ -4302,7 +4295,7 @@ export interface NumericDataPointDto {
|
|
|
4302
4295
|
max?: number | null;
|
|
4303
4296
|
}
|
|
4304
4297
|
export interface GetPower {
|
|
4305
|
-
|
|
4298
|
+
assetExternalId: string;
|
|
4306
4299
|
granularity?: string | null;
|
|
4307
4300
|
start?: Date | null;
|
|
4308
4301
|
end?: Date | null;
|
|
@@ -4722,7 +4715,7 @@ export interface UptimeTrendDataPointDto {
|
|
|
4722
4715
|
uptime: number;
|
|
4723
4716
|
}
|
|
4724
4717
|
export interface ApplicationResourcesResourceDto {
|
|
4725
|
-
id
|
|
4718
|
+
id?: number | null;
|
|
4726
4719
|
externalId: string;
|
|
4727
4720
|
name: string;
|
|
4728
4721
|
description?: string | null;
|
|
@@ -4740,7 +4733,6 @@ export interface ApplicationResourcesResourceGroupDto {
|
|
|
4740
4733
|
resources: ResourceGroupMemberDto[];
|
|
4741
4734
|
}
|
|
4742
4735
|
export interface ResourceGroupMemberDto {
|
|
4743
|
-
id: number;
|
|
4744
4736
|
externalId: string;
|
|
4745
4737
|
name: string;
|
|
4746
4738
|
description?: string | null;
|
|
@@ -4762,7 +4754,7 @@ export interface MachineStateListDto {
|
|
|
4762
4754
|
machines?: MachineStateDto[] | null;
|
|
4763
4755
|
}
|
|
4764
4756
|
export interface MachineStateDto {
|
|
4765
|
-
|
|
4757
|
+
assetExternalId: string;
|
|
4766
4758
|
name: string;
|
|
4767
4759
|
description?: string | null;
|
|
4768
4760
|
state: string;
|
|
@@ -4778,7 +4770,7 @@ export interface ResourceErpDataListDto {
|
|
|
4778
4770
|
resources: SingleResourceErpDataListDto[];
|
|
4779
4771
|
}
|
|
4780
4772
|
export interface SingleResourceErpDataListDto {
|
|
4781
|
-
|
|
4773
|
+
assetExternalId: string;
|
|
4782
4774
|
name: string;
|
|
4783
4775
|
description?: string;
|
|
4784
4776
|
activeOrders: ResourceErpDataDto[];
|
|
@@ -4888,7 +4880,7 @@ export interface ResourceGroupUtilizationDto {
|
|
|
4888
4880
|
resources: ResourceUtilizationV2Dto[];
|
|
4889
4881
|
}
|
|
4890
4882
|
export interface ResourceUtilizationV2Dto {
|
|
4891
|
-
id?: number;
|
|
4883
|
+
id?: number | null;
|
|
4892
4884
|
name: string;
|
|
4893
4885
|
description?: string | null;
|
|
4894
4886
|
utilization: UtilizationDto;
|
|
@@ -4904,7 +4896,7 @@ export interface OperatorAndMachineDto {
|
|
|
4904
4896
|
resource?: ApplicationResourcesResourceDto | null;
|
|
4905
4897
|
}
|
|
4906
4898
|
export interface MachineDto {
|
|
4907
|
-
id
|
|
4899
|
+
id?: number | null;
|
|
4908
4900
|
externalId: string;
|
|
4909
4901
|
name: string;
|
|
4910
4902
|
description?: string | null;
|
|
@@ -5107,7 +5099,8 @@ export interface ResourceGroupUtilizationV2Dto {
|
|
|
5107
5099
|
resources: ResourceUtilizationV3Dto[];
|
|
5108
5100
|
}
|
|
5109
5101
|
export interface ResourceUtilizationV3Dto {
|
|
5110
|
-
id?: number;
|
|
5102
|
+
id?: number | null;
|
|
5103
|
+
externalId: string;
|
|
5111
5104
|
name: string;
|
|
5112
5105
|
description?: string | null;
|
|
5113
5106
|
utilization: UtilizationDetailsV2Dto;
|
|
@@ -5141,7 +5134,7 @@ export interface MachineGroupUtilizationV2Dto {
|
|
|
5141
5134
|
machines: MachineUtilizationV3Dto[];
|
|
5142
5135
|
}
|
|
5143
5136
|
export interface MachineUtilizationV3Dto {
|
|
5144
|
-
id?: number;
|
|
5137
|
+
id?: number | null;
|
|
5145
5138
|
name: string;
|
|
5146
5139
|
description?: string | null;
|
|
5147
5140
|
utilization: UtilizationDetailsV2Dto;
|
|
@@ -5153,7 +5146,7 @@ export interface UtilizationDatapointListDto {
|
|
|
5153
5146
|
}
|
|
5154
5147
|
export interface MachineUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
5155
5148
|
externalId: string;
|
|
5156
|
-
id
|
|
5149
|
+
id?: number | null;
|
|
5157
5150
|
name: string;
|
|
5158
5151
|
description?: string | null;
|
|
5159
5152
|
}
|
|
@@ -5168,7 +5161,7 @@ export interface ResourceGroupUtilizationDatapointListDto extends UtilizationDat
|
|
|
5168
5161
|
}
|
|
5169
5162
|
export interface ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
5170
5163
|
externalId: string;
|
|
5171
|
-
id
|
|
5164
|
+
id?: number | null;
|
|
5172
5165
|
name: string;
|
|
5173
5166
|
description?: string | null;
|
|
5174
5167
|
}
|
|
@@ -6115,7 +6108,6 @@ export interface MachineGroupDto {
|
|
|
6115
6108
|
machines: MachineGroupMemberDto[];
|
|
6116
6109
|
}
|
|
6117
6110
|
export interface MachineGroupMemberDto {
|
|
6118
|
-
id: number;
|
|
6119
6111
|
externalId: string;
|
|
6120
6112
|
name: string;
|
|
6121
6113
|
description?: string | null;
|
|
@@ -6137,7 +6129,7 @@ export interface MachineErpDataListDto {
|
|
|
6137
6129
|
machines: SingleMachineErpDataListDto[];
|
|
6138
6130
|
}
|
|
6139
6131
|
export interface SingleMachineErpDataListDto {
|
|
6140
|
-
|
|
6132
|
+
assetExternalId: string;
|
|
6141
6133
|
name: string;
|
|
6142
6134
|
description?: string;
|
|
6143
6135
|
activeOrders: MachineErpDataDto[];
|
|
@@ -6171,7 +6163,7 @@ export interface MachineGroupUtilizationDto {
|
|
|
6171
6163
|
machines: MachineUtilizationV2Dto[];
|
|
6172
6164
|
}
|
|
6173
6165
|
export interface MachineUtilizationV2Dto {
|
|
6174
|
-
id?: number;
|
|
6166
|
+
id?: number | null;
|
|
6175
6167
|
name: string;
|
|
6176
6168
|
description?: string | null;
|
|
6177
6169
|
utilization: UtilizationDto;
|
|
@@ -6181,7 +6173,7 @@ export interface CrossCompanyUtilizationSummaryDto {
|
|
|
6181
6173
|
companies: MachineGroupUtilizationDto[];
|
|
6182
6174
|
}
|
|
6183
6175
|
export interface LiveMachineDataDto {
|
|
6184
|
-
|
|
6176
|
+
assetExternalId?: string;
|
|
6185
6177
|
dataPoints?: LiveMachineDataPointDto[];
|
|
6186
6178
|
}
|
|
6187
6179
|
export interface LiveMachineDataPointDto {
|
|
@@ -6191,7 +6183,7 @@ export interface LiveMachineDataPointDto {
|
|
|
6191
6183
|
stringValue?: string | null;
|
|
6192
6184
|
}
|
|
6193
6185
|
export interface TimeseriesGraphDto {
|
|
6194
|
-
|
|
6186
|
+
assetExternalId?: string;
|
|
6195
6187
|
series?: TimeseriesGraphSeriesDto[];
|
|
6196
6188
|
}
|
|
6197
6189
|
export interface TimeseriesGraphSeriesDto {
|
|
@@ -7206,48 +7198,36 @@ export interface AssetDto {
|
|
|
7206
7198
|
externalId?: string | null;
|
|
7207
7199
|
name?: string | null;
|
|
7208
7200
|
description?: string | null;
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
} | null;
|
|
7212
|
-
aggregates?: any | null;
|
|
7213
|
-
parentId?: number | null;
|
|
7201
|
+
parentExternalId?: string | null;
|
|
7202
|
+
rootExternalId?: string | null;
|
|
7214
7203
|
source?: string | null;
|
|
7215
7204
|
id?: number | null;
|
|
7216
7205
|
createdTime?: number | null;
|
|
7217
7206
|
lastUpdatedTime?: number | null;
|
|
7218
|
-
rootId?: number | null;
|
|
7219
7207
|
}
|
|
7220
7208
|
export interface AssetStructureDto {
|
|
7221
7209
|
externalId?: string | null;
|
|
7222
7210
|
name?: string | null;
|
|
7223
7211
|
aggregatesDisplay?: string | null;
|
|
7224
7212
|
aggregates?: AssetSimpleStructureDto[] | null;
|
|
7225
|
-
id?: number | null;
|
|
7226
7213
|
createdTime?: number | null;
|
|
7227
7214
|
lastUpdatedTime?: number | null;
|
|
7228
7215
|
}
|
|
7229
7216
|
export interface AssetSimpleStructureDto {
|
|
7230
7217
|
externalId?: string | null;
|
|
7231
7218
|
name?: string | null;
|
|
7232
|
-
id?: number | null;
|
|
7233
7219
|
}
|
|
7234
7220
|
export interface CreateAsset {
|
|
7235
|
-
|
|
7221
|
+
parentExternalId: string;
|
|
7236
7222
|
externalId: string;
|
|
7237
7223
|
name: string;
|
|
7238
7224
|
description: string;
|
|
7239
|
-
metadata: {
|
|
7240
|
-
[key: string]: string;
|
|
7241
|
-
};
|
|
7242
7225
|
source?: string | null;
|
|
7243
7226
|
}
|
|
7244
7227
|
export interface UpdateAssetRequest {
|
|
7245
|
-
|
|
7228
|
+
parentExternalId: string;
|
|
7246
7229
|
name: string;
|
|
7247
7230
|
description: string;
|
|
7248
|
-
metadata: {
|
|
7249
|
-
[key: string]: string;
|
|
7250
|
-
};
|
|
7251
7231
|
source?: string | null;
|
|
7252
7232
|
}
|
|
7253
7233
|
export interface AlertNotificationAccessDto {
|
|
@@ -8607,7 +8587,6 @@ export interface ElectricalIotConfigDto {
|
|
|
8607
8587
|
export interface CreateElectricalIotConfig {
|
|
8608
8588
|
typeId?: string | null;
|
|
8609
8589
|
serialNumber?: string | null;
|
|
8610
|
-
assetId?: number | null;
|
|
8611
8590
|
assetExternalId?: string | null;
|
|
8612
8591
|
}
|
|
8613
8592
|
export interface WeldingIotConfigDto {
|
|
@@ -9387,7 +9366,8 @@ export interface ProcessMaterialCertificate {
|
|
|
9387
9366
|
purchaseOrderLine?: number | null;
|
|
9388
9367
|
}
|
|
9389
9368
|
export interface UploadFileCdfDto {
|
|
9390
|
-
id
|
|
9369
|
+
id?: number | null;
|
|
9370
|
+
externalId: string;
|
|
9391
9371
|
}
|
|
9392
9372
|
export interface ImaMaterialCheckReportDto {
|
|
9393
9373
|
file: FileDto;
|
|
@@ -9980,7 +9960,6 @@ export interface UploadRequest {
|
|
|
9980
9960
|
filename: string;
|
|
9981
9961
|
isMarkedDrawing?: boolean | null;
|
|
9982
9962
|
}
|
|
9983
|
-
export type SchemaFileSlot = "Drawing" | "ProjectFile" | "MarkedDrawing" | "SourceFile";
|
|
9984
9963
|
export interface MeasurementFormImportStatusDto {
|
|
9985
9964
|
progress: number;
|
|
9986
9965
|
totalElements: number;
|
|
@@ -10280,13 +10259,6 @@ export interface CountMeasurementFormSchemasRequest {
|
|
|
10280
10259
|
withoutCustomer?: boolean | null;
|
|
10281
10260
|
schemaCreator?: boolean | null;
|
|
10282
10261
|
}
|
|
10283
|
-
export interface MeasurementFormSchemaFileDto {
|
|
10284
|
-
slot: SchemaFileSlot;
|
|
10285
|
-
title: string;
|
|
10286
|
-
url: string;
|
|
10287
|
-
size?: number | null;
|
|
10288
|
-
lastModified?: Date | null;
|
|
10289
|
-
}
|
|
10290
10262
|
export interface MeasurementFormSchemaVersionDto {
|
|
10291
10263
|
id: string;
|
|
10292
10264
|
versionId: number;
|