@ignos/api-client 20260914.278.1-alpha → 20260917.279.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/AuthorizedApiBase.js +28 -27
- package/lib/ignosportal-api.d.ts +229 -24
- package/lib/ignosportal-api.js +772 -163
- package/package.json +2 -2
- package/src/ignosportal-api.ts +655 -66
- package/tsconfig.json +3 -2
package/src/ignosportal-api.ts
CHANGED
|
@@ -7783,6 +7783,8 @@ export interface IMrbClient {
|
|
|
7783
7783
|
|
|
7784
7784
|
getMrbInstance(id: string): Promise<MrbInstanceDto>;
|
|
7785
7785
|
|
|
7786
|
+
updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
|
|
7787
|
+
|
|
7786
7788
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
|
|
7787
7789
|
|
|
7788
7790
|
createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
|
|
@@ -8025,6 +8027,45 @@ export class MrbClient extends AuthorizedApiBase implements IMrbClient {
|
|
|
8025
8027
|
return Promise.resolve<MrbInstanceDto>(null as any);
|
|
8026
8028
|
}
|
|
8027
8029
|
|
|
8030
|
+
updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void> {
|
|
8031
|
+
let url_ = this.baseUrl + "/mrb/{id}/ncinfo";
|
|
8032
|
+
if (id === undefined || id === null)
|
|
8033
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
8034
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
8035
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
8036
|
+
|
|
8037
|
+
const content_ = JSON.stringify(request);
|
|
8038
|
+
|
|
8039
|
+
let options_: RequestInit = {
|
|
8040
|
+
body: content_,
|
|
8041
|
+
method: "PUT",
|
|
8042
|
+
headers: {
|
|
8043
|
+
"Content-Type": "application/json",
|
|
8044
|
+
}
|
|
8045
|
+
};
|
|
8046
|
+
|
|
8047
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
8048
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
8049
|
+
}).then((_response: Response) => {
|
|
8050
|
+
return this.processUpdateMrbInstanceNcInfo(_response);
|
|
8051
|
+
});
|
|
8052
|
+
}
|
|
8053
|
+
|
|
8054
|
+
protected processUpdateMrbInstanceNcInfo(response: Response): Promise<void> {
|
|
8055
|
+
const status = response.status;
|
|
8056
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
8057
|
+
if (status === 204) {
|
|
8058
|
+
return response.text().then((_responseText) => {
|
|
8059
|
+
return;
|
|
8060
|
+
});
|
|
8061
|
+
} else if (status !== 200 && status !== 204) {
|
|
8062
|
+
return response.text().then((_responseText) => {
|
|
8063
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
8064
|
+
});
|
|
8065
|
+
}
|
|
8066
|
+
return Promise.resolve<void>(null as any);
|
|
8067
|
+
}
|
|
8068
|
+
|
|
8028
8069
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]> {
|
|
8029
8070
|
let url_ = this.baseUrl + "/mrb/{id}/revisions";
|
|
8030
8071
|
if (id === undefined || id === null)
|
|
@@ -23848,8 +23889,6 @@ export interface IMesProductionScheduleClient {
|
|
|
23848
23889
|
|
|
23849
23890
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
23850
23891
|
|
|
23851
|
-
postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto>;
|
|
23852
|
-
|
|
23853
23892
|
getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
|
|
23854
23893
|
|
|
23855
23894
|
listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
|
|
@@ -23971,45 +24010,6 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
|
|
|
23971
24010
|
return Promise.resolve<PagedResultOfProductionScheduleOperationDto>(null as any);
|
|
23972
24011
|
}
|
|
23973
24012
|
|
|
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
24013
|
getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto> {
|
|
24014
24014
|
let url_ = this.baseUrl + "/mes/productionschedulefilters";
|
|
24015
24015
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -26213,6 +26213,367 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
26213
26213
|
}
|
|
26214
26214
|
}
|
|
26215
26215
|
|
|
26216
|
+
export interface IInspectSchemaCreatorClient {
|
|
26217
|
+
|
|
26218
|
+
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
26219
|
+
|
|
26220
|
+
/**
|
|
26221
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
26222
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
26223
|
+
*/
|
|
26224
|
+
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
26225
|
+
|
|
26226
|
+
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
26227
|
+
|
|
26228
|
+
/**
|
|
26229
|
+
* Geometry only (no values), derived from the schema's retained
|
|
26230
|
+
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
26231
|
+
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
26232
|
+
drawing to derive it from.
|
|
26233
|
+
*/
|
|
26234
|
+
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
26235
|
+
|
|
26236
|
+
/**
|
|
26237
|
+
* Starts a full drawing AI parse: clears every element and locks the
|
|
26238
|
+
schema for every viewer until it completes. If one is already in
|
|
26239
|
+
progress, returns that instead of starting a second one.
|
|
26240
|
+
*/
|
|
26241
|
+
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
26242
|
+
|
|
26243
|
+
/**
|
|
26244
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
26245
|
+
returns a temporary download link.
|
|
26246
|
+
*/
|
|
26247
|
+
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
26248
|
+
|
|
26249
|
+
/**
|
|
26250
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
26251
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
26252
|
+
* @param image (optional)
|
|
26253
|
+
*/
|
|
26254
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
26255
|
+
}
|
|
26256
|
+
|
|
26257
|
+
export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
26258
|
+
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
26259
|
+
private baseUrl: string;
|
|
26260
|
+
|
|
26261
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
26262
|
+
super(configuration);
|
|
26263
|
+
this.http = http ? http : window as any;
|
|
26264
|
+
this.baseUrl = baseUrl ?? "";
|
|
26265
|
+
}
|
|
26266
|
+
|
|
26267
|
+
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto> {
|
|
26268
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26269
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26270
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26271
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26272
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26273
|
+
|
|
26274
|
+
let options_: RequestInit = {
|
|
26275
|
+
method: "GET",
|
|
26276
|
+
headers: {
|
|
26277
|
+
"Accept": "application/json"
|
|
26278
|
+
}
|
|
26279
|
+
};
|
|
26280
|
+
|
|
26281
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26282
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26283
|
+
}).then((_response: Response) => {
|
|
26284
|
+
return this.processGetSchemaCreatorState(_response);
|
|
26285
|
+
});
|
|
26286
|
+
}
|
|
26287
|
+
|
|
26288
|
+
protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26289
|
+
const status = response.status;
|
|
26290
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26291
|
+
if (status === 200) {
|
|
26292
|
+
return response.text().then((_responseText) => {
|
|
26293
|
+
let result200: any = null;
|
|
26294
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26295
|
+
return result200;
|
|
26296
|
+
});
|
|
26297
|
+
} else if (status !== 200 && status !== 204) {
|
|
26298
|
+
return response.text().then((_responseText) => {
|
|
26299
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26300
|
+
});
|
|
26301
|
+
}
|
|
26302
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26303
|
+
}
|
|
26304
|
+
|
|
26305
|
+
/**
|
|
26306
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
26307
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
26308
|
+
*/
|
|
26309
|
+
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
26310
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26311
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26312
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26313
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26314
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26315
|
+
|
|
26316
|
+
const content_ = JSON.stringify(state);
|
|
26317
|
+
|
|
26318
|
+
let options_: RequestInit = {
|
|
26319
|
+
body: content_,
|
|
26320
|
+
method: "POST",
|
|
26321
|
+
headers: {
|
|
26322
|
+
"Content-Type": "application/json",
|
|
26323
|
+
"Accept": "application/json"
|
|
26324
|
+
}
|
|
26325
|
+
};
|
|
26326
|
+
|
|
26327
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26328
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26329
|
+
}).then((_response: Response) => {
|
|
26330
|
+
return this.processCreateSchemaCreatorState(_response);
|
|
26331
|
+
});
|
|
26332
|
+
}
|
|
26333
|
+
|
|
26334
|
+
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26335
|
+
const status = response.status;
|
|
26336
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26337
|
+
if (status === 201) {
|
|
26338
|
+
return response.text().then((_responseText) => {
|
|
26339
|
+
let result201: any = null;
|
|
26340
|
+
result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26341
|
+
return result201;
|
|
26342
|
+
});
|
|
26343
|
+
} else if (status === 409) {
|
|
26344
|
+
return response.text().then((_responseText) => {
|
|
26345
|
+
let result409: any = null;
|
|
26346
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProblemDetails;
|
|
26347
|
+
return throwException("A server side error occurred.", status, _responseText, _headers, result409);
|
|
26348
|
+
});
|
|
26349
|
+
} else if (status !== 200 && status !== 204) {
|
|
26350
|
+
return response.text().then((_responseText) => {
|
|
26351
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26352
|
+
});
|
|
26353
|
+
}
|
|
26354
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26355
|
+
}
|
|
26356
|
+
|
|
26357
|
+
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
26358
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26359
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26360
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26361
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26362
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26363
|
+
|
|
26364
|
+
const content_ = JSON.stringify(state);
|
|
26365
|
+
|
|
26366
|
+
let options_: RequestInit = {
|
|
26367
|
+
body: content_,
|
|
26368
|
+
method: "PUT",
|
|
26369
|
+
headers: {
|
|
26370
|
+
"Content-Type": "application/json",
|
|
26371
|
+
"Accept": "application/json"
|
|
26372
|
+
}
|
|
26373
|
+
};
|
|
26374
|
+
|
|
26375
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26376
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26377
|
+
}).then((_response: Response) => {
|
|
26378
|
+
return this.processUpdateSchemaCreatorState(_response);
|
|
26379
|
+
});
|
|
26380
|
+
}
|
|
26381
|
+
|
|
26382
|
+
protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26383
|
+
const status = response.status;
|
|
26384
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26385
|
+
if (status === 200) {
|
|
26386
|
+
return response.text().then((_responseText) => {
|
|
26387
|
+
let result200: any = null;
|
|
26388
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26389
|
+
return result200;
|
|
26390
|
+
});
|
|
26391
|
+
} else if (status !== 200 && status !== 204) {
|
|
26392
|
+
return response.text().then((_responseText) => {
|
|
26393
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26394
|
+
});
|
|
26395
|
+
}
|
|
26396
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26397
|
+
}
|
|
26398
|
+
|
|
26399
|
+
/**
|
|
26400
|
+
* Geometry only (no values), derived from the schema's retained
|
|
26401
|
+
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
26402
|
+
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
26403
|
+
drawing to derive it from.
|
|
26404
|
+
*/
|
|
26405
|
+
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]> {
|
|
26406
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/xml-geometry";
|
|
26407
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26408
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26409
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26410
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26411
|
+
|
|
26412
|
+
let options_: RequestInit = {
|
|
26413
|
+
method: "GET",
|
|
26414
|
+
headers: {
|
|
26415
|
+
"Accept": "application/json"
|
|
26416
|
+
}
|
|
26417
|
+
};
|
|
26418
|
+
|
|
26419
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26420
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26421
|
+
}).then((_response: Response) => {
|
|
26422
|
+
return this.processGetSchemaCreatorXmlGeometry(_response);
|
|
26423
|
+
});
|
|
26424
|
+
}
|
|
26425
|
+
|
|
26426
|
+
protected processGetSchemaCreatorXmlGeometry(response: Response): Promise<SchemaCreatorXmlGeometryDto[]> {
|
|
26427
|
+
const status = response.status;
|
|
26428
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26429
|
+
if (status === 200) {
|
|
26430
|
+
return response.text().then((_responseText) => {
|
|
26431
|
+
let result200: any = null;
|
|
26432
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorXmlGeometryDto[];
|
|
26433
|
+
return result200;
|
|
26434
|
+
});
|
|
26435
|
+
} else if (status !== 200 && status !== 204) {
|
|
26436
|
+
return response.text().then((_responseText) => {
|
|
26437
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26438
|
+
});
|
|
26439
|
+
}
|
|
26440
|
+
return Promise.resolve<SchemaCreatorXmlGeometryDto[]>(null as any);
|
|
26441
|
+
}
|
|
26442
|
+
|
|
26443
|
+
/**
|
|
26444
|
+
* Starts a full drawing AI parse: clears every element and locks the
|
|
26445
|
+
schema for every viewer until it completes. If one is already in
|
|
26446
|
+
progress, returns that instead of starting a second one.
|
|
26447
|
+
*/
|
|
26448
|
+
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto> {
|
|
26449
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/parse-document";
|
|
26450
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26451
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26452
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26453
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26454
|
+
|
|
26455
|
+
let options_: RequestInit = {
|
|
26456
|
+
method: "POST",
|
|
26457
|
+
headers: {
|
|
26458
|
+
"Accept": "application/json"
|
|
26459
|
+
}
|
|
26460
|
+
};
|
|
26461
|
+
|
|
26462
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26463
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26464
|
+
}).then((_response: Response) => {
|
|
26465
|
+
return this.processRequestSchemaCreatorDocumentParse(_response);
|
|
26466
|
+
});
|
|
26467
|
+
}
|
|
26468
|
+
|
|
26469
|
+
protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26470
|
+
const status = response.status;
|
|
26471
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26472
|
+
if (status === 200) {
|
|
26473
|
+
return response.text().then((_responseText) => {
|
|
26474
|
+
let result200: any = null;
|
|
26475
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26476
|
+
return result200;
|
|
26477
|
+
});
|
|
26478
|
+
} else if (status !== 200 && status !== 204) {
|
|
26479
|
+
return response.text().then((_responseText) => {
|
|
26480
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26481
|
+
});
|
|
26482
|
+
}
|
|
26483
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26484
|
+
}
|
|
26485
|
+
|
|
26486
|
+
/**
|
|
26487
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
26488
|
+
returns a temporary download link.
|
|
26489
|
+
*/
|
|
26490
|
+
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto> {
|
|
26491
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/download";
|
|
26492
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26493
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26494
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26495
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26496
|
+
|
|
26497
|
+
let options_: RequestInit = {
|
|
26498
|
+
method: "POST",
|
|
26499
|
+
headers: {
|
|
26500
|
+
"Accept": "application/json"
|
|
26501
|
+
}
|
|
26502
|
+
};
|
|
26503
|
+
|
|
26504
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26505
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26506
|
+
}).then((_response: Response) => {
|
|
26507
|
+
return this.processExportSchemaCreatorDrawing(_response);
|
|
26508
|
+
});
|
|
26509
|
+
}
|
|
26510
|
+
|
|
26511
|
+
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto> {
|
|
26512
|
+
const status = response.status;
|
|
26513
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26514
|
+
if (status === 200) {
|
|
26515
|
+
return response.text().then((_responseText) => {
|
|
26516
|
+
let result200: any = null;
|
|
26517
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as DownloadDto;
|
|
26518
|
+
return result200;
|
|
26519
|
+
});
|
|
26520
|
+
} else if (status !== 200 && status !== 204) {
|
|
26521
|
+
return response.text().then((_responseText) => {
|
|
26522
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26523
|
+
});
|
|
26524
|
+
}
|
|
26525
|
+
return Promise.resolve<DownloadDto>(null as any);
|
|
26526
|
+
}
|
|
26527
|
+
|
|
26528
|
+
/**
|
|
26529
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
26530
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
26531
|
+
* @param image (optional)
|
|
26532
|
+
*/
|
|
26533
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void> {
|
|
26534
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/elements/{elementId}/parse-snip";
|
|
26535
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26536
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26537
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26538
|
+
if (elementId === undefined || elementId === null)
|
|
26539
|
+
throw new globalThis.Error("The parameter 'elementId' must be defined.");
|
|
26540
|
+
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
26541
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26542
|
+
|
|
26543
|
+
const content_ = new FormData();
|
|
26544
|
+
if (image !== null && image !== undefined)
|
|
26545
|
+
content_.append("image", image.data, image.fileName ? image.fileName : "image");
|
|
26546
|
+
|
|
26547
|
+
let options_: RequestInit = {
|
|
26548
|
+
body: content_,
|
|
26549
|
+
method: "POST",
|
|
26550
|
+
headers: {
|
|
26551
|
+
}
|
|
26552
|
+
};
|
|
26553
|
+
|
|
26554
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26555
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26556
|
+
}).then((_response: Response) => {
|
|
26557
|
+
return this.processRequestSchemaCreatorSnipParse(_response);
|
|
26558
|
+
});
|
|
26559
|
+
}
|
|
26560
|
+
|
|
26561
|
+
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void> {
|
|
26562
|
+
const status = response.status;
|
|
26563
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26564
|
+
if (status === 200) {
|
|
26565
|
+
return response.text().then((_responseText) => {
|
|
26566
|
+
return;
|
|
26567
|
+
});
|
|
26568
|
+
} else if (status !== 200 && status !== 204) {
|
|
26569
|
+
return response.text().then((_responseText) => {
|
|
26570
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26571
|
+
});
|
|
26572
|
+
}
|
|
26573
|
+
return Promise.resolve<void>(null as any);
|
|
26574
|
+
}
|
|
26575
|
+
}
|
|
26576
|
+
|
|
26216
26577
|
export interface IMeasurementFormSchemasAdminClient {
|
|
26217
26578
|
|
|
26218
26579
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
@@ -26235,6 +26596,11 @@ export interface IMeasurementFormSchemasAdminClient {
|
|
|
26235
26596
|
|
|
26236
26597
|
updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
|
|
26237
26598
|
|
|
26599
|
+
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
26600
|
+
|
|
26601
|
+
/**
|
|
26602
|
+
* @deprecated
|
|
26603
|
+
*/
|
|
26238
26604
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
26239
26605
|
|
|
26240
26606
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
@@ -26749,6 +27115,51 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase impleme
|
|
|
26749
27115
|
return Promise.resolve<UpdateSchemaSettingsRequest>(null as any);
|
|
26750
27116
|
}
|
|
26751
27117
|
|
|
27118
|
+
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto> {
|
|
27119
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploadmarkeddrawing";
|
|
27120
|
+
if (id === undefined || id === null)
|
|
27121
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
27122
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
27123
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27124
|
+
|
|
27125
|
+
const content_ = JSON.stringify(request);
|
|
27126
|
+
|
|
27127
|
+
let options_: RequestInit = {
|
|
27128
|
+
body: content_,
|
|
27129
|
+
method: "POST",
|
|
27130
|
+
headers: {
|
|
27131
|
+
"Content-Type": "application/json",
|
|
27132
|
+
"Accept": "application/json"
|
|
27133
|
+
}
|
|
27134
|
+
};
|
|
27135
|
+
|
|
27136
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
27137
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
27138
|
+
}).then((_response: Response) => {
|
|
27139
|
+
return this.processUploadSchemaMarkedDrawing(_response);
|
|
27140
|
+
});
|
|
27141
|
+
}
|
|
27142
|
+
|
|
27143
|
+
protected processUploadSchemaMarkedDrawing(response: Response): Promise<MeasurementFormSchemaDto> {
|
|
27144
|
+
const status = response.status;
|
|
27145
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
27146
|
+
if (status === 200) {
|
|
27147
|
+
return response.text().then((_responseText) => {
|
|
27148
|
+
let result200: any = null;
|
|
27149
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MeasurementFormSchemaDto;
|
|
27150
|
+
return result200;
|
|
27151
|
+
});
|
|
27152
|
+
} else if (status !== 200 && status !== 204) {
|
|
27153
|
+
return response.text().then((_responseText) => {
|
|
27154
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27155
|
+
});
|
|
27156
|
+
}
|
|
27157
|
+
return Promise.resolve<MeasurementFormSchemaDto>(null as any);
|
|
27158
|
+
}
|
|
27159
|
+
|
|
27160
|
+
/**
|
|
27161
|
+
* @deprecated
|
|
27162
|
+
*/
|
|
26752
27163
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto> {
|
|
26753
27164
|
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploaddrawing";
|
|
26754
27165
|
if (id === undefined || id === null)
|
|
@@ -28879,6 +29290,8 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
28879
29290
|
|
|
28880
29291
|
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
28881
29292
|
|
|
29293
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
29294
|
+
|
|
28882
29295
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
28883
29296
|
|
|
28884
29297
|
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
@@ -29212,6 +29625,49 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
29212
29625
|
return Promise.resolve<MeasurementFormInstanceSchemaDto>(null as any);
|
|
29213
29626
|
}
|
|
29214
29627
|
|
|
29628
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto> {
|
|
29629
|
+
let url_ = this.baseUrl + "/measurementforms/instances/{id}/schemas/{schemaId}/creatorstate?";
|
|
29630
|
+
if (id === undefined || id === null)
|
|
29631
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
29632
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
29633
|
+
if (schemaId === undefined || schemaId === null)
|
|
29634
|
+
throw new globalThis.Error("The parameter 'schemaId' must be defined.");
|
|
29635
|
+
url_ = url_.replace("{schemaId}", encodeURIComponent("" + schemaId));
|
|
29636
|
+
if (tenantId !== undefined && tenantId !== null)
|
|
29637
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
29638
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
29639
|
+
|
|
29640
|
+
let options_: RequestInit = {
|
|
29641
|
+
method: "GET",
|
|
29642
|
+
headers: {
|
|
29643
|
+
"Accept": "application/json"
|
|
29644
|
+
}
|
|
29645
|
+
};
|
|
29646
|
+
|
|
29647
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
29648
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
29649
|
+
}).then((_response: Response) => {
|
|
29650
|
+
return this.processGetMeasurementFormInstanceSchemaCreatorState(_response);
|
|
29651
|
+
});
|
|
29652
|
+
}
|
|
29653
|
+
|
|
29654
|
+
protected processGetMeasurementFormInstanceSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
29655
|
+
const status = response.status;
|
|
29656
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
29657
|
+
if (status === 200) {
|
|
29658
|
+
return response.text().then((_responseText) => {
|
|
29659
|
+
let result200: any = null;
|
|
29660
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
29661
|
+
return result200;
|
|
29662
|
+
});
|
|
29663
|
+
} else if (status !== 200 && status !== 204) {
|
|
29664
|
+
return response.text().then((_responseText) => {
|
|
29665
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
29666
|
+
});
|
|
29667
|
+
}
|
|
29668
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
29669
|
+
}
|
|
29670
|
+
|
|
29215
29671
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto> {
|
|
29216
29672
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}/progress?";
|
|
29217
29673
|
if (id === undefined || id === null)
|
|
@@ -33528,6 +33984,7 @@ export interface PulseJournalEventDto {
|
|
|
33528
33984
|
eventType: PulseJournalEventTypeDto;
|
|
33529
33985
|
oldValue?: string | null;
|
|
33530
33986
|
newValue?: string | null;
|
|
33987
|
+
lineText?: string | null;
|
|
33531
33988
|
created: Date;
|
|
33532
33989
|
createdBy?: string | null;
|
|
33533
33990
|
}
|
|
@@ -33740,6 +34197,7 @@ export interface MrbInstanceDto {
|
|
|
33740
34197
|
part?: MrbPartDto | null;
|
|
33741
34198
|
showSerialNumbersOnFrontPage?: boolean;
|
|
33742
34199
|
showSerialNumbersOnCoC?: boolean;
|
|
34200
|
+
ncInfo?: string | null;
|
|
33743
34201
|
}
|
|
33744
34202
|
|
|
33745
34203
|
export interface CustomerOrderLineTraceItemDto {
|
|
@@ -33791,6 +34249,10 @@ export interface MrbPartDto {
|
|
|
33791
34249
|
partRevision?: string | null;
|
|
33792
34250
|
}
|
|
33793
34251
|
|
|
34252
|
+
export interface UpdateMrbInstanceNcInfoRequest {
|
|
34253
|
+
ncInfo?: string | null;
|
|
34254
|
+
}
|
|
34255
|
+
|
|
33794
34256
|
export interface MrbInstanceJobDto {
|
|
33795
34257
|
jobId: string;
|
|
33796
34258
|
mrbInstanceId: string;
|
|
@@ -36701,7 +37163,6 @@ export interface PlannerPlanDto {
|
|
|
36701
37163
|
isDraft: boolean;
|
|
36702
37164
|
publishedETag?: string | null;
|
|
36703
37165
|
weeklyCapacities: WeekCapacityDto[];
|
|
36704
|
-
continuationToken?: string | null;
|
|
36705
37166
|
}
|
|
36706
37167
|
|
|
36707
37168
|
export interface PlannerOperationDto {
|
|
@@ -36817,7 +37278,7 @@ export interface SetProgramStatus {
|
|
|
36817
37278
|
status?: ProgramStatus;
|
|
36818
37279
|
}
|
|
36819
37280
|
|
|
36820
|
-
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
|
|
37281
|
+
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File" | "OperationText";
|
|
36821
37282
|
|
|
36822
37283
|
export interface UpdateProductionOrderAttachmentRequest {
|
|
36823
37284
|
type?: ProductionOrderAttachmentType;
|
|
@@ -37149,9 +37610,6 @@ export interface ProductionScheduleOperationDto {
|
|
|
37149
37610
|
programStatus?: ProgramStatus | null;
|
|
37150
37611
|
hasNotes: boolean;
|
|
37151
37612
|
notesUnread: boolean;
|
|
37152
|
-
sequenceNumber?: number | null;
|
|
37153
|
-
weekGroup?: string | null;
|
|
37154
|
-
isNewOperation?: boolean | null;
|
|
37155
37613
|
}
|
|
37156
37614
|
|
|
37157
37615
|
export interface SurroundingOperationDto {
|
|
@@ -37209,12 +37667,6 @@ export interface ListProductionScheduleOperationsRequest {
|
|
|
37209
37667
|
includeDiscussionSummary?: boolean;
|
|
37210
37668
|
}
|
|
37211
37669
|
|
|
37212
|
-
export interface PagedProductionScheduleDto {
|
|
37213
|
-
results: ProductionScheduleOperationDto[];
|
|
37214
|
-
weeklyCapacities: WeekCapacityDto[];
|
|
37215
|
-
continuationToken?: string | null;
|
|
37216
|
-
}
|
|
37217
|
-
|
|
37218
37670
|
export interface ProductionScheduleFiltersDto {
|
|
37219
37671
|
partNumbers?: FilterValueWithQuantity[];
|
|
37220
37672
|
bomPositions?: FilterValueWithQuantity[];
|
|
@@ -37701,7 +38153,7 @@ export interface ImaMaterialCheckDto {
|
|
|
37701
38153
|
specificationStatus: ImaSpecificationStatusDto;
|
|
37702
38154
|
purchaseOrder?: string | null;
|
|
37703
38155
|
purchaseOrderLine?: number | null;
|
|
37704
|
-
|
|
38156
|
+
purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
|
|
37705
38157
|
purchaseOrderPartName?: string | null;
|
|
37706
38158
|
purchaseOrderPartNumber?: string | null;
|
|
37707
38159
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -37723,6 +38175,12 @@ export interface ImaMaterialCheckDto {
|
|
|
37723
38175
|
|
|
37724
38176
|
export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
37725
38177
|
|
|
38178
|
+
export interface PurchaseOrderMaterialBatchDto {
|
|
38179
|
+
batchNumber: string;
|
|
38180
|
+
itemNumber?: string | null;
|
|
38181
|
+
vendorBatch?: string | null;
|
|
38182
|
+
}
|
|
38183
|
+
|
|
37726
38184
|
export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
|
|
37727
38185
|
|
|
37728
38186
|
export interface ImaCertificateTypeResultsDto {
|
|
@@ -37870,6 +38328,7 @@ export interface ImaChemicalAnalysisCompositeResultDto {
|
|
|
37870
38328
|
prenW?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37871
38329
|
v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37872
38330
|
ce?: ImaSpecificationCalculatedResultLineDto | null;
|
|
38331
|
+
nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37873
38332
|
}
|
|
37874
38333
|
|
|
37875
38334
|
export interface ImaSpecificationCalculatedResultLineDto {
|
|
@@ -38011,7 +38470,7 @@ export interface ImaHeatTreatmentCoolingResultLineDto {
|
|
|
38011
38470
|
override?: ImaResultLineOverrideDto | null;
|
|
38012
38471
|
}
|
|
38013
38472
|
|
|
38014
|
-
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
|
|
38473
|
+
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "LiquidQuenching" | "NotSet";
|
|
38015
38474
|
|
|
38016
38475
|
export interface ImaDocumentTypesResultsDto {
|
|
38017
38476
|
ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -38019,7 +38478,7 @@ export interface ImaDocumentTypesResultsDto {
|
|
|
38019
38478
|
liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
38020
38479
|
magneticParticle?: ImaSupplementaryCheckResultDto | null;
|
|
38021
38480
|
pmi?: ImaSupplementaryCheckResultDto | null;
|
|
38022
|
-
|
|
38481
|
+
dyePenetrantReport?: ImaSupplementaryCheckResultDto | null;
|
|
38023
38482
|
visualReport?: ImaSupplementaryCheckResultDto | null;
|
|
38024
38483
|
dimensionalReport?: ImaSupplementaryCheckResultDto | null;
|
|
38025
38484
|
microExaminationReport?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -38153,6 +38612,7 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
|
|
|
38153
38612
|
prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38154
38613
|
v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38155
38614
|
ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38615
|
+
nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38156
38616
|
}
|
|
38157
38617
|
|
|
38158
38618
|
export interface ImaOverrideTensileTestResultsDto {
|
|
@@ -38243,7 +38703,7 @@ export interface ImaOverrideDocumentTypesResultsDto {
|
|
|
38243
38703
|
liquidPenetrantCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38244
38704
|
magneticParticle?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38245
38705
|
pmi?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38246
|
-
|
|
38706
|
+
dyePenetrantReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38247
38707
|
visualReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38248
38708
|
dimensionalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38249
38709
|
microExaminationReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -38279,7 +38739,7 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
38279
38739
|
specificationStatus: ImaSpecificationStatusDto;
|
|
38280
38740
|
purchaseOrder?: string | null;
|
|
38281
38741
|
purchaseOrderLine?: number | null;
|
|
38282
|
-
|
|
38742
|
+
purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
|
|
38283
38743
|
purchaseOrderPartName?: string | null;
|
|
38284
38744
|
purchaseOrderPartNumber?: string | null;
|
|
38285
38745
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -38311,7 +38771,7 @@ export interface ImaMaterialChecksPageRequestDto {
|
|
|
38311
38771
|
certificateTypeFilter?: string | null;
|
|
38312
38772
|
purchaseOrderLineFilter?: number | null;
|
|
38313
38773
|
heatFilter?: string | null;
|
|
38314
|
-
vendorBatchesFilter?: string
|
|
38774
|
+
vendorBatchesFilter?: string | null;
|
|
38315
38775
|
purchaseOrderPartNameFilter?: string | null;
|
|
38316
38776
|
purchaseOrderPartNumberFilter?: string | null;
|
|
38317
38777
|
purchaseOrderDrawingFilter?: string | null;
|
|
@@ -38350,6 +38810,7 @@ export interface ImaMaterialCheckReportDto {
|
|
|
38350
38810
|
includesAllHeats: boolean;
|
|
38351
38811
|
status: ImaMaterialCheckStatusDto;
|
|
38352
38812
|
audit: ImaMaterialCheckReportAuditInfo;
|
|
38813
|
+
isOutdated: boolean;
|
|
38353
38814
|
}
|
|
38354
38815
|
|
|
38355
38816
|
export interface ImaMaterialCheckReportAuditInfo {
|
|
@@ -38380,7 +38841,7 @@ export interface PurchaseOrderMaterialLineDetailsDto {
|
|
|
38380
38841
|
purchaseOrder: string;
|
|
38381
38842
|
lineNumber?: number | null;
|
|
38382
38843
|
dimension?: string | null;
|
|
38383
|
-
|
|
38844
|
+
batches: PurchaseOrderMaterialBatchDto[];
|
|
38384
38845
|
mdsCodeFl?: string | null;
|
|
38385
38846
|
typeOfCertificate?: string | null;
|
|
38386
38847
|
}
|
|
@@ -38529,6 +38990,7 @@ export interface ImaChemistryCompositeSpecificationDto {
|
|
|
38529
38990
|
prenW?: ImaSpecificationLineDto | null;
|
|
38530
38991
|
v_Nb_Ti?: boolean | null;
|
|
38531
38992
|
ce?: boolean | null;
|
|
38993
|
+
nb_Ta?: ImaSpecificationLineDto | null;
|
|
38532
38994
|
}
|
|
38533
38995
|
|
|
38534
38996
|
export interface ImaMechanicalSpecificationDto {
|
|
@@ -38566,7 +39028,7 @@ export interface ImaDocumentTypesSpecificationDto {
|
|
|
38566
39028
|
liquidPenetrantCertificate?: boolean;
|
|
38567
39029
|
magneticParticle?: boolean;
|
|
38568
39030
|
pmi?: boolean;
|
|
38569
|
-
|
|
39031
|
+
dyePenetrantReport?: boolean;
|
|
38570
39032
|
visualReport?: boolean;
|
|
38571
39033
|
dimensionalReport?: boolean;
|
|
38572
39034
|
microExaminationReport?: boolean;
|
|
@@ -38641,6 +39103,133 @@ export interface ImaSpecificationLiteDto {
|
|
|
38641
39103
|
isDeleted: boolean;
|
|
38642
39104
|
}
|
|
38643
39105
|
|
|
39106
|
+
export interface SchemaCreatorStateDto {
|
|
39107
|
+
settings: SchemaCreatorSettingsDto;
|
|
39108
|
+
elements: SchemaCreatorElementDto[];
|
|
39109
|
+
documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
|
|
39110
|
+
isAutoGenerated?: boolean;
|
|
39111
|
+
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
39112
|
+
createdAt?: Date | null;
|
|
39113
|
+
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
39114
|
+
updatedAt?: Date | null;
|
|
39115
|
+
}
|
|
39116
|
+
|
|
39117
|
+
export interface SchemaCreatorSettingsDto {
|
|
39118
|
+
unit?: SchemaCreatorUnitOfMeasureDto;
|
|
39119
|
+
tolerance?: GeneralToleranceDto;
|
|
39120
|
+
balloonSize?: number;
|
|
39121
|
+
transparentBalloons?: boolean;
|
|
39122
|
+
}
|
|
39123
|
+
|
|
39124
|
+
export type SchemaCreatorUnitOfMeasureDto = "Millimeter" | "Inch" | "Mixed";
|
|
39125
|
+
|
|
39126
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
39127
|
+
|
|
39128
|
+
export interface SchemaCreatorElementDto {
|
|
39129
|
+
id: string;
|
|
39130
|
+
kind: SchemaCreatorElementKindDto;
|
|
39131
|
+
drawings: SchemaCreatorElementDrawingsDto;
|
|
39132
|
+
isDirty?: boolean | null;
|
|
39133
|
+
values?: SchemaCreatorElementValuesDto | null;
|
|
39134
|
+
valuesSnapshot?: SchemaCreatorElementValuesDto | null;
|
|
39135
|
+
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
39136
|
+
resolveAttempt?: SchemaCreatorParseAttemptDto | null;
|
|
39137
|
+
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
39138
|
+
createdAt?: Date | null;
|
|
39139
|
+
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
39140
|
+
updatedAt?: Date | null;
|
|
39141
|
+
}
|
|
39142
|
+
|
|
39143
|
+
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
39144
|
+
|
|
39145
|
+
export interface SchemaCreatorElementDrawingsDto {
|
|
39146
|
+
snip: SchemaCreatorSnipDto;
|
|
39147
|
+
balloon: SchemaCreatorPointDto;
|
|
39148
|
+
pageIndex: number;
|
|
39149
|
+
}
|
|
39150
|
+
|
|
39151
|
+
export interface SchemaCreatorSnipDto {
|
|
39152
|
+
rect: SchemaCreatorRectDto;
|
|
39153
|
+
rotation?: number | null;
|
|
39154
|
+
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
39155
|
+
}
|
|
39156
|
+
|
|
39157
|
+
export interface SchemaCreatorRectDto {
|
|
39158
|
+
origin: SchemaCreatorPointDto;
|
|
39159
|
+
size: SchemaCreatorSizeDto;
|
|
39160
|
+
}
|
|
39161
|
+
|
|
39162
|
+
export interface SchemaCreatorPointDto {
|
|
39163
|
+
x: number;
|
|
39164
|
+
y: number;
|
|
39165
|
+
}
|
|
39166
|
+
|
|
39167
|
+
export interface SchemaCreatorSizeDto {
|
|
39168
|
+
width: number;
|
|
39169
|
+
height: number;
|
|
39170
|
+
}
|
|
39171
|
+
|
|
39172
|
+
export interface SchemaCreatorElementValuesDto {
|
|
39173
|
+
reference: number;
|
|
39174
|
+
unit?: UnitOfMeasureDto | null;
|
|
39175
|
+
nominal?: number | null;
|
|
39176
|
+
nominalText?: string | null;
|
|
39177
|
+
upperLimit?: number | null;
|
|
39178
|
+
lowerLimit?: number | null;
|
|
39179
|
+
plusTolerance?: number | null;
|
|
39180
|
+
minusTolerance?: number | null;
|
|
39181
|
+
coatingThickness?: number | null;
|
|
39182
|
+
measurementFrequency: MeasurementFrequency;
|
|
39183
|
+
measurementFrequencyParameter?: number | null;
|
|
39184
|
+
type?: string | null;
|
|
39185
|
+
count?: number | null;
|
|
39186
|
+
comment?: string | null;
|
|
39187
|
+
canCopy: boolean;
|
|
39188
|
+
visibleToCustomer: boolean;
|
|
39189
|
+
isDocumentedExternally: boolean;
|
|
39190
|
+
}
|
|
39191
|
+
|
|
39192
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
39193
|
+
|
|
39194
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
39195
|
+
|
|
39196
|
+
export interface SchemaCreatorSnipResultDto {
|
|
39197
|
+
nominal?: number | null;
|
|
39198
|
+
nominalText?: string | null;
|
|
39199
|
+
type?: string | null;
|
|
39200
|
+
upperLimit?: number | null;
|
|
39201
|
+
lowerLimit?: number | null;
|
|
39202
|
+
plusTolerance?: number | null;
|
|
39203
|
+
minusTolerance?: number | null;
|
|
39204
|
+
count?: number | null;
|
|
39205
|
+
}
|
|
39206
|
+
|
|
39207
|
+
export interface SchemaCreatorParseAttemptDto {
|
|
39208
|
+
startedAt: Date;
|
|
39209
|
+
errorType?: SchemaCreatorParseErrorTypeDto | null;
|
|
39210
|
+
errorMessage?: string | null;
|
|
39211
|
+
}
|
|
39212
|
+
|
|
39213
|
+
export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
|
|
39214
|
+
|
|
39215
|
+
export interface SchemaCreatorAuditInfoDto {
|
|
39216
|
+
objectId: string;
|
|
39217
|
+
userId: string;
|
|
39218
|
+
userFullName?: string | null;
|
|
39219
|
+
}
|
|
39220
|
+
|
|
39221
|
+
export interface SchemaCreatorDocumentParseStatusDto {
|
|
39222
|
+
inProgress: boolean;
|
|
39223
|
+
attempt?: SchemaCreatorParseAttemptDto | null;
|
|
39224
|
+
}
|
|
39225
|
+
|
|
39226
|
+
export interface SchemaCreatorXmlGeometryDto {
|
|
39227
|
+
xmlAttributeId: number;
|
|
39228
|
+
snipRect: SchemaCreatorRectDto;
|
|
39229
|
+
balloon: SchemaCreatorPointDto;
|
|
39230
|
+
pageIndex: number;
|
|
39231
|
+
}
|
|
39232
|
+
|
|
38644
39233
|
export interface MeasurementFormSchemaDto {
|
|
38645
39234
|
id: string;
|
|
38646
39235
|
versionId: number;
|
|
@@ -38675,12 +39264,8 @@ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
|
38675
39264
|
|
|
38676
39265
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
38677
39266
|
|
|
38678
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
38679
|
-
|
|
38680
39267
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
38681
39268
|
|
|
38682
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
38683
|
-
|
|
38684
39269
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
38685
39270
|
url: string;
|
|
38686
39271
|
title: string;
|
|
@@ -38690,6 +39275,7 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
38690
39275
|
id: string;
|
|
38691
39276
|
balloonId?: string | null;
|
|
38692
39277
|
reference: number;
|
|
39278
|
+
originalXmlId?: number | null;
|
|
38693
39279
|
imageUrl?: string | null;
|
|
38694
39280
|
thumbnailUrl?: string | null;
|
|
38695
39281
|
section?: string | null;
|
|
@@ -38731,8 +39317,6 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
38731
39317
|
validationErrorMessage?: string | null;
|
|
38732
39318
|
}
|
|
38733
39319
|
|
|
38734
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
38735
|
-
|
|
38736
39320
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
38737
39321
|
|
|
38738
39322
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
@@ -38859,6 +39443,7 @@ export interface UploadDrawingRequest {
|
|
|
38859
39443
|
export interface UploadRequest {
|
|
38860
39444
|
uploadKey: string;
|
|
38861
39445
|
filename: string;
|
|
39446
|
+
isMarkedDrawing?: boolean | null;
|
|
38862
39447
|
}
|
|
38863
39448
|
|
|
38864
39449
|
export interface MeasurementFormImportStatusDto {
|
|
@@ -38942,6 +39527,8 @@ export interface MeasurementFormCustomerSettingsDto {
|
|
|
38942
39527
|
validationRuleId?: string | null;
|
|
38943
39528
|
requireCalibratedTools: boolean;
|
|
38944
39529
|
allowEmptyToolListInValue: boolean;
|
|
39530
|
+
disableAiParseDocument: boolean;
|
|
39531
|
+
disableAiParseSnip: boolean;
|
|
38945
39532
|
}
|
|
38946
39533
|
|
|
38947
39534
|
export interface UpdateMeasurementFormCustomerSettings {
|
|
@@ -38951,6 +39538,8 @@ export interface UpdateMeasurementFormCustomerSettings {
|
|
|
38951
39538
|
validationRuleId?: string | null;
|
|
38952
39539
|
requireCalibratedTools: boolean;
|
|
38953
39540
|
allowEmptyToolListInValue: boolean;
|
|
39541
|
+
disableAiParseDocument: boolean;
|
|
39542
|
+
disableAiParseSnip: boolean;
|
|
38954
39543
|
}
|
|
38955
39544
|
|
|
38956
39545
|
export interface MeasurementFormMappingDto {
|