@ignos/api-client 20240830.0.10201 → 20240830.0.10208

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.
@@ -7901,7 +7901,7 @@ export declare class BookingDto implements IBookingDto {
7901
7901
  parcelKind: ParcelKindDto;
7902
7902
  transportKind: TransportKindDto;
7903
7903
  status: BookingStatusDto;
7904
- parcels: BookingParcelDto[];
7904
+ parcel: BookingParcelDto;
7905
7905
  fromLocation: LocationDto;
7906
7906
  toLocation: LocationDto;
7907
7907
  created: Date;
@@ -7922,7 +7922,7 @@ export interface IBookingDto {
7922
7922
  parcelKind: ParcelKindDto;
7923
7923
  transportKind: TransportKindDto;
7924
7924
  status: BookingStatusDto;
7925
- parcels: BookingParcelDto[];
7925
+ parcel: BookingParcelDto;
7926
7926
  fromLocation: LocationDto;
7927
7927
  toLocation: LocationDto;
7928
7928
  created: Date;
@@ -7945,7 +7945,7 @@ export declare class BookingParcelDto implements IBookingParcelDto {
7945
7945
  quantity?: number | null;
7946
7946
  material?: string | null;
7947
7947
  covered: MaterialCoveredDto;
7948
- items?: BookingItemDto[];
7948
+ item?: BookingItemDto;
7949
7949
  constructor(data?: IBookingParcelDto);
7950
7950
  init(_data?: any): void;
7951
7951
  static fromJS(data: any): BookingParcelDto;
@@ -7959,14 +7959,13 @@ export interface IBookingParcelDto {
7959
7959
  quantity?: number | null;
7960
7960
  material?: string | null;
7961
7961
  covered: MaterialCoveredDto;
7962
- items?: BookingItemDto[];
7962
+ item?: BookingItemDto;
7963
7963
  }
7964
7964
  export type MaterialCoveredDto = "NotDefined" | "NotCovered" | "Covered";
7965
7965
  export declare class BookingItemDto implements IBookingItemDto {
7966
7966
  trackingId: string;
7967
7967
  palletNumber: number;
7968
7968
  comment?: string | null;
7969
- toLocationOverride?: LocationDto | null;
7970
7969
  constructor(data?: IBookingItemDto);
7971
7970
  init(_data?: any): void;
7972
7971
  static fromJS(data: any): BookingItemDto;
@@ -7976,7 +7975,6 @@ export interface IBookingItemDto {
7976
7975
  trackingId: string;
7977
7976
  palletNumber: number;
7978
7977
  comment?: string | null;
7979
- toLocationOverride?: LocationDto | null;
7980
7978
  }
7981
7979
  export declare class LocationDto implements ILocationDto {
7982
7980
  locationId: string;
@@ -8111,7 +8109,8 @@ export interface IBookingGeneralRequestDto {
8111
8109
  export declare class BookingStatusUpdateDto implements IBookingStatusUpdateDto {
8112
8110
  bookingId: string;
8113
8111
  status: BookingStatusDto;
8114
- deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
8112
+ deliveryExceptionToLocationId?: string | null;
8113
+ deliveryExceptionComment?: string | null;
8115
8114
  constructor(data?: IBookingStatusUpdateDto);
8116
8115
  init(_data?: any): void;
8117
8116
  static fromJS(data: any): BookingStatusUpdateDto;
@@ -8120,21 +8119,8 @@ export declare class BookingStatusUpdateDto implements IBookingStatusUpdateDto {
8120
8119
  export interface IBookingStatusUpdateDto {
8121
8120
  bookingId: string;
8122
8121
  status: BookingStatusDto;
8123
- deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
8124
- }
8125
- export declare class BookingDeliveryExceptionDto implements IBookingDeliveryExceptionDto {
8126
- trackingId: string;
8127
- toLocationId?: string | null;
8128
- comment?: string | null;
8129
- constructor(data?: IBookingDeliveryExceptionDto);
8130
- init(_data?: any): void;
8131
- static fromJS(data: any): BookingDeliveryExceptionDto;
8132
- toJSON(data?: any): any;
8133
- }
8134
- export interface IBookingDeliveryExceptionDto {
8135
- trackingId: string;
8136
- toLocationId?: string | null;
8137
- comment?: string | null;
8122
+ deliveryExceptionToLocationId?: string | null;
8123
+ deliveryExceptionComment?: string | null;
8138
8124
  }
8139
8125
  export type LocationProfileDto = "Cage" | "CantileverRack" | "Deviation" | "Gate" | "Ground" | "Inbound" | "Logia" | "LogiaTransit" | "Outbound" | "Pack" | "PalletRack" | "Pick" | "Quality" | "Quarantine" | "Resource" | "ShelvingRack" | "User";
8140
8126
  export declare class LocationSuggestionsDto implements ILocationSuggestionsDto {
@@ -9133,6 +9119,8 @@ export declare class ListProductionScheduleOperationsRequest implements IListPro
9133
9119
  partNumber?: string | null;
9134
9120
  partName?: string | null;
9135
9121
  material?: string | null;
9122
+ bomPartNumber?: string | null;
9123
+ bomPartName?: string | null;
9136
9124
  workOrderIds?: string[] | null;
9137
9125
  partNumbers?: string[] | null;
9138
9126
  partNames?: string[] | null;
@@ -9140,6 +9128,8 @@ export declare class ListProductionScheduleOperationsRequest implements IListPro
9140
9128
  bomPositions?: string[] | null;
9141
9129
  materials?: string[] | null;
9142
9130
  descriptions?: string[] | null;
9131
+ bomPartNumbers?: string[] | null;
9132
+ bomPartNames?: string[] | null;
9143
9133
  availableWork?: boolean | null;
9144
9134
  operationStatuses?: OperationStatusDto[] | null;
9145
9135
  after?: Date | null;
@@ -9159,6 +9149,8 @@ export interface IListProductionScheduleOperationsRequest {
9159
9149
  partNumber?: string | null;
9160
9150
  partName?: string | null;
9161
9151
  material?: string | null;
9152
+ bomPartNumber?: string | null;
9153
+ bomPartName?: string | null;
9162
9154
  workOrderIds?: string[] | null;
9163
9155
  partNumbers?: string[] | null;
9164
9156
  partNames?: string[] | null;
@@ -9166,6 +9158,8 @@ export interface IListProductionScheduleOperationsRequest {
9166
9158
  bomPositions?: string[] | null;
9167
9159
  materials?: string[] | null;
9168
9160
  descriptions?: string[] | null;
9161
+ bomPartNumbers?: string[] | null;
9162
+ bomPartNames?: string[] | null;
9169
9163
  availableWork?: boolean | null;
9170
9164
  operationStatuses?: OperationStatusDto[] | null;
9171
9165
  after?: Date | null;
@@ -9179,6 +9173,8 @@ export declare class ProductionScheduleFiltersDto implements IProductionSchedule
9179
9173
  workOrderIds?: FilterValueWithQuantity[];
9180
9174
  materials?: FilterValueWithQuantity[];
9181
9175
  descriptions?: FilterValueWithQuantity[];
9176
+ bomPartNumbers?: FilterValueWithQuantity[];
9177
+ bomPartNames?: FilterValueWithQuantity[];
9182
9178
  operationsWithAvailableWork?: number;
9183
9179
  operationStatuses?: OperationStatusFilterWithQuantity[];
9184
9180
  lastOperation?: Date | null;
@@ -9196,6 +9192,8 @@ export interface IProductionScheduleFiltersDto {
9196
9192
  workOrderIds?: FilterValueWithQuantity[];
9197
9193
  materials?: FilterValueWithQuantity[];
9198
9194
  descriptions?: FilterValueWithQuantity[];
9195
+ bomPartNumbers?: FilterValueWithQuantity[];
9196
+ bomPartNames?: FilterValueWithQuantity[];
9199
9197
  operationsWithAvailableWork?: number;
9200
9198
  operationStatuses?: OperationStatusFilterWithQuantity[];
9201
9199
  lastOperation?: Date | null;
@@ -9233,6 +9231,8 @@ export declare class GetAvailableProductionScheduleFiltersRequest implements IGe
9233
9231
  partNumber?: string | null;
9234
9232
  partName?: string | null;
9235
9233
  material?: string | null;
9234
+ bomPartNumber?: string | null;
9235
+ bomPartName?: string | null;
9236
9236
  workOrderIds?: string[] | null;
9237
9237
  partNumbers?: string[] | null;
9238
9238
  partNames?: string[] | null;
@@ -9240,6 +9240,8 @@ export declare class GetAvailableProductionScheduleFiltersRequest implements IGe
9240
9240
  bomPositions?: string[] | null;
9241
9241
  materials?: string[] | null;
9242
9242
  descriptions?: string[] | null;
9243
+ bomPartNumbers?: string[] | null;
9244
+ bomPartNames?: string[] | null;
9243
9245
  availableWork?: boolean | null;
9244
9246
  operationStatuses?: OperationStatusDto[] | null;
9245
9247
  after?: Date | null;
@@ -9257,6 +9259,8 @@ export interface IGetAvailableProductionScheduleFiltersRequest {
9257
9259
  partNumber?: string | null;
9258
9260
  partName?: string | null;
9259
9261
  material?: string | null;
9262
+ bomPartNumber?: string | null;
9263
+ bomPartName?: string | null;
9260
9264
  workOrderIds?: string[] | null;
9261
9265
  partNumbers?: string[] | null;
9262
9266
  partNames?: string[] | null;
@@ -9264,6 +9268,8 @@ export interface IGetAvailableProductionScheduleFiltersRequest {
9264
9268
  bomPositions?: string[] | null;
9265
9269
  materials?: string[] | null;
9266
9270
  descriptions?: string[] | null;
9271
+ bomPartNumbers?: string[] | null;
9272
+ bomPartNames?: string[] | null;
9267
9273
  availableWork?: boolean | null;
9268
9274
  operationStatuses?: OperationStatusDto[] | null;
9269
9275
  after?: Date | null;
@@ -30564,7 +30564,7 @@ export class BookingDto {
30564
30564
  }
30565
30565
  }
30566
30566
  if (!data) {
30567
- this.parcels = [];
30567
+ this.parcel = new BookingParcelDto();
30568
30568
  this.fromLocation = new LocationDto();
30569
30569
  this.toLocation = new LocationDto();
30570
30570
  }
@@ -30575,11 +30575,7 @@ export class BookingDto {
30575
30575
  this.parcelKind = _data["parcelKind"];
30576
30576
  this.transportKind = _data["transportKind"];
30577
30577
  this.status = _data["status"];
30578
- if (Array.isArray(_data["parcels"])) {
30579
- this.parcels = [];
30580
- for (let item of _data["parcels"])
30581
- this.parcels.push(BookingParcelDto.fromJS(item));
30582
- }
30578
+ this.parcel = _data["parcel"] ? BookingParcelDto.fromJS(_data["parcel"]) : new BookingParcelDto();
30583
30579
  this.fromLocation = _data["fromLocation"] ? LocationDto.fromJS(_data["fromLocation"]) : new LocationDto();
30584
30580
  this.toLocation = _data["toLocation"] ? LocationDto.fromJS(_data["toLocation"]) : new LocationDto();
30585
30581
  this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
@@ -30604,11 +30600,7 @@ export class BookingDto {
30604
30600
  data["parcelKind"] = this.parcelKind;
30605
30601
  data["transportKind"] = this.transportKind;
30606
30602
  data["status"] = this.status;
30607
- if (Array.isArray(this.parcels)) {
30608
- data["parcels"] = [];
30609
- for (let item of this.parcels)
30610
- data["parcels"].push(item.toJSON());
30611
- }
30603
+ data["parcel"] = this.parcel ? this.parcel.toJSON() : undefined;
30612
30604
  data["fromLocation"] = this.fromLocation ? this.fromLocation.toJSON() : undefined;
30613
30605
  data["toLocation"] = this.toLocation ? this.toLocation.toJSON() : undefined;
30614
30606
  data["created"] = this.created ? this.created.toISOString() : undefined;
@@ -30640,11 +30632,7 @@ export class BookingParcelDto {
30640
30632
  this.quantity = _data["quantity"];
30641
30633
  this.material = _data["material"];
30642
30634
  this.covered = _data["covered"];
30643
- if (Array.isArray(_data["items"])) {
30644
- this.items = [];
30645
- for (let item of _data["items"])
30646
- this.items.push(BookingItemDto.fromJS(item));
30647
- }
30635
+ this.item = _data["item"] ? BookingItemDto.fromJS(_data["item"]) : undefined;
30648
30636
  }
30649
30637
  }
30650
30638
  static fromJS(data) {
@@ -30662,11 +30650,7 @@ export class BookingParcelDto {
30662
30650
  data["quantity"] = this.quantity;
30663
30651
  data["material"] = this.material;
30664
30652
  data["covered"] = this.covered;
30665
- if (Array.isArray(this.items)) {
30666
- data["items"] = [];
30667
- for (let item of this.items)
30668
- data["items"].push(item.toJSON());
30669
- }
30653
+ data["item"] = this.item ? this.item.toJSON() : undefined;
30670
30654
  return data;
30671
30655
  }
30672
30656
  }
@@ -30684,7 +30668,6 @@ export class BookingItemDto {
30684
30668
  this.trackingId = _data["trackingId"];
30685
30669
  this.palletNumber = _data["palletNumber"];
30686
30670
  this.comment = _data["comment"];
30687
- this.toLocationOverride = _data["toLocationOverride"] ? LocationDto.fromJS(_data["toLocationOverride"]) : undefined;
30688
30671
  }
30689
30672
  }
30690
30673
  static fromJS(data) {
@@ -30698,7 +30681,6 @@ export class BookingItemDto {
30698
30681
  data["trackingId"] = this.trackingId;
30699
30682
  data["palletNumber"] = this.palletNumber;
30700
30683
  data["comment"] = this.comment;
30701
- data["toLocationOverride"] = this.toLocationOverride ? this.toLocationOverride.toJSON() : undefined;
30702
30684
  return data;
30703
30685
  }
30704
30686
  }
@@ -31020,11 +31002,8 @@ export class BookingStatusUpdateDto {
31020
31002
  if (_data) {
31021
31003
  this.bookingId = _data["bookingId"];
31022
31004
  this.status = _data["status"];
31023
- if (Array.isArray(_data["deliveryExceptions"])) {
31024
- this.deliveryExceptions = [];
31025
- for (let item of _data["deliveryExceptions"])
31026
- this.deliveryExceptions.push(BookingDeliveryExceptionDto.fromJS(item));
31027
- }
31005
+ this.deliveryExceptionToLocationId = _data["deliveryExceptionToLocationId"];
31006
+ this.deliveryExceptionComment = _data["deliveryExceptionComment"];
31028
31007
  }
31029
31008
  }
31030
31009
  static fromJS(data) {
@@ -31037,41 +31016,8 @@ export class BookingStatusUpdateDto {
31037
31016
  data = typeof data === 'object' ? data : {};
31038
31017
  data["bookingId"] = this.bookingId;
31039
31018
  data["status"] = this.status;
31040
- if (Array.isArray(this.deliveryExceptions)) {
31041
- data["deliveryExceptions"] = [];
31042
- for (let item of this.deliveryExceptions)
31043
- data["deliveryExceptions"].push(item.toJSON());
31044
- }
31045
- return data;
31046
- }
31047
- }
31048
- export class BookingDeliveryExceptionDto {
31049
- constructor(data) {
31050
- if (data) {
31051
- for (var property in data) {
31052
- if (data.hasOwnProperty(property))
31053
- this[property] = data[property];
31054
- }
31055
- }
31056
- }
31057
- init(_data) {
31058
- if (_data) {
31059
- this.trackingId = _data["trackingId"];
31060
- this.toLocationId = _data["toLocationId"];
31061
- this.comment = _data["comment"];
31062
- }
31063
- }
31064
- static fromJS(data) {
31065
- data = typeof data === 'object' ? data : {};
31066
- let result = new BookingDeliveryExceptionDto();
31067
- result.init(data);
31068
- return result;
31069
- }
31070
- toJSON(data) {
31071
- data = typeof data === 'object' ? data : {};
31072
- data["trackingId"] = this.trackingId;
31073
- data["toLocationId"] = this.toLocationId;
31074
- data["comment"] = this.comment;
31019
+ data["deliveryExceptionToLocationId"] = this.deliveryExceptionToLocationId;
31020
+ data["deliveryExceptionComment"] = this.deliveryExceptionComment;
31075
31021
  return data;
31076
31022
  }
31077
31023
  }
@@ -33002,6 +32948,8 @@ export class ListProductionScheduleOperationsRequest {
33002
32948
  this.partNumber = _data["partNumber"];
33003
32949
  this.partName = _data["partName"];
33004
32950
  this.material = _data["material"];
32951
+ this.bomPartNumber = _data["bomPartNumber"];
32952
+ this.bomPartName = _data["bomPartName"];
33005
32953
  if (Array.isArray(_data["workOrderIds"])) {
33006
32954
  this.workOrderIds = [];
33007
32955
  for (let item of _data["workOrderIds"])
@@ -33037,6 +32985,16 @@ export class ListProductionScheduleOperationsRequest {
33037
32985
  for (let item of _data["descriptions"])
33038
32986
  this.descriptions.push(item);
33039
32987
  }
32988
+ if (Array.isArray(_data["bomPartNumbers"])) {
32989
+ this.bomPartNumbers = [];
32990
+ for (let item of _data["bomPartNumbers"])
32991
+ this.bomPartNumbers.push(item);
32992
+ }
32993
+ if (Array.isArray(_data["bomPartNames"])) {
32994
+ this.bomPartNames = [];
32995
+ for (let item of _data["bomPartNames"])
32996
+ this.bomPartNames.push(item);
32997
+ }
33040
32998
  this.availableWork = _data["availableWork"];
33041
32999
  if (Array.isArray(_data["operationStatuses"])) {
33042
33000
  this.operationStatuses = [];
@@ -33064,6 +33022,8 @@ export class ListProductionScheduleOperationsRequest {
33064
33022
  data["partNumber"] = this.partNumber;
33065
33023
  data["partName"] = this.partName;
33066
33024
  data["material"] = this.material;
33025
+ data["bomPartNumber"] = this.bomPartNumber;
33026
+ data["bomPartName"] = this.bomPartName;
33067
33027
  if (Array.isArray(this.workOrderIds)) {
33068
33028
  data["workOrderIds"] = [];
33069
33029
  for (let item of this.workOrderIds)
@@ -33099,6 +33059,16 @@ export class ListProductionScheduleOperationsRequest {
33099
33059
  for (let item of this.descriptions)
33100
33060
  data["descriptions"].push(item);
33101
33061
  }
33062
+ if (Array.isArray(this.bomPartNumbers)) {
33063
+ data["bomPartNumbers"] = [];
33064
+ for (let item of this.bomPartNumbers)
33065
+ data["bomPartNumbers"].push(item);
33066
+ }
33067
+ if (Array.isArray(this.bomPartNames)) {
33068
+ data["bomPartNames"] = [];
33069
+ for (let item of this.bomPartNames)
33070
+ data["bomPartNames"].push(item);
33071
+ }
33102
33072
  data["availableWork"] = this.availableWork;
33103
33073
  if (Array.isArray(this.operationStatuses)) {
33104
33074
  data["operationStatuses"] = [];
@@ -33156,6 +33126,16 @@ export class ProductionScheduleFiltersDto {
33156
33126
  for (let item of _data["descriptions"])
33157
33127
  this.descriptions.push(FilterValueWithQuantity.fromJS(item));
33158
33128
  }
33129
+ if (Array.isArray(_data["bomPartNumbers"])) {
33130
+ this.bomPartNumbers = [];
33131
+ for (let item of _data["bomPartNumbers"])
33132
+ this.bomPartNumbers.push(FilterValueWithQuantity.fromJS(item));
33133
+ }
33134
+ if (Array.isArray(_data["bomPartNames"])) {
33135
+ this.bomPartNames = [];
33136
+ for (let item of _data["bomPartNames"])
33137
+ this.bomPartNames.push(FilterValueWithQuantity.fromJS(item));
33138
+ }
33159
33139
  this.operationsWithAvailableWork = _data["operationsWithAvailableWork"];
33160
33140
  if (Array.isArray(_data["operationStatuses"])) {
33161
33141
  this.operationStatuses = [];
@@ -33209,6 +33189,16 @@ export class ProductionScheduleFiltersDto {
33209
33189
  for (let item of this.descriptions)
33210
33190
  data["descriptions"].push(item.toJSON());
33211
33191
  }
33192
+ if (Array.isArray(this.bomPartNumbers)) {
33193
+ data["bomPartNumbers"] = [];
33194
+ for (let item of this.bomPartNumbers)
33195
+ data["bomPartNumbers"].push(item.toJSON());
33196
+ }
33197
+ if (Array.isArray(this.bomPartNames)) {
33198
+ data["bomPartNames"] = [];
33199
+ for (let item of this.bomPartNames)
33200
+ data["bomPartNames"].push(item.toJSON());
33201
+ }
33212
33202
  data["operationsWithAvailableWork"] = this.operationsWithAvailableWork;
33213
33203
  if (Array.isArray(this.operationStatuses)) {
33214
33204
  data["operationStatuses"] = [];
@@ -33294,6 +33284,8 @@ export class GetAvailableProductionScheduleFiltersRequest {
33294
33284
  this.partNumber = _data["partNumber"];
33295
33285
  this.partName = _data["partName"];
33296
33286
  this.material = _data["material"];
33287
+ this.bomPartNumber = _data["bomPartNumber"];
33288
+ this.bomPartName = _data["bomPartName"];
33297
33289
  if (Array.isArray(_data["workOrderIds"])) {
33298
33290
  this.workOrderIds = [];
33299
33291
  for (let item of _data["workOrderIds"])
@@ -33329,6 +33321,16 @@ export class GetAvailableProductionScheduleFiltersRequest {
33329
33321
  for (let item of _data["descriptions"])
33330
33322
  this.descriptions.push(item);
33331
33323
  }
33324
+ if (Array.isArray(_data["bomPartNumbers"])) {
33325
+ this.bomPartNumbers = [];
33326
+ for (let item of _data["bomPartNumbers"])
33327
+ this.bomPartNumbers.push(item);
33328
+ }
33329
+ if (Array.isArray(_data["bomPartNames"])) {
33330
+ this.bomPartNames = [];
33331
+ for (let item of _data["bomPartNames"])
33332
+ this.bomPartNames.push(item);
33333
+ }
33332
33334
  this.availableWork = _data["availableWork"];
33333
33335
  if (Array.isArray(_data["operationStatuses"])) {
33334
33336
  this.operationStatuses = [];
@@ -33354,6 +33356,8 @@ export class GetAvailableProductionScheduleFiltersRequest {
33354
33356
  data["partNumber"] = this.partNumber;
33355
33357
  data["partName"] = this.partName;
33356
33358
  data["material"] = this.material;
33359
+ data["bomPartNumber"] = this.bomPartNumber;
33360
+ data["bomPartName"] = this.bomPartName;
33357
33361
  if (Array.isArray(this.workOrderIds)) {
33358
33362
  data["workOrderIds"] = [];
33359
33363
  for (let item of this.workOrderIds)
@@ -33389,6 +33393,16 @@ export class GetAvailableProductionScheduleFiltersRequest {
33389
33393
  for (let item of this.descriptions)
33390
33394
  data["descriptions"].push(item);
33391
33395
  }
33396
+ if (Array.isArray(this.bomPartNumbers)) {
33397
+ data["bomPartNumbers"] = [];
33398
+ for (let item of this.bomPartNumbers)
33399
+ data["bomPartNumbers"].push(item);
33400
+ }
33401
+ if (Array.isArray(this.bomPartNames)) {
33402
+ data["bomPartNames"] = [];
33403
+ for (let item of this.bomPartNames)
33404
+ data["bomPartNames"].push(item);
33405
+ }
33392
33406
  data["availableWork"] = this.availableWork;
33393
33407
  if (Array.isArray(this.operationStatuses)) {
33394
33408
  data["operationStatuses"] = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20240830.0.10201",
3
+ "version": "20240830.0.10208",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -37446,7 +37446,7 @@ export class BookingDto implements IBookingDto {
37446
37446
  parcelKind!: ParcelKindDto;
37447
37447
  transportKind!: TransportKindDto;
37448
37448
  status!: BookingStatusDto;
37449
- parcels!: BookingParcelDto[];
37449
+ parcel!: BookingParcelDto;
37450
37450
  fromLocation!: LocationDto;
37451
37451
  toLocation!: LocationDto;
37452
37452
  created!: Date;
@@ -37466,7 +37466,7 @@ export class BookingDto implements IBookingDto {
37466
37466
  }
37467
37467
  }
37468
37468
  if (!data) {
37469
- this.parcels = [];
37469
+ this.parcel = new BookingParcelDto();
37470
37470
  this.fromLocation = new LocationDto();
37471
37471
  this.toLocation = new LocationDto();
37472
37472
  }
@@ -37478,11 +37478,7 @@ export class BookingDto implements IBookingDto {
37478
37478
  this.parcelKind = _data["parcelKind"];
37479
37479
  this.transportKind = _data["transportKind"];
37480
37480
  this.status = _data["status"];
37481
- if (Array.isArray(_data["parcels"])) {
37482
- this.parcels = [] as any;
37483
- for (let item of _data["parcels"])
37484
- this.parcels!.push(BookingParcelDto.fromJS(item));
37485
- }
37481
+ this.parcel = _data["parcel"] ? BookingParcelDto.fromJS(_data["parcel"]) : new BookingParcelDto();
37486
37482
  this.fromLocation = _data["fromLocation"] ? LocationDto.fromJS(_data["fromLocation"]) : new LocationDto();
37487
37483
  this.toLocation = _data["toLocation"] ? LocationDto.fromJS(_data["toLocation"]) : new LocationDto();
37488
37484
  this.created = _data["created"] ? new Date(_data["created"].toString()) : <any>undefined;
@@ -37509,11 +37505,7 @@ export class BookingDto implements IBookingDto {
37509
37505
  data["parcelKind"] = this.parcelKind;
37510
37506
  data["transportKind"] = this.transportKind;
37511
37507
  data["status"] = this.status;
37512
- if (Array.isArray(this.parcels)) {
37513
- data["parcels"] = [];
37514
- for (let item of this.parcels)
37515
- data["parcels"].push(item.toJSON());
37516
- }
37508
+ data["parcel"] = this.parcel ? this.parcel.toJSON() : <any>undefined;
37517
37509
  data["fromLocation"] = this.fromLocation ? this.fromLocation.toJSON() : <any>undefined;
37518
37510
  data["toLocation"] = this.toLocation ? this.toLocation.toJSON() : <any>undefined;
37519
37511
  data["created"] = this.created ? this.created.toISOString() : <any>undefined;
@@ -37533,7 +37525,7 @@ export interface IBookingDto {
37533
37525
  parcelKind: ParcelKindDto;
37534
37526
  transportKind: TransportKindDto;
37535
37527
  status: BookingStatusDto;
37536
- parcels: BookingParcelDto[];
37528
+ parcel: BookingParcelDto;
37537
37529
  fromLocation: LocationDto;
37538
37530
  toLocation: LocationDto;
37539
37531
  created: Date;
@@ -37560,7 +37552,7 @@ export class BookingParcelDto implements IBookingParcelDto {
37560
37552
  quantity?: number | null;
37561
37553
  material?: string | null;
37562
37554
  covered!: MaterialCoveredDto;
37563
- items?: BookingItemDto[];
37555
+ item?: BookingItemDto;
37564
37556
 
37565
37557
  constructor(data?: IBookingParcelDto) {
37566
37558
  if (data) {
@@ -37580,11 +37572,7 @@ export class BookingParcelDto implements IBookingParcelDto {
37580
37572
  this.quantity = _data["quantity"];
37581
37573
  this.material = _data["material"];
37582
37574
  this.covered = _data["covered"];
37583
- if (Array.isArray(_data["items"])) {
37584
- this.items = [] as any;
37585
- for (let item of _data["items"])
37586
- this.items!.push(BookingItemDto.fromJS(item));
37587
- }
37575
+ this.item = _data["item"] ? BookingItemDto.fromJS(_data["item"]) : <any>undefined;
37588
37576
  }
37589
37577
  }
37590
37578
 
@@ -37604,11 +37592,7 @@ export class BookingParcelDto implements IBookingParcelDto {
37604
37592
  data["quantity"] = this.quantity;
37605
37593
  data["material"] = this.material;
37606
37594
  data["covered"] = this.covered;
37607
- if (Array.isArray(this.items)) {
37608
- data["items"] = [];
37609
- for (let item of this.items)
37610
- data["items"].push(item.toJSON());
37611
- }
37595
+ data["item"] = this.item ? this.item.toJSON() : <any>undefined;
37612
37596
  return data;
37613
37597
  }
37614
37598
  }
@@ -37621,7 +37605,7 @@ export interface IBookingParcelDto {
37621
37605
  quantity?: number | null;
37622
37606
  material?: string | null;
37623
37607
  covered: MaterialCoveredDto;
37624
- items?: BookingItemDto[];
37608
+ item?: BookingItemDto;
37625
37609
  }
37626
37610
 
37627
37611
  export type MaterialCoveredDto = "NotDefined" | "NotCovered" | "Covered";
@@ -37630,7 +37614,6 @@ export class BookingItemDto implements IBookingItemDto {
37630
37614
  trackingId!: string;
37631
37615
  palletNumber!: number;
37632
37616
  comment?: string | null;
37633
- toLocationOverride?: LocationDto | null;
37634
37617
 
37635
37618
  constructor(data?: IBookingItemDto) {
37636
37619
  if (data) {
@@ -37646,7 +37629,6 @@ export class BookingItemDto implements IBookingItemDto {
37646
37629
  this.trackingId = _data["trackingId"];
37647
37630
  this.palletNumber = _data["palletNumber"];
37648
37631
  this.comment = _data["comment"];
37649
- this.toLocationOverride = _data["toLocationOverride"] ? LocationDto.fromJS(_data["toLocationOverride"]) : <any>undefined;
37650
37632
  }
37651
37633
  }
37652
37634
 
@@ -37662,7 +37644,6 @@ export class BookingItemDto implements IBookingItemDto {
37662
37644
  data["trackingId"] = this.trackingId;
37663
37645
  data["palletNumber"] = this.palletNumber;
37664
37646
  data["comment"] = this.comment;
37665
- data["toLocationOverride"] = this.toLocationOverride ? this.toLocationOverride.toJSON() : <any>undefined;
37666
37647
  return data;
37667
37648
  }
37668
37649
  }
@@ -37671,7 +37652,6 @@ export interface IBookingItemDto {
37671
37652
  trackingId: string;
37672
37653
  palletNumber: number;
37673
37654
  comment?: string | null;
37674
- toLocationOverride?: LocationDto | null;
37675
37655
  }
37676
37656
 
37677
37657
  export class LocationDto implements ILocationDto {
@@ -38116,7 +38096,8 @@ export interface IBookingGeneralRequestDto {
38116
38096
  export class BookingStatusUpdateDto implements IBookingStatusUpdateDto {
38117
38097
  bookingId!: string;
38118
38098
  status!: BookingStatusDto;
38119
- deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
38099
+ deliveryExceptionToLocationId?: string | null;
38100
+ deliveryExceptionComment?: string | null;
38120
38101
 
38121
38102
  constructor(data?: IBookingStatusUpdateDto) {
38122
38103
  if (data) {
@@ -38131,11 +38112,8 @@ export class BookingStatusUpdateDto implements IBookingStatusUpdateDto {
38131
38112
  if (_data) {
38132
38113
  this.bookingId = _data["bookingId"];
38133
38114
  this.status = _data["status"];
38134
- if (Array.isArray(_data["deliveryExceptions"])) {
38135
- this.deliveryExceptions = [] as any;
38136
- for (let item of _data["deliveryExceptions"])
38137
- this.deliveryExceptions!.push(BookingDeliveryExceptionDto.fromJS(item));
38138
- }
38115
+ this.deliveryExceptionToLocationId = _data["deliveryExceptionToLocationId"];
38116
+ this.deliveryExceptionComment = _data["deliveryExceptionComment"];
38139
38117
  }
38140
38118
  }
38141
38119
 
@@ -38150,11 +38128,8 @@ export class BookingStatusUpdateDto implements IBookingStatusUpdateDto {
38150
38128
  data = typeof data === 'object' ? data : {};
38151
38129
  data["bookingId"] = this.bookingId;
38152
38130
  data["status"] = this.status;
38153
- if (Array.isArray(this.deliveryExceptions)) {
38154
- data["deliveryExceptions"] = [];
38155
- for (let item of this.deliveryExceptions)
38156
- data["deliveryExceptions"].push(item.toJSON());
38157
- }
38131
+ data["deliveryExceptionToLocationId"] = this.deliveryExceptionToLocationId;
38132
+ data["deliveryExceptionComment"] = this.deliveryExceptionComment;
38158
38133
  return data;
38159
38134
  }
38160
38135
  }
@@ -38162,51 +38137,8 @@ export class BookingStatusUpdateDto implements IBookingStatusUpdateDto {
38162
38137
  export interface IBookingStatusUpdateDto {
38163
38138
  bookingId: string;
38164
38139
  status: BookingStatusDto;
38165
- deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
38166
- }
38167
-
38168
- export class BookingDeliveryExceptionDto implements IBookingDeliveryExceptionDto {
38169
- trackingId!: string;
38170
- toLocationId?: string | null;
38171
- comment?: string | null;
38172
-
38173
- constructor(data?: IBookingDeliveryExceptionDto) {
38174
- if (data) {
38175
- for (var property in data) {
38176
- if (data.hasOwnProperty(property))
38177
- (<any>this)[property] = (<any>data)[property];
38178
- }
38179
- }
38180
- }
38181
-
38182
- init(_data?: any) {
38183
- if (_data) {
38184
- this.trackingId = _data["trackingId"];
38185
- this.toLocationId = _data["toLocationId"];
38186
- this.comment = _data["comment"];
38187
- }
38188
- }
38189
-
38190
- static fromJS(data: any): BookingDeliveryExceptionDto {
38191
- data = typeof data === 'object' ? data : {};
38192
- let result = new BookingDeliveryExceptionDto();
38193
- result.init(data);
38194
- return result;
38195
- }
38196
-
38197
- toJSON(data?: any) {
38198
- data = typeof data === 'object' ? data : {};
38199
- data["trackingId"] = this.trackingId;
38200
- data["toLocationId"] = this.toLocationId;
38201
- data["comment"] = this.comment;
38202
- return data;
38203
- }
38204
- }
38205
-
38206
- export interface IBookingDeliveryExceptionDto {
38207
- trackingId: string;
38208
- toLocationId?: string | null;
38209
- comment?: string | null;
38140
+ deliveryExceptionToLocationId?: string | null;
38141
+ deliveryExceptionComment?: string | null;
38210
38142
  }
38211
38143
 
38212
38144
  export type LocationProfileDto = "Cage" | "CantileverRack" | "Deviation" | "Gate" | "Ground" | "Inbound" | "Logia" | "LogiaTransit" | "Outbound" | "Pack" | "PalletRack" | "Pick" | "Quality" | "Quarantine" | "Resource" | "ShelvingRack" | "User";
@@ -41122,6 +41054,8 @@ export class ListProductionScheduleOperationsRequest implements IListProductionS
41122
41054
  partNumber?: string | null;
41123
41055
  partName?: string | null;
41124
41056
  material?: string | null;
41057
+ bomPartNumber?: string | null;
41058
+ bomPartName?: string | null;
41125
41059
  workOrderIds?: string[] | null;
41126
41060
  partNumbers?: string[] | null;
41127
41061
  partNames?: string[] | null;
@@ -41129,6 +41063,8 @@ export class ListProductionScheduleOperationsRequest implements IListProductionS
41129
41063
  bomPositions?: string[] | null;
41130
41064
  materials?: string[] | null;
41131
41065
  descriptions?: string[] | null;
41066
+ bomPartNumbers?: string[] | null;
41067
+ bomPartNames?: string[] | null;
41132
41068
  availableWork?: boolean | null;
41133
41069
  operationStatuses?: OperationStatusDto[] | null;
41134
41070
  after?: Date | null;
@@ -41154,6 +41090,8 @@ export class ListProductionScheduleOperationsRequest implements IListProductionS
41154
41090
  this.partNumber = _data["partNumber"];
41155
41091
  this.partName = _data["partName"];
41156
41092
  this.material = _data["material"];
41093
+ this.bomPartNumber = _data["bomPartNumber"];
41094
+ this.bomPartName = _data["bomPartName"];
41157
41095
  if (Array.isArray(_data["workOrderIds"])) {
41158
41096
  this.workOrderIds = [] as any;
41159
41097
  for (let item of _data["workOrderIds"])
@@ -41189,6 +41127,16 @@ export class ListProductionScheduleOperationsRequest implements IListProductionS
41189
41127
  for (let item of _data["descriptions"])
41190
41128
  this.descriptions!.push(item);
41191
41129
  }
41130
+ if (Array.isArray(_data["bomPartNumbers"])) {
41131
+ this.bomPartNumbers = [] as any;
41132
+ for (let item of _data["bomPartNumbers"])
41133
+ this.bomPartNumbers!.push(item);
41134
+ }
41135
+ if (Array.isArray(_data["bomPartNames"])) {
41136
+ this.bomPartNames = [] as any;
41137
+ for (let item of _data["bomPartNames"])
41138
+ this.bomPartNames!.push(item);
41139
+ }
41192
41140
  this.availableWork = _data["availableWork"];
41193
41141
  if (Array.isArray(_data["operationStatuses"])) {
41194
41142
  this.operationStatuses = [] as any;
@@ -41218,6 +41166,8 @@ export class ListProductionScheduleOperationsRequest implements IListProductionS
41218
41166
  data["partNumber"] = this.partNumber;
41219
41167
  data["partName"] = this.partName;
41220
41168
  data["material"] = this.material;
41169
+ data["bomPartNumber"] = this.bomPartNumber;
41170
+ data["bomPartName"] = this.bomPartName;
41221
41171
  if (Array.isArray(this.workOrderIds)) {
41222
41172
  data["workOrderIds"] = [];
41223
41173
  for (let item of this.workOrderIds)
@@ -41253,6 +41203,16 @@ export class ListProductionScheduleOperationsRequest implements IListProductionS
41253
41203
  for (let item of this.descriptions)
41254
41204
  data["descriptions"].push(item);
41255
41205
  }
41206
+ if (Array.isArray(this.bomPartNumbers)) {
41207
+ data["bomPartNumbers"] = [];
41208
+ for (let item of this.bomPartNumbers)
41209
+ data["bomPartNumbers"].push(item);
41210
+ }
41211
+ if (Array.isArray(this.bomPartNames)) {
41212
+ data["bomPartNames"] = [];
41213
+ for (let item of this.bomPartNames)
41214
+ data["bomPartNames"].push(item);
41215
+ }
41256
41216
  data["availableWork"] = this.availableWork;
41257
41217
  if (Array.isArray(this.operationStatuses)) {
41258
41218
  data["operationStatuses"] = [];
@@ -41275,6 +41235,8 @@ export interface IListProductionScheduleOperationsRequest {
41275
41235
  partNumber?: string | null;
41276
41236
  partName?: string | null;
41277
41237
  material?: string | null;
41238
+ bomPartNumber?: string | null;
41239
+ bomPartName?: string | null;
41278
41240
  workOrderIds?: string[] | null;
41279
41241
  partNumbers?: string[] | null;
41280
41242
  partNames?: string[] | null;
@@ -41282,6 +41244,8 @@ export interface IListProductionScheduleOperationsRequest {
41282
41244
  bomPositions?: string[] | null;
41283
41245
  materials?: string[] | null;
41284
41246
  descriptions?: string[] | null;
41247
+ bomPartNumbers?: string[] | null;
41248
+ bomPartNames?: string[] | null;
41285
41249
  availableWork?: boolean | null;
41286
41250
  operationStatuses?: OperationStatusDto[] | null;
41287
41251
  after?: Date | null;
@@ -41296,6 +41260,8 @@ export class ProductionScheduleFiltersDto implements IProductionScheduleFiltersD
41296
41260
  workOrderIds?: FilterValueWithQuantity[];
41297
41261
  materials?: FilterValueWithQuantity[];
41298
41262
  descriptions?: FilterValueWithQuantity[];
41263
+ bomPartNumbers?: FilterValueWithQuantity[];
41264
+ bomPartNames?: FilterValueWithQuantity[];
41299
41265
  operationsWithAvailableWork?: number;
41300
41266
  operationStatuses?: OperationStatusFilterWithQuantity[];
41301
41267
  lastOperation?: Date | null;
@@ -41347,6 +41313,16 @@ export class ProductionScheduleFiltersDto implements IProductionScheduleFiltersD
41347
41313
  for (let item of _data["descriptions"])
41348
41314
  this.descriptions!.push(FilterValueWithQuantity.fromJS(item));
41349
41315
  }
41316
+ if (Array.isArray(_data["bomPartNumbers"])) {
41317
+ this.bomPartNumbers = [] as any;
41318
+ for (let item of _data["bomPartNumbers"])
41319
+ this.bomPartNumbers!.push(FilterValueWithQuantity.fromJS(item));
41320
+ }
41321
+ if (Array.isArray(_data["bomPartNames"])) {
41322
+ this.bomPartNames = [] as any;
41323
+ for (let item of _data["bomPartNames"])
41324
+ this.bomPartNames!.push(FilterValueWithQuantity.fromJS(item));
41325
+ }
41350
41326
  this.operationsWithAvailableWork = _data["operationsWithAvailableWork"];
41351
41327
  if (Array.isArray(_data["operationStatuses"])) {
41352
41328
  this.operationStatuses = [] as any;
@@ -41402,6 +41378,16 @@ export class ProductionScheduleFiltersDto implements IProductionScheduleFiltersD
41402
41378
  for (let item of this.descriptions)
41403
41379
  data["descriptions"].push(item.toJSON());
41404
41380
  }
41381
+ if (Array.isArray(this.bomPartNumbers)) {
41382
+ data["bomPartNumbers"] = [];
41383
+ for (let item of this.bomPartNumbers)
41384
+ data["bomPartNumbers"].push(item.toJSON());
41385
+ }
41386
+ if (Array.isArray(this.bomPartNames)) {
41387
+ data["bomPartNames"] = [];
41388
+ for (let item of this.bomPartNames)
41389
+ data["bomPartNames"].push(item.toJSON());
41390
+ }
41405
41391
  data["operationsWithAvailableWork"] = this.operationsWithAvailableWork;
41406
41392
  if (Array.isArray(this.operationStatuses)) {
41407
41393
  data["operationStatuses"] = [];
@@ -41422,6 +41408,8 @@ export interface IProductionScheduleFiltersDto {
41422
41408
  workOrderIds?: FilterValueWithQuantity[];
41423
41409
  materials?: FilterValueWithQuantity[];
41424
41410
  descriptions?: FilterValueWithQuantity[];
41411
+ bomPartNumbers?: FilterValueWithQuantity[];
41412
+ bomPartNames?: FilterValueWithQuantity[];
41425
41413
  operationsWithAvailableWork?: number;
41426
41414
  operationStatuses?: OperationStatusFilterWithQuantity[];
41427
41415
  lastOperation?: Date | null;
@@ -41516,6 +41504,8 @@ export class GetAvailableProductionScheduleFiltersRequest implements IGetAvailab
41516
41504
  partNumber?: string | null;
41517
41505
  partName?: string | null;
41518
41506
  material?: string | null;
41507
+ bomPartNumber?: string | null;
41508
+ bomPartName?: string | null;
41519
41509
  workOrderIds?: string[] | null;
41520
41510
  partNumbers?: string[] | null;
41521
41511
  partNames?: string[] | null;
@@ -41523,6 +41513,8 @@ export class GetAvailableProductionScheduleFiltersRequest implements IGetAvailab
41523
41513
  bomPositions?: string[] | null;
41524
41514
  materials?: string[] | null;
41525
41515
  descriptions?: string[] | null;
41516
+ bomPartNumbers?: string[] | null;
41517
+ bomPartNames?: string[] | null;
41526
41518
  availableWork?: boolean | null;
41527
41519
  operationStatuses?: OperationStatusDto[] | null;
41528
41520
  after?: Date | null;
@@ -41546,6 +41538,8 @@ export class GetAvailableProductionScheduleFiltersRequest implements IGetAvailab
41546
41538
  this.partNumber = _data["partNumber"];
41547
41539
  this.partName = _data["partName"];
41548
41540
  this.material = _data["material"];
41541
+ this.bomPartNumber = _data["bomPartNumber"];
41542
+ this.bomPartName = _data["bomPartName"];
41549
41543
  if (Array.isArray(_data["workOrderIds"])) {
41550
41544
  this.workOrderIds = [] as any;
41551
41545
  for (let item of _data["workOrderIds"])
@@ -41581,6 +41575,16 @@ export class GetAvailableProductionScheduleFiltersRequest implements IGetAvailab
41581
41575
  for (let item of _data["descriptions"])
41582
41576
  this.descriptions!.push(item);
41583
41577
  }
41578
+ if (Array.isArray(_data["bomPartNumbers"])) {
41579
+ this.bomPartNumbers = [] as any;
41580
+ for (let item of _data["bomPartNumbers"])
41581
+ this.bomPartNumbers!.push(item);
41582
+ }
41583
+ if (Array.isArray(_data["bomPartNames"])) {
41584
+ this.bomPartNames = [] as any;
41585
+ for (let item of _data["bomPartNames"])
41586
+ this.bomPartNames!.push(item);
41587
+ }
41584
41588
  this.availableWork = _data["availableWork"];
41585
41589
  if (Array.isArray(_data["operationStatuses"])) {
41586
41590
  this.operationStatuses = [] as any;
@@ -41608,6 +41612,8 @@ export class GetAvailableProductionScheduleFiltersRequest implements IGetAvailab
41608
41612
  data["partNumber"] = this.partNumber;
41609
41613
  data["partName"] = this.partName;
41610
41614
  data["material"] = this.material;
41615
+ data["bomPartNumber"] = this.bomPartNumber;
41616
+ data["bomPartName"] = this.bomPartName;
41611
41617
  if (Array.isArray(this.workOrderIds)) {
41612
41618
  data["workOrderIds"] = [];
41613
41619
  for (let item of this.workOrderIds)
@@ -41643,6 +41649,16 @@ export class GetAvailableProductionScheduleFiltersRequest implements IGetAvailab
41643
41649
  for (let item of this.descriptions)
41644
41650
  data["descriptions"].push(item);
41645
41651
  }
41652
+ if (Array.isArray(this.bomPartNumbers)) {
41653
+ data["bomPartNumbers"] = [];
41654
+ for (let item of this.bomPartNumbers)
41655
+ data["bomPartNumbers"].push(item);
41656
+ }
41657
+ if (Array.isArray(this.bomPartNames)) {
41658
+ data["bomPartNames"] = [];
41659
+ for (let item of this.bomPartNames)
41660
+ data["bomPartNames"].push(item);
41661
+ }
41646
41662
  data["availableWork"] = this.availableWork;
41647
41663
  if (Array.isArray(this.operationStatuses)) {
41648
41664
  data["operationStatuses"] = [];
@@ -41663,6 +41679,8 @@ export interface IGetAvailableProductionScheduleFiltersRequest {
41663
41679
  partNumber?: string | null;
41664
41680
  partName?: string | null;
41665
41681
  material?: string | null;
41682
+ bomPartNumber?: string | null;
41683
+ bomPartName?: string | null;
41666
41684
  workOrderIds?: string[] | null;
41667
41685
  partNumbers?: string[] | null;
41668
41686
  partNames?: string[] | null;
@@ -41670,6 +41688,8 @@ export interface IGetAvailableProductionScheduleFiltersRequest {
41670
41688
  bomPositions?: string[] | null;
41671
41689
  materials?: string[] | null;
41672
41690
  descriptions?: string[] | null;
41691
+ bomPartNumbers?: string[] | null;
41692
+ bomPartNames?: string[] | null;
41673
41693
  availableWork?: boolean | null;
41674
41694
  operationStatuses?: OperationStatusDto[] | null;
41675
41695
  after?: Date | null;