@ignos/api-client 20261110.361.1-alpha → 20261110.362.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.
@@ -224,18 +224,19 @@ 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)
227
228
  */
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>;
229
+ getMachineUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined, assetExternalId: string | null | undefined): Promise<UtilizationListDto>;
230
+ getMachineUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
230
231
  /**
231
232
  * @param startTime (optional)
232
233
  * @param endTime (optional)
233
234
  * @deprecated
234
235
  */
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>;
236
+ getUtilizationDetailsForMachine(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
237
+ getResourceTimelines(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
238
+ listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
239
+ getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
239
240
  listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
240
241
  listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
241
242
  getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
@@ -258,23 +259,24 @@ export declare class MachineUtilizationClient extends AuthorizedApiBase implemen
258
259
  * @param favorites (optional)
259
260
  * @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
260
261
  * @param utcOffset (optional) Explicit UTC offset for start of today's utilization
262
+ * @param assetExternalId (optional)
261
263
  */
262
- getMachineUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<UtilizationListDto>;
264
+ getMachineUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined, assetExternalId: string | null | undefined): Promise<UtilizationListDto>;
263
265
  protected processGetMachineUtilizations(response: Response): Promise<UtilizationListDto>;
264
- getMachineUtilization(id: number, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
266
+ getMachineUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
265
267
  protected processGetMachineUtilization(response: Response): Promise<UtilizationDetailsDto>;
266
268
  /**
267
269
  * @param startTime (optional)
268
270
  * @param endTime (optional)
269
271
  * @deprecated
270
272
  */
271
- getUtilizationDetailsForMachine(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
273
+ getUtilizationDetailsForMachine(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
272
274
  protected processGetUtilizationDetailsForMachine(response: Response): Promise<MachineStatesSummaryDto>;
273
- getResourceTimelines(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
275
+ getResourceTimelines(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
274
276
  protected processGetResourceTimelines(response: Response): Promise<TimelinesDto>;
275
- listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
277
+ listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
276
278
  protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
277
- getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
279
+ getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
278
280
  protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
279
281
  listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
280
282
  protected processListMachineUptimesToday(response: Response): Promise<MachineUptimesAggregateDto>;
@@ -297,12 +299,13 @@ export interface IResourceUtilizationClient {
297
299
  * @param favorites (optional)
298
300
  * @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
299
301
  * @param utcOffset (optional) Explicit UTC offset for start of today's utilization
302
+ * @param assetExternalId (optional)
300
303
  */
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>;
304
+ getResourceUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined, assetExternalId: string | null | undefined): Promise<ResourceUtilizationListDto>;
305
+ getResourceUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<ResourceUtilizationDetailsDto>;
306
+ getResourceTimelines(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
307
+ listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
308
+ getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
306
309
  listResourceUptimesToday(request: ListResourceUptimesTodayRequest): Promise<ResourceUptimesAggregateDto>;
307
310
  listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
308
311
  getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
@@ -325,16 +328,17 @@ export declare class ResourceUtilizationClient extends AuthorizedApiBase impleme
325
328
  * @param favorites (optional)
326
329
  * @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
327
330
  * @param utcOffset (optional) Explicit UTC offset for start of today's utilization
331
+ * @param assetExternalId (optional)
328
332
  */
329
- getResourceUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<ResourceUtilizationListDto>;
333
+ getResourceUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined, assetExternalId: string | null | undefined): Promise<ResourceUtilizationListDto>;
330
334
  protected processGetResourceUtilizations(response: Response): Promise<ResourceUtilizationListDto>;
331
- getResourceUtilization(id: number, startTime: Date | undefined, endTime: Date | null | undefined): Promise<ResourceUtilizationDetailsDto>;
335
+ getResourceUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<ResourceUtilizationDetailsDto>;
332
336
  protected processGetResourceUtilization(response: Response): Promise<ResourceUtilizationDetailsDto>;
333
- getResourceTimelines(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
337
+ getResourceTimelines(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
334
338
  protected processGetResourceTimelines(response: Response): Promise<TimelinesDto>;
335
- listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
339
+ listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
336
340
  protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
337
- getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
341
+ getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
338
342
  protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
339
343
  listResourceUptimesToday(request: ListResourceUptimesTodayRequest): Promise<ResourceUptimesAggregateDto>;
340
344
  protected processListResourceUptimesToday(response: Response): Promise<ResourceUptimesAggregateDto>;
@@ -436,7 +440,7 @@ export declare class UploadClient extends AuthorizedApiBase implements IUploadCl
436
440
  protected processCreateUploadInfoCdf(response: Response): Promise<UploadInfoCdfDto>;
437
441
  }
438
442
  export interface ISystemHealthDashboardClient {
439
- getMachineDataHealth(assetId: number | null | undefined): Promise<DataHealthDto>;
443
+ getMachineDataHealth(assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<DataHealthDto>;
440
444
  }
441
445
  export declare class SystemHealthDashboardClient extends AuthorizedApiBase implements ISystemHealthDashboardClient {
442
446
  private http;
@@ -444,7 +448,7 @@ export declare class SystemHealthDashboardClient extends AuthorizedApiBase imple
444
448
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
445
449
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
446
450
  });
447
- getMachineDataHealth(assetId: number | null | undefined): Promise<DataHealthDto>;
451
+ getMachineDataHealth(assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<DataHealthDto>;
448
452
  protected processGetMachineDataHealth(response: Response): Promise<DataHealthDto>;
449
453
  }
450
454
  export interface IPowerClient {
@@ -490,12 +494,12 @@ export declare class SustainabilityClient extends AuthorizedApiBase implements I
490
494
  protected processCreateCustomerOrderLineGhgReport(response: Response): Promise<DownloadDto>;
491
495
  }
492
496
  export interface IMachineAlarmsClient {
493
- listMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined): Promise<PagedResultOfMachineAlarmDto>;
497
+ listMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | null | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined, assetExternalId: string | null | undefined): Promise<PagedResultOfMachineAlarmDto>;
494
498
  listGroupedMachineIncidents(request: ListGroupedMachineIncidentsRequest): Promise<PagedResultOfGroupedMachineIncidentDto>;
495
499
  listAlarmsPerMachine(startTime: Date | undefined, endTime: Date | null | undefined): Promise<MachineAlarmSummaryDto[]>;
496
500
  listAlarmSeverityOccurrences(startTime: Date | undefined, endTime: Date | null | undefined): Promise<MachineAlarmSeverityOccurenceDto[]>;
497
- countMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined): Promise<MachineAlarmCountDto>;
498
- getMachineAlarmDetails(id: number): Promise<MachineAlarmDetailsDto>;
501
+ countMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | null | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, assetExternalId: string | null | undefined): Promise<MachineAlarmCountDto>;
502
+ getMachineAlarmDetails(id: string): Promise<MachineAlarmDetailsDto>;
499
503
  }
500
504
  export declare class MachineAlarmsClient extends AuthorizedApiBase implements IMachineAlarmsClient {
501
505
  private http;
@@ -503,7 +507,7 @@ export declare class MachineAlarmsClient extends AuthorizedApiBase implements IM
503
507
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
504
508
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
505
509
  });
506
- listMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined): Promise<PagedResultOfMachineAlarmDto>;
510
+ listMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | null | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined, assetExternalId: string | null | undefined): Promise<PagedResultOfMachineAlarmDto>;
507
511
  protected processListMachineAlarms(response: Response): Promise<PagedResultOfMachineAlarmDto>;
