@ignos/api-client 20250704.0.12089-alpha → 20250707.0.12091
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 +22 -23
- package/lib/ignosportal-api.js +25 -85
- package/package.json +1 -1
- package/src/ignosportal-api.ts +44 -103
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -176,7 +176,6 @@ export interface IMachineUtilizationClient {
|
|
|
176
176
|
listMachineUptimesToday(request: ListMachineUptimesTodayRequest): Promise<MachineUptimesAggregateDto>;
|
|
177
177
|
listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
|
|
178
178
|
getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
|
|
179
|
-
getProgramTimeline(id: string, startTime: Date | undefined, endTime: Date | undefined): Promise<ProgramDatapoint[]>;
|
|
180
179
|
}
|
|
181
180
|
export declare class MachineUtilizationClient extends AuthorizedApiBase implements IMachineUtilizationClient {
|
|
182
181
|
private http;
|
|
@@ -218,8 +217,6 @@ export declare class MachineUtilizationClient extends AuthorizedApiBase implemen
|
|
|
218
217
|
protected processListPowerOnUtilizationDatapoints(response: Response): Promise<PowerOnUtilizationList>;
|
|
219
218
|
getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
|
|
220
219
|
protected processGetFactoryUtilization(response: Response): Promise<PowerOnUtilizationDto>;
|
|
221
|
-
getProgramTimeline(id: string, startTime: Date | undefined, endTime: Date | undefined): Promise<ProgramDatapoint[]>;
|
|
222
|
-
protected processGetProgramTimeline(response: Response): Promise<ProgramDatapoint[]>;
|
|
223
220
|
}
|
|
224
221
|
export interface IMeClient {
|
|
225
222
|
getMyApps(): Promise<UserAppDto[]>;
|
|
@@ -393,9 +390,9 @@ export declare class PulseClient extends AuthorizedApiBase implements IPulseClie
|
|
|
393
390
|
protected processUpdatePulseSettings(response: Response): Promise<PulseSettingsDto>;
|
|
394
391
|
}
|
|
395
392
|
export interface IUtilizationClient {
|
|
396
|
-
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDto>;
|
|
397
|
-
getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CrossCompanyUtilizationDto>;
|
|
398
|
-
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>;
|
|
399
396
|
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
|
|
400
397
|
getCrossCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CrossCompanyUtilizationDatapointListDto>;
|
|
401
398
|
}
|
|
@@ -406,11 +403,11 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
|
|
|
406
403
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
407
404
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
408
405
|
});
|
|
409
|
-
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>;
|
|
410
407
|
protected processGetCompanyUtilization(response: Response): Promise<CompanyUtilizationDto>;
|
|
411
|
-
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>;
|
|
412
409
|
protected processGetCrossCompanyUtilization(response: Response): Promise<CrossCompanyUtilizationDto>;
|
|
413
|
-
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>;
|
|
414
411
|
protected processGetUtilizationDatapoints(response: Response): Promise<MachineUtilizationDatapointListDto>;
|
|
415
412
|
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
|
|
416
413
|
protected processGetCompanyUtilizationDatapoints(response: Response): Promise<CompanyUtilizationDatapointListDto>;
|
|
@@ -3109,18 +3106,6 @@ export interface INumericNullableValueWithTimestamp {
|
|
|
3109
3106
|
timestamp?: number;
|
|
3110
3107
|
value?: number | null;
|
|
3111
3108
|
}
|
|
3112
|
-
export declare class ProgramDatapoint implements IProgramDatapoint {
|
|
3113
|
-
timestamp?: number;
|
|
3114
|
-
programValue?: string;
|
|
3115
|
-
constructor(data?: IProgramDatapoint);
|
|
3116
|
-
init(_data?: any): void;
|
|
3117
|
-
static fromJS(data: any): ProgramDatapoint;
|
|
3118
|
-
toJSON(data?: any): any;
|
|
3119
|
-
}
|
|
3120
|
-
export interface IProgramDatapoint {
|
|
3121
|
-
timestamp?: number;
|
|
3122
|
-
programValue?: string;
|
|
3123
|
-
}
|
|
3124
3109
|
export declare class UserAppDto implements IUserAppDto {
|
|
3125
3110
|
key: string;
|
|
3126
3111
|
name: string;
|
|
@@ -3744,11 +3729,13 @@ export interface IPulseSettingsDto {
|
|
|
3744
3729
|
defaultUtilizationType: UtilizationTypeDto;
|
|
3745
3730
|
utilizationTypeEnabling: UtilizationTypeEnablingDto;
|
|
3746
3731
|
}
|
|
3747
|
-
export type UtilizationTypeDto = "PowerOn" | "TwentyFourSeven" | "ActiveOrder";
|
|
3732
|
+
export type UtilizationTypeDto = "PowerOn" | "TwentyFourSeven" | "ActiveOrder" | "MachineCalendar" | "FactoryCalendar";
|
|
3748
3733
|
export declare class UtilizationTypeEnablingDto implements IUtilizationTypeEnablingDto {
|
|
3749
3734
|
powerOnEnabled: boolean;
|
|
3750
3735
|
twentyFourSevenEnabled: boolean;
|
|
3751
3736
|
activeOrderEnabled: boolean;
|
|
3737
|
+
machineCalendarEnabled: boolean;
|
|
3738
|
+
factoryCalendarEnabled: boolean;
|
|
3752
3739
|
constructor(data?: IUtilizationTypeEnablingDto);
|
|
3753
3740
|
init(_data?: any): void;
|
|
3754
3741
|
static fromJS(data: any): UtilizationTypeEnablingDto;
|
|
@@ -3758,12 +3745,16 @@ export interface IUtilizationTypeEnablingDto {
|
|
|
3758
3745
|
powerOnEnabled: boolean;
|
|
3759
3746
|
twentyFourSevenEnabled: boolean;
|
|
3760
3747
|
activeOrderEnabled: boolean;
|
|
3748
|
+
machineCalendarEnabled: boolean;
|
|
3749
|
+
factoryCalendarEnabled: boolean;
|
|
3761
3750
|
}
|
|
3762
3751
|
export declare class UpdatePulseSettings implements IUpdatePulseSettings {
|
|
3763
3752
|
defaultUtilizationType: UtilizationTypeDto;
|
|
3764
3753
|
powerOnEnabled: boolean;
|
|
3765
3754
|
twentyfourSevenEnabled: boolean;
|
|
3766
3755
|
activeOrderEnabled: boolean;
|
|
3756
|
+
machineCalendarEnabled: boolean;
|
|
3757
|
+
factoryCalendarEnabled: boolean;
|
|
3767
3758
|
constructor(data?: IUpdatePulseSettings);
|
|
3768
3759
|
init(_data?: any): void;
|
|
3769
3760
|
static fromJS(data: any): UpdatePulseSettings;
|
|
@@ -3774,6 +3765,8 @@ export interface IUpdatePulseSettings {
|
|
|
3774
3765
|
powerOnEnabled: boolean;
|
|
3775
3766
|
twentyfourSevenEnabled: boolean;
|
|
3776
3767
|
activeOrderEnabled: boolean;
|
|
3768
|
+
machineCalendarEnabled: boolean;
|
|
3769
|
+
factoryCalendarEnabled: boolean;
|
|
3777
3770
|
}
|
|
3778
3771
|
export declare class CompanyUtilizationDto implements ICompanyUtilizationDto {
|
|
3779
3772
|
utilizationType: UtilizationTypeDto;
|
|
@@ -3793,6 +3786,7 @@ export interface ICompanyUtilizationDto {
|
|
|
3793
3786
|
}
|
|
3794
3787
|
export declare class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
|
|
3795
3788
|
utilizationPercent?: number | null;
|
|
3789
|
+
capacityInMilliseconds?: number;
|
|
3796
3790
|
uptimeInSeconds?: number | null;
|
|
3797
3791
|
downtimeInSeconds?: number | null;
|
|
3798
3792
|
totalTimeInSeconds?: number | null;
|
|
@@ -3806,6 +3800,7 @@ export declare class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto
|
|
|
3806
3800
|
}
|
|
3807
3801
|
export interface IUtilizationDetailsV2Dto {
|
|
3808
3802
|
utilizationPercent?: number | null;
|
|
3803
|
+
capacityInMilliseconds?: number;
|
|
3809
3804
|
uptimeInSeconds?: number | null;
|
|
3810
3805
|
downtimeInSeconds?: number | null;
|
|
3811
3806
|
totalTimeInSeconds?: number | null;
|
|
@@ -11722,6 +11717,7 @@ export declare class MeasurementFormGroupedElementDto implements IMeasurementFor
|
|
|
11722
11717
|
machiningDimension?: number | null;
|
|
11723
11718
|
nominalInch?: number | null;
|
|
11724
11719
|
isValid: boolean;
|
|
11720
|
+
validationErrorMessage?: string | null;
|
|
11725
11721
|
constructor(data?: IMeasurementFormGroupedElementDto);
|
|
11726
11722
|
init(_data?: any): void;
|
|
11727
11723
|
static fromJS(data: any): MeasurementFormGroupedElementDto;
|
|
@@ -11767,8 +11763,9 @@ export interface IMeasurementFormGroupedElementDto {
|
|
|
11767
11763
|
machiningDimension?: number | null;
|
|
11768
11764
|
nominalInch?: number | null;
|
|
11769
11765
|
isValid: boolean;
|
|
11766
|
+
validationErrorMessage?: string | null;
|
|
11770
11767
|
}
|
|
11771
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "None";
|
|
11768
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
11772
11769
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
11773
11770
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
11774
11771
|
export declare class MeasurementFormLinkedSchemaDto implements IMeasurementFormLinkedSchemaDto {
|
|
@@ -11910,6 +11907,7 @@ export declare class UpdateSchemaGroupedElementDto implements IUpdateSchemaGroup
|
|
|
11910
11907
|
includeInCustomerDocumentation: boolean;
|
|
11911
11908
|
canCopy?: boolean | null;
|
|
11912
11909
|
isDocumentedExternally: boolean;
|
|
11910
|
+
coatingThickness?: number | null;
|
|
11913
11911
|
constructor(data?: IUpdateSchemaGroupedElementDto);
|
|
11914
11912
|
init(_data?: any): void;
|
|
11915
11913
|
static fromJS(data: any): UpdateSchemaGroupedElementDto;
|
|
@@ -11922,6 +11920,7 @@ export interface IUpdateSchemaGroupedElementDto {
|
|
|
11922
11920
|
includeInCustomerDocumentation: boolean;
|
|
11923
11921
|
canCopy?: boolean | null;
|
|
11924
11922
|
isDocumentedExternally: boolean;
|
|
11923
|
+
coatingThickness?: number | null;
|
|
11925
11924
|
}
|
|
11926
11925
|
export declare class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedElementRowDto {
|
|
11927
11926
|
id: string;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -970,58 +970,6 @@ export class MachineUtilizationClient extends AuthorizedApiBase {
|
|
|
970
970
|
}
|
|
971
971
|
return Promise.resolve(null);
|
|
972
972
|
}
|
|
973
|
-
getProgramTimeline(id, startTime, endTime) {
|
|
974
|
-
let url_ = this.baseUrl + "/machineutilization/{id}/program-timeline?";
|
|
975
|
-
if (id === undefined || id === null)
|
|
976
|
-
throw new Error("The parameter 'id' must be defined.");
|
|
977
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
978
|
-
if (startTime === null)
|
|
979
|
-
throw new Error("The parameter 'startTime' cannot be null.");
|
|
980
|
-
else if (startTime !== undefined)
|
|
981
|
-
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
982
|
-
if (endTime === null)
|
|
983
|
-
throw new Error("The parameter 'endTime' cannot be null.");
|
|
984
|
-
else if (endTime !== undefined)
|
|
985
|
-
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
986
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
987
|
-
let options_ = {
|
|
988
|
-
method: "GET",
|
|
989
|
-
headers: {
|
|
990
|
-
"Accept": "application/json"
|
|
991
|
-
}
|
|
992
|
-
};
|
|
993
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
994
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
995
|
-
}).then((_response) => {
|
|
996
|
-
return this.processGetProgramTimeline(_response);
|
|
997
|
-
});
|
|
998
|
-
}
|
|
999
|
-
processGetProgramTimeline(response) {
|
|
1000
|
-
const status = response.status;
|
|
1001
|
-
let _headers = {};
|
|
1002
|
-
if (response.headers && response.headers.forEach) {
|
|
1003
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
1004
|
-
}
|
|
1005
|
-
;
|
|
1006
|
-
if (status === 200) {
|
|
1007
|
-
return response.text().then((_responseText) => {
|
|
1008
|
-
let result200 = null;
|
|
1009
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1010
|
-
if (Array.isArray(resultData200)) {
|
|
1011
|
-
result200 = [];
|
|
1012
|
-
for (let item of resultData200)
|
|
1013
|
-
result200.push(ProgramDatapoint.fromJS(item));
|
|
1014
|
-
}
|
|
1015
|
-
return result200;
|
|
1016
|
-
});
|
|
1017
|
-
}
|
|
1018
|
-
else if (status !== 200 && status !== 204) {
|
|
1019
|
-
return response.text().then((_responseText) => {
|
|
1020
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1021
|
-
});
|
|
1022
|
-
}
|
|
1023
|
-
return Promise.resolve(null);
|
|
1024
|
-
}
|
|
1025
973
|
}
|
|
1026
974
|
export class MeClient extends AuthorizedApiBase {
|
|
1027
975
|
constructor(configuration, baseUrl, http) {
|
|
@@ -2221,7 +2169,7 @@ export class UtilizationClient extends AuthorizedApiBase {
|
|
|
2221
2169
|
this.http = http ? http : window;
|
|
2222
2170
|
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
2223
2171
|
}
|
|
2224
|
-
getCompanyUtilization(utilizationType, startTime, endTime) {
|
|
2172
|
+
getCompanyUtilization(utilizationType, startTime, endTime, dataPointCount) {
|
|
2225
2173
|
let url_ = this.baseUrl + "/utilization?";
|
|
2226
2174
|
if (utilizationType === null)
|
|
2227
2175
|
throw new Error("The parameter 'utilizationType' cannot be null.");
|
|
@@ -2231,6 +2179,10 @@ export class UtilizationClient extends AuthorizedApiBase {
|
|
|
2231
2179
|
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
2232
2180
|
if (endTime !== undefined && endTime !== null)
|
|
2233
2181
|
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
2182
|
+
if (dataPointCount === null)
|
|
2183
|
+
throw new Error("The parameter 'dataPointCount' cannot be null.");
|
|
2184
|
+
else if (dataPointCount !== undefined)
|
|
2185
|
+
url_ += "dataPointCount=" + encodeURIComponent("" + dataPointCount) + "&";
|
|
2234
2186
|
url_ = url_.replace(/[?&]$/, "");
|
|
2235
2187
|
let options_ = {
|
|
2236
2188
|
method: "GET",
|
|
@@ -2266,7 +2218,7 @@ export class UtilizationClient extends AuthorizedApiBase {
|
|
|
2266
2218
|
}
|
|
2267
2219
|
return Promise.resolve(null);
|
|
2268
2220
|
}
|
|
2269
|
-
getCrossCompanyUtilization(utilizationType, startTime, endTime) {
|
|
2221
|
+
getCrossCompanyUtilization(utilizationType, startTime, endTime, dataPointCount) {
|
|
2270
2222
|
let url_ = this.baseUrl + "/utilization/cross-company?";
|
|
2271
2223
|
if (utilizationType === null)
|
|
2272
2224
|
throw new Error("The parameter 'utilizationType' cannot be null.");
|
|
@@ -2276,6 +2228,10 @@ export class UtilizationClient extends AuthorizedApiBase {
|
|
|
2276
2228
|
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
2277
2229
|
if (endTime !== undefined && endTime !== null)
|
|
2278
2230
|
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
2231
|
+
if (dataPointCount === null)
|
|
2232
|
+
throw new Error("The parameter 'dataPointCount' cannot be null.");
|
|
2233
|
+
else if (dataPointCount !== undefined)
|
|
2234
|
+
url_ += "dataPointCount=" + encodeURIComponent("" + dataPointCount) + "&";
|
|
2279
2235
|
url_ = url_.replace(/[?&]$/, "");
|
|
2280
2236
|
let options_ = {
|
|
2281
2237
|
method: "GET",
|
|
@@ -2311,7 +2267,7 @@ export class UtilizationClient extends AuthorizedApiBase {
|
|
|
2311
2267
|
}
|
|
2312
2268
|
return Promise.resolve(null);
|
|
2313
2269
|
}
|
|
2314
|
-
getUtilizationDatapoints(utilizationType, startTime, endTime,
|
|
2270
|
+
getUtilizationDatapoints(utilizationType, startTime, endTime, assetExternalId) {
|
|
2315
2271
|
let url_ = this.baseUrl + "/utilization/datapoints?";
|
|
2316
2272
|
if (utilizationType === null)
|
|
2317
2273
|
throw new Error("The parameter 'utilizationType' cannot be null.");
|
|
@@ -2321,8 +2277,6 @@ export class UtilizationClient extends AuthorizedApiBase {
|
|
|
2321
2277
|
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
2322
2278
|
if (endTime !== undefined && endTime !== null)
|
|
2323
2279
|
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
2324
|
-
if (assetId !== undefined && assetId !== null)
|
|
2325
|
-
url_ += "assetId=" + encodeURIComponent("" + assetId) + "&";
|
|
2326
2280
|
if (assetExternalId !== undefined && assetExternalId !== null)
|
|
2327
2281
|
url_ += "assetExternalId=" + encodeURIComponent("" + assetExternalId) + "&";
|
|
2328
2282
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -23395,34 +23349,6 @@ export class NumericNullableValueWithTimestamp {
|
|
|
23395
23349
|
return data;
|
|
23396
23350
|
}
|
|
23397
23351
|
}
|
|
23398
|
-
export class ProgramDatapoint {
|
|
23399
|
-
constructor(data) {
|
|
23400
|
-
if (data) {
|
|
23401
|
-
for (var property in data) {
|
|
23402
|
-
if (data.hasOwnProperty(property))
|
|
23403
|
-
this[property] = data[property];
|
|
23404
|
-
}
|
|
23405
|
-
}
|
|
23406
|
-
}
|
|
23407
|
-
init(_data) {
|
|
23408
|
-
if (_data) {
|
|
23409
|
-
this.timestamp = _data["timestamp"];
|
|
23410
|
-
this.programValue = _data["programValue"];
|
|
23411
|
-
}
|
|
23412
|
-
}
|
|
23413
|
-
static fromJS(data) {
|
|
23414
|
-
data = typeof data === 'object' ? data : {};
|
|
23415
|
-
let result = new ProgramDatapoint();
|
|
23416
|
-
result.init(data);
|
|
23417
|
-
return result;
|
|
23418
|
-
}
|
|
23419
|
-
toJSON(data) {
|
|
23420
|
-
data = typeof data === 'object' ? data : {};
|
|
23421
|
-
data["timestamp"] = this.timestamp;
|
|
23422
|
-
data["programValue"] = this.programValue;
|
|
23423
|
-
return data;
|
|
23424
|
-
}
|
|
23425
|
-
}
|
|
23426
23352
|
export class UserAppDto {
|
|
23427
23353
|
constructor(data) {
|
|
23428
23354
|
if (data) {
|
|
@@ -24786,6 +24712,8 @@ export class UtilizationTypeEnablingDto {
|
|
|
24786
24712
|
this.powerOnEnabled = _data["powerOnEnabled"];
|
|
24787
24713
|
this.twentyFourSevenEnabled = _data["twentyFourSevenEnabled"];
|
|
24788
24714
|
this.activeOrderEnabled = _data["activeOrderEnabled"];
|
|
24715
|
+
this.machineCalendarEnabled = _data["machineCalendarEnabled"];
|
|
24716
|
+
this.factoryCalendarEnabled = _data["factoryCalendarEnabled"];
|
|
24789
24717
|
}
|
|
24790
24718
|
}
|
|
24791
24719
|
static fromJS(data) {
|
|
@@ -24799,6 +24727,8 @@ export class UtilizationTypeEnablingDto {
|
|
|
24799
24727
|
data["powerOnEnabled"] = this.powerOnEnabled;
|
|
24800
24728
|
data["twentyFourSevenEnabled"] = this.twentyFourSevenEnabled;
|
|
24801
24729
|
data["activeOrderEnabled"] = this.activeOrderEnabled;
|
|
24730
|
+
data["machineCalendarEnabled"] = this.machineCalendarEnabled;
|
|
24731
|
+
data["factoryCalendarEnabled"] = this.factoryCalendarEnabled;
|
|
24802
24732
|
return data;
|
|
24803
24733
|
}
|
|
24804
24734
|
}
|
|
@@ -24817,6 +24747,8 @@ export class UpdatePulseSettings {
|
|
|
24817
24747
|
this.powerOnEnabled = _data["powerOnEnabled"];
|
|
24818
24748
|
this.twentyfourSevenEnabled = _data["twentyfourSevenEnabled"];
|
|
24819
24749
|
this.activeOrderEnabled = _data["activeOrderEnabled"];
|
|
24750
|
+
this.machineCalendarEnabled = _data["machineCalendarEnabled"];
|
|
24751
|
+
this.factoryCalendarEnabled = _data["factoryCalendarEnabled"];
|
|
24820
24752
|
}
|
|
24821
24753
|
}
|
|
24822
24754
|
static fromJS(data) {
|
|
@@ -24831,6 +24763,8 @@ export class UpdatePulseSettings {
|
|
|
24831
24763
|
data["powerOnEnabled"] = this.powerOnEnabled;
|
|
24832
24764
|
data["twentyfourSevenEnabled"] = this.twentyfourSevenEnabled;
|
|
24833
24765
|
data["activeOrderEnabled"] = this.activeOrderEnabled;
|
|
24766
|
+
data["machineCalendarEnabled"] = this.machineCalendarEnabled;
|
|
24767
|
+
data["factoryCalendarEnabled"] = this.factoryCalendarEnabled;
|
|
24834
24768
|
return data;
|
|
24835
24769
|
}
|
|
24836
24770
|
}
|
|
@@ -24899,6 +24833,7 @@ export class UtilizationDetailsV2Dto {
|
|
|
24899
24833
|
init(_data) {
|
|
24900
24834
|
if (_data) {
|
|
24901
24835
|
this.utilizationPercent = _data["utilizationPercent"];
|
|
24836
|
+
this.capacityInMilliseconds = _data["capacityInMilliseconds"];
|
|
24902
24837
|
this.uptimeInSeconds = _data["uptimeInSeconds"];
|
|
24903
24838
|
this.downtimeInSeconds = _data["downtimeInSeconds"];
|
|
24904
24839
|
this.totalTimeInSeconds = _data["totalTimeInSeconds"];
|
|
@@ -24916,6 +24851,7 @@ export class UtilizationDetailsV2Dto {
|
|
|
24916
24851
|
toJSON(data) {
|
|
24917
24852
|
data = typeof data === 'object' ? data : {};
|
|
24918
24853
|
data["utilizationPercent"] = this.utilizationPercent;
|
|
24854
|
+
data["capacityInMilliseconds"] = this.capacityInMilliseconds;
|
|
24919
24855
|
data["uptimeInSeconds"] = this.uptimeInSeconds;
|
|
24920
24856
|
data["downtimeInSeconds"] = this.downtimeInSeconds;
|
|
24921
24857
|
data["totalTimeInSeconds"] = this.totalTimeInSeconds;
|
|
@@ -41150,6 +41086,7 @@ export class MeasurementFormGroupedElementDto {
|
|
|
41150
41086
|
this.machiningDimension = _data["machiningDimension"];
|
|
41151
41087
|
this.nominalInch = _data["nominalInch"];
|
|
41152
41088
|
this.isValid = _data["isValid"];
|
|
41089
|
+
this.validationErrorMessage = _data["validationErrorMessage"];
|
|
41153
41090
|
}
|
|
41154
41091
|
}
|
|
41155
41092
|
static fromJS(data) {
|
|
@@ -41199,6 +41136,7 @@ export class MeasurementFormGroupedElementDto {
|
|
|
41199
41136
|
data["machiningDimension"] = this.machiningDimension;
|
|
41200
41137
|
data["nominalInch"] = this.nominalInch;
|
|
41201
41138
|
data["isValid"] = this.isValid;
|
|
41139
|
+
data["validationErrorMessage"] = this.validationErrorMessage;
|
|
41202
41140
|
return data;
|
|
41203
41141
|
}
|
|
41204
41142
|
}
|
|
@@ -41469,6 +41407,7 @@ export class UpdateSchemaGroupedElementDto {
|
|
|
41469
41407
|
this.includeInCustomerDocumentation = _data["includeInCustomerDocumentation"];
|
|
41470
41408
|
this.canCopy = _data["canCopy"];
|
|
41471
41409
|
this.isDocumentedExternally = _data["isDocumentedExternally"];
|
|
41410
|
+
this.coatingThickness = _data["coatingThickness"];
|
|
41472
41411
|
}
|
|
41473
41412
|
}
|
|
41474
41413
|
static fromJS(data) {
|
|
@@ -41485,6 +41424,7 @@ export class UpdateSchemaGroupedElementDto {
|
|
|
41485
41424
|
data["includeInCustomerDocumentation"] = this.includeInCustomerDocumentation;
|
|
41486
41425
|
data["canCopy"] = this.canCopy;
|
|
41487
41426
|
data["isDocumentedExternally"] = this.isDocumentedExternally;
|
|
41427
|
+
data["coatingThickness"] = this.coatingThickness;
|
|
41488
41428
|
return data;
|
|
41489
41429
|
}
|
|
41490
41430
|
}
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -716,8 +716,6 @@ export interface IMachineUtilizationClient {
|
|
|
716
716
|
listPowerOnUtilizationDatapoints(id: number | null | undefined, externalId: string | null | undefined, nDays: number | null | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<PowerOnUtilizationList>;
|
|
717
717
|
|
|
718
718
|
getFactoryUtilization(): Promise<PowerOnUtilizationDto>;
|
|
719
|
-
|
|
720
|
-
getProgramTimeline(id: string, startTime: Date | undefined, endTime: Date | undefined): Promise<ProgramDatapoint[]>;
|
|
721
719
|
}
|
|
722
720
|
|
|
723
721
|
export class MachineUtilizationClient extends AuthorizedApiBase implements IMachineUtilizationClient {
|
|
@@ -1093,57 +1091,6 @@ export class MachineUtilizationClient extends AuthorizedApiBase implements IMach
|
|
|
1093
1091
|
}
|
|
1094
1092
|
return Promise.resolve<PowerOnUtilizationDto>(null as any);
|
|
1095
1093
|
}
|
|
1096
|
-
|
|
1097
|
-
getProgramTimeline(id: string, startTime: Date | undefined, endTime: Date | undefined): Promise<ProgramDatapoint[]> {
|
|
1098
|
-
let url_ = this.baseUrl + "/machineutilization/{id}/program-timeline?";
|
|
1099
|
-
if (id === undefined || id === null)
|
|
1100
|
-
throw new Error("The parameter 'id' must be defined.");
|
|
1101
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
1102
|
-
if (startTime === null)
|
|
1103
|
-
throw new Error("The parameter 'startTime' cannot be null.");
|
|
1104
|
-
else if (startTime !== undefined)
|
|
1105
|
-
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
1106
|
-
if (endTime === null)
|
|
1107
|
-
throw new Error("The parameter 'endTime' cannot be null.");
|
|
1108
|
-
else if (endTime !== undefined)
|
|
1109
|
-
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
1110
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
1111
|
-
|
|
1112
|
-
let options_: RequestInit = {
|
|
1113
|
-
method: "GET",
|
|
1114
|
-
headers: {
|
|
1115
|
-
"Accept": "application/json"
|
|
1116
|
-
}
|
|
1117
|
-
};
|
|
1118
|
-
|
|
1119
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1120
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
1121
|
-
}).then((_response: Response) => {
|
|
1122
|
-
return this.processGetProgramTimeline(_response);
|
|
1123
|
-
});
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
protected processGetProgramTimeline(response: Response): Promise<ProgramDatapoint[]> {
|
|
1127
|
-
const status = response.status;
|
|
1128
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
1129
|
-
if (status === 200) {
|
|
1130
|
-
return response.text().then((_responseText) => {
|
|
1131
|
-
let result200: any = null;
|
|
1132
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1133
|
-
if (Array.isArray(resultData200)) {
|
|
1134
|
-
result200 = [] as any;
|
|
1135
|
-
for (let item of resultData200)
|
|
1136
|
-
result200!.push(ProgramDatapoint.fromJS(item));
|
|
1137
|
-
}
|
|
1138
|
-
return result200;
|
|
1139
|
-
});
|
|
1140
|
-
} else if (status !== 200 && status !== 204) {
|
|
1141
|
-
return response.text().then((_responseText) => {
|
|
1142
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1143
|
-
});
|
|
1144
|
-
}
|
|
1145
|
-
return Promise.resolve<ProgramDatapoint[]>(null as any);
|
|
1146
|
-
}
|
|
1147
1094
|
}
|
|
1148
1095
|
|
|
1149
1096
|
export interface IMeClient {
|
|
@@ -2440,11 +2387,11 @@ export class PulseClient extends AuthorizedApiBase implements IPulseClient {
|
|
|
2440
2387
|
|
|
2441
2388
|
export interface IUtilizationClient {
|
|
2442
2389
|
|
|
2443
|
-
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDto>;
|
|
2390
|
+
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, dataPointCount: number | undefined): Promise<CompanyUtilizationDto>;
|
|
2444
2391
|
|
|
2445
|
-
getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CrossCompanyUtilizationDto>;
|
|
2392
|
+
getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, dataPointCount: number | undefined): Promise<CrossCompanyUtilizationDto>;
|
|
2446
2393
|
|
|
2447
|
-
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined,
|
|
2394
|
+
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
2448
2395
|
|
|
2449
2396
|
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
|
|
2450
2397
|
|
|
@@ -2462,7 +2409,7 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
2462
2409
|
this.baseUrl = baseUrl ?? "";
|
|
2463
2410
|
}
|
|
2464
2411
|
|
|
2465
|
-
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CompanyUtilizationDto> {
|
|
2412
|
+
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, dataPointCount: number | undefined): Promise<CompanyUtilizationDto> {
|
|
2466
2413
|
let url_ = this.baseUrl + "/utilization?";
|
|
2467
2414
|
if (utilizationType === null)
|
|
2468
2415
|
throw new Error("The parameter 'utilizationType' cannot be null.");
|
|
@@ -2472,6 +2419,10 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
2472
2419
|
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
2473
2420
|
if (endTime !== undefined && endTime !== null)
|
|
2474
2421
|
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
2422
|
+
if (dataPointCount === null)
|
|
2423
|
+
throw new Error("The parameter 'dataPointCount' cannot be null.");
|
|
2424
|
+
else if (dataPointCount !== undefined)
|
|
2425
|
+
url_ += "dataPointCount=" + encodeURIComponent("" + dataPointCount) + "&";
|
|
2475
2426
|
url_ = url_.replace(/[?&]$/, "");
|
|
2476
2427
|
|
|
2477
2428
|
let options_: RequestInit = {
|
|
@@ -2506,7 +2457,7 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
2506
2457
|
return Promise.resolve<CompanyUtilizationDto>(null as any);
|
|
2507
2458
|
}
|
|
2508
2459
|
|
|
2509
|
-
getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined): Promise<CrossCompanyUtilizationDto> {
|
|
2460
|
+
getCrossCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, dataPointCount: number | undefined): Promise<CrossCompanyUtilizationDto> {
|
|
2510
2461
|
let url_ = this.baseUrl + "/utilization/cross-company?";
|
|
2511
2462
|
if (utilizationType === null)
|
|
2512
2463
|
throw new Error("The parameter 'utilizationType' cannot be null.");
|
|
@@ -2516,6 +2467,10 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
2516
2467
|
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
2517
2468
|
if (endTime !== undefined && endTime !== null)
|
|
2518
2469
|
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
2470
|
+
if (dataPointCount === null)
|
|
2471
|
+
throw new Error("The parameter 'dataPointCount' cannot be null.");
|
|
2472
|
+
else if (dataPointCount !== undefined)
|
|
2473
|
+
url_ += "dataPointCount=" + encodeURIComponent("" + dataPointCount) + "&";
|
|
2519
2474
|
url_ = url_.replace(/[?&]$/, "");
|
|
2520
2475
|
|
|
2521
2476
|
let options_: RequestInit = {
|
|
@@ -2550,7 +2505,7 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
2550
2505
|
return Promise.resolve<CrossCompanyUtilizationDto>(null as any);
|
|
2551
2506
|
}
|
|
2552
2507
|
|
|
2553
|
-
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined,
|
|
2508
|
+
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | null | undefined, endTime: Date | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto> {
|
|
2554
2509
|
let url_ = this.baseUrl + "/utilization/datapoints?";
|
|
2555
2510
|
if (utilizationType === null)
|
|
2556
2511
|
throw new Error("The parameter 'utilizationType' cannot be null.");
|
|
@@ -2560,8 +2515,6 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
2560
2515
|
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
2561
2516
|
if (endTime !== undefined && endTime !== null)
|
|
2562
2517
|
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
2563
|
-
if (assetId !== undefined && assetId !== null)
|
|
2564
|
-
url_ += "assetId=" + encodeURIComponent("" + assetId) + "&";
|
|
2565
2518
|
if (assetExternalId !== undefined && assetExternalId !== null)
|
|
2566
2519
|
url_ += "assetExternalId=" + encodeURIComponent("" + assetExternalId) + "&";
|
|
2567
2520
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -25303,46 +25256,6 @@ export interface INumericNullableValueWithTimestamp {
|
|
|
25303
25256
|
value?: number | null;
|
|
25304
25257
|
}
|
|
25305
25258
|
|
|
25306
|
-
export class ProgramDatapoint implements IProgramDatapoint {
|
|
25307
|
-
timestamp?: number;
|
|
25308
|
-
programValue?: string;
|
|
25309
|
-
|
|
25310
|
-
constructor(data?: IProgramDatapoint) {
|
|
25311
|
-
if (data) {
|
|
25312
|
-
for (var property in data) {
|
|
25313
|
-
if (data.hasOwnProperty(property))
|
|
25314
|
-
(<any>this)[property] = (<any>data)[property];
|
|
25315
|
-
}
|
|
25316
|
-
}
|
|
25317
|
-
}
|
|
25318
|
-
|
|
25319
|
-
init(_data?: any) {
|
|
25320
|
-
if (_data) {
|
|
25321
|
-
this.timestamp = _data["timestamp"];
|
|
25322
|
-
this.programValue = _data["programValue"];
|
|
25323
|
-
}
|
|
25324
|
-
}
|
|
25325
|
-
|
|
25326
|
-
static fromJS(data: any): ProgramDatapoint {
|
|
25327
|
-
data = typeof data === 'object' ? data : {};
|
|
25328
|
-
let result = new ProgramDatapoint();
|
|
25329
|
-
result.init(data);
|
|
25330
|
-
return result;
|
|
25331
|
-
}
|
|
25332
|
-
|
|
25333
|
-
toJSON(data?: any) {
|
|
25334
|
-
data = typeof data === 'object' ? data : {};
|
|
25335
|
-
data["timestamp"] = this.timestamp;
|
|
25336
|
-
data["programValue"] = this.programValue;
|
|
25337
|
-
return data;
|
|
25338
|
-
}
|
|
25339
|
-
}
|
|
25340
|
-
|
|
25341
|
-
export interface IProgramDatapoint {
|
|
25342
|
-
timestamp?: number;
|
|
25343
|
-
programValue?: string;
|
|
25344
|
-
}
|
|
25345
|
-
|
|
25346
25259
|
export class UserAppDto implements IUserAppDto {
|
|
25347
25260
|
key!: string;
|
|
25348
25261
|
name!: string;
|
|
@@ -27316,12 +27229,14 @@ export interface IPulseSettingsDto {
|
|
|
27316
27229
|
utilizationTypeEnabling: UtilizationTypeEnablingDto;
|
|
27317
27230
|
}
|
|
27318
27231
|
|
|
27319
|
-
export type UtilizationTypeDto = "PowerOn" | "TwentyFourSeven" | "ActiveOrder";
|
|
27232
|
+
export type UtilizationTypeDto = "PowerOn" | "TwentyFourSeven" | "ActiveOrder" | "MachineCalendar" | "FactoryCalendar";
|
|
27320
27233
|
|
|
27321
27234
|
export class UtilizationTypeEnablingDto implements IUtilizationTypeEnablingDto {
|
|
27322
27235
|
powerOnEnabled!: boolean;
|
|
27323
27236
|
twentyFourSevenEnabled!: boolean;
|
|
27324
27237
|
activeOrderEnabled!: boolean;
|
|
27238
|
+
machineCalendarEnabled!: boolean;
|
|
27239
|
+
factoryCalendarEnabled!: boolean;
|
|
27325
27240
|
|
|
27326
27241
|
constructor(data?: IUtilizationTypeEnablingDto) {
|
|
27327
27242
|
if (data) {
|
|
@@ -27337,6 +27252,8 @@ export class UtilizationTypeEnablingDto implements IUtilizationTypeEnablingDto {
|
|
|
27337
27252
|
this.powerOnEnabled = _data["powerOnEnabled"];
|
|
27338
27253
|
this.twentyFourSevenEnabled = _data["twentyFourSevenEnabled"];
|
|
27339
27254
|
this.activeOrderEnabled = _data["activeOrderEnabled"];
|
|
27255
|
+
this.machineCalendarEnabled = _data["machineCalendarEnabled"];
|
|
27256
|
+
this.factoryCalendarEnabled = _data["factoryCalendarEnabled"];
|
|
27340
27257
|
}
|
|
27341
27258
|
}
|
|
27342
27259
|
|
|
@@ -27352,6 +27269,8 @@ export class UtilizationTypeEnablingDto implements IUtilizationTypeEnablingDto {
|
|
|
27352
27269
|
data["powerOnEnabled"] = this.powerOnEnabled;
|
|
27353
27270
|
data["twentyFourSevenEnabled"] = this.twentyFourSevenEnabled;
|
|
27354
27271
|
data["activeOrderEnabled"] = this.activeOrderEnabled;
|
|
27272
|
+
data["machineCalendarEnabled"] = this.machineCalendarEnabled;
|
|
27273
|
+
data["factoryCalendarEnabled"] = this.factoryCalendarEnabled;
|
|
27355
27274
|
return data;
|
|
27356
27275
|
}
|
|
27357
27276
|
}
|
|
@@ -27360,6 +27279,8 @@ export interface IUtilizationTypeEnablingDto {
|
|
|
27360
27279
|
powerOnEnabled: boolean;
|
|
27361
27280
|
twentyFourSevenEnabled: boolean;
|
|
27362
27281
|
activeOrderEnabled: boolean;
|
|
27282
|
+
machineCalendarEnabled: boolean;
|
|
27283
|
+
factoryCalendarEnabled: boolean;
|
|
27363
27284
|
}
|
|
27364
27285
|
|
|
27365
27286
|
export class UpdatePulseSettings implements IUpdatePulseSettings {
|
|
@@ -27367,6 +27288,8 @@ export class UpdatePulseSettings implements IUpdatePulseSettings {
|
|
|
27367
27288
|
powerOnEnabled!: boolean;
|
|
27368
27289
|
twentyfourSevenEnabled!: boolean;
|
|
27369
27290
|
activeOrderEnabled!: boolean;
|
|
27291
|
+
machineCalendarEnabled!: boolean;
|
|
27292
|
+
factoryCalendarEnabled!: boolean;
|
|
27370
27293
|
|
|
27371
27294
|
constructor(data?: IUpdatePulseSettings) {
|
|
27372
27295
|
if (data) {
|
|
@@ -27383,6 +27306,8 @@ export class UpdatePulseSettings implements IUpdatePulseSettings {
|
|
|
27383
27306
|
this.powerOnEnabled = _data["powerOnEnabled"];
|
|
27384
27307
|
this.twentyfourSevenEnabled = _data["twentyfourSevenEnabled"];
|
|
27385
27308
|
this.activeOrderEnabled = _data["activeOrderEnabled"];
|
|
27309
|
+
this.machineCalendarEnabled = _data["machineCalendarEnabled"];
|
|
27310
|
+
this.factoryCalendarEnabled = _data["factoryCalendarEnabled"];
|
|
27386
27311
|
}
|
|
27387
27312
|
}
|
|
27388
27313
|
|
|
@@ -27399,6 +27324,8 @@ export class UpdatePulseSettings implements IUpdatePulseSettings {
|
|
|
27399
27324
|
data["powerOnEnabled"] = this.powerOnEnabled;
|
|
27400
27325
|
data["twentyfourSevenEnabled"] = this.twentyfourSevenEnabled;
|
|
27401
27326
|
data["activeOrderEnabled"] = this.activeOrderEnabled;
|
|
27327
|
+
data["machineCalendarEnabled"] = this.machineCalendarEnabled;
|
|
27328
|
+
data["factoryCalendarEnabled"] = this.factoryCalendarEnabled;
|
|
27402
27329
|
return data;
|
|
27403
27330
|
}
|
|
27404
27331
|
}
|
|
@@ -27408,6 +27335,8 @@ export interface IUpdatePulseSettings {
|
|
|
27408
27335
|
powerOnEnabled: boolean;
|
|
27409
27336
|
twentyfourSevenEnabled: boolean;
|
|
27410
27337
|
activeOrderEnabled: boolean;
|
|
27338
|
+
machineCalendarEnabled: boolean;
|
|
27339
|
+
factoryCalendarEnabled: boolean;
|
|
27411
27340
|
}
|
|
27412
27341
|
|
|
27413
27342
|
export class CompanyUtilizationDto implements ICompanyUtilizationDto {
|
|
@@ -27481,6 +27410,7 @@ export interface ICompanyUtilizationDto {
|
|
|
27481
27410
|
|
|
27482
27411
|
export class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
|
|
27483
27412
|
utilizationPercent?: number | null;
|
|
27413
|
+
capacityInMilliseconds?: number;
|
|
27484
27414
|
uptimeInSeconds?: number | null;
|
|
27485
27415
|
downtimeInSeconds?: number | null;
|
|
27486
27416
|
totalTimeInSeconds?: number | null;
|
|
@@ -27500,6 +27430,7 @@ export class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
|
|
|
27500
27430
|
init(_data?: any) {
|
|
27501
27431
|
if (_data) {
|
|
27502
27432
|
this.utilizationPercent = _data["utilizationPercent"];
|
|
27433
|
+
this.capacityInMilliseconds = _data["capacityInMilliseconds"];
|
|
27503
27434
|
this.uptimeInSeconds = _data["uptimeInSeconds"];
|
|
27504
27435
|
this.downtimeInSeconds = _data["downtimeInSeconds"];
|
|
27505
27436
|
this.totalTimeInSeconds = _data["totalTimeInSeconds"];
|
|
@@ -27519,6 +27450,7 @@ export class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
|
|
|
27519
27450
|
toJSON(data?: any) {
|
|
27520
27451
|
data = typeof data === 'object' ? data : {};
|
|
27521
27452
|
data["utilizationPercent"] = this.utilizationPercent;
|
|
27453
|
+
data["capacityInMilliseconds"] = this.capacityInMilliseconds;
|
|
27522
27454
|
data["uptimeInSeconds"] = this.uptimeInSeconds;
|
|
27523
27455
|
data["downtimeInSeconds"] = this.downtimeInSeconds;
|
|
27524
27456
|
data["totalTimeInSeconds"] = this.totalTimeInSeconds;
|
|
@@ -27531,6 +27463,7 @@ export class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
|
|
|
27531
27463
|
|
|
27532
27464
|
export interface IUtilizationDetailsV2Dto {
|
|
27533
27465
|
utilizationPercent?: number | null;
|
|
27466
|
+
capacityInMilliseconds?: number;
|
|
27534
27467
|
uptimeInSeconds?: number | null;
|
|
27535
27468
|
downtimeInSeconds?: number | null;
|
|
27536
27469
|
totalTimeInSeconds?: number | null;
|
|
@@ -51670,6 +51603,7 @@ export class MeasurementFormGroupedElementDto implements IMeasurementFormGrouped
|
|
|
51670
51603
|
machiningDimension?: number | null;
|
|
51671
51604
|
nominalInch?: number | null;
|
|
51672
51605
|
isValid!: boolean;
|
|
51606
|
+
validationErrorMessage?: string | null;
|
|
51673
51607
|
|
|
51674
51608
|
constructor(data?: IMeasurementFormGroupedElementDto) {
|
|
51675
51609
|
if (data) {
|
|
@@ -51721,6 +51655,7 @@ export class MeasurementFormGroupedElementDto implements IMeasurementFormGrouped
|
|
|
51721
51655
|
this.machiningDimension = _data["machiningDimension"];
|
|
51722
51656
|
this.nominalInch = _data["nominalInch"];
|
|
51723
51657
|
this.isValid = _data["isValid"];
|
|
51658
|
+
this.validationErrorMessage = _data["validationErrorMessage"];
|
|
51724
51659
|
}
|
|
51725
51660
|
}
|
|
51726
51661
|
|
|
@@ -51772,6 +51707,7 @@ export class MeasurementFormGroupedElementDto implements IMeasurementFormGrouped
|
|
|
51772
51707
|
data["machiningDimension"] = this.machiningDimension;
|
|
51773
51708
|
data["nominalInch"] = this.nominalInch;
|
|
51774
51709
|
data["isValid"] = this.isValid;
|
|
51710
|
+
data["validationErrorMessage"] = this.validationErrorMessage;
|
|
51775
51711
|
return data;
|
|
51776
51712
|
}
|
|
51777
51713
|
}
|
|
@@ -51816,9 +51752,10 @@ export interface IMeasurementFormGroupedElementDto {
|
|
|
51816
51752
|
machiningDimension?: number | null;
|
|
51817
51753
|
nominalInch?: number | null;
|
|
51818
51754
|
isValid: boolean;
|
|
51755
|
+
validationErrorMessage?: string | null;
|
|
51819
51756
|
}
|
|
51820
51757
|
|
|
51821
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "None";
|
|
51758
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
51822
51759
|
|
|
51823
51760
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
51824
51761
|
|
|
@@ -52213,6 +52150,7 @@ export class UpdateSchemaGroupedElementDto implements IUpdateSchemaGroupedElemen
|
|
|
52213
52150
|
includeInCustomerDocumentation!: boolean;
|
|
52214
52151
|
canCopy?: boolean | null;
|
|
52215
52152
|
isDocumentedExternally!: boolean;
|
|
52153
|
+
coatingThickness?: number | null;
|
|
52216
52154
|
|
|
52217
52155
|
constructor(data?: IUpdateSchemaGroupedElementDto) {
|
|
52218
52156
|
if (data) {
|
|
@@ -52231,6 +52169,7 @@ export class UpdateSchemaGroupedElementDto implements IUpdateSchemaGroupedElemen
|
|
|
52231
52169
|
this.includeInCustomerDocumentation = _data["includeInCustomerDocumentation"];
|
|
52232
52170
|
this.canCopy = _data["canCopy"];
|
|
52233
52171
|
this.isDocumentedExternally = _data["isDocumentedExternally"];
|
|
52172
|
+
this.coatingThickness = _data["coatingThickness"];
|
|
52234
52173
|
}
|
|
52235
52174
|
}
|
|
52236
52175
|
|
|
@@ -52249,6 +52188,7 @@ export class UpdateSchemaGroupedElementDto implements IUpdateSchemaGroupedElemen
|
|
|
52249
52188
|
data["includeInCustomerDocumentation"] = this.includeInCustomerDocumentation;
|
|
52250
52189
|
data["canCopy"] = this.canCopy;
|
|
52251
52190
|
data["isDocumentedExternally"] = this.isDocumentedExternally;
|
|
52191
|
+
data["coatingThickness"] = this.coatingThickness;
|
|
52252
52192
|
return data;
|
|
52253
52193
|
}
|
|
52254
52194
|
}
|
|
@@ -52260,6 +52200,7 @@ export interface IUpdateSchemaGroupedElementDto {
|
|
|
52260
52200
|
includeInCustomerDocumentation: boolean;
|
|
52261
52201
|
canCopy?: boolean | null;
|
|
52262
52202
|
isDocumentedExternally: boolean;
|
|
52203
|
+
coatingThickness?: number | null;
|
|
52263
52204
|
}
|
|
52264
52205
|
|
|
52265
52206
|
export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedElementRowDto {
|