@ignos/api-client 20260911.272.1-alpha → 20260911.273.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 +221 -23
- package/lib/ignosportal-api.js +409 -39
- package/package.json +1 -1
- package/src/ignosportal-api.ts +608 -65
package/src/ignosportal-api.ts
CHANGED
|
@@ -23848,8 +23848,6 @@ export interface IMesProductionScheduleClient {
|
|
|
23848
23848
|
|
|
23849
23849
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
23850
23850
|
|
|
23851
|
-
postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto>;
|
|
23852
|
-
|
|
23853
23851
|
getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
|
|
23854
23852
|
|
|
23855
23853
|
listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
|
|
@@ -23971,45 +23969,6 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
|
|
|
23971
23969
|
return Promise.resolve<PagedResultOfProductionScheduleOperationDto>(null as any);
|
|
23972
23970
|
}
|
|
23973
23971
|
|
|
23974
|
-
postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto> {
|
|
23975
|
-
let url_ = this.baseUrl + "/mes/listproductionschedulefromplanner";
|
|
23976
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
23977
|
-
|
|
23978
|
-
const content_ = JSON.stringify(request);
|
|
23979
|
-
|
|
23980
|
-
let options_: RequestInit = {
|
|
23981
|
-
body: content_,
|
|
23982
|
-
method: "POST",
|
|
23983
|
-
headers: {
|
|
23984
|
-
"Content-Type": "application/json",
|
|
23985
|
-
"Accept": "application/json"
|
|
23986
|
-
}
|
|
23987
|
-
};
|
|
23988
|
-
|
|
23989
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23990
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
23991
|
-
}).then((_response: Response) => {
|
|
23992
|
-
return this.processPostListProductionScheduleOperationsFromPlanner(_response);
|
|
23993
|
-
});
|
|
23994
|
-
}
|
|
23995
|
-
|
|
23996
|
-
protected processPostListProductionScheduleOperationsFromPlanner(response: Response): Promise<PagedProductionScheduleDto> {
|
|
23997
|
-
const status = response.status;
|
|
23998
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
23999
|
-
if (status === 200) {
|
|
24000
|
-
return response.text().then((_responseText) => {
|
|
24001
|
-
let result200: any = null;
|
|
24002
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PagedProductionScheduleDto;
|
|
24003
|
-
return result200;
|
|
24004
|
-
});
|
|
24005
|
-
} else if (status !== 200 && status !== 204) {
|
|
24006
|
-
return response.text().then((_responseText) => {
|
|
24007
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
24008
|
-
});
|
|
24009
|
-
}
|
|
24010
|
-
return Promise.resolve<PagedProductionScheduleDto>(null as any);
|
|
24011
|
-
}
|
|
24012
|
-
|
|
24013
23972
|
getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto> {
|
|
24014
23973
|
let url_ = this.baseUrl + "/mes/productionschedulefilters";
|
|
24015
23974
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -26213,6 +26172,367 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
26213
26172
|
}
|
|
26214
26173
|
}
|
|
26215
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
|
+
export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
26217
|
+
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
26218
|
+
private baseUrl: string;
|
|
26219
|
+
|
|
26220
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
26221
|
+
super(configuration);
|
|
26222
|
+
this.http = http ? http : window as any;
|
|
26223
|
+
this.baseUrl = baseUrl ?? "";
|
|
26224
|
+
}
|
|
26225
|
+
|
|
26226
|
+
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto> {
|
|
26227
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26228
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26229
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26230
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26231
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26232
|
+
|
|
26233
|
+
let options_: RequestInit = {
|
|
26234
|
+
method: "GET",
|
|
26235
|
+
headers: {
|
|
26236
|
+
"Accept": "application/json"
|
|
26237
|
+
}
|
|
26238
|
+
};
|
|
26239
|
+
|
|
26240
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26241
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26242
|
+
}).then((_response: Response) => {
|
|
26243
|
+
return this.processGetSchemaCreatorState(_response);
|
|
26244
|
+
});
|
|
26245
|
+
}
|
|
26246
|
+
|
|
26247
|
+
protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26248
|
+
const status = response.status;
|
|
26249
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26250
|
+
if (status === 200) {
|
|
26251
|
+
return response.text().then((_responseText) => {
|
|
26252
|
+
let result200: any = null;
|
|
26253
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26254
|
+
return result200;
|
|
26255
|
+
});
|
|
26256
|
+
} else if (status !== 200 && status !== 204) {
|
|
26257
|
+
return response.text().then((_responseText) => {
|
|
26258
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26259
|
+
});
|
|
26260
|
+
}
|
|
26261
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26262
|
+
}
|
|
26263
|
+
|
|
26264
|
+
/**
|
|
26265
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
26266
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
26267
|
+
*/
|
|
26268
|
+
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
26269
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26270
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26271
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26272
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26273
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26274
|
+
|
|
26275
|
+
const content_ = JSON.stringify(state);
|
|
26276
|
+
|
|
26277
|
+
let options_: RequestInit = {
|
|
26278
|
+
body: content_,
|
|
26279
|
+
method: "POST",
|
|
26280
|
+
headers: {
|
|
26281
|
+
"Content-Type": "application/json",
|
|
26282
|
+
"Accept": "application/json"
|
|
26283
|
+
}
|
|
26284
|
+
};
|
|
26285
|
+
|
|
26286
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26287
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26288
|
+
}).then((_response: Response) => {
|
|
26289
|
+
return this.processCreateSchemaCreatorState(_response);
|
|
26290
|
+
});
|
|
26291
|
+
}
|
|
26292
|
+
|
|
26293
|
+
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26294
|
+
const status = response.status;
|
|
26295
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26296
|
+
if (status === 201) {
|
|
26297
|
+
return response.text().then((_responseText) => {
|
|
26298
|
+
let result201: any = null;
|
|
26299
|
+
result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26300
|
+
return result201;
|
|
26301
|
+
});
|
|
26302
|
+
} else if (status === 409) {
|
|
26303
|
+
return response.text().then((_responseText) => {
|
|
26304
|
+
let result409: any = null;
|
|
26305
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProblemDetails;
|
|
26306
|
+
return throwException("A server side error occurred.", status, _responseText, _headers, result409);
|
|
26307
|
+
});
|
|
26308
|
+
} else if (status !== 200 && status !== 204) {
|
|
26309
|
+
return response.text().then((_responseText) => {
|
|
26310
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26311
|
+
});
|
|
26312
|
+
}
|
|
26313
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26314
|
+
}
|
|
26315
|
+
|
|
26316
|
+
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
26317
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26318
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26319
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26320
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26321
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26322
|
+
|
|
26323
|
+
const content_ = JSON.stringify(state);
|
|
26324
|
+
|
|
26325
|
+
let options_: RequestInit = {
|
|
26326
|
+
body: content_,
|
|
26327
|
+
method: "PUT",
|
|
26328
|
+
headers: {
|
|
26329
|
+
"Content-Type": "application/json",
|
|
26330
|
+
"Accept": "application/json"
|
|
26331
|
+
}
|
|
26332
|
+
};
|
|
26333
|
+
|
|
26334
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26335
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26336
|
+
}).then((_response: Response) => {
|
|
26337
|
+
return this.processUpdateSchemaCreatorState(_response);
|
|
26338
|
+
});
|
|
26339
|
+
}
|
|
26340
|
+
|
|
26341
|
+
protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26342
|
+
const status = response.status;
|
|
26343
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26344
|
+
if (status === 200) {
|
|
26345
|
+
return response.text().then((_responseText) => {
|
|
26346
|
+
let result200: any = null;
|
|
26347
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26348
|
+
return result200;
|
|
26349
|
+
});
|
|
26350
|
+
} else if (status !== 200 && status !== 204) {
|
|
26351
|
+
return response.text().then((_responseText) => {
|
|
26352
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26353
|
+
});
|
|
26354
|
+
}
|
|
26355
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26356
|
+
}
|
|
26357
|
+
|
|
26358
|
+
/**
|
|
26359
|
+
* Geometry only (no values), derived from the schema's retained
|
|
26360
|
+
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
26361
|
+
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
26362
|
+
drawing to derive it from.
|
|
26363
|
+
*/
|
|
26364
|
+
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]> {
|
|
26365
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/xml-geometry";
|
|
26366
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26367
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26368
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26369
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26370
|
+
|
|
26371
|
+
let options_: RequestInit = {
|
|
26372
|
+
method: "GET",
|
|
26373
|
+
headers: {
|
|
26374
|
+
"Accept": "application/json"
|
|
26375
|
+
}
|
|
26376
|
+
};
|
|
26377
|
+
|
|
26378
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26379
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26380
|
+
}).then((_response: Response) => {
|
|
26381
|
+
return this.processGetSchemaCreatorXmlGeometry(_response);
|
|
26382
|
+
});
|
|
26383
|
+
}
|
|
26384
|
+
|
|
26385
|
+
protected processGetSchemaCreatorXmlGeometry(response: Response): Promise<SchemaCreatorXmlGeometryDto[]> {
|
|
26386
|
+
const status = response.status;
|
|
26387
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26388
|
+
if (status === 200) {
|
|
26389
|
+
return response.text().then((_responseText) => {
|
|
26390
|
+
let result200: any = null;
|
|
26391
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorXmlGeometryDto[];
|
|
26392
|
+
return result200;
|
|
26393
|
+
});
|
|
26394
|
+
} else if (status !== 200 && status !== 204) {
|
|
26395
|
+
return response.text().then((_responseText) => {
|
|
26396
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26397
|
+
});
|
|
26398
|
+
}
|
|
26399
|
+
return Promise.resolve<SchemaCreatorXmlGeometryDto[]>(null as any);
|
|
26400
|
+
}
|
|
26401
|
+
|
|
26402
|
+
/**
|
|
26403
|
+
* Starts a full drawing AI parse: clears every element and locks the
|
|
26404
|
+
schema for every viewer until it completes. If one is already in
|
|
26405
|
+
progress, returns that instead of starting a second one.
|
|
26406
|
+
*/
|
|
26407
|
+
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto> {
|
|
26408
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/parse-document";
|
|
26409
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26410
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26411
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26412
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26413
|
+
|
|
26414
|
+
let options_: RequestInit = {
|
|
26415
|
+
method: "POST",
|
|
26416
|
+
headers: {
|
|
26417
|
+
"Accept": "application/json"
|
|
26418
|
+
}
|
|
26419
|
+
};
|
|
26420
|
+
|
|
26421
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26422
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26423
|
+
}).then((_response: Response) => {
|
|
26424
|
+
return this.processRequestSchemaCreatorDocumentParse(_response);
|
|
26425
|
+
});
|
|
26426
|
+
}
|
|
26427
|
+
|
|
26428
|
+
protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26429
|
+
const status = response.status;
|
|
26430
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26431
|
+
if (status === 200) {
|
|
26432
|
+
return response.text().then((_responseText) => {
|
|
26433
|
+
let result200: any = null;
|
|
26434
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26435
|
+
return result200;
|
|
26436
|
+
});
|
|
26437
|
+
} else if (status !== 200 && status !== 204) {
|
|
26438
|
+
return response.text().then((_responseText) => {
|
|
26439
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26440
|
+
});
|
|
26441
|
+
}
|
|
26442
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26443
|
+
}
|
|
26444
|
+
|
|
26445
|
+
/**
|
|
26446
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
26447
|
+
returns a temporary download link.
|
|
26448
|
+
*/
|
|
26449
|
+
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto> {
|
|
26450
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/download";
|
|
26451
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26452
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26453
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26454
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26455
|
+
|
|
26456
|
+
let options_: RequestInit = {
|
|
26457
|
+
method: "POST",
|
|
26458
|
+
headers: {
|
|
26459
|
+
"Accept": "application/json"
|
|
26460
|
+
}
|
|
26461
|
+
};
|
|
26462
|
+
|
|
26463
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26464
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26465
|
+
}).then((_response: Response) => {
|
|
26466
|
+
return this.processExportSchemaCreatorDrawing(_response);
|
|
26467
|
+
});
|
|
26468
|
+
}
|
|
26469
|
+
|
|
26470
|
+
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto> {
|
|
26471
|
+
const status = response.status;
|
|
26472
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26473
|
+
if (status === 200) {
|
|
26474
|
+
return response.text().then((_responseText) => {
|
|
26475
|
+
let result200: any = null;
|
|
26476
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as DownloadDto;
|
|
26477
|
+
return result200;
|
|
26478
|
+
});
|
|
26479
|
+
} else if (status !== 200 && status !== 204) {
|
|
26480
|
+
return response.text().then((_responseText) => {
|
|
26481
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26482
|
+
});
|
|
26483
|
+
}
|
|
26484
|
+
return Promise.resolve<DownloadDto>(null as any);
|
|
26485
|
+
}
|
|
26486
|
+
|
|
26487
|
+
/**
|
|
26488
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
26489
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
26490
|
+
* @param image (optional)
|
|
26491
|
+
*/
|
|
26492
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void> {
|
|
26493
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/elements/{elementId}/parse-snip";
|
|
26494
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26495
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26496
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26497
|
+
if (elementId === undefined || elementId === null)
|
|
26498
|
+
throw new globalThis.Error("The parameter 'elementId' must be defined.");
|
|
26499
|
+
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
26500
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26501
|
+
|
|
26502
|
+
const content_ = new FormData();
|
|
26503
|
+
if (image !== null && image !== undefined)
|
|
26504
|
+
content_.append("image", image.data, image.fileName ? image.fileName : "image");
|
|
26505
|
+
|
|
26506
|
+
let options_: RequestInit = {
|
|
26507
|
+
body: content_,
|
|
26508
|
+
method: "POST",
|
|
26509
|
+
headers: {
|
|
26510
|
+
}
|
|
26511
|
+
};
|
|
26512
|
+
|
|
26513
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26514
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26515
|
+
}).then((_response: Response) => {
|
|
26516
|
+
return this.processRequestSchemaCreatorSnipParse(_response);
|
|
26517
|
+
});
|
|
26518
|
+
}
|
|
26519
|
+
|
|
26520
|
+
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void> {
|
|
26521
|
+
const status = response.status;
|
|
26522
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26523
|
+
if (status === 200) {
|
|
26524
|
+
return response.text().then((_responseText) => {
|
|
26525
|
+
return;
|
|
26526
|
+
});
|
|
26527
|
+
} else if (status !== 200 && status !== 204) {
|
|
26528
|
+
return response.text().then((_responseText) => {
|
|
26529
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26530
|
+
});
|
|
26531
|
+
}
|
|
26532
|
+
return Promise.resolve<void>(null as any);
|
|
26533
|
+
}
|
|
26534
|
+
}
|
|
26535
|
+
|
|
26216
26536
|
export interface IMeasurementFormSchemasAdminClient {
|
|
26217
26537
|
|
|
26218
26538
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
@@ -26235,6 +26555,11 @@ export interface IMeasurementFormSchemasAdminClient {
|
|
|
26235
26555
|
|
|
26236
26556
|
updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
|
|
26237
26557
|
|
|
26558
|
+
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
26559
|
+
|
|
26560
|
+
/**
|
|
26561
|
+
* @deprecated
|
|
26562
|
+
*/
|
|
26238
26563
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
26239
26564
|
|
|
26240
26565
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
@@ -26749,6 +27074,51 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase impleme
|
|
|
26749
27074
|
return Promise.resolve<UpdateSchemaSettingsRequest>(null as any);
|
|
26750
27075
|
}
|
|
26751
27076
|
|
|
27077
|
+
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto> {
|
|
27078
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploadmarkeddrawing";
|
|
27079
|
+
if (id === undefined || id === null)
|
|
27080
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
27081
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
27082
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27083
|
+
|
|
27084
|
+
const content_ = JSON.stringify(request);
|
|
27085
|
+
|
|
27086
|
+
let options_: RequestInit = {
|
|
27087
|
+
body: content_,
|
|
27088
|
+
method: "POST",
|
|
27089
|
+
headers: {
|
|
27090
|
+
"Content-Type": "application/json",
|
|
27091
|
+
"Accept": "application/json"
|
|
27092
|
+
}
|
|
27093
|
+
};
|
|
27094
|
+
|
|
27095
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
27096
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
27097
|
+
}).then((_response: Response) => {
|
|
27098
|
+
return this.processUploadSchemaMarkedDrawing(_response);
|
|
27099
|
+
});
|
|
27100
|
+
}
|
|
27101
|
+
|
|
27102
|
+
protected processUploadSchemaMarkedDrawing(response: Response): Promise<MeasurementFormSchemaDto> {
|
|
27103
|
+
const status = response.status;
|
|
27104
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
27105
|
+
if (status === 200) {
|
|
27106
|
+
return response.text().then((_responseText) => {
|
|
27107
|
+
let result200: any = null;
|
|
27108
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MeasurementFormSchemaDto;
|
|
27109
|
+
return result200;
|
|
27110
|
+
});
|
|
27111
|
+
} else if (status !== 200 && status !== 204) {
|
|
27112
|
+
return response.text().then((_responseText) => {
|
|
27113
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27114
|
+
});
|
|
27115
|
+
}
|
|
27116
|
+
return Promise.resolve<MeasurementFormSchemaDto>(null as any);
|
|
27117
|
+
}
|
|
27118
|
+
|
|
27119
|
+
/**
|
|
27120
|
+
* @deprecated
|
|
27121
|
+
*/
|
|
26752
27122
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto> {
|
|
26753
27123
|
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploaddrawing";
|
|
26754
27124
|
if (id === undefined || id === null)
|
|
@@ -28879,6 +29249,8 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
28879
29249
|
|
|
28880
29250
|
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
28881
29251
|
|
|
29252
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
29253
|
+
|
|
28882
29254
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
28883
29255
|
|
|
28884
29256
|
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
@@ -29212,6 +29584,49 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
29212
29584
|
return Promise.resolve<MeasurementFormInstanceSchemaDto>(null as any);
|
|
29213
29585
|
}
|
|
29214
29586
|
|
|
29587
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto> {
|
|
29588
|
+
let url_ = this.baseUrl + "/measurementforms/instances/{id}/schemas/{schemaId}/creatorstate?";
|
|
29589
|
+
if (id === undefined || id === null)
|
|
29590
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
29591
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
29592
|
+
if (schemaId === undefined || schemaId === null)
|
|
29593
|
+
throw new globalThis.Error("The parameter 'schemaId' must be defined.");
|
|
29594
|
+
url_ = url_.replace("{schemaId}", encodeURIComponent("" + schemaId));
|
|
29595
|
+
if (tenantId !== undefined && tenantId !== null)
|
|
29596
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
29597
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
29598
|
+
|
|
29599
|
+
let options_: RequestInit = {
|
|
29600
|
+
method: "GET",
|
|
29601
|
+
headers: {
|
|
29602
|
+
"Accept": "application/json"
|
|
29603
|
+
}
|
|
29604
|
+
};
|
|
29605
|
+
|
|
29606
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
29607
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
29608
|
+
}).then((_response: Response) => {
|
|
29609
|
+
return this.processGetMeasurementFormInstanceSchemaCreatorState(_response);
|
|
29610
|
+
});
|
|
29611
|
+
}
|
|
29612
|
+
|
|
29613
|
+
protected processGetMeasurementFormInstanceSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
29614
|
+
const status = response.status;
|
|
29615
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
29616
|
+
if (status === 200) {
|
|
29617
|
+
return response.text().then((_responseText) => {
|
|
29618
|
+
let result200: any = null;
|
|
29619
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
29620
|
+
return result200;
|
|
29621
|
+
});
|
|
29622
|
+
} else if (status !== 200 && status !== 204) {
|
|
29623
|
+
return response.text().then((_responseText) => {
|
|
29624
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
29625
|
+
});
|
|
29626
|
+
}
|
|
29627
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
29628
|
+
}
|
|
29629
|
+
|
|
29215
29630
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto> {
|
|
29216
29631
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}/progress?";
|
|
29217
29632
|
if (id === undefined || id === null)
|
|
@@ -33528,6 +33943,7 @@ export interface PulseJournalEventDto {
|
|
|
33528
33943
|
eventType: PulseJournalEventTypeDto;
|
|
33529
33944
|
oldValue?: string | null;
|
|
33530
33945
|
newValue?: string | null;
|
|
33946
|
+
lineText?: string | null;
|
|
33531
33947
|
created: Date;
|
|
33532
33948
|
createdBy?: string | null;
|
|
33533
33949
|
}
|
|
@@ -36701,7 +37117,6 @@ export interface PlannerPlanDto {
|
|
|
36701
37117
|
isDraft: boolean;
|
|
36702
37118
|
publishedETag?: string | null;
|
|
36703
37119
|
weeklyCapacities: WeekCapacityDto[];
|
|
36704
|
-
continuationToken?: string | null;
|
|
36705
37120
|
}
|
|
36706
37121
|
|
|
36707
37122
|
export interface PlannerOperationDto {
|
|
@@ -36817,7 +37232,7 @@ export interface SetProgramStatus {
|
|
|
36817
37232
|
status?: ProgramStatus;
|
|
36818
37233
|
}
|
|
36819
37234
|
|
|
36820
|
-
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
|
|
37235
|
+
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File" | "OperationText";
|
|
36821
37236
|
|
|
36822
37237
|
export interface UpdateProductionOrderAttachmentRequest {
|
|
36823
37238
|
type?: ProductionOrderAttachmentType;
|
|
@@ -37149,8 +37564,6 @@ export interface ProductionScheduleOperationDto {
|
|
|
37149
37564
|
programStatus?: ProgramStatus | null;
|
|
37150
37565
|
hasNotes: boolean;
|
|
37151
37566
|
notesUnread: boolean;
|
|
37152
|
-
sequenceNumber?: number | null;
|
|
37153
|
-
weekGroup?: string | null;
|
|
37154
37567
|
}
|
|
37155
37568
|
|
|
37156
37569
|
export interface SurroundingOperationDto {
|
|
@@ -37208,12 +37621,6 @@ export interface ListProductionScheduleOperationsRequest {
|
|
|
37208
37621
|
includeDiscussionSummary?: boolean;
|
|
37209
37622
|
}
|
|
37210
37623
|
|
|
37211
|
-
export interface PagedProductionScheduleDto {
|
|
37212
|
-
results: ProductionScheduleOperationDto[];
|
|
37213
|
-
weeklyCapacities: WeekCapacityDto[];
|
|
37214
|
-
continuationToken?: string | null;
|
|
37215
|
-
}
|
|
37216
|
-
|
|
37217
37624
|
export interface ProductionScheduleFiltersDto {
|
|
37218
37625
|
partNumbers?: FilterValueWithQuantity[];
|
|
37219
37626
|
bomPositions?: FilterValueWithQuantity[];
|
|
@@ -37700,7 +38107,7 @@ export interface ImaMaterialCheckDto {
|
|
|
37700
38107
|
specificationStatus: ImaSpecificationStatusDto;
|
|
37701
38108
|
purchaseOrder?: string | null;
|
|
37702
38109
|
purchaseOrderLine?: number | null;
|
|
37703
|
-
|
|
38110
|
+
purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
|
|
37704
38111
|
purchaseOrderPartName?: string | null;
|
|
37705
38112
|
purchaseOrderPartNumber?: string | null;
|
|
37706
38113
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -37722,6 +38129,12 @@ export interface ImaMaterialCheckDto {
|
|
|
37722
38129
|
|
|
37723
38130
|
export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
37724
38131
|
|
|
38132
|
+
export interface PurchaseOrderMaterialBatchDto {
|
|
38133
|
+
batchNumber: string;
|
|
38134
|
+
itemNumber?: string | null;
|
|
38135
|
+
vendorBatch?: string | null;
|
|
38136
|
+
}
|
|
38137
|
+
|
|
37725
38138
|
export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
|
|
37726
38139
|
|
|
37727
38140
|
export interface ImaCertificateTypeResultsDto {
|
|
@@ -37869,6 +38282,7 @@ export interface ImaChemicalAnalysisCompositeResultDto {
|
|
|
37869
38282
|
prenW?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37870
38283
|
v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37871
38284
|
ce?: ImaSpecificationCalculatedResultLineDto | null;
|
|
38285
|
+
nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37872
38286
|
}
|
|
37873
38287
|
|
|
37874
38288
|
export interface ImaSpecificationCalculatedResultLineDto {
|
|
@@ -38010,7 +38424,7 @@ export interface ImaHeatTreatmentCoolingResultLineDto {
|
|
|
38010
38424
|
override?: ImaResultLineOverrideDto | null;
|
|
38011
38425
|
}
|
|
38012
38426
|
|
|
38013
|
-
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
|
|
38427
|
+
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "LiquidQuenching" | "NotSet";
|
|
38014
38428
|
|
|
38015
38429
|
export interface ImaDocumentTypesResultsDto {
|
|
38016
38430
|
ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -38018,7 +38432,7 @@ export interface ImaDocumentTypesResultsDto {
|
|
|
38018
38432
|
liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
38019
38433
|
magneticParticle?: ImaSupplementaryCheckResultDto | null;
|
|
38020
38434
|
pmi?: ImaSupplementaryCheckResultDto | null;
|
|
38021
|
-
|
|
38435
|
+
dyePenetrantReport?: ImaSupplementaryCheckResultDto | null;
|
|
38022
38436
|
visualReport?: ImaSupplementaryCheckResultDto | null;
|
|
38023
38437
|
dimensionalReport?: ImaSupplementaryCheckResultDto | null;
|
|
38024
38438
|
microExaminationReport?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -38152,6 +38566,7 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
|
|
|
38152
38566
|
prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38153
38567
|
v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38154
38568
|
ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38569
|
+
nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38155
38570
|
}
|
|
38156
38571
|
|
|
38157
38572
|
export interface ImaOverrideTensileTestResultsDto {
|
|
@@ -38242,7 +38657,7 @@ export interface ImaOverrideDocumentTypesResultsDto {
|
|
|
38242
38657
|
liquidPenetrantCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38243
38658
|
magneticParticle?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38244
38659
|
pmi?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38245
|
-
|
|
38660
|
+
dyePenetrantReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38246
38661
|
visualReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38247
38662
|
dimensionalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38248
38663
|
microExaminationReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -38278,7 +38693,7 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
38278
38693
|
specificationStatus: ImaSpecificationStatusDto;
|
|
38279
38694
|
purchaseOrder?: string | null;
|
|
38280
38695
|
purchaseOrderLine?: number | null;
|
|
38281
|
-
|
|
38696
|
+
purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
|
|
38282
38697
|
purchaseOrderPartName?: string | null;
|
|
38283
38698
|
purchaseOrderPartNumber?: string | null;
|
|
38284
38699
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -38310,7 +38725,7 @@ export interface ImaMaterialChecksPageRequestDto {
|
|
|
38310
38725
|
certificateTypeFilter?: string | null;
|
|
38311
38726
|
purchaseOrderLineFilter?: number | null;
|
|
38312
38727
|
heatFilter?: string | null;
|
|
38313
|
-
vendorBatchesFilter?: string
|
|
38728
|
+
vendorBatchesFilter?: string | null;
|
|
38314
38729
|
purchaseOrderPartNameFilter?: string | null;
|
|
38315
38730
|
purchaseOrderPartNumberFilter?: string | null;
|
|
38316
38731
|
purchaseOrderDrawingFilter?: string | null;
|
|
@@ -38349,6 +38764,7 @@ export interface ImaMaterialCheckReportDto {
|
|
|
38349
38764
|
includesAllHeats: boolean;
|
|
38350
38765
|
status: ImaMaterialCheckStatusDto;
|
|
38351
38766
|
audit: ImaMaterialCheckReportAuditInfo;
|
|
38767
|
+
isOutdated: boolean;
|
|
38352
38768
|
}
|
|
38353
38769
|
|
|
38354
38770
|
export interface ImaMaterialCheckReportAuditInfo {
|
|
@@ -38379,7 +38795,7 @@ export interface PurchaseOrderMaterialLineDetailsDto {
|
|
|
38379
38795
|
purchaseOrder: string;
|
|
38380
38796
|
lineNumber?: number | null;
|
|
38381
38797
|
dimension?: string | null;
|
|
38382
|
-
|
|
38798
|
+
batches: PurchaseOrderMaterialBatchDto[];
|
|
38383
38799
|
mdsCodeFl?: string | null;
|
|
38384
38800
|
typeOfCertificate?: string | null;
|
|
38385
38801
|
}
|
|
@@ -38528,6 +38944,7 @@ export interface ImaChemistryCompositeSpecificationDto {
|
|
|
38528
38944
|
prenW?: ImaSpecificationLineDto | null;
|
|
38529
38945
|
v_Nb_Ti?: boolean | null;
|
|
38530
38946
|
ce?: boolean | null;
|
|
38947
|
+
nb_Ta?: ImaSpecificationLineDto | null;
|
|
38531
38948
|
}
|
|
38532
38949
|
|
|
38533
38950
|
export interface ImaMechanicalSpecificationDto {
|
|
@@ -38565,7 +38982,7 @@ export interface ImaDocumentTypesSpecificationDto {
|
|
|
38565
38982
|
liquidPenetrantCertificate?: boolean;
|
|
38566
38983
|
magneticParticle?: boolean;
|
|
38567
38984
|
pmi?: boolean;
|
|
38568
|
-
|
|
38985
|
+
dyePenetrantReport?: boolean;
|
|
38569
38986
|
visualReport?: boolean;
|
|
38570
38987
|
dimensionalReport?: boolean;
|
|
38571
38988
|
microExaminationReport?: boolean;
|
|
@@ -38640,6 +39057,132 @@ export interface ImaSpecificationLiteDto {
|
|
|
38640
39057
|
isDeleted: boolean;
|
|
38641
39058
|
}
|
|
38642
39059
|
|
|
39060
|
+
export interface SchemaCreatorStateDto {
|
|
39061
|
+
settings: SchemaCreatorSettingsDto;
|
|
39062
|
+
elements: SchemaCreatorElementDto[];
|
|
39063
|
+
documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
|
|
39064
|
+
isAutoGenerated?: boolean;
|
|
39065
|
+
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
39066
|
+
createdAt?: Date | null;
|
|
39067
|
+
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
39068
|
+
updatedAt?: Date | null;
|
|
39069
|
+
}
|
|
39070
|
+
|
|
39071
|
+
export interface SchemaCreatorSettingsDto {
|
|
39072
|
+
unit?: SchemaCreatorUnitOfMeasureDto;
|
|
39073
|
+
tolerance?: GeneralToleranceDto;
|
|
39074
|
+
balloonSize?: number;
|
|
39075
|
+
transparentBalloons?: boolean;
|
|
39076
|
+
}
|
|
39077
|
+
|
|
39078
|
+
export type SchemaCreatorUnitOfMeasureDto = "Millimeter" | "Inch" | "Mixed";
|
|
39079
|
+
|
|
39080
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
39081
|
+
|
|
39082
|
+
export interface SchemaCreatorElementDto {
|
|
39083
|
+
id: string;
|
|
39084
|
+
kind: SchemaCreatorElementKindDto;
|
|
39085
|
+
drawings: SchemaCreatorElementDrawingsDto;
|
|
39086
|
+
isDirty?: boolean | null;
|
|
39087
|
+
values?: SchemaCreatorElementValuesDto | null;
|
|
39088
|
+
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
39089
|
+
resolveAttempt?: SchemaCreatorParseAttemptDto | null;
|
|
39090
|
+
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
39091
|
+
createdAt?: Date | null;
|
|
39092
|
+
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
39093
|
+
updatedAt?: Date | null;
|
|
39094
|
+
}
|
|
39095
|
+
|
|
39096
|
+
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
39097
|
+
|
|
39098
|
+
export interface SchemaCreatorElementDrawingsDto {
|
|
39099
|
+
snip: SchemaCreatorSnipDto;
|
|
39100
|
+
balloon: SchemaCreatorPointDto;
|
|
39101
|
+
pageIndex: number;
|
|
39102
|
+
}
|
|
39103
|
+
|
|
39104
|
+
export interface SchemaCreatorSnipDto {
|
|
39105
|
+
rect: SchemaCreatorRectDto;
|
|
39106
|
+
rotation?: number | null;
|
|
39107
|
+
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
39108
|
+
}
|
|
39109
|
+
|
|
39110
|
+
export interface SchemaCreatorRectDto {
|
|
39111
|
+
origin: SchemaCreatorPointDto;
|
|
39112
|
+
size: SchemaCreatorSizeDto;
|
|
39113
|
+
}
|
|
39114
|
+
|
|
39115
|
+
export interface SchemaCreatorPointDto {
|
|
39116
|
+
x: number;
|
|
39117
|
+
y: number;
|
|
39118
|
+
}
|
|
39119
|
+
|
|
39120
|
+
export interface SchemaCreatorSizeDto {
|
|
39121
|
+
width: number;
|
|
39122
|
+
height: number;
|
|
39123
|
+
}
|
|
39124
|
+
|
|
39125
|
+
export interface SchemaCreatorElementValuesDto {
|
|
39126
|
+
reference: number;
|
|
39127
|
+
unit?: UnitOfMeasureDto | null;
|
|
39128
|
+
nominal?: number | null;
|
|
39129
|
+
nominalText?: string | null;
|
|
39130
|
+
upperLimit?: number | null;
|
|
39131
|
+
lowerLimit?: number | null;
|
|
39132
|
+
plusTolerance?: number | null;
|
|
39133
|
+
minusTolerance?: number | null;
|
|
39134
|
+
coatingThickness?: number | null;
|
|
39135
|
+
measurementFrequency: MeasurementFrequency;
|
|
39136
|
+
measurementFrequencyParameter?: number | null;
|
|
39137
|
+
type?: string | null;
|
|
39138
|
+
count?: number | null;
|
|
39139
|
+
comment?: string | null;
|
|
39140
|
+
canCopy: boolean;
|
|
39141
|
+
visibleToCustomer: boolean;
|
|
39142
|
+
isDocumentedExternally: boolean;
|
|
39143
|
+
}
|
|
39144
|
+
|
|
39145
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
39146
|
+
|
|
39147
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
39148
|
+
|
|
39149
|
+
export interface SchemaCreatorSnipResultDto {
|
|
39150
|
+
nominal?: number | null;
|
|
39151
|
+
nominalText?: string | null;
|
|
39152
|
+
type?: string | null;
|
|
39153
|
+
upperLimit?: number | null;
|
|
39154
|
+
lowerLimit?: number | null;
|
|
39155
|
+
plusTolerance?: number | null;
|
|
39156
|
+
minusTolerance?: number | null;
|
|
39157
|
+
count?: number | null;
|
|
39158
|
+
}
|
|
39159
|
+
|
|
39160
|
+
export interface SchemaCreatorParseAttemptDto {
|
|
39161
|
+
startedAt: Date;
|
|
39162
|
+
errorType?: SchemaCreatorParseErrorTypeDto | null;
|
|
39163
|
+
errorMessage?: string | null;
|
|
39164
|
+
}
|
|
39165
|
+
|
|
39166
|
+
export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
|
|
39167
|
+
|
|
39168
|
+
export interface SchemaCreatorAuditInfoDto {
|
|
39169
|
+
objectId: string;
|
|
39170
|
+
userId: string;
|
|
39171
|
+
userFullName?: string | null;
|
|
39172
|
+
}
|
|
39173
|
+
|
|
39174
|
+
export interface SchemaCreatorDocumentParseStatusDto {
|
|
39175
|
+
inProgress: boolean;
|
|
39176
|
+
attempt?: SchemaCreatorParseAttemptDto | null;
|
|
39177
|
+
}
|
|
39178
|
+
|
|
39179
|
+
export interface SchemaCreatorXmlGeometryDto {
|
|
39180
|
+
xmlAttributeId: number;
|
|
39181
|
+
snipRect: SchemaCreatorRectDto;
|
|
39182
|
+
balloon: SchemaCreatorPointDto;
|
|
39183
|
+
pageIndex: number;
|
|
39184
|
+
}
|
|
39185
|
+
|
|
38643
39186
|
export interface MeasurementFormSchemaDto {
|
|
38644
39187
|
id: string;
|
|
38645
39188
|
versionId: number;
|
|
@@ -38674,12 +39217,8 @@ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
|
38674
39217
|
|
|
38675
39218
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
38676
39219
|
|
|
38677
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
38678
|
-
|
|
38679
39220
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
38680
39221
|
|
|
38681
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
38682
|
-
|
|
38683
39222
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
38684
39223
|
url: string;
|
|
38685
39224
|
title: string;
|
|
@@ -38689,6 +39228,7 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
38689
39228
|
id: string;
|
|
38690
39229
|
balloonId?: string | null;
|
|
38691
39230
|
reference: number;
|
|
39231
|
+
originalXmlId?: number | null;
|
|
38692
39232
|
imageUrl?: string | null;
|
|
38693
39233
|
thumbnailUrl?: string | null;
|
|
38694
39234
|
section?: string | null;
|
|
@@ -38730,8 +39270,6 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
38730
39270
|
validationErrorMessage?: string | null;
|
|
38731
39271
|
}
|
|
38732
39272
|
|
|
38733
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
38734
|
-
|
|
38735
39273
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
38736
39274
|
|
|
38737
39275
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
@@ -38858,6 +39396,7 @@ export interface UploadDrawingRequest {
|
|
|
38858
39396
|
export interface UploadRequest {
|
|
38859
39397
|
uploadKey: string;
|
|
38860
39398
|
filename: string;
|
|
39399
|
+
isMarkedDrawing?: boolean | null;
|
|
38861
39400
|
}
|
|
38862
39401
|
|
|
38863
39402
|
export interface MeasurementFormImportStatusDto {
|
|
@@ -38941,6 +39480,8 @@ export interface MeasurementFormCustomerSettingsDto {
|
|
|
38941
39480
|
validationRuleId?: string | null;
|
|
38942
39481
|
requireCalibratedTools: boolean;
|
|
38943
39482
|
allowEmptyToolListInValue: boolean;
|
|
39483
|
+
disableAiParseDocument: boolean;
|
|
39484
|
+
disableAiParseSnip: boolean;
|
|
38944
39485
|
}
|
|
38945
39486
|
|
|
38946
39487
|
export interface UpdateMeasurementFormCustomerSettings {
|
|
@@ -38950,6 +39491,8 @@ export interface UpdateMeasurementFormCustomerSettings {
|
|
|
38950
39491
|
validationRuleId?: string | null;
|
|
38951
39492
|
requireCalibratedTools: boolean;
|
|
38952
39493
|
allowEmptyToolListInValue: boolean;
|
|
39494
|
+
disableAiParseDocument: boolean;
|
|
39495
|
+
disableAiParseSnip: boolean;
|
|
38953
39496
|
}
|
|
38954
39497
|
|
|
38955
39498
|
export interface MeasurementFormMappingDto {
|