@ignos/api-client 20240429.0.9174 → 20240430.0.9189

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.
@@ -688,13 +688,13 @@ export declare class MachinesClient extends AuthorizedApiBase implements IMachin
688
688
  protected processCreateResourceWithMachine(response: Response): Promise<void>;
689
689
  }
690
690
  export interface ILocateBookingClient {
691
- createBooking(locateBookingDto: LocateBookingRequestDto): Promise<LocateBookingResponseDto>;
692
- listBookings(request: LocateBookingRequestListDto): Promise<LocateBookingResponseListDto>;
693
- getBooking(bookingId: string): Promise<LocateBookingResponseDto>;
694
- updateBooking(bookingId: string, locateBookingDto: LocateBookingRequestDto): Promise<LocateBookingResponseDto>;
695
- cancelBooking(bookingId: string): Promise<LocateBookingResponseDto>;
696
- startDelivery(bookingId: string): Promise<LocateBookingResponseDto>;
697
- finishDelivery(bookingId: string): Promise<LocateBookingResponseDto>;
691
+ createBooking(locateBookingDto: BookingRequestDto): Promise<BookingResponseDto>;
692
+ listBookings(request: BookingRequestListDto): Promise<BookingResponseListDto>;
693
+ getBooking(bookingId: string): Promise<BookingResponseDto>;
694
+ updateBooking(bookingId: string, locateBookingDto: BookingRequestDto): Promise<BookingResponseDto>;
695
+ cancelBooking(bookingId: string): Promise<BookingResponseDto>;
696
+ startDelivery(bookingId: string): Promise<BookingResponseDto>;
697
+ finishDelivery(bookingId: string): Promise<BookingResponseDto>;
698
698
  }
699
699
  export declare class LocateBookingClient extends AuthorizedApiBase implements ILocateBookingClient {
700
700
  private http;
@@ -703,23 +703,23 @@ export declare class LocateBookingClient extends AuthorizedApiBase implements IL
703
703
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
704
704
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
705
705
  });
706
- createBooking(locateBookingDto: LocateBookingRequestDto): Promise<LocateBookingResponseDto>;
707
- protected processCreateBooking(response: Response): Promise<LocateBookingResponseDto>;
708
- listBookings(request: LocateBookingRequestListDto): Promise<LocateBookingResponseListDto>;
709
- protected processListBookings(response: Response): Promise<LocateBookingResponseListDto>;
710
- getBooking(bookingId: string): Promise<LocateBookingResponseDto>;
711
- protected processGetBooking(response: Response): Promise<LocateBookingResponseDto>;
712
- updateBooking(bookingId: string, locateBookingDto: LocateBookingRequestDto): Promise<LocateBookingResponseDto>;
713
- protected processUpdateBooking(response: Response): Promise<LocateBookingResponseDto>;
714
- cancelBooking(bookingId: string): Promise<LocateBookingResponseDto>;
715
- protected processCancelBooking(response: Response): Promise<LocateBookingResponseDto>;
716
- startDelivery(bookingId: string): Promise<LocateBookingResponseDto>;
717
- protected processStartDelivery(response: Response): Promise<LocateBookingResponseDto>;
718
- finishDelivery(bookingId: string): Promise<LocateBookingResponseDto>;
719
- protected processFinishDelivery(response: Response): Promise<LocateBookingResponseDto>;
706
+ createBooking(locateBookingDto: BookingRequestDto): Promise<BookingResponseDto>;
707
+ protected processCreateBooking(response: Response): Promise<BookingResponseDto>;
708
+ listBookings(request: BookingRequestListDto): Promise<BookingResponseListDto>;
709
+ protected processListBookings(response: Response): Promise<BookingResponseListDto>;
710
+ getBooking(bookingId: string): Promise<BookingResponseDto>;
711
+ protected processGetBooking(response: Response): Promise<BookingResponseDto>;
712
+ updateBooking(bookingId: string, locateBookingDto: BookingRequestDto): Promise<BookingResponseDto>;
713
+ protected processUpdateBooking(response: Response): Promise<BookingResponseDto>;
714
+ cancelBooking(bookingId: string): Promise<BookingResponseDto>;
715
+ protected processCancelBooking(response: Response): Promise<BookingResponseDto>;
716
+ startDelivery(bookingId: string): Promise<BookingResponseDto>;
717
+ protected processStartDelivery(response: Response): Promise<BookingResponseDto>;
718
+ finishDelivery(bookingId: string): Promise<BookingResponseDto>;
719
+ protected processFinishDelivery(response: Response): Promise<BookingResponseDto>;
720
720
  }
