@ignos/api-client 20241108.0.10682 → 20241112.0.10701
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 +12 -28
- package/lib/ignosportal-api.js +11 -54
- package/package.json +1 -1
- package/src/ignosportal-api.ts +19 -78
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -1471,11 +1471,11 @@ export interface IMoveBookingClient {
|
|
|
1471
1471
|
getBooking(bookingId: string): Promise<BookingDto>;
|
|
1472
1472
|
getParcelBooking(parcelId: string): Promise<BookingDto[]>;
|
|
1473
1473
|
updateBooking(bookingRequest: BookingUpdateDto): Promise<BookingDto>;
|
|
1474
|
+
createBookingTransport(bookingRequest: BookingTransportRequestDto): Promise<BookingDto[]>;
|
|
1474
1475
|
/**
|
|
1475
1476
|
* @deprecated
|
|
1476
1477
|
*/
|
|
1477
|
-
|
|
1478
|
-
createBookingTransport(bookingRequest: BookingTransportRequestDto): Promise<BookingDto[]>;
|
|
1478
|
+
createBookingTransport2(bookingRequest: BookingTransportRequestDto): Promise<BookingDto[]>;
|
|
1479
1479
|
createBookingGeneral(bookingRequest: BookingGeneralRequestDto): Promise<BookingDto[]>;
|
|
1480
1480
|
updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
|
|
1481
1481
|
}
|
|
@@ -1494,13 +1494,13 @@ export declare class MoveBookingClient extends AuthorizedApiBase implements IMov
|
|
|
1494
1494
|
protected processGetParcelBooking(response: Response): Promise<BookingDto[]>;
|
|
1495
1495
|
updateBooking(bookingRequest: BookingUpdateDto): Promise<BookingDto>;
|
|
1496
1496
|
protected processUpdateBooking(response: Response): Promise<BookingDto>;
|
|
1497
|
+
createBookingTransport(bookingRequest: BookingTransportRequestDto): Promise<BookingDto[]>;
|
|
1498
|
+
protected processCreateBookingTransport(response: Response): Promise<BookingDto[]>;
|
|
1497
1499
|
/**
|
|
1498
1500
|
* @deprecated
|
|
1499
1501
|
*/
|
|
1500
|
-
|
|
1501
|
-
protected
|
|
1502
|
-
createBookingTransport(bookingRequest: BookingTransportRequestDto): Promise<BookingDto[]>;
|
|
1503
|
-
protected processCreateBookingTransport(response: Response): Promise<BookingDto[]>;
|
|
1502
|
+
createBookingTransport2(bookingRequest: BookingTransportRequestDto): Promise<BookingDto[]>;
|
|
1503
|
+
protected processCreateBookingTransport2(response: Response): Promise<BookingDto[]>;
|
|
1504
1504
|
createBookingGeneral(bookingRequest: BookingGeneralRequestDto): Promise<BookingDto[]>;
|
|
1505
1505
|
protected processCreateBookingGeneral(response: Response): Promise<BookingDto[]>;
|
|
1506
1506
|
updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
|
|
@@ -8195,21 +8195,15 @@ export interface IBookingUpdateDto {
|
|
|
8195
8195
|
fromLocationId: string;
|
|
8196
8196
|
toLocationId: string;
|
|
8197
8197
|
}
|
|
8198
|
-
export declare class
|
|
8199
|
-
transportKind: TransportKindDto;
|
|
8198
|
+
export declare class BookingTransportRequestDto implements IBookingTransportRequestDto {
|
|
8200
8199
|
items: BookingItemRequestDto[];
|
|
8201
|
-
|
|
8202
|
-
toLocationId: string;
|
|
8203
|
-
constructor(data?: IBookingTransportRequestOldDto);
|
|
8200
|
+
constructor(data?: IBookingTransportRequestDto);
|
|
8204
8201
|
init(_data?: any): void;
|
|
8205
|
-
static fromJS(data: any):
|
|
8202
|
+
static fromJS(data: any): BookingTransportRequestDto;
|
|
8206
8203
|
toJSON(data?: any): any;
|
|
8207
8204
|
}
|
|
8208
|
-
export interface
|
|
8209
|
-
transportKind: TransportKindDto;
|
|
8205
|
+
export interface IBookingTransportRequestDto {
|
|
8210
8206
|
items: BookingItemRequestDto[];
|
|
8211
|
-
fromLocationId: string;
|
|
8212
|
-
toLocationId: string;
|
|
8213
8207
|
}
|
|
8214
8208
|
export declare class BookingItemRequestDto implements IBookingItemRequestDto {
|
|
8215
8209
|
parcelId: string;
|
|
@@ -8231,16 +8225,6 @@ export interface IBookingItemRequestDto {
|
|
|
8231
8225
|
transportKind: TransportKindDto;
|
|
8232
8226
|
comment?: string | null;
|
|
8233
8227
|
}
|
|
8234
|
-
export declare class BookingTransportRequestDto implements IBookingTransportRequestDto {
|
|
8235
|
-
items: BookingItemRequestDto[];
|
|
8236
|
-
constructor(data?: IBookingTransportRequestDto);
|
|
8237
|
-
init(_data?: any): void;
|
|
8238
|
-
static fromJS(data: any): BookingTransportRequestDto;
|
|
8239
|
-
toJSON(data?: any): any;
|
|
8240
|
-
}
|
|
8241
|
-
export interface IBookingTransportRequestDto {
|
|
8242
|
-
items: BookingItemRequestDto[];
|
|
8243
|
-
}
|
|
8244
8228
|
export declare class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
|
|
8245
8229
|
parcelKind: ParcelKindDto;
|
|
8246
8230
|
transportKind: TransportKindDto;
|
|
@@ -9651,7 +9635,7 @@ export interface IStoppedWorkDto {
|
|
|
9651
9635
|
}
|
|
9652
9636
|
export declare class StartOperations implements IStartOperations {
|
|
9653
9637
|
operations: StartOperationDto[];
|
|
9654
|
-
workType
|
|
9638
|
+
workType?: WorkTypeDto | null;
|
|
9655
9639
|
constructor(data?: IStartOperations);
|
|
9656
9640
|
init(_data?: any): void;
|
|
9657
9641
|
static fromJS(data: any): StartOperations;
|
|
@@ -9659,7 +9643,7 @@ export declare class StartOperations implements IStartOperations {
|
|
|
9659
9643
|
}
|
|
9660
9644
|
export interface IStartOperations {
|
|
9661
9645
|
operations: StartOperationDto[];
|
|
9662
|
-
workType
|
|
9646
|
+
workType?: WorkTypeDto | null;
|
|
9663
9647
|
}
|
|
9664
9648
|
export declare class StartOperationDto implements IStartOperationDto {
|
|
9665
9649
|
workOrder: string;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -12135,10 +12135,7 @@ export class MoveBookingClient extends AuthorizedApiBase {
|
|
|
12135
12135
|
}
|
|
12136
12136
|
return Promise.resolve(null);
|
|
12137
12137
|
}
|
|
12138
|
-
|
|
12139
|
-
* @deprecated
|
|
12140
|
-
*/
|
|
12141
|
-
createBookingTransportOld(bookingRequest) {
|
|
12138
|
+
createBookingTransport(bookingRequest) {
|
|
12142
12139
|
let url_ = this.baseUrl + "/move/booking/transport";
|
|
12143
12140
|
url_ = url_.replace(/[?&]$/, "");
|
|
12144
12141
|
const content_ = JSON.stringify(bookingRequest);
|
|
@@ -12153,10 +12150,10 @@ export class MoveBookingClient extends AuthorizedApiBase {
|
|
|
12153
12150
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
12154
12151
|
return this.http.fetch(url_, transformedOptions_);
|
|
12155
12152
|
}).then((_response) => {
|
|
12156
|
-
return this.
|
|
12153
|
+
return this.processCreateBookingTransport(_response);
|
|
12157
12154
|
});
|
|
12158
12155
|
}
|
|
12159
|
-
|
|
12156
|
+
processCreateBookingTransport(response) {
|
|
12160
12157
|
const status = response.status;
|
|
12161
12158
|
let _headers = {};
|
|
12162
12159
|
if (response.headers && response.headers.forEach) {
|
|
@@ -12182,7 +12179,10 @@ export class MoveBookingClient extends AuthorizedApiBase {
|
|
|
12182
12179
|
}
|
|
12183
12180
|
return Promise.resolve(null);
|
|
12184
12181
|
}
|
|
12185
|
-
|
|
12182
|
+
/**
|
|
12183
|
+
* @deprecated
|
|
12184
|
+
*/
|
|
12185
|
+
createBookingTransport2(bookingRequest) {
|
|
12186
12186
|
let url_ = this.baseUrl + "/move/booking/transport2";
|
|
12187
12187
|
url_ = url_.replace(/[?&]$/, "");
|
|
12188
12188
|
const content_ = JSON.stringify(bookingRequest);
|
|
@@ -12197,10 +12197,10 @@ export class MoveBookingClient extends AuthorizedApiBase {
|
|
|
12197
12197
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
12198
12198
|
return this.http.fetch(url_, transformedOptions_);
|
|
12199
12199
|
}).then((_response) => {
|
|
12200
|
-
return this.
|
|
12200
|
+
return this.processCreateBookingTransport2(_response);
|
|
12201
12201
|
});
|
|
12202
12202
|
}
|
|
12203
|
-
|
|
12203
|
+
processCreateBookingTransport2(response) {
|
|
12204
12204
|
const status = response.status;
|
|
12205
12205
|
let _headers = {};
|
|
12206
12206
|
if (response.headers && response.headers.forEach) {
|
|
@@ -31561,7 +31561,7 @@ export class BookingUpdateDto {
|
|
|
31561
31561
|
return data;
|
|
31562
31562
|
}
|
|
31563
31563
|
}
|
|
31564
|
-
export class
|
|
31564
|
+
export class BookingTransportRequestDto {
|
|
31565
31565
|
constructor(data) {
|
|
31566
31566
|
if (data) {
|
|
31567
31567
|
for (var property in data) {
|
|
@@ -31575,32 +31575,26 @@ export class BookingTransportRequestOldDto {
|
|
|
31575
31575
|
}
|
|
31576
31576
|
init(_data) {
|
|
31577
31577
|
if (_data) {
|
|
31578
|
-
this.transportKind = _data["transportKind"];
|
|
31579
31578
|
if (Array.isArray(_data["items"])) {
|
|
31580
31579
|
this.items = [];
|
|
31581
31580
|
for (let item of _data["items"])
|
|
31582
31581
|
this.items.push(BookingItemRequestDto.fromJS(item));
|
|
31583
31582
|
}
|
|
31584
|
-
this.fromLocationId = _data["fromLocationId"];
|
|
31585
|
-
this.toLocationId = _data["toLocationId"];
|
|
31586
31583
|
}
|
|
31587
31584
|
}
|
|
31588
31585
|
static fromJS(data) {
|
|
31589
31586
|
data = typeof data === 'object' ? data : {};
|
|
31590
|
-
let result = new
|
|
31587
|
+
let result = new BookingTransportRequestDto();
|
|
31591
31588
|
result.init(data);
|
|
31592
31589
|
return result;
|
|
31593
31590
|
}
|
|
31594
31591
|
toJSON(data) {
|
|
31595
31592
|
data = typeof data === 'object' ? data : {};
|
|
31596
|
-
data["transportKind"] = this.transportKind;
|
|
31597
31593
|
if (Array.isArray(this.items)) {
|
|
31598
31594
|
data["items"] = [];
|
|
31599
31595
|
for (let item of this.items)
|
|
31600
31596
|
data["items"].push(item.toJSON());
|
|
31601
31597
|
}
|
|
31602
|
-
data["fromLocationId"] = this.fromLocationId;
|
|
31603
|
-
data["toLocationId"] = this.toLocationId;
|
|
31604
31598
|
return data;
|
|
31605
31599
|
}
|
|
31606
31600
|
}
|
|
@@ -31640,43 +31634,6 @@ export class BookingItemRequestDto {
|
|
|
31640
31634
|
return data;
|
|
31641
31635
|
}
|
|
31642
31636
|
}
|
|
31643
|
-
export class BookingTransportRequestDto {
|
|
31644
|
-
constructor(data) {
|
|
31645
|
-
if (data) {
|
|
31646
|
-
for (var property in data) {
|
|
31647
|
-
if (data.hasOwnProperty(property))
|
|
31648
|
-
this[property] = data[property];
|
|
31649
|
-
}
|
|
31650
|
-
}
|
|
31651
|
-
if (!data) {
|
|
31652
|
-
this.items = [];
|
|
31653
|
-
}
|
|
31654
|
-
}
|
|
31655
|
-
init(_data) {
|
|
31656
|
-
if (_data) {
|
|
31657
|
-
if (Array.isArray(_data["items"])) {
|
|
31658
|
-
this.items = [];
|
|
31659
|
-
for (let item of _data["items"])
|
|
31660
|
-
this.items.push(BookingItemRequestDto.fromJS(item));
|
|
31661
|
-
}
|
|
31662
|
-
}
|
|
31663
|
-
}
|
|
31664
|
-
static fromJS(data) {
|
|
31665
|
-
data = typeof data === 'object' ? data : {};
|
|
31666
|
-
let result = new BookingTransportRequestDto();
|
|
31667
|
-
result.init(data);
|
|
31668
|
-
return result;
|
|
31669
|
-
}
|
|
31670
|
-
toJSON(data) {
|
|
31671
|
-
data = typeof data === 'object' ? data : {};
|
|
31672
|
-
if (Array.isArray(this.items)) {
|
|
31673
|
-
data["items"] = [];
|
|
31674
|
-
for (let item of this.items)
|
|
31675
|
-
data["items"].push(item.toJSON());
|
|
31676
|
-
}
|
|
31677
|
-
return data;
|
|
31678
|
-
}
|
|
31679
|
-
}
|
|
31680
31637
|
export class BookingGeneralRequestDto {
|
|
31681
31638
|
constructor(data) {
|
|
31682
31639
|
if (data) {
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -12796,12 +12796,12 @@ export interface IMoveBookingClient {
|
|
|
12796
12796
|
|
|
12797
12797
|
updateBooking(bookingRequest: BookingUpdateDto): Promise<BookingDto>;
|
|
12798
12798
|
|
|
12799
|
+
createBookingTransport(bookingRequest: BookingTransportRequestDto): Promise<BookingDto[]>;
|
|
12800
|
+
|
|
12799
12801
|
/**
|
|
12800
12802
|
* @deprecated
|
|
12801
12803
|
*/
|
|
12802
|
-
|
|
12803
|
-
|
|
12804
|
-
createBookingTransport(bookingRequest: BookingTransportRequestDto): Promise<BookingDto[]>;
|
|
12804
|
+
createBookingTransport2(bookingRequest: BookingTransportRequestDto): Promise<BookingDto[]>;
|
|
12805
12805
|
|
|
12806
12806
|
createBookingGeneral(bookingRequest: BookingGeneralRequestDto): Promise<BookingDto[]>;
|
|
12807
12807
|
|
|
@@ -12981,10 +12981,7 @@ export class MoveBookingClient extends AuthorizedApiBase implements IMoveBooking
|
|
|
12981
12981
|
return Promise.resolve<BookingDto>(null as any);
|
|
12982
12982
|
}
|
|
12983
12983
|
|
|
12984
|
-
|
|
12985
|
-
* @deprecated
|
|
12986
|
-
*/
|
|
12987
|
-
createBookingTransportOld(bookingRequest: BookingTransportRequestOldDto): Promise<BookingDto[]> {
|
|
12984
|
+
createBookingTransport(bookingRequest: BookingTransportRequestDto): Promise<BookingDto[]> {
|
|
12988
12985
|
let url_ = this.baseUrl + "/move/booking/transport";
|
|
12989
12986
|
url_ = url_.replace(/[?&]$/, "");
|
|
12990
12987
|
|
|
@@ -13002,11 +12999,11 @@ export class MoveBookingClient extends AuthorizedApiBase implements IMoveBooking
|
|
|
13002
12999
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
13003
13000
|
return this.http.fetch(url_, transformedOptions_);
|
|
13004
13001
|
}).then((_response: Response) => {
|
|
13005
|
-
return this.
|
|
13002
|
+
return this.processCreateBookingTransport(_response);
|
|
13006
13003
|
});
|
|
13007
13004
|
}
|
|
13008
13005
|
|
|
13009
|
-
protected
|
|
13006
|
+
protected processCreateBookingTransport(response: Response): Promise<BookingDto[]> {
|
|
13010
13007
|
const status = response.status;
|
|
13011
13008
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
13012
13009
|
if (status === 200) {
|
|
@@ -13028,7 +13025,10 @@ export class MoveBookingClient extends AuthorizedApiBase implements IMoveBooking
|
|
|
13028
13025
|
return Promise.resolve<BookingDto[]>(null as any);
|
|
13029
13026
|
}
|
|
13030
13027
|
|
|
13031
|
-
|
|
13028
|
+
/**
|
|
13029
|
+
* @deprecated
|
|
13030
|
+
*/
|
|
13031
|
+
createBookingTransport2(bookingRequest: BookingTransportRequestDto): Promise<BookingDto[]> {
|
|
13032
13032
|
let url_ = this.baseUrl + "/move/booking/transport2";
|
|
13033
13033
|
url_ = url_.replace(/[?&]$/, "");
|
|
13034
13034
|
|
|
@@ -13046,11 +13046,11 @@ export class MoveBookingClient extends AuthorizedApiBase implements IMoveBooking
|
|
|
13046
13046
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
13047
13047
|
return this.http.fetch(url_, transformedOptions_);
|
|
13048
13048
|
}).then((_response: Response) => {
|
|
13049
|
-
return this.
|
|
13049
|
+
return this.processCreateBookingTransport2(_response);
|
|
13050
13050
|
});
|
|
13051
13051
|
}
|
|
13052
13052
|
|
|
13053
|
-
protected
|
|
13053
|
+
protected processCreateBookingTransport2(response: Response): Promise<BookingDto[]> {
|
|
13054
13054
|
const status = response.status;
|
|
13055
13055
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
13056
13056
|
if (status === 200) {
|
|
@@ -38715,13 +38715,10 @@ export interface IBookingUpdateDto {
|
|
|
38715
38715
|
toLocationId: string;
|
|
38716
38716
|
}
|
|
38717
38717
|
|
|
38718
|
-
export class
|
|
38719
|
-
transportKind!: TransportKindDto;
|
|
38718
|
+
export class BookingTransportRequestDto implements IBookingTransportRequestDto {
|
|
38720
38719
|
items!: BookingItemRequestDto[];
|
|
38721
|
-
fromLocationId!: string;
|
|
38722
|
-
toLocationId!: string;
|
|
38723
38720
|
|
|
38724
|
-
constructor(data?:
|
|
38721
|
+
constructor(data?: IBookingTransportRequestDto) {
|
|
38725
38722
|
if (data) {
|
|
38726
38723
|
for (var property in data) {
|
|
38727
38724
|
if (data.hasOwnProperty(property))
|
|
@@ -38735,43 +38732,34 @@ export class BookingTransportRequestOldDto implements IBookingTransportRequestOl
|
|
|
38735
38732
|
|
|
38736
38733
|
init(_data?: any) {
|
|
38737
38734
|
if (_data) {
|
|
38738
|
-
this.transportKind = _data["transportKind"];
|
|
38739
38735
|
if (Array.isArray(_data["items"])) {
|
|
38740
38736
|
this.items = [] as any;
|
|
38741
38737
|
for (let item of _data["items"])
|
|
38742
38738
|
this.items!.push(BookingItemRequestDto.fromJS(item));
|
|
38743
38739
|
}
|
|
38744
|
-
this.fromLocationId = _data["fromLocationId"];
|
|
38745
|
-
this.toLocationId = _data["toLocationId"];
|
|
38746
38740
|
}
|
|
38747
38741
|
}
|
|
38748
38742
|
|
|
38749
|
-
static fromJS(data: any):
|
|
38743
|
+
static fromJS(data: any): BookingTransportRequestDto {
|
|
38750
38744
|
data = typeof data === 'object' ? data : {};
|
|
38751
|
-
let result = new
|
|
38745
|
+
let result = new BookingTransportRequestDto();
|
|
38752
38746
|
result.init(data);
|
|
38753
38747
|
return result;
|
|
38754
38748
|
}
|
|
38755
38749
|
|
|
38756
38750
|
toJSON(data?: any) {
|
|
38757
38751
|
data = typeof data === 'object' ? data : {};
|
|
38758
|
-
data["transportKind"] = this.transportKind;
|
|
38759
38752
|
if (Array.isArray(this.items)) {
|
|
38760
38753
|
data["items"] = [];
|
|
38761
38754
|
for (let item of this.items)
|
|
38762
38755
|
data["items"].push(item.toJSON());
|
|
38763
38756
|
}
|
|
38764
|
-
data["fromLocationId"] = this.fromLocationId;
|
|
38765
|
-
data["toLocationId"] = this.toLocationId;
|
|
38766
38757
|
return data;
|
|
38767
38758
|
}
|
|
38768
38759
|
}
|
|
38769
38760
|
|
|
38770
|
-
export interface
|
|
38771
|
-
transportKind: TransportKindDto;
|
|
38761
|
+
export interface IBookingTransportRequestDto {
|
|
38772
38762
|
items: BookingItemRequestDto[];
|
|
38773
|
-
fromLocationId: string;
|
|
38774
|
-
toLocationId: string;
|
|
38775
38763
|
}
|
|
38776
38764
|
|
|
38777
38765
|
export class BookingItemRequestDto implements IBookingItemRequestDto {
|
|
@@ -38830,53 +38818,6 @@ export interface IBookingItemRequestDto {
|
|
|
38830
38818
|
comment?: string | null;
|
|
38831
38819
|
}
|
|
38832
38820
|
|
|
38833
|
-
export class BookingTransportRequestDto implements IBookingTransportRequestDto {
|
|
38834
|
-
items!: BookingItemRequestDto[];
|
|
38835
|
-
|
|
38836
|
-
constructor(data?: IBookingTransportRequestDto) {
|
|
38837
|
-
if (data) {
|
|
38838
|
-
for (var property in data) {
|
|
38839
|
-
if (data.hasOwnProperty(property))
|
|
38840
|
-
(<any>this)[property] = (<any>data)[property];
|
|
38841
|
-
}
|
|
38842
|
-
}
|
|
38843
|
-
if (!data) {
|
|
38844
|
-
this.items = [];
|
|
38845
|
-
}
|
|
38846
|
-
}
|
|
38847
|
-
|
|
38848
|
-
init(_data?: any) {
|
|
38849
|
-
if (_data) {
|
|
38850
|
-
if (Array.isArray(_data["items"])) {
|
|
38851
|
-
this.items = [] as any;
|
|
38852
|
-
for (let item of _data["items"])
|
|
38853
|
-
this.items!.push(BookingItemRequestDto.fromJS(item));
|
|
38854
|
-
}
|
|
38855
|
-
}
|
|
38856
|
-
}
|
|
38857
|
-
|
|
38858
|
-
static fromJS(data: any): BookingTransportRequestDto {
|
|
38859
|
-
data = typeof data === 'object' ? data : {};
|
|
38860
|
-
let result = new BookingTransportRequestDto();
|
|
38861
|
-
result.init(data);
|
|
38862
|
-
return result;
|
|
38863
|
-
}
|
|
38864
|
-
|
|
38865
|
-
toJSON(data?: any) {
|
|
38866
|
-
data = typeof data === 'object' ? data : {};
|
|
38867
|
-
if (Array.isArray(this.items)) {
|
|
38868
|
-
data["items"] = [];
|
|
38869
|
-
for (let item of this.items)
|
|
38870
|
-
data["items"].push(item.toJSON());
|
|
38871
|
-
}
|
|
38872
|
-
return data;
|
|
38873
|
-
}
|
|
38874
|
-
}
|
|
38875
|
-
|
|
38876
|
-
export interface IBookingTransportRequestDto {
|
|
38877
|
-
items: BookingItemRequestDto[];
|
|
38878
|
-
}
|
|
38879
|
-
|
|
38880
38821
|
export class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
|
|
38881
38822
|
parcelKind!: ParcelKindDto;
|
|
38882
38823
|
transportKind!: TransportKindDto;
|
|
@@ -43295,7 +43236,7 @@ export interface IStoppedWorkDto {
|
|
|
43295
43236
|
|
|
43296
43237
|
export class StartOperations implements IStartOperations {
|
|
43297
43238
|
operations!: StartOperationDto[];
|
|
43298
|
-
workType
|
|
43239
|
+
workType?: WorkTypeDto | null;
|
|
43299
43240
|
|
|
43300
43241
|
constructor(data?: IStartOperations) {
|
|
43301
43242
|
if (data) {
|
|
@@ -43341,7 +43282,7 @@ export class StartOperations implements IStartOperations {
|
|
|
43341
43282
|
|
|
43342
43283
|
export interface IStartOperations {
|
|
43343
43284
|
operations: StartOperationDto[];
|
|
43344
|
-
workType
|
|
43285
|
+
workType?: WorkTypeDto | null;
|
|
43345
43286
|
}
|
|
43346
43287
|
|
|
43347
43288
|
export class StartOperationDto implements IStartOperationDto {
|