@ignos/api-client 20240618.0.9588 → 20240620.0.9609

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.
@@ -4139,6 +4139,7 @@ export declare class BookingItemDto implements IBookingItemDto {
4139
4139
  workOrderId?: string | null;
4140
4140
  material?: string | null;
4141
4141
  comment?: string | null;
4142
+ toLocationOverride?: LocationDto | null;
4142
4143
  constructor(data?: IBookingItemDto);
4143
4144
  init(_data?: any): void;
4144
4145
  static fromJS(data: any): BookingItemDto;
@@ -4149,6 +4150,7 @@ export interface IBookingItemDto {
4149
4150
  workOrderId?: string | null;
4150
4151
  material?: string | null;
4151
4152
  comment?: string | null;
4153
+ toLocationOverride?: LocationDto | null;
4152
4154
  }
4153
4155
  export declare class LocationDto implements ILocationDto {
4154
4156
  locationId: string;
@@ -4186,7 +4188,6 @@ export interface IBookingRequestListDto {
4186
4188
  export type BookingOrderDto = "Ascending" | "Descending";
4187
4189
  export declare class BookingTransportRequestDto implements IBookingTransportRequestDto {
4188
4190
  transportKind: TransportKindDto;
4189
- bookingKind: BookingKindDto;
4190
4191
  items: BookingItemRequestDto[];
4191
4192
  fromLocationId: string;
4192
4193
  toLocationId: string;
@@ -4197,7 +4198,6 @@ export declare class BookingTransportRequestDto implements IBookingTransportRequ
4197
4198
  }
4198
4199
  export interface IBookingTransportRequestDto {
4199
4200
  transportKind: TransportKindDto;
4200
- bookingKind: BookingKindDto;
4201
4201
  items: BookingItemRequestDto[];
4202
4202
  fromLocationId: string;
4203
4203
  toLocationId: string;
@@ -4221,6 +4221,7 @@ export declare class BookingGeneralRequestDto implements IBookingGeneralRequestD
4221
4221
  toLocationId: string;
4222
4222
  material?: string | null;
4223
4223
  comment?: string | null;
4224
+ itemCount: number;
4224
4225
  constructor(data?: IBookingGeneralRequestDto);
4225
4226
  init(_data?: any): void;
4226
4227
  static fromJS(data: any): BookingGeneralRequestDto;
@@ -4233,6 +4234,7 @@ export interface IBookingGeneralRequestDto {
4233
4234
  toLocationId: string;
4234
4235
  material?: string | null;
4235
4236
  comment?: string | null;
4237
+ itemCount: number;
4236
4238
  }
4237
4239
  export declare class BookingUpdateDto implements IBookingUpdateDto {
4238
4240
  bookingId: string;
@@ -22483,6 +22483,7 @@ export class BookingItemDto {
22483
22483
  this.workOrderId = _data["workOrderId"];
22484
22484
  this.material = _data["material"];
22485
22485
  this.comment = _data["comment"];
22486
+ this.toLocationOverride = _data["toLocationOverride"] ? LocationDto.fromJS(_data["toLocationOverride"]) : undefined;
22486
22487
  }
22487
22488
  }
22488
22489
  static fromJS(data) {
@@ -22497,6 +22498,7 @@ export class BookingItemDto {
22497
22498
  data["workOrderId"] = this.workOrderId;
22498
22499
  data["material"] = this.material;
22499
22500
  data["comment"] = this.comment;
22501
+ data["toLocationOverride"] = this.toLocationOverride ? this.toLocationOverride.toJSON() : undefined;
22500
22502
  return data;
22501
22503
  }
22502
22504
  }
@@ -22587,7 +22589,6 @@ export class BookingTransportRequestDto {
22587
22589
  init(_data) {
22588
22590
  if (_data) {
22589
22591
  this.transportKind = _data["transportKind"];
22590
- this.bookingKind = _data["bookingKind"];
22591
22592
  if (Array.isArray(_data["items"])) {
22592
22593
  this.items = [];
22593
22594
  for (let item of _data["items"])
@@ -22606,7 +22607,6 @@ export class BookingTransportRequestDto {
22606
22607
  toJSON(data) {
22607
22608
  data = typeof data === 'object' ? data : {};
22608
22609
  data["transportKind"] = this.transportKind;
22609
- data["bookingKind"] = this.bookingKind;
22610
22610
  if (Array.isArray(this.items)) {
22611
22611
  data["items"] = [];
22612
22612
  for (let item of this.items)
@@ -22662,6 +22662,7 @@ export class BookingGeneralRequestDto {
22662
22662
  this.toLocationId = _data["toLocationId"];
22663
22663
  this.material = _data["material"];
22664
22664
  this.comment = _data["comment"];
22665
+ this.itemCount = _data["itemCount"];
22665
22666
  }
22666
22667
  }
22667
22668
  static fromJS(data) {
@@ -22678,6 +22679,7 @@ export class BookingGeneralRequestDto {
22678
22679
  data["toLocationId"] = this.toLocationId;
22679
22680
  data["material"] = this.material;
22680
22681
  data["comment"] = this.comment;
22682
+ data["itemCount"] = this.itemCount;
22681
22683
  return data;
22682
22684
  }
22683
22685
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20240618.0.9588",
3
+ "version": "20240620.0.9609",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -25645,6 +25645,7 @@ export class BookingItemDto implements IBookingItemDto {
25645
25645
  workOrderId?: string | null;
25646
25646
  material?: string | null;
25647
25647
  comment?: string | null;
25648
+ toLocationOverride?: LocationDto | null;
25648
25649
 
25649
25650
  constructor(data?: IBookingItemDto) {
25650
25651
  if (data) {
@@ -25661,6 +25662,7 @@ export class BookingItemDto implements IBookingItemDto {
25661
25662
  this.workOrderId = _data["workOrderId"];
25662
25663
  this.material = _data["material"];
25663
25664
  this.comment = _data["comment"];
25665
+ this.toLocationOverride = _data["toLocationOverride"] ? LocationDto.fromJS(_data["toLocationOverride"]) : <any>undefined;
25664
25666
  }
25665
25667
  }
25666
25668
 
@@ -25677,6 +25679,7 @@ export class BookingItemDto implements IBookingItemDto {
25677
25679
  data["workOrderId"] = this.workOrderId;
25678
25680
  data["material"] = this.material;
25679
25681
  data["comment"] = this.comment;
25682
+ data["toLocationOverride"] = this.toLocationOverride ? this.toLocationOverride.toJSON() : <any>undefined;
25680
25683
  return data;
25681
25684
  }
25682
25685
  }
@@ -25686,6 +25689,7 @@ export interface IBookingItemDto {
25686
25689
  workOrderId?: string | null;
25687
25690
  material?: string | null;
25688
25691
  comment?: string | null;
25692
+ toLocationOverride?: LocationDto | null;
25689
25693
  }
25690
25694
 
25691
25695
  export class LocationDto implements ILocationDto {
@@ -25798,7 +25802,6 @@ export type BookingOrderDto = "Ascending" | "Descending";
25798
25802
 
25799
25803
  export class BookingTransportRequestDto implements IBookingTransportRequestDto {
25800
25804
  transportKind!: TransportKindDto;
25801
- bookingKind!: BookingKindDto;
25802
25805
  items!: BookingItemRequestDto[];
25803
25806
  fromLocationId!: string;
25804
25807
  toLocationId!: string;
@@ -25818,7 +25821,6 @@ export class BookingTransportRequestDto implements IBookingTransportRequestDto {
25818
25821
  init(_data?: any) {
25819
25822
  if (_data) {
25820
25823
  this.transportKind = _data["transportKind"];
25821
- this.bookingKind = _data["bookingKind"];
25822
25824
  if (Array.isArray(_data["items"])) {
25823
25825
  this.items = [] as any;
25824
25826
  for (let item of _data["items"])
@@ -25839,7 +25841,6 @@ export class BookingTransportRequestDto implements IBookingTransportRequestDto {
25839
25841
  toJSON(data?: any) {
25840
25842
  data = typeof data === 'object' ? data : {};
25841
25843
  data["transportKind"] = this.transportKind;
25842
- data["bookingKind"] = this.bookingKind;
25843
25844
  if (Array.isArray(this.items)) {
25844
25845
  data["items"] = [];
25845
25846
  for (let item of this.items)
@@ -25853,7 +25854,6 @@ export class BookingTransportRequestDto implements IBookingTransportRequestDto {
25853
25854
 
25854
25855
  export interface IBookingTransportRequestDto {
25855
25856
  transportKind: TransportKindDto;
25856
- bookingKind: BookingKindDto;
25857
25857
  items: BookingItemRequestDto[];
25858
25858
  fromLocationId: string;
25859
25859
  toLocationId: string;
@@ -25906,6 +25906,7 @@ export class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
25906
25906
  toLocationId!: string;
25907
25907
  material?: string | null;
25908
25908
  comment?: string | null;
25909
+ itemCount!: number;
25909
25910
 
25910
25911
  constructor(data?: IBookingGeneralRequestDto) {
25911
25912
  if (data) {
@@ -25924,6 +25925,7 @@ export class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
25924
25925
  this.toLocationId = _data["toLocationId"];
25925
25926
  this.material = _data["material"];
25926
25927
  this.comment = _data["comment"];
25928
+ this.itemCount = _data["itemCount"];
25927
25929
  }
25928
25930
  }
25929
25931
 
@@ -25942,6 +25944,7 @@ export class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
25942
25944
  data["toLocationId"] = this.toLocationId;
25943
25945
  data["material"] = this.material;
25944
25946
  data["comment"] = this.comment;
25947
+ data["itemCount"] = this.itemCount;
25945
25948
  return data;
25946
25949
  }
25947
25950
  }
@@ -25953,6 +25956,7 @@ export interface IBookingGeneralRequestDto {
25953
25956
  toLocationId: string;
25954
25957
  material?: string | null;
25955
25958
  comment?: string | null;
25959
+ itemCount: number;
25956
25960
  }
25957
25961
 
25958
25962
  export class BookingUpdateDto implements IBookingUpdateDto {