@ignos/api-client 20240430.0.9176 → 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.
- package/lib/ignosportal-api.d.ts +95 -90
- package/lib/ignosportal-api.js +50 -42
- package/package.json +1 -1
- package/src/ignosportal-api.ts +145 -131
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -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:
|
|
692
|
-
listBookings(request:
|
|
693
|
-
getBooking(bookingId: string): Promise<
|
|
694
|
-
updateBooking(bookingId: string, locateBookingDto:
|
|
695
|
-
cancelBooking(bookingId: string): Promise<
|
|
696
|
-
startDelivery(bookingId: string): Promise<
|
|
697
|
-
finishDelivery(bookingId: string): Promise<
|
|
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:
|
|
707
|
-
protected processCreateBooking(response: Response): Promise<
|
|
708
|
-
listBookings(request:
|
|
709
|
-
protected processListBookings(response: Response): Promise<
|
|
710
|
-
getBooking(bookingId: string): Promise<
|
|
711
|
-
protected processGetBooking(response: Response): Promise<
|
|
712
|
-
updateBooking(bookingId: string, locateBookingDto:
|
|
713
|
-
protected processUpdateBooking(response: Response): Promise<
|
|
714
|
-
cancelBooking(bookingId: string): Promise<
|
|
715
|
-
protected processCancelBooking(response: Response): Promise<
|
|
716
|
-
startDelivery(bookingId: string): Promise<
|
|
717
|
-
protected processStartDelivery(response: Response): Promise<
|
|
718
|
-
finishDelivery(bookingId: string): Promise<
|
|
719
|
-
protected processFinishDelivery(response: Response): Promise<
|
|
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<
|
|
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<
|
|
732
|
-
protected processSearchLocations(response: Response): Promise<
|
|
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
|
|
735
|
-
|
|
734
|
+
export interface ILocateOrdersClient {
|
|
735
|
+
searchOrders(input: string | null | undefined, orderId: string | null | undefined): Promise<LocateOrderDto[]>;
|
|
736
736
|
}
|
|
737
|
-
export declare class
|
|
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
|
-
|
|
745
|
-
protected
|
|
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<
|
|
749
|
-
createTrackingEvent(orderId: string, locateTrackingUpdate:
|
|
750
|
-
updateTrackingEvent(orderId: string, trackingEventId: number, locateTrackingUpdate:
|
|
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<
|
|
761
|
-
protected processListTrackingHistory(response: Response): Promise<
|
|
762
|
-
createTrackingEvent(orderId: string, locateTrackingUpdate:
|
|
763
|
-
protected processCreateTrackingEvent(response: Response): Promise<
|
|
764
|
-
updateTrackingEvent(orderId: string, trackingEventId: number, locateTrackingUpdate:
|
|
765
|
-
protected processUpdateTrackingEvent(response: Response): Promise<
|
|
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
|
|
5110
|
+
export declare class BookingResponseDto implements IBookingResponseDto {
|
|
5111
5111
|
bookingId: string;
|
|
5112
5112
|
requestedDate: Date;
|
|
5113
5113
|
requestedBy: string;
|
|
5114
|
-
bookingType:
|
|
5115
|
-
bookingStatus:
|
|
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?:
|
|
5127
|
+
constructor(data?: IBookingResponseDto);
|
|
5128
5128
|
init(_data?: any): void;
|
|
5129
|
-
static fromJS(data: any):
|
|
5129
|
+
static fromJS(data: any): BookingResponseDto;
|
|
5130
5130
|
toJSON(data?: any): any;
|
|
5131
5131
|
}
|
|
5132
|
-
export interface
|
|
5132
|
+
export interface IBookingResponseDto {
|
|
5133
5133
|
bookingId: string;
|
|
5134
5134
|
requestedDate: Date;
|
|
5135
5135
|
requestedBy: string;
|
|
5136
|
-
bookingType:
|
|
5137
|
-
bookingStatus:
|
|
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
|
|
5151
|
-
export type
|
|
5152
|
-
export declare class
|
|
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:
|
|
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?:
|
|
5167
|
+
constructor(data?: IBookingRequestDto);
|
|
5168
5168
|
init(_data?: any): void;
|
|
5169
|
-
static fromJS(data: any):
|
|
5169
|
+
static fromJS(data: any): BookingRequestDto;
|
|
5170
5170
|
toJSON(data?: any): any;
|
|
5171
5171
|
}
|
|
5172
|
-
export interface
|
|
5172
|
+
export interface IBookingRequestDto {
|
|
5173
5173
|
requestedDate: Date;
|
|
5174
5174
|
requestedBy: string;
|
|
5175
|
-
bookingType:
|
|
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
|
|
5189
|
-
results:
|
|
5188
|
+
export declare class BookingResponseListDto implements IBookingResponseListDto {
|
|
5189
|
+
results: BookingResponseDto[];
|
|
5190
5190
|
continuationToken?: string | null;
|
|
5191
|
-
constructor(data?:
|
|
5191
|
+
constructor(data?: IBookingResponseListDto);
|
|
5192
5192
|
init(_data?: any): void;
|
|
5193
|
-
static fromJS(data: any):
|
|
5193
|
+
static fromJS(data: any): BookingResponseListDto;
|
|
5194
5194
|
toJSON(data?: any): any;
|
|
5195
5195
|
}
|
|
5196
|
-
export interface
|
|
5197
|
-
results:
|
|
5196
|
+
export interface IBookingResponseListDto {
|
|
5197
|
+
results: BookingResponseDto[];
|
|
5198
5198
|
continuationToken?: string | null;
|
|
5199
5199
|
}
|
|
5200
|
-
export declare class
|
|
5200
|
+
export declare class BookingRequestListDto implements IBookingRequestListDto {
|
|
5201
5201
|
continuationToken?: string | null;
|
|
5202
|
-
constructor(data?:
|
|
5202
|
+
constructor(data?: IBookingRequestListDto);
|
|
5203
5203
|
init(_data?: any): void;
|
|
5204
|
-
static fromJS(data: any):
|
|
5204
|
+
static fromJS(data: any): BookingRequestListDto;
|
|
5205
5205
|
toJSON(data?: any): any;
|
|
5206
5206
|
}
|
|
5207
|
-
export interface
|
|
5207
|
+
export interface IBookingRequestListDto {
|
|
5208
5208
|
continuationToken?: string | null;
|
|
5209
5209
|
}
|
|
5210
|
-
export declare class
|
|
5210
|
+
export declare class LocationDto implements ILocationDto {
|
|
5211
5211
|
locationId: string;
|
|
5212
|
-
|
|
5213
|
-
|
|
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):
|
|
5217
|
+
static fromJS(data: any): LocationDto;
|
|
5216
5218
|
toJSON(data?: any): any;
|
|
5217
5219
|
}
|
|
5218
|
-
export interface
|
|
5220
|
+
export interface ILocationDto {
|
|
5219
5221
|
locationId: string;
|
|
5220
|
-
|
|
5222
|
+
locationName: string;
|
|
5223
|
+
kind: LocationKindDto;
|
|
5224
|
+
profile?: string | null;
|
|
5221
5225
|
}
|
|
5222
|
-
export
|
|
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?:
|
|
5231
|
+
constructor(data?: ILocateOrderDto);
|
|
5227
5232
|
init(_data?: any): void;
|
|
5228
|
-
static fromJS(data: any):
|
|
5233
|
+
static fromJS(data: any): LocateOrderDto;
|
|
5229
5234
|
toJSON(data?: any): any;
|
|
5230
5235
|
}
|
|
5231
|
-
export interface
|
|
5236
|
+
export interface ILocateOrderDto {
|
|
5232
5237
|
orderId: string;
|
|
5233
5238
|
partName?: string | null;
|
|
5234
5239
|
partNumber?: string | null;
|
|
5235
5240
|
}
|
|
5236
|
-
export declare class
|
|
5241
|
+
export declare class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
5237
5242
|
orderId: string;
|
|
5238
5243
|
lastSetPallets?: number | null;
|
|
5239
|
-
trackingEvents:
|
|
5240
|
-
constructor(data?:
|
|
5244
|
+
trackingEvents: TrackingEventsDto[];
|
|
5245
|
+
constructor(data?: ITrackingHistoryDto);
|
|
5241
5246
|
init(_data?: any): void;
|
|
5242
|
-
static fromJS(data: any):
|
|
5247
|
+
static fromJS(data: any): TrackingHistoryDto;
|
|
5243
5248
|
toJSON(data?: any): any;
|
|
5244
5249
|
}
|
|
5245
|
-
export interface
|
|
5250
|
+
export interface ITrackingHistoryDto {
|
|
5246
5251
|
orderId: string;
|
|
5247
5252
|
lastSetPallets?: number | null;
|
|
5248
|
-
trackingEvents:
|
|
5253
|
+
trackingEvents: TrackingEventsDto[];
|
|
5249
5254
|
}
|
|
5250
|
-
export declare class
|
|
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
|
-
|
|
5261
|
+
locationId: string;
|
|
5257
5262
|
active: boolean;
|
|
5258
5263
|
trackingInfo?: string | null;
|
|
5259
5264
|
pallets?: number | null;
|
|
5260
|
-
constructor(data?:
|
|
5265
|
+
constructor(data?: ITrackingEventsDto);
|
|
5261
5266
|
init(_data?: any): void;
|
|
5262
|
-
static fromJS(data: any):
|
|
5267
|
+
static fromJS(data: any): TrackingEventsDto;
|
|
5263
5268
|
toJSON(data?: any): any;
|
|
5264
5269
|
}
|
|
5265
|
-
export interface
|
|
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
|
-
|
|
5276
|
+
locationId: string;
|
|
5272
5277
|
active: boolean;
|
|
5273
5278
|
trackingInfo?: string | null;
|
|
5274
5279
|
pallets?: number | null;
|
|
5275
5280
|
}
|
|
5276
|
-
export declare class
|
|
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?:
|
|
5286
|
+
constructor(data?: ITrackingUpdateDto);
|
|
5282
5287
|
init(_data?: any): void;
|
|
5283
|
-
static fromJS(data: any):
|
|
5288
|
+
static fromJS(data: any): TrackingUpdateDto;
|
|
5284
5289
|
toJSON(data?: any): any;
|
|
5285
5290
|
}
|
|
5286
|
-
export interface
|
|
5291
|
+
export interface ITrackingUpdateDto {
|
|
5287
5292
|
location: string;
|
|
5288
5293
|
trackingInfo?: string | null;
|
|
5289
5294
|
active?: boolean | null;
|