@ignos/api-client 20260811.219.1-alpha → 20260812.220.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ignosportal-api.d.ts +188 -221
- package/lib/ignosportal-api.js +134 -354
- package/package.json +1 -1
- package/src/ignosportal-api.ts +355 -577
package/src/ignosportal-api.ts
CHANGED
|
@@ -20579,6 +20579,8 @@ export class MoveNotificationsClient extends AuthorizedApiBase implements IMoveN
|
|
|
20579
20579
|
export interface IMoveParcelsClient {
|
|
20580
20580
|
|
|
20581
20581
|
searchParcels(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]>;
|
|
20582
|
+
|
|
20583
|
+
searchParcelsV2(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]>;
|
|
20582
20584
|
}
|
|
20583
20585
|
|
|
20584
20586
|
export class MoveParcelsClient extends AuthorizedApiBase implements IMoveParcelsClient {
|
|
@@ -20629,6 +20631,45 @@ export class MoveParcelsClient extends AuthorizedApiBase implements IMoveParcels
|
|
|
20629
20631
|
}
|
|
20630
20632
|
return Promise.resolve<SearchParcelDto[]>(null as any);
|
|
20631
20633
|
}
|
|
20634
|
+
|
|
20635
|
+
searchParcelsV2(input: string | null | undefined, pageSize: number | null | undefined): Promise<SearchParcelDto[]> {
|
|
20636
|
+
let url_ = this.baseUrl + "/move/parcel/search/v2?";
|
|
20637
|
+
if (input !== undefined && input !== null)
|
|
20638
|
+
url_ += "input=" + encodeURIComponent("" + input) + "&";
|
|
20639
|
+
if (pageSize !== undefined && pageSize !== null)
|
|
20640
|
+
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
20641
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
20642
|
+
|
|
20643
|
+
let options_: RequestInit = {
|
|
20644
|
+
method: "GET",
|
|
20645
|
+
headers: {
|
|
20646
|
+
"Accept": "application/json"
|
|
20647
|
+
}
|
|
20648
|
+
};
|
|
20649
|
+
|
|
20650
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
20651
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
20652
|
+
}).then((_response: Response) => {
|
|
20653
|
+
return this.processSearchParcelsV2(_response);
|
|
20654
|
+
});
|
|
20655
|
+
}
|
|
20656
|
+
|
|
20657
|
+
protected processSearchParcelsV2(response: Response): Promise<SearchParcelDto[]> {
|
|
20658
|
+
const status = response.status;
|
|
20659
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
20660
|
+
if (status === 200) {
|
|
20661
|
+
return response.text().then((_responseText) => {
|
|
20662
|
+
let result200: any = null;
|
|
20663
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SearchParcelDto[];
|
|
20664
|
+
return result200;
|
|
20665
|
+
});
|
|
20666
|
+
} else if (status !== 200 && status !== 204) {
|
|
20667
|
+
return response.text().then((_responseText) => {
|
|
20668
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
20669
|
+
});
|
|
20670
|
+
}
|
|
20671
|
+
return Promise.resolve<SearchParcelDto[]>(null as any);
|
|
20672
|
+
}
|
|
20632
20673
|
}
|
|
20633
20674
|
|
|
20634
20675
|
export interface IMoveTrackingClient {
|
|
@@ -21918,8 +21959,6 @@ export class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient
|
|
|
21918
21959
|
export interface IMesOrMoveClient {
|
|
21919
21960
|
|
|
21920
21961
|
getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
|
|
21921
|
-
|
|
21922
|
-
postListProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
|
|
21923
21962
|
}
|
|
21924
21963
|
|
|
21925
21964
|
export class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClient {
|
|
@@ -21970,45 +22009,6 @@ export class MesOrMoveClient extends AuthorizedApiBase implements IMesOrMoveClie
|
|
|
21970
22009
|
}
|
|
21971
22010
|
return Promise.resolve<DownloadDto>(null as any);
|
|
21972
22011
|
}
|
|
21973
|
-
|
|
21974
|
-
postListProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]> {
|
|
21975
|
-
let url_ = this.baseUrl + "/mes/productionorders/list";
|
|
21976
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
21977
|
-
|
|
21978
|
-
const content_ = JSON.stringify(request);
|
|
21979
|
-
|
|
21980
|
-
let options_: RequestInit = {
|
|
21981
|
-
body: content_,
|
|
21982
|
-
method: "POST",
|
|
21983
|
-
headers: {
|
|
21984
|
-
"Content-Type": "application/json",
|
|
21985
|
-
"Accept": "application/json"
|
|
21986
|
-
}
|
|
21987
|
-
};
|
|
21988
|
-
|
|
21989
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21990
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
21991
|
-
}).then((_response: Response) => {
|
|
21992
|
-
return this.processPostListProductionOrders(_response);
|
|
21993
|
-
});
|
|
21994
|
-
}
|
|
21995
|
-
|
|
21996
|
-
protected processPostListProductionOrders(response: Response): Promise<ProductionOrderListDto[]> {
|
|
21997
|
-
const status = response.status;
|
|
21998
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
21999
|
-
if (status === 200) {
|
|
22000
|
-
return response.text().then((_responseText) => {
|
|
22001
|
-
let result200: any = null;
|
|
22002
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProductionOrderListDto[];
|
|
22003
|
-
return result200;
|
|
22004
|
-
});
|
|
22005
|
-
} else if (status !== 200 && status !== 204) {
|
|
22006
|
-
return response.text().then((_responseText) => {
|
|
22007
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22008
|
-
});
|
|
22009
|
-
}
|
|
22010
|
-
return Promise.resolve<ProductionOrderListDto[]>(null as any);
|
|
22011
|
-
}
|
|
22012
22012
|
}
|
|
22013
22013
|
|
|
22014
22014
|
export interface IMesPlannerClient {
|
|
@@ -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,31 +22694,26 @@ 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
|
|
|
22679
22713
|
export interface IMesProductionOrderClient {
|
|
22680
22714
|
|
|
22715
|
+
listProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]>;
|
|
22716
|
+
|
|
22681
22717
|
getProductionOrder(id: string): Promise<ProductionOrderDto>;
|
|
22682
22718
|
|
|
22683
22719
|
getProductionOrderBom(id: string, operation: number | null | undefined): Promise<ProductionOrderBomDto[]>;
|
|
@@ -22707,6 +22743,45 @@ export class MesProductionOrderClient extends AuthorizedApiBase implements IMesP
|
|
|
22707
22743
|
this.baseUrl = baseUrl ?? "";
|
|
22708
22744
|
}
|
|
22709
22745
|
|
|
22746
|
+
listProductionOrders(request: ListProductionOrdersRequest): Promise<ProductionOrderListDto[]> {
|
|
22747
|
+
let url_ = this.baseUrl + "/mes/productionorders/list";
|
|
22748
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22749
|
+
|
|
22750
|
+
const content_ = JSON.stringify(request);
|
|
22751
|
+
|
|
22752
|
+
let options_: RequestInit = {
|
|
22753
|
+
body: content_,
|
|
22754
|
+
method: "POST",
|
|
22755
|
+
headers: {
|
|
22756
|
+
"Content-Type": "application/json",
|
|
22757
|
+
"Accept": "application/json"
|
|
22758
|
+
}
|
|
22759
|
+
};
|
|
22760
|
+
|
|
22761
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22762
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
22763
|
+
}).then((_response: Response) => {
|
|
22764
|
+
return this.processListProductionOrders(_response);
|
|
22765
|
+
});
|
|
22766
|
+
}
|
|
22767
|
+
|
|
22768
|
+
protected processListProductionOrders(response: Response): Promise<ProductionOrderListDto[]> {
|
|
22769
|
+
const status = response.status;
|
|
22770
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22771
|
+
if (status === 200) {
|
|
22772
|
+
return response.text().then((_responseText) => {
|
|
22773
|
+
let result200: any = null;
|
|
22774
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProductionOrderListDto[];
|
|
22775
|
+
return result200;
|
|
22776
|
+
});
|
|
22777
|
+
} else if (status !== 200 && status !== 204) {
|
|
22778
|
+
return response.text().then((_responseText) => {
|
|
22779
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22780
|
+
});
|
|
22781
|
+
}
|
|
22782
|
+
return Promise.resolve<ProductionOrderListDto[]>(null as any);
|
|
22783
|
+
}
|
|
22784
|
+
|
|
22710
22785
|
getProductionOrder(id: string): Promise<ProductionOrderDto> {
|
|
22711
22786
|
let url_ = this.baseUrl + "/mes/productionorders/{id}";
|
|
22712
22787
|
if (id === undefined || id === null)
|
|
@@ -25281,358 +25356,41 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
25281
25356
|
});
|
|
25282
25357
|
}
|
|
25283
25358
|
return Promise.resolve<ImaSpecificationDto>(null as any);
|
|
25284
|
-
}
|
|
25285
|
-
|
|
25286
|
-
listSpecifications(): Promise<ImaSpecificationLiteDto[]> {
|
|
25287
|
-
let url_ = this.baseUrl + "/inspect/match/specifications/list";
|
|
25288
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
25289
|
-
|
|
25290
|
-
let options_: RequestInit = {
|
|
25291
|
-
method: "GET",
|
|
25292
|
-
headers: {
|
|
25293
|
-
"Accept": "application/json"
|
|
25294
|
-
}
|
|
25295
|
-
};
|
|
25296
|
-
|
|
25297
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25298
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
25299
|
-
}).then((_response: Response) => {
|
|
25300
|
-
return this.processListSpecifications(_response);
|
|
25301
|
-
});
|
|
25302
|
-
}
|
|
25303
|
-
|
|
25304
|
-
protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]> {
|
|
25305
|
-
const status = response.status;
|
|
25306
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25307
|
-
if (status === 200) {
|
|
25308
|
-
return response.text().then((_responseText) => {
|
|
25309
|
-
let result200: any = null;
|
|
25310
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationLiteDto[];
|
|
25311
|
-
return result200;
|
|
25312
|
-
});
|
|
25313
|
-
} else if (status !== 200 && status !== 204) {
|
|
25314
|
-
return response.text().then((_responseText) => {
|
|
25315
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25316
|
-
});
|
|
25317
|
-
}
|
|
25318
|
-
return Promise.resolve<ImaSpecificationLiteDto[]>(null as any);
|
|
25319
|
-
}
|
|
25320
|
-
}
|
|
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
|
-
* Starts a full drawing AI parse: clears every element and locks the
|
|
25336
|
-
schema for every viewer until it completes. If one is already in
|
|
25337
|
-
progress, returns that instead of starting a second one.
|
|
25338
|
-
*/
|
|
25339
|
-
requestFullDrawingParse(id: string): Promise<SchemaCreatorStateDto>;
|
|
25340
|
-
|
|
25341
|
-
/**
|
|
25342
|
-
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
25343
|
-
returns a temporary download link.
|
|
25344
|
-
*/
|
|
25345
|
-
exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
|
|
25346
|
-
|
|
25347
|
-
/**
|
|
25348
|
-
* Starts an async snip resolve; the result is delivered through the
|
|
25349
|
-
SchemaCreatorSnipResolved SignalR notification.
|
|
25350
|
-
* @param image (optional)
|
|
25351
|
-
*/
|
|
25352
|
-
resolveSchemaCreatorSnip(id: string, elementId: string, image: FileParameter | null | undefined): Promise<FileResponse>;
|
|
25353
|
-
}
|
|
25354
|
-
|
|
25355
|
-
export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
25356
|
-
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
25357
|
-
private baseUrl: string;
|
|
25358
|
-
|
|
25359
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
25360
|
-
super(configuration);
|
|
25361
|
-
this.http = http ? http : window as any;
|
|
25362
|
-
this.baseUrl = baseUrl ?? "";
|
|
25363
|
-
}
|
|
25364
|
-
|
|
25365
|
-
getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto> {
|
|
25366
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
25367
|
-
if (id === undefined || id === null)
|
|
25368
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25369
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25370
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
25371
|
-
|
|
25372
|
-
let options_: RequestInit = {
|
|
25373
|
-
method: "GET",
|
|
25374
|
-
headers: {
|
|
25375
|
-
"Accept": "application/json"
|
|
25376
|
-
}
|
|
25377
|
-
};
|
|
25378
|
-
|
|
25379
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25380
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
25381
|
-
}).then((_response: Response) => {
|
|
25382
|
-
return this.processGetSchemaCreatorState(_response);
|
|
25383
|
-
});
|
|
25384
|
-
}
|
|
25385
|
-
|
|
25386
|
-
protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
25387
|
-
const status = response.status;
|
|
25388
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25389
|
-
if (status === 200) {
|
|
25390
|
-
return response.text().then((_responseText) => {
|
|
25391
|
-
let result200: any = null;
|
|
25392
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
25393
|
-
return result200;
|
|
25394
|
-
});
|
|
25395
|
-
} else if (status !== 200 && status !== 204) {
|
|
25396
|
-
return response.text().then((_responseText) => {
|
|
25397
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25398
|
-
});
|
|
25399
|
-
}
|
|
25400
|
-
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
25401
|
-
}
|
|
25402
|
-
|
|
25403
|
-
/**
|
|
25404
|
-
* Creates the initial creator state for a schema version. Returns 409 if
|
|
25405
|
-
state already exists; the caller should re-fetch it instead of writing.
|
|
25406
|
-
*/
|
|
25407
|
-
createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
25408
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
25409
|
-
if (id === undefined || id === null)
|
|
25410
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25411
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25412
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
25413
|
-
|
|
25414
|
-
const content_ = JSON.stringify(state);
|
|
25415
|
-
|
|
25416
|
-
let options_: RequestInit = {
|
|
25417
|
-
body: content_,
|
|
25418
|
-
method: "POST",
|
|
25419
|
-
headers: {
|
|
25420
|
-
"Content-Type": "application/json",
|
|
25421
|
-
"Accept": "application/json"
|
|
25422
|
-
}
|
|
25423
|
-
};
|
|
25424
|
-
|
|
25425
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25426
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
25427
|
-
}).then((_response: Response) => {
|
|
25428
|
-
return this.processCreateSchemaCreatorState(_response);
|
|
25429
|
-
});
|
|
25430
|
-
}
|
|
25431
|
-
|
|
25432
|
-
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
25433
|
-
const status = response.status;
|
|
25434
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25435
|
-
if (status === 201) {
|
|
25436
|
-
return response.text().then((_responseText) => {
|
|
25437
|
-
let result201: any = null;
|
|
25438
|
-
result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
25439
|
-
return result201;
|
|
25440
|
-
});
|
|
25441
|
-
} else if (status === 409) {
|
|
25442
|
-
return response.text().then((_responseText) => {
|
|
25443
|
-
let result409: any = null;
|
|
25444
|
-
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProblemDetails;
|
|
25445
|
-
return throwException("A server side error occurred.", status, _responseText, _headers, result409);
|
|
25446
|
-
});
|
|
25447
|
-
} else if (status !== 200 && status !== 204) {
|
|
25448
|
-
return response.text().then((_responseText) => {
|
|
25449
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25450
|
-
});
|
|
25451
|
-
}
|
|
25452
|
-
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
25453
|
-
}
|
|
25454
|
-
|
|
25455
|
-
updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
25456
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
25457
|
-
if (id === undefined || id === null)
|
|
25458
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25459
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25460
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
25461
|
-
|
|
25462
|
-
const content_ = JSON.stringify(state);
|
|
25463
|
-
|
|
25464
|
-
let options_: RequestInit = {
|
|
25465
|
-
body: content_,
|
|
25466
|
-
method: "PUT",
|
|
25467
|
-
headers: {
|
|
25468
|
-
"Content-Type": "application/json",
|
|
25469
|
-
"Accept": "application/json"
|
|
25470
|
-
}
|
|
25471
|
-
};
|
|
25472
|
-
|
|
25473
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25474
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
25475
|
-
}).then((_response: Response) => {
|
|
25476
|
-
return this.processUpdateSchemaCreatorState(_response);
|
|
25477
|
-
});
|
|
25478
|
-
}
|
|
25479
|
-
|
|
25480
|
-
protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
25481
|
-
const status = response.status;
|
|
25482
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25483
|
-
if (status === 200) {
|
|
25484
|
-
return response.text().then((_responseText) => {
|
|
25485
|
-
let result200: any = null;
|
|
25486
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
25487
|
-
return result200;
|
|
25488
|
-
});
|
|
25489
|
-
} else if (status !== 200 && status !== 204) {
|
|
25490
|
-
return response.text().then((_responseText) => {
|
|
25491
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25492
|
-
});
|
|
25493
|
-
}
|
|
25494
|
-
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
25495
|
-
}
|
|
25496
|
-
|
|
25497
|
-
/**
|
|
25498
|
-
* Starts a full drawing AI parse: clears every element and locks the
|
|
25499
|
-
schema for every viewer until it completes. If one is already in
|
|
25500
|
-
progress, returns that instead of starting a second one.
|
|
25501
|
-
*/
|
|
25502
|
-
requestFullDrawingParse(id: string): Promise<SchemaCreatorStateDto> {
|
|
25503
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/fullparse";
|
|
25504
|
-
if (id === undefined || id === null)
|
|
25505
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25506
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25507
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
25508
|
-
|
|
25509
|
-
let options_: RequestInit = {
|
|
25510
|
-
method: "POST",
|
|
25511
|
-
headers: {
|
|
25512
|
-
"Accept": "application/json"
|
|
25513
|
-
}
|
|
25514
|
-
};
|
|
25515
|
-
|
|
25516
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25517
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
25518
|
-
}).then((_response: Response) => {
|
|
25519
|
-
return this.processRequestFullDrawingParse(_response);
|
|
25520
|
-
});
|
|
25521
|
-
}
|
|
25522
|
-
|
|
25523
|
-
protected processRequestFullDrawingParse(response: Response): Promise<SchemaCreatorStateDto> {
|
|
25524
|
-
const status = response.status;
|
|
25525
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25526
|
-
if (status === 200) {
|
|
25527
|
-
return response.text().then((_responseText) => {
|
|
25528
|
-
let result200: any = null;
|
|
25529
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
25530
|
-
return result200;
|
|
25531
|
-
});
|
|
25532
|
-
} else if (status !== 200 && status !== 204) {
|
|
25533
|
-
return response.text().then((_responseText) => {
|
|
25534
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25535
|
-
});
|
|
25536
|
-
}
|
|
25537
|
-
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
25538
|
-
}
|
|
25539
|
-
|
|
25540
|
-
/**
|
|
25541
|
-
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
25542
|
-
returns a temporary download link.
|
|
25543
|
-
*/
|
|
25544
|
-
exportSchemaCreatorDrawing(id: string): Promise<DownloadDto> {
|
|
25545
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/download";
|
|
25546
|
-
if (id === undefined || id === null)
|
|
25547
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25548
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25549
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
25550
|
-
|
|
25551
|
-
let options_: RequestInit = {
|
|
25552
|
-
method: "POST",
|
|
25553
|
-
headers: {
|
|
25554
|
-
"Accept": "application/json"
|
|
25555
|
-
}
|
|
25556
|
-
};
|
|
25557
|
-
|
|
25558
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25559
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
25560
|
-
}).then((_response: Response) => {
|
|
25561
|
-
return this.processExportSchemaCreatorDrawing(_response);
|
|
25562
|
-
});
|
|
25563
|
-
}
|
|
25564
|
-
|
|
25565
|
-
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto> {
|
|
25566
|
-
const status = response.status;
|
|
25567
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25568
|
-
if (status === 200) {
|
|
25569
|
-
return response.text().then((_responseText) => {
|
|
25570
|
-
let result200: any = null;
|
|
25571
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as DownloadDto;
|
|
25572
|
-
return result200;
|
|
25573
|
-
});
|
|
25574
|
-
} else if (status !== 200 && status !== 204) {
|
|
25575
|
-
return response.text().then((_responseText) => {
|
|
25576
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25577
|
-
});
|
|
25578
|
-
}
|
|
25579
|
-
return Promise.resolve<DownloadDto>(null as any);
|
|
25580
|
-
}
|
|
25581
|
-
|
|
25582
|
-
/**
|
|
25583
|
-
* Starts an async snip resolve; the result is delivered through the
|
|
25584
|
-
SchemaCreatorSnipResolved SignalR notification.
|
|
25585
|
-
* @param image (optional)
|
|
25586
|
-
*/
|
|
25587
|
-
resolveSchemaCreatorSnip(id: string, elementId: string, image: FileParameter | null | undefined): Promise<FileResponse> {
|
|
25588
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/elements/{elementId}/resolvesnip";
|
|
25589
|
-
if (id === undefined || id === null)
|
|
25590
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25591
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25592
|
-
if (elementId === undefined || elementId === null)
|
|
25593
|
-
throw new globalThis.Error("The parameter 'elementId' must be defined.");
|
|
25594
|
-
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
25595
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
25359
|
+
}
|
|
25596
25360
|
|
|
25597
|
-
|
|
25598
|
-
|
|
25599
|
-
|
|
25361
|
+
listSpecifications(): Promise<ImaSpecificationLiteDto[]> {
|
|
25362
|
+
let url_ = this.baseUrl + "/inspect/match/specifications/list";
|
|
25363
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
25600
25364
|
|
|
25601
25365
|
let options_: RequestInit = {
|
|
25602
|
-
|
|
25603
|
-
method: "POST",
|
|
25366
|
+
method: "GET",
|
|
25604
25367
|
headers: {
|
|
25605
|
-
"Accept": "application/
|
|
25368
|
+
"Accept": "application/json"
|
|
25606
25369
|
}
|
|
25607
25370
|
};
|
|
25608
25371
|
|
|
25609
25372
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25610
25373
|
return this.http.fetch(url_, transformedOptions_);
|
|
25611
25374
|
}).then((_response: Response) => {
|
|
25612
|
-
return this.
|
|
25375
|
+
return this.processListSpecifications(_response);
|
|
25613
25376
|
});
|
|
25614
25377
|
}
|
|
25615
25378
|
|
|
25616
|
-
protected
|
|
25379
|
+
protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]> {
|
|
25617
25380
|
const status = response.status;
|
|
25618
25381
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25619
|
-
if (status === 200
|
|
25620
|
-
|
|
25621
|
-
let
|
|
25622
|
-
|
|
25623
|
-
|
|
25624
|
-
|
|
25625
|
-
} else {
|
|
25626
|
-
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
25627
|
-
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
25628
|
-
}
|
|
25629
|
-
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
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 ImaSpecificationLiteDto[];
|
|
25386
|
+
return result200;
|
|
25387
|
+
});
|
|
25630
25388
|
} else if (status !== 200 && status !== 204) {
|
|
25631
25389
|
return response.text().then((_responseText) => {
|
|
25632
25390
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25633
25391
|
});
|
|
25634
25392
|
}
|
|
25635
|
-
return Promise.resolve<
|
|
25393
|
+
return Promise.resolve<ImaSpecificationLiteDto[]>(null as any);
|
|
25636
25394
|
}
|
|
25637
25395
|
}
|
|
25638
25396
|
|
|
@@ -35778,6 +35536,10 @@ export interface SearchParcelDto {
|
|
|
35778
35536
|
items: SearchParcelItemDto[];
|
|
35779
35537
|
partName?: string | null;
|
|
35780
35538
|
partNumber?: string | null;
|
|
35539
|
+
status?: WorkorderStatus | null;
|
|
35540
|
+
startDate?: Date | null;
|
|
35541
|
+
endDate?: Date | null;
|
|
35542
|
+
deliveryDate?: Date | null;
|
|
35781
35543
|
}
|
|
35782
35544
|
|
|
35783
35545
|
export type SearchMatchCriteriaDto = "Tracking" | "WorkOrder" | "Parcel";
|
|
@@ -36002,41 +35764,6 @@ export interface LabelId {
|
|
|
36002
35764
|
trackingId?: string | null;
|
|
36003
35765
|
}
|
|
36004
35766
|
|
|
36005
|
-
export interface ProductionOrderListDto {
|
|
36006
|
-
id: string;
|
|
36007
|
-
companyId?: string | null;
|
|
36008
|
-
part?: PartDto | null;
|
|
36009
|
-
quantity: number;
|
|
36010
|
-
unit?: string | null;
|
|
36011
|
-
status: WorkorderStatus;
|
|
36012
|
-
plannedStart?: Date | null;
|
|
36013
|
-
plannedEnd?: Date | null;
|
|
36014
|
-
producedQuantity: number;
|
|
36015
|
-
scrappedQuantity: number;
|
|
36016
|
-
deliveryLocation?: WarehouseLocationDto | null;
|
|
36017
|
-
project?: WorkOrderProjectDto | null;
|
|
36018
|
-
startDate?: Date | null;
|
|
36019
|
-
endDate?: Date | null;
|
|
36020
|
-
deliveryDate?: Date | null;
|
|
36021
|
-
bomPosition?: string | null;
|
|
36022
|
-
orderReference?: OrderReferenceDto | null;
|
|
36023
|
-
customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
|
|
36024
|
-
}
|
|
36025
|
-
|
|
36026
|
-
export interface OrderReferenceDto {
|
|
36027
|
-
orderReferenceType?: OrderReferenceTypeDto;
|
|
36028
|
-
orderNumber?: string;
|
|
36029
|
-
orderLineNumber?: number | null;
|
|
36030
|
-
}
|
|
36031
|
-
|
|
36032
|
-
export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
|
|
36033
|
-
|
|
36034
|
-
export interface ListProductionOrdersRequest {
|
|
36035
|
-
search: string;
|
|
36036
|
-
searchType: SearchTypeDto;
|
|
36037
|
-
maxResults?: number | null;
|
|
36038
|
-
}
|
|
36039
|
-
|
|
36040
35767
|
export interface PlannerPlanDto {
|
|
36041
35768
|
resourceGroupId: string;
|
|
36042
35769
|
sequence: PlannerOperationDto[];
|
|
@@ -36053,7 +35780,11 @@ export interface PlannerOperationDto {
|
|
|
36053
35780
|
operationName: string;
|
|
36054
35781
|
plannedStart: Date;
|
|
36055
35782
|
plannedEnd?: Date | null;
|
|
35783
|
+
actualStart?: Date | null;
|
|
35784
|
+
actualEnd?: Date | null;
|
|
36056
35785
|
status: OperationStatusDto;
|
|
35786
|
+
productionStatus: OperationStatusDto;
|
|
35787
|
+
setupStatus?: OperationStatusDto | null;
|
|
36057
35788
|
resourceId: string;
|
|
36058
35789
|
resourceName: string;
|
|
36059
35790
|
resourceDepartmentNumber?: string | null;
|
|
@@ -36065,13 +35796,11 @@ export interface PlannerOperationDto {
|
|
|
36065
35796
|
producedQuantity: number;
|
|
36066
35797
|
totalPlannedHours?: number;
|
|
36067
35798
|
totalUsedHours?: number;
|
|
35799
|
+
usedSetupHours?: number | null;
|
|
35800
|
+
plannedSetupHours?: number | null;
|
|
35801
|
+
usedProductionHours?: number;
|
|
36068
35802
|
customerName?: string | null;
|
|
36069
35803
|
project?: WorkOrderProjectDto | null;
|
|
36070
|
-
sequenceNumber: number;
|
|
36071
|
-
isManuallyLocked: boolean;
|
|
36072
|
-
lockType: PlannerLockType;
|
|
36073
|
-
isNewOperation: boolean;
|
|
36074
|
-
weekGroup: string;
|
|
36075
35804
|
programStatus?: ProgramStatus | null;
|
|
36076
35805
|
hasNotes?: boolean;
|
|
36077
35806
|
notesUnread?: boolean;
|
|
@@ -36082,10 +35811,14 @@ export interface PlannerOperationDto {
|
|
|
36082
35811
|
drawing?: DrawingDto | null;
|
|
36083
35812
|
drawingNumber?: string | null;
|
|
36084
35813
|
description?: string | null;
|
|
35814
|
+
disableSetupRegistration?: boolean;
|
|
35815
|
+
sequenceNumber: number;
|
|
35816
|
+
isManuallyLocked: boolean;
|
|
35817
|
+
lockType: PlannerLockType;
|
|
35818
|
+
isNewOperation: boolean;
|
|
35819
|
+
weekGroup: string;
|
|
36085
35820
|
}
|
|
36086
35821
|
|
|
36087
|
-
export type PlannerLockType = "None" | "Manual" | "Auto";
|
|
36088
|
-
|
|
36089
35822
|
export type ProgramStatus = "Blank" | "NotOk" | "Ok";
|
|
36090
35823
|
|
|
36091
35824
|
export interface OperationPrerequisitesDto {
|
|
@@ -36114,6 +35847,8 @@ export interface DrawingFileDto {
|
|
|
36114
35847
|
comment?: string;
|
|
36115
35848
|
}
|
|
36116
35849
|
|
|
35850
|
+
export type PlannerLockType = "None" | "Manual" | "Auto";
|
|
35851
|
+
|
|
36117
35852
|
export interface WeekCapacityDto {
|
|
36118
35853
|
weekGroup: string;
|
|
36119
35854
|
weekStart: Date;
|
|
@@ -36154,16 +35889,56 @@ export interface SetProgramStatus {
|
|
|
36154
35889
|
|
|
36155
35890
|
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
|
|
36156
35891
|
|
|
36157
|
-
export interface
|
|
36158
|
-
|
|
36159
|
-
|
|
36160
|
-
|
|
36161
|
-
|
|
36162
|
-
|
|
35892
|
+
export interface UpdateProductionOrderAttachmentRequest {
|
|
35893
|
+
type?: ProductionOrderAttachmentType;
|
|
35894
|
+
description: string;
|
|
35895
|
+
notes?: string | null;
|
|
35896
|
+
url?: string | null;
|
|
35897
|
+
}
|
|
35898
|
+
|
|
35899
|
+
export interface ProductionOrderAttachmentDto {
|
|
35900
|
+
attachmentId: number;
|
|
36163
35901
|
name?: string | null;
|
|
36164
35902
|
fileName?: string | null;
|
|
36165
35903
|
notes?: string | null;
|
|
36166
|
-
attachmentType?:
|
|
35904
|
+
attachmentType?: ProductionOrderAttachmentType | null;
|
|
35905
|
+
addedBy?: string | null;
|
|
35906
|
+
canDelete: boolean;
|
|
35907
|
+
}
|
|
35908
|
+
|
|
35909
|
+
export interface ProductionOrderListDto {
|
|
35910
|
+
id: string;
|
|
35911
|
+
companyId?: string | null;
|
|
35912
|
+
part?: PartDto | null;
|
|
35913
|
+
quantity: number;
|
|
35914
|
+
unit?: string | null;
|
|
35915
|
+
status: WorkorderStatus;
|
|
35916
|
+
plannedStart?: Date | null;
|
|
35917
|
+
plannedEnd?: Date | null;
|
|
35918
|
+
producedQuantity: number;
|
|
35919
|
+
scrappedQuantity: number;
|
|
35920
|
+
deliveryLocation?: WarehouseLocationDto | null;
|
|
35921
|
+
project?: WorkOrderProjectDto | null;
|
|
35922
|
+
startDate?: Date | null;
|
|
35923
|
+
endDate?: Date | null;
|
|
35924
|
+
deliveryDate?: Date | null;
|
|
35925
|
+
bomPosition?: string | null;
|
|
35926
|
+
orderReference?: OrderReferenceDto | null;
|
|
35927
|
+
customerOrderReference?: WorkorderCustomerOrderReferenceDto | null;
|
|
35928
|
+
}
|
|
35929
|
+
|
|
35930
|
+
export interface OrderReferenceDto {
|
|
35931
|
+
orderReferenceType?: OrderReferenceTypeDto;
|
|
35932
|
+
orderNumber?: string;
|
|
35933
|
+
orderLineNumber?: number | null;
|
|
35934
|
+
}
|
|
35935
|
+
|
|
35936
|
+
export type OrderReferenceTypeDto = "ProductionOrder" | "PurchaseOrder" | "SalesOrder";
|
|
35937
|
+
|
|
35938
|
+
export interface ListProductionOrdersRequest {
|
|
35939
|
+
search: string;
|
|
35940
|
+
searchType: SearchTypeDto;
|
|
35941
|
+
maxResults?: number | null;
|
|
36167
35942
|
}
|
|
36168
35943
|
|
|
36169
35944
|
export interface ProductionOrderDto {
|
|
@@ -36226,6 +36001,18 @@ export interface ProductionOrderOperationDto {
|
|
|
36226
36001
|
setupStatus?: OperationStatusDto | null;
|
|
36227
36002
|
}
|
|
36228
36003
|
|
|
36004
|
+
export interface WorkOrderAttachmentDto {
|
|
36005
|
+
createdBy?: UserDto | null;
|
|
36006
|
+
created?: Date | null;
|
|
36007
|
+
modifiedBy?: UserDto | null;
|
|
36008
|
+
modified?: Date | null;
|
|
36009
|
+
attachmentId?: number | null;
|
|
36010
|
+
name?: string | null;
|
|
36011
|
+
fileName?: string | null;
|
|
36012
|
+
notes?: string | null;
|
|
36013
|
+
attachmentType?: string | null;
|
|
36014
|
+
}
|
|
36015
|
+
|
|
36229
36016
|
export interface ProductionOrderBomDto {
|
|
36230
36017
|
position: string;
|
|
36231
36018
|
lineNumber: number;
|
|
@@ -37141,6 +36928,7 @@ export interface ImaSpecificationResultLineDto {
|
|
|
37141
36928
|
specificationMin?: number | null;
|
|
37142
36929
|
specificationMax?: number | null;
|
|
37143
36930
|
readValue?: string | null;
|
|
36931
|
+
unit?: string | null;
|
|
37144
36932
|
status: ImaSpecificationResultLineStatusDto;
|
|
37145
36933
|
override?: ImaResultLineOverrideDto | null;
|
|
37146
36934
|
}
|
|
@@ -37171,31 +36959,29 @@ export interface ImaTensileTestResultDto {
|
|
|
37171
36959
|
sampleReference?: string | null;
|
|
37172
36960
|
orientation?: string | null;
|
|
37173
36961
|
testLocation?: string | null;
|
|
37174
|
-
temperature?:
|
|
36962
|
+
temperature?: number | null;
|
|
36963
|
+
temperatureUnit?: string | null;
|
|
37175
36964
|
roomTemperature?: boolean | null;
|
|
37176
36965
|
yieldStrengths: ImaYieldStrengthResultDto[];
|
|
37177
|
-
tensileStrength?:
|
|
37178
|
-
yieldTensileRatio?:
|
|
36966
|
+
tensileStrength?: ImaSpecificationResultLineDto | null;
|
|
36967
|
+
yieldTensileRatio?: ImaSpecificationResultLineDto | null;
|
|
37179
36968
|
elongations: ImaElongationResultDto[];
|
|
37180
|
-
reductionOfArea?:
|
|
36969
|
+
reductionOfArea?: ImaSpecificationResultLineDto | null;
|
|
37181
36970
|
testStandards: string[];
|
|
37182
|
-
override?: ImaResultLineOverrideDto | null;
|
|
37183
|
-
}
|
|
37184
|
-
|
|
37185
|
-
export interface ImaResultValueDto {
|
|
37186
|
-
readValue?: string | null;
|
|
37187
|
-
unit?: string | null;
|
|
37188
|
-
override?: ImaResultLineOverrideDto | null;
|
|
37189
36971
|
}
|
|
37190
36972
|
|
|
37191
36973
|
export interface ImaYieldStrengthResultDto {
|
|
37192
|
-
|
|
37193
|
-
|
|
36974
|
+
basis?: ImaYieldStrengthYieldBasisDto | null;
|
|
36975
|
+
strainPercent?: number | null;
|
|
36976
|
+
labelVerbatim?: string | null;
|
|
36977
|
+
result?: ImaSpecificationResultLineDto | null;
|
|
37194
36978
|
}
|
|
37195
36979
|
|
|
36980
|
+
export type ImaYieldStrengthYieldBasisDto = "ProofNonProportional" | "ProofTotalExtension" | "UpperYield" | "LowerYield" | "Unspecified";
|
|
36981
|
+
|
|
37196
36982
|
export interface ImaElongationResultDto {
|
|
37197
36983
|
gauge?: string | null;
|
|
37198
|
-
value?:
|
|
36984
|
+
value?: ImaSpecificationResultLineDto | null;
|
|
37199
36985
|
}
|
|
37200
36986
|
|
|
37201
36987
|
export interface ImaHardnessTestResultDto {
|
|
@@ -37205,13 +36991,12 @@ export interface ImaHardnessTestResultDto {
|
|
|
37205
36991
|
testLocation?: string | null;
|
|
37206
36992
|
readings: ImaHardnessReadingResultDto[];
|
|
37207
36993
|
testStandards: string[];
|
|
37208
|
-
override?: ImaResultLineOverrideDto | null;
|
|
37209
36994
|
}
|
|
37210
36995
|
|
|
37211
36996
|
export interface ImaHardnessReadingResultDto {
|
|
37212
36997
|
label?: string | null;
|
|
37213
36998
|
scale?: string | null;
|
|
37214
|
-
|
|
36999
|
+
result?: ImaSpecificationResultLineDto | null;
|
|
37215
37000
|
}
|
|
37216
37001
|
|
|
37217
37002
|
export interface ImaImpactTestResultDto {
|
|
@@ -37219,15 +37004,21 @@ export interface ImaImpactTestResultDto {
|
|
|
37219
37004
|
sampleReference?: string | null;
|
|
37220
37005
|
orientation?: string | null;
|
|
37221
37006
|
testLocation?: string | null;
|
|
37222
|
-
temperature?:
|
|
37007
|
+
temperature?: number | null;
|
|
37008
|
+
temperatureUnit?: string | null;
|
|
37223
37009
|
roomTemperature?: boolean | null;
|
|
37224
37010
|
testLabel?: string | null;
|
|
37225
37011
|
notchType?: string | null;
|
|
37226
37012
|
specimenSize?: string | null;
|
|
37227
37013
|
individualValues: ImaResultValueDto[];
|
|
37228
|
-
reportedAverage?:
|
|
37229
|
-
reportedMinimum?:
|
|
37014
|
+
reportedAverage?: ImaSpecificationResultLineDto | null;
|
|
37015
|
+
reportedMinimum?: ImaSpecificationResultLineDto | null;
|
|
37230
37016
|
testStandards: string[];
|
|
37017
|
+
}
|
|
37018
|
+
|
|
37019
|
+
export interface ImaResultValueDto {
|
|
37020
|
+
readValue?: string | null;
|
|
37021
|
+
unit?: string | null;
|
|
37231
37022
|
override?: ImaResultLineOverrideDto | null;
|
|
37232
37023
|
}
|
|
37233
37024
|
|
|
@@ -37236,13 +37027,13 @@ export interface ImaCorrosionTestResultDto {
|
|
|
37236
37027
|
sampleReference?: string | null;
|
|
37237
37028
|
testLocation?: string | null;
|
|
37238
37029
|
testMethod?: string | null;
|
|
37239
|
-
|
|
37030
|
+
temperature?: number | null;
|
|
37031
|
+
temperatureUnit?: string | null;
|
|
37240
37032
|
roomTemperature?: boolean | null;
|
|
37241
37033
|
weightLoss?: ImaResultValueDto | null;
|
|
37242
|
-
pitting?:
|
|
37243
|
-
result?:
|
|
37244
|
-
acceptable?:
|
|
37245
|
-
override?: ImaResultLineOverrideDto | null;
|
|
37034
|
+
pitting?: ImaResultValueDto | null;
|
|
37035
|
+
result?: ImaResultValueDto | null;
|
|
37036
|
+
acceptable?: ImaResultValueDto | null;
|
|
37246
37037
|
}
|
|
37247
37038
|
|
|
37248
37039
|
export interface ImaFerriteResultDto {
|
|
@@ -37286,10 +37077,10 @@ export interface ImaDocumentTypesResultsDto {
|
|
|
37286
37077
|
export interface ImaOverrideMaterialCheckRequestDto {
|
|
37287
37078
|
certificateTypeSection?: ImaOverrideCertificateTypeResultsDto | null;
|
|
37288
37079
|
chemicalAnalysisSection?: ImaOverrideChemicalAnalysisResultsDto[] | null;
|
|
37289
|
-
tensileTestSection?:
|
|
37290
|
-
hardnessTestSection?:
|
|
37291
|
-
impactTestSection?:
|
|
37292
|
-
corrosionTestSection?:
|
|
37080
|
+
tensileTestSection?: ImaOverrideTensileTestResultsDto[] | null;
|
|
37081
|
+
hardnessTestSection?: ImaOverrideHardnessTestResultsDto[] | null;
|
|
37082
|
+
impactTestSection?: ImaOverrideImpactTestResultsDto[] | null;
|
|
37083
|
+
corrosionTestSection?: ImaOverrideCorrosionTestResultsDto[] | null;
|
|
37293
37084
|
ferriteResultSection?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37294
37085
|
documentTypesSection?: ImaOverrideDocumentTypesResultsDto | null;
|
|
37295
37086
|
}
|
|
@@ -37403,6 +37194,62 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
|
|
|
37403
37194
|
ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37404
37195
|
}
|
|
37405
37196
|
|
|
37197
|
+
export interface ImaOverrideTensileTestResultsDto {
|
|
37198
|
+
heatNumber?: string | null;
|
|
37199
|
+
sampleReference?: string | null;
|
|
37200
|
+
orientation?: string | null;
|
|
37201
|
+
tensileStrength?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37202
|
+
yieldTensileRatio?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37203
|
+
reductionOfArea?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37204
|
+
yieldStrengths?: ImaOverrideYieldStrengthResultDto[] | null;
|
|
37205
|
+
elongations?: ImaOverrideElongationResultDto[] | null;
|
|
37206
|
+
}
|
|
37207
|
+
|
|
37208
|
+
export interface ImaOverrideYieldStrengthResultDto {
|
|
37209
|
+
labelVerbatim?: string | null;
|
|
37210
|
+
override?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37211
|
+
}
|
|
37212
|
+
|
|
37213
|
+
export interface ImaOverrideElongationResultDto {
|
|
37214
|
+
gauge?: string | null;
|
|
37215
|
+
override?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37216
|
+
}
|
|
37217
|
+
|
|
37218
|
+
export interface ImaOverrideHardnessTestResultsDto {
|
|
37219
|
+
heatNumber?: string | null;
|
|
37220
|
+
sampleReference?: string | null;
|
|
37221
|
+
orientation?: string | null;
|
|
37222
|
+
readings?: ImaOverrideHardnessReadingResultDto[] | null;
|
|
37223
|
+
}
|
|
37224
|
+
|
|
37225
|
+
export interface ImaOverrideHardnessReadingResultDto {
|
|
37226
|
+
label?: string | null;
|
|
37227
|
+
override?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37228
|
+
}
|
|
37229
|
+
|
|
37230
|
+
export interface ImaOverrideImpactTestResultsDto {
|
|
37231
|
+
heatNumber?: string | null;
|
|
37232
|
+
sampleReference?: string | null;
|
|
37233
|
+
orientation?: string | null;
|
|
37234
|
+
reportedAverage?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37235
|
+
reportedMinimum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37236
|
+
individualValues?: ImaOverrideIndexedResultLineDto[] | null;
|
|
37237
|
+
}
|
|
37238
|
+
|
|
37239
|
+
export interface ImaOverrideIndexedResultLineDto {
|
|
37240
|
+
index?: number;
|
|
37241
|
+
override?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37242
|
+
}
|
|
37243
|
+
|
|
37244
|
+
export interface ImaOverrideCorrosionTestResultsDto {
|
|
37245
|
+
heatNumber?: string | null;
|
|
37246
|
+
sampleReference?: string | null;
|
|
37247
|
+
weightLoss?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37248
|
+
pitting?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37249
|
+
result?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37250
|
+
acceptable?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37251
|
+
}
|
|
37252
|
+
|
|
37406
37253
|
export interface ImaOverrideDocumentTypesResultsDto {
|
|
37407
37254
|
ultrasonicControlCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37408
37255
|
radiologicalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -37698,14 +37545,28 @@ export interface ImaChemistryCompositeSpecificationDto {
|
|
|
37698
37545
|
}
|
|
37699
37546
|
|
|
37700
37547
|
export interface ImaMechanicalSpecificationDto {
|
|
37548
|
+
tensile?: ImaTensileSpecificationDto | null;
|
|
37549
|
+
hardness?: ImaHardnessSpecificationDto | null;
|
|
37550
|
+
impact?: ImaImpactSpecificationDto | null;
|
|
37551
|
+
}
|
|
37552
|
+
|
|
37553
|
+
export interface ImaTensileSpecificationDto {
|
|
37701
37554
|
yieldStrength?: ImaSpecificationLineDto | null;
|
|
37702
37555
|
tensileStrength?: ImaSpecificationLineDto | null;
|
|
37556
|
+
yieldTensileRatio?: ImaSpecificationLineDto | null;
|
|
37703
37557
|
elongation?: ImaSpecificationLineDto | null;
|
|
37704
37558
|
reductionOfArea?: ImaSpecificationLineDto | null;
|
|
37705
|
-
|
|
37559
|
+
}
|
|
37560
|
+
|
|
37561
|
+
export interface ImaHardnessSpecificationDto {
|
|
37706
37562
|
hardness?: ImaSpecificationLineDto | null;
|
|
37707
37563
|
}
|
|
37708
37564
|
|
|
37565
|
+
export interface ImaImpactSpecificationDto {
|
|
37566
|
+
minimum?: ImaSpecificationLineDto | null;
|
|
37567
|
+
average?: ImaSpecificationLineDto | null;
|
|
37568
|
+
}
|
|
37569
|
+
|
|
37709
37570
|
export interface ImaFerriteSpecificationDto {
|
|
37710
37571
|
ferriteContent?: ImaSpecificationLineDto | null;
|
|
37711
37572
|
}
|
|
@@ -37794,95 +37655,6 @@ export interface ImaSpecificationLiteDto {
|
|
|
37794
37655
|
isDeleted: boolean;
|
|
37795
37656
|
}
|
|
37796
37657
|
|
|
37797
|
-
export interface SchemaCreatorStateDto {
|
|
37798
|
-
settings: SchemaCreatorSettingsDto;
|
|
37799
|
-
elements: SchemaCreatorElementDto[];
|
|
37800
|
-
fullParse?: SchemaCreatorFullParseStatusDto | null;
|
|
37801
|
-
}
|
|
37802
|
-
|
|
37803
|
-
export interface SchemaCreatorSettingsDto {
|
|
37804
|
-
unit?: UnitOfMeasureDto;
|
|
37805
|
-
tolerance?: GeneralToleranceDto;
|
|
37806
|
-
balloonSize?: number;
|
|
37807
|
-
}
|
|
37808
|
-
|
|
37809
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
37810
|
-
|
|
37811
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
37812
|
-
|
|
37813
|
-
export interface SchemaCreatorElementDto {
|
|
37814
|
-
id: string;
|
|
37815
|
-
kind: SchemaCreatorElementKindDto;
|
|
37816
|
-
drawings: SchemaCreatorElementDrawingsDto;
|
|
37817
|
-
isDirty?: boolean | null;
|
|
37818
|
-
values?: SchemaCreatorElementValuesDto | null;
|
|
37819
|
-
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
37820
|
-
}
|
|
37821
|
-
|
|
37822
|
-
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
37823
|
-
|
|
37824
|
-
export interface SchemaCreatorElementDrawingsDto {
|
|
37825
|
-
square: SchemaCreatorDrawingDto;
|
|
37826
|
-
circle: SchemaCreatorDrawingDto;
|
|
37827
|
-
textId: string;
|
|
37828
|
-
}
|
|
37829
|
-
|
|
37830
|
-
export interface SchemaCreatorDrawingDto {
|
|
37831
|
-
rect: SchemaCreatorRectDto;
|
|
37832
|
-
pageIndex: number;
|
|
37833
|
-
annotationId: string;
|
|
37834
|
-
rotation?: number | null;
|
|
37835
|
-
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
37836
|
-
}
|
|
37837
|
-
|
|
37838
|
-
export interface SchemaCreatorRectDto {
|
|
37839
|
-
origin: SchemaCreatorPointDto;
|
|
37840
|
-
size: SchemaCreatorSizeDto;
|
|
37841
|
-
}
|
|
37842
|
-
|
|
37843
|
-
export interface SchemaCreatorPointDto {
|
|
37844
|
-
x: number;
|
|
37845
|
-
y: number;
|
|
37846
|
-
}
|
|
37847
|
-
|
|
37848
|
-
export interface SchemaCreatorSizeDto {
|
|
37849
|
-
width: number;
|
|
37850
|
-
height: number;
|
|
37851
|
-
}
|
|
37852
|
-
|
|
37853
|
-
export interface SchemaCreatorElementValuesDto {
|
|
37854
|
-
reference: number;
|
|
37855
|
-
nominal?: number | null;
|
|
37856
|
-
nominalText?: string | null;
|
|
37857
|
-
plusTolerance?: number | null;
|
|
37858
|
-
minusTolerance?: number | null;
|
|
37859
|
-
coatingThickness?: number | null;
|
|
37860
|
-
measurementFrequency: MeasurementFrequency;
|
|
37861
|
-
measurementFrequencyParameter?: number | null;
|
|
37862
|
-
type?: string | null;
|
|
37863
|
-
count?: number | null;
|
|
37864
|
-
comment?: string | null;
|
|
37865
|
-
canCopy: boolean;
|
|
37866
|
-
visibleToCustomer: boolean;
|
|
37867
|
-
isDocumentedExternally: boolean;
|
|
37868
|
-
}
|
|
37869
|
-
|
|
37870
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
37871
|
-
|
|
37872
|
-
export interface SchemaCreatorSnipResultDto {
|
|
37873
|
-
nominal?: number | null;
|
|
37874
|
-
nominalText?: string | null;
|
|
37875
|
-
plusTolerance?: number | null;
|
|
37876
|
-
minusTolerance?: number | null;
|
|
37877
|
-
coatingThickness?: number | null;
|
|
37878
|
-
count?: number | null;
|
|
37879
|
-
}
|
|
37880
|
-
|
|
37881
|
-
export interface SchemaCreatorFullParseStatusDto {
|
|
37882
|
-
inProgress: boolean;
|
|
37883
|
-
startedAt?: Date | null;
|
|
37884
|
-
}
|
|
37885
|
-
|
|
37886
37658
|
export interface MeasurementFormSchemaDto {
|
|
37887
37659
|
id: string;
|
|
37888
37660
|
versionId: number;
|
|
@@ -37917,8 +37689,12 @@ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
|
37917
37689
|
|
|
37918
37690
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
37919
37691
|
|
|
37692
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
37693
|
+
|
|
37920
37694
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
37921
37695
|
|
|
37696
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
37697
|
+
|
|
37922
37698
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
37923
37699
|
url: string;
|
|
37924
37700
|
title: string;
|
|
@@ -37969,6 +37745,8 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
37969
37745
|
validationErrorMessage?: string | null;
|
|
37970
37746
|
}
|
|
37971
37747
|
|
|
37748
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
37749
|
+
|
|
37972
37750
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
37973
37751
|
|
|
37974
37752
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|