@ignos/api-client 20240528.0.9349 → 20240528.0.9355

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.
@@ -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>;
@@ -4089,8 +4092,8 @@ export declare class BookingResponseDto implements IBookingResponseDto {
4089
4092
  bookingId: string;
4090
4093
  bookingType: BookingTypeDto;
4091
4094
  items: BookingItemResponseDto[];
4092
- fromLocationId: string;
4093
- toLocationId: string;
4095
+ fromLocation: LocationDto;
4096
+ toLocation: LocationDto;
4094
4097
  constructor(data?: IBookingResponseDto);
4095
4098
  init(_data?: any): void;
4096
4099
  static fromJS(data: any): BookingResponseDto;
@@ -4100,8 +4103,8 @@ export interface IBookingResponseDto {
4100
4103
  bookingId: string;
4101
4104
  bookingType: BookingTypeDto;
4102
4105
  items: BookingItemResponseDto[];
4103
- fromLocationId: string;
4104
- toLocationId: string;
4106
+ fromLocation: LocationDto;
4107
+ toLocation: LocationDto;
4105
4108
  }
4106
4109
  export type BookingTypeDto = "NormalTruck" | "LargeTruck" | "SideLoadingTruck";
4107
4110
  export declare class BookingItemResponseDto implements IBookingItemResponseDto {
@@ -4114,6 +4117,23 @@ export declare class BookingItemResponseDto implements IBookingItemResponseDto {
4114
4117
  export interface IBookingItemResponseDto {
4115
4118
  trackingId: string;
4116
4119
  }
4120
+ export declare class LocationDto implements ILocationDto {
4121
+ locationId: string;
4122
+ locationName: string;
4123
+ kind: LocationKindDto;
4124
+ profile?: string | null;
4125
+ constructor(data?: ILocationDto);
4126
+ init(_data?: any): void;
4127
+ static fromJS(data: any): LocationDto;
4128
+ toJSON(data?: any): any;
4129
+ }
4130
+ export interface ILocationDto {
4131
+ locationId: string;
4132
+ locationName: string;
4133
+ kind: LocationKindDto;
4134
+ profile?: string | null;
4135
+ }
4136
+ export type LocationKindDto = "Warehouse" | "Zone" | "Location";
4117
4137
  export declare class BookingRequestListDto implements IBookingRequestListDto {
4118
4138
  continuationToken?: string | null;
4119
4139
  constructor(data?: IBookingRequestListDto);
@@ -4164,8 +4184,8 @@ export interface IBookingUpdateDto {
4164
4184
  }
4165
4185
  export declare class BookingDeliveryUpdateDto implements IBookingDeliveryUpdateDto {
4166
4186
  bookingId: string;
4167
- toLocationId?: string | null;
4168
4187
  comment?: string | null;
4188
+ deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
4169
4189
  constructor(data?: IBookingDeliveryUpdateDto);
4170
4190
  init(_data?: any): void;
4171
4191
  static fromJS(data: any): BookingDeliveryUpdateDto;
@@ -4173,26 +4193,23 @@ export declare class BookingDeliveryUpdateDto implements IBookingDeliveryUpdateD
4173
4193
  }
4174
4194
  export interface IBookingDeliveryUpdateDto {
4175
4195
  bookingId: string;
4176
- toLocationId?: string | null;
4177
4196
  comment?: string | null;
4197
+ deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
4178
4198
  }
4179
- export declare class LocationDto implements ILocationDto {
4180
- locationId: string;
4181
- locationName: string;
4182
- kind: LocationKindDto;
4183
- profile?: string | null;
4184
- constructor(data?: ILocationDto);
4199
+ export declare class BookingDeliveryExceptionDto implements IBookingDeliveryExceptionDto {
4200
+ trackingId: string;
4201
+ toLocationId?: string | null;
4202
+ comment?: string | null;
4203
+ constructor(data?: IBookingDeliveryExceptionDto);
4185
4204
  init(_data?: any): void;
4186
- static fromJS(data: any): LocationDto;
4205
+ static fromJS(data: any): BookingDeliveryExceptionDto;
4187
4206
  toJSON(data?: any): any;
4188
4207
  }
4189
- export interface ILocationDto {
4190
- locationId: string;
4191
- locationName: string;
4192
- kind: LocationKindDto;
4193
- profile?: string | null;
4208
+ export interface IBookingDeliveryExceptionDto {
4209
+ trackingId: string;
4210
+ toLocationId?: string | null;
4211
+ comment?: string | null;
4194
4212
  }
4195
- export type LocationKindDto = "Warehouse" | "Zone" | "Location";
4196
4213
  export declare class TrackingHistoryDto implements ITrackingHistoryDto {
4197
4214
  trackingId: string;
4198
4215
  palletNumber: number;
@@ -6042,6 +6059,20 @@ export interface IStartCamTransferToMachine {
6042
6059
  content: string;
6043
6060
  cncMachineId: string;
6044
6061
  }
6062
+ export declare class StartCamTransferToMachineFromTempUpload implements IStartCamTransferToMachineFromTempUpload {
6063
+ uploadKey: string;
6064
+ filename: string;
6065
+ cncMachineId: string;
6066
+ constructor(data?: IStartCamTransferToMachineFromTempUpload);
6067
+ init(_data?: any): void;
6068
+ static fromJS(data: any): StartCamTransferToMachineFromTempUpload;
6069
+ toJSON(data?: any): any;
6070
+ }
6071
+ export interface IStartCamTransferToMachineFromTempUpload {
6072
+ uploadKey: string;
6073
+ filename: string;
6074
+ cncMachineId: string;
6075
+ }
6045
6076
  export declare class AgentConfigDto implements IAgentConfigDto {
6046
6077
  serviceBusNamespace: string;
6047
6078
  queueName: string;
@@ -7807,6 +7807,46 @@ export class CncFileTransferClient extends AuthorizedApiBase {
7807
7807
  }
7808
7808
  return Promise.resolve(null);
7809
7809
  }
7810
+ startCamTransferToMachineFromTempUpload(request) {
7811
+ let url_ = this.baseUrl + "/cncfiletransfer/transfers/tempcamfile";
7812
+ url_ = url_.replace(/[?&]$/, "");
7813
+ const content_ = JSON.stringify(request);
7814
+ let options_ = {
7815
+ body: content_,
7816
+ method: "POST",
7817
+ headers: {
7818
+ "Content-Type": "application/json",
7819
+ "Accept": "application/json"
7820
+ }
7821
+ };
7822
+ return this.transformOptions(options_).then(transformedOptions_ => {
7823
+ return this.http.fetch(url_, transformedOptions_);
7824
+ }).then((_response) => {
7825
+ return this.processStartCamTransferToMachineFromTempUpload(_response);
7826
+ });
7827
+ }
7828
+ processStartCamTransferToMachineFromTempUpload(response) {
7829
+ const status = response.status;
7830
+ let _headers = {};
7831
+ if (response.headers && response.headers.forEach) {
7832
+ response.headers.forEach((v, k) => _headers[k] = v);
7833
+ }
7834
+ ;
7835
+ if (status === 200) {
7836
+ return response.text().then((_responseText) => {
7837
+ let result200 = null;
7838
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7839
+ result200 = CncMachineTransferDto.fromJS(resultData200);
7840
+ return result200;
7841
+ });
7842
+ }
7843
+ else if (status !== 200 && status !== 204) {
7844
+ return response.text().then((_responseText) => {
7845
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7846
+ });
7847
+ }
7848
+ return Promise.resolve(null);
7849
+ }
7810
7850
  }
7811
7851
  export class CncSetupAgentClient extends AuthorizedApiBase {
7812
7852
  constructor(configuration, baseUrl, http) {
@@ -22142,6 +22182,8 @@ export class BookingResponseDto {
22142
22182
  }
22143
22183
  if (!data) {
22144
22184
  this.items = [];
22185
+ this.fromLocation = new LocationDto();
22186
+ this.toLocation = new LocationDto();
22145
22187
  }
22146
22188
  }
22147
22189
  init(_data) {
@@ -22153,8 +22195,8 @@ export class BookingResponseDto {
22153
22195
  for (let item of _data["items"])
22154
22196
  this.items.push(BookingItemResponseDto.fromJS(item));
22155
22197
  }
22156
- this.fromLocationId = _data["fromLocationId"];
22157
- this.toLocationId = _data["toLocationId"];
22198
+ this.fromLocation = _data["fromLocation"] ? LocationDto.fromJS(_data["fromLocation"]) : new LocationDto();
22199
+ this.toLocation = _data["toLocation"] ? LocationDto.fromJS(_data["toLocation"]) : new LocationDto();
22158
22200
  }
22159
22201
  }
22160
22202
  static fromJS(data) {
@@ -22172,8 +22214,8 @@ export class BookingResponseDto {
22172
22214
  for (let item of this.items)
22173
22215
  data["items"].push(item.toJSON());
22174
22216
  }
22175
- data["fromLocationId"] = this.fromLocationId;
22176
- data["toLocationId"] = this.toLocationId;
22217
+ data["fromLocation"] = this.fromLocation ? this.fromLocation.toJSON() : undefined;
22218
+ data["toLocation"] = this.toLocation ? this.toLocation.toJSON() : undefined;
22177
22219
  return data;
22178
22220
  }
22179
22221
  }
@@ -22203,6 +22245,38 @@ export class BookingItemResponseDto {
22203
22245
  return data;
22204
22246
  }
22205
22247
  }
22248
+ export class LocationDto {
22249
+ constructor(data) {
22250
+ if (data) {
22251
+ for (var property in data) {
22252
+ if (data.hasOwnProperty(property))
22253
+ this[property] = data[property];
22254
+ }
22255
+ }
22256
+ }
22257
+ init(_data) {
22258
+ if (_data) {
22259
+ this.locationId = _data["locationId"];
22260
+ this.locationName = _data["locationName"];
22261
+ this.kind = _data["kind"];
22262
+ this.profile = _data["profile"];
22263
+ }
22264
+ }
22265
+ static fromJS(data) {
22266
+ data = typeof data === 'object' ? data : {};
22267
+ let result = new LocationDto();
22268
+ result.init(data);
22269
+ return result;
22270
+ }
22271
+ toJSON(data) {
22272
+ data = typeof data === 'object' ? data : {};
22273
+ data["locationId"] = this.locationId;
22274
+ data["locationName"] = this.locationName;
22275
+ data["kind"] = this.kind;
22276
+ data["profile"] = this.profile;
22277
+ return data;
22278
+ }
22279
+ }
22206
22280
  export class BookingRequestListDto {
22207
22281
  constructor(data) {
22208
22282
  if (data) {
@@ -22338,8 +22412,12 @@ export class BookingDeliveryUpdateDto {
22338
22412
  init(_data) {
22339
22413
  if (_data) {
22340
22414
  this.bookingId = _data["bookingId"];
22341
- this.toLocationId = _data["toLocationId"];
22342
22415
  this.comment = _data["comment"];
22416
+ if (Array.isArray(_data["deliveryExceptions"])) {
22417
+ this.deliveryExceptions = [];
22418
+ for (let item of _data["deliveryExceptions"])
22419
+ this.deliveryExceptions.push(BookingDeliveryExceptionDto.fromJS(item));
22420
+ }
22343
22421
  }
22344
22422
  }
22345
22423
  static fromJS(data) {
@@ -22351,12 +22429,16 @@ export class BookingDeliveryUpdateDto {
22351
22429
  toJSON(data) {
22352
22430
  data = typeof data === 'object' ? data : {};
22353
22431
  data["bookingId"] = this.bookingId;
22354
- data["toLocationId"] = this.toLocationId;
22355
22432
  data["comment"] = this.comment;
22433
+ if (Array.isArray(this.deliveryExceptions)) {
22434
+ data["deliveryExceptions"] = [];
22435
+ for (let item of this.deliveryExceptions)
22436
+ data["deliveryExceptions"].push(item.toJSON());
22437
+ }
22356
22438
  return data;
22357
22439
  }
22358
22440
  }
22359
- export class LocationDto {
22441
+ export class BookingDeliveryExceptionDto {
22360
22442
  constructor(data) {
22361
22443
  if (data) {
22362
22444
  for (var property in data) {
@@ -22367,24 +22449,22 @@ export class LocationDto {
22367
22449
  }
22368
22450
  init(_data) {
22369
22451
  if (_data) {
22370
- this.locationId = _data["locationId"];
22371
- this.locationName = _data["locationName"];
22372
- this.kind = _data["kind"];
22373
- this.profile = _data["profile"];
22452
+ this.trackingId = _data["trackingId"];
22453
+ this.toLocationId = _data["toLocationId"];
22454
+ this.comment = _data["comment"];
22374
22455
  }
22375
22456
  }
22376
22457
  static fromJS(data) {
22377
22458
  data = typeof data === 'object' ? data : {};
22378
- let result = new LocationDto();
22459
+ let result = new BookingDeliveryExceptionDto();
22379
22460
  result.init(data);
22380
22461
  return result;
22381
22462
  }
22382
22463
  toJSON(data) {
22383
22464
  data = typeof data === 'object' ? data : {};
22384
- data["locationId"] = this.locationId;
22385
- data["locationName"] = this.locationName;
22386
- data["kind"] = this.kind;
22387
- data["profile"] = this.profile;
22465
+ data["trackingId"] = this.trackingId;
22466
+ data["toLocationId"] = this.toLocationId;
22467
+ data["comment"] = this.comment;
22388
22468
  return data;
22389
22469
  }
22390
22470
  }
@@ -26160,6 +26240,36 @@ export class StartCamTransferToMachine {
26160
26240
  return data;
26161
26241
  }
26162
26242
  }
26243
+ export class StartCamTransferToMachineFromTempUpload {
26244
+ constructor(data) {
26245
+ if (data) {
26246
+ for (var property in data) {
26247
+ if (data.hasOwnProperty(property))
26248
+ this[property] = data[property];
26249
+ }
26250
+ }
26251
+ }
26252
+ init(_data) {
26253
+ if (_data) {
26254
+ this.uploadKey = _data["uploadKey"];
26255
+ this.filename = _data["filename"];
26256
+ this.cncMachineId = _data["cncMachineId"];
26257
+ }
26258
+ }
26259
+ static fromJS(data) {
26260
+ data = typeof data === 'object' ? data : {};
26261
+ let result = new StartCamTransferToMachineFromTempUpload();
26262
+ result.init(data);
26263
+ return result;
26264
+ }
26265
+ toJSON(data) {
26266
+ data = typeof data === 'object' ? data : {};
26267
+ data["uploadKey"] = this.uploadKey;
26268
+ data["filename"] = this.filename;
26269
+ data["cncMachineId"] = this.cncMachineId;
26270
+ return data;
26271
+ }
26272
+ }
26163
26273
  export class AgentConfigDto {
26164
26274
  constructor(data) {
26165
26275
  if (data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20240528.0.9349",
3
+ "version": "20240528.0.9355",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -8124,6 +8124,8 @@ export interface ICncFileTransferClient {
8124
8124
  getCamTransfer(path: string | null | undefined): Promise<CamTransferDto>;
8125
8125
 
8126
8126
  startCamTransferToMachine(request: StartCamTransferToMachine): Promise<CncMachineTransferDto>;
8127
+
8128
+ startCamTransferToMachineFromTempUpload(request: StartCamTransferToMachineFromTempUpload): Promise<CncMachineTransferDto>;
8127
8129
  }
8128
8130
 
8129
8131
  export class CncFileTransferClient extends AuthorizedApiBase implements ICncFileTransferClient {
@@ -8371,6 +8373,46 @@ export class CncFileTransferClient extends AuthorizedApiBase implements ICncFile
8371
8373
  }
8372
8374
  return Promise.resolve<CncMachineTransferDto>(null as any);
8373
8375
  }
8376
+
8377
+ startCamTransferToMachineFromTempUpload(request: StartCamTransferToMachineFromTempUpload): Promise<CncMachineTransferDto> {
8378
+ let url_ = this.baseUrl + "/cncfiletransfer/transfers/tempcamfile";
8379
+ url_ = url_.replace(/[?&]$/, "");
8380
+
8381
+ const content_ = JSON.stringify(request);
8382
+
8383
+ let options_: RequestInit = {
8384
+ body: content_,
8385
+ method: "POST",
8386
+ headers: {
8387
+ "Content-Type": "application/json",
8388
+ "Accept": "application/json"
8389
+ }
8390
+ };
8391
+
8392
+ return this.transformOptions(options_).then(transformedOptions_ => {
8393
+ return this.http.fetch(url_, transformedOptions_);
8394
+ }).then((_response: Response) => {
8395
+ return this.processStartCamTransferToMachineFromTempUpload(_response);
8396
+ });
8397
+ }
8398
+
8399
+ protected processStartCamTransferToMachineFromTempUpload(response: Response): Promise<CncMachineTransferDto> {
8400
+ const status = response.status;
8401
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
8402
+ if (status === 200) {
8403
+ return response.text().then((_responseText) => {
8404
+ let result200: any = null;
8405
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8406
+ result200 = CncMachineTransferDto.fromJS(resultData200);
8407
+ return result200;
8408
+ });
8409
+ } else if (status !== 200 && status !== 204) {
8410
+ return response.text().then((_responseText) => {
8411
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8412
+ });
8413
+ }
8414
+ return Promise.resolve<CncMachineTransferDto>(null as any);
8415
+ }
8374
8416
  }
8375
8417
 
8376
8418
  export interface ICncSetupAgentClient {
@@ -25263,8 +25305,8 @@ export class BookingResponseDto implements IBookingResponseDto {
25263
25305
  bookingId!: string;
25264
25306
  bookingType!: BookingTypeDto;
25265
25307
  items!: BookingItemResponseDto[];
25266
- fromLocationId!: string;
25267
- toLocationId!: string;
25308
+ fromLocation!: LocationDto;
25309
+ toLocation!: LocationDto;
25268
25310
 
25269
25311
  constructor(data?: IBookingResponseDto) {
25270
25312
  if (data) {
@@ -25275,6 +25317,8 @@ export class BookingResponseDto implements IBookingResponseDto {
25275
25317
  }
25276
25318
  if (!data) {
25277
25319
  this.items = [];
25320
+ this.fromLocation = new LocationDto();
25321
+ this.toLocation = new LocationDto();
25278
25322
  }
25279
25323
  }
25280
25324
 
@@ -25287,8 +25331,8 @@ export class BookingResponseDto implements IBookingResponseDto {
25287
25331
  for (let item of _data["items"])
25288
25332
  this.items!.push(BookingItemResponseDto.fromJS(item));
25289
25333
  }
25290
- this.fromLocationId = _data["fromLocationId"];
25291
- this.toLocationId = _data["toLocationId"];
25334
+ this.fromLocation = _data["fromLocation"] ? LocationDto.fromJS(_data["fromLocation"]) : new LocationDto();
25335
+ this.toLocation = _data["toLocation"] ? LocationDto.fromJS(_data["toLocation"]) : new LocationDto();
25292
25336
  }
25293
25337
  }
25294
25338
 
@@ -25308,8 +25352,8 @@ export class BookingResponseDto implements IBookingResponseDto {
25308
25352
  for (let item of this.items)
25309
25353
  data["items"].push(item.toJSON());
25310
25354
  }
25311
- data["fromLocationId"] = this.fromLocationId;
25312
- data["toLocationId"] = this.toLocationId;
25355
+ data["fromLocation"] = this.fromLocation ? this.fromLocation.toJSON() : <any>undefined;
25356
+ data["toLocation"] = this.toLocation ? this.toLocation.toJSON() : <any>undefined;
25313
25357
  return data;
25314
25358
  }
25315
25359
  }
@@ -25318,8 +25362,8 @@ export interface IBookingResponseDto {
25318
25362
  bookingId: string;
25319
25363
  bookingType: BookingTypeDto;
25320
25364
  items: BookingItemResponseDto[];
25321
- fromLocationId: string;
25322
- toLocationId: string;
25365
+ fromLocation: LocationDto;
25366
+ toLocation: LocationDto;
25323
25367
  }
25324
25368
 
25325
25369
  export type BookingTypeDto = "NormalTruck" | "LargeTruck" | "SideLoadingTruck";
@@ -25360,6 +25404,56 @@ export interface IBookingItemResponseDto {
25360
25404
  trackingId: string;
25361
25405
  }
25362
25406
 
25407
+ export class LocationDto implements ILocationDto {
25408
+ locationId!: string;
25409
+ locationName!: string;
25410
+ kind!: LocationKindDto;
25411
+ profile?: string | null;
25412
+
25413
+ constructor(data?: ILocationDto) {
25414
+ if (data) {
25415
+ for (var property in data) {
25416
+ if (data.hasOwnProperty(property))
25417
+ (<any>this)[property] = (<any>data)[property];
25418
+ }
25419
+ }
25420
+ }
25421
+
25422
+ init(_data?: any) {
25423
+ if (_data) {
25424
+ this.locationId = _data["locationId"];
25425
+ this.locationName = _data["locationName"];
25426
+ this.kind = _data["kind"];
25427
+ this.profile = _data["profile"];
25428
+ }
25429
+ }
25430
+
25431
+ static fromJS(data: any): LocationDto {
25432
+ data = typeof data === 'object' ? data : {};
25433
+ let result = new LocationDto();
25434
+ result.init(data);
25435
+ return result;
25436
+ }
25437
+
25438
+ toJSON(data?: any) {
25439
+ data = typeof data === 'object' ? data : {};
25440
+ data["locationId"] = this.locationId;
25441
+ data["locationName"] = this.locationName;
25442
+ data["kind"] = this.kind;
25443
+ data["profile"] = this.profile;
25444
+ return data;
25445
+ }
25446
+ }
25447
+
25448
+ export interface ILocationDto {
25449
+ locationId: string;
25450
+ locationName: string;
25451
+ kind: LocationKindDto;
25452
+ profile?: string | null;
25453
+ }
25454
+
25455
+ export type LocationKindDto = "Warehouse" | "Zone" | "Location";
25456
+
25363
25457
  export class BookingRequestListDto implements IBookingRequestListDto {
25364
25458
  continuationToken?: string | null;
25365
25459
 
@@ -25533,8 +25627,8 @@ export interface IBookingUpdateDto {
25533
25627
 
25534
25628
  export class BookingDeliveryUpdateDto implements IBookingDeliveryUpdateDto {
25535
25629
  bookingId!: string;
25536
- toLocationId?: string | null;
25537
25630
  comment?: string | null;
25631
+ deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
25538
25632
 
25539
25633
  constructor(data?: IBookingDeliveryUpdateDto) {
25540
25634
  if (data) {
@@ -25548,8 +25642,12 @@ export class BookingDeliveryUpdateDto implements IBookingDeliveryUpdateDto {
25548
25642
  init(_data?: any) {
25549
25643
  if (_data) {
25550
25644
  this.bookingId = _data["bookingId"];
25551
- this.toLocationId = _data["toLocationId"];
25552
25645
  this.comment = _data["comment"];
25646
+ if (Array.isArray(_data["deliveryExceptions"])) {
25647
+ this.deliveryExceptions = [] as any;
25648
+ for (let item of _data["deliveryExceptions"])
25649
+ this.deliveryExceptions!.push(BookingDeliveryExceptionDto.fromJS(item));
25650
+ }
25553
25651
  }
25554
25652
  }
25555
25653
 
@@ -25563,25 +25661,28 @@ export class BookingDeliveryUpdateDto implements IBookingDeliveryUpdateDto {
25563
25661
  toJSON(data?: any) {
25564
25662
  data = typeof data === 'object' ? data : {};
25565
25663
  data["bookingId"] = this.bookingId;
25566
- data["toLocationId"] = this.toLocationId;
25567
25664
  data["comment"] = this.comment;
25665
+ if (Array.isArray(this.deliveryExceptions)) {
25666
+ data["deliveryExceptions"] = [];
25667
+ for (let item of this.deliveryExceptions)
25668
+ data["deliveryExceptions"].push(item.toJSON());
25669
+ }
25568
25670
  return data;
25569
25671
  }
25570
25672
  }
25571
25673
 
25572
25674
  export interface IBookingDeliveryUpdateDto {
25573
25675
  bookingId: string;
25574
- toLocationId?: string | null;
25575
25676
  comment?: string | null;
25677
+ deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
25576
25678
  }
25577
25679
 
25578
- export class LocationDto implements ILocationDto {
25579
- locationId!: string;
25580
- locationName!: string;
25581
- kind!: LocationKindDto;
25582
- profile?: string | null;
25680
+ export class BookingDeliveryExceptionDto implements IBookingDeliveryExceptionDto {
25681
+ trackingId!: string;
25682
+ toLocationId?: string | null;
25683
+ comment?: string | null;
25583
25684
 
25584
- constructor(data?: ILocationDto) {
25685
+ constructor(data?: IBookingDeliveryExceptionDto) {
25585
25686
  if (data) {
25586
25687
  for (var property in data) {
25587
25688
  if (data.hasOwnProperty(property))
@@ -25592,39 +25693,34 @@ export class LocationDto implements ILocationDto {
25592
25693
 
25593
25694
  init(_data?: any) {
25594
25695
  if (_data) {
25595
- this.locationId = _data["locationId"];
25596
- this.locationName = _data["locationName"];
25597
- this.kind = _data["kind"];
25598
- this.profile = _data["profile"];
25696
+ this.trackingId = _data["trackingId"];
25697
+ this.toLocationId = _data["toLocationId"];
25698
+ this.comment = _data["comment"];
25599
25699
  }
25600
25700
  }
25601
25701
 
25602
- static fromJS(data: any): LocationDto {
25702
+ static fromJS(data: any): BookingDeliveryExceptionDto {
25603
25703
  data = typeof data === 'object' ? data : {};
25604
- let result = new LocationDto();
25704
+ let result = new BookingDeliveryExceptionDto();
25605
25705
  result.init(data);
25606
25706
  return result;
25607
25707
  }
25608
25708
 
25609
25709
  toJSON(data?: any) {
25610
25710
  data = typeof data === 'object' ? data : {};
25611
- data["locationId"] = this.locationId;
25612
- data["locationName"] = this.locationName;
25613
- data["kind"] = this.kind;
25614
- data["profile"] = this.profile;
25711
+ data["trackingId"] = this.trackingId;
25712
+ data["toLocationId"] = this.toLocationId;
25713
+ data["comment"] = this.comment;
25615
25714
  return data;
25616
25715
  }
25617
25716
  }
25618
25717
 
25619
- export interface ILocationDto {
25620
- locationId: string;
25621
- locationName: string;
25622
- kind: LocationKindDto;
25623
- profile?: string | null;
25718
+ export interface IBookingDeliveryExceptionDto {
25719
+ trackingId: string;
25720
+ toLocationId?: string | null;
25721
+ comment?: string | null;
25624
25722
  }
25625
25723
 
25626
- export type LocationKindDto = "Warehouse" | "Zone" | "Location";
25627
-
25628
25724
  export class TrackingHistoryDto implements ITrackingHistoryDto {
25629
25725
  trackingId!: string;
25630
25726
  palletNumber!: number;
@@ -31263,6 +31359,50 @@ export interface IStartCamTransferToMachine {
31263
31359
  cncMachineId: string;
31264
31360
  }
31265
31361
 
31362
+ export class StartCamTransferToMachineFromTempUpload implements IStartCamTransferToMachineFromTempUpload {
31363
+ uploadKey!: string;
31364
+ filename!: string;
31365
+ cncMachineId!: string;
31366
+
31367
+ constructor(data?: IStartCamTransferToMachineFromTempUpload) {
31368
+ if (data) {
31369
+ for (var property in data) {
31370
+ if (data.hasOwnProperty(property))
31371
+ (<any>this)[property] = (<any>data)[property];
31372
+ }
31373
+ }
31374
+ }
31375
+
31376
+ init(_data?: any) {
31377
+ if (_data) {
31378
+ this.uploadKey = _data["uploadKey"];
31379
+ this.filename = _data["filename"];
31380
+ this.cncMachineId = _data["cncMachineId"];
31381
+ }
31382
+ }
31383
+
31384
+ static fromJS(data: any): StartCamTransferToMachineFromTempUpload {
31385
+ data = typeof data === 'object' ? data : {};
31386
+ let result = new StartCamTransferToMachineFromTempUpload();
31387
+ result.init(data);
31388
+ return result;
31389
+ }
31390
+
31391
+ toJSON(data?: any) {
31392
+ data = typeof data === 'object' ? data : {};
31393
+ data["uploadKey"] = this.uploadKey;
31394
+ data["filename"] = this.filename;
31395
+ data["cncMachineId"] = this.cncMachineId;
31396
+ return data;
31397
+ }
31398
+ }
31399
+
31400
+ export interface IStartCamTransferToMachineFromTempUpload {
31401
+ uploadKey: string;
31402
+ filename: string;
31403
+ cncMachineId: string;
31404
+ }
31405
+
31266
31406
  export class AgentConfigDto implements IAgentConfigDto {
31267
31407
  serviceBusNamespace!: string;
31268
31408
  queueName!: string;