@ignos/api-client 20240508.0.9233 → 20240513.0.9268

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.
@@ -722,7 +722,8 @@ export declare class LocateBookingClient extends AuthorizedApiBase implements IL
722
722
  protected processFinishDelivery(response: Response): Promise<BookingResponseDto>;
723
723
  }
724
724
  export interface ILocateLocationsClient {
725
- searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | undefined, workOrderId: string | null | undefined): Promise<LocationDto[]>;
725
+ searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | undefined): Promise<LocationDto[]>;
726
+ suggestionsLocations(workOrderId: string | null | undefined, locationKinds: LocationKindDto[] | undefined): Promise<LocationDto[]>;
726
727
  }
727
728
  export declare class LocateLocationsClient extends AuthorizedApiBase implements ILocateLocationsClient {
728
729
  private http;
@@ -731,21 +732,10 @@ export declare class LocateLocationsClient extends AuthorizedApiBase implements
731
732
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
732
733
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
733
734
  });
734
- searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | undefined, workOrderId: string | null | undefined): Promise<LocationDto[]>;
735
+ searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | undefined): Promise<LocationDto[]>;
735
736
  protected processSearchLocations(response: Response): Promise<LocationDto[]>;
736
- }
737
- export interface ILocateOrdersClient {
738
- searchOrders(input: string | null | undefined): Promise<SearchWorkOrderDto[]>;
739
- }
740
- export declare class LocateOrdersClient extends AuthorizedApiBase implements ILocateOrdersClient {
741
- private http;
742
- private baseUrl;
743
- protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
744
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
745
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
746
- });
747
- searchOrders(input: string | null | undefined): Promise<SearchWorkOrderDto[]>;
748
- protected processSearchOrders(response: Response): Promise<SearchWorkOrderDto[]>;
737
+ suggestionsLocations(workOrderId: string | null | undefined, locationKinds: LocationKindDto[] | undefined): Promise<LocationDto[]>;
738
+ protected processSuggestionsLocations(response: Response): Promise<LocationDto[]>;
749
739
  }
750
740
  export interface ILocateTrackingClient {
751
741
  listTrackingHistory(workOrderId: string): Promise<TrackingHistoryDto>;
@@ -769,6 +759,19 @@ export declare class LocateTrackingClient extends AuthorizedApiBase implements I
769
759
  createLabel(workOrderId: string, palletCount: number | undefined): Promise<FileResponse>;
770
760
  protected processCreateLabel(response: Response): Promise<FileResponse>;
771
761
  }
