@ignos/api-client 20251106.0.13144 → 20251106.0.13145-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ignosportal-api.d.ts +92 -121
- package/lib/ignosportal-api.js +313 -439
- package/package.json +1 -1
- package/src/ignosportal-api.ts +370 -519
package/lib/ignosportal-api.js
CHANGED
|
@@ -1582,79 +1582,6 @@ export class UserAppSettingsClient extends AuthorizedApiBase {
|
|
|
1582
1582
|
}
|
|
1583
1583
|
return Promise.resolve(null);
|
|
1584
1584
|
}
|
|
1585
|
-
getEngageUserSettings() {
|
|
1586
|
-
let url_ = this.baseUrl + "/userappsettings/engage";
|
|
1587
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
1588
|
-
let options_ = {
|
|
1589
|
-
method: "GET",
|
|
1590
|
-
headers: {
|
|
1591
|
-
"Accept": "application/json"
|
|
1592
|
-
}
|
|
1593
|
-
};
|
|
1594
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1595
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
1596
|
-
}).then((_response) => {
|
|
1597
|
-
return this.processGetEngageUserSettings(_response);
|
|
1598
|
-
});
|
|
1599
|
-
}
|
|
1600
|
-
processGetEngageUserSettings(response) {
|
|
1601
|
-
const status = response.status;
|
|
1602
|
-
let _headers = {};
|
|
1603
|
-
if (response.headers && response.headers.forEach) {
|
|
1604
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
1605
|
-
}
|
|
1606
|
-
;
|
|
1607
|
-
if (status === 200) {
|
|
1608
|
-
return response.text().then((_responseText) => {
|
|
1609
|
-
let result200 = null;
|
|
1610
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1611
|
-
result200 = EngageAppSettings.fromJS(resultData200);
|
|
1612
|
-
return result200;
|
|
1613
|
-
});
|
|
1614
|
-
}
|
|
1615
|
-
else if (status !== 200 && status !== 204) {
|
|
1616
|
-
return response.text().then((_responseText) => {
|
|
1617
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1618
|
-
});
|
|
1619
|
-
}
|
|
1620
|
-
return Promise.resolve(null);
|
|
1621
|
-
}
|
|
1622
|
-
setEngageUserSettings(settings) {
|
|
1623
|
-
let url_ = this.baseUrl + "/userappsettings/engage";
|
|
1624
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
1625
|
-
const content_ = JSON.stringify(settings);
|
|
1626
|
-
let options_ = {
|
|
1627
|
-
body: content_,
|
|
1628
|
-
method: "PUT",
|
|
1629
|
-
headers: {
|
|
1630
|
-
"Content-Type": "application/json",
|
|
1631
|
-
}
|
|
1632
|
-
};
|
|
1633
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1634
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
1635
|
-
}).then((_response) => {
|
|
1636
|
-
return this.processSetEngageUserSettings(_response);
|
|
1637
|
-
});
|
|
1638
|
-
}
|
|
1639
|
-
processSetEngageUserSettings(response) {
|
|
1640
|
-
const status = response.status;
|
|
1641
|
-
let _headers = {};
|
|
1642
|
-
if (response.headers && response.headers.forEach) {
|
|
1643
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
1644
|
-
}
|
|
1645
|
-
;
|
|
1646
|
-
if (status === 204) {
|
|
1647
|
-
return response.text().then((_responseText) => {
|
|
1648
|
-
return;
|
|
1649
|
-
});
|
|
1650
|
-
}
|
|
1651
|
-
else if (status !== 200 && status !== 204) {
|
|
1652
|
-
return response.text().then((_responseText) => {
|
|
1653
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1654
|
-
});
|
|
1655
|
-
}
|
|
1656
|
-
return Promise.resolve(null);
|
|
1657
|
-
}
|
|
1658
1585
|
}
|
|
1659
1586
|
export class UploadClient extends AuthorizedApiBase {
|
|
1660
1587
|
constructor(configuration, baseUrl, http) {
|
|
@@ -11489,45 +11416,6 @@ export class CncSetupClient extends AuthorizedApiBase {
|
|
|
11489
11416
|
}
|
|
11490
11417
|
return Promise.resolve(null);
|
|
11491
11418
|
}
|
|
11492
|
-
deleteCncMachineOperationToolMultiple(operationId, idsToDelete) {
|
|
11493
|
-
let url_ = this.baseUrl + "/cncsetup/operations/{operationId}/tools";
|
|
11494
|
-
if (operationId === undefined || operationId === null)
|
|
11495
|
-
throw new globalThis.Error("The parameter 'operationId' must be defined.");
|
|
11496
|
-
url_ = url_.replace("{operationId}", encodeURIComponent("" + operationId));
|
|
11497
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
11498
|
-
const content_ = JSON.stringify(idsToDelete);
|
|
11499
|
-
let options_ = {
|
|
11500
|
-
body: content_,
|
|
11501
|
-
method: "DELETE",
|
|
11502
|
-
headers: {
|
|
11503
|
-
"Content-Type": "application/json",
|
|
11504
|
-
}
|
|
11505
|
-
};
|
|
11506
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
11507
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
11508
|
-
}).then((_response) => {
|
|
11509
|
-
return this.processDeleteCncMachineOperationToolMultiple(_response);
|
|
11510
|
-
});
|
|
11511
|
-
}
|
|
11512
|
-
processDeleteCncMachineOperationToolMultiple(response) {
|
|
11513
|
-
const status = response.status;
|
|
11514
|
-
let _headers = {};
|
|
11515
|
-
if (response.headers && response.headers.forEach) {
|
|
11516
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
11517
|
-
}
|
|
11518
|
-
;
|
|
11519
|
-
if (status === 204) {
|
|
11520
|
-
return response.text().then((_responseText) => {
|
|
11521
|
-
return;
|
|
11522
|
-
});
|
|
11523
|
-
}
|
|
11524
|
-
else if (status !== 200 && status !== 204) {
|
|
11525
|
-
return response.text().then((_responseText) => {
|
|
11526
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
11527
|
-
});
|
|
11528
|
-
}
|
|
11529
|
-
return Promise.resolve(null);
|
|
11530
|
-
}
|
|
11531
11419
|
uploadOperationCncToolImage(operationId, id, request) {
|
|
11532
11420
|
let url_ = this.baseUrl + "/cncsetup/operations/{operationId}/tools/{id}/uploadimage";
|
|
11533
11421
|
if (operationId === undefined || operationId === null)
|
|
@@ -11786,45 +11674,6 @@ export class CncSetupClient extends AuthorizedApiBase {
|
|
|
11786
11674
|
}
|
|
11787
11675
|
return Promise.resolve(null);
|
|
11788
11676
|
}
|
|
11789
|
-
deleteCncMachineToolMultiple(cncMachineId, idsToDelete) {
|
|
11790
|
-
let url_ = this.baseUrl + "/cncsetup/machines/{cncMachineId}/tools";
|
|
11791
|
-
if (cncMachineId === undefined || cncMachineId === null)
|
|
11792
|
-
throw new globalThis.Error("The parameter 'cncMachineId' must be defined.");
|
|
11793
|
-
url_ = url_.replace("{cncMachineId}", encodeURIComponent("" + cncMachineId));
|
|
11794
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
11795
|
-
const content_ = JSON.stringify(idsToDelete);
|
|
11796
|
-
let options_ = {
|
|
11797
|
-
body: content_,
|
|
11798
|
-
method: "DELETE",
|
|
11799
|
-
headers: {
|
|
11800
|
-
"Content-Type": "application/json",
|
|
11801
|
-
}
|
|
11802
|
-
};
|
|
11803
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
11804
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
11805
|
-
}).then((_response) => {
|
|
11806
|
-
return this.processDeleteCncMachineToolMultiple(_response);
|
|
11807
|
-
});
|
|
11808
|
-
}
|
|
11809
|
-
processDeleteCncMachineToolMultiple(response) {
|
|
11810
|
-
const status = response.status;
|
|
11811
|
-
let _headers = {};
|
|
11812
|
-
if (response.headers && response.headers.forEach) {
|
|
11813
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
11814
|
-
}
|
|
11815
|
-
;
|
|
11816
|
-
if (status === 204) {
|
|
11817
|
-
return response.text().then((_responseText) => {
|
|
11818
|
-
return;
|
|
11819
|
-
});
|
|
11820
|
-
}
|
|
11821
|
-
else if (status !== 200 && status !== 204) {
|
|
11822
|
-
return response.text().then((_responseText) => {
|
|
11823
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
11824
|
-
});
|
|
11825
|
-
}
|
|
11826
|
-
return Promise.resolve(null);
|
|
11827
|
-
}
|
|
11828
11677
|
uploadCncMachineToolImage(machineId, id, request) {
|
|
11829
11678
|
let url_ = this.baseUrl + "/cncsetup/machines/{machineId}/tools/{id}/uploadimage";
|
|
11830
11679
|
if (machineId === undefined || machineId === null)
|
|
@@ -17888,18 +17737,37 @@ export class WeldingClient extends AuthorizedApiBase {
|
|
|
17888
17737
|
return Promise.resolve(null);
|
|
17889
17738
|
}
|
|
17890
17739
|
}
|
|
17891
|
-
export class
|
|
17740
|
+
export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
17892
17741
|
constructor(configuration, baseUrl, http) {
|
|
17893
17742
|
super(configuration);
|
|
17894
17743
|
this.jsonParseReviver = undefined;
|
|
17895
17744
|
this.http = http ? http : window;
|
|
17896
17745
|
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
17897
17746
|
}
|
|
17898
|
-
|
|
17899
|
-
let url_ = this.baseUrl + "/measurementforms/schemas
|
|
17900
|
-
if (
|
|
17901
|
-
throw new globalThis.Error("The parameter '
|
|
17902
|
-
|
|
17747
|
+
listMeasurmentFormSchemas(pageSize, customerId, customerName, partNumber, partName, partRevision, drawing, drawingRevision, filter, continuationToken) {
|
|
17748
|
+
let url_ = this.baseUrl + "/measurementforms/schemas?";
|
|
17749
|
+
if (pageSize === null)
|
|
17750
|
+
throw new globalThis.Error("The parameter 'pageSize' cannot be null.");
|
|
17751
|
+
else if (pageSize !== undefined)
|
|
17752
|
+
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
17753
|
+
if (customerId !== undefined && customerId !== null)
|
|
17754
|
+
url_ += "customerId=" + encodeURIComponent("" + customerId) + "&";
|
|
17755
|
+
if (customerName !== undefined && customerName !== null)
|
|
17756
|
+
url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
|
|
17757
|
+
if (partNumber !== undefined && partNumber !== null)
|
|
17758
|
+
url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
|
|
17759
|
+
if (partName !== undefined && partName !== null)
|
|
17760
|
+
url_ += "partName=" + encodeURIComponent("" + partName) + "&";
|
|
17761
|
+
if (partRevision !== undefined && partRevision !== null)
|
|
17762
|
+
url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
|
|
17763
|
+
if (drawing !== undefined && drawing !== null)
|
|
17764
|
+
url_ += "drawing=" + encodeURIComponent("" + drawing) + "&";
|
|
17765
|
+
if (drawingRevision !== undefined && drawingRevision !== null)
|
|
17766
|
+
url_ += "drawingRevision=" + encodeURIComponent("" + drawingRevision) + "&";
|
|
17767
|
+
if (filter !== undefined && filter !== null)
|
|
17768
|
+
url_ += "filter=" + encodeURIComponent("" + filter) + "&";
|
|
17769
|
+
if (continuationToken !== undefined && continuationToken !== null)
|
|
17770
|
+
url_ += "continuationToken=" + encodeURIComponent("" + continuationToken) + "&";
|
|
17903
17771
|
url_ = url_.replace(/[?&]$/, "");
|
|
17904
17772
|
let options_ = {
|
|
17905
17773
|
method: "GET",
|
|
@@ -17910,10 +17778,10 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
|
17910
17778
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
17911
17779
|
return this.http.fetch(url_, transformedOptions_);
|
|
17912
17780
|
}).then((_response) => {
|
|
17913
|
-
return this.
|
|
17781
|
+
return this.processListMeasurmentFormSchemas(_response);
|
|
17914
17782
|
});
|
|
17915
17783
|
}
|
|
17916
|
-
|
|
17784
|
+
processListMeasurmentFormSchemas(response) {
|
|
17917
17785
|
const status = response.status;
|
|
17918
17786
|
let _headers = {};
|
|
17919
17787
|
if (response.headers && response.headers.forEach) {
|
|
@@ -17924,7 +17792,7 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
|
17924
17792
|
return response.text().then((_responseText) => {
|
|
17925
17793
|
let result200 = null;
|
|
17926
17794
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17927
|
-
result200 =
|
|
17795
|
+
result200 = PagedResultOfMeasurementFormListDto.fromJS(resultData200);
|
|
17928
17796
|
return result200;
|
|
17929
17797
|
});
|
|
17930
17798
|
}
|
|
@@ -17975,16 +17843,13 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
|
17975
17843
|
}
|
|
17976
17844
|
return Promise.resolve(null);
|
|
17977
17845
|
}
|
|
17978
|
-
|
|
17979
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/
|
|
17980
|
-
if (id === undefined || id === null)
|
|
17981
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
17982
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
17846
|
+
postListMeasurementFormSchemas(request) {
|
|
17847
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/list";
|
|
17983
17848
|
url_ = url_.replace(/[?&]$/, "");
|
|
17984
17849
|
const content_ = JSON.stringify(request);
|
|
17985
17850
|
let options_ = {
|
|
17986
17851
|
body: content_,
|
|
17987
|
-
method: "
|
|
17852
|
+
method: "POST",
|
|
17988
17853
|
headers: {
|
|
17989
17854
|
"Content-Type": "application/json",
|
|
17990
17855
|
"Accept": "application/json"
|
|
@@ -17993,10 +17858,10 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
|
17993
17858
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
17994
17859
|
return this.http.fetch(url_, transformedOptions_);
|
|
17995
17860
|
}).then((_response) => {
|
|
17996
|
-
return this.
|
|
17861
|
+
return this.processPostListMeasurementFormSchemas(_response);
|
|
17997
17862
|
});
|
|
17998
17863
|
}
|
|
17999
|
-
|
|
17864
|
+
processPostListMeasurementFormSchemas(response) {
|
|
18000
17865
|
const status = response.status;
|
|
18001
17866
|
let _headers = {};
|
|
18002
17867
|
if (response.headers && response.headers.forEach) {
|
|
@@ -18007,7 +17872,7 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
|
18007
17872
|
return response.text().then((_responseText) => {
|
|
18008
17873
|
let result200 = null;
|
|
18009
17874
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18010
|
-
result200 =
|
|
17875
|
+
result200 = PagedResultOfMeasurementFormListDto.fromJS(resultData200);
|
|
18011
17876
|
return result200;
|
|
18012
17877
|
});
|
|
18013
17878
|
}
|
|
@@ -18018,32 +17883,37 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
|
18018
17883
|
}
|
|
18019
17884
|
return Promise.resolve(null);
|
|
18020
17885
|
}
|
|
18021
|
-
|
|
17886
|
+
getMeasurementFormSchema(id) {
|
|
18022
17887
|
let url_ = this.baseUrl + "/measurementforms/schemas/{id}";
|
|
18023
17888
|
if (id === undefined || id === null)
|
|
18024
17889
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18025
17890
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18026
17891
|
url_ = url_.replace(/[?&]$/, "");
|
|
18027
17892
|
let options_ = {
|
|
18028
|
-
method: "
|
|
18029
|
-
headers: {
|
|
17893
|
+
method: "GET",
|
|
17894
|
+
headers: {
|
|
17895
|
+
"Accept": "application/json"
|
|
17896
|
+
}
|
|
18030
17897
|
};
|
|
18031
17898
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18032
17899
|
return this.http.fetch(url_, transformedOptions_);
|
|
18033
17900
|
}).then((_response) => {
|
|
18034
|
-
return this.
|
|
17901
|
+
return this.processGetMeasurementFormSchema(_response);
|
|
18035
17902
|
});
|
|
18036
17903
|
}
|
|
18037
|
-
|
|
17904
|
+
processGetMeasurementFormSchema(response) {
|
|
18038
17905
|
const status = response.status;
|
|
18039
17906
|
let _headers = {};
|
|
18040
17907
|
if (response.headers && response.headers.forEach) {
|
|
18041
17908
|
response.headers.forEach((v, k) => _headers[k] = v);
|
|
18042
17909
|
}
|
|
18043
17910
|
;
|
|
18044
|
-
if (status ===
|
|
17911
|
+
if (status === 200) {
|
|
18045
17912
|
return response.text().then((_responseText) => {
|
|
18046
|
-
|
|
17913
|
+
let result200 = null;
|
|
17914
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17915
|
+
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
17916
|
+
return result200;
|
|
18047
17917
|
});
|
|
18048
17918
|
}
|
|
18049
17919
|
else if (status !== 200 && status !== 204) {
|
|
@@ -18053,8 +17923,8 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
|
18053
17923
|
}
|
|
18054
17924
|
return Promise.resolve(null);
|
|
18055
17925
|
}
|
|
18056
|
-
|
|
18057
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}
|
|
17926
|
+
updateMeasurementFormSchema(id, request) {
|
|
17927
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}";
|
|
18058
17928
|
if (id === undefined || id === null)
|
|
18059
17929
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18060
17930
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
@@ -18062,7 +17932,7 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
|
18062
17932
|
const content_ = JSON.stringify(request);
|
|
18063
17933
|
let options_ = {
|
|
18064
17934
|
body: content_,
|
|
18065
|
-
method: "
|
|
17935
|
+
method: "PUT",
|
|
18066
17936
|
headers: {
|
|
18067
17937
|
"Content-Type": "application/json",
|
|
18068
17938
|
"Accept": "application/json"
|
|
@@ -18071,10 +17941,10 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
|
18071
17941
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18072
17942
|
return this.http.fetch(url_, transformedOptions_);
|
|
18073
17943
|
}).then((_response) => {
|
|
18074
|
-
return this.
|
|
17944
|
+
return this.processUpdateMeasurementFormSchema(_response);
|
|
18075
17945
|
});
|
|
18076
17946
|
}
|
|
18077
|
-
|
|
17947
|
+
processUpdateMeasurementFormSchema(response) {
|
|
18078
17948
|
const status = response.status;
|
|
18079
17949
|
let _headers = {};
|
|
18080
17950
|
if (response.headers && response.headers.forEach) {
|
|
@@ -18085,7 +17955,7 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
|
18085
17955
|
return response.text().then((_responseText) => {
|
|
18086
17956
|
let result200 = null;
|
|
18087
17957
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18088
|
-
result200 =
|
|
17958
|
+
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
18089
17959
|
return result200;
|
|
18090
17960
|
});
|
|
18091
17961
|
}
|
|
@@ -18096,28 +17966,146 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
|
18096
17966
|
}
|
|
18097
17967
|
return Promise.resolve(null);
|
|
18098
17968
|
}
|
|
18099
|
-
|
|
18100
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}
|
|
17969
|
+
deleteMeasurementForm(id) {
|
|
17970
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}";
|
|
18101
17971
|
if (id === undefined || id === null)
|
|
18102
17972
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18103
17973
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18104
17974
|
url_ = url_.replace(/[?&]$/, "");
|
|
18105
|
-
const content_ = JSON.stringify(request);
|
|
18106
17975
|
let options_ = {
|
|
18107
|
-
|
|
18108
|
-
|
|
17976
|
+
method: "DELETE",
|
|
17977
|
+
headers: {}
|
|
17978
|
+
};
|
|
17979
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
17980
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
17981
|
+
}).then((_response) => {
|
|
17982
|
+
return this.processDeleteMeasurementForm(_response);
|
|
17983
|
+
});
|
|
17984
|
+
}
|
|
17985
|
+
processDeleteMeasurementForm(response) {
|
|
17986
|
+
const status = response.status;
|
|
17987
|
+
let _headers = {};
|
|
17988
|
+
if (response.headers && response.headers.forEach) {
|
|
17989
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
17990
|
+
}
|
|
17991
|
+
;
|
|
17992
|
+
if (status === 204) {
|
|
17993
|
+
return response.text().then((_responseText) => {
|
|
17994
|
+
return;
|
|
17995
|
+
});
|
|
17996
|
+
}
|
|
17997
|
+
else if (status !== 200 && status !== 204) {
|
|
17998
|
+
return response.text().then((_responseText) => {
|
|
17999
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18000
|
+
});
|
|
18001
|
+
}
|
|
18002
|
+
return Promise.resolve(null);
|
|
18003
|
+
}
|
|
18004
|
+
getArchivedMeasurementFormSchema(id) {
|
|
18005
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/archived/{id}";
|
|
18006
|
+
if (id === undefined || id === null)
|
|
18007
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18008
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18009
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
18010
|
+
let options_ = {
|
|
18011
|
+
method: "GET",
|
|
18109
18012
|
headers: {
|
|
18110
|
-
"Content-Type": "application/json",
|
|
18111
18013
|
"Accept": "application/json"
|
|
18112
18014
|
}
|
|
18113
18015
|
};
|
|
18114
18016
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18115
18017
|
return this.http.fetch(url_, transformedOptions_);
|
|
18116
18018
|
}).then((_response) => {
|
|
18117
|
-
return this.
|
|
18019
|
+
return this.processGetArchivedMeasurementFormSchema(_response);
|
|
18118
18020
|
});
|
|
18119
18021
|
}
|
|
18120
|
-
|
|
18022
|
+
processGetArchivedMeasurementFormSchema(response) {
|
|
18023
|
+
const status = response.status;
|
|
18024
|
+
let _headers = {};
|
|
18025
|
+
if (response.headers && response.headers.forEach) {
|
|
18026
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
18027
|
+
}
|
|
18028
|
+
;
|
|
18029
|
+
if (status === 200) {
|
|
18030
|
+
return response.text().then((_responseText) => {
|
|
18031
|
+
let result200 = null;
|
|
18032
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18033
|
+
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
18034
|
+
return result200;
|
|
18035
|
+
});
|
|
18036
|
+
}
|
|
18037
|
+
else if (status !== 200 && status !== 204) {
|
|
18038
|
+
return response.text().then((_responseText) => {
|
|
18039
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18040
|
+
});
|
|
18041
|
+
}
|
|
18042
|
+
return Promise.resolve(null);
|
|
18043
|
+
}
|
|
18044
|
+
copyMeasurementFormSchema(id, request) {
|
|
18045
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/copy";
|
|
18046
|
+
if (id === undefined || id === null)
|
|
18047
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18048
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18049
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
18050
|
+
const content_ = JSON.stringify(request);
|
|
18051
|
+
let options_ = {
|
|
18052
|
+
body: content_,
|
|
18053
|
+
method: "POST",
|
|
18054
|
+
headers: {
|
|
18055
|
+
"Content-Type": "application/json",
|
|
18056
|
+
"Accept": "application/json"
|
|
18057
|
+
}
|
|
18058
|
+
};
|
|
18059
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18060
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
18061
|
+
}).then((_response) => {
|
|
18062
|
+
return this.processCopyMeasurementFormSchema(_response);
|
|
18063
|
+
});
|
|
18064
|
+
}
|
|
18065
|
+
processCopyMeasurementFormSchema(response) {
|
|
18066
|
+
const status = response.status;
|
|
18067
|
+
let _headers = {};
|
|
18068
|
+
if (response.headers && response.headers.forEach) {
|
|
18069
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
18070
|
+
}
|
|
18071
|
+
;
|
|
18072
|
+
if (status === 200) {
|
|
18073
|
+
return response.text().then((_responseText) => {
|
|
18074
|
+
let result200 = null;
|
|
18075
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18076
|
+
result200 = MeasurementFormDto.fromJS(resultData200);
|
|
18077
|
+
return result200;
|
|
18078
|
+
});
|
|
18079
|
+
}
|
|
18080
|
+
else if (status !== 200 && status !== 204) {
|
|
18081
|
+
return response.text().then((_responseText) => {
|
|
18082
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18083
|
+
});
|
|
18084
|
+
}
|
|
18085
|
+
return Promise.resolve(null);
|
|
18086
|
+
}
|
|
18087
|
+
updateSchemaGroupedElements(id, request) {
|
|
18088
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/groupedelements";
|
|
18089
|
+
if (id === undefined || id === null)
|
|
18090
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18091
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18092
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
18093
|
+
const content_ = JSON.stringify(request);
|
|
18094
|
+
let options_ = {
|
|
18095
|
+
body: content_,
|
|
18096
|
+
method: "PUT",
|
|
18097
|
+
headers: {
|
|
18098
|
+
"Content-Type": "application/json",
|
|
18099
|
+
"Accept": "application/json"
|
|
18100
|
+
}
|
|
18101
|
+
};
|
|
18102
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18103
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
18104
|
+
}).then((_response) => {
|
|
18105
|
+
return this.processUpdateSchemaGroupedElements(_response);
|
|
18106
|
+
});
|
|
18107
|
+
}
|
|
18108
|
+
processUpdateSchemaGroupedElements(response) {
|
|
18121
18109
|
const status = response.status;
|
|
18122
18110
|
let _headers = {};
|
|
18123
18111
|
if (response.headers && response.headers.forEach) {
|
|
@@ -20091,94 +20079,6 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
|
20091
20079
|
return Promise.resolve(null);
|
|
20092
20080
|
}
|
|
20093
20081
|
}
|
|
20094
|
-
export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
20095
|
-
constructor(configuration, baseUrl, http) {
|
|
20096
|
-
super(configuration);
|
|
20097
|
-
this.jsonParseReviver = undefined;
|
|
20098
|
-
this.http = http ? http : window;
|
|
20099
|
-
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
20100
|
-
}
|
|
20101
|
-
getMeasurementFormSchema(id) {
|
|
20102
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}";
|
|
20103
|
-
if (id === undefined || id === null)
|
|
20104
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
20105
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
20106
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
20107
|
-
let options_ = {
|
|
20108
|
-
method: "GET",
|
|
20109
|
-
headers: {
|
|
20110
|
-
"Accept": "application/json"
|
|
20111
|
-
}
|
|
20112
|
-
};
|
|
20113
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
20114
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
20115
|
-
}).then((_response) => {
|
|
20116
|
-
return this.processGetMeasurementFormSchema(_response);
|
|
20117
|
-
});
|
|
20118
|
-
}
|
|
20119
|
-
processGetMeasurementFormSchema(response) {
|
|
20120
|
-
const status = response.status;
|
|
20121
|
-
let _headers = {};
|
|
20122
|
-
if (response.headers && response.headers.forEach) {
|
|
20123
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
20124
|
-
}
|
|
20125
|
-
;
|
|
20126
|
-
if (status === 200) {
|
|
20127
|
-
return response.text().then((_responseText) => {
|
|
20128
|
-
let result200 = null;
|
|
20129
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
20130
|
-
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
20131
|
-
return result200;
|
|
20132
|
-
});
|
|
20133
|
-
}
|
|
20134
|
-
else if (status !== 200 && status !== 204) {
|
|
20135
|
-
return response.text().then((_responseText) => {
|
|
20136
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
20137
|
-
});
|
|
20138
|
-
}
|
|
20139
|
-
return Promise.resolve(null);
|
|
20140
|
-
}
|
|
20141
|
-
postListMeasurementFormSchemas(request) {
|
|
20142
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/list";
|
|
20143
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
20144
|
-
const content_ = JSON.stringify(request);
|
|
20145
|
-
let options_ = {
|
|
20146
|
-
body: content_,
|
|
20147
|
-
method: "POST",
|
|
20148
|
-
headers: {
|
|
20149
|
-
"Content-Type": "application/json",
|
|
20150
|
-
"Accept": "application/json"
|
|
20151
|
-
}
|
|
20152
|
-
};
|
|
20153
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
20154
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
20155
|
-
}).then((_response) => {
|
|
20156
|
-
return this.processPostListMeasurementFormSchemas(_response);
|
|
20157
|
-
});
|
|
20158
|
-
}
|
|
20159
|
-
processPostListMeasurementFormSchemas(response) {
|
|
20160
|
-
const status = response.status;
|
|
20161
|
-
let _headers = {};
|
|
20162
|
-
if (response.headers && response.headers.forEach) {
|
|
20163
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
20164
|
-
}
|
|
20165
|
-
;
|
|
20166
|
-
if (status === 200) {
|
|
20167
|
-
return response.text().then((_responseText) => {
|
|
20168
|
-
let result200 = null;
|
|
20169
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
20170
|
-
result200 = PagedResultOfMeasurementFormListDto.fromJS(resultData200);
|
|
20171
|
-
return result200;
|
|
20172
|
-
});
|
|
20173
|
-
}
|
|
20174
|
-
else if (status !== 200 && status !== 204) {
|
|
20175
|
-
return response.text().then((_responseText) => {
|
|
20176
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
20177
|
-
});
|
|
20178
|
-
}
|
|
20179
|
-
return Promise.resolve(null);
|
|
20180
|
-
}
|
|
20181
|
-
}
|
|
20182
20082
|
export class MeasurementFormSettingsClient extends AuthorizedApiBase {
|
|
20183
20083
|
constructor(configuration, baseUrl, http) {
|
|
20184
20084
|
super(configuration);
|
|
@@ -24927,32 +24827,6 @@ export class MoveAppSettings {
|
|
|
24927
24827
|
return data;
|
|
24928
24828
|
}
|
|
24929
24829
|
}
|
|
24930
|
-
export class EngageAppSettings {
|
|
24931
|
-
constructor(data) {
|
|
24932
|
-
if (data) {
|
|
24933
|
-
for (var property in data) {
|
|
24934
|
-
if (data.hasOwnProperty(property))
|
|
24935
|
-
this[property] = data[property];
|
|
24936
|
-
}
|
|
24937
|
-
}
|
|
24938
|
-
}
|
|
24939
|
-
init(_data) {
|
|
24940
|
-
if (_data) {
|
|
24941
|
-
this.myResourceGroup = _data["myResourceGroup"];
|
|
24942
|
-
}
|
|
24943
|
-
}
|
|
24944
|
-
static fromJS(data) {
|
|
24945
|
-
data = typeof data === 'object' ? data : {};
|
|
24946
|
-
let result = new EngageAppSettings();
|
|
24947
|
-
result.init(data);
|
|
24948
|
-
return result;
|
|
24949
|
-
}
|
|
24950
|
-
toJSON(data) {
|
|
24951
|
-
data = typeof data === 'object' ? data : {};
|
|
24952
|
-
data["myResourceGroup"] = this.myResourceGroup;
|
|
24953
|
-
return data;
|
|
24954
|
-
}
|
|
24955
|
-
}
|
|
24956
24830
|
export class UploadInfoDto {
|
|
24957
24831
|
constructor(data) {
|
|
24958
24832
|
if (data) {
|
|
@@ -42779,6 +42653,141 @@ export class CreateWeldingIotConfig {
|
|
|
42779
42653
|
return data;
|
|
42780
42654
|
}
|
|
42781
42655
|
}
|
|
42656
|
+
export class PagedResultOfMeasurementFormListDto {
|
|
42657
|
+
constructor(data) {
|
|
42658
|
+
if (data) {
|
|
42659
|
+
for (var property in data) {
|
|
42660
|
+
if (data.hasOwnProperty(property))
|
|
42661
|
+
this[property] = data[property];
|
|
42662
|
+
}
|
|
42663
|
+
}
|
|
42664
|
+
if (!data) {
|
|
42665
|
+
this.results = [];
|
|
42666
|
+
}
|
|
42667
|
+
}
|
|
42668
|
+
init(_data) {
|
|
42669
|
+
if (_data) {
|
|
42670
|
+
if (Array.isArray(_data["results"])) {
|
|
42671
|
+
this.results = [];
|
|
42672
|
+
for (let item of _data["results"])
|
|
42673
|
+
this.results.push(MeasurementFormListDto.fromJS(item));
|
|
42674
|
+
}
|
|
42675
|
+
this.continuationToken = _data["continuationToken"];
|
|
42676
|
+
}
|
|
42677
|
+
}
|
|
42678
|
+
static fromJS(data) {
|
|
42679
|
+
data = typeof data === 'object' ? data : {};
|
|
42680
|
+
let result = new PagedResultOfMeasurementFormListDto();
|
|
42681
|
+
result.init(data);
|
|
42682
|
+
return result;
|
|
42683
|
+
}
|
|
42684
|
+
toJSON(data) {
|
|
42685
|
+
data = typeof data === 'object' ? data : {};
|
|
42686
|
+
if (Array.isArray(this.results)) {
|
|
42687
|
+
data["results"] = [];
|
|
42688
|
+
for (let item of this.results)
|
|
42689
|
+
data["results"].push(item ? item.toJSON() : undefined);
|
|
42690
|
+
}
|
|
42691
|
+
data["continuationToken"] = this.continuationToken;
|
|
42692
|
+
return data;
|
|
42693
|
+
}
|
|
42694
|
+
}
|
|
42695
|
+
export class MeasurementFormListDto {
|
|
42696
|
+
constructor(data) {
|
|
42697
|
+
if (data) {
|
|
42698
|
+
for (var property in data) {
|
|
42699
|
+
if (data.hasOwnProperty(property))
|
|
42700
|
+
this[property] = data[property];
|
|
42701
|
+
}
|
|
42702
|
+
}
|
|
42703
|
+
}
|
|
42704
|
+
init(_data) {
|
|
42705
|
+
if (_data) {
|
|
42706
|
+
this.id = _data["id"];
|
|
42707
|
+
this.schemaId = _data["schemaId"];
|
|
42708
|
+
this.versionId = _data["versionId"];
|
|
42709
|
+
this.customerId = _data["customerId"];
|
|
42710
|
+
this.customerName = _data["customerName"];
|
|
42711
|
+
this.partNumber = _data["partNumber"];
|
|
42712
|
+
this.partRevision = _data["partRevision"];
|
|
42713
|
+
this.partName = _data["partName"];
|
|
42714
|
+
this.drawing = _data["drawing"];
|
|
42715
|
+
this.drawingRevision = _data["drawingRevision"];
|
|
42716
|
+
this.createdBy = _data["createdBy"];
|
|
42717
|
+
this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
|
|
42718
|
+
this.status = _data["status"];
|
|
42719
|
+
this.source = _data["source"];
|
|
42720
|
+
}
|
|
42721
|
+
}
|
|
42722
|
+
static fromJS(data) {
|
|
42723
|
+
data = typeof data === 'object' ? data : {};
|
|
42724
|
+
let result = new MeasurementFormListDto();
|
|
42725
|
+
result.init(data);
|
|
42726
|
+
return result;
|
|
42727
|
+
}
|
|
42728
|
+
toJSON(data) {
|
|
42729
|
+
data = typeof data === 'object' ? data : {};
|
|
42730
|
+
data["id"] = this.id;
|
|
42731
|
+
data["schemaId"] = this.schemaId;
|
|
42732
|
+
data["versionId"] = this.versionId;
|
|
42733
|
+
data["customerId"] = this.customerId;
|
|
42734
|
+
data["customerName"] = this.customerName;
|
|
42735
|
+
data["partNumber"] = this.partNumber;
|
|
42736
|
+
data["partRevision"] = this.partRevision;
|
|
42737
|
+
data["partName"] = this.partName;
|
|
42738
|
+
data["drawing"] = this.drawing;
|
|
42739
|
+
data["drawingRevision"] = this.drawingRevision;
|
|
42740
|
+
data["createdBy"] = this.createdBy;
|
|
42741
|
+
data["created"] = this.created ? this.created.toISOString() : undefined;
|
|
42742
|
+
data["status"] = this.status;
|
|
42743
|
+
data["source"] = this.source;
|
|
42744
|
+
return data;
|
|
42745
|
+
}
|
|
42746
|
+
}
|
|
42747
|
+
export class ListMeasurementFormSchemasRequest {
|
|
42748
|
+
constructor(data) {
|
|
42749
|
+
if (data) {
|
|
42750
|
+
for (var property in data) {
|
|
42751
|
+
if (data.hasOwnProperty(property))
|
|
42752
|
+
this[property] = data[property];
|
|
42753
|
+
}
|
|
42754
|
+
}
|
|
42755
|
+
}
|
|
42756
|
+
init(_data) {
|
|
42757
|
+
if (_data) {
|
|
42758
|
+
this.pageSize = _data["pageSize"];
|
|
42759
|
+
this.customerId = _data["customerId"];
|
|
42760
|
+
this.customerName = _data["customerName"];
|
|
42761
|
+
this.partName = _data["partName"];
|
|
42762
|
+
this.partNumber = _data["partNumber"];
|
|
42763
|
+
this.partRevision = _data["partRevision"];
|
|
42764
|
+
this.drawing = _data["drawing"];
|
|
42765
|
+
this.drawingRevision = _data["drawingRevision"];
|
|
42766
|
+
this.filter = _data["filter"];
|
|
42767
|
+
this.continuationToken = _data["continuationToken"];
|
|
42768
|
+
}
|
|
42769
|
+
}
|
|
42770
|
+
static fromJS(data) {
|
|
42771
|
+
data = typeof data === 'object' ? data : {};
|
|
42772
|
+
let result = new ListMeasurementFormSchemasRequest();
|
|
42773
|
+
result.init(data);
|
|
42774
|
+
return result;
|
|
42775
|
+
}
|
|
42776
|
+
toJSON(data) {
|
|
42777
|
+
data = typeof data === 'object' ? data : {};
|
|
42778
|
+
data["pageSize"] = this.pageSize;
|
|
42779
|
+
data["customerId"] = this.customerId;
|
|
42780
|
+
data["customerName"] = this.customerName;
|
|
42781
|
+
data["partName"] = this.partName;
|
|
42782
|
+
data["partNumber"] = this.partNumber;
|
|
42783
|
+
data["partRevision"] = this.partRevision;
|
|
42784
|
+
data["drawing"] = this.drawing;
|
|
42785
|
+
data["drawingRevision"] = this.drawingRevision;
|
|
42786
|
+
data["filter"] = this.filter;
|
|
42787
|
+
data["continuationToken"] = this.continuationToken;
|
|
42788
|
+
return data;
|
|
42789
|
+
}
|
|
42790
|
+
}
|
|
42782
42791
|
export class MeasurementFormSchemaDto {
|
|
42783
42792
|
constructor(data) {
|
|
42784
42793
|
if (data) {
|
|
@@ -43570,97 +43579,6 @@ export class MeasurementFormImportStatusDto {
|
|
|
43570
43579
|
return data;
|
|
43571
43580
|
}
|
|
43572
43581
|
}
|
|
43573
|
-
export class PagedResultOfMeasurementFormListDto {
|
|
43574
|
-
constructor(data) {
|
|
43575
|
-
if (data) {
|
|
43576
|
-
for (var property in data) {
|
|
43577
|
-
if (data.hasOwnProperty(property))
|
|
43578
|
-
this[property] = data[property];
|
|
43579
|
-
}
|
|
43580
|
-
}
|
|
43581
|
-
if (!data) {
|
|
43582
|
-
this.results = [];
|
|
43583
|
-
}
|
|
43584
|
-
}
|
|
43585
|
-
init(_data) {
|
|
43586
|
-
if (_data) {
|
|
43587
|
-
if (Array.isArray(_data["results"])) {
|
|
43588
|
-
this.results = [];
|
|
43589
|
-
for (let item of _data["results"])
|
|
43590
|
-
this.results.push(MeasurementFormListDto.fromJS(item));
|
|
43591
|
-
}
|
|
43592
|
-
this.continuationToken = _data["continuationToken"];
|
|
43593
|
-
}
|
|
43594
|
-
}
|
|
43595
|
-
static fromJS(data) {
|
|
43596
|
-
data = typeof data === 'object' ? data : {};
|
|
43597
|
-
let result = new PagedResultOfMeasurementFormListDto();
|
|
43598
|
-
result.init(data);
|
|
43599
|
-
return result;
|
|
43600
|
-
}
|
|
43601
|
-
toJSON(data) {
|
|
43602
|
-
data = typeof data === 'object' ? data : {};
|
|
43603
|
-
if (Array.isArray(this.results)) {
|
|
43604
|
-
data["results"] = [];
|
|
43605
|
-
for (let item of this.results)
|
|
43606
|
-
data["results"].push(item ? item.toJSON() : undefined);
|
|
43607
|
-
}
|
|
43608
|
-
data["continuationToken"] = this.continuationToken;
|
|
43609
|
-
return data;
|
|
43610
|
-
}
|
|
43611
|
-
}
|
|
43612
|
-
export class MeasurementFormListDto {
|
|
43613
|
-
constructor(data) {
|
|
43614
|
-
if (data) {
|
|
43615
|
-
for (var property in data) {
|
|
43616
|
-
if (data.hasOwnProperty(property))
|
|
43617
|
-
this[property] = data[property];
|
|
43618
|
-
}
|
|
43619
|
-
}
|
|
43620
|
-
}
|
|
43621
|
-
init(_data) {
|
|
43622
|
-
if (_data) {
|
|
43623
|
-
this.id = _data["id"];
|
|
43624
|
-
this.schemaId = _data["schemaId"];
|
|
43625
|
-
this.versionId = _data["versionId"];
|
|
43626
|
-
this.customerId = _data["customerId"];
|
|
43627
|
-
this.customerName = _data["customerName"];
|
|
43628
|
-
this.partNumber = _data["partNumber"];
|
|
43629
|
-
this.partRevision = _data["partRevision"];
|
|
43630
|
-
this.partName = _data["partName"];
|
|
43631
|
-
this.drawing = _data["drawing"];
|
|
43632
|
-
this.drawingRevision = _data["drawingRevision"];
|
|
43633
|
-
this.createdBy = _data["createdBy"];
|
|
43634
|
-
this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
|
|
43635
|
-
this.status = _data["status"];
|
|
43636
|
-
this.source = _data["source"];
|
|
43637
|
-
}
|
|
43638
|
-
}
|
|
43639
|
-
static fromJS(data) {
|
|
43640
|
-
data = typeof data === 'object' ? data : {};
|
|
43641
|
-
let result = new MeasurementFormListDto();
|
|
43642
|
-
result.init(data);
|
|
43643
|
-
return result;
|
|
43644
|
-
}
|
|
43645
|
-
toJSON(data) {
|
|
43646
|
-
data = typeof data === 'object' ? data : {};
|
|
43647
|
-
data["id"] = this.id;
|
|
43648
|
-
data["schemaId"] = this.schemaId;
|
|
43649
|
-
data["versionId"] = this.versionId;
|
|
43650
|
-
data["customerId"] = this.customerId;
|
|
43651
|
-
data["customerName"] = this.customerName;
|
|
43652
|
-
data["partNumber"] = this.partNumber;
|
|
43653
|
-
data["partRevision"] = this.partRevision;
|
|
43654
|
-
data["partName"] = this.partName;
|
|
43655
|
-
data["drawing"] = this.drawing;
|
|
43656
|
-
data["drawingRevision"] = this.drawingRevision;
|
|
43657
|
-
data["createdBy"] = this.createdBy;
|
|
43658
|
-
data["created"] = this.created ? this.created.toISOString() : undefined;
|
|
43659
|
-
data["status"] = this.status;
|
|
43660
|
-
data["source"] = this.source;
|
|
43661
|
-
return data;
|
|
43662
|
-
}
|
|
43663
|
-
}
|
|
43664
43582
|
export class ListLinkableMeasurementFormSchemasRequest {
|
|
43665
43583
|
constructor(data) {
|
|
43666
43584
|
if (data) {
|
|
@@ -44787,50 +44705,6 @@ export class ListMeasurementFormSchemasWithHistoryRequest {
|
|
|
44787
44705
|
return data;
|
|
44788
44706
|
}
|
|
44789
44707
|
}
|
|
44790
|
-
export class ListMeasurementFormSchemasRequest {
|
|
44791
|
-
constructor(data) {
|
|
44792
|
-
if (data) {
|
|
44793
|
-
for (var property in data) {
|
|
44794
|
-
if (data.hasOwnProperty(property))
|
|
44795
|
-
this[property] = data[property];
|
|
44796
|
-
}
|
|
44797
|
-
}
|
|
44798
|
-
}
|
|
44799
|
-
init(_data) {
|
|
44800
|
-
if (_data) {
|
|
44801
|
-
this.pageSize = _data["pageSize"];
|
|
44802
|
-
this.customerId = _data["customerId"];
|
|
44803
|
-
this.customerName = _data["customerName"];
|
|
44804
|
-
this.partName = _data["partName"];
|
|
44805
|
-
this.partNumber = _data["partNumber"];
|
|
44806
|
-
this.partRevision = _data["partRevision"];
|
|
44807
|
-
this.drawing = _data["drawing"];
|
|
44808
|
-
this.drawingRevision = _data["drawingRevision"];
|
|
44809
|
-
this.filter = _data["filter"];
|
|
44810
|
-
this.continuationToken = _data["continuationToken"];
|
|
44811
|
-
}
|
|
44812
|
-
}
|
|
44813
|
-
static fromJS(data) {
|
|
44814
|
-
data = typeof data === 'object' ? data : {};
|
|
44815
|
-
let result = new ListMeasurementFormSchemasRequest();
|
|
44816
|
-
result.init(data);
|
|
44817
|
-
return result;
|
|
44818
|
-
}
|
|
44819
|
-
toJSON(data) {
|
|
44820
|
-
data = typeof data === 'object' ? data : {};
|
|
44821
|
-
data["pageSize"] = this.pageSize;
|
|
44822
|
-
data["customerId"] = this.customerId;
|
|
44823
|
-
data["customerName"] = this.customerName;
|
|
44824
|
-
data["partName"] = this.partName;
|
|
44825
|
-
data["partNumber"] = this.partNumber;
|
|
44826
|
-
data["partRevision"] = this.partRevision;
|
|
44827
|
-
data["drawing"] = this.drawing;
|
|
44828
|
-
data["drawingRevision"] = this.drawingRevision;
|
|
44829
|
-
data["filter"] = this.filter;
|
|
44830
|
-
data["continuationToken"] = this.continuationToken;
|
|
44831
|
-
return data;
|
|
44832
|
-
}
|
|
44833
|
-
}
|
|
44834
44708
|
export class PagedResultOfMeasurementFormInstanceOverviewDto {
|
|
44835
44709
|
constructor(data) {
|
|
44836
44710
|
if (data) {
|