@ignos/api-client 20240805.0.9915 → 20240809.0.9957
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 +29 -0
- package/lib/ignosportal-api.js +92 -1
- package/package.json +1 -1
- package/src/ignosportal-api.ts +122 -1
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -1470,6 +1470,7 @@ export interface IMesProductionOrderClient {
|
|
|
1470
1470
|
getProductionOrderOpenNonConformances(id: string, onlyOpen: boolean | undefined): Promise<NonConformanceDto[]>;
|
|
1471
1471
|
postMaterialPickList(id: string, operationNumber: number, request: PostMaterialPickListRequest): Promise<MaterialPickListResultDto>;
|
|
1472
1472
|
listProductionOrderActivities(id: string, operation: number | null | undefined): Promise<ProductionOrderOperationActivityDto[]>;
|
|
1473
|
+
getPrintableProductionOrders(request: GenerateProductionOrderPdf): Promise<DownloadDto>;
|
|
1473
1474
|
}
|
|
1474
1475
|
export declare class MesProductionOrderClient extends AuthorizedApiBase implements IMesProductionOrderClient {
|
|
1475
1476
|
private http;
|
|
@@ -1492,6 +1493,8 @@ export declare class MesProductionOrderClient extends AuthorizedApiBase implemen
|
|
|
1492
1493
|
protected processPostMaterialPickList(response: Response): Promise<MaterialPickListResultDto>;
|
|
1493
1494
|
listProductionOrderActivities(id: string, operation: number | null | undefined): Promise<ProductionOrderOperationActivityDto[]>;
|
|
1494
1495
|
protected processListProductionOrderActivities(response: Response): Promise<ProductionOrderOperationActivityDto[]>;
|
|
1496
|
+
getPrintableProductionOrders(request: GenerateProductionOrderPdf): Promise<DownloadDto>;
|
|
1497
|
+
protected processGetPrintableProductionOrders(response: Response): Promise<DownloadDto>;
|
|
1495
1498
|
}
|
|
1496
1499
|
export interface IMesProductionScheduleClient {
|
|
1497
1500
|
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: 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>;
|
|
@@ -8346,6 +8349,25 @@ export interface IProductionOrderOperationActivityDto {
|
|
|
8346
8349
|
producedQuantity?: number | null;
|
|
8347
8350
|
scrappedQuantity?: number | null;
|
|
8348
8351
|
}
|
|
8352
|
+
export declare class GenerateProductionOrderPdf implements IGenerateProductionOrderPdf {
|
|
8353
|
+
productionOrderNumbers: string[];
|
|
8354
|
+
type: ProductionOrderPdfType;
|
|
8355
|
+
includeOperations: boolean;
|
|
8356
|
+
includeDrawing: boolean;
|
|
8357
|
+
includeOperationText: boolean;
|
|
8358
|
+
constructor(data?: IGenerateProductionOrderPdf);
|
|
8359
|
+
init(_data?: any): void;
|
|
8360
|
+
static fromJS(data: any): GenerateProductionOrderPdf;
|
|
8361
|
+
toJSON(data?: any): any;
|
|
8362
|
+
}
|
|
8363
|
+
export interface IGenerateProductionOrderPdf {
|
|
8364
|
+
productionOrderNumbers: string[];
|
|
8365
|
+
type: ProductionOrderPdfType;
|
|
8366
|
+
includeOperations: boolean;
|
|
8367
|
+
includeDrawing: boolean;
|
|
8368
|
+
includeOperationText: boolean;
|
|
8369
|
+
}
|
|
8370
|
+
export type ProductionOrderPdfType = "Rich" | "Compact";
|
|
8349
8371
|
export declare class PagedResultOfProductionScheduleOperationDto implements IPagedResultOfProductionScheduleOperationDto {
|
|
8350
8372
|
results: ProductionScheduleOperationDto[];
|
|
8351
8373
|
continuationToken?: string | null;
|
|
@@ -9049,6 +9071,7 @@ export type BookingStatusDto = "Pending" | "Cancelled" | "InProgress" | "Complet
|
|
|
9049
9071
|
export declare class BookingItemDto implements IBookingItemDto {
|
|
9050
9072
|
trackingId: string;
|
|
9051
9073
|
workOrderId: string;
|
|
9074
|
+
parcelKind: BookingKindDto;
|
|
9052
9075
|
material?: string | null;
|
|
9053
9076
|
comment?: string | null;
|
|
9054
9077
|
covered: MaterialCoveredDto;
|
|
@@ -9061,6 +9084,7 @@ export declare class BookingItemDto implements IBookingItemDto {
|
|
|
9061
9084
|
export interface IBookingItemDto {
|
|
9062
9085
|
trackingId: string;
|
|
9063
9086
|
workOrderId: string;
|
|
9087
|
+
parcelKind: BookingKindDto;
|
|
9064
9088
|
material?: string | null;
|
|
9065
9089
|
comment?: string | null;
|
|
9066
9090
|
covered: MaterialCoveredDto;
|
|
@@ -9304,6 +9328,7 @@ export interface ITrackingHistoryListDto {
|
|
|
9304
9328
|
export declare class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
9305
9329
|
trackingId: string;
|
|
9306
9330
|
palletNumber: number;
|
|
9331
|
+
parcelKind: BookingKindDto;
|
|
9307
9332
|
workOrderId: string;
|
|
9308
9333
|
trackingEvents: TrackingEventDto[];
|
|
9309
9334
|
material?: string | null;
|
|
@@ -9315,6 +9340,7 @@ export declare class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
|
9315
9340
|
export interface ITrackingHistoryDto {
|
|
9316
9341
|
trackingId: string;
|
|
9317
9342
|
palletNumber: number;
|
|
9343
|
+
parcelKind: BookingKindDto;
|
|
9318
9344
|
workOrderId: string;
|
|
9319
9345
|
trackingEvents: TrackingEventDto[];
|
|
9320
9346
|
material?: string | null;
|
|
@@ -9406,6 +9432,7 @@ export interface ITrackingHistoryUpdateDto {
|
|
|
9406
9432
|
}
|
|
9407
9433
|
export declare class SearchWorkOrderDto implements ISearchWorkOrderDto {
|
|
9408
9434
|
workOrderId: string;
|
|
9435
|
+
matchCriteria: SearchMatchCriteriaDto;
|
|
9409
9436
|
items: SearchWorkOrderItemDto[];
|
|
9410
9437
|
partName?: string | null;
|
|
9411
9438
|
partNumber?: string | null;
|
|
@@ -9416,10 +9443,12 @@ export declare class SearchWorkOrderDto implements ISearchWorkOrderDto {
|
|
|
9416
9443
|
}
|
|
9417
9444
|
export interface ISearchWorkOrderDto {
|
|
9418
9445
|
workOrderId: string;
|
|
9446
|
+
matchCriteria: SearchMatchCriteriaDto;
|
|
9419
9447
|
items: SearchWorkOrderItemDto[];
|
|
9420
9448
|
partName?: string | null;
|
|
9421
9449
|
partNumber?: string | null;
|
|
9422
9450
|
}
|
|
9451
|
+
export type SearchMatchCriteriaDto = "Tracking" | "WorkOrder" | "Parcel";
|
|
9423
9452
|
export declare class SearchWorkOrderItemDto implements ISearchWorkOrderItemDto {
|
|
9424
9453
|
trackingId: string;
|
|
9425
9454
|
selected: boolean;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//----------------------
|
|
2
2
|
// <auto-generated>
|
|
3
|
-
// Generated using the NSwag toolchain v14.0.
|
|
3
|
+
// Generated using the NSwag toolchain v14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
|
|
4
4
|
// </auto-generated>
|
|
5
5
|
//----------------------
|
|
6
6
|
/* tslint:disable */
|
|
@@ -12225,6 +12225,46 @@ export class MesProductionOrderClient extends AuthorizedApiBase {
|
|
|
12225
12225
|
}
|
|
12226
12226
|
return Promise.resolve(null);
|
|
12227
12227
|
}
|
|
12228
|
+
getPrintableProductionOrders(request) {
|
|
12229
|
+
let url_ = this.baseUrl + "/mes/productionorders/printable";
|
|
12230
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
12231
|
+
const content_ = JSON.stringify(request);
|
|
12232
|
+
let options_ = {
|
|
12233
|
+
body: content_,
|
|
12234
|
+
method: "POST",
|
|
12235
|
+
headers: {
|
|
12236
|
+
"Content-Type": "application/json",
|
|
12237
|
+
"Accept": "application/json"
|
|
12238
|
+
}
|
|
12239
|
+
};
|
|
12240
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
12241
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
12242
|
+
}).then((_response) => {
|
|
12243
|
+
return this.processGetPrintableProductionOrders(_response);
|
|
12244
|
+
});
|
|
12245
|
+
}
|
|
12246
|
+
processGetPrintableProductionOrders(response) {
|
|
12247
|
+
const status = response.status;
|
|
12248
|
+
let _headers = {};
|
|
12249
|
+
if (response.headers && response.headers.forEach) {
|
|
12250
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
12251
|
+
}
|
|
12252
|
+
;
|
|
12253
|
+
if (status === 200) {
|
|
12254
|
+
return response.text().then((_responseText) => {
|
|
12255
|
+
let result200 = null;
|
|
12256
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
12257
|
+
result200 = DownloadDto.fromJS(resultData200);
|
|
12258
|
+
return result200;
|
|
12259
|
+
});
|
|
12260
|
+
}
|
|
12261
|
+
else if (status !== 200 && status !== 204) {
|
|
12262
|
+
return response.text().then((_responseText) => {
|
|
12263
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
12264
|
+
});
|
|
12265
|
+
}
|
|
12266
|
+
return Promise.resolve(null);
|
|
12267
|
+
}
|
|
12228
12268
|
}
|
|
12229
12269
|
export class MesProductionScheduleClient extends AuthorizedApiBase {
|
|
12230
12270
|
constructor(configuration, baseUrl, http) {
|
|
@@ -31245,6 +31285,51 @@ export class ProductionOrderOperationActivityDto {
|
|
|
31245
31285
|
return data;
|
|
31246
31286
|
}
|
|
31247
31287
|
}
|
|
31288
|
+
export class GenerateProductionOrderPdf {
|
|
31289
|
+
constructor(data) {
|
|
31290
|
+
if (data) {
|
|
31291
|
+
for (var property in data) {
|
|
31292
|
+
if (data.hasOwnProperty(property))
|
|
31293
|
+
this[property] = data[property];
|
|
31294
|
+
}
|
|
31295
|
+
}
|
|
31296
|
+
if (!data) {
|
|
31297
|
+
this.productionOrderNumbers = [];
|
|
31298
|
+
}
|
|
31299
|
+
}
|
|
31300
|
+
init(_data) {
|
|
31301
|
+
if (_data) {
|
|
31302
|
+
if (Array.isArray(_data["productionOrderNumbers"])) {
|
|
31303
|
+
this.productionOrderNumbers = [];
|
|
31304
|
+
for (let item of _data["productionOrderNumbers"])
|
|
31305
|
+
this.productionOrderNumbers.push(item);
|
|
31306
|
+
}
|
|
31307
|
+
this.type = _data["type"];
|
|
31308
|
+
this.includeOperations = _data["includeOperations"];
|
|
31309
|
+
this.includeDrawing = _data["includeDrawing"];
|
|
31310
|
+
this.includeOperationText = _data["includeOperationText"];
|
|
31311
|
+
}
|
|
31312
|
+
}
|
|
31313
|
+
static fromJS(data) {
|
|
31314
|
+
data = typeof data === 'object' ? data : {};
|
|
31315
|
+
let result = new GenerateProductionOrderPdf();
|
|
31316
|
+
result.init(data);
|
|
31317
|
+
return result;
|
|
31318
|
+
}
|
|
31319
|
+
toJSON(data) {
|
|
31320
|
+
data = typeof data === 'object' ? data : {};
|
|
31321
|
+
if (Array.isArray(this.productionOrderNumbers)) {
|
|
31322
|
+
data["productionOrderNumbers"] = [];
|
|
31323
|
+
for (let item of this.productionOrderNumbers)
|
|
31324
|
+
data["productionOrderNumbers"].push(item);
|
|
31325
|
+
}
|
|
31326
|
+
data["type"] = this.type;
|
|
31327
|
+
data["includeOperations"] = this.includeOperations;
|
|
31328
|
+
data["includeDrawing"] = this.includeDrawing;
|
|
31329
|
+
data["includeOperationText"] = this.includeOperationText;
|
|
31330
|
+
return data;
|
|
31331
|
+
}
|
|
31332
|
+
}
|
|
31248
31333
|
export class PagedResultOfProductionScheduleOperationDto {
|
|
31249
31334
|
constructor(data) {
|
|
31250
31335
|
if (data) {
|
|
@@ -32770,6 +32855,7 @@ export class BookingItemDto {
|
|
|
32770
32855
|
if (_data) {
|
|
32771
32856
|
this.trackingId = _data["trackingId"];
|
|
32772
32857
|
this.workOrderId = _data["workOrderId"];
|
|
32858
|
+
this.parcelKind = _data["parcelKind"];
|
|
32773
32859
|
this.material = _data["material"];
|
|
32774
32860
|
this.comment = _data["comment"];
|
|
32775
32861
|
this.covered = _data["covered"];
|
|
@@ -32786,6 +32872,7 @@ export class BookingItemDto {
|
|
|
32786
32872
|
data = typeof data === 'object' ? data : {};
|
|
32787
32873
|
data["trackingId"] = this.trackingId;
|
|
32788
32874
|
data["workOrderId"] = this.workOrderId;
|
|
32875
|
+
data["parcelKind"] = this.parcelKind;
|
|
32789
32876
|
data["material"] = this.material;
|
|
32790
32877
|
data["comment"] = this.comment;
|
|
32791
32878
|
data["covered"] = this.covered;
|
|
@@ -33410,6 +33497,7 @@ export class TrackingHistoryDto {
|
|
|
33410
33497
|
if (_data) {
|
|
33411
33498
|
this.trackingId = _data["trackingId"];
|
|
33412
33499
|
this.palletNumber = _data["palletNumber"];
|
|
33500
|
+
this.parcelKind = _data["parcelKind"];
|
|
33413
33501
|
this.workOrderId = _data["workOrderId"];
|
|
33414
33502
|
if (Array.isArray(_data["trackingEvents"])) {
|
|
33415
33503
|
this.trackingEvents = [];
|
|
@@ -33429,6 +33517,7 @@ export class TrackingHistoryDto {
|
|
|
33429
33517
|
data = typeof data === 'object' ? data : {};
|
|
33430
33518
|
data["trackingId"] = this.trackingId;
|
|
33431
33519
|
data["palletNumber"] = this.palletNumber;
|
|
33520
|
+
data["parcelKind"] = this.parcelKind;
|
|
33432
33521
|
data["workOrderId"] = this.workOrderId;
|
|
33433
33522
|
if (Array.isArray(this.trackingEvents)) {
|
|
33434
33523
|
data["trackingEvents"] = [];
|
|
@@ -33661,6 +33750,7 @@ export class SearchWorkOrderDto {
|
|
|
33661
33750
|
init(_data) {
|
|
33662
33751
|
if (_data) {
|
|
33663
33752
|
this.workOrderId = _data["workOrderId"];
|
|
33753
|
+
this.matchCriteria = _data["matchCriteria"];
|
|
33664
33754
|
if (Array.isArray(_data["items"])) {
|
|
33665
33755
|
this.items = [];
|
|
33666
33756
|
for (let item of _data["items"])
|
|
@@ -33679,6 +33769,7 @@ export class SearchWorkOrderDto {
|
|
|
33679
33769
|
toJSON(data) {
|
|
33680
33770
|
data = typeof data === 'object' ? data : {};
|
|
33681
33771
|
data["workOrderId"] = this.workOrderId;
|
|
33772
|
+
data["matchCriteria"] = this.matchCriteria;
|
|
33682
33773
|
if (Array.isArray(this.items)) {
|
|
33683
33774
|
data["items"] = [];
|
|
33684
33775
|
for (let item of this.items)
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//----------------------
|
|
2
2
|
// <auto-generated>
|
|
3
|
-
// Generated using the NSwag toolchain v14.0.
|
|
3
|
+
// Generated using the NSwag toolchain v14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
|
|
4
4
|
// </auto-generated>
|
|
5
5
|
//----------------------
|
|
6
6
|
|
|
@@ -12739,6 +12739,8 @@ export interface IMesProductionOrderClient {
|
|
|
12739
12739
|
postMaterialPickList(id: string, operationNumber: number, request: PostMaterialPickListRequest): Promise<MaterialPickListResultDto>;
|
|
12740
12740
|
|
|
12741
12741
|
listProductionOrderActivities(id: string, operation: number | null | undefined): Promise<ProductionOrderOperationActivityDto[]>;
|
|
12742
|
+
|
|
12743
|
+
getPrintableProductionOrders(request: GenerateProductionOrderPdf): Promise<DownloadDto>;
|
|
12742
12744
|
}
|
|
12743
12745
|
|
|
12744
12746
|
export class MesProductionOrderClient extends AuthorizedApiBase implements IMesProductionOrderClient {
|
|
@@ -13060,6 +13062,46 @@ export class MesProductionOrderClient extends AuthorizedApiBase implements IMesP
|
|
|
13060
13062
|
}
|
|
13061
13063
|
return Promise.resolve<ProductionOrderOperationActivityDto[]>(null as any);
|
|
13062
13064
|
}
|
|
13065
|
+
|
|
13066
|
+
getPrintableProductionOrders(request: GenerateProductionOrderPdf): Promise<DownloadDto> {
|
|
13067
|
+
let url_ = this.baseUrl + "/mes/productionorders/printable";
|
|
13068
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
13069
|
+
|
|
13070
|
+
const content_ = JSON.stringify(request);
|
|
13071
|
+
|
|
13072
|
+
let options_: RequestInit = {
|
|
13073
|
+
body: content_,
|
|
13074
|
+
method: "POST",
|
|
13075
|
+
headers: {
|
|
13076
|
+
"Content-Type": "application/json",
|
|
13077
|
+
"Accept": "application/json"
|
|
13078
|
+
}
|
|
13079
|
+
};
|
|
13080
|
+
|
|
13081
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
13082
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
13083
|
+
}).then((_response: Response) => {
|
|
13084
|
+
return this.processGetPrintableProductionOrders(_response);
|
|
13085
|
+
});
|
|
13086
|
+
}
|
|
13087
|
+
|
|
13088
|
+
protected processGetPrintableProductionOrders(response: Response): Promise<DownloadDto> {
|
|
13089
|
+
const status = response.status;
|
|
13090
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
13091
|
+
if (status === 200) {
|
|
13092
|
+
return response.text().then((_responseText) => {
|
|
13093
|
+
let result200: any = null;
|
|
13094
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
13095
|
+
result200 = DownloadDto.fromJS(resultData200);
|
|
13096
|
+
return result200;
|
|
13097
|
+
});
|
|
13098
|
+
} else if (status !== 200 && status !== 204) {
|
|
13099
|
+
return response.text().then((_responseText) => {
|
|
13100
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
13101
|
+
});
|
|
13102
|
+
}
|
|
13103
|
+
return Promise.resolve<DownloadDto>(null as any);
|
|
13104
|
+
}
|
|
13063
13105
|
}
|
|
13064
13106
|
|
|
13065
13107
|
export interface IMesProductionScheduleClient {
|
|
@@ -38599,6 +38641,71 @@ export interface IProductionOrderOperationActivityDto {
|
|
|
38599
38641
|
scrappedQuantity?: number | null;
|
|
38600
38642
|
}
|
|
38601
38643
|
|
|
38644
|
+
export class GenerateProductionOrderPdf implements IGenerateProductionOrderPdf {
|
|
38645
|
+
productionOrderNumbers!: string[];
|
|
38646
|
+
type!: ProductionOrderPdfType;
|
|
38647
|
+
includeOperations!: boolean;
|
|
38648
|
+
includeDrawing!: boolean;
|
|
38649
|
+
includeOperationText!: boolean;
|
|
38650
|
+
|
|
38651
|
+
constructor(data?: IGenerateProductionOrderPdf) {
|
|
38652
|
+
if (data) {
|
|
38653
|
+
for (var property in data) {
|
|
38654
|
+
if (data.hasOwnProperty(property))
|
|
38655
|
+
(<any>this)[property] = (<any>data)[property];
|
|
38656
|
+
}
|
|
38657
|
+
}
|
|
38658
|
+
if (!data) {
|
|
38659
|
+
this.productionOrderNumbers = [];
|
|
38660
|
+
}
|
|
38661
|
+
}
|
|
38662
|
+
|
|
38663
|
+
init(_data?: any) {
|
|
38664
|
+
if (_data) {
|
|
38665
|
+
if (Array.isArray(_data["productionOrderNumbers"])) {
|
|
38666
|
+
this.productionOrderNumbers = [] as any;
|
|
38667
|
+
for (let item of _data["productionOrderNumbers"])
|
|
38668
|
+
this.productionOrderNumbers!.push(item);
|
|
38669
|
+
}
|
|
38670
|
+
this.type = _data["type"];
|
|
38671
|
+
this.includeOperations = _data["includeOperations"];
|
|
38672
|
+
this.includeDrawing = _data["includeDrawing"];
|
|
38673
|
+
this.includeOperationText = _data["includeOperationText"];
|
|
38674
|
+
}
|
|
38675
|
+
}
|
|
38676
|
+
|
|
38677
|
+
static fromJS(data: any): GenerateProductionOrderPdf {
|
|
38678
|
+
data = typeof data === 'object' ? data : {};
|
|
38679
|
+
let result = new GenerateProductionOrderPdf();
|
|
38680
|
+
result.init(data);
|
|
38681
|
+
return result;
|
|
38682
|
+
}
|
|
38683
|
+
|
|
38684
|
+
toJSON(data?: any) {
|
|
38685
|
+
data = typeof data === 'object' ? data : {};
|
|
38686
|
+
if (Array.isArray(this.productionOrderNumbers)) {
|
|
38687
|
+
data["productionOrderNumbers"] = [];
|
|
38688
|
+
for (let item of this.productionOrderNumbers)
|
|
38689
|
+
data["productionOrderNumbers"].push(item);
|
|
38690
|
+
}
|
|
38691
|
+
data["type"] = this.type;
|
|
38692
|
+
data["includeOperations"] = this.includeOperations;
|
|
38693
|
+
data["includeDrawing"] = this.includeDrawing;
|
|
38694
|
+
data["includeOperationText"] = this.includeOperationText;
|
|
38695
|
+
return data;
|
|
38696
|
+
}
|
|
38697
|
+
}
|
|
38698
|
+
|
|
38699
|
+
export interface IGenerateProductionOrderPdf {
|
|
38700
|
+
productionOrderNumbers: string[];
|
|
38701
|
+
type: ProductionOrderPdfType;
|
|
38702
|
+
includeOperations: boolean;
|
|
38703
|
+
includeDrawing: boolean;
|
|
38704
|
+
includeOperationText: boolean;
|
|
38705
|
+
}
|
|
38706
|
+
|
|
38707
|
+
export type ProductionOrderPdfType = "Rich" | "Compact";
|
|
38708
|
+
|
|
38602
38709
|
export class PagedResultOfProductionScheduleOperationDto implements IPagedResultOfProductionScheduleOperationDto {
|
|
38603
38710
|
results!: ProductionScheduleOperationDto[];
|
|
38604
38711
|
continuationToken?: string | null;
|
|
@@ -40822,6 +40929,7 @@ export type BookingStatusDto = "Pending" | "Cancelled" | "InProgress" | "Complet
|
|
|
40822
40929
|
export class BookingItemDto implements IBookingItemDto {
|
|
40823
40930
|
trackingId!: string;
|
|
40824
40931
|
workOrderId!: string;
|
|
40932
|
+
parcelKind!: BookingKindDto;
|
|
40825
40933
|
material?: string | null;
|
|
40826
40934
|
comment?: string | null;
|
|
40827
40935
|
covered!: MaterialCoveredDto;
|
|
@@ -40840,6 +40948,7 @@ export class BookingItemDto implements IBookingItemDto {
|
|
|
40840
40948
|
if (_data) {
|
|
40841
40949
|
this.trackingId = _data["trackingId"];
|
|
40842
40950
|
this.workOrderId = _data["workOrderId"];
|
|
40951
|
+
this.parcelKind = _data["parcelKind"];
|
|
40843
40952
|
this.material = _data["material"];
|
|
40844
40953
|
this.comment = _data["comment"];
|
|
40845
40954
|
this.covered = _data["covered"];
|
|
@@ -40858,6 +40967,7 @@ export class BookingItemDto implements IBookingItemDto {
|
|
|
40858
40967
|
data = typeof data === 'object' ? data : {};
|
|
40859
40968
|
data["trackingId"] = this.trackingId;
|
|
40860
40969
|
data["workOrderId"] = this.workOrderId;
|
|
40970
|
+
data["parcelKind"] = this.parcelKind;
|
|
40861
40971
|
data["material"] = this.material;
|
|
40862
40972
|
data["comment"] = this.comment;
|
|
40863
40973
|
data["covered"] = this.covered;
|
|
@@ -40869,6 +40979,7 @@ export class BookingItemDto implements IBookingItemDto {
|
|
|
40869
40979
|
export interface IBookingItemDto {
|
|
40870
40980
|
trackingId: string;
|
|
40871
40981
|
workOrderId: string;
|
|
40982
|
+
parcelKind: BookingKindDto;
|
|
40872
40983
|
material?: string | null;
|
|
40873
40984
|
comment?: string | null;
|
|
40874
40985
|
covered: MaterialCoveredDto;
|
|
@@ -41717,6 +41828,7 @@ export interface ITrackingHistoryListDto {
|
|
|
41717
41828
|
export class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
41718
41829
|
trackingId!: string;
|
|
41719
41830
|
palletNumber!: number;
|
|
41831
|
+
parcelKind!: BookingKindDto;
|
|
41720
41832
|
workOrderId!: string;
|
|
41721
41833
|
trackingEvents!: TrackingEventDto[];
|
|
41722
41834
|
material?: string | null;
|
|
@@ -41737,6 +41849,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
|
41737
41849
|
if (_data) {
|
|
41738
41850
|
this.trackingId = _data["trackingId"];
|
|
41739
41851
|
this.palletNumber = _data["palletNumber"];
|
|
41852
|
+
this.parcelKind = _data["parcelKind"];
|
|
41740
41853
|
this.workOrderId = _data["workOrderId"];
|
|
41741
41854
|
if (Array.isArray(_data["trackingEvents"])) {
|
|
41742
41855
|
this.trackingEvents = [] as any;
|
|
@@ -41758,6 +41871,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
|
41758
41871
|
data = typeof data === 'object' ? data : {};
|
|
41759
41872
|
data["trackingId"] = this.trackingId;
|
|
41760
41873
|
data["palletNumber"] = this.palletNumber;
|
|
41874
|
+
data["parcelKind"] = this.parcelKind;
|
|
41761
41875
|
data["workOrderId"] = this.workOrderId;
|
|
41762
41876
|
if (Array.isArray(this.trackingEvents)) {
|
|
41763
41877
|
data["trackingEvents"] = [];
|
|
@@ -41772,6 +41886,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
|
41772
41886
|
export interface ITrackingHistoryDto {
|
|
41773
41887
|
trackingId: string;
|
|
41774
41888
|
palletNumber: number;
|
|
41889
|
+
parcelKind: BookingKindDto;
|
|
41775
41890
|
workOrderId: string;
|
|
41776
41891
|
trackingEvents: TrackingEventDto[];
|
|
41777
41892
|
material?: string | null;
|
|
@@ -42072,6 +42187,7 @@ export interface ITrackingHistoryUpdateDto {
|
|
|
42072
42187
|
|
|
42073
42188
|
export class SearchWorkOrderDto implements ISearchWorkOrderDto {
|
|
42074
42189
|
workOrderId!: string;
|
|
42190
|
+
matchCriteria!: SearchMatchCriteriaDto;
|
|
42075
42191
|
items!: SearchWorkOrderItemDto[];
|
|
42076
42192
|
partName?: string | null;
|
|
42077
42193
|
partNumber?: string | null;
|
|
@@ -42091,6 +42207,7 @@ export class SearchWorkOrderDto implements ISearchWorkOrderDto {
|
|
|
42091
42207
|
init(_data?: any) {
|
|
42092
42208
|
if (_data) {
|
|
42093
42209
|
this.workOrderId = _data["workOrderId"];
|
|
42210
|
+
this.matchCriteria = _data["matchCriteria"];
|
|
42094
42211
|
if (Array.isArray(_data["items"])) {
|
|
42095
42212
|
this.items = [] as any;
|
|
42096
42213
|
for (let item of _data["items"])
|
|
@@ -42111,6 +42228,7 @@ export class SearchWorkOrderDto implements ISearchWorkOrderDto {
|
|
|
42111
42228
|
toJSON(data?: any) {
|
|
42112
42229
|
data = typeof data === 'object' ? data : {};
|
|
42113
42230
|
data["workOrderId"] = this.workOrderId;
|
|
42231
|
+
data["matchCriteria"] = this.matchCriteria;
|
|
42114
42232
|
if (Array.isArray(this.items)) {
|
|
42115
42233
|
data["items"] = [];
|
|
42116
42234
|
for (let item of this.items)
|
|
@@ -42124,11 +42242,14 @@ export class SearchWorkOrderDto implements ISearchWorkOrderDto {
|
|
|
42124
42242
|
|
|
42125
42243
|
export interface ISearchWorkOrderDto {
|
|
42126
42244
|
workOrderId: string;
|
|
42245
|
+
matchCriteria: SearchMatchCriteriaDto;
|
|
42127
42246
|
items: SearchWorkOrderItemDto[];
|
|
42128
42247
|
partName?: string | null;
|
|
42129
42248
|
partNumber?: string | null;
|
|
42130
42249
|
}
|
|
42131
42250
|
|
|
42251
|
+
export type SearchMatchCriteriaDto = "Tracking" | "WorkOrder" | "Parcel";
|
|
42252
|
+
|
|
42132
42253
|
export class SearchWorkOrderItemDto implements ISearchWorkOrderItemDto {
|
|
42133
42254
|
trackingId!: string;
|
|
42134
42255
|
selected!: boolean;
|