@ignos/api-client 20261109.356.1-alpha → 20261110.357.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.
@@ -127,6 +127,7 @@ export declare class CustomersClient extends AuthorizedApiBase implements ICusto
127
127
  }
128
128
  export interface IGuestsClient {
129
129
  getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
130
+ getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
130
131
  }
131
132
  export declare class GuestsClient extends AuthorizedApiBase implements IGuestsClient {
132
133
  private http;
@@ -136,6 +137,8 @@ export declare class GuestsClient extends AuthorizedApiBase implements IGuestsCl
136
137
  });
137
138
  getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
138
139
  protected processGetGuestLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
140
+ getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
141
+ protected processGetSupplierLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
139
142
  }
140
143
  export interface IPresentationClient {
141
144
  getComponentSettings(componentId: string): Promise<ComponentSettingsDto>;
@@ -220,12 +223,13 @@ export interface IMachineUtilizationClient {
220
223
  time zone. The current utilization is calculated starting from the start of the current date offset from UTC
221
224
  by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
222
225
  client and server
223
- * @param assetExternalId (optional)
226
+ * @param assetId (optional)
224
227
  * @param favorites (optional)
225
228
  * @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
226
229
  * @param utcOffset (optional) Explicit UTC offset for start of today's utilization
230
+ * @param assetExternalId (optional)
227
231
  */
228
- getMachineUtilizations(assetExternalId: string | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<UtilizationListDto>;
232
+ getMachineUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined, assetExternalId: string | null | undefined): Promise<UtilizationListDto>;
229
233
  getMachineUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
230
234
  /**
231
235
  * @param startTime (optional)
@@ -237,7 +241,7 @@ export interface IMachineUtilizationClient {
237
241
  listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
238
242
  getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
239
243
  listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
240
- listPowerOnUtilizationDatapoints(externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
244
+ listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
241
245
  getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
242
246
  getProgramTimeline(id: string, startTime: Date | undefined, endTime: Date | undefined): Promise<ProgramDatapoint[]>;
243
247
  }
@@ -254,12 +258,13 @@ export declare class MachineUtilizationClient extends AuthorizedApiBase implemen
254
258
  time zone. The current utilization is calculated starting from the start of the current date offset from UTC
255
259
  by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
256
260
  client and server
257
- * @param assetExternalId (optional)
261
+ * @param assetId (optional)
258
262
  * @param favorites (optional)
259
263
  * @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
260
264
  * @param utcOffset (optional) Explicit UTC offset for start of today's utilization
265
+ * @param assetExternalId (optional)
261
266
  */
262
- getMachineUtilizations(assetExternalId: string | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<UtilizationListDto>;
267
+ getMachineUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined, assetExternalId: string | null | undefined): Promise<UtilizationListDto>;
263
268
  protected processGetMachineUtilizations(response: Response): Promise<UtilizationListDto>;
264
269
  getMachineUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
265
270
  protected processGetMachineUtilization(response: Response): Promise<UtilizationDetailsDto>;
@@ -278,7 +283,7 @@ export declare class MachineUtilizationClient extends AuthorizedApiBase implemen
278
283
  protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
279
284
  listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
280
285
  protected processListMachineUptimesToday(response: Response): Promise<MachineUptimesAggregateDto>;
281
- listPowerOnUtilizationDatapoints(externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
286
+ listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
282
287
  protected processListPowerOnUtilizationDatapoints(response: Response): Promise<PowerOnUtilizationList>;
283
288
  getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
284
289
  protected processGetFactoryUtilization(response: Response): Promise<PowerOnUtilizationDto>;
@@ -293,18 +298,19 @@ export interface IResourceUtilizationClient {
293
298
  time zone. The current utilization is calculated starting from the start of the current date offset from UTC
294
299
  by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
295
300
  client and server
296
- * @param assetExternalId (optional)
301
+ * @param assetId (optional)
297
302
  * @param favorites (optional)
298
303
  * @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
299
304
  * @param utcOffset (optional) Explicit UTC offset for start of today's utilization
305
+ * @param assetExternalId (optional)
300
306
  */
301
- getResourceUtilizations(assetExternalId: string | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<ResourceUtilizationListDto>;
307
+ getResourceUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined, assetExternalId: string | null | undefined): Promise<ResourceUtilizationListDto>;
302
308
  getResourceUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<ResourceUtilizationDetailsDto>;
303
309
  getResourceTimelines(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
304
310
  listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
305
311
  getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
306
312
  listResourceUptimesToday(request: ListResourceUptimesTodayRequest): Promise<ResourceUptimesAggregateDto>;
307
- listPowerOnUtilizationDatapoints(externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
313
+ listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
308
314
  getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
309
315
  getProgramTimeline(id: string, startTime: Date | undefined, endTime: Date | undefined): Promise<ProgramDatapoint[]>;
310
316
  }
@@ -321,12 +327,13 @@ export declare class ResourceUtilizationClient extends AuthorizedApiBase impleme
321
327
  time zone. The current utilization is calculated starting from the start of the current date offset from UTC
322
328
  by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
323
329
  client and server
324
- * @param assetExternalId (optional)
330
+ * @param assetId (optional)
325
331
  * @param favorites (optional)
326
332
  * @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
327
333
  * @param utcOffset (optional) Explicit UTC offset for start of today's utilization
334
+ * @param assetExternalId (optional)
328
335
  */
329
- getResourceUtilizations(assetExternalId: string | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<ResourceUtilizationListDto>;
336
+ getResourceUtilizations(assetId: number | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined, assetExternalId: string | null | undefined): Promise<ResourceUtilizationListDto>;
330
337
  protected processGetResourceUtilizations(response: Response): Promise<ResourceUtilizationListDto>;
331
338
  getResourceUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<ResourceUtilizationDetailsDto>;
332
339
  protected processGetResourceUtilization(response: Response): Promise<ResourceUtilizationDetailsDto>;
@@ -338,7 +345,7 @@ export declare class ResourceUtilizationClient extends AuthorizedApiBase impleme
338
345
  protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
339
346
  listResourceUptimesToday(request: ListResourceUptimesTodayRequest): Promise<ResourceUptimesAggregateDto>;
340
347
  protected processListResourceUptimesToday(response: Response): Promise<ResourceUptimesAggregateDto>;
341
- listPowerOnUtilizationDatapoints(externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
348
+ listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
342
349
  protected processListPowerOnUtilizationDatapoints(response: Response): Promise<PowerOnUtilizationList>;
343
350
  getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
344
351
  protected processGetFactoryUtilization(response: Response): Promise<PowerOnUtilizationDto>;
@@ -436,7 +443,7 @@ export declare class UploadClient extends AuthorizedApiBase implements IUploadCl
436
443
  protected processCreateUploadInfoCdf(response: Response): Promise<UploadInfoCdfDto>;
437
444
  }
438
445
  export interface ISystemHealthDashboardClient {
439
- getMachineDataHealth(assetExternalId: string | null | undefined): Promise<DataHealthDto>;
446
+ getMachineDataHealth(assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<DataHealthDto>;
440
447
  }
441
448
  export declare class SystemHealthDashboardClient extends AuthorizedApiBase implements ISystemHealthDashboardClient {
442
449
  private http;
@@ -444,7 +451,7 @@ export declare class SystemHealthDashboardClient extends AuthorizedApiBase imple
444
451
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
445
452
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
446
453
  });
447
- getMachineDataHealth(assetExternalId: string | null | undefined): Promise<DataHealthDto>;
454
+ getMachineDataHealth(assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<DataHealthDto>;
448
455
  protected processGetMachineDataHealth(response: Response): Promise<DataHealthDto>;
449
456
  }
450
457
  export interface IPowerClient {
@@ -651,7 +658,7 @@ export declare class KpiAdminResourceClient extends AuthorizedApiBase implements
651
658
  export interface IKpiResourceClient {
652
659
  getResourceKpi(resourceExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<ResourceKpiDto>;
653
660
  getResourceDailyUptime(resourceExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<ResourceDailyUptimeDto>;
654
- getUptimeNormalTrend(assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
661
+ getUptimeNormalTrend(assetId: number | null | undefined, assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
655
662
  }
656
663
  export declare class KpiResourceClient extends AuthorizedApiBase implements IKpiResourceClient {
657
664
  private http;
@@ -663,7 +670,7 @@ export declare class KpiResourceClient extends AuthorizedApiBase implements IKpi
663
670
  protected processGetResourceKpi(response: Response): Promise<ResourceKpiDto>;
664
671
  getResourceDailyUptime(resourceExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<ResourceDailyUptimeDto>;
665
672
  protected processGetResourceDailyUptime(response: Response): Promise<ResourceDailyUptimeDto>;
666
- getUptimeNormalTrend(assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
673
+ getUptimeNormalTrend(assetId: number | null | undefined, assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
667
674
  protected processGetUptimeNormalTrend(response: Response): Promise<UptimeTrendDataPointDto[]>;
668
675
  }
669
676
  export interface IResourcesClient {
@@ -672,7 +679,7 @@ export interface IResourcesClient {
672
679
  createResourceGroup(request: CreateResourceGroup): Promise<CreateResourceGroupResponse>;
673
680
  updateResourceGroup(id: string, request: UpdateResourceGroup): Promise<void>;
674
681
  deleteResourceGroup(id: string): Promise<void>;
675
- listCurrentMachineStates(assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
682
+ listCurrentMachineStates(assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
676
683
  listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
677
684
  listLastDowntimeMachineStates(id: string, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
678
685
  getMachineStateWithDowntimePeriods(id: string, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
@@ -709,7 +716,7 @@ export declare class ResourcesClient extends AuthorizedApiBase implements IResou
709
716
  protected processUpdateResourceGroup(response: Response): Promise<void>;
710
717
  deleteResourceGroup(id: string): Promise<void>;
711
718
  protected processDeleteResourceGroup(response: Response): Promise<void>;
712
- listCurrentMachineStates(assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
719
+ listCurrentMachineStates(assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
713
720
  protected processListCurrentMachineStates(response: Response): Promise<MachineStateListDto>;
714
721
  listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
715
722
  protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
@@ -849,10 +856,11 @@ export interface IUtilizationClient {
849
856
  * @param startTime (optional)
850
857
  * @param endTime (optional)
851
858
  * @param ianaTimeZone (optional)
859
+ * @param assetId (optional)
852
860
  * @param assetExternalId (optional)
853
861
  * @deprecated
854
862
  */
855
- getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
863
+ getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
856
864
  getCompanyUtilizationDatapoints(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDatapointListDto>;
857
865
  /**
858
866
  * @param utilizationType (optional)
@@ -864,7 +872,7 @@ export interface IUtilizationClient {
864
872
  getCrossCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyUtilizationDatapointListDto>;
865
873
  getCompanyResourceUtilization(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyResourceUtilizationDto>;
866
874
  getCrossCompanyResourceUtilization(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyResourceUtilizationDto>;
867
- getResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetExternalId: string | null | undefined): Promise<ResourceUtilizationDatapointListDto>;
875
+ getResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<ResourceUtilizationDatapointListDto>;
868
876
  getCompanyResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyResourceUtilizationDatapointListDto>;
869
877
  getCrossCompanyResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyResourceUtilizationDatapointListDto>;
870
878
  }
@@ -890,10 +898,11 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
890
898
  * @param startTime (optional)
891
899
  * @param endTime (optional)
892
900
  * @param ianaTimeZone (optional)
901
+ * @param assetId (optional)
893
902
  * @param assetExternalId (optional)
894
903
  * @deprecated
895
904
  */
896
- getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
905
+ getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
897
906
  protected processGetUtilizationDatapoints(response: Response): Promise<MachineUtilizationDatapointListDto>;
898
907
  getCompanyUtilizationDatapoints(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDatapointListDto>;
899
908
  protected processGetCompanyUtilizationDatapoints(response: Response): Promise<CompanyResourceUtilizationDatapointListDto>;
@@ -910,7 +919,7 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
910
919
  protected processGetCompanyResourceUtilization(response: Response): Promise<CompanyResourceUtilizationDto>;
911
920
  getCrossCompanyResourceUtilization(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyResourceUtilizationDto>;
912
921
  protected processGetCrossCompanyResourceUtilization(response: Response): Promise<CrossCompanyResourceUtilizationDto>;
913
- getResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetExternalId: string | null | undefined): Promise<ResourceUtilizationDatapointListDto>;
922
+ getResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<ResourceUtilizationDatapointListDto>;
914
923
  protected processGetResourceUtilizationDatapoints(response: Response): Promise<ResourceUtilizationDatapointListDto>;
915
924
  getCompanyResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyResourceUtilizationDatapointListDto>;
916
925
  protected processGetCompanyResourceUtilizationDatapoints(response: Response): Promise<CompanyResourceUtilizationDatapointListDto>;
@@ -1389,7 +1398,7 @@ export declare class KpiAdminClient extends AuthorizedApiBase implements IKpiAdm
1389
1398
  export interface IKpiClient {
1390
1399
  getMachineKpi(machineExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<MachineKpiDto>;
1391
1400
  getMachineDailyUptime(machineExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<MachineDailyUptimeDto>;
1392
- getUptimeNormalTrend(assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
1401
+ getUptimeNormalTrend(assetId: number | null | undefined, assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
1393
1402
  }
1394
1403
  export declare class KpiClient extends AuthorizedApiBase implements IKpiClient {
1395
1404
  private http;
@@ -1401,7 +1410,7 @@ export declare class KpiClient extends AuthorizedApiBase implements IKpiClient {
1401
1410
  protected processGetMachineKpi(response: Response): Promise<MachineKpiDto>;
1402
1411
  getMachineDailyUptime(machineExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<MachineDailyUptimeDto>;
1403
1412
  protected processGetMachineDailyUptime(response: Response): Promise<MachineDailyUptimeDto>;
1404
- getUptimeNormalTrend(assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
1413
+ getUptimeNormalTrend(assetId: number | null | undefined, assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
1405
1414
  protected processGetUptimeNormalTrend(response: Response): Promise<UptimeTrendDataPointDto[]>;
1406
1415
  }
1407
1416
  export interface IMachinesClient {
@@ -1410,7 +1419,7 @@ export interface IMachinesClient {
1410
1419
  createMachineGroup(request: CreateMachineGroup): Promise<CreateMachineGroupResponse>;
1411
1420
  updateMachineGroup(id: string, request: UpdateMachineGroup): Promise<void>;
1412
1421
  deleteMachineGroup(id: string): Promise<void>;
1413
- listCurrentMachineStates(assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
1422
+ listCurrentMachineStates(assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
1414
1423
  listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
1415
1424
  listLastDowntimeMachineStates(id: string, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
1416
1425
  getMachineStateWithDowntimePeriods(id: string, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
@@ -1448,7 +1457,7 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
1448
1457
  protected processUpdateMachineGroup(response: Response): Promise<void>;
1449
1458
  deleteMachineGroup(id: string): Promise<void>;
1450
1459
  protected processDeleteMachineGroup(response: Response): Promise<void>;
1451
- listCurrentMachineStates(assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
1460
+ listCurrentMachineStates(assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
1452
1461
  protected processListCurrentMachineStates(response: Response): Promise<MachineStateListDto>;
1453
1462
  listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
1454
1463
  protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
@@ -1617,99 +1626,6 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
1617
1626
  listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
1618
1627
  protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
1619
1628
  }
1620
- export interface IExternalAccessClient {
1621
- listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
1622
- createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
1623
- updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
1624
- deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
1625
- listRoles(): Promise<ExternalRoleDto[]>;
1626
- listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
1627
- deleteCompanyCustomer(tenantId: string): Promise<void>;
1628
- }
1629
- export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
1630
- private http;
1631
- private baseUrl;
1632
- constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1633
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1634
- });
1635
- listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
1636
- protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
1637
- createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
1638
- protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
1639
- updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
1640
- protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
1641
- deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
1642
- protected processDeleteCompanyUser(response: Response): Promise<void>;
1643
- listRoles(): Promise<ExternalRoleDto[]>;
1644
- protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
1645
- listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
1646
- protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
1647
- deleteCompanyCustomer(tenantId: string): Promise<void>;
1648
- protected processDeleteCompanyCustomer(response: Response): Promise<void>;
1649
- }
1650
- export interface IExternalClient {
1651
- listInvites(): Promise<InviteDto[]>;
1652
- acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
1653
- listCompanies(): Promise<CompanyDto[]>;
1654
- }
1655
- export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
1656
- private http;
1657
- private baseUrl;
1658
- constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1659
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1660
- });
1661
- listInvites(): Promise<InviteDto[]>;
1662
- protected processListInvites(response: Response): Promise<InviteDto[]>;
1663
- acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
1664
- protected processAcceptSupplierInvite(response: Response): Promise<CompanyDto>;
1665
- listCompanies(): Promise<CompanyDto[]>;
1666
- protected processListCompanies(response: Response): Promise<CompanyDto[]>;
1667
- }
1668
- export interface ISuppliersClient {
1669
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
1670
- createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
1671
- deleteSupplierInvite(id: string): Promise<void>;
1672
- listSuppliers(): Promise<ExternalSupplierDto[]>;
1673
- deleteSupplier(id: string): Promise<void>;
1674
- importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
1675
- /**
1676
- * Creates a mapping between old supplier id and new supplier id.
1677
- */
1678
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
1679
- /**
1680
- * Delete all supplier mappings between old supplier ids and new supplier ids.
1681
- */
1682
- deleteSupplierMappings(): Promise<void>;
1683
- }
1684
- export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
1685
- private http;
1686
- private baseUrl;
1687
- constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1688
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1689
- });
1690
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
1691
- protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
1692
- createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
1693
- protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
1694
- deleteSupplierInvite(id: string): Promise<void>;
1695
- protected processDeleteSupplierInvite(response: Response): Promise<void>;
1696
- listSuppliers(): Promise<ExternalSupplierDto[]>;
1697
- protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
1698
- deleteSupplier(id: string): Promise<void>;
1699
- protected processDeleteSupplier(response: Response): Promise<void>;
1700
- importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
1701
- protected processImportSupplier(response: Response): Promise<ExternalSupplierDto>;
1702
- /**
1703
- * Creates a mapping between old supplier id and new supplier id.
1704
- */
1705
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
1706
- protected processCreateSupplierMapping(response: Response): Promise<void>;
1707
- /**
1708
- * Delete all supplier mappings between old supplier ids and new supplier ids.
1709
- */
1710
- deleteSupplierMappings(): Promise<void>;
1711
- protected processDeleteSupplierMappings(response: Response): Promise<void>;
1712
- }
1713
1629
  export interface ICncFileTransferClient {
1714
1630
  startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
1715
1631
  startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
@@ -3109,6 +3025,7 @@ export interface IMeasurementFormSchemasAdminClient {
3109
3025
  */
3110
3026
  uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
3111
3027
  uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
3028
+ deleteMeasurementFormSchemaFile(id: string, slot: SchemaFileSlot): Promise<void>;
3112
3029
  getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
3113
3030
  listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
3114
3031
  postListLinkableMeasurementFormSchemas(request: ListLinkableMeasurementFormSchemasRequest): Promise<PagedResultOfMeasurementFormListDto>;
@@ -3199,6 +3116,8 @@ export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase
3199
3116
  protected processUploadSchemaDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
3200
3117
  uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
3201
3118
  protected processUploadSchemaAttachment(response: Response): Promise<MeasurementFormSchemaDto>;
3119
+ deleteMeasurementFormSchemaFile(id: string, slot: SchemaFileSlot): Promise<void>;
3120
+ protected processDeleteMeasurementFormSchemaFile(response: Response): Promise<void>;
3202
3121
  getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
3203
3122
  protected processGetMeasurementFormImportStatus(response: Response): Promise<MeasurementFormImportStatusDto>;
3204
3123
  listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
@@ -3297,6 +3216,7 @@ export interface IMeasurementFormSchemasClient {
3297
3216
  getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
3298
3217
  postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormSchemaOverviewDto>;
3299
3218
  postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto>;
3219
+ listMeasurementFormSchemaFiles(id: string): Promise<MeasurementFormSchemaFileDto[]>;
3300
3220
  listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]>;
3301
3221
  listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]>;
3302
3222
  listMeasurementFormSchemaVersionChanges(id: string): Promise<MeasurementFormSchemaVersionChangesDto[]>;
@@ -3326,6 +3246,8 @@ export declare class MeasurementFormSchemasClient extends AuthorizedApiBase impl
3326
3246
  protected processPostListMeasurementFormSchemas(response: Response): Promise<PagedResultOfMeasurementFormSchemaOverviewDto>;
3327
3247
  postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto>;
3328
3248
  protected processPostCountMeasurementFormSchemas(response: Response): Promise<MeasurementFormSchemaCountsDto>;
3249
+ listMeasurementFormSchemaFiles(id: string): Promise<MeasurementFormSchemaFileDto[]>;
3250
+ protected processListMeasurementFormSchemaFiles(response: Response): Promise<MeasurementFormSchemaFileDto[]>;
3329
3251
  listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]>;
3330
3252
  protected processListMeasurementFormSchemaVersions(response: Response): Promise<MeasurementFormSchemaVersionDto[]>;
3331
3253
  listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]>;
@@ -3390,23 +3312,23 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
3390
3312
  protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
3391
3313
  }
3392
3314
  export interface IMeasurementFormsInstancesClient {
3393
- listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, tenantId: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3315
+ listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3394
3316
  postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3395
- getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3317
+ getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3396
3318
  listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
3397
- completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3398
- completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
3399
- getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3400
- getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
3401
- getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
3402
- getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3319
+ completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3320
+ completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
3321
+ getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3322
+ getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string): Promise<SchemaCreatorStateDto>;
3323
+ getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
3324
+ getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3403
3325
  getValidationRules(): Promise<ValidationRuleDto[]>;
3404
- saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3405
- saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3406
- saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
3407
- batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3408
- saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3409
- createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3326
+ saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3327
+ saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3328
+ saveComment(id: string, request: SaveCommentRequest): Promise<void>;
3329
+ batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3330
+ saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3331
+ createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3410
3332
  listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
3411
3333
  upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
3412
3334
  removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
@@ -3422,39 +3344,39 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
3422
3344
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3423
3345
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3424
3346
  });
3425
- listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, tenantId: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3347
+ listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3426
3348
  protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3427
3349
  postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3428
3350
  protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3429
- getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3351
+ getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3430
3352
  protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3431
3353
  listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
3432
3354
  protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
3433
- completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3355
+ completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3434
3356
  protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3435
- completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
3357
+ completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
3436
3358
  protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
3437
- getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3359
+ getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3438
3360
  protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
3439
- getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
3361
+ getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string): Promise<SchemaCreatorStateDto>;
3440
3362
  protected processGetMeasurementFormInstanceSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
3441
- getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
3363
+ getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
3442
3364
  protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
3443
- getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3365
+ getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3444
3366
  protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
3445
3367
  getValidationRules(): Promise<ValidationRuleDto[]>;
3446
3368
  protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
3447
- saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3369
+ saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3448
3370
  protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
3449
- saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3371
+ saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3450
3372
  protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
3451
- saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
3373
+ saveComment(id: string, request: SaveCommentRequest): Promise<void>;
3452
3374
  protected processSaveComment(response: Response): Promise<void>;
3453
- batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3375
+ batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3454
3376
  protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
3455
- saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3377
+ saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3456
3378
  protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
3457
- createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3379
+ createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3458
3380
  protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
3459
3381
  listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
3460
3382
  protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
@@ -3490,7 +3412,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
3490
3412
  getSerialNumberMeasurements(id: string): Promise<SerialNumberMeasurementsDto[]>;
3491
3413
  reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3492
3414
  cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3493
- toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
3415
+ toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
3494
3416
  }
3495
3417
  export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
3496
3418
  private http;
@@ -3530,7 +3452,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
3530
3452
  protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3531
3453
  cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3532
3454
  protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3533
- toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
3455
+ toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
3534
3456
  protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
3535
3457
  }
3536
3458
  export interface ICompaniesClient {
@@ -3870,6 +3792,111 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
3870
3792
  generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
3871
3793
  protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
3872
3794
  }
3795
+ export interface IExternalAccessClient {
3796
+ listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3797
+ createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3798
+ updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3799
+ deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3800
+ migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
3801
+ listRoles(): Promise<ExternalRoleDto[]>;
3802
+ listCompanyCustomers(): Promise<CompanyCustomersDto>;
3803
+ deleteCompanyCustomer(tenantId: string): Promise<void>;
3804
+ }
3805
+ export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
3806
+ private http;
3807
+ private baseUrl;
3808
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3809
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3810
+ });
3811
+ listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3812
+ protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
3813
+ createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3814
+ protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
3815
+ updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3816
+ protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
3817
+ deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3818
+ protected processDeleteCompanyUser(response: Response): Promise<void>;
3819
+ migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
3820
+ protected processMigrateLegacyCompanyUsersToEntra(response: Response): Promise<CompanyUserDto[]>;
3821
+ listRoles(): Promise<ExternalRoleDto[]>;
3822
+ protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
3823
+ listCompanyCustomers(): Promise<CompanyCustomersDto>;
3824
+ protected processListCompanyCustomers(response: Response): Promise<CompanyCustomersDto>;
3825
+ deleteCompanyCustomer(tenantId: string): Promise<void>;
3826
+ protected processDeleteCompanyCustomer(response: Response): Promise<void>;
3827
+ }
3828
+ export interface IExternalClient {
3829
+ listCompanies(): Promise<CompanyDto[]>;
3830
+ getCompany(id: string): Promise<CompanyDto>;
3831
+ getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
3832
+ acceptSupplierInvite(acceptingTenantId: string | null | undefined): Promise<SupplierInviteDto>;
3833
+ listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
3834
+ }
3835
+ export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
3836
+ private http;
3837
+ private baseUrl;
3838
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3839
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3840
+ });
3841
+ listCompanies(): Promise<CompanyDto[]>;
3842
+ protected processListCompanies(response: Response): Promise<CompanyDto[]>;
3843
+ getCompany(id: string): Promise<CompanyDto>;
3844
+ protected processGetCompany(response: Response): Promise<CompanyDto>;
3845
+ getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
3846
+ protected processGetCurrentSupplierInvite(response: Response): Promise<CurrentSupplierInviteDto>;
3847
+ acceptSupplierInvite(acceptingTenantId: string | null | undefined): Promise<SupplierInviteDto>;
3848
+ protected processAcceptSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3849
+ listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
3850
+ protected processListTenantsWithSuppliers(response: Response): Promise<TenantWithSupplierDto[]>;
3851
+ }
3852
+ export interface ISuppliersClient {
3853
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
3854
+ createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
3855
+ deleteSupplierInvite(id: string): Promise<void>;
3856
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
3857
+ deleteSupplier(id: string): Promise<void>;
3858
+ /**
3859
+ * Creates a mapping between old supplier id and new supplier id.
3860
+ */
3861
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3862
+ /**
3863
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
3864
+ */
3865
+ deleteSupplierMappings(): Promise<void>;
3866
+ lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
3867
+ getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
3868
+ }
3869
+ export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
3870
+ private http;
3871
+ private baseUrl;
3872
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3873
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3874
+ });
3875
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
3876
+ protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
3877
+ createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
3878
+ protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3879
+ deleteSupplierInvite(id: string): Promise<void>;
3880
+ protected processDeleteSupplierInvite(response: Response): Promise<void>;
3881
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
3882
+ protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
3883
+ deleteSupplier(id: string): Promise<void>;
3884
+ protected processDeleteSupplier(response: Response): Promise<void>;
3885
+ /**
3886
+ * Creates a mapping between old supplier id and new supplier id.
3887
+ */
3888
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3889
+ protected processCreateSupplierMapping(response: Response): Promise<void>;
3890
+ /**
3891
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
3892
+ */
3893
+ deleteSupplierMappings(): Promise<void>;
3894
+ protected processDeleteSupplierMappings(response: Response): Promise<void>;
3895
+ lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
3896
+ protected processLookupOrganization(response: Response): Promise<OrganizationDto>;
3897
+ getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
3898
+ protected processGetOrganizationLookupSupportedCountries(response: Response): Promise<CountryDto[]>;
3899
+ }
3873
3900
  export interface AzureRegionDto {
3874
3901
  displayName: string;
3875
3902
  name: string;
@@ -3883,6 +3910,7 @@ export interface CountryDto {
3883
3910
  export interface CurrentCustomerDto {
3884
3911
  name?: string | null;
3885
3912
  logoUrl?: string | null;
3913
+ supplierSubdomain?: string | null;
3886
3914
  }
3887
3915
  export interface AvailableTenantDto {
3888
3916
  tenantId: string;
@@ -3974,6 +4002,7 @@ export interface UtilizationListDto {
3974
4002
  machines?: MachineUtilizationDto[] | null;
3975
4003
  }
3976
4004
  export interface MachineUtilizationDto {
4005
+ assetId: number;
3977
4006
  assetExternalId: string;
3978
4007
  name: string;
3979
4008
  description?: string | null;
@@ -4015,6 +4044,7 @@ export interface PowerOnUtilizationDto extends UtilizationAveragesDto {
4015
4044
  comparedToAverage?: number | null;
4016
4045
  }
4017
4046
  export interface UtilizationDetailsDto {
4047
+ machineId: number;
4018
4048
  machineExternalId: string;
4019
4049
  machineName: string;
4020
4050
  machineStateText?: string | null;
@@ -4116,7 +4146,7 @@ export interface PowerOnUtilizationList {
4116
4146
  }
4117
4147
  export interface Machine {
4118
4148
  externalId?: string;
4119
- id?: number | null;
4149
+ id?: number;
4120
4150
  name?: string;
4121
4151
  description?: string | null;
4122
4152
  datapoints?: NumericNullableValueWithTimestamp[];
@@ -4129,6 +4159,7 @@ export interface ResourceUtilizationListDto {
4129
4159
  resources?: ResourceUtilizationDto[] | null;
4130
4160
  }
4131
4161
  export interface ResourceUtilizationDto {
4162
+ assetId: number;
4132
4163
  assetExternalId: string;
4133
4164
  name: string;
4134
4165
  description?: string | null;
@@ -4139,6 +4170,7 @@ export interface ResourceUtilizationDto {
4139
4170
  powerOn?: PowerOnUtilizationDto | null;
4140
4171
  }
4141
4172
  export interface ResourceUtilizationDetailsDto {
4173
+ resourceId: number;
4142
4174
  resourceExternalId: string;
4143
4175
  resourceName: string;
4144
4176
  machineStateText?: string | null;
@@ -4181,6 +4213,11 @@ export interface UserDetailsDto {
4181
4213
  isExternalUser?: boolean;
4182
4214
  isBetaTester?: boolean | null;
4183
4215
  hasAccessToIgnos?: boolean;
4216
+ isInvitedUser?: boolean;
4217
+ isSupplier?: boolean;
4218
+ companyId?: string | null;
4219
+ entraTenantId?: string | null;
4220
+ homeEntraTenantId?: string | null;
4184
4221
  }
4185
4222
  export interface UserDto {
4186
4223
  id?: string | null;
@@ -4227,7 +4264,6 @@ export interface UploadInfoDto {
4227
4264
  accessKey?: string | null;
4228
4265
  }
4229
4266
  export interface UploadInfoCdfDto {
4230
- externalId: string;
4231
4267
  id: number;
4232
4268
  url: string;
4233
4269
  }
@@ -4238,6 +4274,7 @@ export interface DataHealthDto {
4238
4274
  machines?: MachineDataHealthDto[] | null;
4239
4275
  }
4240
4276
  export interface MachineDataHealthDto {
4277
+ assetId: number;
4241
4278
  assetExternalId: string;
4242
4279
  name: string;
4243
4280
  description?: string | null;
@@ -4255,6 +4292,7 @@ export interface PowerRegionDto {
4255
4292
  description?: string | null;
4256
4293
  }
4257
4294
  export interface ConsumptionDto {
4295
+ assetId: number;
4258
4296
  assetExternalId: string;
4259
4297
  assetName: string;
4260
4298
  kwh: number;
@@ -4263,15 +4301,18 @@ export interface ConsumptionDto {
4263
4301
  items?: AssetConsumptionDto[] | null;
4264
4302
  }
4265
4303
  export interface AssetConsumptionDto {
4266
- timeseriesExternalId: string;
4304
+ timeseriesId: number;
4305
+ timeseriesExternalId?: string | null;
4267
4306
  timeseriesName: string;
4268
4307
  kwh: number;
4269
- assetExternalId: string;
4308
+ assetId: number;
4309
+ assetExternalId?: string | null;
4270
4310
  assetName: string;
4271
4311
  co2Equivalent?: number | null;
4272
4312
  co2EquivalentNotAdjustedForLocalProduction?: number | null;
4273
4313
  }
4274
4314
  export interface GetConsumption {
4315
+ assetId?: number | null;
4275
4316
  assetExternalId?: string | null;
4276
4317
  start?: Date | null;
4277
4318
  end?: Date | null;
@@ -4281,8 +4322,10 @@ export interface PowerDto {
4281
4322
  assets?: AssetPowerDto[] | null;
4282
4323
  }
4283
4324
  export interface AssetPowerDto {
4325
+ timeseriesId?: number;
4284
4326
  timeseriesExternalId?: string | null;
4285
4327
  timeseriesName?: string | null;
4328
+ assetId?: number;
4286
4329
  assetExternalId?: string | null;
4287
4330
  assetName?: string | null;
4288
4331
  timeSeriesDataPoints?: NumericDataPointDto[] | null;
@@ -4295,7 +4338,8 @@ export interface NumericDataPointDto {
4295
4338
  max?: number | null;
4296
4339
  }
4297
4340
  export interface GetPower {
4298
- assetExternalId: string;
4341
+ assetId?: number | null;
4342
+ assetExternalId?: string | null;
4299
4343
  granularity?: string | null;
4300
4344
  start?: Date | null;
4301
4345
  end?: Date | null;
@@ -4715,7 +4759,7 @@ export interface UptimeTrendDataPointDto {
4715
4759
  uptime: number;
4716
4760
  }
4717
4761
  export interface ApplicationResourcesResourceDto {
4718
- id?: number | null;
4762
+ id: number;
4719
4763
  externalId: string;
4720
4764
  name: string;
4721
4765
  description?: string | null;
@@ -4733,6 +4777,7 @@ export interface ApplicationResourcesResourceGroupDto {
4733
4777
  resources: ResourceGroupMemberDto[];
4734
4778
  }
4735
4779
  export interface ResourceGroupMemberDto {
4780
+ id: number;
4736
4781
  externalId: string;
4737
4782
  name: string;
4738
4783
  description?: string | null;
@@ -4754,12 +4799,13 @@ export interface MachineStateListDto {
4754
4799
  machines?: MachineStateDto[] | null;
4755
4800
  }
4756
4801
  export interface MachineStateDto {
4757
- assetExternalId: string;
4802
+ assetId: number;
4758
4803
  name: string;
4759
4804
  description?: string | null;
4760
4805
  state: string;
4761
4806
  machineState: MachineState;
4762
4807
  startTime: Date;
4808
+ assetExternalId: string;
4763
4809
  }
4764
4810
  export interface DowntimeMachineStateDto {
4765
4811
  datapoint: MachineStateDatapoint;
@@ -4770,12 +4816,13 @@ export interface ResourceErpDataListDto {
4770
4816
  resources: SingleResourceErpDataListDto[];
4771
4817
  }
4772
4818
  export interface SingleResourceErpDataListDto {
4773
- assetExternalId: string;
4819
+ assetId: number;
4774
4820
  name: string;
4775
4821
  description?: string;
4776
4822
  activeOrders: ResourceErpDataDto[];
4777
4823
  lastActiveEvent?: WorkorderOperationEventDto | null;
4778
4824
  downtimePeriodReason?: DowntimePeriodReasonDto | null;
4825
+ assetExternalId: string;
4779
4826
  }
4780
4827
  export interface ResourceErpDataDto {
4781
4828
  workOrderId: string;
@@ -4880,7 +4927,7 @@ export interface ResourceGroupUtilizationDto {
4880
4927
  resources: ResourceUtilizationV2Dto[];
4881
4928
  }
4882
4929
  export interface ResourceUtilizationV2Dto {
4883
- id?: number | null;
4930
+ id?: number;
4884
4931
  name: string;
4885
4932
  description?: string | null;
4886
4933
  utilization: UtilizationDto;
@@ -4896,7 +4943,7 @@ export interface OperatorAndMachineDto {
4896
4943
  resource?: ApplicationResourcesResourceDto | null;
4897
4944
  }
4898
4945
  export interface MachineDto {
4899
- id?: number | null;
4946
+ id: number;
4900
4947
  externalId: string;
4901
4948
  name: string;
4902
4949
  description?: string | null;
@@ -5099,7 +5146,7 @@ export interface ResourceGroupUtilizationV2Dto {
5099
5146
  resources: ResourceUtilizationV3Dto[];
5100
5147
  }
5101
5148
  export interface ResourceUtilizationV3Dto {
5102
- id?: number | null;
5149
+ id?: number;
5103
5150
  externalId: string;
5104
5151
  name: string;
5105
5152
  description?: string | null;
@@ -5134,7 +5181,7 @@ export interface MachineGroupUtilizationV2Dto {
5134
5181
  machines: MachineUtilizationV3Dto[];
5135
5182
  }
5136
5183
  export interface MachineUtilizationV3Dto {
5137
- id?: number | null;
5184
+ id?: number;
5138
5185
  name: string;
5139
5186
  description?: string | null;
5140
5187
  utilization: UtilizationDetailsV2Dto;
@@ -5146,7 +5193,7 @@ export interface UtilizationDatapointListDto {
5146
5193
  }
5147
5194
  export interface MachineUtilizationDatapointListDto extends UtilizationDatapointListDto {
5148
5195
  externalId: string;
5149
- id?: number | null;
5196
+ id: number;
5150
5197
  name: string;
5151
5198
  description?: string | null;
5152
5199
  }
@@ -5161,7 +5208,7 @@ export interface ResourceGroupUtilizationDatapointListDto extends UtilizationDat
5161
5208
  }
5162
5209
  export interface ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
5163
5210
  externalId: string;
5164
- id?: number | null;
5211
+ id: number;
5165
5212
  name: string;
5166
5213
  description?: string | null;
5167
5214
  }
@@ -6108,6 +6155,7 @@ export interface MachineGroupDto {
6108
6155
  machines: MachineGroupMemberDto[];
6109
6156
  }
6110
6157
  export interface MachineGroupMemberDto {
6158
+ id: number;
6111
6159
  externalId: string;
6112
6160
  name: string;
6113
6161
  description?: string | null;
@@ -6129,12 +6177,13 @@ export interface MachineErpDataListDto {
6129
6177
  machines: SingleMachineErpDataListDto[];
6130
6178
  }
6131
6179
  export interface SingleMachineErpDataListDto {
6132
- assetExternalId: string;
6180
+ assetId: number;
6133
6181
  name: string;
6134
6182
  description?: string;
6135
6183
  activeOrders: MachineErpDataDto[];
6136
6184
  lastActiveEvent?: WorkorderOperationEventDto | null;
6137
6185
  downtimePeriodReason?: DowntimePeriodReasonDto | null;
6186
+ assetExternalId: string;
6138
6187
  }
6139
6188
  export interface MachineErpDataDto {
6140
6189
  workOrderId: string;
@@ -6163,7 +6212,7 @@ export interface MachineGroupUtilizationDto {
6163
6212
  machines: MachineUtilizationV2Dto[];
6164
6213
  }
6165
6214
  export interface MachineUtilizationV2Dto {
6166
- id?: number | null;
6215
+ id?: number;
6167
6216
  name: string;
6168
6217
  description?: string | null;
6169
6218
  utilization: UtilizationDto;
@@ -6173,8 +6222,9 @@ export interface CrossCompanyUtilizationSummaryDto {
6173
6222
  companies: MachineGroupUtilizationDto[];
6174
6223
  }
6175
6224
  export interface LiveMachineDataDto {
6176
- assetExternalId?: string;
6225
+ assetId?: number;
6177
6226
  dataPoints?: LiveMachineDataPointDto[];
6227
+ assetExternalId: string;
6178
6228
  }
6179
6229
  export interface LiveMachineDataPointDto {
6180
6230
  externalId?: string;
@@ -6183,8 +6233,9 @@ export interface LiveMachineDataPointDto {
6183
6233
  stringValue?: string | null;
6184
6234
  }
6185
6235
  export interface TimeseriesGraphDto {
6186
- assetExternalId?: string;
6236
+ assetId?: number;
6187
6237
  series?: TimeseriesGraphSeriesDto[];
6238
+ assetExternalId: string;
6188
6239
  }
6189
6240
  export interface TimeseriesGraphSeriesDto {
6190
6241
  externalId?: string;
@@ -6369,97 +6420,6 @@ export interface DocumentGeneratorTypeDto {
6369
6420
  key: string;
6370
6421
  description: string;
6371
6422
  }
6372
- export interface CompanyUserDto {
6373
- companyId?: string | null;
6374
- username?: string | null;
6375
- name?: string | null;
6376
- roles?: string[] | null;
6377
- }
6378
- export interface CreateCompanyUserRequest {
6379
- username: string;
6380
- name: string;
6381
- roles: string[];
6382
- companyId?: string | null;
6383
- }
6384
- export interface UpdateCompanyUserRequest {
6385
- name: string;
6386
- roles: string[];
6387
- companyId?: string | null;
6388
- }
6389
- export interface ExternalRoleDto {
6390
- id: string;
6391
- name: string;
6392
- }
6393
- export interface CompanyCustomerDto {
6394
- customerTenantId?: string | null;
6395
- customerAzureAdTenantId?: string | null;
6396
- customerName?: string | null;
6397
- supplierId?: string | null;
6398
- supplierName?: string | null;
6399
- }
6400
- export interface InviteDto {
6401
- tenantId: string;
6402
- companyName: string;
6403
- id: string;
6404
- supplierId: string;
6405
- supplierName: string;
6406
- username: string;
6407
- deadline: Date;
6408
- createdTime: Date;
6409
- createdBy: string;
6410
- }
6411
- export interface CompanyDto {
6412
- id?: string | null;
6413
- name?: string | null;
6414
- organizationNumber?: string | null;
6415
- country?: string | null;
6416
- tenantId?: string | null;
6417
- }
6418
- export interface AcceptSupplierInviteRequest {
6419
- tenantId: string;
6420
- existingCompanyId?: string | null;
6421
- companyName?: string | null;
6422
- organizationNumber?: string | null;
6423
- threeLetterIsoCountry?: string | null;
6424
- }
6425
- export interface SupplierInviteDto {
6426
- id: string;
6427
- supplierId: string;
6428
- name: string;
6429
- username: string;
6430
- deadline: Date;
6431
- createdTime: Date;
6432
- createdBy: string;
6433
- }
6434
- export interface CreateSupplierInvite {
6435
- supplierId: string;
6436
- name: string;
6437
- username: string;
6438
- deadline: Date;
6439
- }
6440
- export interface ExternalSupplierDto {
6441
- id: string;
6442
- name: string;
6443
- companyId: string;
6444
- active: boolean;
6445
- }
6446
- export interface ImportSupplier {
6447
- supplierId: string;
6448
- name: string;
6449
- organizationNumber?: string | null;
6450
- threeLetterIsoCountry: string;
6451
- users: ImportSupplierUserDto[];
6452
- }
6453
- export interface ImportSupplierUserDto {
6454
- username: string;
6455
- name: string;
6456
- roles: string[];
6457
- }
6458
- export interface CreateSupplierMapping {
6459
- companyId: string;
6460
- existingSupplierId: string;
6461
- newSupplierId: string;
6462
- }
6463
6423
  export interface CncMachineTransferDto {
6464
6424
  id: string;
6465
6425
  cncMachineOperationId?: string | null;
@@ -7198,36 +7158,52 @@ export interface AssetDto {
7198
7158
  externalId?: string | null;
7199
7159
  name?: string | null;
7200
7160
  description?: string | null;
7161
+ metadata?: {
7162
+ [key: string]: string;
7163
+ } | null;
7164
+ aggregates?: any | null;
7165
+ parentId?: number | null;
7201
7166
  parentExternalId?: string | null;
7202
- rootExternalId?: string | null;
7203
7167
  source?: string | null;
7204
7168
  id?: number | null;
7205
7169
  createdTime?: number | null;
7206
7170
  lastUpdatedTime?: number | null;
7171
+ rootId?: number | null;
7172
+ rootExternalId?: string | null;
7207
7173
  }
7208
7174
  export interface AssetStructureDto {
7209
7175
  externalId?: string | null;
7210
7176
  name?: string | null;
7211
7177
  aggregatesDisplay?: string | null;
7212
7178
  aggregates?: AssetSimpleStructureDto[] | null;
7179
+ id?: number | null;
7213
7180
  createdTime?: number | null;
7214
7181
  lastUpdatedTime?: number | null;
7215
7182
  }
7216
7183
  export interface AssetSimpleStructureDto {
7217
7184
  externalId?: string | null;
7218
7185
  name?: string | null;
7186
+ id?: number | null;
7219
7187
  }
7220
7188
  export interface CreateAsset {
7221
- parentExternalId: string;
7189
+ parentId?: number | null;
7190
+ parentExternalId?: string | null;
7222
7191
  externalId: string;
7223
7192
  name: string;
7224
7193
  description: string;
7194
+ metadata: {
7195
+ [key: string]: string;
7196
+ };
7225
7197
  source?: string | null;
7226
7198
  }
7227
7199
  export interface UpdateAssetRequest {
7228
- parentExternalId: string;
7200
+ parentId?: number | null;
7201
+ parentExternalId?: string | null;
7229
7202
  name: string;
7230
7203
  description: string;
7204
+ metadata: {
7205
+ [key: string]: string;
7206
+ };
7231
7207
  source?: string | null;
7232
7208
  }
7233
7209
  export interface AlertNotificationAccessDto {
@@ -8587,6 +8563,7 @@ export interface ElectricalIotConfigDto {
8587
8563
  export interface CreateElectricalIotConfig {
8588
8564
  typeId?: string | null;
8589
8565
  serialNumber?: string | null;
8566
+ assetId?: number | null;
8590
8567
  assetExternalId?: string | null;
8591
8568
  }
8592
8569
  export interface WeldingIotConfigDto {
@@ -9366,8 +9343,7 @@ export interface ProcessMaterialCertificate {
9366
9343
  purchaseOrderLine?: number | null;
9367
9344
  }
9368
9345
  export interface UploadFileCdfDto {
9369
- id?: number | null;
9370
- externalId: string;
9346
+ id: number;
9371
9347
  }
9372
9348
  export interface ImaMaterialCheckReportDto {
9373
9349
  file: FileDto;
@@ -9960,6 +9936,7 @@ export interface UploadRequest {
9960
9936
  filename: string;
9961
9937
  isMarkedDrawing?: boolean | null;
9962
9938
  }
9939
+ export type SchemaFileSlot = "Drawing" | "ProjectFile" | "MarkedDrawing" | "SourceFile";
9963
9940
  export interface MeasurementFormImportStatusDto {
9964
9941
  progress: number;
9965
9942
  totalElements: number;
@@ -10259,6 +10236,13 @@ export interface CountMeasurementFormSchemasRequest {
10259
10236
  withoutCustomer?: boolean | null;
10260
10237
  schemaCreator?: boolean | null;
10261
10238
  }
10239
+ export interface MeasurementFormSchemaFileDto {
10240
+ slot: SchemaFileSlot;
10241
+ title: string;
10242
+ url: string;
10243
+ size?: number | null;
10244
+ lastModified?: Date | null;
10245
+ }
10262
10246
  export interface MeasurementFormSchemaVersionDto {
10263
10247
  id: string;
10264
10248
  versionId: number;
@@ -10427,7 +10411,6 @@ export interface ListMeasurementFormsRequest {
10427
10411
  pageSize?: number | null;
10428
10412
  search?: string | null;
10429
10413
  continuationToken?: string | null;
10430
- tenantId?: string | null;
10431
10414
  inactive?: boolean | null;
10432
10415
  includeInactiveSupplierAccess?: boolean | null;
10433
10416
  }
@@ -10624,7 +10607,6 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
10624
10607
  externalOrderNumber?: string | null;
10625
10608
  }
10626
10609
  export interface ExportDimensionReportV2Request {
10627
- tenantId?: string | null;
10628
10610
  type: DimensionReportType;
10629
10611
  extras?: DimensionReportExtras | null;
10630
10612
  specificSerialNumbers?: string[] | null;
@@ -11071,6 +11053,112 @@ export interface SetDiscussionLastReadRequest {
11071
11053
  operationId?: string | null;
11072
11054
  resourceId?: string | null;
11073
11055
  }
11056
+ export interface CompanyUserDto {
11057
+ companyId: string;
11058
+ userObjectId: string;
11059
+ username?: string | null;
11060
+ name?: string | null;
11061
+ roles: string[];
11062
+ }
11063
+ export interface CreateCompanyUser {
11064
+ username: string;
11065
+ name: string;
11066
+ roles: string[];
11067
+ companyId?: string | null;
11068
+ }
11069
+ export interface UpdateCompanyUserRequest {
11070
+ roles: string[];
11071
+ companyId?: string | null;
11072
+ }
11073
+ export interface ExternalRoleDto {
11074
+ id: string;
11075
+ name: string;
11076
+ }
11077
+ export interface CompanyCustomersDto {
11078
+ customers: CompanyCustomerWithSubdomainDto[];
11079
+ homeEntraTenant?: HomeEntraTenantDto | null;
11080
+ }
11081
+ export interface CompanyCustomerWithSubdomainDto {
11082
+ customer: CompanyCustomerDto;
11083
+ supplierSubdomain?: string | null;
11084
+ }
11085
+ export interface CompanyCustomerDto {
11086
+ customerTenantId?: string | null;
11087
+ customerAzureAdTenantId?: string | null;
11088
+ customerName?: string | null;
11089
+ supplierId?: string | null;
11090
+ supplierName?: string | null;
11091
+ customerIgnosPortalPrefix?: string | null;
11092
+ }
11093
+ export interface HomeEntraTenantDto {
11094
+ entraTenantId: string;
11095
+ isIgnosCustomer: boolean;
11096
+ }
11097
+ export interface CompanyDto {
11098
+ id: string;
11099
+ name: string;
11100
+ organizationNumber?: string | null;
11101
+ country: string;
11102
+ tenantId?: string | null;
11103
+ }
11104
+ export interface SupplierInviteDto {
11105
+ id: string;
11106
+ supplierId: string;
11107
+ threeLetterIsoCountry: string;
11108
+ organizationNumber: string;
11109
+ supplierName?: string | null;
11110
+ userId: string;
11111
+ userName?: string | null;
11112
+ acceptedTimestamp?: Date | null;
11113
+ createdTime: Date;
11114
+ createdBy: string;
11115
+ }
11116
+ export interface CurrentSupplierInviteDto extends SupplierInviteDto {
11117
+ matchingCustomerOrCompany?: MatchingCustomerOrCompany | null;
11118
+ }
11119
+ export interface MatchingCustomerOrCompany {
11120
+ customer?: IgnosCustomerDto | null;
11121
+ company?: CompanyDto | null;
11122
+ companyCustomers?: CompanyCustomerDto[];
11123
+ }
11124
+ export interface IgnosCustomerDto {
11125
+ id: string;
11126
+ name: string;
11127
+ contactPerson: ContactPersonDto;
11128
+ threeLetterIsoCountry: string;
11129
+ organizationNumber: string;
11130
+ country: string;
11131
+ tenants: AvailableTenantDto[];
11132
+ }
11133
+ export interface TenantWithSupplierDto {
11134
+ tenantId: string;
11135
+ customerName: string;
11136
+ supplierTenantEntraId: string;
11137
+ }
11138
+ export interface CreateSupplierInviteRequest {
11139
+ supplierId: string;
11140
+ threeLetterIsoCountry: string;
11141
+ organizationNumber: string;
11142
+ supplierName?: string | null;
11143
+ username: string;
11144
+ invitedName: string;
11145
+ }
11146
+ export interface ExternalSupplierDto {
11147
+ id: string;
11148
+ name: string;
11149
+ companyId: string;
11150
+ active: boolean;
11151
+ }
11152
+ export interface CreateSupplierMapping {
11153
+ companyId: string;
11154
+ existingSupplierId: string;
11155
+ newSupplierId: string;
11156
+ }
11157
+ export interface OrganizationDto {
11158
+ name?: string;
11159
+ postalAddress?: string | null;
11160
+ registeredAddress?: string | null;
11161
+ }
11074
11162
  export type FeatureCollectionType = "FeatureCollection";
11075
11163
  export interface Features {
11076
11164
  type: FeaturesType;