@ignos/api-client 20250806.0.12310-alpha → 20250808.0.12338
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 +70 -24
- package/lib/ignosportal-api.js +236 -15
- package/package.json +1 -1
- package/src/ignosportal-api.ts +292 -35
package/lib/ignosportal-api.js
CHANGED
|
@@ -1180,6 +1180,115 @@ export class MeClient extends AuthorizedApiBase {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
return Promise.resolve(null);
|
|
1182
1182
|
}
|
|
1183
|
+
getRoles() {
|
|
1184
|
+
let url_ = this.baseUrl + "/me/roles";
|
|
1185
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
1186
|
+
let options_ = {
|
|
1187
|
+
method: "GET",
|
|
1188
|
+
headers: {
|
|
1189
|
+
"Accept": "application/json"
|
|
1190
|
+
}
|
|
1191
|
+
};
|
|
1192
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1193
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
1194
|
+
}).then((_response) => {
|
|
1195
|
+
return this.processGetRoles(_response);
|
|
1196
|
+
});
|
|
1197
|
+
}
|
|
1198
|
+
processGetRoles(response) {
|
|
1199
|
+
const status = response.status;
|
|
1200
|
+
let _headers = {};
|
|
1201
|
+
if (response.headers && response.headers.forEach) {
|
|
1202
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
1203
|
+
}
|
|
1204
|
+
;
|
|
1205
|
+
if (status === 200) {
|
|
1206
|
+
return response.text().then((_responseText) => {
|
|
1207
|
+
let result200 = null;
|
|
1208
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1209
|
+
if (Array.isArray(resultData200)) {
|
|
1210
|
+
result200 = [];
|
|
1211
|
+
for (let item of resultData200)
|
|
1212
|
+
result200.push(item);
|
|
1213
|
+
}
|
|
1214
|
+
return result200;
|
|
1215
|
+
});
|
|
1216
|
+
}
|
|
1217
|
+
else if (status !== 200 && status !== 204) {
|
|
1218
|
+
return response.text().then((_responseText) => {
|
|
1219
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1220
|
+
});
|
|
1221
|
+
}
|
|
1222
|
+
return Promise.resolve(null);
|
|
1223
|
+
}
|
|
1224
|
+
setTestRoles(roles) {
|
|
1225
|
+
let url_ = this.baseUrl + "/me/roles";
|
|
1226
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
1227
|
+
const content_ = JSON.stringify(roles);
|
|
1228
|
+
let options_ = {
|
|
1229
|
+
body: content_,
|
|
1230
|
+
method: "POST",
|
|
1231
|
+
headers: {
|
|
1232
|
+
"Content-Type": "application/json",
|
|
1233
|
+
}
|
|
1234
|
+
};
|
|
1235
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1236
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
1237
|
+
}).then((_response) => {
|
|
1238
|
+
return this.processSetTestRoles(_response);
|
|
1239
|
+
});
|
|
1240
|
+
}
|
|
1241
|
+
processSetTestRoles(response) {
|
|
1242
|
+
const status = response.status;
|
|
1243
|
+
let _headers = {};
|
|
1244
|
+
if (response.headers && response.headers.forEach) {
|
|
1245
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
1246
|
+
}
|
|
1247
|
+
;
|
|
1248
|
+
if (status === 200) {
|
|
1249
|
+
return response.text().then((_responseText) => {
|
|
1250
|
+
return;
|
|
1251
|
+
});
|
|
1252
|
+
}
|
|
1253
|
+
else if (status !== 200 && status !== 204) {
|
|
1254
|
+
return response.text().then((_responseText) => {
|
|
1255
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1256
|
+
});
|
|
1257
|
+
}
|
|
1258
|
+
return Promise.resolve(null);
|
|
1259
|
+
}
|
|
1260
|
+
removeAllTestRoles() {
|
|
1261
|
+
let url_ = this.baseUrl + "/me/roles";
|
|
1262
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
1263
|
+
let options_ = {
|
|
1264
|
+
method: "DELETE",
|
|
1265
|
+
headers: {}
|
|
1266
|
+
};
|
|
1267
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1268
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
1269
|
+
}).then((_response) => {
|
|
1270
|
+
return this.processRemoveAllTestRoles(_response);
|
|
1271
|
+
});
|
|
1272
|
+
}
|
|
1273
|
+
processRemoveAllTestRoles(response) {
|
|
1274
|
+
const status = response.status;
|
|
1275
|
+
let _headers = {};
|
|
1276
|
+
if (response.headers && response.headers.forEach) {
|
|
1277
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
1278
|
+
}
|
|
1279
|
+
;
|
|
1280
|
+
if (status === 200) {
|
|
1281
|
+
return response.text().then((_responseText) => {
|
|
1282
|
+
return;
|
|
1283
|
+
});
|
|
1284
|
+
}
|
|
1285
|
+
else if (status !== 200 && status !== 204) {
|
|
1286
|
+
return response.text().then((_responseText) => {
|
|
1287
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1288
|
+
});
|
|
1289
|
+
}
|
|
1290
|
+
return Promise.resolve(null);
|
|
1291
|
+
}
|
|
1183
1292
|
}
|
|
1184
1293
|
export class UsersClient extends AuthorizedApiBase {
|
|
1185
1294
|
constructor(configuration, baseUrl, http) {
|
|
@@ -6909,6 +7018,54 @@ export class MachinesClient extends AuthorizedApiBase {
|
|
|
6909
7018
|
}
|
|
6910
7019
|
return Promise.resolve(null);
|
|
6911
7020
|
}
|
|
7021
|
+
getWorkOrderTimeline(id, startTime, endTime) {
|
|
7022
|
+
let url_ = this.baseUrl + "/machines/{id}/workorder/timeline?";
|
|
7023
|
+
if (id === undefined || id === null)
|
|
7024
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
7025
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
7026
|
+
if (startTime !== undefined && startTime !== null)
|
|
7027
|
+
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
7028
|
+
if (endTime !== undefined && endTime !== null)
|
|
7029
|
+
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
7030
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
7031
|
+
let options_ = {
|
|
7032
|
+
method: "GET",
|
|
7033
|
+
headers: {
|
|
7034
|
+
"Accept": "application/json"
|
|
7035
|
+
}
|
|
7036
|
+
};
|
|
7037
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7038
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
7039
|
+
}).then((_response) => {
|
|
7040
|
+
return this.processGetWorkOrderTimeline(_response);
|
|
7041
|
+
});
|
|
7042
|
+
}
|
|
7043
|
+
processGetWorkOrderTimeline(response) {
|
|
7044
|
+
const status = response.status;
|
|
7045
|
+
let _headers = {};
|
|
7046
|
+
if (response.headers && response.headers.forEach) {
|
|
7047
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
7048
|
+
}
|
|
7049
|
+
;
|
|
7050
|
+
if (status === 200) {
|
|
7051
|
+
return response.text().then((_responseText) => {
|
|
7052
|
+
let result200 = null;
|
|
7053
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
7054
|
+
if (Array.isArray(resultData200)) {
|
|
7055
|
+
result200 = [];
|
|
7056
|
+
for (let item of resultData200)
|
|
7057
|
+
result200.push(WorkOrderDatapoint.fromJS(item));
|
|
7058
|
+
}
|
|
7059
|
+
return result200;
|
|
7060
|
+
});
|
|
7061
|
+
}
|
|
7062
|
+
else if (status !== 200 && status !== 204) {
|
|
7063
|
+
return response.text().then((_responseText) => {
|
|
7064
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7065
|
+
});
|
|
7066
|
+
}
|
|
7067
|
+
return Promise.resolve(null);
|
|
7068
|
+
}
|
|
6912
7069
|
getMachineUtilizationSummary() {
|
|
6913
7070
|
let url_ = this.baseUrl + "/machines/utilization/summary";
|
|
6914
7071
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -16819,7 +16976,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
16819
16976
|
this.http = http ? http : window;
|
|
16820
16977
|
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
16821
16978
|
}
|
|
16822
|
-
listMeasurmentFormSchemas(pageSize, customerId, customerName, partNumber, partRevision, drawing, drawingRevision, filter, continuationToken) {
|
|
16979
|
+
listMeasurmentFormSchemas(pageSize, customerId, customerName, partNumber, partName, partRevision, drawing, drawingRevision, filter, continuationToken) {
|
|
16823
16980
|
let url_ = this.baseUrl + "/measurementforms/schemas?";
|
|
16824
16981
|
if (pageSize === null)
|
|
16825
16982
|
throw new Error("The parameter 'pageSize' cannot be null.");
|
|
@@ -16831,6 +16988,8 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
16831
16988
|
url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
|
|
16832
16989
|
if (partNumber !== undefined && partNumber !== null)
|
|
16833
16990
|
url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
|
|
16991
|
+
if (partName !== undefined && partName !== null)
|
|
16992
|
+
url_ += "partName=" + encodeURIComponent("" + partName) + "&";
|
|
16834
16993
|
if (partRevision !== undefined && partRevision !== null)
|
|
16835
16994
|
url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
|
|
16836
16995
|
if (drawing !== undefined && drawing !== null)
|
|
@@ -18300,7 +18459,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18300
18459
|
}
|
|
18301
18460
|
return Promise.resolve(null);
|
|
18302
18461
|
}
|
|
18303
|
-
listMeasurementFormNeeds(pageSize, customerId, customerName, partNumber, partRevision, drawing, drawingRevision, filter, continuationToken, onlyWithoutDrawingUrl) {
|
|
18462
|
+
listMeasurementFormNeeds(pageSize, customerId, customerName, partNumber, partName, partRevision, drawing, drawingRevision, filter, continuationToken, onlyWithoutDrawingUrl) {
|
|
18304
18463
|
let url_ = this.baseUrl + "/measurementforms/schemas/needs?";
|
|
18305
18464
|
if (pageSize === null)
|
|
18306
18465
|
throw new Error("The parameter 'pageSize' cannot be null.");
|
|
@@ -18312,6 +18471,8 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18312
18471
|
url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
|
|
18313
18472
|
if (partNumber !== undefined && partNumber !== null)
|
|
18314
18473
|
url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
|
|
18474
|
+
if (partName !== undefined && partName !== null)
|
|
18475
|
+
url_ += "partName=" + encodeURIComponent("" + partName) + "&";
|
|
18315
18476
|
if (partRevision !== undefined && partRevision !== null)
|
|
18316
18477
|
url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
|
|
18317
18478
|
if (drawing !== undefined && drawing !== null)
|
|
@@ -18564,7 +18725,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18564
18725
|
}
|
|
18565
18726
|
return Promise.resolve(null);
|
|
18566
18727
|
}
|
|
18567
|
-
listMeasurmentFormSchemasNotNeeded(pageSize, customerId, customerName, partNumber, partRevision, drawing, drawingRevision, filter, continuationToken) {
|
|
18728
|
+
listMeasurmentFormSchemasNotNeeded(pageSize, customerId, customerName, partNumber, partName, partRevision, drawing, drawingRevision, filter, continuationToken) {
|
|
18568
18729
|
let url_ = this.baseUrl + "/measurementforms/schemas/schemasnotneeded?";
|
|
18569
18730
|
if (pageSize === null)
|
|
18570
18731
|
throw new Error("The parameter 'pageSize' cannot be null.");
|
|
@@ -18576,6 +18737,8 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18576
18737
|
url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
|
|
18577
18738
|
if (partNumber !== undefined && partNumber !== null)
|
|
18578
18739
|
url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
|
|
18740
|
+
if (partName !== undefined && partName !== null)
|
|
18741
|
+
url_ += "partName=" + encodeURIComponent("" + partName) + "&";
|
|
18579
18742
|
if (partRevision !== undefined && partRevision !== null)
|
|
18580
18743
|
url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
|
|
18581
18744
|
if (drawing !== undefined && drawing !== null)
|
|
@@ -30618,6 +30781,56 @@ export class WorkOrderProjectDto {
|
|
|
30618
30781
|
return data;
|
|
30619
30782
|
}
|
|
30620
30783
|
}
|
|
30784
|
+
export class WorkOrderDatapoint {
|
|
30785
|
+
constructor(data) {
|
|
30786
|
+
if (data) {
|
|
30787
|
+
for (var property in data) {
|
|
30788
|
+
if (data.hasOwnProperty(property))
|
|
30789
|
+
this[property] = data[property];
|
|
30790
|
+
}
|
|
30791
|
+
}
|
|
30792
|
+
}
|
|
30793
|
+
init(_data) {
|
|
30794
|
+
if (_data) {
|
|
30795
|
+
this.workOrder = _data["workOrder"];
|
|
30796
|
+
this.id = _data["id"];
|
|
30797
|
+
this.externalId = _data["externalId"];
|
|
30798
|
+
this.subType = _data["subType"];
|
|
30799
|
+
this.startTime = _data["startTime"];
|
|
30800
|
+
this.endTime = _data["endTime"];
|
|
30801
|
+
if (_data["metaData"]) {
|
|
30802
|
+
this.metaData = {};
|
|
30803
|
+
for (let key in _data["metaData"]) {
|
|
30804
|
+
if (_data["metaData"].hasOwnProperty(key))
|
|
30805
|
+
this.metaData[key] = _data["metaData"][key];
|
|
30806
|
+
}
|
|
30807
|
+
}
|
|
30808
|
+
}
|
|
30809
|
+
}
|
|
30810
|
+
static fromJS(data) {
|
|
30811
|
+
data = typeof data === 'object' ? data : {};
|
|
30812
|
+
let result = new WorkOrderDatapoint();
|
|
30813
|
+
result.init(data);
|
|
30814
|
+
return result;
|
|
30815
|
+
}
|
|
30816
|
+
toJSON(data) {
|
|
30817
|
+
data = typeof data === 'object' ? data : {};
|
|
30818
|
+
data["workOrder"] = this.workOrder;
|
|
30819
|
+
data["id"] = this.id;
|
|
30820
|
+
data["externalId"] = this.externalId;
|
|
30821
|
+
data["subType"] = this.subType;
|
|
30822
|
+
data["startTime"] = this.startTime;
|
|
30823
|
+
data["endTime"] = this.endTime;
|
|
30824
|
+
if (this.metaData) {
|
|
30825
|
+
data["metaData"] = {};
|
|
30826
|
+
for (let key in this.metaData) {
|
|
30827
|
+
if (this.metaData.hasOwnProperty(key))
|
|
30828
|
+
data["metaData"][key] = this.metaData[key];
|
|
30829
|
+
}
|
|
30830
|
+
}
|
|
30831
|
+
return data;
|
|
30832
|
+
}
|
|
30833
|
+
}
|
|
30621
30834
|
export class UtilizationSummaryDto {
|
|
30622
30835
|
constructor(data) {
|
|
30623
30836
|
if (data) {
|
|
@@ -41536,6 +41749,7 @@ export class ListMeasurementFormSchemasRequest {
|
|
|
41536
41749
|
this.pageSize = _data["pageSize"];
|
|
41537
41750
|
this.customerId = _data["customerId"];
|
|
41538
41751
|
this.customerName = _data["customerName"];
|
|
41752
|
+
this.partName = _data["partName"];
|
|
41539
41753
|
this.partNumber = _data["partNumber"];
|
|
41540
41754
|
this.partRevision = _data["partRevision"];
|
|
41541
41755
|
this.drawing = _data["drawing"];
|
|
@@ -41555,6 +41769,7 @@ export class ListMeasurementFormSchemasRequest {
|
|
|
41555
41769
|
data["pageSize"] = this.pageSize;
|
|
41556
41770
|
data["customerId"] = this.customerId;
|
|
41557
41771
|
data["customerName"] = this.customerName;
|
|
41772
|
+
data["partName"] = this.partName;
|
|
41558
41773
|
data["partNumber"] = this.partNumber;
|
|
41559
41774
|
data["partRevision"] = this.partRevision;
|
|
41560
41775
|
data["drawing"] = this.drawing;
|
|
@@ -42836,6 +43051,7 @@ export class ImportMeasurementFormSchema {
|
|
|
42836
43051
|
this.customerId = _data["customerId"];
|
|
42837
43052
|
this.customerName = _data["customerName"];
|
|
42838
43053
|
this.partNumber = _data["partNumber"];
|
|
43054
|
+
this.partName = _data["partName"];
|
|
42839
43055
|
this.partRevision = _data["partRevision"];
|
|
42840
43056
|
this.drawing = _data["drawing"];
|
|
42841
43057
|
this.drawingRevision = _data["drawingRevision"];
|
|
@@ -42868,6 +43084,7 @@ export class ImportMeasurementFormSchema {
|
|
|
42868
43084
|
data["customerId"] = this.customerId;
|
|
42869
43085
|
data["customerName"] = this.customerName;
|
|
42870
43086
|
data["partNumber"] = this.partNumber;
|
|
43087
|
+
data["partName"] = this.partName;
|
|
42871
43088
|
data["partRevision"] = this.partRevision;
|
|
42872
43089
|
data["drawing"] = this.drawing;
|
|
42873
43090
|
data["drawingRevision"] = this.drawingRevision;
|
|
@@ -42903,6 +43120,7 @@ export class MeasurementFormImportLinkedSchemaDto {
|
|
|
42903
43120
|
if (_data) {
|
|
42904
43121
|
this.customerId = _data["customerId"];
|
|
42905
43122
|
this.partNumber = _data["partNumber"];
|
|
43123
|
+
this.partName = _data["partName"];
|
|
42906
43124
|
this.partRevision = _data["partRevision"];
|
|
42907
43125
|
this.drawing = _data["drawing"];
|
|
42908
43126
|
this.drawingRevision = _data["drawingRevision"];
|
|
@@ -42919,6 +43137,7 @@ export class MeasurementFormImportLinkedSchemaDto {
|
|
|
42919
43137
|
data = typeof data === 'object' ? data : {};
|
|
42920
43138
|
data["customerId"] = this.customerId;
|
|
42921
43139
|
data["partNumber"] = this.partNumber;
|
|
43140
|
+
data["partName"] = this.partName;
|
|
42922
43141
|
data["partRevision"] = this.partRevision;
|
|
42923
43142
|
data["drawing"] = this.drawing;
|
|
42924
43143
|
data["drawingRevision"] = this.drawingRevision;
|
|
@@ -43143,6 +43362,7 @@ export class MeasurementFormNeedDto {
|
|
|
43143
43362
|
this.customerName = _data["customerName"];
|
|
43144
43363
|
this.partNumber = _data["partNumber"];
|
|
43145
43364
|
this.partRevision = _data["partRevision"];
|
|
43365
|
+
this.partName = _data["partName"];
|
|
43146
43366
|
this.drawing = _data["drawing"];
|
|
43147
43367
|
this.drawingRevision = _data["drawingRevision"];
|
|
43148
43368
|
this.workorder = _data["workorder"];
|
|
@@ -43170,6 +43390,7 @@ export class MeasurementFormNeedDto {
|
|
|
43170
43390
|
data["customerName"] = this.customerName;
|
|
43171
43391
|
data["partNumber"] = this.partNumber;
|
|
43172
43392
|
data["partRevision"] = this.partRevision;
|
|
43393
|
+
data["partName"] = this.partName;
|
|
43173
43394
|
data["drawing"] = this.drawing;
|
|
43174
43395
|
data["drawingRevision"] = this.drawingRevision;
|
|
43175
43396
|
data["workorder"] = this.workorder;
|
|
@@ -43198,6 +43419,7 @@ export class ListMeasurementFormNeedsRequest {
|
|
|
43198
43419
|
this.pageSize = _data["pageSize"];
|
|
43199
43420
|
this.customerId = _data["customerId"];
|
|
43200
43421
|
this.customerName = _data["customerName"];
|
|
43422
|
+
this.partName = _data["partName"];
|
|
43201
43423
|
this.partNumber = _data["partNumber"];
|
|
43202
43424
|
this.partRevision = _data["partRevision"];
|
|
43203
43425
|
this.drawing = _data["drawing"];
|
|
@@ -43218,6 +43440,7 @@ export class ListMeasurementFormNeedsRequest {
|
|
|
43218
43440
|
data["pageSize"] = this.pageSize;
|
|
43219
43441
|
data["customerId"] = this.customerId;
|
|
43220
43442
|
data["customerName"] = this.customerName;
|
|
43443
|
+
data["partName"] = this.partName;
|
|
43221
43444
|
data["partNumber"] = this.partNumber;
|
|
43222
43445
|
data["partRevision"] = this.partRevision;
|
|
43223
43446
|
data["drawing"] = this.drawing;
|
|
@@ -43374,6 +43597,7 @@ export class ListMeasurementFormSchemasNotNeededRequest {
|
|
|
43374
43597
|
this.customerId = _data["customerId"];
|
|
43375
43598
|
this.customerName = _data["customerName"];
|
|
43376
43599
|
this.partNumber = _data["partNumber"];
|
|
43600
|
+
this.partName = _data["partName"];
|
|
43377
43601
|
this.partRevision = _data["partRevision"];
|
|
43378
43602
|
this.drawing = _data["drawing"];
|
|
43379
43603
|
this.drawingRevision = _data["drawingRevision"];
|
|
@@ -43393,6 +43617,7 @@ export class ListMeasurementFormSchemasNotNeededRequest {
|
|
|
43393
43617
|
data["customerId"] = this.customerId;
|
|
43394
43618
|
data["customerName"] = this.customerName;
|
|
43395
43619
|
data["partNumber"] = this.partNumber;
|
|
43620
|
+
data["partName"] = this.partName;
|
|
43396
43621
|
data["partRevision"] = this.partRevision;
|
|
43397
43622
|
data["drawing"] = this.drawing;
|
|
43398
43623
|
data["drawingRevision"] = this.drawingRevision;
|
|
@@ -43545,6 +43770,7 @@ export class SchemaFeedbackDto {
|
|
|
43545
43770
|
this.latestSchemaDefinitionId = _data["latestSchemaDefinitionId"];
|
|
43546
43771
|
this.partNumber = _data["partNumber"];
|
|
43547
43772
|
this.partRevision = _data["partRevision"];
|
|
43773
|
+
this.partName = _data["partName"];
|
|
43548
43774
|
this.drawing = _data["drawing"];
|
|
43549
43775
|
this.drawingRevision = _data["drawingRevision"];
|
|
43550
43776
|
}
|
|
@@ -43571,6 +43797,7 @@ export class SchemaFeedbackDto {
|
|
|
43571
43797
|
data["latestSchemaDefinitionId"] = this.latestSchemaDefinitionId;
|
|
43572
43798
|
data["partNumber"] = this.partNumber;
|
|
43573
43799
|
data["partRevision"] = this.partRevision;
|
|
43800
|
+
data["partName"] = this.partName;
|
|
43574
43801
|
data["drawing"] = this.drawing;
|
|
43575
43802
|
data["drawingRevision"] = this.drawingRevision;
|
|
43576
43803
|
return data;
|
|
@@ -43728,6 +43955,7 @@ export class MeasurementFormInstanceOverviewDto {
|
|
|
43728
43955
|
if (_data) {
|
|
43729
43956
|
this.id = _data["id"];
|
|
43730
43957
|
this.readonly = _data["readonly"];
|
|
43958
|
+
this.partName = _data["partName"];
|
|
43731
43959
|
this.partNumber = _data["partNumber"];
|
|
43732
43960
|
this.partRevision = _data["partRevision"];
|
|
43733
43961
|
this.drawing = _data["drawing"];
|
|
@@ -43756,6 +43984,7 @@ export class MeasurementFormInstanceOverviewDto {
|
|
|
43756
43984
|
data = typeof data === 'object' ? data : {};
|
|
43757
43985
|
data["id"] = this.id;
|
|
43758
43986
|
data["readonly"] = this.readonly;
|
|
43987
|
+
data["partName"] = this.partName;
|
|
43759
43988
|
data["partNumber"] = this.partNumber;
|
|
43760
43989
|
data["partRevision"] = this.partRevision;
|
|
43761
43990
|
data["drawing"] = this.drawing;
|
|
@@ -43964,6 +44193,7 @@ export class MeasurementFormInstanceDto {
|
|
|
43964
44193
|
this.id = _data["id"];
|
|
43965
44194
|
this.readonly = _data["readonly"];
|
|
43966
44195
|
this.partNumber = _data["partNumber"];
|
|
44196
|
+
this.partName = _data["partName"];
|
|
43967
44197
|
this.partRevision = _data["partRevision"];
|
|
43968
44198
|
this.drawing = _data["drawing"];
|
|
43969
44199
|
this.drawingRevision = _data["drawingRevision"];
|
|
@@ -44003,6 +44233,7 @@ export class MeasurementFormInstanceDto {
|
|
|
44003
44233
|
data["id"] = this.id;
|
|
44004
44234
|
data["readonly"] = this.readonly;
|
|
44005
44235
|
data["partNumber"] = this.partNumber;
|
|
44236
|
+
data["partName"] = this.partName;
|
|
44006
44237
|
data["partRevision"] = this.partRevision;
|
|
44007
44238
|
data["drawing"] = this.drawing;
|
|
44008
44239
|
data["drawingRevision"] = this.drawingRevision;
|
|
@@ -46921,10 +47152,7 @@ export class AddDiscussionMessageRequest {
|
|
|
46921
47152
|
}
|
|
46922
47153
|
init(_data) {
|
|
46923
47154
|
if (_data) {
|
|
46924
|
-
this.companyId = _data["companyId"];
|
|
46925
47155
|
this.message = _data["message"];
|
|
46926
|
-
this.senderUpn = _data["senderUpn"];
|
|
46927
|
-
this.senderName = _data["senderName"];
|
|
46928
47156
|
this.operationId = _data["operationId"];
|
|
46929
47157
|
this.operationName = _data["operationName"];
|
|
46930
47158
|
this.resourceId = _data["resourceId"];
|
|
@@ -46938,10 +47166,7 @@ export class AddDiscussionMessageRequest {
|
|
|
46938
47166
|
}
|
|
46939
47167
|
toJSON(data) {
|
|
46940
47168
|
data = typeof data === 'object' ? data : {};
|
|
46941
|
-
data["companyId"] = this.companyId;
|
|
46942
47169
|
data["message"] = this.message;
|
|
46943
|
-
data["senderUpn"] = this.senderUpn;
|
|
46944
|
-
data["senderName"] = this.senderName;
|
|
46945
47170
|
data["operationId"] = this.operationId;
|
|
46946
47171
|
data["operationName"] = this.operationName;
|
|
46947
47172
|
data["resourceId"] = this.resourceId;
|
|
@@ -46982,7 +47207,7 @@ export class WorkorderDiscussionReadStatusDto {
|
|
|
46982
47207
|
return data;
|
|
46983
47208
|
}
|
|
46984
47209
|
}
|
|
46985
|
-
export class
|
|
47210
|
+
export class SetDiscussionLastReadRequest {
|
|
46986
47211
|
constructor(data) {
|
|
46987
47212
|
if (data) {
|
|
46988
47213
|
for (var property in data) {
|
|
@@ -46993,24 +47218,20 @@ export class SetDiscussionLastRead {
|
|
|
46993
47218
|
}
|
|
46994
47219
|
init(_data) {
|
|
46995
47220
|
if (_data) {
|
|
46996
|
-
this.workorderId = _data["workorderId"];
|
|
46997
47221
|
this.operationId = _data["operationId"];
|
|
46998
47222
|
this.resourceId = _data["resourceId"];
|
|
46999
|
-
this.userUpn = _data["userUpn"];
|
|
47000
47223
|
}
|
|
47001
47224
|
}
|
|
47002
47225
|
static fromJS(data) {
|
|
47003
47226
|
data = typeof data === 'object' ? data : {};
|
|
47004
|
-
let result = new
|
|
47227
|
+
let result = new SetDiscussionLastReadRequest();
|
|
47005
47228
|
result.init(data);
|
|
47006
47229
|
return result;
|
|
47007
47230
|
}
|
|
47008
47231
|
toJSON(data) {
|
|
47009
47232
|
data = typeof data === 'object' ? data : {};
|
|
47010
|
-
data["workorderId"] = this.workorderId;
|
|
47011
47233
|
data["operationId"] = this.operationId;
|
|
47012
47234
|
data["resourceId"] = this.resourceId;
|
|
47013
|
-
data["userUpn"] = this.userUpn;
|
|
47014
47235
|
return data;
|
|
47015
47236
|
}
|
|
47016
47237
|
}
|