721
721
  export interface ILocateLocationsClient {
722
- searchLocations(input: string | null | undefined, orderId: string | null | undefined): Promise<LocateLocationDto[]>;
722
+ searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | undefined, orderId: string | null | undefined): Promise<LocationDto[]>;
723
723
  }
724
724
  export declare class LocateLocationsClient extends AuthorizedApiBase implements ILocateLocationsClient {
725
725
  private http;
@@ -728,26 +728,26 @@ export declare class LocateLocationsClient extends AuthorizedApiBase implements
728
728
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
729
729
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
730
730
  });
731
- searchLocations(input: string | null | undefined, orderId: string | null | undefined): Promise<LocateLocationDto[]>;
732
- protected processSearchLocations(response: Response): Promise<LocateLocationDto[]>;
731
+ searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | undefined, orderId: string | null | undefined): Promise<LocationDto[]>;
732
+ protected processSearchLocations(response: Response): Promise<LocationDto[]>;
733
733
  }
734
- export interface ILocatePartsClient {
735
- searchParts(input: string | null | undefined, orderId: string | null | undefined): Promise<LocatePartsDto[]>;
734
+ export interface ILocateOrdersClient {
735
+ searchOrders(input: string | null | undefined, orderId: string | null | undefined): Promise<LocateOrderDto[]>;
736
736
  }
737
- export declare class LocatePartsClient extends AuthorizedApiBase implements ILocatePartsClient {
737
+ export declare class LocateOrdersClient extends AuthorizedApiBase implements ILocateOrdersClient {
738
738
  private http;
739
739
  private baseUrl;
740
740
  protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
741
741
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
742
742
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
743
743
  });
744
- searchParts(input: string | null | undefined, orderId: string | null | undefined): Promise<LocatePartsDto[]>;
745
- protected processSearchParts(response: Response): Promise<LocatePartsDto[]>;
744
+ searchOrders(input: string | null | undefined, orderId: string | null | undefined): Promise<LocateOrderDto[]>;
745
+ protected processSearchOrders(response: Response): Promise<LocateOrderDto[]>;
746
746
  }
747
747
  export interface ILocateTrackingClient {
748
- listTrackingHistory(orderId: string): Promise<LocateTrackingHistoryDto>;
749
- createTrackingEvent(orderId: string, locateTrackingUpdate: LocateTrackingUpdateDto): Promise<LocateTrackingEventsDto>;
750
- updateTrackingEvent(orderId: string, trackingEventId: number, locateTrackingUpdate: LocateTrackingUpdateDto): Promise<LocateTrackingEventsDto>;
748
+ listTrackingHistory(orderId: string): Promise<TrackingHistoryDto>;
749
+ createTrackingEvent(orderId: string, locateTrackingUpdate: TrackingUpdateDto): Promise<TrackingEventsDto>;
750
+ updateTrackingEvent(orderId: string, trackingEventId: number, locateTrackingUpdate: TrackingUpdateDto): Promise<TrackingEventsDto>;
751
751
  createLabel(orderId: string, palletCount: number | undefined): Promise<FileResponse>;
752
752
  }
753
753
  export declare class LocateTrackingClient extends AuthorizedApiBase implements ILocateTrackingClient {
@@ -757,12 +757,12 @@ export declare class LocateTrackingClient extends AuthorizedApiBase implements I
757
757
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
758
758
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
759
759
  });
760
- listTrackingHistory(orderId: string): Promise<LocateTrackingHistoryDto>;
761
- protected processListTrackingHistory(response: Response): Promise<LocateTrackingHistoryDto>;
762
- createTrackingEvent(orderId: string, locateTrackingUpdate: LocateTrackingUpdateDto): Promise<LocateTrackingEventsDto>;
763
- protected processCreateTrackingEvent(response: Response): Promise<LocateTrackingEventsDto>;
764
- updateTrackingEvent(orderId: string, trackingEventId: number, locateTrackingUpdate: LocateTrackingUpdateDto): Promise<LocateTrackingEventsDto>;
765
- protected processUpdateTrackingEvent(response: Response): Promise<LocateTrackingEventsDto>;
760
+ listTrackingHistory(orderId: string): Promise<TrackingHistoryDto>;
761
+ protected processListTrackingHistory(response: Response): Promise<TrackingHistoryDto>;
762
+ createTrackingEvent(orderId: string, locateTrackingUpdate: TrackingUpdateDto): Promise<TrackingEventsDto>;
763
+ protected processCreateTrackingEvent(response: Response): Promise<TrackingEventsDto>;
764
+ updateTrackingEvent(orderId: string, trackingEventId: number, locateTrackingUpdate: TrackingUpdateDto): Promise<TrackingEventsDto>;
765
+ protected processUpdateTrackingEvent(response: Response): Promise<TrackingEventsDto>;
766
766
  createLabel(orderId: string, palletCount: number | undefined): Promise<FileResponse>;
