@ignos/api-client 20250704.0.12076-alpha → 20250704.0.12087-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 +41 -84
- package/lib/ignosportal-api.js +39 -210
- package/package.json +1 -1
- package/src/ignosportal-api.ts +73 -277
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -390,9 +390,9 @@ export declare class PulseClient extends AuthorizedApiBase implements IPulseClie
|
|
|
390
390
|
protected processUpdatePulseSettings(response: Response): Promise<PulseSettingsDto>;
|
|
391
391
|
}
|
|
392
392
|
export interface IUtilizationClient {
|
|
393
|
-
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDto>;
|
|
394
|
-
getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CrossCompanyUtilizationDto>;
|
|
395
|
-
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined,
|
|
393
|
+
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, dataPointCount: number | undefined): Promise<CompanyUtilizationDto>;
|
|
394
|
+
getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, dataPointCount: number | undefined): Promise<CrossCompanyUtilizationDto>;
|
|
395
|
+
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
396
396
|
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
|
|
397
397
|
getCrossCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CrossCompanyUtilizationDatapointListDto>;
|
|
398
398
|
}
|
|
@@ -403,11 +403,11 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
|
|
|
403
403
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
404
404
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
405
405
|
});
|
|
406
|
-
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDto>;
|
|
406
|
+
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, dataPointCount: number | undefined): Promise<CompanyUtilizationDto>;
|
|
407
407
|
protected processGetCompanyUtilization(response: Response): Promise<CompanyUtilizationDto>;
|
|
408
|
-
getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CrossCompanyUtilizationDto>;
|
|
408
|
+
getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, dataPointCount: number | undefined): Promise<CrossCompanyUtilizationDto>;
|
|
409
409
|
protected processGetCrossCompanyUtilization(response: Response): Promise<CrossCompanyUtilizationDto>;
|
|
410
|
-
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined,
|
|
410
|
+
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
411
411
|
protected processGetUtilizationDatapoints(response: Response): Promise<MachineUtilizationDatapointListDto>;
|
|
412
412
|
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
|
|
413
413
|
protected processGetCompanyUtilizationDatapoints(response: Response): Promise<CompanyUtilizationDatapointListDto>;
|
|
@@ -787,10 +787,8 @@ export declare class DowntimeReasonsClient extends AuthorizedApiBase implements
|
|
|
787
787
|
export interface IKpiAdminClient {
|
|
788
788
|
getMachineCapacityAdmin(): Promise<MachineGroupCapacityDto[]>;
|
|
789
789
|
updateMachineCapacityAdmin(request: UpdateMachinesCapacity): Promise<MachineCapacityDto>;
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
getCalendarSettings(): Promise<CalendarSettingsDto>;
|
|
793
|
-
updateCalendarSettings(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto>;
|
|
790
|
+
getCalenderCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalenderCapacityDto[]>;
|
|
791
|
+
updateCalenderCapacityAdmin(request: UpdateCalenderCapacity): Promise<CalenderCapacityDto>;
|
|
794
792
|
}
|
|
795
793
|
export declare class KpiAdminClient extends AuthorizedApiBase implements IKpiAdminClient {
|
|
796
794
|
private http;
|
|
@@ -803,14 +801,10 @@ export declare class KpiAdminClient extends AuthorizedApiBase implements IKpiAdm
|
|
|
803
801
|
protected processGetMachineCapacityAdmin(response: Response): Promise<MachineGroupCapacityDto[]>;
|
|
804
802
|
updateMachineCapacityAdmin(request: UpdateMachinesCapacity): Promise<MachineCapacityDto>;
|
|
805
803
|
protected processUpdateMachineCapacityAdmin(response: Response): Promise<MachineCapacityDto>;
|
|
806
|
-
|
|
807
|
-
protected
|
|
808
|
-
|
|
809
|
-
protected
|
|
810
|
-
getCalendarSettings(): Promise<CalendarSettingsDto>;
|
|
811
|
-
protected processGetCalendarSettings(response: Response): Promise<CalendarSettingsDto>;
|
|
812
|
-
updateCalendarSettings(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto>;
|
|
813
|
-
protected processUpdateCalendarSettings(response: Response): Promise<CalendarSettingsDto>;
|
|
804
|
+
getCalenderCapacityAdmin(startDate: Date | undefined, endDate: Date | undefined): Promise<CalenderCapacityDto[]>;
|
|
805
|
+
protected processGetCalenderCapacityAdmin(response: Response): Promise<CalenderCapacityDto[]>;
|
|
806
|
+
updateCalenderCapacityAdmin(request: UpdateCalenderCapacity): Promise<CalenderCapacityDto>;
|
|
807
|
+
protected processUpdateCalenderCapacityAdmin(response: Response): Promise<CalenderCapacityDto>;
|
|
814
808
|
}
|
|
815
809
|
export interface IKpiClient {
|
|
816
810
|
getMachineKpi(machineExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<MachineKpiDto>;
|
|
@@ -3735,11 +3729,13 @@ export interface IPulseSettingsDto {
|
|
|
3735
3729
|
defaultUtilizationType: UtilizationTypeDto;
|
|
3736
3730
|
utilizationTypeEnabling: UtilizationTypeEnablingDto;
|
|
3737
3731
|
}
|
|
3738
|
-
export type UtilizationTypeDto = "PowerOn" | "TwentyFourSeven" | "ActiveOrder";
|
|
3732
|
+
export type UtilizationTypeDto = "PowerOn" | "TwentyFourSeven" | "ActiveOrder" | "MachineCalendar" | "FactoryCalendar";
|
|
3739
3733
|
export declare class UtilizationTypeEnablingDto implements IUtilizationTypeEnablingDto {
|
|
3740
3734
|
powerOnEnabled: boolean;
|
|
3741
3735
|
twentyFourSevenEnabled: boolean;
|
|
3742
3736
|
activeOrderEnabled: boolean;
|
|
3737
|
+
machineCalendarEnabled: boolean;
|
|
3738
|
+
factoryCalendarEnabled: boolean;
|
|
3743
3739
|
constructor(data?: IUtilizationTypeEnablingDto);
|
|
3744
3740
|
init(_data?: any): void;
|
|
3745
3741
|
static fromJS(data: any): UtilizationTypeEnablingDto;
|
|
@@ -3749,12 +3745,16 @@ export interface IUtilizationTypeEnablingDto {
|
|
|
3749
3745
|
powerOnEnabled: boolean;
|
|
3750
3746
|
twentyFourSevenEnabled: boolean;
|
|
3751
3747
|
activeOrderEnabled: boolean;
|
|
3748
|
+
machineCalendarEnabled: boolean;
|
|
3749
|
+
factoryCalendarEnabled: boolean;
|
|
3752
3750
|
}
|
|
3753
3751
|
export declare class UpdatePulseSettings implements IUpdatePulseSettings {
|
|
3754
3752
|
defaultUtilizationType: UtilizationTypeDto;
|
|
3755
3753
|
powerOnEnabled: boolean;
|
|
3756
3754
|
twentyfourSevenEnabled: boolean;
|
|
3757
3755
|
activeOrderEnabled: boolean;
|
|
3756
|
+
machineCalendarEnabled: boolean;
|
|
3757
|
+
factoryCalendarEnabled: boolean;
|
|
3758
3758
|
constructor(data?: IUpdatePulseSettings);
|
|
3759
3759
|
init(_data?: any): void;
|
|
3760
3760
|
static fromJS(data: any): UpdatePulseSettings;
|
|
@@ -3765,6 +3765,8 @@ export interface IUpdatePulseSettings {
|
|
|
3765
3765
|
powerOnEnabled: boolean;
|
|
3766
3766
|
twentyfourSevenEnabled: boolean;
|
|
3767
3767
|
activeOrderEnabled: boolean;
|
|
3768
|
+
machineCalendarEnabled: boolean;
|
|
3769
|
+
factoryCalendarEnabled: boolean;
|
|
3768
3770
|
}
|
|
3769
3771
|
export declare class CompanyUtilizationDto implements ICompanyUtilizationDto {
|
|
3770
3772
|
utilizationType: UtilizationTypeDto;
|
|
@@ -3784,6 +3786,7 @@ export interface ICompanyUtilizationDto {
|
|
|
3784
3786
|
}
|
|
3785
3787
|
export declare class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
|
|
3786
3788
|
utilizationPercent?: number | null;
|
|
3789
|
+
capacityInMilliseconds?: number;
|
|
3787
3790
|
uptimeInSeconds?: number | null;
|
|
3788
3791
|
downtimeInSeconds?: number | null;
|
|
3789
3792
|
totalTimeInSeconds?: number | null;
|
|
@@ -3797,6 +3800,7 @@ export declare class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto
|
|
|
3797
3800
|
}
|
|
3798
3801
|
export interface IUtilizationDetailsV2Dto {
|
|
3799
3802
|
utilizationPercent?: number | null;
|
|
3803
|
+
capacityInMilliseconds?: number;
|
|
3800
3804
|
uptimeInSeconds?: number | null;
|
|
3801
3805
|
downtimeInSeconds?: number | null;
|
|
3802
3806
|
totalTimeInSeconds?: number | null;
|
|
@@ -5857,81 +5861,30 @@ export interface IUpdateMachinesCapacity {
|
|
|
5857
5861
|
utilizationPercent?: number | null;
|
|
5858
5862
|
capacity?: MachineCapacitySettingsDto[] | null;
|
|
5859
5863
|
}
|
|
5860
|
-
export declare class
|
|
5864
|
+
export declare class CalenderCapacityDto implements ICalenderCapacityDto {
|
|
5861
5865
|
date?: Date;
|
|
5862
|
-
dayCapacity?:
|
|
5863
|
-
|
|
5864
|
-
constructor(data?: ICalendarDayDto);
|
|
5866
|
+
dayCapacity?: CalenderDayCapacityDto;
|
|
5867
|
+
constructor(data?: ICalenderCapacityDto);
|
|
5865
5868
|
init(_data?: any): void;
|
|
5866
|
-
static fromJS(data: any):
|
|
5869
|
+
static fromJS(data: any): CalenderCapacityDto;
|
|
5867
5870
|
toJSON(data?: any): any;
|
|
5868
5871
|
}
|
|
5869
|
-
export interface
|
|
5872
|
+
export interface ICalenderCapacityDto {
|
|
5870
5873
|
date?: Date;
|
|
5871
|
-
dayCapacity?:
|
|
5872
|
-
capacityHours?: number;
|
|
5874
|
+
dayCapacity?: CalenderDayCapacityDto;
|
|
5873
5875
|
}
|
|
5874
|
-
export type
|
|
5875
|
-
export declare class
|
|
5876
|
+
export type CalenderDayCapacityDto = "WorkingDay" | "HalfDay" | "Holiday";
|
|
5877
|
+
export declare class UpdateCalenderCapacity implements IUpdateCalenderCapacity {
|
|
5876
5878
|
date?: Date;
|
|
5877
|
-
dayCapacity?:
|
|
5878
|
-
constructor(data?:
|
|
5879
|
+
dayCapacity?: CalenderDayCapacityDto;
|
|
5880
|
+
constructor(data?: IUpdateCalenderCapacity);
|
|
5879
5881
|
init(_data?: any): void;
|
|
5880
|
-
static fromJS(data: any):
|
|
5882
|
+
static fromJS(data: any): UpdateCalenderCapacity;
|
|
5881
5883
|
toJSON(data?: any): any;
|
|
5882
5884
|
}
|
|
5883
|
-
export interface
|
|
5885
|
+
export interface IUpdateCalenderCapacity {
|
|
5884
5886
|
date?: Date;
|
|
5885
|
-
dayCapacity?:
|
|
5886
|
-
}
|
|
5887
|
-
export declare class UpdateCalendarCapacity implements IUpdateCalendarCapacity {
|
|
5888
|
-
date?: Date;
|
|
5889
|
-
dayCapacity?: CalendarDayCapacityDto;
|
|
5890
|
-
constructor(data?: IUpdateCalendarCapacity);
|
|
5891
|
-
init(_data?: any): void;
|
|
5892
|
-
static fromJS(data: any): UpdateCalendarCapacity;
|
|
5893
|
-
toJSON(data?: any): any;
|
|
5894
|
-
}
|
|
5895
|
-
export interface IUpdateCalendarCapacity {
|
|
5896
|
-
date?: Date;
|
|
5897
|
-
dayCapacity?: CalendarDayCapacityDto;
|
|
5898
|
-
}
|
|
5899
|
-
export declare class CalendarSettingsDto implements ICalendarSettingsDto {
|
|
5900
|
-
defaultHoursPerWeekday?: {
|
|
5901
|
-
[key in DayOfWeek]?: number;
|
|
5902
|
-
};
|
|
5903
|
-
halfDayHours?: number;
|
|
5904
|
-
holidayHours?: number;
|
|
5905
|
-
constructor(data?: ICalendarSettingsDto);
|
|
5906
|
-
init(_data?: any): void;
|
|
5907
|
-
static fromJS(data: any): CalendarSettingsDto;
|
|
5908
|
-
toJSON(data?: any): any;
|
|
5909
|
-
}
|
|
5910
|
-
export interface ICalendarSettingsDto {
|
|
5911
|
-
defaultHoursPerWeekday?: {
|
|
5912
|
-
[key in DayOfWeek]?: number;
|
|
5913
|
-
};
|
|
5914
|
-
halfDayHours?: number;
|
|
5915
|
-
holidayHours?: number;
|
|
5916
|
-
}
|
|
5917
|
-
export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
5918
|
-
export declare class UpdateCalendarSettingsCommand implements IUpdateCalendarSettingsCommand {
|
|
5919
|
-
defaultHoursPerWeekday?: {
|
|
5920
|
-
[key in DayOfWeek]?: number;
|
|
5921
|
-
};
|
|
5922
|
-
halfDayHours?: number;
|
|
5923
|
-
holidayHours?: number;
|
|
5924
|
-
constructor(data?: IUpdateCalendarSettingsCommand);
|
|
5925
|
-
init(_data?: any): void;
|
|
5926
|
-
static fromJS(data: any): UpdateCalendarSettingsCommand;
|
|
5927
|
-
toJSON(data?: any): any;
|
|
5928
|
-
}
|
|
5929
|
-
export interface IUpdateCalendarSettingsCommand {
|
|
5930
|
-
defaultHoursPerWeekday?: {
|
|
5931
|
-
[key in DayOfWeek]?: number;
|
|
5932
|
-
};
|
|
5933
|
-
halfDayHours?: number;
|
|
5934
|
-
holidayHours?: number;
|
|
5887
|
+
dayCapacity?: CalenderDayCapacityDto;
|
|
5935
5888
|
}
|
|
5936
5889
|
export declare class MachineKpiDto implements IMachineKpiDto {
|
|
5937
5890
|
uptimeToNow: number;
|
|
@@ -11764,6 +11717,7 @@ export declare class MeasurementFormGroupedElementDto implements IMeasurementFor
|
|
|
11764
11717
|
machiningDimension?: number | null;
|
|
11765
11718
|
nominalInch?: number | null;
|
|
11766
11719
|
isValid: boolean;
|
|
11720
|
+
validationErrorMessage?: string | null;
|
|
11767
11721
|
constructor(data?: IMeasurementFormGroupedElementDto);
|
|
11768
11722
|
init(_data?: any): void;
|
|
11769
11723
|
static fromJS(data: any): MeasurementFormGroupedElementDto;
|
|
@@ -11809,8 +11763,9 @@ export interface IMeasurementFormGroupedElementDto {
|
|
|
11809
11763
|
machiningDimension?: number | null;
|
|
11810
11764
|
nominalInch?: number | null;
|
|
11811
11765
|
isValid: boolean;
|
|
11766
|
+
validationErrorMessage?: string | null;
|
|
11812
11767
|
}
|
|
11813
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "None";
|
|
11768
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
11814
11769
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
11815
11770
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
11816
11771
|
export declare class MeasurementFormLinkedSchemaDto implements IMeasurementFormLinkedSchemaDto {
|
|
@@ -11952,6 +11907,7 @@ export declare class UpdateSchemaGroupedElementDto implements IUpdateSchemaGroup
|
|
|
11952
11907
|
includeInCustomerDocumentation: boolean;
|
|
11953
11908
|
canCopy?: boolean | null;
|
|
11954
11909
|
isDocumentedExternally: boolean;
|
|
11910
|
+
coatingThickness?: number | null;
|
|
11955
11911
|
constructor(data?: IUpdateSchemaGroupedElementDto);
|
|
11956
11912
|
init(_data?: any): void;
|
|
11957
11913
|
static fromJS(data: any): UpdateSchemaGroupedElementDto;
|
|
@@ -11964,6 +11920,7 @@ export interface IUpdateSchemaGroupedElementDto {
|
|
|
11964
11920
|
includeInCustomerDocumentation: boolean;
|
|
11965
11921
|
canCopy?: boolean | null;
|
|
11966
11922
|
isDocumentedExternally: boolean;
|
|
11923
|
+
coatingThickness?: number | null;
|
|
11967
11924
|
}
|
|
11968
11925
|
export declare class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedElementRowDto {
|
|
11969
11926
|
id: string;
|