508
512
  listGroupedMachineIncidents(request: ListGroupedMachineIncidentsRequest): Promise<PagedResultOfGroupedMachineIncidentDto>;
509
513
  protected processListGroupedMachineIncidents(response: Response): Promise<PagedResultOfGroupedMachineIncidentDto>;
@@ -511,9 +515,9 @@ export declare class MachineAlarmsClient extends AuthorizedApiBase implements IM
511
515
  protected processListAlarmsPerMachine(response: Response): Promise<MachineAlarmSummaryDto[]>;
512
516
  listAlarmSeverityOccurrences(startTime: Date | undefined, endTime: Date | null | undefined): Promise<MachineAlarmSeverityOccurenceDto[]>;
513
517
  protected processListAlarmSeverityOccurrences(response: Response): Promise<MachineAlarmSeverityOccurenceDto[]>;
514
- countMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined): Promise<MachineAlarmCountDto>;
518
+ countMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | null | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, assetExternalId: string | null | undefined): Promise<MachineAlarmCountDto>;
515
519
  protected processCountMachineAlarms(response: Response): Promise<MachineAlarmCountDto>;
516
- getMachineAlarmDetails(id: number): Promise<MachineAlarmDetailsDto>;
520
+ getMachineAlarmDetails(id: string): Promise<MachineAlarmDetailsDto>;
517
521
  protected processGetMachineAlarmDetails(response: Response): Promise<MachineAlarmDetailsDto>;
518
522
  }
519
523
  export interface IDowntimeReasonsAdminResourceClient {
@@ -554,11 +558,11 @@ export declare class DowntimeReasonsAdminResourceClient extends AuthorizedApiBas
554
558
  }
555
559
  export interface IDowntimeReasonsResourceClient {
556
560
  createDowntimePeriodReason(request: CreateDowntimePeriodReason): Promise<DowntimePeriodReasonDto>;
557
- updateDowntimePeriodReason(id: number, request: IgnosPortalControllersResourcesApiModelsUpdateDowntimePeriodReasonRequest): Promise<DowntimePeriodReasonDto>;
558
- deleteDowntimeReason(id: number): Promise<void>;
559
- listDowntimeReasonsForMachine(id: number): Promise<DowntimeReasonResourceDto[]>;
560
- listDowntimeReasonsHierarchyForMachine(id: number): Promise<ParentTopicResourceDto[]>;
561
- listActiveDowntimeReasonsForMachine(id: number): Promise<DowntimePeriodReasonDto[]>;
561
+ updateDowntimePeriodReason(id: string, request: IgnosPortalControllersResourcesApiModelsUpdateDowntimePeriodReasonRequest): Promise<DowntimePeriodReasonDto>;
562
+ deleteDowntimeReason(id: string): Promise<void>;
563
+ listDowntimeReasonsForMachine(id: string): Promise<DowntimeReasonResourceDto[]>;
564
+ listDowntimeReasonsHierarchyForMachine(id: string): Promise<ParentTopicResourceDto[]>;
565
+ listActiveDowntimeReasonsForMachine(id: string): Promise<DowntimePeriodReasonDto[]>;
562
566
  listTopDowntimeReasons(start: Date | null | undefined, end: Date | null | undefined): Promise<TopDowntimeReasonsDto>;
563
567
  listTopDowntimeReasonsForResources(request: IgnosPortalControllersResourcesApiModelsListTopDowntimeReasonsForResourcesRequest): Promise<TopDowntimeReasonsDto>;
564
568
  createReport(request: IgnosPortalControllersResourcesApiModelsCreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportResourceDto>;
@@ -572,15 +576,15 @@ export declare class DowntimeReasonsResourceClient extends AuthorizedApiBase imp
572
576
  });
573
577
  createDowntimePeriodReason(request: CreateDowntimePeriodReason): Promise<DowntimePeriodReasonDto>;
574
578
  protected processCreateDowntimePeriodReason(response: Response): Promise<DowntimePeriodReasonDto>;
575
- updateDowntimePeriodReason(id: number, request: IgnosPortalControllersResourcesApiModelsUpdateDowntimePeriodReasonRequest): Promise<DowntimePeriodReasonDto>;
579
+ updateDowntimePeriodReason(id: string, request: IgnosPortalControllersResourcesApiModelsUpdateDowntimePeriodReasonRequest): Promise<DowntimePeriodReasonDto>;
576
580
  protected processUpdateDowntimePeriodReason(response: Response): Promise<DowntimePeriodReasonDto>;
577
- deleteDowntimeReason(id: number): Promise<void>;
581
+ deleteDowntimeReason(id: string): Promise<void>;
578
582
  protected processDeleteDowntimeReason(response: Response): Promise<void>;
579
- listDowntimeReasonsForMachine(id: number): Promise<DowntimeReasonResourceDto[]>;
583
+ listDowntimeReasonsForMachine(id: string): Promise<DowntimeReasonResourceDto[]>;
580
584
  protected processListDowntimeReasonsForMachine(response: Response): Promise<DowntimeReasonResourceDto[]>;
581
- listDowntimeReasonsHierarchyForMachine(id: number): Promise<ParentTopicResourceDto[]>;
585
+ listDowntimeReasonsHierarchyForMachine(id: string): Promise<ParentTopicResourceDto[]>;
582
586
  protected processListDowntimeReasonsHierarchyForMachine(response: Response): Promise<ParentTopicResourceDto[]>;
583
- listActiveDowntimeReasonsForMachine(id: number): Promise<DowntimePeriodReasonDto[]>;
587
+ listActiveDowntimeReasonsForMachine(id: string): Promise<DowntimePeriodReasonDto[]>;
584
588
  protected processListActiveDowntimeReasonsForMachine(response: Response): Promise<DowntimePeriodReasonDto[]>;
