@ignos/api-client 20260130.0.13925-alpha → 20260130.0.13942-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 +1404 -3
- package/lib/ignosportal-api.js +3110 -8
- package/package.json +1 -1
- package/src/ignosportal-api.ts +4712 -224
package/lib/ignosportal-api.js
CHANGED
|
@@ -543,6 +543,47 @@ export class GuestsClient extends AuthorizedApiBase {
|
|
|
543
543
|
}
|
|
544
544
|
return Promise.resolve(null);
|
|
545
545
|
}
|
|
546
|
+
getSupplierLoginInfo(search) {
|
|
547
|
+
let url_ = this.baseUrl + "/guests/suppliersearch?";
|
|
548
|
+
if (search === null)
|
|
549
|
+
throw new globalThis.Error("The parameter 'search' cannot be null.");
|
|
550
|
+
else if (search !== undefined)
|
|
551
|
+
url_ += "search=" + encodeURIComponent("" + search) + "&";
|
|
552
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
553
|
+
let options_ = {
|
|
554
|
+
method: "GET",
|
|
555
|
+
headers: {
|
|
556
|
+
"Accept": "application/json"
|
|
557
|
+
}
|
|
558
|
+
};
|
|
559
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
560
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
561
|
+
}).then((_response) => {
|
|
562
|
+
return this.processGetSupplierLoginInfo(_response);
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
processGetSupplierLoginInfo(response) {
|
|
566
|
+
const status = response.status;
|
|
567
|
+
let _headers = {};
|
|
568
|
+
if (response.headers && response.headers.forEach) {
|
|
569
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
570
|
+
}
|
|
571
|
+
;
|
|
572
|
+
if (status === 200) {
|
|
573
|
+
return response.text().then((_responseText) => {
|
|
574
|
+
let result200 = null;
|
|
575
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
576
|
+
result200 = GuestLoginInfoDto.fromJS(resultData200);
|
|
577
|
+
return result200;
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
else if (status !== 200 && status !== 204) {
|
|
581
|
+
return response.text().then((_responseText) => {
|
|
582
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
return Promise.resolve(null);
|
|
586
|
+
}
|
|
546
587
|
}
|
|
547
588
|
export class PresentationClient extends AuthorizedApiBase {
|
|
548
589
|
constructor(configuration, baseUrl, http) {
|
|
@@ -26610,11 +26651,59 @@ export class SuppliersClient extends AuthorizedApiBase {
|
|
|
26610
26651
|
}
|
|
26611
26652
|
return Promise.resolve(null);
|
|
26612
26653
|
}
|
|
26613
|
-
|
|
26614
|
-
|
|
26615
|
-
|
|
26616
|
-
|
|
26617
|
-
|
|
26654
|
+
}
|
|
26655
|
+
export class MaterialCertificateChecksClient extends AuthorizedApiBase {
|
|
26656
|
+
constructor(configuration, baseUrl, http) {
|
|
26657
|
+
super(configuration);
|
|
26658
|
+
this.jsonParseReviver = undefined;
|
|
26659
|
+
this.http = http ? http : window;
|
|
26660
|
+
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
26661
|
+
}
|
|
26662
|
+
listMaterialCertificateChecks(request) {
|
|
26663
|
+
let url_ = this.baseUrl + "/material-certificate/check/list";
|
|
26664
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26665
|
+
const content_ = JSON.stringify(request);
|
|
26666
|
+
let options_ = {
|
|
26667
|
+
body: content_,
|
|
26668
|
+
method: "POST",
|
|
26669
|
+
headers: {
|
|
26670
|
+
"Content-Type": "application/json",
|
|
26671
|
+
"Accept": "application/json"
|
|
26672
|
+
}
|
|
26673
|
+
};
|
|
26674
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26675
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26676
|
+
}).then((_response) => {
|
|
26677
|
+
return this.processListMaterialCertificateChecks(_response);
|
|
26678
|
+
});
|
|
26679
|
+
}
|
|
26680
|
+
processListMaterialCertificateChecks(response) {
|
|
26681
|
+
const status = response.status;
|
|
26682
|
+
let _headers = {};
|
|
26683
|
+
if (response.headers && response.headers.forEach) {
|
|
26684
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
26685
|
+
}
|
|
26686
|
+
;
|
|
26687
|
+
if (status === 200) {
|
|
26688
|
+
return response.text().then((_responseText) => {
|
|
26689
|
+
let result200 = null;
|
|
26690
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
26691
|
+
result200 = AmcCheckListDto.fromJS(resultData200);
|
|
26692
|
+
return result200;
|
|
26693
|
+
});
|
|
26694
|
+
}
|
|
26695
|
+
else if (status !== 200 && status !== 204) {
|
|
26696
|
+
return response.text().then((_responseText) => {
|
|
26697
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26698
|
+
});
|
|
26699
|
+
}
|
|
26700
|
+
return Promise.resolve(null);
|
|
26701
|
+
}
|
|
26702
|
+
getMaterialCertificateCheck(materialCertificateCheckId) {
|
|
26703
|
+
let url_ = this.baseUrl + "/material-certificate/check/{materialCertificateCheckId}";
|
|
26704
|
+
if (materialCertificateCheckId === undefined || materialCertificateCheckId === null)
|
|
26705
|
+
throw new globalThis.Error("The parameter 'materialCertificateCheckId' must be defined.");
|
|
26706
|
+
url_ = url_.replace("{materialCertificateCheckId}", encodeURIComponent("" + materialCertificateCheckId));
|
|
26618
26707
|
url_ = url_.replace(/[?&]$/, "");
|
|
26619
26708
|
let options_ = {
|
|
26620
26709
|
method: "GET",
|
|
@@ -26625,10 +26714,10 @@ export class SuppliersClient extends AuthorizedApiBase {
|
|
|
26625
26714
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26626
26715
|
return this.http.fetch(url_, transformedOptions_);
|
|
26627
26716
|
}).then((_response) => {
|
|
26628
|
-
return this.
|
|
26717
|
+
return this.processGetMaterialCertificateCheck(_response);
|
|
26629
26718
|
});
|
|
26630
26719
|
}
|
|
26631
|
-
|
|
26720
|
+
processGetMaterialCertificateCheck(response) {
|
|
26632
26721
|
const status = response.status;
|
|
26633
26722
|
let _headers = {};
|
|
26634
26723
|
if (response.headers && response.headers.forEach) {
|
|
@@ -26639,7 +26728,466 @@ export class SuppliersClient extends AuthorizedApiBase {
|
|
|
26639
26728
|
return response.text().then((_responseText) => {
|
|
26640
26729
|
let result200 = null;
|
|
26641
26730
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
26642
|
-
result200 =
|
|
26731
|
+
result200 = AmcResultDto.fromJS(resultData200);
|
|
26732
|
+
return result200;
|
|
26733
|
+
});
|
|
26734
|
+
}
|
|
26735
|
+
else if (status !== 200 && status !== 204) {
|
|
26736
|
+
return response.text().then((_responseText) => {
|
|
26737
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26738
|
+
});
|
|
26739
|
+
}
|
|
26740
|
+
return Promise.resolve(null);
|
|
26741
|
+
}
|
|
26742
|
+
processMaterialCertificate(certificatesRequest) {
|
|
26743
|
+
let url_ = this.baseUrl + "/material-certificate/check";
|
|
26744
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26745
|
+
const content_ = JSON.stringify(certificatesRequest);
|
|
26746
|
+
let options_ = {
|
|
26747
|
+
body: content_,
|
|
26748
|
+
method: "POST",
|
|
26749
|
+
headers: {
|
|
26750
|
+
"Content-Type": "application/json",
|
|
26751
|
+
}
|
|
26752
|
+
};
|
|
26753
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26754
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26755
|
+
}).then((_response) => {
|
|
26756
|
+
return this.processProcessMaterialCertificate(_response);
|
|
26757
|
+
});
|
|
26758
|
+
}
|
|
26759
|
+
processProcessMaterialCertificate(response) {
|
|
26760
|
+
const status = response.status;
|
|
26761
|
+
let _headers = {};
|
|
26762
|
+
if (response.headers && response.headers.forEach) {
|
|
26763
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
26764
|
+
}
|
|
26765
|
+
;
|
|
26766
|
+
if (status === 201) {
|
|
26767
|
+
return response.text().then((_responseText) => {
|
|
26768
|
+
return;
|
|
26769
|
+
});
|
|
26770
|
+
}
|
|
26771
|
+
else if (status !== 200 && status !== 204) {
|
|
26772
|
+
return response.text().then((_responseText) => {
|
|
26773
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26774
|
+
});
|
|
26775
|
+
}
|
|
26776
|
+
return Promise.resolve(null);
|
|
26777
|
+
}
|
|
26778
|
+
updateMaterialCertificate(certificatesRequest) {
|
|
26779
|
+
let url_ = this.baseUrl + "/material-certificate/check";
|
|
26780
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26781
|
+
const content_ = JSON.stringify(certificatesRequest);
|
|
26782
|
+
let options_ = {
|
|
26783
|
+
body: content_,
|
|
26784
|
+
method: "PUT",
|
|
26785
|
+
headers: {
|
|
26786
|
+
"Content-Type": "application/json",
|
|
26787
|
+
"Accept": "application/json"
|
|
26788
|
+
}
|
|
26789
|
+
};
|
|
26790
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26791
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26792
|
+
}).then((_response) => {
|
|
26793
|
+
return this.processUpdateMaterialCertificate(_response);
|
|
26794
|
+
});
|
|
26795
|
+
}
|
|
26796
|
+
processUpdateMaterialCertificate(response) {
|
|
26797
|
+
const status = response.status;
|
|
26798
|
+
let _headers = {};
|
|
26799
|
+
if (response.headers && response.headers.forEach) {
|
|
26800
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
26801
|
+
}
|
|
26802
|
+
;
|
|
26803
|
+
if (status === 200) {
|
|
26804
|
+
return response.text().then((_responseText) => {
|
|
26805
|
+
let result200 = null;
|
|
26806
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
26807
|
+
result200 = AmcResultDto.fromJS(resultData200);
|
|
26808
|
+
return result200;
|
|
26809
|
+
});
|
|
26810
|
+
}
|
|
26811
|
+
else if (status !== 200 && status !== 204) {
|
|
26812
|
+
return response.text().then((_responseText) => {
|
|
26813
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26814
|
+
});
|
|
26815
|
+
}
|
|
26816
|
+
return Promise.resolve(null);
|
|
26817
|
+
}
|
|
26818
|
+
}
|
|
26819
|
+
export class MaterialCertificateSpecificationsClient extends AuthorizedApiBase {
|
|
26820
|
+
constructor(configuration, baseUrl, http) {
|
|
26821
|
+
super(configuration);
|
|
26822
|
+
this.jsonParseReviver = undefined;
|
|
26823
|
+
this.http = http ? http : window;
|
|
26824
|
+
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
26825
|
+
}
|
|
26826
|
+
listSpecifications() {
|
|
26827
|
+
let url_ = this.baseUrl + "/material-certificate/specifications/list";
|
|
26828
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26829
|
+
let options_ = {
|
|
26830
|
+
method: "GET",
|
|
26831
|
+
headers: {
|
|
26832
|
+
"Accept": "application/json"
|
|
26833
|
+
}
|
|
26834
|
+
};
|
|
26835
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26836
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26837
|
+
}).then((_response) => {
|
|
26838
|
+
return this.processListSpecifications(_response);
|
|
26839
|
+
});
|
|
26840
|
+
}
|
|
26841
|
+
processListSpecifications(response) {
|
|
26842
|
+
const status = response.status;
|
|
26843
|
+
let _headers = {};
|
|
26844
|
+
if (response.headers && response.headers.forEach) {
|
|
26845
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
26846
|
+
}
|
|
26847
|
+
;
|
|
26848
|
+
if (status === 200) {
|
|
26849
|
+
return response.text().then((_responseText) => {
|
|
26850
|
+
let result200 = null;
|
|
26851
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
26852
|
+
if (Array.isArray(resultData200)) {
|
|
26853
|
+
result200 = [];
|
|
26854
|
+
for (let item of resultData200)
|
|
26855
|
+
result200.push(AmcSpecificationLiteDto.fromJS(item));
|
|
26856
|
+
}
|
|
26857
|
+
return result200;
|
|
26858
|
+
});
|
|
26859
|
+
}
|
|
26860
|
+
else if (status !== 200 && status !== 204) {
|
|
26861
|
+
return response.text().then((_responseText) => {
|
|
26862
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26863
|
+
});
|
|
26864
|
+
}
|
|
26865
|
+
return Promise.resolve(null);
|
|
26866
|
+
}
|
|
26867
|
+
getSpecification(specificationsId, version, specificationId) {
|
|
26868
|
+
let url_ = this.baseUrl + "/material-certificate/specifications/{specificationId}/{version}?";
|
|
26869
|
+
if (version === undefined || version === null)
|
|
26870
|
+
throw new globalThis.Error("The parameter 'version' must be defined.");
|
|
26871
|
+
url_ = url_.replace("{version}", encodeURIComponent("" + version));
|
|
26872
|
+
if (specificationId === undefined || specificationId === null)
|
|
26873
|
+
throw new globalThis.Error("The parameter 'specificationId' must be defined.");
|
|
26874
|
+
url_ = url_.replace("{specificationId}", encodeURIComponent("" + specificationId));
|
|
26875
|
+
if (specificationsId === null)
|
|
26876
|
+
throw new globalThis.Error("The parameter 'specificationsId' cannot be null.");
|
|
26877
|
+
else if (specificationsId !== undefined)
|
|
26878
|
+
url_ += "specificationsId=" + encodeURIComponent("" + specificationsId) + "&";
|
|
26879
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26880
|
+
let options_ = {
|
|
26881
|
+
method: "GET",
|
|
26882
|
+
headers: {
|
|
26883
|
+
"Accept": "application/json"
|
|
26884
|
+
}
|
|
26885
|
+
};
|
|
26886
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26887
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26888
|
+
}).then((_response) => {
|
|
26889
|
+
return this.processGetSpecification(_response);
|
|
26890
|
+
});
|
|
26891
|
+
}
|
|
26892
|
+
processGetSpecification(response) {
|
|
26893
|
+
const status = response.status;
|
|
26894
|
+
let _headers = {};
|
|
26895
|
+
if (response.headers && response.headers.forEach) {
|
|
26896
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
26897
|
+
}
|
|
26898
|
+
;
|
|
26899
|
+
if (status === 200) {
|
|
26900
|
+
return response.text().then((_responseText) => {
|
|
26901
|
+
let result200 = null;
|
|
26902
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
26903
|
+
result200 = AmcSpecificationDto.fromJS(resultData200);
|
|
26904
|
+
return result200;
|
|
26905
|
+
});
|
|
26906
|
+
}
|
|
26907
|
+
else if (status !== 200 && status !== 204) {
|
|
26908
|
+
return response.text().then((_responseText) => {
|
|
26909
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26910
|
+
});
|
|
26911
|
+
}
|
|
26912
|
+
return Promise.resolve(null);
|
|
26913
|
+
}
|
|
26914
|
+
createSpecifications(specificationsRequest) {
|
|
26915
|
+
let url_ = this.baseUrl + "/material-certificate/specifications";
|
|
26916
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26917
|
+
const content_ = JSON.stringify(specificationsRequest);
|
|
26918
|
+
let options_ = {
|
|
26919
|
+
body: content_,
|
|
26920
|
+
method: "POST",
|
|
26921
|
+
headers: {
|
|
26922
|
+
"Content-Type": "application/json",
|
|
26923
|
+
"Accept": "application/json"
|
|
26924
|
+
}
|
|
26925
|
+
};
|
|
26926
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26927
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26928
|
+
}).then((_response) => {
|
|
26929
|
+
return this.processCreateSpecifications(_response);
|
|
26930
|
+
});
|
|
26931
|
+
}
|
|
26932
|
+
processCreateSpecifications(response) {
|
|
26933
|
+
const status = response.status;
|
|
26934
|
+
let _headers = {};
|
|
26935
|
+
if (response.headers && response.headers.forEach) {
|
|
26936
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
26937
|
+
}
|
|
26938
|
+
;
|
|
26939
|
+
if (status === 200) {
|
|
26940
|
+
return response.text().then((_responseText) => {
|
|
26941
|
+
let result200 = null;
|
|
26942
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
26943
|
+
result200 = AmcSpecificationDto.fromJS(resultData200);
|
|
26944
|
+
return result200;
|
|
26945
|
+
});
|
|
26946
|
+
}
|
|
26947
|
+
else if (status !== 200 && status !== 204) {
|
|
26948
|
+
return response.text().then((_responseText) => {
|
|
26949
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26950
|
+
});
|
|
26951
|
+
}
|
|
26952
|
+
return Promise.resolve(null);
|
|
26953
|
+
}
|
|
26954
|
+
updateSpecifications(specificationsRequest) {
|
|
26955
|
+
let url_ = this.baseUrl + "/material-certificate/specifications";
|
|
26956
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26957
|
+
const content_ = JSON.stringify(specificationsRequest);
|
|
26958
|
+
let options_ = {
|
|
26959
|
+
body: content_,
|
|
26960
|
+
method: "PUT",
|
|
26961
|
+
headers: {
|
|
26962
|
+
"Content-Type": "application/json",
|
|
26963
|
+
"Accept": "application/json"
|
|
26964
|
+
}
|
|
26965
|
+
};
|
|
26966
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26967
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26968
|
+
}).then((_response) => {
|
|
26969
|
+
return this.processUpdateSpecifications(_response);
|
|
26970
|
+
});
|
|
26971
|
+
}
|
|
26972
|
+
processUpdateSpecifications(response) {
|
|
26973
|
+
const status = response.status;
|
|
26974
|
+
let _headers = {};
|
|
26975
|
+
if (response.headers && response.headers.forEach) {
|
|
26976
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
26977
|
+
}
|
|
26978
|
+
;
|
|
26979
|
+
if (status === 200) {
|
|
26980
|
+
return response.text().then((_responseText) => {
|
|
26981
|
+
let result200 = null;
|
|
26982
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
26983
|
+
result200 = AmcSpecificationDto.fromJS(resultData200);
|
|
26984
|
+
return result200;
|
|
26985
|
+
});
|
|
26986
|
+
}
|
|
26987
|
+
else if (status !== 200 && status !== 204) {
|
|
26988
|
+
return response.text().then((_responseText) => {
|
|
26989
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26990
|
+
});
|
|
26991
|
+
}
|
|
26992
|
+
return Promise.resolve(null);
|
|
26993
|
+
}
|
|
26994
|
+
deleteMaterialCertificateTypes(materialCertificateSpecificationId) {
|
|
26995
|
+
let url_ = this.baseUrl + "/material-certificate/specifications/{materialCertificateSpecificationId}";
|
|
26996
|
+
if (materialCertificateSpecificationId === undefined || materialCertificateSpecificationId === null)
|
|
26997
|
+
throw new globalThis.Error("The parameter 'materialCertificateSpecificationId' must be defined.");
|
|
26998
|
+
url_ = url_.replace("{materialCertificateSpecificationId}", encodeURIComponent("" + materialCertificateSpecificationId));
|
|
26999
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27000
|
+
let options_ = {
|
|
27001
|
+
method: "DELETE",
|
|
27002
|
+
headers: {}
|
|
27003
|
+
};
|
|
27004
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
27005
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
27006
|
+
}).then((_response) => {
|
|
27007
|
+
return this.processDeleteMaterialCertificateTypes(_response);
|
|
27008
|
+
});
|
|
27009
|
+
}
|
|
27010
|
+
processDeleteMaterialCertificateTypes(response) {
|
|
27011
|
+
const status = response.status;
|
|
27012
|
+
let _headers = {};
|
|
27013
|
+
if (response.headers && response.headers.forEach) {
|
|
27014
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
27015
|
+
}
|
|
27016
|
+
;
|
|
27017
|
+
if (status === 204) {
|
|
27018
|
+
return response.text().then((_responseText) => {
|
|
27019
|
+
return;
|
|
27020
|
+
});
|
|
27021
|
+
}
|
|
27022
|
+
else if (status !== 200 && status !== 204) {
|
|
27023
|
+
return response.text().then((_responseText) => {
|
|
27024
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27025
|
+
});
|
|
27026
|
+
}
|
|
27027
|
+
return Promise.resolve(null);
|
|
27028
|
+
}
|
|
27029
|
+
}
|
|
27030
|
+
export class MaterialCertificateTypesClient extends AuthorizedApiBase {
|
|
27031
|
+
constructor(configuration, baseUrl, http) {
|
|
27032
|
+
super(configuration);
|
|
27033
|
+
this.jsonParseReviver = undefined;
|
|
27034
|
+
this.http = http ? http : window;
|
|
27035
|
+
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
27036
|
+
}
|
|
27037
|
+
listMaterialCertificateTypes() {
|
|
27038
|
+
let url_ = this.baseUrl + "/material-certificate/types/list";
|
|
27039
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27040
|
+
let options_ = {
|
|
27041
|
+
method: "GET",
|
|
27042
|
+
headers: {
|
|
27043
|
+
"Accept": "application/json"
|
|
27044
|
+
}
|
|
27045
|
+
};
|
|
27046
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
27047
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
27048
|
+
}).then((_response) => {
|
|
27049
|
+
return this.processListMaterialCertificateTypes(_response);
|
|
27050
|
+
});
|
|
27051
|
+
}
|
|
27052
|
+
processListMaterialCertificateTypes(response) {
|
|
27053
|
+
const status = response.status;
|
|
27054
|
+
let _headers = {};
|
|
27055
|
+
if (response.headers && response.headers.forEach) {
|
|
27056
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
27057
|
+
}
|
|
27058
|
+
;
|
|
27059
|
+
if (status === 200) {
|
|
27060
|
+
return response.text().then((_responseText) => {
|
|
27061
|
+
let result200 = null;
|
|
27062
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27063
|
+
if (Array.isArray(resultData200)) {
|
|
27064
|
+
result200 = [];
|
|
27065
|
+
for (let item of resultData200)
|
|
27066
|
+
result200.push(AmcTypeLiteDto.fromJS(item));
|
|
27067
|
+
}
|
|
27068
|
+
return result200;
|
|
27069
|
+
});
|
|
27070
|
+
}
|
|
27071
|
+
else if (status !== 200 && status !== 204) {
|
|
27072
|
+
return response.text().then((_responseText) => {
|
|
27073
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27074
|
+
});
|
|
27075
|
+
}
|
|
27076
|
+
return Promise.resolve(null);
|
|
27077
|
+
}
|
|
27078
|
+
getMaterialCertificateTypes(typeId, version) {
|
|
27079
|
+
let url_ = this.baseUrl + "/material-certificate/types/{typeId}/{version}";
|
|
27080
|
+
if (typeId === undefined || typeId === null)
|
|
27081
|
+
throw new globalThis.Error("The parameter 'typeId' must be defined.");
|
|
27082
|
+
url_ = url_.replace("{typeId}", encodeURIComponent("" + typeId));
|
|
27083
|
+
if (version === undefined || version === null)
|
|
27084
|
+
throw new globalThis.Error("The parameter 'version' must be defined.");
|
|
27085
|
+
url_ = url_.replace("{version}", encodeURIComponent("" + version));
|
|
27086
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27087
|
+
let options_ = {
|
|
27088
|
+
method: "GET",
|
|
27089
|
+
headers: {
|
|
27090
|
+
"Accept": "application/json"
|
|
27091
|
+
}
|
|
27092
|
+
};
|
|
27093
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
27094
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
27095
|
+
}).then((_response) => {
|
|
27096
|
+
return this.processGetMaterialCertificateTypes(_response);
|
|
27097
|
+
});
|
|
27098
|
+
}
|
|
27099
|
+
processGetMaterialCertificateTypes(response) {
|
|
27100
|
+
const status = response.status;
|
|
27101
|
+
let _headers = {};
|
|
27102
|
+
if (response.headers && response.headers.forEach) {
|
|
27103
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
27104
|
+
}
|
|
27105
|
+
;
|
|
27106
|
+
if (status === 200) {
|
|
27107
|
+
return response.text().then((_responseText) => {
|
|
27108
|
+
let result200 = null;
|
|
27109
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27110
|
+
result200 = AmcTypeDto.fromJS(resultData200);
|
|
27111
|
+
return result200;
|
|
27112
|
+
});
|
|
27113
|
+
}
|
|
27114
|
+
else if (status !== 200 && status !== 204) {
|
|
27115
|
+
return response.text().then((_responseText) => {
|
|
27116
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27117
|
+
});
|
|
27118
|
+
}
|
|
27119
|
+
return Promise.resolve(null);
|
|
27120
|
+
}
|
|
27121
|
+
createMaterialCertificateTypes(certificatesTypesRequest) {
|
|
27122
|
+
let url_ = this.baseUrl + "/material-certificate/types";
|
|
27123
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27124
|
+
const content_ = JSON.stringify(certificatesTypesRequest);
|
|
27125
|
+
let options_ = {
|
|
27126
|
+
body: content_,
|
|
27127
|
+
method: "POST",
|
|
27128
|
+
headers: {
|
|
27129
|
+
"Content-Type": "application/json",
|
|
27130
|
+
"Accept": "application/json"
|
|
27131
|
+
}
|
|
27132
|
+
};
|
|
27133
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
27134
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
27135
|
+
}).then((_response) => {
|
|
27136
|
+
return this.processCreateMaterialCertificateTypes(_response);
|
|
27137
|
+
});
|
|
27138
|
+
}
|
|
27139
|
+
processCreateMaterialCertificateTypes(response) {
|
|
27140
|
+
const status = response.status;
|
|
27141
|
+
let _headers = {};
|
|
27142
|
+
if (response.headers && response.headers.forEach) {
|
|
27143
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
27144
|
+
}
|
|
27145
|
+
;
|
|
27146
|
+
if (status === 200) {
|
|
27147
|
+
return response.text().then((_responseText) => {
|
|
27148
|
+
let result200 = null;
|
|
27149
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27150
|
+
result200 = AmcTypeDto.fromJS(resultData200);
|
|
27151
|
+
return result200;
|
|
27152
|
+
});
|
|
27153
|
+
}
|
|
27154
|
+
else if (status !== 200 && status !== 204) {
|
|
27155
|
+
return response.text().then((_responseText) => {
|
|
27156
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27157
|
+
});
|
|
27158
|
+
}
|
|
27159
|
+
return Promise.resolve(null);
|
|
27160
|
+
}
|
|
27161
|
+
updateMaterialCertificateTypes(certificatesTypesRequest) {
|
|
27162
|
+
let url_ = this.baseUrl + "/material-certificate/types";
|
|
27163
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27164
|
+
const content_ = JSON.stringify(certificatesTypesRequest);
|
|
27165
|
+
let options_ = {
|
|
27166
|
+
body: content_,
|
|
27167
|
+
method: "PUT",
|
|
27168
|
+
headers: {
|
|
27169
|
+
"Content-Type": "application/json",
|
|
27170
|
+
"Accept": "application/json"
|
|
27171
|
+
}
|
|
27172
|
+
};
|
|
27173
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
27174
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
27175
|
+
}).then((_response) => {
|
|
27176
|
+
return this.processUpdateMaterialCertificateTypes(_response);
|
|
27177
|
+
});
|
|
27178
|
+
}
|
|
27179
|
+
processUpdateMaterialCertificateTypes(response) {
|
|
27180
|
+
const status = response.status;
|
|
27181
|
+
let _headers = {};
|
|
27182
|
+
if (response.headers && response.headers.forEach) {
|
|
27183
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
27184
|
+
}
|
|
27185
|
+
;
|
|
27186
|
+
if (status === 200) {
|
|
27187
|
+
return response.text().then((_responseText) => {
|
|
27188
|
+
let result200 = null;
|
|
27189
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27190
|
+
result200 = AmcTypeDto.fromJS(resultData200);
|
|
26643
27191
|
return result200;
|
|
26644
27192
|
});
|
|
26645
27193
|
}
|
|
@@ -26650,6 +27198,41 @@ export class SuppliersClient extends AuthorizedApiBase {
|
|
|
26650
27198
|
}
|
|
26651
27199
|
return Promise.resolve(null);
|
|
26652
27200
|
}
|
|
27201
|
+
deleteMaterialCertificateTypes(materialCertificateTypeId) {
|
|
27202
|
+
let url_ = this.baseUrl + "/material-certificate/types/{materialCertificateTypeId}";
|
|
27203
|
+
if (materialCertificateTypeId === undefined || materialCertificateTypeId === null)
|
|
27204
|
+
throw new globalThis.Error("The parameter 'materialCertificateTypeId' must be defined.");
|
|
27205
|
+
url_ = url_.replace("{materialCertificateTypeId}", encodeURIComponent("" + materialCertificateTypeId));
|
|
27206
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27207
|
+
let options_ = {
|
|
27208
|
+
method: "DELETE",
|
|
27209
|
+
headers: {}
|
|
27210
|
+
};
|
|
27211
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
27212
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
27213
|
+
}).then((_response) => {
|
|
27214
|
+
return this.processDeleteMaterialCertificateTypes(_response);
|
|
27215
|
+
});
|
|
27216
|
+
}
|
|
27217
|
+
processDeleteMaterialCertificateTypes(response) {
|
|
27218
|
+
const status = response.status;
|
|
27219
|
+
let _headers = {};
|
|
27220
|
+
if (response.headers && response.headers.forEach) {
|
|
27221
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
27222
|
+
}
|
|
27223
|
+
;
|
|
27224
|
+
if (status === 204) {
|
|
27225
|
+
return response.text().then((_responseText) => {
|
|
27226
|
+
return;
|
|
27227
|
+
});
|
|
27228
|
+
}
|
|
27229
|
+
else if (status !== 200 && status !== 204) {
|
|
27230
|
+
return response.text().then((_responseText) => {
|
|
27231
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27232
|
+
});
|
|
27233
|
+
}
|
|
27234
|
+
return Promise.resolve(null);
|
|
27235
|
+
}
|
|
26653
27236
|
}
|
|
26654
27237
|
export class AzureRegionDto {
|
|
26655
27238
|
constructor(data) {
|
|
@@ -50489,6 +51072,7 @@ export class SaveValueResponseDto {
|
|
|
50489
51072
|
if (_data) {
|
|
50490
51073
|
this.elementCompleted = _data["elementCompleted"];
|
|
50491
51074
|
this.warning = _data["warning"];
|
|
51075
|
+
this.informationText = _data["informationText"];
|
|
50492
51076
|
this.isOutsideTolerances = _data["isOutsideTolerances"];
|
|
50493
51077
|
this.isCloseToTolerances = _data["isCloseToTolerances"];
|
|
50494
51078
|
if (Array.isArray(_data["tools"])) {
|
|
@@ -50508,6 +51092,7 @@ export class SaveValueResponseDto {
|
|
|
50508
51092
|
data = typeof data === 'object' ? data : {};
|
|
50509
51093
|
data["elementCompleted"] = this.elementCompleted;
|
|
50510
51094
|
data["warning"] = this.warning;
|
|
51095
|
+
data["informationText"] = this.informationText;
|
|
50511
51096
|
data["isOutsideTolerances"] = this.isOutsideTolerances;
|
|
50512
51097
|
data["isCloseToTolerances"] = this.isCloseToTolerances;
|
|
50513
51098
|
if (Array.isArray(this.tools)) {
|
|
@@ -53138,6 +53723,2523 @@ export class CreateSupplierMapping {
|
|
|
53138
53723
|
return data;
|
|
53139
53724
|
}
|
|
53140
53725
|
}
|
|
53726
|
+
export class AmcCheckListDto {
|
|
53727
|
+
constructor(data) {
|
|
53728
|
+
if (data) {
|
|
53729
|
+
for (var property in data) {
|
|
53730
|
+
if (data.hasOwnProperty(property))
|
|
53731
|
+
this[property] = data[property];
|
|
53732
|
+
}
|
|
53733
|
+
}
|
|
53734
|
+
if (!data) {
|
|
53735
|
+
this.results = [];
|
|
53736
|
+
}
|
|
53737
|
+
}
|
|
53738
|
+
init(_data) {
|
|
53739
|
+
if (_data) {
|
|
53740
|
+
if (Array.isArray(_data["results"])) {
|
|
53741
|
+
this.results = [];
|
|
53742
|
+
for (let item of _data["results"])
|
|
53743
|
+
this.results.push(AmcResultLiteDto.fromJS(item));
|
|
53744
|
+
}
|
|
53745
|
+
this.continuationToken = _data["continuationToken"];
|
|
53746
|
+
}
|
|
53747
|
+
}
|
|
53748
|
+
static fromJS(data) {
|
|
53749
|
+
data = typeof data === 'object' ? data : {};
|
|
53750
|
+
let result = new AmcCheckListDto();
|
|
53751
|
+
result.init(data);
|
|
53752
|
+
return result;
|
|
53753
|
+
}
|
|
53754
|
+
toJSON(data) {
|
|
53755
|
+
data = typeof data === 'object' ? data : {};
|
|
53756
|
+
if (Array.isArray(this.results)) {
|
|
53757
|
+
data["results"] = [];
|
|
53758
|
+
for (let item of this.results)
|
|
53759
|
+
data["results"].push(item ? item.toJSON() : undefined);
|
|
53760
|
+
}
|
|
53761
|
+
data["continuationToken"] = this.continuationToken;
|
|
53762
|
+
return data;
|
|
53763
|
+
}
|
|
53764
|
+
}
|
|
53765
|
+
export class AmcResultLiteDto {
|
|
53766
|
+
constructor(data) {
|
|
53767
|
+
if (data) {
|
|
53768
|
+
for (var property in data) {
|
|
53769
|
+
if (data.hasOwnProperty(property))
|
|
53770
|
+
this[property] = data[property];
|
|
53771
|
+
}
|
|
53772
|
+
}
|
|
53773
|
+
if (!data) {
|
|
53774
|
+
this.originalMaterialCertificate = new FileDto();
|
|
53775
|
+
}
|
|
53776
|
+
}
|
|
53777
|
+
init(_data) {
|
|
53778
|
+
if (_data) {
|
|
53779
|
+
this.resultId = _data["resultId"];
|
|
53780
|
+
this.originalMaterialCertificate = _data["originalMaterialCertificate"] ? FileDto.fromJS(_data["originalMaterialCertificate"]) : new FileDto();
|
|
53781
|
+
this.generatedMaterialCertificate = _data["generatedMaterialCertificate"] ? FileDto.fromJS(_data["generatedMaterialCertificate"]) : undefined;
|
|
53782
|
+
this.customer = _data["customer"];
|
|
53783
|
+
this.project = _data["project"];
|
|
53784
|
+
this.workOrder = _data["workOrder"];
|
|
53785
|
+
this.materialCertificateTypeId = _data["materialCertificateTypeId"];
|
|
53786
|
+
this.materialCertificateTypeName = _data["materialCertificateTypeName"];
|
|
53787
|
+
this.materialCertificateTypeVersion = _data["materialCertificateTypeVersion"];
|
|
53788
|
+
this.specificationId = _data["specificationId"];
|
|
53789
|
+
this.specificationName = _data["specificationName"];
|
|
53790
|
+
this.specificationVersion = _data["specificationVersion"];
|
|
53791
|
+
this.purchaseOrder = _data["purchaseOrder"];
|
|
53792
|
+
this.purchaseOrderLine = _data["purchaseOrderLine"];
|
|
53793
|
+
this.purchaseOrderItem = _data["purchaseOrderItem"];
|
|
53794
|
+
this.purchaseOrderOrMaterialCertificateHeatNumber = _data["purchaseOrderOrMaterialCertificateHeatNumber"];
|
|
53795
|
+
this.purchaseOrderLot = _data["purchaseOrderLot"];
|
|
53796
|
+
this.status = _data["status"];
|
|
53797
|
+
this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
|
|
53798
|
+
this.createdBy = _data["createdBy"];
|
|
53799
|
+
this.createdById = _data["createdById"];
|
|
53800
|
+
this.updatedBy = _data["updatedBy"];
|
|
53801
|
+
this.updatedById = _data["updatedById"];
|
|
53802
|
+
}
|
|
53803
|
+
}
|
|
53804
|
+
static fromJS(data) {
|
|
53805
|
+
data = typeof data === 'object' ? data : {};
|
|
53806
|
+
let result = new AmcResultLiteDto();
|
|
53807
|
+
result.init(data);
|
|
53808
|
+
return result;
|
|
53809
|
+
}
|
|
53810
|
+
toJSON(data) {
|
|
53811
|
+
data = typeof data === 'object' ? data : {};
|
|
53812
|
+
data["resultId"] = this.resultId;
|
|
53813
|
+
data["originalMaterialCertificate"] = this.originalMaterialCertificate ? this.originalMaterialCertificate.toJSON() : undefined;
|
|
53814
|
+
data["generatedMaterialCertificate"] = this.generatedMaterialCertificate ? this.generatedMaterialCertificate.toJSON() : undefined;
|
|
53815
|
+
data["customer"] = this.customer;
|
|
53816
|
+
data["project"] = this.project;
|
|
53817
|
+
data["workOrder"] = this.workOrder;
|
|
53818
|
+
data["materialCertificateTypeId"] = this.materialCertificateTypeId;
|
|
53819
|
+
data["materialCertificateTypeName"] = this.materialCertificateTypeName;
|
|
53820
|
+
data["materialCertificateTypeVersion"] = this.materialCertificateTypeVersion;
|
|
53821
|
+
data["specificationId"] = this.specificationId;
|
|
53822
|
+
data["specificationName"] = this.specificationName;
|
|
53823
|
+
data["specificationVersion"] = this.specificationVersion;
|
|
53824
|
+
data["purchaseOrder"] = this.purchaseOrder;
|
|
53825
|
+
data["purchaseOrderLine"] = this.purchaseOrderLine;
|
|
53826
|
+
data["purchaseOrderItem"] = this.purchaseOrderItem;
|
|
53827
|
+
data["purchaseOrderOrMaterialCertificateHeatNumber"] = this.purchaseOrderOrMaterialCertificateHeatNumber;
|
|
53828
|
+
data["purchaseOrderLot"] = this.purchaseOrderLot;
|
|
53829
|
+
data["status"] = this.status;
|
|
53830
|
+
data["created"] = this.created ? this.created.toISOString() : undefined;
|
|
53831
|
+
data["createdBy"] = this.createdBy;
|
|
53832
|
+
data["createdById"] = this.createdById;
|
|
53833
|
+
data["updatedBy"] = this.updatedBy;
|
|
53834
|
+
data["updatedById"] = this.updatedById;
|
|
53835
|
+
return data;
|
|
53836
|
+
}
|
|
53837
|
+
}
|
|
53838
|
+
export class AmcCheckListRequestDto {
|
|
53839
|
+
constructor(data) {
|
|
53840
|
+
if (data) {
|
|
53841
|
+
for (var property in data) {
|
|
53842
|
+
if (data.hasOwnProperty(property))
|
|
53843
|
+
this[property] = data[property];
|
|
53844
|
+
}
|
|
53845
|
+
}
|
|
53846
|
+
if (!data) {
|
|
53847
|
+
this.statusFilter = [];
|
|
53848
|
+
}
|
|
53849
|
+
}
|
|
53850
|
+
init(_data) {
|
|
53851
|
+
if (_data) {
|
|
53852
|
+
this.pageSize = _data["pageSize"];
|
|
53853
|
+
this.orderBy = _data["orderBy"];
|
|
53854
|
+
this.searchTerm = _data["searchTerm"];
|
|
53855
|
+
this.originalReportFilter = _data["originalReportFilter"];
|
|
53856
|
+
this.generatedReportFilter = _data["generatedReportFilter"];
|
|
53857
|
+
this.customerFilter = _data["customerFilter"];
|
|
53858
|
+
this.projectFilter = _data["projectFilter"];
|
|
53859
|
+
this.purchaseOrderFilter = _data["purchaseOrderFilter"];
|
|
53860
|
+
this.workOrderFilter = _data["workOrderFilter"];
|
|
53861
|
+
this.certificateTypeFilter = _data["certificateTypeFilter"];
|
|
53862
|
+
this.lineFilter = _data["lineFilter"];
|
|
53863
|
+
this.itemFilter = _data["itemFilter"];
|
|
53864
|
+
this.heatFilter = _data["heatFilter"];
|
|
53865
|
+
this.lotFilter = _data["lotFilter"];
|
|
53866
|
+
this.dateFromFilter = _data["dateFromFilter"] ? new Date(_data["dateFromFilter"].toString()) : undefined;
|
|
53867
|
+
this.dateToFilter = _data["dateToFilter"] ? new Date(_data["dateToFilter"].toString()) : undefined;
|
|
53868
|
+
if (Array.isArray(_data["statusFilter"])) {
|
|
53869
|
+
this.statusFilter = [];
|
|
53870
|
+
for (let item of _data["statusFilter"])
|
|
53871
|
+
this.statusFilter.push(item);
|
|
53872
|
+
}
|
|
53873
|
+
this.continuationToken = _data["continuationToken"];
|
|
53874
|
+
}
|
|
53875
|
+
}
|
|
53876
|
+
static fromJS(data) {
|
|
53877
|
+
data = typeof data === 'object' ? data : {};
|
|
53878
|
+
let result = new AmcCheckListRequestDto();
|
|
53879
|
+
result.init(data);
|
|
53880
|
+
return result;
|
|
53881
|
+
}
|
|
53882
|
+
toJSON(data) {
|
|
53883
|
+
data = typeof data === 'object' ? data : {};
|
|
53884
|
+
data["pageSize"] = this.pageSize;
|
|
53885
|
+
data["orderBy"] = this.orderBy;
|
|
53886
|
+
data["searchTerm"] = this.searchTerm;
|
|
53887
|
+
data["originalReportFilter"] = this.originalReportFilter;
|
|
53888
|
+
data["generatedReportFilter"] = this.generatedReportFilter;
|
|
53889
|
+
data["customerFilter"] = this.customerFilter;
|
|
53890
|
+
data["projectFilter"] = this.projectFilter;
|
|
53891
|
+
data["purchaseOrderFilter"] = this.purchaseOrderFilter;
|
|
53892
|
+
data["workOrderFilter"] = this.workOrderFilter;
|
|
53893
|
+
data["certificateTypeFilter"] = this.certificateTypeFilter;
|
|
53894
|
+
data["lineFilter"] = this.lineFilter;
|
|
53895
|
+
data["itemFilter"] = this.itemFilter;
|
|
53896
|
+
data["heatFilter"] = this.heatFilter;
|
|
53897
|
+
data["lotFilter"] = this.lotFilter;
|
|
53898
|
+
data["dateFromFilter"] = this.dateFromFilter ? this.dateFromFilter.toISOString() : undefined;
|
|
53899
|
+
data["dateToFilter"] = this.dateToFilter ? this.dateToFilter.toISOString() : undefined;
|
|
53900
|
+
if (Array.isArray(this.statusFilter)) {
|
|
53901
|
+
data["statusFilter"] = [];
|
|
53902
|
+
for (let item of this.statusFilter)
|
|
53903
|
+
data["statusFilter"].push(item);
|
|
53904
|
+
}
|
|
53905
|
+
data["continuationToken"] = this.continuationToken;
|
|
53906
|
+
return data;
|
|
53907
|
+
}
|
|
53908
|
+
}
|
|
53909
|
+
export class AmcResultDto {
|
|
53910
|
+
constructor(data) {
|
|
53911
|
+
if (data) {
|
|
53912
|
+
for (var property in data) {
|
|
53913
|
+
if (data.hasOwnProperty(property))
|
|
53914
|
+
this[property] = data[property];
|
|
53915
|
+
}
|
|
53916
|
+
}
|
|
53917
|
+
if (!data) {
|
|
53918
|
+
this.originalMaterialCertificate = new FileDto();
|
|
53919
|
+
this.certificateTypeSection = new AmcTypeResultChecksDto();
|
|
53920
|
+
this.chemistrySpecification = new AmcChemistrySpecificationResultDto();
|
|
53921
|
+
this.mechanicalSpecification = new AmcMechanicalSpecificationResultDto();
|
|
53922
|
+
this.ferriteSpecification = new AmcFerriteSpecificationResultDto();
|
|
53923
|
+
this.heatSpecification = new AmcHeatTreatmentSpecificationResultDto();
|
|
53924
|
+
}
|
|
53925
|
+
}
|
|
53926
|
+
init(_data) {
|
|
53927
|
+
if (_data) {
|
|
53928
|
+
this.resultId = _data["resultId"];
|
|
53929
|
+
this.originalMaterialCertificate = _data["originalMaterialCertificate"] ? FileDto.fromJS(_data["originalMaterialCertificate"]) : new FileDto();
|
|
53930
|
+
this.generatedMaterialCertificate = _data["generatedMaterialCertificate"] ? FileDto.fromJS(_data["generatedMaterialCertificate"]) : undefined;
|
|
53931
|
+
this.customer = _data["customer"];
|
|
53932
|
+
this.project = _data["project"];
|
|
53933
|
+
this.workOrder = _data["workOrder"];
|
|
53934
|
+
this.materialCertificateTypeId = _data["materialCertificateTypeId"];
|
|
53935
|
+
this.materialCertificateTypeName = _data["materialCertificateTypeName"];
|
|
53936
|
+
this.materialCertificateTypeVersion = _data["materialCertificateTypeVersion"];
|
|
53937
|
+
this.specificationId = _data["specificationId"];
|
|
53938
|
+
this.specificationName = _data["specificationName"];
|
|
53939
|
+
this.specificationVersion = _data["specificationVersion"];
|
|
53940
|
+
this.purchaseOrder = _data["purchaseOrder"];
|
|
53941
|
+
this.purchaseOrderLine = _data["purchaseOrderLine"];
|
|
53942
|
+
this.purchaseOrderItem = _data["purchaseOrderItem"];
|
|
53943
|
+
this.purchaseOrderOrMaterialCertificateHeatNumber = _data["purchaseOrderOrMaterialCertificateHeatNumber"];
|
|
53944
|
+
this.purchaseOrderLot = _data["purchaseOrderLot"];
|
|
53945
|
+
this.status = _data["status"];
|
|
53946
|
+
this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
|
|
53947
|
+
this.createdBy = _data["createdBy"];
|
|
53948
|
+
this.createdById = _data["createdById"];
|
|
53949
|
+
this.updatedBy = _data["updatedBy"];
|
|
53950
|
+
this.updatedById = _data["updatedById"];
|
|
53951
|
+
this.certificateTypeSection = _data["certificateTypeSection"] ? AmcTypeResultChecksDto.fromJS(_data["certificateTypeSection"]) : new AmcTypeResultChecksDto();
|
|
53952
|
+
this.chemistrySpecification = _data["chemistrySpecification"] ? AmcChemistrySpecificationResultDto.fromJS(_data["chemistrySpecification"]) : new AmcChemistrySpecificationResultDto();
|
|
53953
|
+
this.mechanicalSpecification = _data["mechanicalSpecification"] ? AmcMechanicalSpecificationResultDto.fromJS(_data["mechanicalSpecification"]) : new AmcMechanicalSpecificationResultDto();
|
|
53954
|
+
this.ferriteSpecification = _data["ferriteSpecification"] ? AmcFerriteSpecificationResultDto.fromJS(_data["ferriteSpecification"]) : new AmcFerriteSpecificationResultDto();
|
|
53955
|
+
this.heatSpecification = _data["heatSpecification"] ? AmcHeatTreatmentSpecificationResultDto.fromJS(_data["heatSpecification"]) : new AmcHeatTreatmentSpecificationResultDto();
|
|
53956
|
+
}
|
|
53957
|
+
}
|
|
53958
|
+
static fromJS(data) {
|
|
53959
|
+
data = typeof data === 'object' ? data : {};
|
|
53960
|
+
let result = new AmcResultDto();
|
|
53961
|
+
result.init(data);
|
|
53962
|
+
return result;
|
|
53963
|
+
}
|
|
53964
|
+
toJSON(data) {
|
|
53965
|
+
data = typeof data === 'object' ? data : {};
|
|
53966
|
+
data["resultId"] = this.resultId;
|
|
53967
|
+
data["originalMaterialCertificate"] = this.originalMaterialCertificate ? this.originalMaterialCertificate.toJSON() : undefined;
|
|
53968
|
+
data["generatedMaterialCertificate"] = this.generatedMaterialCertificate ? this.generatedMaterialCertificate.toJSON() : undefined;
|
|
53969
|
+
data["customer"] = this.customer;
|
|
53970
|
+
data["project"] = this.project;
|
|
53971
|
+
data["workOrder"] = this.workOrder;
|
|
53972
|
+
data["materialCertificateTypeId"] = this.materialCertificateTypeId;
|
|
53973
|
+
data["materialCertificateTypeName"] = this.materialCertificateTypeName;
|
|
53974
|
+
data["materialCertificateTypeVersion"] = this.materialCertificateTypeVersion;
|
|
53975
|
+
data["specificationId"] = this.specificationId;
|
|
53976
|
+
data["specificationName"] = this.specificationName;
|
|
53977
|
+
data["specificationVersion"] = this.specificationVersion;
|
|
53978
|
+
data["purchaseOrder"] = this.purchaseOrder;
|
|
53979
|
+
data["purchaseOrderLine"] = this.purchaseOrderLine;
|
|
53980
|
+
data["purchaseOrderItem"] = this.purchaseOrderItem;
|
|
53981
|
+
data["purchaseOrderOrMaterialCertificateHeatNumber"] = this.purchaseOrderOrMaterialCertificateHeatNumber;
|
|
53982
|
+
data["purchaseOrderLot"] = this.purchaseOrderLot;
|
|
53983
|
+
data["status"] = this.status;
|
|
53984
|
+
data["created"] = this.created ? this.created.toISOString() : undefined;
|
|
53985
|
+
data["createdBy"] = this.createdBy;
|
|
53986
|
+
data["createdById"] = this.createdById;
|
|
53987
|
+
data["updatedBy"] = this.updatedBy;
|
|
53988
|
+
data["updatedById"] = this.updatedById;
|
|
53989
|
+
data["certificateTypeSection"] = this.certificateTypeSection ? this.certificateTypeSection.toJSON() : undefined;
|
|
53990
|
+
data["chemistrySpecification"] = this.chemistrySpecification ? this.chemistrySpecification.toJSON() : undefined;
|
|
53991
|
+
data["mechanicalSpecification"] = this.mechanicalSpecification ? this.mechanicalSpecification.toJSON() : undefined;
|
|
53992
|
+
data["ferriteSpecification"] = this.ferriteSpecification ? this.ferriteSpecification.toJSON() : undefined;
|
|
53993
|
+
data["heatSpecification"] = this.heatSpecification ? this.heatSpecification.toJSON() : undefined;
|
|
53994
|
+
return data;
|
|
53995
|
+
}
|
|
53996
|
+
}
|
|
53997
|
+
export class AmcTypeResultChecksDto {
|
|
53998
|
+
constructor(data) {
|
|
53999
|
+
if (data) {
|
|
54000
|
+
for (var property in data) {
|
|
54001
|
+
if (data.hasOwnProperty(property))
|
|
54002
|
+
this[property] = data[property];
|
|
54003
|
+
}
|
|
54004
|
+
}
|
|
54005
|
+
if (!data) {
|
|
54006
|
+
this.manufacturer = new AmcTypeManufacturerResultChecksDto();
|
|
54007
|
+
this.signature = new AmcTypeSignatureResultChecksDto();
|
|
54008
|
+
this.thirdParty = new AmcTypeThirdPartyResultChecksDto();
|
|
54009
|
+
this.certification = new AmcTypeCertificationResultChecksDto();
|
|
54010
|
+
this.productAndOrderInformation = new AmcTypeProductAndOrderInformationResultChecksDto();
|
|
54011
|
+
this.testMethodsAndReferences = new AmcTypeTestMethodsAndReferencesResultChecksDto();
|
|
54012
|
+
this.testResults = new AmcTypeTestResultsResultChecksDto();
|
|
54013
|
+
this.documentTypes = new AmcTypeDocumentTypesResultChecksDto();
|
|
54014
|
+
}
|
|
54015
|
+
}
|
|
54016
|
+
init(_data) {
|
|
54017
|
+
if (_data) {
|
|
54018
|
+
this.manufacturer = _data["manufacturer"] ? AmcTypeManufacturerResultChecksDto.fromJS(_data["manufacturer"]) : new AmcTypeManufacturerResultChecksDto();
|
|
54019
|
+
this.signature = _data["signature"] ? AmcTypeSignatureResultChecksDto.fromJS(_data["signature"]) : new AmcTypeSignatureResultChecksDto();
|
|
54020
|
+
this.thirdParty = _data["thirdParty"] ? AmcTypeThirdPartyResultChecksDto.fromJS(_data["thirdParty"]) : new AmcTypeThirdPartyResultChecksDto();
|
|
54021
|
+
this.certification = _data["certification"] ? AmcTypeCertificationResultChecksDto.fromJS(_data["certification"]) : new AmcTypeCertificationResultChecksDto();
|
|
54022
|
+
this.productAndOrderInformation = _data["productAndOrderInformation"] ? AmcTypeProductAndOrderInformationResultChecksDto.fromJS(_data["productAndOrderInformation"]) : new AmcTypeProductAndOrderInformationResultChecksDto();
|
|
54023
|
+
this.testMethodsAndReferences = _data["testMethodsAndReferences"] ? AmcTypeTestMethodsAndReferencesResultChecksDto.fromJS(_data["testMethodsAndReferences"]) : new AmcTypeTestMethodsAndReferencesResultChecksDto();
|
|
54024
|
+
this.testResults = _data["testResults"] ? AmcTypeTestResultsResultChecksDto.fromJS(_data["testResults"]) : new AmcTypeTestResultsResultChecksDto();
|
|
54025
|
+
this.documentTypes = _data["documentTypes"] ? AmcTypeDocumentTypesResultChecksDto.fromJS(_data["documentTypes"]) : new AmcTypeDocumentTypesResultChecksDto();
|
|
54026
|
+
}
|
|
54027
|
+
}
|
|
54028
|
+
static fromJS(data) {
|
|
54029
|
+
data = typeof data === 'object' ? data : {};
|
|
54030
|
+
let result = new AmcTypeResultChecksDto();
|
|
54031
|
+
result.init(data);
|
|
54032
|
+
return result;
|
|
54033
|
+
}
|
|
54034
|
+
toJSON(data) {
|
|
54035
|
+
data = typeof data === 'object' ? data : {};
|
|
54036
|
+
data["manufacturer"] = this.manufacturer ? this.manufacturer.toJSON() : undefined;
|
|
54037
|
+
data["signature"] = this.signature ? this.signature.toJSON() : undefined;
|
|
54038
|
+
data["thirdParty"] = this.thirdParty ? this.thirdParty.toJSON() : undefined;
|
|
54039
|
+
data["certification"] = this.certification ? this.certification.toJSON() : undefined;
|
|
54040
|
+
data["productAndOrderInformation"] = this.productAndOrderInformation ? this.productAndOrderInformation.toJSON() : undefined;
|
|
54041
|
+
data["testMethodsAndReferences"] = this.testMethodsAndReferences ? this.testMethodsAndReferences.toJSON() : undefined;
|
|
54042
|
+
data["testResults"] = this.testResults ? this.testResults.toJSON() : undefined;
|
|
54043
|
+
data["documentTypes"] = this.documentTypes ? this.documentTypes.toJSON() : undefined;
|
|
54044
|
+
return data;
|
|
54045
|
+
}
|
|
54046
|
+
}
|
|
54047
|
+
export class AmcTypeManufacturerResultChecksDto {
|
|
54048
|
+
constructor(data) {
|
|
54049
|
+
if (data) {
|
|
54050
|
+
for (var property in data) {
|
|
54051
|
+
if (data.hasOwnProperty(property))
|
|
54052
|
+
this[property] = data[property];
|
|
54053
|
+
}
|
|
54054
|
+
}
|
|
54055
|
+
}
|
|
54056
|
+
init(_data) {
|
|
54057
|
+
if (_data) {
|
|
54058
|
+
this.manufacturer = _data["manufacturer"] ? AmcTypeResultLine.fromJS(_data["manufacturer"]) : undefined;
|
|
54059
|
+
this.address = _data["address"] ? AmcTypeResultLine.fromJS(_data["address"]) : undefined;
|
|
54060
|
+
this.contact = _data["contact"] ? AmcTypeResultLine.fromJS(_data["contact"]) : undefined;
|
|
54061
|
+
}
|
|
54062
|
+
}
|
|
54063
|
+
static fromJS(data) {
|
|
54064
|
+
data = typeof data === 'object' ? data : {};
|
|
54065
|
+
let result = new AmcTypeManufacturerResultChecksDto();
|
|
54066
|
+
result.init(data);
|
|
54067
|
+
return result;
|
|
54068
|
+
}
|
|
54069
|
+
toJSON(data) {
|
|
54070
|
+
data = typeof data === 'object' ? data : {};
|
|
54071
|
+
data["manufacturer"] = this.manufacturer ? this.manufacturer.toJSON() : undefined;
|
|
54072
|
+
data["address"] = this.address ? this.address.toJSON() : undefined;
|
|
54073
|
+
data["contact"] = this.contact ? this.contact.toJSON() : undefined;
|
|
54074
|
+
return data;
|
|
54075
|
+
}
|
|
54076
|
+
}
|
|
54077
|
+
export class AmcTypeResultLine {
|
|
54078
|
+
constructor(data) {
|
|
54079
|
+
if (data) {
|
|
54080
|
+
for (var property in data) {
|
|
54081
|
+
if (data.hasOwnProperty(property))
|
|
54082
|
+
this[property] = data[property];
|
|
54083
|
+
}
|
|
54084
|
+
}
|
|
54085
|
+
}
|
|
54086
|
+
init(_data) {
|
|
54087
|
+
if (_data) {
|
|
54088
|
+
this.found = _data["found"];
|
|
54089
|
+
this.approved = _data["approved"];
|
|
54090
|
+
this.comment = _data["comment"];
|
|
54091
|
+
this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
|
|
54092
|
+
this.createdBy = _data["createdBy"];
|
|
54093
|
+
this.createdById = _data["createdById"];
|
|
54094
|
+
this.updatedBy = _data["updatedBy"];
|
|
54095
|
+
this.updatedById = _data["updatedById"];
|
|
54096
|
+
}
|
|
54097
|
+
}
|
|
54098
|
+
static fromJS(data) {
|
|
54099
|
+
data = typeof data === 'object' ? data : {};
|
|
54100
|
+
let result = new AmcTypeResultLine();
|
|
54101
|
+
result.init(data);
|
|
54102
|
+
return result;
|
|
54103
|
+
}
|
|
54104
|
+
toJSON(data) {
|
|
54105
|
+
data = typeof data === 'object' ? data : {};
|
|
54106
|
+
data["found"] = this.found;
|
|
54107
|
+
data["approved"] = this.approved;
|
|
54108
|
+
data["comment"] = this.comment;
|
|
54109
|
+
data["created"] = this.created ? this.created.toISOString() : undefined;
|
|
54110
|
+
data["createdBy"] = this.createdBy;
|
|
54111
|
+
data["createdById"] = this.createdById;
|
|
54112
|
+
data["updatedBy"] = this.updatedBy;
|
|
54113
|
+
data["updatedById"] = this.updatedById;
|
|
54114
|
+
return data;
|
|
54115
|
+
}
|
|
54116
|
+
}
|
|
54117
|
+
export class AmcTypeSignatureResultChecksDto {
|
|
54118
|
+
constructor(data) {
|
|
54119
|
+
if (data) {
|
|
54120
|
+
for (var property in data) {
|
|
54121
|
+
if (data.hasOwnProperty(property))
|
|
54122
|
+
this[property] = data[property];
|
|
54123
|
+
}
|
|
54124
|
+
}
|
|
54125
|
+
}
|
|
54126
|
+
init(_data) {
|
|
54127
|
+
if (_data) {
|
|
54128
|
+
this.certifiedBy = _data["certifiedBy"] ? AmcTypeResultLine.fromJS(_data["certifiedBy"]) : undefined;
|
|
54129
|
+
this.position = _data["position"] ? AmcTypeResultLine.fromJS(_data["position"]) : undefined;
|
|
54130
|
+
this.signature = _data["signature"] ? AmcTypeResultLine.fromJS(_data["signature"]) : undefined;
|
|
54131
|
+
this.date = _data["date"] ? AmcTypeResultLine.fromJS(_data["date"]) : undefined;
|
|
54132
|
+
this.stamp = _data["stamp"] ? AmcTypeResultLine.fromJS(_data["stamp"]) : undefined;
|
|
54133
|
+
}
|
|
54134
|
+
}
|
|
54135
|
+
static fromJS(data) {
|
|
54136
|
+
data = typeof data === 'object' ? data : {};
|
|
54137
|
+
let result = new AmcTypeSignatureResultChecksDto();
|
|
54138
|
+
result.init(data);
|
|
54139
|
+
return result;
|
|
54140
|
+
}
|
|
54141
|
+
toJSON(data) {
|
|
54142
|
+
data = typeof data === 'object' ? data : {};
|
|
54143
|
+
data["certifiedBy"] = this.certifiedBy ? this.certifiedBy.toJSON() : undefined;
|
|
54144
|
+
data["position"] = this.position ? this.position.toJSON() : undefined;
|
|
54145
|
+
data["signature"] = this.signature ? this.signature.toJSON() : undefined;
|
|
54146
|
+
data["date"] = this.date ? this.date.toJSON() : undefined;
|
|
54147
|
+
data["stamp"] = this.stamp ? this.stamp.toJSON() : undefined;
|
|
54148
|
+
return data;
|
|
54149
|
+
}
|
|
54150
|
+
}
|
|
54151
|
+
export class AmcTypeThirdPartyResultChecksDto {
|
|
54152
|
+
constructor(data) {
|
|
54153
|
+
if (data) {
|
|
54154
|
+
for (var property in data) {
|
|
54155
|
+
if (data.hasOwnProperty(property))
|
|
54156
|
+
this[property] = data[property];
|
|
54157
|
+
}
|
|
54158
|
+
}
|
|
54159
|
+
}
|
|
54160
|
+
init(_data) {
|
|
54161
|
+
if (_data) {
|
|
54162
|
+
this.inspectionBody = _data["inspectionBody"] ? AmcTypeResultLine.fromJS(_data["inspectionBody"]) : undefined;
|
|
54163
|
+
this.inspectorName = _data["inspectorName"] ? AmcTypeResultLine.fromJS(_data["inspectorName"]) : undefined;
|
|
54164
|
+
this.position = _data["position"] ? AmcTypeResultLine.fromJS(_data["position"]) : undefined;
|
|
54165
|
+
this.verificationMethod = _data["verificationMethod"] ? AmcTypeResultLine.fromJS(_data["verificationMethod"]) : undefined;
|
|
54166
|
+
this.signature = _data["signature"] ? AmcTypeResultLine.fromJS(_data["signature"]) : undefined;
|
|
54167
|
+
this.date = _data["date"] ? AmcTypeResultLine.fromJS(_data["date"]) : undefined;
|
|
54168
|
+
this.stamp = _data["stamp"] ? AmcTypeResultLine.fromJS(_data["stamp"]) : undefined;
|
|
54169
|
+
}
|
|
54170
|
+
}
|
|
54171
|
+
static fromJS(data) {
|
|
54172
|
+
data = typeof data === 'object' ? data : {};
|
|
54173
|
+
let result = new AmcTypeThirdPartyResultChecksDto();
|
|
54174
|
+
result.init(data);
|
|
54175
|
+
return result;
|
|
54176
|
+
}
|
|
54177
|
+
toJSON(data) {
|
|
54178
|
+
data = typeof data === 'object' ? data : {};
|
|
54179
|
+
data["inspectionBody"] = this.inspectionBody ? this.inspectionBody.toJSON() : undefined;
|
|
54180
|
+
data["inspectorName"] = this.inspectorName ? this.inspectorName.toJSON() : undefined;
|
|
54181
|
+
data["position"] = this.position ? this.position.toJSON() : undefined;
|
|
54182
|
+
data["verificationMethod"] = this.verificationMethod ? this.verificationMethod.toJSON() : undefined;
|
|
54183
|
+
data["signature"] = this.signature ? this.signature.toJSON() : undefined;
|
|
54184
|
+
data["date"] = this.date ? this.date.toJSON() : undefined;
|
|
54185
|
+
data["stamp"] = this.stamp ? this.stamp.toJSON() : undefined;
|
|
54186
|
+
return data;
|
|
54187
|
+
}
|
|
54188
|
+
}
|
|
54189
|
+
export class AmcTypeCertificationResultChecksDto {
|
|
54190
|
+
constructor(data) {
|
|
54191
|
+
if (data) {
|
|
54192
|
+
for (var property in data) {
|
|
54193
|
+
if (data.hasOwnProperty(property))
|
|
54194
|
+
this[property] = data[property];
|
|
54195
|
+
}
|
|
54196
|
+
}
|
|
54197
|
+
}
|
|
54198
|
+
init(_data) {
|
|
54199
|
+
if (_data) {
|
|
54200
|
+
this.certificateOfCompliance = _data["certificateOfCompliance"] ? AmcTypeResultLine.fromJS(_data["certificateOfCompliance"]) : undefined;
|
|
54201
|
+
this.inspectionCertificate = _data["inspectionCertificate"] ? AmcTypeResultLine.fromJS(_data["inspectionCertificate"]) : undefined;
|
|
54202
|
+
}
|
|
54203
|
+
}
|
|
54204
|
+
static fromJS(data) {
|
|
54205
|
+
data = typeof data === 'object' ? data : {};
|
|
54206
|
+
let result = new AmcTypeCertificationResultChecksDto();
|
|
54207
|
+
result.init(data);
|
|
54208
|
+
return result;
|
|
54209
|
+
}
|
|
54210
|
+
toJSON(data) {
|
|
54211
|
+
data = typeof data === 'object' ? data : {};
|
|
54212
|
+
data["certificateOfCompliance"] = this.certificateOfCompliance ? this.certificateOfCompliance.toJSON() : undefined;
|
|
54213
|
+
data["inspectionCertificate"] = this.inspectionCertificate ? this.inspectionCertificate.toJSON() : undefined;
|
|
54214
|
+
return data;
|
|
54215
|
+
}
|
|
54216
|
+
}
|
|
54217
|
+
export class AmcTypeProductAndOrderInformationResultChecksDto {
|
|
54218
|
+
constructor(data) {
|
|
54219
|
+
if (data) {
|
|
54220
|
+
for (var property in data) {
|
|
54221
|
+
if (data.hasOwnProperty(property))
|
|
54222
|
+
this[property] = data[property];
|
|
54223
|
+
}
|
|
54224
|
+
}
|
|
54225
|
+
}
|
|
54226
|
+
init(_data) {
|
|
54227
|
+
if (_data) {
|
|
54228
|
+
this.productDescription = _data["productDescription"] ? AmcTypeResultLine.fromJS(_data["productDescription"]) : undefined;
|
|
54229
|
+
this.materialGrade = _data["materialGrade"] ? AmcTypeResultLine.fromJS(_data["materialGrade"]) : undefined;
|
|
54230
|
+
this.customer = _data["customer"] ? AmcTypeResultLine.fromJS(_data["customer"]) : undefined;
|
|
54231
|
+
this.customerOrderNumber = _data["customerOrderNumber"] ? AmcTypeResultLine.fromJS(_data["customerOrderNumber"]) : undefined;
|
|
54232
|
+
this.dimensionsOrWeight = _data["dimensionsOrWeight"] ? AmcTypeResultLine.fromJS(_data["dimensionsOrWeight"]) : undefined;
|
|
54233
|
+
this.batchNumber = _data["batchNumber"] ? AmcTypeResultLine.fromJS(_data["batchNumber"]) : undefined;
|
|
54234
|
+
this.heatNumber = _data["heatNumber"] ? AmcTypeResultLine.fromJS(_data["heatNumber"]) : undefined;
|
|
54235
|
+
this.relatedStandards = _data["relatedStandards"] ? AmcTypeResultLine.fromJS(_data["relatedStandards"]) : undefined;
|
|
54236
|
+
}
|
|
54237
|
+
}
|
|
54238
|
+
static fromJS(data) {
|
|
54239
|
+
data = typeof data === 'object' ? data : {};
|
|
54240
|
+
let result = new AmcTypeProductAndOrderInformationResultChecksDto();
|
|
54241
|
+
result.init(data);
|
|
54242
|
+
return result;
|
|
54243
|
+
}
|
|
54244
|
+
toJSON(data) {
|
|
54245
|
+
data = typeof data === 'object' ? data : {};
|
|
54246
|
+
data["productDescription"] = this.productDescription ? this.productDescription.toJSON() : undefined;
|
|
54247
|
+
data["materialGrade"] = this.materialGrade ? this.materialGrade.toJSON() : undefined;
|
|
54248
|
+
data["customer"] = this.customer ? this.customer.toJSON() : undefined;
|
|
54249
|
+
data["customerOrderNumber"] = this.customerOrderNumber ? this.customerOrderNumber.toJSON() : undefined;
|
|
54250
|
+
data["dimensionsOrWeight"] = this.dimensionsOrWeight ? this.dimensionsOrWeight.toJSON() : undefined;
|
|
54251
|
+
data["batchNumber"] = this.batchNumber ? this.batchNumber.toJSON() : undefined;
|
|
54252
|
+
data["heatNumber"] = this.heatNumber ? this.heatNumber.toJSON() : undefined;
|
|
54253
|
+
data["relatedStandards"] = this.relatedStandards ? this.relatedStandards.toJSON() : undefined;
|
|
54254
|
+
return data;
|
|
54255
|
+
}
|
|
54256
|
+
}
|
|
54257
|
+
export class AmcTypeTestMethodsAndReferencesResultChecksDto {
|
|
54258
|
+
constructor(data) {
|
|
54259
|
+
if (data) {
|
|
54260
|
+
for (var property in data) {
|
|
54261
|
+
if (data.hasOwnProperty(property))
|
|
54262
|
+
this[property] = data[property];
|
|
54263
|
+
}
|
|
54264
|
+
}
|
|
54265
|
+
}
|
|
54266
|
+
init(_data) {
|
|
54267
|
+
if (_data) {
|
|
54268
|
+
this.usedStandards = _data["usedStandards"] ? AmcTypeResultLine.fromJS(_data["usedStandards"]) : undefined;
|
|
54269
|
+
}
|
|
54270
|
+
}
|
|
54271
|
+
static fromJS(data) {
|
|
54272
|
+
data = typeof data === 'object' ? data : {};
|
|
54273
|
+
let result = new AmcTypeTestMethodsAndReferencesResultChecksDto();
|
|
54274
|
+
result.init(data);
|
|
54275
|
+
return result;
|
|
54276
|
+
}
|
|
54277
|
+
toJSON(data) {
|
|
54278
|
+
data = typeof data === 'object' ? data : {};
|
|
54279
|
+
data["usedStandards"] = this.usedStandards ? this.usedStandards.toJSON() : undefined;
|
|
54280
|
+
return data;
|
|
54281
|
+
}
|
|
54282
|
+
}
|
|
54283
|
+
export class AmcTypeTestResultsResultChecksDto {
|
|
54284
|
+
constructor(data) {
|
|
54285
|
+
if (data) {
|
|
54286
|
+
for (var property in data) {
|
|
54287
|
+
if (data.hasOwnProperty(property))
|
|
54288
|
+
this[property] = data[property];
|
|
54289
|
+
}
|
|
54290
|
+
}
|
|
54291
|
+
}
|
|
54292
|
+
init(_data) {
|
|
54293
|
+
if (_data) {
|
|
54294
|
+
this.mechanicalProperties = _data["mechanicalProperties"] ? AmcTypeResultLine.fromJS(_data["mechanicalProperties"]) : undefined;
|
|
54295
|
+
this.chemicalAnalysis = _data["chemicalAnalysis"] ? AmcTypeResultLine.fromJS(_data["chemicalAnalysis"]) : undefined;
|
|
54296
|
+
this.impactTests = _data["impactTests"] ? AmcTypeResultLine.fromJS(_data["impactTests"]) : undefined;
|
|
54297
|
+
this.corrosionTests = _data["corrosionTests"] ? AmcTypeResultLine.fromJS(_data["corrosionTests"]) : undefined;
|
|
54298
|
+
this.ferriteContentAndMicrostructure = _data["ferriteContentAndMicrostructure"] ? AmcTypeResultLine.fromJS(_data["ferriteContentAndMicrostructure"]) : undefined;
|
|
54299
|
+
}
|
|
54300
|
+
}
|
|
54301
|
+
static fromJS(data) {
|
|
54302
|
+
data = typeof data === 'object' ? data : {};
|
|
54303
|
+
let result = new AmcTypeTestResultsResultChecksDto();
|
|
54304
|
+
result.init(data);
|
|
54305
|
+
return result;
|
|
54306
|
+
}
|
|
54307
|
+
toJSON(data) {
|
|
54308
|
+
data = typeof data === 'object' ? data : {};
|
|
54309
|
+
data["mechanicalProperties"] = this.mechanicalProperties ? this.mechanicalProperties.toJSON() : undefined;
|
|
54310
|
+
data["chemicalAnalysis"] = this.chemicalAnalysis ? this.chemicalAnalysis.toJSON() : undefined;
|
|
54311
|
+
data["impactTests"] = this.impactTests ? this.impactTests.toJSON() : undefined;
|
|
54312
|
+
data["corrosionTests"] = this.corrosionTests ? this.corrosionTests.toJSON() : undefined;
|
|
54313
|
+
data["ferriteContentAndMicrostructure"] = this.ferriteContentAndMicrostructure ? this.ferriteContentAndMicrostructure.toJSON() : undefined;
|
|
54314
|
+
return data;
|
|
54315
|
+
}
|
|
54316
|
+
}
|
|
54317
|
+
export class AmcTypeDocumentTypesResultChecksDto {
|
|
54318
|
+
constructor(data) {
|
|
54319
|
+
if (data) {
|
|
54320
|
+
for (var property in data) {
|
|
54321
|
+
if (data.hasOwnProperty(property))
|
|
54322
|
+
this[property] = data[property];
|
|
54323
|
+
}
|
|
54324
|
+
}
|
|
54325
|
+
}
|
|
54326
|
+
init(_data) {
|
|
54327
|
+
if (_data) {
|
|
54328
|
+
this.heatTreatmentCertificate = _data["heatTreatmentCertificate"] ? AmcTypeResultLine.fromJS(_data["heatTreatmentCertificate"]) : undefined;
|
|
54329
|
+
this.ultrasonicControlCertificate = _data["ultrasonicControlCertificate"] ? AmcTypeResultLine.fromJS(_data["ultrasonicControlCertificate"]) : undefined;
|
|
54330
|
+
this.liquidPenetrantCertificate = _data["liquidPenetrantCertificate"] ? AmcTypeResultLine.fromJS(_data["liquidPenetrantCertificate"]) : undefined;
|
|
54331
|
+
this.testReport = _data["testReport"] ? AmcTypeResultLine.fromJS(_data["testReport"]) : undefined;
|
|
54332
|
+
this.dimensionalReport = _data["dimensionalReport"] ? AmcTypeResultLine.fromJS(_data["dimensionalReport"]) : undefined;
|
|
54333
|
+
this.dyePenetrantReport = _data["dyePenetrantReport"] ? AmcTypeResultLine.fromJS(_data["dyePenetrantReport"]) : undefined;
|
|
54334
|
+
this.visualReport = _data["visualReport"] ? AmcTypeResultLine.fromJS(_data["visualReport"]) : undefined;
|
|
54335
|
+
this.certificateOfAnalyticalAndMechanicalTests = _data["certificateOfAnalyticalAndMechanicalTests"] ? AmcTypeResultLine.fromJS(_data["certificateOfAnalyticalAndMechanicalTests"]) : undefined;
|
|
54336
|
+
this.certificateOfTest = _data["certificateOfTest"] ? AmcTypeResultLine.fromJS(_data["certificateOfTest"]) : undefined;
|
|
54337
|
+
this.technicalReport = _data["technicalReport"] ? AmcTypeResultLine.fromJS(_data["technicalReport"]) : undefined;
|
|
54338
|
+
this.microExaminationReport = _data["microExaminationReport"] ? AmcTypeResultLine.fromJS(_data["microExaminationReport"]) : undefined;
|
|
54339
|
+
this.radiologicalReport = _data["radiologicalReport"] ? AmcTypeResultLine.fromJS(_data["radiologicalReport"]) : undefined;
|
|
54340
|
+
}
|
|
54341
|
+
}
|
|
54342
|
+
static fromJS(data) {
|
|
54343
|
+
data = typeof data === 'object' ? data : {};
|
|
54344
|
+
let result = new AmcTypeDocumentTypesResultChecksDto();
|
|
54345
|
+
result.init(data);
|
|
54346
|
+
return result;
|
|
54347
|
+
}
|
|
54348
|
+
toJSON(data) {
|
|
54349
|
+
data = typeof data === 'object' ? data : {};
|
|
54350
|
+
data["heatTreatmentCertificate"] = this.heatTreatmentCertificate ? this.heatTreatmentCertificate.toJSON() : undefined;
|
|
54351
|
+
data["ultrasonicControlCertificate"] = this.ultrasonicControlCertificate ? this.ultrasonicControlCertificate.toJSON() : undefined;
|
|
54352
|
+
data["liquidPenetrantCertificate"] = this.liquidPenetrantCertificate ? this.liquidPenetrantCertificate.toJSON() : undefined;
|
|
54353
|
+
data["testReport"] = this.testReport ? this.testReport.toJSON() : undefined;
|
|
54354
|
+
data["dimensionalReport"] = this.dimensionalReport ? this.dimensionalReport.toJSON() : undefined;
|
|
54355
|
+
data["dyePenetrantReport"] = this.dyePenetrantReport ? this.dyePenetrantReport.toJSON() : undefined;
|
|
54356
|
+
data["visualReport"] = this.visualReport ? this.visualReport.toJSON() : undefined;
|
|
54357
|
+
data["certificateOfAnalyticalAndMechanicalTests"] = this.certificateOfAnalyticalAndMechanicalTests ? this.certificateOfAnalyticalAndMechanicalTests.toJSON() : undefined;
|
|
54358
|
+
data["certificateOfTest"] = this.certificateOfTest ? this.certificateOfTest.toJSON() : undefined;
|
|
54359
|
+
data["technicalReport"] = this.technicalReport ? this.technicalReport.toJSON() : undefined;
|
|
54360
|
+
data["microExaminationReport"] = this.microExaminationReport ? this.microExaminationReport.toJSON() : undefined;
|
|
54361
|
+
data["radiologicalReport"] = this.radiologicalReport ? this.radiologicalReport.toJSON() : undefined;
|
|
54362
|
+
return data;
|
|
54363
|
+
}
|
|
54364
|
+
}
|
|
54365
|
+
export class AmcChemistrySpecificationResultDto {
|
|
54366
|
+
constructor(data) {
|
|
54367
|
+
if (data) {
|
|
54368
|
+
for (var property in data) {
|
|
54369
|
+
if (data.hasOwnProperty(property))
|
|
54370
|
+
this[property] = data[property];
|
|
54371
|
+
}
|
|
54372
|
+
}
|
|
54373
|
+
}
|
|
54374
|
+
init(_data) {
|
|
54375
|
+
if (_data) {
|
|
54376
|
+
this.carbon = _data["carbon"] ? AmcSpecificationResultLineDto.fromJS(_data["carbon"]) : undefined;
|
|
54377
|
+
this.manganese = _data["manganese"] ? AmcSpecificationResultLineDto.fromJS(_data["manganese"]) : undefined;
|
|
54378
|
+
this.silicon = _data["silicon"] ? AmcSpecificationResultLineDto.fromJS(_data["silicon"]) : undefined;
|
|
54379
|
+
this.phosphorus = _data["phosphorus"] ? AmcSpecificationResultLineDto.fromJS(_data["phosphorus"]) : undefined;
|
|
54380
|
+
this.sulfur = _data["sulfur"] ? AmcSpecificationResultLineDto.fromJS(_data["sulfur"]) : undefined;
|
|
54381
|
+
this.chromium = _data["chromium"] ? AmcSpecificationResultLineDto.fromJS(_data["chromium"]) : undefined;
|
|
54382
|
+
this.nickel = _data["nickel"] ? AmcSpecificationResultLineDto.fromJS(_data["nickel"]) : undefined;
|
|
54383
|
+
this.molybdenum = _data["molybdenum"] ? AmcSpecificationResultLineDto.fromJS(_data["molybdenum"]) : undefined;
|
|
54384
|
+
this.copper = _data["copper"] ? AmcSpecificationResultLineDto.fromJS(_data["copper"]) : undefined;
|
|
54385
|
+
this.nitrogen = _data["nitrogen"] ? AmcSpecificationResultLineDto.fromJS(_data["nitrogen"]) : undefined;
|
|
54386
|
+
this.wolfram = _data["wolfram"] ? AmcSpecificationResultLineDto.fromJS(_data["wolfram"]) : undefined;
|
|
54387
|
+
this.iron = _data["iron"] ? AmcSpecificationResultLineDto.fromJS(_data["iron"]) : undefined;
|
|
54388
|
+
}
|
|
54389
|
+
}
|
|
54390
|
+
static fromJS(data) {
|
|
54391
|
+
data = typeof data === 'object' ? data : {};
|
|
54392
|
+
let result = new AmcChemistrySpecificationResultDto();
|
|
54393
|
+
result.init(data);
|
|
54394
|
+
return result;
|
|
54395
|
+
}
|
|
54396
|
+
toJSON(data) {
|
|
54397
|
+
data = typeof data === 'object' ? data : {};
|
|
54398
|
+
data["carbon"] = this.carbon ? this.carbon.toJSON() : undefined;
|
|
54399
|
+
data["manganese"] = this.manganese ? this.manganese.toJSON() : undefined;
|
|
54400
|
+
data["silicon"] = this.silicon ? this.silicon.toJSON() : undefined;
|
|
54401
|
+
data["phosphorus"] = this.phosphorus ? this.phosphorus.toJSON() : undefined;
|
|
54402
|
+
data["sulfur"] = this.sulfur ? this.sulfur.toJSON() : undefined;
|
|
54403
|
+
data["chromium"] = this.chromium ? this.chromium.toJSON() : undefined;
|
|
54404
|
+
data["nickel"] = this.nickel ? this.nickel.toJSON() : undefined;
|
|
54405
|
+
data["molybdenum"] = this.molybdenum ? this.molybdenum.toJSON() : undefined;
|
|
54406
|
+
data["copper"] = this.copper ? this.copper.toJSON() : undefined;
|
|
54407
|
+
data["nitrogen"] = this.nitrogen ? this.nitrogen.toJSON() : undefined;
|
|
54408
|
+
data["wolfram"] = this.wolfram ? this.wolfram.toJSON() : undefined;
|
|
54409
|
+
data["iron"] = this.iron ? this.iron.toJSON() : undefined;
|
|
54410
|
+
return data;
|
|
54411
|
+
}
|
|
54412
|
+
}
|
|
54413
|
+
export class AmcSpecificationResultLineDto {
|
|
54414
|
+
constructor(data) {
|
|
54415
|
+
if (data) {
|
|
54416
|
+
for (var property in data) {
|
|
54417
|
+
if (data.hasOwnProperty(property))
|
|
54418
|
+
this[property] = data[property];
|
|
54419
|
+
}
|
|
54420
|
+
}
|
|
54421
|
+
}
|
|
54422
|
+
init(_data) {
|
|
54423
|
+
if (_data) {
|
|
54424
|
+
this.specificationOperator = _data["specificationOperator"];
|
|
54425
|
+
this.specificationValue1 = _data["specificationValue1"];
|
|
54426
|
+
this.specificationValue2 = _data["specificationValue2"];
|
|
54427
|
+
this.specificationSymbol = _data["specificationSymbol"];
|
|
54428
|
+
this.readValue = _data["readValue"];
|
|
54429
|
+
this.status = _data["status"];
|
|
54430
|
+
this.approved = _data["approved"];
|
|
54431
|
+
this.comment = _data["comment"];
|
|
54432
|
+
this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
|
|
54433
|
+
this.createdBy = _data["createdBy"];
|
|
54434
|
+
this.createdById = _data["createdById"];
|
|
54435
|
+
this.updated = _data["updated"] ? new Date(_data["updated"].toString()) : undefined;
|
|
54436
|
+
this.updatedBy = _data["updatedBy"];
|
|
54437
|
+
this.updatedById = _data["updatedById"];
|
|
54438
|
+
}
|
|
54439
|
+
}
|
|
54440
|
+
static fromJS(data) {
|
|
54441
|
+
data = typeof data === 'object' ? data : {};
|
|
54442
|
+
let result = new AmcSpecificationResultLineDto();
|
|
54443
|
+
result.init(data);
|
|
54444
|
+
return result;
|
|
54445
|
+
}
|
|
54446
|
+
toJSON(data) {
|
|
54447
|
+
data = typeof data === 'object' ? data : {};
|
|
54448
|
+
data["specificationOperator"] = this.specificationOperator;
|
|
54449
|
+
data["specificationValue1"] = this.specificationValue1;
|
|
54450
|
+
data["specificationValue2"] = this.specificationValue2;
|
|
54451
|
+
data["specificationSymbol"] = this.specificationSymbol;
|
|
54452
|
+
data["readValue"] = this.readValue;
|
|
54453
|
+
data["status"] = this.status;
|
|
54454
|
+
data["approved"] = this.approved;
|
|
54455
|
+
data["comment"] = this.comment;
|
|
54456
|
+
data["created"] = this.created ? this.created.toISOString() : undefined;
|
|
54457
|
+
data["createdBy"] = this.createdBy;
|
|
54458
|
+
data["createdById"] = this.createdById;
|
|
54459
|
+
data["updated"] = this.updated ? this.updated.toISOString() : undefined;
|
|
54460
|
+
data["updatedBy"] = this.updatedBy;
|
|
54461
|
+
data["updatedById"] = this.updatedById;
|
|
54462
|
+
return data;
|
|
54463
|
+
}
|
|
54464
|
+
}
|
|
54465
|
+
export class AmcMechanicalSpecificationResultDto {
|
|
54466
|
+
constructor(data) {
|
|
54467
|
+
if (data) {
|
|
54468
|
+
for (var property in data) {
|
|
54469
|
+
if (data.hasOwnProperty(property))
|
|
54470
|
+
this[property] = data[property];
|
|
54471
|
+
}
|
|
54472
|
+
}
|
|
54473
|
+
}
|
|
54474
|
+
init(_data) {
|
|
54475
|
+
if (_data) {
|
|
54476
|
+
this.yieldStrength = _data["yieldStrength"] ? AmcSpecificationResultLineDto.fromJS(_data["yieldStrength"]) : undefined;
|
|
54477
|
+
this.tensileStrength = _data["tensileStrength"] ? AmcSpecificationResultLineDto.fromJS(_data["tensileStrength"]) : undefined;
|
|
54478
|
+
this.elongation = _data["elongation"] ? AmcSpecificationResultLineDto.fromJS(_data["elongation"]) : undefined;
|
|
54479
|
+
this.reductionOfArea = _data["reductionOfArea"] ? AmcSpecificationResultLineDto.fromJS(_data["reductionOfArea"]) : undefined;
|
|
54480
|
+
this.impactEnergy = _data["impactEnergy"] ? AmcSpecificationResultLineDto.fromJS(_data["impactEnergy"]) : undefined;
|
|
54481
|
+
this.hardness = _data["hardness"] ? AmcSpecificationResultLineDto.fromJS(_data["hardness"]) : undefined;
|
|
54482
|
+
}
|
|
54483
|
+
}
|
|
54484
|
+
static fromJS(data) {
|
|
54485
|
+
data = typeof data === 'object' ? data : {};
|
|
54486
|
+
let result = new AmcMechanicalSpecificationResultDto();
|
|
54487
|
+
result.init(data);
|
|
54488
|
+
return result;
|
|
54489
|
+
}
|
|
54490
|
+
toJSON(data) {
|
|
54491
|
+
data = typeof data === 'object' ? data : {};
|
|
54492
|
+
data["yieldStrength"] = this.yieldStrength ? this.yieldStrength.toJSON() : undefined;
|
|
54493
|
+
data["tensileStrength"] = this.tensileStrength ? this.tensileStrength.toJSON() : undefined;
|
|
54494
|
+
data["elongation"] = this.elongation ? this.elongation.toJSON() : undefined;
|
|
54495
|
+
data["reductionOfArea"] = this.reductionOfArea ? this.reductionOfArea.toJSON() : undefined;
|
|
54496
|
+
data["impactEnergy"] = this.impactEnergy ? this.impactEnergy.toJSON() : undefined;
|
|
54497
|
+
data["hardness"] = this.hardness ? this.hardness.toJSON() : undefined;
|
|
54498
|
+
return data;
|
|
54499
|
+
}
|
|
54500
|
+
}
|
|
54501
|
+
export class AmcFerriteSpecificationResultDto {
|
|
54502
|
+
constructor(data) {
|
|
54503
|
+
if (data) {
|
|
54504
|
+
for (var property in data) {
|
|
54505
|
+
if (data.hasOwnProperty(property))
|
|
54506
|
+
this[property] = data[property];
|
|
54507
|
+
}
|
|
54508
|
+
}
|
|
54509
|
+
if (!data) {
|
|
54510
|
+
this.measurementMethod = [];
|
|
54511
|
+
}
|
|
54512
|
+
}
|
|
54513
|
+
init(_data) {
|
|
54514
|
+
if (_data) {
|
|
54515
|
+
this.ferriteContent = _data["ferriteContent"] ? AmcSpecificationResultLineDto.fromJS(_data["ferriteContent"]) : undefined;
|
|
54516
|
+
if (Array.isArray(_data["measurementMethod"])) {
|
|
54517
|
+
this.measurementMethod = [];
|
|
54518
|
+
for (let item of _data["measurementMethod"])
|
|
54519
|
+
this.measurementMethod.push(item);
|
|
54520
|
+
}
|
|
54521
|
+
}
|
|
54522
|
+
}
|
|
54523
|
+
static fromJS(data) {
|
|
54524
|
+
data = typeof data === 'object' ? data : {};
|
|
54525
|
+
let result = new AmcFerriteSpecificationResultDto();
|
|
54526
|
+
result.init(data);
|
|
54527
|
+
return result;
|
|
54528
|
+
}
|
|
54529
|
+
toJSON(data) {
|
|
54530
|
+
data = typeof data === 'object' ? data : {};
|
|
54531
|
+
data["ferriteContent"] = this.ferriteContent ? this.ferriteContent.toJSON() : undefined;
|
|
54532
|
+
if (Array.isArray(this.measurementMethod)) {
|
|
54533
|
+
data["measurementMethod"] = [];
|
|
54534
|
+
for (let item of this.measurementMethod)
|
|
54535
|
+
data["measurementMethod"].push(item);
|
|
54536
|
+
}
|
|
54537
|
+
return data;
|
|
54538
|
+
}
|
|
54539
|
+
}
|
|
54540
|
+
export class AmcHeatTreatmentSpecificationResultDto {
|
|
54541
|
+
constructor(data) {
|
|
54542
|
+
if (data) {
|
|
54543
|
+
for (var property in data) {
|
|
54544
|
+
if (data.hasOwnProperty(property))
|
|
54545
|
+
this[property] = data[property];
|
|
54546
|
+
}
|
|
54547
|
+
}
|
|
54548
|
+
if (!data) {
|
|
54549
|
+
this.heatTreatmentType = [];
|
|
54550
|
+
this.coolingMethod = [];
|
|
54551
|
+
this.treatedCondition = [];
|
|
54552
|
+
this.verificationMethod = [];
|
|
54553
|
+
}
|
|
54554
|
+
}
|
|
54555
|
+
init(_data) {
|
|
54556
|
+
if (_data) {
|
|
54557
|
+
if (Array.isArray(_data["heatTreatmentType"])) {
|
|
54558
|
+
this.heatTreatmentType = [];
|
|
54559
|
+
for (let item of _data["heatTreatmentType"])
|
|
54560
|
+
this.heatTreatmentType.push(item);
|
|
54561
|
+
}
|
|
54562
|
+
this.treatmentTemperature = _data["treatmentTemperature"] ? AmcSpecificationResultLineDto.fromJS(_data["treatmentTemperature"]) : undefined;
|
|
54563
|
+
this.holdingTime = _data["holdingTime"] ? AmcSpecificationResultLineDto.fromJS(_data["holdingTime"]) : undefined;
|
|
54564
|
+
if (Array.isArray(_data["coolingMethod"])) {
|
|
54565
|
+
this.coolingMethod = [];
|
|
54566
|
+
for (let item of _data["coolingMethod"])
|
|
54567
|
+
this.coolingMethod.push(item);
|
|
54568
|
+
}
|
|
54569
|
+
if (Array.isArray(_data["treatedCondition"])) {
|
|
54570
|
+
this.treatedCondition = [];
|
|
54571
|
+
for (let item of _data["treatedCondition"])
|
|
54572
|
+
this.treatedCondition.push(item);
|
|
54573
|
+
}
|
|
54574
|
+
if (Array.isArray(_data["verificationMethod"])) {
|
|
54575
|
+
this.verificationMethod = [];
|
|
54576
|
+
for (let item of _data["verificationMethod"])
|
|
54577
|
+
this.verificationMethod.push(item);
|
|
54578
|
+
}
|
|
54579
|
+
}
|
|
54580
|
+
}
|
|
54581
|
+
static fromJS(data) {
|
|
54582
|
+
data = typeof data === 'object' ? data : {};
|
|
54583
|
+
let result = new AmcHeatTreatmentSpecificationResultDto();
|
|
54584
|
+
result.init(data);
|
|
54585
|
+
return result;
|
|
54586
|
+
}
|
|
54587
|
+
toJSON(data) {
|
|
54588
|
+
data = typeof data === 'object' ? data : {};
|
|
54589
|
+
if (Array.isArray(this.heatTreatmentType)) {
|
|
54590
|
+
data["heatTreatmentType"] = [];
|
|
54591
|
+
for (let item of this.heatTreatmentType)
|
|
54592
|
+
data["heatTreatmentType"].push(item);
|
|
54593
|
+
}
|
|
54594
|
+
data["treatmentTemperature"] = this.treatmentTemperature ? this.treatmentTemperature.toJSON() : undefined;
|
|
54595
|
+
data["holdingTime"] = this.holdingTime ? this.holdingTime.toJSON() : undefined;
|
|
54596
|
+
if (Array.isArray(this.coolingMethod)) {
|
|
54597
|
+
data["coolingMethod"] = [];
|
|
54598
|
+
for (let item of this.coolingMethod)
|
|
54599
|
+
data["coolingMethod"].push(item);
|
|
54600
|
+
}
|
|
54601
|
+
if (Array.isArray(this.treatedCondition)) {
|
|
54602
|
+
data["treatedCondition"] = [];
|
|
54603
|
+
for (let item of this.treatedCondition)
|
|
54604
|
+
data["treatedCondition"].push(item);
|
|
54605
|
+
}
|
|
54606
|
+
if (Array.isArray(this.verificationMethod)) {
|
|
54607
|
+
data["verificationMethod"] = [];
|
|
54608
|
+
for (let item of this.verificationMethod)
|
|
54609
|
+
data["verificationMethod"].push(item);
|
|
54610
|
+
}
|
|
54611
|
+
return data;
|
|
54612
|
+
}
|
|
54613
|
+
}
|
|
54614
|
+
export class ProcessAmcCheckRequestDto {
|
|
54615
|
+
constructor(data) {
|
|
54616
|
+
if (data) {
|
|
54617
|
+
for (var property in data) {
|
|
54618
|
+
if (data.hasOwnProperty(property))
|
|
54619
|
+
this[property] = data[property];
|
|
54620
|
+
}
|
|
54621
|
+
}
|
|
54622
|
+
if (!data) {
|
|
54623
|
+
this.files = [];
|
|
54624
|
+
}
|
|
54625
|
+
}
|
|
54626
|
+
init(_data) {
|
|
54627
|
+
if (_data) {
|
|
54628
|
+
if (Array.isArray(_data["files"])) {
|
|
54629
|
+
this.files = [];
|
|
54630
|
+
for (let item of _data["files"])
|
|
54631
|
+
this.files.push(UploadFileDto.fromJS(item));
|
|
54632
|
+
}
|
|
54633
|
+
this.specificationId = _data["specificationId"];
|
|
54634
|
+
this.specificationVersion = _data["specificationVersion"];
|
|
54635
|
+
this.certificateTypeId = _data["certificateTypeId"];
|
|
54636
|
+
this.certificateTypeVersion = _data["certificateTypeVersion"];
|
|
54637
|
+
this.purchaseOrder = _data["purchaseOrder"];
|
|
54638
|
+
}
|
|
54639
|
+
}
|
|
54640
|
+
static fromJS(data) {
|
|
54641
|
+
data = typeof data === 'object' ? data : {};
|
|
54642
|
+
let result = new ProcessAmcCheckRequestDto();
|
|
54643
|
+
result.init(data);
|
|
54644
|
+
return result;
|
|
54645
|
+
}
|
|
54646
|
+
toJSON(data) {
|
|
54647
|
+
data = typeof data === 'object' ? data : {};
|
|
54648
|
+
if (Array.isArray(this.files)) {
|
|
54649
|
+
data["files"] = [];
|
|
54650
|
+
for (let item of this.files)
|
|
54651
|
+
data["files"].push(item ? item.toJSON() : undefined);
|
|
54652
|
+
}
|
|
54653
|
+
data["specificationId"] = this.specificationId;
|
|
54654
|
+
data["specificationVersion"] = this.specificationVersion;
|
|
54655
|
+
data["certificateTypeId"] = this.certificateTypeId;
|
|
54656
|
+
data["certificateTypeVersion"] = this.certificateTypeVersion;
|
|
54657
|
+
data["purchaseOrder"] = this.purchaseOrder;
|
|
54658
|
+
return data;
|
|
54659
|
+
}
|
|
54660
|
+
}
|
|
54661
|
+
export class UpdateAmcResultRequestDto {
|
|
54662
|
+
constructor(data) {
|
|
54663
|
+
if (data) {
|
|
54664
|
+
for (var property in data) {
|
|
54665
|
+
if (data.hasOwnProperty(property))
|
|
54666
|
+
this[property] = data[property];
|
|
54667
|
+
}
|
|
54668
|
+
}
|
|
54669
|
+
if (!data) {
|
|
54670
|
+
this.certificateTypeSection = new UpdateAmcTypeResultChecksDto();
|
|
54671
|
+
this.chemistrySpecification = new UpdateAmcChemistrySpecificationResultDto();
|
|
54672
|
+
this.mechanicalSpecification = new UpdateAmcMechanicalSpecificationResultDto();
|
|
54673
|
+
this.ferriteSpecification = new UpdateAmcFerriteSpecificationResultDto();
|
|
54674
|
+
this.heatSpecification = new UpdateAmcHeatTreatmentSpecificationResultDto();
|
|
54675
|
+
}
|
|
54676
|
+
}
|
|
54677
|
+
init(_data) {
|
|
54678
|
+
if (_data) {
|
|
54679
|
+
this.certificateId = _data["certificateId"];
|
|
54680
|
+
this.project = _data["project"];
|
|
54681
|
+
this.purchaseOrder = _data["purchaseOrder"];
|
|
54682
|
+
this.workOrder = _data["workOrder"];
|
|
54683
|
+
this.updateStatus = _data["updateStatus"];
|
|
54684
|
+
this.certificateTypeSection = _data["certificateTypeSection"] ? UpdateAmcTypeResultChecksDto.fromJS(_data["certificateTypeSection"]) : new UpdateAmcTypeResultChecksDto();
|
|
54685
|
+
this.chemistrySpecification = _data["chemistrySpecification"] ? UpdateAmcChemistrySpecificationResultDto.fromJS(_data["chemistrySpecification"]) : new UpdateAmcChemistrySpecificationResultDto();
|
|
54686
|
+
this.mechanicalSpecification = _data["mechanicalSpecification"] ? UpdateAmcMechanicalSpecificationResultDto.fromJS(_data["mechanicalSpecification"]) : new UpdateAmcMechanicalSpecificationResultDto();
|
|
54687
|
+
this.ferriteSpecification = _data["ferriteSpecification"] ? UpdateAmcFerriteSpecificationResultDto.fromJS(_data["ferriteSpecification"]) : new UpdateAmcFerriteSpecificationResultDto();
|
|
54688
|
+
this.heatSpecification = _data["heatSpecification"] ? UpdateAmcHeatTreatmentSpecificationResultDto.fromJS(_data["heatSpecification"]) : new UpdateAmcHeatTreatmentSpecificationResultDto();
|
|
54689
|
+
}
|
|
54690
|
+
}
|
|
54691
|
+
static fromJS(data) {
|
|
54692
|
+
data = typeof data === 'object' ? data : {};
|
|
54693
|
+
let result = new UpdateAmcResultRequestDto();
|
|
54694
|
+
result.init(data);
|
|
54695
|
+
return result;
|
|
54696
|
+
}
|
|
54697
|
+
toJSON(data) {
|
|
54698
|
+
data = typeof data === 'object' ? data : {};
|
|
54699
|
+
data["certificateId"] = this.certificateId;
|
|
54700
|
+
data["project"] = this.project;
|
|
54701
|
+
data["purchaseOrder"] = this.purchaseOrder;
|
|
54702
|
+
data["workOrder"] = this.workOrder;
|
|
54703
|
+
data["updateStatus"] = this.updateStatus;
|
|
54704
|
+
data["certificateTypeSection"] = this.certificateTypeSection ? this.certificateTypeSection.toJSON() : undefined;
|
|
54705
|
+
data["chemistrySpecification"] = this.chemistrySpecification ? this.chemistrySpecification.toJSON() : undefined;
|
|
54706
|
+
data["mechanicalSpecification"] = this.mechanicalSpecification ? this.mechanicalSpecification.toJSON() : undefined;
|
|
54707
|
+
data["ferriteSpecification"] = this.ferriteSpecification ? this.ferriteSpecification.toJSON() : undefined;
|
|
54708
|
+
data["heatSpecification"] = this.heatSpecification ? this.heatSpecification.toJSON() : undefined;
|
|
54709
|
+
return data;
|
|
54710
|
+
}
|
|
54711
|
+
}
|
|
54712
|
+
export class UpdateAmcTypeResultChecksDto {
|
|
54713
|
+
constructor(data) {
|
|
54714
|
+
if (data) {
|
|
54715
|
+
for (var property in data) {
|
|
54716
|
+
if (data.hasOwnProperty(property))
|
|
54717
|
+
this[property] = data[property];
|
|
54718
|
+
}
|
|
54719
|
+
}
|
|
54720
|
+
if (!data) {
|
|
54721
|
+
this.manufacturer = new UpdateAmcTypeManufacturerResultChecksDto();
|
|
54722
|
+
this.signature = new UpdateAmcTypeSignatureResultChecksDto();
|
|
54723
|
+
this.thirdParty = new UpdateAmcTypeThirdPartyResultChecksDto();
|
|
54724
|
+
this.certification = new UpdateAmcTypeCertificationResultChecksDto();
|
|
54725
|
+
this.productAndOrderInformation = new UpdateAmcTypeProductAndOrderInformationResultChecksDto();
|
|
54726
|
+
this.testMethodsAndReferences = new UpdateAmcTypeTestMethodsAndReferencesResultChecksDto();
|
|
54727
|
+
this.testResults = new UpdateAmcTypeTestResultsResultChecksDto();
|
|
54728
|
+
this.documentTypes = new UpdateAmcTypeDocumentTypesResultChecksDto();
|
|
54729
|
+
}
|
|
54730
|
+
}
|
|
54731
|
+
init(_data) {
|
|
54732
|
+
if (_data) {
|
|
54733
|
+
this.manufacturer = _data["manufacturer"] ? UpdateAmcTypeManufacturerResultChecksDto.fromJS(_data["manufacturer"]) : new UpdateAmcTypeManufacturerResultChecksDto();
|
|
54734
|
+
this.signature = _data["signature"] ? UpdateAmcTypeSignatureResultChecksDto.fromJS(_data["signature"]) : new UpdateAmcTypeSignatureResultChecksDto();
|
|
54735
|
+
this.thirdParty = _data["thirdParty"] ? UpdateAmcTypeThirdPartyResultChecksDto.fromJS(_data["thirdParty"]) : new UpdateAmcTypeThirdPartyResultChecksDto();
|
|
54736
|
+
this.certification = _data["certification"] ? UpdateAmcTypeCertificationResultChecksDto.fromJS(_data["certification"]) : new UpdateAmcTypeCertificationResultChecksDto();
|
|
54737
|
+
this.productAndOrderInformation = _data["productAndOrderInformation"] ? UpdateAmcTypeProductAndOrderInformationResultChecksDto.fromJS(_data["productAndOrderInformation"]) : new UpdateAmcTypeProductAndOrderInformationResultChecksDto();
|
|
54738
|
+
this.testMethodsAndReferences = _data["testMethodsAndReferences"] ? UpdateAmcTypeTestMethodsAndReferencesResultChecksDto.fromJS(_data["testMethodsAndReferences"]) : new UpdateAmcTypeTestMethodsAndReferencesResultChecksDto();
|
|
54739
|
+
this.testResults = _data["testResults"] ? UpdateAmcTypeTestResultsResultChecksDto.fromJS(_data["testResults"]) : new UpdateAmcTypeTestResultsResultChecksDto();
|
|
54740
|
+
this.documentTypes = _data["documentTypes"] ? UpdateAmcTypeDocumentTypesResultChecksDto.fromJS(_data["documentTypes"]) : new UpdateAmcTypeDocumentTypesResultChecksDto();
|
|
54741
|
+
}
|
|
54742
|
+
}
|
|
54743
|
+
static fromJS(data) {
|
|
54744
|
+
data = typeof data === 'object' ? data : {};
|
|
54745
|
+
let result = new UpdateAmcTypeResultChecksDto();
|
|
54746
|
+
result.init(data);
|
|
54747
|
+
return result;
|
|
54748
|
+
}
|
|
54749
|
+
toJSON(data) {
|
|
54750
|
+
data = typeof data === 'object' ? data : {};
|
|
54751
|
+
data["manufacturer"] = this.manufacturer ? this.manufacturer.toJSON() : undefined;
|
|
54752
|
+
data["signature"] = this.signature ? this.signature.toJSON() : undefined;
|
|
54753
|
+
data["thirdParty"] = this.thirdParty ? this.thirdParty.toJSON() : undefined;
|
|
54754
|
+
data["certification"] = this.certification ? this.certification.toJSON() : undefined;
|
|
54755
|
+
data["productAndOrderInformation"] = this.productAndOrderInformation ? this.productAndOrderInformation.toJSON() : undefined;
|
|
54756
|
+
data["testMethodsAndReferences"] = this.testMethodsAndReferences ? this.testMethodsAndReferences.toJSON() : undefined;
|
|
54757
|
+
data["testResults"] = this.testResults ? this.testResults.toJSON() : undefined;
|
|
54758
|
+
data["documentTypes"] = this.documentTypes ? this.documentTypes.toJSON() : undefined;
|
|
54759
|
+
return data;
|
|
54760
|
+
}
|
|
54761
|
+
}
|
|
54762
|
+
export class UpdateAmcTypeManufacturerResultChecksDto {
|
|
54763
|
+
constructor(data) {
|
|
54764
|
+
if (data) {
|
|
54765
|
+
for (var property in data) {
|
|
54766
|
+
if (data.hasOwnProperty(property))
|
|
54767
|
+
this[property] = data[property];
|
|
54768
|
+
}
|
|
54769
|
+
}
|
|
54770
|
+
}
|
|
54771
|
+
init(_data) {
|
|
54772
|
+
if (_data) {
|
|
54773
|
+
this.manufacturer = _data["manufacturer"] ? UpdateAmcTypeResultLine.fromJS(_data["manufacturer"]) : undefined;
|
|
54774
|
+
this.address = _data["address"] ? UpdateAmcTypeResultLine.fromJS(_data["address"]) : undefined;
|
|
54775
|
+
this.contact = _data["contact"] ? UpdateAmcTypeResultLine.fromJS(_data["contact"]) : undefined;
|
|
54776
|
+
}
|
|
54777
|
+
}
|
|
54778
|
+
static fromJS(data) {
|
|
54779
|
+
data = typeof data === 'object' ? data : {};
|
|
54780
|
+
let result = new UpdateAmcTypeManufacturerResultChecksDto();
|
|
54781
|
+
result.init(data);
|
|
54782
|
+
return result;
|
|
54783
|
+
}
|
|
54784
|
+
toJSON(data) {
|
|
54785
|
+
data = typeof data === 'object' ? data : {};
|
|
54786
|
+
data["manufacturer"] = this.manufacturer ? this.manufacturer.toJSON() : undefined;
|
|
54787
|
+
data["address"] = this.address ? this.address.toJSON() : undefined;
|
|
54788
|
+
data["contact"] = this.contact ? this.contact.toJSON() : undefined;
|
|
54789
|
+
return data;
|
|
54790
|
+
}
|
|
54791
|
+
}
|
|
54792
|
+
export class UpdateAmcTypeResultLine {
|
|
54793
|
+
constructor(data) {
|
|
54794
|
+
if (data) {
|
|
54795
|
+
for (var property in data) {
|
|
54796
|
+
if (data.hasOwnProperty(property))
|
|
54797
|
+
this[property] = data[property];
|
|
54798
|
+
}
|
|
54799
|
+
}
|
|
54800
|
+
}
|
|
54801
|
+
init(_data) {
|
|
54802
|
+
if (_data) {
|
|
54803
|
+
this.approved = _data["approved"];
|
|
54804
|
+
this.comment = _data["comment"];
|
|
54805
|
+
}
|
|
54806
|
+
}
|
|
54807
|
+
static fromJS(data) {
|
|
54808
|
+
data = typeof data === 'object' ? data : {};
|
|
54809
|
+
let result = new UpdateAmcTypeResultLine();
|
|
54810
|
+
result.init(data);
|
|
54811
|
+
return result;
|
|
54812
|
+
}
|
|
54813
|
+
toJSON(data) {
|
|
54814
|
+
data = typeof data === 'object' ? data : {};
|
|
54815
|
+
data["approved"] = this.approved;
|
|
54816
|
+
data["comment"] = this.comment;
|
|
54817
|
+
return data;
|
|
54818
|
+
}
|
|
54819
|
+
}
|
|
54820
|
+
export class UpdateAmcTypeSignatureResultChecksDto {
|
|
54821
|
+
constructor(data) {
|
|
54822
|
+
if (data) {
|
|
54823
|
+
for (var property in data) {
|
|
54824
|
+
if (data.hasOwnProperty(property))
|
|
54825
|
+
this[property] = data[property];
|
|
54826
|
+
}
|
|
54827
|
+
}
|
|
54828
|
+
}
|
|
54829
|
+
init(_data) {
|
|
54830
|
+
if (_data) {
|
|
54831
|
+
this.certifiedBy = _data["certifiedBy"] ? UpdateAmcTypeResultLine.fromJS(_data["certifiedBy"]) : undefined;
|
|
54832
|
+
this.position = _data["position"] ? UpdateAmcTypeResultLine.fromJS(_data["position"]) : undefined;
|
|
54833
|
+
this.signature = _data["signature"] ? UpdateAmcTypeResultLine.fromJS(_data["signature"]) : undefined;
|
|
54834
|
+
this.date = _data["date"] ? UpdateAmcTypeResultLine.fromJS(_data["date"]) : undefined;
|
|
54835
|
+
this.stamp = _data["stamp"] ? UpdateAmcTypeResultLine.fromJS(_data["stamp"]) : undefined;
|
|
54836
|
+
}
|
|
54837
|
+
}
|
|
54838
|
+
static fromJS(data) {
|
|
54839
|
+
data = typeof data === 'object' ? data : {};
|
|
54840
|
+
let result = new UpdateAmcTypeSignatureResultChecksDto();
|
|
54841
|
+
result.init(data);
|
|
54842
|
+
return result;
|
|
54843
|
+
}
|
|
54844
|
+
toJSON(data) {
|
|
54845
|
+
data = typeof data === 'object' ? data : {};
|
|
54846
|
+
data["certifiedBy"] = this.certifiedBy ? this.certifiedBy.toJSON() : undefined;
|
|
54847
|
+
data["position"] = this.position ? this.position.toJSON() : undefined;
|
|
54848
|
+
data["signature"] = this.signature ? this.signature.toJSON() : undefined;
|
|
54849
|
+
data["date"] = this.date ? this.date.toJSON() : undefined;
|
|
54850
|
+
data["stamp"] = this.stamp ? this.stamp.toJSON() : undefined;
|
|
54851
|
+
return data;
|
|
54852
|
+
}
|
|
54853
|
+
}
|
|
54854
|
+
export class UpdateAmcTypeThirdPartyResultChecksDto {
|
|
54855
|
+
constructor(data) {
|
|
54856
|
+
if (data) {
|
|
54857
|
+
for (var property in data) {
|
|
54858
|
+
if (data.hasOwnProperty(property))
|
|
54859
|
+
this[property] = data[property];
|
|
54860
|
+
}
|
|
54861
|
+
}
|
|
54862
|
+
}
|
|
54863
|
+
init(_data) {
|
|
54864
|
+
if (_data) {
|
|
54865
|
+
this.inspectionBody = _data["inspectionBody"] ? UpdateAmcTypeResultLine.fromJS(_data["inspectionBody"]) : undefined;
|
|
54866
|
+
this.inspectorName = _data["inspectorName"] ? UpdateAmcTypeResultLine.fromJS(_data["inspectorName"]) : undefined;
|
|
54867
|
+
this.position = _data["position"] ? UpdateAmcTypeResultLine.fromJS(_data["position"]) : undefined;
|
|
54868
|
+
this.verificationMethod = _data["verificationMethod"] ? UpdateAmcTypeResultLine.fromJS(_data["verificationMethod"]) : undefined;
|
|
54869
|
+
this.signature = _data["signature"] ? UpdateAmcTypeResultLine.fromJS(_data["signature"]) : undefined;
|
|
54870
|
+
this.date = _data["date"] ? UpdateAmcTypeResultLine.fromJS(_data["date"]) : undefined;
|
|
54871
|
+
this.stamp = _data["stamp"] ? UpdateAmcTypeResultLine.fromJS(_data["stamp"]) : undefined;
|
|
54872
|
+
}
|
|
54873
|
+
}
|
|
54874
|
+
static fromJS(data) {
|
|
54875
|
+
data = typeof data === 'object' ? data : {};
|
|
54876
|
+
let result = new UpdateAmcTypeThirdPartyResultChecksDto();
|
|
54877
|
+
result.init(data);
|
|
54878
|
+
return result;
|
|
54879
|
+
}
|
|
54880
|
+
toJSON(data) {
|
|
54881
|
+
data = typeof data === 'object' ? data : {};
|
|
54882
|
+
data["inspectionBody"] = this.inspectionBody ? this.inspectionBody.toJSON() : undefined;
|
|
54883
|
+
data["inspectorName"] = this.inspectorName ? this.inspectorName.toJSON() : undefined;
|
|
54884
|
+
data["position"] = this.position ? this.position.toJSON() : undefined;
|
|
54885
|
+
data["verificationMethod"] = this.verificationMethod ? this.verificationMethod.toJSON() : undefined;
|
|
54886
|
+
data["signature"] = this.signature ? this.signature.toJSON() : undefined;
|
|
54887
|
+
data["date"] = this.date ? this.date.toJSON() : undefined;
|
|
54888
|
+
data["stamp"] = this.stamp ? this.stamp.toJSON() : undefined;
|
|
54889
|
+
return data;
|
|
54890
|
+
}
|
|
54891
|
+
}
|
|
54892
|
+
export class UpdateAmcTypeCertificationResultChecksDto {
|
|
54893
|
+
constructor(data) {
|
|
54894
|
+
if (data) {
|
|
54895
|
+
for (var property in data) {
|
|
54896
|
+
if (data.hasOwnProperty(property))
|
|
54897
|
+
this[property] = data[property];
|
|
54898
|
+
}
|
|
54899
|
+
}
|
|
54900
|
+
}
|
|
54901
|
+
init(_data) {
|
|
54902
|
+
if (_data) {
|
|
54903
|
+
this.certificateOfCompliance = _data["certificateOfCompliance"] ? UpdateAmcTypeResultLine.fromJS(_data["certificateOfCompliance"]) : undefined;
|
|
54904
|
+
this.inspectionCertificate = _data["inspectionCertificate"] ? UpdateAmcTypeResultLine.fromJS(_data["inspectionCertificate"]) : undefined;
|
|
54905
|
+
}
|
|
54906
|
+
}
|
|
54907
|
+
static fromJS(data) {
|
|
54908
|
+
data = typeof data === 'object' ? data : {};
|
|
54909
|
+
let result = new UpdateAmcTypeCertificationResultChecksDto();
|
|
54910
|
+
result.init(data);
|
|
54911
|
+
return result;
|
|
54912
|
+
}
|
|
54913
|
+
toJSON(data) {
|
|
54914
|
+
data = typeof data === 'object' ? data : {};
|
|
54915
|
+
data["certificateOfCompliance"] = this.certificateOfCompliance ? this.certificateOfCompliance.toJSON() : undefined;
|
|
54916
|
+
data["inspectionCertificate"] = this.inspectionCertificate ? this.inspectionCertificate.toJSON() : undefined;
|
|
54917
|
+
return data;
|
|
54918
|
+
}
|
|
54919
|
+
}
|
|
54920
|
+
export class UpdateAmcTypeProductAndOrderInformationResultChecksDto {
|
|
54921
|
+
constructor(data) {
|
|
54922
|
+
if (data) {
|
|
54923
|
+
for (var property in data) {
|
|
54924
|
+
if (data.hasOwnProperty(property))
|
|
54925
|
+
this[property] = data[property];
|
|
54926
|
+
}
|
|
54927
|
+
}
|
|
54928
|
+
}
|
|
54929
|
+
init(_data) {
|
|
54930
|
+
if (_data) {
|
|
54931
|
+
this.productDescription = _data["productDescription"] ? UpdateAmcTypeResultLine.fromJS(_data["productDescription"]) : undefined;
|
|
54932
|
+
this.materialGrade = _data["materialGrade"] ? UpdateAmcTypeResultLine.fromJS(_data["materialGrade"]) : undefined;
|
|
54933
|
+
this.customer = _data["customer"] ? UpdateAmcTypeResultLine.fromJS(_data["customer"]) : undefined;
|
|
54934
|
+
this.customerOrderNumber = _data["customerOrderNumber"] ? UpdateAmcTypeResultLine.fromJS(_data["customerOrderNumber"]) : undefined;
|
|
54935
|
+
this.dimensionsOrWeight = _data["dimensionsOrWeight"] ? UpdateAmcTypeResultLine.fromJS(_data["dimensionsOrWeight"]) : undefined;
|
|
54936
|
+
this.batchNumber = _data["batchNumber"] ? UpdateAmcTypeResultLine.fromJS(_data["batchNumber"]) : undefined;
|
|
54937
|
+
this.heatNumber = _data["heatNumber"] ? UpdateAmcTypeResultLine.fromJS(_data["heatNumber"]) : undefined;
|
|
54938
|
+
this.relatedStandards = _data["relatedStandards"] ? UpdateAmcTypeResultLine.fromJS(_data["relatedStandards"]) : undefined;
|
|
54939
|
+
}
|
|
54940
|
+
}
|
|
54941
|
+
static fromJS(data) {
|
|
54942
|
+
data = typeof data === 'object' ? data : {};
|
|
54943
|
+
let result = new UpdateAmcTypeProductAndOrderInformationResultChecksDto();
|
|
54944
|
+
result.init(data);
|
|
54945
|
+
return result;
|
|
54946
|
+
}
|
|
54947
|
+
toJSON(data) {
|
|
54948
|
+
data = typeof data === 'object' ? data : {};
|
|
54949
|
+
data["productDescription"] = this.productDescription ? this.productDescription.toJSON() : undefined;
|
|
54950
|
+
data["materialGrade"] = this.materialGrade ? this.materialGrade.toJSON() : undefined;
|
|
54951
|
+
data["customer"] = this.customer ? this.customer.toJSON() : undefined;
|
|
54952
|
+
data["customerOrderNumber"] = this.customerOrderNumber ? this.customerOrderNumber.toJSON() : undefined;
|
|
54953
|
+
data["dimensionsOrWeight"] = this.dimensionsOrWeight ? this.dimensionsOrWeight.toJSON() : undefined;
|
|
54954
|
+
data["batchNumber"] = this.batchNumber ? this.batchNumber.toJSON() : undefined;
|
|
54955
|
+
data["heatNumber"] = this.heatNumber ? this.heatNumber.toJSON() : undefined;
|
|
54956
|
+
data["relatedStandards"] = this.relatedStandards ? this.relatedStandards.toJSON() : undefined;
|
|
54957
|
+
return data;
|
|
54958
|
+
}
|
|
54959
|
+
}
|
|
54960
|
+
export class UpdateAmcTypeTestMethodsAndReferencesResultChecksDto {
|
|
54961
|
+
constructor(data) {
|
|
54962
|
+
if (data) {
|
|
54963
|
+
for (var property in data) {
|
|
54964
|
+
if (data.hasOwnProperty(property))
|
|
54965
|
+
this[property] = data[property];
|
|
54966
|
+
}
|
|
54967
|
+
}
|
|
54968
|
+
}
|
|
54969
|
+
init(_data) {
|
|
54970
|
+
if (_data) {
|
|
54971
|
+
this.usedStandards = _data["usedStandards"] ? UpdateAmcTypeResultLine.fromJS(_data["usedStandards"]) : undefined;
|
|
54972
|
+
}
|
|
54973
|
+
}
|
|
54974
|
+
static fromJS(data) {
|
|
54975
|
+
data = typeof data === 'object' ? data : {};
|
|
54976
|
+
let result = new UpdateAmcTypeTestMethodsAndReferencesResultChecksDto();
|
|
54977
|
+
result.init(data);
|
|
54978
|
+
return result;
|
|
54979
|
+
}
|
|
54980
|
+
toJSON(data) {
|
|
54981
|
+
data = typeof data === 'object' ? data : {};
|
|
54982
|
+
data["usedStandards"] = this.usedStandards ? this.usedStandards.toJSON() : undefined;
|
|
54983
|
+
return data;
|
|
54984
|
+
}
|
|
54985
|
+
}
|
|
54986
|
+
export class UpdateAmcTypeTestResultsResultChecksDto {
|
|
54987
|
+
constructor(data) {
|
|
54988
|
+
if (data) {
|
|
54989
|
+
for (var property in data) {
|
|
54990
|
+
if (data.hasOwnProperty(property))
|
|
54991
|
+
this[property] = data[property];
|
|
54992
|
+
}
|
|
54993
|
+
}
|
|
54994
|
+
}
|
|
54995
|
+
init(_data) {
|
|
54996
|
+
if (_data) {
|
|
54997
|
+
this.mechanicalProperties = _data["mechanicalProperties"] ? UpdateAmcTypeResultLine.fromJS(_data["mechanicalProperties"]) : undefined;
|
|
54998
|
+
this.chemicalAnalysis = _data["chemicalAnalysis"] ? UpdateAmcTypeResultLine.fromJS(_data["chemicalAnalysis"]) : undefined;
|
|
54999
|
+
this.impactTests = _data["impactTests"] ? UpdateAmcTypeResultLine.fromJS(_data["impactTests"]) : undefined;
|
|
55000
|
+
this.corrosionTests = _data["corrosionTests"] ? UpdateAmcTypeResultLine.fromJS(_data["corrosionTests"]) : undefined;
|
|
55001
|
+
this.ferriteContentAndMicrostructure = _data["ferriteContentAndMicrostructure"] ? UpdateAmcTypeResultLine.fromJS(_data["ferriteContentAndMicrostructure"]) : undefined;
|
|
55002
|
+
}
|
|
55003
|
+
}
|
|
55004
|
+
static fromJS(data) {
|
|
55005
|
+
data = typeof data === 'object' ? data : {};
|
|
55006
|
+
let result = new UpdateAmcTypeTestResultsResultChecksDto();
|
|
55007
|
+
result.init(data);
|
|
55008
|
+
return result;
|
|
55009
|
+
}
|
|
55010
|
+
toJSON(data) {
|
|
55011
|
+
data = typeof data === 'object' ? data : {};
|
|
55012
|
+
data["mechanicalProperties"] = this.mechanicalProperties ? this.mechanicalProperties.toJSON() : undefined;
|
|
55013
|
+
data["chemicalAnalysis"] = this.chemicalAnalysis ? this.chemicalAnalysis.toJSON() : undefined;
|
|
55014
|
+
data["impactTests"] = this.impactTests ? this.impactTests.toJSON() : undefined;
|
|
55015
|
+
data["corrosionTests"] = this.corrosionTests ? this.corrosionTests.toJSON() : undefined;
|
|
55016
|
+
data["ferriteContentAndMicrostructure"] = this.ferriteContentAndMicrostructure ? this.ferriteContentAndMicrostructure.toJSON() : undefined;
|
|
55017
|
+
return data;
|
|
55018
|
+
}
|
|
55019
|
+
}
|
|
55020
|
+
export class UpdateAmcTypeDocumentTypesResultChecksDto {
|
|
55021
|
+
constructor(data) {
|
|
55022
|
+
if (data) {
|
|
55023
|
+
for (var property in data) {
|
|
55024
|
+
if (data.hasOwnProperty(property))
|
|
55025
|
+
this[property] = data[property];
|
|
55026
|
+
}
|
|
55027
|
+
}
|
|
55028
|
+
}
|
|
55029
|
+
init(_data) {
|
|
55030
|
+
if (_data) {
|
|
55031
|
+
this.heatTreatmentCertificate = _data["heatTreatmentCertificate"] ? UpdateAmcTypeResultLine.fromJS(_data["heatTreatmentCertificate"]) : undefined;
|
|
55032
|
+
this.ultrasonicControlCertificate = _data["ultrasonicControlCertificate"] ? UpdateAmcTypeResultLine.fromJS(_data["ultrasonicControlCertificate"]) : undefined;
|
|
55033
|
+
this.liquidPenetrantCertificate = _data["liquidPenetrantCertificate"] ? UpdateAmcTypeResultLine.fromJS(_data["liquidPenetrantCertificate"]) : undefined;
|
|
55034
|
+
this.testReport = _data["testReport"] ? UpdateAmcTypeResultLine.fromJS(_data["testReport"]) : undefined;
|
|
55035
|
+
this.dimensionalReport = _data["dimensionalReport"] ? UpdateAmcTypeResultLine.fromJS(_data["dimensionalReport"]) : undefined;
|
|
55036
|
+
this.dyePenetrantReport = _data["dyePenetrantReport"] ? UpdateAmcTypeResultLine.fromJS(_data["dyePenetrantReport"]) : undefined;
|
|
55037
|
+
this.visualReport = _data["visualReport"] ? UpdateAmcTypeResultLine.fromJS(_data["visualReport"]) : undefined;
|
|
55038
|
+
this.certificateOfAnalyticalAndMechanicalTests = _data["certificateOfAnalyticalAndMechanicalTests"] ? UpdateAmcTypeResultLine.fromJS(_data["certificateOfAnalyticalAndMechanicalTests"]) : undefined;
|
|
55039
|
+
this.certificateOfTest = _data["certificateOfTest"] ? UpdateAmcTypeResultLine.fromJS(_data["certificateOfTest"]) : undefined;
|
|
55040
|
+
this.technicalReport = _data["technicalReport"] ? UpdateAmcTypeResultLine.fromJS(_data["technicalReport"]) : undefined;
|
|
55041
|
+
this.microExaminationReport = _data["microExaminationReport"] ? UpdateAmcTypeResultLine.fromJS(_data["microExaminationReport"]) : undefined;
|
|
55042
|
+
this.radiologicalReport = _data["radiologicalReport"] ? UpdateAmcTypeResultLine.fromJS(_data["radiologicalReport"]) : undefined;
|
|
55043
|
+
}
|
|
55044
|
+
}
|
|
55045
|
+
static fromJS(data) {
|
|
55046
|
+
data = typeof data === 'object' ? data : {};
|
|
55047
|
+
let result = new UpdateAmcTypeDocumentTypesResultChecksDto();
|
|
55048
|
+
result.init(data);
|
|
55049
|
+
return result;
|
|
55050
|
+
}
|
|
55051
|
+
toJSON(data) {
|
|
55052
|
+
data = typeof data === 'object' ? data : {};
|
|
55053
|
+
data["heatTreatmentCertificate"] = this.heatTreatmentCertificate ? this.heatTreatmentCertificate.toJSON() : undefined;
|
|
55054
|
+
data["ultrasonicControlCertificate"] = this.ultrasonicControlCertificate ? this.ultrasonicControlCertificate.toJSON() : undefined;
|
|
55055
|
+
data["liquidPenetrantCertificate"] = this.liquidPenetrantCertificate ? this.liquidPenetrantCertificate.toJSON() : undefined;
|
|
55056
|
+
data["testReport"] = this.testReport ? this.testReport.toJSON() : undefined;
|
|
55057
|
+
data["dimensionalReport"] = this.dimensionalReport ? this.dimensionalReport.toJSON() : undefined;
|
|
55058
|
+
data["dyePenetrantReport"] = this.dyePenetrantReport ? this.dyePenetrantReport.toJSON() : undefined;
|
|
55059
|
+
data["visualReport"] = this.visualReport ? this.visualReport.toJSON() : undefined;
|
|
55060
|
+
data["certificateOfAnalyticalAndMechanicalTests"] = this.certificateOfAnalyticalAndMechanicalTests ? this.certificateOfAnalyticalAndMechanicalTests.toJSON() : undefined;
|
|
55061
|
+
data["certificateOfTest"] = this.certificateOfTest ? this.certificateOfTest.toJSON() : undefined;
|
|
55062
|
+
data["technicalReport"] = this.technicalReport ? this.technicalReport.toJSON() : undefined;
|
|
55063
|
+
data["microExaminationReport"] = this.microExaminationReport ? this.microExaminationReport.toJSON() : undefined;
|
|
55064
|
+
data["radiologicalReport"] = this.radiologicalReport ? this.radiologicalReport.toJSON() : undefined;
|
|
55065
|
+
return data;
|
|
55066
|
+
}
|
|
55067
|
+
}
|
|
55068
|
+
export class UpdateAmcChemistrySpecificationResultDto {
|
|
55069
|
+
constructor(data) {
|
|
55070
|
+
if (data) {
|
|
55071
|
+
for (var property in data) {
|
|
55072
|
+
if (data.hasOwnProperty(property))
|
|
55073
|
+
this[property] = data[property];
|
|
55074
|
+
}
|
|
55075
|
+
}
|
|
55076
|
+
}
|
|
55077
|
+
init(_data) {
|
|
55078
|
+
if (_data) {
|
|
55079
|
+
this.carbon = _data["carbon"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["carbon"]) : undefined;
|
|
55080
|
+
this.manganese = _data["manganese"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["manganese"]) : undefined;
|
|
55081
|
+
this.silicon = _data["silicon"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["silicon"]) : undefined;
|
|
55082
|
+
this.phosphorus = _data["phosphorus"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["phosphorus"]) : undefined;
|
|
55083
|
+
this.sulfur = _data["sulfur"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["sulfur"]) : undefined;
|
|
55084
|
+
this.chromium = _data["chromium"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["chromium"]) : undefined;
|
|
55085
|
+
this.nickel = _data["nickel"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["nickel"]) : undefined;
|
|
55086
|
+
this.molybdenum = _data["molybdenum"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["molybdenum"]) : undefined;
|
|
55087
|
+
this.copper = _data["copper"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["copper"]) : undefined;
|
|
55088
|
+
this.nitrogen = _data["nitrogen"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["nitrogen"]) : undefined;
|
|
55089
|
+
this.wolfram = _data["wolfram"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["wolfram"]) : undefined;
|
|
55090
|
+
this.iron = _data["iron"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["iron"]) : undefined;
|
|
55091
|
+
}
|
|
55092
|
+
}
|
|
55093
|
+
static fromJS(data) {
|
|
55094
|
+
data = typeof data === 'object' ? data : {};
|
|
55095
|
+
let result = new UpdateAmcChemistrySpecificationResultDto();
|
|
55096
|
+
result.init(data);
|
|
55097
|
+
return result;
|
|
55098
|
+
}
|
|
55099
|
+
toJSON(data) {
|
|
55100
|
+
data = typeof data === 'object' ? data : {};
|
|
55101
|
+
data["carbon"] = this.carbon ? this.carbon.toJSON() : undefined;
|
|
55102
|
+
data["manganese"] = this.manganese ? this.manganese.toJSON() : undefined;
|
|
55103
|
+
data["silicon"] = this.silicon ? this.silicon.toJSON() : undefined;
|
|
55104
|
+
data["phosphorus"] = this.phosphorus ? this.phosphorus.toJSON() : undefined;
|
|
55105
|
+
data["sulfur"] = this.sulfur ? this.sulfur.toJSON() : undefined;
|
|
55106
|
+
data["chromium"] = this.chromium ? this.chromium.toJSON() : undefined;
|
|
55107
|
+
data["nickel"] = this.nickel ? this.nickel.toJSON() : undefined;
|
|
55108
|
+
data["molybdenum"] = this.molybdenum ? this.molybdenum.toJSON() : undefined;
|
|
55109
|
+
data["copper"] = this.copper ? this.copper.toJSON() : undefined;
|
|
55110
|
+
data["nitrogen"] = this.nitrogen ? this.nitrogen.toJSON() : undefined;
|
|
55111
|
+
data["wolfram"] = this.wolfram ? this.wolfram.toJSON() : undefined;
|
|
55112
|
+
data["iron"] = this.iron ? this.iron.toJSON() : undefined;
|
|
55113
|
+
return data;
|
|
55114
|
+
}
|
|
55115
|
+
}
|
|
55116
|
+
export class UpdateAmcSpecificationResultLineDto {
|
|
55117
|
+
constructor(data) {
|
|
55118
|
+
if (data) {
|
|
55119
|
+
for (var property in data) {
|
|
55120
|
+
if (data.hasOwnProperty(property))
|
|
55121
|
+
this[property] = data[property];
|
|
55122
|
+
}
|
|
55123
|
+
}
|
|
55124
|
+
}
|
|
55125
|
+
init(_data) {
|
|
55126
|
+
if (_data) {
|
|
55127
|
+
this.approved = _data["approved"];
|
|
55128
|
+
this.comment = _data["comment"];
|
|
55129
|
+
}
|
|
55130
|
+
}
|
|
55131
|
+
static fromJS(data) {
|
|
55132
|
+
data = typeof data === 'object' ? data : {};
|
|
55133
|
+
let result = new UpdateAmcSpecificationResultLineDto();
|
|
55134
|
+
result.init(data);
|
|
55135
|
+
return result;
|
|
55136
|
+
}
|
|
55137
|
+
toJSON(data) {
|
|
55138
|
+
data = typeof data === 'object' ? data : {};
|
|
55139
|
+
data["approved"] = this.approved;
|
|
55140
|
+
data["comment"] = this.comment;
|
|
55141
|
+
return data;
|
|
55142
|
+
}
|
|
55143
|
+
}
|
|
55144
|
+
export class UpdateAmcMechanicalSpecificationResultDto {
|
|
55145
|
+
constructor(data) {
|
|
55146
|
+
if (data) {
|
|
55147
|
+
for (var property in data) {
|
|
55148
|
+
if (data.hasOwnProperty(property))
|
|
55149
|
+
this[property] = data[property];
|
|
55150
|
+
}
|
|
55151
|
+
}
|
|
55152
|
+
}
|
|
55153
|
+
init(_data) {
|
|
55154
|
+
if (_data) {
|
|
55155
|
+
this.yieldStrength = _data["yieldStrength"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["yieldStrength"]) : undefined;
|
|
55156
|
+
this.tensileStrength = _data["tensileStrength"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["tensileStrength"]) : undefined;
|
|
55157
|
+
this.elongation = _data["elongation"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["elongation"]) : undefined;
|
|
55158
|
+
this.reductionOfArea = _data["reductionOfArea"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["reductionOfArea"]) : undefined;
|
|
55159
|
+
this.impactEnergy = _data["impactEnergy"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["impactEnergy"]) : undefined;
|
|
55160
|
+
this.hardness = _data["hardness"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["hardness"]) : undefined;
|
|
55161
|
+
}
|
|
55162
|
+
}
|
|
55163
|
+
static fromJS(data) {
|
|
55164
|
+
data = typeof data === 'object' ? data : {};
|
|
55165
|
+
let result = new UpdateAmcMechanicalSpecificationResultDto();
|
|
55166
|
+
result.init(data);
|
|
55167
|
+
return result;
|
|
55168
|
+
}
|
|
55169
|
+
toJSON(data) {
|
|
55170
|
+
data = typeof data === 'object' ? data : {};
|
|
55171
|
+
data["yieldStrength"] = this.yieldStrength ? this.yieldStrength.toJSON() : undefined;
|
|
55172
|
+
data["tensileStrength"] = this.tensileStrength ? this.tensileStrength.toJSON() : undefined;
|
|
55173
|
+
data["elongation"] = this.elongation ? this.elongation.toJSON() : undefined;
|
|
55174
|
+
data["reductionOfArea"] = this.reductionOfArea ? this.reductionOfArea.toJSON() : undefined;
|
|
55175
|
+
data["impactEnergy"] = this.impactEnergy ? this.impactEnergy.toJSON() : undefined;
|
|
55176
|
+
data["hardness"] = this.hardness ? this.hardness.toJSON() : undefined;
|
|
55177
|
+
return data;
|
|
55178
|
+
}
|
|
55179
|
+
}
|
|
55180
|
+
export class UpdateAmcFerriteSpecificationResultDto {
|
|
55181
|
+
constructor(data) {
|
|
55182
|
+
if (data) {
|
|
55183
|
+
for (var property in data) {
|
|
55184
|
+
if (data.hasOwnProperty(property))
|
|
55185
|
+
this[property] = data[property];
|
|
55186
|
+
}
|
|
55187
|
+
}
|
|
55188
|
+
if (!data) {
|
|
55189
|
+
this.measurementMethod = [];
|
|
55190
|
+
}
|
|
55191
|
+
}
|
|
55192
|
+
init(_data) {
|
|
55193
|
+
if (_data) {
|
|
55194
|
+
this.ferriteContent = _data["ferriteContent"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["ferriteContent"]) : undefined;
|
|
55195
|
+
if (Array.isArray(_data["measurementMethod"])) {
|
|
55196
|
+
this.measurementMethod = [];
|
|
55197
|
+
for (let item of _data["measurementMethod"])
|
|
55198
|
+
this.measurementMethod.push(item);
|
|
55199
|
+
}
|
|
55200
|
+
}
|
|
55201
|
+
}
|
|
55202
|
+
static fromJS(data) {
|
|
55203
|
+
data = typeof data === 'object' ? data : {};
|
|
55204
|
+
let result = new UpdateAmcFerriteSpecificationResultDto();
|
|
55205
|
+
result.init(data);
|
|
55206
|
+
return result;
|
|
55207
|
+
}
|
|
55208
|
+
toJSON(data) {
|
|
55209
|
+
data = typeof data === 'object' ? data : {};
|
|
55210
|
+
data["ferriteContent"] = this.ferriteContent ? this.ferriteContent.toJSON() : undefined;
|
|
55211
|
+
if (Array.isArray(this.measurementMethod)) {
|
|
55212
|
+
data["measurementMethod"] = [];
|
|
55213
|
+
for (let item of this.measurementMethod)
|
|
55214
|
+
data["measurementMethod"].push(item);
|
|
55215
|
+
}
|
|
55216
|
+
return data;
|
|
55217
|
+
}
|
|
55218
|
+
}
|
|
55219
|
+
export class UpdateAmcHeatTreatmentSpecificationResultDto {
|
|
55220
|
+
constructor(data) {
|
|
55221
|
+
if (data) {
|
|
55222
|
+
for (var property in data) {
|
|
55223
|
+
if (data.hasOwnProperty(property))
|
|
55224
|
+
this[property] = data[property];
|
|
55225
|
+
}
|
|
55226
|
+
}
|
|
55227
|
+
if (!data) {
|
|
55228
|
+
this.heatTreatmentType = [];
|
|
55229
|
+
this.coolingMethod = [];
|
|
55230
|
+
this.treatedCondition = [];
|
|
55231
|
+
this.verificationMethod = [];
|
|
55232
|
+
}
|
|
55233
|
+
}
|
|
55234
|
+
init(_data) {
|
|
55235
|
+
if (_data) {
|
|
55236
|
+
if (Array.isArray(_data["heatTreatmentType"])) {
|
|
55237
|
+
this.heatTreatmentType = [];
|
|
55238
|
+
for (let item of _data["heatTreatmentType"])
|
|
55239
|
+
this.heatTreatmentType.push(item);
|
|
55240
|
+
}
|
|
55241
|
+
this.treatmentTemperature = _data["treatmentTemperature"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["treatmentTemperature"]) : undefined;
|
|
55242
|
+
this.holdingTime = _data["holdingTime"] ? UpdateAmcSpecificationResultLineDto.fromJS(_data["holdingTime"]) : undefined;
|
|
55243
|
+
if (Array.isArray(_data["coolingMethod"])) {
|
|
55244
|
+
this.coolingMethod = [];
|
|
55245
|
+
for (let item of _data["coolingMethod"])
|
|
55246
|
+
this.coolingMethod.push(item);
|
|
55247
|
+
}
|
|
55248
|
+
if (Array.isArray(_data["treatedCondition"])) {
|
|
55249
|
+
this.treatedCondition = [];
|
|
55250
|
+
for (let item of _data["treatedCondition"])
|
|
55251
|
+
this.treatedCondition.push(item);
|
|
55252
|
+
}
|
|
55253
|
+
if (Array.isArray(_data["verificationMethod"])) {
|
|
55254
|
+
this.verificationMethod = [];
|
|
55255
|
+
for (let item of _data["verificationMethod"])
|
|
55256
|
+
this.verificationMethod.push(item);
|
|
55257
|
+
}
|
|
55258
|
+
}
|
|
55259
|
+
}
|
|
55260
|
+
static fromJS(data) {
|
|
55261
|
+
data = typeof data === 'object' ? data : {};
|
|
55262
|
+
let result = new UpdateAmcHeatTreatmentSpecificationResultDto();
|
|
55263
|
+
result.init(data);
|
|
55264
|
+
return result;
|
|
55265
|
+
}
|
|
55266
|
+
toJSON(data) {
|
|
55267
|
+
data = typeof data === 'object' ? data : {};
|
|
55268
|
+
if (Array.isArray(this.heatTreatmentType)) {
|
|
55269
|
+
data["heatTreatmentType"] = [];
|
|
55270
|
+
for (let item of this.heatTreatmentType)
|
|
55271
|
+
data["heatTreatmentType"].push(item);
|
|
55272
|
+
}
|
|
55273
|
+
data["treatmentTemperature"] = this.treatmentTemperature ? this.treatmentTemperature.toJSON() : undefined;
|
|
55274
|
+
data["holdingTime"] = this.holdingTime ? this.holdingTime.toJSON() : undefined;
|
|
55275
|
+
if (Array.isArray(this.coolingMethod)) {
|
|
55276
|
+
data["coolingMethod"] = [];
|
|
55277
|
+
for (let item of this.coolingMethod)
|
|
55278
|
+
data["coolingMethod"].push(item);
|
|
55279
|
+
}
|
|
55280
|
+
if (Array.isArray(this.treatedCondition)) {
|
|
55281
|
+
data["treatedCondition"] = [];
|
|
55282
|
+
for (let item of this.treatedCondition)
|
|
55283
|
+
data["treatedCondition"].push(item);
|
|
55284
|
+
}
|
|
55285
|
+
if (Array.isArray(this.verificationMethod)) {
|
|
55286
|
+
data["verificationMethod"] = [];
|
|
55287
|
+
for (let item of this.verificationMethod)
|
|
55288
|
+
data["verificationMethod"].push(item);
|
|
55289
|
+
}
|
|
55290
|
+
return data;
|
|
55291
|
+
}
|
|
55292
|
+
}
|
|
55293
|
+
export class AmcSpecificationLiteDto {
|
|
55294
|
+
constructor(data) {
|
|
55295
|
+
if (data) {
|
|
55296
|
+
for (var property in data) {
|
|
55297
|
+
if (data.hasOwnProperty(property))
|
|
55298
|
+
this[property] = data[property];
|
|
55299
|
+
}
|
|
55300
|
+
}
|
|
55301
|
+
if (!data) {
|
|
55302
|
+
this.relatedStandards = [];
|
|
55303
|
+
}
|
|
55304
|
+
}
|
|
55305
|
+
init(_data) {
|
|
55306
|
+
if (_data) {
|
|
55307
|
+
this.specificationId = _data["specificationId"];
|
|
55308
|
+
this.version = _data["version"];
|
|
55309
|
+
this.name = _data["name"];
|
|
55310
|
+
this.number = _data["number"];
|
|
55311
|
+
this.revision = _data["revision"];
|
|
55312
|
+
this.date = _data["date"] ? new Date(_data["date"].toString()) : undefined;
|
|
55313
|
+
this.status = _data["status"];
|
|
55314
|
+
this.summary = _data["summary"];
|
|
55315
|
+
if (Array.isArray(_data["relatedStandards"])) {
|
|
55316
|
+
this.relatedStandards = [];
|
|
55317
|
+
for (let item of _data["relatedStandards"])
|
|
55318
|
+
this.relatedStandards.push(item);
|
|
55319
|
+
}
|
|
55320
|
+
this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
|
|
55321
|
+
this.createdBy = _data["createdBy"];
|
|
55322
|
+
this.createdById = _data["createdById"];
|
|
55323
|
+
this.updatedBy = _data["updatedBy"];
|
|
55324
|
+
this.updatedById = _data["updatedById"];
|
|
55325
|
+
}
|
|
55326
|
+
}
|
|
55327
|
+
static fromJS(data) {
|
|
55328
|
+
data = typeof data === 'object' ? data : {};
|
|
55329
|
+
let result = new AmcSpecificationLiteDto();
|
|
55330
|
+
result.init(data);
|
|
55331
|
+
return result;
|
|
55332
|
+
}
|
|
55333
|
+
toJSON(data) {
|
|
55334
|
+
data = typeof data === 'object' ? data : {};
|
|
55335
|
+
data["specificationId"] = this.specificationId;
|
|
55336
|
+
data["version"] = this.version;
|
|
55337
|
+
data["name"] = this.name;
|
|
55338
|
+
data["number"] = this.number;
|
|
55339
|
+
data["revision"] = this.revision;
|
|
55340
|
+
data["date"] = this.date ? this.date.toISOString() : undefined;
|
|
55341
|
+
data["status"] = this.status;
|
|
55342
|
+
data["summary"] = this.summary;
|
|
55343
|
+
if (Array.isArray(this.relatedStandards)) {
|
|
55344
|
+
data["relatedStandards"] = [];
|
|
55345
|
+
for (let item of this.relatedStandards)
|
|
55346
|
+
data["relatedStandards"].push(item);
|
|
55347
|
+
}
|
|
55348
|
+
data["created"] = this.created ? this.created.toISOString() : undefined;
|
|
55349
|
+
data["createdBy"] = this.createdBy;
|
|
55350
|
+
data["createdById"] = this.createdById;
|
|
55351
|
+
data["updatedBy"] = this.updatedBy;
|
|
55352
|
+
data["updatedById"] = this.updatedById;
|
|
55353
|
+
return data;
|
|
55354
|
+
}
|
|
55355
|
+
}
|
|
55356
|
+
export class AmcSpecificationDto {
|
|
55357
|
+
constructor(data) {
|
|
55358
|
+
if (data) {
|
|
55359
|
+
for (var property in data) {
|
|
55360
|
+
if (data.hasOwnProperty(property))
|
|
55361
|
+
this[property] = data[property];
|
|
55362
|
+
}
|
|
55363
|
+
}
|
|
55364
|
+
if (!data) {
|
|
55365
|
+
this.relatedStandards = [];
|
|
55366
|
+
this.chemistrySpecification = new AmcChemistrySpecificationDto();
|
|
55367
|
+
this.mechanicalSpecification = new AmcMechanicalSpecificationDto();
|
|
55368
|
+
this.ferriteSpecification = new AmcFerriteSpecificationDto();
|
|
55369
|
+
this.heatSpecification = new AmcHeatTreatmentSpecificationDto();
|
|
55370
|
+
}
|
|
55371
|
+
}
|
|
55372
|
+
init(_data) {
|
|
55373
|
+
if (_data) {
|
|
55374
|
+
this.specificationId = _data["specificationId"];
|
|
55375
|
+
this.version = _data["version"];
|
|
55376
|
+
this.name = _data["name"];
|
|
55377
|
+
this.number = _data["number"];
|
|
55378
|
+
this.revision = _data["revision"];
|
|
55379
|
+
this.date = _data["date"] ? new Date(_data["date"].toString()) : undefined;
|
|
55380
|
+
this.status = _data["status"];
|
|
55381
|
+
this.summary = _data["summary"];
|
|
55382
|
+
if (Array.isArray(_data["relatedStandards"])) {
|
|
55383
|
+
this.relatedStandards = [];
|
|
55384
|
+
for (let item of _data["relatedStandards"])
|
|
55385
|
+
this.relatedStandards.push(item);
|
|
55386
|
+
}
|
|
55387
|
+
this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
|
|
55388
|
+
this.createdBy = _data["createdBy"];
|
|
55389
|
+
this.createdById = _data["createdById"];
|
|
55390
|
+
this.updatedBy = _data["updatedBy"];
|
|
55391
|
+
this.updatedById = _data["updatedById"];
|
|
55392
|
+
this.chemistrySpecification = _data["chemistrySpecification"] ? AmcChemistrySpecificationDto.fromJS(_data["chemistrySpecification"]) : new AmcChemistrySpecificationDto();
|
|
55393
|
+
this.mechanicalSpecification = _data["mechanicalSpecification"] ? AmcMechanicalSpecificationDto.fromJS(_data["mechanicalSpecification"]) : new AmcMechanicalSpecificationDto();
|
|
55394
|
+
this.ferriteSpecification = _data["ferriteSpecification"] ? AmcFerriteSpecificationDto.fromJS(_data["ferriteSpecification"]) : new AmcFerriteSpecificationDto();
|
|
55395
|
+
this.heatSpecification = _data["heatSpecification"] ? AmcHeatTreatmentSpecificationDto.fromJS(_data["heatSpecification"]) : new AmcHeatTreatmentSpecificationDto();
|
|
55396
|
+
}
|
|
55397
|
+
}
|
|
55398
|
+
static fromJS(data) {
|
|
55399
|
+
data = typeof data === 'object' ? data : {};
|
|
55400
|
+
let result = new AmcSpecificationDto();
|
|
55401
|
+
result.init(data);
|
|
55402
|
+
return result;
|
|
55403
|
+
}
|
|
55404
|
+
toJSON(data) {
|
|
55405
|
+
data = typeof data === 'object' ? data : {};
|
|
55406
|
+
data["specificationId"] = this.specificationId;
|
|
55407
|
+
data["version"] = this.version;
|
|
55408
|
+
data["name"] = this.name;
|
|
55409
|
+
data["number"] = this.number;
|
|
55410
|
+
data["revision"] = this.revision;
|
|
55411
|
+
data["date"] = this.date ? this.date.toISOString() : undefined;
|
|
55412
|
+
data["status"] = this.status;
|
|
55413
|
+
data["summary"] = this.summary;
|
|
55414
|
+
if (Array.isArray(this.relatedStandards)) {
|
|
55415
|
+
data["relatedStandards"] = [];
|
|
55416
|
+
for (let item of this.relatedStandards)
|
|
55417
|
+
data["relatedStandards"].push(item);
|
|
55418
|
+
}
|
|
55419
|
+
data["created"] = this.created ? this.created.toISOString() : undefined;
|
|
55420
|
+
data["createdBy"] = this.createdBy;
|
|
55421
|
+
data["createdById"] = this.createdById;
|
|
55422
|
+
data["updatedBy"] = this.updatedBy;
|
|
55423
|
+
data["updatedById"] = this.updatedById;
|
|
55424
|
+
data["chemistrySpecification"] = this.chemistrySpecification ? this.chemistrySpecification.toJSON() : undefined;
|
|
55425
|
+
data["mechanicalSpecification"] = this.mechanicalSpecification ? this.mechanicalSpecification.toJSON() : undefined;
|
|
55426
|
+
data["ferriteSpecification"] = this.ferriteSpecification ? this.ferriteSpecification.toJSON() : undefined;
|
|
55427
|
+
data["heatSpecification"] = this.heatSpecification ? this.heatSpecification.toJSON() : undefined;
|
|
55428
|
+
return data;
|
|
55429
|
+
}
|
|
55430
|
+
}
|
|
55431
|
+
export class AmcChemistrySpecificationDto {
|
|
55432
|
+
constructor(data) {
|
|
55433
|
+
if (data) {
|
|
55434
|
+
for (var property in data) {
|
|
55435
|
+
if (data.hasOwnProperty(property))
|
|
55436
|
+
this[property] = data[property];
|
|
55437
|
+
}
|
|
55438
|
+
}
|
|
55439
|
+
}
|
|
55440
|
+
init(_data) {
|
|
55441
|
+
if (_data) {
|
|
55442
|
+
this.carbon = _data["carbon"] ? AmcSpecificationLineDto.fromJS(_data["carbon"]) : undefined;
|
|
55443
|
+
this.manganese = _data["manganese"] ? AmcSpecificationLineDto.fromJS(_data["manganese"]) : undefined;
|
|
55444
|
+
this.silicon = _data["silicon"] ? AmcSpecificationLineDto.fromJS(_data["silicon"]) : undefined;
|
|
55445
|
+
this.phosphorus = _data["phosphorus"] ? AmcSpecificationLineDto.fromJS(_data["phosphorus"]) : undefined;
|
|
55446
|
+
this.sulfur = _data["sulfur"] ? AmcSpecificationLineDto.fromJS(_data["sulfur"]) : undefined;
|
|
55447
|
+
this.chromium = _data["chromium"] ? AmcSpecificationLineDto.fromJS(_data["chromium"]) : undefined;
|
|
55448
|
+
this.nickel = _data["nickel"] ? AmcSpecificationLineDto.fromJS(_data["nickel"]) : undefined;
|
|
55449
|
+
this.molybdenum = _data["molybdenum"] ? AmcSpecificationLineDto.fromJS(_data["molybdenum"]) : undefined;
|
|
55450
|
+
this.copper = _data["copper"] ? AmcSpecificationLineDto.fromJS(_data["copper"]) : undefined;
|
|
55451
|
+
this.nitrogen = _data["nitrogen"] ? AmcSpecificationLineDto.fromJS(_data["nitrogen"]) : undefined;
|
|
55452
|
+
this.wolfram = _data["wolfram"] ? AmcSpecificationLineDto.fromJS(_data["wolfram"]) : undefined;
|
|
55453
|
+
this.iron = _data["iron"] ? AmcSpecificationLineDto.fromJS(_data["iron"]) : undefined;
|
|
55454
|
+
}
|
|
55455
|
+
}
|
|
55456
|
+
static fromJS(data) {
|
|
55457
|
+
data = typeof data === 'object' ? data : {};
|
|
55458
|
+
let result = new AmcChemistrySpecificationDto();
|
|
55459
|
+
result.init(data);
|
|
55460
|
+
return result;
|
|
55461
|
+
}
|
|
55462
|
+
toJSON(data) {
|
|
55463
|
+
data = typeof data === 'object' ? data : {};
|
|
55464
|
+
data["carbon"] = this.carbon ? this.carbon.toJSON() : undefined;
|
|
55465
|
+
data["manganese"] = this.manganese ? this.manganese.toJSON() : undefined;
|
|
55466
|
+
data["silicon"] = this.silicon ? this.silicon.toJSON() : undefined;
|
|
55467
|
+
data["phosphorus"] = this.phosphorus ? this.phosphorus.toJSON() : undefined;
|
|
55468
|
+
data["sulfur"] = this.sulfur ? this.sulfur.toJSON() : undefined;
|
|
55469
|
+
data["chromium"] = this.chromium ? this.chromium.toJSON() : undefined;
|
|
55470
|
+
data["nickel"] = this.nickel ? this.nickel.toJSON() : undefined;
|
|
55471
|
+
data["molybdenum"] = this.molybdenum ? this.molybdenum.toJSON() : undefined;
|
|
55472
|
+
data["copper"] = this.copper ? this.copper.toJSON() : undefined;
|
|
55473
|
+
data["nitrogen"] = this.nitrogen ? this.nitrogen.toJSON() : undefined;
|
|
55474
|
+
data["wolfram"] = this.wolfram ? this.wolfram.toJSON() : undefined;
|
|
55475
|
+
data["iron"] = this.iron ? this.iron.toJSON() : undefined;
|
|
55476
|
+
return data;
|
|
55477
|
+
}
|
|
55478
|
+
}
|
|
55479
|
+
export class AmcSpecificationLineDto {
|
|
55480
|
+
constructor(data) {
|
|
55481
|
+
if (data) {
|
|
55482
|
+
for (var property in data) {
|
|
55483
|
+
if (data.hasOwnProperty(property))
|
|
55484
|
+
this[property] = data[property];
|
|
55485
|
+
}
|
|
55486
|
+
}
|
|
55487
|
+
}
|
|
55488
|
+
init(_data) {
|
|
55489
|
+
if (_data) {
|
|
55490
|
+
this.operator = _data["operator"];
|
|
55491
|
+
this.value1 = _data["value1"];
|
|
55492
|
+
this.value2 = _data["value2"];
|
|
55493
|
+
this.symbol = _data["symbol"];
|
|
55494
|
+
}
|
|
55495
|
+
}
|
|
55496
|
+
static fromJS(data) {
|
|
55497
|
+
data = typeof data === 'object' ? data : {};
|
|
55498
|
+
let result = new AmcSpecificationLineDto();
|
|
55499
|
+
result.init(data);
|
|
55500
|
+
return result;
|
|
55501
|
+
}
|
|
55502
|
+
toJSON(data) {
|
|
55503
|
+
data = typeof data === 'object' ? data : {};
|
|
55504
|
+
data["operator"] = this.operator;
|
|
55505
|
+
data["value1"] = this.value1;
|
|
55506
|
+
data["value2"] = this.value2;
|
|
55507
|
+
data["symbol"] = this.symbol;
|
|
55508
|
+
return data;
|
|
55509
|
+
}
|
|
55510
|
+
}
|
|
55511
|
+
export class AmcMechanicalSpecificationDto {
|
|
55512
|
+
constructor(data) {
|
|
55513
|
+
if (data) {
|
|
55514
|
+
for (var property in data) {
|
|
55515
|
+
if (data.hasOwnProperty(property))
|
|
55516
|
+
this[property] = data[property];
|
|
55517
|
+
}
|
|
55518
|
+
}
|
|
55519
|
+
}
|
|
55520
|
+
init(_data) {
|
|
55521
|
+
if (_data) {
|
|
55522
|
+
this.yieldStrength = _data["yieldStrength"] ? AmcSpecificationLineDto.fromJS(_data["yieldStrength"]) : undefined;
|
|
55523
|
+
this.tensileStrength = _data["tensileStrength"] ? AmcSpecificationLineDto.fromJS(_data["tensileStrength"]) : undefined;
|
|
55524
|
+
this.elongation = _data["elongation"] ? AmcSpecificationLineDto.fromJS(_data["elongation"]) : undefined;
|
|
55525
|
+
this.reductionOfArea = _data["reductionOfArea"] ? AmcSpecificationLineDto.fromJS(_data["reductionOfArea"]) : undefined;
|
|
55526
|
+
this.impactEnergy = _data["impactEnergy"] ? AmcSpecificationLineDto.fromJS(_data["impactEnergy"]) : undefined;
|
|
55527
|
+
this.hardness = _data["hardness"] ? AmcSpecificationLineDto.fromJS(_data["hardness"]) : undefined;
|
|
55528
|
+
}
|
|
55529
|
+
}
|
|
55530
|
+
static fromJS(data) {
|
|
55531
|
+
data = typeof data === 'object' ? data : {};
|
|
55532
|
+
let result = new AmcMechanicalSpecificationDto();
|
|
55533
|
+
result.init(data);
|
|
55534
|
+
return result;
|
|
55535
|
+
}
|
|
55536
|
+
toJSON(data) {
|
|
55537
|
+
data = typeof data === 'object' ? data : {};
|
|
55538
|
+
data["yieldStrength"] = this.yieldStrength ? this.yieldStrength.toJSON() : undefined;
|
|
55539
|
+
data["tensileStrength"] = this.tensileStrength ? this.tensileStrength.toJSON() : undefined;
|
|
55540
|
+
data["elongation"] = this.elongation ? this.elongation.toJSON() : undefined;
|
|
55541
|
+
data["reductionOfArea"] = this.reductionOfArea ? this.reductionOfArea.toJSON() : undefined;
|
|
55542
|
+
data["impactEnergy"] = this.impactEnergy ? this.impactEnergy.toJSON() : undefined;
|
|
55543
|
+
data["hardness"] = this.hardness ? this.hardness.toJSON() : undefined;
|
|
55544
|
+
return data;
|
|
55545
|
+
}
|
|
55546
|
+
}
|
|
55547
|
+
export class AmcFerriteSpecificationDto {
|
|
55548
|
+
constructor(data) {
|
|
55549
|
+
if (data) {
|
|
55550
|
+
for (var property in data) {
|
|
55551
|
+
if (data.hasOwnProperty(property))
|
|
55552
|
+
this[property] = data[property];
|
|
55553
|
+
}
|
|
55554
|
+
}
|
|
55555
|
+
if (!data) {
|
|
55556
|
+
this.measurementMethod = [];
|
|
55557
|
+
}
|
|
55558
|
+
}
|
|
55559
|
+
init(_data) {
|
|
55560
|
+
if (_data) {
|
|
55561
|
+
this.ferriteContent = _data["ferriteContent"] ? AmcSpecificationLineDto.fromJS(_data["ferriteContent"]) : undefined;
|
|
55562
|
+
if (Array.isArray(_data["measurementMethod"])) {
|
|
55563
|
+
this.measurementMethod = [];
|
|
55564
|
+
for (let item of _data["measurementMethod"])
|
|
55565
|
+
this.measurementMethod.push(item);
|
|
55566
|
+
}
|
|
55567
|
+
}
|
|
55568
|
+
}
|
|
55569
|
+
static fromJS(data) {
|
|
55570
|
+
data = typeof data === 'object' ? data : {};
|
|
55571
|
+
let result = new AmcFerriteSpecificationDto();
|
|
55572
|
+
result.init(data);
|
|
55573
|
+
return result;
|
|
55574
|
+
}
|
|
55575
|
+
toJSON(data) {
|
|
55576
|
+
data = typeof data === 'object' ? data : {};
|
|
55577
|
+
data["ferriteContent"] = this.ferriteContent ? this.ferriteContent.toJSON() : undefined;
|
|
55578
|
+
if (Array.isArray(this.measurementMethod)) {
|
|
55579
|
+
data["measurementMethod"] = [];
|
|
55580
|
+
for (let item of this.measurementMethod)
|
|
55581
|
+
data["measurementMethod"].push(item);
|
|
55582
|
+
}
|
|
55583
|
+
return data;
|
|
55584
|
+
}
|
|
55585
|
+
}
|
|
55586
|
+
export class AmcHeatTreatmentSpecificationDto {
|
|
55587
|
+
constructor(data) {
|
|
55588
|
+
if (data) {
|
|
55589
|
+
for (var property in data) {
|
|
55590
|
+
if (data.hasOwnProperty(property))
|
|
55591
|
+
this[property] = data[property];
|
|
55592
|
+
}
|
|
55593
|
+
}
|
|
55594
|
+
if (!data) {
|
|
55595
|
+
this.heatTreatmentType = [];
|
|
55596
|
+
this.coolingMethod = [];
|
|
55597
|
+
this.treatedCondition = [];
|
|
55598
|
+
this.verificationMethod = [];
|
|
55599
|
+
}
|
|
55600
|
+
}
|
|
55601
|
+
init(_data) {
|
|
55602
|
+
if (_data) {
|
|
55603
|
+
if (Array.isArray(_data["heatTreatmentType"])) {
|
|
55604
|
+
this.heatTreatmentType = [];
|
|
55605
|
+
for (let item of _data["heatTreatmentType"])
|
|
55606
|
+
this.heatTreatmentType.push(item);
|
|
55607
|
+
}
|
|
55608
|
+
this.treatmentTemperature = _data["treatmentTemperature"] ? AmcSpecificationLineDto.fromJS(_data["treatmentTemperature"]) : undefined;
|
|
55609
|
+
this.holdingTime = _data["holdingTime"] ? AmcSpecificationLineDto.fromJS(_data["holdingTime"]) : undefined;
|
|
55610
|
+
if (Array.isArray(_data["coolingMethod"])) {
|
|
55611
|
+
this.coolingMethod = [];
|
|
55612
|
+
for (let item of _data["coolingMethod"])
|
|
55613
|
+
this.coolingMethod.push(item);
|
|
55614
|
+
}
|
|
55615
|
+
if (Array.isArray(_data["treatedCondition"])) {
|
|
55616
|
+
this.treatedCondition = [];
|
|
55617
|
+
for (let item of _data["treatedCondition"])
|
|
55618
|
+
this.treatedCondition.push(item);
|
|
55619
|
+
}
|
|
55620
|
+
if (Array.isArray(_data["verificationMethod"])) {
|
|
55621
|
+
this.verificationMethod = [];
|
|
55622
|
+
for (let item of _data["verificationMethod"])
|
|
55623
|
+
this.verificationMethod.push(item);
|
|
55624
|
+
}
|
|
55625
|
+
}
|
|
55626
|
+
}
|
|
55627
|
+
static fromJS(data) {
|
|
55628
|
+
data = typeof data === 'object' ? data : {};
|
|
55629
|
+
let result = new AmcHeatTreatmentSpecificationDto();
|
|
55630
|
+
result.init(data);
|
|
55631
|
+
return result;
|
|
55632
|
+
}
|
|
55633
|
+
toJSON(data) {
|
|
55634
|
+
data = typeof data === 'object' ? data : {};
|
|
55635
|
+
if (Array.isArray(this.heatTreatmentType)) {
|
|
55636
|
+
data["heatTreatmentType"] = [];
|
|
55637
|
+
for (let item of this.heatTreatmentType)
|
|
55638
|
+
data["heatTreatmentType"].push(item);
|
|
55639
|
+
}
|
|
55640
|
+
data["treatmentTemperature"] = this.treatmentTemperature ? this.treatmentTemperature.toJSON() : undefined;
|
|
55641
|
+
data["holdingTime"] = this.holdingTime ? this.holdingTime.toJSON() : undefined;
|
|
55642
|
+
if (Array.isArray(this.coolingMethod)) {
|
|
55643
|
+
data["coolingMethod"] = [];
|
|
55644
|
+
for (let item of this.coolingMethod)
|
|
55645
|
+
data["coolingMethod"].push(item);
|
|
55646
|
+
}
|
|
55647
|
+
if (Array.isArray(this.treatedCondition)) {
|
|
55648
|
+
data["treatedCondition"] = [];
|
|
55649
|
+
for (let item of this.treatedCondition)
|
|
55650
|
+
data["treatedCondition"].push(item);
|
|
55651
|
+
}
|
|
55652
|
+
if (Array.isArray(this.verificationMethod)) {
|
|
55653
|
+
data["verificationMethod"] = [];
|
|
55654
|
+
for (let item of this.verificationMethod)
|
|
55655
|
+
data["verificationMethod"].push(item);
|
|
55656
|
+
}
|
|
55657
|
+
return data;
|
|
55658
|
+
}
|
|
55659
|
+
}
|
|
55660
|
+
export class CreateAmcSpecificationDto {
|
|
55661
|
+
constructor(data) {
|
|
55662
|
+
if (data) {
|
|
55663
|
+
for (var property in data) {
|
|
55664
|
+
if (data.hasOwnProperty(property))
|
|
55665
|
+
this[property] = data[property];
|
|
55666
|
+
}
|
|
55667
|
+
}
|
|
55668
|
+
}
|
|
55669
|
+
init(_data) {
|
|
55670
|
+
if (_data) {
|
|
55671
|
+
this.name = _data["name"];
|
|
55672
|
+
this.number = _data["number"];
|
|
55673
|
+
this.revision = _data["revision"];
|
|
55674
|
+
this.date = _data["date"] ? new Date(_data["date"].toString()) : undefined;
|
|
55675
|
+
this.createCopy = _data["createCopy"];
|
|
55676
|
+
this.specificationId = _data["specificationId"];
|
|
55677
|
+
this.specificationVersion = _data["specificationVersion"];
|
|
55678
|
+
this.specificationFile = _data["specificationFile"] ? UploadFileDto.fromJS(_data["specificationFile"]) : undefined;
|
|
55679
|
+
}
|
|
55680
|
+
}
|
|
55681
|
+
static fromJS(data) {
|
|
55682
|
+
data = typeof data === 'object' ? data : {};
|
|
55683
|
+
let result = new CreateAmcSpecificationDto();
|
|
55684
|
+
result.init(data);
|
|
55685
|
+
return result;
|
|
55686
|
+
}
|
|
55687
|
+
toJSON(data) {
|
|
55688
|
+
data = typeof data === 'object' ? data : {};
|
|
55689
|
+
data["name"] = this.name;
|
|
55690
|
+
data["number"] = this.number;
|
|
55691
|
+
data["revision"] = this.revision;
|
|
55692
|
+
data["date"] = this.date ? this.date.toISOString() : undefined;
|
|
55693
|
+
data["createCopy"] = this.createCopy;
|
|
55694
|
+
data["specificationId"] = this.specificationId;
|
|
55695
|
+
data["specificationVersion"] = this.specificationVersion;
|
|
55696
|
+
data["specificationFile"] = this.specificationFile ? this.specificationFile.toJSON() : undefined;
|
|
55697
|
+
return data;
|
|
55698
|
+
}
|
|
55699
|
+
}
|
|
55700
|
+
export class UpdateAmcSpecificationDto {
|
|
55701
|
+
constructor(data) {
|
|
55702
|
+
if (data) {
|
|
55703
|
+
for (var property in data) {
|
|
55704
|
+
if (data.hasOwnProperty(property))
|
|
55705
|
+
this[property] = data[property];
|
|
55706
|
+
}
|
|
55707
|
+
}
|
|
55708
|
+
if (!data) {
|
|
55709
|
+
this.relatedStandards = [];
|
|
55710
|
+
this.chemistrySpecification = new AmcChemistrySpecificationDto();
|
|
55711
|
+
this.mechanicalSpecification = new AmcMechanicalSpecificationDto();
|
|
55712
|
+
this.ferriteSpecification = new AmcFerriteSpecificationDto();
|
|
55713
|
+
this.heatSpecification = new AmcHeatTreatmentSpecificationDto();
|
|
55714
|
+
}
|
|
55715
|
+
}
|
|
55716
|
+
init(_data) {
|
|
55717
|
+
if (_data) {
|
|
55718
|
+
this.specificationId = _data["specificationId"];
|
|
55719
|
+
this.version = _data["version"];
|
|
55720
|
+
this.status = _data["status"];
|
|
55721
|
+
this.summary = _data["summary"];
|
|
55722
|
+
if (Array.isArray(_data["relatedStandards"])) {
|
|
55723
|
+
this.relatedStandards = [];
|
|
55724
|
+
for (let item of _data["relatedStandards"])
|
|
55725
|
+
this.relatedStandards.push(item);
|
|
55726
|
+
}
|
|
55727
|
+
this.chemistrySpecification = _data["chemistrySpecification"] ? AmcChemistrySpecificationDto.fromJS(_data["chemistrySpecification"]) : new AmcChemistrySpecificationDto();
|
|
55728
|
+
this.mechanicalSpecification = _data["mechanicalSpecification"] ? AmcMechanicalSpecificationDto.fromJS(_data["mechanicalSpecification"]) : new AmcMechanicalSpecificationDto();
|
|
55729
|
+
this.ferriteSpecification = _data["ferriteSpecification"] ? AmcFerriteSpecificationDto.fromJS(_data["ferriteSpecification"]) : new AmcFerriteSpecificationDto();
|
|
55730
|
+
this.heatSpecification = _data["heatSpecification"] ? AmcHeatTreatmentSpecificationDto.fromJS(_data["heatSpecification"]) : new AmcHeatTreatmentSpecificationDto();
|
|
55731
|
+
}
|
|
55732
|
+
}
|
|
55733
|
+
static fromJS(data) {
|
|
55734
|
+
data = typeof data === 'object' ? data : {};
|
|
55735
|
+
let result = new UpdateAmcSpecificationDto();
|
|
55736
|
+
result.init(data);
|
|
55737
|
+
return result;
|
|
55738
|
+
}
|
|
55739
|
+
toJSON(data) {
|
|
55740
|
+
data = typeof data === 'object' ? data : {};
|
|
55741
|
+
data["specificationId"] = this.specificationId;
|
|
55742
|
+
data["version"] = this.version;
|
|
55743
|
+
data["status"] = this.status;
|
|
55744
|
+
data["summary"] = this.summary;
|
|
55745
|
+
if (Array.isArray(this.relatedStandards)) {
|
|
55746
|
+
data["relatedStandards"] = [];
|
|
55747
|
+
for (let item of this.relatedStandards)
|
|
55748
|
+
data["relatedStandards"].push(item);
|
|
55749
|
+
}
|
|
55750
|
+
data["chemistrySpecification"] = this.chemistrySpecification ? this.chemistrySpecification.toJSON() : undefined;
|
|
55751
|
+
data["mechanicalSpecification"] = this.mechanicalSpecification ? this.mechanicalSpecification.toJSON() : undefined;
|
|
55752
|
+
data["ferriteSpecification"] = this.ferriteSpecification ? this.ferriteSpecification.toJSON() : undefined;
|
|
55753
|
+
data["heatSpecification"] = this.heatSpecification ? this.heatSpecification.toJSON() : undefined;
|
|
55754
|
+
return data;
|
|
55755
|
+
}
|
|
55756
|
+
}
|
|
55757
|
+
export class AmcTypeLiteDto {
|
|
55758
|
+
constructor(data) {
|
|
55759
|
+
if (data) {
|
|
55760
|
+
for (var property in data) {
|
|
55761
|
+
if (data.hasOwnProperty(property))
|
|
55762
|
+
this[property] = data[property];
|
|
55763
|
+
}
|
|
55764
|
+
}
|
|
55765
|
+
}
|
|
55766
|
+
init(_data) {
|
|
55767
|
+
if (_data) {
|
|
55768
|
+
this.typeId = _data["typeId"];
|
|
55769
|
+
this.version = _data["version"];
|
|
55770
|
+
this.name = _data["name"];
|
|
55771
|
+
this.revision = _data["revision"];
|
|
55772
|
+
this.description = _data["description"];
|
|
55773
|
+
this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
|
|
55774
|
+
this.createdBy = _data["createdBy"];
|
|
55775
|
+
this.createdById = _data["createdById"];
|
|
55776
|
+
this.updatedBy = _data["updatedBy"];
|
|
55777
|
+
this.updatedById = _data["updatedById"];
|
|
55778
|
+
}
|
|
55779
|
+
}
|
|
55780
|
+
static fromJS(data) {
|
|
55781
|
+
data = typeof data === 'object' ? data : {};
|
|
55782
|
+
let result = new AmcTypeLiteDto();
|
|
55783
|
+
result.init(data);
|
|
55784
|
+
return result;
|
|
55785
|
+
}
|
|
55786
|
+
toJSON(data) {
|
|
55787
|
+
data = typeof data === 'object' ? data : {};
|
|
55788
|
+
data["typeId"] = this.typeId;
|
|
55789
|
+
data["version"] = this.version;
|
|
55790
|
+
data["name"] = this.name;
|
|
55791
|
+
data["revision"] = this.revision;
|
|
55792
|
+
data["description"] = this.description;
|
|
55793
|
+
data["created"] = this.created ? this.created.toISOString() : undefined;
|
|
55794
|
+
data["createdBy"] = this.createdBy;
|
|
55795
|
+
data["createdById"] = this.createdById;
|
|
55796
|
+
data["updatedBy"] = this.updatedBy;
|
|
55797
|
+
data["updatedById"] = this.updatedById;
|
|
55798
|
+
return data;
|
|
55799
|
+
}
|
|
55800
|
+
}
|
|
55801
|
+
export class AmcTypeDto {
|
|
55802
|
+
constructor(data) {
|
|
55803
|
+
if (data) {
|
|
55804
|
+
for (var property in data) {
|
|
55805
|
+
if (data.hasOwnProperty(property))
|
|
55806
|
+
this[property] = data[property];
|
|
55807
|
+
}
|
|
55808
|
+
}
|
|
55809
|
+
if (!data) {
|
|
55810
|
+
this.checks = new AmcTypeChecksDto();
|
|
55811
|
+
}
|
|
55812
|
+
}
|
|
55813
|
+
init(_data) {
|
|
55814
|
+
if (_data) {
|
|
55815
|
+
this.typeId = _data["typeId"];
|
|
55816
|
+
this.version = _data["version"];
|
|
55817
|
+
this.name = _data["name"];
|
|
55818
|
+
this.revision = _data["revision"];
|
|
55819
|
+
this.description = _data["description"];
|
|
55820
|
+
this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
|
|
55821
|
+
this.createdBy = _data["createdBy"];
|
|
55822
|
+
this.createdById = _data["createdById"];
|
|
55823
|
+
this.updatedBy = _data["updatedBy"];
|
|
55824
|
+
this.updatedById = _data["updatedById"];
|
|
55825
|
+
this.checks = _data["checks"] ? AmcTypeChecksDto.fromJS(_data["checks"]) : new AmcTypeChecksDto();
|
|
55826
|
+
}
|
|
55827
|
+
}
|
|
55828
|
+
static fromJS(data) {
|
|
55829
|
+
data = typeof data === 'object' ? data : {};
|
|
55830
|
+
let result = new AmcTypeDto();
|
|
55831
|
+
result.init(data);
|
|
55832
|
+
return result;
|
|
55833
|
+
}
|
|
55834
|
+
toJSON(data) {
|
|
55835
|
+
data = typeof data === 'object' ? data : {};
|
|
55836
|
+
data["typeId"] = this.typeId;
|
|
55837
|
+
data["version"] = this.version;
|
|
55838
|
+
data["name"] = this.name;
|
|
55839
|
+
data["revision"] = this.revision;
|
|
55840
|
+
data["description"] = this.description;
|
|
55841
|
+
data["created"] = this.created ? this.created.toISOString() : undefined;
|
|
55842
|
+
data["createdBy"] = this.createdBy;
|
|
55843
|
+
data["createdById"] = this.createdById;
|
|
55844
|
+
data["updatedBy"] = this.updatedBy;
|
|
55845
|
+
data["updatedById"] = this.updatedById;
|
|
55846
|
+
data["checks"] = this.checks ? this.checks.toJSON() : undefined;
|
|
55847
|
+
return data;
|
|
55848
|
+
}
|
|
55849
|
+
}
|
|
55850
|
+
export class AmcTypeChecksDto {
|
|
55851
|
+
constructor(data) {
|
|
55852
|
+
if (data) {
|
|
55853
|
+
for (var property in data) {
|
|
55854
|
+
if (data.hasOwnProperty(property))
|
|
55855
|
+
this[property] = data[property];
|
|
55856
|
+
}
|
|
55857
|
+
}
|
|
55858
|
+
if (!data) {
|
|
55859
|
+
this.manufacturer = new AmcTypeManufacturerChecksDto();
|
|
55860
|
+
this.signature = new AmcTypeSignatureChecksDto();
|
|
55861
|
+
this.thirdParty = new AmcTypeThirdPartyChecksDto();
|
|
55862
|
+
this.certification = new AmcTypeCertificationChecksDto();
|
|
55863
|
+
this.productAndOrderInformation = new AmcTypeProductAndOrderInformationChecksDto();
|
|
55864
|
+
this.testMethodsAndReferences = new AmcTypeTestMethodsAndReferencesChecksDto();
|
|
55865
|
+
this.testResults = new AmcTypeTestResultsChecksDto();
|
|
55866
|
+
this.documentTypes = new AmcTypeDocumentTypesChecksDto();
|
|
55867
|
+
}
|
|
55868
|
+
}
|
|
55869
|
+
init(_data) {
|
|
55870
|
+
if (_data) {
|
|
55871
|
+
this.manufacturer = _data["manufacturer"] ? AmcTypeManufacturerChecksDto.fromJS(_data["manufacturer"]) : new AmcTypeManufacturerChecksDto();
|
|
55872
|
+
this.signature = _data["signature"] ? AmcTypeSignatureChecksDto.fromJS(_data["signature"]) : new AmcTypeSignatureChecksDto();
|
|
55873
|
+
this.thirdParty = _data["thirdParty"] ? AmcTypeThirdPartyChecksDto.fromJS(_data["thirdParty"]) : new AmcTypeThirdPartyChecksDto();
|
|
55874
|
+
this.certification = _data["certification"] ? AmcTypeCertificationChecksDto.fromJS(_data["certification"]) : new AmcTypeCertificationChecksDto();
|
|
55875
|
+
this.productAndOrderInformation = _data["productAndOrderInformation"] ? AmcTypeProductAndOrderInformationChecksDto.fromJS(_data["productAndOrderInformation"]) : new AmcTypeProductAndOrderInformationChecksDto();
|
|
55876
|
+
this.testMethodsAndReferences = _data["testMethodsAndReferences"] ? AmcTypeTestMethodsAndReferencesChecksDto.fromJS(_data["testMethodsAndReferences"]) : new AmcTypeTestMethodsAndReferencesChecksDto();
|
|
55877
|
+
this.testResults = _data["testResults"] ? AmcTypeTestResultsChecksDto.fromJS(_data["testResults"]) : new AmcTypeTestResultsChecksDto();
|
|
55878
|
+
this.documentTypes = _data["documentTypes"] ? AmcTypeDocumentTypesChecksDto.fromJS(_data["documentTypes"]) : new AmcTypeDocumentTypesChecksDto();
|
|
55879
|
+
}
|
|
55880
|
+
}
|
|
55881
|
+
static fromJS(data) {
|
|
55882
|
+
data = typeof data === 'object' ? data : {};
|
|
55883
|
+
let result = new AmcTypeChecksDto();
|
|
55884
|
+
result.init(data);
|
|
55885
|
+
return result;
|
|
55886
|
+
}
|
|
55887
|
+
toJSON(data) {
|
|
55888
|
+
data = typeof data === 'object' ? data : {};
|
|
55889
|
+
data["manufacturer"] = this.manufacturer ? this.manufacturer.toJSON() : undefined;
|
|
55890
|
+
data["signature"] = this.signature ? this.signature.toJSON() : undefined;
|
|
55891
|
+
data["thirdParty"] = this.thirdParty ? this.thirdParty.toJSON() : undefined;
|
|
55892
|
+
data["certification"] = this.certification ? this.certification.toJSON() : undefined;
|
|
55893
|
+
data["productAndOrderInformation"] = this.productAndOrderInformation ? this.productAndOrderInformation.toJSON() : undefined;
|
|
55894
|
+
data["testMethodsAndReferences"] = this.testMethodsAndReferences ? this.testMethodsAndReferences.toJSON() : undefined;
|
|
55895
|
+
data["testResults"] = this.testResults ? this.testResults.toJSON() : undefined;
|
|
55896
|
+
data["documentTypes"] = this.documentTypes ? this.documentTypes.toJSON() : undefined;
|
|
55897
|
+
return data;
|
|
55898
|
+
}
|
|
55899
|
+
}
|
|
55900
|
+
export class AmcTypeManufacturerChecksDto {
|
|
55901
|
+
constructor(data) {
|
|
55902
|
+
if (data) {
|
|
55903
|
+
for (var property in data) {
|
|
55904
|
+
if (data.hasOwnProperty(property))
|
|
55905
|
+
this[property] = data[property];
|
|
55906
|
+
}
|
|
55907
|
+
}
|
|
55908
|
+
}
|
|
55909
|
+
init(_data) {
|
|
55910
|
+
if (_data) {
|
|
55911
|
+
this.manufacturer = _data["manufacturer"];
|
|
55912
|
+
this.address = _data["address"];
|
|
55913
|
+
this.contact = _data["contact"];
|
|
55914
|
+
}
|
|
55915
|
+
}
|
|
55916
|
+
static fromJS(data) {
|
|
55917
|
+
data = typeof data === 'object' ? data : {};
|
|
55918
|
+
let result = new AmcTypeManufacturerChecksDto();
|
|
55919
|
+
result.init(data);
|
|
55920
|
+
return result;
|
|
55921
|
+
}
|
|
55922
|
+
toJSON(data) {
|
|
55923
|
+
data = typeof data === 'object' ? data : {};
|
|
55924
|
+
data["manufacturer"] = this.manufacturer;
|
|
55925
|
+
data["address"] = this.address;
|
|
55926
|
+
data["contact"] = this.contact;
|
|
55927
|
+
return data;
|
|
55928
|
+
}
|
|
55929
|
+
}
|
|
55930
|
+
export class AmcTypeSignatureChecksDto {
|
|
55931
|
+
constructor(data) {
|
|
55932
|
+
if (data) {
|
|
55933
|
+
for (var property in data) {
|
|
55934
|
+
if (data.hasOwnProperty(property))
|
|
55935
|
+
this[property] = data[property];
|
|
55936
|
+
}
|
|
55937
|
+
}
|
|
55938
|
+
}
|
|
55939
|
+
init(_data) {
|
|
55940
|
+
if (_data) {
|
|
55941
|
+
this.certifiedBy = _data["certifiedBy"];
|
|
55942
|
+
this.position = _data["position"];
|
|
55943
|
+
this.signature = _data["signature"];
|
|
55944
|
+
this.date = _data["date"];
|
|
55945
|
+
this.stamp = _data["stamp"];
|
|
55946
|
+
}
|
|
55947
|
+
}
|
|
55948
|
+
static fromJS(data) {
|
|
55949
|
+
data = typeof data === 'object' ? data : {};
|
|
55950
|
+
let result = new AmcTypeSignatureChecksDto();
|
|
55951
|
+
result.init(data);
|
|
55952
|
+
return result;
|
|
55953
|
+
}
|
|
55954
|
+
toJSON(data) {
|
|
55955
|
+
data = typeof data === 'object' ? data : {};
|
|
55956
|
+
data["certifiedBy"] = this.certifiedBy;
|
|
55957
|
+
data["position"] = this.position;
|
|
55958
|
+
data["signature"] = this.signature;
|
|
55959
|
+
data["date"] = this.date;
|
|
55960
|
+
data["stamp"] = this.stamp;
|
|
55961
|
+
return data;
|
|
55962
|
+
}
|
|
55963
|
+
}
|
|
55964
|
+
export class AmcTypeThirdPartyChecksDto {
|
|
55965
|
+
constructor(data) {
|
|
55966
|
+
if (data) {
|
|
55967
|
+
for (var property in data) {
|
|
55968
|
+
if (data.hasOwnProperty(property))
|
|
55969
|
+
this[property] = data[property];
|
|
55970
|
+
}
|
|
55971
|
+
}
|
|
55972
|
+
}
|
|
55973
|
+
init(_data) {
|
|
55974
|
+
if (_data) {
|
|
55975
|
+
this.inspectionBody = _data["inspectionBody"];
|
|
55976
|
+
this.inspectorName = _data["inspectorName"];
|
|
55977
|
+
this.position = _data["position"];
|
|
55978
|
+
this.verificationMethod = _data["verificationMethod"];
|
|
55979
|
+
this.signature = _data["signature"];
|
|
55980
|
+
this.date = _data["date"];
|
|
55981
|
+
this.stamp = _data["stamp"];
|
|
55982
|
+
}
|
|
55983
|
+
}
|
|
55984
|
+
static fromJS(data) {
|
|
55985
|
+
data = typeof data === 'object' ? data : {};
|
|
55986
|
+
let result = new AmcTypeThirdPartyChecksDto();
|
|
55987
|
+
result.init(data);
|
|
55988
|
+
return result;
|
|
55989
|
+
}
|
|
55990
|
+
toJSON(data) {
|
|
55991
|
+
data = typeof data === 'object' ? data : {};
|
|
55992
|
+
data["inspectionBody"] = this.inspectionBody;
|
|
55993
|
+
data["inspectorName"] = this.inspectorName;
|
|
55994
|
+
data["position"] = this.position;
|
|
55995
|
+
data["verificationMethod"] = this.verificationMethod;
|
|
55996
|
+
data["signature"] = this.signature;
|
|
55997
|
+
data["date"] = this.date;
|
|
55998
|
+
data["stamp"] = this.stamp;
|
|
55999
|
+
return data;
|
|
56000
|
+
}
|
|
56001
|
+
}
|
|
56002
|
+
export class AmcTypeCertificationChecksDto {
|
|
56003
|
+
constructor(data) {
|
|
56004
|
+
if (data) {
|
|
56005
|
+
for (var property in data) {
|
|
56006
|
+
if (data.hasOwnProperty(property))
|
|
56007
|
+
this[property] = data[property];
|
|
56008
|
+
}
|
|
56009
|
+
}
|
|
56010
|
+
}
|
|
56011
|
+
init(_data) {
|
|
56012
|
+
if (_data) {
|
|
56013
|
+
this.certificateOfCompliance = _data["certificateOfCompliance"];
|
|
56014
|
+
this.inspectionCertificate = _data["inspectionCertificate"];
|
|
56015
|
+
}
|
|
56016
|
+
}
|
|
56017
|
+
static fromJS(data) {
|
|
56018
|
+
data = typeof data === 'object' ? data : {};
|
|
56019
|
+
let result = new AmcTypeCertificationChecksDto();
|
|
56020
|
+
result.init(data);
|
|
56021
|
+
return result;
|
|
56022
|
+
}
|
|
56023
|
+
toJSON(data) {
|
|
56024
|
+
data = typeof data === 'object' ? data : {};
|
|
56025
|
+
data["certificateOfCompliance"] = this.certificateOfCompliance;
|
|
56026
|
+
data["inspectionCertificate"] = this.inspectionCertificate;
|
|
56027
|
+
return data;
|
|
56028
|
+
}
|
|
56029
|
+
}
|
|
56030
|
+
export class AmcTypeProductAndOrderInformationChecksDto {
|
|
56031
|
+
constructor(data) {
|
|
56032
|
+
if (data) {
|
|
56033
|
+
for (var property in data) {
|
|
56034
|
+
if (data.hasOwnProperty(property))
|
|
56035
|
+
this[property] = data[property];
|
|
56036
|
+
}
|
|
56037
|
+
}
|
|
56038
|
+
}
|
|
56039
|
+
init(_data) {
|
|
56040
|
+
if (_data) {
|
|
56041
|
+
this.productDescription = _data["productDescription"];
|
|
56042
|
+
this.materialGrade = _data["materialGrade"];
|
|
56043
|
+
this.customer = _data["customer"];
|
|
56044
|
+
this.customerOrderNumber = _data["customerOrderNumber"];
|
|
56045
|
+
this.dimensionsOrWeight = _data["dimensionsOrWeight"];
|
|
56046
|
+
this.batchNumber = _data["batchNumber"];
|
|
56047
|
+
this.heatNumber = _data["heatNumber"];
|
|
56048
|
+
this.relatedStandards = _data["relatedStandards"];
|
|
56049
|
+
}
|
|
56050
|
+
}
|
|
56051
|
+
static fromJS(data) {
|
|
56052
|
+
data = typeof data === 'object' ? data : {};
|
|
56053
|
+
let result = new AmcTypeProductAndOrderInformationChecksDto();
|
|
56054
|
+
result.init(data);
|
|
56055
|
+
return result;
|
|
56056
|
+
}
|
|
56057
|
+
toJSON(data) {
|
|
56058
|
+
data = typeof data === 'object' ? data : {};
|
|
56059
|
+
data["productDescription"] = this.productDescription;
|
|
56060
|
+
data["materialGrade"] = this.materialGrade;
|
|
56061
|
+
data["customer"] = this.customer;
|
|
56062
|
+
data["customerOrderNumber"] = this.customerOrderNumber;
|
|
56063
|
+
data["dimensionsOrWeight"] = this.dimensionsOrWeight;
|
|
56064
|
+
data["batchNumber"] = this.batchNumber;
|
|
56065
|
+
data["heatNumber"] = this.heatNumber;
|
|
56066
|
+
data["relatedStandards"] = this.relatedStandards;
|
|
56067
|
+
return data;
|
|
56068
|
+
}
|
|
56069
|
+
}
|
|
56070
|
+
export class AmcTypeTestMethodsAndReferencesChecksDto {
|
|
56071
|
+
constructor(data) {
|
|
56072
|
+
if (data) {
|
|
56073
|
+
for (var property in data) {
|
|
56074
|
+
if (data.hasOwnProperty(property))
|
|
56075
|
+
this[property] = data[property];
|
|
56076
|
+
}
|
|
56077
|
+
}
|
|
56078
|
+
}
|
|
56079
|
+
init(_data) {
|
|
56080
|
+
if (_data) {
|
|
56081
|
+
this.usedStandards = _data["usedStandards"];
|
|
56082
|
+
}
|
|
56083
|
+
}
|
|
56084
|
+
static fromJS(data) {
|
|
56085
|
+
data = typeof data === 'object' ? data : {};
|
|
56086
|
+
let result = new AmcTypeTestMethodsAndReferencesChecksDto();
|
|
56087
|
+
result.init(data);
|
|
56088
|
+
return result;
|
|
56089
|
+
}
|
|
56090
|
+
toJSON(data) {
|
|
56091
|
+
data = typeof data === 'object' ? data : {};
|
|
56092
|
+
data["usedStandards"] = this.usedStandards;
|
|
56093
|
+
return data;
|
|
56094
|
+
}
|
|
56095
|
+
}
|
|
56096
|
+
export class AmcTypeTestResultsChecksDto {
|
|
56097
|
+
constructor(data) {
|
|
56098
|
+
if (data) {
|
|
56099
|
+
for (var property in data) {
|
|
56100
|
+
if (data.hasOwnProperty(property))
|
|
56101
|
+
this[property] = data[property];
|
|
56102
|
+
}
|
|
56103
|
+
}
|
|
56104
|
+
}
|
|
56105
|
+
init(_data) {
|
|
56106
|
+
if (_data) {
|
|
56107
|
+
this.mechanicalProperties = _data["mechanicalProperties"];
|
|
56108
|
+
this.chemicalAnalysis = _data["chemicalAnalysis"];
|
|
56109
|
+
this.impactTests = _data["impactTests"];
|
|
56110
|
+
this.corrosionTests = _data["corrosionTests"];
|
|
56111
|
+
this.ferriteContentAndMicrostructure = _data["ferriteContentAndMicrostructure"];
|
|
56112
|
+
}
|
|
56113
|
+
}
|
|
56114
|
+
static fromJS(data) {
|
|
56115
|
+
data = typeof data === 'object' ? data : {};
|
|
56116
|
+
let result = new AmcTypeTestResultsChecksDto();
|
|
56117
|
+
result.init(data);
|
|
56118
|
+
return result;
|
|
56119
|
+
}
|
|
56120
|
+
toJSON(data) {
|
|
56121
|
+
data = typeof data === 'object' ? data : {};
|
|
56122
|
+
data["mechanicalProperties"] = this.mechanicalProperties;
|
|
56123
|
+
data["chemicalAnalysis"] = this.chemicalAnalysis;
|
|
56124
|
+
data["impactTests"] = this.impactTests;
|
|
56125
|
+
data["corrosionTests"] = this.corrosionTests;
|
|
56126
|
+
data["ferriteContentAndMicrostructure"] = this.ferriteContentAndMicrostructure;
|
|
56127
|
+
return data;
|
|
56128
|
+
}
|
|
56129
|
+
}
|
|
56130
|
+
export class AmcTypeDocumentTypesChecksDto {
|
|
56131
|
+
constructor(data) {
|
|
56132
|
+
if (data) {
|
|
56133
|
+
for (var property in data) {
|
|
56134
|
+
if (data.hasOwnProperty(property))
|
|
56135
|
+
this[property] = data[property];
|
|
56136
|
+
}
|
|
56137
|
+
}
|
|
56138
|
+
}
|
|
56139
|
+
init(_data) {
|
|
56140
|
+
if (_data) {
|
|
56141
|
+
this.heatTreatmentCertificate = _data["heatTreatmentCertificate"];
|
|
56142
|
+
this.ultrasonicControlCertificate = _data["ultrasonicControlCertificate"];
|
|
56143
|
+
this.liquidPenetrantCertificate = _data["liquidPenetrantCertificate"];
|
|
56144
|
+
this.testReport = _data["testReport"];
|
|
56145
|
+
this.dimensionalReport = _data["dimensionalReport"];
|
|
56146
|
+
this.dyePenetrantReport = _data["dyePenetrantReport"];
|
|
56147
|
+
this.visualReport = _data["visualReport"];
|
|
56148
|
+
this.certificateOfAnalyticalAndMechanicalTests = _data["certificateOfAnalyticalAndMechanicalTests"];
|
|
56149
|
+
this.certificateOfTest = _data["certificateOfTest"];
|
|
56150
|
+
this.technicalReport = _data["technicalReport"];
|
|
56151
|
+
this.microExaminationReport = _data["microExaminationReport"];
|
|
56152
|
+
this.radiologicalReport = _data["radiologicalReport"];
|
|
56153
|
+
}
|
|
56154
|
+
}
|
|
56155
|
+
static fromJS(data) {
|
|
56156
|
+
data = typeof data === 'object' ? data : {};
|
|
56157
|
+
let result = new AmcTypeDocumentTypesChecksDto();
|
|
56158
|
+
result.init(data);
|
|
56159
|
+
return result;
|
|
56160
|
+
}
|
|
56161
|
+
toJSON(data) {
|
|
56162
|
+
data = typeof data === 'object' ? data : {};
|
|
56163
|
+
data["heatTreatmentCertificate"] = this.heatTreatmentCertificate;
|
|
56164
|
+
data["ultrasonicControlCertificate"] = this.ultrasonicControlCertificate;
|
|
56165
|
+
data["liquidPenetrantCertificate"] = this.liquidPenetrantCertificate;
|
|
56166
|
+
data["testReport"] = this.testReport;
|
|
56167
|
+
data["dimensionalReport"] = this.dimensionalReport;
|
|
56168
|
+
data["dyePenetrantReport"] = this.dyePenetrantReport;
|
|
56169
|
+
data["visualReport"] = this.visualReport;
|
|
56170
|
+
data["certificateOfAnalyticalAndMechanicalTests"] = this.certificateOfAnalyticalAndMechanicalTests;
|
|
56171
|
+
data["certificateOfTest"] = this.certificateOfTest;
|
|
56172
|
+
data["technicalReport"] = this.technicalReport;
|
|
56173
|
+
data["microExaminationReport"] = this.microExaminationReport;
|
|
56174
|
+
data["radiologicalReport"] = this.radiologicalReport;
|
|
56175
|
+
return data;
|
|
56176
|
+
}
|
|
56177
|
+
}
|
|
56178
|
+
export class CreateAmcTypeRequestDto {
|
|
56179
|
+
constructor(data) {
|
|
56180
|
+
if (data) {
|
|
56181
|
+
for (var property in data) {
|
|
56182
|
+
if (data.hasOwnProperty(property))
|
|
56183
|
+
this[property] = data[property];
|
|
56184
|
+
}
|
|
56185
|
+
}
|
|
56186
|
+
}
|
|
56187
|
+
init(_data) {
|
|
56188
|
+
if (_data) {
|
|
56189
|
+
this.name = _data["name"];
|
|
56190
|
+
this.revision = _data["revision"];
|
|
56191
|
+
this.description = _data["description"];
|
|
56192
|
+
}
|
|
56193
|
+
}
|
|
56194
|
+
static fromJS(data) {
|
|
56195
|
+
data = typeof data === 'object' ? data : {};
|
|
56196
|
+
let result = new CreateAmcTypeRequestDto();
|
|
56197
|
+
result.init(data);
|
|
56198
|
+
return result;
|
|
56199
|
+
}
|
|
56200
|
+
toJSON(data) {
|
|
56201
|
+
data = typeof data === 'object' ? data : {};
|
|
56202
|
+
data["name"] = this.name;
|
|
56203
|
+
data["revision"] = this.revision;
|
|
56204
|
+
data["description"] = this.description;
|
|
56205
|
+
return data;
|
|
56206
|
+
}
|
|
56207
|
+
}
|
|
56208
|
+
export class UpdateAmcTypeDto {
|
|
56209
|
+
constructor(data) {
|
|
56210
|
+
if (data) {
|
|
56211
|
+
for (var property in data) {
|
|
56212
|
+
if (data.hasOwnProperty(property))
|
|
56213
|
+
this[property] = data[property];
|
|
56214
|
+
}
|
|
56215
|
+
}
|
|
56216
|
+
if (!data) {
|
|
56217
|
+
this.checks = new AmcTypeChecksDto();
|
|
56218
|
+
}
|
|
56219
|
+
}
|
|
56220
|
+
init(_data) {
|
|
56221
|
+
if (_data) {
|
|
56222
|
+
this.typeId = _data["typeId"];
|
|
56223
|
+
this.version = _data["version"];
|
|
56224
|
+
this.description = _data["description"];
|
|
56225
|
+
this.checks = _data["checks"] ? AmcTypeChecksDto.fromJS(_data["checks"]) : new AmcTypeChecksDto();
|
|
56226
|
+
}
|
|
56227
|
+
}
|
|
56228
|
+
static fromJS(data) {
|
|
56229
|
+
data = typeof data === 'object' ? data : {};
|
|
56230
|
+
let result = new UpdateAmcTypeDto();
|
|
56231
|
+
result.init(data);
|
|
56232
|
+
return result;
|
|
56233
|
+
}
|
|
56234
|
+
toJSON(data) {
|
|
56235
|
+
data = typeof data === 'object' ? data : {};
|
|
56236
|
+
data["typeId"] = this.typeId;
|
|
56237
|
+
data["version"] = this.version;
|
|
56238
|
+
data["description"] = this.description;
|
|
56239
|
+
data["checks"] = this.checks ? this.checks.toJSON() : undefined;
|
|
56240
|
+
return data;
|
|
56241
|
+
}
|
|
56242
|
+
}
|
|
53141
56243
|
function formatDate(d) {
|
|
53142
56244
|
return d.getFullYear() + '-' +
|
|
53143
56245
|
(d.getMonth() < 9 ? ('0' + (d.getMonth() + 1)) : (d.getMonth() + 1)) + '-' +
|