@ignos/api-client 20240902.0.10230 → 20240905.0.10262
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 +35 -8
- package/lib/ignosportal-api.js +109 -2
- package/package.json +1 -1
- package/src/ignosportal-api.ts +143 -10
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -1511,6 +1511,7 @@ export interface IMoveTrackingClient {
|
|
|
1511
1511
|
createTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<TrackingHistoryDto[]>;
|
|
1512
1512
|
deleteTrackingHistory(trackingId: string): Promise<void>;
|
|
1513
1513
|
createLabel(trackingIds: string[]): Promise<DownloadDto>;
|
|
1514
|
+
createLabelAndUpdateParcel(labelUpdate: LabelUpdateListDto): Promise<DownloadDto>;
|
|
1514
1515
|
}
|
|
1515
1516
|
export declare class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
|
|
1516
1517
|
private http;
|
|
@@ -1535,6 +1536,8 @@ export declare class MoveTrackingClient extends AuthorizedApiBase implements IMo
|
|
|
1535
1536
|
protected processDeleteTrackingHistory(response: Response): Promise<void>;
|
|
1536
1537
|
createLabel(trackingIds: string[]): Promise<DownloadDto>;
|
|
1537
1538
|
protected processCreateLabel(response: Response): Promise<DownloadDto>;
|
|
1539
|
+
createLabelAndUpdateParcel(labelUpdate: LabelUpdateListDto): Promise<DownloadDto>;
|
|
1540
|
+
protected processCreateLabelAndUpdateParcel(response: Response): Promise<DownloadDto>;
|
|
1538
1541
|
}
|
|
1539
1542
|
export interface IMesClient {
|
|
1540
1543
|
getWorkerDetailsForCurrentUser(): Promise<WorkerDto>;
|
|
@@ -6957,7 +6960,7 @@ export interface IMarkdownNotesDto {
|
|
|
6957
6960
|
}
|
|
6958
6961
|
export declare class SaveMarkdownNotes implements ISaveMarkdownNotes {
|
|
6959
6962
|
id: string;
|
|
6960
|
-
markdown
|
|
6963
|
+
markdown?: string;
|
|
6961
6964
|
constructor(data?: ISaveMarkdownNotes);
|
|
6962
6965
|
init(_data?: any): void;
|
|
6963
6966
|
static fromJS(data: any): SaveMarkdownNotes;
|
|
@@ -6965,7 +6968,7 @@ export declare class SaveMarkdownNotes implements ISaveMarkdownNotes {
|
|
|
6965
6968
|
}
|
|
6966
6969
|
export interface ISaveMarkdownNotes {
|
|
6967
6970
|
id: string;
|
|
6968
|
-
markdown
|
|
6971
|
+
markdown?: string;
|
|
6969
6972
|
}
|
|
6970
6973
|
export declare class CncToolTypeDto implements ICncToolTypeDto {
|
|
6971
6974
|
id: string;
|
|
@@ -8073,8 +8076,8 @@ export interface IBookingTransportRequestDto {
|
|
|
8073
8076
|
toLocationId: string;
|
|
8074
8077
|
}
|
|
8075
8078
|
export declare class BookingItemRequestDto implements IBookingItemRequestDto {
|
|
8076
|
-
parcelId
|
|
8077
|
-
trackingId
|
|
8079
|
+
parcelId: string;
|
|
8080
|
+
trackingId: string;
|
|
8078
8081
|
comment?: string | null;
|
|
8079
8082
|
constructor(data?: IBookingItemRequestDto);
|
|
8080
8083
|
init(_data?: any): void;
|
|
@@ -8082,8 +8085,8 @@ export declare class BookingItemRequestDto implements IBookingItemRequestDto {
|
|
|
8082
8085
|
toJSON(data?: any): any;
|
|
8083
8086
|
}
|
|
8084
8087
|
export interface IBookingItemRequestDto {
|
|
8085
|
-
parcelId
|
|
8086
|
-
trackingId
|
|
8088
|
+
parcelId: string;
|
|
8089
|
+
trackingId: string;
|
|
8087
8090
|
comment?: string | null;
|
|
8088
8091
|
}
|
|
8089
8092
|
export declare class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
|
|
@@ -8175,6 +8178,7 @@ export interface IMaterialUpdateDto {
|
|
|
8175
8178
|
}
|
|
8176
8179
|
export declare class SearchParcelDto implements ISearchParcelDto {
|
|
8177
8180
|
parcelId: string;
|
|
8181
|
+
parcelKind: ParcelKindDto;
|
|
8178
8182
|
matchCriteria: SearchMatchCriteriaDto;
|
|
8179
8183
|
items: SearchParcelItemDto[];
|
|
8180
8184
|
partName?: string | null;
|
|
@@ -8186,6 +8190,7 @@ export declare class SearchParcelDto implements ISearchParcelDto {
|
|
|
8186
8190
|
}
|
|
8187
8191
|
export interface ISearchParcelDto {
|
|
8188
8192
|
parcelId: string;
|
|
8193
|
+
parcelKind: ParcelKindDto;
|
|
8189
8194
|
matchCriteria: SearchMatchCriteriaDto;
|
|
8190
8195
|
items: SearchParcelItemDto[];
|
|
8191
8196
|
partName?: string | null;
|
|
@@ -8343,6 +8348,30 @@ export declare class TrackingHistoryUpdateDto implements ITrackingHistoryUpdateD
|
|
|
8343
8348
|
export interface ITrackingHistoryUpdateDto {
|
|
8344
8349
|
parcelId: string;
|
|
8345
8350
|
}
|
|
8351
|
+
export declare class LabelUpdateListDto implements ILabelUpdateListDto {
|
|
8352
|
+
labelUpdates: LabelUpdateDto[];
|
|
8353
|
+
constructor(data?: ILabelUpdateListDto);
|
|
8354
|
+
init(_data?: any): void;
|
|
8355
|
+
static fromJS(data: any): LabelUpdateListDto;
|
|
8356
|
+
toJSON(data?: any): any;
|
|
8357
|
+
}
|
|
8358
|
+
export interface ILabelUpdateListDto {
|
|
8359
|
+
labelUpdates: LabelUpdateDto[];
|
|
8360
|
+
}
|
|
8361
|
+
export declare class LabelUpdateDto implements ILabelUpdateDto {
|
|
8362
|
+
parcelId: string;
|
|
8363
|
+
trackingId?: string | null;
|
|
8364
|
+
comment?: string | null;
|
|
8365
|
+
constructor(data?: ILabelUpdateDto);
|
|
8366
|
+
init(_data?: any): void;
|
|
8367
|
+
static fromJS(data: any): LabelUpdateDto;
|
|
8368
|
+
toJSON(data?: any): any;
|
|
8369
|
+
}
|
|
8370
|
+
export interface ILabelUpdateDto {
|
|
8371
|
+
parcelId: string;
|
|
8372
|
+
trackingId?: string | null;
|
|
8373
|
+
comment?: string | null;
|
|
8374
|
+
}
|
|
8346
8375
|
export declare class WorkerDto implements IWorkerDto {
|
|
8347
8376
|
personnelNumber?: string | null;
|
|
8348
8377
|
badgeId?: string | null;
|
|
@@ -8915,7 +8944,6 @@ export declare class GenerateProductionOrderPdf implements IGenerateProductionOr
|
|
|
8915
8944
|
type: ProductionOrderPdfType;
|
|
8916
8945
|
includeOperations: boolean;
|
|
8917
8946
|
includeDrawing: boolean;
|
|
8918
|
-
includeOperationText: boolean;
|
|
8919
8947
|
constructor(data?: IGenerateProductionOrderPdf);
|
|
8920
8948
|
init(_data?: any): void;
|
|
8921
8949
|
static fromJS(data: any): GenerateProductionOrderPdf;
|
|
@@ -8926,7 +8954,6 @@ export interface IGenerateProductionOrderPdf {
|
|
|
8926
8954
|
type: ProductionOrderPdfType;
|
|
8927
8955
|
includeOperations: boolean;
|
|
8928
8956
|
includeDrawing: boolean;
|
|
8929
|
-
includeOperationText: boolean;
|
|
8930
8957
|
}
|
|
8931
8958
|
export type ProductionOrderPdfType = "Rich" | "Compact";
|
|
8932
8959
|
export declare class PagedResultOfProductionScheduleOperationDto implements IPagedResultOfProductionScheduleOperationDto {
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -12673,6 +12673,46 @@ export class MoveTrackingClient extends AuthorizedApiBase {
|
|
|
12673
12673
|
}
|
|
12674
12674
|
return Promise.resolve(null);
|
|
12675
12675
|
}
|
|
12676
|
+
createLabelAndUpdateParcel(labelUpdate) {
|
|
12677
|
+
let url_ = this.baseUrl + "/move/tracking/labelupdate";
|
|
12678
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
12679
|
+
const content_ = JSON.stringify(labelUpdate);
|
|
12680
|
+
let options_ = {
|
|
12681
|
+
body: content_,
|
|
12682
|
+
method: "POST",
|
|
12683
|
+
headers: {
|
|
12684
|
+
"Content-Type": "application/json",
|
|
12685
|
+
"Accept": "application/json"
|
|
12686
|
+
}
|
|
12687
|
+
};
|
|
12688
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
12689
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
12690
|
+
}).then((_response) => {
|
|
12691
|
+
return this.processCreateLabelAndUpdateParcel(_response);
|
|
12692
|
+
});
|
|
12693
|
+
}
|
|
12694
|
+
processCreateLabelAndUpdateParcel(response) {
|
|
12695
|
+
const status = response.status;
|
|
12696
|
+
let _headers = {};
|
|
12697
|
+
if (response.headers && response.headers.forEach) {
|
|
12698
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
12699
|
+
}
|
|
12700
|
+
;
|
|
12701
|
+
if (status === 200) {
|
|
12702
|
+
return response.text().then((_responseText) => {
|
|
12703
|
+
let result200 = null;
|
|
12704
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
12705
|
+
result200 = DownloadDto.fromJS(resultData200);
|
|
12706
|
+
return result200;
|
|
12707
|
+
});
|
|
12708
|
+
}
|
|
12709
|
+
else if (status !== 200 && status !== 204) {
|
|
12710
|
+
return response.text().then((_responseText) => {
|
|
12711
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
12712
|
+
});
|
|
12713
|
+
}
|
|
12714
|
+
return Promise.resolve(null);
|
|
12715
|
+
}
|
|
12676
12716
|
}
|
|
12677
12717
|
export class MesClient extends AuthorizedApiBase {
|
|
12678
12718
|
constructor(configuration, baseUrl, http) {
|
|
@@ -31177,6 +31217,7 @@ export class SearchParcelDto {
|
|
|
31177
31217
|
init(_data) {
|
|
31178
31218
|
if (_data) {
|
|
31179
31219
|
this.parcelId = _data["parcelId"];
|
|
31220
|
+
this.parcelKind = _data["parcelKind"];
|
|
31180
31221
|
this.matchCriteria = _data["matchCriteria"];
|
|
31181
31222
|
if (Array.isArray(_data["items"])) {
|
|
31182
31223
|
this.items = [];
|
|
@@ -31196,6 +31237,7 @@ export class SearchParcelDto {
|
|
|
31196
31237
|
toJSON(data) {
|
|
31197
31238
|
data = typeof data === 'object' ? data : {};
|
|
31198
31239
|
data["parcelId"] = this.parcelId;
|
|
31240
|
+
data["parcelKind"] = this.parcelKind;
|
|
31199
31241
|
data["matchCriteria"] = this.matchCriteria;
|
|
31200
31242
|
if (Array.isArray(this.items)) {
|
|
31201
31243
|
data["items"] = [];
|
|
@@ -31585,6 +31627,73 @@ export class TrackingHistoryUpdateDto {
|
|
|
31585
31627
|
return data;
|
|
31586
31628
|
}
|
|
31587
31629
|
}
|
|
31630
|
+
export class LabelUpdateListDto {
|
|
31631
|
+
constructor(data) {
|
|
31632
|
+
if (data) {
|
|
31633
|
+
for (var property in data) {
|
|
31634
|
+
if (data.hasOwnProperty(property))
|
|
31635
|
+
this[property] = data[property];
|
|
31636
|
+
}
|
|
31637
|
+
}
|
|
31638
|
+
if (!data) {
|
|
31639
|
+
this.labelUpdates = [];
|
|
31640
|
+
}
|
|
31641
|
+
}
|
|
31642
|
+
init(_data) {
|
|
31643
|
+
if (_data) {
|
|
31644
|
+
if (Array.isArray(_data["labelUpdates"])) {
|
|
31645
|
+
this.labelUpdates = [];
|
|
31646
|
+
for (let item of _data["labelUpdates"])
|
|
31647
|
+
this.labelUpdates.push(LabelUpdateDto.fromJS(item));
|
|
31648
|
+
}
|
|
31649
|
+
}
|
|
31650
|
+
}
|
|
31651
|
+
static fromJS(data) {
|
|
31652
|
+
data = typeof data === 'object' ? data : {};
|
|
31653
|
+
let result = new LabelUpdateListDto();
|
|
31654
|
+
result.init(data);
|
|
31655
|
+
return result;
|
|
31656
|
+
}
|
|
31657
|
+
toJSON(data) {
|
|
31658
|
+
data = typeof data === 'object' ? data : {};
|
|
31659
|
+
if (Array.isArray(this.labelUpdates)) {
|
|
31660
|
+
data["labelUpdates"] = [];
|
|
31661
|
+
for (let item of this.labelUpdates)
|
|
31662
|
+
data["labelUpdates"].push(item.toJSON());
|
|
31663
|
+
}
|
|
31664
|
+
return data;
|
|
31665
|
+
}
|
|
31666
|
+
}
|
|
31667
|
+
export class LabelUpdateDto {
|
|
31668
|
+
constructor(data) {
|
|
31669
|
+
if (data) {
|
|
31670
|
+
for (var property in data) {
|
|
31671
|
+
if (data.hasOwnProperty(property))
|
|
31672
|
+
this[property] = data[property];
|
|
31673
|
+
}
|
|
31674
|
+
}
|
|
31675
|
+
}
|
|
31676
|
+
init(_data) {
|
|
31677
|
+
if (_data) {
|
|
31678
|
+
this.parcelId = _data["parcelId"];
|
|
31679
|
+
this.trackingId = _data["trackingId"];
|
|
31680
|
+
this.comment = _data["comment"];
|
|
31681
|
+
}
|
|
31682
|
+
}
|
|
31683
|
+
static fromJS(data) {
|
|
31684
|
+
data = typeof data === 'object' ? data : {};
|
|
31685
|
+
let result = new LabelUpdateDto();
|
|
31686
|
+
result.init(data);
|
|
31687
|
+
return result;
|
|
31688
|
+
}
|
|
31689
|
+
toJSON(data) {
|
|
31690
|
+
data = typeof data === 'object' ? data : {};
|
|
31691
|
+
data["parcelId"] = this.parcelId;
|
|
31692
|
+
data["trackingId"] = this.trackingId;
|
|
31693
|
+
data["comment"] = this.comment;
|
|
31694
|
+
return data;
|
|
31695
|
+
}
|
|
31696
|
+
}
|
|
31588
31697
|
export class WorkerDto {
|
|
31589
31698
|
constructor(data) {
|
|
31590
31699
|
if (data) {
|
|
@@ -32633,7 +32742,6 @@ export class GenerateProductionOrderPdf {
|
|
|
32633
32742
|
this.type = _data["type"];
|
|
32634
32743
|
this.includeOperations = _data["includeOperations"];
|
|
32635
32744
|
this.includeDrawing = _data["includeDrawing"];
|
|
32636
|
-
this.includeOperationText = _data["includeOperationText"];
|
|
32637
32745
|
}
|
|
32638
32746
|
}
|
|
32639
32747
|
static fromJS(data) {
|
|
@@ -32652,7 +32760,6 @@ export class GenerateProductionOrderPdf {
|
|
|
32652
32760
|
data["type"] = this.type;
|
|
32653
32761
|
data["includeOperations"] = this.includeOperations;
|
|
32654
32762
|
data["includeDrawing"] = this.includeDrawing;
|
|
32655
|
-
data["includeOperationText"] = this.includeOperationText;
|
|
32656
32763
|
return data;
|
|
32657
32764
|
}
|
|
32658
32765
|
}
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -13195,6 +13195,8 @@ export interface IMoveTrackingClient {
|
|
|
13195
13195
|
deleteTrackingHistory(trackingId: string): Promise<void>;
|
|
13196
13196
|
|
|
13197
13197
|
createLabel(trackingIds: string[]): Promise<DownloadDto>;
|
|
13198
|
+
|
|
13199
|
+
createLabelAndUpdateParcel(labelUpdate: LabelUpdateListDto): Promise<DownloadDto>;
|
|
13198
13200
|
}
|
|
13199
13201
|
|
|
13200
13202
|
export class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
|
|
@@ -13540,6 +13542,46 @@ export class MoveTrackingClient extends AuthorizedApiBase implements IMoveTracki
|
|
|
13540
13542
|
}
|
|
13541
13543
|
return Promise.resolve<DownloadDto>(null as any);
|
|
13542
13544
|
}
|
|
13545
|
+
|
|
13546
|
+
createLabelAndUpdateParcel(labelUpdate: LabelUpdateListDto): Promise<DownloadDto> {
|
|
13547
|
+
let url_ = this.baseUrl + "/move/tracking/labelupdate";
|
|
13548
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
13549
|
+
|
|
13550
|
+
const content_ = JSON.stringify(labelUpdate);
|
|
13551
|
+
|
|
13552
|
+
let options_: RequestInit = {
|
|
13553
|
+
body: content_,
|
|
13554
|
+
method: "POST",
|
|
13555
|
+
headers: {
|
|
13556
|
+
"Content-Type": "application/json",
|
|
13557
|
+
"Accept": "application/json"
|
|
13558
|
+
}
|
|
13559
|
+
};
|
|
13560
|
+
|
|
13561
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
13562
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
13563
|
+
}).then((_response: Response) => {
|
|
13564
|
+
return this.processCreateLabelAndUpdateParcel(_response);
|
|
13565
|
+
});
|
|
13566
|
+
}
|
|
13567
|
+
|
|
13568
|
+
protected processCreateLabelAndUpdateParcel(response: Response): Promise<DownloadDto> {
|
|
13569
|
+
const status = response.status;
|
|
13570
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
13571
|
+
if (status === 200) {
|
|
13572
|
+
return response.text().then((_responseText) => {
|
|
13573
|
+
let result200: any = null;
|
|
13574
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
13575
|
+
result200 = DownloadDto.fromJS(resultData200);
|
|
13576
|
+
return result200;
|
|
13577
|
+
});
|
|
13578
|
+
} else if (status !== 200 && status !== 204) {
|
|
13579
|
+
return response.text().then((_responseText) => {
|
|
13580
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
13581
|
+
});
|
|
13582
|
+
}
|
|
13583
|
+
return Promise.resolve<DownloadDto>(null as any);
|
|
13584
|
+
}
|
|
13543
13585
|
}
|
|
13544
13586
|
|
|
13545
13587
|
export interface IMesClient {
|
|
@@ -34737,7 +34779,7 @@ export interface IMarkdownNotesDto {
|
|
|
34737
34779
|
|
|
34738
34780
|
export class SaveMarkdownNotes implements ISaveMarkdownNotes {
|
|
34739
34781
|
id!: string;
|
|
34740
|
-
markdown
|
|
34782
|
+
markdown?: string;
|
|
34741
34783
|
|
|
34742
34784
|
constructor(data?: ISaveMarkdownNotes) {
|
|
34743
34785
|
if (data) {
|
|
@@ -34772,7 +34814,7 @@ export class SaveMarkdownNotes implements ISaveMarkdownNotes {
|
|
|
34772
34814
|
|
|
34773
34815
|
export interface ISaveMarkdownNotes {
|
|
34774
34816
|
id: string;
|
|
34775
|
-
markdown
|
|
34817
|
+
markdown?: string;
|
|
34776
34818
|
}
|
|
34777
34819
|
|
|
34778
34820
|
export class CncToolTypeDto implements ICncToolTypeDto {
|
|
@@ -37994,8 +38036,8 @@ export interface IBookingTransportRequestDto {
|
|
|
37994
38036
|
}
|
|
37995
38037
|
|
|
37996
38038
|
export class BookingItemRequestDto implements IBookingItemRequestDto {
|
|
37997
|
-
parcelId
|
|
37998
|
-
trackingId
|
|
38039
|
+
parcelId!: string;
|
|
38040
|
+
trackingId!: string;
|
|
37999
38041
|
comment?: string | null;
|
|
38000
38042
|
|
|
38001
38043
|
constructor(data?: IBookingItemRequestDto) {
|
|
@@ -38032,8 +38074,8 @@ export class BookingItemRequestDto implements IBookingItemRequestDto {
|
|
|
38032
38074
|
}
|
|
38033
38075
|
|
|
38034
38076
|
export interface IBookingItemRequestDto {
|
|
38035
|
-
parcelId
|
|
38036
|
-
trackingId
|
|
38077
|
+
parcelId: string;
|
|
38078
|
+
trackingId: string;
|
|
38037
38079
|
comment?: string | null;
|
|
38038
38080
|
}
|
|
38039
38081
|
|
|
@@ -38336,6 +38378,7 @@ export interface IMaterialUpdateDto {
|
|
|
38336
38378
|
|
|
38337
38379
|
export class SearchParcelDto implements ISearchParcelDto {
|
|
38338
38380
|
parcelId!: string;
|
|
38381
|
+
parcelKind!: ParcelKindDto;
|
|
38339
38382
|
matchCriteria!: SearchMatchCriteriaDto;
|
|
38340
38383
|
items!: SearchParcelItemDto[];
|
|
38341
38384
|
partName?: string | null;
|
|
@@ -38356,6 +38399,7 @@ export class SearchParcelDto implements ISearchParcelDto {
|
|
|
38356
38399
|
init(_data?: any) {
|
|
38357
38400
|
if (_data) {
|
|
38358
38401
|
this.parcelId = _data["parcelId"];
|
|
38402
|
+
this.parcelKind = _data["parcelKind"];
|
|
38359
38403
|
this.matchCriteria = _data["matchCriteria"];
|
|
38360
38404
|
if (Array.isArray(_data["items"])) {
|
|
38361
38405
|
this.items = [] as any;
|
|
@@ -38377,6 +38421,7 @@ export class SearchParcelDto implements ISearchParcelDto {
|
|
|
38377
38421
|
toJSON(data?: any) {
|
|
38378
38422
|
data = typeof data === 'object' ? data : {};
|
|
38379
38423
|
data["parcelId"] = this.parcelId;
|
|
38424
|
+
data["parcelKind"] = this.parcelKind;
|
|
38380
38425
|
data["matchCriteria"] = this.matchCriteria;
|
|
38381
38426
|
if (Array.isArray(this.items)) {
|
|
38382
38427
|
data["items"] = [];
|
|
@@ -38391,6 +38436,7 @@ export class SearchParcelDto implements ISearchParcelDto {
|
|
|
38391
38436
|
|
|
38392
38437
|
export interface ISearchParcelDto {
|
|
38393
38438
|
parcelId: string;
|
|
38439
|
+
parcelKind: ParcelKindDto;
|
|
38394
38440
|
matchCriteria: SearchMatchCriteriaDto;
|
|
38395
38441
|
items: SearchParcelItemDto[];
|
|
38396
38442
|
partName?: string | null;
|
|
@@ -38929,6 +38975,97 @@ export interface ITrackingHistoryUpdateDto {
|
|
|
38929
38975
|
parcelId: string;
|
|
38930
38976
|
}
|
|
38931
38977
|
|
|
38978
|
+
export class LabelUpdateListDto implements ILabelUpdateListDto {
|
|
38979
|
+
labelUpdates!: LabelUpdateDto[];
|
|
38980
|
+
|
|
38981
|
+
constructor(data?: ILabelUpdateListDto) {
|
|
38982
|
+
if (data) {
|
|
38983
|
+
for (var property in data) {
|
|
38984
|
+
if (data.hasOwnProperty(property))
|
|
38985
|
+
(<any>this)[property] = (<any>data)[property];
|
|
38986
|
+
}
|
|
38987
|
+
}
|
|
38988
|
+
if (!data) {
|
|
38989
|
+
this.labelUpdates = [];
|
|
38990
|
+
}
|
|
38991
|
+
}
|
|
38992
|
+
|
|
38993
|
+
init(_data?: any) {
|
|
38994
|
+
if (_data) {
|
|
38995
|
+
if (Array.isArray(_data["labelUpdates"])) {
|
|
38996
|
+
this.labelUpdates = [] as any;
|
|
38997
|
+
for (let item of _data["labelUpdates"])
|
|
38998
|
+
this.labelUpdates!.push(LabelUpdateDto.fromJS(item));
|
|
38999
|
+
}
|
|
39000
|
+
}
|
|
39001
|
+
}
|
|
39002
|
+
|
|
39003
|
+
static fromJS(data: any): LabelUpdateListDto {
|
|
39004
|
+
data = typeof data === 'object' ? data : {};
|
|
39005
|
+
let result = new LabelUpdateListDto();
|
|
39006
|
+
result.init(data);
|
|
39007
|
+
return result;
|
|
39008
|
+
}
|
|
39009
|
+
|
|
39010
|
+
toJSON(data?: any) {
|
|
39011
|
+
data = typeof data === 'object' ? data : {};
|
|
39012
|
+
if (Array.isArray(this.labelUpdates)) {
|
|
39013
|
+
data["labelUpdates"] = [];
|
|
39014
|
+
for (let item of this.labelUpdates)
|
|
39015
|
+
data["labelUpdates"].push(item.toJSON());
|
|
39016
|
+
}
|
|
39017
|
+
return data;
|
|
39018
|
+
}
|
|
39019
|
+
}
|
|
39020
|
+
|
|
39021
|
+
export interface ILabelUpdateListDto {
|
|
39022
|
+
labelUpdates: LabelUpdateDto[];
|
|
39023
|
+
}
|
|
39024
|
+
|
|
39025
|
+
export class LabelUpdateDto implements ILabelUpdateDto {
|
|
39026
|
+
parcelId!: string;
|
|
39027
|
+
trackingId?: string | null;
|
|
39028
|
+
comment?: string | null;
|
|
39029
|
+
|
|
39030
|
+
constructor(data?: ILabelUpdateDto) {
|
|
39031
|
+
if (data) {
|
|
39032
|
+
for (var property in data) {
|
|
39033
|
+
if (data.hasOwnProperty(property))
|
|
39034
|
+
(<any>this)[property] = (<any>data)[property];
|
|
39035
|
+
}
|
|
39036
|
+
}
|
|
39037
|
+
}
|
|
39038
|
+
|
|
39039
|
+
init(_data?: any) {
|
|
39040
|
+
if (_data) {
|
|
39041
|
+
this.parcelId = _data["parcelId"];
|
|
39042
|
+
this.trackingId = _data["trackingId"];
|
|
39043
|
+
this.comment = _data["comment"];
|
|
39044
|
+
}
|
|
39045
|
+
}
|
|
39046
|
+
|
|
39047
|
+
static fromJS(data: any): LabelUpdateDto {
|
|
39048
|
+
data = typeof data === 'object' ? data : {};
|
|
39049
|
+
let result = new LabelUpdateDto();
|
|
39050
|
+
result.init(data);
|
|
39051
|
+
return result;
|
|
39052
|
+
}
|
|
39053
|
+
|
|
39054
|
+
toJSON(data?: any) {
|
|
39055
|
+
data = typeof data === 'object' ? data : {};
|
|
39056
|
+
data["parcelId"] = this.parcelId;
|
|
39057
|
+
data["trackingId"] = this.trackingId;
|
|
39058
|
+
data["comment"] = this.comment;
|
|
39059
|
+
return data;
|
|
39060
|
+
}
|
|
39061
|
+
}
|
|
39062
|
+
|
|
39063
|
+
export interface ILabelUpdateDto {
|
|
39064
|
+
parcelId: string;
|
|
39065
|
+
trackingId?: string | null;
|
|
39066
|
+
comment?: string | null;
|
|
39067
|
+
}
|
|
39068
|
+
|
|
38932
39069
|
export class WorkerDto implements IWorkerDto {
|
|
38933
39070
|
personnelNumber?: string | null;
|
|
38934
39071
|
badgeId?: string | null;
|
|
@@ -40530,7 +40667,6 @@ export class GenerateProductionOrderPdf implements IGenerateProductionOrderPdf {
|
|
|
40530
40667
|
type!: ProductionOrderPdfType;
|
|
40531
40668
|
includeOperations!: boolean;
|
|
40532
40669
|
includeDrawing!: boolean;
|
|
40533
|
-
includeOperationText!: boolean;
|
|
40534
40670
|
|
|
40535
40671
|
constructor(data?: IGenerateProductionOrderPdf) {
|
|
40536
40672
|
if (data) {
|
|
@@ -40554,7 +40690,6 @@ export class GenerateProductionOrderPdf implements IGenerateProductionOrderPdf {
|
|
|
40554
40690
|
this.type = _data["type"];
|
|
40555
40691
|
this.includeOperations = _data["includeOperations"];
|
|
40556
40692
|
this.includeDrawing = _data["includeDrawing"];
|
|
40557
|
-
this.includeOperationText = _data["includeOperationText"];
|
|
40558
40693
|
}
|
|
40559
40694
|
}
|
|
40560
40695
|
|
|
@@ -40575,7 +40710,6 @@ export class GenerateProductionOrderPdf implements IGenerateProductionOrderPdf {
|
|
|
40575
40710
|
data["type"] = this.type;
|
|
40576
40711
|
data["includeOperations"] = this.includeOperations;
|
|
40577
40712
|
data["includeDrawing"] = this.includeDrawing;
|
|
40578
|
-
data["includeOperationText"] = this.includeOperationText;
|
|
40579
40713
|
return data;
|
|
40580
40714
|
}
|
|
40581
40715
|
}
|
|
@@ -40585,7 +40719,6 @@ export interface IGenerateProductionOrderPdf {
|
|
|
40585
40719
|
type: ProductionOrderPdfType;
|
|
40586
40720
|
includeOperations: boolean;
|
|
40587
40721
|
includeDrawing: boolean;
|
|
40588
|
-
includeOperationText: boolean;
|
|
40589
40722
|
}
|
|
40590
40723
|
|
|
40591
40724
|
export type ProductionOrderPdfType = "Rich" | "Compact";
|