@ignos/api-client 20251103.0.13097 → 20251105.0.13136-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 +115 -92
- package/lib/ignosportal-api.js +463 -415
- package/package.json +1 -1
- package/src/ignosportal-api.ts +437 -370
package/lib/ignosportal-api.js
CHANGED
|
@@ -1582,6 +1582,79 @@ 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
|
+
}
|
|
1585
1658
|
}
|
|
1586
1659
|
export class UploadClient extends AuthorizedApiBase {
|
|
1587
1660
|
constructor(configuration, baseUrl, http) {
|
|
@@ -17815,37 +17888,18 @@ export class WeldingClient extends AuthorizedApiBase {
|
|
|
17815
17888
|
return Promise.resolve(null);
|
|
17816
17889
|
}
|
|
17817
17890
|
}
|
|
17818
|
-
export class
|
|
17891
|
+
export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
17819
17892
|
constructor(configuration, baseUrl, http) {
|
|
17820
17893
|
super(configuration);
|
|
17821
17894
|
this.jsonParseReviver = undefined;
|
|
17822
17895
|
this.http = http ? http : window;
|
|
17823
17896
|
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
17824
17897
|
}
|
|
17825
|
-
|
|
17826
|
-
let url_ = this.baseUrl + "/measurementforms/schemas
|
|
17827
|
-
if (
|
|
17828
|
-
throw new globalThis.Error("The parameter '
|
|
17829
|
-
|
|
17830
|
-
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
17831
|
-
if (customerId !== undefined && customerId !== null)
|
|
17832
|
-
url_ += "customerId=" + encodeURIComponent("" + customerId) + "&";
|
|
17833
|
-
if (customerName !== undefined && customerName !== null)
|
|
17834
|
-
url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
|
|
17835
|
-
if (partNumber !== undefined && partNumber !== null)
|
|
17836
|
-
url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
|
|
17837
|
-
if (partName !== undefined && partName !== null)
|
|
17838
|
-
url_ += "partName=" + encodeURIComponent("" + partName) + "&";
|
|
17839
|
-
if (partRevision !== undefined && partRevision !== null)
|
|
17840
|
-
url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
|
|
17841
|
-
if (drawing !== undefined && drawing !== null)
|
|
17842
|
-
url_ += "drawing=" + encodeURIComponent("" + drawing) + "&";
|
|
17843
|
-
if (drawingRevision !== undefined && drawingRevision !== null)
|
|
17844
|
-
url_ += "drawingRevision=" + encodeURIComponent("" + drawingRevision) + "&";
|
|
17845
|
-
if (filter !== undefined && filter !== null)
|
|
17846
|
-
url_ += "filter=" + encodeURIComponent("" + filter) + "&";
|
|
17847
|
-
if (continuationToken !== undefined && continuationToken !== null)
|
|
17848
|
-
url_ += "continuationToken=" + encodeURIComponent("" + continuationToken) + "&";
|
|
17898
|
+
getArchivedMeasurementFormSchema(id) {
|
|
17899
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/archived/{id}";
|
|
17900
|
+
if (id === undefined || id === null)
|
|
17901
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
17902
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
17849
17903
|
url_ = url_.replace(/[?&]$/, "");
|
|
17850
17904
|
let options_ = {
|
|
17851
17905
|
method: "GET",
|
|
@@ -17856,10 +17910,10 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
17856
17910
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
17857
17911
|
return this.http.fetch(url_, transformedOptions_);
|
|
17858
17912
|
}).then((_response) => {
|
|
17859
|
-
return this.
|
|
17913
|
+
return this.processGetArchivedMeasurementFormSchema(_response);
|
|
17860
17914
|
});
|
|
17861
17915
|
}
|
|
17862
|
-
|
|
17916
|
+
processGetArchivedMeasurementFormSchema(response) {
|
|
17863
17917
|
const status = response.status;
|
|
17864
17918
|
let _headers = {};
|
|
17865
17919
|
if (response.headers && response.headers.forEach) {
|
|
@@ -17870,7 +17924,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
17870
17924
|
return response.text().then((_responseText) => {
|
|
17871
17925
|
let result200 = null;
|
|
17872
17926
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17873
|
-
result200 =
|
|
17927
|
+
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
17874
17928
|
return result200;
|
|
17875
17929
|
});
|
|
17876
17930
|
}
|
|
@@ -17921,13 +17975,16 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
17921
17975
|
}
|
|
17922
17976
|
return Promise.resolve(null);
|
|
17923
17977
|
}
|
|
17924
|
-
|
|
17925
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/
|
|
17978
|
+
updateMeasurementFormSchema(id, request) {
|
|
17979
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}";
|
|
17980
|
+
if (id === undefined || id === null)
|
|
17981
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
17982
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
17926
17983
|
url_ = url_.replace(/[?&]$/, "");
|
|
17927
17984
|
const content_ = JSON.stringify(request);
|
|
17928
17985
|
let options_ = {
|
|
17929
17986
|
body: content_,
|
|
17930
|
-
method: "
|
|
17987
|
+
method: "PUT",
|
|
17931
17988
|
headers: {
|
|
17932
17989
|
"Content-Type": "application/json",
|
|
17933
17990
|
"Accept": "application/json"
|
|
@@ -17936,10 +17993,10 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
17936
17993
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
17937
17994
|
return this.http.fetch(url_, transformedOptions_);
|
|
17938
17995
|
}).then((_response) => {
|
|
17939
|
-
return this.
|
|
17996
|
+
return this.processUpdateMeasurementFormSchema(_response);
|
|
17940
17997
|
});
|
|
17941
17998
|
}
|
|
17942
|
-
|
|
17999
|
+
processUpdateMeasurementFormSchema(response) {
|
|
17943
18000
|
const status = response.status;
|
|
17944
18001
|
let _headers = {};
|
|
17945
18002
|
if (response.headers && response.headers.forEach) {
|
|
@@ -17950,7 +18007,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
17950
18007
|
return response.text().then((_responseText) => {
|
|
17951
18008
|
let result200 = null;
|
|
17952
18009
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17953
|
-
result200 =
|
|
18010
|
+
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
17954
18011
|
return result200;
|
|
17955
18012
|
});
|
|
17956
18013
|
}
|
|
@@ -17961,25 +18018,106 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
17961
18018
|
}
|
|
17962
18019
|
return Promise.resolve(null);
|
|
17963
18020
|
}
|
|
17964
|
-
|
|
18021
|
+
deleteMeasurementForm(id) {
|
|
17965
18022
|
let url_ = this.baseUrl + "/measurementforms/schemas/{id}";
|
|
17966
18023
|
if (id === undefined || id === null)
|
|
17967
18024
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
17968
18025
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
17969
18026
|
url_ = url_.replace(/[?&]$/, "");
|
|
17970
18027
|
let options_ = {
|
|
17971
|
-
method: "
|
|
18028
|
+
method: "DELETE",
|
|
18029
|
+
headers: {}
|
|
18030
|
+
};
|
|
18031
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18032
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
18033
|
+
}).then((_response) => {
|
|
18034
|
+
return this.processDeleteMeasurementForm(_response);
|
|
18035
|
+
});
|
|
18036
|
+
}
|
|
18037
|
+
processDeleteMeasurementForm(response) {
|
|
18038
|
+
const status = response.status;
|
|
18039
|
+
let _headers = {};
|
|
18040
|
+
if (response.headers && response.headers.forEach) {
|
|
18041
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
18042
|
+
}
|
|
18043
|
+
;
|
|
18044
|
+
if (status === 204) {
|
|
18045
|
+
return response.text().then((_responseText) => {
|
|
18046
|
+
return;
|
|
18047
|
+
});
|
|
18048
|
+
}
|
|
18049
|
+
else if (status !== 200 && status !== 204) {
|
|
18050
|
+
return response.text().then((_responseText) => {
|
|
18051
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18052
|
+
});
|
|
18053
|
+
}
|
|
18054
|
+
return Promise.resolve(null);
|
|
18055
|
+
}
|
|
18056
|
+
copyMeasurementFormSchema(id, request) {
|
|
18057
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/copy";
|
|
18058
|
+
if (id === undefined || id === null)
|
|
18059
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18060
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18061
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
18062
|
+
const content_ = JSON.stringify(request);
|
|
18063
|
+
let options_ = {
|
|
18064
|
+
body: content_,
|
|
18065
|
+
method: "POST",
|
|
17972
18066
|
headers: {
|
|
18067
|
+
"Content-Type": "application/json",
|
|
17973
18068
|
"Accept": "application/json"
|
|
17974
18069
|
}
|
|
17975
18070
|
};
|
|
17976
18071
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
17977
18072
|
return this.http.fetch(url_, transformedOptions_);
|
|
17978
18073
|
}).then((_response) => {
|
|
17979
|
-
return this.
|
|
18074
|
+
return this.processCopyMeasurementFormSchema(_response);
|
|
17980
18075
|
});
|
|
17981
18076
|
}
|
|
17982
|
-
|
|
18077
|
+
processCopyMeasurementFormSchema(response) {
|
|
18078
|
+
const status = response.status;
|
|
18079
|
+
let _headers = {};
|
|
18080
|
+
if (response.headers && response.headers.forEach) {
|
|
18081
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
18082
|
+
}
|
|
18083
|
+
;
|
|
18084
|
+
if (status === 200) {
|
|
18085
|
+
return response.text().then((_responseText) => {
|
|
18086
|
+
let result200 = null;
|
|
18087
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18088
|
+
result200 = MeasurementFormDto.fromJS(resultData200);
|
|
18089
|
+
return result200;
|
|
18090
|
+
});
|
|
18091
|
+
}
|
|
18092
|
+
else if (status !== 200 && status !== 204) {
|
|
18093
|
+
return response.text().then((_responseText) => {
|
|
18094
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18095
|
+
});
|
|
18096
|
+
}
|
|
18097
|
+
return Promise.resolve(null);
|
|
18098
|
+
}
|
|
18099
|
+
updateSchemaGroupedElements(id, request) {
|
|
18100
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/groupedelements";
|
|
18101
|
+
if (id === undefined || id === null)
|
|
18102
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18103
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18104
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
18105
|
+
const content_ = JSON.stringify(request);
|
|
18106
|
+
let options_ = {
|
|
18107
|
+
body: content_,
|
|
18108
|
+
method: "PUT",
|
|
18109
|
+
headers: {
|
|
18110
|
+
"Content-Type": "application/json",
|
|
18111
|
+
"Accept": "application/json"
|
|
18112
|
+
}
|
|
18113
|
+
};
|
|
18114
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18115
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
18116
|
+
}).then((_response) => {
|
|
18117
|
+
return this.processUpdateSchemaGroupedElements(_response);
|
|
18118
|
+
});
|
|
18119
|
+
}
|
|
18120
|
+
processUpdateSchemaGroupedElements(response) {
|
|
17983
18121
|
const status = response.status;
|
|
17984
18122
|
let _headers = {};
|
|
17985
18123
|
if (response.headers && response.headers.forEach) {
|
|
@@ -18001,8 +18139,8 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18001
18139
|
}
|
|
18002
18140
|
return Promise.resolve(null);
|
|
18003
18141
|
}
|
|
18004
|
-
|
|
18005
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}";
|
|
18142
|
+
updateSchemaRow(id, request) {
|
|
18143
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/updaterow";
|
|
18006
18144
|
if (id === undefined || id === null)
|
|
18007
18145
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18008
18146
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
@@ -18019,10 +18157,10 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18019
18157
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18020
18158
|
return this.http.fetch(url_, transformedOptions_);
|
|
18021
18159
|
}).then((_response) => {
|
|
18022
|
-
return this.
|
|
18160
|
+
return this.processUpdateSchemaRow(_response);
|
|
18023
18161
|
});
|
|
18024
18162
|
}
|
|
18025
|
-
|
|
18163
|
+
processUpdateSchemaRow(response) {
|
|
18026
18164
|
const status = response.status;
|
|
18027
18165
|
let _headers = {};
|
|
18028
18166
|
if (response.headers && response.headers.forEach) {
|
|
@@ -18044,32 +18182,40 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18044
18182
|
}
|
|
18045
18183
|
return Promise.resolve(null);
|
|
18046
18184
|
}
|
|
18047
|
-
|
|
18048
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}";
|
|
18185
|
+
deleteSchemaRows(id, request) {
|
|
18186
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/deleterows";
|
|
18049
18187
|
if (id === undefined || id === null)
|
|
18050
18188
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18051
18189
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18052
18190
|
url_ = url_.replace(/[?&]$/, "");
|
|
18191
|
+
const content_ = JSON.stringify(request);
|
|
18053
18192
|
let options_ = {
|
|
18193
|
+
body: content_,
|
|
18054
18194
|
method: "DELETE",
|
|
18055
|
-
headers: {
|
|
18195
|
+
headers: {
|
|
18196
|
+
"Content-Type": "application/json",
|
|
18197
|
+
"Accept": "application/json"
|
|
18198
|
+
}
|
|
18056
18199
|
};
|
|
18057
18200
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18058
18201
|
return this.http.fetch(url_, transformedOptions_);
|
|
18059
18202
|
}).then((_response) => {
|
|
18060
|
-
return this.
|
|
18203
|
+
return this.processDeleteSchemaRows(_response);
|
|
18061
18204
|
});
|
|
18062
18205
|
}
|
|
18063
|
-
|
|
18206
|
+
processDeleteSchemaRows(response) {
|
|
18064
18207
|
const status = response.status;
|
|
18065
18208
|
let _headers = {};
|
|
18066
18209
|
if (response.headers && response.headers.forEach) {
|
|
18067
18210
|
response.headers.forEach((v, k) => _headers[k] = v);
|
|
18068
18211
|
}
|
|
18069
18212
|
;
|
|
18070
|
-
if (status ===
|
|
18213
|
+
if (status === 200) {
|
|
18071
18214
|
return response.text().then((_responseText) => {
|
|
18072
|
-
|
|
18215
|
+
let result200 = null;
|
|
18216
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18217
|
+
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
18218
|
+
return result200;
|
|
18073
18219
|
});
|
|
18074
18220
|
}
|
|
18075
18221
|
else if (status !== 200 && status !== 204) {
|
|
@@ -18079,25 +18225,28 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18079
18225
|
}
|
|
18080
18226
|
return Promise.resolve(null);
|
|
18081
18227
|
}
|
|
18082
|
-
|
|
18083
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/
|
|
18228
|
+
uploadMeasurementImage(id, request) {
|
|
18229
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploadmeasurementimage";
|
|
18084
18230
|
if (id === undefined || id === null)
|
|
18085
18231
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18086
18232
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18087
18233
|
url_ = url_.replace(/[?&]$/, "");
|
|
18234
|
+
const content_ = JSON.stringify(request);
|
|
18088
18235
|
let options_ = {
|
|
18089
|
-
|
|
18236
|
+
body: content_,
|
|
18237
|
+
method: "PUT",
|
|
18090
18238
|
headers: {
|
|
18239
|
+
"Content-Type": "application/json",
|
|
18091
18240
|
"Accept": "application/json"
|
|
18092
18241
|
}
|
|
18093
18242
|
};
|
|
18094
18243
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18095
18244
|
return this.http.fetch(url_, transformedOptions_);
|
|
18096
18245
|
}).then((_response) => {
|
|
18097
|
-
return this.
|
|
18246
|
+
return this.processUploadMeasurementImage(_response);
|
|
18098
18247
|
});
|
|
18099
18248
|
}
|
|
18100
|
-
|
|
18249
|
+
processUploadMeasurementImage(response) {
|
|
18101
18250
|
const status = response.status;
|
|
18102
18251
|
let _headers = {};
|
|
18103
18252
|
if (response.headers && response.headers.forEach) {
|
|
@@ -18119,8 +18268,8 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18119
18268
|
}
|
|
18120
18269
|
return Promise.resolve(null);
|
|
18121
18270
|
}
|
|
18122
|
-
|
|
18123
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/
|
|
18271
|
+
updateSchemaSettings(id, request) {
|
|
18272
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/schemasettings";
|
|
18124
18273
|
if (id === undefined || id === null)
|
|
18125
18274
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18126
18275
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
@@ -18128,7 +18277,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18128
18277
|
const content_ = JSON.stringify(request);
|
|
18129
18278
|
let options_ = {
|
|
18130
18279
|
body: content_,
|
|
18131
|
-
method: "
|
|
18280
|
+
method: "PUT",
|
|
18132
18281
|
headers: {
|
|
18133
18282
|
"Content-Type": "application/json",
|
|
18134
18283
|
"Accept": "application/json"
|
|
@@ -18137,10 +18286,10 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18137
18286
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18138
18287
|
return this.http.fetch(url_, transformedOptions_);
|
|
18139
18288
|
}).then((_response) => {
|
|
18140
|
-
return this.
|
|
18289
|
+
return this.processUpdateSchemaSettings(_response);
|
|
18141
18290
|
});
|
|
18142
18291
|
}
|
|
18143
|
-
|
|
18292
|
+
processUpdateSchemaSettings(response) {
|
|
18144
18293
|
const status = response.status;
|
|
18145
18294
|
let _headers = {};
|
|
18146
18295
|
if (response.headers && response.headers.forEach) {
|
|
@@ -18151,7 +18300,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18151
18300
|
return response.text().then((_responseText) => {
|
|
18152
18301
|
let result200 = null;
|
|
18153
18302
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18154
|
-
result200 =
|
|
18303
|
+
result200 = UpdateSchemaSettingsRequest.fromJS(resultData200);
|
|
18155
18304
|
return result200;
|
|
18156
18305
|
});
|
|
18157
18306
|
}
|
|
@@ -18162,8 +18311,8 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18162
18311
|
}
|
|
18163
18312
|
return Promise.resolve(null);
|
|
18164
18313
|
}
|
|
18165
|
-
|
|
18166
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/
|
|
18314
|
+
uploadSchemaDrawing(id, request) {
|
|
18315
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploaddrawing";
|
|
18167
18316
|
if (id === undefined || id === null)
|
|
18168
18317
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18169
18318
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
@@ -18171,7 +18320,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18171
18320
|
const content_ = JSON.stringify(request);
|
|
18172
18321
|
let options_ = {
|
|
18173
18322
|
body: content_,
|
|
18174
|
-
method: "
|
|
18323
|
+
method: "POST",
|
|
18175
18324
|
headers: {
|
|
18176
18325
|
"Content-Type": "application/json",
|
|
18177
18326
|
"Accept": "application/json"
|
|
@@ -18180,225 +18329,10 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18180
18329
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18181
18330
|
return this.http.fetch(url_, transformedOptions_);
|
|
18182
18331
|
}).then((_response) => {
|
|
18183
|
-
return this.
|
|
18332
|
+
return this.processUploadSchemaDrawing(_response);
|
|
18184
18333
|
});
|
|
18185
18334
|
}
|
|
18186
|
-
|
|
18187
|
-
const status = response.status;
|
|
18188
|
-
let _headers = {};
|
|
18189
|
-
if (response.headers && response.headers.forEach) {
|
|
18190
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
18191
|
-
}
|
|
18192
|
-
;
|
|
18193
|
-
if (status === 200) {
|
|
18194
|
-
return response.text().then((_responseText) => {
|
|
18195
|
-
let result200 = null;
|
|
18196
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18197
|
-
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
18198
|
-
return result200;
|
|
18199
|
-
});
|
|
18200
|
-
}
|
|
18201
|
-
else if (status !== 200 && status !== 204) {
|
|
18202
|
-
return response.text().then((_responseText) => {
|
|
18203
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18204
|
-
});
|
|
18205
|
-
}
|
|
18206
|
-
return Promise.resolve(null);
|
|
18207
|
-
}
|
|
18208
|
-
updateSchemaRow(id, request) {
|
|
18209
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/updaterow";
|
|
18210
|
-
if (id === undefined || id === null)
|
|
18211
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18212
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18213
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18214
|
-
const content_ = JSON.stringify(request);
|
|
18215
|
-
let options_ = {
|
|
18216
|
-
body: content_,
|
|
18217
|
-
method: "PUT",
|
|
18218
|
-
headers: {
|
|
18219
|
-
"Content-Type": "application/json",
|
|
18220
|
-
"Accept": "application/json"
|
|
18221
|
-
}
|
|
18222
|
-
};
|
|
18223
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18224
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18225
|
-
}).then((_response) => {
|
|
18226
|
-
return this.processUpdateSchemaRow(_response);
|
|
18227
|
-
});
|
|
18228
|
-
}
|
|
18229
|
-
processUpdateSchemaRow(response) {
|
|
18230
|
-
const status = response.status;
|
|
18231
|
-
let _headers = {};
|
|
18232
|
-
if (response.headers && response.headers.forEach) {
|
|
18233
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
18234
|
-
}
|
|
18235
|
-
;
|
|
18236
|
-
if (status === 200) {
|
|
18237
|
-
return response.text().then((_responseText) => {
|
|
18238
|
-
let result200 = null;
|
|
18239
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18240
|
-
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
18241
|
-
return result200;
|
|
18242
|
-
});
|
|
18243
|
-
}
|
|
18244
|
-
else if (status !== 200 && status !== 204) {
|
|
18245
|
-
return response.text().then((_responseText) => {
|
|
18246
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18247
|
-
});
|
|
18248
|
-
}
|
|
18249
|
-
return Promise.resolve(null);
|
|
18250
|
-
}
|
|
18251
|
-
deleteSchemaRows(id, request) {
|
|
18252
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/deleterows";
|
|
18253
|
-
if (id === undefined || id === null)
|
|
18254
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18255
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18256
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18257
|
-
const content_ = JSON.stringify(request);
|
|
18258
|
-
let options_ = {
|
|
18259
|
-
body: content_,
|
|
18260
|
-
method: "DELETE",
|
|
18261
|
-
headers: {
|
|
18262
|
-
"Content-Type": "application/json",
|
|
18263
|
-
"Accept": "application/json"
|
|
18264
|
-
}
|
|
18265
|
-
};
|
|
18266
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18267
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18268
|
-
}).then((_response) => {
|
|
18269
|
-
return this.processDeleteSchemaRows(_response);
|
|
18270
|
-
});
|
|
18271
|
-
}
|
|
18272
|
-
processDeleteSchemaRows(response) {
|
|
18273
|
-
const status = response.status;
|
|
18274
|
-
let _headers = {};
|
|
18275
|
-
if (response.headers && response.headers.forEach) {
|
|
18276
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
18277
|
-
}
|
|
18278
|
-
;
|
|
18279
|
-
if (status === 200) {
|
|
18280
|
-
return response.text().then((_responseText) => {
|
|
18281
|
-
let result200 = null;
|
|
18282
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18283
|
-
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
18284
|
-
return result200;
|
|
18285
|
-
});
|
|
18286
|
-
}
|
|
18287
|
-
else if (status !== 200 && status !== 204) {
|
|
18288
|
-
return response.text().then((_responseText) => {
|
|
18289
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18290
|
-
});
|
|
18291
|
-
}
|
|
18292
|
-
return Promise.resolve(null);
|
|
18293
|
-
}
|
|
18294
|
-
uploadMeasurementImage(id, request) {
|
|
18295
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploadmeasurementimage";
|
|
18296
|
-
if (id === undefined || id === null)
|
|
18297
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18298
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18299
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18300
|
-
const content_ = JSON.stringify(request);
|
|
18301
|
-
let options_ = {
|
|
18302
|
-
body: content_,
|
|
18303
|
-
method: "PUT",
|
|
18304
|
-
headers: {
|
|
18305
|
-
"Content-Type": "application/json",
|
|
18306
|
-
"Accept": "application/json"
|
|
18307
|
-
}
|
|
18308
|
-
};
|
|
18309
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18310
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18311
|
-
}).then((_response) => {
|
|
18312
|
-
return this.processUploadMeasurementImage(_response);
|
|
18313
|
-
});
|
|
18314
|
-
}
|
|
18315
|
-
processUploadMeasurementImage(response) {
|
|
18316
|
-
const status = response.status;
|
|
18317
|
-
let _headers = {};
|
|
18318
|
-
if (response.headers && response.headers.forEach) {
|
|
18319
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
18320
|
-
}
|
|
18321
|
-
;
|
|
18322
|
-
if (status === 200) {
|
|
18323
|
-
return response.text().then((_responseText) => {
|
|
18324
|
-
let result200 = null;
|
|
18325
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18326
|
-
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
18327
|
-
return result200;
|
|
18328
|
-
});
|
|
18329
|
-
}
|
|
18330
|
-
else if (status !== 200 && status !== 204) {
|
|
18331
|
-
return response.text().then((_responseText) => {
|
|
18332
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18333
|
-
});
|
|
18334
|
-
}
|
|
18335
|
-
return Promise.resolve(null);
|
|
18336
|
-
}
|
|
18337
|
-
updateSchemaSettings(id, request) {
|
|
18338
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/schemasettings";
|
|
18339
|
-
if (id === undefined || id === null)
|
|
18340
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18341
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18342
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18343
|
-
const content_ = JSON.stringify(request);
|
|
18344
|
-
let options_ = {
|
|
18345
|
-
body: content_,
|
|
18346
|
-
method: "PUT",
|
|
18347
|
-
headers: {
|
|
18348
|
-
"Content-Type": "application/json",
|
|
18349
|
-
"Accept": "application/json"
|
|
18350
|
-
}
|
|
18351
|
-
};
|
|
18352
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18353
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18354
|
-
}).then((_response) => {
|
|
18355
|
-
return this.processUpdateSchemaSettings(_response);
|
|
18356
|
-
});
|
|
18357
|
-
}
|
|
18358
|
-
processUpdateSchemaSettings(response) {
|
|
18359
|
-
const status = response.status;
|
|
18360
|
-
let _headers = {};
|
|
18361
|
-
if (response.headers && response.headers.forEach) {
|
|
18362
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
18363
|
-
}
|
|
18364
|
-
;
|
|
18365
|
-
if (status === 200) {
|
|
18366
|
-
return response.text().then((_responseText) => {
|
|
18367
|
-
let result200 = null;
|
|
18368
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18369
|
-
result200 = UpdateSchemaSettingsRequest.fromJS(resultData200);
|
|
18370
|
-
return result200;
|
|
18371
|
-
});
|
|
18372
|
-
}
|
|
18373
|
-
else if (status !== 200 && status !== 204) {
|
|
18374
|
-
return response.text().then((_responseText) => {
|
|
18375
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18376
|
-
});
|
|
18377
|
-
}
|
|
18378
|
-
return Promise.resolve(null);
|
|
18379
|
-
}
|
|
18380
|
-
uploadSchemaDrawing(id, request) {
|
|
18381
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploaddrawing";
|
|
18382
|
-
if (id === undefined || id === null)
|
|
18383
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18384
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18385
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18386
|
-
const content_ = JSON.stringify(request);
|
|
18387
|
-
let options_ = {
|
|
18388
|
-
body: content_,
|
|
18389
|
-
method: "POST",
|
|
18390
|
-
headers: {
|
|
18391
|
-
"Content-Type": "application/json",
|
|
18392
|
-
"Accept": "application/json"
|
|
18393
|
-
}
|
|
18394
|
-
};
|
|
18395
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18396
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18397
|
-
}).then((_response) => {
|
|
18398
|
-
return this.processUploadSchemaDrawing(_response);
|
|
18399
|
-
});
|
|
18400
|
-
}
|
|
18401
|
-
processUploadSchemaDrawing(response) {
|
|
18335
|
+
processUploadSchemaDrawing(response) {
|
|
18402
18336
|
const status = response.status;
|
|
18403
18337
|
let _headers = {};
|
|
18404
18338
|
if (response.headers && response.headers.forEach) {
|
|
@@ -20157,6 +20091,94 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
20157
20091
|
return Promise.resolve(null);
|
|
20158
20092
|
}
|
|
20159
20093
|
}
|
|
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
|
+
}
|
|
20160
20182
|
export class MeasurementFormSettingsClient extends AuthorizedApiBase {
|
|
20161
20183
|
constructor(configuration, baseUrl, http) {
|
|
20162
20184
|
super(configuration);
|
|
@@ -24905,6 +24927,32 @@ export class MoveAppSettings {
|
|
|
24905
24927
|
return data;
|
|
24906
24928
|
}
|
|
24907
24929
|
}
|
|
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
|
+
}
|
|
24908
24956
|
export class UploadInfoDto {
|
|
24909
24957
|
constructor(data) {
|
|
24910
24958
|
if (data) {
|
|
@@ -42731,141 +42779,6 @@ export class CreateWeldingIotConfig {
|
|
|
42731
42779
|
return data;
|
|
42732
42780
|
}
|
|
42733
42781
|
}
|
|
42734
|
-
export class PagedResultOfMeasurementFormListDto {
|
|
42735
|
-
constructor(data) {
|
|
42736
|
-
if (data) {
|
|
42737
|
-
for (var property in data) {
|
|
42738
|
-
if (data.hasOwnProperty(property))
|
|
42739
|
-
this[property] = data[property];
|
|
42740
|
-
}
|
|
42741
|
-
}
|
|
42742
|
-
if (!data) {
|
|
42743
|
-
this.results = [];
|
|
42744
|
-
}
|
|
42745
|
-
}
|
|
42746
|
-
init(_data) {
|
|
42747
|
-
if (_data) {
|
|
42748
|
-
if (Array.isArray(_data["results"])) {
|
|
42749
|
-
this.results = [];
|
|
42750
|
-
for (let item of _data["results"])
|
|
42751
|
-
this.results.push(MeasurementFormListDto.fromJS(item));
|
|
42752
|
-
}
|
|
42753
|
-
this.continuationToken = _data["continuationToken"];
|
|
42754
|
-
}
|
|
42755
|
-
}
|
|
42756
|
-
static fromJS(data) {
|
|
42757
|
-
data = typeof data === 'object' ? data : {};
|
|
42758
|
-
let result = new PagedResultOfMeasurementFormListDto();
|
|
42759
|
-
result.init(data);
|
|
42760
|
-
return result;
|
|
42761
|
-
}
|
|
42762
|
-
toJSON(data) {
|
|
42763
|
-
data = typeof data === 'object' ? data : {};
|
|
42764
|
-
if (Array.isArray(this.results)) {
|
|
42765
|
-
data["results"] = [];
|
|
42766
|
-
for (let item of this.results)
|
|
42767
|
-
data["results"].push(item ? item.toJSON() : undefined);
|
|
42768
|
-
}
|
|
42769
|
-
data["continuationToken"] = this.continuationToken;
|
|
42770
|
-
return data;
|
|
42771
|
-
}
|
|
42772
|
-
}
|
|
42773
|
-
export class MeasurementFormListDto {
|
|
42774
|
-
constructor(data) {
|
|
42775
|
-
if (data) {
|
|
42776
|
-
for (var property in data) {
|
|
42777
|
-
if (data.hasOwnProperty(property))
|
|
42778
|
-
this[property] = data[property];
|
|
42779
|
-
}
|
|
42780
|
-
}
|
|
42781
|
-
}
|
|
42782
|
-
init(_data) {
|
|
42783
|
-
if (_data) {
|
|
42784
|
-
this.id = _data["id"];
|
|
42785
|
-
this.schemaId = _data["schemaId"];
|
|
42786
|
-
this.versionId = _data["versionId"];
|
|
42787
|
-
this.customerId = _data["customerId"];
|
|
42788
|
-
this.customerName = _data["customerName"];
|
|
42789
|
-
this.partNumber = _data["partNumber"];
|
|
42790
|
-
this.partRevision = _data["partRevision"];
|
|
42791
|
-
this.partName = _data["partName"];
|
|
42792
|
-
this.drawing = _data["drawing"];
|
|
42793
|
-
this.drawingRevision = _data["drawingRevision"];
|
|
42794
|
-
this.createdBy = _data["createdBy"];
|
|
42795
|
-
this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
|
|
42796
|
-
this.status = _data["status"];
|
|
42797
|
-
this.source = _data["source"];
|
|
42798
|
-
}
|
|
42799
|
-
}
|
|
42800
|
-
static fromJS(data) {
|
|
42801
|
-
data = typeof data === 'object' ? data : {};
|
|
42802
|
-
let result = new MeasurementFormListDto();
|
|
42803
|
-
result.init(data);
|
|
42804
|
-
return result;
|
|
42805
|
-
}
|
|
42806
|
-
toJSON(data) {
|
|
42807
|
-
data = typeof data === 'object' ? data : {};
|
|
42808
|
-
data["id"] = this.id;
|
|
42809
|
-
data["schemaId"] = this.schemaId;
|
|
42810
|
-
data["versionId"] = this.versionId;
|
|
42811
|
-
data["customerId"] = this.customerId;
|
|
42812
|
-
data["customerName"] = this.customerName;
|
|
42813
|
-
data["partNumber"] = this.partNumber;
|
|
42814
|
-
data["partRevision"] = this.partRevision;
|
|
42815
|
-
data["partName"] = this.partName;
|
|
42816
|
-
data["drawing"] = this.drawing;
|
|
42817
|
-
data["drawingRevision"] = this.drawingRevision;
|
|
42818
|
-
data["createdBy"] = this.createdBy;
|
|
42819
|
-
data["created"] = this.created ? this.created.toISOString() : undefined;
|
|
42820
|
-
data["status"] = this.status;
|
|
42821
|
-
data["source"] = this.source;
|
|
42822
|
-
return data;
|
|
42823
|
-
}
|
|
42824
|
-
}
|
|
42825
|
-
export class ListMeasurementFormSchemasRequest {
|
|
42826
|
-
constructor(data) {
|
|
42827
|
-
if (data) {
|
|
42828
|
-
for (var property in data) {
|
|
42829
|
-
if (data.hasOwnProperty(property))
|
|
42830
|
-
this[property] = data[property];
|
|
42831
|
-
}
|
|
42832
|
-
}
|
|
42833
|
-
}
|
|
42834
|
-
init(_data) {
|
|
42835
|
-
if (_data) {
|
|
42836
|
-
this.pageSize = _data["pageSize"];
|
|
42837
|
-
this.customerId = _data["customerId"];
|
|
42838
|
-
this.customerName = _data["customerName"];
|
|
42839
|
-
this.partName = _data["partName"];
|
|
42840
|
-
this.partNumber = _data["partNumber"];
|
|
42841
|
-
this.partRevision = _data["partRevision"];
|
|
42842
|
-
this.drawing = _data["drawing"];
|
|
42843
|
-
this.drawingRevision = _data["drawingRevision"];
|
|
42844
|
-
this.filter = _data["filter"];
|
|
42845
|
-
this.continuationToken = _data["continuationToken"];
|
|
42846
|
-
}
|
|
42847
|
-
}
|
|
42848
|
-
static fromJS(data) {
|
|
42849
|
-
data = typeof data === 'object' ? data : {};
|
|
42850
|
-
let result = new ListMeasurementFormSchemasRequest();
|
|
42851
|
-
result.init(data);
|
|
42852
|
-
return result;
|
|
42853
|
-
}
|
|
42854
|
-
toJSON(data) {
|
|
42855
|
-
data = typeof data === 'object' ? data : {};
|
|
42856
|
-
data["pageSize"] = this.pageSize;
|
|
42857
|
-
data["customerId"] = this.customerId;
|
|
42858
|
-
data["customerName"] = this.customerName;
|
|
42859
|
-
data["partName"] = this.partName;
|
|
42860
|
-
data["partNumber"] = this.partNumber;
|
|
42861
|
-
data["partRevision"] = this.partRevision;
|
|
42862
|
-
data["drawing"] = this.drawing;
|
|
42863
|
-
data["drawingRevision"] = this.drawingRevision;
|
|
42864
|
-
data["filter"] = this.filter;
|
|
42865
|
-
data["continuationToken"] = this.continuationToken;
|
|
42866
|
-
return data;
|
|
42867
|
-
}
|
|
42868
|
-
}
|
|
42869
42782
|
export class MeasurementFormSchemaDto {
|
|
42870
42783
|
constructor(data) {
|
|
42871
42784
|
if (data) {
|
|
@@ -43657,6 +43570,97 @@ export class MeasurementFormImportStatusDto {
|
|
|
43657
43570
|
return data;
|
|
43658
43571
|
}
|
|
43659
43572
|
}
|
|
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
|
+
}
|
|
43660
43664
|
export class ListLinkableMeasurementFormSchemasRequest {
|
|
43661
43665
|
constructor(data) {
|
|
43662
43666
|
if (data) {
|
|
@@ -44783,6 +44787,50 @@ export class ListMeasurementFormSchemasWithHistoryRequest {
|
|
|
44783
44787
|
return data;
|
|
44784
44788
|
}
|
|
44785
44789
|
}
|
|
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
|
+
}
|
|
44786
44834
|
export class PagedResultOfMeasurementFormInstanceOverviewDto {
|
|
44787
44835
|
constructor(data) {
|
|
44788
44836
|
if (data) {
|