@ignos/api-client 20261110.358.1 → 20261110.359.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 +104 -119
- package/lib/ignosportal-api.js +187 -94
- package/package.json +1 -1
- package/src/ignosportal-api.ts +285 -206
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -224,19 +224,18 @@ export interface IMachineUtilizationClient {
|
|
|
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
|
-
* @param assetExternalId (optional)
|
|
228
227
|
*/
|
|
229
|
-
getMachineUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined
|
|
230
|
-
getMachineUtilization(id:
|
|
228
|
+
getMachineUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<UtilizationListDto>;
|
|
229
|
+
getMachineUtilization(id: number, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
|
|
231
230
|
/**
|
|
232
231
|
* @param startTime (optional)
|
|
233
232
|
* @param endTime (optional)
|
|
234
233
|
* @deprecated
|
|
235
234
|
*/
|
|
236
|
-
getUtilizationDetailsForMachine(id:
|
|
237
|
-
getResourceTimelines(id:
|
|
238
|
-
listMachineStates(id:
|
|
239
|
-
getMachineStatesSummary(id:
|
|
235
|
+
getUtilizationDetailsForMachine(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
236
|
+
getResourceTimelines(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
|
|
237
|
+
listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
238
|
+
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
240
239
|
listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
|
|
241
240
|
listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
|
|
242
241
|
getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
|
|
@@ -259,24 +258,23 @@ export declare class MachineUtilizationClient extends AuthorizedApiBase implemen
|
|
|
259
258
|
* @param favorites (optional)
|
|
260
259
|
* @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
|
|
261
260
|
* @param utcOffset (optional) Explicit UTC offset for start of today's utilization
|
|
262
|
-
* @param assetExternalId (optional)
|
|
263
261
|
*/
|
|
264
|
-
getMachineUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined
|
|
262
|
+
getMachineUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<UtilizationListDto>;
|
|
265
263
|
protected processGetMachineUtilizations(response: Response): Promise<UtilizationListDto>;
|
|
266
|
-
getMachineUtilization(id:
|
|
264
|
+
getMachineUtilization(id: number, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
|
|
267
265
|
protected processGetMachineUtilization(response: Response): Promise<UtilizationDetailsDto>;
|
|
268
266
|
/**
|
|
269
267
|
* @param startTime (optional)
|
|
270
268
|
* @param endTime (optional)
|
|
271
269
|
* @deprecated
|
|
272
270
|
*/
|
|
273
|
-
getUtilizationDetailsForMachine(id:
|
|
271
|
+
getUtilizationDetailsForMachine(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
274
272
|
protected processGetUtilizationDetailsForMachine(response: Response): Promise<MachineStatesSummaryDto>;
|
|
275
|
-
getResourceTimelines(id:
|
|
273
|
+
getResourceTimelines(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
|
|
276
274
|
protected processGetResourceTimelines(response: Response): Promise<TimelinesDto>;
|
|
277
|
-
listMachineStates(id:
|
|
275
|
+
listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
278
276
|
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
279
|
-
getMachineStatesSummary(id:
|
|
277
|
+
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
280
278
|
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
281
279
|
listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
|
|
282
280
|
protected processListMachineUptimesToday(response: Response): Promise<MachineUptimesAggregateDto>;
|
|
@@ -299,13 +297,12 @@ export interface IResourceUtilizationClient {
|
|
|
299
297
|
* @param favorites (optional)
|
|
300
298
|
* @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
|
|
301
299
|
* @param utcOffset (optional) Explicit UTC offset for start of today's utilization
|
|
302
|
-
* @param assetExternalId (optional)
|
|
303
300
|
*/
|
|
304
|
-
getResourceUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined
|
|
305
|
-
getResourceUtilization(id:
|
|
306
|
-
getResourceTimelines(id:
|
|
307
|
-
listMachineStates(id:
|
|
308
|
-
getMachineStatesSummary(id:
|
|
301
|
+
getResourceUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<ResourceUtilizationListDto>;
|
|
302
|
+
getResourceUtilization(id: number, startTime: Date | undefined, endTime: Date | null | undefined): Promise<ResourceUtilizationDetailsDto>;
|
|
303
|
+
getResourceTimelines(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
|
|
304
|
+
listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
305
|
+
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
309
306
|
listResourceUptimesToday(request: ListResourceUptimesTodayRequest): Promise<ResourceUptimesAggregateDto>;
|
|
310
307
|
listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
|
|
311
308
|
getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
|
|
@@ -328,17 +325,16 @@ export declare class ResourceUtilizationClient extends AuthorizedApiBase impleme
|
|
|
328
325
|
* @param favorites (optional)
|
|
329
326
|
* @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
|
|
330
327
|
* @param utcOffset (optional) Explicit UTC offset for start of today's utilization
|
|
331
|
-
* @param assetExternalId (optional)
|
|
332
328
|
*/
|
|
333
|
-
getResourceUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined
|
|
329
|
+
getResourceUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<ResourceUtilizationListDto>;
|
|
334
330
|
protected processGetResourceUtilizations(response: Response): Promise<ResourceUtilizationListDto>;
|
|
335
|
-
getResourceUtilization(id:
|
|
331
|
+
getResourceUtilization(id: number, startTime: Date | undefined, endTime: Date | null | undefined): Promise<ResourceUtilizationDetailsDto>;
|
|
336
332
|
protected processGetResourceUtilization(response: Response): Promise<ResourceUtilizationDetailsDto>;
|
|
337
|
-
getResourceTimelines(id:
|
|
333
|
+
getResourceTimelines(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
|
|
338
334
|
protected processGetResourceTimelines(response: Response): Promise<TimelinesDto>;
|
|
339
|
-
listMachineStates(id:
|
|
335
|
+
listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
340
336
|
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
341
|
-
getMachineStatesSummary(id:
|
|
337
|
+
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
342
338
|
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
343
339
|
listResourceUptimesToday(request: ListResourceUptimesTodayRequest): Promise<ResourceUptimesAggregateDto>;
|
|
344
340
|
protected processListResourceUptimesToday(response: Response): Promise<ResourceUptimesAggregateDto>;
|
|
@@ -440,7 +436,7 @@ export declare class UploadClient extends AuthorizedApiBase implements IUploadCl
|
|
|
440
436
|
protected processCreateUploadInfoCdf(response: Response): Promise<UploadInfoCdfDto>;
|
|
441
437
|
}
|
|
442
438
|
export interface ISystemHealthDashboardClient {
|
|
443
|
-
getMachineDataHealth(assetId: number | null | undefined
|
|
439
|
+
getMachineDataHealth(assetId: number | null | undefined): Promise<DataHealthDto>;
|
|
444
440
|
}
|
|
445
441
|
export declare class SystemHealthDashboardClient extends AuthorizedApiBase implements ISystemHealthDashboardClient {
|
|
446
442
|
private http;
|
|
@@ -448,7 +444,7 @@ export declare class SystemHealthDashboardClient extends AuthorizedApiBase imple
|
|
|
448
444
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
449
445
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
450
446
|
});
|
|
451
|
-
getMachineDataHealth(assetId: number | null | undefined
|
|
447
|
+
getMachineDataHealth(assetId: number | null | undefined): Promise<DataHealthDto>;
|
|
452
448
|
protected processGetMachineDataHealth(response: Response): Promise<DataHealthDto>;
|
|
453
449
|
}
|
|
454
450
|
export interface IPowerClient {
|
|
@@ -676,13 +672,13 @@ export interface IResourcesClient {
|
|
|
676
672
|
createResourceGroup(request: CreateResourceGroup): Promise<CreateResourceGroupResponse>;
|
|
677
673
|
updateResourceGroup(id: string, request: UpdateResourceGroup): Promise<void>;
|
|
678
674
|
deleteResourceGroup(id: string): Promise<void>;
|
|
679
|
-
listCurrentMachineStates(assetId: number | null | undefined
|
|
680
|
-
listMachineStates(id:
|
|
681
|
-
listLastDowntimeMachineStates(id:
|
|
682
|
-
getMachineStateWithDowntimePeriods(id:
|
|
683
|
-
getMachineStatesSummary(id:
|
|
675
|
+
listCurrentMachineStates(assetId: number | null | undefined): Promise<MachineStateListDto>;
|
|
676
|
+
listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
677
|
+
listLastDowntimeMachineStates(id: number, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
678
|
+
getMachineStateWithDowntimePeriods(id: number, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
679
|
+
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
684
680
|
listResourceErpData(): Promise<ResourceErpDataListDto>;
|
|
685
|
-
getResourceErpData(id:
|
|
681
|
+
getResourceErpData(id: number): Promise<ResourceErpDataDto>;
|
|
686
682
|
getResourceUtilizationSummary(): Promise<ResourceUtilizationSummaryDto>;
|
|
687
683
|
getCrossCompanyUtilizationSummary(): Promise<CrossCompanyResourceUtilizationSummaryDto>;
|
|
688
684
|
listCurrentResourceOperators(resourceExternalId: string | null | undefined, operatorNameQuery: string | null | undefined): Promise<OperatorAndMachineDto[]>;
|
|
@@ -690,7 +686,7 @@ export interface IResourcesClient {
|
|
|
690
686
|
createResourceWithoutMachine(request: CreateResourceWithoutMachine): Promise<void>;
|
|
691
687
|
createResourceWithResource(request: CreateResourceWithMachine): Promise<void>;
|
|
692
688
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
693
|
-
deleteMachine(id:
|
|
689
|
+
deleteMachine(id: number): Promise<void>;
|
|
694
690
|
/**
|
|
695
691
|
* @deprecated
|
|
696
692
|
*/
|
|
@@ -713,19 +709,19 @@ export declare class ResourcesClient extends AuthorizedApiBase implements IResou
|
|
|
713
709
|
protected processUpdateResourceGroup(response: Response): Promise<void>;
|
|
714
710
|
deleteResourceGroup(id: string): Promise<void>;
|
|
715
711
|
protected processDeleteResourceGroup(response: Response): Promise<void>;
|
|
716
|
-
listCurrentMachineStates(assetId: number | null | undefined
|
|
712
|
+
listCurrentMachineStates(assetId: number | null | undefined): Promise<MachineStateListDto>;
|
|
717
713
|
protected processListCurrentMachineStates(response: Response): Promise<MachineStateListDto>;
|
|
718
|
-
listMachineStates(id:
|
|
714
|
+
listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
719
715
|
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
720
|
-
listLastDowntimeMachineStates(id:
|
|
716
|
+
listLastDowntimeMachineStates(id: number, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
721
717
|
protected processListLastDowntimeMachineStates(response: Response): Promise<DowntimeMachineStateDto[]>;
|
|
722
|
-
getMachineStateWithDowntimePeriods(id:
|
|
718
|
+
getMachineStateWithDowntimePeriods(id: number, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
723
719
|
protected processGetMachineStateWithDowntimePeriods(response: Response): Promise<DowntimeMachineStateDto>;
|
|
724
|
-
getMachineStatesSummary(id:
|
|
720
|
+
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
725
721
|
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
726
722
|
listResourceErpData(): Promise<ResourceErpDataListDto>;
|
|
727
723
|
protected processListResourceErpData(response: Response): Promise<ResourceErpDataListDto>;
|
|
728
|
-
getResourceErpData(id:
|
|
724
|
+
getResourceErpData(id: number): Promise<ResourceErpDataDto>;
|
|
729
725
|
protected processGetResourceErpData(response: Response): Promise<ResourceErpDataDto>;
|
|
730
726
|
getResourceUtilizationSummary(): Promise<ResourceUtilizationSummaryDto>;
|
|
731
727
|
protected processGetResourceUtilizationSummary(response: Response): Promise<ResourceUtilizationSummaryDto>;
|
|
@@ -741,7 +737,7 @@ export declare class ResourcesClient extends AuthorizedApiBase implements IResou
|
|
|
741
737
|
protected processCreateResourceWithResource(response: Response): Promise<void>;
|
|
742
738
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
743
739
|
protected processCreateResourceInResourceGroup(response: Response): Promise<void>;
|
|
744
|
-
deleteMachine(id:
|
|
740
|
+
deleteMachine(id: number): Promise<void>;
|
|
745
741
|
protected processDeleteMachine(response: Response): Promise<void>;
|
|
746
742
|
/**
|
|
747
743
|
* @deprecated
|
|
@@ -792,6 +788,10 @@ export interface IPulseJournalClient {
|
|
|
792
788
|
editNowLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
793
789
|
deleteNowLine(resourceId: string, lineId: string, eTag: string | null | undefined): Promise<PulseJournalNowLineMutationResultDto>;
|
|
794
790
|
reorderNowLine(resourceId: string, lineId: string, request: ReorderPulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
791
|
+
setNowLinePinned(resourceId: string, lineId: string, request: SetPulseJournalLinePinnedRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
792
|
+
setNowLineImportant(resourceId: string, lineId: string, request: SetPulseJournalLineImportantRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
793
|
+
addNowAttachment(resourceId: string, lineId: string, request: AddPulseJournalAttachmentRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
794
|
+
removeNowAttachment(resourceId: string, lineId: string, attachmentId: string, eTag: string | null | undefined): Promise<PulseJournalNowLineMutationResultDto>;
|
|
795
795
|
createAlwaysLine(resourceId: string, request: CreatePulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
796
796
|
editAlwaysLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
797
797
|
deleteAlwaysLine(resourceId: string, lineId: string, eTag: string | null | undefined): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
@@ -821,6 +821,14 @@ export declare class PulseJournalClient extends AuthorizedApiBase implements IPu
|
|
|
821
821
|
protected processDeleteNowLine(response: Response): Promise<PulseJournalNowLineMutationResultDto>;
|
|
822
822
|
reorderNowLine(resourceId: string, lineId: string, request: ReorderPulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
823
823
|
protected processReorderNowLine(response: Response): Promise<PulseJournalNowLineMutationResultDto>;
|
|
824
|
+
setNowLinePinned(resourceId: string, lineId: string, request: SetPulseJournalLinePinnedRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
825
|
+
protected processSetNowLinePinned(response: Response): Promise<PulseJournalNowLineMutationResultDto>;
|
|
826
|
+
setNowLineImportant(resourceId: string, lineId: string, request: SetPulseJournalLineImportantRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
827
|
+
protected processSetNowLineImportant(response: Response): Promise<PulseJournalNowLineMutationResultDto>;
|
|
828
|
+
addNowAttachment(resourceId: string, lineId: string, request: AddPulseJournalAttachmentRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
829
|
+
protected processAddNowAttachment(response: Response): Promise<PulseJournalNowLineMutationResultDto>;
|
|
830
|
+
removeNowAttachment(resourceId: string, lineId: string, attachmentId: string, eTag: string | null | undefined): Promise<PulseJournalNowLineMutationResultDto>;
|
|
831
|
+
protected processRemoveNowAttachment(response: Response): Promise<PulseJournalNowLineMutationResultDto>;
|
|
824
832
|
createAlwaysLine(resourceId: string, request: CreatePulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
825
833
|
protected processCreateAlwaysLine(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
826
834
|
editAlwaysLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
@@ -1416,13 +1424,13 @@ export interface IMachinesClient {
|
|
|
1416
1424
|
createMachineGroup(request: CreateMachineGroup): Promise<CreateMachineGroupResponse>;
|
|
1417
1425
|
updateMachineGroup(id: string, request: UpdateMachineGroup): Promise<void>;
|
|
1418
1426
|
deleteMachineGroup(id: string): Promise<void>;
|
|
1419
|
-
listCurrentMachineStates(assetId: number | null | undefined
|
|
1420
|
-
listMachineStates(id:
|
|
1421
|
-
listLastDowntimeMachineStates(id:
|
|
1422
|
-
getMachineStateWithDowntimePeriods(id:
|
|
1423
|
-
getMachineStatesSummary(id:
|
|
1427
|
+
listCurrentMachineStates(assetId: number | null | undefined): Promise<MachineStateListDto>;
|
|
1428
|
+
listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
1429
|
+
listLastDowntimeMachineStates(id: number, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
1430
|
+
getMachineStateWithDowntimePeriods(id: number, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
1431
|
+
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
1424
1432
|
listMachineErpData(): Promise<MachineErpDataListDto>;
|
|
1425
|
-
getMachineErpData(id:
|
|
1433
|
+
getMachineErpData(id: number): Promise<MachineErpDataDto>;
|
|
1426
1434
|
/**
|
|
1427
1435
|
* @param startTime (optional)
|
|
1428
1436
|
* @param endTime (optional)
|
|
@@ -1436,7 +1444,7 @@ export interface IMachinesClient {
|
|
|
1436
1444
|
createResourceWithoutMachine(request: CreateResourceWithoutMachine): Promise<void>;
|
|
1437
1445
|
createResourceWithMachine(request: CreateResourceWithMachine): Promise<void>;
|
|
1438
1446
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
1439
|
-
deleteMachine(id:
|
|
1447
|
+
deleteMachine(id: number): Promise<void>;
|
|
1440
1448
|
}
|
|
1441
1449
|
export declare class MachinesClient extends AuthorizedApiBase implements IMachinesClient {
|
|
1442
1450
|
private http;
|
|
@@ -1454,19 +1462,19 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
|
|
|
1454
1462
|
protected processUpdateMachineGroup(response: Response): Promise<void>;
|
|
1455
1463
|
deleteMachineGroup(id: string): Promise<void>;
|
|
1456
1464
|
protected processDeleteMachineGroup(response: Response): Promise<void>;
|
|
1457
|
-
listCurrentMachineStates(assetId: number | null | undefined
|
|
1465
|
+
listCurrentMachineStates(assetId: number | null | undefined): Promise<MachineStateListDto>;
|
|
1458
1466
|
protected processListCurrentMachineStates(response: Response): Promise<MachineStateListDto>;
|
|
1459
|
-
listMachineStates(id:
|
|
1467
|
+
listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
1460
1468
|
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
1461
|
-
listLastDowntimeMachineStates(id:
|
|
1469
|
+
listLastDowntimeMachineStates(id: number, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
1462
1470
|
protected processListLastDowntimeMachineStates(response: Response): Promise<DowntimeMachineStateDto[]>;
|
|
1463
|
-
getMachineStateWithDowntimePeriods(id:
|
|
1471
|
+
getMachineStateWithDowntimePeriods(id: number, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
1464
1472
|
protected processGetMachineStateWithDowntimePeriods(response: Response): Promise<DowntimeMachineStateDto>;
|
|
1465
|
-
getMachineStatesSummary(id:
|
|
1473
|
+
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
1466
1474
|
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
1467
1475
|
listMachineErpData(): Promise<MachineErpDataListDto>;
|
|
1468
1476
|
protected processListMachineErpData(response: Response): Promise<MachineErpDataListDto>;
|
|
1469
|
-
getMachineErpData(id:
|
|
1477
|
+
getMachineErpData(id: number): Promise<MachineErpDataDto>;
|
|
1470
1478
|
protected processGetMachineErpData(response: Response): Promise<MachineErpDataDto>;
|
|
1471
1479
|
/**
|
|
1472
1480
|
* @param startTime (optional)
|
|
@@ -1489,13 +1497,13 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
|
|
|
1489
1497
|
protected processCreateResourceWithMachine(response: Response): Promise<void>;
|
|
1490
1498
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
1491
1499
|
protected processCreateResourceInResourceGroup(response: Response): Promise<void>;
|
|
1492
|
-
deleteMachine(id:
|
|
1500
|
+
deleteMachine(id: number): Promise<void>;
|
|
1493
1501
|
protected processDeleteMachine(response: Response): Promise<void>;
|
|
1494
1502
|
}
|
|
1495
1503
|
export interface IMachineDataClient {
|
|
1496
|
-
getLiveMachineData(assetId:
|
|
1497
|
-
getTimeseriesGraph(assetId:
|
|
1498
|
-
exportTimeseriesGraph(assetId:
|
|
1504
|
+
getLiveMachineData(assetId: number, externalIds: string[] | undefined): Promise<LiveMachineDataDto>;
|
|
1505
|
+
getTimeseriesGraph(assetId: number, externalIds: string[] | undefined, startTime: Date | undefined, endTime: Date | undefined): Promise<TimeseriesGraphDto>;
|
|
1506
|
+
exportTimeseriesGraph(assetId: number, request: ExportTimeseriesGraphRequest): Promise<DownloadDto>;
|
|
1499
1507
|
}
|
|
1500
1508
|
export declare class MachineDataClient extends AuthorizedApiBase implements IMachineDataClient {
|
|
1501
1509
|
private http;
|
|
@@ -1503,11 +1511,11 @@ export declare class MachineDataClient extends AuthorizedApiBase implements IMac
|
|
|
1503
1511
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1504
1512
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1505
1513
|
});
|
|
1506
|
-
getLiveMachineData(assetId:
|
|
1514
|
+
getLiveMachineData(assetId: number, externalIds: string[] | undefined): Promise<LiveMachineDataDto>;
|
|
1507
1515
|
protected processGetLiveMachineData(response: Response): Promise<LiveMachineDataDto>;
|
|
1508
|
-
getTimeseriesGraph(assetId:
|
|
1516
|
+
getTimeseriesGraph(assetId: number, externalIds: string[] | undefined, startTime: Date | undefined, endTime: Date | undefined): Promise<TimeseriesGraphDto>;
|
|
1509
1517
|
protected processGetTimeseriesGraph(response: Response): Promise<TimeseriesGraphDto>;
|
|
1510
|
-
exportTimeseriesGraph(assetId:
|
|
1518
|
+
exportTimeseriesGraph(assetId: number, request: ExportTimeseriesGraphRequest): Promise<DownloadDto>;
|
|
1511
1519
|
protected processExportTimeseriesGraph(response: Response): Promise<DownloadDto>;
|
|
1512
1520
|
}
|
|
1513
1521
|
export interface ILinksClient {
|
|
@@ -2053,9 +2061,9 @@ export interface IAssetsClient {
|
|
|
2053
2061
|
listAssets(externalIdprefix: string | null | undefined, name: string | null | undefined, source: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfAssetDto>;
|
|
2054
2062
|
createAsset(createAsset: CreateAsset): Promise<AssetDto>;
|
|
2055
2063
|
searchAssets(name: string | null | undefined, description: string | null | undefined, limit: number | undefined): Promise<AssetDto[]>;
|
|
2056
|
-
getAssetById(id:
|
|
2057
|
-
updateAsset(id:
|
|
2058
|
-
getAssetStructureById(id:
|
|
2064
|
+
getAssetById(id: number): Promise<AssetDto>;
|
|
2065
|
+
updateAsset(id: number, request: UpdateAssetRequest): Promise<AssetDto>;
|
|
2066
|
+
getAssetStructureById(id: number): Promise<AssetStructureDto>;
|
|
2059
2067
|
/**
|
|
2060
2068
|
* @deprecated
|
|
2061
2069
|
*/
|
|
@@ -2073,11 +2081,11 @@ export declare class AssetsClient extends AuthorizedApiBase implements IAssetsCl
|
|
|
2073
2081
|
protected processCreateAsset(response: Response): Promise<AssetDto>;
|
|
2074
2082
|
searchAssets(name: string | null | undefined, description: string | null | undefined, limit: number | undefined): Promise<AssetDto[]>;
|
|
2075
2083
|
protected processSearchAssets(response: Response): Promise<AssetDto[]>;
|
|
2076
|
-
getAssetById(id:
|
|
2084
|
+
getAssetById(id: number): Promise<AssetDto>;
|
|
2077
2085
|
protected processGetAssetById(response: Response): Promise<AssetDto>;
|
|
2078
|
-
updateAsset(id:
|
|
2086
|
+
updateAsset(id: number, request: UpdateAssetRequest): Promise<AssetDto>;
|
|
2079
2087
|
protected processUpdateAsset(response: Response): Promise<AssetDto>;
|
|
2080
|
-
getAssetStructureById(id:
|
|
2088
|
+
getAssetStructureById(id: number): Promise<AssetStructureDto>;
|
|
2081
2089
|
protected processGetAssetStructureById(response: Response): Promise<AssetStructureDto>;
|
|
2082
2090
|
/**
|
|
2083
2091
|
* @deprecated
|
|
@@ -3115,7 +3123,6 @@ export interface IMeasurementFormSchemasAdminClient {
|
|
|
3115
3123
|
*/
|
|
3116
3124
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3117
3125
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
3118
|
-
deleteMeasurementFormSchemaFile(id: string, slot: SchemaFileSlot): Promise<void>;
|
|
3119
3126
|
getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
|
|
3120
3127
|
listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
3121
3128
|
postListLinkableMeasurementFormSchemas(request: ListLinkableMeasurementFormSchemasRequest): Promise<PagedResultOfMeasurementFormListDto>;
|
|
@@ -3206,8 +3213,6 @@ export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase
|
|
|
3206
3213
|
protected processUploadSchemaDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3207
3214
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
3208
3215
|
protected processUploadSchemaAttachment(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3209
|
-
deleteMeasurementFormSchemaFile(id: string, slot: SchemaFileSlot): Promise<void>;
|
|
3210
|
-
protected processDeleteMeasurementFormSchemaFile(response: Response): Promise<void>;
|
|
3211
3216
|
getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
|
|
3212
3217
|
protected processGetMeasurementFormImportStatus(response: Response): Promise<MeasurementFormImportStatusDto>;
|
|
3213
3218
|
listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
@@ -3306,7 +3311,6 @@ export interface IMeasurementFormSchemasClient {
|
|
|
3306
3311
|
getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
3307
3312
|
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormSchemaOverviewDto>;
|
|
3308
3313
|
postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto>;
|
|
3309
|
-
listMeasurementFormSchemaFiles(id: string): Promise<MeasurementFormSchemaFileDto[]>;
|
|
3310
3314
|
listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
3311
3315
|
listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]>;
|
|
3312
3316
|
listMeasurementFormSchemaVersionChanges(id: string): Promise<MeasurementFormSchemaVersionChangesDto[]>;
|
|
@@ -3336,8 +3340,6 @@ export declare class MeasurementFormSchemasClient extends AuthorizedApiBase impl
|
|
|
3336
3340
|
protected processPostListMeasurementFormSchemas(response: Response): Promise<PagedResultOfMeasurementFormSchemaOverviewDto>;
|
|
3337
3341
|
postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto>;
|
|
3338
3342
|
protected processPostCountMeasurementFormSchemas(response: Response): Promise<MeasurementFormSchemaCountsDto>;
|
|
3339
|
-
listMeasurementFormSchemaFiles(id: string): Promise<MeasurementFormSchemaFileDto[]>;
|
|
3340
|
-
protected processListMeasurementFormSchemaFiles(response: Response): Promise<MeasurementFormSchemaFileDto[]>;
|
|
3341
3343
|
listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
3342
3344
|
protected processListMeasurementFormSchemaVersions(response: Response): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
3343
3345
|
listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]>;
|
|
@@ -3987,7 +3989,6 @@ export interface UtilizationListDto {
|
|
|
3987
3989
|
}
|
|
3988
3990
|
export interface MachineUtilizationDto {
|
|
3989
3991
|
assetId: number;
|
|
3990
|
-
assetExternalId: string;
|
|
3991
3992
|
name: string;
|
|
3992
3993
|
description?: string | null;
|
|
3993
3994
|
state: string;
|
|
@@ -4029,7 +4030,6 @@ export interface PowerOnUtilizationDto extends UtilizationAveragesDto {
|
|
|
4029
4030
|
}
|
|
4030
4031
|
export interface UtilizationDetailsDto {
|
|
4031
4032
|
machineId: number;
|
|
4032
|
-
machineExternalId: string;
|
|
4033
4033
|
machineName: string;
|
|
4034
4034
|
machineStateText?: string | null;
|
|
4035
4035
|
machineState?: MachineState | null;
|
|
@@ -4144,7 +4144,6 @@ export interface ResourceUtilizationListDto {
|
|
|
4144
4144
|
}
|
|
4145
4145
|
export interface ResourceUtilizationDto {
|
|
4146
4146
|
assetId: number;
|
|
4147
|
-
assetExternalId: string;
|
|
4148
4147
|
name: string;
|
|
4149
4148
|
description?: string | null;
|
|
4150
4149
|
state: string;
|
|
@@ -4155,7 +4154,6 @@ export interface ResourceUtilizationDto {
|
|
|
4155
4154
|
}
|
|
4156
4155
|
export interface ResourceUtilizationDetailsDto {
|
|
4157
4156
|
resourceId: number;
|
|
4158
|
-
resourceExternalId: string;
|
|
4159
4157
|
resourceName: string;
|
|
4160
4158
|
machineStateText?: string | null;
|
|
4161
4159
|
machineState?: MachineState | null;
|
|
@@ -4254,7 +4252,6 @@ export interface DataHealthDto {
|
|
|
4254
4252
|
}
|
|
4255
4253
|
export interface MachineDataHealthDto {
|
|
4256
4254
|
assetId: number;
|
|
4257
|
-
assetExternalId: string;
|
|
4258
4255
|
name: string;
|
|
4259
4256
|
description?: string | null;
|
|
4260
4257
|
state?: string | null;
|
|
@@ -4272,7 +4269,6 @@ export interface PowerRegionDto {
|
|
|
4272
4269
|
}
|
|
4273
4270
|
export interface ConsumptionDto {
|
|
4274
4271
|
assetId: number;
|
|
4275
|
-
assetExternalId: string;
|
|
4276
4272
|
assetName: string;
|
|
4277
4273
|
kwh: number;
|
|
4278
4274
|
co2Equivalent?: number | null;
|
|
@@ -4281,18 +4277,15 @@ export interface ConsumptionDto {
|
|
|
4281
4277
|
}
|
|
4282
4278
|
export interface AssetConsumptionDto {
|
|
4283
4279
|
timeseriesId: number;
|
|
4284
|
-
timeseriesExternalId?: string | null;
|
|
4285
4280
|
timeseriesName: string;
|
|
4286
4281
|
kwh: number;
|
|
4287
4282
|
assetId: number;
|
|
4288
|
-
assetExternalId?: string | null;
|
|
4289
4283
|
assetName: string;
|
|
4290
4284
|
co2Equivalent?: number | null;
|
|
4291
4285
|
co2EquivalentNotAdjustedForLocalProduction?: number | null;
|
|
4292
4286
|
}
|
|
4293
4287
|
export interface GetConsumption {
|
|
4294
4288
|
assetId?: number | null;
|
|
4295
|
-
assetExternalId?: string | null;
|
|
4296
4289
|
start?: Date | null;
|
|
4297
4290
|
end?: Date | null;
|
|
4298
4291
|
}
|
|
@@ -4302,10 +4295,8 @@ export interface PowerDto {
|
|
|
4302
4295
|
}
|
|
4303
4296
|
export interface AssetPowerDto {
|
|
4304
4297
|
timeseriesId?: number;
|
|
4305
|
-
timeseriesExternalId?: string | null;
|
|
4306
4298
|
timeseriesName?: string | null;
|
|
4307
4299
|
assetId?: number;
|
|
4308
|
-
assetExternalId?: string | null;
|
|
4309
4300
|
assetName?: string | null;
|
|
4310
4301
|
timeSeriesDataPoints?: NumericDataPointDto[] | null;
|
|
4311
4302
|
}
|
|
@@ -4317,8 +4308,7 @@ export interface NumericDataPointDto {
|
|
|
4317
4308
|
max?: number | null;
|
|
4318
4309
|
}
|
|
4319
4310
|
export interface GetPower {
|
|
4320
|
-
assetId
|
|
4321
|
-
assetExternalId?: string | null;
|
|
4311
|
+
assetId: number;
|
|
4322
4312
|
granularity?: string | null;
|
|
4323
4313
|
start?: Date | null;
|
|
4324
4314
|
end?: Date | null;
|
|
@@ -4784,7 +4774,6 @@ export interface MachineStateDto {
|
|
|
4784
4774
|
state: string;
|
|
4785
4775
|
machineState: MachineState;
|
|
4786
4776
|
startTime: Date;
|
|
4787
|
-
assetExternalId: string;
|
|
4788
4777
|
}
|
|
4789
4778
|
export interface DowntimeMachineStateDto {
|
|
4790
4779
|
datapoint: MachineStateDatapoint;
|
|
@@ -4801,7 +4790,6 @@ export interface SingleResourceErpDataListDto {
|
|
|
4801
4790
|
activeOrders: ResourceErpDataDto[];
|
|
4802
4791
|
lastActiveEvent?: WorkorderOperationEventDto | null;
|
|
4803
4792
|
downtimePeriodReason?: DowntimePeriodReasonDto | null;
|
|
4804
|
-
assetExternalId: string;
|
|
4805
4793
|
}
|
|
4806
4794
|
export interface ResourceErpDataDto {
|
|
4807
4795
|
workOrderId: string;
|
|
@@ -5017,7 +5005,7 @@ export interface PulseJournalBoardsDto {
|
|
|
5017
5005
|
always: PulseJournalAlwaysBoardDto;
|
|
5018
5006
|
}
|
|
5019
5007
|
export interface PulseJournalNowBoardDto {
|
|
5020
|
-
lines:
|
|
5008
|
+
lines: PulseJournalNowLineDto[];
|
|
5021
5009
|
eTag?: string | null;
|
|
5022
5010
|
}
|
|
5023
5011
|
export interface PulseJournalLineDto {
|
|
@@ -5029,13 +5017,10 @@ export interface PulseJournalLineDto {
|
|
|
5029
5017
|
updated?: Date | null;
|
|
5030
5018
|
updatedBy?: string | null;
|
|
5031
5019
|
}
|
|
5032
|
-
export interface
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
}
|
|
5036
|
-
export interface PulseJournalAlwaysLineDto extends PulseJournalLineDto {
|
|
5020
|
+
export interface PulseJournalNowLineDto extends PulseJournalLineDto {
|
|
5021
|
+
isPinned: boolean;
|
|
5022
|
+
isImportant: boolean;
|
|
5037
5023
|
attachments: PulseJournalAttachmentDto[];
|
|
5038
|
-
links: PulseJournalLinkDto[];
|
|
5039
5024
|
}
|
|
5040
5025
|
export interface PulseJournalAttachmentDto {
|
|
5041
5026
|
id: string;
|
|
@@ -5044,6 +5029,14 @@ export interface PulseJournalAttachmentDto {
|
|
|
5044
5029
|
created: Date;
|
|
5045
5030
|
createdBy?: string | null;
|
|
5046
5031
|
}
|
|
5032
|
+
export interface PulseJournalAlwaysBoardDto {
|
|
5033
|
+
lines: PulseJournalAlwaysLineDto[];
|
|
5034
|
+
eTag?: string | null;
|
|
5035
|
+
}
|
|
5036
|
+
export interface PulseJournalAlwaysLineDto extends PulseJournalLineDto {
|
|
5037
|
+
attachments: PulseJournalAttachmentDto[];
|
|
5038
|
+
links: PulseJournalLinkDto[];
|
|
5039
|
+
}
|
|
5047
5040
|
export interface PulseJournalLinkDto {
|
|
5048
5041
|
id: string;
|
|
5049
5042
|
url: string;
|
|
@@ -5071,7 +5064,7 @@ export interface UndoPulseJournalActionRequest {
|
|
|
5071
5064
|
eventId: string;
|
|
5072
5065
|
}
|
|
5073
5066
|
export interface PulseJournalNowLineMutationResultDto {
|
|
5074
|
-
line?:
|
|
5067
|
+
line?: PulseJournalNowLineDto | null;
|
|
5075
5068
|
boardETag: string;
|
|
5076
5069
|
eventId?: string | null;
|
|
5077
5070
|
}
|
|
@@ -5088,16 +5081,24 @@ export interface ReorderPulseJournalLineRequest {
|
|
|
5088
5081
|
displayBeforeId?: string | null;
|
|
5089
5082
|
eTag?: string | null;
|
|
5090
5083
|
}
|
|
5091
|
-
export interface
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5084
|
+
export interface SetPulseJournalLinePinnedRequest {
|
|
5085
|
+
isPinned: boolean;
|
|
5086
|
+
eTag?: string | null;
|
|
5087
|
+
}
|
|
5088
|
+
export interface SetPulseJournalLineImportantRequest {
|
|
5089
|
+
isImportant: boolean;
|
|
5090
|
+
eTag?: string | null;
|
|
5095
5091
|
}
|
|
5096
5092
|
export interface AddPulseJournalAttachmentRequest {
|
|
5097
5093
|
uploadKey: string;
|
|
5098
5094
|
filename: string;
|
|
5099
5095
|
eTag?: string | null;
|
|
5100
5096
|
}
|
|
5097
|
+
export interface PulseJournalAlwaysLineMutationResultDto {
|
|
5098
|
+
line?: PulseJournalAlwaysLineDto | null;
|
|
5099
|
+
boardETag: string;
|
|
5100
|
+
eventId?: string | null;
|
|
5101
|
+
}
|
|
5101
5102
|
export interface AddPulseJournalLinkRequest {
|
|
5102
5103
|
url: string;
|
|
5103
5104
|
eTag?: string | null;
|
|
@@ -5126,7 +5127,6 @@ export interface ResourceGroupUtilizationV2Dto {
|
|
|
5126
5127
|
}
|
|
5127
5128
|
export interface ResourceUtilizationV3Dto {
|
|
5128
5129
|
id?: number;
|
|
5129
|
-
externalId: string;
|
|
5130
5130
|
name: string;
|
|
5131
5131
|
description?: string | null;
|
|
5132
5132
|
utilization: UtilizationDetailsV2Dto;
|
|
@@ -6162,7 +6162,6 @@ export interface SingleMachineErpDataListDto {
|
|
|
6162
6162
|
activeOrders: MachineErpDataDto[];
|
|
6163
6163
|
lastActiveEvent?: WorkorderOperationEventDto | null;
|
|
6164
6164
|
downtimePeriodReason?: DowntimePeriodReasonDto | null;
|
|
6165
|
-
assetExternalId: string;
|
|
6166
6165
|
}
|
|
6167
6166
|
export interface MachineErpDataDto {
|
|
6168
6167
|
workOrderId: string;
|
|
@@ -6203,7 +6202,6 @@ export interface CrossCompanyUtilizationSummaryDto {
|
|
|
6203
6202
|
export interface LiveMachineDataDto {
|
|
6204
6203
|
assetId?: number;
|
|
6205
6204
|
dataPoints?: LiveMachineDataPointDto[];
|
|
6206
|
-
assetExternalId: string;
|
|
6207
6205
|
}
|
|
6208
6206
|
export interface LiveMachineDataPointDto {
|
|
6209
6207
|
externalId?: string;
|
|
@@ -6214,7 +6212,6 @@ export interface LiveMachineDataPointDto {
|
|
|
6214
6212
|
export interface TimeseriesGraphDto {
|
|
6215
6213
|
assetId?: number;
|
|
6216
6214
|
series?: TimeseriesGraphSeriesDto[];
|
|
6217
|
-
assetExternalId: string;
|
|
6218
6215
|
}
|
|
6219
6216
|
export interface TimeseriesGraphSeriesDto {
|
|
6220
6217
|
externalId?: string;
|
|
@@ -7233,13 +7230,11 @@ export interface AssetDto {
|
|
|
7233
7230
|
} | null;
|
|
7234
7231
|
aggregates?: any | null;
|
|
7235
7232
|
parentId?: number | null;
|
|
7236
|
-
parentExternalId?: string | null;
|
|
7237
7233
|
source?: string | null;
|
|
7238
7234
|
id?: number | null;
|
|
7239
7235
|
createdTime?: number | null;
|
|
7240
7236
|
lastUpdatedTime?: number | null;
|
|
7241
7237
|
rootId?: number | null;
|
|
7242
|
-
rootExternalId?: string | null;
|
|
7243
7238
|
}
|
|
7244
7239
|
export interface AssetStructureDto {
|
|
7245
7240
|
externalId?: string | null;
|
|
@@ -7256,8 +7251,7 @@ export interface AssetSimpleStructureDto {
|
|
|
7256
7251
|
id?: number | null;
|
|
7257
7252
|
}
|
|
7258
7253
|
export interface CreateAsset {
|
|
7259
|
-
parentId
|
|
7260
|
-
parentExternalId?: string | null;
|
|
7254
|
+
parentId: number;
|
|
7261
7255
|
externalId: string;
|
|
7262
7256
|
name: string;
|
|
7263
7257
|
description: string;
|
|
@@ -7267,8 +7261,7 @@ export interface CreateAsset {
|
|
|
7267
7261
|
source?: string | null;
|
|
7268
7262
|
}
|
|
7269
7263
|
export interface UpdateAssetRequest {
|
|
7270
|
-
parentId
|
|
7271
|
-
parentExternalId?: string | null;
|
|
7264
|
+
parentId: number;
|
|
7272
7265
|
name: string;
|
|
7273
7266
|
description: string;
|
|
7274
7267
|
metadata: {
|
|
@@ -10006,7 +9999,6 @@ export interface UploadRequest {
|
|
|
10006
9999
|
filename: string;
|
|
10007
10000
|
isMarkedDrawing?: boolean | null;
|
|
10008
10001
|
}
|
|
10009
|
-
export type SchemaFileSlot = "Drawing" | "ProjectFile" | "MarkedDrawing" | "SourceFile";
|
|
10010
10002
|
export interface MeasurementFormImportStatusDto {
|
|
10011
10003
|
progress: number;
|
|
10012
10004
|
totalElements: number;
|
|
@@ -10306,13 +10298,6 @@ export interface CountMeasurementFormSchemasRequest {
|
|
|
10306
10298
|
withoutCustomer?: boolean | null;
|
|
10307
10299
|
schemaCreator?: boolean | null;
|
|
10308
10300
|
}
|
|
10309
|
-
export interface MeasurementFormSchemaFileDto {
|
|
10310
|
-
slot: SchemaFileSlot;
|
|
10311
|
-
title: string;
|
|
10312
|
-
url: string;
|
|
10313
|
-
size?: number | null;
|
|
10314
|
-
lastModified?: Date | null;
|
|
10315
|
-
}
|
|
10316
10301
|
export interface MeasurementFormSchemaVersionDto {
|
|
10317
10302
|
id: string;
|
|
10318
10303
|
versionId: number;
|