@ignos/api-client 20260921.282.1-alpha → 20260924.284.1
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/AuthorizedApiBase.js +28 -27
- package/lib/ignosportal-api.d.ts +263 -32
- package/lib/ignosportal-api.js +802 -134
- package/package.json +2 -2
- package/src/ignosportal-api.ts +720 -45
- package/tsconfig.json +3 -2
package/src/ignosportal-api.ts
CHANGED
|
@@ -7783,6 +7783,8 @@ export interface IMrbClient {
|
|
|
7783
7783
|
|
|
7784
7784
|
getMrbInstance(id: string): Promise<MrbInstanceDto>;
|
|
7785
7785
|
|
|
7786
|
+
updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
|
|
7787
|
+
|
|
7786
7788
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
|
|
7787
7789
|
|
|
7788
7790
|
createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
|
|
@@ -8025,6 +8027,45 @@ export class MrbClient extends AuthorizedApiBase implements IMrbClient {
|
|
|
8025
8027
|
return Promise.resolve<MrbInstanceDto>(null as any);
|
|
8026
8028
|
}
|
|
8027
8029
|
|
|
8030
|
+
updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void> {
|
|
8031
|
+
let url_ = this.baseUrl + "/mrb/{id}/ncinfo";
|
|
8032
|
+
if (id === undefined || id === null)
|
|
8033
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
8034
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
8035
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
8036
|
+
|
|
8037
|
+
const content_ = JSON.stringify(request);
|
|
8038
|
+
|
|
8039
|
+
let options_: RequestInit = {
|
|
8040
|
+
body: content_,
|
|
8041
|
+
method: "PUT",
|
|
8042
|
+
headers: {
|
|
8043
|
+
"Content-Type": "application/json",
|
|
8044
|
+
}
|
|
8045
|
+
};
|
|
8046
|
+
|
|
8047
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
8048
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
8049
|
+
}).then((_response: Response) => {
|
|
8050
|
+
return this.processUpdateMrbInstanceNcInfo(_response);
|
|
8051
|
+
});
|
|
8052
|
+
}
|
|
8053
|
+
|
|
8054
|
+
protected processUpdateMrbInstanceNcInfo(response: Response): Promise<void> {
|
|
8055
|
+
const status = response.status;
|
|
8056
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
8057
|
+
if (status === 204) {
|
|
8058
|
+
return response.text().then((_responseText) => {
|
|
8059
|
+
return;
|
|
8060
|
+
});
|
|
8061
|
+
} else if (status !== 200 && status !== 204) {
|
|
8062
|
+
return response.text().then((_responseText) => {
|
|
8063
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
8064
|
+
});
|
|
8065
|
+
}
|
|
8066
|
+
return Promise.resolve<void>(null as any);
|
|
8067
|
+
}
|
|
8068
|
+
|
|
8028
8069
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]> {
|
|
8029
8070
|
let url_ = this.baseUrl + "/mrb/{id}/revisions";
|
|
8030
8071
|
if (id === undefined || id === null)
|
|
@@ -24864,15 +24905,15 @@ export interface IInspectMatchCertificateTypesAdminClient {
|
|
|
24864
24905
|
|
|
24865
24906
|
createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
24866
24907
|
|
|
24867
|
-
copyMaterialCertificateType(id: string, version: number |
|
|
24908
|
+
copyMaterialCertificateType(id: string, version: number | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
24868
24909
|
|
|
24869
|
-
createNewVersionForCertificateType(id: string, version: number |
|
|
24910
|
+
createNewVersionForCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto>;
|
|
24870
24911
|
|
|
24871
|
-
releaseMaterialCertificateType(id: string, version: number |
|
|
24912
|
+
releaseMaterialCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto>;
|
|
24872
24913
|
|
|
24873
|
-
updateMaterialCertificateType(id: string, version: number |
|
|
24914
|
+
updateMaterialCertificateType(id: string, version: number | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
24874
24915
|
|
|
24875
|
-
deleteMaterialCertificateType(id: string, version: number |
|
|
24916
|
+
deleteMaterialCertificateType(id: string, version: number | undefined): Promise<void>;
|
|
24876
24917
|
}
|
|
24877
24918
|
|
|
24878
24919
|
export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase implements IInspectMatchCertificateTypesAdminClient {
|
|
@@ -24924,12 +24965,14 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase i
|
|
|
24924
24965
|
return Promise.resolve<ImaCertificateTypeDto>(null as any);
|
|
24925
24966
|
}
|
|
24926
24967
|
|
|
24927
|
-
copyMaterialCertificateType(id: string, version: number |
|
|
24968
|
+
copyMaterialCertificateType(id: string, version: number | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
|
|
24928
24969
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/copy?";
|
|
24929
24970
|
if (id === undefined || id === null)
|
|
24930
24971
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
24931
24972
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
24932
|
-
if (version
|
|
24973
|
+
if (version === null)
|
|
24974
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
24975
|
+
else if (version !== undefined)
|
|
24933
24976
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
24934
24977
|
url_ = url_.replace(/[?&]$/, "");
|
|
24935
24978
|
|
|
@@ -24968,12 +25011,14 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase i
|
|
|
24968
25011
|
return Promise.resolve<ImaCertificateTypeDto>(null as any);
|
|
24969
25012
|
}
|
|
24970
25013
|
|
|
24971
|
-
createNewVersionForCertificateType(id: string, version: number |
|
|
25014
|
+
createNewVersionForCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto> {
|
|
24972
25015
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/new-version?";
|
|
24973
25016
|
if (id === undefined || id === null)
|
|
24974
25017
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
24975
25018
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
24976
|
-
if (version
|
|
25019
|
+
if (version === null)
|
|
25020
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
25021
|
+
else if (version !== undefined)
|
|
24977
25022
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
24978
25023
|
url_ = url_.replace(/[?&]$/, "");
|
|
24979
25024
|
|
|
@@ -25008,12 +25053,14 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase i
|
|
|
25008
25053
|
return Promise.resolve<ImaCertificateTypeDto>(null as any);
|
|
25009
25054
|
}
|
|
25010
25055
|
|
|
25011
|
-
releaseMaterialCertificateType(id: string, version: number |
|
|
25056
|
+
releaseMaterialCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto> {
|
|
25012
25057
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/release?";
|
|
25013
25058
|
if (id === undefined || id === null)
|
|
25014
25059
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25015
25060
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25016
|
-
if (version
|
|
25061
|
+
if (version === null)
|
|
25062
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
25063
|
+
else if (version !== undefined)
|
|
25017
25064
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
25018
25065
|
url_ = url_.replace(/[?&]$/, "");
|
|
25019
25066
|
|
|
@@ -25048,12 +25095,14 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase i
|
|
|
25048
25095
|
return Promise.resolve<ImaCertificateTypeDto>(null as any);
|
|
25049
25096
|
}
|
|
25050
25097
|
|
|
25051
|
-
updateMaterialCertificateType(id: string, version: number |
|
|
25098
|
+
updateMaterialCertificateType(id: string, version: number | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
|
|
25052
25099
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
|
|
25053
25100
|
if (id === undefined || id === null)
|
|
25054
25101
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25055
25102
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25056
|
-
if (version
|
|
25103
|
+
if (version === null)
|
|
25104
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
25105
|
+
else if (version !== undefined)
|
|
25057
25106
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
25058
25107
|
url_ = url_.replace(/[?&]$/, "");
|
|
25059
25108
|
|
|
@@ -25092,12 +25141,14 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase i
|
|
|
25092
25141
|
return Promise.resolve<ImaCertificateTypeDto>(null as any);
|
|
25093
25142
|
}
|
|
25094
25143
|
|
|
25095
|
-
deleteMaterialCertificateType(id: string, version: number |
|
|
25144
|
+
deleteMaterialCertificateType(id: string, version: number | undefined): Promise<void> {
|
|
25096
25145
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
|
|
25097
25146
|
if (id === undefined || id === null)
|
|
25098
25147
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25099
25148
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25100
|
-
if (version
|
|
25149
|
+
if (version === null)
|
|
25150
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
25151
|
+
else if (version !== undefined)
|
|
25101
25152
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
25102
25153
|
url_ = url_.replace(/[?&]$/, "");
|
|
25103
25154
|
|
|
@@ -25854,15 +25905,15 @@ export interface IInspectMatchSpecificationsAdminClient {
|
|
|
25854
25905
|
|
|
25855
25906
|
createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
25856
25907
|
|
|
25857
|
-
copySpecification(id: string, version: number |
|
|
25908
|
+
copySpecification(id: string, version: number | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
25858
25909
|
|
|
25859
|
-
createNewVersionForSpecification(id: string, version: number |
|
|
25910
|
+
createNewVersionForSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto>;
|
|
25860
25911
|
|
|
25861
|
-
releaseSpecification(id: string, version: number |
|
|
25912
|
+
releaseSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto>;
|
|
25862
25913
|
|
|
25863
|
-
updateSpecification(id: string, version: number |
|
|
25914
|
+
updateSpecification(id: string, version: number | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
|
|
25864
25915
|
|
|
25865
|
-
deleteSpecification(id: string, version: number |
|
|
25916
|
+
deleteSpecification(id: string, version: number | undefined): Promise<void>;
|
|
25866
25917
|
}
|
|
25867
25918
|
|
|
25868
25919
|
export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase implements IInspectMatchSpecificationsAdminClient {
|
|
@@ -25914,12 +25965,14 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase imp
|
|
|
25914
25965
|
return Promise.resolve<ImaSpecificationDto>(null as any);
|
|
25915
25966
|
}
|
|
25916
25967
|
|
|
25917
|
-
copySpecification(id: string, version: number |
|
|
25968
|
+
copySpecification(id: string, version: number | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto> {
|
|
25918
25969
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}/copy?";
|
|
25919
25970
|
if (id === undefined || id === null)
|
|
25920
25971
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25921
25972
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25922
|
-
if (version
|
|
25973
|
+
if (version === null)
|
|
25974
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
25975
|
+
else if (version !== undefined)
|
|
25923
25976
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
25924
25977
|
url_ = url_.replace(/[?&]$/, "");
|
|
25925
25978
|
|
|
@@ -25958,12 +26011,14 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase imp
|
|
|
25958
26011
|
return Promise.resolve<ImaSpecificationDto>(null as any);
|
|
25959
26012
|
}
|
|
25960
26013
|
|
|
25961
|
-
createNewVersionForSpecification(id: string, version: number |
|
|
26014
|
+
createNewVersionForSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto> {
|
|
25962
26015
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}/new-version?";
|
|
25963
26016
|
if (id === undefined || id === null)
|
|
25964
26017
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25965
26018
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25966
|
-
if (version
|
|
26019
|
+
if (version === null)
|
|
26020
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
26021
|
+
else if (version !== undefined)
|
|
25967
26022
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
25968
26023
|
url_ = url_.replace(/[?&]$/, "");
|
|
25969
26024
|
|
|
@@ -25998,12 +26053,14 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase imp
|
|
|
25998
26053
|
return Promise.resolve<ImaSpecificationDto>(null as any);
|
|
25999
26054
|
}
|
|
26000
26055
|
|
|
26001
|
-
releaseSpecification(id: string, version: number |
|
|
26056
|
+
releaseSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto> {
|
|
26002
26057
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}/release?";
|
|
26003
26058
|
if (id === undefined || id === null)
|
|
26004
26059
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
26005
26060
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
26006
|
-
if (version
|
|
26061
|
+
if (version === null)
|
|
26062
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
26063
|
+
else if (version !== undefined)
|
|
26007
26064
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
26008
26065
|
url_ = url_.replace(/[?&]$/, "");
|
|
26009
26066
|
|
|
@@ -26038,12 +26095,14 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase imp
|
|
|
26038
26095
|
return Promise.resolve<ImaSpecificationDto>(null as any);
|
|
26039
26096
|
}
|
|
26040
26097
|
|
|
26041
|
-
updateSpecification(id: string, version: number |
|
|
26098
|
+
updateSpecification(id: string, version: number | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto> {
|
|
26042
26099
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
|
|
26043
26100
|
if (id === undefined || id === null)
|
|
26044
26101
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
26045
26102
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
26046
|
-
if (version
|
|
26103
|
+
if (version === null)
|
|
26104
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
26105
|
+
else if (version !== undefined)
|
|
26047
26106
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
26048
26107
|
url_ = url_.replace(/[?&]$/, "");
|
|
26049
26108
|
|
|
@@ -26082,12 +26141,14 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase imp
|
|
|
26082
26141
|
return Promise.resolve<ImaSpecificationDto>(null as any);
|
|
26083
26142
|
}
|
|
26084
26143
|
|
|
26085
|
-
deleteSpecification(id: string, version: number |
|
|
26144
|
+
deleteSpecification(id: string, version: number | undefined): Promise<void> {
|
|
26086
26145
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
|
|
26087
26146
|
if (id === undefined || id === null)
|
|
26088
26147
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
26089
26148
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
26090
|
-
if (version
|
|
26149
|
+
if (version === null)
|
|
26150
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
26151
|
+
else if (version !== undefined)
|
|
26091
26152
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
26092
26153
|
url_ = url_.replace(/[?&]$/, "");
|
|
26093
26154
|
|
|
@@ -26213,6 +26274,367 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
26213
26274
|
}
|
|
26214
26275
|
}
|
|
26215
26276
|
|
|
26277
|
+
export interface IInspectSchemaCreatorClient {
|
|
26278
|
+
|
|
26279
|
+
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
26280
|
+
|
|
26281
|
+
/**
|
|
26282
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
26283
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
26284
|
+
*/
|
|
26285
|
+
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
26286
|
+
|
|
26287
|
+
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
26288
|
+
|
|
26289
|
+
/**
|
|
26290
|
+
* Geometry only (no values), derived from the schema's retained
|
|
26291
|
+
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
26292
|
+
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
26293
|
+
drawing to derive it from.
|
|
26294
|
+
*/
|
|
26295
|
+
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
26296
|
+
|
|
26297
|
+
/**
|
|
26298
|
+
* Starts a full drawing AI parse: clears every element and locks the
|
|
26299
|
+
schema for every viewer until it completes. If one is already in
|
|
26300
|
+
progress, returns that instead of starting a second one.
|
|
26301
|
+
*/
|
|
26302
|
+
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
26303
|
+
|
|
26304
|
+
/**
|
|
26305
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
26306
|
+
returns a temporary download link.
|
|
26307
|
+
*/
|
|
26308
|
+
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
26309
|
+
|
|
26310
|
+
/**
|
|
26311
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
26312
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
26313
|
+
* @param image (optional)
|
|
26314
|
+
*/
|
|
26315
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
26316
|
+
}
|
|
26317
|
+
|
|
26318
|
+
export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
26319
|
+
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
26320
|
+
private baseUrl: string;
|
|
26321
|
+
|
|
26322
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
26323
|
+
super(configuration);
|
|
26324
|
+
this.http = http ? http : window as any;
|
|
26325
|
+
this.baseUrl = baseUrl ?? "";
|
|
26326
|
+
}
|
|
26327
|
+
|
|
26328
|
+
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto> {
|
|
26329
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26330
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26331
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26332
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26333
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26334
|
+
|
|
26335
|
+
let options_: RequestInit = {
|
|
26336
|
+
method: "GET",
|
|
26337
|
+
headers: {
|
|
26338
|
+
"Accept": "application/json"
|
|
26339
|
+
}
|
|
26340
|
+
};
|
|
26341
|
+
|
|
26342
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26343
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26344
|
+
}).then((_response: Response) => {
|
|
26345
|
+
return this.processGetSchemaCreatorState(_response);
|
|
26346
|
+
});
|
|
26347
|
+
}
|
|
26348
|
+
|
|
26349
|
+
protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26350
|
+
const status = response.status;
|
|
26351
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26352
|
+
if (status === 200) {
|
|
26353
|
+
return response.text().then((_responseText) => {
|
|
26354
|
+
let result200: any = null;
|
|
26355
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26356
|
+
return result200;
|
|
26357
|
+
});
|
|
26358
|
+
} else if (status !== 200 && status !== 204) {
|
|
26359
|
+
return response.text().then((_responseText) => {
|
|
26360
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26361
|
+
});
|
|
26362
|
+
}
|
|
26363
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26364
|
+
}
|
|
26365
|
+
|
|
26366
|
+
/**
|
|
26367
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
26368
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
26369
|
+
*/
|
|
26370
|
+
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
26371
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26372
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26373
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26374
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26375
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26376
|
+
|
|
26377
|
+
const content_ = JSON.stringify(state);
|
|
26378
|
+
|
|
26379
|
+
let options_: RequestInit = {
|
|
26380
|
+
body: content_,
|
|
26381
|
+
method: "POST",
|
|
26382
|
+
headers: {
|
|
26383
|
+
"Content-Type": "application/json",
|
|
26384
|
+
"Accept": "application/json"
|
|
26385
|
+
}
|
|
26386
|
+
};
|
|
26387
|
+
|
|
26388
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26389
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26390
|
+
}).then((_response: Response) => {
|
|
26391
|
+
return this.processCreateSchemaCreatorState(_response);
|
|
26392
|
+
});
|
|
26393
|
+
}
|
|
26394
|
+
|
|
26395
|
+
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26396
|
+
const status = response.status;
|
|
26397
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26398
|
+
if (status === 201) {
|
|
26399
|
+
return response.text().then((_responseText) => {
|
|
26400
|
+
let result201: any = null;
|
|
26401
|
+
result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26402
|
+
return result201;
|
|
26403
|
+
});
|
|
26404
|
+
} else if (status === 409) {
|
|
26405
|
+
return response.text().then((_responseText) => {
|
|
26406
|
+
let result409: any = null;
|
|
26407
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProblemDetails;
|
|
26408
|
+
return throwException("A server side error occurred.", status, _responseText, _headers, result409);
|
|
26409
|
+
});
|
|
26410
|
+
} else if (status !== 200 && status !== 204) {
|
|
26411
|
+
return response.text().then((_responseText) => {
|
|
26412
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26413
|
+
});
|
|
26414
|
+
}
|
|
26415
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26416
|
+
}
|
|
26417
|
+
|
|
26418
|
+
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
26419
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26420
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26421
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26422
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26423
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26424
|
+
|
|
26425
|
+
const content_ = JSON.stringify(state);
|
|
26426
|
+
|
|
26427
|
+
let options_: RequestInit = {
|
|
26428
|
+
body: content_,
|
|
26429
|
+
method: "PUT",
|
|
26430
|
+
headers: {
|
|
26431
|
+
"Content-Type": "application/json",
|
|
26432
|
+
"Accept": "application/json"
|
|
26433
|
+
}
|
|
26434
|
+
};
|
|
26435
|
+
|
|
26436
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26437
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26438
|
+
}).then((_response: Response) => {
|
|
26439
|
+
return this.processUpdateSchemaCreatorState(_response);
|
|
26440
|
+
});
|
|
26441
|
+
}
|
|
26442
|
+
|
|
26443
|
+
protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26444
|
+
const status = response.status;
|
|
26445
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26446
|
+
if (status === 200) {
|
|
26447
|
+
return response.text().then((_responseText) => {
|
|
26448
|
+
let result200: any = null;
|
|
26449
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26450
|
+
return result200;
|
|
26451
|
+
});
|
|
26452
|
+
} else if (status !== 200 && status !== 204) {
|
|
26453
|
+
return response.text().then((_responseText) => {
|
|
26454
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26455
|
+
});
|
|
26456
|
+
}
|
|
26457
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26458
|
+
}
|
|
26459
|
+
|
|
26460
|
+
/**
|
|
26461
|
+
* Geometry only (no values), derived from the schema's retained
|
|
26462
|
+
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
26463
|
+
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
26464
|
+
drawing to derive it from.
|
|
26465
|
+
*/
|
|
26466
|
+
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]> {
|
|
26467
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/xml-geometry";
|
|
26468
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26469
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26470
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26471
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26472
|
+
|
|
26473
|
+
let options_: RequestInit = {
|
|
26474
|
+
method: "GET",
|
|
26475
|
+
headers: {
|
|
26476
|
+
"Accept": "application/json"
|
|
26477
|
+
}
|
|
26478
|
+
};
|
|
26479
|
+
|
|
26480
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26481
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26482
|
+
}).then((_response: Response) => {
|
|
26483
|
+
return this.processGetSchemaCreatorXmlGeometry(_response);
|
|
26484
|
+
});
|
|
26485
|
+
}
|
|
26486
|
+
|
|
26487
|
+
protected processGetSchemaCreatorXmlGeometry(response: Response): Promise<SchemaCreatorXmlGeometryDto[]> {
|
|
26488
|
+
const status = response.status;
|
|
26489
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26490
|
+
if (status === 200) {
|
|
26491
|
+
return response.text().then((_responseText) => {
|
|
26492
|
+
let result200: any = null;
|
|
26493
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorXmlGeometryDto[];
|
|
26494
|
+
return result200;
|
|
26495
|
+
});
|
|
26496
|
+
} else if (status !== 200 && status !== 204) {
|
|
26497
|
+
return response.text().then((_responseText) => {
|
|
26498
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26499
|
+
});
|
|
26500
|
+
}
|
|
26501
|
+
return Promise.resolve<SchemaCreatorXmlGeometryDto[]>(null as any);
|
|
26502
|
+
}
|
|
26503
|
+
|
|
26504
|
+
/**
|
|
26505
|
+
* Starts a full drawing AI parse: clears every element and locks the
|
|
26506
|
+
schema for every viewer until it completes. If one is already in
|
|
26507
|
+
progress, returns that instead of starting a second one.
|
|
26508
|
+
*/
|
|
26509
|
+
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto> {
|
|
26510
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/parse-document";
|
|
26511
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26512
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26513
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26514
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26515
|
+
|
|
26516
|
+
let options_: RequestInit = {
|
|
26517
|
+
method: "POST",
|
|
26518
|
+
headers: {
|
|
26519
|
+
"Accept": "application/json"
|
|
26520
|
+
}
|
|
26521
|
+
};
|
|
26522
|
+
|
|
26523
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26524
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26525
|
+
}).then((_response: Response) => {
|
|
26526
|
+
return this.processRequestSchemaCreatorDocumentParse(_response);
|
|
26527
|
+
});
|
|
26528
|
+
}
|
|
26529
|
+
|
|
26530
|
+
protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26531
|
+
const status = response.status;
|
|
26532
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26533
|
+
if (status === 200) {
|
|
26534
|
+
return response.text().then((_responseText) => {
|
|
26535
|
+
let result200: any = null;
|
|
26536
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26537
|
+
return result200;
|
|
26538
|
+
});
|
|
26539
|
+
} else if (status !== 200 && status !== 204) {
|
|
26540
|
+
return response.text().then((_responseText) => {
|
|
26541
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26542
|
+
});
|
|
26543
|
+
}
|
|
26544
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26545
|
+
}
|
|
26546
|
+
|
|
26547
|
+
/**
|
|
26548
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
26549
|
+
returns a temporary download link.
|
|
26550
|
+
*/
|
|
26551
|
+
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto> {
|
|
26552
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/download";
|
|
26553
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26554
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26555
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26556
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26557
|
+
|
|
26558
|
+
let options_: RequestInit = {
|
|
26559
|
+
method: "POST",
|
|
26560
|
+
headers: {
|
|
26561
|
+
"Accept": "application/json"
|
|
26562
|
+
}
|
|
26563
|
+
};
|
|
26564
|
+
|
|
26565
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26566
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26567
|
+
}).then((_response: Response) => {
|
|
26568
|
+
return this.processExportSchemaCreatorDrawing(_response);
|
|
26569
|
+
});
|
|
26570
|
+
}
|
|
26571
|
+
|
|
26572
|
+
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto> {
|
|
26573
|
+
const status = response.status;
|
|
26574
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26575
|
+
if (status === 200) {
|
|
26576
|
+
return response.text().then((_responseText) => {
|
|
26577
|
+
let result200: any = null;
|
|
26578
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as DownloadDto;
|
|
26579
|
+
return result200;
|
|
26580
|
+
});
|
|
26581
|
+
} else if (status !== 200 && status !== 204) {
|
|
26582
|
+
return response.text().then((_responseText) => {
|
|
26583
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26584
|
+
});
|
|
26585
|
+
}
|
|
26586
|
+
return Promise.resolve<DownloadDto>(null as any);
|
|
26587
|
+
}
|
|
26588
|
+
|
|
26589
|
+
/**
|
|
26590
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
26591
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
26592
|
+
* @param image (optional)
|
|
26593
|
+
*/
|
|
26594
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void> {
|
|
26595
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/elements/{elementId}/parse-snip";
|
|
26596
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26597
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26598
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26599
|
+
if (elementId === undefined || elementId === null)
|
|
26600
|
+
throw new globalThis.Error("The parameter 'elementId' must be defined.");
|
|
26601
|
+
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
26602
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26603
|
+
|
|
26604
|
+
const content_ = new FormData();
|
|
26605
|
+
if (image !== null && image !== undefined)
|
|
26606
|
+
content_.append("image", image.data, image.fileName ? image.fileName : "image");
|
|
26607
|
+
|
|
26608
|
+
let options_: RequestInit = {
|
|
26609
|
+
body: content_,
|
|
26610
|
+
method: "POST",
|
|
26611
|
+
headers: {
|
|
26612
|
+
}
|
|
26613
|
+
};
|
|
26614
|
+
|
|
26615
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26616
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26617
|
+
}).then((_response: Response) => {
|
|
26618
|
+
return this.processRequestSchemaCreatorSnipParse(_response);
|
|
26619
|
+
});
|
|
26620
|
+
}
|
|
26621
|
+
|
|
26622
|
+
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void> {
|
|
26623
|
+
const status = response.status;
|
|
26624
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26625
|
+
if (status === 200) {
|
|
26626
|
+
return response.text().then((_responseText) => {
|
|
26627
|
+
return;
|
|
26628
|
+
});
|
|
26629
|
+
} else if (status !== 200 && status !== 204) {
|
|
26630
|
+
return response.text().then((_responseText) => {
|
|
26631
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26632
|
+
});
|
|
26633
|
+
}
|
|
26634
|
+
return Promise.resolve<void>(null as any);
|
|
26635
|
+
}
|
|
26636
|
+
}
|
|
26637
|
+
|
|
26216
26638
|
export interface IMeasurementFormSchemasAdminClient {
|
|
26217
26639
|
|
|
26218
26640
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
@@ -26235,6 +26657,11 @@ export interface IMeasurementFormSchemasAdminClient {
|
|
|
26235
26657
|
|
|
26236
26658
|
updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
|
|
26237
26659
|
|
|
26660
|
+
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
26661
|
+
|
|
26662
|
+
/**
|
|
26663
|
+
* @deprecated
|
|
26664
|
+
*/
|
|
26238
26665
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
26239
26666
|
|
|
26240
26667
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
@@ -26749,6 +27176,51 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase impleme
|
|
|
26749
27176
|
return Promise.resolve<UpdateSchemaSettingsRequest>(null as any);
|
|
26750
27177
|
}
|
|
26751
27178
|
|
|
27179
|
+
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto> {
|
|
27180
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploadmarkeddrawing";
|
|
27181
|
+
if (id === undefined || id === null)
|
|
27182
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
27183
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
27184
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27185
|
+
|
|
27186
|
+
const content_ = JSON.stringify(request);
|
|
27187
|
+
|
|
27188
|
+
let options_: RequestInit = {
|
|
27189
|
+
body: content_,
|
|
27190
|
+
method: "POST",
|
|
27191
|
+
headers: {
|
|
27192
|
+
"Content-Type": "application/json",
|
|
27193
|
+
"Accept": "application/json"
|
|
27194
|
+
}
|
|
27195
|
+
};
|
|
27196
|
+
|
|
27197
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
27198
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
27199
|
+
}).then((_response: Response) => {
|
|
27200
|
+
return this.processUploadSchemaMarkedDrawing(_response);
|
|
27201
|
+
});
|
|
27202
|
+
}
|
|
27203
|
+
|
|
27204
|
+
protected processUploadSchemaMarkedDrawing(response: Response): Promise<MeasurementFormSchemaDto> {
|
|
27205
|
+
const status = response.status;
|
|
27206
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
27207
|
+
if (status === 200) {
|
|
27208
|
+
return response.text().then((_responseText) => {
|
|
27209
|
+
let result200: any = null;
|
|
27210
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MeasurementFormSchemaDto;
|
|
27211
|
+
return result200;
|
|
27212
|
+
});
|
|
27213
|
+
} else if (status !== 200 && status !== 204) {
|
|
27214
|
+
return response.text().then((_responseText) => {
|
|
27215
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27216
|
+
});
|
|
27217
|
+
}
|
|
27218
|
+
return Promise.resolve<MeasurementFormSchemaDto>(null as any);
|
|
27219
|
+
}
|
|
27220
|
+
|
|
27221
|
+
/**
|
|
27222
|
+
* @deprecated
|
|
27223
|
+
*/
|
|
26752
27224
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto> {
|
|
26753
27225
|
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploaddrawing";
|
|
26754
27226
|
if (id === undefined || id === null)
|
|
@@ -28879,6 +29351,8 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
28879
29351
|
|
|
28880
29352
|
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
28881
29353
|
|
|
29354
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
29355
|
+
|
|
28882
29356
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
28883
29357
|
|
|
28884
29358
|
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
@@ -29212,6 +29686,49 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
29212
29686
|
return Promise.resolve<MeasurementFormInstanceSchemaDto>(null as any);
|
|
29213
29687
|
}
|
|
29214
29688
|
|
|
29689
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto> {
|
|
29690
|
+
let url_ = this.baseUrl + "/measurementforms/instances/{id}/schemas/{schemaId}/creatorstate?";
|
|
29691
|
+
if (id === undefined || id === null)
|
|
29692
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
29693
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
29694
|
+
if (schemaId === undefined || schemaId === null)
|
|
29695
|
+
throw new globalThis.Error("The parameter 'schemaId' must be defined.");
|
|
29696
|
+
url_ = url_.replace("{schemaId}", encodeURIComponent("" + schemaId));
|
|
29697
|
+
if (tenantId !== undefined && tenantId !== null)
|
|
29698
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
29699
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
29700
|
+
|
|
29701
|
+
let options_: RequestInit = {
|
|
29702
|
+
method: "GET",
|
|
29703
|
+
headers: {
|
|
29704
|
+
"Accept": "application/json"
|
|
29705
|
+
}
|
|
29706
|
+
};
|
|
29707
|
+
|
|
29708
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
29709
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
29710
|
+
}).then((_response: Response) => {
|
|
29711
|
+
return this.processGetMeasurementFormInstanceSchemaCreatorState(_response);
|
|
29712
|
+
});
|
|
29713
|
+
}
|
|
29714
|
+
|
|
29715
|
+
protected processGetMeasurementFormInstanceSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
29716
|
+
const status = response.status;
|
|
29717
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
29718
|
+
if (status === 200) {
|
|
29719
|
+
return response.text().then((_responseText) => {
|
|
29720
|
+
let result200: any = null;
|
|
29721
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
29722
|
+
return result200;
|
|
29723
|
+
});
|
|
29724
|
+
} else if (status !== 200 && status !== 204) {
|
|
29725
|
+
return response.text().then((_responseText) => {
|
|
29726
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
29727
|
+
});
|
|
29728
|
+
}
|
|
29729
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
29730
|
+
}
|
|
29731
|
+
|
|
29215
29732
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto> {
|
|
29216
29733
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}/progress?";
|
|
29217
29734
|
if (id === undefined || id === null)
|
|
@@ -33528,6 +34045,7 @@ export interface PulseJournalEventDto {
|
|
|
33528
34045
|
eventType: PulseJournalEventTypeDto;
|
|
33529
34046
|
oldValue?: string | null;
|
|
33530
34047
|
newValue?: string | null;
|
|
34048
|
+
lineText?: string | null;
|
|
33531
34049
|
created: Date;
|
|
33532
34050
|
createdBy?: string | null;
|
|
33533
34051
|
}
|
|
@@ -33730,6 +34248,7 @@ export interface MrbInstanceDto {
|
|
|
33730
34248
|
customerOrder: string;
|
|
33731
34249
|
customerOrderLine: number;
|
|
33732
34250
|
externalOrderNumber?: string | null;
|
|
34251
|
+
customerAddress?: string | null;
|
|
33733
34252
|
traces: CustomerOrderLineTraceItemDto[];
|
|
33734
34253
|
mrbTemplateId?: string | null;
|
|
33735
34254
|
mrbTemplateName?: string | null;
|
|
@@ -33740,6 +34259,7 @@ export interface MrbInstanceDto {
|
|
|
33740
34259
|
part?: MrbPartDto | null;
|
|
33741
34260
|
showSerialNumbersOnFrontPage?: boolean;
|
|
33742
34261
|
showSerialNumbersOnCoC?: boolean;
|
|
34262
|
+
ncInfo?: string | null;
|
|
33743
34263
|
}
|
|
33744
34264
|
|
|
33745
34265
|
export interface CustomerOrderLineTraceItemDto {
|
|
@@ -33791,6 +34311,10 @@ export interface MrbPartDto {
|
|
|
33791
34311
|
partRevision?: string | null;
|
|
33792
34312
|
}
|
|
33793
34313
|
|
|
34314
|
+
export interface UpdateMrbInstanceNcInfoRequest {
|
|
34315
|
+
ncInfo?: string | null;
|
|
34316
|
+
}
|
|
34317
|
+
|
|
33794
34318
|
export interface MrbInstanceJobDto {
|
|
33795
34319
|
jobId: string;
|
|
33796
34320
|
mrbInstanceId: string;
|
|
@@ -33996,6 +34520,7 @@ export interface MrbCompanySettingsDto {
|
|
|
33996
34520
|
ownArticleLabel?: string | null;
|
|
33997
34521
|
coCStatement?: string | null;
|
|
33998
34522
|
addressLines: string[];
|
|
34523
|
+
contactPerson?: ContactPersonDto | null;
|
|
33999
34524
|
sequenceFormat?: string | null;
|
|
34000
34525
|
batchSequencePrefix?: string | null;
|
|
34001
34526
|
batchSequenceFormat?: string | null;
|
|
@@ -34006,6 +34531,12 @@ export interface MrbCompanySettingsDto {
|
|
|
34006
34531
|
skipTraceQuantityValidation: boolean;
|
|
34007
34532
|
}
|
|
34008
34533
|
|
|
34534
|
+
export interface ContactPersonDto {
|
|
34535
|
+
name: string;
|
|
34536
|
+
phone: string;
|
|
34537
|
+
email: string;
|
|
34538
|
+
}
|
|
34539
|
+
|
|
34009
34540
|
export interface UpsertMrbCompanySettings {
|
|
34010
34541
|
stampWithLot: boolean;
|
|
34011
34542
|
stampWithVendorBatch: boolean;
|
|
@@ -34016,6 +34547,7 @@ export interface UpsertMrbCompanySettings {
|
|
|
34016
34547
|
ownArticleLabel?: string | null;
|
|
34017
34548
|
coCStatement?: string | null;
|
|
34018
34549
|
addressLines: string[];
|
|
34550
|
+
contactPerson?: ContactPersonDto | null;
|
|
34019
34551
|
sequenceFormat?: string | null;
|
|
34020
34552
|
batchSequencePrefix?: string | null;
|
|
34021
34553
|
batchSequenceFormat?: string | null;
|
|
@@ -36818,7 +37350,7 @@ export interface SetProgramStatus {
|
|
|
36818
37350
|
status?: ProgramStatus;
|
|
36819
37351
|
}
|
|
36820
37352
|
|
|
36821
|
-
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
|
|
37353
|
+
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File" | "OperationText";
|
|
36822
37354
|
|
|
36823
37355
|
export interface UpdateProductionOrderAttachmentRequest {
|
|
36824
37356
|
type?: ProductionOrderAttachmentType;
|
|
@@ -37508,6 +38040,7 @@ export interface ImaCertificateTypeDto {
|
|
|
37508
38040
|
updatedByName?: string | null;
|
|
37509
38041
|
updated: Date;
|
|
37510
38042
|
isDeleted: boolean;
|
|
38043
|
+
canBeDeleted: boolean;
|
|
37511
38044
|
requirements: ImaCertificateTypeRequirementsDto;
|
|
37512
38045
|
}
|
|
37513
38046
|
|
|
@@ -37702,7 +38235,7 @@ export interface ImaMaterialCheckDto {
|
|
|
37702
38235
|
specificationStatus: ImaSpecificationStatusDto;
|
|
37703
38236
|
purchaseOrder?: string | null;
|
|
37704
38237
|
purchaseOrderLine?: number | null;
|
|
37705
|
-
|
|
38238
|
+
purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
|
|
37706
38239
|
purchaseOrderPartName?: string | null;
|
|
37707
38240
|
purchaseOrderPartNumber?: string | null;
|
|
37708
38241
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -37724,6 +38257,12 @@ export interface ImaMaterialCheckDto {
|
|
|
37724
38257
|
|
|
37725
38258
|
export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
37726
38259
|
|
|
38260
|
+
export interface PurchaseOrderMaterialBatchDto {
|
|
38261
|
+
batchNumber: string;
|
|
38262
|
+
itemNumber?: string | null;
|
|
38263
|
+
vendorBatch?: string | null;
|
|
38264
|
+
}
|
|
38265
|
+
|
|
37727
38266
|
export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
|
|
37728
38267
|
|
|
37729
38268
|
export interface ImaCertificateTypeResultsDto {
|
|
@@ -37871,6 +38410,7 @@ export interface ImaChemicalAnalysisCompositeResultDto {
|
|
|
37871
38410
|
prenW?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37872
38411
|
v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37873
38412
|
ce?: ImaSpecificationCalculatedResultLineDto | null;
|
|
38413
|
+
nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37874
38414
|
}
|
|
37875
38415
|
|
|
37876
38416
|
export interface ImaSpecificationCalculatedResultLineDto {
|
|
@@ -38012,7 +38552,7 @@ export interface ImaHeatTreatmentCoolingResultLineDto {
|
|
|
38012
38552
|
override?: ImaResultLineOverrideDto | null;
|
|
38013
38553
|
}
|
|
38014
38554
|
|
|
38015
|
-
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
|
|
38555
|
+
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "LiquidQuenching" | "NotSet";
|
|
38016
38556
|
|
|
38017
38557
|
export interface ImaDocumentTypesResultsDto {
|
|
38018
38558
|
ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -38020,7 +38560,7 @@ export interface ImaDocumentTypesResultsDto {
|
|
|
38020
38560
|
liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
38021
38561
|
magneticParticle?: ImaSupplementaryCheckResultDto | null;
|
|
38022
38562
|
pmi?: ImaSupplementaryCheckResultDto | null;
|
|
38023
|
-
|
|
38563
|
+
dyePenetrantReport?: ImaSupplementaryCheckResultDto | null;
|
|
38024
38564
|
visualReport?: ImaSupplementaryCheckResultDto | null;
|
|
38025
38565
|
dimensionalReport?: ImaSupplementaryCheckResultDto | null;
|
|
38026
38566
|
microExaminationReport?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -38154,6 +38694,7 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
|
|
|
38154
38694
|
prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38155
38695
|
v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38156
38696
|
ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38697
|
+
nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38157
38698
|
}
|
|
38158
38699
|
|
|
38159
38700
|
export interface ImaOverrideTensileTestResultsDto {
|
|
@@ -38244,7 +38785,7 @@ export interface ImaOverrideDocumentTypesResultsDto {
|
|
|
38244
38785
|
liquidPenetrantCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38245
38786
|
magneticParticle?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38246
38787
|
pmi?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38247
|
-
|
|
38788
|
+
dyePenetrantReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38248
38789
|
visualReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38249
38790
|
dimensionalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38250
38791
|
microExaminationReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -38280,7 +38821,7 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
38280
38821
|
specificationStatus: ImaSpecificationStatusDto;
|
|
38281
38822
|
purchaseOrder?: string | null;
|
|
38282
38823
|
purchaseOrderLine?: number | null;
|
|
38283
|
-
|
|
38824
|
+
purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
|
|
38284
38825
|
purchaseOrderPartName?: string | null;
|
|
38285
38826
|
purchaseOrderPartNumber?: string | null;
|
|
38286
38827
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -38312,7 +38853,7 @@ export interface ImaMaterialChecksPageRequestDto {
|
|
|
38312
38853
|
certificateTypeFilter?: string | null;
|
|
38313
38854
|
purchaseOrderLineFilter?: number | null;
|
|
38314
38855
|
heatFilter?: string | null;
|
|
38315
|
-
vendorBatchesFilter?: string
|
|
38856
|
+
vendorBatchesFilter?: string | null;
|
|
38316
38857
|
purchaseOrderPartNameFilter?: string | null;
|
|
38317
38858
|
purchaseOrderPartNumberFilter?: string | null;
|
|
38318
38859
|
purchaseOrderDrawingFilter?: string | null;
|
|
@@ -38351,6 +38892,7 @@ export interface ImaMaterialCheckReportDto {
|
|
|
38351
38892
|
includesAllHeats: boolean;
|
|
38352
38893
|
status: ImaMaterialCheckStatusDto;
|
|
38353
38894
|
audit: ImaMaterialCheckReportAuditInfo;
|
|
38895
|
+
isOutdated: boolean;
|
|
38354
38896
|
}
|
|
38355
38897
|
|
|
38356
38898
|
export interface ImaMaterialCheckReportAuditInfo {
|
|
@@ -38381,7 +38923,7 @@ export interface PurchaseOrderMaterialLineDetailsDto {
|
|
|
38381
38923
|
purchaseOrder: string;
|
|
38382
38924
|
lineNumber?: number | null;
|
|
38383
38925
|
dimension?: string | null;
|
|
38384
|
-
|
|
38926
|
+
batches: PurchaseOrderMaterialBatchDto[];
|
|
38385
38927
|
mdsCodeFl?: string | null;
|
|
38386
38928
|
typeOfCertificate?: string | null;
|
|
38387
38929
|
}
|
|
@@ -38410,6 +38952,7 @@ export interface User {
|
|
|
38410
38952
|
|
|
38411
38953
|
export interface ImaMatchSettingsDto {
|
|
38412
38954
|
columns: ImaMatchSettingsColumnsDto;
|
|
38955
|
+
erpEnabled: boolean;
|
|
38413
38956
|
}
|
|
38414
38957
|
|
|
38415
38958
|
export interface ImaMatchSettingsColumnsDto {
|
|
@@ -38472,6 +39015,7 @@ export interface ImaSpecificationDto {
|
|
|
38472
39015
|
updatedByName?: string | null;
|
|
38473
39016
|
updated: Date;
|
|
38474
39017
|
isDeleted: boolean;
|
|
39018
|
+
canBeDeleted: boolean;
|
|
38475
39019
|
chemistrySpecification: ImaChemistrySpecificationDto;
|
|
38476
39020
|
chemistryCompositeSpecification: ImaChemistryCompositeSpecificationDto;
|
|
38477
39021
|
mechanicalSpecification: ImaMechanicalSpecificationDto;
|
|
@@ -38530,6 +39074,7 @@ export interface ImaChemistryCompositeSpecificationDto {
|
|
|
38530
39074
|
prenW?: ImaSpecificationLineDto | null;
|
|
38531
39075
|
v_Nb_Ti?: boolean | null;
|
|
38532
39076
|
ce?: boolean | null;
|
|
39077
|
+
nb_Ta?: ImaSpecificationLineDto | null;
|
|
38533
39078
|
}
|
|
38534
39079
|
|
|
38535
39080
|
export interface ImaMechanicalSpecificationDto {
|
|
@@ -38567,7 +39112,7 @@ export interface ImaDocumentTypesSpecificationDto {
|
|
|
38567
39112
|
liquidPenetrantCertificate?: boolean;
|
|
38568
39113
|
magneticParticle?: boolean;
|
|
38569
39114
|
pmi?: boolean;
|
|
38570
|
-
|
|
39115
|
+
dyePenetrantReport?: boolean;
|
|
38571
39116
|
visualReport?: boolean;
|
|
38572
39117
|
dimensionalReport?: boolean;
|
|
38573
39118
|
microExaminationReport?: boolean;
|
|
@@ -38642,6 +39187,133 @@ export interface ImaSpecificationLiteDto {
|
|
|
38642
39187
|
isDeleted: boolean;
|
|
38643
39188
|
}
|
|
38644
39189
|
|
|
39190
|
+
export interface SchemaCreatorStateDto {
|
|
39191
|
+
settings: SchemaCreatorSettingsDto;
|
|
39192
|
+
elements: SchemaCreatorElementDto[];
|
|
39193
|
+
documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
|
|
39194
|
+
isAutoGenerated?: boolean;
|
|
39195
|
+
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
39196
|
+
createdAt?: Date | null;
|
|
39197
|
+
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
39198
|
+
updatedAt?: Date | null;
|
|
39199
|
+
}
|
|
39200
|
+
|
|
39201
|
+
export interface SchemaCreatorSettingsDto {
|
|
39202
|
+
unit?: SchemaCreatorUnitOfMeasureDto;
|
|
39203
|
+
tolerance?: GeneralToleranceDto;
|
|
39204
|
+
balloonSize?: number;
|
|
39205
|
+
transparentBalloons?: boolean;
|
|
39206
|
+
}
|
|
39207
|
+
|
|
39208
|
+
export type SchemaCreatorUnitOfMeasureDto = "Millimeter" | "Inch" | "Mixed";
|
|
39209
|
+
|
|
39210
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
39211
|
+
|
|
39212
|
+
export interface SchemaCreatorElementDto {
|
|
39213
|
+
id: string;
|
|
39214
|
+
kind: SchemaCreatorElementKindDto;
|
|
39215
|
+
drawings: SchemaCreatorElementDrawingsDto;
|
|
39216
|
+
isDirty?: boolean | null;
|
|
39217
|
+
values?: SchemaCreatorElementValuesDto | null;
|
|
39218
|
+
valuesSnapshot?: SchemaCreatorElementValuesDto | null;
|
|
39219
|
+
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
39220
|
+
resolveAttempt?: SchemaCreatorParseAttemptDto | null;
|
|
39221
|
+
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
39222
|
+
createdAt?: Date | null;
|
|
39223
|
+
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
39224
|
+
updatedAt?: Date | null;
|
|
39225
|
+
}
|
|
39226
|
+
|
|
39227
|
+
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
39228
|
+
|
|
39229
|
+
export interface SchemaCreatorElementDrawingsDto {
|
|
39230
|
+
snip: SchemaCreatorSnipDto;
|
|
39231
|
+
balloon: SchemaCreatorPointDto;
|
|
39232
|
+
pageIndex: number;
|
|
39233
|
+
}
|
|
39234
|
+
|
|
39235
|
+
export interface SchemaCreatorSnipDto {
|
|
39236
|
+
rect: SchemaCreatorRectDto;
|
|
39237
|
+
rotation?: number | null;
|
|
39238
|
+
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
39239
|
+
}
|
|
39240
|
+
|
|
39241
|
+
export interface SchemaCreatorRectDto {
|
|
39242
|
+
origin: SchemaCreatorPointDto;
|
|
39243
|
+
size: SchemaCreatorSizeDto;
|
|
39244
|
+
}
|
|
39245
|
+
|
|
39246
|
+
export interface SchemaCreatorPointDto {
|
|
39247
|
+
x: number;
|
|
39248
|
+
y: number;
|
|
39249
|
+
}
|
|
39250
|
+
|
|
39251
|
+
export interface SchemaCreatorSizeDto {
|
|
39252
|
+
width: number;
|
|
39253
|
+
height: number;
|
|
39254
|
+
}
|
|
39255
|
+
|
|
39256
|
+
export interface SchemaCreatorElementValuesDto {
|
|
39257
|
+
reference: number;
|
|
39258
|
+
unit?: UnitOfMeasureDto | null;
|
|
39259
|
+
nominal?: number | null;
|
|
39260
|
+
nominalText?: string | null;
|
|
39261
|
+
upperLimit?: number | null;
|
|
39262
|
+
lowerLimit?: number | null;
|
|
39263
|
+
plusTolerance?: number | null;
|
|
39264
|
+
minusTolerance?: number | null;
|
|
39265
|
+
coatingThickness?: number | null;
|
|
39266
|
+
measurementFrequency: MeasurementFrequency;
|
|
39267
|
+
measurementFrequencyParameter?: number | null;
|
|
39268
|
+
type?: string | null;
|
|
39269
|
+
count?: number | null;
|
|
39270
|
+
comment?: string | null;
|
|
39271
|
+
canCopy: boolean;
|
|
39272
|
+
visibleToCustomer: boolean;
|
|
39273
|
+
isDocumentedExternally: boolean;
|
|
39274
|
+
}
|
|
39275
|
+
|
|
39276
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
39277
|
+
|
|
39278
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
39279
|
+
|
|
39280
|
+
export interface SchemaCreatorSnipResultDto {
|
|
39281
|
+
nominal?: number | null;
|
|
39282
|
+
nominalText?: string | null;
|
|
39283
|
+
type?: string | null;
|
|
39284
|
+
upperLimit?: number | null;
|
|
39285
|
+
lowerLimit?: number | null;
|
|
39286
|
+
plusTolerance?: number | null;
|
|
39287
|
+
minusTolerance?: number | null;
|
|
39288
|
+
count?: number | null;
|
|
39289
|
+
}
|
|
39290
|
+
|
|
39291
|
+
export interface SchemaCreatorParseAttemptDto {
|
|
39292
|
+
startedAt: Date;
|
|
39293
|
+
errorType?: SchemaCreatorParseErrorTypeDto | null;
|
|
39294
|
+
errorMessage?: string | null;
|
|
39295
|
+
}
|
|
39296
|
+
|
|
39297
|
+
export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
|
|
39298
|
+
|
|
39299
|
+
export interface SchemaCreatorAuditInfoDto {
|
|
39300
|
+
objectId: string;
|
|
39301
|
+
userId: string;
|
|
39302
|
+
userFullName?: string | null;
|
|
39303
|
+
}
|
|
39304
|
+
|
|
39305
|
+
export interface SchemaCreatorDocumentParseStatusDto {
|
|
39306
|
+
inProgress: boolean;
|
|
39307
|
+
attempt?: SchemaCreatorParseAttemptDto | null;
|
|
39308
|
+
}
|
|
39309
|
+
|
|
39310
|
+
export interface SchemaCreatorXmlGeometryDto {
|
|
39311
|
+
xmlAttributeId: number;
|
|
39312
|
+
snipRect: SchemaCreatorRectDto;
|
|
39313
|
+
balloon: SchemaCreatorPointDto;
|
|
39314
|
+
pageIndex: number;
|
|
39315
|
+
}
|
|
39316
|
+
|
|
38645
39317
|
export interface MeasurementFormSchemaDto {
|
|
38646
39318
|
id: string;
|
|
38647
39319
|
versionId: number;
|
|
@@ -38676,12 +39348,8 @@ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
|
38676
39348
|
|
|
38677
39349
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
38678
39350
|
|
|
38679
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
38680
|
-
|
|
38681
39351
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
38682
39352
|
|
|
38683
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
38684
|
-
|
|
38685
39353
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
38686
39354
|
url: string;
|
|
38687
39355
|
title: string;
|
|
@@ -38691,6 +39359,7 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
38691
39359
|
id: string;
|
|
38692
39360
|
balloonId?: string | null;
|
|
38693
39361
|
reference: number;
|
|
39362
|
+
originalXmlId?: number | null;
|
|
38694
39363
|
imageUrl?: string | null;
|
|
38695
39364
|
thumbnailUrl?: string | null;
|
|
38696
39365
|
section?: string | null;
|
|
@@ -38732,8 +39401,6 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
38732
39401
|
validationErrorMessage?: string | null;
|
|
38733
39402
|
}
|
|
38734
39403
|
|
|
38735
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
38736
|
-
|
|
38737
39404
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
38738
39405
|
|
|
38739
39406
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
@@ -38860,6 +39527,7 @@ export interface UploadDrawingRequest {
|
|
|
38860
39527
|
export interface UploadRequest {
|
|
38861
39528
|
uploadKey: string;
|
|
38862
39529
|
filename: string;
|
|
39530
|
+
isMarkedDrawing?: boolean | null;
|
|
38863
39531
|
}
|
|
38864
39532
|
|
|
38865
39533
|
export interface MeasurementFormImportStatusDto {
|
|
@@ -38943,6 +39611,8 @@ export interface MeasurementFormCustomerSettingsDto {
|
|
|
38943
39611
|
validationRuleId?: string | null;
|
|
38944
39612
|
requireCalibratedTools: boolean;
|
|
38945
39613
|
allowEmptyToolListInValue: boolean;
|
|
39614
|
+
disableAiParseDocument: boolean;
|
|
39615
|
+
disableAiParseSnip: boolean;
|
|
38946
39616
|
}
|
|
38947
39617
|
|
|
38948
39618
|
export interface UpdateMeasurementFormCustomerSettings {
|
|
@@ -38952,6 +39622,8 @@ export interface UpdateMeasurementFormCustomerSettings {
|
|
|
38952
39622
|
validationRuleId?: string | null;
|
|
38953
39623
|
requireCalibratedTools: boolean;
|
|
38954
39624
|
allowEmptyToolListInValue: boolean;
|
|
39625
|
+
disableAiParseDocument: boolean;
|
|
39626
|
+
disableAiParseSnip: boolean;
|
|
38955
39627
|
}
|
|
38956
39628
|
|
|
38957
39629
|
export interface MeasurementFormMappingDto {
|
|
@@ -39562,6 +40234,7 @@ export interface CustomerOrderLineDto {
|
|
|
39562
40234
|
status: CustomerOrderLineStatus;
|
|
39563
40235
|
part: PartDto;
|
|
39564
40236
|
deliveryDate?: Date | null;
|
|
40237
|
+
customerAddress?: string | null;
|
|
39565
40238
|
workorderHierarchy: WorkorderHierarchyDto[];
|
|
39566
40239
|
workorderHiearchy?: WorkorderHierarchyDto[] | null;
|
|
39567
40240
|
}
|
|
@@ -39572,6 +40245,8 @@ export interface WorkorderHierarchyDto {
|
|
|
39572
40245
|
workorder: string;
|
|
39573
40246
|
quantity: number;
|
|
39574
40247
|
totalQuantity: number;
|
|
40248
|
+
parentOrder?: string | null;
|
|
40249
|
+
parentItem?: string | null;
|
|
39575
40250
|
workorders: WorkorderHierarchyDto[];
|
|
39576
40251
|
}
|
|
39577
40252
|
|