@ignos/api-client 20240626.0.9651 → 20240627.0.9676

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.
@@ -1547,6 +1547,7 @@ export declare class MoveLocationsClient extends AuthorizedApiBase implements IM
1547
1547
  protected processSuggestionsLocations(response: Response): Promise<LocationDto[]>;
1548
1548
  }
1549
1549
  export interface IMoveTrackingClient {
1550
+ listTrackingHistory(request: TrackingRequestListDto): Promise<TrackingHistoryListDto>;
1550
1551
  getTrackingHistory(trackingId: string): Promise<TrackingHistoryDto>;
1551
1552
  getWorkOrderTrackingHistory(workOrderId: string): Promise<TrackingWorkOrderDto>;
1552
1553
  listWorkOrderTrackingHistory(workOrderIds: string[]): Promise<TrackingWorkOrderDto[]>;
@@ -1562,6 +1563,8 @@ export declare class MoveTrackingClient extends AuthorizedApiBase implements IMo
1562
1563
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1563
1564
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1564
1565
  });
1566
+ listTrackingHistory(request: TrackingRequestListDto): Promise<TrackingHistoryListDto>;
1567
+ protected processListTrackingHistory(response: Response): Promise<TrackingHistoryListDto>;
1565
1568
  getTrackingHistory(trackingId: string): Promise<TrackingHistoryDto>;
1566
1569
  protected processGetTrackingHistory(response: Response): Promise<TrackingHistoryDto>;
1567
1570
  getWorkOrderTrackingHistory(workOrderId: string): Promise<TrackingWorkOrderDto>;
