@ignos/api-client 20260907.262.1-alpha → 20260908.263.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/ignosportal-api.d.ts +24 -221
- package/lib/ignosportal-api.js +4 -416
- package/package.json +1 -1
- package/src/ignosportal-api.ts +31 -611
package/src/ignosportal-api.ts
CHANGED
|
@@ -26172,423 +26172,6 @@ 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
|
-
|
|
26592
26175
|
export interface IMeasurementFormSchemasAdminClient {
|
|
26593
26176
|
|
|
26594
26177
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
@@ -26611,7 +26194,7 @@ export interface IMeasurementFormSchemasAdminClient {
|
|
|
26611
26194
|
|
|
26612
26195
|
updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
|
|
26613
26196
|
|
|
26614
|
-
|
|
26197
|
+
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
26615
26198
|
|
|
26616
26199
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
26617
26200
|
|
|
@@ -27125,8 +26708,8 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase impleme
|
|
|
27125
26708
|
return Promise.resolve<UpdateSchemaSettingsRequest>(null as any);
|
|
27126
26709
|
}
|
|
27127
26710
|
|
|
27128
|
-
|
|
27129
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/
|
|
26711
|
+
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto> {
|
|
26712
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploaddrawing";
|
|
27130
26713
|
if (id === undefined || id === null)
|
|
27131
26714
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
27132
26715
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
@@ -27146,11 +26729,11 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase impleme
|
|
|
27146
26729
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
27147
26730
|
return this.http.fetch(url_, transformedOptions_);
|
|
27148
26731
|
}).then((_response: Response) => {
|
|
27149
|
-
return this.
|
|
26732
|
+
return this.processUploadSchemaDrawing(_response);
|
|
27150
26733
|
});
|
|
27151
26734
|
}
|
|
27152
26735
|
|
|
27153
|
-
protected
|
|
26736
|
+
protected processUploadSchemaDrawing(response: Response): Promise<MeasurementFormSchemaDto> {
|
|
27154
26737
|
const status = response.status;
|
|
27155
26738
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
27156
26739
|
if (status === 200) {
|
|
@@ -29255,8 +28838,6 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
29255
28838
|
|
|
29256
28839
|
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
29257
28840
|
|
|
29258
|
-
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
29259
|
-
|
|
29260
28841
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
29261
28842
|
|
|
29262
28843
|
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
@@ -29590,49 +29171,6 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
29590
29171
|
return Promise.resolve<MeasurementFormInstanceSchemaDto>(null as any);
|
|
29591
29172
|
}
|
|
29592
29173
|
|
|
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
|
-
|
|
29636
29174
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto> {
|
|
29637
29175
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}/progress?";
|
|
29638
29176
|
if (id === undefined || id === null)
|
|
@@ -33949,6 +33487,7 @@ export interface PulseJournalEventDto {
|
|
|
33949
33487
|
eventType: PulseJournalEventTypeDto;
|
|
33950
33488
|
oldValue?: string | null;
|
|
33951
33489
|
newValue?: string | null;
|
|
33490
|
+
lineText?: string | null;
|
|
33952
33491
|
created: Date;
|
|
33953
33492
|
createdBy?: string | null;
|
|
33954
33493
|
}
|
|
@@ -38112,7 +37651,7 @@ export interface ImaMaterialCheckDto {
|
|
|
38112
37651
|
specificationStatus: ImaSpecificationStatusDto;
|
|
38113
37652
|
purchaseOrder?: string | null;
|
|
38114
37653
|
purchaseOrderLine?: number | null;
|
|
38115
|
-
|
|
37654
|
+
purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
|
|
38116
37655
|
purchaseOrderPartName?: string | null;
|
|
38117
37656
|
purchaseOrderPartNumber?: string | null;
|
|
38118
37657
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -38134,6 +37673,12 @@ export interface ImaMaterialCheckDto {
|
|
|
38134
37673
|
|
|
38135
37674
|
export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
38136
37675
|
|
|
37676
|
+
export interface PurchaseOrderMaterialBatchDto {
|
|
37677
|
+
batchNumber: string;
|
|
37678
|
+
itemNumber?: string | null;
|
|
37679
|
+
vendorBatch?: string | null;
|
|
37680
|
+
}
|
|
37681
|
+
|
|
38137
37682
|
export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
|
|
38138
37683
|
|
|
38139
37684
|
export interface ImaCertificateTypeResultsDto {
|
|
@@ -38281,6 +37826,7 @@ export interface ImaChemicalAnalysisCompositeResultDto {
|
|
|
38281
37826
|
prenW?: ImaSpecificationCalculatedResultLineDto | null;
|
|
38282
37827
|
v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
|
|
38283
37828
|
ce?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37829
|
+
nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
|
|
38284
37830
|
}
|
|
38285
37831
|
|
|
38286
37832
|
export interface ImaSpecificationCalculatedResultLineDto {
|
|
@@ -38564,6 +38110,7 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
|
|
|
38564
38110
|
prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38565
38111
|
v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38566
38112
|
ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38113
|
+
nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38567
38114
|
}
|
|
38568
38115
|
|
|
38569
38116
|
export interface ImaOverrideTensileTestResultsDto {
|
|
@@ -38690,7 +38237,7 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
38690
38237
|
specificationStatus: ImaSpecificationStatusDto;
|
|
38691
38238
|
purchaseOrder?: string | null;
|
|
38692
38239
|
purchaseOrderLine?: number | null;
|
|
38693
|
-
|
|
38240
|
+
purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
|
|
38694
38241
|
purchaseOrderPartName?: string | null;
|
|
38695
38242
|
purchaseOrderPartNumber?: string | null;
|
|
38696
38243
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -38722,7 +38269,7 @@ export interface ImaMaterialChecksPageRequestDto {
|
|
|
38722
38269
|
certificateTypeFilter?: string | null;
|
|
38723
38270
|
purchaseOrderLineFilter?: number | null;
|
|
38724
38271
|
heatFilter?: string | null;
|
|
38725
|
-
vendorBatchesFilter?: string
|
|
38272
|
+
vendorBatchesFilter?: string | null;
|
|
38726
38273
|
purchaseOrderPartNameFilter?: string | null;
|
|
38727
38274
|
purchaseOrderPartNumberFilter?: string | null;
|
|
38728
38275
|
purchaseOrderDrawingFilter?: string | null;
|
|
@@ -38761,6 +38308,7 @@ export interface ImaMaterialCheckReportDto {
|
|
|
38761
38308
|
includesAllHeats: boolean;
|
|
38762
38309
|
status: ImaMaterialCheckStatusDto;
|
|
38763
38310
|
audit: ImaMaterialCheckReportAuditInfo;
|
|
38311
|
+
isOutdated: boolean;
|
|
38764
38312
|
}
|
|
38765
38313
|
|
|
38766
38314
|
export interface ImaMaterialCheckReportAuditInfo {
|
|
@@ -38791,7 +38339,7 @@ export interface PurchaseOrderMaterialLineDetailsDto {
|
|
|
38791
38339
|
purchaseOrder: string;
|
|
38792
38340
|
lineNumber?: number | null;
|
|
38793
38341
|
dimension?: string | null;
|
|
38794
|
-
|
|
38342
|
+
batches: PurchaseOrderMaterialBatchDto[];
|
|
38795
38343
|
mdsCodeFl?: string | null;
|
|
38796
38344
|
typeOfCertificate?: string | null;
|
|
38797
38345
|
}
|
|
@@ -38940,6 +38488,7 @@ export interface ImaChemistryCompositeSpecificationDto {
|
|
|
38940
38488
|
prenW?: ImaSpecificationLineDto | null;
|
|
38941
38489
|
v_Nb_Ti?: boolean | null;
|
|
38942
38490
|
ce?: boolean | null;
|
|
38491
|
+
nb_Ta?: ImaSpecificationLineDto | null;
|
|
38943
38492
|
}
|
|
38944
38493
|
|
|
38945
38494
|
export interface ImaMechanicalSpecificationDto {
|
|
@@ -39052,136 +38601,6 @@ export interface ImaSpecificationLiteDto {
|
|
|
39052
38601
|
isDeleted: boolean;
|
|
39053
38602
|
}
|
|
39054
38603
|
|
|
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
|
-
|
|
39185
38604
|
export interface MeasurementFormSchemaDto {
|
|
39186
38605
|
id: string;
|
|
39187
38606
|
versionId: number;
|
|
@@ -39216,8 +38635,12 @@ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
|
39216
38635
|
|
|
39217
38636
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
39218
38637
|
|
|
38638
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
38639
|
+
|
|
39219
38640
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
39220
38641
|
|
|
38642
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
38643
|
+
|
|
39221
38644
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
39222
38645
|
url: string;
|
|
39223
38646
|
title: string;
|
|
@@ -39227,7 +38650,6 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
39227
38650
|
id: string;
|
|
39228
38651
|
balloonId?: string | null;
|
|
39229
38652
|
reference: number;
|
|
39230
|
-
originalXmlId?: number | null;
|
|
39231
38653
|
imageUrl?: string | null;
|
|
39232
38654
|
thumbnailUrl?: string | null;
|
|
39233
38655
|
section?: string | null;
|
|
@@ -39269,6 +38691,8 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
39269
38691
|
validationErrorMessage?: string | null;
|
|
39270
38692
|
}
|
|
39271
38693
|
|
|
38694
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
38695
|
+
|
|
39272
38696
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
39273
38697
|
|
|
39274
38698
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
@@ -39387,6 +38811,11 @@ export interface UpdateSchemaSettingsRequest {
|
|
|
39387
38811
|
generalTolerance: GeneralToleranceDto;
|
|
39388
38812
|
}
|
|
39389
38813
|
|
|
38814
|
+
export interface UploadDrawingRequest {
|
|
38815
|
+
uploadKey: string;
|
|
38816
|
+
filename: string;
|
|
38817
|
+
}
|
|
38818
|
+
|
|
39390
38819
|
export interface UploadRequest {
|
|
39391
38820
|
uploadKey: string;
|
|
39392
38821
|
filename: string;
|
|
@@ -39473,8 +38902,6 @@ export interface MeasurementFormCustomerSettingsDto {
|
|
|
39473
38902
|
validationRuleId?: string | null;
|
|
39474
38903
|
requireCalibratedTools: boolean;
|
|
39475
38904
|
allowEmptyToolListInValue: boolean;
|
|
39476
|
-
disableAiParseDocument: boolean;
|
|
39477
|
-
disableAiParseSnip: boolean;
|
|
39478
38905
|
}
|
|
39479
38906
|
|
|
39480
38907
|
export interface UpdateMeasurementFormCustomerSettings {
|
|
@@ -39484,8 +38911,6 @@ export interface UpdateMeasurementFormCustomerSettings {
|
|
|
39484
38911
|
validationRuleId?: string | null;
|
|
39485
38912
|
requireCalibratedTools: boolean;
|
|
39486
38913
|
allowEmptyToolListInValue: boolean;
|
|
39487
|
-
disableAiParseDocument: boolean;
|
|
39488
|
-
disableAiParseSnip: boolean;
|
|
39489
38914
|
}
|
|
39490
38915
|
|
|
39491
38916
|
export interface MeasurementFormMappingDto {
|
|
@@ -39591,11 +39016,6 @@ export interface SetMeasurementFormNeedAsNotNeededRequest {
|
|
|
39591
39016
|
comment?: string | null;
|
|
39592
39017
|
}
|
|
39593
39018
|
|
|
39594
|
-
export interface UploadDrawingRequest {
|
|
39595
|
-
uploadKey: string;
|
|
39596
|
-
filename: string;
|
|
39597
|
-
}
|
|
39598
|
-
|
|
39599
39019
|
export interface PagedResultOfMeasurementFormSchemaNotNeededDto {
|
|
39600
39020
|
results: MeasurementFormSchemaNotNeededDto[];
|
|
39601
39021
|
continuationToken?: string | null;
|