585
589
  listTopDowntimeReasons(start: Date | null | undefined, end: Date | null | undefined): Promise<TopDowntimeReasonsDto>;
586
590
  protected processListTopDowntimeReasons(response: Response): Promise<TopDowntimeReasonsDto>;
@@ -672,13 +676,13 @@ export interface IResourcesClient {
672
676
  createResourceGroup(request: CreateResourceGroup): Promise<CreateResourceGroupResponse>;
673
677
  updateResourceGroup(id: string, request: UpdateResourceGroup): Promise<void>;
674
678
  deleteResourceGroup(id: string): Promise<void>;
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>;
679
+ listCurrentMachineStates(assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
680
+ listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
681
+ listLastDowntimeMachineStates(id: string, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
682
+ getMachineStateWithDowntimePeriods(id: string, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
683
+ getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
680
684
  listResourceErpData(): Promise<ResourceErpDataListDto>;
681
- getResourceErpData(id: number): Promise<ResourceErpDataDto>;
685
+ getResourceErpData(id: string): Promise<ResourceErpDataDto>;
682
686
  getResourceUtilizationSummary(): Promise<ResourceUtilizationSummaryDto>;
683
687
  getCrossCompanyUtilizationSummary(): Promise<CrossCompanyResourceUtilizationSummaryDto>;
684
688
  listCurrentResourceOperators(resourceExternalId: string | null | undefined, operatorNameQuery: string | null | undefined): Promise<OperatorAndMachineDto[]>;
@@ -686,7 +690,7 @@ export interface IResourcesClient {
686
690
  createResourceWithoutMachine(request: CreateResourceWithoutMachine): Promise<void>;
687
691
  createResourceWithResource(request: CreateResourceWithMachine): Promise<void>;
688
692
  createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
689
- deleteMachine(id: number): Promise<void>;
693
+ deleteMachine(id: string): Promise<void>;
690
694
  /**
691
695
  * @deprecated
692
696
  */
@@ -709,19 +713,19 @@ export declare class ResourcesClient extends AuthorizedApiBase implements IResou
709
713
  protected processUpdateResourceGroup(response: Response): Promise<void>;
710
714
  deleteResourceGroup(id: string): Promise<void>;
711
715
  protected processDeleteResourceGroup(response: Response): Promise<void>;
712
- listCurrentMachineStates(assetId: number | null | undefined): Promise<MachineStateListDto>;
716
+ listCurrentMachineStates(assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
713
717
  protected processListCurrentMachineStates(response: Response): Promise<MachineStateListDto>;
714
- listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
718
+ listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
715
719
  protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
716
- listLastDowntimeMachineStates(id: number, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
720
+ listLastDowntimeMachineStates(id: string, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
717
721
  protected processListLastDowntimeMachineStates(response: Response): Promise<DowntimeMachineStateDto[]>;
718
- getMachineStateWithDowntimePeriods(id: number, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
722
+ getMachineStateWithDowntimePeriods(id: string, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
719
723
  protected processGetMachineStateWithDowntimePeriods(response: Response): Promise<DowntimeMachineStateDto>;
720
- getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
724
+ getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
721
725
  protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
722
726
  listResourceErpData(): Promise<ResourceErpDataListDto>;
723
727
  protected processListResourceErpData(response: Response): Promise<ResourceErpDataListDto>;
724
- getResourceErpData(id: number): Promise<ResourceErpDataDto>;
728
+ getResourceErpData(id: string): Promise<ResourceErpDataDto>;
725
729
  protected processGetResourceErpData(response: Response): Promise<ResourceErpDataDto>;
726
730
  getResourceUtilizationSummary(): Promise<ResourceUtilizationSummaryDto>;
727
731
  protected processGetResourceUtilizationSummary(response: Response): Promise<ResourceUtilizationSummaryDto>;
@@ -737,7 +741,7 @@ export declare class ResourcesClient extends AuthorizedApiBase implements IResou
737
741
  protected processCreateResourceWithResource(response: Response): Promise<void>;
738
742
  createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
739
743
  protected processCreateResourceInResourceGroup(response: Response): Promise<void>;
740
- deleteMachine(id: number): Promise<void>;
744
+ deleteMachine(id: string): Promise<void>;
741
745
  protected processDeleteMachine(response: Response): Promise<void>;
742
746
  /**
743
747
  * @deprecated
@@ -788,10 +792,6 @@ export interface IPulseJournalClient {
788
792
  editNowLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalNowLineMutationResultDto>;
789
793
  deleteNowLine(resourceId: string, lineId: string, eTag: string | null | undefined): Promise<PulseJournalNowLineMutationResultDto>;
790
794
  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,14 +821,6 @@ 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>;
832
824
  createAlwaysLine(resourceId: string, request: CreatePulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
833
825
  protected processCreateAlwaysLine(response: Response): Promise<PulseJournalAlwaysLineMutationResultDto>;
834
826
  editAlwaysLine(resourceId: string, lineId: string, request: EditPulseJournalLineRequest): Promise<PulseJournalAlwaysLineMutationResultDto>;
@@ -1336,11 +1328,11 @@ export declare class DowntimeReasonsAdminClient extends AuthorizedApiBase implem
1336
1328
  }
1337
1329
  export interface IDowntimeReasonsClient {
1338
1330
  createDowntimePeriodReason(request: CreateDowntimePeriodReason): Promise<DowntimePeriodReasonDto>;
1339
- updateDowntimePeriodReason(id: number, request: UpdateDowntimePeriodReasonRequest): Promise<DowntimePeriodReasonDto>;
1340
- deleteDowntimeReason(id: number): Promise<void>;
1341
- listDowntimeReasonsForMachine(id: number): Promise<DowntimeReasonDto[]>;
1342
- listDowntimeReasonsHierarchyForMachine(id: number): Promise<ParentTopicDto[]>;
1343
- listActiveDowntimeReasonsForMachine(id: number): Promise<DowntimePeriodReasonDto[]>;
1331
+ updateDowntimePeriodReason(id: string, request: UpdateDowntimePeriodReasonRequest): Promise<DowntimePeriodReasonDto>;
1332
+ deleteDowntimeReason(id: string): Promise<void>;
1333
+ listDowntimeReasonsForMachine(id: string): Promise<DowntimeReasonDto[]>;
1334
+ listDowntimeReasonsHierarchyForMachine(id: string): Promise<ParentTopicDto[]>;
1335
+ listActiveDowntimeReasonsForMachine(id: string): Promise<DowntimePeriodReasonDto[]>;
1344
1336
  listTopDowntimeReasons(start: Date | null | undefined, end: Date | null | undefined): Promise<TopDowntimeReasonsDto>;
1345
1337
  listTopDowntimeReasonsForResources(request: ListTopDowntimeReasonsForResourcesRequest): Promise<TopDowntimeReasonsDto>;
1346
1338
  createReport(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportDto>;
@@ -1354,15 +1346,15 @@ export declare class DowntimeReasonsClient extends AuthorizedApiBase implements
1354
1346
  });
1355
1347
  createDowntimePeriodReason(request: CreateDowntimePeriodReason): Promise<DowntimePeriodReasonDto>;
1356
1348
  protected processCreateDowntimePeriodReason(response: Response): Promise<DowntimePeriodReasonDto>;
1357
- updateDowntimePeriodReason(id: number, request: UpdateDowntimePeriodReasonRequest): Promise<DowntimePeriodReasonDto>;
1349
+ updateDowntimePeriodReason(id: string, request: UpdateDowntimePeriodReasonRequest): Promise<DowntimePeriodReasonDto>;
1358
1350
  protected processUpdateDowntimePeriodReason(response: Response): Promise<DowntimePeriodReasonDto>;
1359
- deleteDowntimeReason(id: number): Promise<void>;
1351
+ deleteDowntimeReason(id: string): Promise<void>;
1360
1352
  protected processDeleteDowntimeReason(response: Response): Promise<void>;
1361
- listDowntimeReasonsForMachine(id: number): Promise<DowntimeReasonDto[]>;
1353
+ listDowntimeReasonsForMachine(id: string): Promise<DowntimeReasonDto[]>;
1362
1354
  protected processListDowntimeReasonsForMachine(response: Response): Promise<DowntimeReasonDto[]>;
1363
- listDowntimeReasonsHierarchyForMachine(id: number): Promise<ParentTopicDto[]>;
1355
+ listDowntimeReasonsHierarchyForMachine(id: string): Promise<ParentTopicDto[]>;
1364
1356
  protected processListDowntimeReasonsHierarchyForMachine(response: Response): Promise<ParentTopicDto[]>;
1365
- listActiveDowntimeReasonsForMachine(id: number): Promise<DowntimePeriodReasonDto[]>;
1357
+ listActiveDowntimeReasonsForMachine(id: string): Promise<DowntimePeriodReasonDto[]>;
1366
1358
  protected processListActiveDowntimeReasonsForMachine(response: Response): Promise<DowntimePeriodReasonDto[]>;
1367
1359
  listTopDowntimeReasons(start: Date | null | undefined, end: Date | null | undefined): Promise<TopDowntimeReasonsDto>;
1368
1360
  protected processListTopDowntimeReasons(response: Response): Promise<TopDowntimeReasonsDto>;
@@ -1424,19 +1416,19 @@ export interface IMachinesClient {
1424
1416
  createMachineGroup(request: CreateMachineGroup): Promise<CreateMachineGroupResponse>;
1425
1417
  updateMachineGroup(id: string, request: UpdateMachineGroup): Promise<void>;
1426
1418
  deleteMachineGroup(id: string): Promise<void>;
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>;
1419
+ listCurrentMachineStates(assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
1420
+ listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
1421
+ listLastDowntimeMachineStates(id: string, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
1422
+ getMachineStateWithDowntimePeriods(id: string, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
1423
+ getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
1432
1424
  listMachineErpData(): Promise<MachineErpDataListDto>;
1433
- getMachineErpData(id: number): Promise<MachineErpDataDto>;
1425
+ getMachineErpData(id: string): Promise<MachineErpDataDto>;
1434
1426
  /**
1435
1427
  * @param startTime (optional)
1436
1428
  * @param endTime (optional)
1437
1429
  * @deprecated
1438
1430
  */
1439
- getWorkOrderTimeline(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<WorkOrderDatapoint[]>;
1431
+ getWorkOrderTimeline(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<WorkOrderDatapoint[]>;
1440
1432
  getMachineUtilizationSummary(): Promise<UtilizationSummaryDto>;
1441
1433
  getCrossCompanyUtilizationSummary(): Promise<CrossCompanyUtilizationSummaryDto>;
1442
1434
  listCurrentMachineOperators(machineExternalId: string | null | undefined, operatorNameQuery: string | null | undefined): Promise<OperatorAndMachineDto[]>;
@@ -1444,7 +1436,7 @@ export interface IMachinesClient {
1444
1436
  createResourceWithoutMachine(request: CreateResourceWithoutMachine): Promise<void>;
1445
1437
  createResourceWithMachine(request: CreateResourceWithMachine): Promise<void>;
1446
1438
  createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
1447
- deleteMachine(id: number): Promise<void>;
1439
+ deleteMachine(id: string): Promise<void>;
1448
1440
  }
1449
1441
  export declare class MachinesClient extends AuthorizedApiBase implements IMachinesClient {
1450
1442
  private http;
@@ -1462,26 +1454,26 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
1462
1454
  protected processUpdateMachineGroup(response: Response): Promise<void>;
1463
1455
  deleteMachineGroup(id: string): Promise<void>;
1464
1456
  protected processDeleteMachineGroup(response: Response): Promise<void>;
1465
- listCurrentMachineStates(assetId: number | null | undefined): Promise<MachineStateListDto>;
1457
+ listCurrentMachineStates(assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
1466
1458
  protected processListCurrentMachineStates(response: Response): Promise<MachineStateListDto>;
1467
- listMachineStates(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
1459
+ listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
1468
1460
  protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
1469
- listLastDowntimeMachineStates(id: number, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
1461
+ listLastDowntimeMachineStates(id: string, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
1470
1462
  protected processListLastDowntimeMachineStates(response: Response): Promise<DowntimeMachineStateDto[]>;
1471
- getMachineStateWithDowntimePeriods(id: number, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
1463
+ getMachineStateWithDowntimePeriods(id: string, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
1472
1464
  protected processGetMachineStateWithDowntimePeriods(response: Response): Promise<DowntimeMachineStateDto>;
1473
- getMachineStatesSummary(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
1465
+ getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
1474
1466
  protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
1475
1467
  listMachineErpData(): Promise<MachineErpDataListDto>;
1476
1468
  protected processListMachineErpData(response: Response): Promise<MachineErpDataListDto>;
1477
- getMachineErpData(id: number): Promise<MachineErpDataDto>;
1469
+ getMachineErpData(id: string): Promise<MachineErpDataDto>;
1478
1470
  protected processGetMachineErpData(response: Response): Promise<MachineErpDataDto>;
1479
1471
  /**
1480
1472
  * @param startTime (optional)
1481
1473
  * @param endTime (optional)
1482
1474
  * @deprecated
1483
1475
  */
1484
- getWorkOrderTimeline(id: number, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<WorkOrderDatapoint[]>;
1476
+ getWorkOrderTimeline(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<WorkOrderDatapoint[]>;
1485
1477
  protected processGetWorkOrderTimeline(response: Response): Promise<WorkOrderDatapoint[]>;
1486
1478
  getMachineUtilizationSummary(): Promise<UtilizationSummaryDto>;
1487
1479
  protected processGetMachineUtilizationSummary(response: Response): Promise<UtilizationSummaryDto>;
@@ -1497,13 +1489,13 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
1497
1489
  protected processCreateResourceWithMachine(response: Response): Promise<void>;
1498
1490
  createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
1499
1491
  protected processCreateResourceInResourceGroup(response: Response): Promise<void>;
1500
- deleteMachine(id: number): Promise<void>;
1492
+ deleteMachine(id: string): Promise<void>;
1501
1493
  protected processDeleteMachine(response: Response): Promise<void>;
1502
1494
  }
1503
1495
  export interface IMachineDataClient {
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>;
1496
+ getLiveMachineData(assetId: string, externalIds: string[] | undefined): Promise<LiveMachineDataDto>;
1497
+ getTimeseriesGraph(assetId: string, externalIds: string[] | undefined, startTime: Date | undefined, endTime: Date | undefined): Promise<TimeseriesGraphDto>;
1498
+ exportTimeseriesGraph(assetId: string, request: ExportTimeseriesGraphRequest): Promise<DownloadDto>;
1507
1499
  }
1508
1500
  export declare class MachineDataClient extends AuthorizedApiBase implements IMachineDataClient {
1509
1501
  private http;
@@ -1511,11 +1503,11 @@ export declare class MachineDataClient extends AuthorizedApiBase implements IMac
1511
1503
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1512
1504
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1513
1505
  });
1514
- getLiveMachineData(assetId: number, externalIds: string[] | undefined): Promise<LiveMachineDataDto>;
1506
+ getLiveMachineData(assetId: string, externalIds: string[] | undefined): Promise<LiveMachineDataDto>;
1515
1507
  protected processGetLiveMachineData(response: Response): Promise<LiveMachineDataDto>;
1516
- getTimeseriesGraph(assetId: number, externalIds: string[] | undefined, startTime: Date | undefined, endTime: Date | undefined): Promise<TimeseriesGraphDto>;
1508
+ getTimeseriesGraph(assetId: string, externalIds: string[] | undefined, startTime: Date | undefined, endTime: Date | undefined): Promise<TimeseriesGraphDto>;
1517
1509
  protected processGetTimeseriesGraph(response: Response): Promise<TimeseriesGraphDto>;
1518
- exportTimeseriesGraph(assetId: number, request: ExportTimeseriesGraphRequest): Promise<DownloadDto>;
1510
+ exportTimeseriesGraph(assetId: string, request: ExportTimeseriesGraphRequest): Promise<DownloadDto>;
1519
1511
  protected processExportTimeseriesGraph(response: Response): Promise<DownloadDto>;
1520
1512
  }
1521
1513
  export interface ILinksClient {
@@ -2061,9 +2053,9 @@ export interface IAssetsClient {
2061
2053
  listAssets(externalIdprefix: string | null | undefined, name: string | null | undefined, source: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfAssetDto>;
2062
2054
  createAsset(createAsset: CreateAsset): Promise<AssetDto>;
2063
2055
  searchAssets(name: string | null | undefined, description: string | null | undefined, limit: number | undefined): Promise<AssetDto[]>;
2064
- getAssetById(id: number): Promise<AssetDto>;
2065
- updateAsset(id: number, request: UpdateAssetRequest): Promise<AssetDto>;
2066
- getAssetStructureById(id: number): Promise<AssetStructureDto>;
2056
+ getAssetById(id: string): Promise<AssetDto>;
2057
+ updateAsset(id: string, request: UpdateAssetRequest): Promise<AssetDto>;
2058
+ getAssetStructureById(id: string): Promise<AssetStructureDto>;
2067
2059
  /**
2068
2060
  * @deprecated
2069
2061
  */
@@ -2081,11 +2073,11 @@ export declare class AssetsClient extends AuthorizedApiBase implements IAssetsCl
2081
2073
  protected processCreateAsset(response: Response): Promise<AssetDto>;
2082
2074
  searchAssets(name: string | null | undefined, description: string | null | undefined, limit: number | undefined): Promise<AssetDto[]>;
2083
2075
  protected processSearchAssets(response: Response): Promise<AssetDto[]>;
2084
- getAssetById(id: number): Promise<AssetDto>;
2076
+ getAssetById(id: string): Promise<AssetDto>;
2085
2077
  protected processGetAssetById(response: Response): Promise<AssetDto>;
2086
- updateAsset(id: number, request: UpdateAssetRequest): Promise<AssetDto>;
2078
+ updateAsset(id: string, request: UpdateAssetRequest): Promise<AssetDto>;
2087
2079
  protected processUpdateAsset(response: Response): Promise<AssetDto>;
2088
- getAssetStructureById(id: number): Promise<AssetStructureDto>;
2080
+ getAssetStructureById(id: string): Promise<AssetStructureDto>;
2089
2081
  protected processGetAssetStructureById(response: Response): Promise<AssetStructureDto>;
2090
2082
  /**
2091
2083
  * @deprecated
@@ -3123,6 +3115,7 @@ export interface IMeasurementFormSchemasAdminClient {
3123
3115
  */
3124
3116
  uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
3125
3117
  uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
3118
+ deleteMeasurementFormSchemaFile(id: string, slot: SchemaFileSlot): Promise<void>;
3126
3119
  getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
3127
3120
  listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
3128
3121
  postListLinkableMeasurementFormSchemas(request: ListLinkableMeasurementFormSchemasRequest): Promise<PagedResultOfMeasurementFormListDto>;
@@ -3213,6 +3206,8 @@ export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase
3213
3206
  protected processUploadSchemaDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
3214
3207
  uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
3215
3208
  protected processUploadSchemaAttachment(response: Response): Promise<MeasurementFormSchemaDto>;
3209
+ deleteMeasurementFormSchemaFile(id: string, slot: SchemaFileSlot): Promise<void>;
3210
+ protected processDeleteMeasurementFormSchemaFile(response: Response): Promise<void>;
3216
3211
  getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
3217
3212
  protected processGetMeasurementFormImportStatus(response: Response): Promise<MeasurementFormImportStatusDto>;
3218
3213
  listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
@@ -3311,6 +3306,7 @@ export interface IMeasurementFormSchemasClient {
3311
3306
  getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
3312
3307
  postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormSchemaOverviewDto>;
3313
3308
  postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto>;
3309
+ listMeasurementFormSchemaFiles(id: string): Promise<MeasurementFormSchemaFileDto[]>;
3314
3310
  listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]>;
3315
3311
  listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]>;
3316
3312
  listMeasurementFormSchemaVersionChanges(id: string): Promise<MeasurementFormSchemaVersionChangesDto[]>;
@@ -3340,6 +3336,8 @@ export declare class MeasurementFormSchemasClient extends AuthorizedApiBase impl
3340
3336
  protected processPostListMeasurementFormSchemas(response: Response): Promise<PagedResultOfMeasurementFormSchemaOverviewDto>;
3341
3337
  postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto>;
3342
3338
  protected processPostCountMeasurementFormSchemas(response: Response): Promise<MeasurementFormSchemaCountsDto>;
3339
+ listMeasurementFormSchemaFiles(id: string): Promise<MeasurementFormSchemaFileDto[]>;
3340
+ protected processListMeasurementFormSchemaFiles(response: Response): Promise<MeasurementFormSchemaFileDto[]>;
3343
3341
  listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]>;
3344
3342
  protected processListMeasurementFormSchemaVersions(response: Response): Promise<MeasurementFormSchemaVersionDto[]>;
3345
3343
  listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]>;
@@ -3989,6 +3987,7 @@ export interface UtilizationListDto {
3989
3987
  }
3990
3988
  export interface MachineUtilizationDto {
3991
3989
  assetId: number;
3990
+ assetExternalId: string;
3992
3991
  name: string;
3993
3992
  description?: string | null;
3994
3993
  state: string;
@@ -4030,6 +4029,7 @@ export interface PowerOnUtilizationDto extends UtilizationAveragesDto {
4030
4029
  }
4031
4030
  export interface UtilizationDetailsDto {
4032
4031
  machineId: number;
4032
+ machineExternalId: string;
4033
4033
  machineName: string;
4034
4034
  machineStateText?: string | null;
4035
4035
  machineState?: MachineState | null;
@@ -4059,6 +4059,7 @@ export interface MachineStateDatapoint {
4059
4059
  }
4060
4060
  export interface DowntimePeriodReasonDto {
4061
4061
  id: number;
4062
+ externalId: string;
4062
4063
  reason: string;
4063
4064
  parentReasonId?: string | null;
4064
4065
  categoryId?: string | null;
@@ -4068,6 +4069,7 @@ export interface DowntimePeriodReasonDto {
4068
4069
  startTime: Date;
4069
4070
  endTime?: Date | null;
4070
4071
  assetId: number;
4072
+ assetExternalId?: string | null;
4071
4073
  comment: string | null;
4072
4074
  companyId: string | null;
4073
4075
  reasonId: string;
@@ -4144,6 +4146,7 @@ export interface ResourceUtilizationListDto {
4144
4146
  }
4145
4147
  export interface ResourceUtilizationDto {
4146
4148
  assetId: number;
4149
+ assetExternalId: string;
4147
4150
  name: string;
4148
4151
  description?: string | null;
4149
4152
  state: string;
@@ -4154,6 +4157,7 @@ export interface ResourceUtilizationDto {
4154
4157
  }
4155
4158
  export interface ResourceUtilizationDetailsDto {
4156
4159
  resourceId: number;
4160
+ resourceExternalId: string;
4157
4161
  resourceName: string;
4158
4162
  machineStateText?: string | null;
4159
4163
  machineState?: MachineState | null;
@@ -4242,6 +4246,7 @@ export interface UploadInfoDto {
4242
4246
  }
4243
4247
  export interface UploadInfoCdfDto {
4244
4248
  id: number;
4249
+ externalId: string;
4245
4250
  url: string;
4246
4251
  }
4247
4252
  export interface CreateUploadInfoCdf {
@@ -4252,6 +4257,7 @@ export interface DataHealthDto {
4252
4257
  }
4253
4258
  export interface MachineDataHealthDto {
4254
4259
  assetId: number;
4260
+ assetExternalId: string;
4255
4261
  name: string;
4256
4262
  description?: string | null;
4257
4263
  state?: string | null;
@@ -4269,6 +4275,7 @@ export interface PowerRegionDto {
4269
4275
  }
4270
4276
  export interface ConsumptionDto {
4271
4277
  assetId: number;
4278
+ assetExternalId: string;
4272
4279
  assetName: string;
4273
4280
  kwh: number;
4274
4281
  co2Equivalent?: number | null;
@@ -4277,15 +4284,18 @@ export interface ConsumptionDto {
4277
4284
  }
4278
4285
  export interface AssetConsumptionDto {
4279
4286
  timeseriesId: number;
4287
+ timeseriesExternalId?: string | null;
4280
4288
  timeseriesName: string;
4281
4289
  kwh: number;
4282
4290
  assetId: number;
4291
+ assetExternalId?: string | null;
4283
4292
  assetName: string;
4284
4293
  co2Equivalent?: number | null;
4285
4294
  co2EquivalentNotAdjustedForLocalProduction?: number | null;
4286
4295
  }
4287
4296
  export interface GetConsumption {
4288
4297
  assetId?: number | null;
4298
+ assetExternalId?: string | null;
4289
4299
  start?: Date | null;
4290
4300
  end?: Date | null;
4291
4301
  }
@@ -4295,8 +4305,10 @@ export interface PowerDto {
4295
4305
  }
4296
4306
  export interface AssetPowerDto {
4297
4307
  timeseriesId?: number;
4308
+ timeseriesExternalId?: string | null;
4298
4309
  timeseriesName?: string | null;
4299
4310
  assetId?: number;
4311
+ assetExternalId?: string | null;
4300
4312
  assetName?: string | null;
4301
4313
  timeSeriesDataPoints?: NumericDataPointDto[] | null;
4302
4314
  }
@@ -4308,7 +4320,8 @@ export interface NumericDataPointDto {
4308
4320
  max?: number | null;
4309
4321
  }
4310
4322
  export interface GetPower {
4311
- assetId: number;
4323
+ assetId?: number | null;
4324
+ assetExternalId?: string | null;
4312
4325
  granularity?: string | null;
4313
4326
  start?: Date | null;
4314
4327
  end?: Date | null;
@@ -4361,6 +4374,7 @@ export interface PagedResultOfMachineAlarmDto {
4361
4374
  export interface MachineAlarmDto {
4362
4375
  alarmType: MachineAlarmType;
4363
4376
  id: number;
4377
+ externalId: string;
4364
4378
  type: string;
4365
4379
  subType: string;
4366
4380
  description?: string | null;
@@ -4380,13 +4394,14 @@ export interface GroupedMachineIncidentDto extends MachineAlarmDto {
4380
4394
  incidents: MachineAlarmDto[];
4381
4395
  }
4382
4396
  export interface ListGroupedMachineIncidentsRequest {
4383
- assetId: number;
4397
+ assetId?: number | null;
4384
4398
  startTime: Date;
4385
4399
  endTime?: Date | null;
4386
4400
  nativeCode?: string | null;
4387
4401
  alarmType?: MachineAlarmType | null;
4388
4402
  limit?: number | null;
4389
4403
  continuationToken?: string | null;
4404
+ assetExternalId?: string | null;
4390
4405
  }
4391
4406
  export interface MachineAlarmSummaryDto {
4392
4407
  assetId: number;
@@ -4410,6 +4425,7 @@ export interface MachineAlarmCountDto {
4410
4425
  }
4411
4426
  export interface MachineAlarmDetailsDto {
4412
4427
  id: number;
4428
+ externalId: string;
4413
4429
  startTime: Date;
4414
4430
  endTime?: Date | null;
4415
4431
  nativeCode?: string | null;
@@ -4493,7 +4509,8 @@ export interface IgnosPortalControllersResourcesApiModelsUpdateParentTopicReques
4493
4509
  }
4494
4510
  export interface CreateDowntimePeriodReason {
4495
4511
  reasonId: string;
4496
- assetId: number;
4512
+ assetId?: number | null;
4513
+ assetExternalId?: string | null;
4497
4514
  startTime: Date;
4498
4515
  endTime?: Date | null;
4499
4516
  autoCompleteDowntime?: boolean | null;
@@ -4505,6 +4522,7 @@ export interface CreateDowntimePeriodReason {
4505
4522
  export interface IgnosPortalControllersResourcesApiModelsUpdateDowntimePeriodReasonRequest {
4506
4523
  reasonId?: string | null;
4507
4524
  assetId?: number | null;
4525
+ assetExternalId?: string | null;
4508
4526
  startTime?: Date | null;
4509
4527
  endTime?: Date | null;
4510
4528
  autoCompleteDowntime?: boolean | null;
@@ -4774,6 +4792,7 @@ export interface MachineStateDto {
4774
4792
  state: string;
4775
4793
  machineState: MachineState;
4776
4794
  startTime: Date;
4795
+ assetExternalId: string;
4777
4796
  }
4778
4797
  export interface DowntimeMachineStateDto {
4779
4798
  datapoint: MachineStateDatapoint;
@@ -4790,6 +4809,7 @@ export interface SingleResourceErpDataListDto {
4790
4809
  activeOrders: ResourceErpDataDto[];
4791
4810
  lastActiveEvent?: WorkorderOperationEventDto | null;
4792
4811
  downtimePeriodReason?: DowntimePeriodReasonDto | null;
4812
+ assetExternalId: string;
4793
4813
  }
4794
4814
  export interface ResourceErpDataDto {
4795
4815
  workOrderId: string;
@@ -4895,6 +4915,7 @@ export interface ResourceGroupUtilizationDto {
4895
4915
  }
4896
4916
  export interface ResourceUtilizationV2Dto {
4897
4917
  id?: number;
4918
+ externalId: string;
4898
4919
  name: string;
4899
4920
  description?: string | null;
4900
4921
  utilization: UtilizationDto;
@@ -5005,7 +5026,7 @@ export interface PulseJournalBoardsDto {
5005
5026
  always: PulseJournalAlwaysBoardDto;
5006
5027
  }
5007
5028
  export interface PulseJournalNowBoardDto {
5008
- lines: PulseJournalNowLineDto[];
5029
+ lines: PulseJournalLineDto[];
5009
5030
  eTag?: string | null;
5010
5031
  }
5011
5032
  export interface PulseJournalLineDto {
@@ -5017,10 +5038,13 @@ export interface PulseJournalLineDto {
5017
5038
  updated?: Date | null;
5018
5039
  updatedBy?: string | null;
5019
5040
  }
5020
- export interface PulseJournalNowLineDto extends PulseJournalLineDto {
5021
- isPinned: boolean;
5022
- isImportant: boolean;
5041
+ export interface PulseJournalAlwaysBoardDto {
5042
+ lines: PulseJournalAlwaysLineDto[];
5043
+ eTag?: string | null;
5044
+ }
5045
+ export interface PulseJournalAlwaysLineDto extends PulseJournalLineDto {
5023
5046
  attachments: PulseJournalAttachmentDto[];
5047
+ links: PulseJournalLinkDto[];
5024
5048
  }
5025
5049
  export interface PulseJournalAttachmentDto {
5026
5050
  id: string;
@@ -5029,14 +5053,6 @@ export interface PulseJournalAttachmentDto {
5029
5053
  created: Date;
5030
5054
  createdBy?: string | null;
5031
5055
  }
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
- }
5040
5056
  export interface PulseJournalLinkDto {
5041
5057
  id: string;
5042
5058
  url: string;
@@ -5059,12 +5075,12 @@ export interface PulseJournalEventDto {
5059
5075
  createdBy?: string | null;
5060
5076
  }
5061
5077
  export type PulseJournalBoardTypeDto = "Now" | "Always" | "Unknown";
5062
- export type PulseJournalEventTypeDto = "LineAdded" | "LineEdited" | "LineMoved" | "LineRemoved" | "FixedInfoAdded" | "FixedInfoEdited" | "FixedInfoRemoved" | "AttachmentAdded" | "AttachmentRemoved" | "LinkAdded" | "LinkRemoved" | "LinePinned" | "LineUnpinned" | "LineMarkedImportant" | "LineUnmarkedImportant" | "Unknown";
5078
+ export type PulseJournalEventTypeDto = "LineAdded" | "LineEdited" | "LineMoved" | "LineRemoved" | "FixedInfoAdded" | "FixedInfoEdited" | "FixedInfoRemoved" | "AttachmentAdded" | "AttachmentRemoved" | "LinkAdded" | "LinkRemoved" | "Unknown";
5063
5079
  export interface UndoPulseJournalActionRequest {
5064
5080
  eventId: string;
5065
5081
  }
5066
5082
  export interface PulseJournalNowLineMutationResultDto {
5067
- line?: PulseJournalNowLineDto | null;
5083
+ line?: PulseJournalLineDto | null;
5068
5084
  boardETag: string;
5069
5085
  eventId?: string | null;
5070
5086
  }
@@ -5081,24 +5097,16 @@ export interface ReorderPulseJournalLineRequest {
5081
5097
  displayBeforeId?: string | null;
5082
5098
  eTag?: string | null;
5083
5099
  }
5084
- export interface SetPulseJournalLinePinnedRequest {
5085
- isPinned: boolean;
5086
- eTag?: string | null;
5087
- }
5088
- export interface SetPulseJournalLineImportantRequest {
5089
- isImportant: boolean;
5090
- eTag?: string | null;
5100
+ export interface PulseJournalAlwaysLineMutationResultDto {
5101
+ line?: PulseJournalAlwaysLineDto | null;
5102
+ boardETag: string;
5103
+ eventId?: string | null;
5091
5104
  }
5092
5105
  export interface AddPulseJournalAttachmentRequest {
5093
5106
  uploadKey: string;
5094
5107
  filename: string;
5095
5108
  eTag?: string | null;
5096
5109
  }
5097
- export interface PulseJournalAlwaysLineMutationResultDto {
5098
- line?: PulseJournalAlwaysLineDto | null;
5099
- boardETag: string;
5100
- eventId?: string | null;
5101
- }
5102
5110
  export interface AddPulseJournalLinkRequest {
5103
5111
  url: string;
5104
5112
  eTag?: string | null;
@@ -5127,6 +5135,7 @@ export interface ResourceGroupUtilizationV2Dto {
5127
5135
  }
5128
5136
  export interface ResourceUtilizationV3Dto {
5129
5137
  id?: number;
5138
+ externalId: string;
5130
5139
  name: string;
5131
5140
  description?: string | null;
5132
5141
  utilization: UtilizationDetailsV2Dto;
@@ -5161,6 +5170,7 @@ export interface MachineGroupUtilizationV2Dto {
5161
5170
  }
5162
5171
  export interface MachineUtilizationV3Dto {
5163
5172
  id?: number;
5173
+ externalId: string;
5164
5174
  name: string;
5165
5175
  description?: string | null;
5166
5176
  utilization: UtilizationDetailsV2Dto;
@@ -6045,6 +6055,7 @@ export interface UpdateParentTopicRequest {
6045
6055
  export interface UpdateDowntimePeriodReasonRequest {
6046
6056
  reasonId?: string | null;
6047
6057
  assetId?: number | null;
6058
+ assetExternalId?: string | null;
6048
6059
  startTime?: Date | null;
6049
6060
  endTime?: Date | null;
6050
6061
  autoCompleteDowntime?: boolean | null;
@@ -6162,6 +6173,7 @@ export interface SingleMachineErpDataListDto {
6162
6173
  activeOrders: MachineErpDataDto[];
6163
6174
  lastActiveEvent?: WorkorderOperationEventDto | null;
6164
6175
  downtimePeriodReason?: DowntimePeriodReasonDto | null;
6176
+ assetExternalId: string;
6165
6177
  }
6166
6178
  export interface MachineErpDataDto {
6167
6179
  workOrderId: string;
@@ -6191,6 +6203,7 @@ export interface MachineGroupUtilizationDto {
6191
6203
  }
6192
6204
  export interface MachineUtilizationV2Dto {
6193
6205
  id?: number;
6206
+ externalId: string;
6194
6207
  name: string;
6195
6208
  description?: string | null;
6196
6209
  utilization: UtilizationDto;
@@ -6202,6 +6215,7 @@ export interface CrossCompanyUtilizationSummaryDto {
6202
6215
  export interface LiveMachineDataDto {
6203
6216
  assetId?: number;
6204
6217
  dataPoints?: LiveMachineDataPointDto[];
6218
+ assetExternalId: string;
6205
6219
  }
6206
6220
  export interface LiveMachineDataPointDto {
6207
6221
  externalId?: string;
@@ -6212,6 +6226,7 @@ export interface LiveMachineDataPointDto {
6212
6226
  export interface TimeseriesGraphDto {
6213
6227
  assetId?: number;
6214
6228
  series?: TimeseriesGraphSeriesDto[];
6229
+ assetExternalId: string;
6215
6230
  }
6216
6231
  export interface TimeseriesGraphSeriesDto {
6217
6232
  externalId?: string;
@@ -7230,11 +7245,13 @@ export interface AssetDto {
7230
7245
  } | null;
7231
7246
  aggregates?: any | null;
7232
7247
  parentId?: number | null;
7248
+ parentExternalId?: string | null;
7233
7249
  source?: string | null;
7234
7250
  id?: number | null;
7235
7251
  createdTime?: number | null;
7236
7252
  lastUpdatedTime?: number | null;
7237
7253
  rootId?: number | null;
7254
+ rootExternalId?: string | null;
7238
7255
  }
7239
7256
  export interface AssetStructureDto {
7240
7257
  externalId?: string | null;
@@ -7251,7 +7268,8 @@ export interface AssetSimpleStructureDto {
7251
7268
  id?: number | null;
7252
7269
  }
7253
7270
  export interface CreateAsset {
7254
- parentId: number;
7271
+ parentId?: number | null;
7272
+ parentExternalId?: string | null;
7255
7273
  externalId: string;
7256
7274
  name: string;
7257
7275
  description: string;
@@ -7261,7 +7279,8 @@ export interface CreateAsset {
7261
7279
  source?: string | null;
7262
7280
  }
7263
7281
  export interface UpdateAssetRequest {
7264
- parentId: number;
7282
+ parentId?: number | null;
7283
+ parentExternalId?: string | null;
7265
7284
  name: string;
7266
7285
  description: string;
7267
7286
  metadata: {
@@ -9406,7 +9425,8 @@ export interface ProcessMaterialCertificate {
9406
9425
  purchaseOrderLine?: number | null;
9407
9426
  }
9408
9427
  export interface UploadFileCdfDto {
9409
- id: number;
9428
+ id?: number | null;
9429
+ externalId?: string | null;
9410
9430
  }
9411
9431
  export interface ImaMaterialCheckReportDto {
9412
9432
  file: FileDto;
@@ -9999,6 +10019,7 @@ export interface UploadRequest {
9999
10019
  filename: string;
10000
10020
  isMarkedDrawing?: boolean | null;
10001
10021
  }
10022
+ export type SchemaFileSlot = "Drawing" | "ProjectFile" | "MarkedDrawing" | "SourceFile";
10002
10023
  export interface MeasurementFormImportStatusDto {
10003
10024
  progress: number;
10004
10025
  totalElements: number;
@@ -10298,6 +10319,13 @@ export interface CountMeasurementFormSchemasRequest {
10298
10319
  withoutCustomer?: boolean | null;
10299
10320
  schemaCreator?: boolean | null;
10300
10321
  }
10322
+ export interface MeasurementFormSchemaFileDto {
10323
+ slot: SchemaFileSlot;
10324
+ title: string;
10325
+ url: string;
10326
+ size?: number | null;
10327
+ lastModified?: Date | null;
10328
+ }
10301
10329
  export interface MeasurementFormSchemaVersionDto {
10302
10330
  id: string;
10303
10331
  versionId: number;