762
+ export interface ILocateWorkOrdersClient {
763
+ searchWorkOrders(input: string | null | undefined): Promise<SearchWorkOrderDto[]>;
764
+ }
765
+ export declare class LocateWorkOrdersClient extends AuthorizedApiBase implements ILocateWorkOrdersClient {
766
+ private http;
767
+ private baseUrl;
768
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
769
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
770
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
771
+ });
772
+ searchWorkOrders(input: string | null | undefined): Promise<SearchWorkOrderDto[]>;
773
+ protected processSearchWorkOrders(response: Response): Promise<SearchWorkOrderDto[]>;
774
+ }
772
775
  export interface ILinksClient {
773
776
  getAllLinks(scope: string | null | undefined): Promise<LinkDto[]>;
774
777
  createLink(request: CreateLinkRequest): Promise<LinkDto>;
@@ -5241,20 +5244,6 @@ export interface ILocationDto {
5241
5244
  profile?: string | null;
5242
5245
  }
5243
5246
  export type LocationKindDto = "Warehouse" | "Zone" | "Location";
5244
- export declare class SearchWorkOrderDto implements ISearchWorkOrderDto {
5245
- workOrderId: string;
5246
- partName?: string | null;
5247
- partNumber?: string | null;
5248
- constructor(data?: ISearchWorkOrderDto);
5249
- init(_data?: any): void;
5250
- static fromJS(data: any): SearchWorkOrderDto;
5251
- toJSON(data?: any): any;
5252
- }
5253
- export interface ISearchWorkOrderDto {
5254
- workOrderId: string;
5255
- partName?: string | null;
5256
- partNumber?: string | null;
5257
- }
5258
5247
  export declare class TrackingHistoryDto implements ITrackingHistoryDto {
5259
5248
  workOrderId: string;
5260
5249
  trackingEvents: TrackingEventDto[];
@@ -5309,6 +5298,20 @@ export interface ITrackingUpdateDto {
5309
5298
  comments?: string | null;
5310
5299
  pallets?: number | null;
5311
5300
  }
5301
+ export declare class SearchWorkOrderDto implements ISearchWorkOrderDto {
5302
+ workOrderId: string;
5303
+ partName?: string | null;
5304
+ partNumber?: string | null;
5305
+ constructor(data?: ISearchWorkOrderDto);
5306
+ init(_data?: any): void;
5307
+ static fromJS(data: any): SearchWorkOrderDto;
5308
+ toJSON(data?: any): any;
5309
+ }
5310
+ export interface ISearchWorkOrderDto {
5311
+ workOrderId: string;
5312
+ partName?: string | null;
5313
+ partNumber?: string | null;
5314
+ }
5312
5315
  export declare class LinkDto implements ILinkDto {
5313
5316
  id: string;
5314
5317
  uri: string;
@@ -5696,7 +5696,7 @@ export class LocateLocationsClient extends AuthorizedApiBase {
5696
5696
  this.http = http ? http : window;
5697
5697
  this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
5698
5698
  }
5699
- searchLocations(input, locationKinds, workOrderId) {
5699
+ searchLocations(input, locationKinds) {
5700
5700
  let url_ = this.baseUrl + "/locate/locations/search?";
5701
5701
  if (input !== undefined && input !== null)
5702
5702
  url_ += "input=" + encodeURIComponent("" + input) + "&";
@@ -5704,8 +5704,6 @@ export class LocateLocationsClient extends AuthorizedApiBase {
5704
5704
  throw new Error("The parameter 'locationKinds' cannot be null.");
5705
5705
  else if (locationKinds !== undefined)
5706
5706
  locationKinds && locationKinds.forEach(item => { url_ += "locationKinds=" + encodeURIComponent("" + item) + "&"; });
5707
- if (workOrderId !== undefined && workOrderId !== null)
5708
- url_ += "workOrderId=" + encodeURIComponent("" + workOrderId) + "&";
5709
5707
  url_ = url_.replace(/[?&]$/, "");
5710
5708
  let options_ = {
5711
5709
  method: "GET",
@@ -5745,18 +5743,14 @@ export class LocateLocationsClient extends AuthorizedApiBase {
5745
5743
  }
5746
5744
  return Promise.resolve(null);
5747
5745
  }
5748
- }
5749
- export class LocateOrdersClient extends AuthorizedApiBase {
5750
- constructor(configuration, baseUrl, http) {
5751
- super(configuration);
5752
- this.jsonParseReviver = undefined;
5753
- this.http = http ? http : window;
5754
- this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
5755
- }
5756
- searchOrders(input) {
5757
- let url_ = this.baseUrl + "/locate/orders/search?";
5758
- if (input !== undefined && input !== null)
5759
- url_ += "input=" + encodeURIComponent("" + input) + "&";
5746
+ suggestionsLocations(workOrderId, locationKinds) {
5747
+ let url_ = this.baseUrl + "/locate/locations/suggestions?";
5748
+ if (workOrderId !== undefined && workOrderId !== null)
5749
+ url_ += "workOrderId=" + encodeURIComponent("" + workOrderId) + "&";
5750
+ if (locationKinds === null)
5751
+ throw new Error("The parameter 'locationKinds' cannot be null.");
5752
+ else if (locationKinds !== undefined)
5753
+ locationKinds && locationKinds.forEach(item => { url_ += "locationKinds=" + encodeURIComponent("" + item) + "&"; });
5760
5754
  url_ = url_.replace(/[?&]$/, "");
5761
5755
  let options_ = {
5762
5756
  method: "GET",
@@ -5767,10 +5761,10 @@ export class LocateOrdersClient extends AuthorizedApiBase {
5767
5761
  return this.transformOptions(options_).then(transformedOptions_ => {
5768
5762
  return this.http.fetch(url_, transformedOptions_);
5769
5763
  }).then((_response) => {
5770
- return this.processSearchOrders(_response);
5764
+ return this.processSuggestionsLocations(_response);
5771
5765
  });
5772
5766
  }
5773
- processSearchOrders(response) {
5767
+ processSuggestionsLocations(response) {
5774
5768
  const status = response.status;
5775
5769
  let _headers = {};
5776
5770
  if (response.headers && response.headers.forEach) {
@@ -5784,7 +5778,7 @@ export class LocateOrdersClient extends AuthorizedApiBase {
5784
5778
  if (Array.isArray(resultData200)) {
5785
5779
  result200 = [];
5786
5780
  for (let item of resultData200)
5787
- result200.push(SearchWorkOrderDto.fromJS(item));
5781
+ result200.push(LocationDto.fromJS(item));
5788
5782
  }
5789
5783
  return result200;
5790
5784
  });
@@ -5983,6 +5977,57 @@ export class LocateTrackingClient extends AuthorizedApiBase {
5983
5977
  return Promise.resolve(null);
5984
5978
  }
5985
5979
  }
5980
+ export class LocateWorkOrdersClient extends AuthorizedApiBase {
5981
+ constructor(configuration, baseUrl, http) {
5982
+ super(configuration);
5983
+ this.jsonParseReviver = undefined;
5984
+ this.http = http ? http : window;
5985
+ this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
5986
+ }
5987
+ searchWorkOrders(input) {
5988
+ let url_ = this.baseUrl + "/locate/workorders/search?";
5989
+ if (input !== undefined && input !== null)
5990
+ url_ += "input=" + encodeURIComponent("" + input) + "&";
5991
+ url_ = url_.replace(/[?&]$/, "");
5992
+ let options_ = {
5993
+ method: "GET",
5994
+ headers: {
5995
+ "Accept": "application/json"
5996
+ }
5997
+ };
5998
+ return this.transformOptions(options_).then(transformedOptions_ => {
5999
+ return this.http.fetch(url_, transformedOptions_);
6000
+ }).then((_response) => {
6001
+ return this.processSearchWorkOrders(_response);
6002
+ });
6003
+ }
6004
+ processSearchWorkOrders(response) {
6005
+ const status = response.status;
6006
+ let _headers = {};
6007
+ if (response.headers && response.headers.forEach) {
6008
+ response.headers.forEach((v, k) => _headers[k] = v);
6009
+ }
6010
+ ;
6011
+ if (status === 200) {
6012
+ return response.text().then((_responseText) => {
6013
+ let result200 = null;
6014
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6015
+ if (Array.isArray(resultData200)) {
6016
+ result200 = [];
6017
+ for (let item of resultData200)
6018
+ result200.push(SearchWorkOrderDto.fromJS(item));
6019
+ }
6020
+ return result200;
6021
+ });
6022
+ }
6023
+ else if (status !== 200 && status !== 204) {
6024
+ return response.text().then((_responseText) => {
6025
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
6026
+ });
6027
+ }
6028
+ return Promise.resolve(null);
6029
+ }
6030
+ }
5986
6031
  export class LinksClient extends AuthorizedApiBase {
5987
6032
  constructor(configuration, baseUrl, http) {
5988
6033
  super(configuration);
@@ -24373,36 +24418,6 @@ export class LocationDto {
24373
24418
  return data;
24374
24419
  }
24375
24420
  }
24376
- export class SearchWorkOrderDto {
24377
- constructor(data) {
24378
- if (data) {
24379
- for (var property in data) {
24380
- if (data.hasOwnProperty(property))
24381
- this[property] = data[property];
24382
- }
24383
- }
24384
- }
24385
- init(_data) {
24386
- if (_data) {
24387
- this.workOrderId = _data["workOrderId"];
24388
- this.partName = _data["partName"];
24389
- this.partNumber = _data["partNumber"];
24390
- }
24391
- }
24392
- static fromJS(data) {
24393
- data = typeof data === 'object' ? data : {};
24394
- let result = new SearchWorkOrderDto();
24395
- result.init(data);
24396
- return result;
24397
- }
24398
- toJSON(data) {
24399
- data = typeof data === 'object' ? data : {};
24400
- data["workOrderId"] = this.workOrderId;
24401
- data["partName"] = this.partName;
24402
- data["partNumber"] = this.partNumber;
24403
- return data;
24404
- }
24405
- }
24406
24421
  export class TrackingHistoryDto {
24407
24422
  constructor(data) {
24408
24423
  if (data) {
@@ -24520,6 +24535,36 @@ export class TrackingUpdateDto {
24520
24535
  return data;
24521
24536
  }
24522
24537
  }
24538
+ export class SearchWorkOrderDto {
24539
+ constructor(data) {
24540
+ if (data) {
24541
+ for (var property in data) {
24542
+ if (data.hasOwnProperty(property))
24543
+ this[property] = data[property];
24544
+ }
24545
+ }
24546
+ }
24547
+ init(_data) {
24548
+ if (_data) {
24549
+ this.workOrderId = _data["workOrderId"];
24550
+ this.partName = _data["partName"];
24551
+ this.partNumber = _data["partNumber"];
24552
+ }
24553
+ }
24554
+ static fromJS(data) {
24555
+ data = typeof data === 'object' ? data : {};
24556
+ let result = new SearchWorkOrderDto();
24557
+ result.init(data);
24558
+ return result;
24559
+ }
24560
+ toJSON(data) {
24561
+ data = typeof data === 'object' ? data : {};
24562
+ data["workOrderId"] = this.workOrderId;
24563
+ data["partName"] = this.partName;
24564
+ data["partNumber"] = this.partNumber;
24565
+ return data;
24566
+ }
24567
+ }
24523
24568
  export class LinkDto {
24524
24569
  constructor(data) {
24525
24570
  if (data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20240508.0.9233",
3
+ "version": "20240513.0.9268",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -6084,7 +6084,9 @@ export class LocateBookingClient extends AuthorizedApiBase implements ILocateBoo
6084
6084
 
6085
6085
  export interface ILocateLocationsClient {
6086
6086
 
6087
- searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | undefined, workOrderId: string | null | undefined): Promise<LocationDto[]>;
6087
+ searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | undefined): Promise<LocationDto[]>;
6088
+
6089
+ suggestionsLocations(workOrderId: string | null | undefined, locationKinds: LocationKindDto[] | undefined): Promise<LocationDto[]>;
6088
6090
  }
6089
6091
 
6090
6092
  export class LocateLocationsClient extends AuthorizedApiBase implements ILocateLocationsClient {
@@ -6098,7 +6100,7 @@ export class LocateLocationsClient extends AuthorizedApiBase implements ILocateL
6098
6100
  this.baseUrl = baseUrl ?? "";
6099
6101
  }
6100
6102
 
6101
- searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | undefined, workOrderId: string | null | undefined): Promise<LocationDto[]> {
6103
+ searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | undefined): Promise<LocationDto[]> {
6102
6104
  let url_ = this.baseUrl + "/locate/locations/search?";
6103
6105
  if (input !== undefined && input !== null)
6104
6106
  url_ += "input=" + encodeURIComponent("" + input) + "&";
@@ -6106,8 +6108,6 @@ export class LocateLocationsClient extends AuthorizedApiBase implements ILocateL
6106
6108
  throw new Error("The parameter 'locationKinds' cannot be null.");
6107
6109
  else if (locationKinds !== undefined)
6108
6110
  locationKinds && locationKinds.forEach(item => { url_ += "locationKinds=" + encodeURIComponent("" + item) + "&"; });
6109
- if (workOrderId !== undefined && workOrderId !== null)
6110
- url_ += "workOrderId=" + encodeURIComponent("" + workOrderId) + "&";
6111
6111
  url_ = url_.replace(/[?&]$/, "");
6112
6112
 
6113
6113
  let options_: RequestInit = {
@@ -6145,28 +6145,15 @@ export class LocateLocationsClient extends AuthorizedApiBase implements ILocateL
6145
6145
  }
6146
6146
  return Promise.resolve<LocationDto[]>(null as any);
6147
6147
  }
6148
- }
6149
-
6150
- export interface ILocateOrdersClient {
6151
-
6152
- searchOrders(input: string | null | undefined): Promise<SearchWorkOrderDto[]>;
6153
- }
6154
-
6155
- export class LocateOrdersClient extends AuthorizedApiBase implements ILocateOrdersClient {
6156
- private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
6157
- private baseUrl: string;
6158
- protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;
6159
-
6160
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
6161
- super(configuration);
6162
- this.http = http ? http : window as any;
6163
- this.baseUrl = baseUrl ?? "";
6164
- }
6165
6148
 
6166
- searchOrders(input: string | null | undefined): Promise<SearchWorkOrderDto[]> {
6167
- let url_ = this.baseUrl + "/locate/orders/search?";
6168
- if (input !== undefined && input !== null)
6169
- url_ += "input=" + encodeURIComponent("" + input) + "&";
6149
+ suggestionsLocations(workOrderId: string | null | undefined, locationKinds: LocationKindDto[] | undefined): Promise<LocationDto[]> {
6150
+ let url_ = this.baseUrl + "/locate/locations/suggestions?";
6151
+ if (workOrderId !== undefined && workOrderId !== null)
6152
+ url_ += "workOrderId=" + encodeURIComponent("" + workOrderId) + "&";
6153
+ if (locationKinds === null)
6154
+ throw new Error("The parameter 'locationKinds' cannot be null.");
6155
+ else if (locationKinds !== undefined)
6156
+ locationKinds && locationKinds.forEach(item => { url_ += "locationKinds=" + encodeURIComponent("" + item) + "&"; });
6170
6157
  url_ = url_.replace(/[?&]$/, "");
6171
6158
 
6172
6159
  let options_: RequestInit = {
@@ -6179,11 +6166,11 @@ export class LocateOrdersClient extends AuthorizedApiBase implements ILocateOrde
6179
6166
  return this.transformOptions(options_).then(transformedOptions_ => {
6180
6167
  return this.http.fetch(url_, transformedOptions_);
6181
6168
  }).then((_response: Response) => {
6182
- return this.processSearchOrders(_response);
6169
+ return this.processSuggestionsLocations(_response);
6183
6170
  });
6184
6171
  }
6185
6172
 
6186
- protected processSearchOrders(response: Response): Promise<SearchWorkOrderDto[]> {
6173
+ protected processSuggestionsLocations(response: Response): Promise<LocationDto[]> {
6187
6174
  const status = response.status;
6188
6175
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
6189
6176
  if (status === 200) {
@@ -6193,7 +6180,7 @@ export class LocateOrdersClient extends AuthorizedApiBase implements ILocateOrde
6193
6180
  if (Array.isArray(resultData200)) {
6194
6181
  result200 = [] as any;
6195
6182
  for (let item of resultData200)
6196
- result200!.push(SearchWorkOrderDto.fromJS(item));
6183
+ result200!.push(LocationDto.fromJS(item));
6197
6184
  }
6198
6185
  return result200;
6199
6186
  });
@@ -6202,7 +6189,7 @@ export class LocateOrdersClient extends AuthorizedApiBase implements ILocateOrde
6202
6189
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
6203
6190
  });
6204
6191
  }
6205
- return Promise.resolve<SearchWorkOrderDto[]>(null as any);
6192
+ return Promise.resolve<LocationDto[]>(null as any);
6206
6193
  }
6207
6194
  }
6208
6195
 
@@ -6404,6 +6391,65 @@ export class LocateTrackingClient extends AuthorizedApiBase implements ILocateTr
6404
6391
  }
6405
6392
  }
6406
6393
 
6394
+ export interface ILocateWorkOrdersClient {
6395
+
6396
+ searchWorkOrders(input: string | null | undefined): Promise<SearchWorkOrderDto[]>;
6397
+ }
6398
+
6399
+ export class LocateWorkOrdersClient extends AuthorizedApiBase implements ILocateWorkOrdersClient {
6400
+ private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
6401
+ private baseUrl: string;
6402
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;
6403
+
6404
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
6405
+ super(configuration);
6406
+ this.http = http ? http : window as any;
6407
+ this.baseUrl = baseUrl ?? "";
6408
+ }
6409
+
6410
+ searchWorkOrders(input: string | null | undefined): Promise<SearchWorkOrderDto[]> {
6411
+ let url_ = this.baseUrl + "/locate/workorders/search?";
6412
+ if (input !== undefined && input !== null)
6413
+ url_ += "input=" + encodeURIComponent("" + input) + "&";
6414
+ url_ = url_.replace(/[?&]$/, "");
6415
+
6416
+ let options_: RequestInit = {
6417
+ method: "GET",
6418
+ headers: {
6419
+ "Accept": "application/json"
6420
+ }
6421
+ };
6422
+
6423
+ return this.transformOptions(options_).then(transformedOptions_ => {
6424
+ return this.http.fetch(url_, transformedOptions_);
6425
+ }).then((_response: Response) => {
6426
+ return this.processSearchWorkOrders(_response);
6427
+ });
6428
+ }
6429
+
6430
+ protected processSearchWorkOrders(response: Response): Promise<SearchWorkOrderDto[]> {
6431
+ const status = response.status;
6432
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
6433
+ if (status === 200) {
6434
+ return response.text().then((_responseText) => {
6435
+ let result200: any = null;
6436
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6437
+ if (Array.isArray(resultData200)) {
6438
+ result200 = [] as any;
6439
+ for (let item of resultData200)
6440
+ result200!.push(SearchWorkOrderDto.fromJS(item));
6441
+ }
6442
+ return result200;
6443
+ });
6444
+ } else if (status !== 200 && status !== 204) {
6445
+ return response.text().then((_responseText) => {
6446
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
6447
+ });
6448
+ }
6449
+ return Promise.resolve<SearchWorkOrderDto[]>(null as any);
6450
+ }
6451
+ }
6452
+
6407
6453
  export interface ILinksClient {
6408
6454
 
6409
6455
  getAllLinks(scope: string | null | undefined): Promise<LinkDto[]>;
@@ -28665,50 +28711,6 @@ export interface ILocationDto {
28665
28711
 
28666
28712
  export type LocationKindDto = "Warehouse" | "Zone" | "Location";
28667
28713
 
28668
- export class SearchWorkOrderDto implements ISearchWorkOrderDto {
28669
- workOrderId!: string;
28670
- partName?: string | null;
28671
- partNumber?: string | null;
28672
-
28673
- constructor(data?: ISearchWorkOrderDto) {
28674
- if (data) {
28675
- for (var property in data) {
28676
- if (data.hasOwnProperty(property))
28677
- (<any>this)[property] = (<any>data)[property];
28678
- }
28679
- }
28680
- }
28681
-
28682
- init(_data?: any) {
28683
- if (_data) {
28684
- this.workOrderId = _data["workOrderId"];
28685
- this.partName = _data["partName"];
28686
- this.partNumber = _data["partNumber"];
28687
- }
28688
- }
28689
-
28690
- static fromJS(data: any): SearchWorkOrderDto {
28691
- data = typeof data === 'object' ? data : {};
28692
- let result = new SearchWorkOrderDto();
28693
- result.init(data);
28694
- return result;
28695
- }
28696
-
28697
- toJSON(data?: any) {
28698
- data = typeof data === 'object' ? data : {};
28699
- data["workOrderId"] = this.workOrderId;
28700
- data["partName"] = this.partName;
28701
- data["partNumber"] = this.partNumber;
28702
- return data;
28703
- }
28704
- }
28705
-
28706
- export interface ISearchWorkOrderDto {
28707
- workOrderId: string;
28708
- partName?: string | null;
28709
- partNumber?: string | null;
28710
- }
28711
-
28712
28714
  export class TrackingHistoryDto implements ITrackingHistoryDto {
28713
28715
  workOrderId!: string;
28714
28716
  trackingEvents!: TrackingEventDto[];
@@ -28880,6 +28882,50 @@ export interface ITrackingUpdateDto {
28880
28882
  pallets?: number | null;
28881
28883
  }
28882
28884
 
28885
+ export class SearchWorkOrderDto implements ISearchWorkOrderDto {
28886
+ workOrderId!: string;
28887
+ partName?: string | null;
28888
+ partNumber?: string | null;
28889
+
28890
+ constructor(data?: ISearchWorkOrderDto) {
28891
+ if (data) {
28892
+ for (var property in data) {
28893
+ if (data.hasOwnProperty(property))
28894
+ (<any>this)[property] = (<any>data)[property];
28895
+ }
28896
+ }
28897
+ }
28898
+
28899
+ init(_data?: any) {
28900
+ if (_data) {
28901
+ this.workOrderId = _data["workOrderId"];
28902
+ this.partName = _data["partName"];
28903
+ this.partNumber = _data["partNumber"];
28904
+ }
28905
+ }
28906
+
28907
+ static fromJS(data: any): SearchWorkOrderDto {
28908
+ data = typeof data === 'object' ? data : {};
28909
+ let result = new SearchWorkOrderDto();
28910
+ result.init(data);
28911
+ return result;
28912
+ }
28913
+
28914
+ toJSON(data?: any) {
28915
+ data = typeof data === 'object' ? data : {};
28916
+ data["workOrderId"] = this.workOrderId;
28917
+ data["partName"] = this.partName;
28918
+ data["partNumber"] = this.partNumber;
28919
+ return data;
28920
+ }
28921
+ }
28922
+
28923
+ export interface ISearchWorkOrderDto {
28924
+ workOrderId: string;
28925
+ partName?: string | null;
28926
+ partNumber?: string | null;
28927
+ }
28928
+
28883
28929
  export class LinkDto implements ILinkDto {
28884
28930
  id!: string;
28885
28931
  uri!: string;