@ignos/api-client 20251104.0.13119 → 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 +99 -92
- package/lib/ignosportal-api.js +232 -283
- package/package.json +1 -1
- package/src/ignosportal-api.ts +325 -370
package/lib/ignosportal-api.js
CHANGED
|
@@ -17888,37 +17888,18 @@ export class WeldingClient extends AuthorizedApiBase {
|
|
|
17888
17888
|
return Promise.resolve(null);
|
|
17889
17889
|
}
|
|
17890
17890
|
}
|
|
17891
|
-
export class
|
|
17891
|
+
export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
17892
17892
|
constructor(configuration, baseUrl, http) {
|
|
17893
17893
|
super(configuration);
|
|
17894
17894
|
this.jsonParseReviver = undefined;
|
|
17895
17895
|
this.http = http ? http : window;
|
|
17896
17896
|
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
17897
17897
|
}
|
|
17898
|
-
|
|
17899
|
-
let url_ = this.baseUrl + "/measurementforms/schemas
|
|
17900
|
-
if (
|
|
17901
|
-
throw new globalThis.Error("The parameter '
|
|
17902
|
-
|
|
17903
|
-
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
17904
|
-
if (customerId !== undefined && customerId !== null)
|
|
17905
|
-
url_ += "customerId=" + encodeURIComponent("" + customerId) + "&";
|
|
17906
|
-
if (customerName !== undefined && customerName !== null)
|
|
17907
|
-
url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
|
|
17908
|
-
if (partNumber !== undefined && partNumber !== null)
|
|
17909
|
-
url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
|
|
17910
|
-
if (partName !== undefined && partName !== null)
|
|
17911
|
-
url_ += "partName=" + encodeURIComponent("" + partName) + "&";
|
|
17912
|
-
if (partRevision !== undefined && partRevision !== null)
|
|
17913
|
-
url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
|
|
17914
|
-
if (drawing !== undefined && drawing !== null)
|
|
17915
|
-
url_ += "drawing=" + encodeURIComponent("" + drawing) + "&";
|
|
17916
|
-
if (drawingRevision !== undefined && drawingRevision !== null)
|
|
17917
|
-
url_ += "drawingRevision=" + encodeURIComponent("" + drawingRevision) + "&";
|
|
17918
|
-
if (filter !== undefined && filter !== null)
|
|
17919
|
-
url_ += "filter=" + encodeURIComponent("" + filter) + "&";
|
|
17920
|
-
if (continuationToken !== undefined && continuationToken !== null)
|
|
17921
|
-
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));
|
|
17922
17903
|
url_ = url_.replace(/[?&]$/, "");
|
|
17923
17904
|
let options_ = {
|
|
17924
17905
|
method: "GET",
|
|
@@ -17929,10 +17910,10 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
17929
17910
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
17930
17911
|
return this.http.fetch(url_, transformedOptions_);
|
|
17931
17912
|
}).then((_response) => {
|
|
17932
|
-
return this.
|
|
17913
|
+
return this.processGetArchivedMeasurementFormSchema(_response);
|
|
17933
17914
|
});
|
|
17934
17915
|
}
|
|
17935
|
-
|
|
17916
|
+
processGetArchivedMeasurementFormSchema(response) {
|
|
17936
17917
|
const status = response.status;
|
|
17937
17918
|
let _headers = {};
|
|
17938
17919
|
if (response.headers && response.headers.forEach) {
|
|
@@ -17943,7 +17924,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
17943
17924
|
return response.text().then((_responseText) => {
|
|
17944
17925
|
let result200 = null;
|
|
17945
17926
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17946
|
-
result200 =
|
|
17927
|
+
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
17947
17928
|
return result200;
|
|
17948
17929
|
});
|
|
17949
17930
|
}
|
|
@@ -17994,86 +17975,6 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
17994
17975
|
}
|
|
17995
17976
|
return Promise.resolve(null);
|
|
17996
17977
|
}
|
|
17997
|
-
postListMeasurementFormSchemas(request) {
|
|
17998
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/list";
|
|
17999
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18000
|
-
const content_ = JSON.stringify(request);
|
|
18001
|
-
let options_ = {
|
|
18002
|
-
body: content_,
|
|
18003
|
-
method: "POST",
|
|
18004
|
-
headers: {
|
|
18005
|
-
"Content-Type": "application/json",
|
|
18006
|
-
"Accept": "application/json"
|
|
18007
|
-
}
|
|
18008
|
-
};
|
|
18009
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18010
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18011
|
-
}).then((_response) => {
|
|
18012
|
-
return this.processPostListMeasurementFormSchemas(_response);
|
|
18013
|
-
});
|
|
18014
|
-
}
|
|
18015
|
-
processPostListMeasurementFormSchemas(response) {
|
|
18016
|
-
const status = response.status;
|
|
18017
|
-
let _headers = {};
|
|
18018
|
-
if (response.headers && response.headers.forEach) {
|
|
18019
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
18020
|
-
}
|
|
18021
|
-
;
|
|
18022
|
-
if (status === 200) {
|
|
18023
|
-
return response.text().then((_responseText) => {
|
|
18024
|
-
let result200 = null;
|
|
18025
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18026
|
-
result200 = PagedResultOfMeasurementFormListDto.fromJS(resultData200);
|
|
18027
|
-
return result200;
|
|
18028
|
-
});
|
|
18029
|
-
}
|
|
18030
|
-
else if (status !== 200 && status !== 204) {
|
|
18031
|
-
return response.text().then((_responseText) => {
|
|
18032
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18033
|
-
});
|
|
18034
|
-
}
|
|
18035
|
-
return Promise.resolve(null);
|
|
18036
|
-
}
|
|
18037
|
-
getMeasurementFormSchema(id) {
|
|
18038
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}";
|
|
18039
|
-
if (id === undefined || id === null)
|
|
18040
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18041
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18042
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18043
|
-
let options_ = {
|
|
18044
|
-
method: "GET",
|
|
18045
|
-
headers: {
|
|
18046
|
-
"Accept": "application/json"
|
|
18047
|
-
}
|
|
18048
|
-
};
|
|
18049
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18050
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18051
|
-
}).then((_response) => {
|
|
18052
|
-
return this.processGetMeasurementFormSchema(_response);
|
|
18053
|
-
});
|
|
18054
|
-
}
|
|
18055
|
-
processGetMeasurementFormSchema(response) {
|
|
18056
|
-
const status = response.status;
|
|
18057
|
-
let _headers = {};
|
|
18058
|
-
if (response.headers && response.headers.forEach) {
|
|
18059
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
18060
|
-
}
|
|
18061
|
-
;
|
|
18062
|
-
if (status === 200) {
|
|
18063
|
-
return response.text().then((_responseText) => {
|
|
18064
|
-
let result200 = null;
|
|
18065
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18066
|
-
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
18067
|
-
return result200;
|
|
18068
|
-
});
|
|
18069
|
-
}
|
|
18070
|
-
else if (status !== 200 && status !== 204) {
|
|
18071
|
-
return response.text().then((_responseText) => {
|
|
18072
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18073
|
-
});
|
|
18074
|
-
}
|
|
18075
|
-
return Promise.resolve(null);
|
|
18076
|
-
}
|
|
18077
17978
|
updateMeasurementFormSchema(id, request) {
|
|
18078
17979
|
let url_ = this.baseUrl + "/measurementforms/schemas/{id}";
|
|
18079
17980
|
if (id === undefined || id === null)
|
|
@@ -18152,46 +18053,6 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
18152
18053
|
}
|
|
18153
18054
|
return Promise.resolve(null);
|
|
18154
18055
|
}
|
|
18155
|
-
getArchivedMeasurementFormSchema(id) {
|
|
18156
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/archived/{id}";
|
|
18157
|
-
if (id === undefined || id === null)
|
|
18158
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
18159
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18160
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18161
|
-
let options_ = {
|
|
18162
|
-
method: "GET",
|
|
18163
|
-
headers: {
|
|
18164
|
-
"Accept": "application/json"
|
|
18165
|
-
}
|
|
18166
|
-
};
|
|
18167
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18168
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18169
|
-
}).then((_response) => {
|
|
18170
|
-
return this.processGetArchivedMeasurementFormSchema(_response);
|
|
18171
|
-
});
|
|
18172
|
-
}
|
|
18173
|
-
processGetArchivedMeasurementFormSchema(response) {
|
|
18174
|
-
const status = response.status;
|
|
18175
|
-
let _headers = {};
|
|
18176
|
-
if (response.headers && response.headers.forEach) {
|
|
18177
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
18178
|
-
}
|
|
18179
|
-
;
|
|
18180
|
-
if (status === 200) {
|
|
18181
|
-
return response.text().then((_responseText) => {
|
|
18182
|
-
let result200 = null;
|
|
18183
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18184
|
-
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
18185
|
-
return result200;
|
|
18186
|
-
});
|
|
18187
|
-
}
|
|
18188
|
-
else if (status !== 200 && status !== 204) {
|
|
18189
|
-
return response.text().then((_responseText) => {
|
|
18190
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18191
|
-
});
|
|
18192
|
-
}
|
|
18193
|
-
return Promise.resolve(null);
|
|
18194
|
-
}
|
|
18195
18056
|
copyMeasurementFormSchema(id, request) {
|
|
18196
18057
|
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/copy";
|
|
18197
18058
|
if (id === undefined || id === null)
|
|
@@ -20230,6 +20091,94 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
20230
20091
|
return Promise.resolve(null);
|
|
20231
20092
|
}
|
|
20232
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
|
+
}
|
|
20233
20182
|
export class MeasurementFormSettingsClient extends AuthorizedApiBase {
|
|
20234
20183
|
constructor(configuration, baseUrl, http) {
|
|
20235
20184
|
super(configuration);
|
|
@@ -42830,141 +42779,6 @@ export class CreateWeldingIotConfig {
|
|
|
42830
42779
|
return data;
|
|
42831
42780
|
}
|
|
42832
42781
|
}
|
|
42833
|
-
export class PagedResultOfMeasurementFormListDto {
|
|
42834
|
-
constructor(data) {
|
|
42835
|
-
if (data) {
|
|
42836
|
-
for (var property in data) {
|
|
42837
|
-
if (data.hasOwnProperty(property))
|
|
42838
|
-
this[property] = data[property];
|
|
42839
|
-
}
|
|
42840
|
-
}
|
|
42841
|
-
if (!data) {
|
|
42842
|
-
this.results = [];
|
|
42843
|
-
}
|
|
42844
|
-
}
|
|
42845
|
-
init(_data) {
|
|
42846
|
-
if (_data) {
|
|
42847
|
-
if (Array.isArray(_data["results"])) {
|
|
42848
|
-
this.results = [];
|
|
42849
|
-
for (let item of _data["results"])
|
|
42850
|
-
this.results.push(MeasurementFormListDto.fromJS(item));
|
|
42851
|
-
}
|
|
42852
|
-
this.continuationToken = _data["continuationToken"];
|
|
42853
|
-
}
|
|
42854
|
-
}
|
|
42855
|
-
static fromJS(data) {
|
|
42856
|
-
data = typeof data === 'object' ? data : {};
|
|
42857
|
-
let result = new PagedResultOfMeasurementFormListDto();
|
|
42858
|
-
result.init(data);
|
|
42859
|
-
return result;
|
|
42860
|
-
}
|
|
42861
|
-
toJSON(data) {
|
|
42862
|
-
data = typeof data === 'object' ? data : {};
|
|
42863
|
-
if (Array.isArray(this.results)) {
|
|
42864
|
-
data["results"] = [];
|
|
42865
|
-
for (let item of this.results)
|
|
42866
|
-
data["results"].push(item ? item.toJSON() : undefined);
|
|
42867
|
-
}
|
|
42868
|
-
data["continuationToken"] = this.continuationToken;
|
|
42869
|
-
return data;
|
|
42870
|
-
}
|
|
42871
|
-
}
|
|
42872
|
-
export class MeasurementFormListDto {
|
|
42873
|
-
constructor(data) {
|
|
42874
|
-
if (data) {
|
|
42875
|
-
for (var property in data) {
|
|
42876
|
-
if (data.hasOwnProperty(property))
|
|
42877
|
-
this[property] = data[property];
|
|
42878
|
-
}
|
|
42879
|
-
}
|
|
42880
|
-
}
|
|
42881
|
-
init(_data) {
|
|
42882
|
-
if (_data) {
|
|
42883
|
-
this.id = _data["id"];
|
|
42884
|
-
this.schemaId = _data["schemaId"];
|
|
42885
|
-
this.versionId = _data["versionId"];
|
|
42886
|
-
this.customerId = _data["customerId"];
|
|
42887
|
-
this.customerName = _data["customerName"];
|
|
42888
|
-
this.partNumber = _data["partNumber"];
|
|
42889
|
-
this.partRevision = _data["partRevision"];
|
|
42890
|
-
this.partName = _data["partName"];
|
|
42891
|
-
this.drawing = _data["drawing"];
|
|
42892
|
-
this.drawingRevision = _data["drawingRevision"];
|
|
42893
|
-
this.createdBy = _data["createdBy"];
|
|
42894
|
-
this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
|
|
42895
|
-
this.status = _data["status"];
|
|
42896
|
-
this.source = _data["source"];
|
|
42897
|
-
}
|
|
42898
|
-
}
|
|
42899
|
-
static fromJS(data) {
|
|
42900
|
-
data = typeof data === 'object' ? data : {};
|
|
42901
|
-
let result = new MeasurementFormListDto();
|
|
42902
|
-
result.init(data);
|
|
42903
|
-
return result;
|
|
42904
|
-
}
|
|
42905
|
-
toJSON(data) {
|
|
42906
|
-
data = typeof data === 'object' ? data : {};
|
|
42907
|
-
data["id"] = this.id;
|
|
42908
|
-
data["schemaId"] = this.schemaId;
|
|
42909
|
-
data["versionId"] = this.versionId;
|
|
42910
|
-
data["customerId"] = this.customerId;
|
|
42911
|
-
data["customerName"] = this.customerName;
|
|
42912
|
-
data["partNumber"] = this.partNumber;
|
|
42913
|
-
data["partRevision"] = this.partRevision;
|
|
42914
|
-
data["partName"] = this.partName;
|
|
42915
|
-
data["drawing"] = this.drawing;
|
|
42916
|
-
data["drawingRevision"] = this.drawingRevision;
|
|
42917
|
-
data["createdBy"] = this.createdBy;
|
|
42918
|
-
data["created"] = this.created ? this.created.toISOString() : undefined;
|
|
42919
|
-
data["status"] = this.status;
|
|
42920
|
-
data["source"] = this.source;
|
|
42921
|
-
return data;
|
|
42922
|
-
}
|
|
42923
|
-
}
|
|
42924
|
-
export class ListMeasurementFormSchemasRequest {
|
|
42925
|
-
constructor(data) {
|
|
42926
|
-
if (data) {
|
|
42927
|
-
for (var property in data) {
|
|
42928
|
-
if (data.hasOwnProperty(property))
|
|
42929
|
-
this[property] = data[property];
|
|
42930
|
-
}
|
|
42931
|
-
}
|
|
42932
|
-
}
|
|
42933
|
-
init(_data) {
|
|
42934
|
-
if (_data) {
|
|
42935
|
-
this.pageSize = _data["pageSize"];
|
|
42936
|
-
this.customerId = _data["customerId"];
|
|
42937
|
-
this.customerName = _data["customerName"];
|
|
42938
|
-
this.partName = _data["partName"];
|
|
42939
|
-
this.partNumber = _data["partNumber"];
|
|
42940
|
-
this.partRevision = _data["partRevision"];
|
|
42941
|
-
this.drawing = _data["drawing"];
|
|
42942
|
-
this.drawingRevision = _data["drawingRevision"];
|
|
42943
|
-
this.filter = _data["filter"];
|
|
42944
|
-
this.continuationToken = _data["continuationToken"];
|
|
42945
|
-
}
|
|
42946
|
-
}
|
|
42947
|
-
static fromJS(data) {
|
|
42948
|
-
data = typeof data === 'object' ? data : {};
|
|
42949
|
-
let result = new ListMeasurementFormSchemasRequest();
|
|
42950
|
-
result.init(data);
|
|
42951
|
-
return result;
|
|
42952
|
-
}
|
|
42953
|
-
toJSON(data) {
|
|
42954
|
-
data = typeof data === 'object' ? data : {};
|
|
42955
|
-
data["pageSize"] = this.pageSize;
|
|
42956
|
-
data["customerId"] = this.customerId;
|
|
42957
|
-
data["customerName"] = this.customerName;
|
|
42958
|
-
data["partName"] = this.partName;
|
|
42959
|
-
data["partNumber"] = this.partNumber;
|
|
42960
|
-
data["partRevision"] = this.partRevision;
|
|
42961
|
-
data["drawing"] = this.drawing;
|
|
42962
|
-
data["drawingRevision"] = this.drawingRevision;
|
|
42963
|
-
data["filter"] = this.filter;
|
|
42964
|
-
data["continuationToken"] = this.continuationToken;
|
|
42965
|
-
return data;
|
|
42966
|
-
}
|
|
42967
|
-
}
|
|
42968
42782
|
export class MeasurementFormSchemaDto {
|
|
42969
42783
|
constructor(data) {
|
|
42970
42784
|
if (data) {
|
|
@@ -43756,6 +43570,97 @@ export class MeasurementFormImportStatusDto {
|
|
|
43756
43570
|
return data;
|
|
43757
43571
|
}
|
|
43758
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
|
+
}
|
|
43759
43664
|
export class ListLinkableMeasurementFormSchemasRequest {
|
|
43760
43665
|
constructor(data) {
|
|
43761
43666
|
if (data) {
|
|
@@ -44882,6 +44787,50 @@ export class ListMeasurementFormSchemasWithHistoryRequest {
|
|
|
44882
44787
|
return data;
|
|
44883
44788
|
}
|
|
44884
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
|
+
}
|
|
44885
44834
|
export class PagedResultOfMeasurementFormInstanceOverviewDto {
|
|
44886
44835
|
constructor(data) {
|
|
44887
44836
|
if (data) {
|