@ignos/api-client 20240805.0.9915 → 20240809.0.9962

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.
@@ -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;
@@ -9099,6 +9123,7 @@ export declare class BookingRequestListDto implements IBookingRequestListDto {
9099
9123
  bookingStatusFilter?: BookingStatusDto[] | null;
9100
9124
  bookingKindFilter?: BookingKindDto[] | null;
9101
9125
  transportKindFilter?: TransportKindDto[] | null;
9126
+ taskFilter?: BookingTaskDto | null;
9102
9127
  bookingOrder?: BookingOrderDto;
9103
9128
  continuationToken?: string | null;
9104
9129
  constructor(data?: IBookingRequestListDto);
@@ -9117,9 +9142,11 @@ export interface IBookingRequestListDto {
9117
9142
  bookingStatusFilter?: BookingStatusDto[] | null;
9118
9143
  bookingKindFilter?: BookingKindDto[] | null;
9119
9144
  transportKindFilter?: TransportKindDto[] | null;
9145
+ taskFilter?: BookingTaskDto | null;
9120
9146
  bookingOrder?: BookingOrderDto;
9121
9147
  continuationToken?: string | null;
9122
9148
  }
9149
+ export type BookingTaskDto = "YourTasks" | "OthersTasks";
9123
9150
  export type BookingOrderDto = "Ascending" | "Descending";
9124
9151
  export declare class BookingUpdateDto implements IBookingUpdateDto {
9125
9152
  bookingId: string;
@@ -9304,6 +9331,7 @@ export interface ITrackingHistoryListDto {
9304
9331
  export declare class TrackingHistoryDto implements ITrackingHistoryDto {
9305
9332
  trackingId: string;
9306
9333
  palletNumber: number;
9334
+ parcelKind: BookingKindDto;
9307
9335
  workOrderId: string;
9308
9336
  trackingEvents: TrackingEventDto[];
9309
9337
  material?: string | null;
@@ -9315,6 +9343,7 @@ export declare class TrackingHistoryDto implements ITrackingHistoryDto {
9315
9343
  export interface ITrackingHistoryDto {
9316
9344
  trackingId: string;
9317
9345
  palletNumber: number;
9346
+ parcelKind: BookingKindDto;
9318
9347
  workOrderId: string;
9319
9348
  trackingEvents: TrackingEventDto[];
9320
9349
  material?: string | null;
@@ -9406,6 +9435,7 @@ export interface ITrackingHistoryUpdateDto {
9406
9435
  }
9407
9436
  export declare class SearchWorkOrderDto implements ISearchWorkOrderDto {
9408
9437
  workOrderId: string;
9438
+ matchCriteria: SearchMatchCriteriaDto;
9409
9439
  items: SearchWorkOrderItemDto[];
9410
9440
  partName?: string | null;
9411
9441
  partNumber?: string | null;
@@ -9416,10 +9446,12 @@ export declare class SearchWorkOrderDto implements ISearchWorkOrderDto {
9416
9446
  }
9417
9447
  export interface ISearchWorkOrderDto {
9418
9448
  workOrderId: string;
9449
+ matchCriteria: SearchMatchCriteriaDto;
9419
9450
  items: SearchWorkOrderItemDto[];
9420
9451
  partName?: string | null;
9421
9452
  partNumber?: string | null;
9422
9453
  }
9454
+ export type SearchMatchCriteriaDto = "Tracking" | "WorkOrder" | "Parcel";
9423
9455
  export declare class SearchWorkOrderItemDto implements ISearchWorkOrderItemDto {
9424
9456
  trackingId: string;
9425
9457
  selected: boolean;
@@ -1,6 +1,6 @@
1
1
  //----------------------
2
2
  // <auto-generated>
3
- // Generated using the NSwag toolchain v14.0.8.0 (NJsonSchema v11.0.1.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
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;
@@ -32886,6 +32973,7 @@ export class BookingRequestListDto {
32886
32973
  for (let item of _data["transportKindFilter"])
32887
32974
  this.transportKindFilter.push(item);
32888
32975
  }
32976
+ this.taskFilter = _data["taskFilter"];
32889
32977
  this.bookingOrder = _data["bookingOrder"];
32890
32978
  this.continuationToken = _data["continuationToken"];
32891
32979
  }
@@ -32944,6 +33032,7 @@ export class BookingRequestListDto {
32944
33032
  for (let item of this.transportKindFilter)
32945
33033
  data["transportKindFilter"].push(item);
32946
33034
  }
33035
+ data["taskFilter"] = this.taskFilter;
32947
33036
  data["bookingOrder"] = this.bookingOrder;
32948
33037
  data["continuationToken"] = this.continuationToken;
32949
33038
  return data;
@@ -33410,6 +33499,7 @@ export class TrackingHistoryDto {
33410
33499
  if (_data) {
33411
33500
  this.trackingId = _data["trackingId"];
33412
33501
  this.palletNumber = _data["palletNumber"];
33502
+ this.parcelKind = _data["parcelKind"];
33413
33503
  this.workOrderId = _data["workOrderId"];
33414
33504
  if (Array.isArray(_data["trackingEvents"])) {
33415
33505
  this.trackingEvents = [];
@@ -33429,6 +33519,7 @@ export class TrackingHistoryDto {
33429
33519
  data = typeof data === 'object' ? data : {};
33430
33520
  data["trackingId"] = this.trackingId;
33431
33521
  data["palletNumber"] = this.palletNumber;
33522
+ data["parcelKind"] = this.parcelKind;
33432
33523
  data["workOrderId"] = this.workOrderId;
33433
33524
  if (Array.isArray(this.trackingEvents)) {
33434
33525
  data["trackingEvents"] = [];
@@ -33661,6 +33752,7 @@ export class SearchWorkOrderDto {
33661
33752
  init(_data) {
33662
33753
  if (_data) {
33663
33754
  this.workOrderId = _data["workOrderId"];
33755
+ this.matchCriteria = _data["matchCriteria"];
33664
33756
  if (Array.isArray(_data["items"])) {
33665
33757
  this.items = [];
33666
33758
  for (let item of _data["items"])
@@ -33679,6 +33771,7 @@ export class SearchWorkOrderDto {
33679
33771
  toJSON(data) {
33680
33772
  data = typeof data === 'object' ? data : {};
33681
33773
  data["workOrderId"] = this.workOrderId;
33774
+ data["matchCriteria"] = this.matchCriteria;
33682
33775
  if (Array.isArray(this.items)) {
33683
33776
  data["items"] = [];
33684
33777
  for (let item of this.items)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20240805.0.9915",
3
+ "version": "20240809.0.9962",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -1,6 +1,6 @@
1
1
  //----------------------
2
2
  // <auto-generated>
3
- // Generated using the NSwag toolchain v14.0.8.0 (NJsonSchema v11.0.1.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
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;
@@ -40946,6 +41057,7 @@ export class BookingRequestListDto implements IBookingRequestListDto {
40946
41057
  bookingStatusFilter?: BookingStatusDto[] | null;
40947
41058
  bookingKindFilter?: BookingKindDto[] | null;
40948
41059
  transportKindFilter?: TransportKindDto[] | null;
41060
+ taskFilter?: BookingTaskDto | null;
40949
41061
  bookingOrder?: BookingOrderDto;
40950
41062
  continuationToken?: string | null;
40951
41063
 
@@ -41006,6 +41118,7 @@ export class BookingRequestListDto implements IBookingRequestListDto {
41006
41118
  for (let item of _data["transportKindFilter"])
41007
41119
  this.transportKindFilter!.push(item);
41008
41120
  }
41121
+ this.taskFilter = _data["taskFilter"];
41009
41122
  this.bookingOrder = _data["bookingOrder"];
41010
41123
  this.continuationToken = _data["continuationToken"];
41011
41124
  }
@@ -41066,6 +41179,7 @@ export class BookingRequestListDto implements IBookingRequestListDto {
41066
41179
  for (let item of this.transportKindFilter)
41067
41180
  data["transportKindFilter"].push(item);
41068
41181
  }
41182
+ data["taskFilter"] = this.taskFilter;
41069
41183
  data["bookingOrder"] = this.bookingOrder;
41070
41184
  data["continuationToken"] = this.continuationToken;
41071
41185
  return data;
@@ -41083,10 +41197,13 @@ export interface IBookingRequestListDto {
41083
41197
  bookingStatusFilter?: BookingStatusDto[] | null;
41084
41198
  bookingKindFilter?: BookingKindDto[] | null;
41085
41199
  transportKindFilter?: TransportKindDto[] | null;
41200
+ taskFilter?: BookingTaskDto | null;
41086
41201
  bookingOrder?: BookingOrderDto;
41087
41202
  continuationToken?: string | null;
41088
41203
  }
41089
41204
 
41205
+ export type BookingTaskDto = "YourTasks" | "OthersTasks";
41206
+
41090
41207
  export type BookingOrderDto = "Ascending" | "Descending";
41091
41208
 
41092
41209
  export class BookingUpdateDto implements IBookingUpdateDto {
@@ -41717,6 +41834,7 @@ export interface ITrackingHistoryListDto {
41717
41834
  export class TrackingHistoryDto implements ITrackingHistoryDto {
41718
41835
  trackingId!: string;
41719
41836
  palletNumber!: number;
41837
+ parcelKind!: BookingKindDto;
41720
41838
  workOrderId!: string;
41721
41839
  trackingEvents!: TrackingEventDto[];
41722
41840
  material?: string | null;
@@ -41737,6 +41855,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
41737
41855
  if (_data) {
41738
41856
  this.trackingId = _data["trackingId"];
41739
41857
  this.palletNumber = _data["palletNumber"];
41858
+ this.parcelKind = _data["parcelKind"];
41740
41859
  this.workOrderId = _data["workOrderId"];
41741
41860
  if (Array.isArray(_data["trackingEvents"])) {
41742
41861
  this.trackingEvents = [] as any;
@@ -41758,6 +41877,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
41758
41877
  data = typeof data === 'object' ? data : {};
41759
41878
  data["trackingId"] = this.trackingId;
41760
41879
  data["palletNumber"] = this.palletNumber;
41880
+ data["parcelKind"] = this.parcelKind;
41761
41881
  data["workOrderId"] = this.workOrderId;
41762
41882
  if (Array.isArray(this.trackingEvents)) {
41763
41883
  data["trackingEvents"] = [];
@@ -41772,6 +41892,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
41772
41892
  export interface ITrackingHistoryDto {
41773
41893
  trackingId: string;
41774
41894
  palletNumber: number;
41895
+ parcelKind: BookingKindDto;
41775
41896
  workOrderId: string;
41776
41897
  trackingEvents: TrackingEventDto[];
41777
41898
  material?: string | null;
@@ -42072,6 +42193,7 @@ export interface ITrackingHistoryUpdateDto {
42072
42193
 
42073
42194
  export class SearchWorkOrderDto implements ISearchWorkOrderDto {
42074
42195
  workOrderId!: string;
42196
+ matchCriteria!: SearchMatchCriteriaDto;
42075
42197
  items!: SearchWorkOrderItemDto[];
42076
42198
  partName?: string | null;
42077
42199
  partNumber?: string | null;
@@ -42091,6 +42213,7 @@ export class SearchWorkOrderDto implements ISearchWorkOrderDto {
42091
42213
  init(_data?: any) {
42092
42214
  if (_data) {
42093
42215
  this.workOrderId = _data["workOrderId"];
42216
+ this.matchCriteria = _data["matchCriteria"];
42094
42217
  if (Array.isArray(_data["items"])) {
42095
42218
  this.items = [] as any;
42096
42219
  for (let item of _data["items"])
@@ -42111,6 +42234,7 @@ export class SearchWorkOrderDto implements ISearchWorkOrderDto {
42111
42234
  toJSON(data?: any) {
42112
42235
  data = typeof data === 'object' ? data : {};
42113
42236
  data["workOrderId"] = this.workOrderId;
42237
+ data["matchCriteria"] = this.matchCriteria;
42114
42238
  if (Array.isArray(this.items)) {
42115
42239
  data["items"] = [];
42116
42240
  for (let item of this.items)
@@ -42124,11 +42248,14 @@ export class SearchWorkOrderDto implements ISearchWorkOrderDto {
42124
42248
 
42125
42249
  export interface ISearchWorkOrderDto {
42126
42250
  workOrderId: string;
42251
+ matchCriteria: SearchMatchCriteriaDto;
42127
42252
  items: SearchWorkOrderItemDto[];
42128
42253
  partName?: string | null;
42129
42254
  partNumber?: string | null;
42130
42255
  }
42131
42256
 
42257
+ export type SearchMatchCriteriaDto = "Tracking" | "WorkOrder" | "Parcel";
42258
+
42132
42259
  export class SearchWorkOrderItemDto implements ISearchWorkOrderItemDto {
42133
42260
  trackingId!: string;
42134
42261
  selected!: boolean;