@@ -8703,7 +8706,13 @@ export interface ILocationDto {
8703
8706
  export type LocationKindDto = "Warehouse" | "Zone" | "Location";
8704
8707
  export declare class BookingRequestListDto implements IBookingRequestListDto {
8705
8708
  pageSize?: number | null;
8709
+ workOrderIdFilter?: string[] | null;
8710
+ materialFilter?: string[] | null;
8711
+ locationIdFromFilter?: string[] | null;
8712
+ locationIdToFilter?: string[] | null;
8706
8713
  bookingStatusFilter?: BookingStatusDto[] | null;
8714
+ bookingKindFilter?: BookingKindDto[] | null;
8715
+ transportKindFilter?: TransportKindDto[] | null;
8707
8716
  bookingOrder?: BookingOrderDto;
8708
8717
  continuationToken?: string | null;
8709
8718
  constructor(data?: IBookingRequestListDto);
@@ -8713,7 +8722,13 @@ export declare class BookingRequestListDto implements IBookingRequestListDto {
8713
8722
  }
8714
8723
  export interface IBookingRequestListDto {
8715
8724
  pageSize?: number | null;
8725
+ workOrderIdFilter?: string[] | null;
8726
+ materialFilter?: string[] | null;
8727
+ locationIdFromFilter?: string[] | null;
8728
+ locationIdToFilter?: string[] | null;
8716
8729
  bookingStatusFilter?: BookingStatusDto[] | null;
8730
+ bookingKindFilter?: BookingKindDto[] | null;
8731
+ transportKindFilter?: TransportKindDto[] | null;
8717
8732
  bookingOrder?: BookingOrderDto;
8718
8733
  continuationToken?: string | null;
8719
8734
  }
@@ -8846,6 +8861,18 @@ export declare class LocationSuggestionsItemDto implements ILocationSuggestionsI
8846
8861
  export interface ILocationSuggestionsItemDto {
8847
8862
  workOrderId: string;
8848
8863
  }
8864
+ export declare class TrackingHistoryListDto implements ITrackingHistoryListDto {
8865
+ results: TrackingHistoryDto[];
8866
+ continuationToken?: string | null;
8867
+ constructor(data?: ITrackingHistoryListDto);
8868
+ init(_data?: any): void;
8869
+ static fromJS(data: any): TrackingHistoryListDto;
8870
+ toJSON(data?: any): any;
8871
+ }
8872
+ export interface ITrackingHistoryListDto {
8873
+ results: TrackingHistoryDto[];
8874
+ continuationToken?: string | null;
8875
+ }
8849
8876
  export declare class TrackingHistoryDto implements ITrackingHistoryDto {
8850
8877
  trackingId: string;
8851
8878
  palletNumber: number;
@@ -8887,6 +8914,24 @@ export interface ITrackingEventDto {
8887
8914
  comment?: string | null;
8888
8915
  }
8889
8916
  export type TrackingStatusDto = "Manual" | "Pending" | "Cancelled" | "InProgress" | "Completed";
8917
+ export declare class TrackingRequestListDto implements ITrackingRequestListDto {
8918
+ pageSize?: number | null;
8919
+ workOrderIdFilter?: string[] | null;
8920
+ locationIdFilter?: string[] | null;
8921
+ materialFilter?: string[] | null;
8922
+ continuationToken?: string | null;
8923
+ constructor(data?: ITrackingRequestListDto);
8924
+ init(_data?: any): void;
8925
+ static fromJS(data: any): TrackingRequestListDto;
8926
+ toJSON(data?: any): any;
8927
+ }
8928
+ export interface ITrackingRequestListDto {
8929
+ pageSize?: number | null;
8930
+ workOrderIdFilter?: string[] | null;
8931
+ locationIdFilter?: string[] | null;
8932
+ materialFilter?: string[] | null;
8933
+ continuationToken?: string | null;
8934
+ }
8890
8935
  export declare class TrackingWorkOrderDto implements ITrackingWorkOrderDto {
8891
8936
  workOrderId: string;
8892
8937
  part?: PartDto | null;
@@ -12768,6 +12768,46 @@ export class MoveTrackingClient extends AuthorizedApiBase {
12768
12768
  this.http = http ? http : window;
12769
12769
  this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
12770
12770
  }
12771
+ listTrackingHistory(request) {
12772
+ let url_ = this.baseUrl + "/move/tracking/list";
12773
+ url_ = url_.replace(/[?&]$/, "");
12774
+ const content_ = JSON.stringify(request);
12775
+ let options_ = {
12776
+ body: content_,
12777
+ method: "POST",
12778
+ headers: {
12779
+ "Content-Type": "application/json",
12780
+ "Accept": "application/json"
12781
+ }
12782
+ };
12783
+ return this.transformOptions(options_).then(transformedOptions_ => {
12784
+ return this.http.fetch(url_, transformedOptions_);
12785
+ }).then((_response) => {
12786
+ return this.processListTrackingHistory(_response);
12787
+ });
12788
+ }
12789
+ processListTrackingHistory(response) {
12790
+ const status = response.status;
12791
+ let _headers = {};
12792
+ if (response.headers && response.headers.forEach) {
12793
+ response.headers.forEach((v, k) => _headers[k] = v);
12794
+ }
12795
+ ;
12796
+ if (status === 200) {
12797
+ return response.text().then((_responseText) => {
12798
+ let result200 = null;
12799
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
12800
+ result200 = TrackingHistoryListDto.fromJS(resultData200);
12801
+ return result200;
12802
+ });
12803
+ }
12804
+ else if (status !== 200 && status !== 204) {
12805
+ return response.text().then((_responseText) => {
12806
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
12807
+ });
12808
+ }
12809
+ return Promise.resolve(null);
12810
+ }
12771
12811
  getTrackingHistory(trackingId) {
12772
12812
  let url_ = this.baseUrl + "/move/tracking/{trackingId}";
12773
12813
  if (trackingId === undefined || trackingId === null)
@@ -31471,11 +31511,41 @@ export class BookingRequestListDto {
31471
31511
  init(_data) {
31472
31512
  if (_data) {
31473
31513
  this.pageSize = _data["pageSize"];
31514
+ if (Array.isArray(_data["workOrderIdFilter"])) {
31515
+ this.workOrderIdFilter = [];
31516
+ for (let item of _data["workOrderIdFilter"])
31517
+ this.workOrderIdFilter.push(item);
31518
+ }
31519
+ if (Array.isArray(_data["materialFilter"])) {
31520
+ this.materialFilter = [];
31521
+ for (let item of _data["materialFilter"])
31522
+ this.materialFilter.push(item);
31523
+ }
31524
+ if (Array.isArray(_data["locationIdFromFilter"])) {
31525
+ this.locationIdFromFilter = [];
31526
+ for (let item of _data["locationIdFromFilter"])
31527
+ this.locationIdFromFilter.push(item);
31528
+ }
31529
+ if (Array.isArray(_data["locationIdToFilter"])) {
31530
+ this.locationIdToFilter = [];
31531
+ for (let item of _data["locationIdToFilter"])
31532
+ this.locationIdToFilter.push(item);
31533
+ }
31474
31534
  if (Array.isArray(_data["bookingStatusFilter"])) {
31475
31535
  this.bookingStatusFilter = [];
31476
31536
  for (let item of _data["bookingStatusFilter"])
31477
31537
  this.bookingStatusFilter.push(item);
31478
31538
  }
31539
+ if (Array.isArray(_data["bookingKindFilter"])) {
31540
+ this.bookingKindFilter = [];
31541
+ for (let item of _data["bookingKindFilter"])
31542
+ this.bookingKindFilter.push(item);
31543
+ }
31544
+ if (Array.isArray(_data["transportKindFilter"])) {
31545
+ this.transportKindFilter = [];
31546
+ for (let item of _data["transportKindFilter"])
31547
+ this.transportKindFilter.push(item);
31548
+ }
31479
31549
  this.bookingOrder = _data["bookingOrder"];
31480
31550
  this.continuationToken = _data["continuationToken"];
31481
31551
  }
@@ -31489,11 +31559,41 @@ export class BookingRequestListDto {
31489
31559
  toJSON(data) {
31490
31560
  data = typeof data === 'object' ? data : {};
31491
31561
  data["pageSize"] = this.pageSize;
31562
+ if (Array.isArray(this.workOrderIdFilter)) {
31563
+ data["workOrderIdFilter"] = [];
31564
+ for (let item of this.workOrderIdFilter)
31565
+ data["workOrderIdFilter"].push(item);
31566
+ }
31567
+ if (Array.isArray(this.materialFilter)) {
31568
+ data["materialFilter"] = [];
31569
+ for (let item of this.materialFilter)
31570
+ data["materialFilter"].push(item);
31571
+ }
31572
+ if (Array.isArray(this.locationIdFromFilter)) {
31573
+ data["locationIdFromFilter"] = [];
31574
+ for (let item of this.locationIdFromFilter)
31575
+ data["locationIdFromFilter"].push(item);
31576
+ }
31577
+ if (Array.isArray(this.locationIdToFilter)) {
31578
+ data["locationIdToFilter"] = [];
31579
+ for (let item of this.locationIdToFilter)
31580
+ data["locationIdToFilter"].push(item);
31581
+ }
31492
31582
  if (Array.isArray(this.bookingStatusFilter)) {
31493
31583
  data["bookingStatusFilter"] = [];
31494
31584
  for (let item of this.bookingStatusFilter)
31495
31585
  data["bookingStatusFilter"].push(item);
31496
31586
  }
31587
+ if (Array.isArray(this.bookingKindFilter)) {
31588
+ data["bookingKindFilter"] = [];
31589
+ for (let item of this.bookingKindFilter)
31590
+ data["bookingKindFilter"].push(item);
31591
+ }
31592
+ if (Array.isArray(this.transportKindFilter)) {
31593
+ data["transportKindFilter"] = [];
31594
+ for (let item of this.transportKindFilter)
31595
+ data["transportKindFilter"].push(item);
31596
+ }
31497
31597
  data["bookingOrder"] = this.bookingOrder;
31498
31598
  data["continuationToken"] = this.continuationToken;
31499
31599
  return data;
@@ -31809,6 +31909,45 @@ export class LocationSuggestionsItemDto {
31809
31909
  return data;
31810
31910
  }
31811
31911
  }
31912
+ export class TrackingHistoryListDto {
31913
+ constructor(data) {
31914
+ if (data) {
31915
+ for (var property in data) {
31916
+ if (data.hasOwnProperty(property))
31917
+ this[property] = data[property];
31918
+ }
31919
+ }
31920
+ if (!data) {
31921
+ this.results = [];
31922
+ }
31923
+ }
31924
+ init(_data) {
31925
+ if (_data) {
31926
+ if (Array.isArray(_data["results"])) {
31927
+ this.results = [];
31928
+ for (let item of _data["results"])
31929
+ this.results.push(TrackingHistoryDto.fromJS(item));
31930
+ }
31931
+ this.continuationToken = _data["continuationToken"];
31932
+ }
31933
+ }
31934
+ static fromJS(data) {
31935
+ data = typeof data === 'object' ? data : {};
31936
+ let result = new TrackingHistoryListDto();
31937
+ result.init(data);
31938
+ return result;
31939
+ }
31940
+ toJSON(data) {
31941
+ data = typeof data === 'object' ? data : {};
31942
+ if (Array.isArray(this.results)) {
31943
+ data["results"] = [];
31944
+ for (let item of this.results)
31945
+ data["results"].push(item.toJSON());
31946
+ }
31947
+ data["continuationToken"] = this.continuationToken;
31948
+ return data;
31949
+ }
31950
+ }
31812
31951
  export class TrackingHistoryDto {
31813
31952
  constructor(data) {
31814
31953
  if (data) {
@@ -31892,6 +32031,64 @@ export class TrackingEventDto {
31892
32031
  return data;
31893
32032
  }
31894
32033
  }
32034
+ export class TrackingRequestListDto {
32035
+ constructor(data) {
32036
+ if (data) {
32037
+ for (var property in data) {
32038
+ if (data.hasOwnProperty(property))
32039
+ this[property] = data[property];
32040
+ }
32041
+ }
32042
+ }
32043
+ init(_data) {
32044
+ if (_data) {
32045
+ this.pageSize = _data["pageSize"];
32046
+ if (Array.isArray(_data["workOrderIdFilter"])) {
32047
+ this.workOrderIdFilter = [];
32048
+ for (let item of _data["workOrderIdFilter"])
32049
+ this.workOrderIdFilter.push(item);
32050
+ }
32051
+ if (Array.isArray(_data["locationIdFilter"])) {
32052
+ this.locationIdFilter = [];
32053
+ for (let item of _data["locationIdFilter"])
32054
+ this.locationIdFilter.push(item);
32055
+ }
32056
+ if (Array.isArray(_data["materialFilter"])) {
32057
+ this.materialFilter = [];
32058
+ for (let item of _data["materialFilter"])
32059
+ this.materialFilter.push(item);
32060
+ }
32061
+ this.continuationToken = _data["continuationToken"];
32062
+ }
32063
+ }
32064
+ static fromJS(data) {
32065
+ data = typeof data === 'object' ? data : {};
32066
+ let result = new TrackingRequestListDto();
32067
+ result.init(data);
32068
+ return result;
32069
+ }
32070
+ toJSON(data) {
32071
+ data = typeof data === 'object' ? data : {};
32072
+ data["pageSize"] = this.pageSize;
32073
+ if (Array.isArray(this.workOrderIdFilter)) {
32074
+ data["workOrderIdFilter"] = [];
32075
+ for (let item of this.workOrderIdFilter)
32076
+ data["workOrderIdFilter"].push(item);
32077
+ }
32078
+ if (Array.isArray(this.locationIdFilter)) {
32079
+ data["locationIdFilter"] = [];
32080
+ for (let item of this.locationIdFilter)
32081
+ data["locationIdFilter"].push(item);
32082
+ }
32083
+ if (Array.isArray(this.materialFilter)) {
32084
+ data["materialFilter"] = [];
32085
+ for (let item of this.materialFilter)
32086
+ data["materialFilter"].push(item);
32087
+ }
32088
+ data["continuationToken"] = this.continuationToken;
32089
+ return data;
32090
+ }
32091
+ }
31895
32092
  export class TrackingWorkOrderDto {
31896
32093
  constructor(data) {
31897
32094
  if (data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20240626.0.9651",
3
+ "version": "20240627.0.9676",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -13632,6 +13632,8 @@ export class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocat
13632
13632
 
13633
13633
  export interface IMoveTrackingClient {
13634
13634
 
13635
+ listTrackingHistory(request: TrackingRequestListDto): Promise<TrackingHistoryListDto>;
13636
+
13635
13637
  getTrackingHistory(trackingId: string): Promise<TrackingHistoryDto>;
13636
13638
 
13637
13639
  getWorkOrderTrackingHistory(workOrderId: string): Promise<TrackingWorkOrderDto>;
@@ -13658,6 +13660,46 @@ export class MoveTrackingClient extends AuthorizedApiBase implements IMoveTracki
13658
13660
  this.baseUrl = baseUrl ?? "";
13659
13661
  }
13660
13662
 
13663
+ listTrackingHistory(request: TrackingRequestListDto): Promise<TrackingHistoryListDto> {
13664
+ let url_ = this.baseUrl + "/move/tracking/list";
13665
+ url_ = url_.replace(/[?&]$/, "");
13666
+
13667
+ const content_ = JSON.stringify(request);
13668
+
13669
+ let options_: RequestInit = {
13670
+ body: content_,
13671
+ method: "POST",
13672
+ headers: {
13673
+ "Content-Type": "application/json",
13674
+ "Accept": "application/json"
13675
+ }
13676
+ };
13677
+
13678
+ return this.transformOptions(options_).then(transformedOptions_ => {
13679
+ return this.http.fetch(url_, transformedOptions_);
13680
+ }).then((_response: Response) => {
13681
+ return this.processListTrackingHistory(_response);
13682
+ });
13683
+ }
13684
+
13685
+ protected processListTrackingHistory(response: Response): Promise<TrackingHistoryListDto> {
13686
+ const status = response.status;
13687
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
13688
+ if (status === 200) {
13689
+ return response.text().then((_responseText) => {
13690
+ let result200: any = null;
13691
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
13692
+ result200 = TrackingHistoryListDto.fromJS(resultData200);
13693
+ return result200;
13694
+ });
13695
+ } else if (status !== 200 && status !== 204) {
13696
+ return response.text().then((_responseText) => {
13697
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
13698
+ });
13699
+ }
13700
+ return Promise.resolve<TrackingHistoryListDto>(null as any);
13701
+ }
13702
+
13661
13703
  getTrackingHistory(trackingId: string): Promise<TrackingHistoryDto> {
13662
13704
  let url_ = this.baseUrl + "/move/tracking/{trackingId}";
13663
13705
  if (trackingId === undefined || trackingId === null)
@@ -39214,7 +39256,13 @@ export type LocationKindDto = "Warehouse" | "Zone" | "Location";
39214
39256
 
39215
39257
  export class BookingRequestListDto implements IBookingRequestListDto {
39216
39258
  pageSize?: number | null;
39259
+ workOrderIdFilter?: string[] | null;
39260
+ materialFilter?: string[] | null;
39261
+ locationIdFromFilter?: string[] | null;
39262
+ locationIdToFilter?: string[] | null;
39217
39263
  bookingStatusFilter?: BookingStatusDto[] | null;
39264
+ bookingKindFilter?: BookingKindDto[] | null;
39265
+ transportKindFilter?: TransportKindDto[] | null;
39218
39266
  bookingOrder?: BookingOrderDto;
39219
39267
  continuationToken?: string | null;
39220
39268
 
@@ -39230,11 +39278,41 @@ export class BookingRequestListDto implements IBookingRequestListDto {
39230
39278
  init(_data?: any) {
39231
39279
  if (_data) {
39232
39280
  this.pageSize = _data["pageSize"];
39281
+ if (Array.isArray(_data["workOrderIdFilter"])) {
39282
+ this.workOrderIdFilter = [] as any;
39283
+ for (let item of _data["workOrderIdFilter"])
39284
+ this.workOrderIdFilter!.push(item);
39285
+ }
39286
+ if (Array.isArray(_data["materialFilter"])) {
39287
+ this.materialFilter = [] as any;
39288
+ for (let item of _data["materialFilter"])
39289
+ this.materialFilter!.push(item);
39290
+ }
39291
+ if (Array.isArray(_data["locationIdFromFilter"])) {
39292
+ this.locationIdFromFilter = [] as any;
39293
+ for (let item of _data["locationIdFromFilter"])
39294
+ this.locationIdFromFilter!.push(item);
39295
+ }
39296
+ if (Array.isArray(_data["locationIdToFilter"])) {
39297
+ this.locationIdToFilter = [] as any;
39298
+ for (let item of _data["locationIdToFilter"])
39299
+ this.locationIdToFilter!.push(item);
39300
+ }
39233
39301
  if (Array.isArray(_data["bookingStatusFilter"])) {
39234
39302
  this.bookingStatusFilter = [] as any;
39235
39303
  for (let item of _data["bookingStatusFilter"])
39236
39304
  this.bookingStatusFilter!.push(item);
39237
39305
  }
39306
+ if (Array.isArray(_data["bookingKindFilter"])) {
39307
+ this.bookingKindFilter = [] as any;
39308
+ for (let item of _data["bookingKindFilter"])
39309
+ this.bookingKindFilter!.push(item);
39310
+ }
39311
+ if (Array.isArray(_data["transportKindFilter"])) {
39312
+ this.transportKindFilter = [] as any;
39313
+ for (let item of _data["transportKindFilter"])
39314
+ this.transportKindFilter!.push(item);
39315
+ }
39238
39316
  this.bookingOrder = _data["bookingOrder"];
39239
39317
  this.continuationToken = _data["continuationToken"];
39240
39318
  }
@@ -39250,11 +39328,41 @@ export class BookingRequestListDto implements IBookingRequestListDto {
39250
39328
  toJSON(data?: any) {
39251
39329
  data = typeof data === 'object' ? data : {};
39252
39330
  data["pageSize"] = this.pageSize;
39331
+ if (Array.isArray(this.workOrderIdFilter)) {
39332
+ data["workOrderIdFilter"] = [];
39333
+ for (let item of this.workOrderIdFilter)
39334
+ data["workOrderIdFilter"].push(item);
39335
+ }
39336
+ if (Array.isArray(this.materialFilter)) {
39337
+ data["materialFilter"] = [];
39338
+ for (let item of this.materialFilter)
39339
+ data["materialFilter"].push(item);
39340
+ }
39341
+ if (Array.isArray(this.locationIdFromFilter)) {
39342
+ data["locationIdFromFilter"] = [];
39343
+ for (let item of this.locationIdFromFilter)
39344
+ data["locationIdFromFilter"].push(item);
39345
+ }
39346
+ if (Array.isArray(this.locationIdToFilter)) {
39347
+ data["locationIdToFilter"] = [];
39348
+ for (let item of this.locationIdToFilter)
39349
+ data["locationIdToFilter"].push(item);
39350
+ }
39253
39351
  if (Array.isArray(this.bookingStatusFilter)) {
39254
39352
  data["bookingStatusFilter"] = [];
39255
39353
  for (let item of this.bookingStatusFilter)
39256
39354
  data["bookingStatusFilter"].push(item);
39257
39355
  }
39356
+ if (Array.isArray(this.bookingKindFilter)) {
39357
+ data["bookingKindFilter"] = [];
39358
+ for (let item of this.bookingKindFilter)
39359
+ data["bookingKindFilter"].push(item);
39360
+ }
39361
+ if (Array.isArray(this.transportKindFilter)) {
39362
+ data["transportKindFilter"] = [];
39363
+ for (let item of this.transportKindFilter)
39364
+ data["transportKindFilter"].push(item);
39365
+ }
39258
39366
  data["bookingOrder"] = this.bookingOrder;
39259
39367
  data["continuationToken"] = this.continuationToken;
39260
39368
  return data;
@@ -39263,7 +39371,13 @@ export class BookingRequestListDto implements IBookingRequestListDto {
39263
39371
 
39264
39372
  export interface IBookingRequestListDto {
39265
39373
  pageSize?: number | null;
39374
+ workOrderIdFilter?: string[] | null;
39375
+ materialFilter?: string[] | null;
39376
+ locationIdFromFilter?: string[] | null;
39377
+ locationIdToFilter?: string[] | null;
39266
39378
  bookingStatusFilter?: BookingStatusDto[] | null;
39379
+ bookingKindFilter?: BookingKindDto[] | null;
39380
+ transportKindFilter?: TransportKindDto[] | null;
39267
39381
  bookingOrder?: BookingOrderDto;
39268
39382
  continuationToken?: string | null;
39269
39383
  }
@@ -39708,6 +39822,57 @@ export interface ILocationSuggestionsItemDto {
39708
39822
  workOrderId: string;
39709
39823
  }
39710
39824
 
39825
+ export class TrackingHistoryListDto implements ITrackingHistoryListDto {
39826
+ results!: TrackingHistoryDto[];
39827
+ continuationToken?: string | null;
39828
+
39829
+ constructor(data?: ITrackingHistoryListDto) {
39830
+ if (data) {
39831
+ for (var property in data) {
39832
+ if (data.hasOwnProperty(property))
39833
+ (<any>this)[property] = (<any>data)[property];
39834
+ }
39835
+ }
39836
+ if (!data) {
39837
+ this.results = [];
39838
+ }
39839
+ }
39840
+
39841
+ init(_data?: any) {
39842
+ if (_data) {
39843
+ if (Array.isArray(_data["results"])) {
39844
+ this.results = [] as any;
39845
+ for (let item of _data["results"])
39846
+ this.results!.push(TrackingHistoryDto.fromJS(item));
39847
+ }
39848
+ this.continuationToken = _data["continuationToken"];
39849
+ }
39850
+ }
39851
+
39852
+ static fromJS(data: any): TrackingHistoryListDto {
39853
+ data = typeof data === 'object' ? data : {};
39854
+ let result = new TrackingHistoryListDto();
39855
+ result.init(data);
39856
+ return result;
39857
+ }
39858
+
39859
+ toJSON(data?: any) {
39860
+ data = typeof data === 'object' ? data : {};
39861
+ if (Array.isArray(this.results)) {
39862
+ data["results"] = [];
39863
+ for (let item of this.results)
39864
+ data["results"].push(item.toJSON());
39865
+ }
39866
+ data["continuationToken"] = this.continuationToken;
39867
+ return data;
39868
+ }
39869
+ }
39870
+
39871
+ export interface ITrackingHistoryListDto {
39872
+ results: TrackingHistoryDto[];
39873
+ continuationToken?: string | null;
39874
+ }
39875
+
39711
39876
  export class TrackingHistoryDto implements ITrackingHistoryDto {
39712
39877
  trackingId!: string;
39713
39878
  palletNumber!: number;
@@ -39833,6 +39998,82 @@ export interface ITrackingEventDto {
39833
39998
 
39834
39999
  export type TrackingStatusDto = "Manual" | "Pending" | "Cancelled" | "InProgress" | "Completed";
39835
40000
 
40001
+ export class TrackingRequestListDto implements ITrackingRequestListDto {
40002
+ pageSize?: number | null;
40003
+ workOrderIdFilter?: string[] | null;
40004
+ locationIdFilter?: string[] | null;
40005
+ materialFilter?: string[] | null;
40006
+ continuationToken?: string | null;
40007
+
40008
+ constructor(data?: ITrackingRequestListDto) {
40009
+ if (data) {
40010
+ for (var property in data) {
40011
+ if (data.hasOwnProperty(property))
40012
+ (<any>this)[property] = (<any>data)[property];
40013
+ }
40014
+ }
40015
+ }
40016
+
40017
+ init(_data?: any) {
40018
+ if (_data) {
40019
+ this.pageSize = _data["pageSize"];
40020
+ if (Array.isArray(_data["workOrderIdFilter"])) {
40021
+ this.workOrderIdFilter = [] as any;
40022
+ for (let item of _data["workOrderIdFilter"])
40023
+ this.workOrderIdFilter!.push(item);
40024
+ }
40025
+ if (Array.isArray(_data["locationIdFilter"])) {
40026
+ this.locationIdFilter = [] as any;
40027
+ for (let item of _data["locationIdFilter"])
40028
+ this.locationIdFilter!.push(item);
40029
+ }
40030
+ if (Array.isArray(_data["materialFilter"])) {
40031
+ this.materialFilter = [] as any;
40032
+ for (let item of _data["materialFilter"])
40033
+ this.materialFilter!.push(item);
40034
+ }
40035
+ this.continuationToken = _data["continuationToken"];
40036
+ }
40037
+ }
40038
+
40039
+ static fromJS(data: any): TrackingRequestListDto {
40040
+ data = typeof data === 'object' ? data : {};
40041
+ let result = new TrackingRequestListDto();
40042
+ result.init(data);
40043
+ return result;
40044
+ }
40045
+
40046
+ toJSON(data?: any) {
40047
+ data = typeof data === 'object' ? data : {};
40048
+ data["pageSize"] = this.pageSize;
40049
+ if (Array.isArray(this.workOrderIdFilter)) {
40050
+ data["workOrderIdFilter"] = [];
40051
+ for (let item of this.workOrderIdFilter)
40052
+ data["workOrderIdFilter"].push(item);
40053
+ }
40054
+ if (Array.isArray(this.locationIdFilter)) {
40055
+ data["locationIdFilter"] = [];
40056
+ for (let item of this.locationIdFilter)
40057
+ data["locationIdFilter"].push(item);
40058
+ }
40059
+ if (Array.isArray(this.materialFilter)) {
40060
+ data["materialFilter"] = [];
40061
+ for (let item of this.materialFilter)
40062
+ data["materialFilter"].push(item);
40063
+ }
40064
+ data["continuationToken"] = this.continuationToken;
40065
+ return data;
40066
+ }
40067
+ }
40068
+
40069
+ export interface ITrackingRequestListDto {
40070
+ pageSize?: number | null;
40071
+ workOrderIdFilter?: string[] | null;
40072
+ locationIdFilter?: string[] | null;
40073
+ materialFilter?: string[] | null;
40074
+ continuationToken?: string | null;
40075
+ }
40076
+
39836
40077
  export class TrackingWorkOrderDto implements ITrackingWorkOrderDto {
39837
40078
  workOrderId!: string;
39838
40079
  part?: PartDto | null;