@ignos/api-client 20250528.0.11839 → 20250603.0.11855

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.
@@ -9155,6 +9155,7 @@ export declare class BookingDto implements IBookingDto {
9155
9155
  updatedById?: string | null;
9156
9156
  driver?: string | null;
9157
9157
  driverId?: string | null;
9158
+ claimed?: Date | null;
9158
9159
  completed?: Date | null;
9159
9160
  constructor(data?: IBookingDto);
9160
9161
  init(_data?: any): void;
@@ -9176,6 +9177,7 @@ export interface IBookingDto {
9176
9177
  updatedById?: string | null;
9177
9178
  driver?: string | null;
9178
9179
  driverId?: string | null;
9180
+ claimed?: Date | null;
9179
9181
  completed?: Date | null;
9180
9182
  }
9181
9183
  export type ParcelKindDto = "Standard" | "Other" | "Chip" | "Garbage" | "Material";
@@ -9222,6 +9224,7 @@ export declare class BookingItemDto implements IBookingItemDto {
9222
9224
  trackingId: string;
9223
9225
  palletNumber: number;
9224
9226
  comment?: string | null;
9227
+ category?: string | null;
9225
9228
  constructor(data?: IBookingItemDto);
9226
9229
  init(_data?: any): void;
9227
9230
  static fromJS(data: any): BookingItemDto;
@@ -9231,6 +9234,7 @@ export interface IBookingItemDto {
9231
9234
  trackingId: string;
9232
9235
  palletNumber: number;
9233
9236
  comment?: string | null;
9237
+ category?: string | null;
9234
9238
  }
9235
9239
  export declare class LocationDto implements ILocationDto {
9236
9240
  locationId: string;
@@ -9463,6 +9467,9 @@ export declare class BookingGeneralRequestDto implements IBookingGeneralRequestD
9463
9467
  toLocationId: string;
9464
9468
  comment?: string | null;
9465
9469
  itemCount: number;
9470
+ categoryBreakdown?: {
9471
+ [key: string]: number;
9472
+ } | null;
9466
9473
  constructor(data?: IBookingGeneralRequestDto);
9467
9474
  init(_data?: any): void;
9468
9475
  static fromJS(data: any): BookingGeneralRequestDto;
@@ -9475,6 +9482,9 @@ export interface IBookingGeneralRequestDto {
9475
9482
  toLocationId: string;
9476
9483
  comment?: string | null;
9477
9484
  itemCount: number;
9485
+ categoryBreakdown?: {
9486
+ [key: string]: number;
9487
+ } | null;
9478
9488
  }
9479
9489
  export declare class PreBookingResultItemDto implements IPreBookingResultItemDto {
9480
9490
  parcelId?: string;
@@ -35531,6 +35531,7 @@ export class BookingDto {
35531
35531
  this.updatedById = _data["updatedById"];
35532
35532
  this.driver = _data["driver"];
35533
35533
  this.driverId = _data["driverId"];
35534
+ this.claimed = _data["claimed"] ? new Date(_data["claimed"].toString()) : undefined;
35534
35535
  this.completed = _data["completed"] ? new Date(_data["completed"].toString()) : undefined;
35535
35536
  }
35536
35537
  }
@@ -35556,6 +35557,7 @@ export class BookingDto {
35556
35557
  data["updatedById"] = this.updatedById;
35557
35558
  data["driver"] = this.driver;
35558
35559
  data["driverId"] = this.driverId;
35560
+ data["claimed"] = this.claimed ? this.claimed.toISOString() : undefined;
35559
35561
  data["completed"] = this.completed ? this.completed.toISOString() : undefined;
35560
35562
  return data;
35561
35563
  }
@@ -35626,6 +35628,7 @@ export class BookingItemDto {
35626
35628
  this.trackingId = _data["trackingId"];
35627
35629
  this.palletNumber = _data["palletNumber"];
35628
35630
  this.comment = _data["comment"];
35631
+ this.category = _data["category"];
35629
35632
  }
35630
35633
  }
35631
35634
  static fromJS(data) {
@@ -35639,6 +35642,7 @@ export class BookingItemDto {
35639
35642
  data["trackingId"] = this.trackingId;
35640
35643
  data["palletNumber"] = this.palletNumber;
35641
35644
  data["comment"] = this.comment;
35645
+ data["category"] = this.category;
35642
35646
  return data;
35643
35647
  }
35644
35648
  }
@@ -36258,6 +36262,13 @@ export class BookingGeneralRequestDto {
36258
36262
  this.toLocationId = _data["toLocationId"];
36259
36263
  this.comment = _data["comment"];
36260
36264
  this.itemCount = _data["itemCount"];
36265
+ if (_data["categoryBreakdown"]) {
36266
+ this.categoryBreakdown = {};
36267
+ for (let key in _data["categoryBreakdown"]) {
36268
+ if (_data["categoryBreakdown"].hasOwnProperty(key))
36269
+ this.categoryBreakdown[key] = _data["categoryBreakdown"][key];
36270
+ }
36271
+ }
36261
36272
  }
36262
36273
  }
36263
36274
  static fromJS(data) {
@@ -36274,6 +36285,13 @@ export class BookingGeneralRequestDto {
36274
36285
  data["toLocationId"] = this.toLocationId;
36275
36286
  data["comment"] = this.comment;
36276
36287
  data["itemCount"] = this.itemCount;
36288
+ if (this.categoryBreakdown) {
36289
+ data["categoryBreakdown"] = {};
36290
+ for (let key in this.categoryBreakdown) {
36291
+ if (this.categoryBreakdown.hasOwnProperty(key))
36292
+ data["categoryBreakdown"][key] = this.categoryBreakdown[key];
36293
+ }
36294
+ }
36277
36295
  return data;
36278
36296
  }
36279
36297
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20250528.0.11839",
3
+ "version": "20250603.0.11855",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -43496,6 +43496,7 @@ export class BookingDto implements IBookingDto {
43496
43496
  updatedById?: string | null;
43497
43497
  driver?: string | null;
43498
43498
  driverId?: string | null;
43499
+ claimed?: Date | null;
43499
43500
  completed?: Date | null;
43500
43501
 
43501
43502
  constructor(data?: IBookingDto) {
@@ -43528,6 +43529,7 @@ export class BookingDto implements IBookingDto {
43528
43529
  this.updatedById = _data["updatedById"];
43529
43530
  this.driver = _data["driver"];
43530
43531
  this.driverId = _data["driverId"];
43532
+ this.claimed = _data["claimed"] ? new Date(_data["claimed"].toString()) : <any>undefined;
43531
43533
  this.completed = _data["completed"] ? new Date(_data["completed"].toString()) : <any>undefined;
43532
43534
  }
43533
43535
  }
@@ -43555,6 +43557,7 @@ export class BookingDto implements IBookingDto {
43555
43557
  data["updatedById"] = this.updatedById;
43556
43558
  data["driver"] = this.driver;
43557
43559
  data["driverId"] = this.driverId;
43560
+ data["claimed"] = this.claimed ? this.claimed.toISOString() : <any>undefined;
43558
43561
  data["completed"] = this.completed ? this.completed.toISOString() : <any>undefined;
43559
43562
  return data;
43560
43563
  }
@@ -43575,6 +43578,7 @@ export interface IBookingDto {
43575
43578
  updatedById?: string | null;
43576
43579
  driver?: string | null;
43577
43580
  driverId?: string | null;
43581
+ claimed?: Date | null;
43578
43582
  completed?: Date | null;
43579
43583
  }
43580
43584
 
@@ -43678,6 +43682,7 @@ export class BookingItemDto implements IBookingItemDto {
43678
43682
  trackingId!: string;
43679
43683
  palletNumber!: number;
43680
43684
  comment?: string | null;
43685
+ category?: string | null;
43681
43686
 
43682
43687
  constructor(data?: IBookingItemDto) {
43683
43688
  if (data) {
@@ -43693,6 +43698,7 @@ export class BookingItemDto implements IBookingItemDto {
43693
43698
  this.trackingId = _data["trackingId"];
43694
43699
  this.palletNumber = _data["palletNumber"];
43695
43700
  this.comment = _data["comment"];
43701
+ this.category = _data["category"];
43696
43702
  }
43697
43703
  }
43698
43704
 
@@ -43708,6 +43714,7 @@ export class BookingItemDto implements IBookingItemDto {
43708
43714
  data["trackingId"] = this.trackingId;
43709
43715
  data["palletNumber"] = this.palletNumber;
43710
43716
  data["comment"] = this.comment;
43717
+ data["category"] = this.category;
43711
43718
  return data;
43712
43719
  }
43713
43720
  }
@@ -43716,6 +43723,7 @@ export interface IBookingItemDto {
43716
43723
  trackingId: string;
43717
43724
  palletNumber: number;
43718
43725
  comment?: string | null;
43726
+ category?: string | null;
43719
43727
  }
43720
43728
 
43721
43729
  export class LocationDto implements ILocationDto {
@@ -44552,6 +44560,7 @@ export class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
44552
44560
  toLocationId!: string;
44553
44561
  comment?: string | null;
44554
44562
  itemCount!: number;
44563
+ categoryBreakdown?: { [key: string]: number; } | null;
44555
44564
 
44556
44565
  constructor(data?: IBookingGeneralRequestDto) {
44557
44566
  if (data) {
@@ -44570,6 +44579,13 @@ export class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
44570
44579
  this.toLocationId = _data["toLocationId"];
44571
44580
  this.comment = _data["comment"];
44572
44581
  this.itemCount = _data["itemCount"];
44582
+ if (_data["categoryBreakdown"]) {
44583
+ this.categoryBreakdown = {} as any;
44584
+ for (let key in _data["categoryBreakdown"]) {
44585
+ if (_data["categoryBreakdown"].hasOwnProperty(key))
44586
+ (<any>this.categoryBreakdown)![key] = _data["categoryBreakdown"][key];
44587
+ }
44588
+ }
44573
44589
  }
44574
44590
  }
44575
44591
 
@@ -44588,6 +44604,13 @@ export class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
44588
44604
  data["toLocationId"] = this.toLocationId;
44589
44605
  data["comment"] = this.comment;
44590
44606
  data["itemCount"] = this.itemCount;
44607
+ if (this.categoryBreakdown) {
44608
+ data["categoryBreakdown"] = {};
44609
+ for (let key in this.categoryBreakdown) {
44610
+ if (this.categoryBreakdown.hasOwnProperty(key))
44611
+ (<any>data["categoryBreakdown"])[key] = (<any>this.categoryBreakdown)[key];
44612
+ }
44613
+ }
44591
44614
  return data;
44592
44615
  }
44593
44616
  }
@@ -44599,6 +44622,7 @@ export interface IBookingGeneralRequestDto {
44599
44622
  toLocationId: string;
44600
44623
  comment?: string | null;
44601
44624
  itemCount: number;
44625
+ categoryBreakdown?: { [key: string]: number; } | null;
44602
44626
  }
44603
44627
 
44604
44628
  export class PreBookingResultItemDto implements IPreBookingResultItemDto {