@ignos/api-client 20240528.0.9349 → 20240529.0.9369
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 +118 -66
- package/lib/ignosportal-api.js +201 -40
- package/package.json +1 -1
- package/src/ignosportal-api.ts +317 -104
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -529,42 +529,42 @@ export declare class TraceClient extends AuthorizedApiBase implements ITraceClie
|
|
|
529
529
|
postListTraceWorkorders(request: ListTraceWorkordersRequest | undefined): Promise<PagedResultOfTraceWorkOrderListDto>;
|
|
530
530
|
protected processPostListTraceWorkorders(response: Response): Promise<PagedResultOfTraceWorkOrderListDto>;
|
|
531
531
|
}
|
|
532
|
-
export interface
|
|
533
|
-
listBookings(request: BookingRequestListDto): Promise<
|
|
534
|
-
getBooking(bookingId: string): Promise<
|
|
535
|
-
updateBooking(bookingId: string, bookingRequest: BookingRequestDto): Promise<
|
|
536
|
-
createBooking(bookingRequest: BookingRequestDto): Promise<
|
|
537
|
-
cancelBooking(bookingUpdate: BookingUpdateDto): Promise<
|
|
538
|
-
startDelivery(bookingUpdate: BookingUpdateDto): Promise<
|
|
539
|
-
finishDelivery(bookingUpdate: BookingDeliveryUpdateDto): Promise<
|
|
540
|
-
}
|
|
541
|
-
export declare class
|
|
532
|
+
export interface IMoveBookingClient {
|
|
533
|
+
listBookings(request: BookingRequestListDto): Promise<BookingListDto>;
|
|
534
|
+
getBooking(bookingId: string): Promise<BookingDto>;
|
|
535
|
+
updateBooking(bookingId: string, bookingRequest: BookingRequestDto): Promise<BookingDto>;
|
|
536
|
+
createBooking(bookingRequest: BookingRequestDto): Promise<BookingDto>;
|
|
537
|
+
cancelBooking(bookingUpdate: BookingUpdateDto): Promise<BookingDto>;
|
|
538
|
+
startDelivery(bookingUpdate: BookingUpdateDto): Promise<BookingDto>;
|
|
539
|
+
finishDelivery(bookingUpdate: BookingDeliveryUpdateDto): Promise<BookingDto>;
|
|
540
|
+
}
|
|
541
|
+
export declare class MoveBookingClient extends AuthorizedApiBase implements IMoveBookingClient {
|
|
542
542
|
private http;
|
|
543
543
|
private baseUrl;
|
|
544
544
|
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
545
545
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
546
546
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
547
547
|
});
|
|
548
|
-
listBookings(request: BookingRequestListDto): Promise<
|
|
549
|
-
protected processListBookings(response: Response): Promise<
|
|
550
|
-
getBooking(bookingId: string): Promise<
|
|
551
|
-
protected processGetBooking(response: Response): Promise<
|
|
552
|
-
updateBooking(bookingId: string, bookingRequest: BookingRequestDto): Promise<
|
|
553
|
-
protected processUpdateBooking(response: Response): Promise<
|
|
554
|
-
createBooking(bookingRequest: BookingRequestDto): Promise<
|
|
555
|
-
protected processCreateBooking(response: Response): Promise<
|
|
556
|
-
cancelBooking(bookingUpdate: BookingUpdateDto): Promise<
|
|
557
|
-
protected processCancelBooking(response: Response): Promise<
|
|
558
|
-
startDelivery(bookingUpdate: BookingUpdateDto): Promise<
|
|
559
|
-
protected processStartDelivery(response: Response): Promise<
|
|
560
|
-
finishDelivery(bookingUpdate: BookingDeliveryUpdateDto): Promise<
|
|
561
|
-
protected processFinishDelivery(response: Response): Promise<
|
|
562
|
-
}
|
|
563
|
-
export interface
|
|
548
|
+
listBookings(request: BookingRequestListDto): Promise<BookingListDto>;
|
|
549
|
+
protected processListBookings(response: Response): Promise<BookingListDto>;
|
|
550
|
+
getBooking(bookingId: string): Promise<BookingDto>;
|
|
551
|
+
protected processGetBooking(response: Response): Promise<BookingDto>;
|
|
552
|
+
updateBooking(bookingId: string, bookingRequest: BookingRequestDto): Promise<BookingDto>;
|
|
553
|
+
protected processUpdateBooking(response: Response): Promise<BookingDto>;
|
|
554
|
+
createBooking(bookingRequest: BookingRequestDto): Promise<BookingDto>;
|
|
555
|
+
protected processCreateBooking(response: Response): Promise<BookingDto>;
|
|
556
|
+
cancelBooking(bookingUpdate: BookingUpdateDto): Promise<BookingDto>;
|
|
557
|
+
protected processCancelBooking(response: Response): Promise<BookingDto>;
|
|
558
|
+
startDelivery(bookingUpdate: BookingUpdateDto): Promise<BookingDto>;
|
|
559
|
+
protected processStartDelivery(response: Response): Promise<BookingDto>;
|
|
560
|
+
finishDelivery(bookingUpdate: BookingDeliveryUpdateDto): Promise<BookingDto>;
|
|
561
|
+
protected processFinishDelivery(response: Response): Promise<BookingDto>;
|
|
562
|
+
}
|
|
563
|
+
export interface IMoveLocationsClient {
|
|
564
564
|
searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | undefined): Promise<LocationDto[]>;
|
|
565
565
|
suggestionsLocations(workOrderId: string | null | undefined, locationKinds: LocationKindDto[] | undefined): Promise<LocationDto[]>;
|
|
566
566
|
}
|
|
567
|
-
export declare class
|
|
567
|
+
export declare class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocationsClient {
|
|
568
568
|
private http;
|
|
569
569
|
private baseUrl;
|
|
570
570
|
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
@@ -576,7 +576,7 @@ export declare class LocationsClient extends AuthorizedApiBase implements ILocat
|
|
|
576
576
|
suggestionsLocations(workOrderId: string | null | undefined, locationKinds: LocationKindDto[] | undefined): Promise<LocationDto[]>;
|
|
577
577
|
protected processSuggestionsLocations(response: Response): Promise<LocationDto[]>;
|
|
578
578
|
}
|
|
579
|
-
export interface
|
|
579
|
+
export interface IMoveTrackingClient {
|
|
580
580
|
listTrackingHistory(trackingId: string): Promise<TrackingHistoryDto>;
|
|
581
581
|
listWorkOrderTrackingHistory(workOrderId: string): Promise<TrackingWorkOrderDto>;
|
|
582
582
|
createTrackingEvents(trackingUpdates: TrackingUpdateDto[]): Promise<void>;
|
|
@@ -584,7 +584,7 @@ export interface ITrackingClient {
|
|
|
584
584
|
deleteTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<void>;
|
|
585
585
|
createLabel(workOrderId: string, palletCount: number | undefined): Promise<FileResponse>;
|
|
586
586
|
}
|
|
587
|
-
export declare class
|
|
587
|
+
export declare class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
|
|
588
588
|
private http;
|
|
589
589
|
private baseUrl;
|
|
590
590
|
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
@@ -604,10 +604,10 @@ export declare class TrackingClient extends AuthorizedApiBase implements ITracki
|
|
|
604
604
|
createLabel(workOrderId: string, palletCount: number | undefined): Promise<FileResponse>;
|
|
605
605
|
protected processCreateLabel(response: Response): Promise<FileResponse>;
|
|
606
606
|
}
|
|
607
|
-
export interface
|
|
607
|
+
export interface IMoveWorkOrdersClient {
|
|
608
608
|
searchWorkOrders(input: string | null | undefined): Promise<SearchWorkOrderDto[]>;
|
|
609
609
|
}
|
|
610
|
-
export declare class
|
|
610
|
+
export declare class MoveWorkOrdersClient extends AuthorizedApiBase implements IMoveWorkOrdersClient {
|
|
611
611
|
private http;
|
|
612
612
|
private baseUrl;
|
|
613
613
|
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
@@ -995,6 +995,7 @@ export interface ICncFileTransferClient {
|
|
|
995
995
|
createUploadCamTransferInfo(request: UploadCamFileRequest): Promise<UploadCamFileDto>;
|
|
996
996
|
getCamTransfer(path: string | null | undefined): Promise<CamTransferDto>;
|
|
997
997
|
startCamTransferToMachine(request: StartCamTransferToMachine): Promise<CncMachineTransferDto>;
|
|
998
|
+
startCamTransferToMachineFromTempUpload(request: StartCamTransferToMachineFromTempUpload): Promise<CncMachineTransferDto>;
|
|
998
999
|
}
|
|
999
1000
|
export declare class CncFileTransferClient extends AuthorizedApiBase implements ICncFileTransferClient {
|
|
1000
1001
|
private http;
|
|
@@ -1015,6 +1016,8 @@ export declare class CncFileTransferClient extends AuthorizedApiBase implements
|
|
|
1015
1016
|
protected processGetCamTransfer(response: Response): Promise<CamTransferDto>;
|
|
1016
1017
|
startCamTransferToMachine(request: StartCamTransferToMachine): Promise<CncMachineTransferDto>;
|
|
1017
1018
|
protected processStartCamTransferToMachine(response: Response): Promise<CncMachineTransferDto>;
|
|
1019
|
+
startCamTransferToMachineFromTempUpload(request: StartCamTransferToMachineFromTempUpload): Promise<CncMachineTransferDto>;
|
|
1020
|
+
protected processStartCamTransferToMachineFromTempUpload(response: Response): Promise<CncMachineTransferDto>;
|
|
1018
1021
|
}
|
|
1019
1022
|
export interface ICncSetupAgentClient {
|
|
1020
1023
|
getCncAgentConfig(agentId: string | null | undefined, agentVersion: string | null | undefined): Promise<AgentConfigDto>;
|
|
@@ -4073,47 +4076,81 @@ export interface IListTraceWorkordersRequest {
|
|
|
4073
4076
|
searchType?: SearchTypeDto | null;
|
|
4074
4077
|
continuationToken?: string | null;
|
|
4075
4078
|
}
|
|
4076
|
-
export declare class
|
|
4077
|
-
results:
|
|
4079
|
+
export declare class BookingListDto implements IBookingListDto {
|
|
4080
|
+
results: BookingDto[];
|
|
4078
4081
|
continuationToken?: string | null;
|
|
4079
|
-
constructor(data?:
|
|
4082
|
+
constructor(data?: IBookingListDto);
|
|
4080
4083
|
init(_data?: any): void;
|
|
4081
|
-
static fromJS(data: any):
|
|
4084
|
+
static fromJS(data: any): BookingListDto;
|
|
4082
4085
|
toJSON(data?: any): any;
|
|
4083
4086
|
}
|
|
4084
|
-
export interface
|
|
4085
|
-
results:
|
|
4087
|
+
export interface IBookingListDto {
|
|
4088
|
+
results: BookingDto[];
|
|
4086
4089
|
continuationToken?: string | null;
|
|
4087
4090
|
}
|
|
4088
|
-
export declare class
|
|
4091
|
+
export declare class BookingDto implements IBookingDto {
|
|
4089
4092
|
bookingId: string;
|
|
4090
4093
|
bookingType: BookingTypeDto;
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4094
|
+
status: BookingStatusDto;
|
|
4095
|
+
items: BookingItemDto[];
|
|
4096
|
+
fromLocation: LocationDto;
|
|
4097
|
+
toLocation: LocationDto;
|
|
4098
|
+
created: Date;
|
|
4099
|
+
createdBy: string;
|
|
4100
|
+
createdById: string;
|
|
4101
|
+
updatedBy?: string | null;
|
|
4102
|
+
updatedById?: string | null;
|
|
4103
|
+
constructor(data?: IBookingDto);
|
|
4095
4104
|
init(_data?: any): void;
|
|
4096
|
-
static fromJS(data: any):
|
|
4105
|
+
static fromJS(data: any): BookingDto;
|
|
4097
4106
|
toJSON(data?: any): any;
|
|
4098
4107
|
}
|
|
4099
|
-
export interface
|
|
4108
|
+
export interface IBookingDto {
|
|
4100
4109
|
bookingId: string;
|
|
4101
4110
|
bookingType: BookingTypeDto;
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4111
|
+
status: BookingStatusDto;
|
|
4112
|
+
items: BookingItemDto[];
|
|
4113
|
+
fromLocation: LocationDto;
|
|
4114
|
+
toLocation: LocationDto;
|
|
4115
|
+
created: Date;
|
|
4116
|
+
createdBy: string;
|
|
4117
|
+
createdById: string;
|
|
4118
|
+
updatedBy?: string | null;
|
|
4119
|
+
updatedById?: string | null;
|
|
4105
4120
|
}
|
|
4106
4121
|
export type BookingTypeDto = "NormalTruck" | "LargeTruck" | "SideLoadingTruck";
|
|
4107
|
-
export
|
|
4122
|
+
export type BookingStatusDto = "Pending" | "Cancelled" | "InProgress" | "Delivered";
|
|
4123
|
+
export declare class BookingItemDto implements IBookingItemDto {
|
|
4108
4124
|
trackingId: string;
|
|
4109
|
-
|
|
4125
|
+
workOrderId: string;
|
|
4126
|
+
material?: string | null;
|
|
4127
|
+
constructor(data?: IBookingItemDto);
|
|
4110
4128
|
init(_data?: any): void;
|
|
4111
|
-
static fromJS(data: any):
|
|
4129
|
+
static fromJS(data: any): BookingItemDto;
|
|
4112
4130
|
toJSON(data?: any): any;
|
|
4113
4131
|
}
|
|
4114
|
-
export interface
|
|
4132
|
+
export interface IBookingItemDto {
|
|
4115
4133
|
trackingId: string;
|
|
4134
|
+
workOrderId: string;
|
|
4135
|
+
material?: string | null;
|
|
4136
|
+
}
|
|
4137
|
+
export declare class LocationDto implements ILocationDto {
|
|
4138
|
+
locationId: string;
|
|
4139
|
+
locationName: string;
|
|
4140
|
+
kind: LocationKindDto;
|
|
4141
|
+
profile?: string | null;
|
|
4142
|
+
constructor(data?: ILocationDto);
|
|
4143
|
+
init(_data?: any): void;
|
|
4144
|
+
static fromJS(data: any): LocationDto;
|
|
4145
|
+
toJSON(data?: any): any;
|
|
4146
|
+
}
|
|
4147
|
+
export interface ILocationDto {
|
|
4148
|
+
locationId: string;
|
|
4149
|
+
locationName: string;
|
|
4150
|
+
kind: LocationKindDto;
|
|
4151
|
+
profile?: string | null;
|
|
4116
4152
|
}
|
|
4153
|
+
export type LocationKindDto = "Warehouse" | "Zone" | "Location";
|
|
4117
4154
|
export declare class BookingRequestListDto implements IBookingRequestListDto {
|
|
4118
4155
|
continuationToken?: string | null;
|
|
4119
4156
|
constructor(data?: IBookingRequestListDto);
|
|
@@ -4164,8 +4201,8 @@ export interface IBookingUpdateDto {
|
|
|
4164
4201
|
}
|
|
4165
4202
|
export declare class BookingDeliveryUpdateDto implements IBookingDeliveryUpdateDto {
|
|
4166
4203
|
bookingId: string;
|
|
4167
|
-
toLocationId?: string | null;
|
|
4168
4204
|
comment?: string | null;
|
|
4205
|
+
deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
|
|
4169
4206
|
constructor(data?: IBookingDeliveryUpdateDto);
|
|
4170
4207
|
init(_data?: any): void;
|
|
4171
4208
|
static fromJS(data: any): BookingDeliveryUpdateDto;
|
|
@@ -4173,26 +4210,23 @@ export declare class BookingDeliveryUpdateDto implements IBookingDeliveryUpdateD
|
|
|
4173
4210
|
}
|
|
4174
4211
|
export interface IBookingDeliveryUpdateDto {
|
|
4175
4212
|
bookingId: string;
|
|
4176
|
-
toLocationId?: string | null;
|
|
4177
4213
|
comment?: string | null;
|
|
4214
|
+
deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
|
|
4178
4215
|
}
|
|
4179
|
-
export declare class
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
constructor(data?: ILocationDto);
|
|
4216
|
+
export declare class BookingDeliveryExceptionDto implements IBookingDeliveryExceptionDto {
|
|
4217
|
+
trackingId: string;
|
|
4218
|
+
toLocationId?: string | null;
|
|
4219
|
+
comment?: string | null;
|
|
4220
|
+
constructor(data?: IBookingDeliveryExceptionDto);
|
|
4185
4221
|
init(_data?: any): void;
|
|
4186
|
-
static fromJS(data: any):
|
|
4222
|
+
static fromJS(data: any): BookingDeliveryExceptionDto;
|
|
4187
4223
|
toJSON(data?: any): any;
|
|
4188
4224
|
}
|
|
4189
|
-
export interface
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
profile?: string | null;
|
|
4225
|
+
export interface IBookingDeliveryExceptionDto {
|
|
4226
|
+
trackingId: string;
|
|
4227
|
+
toLocationId?: string | null;
|
|
4228
|
+
comment?: string | null;
|
|
4194
4229
|
}
|
|
4195
|
-
export type LocationKindDto = "Warehouse" | "Zone" | "Location";
|
|
4196
4230
|
export declare class TrackingHistoryDto implements ITrackingHistoryDto {
|
|
4197
4231
|
trackingId: string;
|
|
4198
4232
|
palletNumber: number;
|
|
@@ -4213,6 +4247,7 @@ export declare class TrackingEventDto implements ITrackingEventDto {
|
|
|
4213
4247
|
id: number;
|
|
4214
4248
|
created: Date;
|
|
4215
4249
|
createdBy: string;
|
|
4250
|
+
createdById: string;
|
|
4216
4251
|
location: LocationDto;
|
|
4217
4252
|
status: TrackingStatusDto;
|
|
4218
4253
|
bookingId?: string | null;
|
|
@@ -4226,6 +4261,7 @@ export interface ITrackingEventDto {
|
|
|
4226
4261
|
id: number;
|
|
4227
4262
|
created: Date;
|
|
4228
4263
|
createdBy: string;
|
|
4264
|
+
createdById: string;
|
|
4229
4265
|
location: LocationDto;
|
|
4230
4266
|
status: TrackingStatusDto;
|
|
4231
4267
|
bookingId?: string | null;
|
|
@@ -4276,6 +4312,7 @@ export interface ITrackingHistoryUpdateDto {
|
|
|
4276
4312
|
}
|
|
4277
4313
|
export declare class SearchWorkOrderDto implements ISearchWorkOrderDto {
|
|
4278
4314
|
workOrderId: string;
|
|
4315
|
+
trackingIds: string[];
|
|
4279
4316
|
partName?: string | null;
|
|
4280
4317
|
partNumber?: string | null;
|
|
4281
4318
|
constructor(data?: ISearchWorkOrderDto);
|
|
@@ -4285,6 +4322,7 @@ export declare class SearchWorkOrderDto implements ISearchWorkOrderDto {
|
|
|
4285
4322
|
}
|
|
4286
4323
|
export interface ISearchWorkOrderDto {
|
|
4287
4324
|
workOrderId: string;
|
|
4325
|
+
trackingIds: string[];
|
|
4288
4326
|
partName?: string | null;
|
|
4289
4327
|
partNumber?: string | null;
|
|
4290
4328
|
}
|
|
@@ -6042,6 +6080,20 @@ export interface IStartCamTransferToMachine {
|
|
|
6042
6080
|
content: string;
|
|
6043
6081
|
cncMachineId: string;
|
|
6044
6082
|
}
|
|
6083
|
+
export declare class StartCamTransferToMachineFromTempUpload implements IStartCamTransferToMachineFromTempUpload {
|
|
6084
|
+
uploadKey: string;
|
|
6085
|
+
filename: string;
|
|
6086
|
+
cncMachineId: string;
|
|
6087
|
+
constructor(data?: IStartCamTransferToMachineFromTempUpload);
|
|
6088
|
+
init(_data?: any): void;
|
|
6089
|
+
static fromJS(data: any): StartCamTransferToMachineFromTempUpload;
|
|
6090
|
+
toJSON(data?: any): any;
|
|
6091
|
+
}
|
|
6092
|
+
export interface IStartCamTransferToMachineFromTempUpload {
|
|
6093
|
+
uploadKey: string;
|
|
6094
|
+
filename: string;
|
|
6095
|
+
cncMachineId: string;
|
|
6096
|
+
}
|
|
6045
6097
|
export declare class AgentConfigDto implements IAgentConfigDto {
|
|
6046
6098
|
serviceBusNamespace: string;
|
|
6047
6099
|
queueName: string;
|