@ignos/api-client 20250220.0.11224 → 20250225.0.11254
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 +8 -27
- package/lib/ignosportal-api.js +8 -107
- package/package.json +1 -1
- package/src/ignosportal-api.ts +16 -133
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -1666,7 +1666,6 @@ export interface IMoveTrackingClient {
|
|
|
1666
1666
|
createTrackingEvents(trackingUpdates: TrackingUpdateDto[]): Promise<TrackingHistoryDto[]>;
|
|
1667
1667
|
createTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<TrackingHistoryDto[]>;
|
|
1668
1668
|
deleteTrackingHistory(trackingId: string): Promise<void>;
|
|
1669
|
-
createLabelAndUpdateParcel(labelUpdate: LabelUpdateListDto): Promise<DownloadDto>;
|
|
1670
1669
|
}
|
|
1671
1670
|
export declare class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
|
|
1672
1671
|
private http;
|
|
@@ -1691,8 +1690,6 @@ export declare class MoveTrackingClient extends AuthorizedApiBase implements IMo
|
|
|
1691
1690
|
protected processCreateTrackingHistory(response: Response): Promise<TrackingHistoryDto[]>;
|
|
1692
1691
|
deleteTrackingHistory(trackingId: string): Promise<void>;
|
|
1693
1692
|
protected processDeleteTrackingHistory(response: Response): Promise<void>;
|
|
1694
|
-
createLabelAndUpdateParcel(labelUpdate: LabelUpdateListDto): Promise<DownloadDto>;
|
|
1695
|
-
protected processCreateLabelAndUpdateParcel(response: Response): Promise<DownloadDto>;
|
|
1696
1693
|
}
|
|
1697
1694
|
export interface IInventoryClient {
|
|
1698
1695
|
listVendorBatches(request: ListVendorBatches): Promise<VendorBatchLookupDto[]>;
|
|
@@ -3005,6 +3002,7 @@ export interface IListUsersRequest {
|
|
|
3005
3002
|
export declare class RouteCardAppSettings implements IRouteCardAppSettings {
|
|
3006
3003
|
includeDrawingInRouteCardPrint?: boolean;
|
|
3007
3004
|
routeCardPrintInLandscapeOrientation?: boolean;
|
|
3005
|
+
excludeOperationsInRouteCardPrint?: boolean;
|
|
3008
3006
|
constructor(data?: IRouteCardAppSettings);
|
|
3009
3007
|
init(_data?: any): void;
|
|
3010
3008
|
static fromJS(data: any): RouteCardAppSettings;
|
|
@@ -3013,6 +3011,7 @@ export declare class RouteCardAppSettings implements IRouteCardAppSettings {
|
|
|
3013
3011
|
export interface IRouteCardAppSettings {
|
|
3014
3012
|
includeDrawingInRouteCardPrint?: boolean;
|
|
3015
3013
|
routeCardPrintInLandscapeOrientation?: boolean;
|
|
3014
|
+
excludeOperationsInRouteCardPrint?: boolean;
|
|
3016
3015
|
}
|
|
3017
3016
|
export declare class MoveAppSettings implements IMoveAppSettings {
|
|
3018
3017
|
engageMoveAutoPrompt?: boolean;
|
|
@@ -3575,6 +3574,9 @@ export declare class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto
|
|
|
3575
3574
|
uptimeInSeconds?: number | null;
|
|
3576
3575
|
downtimeInSeconds?: number | null;
|
|
3577
3576
|
totalTimeInSeconds?: number | null;
|
|
3577
|
+
uptimeInMilliseconds?: number | null;
|
|
3578
|
+
downtimeInMilliseconds?: number | null;
|
|
3579
|
+
totalTimeInMilliseconds?: number | null;
|
|
3578
3580
|
constructor(data?: IUtilizationDetailsV2Dto);
|
|
3579
3581
|
init(_data?: any): void;
|
|
3580
3582
|
static fromJS(data: any): UtilizationDetailsV2Dto;
|
|
@@ -3585,6 +3587,9 @@ export interface IUtilizationDetailsV2Dto {
|
|
|
3585
3587
|
uptimeInSeconds?: number | null;
|
|
3586
3588
|
downtimeInSeconds?: number | null;
|
|
3587
3589
|
totalTimeInSeconds?: number | null;
|
|
3590
|
+
uptimeInMilliseconds?: number | null;
|
|
3591
|
+
downtimeInMilliseconds?: number | null;
|
|
3592
|
+
totalTimeInMilliseconds?: number | null;
|
|
3588
3593
|
}
|
|
3589
3594
|
export declare class MachineGroupUtilizationV2Dto implements IMachineGroupUtilizationV2Dto {
|
|
3590
3595
|
name: string;
|
|
@@ -9316,30 +9321,6 @@ export declare class TrackingHistoryUpdateDto implements ITrackingHistoryUpdateD
|
|
|
9316
9321
|
export interface ITrackingHistoryUpdateDto {
|
|
9317
9322
|
parcelId: string;
|
|
9318
9323
|
}
|
|
9319
|
-
export declare class LabelUpdateListDto implements ILabelUpdateListDto {
|
|
9320
|
-
labelUpdates: LabelUpdateDto[];
|
|
9321
|
-
constructor(data?: ILabelUpdateListDto);
|
|
9322
|
-
init(_data?: any): void;
|
|
9323
|
-
static fromJS(data: any): LabelUpdateListDto;
|
|
9324
|
-
toJSON(data?: any): any;
|
|
9325
|
-
}
|
|
9326
|
-
export interface ILabelUpdateListDto {
|
|
9327
|
-
labelUpdates: LabelUpdateDto[];
|
|
9328
|
-
}
|
|
9329
|
-
export declare class LabelUpdateDto implements ILabelUpdateDto {
|
|
9330
|
-
parcelId: string;
|
|
9331
|
-
trackingId?: string | null;
|
|
9332
|
-
comment?: string | null;
|
|
9333
|
-
constructor(data?: ILabelUpdateDto);
|
|
9334
|
-
init(_data?: any): void;
|
|
9335
|
-
static fromJS(data: any): LabelUpdateDto;
|
|
9336
|
-
toJSON(data?: any): any;
|
|
9337
|
-
}
|
|
9338
|
-
export interface ILabelUpdateDto {
|
|
9339
|
-
parcelId: string;
|
|
9340
|
-
trackingId?: string | null;
|
|
9341
|
-
comment?: string | null;
|
|
9342
|
-
}
|
|
9343
9324
|
export declare class VendorBatchLookupDto implements IVendorBatchLookupDto {
|
|
9344
9325
|
batchNumber?: string;
|
|
9345
9326
|
vendorBatchNumber?: string | null;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -13948,46 +13948,6 @@ export class MoveTrackingClient extends AuthorizedApiBase {
|
|
|
13948
13948
|
}
|
|
13949
13949
|
return Promise.resolve(null);
|
|
13950
13950
|
}
|
|
13951
|
-
createLabelAndUpdateParcel(labelUpdate) {
|
|
13952
|
-
let url_ = this.baseUrl + "/move/tracking/labelupdate";
|
|
13953
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
13954
|
-
const content_ = JSON.stringify(labelUpdate);
|
|
13955
|
-
let options_ = {
|
|
13956
|
-
body: content_,
|
|
13957
|
-
method: "POST",
|
|
13958
|
-
headers: {
|
|
13959
|
-
"Content-Type": "application/json",
|
|
13960
|
-
"Accept": "application/json"
|
|
13961
|
-
}
|
|
13962
|
-
};
|
|
13963
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
13964
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
13965
|
-
}).then((_response) => {
|
|
13966
|
-
return this.processCreateLabelAndUpdateParcel(_response);
|
|
13967
|
-
});
|
|
13968
|
-
}
|
|
13969
|
-
processCreateLabelAndUpdateParcel(response) {
|
|
13970
|
-
const status = response.status;
|
|
13971
|
-
let _headers = {};
|
|
13972
|
-
if (response.headers && response.headers.forEach) {
|
|
13973
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
13974
|
-
}
|
|
13975
|
-
;
|
|
13976
|
-
if (status === 200) {
|
|
13977
|
-
return response.text().then((_responseText) => {
|
|
13978
|
-
let result200 = null;
|
|
13979
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
13980
|
-
result200 = DownloadDto.fromJS(resultData200);
|
|
13981
|
-
return result200;
|
|
13982
|
-
});
|
|
13983
|
-
}
|
|
13984
|
-
else if (status !== 200 && status !== 204) {
|
|
13985
|
-
return response.text().then((_responseText) => {
|
|
13986
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
13987
|
-
});
|
|
13988
|
-
}
|
|
13989
|
-
return Promise.resolve(null);
|
|
13990
|
-
}
|
|
13991
13951
|
}
|
|
13992
13952
|
export class InventoryClient extends AuthorizedApiBase {
|
|
13993
13953
|
constructor(configuration, baseUrl, http) {
|
|
@@ -21816,6 +21776,7 @@ export class RouteCardAppSettings {
|
|
|
21816
21776
|
if (_data) {
|
|
21817
21777
|
this.includeDrawingInRouteCardPrint = _data["includeDrawingInRouteCardPrint"];
|
|
21818
21778
|
this.routeCardPrintInLandscapeOrientation = _data["routeCardPrintInLandscapeOrientation"];
|
|
21779
|
+
this.excludeOperationsInRouteCardPrint = _data["excludeOperationsInRouteCardPrint"];
|
|
21819
21780
|
}
|
|
21820
21781
|
}
|
|
21821
21782
|
static fromJS(data) {
|
|
@@ -21828,6 +21789,7 @@ export class RouteCardAppSettings {
|
|
|
21828
21789
|
data = typeof data === 'object' ? data : {};
|
|
21829
21790
|
data["includeDrawingInRouteCardPrint"] = this.includeDrawingInRouteCardPrint;
|
|
21830
21791
|
data["routeCardPrintInLandscapeOrientation"] = this.routeCardPrintInLandscapeOrientation;
|
|
21792
|
+
data["excludeOperationsInRouteCardPrint"] = this.excludeOperationsInRouteCardPrint;
|
|
21831
21793
|
return data;
|
|
21832
21794
|
}
|
|
21833
21795
|
}
|
|
@@ -23065,6 +23027,9 @@ export class UtilizationDetailsV2Dto {
|
|
|
23065
23027
|
this.uptimeInSeconds = _data["uptimeInSeconds"];
|
|
23066
23028
|
this.downtimeInSeconds = _data["downtimeInSeconds"];
|
|
23067
23029
|
this.totalTimeInSeconds = _data["totalTimeInSeconds"];
|
|
23030
|
+
this.uptimeInMilliseconds = _data["uptimeInMilliseconds"];
|
|
23031
|
+
this.downtimeInMilliseconds = _data["downtimeInMilliseconds"];
|
|
23032
|
+
this.totalTimeInMilliseconds = _data["totalTimeInMilliseconds"];
|
|
23068
23033
|
}
|
|
23069
23034
|
}
|
|
23070
23035
|
static fromJS(data) {
|
|
@@ -23079,6 +23044,9 @@ export class UtilizationDetailsV2Dto {
|
|
|
23079
23044
|
data["uptimeInSeconds"] = this.uptimeInSeconds;
|
|
23080
23045
|
data["downtimeInSeconds"] = this.downtimeInSeconds;
|
|
23081
23046
|
data["totalTimeInSeconds"] = this.totalTimeInSeconds;
|
|
23047
|
+
data["uptimeInMilliseconds"] = this.uptimeInMilliseconds;
|
|
23048
|
+
data["downtimeInMilliseconds"] = this.downtimeInMilliseconds;
|
|
23049
|
+
data["totalTimeInMilliseconds"] = this.totalTimeInMilliseconds;
|
|
23082
23050
|
return data;
|
|
23083
23051
|
}
|
|
23084
23052
|
}
|
|
@@ -34981,73 +34949,6 @@ export class TrackingHistoryUpdateDto {
|
|
|
34981
34949
|
return data;
|
|
34982
34950
|
}
|
|
34983
34951
|
}
|
|
34984
|
-
export class LabelUpdateListDto {
|
|
34985
|
-
constructor(data) {
|
|
34986
|
-
if (data) {
|
|
34987
|
-
for (var property in data) {
|
|
34988
|
-
if (data.hasOwnProperty(property))
|
|
34989
|
-
this[property] = data[property];
|
|
34990
|
-
}
|
|
34991
|
-
}
|
|
34992
|
-
if (!data) {
|
|
34993
|
-
this.labelUpdates = [];
|
|
34994
|
-
}
|
|
34995
|
-
}
|
|
34996
|
-
init(_data) {
|
|
34997
|
-
if (_data) {
|
|
34998
|
-
if (Array.isArray(_data["labelUpdates"])) {
|
|
34999
|
-
this.labelUpdates = [];
|
|
35000
|
-
for (let item of _data["labelUpdates"])
|
|
35001
|
-
this.labelUpdates.push(LabelUpdateDto.fromJS(item));
|
|
35002
|
-
}
|
|
35003
|
-
}
|
|
35004
|
-
}
|
|
35005
|
-
static fromJS(data) {
|
|
35006
|
-
data = typeof data === 'object' ? data : {};
|
|
35007
|
-
let result = new LabelUpdateListDto();
|
|
35008
|
-
result.init(data);
|
|
35009
|
-
return result;
|
|
35010
|
-
}
|
|
35011
|
-
toJSON(data) {
|
|
35012
|
-
data = typeof data === 'object' ? data : {};
|
|
35013
|
-
if (Array.isArray(this.labelUpdates)) {
|
|
35014
|
-
data["labelUpdates"] = [];
|
|
35015
|
-
for (let item of this.labelUpdates)
|
|
35016
|
-
data["labelUpdates"].push(item.toJSON());
|
|
35017
|
-
}
|
|
35018
|
-
return data;
|
|
35019
|
-
}
|
|
35020
|
-
}
|
|
35021
|
-
export class LabelUpdateDto {
|
|
35022
|
-
constructor(data) {
|
|
35023
|
-
if (data) {
|
|
35024
|
-
for (var property in data) {
|
|
35025
|
-
if (data.hasOwnProperty(property))
|
|
35026
|
-
this[property] = data[property];
|
|
35027
|
-
}
|
|
35028
|
-
}
|
|
35029
|
-
}
|
|
35030
|
-
init(_data) {
|
|
35031
|
-
if (_data) {
|
|
35032
|
-
this.parcelId = _data["parcelId"];
|
|
35033
|
-
this.trackingId = _data["trackingId"];
|
|
35034
|
-
this.comment = _data["comment"];
|
|
35035
|
-
}
|
|
35036
|
-
}
|
|
35037
|
-
static fromJS(data) {
|
|
35038
|
-
data = typeof data === 'object' ? data : {};
|
|
35039
|
-
let result = new LabelUpdateDto();
|
|
35040
|
-
result.init(data);
|
|
35041
|
-
return result;
|
|
35042
|
-
}
|
|
35043
|
-
toJSON(data) {
|
|
35044
|
-
data = typeof data === 'object' ? data : {};
|
|
35045
|
-
data["parcelId"] = this.parcelId;
|
|
35046
|
-
data["trackingId"] = this.trackingId;
|
|
35047
|
-
data["comment"] = this.comment;
|
|
35048
|
-
return data;
|
|
35049
|
-
}
|
|
35050
|
-
}
|
|
35051
34952
|
export class VendorBatchLookupDto {
|
|
35052
34953
|
constructor(data) {
|
|
35053
34954
|
if (data) {
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -14555,8 +14555,6 @@ export interface IMoveTrackingClient {
|
|
|
14555
14555
|
createTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<TrackingHistoryDto[]>;
|
|
14556
14556
|
|
|
14557
14557
|
deleteTrackingHistory(trackingId: string): Promise<void>;
|
|
14558
|
-
|
|
14559
|
-
createLabelAndUpdateParcel(labelUpdate: LabelUpdateListDto): Promise<DownloadDto>;
|
|
14560
14558
|
}
|
|
14561
14559
|
|
|
14562
14560
|
export class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
|
|
@@ -14902,46 +14900,6 @@ export class MoveTrackingClient extends AuthorizedApiBase implements IMoveTracki
|
|
|
14902
14900
|
}
|
|
14903
14901
|
return Promise.resolve<void>(null as any);
|
|
14904
14902
|
}
|
|
14905
|
-
|
|
14906
|
-
createLabelAndUpdateParcel(labelUpdate: LabelUpdateListDto): Promise<DownloadDto> {
|
|
14907
|
-
let url_ = this.baseUrl + "/move/tracking/labelupdate";
|
|
14908
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
14909
|
-
|
|
14910
|
-
const content_ = JSON.stringify(labelUpdate);
|
|
14911
|
-
|
|
14912
|
-
let options_: RequestInit = {
|
|
14913
|
-
body: content_,
|
|
14914
|
-
method: "POST",
|
|
14915
|
-
headers: {
|
|
14916
|
-
"Content-Type": "application/json",
|
|
14917
|
-
"Accept": "application/json"
|
|
14918
|
-
}
|
|
14919
|
-
};
|
|
14920
|
-
|
|
14921
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
14922
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
14923
|
-
}).then((_response: Response) => {
|
|
14924
|
-
return this.processCreateLabelAndUpdateParcel(_response);
|
|
14925
|
-
});
|
|
14926
|
-
}
|
|
14927
|
-
|
|
14928
|
-
protected processCreateLabelAndUpdateParcel(response: Response): Promise<DownloadDto> {
|
|
14929
|
-
const status = response.status;
|
|
14930
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
14931
|
-
if (status === 200) {
|
|
14932
|
-
return response.text().then((_responseText) => {
|
|
14933
|
-
let result200: any = null;
|
|
14934
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
14935
|
-
result200 = DownloadDto.fromJS(resultData200);
|
|
14936
|
-
return result200;
|
|
14937
|
-
});
|
|
14938
|
-
} else if (status !== 200 && status !== 204) {
|
|
14939
|
-
return response.text().then((_responseText) => {
|
|
14940
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
14941
|
-
});
|
|
14942
|
-
}
|
|
14943
|
-
return Promise.resolve<DownloadDto>(null as any);
|
|
14944
|
-
}
|
|
14945
14903
|
}
|
|
14946
14904
|
|
|
14947
14905
|
export interface IInventoryClient {
|
|
@@ -23689,6 +23647,7 @@ export interface IListUsersRequest {
|
|
|
23689
23647
|
export class RouteCardAppSettings implements IRouteCardAppSettings {
|
|
23690
23648
|
includeDrawingInRouteCardPrint?: boolean;
|
|
23691
23649
|
routeCardPrintInLandscapeOrientation?: boolean;
|
|
23650
|
+
excludeOperationsInRouteCardPrint?: boolean;
|
|
23692
23651
|
|
|
23693
23652
|
constructor(data?: IRouteCardAppSettings) {
|
|
23694
23653
|
if (data) {
|
|
@@ -23703,6 +23662,7 @@ export class RouteCardAppSettings implements IRouteCardAppSettings {
|
|
|
23703
23662
|
if (_data) {
|
|
23704
23663
|
this.includeDrawingInRouteCardPrint = _data["includeDrawingInRouteCardPrint"];
|
|
23705
23664
|
this.routeCardPrintInLandscapeOrientation = _data["routeCardPrintInLandscapeOrientation"];
|
|
23665
|
+
this.excludeOperationsInRouteCardPrint = _data["excludeOperationsInRouteCardPrint"];
|
|
23706
23666
|
}
|
|
23707
23667
|
}
|
|
23708
23668
|
|
|
@@ -23717,6 +23677,7 @@ export class RouteCardAppSettings implements IRouteCardAppSettings {
|
|
|
23717
23677
|
data = typeof data === 'object' ? data : {};
|
|
23718
23678
|
data["includeDrawingInRouteCardPrint"] = this.includeDrawingInRouteCardPrint;
|
|
23719
23679
|
data["routeCardPrintInLandscapeOrientation"] = this.routeCardPrintInLandscapeOrientation;
|
|
23680
|
+
data["excludeOperationsInRouteCardPrint"] = this.excludeOperationsInRouteCardPrint;
|
|
23720
23681
|
return data;
|
|
23721
23682
|
}
|
|
23722
23683
|
}
|
|
@@ -23724,6 +23685,7 @@ export class RouteCardAppSettings implements IRouteCardAppSettings {
|
|
|
23724
23685
|
export interface IRouteCardAppSettings {
|
|
23725
23686
|
includeDrawingInRouteCardPrint?: boolean;
|
|
23726
23687
|
routeCardPrintInLandscapeOrientation?: boolean;
|
|
23688
|
+
excludeOperationsInRouteCardPrint?: boolean;
|
|
23727
23689
|
}
|
|
23728
23690
|
|
|
23729
23691
|
export class MoveAppSettings implements IMoveAppSettings {
|
|
@@ -25508,6 +25470,9 @@ export class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
|
|
|
25508
25470
|
uptimeInSeconds?: number | null;
|
|
25509
25471
|
downtimeInSeconds?: number | null;
|
|
25510
25472
|
totalTimeInSeconds?: number | null;
|
|
25473
|
+
uptimeInMilliseconds?: number | null;
|
|
25474
|
+
downtimeInMilliseconds?: number | null;
|
|
25475
|
+
totalTimeInMilliseconds?: number | null;
|
|
25511
25476
|
|
|
25512
25477
|
constructor(data?: IUtilizationDetailsV2Dto) {
|
|
25513
25478
|
if (data) {
|
|
@@ -25524,6 +25489,9 @@ export class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
|
|
|
25524
25489
|
this.uptimeInSeconds = _data["uptimeInSeconds"];
|
|
25525
25490
|
this.downtimeInSeconds = _data["downtimeInSeconds"];
|
|
25526
25491
|
this.totalTimeInSeconds = _data["totalTimeInSeconds"];
|
|
25492
|
+
this.uptimeInMilliseconds = _data["uptimeInMilliseconds"];
|
|
25493
|
+
this.downtimeInMilliseconds = _data["downtimeInMilliseconds"];
|
|
25494
|
+
this.totalTimeInMilliseconds = _data["totalTimeInMilliseconds"];
|
|
25527
25495
|
}
|
|
25528
25496
|
}
|
|
25529
25497
|
|
|
@@ -25540,6 +25508,9 @@ export class UtilizationDetailsV2Dto implements IUtilizationDetailsV2Dto {
|
|
|
25540
25508
|
data["uptimeInSeconds"] = this.uptimeInSeconds;
|
|
25541
25509
|
data["downtimeInSeconds"] = this.downtimeInSeconds;
|
|
25542
25510
|
data["totalTimeInSeconds"] = this.totalTimeInSeconds;
|
|
25511
|
+
data["uptimeInMilliseconds"] = this.uptimeInMilliseconds;
|
|
25512
|
+
data["downtimeInMilliseconds"] = this.downtimeInMilliseconds;
|
|
25513
|
+
data["totalTimeInMilliseconds"] = this.totalTimeInMilliseconds;
|
|
25543
25514
|
return data;
|
|
25544
25515
|
}
|
|
25545
25516
|
}
|
|
@@ -25549,6 +25520,9 @@ export interface IUtilizationDetailsV2Dto {
|
|
|
25549
25520
|
uptimeInSeconds?: number | null;
|
|
25550
25521
|
downtimeInSeconds?: number | null;
|
|
25551
25522
|
totalTimeInSeconds?: number | null;
|
|
25523
|
+
uptimeInMilliseconds?: number | null;
|
|
25524
|
+
downtimeInMilliseconds?: number | null;
|
|
25525
|
+
totalTimeInMilliseconds?: number | null;
|
|
25552
25526
|
}
|
|
25553
25527
|
|
|
25554
25528
|
export class MachineGroupUtilizationV2Dto implements IMachineGroupUtilizationV2Dto {
|
|
@@ -43212,97 +43186,6 @@ export interface ITrackingHistoryUpdateDto {
|
|
|
43212
43186
|
parcelId: string;
|
|
43213
43187
|
}
|
|
43214
43188
|
|
|
43215
|
-
export class LabelUpdateListDto implements ILabelUpdateListDto {
|
|
43216
|
-
labelUpdates!: LabelUpdateDto[];
|
|
43217
|
-
|
|
43218
|
-
constructor(data?: ILabelUpdateListDto) {
|
|
43219
|
-
if (data) {
|
|
43220
|
-
for (var property in data) {
|
|
43221
|
-
if (data.hasOwnProperty(property))
|
|
43222
|
-
(<any>this)[property] = (<any>data)[property];
|
|
43223
|
-
}
|
|
43224
|
-
}
|
|
43225
|
-
if (!data) {
|
|
43226
|
-
this.labelUpdates = [];
|
|
43227
|
-
}
|
|
43228
|
-
}
|
|
43229
|
-
|
|
43230
|
-
init(_data?: any) {
|
|
43231
|
-
if (_data) {
|
|
43232
|
-
if (Array.isArray(_data["labelUpdates"])) {
|
|
43233
|
-
this.labelUpdates = [] as any;
|
|
43234
|
-
for (let item of _data["labelUpdates"])
|
|
43235
|
-
this.labelUpdates!.push(LabelUpdateDto.fromJS(item));
|
|
43236
|
-
}
|
|
43237
|
-
}
|
|
43238
|
-
}
|
|
43239
|
-
|
|
43240
|
-
static fromJS(data: any): LabelUpdateListDto {
|
|
43241
|
-
data = typeof data === 'object' ? data : {};
|
|
43242
|
-
let result = new LabelUpdateListDto();
|
|
43243
|
-
result.init(data);
|
|
43244
|
-
return result;
|
|
43245
|
-
}
|
|
43246
|
-
|
|
43247
|
-
toJSON(data?: any) {
|
|
43248
|
-
data = typeof data === 'object' ? data : {};
|
|
43249
|
-
if (Array.isArray(this.labelUpdates)) {
|
|
43250
|
-
data["labelUpdates"] = [];
|
|
43251
|
-
for (let item of this.labelUpdates)
|
|
43252
|
-
data["labelUpdates"].push(item.toJSON());
|
|
43253
|
-
}
|
|
43254
|
-
return data;
|
|
43255
|
-
}
|
|
43256
|
-
}
|
|
43257
|
-
|
|
43258
|
-
export interface ILabelUpdateListDto {
|
|
43259
|
-
labelUpdates: LabelUpdateDto[];
|
|
43260
|
-
}
|
|
43261
|
-
|
|
43262
|
-
export class LabelUpdateDto implements ILabelUpdateDto {
|
|
43263
|
-
parcelId!: string;
|
|
43264
|
-
trackingId?: string | null;
|
|
43265
|
-
comment?: string | null;
|
|
43266
|
-
|
|
43267
|
-
constructor(data?: ILabelUpdateDto) {
|
|
43268
|
-
if (data) {
|
|
43269
|
-
for (var property in data) {
|
|
43270
|
-
if (data.hasOwnProperty(property))
|
|
43271
|
-
(<any>this)[property] = (<any>data)[property];
|
|
43272
|
-
}
|
|
43273
|
-
}
|
|
43274
|
-
}
|
|
43275
|
-
|
|
43276
|
-
init(_data?: any) {
|
|
43277
|
-
if (_data) {
|
|
43278
|
-
this.parcelId = _data["parcelId"];
|
|
43279
|
-
this.trackingId = _data["trackingId"];
|
|
43280
|
-
this.comment = _data["comment"];
|
|
43281
|
-
}
|
|
43282
|
-
}
|
|
43283
|
-
|
|
43284
|
-
static fromJS(data: any): LabelUpdateDto {
|
|
43285
|
-
data = typeof data === 'object' ? data : {};
|
|
43286
|
-
let result = new LabelUpdateDto();
|
|
43287
|
-
result.init(data);
|
|
43288
|
-
return result;
|
|
43289
|
-
}
|
|
43290
|
-
|
|
43291
|
-
toJSON(data?: any) {
|
|
43292
|
-
data = typeof data === 'object' ? data : {};
|
|
43293
|
-
data["parcelId"] = this.parcelId;
|
|
43294
|
-
data["trackingId"] = this.trackingId;
|
|
43295
|
-
data["comment"] = this.comment;
|
|
43296
|
-
return data;
|
|
43297
|
-
}
|
|
43298
|
-
}
|
|
43299
|
-
|
|
43300
|
-
export interface ILabelUpdateDto {
|
|
43301
|
-
parcelId: string;
|
|
43302
|
-
trackingId?: string | null;
|
|
43303
|
-
comment?: string | null;
|
|
43304
|
-
}
|
|
43305
|
-
|
|
43306
43189
|
export class VendorBatchLookupDto implements IVendorBatchLookupDto {
|
|
43307
43190
|
batchNumber?: string;
|
|
43308
43191
|
vendorBatchNumber?: string | null;
|