@ignos/api-client 20260810.212.1-alpha → 20260810.214.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 +80 -253
- package/lib/ignosportal-api.js +56 -276
- package/package.json +1 -1
- package/src/ignosportal-api.ts +144 -528
package/src/ignosportal-api.ts
CHANGED
|
@@ -22460,13 +22460,18 @@ 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<void>;
|
|
22464
22464
|
|
|
22465
|
-
getAttachments(id: string): Promise<
|
|
22465
|
+
getAttachments(id: string): Promise<ProductionOrderAttachmentDto[]>;
|
|
22466
|
+
|
|
22467
|
+
/**
|
|
22468
|
+
* Update an existing Note or Url attachment in place
|
|
22469
|
+
*/
|
|
22470
|
+
updateAttachment(id: string, attachmentId: number, request: UpdateProductionOrderAttachmentRequest): Promise<void>;
|
|
22466
22471
|
|
|
22467
22472
|
getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse>;
|
|
22468
22473
|
|
|
22469
|
-
deleteAttachment(id: string, attachmentId: number): Promise<
|
|
22474
|
+
deleteAttachment(id: string, attachmentId: number): Promise<void>;
|
|
22470
22475
|
}
|
|
22471
22476
|
|
|
22472
22477
|
export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implements IMesProductionOrderAttachmentClient {
|
|
@@ -22487,7 +22492,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22487
22492
|
* @param notes (optional)
|
|
22488
22493
|
* @param url (optional)
|
|
22489
22494
|
*/
|
|
22490
|
-
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<
|
|
22495
|
+
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<void> {
|
|
22491
22496
|
let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments";
|
|
22492
22497
|
if (id === undefined || id === null)
|
|
22493
22498
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -22512,7 +22517,6 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22512
22517
|
body: content_,
|
|
22513
22518
|
method: "POST",
|
|
22514
22519
|
headers: {
|
|
22515
|
-
"Accept": "application/octet-stream"
|
|
22516
22520
|
}
|
|
22517
22521
|
};
|
|
22518
22522
|
|
|
@@ -22523,29 +22527,22 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22523
22527
|
});
|
|
22524
22528
|
}
|
|
22525
22529
|
|
|
22526
|
-
protected processUpload(response: Response): Promise<
|
|
22530
|
+
protected processUpload(response: Response): Promise<void> {
|
|
22527
22531
|
const status = response.status;
|
|
22528
22532
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22529
|
-
if (status ===
|
|
22530
|
-
|
|
22531
|
-
|
|
22532
|
-
|
|
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 }; });
|
|
22533
|
+
if (status === 204) {
|
|
22534
|
+
return response.text().then((_responseText) => {
|
|
22535
|
+
return;
|
|
22536
|
+
});
|
|
22540
22537
|
} else if (status !== 200 && status !== 204) {
|
|
22541
22538
|
return response.text().then((_responseText) => {
|
|
22542
22539
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22543
22540
|
});
|
|
22544
22541
|
}
|
|
22545
|
-
return Promise.resolve<
|
|
22542
|
+
return Promise.resolve<void>(null as any);
|
|
22546
22543
|
}
|
|
22547
22544
|
|
|
22548
|
-
getAttachments(id: string): Promise<
|
|
22545
|
+
getAttachments(id: string): Promise<ProductionOrderAttachmentDto[]> {
|
|
22549
22546
|
let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments";
|
|
22550
22547
|
if (id === undefined || id === null)
|
|
22551
22548
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -22566,13 +22563,13 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22566
22563
|
});
|
|
22567
22564
|
}
|
|
22568
22565
|
|
|
22569
|
-
protected processGetAttachments(response: Response): Promise<
|
|
22566
|
+
protected processGetAttachments(response: Response): Promise<ProductionOrderAttachmentDto[]> {
|
|
22570
22567
|
const status = response.status;
|
|
22571
22568
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22572
22569
|
if (status === 200) {
|
|
22573
22570
|
return response.text().then((_responseText) => {
|
|
22574
22571
|
let result200: any = null;
|
|
22575
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as
|
|
22572
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProductionOrderAttachmentDto[];
|
|
22576
22573
|
return result200;
|
|
22577
22574
|
});
|
|
22578
22575
|
} else if (status !== 200 && status !== 204) {
|
|
@@ -22580,7 +22577,52 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22580
22577
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22581
22578
|
});
|
|
22582
22579
|
}
|
|
22583
|
-
return Promise.resolve<
|
|
22580
|
+
return Promise.resolve<ProductionOrderAttachmentDto[]>(null as any);
|
|
22581
|
+
}
|
|
22582
|
+
|
|
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);
|
|
22584
22626
|
}
|
|
22585
22627
|
|
|
22586
22628
|
getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse> {
|
|
@@ -22629,7 +22671,7 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22629
22671
|
return Promise.resolve<FileResponse>(null as any);
|
|
22630
22672
|
}
|
|
22631
22673
|
|
|
22632
|
-
deleteAttachment(id: string, attachmentId: number): Promise<
|
|
22674
|
+
deleteAttachment(id: string, attachmentId: number): Promise<void> {
|
|
22633
22675
|
let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
|
|
22634
22676
|
if (id === undefined || id === null)
|
|
22635
22677
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -22642,7 +22684,6 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22642
22684
|
let options_: RequestInit = {
|
|
22643
22685
|
method: "DELETE",
|
|
22644
22686
|
headers: {
|
|
22645
|
-
"Accept": "application/octet-stream"
|
|
22646
22687
|
}
|
|
22647
22688
|
};
|
|
22648
22689
|
|
|
@@ -22653,26 +22694,19 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase implem
|
|
|
22653
22694
|
});
|
|
22654
22695
|
}
|
|
22655
22696
|
|
|
22656
|
-
protected processDeleteAttachment(response: Response): Promise<
|
|
22697
|
+
protected processDeleteAttachment(response: Response): Promise<void> {
|
|
22657
22698
|
const status = response.status;
|
|
22658
22699
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22659
|
-
if (status ===
|
|
22660
|
-
|
|
22661
|
-
|
|
22662
|
-
|
|
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 }; });
|
|
22700
|
+
if (status === 204) {
|
|
22701
|
+
return response.text().then((_responseText) => {
|
|
22702
|
+
return;
|
|
22703
|
+
});
|
|
22670
22704
|
} else if (status !== 200 && status !== 204) {
|
|
22671
22705
|
return response.text().then((_responseText) => {
|
|
22672
22706
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22673
22707
|
});
|
|
22674
22708
|
}
|
|
22675
|
-
return Promise.resolve<
|
|
22709
|
+
return Promise.resolve<void>(null as any);
|
|
22676
22710
|
}
|
|
22677
22711
|
}
|
|
22678
22712
|
|
|
@@ -23071,7 +23105,7 @@ export class MesProductionOrderClient extends AuthorizedApiBase implements IMesP
|
|
|
23071
23105
|
|
|
23072
23106
|
export interface IMesProductionScheduleClient {
|
|
23073
23107
|
|
|
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
|
|
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>;
|
|
23075
23109
|
|
|
23076
23110
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
23077
23111
|
|
|
@@ -23096,7 +23130,7 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
|
|
|
23096
23130
|
this.baseUrl = baseUrl ?? "";
|
|
23097
23131
|
}
|
|
23098
23132
|
|
|
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
|
|
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> {
|
|
23100
23134
|
let url_ = this.baseUrl + "/mes/productionschedule?";
|
|
23101
23135
|
if (resourceGroup !== undefined && resourceGroup !== null)
|
|
23102
23136
|
url_ += "resourceGroup=" + encodeURIComponent("" + resourceGroup) + "&";
|
|
@@ -23120,10 +23154,6 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
|
|
|
23120
23154
|
url_ += "partName=" + encodeURIComponent("" + partName) + "&";
|
|
23121
23155
|
if (material !== undefined && material !== null)
|
|
23122
23156
|
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) + "&";
|
|
23127
23157
|
url_ = url_.replace(/[?&]$/, "");
|
|
23128
23158
|
|
|
23129
23159
|
let options_: RequestInit = {
|
|
@@ -25319,273 +25349,6 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
25319
25349
|
}
|
|
25320
25350
|
}
|
|
25321
25351
|
|
|
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
|
-
|
|
25589
25352
|
export interface IMeasurementFormSchemasAdminClient {
|
|
25590
25353
|
|
|
25591
25354
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
@@ -33033,7 +32796,6 @@ export interface MrbInstanceRevisionDto {
|
|
|
33033
32796
|
status: DocumentStatus;
|
|
33034
32797
|
statusDate: Date;
|
|
33035
32798
|
sentToCustomerInfo?: MrbSentInfoDto | null;
|
|
33036
|
-
contentStatus?: MrbContentDocumentStatusDto | null;
|
|
33037
32799
|
}
|
|
33038
32800
|
|
|
33039
32801
|
export type DocumentStatus = "None" | "Draft" | "ForInternalApproval" | "InternalRejected" | "Approved" | "Voided";
|
|
@@ -33043,13 +32805,6 @@ export interface MrbSentInfoDto {
|
|
|
33043
32805
|
sentBy: UserDto;
|
|
33044
32806
|
}
|
|
33045
32807
|
|
|
33046
|
-
export interface MrbContentDocumentStatusDto {
|
|
33047
|
-
total: number;
|
|
33048
|
-
ready: number;
|
|
33049
|
-
missing: number;
|
|
33050
|
-
optional: number;
|
|
33051
|
-
}
|
|
33052
|
-
|
|
33053
32808
|
export interface MrbPartDto {
|
|
33054
32809
|
partNumber?: string | null;
|
|
33055
32810
|
partName?: string | null;
|
|
@@ -33110,6 +32865,13 @@ export interface MrbExtraDocumentDto {
|
|
|
33110
32865
|
documentType: string;
|
|
33111
32866
|
}
|
|
33112
32867
|
|
|
32868
|
+
export interface MrbContentDocumentStatusDto {
|
|
32869
|
+
total: number;
|
|
32870
|
+
ready: number;
|
|
32871
|
+
missing: number;
|
|
32872
|
+
optional: number;
|
|
32873
|
+
}
|
|
32874
|
+
|
|
33113
32875
|
export interface MrbPdfExportJobDto {
|
|
33114
32876
|
jobId: string;
|
|
33115
32877
|
mrbInstanceId: string;
|
|
@@ -35990,6 +35752,7 @@ export interface ListProductionOrdersRequest {
|
|
|
35990
35752
|
export interface PlannerPlanDto {
|
|
35991
35753
|
resourceGroupId: string;
|
|
35992
35754
|
sequence: PlannerOperationDto[];
|
|
35755
|
+
lockedCount: number;
|
|
35993
35756
|
planSavedAt?: Date | null;
|
|
35994
35757
|
isDraft: boolean;
|
|
35995
35758
|
publishedETag?: string | null;
|
|
@@ -36019,51 +35782,12 @@ export interface PlannerOperationDto {
|
|
|
36019
35782
|
project?: WorkOrderProjectDto | null;
|
|
36020
35783
|
sequenceNumber: number;
|
|
36021
35784
|
isManuallyLocked: boolean;
|
|
36022
|
-
lockType: PlannerLockType;
|
|
36023
|
-
isNewOperation: boolean;
|
|
36024
35785
|
weekGroup: string;
|
|
36025
35786
|
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;
|
|
36035
35787
|
}
|
|
36036
35788
|
|
|
36037
|
-
export type PlannerLockType = "None" | "Manual" | "Auto";
|
|
36038
|
-
|
|
36039
35789
|
export type ProgramStatus = "Blank" | "NotOk" | "Ok";
|
|
36040
35790
|
|
|
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
|
-
|
|
36067
35791
|
export interface WeekCapacityDto {
|
|
36068
35792
|
weekGroup: string;
|
|
36069
35793
|
weekStart: Date;
|
|
@@ -36082,6 +35806,7 @@ persisted active plan (draft, else published) is published instead. */
|
|
|
36082
35806
|
|
|
36083
35807
|
export interface PlannerSequenceInput {
|
|
36084
35808
|
orderedOperationKeys: string[];
|
|
35809
|
+
lockedCount: number;
|
|
36085
35810
|
weekGroups?: { [key: string]: string; } | null;
|
|
36086
35811
|
}
|
|
36087
35812
|
|
|
@@ -36092,6 +35817,7 @@ export interface PlannerPlanEventDto {
|
|
|
36092
35817
|
by?: string | null;
|
|
36093
35818
|
comment?: string | null;
|
|
36094
35819
|
operationCount: number;
|
|
35820
|
+
lockedCount: number;
|
|
36095
35821
|
}
|
|
36096
35822
|
|
|
36097
35823
|
export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp";
|
|
@@ -36104,16 +35830,21 @@ export interface SetProgramStatus {
|
|
|
36104
35830
|
|
|
36105
35831
|
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
|
|
36106
35832
|
|
|
36107
|
-
export interface
|
|
36108
|
-
|
|
36109
|
-
|
|
36110
|
-
|
|
36111
|
-
|
|
36112
|
-
|
|
35833
|
+
export interface UpdateProductionOrderAttachmentRequest {
|
|
35834
|
+
type?: ProductionOrderAttachmentType;
|
|
35835
|
+
description: string;
|
|
35836
|
+
notes?: string | null;
|
|
35837
|
+
url?: string | null;
|
|
35838
|
+
}
|
|
35839
|
+
|
|
35840
|
+
export interface ProductionOrderAttachmentDto {
|
|
35841
|
+
attachmentId: number;
|
|
36113
35842
|
name?: string | null;
|
|
36114
35843
|
fileName?: string | null;
|
|
36115
35844
|
notes?: string | null;
|
|
36116
|
-
attachmentType?:
|
|
35845
|
+
attachmentType?: ProductionOrderAttachmentType | null;
|
|
35846
|
+
addedBy?: string | null;
|
|
35847
|
+
canDelete: boolean;
|
|
36117
35848
|
}
|
|
36118
35849
|
|
|
36119
35850
|
export interface ProductionOrderDto {
|
|
@@ -36176,6 +35907,31 @@ export interface ProductionOrderOperationDto {
|
|
|
36176
35907
|
setupStatus?: OperationStatusDto | null;
|
|
36177
35908
|
}
|
|
36178
35909
|
|
|
35910
|
+
export interface WorkOrderAttachmentDto {
|
|
35911
|
+
createdBy?: UserDto | null;
|
|
35912
|
+
created?: Date | null;
|
|
35913
|
+
modifiedBy?: UserDto | null;
|
|
35914
|
+
modified?: Date | null;
|
|
35915
|
+
attachmentId?: number | null;
|
|
35916
|
+
name?: string | null;
|
|
35917
|
+
fileName?: string | null;
|
|
35918
|
+
notes?: string | null;
|
|
35919
|
+
attachmentType?: ProductionOrderAttachmentType | null;
|
|
35920
|
+
}
|
|
35921
|
+
|
|
35922
|
+
export interface DrawingDto {
|
|
35923
|
+
drawingNumber: string;
|
|
35924
|
+
revision: string;
|
|
35925
|
+
status: string;
|
|
35926
|
+
files: DrawingFileDto[];
|
|
35927
|
+
}
|
|
35928
|
+
|
|
35929
|
+
export interface DrawingFileDto {
|
|
35930
|
+
id: number;
|
|
35931
|
+
name: string;
|
|
35932
|
+
comment?: string;
|
|
35933
|
+
}
|
|
35934
|
+
|
|
36179
35935
|
export interface ProductionOrderBomDto {
|
|
36180
35936
|
position: string;
|
|
36181
35937
|
lineNumber: number;
|
|
@@ -36380,8 +36136,6 @@ export interface ProductionScheduleOperationDto {
|
|
|
36380
36136
|
productionStatus: OperationStatusDto;
|
|
36381
36137
|
setupStatus?: OperationStatusDto | null;
|
|
36382
36138
|
programStatus?: ProgramStatus | null;
|
|
36383
|
-
hasNotes: boolean;
|
|
36384
|
-
notesUnread: boolean;
|
|
36385
36139
|
}
|
|
36386
36140
|
|
|
36387
36141
|
export interface SurroundingOperationDto {
|
|
@@ -36404,6 +36158,19 @@ export interface SurroundingOperationDto {
|
|
|
36404
36158
|
startedQuantity?: number | null;
|
|
36405
36159
|
}
|
|
36406
36160
|
|
|
36161
|
+
export interface OperationPrerequisitesDto {
|
|
36162
|
+
drawing?: boolean | null;
|
|
36163
|
+
materials: MaterialsPrerequisiteDto;
|
|
36164
|
+
cncProgram?: boolean | null;
|
|
36165
|
+
}
|
|
36166
|
+
|
|
36167
|
+
export interface MaterialsPrerequisiteDto {
|
|
36168
|
+
numberOfPartsCoveredByOnHand?: number | null;
|
|
36169
|
+
materialStatus?: MaterialStatusDto;
|
|
36170
|
+
}
|
|
36171
|
+
|
|
36172
|
+
export type MaterialStatusDto = "NotRequired" | "NotAvailable" | "PartiallyAvailable" | "Available" | "FullyConsumed" | "Unknown";
|
|
36173
|
+
|
|
36407
36174
|
export type MaterialPickStatus = "NotRequired" | "NotStarted" | "Started" | "Completed" | "Unknown";
|
|
36408
36175
|
|
|
36409
36176
|
export interface ListProductionScheduleOperationsRequest {
|
|
@@ -36436,7 +36203,6 @@ export interface ListProductionScheduleOperationsRequest {
|
|
|
36436
36203
|
operationStatuses?: OperationStatusDto[] | null;
|
|
36437
36204
|
after?: Date | null;
|
|
36438
36205
|
before?: Date | null;
|
|
36439
|
-
includeDiscussionSummary?: boolean;
|
|
36440
36206
|
}
|
|
36441
36207
|
|
|
36442
36208
|
export interface ProductionScheduleFiltersDto {
|
|
@@ -37051,7 +36817,7 @@ export interface ImaChemicalAnalysisResultDto {
|
|
|
37051
36817
|
sampleReference?: string | null;
|
|
37052
36818
|
analysisType?: string | null;
|
|
37053
36819
|
elements: ImaChemicalAnalysisElementsResultDto;
|
|
37054
|
-
|
|
36820
|
+
indices: ImaChemicalIndexResultDto[];
|
|
37055
36821
|
testStandards: string[];
|
|
37056
36822
|
}
|
|
37057
36823
|
|
|
@@ -37097,22 +36863,9 @@ export interface ImaSpecificationResultLineDto {
|
|
|
37097
36863
|
|
|
37098
36864
|
export type ImaSpecificationResultLineStatusDto = "NotFound" | "NotOk" | "Ok" | "NotSet";
|
|
37099
36865
|
|
|
37100
|
-
export interface
|
|
37101
|
-
|
|
37102
|
-
|
|
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;
|
|
36866
|
+
export interface ImaChemicalIndexResultDto {
|
|
36867
|
+
name?: string | null;
|
|
36868
|
+
value?: number | null;
|
|
37116
36869
|
override?: ImaResultLineOverrideDto | null;
|
|
37117
36870
|
}
|
|
37118
36871
|
|
|
@@ -37235,7 +36988,7 @@ export interface ImaDocumentTypesResultsDto {
|
|
|
37235
36988
|
|
|
37236
36989
|
export interface ImaOverrideMaterialCheckRequestDto {
|
|
37237
36990
|
certificateTypeSection?: ImaOverrideCertificateTypeResultsDto | null;
|
|
37238
|
-
chemicalAnalysisSection?:
|
|
36991
|
+
chemicalAnalysisSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37239
36992
|
tensileTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37240
36993
|
hardnessTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37241
36994
|
impactTestSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -37304,55 +37057,6 @@ export interface ImaOverrideCertificateTypeTestMethodsAndReferencesResultsDto {
|
|
|
37304
37057
|
usedStandards?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37305
37058
|
}
|
|
37306
37059
|
|
|
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
|
-
|
|
37356
37060
|
export interface ImaOverrideDocumentTypesResultsDto {
|
|
37357
37061
|
ultrasonicControlCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37358
37062
|
radiologicalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -37589,7 +37293,6 @@ export interface ImaSpecificationDto {
|
|
|
37589
37293
|
updated: Date;
|
|
37590
37294
|
isDeleted: boolean;
|
|
37591
37295
|
chemistrySpecification: ImaChemistrySpecificationDto;
|
|
37592
|
-
chemistryCompositeSpecification: ImaChemistryCompositeSpecificationDto;
|
|
37593
37296
|
mechanicalSpecification: ImaMechanicalSpecificationDto;
|
|
37594
37297
|
ferriteSpecification: ImaFerriteSpecificationDto;
|
|
37595
37298
|
documentTypesSpecification: ImaDocumentTypesSpecificationDto;
|
|
@@ -37638,15 +37341,6 @@ export interface ImaSpecificationLineDto {
|
|
|
37638
37341
|
max?: number | null;
|
|
37639
37342
|
}
|
|
37640
37343
|
|
|
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
|
-
|
|
37650
37344
|
export interface ImaMechanicalSpecificationDto {
|
|
37651
37345
|
yieldStrength?: ImaSpecificationLineDto | null;
|
|
37652
37346
|
tensileStrength?: ImaSpecificationLineDto | null;
|
|
@@ -37716,7 +37410,6 @@ export interface ImaUpdateSpecificationDto {
|
|
|
37716
37410
|
summary?: string | null;
|
|
37717
37411
|
relatedStandards?: string[] | null;
|
|
37718
37412
|
chemistrySpecification?: ImaChemistrySpecificationDto | null;
|
|
37719
|
-
chemistryCompositeSpecification?: ImaChemistryCompositeSpecificationDto | null;
|
|
37720
37413
|
mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
|
|
37721
37414
|
ferriteSpecification?: ImaFerriteSpecificationDto | null;
|
|
37722
37415
|
documentTypesSpecification?: ImaDocumentTypesSpecificationDto | null;
|
|
@@ -37744,89 +37437,6 @@ export interface ImaSpecificationLiteDto {
|
|
|
37744
37437
|
isDeleted: boolean;
|
|
37745
37438
|
}
|
|
37746
37439
|
|
|
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
|
-
|
|
37830
37440
|
export interface MeasurementFormSchemaDto {
|
|
37831
37441
|
id: string;
|
|
37832
37442
|
versionId: number;
|
|
@@ -37861,8 +37471,12 @@ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
|
37861
37471
|
|
|
37862
37472
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
37863
37473
|
|
|
37474
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
37475
|
+
|
|
37864
37476
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
37865
37477
|
|
|
37478
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
37479
|
+
|
|
37866
37480
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
37867
37481
|
url: string;
|
|
37868
37482
|
title: string;
|
|
@@ -37913,6 +37527,8 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
37913
37527
|
validationErrorMessage?: string | null;
|
|
37914
37528
|
}
|
|
37915
37529
|
|
|
37530
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
37531
|
+
|
|
37916
37532
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
37917
37533
|
|
|
37918
37534
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|