@ignos/api-client 20240430.0.9176 → 20240503.0.9201

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): Promise<OrderDto[]>;
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): Promise<OrderDto[]>;
745
+ protected processSearchOrders(response: Response): Promise<OrderDto[]>;
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
  }
@@ -2535,6 +2535,7 @@ export declare class UserDto implements IUserDto {
2535
2535
  id?: string | null;
2536
2536
  fullName?: string | null;
2537
2537
  upn?: string | null;
2538
+ email?: string | null;
2538
2539
  isBetaTester?: boolean | null;
2539
2540
  constructor(data?: IUserDto);
2540
2541
  init(_data?: any): void;
@@ -2545,6 +2546,7 @@ export interface IUserDto {
2545
2546
  id?: string | null;
2546
2547
  fullName?: string | null;
2547
2548
  upn?: string | null;
2549
+ email?: string | null;
2548
2550
  isBetaTester?: boolean | null;
2549
2551
  }
2550
2552
  export declare class SetIsBetaTesterRequest implements ISetIsBetaTesterRequest {
@@ -5107,12 +5109,12 @@ export interface ICreateResourceWithMachine {
5107
5109
  year?: string | null;
5108
5110
  model?: string | null;
5109
5111
  }
5110
- export declare class LocateBookingResponseDto implements ILocateBookingResponseDto {
5112
+ export declare class BookingResponseDto implements IBookingResponseDto {
5111
5113
  bookingId: string;
5112
5114
  requestedDate: Date;
5113
5115
  requestedBy: string;
5114
- bookingType: LocateBookingType;
5115
- bookingStatus: LocateBookingStatus;
5116
+ bookingType: BookingTypeDto;
5117
+ bookingStatus: BookingStatusDto;
5116
5118
  orderId: string;
5117
5119
  palletCount: number;
5118
5120
  fromLocation: string;
@@ -5124,17 +5126,17 @@ export declare class LocateBookingResponseDto implements ILocateBookingResponseD
5124
5126
  palletsQuantity?: number | null;
5125
5127
  weight?: number | null;
5126
5128
  material?: string | null;
5127
- constructor(data?: ILocateBookingResponseDto);
5129
+ constructor(data?: IBookingResponseDto);
5128
5130
  init(_data?: any): void;
5129
- static fromJS(data: any): LocateBookingResponseDto;
5131
+ static fromJS(data: any): BookingResponseDto;
5130
5132
  toJSON(data?: any): any;
5131
5133
  }
5132
- export interface ILocateBookingResponseDto {
5134
+ export interface IBookingResponseDto {
5133
5135
  bookingId: string;
5134
5136
  requestedDate: Date;
5135
5137
  requestedBy: string;
5136
- bookingType: LocateBookingType;
5137
- bookingStatus: LocateBookingStatus;
5138
+ bookingType: BookingTypeDto;
5139
+ bookingStatus: BookingStatusDto;
5138
5140
  orderId: string;
5139
5141
  palletCount: number;
5140
5142
  fromLocation: string;
@@ -5147,12 +5149,12 @@ export interface ILocateBookingResponseDto {
5147
5149
  weight?: number | null;
5148
5150
  material?: string | null;
5149
5151
  }
5150
- export type LocateBookingType = "NormalTruck" | "LargeTruck" | "SideLoadingTruck";
5151
- export type LocateBookingStatus = "Pending" | "Cancelled" | "InProgress" | "Delivered";
5152
- export declare class LocateBookingRequestDto implements ILocateBookingRequestDto {
5152
+ export type BookingTypeDto = "NormalTruck" | "LargeTruck" | "SideLoadingTruck";
5153
+ export type BookingStatusDto = "Pending" | "Cancelled" | "InProgress" | "Delivered";
5154
+ export declare class BookingRequestDto implements IBookingRequestDto {
5153
5155
  requestedDate: Date;
5154
5156
  requestedBy: string;
5155
- bookingType: LocateBookingType;
5157
+ bookingType: BookingTypeDto;
5156
5158
  orderId: string;
5157
5159
  palletCount: number;
5158
5160
  fromLocation: string;
@@ -5164,15 +5166,15 @@ export declare class LocateBookingRequestDto implements ILocateBookingRequestDto
5164
5166
  palletsQuantity?: number | null;
5165
5167
  weight?: number | null;
5166
5168
  material?: string | null;
5167
- constructor(data?: ILocateBookingRequestDto);
5169
+ constructor(data?: IBookingRequestDto);
5168
5170
  init(_data?: any): void;
5169
- static fromJS(data: any): LocateBookingRequestDto;
5171
+ static fromJS(data: any): BookingRequestDto;
5170
5172
  toJSON(data?: any): any;
5171
5173
  }
5172
- export interface ILocateBookingRequestDto {
5174
+ export interface IBookingRequestDto {
5173
5175
  requestedDate: Date;
5174
5176
  requestedBy: string;
5175
- bookingType: LocateBookingType;
5177
+ bookingType: BookingTypeDto;
5176
5178
  orderId: string;
5177
5179
  palletCount: number;
5178
5180
  fromLocation: string;
@@ -5185,105 +5187,110 @@ export interface ILocateBookingRequestDto {
5185
5187
  weight?: number | null;
5186
5188
  material?: string | null;
5187
5189
  }
5188
- export declare class LocateBookingResponseListDto implements ILocateBookingResponseListDto {
5189
- results: LocateBookingResponseDto[];
5190
+ export declare class BookingResponseListDto implements IBookingResponseListDto {
5191
+ results: BookingResponseDto[];
5190
5192
  continuationToken?: string | null;
5191
- constructor(data?: ILocateBookingResponseListDto);
5193
+ constructor(data?: IBookingResponseListDto);
5192
5194
  init(_data?: any): void;
5193
- static fromJS(data: any): LocateBookingResponseListDto;
5195
+ static fromJS(data: any): BookingResponseListDto;
5194
5196
  toJSON(data?: any): any;
5195
5197
  }
5196
- export interface ILocateBookingResponseListDto {
5197
- results: LocateBookingResponseDto[];
5198
+ export interface IBookingResponseListDto {
5199
+ results: BookingResponseDto[];
5198
5200
  continuationToken?: string | null;
5199
5201
  }
5200
- export declare class LocateBookingRequestListDto implements ILocateBookingRequestListDto {
5202
+ export declare class BookingRequestListDto implements IBookingRequestListDto {
5201
5203
  continuationToken?: string | null;
5202
- constructor(data?: ILocateBookingRequestListDto);
5204
+ constructor(data?: IBookingRequestListDto);
5203
5205
  init(_data?: any): void;
5204
- static fromJS(data: any): LocateBookingRequestListDto;
5206
+ static fromJS(data: any): BookingRequestListDto;
5205
5207
  toJSON(data?: any): any;
5206
5208
  }
5207
- export interface ILocateBookingRequestListDto {
5209
+ export interface IBookingRequestListDto {
5208
5210
  continuationToken?: string | null;
5209
5211
  }
5210
- export declare class LocateLocationDto implements ILocateLocationDto {
5212
+ export declare class LocationDto implements ILocationDto {
5211
5213
  locationId: string;
5212
- location: string;
5213
- constructor(data?: ILocateLocationDto);
5214
+ locationName: string;
5215
+ kind: LocationKindDto;
5216
+ profile?: string | null;
5217
+ constructor(data?: ILocationDto);
5214
5218
  init(_data?: any): void;
5215
- static fromJS(data: any): LocateLocationDto;
5219
+ static fromJS(data: any): LocationDto;
5216
5220
  toJSON(data?: any): any;
5217
5221
  }
5218
- export interface ILocateLocationDto {
5222
+ export interface ILocationDto {
5219
5223
  locationId: string;
5220
- location: string;
5224
+ locationName: string;
5225
+ kind: LocationKindDto;
5226
+ profile?: string | null;
5221
5227
  }
5222
- export declare class LocatePartsDto implements ILocatePartsDto {
5228
+ export type LocationKindDto = "Warehouse" | "Zone" | "Location";
5229
+ export declare class OrderDto implements IOrderDto {
5223
5230
  orderId: string;
5224
5231
  partName?: string | null;
5225
5232
  partNumber?: string | null;
5226
- constructor(data?: ILocatePartsDto);
5233
+ constructor(data?: IOrderDto);
5227
5234
  init(_data?: any): void;
5228
- static fromJS(data: any): LocatePartsDto;
5235
+ static fromJS(data: any): OrderDto;
5229
5236
  toJSON(data?: any): any;
5230
5237
  }
5231
- export interface ILocatePartsDto {
5238
+ export interface IOrderDto {
5232
5239
  orderId: string;
5233
5240
  partName?: string | null;
5234
5241
  partNumber?: string | null;
5235
5242
  }
5236
- export declare class LocateTrackingHistoryDto implements ILocateTrackingHistoryDto {
5243
+ export declare class TrackingHistoryDto implements ITrackingHistoryDto {
5237
5244
  orderId: string;
5238
5245
  lastSetPallets?: number | null;
5239
- trackingEvents: LocateTrackingEventsDto[];
5240
- constructor(data?: ILocateTrackingHistoryDto);
5246
+ trackingEvents: TrackingEventsDto[];
5247
+ constructor(data?: ITrackingHistoryDto);
5241
5248
  init(_data?: any): void;
5242
- static fromJS(data: any): LocateTrackingHistoryDto;
5249
+ static fromJS(data: any): TrackingHistoryDto;
5243
5250
  toJSON(data?: any): any;
5244
5251
  }
5245
- export interface ILocateTrackingHistoryDto {
5252
+ export interface ITrackingHistoryDto {
5246
5253
  orderId: string;
5247
5254
  lastSetPallets?: number | null;
5248
- trackingEvents: LocateTrackingEventsDto[];
5255
+ trackingEvents: TrackingEventsDto[];
5249
5256
  }
5250
- export declare class LocateTrackingEventsDto implements ILocateTrackingEventsDto {
5257
+ export declare class TrackingEventsDto implements ITrackingEventsDto {
5251
5258
  id: number;
5252
5259
  created: Date;
5253
5260
  createdBy: string;
5254
5261
  updated: Date;
5255
5262
  updatedBy: string;
5256
- location: string;
5263
+ locationId: string;
5257
5264
  active: boolean;
5258
5265
  trackingInfo?: string | null;
5259
5266
  pallets?: number | null;
5260
- constructor(data?: ILocateTrackingEventsDto);
5267
+ constructor(data?: ITrackingEventsDto);
5261
5268
  init(_data?: any): void;
5262
- static fromJS(data: any): LocateTrackingEventsDto;
5269
+ static fromJS(data: any): TrackingEventsDto;
5263
5270
  toJSON(data?: any): any;
5264
5271
  }
5265
- export interface ILocateTrackingEventsDto {
5272
+ export interface ITrackingEventsDto {
5266
5273
  id: number;
5267
5274
  created: Date;
5268
5275
  createdBy: string;
5269
5276
  updated: Date;
5270
5277
  updatedBy: string;
5271
- location: string;
5278
+ locationId: string;
5272
5279
  active: boolean;
5273
5280
  trackingInfo?: string | null;
5274
5281
  pallets?: number | null;
5275
5282
  }
5276
- export declare class LocateTrackingUpdateDto implements ILocateTrackingUpdateDto {
5283
+ export declare class TrackingUpdateDto implements ITrackingUpdateDto {
5277
5284
  location: string;
5278
5285
  trackingInfo?: string | null;
5279
5286
  active?: boolean | null;
5280
5287
  pallets?: number | null;
5281
- constructor(data?: ILocateTrackingUpdateDto);
5288
+ constructor(data?: ITrackingUpdateDto);
5282
5289
  init(_data?: any): void;
5283
- static fromJS(data: any): LocateTrackingUpdateDto;
5290
+ static fromJS(data: any): TrackingUpdateDto;
5284
5291
  toJSON(data?: any): any;
5285
5292
  }
5286
- export interface ILocateTrackingUpdateDto {
5293
+ export interface ITrackingUpdateDto {
5287
5294
  location: string;
5288
5295
  trackingInfo?: string | null;
5289
5296
  active?: boolean | null;