@ignos/api-client 20260810.211.1-alpha → 20260810.212.1-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ignosportal-api.d.ts +243 -62
- package/lib/ignosportal-api.js +276 -56
- package/package.json +1 -1
- package/src/ignosportal-api.ts +516 -123
package/src/ignosportal-api.ts
CHANGED
|
@@ -22460,18 +22460,13 @@ export interface IMesProductionOrderAttachmentClient {
|
|
|
22460
22460
|
* @param notes (optional)
|
|
22461
22461
|
* @param url (optional)
|
|
22462
22462
|
*/
|
|
22463
|
-
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<
|
|
22463
|
+
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<FileResponse>;
|
|
22464
22464
|
|
|
22465
22465
|
getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
|
|
22466
22466
|
|
|
22467
|
-
/**
|
|
22468
|
-
* Update an existing Note or Url attachment in place
|
|
22469
|
-
*/
|
|
22470
|
-
updateAttachment(id: string, attachmentId: number, request: UpdateProductionOrderAttachmentRequest): Promise<void>;
|
|
22471
|
-
|
|
22472
22467
|
getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse>;
|
|
22473
22468
|
|
|
22474
|
-
deleteAttachment(id: string, attachmentId: number): Promise<
|
|
22469
|
+
deleteAttachment(id: string, attachmentId: number): Promise<FileResponse>;
|
|
22475
22470
|
}
|
|
22476
22471
|
|
|
22477
22472
|
export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implements IMesProductionOrderAttachmentClient {
|
|
@@ -22492,7 +22487,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22492
22487
|
* @param notes (optional)
|
|
22493
22488
|
* @param url (optional)
|
|
22494
22489
|
*/
|
|
22495
|
-
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<
|
|
22490
|
+
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<FileResponse> {
|
|
22496
22491
|
let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments";
|
|
22497
22492
|
if (id === undefined || id === null)
|
|
22498
22493
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -22517,6 +22512,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22517
22512
|
body: content_,
|
|
22518
22513
|
method: "POST",
|
|
22519
22514
|
headers: {
|
|
22515
|
+
"Accept": "application/octet-stream"
|
|
22520
22516
|
}
|
|
22521
22517
|
};
|
|
22522
22518
|
|
|
@@ -22527,19 +22523,26 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22527
22523
|
});
|
|
22528
22524
|
}
|
|
22529
22525
|
|
|
22530
|
-
protected processUpload(response: Response): Promise<
|
|
22526
|
+
protected processUpload(response: Response): Promise<FileResponse> {
|
|
22531
22527
|
const status = response.status;
|
|
22532
22528
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22533
|
-
if (status ===
|
|
22534
|
-
|
|
22535
|
-
|
|
22536
|
-
|
|
22529
|
+
if (status === 200 || status === 206) {
|
|
22530
|
+
const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
22531
|
+
let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
|
|
22532
|
+
let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
|
|
22533
|
+
if (fileName) {
|
|
22534
|
+
fileName = decodeURIComponent(fileName);
|
|
22535
|
+
} else {
|
|
22536
|
+
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
22537
|
+
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
22538
|
+
}
|
|
22539
|
+
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
22537
22540
|
} else if (status !== 200 && status !== 204) {
|
|
22538
22541
|
return response.text().then((_responseText) => {
|
|
22539
22542
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22540
22543
|
});
|
|
22541
22544
|
}
|
|
22542
|
-
return Promise.resolve<
|
|
22545
|
+
return Promise.resolve<FileResponse>(null as any);
|
|
22543
22546
|
}
|
|
22544
22547
|
|
|
22545
22548
|
getAttachments(id: string): Promise<WorkOrderAttachmentDto[]> {
|
|
@@ -22580,51 +22583,6 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22580
22583
|
return Promise.resolve<WorkOrderAttachmentDto[]>(null as any);
|
|
22581
22584
|
}
|
|
22582
22585
|
|
|
22583
|
-
/**
|
|
22584
|
-
* Update an existing Note or Url attachment in place
|
|
22585
|
-
*/
|
|
22586
|
-
updateAttachment(id: string, attachmentId: number, request: UpdateProductionOrderAttachmentRequest): Promise<void> {
|
|
22587
|
-
let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
|
|
22588
|
-
if (id === undefined || id === null)
|
|
22589
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
22590
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
22591
|
-
if (attachmentId === undefined || attachmentId === null)
|
|
22592
|
-
throw new globalThis.Error("The parameter 'attachmentId' must be defined.");
|
|
22593
|
-
url_ = url_.replace("{attachmentId}", encodeURIComponent("" + attachmentId));
|
|
22594
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
22595
|
-
|
|
22596
|
-
const content_ = JSON.stringify(request);
|
|
22597
|
-
|
|
22598
|
-
let options_: RequestInit = {
|
|
22599
|
-
body: content_,
|
|
22600
|
-
method: "PUT",
|
|
22601
|
-
headers: {
|
|
22602
|
-
"Content-Type": "application/json",
|
|
22603
|
-
}
|
|
22604
|
-
};
|
|
22605
|
-
|
|
22606
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22607
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
22608
|
-
}).then((_response: Response) => {
|
|
22609
|
-
return this.processUpdateAttachment(_response);
|
|
22610
|
-
});
|
|
22611
|
-
}
|
|
22612
|
-
|
|
22613
|
-
protected processUpdateAttachment(response: Response): Promise<void> {
|
|
22614
|
-
const status = response.status;
|
|
22615
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22616
|
-
if (status === 204) {
|
|
22617
|
-
return response.text().then((_responseText) => {
|
|
22618
|
-
return;
|
|
22619
|
-
});
|
|
22620
|
-
} else if (status !== 200 && status !== 204) {
|
|
22621
|
-
return response.text().then((_responseText) => {
|
|
22622
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22623
|
-
});
|
|
22624
|
-
}
|
|
22625
|
-
return Promise.resolve<void>(null as any);
|
|
22626
|
-
}
|
|
22627
|
-
|
|
22628
22586
|
getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse> {
|
|
22629
22587
|
let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
|
|
22630
22588
|
if (id === undefined || id === null)
|
|
@@ -22671,7 +22629,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22671
22629
|
return Promise.resolve<FileResponse>(null as any);
|
|
22672
22630
|
}
|
|
22673
22631
|
|
|
22674
|
-
deleteAttachment(id: string, attachmentId: number): Promise<
|
|
22632
|
+
deleteAttachment(id: string, attachmentId: number): Promise<FileResponse> {
|
|
22675
22633
|
let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
|
|
22676
22634
|
if (id === undefined || id === null)
|
|
22677
22635
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -22684,6 +22642,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22684
22642
|
let options_: RequestInit = {
|
|
22685
22643
|
method: "DELETE",
|
|
22686
22644
|
headers: {
|
|
22645
|
+
"Accept": "application/octet-stream"
|
|
22687
22646
|
}
|
|
22688
22647
|
};
|
|
22689
22648
|
|
|
@@ -22694,19 +22653,26 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22694
22653
|
});
|
|
22695
22654
|
}
|
|
22696
22655
|
|
|
22697
|
-
protected processDeleteAttachment(response: Response): Promise<
|
|
22656
|
+
protected processDeleteAttachment(response: Response): Promise<FileResponse> {
|
|
22698
22657
|
const status = response.status;
|
|
22699
22658
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22700
|
-
if (status ===
|
|
22701
|
-
|
|
22702
|
-
|
|
22703
|
-
|
|
22659
|
+
if (status === 200 || status === 206) {
|
|
22660
|
+
const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
22661
|
+
let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
|
|
22662
|
+
let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
|
|
22663
|
+
if (fileName) {
|
|
22664
|
+
fileName = decodeURIComponent(fileName);
|
|
22665
|
+
} else {
|
|
22666
|
+
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
22667
|
+
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
22668
|
+
}
|
|
22669
|
+
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
22704
22670
|
} else if (status !== 200 && status !== 204) {
|
|
22705
22671
|
return response.text().then((_responseText) => {
|
|
22706
22672
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22707
22673
|
});
|
|
22708
22674
|
}
|
|
22709
|
-
return Promise.resolve<
|
|
22675
|
+
return Promise.resolve<FileResponse>(null as any);
|
|
22710
22676
|
}
|
|
22711
22677
|
}
|
|
22712
22678
|
|
|
@@ -23105,7 +23071,7 @@ export class MesProductionOrderClient extends AuthorizedApiBase implements IMesP
|
|
|
23105
23071
|
|
|
23106
23072
|
export interface IMesProductionScheduleClient {
|
|
23107
23073
|
|
|
23108
|
-
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
23074
|
+
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined, includeDiscussionSummary: boolean | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
23109
23075
|
|
|
23110
23076
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
23111
23077
|
|
|
@@ -23130,7 +23096,7 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
|
|
|
23130
23096
|
this.baseUrl = baseUrl ?? "";
|
|
23131
23097
|
}
|
|
23132
23098
|
|
|
23133
|
-
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined): Promise<PagedResultOfProductionScheduleOperationDto> {
|
|
23099
|
+
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined, includeDiscussionSummary: boolean | undefined): Promise<PagedResultOfProductionScheduleOperationDto> {
|
|
23134
23100
|
let url_ = this.baseUrl + "/mes/productionschedule?";
|
|
23135
23101
|
if (resourceGroup !== undefined && resourceGroup !== null)
|
|
23136
23102
|
url_ += "resourceGroup=" + encodeURIComponent("" + resourceGroup) + "&";
|
|
@@ -23154,6 +23120,10 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
|
|
|
23154
23120
|
url_ += "partName=" + encodeURIComponent("" + partName) + "&";
|
|
23155
23121
|
if (material !== undefined && material !== null)
|
|
23156
23122
|
url_ += "material=" + encodeURIComponent("" + material) + "&";
|
|
23123
|
+
if (includeDiscussionSummary === null)
|
|
23124
|
+
throw new globalThis.Error("The parameter 'includeDiscussionSummary' cannot be null.");
|
|
23125
|
+
else if (includeDiscussionSummary !== undefined)
|
|
23126
|
+
url_ += "includeDiscussionSummary=" + encodeURIComponent("" + includeDiscussionSummary) + "&";
|
|
23157
23127
|
url_ = url_.replace(/[?&]$/, "");
|
|
23158
23128
|
|
|
23159
23129
|
let options_: RequestInit = {
|
|
@@ -25349,6 +25319,273 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
25349
25319
|
}
|
|
25350
25320
|
}
|
|
25351
25321
|
|
|
25322
|
+
export interface IInspectSchemaCreatorClient {
|
|
25323
|
+
|
|
25324
|
+
getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto>;
|
|
25325
|
+
|
|
25326
|
+
/**
|
|
25327
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
25328
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
25329
|
+
*/
|
|
25330
|
+
createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
25331
|
+
|
|
25332
|
+
updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
25333
|
+
|
|
25334
|
+
/**
|
|
25335
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
25336
|
+
returns a temporary download link.
|
|
25337
|
+
*/
|
|
25338
|
+
exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
|
|
25339
|
+
|
|
25340
|
+
/**
|
|
25341
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
25342
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
25343
|
+
* @param image (optional)
|
|
25344
|
+
*/
|
|
25345
|
+
resolveSchemaCreatorSnip(id: string, elementId: string, image: FileParameter | null | undefined): Promise<FileResponse>;
|
|
25346
|
+
}
|
|
25347
|
+
|
|
25348
|
+
export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
25349
|
+
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
25350
|
+
private baseUrl: string;
|
|
25351
|
+
|
|
25352
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
25353
|
+
super(configuration);
|
|
25354
|
+
this.http = http ? http : window as any;
|
|
25355
|
+
this.baseUrl = baseUrl ?? "";
|
|
25356
|
+
}
|
|
25357
|
+
|
|
25358
|
+
getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto> {
|
|
25359
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
25360
|
+
if (id === undefined || id === null)
|
|
25361
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25362
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25363
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
25364
|
+
|
|
25365
|
+
let options_: RequestInit = {
|
|
25366
|
+
method: "GET",
|
|
25367
|
+
headers: {
|
|
25368
|
+
"Accept": "application/json"
|
|
25369
|
+
}
|
|
25370
|
+
};
|
|
25371
|
+
|
|
25372
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25373
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
25374
|
+
}).then((_response: Response) => {
|
|
25375
|
+
return this.processGetSchemaCreatorState(_response);
|
|
25376
|
+
});
|
|
25377
|
+
}
|
|
25378
|
+
|
|
25379
|
+
protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
25380
|
+
const status = response.status;
|
|
25381
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25382
|
+
if (status === 200) {
|
|
25383
|
+
return response.text().then((_responseText) => {
|
|
25384
|
+
let result200: any = null;
|
|
25385
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
25386
|
+
return result200;
|
|
25387
|
+
});
|
|
25388
|
+
} else if (status !== 200 && status !== 204) {
|
|
25389
|
+
return response.text().then((_responseText) => {
|
|
25390
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25391
|
+
});
|
|
25392
|
+
}
|
|
25393
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
25394
|
+
}
|
|
25395
|
+
|
|
25396
|
+
/**
|
|
25397
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
25398
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
25399
|
+
*/
|
|
25400
|
+
createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
25401
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
25402
|
+
if (id === undefined || id === null)
|
|
25403
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25404
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25405
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
25406
|
+
|
|
25407
|
+
const content_ = JSON.stringify(state);
|
|
25408
|
+
|
|
25409
|
+
let options_: RequestInit = {
|
|
25410
|
+
body: content_,
|
|
25411
|
+
method: "POST",
|
|
25412
|
+
headers: {
|
|
25413
|
+
"Content-Type": "application/json",
|
|
25414
|
+
"Accept": "application/json"
|
|
25415
|
+
}
|
|
25416
|
+
};
|
|
25417
|
+
|
|
25418
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25419
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
25420
|
+
}).then((_response: Response) => {
|
|
25421
|
+
return this.processCreateSchemaCreatorState(_response);
|
|
25422
|
+
});
|
|
25423
|
+
}
|
|
25424
|
+
|
|
25425
|
+
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
25426
|
+
const status = response.status;
|
|
25427
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25428
|
+
if (status === 201) {
|
|
25429
|
+
return response.text().then((_responseText) => {
|
|
25430
|
+
let result201: any = null;
|
|
25431
|
+
result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
25432
|
+
return result201;
|
|
25433
|
+
});
|
|
25434
|
+
} else if (status === 409) {
|
|
25435
|
+
return response.text().then((_responseText) => {
|
|
25436
|
+
let result409: any = null;
|
|
25437
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProblemDetails;
|
|
25438
|
+
return throwException("A server side error occurred.", status, _responseText, _headers, result409);
|
|
25439
|
+
});
|
|
25440
|
+
} else if (status !== 200 && status !== 204) {
|
|
25441
|
+
return response.text().then((_responseText) => {
|
|
25442
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25443
|
+
});
|
|
25444
|
+
}
|
|
25445
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
25446
|
+
}
|
|
25447
|
+
|
|
25448
|
+
updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
25449
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
25450
|
+
if (id === undefined || id === null)
|
|
25451
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25452
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25453
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
25454
|
+
|
|
25455
|
+
const content_ = JSON.stringify(state);
|
|
25456
|
+
|
|
25457
|
+
let options_: RequestInit = {
|
|
25458
|
+
body: content_,
|
|
25459
|
+
method: "PUT",
|
|
25460
|
+
headers: {
|
|
25461
|
+
"Content-Type": "application/json",
|
|
25462
|
+
"Accept": "application/json"
|
|
25463
|
+
}
|
|
25464
|
+
};
|
|
25465
|
+
|
|
25466
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25467
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
25468
|
+
}).then((_response: Response) => {
|
|
25469
|
+
return this.processUpdateSchemaCreatorState(_response);
|
|
25470
|
+
});
|
|
25471
|
+
}
|
|
25472
|
+
|
|
25473
|
+
protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
25474
|
+
const status = response.status;
|
|
25475
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25476
|
+
if (status === 200) {
|
|
25477
|
+
return response.text().then((_responseText) => {
|
|
25478
|
+
let result200: any = null;
|
|
25479
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
25480
|
+
return result200;
|
|
25481
|
+
});
|
|
25482
|
+
} else if (status !== 200 && status !== 204) {
|
|
25483
|
+
return response.text().then((_responseText) => {
|
|
25484
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25485
|
+
});
|
|
25486
|
+
}
|
|
25487
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
25488
|
+
}
|
|
25489
|
+
|
|
25490
|
+
/**
|
|
25491
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
25492
|
+
returns a temporary download link.
|
|
25493
|
+
*/
|
|
25494
|
+
exportSchemaCreatorDrawing(id: string): Promise<DownloadDto> {
|
|
25495
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/download";
|
|
25496
|
+
if (id === undefined || id === null)
|
|
25497
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25498
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25499
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
25500
|
+
|
|
25501
|
+
let options_: RequestInit = {
|
|
25502
|
+
method: "POST",
|
|
25503
|
+
headers: {
|
|
25504
|
+
"Accept": "application/json"
|
|
25505
|
+
}
|
|
25506
|
+
};
|
|
25507
|
+
|
|
25508
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25509
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
25510
|
+
}).then((_response: Response) => {
|
|
25511
|
+
return this.processExportSchemaCreatorDrawing(_response);
|
|
25512
|
+
});
|
|
25513
|
+
}
|
|
25514
|
+
|
|
25515
|
+
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto> {
|
|
25516
|
+
const status = response.status;
|
|
25517
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25518
|
+
if (status === 200) {
|
|
25519
|
+
return response.text().then((_responseText) => {
|
|
25520
|
+
let result200: any = null;
|
|
25521
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as DownloadDto;
|
|
25522
|
+
return result200;
|
|
25523
|
+
});
|
|
25524
|
+
} else if (status !== 200 && status !== 204) {
|
|
25525
|
+
return response.text().then((_responseText) => {
|
|
25526
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25527
|
+
});
|
|
25528
|
+
}
|
|
25529
|
+
return Promise.resolve<DownloadDto>(null as any);
|
|
25530
|
+
}
|
|
25531
|
+
|
|
25532
|
+
/**
|
|
25533
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
25534
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
25535
|
+
* @param image (optional)
|
|
25536
|
+
*/
|
|
25537
|
+
resolveSchemaCreatorSnip(id: string, elementId: string, image: FileParameter | null | undefined): Promise<FileResponse> {
|
|
25538
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/elements/{elementId}/resolvesnip";
|
|
25539
|
+
if (id === undefined || id === null)
|
|
25540
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25541
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25542
|
+
if (elementId === undefined || elementId === null)
|
|
25543
|
+
throw new globalThis.Error("The parameter 'elementId' must be defined.");
|
|
25544
|
+
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
25545
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
25546
|
+
|
|
25547
|
+
const content_ = new FormData();
|
|
25548
|
+
if (image !== null && image !== undefined)
|
|
25549
|
+
content_.append("image", image.data, image.fileName ? image.fileName : "image");
|
|
25550
|
+
|
|
25551
|
+
let options_: RequestInit = {
|
|
25552
|
+
body: content_,
|
|
25553
|
+
method: "POST",
|
|
25554
|
+
headers: {
|
|
25555
|
+
"Accept": "application/octet-stream"
|
|
25556
|
+
}
|
|
25557
|
+
};
|
|
25558
|
+
|
|
25559
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25560
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
25561
|
+
}).then((_response: Response) => {
|
|
25562
|
+
return this.processResolveSchemaCreatorSnip(_response);
|
|
25563
|
+
});
|
|
25564
|
+
}
|
|
25565
|
+
|
|
25566
|
+
protected processResolveSchemaCreatorSnip(response: Response): Promise<FileResponse> {
|
|
25567
|
+
const status = response.status;
|
|
25568
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25569
|
+
if (status === 200 || status === 206) {
|
|
25570
|
+
const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
25571
|
+
let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
|
|
25572
|
+
let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
|
|
25573
|
+
if (fileName) {
|
|
25574
|
+
fileName = decodeURIComponent(fileName);
|
|
25575
|
+
} else {
|
|
25576
|
+
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
25577
|
+
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
25578
|
+
}
|
|
25579
|
+
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
25580
|
+
} else if (status !== 200 && status !== 204) {
|
|
25581
|
+
return response.text().then((_responseText) => {
|
|
25582
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25583
|
+
});
|
|
25584
|
+
}
|
|
25585
|
+
return Promise.resolve<FileResponse>(null as any);
|
|
25586
|
+
}
|
|
25587
|
+
}
|
|
25588
|
+
|
|
25352
25589
|
export interface IMeasurementFormSchemasAdminClient {
|
|
25353
25590
|
|
|
25354
25591
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
@@ -32796,6 +33033,7 @@ export interface MrbInstanceRevisionDto {
|
|
|
32796
33033
|
status: DocumentStatus;
|
|
32797
33034
|
statusDate: Date;
|
|
32798
33035
|
sentToCustomerInfo?: MrbSentInfoDto | null;
|
|
33036
|
+
contentStatus?: MrbContentDocumentStatusDto | null;
|
|
32799
33037
|
}
|
|
32800
33038
|
|
|
32801
33039
|
export type DocumentStatus = "None" | "Draft" | "ForInternalApproval" | "InternalRejected" | "Approved" | "Voided";
|
|
@@ -32805,6 +33043,13 @@ export interface MrbSentInfoDto {
|
|
|
32805
33043
|
sentBy: UserDto;
|
|
32806
33044
|
}
|
|
32807
33045
|
|
|
33046
|
+
export interface MrbContentDocumentStatusDto {
|
|
33047
|
+
total: number;
|
|
33048
|
+
ready: number;
|
|
33049
|
+
missing: number;
|
|
33050
|
+
optional: number;
|
|
33051
|
+
}
|
|
33052
|
+
|
|
32808
33053
|
export interface MrbPartDto {
|
|
32809
33054
|
partNumber?: string | null;
|
|
32810
33055
|
partName?: string | null;
|
|
@@ -32865,13 +33110,6 @@ export interface MrbExtraDocumentDto {
|
|
|
32865
33110
|
documentType: string;
|
|
32866
33111
|
}
|
|
32867
33112
|
|
|
32868
|
-
export interface MrbContentDocumentStatusDto {
|
|
32869
|
-
total: number;
|
|
32870
|
-
ready: number;
|
|
32871
|
-
missing: number;
|
|
32872
|
-
optional: number;
|
|
32873
|
-
}
|
|
32874
|
-
|
|
32875
33113
|
export interface MrbPdfExportJobDto {
|
|
32876
33114
|
jobId: string;
|
|
32877
33115
|
mrbInstanceId: string;
|
|
@@ -35752,7 +35990,6 @@ export interface ListProductionOrdersRequest {
|
|
|
35752
35990
|
export interface PlannerPlanDto {
|
|
35753
35991
|
resourceGroupId: string;
|
|
35754
35992
|
sequence: PlannerOperationDto[];
|
|
35755
|
-
lockedCount: number;
|
|
35756
35993
|
planSavedAt?: Date | null;
|
|
35757
35994
|
isDraft: boolean;
|
|
35758
35995
|
publishedETag?: string | null;
|
|
@@ -35782,12 +36019,51 @@ export interface PlannerOperationDto {
|
|
|
35782
36019
|
project?: WorkOrderProjectDto | null;
|
|
35783
36020
|
sequenceNumber: number;
|
|
35784
36021
|
isManuallyLocked: boolean;
|
|
36022
|
+
lockType: PlannerLockType;
|
|
36023
|
+
isNewOperation: boolean;
|
|
35785
36024
|
weekGroup: string;
|
|
35786
36025
|
programStatus?: ProgramStatus | null;
|
|
36026
|
+
hasNotes?: boolean;
|
|
36027
|
+
notesUnread?: boolean;
|
|
36028
|
+
availableToStartQuantity: number;
|
|
36029
|
+
earlierOperationsScrappedQuantity: number;
|
|
36030
|
+
startedQuantity?: number | null;
|
|
36031
|
+
prerequisites: OperationPrerequisitesDto;
|
|
36032
|
+
drawing?: DrawingDto | null;
|
|
36033
|
+
drawingNumber?: string | null;
|
|
36034
|
+
description?: string | null;
|
|
35787
36035
|
}
|
|
35788
36036
|
|
|
36037
|
+
export type PlannerLockType = "None" | "Manual" | "Auto";
|
|
36038
|
+
|
|
35789
36039
|
export type ProgramStatus = "Blank" | "NotOk" | "Ok";
|
|
35790
36040
|
|
|
36041
|
+
export interface OperationPrerequisitesDto {
|
|
36042
|
+
drawing?: boolean | null;
|
|
36043
|
+
materials: MaterialsPrerequisiteDto;
|
|
36044
|
+
cncProgram?: boolean | null;
|
|
36045
|
+
}
|
|
36046
|
+
|
|
36047
|
+
export interface MaterialsPrerequisiteDto {
|
|
36048
|
+
numberOfPartsCoveredByOnHand?: number | null;
|
|
36049
|
+
materialStatus?: MaterialStatusDto;
|
|
36050
|
+
}
|
|
36051
|
+
|
|
36052
|
+
export type MaterialStatusDto = "NotRequired" | "NotAvailable" | "PartiallyAvailable" | "Available" | "FullyConsumed" | "Unknown";
|
|
36053
|
+
|
|
36054
|
+
export interface DrawingDto {
|
|
36055
|
+
drawingNumber: string;
|
|
36056
|
+
revision: string;
|
|
36057
|
+
status: string;
|
|
36058
|
+
files: DrawingFileDto[];
|
|
36059
|
+
}
|
|
36060
|
+
|
|
36061
|
+
export interface DrawingFileDto {
|
|
36062
|
+
id: number;
|
|
36063
|
+
name: string;
|
|
36064
|
+
comment?: string;
|
|
36065
|
+
}
|
|
36066
|
+
|
|
35791
36067
|
export interface WeekCapacityDto {
|
|
35792
36068
|
weekGroup: string;
|
|
35793
36069
|
weekStart: Date;
|
|
@@ -35806,7 +36082,6 @@ persisted active plan (draft, else published) is published instead. */
|
|
|
35806
36082
|
|
|
35807
36083
|
export interface PlannerSequenceInput {
|
|
35808
36084
|
orderedOperationKeys: string[];
|
|
35809
|
-
lockedCount: number;
|
|
35810
36085
|
weekGroups?: { [key: string]: string; } | null;
|
|
35811
36086
|
}
|
|
35812
36087
|
|
|
@@ -35817,7 +36092,6 @@ export interface PlannerPlanEventDto {
|
|
|
35817
36092
|
by?: string | null;
|
|
35818
36093
|
comment?: string | null;
|
|
35819
36094
|
operationCount: number;
|
|
35820
|
-
lockedCount: number;
|
|
35821
36095
|
}
|
|
35822
36096
|
|
|
35823
36097
|
export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp";
|
|
@@ -35830,13 +36104,6 @@ export interface SetProgramStatus {
|
|
|
35830
36104
|
|
|
35831
36105
|
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
|
|
35832
36106
|
|
|
35833
|
-
export interface UpdateProductionOrderAttachmentRequest {
|
|
35834
|
-
type?: ProductionOrderAttachmentType;
|
|
35835
|
-
description: string;
|
|
35836
|
-
notes?: string | null;
|
|
35837
|
-
url?: string | null;
|
|
35838
|
-
}
|
|
35839
|
-
|
|
35840
36107
|
export interface WorkOrderAttachmentDto {
|
|
35841
36108
|
createdBy?: UserDto | null;
|
|
35842
36109
|
created?: Date | null;
|
|
@@ -35847,7 +36114,6 @@ export interface WorkOrderAttachmentDto {
|
|
|
35847
36114
|
fileName?: string | null;
|
|
35848
36115
|
notes?: string | null;
|
|
35849
36116
|
attachmentType?: string | null;
|
|
35850
|
-
canDelete?: boolean;
|
|
35851
36117
|
}
|
|
35852
36118
|
|
|
35853
36119
|
export interface ProductionOrderDto {
|
|
@@ -35910,19 +36176,6 @@ export interface ProductionOrderOperationDto {
|
|
|
35910
36176
|
setupStatus?: OperationStatusDto | null;
|
|
35911
36177
|
}
|
|
35912
36178
|
|
|
35913
|
-
export interface DrawingDto {
|
|
35914
|
-
drawingNumber: string;
|
|
35915
|
-
revision: string;
|
|
35916
|
-
status: string;
|
|
35917
|
-
files: DrawingFileDto[];
|
|
35918
|
-
}
|
|
35919
|
-
|
|
35920
|
-
export interface DrawingFileDto {
|
|
35921
|
-
id: number;
|
|
35922
|
-
name: string;
|
|
35923
|
-
comment?: string;
|
|
35924
|
-
}
|
|
35925
|
-
|
|
35926
36179
|
export interface ProductionOrderBomDto {
|
|
35927
36180
|
position: string;
|
|
35928
36181
|
lineNumber: number;
|
|
@@ -36127,6 +36380,8 @@ export interface ProductionScheduleOperationDto {
|
|
|
36127
36380
|
productionStatus: OperationStatusDto;
|
|
36128
36381
|
setupStatus?: OperationStatusDto | null;
|
|
36129
36382
|
programStatus?: ProgramStatus | null;
|
|
36383
|
+
hasNotes: boolean;
|
|
36384
|
+
notesUnread: boolean;
|
|
36130
36385
|
}
|
|
36131
36386
|
|
|
36132
36387
|
export interface SurroundingOperationDto {
|
|
@@ -36149,19 +36404,6 @@ export interface SurroundingOperationDto {
|
|
|
36149
36404
|
startedQuantity?: number | null;
|
|
36150
36405
|
}
|
|
36151
36406
|
|
|
36152
|
-
export interface OperationPrerequisitesDto {
|
|
36153
|
-
drawing?: boolean | null;
|
|
36154
|
-
materials: MaterialsPrerequisiteDto;
|
|
36155
|
-
cncProgram?: boolean | null;
|
|
36156
|
-
}
|
|
36157
|
-
|
|
36158
|
-
export interface MaterialsPrerequisiteDto {
|
|
36159
|
-
numberOfPartsCoveredByOnHand?: number | null;
|
|
36160
|
-
materialStatus?: MaterialStatusDto;
|
|
36161
|
-
}
|
|
36162
|
-
|
|
36163
|
-
export type MaterialStatusDto = "NotRequired" | "NotAvailable" | "PartiallyAvailable" | "Available" | "FullyConsumed" | "Unknown";
|
|
36164
|
-
|
|
36165
36407
|
export type MaterialPickStatus = "NotRequired" | "NotStarted" | "Started" | "Completed" | "Unknown";
|
|
36166
36408
|
|
|
36167
36409
|
export interface ListProductionScheduleOperationsRequest {
|
|
@@ -36194,6 +36436,7 @@ export interface ListProductionScheduleOperationsRequest {
|
|
|
36194
36436
|
operationStatuses?: OperationStatusDto[] | null;
|
|
36195
36437
|
after?: Date | null;
|
|
36196
36438
|
before?: Date | null;
|
|
36439
|
+
includeDiscussionSummary?: boolean;
|
|
36197
36440
|
}
|
|
36198
36441
|
|
|
36199
36442
|
export interface ProductionScheduleFiltersDto {
|
|
@@ -36808,7 +37051,7 @@ export interface ImaChemicalAnalysisResultDto {
|
|
|
36808
37051
|
sampleReference?: string | null;
|
|
36809
37052
|
analysisType?: string | null;
|
|
36810
37053
|
elements: ImaChemicalAnalysisElementsResultDto;
|
|
36811
|
-
|
|
37054
|
+
composite: ImaChemicalAnalysisCompositeResultDto;
|
|
36812
37055
|
testStandards: string[];
|
|
36813
37056
|
}
|
|
36814
37057
|
|
|
@@ -36854,9 +37097,22 @@ export interface ImaSpecificationResultLineDto {
|
|
|
36854
37097
|
|
|
36855
37098
|
export type ImaSpecificationResultLineStatusDto = "NotFound" | "NotOk" | "Ok" | "NotSet";
|
|
36856
37099
|
|
|
36857
|
-
export interface
|
|
36858
|
-
|
|
36859
|
-
|
|
37100
|
+
export interface ImaChemicalAnalysisCompositeResultDto {
|
|
37101
|
+
pren?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37102
|
+
pren22?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37103
|
+
pren30?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37104
|
+
prenW?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37105
|
+
v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37106
|
+
ce?: ImaSpecificationCalculatedResultLineDto | null;
|
|
37107
|
+
}
|
|
37108
|
+
|
|
37109
|
+
export interface ImaSpecificationCalculatedResultLineDto {
|
|
37110
|
+
specificationMin?: number | null;
|
|
37111
|
+
specificationMax?: number | null;
|
|
37112
|
+
readValue?: string | null;
|
|
37113
|
+
calculatedValue?: string | null;
|
|
37114
|
+
errorString?: string | null;
|
|
37115
|
+
status: ImaSpecificationResultLineStatusDto;
|
|
36860
37116
|
override?: ImaResultLineOverrideDto | null;
|
|
36861
37117
|
}
|
|
36862
37118
|
|
|
@@ -36979,7 +37235,7 @@ export interface ImaDocumentTypesResultsDto {
|
|
|
36979
37235
|
|
|
36980
37236
|
export interface ImaOverrideMaterialCheckRequestDto {
|
|
36981
37237
|
certificateTypeSection?: ImaOverrideCertificateTypeResultsDto | null;
|
|
36982
|
-
chemicalAnalysisSection?:
|
|
37238
|
+
chemicalAnalysisSection?: ImaOverrideChemicalAnalysisResultsDto[] | null;
|
|
36983
37239
|
tensileTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36984
37240
|
hardnessTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
36985
37241
|
impactTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -37048,6 +37304,55 @@ export interface ImaOverrideCertificateTypeTestMethodsAndReferencesResultsDto {
|
|
|
37048
37304
|
usedStandards?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37049
37305
|
}
|
|
37050
37306
|
|
|
37307
|
+
export interface ImaOverrideChemicalAnalysisResultsDto {
|
|
37308
|
+
heatNumber?: string | null;
|
|
37309
|
+
sampleReference?: string | null;
|
|
37310
|
+
analysisType?: string | null;
|
|
37311
|
+
elements?: ImaOverrideChemicalAnalysisElementsResultsDto | null;
|
|
37312
|
+
composite?: ImaOverrideChemicalAnalysisCompositeResultsDto | null;
|
|
37313
|
+
}
|
|
37314
|
+
|
|
37315
|
+
export interface ImaOverrideChemicalAnalysisElementsResultsDto {
|
|
37316
|
+
carbon?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37317
|
+
manganese?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37318
|
+
silicon?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37319
|
+
phosphorus?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37320
|
+
sulfur?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37321
|
+
chromium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37322
|
+
nickel?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37323
|
+
molybdenum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37324
|
+
copper?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37325
|
+
nitrogen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37326
|
+
wolfram?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37327
|
+
titanium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37328
|
+
aluminum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37329
|
+
niobium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37330
|
+
tantalum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37331
|
+
cobalt?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37332
|
+
boron?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37333
|
+
lead?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37334
|
+
selenium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37335
|
+
bismuth?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37336
|
+
iron?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37337
|
+
vanadium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37338
|
+
oxygen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37339
|
+
calcium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37340
|
+
arsenic?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37341
|
+
tin?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37342
|
+
antimony?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37343
|
+
hydrogen?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37344
|
+
zirconium?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37345
|
+
}
|
|
37346
|
+
|
|
37347
|
+
export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
|
|
37348
|
+
pren?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37349
|
+
pren22?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37350
|
+
pren30?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37351
|
+
prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37352
|
+
v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37353
|
+
ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37354
|
+
}
|
|
37355
|
+
|
|
37051
37356
|
export interface ImaOverrideDocumentTypesResultsDto {
|
|
37052
37357
|
ultrasonicControlCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37053
37358
|
radiologicalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -37284,6 +37589,7 @@ export interface ImaSpecificationDto {
|
|
|
37284
37589
|
updated: Date;
|
|
37285
37590
|
isDeleted: boolean;
|
|
37286
37591
|
chemistrySpecification: ImaChemistrySpecificationDto;
|
|
37592
|
+
chemistryCompositeSpecification: ImaChemistryCompositeSpecificationDto;
|
|
37287
37593
|
mechanicalSpecification: ImaMechanicalSpecificationDto;
|
|
37288
37594
|
ferriteSpecification: ImaFerriteSpecificationDto;
|
|
37289
37595
|
documentTypesSpecification: ImaDocumentTypesSpecificationDto;
|
|
@@ -37332,6 +37638,15 @@ export interface ImaSpecificationLineDto {
|
|
|
37332
37638
|
max?: number | null;
|
|
37333
37639
|
}
|
|
37334
37640
|
|
|
37641
|
+
export interface ImaChemistryCompositeSpecificationDto {
|
|
37642
|
+
pren?: ImaSpecificationLineDto | null;
|
|
37643
|
+
pren22?: ImaSpecificationLineDto | null;
|
|
37644
|
+
pren30?: ImaSpecificationLineDto | null;
|
|
37645
|
+
prenW?: ImaSpecificationLineDto | null;
|
|
37646
|
+
v_Nb_Ti?: boolean | null;
|
|
37647
|
+
ce?: boolean | null;
|
|
37648
|
+
}
|
|
37649
|
+
|
|
37335
37650
|
export interface ImaMechanicalSpecificationDto {
|
|
37336
37651
|
yieldStrength?: ImaSpecificationLineDto | null;
|
|
37337
37652
|
tensileStrength?: ImaSpecificationLineDto | null;
|
|
@@ -37401,6 +37716,7 @@ export interface ImaUpdateSpecificationDto {
|
|
|
37401
37716
|
summary?: string | null;
|
|
37402
37717
|
relatedStandards?: string[] | null;
|
|
37403
37718
|
chemistrySpecification?: ImaChemistrySpecificationDto | null;
|
|
37719
|
+
chemistryCompositeSpecification?: ImaChemistryCompositeSpecificationDto | null;
|
|
37404
37720
|
mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
|
|
37405
37721
|
ferriteSpecification?: ImaFerriteSpecificationDto | null;
|
|
37406
37722
|
documentTypesSpecification?: ImaDocumentTypesSpecificationDto | null;
|
|
@@ -37428,6 +37744,89 @@ export interface ImaSpecificationLiteDto {
|
|
|
37428
37744
|
isDeleted: boolean;
|
|
37429
37745
|
}
|
|
37430
37746
|
|
|
37747
|
+
export interface SchemaCreatorStateDto {
|
|
37748
|
+
settings: SchemaCreatorSettingsDto;
|
|
37749
|
+
elements: SchemaCreatorElementDto[];
|
|
37750
|
+
}
|
|
37751
|
+
|
|
37752
|
+
export interface SchemaCreatorSettingsDto {
|
|
37753
|
+
unit?: UnitOfMeasureDto;
|
|
37754
|
+
tolerance?: GeneralToleranceDto;
|
|
37755
|
+
balloonSize?: number;
|
|
37756
|
+
}
|
|
37757
|
+
|
|
37758
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
37759
|
+
|
|
37760
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
37761
|
+
|
|
37762
|
+
export interface SchemaCreatorElementDto {
|
|
37763
|
+
id: string;
|
|
37764
|
+
kind: SchemaCreatorElementKindDto;
|
|
37765
|
+
drawings: SchemaCreatorElementDrawingsDto;
|
|
37766
|
+
isDirty?: boolean | null;
|
|
37767
|
+
values?: SchemaCreatorElementValuesDto | null;
|
|
37768
|
+
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
37769
|
+
}
|
|
37770
|
+
|
|
37771
|
+
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
37772
|
+
|
|
37773
|
+
export interface SchemaCreatorElementDrawingsDto {
|
|
37774
|
+
square: SchemaCreatorDrawingDto;
|
|
37775
|
+
circle: SchemaCreatorDrawingDto;
|
|
37776
|
+
textId: string;
|
|
37777
|
+
}
|
|
37778
|
+
|
|
37779
|
+
export interface SchemaCreatorDrawingDto {
|
|
37780
|
+
rect: SchemaCreatorRectDto;
|
|
37781
|
+
pageIndex: number;
|
|
37782
|
+
annotationId: string;
|
|
37783
|
+
rotation?: number | null;
|
|
37784
|
+
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
37785
|
+
}
|
|
37786
|
+
|
|
37787
|
+
export interface SchemaCreatorRectDto {
|
|
37788
|
+
origin: SchemaCreatorPointDto;
|
|
37789
|
+
size: SchemaCreatorSizeDto;
|
|
37790
|
+
}
|
|
37791
|
+
|
|
37792
|
+
export interface SchemaCreatorPointDto {
|
|
37793
|
+
x: number;
|
|
37794
|
+
y: number;
|
|
37795
|
+
}
|
|
37796
|
+
|
|
37797
|
+
export interface SchemaCreatorSizeDto {
|
|
37798
|
+
width: number;
|
|
37799
|
+
height: number;
|
|
37800
|
+
}
|
|
37801
|
+
|
|
37802
|
+
export interface SchemaCreatorElementValuesDto {
|
|
37803
|
+
reference: number;
|
|
37804
|
+
nominal?: number | null;
|
|
37805
|
+
nominalText?: string | null;
|
|
37806
|
+
plusTolerance?: number | null;
|
|
37807
|
+
minusTolerance?: number | null;
|
|
37808
|
+
coatingThickness?: number | null;
|
|
37809
|
+
measurementFrequency: MeasurementFrequency;
|
|
37810
|
+
measurementFrequencyParameter?: number | null;
|
|
37811
|
+
type?: string | null;
|
|
37812
|
+
count?: number | null;
|
|
37813
|
+
comment?: string | null;
|
|
37814
|
+
canCopy: boolean;
|
|
37815
|
+
visibleToCustomer: boolean;
|
|
37816
|
+
isDocumentedExternally: boolean;
|
|
37817
|
+
}
|
|
37818
|
+
|
|
37819
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
37820
|
+
|
|
37821
|
+
export interface SchemaCreatorSnipResultDto {
|
|
37822
|
+
nominal?: number | null;
|
|
37823
|
+
nominalText?: string | null;
|
|
37824
|
+
plusTolerance?: number | null;
|
|
37825
|
+
minusTolerance?: number | null;
|
|
37826
|
+
coatingThickness?: number | null;
|
|
37827
|
+
count?: number | null;
|
|
37828
|
+
}
|
|
37829
|
+
|
|
37431
37830
|
export interface MeasurementFormSchemaDto {
|
|
37432
37831
|
id: string;
|
|
37433
37832
|
versionId: number;
|
|
@@ -37462,12 +37861,8 @@ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
|
37462
37861
|
|
|
37463
37862
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
37464
37863
|
|
|
37465
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
37466
|
-
|
|
37467
37864
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
37468
37865
|
|
|
37469
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
37470
|
-
|
|
37471
37866
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
37472
37867
|
url: string;
|
|
37473
37868
|
title: string;
|
|
@@ -37518,8 +37913,6 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
37518
37913
|
validationErrorMessage?: string | null;
|
|
37519
37914
|
}
|
|
37520
37915
|
|
|
37521
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
37522
|
-
|
|
37523
37916
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
37524
37917
|
|
|
37525
37918
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|