@ignos/api-client 20260907.261.1 → 20260907.262.1-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ignosportal-api.d.ts +217 -15
- package/lib/ignosportal-api.js +416 -4
- package/package.json +1 -1
- package/src/ignosportal-api.ts +607 -21
package/src/ignosportal-api.ts
CHANGED
|
@@ -26172,6 +26172,423 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
26172
26172
|
}
|
|
26173
26173
|
}
|
|
26174
26174
|
|
|
26175
|
+
export interface IInspectSchemaCreatorClient {
|
|
26176
|
+
|
|
26177
|
+
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
26178
|
+
|
|
26179
|
+
/**
|
|
26180
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
26181
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
26182
|
+
*/
|
|
26183
|
+
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
26184
|
+
|
|
26185
|
+
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
26186
|
+
|
|
26187
|
+
/**
|
|
26188
|
+
* Geometry only (no values), derived from the schema's retained
|
|
26189
|
+
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
26190
|
+
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
26191
|
+
drawing to derive it from.
|
|
26192
|
+
*/
|
|
26193
|
+
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
26194
|
+
|
|
26195
|
+
/**
|
|
26196
|
+
* Starts a full drawing AI parse: clears every element and locks the
|
|
26197
|
+
schema for every viewer until it completes. If one is already in
|
|
26198
|
+
progress, returns that instead of starting a second one.
|
|
26199
|
+
*/
|
|
26200
|
+
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
26201
|
+
|
|
26202
|
+
/**
|
|
26203
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
26204
|
+
returns a temporary download link.
|
|
26205
|
+
*/
|
|
26206
|
+
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
26207
|
+
|
|
26208
|
+
/**
|
|
26209
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
26210
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
26211
|
+
* @param image (optional)
|
|
26212
|
+
*/
|
|
26213
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
26214
|
+
|
|
26215
|
+
/**
|
|
26216
|
+
* Renders the legacy-format image for one element's current snip.
|
|
26217
|
+
Fire-and-forget from the client on every snip commit - the resulting
|
|
26218
|
+
image isn't returned here, it's only ever read back once the schema
|
|
26219
|
+
is released (SchemaCreatorLegacyMapper).
|
|
26220
|
+
*/
|
|
26221
|
+
renderSchemaCreatorElementSnipImage(schemaVersionId: string, elementId: string, request: RenderSchemaCreatorElementSnipImageRequest): Promise<void>;
|
|
26222
|
+
}
|
|
26223
|
+
|
|
26224
|
+
export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
26225
|
+
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
26226
|
+
private baseUrl: string;
|
|
26227
|
+
|
|
26228
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
26229
|
+
super(configuration);
|
|
26230
|
+
this.http = http ? http : window as any;
|
|
26231
|
+
this.baseUrl = baseUrl ?? "";
|
|
26232
|
+
}
|
|
26233
|
+
|
|
26234
|
+
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto> {
|
|
26235
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26236
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26237
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26238
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26239
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26240
|
+
|
|
26241
|
+
let options_: RequestInit = {
|
|
26242
|
+
method: "GET",
|
|
26243
|
+
headers: {
|
|
26244
|
+
"Accept": "application/json"
|
|
26245
|
+
}
|
|
26246
|
+
};
|
|
26247
|
+
|
|
26248
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26249
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26250
|
+
}).then((_response: Response) => {
|
|
26251
|
+
return this.processGetSchemaCreatorState(_response);
|
|
26252
|
+
});
|
|
26253
|
+
}
|
|
26254
|
+
|
|
26255
|
+
protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26256
|
+
const status = response.status;
|
|
26257
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26258
|
+
if (status === 200) {
|
|
26259
|
+
return response.text().then((_responseText) => {
|
|
26260
|
+
let result200: any = null;
|
|
26261
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26262
|
+
return result200;
|
|
26263
|
+
});
|
|
26264
|
+
} else if (status !== 200 && status !== 204) {
|
|
26265
|
+
return response.text().then((_responseText) => {
|
|
26266
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26267
|
+
});
|
|
26268
|
+
}
|
|
26269
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26270
|
+
}
|
|
26271
|
+
|
|
26272
|
+
/**
|
|
26273
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
26274
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
26275
|
+
*/
|
|
26276
|
+
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
26277
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26278
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26279
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26280
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26281
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26282
|
+
|
|
26283
|
+
const content_ = JSON.stringify(state);
|
|
26284
|
+
|
|
26285
|
+
let options_: RequestInit = {
|
|
26286
|
+
body: content_,
|
|
26287
|
+
method: "POST",
|
|
26288
|
+
headers: {
|
|
26289
|
+
"Content-Type": "application/json",
|
|
26290
|
+
"Accept": "application/json"
|
|
26291
|
+
}
|
|
26292
|
+
};
|
|
26293
|
+
|
|
26294
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26295
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26296
|
+
}).then((_response: Response) => {
|
|
26297
|
+
return this.processCreateSchemaCreatorState(_response);
|
|
26298
|
+
});
|
|
26299
|
+
}
|
|
26300
|
+
|
|
26301
|
+
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26302
|
+
const status = response.status;
|
|
26303
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26304
|
+
if (status === 201) {
|
|
26305
|
+
return response.text().then((_responseText) => {
|
|
26306
|
+
let result201: any = null;
|
|
26307
|
+
result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26308
|
+
return result201;
|
|
26309
|
+
});
|
|
26310
|
+
} else if (status === 409) {
|
|
26311
|
+
return response.text().then((_responseText) => {
|
|
26312
|
+
let result409: any = null;
|
|
26313
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProblemDetails;
|
|
26314
|
+
return throwException("A server side error occurred.", status, _responseText, _headers, result409);
|
|
26315
|
+
});
|
|
26316
|
+
} else if (status !== 200 && status !== 204) {
|
|
26317
|
+
return response.text().then((_responseText) => {
|
|
26318
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26319
|
+
});
|
|
26320
|
+
}
|
|
26321
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26322
|
+
}
|
|
26323
|
+
|
|
26324
|
+
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
26325
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26326
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26327
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26328
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26329
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26330
|
+
|
|
26331
|
+
const content_ = JSON.stringify(state);
|
|
26332
|
+
|
|
26333
|
+
let options_: RequestInit = {
|
|
26334
|
+
body: content_,
|
|
26335
|
+
method: "PUT",
|
|
26336
|
+
headers: {
|
|
26337
|
+
"Content-Type": "application/json",
|
|
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.processUpdateSchemaCreatorState(_response);
|
|
26346
|
+
});
|
|
26347
|
+
}
|
|
26348
|
+
|
|
26349
|
+
protected processUpdateSchemaCreatorState(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
|
+
* Geometry only (no values), derived from the schema's retained
|
|
26368
|
+
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
26369
|
+
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
26370
|
+
drawing to derive it from.
|
|
26371
|
+
*/
|
|
26372
|
+
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]> {
|
|
26373
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/xml-geometry";
|
|
26374
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26375
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26376
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26377
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26378
|
+
|
|
26379
|
+
let options_: RequestInit = {
|
|
26380
|
+
method: "GET",
|
|
26381
|
+
headers: {
|
|
26382
|
+
"Accept": "application/json"
|
|
26383
|
+
}
|
|
26384
|
+
};
|
|
26385
|
+
|
|
26386
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26387
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26388
|
+
}).then((_response: Response) => {
|
|
26389
|
+
return this.processGetSchemaCreatorXmlGeometry(_response);
|
|
26390
|
+
});
|
|
26391
|
+
}
|
|
26392
|
+
|
|
26393
|
+
protected processGetSchemaCreatorXmlGeometry(response: Response): Promise<SchemaCreatorXmlGeometryDto[]> {
|
|
26394
|
+
const status = response.status;
|
|
26395
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26396
|
+
if (status === 200) {
|
|
26397
|
+
return response.text().then((_responseText) => {
|
|
26398
|
+
let result200: any = null;
|
|
26399
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorXmlGeometryDto[];
|
|
26400
|
+
return result200;
|
|
26401
|
+
});
|
|
26402
|
+
} else if (status !== 200 && status !== 204) {
|
|
26403
|
+
return response.text().then((_responseText) => {
|
|
26404
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26405
|
+
});
|
|
26406
|
+
}
|
|
26407
|
+
return Promise.resolve<SchemaCreatorXmlGeometryDto[]>(null as any);
|
|
26408
|
+
}
|
|
26409
|
+
|
|
26410
|
+
/**
|
|
26411
|
+
* Starts a full drawing AI parse: clears every element and locks the
|
|
26412
|
+
schema for every viewer until it completes. If one is already in
|
|
26413
|
+
progress, returns that instead of starting a second one.
|
|
26414
|
+
*/
|
|
26415
|
+
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto> {
|
|
26416
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/parse-document";
|
|
26417
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26418
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26419
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26420
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26421
|
+
|
|
26422
|
+
let options_: RequestInit = {
|
|
26423
|
+
method: "POST",
|
|
26424
|
+
headers: {
|
|
26425
|
+
"Accept": "application/json"
|
|
26426
|
+
}
|
|
26427
|
+
};
|
|
26428
|
+
|
|
26429
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26430
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26431
|
+
}).then((_response: Response) => {
|
|
26432
|
+
return this.processRequestSchemaCreatorDocumentParse(_response);
|
|
26433
|
+
});
|
|
26434
|
+
}
|
|
26435
|
+
|
|
26436
|
+
protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26437
|
+
const status = response.status;
|
|
26438
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26439
|
+
if (status === 200) {
|
|
26440
|
+
return response.text().then((_responseText) => {
|
|
26441
|
+
let result200: any = null;
|
|
26442
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26443
|
+
return result200;
|
|
26444
|
+
});
|
|
26445
|
+
} else if (status !== 200 && status !== 204) {
|
|
26446
|
+
return response.text().then((_responseText) => {
|
|
26447
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26448
|
+
});
|
|
26449
|
+
}
|
|
26450
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26451
|
+
}
|
|
26452
|
+
|
|
26453
|
+
/**
|
|
26454
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
26455
|
+
returns a temporary download link.
|
|
26456
|
+
*/
|
|
26457
|
+
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto> {
|
|
26458
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/download";
|
|
26459
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26460
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26461
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26462
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26463
|
+
|
|
26464
|
+
let options_: RequestInit = {
|
|
26465
|
+
method: "POST",
|
|
26466
|
+
headers: {
|
|
26467
|
+
"Accept": "application/json"
|
|
26468
|
+
}
|
|
26469
|
+
};
|
|
26470
|
+
|
|
26471
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26472
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26473
|
+
}).then((_response: Response) => {
|
|
26474
|
+
return this.processExportSchemaCreatorDrawing(_response);
|
|
26475
|
+
});
|
|
26476
|
+
}
|
|
26477
|
+
|
|
26478
|
+
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto> {
|
|
26479
|
+
const status = response.status;
|
|
26480
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26481
|
+
if (status === 200) {
|
|
26482
|
+
return response.text().then((_responseText) => {
|
|
26483
|
+
let result200: any = null;
|
|
26484
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as DownloadDto;
|
|
26485
|
+
return result200;
|
|
26486
|
+
});
|
|
26487
|
+
} else if (status !== 200 && status !== 204) {
|
|
26488
|
+
return response.text().then((_responseText) => {
|
|
26489
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26490
|
+
});
|
|
26491
|
+
}
|
|
26492
|
+
return Promise.resolve<DownloadDto>(null as any);
|
|
26493
|
+
}
|
|
26494
|
+
|
|
26495
|
+
/**
|
|
26496
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
26497
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
26498
|
+
* @param image (optional)
|
|
26499
|
+
*/
|
|
26500
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void> {
|
|
26501
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/elements/{elementId}/parse-snip";
|
|
26502
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26503
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26504
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26505
|
+
if (elementId === undefined || elementId === null)
|
|
26506
|
+
throw new globalThis.Error("The parameter 'elementId' must be defined.");
|
|
26507
|
+
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
26508
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26509
|
+
|
|
26510
|
+
const content_ = new FormData();
|
|
26511
|
+
if (image !== null && image !== undefined)
|
|
26512
|
+
content_.append("image", image.data, image.fileName ? image.fileName : "image");
|
|
26513
|
+
|
|
26514
|
+
let options_: RequestInit = {
|
|
26515
|
+
body: content_,
|
|
26516
|
+
method: "POST",
|
|
26517
|
+
headers: {
|
|
26518
|
+
}
|
|
26519
|
+
};
|
|
26520
|
+
|
|
26521
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26522
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26523
|
+
}).then((_response: Response) => {
|
|
26524
|
+
return this.processRequestSchemaCreatorSnipParse(_response);
|
|
26525
|
+
});
|
|
26526
|
+
}
|
|
26527
|
+
|
|
26528
|
+
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void> {
|
|
26529
|
+
const status = response.status;
|
|
26530
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26531
|
+
if (status === 200) {
|
|
26532
|
+
return response.text().then((_responseText) => {
|
|
26533
|
+
return;
|
|
26534
|
+
});
|
|
26535
|
+
} else if (status !== 200 && status !== 204) {
|
|
26536
|
+
return response.text().then((_responseText) => {
|
|
26537
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26538
|
+
});
|
|
26539
|
+
}
|
|
26540
|
+
return Promise.resolve<void>(null as any);
|
|
26541
|
+
}
|
|
26542
|
+
|
|
26543
|
+
/**
|
|
26544
|
+
* Renders the legacy-format image for one element's current snip.
|
|
26545
|
+
Fire-and-forget from the client on every snip commit - the resulting
|
|
26546
|
+
image isn't returned here, it's only ever read back once the schema
|
|
26547
|
+
is released (SchemaCreatorLegacyMapper).
|
|
26548
|
+
*/
|
|
26549
|
+
renderSchemaCreatorElementSnipImage(schemaVersionId: string, elementId: string, request: RenderSchemaCreatorElementSnipImageRequest): Promise<void> {
|
|
26550
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/elements/{elementId}/snip-image";
|
|
26551
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26552
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26553
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26554
|
+
if (elementId === undefined || elementId === null)
|
|
26555
|
+
throw new globalThis.Error("The parameter 'elementId' must be defined.");
|
|
26556
|
+
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
26557
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26558
|
+
|
|
26559
|
+
const content_ = JSON.stringify(request);
|
|
26560
|
+
|
|
26561
|
+
let options_: RequestInit = {
|
|
26562
|
+
body: content_,
|
|
26563
|
+
method: "POST",
|
|
26564
|
+
headers: {
|
|
26565
|
+
"Content-Type": "application/json",
|
|
26566
|
+
}
|
|
26567
|
+
};
|
|
26568
|
+
|
|
26569
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26570
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26571
|
+
}).then((_response: Response) => {
|
|
26572
|
+
return this.processRenderSchemaCreatorElementSnipImage(_response);
|
|
26573
|
+
});
|
|
26574
|
+
}
|
|
26575
|
+
|
|
26576
|
+
protected processRenderSchemaCreatorElementSnipImage(response: Response): Promise<void> {
|
|
26577
|
+
const status = response.status;
|
|
26578
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26579
|
+
if (status === 200) {
|
|
26580
|
+
return response.text().then((_responseText) => {
|
|
26581
|
+
return;
|
|
26582
|
+
});
|
|
26583
|
+
} else if (status !== 200 && status !== 204) {
|
|
26584
|
+
return response.text().then((_responseText) => {
|
|
26585
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26586
|
+
});
|
|
26587
|
+
}
|
|
26588
|
+
return Promise.resolve<void>(null as any);
|
|
26589
|
+
}
|
|
26590
|
+
}
|
|
26591
|
+
|
|
26175
26592
|
export interface IMeasurementFormSchemasAdminClient {
|
|
26176
26593
|
|
|
26177
26594
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
@@ -26194,7 +26611,7 @@ export interface IMeasurementFormSchemasAdminClient {
|
|
|
26194
26611
|
|
|
26195
26612
|
updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
|
|
26196
26613
|
|
|
26197
|
-
|
|
26614
|
+
uploadSchemaMarkedDrawing(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
26198
26615
|
|
|
26199
26616
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
26200
26617
|
|
|
@@ -26708,8 +27125,8 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase impleme
|
|
|
26708
27125
|
return Promise.resolve<UpdateSchemaSettingsRequest>(null as any);
|
|
26709
27126
|
}
|
|
26710
27127
|
|
|
26711
|
-
|
|
26712
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/
|
|
27128
|
+
uploadSchemaMarkedDrawing(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto> {
|
|
27129
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploadmarkeddrawing";
|
|
26713
27130
|
if (id === undefined || id === null)
|
|
26714
27131
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
26715
27132
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
@@ -26729,11 +27146,11 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase impleme
|
|
|
26729
27146
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26730
27147
|
return this.http.fetch(url_, transformedOptions_);
|
|
26731
27148
|
}).then((_response: Response) => {
|
|
26732
|
-
return this.
|
|
27149
|
+
return this.processUploadSchemaMarkedDrawing(_response);
|
|
26733
27150
|
});
|
|
26734
27151
|
}
|
|
26735
27152
|
|
|
26736
|
-
protected
|
|
27153
|
+
protected processUploadSchemaMarkedDrawing(response: Response): Promise<MeasurementFormSchemaDto> {
|
|
26737
27154
|
const status = response.status;
|
|
26738
27155
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26739
27156
|
if (status === 200) {
|
|
@@ -28838,6 +29255,8 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
28838
29255
|
|
|
28839
29256
|
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
28840
29257
|
|
|
29258
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
29259
|
+
|
|
28841
29260
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
28842
29261
|
|
|
28843
29262
|
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
@@ -29171,6 +29590,49 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
29171
29590
|
return Promise.resolve<MeasurementFormInstanceSchemaDto>(null as any);
|
|
29172
29591
|
}
|
|
29173
29592
|
|
|
29593
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto> {
|
|
29594
|
+
let url_ = this.baseUrl + "/measurementforms/instances/{id}/schemas/{schemaId}/creatorstate?";
|
|
29595
|
+
if (id === undefined || id === null)
|
|
29596
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
29597
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
29598
|
+
if (schemaId === undefined || schemaId === null)
|
|
29599
|
+
throw new globalThis.Error("The parameter 'schemaId' must be defined.");
|
|
29600
|
+
url_ = url_.replace("{schemaId}", encodeURIComponent("" + schemaId));
|
|
29601
|
+
if (tenantId !== undefined && tenantId !== null)
|
|
29602
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
29603
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
29604
|
+
|
|
29605
|
+
let options_: RequestInit = {
|
|
29606
|
+
method: "GET",
|
|
29607
|
+
headers: {
|
|
29608
|
+
"Accept": "application/json"
|
|
29609
|
+
}
|
|
29610
|
+
};
|
|
29611
|
+
|
|
29612
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
29613
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
29614
|
+
}).then((_response: Response) => {
|
|
29615
|
+
return this.processGetMeasurementFormInstanceSchemaCreatorState(_response);
|
|
29616
|
+
});
|
|
29617
|
+
}
|
|
29618
|
+
|
|
29619
|
+
protected processGetMeasurementFormInstanceSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
29620
|
+
const status = response.status;
|
|
29621
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
29622
|
+
if (status === 200) {
|
|
29623
|
+
return response.text().then((_responseText) => {
|
|
29624
|
+
let result200: any = null;
|
|
29625
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
29626
|
+
return result200;
|
|
29627
|
+
});
|
|
29628
|
+
} else if (status !== 200 && status !== 204) {
|
|
29629
|
+
return response.text().then((_responseText) => {
|
|
29630
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
29631
|
+
});
|
|
29632
|
+
}
|
|
29633
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
29634
|
+
}
|
|
29635
|
+
|
|
29174
29636
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto> {
|
|
29175
29637
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}/progress?";
|
|
29176
29638
|
if (id === undefined || id === null)
|
|
@@ -33487,7 +33949,6 @@ export interface PulseJournalEventDto {
|
|
|
33487
33949
|
eventType: PulseJournalEventTypeDto;
|
|
33488
33950
|
oldValue?: string | null;
|
|
33489
33951
|
newValue?: string | null;
|
|
33490
|
-
lineText?: string | null;
|
|
33491
33952
|
created: Date;
|
|
33492
33953
|
createdBy?: string | null;
|
|
33493
33954
|
}
|
|
@@ -37820,7 +38281,6 @@ export interface ImaChemicalAnalysisCompositeResultDto {
|
|
|
37820
38281
|
prenW?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37821
38282
|
v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37822
38283
|
ce?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37823
|
-
nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37824
38284
|
}
|
|
37825
38285
|
|
|
37826
38286
|
export interface ImaSpecificationCalculatedResultLineDto {
|
|
@@ -38104,7 +38564,6 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
|
|
|
38104
38564
|
prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38105
38565
|
v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38106
38566
|
ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38107
|
-
nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38108
38567
|
}
|
|
38109
38568
|
|
|
38110
38569
|
export interface ImaOverrideTensileTestResultsDto {
|
|
@@ -38302,7 +38761,6 @@ export interface ImaMaterialCheckReportDto {
|
|
|
38302
38761
|
includesAllHeats: boolean;
|
|
38303
38762
|
status: ImaMaterialCheckStatusDto;
|
|
38304
38763
|
audit: ImaMaterialCheckReportAuditInfo;
|
|
38305
|
-
isOutdated: boolean;
|
|
38306
38764
|
}
|
|
38307
38765
|
|
|
38308
38766
|
export interface ImaMaterialCheckReportAuditInfo {
|
|
@@ -38482,7 +38940,6 @@ export interface ImaChemistryCompositeSpecificationDto {
|
|
|
38482
38940
|
prenW?: ImaSpecificationLineDto | null;
|
|
38483
38941
|
v_Nb_Ti?: boolean | null;
|
|
38484
38942
|
ce?: boolean | null;
|
|
38485
|
-
nb_Ta?: ImaSpecificationLineDto | null;
|
|
38486
38943
|
}
|
|
38487
38944
|
|
|
38488
38945
|
export interface ImaMechanicalSpecificationDto {
|
|
@@ -38595,6 +39052,136 @@ export interface ImaSpecificationLiteDto {
|
|
|
38595
39052
|
isDeleted: boolean;
|
|
38596
39053
|
}
|
|
38597
39054
|
|
|
39055
|
+
export interface SchemaCreatorStateDto {
|
|
39056
|
+
settings: SchemaCreatorSettingsDto;
|
|
39057
|
+
elements: SchemaCreatorElementDto[];
|
|
39058
|
+
documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
|
|
39059
|
+
isAutoGenerated?: boolean;
|
|
39060
|
+
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
39061
|
+
createdAt?: Date | null;
|
|
39062
|
+
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
39063
|
+
updatedAt?: Date | null;
|
|
39064
|
+
}
|
|
39065
|
+
|
|
39066
|
+
export interface SchemaCreatorSettingsDto {
|
|
39067
|
+
unit?: SchemaCreatorUnitOfMeasureDto;
|
|
39068
|
+
tolerance?: GeneralToleranceDto;
|
|
39069
|
+
balloonSize?: number;
|
|
39070
|
+
transparentBalloons?: boolean;
|
|
39071
|
+
}
|
|
39072
|
+
|
|
39073
|
+
export type SchemaCreatorUnitOfMeasureDto = "Millimeter" | "Inch" | "Mixed";
|
|
39074
|
+
|
|
39075
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
39076
|
+
|
|
39077
|
+
export interface SchemaCreatorElementDto {
|
|
39078
|
+
id: string;
|
|
39079
|
+
kind: SchemaCreatorElementKindDto;
|
|
39080
|
+
drawings: SchemaCreatorElementDrawingsDto;
|
|
39081
|
+
isDirty?: boolean | null;
|
|
39082
|
+
values?: SchemaCreatorElementValuesDto | null;
|
|
39083
|
+
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
39084
|
+
resolveAttempt?: SchemaCreatorParseAttemptDto | null;
|
|
39085
|
+
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
39086
|
+
createdAt?: Date | null;
|
|
39087
|
+
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
39088
|
+
updatedAt?: Date | null;
|
|
39089
|
+
}
|
|
39090
|
+
|
|
39091
|
+
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
39092
|
+
|
|
39093
|
+
export interface SchemaCreatorElementDrawingsDto {
|
|
39094
|
+
snip: SchemaCreatorSnipDto;
|
|
39095
|
+
balloon: SchemaCreatorPointDto;
|
|
39096
|
+
pageIndex: number;
|
|
39097
|
+
}
|
|
39098
|
+
|
|
39099
|
+
export interface SchemaCreatorSnipDto {
|
|
39100
|
+
rect: SchemaCreatorRectDto;
|
|
39101
|
+
rotation?: number | null;
|
|
39102
|
+
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
39103
|
+
}
|
|
39104
|
+
|
|
39105
|
+
export interface SchemaCreatorRectDto {
|
|
39106
|
+
origin: SchemaCreatorPointDto;
|
|
39107
|
+
size: SchemaCreatorSizeDto;
|
|
39108
|
+
}
|
|
39109
|
+
|
|
39110
|
+
export interface SchemaCreatorPointDto {
|
|
39111
|
+
x: number;
|
|
39112
|
+
y: number;
|
|
39113
|
+
}
|
|
39114
|
+
|
|
39115
|
+
export interface SchemaCreatorSizeDto {
|
|
39116
|
+
width: number;
|
|
39117
|
+
height: number;
|
|
39118
|
+
}
|
|
39119
|
+
|
|
39120
|
+
export interface SchemaCreatorElementValuesDto {
|
|
39121
|
+
reference: number;
|
|
39122
|
+
unit?: UnitOfMeasureDto | null;
|
|
39123
|
+
nominal?: number | null;
|
|
39124
|
+
nominalText?: string | null;
|
|
39125
|
+
upperLimit?: number | null;
|
|
39126
|
+
lowerLimit?: number | null;
|
|
39127
|
+
plusTolerance?: number | null;
|
|
39128
|
+
minusTolerance?: number | null;
|
|
39129
|
+
coatingThickness?: number | null;
|
|
39130
|
+
measurementFrequency: MeasurementFrequency;
|
|
39131
|
+
measurementFrequencyParameter?: number | null;
|
|
39132
|
+
type?: string | null;
|
|
39133
|
+
count?: number | null;
|
|
39134
|
+
comment?: string | null;
|
|
39135
|
+
canCopy: boolean;
|
|
39136
|
+
visibleToCustomer: boolean;
|
|
39137
|
+
isDocumentedExternally: boolean;
|
|
39138
|
+
}
|
|
39139
|
+
|
|
39140
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
39141
|
+
|
|
39142
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
39143
|
+
|
|
39144
|
+
export interface SchemaCreatorSnipResultDto {
|
|
39145
|
+
nominal?: number | null;
|
|
39146
|
+
nominalText?: string | null;
|
|
39147
|
+
upperLimit?: number | null;
|
|
39148
|
+
lowerLimit?: number | null;
|
|
39149
|
+
plusTolerance?: number | null;
|
|
39150
|
+
minusTolerance?: number | null;
|
|
39151
|
+
count?: number | null;
|
|
39152
|
+
}
|
|
39153
|
+
|
|
39154
|
+
export interface SchemaCreatorParseAttemptDto {
|
|
39155
|
+
startedAt: Date;
|
|
39156
|
+
errorType?: SchemaCreatorParseErrorTypeDto | null;
|
|
39157
|
+
errorMessage?: string | null;
|
|
39158
|
+
}
|
|
39159
|
+
|
|
39160
|
+
export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
|
|
39161
|
+
|
|
39162
|
+
export interface SchemaCreatorAuditInfoDto {
|
|
39163
|
+
objectId: string;
|
|
39164
|
+
userId: string;
|
|
39165
|
+
userFullName?: string | null;
|
|
39166
|
+
}
|
|
39167
|
+
|
|
39168
|
+
export interface SchemaCreatorDocumentParseStatusDto {
|
|
39169
|
+
inProgress: boolean;
|
|
39170
|
+
attempt?: SchemaCreatorParseAttemptDto | null;
|
|
39171
|
+
}
|
|
39172
|
+
|
|
39173
|
+
export interface SchemaCreatorXmlGeometryDto {
|
|
39174
|
+
xmlAttributeId: number;
|
|
39175
|
+
snipRect: SchemaCreatorRectDto;
|
|
39176
|
+
balloon: SchemaCreatorPointDto;
|
|
39177
|
+
pageIndex: number;
|
|
39178
|
+
}
|
|
39179
|
+
|
|
39180
|
+
export interface RenderSchemaCreatorElementSnipImageRequest {
|
|
39181
|
+
pageIndex: number;
|
|
39182
|
+
snip: SchemaCreatorSnipDto;
|
|
39183
|
+
}
|
|
39184
|
+
|
|
38598
39185
|
export interface MeasurementFormSchemaDto {
|
|
38599
39186
|
id: string;
|
|
38600
39187
|
versionId: number;
|
|
@@ -38629,12 +39216,8 @@ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
|
38629
39216
|
|
|
38630
39217
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
38631
39218
|
|
|
38632
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
38633
|
-
|
|
38634
39219
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
38635
39220
|
|
|
38636
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
38637
|
-
|
|
38638
39221
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
38639
39222
|
url: string;
|
|
38640
39223
|
title: string;
|
|
@@ -38644,6 +39227,7 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
38644
39227
|
id: string;
|
|
38645
39228
|
balloonId?: string | null;
|
|
38646
39229
|
reference: number;
|
|
39230
|
+
originalXmlId?: number | null;
|
|
38647
39231
|
imageUrl?: string | null;
|
|
38648
39232
|
thumbnailUrl?: string | null;
|
|
38649
39233
|
section?: string | null;
|
|
@@ -38685,8 +39269,6 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
38685
39269
|
validationErrorMessage?: string | null;
|
|
38686
39270
|
}
|
|
38687
39271
|
|
|
38688
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
38689
|
-
|
|
38690
39272
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
38691
39273
|
|
|
38692
39274
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
@@ -38805,11 +39387,6 @@ export interface UpdateSchemaSettingsRequest {
|
|
|
38805
39387
|
generalTolerance: GeneralToleranceDto;
|
|
38806
39388
|
}
|
|
38807
39389
|
|
|
38808
|
-
export interface UploadDrawingRequest {
|
|
38809
|
-
uploadKey: string;
|
|
38810
|
-
filename: string;
|
|
38811
|
-
}
|
|
38812
|
-
|
|
38813
39390
|
export interface UploadRequest {
|
|
38814
39391
|
uploadKey: string;
|
|
38815
39392
|
filename: string;
|
|
@@ -38896,6 +39473,8 @@ export interface MeasurementFormCustomerSettingsDto {
|
|
|
38896
39473
|
validationRuleId?: string | null;
|
|
38897
39474
|
requireCalibratedTools: boolean;
|
|
38898
39475
|
allowEmptyToolListInValue: boolean;
|
|
39476
|
+
disableAiParseDocument: boolean;
|
|
39477
|
+
disableAiParseSnip: boolean;
|
|
38899
39478
|
}
|
|
38900
39479
|
|
|
38901
39480
|
export interface UpdateMeasurementFormCustomerSettings {
|
|
@@ -38905,6 +39484,8 @@ export interface UpdateMeasurementFormCustomerSettings {
|
|
|
38905
39484
|
validationRuleId?: string | null;
|
|
38906
39485
|
requireCalibratedTools: boolean;
|
|
38907
39486
|
allowEmptyToolListInValue: boolean;
|
|
39487
|
+
disableAiParseDocument: boolean;
|
|
39488
|
+
disableAiParseSnip: boolean;
|
|
38908
39489
|
}
|
|
38909
39490
|
|
|
38910
39491
|
export interface MeasurementFormMappingDto {
|
|
@@ -39010,6 +39591,11 @@ export interface SetMeasurementFormNeedAsNotNeededRequest {
|
|
|
39010
39591
|
comment?: string | null;
|
|
39011
39592
|
}
|
|
39012
39593
|
|
|
39594
|
+
export interface UploadDrawingRequest {
|
|
39595
|
+
uploadKey: string;
|
|
39596
|
+
filename: string;
|
|
39597
|
+
}
|
|
39598
|
+
|
|
39013
39599
|
export interface PagedResultOfMeasurementFormSchemaNotNeededDto {
|
|
39014
39600
|
results: MeasurementFormSchemaNotNeededDto[];
|
|
39015
39601
|
continuationToken?: string | null;
|