@ignos/api-client 20260921.282.1-alpha → 20260921.283.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 +229 -12
- package/lib/ignosportal-api.js +772 -124
- package/package.json +2 -2
- package/src/ignosportal-api.ts +655 -15
- 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)
|
|
@@ -26213,6 +26254,367 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
26213
26254
|
}
|
|
26214
26255
|
}
|
|
26215
26256
|
|
|
26257
|
+
export interface IInspectSchemaCreatorClient {
|
|
26258
|
+
|
|
26259
|
+
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
26260
|
+
|
|
26261
|
+
/**
|
|
26262
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
26263
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
26264
|
+
*/
|
|
26265
|
+
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
26266
|
+
|
|
26267
|
+
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
26268
|
+
|
|
26269
|
+
/**
|
|
26270
|
+
* Geometry only (no values), derived from the schema's retained
|
|
26271
|
+
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
26272
|
+
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
26273
|
+
drawing to derive it from.
|
|
26274
|
+
*/
|
|
26275
|
+
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
26276
|
+
|
|
26277
|
+
/**
|
|
26278
|
+
* Starts a full drawing AI parse: clears every element and locks the
|
|
26279
|
+
schema for every viewer until it completes. If one is already in
|
|
26280
|
+
progress, returns that instead of starting a second one.
|
|
26281
|
+
*/
|
|
26282
|
+
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
26283
|
+
|
|
26284
|
+
/**
|
|
26285
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
26286
|
+
returns a temporary download link.
|
|
26287
|
+
*/
|
|
26288
|
+
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
26289
|
+
|
|
26290
|
+
/**
|
|
26291
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
26292
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
26293
|
+
* @param image (optional)
|
|
26294
|
+
*/
|
|
26295
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
26296
|
+
}
|
|
26297
|
+
|
|
26298
|
+
export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
26299
|
+
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
26300
|
+
private baseUrl: string;
|
|
26301
|
+
|
|
26302
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
26303
|
+
super(configuration);
|
|
26304
|
+
this.http = http ? http : window as any;
|
|
26305
|
+
this.baseUrl = baseUrl ?? "";
|
|
26306
|
+
}
|
|
26307
|
+
|
|
26308
|
+
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto> {
|
|
26309
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26310
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26311
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26312
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26313
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26314
|
+
|
|
26315
|
+
let options_: RequestInit = {
|
|
26316
|
+
method: "GET",
|
|
26317
|
+
headers: {
|
|
26318
|
+
"Accept": "application/json"
|
|
26319
|
+
}
|
|
26320
|
+
};
|
|
26321
|
+
|
|
26322
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26323
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26324
|
+
}).then((_response: Response) => {
|
|
26325
|
+
return this.processGetSchemaCreatorState(_response);
|
|
26326
|
+
});
|
|
26327
|
+
}
|
|
26328
|
+
|
|
26329
|
+
protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26330
|
+
const status = response.status;
|
|
26331
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26332
|
+
if (status === 200) {
|
|
26333
|
+
return response.text().then((_responseText) => {
|
|
26334
|
+
let result200: any = null;
|
|
26335
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26336
|
+
return result200;
|
|
26337
|
+
});
|
|
26338
|
+
} else if (status !== 200 && status !== 204) {
|
|
26339
|
+
return response.text().then((_responseText) => {
|
|
26340
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26341
|
+
});
|
|
26342
|
+
}
|
|
26343
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26344
|
+
}
|
|
26345
|
+
|
|
26346
|
+
/**
|
|
26347
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
26348
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
26349
|
+
*/
|
|
26350
|
+
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
26351
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26352
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26353
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26354
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26355
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26356
|
+
|
|
26357
|
+
const content_ = JSON.stringify(state);
|
|
26358
|
+
|
|
26359
|
+
let options_: RequestInit = {
|
|
26360
|
+
body: content_,
|
|
26361
|
+
method: "POST",
|
|
26362
|
+
headers: {
|
|
26363
|
+
"Content-Type": "application/json",
|
|
26364
|
+
"Accept": "application/json"
|
|
26365
|
+
}
|
|
26366
|
+
};
|
|
26367
|
+
|
|
26368
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26369
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26370
|
+
}).then((_response: Response) => {
|
|
26371
|
+
return this.processCreateSchemaCreatorState(_response);
|
|
26372
|
+
});
|
|
26373
|
+
}
|
|
26374
|
+
|
|
26375
|
+
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26376
|
+
const status = response.status;
|
|
26377
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26378
|
+
if (status === 201) {
|
|
26379
|
+
return response.text().then((_responseText) => {
|
|
26380
|
+
let result201: any = null;
|
|
26381
|
+
result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26382
|
+
return result201;
|
|
26383
|
+
});
|
|
26384
|
+
} else if (status === 409) {
|
|
26385
|
+
return response.text().then((_responseText) => {
|
|
26386
|
+
let result409: any = null;
|
|
26387
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProblemDetails;
|
|
26388
|
+
return throwException("A server side error occurred.", status, _responseText, _headers, result409);
|
|
26389
|
+
});
|
|
26390
|
+
} else if (status !== 200 && status !== 204) {
|
|
26391
|
+
return response.text().then((_responseText) => {
|
|
26392
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26393
|
+
});
|
|
26394
|
+
}
|
|
26395
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26396
|
+
}
|
|
26397
|
+
|
|
26398
|
+
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
26399
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26400
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26401
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26402
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26403
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26404
|
+
|
|
26405
|
+
const content_ = JSON.stringify(state);
|
|
26406
|
+
|
|
26407
|
+
let options_: RequestInit = {
|
|
26408
|
+
body: content_,
|
|
26409
|
+
method: "PUT",
|
|
26410
|
+
headers: {
|
|
26411
|
+
"Content-Type": "application/json",
|
|
26412
|
+
"Accept": "application/json"
|
|
26413
|
+
}
|
|
26414
|
+
};
|
|
26415
|
+
|
|
26416
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26417
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26418
|
+
}).then((_response: Response) => {
|
|
26419
|
+
return this.processUpdateSchemaCreatorState(_response);
|
|
26420
|
+
});
|
|
26421
|
+
}
|
|
26422
|
+
|
|
26423
|
+
protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26424
|
+
const status = response.status;
|
|
26425
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26426
|
+
if (status === 200) {
|
|
26427
|
+
return response.text().then((_responseText) => {
|
|
26428
|
+
let result200: any = null;
|
|
26429
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26430
|
+
return result200;
|
|
26431
|
+
});
|
|
26432
|
+
} else if (status !== 200 && status !== 204) {
|
|
26433
|
+
return response.text().then((_responseText) => {
|
|
26434
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26435
|
+
});
|
|
26436
|
+
}
|
|
26437
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26438
|
+
}
|
|
26439
|
+
|
|
26440
|
+
/**
|
|
26441
|
+
* Geometry only (no values), derived from the schema's retained
|
|
26442
|
+
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
26443
|
+
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
26444
|
+
drawing to derive it from.
|
|
26445
|
+
*/
|
|
26446
|
+
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]> {
|
|
26447
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/xml-geometry";
|
|
26448
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26449
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26450
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26451
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26452
|
+
|
|
26453
|
+
let options_: RequestInit = {
|
|
26454
|
+
method: "GET",
|
|
26455
|
+
headers: {
|
|
26456
|
+
"Accept": "application/json"
|
|
26457
|
+
}
|
|
26458
|
+
};
|
|
26459
|
+
|
|
26460
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26461
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26462
|
+
}).then((_response: Response) => {
|
|
26463
|
+
return this.processGetSchemaCreatorXmlGeometry(_response);
|
|
26464
|
+
});
|
|
26465
|
+
}
|
|
26466
|
+
|
|
26467
|
+
protected processGetSchemaCreatorXmlGeometry(response: Response): Promise<SchemaCreatorXmlGeometryDto[]> {
|
|
26468
|
+
const status = response.status;
|
|
26469
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26470
|
+
if (status === 200) {
|
|
26471
|
+
return response.text().then((_responseText) => {
|
|
26472
|
+
let result200: any = null;
|
|
26473
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorXmlGeometryDto[];
|
|
26474
|
+
return result200;
|
|
26475
|
+
});
|
|
26476
|
+
} else if (status !== 200 && status !== 204) {
|
|
26477
|
+
return response.text().then((_responseText) => {
|
|
26478
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26479
|
+
});
|
|
26480
|
+
}
|
|
26481
|
+
return Promise.resolve<SchemaCreatorXmlGeometryDto[]>(null as any);
|
|
26482
|
+
}
|
|
26483
|
+
|
|
26484
|
+
/**
|
|
26485
|
+
* Starts a full drawing AI parse: clears every element and locks the
|
|
26486
|
+
schema for every viewer until it completes. If one is already in
|
|
26487
|
+
progress, returns that instead of starting a second one.
|
|
26488
|
+
*/
|
|
26489
|
+
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto> {
|
|
26490
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/parse-document";
|
|
26491
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26492
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26493
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26494
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26495
|
+
|
|
26496
|
+
let options_: RequestInit = {
|
|
26497
|
+
method: "POST",
|
|
26498
|
+
headers: {
|
|
26499
|
+
"Accept": "application/json"
|
|
26500
|
+
}
|
|
26501
|
+
};
|
|
26502
|
+
|
|
26503
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26504
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26505
|
+
}).then((_response: Response) => {
|
|
26506
|
+
return this.processRequestSchemaCreatorDocumentParse(_response);
|
|
26507
|
+
});
|
|
26508
|
+
}
|
|
26509
|
+
|
|
26510
|
+
protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26511
|
+
const status = response.status;
|
|
26512
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26513
|
+
if (status === 200) {
|
|
26514
|
+
return response.text().then((_responseText) => {
|
|
26515
|
+
let result200: any = null;
|
|
26516
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26517
|
+
return result200;
|
|
26518
|
+
});
|
|
26519
|
+
} else if (status !== 200 && status !== 204) {
|
|
26520
|
+
return response.text().then((_responseText) => {
|
|
26521
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26522
|
+
});
|
|
26523
|
+
}
|
|
26524
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26525
|
+
}
|
|
26526
|
+
|
|
26527
|
+
/**
|
|
26528
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
26529
|
+
returns a temporary download link.
|
|
26530
|
+
*/
|
|
26531
|
+
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto> {
|
|
26532
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/download";
|
|
26533
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26534
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26535
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26536
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26537
|
+
|
|
26538
|
+
let options_: RequestInit = {
|
|
26539
|
+
method: "POST",
|
|
26540
|
+
headers: {
|
|
26541
|
+
"Accept": "application/json"
|
|
26542
|
+
}
|
|
26543
|
+
};
|
|
26544
|
+
|
|
26545
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26546
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26547
|
+
}).then((_response: Response) => {
|
|
26548
|
+
return this.processExportSchemaCreatorDrawing(_response);
|
|
26549
|
+
});
|
|
26550
|
+
}
|
|
26551
|
+
|
|
26552
|
+
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto> {
|
|
26553
|
+
const status = response.status;
|
|
26554
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26555
|
+
if (status === 200) {
|
|
26556
|
+
return response.text().then((_responseText) => {
|
|
26557
|
+
let result200: any = null;
|
|
26558
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as DownloadDto;
|
|
26559
|
+
return result200;
|
|
26560
|
+
});
|
|
26561
|
+
} else if (status !== 200 && status !== 204) {
|
|
26562
|
+
return response.text().then((_responseText) => {
|
|
26563
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26564
|
+
});
|
|
26565
|
+
}
|
|
26566
|
+
return Promise.resolve<DownloadDto>(null as any);
|
|
26567
|
+
}
|
|
26568
|
+
|
|
26569
|
+
/**
|
|
26570
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
26571
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
26572
|
+
* @param image (optional)
|
|
26573
|
+
*/
|
|
26574
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void> {
|
|
26575
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/elements/{elementId}/parse-snip";
|
|
26576
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26577
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26578
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26579
|
+
if (elementId === undefined || elementId === null)
|
|
26580
|
+
throw new globalThis.Error("The parameter 'elementId' must be defined.");
|
|
26581
|
+
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
26582
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26583
|
+
|
|
26584
|
+
const content_ = new FormData();
|
|
26585
|
+
if (image !== null && image !== undefined)
|
|
26586
|
+
content_.append("image", image.data, image.fileName ? image.fileName : "image");
|
|
26587
|
+
|
|
26588
|
+
let options_: RequestInit = {
|
|
26589
|
+
body: content_,
|
|
26590
|
+
method: "POST",
|
|
26591
|
+
headers: {
|
|
26592
|
+
}
|
|
26593
|
+
};
|
|
26594
|
+
|
|
26595
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26596
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26597
|
+
}).then((_response: Response) => {
|
|
26598
|
+
return this.processRequestSchemaCreatorSnipParse(_response);
|
|
26599
|
+
});
|
|
26600
|
+
}
|
|
26601
|
+
|
|
26602
|
+
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void> {
|
|
26603
|
+
const status = response.status;
|
|
26604
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26605
|
+
if (status === 200) {
|
|
26606
|
+
return response.text().then((_responseText) => {
|
|
26607
|
+
return;
|
|
26608
|
+
});
|
|
26609
|
+
} else if (status !== 200 && status !== 204) {
|
|
26610
|
+
return response.text().then((_responseText) => {
|
|
26611
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26612
|
+
});
|
|
26613
|
+
}
|
|
26614
|
+
return Promise.resolve<void>(null as any);
|
|
26615
|
+
}
|
|
26616
|
+
}
|
|
26617
|
+
|
|
26216
26618
|
export interface IMeasurementFormSchemasAdminClient {
|
|
26217
26619
|
|
|
26218
26620
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
@@ -26235,6 +26637,11 @@ export interface IMeasurementFormSchemasAdminClient {
|
|
|
26235
26637
|
|
|
26236
26638
|
updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
|
|
26237
26639
|
|
|
26640
|
+
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
26641
|
+
|
|
26642
|
+
/**
|
|
26643
|
+
* @deprecated
|
|
26644
|
+
*/
|
|
26238
26645
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
26239
26646
|
|
|
26240
26647
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
@@ -26749,6 +27156,51 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase impleme
|
|
|
26749
27156
|
return Promise.resolve<UpdateSchemaSettingsRequest>(null as any);
|
|
26750
27157
|
}
|
|
26751
27158
|
|
|
27159
|
+
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto> {
|
|
27160
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploadmarkeddrawing";
|
|
27161
|
+
if (id === undefined || id === null)
|
|
27162
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
27163
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
27164
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27165
|
+
|
|
27166
|
+
const content_ = JSON.stringify(request);
|
|
27167
|
+
|
|
27168
|
+
let options_: RequestInit = {
|
|
27169
|
+
body: content_,
|
|
27170
|
+
method: "POST",
|
|
27171
|
+
headers: {
|
|
27172
|
+
"Content-Type": "application/json",
|
|
27173
|
+
"Accept": "application/json"
|
|
27174
|
+
}
|
|
27175
|
+
};
|
|
27176
|
+
|
|
27177
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
27178
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
27179
|
+
}).then((_response: Response) => {
|
|
27180
|
+
return this.processUploadSchemaMarkedDrawing(_response);
|
|
27181
|
+
});
|
|
27182
|
+
}
|
|
27183
|
+
|
|
27184
|
+
protected processUploadSchemaMarkedDrawing(response: Response): Promise<MeasurementFormSchemaDto> {
|
|
27185
|
+
const status = response.status;
|
|
27186
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
27187
|
+
if (status === 200) {
|
|
27188
|
+
return response.text().then((_responseText) => {
|
|
27189
|
+
let result200: any = null;
|
|
27190
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MeasurementFormSchemaDto;
|
|
27191
|
+
return result200;
|
|
27192
|
+
});
|
|
27193
|
+
} else if (status !== 200 && status !== 204) {
|
|
27194
|
+
return response.text().then((_responseText) => {
|
|
27195
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27196
|
+
});
|
|
27197
|
+
}
|
|
27198
|
+
return Promise.resolve<MeasurementFormSchemaDto>(null as any);
|
|
27199
|
+
}
|
|
27200
|
+
|
|
27201
|
+
/**
|
|
27202
|
+
* @deprecated
|
|
27203
|
+
*/
|
|
26752
27204
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto> {
|
|
26753
27205
|
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploaddrawing";
|
|
26754
27206
|
if (id === undefined || id === null)
|
|
@@ -28879,6 +29331,8 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
28879
29331
|
|
|
28880
29332
|
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
28881
29333
|
|
|
29334
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
29335
|
+
|
|
28882
29336
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
28883
29337
|
|
|
28884
29338
|
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
@@ -29212,6 +29666,49 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
29212
29666
|
return Promise.resolve<MeasurementFormInstanceSchemaDto>(null as any);
|
|
29213
29667
|
}
|
|
29214
29668
|
|
|
29669
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto> {
|
|
29670
|
+
let url_ = this.baseUrl + "/measurementforms/instances/{id}/schemas/{schemaId}/creatorstate?";
|
|
29671
|
+
if (id === undefined || id === null)
|
|
29672
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
29673
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
29674
|
+
if (schemaId === undefined || schemaId === null)
|
|
29675
|
+
throw new globalThis.Error("The parameter 'schemaId' must be defined.");
|
|
29676
|
+
url_ = url_.replace("{schemaId}", encodeURIComponent("" + schemaId));
|
|
29677
|
+
if (tenantId !== undefined && tenantId !== null)
|
|
29678
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
29679
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
29680
|
+
|
|
29681
|
+
let options_: RequestInit = {
|
|
29682
|
+
method: "GET",
|
|
29683
|
+
headers: {
|
|
29684
|
+
"Accept": "application/json"
|
|
29685
|
+
}
|
|
29686
|
+
};
|
|
29687
|
+
|
|
29688
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
29689
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
29690
|
+
}).then((_response: Response) => {
|
|
29691
|
+
return this.processGetMeasurementFormInstanceSchemaCreatorState(_response);
|
|
29692
|
+
});
|
|
29693
|
+
}
|
|
29694
|
+
|
|
29695
|
+
protected processGetMeasurementFormInstanceSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
29696
|
+
const status = response.status;
|
|
29697
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
29698
|
+
if (status === 200) {
|
|
29699
|
+
return response.text().then((_responseText) => {
|
|
29700
|
+
let result200: any = null;
|
|
29701
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
29702
|
+
return result200;
|
|
29703
|
+
});
|
|
29704
|
+
} else if (status !== 200 && status !== 204) {
|
|
29705
|
+
return response.text().then((_responseText) => {
|
|
29706
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
29707
|
+
});
|
|
29708
|
+
}
|
|
29709
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
29710
|
+
}
|
|
29711
|
+
|
|
29215
29712
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto> {
|
|
29216
29713
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}/progress?";
|
|
29217
29714
|
if (id === undefined || id === null)
|
|
@@ -33528,6 +34025,7 @@ export interface PulseJournalEventDto {
|
|
|
33528
34025
|
eventType: PulseJournalEventTypeDto;
|
|
33529
34026
|
oldValue?: string | null;
|
|
33530
34027
|
newValue?: string | null;
|
|
34028
|
+
lineText?: string | null;
|
|
33531
34029
|
created: Date;
|
|
33532
34030
|
createdBy?: string | null;
|
|
33533
34031
|
}
|
|
@@ -33740,6 +34238,7 @@ export interface MrbInstanceDto {
|
|
|
33740
34238
|
part?: MrbPartDto | null;
|
|
33741
34239
|
showSerialNumbersOnFrontPage?: boolean;
|
|
33742
34240
|
showSerialNumbersOnCoC?: boolean;
|
|
34241
|
+
ncInfo?: string | null;
|
|
33743
34242
|
}
|
|
33744
34243
|
|
|
33745
34244
|
export interface CustomerOrderLineTraceItemDto {
|
|
@@ -33791,6 +34290,10 @@ export interface MrbPartDto {
|
|
|
33791
34290
|
partRevision?: string | null;
|
|
33792
34291
|
}
|
|
33793
34292
|
|
|
34293
|
+
export interface UpdateMrbInstanceNcInfoRequest {
|
|
34294
|
+
ncInfo?: string | null;
|
|
34295
|
+
}
|
|
34296
|
+
|
|
33794
34297
|
export interface MrbInstanceJobDto {
|
|
33795
34298
|
jobId: string;
|
|
33796
34299
|
mrbInstanceId: string;
|
|
@@ -36818,7 +37321,7 @@ export interface SetProgramStatus {
|
|
|
36818
37321
|
status?: ProgramStatus;
|
|
36819
37322
|
}
|
|
36820
37323
|
|
|
36821
|
-
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
|
|
37324
|
+
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File" | "OperationText";
|
|
36822
37325
|
|
|
36823
37326
|
export interface UpdateProductionOrderAttachmentRequest {
|
|
36824
37327
|
type?: ProductionOrderAttachmentType;
|
|
@@ -37702,7 +38205,7 @@ export interface ImaMaterialCheckDto {
|
|
|
37702
38205
|
specificationStatus: ImaSpecificationStatusDto;
|
|
37703
38206
|
purchaseOrder?: string | null;
|
|
37704
38207
|
purchaseOrderLine?: number | null;
|
|
37705
|
-
|
|
38208
|
+
purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
|
|
37706
38209
|
purchaseOrderPartName?: string | null;
|
|
37707
38210
|
purchaseOrderPartNumber?: string | null;
|
|
37708
38211
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -37724,6 +38227,12 @@ export interface ImaMaterialCheckDto {
|
|
|
37724
38227
|
|
|
37725
38228
|
export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
37726
38229
|
|
|
38230
|
+
export interface PurchaseOrderMaterialBatchDto {
|
|
38231
|
+
batchNumber: string;
|
|
38232
|
+
itemNumber?: string | null;
|
|
38233
|
+
vendorBatch?: string | null;
|
|
38234
|
+
}
|
|
38235
|
+
|
|
37727
38236
|
export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
|
|
37728
38237
|
|
|
37729
38238
|
export interface ImaCertificateTypeResultsDto {
|
|
@@ -37871,6 +38380,7 @@ export interface ImaChemicalAnalysisCompositeResultDto {
|
|
|
37871
38380
|
prenW?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37872
38381
|
v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37873
38382
|
ce?: ImaSpecificationCalculatedResultLineDto | null;
|
|
38383
|
+
nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37874
38384
|
}
|
|
37875
38385
|
|
|
37876
38386
|
export interface ImaSpecificationCalculatedResultLineDto {
|
|
@@ -38012,7 +38522,7 @@ export interface ImaHeatTreatmentCoolingResultLineDto {
|
|
|
38012
38522
|
override?: ImaResultLineOverrideDto | null;
|
|
38013
38523
|
}
|
|
38014
38524
|
|
|
38015
|
-
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
|
|
38525
|
+
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "LiquidQuenching" | "NotSet";
|
|
38016
38526
|
|
|
38017
38527
|
export interface ImaDocumentTypesResultsDto {
|
|
38018
38528
|
ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -38020,7 +38530,7 @@ export interface ImaDocumentTypesResultsDto {
|
|
|
38020
38530
|
liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
38021
38531
|
magneticParticle?: ImaSupplementaryCheckResultDto | null;
|
|
38022
38532
|
pmi?: ImaSupplementaryCheckResultDto | null;
|
|
38023
|
-
|
|
38533
|
+
dyePenetrantReport?: ImaSupplementaryCheckResultDto | null;
|
|
38024
38534
|
visualReport?: ImaSupplementaryCheckResultDto | null;
|
|
38025
38535
|
dimensionalReport?: ImaSupplementaryCheckResultDto | null;
|
|
38026
38536
|
microExaminationReport?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -38154,6 +38664,7 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
|
|
|
38154
38664
|
prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38155
38665
|
v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38156
38666
|
ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38667
|
+
nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38157
38668
|
}
|
|
38158
38669
|
|
|
38159
38670
|
export interface ImaOverrideTensileTestResultsDto {
|
|
@@ -38244,7 +38755,7 @@ export interface ImaOverrideDocumentTypesResultsDto {
|
|
|
38244
38755
|
liquidPenetrantCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38245
38756
|
magneticParticle?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38246
38757
|
pmi?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38247
|
-
|
|
38758
|
+
dyePenetrantReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38248
38759
|
visualReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38249
38760
|
dimensionalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38250
38761
|
microExaminationReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -38280,7 +38791,7 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
38280
38791
|
specificationStatus: ImaSpecificationStatusDto;
|
|
38281
38792
|
purchaseOrder?: string | null;
|
|
38282
38793
|
purchaseOrderLine?: number | null;
|
|
38283
|
-
|
|
38794
|
+
purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
|
|
38284
38795
|
purchaseOrderPartName?: string | null;
|
|
38285
38796
|
purchaseOrderPartNumber?: string | null;
|
|
38286
38797
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -38312,7 +38823,7 @@ export interface ImaMaterialChecksPageRequestDto {
|
|
|
38312
38823
|
certificateTypeFilter?: string | null;
|
|
38313
38824
|
purchaseOrderLineFilter?: number | null;
|
|
38314
38825
|
heatFilter?: string | null;
|
|
38315
|
-
vendorBatchesFilter?: string
|
|
38826
|
+
vendorBatchesFilter?: string | null;
|
|
38316
38827
|
purchaseOrderPartNameFilter?: string | null;
|
|
38317
38828
|
purchaseOrderPartNumberFilter?: string | null;
|
|
38318
38829
|
purchaseOrderDrawingFilter?: string | null;
|
|
@@ -38351,6 +38862,7 @@ export interface ImaMaterialCheckReportDto {
|
|
|
38351
38862
|
includesAllHeats: boolean;
|
|
38352
38863
|
status: ImaMaterialCheckStatusDto;
|
|
38353
38864
|
audit: ImaMaterialCheckReportAuditInfo;
|
|
38865
|
+
isOutdated: boolean;
|
|
38354
38866
|
}
|
|
38355
38867
|
|
|
38356
38868
|
export interface ImaMaterialCheckReportAuditInfo {
|
|
@@ -38381,7 +38893,7 @@ export interface PurchaseOrderMaterialLineDetailsDto {
|
|
|
38381
38893
|
purchaseOrder: string;
|
|
38382
38894
|
lineNumber?: number | null;
|
|
38383
38895
|
dimension?: string | null;
|
|
38384
|
-
|
|
38896
|
+
batches: PurchaseOrderMaterialBatchDto[];
|
|
38385
38897
|
mdsCodeFl?: string | null;
|
|
38386
38898
|
typeOfCertificate?: string | null;
|
|
38387
38899
|
}
|
|
@@ -38530,6 +39042,7 @@ export interface ImaChemistryCompositeSpecificationDto {
|
|
|
38530
39042
|
prenW?: ImaSpecificationLineDto | null;
|
|
38531
39043
|
v_Nb_Ti?: boolean | null;
|
|
38532
39044
|
ce?: boolean | null;
|
|
39045
|
+
nb_Ta?: ImaSpecificationLineDto | null;
|
|
38533
39046
|
}
|
|
38534
39047
|
|
|
38535
39048
|
export interface ImaMechanicalSpecificationDto {
|
|
@@ -38567,7 +39080,7 @@ export interface ImaDocumentTypesSpecificationDto {
|
|
|
38567
39080
|
liquidPenetrantCertificate?: boolean;
|
|
38568
39081
|
magneticParticle?: boolean;
|
|
38569
39082
|
pmi?: boolean;
|
|
38570
|
-
|
|
39083
|
+
dyePenetrantReport?: boolean;
|
|
38571
39084
|
visualReport?: boolean;
|
|
38572
39085
|
dimensionalReport?: boolean;
|
|
38573
39086
|
microExaminationReport?: boolean;
|
|
@@ -38642,6 +39155,133 @@ export interface ImaSpecificationLiteDto {
|
|
|
38642
39155
|
isDeleted: boolean;
|
|
38643
39156
|
}
|
|
38644
39157
|
|
|
39158
|
+
export interface SchemaCreatorStateDto {
|
|
39159
|
+
settings: SchemaCreatorSettingsDto;
|
|
39160
|
+
elements: SchemaCreatorElementDto[];
|
|
39161
|
+
documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
|
|
39162
|
+
isAutoGenerated?: boolean;
|
|
39163
|
+
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
39164
|
+
createdAt?: Date | null;
|
|
39165
|
+
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
39166
|
+
updatedAt?: Date | null;
|
|
39167
|
+
}
|
|
39168
|
+
|
|
39169
|
+
export interface SchemaCreatorSettingsDto {
|
|
39170
|
+
unit?: SchemaCreatorUnitOfMeasureDto;
|
|
39171
|
+
tolerance?: GeneralToleranceDto;
|
|
39172
|
+
balloonSize?: number;
|
|
39173
|
+
transparentBalloons?: boolean;
|
|
39174
|
+
}
|
|
39175
|
+
|
|
39176
|
+
export type SchemaCreatorUnitOfMeasureDto = "Millimeter" | "Inch" | "Mixed";
|
|
39177
|
+
|
|
39178
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
39179
|
+
|
|
39180
|
+
export interface SchemaCreatorElementDto {
|
|
39181
|
+
id: string;
|
|
39182
|
+
kind: SchemaCreatorElementKindDto;
|
|
39183
|
+
drawings: SchemaCreatorElementDrawingsDto;
|
|
39184
|
+
isDirty?: boolean | null;
|
|
39185
|
+
values?: SchemaCreatorElementValuesDto | null;
|
|
39186
|
+
valuesSnapshot?: SchemaCreatorElementValuesDto | null;
|
|
39187
|
+
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
39188
|
+
resolveAttempt?: SchemaCreatorParseAttemptDto | null;
|
|
39189
|
+
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
39190
|
+
createdAt?: Date | null;
|
|
39191
|
+
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
39192
|
+
updatedAt?: Date | null;
|
|
39193
|
+
}
|
|
39194
|
+
|
|
39195
|
+
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
39196
|
+
|
|
39197
|
+
export interface SchemaCreatorElementDrawingsDto {
|
|
39198
|
+
snip: SchemaCreatorSnipDto;
|
|
39199
|
+
balloon: SchemaCreatorPointDto;
|
|
39200
|
+
pageIndex: number;
|
|
39201
|
+
}
|
|
39202
|
+
|
|
39203
|
+
export interface SchemaCreatorSnipDto {
|
|
39204
|
+
rect: SchemaCreatorRectDto;
|
|
39205
|
+
rotation?: number | null;
|
|
39206
|
+
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
39207
|
+
}
|
|
39208
|
+
|
|
39209
|
+
export interface SchemaCreatorRectDto {
|
|
39210
|
+
origin: SchemaCreatorPointDto;
|
|
39211
|
+
size: SchemaCreatorSizeDto;
|
|
39212
|
+
}
|
|
39213
|
+
|
|
39214
|
+
export interface SchemaCreatorPointDto {
|
|
39215
|
+
x: number;
|
|
39216
|
+
y: number;
|
|
39217
|
+
}
|
|
39218
|
+
|
|
39219
|
+
export interface SchemaCreatorSizeDto {
|
|
39220
|
+
width: number;
|
|
39221
|
+
height: number;
|
|
39222
|
+
}
|
|
39223
|
+
|
|
39224
|
+
export interface SchemaCreatorElementValuesDto {
|
|
39225
|
+
reference: number;
|
|
39226
|
+
unit?: UnitOfMeasureDto | null;
|
|
39227
|
+
nominal?: number | null;
|
|
39228
|
+
nominalText?: string | null;
|
|
39229
|
+
upperLimit?: number | null;
|
|
39230
|
+
lowerLimit?: number | null;
|
|
39231
|
+
plusTolerance?: number | null;
|
|
39232
|
+
minusTolerance?: number | null;
|
|
39233
|
+
coatingThickness?: number | null;
|
|
39234
|
+
measurementFrequency: MeasurementFrequency;
|
|
39235
|
+
measurementFrequencyParameter?: number | null;
|
|
39236
|
+
type?: string | null;
|
|
39237
|
+
count?: number | null;
|
|
39238
|
+
comment?: string | null;
|
|
39239
|
+
canCopy: boolean;
|
|
39240
|
+
visibleToCustomer: boolean;
|
|
39241
|
+
isDocumentedExternally: boolean;
|
|
39242
|
+
}
|
|
39243
|
+
|
|
39244
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
39245
|
+
|
|
39246
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
39247
|
+
|
|
39248
|
+
export interface SchemaCreatorSnipResultDto {
|
|
39249
|
+
nominal?: number | null;
|
|
39250
|
+
nominalText?: string | null;
|
|
39251
|
+
type?: string | null;
|
|
39252
|
+
upperLimit?: number | null;
|
|
39253
|
+
lowerLimit?: number | null;
|
|
39254
|
+
plusTolerance?: number | null;
|
|
39255
|
+
minusTolerance?: number | null;
|
|
39256
|
+
count?: number | null;
|
|
39257
|
+
}
|
|
39258
|
+
|
|
39259
|
+
export interface SchemaCreatorParseAttemptDto {
|
|
39260
|
+
startedAt: Date;
|
|
39261
|
+
errorType?: SchemaCreatorParseErrorTypeDto | null;
|
|
39262
|
+
errorMessage?: string | null;
|
|
39263
|
+
}
|
|
39264
|
+
|
|
39265
|
+
export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
|
|
39266
|
+
|
|
39267
|
+
export interface SchemaCreatorAuditInfoDto {
|
|
39268
|
+
objectId: string;
|
|
39269
|
+
userId: string;
|
|
39270
|
+
userFullName?: string | null;
|
|
39271
|
+
}
|
|
39272
|
+
|
|
39273
|
+
export interface SchemaCreatorDocumentParseStatusDto {
|
|
39274
|
+
inProgress: boolean;
|
|
39275
|
+
attempt?: SchemaCreatorParseAttemptDto | null;
|
|
39276
|
+
}
|
|
39277
|
+
|
|
39278
|
+
export interface SchemaCreatorXmlGeometryDto {
|
|
39279
|
+
xmlAttributeId: number;
|
|
39280
|
+
snipRect: SchemaCreatorRectDto;
|
|
39281
|
+
balloon: SchemaCreatorPointDto;
|
|
39282
|
+
pageIndex: number;
|
|
39283
|
+
}
|
|
39284
|
+
|
|
38645
39285
|
export interface MeasurementFormSchemaDto {
|
|
38646
39286
|
id: string;
|
|
38647
39287
|
versionId: number;
|
|
@@ -38676,12 +39316,8 @@ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
|
38676
39316
|
|
|
38677
39317
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
38678
39318
|
|
|
38679
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
38680
|
-
|
|
38681
39319
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
38682
39320
|
|
|
38683
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
38684
|
-
|
|
38685
39321
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
38686
39322
|
url: string;
|
|
38687
39323
|
title: string;
|
|
@@ -38691,6 +39327,7 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
38691
39327
|
id: string;
|
|
38692
39328
|
balloonId?: string | null;
|
|
38693
39329
|
reference: number;
|
|
39330
|
+
originalXmlId?: number | null;
|
|
38694
39331
|
imageUrl?: string | null;
|
|
38695
39332
|
thumbnailUrl?: string | null;
|
|
38696
39333
|
section?: string | null;
|
|
@@ -38732,8 +39369,6 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
38732
39369
|
validationErrorMessage?: string | null;
|
|
38733
39370
|
}
|
|
38734
39371
|
|
|
38735
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
38736
|
-
|
|
38737
39372
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
38738
39373
|
|
|
38739
39374
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
@@ -38860,6 +39495,7 @@ export interface UploadDrawingRequest {
|
|
|
38860
39495
|
export interface UploadRequest {
|
|
38861
39496
|
uploadKey: string;
|
|
38862
39497
|
filename: string;
|
|
39498
|
+
isMarkedDrawing?: boolean | null;
|
|
38863
39499
|
}
|
|
38864
39500
|
|
|
38865
39501
|
export interface MeasurementFormImportStatusDto {
|
|
@@ -38943,6 +39579,8 @@ export interface MeasurementFormCustomerSettingsDto {
|
|
|
38943
39579
|
validationRuleId?: string | null;
|
|
38944
39580
|
requireCalibratedTools: boolean;
|
|
38945
39581
|
allowEmptyToolListInValue: boolean;
|
|
39582
|
+
disableAiParseDocument: boolean;
|
|
39583
|
+
disableAiParseSnip: boolean;
|
|
38946
39584
|
}
|
|
38947
39585
|
|
|
38948
39586
|
export interface UpdateMeasurementFormCustomerSettings {
|
|
@@ -38952,6 +39590,8 @@ export interface UpdateMeasurementFormCustomerSettings {
|
|
|
38952
39590
|
validationRuleId?: string | null;
|
|
38953
39591
|
requireCalibratedTools: boolean;
|
|
38954
39592
|
allowEmptyToolListInValue: boolean;
|
|
39593
|
+
disableAiParseDocument: boolean;
|
|
39594
|
+
disableAiParseSnip: boolean;
|
|
38955
39595
|
}
|
|
38956
39596
|
|
|
38957
39597
|
export interface MeasurementFormMappingDto {
|