@ignos/api-client 20261105.348.1-alpha → 20261106.349.1-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ignosportal-api.d.ts +150 -332
- package/lib/ignosportal-api.js +47 -344
- package/package.json +1 -1
- package/src/ignosportal-api.ts +186 -659
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -220,24 +220,24 @@ export interface IMachineUtilizationClient {
|
|
|
220
220
|
time zone. The current utilization is calculated starting from the start of the current date offset from UTC
|
|
221
221
|
by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
|
|
222
222
|
client and server
|
|
223
|
-
* @param
|
|
223
|
+
* @param assetExternalId (optional)
|
|
224
224
|
* @param favorites (optional)
|
|
225
225
|
* @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
|
|
226
226
|
* @param utcOffset (optional) Explicit UTC offset for start of today's utilization
|
|
227
227
|
*/
|
|
228
|
-
getMachineUtilizations(
|
|
229
|
-
getMachineUtilization(id:
|
|
228
|
+
getMachineUtilizations(assetExternalId: string | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<UtilizationListDto>;
|
|
229
|
+
getMachineUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
|
|
230
230
|
/**
|
|
231
231
|
* @param startTime (optional)
|
|
232
232
|
* @param endTime (optional)
|
|
233
233
|
* @deprecated
|
|
234
234
|
*/
|
|
235
|
-
getUtilizationDetailsForMachine(id:
|
|
236
|
-
getResourceTimelines(id:
|
|
237
|
-
listMachineStates(id:
|
|
238
|
-
getMachineStatesSummary(id:
|
|
235
|
+
getUtilizationDetailsForMachine(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
236
|
+
getResourceTimelines(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
|
|
237
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
238
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
239
239
|
listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
|
|
240
|
-
listPowerOnUtilizationDatapoints(
|
|
240
|
+
listPowerOnUtilizationDatapoints(externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
|
|
241
241
|
getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
|
|
242
242
|
getProgramTimeline(id: string, startTime: Date | undefined, endTime: Date | undefined): Promise<ProgramDatapoint[]>;
|
|
243
243
|
}
|
|
@@ -254,31 +254,31 @@ export declare class MachineUtilizationClient extends AuthorizedApiBase implemen
|
|
|
254
254
|
time zone. The current utilization is calculated starting from the start of the current date offset from UTC
|
|
255
255
|
by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
|
|
256
256
|
client and server
|
|
257
|
-
* @param
|
|
257
|
+
* @param assetExternalId (optional)
|
|
258
258
|
* @param favorites (optional)
|
|
259
259
|
* @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
|
|
260
260
|
* @param utcOffset (optional) Explicit UTC offset for start of today's utilization
|
|
261
261
|
*/
|
|
262
|
-
getMachineUtilizations(
|
|
262
|
+
getMachineUtilizations(assetExternalId: string | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<UtilizationListDto>;
|
|
263
263
|
protected processGetMachineUtilizations(response: Response): Promise<UtilizationListDto>;
|
|
264
|
-
getMachineUtilization(id:
|
|
264
|
+
getMachineUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<UtilizationDetailsDto>;
|
|
265
265
|
protected processGetMachineUtilization(response: Response): Promise<UtilizationDetailsDto>;
|
|
266
266
|
/**
|
|
267
267
|
* @param startTime (optional)
|
|
268
268
|
* @param endTime (optional)
|
|
269
269
|
* @deprecated
|
|
270
270
|
*/
|
|
271
|
-
getUtilizationDetailsForMachine(id:
|
|
271
|
+
getUtilizationDetailsForMachine(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
272
272
|
protected processGetUtilizationDetailsForMachine(response: Response): Promise<MachineStatesSummaryDto>;
|
|
273
|
-
getResourceTimelines(id:
|
|
273
|
+
getResourceTimelines(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
|
|
274
274
|
protected processGetResourceTimelines(response: Response): Promise<TimelinesDto>;
|
|
275
|
-
listMachineStates(id:
|
|
275
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
276
276
|
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
277
|
-
getMachineStatesSummary(id:
|
|
277
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
278
278
|
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
279
279
|
listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
|
|
280
280
|
protected processListMachineUptimesToday(response: Response): Promise<MachineUptimesAggregateDto>;
|
|
281
|
-
listPowerOnUtilizationDatapoints(
|
|
281
|
+
listPowerOnUtilizationDatapoints(externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
|
|
282
282
|
protected processListPowerOnUtilizationDatapoints(response: Response): Promise<PowerOnUtilizationList>;
|
|
283
283
|
getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
|
|
284
284
|
protected processGetFactoryUtilization(response: Response): Promise<PowerOnUtilizationDto>;
|
|
@@ -293,18 +293,18 @@ export interface IResourceUtilizationClient {
|
|
|
293
293
|
time zone. The current utilization is calculated starting from the start of the current date offset from UTC
|
|
294
294
|
by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
|
|
295
295
|
client and server
|
|
296
|
-
* @param
|
|
296
|
+
* @param assetExternalId (optional)
|
|
297
297
|
* @param favorites (optional)
|
|
298
298
|
* @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
|
|
299
299
|
* @param utcOffset (optional) Explicit UTC offset for start of today's utilization
|
|
300
300
|
*/
|
|
301
|
-
getResourceUtilizations(
|
|
302
|
-
getResourceUtilization(id:
|
|
303
|
-
getResourceTimelines(id:
|
|
304
|
-
listMachineStates(id:
|
|
305
|
-
getMachineStatesSummary(id:
|
|
301
|
+
getResourceUtilizations(assetExternalId: string | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<ResourceUtilizationListDto>;
|
|
302
|
+
getResourceUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<ResourceUtilizationDetailsDto>;
|
|
303
|
+
getResourceTimelines(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
|
|
304
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
305
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
306
306
|
listResourceUptimesToday(request: ListResourceUptimesTodayRequest): Promise<ResourceUptimesAggregateDto>;
|
|
307
|
-
listPowerOnUtilizationDatapoints(
|
|
307
|
+
listPowerOnUtilizationDatapoints(externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
|
|
308
308
|
getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
|
|
309
309
|
getProgramTimeline(id: string, startTime: Date | undefined, endTime: Date | undefined): Promise<ProgramDatapoint[]>;
|
|
310
310
|
}
|
|
@@ -321,24 +321,24 @@ export declare class ResourceUtilizationClient extends AuthorizedApiBase impleme
|
|
|
321
321
|
time zone. The current utilization is calculated starting from the start of the current date offset from UTC
|
|
322
322
|
by the offset used. Pass in utcOffset to avoid problems relating to clock drift between
|
|
323
323
|
client and server
|
|
324
|
-
* @param
|
|
324
|
+
* @param assetExternalId (optional)
|
|
325
325
|
* @param favorites (optional)
|
|
326
326
|
* @param startTimeToday (optional) UTC offset for start of today's utilization is extracted from this value
|
|
327
327
|
* @param utcOffset (optional) Explicit UTC offset for start of today's utilization
|
|
328
328
|
*/
|
|
329
|
-
getResourceUtilizations(
|
|
329
|
+
getResourceUtilizations(assetExternalId: string | null | undefined, favorites: boolean | undefined, startTimeToday: Date | null | undefined, utcOffset: number | null | undefined): Promise<ResourceUtilizationListDto>;
|
|
330
330
|
protected processGetResourceUtilizations(response: Response): Promise<ResourceUtilizationListDto>;
|
|
331
|
-
getResourceUtilization(id:
|
|
331
|
+
getResourceUtilization(id: string, startTime: Date | undefined, endTime: Date | null | undefined): Promise<ResourceUtilizationDetailsDto>;
|
|
332
332
|
protected processGetResourceUtilization(response: Response): Promise<ResourceUtilizationDetailsDto>;
|
|
333
|
-
getResourceTimelines(id:
|
|
333
|
+
getResourceTimelines(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined, filter: TimelineFilterDto | undefined): Promise<TimelinesDto>;
|
|
334
334
|
protected processGetResourceTimelines(response: Response): Promise<TimelinesDto>;
|
|
335
|
-
listMachineStates(id:
|
|
335
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
336
336
|
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
337
|
-
getMachineStatesSummary(id:
|
|
337
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
338
338
|
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
339
339
|
listResourceUptimesToday(request: ListResourceUptimesTodayRequest): Promise<ResourceUptimesAggregateDto>;
|
|
340
340
|
protected processListResourceUptimesToday(response: Response): Promise<ResourceUptimesAggregateDto>;
|
|
341
|
-
listPowerOnUtilizationDatapoints(
|
|
341
|
+
listPowerOnUtilizationDatapoints(externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
|
|
342
342
|
protected processListPowerOnUtilizationDatapoints(response: Response): Promise<PowerOnUtilizationList>;
|
|
343
343
|
getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
|
|
344
344
|
protected processGetFactoryUtilization(response: Response): Promise<PowerOnUtilizationDto>;
|
|
@@ -436,7 +436,7 @@ export declare class UploadClient extends AuthorizedApiBase implements IUploadCl
|
|
|
436
436
|
protected processCreateUploadInfoCdf(response: Response): Promise<UploadInfoCdfDto>;
|
|
437
437
|
}
|
|
438
438
|
export interface ISystemHealthDashboardClient {
|
|
439
|
-
getMachineDataHealth(
|
|
439
|
+
getMachineDataHealth(assetExternalId: string | null | undefined): Promise<DataHealthDto>;
|
|
440
440
|
}
|
|
441
441
|
export declare class SystemHealthDashboardClient extends AuthorizedApiBase implements ISystemHealthDashboardClient {
|
|
442
442
|
private http;
|
|
@@ -444,7 +444,7 @@ export declare class SystemHealthDashboardClient extends AuthorizedApiBase imple
|
|
|
444
444
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
445
445
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
446
446
|
});
|
|
447
|
-
getMachineDataHealth(
|
|
447
|
+
getMachineDataHealth(assetExternalId: string | null | undefined): Promise<DataHealthDto>;
|
|
448
448
|
protected processGetMachineDataHealth(response: Response): Promise<DataHealthDto>;
|
|
449
449
|
}
|
|
450
450
|
export interface IPowerClient {
|
|
@@ -651,7 +651,7 @@ export declare class KpiAdminResourceClient extends AuthorizedApiBase implements
|
|
|
651
651
|
export interface IKpiResourceClient {
|
|
652
652
|
getResourceKpi(resourceExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<ResourceKpiDto>;
|
|
653
653
|
getResourceDailyUptime(resourceExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<ResourceDailyUptimeDto>;
|
|
654
|
-
getUptimeNormalTrend(
|
|
654
|
+
getUptimeNormalTrend(assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
|
|
655
655
|
}
|
|
656
656
|
export declare class KpiResourceClient extends AuthorizedApiBase implements IKpiResourceClient {
|
|
657
657
|
private http;
|
|
@@ -663,7 +663,7 @@ export declare class KpiResourceClient extends AuthorizedApiBase implements IKpi
|
|
|
663
663
|
protected processGetResourceKpi(response: Response): Promise<ResourceKpiDto>;
|
|
664
664
|
getResourceDailyUptime(resourceExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<ResourceDailyUptimeDto>;
|
|
665
665
|
protected processGetResourceDailyUptime(response: Response): Promise<ResourceDailyUptimeDto>;
|
|
666
|
-
getUptimeNormalTrend(
|
|
666
|
+
getUptimeNormalTrend(assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
|
|
667
667
|
protected processGetUptimeNormalTrend(response: Response): Promise<UptimeTrendDataPointDto[]>;
|
|
668
668
|
}
|
|
669
669
|
export interface IResourcesClient {
|
|
@@ -672,13 +672,13 @@ export interface IResourcesClient {
|
|
|
672
672
|
createResourceGroup(request: CreateResourceGroup): Promise<CreateResourceGroupResponse>;
|
|
673
673
|
updateResourceGroup(id: string, request: UpdateResourceGroup): Promise<void>;
|
|
674
674
|
deleteResourceGroup(id: string): Promise<void>;
|
|
675
|
-
listCurrentMachineStates(
|
|
676
|
-
listMachineStates(id:
|
|
677
|
-
listLastDowntimeMachineStates(id:
|
|
678
|
-
getMachineStateWithDowntimePeriods(id:
|
|
679
|
-
getMachineStatesSummary(id:
|
|
675
|
+
listCurrentMachineStates(assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
|
|
676
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
677
|
+
listLastDowntimeMachineStates(id: string, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
678
|
+
getMachineStateWithDowntimePeriods(id: string, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
679
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
680
680
|
listResourceErpData(): Promise<ResourceErpDataListDto>;
|
|
681
|
-
getResourceErpData(id:
|
|
681
|
+
getResourceErpData(id: string): Promise<ResourceErpDataDto>;
|
|
682
682
|
getResourceUtilizationSummary(): Promise<ResourceUtilizationSummaryDto>;
|
|
683
683
|
getCrossCompanyUtilizationSummary(): Promise<CrossCompanyResourceUtilizationSummaryDto>;
|
|
684
684
|
listCurrentResourceOperators(resourceExternalId: string | null | undefined, operatorNameQuery: string | null | undefined): Promise<OperatorAndMachineDto[]>;
|
|
@@ -686,7 +686,7 @@ export interface IResourcesClient {
|
|
|
686
686
|
createResourceWithoutMachine(request: CreateResourceWithoutMachine): Promise<void>;
|
|
687
687
|
createResourceWithResource(request: CreateResourceWithMachine): Promise<void>;
|
|
688
688
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
689
|
-
deleteMachine(id:
|
|
689
|
+
deleteMachine(id: string): Promise<void>;
|
|
690
690
|
/**
|
|
691
691
|
* @deprecated
|
|
692
692
|
*/
|
|
@@ -709,19 +709,19 @@ export declare class ResourcesClient extends AuthorizedApiBase implements IResou
|
|
|
709
709
|
protected processUpdateResourceGroup(response: Response): Promise<void>;
|
|
710
710
|
deleteResourceGroup(id: string): Promise<void>;
|
|
711
711
|
protected processDeleteResourceGroup(response: Response): Promise<void>;
|
|
712
|
-
listCurrentMachineStates(
|
|
712
|
+
listCurrentMachineStates(assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
|
|
713
713
|
protected processListCurrentMachineStates(response: Response): Promise<MachineStateListDto>;
|
|
714
|
-
listMachineStates(id:
|
|
714
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
715
715
|
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
716
|
-
listLastDowntimeMachineStates(id:
|
|
716
|
+
listLastDowntimeMachineStates(id: string, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
717
717
|
protected processListLastDowntimeMachineStates(response: Response): Promise<DowntimeMachineStateDto[]>;
|
|
718
|
-
getMachineStateWithDowntimePeriods(id:
|
|
718
|
+
getMachineStateWithDowntimePeriods(id: string, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
719
719
|
protected processGetMachineStateWithDowntimePeriods(response: Response): Promise<DowntimeMachineStateDto>;
|
|
720
|
-
getMachineStatesSummary(id:
|
|
720
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
721
721
|
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
722
722
|
listResourceErpData(): Promise<ResourceErpDataListDto>;
|
|
723
723
|
protected processListResourceErpData(response: Response): Promise<ResourceErpDataListDto>;
|
|
724
|
-
getResourceErpData(id:
|
|
724
|
+
getResourceErpData(id: string): Promise<ResourceErpDataDto>;
|
|
725
725
|
protected processGetResourceErpData(response: Response): Promise<ResourceErpDataDto>;
|
|
726
726
|
getResourceUtilizationSummary(): Promise<ResourceUtilizationSummaryDto>;
|
|
727
727
|
protected processGetResourceUtilizationSummary(response: Response): Promise<ResourceUtilizationSummaryDto>;
|
|
@@ -737,7 +737,7 @@ export declare class ResourcesClient extends AuthorizedApiBase implements IResou
|
|
|
737
737
|
protected processCreateResourceWithResource(response: Response): Promise<void>;
|
|
738
738
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
739
739
|
protected processCreateResourceInResourceGroup(response: Response): Promise<void>;
|
|
740
|
-
deleteMachine(id:
|
|
740
|
+
deleteMachine(id: string): Promise<void>;
|
|
741
741
|
protected processDeleteMachine(response: Response): Promise<void>;
|
|
742
742
|
/**
|
|
743
743
|
* @deprecated
|
|
@@ -849,11 +849,10 @@ export interface IUtilizationClient {
|
|
|
849
849
|
* @param startTime (optional)
|
|
850
850
|
* @param endTime (optional)
|
|
851
851
|
* @param ianaTimeZone (optional)
|
|
852
|
-
* @param assetId (optional)
|
|
853
852
|
* @param assetExternalId (optional)
|
|
854
853
|
* @deprecated
|
|
855
854
|
*/
|
|
856
|
-
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined,
|
|
855
|
+
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
857
856
|
getCompanyUtilizationDatapoints(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
858
857
|
/**
|
|
859
858
|
* @param utilizationType (optional)
|
|
@@ -865,7 +864,7 @@ export interface IUtilizationClient {
|
|
|
865
864
|
getCrossCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyUtilizationDatapointListDto>;
|
|
866
865
|
getCompanyResourceUtilization(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyResourceUtilizationDto>;
|
|
867
866
|
getCrossCompanyResourceUtilization(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyResourceUtilizationDto>;
|
|
868
|
-
getResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined,
|
|
867
|
+
getResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetExternalId: string | null | undefined): Promise<ResourceUtilizationDatapointListDto>;
|
|
869
868
|
getCompanyResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
870
869
|
getCrossCompanyResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyResourceUtilizationDatapointListDto>;
|
|
871
870
|
}
|
|
@@ -891,11 +890,10 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
|
|
|
891
890
|
* @param startTime (optional)
|
|
892
891
|
* @param endTime (optional)
|
|
893
892
|
* @param ianaTimeZone (optional)
|
|
894
|
-
* @param assetId (optional)
|
|
895
893
|
* @param assetExternalId (optional)
|
|
896
894
|
* @deprecated
|
|
897
895
|
*/
|
|
898
|
-
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined,
|
|
896
|
+
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
899
897
|
protected processGetUtilizationDatapoints(response: Response): Promise<MachineUtilizationDatapointListDto>;
|
|
900
898
|
getCompanyUtilizationDatapoints(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
901
899
|
protected processGetCompanyUtilizationDatapoints(response: Response): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
@@ -912,7 +910,7 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
|
|
|
912
910
|
protected processGetCompanyResourceUtilization(response: Response): Promise<CompanyResourceUtilizationDto>;
|
|
913
911
|
getCrossCompanyResourceUtilization(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyResourceUtilizationDto>;
|
|
914
912
|
protected processGetCrossCompanyResourceUtilization(response: Response): Promise<CrossCompanyResourceUtilizationDto>;
|
|
915
|
-
getResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined,
|
|
913
|
+
getResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetExternalId: string | null | undefined): Promise<ResourceUtilizationDatapointListDto>;
|
|
916
914
|
protected processGetResourceUtilizationDatapoints(response: Response): Promise<ResourceUtilizationDatapointListDto>;
|
|
917
915
|
getCompanyResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
918
916
|
protected processGetCompanyResourceUtilizationDatapoints(response: Response): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
@@ -1391,7 +1389,7 @@ export declare class KpiAdminClient extends AuthorizedApiBase implements IKpiAdm
|
|
|
1391
1389
|
export interface IKpiClient {
|
|
1392
1390
|
getMachineKpi(machineExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<MachineKpiDto>;
|
|
1393
1391
|
getMachineDailyUptime(machineExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<MachineDailyUptimeDto>;
|
|
1394
|
-
getUptimeNormalTrend(
|
|
1392
|
+
getUptimeNormalTrend(assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
|
|
1395
1393
|
}
|
|
1396
1394
|
export declare class KpiClient extends AuthorizedApiBase implements IKpiClient {
|
|
1397
1395
|
private http;
|
|
@@ -1403,7 +1401,7 @@ export declare class KpiClient extends AuthorizedApiBase implements IKpiClient {
|
|
|
1403
1401
|
protected processGetMachineKpi(response: Response): Promise<MachineKpiDto>;
|
|
1404
1402
|
getMachineDailyUptime(machineExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<MachineDailyUptimeDto>;
|
|
1405
1403
|
protected processGetMachineDailyUptime(response: Response): Promise<MachineDailyUptimeDto>;
|
|
1406
|
-
getUptimeNormalTrend(
|
|
1404
|
+
getUptimeNormalTrend(assetExternalId: string | null | undefined, date: Date | null | undefined, utcOffset: number | null | undefined): Promise<UptimeTrendDataPointDto[]>;
|
|
1407
1405
|
protected processGetUptimeNormalTrend(response: Response): Promise<UptimeTrendDataPointDto[]>;
|
|
1408
1406
|
}
|
|
1409
1407
|
export interface IMachinesClient {
|
|
@@ -1412,13 +1410,13 @@ export interface IMachinesClient {
|
|
|
1412
1410
|
createMachineGroup(request: CreateMachineGroup): Promise<CreateMachineGroupResponse>;
|
|
1413
1411
|
updateMachineGroup(id: string, request: UpdateMachineGroup): Promise<void>;
|
|
1414
1412
|
deleteMachineGroup(id: string): Promise<void>;
|
|
1415
|
-
listCurrentMachineStates(
|
|
1416
|
-
listMachineStates(id:
|
|
1417
|
-
listLastDowntimeMachineStates(id:
|
|
1418
|
-
getMachineStateWithDowntimePeriods(id:
|
|
1419
|
-
getMachineStatesSummary(id:
|
|
1413
|
+
listCurrentMachineStates(assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
|
|
1414
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
1415
|
+
listLastDowntimeMachineStates(id: string, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
1416
|
+
getMachineStateWithDowntimePeriods(id: string, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
1417
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
1420
1418
|
listMachineErpData(): Promise<MachineErpDataListDto>;
|
|
1421
|
-
getMachineErpData(id:
|
|
1419
|
+
getMachineErpData(id: string): Promise<MachineErpDataDto>;
|
|
1422
1420
|
/**
|
|
1423
1421
|
* @param startTime (optional)
|
|
1424
1422
|
* @param endTime (optional)
|
|
@@ -1432,7 +1430,7 @@ export interface IMachinesClient {
|
|
|
1432
1430
|
createResourceWithoutMachine(request: CreateResourceWithoutMachine): Promise<void>;
|
|
1433
1431
|
createResourceWithMachine(request: CreateResourceWithMachine): Promise<void>;
|
|
1434
1432
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
1435
|
-
deleteMachine(id:
|
|
1433
|
+
deleteMachine(id: string): Promise<void>;
|
|
1436
1434
|
}
|
|
1437
1435
|
export declare class MachinesClient extends AuthorizedApiBase implements IMachinesClient {
|
|
1438
1436
|
private http;
|
|
@@ -1450,19 +1448,19 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
|
|
|
1450
1448
|
protected processUpdateMachineGroup(response: Response): Promise<void>;
|
|
1451
1449
|
deleteMachineGroup(id: string): Promise<void>;
|
|
1452
1450
|
protected processDeleteMachineGroup(response: Response): Promise<void>;
|
|
1453
|
-
listCurrentMachineStates(
|
|
1451
|
+
listCurrentMachineStates(assetExternalId: string | null | undefined): Promise<MachineStateListDto>;
|
|
1454
1452
|
protected processListCurrentMachineStates(response: Response): Promise<MachineStateListDto>;
|
|
1455
|
-
listMachineStates(id:
|
|
1453
|
+
listMachineStates(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStateDatapoint[]>;
|
|
1456
1454
|
protected processListMachineStates(response: Response): Promise<MachineStateDatapoint[]>;
|
|
1457
|
-
listLastDowntimeMachineStates(id:
|
|
1455
|
+
listLastDowntimeMachineStates(id: string, endTime: Date | null | undefined, maxStates: number | null | undefined): Promise<DowntimeMachineStateDto[]>;
|
|
1458
1456
|
protected processListLastDowntimeMachineStates(response: Response): Promise<DowntimeMachineStateDto[]>;
|
|
1459
|
-
getMachineStateWithDowntimePeriods(id:
|
|
1457
|
+
getMachineStateWithDowntimePeriods(id: string, timestamp: number | undefined): Promise<DowntimeMachineStateDto>;
|
|
1460
1458
|
protected processGetMachineStateWithDowntimePeriods(response: Response): Promise<DowntimeMachineStateDto>;
|
|
1461
|
-
getMachineStatesSummary(id:
|
|
1459
|
+
getMachineStatesSummary(id: string, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<MachineStatesSummaryDto>;
|
|
1462
1460
|
protected processGetMachineStatesSummary(response: Response): Promise<MachineStatesSummaryDto>;
|
|
1463
1461
|
listMachineErpData(): Promise<MachineErpDataListDto>;
|
|
1464
1462
|
protected processListMachineErpData(response: Response): Promise<MachineErpDataListDto>;
|
|
1465
|
-
getMachineErpData(id:
|
|
1463
|
+
getMachineErpData(id: string): Promise<MachineErpDataDto>;
|
|
1466
1464
|
protected processGetMachineErpData(response: Response): Promise<MachineErpDataDto>;
|
|
1467
1465
|
/**
|
|
1468
1466
|
* @param startTime (optional)
|
|
@@ -1485,13 +1483,13 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
|
|
|
1485
1483
|
protected processCreateResourceWithMachine(response: Response): Promise<void>;
|
|
1486
1484
|
createResourceInResourceGroup(request: CreateResourceInResourceGroup): Promise<void>;
|
|
1487
1485
|
protected processCreateResourceInResourceGroup(response: Response): Promise<void>;
|
|
1488
|
-
deleteMachine(id:
|
|
1486
|
+
deleteMachine(id: string): Promise<void>;
|
|
1489
1487
|
protected processDeleteMachine(response: Response): Promise<void>;
|
|
1490
1488
|
}
|
|
1491
1489
|
export interface IMachineDataClient {
|
|
1492
|
-
getLiveMachineData(
|
|
1493
|
-
getTimeseriesGraph(
|
|
1494
|
-
exportTimeseriesGraph(
|
|
1490
|
+
getLiveMachineData(assetExternalId: string, externalIds: string[] | undefined): Promise<LiveMachineDataDto>;
|
|
1491
|
+
getTimeseriesGraph(assetExternalId: string, externalIds: string[] | undefined, startTime: Date | undefined, endTime: Date | undefined): Promise<TimeseriesGraphDto>;
|
|
1492
|
+
exportTimeseriesGraph(assetExternalId: string, request: ExportTimeseriesGraphRequest): Promise<DownloadDto>;
|
|
1495
1493
|
}
|
|
1496
1494
|
export declare class MachineDataClient extends AuthorizedApiBase implements IMachineDataClient {
|
|
1497
1495
|
private http;
|
|
@@ -1499,11 +1497,11 @@ export declare class MachineDataClient extends AuthorizedApiBase implements IMac
|
|
|
1499
1497
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1500
1498
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1501
1499
|
});
|
|
1502
|
-
getLiveMachineData(
|
|
1500
|
+
getLiveMachineData(assetExternalId: string, externalIds: string[] | undefined): Promise<LiveMachineDataDto>;
|
|
1503
1501
|
protected processGetLiveMachineData(response: Response): Promise<LiveMachineDataDto>;
|
|
1504
|
-
getTimeseriesGraph(
|
|
1502
|
+
getTimeseriesGraph(assetExternalId: string, externalIds: string[] | undefined, startTime: Date | undefined, endTime: Date | undefined): Promise<TimeseriesGraphDto>;
|
|
1505
1503
|
protected processGetTimeseriesGraph(response: Response): Promise<TimeseriesGraphDto>;
|
|
1506
|
-
exportTimeseriesGraph(
|
|
1504
|
+
exportTimeseriesGraph(assetExternalId: string, request: ExportTimeseriesGraphRequest): Promise<DownloadDto>;
|
|
1507
1505
|
protected processExportTimeseriesGraph(response: Response): Promise<DownloadDto>;
|
|
1508
1506
|
}
|
|
1509
1507
|
export interface ILinksClient {
|
|
@@ -2046,9 +2044,9 @@ export interface IAssetsClient {
|
|
|
2046
2044
|
listAssets(externalIdprefix: string | null | undefined, name: string | null | undefined, source: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfAssetDto>;
|
|
2047
2045
|
createAsset(createAsset: CreateAsset): Promise<AssetDto>;
|
|
2048
2046
|
searchAssets(name: string | null | undefined, description: string | null | undefined, limit: number | undefined): Promise<AssetDto[]>;
|
|
2049
|
-
getAssetById(id:
|
|
2050
|
-
updateAsset(id:
|
|
2051
|
-
getAssetStructureById(id:
|
|
2047
|
+
getAssetById(id: string): Promise<AssetDto>;
|
|
2048
|
+
updateAsset(id: string, request: UpdateAssetRequest): Promise<AssetDto>;
|
|
2049
|
+
getAssetStructureById(id: string): Promise<AssetStructureDto>;
|
|
2052
2050
|
/**
|
|
2053
2051
|
* @deprecated
|
|
2054
2052
|
*/
|
|
@@ -2066,11 +2064,11 @@ export declare class AssetsClient extends AuthorizedApiBase implements IAssetsCl
|
|
|
2066
2064
|
protected processCreateAsset(response: Response): Promise<AssetDto>;
|
|
2067
2065
|
searchAssets(name: string | null | undefined, description: string | null | undefined, limit: number | undefined): Promise<AssetDto[]>;
|
|
2068
2066
|
protected processSearchAssets(response: Response): Promise<AssetDto[]>;
|
|
2069
|
-
getAssetById(id:
|
|
2067
|
+
getAssetById(id: string): Promise<AssetDto>;
|
|
2070
2068
|
protected processGetAssetById(response: Response): Promise<AssetDto>;
|
|
2071
|
-
updateAsset(id:
|
|
2069
|
+
updateAsset(id: string, request: UpdateAssetRequest): Promise<AssetDto>;
|
|
2072
2070
|
protected processUpdateAsset(response: Response): Promise<AssetDto>;
|
|
2073
|
-
getAssetStructureById(id:
|
|
2071
|
+
getAssetStructureById(id: string): Promise<AssetStructureDto>;
|
|
2074
2072
|
protected processGetAssetStructureById(response: Response): Promise<AssetStructureDto>;
|
|
2075
2073
|
/**
|
|
2076
2074
|
* @deprecated
|
|
@@ -2150,23 +2148,17 @@ export declare class CdfClient extends AuthorizedApiBase implements ICdfClient {
|
|
|
2150
2148
|
updateCdfConfig(request: UpdateCdfConfig): Promise<CdfConfigDto>;
|
|
2151
2149
|
protected processUpdateCdfConfig(response: Response): Promise<CdfConfigDto>;
|
|
2152
2150
|
}
|
|
2153
|
-
export interface
|
|
2154
|
-
|
|
2155
|
-
* One-off: flags the current tenant's schema versions that have a schema creator document.
|
|
2156
|
-
*/
|
|
2157
|
-
backfillSchemaCreatorFlags(): Promise<SchemaCreatorFlagBackfillDto>;
|
|
2151
|
+
export interface IWorkspaceMigrationAdminClient {
|
|
2152
|
+
migrateAssetIds(dryRun: boolean | undefined): Promise<MigrateWorkspaceAssetIdsResultDto>;
|
|
2158
2153
|
}
|
|
2159
|
-
export declare class
|
|
2154
|
+
export declare class WorkspaceMigrationAdminClient extends AuthorizedApiBase implements IWorkspaceMigrationAdminClient {
|
|
2160
2155
|
private http;
|
|
2161
2156
|
private baseUrl;
|
|
2162
2157
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
2163
2158
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2164
2159
|
});
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
*/
|
|
2168
|
-
backfillSchemaCreatorFlags(): Promise<SchemaCreatorFlagBackfillDto>;
|
|
2169
|
-
protected processBackfillSchemaCreatorFlags(response: Response): Promise<SchemaCreatorFlagBackfillDto>;
|
|
2160
|
+
migrateAssetIds(dryRun: boolean | undefined): Promise<MigrateWorkspaceAssetIdsResultDto>;
|
|
2161
|
+
protected processMigrateAssetIds(response: Response): Promise<MigrateWorkspaceAssetIdsResultDto>;
|
|
2170
2162
|
}
|
|
2171
2163
|
export interface IWorkspaceDefaultsAdminClient {
|
|
2172
2164
|
getDefaults(): Promise<WorkspaceDefaultsDto>;
|
|
@@ -3312,10 +3304,8 @@ export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase
|
|
|
3312
3304
|
}
|
|
3313
3305
|
export interface IMeasurementFormSchemasClient {
|
|
3314
3306
|
getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
3315
|
-
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<
|
|
3316
|
-
postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto>;
|
|
3307
|
+
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
3317
3308
|
listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
3318
|
-
listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]>;
|
|
3319
3309
|
listMeasurementFormSchemaVersionChanges(id: string): Promise<MeasurementFormSchemaVersionChangesDto[]>;
|
|
3320
3310
|
listFrequencies(): Promise<MeasurementFrequencyDto[]>;
|
|
3321
3311
|
/**
|
|
@@ -3339,14 +3329,10 @@ export declare class MeasurementFormSchemasClient extends AuthorizedApiBase impl
|
|
|
3339
3329
|
});
|
|
3340
3330
|
getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
3341
3331
|
protected processGetMeasurementFormSchema(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3342
|
-
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<
|
|
3343
|
-
protected processPostListMeasurementFormSchemas(response: Response): Promise<
|
|
3344
|
-
postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto>;
|
|
3345
|
-
protected processPostCountMeasurementFormSchemas(response: Response): Promise<MeasurementFormSchemaCountsDto>;
|
|
3332
|
+
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
3333
|
+
protected processPostListMeasurementFormSchemas(response: Response): Promise<PagedResultOfMeasurementFormListDto>;
|
|
3346
3334
|
listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
3347
3335
|
protected processListMeasurementFormSchemaVersions(response: Response): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
3348
|
-
listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]>;
|
|
3349
|
-
protected processListMeasurementFormSchemaInstances(response: Response): Promise<MeasurementFormSchemaInstanceDto[]>;
|
|
3350
3336
|
listMeasurementFormSchemaVersionChanges(id: string): Promise<MeasurementFormSchemaVersionChangesDto[]>;
|
|
3351
3337
|
protected processListMeasurementFormSchemaVersionChanges(response: Response): Promise<MeasurementFormSchemaVersionChangesDto[]>;
|
|
3352
3338
|
listFrequencies(): Promise<MeasurementFrequencyDto[]>;
|
|
@@ -3489,22 +3475,11 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
3489
3475
|
}
|
|
3490
3476
|
export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
3491
3477
|
createMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3492
|
-
/**
|
|
3493
|
-
* @deprecated
|
|
3494
|
-
*/
|
|
3495
3478
|
updateMeasurementFormInstance(id: string, request: UpdateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3496
3479
|
listMeasurementFormsByStatus(status: MeasurementFormInstanceStatus | undefined, statusChangedSince: Date | null | undefined, onlyWithReports: boolean | null | undefined, pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
3497
3480
|
postListMeasurementFormsByStatus(request: ListMeasurementFormsByStatusRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
3498
3481
|
deleteInstancesBulk(request: DeleteMeasurementFormsInstancesBulkRequest): Promise<void>;
|
|
3499
|
-
postCountMeasurementFormsByStatus(request: CountMeasurementFormInstancesRequest | undefined): Promise<MeasurementFormInstanceCountsDto>;
|
|
3500
|
-
postListMeasurementFormsByStatusV2(request: ListMeasurementFormsByStatusesRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
3501
3482
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3502
|
-
editMeasurementFormInstance(id: string, request: EditMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3503
|
-
/**
|
|
3504
|
-
* What saving the edited serial numbers would do to them and their measurements, without saving.
|
|
3505
|
-
*/
|
|
3506
|
-
previewMeasurementFormInstanceEdit(id: string, request: PreviewMeasurementFormInstanceEditRequest): Promise<SerialNumberEditPreviewDto>;
|
|
3507
|
-
getSerialNumberMeasurements(id: string): Promise<SerialNumberMeasurementsDto[]>;
|
|
3508
3483
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3509
3484
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3510
3485
|
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
@@ -3517,9 +3492,6 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
|
|
|
3517
3492
|
});
|
|
3518
3493
|
createMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3519
3494
|
protected processCreateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3520
|
-
/**
|
|
3521
|
-
* @deprecated
|
|
3522
|
-
*/
|
|
3523
3495
|
updateMeasurementFormInstance(id: string, request: UpdateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3524
3496
|
protected processUpdateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3525
3497
|
listMeasurementFormsByStatus(status: MeasurementFormInstanceStatus | undefined, statusChangedSince: Date | null | undefined, onlyWithReports: boolean | null | undefined, pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
@@ -3528,21 +3500,8 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
|
|
|
3528
3500
|
protected processPostListMeasurementFormsByStatus(response: Response): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
3529
3501
|
deleteInstancesBulk(request: DeleteMeasurementFormsInstancesBulkRequest): Promise<void>;
|
|
3530
3502
|
protected processDeleteInstancesBulk(response: Response): Promise<void>;
|
|
3531
|
-
postCountMeasurementFormsByStatus(request: CountMeasurementFormInstancesRequest | undefined): Promise<MeasurementFormInstanceCountsDto>;
|
|
3532
|
-
protected processPostCountMeasurementFormsByStatus(response: Response): Promise<MeasurementFormInstanceCountsDto>;
|
|
3533
|
-
postListMeasurementFormsByStatusV2(request: ListMeasurementFormsByStatusesRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
3534
|
-
protected processPostListMeasurementFormsByStatusV2(response: Response): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
3535
3503
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3536
3504
|
protected processCreateMeasurementFormInstance2(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3537
|
-
editMeasurementFormInstance(id: string, request: EditMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3538
|
-
protected processEditMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3539
|
-
/**
|
|
3540
|
-
* What saving the edited serial numbers would do to them and their measurements, without saving.
|
|
3541
|
-
*/
|
|
3542
|
-
previewMeasurementFormInstanceEdit(id: string, request: PreviewMeasurementFormInstanceEditRequest): Promise<SerialNumberEditPreviewDto>;
|
|
3543
|
-
protected processPreviewMeasurementFormInstanceEdit(response: Response): Promise<SerialNumberEditPreviewDto>;
|
|
3544
|
-
getSerialNumberMeasurements(id: string): Promise<SerialNumberMeasurementsDto[]>;
|
|
3545
|
-
protected processGetSerialNumberMeasurements(response: Response): Promise<SerialNumberMeasurementsDto[]>;
|
|
3546
3505
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3547
3506
|
protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3548
3507
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
@@ -3991,7 +3950,7 @@ export interface UtilizationListDto {
|
|
|
3991
3950
|
machines?: MachineUtilizationDto[] | null;
|
|
3992
3951
|
}
|
|
3993
3952
|
export interface MachineUtilizationDto {
|
|
3994
|
-
|
|
3953
|
+
assetExternalId: string;
|
|
3995
3954
|
name: string;
|
|
3996
3955
|
description?: string | null;
|
|
3997
3956
|
state: string;
|
|
@@ -4032,7 +3991,7 @@ export interface PowerOnUtilizationDto extends UtilizationAveragesDto {
|
|
|
4032
3991
|
comparedToAverage?: number | null;
|
|
4033
3992
|
}
|
|
4034
3993
|
export interface UtilizationDetailsDto {
|
|
4035
|
-
machineId:
|
|
3994
|
+
machineId: string;
|
|
4036
3995
|
machineName: string;
|
|
4037
3996
|
machineStateText?: string | null;
|
|
4038
3997
|
machineState?: MachineState | null;
|
|
@@ -4133,7 +4092,7 @@ export interface PowerOnUtilizationList {
|
|
|
4133
4092
|
}
|
|
4134
4093
|
export interface Machine {
|
|
4135
4094
|
externalId?: string;
|
|
4136
|
-
id?: number;
|
|
4095
|
+
id?: number | null;
|
|
4137
4096
|
name?: string;
|
|
4138
4097
|
description?: string | null;
|
|
4139
4098
|
datapoints?: NumericNullableValueWithTimestamp[];
|
|
@@ -4146,7 +4105,7 @@ export interface ResourceUtilizationListDto {
|
|
|
4146
4105
|
resources?: ResourceUtilizationDto[] | null;
|
|
4147
4106
|
}
|
|
4148
4107
|
export interface ResourceUtilizationDto {
|
|
4149
|
-
|
|
4108
|
+
assetExternalId: string;
|
|
4150
4109
|
name: string;
|
|
4151
4110
|
description?: string | null;
|
|
4152
4111
|
state: string;
|
|
@@ -4156,7 +4115,7 @@ export interface ResourceUtilizationDto {
|
|
|
4156
4115
|
powerOn?: PowerOnUtilizationDto | null;
|
|
4157
4116
|
}
|
|
4158
4117
|
export interface ResourceUtilizationDetailsDto {
|
|
4159
|
-
resourceId:
|
|
4118
|
+
resourceId: string;
|
|
4160
4119
|
resourceName: string;
|
|
4161
4120
|
machineStateText?: string | null;
|
|
4162
4121
|
machineState?: MachineState | null;
|
|
@@ -4244,6 +4203,7 @@ export interface UploadInfoDto {
|
|
|
4244
4203
|
accessKey?: string | null;
|
|
4245
4204
|
}
|
|
4246
4205
|
export interface UploadInfoCdfDto {
|
|
4206
|
+
externalId: string;
|
|
4247
4207
|
id: number;
|
|
4248
4208
|
url: string;
|
|
4249
4209
|
}
|
|
@@ -4254,7 +4214,7 @@ export interface DataHealthDto {
|
|
|
4254
4214
|
machines?: MachineDataHealthDto[] | null;
|
|
4255
4215
|
}
|
|
4256
4216
|
export interface MachineDataHealthDto {
|
|
4257
|
-
|
|
4217
|
+
assetExternalId: string;
|
|
4258
4218
|
name: string;
|
|
4259
4219
|
description?: string | null;
|
|
4260
4220
|
state?: string | null;
|
|
@@ -4271,7 +4231,7 @@ export interface PowerRegionDto {
|
|
|
4271
4231
|
description?: string | null;
|
|
4272
4232
|
}
|
|
4273
4233
|
export interface ConsumptionDto {
|
|
4274
|
-
|
|
4234
|
+
assetExternalId: string;
|
|
4275
4235
|
assetName: string;
|
|
4276
4236
|
kwh: number;
|
|
4277
4237
|
co2Equivalent?: number | null;
|
|
@@ -4279,16 +4239,16 @@ export interface ConsumptionDto {
|
|
|
4279
4239
|
items?: AssetConsumptionDto[] | null;
|
|
4280
4240
|
}
|
|
4281
4241
|
export interface AssetConsumptionDto {
|
|
4282
|
-
|
|
4242
|
+
timeseriesExternalId: string;
|
|
4283
4243
|
timeseriesName: string;
|
|
4284
4244
|
kwh: number;
|
|
4285
|
-
|
|
4245
|
+
assetExternalId: string;
|
|
4286
4246
|
assetName: string;
|
|
4287
4247
|
co2Equivalent?: number | null;
|
|
4288
4248
|
co2EquivalentNotAdjustedForLocalProduction?: number | null;
|
|
4289
4249
|
}
|
|
4290
4250
|
export interface GetConsumption {
|
|
4291
|
-
|
|
4251
|
+
assetExternalId?: string | null;
|
|
4292
4252
|
start?: Date | null;
|
|
4293
4253
|
end?: Date | null;
|
|
4294
4254
|
}
|
|
@@ -4297,9 +4257,9 @@ export interface PowerDto {
|
|
|
4297
4257
|
assets?: AssetPowerDto[] | null;
|
|
4298
4258
|
}
|
|
4299
4259
|
export interface AssetPowerDto {
|
|
4300
|
-
|
|
4260
|
+
timeseriesExternalId?: string | null;
|
|
4301
4261
|
timeseriesName?: string | null;
|
|
4302
|
-
|
|
4262
|
+
assetExternalId?: string | null;
|
|
4303
4263
|
assetName?: string | null;
|
|
4304
4264
|
timeSeriesDataPoints?: NumericDataPointDto[] | null;
|
|
4305
4265
|
}
|
|
@@ -4311,7 +4271,7 @@ export interface NumericDataPointDto {
|
|
|
4311
4271
|
max?: number | null;
|
|
4312
4272
|
}
|
|
4313
4273
|
export interface GetPower {
|
|
4314
|
-
|
|
4274
|
+
assetExternalId: string;
|
|
4315
4275
|
granularity?: string | null;
|
|
4316
4276
|
start?: Date | null;
|
|
4317
4277
|
end?: Date | null;
|
|
@@ -4731,7 +4691,7 @@ export interface UptimeTrendDataPointDto {
|
|
|
4731
4691
|
uptime: number;
|
|
4732
4692
|
}
|
|
4733
4693
|
export interface ApplicationResourcesResourceDto {
|
|
4734
|
-
id
|
|
4694
|
+
id?: number | null;
|
|
4735
4695
|
externalId: string;
|
|
4736
4696
|
name: string;
|
|
4737
4697
|
description?: string | null;
|
|
@@ -4749,7 +4709,6 @@ export interface ApplicationResourcesResourceGroupDto {
|
|
|
4749
4709
|
resources: ResourceGroupMemberDto[];
|
|
4750
4710
|
}
|
|
4751
4711
|
export interface ResourceGroupMemberDto {
|
|
4752
|
-
id: number;
|
|
4753
4712
|
externalId: string;
|
|
4754
4713
|
name: string;
|
|
4755
4714
|
description?: string | null;
|
|
@@ -4771,7 +4730,7 @@ export interface MachineStateListDto {
|
|
|
4771
4730
|
machines?: MachineStateDto[] | null;
|
|
4772
4731
|
}
|
|
4773
4732
|
export interface MachineStateDto {
|
|
4774
|
-
|
|
4733
|
+
assetExternalId: string;
|
|
4775
4734
|
name: string;
|
|
4776
4735
|
description?: string | null;
|
|
4777
4736
|
state: string;
|
|
@@ -4787,7 +4746,7 @@ export interface ResourceErpDataListDto {
|
|
|
4787
4746
|
resources: SingleResourceErpDataListDto[];
|
|
4788
4747
|
}
|
|
4789
4748
|
export interface SingleResourceErpDataListDto {
|
|
4790
|
-
|
|
4749
|
+
assetExternalId: string;
|
|
4791
4750
|
name: string;
|
|
4792
4751
|
description?: string;
|
|
4793
4752
|
activeOrders: ResourceErpDataDto[];
|
|
@@ -4897,7 +4856,7 @@ export interface ResourceGroupUtilizationDto {
|
|
|
4897
4856
|
resources: ResourceUtilizationV2Dto[];
|
|
4898
4857
|
}
|
|
4899
4858
|
export interface ResourceUtilizationV2Dto {
|
|
4900
|
-
id?: number;
|
|
4859
|
+
id?: number | null;
|
|
4901
4860
|
name: string;
|
|
4902
4861
|
description?: string | null;
|
|
4903
4862
|
utilization: UtilizationDto;
|
|
@@ -4913,7 +4872,7 @@ export interface OperatorAndMachineDto {
|
|
|
4913
4872
|
resource?: ApplicationResourcesResourceDto | null;
|
|
4914
4873
|
}
|
|
4915
4874
|
export interface MachineDto {
|
|
4916
|
-
id
|
|
4875
|
+
id?: number | null;
|
|
4917
4876
|
externalId: string;
|
|
4918
4877
|
name: string;
|
|
4919
4878
|
description?: string | null;
|
|
@@ -5116,7 +5075,8 @@ export interface ResourceGroupUtilizationV2Dto {
|
|
|
5116
5075
|
resources: ResourceUtilizationV3Dto[];
|
|
5117
5076
|
}
|
|
5118
5077
|
export interface ResourceUtilizationV3Dto {
|
|
5119
|
-
id?: number;
|
|
5078
|
+
id?: number | null;
|
|
5079
|
+
externalId: string;
|
|
5120
5080
|
name: string;
|
|
5121
5081
|
description?: string | null;
|
|
5122
5082
|
utilization: UtilizationDetailsV2Dto;
|
|
@@ -5150,7 +5110,7 @@ export interface MachineGroupUtilizationV2Dto {
|
|
|
5150
5110
|
machines: MachineUtilizationV3Dto[];
|
|
5151
5111
|
}
|
|
5152
5112
|
export interface MachineUtilizationV3Dto {
|
|
5153
|
-
id?: number;
|
|
5113
|
+
id?: number | null;
|
|
5154
5114
|
name: string;
|
|
5155
5115
|
description?: string | null;
|
|
5156
5116
|
utilization: UtilizationDetailsV2Dto;
|
|
@@ -5162,7 +5122,7 @@ export interface UtilizationDatapointListDto {
|
|
|
5162
5122
|
}
|
|
5163
5123
|
export interface MachineUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
5164
5124
|
externalId: string;
|
|
5165
|
-
id
|
|
5125
|
+
id?: number | null;
|
|
5166
5126
|
name: string;
|
|
5167
5127
|
description?: string | null;
|
|
5168
5128
|
}
|
|
@@ -5177,7 +5137,7 @@ export interface ResourceGroupUtilizationDatapointListDto extends UtilizationDat
|
|
|
5177
5137
|
}
|
|
5178
5138
|
export interface ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
5179
5139
|
externalId: string;
|
|
5180
|
-
id
|
|
5140
|
+
id?: number | null;
|
|
5181
5141
|
name: string;
|
|
5182
5142
|
description?: string | null;
|
|
5183
5143
|
}
|
|
@@ -6124,7 +6084,6 @@ export interface MachineGroupDto {
|
|
|
6124
6084
|
machines: MachineGroupMemberDto[];
|
|
6125
6085
|
}
|
|
6126
6086
|
export interface MachineGroupMemberDto {
|
|
6127
|
-
id: number;
|
|
6128
6087
|
externalId: string;
|
|
6129
6088
|
name: string;
|
|
6130
6089
|
description?: string | null;
|
|
@@ -6146,7 +6105,7 @@ export interface MachineErpDataListDto {
|
|
|
6146
6105
|
machines: SingleMachineErpDataListDto[];
|
|
6147
6106
|
}
|
|
6148
6107
|
export interface SingleMachineErpDataListDto {
|
|
6149
|
-
|
|
6108
|
+
assetExternalId: string;
|
|
6150
6109
|
name: string;
|
|
6151
6110
|
description?: string;
|
|
6152
6111
|
activeOrders: MachineErpDataDto[];
|
|
@@ -6180,7 +6139,7 @@ export interface MachineGroupUtilizationDto {
|
|
|
6180
6139
|
machines: MachineUtilizationV2Dto[];
|
|
6181
6140
|
}
|
|
6182
6141
|
export interface MachineUtilizationV2Dto {
|
|
6183
|
-
id?: number;
|
|
6142
|
+
id?: number | null;
|
|
6184
6143
|
name: string;
|
|
6185
6144
|
description?: string | null;
|
|
6186
6145
|
utilization: UtilizationDto;
|
|
@@ -6190,7 +6149,7 @@ export interface CrossCompanyUtilizationSummaryDto {
|
|
|
6190
6149
|
companies: MachineGroupUtilizationDto[];
|
|
6191
6150
|
}
|
|
6192
6151
|
export interface LiveMachineDataDto {
|
|
6193
|
-
|
|
6152
|
+
assetExternalId?: string;
|
|
6194
6153
|
dataPoints?: LiveMachineDataPointDto[];
|
|
6195
6154
|
}
|
|
6196
6155
|
export interface LiveMachineDataPointDto {
|
|
@@ -6200,7 +6159,7 @@ export interface LiveMachineDataPointDto {
|
|
|
6200
6159
|
stringValue?: string | null;
|
|
6201
6160
|
}
|
|
6202
6161
|
export interface TimeseriesGraphDto {
|
|
6203
|
-
|
|
6162
|
+
assetExternalId?: string;
|
|
6204
6163
|
series?: TimeseriesGraphSeriesDto[];
|
|
6205
6164
|
}
|
|
6206
6165
|
export interface TimeseriesGraphSeriesDto {
|
|
@@ -7211,48 +7170,36 @@ export interface AssetDto {
|
|
|
7211
7170
|
externalId?: string | null;
|
|
7212
7171
|
name?: string | null;
|
|
7213
7172
|
description?: string | null;
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
} | null;
|
|
7217
|
-
aggregates?: any | null;
|
|
7218
|
-
parentId?: number | null;
|
|
7173
|
+
parentExternalId?: string | null;
|
|
7174
|
+
rootExternalId?: string | null;
|
|
7219
7175
|
source?: string | null;
|
|
7220
7176
|
id?: number | null;
|
|
7221
7177
|
createdTime?: number | null;
|
|
7222
7178
|
lastUpdatedTime?: number | null;
|
|
7223
|
-
rootId?: number | null;
|
|
7224
7179
|
}
|
|
7225
7180
|
export interface AssetStructureDto {
|
|
7226
7181
|
externalId?: string | null;
|
|
7227
7182
|
name?: string | null;
|
|
7228
7183
|
aggregatesDisplay?: string | null;
|
|
7229
7184
|
aggregates?: AssetSimpleStructureDto[] | null;
|
|
7230
|
-
id?: number | null;
|
|
7231
7185
|
createdTime?: number | null;
|
|
7232
7186
|
lastUpdatedTime?: number | null;
|
|
7233
7187
|
}
|
|
7234
7188
|
export interface AssetSimpleStructureDto {
|
|
7235
7189
|
externalId?: string | null;
|
|
7236
7190
|
name?: string | null;
|
|
7237
|
-
id?: number | null;
|
|
7238
7191
|
}
|
|
7239
7192
|
export interface CreateAsset {
|
|
7240
|
-
|
|
7193
|
+
parentExternalId: string;
|
|
7241
7194
|
externalId: string;
|
|
7242
7195
|
name: string;
|
|
7243
7196
|
description: string;
|
|
7244
|
-
metadata: {
|
|
7245
|
-
[key: string]: string;
|
|
7246
|
-
};
|
|
7247
7197
|
source?: string | null;
|
|
7248
7198
|
}
|
|
7249
7199
|
export interface UpdateAssetRequest {
|
|
7250
|
-
|
|
7200
|
+
parentExternalId: string;
|
|
7251
7201
|
name: string;
|
|
7252
7202
|
description: string;
|
|
7253
|
-
metadata: {
|
|
7254
|
-
[key: string]: string;
|
|
7255
|
-
};
|
|
7256
7203
|
source?: string | null;
|
|
7257
7204
|
}
|
|
7258
7205
|
export interface AlertNotificationAccessDto {
|
|
@@ -7335,9 +7282,29 @@ export interface UpdateCdfConfig {
|
|
|
7335
7282
|
clientId: string;
|
|
7336
7283
|
clientSecret?: string | null;
|
|
7337
7284
|
}
|
|
7338
|
-
export interface
|
|
7339
|
-
|
|
7340
|
-
|
|
7285
|
+
export interface MigrateWorkspaceAssetIdsResultDto {
|
|
7286
|
+
dryRun: boolean;
|
|
7287
|
+
documentTypes: MigratedDocumentTypeDto[];
|
|
7288
|
+
unmapped: UnmappedAssetValueDto[];
|
|
7289
|
+
failed: FailedDocumentDto[];
|
|
7290
|
+
}
|
|
7291
|
+
export interface MigratedDocumentTypeDto {
|
|
7292
|
+
documentType: string;
|
|
7293
|
+
scanned?: number;
|
|
7294
|
+
changed?: number;
|
|
7295
|
+
changedIds?: string[];
|
|
7296
|
+
}
|
|
7297
|
+
export interface UnmappedAssetValueDto {
|
|
7298
|
+
documentType: string;
|
|
7299
|
+
documentId: string;
|
|
7300
|
+
location: string;
|
|
7301
|
+
value: string;
|
|
7302
|
+
reason: string;
|
|
7303
|
+
}
|
|
7304
|
+
export interface FailedDocumentDto {
|
|
7305
|
+
documentType: string;
|
|
7306
|
+
documentId: string;
|
|
7307
|
+
reason: string;
|
|
7341
7308
|
}
|
|
7342
7309
|
export interface WorkspaceDefaultsDto {
|
|
7343
7310
|
machineTemplateOverrides?: {
|
|
@@ -8138,6 +8105,8 @@ export interface ProductionOrderOperationDto {
|
|
|
8138
8105
|
disableSetupRegistration: boolean;
|
|
8139
8106
|
productionStatus: OperationStatusDto;
|
|
8140
8107
|
setupStatus?: OperationStatusDto | null;
|
|
8108
|
+
weekGroup?: string | null;
|
|
8109
|
+
lockType?: PlannerLockType | null;
|
|
8141
8110
|
}
|
|
8142
8111
|
export interface WorkOrderAttachmentDto {
|
|
8143
8112
|
createdBy?: UserDto | null;
|
|
@@ -8617,7 +8586,6 @@ export interface ElectricalIotConfigDto {
|
|
|
8617
8586
|
export interface CreateElectricalIotConfig {
|
|
8618
8587
|
typeId?: string | null;
|
|
8619
8588
|
serialNumber?: string | null;
|
|
8620
|
-
assetId?: number | null;
|
|
8621
8589
|
assetExternalId?: string | null;
|
|
8622
8590
|
}
|
|
8623
8591
|
export interface WeldingIotConfigDto {
|
|
@@ -9397,7 +9365,8 @@ export interface ProcessMaterialCertificate {
|
|
|
9397
9365
|
purchaseOrderLine?: number | null;
|
|
9398
9366
|
}
|
|
9399
9367
|
export interface UploadFileCdfDto {
|
|
9400
|
-
id
|
|
9368
|
+
id?: number | null;
|
|
9369
|
+
externalId: string;
|
|
9401
9370
|
}
|
|
9402
9371
|
export interface ImaMaterialCheckReportDto {
|
|
9403
9372
|
file: FileDto;
|
|
@@ -9637,6 +9606,8 @@ export interface ImaCopySpecificationRequestDto {
|
|
|
9637
9606
|
export interface ImaUpdateSpecificationDto {
|
|
9638
9607
|
name?: string | null;
|
|
9639
9608
|
number?: string | null;
|
|
9609
|
+
revision?: string | null;
|
|
9610
|
+
date?: Date | null;
|
|
9640
9611
|
status?: ImaSpecificationStatusDto | null;
|
|
9641
9612
|
summary?: string | null;
|
|
9642
9613
|
relatedStandards?: string[] | null;
|
|
@@ -10232,21 +10203,6 @@ export interface ListMeasurementFormSchemasWithHistoryRequest {
|
|
|
10232
10203
|
version?: number | null;
|
|
10233
10204
|
continuationToken?: string | null;
|
|
10234
10205
|
}
|
|
10235
|
-
export interface PagedResultOfMeasurementFormSchemaOverviewDto {
|
|
10236
|
-
results: MeasurementFormSchemaOverviewDto[];
|
|
10237
|
-
continuationToken?: string | null;
|
|
10238
|
-
}
|
|
10239
|
-
export interface MeasurementFormSchemaOverviewDto extends MeasurementFormListDto {
|
|
10240
|
-
referenceCount: number;
|
|
10241
|
-
instanceCount: number;
|
|
10242
|
-
instanceStatusCounts: MeasurementFormInstanceStatusCountDto[];
|
|
10243
|
-
hasSchemaCreator: boolean;
|
|
10244
|
-
}
|
|
10245
|
-
export interface MeasurementFormInstanceStatusCountDto {
|
|
10246
|
-
status: MeasurementFormInstanceStatus;
|
|
10247
|
-
count: number;
|
|
10248
|
-
}
|
|
10249
|
-
export type MeasurementFormInstanceStatus = "Active" | "Cancelled" | "Completed" | "Approved" | "MissingCompletion";
|
|
10250
10206
|
export interface ListMeasurementFormSchemasRequest {
|
|
10251
10207
|
pageSize?: number | null;
|
|
10252
10208
|
customerId?: string | null;
|
|
@@ -10258,34 +10214,6 @@ export interface ListMeasurementFormSchemasRequest {
|
|
|
10258
10214
|
drawingRevision?: string | null;
|
|
10259
10215
|
filter?: string | null;
|
|
10260
10216
|
continuationToken?: string | null;
|
|
10261
|
-
statuses?: MeasurementFormStatus[] | null;
|
|
10262
|
-
/** Schemas for any of these customers. */
|
|
10263
|
-
customerIds?: string[] | null;
|
|
10264
|
-
/** Also schemas without a customer. */
|
|
10265
|
-
withoutCustomer?: boolean | null;
|
|
10266
|
-
/** Schemas with, or without, a schema creator document. */
|
|
10267
|
-
schemaCreator?: boolean | null;
|
|
10268
|
-
}
|
|
10269
|
-
export interface MeasurementFormSchemaCountsDto {
|
|
10270
|
-
total: number;
|
|
10271
|
-
draft: number;
|
|
10272
|
-
released: number;
|
|
10273
|
-
revoked: number;
|
|
10274
|
-
schemaCreator: number;
|
|
10275
|
-
withoutCustomer: number;
|
|
10276
|
-
customers: CustomerSchemaCountDto[];
|
|
10277
|
-
}
|
|
10278
|
-
export interface CustomerSchemaCountDto {
|
|
10279
|
-
customerId: string;
|
|
10280
|
-
customerName: string;
|
|
10281
|
-
count: number;
|
|
10282
|
-
}
|
|
10283
|
-
export interface CountMeasurementFormSchemasRequest {
|
|
10284
|
-
filter?: string | null;
|
|
10285
|
-
statuses?: MeasurementFormStatus[] | null;
|
|
10286
|
-
customerIds?: string[] | null;
|
|
10287
|
-
withoutCustomer?: boolean | null;
|
|
10288
|
-
schemaCreator?: boolean | null;
|
|
10289
10217
|
}
|
|
10290
10218
|
export interface MeasurementFormSchemaVersionDto {
|
|
10291
10219
|
id: string;
|
|
@@ -10296,14 +10224,6 @@ export interface MeasurementFormSchemaVersionDto {
|
|
|
10296
10224
|
released?: Date | null;
|
|
10297
10225
|
drawingChanged?: boolean | null;
|
|
10298
10226
|
}
|
|
10299
|
-
export interface MeasurementFormSchemaInstanceDto {
|
|
10300
|
-
id: string;
|
|
10301
|
-
schemaId: string;
|
|
10302
|
-
versionId: number;
|
|
10303
|
-
status: MeasurementFormInstanceStatus;
|
|
10304
|
-
progress: number;
|
|
10305
|
-
created: Date;
|
|
10306
|
-
}
|
|
10307
10227
|
export interface MeasurementFormSchemaVersionChangesDto {
|
|
10308
10228
|
versionId: number;
|
|
10309
10229
|
added: number;
|
|
@@ -10364,7 +10284,6 @@ export interface MeasurementFormInstanceDto {
|
|
|
10364
10284
|
drawingRevision?: string | null;
|
|
10365
10285
|
customerId?: string | null;
|
|
10366
10286
|
customerName?: string | null;
|
|
10367
|
-
purchaseOrder?: string | null;
|
|
10368
10287
|
quantity: number;
|
|
10369
10288
|
status: MeasurementFormInstanceStatus;
|
|
10370
10289
|
statusChangedDate?: Date | null;
|
|
@@ -10376,6 +10295,7 @@ export interface MeasurementFormInstanceDto {
|
|
|
10376
10295
|
approvedReportUrl?: string | null;
|
|
10377
10296
|
currentResource?: ResourceDto | null;
|
|
10378
10297
|
}
|
|
10298
|
+
export type MeasurementFormInstanceStatus = "Active" | "Cancelled" | "Completed" | "Approved" | "MissingCompletion";
|
|
10379
10299
|
export interface MeasurementFormWorkorderSchemaDto {
|
|
10380
10300
|
id: string;
|
|
10381
10301
|
partNumber?: string | null;
|
|
@@ -10389,7 +10309,6 @@ export interface MeasurementFormWorkorderSchemaDto {
|
|
|
10389
10309
|
excludeDrawingFromCustomerDocumentation: boolean;
|
|
10390
10310
|
versionId: number;
|
|
10391
10311
|
specification?: string | null;
|
|
10392
|
-
hasComment: boolean;
|
|
10393
10312
|
progress: MeasurementFormProgressDto;
|
|
10394
10313
|
}
|
|
10395
10314
|
export interface MeasurementFormProgressDto {
|
|
@@ -10397,8 +10316,6 @@ export interface MeasurementFormProgressDto {
|
|
|
10397
10316
|
requiredValues: number;
|
|
10398
10317
|
values: number;
|
|
10399
10318
|
progress: number;
|
|
10400
|
-
valuesOutsideTolerance: number;
|
|
10401
|
-
comments: number;
|
|
10402
10319
|
}
|
|
10403
10320
|
export interface MeasurementFormWorkorderSequenceDto {
|
|
10404
10321
|
lot?: string | null;
|
|
@@ -10441,7 +10358,6 @@ export interface MeasurementFormInstanceOverviewDto {
|
|
|
10441
10358
|
}
|
|
10442
10359
|
export interface MeasurementFormInstanceSchemaOverviewDto {
|
|
10443
10360
|
id: string;
|
|
10444
|
-
hasComment: boolean;
|
|
10445
10361
|
}
|
|
10446
10362
|
export interface MeasurementFormInstanceSupplierDto {
|
|
10447
10363
|
supplierId: string;
|
|
@@ -10678,48 +10594,6 @@ export interface ListMeasurementFormsByStatusRequest {
|
|
|
10678
10594
|
search?: string | null;
|
|
10679
10595
|
continuationToken?: string | null;
|
|
10680
10596
|
}
|
|
10681
|
-
export interface MeasurementFormInstanceCountsDto {
|
|
10682
|
-
total: number;
|
|
10683
|
-
active: number;
|
|
10684
|
-
completed: number;
|
|
10685
|
-
approved: number;
|
|
10686
|
-
cancelled: number;
|
|
10687
|
-
missingCompletion: number;
|
|
10688
|
-
outsideTolerance: number;
|
|
10689
|
-
comments: number;
|
|
10690
|
-
schemaComment: number;
|
|
10691
|
-
notSharedWithSuppliers: number;
|
|
10692
|
-
suppliers: SupplierInstanceCountDto[];
|
|
10693
|
-
}
|
|
10694
|
-
export interface SupplierInstanceCountDto {
|
|
10695
|
-
supplierId: string;
|
|
10696
|
-
supplierName: string;
|
|
10697
|
-
count: number;
|
|
10698
|
-
}
|
|
10699
|
-
export interface CountMeasurementFormInstancesRequest {
|
|
10700
|
-
statuses?: MeasurementFormInstanceStatus[];
|
|
10701
|
-
search?: string | null;
|
|
10702
|
-
outsideTolerance?: boolean | null;
|
|
10703
|
-
comments?: boolean | null;
|
|
10704
|
-
schemaComment?: boolean | null;
|
|
10705
|
-
supplierIds?: string[] | null;
|
|
10706
|
-
notSharedWithSuppliers?: boolean | null;
|
|
10707
|
-
}
|
|
10708
|
-
export interface ListMeasurementFormsByStatusesRequest {
|
|
10709
|
-
statuses?: MeasurementFormInstanceStatus[];
|
|
10710
|
-
statusChangedSince?: Date | null;
|
|
10711
|
-
onlyWithReports?: boolean | null;
|
|
10712
|
-
pageSize?: number | null;
|
|
10713
|
-
search?: string | null;
|
|
10714
|
-
continuationToken?: string | null;
|
|
10715
|
-
outsideTolerance?: boolean | null;
|
|
10716
|
-
comments?: boolean | null;
|
|
10717
|
-
schemaComment?: boolean | null;
|
|
10718
|
-
/** Instances shared with any of these suppliers. */
|
|
10719
|
-
supplierIds?: string[] | null;
|
|
10720
|
-
/** Also instances shared with no supplier. */
|
|
10721
|
-
notSharedWithSuppliers?: boolean | null;
|
|
10722
|
-
}
|
|
10723
10597
|
export interface CreateMeasurementFormInstanceRequest {
|
|
10724
10598
|
schemaId: string;
|
|
10725
10599
|
customerId?: string | null;
|
|
@@ -10741,62 +10615,6 @@ export interface UpdateMeasurementFormInstanceRequest {
|
|
|
10741
10615
|
serialNumbers: MeasurementFormWorkorderSerialNumberDto[];
|
|
10742
10616
|
suppliers: MeasurementFormWorkorderSupplierDto[];
|
|
10743
10617
|
}
|
|
10744
|
-
export interface EditMeasurementFormInstanceRequest {
|
|
10745
|
-
customerId?: string | null;
|
|
10746
|
-
customerName?: string | null;
|
|
10747
|
-
purchaseOrder?: string | null;
|
|
10748
|
-
serialNumbers: EditMeasurementFormInstanceSerialNumberDto[];
|
|
10749
|
-
suppliers: MeasurementFormWorkorderSupplierDto[];
|
|
10750
|
-
}
|
|
10751
|
-
export interface EditMeasurementFormInstanceSerialNumberDto extends MeasurementFormWorkorderSerialNumberDto {
|
|
10752
|
-
originalSerialNumber?: string | null;
|
|
10753
|
-
usePreviousMeasurements?: boolean | null;
|
|
10754
|
-
}
|
|
10755
|
-
export interface SerialNumberEditPreviewDto {
|
|
10756
|
-
rows: SerialNumberEditPreviewRowDto[];
|
|
10757
|
-
removed: SerialNumberEditPreviewRemovedDto[];
|
|
10758
|
-
}
|
|
10759
|
-
export interface SerialNumberEditPreviewRowDto {
|
|
10760
|
-
serialNumber: string;
|
|
10761
|
-
originalSerialNumber?: string | null;
|
|
10762
|
-
outcome?: SerialNumberEditOutcomeDto | null;
|
|
10763
|
-
previous?: SerialNumberEditPreviousDto | null;
|
|
10764
|
-
}
|
|
10765
|
-
export interface SerialNumberEditOutcomeDto {
|
|
10766
|
-
change: SerialNumberEditChange;
|
|
10767
|
-
measurementCount: number;
|
|
10768
|
-
measuredBy: SerialNumberMeasurerDto[];
|
|
10769
|
-
archivedCount: number;
|
|
10770
|
-
}
|
|
10771
|
-
export type SerialNumberEditChange = "Unchanged" | "Updated" | "Added" | "Restored" | "Renamed" | "Removed" | "Replaced";
|
|
10772
|
-
export interface SerialNumberMeasurerDto {
|
|
10773
|
-
userId: string;
|
|
10774
|
-
name: string;
|
|
10775
|
-
measurementCount: number;
|
|
10776
|
-
}
|
|
10777
|
-
export interface SerialNumberEditPreviousDto {
|
|
10778
|
-
measurementCount: number;
|
|
10779
|
-
archivedAt?: Date | null;
|
|
10780
|
-
ifRestored: SerialNumberEditOutcomeDto;
|
|
10781
|
-
ifNotRestored: SerialNumberEditOutcomeDto;
|
|
10782
|
-
}
|
|
10783
|
-
export interface SerialNumberEditPreviewRemovedDto {
|
|
10784
|
-
serialNumber: string;
|
|
10785
|
-
replacedBy?: string | null;
|
|
10786
|
-
outcome: SerialNumberEditOutcomeDto;
|
|
10787
|
-
}
|
|
10788
|
-
export interface PreviewMeasurementFormInstanceEditRequest {
|
|
10789
|
-
serialNumbers: EditMeasurementFormInstanceSerialNumberDto[];
|
|
10790
|
-
}
|
|
10791
|
-
export interface SerialNumberMeasurementsDto {
|
|
10792
|
-
serialNumber: string;
|
|
10793
|
-
key: string;
|
|
10794
|
-
active: boolean;
|
|
10795
|
-
measurementCount: number;
|
|
10796
|
-
previousMeasurementCount: number;
|
|
10797
|
-
measuredBy: SerialNumberMeasurerDto[];
|
|
10798
|
-
archivedAt?: Date | null;
|
|
10799
|
-
}
|
|
10800
10618
|
export interface ProductionCompanyDto {
|
|
10801
10619
|
id: string;
|
|
10802
10620
|
name: string;
|