@ignos/api-client 20240801.0.9898 → 20240805.0.9915
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 +33 -14
- package/lib/ignosportal-api.js +102 -22
- package/package.json +1 -1
- package/src/ignosportal-api.ts +137 -39
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -1566,6 +1566,7 @@ export interface IMoveBookingClient {
|
|
|
1566
1566
|
updateBooking(bookingRequest: BookingUpdateDto): Promise<BookingDto>;
|
|
1567
1567
|
createBookingTransport(bookingRequest: BookingTransportRequestDto): Promise<BookingDto>;
|
|
1568
1568
|
createBookingGeneral(bookingRequest: BookingGeneralRequestDto): Promise<BookingDto>;
|
|
1569
|
+
updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
|
|
1569
1570
|
cancelBooking(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
|
|
1570
1571
|
revertBooking(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
|
|
1571
1572
|
startDelivery(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
|
|
@@ -1590,6 +1591,8 @@ export declare class MoveBookingClient extends AuthorizedApiBase implements IMov
|
|
|
1590
1591
|
protected processCreateBookingTransport(response: Response): Promise<BookingDto>;
|
|
1591
1592
|
createBookingGeneral(bookingRequest: BookingGeneralRequestDto): Promise<BookingDto>;
|
|
1592
1593
|
protected processCreateBookingGeneral(response: Response): Promise<BookingDto>;
|
|
1594
|
+
updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
|
|
1595
|
+
protected processUpdateBookingStatus(response: Response): Promise<BookingDto>;
|
|
1593
1596
|
cancelBooking(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
|
|
1594
1597
|
protected processCancelBooking(response: Response): Promise<BookingDto>;
|
|
1595
1598
|
revertBooking(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
|
|
@@ -8174,6 +8177,7 @@ export declare class PickListSuggestionDto implements IPickListSuggestionDto {
|
|
|
8174
8177
|
lot: string;
|
|
8175
8178
|
consumedAutomatically: boolean;
|
|
8176
8179
|
requiresBatchTracing: boolean;
|
|
8180
|
+
requiresSerialTracing: boolean;
|
|
8177
8181
|
proposedQuantity: number;
|
|
8178
8182
|
remainingQuantity: number;
|
|
8179
8183
|
suggestedStartedQuantity?: InventoryDto | null;
|
|
@@ -8202,6 +8206,7 @@ export interface IPickListSuggestionDto {
|
|
|
8202
8206
|
lot: string;
|
|
8203
8207
|
consumedAutomatically: boolean;
|
|
8204
8208
|
requiresBatchTracing: boolean;
|
|
8209
|
+
requiresSerialTracing: boolean;
|
|
8205
8210
|
proposedQuantity: number;
|
|
8206
8211
|
remainingQuantity: number;
|
|
8207
8212
|
suggestedStartedQuantity?: InventoryDto | null;
|
|
@@ -9186,26 +9191,18 @@ export interface IBookingGeneralRequestDto {
|
|
|
9186
9191
|
comment?: string | null;
|
|
9187
9192
|
itemCount: number;
|
|
9188
9193
|
}
|
|
9189
|
-
export declare class
|
|
9190
|
-
bookingId: string;
|
|
9191
|
-
constructor(data?: IBookingUpdateStatusDto);
|
|
9192
|
-
init(_data?: any): void;
|
|
9193
|
-
static fromJS(data: any): BookingUpdateStatusDto;
|
|
9194
|
-
toJSON(data?: any): any;
|
|
9195
|
-
}
|
|
9196
|
-
export interface IBookingUpdateStatusDto {
|
|
9197
|
-
bookingId: string;
|
|
9198
|
-
}
|
|
9199
|
-
export declare class BookingDeliveryUpdateDto implements IBookingDeliveryUpdateDto {
|
|
9194
|
+
export declare class BookingStatusUpdateDto implements IBookingStatusUpdateDto {
|
|
9200
9195
|
bookingId: string;
|
|
9196
|
+
status: BookingStatusDto;
|
|
9201
9197
|
deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
|
|
9202
|
-
constructor(data?:
|
|
9198
|
+
constructor(data?: IBookingStatusUpdateDto);
|
|
9203
9199
|
init(_data?: any): void;
|
|
9204
|
-
static fromJS(data: any):
|
|
9200
|
+
static fromJS(data: any): BookingStatusUpdateDto;
|
|
9205
9201
|
toJSON(data?: any): any;
|
|
9206
9202
|
}
|
|
9207
|
-
export interface
|
|
9203
|
+
export interface IBookingStatusUpdateDto {
|
|
9208
9204
|
bookingId: string;
|
|
9205
|
+
status: BookingStatusDto;
|
|
9209
9206
|
deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
|
|
9210
9207
|
}
|
|
9211
9208
|
export declare class BookingDeliveryExceptionDto implements IBookingDeliveryExceptionDto {
|
|
@@ -9222,6 +9219,28 @@ export interface IBookingDeliveryExceptionDto {
|
|
|
9222
9219
|
toLocationId?: string | null;
|
|
9223
9220
|
comment?: string | null;
|
|
9224
9221
|
}
|
|
9222
|
+
export declare class BookingUpdateStatusDto implements IBookingUpdateStatusDto {
|
|
9223
|
+
bookingId: string;
|
|
9224
|
+
constructor(data?: IBookingUpdateStatusDto);
|
|
9225
|
+
init(_data?: any): void;
|
|
9226
|
+
static fromJS(data: any): BookingUpdateStatusDto;
|
|
9227
|
+
toJSON(data?: any): any;
|
|
9228
|
+
}
|
|
9229
|
+
export interface IBookingUpdateStatusDto {
|
|
9230
|
+
bookingId: string;
|
|
9231
|
+
}
|
|
9232
|
+
export declare class BookingDeliveryUpdateDto implements IBookingDeliveryUpdateDto {
|
|
9233
|
+
bookingId: string;
|
|
9234
|
+
deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
|
|
9235
|
+
constructor(data?: IBookingDeliveryUpdateDto);
|
|
9236
|
+
init(_data?: any): void;
|
|
9237
|
+
static fromJS(data: any): BookingDeliveryUpdateDto;
|
|
9238
|
+
toJSON(data?: any): any;
|
|
9239
|
+
}
|
|
9240
|
+
export interface IBookingDeliveryUpdateDto {
|
|
9241
|
+
bookingId: string;
|
|
9242
|
+
deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
|
|
9243
|
+
}
|
|
9225
9244
|
export declare class LocationSuggestionsDto implements ILocationSuggestionsDto {
|
|
9226
9245
|
items: LocationSuggestionsItemDto[];
|
|
9227
9246
|
locationKindFilter?: LocationKindDto[] | null;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -12994,6 +12994,46 @@ export class MoveBookingClient extends AuthorizedApiBase {
|
|
|
12994
12994
|
}
|
|
12995
12995
|
return Promise.resolve(null);
|
|
12996
12996
|
}
|
|
12997
|
+
updateBookingStatus(bookingUpdate) {
|
|
12998
|
+
let url_ = this.baseUrl + "/move/booking/updatestatus";
|
|
12999
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
13000
|
+
const content_ = JSON.stringify(bookingUpdate);
|
|
13001
|
+
let options_ = {
|
|
13002
|
+
body: content_,
|
|
13003
|
+
method: "PUT",
|
|
13004
|
+
headers: {
|
|
13005
|
+
"Content-Type": "application/json",
|
|
13006
|
+
"Accept": "application/json"
|
|
13007
|
+
}
|
|
13008
|
+
};
|
|
13009
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
13010
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
13011
|
+
}).then((_response) => {
|
|
13012
|
+
return this.processUpdateBookingStatus(_response);
|
|
13013
|
+
});
|
|
13014
|
+
}
|
|
13015
|
+
processUpdateBookingStatus(response) {
|
|
13016
|
+
const status = response.status;
|
|
13017
|
+
let _headers = {};
|
|
13018
|
+
if (response.headers && response.headers.forEach) {
|
|
13019
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
13020
|
+
}
|
|
13021
|
+
;
|
|
13022
|
+
if (status === 200) {
|
|
13023
|
+
return response.text().then((_responseText) => {
|
|
13024
|
+
let result200 = null;
|
|
13025
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
13026
|
+
result200 = BookingDto.fromJS(resultData200);
|
|
13027
|
+
return result200;
|
|
13028
|
+
});
|
|
13029
|
+
}
|
|
13030
|
+
else if (status !== 200 && status !== 204) {
|
|
13031
|
+
return response.text().then((_responseText) => {
|
|
13032
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
13033
|
+
});
|
|
13034
|
+
}
|
|
13035
|
+
return Promise.resolve(null);
|
|
13036
|
+
}
|
|
12997
13037
|
cancelBooking(bookingUpdate) {
|
|
12998
13038
|
let url_ = this.baseUrl + "/move/booking/cancel";
|
|
12999
13039
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -30897,6 +30937,7 @@ export class PickListSuggestionDto {
|
|
|
30897
30937
|
this.lot = _data["lot"];
|
|
30898
30938
|
this.consumedAutomatically = _data["consumedAutomatically"];
|
|
30899
30939
|
this.requiresBatchTracing = _data["requiresBatchTracing"];
|
|
30940
|
+
this.requiresSerialTracing = _data["requiresSerialTracing"];
|
|
30900
30941
|
this.proposedQuantity = _data["proposedQuantity"];
|
|
30901
30942
|
this.remainingQuantity = _data["remainingQuantity"];
|
|
30902
30943
|
this.suggestedStartedQuantity = _data["suggestedStartedQuantity"] ? InventoryDto.fromJS(_data["suggestedStartedQuantity"]) : undefined;
|
|
@@ -30937,6 +30978,7 @@ export class PickListSuggestionDto {
|
|
|
30937
30978
|
data["lot"] = this.lot;
|
|
30938
30979
|
data["consumedAutomatically"] = this.consumedAutomatically;
|
|
30939
30980
|
data["requiresBatchTracing"] = this.requiresBatchTracing;
|
|
30981
|
+
data["requiresSerialTracing"] = this.requiresSerialTracing;
|
|
30940
30982
|
data["proposedQuantity"] = this.proposedQuantity;
|
|
30941
30983
|
data["remainingQuantity"] = this.remainingQuantity;
|
|
30942
30984
|
data["suggestedStartedQuantity"] = this.suggestedStartedQuantity ? this.suggestedStartedQuantity.toJSON() : undefined;
|
|
@@ -33052,7 +33094,7 @@ export class BookingGeneralRequestDto {
|
|
|
33052
33094
|
return data;
|
|
33053
33095
|
}
|
|
33054
33096
|
}
|
|
33055
|
-
export class
|
|
33097
|
+
export class BookingStatusUpdateDto {
|
|
33056
33098
|
constructor(data) {
|
|
33057
33099
|
if (data) {
|
|
33058
33100
|
for (var property in data) {
|
|
@@ -33064,21 +33106,33 @@ export class BookingUpdateStatusDto {
|
|
|
33064
33106
|
init(_data) {
|
|
33065
33107
|
if (_data) {
|
|
33066
33108
|
this.bookingId = _data["bookingId"];
|
|
33109
|
+
this.status = _data["status"];
|
|
33110
|
+
if (Array.isArray(_data["deliveryExceptions"])) {
|
|
33111
|
+
this.deliveryExceptions = [];
|
|
33112
|
+
for (let item of _data["deliveryExceptions"])
|
|
33113
|
+
this.deliveryExceptions.push(BookingDeliveryExceptionDto.fromJS(item));
|
|
33114
|
+
}
|
|
33067
33115
|
}
|
|
33068
33116
|
}
|
|
33069
33117
|
static fromJS(data) {
|
|
33070
33118
|
data = typeof data === 'object' ? data : {};
|
|
33071
|
-
let result = new
|
|
33119
|
+
let result = new BookingStatusUpdateDto();
|
|
33072
33120
|
result.init(data);
|
|
33073
33121
|
return result;
|
|
33074
33122
|
}
|
|
33075
33123
|
toJSON(data) {
|
|
33076
33124
|
data = typeof data === 'object' ? data : {};
|
|
33077
33125
|
data["bookingId"] = this.bookingId;
|
|
33126
|
+
data["status"] = this.status;
|
|
33127
|
+
if (Array.isArray(this.deliveryExceptions)) {
|
|
33128
|
+
data["deliveryExceptions"] = [];
|
|
33129
|
+
for (let item of this.deliveryExceptions)
|
|
33130
|
+
data["deliveryExceptions"].push(item.toJSON());
|
|
33131
|
+
}
|
|
33078
33132
|
return data;
|
|
33079
33133
|
}
|
|
33080
33134
|
}
|
|
33081
|
-
export class
|
|
33135
|
+
export class BookingDeliveryExceptionDto {
|
|
33082
33136
|
constructor(data) {
|
|
33083
33137
|
if (data) {
|
|
33084
33138
|
for (var property in data) {
|
|
@@ -33089,32 +33143,52 @@ export class BookingDeliveryUpdateDto {
|
|
|
33089
33143
|
}
|
|
33090
33144
|
init(_data) {
|
|
33091
33145
|
if (_data) {
|
|
33092
|
-
this.
|
|
33093
|
-
|
|
33094
|
-
|
|
33095
|
-
|
|
33096
|
-
|
|
33146
|
+
this.trackingId = _data["trackingId"];
|
|
33147
|
+
this.toLocationId = _data["toLocationId"];
|
|
33148
|
+
this.comment = _data["comment"];
|
|
33149
|
+
}
|
|
33150
|
+
}
|
|
33151
|
+
static fromJS(data) {
|
|
33152
|
+
data = typeof data === 'object' ? data : {};
|
|
33153
|
+
let result = new BookingDeliveryExceptionDto();
|
|
33154
|
+
result.init(data);
|
|
33155
|
+
return result;
|
|
33156
|
+
}
|
|
33157
|
+
toJSON(data) {
|
|
33158
|
+
data = typeof data === 'object' ? data : {};
|
|
33159
|
+
data["trackingId"] = this.trackingId;
|
|
33160
|
+
data["toLocationId"] = this.toLocationId;
|
|
33161
|
+
data["comment"] = this.comment;
|
|
33162
|
+
return data;
|
|
33163
|
+
}
|
|
33164
|
+
}
|
|
33165
|
+
export class BookingUpdateStatusDto {
|
|
33166
|
+
constructor(data) {
|
|
33167
|
+
if (data) {
|
|
33168
|
+
for (var property in data) {
|
|
33169
|
+
if (data.hasOwnProperty(property))
|
|
33170
|
+
this[property] = data[property];
|
|
33097
33171
|
}
|
|
33098
33172
|
}
|
|
33099
33173
|
}
|
|
33174
|
+
init(_data) {
|
|
33175
|
+
if (_data) {
|
|
33176
|
+
this.bookingId = _data["bookingId"];
|
|
33177
|
+
}
|
|
33178
|
+
}
|
|
33100
33179
|
static fromJS(data) {
|
|
33101
33180
|
data = typeof data === 'object' ? data : {};
|
|
33102
|
-
let result = new
|
|
33181
|
+
let result = new BookingUpdateStatusDto();
|
|
33103
33182
|
result.init(data);
|
|
33104
33183
|
return result;
|
|
33105
33184
|
}
|
|
33106
33185
|
toJSON(data) {
|
|
33107
33186
|
data = typeof data === 'object' ? data : {};
|
|
33108
33187
|
data["bookingId"] = this.bookingId;
|
|
33109
|
-
if (Array.isArray(this.deliveryExceptions)) {
|
|
33110
|
-
data["deliveryExceptions"] = [];
|
|
33111
|
-
for (let item of this.deliveryExceptions)
|
|
33112
|
-
data["deliveryExceptions"].push(item.toJSON());
|
|
33113
|
-
}
|
|
33114
33188
|
return data;
|
|
33115
33189
|
}
|
|
33116
33190
|
}
|
|
33117
|
-
export class
|
|
33191
|
+
export class BookingDeliveryUpdateDto {
|
|
33118
33192
|
constructor(data) {
|
|
33119
33193
|
if (data) {
|
|
33120
33194
|
for (var property in data) {
|
|
@@ -33125,22 +33199,28 @@ export class BookingDeliveryExceptionDto {
|
|
|
33125
33199
|
}
|
|
33126
33200
|
init(_data) {
|
|
33127
33201
|
if (_data) {
|
|
33128
|
-
this.
|
|
33129
|
-
|
|
33130
|
-
|
|
33202
|
+
this.bookingId = _data["bookingId"];
|
|
33203
|
+
if (Array.isArray(_data["deliveryExceptions"])) {
|
|
33204
|
+
this.deliveryExceptions = [];
|
|
33205
|
+
for (let item of _data["deliveryExceptions"])
|
|
33206
|
+
this.deliveryExceptions.push(BookingDeliveryExceptionDto.fromJS(item));
|
|
33207
|
+
}
|
|
33131
33208
|
}
|
|
33132
33209
|
}
|
|
33133
33210
|
static fromJS(data) {
|
|
33134
33211
|
data = typeof data === 'object' ? data : {};
|
|
33135
|
-
let result = new
|
|
33212
|
+
let result = new BookingDeliveryUpdateDto();
|
|
33136
33213
|
result.init(data);
|
|
33137
33214
|
return result;
|
|
33138
33215
|
}
|
|
33139
33216
|
toJSON(data) {
|
|
33140
33217
|
data = typeof data === 'object' ? data : {};
|
|
33141
|
-
data["
|
|
33142
|
-
|
|
33143
|
-
|
|
33218
|
+
data["bookingId"] = this.bookingId;
|
|
33219
|
+
if (Array.isArray(this.deliveryExceptions)) {
|
|
33220
|
+
data["deliveryExceptions"] = [];
|
|
33221
|
+
for (let item of this.deliveryExceptions)
|
|
33222
|
+
data["deliveryExceptions"].push(item.toJSON());
|
|
33223
|
+
}
|
|
33144
33224
|
return data;
|
|
33145
33225
|
}
|
|
33146
33226
|
}
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -13632,6 +13632,8 @@ export interface IMoveBookingClient {
|
|
|
13632
13632
|
|
|
13633
13633
|
createBookingGeneral(bookingRequest: BookingGeneralRequestDto): Promise<BookingDto>;
|
|
13634
13634
|
|
|
13635
|
+
updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
|
|
13636
|
+
|
|
13635
13637
|
cancelBooking(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
|
|
13636
13638
|
|
|
13637
13639
|
revertBooking(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto>;
|
|
@@ -13894,6 +13896,46 @@ export class MoveBookingClient extends AuthorizedApiBase implements IMoveBooking
|
|
|
13894
13896
|
return Promise.resolve<BookingDto>(null as any);
|
|
13895
13897
|
}
|
|
13896
13898
|
|
|
13899
|
+
updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto> {
|
|
13900
|
+
let url_ = this.baseUrl + "/move/booking/updatestatus";
|
|
13901
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
13902
|
+
|
|
13903
|
+
const content_ = JSON.stringify(bookingUpdate);
|
|
13904
|
+
|
|
13905
|
+
let options_: RequestInit = {
|
|
13906
|
+
body: content_,
|
|
13907
|
+
method: "PUT",
|
|
13908
|
+
headers: {
|
|
13909
|
+
"Content-Type": "application/json",
|
|
13910
|
+
"Accept": "application/json"
|
|
13911
|
+
}
|
|
13912
|
+
};
|
|
13913
|
+
|
|
13914
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
13915
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
13916
|
+
}).then((_response: Response) => {
|
|
13917
|
+
return this.processUpdateBookingStatus(_response);
|
|
13918
|
+
});
|
|
13919
|
+
}
|
|
13920
|
+
|
|
13921
|
+
protected processUpdateBookingStatus(response: Response): Promise<BookingDto> {
|
|
13922
|
+
const status = response.status;
|
|
13923
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
13924
|
+
if (status === 200) {
|
|
13925
|
+
return response.text().then((_responseText) => {
|
|
13926
|
+
let result200: any = null;
|
|
13927
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
13928
|
+
result200 = BookingDto.fromJS(resultData200);
|
|
13929
|
+
return result200;
|
|
13930
|
+
});
|
|
13931
|
+
} else if (status !== 200 && status !== 204) {
|
|
13932
|
+
return response.text().then((_responseText) => {
|
|
13933
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
13934
|
+
});
|
|
13935
|
+
}
|
|
13936
|
+
return Promise.resolve<BookingDto>(null as any);
|
|
13937
|
+
}
|
|
13938
|
+
|
|
13897
13939
|
cancelBooking(bookingUpdate: BookingUpdateStatusDto): Promise<BookingDto> {
|
|
13898
13940
|
let url_ = this.baseUrl + "/move/booking/cancel";
|
|
13899
13941
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -38048,6 +38090,7 @@ export class PickListSuggestionDto implements IPickListSuggestionDto {
|
|
|
38048
38090
|
lot!: string;
|
|
38049
38091
|
consumedAutomatically!: boolean;
|
|
38050
38092
|
requiresBatchTracing!: boolean;
|
|
38093
|
+
requiresSerialTracing!: boolean;
|
|
38051
38094
|
proposedQuantity!: number;
|
|
38052
38095
|
remainingQuantity!: number;
|
|
38053
38096
|
suggestedStartedQuantity?: InventoryDto | null;
|
|
@@ -38087,6 +38130,7 @@ export class PickListSuggestionDto implements IPickListSuggestionDto {
|
|
|
38087
38130
|
this.lot = _data["lot"];
|
|
38088
38131
|
this.consumedAutomatically = _data["consumedAutomatically"];
|
|
38089
38132
|
this.requiresBatchTracing = _data["requiresBatchTracing"];
|
|
38133
|
+
this.requiresSerialTracing = _data["requiresSerialTracing"];
|
|
38090
38134
|
this.proposedQuantity = _data["proposedQuantity"];
|
|
38091
38135
|
this.remainingQuantity = _data["remainingQuantity"];
|
|
38092
38136
|
this.suggestedStartedQuantity = _data["suggestedStartedQuantity"] ? InventoryDto.fromJS(_data["suggestedStartedQuantity"]) : <any>undefined;
|
|
@@ -38129,6 +38173,7 @@ export class PickListSuggestionDto implements IPickListSuggestionDto {
|
|
|
38129
38173
|
data["lot"] = this.lot;
|
|
38130
38174
|
data["consumedAutomatically"] = this.consumedAutomatically;
|
|
38131
38175
|
data["requiresBatchTracing"] = this.requiresBatchTracing;
|
|
38176
|
+
data["requiresSerialTracing"] = this.requiresSerialTracing;
|
|
38132
38177
|
data["proposedQuantity"] = this.proposedQuantity;
|
|
38133
38178
|
data["remainingQuantity"] = this.remainingQuantity;
|
|
38134
38179
|
data["suggestedStartedQuantity"] = this.suggestedStartedQuantity ? this.suggestedStartedQuantity.toJSON() : <any>undefined;
|
|
@@ -38164,6 +38209,7 @@ export interface IPickListSuggestionDto {
|
|
|
38164
38209
|
lot: string;
|
|
38165
38210
|
consumedAutomatically: boolean;
|
|
38166
38211
|
requiresBatchTracing: boolean;
|
|
38212
|
+
requiresSerialTracing: boolean;
|
|
38167
38213
|
proposedQuantity: number;
|
|
38168
38214
|
remainingQuantity: number;
|
|
38169
38215
|
suggestedStartedQuantity?: InventoryDto | null;
|
|
@@ -41258,10 +41304,12 @@ export interface IBookingGeneralRequestDto {
|
|
|
41258
41304
|
itemCount: number;
|
|
41259
41305
|
}
|
|
41260
41306
|
|
|
41261
|
-
export class
|
|
41307
|
+
export class BookingStatusUpdateDto implements IBookingStatusUpdateDto {
|
|
41262
41308
|
bookingId!: string;
|
|
41309
|
+
status!: BookingStatusDto;
|
|
41310
|
+
deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
|
|
41263
41311
|
|
|
41264
|
-
constructor(data?:
|
|
41312
|
+
constructor(data?: IBookingStatusUpdateDto) {
|
|
41265
41313
|
if (data) {
|
|
41266
41314
|
for (var property in data) {
|
|
41267
41315
|
if (data.hasOwnProperty(property))
|
|
@@ -41273,12 +41321,18 @@ export class BookingUpdateStatusDto implements IBookingUpdateStatusDto {
|
|
|
41273
41321
|
init(_data?: any) {
|
|
41274
41322
|
if (_data) {
|
|
41275
41323
|
this.bookingId = _data["bookingId"];
|
|
41324
|
+
this.status = _data["status"];
|
|
41325
|
+
if (Array.isArray(_data["deliveryExceptions"])) {
|
|
41326
|
+
this.deliveryExceptions = [] as any;
|
|
41327
|
+
for (let item of _data["deliveryExceptions"])
|
|
41328
|
+
this.deliveryExceptions!.push(BookingDeliveryExceptionDto.fromJS(item));
|
|
41329
|
+
}
|
|
41276
41330
|
}
|
|
41277
41331
|
}
|
|
41278
41332
|
|
|
41279
|
-
static fromJS(data: any):
|
|
41333
|
+
static fromJS(data: any): BookingStatusUpdateDto {
|
|
41280
41334
|
data = typeof data === 'object' ? data : {};
|
|
41281
|
-
let result = new
|
|
41335
|
+
let result = new BookingStatusUpdateDto();
|
|
41282
41336
|
result.init(data);
|
|
41283
41337
|
return result;
|
|
41284
41338
|
}
|
|
@@ -41286,19 +41340,70 @@ export class BookingUpdateStatusDto implements IBookingUpdateStatusDto {
|
|
|
41286
41340
|
toJSON(data?: any) {
|
|
41287
41341
|
data = typeof data === 'object' ? data : {};
|
|
41288
41342
|
data["bookingId"] = this.bookingId;
|
|
41343
|
+
data["status"] = this.status;
|
|
41344
|
+
if (Array.isArray(this.deliveryExceptions)) {
|
|
41345
|
+
data["deliveryExceptions"] = [];
|
|
41346
|
+
for (let item of this.deliveryExceptions)
|
|
41347
|
+
data["deliveryExceptions"].push(item.toJSON());
|
|
41348
|
+
}
|
|
41289
41349
|
return data;
|
|
41290
41350
|
}
|
|
41291
41351
|
}
|
|
41292
41352
|
|
|
41293
|
-
export interface
|
|
41353
|
+
export interface IBookingStatusUpdateDto {
|
|
41294
41354
|
bookingId: string;
|
|
41355
|
+
status: BookingStatusDto;
|
|
41356
|
+
deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
|
|
41295
41357
|
}
|
|
41296
41358
|
|
|
41297
|
-
export class
|
|
41359
|
+
export class BookingDeliveryExceptionDto implements IBookingDeliveryExceptionDto {
|
|
41360
|
+
trackingId!: string;
|
|
41361
|
+
toLocationId?: string | null;
|
|
41362
|
+
comment?: string | null;
|
|
41363
|
+
|
|
41364
|
+
constructor(data?: IBookingDeliveryExceptionDto) {
|
|
41365
|
+
if (data) {
|
|
41366
|
+
for (var property in data) {
|
|
41367
|
+
if (data.hasOwnProperty(property))
|
|
41368
|
+
(<any>this)[property] = (<any>data)[property];
|
|
41369
|
+
}
|
|
41370
|
+
}
|
|
41371
|
+
}
|
|
41372
|
+
|
|
41373
|
+
init(_data?: any) {
|
|
41374
|
+
if (_data) {
|
|
41375
|
+
this.trackingId = _data["trackingId"];
|
|
41376
|
+
this.toLocationId = _data["toLocationId"];
|
|
41377
|
+
this.comment = _data["comment"];
|
|
41378
|
+
}
|
|
41379
|
+
}
|
|
41380
|
+
|
|
41381
|
+
static fromJS(data: any): BookingDeliveryExceptionDto {
|
|
41382
|
+
data = typeof data === 'object' ? data : {};
|
|
41383
|
+
let result = new BookingDeliveryExceptionDto();
|
|
41384
|
+
result.init(data);
|
|
41385
|
+
return result;
|
|
41386
|
+
}
|
|
41387
|
+
|
|
41388
|
+
toJSON(data?: any) {
|
|
41389
|
+
data = typeof data === 'object' ? data : {};
|
|
41390
|
+
data["trackingId"] = this.trackingId;
|
|
41391
|
+
data["toLocationId"] = this.toLocationId;
|
|
41392
|
+
data["comment"] = this.comment;
|
|
41393
|
+
return data;
|
|
41394
|
+
}
|
|
41395
|
+
}
|
|
41396
|
+
|
|
41397
|
+
export interface IBookingDeliveryExceptionDto {
|
|
41398
|
+
trackingId: string;
|
|
41399
|
+
toLocationId?: string | null;
|
|
41400
|
+
comment?: string | null;
|
|
41401
|
+
}
|
|
41402
|
+
|
|
41403
|
+
export class BookingUpdateStatusDto implements IBookingUpdateStatusDto {
|
|
41298
41404
|
bookingId!: string;
|
|
41299
|
-
deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
|
|
41300
41405
|
|
|
41301
|
-
constructor(data?:
|
|
41406
|
+
constructor(data?: IBookingUpdateStatusDto) {
|
|
41302
41407
|
if (data) {
|
|
41303
41408
|
for (var property in data) {
|
|
41304
41409
|
if (data.hasOwnProperty(property))
|
|
@@ -41310,17 +41415,12 @@ export class BookingDeliveryUpdateDto implements IBookingDeliveryUpdateDto {
|
|
|
41310
41415
|
init(_data?: any) {
|
|
41311
41416
|
if (_data) {
|
|
41312
41417
|
this.bookingId = _data["bookingId"];
|
|
41313
|
-
if (Array.isArray(_data["deliveryExceptions"])) {
|
|
41314
|
-
this.deliveryExceptions = [] as any;
|
|
41315
|
-
for (let item of _data["deliveryExceptions"])
|
|
41316
|
-
this.deliveryExceptions!.push(BookingDeliveryExceptionDto.fromJS(item));
|
|
41317
|
-
}
|
|
41318
41418
|
}
|
|
41319
41419
|
}
|
|
41320
41420
|
|
|
41321
|
-
static fromJS(data: any):
|
|
41421
|
+
static fromJS(data: any): BookingUpdateStatusDto {
|
|
41322
41422
|
data = typeof data === 'object' ? data : {};
|
|
41323
|
-
let result = new
|
|
41423
|
+
let result = new BookingUpdateStatusDto();
|
|
41324
41424
|
result.init(data);
|
|
41325
41425
|
return result;
|
|
41326
41426
|
}
|
|
@@ -41328,26 +41428,19 @@ export class BookingDeliveryUpdateDto implements IBookingDeliveryUpdateDto {
|
|
|
41328
41428
|
toJSON(data?: any) {
|
|
41329
41429
|
data = typeof data === 'object' ? data : {};
|
|
41330
41430
|
data["bookingId"] = this.bookingId;
|
|
41331
|
-
if (Array.isArray(this.deliveryExceptions)) {
|
|
41332
|
-
data["deliveryExceptions"] = [];
|
|
41333
|
-
for (let item of this.deliveryExceptions)
|
|
41334
|
-
data["deliveryExceptions"].push(item.toJSON());
|
|
41335
|
-
}
|
|
41336
41431
|
return data;
|
|
41337
41432
|
}
|
|
41338
41433
|
}
|
|
41339
41434
|
|
|
41340
|
-
export interface
|
|
41435
|
+
export interface IBookingUpdateStatusDto {
|
|
41341
41436
|
bookingId: string;
|
|
41342
|
-
deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
|
|
41343
41437
|
}
|
|
41344
41438
|
|
|
41345
|
-
export class
|
|
41346
|
-
|
|
41347
|
-
|
|
41348
|
-
comment?: string | null;
|
|
41439
|
+
export class BookingDeliveryUpdateDto implements IBookingDeliveryUpdateDto {
|
|
41440
|
+
bookingId!: string;
|
|
41441
|
+
deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
|
|
41349
41442
|
|
|
41350
|
-
constructor(data?:
|
|
41443
|
+
constructor(data?: IBookingDeliveryUpdateDto) {
|
|
41351
41444
|
if (data) {
|
|
41352
41445
|
for (var property in data) {
|
|
41353
41446
|
if (data.hasOwnProperty(property))
|
|
@@ -41358,32 +41451,37 @@ export class BookingDeliveryExceptionDto implements IBookingDeliveryExceptionDto
|
|
|
41358
41451
|
|
|
41359
41452
|
init(_data?: any) {
|
|
41360
41453
|
if (_data) {
|
|
41361
|
-
this.
|
|
41362
|
-
|
|
41363
|
-
|
|
41454
|
+
this.bookingId = _data["bookingId"];
|
|
41455
|
+
if (Array.isArray(_data["deliveryExceptions"])) {
|
|
41456
|
+
this.deliveryExceptions = [] as any;
|
|
41457
|
+
for (let item of _data["deliveryExceptions"])
|
|
41458
|
+
this.deliveryExceptions!.push(BookingDeliveryExceptionDto.fromJS(item));
|
|
41459
|
+
}
|
|
41364
41460
|
}
|
|
41365
41461
|
}
|
|
41366
41462
|
|
|
41367
|
-
static fromJS(data: any):
|
|
41463
|
+
static fromJS(data: any): BookingDeliveryUpdateDto {
|
|
41368
41464
|
data = typeof data === 'object' ? data : {};
|
|
41369
|
-
let result = new
|
|
41465
|
+
let result = new BookingDeliveryUpdateDto();
|
|
41370
41466
|
result.init(data);
|
|
41371
41467
|
return result;
|
|
41372
41468
|
}
|
|
41373
41469
|
|
|
41374
41470
|
toJSON(data?: any) {
|
|
41375
41471
|
data = typeof data === 'object' ? data : {};
|
|
41376
|
-
data["
|
|
41377
|
-
|
|
41378
|
-
|
|
41472
|
+
data["bookingId"] = this.bookingId;
|
|
41473
|
+
if (Array.isArray(this.deliveryExceptions)) {
|
|
41474
|
+
data["deliveryExceptions"] = [];
|
|
41475
|
+
for (let item of this.deliveryExceptions)
|
|
41476
|
+
data["deliveryExceptions"].push(item.toJSON());
|
|
41477
|
+
}
|
|
41379
41478
|
return data;
|
|
41380
41479
|
}
|
|
41381
41480
|
}
|
|
41382
41481
|
|
|
41383
|
-
export interface
|
|
41384
|
-
|
|
41385
|
-
|
|
41386
|
-
comment?: string | null;
|
|
41482
|
+
export interface IBookingDeliveryUpdateDto {
|
|
41483
|
+
bookingId: string;
|
|
41484
|
+
deliveryExceptions?: BookingDeliveryExceptionDto[] | null;
|
|
41387
41485
|
}
|
|
41388
41486
|
|
|
41389
41487
|
export class LocationSuggestionsDto implements ILocationSuggestionsDto {
|