@ignos/api-client 20250407.0.11480 → 20250423.0.11533
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 +25 -18
- package/lib/ignosportal-api.js +81 -34
- package/package.json +1 -1
- package/src/ignosportal-api.ts +105 -52
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2119,6 +2119,7 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
2119
2119
|
exportDimensionReportValues(id: string): Promise<DownloadDto>;
|
|
2120
2120
|
updateSchemaInstanceElements(id: string, schemaId: string, request: UpdateSchemaInstanceElementsRequest): Promise<void>;
|
|
2121
2121
|
getSchemaInstanceElements(id: string, schemaId: string): Promise<SchemaInstanceElementDto[]>;
|
|
2122
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
2122
2123
|
importMeasurementFormInstance(id: string, request: ImportMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
2123
2124
|
}
|
|
2124
2125
|
export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase implements IMeasurementFormsInstancesClient {
|
|
@@ -2190,6 +2191,8 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
2190
2191
|
protected processUpdateSchemaInstanceElements(response: Response): Promise<void>;
|
|
2191
2192
|
getSchemaInstanceElements(id: string, schemaId: string): Promise<SchemaInstanceElementDto[]>;
|
|
2192
2193
|
protected processGetSchemaInstanceElements(response: Response): Promise<SchemaInstanceElementDto[]>;
|
|
2194
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
2195
|
+
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
|
|
2193
2196
|
importMeasurementFormInstance(id: string, request: ImportMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
2194
2197
|
protected processImportMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2195
2198
|
}
|
|
@@ -2822,6 +2825,8 @@ export declare class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto
|
|
|
2822
2825
|
comment?: string | null;
|
|
2823
2826
|
companyId?: string | null;
|
|
2824
2827
|
reasonId: string;
|
|
2828
|
+
createdBy?: EmployeeDto | null;
|
|
2829
|
+
updatedBy?: EmployeeDto | null;
|
|
2825
2830
|
constructor(data?: IDowntimePeriodReasonDto);
|
|
2826
2831
|
init(_data?: any): void;
|
|
2827
2832
|
static fromJS(data: any): DowntimePeriodReasonDto;
|
|
@@ -2837,8 +2842,26 @@ export interface IDowntimePeriodReasonDto {
|
|
|
2837
2842
|
comment?: string | null;
|
|
2838
2843
|
companyId?: string | null;
|
|
2839
2844
|
reasonId: string;
|
|
2845
|
+
createdBy?: EmployeeDto | null;
|
|
2846
|
+
updatedBy?: EmployeeDto | null;
|
|
2840
2847
|
}
|
|
2841
2848
|
export type DowntimeReasonTypeDto = "Unplanned" | "Planned";
|
|
2849
|
+
export declare class EmployeeDto implements IEmployeeDto {
|
|
2850
|
+
id?: string | null;
|
|
2851
|
+
name?: string | null;
|
|
2852
|
+
upn?: string | null;
|
|
2853
|
+
azureAdObjectId?: string | null;
|
|
2854
|
+
constructor(data?: IEmployeeDto);
|
|
2855
|
+
init(_data?: any): void;
|
|
2856
|
+
static fromJS(data: any): EmployeeDto;
|
|
2857
|
+
toJSON(data?: any): any;
|
|
2858
|
+
}
|
|
2859
|
+
export interface IEmployeeDto {
|
|
2860
|
+
id?: string | null;
|
|
2861
|
+
name?: string | null;
|
|
2862
|
+
upn?: string | null;
|
|
2863
|
+
azureAdObjectId?: string | null;
|
|
2864
|
+
}
|
|
2842
2865
|
export declare class MachineUptimesAggregateDto implements IMachineUptimesAggregateDto {
|
|
2843
2866
|
machineUptimes: MachineUptimeDto[];
|
|
2844
2867
|
sum: MachineUptimeSumDto;
|
|
@@ -6149,22 +6172,6 @@ export interface IOperatorAndMachineDto {
|
|
|
6149
6172
|
lastWorkOrderEventStartTime?: Date;
|
|
6150
6173
|
machine?: MachineDto | null;
|
|
6151
6174
|
}
|
|
6152
|
-
export declare class EmployeeDto implements IEmployeeDto {
|
|
6153
|
-
id?: string | null;
|
|
6154
|
-
name?: string | null;
|
|
6155
|
-
upn?: string | null;
|
|
6156
|
-
azureAdObjectId?: string | null;
|
|
6157
|
-
constructor(data?: IEmployeeDto);
|
|
6158
|
-
init(_data?: any): void;
|
|
6159
|
-
static fromJS(data: any): EmployeeDto;
|
|
6160
|
-
toJSON(data?: any): any;
|
|
6161
|
-
}
|
|
6162
|
-
export interface IEmployeeDto {
|
|
6163
|
-
id?: string | null;
|
|
6164
|
-
name?: string | null;
|
|
6165
|
-
upn?: string | null;
|
|
6166
|
-
azureAdObjectId?: string | null;
|
|
6167
|
-
}
|
|
6168
6175
|
export declare class CreateMachineWithoutResource implements ICreateMachineWithoutResource {
|
|
6169
6176
|
id: string;
|
|
6170
6177
|
name: string;
|
|
@@ -11191,7 +11198,6 @@ export declare class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGr
|
|
|
11191
11198
|
nominalText?: string | null;
|
|
11192
11199
|
type?: string | null;
|
|
11193
11200
|
subType?: string | null;
|
|
11194
|
-
unitOfMeasure?: string | null;
|
|
11195
11201
|
plusTolerance?: string | null;
|
|
11196
11202
|
minusTolerance?: string | null;
|
|
11197
11203
|
upperLimit?: string | null;
|
|
@@ -11217,7 +11223,6 @@ export interface IUpdateSchemaGroupedElementRowDto {
|
|
|
11217
11223
|
nominalText?: string | null;
|
|
11218
11224
|
type?: string | null;
|
|
11219
11225
|
subType?: string | null;
|
|
11220
|
-
unitOfMeasure?: string | null;
|
|
11221
11226
|
plusTolerance?: string | null;
|
|
11222
11227
|
minusTolerance?: string | null;
|
|
11223
11228
|
upperLimit?: string | null;
|
|
@@ -12502,6 +12507,7 @@ export declare class MeasurementFormInstanceElementDto implements IMeasurementFo
|
|
|
12502
12507
|
frequencyParameter?: number | null;
|
|
12503
12508
|
includeInCustomerDocumentation: boolean;
|
|
12504
12509
|
isDocumentedExternally: boolean;
|
|
12510
|
+
canOverrideIsDocumentedExternally: boolean;
|
|
12505
12511
|
balloonSequence?: number | null;
|
|
12506
12512
|
balloonQuantity?: number | null;
|
|
12507
12513
|
plusTolerance?: string | null;
|
|
@@ -12548,6 +12554,7 @@ export interface IMeasurementFormInstanceElementDto {
|
|
|
12548
12554
|
frequencyParameter?: number | null;
|
|
12549
12555
|
includeInCustomerDocumentation: boolean;
|
|
12550
12556
|
isDocumentedExternally: boolean;
|
|
12557
|
+
canOverrideIsDocumentedExternally: boolean;
|
|
12551
12558
|
balloonSequence?: number | null;
|
|
12552
12559
|
balloonQuantity?: number | null;
|
|
12553
12560
|
plusTolerance?: string | null;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -19205,6 +19205,49 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase {
|
|
|
19205
19205
|
}
|
|
19206
19206
|
return Promise.resolve(null);
|
|
19207
19207
|
}
|
|
19208
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id, schemaId, elementId, tenantId) {
|
|
19209
|
+
let url_ = this.baseUrl + "/measurementforms/instances/{id}/schemas/{schemaId}/elements/{elementId}/toggle-override-documented-externally?";
|
|
19210
|
+
if (id === undefined || id === null)
|
|
19211
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
19212
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
19213
|
+
if (schemaId === undefined || schemaId === null)
|
|
19214
|
+
throw new Error("The parameter 'schemaId' must be defined.");
|
|
19215
|
+
url_ = url_.replace("{schemaId}", encodeURIComponent("" + schemaId));
|
|
19216
|
+
if (elementId === undefined || elementId === null)
|
|
19217
|
+
throw new Error("The parameter 'elementId' must be defined.");
|
|
19218
|
+
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
19219
|
+
if (tenantId !== undefined && tenantId !== null)
|
|
19220
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
19221
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
19222
|
+
let options_ = {
|
|
19223
|
+
method: "PUT",
|
|
19224
|
+
headers: {}
|
|
19225
|
+
};
|
|
19226
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19227
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
19228
|
+
}).then((_response) => {
|
|
19229
|
+
return this.processToggleSchemaInstanceElementDocumentedExternallyOverride(_response);
|
|
19230
|
+
});
|
|
19231
|
+
}
|
|
19232
|
+
processToggleSchemaInstanceElementDocumentedExternallyOverride(response) {
|
|
19233
|
+
const status = response.status;
|
|
19234
|
+
let _headers = {};
|
|
19235
|
+
if (response.headers && response.headers.forEach) {
|
|
19236
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
19237
|
+
}
|
|
19238
|
+
;
|
|
19239
|
+
if (status === 204) {
|
|
19240
|
+
return response.text().then((_responseText) => {
|
|
19241
|
+
return;
|
|
19242
|
+
});
|
|
19243
|
+
}
|
|
19244
|
+
else if (status !== 200 && status !== 204) {
|
|
19245
|
+
return response.text().then((_responseText) => {
|
|
19246
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19247
|
+
});
|
|
19248
|
+
}
|
|
19249
|
+
return Promise.resolve(null);
|
|
19250
|
+
}
|
|
19208
19251
|
importMeasurementFormInstance(id, request) {
|
|
19209
19252
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}/import";
|
|
19210
19253
|
if (id === undefined || id === null)
|
|
@@ -21714,6 +21757,8 @@ export class DowntimePeriodReasonDto {
|
|
|
21714
21757
|
this.comment = _data["comment"];
|
|
21715
21758
|
this.companyId = _data["companyId"];
|
|
21716
21759
|
this.reasonId = _data["reasonId"];
|
|
21760
|
+
this.createdBy = _data["createdBy"] ? EmployeeDto.fromJS(_data["createdBy"]) : undefined;
|
|
21761
|
+
this.updatedBy = _data["updatedBy"] ? EmployeeDto.fromJS(_data["updatedBy"]) : undefined;
|
|
21717
21762
|
}
|
|
21718
21763
|
}
|
|
21719
21764
|
static fromJS(data) {
|
|
@@ -21733,6 +21778,40 @@ export class DowntimePeriodReasonDto {
|
|
|
21733
21778
|
data["comment"] = this.comment;
|
|
21734
21779
|
data["companyId"] = this.companyId;
|
|
21735
21780
|
data["reasonId"] = this.reasonId;
|
|
21781
|
+
data["createdBy"] = this.createdBy ? this.createdBy.toJSON() : undefined;
|
|
21782
|
+
data["updatedBy"] = this.updatedBy ? this.updatedBy.toJSON() : undefined;
|
|
21783
|
+
return data;
|
|
21784
|
+
}
|
|
21785
|
+
}
|
|
21786
|
+
export class EmployeeDto {
|
|
21787
|
+
constructor(data) {
|
|
21788
|
+
if (data) {
|
|
21789
|
+
for (var property in data) {
|
|
21790
|
+
if (data.hasOwnProperty(property))
|
|
21791
|
+
this[property] = data[property];
|
|
21792
|
+
}
|
|
21793
|
+
}
|
|
21794
|
+
}
|
|
21795
|
+
init(_data) {
|
|
21796
|
+
if (_data) {
|
|
21797
|
+
this.id = _data["id"];
|
|
21798
|
+
this.name = _data["name"];
|
|
21799
|
+
this.upn = _data["upn"];
|
|
21800
|
+
this.azureAdObjectId = _data["azureAdObjectId"];
|
|
21801
|
+
}
|
|
21802
|
+
}
|
|
21803
|
+
static fromJS(data) {
|
|
21804
|
+
data = typeof data === 'object' ? data : {};
|
|
21805
|
+
let result = new EmployeeDto();
|
|
21806
|
+
result.init(data);
|
|
21807
|
+
return result;
|
|
21808
|
+
}
|
|
21809
|
+
toJSON(data) {
|
|
21810
|
+
data = typeof data === 'object' ? data : {};
|
|
21811
|
+
data["id"] = this.id;
|
|
21812
|
+
data["name"] = this.name;
|
|
21813
|
+
data["upn"] = this.upn;
|
|
21814
|
+
data["azureAdObjectId"] = this.azureAdObjectId;
|
|
21736
21815
|
return data;
|
|
21737
21816
|
}
|
|
21738
21817
|
}
|
|
@@ -28977,38 +29056,6 @@ export class OperatorAndMachineDto {
|
|
|
28977
29056
|
return data;
|
|
28978
29057
|
}
|
|
28979
29058
|
}
|
|
28980
|
-
export class EmployeeDto {
|
|
28981
|
-
constructor(data) {
|
|
28982
|
-
if (data) {
|
|
28983
|
-
for (var property in data) {
|
|
28984
|
-
if (data.hasOwnProperty(property))
|
|
28985
|
-
this[property] = data[property];
|
|
28986
|
-
}
|
|
28987
|
-
}
|
|
28988
|
-
}
|
|
28989
|
-
init(_data) {
|
|
28990
|
-
if (_data) {
|
|
28991
|
-
this.id = _data["id"];
|
|
28992
|
-
this.name = _data["name"];
|
|
28993
|
-
this.upn = _data["upn"];
|
|
28994
|
-
this.azureAdObjectId = _data["azureAdObjectId"];
|
|
28995
|
-
}
|
|
28996
|
-
}
|
|
28997
|
-
static fromJS(data) {
|
|
28998
|
-
data = typeof data === 'object' ? data : {};
|
|
28999
|
-
let result = new EmployeeDto();
|
|
29000
|
-
result.init(data);
|
|
29001
|
-
return result;
|
|
29002
|
-
}
|
|
29003
|
-
toJSON(data) {
|
|
29004
|
-
data = typeof data === 'object' ? data : {};
|
|
29005
|
-
data["id"] = this.id;
|
|
29006
|
-
data["name"] = this.name;
|
|
29007
|
-
data["upn"] = this.upn;
|
|
29008
|
-
data["azureAdObjectId"] = this.azureAdObjectId;
|
|
29009
|
-
return data;
|
|
29010
|
-
}
|
|
29011
|
-
}
|
|
29012
29059
|
export class CreateMachineWithoutResource {
|
|
29013
29060
|
constructor(data) {
|
|
29014
29061
|
if (data) {
|
|
@@ -38956,7 +39003,6 @@ export class UpdateSchemaGroupedElementRowDto {
|
|
|
38956
39003
|
this.nominalText = _data["nominalText"];
|
|
38957
39004
|
this.type = _data["type"];
|
|
38958
39005
|
this.subType = _data["subType"];
|
|
38959
|
-
this.unitOfMeasure = _data["unitOfMeasure"];
|
|
38960
39006
|
this.plusTolerance = _data["plusTolerance"];
|
|
38961
39007
|
this.minusTolerance = _data["minusTolerance"];
|
|
38962
39008
|
this.upperLimit = _data["upperLimit"];
|
|
@@ -38986,7 +39032,6 @@ export class UpdateSchemaGroupedElementRowDto {
|
|
|
38986
39032
|
data["nominalText"] = this.nominalText;
|
|
38987
39033
|
data["type"] = this.type;
|
|
38988
39034
|
data["subType"] = this.subType;
|
|
38989
|
-
data["unitOfMeasure"] = this.unitOfMeasure;
|
|
38990
39035
|
data["plusTolerance"] = this.plusTolerance;
|
|
38991
39036
|
data["minusTolerance"] = this.minusTolerance;
|
|
38992
39037
|
data["upperLimit"] = this.upperLimit;
|
|
@@ -41452,6 +41497,7 @@ export class MeasurementFormInstanceElementDto {
|
|
|
41452
41497
|
this.frequencyParameter = _data["frequencyParameter"];
|
|
41453
41498
|
this.includeInCustomerDocumentation = _data["includeInCustomerDocumentation"];
|
|
41454
41499
|
this.isDocumentedExternally = _data["isDocumentedExternally"];
|
|
41500
|
+
this.canOverrideIsDocumentedExternally = _data["canOverrideIsDocumentedExternally"];
|
|
41455
41501
|
this.balloonSequence = _data["balloonSequence"];
|
|
41456
41502
|
this.balloonQuantity = _data["balloonQuantity"];
|
|
41457
41503
|
this.plusTolerance = _data["plusTolerance"];
|
|
@@ -41506,6 +41552,7 @@ export class MeasurementFormInstanceElementDto {
|
|
|
41506
41552
|
data["frequencyParameter"] = this.frequencyParameter;
|
|
41507
41553
|
data["includeInCustomerDocumentation"] = this.includeInCustomerDocumentation;
|
|
41508
41554
|
data["isDocumentedExternally"] = this.isDocumentedExternally;
|
|
41555
|
+
data["canOverrideIsDocumentedExternally"] = this.canOverrideIsDocumentedExternally;
|
|
41509
41556
|
data["balloonSequence"] = this.balloonSequence;
|
|
41510
41557
|
data["balloonQuantity"] = this.balloonQuantity;
|
|
41511
41558
|
data["plusTolerance"] = this.plusTolerance;
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -19095,6 +19095,8 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
19095
19095
|
|
|
19096
19096
|
getSchemaInstanceElements(id: string, schemaId: string): Promise<SchemaInstanceElementDto[]>;
|
|
19097
19097
|
|
|
19098
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
19099
|
+
|
|
19098
19100
|
importMeasurementFormInstance(id: string, request: ImportMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
19099
19101
|
}
|
|
19100
19102
|
|
|
@@ -20436,6 +20438,49 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
20436
20438
|
return Promise.resolve<SchemaInstanceElementDto[]>(null as any);
|
|
20437
20439
|
}
|
|
20438
20440
|
|
|
20441
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void> {
|
|
20442
|
+
let url_ = this.baseUrl + "/measurementforms/instances/{id}/schemas/{schemaId}/elements/{elementId}/toggle-override-documented-externally?";
|
|
20443
|
+
if (id === undefined || id === null)
|
|
20444
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
20445
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
20446
|
+
if (schemaId === undefined || schemaId === null)
|
|
20447
|
+
throw new Error("The parameter 'schemaId' must be defined.");
|
|
20448
|
+
url_ = url_.replace("{schemaId}", encodeURIComponent("" + schemaId));
|
|
20449
|
+
if (elementId === undefined || elementId === null)
|
|
20450
|
+
throw new Error("The parameter 'elementId' must be defined.");
|
|
20451
|
+
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
20452
|
+
if (tenantId !== undefined && tenantId !== null)
|
|
20453
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
20454
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
20455
|
+
|
|
20456
|
+
let options_: RequestInit = {
|
|
20457
|
+
method: "PUT",
|
|
20458
|
+
headers: {
|
|
20459
|
+
}
|
|
20460
|
+
};
|
|
20461
|
+
|
|
20462
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
20463
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
20464
|
+
}).then((_response: Response) => {
|
|
20465
|
+
return this.processToggleSchemaInstanceElementDocumentedExternallyOverride(_response);
|
|
20466
|
+
});
|
|
20467
|
+
}
|
|
20468
|
+
|
|
20469
|
+
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void> {
|
|
20470
|
+
const status = response.status;
|
|
20471
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
20472
|
+
if (status === 204) {
|
|
20473
|
+
return response.text().then((_responseText) => {
|
|
20474
|
+
return;
|
|
20475
|
+
});
|
|
20476
|
+
} else if (status !== 200 && status !== 204) {
|
|
20477
|
+
return response.text().then((_responseText) => {
|
|
20478
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
20479
|
+
});
|
|
20480
|
+
}
|
|
20481
|
+
return Promise.resolve<void>(null as any);
|
|
20482
|
+
}
|
|
20483
|
+
|
|
20439
20484
|
importMeasurementFormInstance(id: string, request: ImportMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto> {
|
|
20440
20485
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}/import";
|
|
20441
20486
|
if (id === undefined || id === null)
|
|
@@ -23385,6 +23430,8 @@ export class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto {
|
|
|
23385
23430
|
comment?: string | null;
|
|
23386
23431
|
companyId?: string | null;
|
|
23387
23432
|
reasonId!: string;
|
|
23433
|
+
createdBy?: EmployeeDto | null;
|
|
23434
|
+
updatedBy?: EmployeeDto | null;
|
|
23388
23435
|
|
|
23389
23436
|
constructor(data?: IDowntimePeriodReasonDto) {
|
|
23390
23437
|
if (data) {
|
|
@@ -23406,6 +23453,8 @@ export class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto {
|
|
|
23406
23453
|
this.comment = _data["comment"];
|
|
23407
23454
|
this.companyId = _data["companyId"];
|
|
23408
23455
|
this.reasonId = _data["reasonId"];
|
|
23456
|
+
this.createdBy = _data["createdBy"] ? EmployeeDto.fromJS(_data["createdBy"]) : <any>undefined;
|
|
23457
|
+
this.updatedBy = _data["updatedBy"] ? EmployeeDto.fromJS(_data["updatedBy"]) : <any>undefined;
|
|
23409
23458
|
}
|
|
23410
23459
|
}
|
|
23411
23460
|
|
|
@@ -23427,6 +23476,8 @@ export class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto {
|
|
|
23427
23476
|
data["comment"] = this.comment;
|
|
23428
23477
|
data["companyId"] = this.companyId;
|
|
23429
23478
|
data["reasonId"] = this.reasonId;
|
|
23479
|
+
data["createdBy"] = this.createdBy ? this.createdBy.toJSON() : <any>undefined;
|
|
23480
|
+
data["updatedBy"] = this.updatedBy ? this.updatedBy.toJSON() : <any>undefined;
|
|
23430
23481
|
return data;
|
|
23431
23482
|
}
|
|
23432
23483
|
}
|
|
@@ -23441,10 +23492,60 @@ export interface IDowntimePeriodReasonDto {
|
|
|
23441
23492
|
comment?: string | null;
|
|
23442
23493
|
companyId?: string | null;
|
|
23443
23494
|
reasonId: string;
|
|
23495
|
+
createdBy?: EmployeeDto | null;
|
|
23496
|
+
updatedBy?: EmployeeDto | null;
|
|
23444
23497
|
}
|
|
23445
23498
|
|
|
23446
23499
|
export type DowntimeReasonTypeDto = "Unplanned" | "Planned";
|
|
23447
23500
|
|
|
23501
|
+
export class EmployeeDto implements IEmployeeDto {
|
|
23502
|
+
id?: string | null;
|
|
23503
|
+
name?: string | null;
|
|
23504
|
+
upn?: string | null;
|
|
23505
|
+
azureAdObjectId?: string | null;
|
|
23506
|
+
|
|
23507
|
+
constructor(data?: IEmployeeDto) {
|
|
23508
|
+
if (data) {
|
|
23509
|
+
for (var property in data) {
|
|
23510
|
+
if (data.hasOwnProperty(property))
|
|
23511
|
+
(<any>this)[property] = (<any>data)[property];
|
|
23512
|
+
}
|
|
23513
|
+
}
|
|
23514
|
+
}
|
|
23515
|
+
|
|
23516
|
+
init(_data?: any) {
|
|
23517
|
+
if (_data) {
|
|
23518
|
+
this.id = _data["id"];
|
|
23519
|
+
this.name = _data["name"];
|
|
23520
|
+
this.upn = _data["upn"];
|
|
23521
|
+
this.azureAdObjectId = _data["azureAdObjectId"];
|
|
23522
|
+
}
|
|
23523
|
+
}
|
|
23524
|
+
|
|
23525
|
+
static fromJS(data: any): EmployeeDto {
|
|
23526
|
+
data = typeof data === 'object' ? data : {};
|
|
23527
|
+
let result = new EmployeeDto();
|
|
23528
|
+
result.init(data);
|
|
23529
|
+
return result;
|
|
23530
|
+
}
|
|
23531
|
+
|
|
23532
|
+
toJSON(data?: any) {
|
|
23533
|
+
data = typeof data === 'object' ? data : {};
|
|
23534
|
+
data["id"] = this.id;
|
|
23535
|
+
data["name"] = this.name;
|
|
23536
|
+
data["upn"] = this.upn;
|
|
23537
|
+
data["azureAdObjectId"] = this.azureAdObjectId;
|
|
23538
|
+
return data;
|
|
23539
|
+
}
|
|
23540
|
+
}
|
|
23541
|
+
|
|
23542
|
+
export interface IEmployeeDto {
|
|
23543
|
+
id?: string | null;
|
|
23544
|
+
name?: string | null;
|
|
23545
|
+
upn?: string | null;
|
|
23546
|
+
azureAdObjectId?: string | null;
|
|
23547
|
+
}
|
|
23548
|
+
|
|
23448
23549
|
export class MachineUptimesAggregateDto implements IMachineUptimesAggregateDto {
|
|
23449
23550
|
machineUptimes!: MachineUptimeDto[];
|
|
23450
23551
|
sum!: MachineUptimeSumDto;
|
|
@@ -34016,54 +34117,6 @@ export interface IOperatorAndMachineDto {
|
|
|
34016
34117
|
machine?: MachineDto | null;
|
|
34017
34118
|
}
|
|
34018
34119
|
|
|
34019
|
-
export class EmployeeDto implements IEmployeeDto {
|
|
34020
|
-
id?: string | null;
|
|
34021
|
-
name?: string | null;
|
|
34022
|
-
upn?: string | null;
|
|
34023
|
-
azureAdObjectId?: string | null;
|
|
34024
|
-
|
|
34025
|
-
constructor(data?: IEmployeeDto) {
|
|
34026
|
-
if (data) {
|
|
34027
|
-
for (var property in data) {
|
|
34028
|
-
if (data.hasOwnProperty(property))
|
|
34029
|
-
(<any>this)[property] = (<any>data)[property];
|
|
34030
|
-
}
|
|
34031
|
-
}
|
|
34032
|
-
}
|
|
34033
|
-
|
|
34034
|
-
init(_data?: any) {
|
|
34035
|
-
if (_data) {
|
|
34036
|
-
this.id = _data["id"];
|
|
34037
|
-
this.name = _data["name"];
|
|
34038
|
-
this.upn = _data["upn"];
|
|
34039
|
-
this.azureAdObjectId = _data["azureAdObjectId"];
|
|
34040
|
-
}
|
|
34041
|
-
}
|
|
34042
|
-
|
|
34043
|
-
static fromJS(data: any): EmployeeDto {
|
|
34044
|
-
data = typeof data === 'object' ? data : {};
|
|
34045
|
-
let result = new EmployeeDto();
|
|
34046
|
-
result.init(data);
|
|
34047
|
-
return result;
|
|
34048
|
-
}
|
|
34049
|
-
|
|
34050
|
-
toJSON(data?: any) {
|
|
34051
|
-
data = typeof data === 'object' ? data : {};
|
|
34052
|
-
data["id"] = this.id;
|
|
34053
|
-
data["name"] = this.name;
|
|
34054
|
-
data["upn"] = this.upn;
|
|
34055
|
-
data["azureAdObjectId"] = this.azureAdObjectId;
|
|
34056
|
-
return data;
|
|
34057
|
-
}
|
|
34058
|
-
}
|
|
34059
|
-
|
|
34060
|
-
export interface IEmployeeDto {
|
|
34061
|
-
id?: string | null;
|
|
34062
|
-
name?: string | null;
|
|
34063
|
-
upn?: string | null;
|
|
34064
|
-
azureAdObjectId?: string | null;
|
|
34065
|
-
}
|
|
34066
|
-
|
|
34067
34120
|
export class CreateMachineWithoutResource implements ICreateMachineWithoutResource {
|
|
34068
34121
|
id!: string;
|
|
34069
34122
|
name!: string;
|
|
@@ -49051,7 +49104,6 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
|
|
|
49051
49104
|
nominalText?: string | null;
|
|
49052
49105
|
type?: string | null;
|
|
49053
49106
|
subType?: string | null;
|
|
49054
|
-
unitOfMeasure?: string | null;
|
|
49055
49107
|
plusTolerance?: string | null;
|
|
49056
49108
|
minusTolerance?: string | null;
|
|
49057
49109
|
upperLimit?: string | null;
|
|
@@ -49083,7 +49135,6 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
|
|
|
49083
49135
|
this.nominalText = _data["nominalText"];
|
|
49084
49136
|
this.type = _data["type"];
|
|
49085
49137
|
this.subType = _data["subType"];
|
|
49086
|
-
this.unitOfMeasure = _data["unitOfMeasure"];
|
|
49087
49138
|
this.plusTolerance = _data["plusTolerance"];
|
|
49088
49139
|
this.minusTolerance = _data["minusTolerance"];
|
|
49089
49140
|
this.upperLimit = _data["upperLimit"];
|
|
@@ -49115,7 +49166,6 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
|
|
|
49115
49166
|
data["nominalText"] = this.nominalText;
|
|
49116
49167
|
data["type"] = this.type;
|
|
49117
49168
|
data["subType"] = this.subType;
|
|
49118
|
-
data["unitOfMeasure"] = this.unitOfMeasure;
|
|
49119
49169
|
data["plusTolerance"] = this.plusTolerance;
|
|
49120
49170
|
data["minusTolerance"] = this.minusTolerance;
|
|
49121
49171
|
data["upperLimit"] = this.upperLimit;
|
|
@@ -49140,7 +49190,6 @@ export interface IUpdateSchemaGroupedElementRowDto {
|
|
|
49140
49190
|
nominalText?: string | null;
|
|
49141
49191
|
type?: string | null;
|
|
49142
49192
|
subType?: string | null;
|
|
49143
|
-
unitOfMeasure?: string | null;
|
|
49144
49193
|
plusTolerance?: string | null;
|
|
49145
49194
|
minusTolerance?: string | null;
|
|
49146
49195
|
upperLimit?: string | null;
|
|
@@ -52840,6 +52889,7 @@ export class MeasurementFormInstanceElementDto implements IMeasurementFormInstan
|
|
|
52840
52889
|
frequencyParameter?: number | null;
|
|
52841
52890
|
includeInCustomerDocumentation!: boolean;
|
|
52842
52891
|
isDocumentedExternally!: boolean;
|
|
52892
|
+
canOverrideIsDocumentedExternally!: boolean;
|
|
52843
52893
|
balloonSequence?: number | null;
|
|
52844
52894
|
balloonQuantity?: number | null;
|
|
52845
52895
|
plusTolerance?: string | null;
|
|
@@ -52895,6 +52945,7 @@ export class MeasurementFormInstanceElementDto implements IMeasurementFormInstan
|
|
|
52895
52945
|
this.frequencyParameter = _data["frequencyParameter"];
|
|
52896
52946
|
this.includeInCustomerDocumentation = _data["includeInCustomerDocumentation"];
|
|
52897
52947
|
this.isDocumentedExternally = _data["isDocumentedExternally"];
|
|
52948
|
+
this.canOverrideIsDocumentedExternally = _data["canOverrideIsDocumentedExternally"];
|
|
52898
52949
|
this.balloonSequence = _data["balloonSequence"];
|
|
52899
52950
|
this.balloonQuantity = _data["balloonQuantity"];
|
|
52900
52951
|
this.plusTolerance = _data["plusTolerance"];
|
|
@@ -52951,6 +53002,7 @@ export class MeasurementFormInstanceElementDto implements IMeasurementFormInstan
|
|
|
52951
53002
|
data["frequencyParameter"] = this.frequencyParameter;
|
|
52952
53003
|
data["includeInCustomerDocumentation"] = this.includeInCustomerDocumentation;
|
|
52953
53004
|
data["isDocumentedExternally"] = this.isDocumentedExternally;
|
|
53005
|
+
data["canOverrideIsDocumentedExternally"] = this.canOverrideIsDocumentedExternally;
|
|
52954
53006
|
data["balloonSequence"] = this.balloonSequence;
|
|
52955
53007
|
data["balloonQuantity"] = this.balloonQuantity;
|
|
52956
53008
|
data["plusTolerance"] = this.plusTolerance;
|
|
@@ -53000,6 +53052,7 @@ export interface IMeasurementFormInstanceElementDto {
|
|
|
53000
53052
|
frequencyParameter?: number | null;
|
|
53001
53053
|
includeInCustomerDocumentation: boolean;
|
|
53002
53054
|
isDocumentedExternally: boolean;
|
|
53055
|
+
canOverrideIsDocumentedExternally: boolean;
|
|
53003
53056
|
balloonSequence?: number | null;
|
|
53004
53057
|
balloonQuantity?: number | null;
|
|
53005
53058
|
plusTolerance?: string | null;
|