@ignos/api-client 20251022.0.12935-alpha → 20251022.0.12945-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 +96 -10
- package/lib/ignosportal-api.js +691 -446
- package/package.json +1 -1
- package/src/ignosportal-api.ts +1358 -1029
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -365,6 +365,7 @@ export declare class SustainabilityClient extends AuthorizedApiBase implements I
|
|
|
365
365
|
}
|
|
366
366
|
export interface IMachineAlarmsClient {
|
|
367
367
|
listMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined): Promise<PagedResultOfMachineAlarmDto>;
|
|
368
|
+
listGroupedMachineIncidents(request: ListGroupedMachineIncidentsRequest): Promise<PagedResultOfGroupedMachineIncidentDto>;
|
|
368
369
|
listAlarmsPerMachine(startTime: Date | undefined, endTime: Date | null | undefined): Promise<MachineAlarmSummaryDto[]>;
|
|
369
370
|
listAlarmSeverityOccurrences(startTime: Date | undefined, endTime: Date | null | undefined): Promise<MachineAlarmSeverityOccurenceDto[]>;
|
|
370
371
|
countMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined): Promise<MachineAlarmCountDto>;
|
|
@@ -379,6 +380,8 @@ export declare class MachineAlarmsClient extends AuthorizedApiBase implements IM
|
|
|
379
380
|
});
|
|
380
381
|
listMachineAlarms(alarmType: MachineAlarmType | null | undefined, assetId: number | undefined, startTime: Date | undefined, endTime: Date | null | undefined, subType: string | null | undefined, nativeCode: string | null | undefined, nativeSeverity: number | null | undefined, name: string | null | undefined, sequence: string | null | undefined, limit: number | undefined, continuationToken: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined): Promise<PagedResultOfMachineAlarmDto>;
|
|
381
382
|
protected processListMachineAlarms(response: Response): Promise<PagedResultOfMachineAlarmDto>;
|
|
383
|
+
listGroupedMachineIncidents(request: ListGroupedMachineIncidentsRequest): Promise<PagedResultOfGroupedMachineIncidentDto>;
|
|
384
|
+
protected processListGroupedMachineIncidents(response: Response): Promise<PagedResultOfGroupedMachineIncidentDto>;
|
|
382
385
|
listAlarmsPerMachine(startTime: Date | undefined, endTime: Date | null | undefined): Promise<MachineAlarmSummaryDto[]>;
|
|
383
386
|
protected processListAlarmsPerMachine(response: Response): Promise<MachineAlarmSummaryDto[]>;
|
|
384
387
|
listAlarmSeverityOccurrences(startTime: Date | undefined, endTime: Date | null | undefined): Promise<MachineAlarmSeverityOccurenceDto[]>;
|
|
@@ -405,11 +408,11 @@ export declare class PulseClient extends AuthorizedApiBase implements IPulseClie
|
|
|
405
408
|
protected processUpdatePulseSettings(response: Response): Promise<PulseSettingsDto>;
|
|
406
409
|
}
|
|
407
410
|
export interface IUtilizationClient {
|
|
408
|
-
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date |
|
|
409
|
-
getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date |
|
|
410
|
-
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date |
|
|
411
|
-
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date |
|
|
412
|
-
getCrossCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date |
|
|
411
|
+
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDto>;
|
|
412
|
+
getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CrossCompanyUtilizationDto>;
|
|
413
|
+
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
414
|
+
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
|
|
415
|
+
getCrossCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CrossCompanyUtilizationDatapointListDto>;
|
|
413
416
|
}
|
|
414
417
|
export declare class UtilizationClient extends AuthorizedApiBase implements IUtilizationClient {
|
|
415
418
|
private http;
|
|
@@ -418,15 +421,15 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
|
|
|
418
421
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
419
422
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
420
423
|
});
|
|
421
|
-
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date |
|
|
424
|
+
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDto>;
|
|
422
425
|
protected processGetCompanyUtilization(response: Response): Promise<CompanyUtilizationDto>;
|
|
423
|
-
getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date |
|
|
426
|
+
getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CrossCompanyUtilizationDto>;
|
|
424
427
|
protected processGetCrossCompanyUtilization(response: Response): Promise<CrossCompanyUtilizationDto>;
|
|
425
|
-
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date |
|
|
428
|
+
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
426
429
|
protected processGetUtilizationDatapoints(response: Response): Promise<MachineUtilizationDatapointListDto>;
|
|
427
|
-
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date |
|
|
430
|
+
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
|
|
428
431
|
protected processGetCompanyUtilizationDatapoints(response: Response): Promise<CompanyUtilizationDatapointListDto>;
|
|
429
|
-
getCrossCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date |
|
|
432
|
+
getCrossCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CrossCompanyUtilizationDatapointListDto>;
|
|
430
433
|
protected processGetCrossCompanyUtilizationDatapoints(response: Response): Promise<CrossCompanyUtilizationDatapointListDto>;
|
|
431
434
|
}
|
|
432
435
|
export interface IMrbClient {
|
|
@@ -2345,6 +2348,7 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
2345
2348
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2346
2349
|
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>;
|
|
2347
2350
|
postListMeasurementFormsByStatus(request: ListMeasurementFormsByStatusRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
2351
|
+
deleteInstancesBulk(request: DeleteMeasurementFormsInstancesBulkRequest): Promise<void>;
|
|
2348
2352
|
getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
2349
2353
|
createMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2350
2354
|
updateMeasurementFormInstance(id: string, request: UpdateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
@@ -2391,6 +2395,8 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
2391
2395
|
protected processListMeasurementFormsByStatus(response: Response): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
2392
2396
|
postListMeasurementFormsByStatus(request: ListMeasurementFormsByStatusRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
2393
2397
|
protected processPostListMeasurementFormsByStatus(response: Response): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
2398
|
+
deleteInstancesBulk(request: DeleteMeasurementFormsInstancesBulkRequest): Promise<void>;
|
|
2399
|
+
protected processDeleteInstancesBulk(response: Response): Promise<void>;
|
|
2394
2400
|
getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
2395
2401
|
protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2396
2402
|
createMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
@@ -3070,6 +3076,8 @@ export interface IMachineStateDatapoint {
|
|
|
3070
3076
|
export declare class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto {
|
|
3071
3077
|
id: number;
|
|
3072
3078
|
reason: string;
|
|
3079
|
+
parentReasonId?: string | null;
|
|
3080
|
+
parentReason?: string | null;
|
|
3073
3081
|
reasonType: DowntimeReasonTypeDto;
|
|
3074
3082
|
startTime: Date;
|
|
3075
3083
|
endTime?: Date | null;
|
|
@@ -3088,6 +3096,8 @@ export declare class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto
|
|
|
3088
3096
|
export interface IDowntimePeriodReasonDto {
|
|
3089
3097
|
id: number;
|
|
3090
3098
|
reason: string;
|
|
3099
|
+
parentReasonId?: string | null;
|
|
3100
|
+
parentReason?: string | null;
|
|
3091
3101
|
reasonType: DowntimeReasonTypeDto;
|
|
3092
3102
|
startTime: Date;
|
|
3093
3103
|
endTime?: Date | null;
|
|
@@ -3737,6 +3747,50 @@ export interface IMachineAlarmDto {
|
|
|
3737
3747
|
endTime?: Date | null;
|
|
3738
3748
|
}
|
|
3739
3749
|
export type MachineAlarmType = "Fault" | "Warning";
|
|
3750
|
+
export declare class PagedResultOfGroupedMachineIncidentDto implements IPagedResultOfGroupedMachineIncidentDto {
|
|
3751
|
+
results: GroupedMachineIncidentDto[];
|
|
3752
|
+
continuationToken?: string | null;
|
|
3753
|
+
constructor(data?: IPagedResultOfGroupedMachineIncidentDto);
|
|
3754
|
+
init(_data?: any): void;
|
|
3755
|
+
static fromJS(data: any): PagedResultOfGroupedMachineIncidentDto;
|
|
3756
|
+
toJSON(data?: any): any;
|
|
3757
|
+
}
|
|
3758
|
+
export interface IPagedResultOfGroupedMachineIncidentDto {
|
|
3759
|
+
results: GroupedMachineIncidentDto[];
|
|
3760
|
+
continuationToken?: string | null;
|
|
3761
|
+
}
|
|
3762
|
+
export declare class GroupedMachineIncidentDto extends MachineAlarmDto implements IGroupedMachineIncidentDto {
|
|
3763
|
+
incidents: MachineAlarmDto[];
|
|
3764
|
+
constructor(data?: IGroupedMachineIncidentDto);
|
|
3765
|
+
init(_data?: any): void;
|
|
3766
|
+
static fromJS(data: any): GroupedMachineIncidentDto;
|
|
3767
|
+
toJSON(data?: any): any;
|
|
3768
|
+
}
|
|
3769
|
+
export interface IGroupedMachineIncidentDto extends IMachineAlarmDto {
|
|
3770
|
+
incidents: MachineAlarmDto[];
|
|
3771
|
+
}
|
|
3772
|
+
export declare class ListGroupedMachineIncidentsRequest implements IListGroupedMachineIncidentsRequest {
|
|
3773
|
+
assetId: number;
|
|
3774
|
+
startTime: Date;
|
|
3775
|
+
endTime?: Date | null;
|
|
3776
|
+
nativeCode?: string | null;
|
|
3777
|
+
alarmType?: MachineAlarmType | null;
|
|
3778
|
+
limit?: number | null;
|
|
3779
|
+
continuationToken?: string | null;
|
|
3780
|
+
constructor(data?: IListGroupedMachineIncidentsRequest);
|
|
3781
|
+
init(_data?: any): void;
|
|
3782
|
+
static fromJS(data: any): ListGroupedMachineIncidentsRequest;
|
|
3783
|
+
toJSON(data?: any): any;
|
|
3784
|
+
}
|
|
3785
|
+
export interface IListGroupedMachineIncidentsRequest {
|
|
3786
|
+
assetId: number;
|
|
3787
|
+
startTime: Date;
|
|
3788
|
+
endTime?: Date | null;
|
|
3789
|
+
nativeCode?: string | null;
|
|
3790
|
+
alarmType?: MachineAlarmType | null;
|
|
3791
|
+
limit?: number | null;
|
|
3792
|
+
continuationToken?: string | null;
|
|
3793
|
+
}
|
|
3740
3794
|
export declare class MachineAlarmSummaryDto implements IMachineAlarmSummaryDto {
|
|
3741
3795
|
assetId: number;
|
|
3742
3796
|
assetName: string;
|
|
@@ -5161,6 +5215,7 @@ export declare class MeasuringToolDto implements IMeasuringToolDto {
|
|
|
5161
5215
|
unit?: string | null;
|
|
5162
5216
|
min?: number | null;
|
|
5163
5217
|
max?: number | null;
|
|
5218
|
+
lastUsedBy?: MeasuringToolLastUsedByDto | null;
|
|
5164
5219
|
lastCalibrationDate?: Date | null;
|
|
5165
5220
|
nextCalibrationDate?: Date | null;
|
|
5166
5221
|
calibrationInterval?: number | null;
|
|
@@ -5188,6 +5243,7 @@ export interface IMeasuringToolDto {
|
|
|
5188
5243
|
unit?: string | null;
|
|
5189
5244
|
min?: number | null;
|
|
5190
5245
|
max?: number | null;
|
|
5246
|
+
lastUsedBy?: MeasuringToolLastUsedByDto | null;
|
|
5191
5247
|
lastCalibrationDate?: Date | null;
|
|
5192
5248
|
nextCalibrationDate?: Date | null;
|
|
5193
5249
|
calibrationInterval?: number | null;
|
|
@@ -5199,6 +5255,20 @@ export interface IMeasuringToolDto {
|
|
|
5199
5255
|
usageSinceLastCalibration?: number | null;
|
|
5200
5256
|
calibrationStatus: CalibrationStatusDto;
|
|
5201
5257
|
}
|
|
5258
|
+
export declare class MeasuringToolLastUsedByDto implements IMeasuringToolLastUsedByDto {
|
|
5259
|
+
objectId?: string;
|
|
5260
|
+
userId?: string;
|
|
5261
|
+
displayName?: string | null;
|
|
5262
|
+
constructor(data?: IMeasuringToolLastUsedByDto);
|
|
5263
|
+
init(_data?: any): void;
|
|
5264
|
+
static fromJS(data: any): MeasuringToolLastUsedByDto;
|
|
5265
|
+
toJSON(data?: any): any;
|
|
5266
|
+
}
|
|
5267
|
+
export interface IMeasuringToolLastUsedByDto {
|
|
5268
|
+
objectId?: string;
|
|
5269
|
+
userId?: string;
|
|
5270
|
+
displayName?: string | null;
|
|
5271
|
+
}
|
|
5202
5272
|
export type CalibrationStatusDto = "Uncalibrated" | "Deprecated" | "Expired" | "SoonDue" | "Valid";
|
|
5203
5273
|
export declare class MeasuringToolDetailDto implements IMeasuringToolDetailDto {
|
|
5204
5274
|
id: string;
|
|
@@ -5211,6 +5281,7 @@ export declare class MeasuringToolDetailDto implements IMeasuringToolDetailDto {
|
|
|
5211
5281
|
defaultLocation?: string | null;
|
|
5212
5282
|
min?: number | null;
|
|
5213
5283
|
max?: number | null;
|
|
5284
|
+
lastUsedBy?: MeasuringToolLastUsedByDto | null;
|
|
5214
5285
|
calibrationInterval?: number | null;
|
|
5215
5286
|
serialNumber?: string | null;
|
|
5216
5287
|
precision?: string | null;
|
|
@@ -5237,6 +5308,7 @@ export interface IMeasuringToolDetailDto {
|
|
|
5237
5308
|
defaultLocation?: string | null;
|
|
5238
5309
|
min?: number | null;
|
|
5239
5310
|
max?: number | null;
|
|
5311
|
+
lastUsedBy?: MeasuringToolLastUsedByDto | null;
|
|
5240
5312
|
calibrationInterval?: number | null;
|
|
5241
5313
|
serialNumber?: string | null;
|
|
5242
5314
|
precision?: string | null;
|
|
@@ -10261,6 +10333,7 @@ export declare class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
|
10261
10333
|
materialLine?: number | null;
|
|
10262
10334
|
materialPartName?: string | null;
|
|
10263
10335
|
materialPartNumber?: string | null;
|
|
10336
|
+
category?: string | null;
|
|
10264
10337
|
currentTracking?: TrackingEventDto | null;
|
|
10265
10338
|
trackingEvents: TrackingEventDto[];
|
|
10266
10339
|
suggestions?: SuggestionsItemDto | null;
|
|
@@ -10277,6 +10350,7 @@ export interface ITrackingHistoryDto {
|
|
|
10277
10350
|
materialLine?: number | null;
|
|
10278
10351
|
materialPartName?: string | null;
|
|
10279
10352
|
materialPartNumber?: string | null;
|
|
10353
|
+
category?: string | null;
|
|
10280
10354
|
currentTracking?: TrackingEventDto | null;
|
|
10281
10355
|
trackingEvents: TrackingEventDto[];
|
|
10282
10356
|
suggestions?: SuggestionsItemDto | null;
|
|
@@ -10357,6 +10431,7 @@ export declare class TrackingHistoryFlattenedDto implements ITrackingHistoryFlat
|
|
|
10357
10431
|
materialLine?: number | null;
|
|
10358
10432
|
materialPartName?: string | null;
|
|
10359
10433
|
materialPartNumber?: string | null;
|
|
10434
|
+
category?: string | null;
|
|
10360
10435
|
currentTracking?: TrackingEventDto | null;
|
|
10361
10436
|
trackingEvents: TrackingEventDto[];
|
|
10362
10437
|
constructor(data?: ITrackingHistoryFlattenedDto);
|
|
@@ -10379,6 +10454,7 @@ export interface ITrackingHistoryFlattenedDto {
|
|
|
10379
10454
|
materialLine?: number | null;
|
|
10380
10455
|
materialPartName?: string | null;
|
|
10381
10456
|
materialPartNumber?: string | null;
|
|
10457
|
+
category?: string | null;
|
|
10382
10458
|
currentTracking?: TrackingEventDto | null;
|
|
10383
10459
|
trackingEvents: TrackingEventDto[];
|
|
10384
10460
|
}
|
|
@@ -13273,6 +13349,16 @@ export interface IMeasurementFormWorkorderSupplierDto {
|
|
|
13273
13349
|
procurementLine?: number | null;
|
|
13274
13350
|
externalOrderNumber?: string | null;
|
|
13275
13351
|
}
|
|
13352
|
+
export declare class DeleteMeasurementFormsInstancesBulkRequest implements IDeleteMeasurementFormsInstancesBulkRequest {
|
|
13353
|
+
ids: string[];
|
|
13354
|
+
constructor(data?: IDeleteMeasurementFormsInstancesBulkRequest);
|
|
13355
|
+
init(_data?: any): void;
|
|
13356
|
+
static fromJS(data: any): DeleteMeasurementFormsInstancesBulkRequest;
|
|
13357
|
+
toJSON(data?: any): any;
|
|
13358
|
+
}
|
|
13359
|
+
export interface IDeleteMeasurementFormsInstancesBulkRequest {
|
|
13360
|
+
ids: string[];
|
|
13361
|
+
}
|
|
13276
13362
|
export declare class ListMeasurementFormsByStatusRequest implements IListMeasurementFormsByStatusRequest {
|
|
13277
13363
|
status?: MeasurementFormInstanceStatus | null;
|
|
13278
13364
|
statusChangedSince?: Date | null;
|