767
767
  protected processCreateLabel(response: Response): Promise<FileResponse>;
768
768
  }
@@ -5107,12 +5107,12 @@ export interface ICreateResourceWithMachine {
5107
5107
  year?: string | null;
5108
5108
  model?: string | null;
5109
5109
  }
5110
- export declare class LocateBookingResponseDto implements ILocateBookingResponseDto {
5110
+ export declare class BookingResponseDto implements IBookingResponseDto {
5111
5111
  bookingId: string;
5112
5112
  requestedDate: Date;
5113
5113
  requestedBy: string;
5114
- bookingType: LocateBookingType;
5115
- bookingStatus: LocateBookingStatus;
5114
+ bookingType: BookingTypeDto;
5115
+ bookingStatus: BookingStatusDto;
5116
5116
  orderId: string;
5117
5117
  palletCount: number;
5118
5118
  fromLocation: string;
@@ -5124,17 +5124,17 @@ export declare class LocateBookingResponseDto implements ILocateBookingResponseD
5124
5124
  palletsQuantity?: number | null;
5125
5125
  weight?: number | null;
5126
5126
  material?: string | null;
5127
- constructor(data?: ILocateBookingResponseDto);
5127
+ constructor(data?: IBookingResponseDto);
5128
5128
  init(_data?: any): void;
5129
- static fromJS(data: any): LocateBookingResponseDto;
5129
+ static fromJS(data: any): BookingResponseDto;
5130
5130
  toJSON(data?: any): any;
5131
5131
  }
5132
- export interface ILocateBookingResponseDto {
5132
+ export interface IBookingResponseDto {
5133
5133
  bookingId: string;
5134
5134
  requestedDate: Date;
5135
5135
  requestedBy: string;
5136
- bookingType: LocateBookingType;
5137
- bookingStatus: LocateBookingStatus;
5136
+ bookingType: BookingTypeDto;
5137
+ bookingStatus: BookingStatusDto;
5138
5138
  orderId: string;
5139
5139
  palletCount: number;
5140
5140
  fromLocation: string;
@@ -5147,12 +5147,12 @@ export interface ILocateBookingResponseDto {
5147
5147
  weight?: number | null;
5148
5148
  material?: string | null;
5149
5149
  }
5150
- export type LocateBookingType = "NormalTruck" | "LargeTruck" | "SideLoadingTruck";
5151
- export type LocateBookingStatus = "Pending" | "Cancelled" | "InProgress" | "Delivered";
5152
- export declare class LocateBookingRequestDto implements ILocateBookingRequestDto {
5150
+ export type BookingTypeDto = "NormalTruck" | "LargeTruck" | "SideLoadingTruck";
5151
+ export type BookingStatusDto = "Pending" | "Cancelled" | "InProgress" | "Delivered";
5152
+ export declare class BookingRequestDto implements IBookingRequestDto {
5153
5153
  requestedDate: Date;
5154
5154
  requestedBy: string;
5155
- bookingType: LocateBookingType;
5155
+ bookingType: BookingTypeDto;
5156
5156
  orderId: string;
5157
5157
  palletCount: number;
5158
5158
  fromLocation: string;
@@ -5164,15 +5164,15 @@ export declare class LocateBookingRequestDto implements ILocateBookingRequestDto
5164
5164
  palletsQuantity?: number | null;
5165
5165
  weight?: number | null;
5166
5166
  material?: string | null;
5167
- constructor(data?: ILocateBookingRequestDto);
5167
+ constructor(data?: IBookingRequestDto);
5168
5168
  init(_data?: any): void;
5169
- static fromJS(data: any): LocateBookingRequestDto;
5169
+ static fromJS(data: any): BookingRequestDto;
5170
5170
  toJSON(data?: any): any;
5171
5171
  }
5172
- export interface ILocateBookingRequestDto {
5172
+ export interface IBookingRequestDto {
5173
5173
  requestedDate: Date;
5174
5174
  requestedBy: string;
5175
- bookingType: LocateBookingType;
5175
+ bookingType: BookingTypeDto;
5176
5176
  orderId: string;
5177
5177
  palletCount: number;
5178
5178
  fromLocation: string;
@@ -5185,105 +5185,110 @@ export interface ILocateBookingRequestDto {
5185
5185
  weight?: number | null;
5186
5186
  material?: string | null;
5187
5187
  }
5188
- export declare class LocateBookingResponseListDto implements ILocateBookingResponseListDto {
5189
- results: LocateBookingResponseDto[];
5188
+ export declare class BookingResponseListDto implements IBookingResponseListDto {
5189
+ results: BookingResponseDto[];
5190
5190
  continuationToken?: string | null;
5191
- constructor(data?: ILocateBookingResponseListDto);
5191
+ constructor(data?: IBookingResponseListDto);
5192
5192
  init(_data?: any): void;
5193
- static fromJS(data: any): LocateBookingResponseListDto;
5193
+ static fromJS(data: any): BookingResponseListDto;
5194
5194
  toJSON(data?: any): any;
5195
5195
  }
5196
- export interface ILocateBookingResponseListDto {
5197
- results: LocateBookingResponseDto[];
5196
+ export interface IBookingResponseListDto {
5197
+ results: BookingResponseDto[];
5198
5198
  continuationToken?: string | null;
5199
5199
  }
5200
- export declare class LocateBookingRequestListDto implements ILocateBookingRequestListDto {
5200
+ export declare class BookingRequestListDto implements IBookingRequestListDto {
5201
5201
  continuationToken?: string | null;
5202
- constructor(data?: ILocateBookingRequestListDto);
5202
+ constructor(data?: IBookingRequestListDto);
5203
5203
  init(_data?: any): void;
5204
- static fromJS(data: any): LocateBookingRequestListDto;
5204
+ static fromJS(data: any): BookingRequestListDto;
5205
5205
  toJSON(data?: any): any;
5206
5206
  }
5207
- export interface ILocateBookingRequestListDto {
5207
+ export interface IBookingRequestListDto {
5208
5208
  continuationToken?: string | null;
5209
5209
  }
5210
- export declare class LocateLocationDto implements ILocateLocationDto {
5210
+ export declare class LocationDto implements ILocationDto {
5211
5211
  locationId: string;
5212
- location: string;
5213
- constructor(data?: ILocateLocationDto);
5212
+ locationName: string;
5213
+ kind: LocationKindDto;
5214
+ profile?: string | null;
5215
+ constructor(data?: ILocationDto);
5214
5216
  init(_data?: any): void;
5215
- static fromJS(data: any): LocateLocationDto;
5217
+ static fromJS(data: any): LocationDto;
5216
5218
  toJSON(data?: any): any;
5217
5219
  }
5218
- export interface ILocateLocationDto {
5220
+ export interface ILocationDto {
5219
5221
  locationId: string;
5220
- location: string;
5222
+ locationName: string;
5223
+ kind: LocationKindDto;
5224
+ profile?: string | null;
5221
5225
  }
5222
- export declare class LocatePartsDto implements ILocatePartsDto {
5226
+ export type LocationKindDto = "Warehouse" | "Zone" | "Location";
5227
+ export declare class LocateOrderDto implements ILocateOrderDto {
5223
5228
  orderId: string;
5224
5229
  partName?: string | null;
5225
5230
  partNumber?: string | null;
5226
- constructor(data?: ILocatePartsDto);
5231
+ constructor(data?: ILocateOrderDto);
5227
5232
  init(_data?: any): void;
5228
- static fromJS(data: any): LocatePartsDto;
5233
+ static fromJS(data: any): LocateOrderDto;
5229
5234
  toJSON(data?: any): any;
5230
5235
  }
5231
- export interface ILocatePartsDto {
5236
+ export interface ILocateOrderDto {
5232
5237
  orderId: string;
5233
5238
  partName?: string | null;
5234
5239
  partNumber?: string | null;
5235
5240
  }
5236
- export declare class LocateTrackingHistoryDto implements ILocateTrackingHistoryDto {
5241
+ export declare class TrackingHistoryDto implements ITrackingHistoryDto {
5237
5242
  orderId: string;
5238
5243
  lastSetPallets?: number | null;
5239
- trackingEvents: LocateTrackingEventsDto[];
5240
- constructor(data?: ILocateTrackingHistoryDto);
5244
+ trackingEvents: TrackingEventsDto[];
5245
+ constructor(data?: ITrackingHistoryDto);
5241
5246
  init(_data?: any): void;
5242
- static fromJS(data: any): LocateTrackingHistoryDto;
5247
+ static fromJS(data: any): TrackingHistoryDto;
5243
5248
  toJSON(data?: any): any;
5244
5249
  }
5245
- export interface ILocateTrackingHistoryDto {
5250
+ export interface ITrackingHistoryDto {
5246
5251
  orderId: string;
5247
5252
  lastSetPallets?: number | null;
5248
- trackingEvents: LocateTrackingEventsDto[];
5253
+ trackingEvents: TrackingEventsDto[];
5249
5254
  }
5250
- export declare class LocateTrackingEventsDto implements ILocateTrackingEventsDto {
5255
+ export declare class TrackingEventsDto implements ITrackingEventsDto {
5251
5256
  id: number;
5252
5257
  created: Date;
5253
5258
  createdBy: string;
5254
5259
  updated: Date;
5255
5260
  updatedBy: string;
5256
- location: string;
5261
+ locationId: string;
5257
5262
  active: boolean;
5258
5263
  trackingInfo?: string | null;
5259
5264
  pallets?: number | null;
5260
- constructor(data?: ILocateTrackingEventsDto);
5265
+ constructor(data?: ITrackingEventsDto);
5261
5266
  init(_data?: any): void;
5262
- static fromJS(data: any): LocateTrackingEventsDto;
5267
+ static fromJS(data: any): TrackingEventsDto;
5263
5268
  toJSON(data?: any): any;
5264
5269
  }
5265
- export interface ILocateTrackingEventsDto {
5270
+ export interface ITrackingEventsDto {
5266
5271
  id: number;
5267
5272
  created: Date;
5268
5273
  createdBy: string;
5269
5274
  updated: Date;
5270
5275
  updatedBy: string;
5271
- location: string;
5276
+ locationId: string;
5272
5277
  active: boolean;
5273
5278
  trackingInfo?: string | null;
5274
5279
  pallets?: number | null;
5275
5280
  }
5276
- export declare class LocateTrackingUpdateDto implements ILocateTrackingUpdateDto {
5281
+ export declare class TrackingUpdateDto implements ITrackingUpdateDto {
5277
5282
  location: string;
5278
5283
  trackingInfo?: string | null;
5279
5284
  active?: boolean | null;
5280
5285
  pallets?: number | null;
5281
- constructor(data?: ILocateTrackingUpdateDto);
5286
+ constructor(data?: ITrackingUpdateDto);
5282
5287
  init(_data?: any): void;
5283
- static fromJS(data: any): LocateTrackingUpdateDto;
5288
+ static fromJS(data: any): TrackingUpdateDto;
5284
5289
  toJSON(data?: any): any;
5285
5290
  }
5286
- export interface ILocateTrackingUpdateDto {
5291
+ export interface ITrackingUpdateDto {
5287
5292
  location: string;
5288
5293
  trackingInfo?: string | null;
5289
5294
  active?: boolean | null;
@@ -9747,9 +9752,9 @@ export declare class WorkOrderAttachmentDto implements IWorkOrderAttachmentDto {
9747
9752
  created?: Date | null;
9748
9753
  modifiedBy?: string | null;
9749
9754
  modified?: Date | null;
9750
- notes?: string | null;
9751
9755
  name?: string | null;
9752
- typeId?: string | null;
9756
+ notes?: string | null;
9757
+ attachmentType?: string | null;
9753
9758
  constructor(data?: IWorkOrderAttachmentDto);
9754
9759
  init(_data?: any): void;
9755
9760
  static fromJS(data: any): WorkOrderAttachmentDto;
@@ -9760,9 +9765,9 @@ export interface IWorkOrderAttachmentDto {
9760
9765
  created?: Date | null;
9761
9766
  modifiedBy?: string | null;
9762
9767
  modified?: Date | null;
9763
- notes?: string | null;
9764
9768
  name?: string | null;
9765
- typeId?: string | null;
9769
+ notes?: string | null;
9770
+ attachmentType?: string | null;
9766
9771
  }
9767
9772
  export declare class DrawingDto implements IDrawingDto {
9768
9773
  drawingNumber: string;