@ignos/api-client 20240910.0.10291-alpha → 20240910.0.10294
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 +2 -27
- package/lib/ignosportal-api.js +2 -107
- package/package.json +1 -1
- package/src/ignosportal-api.ts +4 -133
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -1646,7 +1646,6 @@ export interface IMesProductionOrderClient {
|
|
|
1646
1646
|
postMaterialPickList(id: string, operationNumber: number, request: PostMaterialPickListRequest): Promise<MaterialPickListResultDto>;
|
|
1647
1647
|
listProductionOrderActivities(id: string, operation: number | null | undefined): Promise<ProductionOrderOperationActivityDto[]>;
|
|
1648
1648
|
getPrintableProductionOrders(request: GenerateProductionOrderPdf): Promise<DownloadDto>;
|
|
1649
|
-
getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
|
|
1650
1649
|
}
|
|
1651
1650
|
export declare class MesProductionOrderClient extends AuthorizedApiBase implements IMesProductionOrderClient {
|
|
1652
1651
|
private http;
|
|
@@ -1671,8 +1670,6 @@ export declare class MesProductionOrderClient extends AuthorizedApiBase implemen
|
|
|
1671
1670
|
protected processListProductionOrderActivities(response: Response): Promise<ProductionOrderOperationActivityDto[]>;
|
|
1672
1671
|
getPrintableProductionOrders(request: GenerateProductionOrderPdf): Promise<DownloadDto>;
|
|
1673
1672
|
protected processGetPrintableProductionOrders(response: Response): Promise<DownloadDto>;
|
|
1674
|
-
getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
|
|
1675
|
-
protected processGetPrintableLabels(response: Response): Promise<DownloadDto>;
|
|
1676
1673
|
}
|
|
1677
1674
|
export interface IMesProductionScheduleClient {
|
|
1678
1675
|
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
@@ -8137,6 +8134,7 @@ export declare class BookingItemRequestDto implements IBookingItemRequestDto {
|
|
|
8137
8134
|
trackingId: string;
|
|
8138
8135
|
fromLocationId: string;
|
|
8139
8136
|
toLocationId: string;
|
|
8137
|
+
transportKind: TransportKindDto;
|
|
8140
8138
|
comment?: string | null;
|
|
8141
8139
|
constructor(data?: IBookingItemRequestDto);
|
|
8142
8140
|
init(_data?: any): void;
|
|
@@ -8148,10 +8146,10 @@ export interface IBookingItemRequestDto {
|
|
|
8148
8146
|
trackingId: string;
|
|
8149
8147
|
fromLocationId: string;
|
|
8150
8148
|
toLocationId: string;
|
|
8149
|
+
transportKind: TransportKindDto;
|
|
8151
8150
|
comment?: string | null;
|
|
8152
8151
|
}
|
|
8153
8152
|
export declare class BookingTransportRequestDto implements IBookingTransportRequestDto {
|
|
8154
|
-
transportKind: TransportKindDto;
|
|
8155
8153
|
items: BookingItemRequestDto[];
|
|
8156
8154
|
constructor(data?: IBookingTransportRequestDto);
|
|
8157
8155
|
init(_data?: any): void;
|
|
@@ -8159,7 +8157,6 @@ export declare class BookingTransportRequestDto implements IBookingTransportRequ
|
|
|
8159
8157
|
toJSON(data?: any): any;
|
|
8160
8158
|
}
|
|
8161
8159
|
export interface IBookingTransportRequestDto {
|
|
8162
|
-
transportKind: TransportKindDto;
|
|
8163
8160
|
items: BookingItemRequestDto[];
|
|
8164
8161
|
}
|
|
8165
8162
|
export declare class BookingGeneralRequestDto implements IBookingGeneralRequestDto {
|
|
@@ -9073,28 +9070,6 @@ export interface IGenerateProductionOrderPdf {
|
|
|
9073
9070
|
includeDrawing: boolean;
|
|
9074
9071
|
}
|
|
9075
9072
|
export type ProductionOrderPdfType = "Rich" | "Compact";
|
|
9076
|
-
export declare class GeneratePrintableLabel implements IGeneratePrintableLabel {
|
|
9077
|
-
labelIds: LabelId[];
|
|
9078
|
-
constructor(data?: IGeneratePrintableLabel);
|
|
9079
|
-
init(_data?: any): void;
|
|
9080
|
-
static fromJS(data: any): GeneratePrintableLabel;
|
|
9081
|
-
toJSON(data?: any): any;
|
|
9082
|
-
}
|
|
9083
|
-
export interface IGeneratePrintableLabel {
|
|
9084
|
-
labelIds: LabelId[];
|
|
9085
|
-
}
|
|
9086
|
-
export declare class LabelId implements ILabelId {
|
|
9087
|
-
parcelId: string;
|
|
9088
|
-
trackingId?: string | null;
|
|
9089
|
-
constructor(data?: ILabelId);
|
|
9090
|
-
init(_data?: any): void;
|
|
9091
|
-
static fromJS(data: any): LabelId;
|
|
9092
|
-
toJSON(data?: any): any;
|
|
9093
|
-
}
|
|
9094
|
-
export interface ILabelId {
|
|
9095
|
-
parcelId: string;
|
|
9096
|
-
trackingId?: string | null;
|
|
9097
|
-
}
|
|
9098
9073
|
export declare class PagedResultOfProductionScheduleOperationDto implements IPagedResultOfProductionScheduleOperationDto {
|
|
9099
9074
|
results: ProductionScheduleOperationDto[];
|
|
9100
9075
|
continuationToken?: string | null;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -13680,46 +13680,6 @@ export class MesProductionOrderClient extends AuthorizedApiBase {
|
|
|
13680
13680
|
}
|
|
13681
13681
|
return Promise.resolve(null);
|
|
13682
13682
|
}
|
|
13683
|
-
getPrintableLabels(request) {
|
|
13684
|
-
let url_ = this.baseUrl + "/mes/labels/printable";
|
|
13685
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
13686
|
-
const content_ = JSON.stringify(request);
|
|
13687
|
-
let options_ = {
|
|
13688
|
-
body: content_,
|
|
13689
|
-
method: "POST",
|
|
13690
|
-
headers: {
|
|
13691
|
-
"Content-Type": "application/json",
|
|
13692
|
-
"Accept": "application/json"
|
|
13693
|
-
}
|
|
13694
|
-
};
|
|
13695
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
13696
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
13697
|
-
}).then((_response) => {
|
|
13698
|
-
return this.processGetPrintableLabels(_response);
|
|
13699
|
-
});
|
|
13700
|
-
}
|
|
13701
|
-
processGetPrintableLabels(response) {
|
|
13702
|
-
const status = response.status;
|
|
13703
|
-
let _headers = {};
|
|
13704
|
-
if (response.headers && response.headers.forEach) {
|
|
13705
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
13706
|
-
}
|
|
13707
|
-
;
|
|
13708
|
-
if (status === 200) {
|
|
13709
|
-
return response.text().then((_responseText) => {
|
|
13710
|
-
let result200 = null;
|
|
13711
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
13712
|
-
result200 = DownloadDto.fromJS(resultData200);
|
|
13713
|
-
return result200;
|
|
13714
|
-
});
|
|
13715
|
-
}
|
|
13716
|
-
else if (status !== 200 && status !== 204) {
|
|
13717
|
-
return response.text().then((_responseText) => {
|
|
13718
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
13719
|
-
});
|
|
13720
|
-
}
|
|
13721
|
-
return Promise.resolve(null);
|
|
13722
|
-
}
|
|
13723
13683
|
}
|
|
13724
13684
|
export class MesProductionScheduleClient extends AuthorizedApiBase {
|
|
13725
13685
|
constructor(configuration, baseUrl, http) {
|
|
@@ -31311,6 +31271,7 @@ export class BookingItemRequestDto {
|
|
|
31311
31271
|
this.trackingId = _data["trackingId"];
|
|
31312
31272
|
this.fromLocationId = _data["fromLocationId"];
|
|
31313
31273
|
this.toLocationId = _data["toLocationId"];
|
|
31274
|
+
this.transportKind = _data["transportKind"];
|
|
31314
31275
|
this.comment = _data["comment"];
|
|
31315
31276
|
}
|
|
31316
31277
|
}
|
|
@@ -31326,6 +31287,7 @@ export class BookingItemRequestDto {
|
|
|
31326
31287
|
data["trackingId"] = this.trackingId;
|
|
31327
31288
|
data["fromLocationId"] = this.fromLocationId;
|
|
31328
31289
|
data["toLocationId"] = this.toLocationId;
|
|
31290
|
+
data["transportKind"] = this.transportKind;
|
|
31329
31291
|
data["comment"] = this.comment;
|
|
31330
31292
|
return data;
|
|
31331
31293
|
}
|
|
@@ -31344,7 +31306,6 @@ export class BookingTransportRequestDto {
|
|
|
31344
31306
|
}
|
|
31345
31307
|
init(_data) {
|
|
31346
31308
|
if (_data) {
|
|
31347
|
-
this.transportKind = _data["transportKind"];
|
|
31348
31309
|
if (Array.isArray(_data["items"])) {
|
|
31349
31310
|
this.items = [];
|
|
31350
31311
|
for (let item of _data["items"])
|
|
@@ -31360,7 +31321,6 @@ export class BookingTransportRequestDto {
|
|
|
31360
31321
|
}
|
|
31361
31322
|
toJSON(data) {
|
|
31362
31323
|
data = typeof data === 'object' ? data : {};
|
|
31363
|
-
data["transportKind"] = this.transportKind;
|
|
31364
31324
|
if (Array.isArray(this.items)) {
|
|
31365
31325
|
data["items"] = [];
|
|
31366
31326
|
for (let item of this.items)
|
|
@@ -33237,71 +33197,6 @@ export class GenerateProductionOrderPdf {
|
|
|
33237
33197
|
return data;
|
|
33238
33198
|
}
|
|
33239
33199
|
}
|
|
33240
|
-
export class GeneratePrintableLabel {
|
|
33241
|
-
constructor(data) {
|
|
33242
|
-
if (data) {
|
|
33243
|
-
for (var property in data) {
|
|
33244
|
-
if (data.hasOwnProperty(property))
|
|
33245
|
-
this[property] = data[property];
|
|
33246
|
-
}
|
|
33247
|
-
}
|
|
33248
|
-
if (!data) {
|
|
33249
|
-
this.labelIds = [];
|
|
33250
|
-
}
|
|
33251
|
-
}
|
|
33252
|
-
init(_data) {
|
|
33253
|
-
if (_data) {
|
|
33254
|
-
if (Array.isArray(_data["labelIds"])) {
|
|
33255
|
-
this.labelIds = [];
|
|
33256
|
-
for (let item of _data["labelIds"])
|
|
33257
|
-
this.labelIds.push(LabelId.fromJS(item));
|
|
33258
|
-
}
|
|
33259
|
-
}
|
|
33260
|
-
}
|
|
33261
|
-
static fromJS(data) {
|
|
33262
|
-
data = typeof data === 'object' ? data : {};
|
|
33263
|
-
let result = new GeneratePrintableLabel();
|
|
33264
|
-
result.init(data);
|
|
33265
|
-
return result;
|
|
33266
|
-
}
|
|
33267
|
-
toJSON(data) {
|
|
33268
|
-
data = typeof data === 'object' ? data : {};
|
|
33269
|
-
if (Array.isArray(this.labelIds)) {
|
|
33270
|
-
data["labelIds"] = [];
|
|
33271
|
-
for (let item of this.labelIds)
|
|
33272
|
-
data["labelIds"].push(item.toJSON());
|
|
33273
|
-
}
|
|
33274
|
-
return data;
|
|
33275
|
-
}
|
|
33276
|
-
}
|
|
33277
|
-
export class LabelId {
|
|
33278
|
-
constructor(data) {
|
|
33279
|
-
if (data) {
|
|
33280
|
-
for (var property in data) {
|
|
33281
|
-
if (data.hasOwnProperty(property))
|
|
33282
|
-
this[property] = data[property];
|
|
33283
|
-
}
|
|
33284
|
-
}
|
|
33285
|
-
}
|
|
33286
|
-
init(_data) {
|
|
33287
|
-
if (_data) {
|
|
33288
|
-
this.parcelId = _data["parcelId"];
|
|
33289
|
-
this.trackingId = _data["trackingId"];
|
|
33290
|
-
}
|
|
33291
|
-
}
|
|
33292
|
-
static fromJS(data) {
|
|
33293
|
-
data = typeof data === 'object' ? data : {};
|
|
33294
|
-
let result = new LabelId();
|
|
33295
|
-
result.init(data);
|
|
33296
|
-
return result;
|
|
33297
|
-
}
|
|
33298
|
-
toJSON(data) {
|
|
33299
|
-
data = typeof data === 'object' ? data : {};
|
|
33300
|
-
data["parcelId"] = this.parcelId;
|
|
33301
|
-
data["trackingId"] = this.trackingId;
|
|
33302
|
-
return data;
|
|
33303
|
-
}
|
|
33304
|
-
}
|
|
33305
33200
|
export class PagedResultOfProductionScheduleOperationDto {
|
|
33306
33201
|
constructor(data) {
|
|
33307
33202
|
if (data) {
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -14264,8 +14264,6 @@ export interface IMesProductionOrderClient {
|
|
|
14264
14264
|
listProductionOrderActivities(id: string, operation: number | null | undefined): Promise<ProductionOrderOperationActivityDto[]>;
|
|
14265
14265
|
|
|
14266
14266
|
getPrintableProductionOrders(request: GenerateProductionOrderPdf): Promise<DownloadDto>;
|
|
14267
|
-
|
|
14268
|
-
getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
|
|
14269
14267
|
}
|
|
14270
14268
|
|
|
14271
14269
|
export class MesProductionOrderClient extends AuthorizedApiBase implements IMesProductionOrderClient {
|
|
@@ -14627,46 +14625,6 @@ export class MesProductionOrderClient extends AuthorizedApiBase implements IMesP
|
|
|
14627
14625
|
}
|
|
14628
14626
|
return Promise.resolve<DownloadDto>(null as any);
|
|
14629
14627
|
}
|
|
14630
|
-
|
|
14631
|
-
getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto> {
|
|
14632
|
-
let url_ = this.baseUrl + "/mes/labels/printable";
|
|
14633
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
14634
|
-
|
|
14635
|
-
const content_ = JSON.stringify(request);
|
|
14636
|
-
|
|
14637
|
-
let options_: RequestInit = {
|
|
14638
|
-
body: content_,
|
|
14639
|
-
method: "POST",
|
|
14640
|
-
headers: {
|
|
14641
|
-
"Content-Type": "application/json",
|
|
14642
|
-
"Accept": "application/json"
|
|
14643
|
-
}
|
|
14644
|
-
};
|
|
14645
|
-
|
|
14646
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
14647
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
14648
|
-
}).then((_response: Response) => {
|
|
14649
|
-
return this.processGetPrintableLabels(_response);
|
|
14650
|
-
});
|
|
14651
|
-
}
|
|
14652
|
-
|
|
14653
|
-
protected processGetPrintableLabels(response: Response): Promise<DownloadDto> {
|
|
14654
|
-
const status = response.status;
|
|
14655
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
14656
|
-
if (status === 200) {
|
|
14657
|
-
return response.text().then((_responseText) => {
|
|
14658
|
-
let result200: any = null;
|
|
14659
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
14660
|
-
result200 = DownloadDto.fromJS(resultData200);
|
|
14661
|
-
return result200;
|
|
14662
|
-
});
|
|
14663
|
-
} else if (status !== 200 && status !== 204) {
|
|
14664
|
-
return response.text().then((_responseText) => {
|
|
14665
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
14666
|
-
});
|
|
14667
|
-
}
|
|
14668
|
-
return Promise.resolve<DownloadDto>(null as any);
|
|
14669
|
-
}
|
|
14670
14628
|
}
|
|
14671
14629
|
|
|
14672
14630
|
export interface IMesProductionScheduleClient {
|
|
@@ -38415,6 +38373,7 @@ export class BookingItemRequestDto implements IBookingItemRequestDto {
|
|
|
38415
38373
|
trackingId!: string;
|
|
38416
38374
|
fromLocationId!: string;
|
|
38417
38375
|
toLocationId!: string;
|
|
38376
|
+
transportKind!: TransportKindDto;
|
|
38418
38377
|
comment?: string | null;
|
|
38419
38378
|
|
|
38420
38379
|
constructor(data?: IBookingItemRequestDto) {
|
|
@@ -38432,6 +38391,7 @@ export class BookingItemRequestDto implements IBookingItemRequestDto {
|
|
|
38432
38391
|
this.trackingId = _data["trackingId"];
|
|
38433
38392
|
this.fromLocationId = _data["fromLocationId"];
|
|
38434
38393
|
this.toLocationId = _data["toLocationId"];
|
|
38394
|
+
this.transportKind = _data["transportKind"];
|
|
38435
38395
|
this.comment = _data["comment"];
|
|
38436
38396
|
}
|
|
38437
38397
|
}
|
|
@@ -38449,6 +38409,7 @@ export class BookingItemRequestDto implements IBookingItemRequestDto {
|
|
|
38449
38409
|
data["trackingId"] = this.trackingId;
|
|
38450
38410
|
data["fromLocationId"] = this.fromLocationId;
|
|
38451
38411
|
data["toLocationId"] = this.toLocationId;
|
|
38412
|
+
data["transportKind"] = this.transportKind;
|
|
38452
38413
|
data["comment"] = this.comment;
|
|
38453
38414
|
return data;
|
|
38454
38415
|
}
|
|
@@ -38459,11 +38420,11 @@ export interface IBookingItemRequestDto {
|
|
|
38459
38420
|
trackingId: string;
|
|
38460
38421
|
fromLocationId: string;
|
|
38461
38422
|
toLocationId: string;
|
|
38423
|
+
transportKind: TransportKindDto;
|
|
38462
38424
|
comment?: string | null;
|
|
38463
38425
|
}
|
|
38464
38426
|
|
|
38465
38427
|
export class BookingTransportRequestDto implements IBookingTransportRequestDto {
|
|
38466
|
-
transportKind!: TransportKindDto;
|
|
38467
38428
|
items!: BookingItemRequestDto[];
|
|
38468
38429
|
|
|
38469
38430
|
constructor(data?: IBookingTransportRequestDto) {
|
|
@@ -38480,7 +38441,6 @@ export class BookingTransportRequestDto implements IBookingTransportRequestDto {
|
|
|
38480
38441
|
|
|
38481
38442
|
init(_data?: any) {
|
|
38482
38443
|
if (_data) {
|
|
38483
|
-
this.transportKind = _data["transportKind"];
|
|
38484
38444
|
if (Array.isArray(_data["items"])) {
|
|
38485
38445
|
this.items = [] as any;
|
|
38486
38446
|
for (let item of _data["items"])
|
|
@@ -38498,7 +38458,6 @@ export class BookingTransportRequestDto implements IBookingTransportRequestDto {
|
|
|
38498
38458
|
|
|
38499
38459
|
toJSON(data?: any) {
|
|
38500
38460
|
data = typeof data === 'object' ? data : {};
|
|
38501
|
-
data["transportKind"] = this.transportKind;
|
|
38502
38461
|
if (Array.isArray(this.items)) {
|
|
38503
38462
|
data["items"] = [];
|
|
38504
38463
|
for (let item of this.items)
|
|
@@ -38509,7 +38468,6 @@ export class BookingTransportRequestDto implements IBookingTransportRequestDto {
|
|
|
38509
38468
|
}
|
|
38510
38469
|
|
|
38511
38470
|
export interface IBookingTransportRequestDto {
|
|
38512
|
-
transportKind: TransportKindDto;
|
|
38513
38471
|
items: BookingItemRequestDto[];
|
|
38514
38472
|
}
|
|
38515
38473
|
|
|
@@ -41299,93 +41257,6 @@ export interface IGenerateProductionOrderPdf {
|
|
|
41299
41257
|
|
|
41300
41258
|
export type ProductionOrderPdfType = "Rich" | "Compact";
|
|
41301
41259
|
|
|
41302
|
-
export class GeneratePrintableLabel implements IGeneratePrintableLabel {
|
|
41303
|
-
labelIds!: LabelId[];
|
|
41304
|
-
|
|
41305
|
-
constructor(data?: IGeneratePrintableLabel) {
|
|
41306
|
-
if (data) {
|
|
41307
|
-
for (var property in data) {
|
|
41308
|
-
if (data.hasOwnProperty(property))
|
|
41309
|
-
(<any>this)[property] = (<any>data)[property];
|
|
41310
|
-
}
|
|
41311
|
-
}
|
|
41312
|
-
if (!data) {
|
|
41313
|
-
this.labelIds = [];
|
|
41314
|
-
}
|
|
41315
|
-
}
|
|
41316
|
-
|
|
41317
|
-
init(_data?: any) {
|
|
41318
|
-
if (_data) {
|
|
41319
|
-
if (Array.isArray(_data["labelIds"])) {
|
|
41320
|
-
this.labelIds = [] as any;
|
|
41321
|
-
for (let item of _data["labelIds"])
|
|
41322
|
-
this.labelIds!.push(LabelId.fromJS(item));
|
|
41323
|
-
}
|
|
41324
|
-
}
|
|
41325
|
-
}
|
|
41326
|
-
|
|
41327
|
-
static fromJS(data: any): GeneratePrintableLabel {
|
|
41328
|
-
data = typeof data === 'object' ? data : {};
|
|
41329
|
-
let result = new GeneratePrintableLabel();
|
|
41330
|
-
result.init(data);
|
|
41331
|
-
return result;
|
|
41332
|
-
}
|
|
41333
|
-
|
|
41334
|
-
toJSON(data?: any) {
|
|
41335
|
-
data = typeof data === 'object' ? data : {};
|
|
41336
|
-
if (Array.isArray(this.labelIds)) {
|
|
41337
|
-
data["labelIds"] = [];
|
|
41338
|
-
for (let item of this.labelIds)
|
|
41339
|
-
data["labelIds"].push(item.toJSON());
|
|
41340
|
-
}
|
|
41341
|
-
return data;
|
|
41342
|
-
}
|
|
41343
|
-
}
|
|
41344
|
-
|
|
41345
|
-
export interface IGeneratePrintableLabel {
|
|
41346
|
-
labelIds: LabelId[];
|
|
41347
|
-
}
|
|
41348
|
-
|
|
41349
|
-
export class LabelId implements ILabelId {
|
|
41350
|
-
parcelId!: string;
|
|
41351
|
-
trackingId?: string | null;
|
|
41352
|
-
|
|
41353
|
-
constructor(data?: ILabelId) {
|
|
41354
|
-
if (data) {
|
|
41355
|
-
for (var property in data) {
|
|
41356
|
-
if (data.hasOwnProperty(property))
|
|
41357
|
-
(<any>this)[property] = (<any>data)[property];
|
|
41358
|
-
}
|
|
41359
|
-
}
|
|
41360
|
-
}
|
|
41361
|
-
|
|
41362
|
-
init(_data?: any) {
|
|
41363
|
-
if (_data) {
|
|
41364
|
-
this.parcelId = _data["parcelId"];
|
|
41365
|
-
this.trackingId = _data["trackingId"];
|
|
41366
|
-
}
|
|
41367
|
-
}
|
|
41368
|
-
|
|
41369
|
-
static fromJS(data: any): LabelId {
|
|
41370
|
-
data = typeof data === 'object' ? data : {};
|
|
41371
|
-
let result = new LabelId();
|
|
41372
|
-
result.init(data);
|
|
41373
|
-
return result;
|
|
41374
|
-
}
|
|
41375
|
-
|
|
41376
|
-
toJSON(data?: any) {
|
|
41377
|
-
data = typeof data === 'object' ? data : {};
|
|
41378
|
-
data["parcelId"] = this.parcelId;
|
|
41379
|
-
data["trackingId"] = this.trackingId;
|
|
41380
|
-
return data;
|
|
41381
|
-
}
|
|
41382
|
-
}
|
|
41383
|
-
|
|
41384
|
-
export interface ILabelId {
|
|
41385
|
-
parcelId: string;
|
|
41386
|
-
trackingId?: string | null;
|
|
41387
|
-
}
|
|
41388
|
-
|
|
41389
41260
|
export class PagedResultOfProductionScheduleOperationDto implements IPagedResultOfProductionScheduleOperationDto {
|
|
41390
41261
|
results!: ProductionScheduleOperationDto[];
|
|
41391
41262
|
continuationToken?: string | null;
|