@ignos/api-client 20240528.0.9355 → 20240531.0.9386
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 +102 -59
- package/lib/ignosportal-api.js +206 -37
- package/package.json +1 -1
- package/src/ignosportal-api.ts +301 -91
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -529,42 +529,45 @@ 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
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
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
|
+
getWorkOrderBooking(workOrderId: string): Promise<BookingDto[]>;
|
|
537
|
+
createBooking(bookingRequest: BookingRequestDto): Promise<BookingDto>;
|
|
538
|
+
cancelBooking(bookingUpdate: BookingUpdateDto): Promise<BookingDto>;
|
|
539
|
+
startDelivery(bookingUpdate: BookingUpdateDto): Promise<BookingDto>;
|
|
540
|
+
finishDelivery(bookingUpdate: BookingDeliveryUpdateDto): Promise<BookingDto>;
|
|
541
|
+
}
|
|
542
|
+
export declare class MoveBookingClient extends AuthorizedApiBase implements IMoveBookingClient {
|
|
542
543
|
private http;
|
|
543
544
|
private baseUrl;
|
|
544
545
|
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
545
546
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
546
547
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
547
548
|
});
|
|
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
|
-
|
|
555
|
-
protected
|
|
556
|
-
|
|
557
|
-
protected
|
|
558
|
-
|
|
559
|
-
protected
|
|
560
|
-
|
|
561
|
-
protected
|
|
562
|
-
|
|
563
|
-
|
|
549
|
+
listBookings(request: BookingRequestListDto): Promise<BookingListDto>;
|
|
550
|
+
protected processListBookings(response: Response): Promise<BookingListDto>;
|
|
551
|
+
getBooking(bookingId: string): Promise<BookingDto>;
|
|
552
|
+
protected processGetBooking(response: Response): Promise<BookingDto>;
|
|
553
|
+
updateBooking(bookingId: string, bookingRequest: BookingRequestDto): Promise<BookingDto>;
|
|
554
|
+
protected processUpdateBooking(response: Response): Promise<BookingDto>;
|
|
555
|
+
getWorkOrderBooking(workOrderId: string): Promise<BookingDto[]>;
|
|
556
|
+
protected processGetWorkOrderBooking(response: Response): Promise<BookingDto[]>;
|
|
557
|
+
createBooking(bookingRequest: BookingRequestDto): Promise<BookingDto>;
|
|
558
|
+
protected processCreateBooking(response: Response): Promise<BookingDto>;
|
|
559
|
+
cancelBooking(bookingUpdate: BookingUpdateDto): Promise<BookingDto>;
|
|
560
|
+
protected processCancelBooking(response: Response): Promise<BookingDto>;
|
|
561
|
+
startDelivery(bookingUpdate: BookingUpdateDto): Promise<BookingDto>;
|
|
562
|
+
protected processStartDelivery(response: Response): Promise<BookingDto>;
|
|
563
|
+
finishDelivery(bookingUpdate: BookingDeliveryUpdateDto): Promise<BookingDto>;
|
|
564
|
+
protected processFinishDelivery(response: Response): Promise<BookingDto>;
|
|
565
|
+
}
|
|
566
|
+
export interface IMoveLocationsClient {
|
|
564
567
|
searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | undefined): Promise<LocationDto[]>;
|
|
565
568
|
suggestionsLocations(workOrderId: string | null | undefined, locationKinds: LocationKindDto[] | undefined): Promise<LocationDto[]>;
|
|
566
569
|
}
|
|
567
|
-
export declare class
|
|
570
|
+
export declare class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocationsClient {
|
|
568
571
|
private http;
|
|
569
572
|
private baseUrl;
|
|
570
573
|
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
@@ -576,25 +579,28 @@ export declare class LocationsClient extends AuthorizedApiBase implements ILocat
|
|
|
576
579
|
suggestionsLocations(workOrderId: string | null | undefined, locationKinds: LocationKindDto[] | undefined): Promise<LocationDto[]>;
|
|
577
580
|
protected processSuggestionsLocations(response: Response): Promise<LocationDto[]>;
|
|
578
581
|
}
|
|
579
|
-
export interface
|
|
580
|
-
|
|
581
|
-
|
|
582
|
+
export interface IMoveTrackingClient {
|
|
583
|
+
getTrackingHistory(trackingId: string): Promise<TrackingHistoryDto>;
|
|
584
|
+
getWorkOrderTrackingHistory(workOrderId: string): Promise<TrackingWorkOrderDto>;
|
|
585
|
+
listWorkOrderTrackingHistory(workOrderIds: string[]): Promise<TrackingWorkOrderDto[]>;
|
|
582
586
|
createTrackingEvents(trackingUpdates: TrackingUpdateDto[]): Promise<void>;
|
|
583
587
|
createTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<void>;
|
|
584
588
|
deleteTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<void>;
|
|
585
589
|
createLabel(workOrderId: string, palletCount: number | undefined): Promise<FileResponse>;
|
|
586
590
|
}
|
|
587
|
-
export declare class
|
|
591
|
+
export declare class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
|
|
588
592
|
private http;
|
|
589
593
|
private baseUrl;
|
|
590
594
|
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
591
595
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
592
596
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
593
597
|
});
|
|
594
|
-
|
|
595
|
-
protected
|
|
596
|
-
|
|
597
|
-
protected
|
|
598
|
+
getTrackingHistory(trackingId: string): Promise<TrackingHistoryDto>;
|
|
599
|
+
protected processGetTrackingHistory(response: Response): Promise<TrackingHistoryDto>;
|
|
600
|
+
getWorkOrderTrackingHistory(workOrderId: string): Promise<TrackingWorkOrderDto>;
|
|
601
|
+
protected processGetWorkOrderTrackingHistory(response: Response): Promise<TrackingWorkOrderDto>;
|
|
602
|
+
listWorkOrderTrackingHistory(workOrderIds: string[]): Promise<TrackingWorkOrderDto[]>;
|
|
603
|
+
protected processListWorkOrderTrackingHistory(response: Response): Promise<TrackingWorkOrderDto[]>;
|
|
598
604
|
createTrackingEvents(trackingUpdates: TrackingUpdateDto[]): Promise<void>;
|
|
599
605
|
protected processCreateTrackingEvents(response: Response): Promise<void>;
|
|
600
606
|
createTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<void>;
|
|
@@ -604,10 +610,10 @@ export declare class TrackingClient extends AuthorizedApiBase implements ITracki
|
|
|
604
610
|
createLabel(workOrderId: string, palletCount: number | undefined): Promise<FileResponse>;
|
|
605
611
|
protected processCreateLabel(response: Response): Promise<FileResponse>;
|
|
606
612
|
}
|
|
607
|
-
export interface
|
|
613
|
+
export interface IMoveWorkOrdersClient {
|
|
608
614
|
searchWorkOrders(input: string | null | undefined): Promise<SearchWorkOrderDto[]>;
|
|
609
615
|
}
|
|
610
|
-
export declare class
|
|
616
|
+
export declare class MoveWorkOrdersClient extends AuthorizedApiBase implements IMoveWorkOrdersClient {
|
|
611
617
|
private http;
|
|
612
618
|
private baseUrl;
|
|
613
619
|
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
@@ -4076,46 +4082,63 @@ export interface IListTraceWorkordersRequest {
|
|
|
4076
4082
|
searchType?: SearchTypeDto | null;
|
|
4077
4083
|
continuationToken?: string | null;
|
|
4078
4084
|
}
|
|
4079
|
-
export declare class
|
|
4080
|
-
results:
|
|
4085
|
+
export declare class BookingListDto implements IBookingListDto {
|
|
4086
|
+
results: BookingDto[];
|
|
4081
4087
|
continuationToken?: string | null;
|
|
4082
|
-
constructor(data?:
|
|
4088
|
+
constructor(data?: IBookingListDto);
|
|
4083
4089
|
init(_data?: any): void;
|
|
4084
|
-
static fromJS(data: any):
|
|
4090
|
+
static fromJS(data: any): BookingListDto;
|
|
4085
4091
|
toJSON(data?: any): any;
|
|
4086
4092
|
}
|
|
4087
|
-
export interface
|
|
4088
|
-
results:
|
|
4093
|
+
export interface IBookingListDto {
|
|
4094
|
+
results: BookingDto[];
|
|
4089
4095
|
continuationToken?: string | null;
|
|
4090
4096
|
}
|
|
4091
|
-
export declare class
|
|
4097
|
+
export declare class BookingDto implements IBookingDto {
|
|
4092
4098
|
bookingId: string;
|
|
4093
4099
|
bookingType: BookingTypeDto;
|
|
4094
|
-
|
|
4100
|
+
status: BookingStatusDto;
|
|
4101
|
+
items: BookingItemDto[];
|
|
4095
4102
|
fromLocation: LocationDto;
|
|
4096
4103
|
toLocation: LocationDto;
|
|
4097
|
-
|
|
4104
|
+
created: Date;
|
|
4105
|
+
createdBy: string;
|
|
4106
|
+
createdById: string;
|
|
4107
|
+
updatedBy?: string | null;
|
|
4108
|
+
updatedById?: string | null;
|
|
4109
|
+
constructor(data?: IBookingDto);
|
|
4098
4110
|
init(_data?: any): void;
|
|
4099
|
-
static fromJS(data: any):
|
|
4111
|
+
static fromJS(data: any): BookingDto;
|
|
4100
4112
|
toJSON(data?: any): any;
|
|
4101
4113
|
}
|
|
4102
|
-
export interface
|
|
4114
|
+
export interface IBookingDto {
|
|
4103
4115
|
bookingId: string;
|
|
4104
4116
|
bookingType: BookingTypeDto;
|
|
4105
|
-
|
|
4117
|
+
status: BookingStatusDto;
|
|
4118
|
+
items: BookingItemDto[];
|
|
4106
4119
|
fromLocation: LocationDto;
|
|
4107
4120
|
toLocation: LocationDto;
|
|
4121
|
+
created: Date;
|
|
4122
|
+
createdBy: string;
|
|
4123
|
+
createdById: string;
|
|
4124
|
+
updatedBy?: string | null;
|
|
4125
|
+
updatedById?: string | null;
|
|
4108
4126
|
}
|
|
4109
4127
|
export type BookingTypeDto = "NormalTruck" | "LargeTruck" | "SideLoadingTruck";
|
|
4110
|
-
export
|
|
4128
|
+
export type BookingStatusDto = "Pending" | "Cancelled" | "InProgress" | "Delivered";
|
|
4129
|
+
export declare class BookingItemDto implements IBookingItemDto {
|
|
4111
4130
|
trackingId: string;
|
|
4112
|
-
|
|
4131
|
+
workOrderId: string;
|
|
4132
|
+
material?: string | null;
|
|
4133
|
+
constructor(data?: IBookingItemDto);
|
|
4113
4134
|
init(_data?: any): void;
|
|
4114
|
-
static fromJS(data: any):
|
|
4135
|
+
static fromJS(data: any): BookingItemDto;
|
|
4115
4136
|
toJSON(data?: any): any;
|
|
4116
4137
|
}
|
|
4117
|
-
export interface
|
|
4138
|
+
export interface IBookingItemDto {
|
|
4118
4139
|
trackingId: string;
|
|
4140
|
+
workOrderId: string;
|
|
4141
|
+
material?: string | null;
|
|
4119
4142
|
}
|
|
4120
4143
|
export declare class LocationDto implements ILocationDto {
|
|
4121
4144
|
locationId: string;
|
|
@@ -4230,7 +4253,8 @@ export declare class TrackingEventDto implements ITrackingEventDto {
|
|
|
4230
4253
|
id: number;
|
|
4231
4254
|
created: Date;
|
|
4232
4255
|
createdBy: string;
|
|
4233
|
-
|
|
4256
|
+
createdById: string;
|
|
4257
|
+
location?: LocationDto | null;
|
|
4234
4258
|
status: TrackingStatusDto;
|
|
4235
4259
|
bookingId?: string | null;
|
|
4236
4260
|
comment?: string | null;
|
|
@@ -4243,7 +4267,8 @@ export interface ITrackingEventDto {
|
|
|
4243
4267
|
id: number;
|
|
4244
4268
|
created: Date;
|
|
4245
4269
|
createdBy: string;
|
|
4246
|
-
|
|
4270
|
+
createdById: string;
|
|
4271
|
+
location?: LocationDto | null;
|
|
4247
4272
|
status: TrackingStatusDto;
|
|
4248
4273
|
bookingId?: string | null;
|
|
4249
4274
|
comment?: string | null;
|
|
@@ -4279,8 +4304,6 @@ export interface ITrackingUpdateDto {
|
|
|
4279
4304
|
}
|
|
4280
4305
|
export declare class TrackingHistoryUpdateDto implements ITrackingHistoryUpdateDto {
|
|
4281
4306
|
workOrderId: string;
|
|
4282
|
-
locationId: string;
|
|
4283
|
-
comment?: string | null;
|
|
4284
4307
|
constructor(data?: ITrackingHistoryUpdateDto);
|
|
4285
4308
|
init(_data?: any): void;
|
|
4286
4309
|
static fromJS(data: any): TrackingHistoryUpdateDto;
|
|
@@ -4288,11 +4311,10 @@ export declare class TrackingHistoryUpdateDto implements ITrackingHistoryUpdateD
|
|
|
4288
4311
|
}
|
|
4289
4312
|
export interface ITrackingHistoryUpdateDto {
|
|
4290
4313
|
workOrderId: string;
|
|
4291
|
-
locationId: string;
|
|
4292
|
-
comment?: string | null;
|
|
4293
4314
|
}
|
|
4294
4315
|
export declare class SearchWorkOrderDto implements ISearchWorkOrderDto {
|
|
4295
4316
|
workOrderId: string;
|
|
4317
|
+
trackingIds: string[];
|
|
4296
4318
|
partName?: string | null;
|
|
4297
4319
|
partNumber?: string | null;
|
|
4298
4320
|
constructor(data?: ISearchWorkOrderDto);
|
|
@@ -4302,6 +4324,7 @@ export declare class SearchWorkOrderDto implements ISearchWorkOrderDto {
|
|
|
4302
4324
|
}
|
|
4303
4325
|
export interface ISearchWorkOrderDto {
|
|
4304
4326
|
workOrderId: string;
|
|
4327
|
+
trackingIds: string[];
|
|
4305
4328
|
partName?: string | null;
|
|
4306
4329
|
partNumber?: string | null;
|
|
4307
4330
|
}
|
|
@@ -5172,6 +5195,7 @@ export interface IFactoryUtilizationDto {
|
|
|
5172
5195
|
export declare class UtilizationDto implements IUtilizationDto {
|
|
5173
5196
|
powerOn: PowerOnUtilizationV2Dto;
|
|
5174
5197
|
uptimeDowntimes: UptimeDowntimesDto;
|
|
5198
|
+
twentyFourSeven: TwentyFourSevenUtilizationDto;
|
|
5175
5199
|
constructor(data?: IUtilizationDto);
|
|
5176
5200
|
init(_data?: any): void;
|
|
5177
5201
|
static fromJS(data: any): UtilizationDto;
|
|
@@ -5180,6 +5204,7 @@ export declare class UtilizationDto implements IUtilizationDto {
|
|
|
5180
5204
|
export interface IUtilizationDto {
|
|
5181
5205
|
powerOn: PowerOnUtilizationV2Dto;
|
|
5182
5206
|
uptimeDowntimes: UptimeDowntimesDto;
|
|
5207
|
+
twentyFourSeven: TwentyFourSevenUtilizationDto;
|
|
5183
5208
|
}
|
|
5184
5209
|
export declare class PowerOnUtilizationV2Dto implements IPowerOnUtilizationV2Dto {
|
|
5185
5210
|
today?: number | null;
|
|
@@ -5223,6 +5248,7 @@ export declare class UptimeDowntimeDto implements IUptimeDowntimeDto {
|
|
|
5223
5248
|
uptimeInSeconds?: number | null;
|
|
5224
5249
|
downtimeInSeconds?: number | null;
|
|
5225
5250
|
powerOnTimeInSeconds?: number | null;
|
|
5251
|
+
twentyFourSevenTimeInSeconds?: number | null;
|
|
5226
5252
|
constructor(data?: IUptimeDowntimeDto);
|
|
5227
5253
|
init(_data?: any): void;
|
|
5228
5254
|
static fromJS(data: any): UptimeDowntimeDto;
|
|
@@ -5232,6 +5258,23 @@ export interface IUptimeDowntimeDto {
|
|
|
5232
5258
|
uptimeInSeconds?: number | null;
|
|
5233
5259
|
downtimeInSeconds?: number | null;
|
|
5234
5260
|
powerOnTimeInSeconds?: number | null;
|
|
5261
|
+
twentyFourSevenTimeInSeconds?: number | null;
|
|
5262
|
+
}
|
|
5263
|
+
export declare class TwentyFourSevenUtilizationDto implements ITwentyFourSevenUtilizationDto {
|
|
5264
|
+
sevenDays?: number | null;
|
|
5265
|
+
thirtyDays?: number | null;
|
|
5266
|
+
ninetyDays?: number | null;
|
|
5267
|
+
yearToDate?: number | null;
|
|
5268
|
+
constructor(data?: ITwentyFourSevenUtilizationDto);
|
|
5269
|
+
init(_data?: any): void;
|
|
5270
|
+
static fromJS(data: any): TwentyFourSevenUtilizationDto;
|
|
5271
|
+
toJSON(data?: any): any;
|
|
5272
|
+
}
|
|
5273
|
+
export interface ITwentyFourSevenUtilizationDto {
|
|
5274
|
+
sevenDays?: number | null;
|
|
5275
|
+
thirtyDays?: number | null;
|
|
5276
|
+
ninetyDays?: number | null;
|
|
5277
|
+
yearToDate?: number | null;
|
|
5235
5278
|
}
|
|
5236
5279
|
export declare class MachineGroupUtilizationDto implements IMachineGroupUtilizationDto {
|
|
5237
5280
|
name: string;
|