@ignos/api-client 20261110.360.1 → 20261110.361.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 +105 -133
- package/lib/ignosportal-api.js +187 -166
- package/package.json +1 -1
- package/src/ignosportal-api.ts +286 -291
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>;
|
|
@@ -404,8 +400,6 @@ export interface IUserAppSettingsClient {
|
|
|
404
400
|
setMoveUserSettings(settings: MoveAppSettings): Promise<void>;
|
|
405
401
|
getEngageUserSettings(): Promise<EngageAppSettings>;
|
|
406
402
|
setEngageUserSettings(settings: EngageAppSettings): Promise<void>;
|
|
407
|
-
getFavoriteRoutesUserSettings(): Promise<FavoriteRoutesAppSettings>;
|
|
408
|
-
setFavoriteRoutesUserSettings(settings: FavoriteRoutesAppSettings): Promise<void>;
|
|
409
403
|
}
|
|
410
404
|
export declare class UserAppSettingsClient extends AuthorizedApiBase implements IUserAppSettingsClient {
|
|
411
405
|
private http;
|
|
@@ -425,10 +419,6 @@ export declare class UserAppSettingsClient extends AuthorizedApiBase implements
|
|
|
425
419
|
protected processGetEngageUserSettings(response: Response): Promise<EngageAppSettings>;
|
|
426
420
|
setEngageUserSettings(settings: EngageAppSettings): Promise<void>;
|
|
427
421
|
protected processSetEngageUserSettings(response: Response): Promise<void>;
|
|
428
|
-
getFavoriteRoutesUserSettings(): Promise<FavoriteRoutesAppSettings>;
|
|
429
|
-
protected processGetFavoriteRoutesUserSettings(response: Response): Promise<FavoriteRoutesAppSettings>;
|
|
430
|
-
setFavoriteRoutesUserSettings(settings: FavoriteRoutesAppSettings): Promise<void>;
|
|
431
|
-
protected processSetFavoriteRoutesUserSettings(response: Response): Promise<void>;
|
|
432
422
|
}
|
|
433
423
|
export interface IUploadClient {
|
|
434
424
|
createUploadInfo(): Promise<UploadInfoDto>;
|
|
@@ -446,7 +436,7 @@ export declare class UploadClient extends AuthorizedApiBase implements IUploadCl
|
|
|
446
436
|
protected processCreateUploadInfoCdf(response: Response): Promise<UploadInfoCdfDto>;
|
|
447
437
|
}
|
|
448
438
|
export interface ISystemHealthDashboardClient {
|
|
449
|
-
getMachineDataHealth(assetId: number | null | undefined
|
|
439
|
+
getMachineDataHealth(assetId: number | null | undefined): Promise<DataHealthDto>;
|
|
450
440
|
}
|
|
451
441
|
export declare class SystemHealthDashboardClient extends AuthorizedApiBase implements ISystemHealthDashboardClient {
|
|
452
442
|
private http;
|
|
@@ -454,7 +444,7 @@ export declare class SystemHealthDashboardClient extends AuthorizedApiBase imple
|
|
|
454
444
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
455
445
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
456
446
|
});
|
|
457
|
-
getMachineDataHealth(assetId: number | null | undefined
|
|
447
|
+
getMachineDataHealth(assetId: number | null | undefined): Promise<DataHealthDto>;
|
|
458
448
|
protected processGetMachineDataHealth(response: Response): Promise<DataHealthDto>;
|
|
459
449
|
}
|
|
460
450
|
export interface IPowerClient {
|
|
@@ -682,13 +672,13 @@ export interface IResourcesClient {
|
|
|
682
672
|
createResourceGroup(request: CreateResourceGroup): Promise<CreateResourceGroupResponse>;
|
|
683
673
|
updateResourceGroup(id: string, request: UpdateResourceGroup): Promise<void>;
|
|
684
674
|
deleteResourceGroup(id: string): Promise<void>;
|
|
685
|
-
listCurrentMachineStates(assetId: number | null | undefined
|
|
686
|
-
listMachineStates(id:
|
|
687
|
-
listLastDowntimeMachineStates(id:
|
|
688
|
-
getMachineStateWithDowntimePeriods(id:
|
|
689
|
-
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>;
|
|
690
680
|
listResourceErpData(): Promise<ResourceErpDataListDto>;
|
|
691
|
-
getResourceErpData(id:
|
|
681
|
+
getResourceErpData(id: number): Promise<ResourceErpDataDto>;
|
|
692
682
|
getResourceUtilizationSummary(): Promise<ResourceUtilizationSummaryDto>;
|
|
693
683
|
getCrossCompanyUtilizationSummary(): Promise<CrossCompanyResourceUtilizationSummaryDto>;
|
|
694
684
|
listCurrentResourceOperators(resourceExternalId: string | null | undefined, operatorNameQuery: string | null | undefined): Promise<OperatorAndMachineDto[]>;
|
|
@@ -696,7 +686,7 @@ export interface IResourcesClient {
|
|
|
696
686
|
createResourceWithoutMachine(request: CreateResourceWithoutMachine): Promise<void>;
|
|
697
687
|
createResourceWithResource(request: CreateResourceWithMachine): Promise<void>;
|
|
698
688
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
699
|
-
deleteMachine(id:
|
|
689
|
+
deleteMachine(id: number): Promise<void>;
|
|
700
690
|
/**
|
|
701
691
|
* @deprecated
|
|
702
692
|
*/
|
|
@@ -719,19 +709,19 @@ export declare class ResourcesClient extends AuthorizedApiBase implements IResou
|
|
|
719
709
|
protected processUpdateResourceGroup(response: Response): Promise<void>;
|
|
720
710
|
deleteResourceGroup(id: string): Promise<void>;
|
|
721
711
|
protected processDeleteResourceGroup(response: Response): Promise<void>;
|
|
722
|
-
listCurrentMachineStates(assetId: number | null | undefined
|
|
712
|
+
listCurrentMachineStates(assetId: number | null | undefined): Promise<MachineStateListDto>;
|
|
723
713
|
protected processListCurrentMachineStates(response: Response): Promise<MachineStateListDto>;
|
|
724
|
-
listMachineStates(id:
|
|
714
|
+
listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
725
715
|
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
726
|
-
listLastDowntimeMachineStates(id:
|
|
716
|
+
listLastDowntimeMachineStates(id: number, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
727
717
|
protected processListLastDowntimeMachineStates(response: Response): Promise<DowntimeMachineStateDto[]>;
|
|
728
|
-
getMachineStateWithDowntimePeriods(id:
|
|
718
|
+
getMachineStateWithDowntimePeriods(id: number, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
729
719
|
protected processGetMachineStateWithDowntimePeriods(response: Response): Promise<DowntimeMachineStateDto>;
|
|
730
|
-
getMachineStatesSummary(id:
|
|
720
|
+
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
731
721
|
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
732
722
|
listResourceErpData(): Promise<ResourceErpDataListDto>;
|
|
733
723
|
protected processListResourceErpData(response: Response): Promise<ResourceErpDataListDto>;
|
|
734
|
-
getResourceErpData(id:
|
|
724
|
+
getResourceErpData(id: number): Promise<ResourceErpDataDto>;
|
|
735
725
|
protected processGetResourceErpData(response: Response): Promise<ResourceErpDataDto>;
|
|
736
726
|
getResourceUtilizationSummary(): Promise<ResourceUtilizationSummaryDto>;
|
|
737
727
|
protected processGetResourceUtilizationSummary(response: Response): Promise<ResourceUtilizationSummaryDto>;
|
|
@@ -747,7 +737,7 @@ export declare class ResourcesClient extends AuthorizedApiBase implements IResou
|
|
|
747
737
|
protected processCreateResourceWithResource(response: Response): Promise<void>;
|
|
748
738
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
749
739
|
protected processCreateResourceInResourceGroup(response: Response): Promise<void>;
|
|
750
|
-
deleteMachine(id:
|
|
740
|
+
deleteMachine(id: number): Promise<void>;
|
|
751
741
|
protected processDeleteMachine(response: Response): Promise<void>;
|
|
752
742
|
/**
|
|
753
743
|
* @deprecated
|
|
@@ -798,6 +788,10 @@ export interface IPulseJournalClient {
|
|
|
798
788
|
editNowLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
799
789
|
deleteNowLine(resourceId: string, lineId: string, eTag: string | null | undefined): Promise<PulseJournalNowLineMutationResultDto>;
|
|
800
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>;
|
|
801
795
|
createAlwaysLine(resourceId: string, request: CreatePulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
802
796
|
editAlwaysLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
803
797
|
deleteAlwaysLine(resourceId: string, lineId: string, eTag: string | null | undefined): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
@@ -827,6 +821,14 @@ export declare class PulseJournalClient extends AuthorizedApiBase implements IPu
|
|
|
827
821
|
protected processDeleteNowLine(response: Response): Promise<PulseJournalNowLineMutationResultDto>;
|
|
828
822
|
reorderNowLine(resourceId: string, lineId: string, request: ReorderPulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto>;
|
|
829
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>;
|
|
830
832
|
createAlwaysLine(resourceId: string, request: CreatePulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
831
833
|
protected processCreateAlwaysLine(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
832
834
|
editAlwaysLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
|
|
@@ -1422,13 +1424,13 @@ export interface IMachinesClient {
|
|
|
1422
1424
|
createMachineGroup(request: CreateMachineGroup): Promise<CreateMachineGroupResponse>;
|
|
1423
1425
|
updateMachineGroup(id: string, request: UpdateMachineGroup): Promise<void>;
|
|
1424
1426
|
deleteMachineGroup(id: string): Promise<void>;
|
|
1425
|
-
listCurrentMachineStates(assetId: number | null | undefined
|
|
1426
|
-
listMachineStates(id:
|
|
1427
|
-
listLastDowntimeMachineStates(id:
|
|
1428
|
-
getMachineStateWithDowntimePeriods(id:
|
|
1429
|
-
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>;
|
|
1430
1432
|
listMachineErpData(): Promise<MachineErpDataListDto>;
|
|
1431
|
-
getMachineErpData(id:
|
|
1433
|
+
getMachineErpData(id: number): Promise<MachineErpDataDto>;
|
|
1432
1434
|
/**
|
|
1433
1435
|
* @param startTime (optional)
|
|
1434
1436
|
* @param endTime (optional)
|
|
@@ -1442,7 +1444,7 @@ export interface IMachinesClient {
|
|
|
1442
1444
|
createResourceWithoutMachine(request: CreateResourceWithoutMachine): Promise<void>;
|
|
1443
1445
|
createResourceWithMachine(request: CreateResourceWithMachine): Promise<void>;
|
|
1444
1446
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
1445
|
-
deleteMachine(id:
|
|
1447
|
+
deleteMachine(id: number): Promise<void>;
|
|
1446
1448
|
}
|
|
1447
1449
|
export declare class MachinesClient extends AuthorizedApiBase implements IMachinesClient {
|
|
1448
1450
|
private http;
|
|
@@ -1460,19 +1462,19 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
|
|
|
1460
1462
|
protected processUpdateMachineGroup(response: Response): Promise<void>;
|
|
1461
1463
|
deleteMachineGroup(id: string): Promise<void>;
|
|
1462
1464
|
protected processDeleteMachineGroup(response: Response): Promise<void>;
|
|
1463
|
-
listCurrentMachineStates(assetId: number | null | undefined
|
|
1465
|
+
listCurrentMachineStates(assetId: number | null | undefined): Promise<MachineStateListDto>;
|
|
1464
1466
|
protected processListCurrentMachineStates(response: Response): Promise<MachineStateListDto>;
|
|
1465
|
-
listMachineStates(id:
|
|
1467
|
+
listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
1466
1468
|
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
1467
|
-
listLastDowntimeMachineStates(id:
|
|
1469
|
+
listLastDowntimeMachineStates(id: number, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
1468
1470
|
protected processListLastDowntimeMachineStates(response: Response): Promise<DowntimeMachineStateDto[]>;
|
|
1469
|
-
getMachineStateWithDowntimePeriods(id:
|
|
1471
|
+
getMachineStateWithDowntimePeriods(id: number, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
1470
1472
|
protected processGetMachineStateWithDowntimePeriods(response: Response): Promise<DowntimeMachineStateDto>;
|
|
1471
|
-
getMachineStatesSummary(id:
|
|
1473
|
+
getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
1472
1474
|
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
1473
1475
|
listMachineErpData(): Promise<MachineErpDataListDto>;
|
|
1474
1476
|
protected processListMachineErpData(response: Response): Promise<MachineErpDataListDto>;
|
|
1475
|
-
getMachineErpData(id:
|
|
1477
|
+
getMachineErpData(id: number): Promise<MachineErpDataDto>;
|
|
1476
1478
|
protected processGetMachineErpData(response: Response): Promise<MachineErpDataDto>;
|
|
1477
1479
|
/**
|
|
1478
1480
|
* @param startTime (optional)
|
|
@@ -1495,13 +1497,13 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
|
|
|
1495
1497
|
protected processCreateResourceWithMachine(response: Response): Promise<void>;
|
|
1496
1498
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
1497
1499
|
protected processCreateResourceInResourceGroup(response: Response): Promise<void>;
|
|
1498
|
-
deleteMachine(id:
|
|
1500
|
+
deleteMachine(id: number): Promise<void>;
|
|
1499
1501
|
protected processDeleteMachine(response: Response): Promise<void>;
|
|
1500
1502
|
}
|
|
1501
1503
|
export interface IMachineDataClient {
|
|
1502
|
-
getLiveMachineData(assetId:
|
|
1503
|
-
getTimeseriesGraph(assetId:
|
|
1504
|
-
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>;
|
|
1505
1507
|
}
|
|
1506
1508
|
export declare class MachineDataClient extends AuthorizedApiBase implements IMachineDataClient {
|
|
1507
1509
|
private http;
|
|
@@ -1509,11 +1511,11 @@ export declare class MachineDataClient extends AuthorizedApiBase implements IMac
|
|
|
1509
1511
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1510
1512
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1511
1513
|
});
|
|
1512
|
-
getLiveMachineData(assetId:
|
|
1514
|
+
getLiveMachineData(assetId: number, externalIds: string[] | undefined): Promise<LiveMachineDataDto>;
|
|
1513
1515
|
protected processGetLiveMachineData(response: Response): Promise<LiveMachineDataDto>;
|
|
1514
|
-
getTimeseriesGraph(assetId:
|
|
1516
|
+
getTimeseriesGraph(assetId: number, externalIds: string[] | undefined, startTime: Date | undefined, endTime: Date | undefined): Promise<TimeseriesGraphDto>;
|
|
1515
1517
|
protected processGetTimeseriesGraph(response: Response): Promise<TimeseriesGraphDto>;
|
|
1516
|
-
exportTimeseriesGraph(assetId:
|
|
1518
|
+
exportTimeseriesGraph(assetId: number, request: ExportTimeseriesGraphRequest): Promise<DownloadDto>;
|
|
1517
1519
|
protected processExportTimeseriesGraph(response: Response): Promise<DownloadDto>;
|
|
1518
1520
|
}
|
|
1519
1521
|
export interface ILinksClient {
|
|
@@ -2059,9 +2061,9 @@ export interface IAssetsClient {
|
|
|
2059
2061
|
listAssets(externalIdprefix: string | null | undefined, name: string | null | undefined, source: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfAssetDto>;
|
|
2060
2062
|
createAsset(createAsset: CreateAsset): Promise<AssetDto>;
|
|
2061
2063
|
searchAssets(name: string | null | undefined, description: string | null | undefined, limit: number | undefined): Promise<AssetDto[]>;
|
|
2062
|
-
getAssetById(id:
|
|
2063
|
-
updateAsset(id:
|
|
2064
|
-
getAssetStructureById(id:
|
|
2064
|
+
getAssetById(id: number): Promise<AssetDto>;
|
|
2065
|
+
updateAsset(id: number, request: UpdateAssetRequest): Promise<AssetDto>;
|
|
2066
|
+
getAssetStructureById(id: number): Promise<AssetStructureDto>;
|
|
2065
2067
|
/**
|
|
2066
2068
|
* @deprecated
|
|
2067
2069
|
*/
|
|
@@ -2079,11 +2081,11 @@ export declare class AssetsClient extends AuthorizedApiBase implements IAssetsCl
|
|
|
2079
2081
|
protected processCreateAsset(response: Response): Promise<AssetDto>;
|
|
2080
2082
|
searchAssets(name: string | null | undefined, description: string | null | undefined, limit: number | undefined): Promise<AssetDto[]>;
|
|
2081
2083
|
protected processSearchAssets(response: Response): Promise<AssetDto[]>;
|
|
2082
|
-
getAssetById(id:
|
|
2084
|
+
getAssetById(id: number): Promise<AssetDto>;
|
|
2083
2085
|
protected processGetAssetById(response: Response): Promise<AssetDto>;
|
|
2084
|
-
updateAsset(id:
|
|
2086
|
+
updateAsset(id: number, request: UpdateAssetRequest): Promise<AssetDto>;
|
|
2085
2087
|
protected processUpdateAsset(response: Response): Promise<AssetDto>;
|
|
2086
|
-
getAssetStructureById(id:
|
|
2088
|
+
getAssetStructureById(id: number): Promise<AssetStructureDto>;
|
|
2087
2089
|
protected processGetAssetStructureById(response: Response): Promise<AssetStructureDto>;
|
|
2088
2090
|
/**
|
|
2089
2091
|
* @deprecated
|
|
@@ -3121,7 +3123,6 @@ export interface IMeasurementFormSchemasAdminClient {
|
|
|
3121
3123
|
*/
|
|
3122
3124
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3123
3125
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
3124
|
-
deleteMeasurementFormSchemaFile(id: string, slot: SchemaFileSlot): Promise<void>;
|
|
3125
3126
|
getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
|
|
3126
3127
|
listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
3127
3128
|
postListLinkableMeasurementFormSchemas(request: ListLinkableMeasurementFormSchemasRequest): Promise<PagedResultOfMeasurementFormListDto>;
|
|
@@ -3212,8 +3213,6 @@ export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase
|
|
|
3212
3213
|
protected processUploadSchemaDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3213
3214
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
3214
3215
|
protected processUploadSchemaAttachment(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3215
|
-
deleteMeasurementFormSchemaFile(id: string, slot: SchemaFileSlot): Promise<void>;
|
|
3216
|
-
protected processDeleteMeasurementFormSchemaFile(response: Response): Promise<void>;
|
|
3217
3216
|
getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
|
|
3218
3217
|
protected processGetMeasurementFormImportStatus(response: Response): Promise<MeasurementFormImportStatusDto>;
|
|
3219
3218
|
listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
@@ -3312,7 +3311,6 @@ export interface IMeasurementFormSchemasClient {
|
|
|
3312
3311
|
getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
3313
3312
|
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormSchemaOverviewDto>;
|
|
3314
3313
|
postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto>;
|
|
3315
|
-
listMeasurementFormSchemaFiles(id: string): Promise<MeasurementFormSchemaFileDto[]>;
|
|
3316
3314
|
listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
3317
3315
|
listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]>;
|
|
3318
3316
|
listMeasurementFormSchemaVersionChanges(id: string): Promise<MeasurementFormSchemaVersionChangesDto[]>;
|
|
@@ -3342,8 +3340,6 @@ export declare class MeasurementFormSchemasClient extends AuthorizedApiBase impl
|
|
|
3342
3340
|
protected processPostListMeasurementFormSchemas(response: Response): Promise<PagedResultOfMeasurementFormSchemaOverviewDto>;
|
|
3343
3341
|
postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto>;
|
|
3344
3342
|
protected processPostCountMeasurementFormSchemas(response: Response): Promise<MeasurementFormSchemaCountsDto>;
|
|
3345
|
-
listMeasurementFormSchemaFiles(id: string): Promise<MeasurementFormSchemaFileDto[]>;
|
|
3346
|
-
protected processListMeasurementFormSchemaFiles(response: Response): Promise<MeasurementFormSchemaFileDto[]>;
|
|
3347
3343
|
listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
3348
3344
|
protected processListMeasurementFormSchemaVersions(response: Response): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
3349
3345
|
listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]>;
|
|
@@ -3993,7 +3989,6 @@ export interface UtilizationListDto {
|
|
|
3993
3989
|
}
|
|
3994
3990
|
export interface MachineUtilizationDto {
|
|
3995
3991
|
assetId: number;
|
|
3996
|
-
assetExternalId: string;
|
|
3997
3992
|
name: string;
|
|
3998
3993
|
description?: string | null;
|
|
3999
3994
|
state: string;
|
|
@@ -4035,7 +4030,6 @@ export interface PowerOnUtilizationDto extends UtilizationAveragesDto {
|
|
|
4035
4030
|
}
|
|
4036
4031
|
export interface UtilizationDetailsDto {
|
|
4037
4032
|
machineId: number;
|
|
4038
|
-
machineExternalId: string;
|
|
4039
4033
|
machineName: string;
|
|
4040
4034
|
machineStateText?: string | null;
|
|
4041
4035
|
machineState?: MachineState | null;
|
|
@@ -4150,7 +4144,6 @@ export interface ResourceUtilizationListDto {
|
|
|
4150
4144
|
}
|
|
4151
4145
|
export interface ResourceUtilizationDto {
|
|
4152
4146
|
assetId: number;
|
|
4153
|
-
assetExternalId: string;
|
|
4154
4147
|
name: string;
|
|
4155
4148
|
description?: string | null;
|
|
4156
4149
|
state: string;
|
|
@@ -4161,7 +4154,6 @@ export interface ResourceUtilizationDto {
|
|
|
4161
4154
|
}
|
|
4162
4155
|
export interface ResourceUtilizationDetailsDto {
|
|
4163
4156
|
resourceId: number;
|
|
4164
|
-
resourceExternalId: string;
|
|
4165
4157
|
resourceName: string;
|
|
4166
4158
|
machineStateText?: string | null;
|
|
4167
4159
|
machineState?: MachineState | null;
|
|
@@ -4243,13 +4235,6 @@ export interface EngageAppSettings {
|
|
|
4243
4235
|
scheduleViewMode?: ScheduleViewMode | null;
|
|
4244
4236
|
}
|
|
4245
4237
|
export type ScheduleViewMode = "Flat" | "Grouped";
|
|
4246
|
-
export interface FavoriteRoutesAppSettings {
|
|
4247
|
-
favorites?: FavoriteRoute[];
|
|
4248
|
-
}
|
|
4249
|
-
export interface FavoriteRoute {
|
|
4250
|
-
appKey: string;
|
|
4251
|
-
route: string;
|
|
4252
|
-
}
|
|
4253
4238
|
export interface UploadInfoDto {
|
|
4254
4239
|
baseUrl?: string | null;
|
|
4255
4240
|
key?: string | null;
|
|
@@ -4267,7 +4252,6 @@ export interface DataHealthDto {
|
|
|
4267
4252
|
}
|
|
4268
4253
|
export interface MachineDataHealthDto {
|
|
4269
4254
|
assetId: number;
|
|
4270
|
-
assetExternalId: string;
|
|
4271
4255
|
name: string;
|
|
4272
4256
|
description?: string | null;
|
|
4273
4257
|
state?: string | null;
|
|
@@ -4285,7 +4269,6 @@ export interface PowerRegionDto {
|
|
|
4285
4269
|
}
|
|
4286
4270
|
export interface ConsumptionDto {
|
|
4287
4271
|
assetId: number;
|
|
4288
|
-
assetExternalId: string;
|
|
4289
4272
|
assetName: string;
|
|
4290
4273
|
kwh: number;
|
|
4291
4274
|
co2Equivalent?: number | null;
|
|
@@ -4294,18 +4277,15 @@ export interface ConsumptionDto {
|
|
|
4294
4277
|
}
|
|
4295
4278
|
export interface AssetConsumptionDto {
|
|
4296
4279
|
timeseriesId: number;
|
|
4297
|
-
timeseriesExternalId?: string | null;
|
|
4298
4280
|
timeseriesName: string;
|
|
4299
4281
|
kwh: number;
|
|
4300
4282
|
assetId: number;
|
|
4301
|
-
assetExternalId?: string | null;
|
|
4302
4283
|
assetName: string;
|
|
4303
4284
|
co2Equivalent?: number | null;
|
|
4304
4285
|
co2EquivalentNotAdjustedForLocalProduction?: number | null;
|
|
4305
4286
|
}
|
|
4306
4287
|
export interface GetConsumption {
|
|
4307
4288
|
assetId?: number | null;
|
|
4308
|
-
assetExternalId?: string | null;
|
|
4309
4289
|
start?: Date | null;
|
|
4310
4290
|
end?: Date | null;
|
|
4311
4291
|
}
|
|
@@ -4315,10 +4295,8 @@ export interface PowerDto {
|
|
|
4315
4295
|
}
|
|
4316
4296
|
export interface AssetPowerDto {
|
|
4317
4297
|
timeseriesId?: number;
|
|
4318
|
-
timeseriesExternalId?: string | null;
|
|
4319
4298
|
timeseriesName?: string | null;
|
|
4320
4299
|
assetId?: number;
|
|
4321
|
-
assetExternalId?: string | null;
|
|
4322
4300
|
assetName?: string | null;
|
|
4323
4301
|
timeSeriesDataPoints?: NumericDataPointDto[] | null;
|
|
4324
4302
|
}
|
|
@@ -4330,8 +4308,7 @@ export interface NumericDataPointDto {
|
|
|
4330
4308
|
max?: number | null;
|
|
4331
4309
|
}
|
|
4332
4310
|
export interface GetPower {
|
|
4333
|
-
assetId
|
|
4334
|
-
assetExternalId?: string | null;
|
|
4311
|
+
assetId: number;
|
|
4335
4312
|
granularity?: string | null;
|
|
4336
4313
|
start?: Date | null;
|
|
4337
4314
|
end?: Date | null;
|
|
@@ -4797,7 +4774,6 @@ export interface MachineStateDto {
|
|
|
4797
4774
|
state: string;
|
|
4798
4775
|
machineState: MachineState;
|
|
4799
4776
|
startTime: Date;
|
|
4800
|
-
assetExternalId: string;
|
|
4801
4777
|
}
|
|
4802
4778
|
export interface DowntimeMachineStateDto {
|
|
4803
4779
|
datapoint: MachineStateDatapoint;
|
|
@@ -4814,7 +4790,6 @@ export interface SingleResourceErpDataListDto {
|
|
|
4814
4790
|
activeOrders: ResourceErpDataDto[];
|
|
4815
4791
|
lastActiveEvent?: WorkorderOperationEventDto | null;
|
|
4816
4792
|
downtimePeriodReason?: DowntimePeriodReasonDto | null;
|
|
4817
|
-
assetExternalId: string;
|
|
4818
4793
|
}
|
|
4819
4794
|
export interface ResourceErpDataDto {
|
|
4820
4795
|
workOrderId: string;
|
|
@@ -5030,7 +5005,7 @@ export interface PulseJournalBoardsDto {
|
|
|
5030
5005
|
always: PulseJournalAlwaysBoardDto;
|
|
5031
5006
|
}
|
|
5032
5007
|
export interface PulseJournalNowBoardDto {
|
|
5033
|
-
lines:
|
|
5008
|
+
lines: PulseJournalNowLineDto[];
|
|
5034
5009
|
eTag?: string | null;
|
|
5035
5010
|
}
|
|
5036
5011
|
export interface PulseJournalLineDto {
|
|
@@ -5042,13 +5017,10 @@ export interface PulseJournalLineDto {
|
|
|
5042
5017
|
updated?: Date | null;
|
|
5043
5018
|
updatedBy?: string | null;
|
|
5044
5019
|
}
|
|
5045
|
-
export interface
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
}
|
|
5049
|
-
export interface PulseJournalAlwaysLineDto extends PulseJournalLineDto {
|
|
5020
|
+
export interface PulseJournalNowLineDto extends PulseJournalLineDto {
|
|
5021
|
+
isPinned: boolean;
|
|
5022
|
+
isImportant: boolean;
|
|
5050
5023
|
attachments: PulseJournalAttachmentDto[];
|
|
5051
|
-
links: PulseJournalLinkDto[];
|
|
5052
5024
|
}
|
|
5053
5025
|
export interface PulseJournalAttachmentDto {
|
|
5054
5026
|
id: string;
|
|
@@ -5057,6 +5029,14 @@ export interface PulseJournalAttachmentDto {
|
|
|
5057
5029
|
created: Date;
|
|
5058
5030
|
createdBy?: string | null;
|
|
5059
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
|
+
}
|
|
5060
5040
|
export interface PulseJournalLinkDto {
|
|
5061
5041
|
id: string;
|
|
5062
5042
|
url: string;
|
|
@@ -5079,12 +5059,12 @@ export interface PulseJournalEventDto {
|
|
|
5079
5059
|
createdBy?: string | null;
|
|
5080
5060
|
}
|
|
5081
5061
|
export type PulseJournalBoardTypeDto = "Now" | "Always" | "Unknown";
|
|
5082
|
-
export type PulseJournalEventTypeDto = "LineAdded" | "LineEdited" | "LineMoved" | "LineRemoved" | "FixedInfoAdded" | "FixedInfoEdited" | "FixedInfoRemoved" | "AttachmentAdded" | "AttachmentRemoved" | "LinkAdded" | "LinkRemoved" | "Unknown";
|
|
5062
|
+
export type PulseJournalEventTypeDto = "LineAdded" | "LineEdited" | "LineMoved" | "LineRemoved" | "FixedInfoAdded" | "FixedInfoEdited" | "FixedInfoRemoved" | "AttachmentAdded" | "AttachmentRemoved" | "LinkAdded" | "LinkRemoved" | "LinePinned" | "LineUnpinned" | "LineMarkedImportant" | "LineUnmarkedImportant" | "Unknown";
|
|
5083
5063
|
export interface UndoPulseJournalActionRequest {
|
|
5084
5064
|
eventId: string;
|
|
5085
5065
|
}
|
|
5086
5066
|
export interface PulseJournalNowLineMutationResultDto {
|
|
5087
|
-
line?:
|
|
5067
|
+
line?: PulseJournalNowLineDto | null;
|
|
5088
5068
|
boardETag: string;
|
|
5089
5069
|
eventId?: string | null;
|
|
5090
5070
|
}
|
|
@@ -5101,16 +5081,24 @@ export interface ReorderPulseJournalLineRequest {
|
|
|
5101
5081
|
displayBeforeId?: string | null;
|
|
5102
5082
|
eTag?: string | null;
|
|
5103
5083
|
}
|
|
5104
|
-
export interface
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5084
|
+
export interface SetPulseJournalLinePinnedRequest {
|
|
5085
|
+
isPinned: boolean;
|
|
5086
|
+
eTag?: string | null;
|
|
5087
|
+
}
|
|
5088
|
+
export interface SetPulseJournalLineImportantRequest {
|
|
5089
|
+
isImportant: boolean;
|
|
5090
|
+
eTag?: string | null;
|
|
5108
5091
|
}
|
|
5109
5092
|
export interface AddPulseJournalAttachmentRequest {
|
|
5110
5093
|
uploadKey: string;
|
|
5111
5094
|
filename: string;
|
|
5112
5095
|
eTag?: string | null;
|
|
5113
5096
|
}
|
|
5097
|
+
export interface PulseJournalAlwaysLineMutationResultDto {
|
|
5098
|
+
line?: PulseJournalAlwaysLineDto | null;
|
|
5099
|
+
boardETag: string;
|
|
5100
|
+
eventId?: string | null;
|
|
5101
|
+
}
|
|
5114
5102
|
export interface AddPulseJournalLinkRequest {
|
|
5115
5103
|
url: string;
|
|
5116
5104
|
eTag?: string | null;
|
|
@@ -5139,7 +5127,6 @@ export interface ResourceGroupUtilizationV2Dto {
|
|
|
5139
5127
|
}
|
|
5140
5128
|
export interface ResourceUtilizationV3Dto {
|
|
5141
5129
|
id?: number;
|
|
5142
|
-
externalId: string;
|
|
5143
5130
|
name: string;
|
|
5144
5131
|
description?: string | null;
|
|
5145
5132
|
utilization: UtilizationDetailsV2Dto;
|
|
@@ -6175,7 +6162,6 @@ export interface SingleMachineErpDataListDto {
|
|
|
6175
6162
|
activeOrders: MachineErpDataDto[];
|
|
6176
6163
|
lastActiveEvent?: WorkorderOperationEventDto | null;
|
|
6177
6164
|
downtimePeriodReason?: DowntimePeriodReasonDto | null;
|
|
6178
|
-
assetExternalId: string;
|
|
6179
6165
|
}
|
|
6180
6166
|
export interface MachineErpDataDto {
|
|
6181
6167
|
workOrderId: string;
|
|
@@ -6216,7 +6202,6 @@ export interface CrossCompanyUtilizationSummaryDto {
|
|
|
6216
6202
|
export interface LiveMachineDataDto {
|
|
6217
6203
|
assetId?: number;
|
|
6218
6204
|
dataPoints?: LiveMachineDataPointDto[];
|
|
6219
|
-
assetExternalId: string;
|
|
6220
6205
|
}
|
|
6221
6206
|
export interface LiveMachineDataPointDto {
|
|
6222
6207
|
externalId?: string;
|
|
@@ -6227,7 +6212,6 @@ export interface LiveMachineDataPointDto {
|
|
|
6227
6212
|
export interface TimeseriesGraphDto {
|
|
6228
6213
|
assetId?: number;
|
|
6229
6214
|
series?: TimeseriesGraphSeriesDto[];
|
|
6230
|
-
assetExternalId: string;
|
|
6231
6215
|
}
|
|
6232
6216
|
export interface TimeseriesGraphSeriesDto {
|
|
6233
6217
|
externalId?: string;
|
|
@@ -7246,13 +7230,11 @@ export interface AssetDto {
|
|
|
7246
7230
|
} | null;
|
|
7247
7231
|
aggregates?: any | null;
|
|
7248
7232
|
parentId?: number | null;
|
|
7249
|
-
parentExternalId?: string | null;
|
|
7250
7233
|
source?: string | null;
|
|
7251
7234
|
id?: number | null;
|
|
7252
7235
|
createdTime?: number | null;
|
|
7253
7236
|
lastUpdatedTime?: number | null;
|
|
7254
7237
|
rootId?: number | null;
|
|
7255
|
-
rootExternalId?: string | null;
|
|
7256
7238
|
}
|
|
7257
7239
|
export interface AssetStructureDto {
|
|
7258
7240
|
externalId?: string | null;
|
|
@@ -7269,8 +7251,7 @@ export interface AssetSimpleStructureDto {
|
|
|
7269
7251
|
id?: number | null;
|
|
7270
7252
|
}
|
|
7271
7253
|
export interface CreateAsset {
|
|
7272
|
-
parentId
|
|
7273
|
-
parentExternalId?: string | null;
|
|
7254
|
+
parentId: number;
|
|
7274
7255
|
externalId: string;
|
|
7275
7256
|
name: string;
|
|
7276
7257
|
description: string;
|
|
@@ -7280,8 +7261,7 @@ export interface CreateAsset {
|
|
|
7280
7261
|
source?: string | null;
|
|
7281
7262
|
}
|
|
7282
7263
|
export interface UpdateAssetRequest {
|
|
7283
|
-
parentId
|
|
7284
|
-
parentExternalId?: string | null;
|
|
7264
|
+
parentId: number;
|
|
7285
7265
|
name: string;
|
|
7286
7266
|
description: string;
|
|
7287
7267
|
metadata: {
|
|
@@ -10019,7 +9999,6 @@ export interface UploadRequest {
|
|
|
10019
9999
|
filename: string;
|
|
10020
10000
|
isMarkedDrawing?: boolean | null;
|
|
10021
10001
|
}
|
|
10022
|
-
export type SchemaFileSlot = "Drawing" | "ProjectFile" | "MarkedDrawing" | "SourceFile";
|
|
10023
10002
|
export interface MeasurementFormImportStatusDto {
|
|
10024
10003
|
progress: number;
|
|
10025
10004
|
totalElements: number;
|
|
@@ -10319,13 +10298,6 @@ export interface CountMeasurementFormSchemasRequest {
|
|
|
10319
10298
|
withoutCustomer?: boolean | null;
|
|
10320
10299
|
schemaCreator?: boolean | null;
|
|
10321
10300
|
}
|
|
10322
|
-
export interface MeasurementFormSchemaFileDto {
|
|
10323
|
-
slot: SchemaFileSlot;
|
|
10324
|
-
title: string;
|
|
10325
|
-
url: string;
|
|
10326
|
-
size?: number | null;
|
|
10327
|
-
lastModified?: Date | null;
|
|
10328
|
-
}
|
|
10329
10301
|
export interface MeasurementFormSchemaVersionDto {
|
|
10330
10302
|
id: string;
|
|
10331
10303
|
versionId: number;
|