@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.
@@ -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 IBookingClient {
533
- listBookings(request: BookingRequestListDto): Promise<BookingResponseListDto>;
534
- getBooking(bookingId: string): Promise<BookingResponseDto>;
535
- updateBooking(bookingId: string, bookingRequest: BookingRequestDto): Promise<void>;
536
- createBooking(bookingRequest: BookingRequestDto): Promise<void>;
537
- cancelBooking(bookingUpdate: BookingUpdateDto): Promise<void>;
538
- startDelivery(bookingUpdate: BookingUpdateDto): Promise<void>;
539
- finishDelivery(bookingUpdate: BookingDeliveryUpdateDto): Promise<void>;
540
- }
541
- export declare class BookingClient extends AuthorizedApiBase implements IBookingClient {
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<BookingResponseListDto>;
549
- protected processListBookings(response: Response): Promise<BookingResponseListDto>;
550
- getBooking(bookingId: string): Promise<BookingResponseDto>;
551
- protected processGetBooking(response: Response): Promise<BookingResponseDto>;
552
- updateBooking(bookingId: string, bookingRequest: BookingRequestDto): Promise<void>;
553
- protected processUpdateBooking(response: Response): Promise<void>;
554
- createBooking(bookingRequest: BookingRequestDto): Promise<void>;
555
- protected processCreateBooking(response: Response): Promise<void>;
556
- cancelBooking(bookingUpdate: BookingUpdateDto): Promise<void>;
557
- protected processCancelBooking(response: Response): Promise<void>;
558
- startDelivery(bookingUpdate: BookingUpdateDto): Promise<void>;
559
- protected processStartDelivery(response: Response): Promise<void>;
560
- finishDelivery(bookingUpdate: BookingDeliveryUpdateDto): Promise<void>;
561
- protected processFinishDelivery(response: Response): Promise<void>;
562
- }
563
- export interface ILocationsClient {
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 LocationsClient extends AuthorizedApiBase implements ILocationsClient {
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 ITrackingClient {
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 TrackingClient extends AuthorizedApiBase implements ITrackingClient {
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 IWorkOrdersClient {
607
+ export interface IMoveWorkOrdersClient {
608
608
  searchWorkOrders(input: string | null | undefined): Promise<SearchWorkOrderDto[]>;
609
609
  }
610
- export declare class WorkOrdersClient extends AuthorizedApiBase implements IWorkOrdersClient {
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 BookingResponseListDto implements IBookingResponseListDto {
4077
- results: BookingResponseDto[];
4079
+ export declare class BookingListDto implements IBookingListDto {
4080
+ results: BookingDto[];
4078
4081
  continuationToken?: string | null;
4079
- constructor(data?: IBookingResponseListDto);
4082
+ constructor(data?: IBookingListDto);
4080
4083
  init(_data?: any): void;
4081
- static fromJS(data: any): BookingResponseListDto;
4084
+ static fromJS(data: any): BookingListDto;
4082
4085
  toJSON(data?: any): any;
4083
4086
  }
4084
- export interface IBookingResponseListDto {
4085
- results: BookingResponseDto[];
4087
+ export interface IBookingListDto {
4088
+ results: BookingDto[];
4086
4089
  continuationToken?: string | null;
4087
4090
  }
4088
- export declare class BookingResponseDto implements IBookingResponseDto {
4091
+ export declare class BookingDto implements IBookingDto {
4089
4092
  bookingId: string;
4090
4093
  bookingType: BookingTypeDto;
4091
- items: BookingItemResponseDto[];
4092
- fromLocationId: string;
4093
- toLocationId: string;
4094
- constructor(data?: IBookingResponseDto);
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): BookingResponseDto;
4105
+ static fromJS(data: any): BookingDto;
4097
4106
  toJSON(data?: any): any;
4098
4107
  }
4099
- export interface IBookingResponseDto {
4108
+ export interface IBookingDto {
4100
4109
  bookingId: string;
4101
4110
  bookingType: BookingTypeDto;
4102
- items: BookingItemResponseDto[];
4103
- fromLocationId: string;
4104
- toLocationId: string;
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 declare class BookingItemResponseDto implements IBookingItemResponseDto {
4122
+ export type BookingStatusDto = "Pending" | "Cancelled" | "InProgress" | "Delivered";
4123
+ export declare class BookingItemDto implements IBookingItemDto {
4108
4124
  trackingId: string;
4109
- constructor(data?: IBookingItemResponseDto);
4125
+ workOrderId: string;
4126
+ material?: string | null;
4127
+ constructor(data?: IBookingItemDto);
4110
4128
  init(_data?: any): void;
4111
- static fromJS(data: any): BookingItemResponseDto;
4129
+ static fromJS(data: any): BookingItemDto;
4112
4130
  toJSON(data?: any): any;
4113
4131
  }
4114
- export interface IBookingItemResponseDto {
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 LocationDto implements ILocationDto {
4180
- locationId: string;
4181
- locationName: string;
4182
- kind: LocationKindDto;
4183
- profile?: string | null;
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): LocationDto;
4222
+ static fromJS(data: any): BookingDeliveryExceptionDto;
4187
4223
  toJSON(data?: any): any;
4188
4224
  }
4189
- export interface ILocationDto {
4190
- locationId: string;
4191
- locationName: string;
4192
- kind: LocationKindDto;
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;