@ignos/api-client 20250808.0.12338 → 20250814.0.12365
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 +62 -309
- package/lib/ignosportal-api.js +195 -683
- package/package.json +1 -1
- package/src/ignosportal-api.ts +407 -1135
package/src/ignosportal-api.ts
CHANGED
|
@@ -18150,8 +18150,6 @@ export interface IMeasurementFormSchemasClient {
|
|
|
18150
18150
|
|
|
18151
18151
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
18152
18152
|
|
|
18153
|
-
getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
|
|
18154
|
-
|
|
18155
18153
|
listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
18156
18154
|
|
|
18157
18155
|
postListLinkableMeasurementFormSchemas(request: ListLinkableMeasurementFormSchemasRequest): Promise<PagedResultOfMeasurementFormListDto>;
|
|
@@ -18202,11 +18200,6 @@ export interface IMeasurementFormSchemasClient {
|
|
|
18202
18200
|
|
|
18203
18201
|
getMeasurementFormMappingSuggestion(targetId: string | null | undefined, sourceId: string | null | undefined): Promise<MeasurementFormMappingSuggestionDto>;
|
|
18204
18202
|
|
|
18205
|
-
/**
|
|
18206
|
-
* Custom api for initial import. Not to be used more than once per customer.
|
|
18207
|
-
*/
|
|
18208
|
-
importMeasurementFormSchema(request: ImportMeasurementFormSchema): Promise<MeasurementFormDto>;
|
|
18209
|
-
|
|
18210
18203
|
listMeasurementFormNeeds(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined, onlyWithoutDrawingUrl: boolean | null | undefined): Promise<PagedResultOfMeasurementFormNeedDto>;
|
|
18211
18204
|
|
|
18212
18205
|
postListMeasurementFormNeeds(request: ListMeasurementFormNeedsRequest | undefined): Promise<PagedResultOfMeasurementFormNeedDto>;
|
|
@@ -18858,45 +18851,6 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
18858
18851
|
return Promise.resolve<MeasurementFormSchemaDto>(null as any);
|
|
18859
18852
|
}
|
|
18860
18853
|
|
|
18861
|
-
getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto> {
|
|
18862
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/importstatus";
|
|
18863
|
-
if (id === undefined || id === null)
|
|
18864
|
-
throw new Error("The parameter 'id' must be defined.");
|
|
18865
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18866
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18867
|
-
|
|
18868
|
-
let options_: RequestInit = {
|
|
18869
|
-
method: "GET",
|
|
18870
|
-
headers: {
|
|
18871
|
-
"Accept": "application/json"
|
|
18872
|
-
}
|
|
18873
|
-
};
|
|
18874
|
-
|
|
18875
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18876
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18877
|
-
}).then((_response: Response) => {
|
|
18878
|
-
return this.processGetMeasurementFormImportStatus(_response);
|
|
18879
|
-
});
|
|
18880
|
-
}
|
|
18881
|
-
|
|
18882
|
-
protected processGetMeasurementFormImportStatus(response: Response): Promise<MeasurementFormImportStatusDto> {
|
|
18883
|
-
const status = response.status;
|
|
18884
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
18885
|
-
if (status === 200) {
|
|
18886
|
-
return response.text().then((_responseText) => {
|
|
18887
|
-
let result200: any = null;
|
|
18888
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18889
|
-
result200 = MeasurementFormImportStatusDto.fromJS(resultData200);
|
|
18890
|
-
return result200;
|
|
18891
|
-
});
|
|
18892
|
-
} else if (status !== 200 && status !== 204) {
|
|
18893
|
-
return response.text().then((_responseText) => {
|
|
18894
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18895
|
-
});
|
|
18896
|
-
}
|
|
18897
|
-
return Promise.resolve<MeasurementFormImportStatusDto>(null as any);
|
|
18898
|
-
}
|
|
18899
|
-
|
|
18900
18854
|
listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto> {
|
|
18901
18855
|
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaId}/listlinkableschemas?";
|
|
18902
18856
|
if (schemaId === undefined || schemaId === null)
|
|
@@ -19685,11 +19639,68 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19685
19639
|
return Promise.resolve<MeasurementFormMappingSuggestionDto>(null as any);
|
|
19686
19640
|
}
|
|
19687
19641
|
|
|
19688
|
-
|
|
19689
|
-
|
|
19690
|
-
|
|
19691
|
-
|
|
19692
|
-
|
|
19642
|
+
listMeasurementFormNeeds(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined, onlyWithoutDrawingUrl: boolean | null | undefined): Promise<PagedResultOfMeasurementFormNeedDto> {
|
|
19643
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/needs?";
|
|
19644
|
+
if (pageSize === null)
|
|
19645
|
+
throw new Error("The parameter 'pageSize' cannot be null.");
|
|
19646
|
+
else if (pageSize !== undefined)
|
|
19647
|
+
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
19648
|
+
if (customerId !== undefined && customerId !== null)
|
|
19649
|
+
url_ += "customerId=" + encodeURIComponent("" + customerId) + "&";
|
|
19650
|
+
if (customerName !== undefined && customerName !== null)
|
|
19651
|
+
url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
|
|
19652
|
+
if (partNumber !== undefined && partNumber !== null)
|
|
19653
|
+
url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
|
|
19654
|
+
if (partName !== undefined && partName !== null)
|
|
19655
|
+
url_ += "partName=" + encodeURIComponent("" + partName) + "&";
|
|
19656
|
+
if (partRevision !== undefined && partRevision !== null)
|
|
19657
|
+
url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
|
|
19658
|
+
if (drawing !== undefined && drawing !== null)
|
|
19659
|
+
url_ += "drawing=" + encodeURIComponent("" + drawing) + "&";
|
|
19660
|
+
if (drawingRevision !== undefined && drawingRevision !== null)
|
|
19661
|
+
url_ += "drawingRevision=" + encodeURIComponent("" + drawingRevision) + "&";
|
|
19662
|
+
if (filter !== undefined && filter !== null)
|
|
19663
|
+
url_ += "filter=" + encodeURIComponent("" + filter) + "&";
|
|
19664
|
+
if (continuationToken !== undefined && continuationToken !== null)
|
|
19665
|
+
url_ += "continuationToken=" + encodeURIComponent("" + continuationToken) + "&";
|
|
19666
|
+
if (onlyWithoutDrawingUrl !== undefined && onlyWithoutDrawingUrl !== null)
|
|
19667
|
+
url_ += "onlyWithoutDrawingUrl=" + encodeURIComponent("" + onlyWithoutDrawingUrl) + "&";
|
|
19668
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
19669
|
+
|
|
19670
|
+
let options_: RequestInit = {
|
|
19671
|
+
method: "GET",
|
|
19672
|
+
headers: {
|
|
19673
|
+
"Accept": "application/json"
|
|
19674
|
+
}
|
|
19675
|
+
};
|
|
19676
|
+
|
|
19677
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19678
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
19679
|
+
}).then((_response: Response) => {
|
|
19680
|
+
return this.processListMeasurementFormNeeds(_response);
|
|
19681
|
+
});
|
|
19682
|
+
}
|
|
19683
|
+
|
|
19684
|
+
protected processListMeasurementFormNeeds(response: Response): Promise<PagedResultOfMeasurementFormNeedDto> {
|
|
19685
|
+
const status = response.status;
|
|
19686
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19687
|
+
if (status === 200) {
|
|
19688
|
+
return response.text().then((_responseText) => {
|
|
19689
|
+
let result200: any = null;
|
|
19690
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19691
|
+
result200 = PagedResultOfMeasurementFormNeedDto.fromJS(resultData200);
|
|
19692
|
+
return result200;
|
|
19693
|
+
});
|
|
19694
|
+
} else if (status !== 200 && status !== 204) {
|
|
19695
|
+
return response.text().then((_responseText) => {
|
|
19696
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19697
|
+
});
|
|
19698
|
+
}
|
|
19699
|
+
return Promise.resolve<PagedResultOfMeasurementFormNeedDto>(null as any);
|
|
19700
|
+
}
|
|
19701
|
+
|
|
19702
|
+
postListMeasurementFormNeeds(request: ListMeasurementFormNeedsRequest | undefined): Promise<PagedResultOfMeasurementFormNeedDto> {
|
|
19703
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/listneeds";
|
|
19693
19704
|
url_ = url_.replace(/[?&]$/, "");
|
|
19694
19705
|
|
|
19695
19706
|
const content_ = JSON.stringify(request);
|
|
@@ -19706,11 +19717,132 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19706
19717
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19707
19718
|
return this.http.fetch(url_, transformedOptions_);
|
|
19708
19719
|
}).then((_response: Response) => {
|
|
19709
|
-
return this.
|
|
19720
|
+
return this.processPostListMeasurementFormNeeds(_response);
|
|
19710
19721
|
});
|
|
19711
19722
|
}
|
|
19712
19723
|
|
|
19713
|
-
protected
|
|
19724
|
+
protected processPostListMeasurementFormNeeds(response: Response): Promise<PagedResultOfMeasurementFormNeedDto> {
|
|
19725
|
+
const status = response.status;
|
|
19726
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19727
|
+
if (status === 200) {
|
|
19728
|
+
return response.text().then((_responseText) => {
|
|
19729
|
+
let result200: any = null;
|
|
19730
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19731
|
+
result200 = PagedResultOfMeasurementFormNeedDto.fromJS(resultData200);
|
|
19732
|
+
return result200;
|
|
19733
|
+
});
|
|
19734
|
+
} else if (status !== 200 && status !== 204) {
|
|
19735
|
+
return response.text().then((_responseText) => {
|
|
19736
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19737
|
+
});
|
|
19738
|
+
}
|
|
19739
|
+
return Promise.resolve<PagedResultOfMeasurementFormNeedDto>(null as any);
|
|
19740
|
+
}
|
|
19741
|
+
|
|
19742
|
+
setMeasurementFormNeedUser(id: string, request: SetMeasurementFormNeedUserRequest): Promise<void> {
|
|
19743
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/needs/{id}/assign";
|
|
19744
|
+
if (id === undefined || id === null)
|
|
19745
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
19746
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
19747
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
19748
|
+
|
|
19749
|
+
const content_ = JSON.stringify(request);
|
|
19750
|
+
|
|
19751
|
+
let options_: RequestInit = {
|
|
19752
|
+
body: content_,
|
|
19753
|
+
method: "PUT",
|
|
19754
|
+
headers: {
|
|
19755
|
+
"Content-Type": "application/json",
|
|
19756
|
+
}
|
|
19757
|
+
};
|
|
19758
|
+
|
|
19759
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19760
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
19761
|
+
}).then((_response: Response) => {
|
|
19762
|
+
return this.processSetMeasurementFormNeedUser(_response);
|
|
19763
|
+
});
|
|
19764
|
+
}
|
|
19765
|
+
|
|
19766
|
+
protected processSetMeasurementFormNeedUser(response: Response): Promise<void> {
|
|
19767
|
+
const status = response.status;
|
|
19768
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19769
|
+
if (status === 204) {
|
|
19770
|
+
return response.text().then((_responseText) => {
|
|
19771
|
+
return;
|
|
19772
|
+
});
|
|
19773
|
+
} else if (status !== 200 && status !== 204) {
|
|
19774
|
+
return response.text().then((_responseText) => {
|
|
19775
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19776
|
+
});
|
|
19777
|
+
}
|
|
19778
|
+
return Promise.resolve<void>(null as any);
|
|
19779
|
+
}
|
|
19780
|
+
|
|
19781
|
+
setMeasurementFormNeedAsNotNeeded(id: string, request: SetMeasurementFormNeedAsNotNeededRequest): Promise<MeasurementFormSchemaNotNeededDto> {
|
|
19782
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/needs/{id}/notneeded";
|
|
19783
|
+
if (id === undefined || id === null)
|
|
19784
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
19785
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
19786
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
19787
|
+
|
|
19788
|
+
const content_ = JSON.stringify(request);
|
|
19789
|
+
|
|
19790
|
+
let options_: RequestInit = {
|
|
19791
|
+
body: content_,
|
|
19792
|
+
method: "POST",
|
|
19793
|
+
headers: {
|
|
19794
|
+
"Content-Type": "application/json",
|
|
19795
|
+
"Accept": "application/json"
|
|
19796
|
+
}
|
|
19797
|
+
};
|
|
19798
|
+
|
|
19799
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19800
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
19801
|
+
}).then((_response: Response) => {
|
|
19802
|
+
return this.processSetMeasurementFormNeedAsNotNeeded(_response);
|
|
19803
|
+
});
|
|
19804
|
+
}
|
|
19805
|
+
|
|
19806
|
+
protected processSetMeasurementFormNeedAsNotNeeded(response: Response): Promise<MeasurementFormSchemaNotNeededDto> {
|
|
19807
|
+
const status = response.status;
|
|
19808
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19809
|
+
if (status === 200) {
|
|
19810
|
+
return response.text().then((_responseText) => {
|
|
19811
|
+
let result200: any = null;
|
|
19812
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19813
|
+
result200 = MeasurementFormSchemaNotNeededDto.fromJS(resultData200);
|
|
19814
|
+
return result200;
|
|
19815
|
+
});
|
|
19816
|
+
} else if (status !== 200 && status !== 204) {
|
|
19817
|
+
return response.text().then((_responseText) => {
|
|
19818
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19819
|
+
});
|
|
19820
|
+
}
|
|
19821
|
+
return Promise.resolve<MeasurementFormSchemaNotNeededDto>(null as any);
|
|
19822
|
+
}
|
|
19823
|
+
|
|
19824
|
+
createMeasurementFormSchemaFromNeed(id: string): Promise<MeasurementFormDto> {
|
|
19825
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/needs/{id}/schema";
|
|
19826
|
+
if (id === undefined || id === null)
|
|
19827
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
19828
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
19829
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
19830
|
+
|
|
19831
|
+
let options_: RequestInit = {
|
|
19832
|
+
method: "POST",
|
|
19833
|
+
headers: {
|
|
19834
|
+
"Accept": "application/json"
|
|
19835
|
+
}
|
|
19836
|
+
};
|
|
19837
|
+
|
|
19838
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19839
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
19840
|
+
}).then((_response: Response) => {
|
|
19841
|
+
return this.processCreateMeasurementFormSchemaFromNeed(_response);
|
|
19842
|
+
});
|
|
19843
|
+
}
|
|
19844
|
+
|
|
19845
|
+
protected processCreateMeasurementFormSchemaFromNeed(response: Response): Promise<MeasurementFormDto> {
|
|
19714
19846
|
const status = response.status;
|
|
19715
19847
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19716
19848
|
if (status === 200) {
|
|
@@ -19728,272 +19860,51 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19728
19860
|
return Promise.resolve<MeasurementFormDto>(null as any);
|
|
19729
19861
|
}
|
|
19730
19862
|
|
|
19731
|
-
|
|
19732
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/needs
|
|
19733
|
-
if (
|
|
19734
|
-
throw new Error("The parameter '
|
|
19735
|
-
|
|
19736
|
-
|
|
19737
|
-
|
|
19738
|
-
|
|
19739
|
-
|
|
19740
|
-
|
|
19741
|
-
|
|
19742
|
-
|
|
19743
|
-
|
|
19744
|
-
|
|
19745
|
-
|
|
19746
|
-
|
|
19747
|
-
|
|
19748
|
-
|
|
19749
|
-
|
|
19750
|
-
|
|
19751
|
-
|
|
19752
|
-
|
|
19753
|
-
|
|
19754
|
-
|
|
19755
|
-
|
|
19756
|
-
|
|
19757
|
-
|
|
19758
|
-
|
|
19759
|
-
|
|
19760
|
-
|
|
19761
|
-
|
|
19762
|
-
|
|
19763
|
-
|
|
19764
|
-
|
|
19765
|
-
|
|
19766
|
-
|
|
19767
|
-
return
|
|
19768
|
-
|
|
19769
|
-
|
|
19770
|
-
}
|
|
19771
|
-
|
|
19772
|
-
|
|
19773
|
-
|
|
19774
|
-
|
|
19775
|
-
let
|
|
19776
|
-
if (status === 200) {
|
|
19777
|
-
return response.text().then((_responseText) => {
|
|
19778
|
-
let result200: any = null;
|
|
19779
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19780
|
-
result200 = PagedResultOfMeasurementFormNeedDto.fromJS(resultData200);
|
|
19781
|
-
return result200;
|
|
19782
|
-
});
|
|
19783
|
-
} else if (status !== 200 && status !== 204) {
|
|
19784
|
-
return response.text().then((_responseText) => {
|
|
19785
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19786
|
-
});
|
|
19787
|
-
}
|
|
19788
|
-
return Promise.resolve<PagedResultOfMeasurementFormNeedDto>(null as any);
|
|
19789
|
-
}
|
|
19790
|
-
|
|
19791
|
-
postListMeasurementFormNeeds(request: ListMeasurementFormNeedsRequest | undefined): Promise<PagedResultOfMeasurementFormNeedDto> {
|
|
19792
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/listneeds";
|
|
19793
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
19794
|
-
|
|
19795
|
-
const content_ = JSON.stringify(request);
|
|
19796
|
-
|
|
19797
|
-
let options_: RequestInit = {
|
|
19798
|
-
body: content_,
|
|
19799
|
-
method: "POST",
|
|
19800
|
-
headers: {
|
|
19801
|
-
"Content-Type": "application/json",
|
|
19802
|
-
"Accept": "application/json"
|
|
19803
|
-
}
|
|
19804
|
-
};
|
|
19805
|
-
|
|
19806
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19807
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
19808
|
-
}).then((_response: Response) => {
|
|
19809
|
-
return this.processPostListMeasurementFormNeeds(_response);
|
|
19810
|
-
});
|
|
19811
|
-
}
|
|
19812
|
-
|
|
19813
|
-
protected processPostListMeasurementFormNeeds(response: Response): Promise<PagedResultOfMeasurementFormNeedDto> {
|
|
19814
|
-
const status = response.status;
|
|
19815
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19816
|
-
if (status === 200) {
|
|
19817
|
-
return response.text().then((_responseText) => {
|
|
19818
|
-
let result200: any = null;
|
|
19819
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19820
|
-
result200 = PagedResultOfMeasurementFormNeedDto.fromJS(resultData200);
|
|
19821
|
-
return result200;
|
|
19822
|
-
});
|
|
19823
|
-
} else if (status !== 200 && status !== 204) {
|
|
19824
|
-
return response.text().then((_responseText) => {
|
|
19825
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19826
|
-
});
|
|
19827
|
-
}
|
|
19828
|
-
return Promise.resolve<PagedResultOfMeasurementFormNeedDto>(null as any);
|
|
19829
|
-
}
|
|
19830
|
-
|
|
19831
|
-
setMeasurementFormNeedUser(id: string, request: SetMeasurementFormNeedUserRequest): Promise<void> {
|
|
19832
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/needs/{id}/assign";
|
|
19833
|
-
if (id === undefined || id === null)
|
|
19834
|
-
throw new Error("The parameter 'id' must be defined.");
|
|
19835
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
19836
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
19837
|
-
|
|
19838
|
-
const content_ = JSON.stringify(request);
|
|
19839
|
-
|
|
19840
|
-
let options_: RequestInit = {
|
|
19841
|
-
body: content_,
|
|
19842
|
-
method: "PUT",
|
|
19843
|
-
headers: {
|
|
19844
|
-
"Content-Type": "application/json",
|
|
19845
|
-
}
|
|
19846
|
-
};
|
|
19847
|
-
|
|
19848
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19849
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
19850
|
-
}).then((_response: Response) => {
|
|
19851
|
-
return this.processSetMeasurementFormNeedUser(_response);
|
|
19852
|
-
});
|
|
19853
|
-
}
|
|
19854
|
-
|
|
19855
|
-
protected processSetMeasurementFormNeedUser(response: Response): Promise<void> {
|
|
19856
|
-
const status = response.status;
|
|
19857
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19858
|
-
if (status === 204) {
|
|
19859
|
-
return response.text().then((_responseText) => {
|
|
19860
|
-
return;
|
|
19861
|
-
});
|
|
19862
|
-
} else if (status !== 200 && status !== 204) {
|
|
19863
|
-
return response.text().then((_responseText) => {
|
|
19864
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19865
|
-
});
|
|
19866
|
-
}
|
|
19867
|
-
return Promise.resolve<void>(null as any);
|
|
19868
|
-
}
|
|
19869
|
-
|
|
19870
|
-
setMeasurementFormNeedAsNotNeeded(id: string, request: SetMeasurementFormNeedAsNotNeededRequest): Promise<MeasurementFormSchemaNotNeededDto> {
|
|
19871
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/needs/{id}/notneeded";
|
|
19872
|
-
if (id === undefined || id === null)
|
|
19873
|
-
throw new Error("The parameter 'id' must be defined.");
|
|
19874
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
19875
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
19876
|
-
|
|
19877
|
-
const content_ = JSON.stringify(request);
|
|
19878
|
-
|
|
19879
|
-
let options_: RequestInit = {
|
|
19880
|
-
body: content_,
|
|
19881
|
-
method: "POST",
|
|
19882
|
-
headers: {
|
|
19883
|
-
"Content-Type": "application/json",
|
|
19884
|
-
"Accept": "application/json"
|
|
19885
|
-
}
|
|
19886
|
-
};
|
|
19887
|
-
|
|
19888
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19889
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
19890
|
-
}).then((_response: Response) => {
|
|
19891
|
-
return this.processSetMeasurementFormNeedAsNotNeeded(_response);
|
|
19892
|
-
});
|
|
19893
|
-
}
|
|
19894
|
-
|
|
19895
|
-
protected processSetMeasurementFormNeedAsNotNeeded(response: Response): Promise<MeasurementFormSchemaNotNeededDto> {
|
|
19896
|
-
const status = response.status;
|
|
19897
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19898
|
-
if (status === 200) {
|
|
19899
|
-
return response.text().then((_responseText) => {
|
|
19900
|
-
let result200: any = null;
|
|
19901
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19902
|
-
result200 = MeasurementFormSchemaNotNeededDto.fromJS(resultData200);
|
|
19903
|
-
return result200;
|
|
19904
|
-
});
|
|
19905
|
-
} else if (status !== 200 && status !== 204) {
|
|
19906
|
-
return response.text().then((_responseText) => {
|
|
19907
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19908
|
-
});
|
|
19909
|
-
}
|
|
19910
|
-
return Promise.resolve<MeasurementFormSchemaNotNeededDto>(null as any);
|
|
19911
|
-
}
|
|
19912
|
-
|
|
19913
|
-
createMeasurementFormSchemaFromNeed(id: string): Promise<MeasurementFormDto> {
|
|
19914
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/needs/{id}/schema";
|
|
19915
|
-
if (id === undefined || id === null)
|
|
19916
|
-
throw new Error("The parameter 'id' must be defined.");
|
|
19917
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
19918
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
19919
|
-
|
|
19920
|
-
let options_: RequestInit = {
|
|
19921
|
-
method: "POST",
|
|
19922
|
-
headers: {
|
|
19923
|
-
"Accept": "application/json"
|
|
19924
|
-
}
|
|
19925
|
-
};
|
|
19926
|
-
|
|
19927
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19928
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
19929
|
-
}).then((_response: Response) => {
|
|
19930
|
-
return this.processCreateMeasurementFormSchemaFromNeed(_response);
|
|
19931
|
-
});
|
|
19932
|
-
}
|
|
19933
|
-
|
|
19934
|
-
protected processCreateMeasurementFormSchemaFromNeed(response: Response): Promise<MeasurementFormDto> {
|
|
19935
|
-
const status = response.status;
|
|
19936
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19937
|
-
if (status === 200) {
|
|
19938
|
-
return response.text().then((_responseText) => {
|
|
19939
|
-
let result200: any = null;
|
|
19940
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19941
|
-
result200 = MeasurementFormDto.fromJS(resultData200);
|
|
19942
|
-
return result200;
|
|
19943
|
-
});
|
|
19944
|
-
} else if (status !== 200 && status !== 204) {
|
|
19945
|
-
return response.text().then((_responseText) => {
|
|
19946
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19947
|
-
});
|
|
19948
|
-
}
|
|
19949
|
-
return Promise.resolve<MeasurementFormDto>(null as any);
|
|
19950
|
-
}
|
|
19951
|
-
|
|
19952
|
-
uploadNeedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormNeedDto> {
|
|
19953
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/needs/{id}/uploaddrawing";
|
|
19954
|
-
if (id === undefined || id === null)
|
|
19955
|
-
throw new Error("The parameter 'id' must be defined.");
|
|
19956
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
19957
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
19958
|
-
|
|
19959
|
-
const content_ = JSON.stringify(request);
|
|
19960
|
-
|
|
19961
|
-
let options_: RequestInit = {
|
|
19962
|
-
body: content_,
|
|
19963
|
-
method: "POST",
|
|
19964
|
-
headers: {
|
|
19965
|
-
"Content-Type": "application/json",
|
|
19966
|
-
"Accept": "application/json"
|
|
19967
|
-
}
|
|
19968
|
-
};
|
|
19969
|
-
|
|
19970
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19971
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
19972
|
-
}).then((_response: Response) => {
|
|
19973
|
-
return this.processUploadNeedDrawing(_response);
|
|
19974
|
-
});
|
|
19975
|
-
}
|
|
19976
|
-
|
|
19977
|
-
protected processUploadNeedDrawing(response: Response): Promise<MeasurementFormNeedDto> {
|
|
19978
|
-
const status = response.status;
|
|
19979
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19980
|
-
if (status === 200) {
|
|
19981
|
-
return response.text().then((_responseText) => {
|
|
19982
|
-
let result200: any = null;
|
|
19983
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19984
|
-
result200 = MeasurementFormNeedDto.fromJS(resultData200);
|
|
19985
|
-
return result200;
|
|
19986
|
-
});
|
|
19987
|
-
} else if (status !== 200 && status !== 204) {
|
|
19988
|
-
return response.text().then((_responseText) => {
|
|
19989
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19990
|
-
});
|
|
19991
|
-
}
|
|
19992
|
-
return Promise.resolve<MeasurementFormNeedDto>(null as any);
|
|
19993
|
-
}
|
|
19994
|
-
|
|
19995
|
-
listMeasurmentFormSchemasNotNeeded(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormSchemaNotNeededDto> {
|
|
19996
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/schemasnotneeded?";
|
|
19863
|
+
uploadNeedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormNeedDto> {
|
|
19864
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/needs/{id}/uploaddrawing";
|
|
19865
|
+
if (id === undefined || id === null)
|
|
19866
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
19867
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
19868
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
19869
|
+
|
|
19870
|
+
const content_ = JSON.stringify(request);
|
|
19871
|
+
|
|
19872
|
+
let options_: RequestInit = {
|
|
19873
|
+
body: content_,
|
|
19874
|
+
method: "POST",
|
|
19875
|
+
headers: {
|
|
19876
|
+
"Content-Type": "application/json",
|
|
19877
|
+
"Accept": "application/json"
|
|
19878
|
+
}
|
|
19879
|
+
};
|
|
19880
|
+
|
|
19881
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19882
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
19883
|
+
}).then((_response: Response) => {
|
|
19884
|
+
return this.processUploadNeedDrawing(_response);
|
|
19885
|
+
});
|
|
19886
|
+
}
|
|
19887
|
+
|
|
19888
|
+
protected processUploadNeedDrawing(response: Response): Promise<MeasurementFormNeedDto> {
|
|
19889
|
+
const status = response.status;
|
|
19890
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19891
|
+
if (status === 200) {
|
|
19892
|
+
return response.text().then((_responseText) => {
|
|
19893
|
+
let result200: any = null;
|
|
19894
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19895
|
+
result200 = MeasurementFormNeedDto.fromJS(resultData200);
|
|
19896
|
+
return result200;
|
|
19897
|
+
});
|
|
19898
|
+
} else if (status !== 200 && status !== 204) {
|
|
19899
|
+
return response.text().then((_responseText) => {
|
|
19900
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19901
|
+
});
|
|
19902
|
+
}
|
|
19903
|
+
return Promise.resolve<MeasurementFormNeedDto>(null as any);
|
|
19904
|
+
}
|
|
19905
|
+
|
|
19906
|
+
listMeasurmentFormSchemasNotNeeded(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormSchemaNotNeededDto> {
|
|
19907
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/schemasnotneeded?";
|
|
19997
19908
|
if (pageSize === null)
|
|
19998
19909
|
throw new Error("The parameter 'pageSize' cannot be null.");
|
|
19999
19910
|
else if (pageSize !== undefined)
|
|
@@ -20780,11 +20691,11 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
20780
20691
|
|
|
20781
20692
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
20782
20693
|
|
|
20783
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string,
|
|
20694
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
20784
20695
|
|
|
20785
20696
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
20786
20697
|
|
|
20787
|
-
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined,
|
|
20698
|
+
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
20788
20699
|
|
|
20789
20700
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
20790
20701
|
|
|
@@ -20815,8 +20726,6 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
20815
20726
|
getSchemaInstanceElements(id: string, schemaId: string): Promise<SchemaInstanceElementDto[]>;
|
|
20816
20727
|
|
|
20817
20728
|
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
20818
|
-
|
|
20819
|
-
importMeasurementFormInstance(id: string, request: ImportMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
20820
20729
|
}
|
|
20821
20730
|
|
|
20822
20731
|
export class MeasurementFormsInstancesClient extends AuthorizedApiBase implements IMeasurementFormsInstancesClient {
|
|
@@ -21418,7 +21327,7 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
21418
21327
|
return Promise.resolve<MeasurementFormInstanceDto>(null as any);
|
|
21419
21328
|
}
|
|
21420
21329
|
|
|
21421
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string,
|
|
21330
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto> {
|
|
21422
21331
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}/schemas/{schemaId}?";
|
|
21423
21332
|
if (id === undefined || id === null)
|
|
21424
21333
|
throw new Error("The parameter 'id' must be defined.");
|
|
@@ -21426,8 +21335,8 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
21426
21335
|
if (schemaId === undefined || schemaId === null)
|
|
21427
21336
|
throw new Error("The parameter 'schemaId' must be defined.");
|
|
21428
21337
|
url_ = url_.replace("{schemaId}", encodeURIComponent("" + schemaId));
|
|
21429
|
-
if (
|
|
21430
|
-
url_ += "
|
|
21338
|
+
if (serialNumber !== undefined && serialNumber !== null)
|
|
21339
|
+
url_ += "serialNumber=" + encodeURIComponent("" + serialNumber) + "&";
|
|
21431
21340
|
if (tenantId !== undefined && tenantId !== null)
|
|
21432
21341
|
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
21433
21342
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -21505,7 +21414,7 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
21505
21414
|
return Promise.resolve<MeasurementFormInstanceProgressDto>(null as any);
|
|
21506
21415
|
}
|
|
21507
21416
|
|
|
21508
|
-
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined,
|
|
21417
|
+
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]> {
|
|
21509
21418
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}/auditlog?";
|
|
21510
21419
|
if (id === undefined || id === null)
|
|
21511
21420
|
throw new Error("The parameter 'id' must be defined.");
|
|
@@ -21514,8 +21423,8 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
21514
21423
|
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
21515
21424
|
if (schemaId !== undefined && schemaId !== null)
|
|
21516
21425
|
url_ += "schemaId=" + encodeURIComponent("" + schemaId) + "&";
|
|
21517
|
-
if (
|
|
21518
|
-
url_ += "
|
|
21426
|
+
if (serialNumber !== undefined && serialNumber !== null)
|
|
21427
|
+
url_ += "serialNumber=" + encodeURIComponent("" + serialNumber) + "&";
|
|
21519
21428
|
if (elementId !== undefined && elementId !== null)
|
|
21520
21429
|
url_ += "elementId=" + encodeURIComponent("" + elementId) + "&";
|
|
21521
21430
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -22199,49 +22108,6 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
22199
22108
|
}
|
|
22200
22109
|
return Promise.resolve<void>(null as any);
|
|
22201
22110
|
}
|
|
22202
|
-
|
|
22203
|
-
importMeasurementFormInstance(id: string, request: ImportMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto> {
|
|
22204
|
-
let url_ = this.baseUrl + "/measurementforms/instances/{id}/import";
|
|
22205
|
-
if (id === undefined || id === null)
|
|
22206
|
-
throw new Error("The parameter 'id' must be defined.");
|
|
22207
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
22208
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
22209
|
-
|
|
22210
|
-
const content_ = JSON.stringify(request);
|
|
22211
|
-
|
|
22212
|
-
let options_: RequestInit = {
|
|
22213
|
-
body: content_,
|
|
22214
|
-
method: "POST",
|
|
22215
|
-
headers: {
|
|
22216
|
-
"Content-Type": "application/json",
|
|
22217
|
-
"Accept": "application/json"
|
|
22218
|
-
}
|
|
22219
|
-
};
|
|
22220
|
-
|
|
22221
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22222
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
22223
|
-
}).then((_response: Response) => {
|
|
22224
|
-
return this.processImportMeasurementFormInstance(_response);
|
|
22225
|
-
});
|
|
22226
|
-
}
|
|
22227
|
-
|
|
22228
|
-
protected processImportMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto> {
|
|
22229
|
-
const status = response.status;
|
|
22230
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22231
|
-
if (status === 200) {
|
|
22232
|
-
return response.text().then((_responseText) => {
|
|
22233
|
-
let result200: any = null;
|
|
22234
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22235
|
-
result200 = MeasurementFormInstanceDto.fromJS(resultData200);
|
|
22236
|
-
return result200;
|
|
22237
|
-
});
|
|
22238
|
-
} else if (status !== 200 && status !== 204) {
|
|
22239
|
-
return response.text().then((_responseText) => {
|
|
22240
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22241
|
-
});
|
|
22242
|
-
}
|
|
22243
|
-
return Promise.resolve<MeasurementFormInstanceDto>(null as any);
|
|
22244
|
-
}
|
|
22245
22111
|
}
|
|
22246
22112
|
|
|
22247
22113
|
export interface IElectricalClient {
|
|
@@ -53527,54 +53393,6 @@ export interface IUploadRequest {
|
|
|
53527
53393
|
filename: string;
|
|
53528
53394
|
}
|
|
53529
53395
|
|
|
53530
|
-
export class MeasurementFormImportStatusDto implements IMeasurementFormImportStatusDto {
|
|
53531
|
-
progress!: number;
|
|
53532
|
-
totalElements!: number;
|
|
53533
|
-
errorMessage!: string;
|
|
53534
|
-
timestamp!: Date;
|
|
53535
|
-
|
|
53536
|
-
constructor(data?: IMeasurementFormImportStatusDto) {
|
|
53537
|
-
if (data) {
|
|
53538
|
-
for (var property in data) {
|
|
53539
|
-
if (data.hasOwnProperty(property))
|
|
53540
|
-
(<any>this)[property] = (<any>data)[property];
|
|
53541
|
-
}
|
|
53542
|
-
}
|
|
53543
|
-
}
|
|
53544
|
-
|
|
53545
|
-
init(_data?: any) {
|
|
53546
|
-
if (_data) {
|
|
53547
|
-
this.progress = _data["progress"];
|
|
53548
|
-
this.totalElements = _data["totalElements"];
|
|
53549
|
-
this.errorMessage = _data["errorMessage"];
|
|
53550
|
-
this.timestamp = _data["timestamp"] ? new Date(_data["timestamp"].toString()) : <any>undefined;
|
|
53551
|
-
}
|
|
53552
|
-
}
|
|
53553
|
-
|
|
53554
|
-
static fromJS(data: any): MeasurementFormImportStatusDto {
|
|
53555
|
-
data = typeof data === 'object' ? data : {};
|
|
53556
|
-
let result = new MeasurementFormImportStatusDto();
|
|
53557
|
-
result.init(data);
|
|
53558
|
-
return result;
|
|
53559
|
-
}
|
|
53560
|
-
|
|
53561
|
-
toJSON(data?: any) {
|
|
53562
|
-
data = typeof data === 'object' ? data : {};
|
|
53563
|
-
data["progress"] = this.progress;
|
|
53564
|
-
data["totalElements"] = this.totalElements;
|
|
53565
|
-
data["errorMessage"] = this.errorMessage;
|
|
53566
|
-
data["timestamp"] = this.timestamp ? this.timestamp.toISOString() : <any>undefined;
|
|
53567
|
-
return data;
|
|
53568
|
-
}
|
|
53569
|
-
}
|
|
53570
|
-
|
|
53571
|
-
export interface IMeasurementFormImportStatusDto {
|
|
53572
|
-
progress: number;
|
|
53573
|
-
totalElements: number;
|
|
53574
|
-
errorMessage: string;
|
|
53575
|
-
timestamp: Date;
|
|
53576
|
-
}
|
|
53577
|
-
|
|
53578
53396
|
export class ListLinkableMeasurementFormSchemasRequest implements IListLinkableMeasurementFormSchemasRequest {
|
|
53579
53397
|
schemaId!: string;
|
|
53580
53398
|
pageSize?: number | null;
|
|
@@ -54276,456 +54094,6 @@ export interface IMeasurementFormMappingSuggestionDto {
|
|
|
54276
54094
|
targetBalloons: MeasurementFormBalloonMappingDto[];
|
|
54277
54095
|
}
|
|
54278
54096
|
|
|
54279
|
-
export class ImportMeasurementFormSchema implements IImportMeasurementFormSchema {
|
|
54280
|
-
customerId?: string | null;
|
|
54281
|
-
customerName?: string | null;
|
|
54282
|
-
partNumber!: string;
|
|
54283
|
-
partName?: string | null;
|
|
54284
|
-
partRevision?: string | null;
|
|
54285
|
-
drawing?: string | null;
|
|
54286
|
-
drawingRevision?: string | null;
|
|
54287
|
-
includeToolsInReport!: boolean;
|
|
54288
|
-
created?: Date;
|
|
54289
|
-
createdBy?: string | null;
|
|
54290
|
-
updatedBy?: string | null;
|
|
54291
|
-
excludeFromCustomerDocumentation!: boolean;
|
|
54292
|
-
source!: MeasurementFormSource;
|
|
54293
|
-
extraSchemas?: MeasurementFormImportLinkedSchemaDto[] | null;
|
|
54294
|
-
versions!: MeasurementFormVersionImportDto[];
|
|
54295
|
-
|
|
54296
|
-
constructor(data?: IImportMeasurementFormSchema) {
|
|
54297
|
-
if (data) {
|
|
54298
|
-
for (var property in data) {
|
|
54299
|
-
if (data.hasOwnProperty(property))
|
|
54300
|
-
(<any>this)[property] = (<any>data)[property];
|
|
54301
|
-
}
|
|
54302
|
-
}
|
|
54303
|
-
if (!data) {
|
|
54304
|
-
this.versions = [];
|
|
54305
|
-
}
|
|
54306
|
-
}
|
|
54307
|
-
|
|
54308
|
-
init(_data?: any) {
|
|
54309
|
-
if (_data) {
|
|
54310
|
-
this.customerId = _data["customerId"];
|
|
54311
|
-
this.customerName = _data["customerName"];
|
|
54312
|
-
this.partNumber = _data["partNumber"];
|
|
54313
|
-
this.partName = _data["partName"];
|
|
54314
|
-
this.partRevision = _data["partRevision"];
|
|
54315
|
-
this.drawing = _data["drawing"];
|
|
54316
|
-
this.drawingRevision = _data["drawingRevision"];
|
|
54317
|
-
this.includeToolsInReport = _data["includeToolsInReport"];
|
|
54318
|
-
this.created = _data["created"] ? new Date(_data["created"].toString()) : <any>undefined;
|
|
54319
|
-
this.createdBy = _data["createdBy"];
|
|
54320
|
-
this.updatedBy = _data["updatedBy"];
|
|
54321
|
-
this.excludeFromCustomerDocumentation = _data["excludeFromCustomerDocumentation"];
|
|
54322
|
-
this.source = _data["source"];
|
|
54323
|
-
if (Array.isArray(_data["extraSchemas"])) {
|
|
54324
|
-
this.extraSchemas = [] as any;
|
|
54325
|
-
for (let item of _data["extraSchemas"])
|
|
54326
|
-
this.extraSchemas!.push(MeasurementFormImportLinkedSchemaDto.fromJS(item));
|
|
54327
|
-
}
|
|
54328
|
-
if (Array.isArray(_data["versions"])) {
|
|
54329
|
-
this.versions = [] as any;
|
|
54330
|
-
for (let item of _data["versions"])
|
|
54331
|
-
this.versions!.push(MeasurementFormVersionImportDto.fromJS(item));
|
|
54332
|
-
}
|
|
54333
|
-
}
|
|
54334
|
-
}
|
|
54335
|
-
|
|
54336
|
-
static fromJS(data: any): ImportMeasurementFormSchema {
|
|
54337
|
-
data = typeof data === 'object' ? data : {};
|
|
54338
|
-
let result = new ImportMeasurementFormSchema();
|
|
54339
|
-
result.init(data);
|
|
54340
|
-
return result;
|
|
54341
|
-
}
|
|
54342
|
-
|
|
54343
|
-
toJSON(data?: any) {
|
|
54344
|
-
data = typeof data === 'object' ? data : {};
|
|
54345
|
-
data["customerId"] = this.customerId;
|
|
54346
|
-
data["customerName"] = this.customerName;
|
|
54347
|
-
data["partNumber"] = this.partNumber;
|
|
54348
|
-
data["partName"] = this.partName;
|
|
54349
|
-
data["partRevision"] = this.partRevision;
|
|
54350
|
-
data["drawing"] = this.drawing;
|
|
54351
|
-
data["drawingRevision"] = this.drawingRevision;
|
|
54352
|
-
data["includeToolsInReport"] = this.includeToolsInReport;
|
|
54353
|
-
data["created"] = this.created ? this.created.toISOString() : <any>undefined;
|
|
54354
|
-
data["createdBy"] = this.createdBy;
|
|
54355
|
-
data["updatedBy"] = this.updatedBy;
|
|
54356
|
-
data["excludeFromCustomerDocumentation"] = this.excludeFromCustomerDocumentation;
|
|
54357
|
-
data["source"] = this.source;
|
|
54358
|
-
if (Array.isArray(this.extraSchemas)) {
|
|
54359
|
-
data["extraSchemas"] = [];
|
|
54360
|
-
for (let item of this.extraSchemas)
|
|
54361
|
-
data["extraSchemas"].push(item.toJSON());
|
|
54362
|
-
}
|
|
54363
|
-
if (Array.isArray(this.versions)) {
|
|
54364
|
-
data["versions"] = [];
|
|
54365
|
-
for (let item of this.versions)
|
|
54366
|
-
data["versions"].push(item.toJSON());
|
|
54367
|
-
}
|
|
54368
|
-
return data;
|
|
54369
|
-
}
|
|
54370
|
-
}
|
|
54371
|
-
|
|
54372
|
-
export interface IImportMeasurementFormSchema {
|
|
54373
|
-
customerId?: string | null;
|
|
54374
|
-
customerName?: string | null;
|
|
54375
|
-
partNumber: string;
|
|
54376
|
-
partName?: string | null;
|
|
54377
|
-
partRevision?: string | null;
|
|
54378
|
-
drawing?: string | null;
|
|
54379
|
-
drawingRevision?: string | null;
|
|
54380
|
-
includeToolsInReport: boolean;
|
|
54381
|
-
created?: Date;
|
|
54382
|
-
createdBy?: string | null;
|
|
54383
|
-
updatedBy?: string | null;
|
|
54384
|
-
excludeFromCustomerDocumentation: boolean;
|
|
54385
|
-
source: MeasurementFormSource;
|
|
54386
|
-
extraSchemas?: MeasurementFormImportLinkedSchemaDto[] | null;
|
|
54387
|
-
versions: MeasurementFormVersionImportDto[];
|
|
54388
|
-
}
|
|
54389
|
-
|
|
54390
|
-
export class MeasurementFormImportLinkedSchemaDto implements IMeasurementFormImportLinkedSchemaDto {
|
|
54391
|
-
customerId?: string | null;
|
|
54392
|
-
partNumber?: string | null;
|
|
54393
|
-
partName?: string | null;
|
|
54394
|
-
partRevision?: string | null;
|
|
54395
|
-
drawing!: string;
|
|
54396
|
-
drawingRevision?: string | null;
|
|
54397
|
-
schemaId?: string | null;
|
|
54398
|
-
|
|
54399
|
-
constructor(data?: IMeasurementFormImportLinkedSchemaDto) {
|
|
54400
|
-
if (data) {
|
|
54401
|
-
for (var property in data) {
|
|
54402
|
-
if (data.hasOwnProperty(property))
|
|
54403
|
-
(<any>this)[property] = (<any>data)[property];
|
|
54404
|
-
}
|
|
54405
|
-
}
|
|
54406
|
-
}
|
|
54407
|
-
|
|
54408
|
-
init(_data?: any) {
|
|
54409
|
-
if (_data) {
|
|
54410
|
-
this.customerId = _data["customerId"];
|
|
54411
|
-
this.partNumber = _data["partNumber"];
|
|
54412
|
-
this.partName = _data["partName"];
|
|
54413
|
-
this.partRevision = _data["partRevision"];
|
|
54414
|
-
this.drawing = _data["drawing"];
|
|
54415
|
-
this.drawingRevision = _data["drawingRevision"];
|
|
54416
|
-
this.schemaId = _data["schemaId"];
|
|
54417
|
-
}
|
|
54418
|
-
}
|
|
54419
|
-
|
|
54420
|
-
static fromJS(data: any): MeasurementFormImportLinkedSchemaDto {
|
|
54421
|
-
data = typeof data === 'object' ? data : {};
|
|
54422
|
-
let result = new MeasurementFormImportLinkedSchemaDto();
|
|
54423
|
-
result.init(data);
|
|
54424
|
-
return result;
|
|
54425
|
-
}
|
|
54426
|
-
|
|
54427
|
-
toJSON(data?: any) {
|
|
54428
|
-
data = typeof data === 'object' ? data : {};
|
|
54429
|
-
data["customerId"] = this.customerId;
|
|
54430
|
-
data["partNumber"] = this.partNumber;
|
|
54431
|
-
data["partName"] = this.partName;
|
|
54432
|
-
data["partRevision"] = this.partRevision;
|
|
54433
|
-
data["drawing"] = this.drawing;
|
|
54434
|
-
data["drawingRevision"] = this.drawingRevision;
|
|
54435
|
-
data["schemaId"] = this.schemaId;
|
|
54436
|
-
return data;
|
|
54437
|
-
}
|
|
54438
|
-
}
|
|
54439
|
-
|
|
54440
|
-
export interface IMeasurementFormImportLinkedSchemaDto {
|
|
54441
|
-
customerId?: string | null;
|
|
54442
|
-
partNumber?: string | null;
|
|
54443
|
-
partName?: string | null;
|
|
54444
|
-
partRevision?: string | null;
|
|
54445
|
-
drawing: string;
|
|
54446
|
-
drawingRevision?: string | null;
|
|
54447
|
-
schemaId?: string | null;
|
|
54448
|
-
}
|
|
54449
|
-
|
|
54450
|
-
export class MeasurementFormVersionImportDto implements IMeasurementFormVersionImportDto {
|
|
54451
|
-
version!: number;
|
|
54452
|
-
specification?: string | null;
|
|
54453
|
-
drawingUrl?: string | null;
|
|
54454
|
-
markedDrawingUrl?: string | null;
|
|
54455
|
-
xmlUrl?: string | null;
|
|
54456
|
-
inspectionXpertProjectUrl?: string | null;
|
|
54457
|
-
created!: Date;
|
|
54458
|
-
createdBy!: string;
|
|
54459
|
-
updated?: Date | null;
|
|
54460
|
-
updatedBy?: string | null;
|
|
54461
|
-
elements!: MeasurementFormElementImportDto[];
|
|
54462
|
-
isUsed!: boolean;
|
|
54463
|
-
|
|
54464
|
-
constructor(data?: IMeasurementFormVersionImportDto) {
|
|
54465
|
-
if (data) {
|
|
54466
|
-
for (var property in data) {
|
|
54467
|
-
if (data.hasOwnProperty(property))
|
|
54468
|
-
(<any>this)[property] = (<any>data)[property];
|
|
54469
|
-
}
|
|
54470
|
-
}
|
|
54471
|
-
if (!data) {
|
|
54472
|
-
this.elements = [];
|
|
54473
|
-
}
|
|
54474
|
-
}
|
|
54475
|
-
|
|
54476
|
-
init(_data?: any) {
|
|
54477
|
-
if (_data) {
|
|
54478
|
-
this.version = _data["version"];
|
|
54479
|
-
this.specification = _data["specification"];
|
|
54480
|
-
this.drawingUrl = _data["drawingUrl"];
|
|
54481
|
-
this.markedDrawingUrl = _data["markedDrawingUrl"];
|
|
54482
|
-
this.xmlUrl = _data["xmlUrl"];
|
|
54483
|
-
this.inspectionXpertProjectUrl = _data["inspectionXpertProjectUrl"];
|
|
54484
|
-
this.created = _data["created"] ? new Date(_data["created"].toString()) : <any>undefined;
|
|
54485
|
-
this.createdBy = _data["createdBy"];
|
|
54486
|
-
this.updated = _data["updated"] ? new Date(_data["updated"].toString()) : <any>undefined;
|
|
54487
|
-
this.updatedBy = _data["updatedBy"];
|
|
54488
|
-
if (Array.isArray(_data["elements"])) {
|
|
54489
|
-
this.elements = [] as any;
|
|
54490
|
-
for (let item of _data["elements"])
|
|
54491
|
-
this.elements!.push(MeasurementFormElementImportDto.fromJS(item));
|
|
54492
|
-
}
|
|
54493
|
-
this.isUsed = _data["isUsed"];
|
|
54494
|
-
}
|
|
54495
|
-
}
|
|
54496
|
-
|
|
54497
|
-
static fromJS(data: any): MeasurementFormVersionImportDto {
|
|
54498
|
-
data = typeof data === 'object' ? data : {};
|
|
54499
|
-
let result = new MeasurementFormVersionImportDto();
|
|
54500
|
-
result.init(data);
|
|
54501
|
-
return result;
|
|
54502
|
-
}
|
|
54503
|
-
|
|
54504
|
-
toJSON(data?: any) {
|
|
54505
|
-
data = typeof data === 'object' ? data : {};
|
|
54506
|
-
data["version"] = this.version;
|
|
54507
|
-
data["specification"] = this.specification;
|
|
54508
|
-
data["drawingUrl"] = this.drawingUrl;
|
|
54509
|
-
data["markedDrawingUrl"] = this.markedDrawingUrl;
|
|
54510
|
-
data["xmlUrl"] = this.xmlUrl;
|
|
54511
|
-
data["inspectionXpertProjectUrl"] = this.inspectionXpertProjectUrl;
|
|
54512
|
-
data["created"] = this.created ? this.created.toISOString() : <any>undefined;
|
|
54513
|
-
data["createdBy"] = this.createdBy;
|
|
54514
|
-
data["updated"] = this.updated ? this.updated.toISOString() : <any>undefined;
|
|
54515
|
-
data["updatedBy"] = this.updatedBy;
|
|
54516
|
-
if (Array.isArray(this.elements)) {
|
|
54517
|
-
data["elements"] = [];
|
|
54518
|
-
for (let item of this.elements)
|
|
54519
|
-
data["elements"].push(item.toJSON());
|
|
54520
|
-
}
|
|
54521
|
-
data["isUsed"] = this.isUsed;
|
|
54522
|
-
return data;
|
|
54523
|
-
}
|
|
54524
|
-
}
|
|
54525
|
-
|
|
54526
|
-
export interface IMeasurementFormVersionImportDto {
|
|
54527
|
-
version: number;
|
|
54528
|
-
specification?: string | null;
|
|
54529
|
-
drawingUrl?: string | null;
|
|
54530
|
-
markedDrawingUrl?: string | null;
|
|
54531
|
-
xmlUrl?: string | null;
|
|
54532
|
-
inspectionXpertProjectUrl?: string | null;
|
|
54533
|
-
created: Date;
|
|
54534
|
-
createdBy: string;
|
|
54535
|
-
updated?: Date | null;
|
|
54536
|
-
updatedBy?: string | null;
|
|
54537
|
-
elements: MeasurementFormElementImportDto[];
|
|
54538
|
-
isUsed: boolean;
|
|
54539
|
-
}
|
|
54540
|
-
|
|
54541
|
-
export class MeasurementFormElementImportDto implements IMeasurementFormElementImportDto {
|
|
54542
|
-
id?: string | null;
|
|
54543
|
-
imageUrl?: string | null;
|
|
54544
|
-
thumbnailUrl?: string | null;
|
|
54545
|
-
balloonId?: string | null;
|
|
54546
|
-
section?: string | null;
|
|
54547
|
-
pageNumber?: number;
|
|
54548
|
-
sheetZone?: string | null;
|
|
54549
|
-
places?: number | null;
|
|
54550
|
-
nominal?: number | null;
|
|
54551
|
-
nominalText?: string | null;
|
|
54552
|
-
type?: string | null;
|
|
54553
|
-
subType?: string | null;
|
|
54554
|
-
unitOfMeasure?: string | null;
|
|
54555
|
-
typeCharacter?: string | null;
|
|
54556
|
-
plusTolerance?: number | null;
|
|
54557
|
-
minusTolerance?: number | null;
|
|
54558
|
-
upperLimit?: number | null;
|
|
54559
|
-
lowerLimit?: number | null;
|
|
54560
|
-
comments?: string | null;
|
|
54561
|
-
updatedByUser?: string | null;
|
|
54562
|
-
updatedDate?: Date | null;
|
|
54563
|
-
createdByUser?: string | null;
|
|
54564
|
-
createdDate?: Date;
|
|
54565
|
-
frequency?: MeasurementFrequency;
|
|
54566
|
-
frequencyParameter?: number | null;
|
|
54567
|
-
includeInCustomerDocumentation?: boolean;
|
|
54568
|
-
balloonSequence?: number | null;
|
|
54569
|
-
balloonQuantity?: number | null;
|
|
54570
|
-
plusToleranceText?: string | null;
|
|
54571
|
-
minusToleranceText?: string | null;
|
|
54572
|
-
coatingThickness?: number | null;
|
|
54573
|
-
canCopy?: boolean;
|
|
54574
|
-
valueType?: MeasurementFormValueType;
|
|
54575
|
-
inspectionMethod?: string | null;
|
|
54576
|
-
process?: string | null;
|
|
54577
|
-
classification?: string | null;
|
|
54578
|
-
fitGrade?: string | null;
|
|
54579
|
-
fitType?: number | null;
|
|
54580
|
-
forReference?: boolean;
|
|
54581
|
-
|
|
54582
|
-
constructor(data?: IMeasurementFormElementImportDto) {
|
|
54583
|
-
if (data) {
|
|
54584
|
-
for (var property in data) {
|
|
54585
|
-
if (data.hasOwnProperty(property))
|
|
54586
|
-
(<any>this)[property] = (<any>data)[property];
|
|
54587
|
-
}
|
|
54588
|
-
}
|
|
54589
|
-
}
|
|
54590
|
-
|
|
54591
|
-
init(_data?: any) {
|
|
54592
|
-
if (_data) {
|
|
54593
|
-
this.id = _data["id"];
|
|
54594
|
-
this.imageUrl = _data["imageUrl"];
|
|
54595
|
-
this.thumbnailUrl = _data["thumbnailUrl"];
|
|
54596
|
-
this.balloonId = _data["balloonId"];
|
|
54597
|
-
this.section = _data["section"];
|
|
54598
|
-
this.pageNumber = _data["pageNumber"];
|
|
54599
|
-
this.sheetZone = _data["sheetZone"];
|
|
54600
|
-
this.places = _data["places"];
|
|
54601
|
-
this.nominal = _data["nominal"];
|
|
54602
|
-
this.nominalText = _data["nominalText"];
|
|
54603
|
-
this.type = _data["type"];
|
|
54604
|
-
this.subType = _data["subType"];
|
|
54605
|
-
this.unitOfMeasure = _data["unitOfMeasure"];
|
|
54606
|
-
this.typeCharacter = _data["typeCharacter"];
|
|
54607
|
-
this.plusTolerance = _data["plusTolerance"];
|
|
54608
|
-
this.minusTolerance = _data["minusTolerance"];
|
|
54609
|
-
this.upperLimit = _data["upperLimit"];
|
|
54610
|
-
this.lowerLimit = _data["lowerLimit"];
|
|
54611
|
-
this.comments = _data["comments"];
|
|
54612
|
-
this.updatedByUser = _data["updatedByUser"];
|
|
54613
|
-
this.updatedDate = _data["updatedDate"] ? new Date(_data["updatedDate"].toString()) : <any>undefined;
|
|
54614
|
-
this.createdByUser = _data["createdByUser"];
|
|
54615
|
-
this.createdDate = _data["createdDate"] ? new Date(_data["createdDate"].toString()) : <any>undefined;
|
|
54616
|
-
this.frequency = _data["frequency"];
|
|
54617
|
-
this.frequencyParameter = _data["frequencyParameter"];
|
|
54618
|
-
this.includeInCustomerDocumentation = _data["includeInCustomerDocumentation"];
|
|
54619
|
-
this.balloonSequence = _data["balloonSequence"];
|
|
54620
|
-
this.balloonQuantity = _data["balloonQuantity"];
|
|
54621
|
-
this.plusToleranceText = _data["plusToleranceText"];
|
|
54622
|
-
this.minusToleranceText = _data["minusToleranceText"];
|
|
54623
|
-
this.coatingThickness = _data["coatingThickness"];
|
|
54624
|
-
this.canCopy = _data["canCopy"];
|
|
54625
|
-
this.valueType = _data["valueType"];
|
|
54626
|
-
this.inspectionMethod = _data["inspectionMethod"];
|
|
54627
|
-
this.process = _data["process"];
|
|
54628
|
-
this.classification = _data["classification"];
|
|
54629
|
-
this.fitGrade = _data["fitGrade"];
|
|
54630
|
-
this.fitType = _data["fitType"];
|
|
54631
|
-
this.forReference = _data["forReference"];
|
|
54632
|
-
}
|
|
54633
|
-
}
|
|
54634
|
-
|
|
54635
|
-
static fromJS(data: any): MeasurementFormElementImportDto {
|
|
54636
|
-
data = typeof data === 'object' ? data : {};
|
|
54637
|
-
let result = new MeasurementFormElementImportDto();
|
|
54638
|
-
result.init(data);
|
|
54639
|
-
return result;
|
|
54640
|
-
}
|
|
54641
|
-
|
|
54642
|
-
toJSON(data?: any) {
|
|
54643
|
-
data = typeof data === 'object' ? data : {};
|
|
54644
|
-
data["id"] = this.id;
|
|
54645
|
-
data["imageUrl"] = this.imageUrl;
|
|
54646
|
-
data["thumbnailUrl"] = this.thumbnailUrl;
|
|
54647
|
-
data["balloonId"] = this.balloonId;
|
|
54648
|
-
data["section"] = this.section;
|
|
54649
|
-
data["pageNumber"] = this.pageNumber;
|
|
54650
|
-
data["sheetZone"] = this.sheetZone;
|
|
54651
|
-
data["places"] = this.places;
|
|
54652
|
-
data["nominal"] = this.nominal;
|
|
54653
|
-
data["nominalText"] = this.nominalText;
|
|
54654
|
-
data["type"] = this.type;
|
|
54655
|
-
data["subType"] = this.subType;
|
|
54656
|
-
data["unitOfMeasure"] = this.unitOfMeasure;
|
|
54657
|
-
data["typeCharacter"] = this.typeCharacter;
|
|
54658
|
-
data["plusTolerance"] = this.plusTolerance;
|
|
54659
|
-
data["minusTolerance"] = this.minusTolerance;
|
|
54660
|
-
data["upperLimit"] = this.upperLimit;
|
|
54661
|
-
data["lowerLimit"] = this.lowerLimit;
|
|
54662
|
-
data["comments"] = this.comments;
|
|
54663
|
-
data["updatedByUser"] = this.updatedByUser;
|
|
54664
|
-
data["updatedDate"] = this.updatedDate ? this.updatedDate.toISOString() : <any>undefined;
|
|
54665
|
-
data["createdByUser"] = this.createdByUser;
|
|
54666
|
-
data["createdDate"] = this.createdDate ? this.createdDate.toISOString() : <any>undefined;
|
|
54667
|
-
data["frequency"] = this.frequency;
|
|
54668
|
-
data["frequencyParameter"] = this.frequencyParameter;
|
|
54669
|
-
data["includeInCustomerDocumentation"] = this.includeInCustomerDocumentation;
|
|
54670
|
-
data["balloonSequence"] = this.balloonSequence;
|
|
54671
|
-
data["balloonQuantity"] = this.balloonQuantity;
|
|
54672
|
-
data["plusToleranceText"] = this.plusToleranceText;
|
|
54673
|
-
data["minusToleranceText"] = this.minusToleranceText;
|
|
54674
|
-
data["coatingThickness"] = this.coatingThickness;
|
|
54675
|
-
data["canCopy"] = this.canCopy;
|
|
54676
|
-
data["valueType"] = this.valueType;
|
|
54677
|
-
data["inspectionMethod"] = this.inspectionMethod;
|
|
54678
|
-
data["process"] = this.process;
|
|
54679
|
-
data["classification"] = this.classification;
|
|
54680
|
-
data["fitGrade"] = this.fitGrade;
|
|
54681
|
-
data["fitType"] = this.fitType;
|
|
54682
|
-
data["forReference"] = this.forReference;
|
|
54683
|
-
return data;
|
|
54684
|
-
}
|
|
54685
|
-
}
|
|
54686
|
-
|
|
54687
|
-
export interface IMeasurementFormElementImportDto {
|
|
54688
|
-
id?: string | null;
|
|
54689
|
-
imageUrl?: string | null;
|
|
54690
|
-
thumbnailUrl?: string | null;
|
|
54691
|
-
balloonId?: string | null;
|
|
54692
|
-
section?: string | null;
|
|
54693
|
-
pageNumber?: number;
|
|
54694
|
-
sheetZone?: string | null;
|
|
54695
|
-
places?: number | null;
|
|
54696
|
-
nominal?: number | null;
|
|
54697
|
-
nominalText?: string | null;
|
|
54698
|
-
type?: string | null;
|
|
54699
|
-
subType?: string | null;
|
|
54700
|
-
unitOfMeasure?: string | null;
|
|
54701
|
-
typeCharacter?: string | null;
|
|
54702
|
-
plusTolerance?: number | null;
|
|
54703
|
-
minusTolerance?: number | null;
|
|
54704
|
-
upperLimit?: number | null;
|
|
54705
|
-
lowerLimit?: number | null;
|
|
54706
|
-
comments?: string | null;
|
|
54707
|
-
updatedByUser?: string | null;
|
|
54708
|
-
updatedDate?: Date | null;
|
|
54709
|
-
createdByUser?: string | null;
|
|
54710
|
-
createdDate?: Date;
|
|
54711
|
-
frequency?: MeasurementFrequency;
|
|
54712
|
-
frequencyParameter?: number | null;
|
|
54713
|
-
includeInCustomerDocumentation?: boolean;
|
|
54714
|
-
balloonSequence?: number | null;
|
|
54715
|
-
balloonQuantity?: number | null;
|
|
54716
|
-
plusToleranceText?: string | null;
|
|
54717
|
-
minusToleranceText?: string | null;
|
|
54718
|
-
coatingThickness?: number | null;
|
|
54719
|
-
canCopy?: boolean;
|
|
54720
|
-
valueType?: MeasurementFormValueType;
|
|
54721
|
-
inspectionMethod?: string | null;
|
|
54722
|
-
process?: string | null;
|
|
54723
|
-
classification?: string | null;
|
|
54724
|
-
fitGrade?: string | null;
|
|
54725
|
-
fitType?: number | null;
|
|
54726
|
-
forReference?: boolean;
|
|
54727
|
-
}
|
|
54728
|
-
|
|
54729
54097
|
export class PagedResultOfMeasurementFormNeedDto implements IPagedResultOfMeasurementFormNeedDto {
|
|
54730
54098
|
results!: MeasurementFormNeedDto[];
|
|
54731
54099
|
continuationToken?: string | null;
|
|
@@ -56043,7 +55411,8 @@ export class MeasurementFormInstanceDto implements IMeasurementFormInstanceDto {
|
|
|
56043
55411
|
status!: MeasurementFormInstanceStatus;
|
|
56044
55412
|
statusChangedDate?: Date | null;
|
|
56045
55413
|
schemas!: MeasurementFormWorkorderSchemaDto[];
|
|
56046
|
-
sequences
|
|
55414
|
+
sequences?: MeasurementFormWorkorderSequenceDto[] | null;
|
|
55415
|
+
serialNumbers!: MeasurementFormWorkorderSerialNumberDto[];
|
|
56047
55416
|
suppliers!: MeasurementFormWorkorderSupplierDto[];
|
|
56048
55417
|
progress!: MeasurementFormProgressDto;
|
|
56049
55418
|
approvedReportUrl?: string | null;
|
|
@@ -56058,7 +55427,7 @@ export class MeasurementFormInstanceDto implements IMeasurementFormInstanceDto {
|
|
|
56058
55427
|
}
|
|
56059
55428
|
if (!data) {
|
|
56060
55429
|
this.schemas = [];
|
|
56061
|
-
this.
|
|
55430
|
+
this.serialNumbers = [];
|
|
56062
55431
|
this.suppliers = [];
|
|
56063
55432
|
this.progress = new MeasurementFormProgressDto();
|
|
56064
55433
|
}
|
|
@@ -56088,6 +55457,11 @@ export class MeasurementFormInstanceDto implements IMeasurementFormInstanceDto {
|
|
|
56088
55457
|
for (let item of _data["sequences"])
|
|
56089
55458
|
this.sequences!.push(MeasurementFormWorkorderSequenceDto.fromJS(item));
|
|
56090
55459
|
}
|
|
55460
|
+
if (Array.isArray(_data["serialNumbers"])) {
|
|
55461
|
+
this.serialNumbers = [] as any;
|
|
55462
|
+
for (let item of _data["serialNumbers"])
|
|
55463
|
+
this.serialNumbers!.push(MeasurementFormWorkorderSerialNumberDto.fromJS(item));
|
|
55464
|
+
}
|
|
56091
55465
|
if (Array.isArray(_data["suppliers"])) {
|
|
56092
55466
|
this.suppliers = [] as any;
|
|
56093
55467
|
for (let item of _data["suppliers"])
|
|
@@ -56130,6 +55504,11 @@ export class MeasurementFormInstanceDto implements IMeasurementFormInstanceDto {
|
|
|
56130
55504
|
for (let item of this.sequences)
|
|
56131
55505
|
data["sequences"].push(item.toJSON());
|
|
56132
55506
|
}
|
|
55507
|
+
if (Array.isArray(this.serialNumbers)) {
|
|
55508
|
+
data["serialNumbers"] = [];
|
|
55509
|
+
for (let item of this.serialNumbers)
|
|
55510
|
+
data["serialNumbers"].push(item.toJSON());
|
|
55511
|
+
}
|
|
56133
55512
|
if (Array.isArray(this.suppliers)) {
|
|
56134
55513
|
data["suppliers"] = [];
|
|
56135
55514
|
for (let item of this.suppliers)
|
|
@@ -56156,7 +55535,8 @@ export interface IMeasurementFormInstanceDto {
|
|
|
56156
55535
|
status: MeasurementFormInstanceStatus;
|
|
56157
55536
|
statusChangedDate?: Date | null;
|
|
56158
55537
|
schemas: MeasurementFormWorkorderSchemaDto[];
|
|
56159
|
-
sequences
|
|
55538
|
+
sequences?: MeasurementFormWorkorderSequenceDto[] | null;
|
|
55539
|
+
serialNumbers: MeasurementFormWorkorderSerialNumberDto[];
|
|
56160
55540
|
suppliers: MeasurementFormWorkorderSupplierDto[];
|
|
56161
55541
|
progress: MeasurementFormProgressDto;
|
|
56162
55542
|
approvedReportUrl?: string | null;
|
|
@@ -56290,6 +55670,50 @@ export interface IMeasurementFormWorkorderSequenceDto {
|
|
|
56290
55670
|
serialNumber?: string | null;
|
|
56291
55671
|
}
|
|
56292
55672
|
|
|
55673
|
+
export class MeasurementFormWorkorderSerialNumberDto implements IMeasurementFormWorkorderSerialNumberDto {
|
|
55674
|
+
lot?: string | null;
|
|
55675
|
+
serialNumber!: string;
|
|
55676
|
+
customerSerialNumber?: string | null;
|
|
55677
|
+
|
|
55678
|
+
constructor(data?: IMeasurementFormWorkorderSerialNumberDto) {
|
|
55679
|
+
if (data) {
|
|
55680
|
+
for (var property in data) {
|
|
55681
|
+
if (data.hasOwnProperty(property))
|
|
55682
|
+
(<any>this)[property] = (<any>data)[property];
|
|
55683
|
+
}
|
|
55684
|
+
}
|
|
55685
|
+
}
|
|
55686
|
+
|
|
55687
|
+
init(_data?: any) {
|
|
55688
|
+
if (_data) {
|
|
55689
|
+
this.lot = _data["lot"];
|
|
55690
|
+
this.serialNumber = _data["serialNumber"];
|
|
55691
|
+
this.customerSerialNumber = _data["customerSerialNumber"];
|
|
55692
|
+
}
|
|
55693
|
+
}
|
|
55694
|
+
|
|
55695
|
+
static fromJS(data: any): MeasurementFormWorkorderSerialNumberDto {
|
|
55696
|
+
data = typeof data === 'object' ? data : {};
|
|
55697
|
+
let result = new MeasurementFormWorkorderSerialNumberDto();
|
|
55698
|
+
result.init(data);
|
|
55699
|
+
return result;
|
|
55700
|
+
}
|
|
55701
|
+
|
|
55702
|
+
toJSON(data?: any) {
|
|
55703
|
+
data = typeof data === 'object' ? data : {};
|
|
55704
|
+
data["lot"] = this.lot;
|
|
55705
|
+
data["serialNumber"] = this.serialNumber;
|
|
55706
|
+
data["customerSerialNumber"] = this.customerSerialNumber;
|
|
55707
|
+
return data;
|
|
55708
|
+
}
|
|
55709
|
+
}
|
|
55710
|
+
|
|
55711
|
+
export interface IMeasurementFormWorkorderSerialNumberDto {
|
|
55712
|
+
lot?: string | null;
|
|
55713
|
+
serialNumber: string;
|
|
55714
|
+
customerSerialNumber?: string | null;
|
|
55715
|
+
}
|
|
55716
|
+
|
|
56293
55717
|
export class MeasurementFormWorkorderSupplierDto implements IMeasurementFormWorkorderSupplierDto {
|
|
56294
55718
|
supplierId!: string;
|
|
56295
55719
|
supplierName?: string | null;
|
|
@@ -56476,6 +55900,7 @@ export class CreateMeasurementFormInstanceRequest implements ICreateMeasurementF
|
|
|
56476
55900
|
customerName?: string | null;
|
|
56477
55901
|
purchaseOrder?: string | null;
|
|
56478
55902
|
sequences!: CreateMeasurementFormInstanceRequestSequence[];
|
|
55903
|
+
serialNumbers!: CreateMeasurementFormInstanceRequestSerialNumber[];
|
|
56479
55904
|
|
|
56480
55905
|
constructor(data?: ICreateMeasurementFormInstanceRequest) {
|
|
56481
55906
|
if (data) {
|
|
@@ -56486,6 +55911,7 @@ export class CreateMeasurementFormInstanceRequest implements ICreateMeasurementF
|
|
|
56486
55911
|
}
|
|
56487
55912
|
if (!data) {
|
|
56488
55913
|
this.sequences = [];
|
|
55914
|
+
this.serialNumbers = [];
|
|
56489
55915
|
}
|
|
56490
55916
|
}
|
|
56491
55917
|
|
|
@@ -56500,6 +55926,11 @@ export class CreateMeasurementFormInstanceRequest implements ICreateMeasurementF
|
|
|
56500
55926
|
for (let item of _data["sequences"])
|
|
56501
55927
|
this.sequences!.push(CreateMeasurementFormInstanceRequestSequence.fromJS(item));
|
|
56502
55928
|
}
|
|
55929
|
+
if (Array.isArray(_data["serialNumbers"])) {
|
|
55930
|
+
this.serialNumbers = [] as any;
|
|
55931
|
+
for (let item of _data["serialNumbers"])
|
|
55932
|
+
this.serialNumbers!.push(CreateMeasurementFormInstanceRequestSerialNumber.fromJS(item));
|
|
55933
|
+
}
|
|
56503
55934
|
}
|
|
56504
55935
|
}
|
|
56505
55936
|
|
|
@@ -56521,6 +55952,11 @@ export class CreateMeasurementFormInstanceRequest implements ICreateMeasurementF
|
|
|
56521
55952
|
for (let item of this.sequences)
|
|
56522
55953
|
data["sequences"].push(item.toJSON());
|
|
56523
55954
|
}
|
|
55955
|
+
if (Array.isArray(this.serialNumbers)) {
|
|
55956
|
+
data["serialNumbers"] = [];
|
|
55957
|
+
for (let item of this.serialNumbers)
|
|
55958
|
+
data["serialNumbers"].push(item.toJSON());
|
|
55959
|
+
}
|
|
56524
55960
|
return data;
|
|
56525
55961
|
}
|
|
56526
55962
|
}
|
|
@@ -56531,6 +55967,7 @@ export interface ICreateMeasurementFormInstanceRequest {
|
|
|
56531
55967
|
customerName?: string | null;
|
|
56532
55968
|
purchaseOrder?: string | null;
|
|
56533
55969
|
sequences: CreateMeasurementFormInstanceRequestSequence[];
|
|
55970
|
+
serialNumbers: CreateMeasurementFormInstanceRequestSerialNumber[];
|
|
56534
55971
|
}
|
|
56535
55972
|
|
|
56536
55973
|
export class CreateMeasurementFormInstanceRequestSequence implements ICreateMeasurementFormInstanceRequestSequence {
|
|
@@ -56573,8 +56010,49 @@ export interface ICreateMeasurementFormInstanceRequestSequence {
|
|
|
56573
56010
|
serialNumber?: string | null;
|
|
56574
56011
|
}
|
|
56575
56012
|
|
|
56013
|
+
export class CreateMeasurementFormInstanceRequestSerialNumber implements ICreateMeasurementFormInstanceRequestSerialNumber {
|
|
56014
|
+
serialNumber!: string;
|
|
56015
|
+
customerSerialNumber?: string | null;
|
|
56016
|
+
|
|
56017
|
+
constructor(data?: ICreateMeasurementFormInstanceRequestSerialNumber) {
|
|
56018
|
+
if (data) {
|
|
56019
|
+
for (var property in data) {
|
|
56020
|
+
if (data.hasOwnProperty(property))
|
|
56021
|
+
(<any>this)[property] = (<any>data)[property];
|
|
56022
|
+
}
|
|
56023
|
+
}
|
|
56024
|
+
}
|
|
56025
|
+
|
|
56026
|
+
init(_data?: any) {
|
|
56027
|
+
if (_data) {
|
|
56028
|
+
this.serialNumber = _data["serialNumber"];
|
|
56029
|
+
this.customerSerialNumber = _data["customerSerialNumber"];
|
|
56030
|
+
}
|
|
56031
|
+
}
|
|
56032
|
+
|
|
56033
|
+
static fromJS(data: any): CreateMeasurementFormInstanceRequestSerialNumber {
|
|
56034
|
+
data = typeof data === 'object' ? data : {};
|
|
56035
|
+
let result = new CreateMeasurementFormInstanceRequestSerialNumber();
|
|
56036
|
+
result.init(data);
|
|
56037
|
+
return result;
|
|
56038
|
+
}
|
|
56039
|
+
|
|
56040
|
+
toJSON(data?: any) {
|
|
56041
|
+
data = typeof data === 'object' ? data : {};
|
|
56042
|
+
data["serialNumber"] = this.serialNumber;
|
|
56043
|
+
data["customerSerialNumber"] = this.customerSerialNumber;
|
|
56044
|
+
return data;
|
|
56045
|
+
}
|
|
56046
|
+
}
|
|
56047
|
+
|
|
56048
|
+
export interface ICreateMeasurementFormInstanceRequestSerialNumber {
|
|
56049
|
+
serialNumber: string;
|
|
56050
|
+
customerSerialNumber?: string | null;
|
|
56051
|
+
}
|
|
56052
|
+
|
|
56576
56053
|
export class UpdateMeasurementFormInstanceRequest implements IUpdateMeasurementFormInstanceRequest {
|
|
56577
|
-
sequences
|
|
56054
|
+
sequences?: MeasurementFormWorkorderSequenceDto[] | null;
|
|
56055
|
+
serialNumbers!: MeasurementFormWorkorderSerialNumberDto[];
|
|
56578
56056
|
suppliers!: MeasurementFormWorkorderSupplierDto[];
|
|
56579
56057
|
|
|
56580
56058
|
constructor(data?: IUpdateMeasurementFormInstanceRequest) {
|
|
@@ -56585,7 +56063,7 @@ export class UpdateMeasurementFormInstanceRequest implements IUpdateMeasurementF
|
|
|
56585
56063
|
}
|
|
56586
56064
|
}
|
|
56587
56065
|
if (!data) {
|
|
56588
|
-
this.
|
|
56066
|
+
this.serialNumbers = [];
|
|
56589
56067
|
this.suppliers = [];
|
|
56590
56068
|
}
|
|
56591
56069
|
}
|
|
@@ -56597,6 +56075,11 @@ export class UpdateMeasurementFormInstanceRequest implements IUpdateMeasurementF
|
|
|
56597
56075
|
for (let item of _data["sequences"])
|
|
56598
56076
|
this.sequences!.push(MeasurementFormWorkorderSequenceDto.fromJS(item));
|
|
56599
56077
|
}
|
|
56078
|
+
if (Array.isArray(_data["serialNumbers"])) {
|
|
56079
|
+
this.serialNumbers = [] as any;
|
|
56080
|
+
for (let item of _data["serialNumbers"])
|
|
56081
|
+
this.serialNumbers!.push(MeasurementFormWorkorderSerialNumberDto.fromJS(item));
|
|
56082
|
+
}
|
|
56600
56083
|
if (Array.isArray(_data["suppliers"])) {
|
|
56601
56084
|
this.suppliers = [] as any;
|
|
56602
56085
|
for (let item of _data["suppliers"])
|
|
@@ -56619,6 +56102,11 @@ export class UpdateMeasurementFormInstanceRequest implements IUpdateMeasurementF
|
|
|
56619
56102
|
for (let item of this.sequences)
|
|
56620
56103
|
data["sequences"].push(item.toJSON());
|
|
56621
56104
|
}
|
|
56105
|
+
if (Array.isArray(this.serialNumbers)) {
|
|
56106
|
+
data["serialNumbers"] = [];
|
|
56107
|
+
for (let item of this.serialNumbers)
|
|
56108
|
+
data["serialNumbers"].push(item.toJSON());
|
|
56109
|
+
}
|
|
56622
56110
|
if (Array.isArray(this.suppliers)) {
|
|
56623
56111
|
data["suppliers"] = [];
|
|
56624
56112
|
for (let item of this.suppliers)
|
|
@@ -56629,7 +56117,8 @@ export class UpdateMeasurementFormInstanceRequest implements IUpdateMeasurementF
|
|
|
56629
56117
|
}
|
|
56630
56118
|
|
|
56631
56119
|
export interface IUpdateMeasurementFormInstanceRequest {
|
|
56632
|
-
sequences
|
|
56120
|
+
sequences?: MeasurementFormWorkorderSequenceDto[] | null;
|
|
56121
|
+
serialNumbers: MeasurementFormWorkorderSerialNumberDto[];
|
|
56633
56122
|
suppliers: MeasurementFormWorkorderSupplierDto[];
|
|
56634
56123
|
}
|
|
56635
56124
|
|
|
@@ -56898,7 +56387,8 @@ export interface IMeasurementFormInstanceElementDto {
|
|
|
56898
56387
|
export class MeasurementFormElementValueDto implements IMeasurementFormElementValueDto {
|
|
56899
56388
|
bonus?: string | null;
|
|
56900
56389
|
completed!: boolean;
|
|
56901
|
-
sequence
|
|
56390
|
+
sequence?: string | null;
|
|
56391
|
+
serialNumber!: string;
|
|
56902
56392
|
value?: string | null;
|
|
56903
56393
|
updatedByUser!: string;
|
|
56904
56394
|
updatedDate!: Date;
|
|
@@ -56924,6 +56414,7 @@ export class MeasurementFormElementValueDto implements IMeasurementFormElementVa
|
|
|
56924
56414
|
this.bonus = _data["bonus"];
|
|
56925
56415
|
this.completed = _data["completed"];
|
|
56926
56416
|
this.sequence = _data["sequence"];
|
|
56417
|
+
this.serialNumber = _data["serialNumber"];
|
|
56927
56418
|
this.value = _data["value"];
|
|
56928
56419
|
this.updatedByUser = _data["updatedByUser"];
|
|
56929
56420
|
this.updatedDate = _data["updatedDate"] ? new Date(_data["updatedDate"].toString()) : <any>undefined;
|
|
@@ -56950,6 +56441,7 @@ export class MeasurementFormElementValueDto implements IMeasurementFormElementVa
|
|
|
56950
56441
|
data["bonus"] = this.bonus;
|
|
56951
56442
|
data["completed"] = this.completed;
|
|
56952
56443
|
data["sequence"] = this.sequence;
|
|
56444
|
+
data["serialNumber"] = this.serialNumber;
|
|
56953
56445
|
data["value"] = this.value;
|
|
56954
56446
|
data["updatedByUser"] = this.updatedByUser;
|
|
56955
56447
|
data["updatedDate"] = this.updatedDate ? this.updatedDate.toISOString() : <any>undefined;
|
|
@@ -56968,7 +56460,8 @@ export class MeasurementFormElementValueDto implements IMeasurementFormElementVa
|
|
|
56968
56460
|
export interface IMeasurementFormElementValueDto {
|
|
56969
56461
|
bonus?: string | null;
|
|
56970
56462
|
completed: boolean;
|
|
56971
|
-
sequence
|
|
56463
|
+
sequence?: string | null;
|
|
56464
|
+
serialNumber: string;
|
|
56972
56465
|
value?: string | null;
|
|
56973
56466
|
updatedByUser: string;
|
|
56974
56467
|
updatedDate: Date;
|
|
@@ -57077,7 +56570,8 @@ export class MeasurementFormElementValueAuditDto implements IMeasurementFormElem
|
|
|
57077
56570
|
schemaId!: string;
|
|
57078
56571
|
value?: string | null;
|
|
57079
56572
|
bonus?: number | null;
|
|
57080
|
-
sequence
|
|
56573
|
+
sequence?: string | null;
|
|
56574
|
+
serialNumber!: string;
|
|
57081
56575
|
elementId!: string;
|
|
57082
56576
|
updatedByUser!: string;
|
|
57083
56577
|
updatedDate!: Date;
|
|
@@ -57104,6 +56598,7 @@ export class MeasurementFormElementValueAuditDto implements IMeasurementFormElem
|
|
|
57104
56598
|
this.value = _data["value"];
|
|
57105
56599
|
this.bonus = _data["bonus"];
|
|
57106
56600
|
this.sequence = _data["sequence"];
|
|
56601
|
+
this.serialNumber = _data["serialNumber"];
|
|
57107
56602
|
this.elementId = _data["elementId"];
|
|
57108
56603
|
this.updatedByUser = _data["updatedByUser"];
|
|
57109
56604
|
this.updatedDate = _data["updatedDate"] ? new Date(_data["updatedDate"].toString()) : <any>undefined;
|
|
@@ -57131,6 +56626,7 @@ export class MeasurementFormElementValueAuditDto implements IMeasurementFormElem
|
|
|
57131
56626
|
data["value"] = this.value;
|
|
57132
56627
|
data["bonus"] = this.bonus;
|
|
57133
56628
|
data["sequence"] = this.sequence;
|
|
56629
|
+
data["serialNumber"] = this.serialNumber;
|
|
57134
56630
|
data["elementId"] = this.elementId;
|
|
57135
56631
|
data["updatedByUser"] = this.updatedByUser;
|
|
57136
56632
|
data["updatedDate"] = this.updatedDate ? this.updatedDate.toISOString() : <any>undefined;
|
|
@@ -57150,7 +56646,8 @@ export interface IMeasurementFormElementValueAuditDto {
|
|
|
57150
56646
|
schemaId: string;
|
|
57151
56647
|
value?: string | null;
|
|
57152
56648
|
bonus?: number | null;
|
|
57153
|
-
sequence
|
|
56649
|
+
sequence?: string | null;
|
|
56650
|
+
serialNumber: string;
|
|
57154
56651
|
elementId: string;
|
|
57155
56652
|
updatedByUser: string;
|
|
57156
56653
|
updatedDate: Date;
|
|
@@ -57265,7 +56762,8 @@ export class SaveValueRequest implements ISaveValueRequest {
|
|
|
57265
56762
|
resourceName?: string | null;
|
|
57266
56763
|
schemaId!: string;
|
|
57267
56764
|
elementId!: string;
|
|
57268
|
-
sequence
|
|
56765
|
+
sequence?: string | null;
|
|
56766
|
+
serialNumber!: string;
|
|
57269
56767
|
value?: string | null;
|
|
57270
56768
|
bonus?: string | null;
|
|
57271
56769
|
|
|
@@ -57285,6 +56783,7 @@ export class SaveValueRequest implements ISaveValueRequest {
|
|
|
57285
56783
|
this.schemaId = _data["schemaId"];
|
|
57286
56784
|
this.elementId = _data["elementId"];
|
|
57287
56785
|
this.sequence = _data["sequence"];
|
|
56786
|
+
this.serialNumber = _data["serialNumber"];
|
|
57288
56787
|
this.value = _data["value"];
|
|
57289
56788
|
this.bonus = _data["bonus"];
|
|
57290
56789
|
}
|
|
@@ -57304,6 +56803,7 @@ export class SaveValueRequest implements ISaveValueRequest {
|
|
|
57304
56803
|
data["schemaId"] = this.schemaId;
|
|
57305
56804
|
data["elementId"] = this.elementId;
|
|
57306
56805
|
data["sequence"] = this.sequence;
|
|
56806
|
+
data["serialNumber"] = this.serialNumber;
|
|
57307
56807
|
data["value"] = this.value;
|
|
57308
56808
|
data["bonus"] = this.bonus;
|
|
57309
56809
|
return data;
|
|
@@ -57315,7 +56815,8 @@ export interface ISaveValueRequest {
|
|
|
57315
56815
|
resourceName?: string | null;
|
|
57316
56816
|
schemaId: string;
|
|
57317
56817
|
elementId: string;
|
|
57318
|
-
sequence
|
|
56818
|
+
sequence?: string | null;
|
|
56819
|
+
serialNumber: string;
|
|
57319
56820
|
value?: string | null;
|
|
57320
56821
|
bonus?: string | null;
|
|
57321
56822
|
}
|
|
@@ -57323,7 +56824,8 @@ export interface ISaveValueRequest {
|
|
|
57323
56824
|
export class SaveToolRequest implements ISaveToolRequest {
|
|
57324
56825
|
schemaId!: string;
|
|
57325
56826
|
elementId!: string;
|
|
57326
|
-
sequence
|
|
56827
|
+
sequence?: string | null;
|
|
56828
|
+
serialNumber!: string;
|
|
57327
56829
|
tools?: string[] | null;
|
|
57328
56830
|
force?: boolean;
|
|
57329
56831
|
|
|
@@ -57341,6 +56843,7 @@ export class SaveToolRequest implements ISaveToolRequest {
|
|
|
57341
56843
|
this.schemaId = _data["schemaId"];
|
|
57342
56844
|
this.elementId = _data["elementId"];
|
|
57343
56845
|
this.sequence = _data["sequence"];
|
|
56846
|
+
this.serialNumber = _data["serialNumber"];
|
|
57344
56847
|
if (Array.isArray(_data["tools"])) {
|
|
57345
56848
|
this.tools = [] as any;
|
|
57346
56849
|
for (let item of _data["tools"])
|
|
@@ -57362,6 +56865,7 @@ export class SaveToolRequest implements ISaveToolRequest {
|
|
|
57362
56865
|
data["schemaId"] = this.schemaId;
|
|
57363
56866
|
data["elementId"] = this.elementId;
|
|
57364
56867
|
data["sequence"] = this.sequence;
|
|
56868
|
+
data["serialNumber"] = this.serialNumber;
|
|
57365
56869
|
if (Array.isArray(this.tools)) {
|
|
57366
56870
|
data["tools"] = [];
|
|
57367
56871
|
for (let item of this.tools)
|
|
@@ -57375,7 +56879,8 @@ export class SaveToolRequest implements ISaveToolRequest {
|
|
|
57375
56879
|
export interface ISaveToolRequest {
|
|
57376
56880
|
schemaId: string;
|
|
57377
56881
|
elementId: string;
|
|
57378
|
-
sequence
|
|
56882
|
+
sequence?: string | null;
|
|
56883
|
+
serialNumber: string;
|
|
57379
56884
|
tools?: string[] | null;
|
|
57380
56885
|
force?: boolean;
|
|
57381
56886
|
}
|
|
@@ -57383,7 +56888,8 @@ export interface ISaveToolRequest {
|
|
|
57383
56888
|
export class SaveCommentRequest implements ISaveCommentRequest {
|
|
57384
56889
|
schemaId!: string;
|
|
57385
56890
|
elementId!: string;
|
|
57386
|
-
sequence
|
|
56891
|
+
sequence?: string | null;
|
|
56892
|
+
serialNumber!: string;
|
|
57387
56893
|
comment?: string | null;
|
|
57388
56894
|
|
|
57389
56895
|
constructor(data?: ISaveCommentRequest) {
|
|
@@ -57400,6 +56906,7 @@ export class SaveCommentRequest implements ISaveCommentRequest {
|
|
|
57400
56906
|
this.schemaId = _data["schemaId"];
|
|
57401
56907
|
this.elementId = _data["elementId"];
|
|
57402
56908
|
this.sequence = _data["sequence"];
|
|
56909
|
+
this.serialNumber = _data["serialNumber"];
|
|
57403
56910
|
this.comment = _data["comment"];
|
|
57404
56911
|
}
|
|
57405
56912
|
}
|
|
@@ -57416,6 +56923,7 @@ export class SaveCommentRequest implements ISaveCommentRequest {
|
|
|
57416
56923
|
data["schemaId"] = this.schemaId;
|
|
57417
56924
|
data["elementId"] = this.elementId;
|
|
57418
56925
|
data["sequence"] = this.sequence;
|
|
56926
|
+
data["serialNumber"] = this.serialNumber;
|
|
57419
56927
|
data["comment"] = this.comment;
|
|
57420
56928
|
return data;
|
|
57421
56929
|
}
|
|
@@ -57424,7 +56932,8 @@ export class SaveCommentRequest implements ISaveCommentRequest {
|
|
|
57424
56932
|
export interface ISaveCommentRequest {
|
|
57425
56933
|
schemaId: string;
|
|
57426
56934
|
elementId: string;
|
|
57427
|
-
sequence
|
|
56935
|
+
sequence?: string | null;
|
|
56936
|
+
serialNumber: string;
|
|
57428
56937
|
comment?: string | null;
|
|
57429
56938
|
}
|
|
57430
56939
|
|
|
@@ -57812,6 +57321,7 @@ export class ExportDimensionReportRequest implements IExportDimensionReportReque
|
|
|
57812
57321
|
includeAllSchemasAndElements?: boolean | null;
|
|
57813
57322
|
createBlankReport?: boolean | null;
|
|
57814
57323
|
sequences?: string[] | null;
|
|
57324
|
+
serialNumbers?: string[] | null;
|
|
57815
57325
|
customerPO?: string | null;
|
|
57816
57326
|
workOrder?: string | null;
|
|
57817
57327
|
comment?: string | null;
|
|
@@ -57836,6 +57346,11 @@ export class ExportDimensionReportRequest implements IExportDimensionReportReque
|
|
|
57836
57346
|
for (let item of _data["sequences"])
|
|
57837
57347
|
this.sequences!.push(item);
|
|
57838
57348
|
}
|
|
57349
|
+
if (Array.isArray(_data["serialNumbers"])) {
|
|
57350
|
+
this.serialNumbers = [] as any;
|
|
57351
|
+
for (let item of _data["serialNumbers"])
|
|
57352
|
+
this.serialNumbers!.push(item);
|
|
57353
|
+
}
|
|
57839
57354
|
this.customerPO = _data["customerPO"];
|
|
57840
57355
|
this.workOrder = _data["workOrder"];
|
|
57841
57356
|
this.comment = _data["comment"];
|
|
@@ -57860,6 +57375,11 @@ export class ExportDimensionReportRequest implements IExportDimensionReportReque
|
|
|
57860
57375
|
for (let item of this.sequences)
|
|
57861
57376
|
data["sequences"].push(item);
|
|
57862
57377
|
}
|
|
57378
|
+
if (Array.isArray(this.serialNumbers)) {
|
|
57379
|
+
data["serialNumbers"] = [];
|
|
57380
|
+
for (let item of this.serialNumbers)
|
|
57381
|
+
data["serialNumbers"].push(item);
|
|
57382
|
+
}
|
|
57863
57383
|
data["customerPO"] = this.customerPO;
|
|
57864
57384
|
data["workOrder"] = this.workOrder;
|
|
57865
57385
|
data["comment"] = this.comment;
|
|
@@ -57873,6 +57393,7 @@ export interface IExportDimensionReportRequest {
|
|
|
57873
57393
|
includeAllSchemasAndElements?: boolean | null;
|
|
57874
57394
|
createBlankReport?: boolean | null;
|
|
57875
57395
|
sequences?: string[] | null;
|
|
57396
|
+
serialNumbers?: string[] | null;
|
|
57876
57397
|
customerPO?: string | null;
|
|
57877
57398
|
workOrder?: string | null;
|
|
57878
57399
|
comment?: string | null;
|
|
@@ -57966,255 +57487,6 @@ export interface ISchemaInstanceElementDto {
|
|
|
57966
57487
|
disabled: boolean;
|
|
57967
57488
|
}
|
|
57968
57489
|
|
|
57969
|
-
export class ImportMeasurementFormInstanceRequest implements IImportMeasurementFormInstanceRequest {
|
|
57970
|
-
partInfo!: ImportMeasurementFormPartDto;
|
|
57971
|
-
customerId?: string | null;
|
|
57972
|
-
customerGroupId?: string | null;
|
|
57973
|
-
customerName?: string | null;
|
|
57974
|
-
externalOrderNumber?: string | null;
|
|
57975
|
-
quantity!: number;
|
|
57976
|
-
sequences!: WorkorderImportTraceItemDto[];
|
|
57977
|
-
status!: MeasurementFormInstanceStatus;
|
|
57978
|
-
statusChangedBy?: string | null;
|
|
57979
|
-
statusChangedDate?: Date | null;
|
|
57980
|
-
created!: Date;
|
|
57981
|
-
createdBy?: string | null;
|
|
57982
|
-
updatedBy?: string | null;
|
|
57983
|
-
schemas!: ImportMeasurementSchemaInstanceDto[];
|
|
57984
|
-
|
|
57985
|
-
constructor(data?: IImportMeasurementFormInstanceRequest) {
|
|
57986
|
-
if (data) {
|
|
57987
|
-
for (var property in data) {
|
|
57988
|
-
if (data.hasOwnProperty(property))
|
|
57989
|
-
(<any>this)[property] = (<any>data)[property];
|
|
57990
|
-
}
|
|
57991
|
-
}
|
|
57992
|
-
if (!data) {
|
|
57993
|
-
this.partInfo = new ImportMeasurementFormPartDto();
|
|
57994
|
-
this.sequences = [];
|
|
57995
|
-
this.schemas = [];
|
|
57996
|
-
}
|
|
57997
|
-
}
|
|
57998
|
-
|
|
57999
|
-
init(_data?: any) {
|
|
58000
|
-
if (_data) {
|
|
58001
|
-
this.partInfo = _data["partInfo"] ? ImportMeasurementFormPartDto.fromJS(_data["partInfo"]) : new ImportMeasurementFormPartDto();
|
|
58002
|
-
this.customerId = _data["customerId"];
|
|
58003
|
-
this.customerGroupId = _data["customerGroupId"];
|
|
58004
|
-
this.customerName = _data["customerName"];
|
|
58005
|
-
this.externalOrderNumber = _data["externalOrderNumber"];
|
|
58006
|
-
this.quantity = _data["quantity"];
|
|
58007
|
-
if (Array.isArray(_data["sequences"])) {
|
|
58008
|
-
this.sequences = [] as any;
|
|
58009
|
-
for (let item of _data["sequences"])
|
|
58010
|
-
this.sequences!.push(WorkorderImportTraceItemDto.fromJS(item));
|
|
58011
|
-
}
|
|
58012
|
-
this.status = _data["status"];
|
|
58013
|
-
this.statusChangedBy = _data["statusChangedBy"];
|
|
58014
|
-
this.statusChangedDate = _data["statusChangedDate"] ? new Date(_data["statusChangedDate"].toString()) : <any>undefined;
|
|
58015
|
-
this.created = _data["created"] ? new Date(_data["created"].toString()) : <any>undefined;
|
|
58016
|
-
this.createdBy = _data["createdBy"];
|
|
58017
|
-
this.updatedBy = _data["updatedBy"];
|
|
58018
|
-
if (Array.isArray(_data["schemas"])) {
|
|
58019
|
-
this.schemas = [] as any;
|
|
58020
|
-
for (let item of _data["schemas"])
|
|
58021
|
-
this.schemas!.push(ImportMeasurementSchemaInstanceDto.fromJS(item));
|
|
58022
|
-
}
|
|
58023
|
-
}
|
|
58024
|
-
}
|
|
58025
|
-
|
|
58026
|
-
static fromJS(data: any): ImportMeasurementFormInstanceRequest {
|
|
58027
|
-
data = typeof data === 'object' ? data : {};
|
|
58028
|
-
let result = new ImportMeasurementFormInstanceRequest();
|
|
58029
|
-
result.init(data);
|
|
58030
|
-
return result;
|
|
58031
|
-
}
|
|
58032
|
-
|
|
58033
|
-
toJSON(data?: any) {
|
|
58034
|
-
data = typeof data === 'object' ? data : {};
|
|
58035
|
-
data["partInfo"] = this.partInfo ? this.partInfo.toJSON() : <any>undefined;
|
|
58036
|
-
data["customerId"] = this.customerId;
|
|
58037
|
-
data["customerGroupId"] = this.customerGroupId;
|
|
58038
|
-
data["customerName"] = this.customerName;
|
|
58039
|
-
data["externalOrderNumber"] = this.externalOrderNumber;
|
|
58040
|
-
data["quantity"] = this.quantity;
|
|
58041
|
-
if (Array.isArray(this.sequences)) {
|
|
58042
|
-
data["sequences"] = [];
|
|
58043
|
-
for (let item of this.sequences)
|
|
58044
|
-
data["sequences"].push(item.toJSON());
|
|
58045
|
-
}
|
|
58046
|
-
data["status"] = this.status;
|
|
58047
|
-
data["statusChangedBy"] = this.statusChangedBy;
|
|
58048
|
-
data["statusChangedDate"] = this.statusChangedDate ? this.statusChangedDate.toISOString() : <any>undefined;
|
|
58049
|
-
data["created"] = this.created ? this.created.toISOString() : <any>undefined;
|
|
58050
|
-
data["createdBy"] = this.createdBy;
|
|
58051
|
-
data["updatedBy"] = this.updatedBy;
|
|
58052
|
-
if (Array.isArray(this.schemas)) {
|
|
58053
|
-
data["schemas"] = [];
|
|
58054
|
-
for (let item of this.schemas)
|
|
58055
|
-
data["schemas"].push(item.toJSON());
|
|
58056
|
-
}
|
|
58057
|
-
return data;
|
|
58058
|
-
}
|
|
58059
|
-
}
|
|
58060
|
-
|
|
58061
|
-
export interface IImportMeasurementFormInstanceRequest {
|
|
58062
|
-
partInfo: ImportMeasurementFormPartDto;
|
|
58063
|
-
customerId?: string | null;
|
|
58064
|
-
customerGroupId?: string | null;
|
|
58065
|
-
customerName?: string | null;
|
|
58066
|
-
externalOrderNumber?: string | null;
|
|
58067
|
-
quantity: number;
|
|
58068
|
-
sequences: WorkorderImportTraceItemDto[];
|
|
58069
|
-
status: MeasurementFormInstanceStatus;
|
|
58070
|
-
statusChangedBy?: string | null;
|
|
58071
|
-
statusChangedDate?: Date | null;
|
|
58072
|
-
created: Date;
|
|
58073
|
-
createdBy?: string | null;
|
|
58074
|
-
updatedBy?: string | null;
|
|
58075
|
-
schemas: ImportMeasurementSchemaInstanceDto[];
|
|
58076
|
-
}
|
|
58077
|
-
|
|
58078
|
-
export class ImportMeasurementFormPartDto implements IImportMeasurementFormPartDto {
|
|
58079
|
-
partNumber?: string | null;
|
|
58080
|
-
partName?: string | null;
|
|
58081
|
-
partRevision?: string | null;
|
|
58082
|
-
drawing!: string;
|
|
58083
|
-
drawingRevision?: string | null;
|
|
58084
|
-
|
|
58085
|
-
constructor(data?: IImportMeasurementFormPartDto) {
|
|
58086
|
-
if (data) {
|
|
58087
|
-
for (var property in data) {
|
|
58088
|
-
if (data.hasOwnProperty(property))
|
|
58089
|
-
(<any>this)[property] = (<any>data)[property];
|
|
58090
|
-
}
|
|
58091
|
-
}
|
|
58092
|
-
}
|
|
58093
|
-
|
|
58094
|
-
init(_data?: any) {
|
|
58095
|
-
if (_data) {
|
|
58096
|
-
this.partNumber = _data["partNumber"];
|
|
58097
|
-
this.partName = _data["partName"];
|
|
58098
|
-
this.partRevision = _data["partRevision"];
|
|
58099
|
-
this.drawing = _data["drawing"];
|
|
58100
|
-
this.drawingRevision = _data["drawingRevision"];
|
|
58101
|
-
}
|
|
58102
|
-
}
|
|
58103
|
-
|
|
58104
|
-
static fromJS(data: any): ImportMeasurementFormPartDto {
|
|
58105
|
-
data = typeof data === 'object' ? data : {};
|
|
58106
|
-
let result = new ImportMeasurementFormPartDto();
|
|
58107
|
-
result.init(data);
|
|
58108
|
-
return result;
|
|
58109
|
-
}
|
|
58110
|
-
|
|
58111
|
-
toJSON(data?: any) {
|
|
58112
|
-
data = typeof data === 'object' ? data : {};
|
|
58113
|
-
data["partNumber"] = this.partNumber;
|
|
58114
|
-
data["partName"] = this.partName;
|
|
58115
|
-
data["partRevision"] = this.partRevision;
|
|
58116
|
-
data["drawing"] = this.drawing;
|
|
58117
|
-
data["drawingRevision"] = this.drawingRevision;
|
|
58118
|
-
return data;
|
|
58119
|
-
}
|
|
58120
|
-
}
|
|
58121
|
-
|
|
58122
|
-
export interface IImportMeasurementFormPartDto {
|
|
58123
|
-
partNumber?: string | null;
|
|
58124
|
-
partName?: string | null;
|
|
58125
|
-
partRevision?: string | null;
|
|
58126
|
-
drawing: string;
|
|
58127
|
-
drawingRevision?: string | null;
|
|
58128
|
-
}
|
|
58129
|
-
|
|
58130
|
-
export class WorkorderImportTraceItemDto implements IWorkorderImportTraceItemDto {
|
|
58131
|
-
sequence!: string;
|
|
58132
|
-
serialNumber?: string | null;
|
|
58133
|
-
lot?: string | null;
|
|
58134
|
-
active!: boolean;
|
|
58135
|
-
|
|
58136
|
-
constructor(data?: IWorkorderImportTraceItemDto) {
|
|
58137
|
-
if (data) {
|
|
58138
|
-
for (var property in data) {
|
|
58139
|
-
if (data.hasOwnProperty(property))
|
|
58140
|
-
(<any>this)[property] = (<any>data)[property];
|
|
58141
|
-
}
|
|
58142
|
-
}
|
|
58143
|
-
}
|
|
58144
|
-
|
|
58145
|
-
init(_data?: any) {
|
|
58146
|
-
if (_data) {
|
|
58147
|
-
this.sequence = _data["sequence"];
|
|
58148
|
-
this.serialNumber = _data["serialNumber"];
|
|
58149
|
-
this.lot = _data["lot"];
|
|
58150
|
-
this.active = _data["active"];
|
|
58151
|
-
}
|
|
58152
|
-
}
|
|
58153
|
-
|
|
58154
|
-
static fromJS(data: any): WorkorderImportTraceItemDto {
|
|
58155
|
-
data = typeof data === 'object' ? data : {};
|
|
58156
|
-
let result = new WorkorderImportTraceItemDto();
|
|
58157
|
-
result.init(data);
|
|
58158
|
-
return result;
|
|
58159
|
-
}
|
|
58160
|
-
|
|
58161
|
-
toJSON(data?: any) {
|
|
58162
|
-
data = typeof data === 'object' ? data : {};
|
|
58163
|
-
data["sequence"] = this.sequence;
|
|
58164
|
-
data["serialNumber"] = this.serialNumber;
|
|
58165
|
-
data["lot"] = this.lot;
|
|
58166
|
-
data["active"] = this.active;
|
|
58167
|
-
return data;
|
|
58168
|
-
}
|
|
58169
|
-
}
|
|
58170
|
-
|
|
58171
|
-
export interface IWorkorderImportTraceItemDto {
|
|
58172
|
-
sequence: string;
|
|
58173
|
-
serialNumber?: string | null;
|
|
58174
|
-
lot?: string | null;
|
|
58175
|
-
active: boolean;
|
|
58176
|
-
}
|
|
58177
|
-
|
|
58178
|
-
export class ImportMeasurementSchemaInstanceDto implements IImportMeasurementSchemaInstanceDto {
|
|
58179
|
-
id!: string;
|
|
58180
|
-
version!: number;
|
|
58181
|
-
|
|
58182
|
-
constructor(data?: IImportMeasurementSchemaInstanceDto) {
|
|
58183
|
-
if (data) {
|
|
58184
|
-
for (var property in data) {
|
|
58185
|
-
if (data.hasOwnProperty(property))
|
|
58186
|
-
(<any>this)[property] = (<any>data)[property];
|
|
58187
|
-
}
|
|
58188
|
-
}
|
|
58189
|
-
}
|
|
58190
|
-
|
|
58191
|
-
init(_data?: any) {
|
|
58192
|
-
if (_data) {
|
|
58193
|
-
this.id = _data["id"];
|
|
58194
|
-
this.version = _data["version"];
|
|
58195
|
-
}
|
|
58196
|
-
}
|
|
58197
|
-
|
|
58198
|
-
static fromJS(data: any): ImportMeasurementSchemaInstanceDto {
|
|
58199
|
-
data = typeof data === 'object' ? data : {};
|
|
58200
|
-
let result = new ImportMeasurementSchemaInstanceDto();
|
|
58201
|
-
result.init(data);
|
|
58202
|
-
return result;
|
|
58203
|
-
}
|
|
58204
|
-
|
|
58205
|
-
toJSON(data?: any) {
|
|
58206
|
-
data = typeof data === 'object' ? data : {};
|
|
58207
|
-
data["id"] = this.id;
|
|
58208
|
-
data["version"] = this.version;
|
|
58209
|
-
return data;
|
|
58210
|
-
}
|
|
58211
|
-
}
|
|
58212
|
-
|
|
58213
|
-
export interface IImportMeasurementSchemaInstanceDto {
|
|
58214
|
-
id: string;
|
|
58215
|
-
version: number;
|
|
58216
|
-
}
|
|
58217
|
-
|
|
58218
57490
|
export class IotTypeSourceDto implements IIotTypeSourceDto {
|
|
58219
57491
|
id!: string;
|
|
58220
57492
|
name!: string;
|