@ignos/api-client 20250528.0.11837 → 20250530.0.11847
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 +14 -0
- package/lib/ignosportal-api.js +92 -0
- package/package.json +1 -1
- package/src/ignosportal-api.ts +100 -0
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -1330,8 +1330,10 @@ export interface ICncSetupFixturesClient {
|
|
|
1330
1330
|
getFixtureLocationSuggestions(input: string | undefined, fixtureType: FixtureTypeDto | undefined): Promise<FixtureSuggestionDto[]>;
|
|
1331
1331
|
listFixtureAttachments(fixtureId: string): Promise<FileDto[]>;
|
|
1332
1332
|
uploadFixtureAttachment(fixtureId: string, attachment: UploadFixtureAttachmentDto): Promise<FileDto>;
|
|
1333
|
+
deleteFixtureAttachment(fixtureId: string, filename: string): Promise<void>;
|
|
1333
1334
|
listFixtureImages(fixtureId: string): Promise<ListFixtureImagesDto[]>;
|
|
1334
1335
|
uploadFixtureImage(fixtureId: string, attachment: UploadFixtureAttachmentDto): Promise<ListFixtureImagesDto>;
|
|
1336
|
+
deleteFixtureImage(fixtureId: string, filename: string): Promise<void>;
|
|
1335
1337
|
operationAddFixture(operationId: string, fixtureIds: string[]): Promise<CncMachineOperationDto>;
|
|
1336
1338
|
operationRemoveFixture(operationId: string, fixtureIds: string[]): Promise<CncMachineOperationDto>;
|
|
1337
1339
|
}
|
|
@@ -1358,10 +1360,14 @@ export declare class CncSetupFixturesClient extends AuthorizedApiBase implements
|
|
|
1358
1360
|
protected processListFixtureAttachments(response: Response): Promise<FileDto[]>;
|
|
1359
1361
|
uploadFixtureAttachment(fixtureId: string, attachment: UploadFixtureAttachmentDto): Promise<FileDto>;
|
|
1360
1362
|
protected processUploadFixtureAttachment(response: Response): Promise<FileDto>;
|
|
1363
|
+
deleteFixtureAttachment(fixtureId: string, filename: string): Promise<void>;
|
|
1364
|
+
protected processDeleteFixtureAttachment(response: Response): Promise<void>;
|
|
1361
1365
|
listFixtureImages(fixtureId: string): Promise<ListFixtureImagesDto[]>;
|
|
1362
1366
|
protected processListFixtureImages(response: Response): Promise<ListFixtureImagesDto[]>;
|
|
1363
1367
|
uploadFixtureImage(fixtureId: string, attachment: UploadFixtureAttachmentDto): Promise<ListFixtureImagesDto>;
|
|
1364
1368
|
protected processUploadFixtureImage(response: Response): Promise<ListFixtureImagesDto>;
|
|
1369
|
+
deleteFixtureImage(fixtureId: string, filename: string): Promise<void>;
|
|
1370
|
+
protected processDeleteFixtureImage(response: Response): Promise<void>;
|
|
1365
1371
|
operationAddFixture(operationId: string, fixtureIds: string[]): Promise<CncMachineOperationDto>;
|
|
1366
1372
|
protected processOperationAddFixture(response: Response): Promise<CncMachineOperationDto>;
|
|
1367
1373
|
operationRemoveFixture(operationId: string, fixtureIds: string[]): Promise<CncMachineOperationDto>;
|
|
@@ -9216,6 +9222,7 @@ export declare class BookingItemDto implements IBookingItemDto {
|
|
|
9216
9222
|
trackingId: string;
|
|
9217
9223
|
palletNumber: number;
|
|
9218
9224
|
comment?: string | null;
|
|
9225
|
+
category?: string | null;
|
|
9219
9226
|
constructor(data?: IBookingItemDto);
|
|
9220
9227
|
init(_data?: any): void;
|
|
9221
9228
|
static fromJS(data: any): BookingItemDto;
|
|
@@ -9225,6 +9232,7 @@ export interface IBookingItemDto {
|
|
|
9225
9232
|
trackingId: string;
|
|
9226
9233
|
palletNumber: number;
|
|
9227
9234
|
comment?: string | null;
|
|
9235
|
+
category?: string | null;
|
|
9228
9236
|
}
|
|
9229
9237
|
export declare class LocationDto implements ILocationDto {
|
|
9230
9238
|
locationId: string;
|
|
@@ -9457,6 +9465,9 @@ export declare class BookingGeneralRequestDto implements IBookingGeneralRequestD
|
|
|
9457
9465
|
toLocationId: string;
|
|
9458
9466
|
comment?: string | null;
|
|
9459
9467
|
itemCount: number;
|
|
9468
|
+
categoryBreakdown?: {
|
|
9469
|
+
[key: string]: number;
|
|
9470
|
+
} | null;
|
|
9460
9471
|
constructor(data?: IBookingGeneralRequestDto);
|
|
9461
9472
|
init(_data?: any): void;
|
|
9462
9473
|
static fromJS(data: any): BookingGeneralRequestDto;
|
|
@@ -9469,6 +9480,9 @@ export interface IBookingGeneralRequestDto {
|
|
|
9469
9480
|
toLocationId: string;
|
|
9470
9481
|
comment?: string | null;
|
|
9471
9482
|
itemCount: number;
|
|
9483
|
+
categoryBreakdown?: {
|
|
9484
|
+
[key: string]: number;
|
|
9485
|
+
} | null;
|
|
9472
9486
|
}
|
|
9473
9487
|
export declare class PreBookingResultItemDto implements IPreBookingResultItemDto {
|
|
9474
9488
|
parcelId?: string;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -11550,6 +11550,44 @@ export class CncSetupFixturesClient extends AuthorizedApiBase {
|
|
|
11550
11550
|
}
|
|
11551
11551
|
return Promise.resolve(null);
|
|
11552
11552
|
}
|
|
11553
|
+
deleteFixtureAttachment(fixtureId, filename) {
|
|
11554
|
+
let url_ = this.baseUrl + "/fixtures/{fixtureId}/attachments/{filename}";
|
|
11555
|
+
if (fixtureId === undefined || fixtureId === null)
|
|
11556
|
+
throw new Error("The parameter 'fixtureId' must be defined.");
|
|
11557
|
+
url_ = url_.replace("{fixtureId}", encodeURIComponent("" + fixtureId));
|
|
11558
|
+
if (filename === undefined || filename === null)
|
|
11559
|
+
throw new Error("The parameter 'filename' must be defined.");
|
|
11560
|
+
url_ = url_.replace("{filename}", encodeURIComponent("" + filename));
|
|
11561
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
11562
|
+
let options_ = {
|
|
11563
|
+
method: "DELETE",
|
|
11564
|
+
headers: {}
|
|
11565
|
+
};
|
|
11566
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
11567
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
11568
|
+
}).then((_response) => {
|
|
11569
|
+
return this.processDeleteFixtureAttachment(_response);
|
|
11570
|
+
});
|
|
11571
|
+
}
|
|
11572
|
+
processDeleteFixtureAttachment(response) {
|
|
11573
|
+
const status = response.status;
|
|
11574
|
+
let _headers = {};
|
|
11575
|
+
if (response.headers && response.headers.forEach) {
|
|
11576
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
11577
|
+
}
|
|
11578
|
+
;
|
|
11579
|
+
if (status === 204) {
|
|
11580
|
+
return response.text().then((_responseText) => {
|
|
11581
|
+
return;
|
|
11582
|
+
});
|
|
11583
|
+
}
|
|
11584
|
+
else if (status !== 200 && status !== 204) {
|
|
11585
|
+
return response.text().then((_responseText) => {
|
|
11586
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
11587
|
+
});
|
|
11588
|
+
}
|
|
11589
|
+
return Promise.resolve(null);
|
|
11590
|
+
}
|
|
11553
11591
|
listFixtureImages(fixtureId) {
|
|
11554
11592
|
let url_ = this.baseUrl + "/fixtures/{fixtureId}/images";
|
|
11555
11593
|
if (fixtureId === undefined || fixtureId === null)
|
|
@@ -11637,6 +11675,44 @@ export class CncSetupFixturesClient extends AuthorizedApiBase {
|
|
|
11637
11675
|
}
|
|
11638
11676
|
return Promise.resolve(null);
|
|
11639
11677
|
}
|
|
11678
|
+
deleteFixtureImage(fixtureId, filename) {
|
|
11679
|
+
let url_ = this.baseUrl + "/fixtures/{fixtureId}/images/{filename}";
|
|
11680
|
+
if (fixtureId === undefined || fixtureId === null)
|
|
11681
|
+
throw new Error("The parameter 'fixtureId' must be defined.");
|
|
11682
|
+
url_ = url_.replace("{fixtureId}", encodeURIComponent("" + fixtureId));
|
|
11683
|
+
if (filename === undefined || filename === null)
|
|
11684
|
+
throw new Error("The parameter 'filename' must be defined.");
|
|
11685
|
+
url_ = url_.replace("{filename}", encodeURIComponent("" + filename));
|
|
11686
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
11687
|
+
let options_ = {
|
|
11688
|
+
method: "DELETE",
|
|
11689
|
+
headers: {}
|
|
11690
|
+
};
|
|
11691
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
11692
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
11693
|
+
}).then((_response) => {
|
|
11694
|
+
return this.processDeleteFixtureImage(_response);
|
|
11695
|
+
});
|
|
11696
|
+
}
|
|
11697
|
+
processDeleteFixtureImage(response) {
|
|
11698
|
+
const status = response.status;
|
|
11699
|
+
let _headers = {};
|
|
11700
|
+
if (response.headers && response.headers.forEach) {
|
|
11701
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
11702
|
+
}
|
|
11703
|
+
;
|
|
11704
|
+
if (status === 204) {
|
|
11705
|
+
return response.text().then((_responseText) => {
|
|
11706
|
+
return;
|
|
11707
|
+
});
|
|
11708
|
+
}
|
|
11709
|
+
else if (status !== 200 && status !== 204) {
|
|
11710
|
+
return response.text().then((_responseText) => {
|
|
11711
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
11712
|
+
});
|
|
11713
|
+
}
|
|
11714
|
+
return Promise.resolve(null);
|
|
11715
|
+
}
|
|
11640
11716
|
operationAddFixture(operationId, fixtureIds) {
|
|
11641
11717
|
let url_ = this.baseUrl + "/fixtures/operation/{operationId}";
|
|
11642
11718
|
if (operationId === undefined || operationId === null)
|
|
@@ -35550,6 +35626,7 @@ export class BookingItemDto {
|
|
|
35550
35626
|
this.trackingId = _data["trackingId"];
|
|
35551
35627
|
this.palletNumber = _data["palletNumber"];
|
|
35552
35628
|
this.comment = _data["comment"];
|
|
35629
|
+
this.category = _data["category"];
|
|
35553
35630
|
}
|
|
35554
35631
|
}
|
|
35555
35632
|
static fromJS(data) {
|
|
@@ -35563,6 +35640,7 @@ export class BookingItemDto {
|
|
|
35563
35640
|
data["trackingId"] = this.trackingId;
|
|
35564
35641
|
data["palletNumber"] = this.palletNumber;
|
|
35565
35642
|
data["comment"] = this.comment;
|
|
35643
|
+
data["category"] = this.category;
|
|
35566
35644
|
return data;
|
|
35567
35645
|
}
|
|
35568
35646
|
}
|
|
@@ -36182,6 +36260,13 @@ export class BookingGeneralRequestDto {
|
|
|
36182
36260
|
this.toLocationId = _data["toLocationId"];
|
|
36183
36261
|
this.comment = _data["comment"];
|
|
36184
36262
|
this.itemCount = _data["itemCount"];
|
|
36263
|
+
if (_data["categoryBreakdown"]) {
|
|
36264
|
+
this.categoryBreakdown = {};
|
|
36265
|
+
for (let key in _data["categoryBreakdown"]) {
|
|
36266
|
+
if (_data["categoryBreakdown"].hasOwnProperty(key))
|
|
36267
|
+
this.categoryBreakdown[key] = _data["categoryBreakdown"][key];
|
|
36268
|
+
}
|
|
36269
|
+
}
|
|
36185
36270
|
}
|
|
36186
36271
|
}
|
|
36187
36272
|
static fromJS(data) {
|
|
@@ -36198,6 +36283,13 @@ export class BookingGeneralRequestDto {
|
|
|
36198
36283
|
data["toLocationId"] = this.toLocationId;
|
|
36199
36284
|
data["comment"] = this.comment;
|
|
36200
36285
|
data["itemCount"] = this.itemCount;
|
|
36286
|
+
if (this.categoryBreakdown) {
|
|
36287
|
+
data["categoryBreakdown"] = {};
|
|
36288
|
+
for (let key in this.categoryBreakdown) {
|
|
36289
|
+
if (this.categoryBreakdown.hasOwnProperty(key))
|
|
36290
|
+
data["categoryBreakdown"][key] = this.categoryBreakdown[key];
|
|
36291
|
+
}
|
|
36292
|
+
}
|
|
36201
36293
|
return data;
|
|
36202
36294
|
}
|
|
36203
36295
|
}
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -11949,10 +11949,14 @@ export interface ICncSetupFixturesClient {
|
|
|
11949
11949
|
|
|
11950
11950
|
uploadFixtureAttachment(fixtureId: string, attachment: UploadFixtureAttachmentDto): Promise<FileDto>;
|
|
11951
11951
|
|
|
11952
|
+
deleteFixtureAttachment(fixtureId: string, filename: string): Promise<void>;
|
|
11953
|
+
|
|
11952
11954
|
listFixtureImages(fixtureId: string): Promise<ListFixtureImagesDto[]>;
|
|
11953
11955
|
|
|
11954
11956
|
uploadFixtureImage(fixtureId: string, attachment: UploadFixtureAttachmentDto): Promise<ListFixtureImagesDto>;
|
|
11955
11957
|
|
|
11958
|
+
deleteFixtureImage(fixtureId: string, filename: string): Promise<void>;
|
|
11959
|
+
|
|
11956
11960
|
operationAddFixture(operationId: string, fixtureIds: string[]): Promise<CncMachineOperationDto>;
|
|
11957
11961
|
|
|
11958
11962
|
operationRemoveFixture(operationId: string, fixtureIds: string[]): Promise<CncMachineOperationDto>;
|
|
@@ -12314,6 +12318,44 @@ export class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSet
|
|
|
12314
12318
|
return Promise.resolve<FileDto>(null as any);
|
|
12315
12319
|
}
|
|
12316
12320
|
|
|
12321
|
+
deleteFixtureAttachment(fixtureId: string, filename: string): Promise<void> {
|
|
12322
|
+
let url_ = this.baseUrl + "/fixtures/{fixtureId}/attachments/{filename}";
|
|
12323
|
+
if (fixtureId === undefined || fixtureId === null)
|
|
12324
|
+
throw new Error("The parameter 'fixtureId' must be defined.");
|
|
12325
|
+
url_ = url_.replace("{fixtureId}", encodeURIComponent("" + fixtureId));
|
|
12326
|
+
if (filename === undefined || filename === null)
|
|
12327
|
+
throw new Error("The parameter 'filename' must be defined.");
|
|
12328
|
+
url_ = url_.replace("{filename}", encodeURIComponent("" + filename));
|
|
12329
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
12330
|
+
|
|
12331
|
+
let options_: RequestInit = {
|
|
12332
|
+
method: "DELETE",
|
|
12333
|
+
headers: {
|
|
12334
|
+
}
|
|
12335
|
+
};
|
|
12336
|
+
|
|
12337
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
12338
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
12339
|
+
}).then((_response: Response) => {
|
|
12340
|
+
return this.processDeleteFixtureAttachment(_response);
|
|
12341
|
+
});
|
|
12342
|
+
}
|
|
12343
|
+
|
|
12344
|
+
protected processDeleteFixtureAttachment(response: Response): Promise<void> {
|
|
12345
|
+
const status = response.status;
|
|
12346
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
12347
|
+
if (status === 204) {
|
|
12348
|
+
return response.text().then((_responseText) => {
|
|
12349
|
+
return;
|
|
12350
|
+
});
|
|
12351
|
+
} else if (status !== 200 && status !== 204) {
|
|
12352
|
+
return response.text().then((_responseText) => {
|
|
12353
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
12354
|
+
});
|
|
12355
|
+
}
|
|
12356
|
+
return Promise.resolve<void>(null as any);
|
|
12357
|
+
}
|
|
12358
|
+
|
|
12317
12359
|
listFixtureImages(fixtureId: string): Promise<ListFixtureImagesDto[]> {
|
|
12318
12360
|
let url_ = this.baseUrl + "/fixtures/{fixtureId}/images";
|
|
12319
12361
|
if (fixtureId === undefined || fixtureId === null)
|
|
@@ -12400,6 +12442,44 @@ export class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSet
|
|
|
12400
12442
|
return Promise.resolve<ListFixtureImagesDto>(null as any);
|
|
12401
12443
|
}
|
|
12402
12444
|
|
|
12445
|
+
deleteFixtureImage(fixtureId: string, filename: string): Promise<void> {
|
|
12446
|
+
let url_ = this.baseUrl + "/fixtures/{fixtureId}/images/{filename}";
|
|
12447
|
+
if (fixtureId === undefined || fixtureId === null)
|
|
12448
|
+
throw new Error("The parameter 'fixtureId' must be defined.");
|
|
12449
|
+
url_ = url_.replace("{fixtureId}", encodeURIComponent("" + fixtureId));
|
|
12450
|
+
if (filename === undefined || filename === null)
|
|
12451
|
+
throw new Error("The parameter 'filename' must be defined.");
|
|
12452
|
+
url_ = url_.replace("{filename}", encodeURIComponent("" + filename));
|
|
12453
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
12454
|
+
|
|
12455
|
+
let options_: RequestInit = {
|
|
12456
|
+
method: "DELETE",
|
|
12457
|
+
headers: {
|
|
12458
|
+
}
|
|
12459
|
+
};
|
|
12460
|
+
|
|
12461
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
12462
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
12463
|
+
}).then((_response: Response) => {
|
|
12464
|
+
return this.processDeleteFixtureImage(_response);
|
|
12465
|
+
});
|
|
12466
|
+
}
|
|
12467
|
+
|
|
12468
|
+
protected processDeleteFixtureImage(response: Response): Promise<void> {
|
|
12469
|
+
const status = response.status;
|
|
12470
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
12471
|
+
if (status === 204) {
|
|
12472
|
+
return response.text().then((_responseText) => {
|
|
12473
|
+
return;
|
|
12474
|
+
});
|
|
12475
|
+
} else if (status !== 200 && status !== 204) {
|
|
12476
|
+
return response.text().then((_responseText) => {
|
|
12477
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
12478
|
+
});
|
|
12479
|
+
}
|
|
12480
|
+
return Promise.resolve<void>(null as any);
|
|
12481
|
+
}
|
|
12482
|
+
|
|
12403
12483
|
operationAddFixture(operationId: string, fixtureIds: string[]): Promise<CncMachineOperationDto> {
|
|
12404
12484
|
let url_ = this.baseUrl + "/fixtures/operation/{operationId}";
|
|
12405
12485
|
if (operationId === undefined || operationId === null)
|
|
@@ -43598,6 +43678,7 @@ export class BookingItemDto implements IBookingItemDto {
|
|
|
43598
43678
|
trackingId!: string;
|
|
43599
43679
|
palletNumber!: number;
|
|
43600
43680
|
comment?: string | null;
|
|
43681
|
+
category?: string | null;
|
|
43601
43682
|
|
|
43602
43683
|
constructor(data?: IBookingItemDto) {
|
|
43603
43684
|
if (data) {
|
|
@@ -43613,6 +43694,7 @@ export class BookingItemDto implements IBookingItemDto {
|
|
|
43613
43694
|
this.trackingId = _data["trackingId"];
|
|
43614
43695
|
this.palletNumber = _data["palletNumber"];
|
|
43615
43696
|
this.comment = _data["comment"];
|
|
43697
|
+
this.category = _data["category"];
|
|
43616
43698
|
}
|
|
43617
43699
|
}
|
|
43618
43700
|
|
|
@@ -43628,6 +43710,7 @@ export class BookingItemDto implements IBookingItemDto {
|
|
|
43628
43710
|
data["trackingId"] = this.trackingId;
|
|
43629
43711
|
data["palletNumber"] = this.palletNumber;
|
|
43630
43712
|
data["comment"] = this.comment;
|
|
43713
|
+
data["category"] = this.category;
|
|
43631
43714
|
return data;
|
|
43632
43715
|
}
|
|
43633
43716
|
}
|
|
@@ -43636,6 +43719,7 @@ export interface IBookingItemDto {
|
|
|
43636
43719
|
trackingId: string;
|
|
43637
43720
|
palletNumber: number;
|
|
43638
43721
|
comment?: string | null;
|
|
43722
|
+
category?: string | null;
|
|
43639
43723
|
}
|
|
43640
43724
|
|
|
43641
43725
|
export class LocationDto implements ILocationDto {
|
|
@@ -44472,6 +44556,7 @@ export class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
|
|
|
44472
44556
|
toLocationId!: string;
|
|
44473
44557
|
comment?: string | null;
|
|
44474
44558
|
itemCount!: number;
|
|
44559
|
+
categoryBreakdown?: { [key: string]: number; } | null;
|
|
44475
44560
|
|
|
44476
44561
|
constructor(data?: IBookingGeneralRequestDto) {
|
|
44477
44562
|
if (data) {
|
|
@@ -44490,6 +44575,13 @@ export class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
|
|
|
44490
44575
|
this.toLocationId = _data["toLocationId"];
|
|
44491
44576
|
this.comment = _data["comment"];
|
|
44492
44577
|
this.itemCount = _data["itemCount"];
|
|
44578
|
+
if (_data["categoryBreakdown"]) {
|
|
44579
|
+
this.categoryBreakdown = {} as any;
|
|
44580
|
+
for (let key in _data["categoryBreakdown"]) {
|
|
44581
|
+
if (_data["categoryBreakdown"].hasOwnProperty(key))
|
|
44582
|
+
(<any>this.categoryBreakdown)![key] = _data["categoryBreakdown"][key];
|
|
44583
|
+
}
|
|
44584
|
+
}
|
|
44493
44585
|
}
|
|
44494
44586
|
}
|
|
44495
44587
|
|
|
@@ -44508,6 +44600,13 @@ export class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
|
|
|
44508
44600
|
data["toLocationId"] = this.toLocationId;
|
|
44509
44601
|
data["comment"] = this.comment;
|
|
44510
44602
|
data["itemCount"] = this.itemCount;
|
|
44603
|
+
if (this.categoryBreakdown) {
|
|
44604
|
+
data["categoryBreakdown"] = {};
|
|
44605
|
+
for (let key in this.categoryBreakdown) {
|
|
44606
|
+
if (this.categoryBreakdown.hasOwnProperty(key))
|
|
44607
|
+
(<any>data["categoryBreakdown"])[key] = (<any>this.categoryBreakdown)[key];
|
|
44608
|
+
}
|
|
44609
|
+
}
|
|
44511
44610
|
return data;
|
|
44512
44611
|
}
|
|
44513
44612
|
}
|
|
@@ -44519,6 +44618,7 @@ export interface IBookingGeneralRequestDto {
|
|
|
44519
44618
|
toLocationId: string;
|
|
44520
44619
|
comment?: string | null;
|
|
44521
44620
|
itemCount: number;
|
|
44621
|
+
categoryBreakdown?: { [key: string]: number; } | null;
|
|
44522
44622
|
}
|
|
44523
44623
|
|
|
44524
44624
|
export class PreBookingResultItemDto implements IPreBookingResultItemDto {
|