@ignos/api-client 20240815.0.10002 → 20240819.0.10028

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.
@@ -8119,6 +8119,7 @@ export declare class ProductionOrderBomDto implements IProductionOrderBomDto {
8119
8119
  orderReference?: OrderReferenceDto | null;
8120
8120
  status: MaterialStatus;
8121
8121
  availabilityDetails: InventoryDto[];
8122
+ traceType: TraceType;
8122
8123
  constructor(data?: IProductionOrderBomDto);
8123
8124
  init(_data?: any): void;
8124
8125
  static fromJS(data: any): ProductionOrderBomDto;
@@ -8143,6 +8144,7 @@ export interface IProductionOrderBomDto {
8143
8144
  orderReference?: OrderReferenceDto | null;
8144
8145
  status: MaterialStatus;
8145
8146
  availabilityDetails: InventoryDto[];
8147
+ traceType: TraceType;
8146
8148
  }
8147
8149
  export declare class InventoryDto implements IInventoryDto {
8148
8150
  siteId: string;
@@ -9044,6 +9046,8 @@ export declare class BookingDto implements IBookingDto {
9044
9046
  createdById: string;
9045
9047
  updatedBy?: string | null;
9046
9048
  updatedById?: string | null;
9049
+ driver?: string | null;
9050
+ driverId?: string | null;
9047
9051
  completed?: Date | null;
9048
9052
  constructor(data?: IBookingDto);
9049
9053
  init(_data?: any): void;
@@ -9063,6 +9067,8 @@ export interface IBookingDto {
9063
9067
  createdById: string;
9064
9068
  updatedBy?: string | null;
9065
9069
  updatedById?: string | null;
9070
+ driver?: string | null;
9071
+ driverId?: string | null;
9066
9072
  completed?: Date | null;
9067
9073
  }
9068
9074
  export type BookingKindDto = "Forklift" | "General" | "ChipDisposal" | "Garbage";
@@ -9149,7 +9155,7 @@ export interface IBookingRequestListDto {
9149
9155
  continuationToken?: string | null;
9150
9156
  }
9151
9157
  export type BookingTaskDto = "MyTasks" | "OthersTasks";
9152
- export type BookingCreatedByDto = "Me" | "Others";
9158
+ export type BookingCreatedByDto = "MyBookings" | "OthersBookings";
9153
9159
  export type BookingOrderDto = "Ascending" | "Descending";
9154
9160
  export declare class BookingUpdateDto implements IBookingUpdateDto {
9155
9161
  bookingId: string;
@@ -9381,6 +9387,7 @@ export type TrackingStatusDto = "Manual" | "Pending" | "Cancelled" | "InProgress
9381
9387
  export declare class TrackingRequestListDto implements ITrackingRequestListDto {
9382
9388
  pageSize?: number | null;
9383
9389
  workOrderIdFilter?: string[] | null;
9390
+ parcelKindFilter?: BookingKindDto[] | null;
9384
9391
  locationIdFilter?: string[] | null;
9385
9392
  zoneIdFilter?: string[] | null;
9386
9393
  materialFilter?: string[] | null;
@@ -9394,6 +9401,7 @@ export declare class TrackingRequestListDto implements ITrackingRequestListDto {
9394
9401
  export interface ITrackingRequestListDto {
9395
9402
  pageSize?: number | null;
9396
9403
  workOrderIdFilter?: string[] | null;
9404
+ parcelKindFilter?: BookingKindDto[] | null;
9397
9405
  locationIdFilter?: string[] | null;
9398
9406
  zoneIdFilter?: string[] | null;
9399
9407
  materialFilter?: string[] | null;
@@ -30879,6 +30879,7 @@ export class ProductionOrderBomDto {
30879
30879
  for (let item of _data["availabilityDetails"])
30880
30880
  this.availabilityDetails.push(InventoryDto.fromJS(item));
30881
30881
  }
30882
+ this.traceType = _data["traceType"];
30882
30883
  }
30883
30884
  }
30884
30885
  static fromJS(data) {
@@ -30915,6 +30916,7 @@ export class ProductionOrderBomDto {
30915
30916
  for (let item of this.availabilityDetails)
30916
30917
  data["availabilityDetails"].push(item.toJSON());
30917
30918
  }
30919
+ data["traceType"] = this.traceType;
30918
30920
  return data;
30919
30921
  }
30920
30922
  }
@@ -32819,6 +32821,8 @@ export class BookingDto {
32819
32821
  this.createdById = _data["createdById"];
32820
32822
  this.updatedBy = _data["updatedBy"];
32821
32823
  this.updatedById = _data["updatedById"];
32824
+ this.driver = _data["driver"];
32825
+ this.driverId = _data["driverId"];
32822
32826
  this.completed = _data["completed"] ? new Date(_data["completed"].toString()) : undefined;
32823
32827
  }
32824
32828
  }
@@ -32846,6 +32850,8 @@ export class BookingDto {
32846
32850
  data["createdById"] = this.createdById;
32847
32851
  data["updatedBy"] = this.updatedBy;
32848
32852
  data["updatedById"] = this.updatedById;
32853
+ data["driver"] = this.driver;
32854
+ data["driverId"] = this.driverId;
32849
32855
  data["completed"] = this.completed ? this.completed.toISOString() : undefined;
32850
32856
  return data;
32851
32857
  }
@@ -33599,6 +33605,11 @@ export class TrackingRequestListDto {
33599
33605
  for (let item of _data["workOrderIdFilter"])
33600
33606
  this.workOrderIdFilter.push(item);
33601
33607
  }
33608
+ if (Array.isArray(_data["parcelKindFilter"])) {
33609
+ this.parcelKindFilter = [];
33610
+ for (let item of _data["parcelKindFilter"])
33611
+ this.parcelKindFilter.push(item);
33612
+ }
33602
33613
  if (Array.isArray(_data["locationIdFilter"])) {
33603
33614
  this.locationIdFilter = [];
33604
33615
  for (let item of _data["locationIdFilter"])
@@ -33632,6 +33643,11 @@ export class TrackingRequestListDto {
33632
33643
  for (let item of this.workOrderIdFilter)
33633
33644
  data["workOrderIdFilter"].push(item);
33634
33645
  }
33646
+ if (Array.isArray(this.parcelKindFilter)) {
33647
+ data["parcelKindFilter"] = [];
33648
+ for (let item of this.parcelKindFilter)
33649
+ data["parcelKindFilter"].push(item);
33650
+ }
33635
33651
  if (Array.isArray(this.locationIdFilter)) {
33636
33652
  data["locationIdFilter"] = [];
33637
33653
  for (let item of this.locationIdFilter)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20240815.0.10002",
3
+ "version": "20240819.0.10028",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -37963,6 +37963,7 @@ export class ProductionOrderBomDto implements IProductionOrderBomDto {
37963
37963
  orderReference?: OrderReferenceDto | null;
37964
37964
  status!: MaterialStatus;
37965
37965
  availabilityDetails!: InventoryDto[];
37966
+ traceType!: TraceType;
37966
37967
 
37967
37968
  constructor(data?: IProductionOrderBomDto) {
37968
37969
  if (data) {
@@ -38005,6 +38006,7 @@ export class ProductionOrderBomDto implements IProductionOrderBomDto {
38005
38006
  for (let item of _data["availabilityDetails"])
38006
38007
  this.availabilityDetails!.push(InventoryDto.fromJS(item));
38007
38008
  }
38009
+ this.traceType = _data["traceType"];
38008
38010
  }
38009
38011
  }
38010
38012
 
@@ -38043,6 +38045,7 @@ export class ProductionOrderBomDto implements IProductionOrderBomDto {
38043
38045
  for (let item of this.availabilityDetails)
38044
38046
  data["availabilityDetails"].push(item.toJSON());
38045
38047
  }
38048
+ data["traceType"] = this.traceType;
38046
38049
  return data;
38047
38050
  }
38048
38051
  }
@@ -38066,6 +38069,7 @@ export interface IProductionOrderBomDto {
38066
38069
  orderReference?: OrderReferenceDto | null;
38067
38070
  status: MaterialStatus;
38068
38071
  availabilityDetails: InventoryDto[];
38072
+ traceType: TraceType;
38069
38073
  }
38070
38074
 
38071
38075
  export class InventoryDto implements IInventoryDto {
@@ -40844,6 +40848,8 @@ export class BookingDto implements IBookingDto {
40844
40848
  createdById!: string;
40845
40849
  updatedBy?: string | null;
40846
40850
  updatedById?: string | null;
40851
+ driver?: string | null;
40852
+ driverId?: string | null;
40847
40853
  completed?: Date | null;
40848
40854
 
40849
40855
  constructor(data?: IBookingDto) {
@@ -40878,6 +40884,8 @@ export class BookingDto implements IBookingDto {
40878
40884
  this.createdById = _data["createdById"];
40879
40885
  this.updatedBy = _data["updatedBy"];
40880
40886
  this.updatedById = _data["updatedById"];
40887
+ this.driver = _data["driver"];
40888
+ this.driverId = _data["driverId"];
40881
40889
  this.completed = _data["completed"] ? new Date(_data["completed"].toString()) : <any>undefined;
40882
40890
  }
40883
40891
  }
@@ -40907,6 +40915,8 @@ export class BookingDto implements IBookingDto {
40907
40915
  data["createdById"] = this.createdById;
40908
40916
  data["updatedBy"] = this.updatedBy;
40909
40917
  data["updatedById"] = this.updatedById;
40918
+ data["driver"] = this.driver;
40919
+ data["driverId"] = this.driverId;
40910
40920
  data["completed"] = this.completed ? this.completed.toISOString() : <any>undefined;
40911
40921
  return data;
40912
40922
  }
@@ -40925,6 +40935,8 @@ export interface IBookingDto {
40925
40935
  createdById: string;
40926
40936
  updatedBy?: string | null;
40927
40937
  updatedById?: string | null;
40938
+ driver?: string | null;
40939
+ driverId?: string | null;
40928
40940
  completed?: Date | null;
40929
40941
  }
40930
40942
 
@@ -41216,7 +41228,7 @@ export interface IBookingRequestListDto {
41216
41228
 
41217
41229
  export type BookingTaskDto = "MyTasks" | "OthersTasks";
41218
41230
 
41219
- export type BookingCreatedByDto = "Me" | "Others";
41231
+ export type BookingCreatedByDto = "MyBookings" | "OthersBookings";
41220
41232
 
41221
41233
  export type BookingOrderDto = "Ascending" | "Descending";
41222
41234
 
@@ -41985,6 +41997,7 @@ export type TrackingStatusDto = "Manual" | "Pending" | "Cancelled" | "InProgress
41985
41997
  export class TrackingRequestListDto implements ITrackingRequestListDto {
41986
41998
  pageSize?: number | null;
41987
41999
  workOrderIdFilter?: string[] | null;
42000
+ parcelKindFilter?: BookingKindDto[] | null;
41988
42001
  locationIdFilter?: string[] | null;
41989
42002
  zoneIdFilter?: string[] | null;
41990
42003
  materialFilter?: string[] | null;
@@ -42008,6 +42021,11 @@ export class TrackingRequestListDto implements ITrackingRequestListDto {
42008
42021
  for (let item of _data["workOrderIdFilter"])
42009
42022
  this.workOrderIdFilter!.push(item);
42010
42023
  }
42024
+ if (Array.isArray(_data["parcelKindFilter"])) {
42025
+ this.parcelKindFilter = [] as any;
42026
+ for (let item of _data["parcelKindFilter"])
42027
+ this.parcelKindFilter!.push(item);
42028
+ }
42011
42029
  if (Array.isArray(_data["locationIdFilter"])) {
42012
42030
  this.locationIdFilter = [] as any;
42013
42031
  for (let item of _data["locationIdFilter"])
@@ -42043,6 +42061,11 @@ export class TrackingRequestListDto implements ITrackingRequestListDto {
42043
42061
  for (let item of this.workOrderIdFilter)
42044
42062
  data["workOrderIdFilter"].push(item);
42045
42063
  }
42064
+ if (Array.isArray(this.parcelKindFilter)) {
42065
+ data["parcelKindFilter"] = [];
42066
+ for (let item of this.parcelKindFilter)
42067
+ data["parcelKindFilter"].push(item);
42068
+ }
42046
42069
  if (Array.isArray(this.locationIdFilter)) {
42047
42070
  data["locationIdFilter"] = [];
42048
42071
  for (let item of this.locationIdFilter)
@@ -42067,6 +42090,7 @@ export class TrackingRequestListDto implements ITrackingRequestListDto {
42067
42090
  export interface ITrackingRequestListDto {
42068
42091
  pageSize?: number | null;
42069
42092
  workOrderIdFilter?: string[] | null;
42093
+ parcelKindFilter?: BookingKindDto[] | null;
42070
42094
  locationIdFilter?: string[] | null;
42071
42095
  zoneIdFilter?: string[] | null;
42072
42096
  materialFilter?: string[] | null;