@ignos/api-client 20240621.0.9612 → 20240621.0.9619

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.
@@ -4136,7 +4136,7 @@ export type TransportKindDto = "NormalForklift" | "LargeForklift" | "SideLoading
4136
4136
  export type BookingStatusDto = "Pending" | "Cancelled" | "InProgress" | "Delivered";
4137
4137
  export declare class BookingItemDto implements IBookingItemDto {
4138
4138
  trackingId: string;
4139
- workOrderId?: string | null;
4139
+ workOrderId: string;
4140
4140
  material?: string | null;
4141
4141
  comment?: string | null;
4142
4142
  toLocationOverride?: LocationDto | null;
@@ -4147,7 +4147,7 @@ export declare class BookingItemDto implements IBookingItemDto {
4147
4147
  }
4148
4148
  export interface IBookingItemDto {
4149
4149
  trackingId: string;
4150
- workOrderId?: string | null;
4150
+ workOrderId: string;
4151
4151
  material?: string | null;
4152
4152
  comment?: string | null;
4153
4153
  toLocationOverride?: LocationDto | null;
@@ -4297,7 +4297,7 @@ export interface ILocationSuggestionsItemDto {
4297
4297
  export declare class TrackingHistoryDto implements ITrackingHistoryDto {
4298
4298
  trackingId: string;
4299
4299
  palletNumber: number;
4300
- workOrderId?: string | null;
4300
+ workOrderId: string;
4301
4301
  trackingEvents: TrackingEventDto[];
4302
4302
  constructor(data?: ITrackingHistoryDto);
4303
4303
  init(_data?: any): void;
@@ -4307,7 +4307,7 @@ export declare class TrackingHistoryDto implements ITrackingHistoryDto {
4307
4307
  export interface ITrackingHistoryDto {
4308
4308
  trackingId: string;
4309
4309
  palletNumber: number;
4310
- workOrderId?: string | null;
4310
+ workOrderId: string;
4311
4311
  trackingEvents: TrackingEventDto[];
4312
4312
  }
4313
4313
  export declare class TrackingEventDto implements ITrackingEventDto {
@@ -4337,7 +4337,7 @@ export interface ITrackingEventDto {
4337
4337
  export type TrackingStatusDto = "Manual" | "BookingPending" | "BookingCancelled" | "BookingInProgress" | "BookingComplete";
4338
4338
  export declare class TrackingWorkOrderDto implements ITrackingWorkOrderDto {
4339
4339
  workOrderId: string;
4340
- part: PartDto;
4340
+ part?: PartDto | null;
4341
4341
  trackingHistory: TrackingHistoryDto[];
4342
4342
  constructor(data?: ITrackingWorkOrderDto);
4343
4343
  init(_data?: any): void;
@@ -4346,7 +4346,7 @@ export declare class TrackingWorkOrderDto implements ITrackingWorkOrderDto {
4346
4346
  }
4347
4347
  export interface ITrackingWorkOrderDto {
4348
4348
  workOrderId: string;
4349
- part: PartDto;
4349
+ part?: PartDto | null;
4350
4350
  trackingHistory: TrackingHistoryDto[];
4351
4351
  }
4352
4352
  export declare class TrackingUpdateDto implements ITrackingUpdateDto {
@@ -22935,14 +22935,13 @@ export class TrackingWorkOrderDto {
22935
22935
  }
22936
22936
  }
22937
22937
  if (!data) {
22938
- this.part = new PartDto();
22939
22938
  this.trackingHistory = [];
22940
22939
  }
22941
22940
  }
22942
22941
  init(_data) {
22943
22942
  if (_data) {
22944
22943
  this.workOrderId = _data["workOrderId"];
22945
- this.part = _data["part"] ? PartDto.fromJS(_data["part"]) : new PartDto();
22944
+ this.part = _data["part"] ? PartDto.fromJS(_data["part"]) : undefined;
22946
22945
  if (Array.isArray(_data["trackingHistory"])) {
22947
22946
  this.trackingHistory = [];
22948
22947
  for (let item of _data["trackingHistory"])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20240621.0.9612",
3
+ "version": "20240621.0.9619",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -25638,7 +25638,7 @@ export type BookingStatusDto = "Pending" | "Cancelled" | "InProgress" | "Deliver
25638
25638
 
25639
25639
  export class BookingItemDto implements IBookingItemDto {
25640
25640
  trackingId!: string;
25641
- workOrderId?: string | null;
25641
+ workOrderId!: string;
25642
25642
  material?: string | null;
25643
25643
  comment?: string | null;
25644
25644
  toLocationOverride?: LocationDto | null;
@@ -25682,7 +25682,7 @@ export class BookingItemDto implements IBookingItemDto {
25682
25682
 
25683
25683
  export interface IBookingItemDto {
25684
25684
  trackingId: string;
25685
- workOrderId?: string | null;
25685
+ workOrderId: string;
25686
25686
  material?: string | null;
25687
25687
  comment?: string | null;
25688
25688
  toLocationOverride?: LocationDto | null;
@@ -26181,7 +26181,7 @@ export interface ILocationSuggestionsItemDto {
26181
26181
  export class TrackingHistoryDto implements ITrackingHistoryDto {
26182
26182
  trackingId!: string;
26183
26183
  palletNumber!: number;
26184
- workOrderId?: string | null;
26184
+ workOrderId!: string;
26185
26185
  trackingEvents!: TrackingEventDto[];
26186
26186
 
26187
26187
  constructor(data?: ITrackingHistoryDto) {
@@ -26233,7 +26233,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
26233
26233
  export interface ITrackingHistoryDto {
26234
26234
  trackingId: string;
26235
26235
  palletNumber: number;
26236
- workOrderId?: string | null;
26236
+ workOrderId: string;
26237
26237
  trackingEvents: TrackingEventDto[];
26238
26238
  }
26239
26239
 
@@ -26305,7 +26305,7 @@ export type TrackingStatusDto = "Manual" | "BookingPending" | "BookingCancelled"
26305
26305
 
26306
26306
  export class TrackingWorkOrderDto implements ITrackingWorkOrderDto {
26307
26307
  workOrderId!: string;
26308
- part!: PartDto;
26308
+ part?: PartDto | null;
26309
26309
  trackingHistory!: TrackingHistoryDto[];
26310
26310
 
26311
26311
  constructor(data?: ITrackingWorkOrderDto) {
@@ -26316,7 +26316,6 @@ export class TrackingWorkOrderDto implements ITrackingWorkOrderDto {
26316
26316
  }
26317
26317
  }
26318
26318
  if (!data) {
26319
- this.part = new PartDto();
26320
26319
  this.trackingHistory = [];
26321
26320
  }
26322
26321
  }
@@ -26324,7 +26323,7 @@ export class TrackingWorkOrderDto implements ITrackingWorkOrderDto {
26324
26323
  init(_data?: any) {
26325
26324
  if (_data) {
26326
26325
  this.workOrderId = _data["workOrderId"];
26327
- this.part = _data["part"] ? PartDto.fromJS(_data["part"]) : new PartDto();
26326
+ this.part = _data["part"] ? PartDto.fromJS(_data["part"]) : <any>undefined;
26328
26327
  if (Array.isArray(_data["trackingHistory"])) {
26329
26328
  this.trackingHistory = [] as any;
26330
26329
  for (let item of _data["trackingHistory"])
@@ -26355,7 +26354,7 @@ export class TrackingWorkOrderDto implements ITrackingWorkOrderDto {
26355
26354
 
26356
26355
  export interface ITrackingWorkOrderDto {
26357
26356
  workOrderId: string;
26358
- part: PartDto;
26357
+ part?: PartDto | null;
26359
26358
  trackingHistory: TrackingHistoryDto[];
26360
26359
  }
26361
26360