@ignos/api-client 20240412.0.9109 → 20240422.0.9138
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 +38 -36
- package/lib/ignosportal-api.js +48 -37
- package/package.json +1 -1
- package/src/ignosportal-api.ts +86 -73
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -7525,17 +7525,18 @@ export declare class ProductionOrderBomDto implements IProductionOrderBomDto {
|
|
|
7525
7525
|
dimension?: string;
|
|
7526
7526
|
operation: number;
|
|
7527
7527
|
operationName?: string;
|
|
7528
|
-
warehouse?: string;
|
|
7529
|
-
fixedLocation?: string;
|
|
7528
|
+
warehouse?: string | null;
|
|
7529
|
+
fixedLocation?: string | null;
|
|
7530
7530
|
fixedLocations?: string[];
|
|
7531
7531
|
unit?: string;
|
|
7532
7532
|
quantityPerPart: number;
|
|
7533
7533
|
totalRequiredQuantity: number;
|
|
7534
7534
|
usedQuantity: number;
|
|
7535
7535
|
availableQuantity?: number | null;
|
|
7536
|
-
drawing?: DrawingDto;
|
|
7537
|
-
orderReference?: OrderReferenceDto;
|
|
7536
|
+
drawing?: DrawingDto | null;
|
|
7537
|
+
orderReference?: OrderReferenceDto | null;
|
|
7538
7538
|
status: MaterialStatus;
|
|
7539
|
+
availabilityDetails: InventoryDto[];
|
|
7539
7540
|
constructor(data?: IProductionOrderBomDto);
|
|
7540
7541
|
init(_data?: any): void;
|
|
7541
7542
|
static fromJS(data: any): ProductionOrderBomDto;
|
|
@@ -7548,17 +7549,38 @@ export interface IProductionOrderBomDto {
|
|
|
7548
7549
|
dimension?: string;
|
|
7549
7550
|
operation: number;
|
|
7550
7551
|
operationName?: string;
|
|
7551
|
-
warehouse?: string;
|
|
7552
|
-
fixedLocation?: string;
|
|
7552
|
+
warehouse?: string | null;
|
|
7553
|
+
fixedLocation?: string | null;
|
|
7553
7554
|
fixedLocations?: string[];
|
|
7554
7555
|
unit?: string;
|
|
7555
7556
|
quantityPerPart: number;
|
|
7556
7557
|
totalRequiredQuantity: number;
|
|
7557
7558
|
usedQuantity: number;
|
|
7558
7559
|
availableQuantity?: number | null;
|
|
7559
|
-
drawing?: DrawingDto;
|
|
7560
|
-
orderReference?: OrderReferenceDto;
|
|
7560
|
+
drawing?: DrawingDto | null;
|
|
7561
|
+
orderReference?: OrderReferenceDto | null;
|
|
7561
7562
|
status: MaterialStatus;
|
|
7563
|
+
availabilityDetails: InventoryDto[];
|
|
7564
|
+
}
|
|
7565
|
+
export declare class InventoryDto implements IInventoryDto {
|
|
7566
|
+
siteId: string;
|
|
7567
|
+
warehouseId: string;
|
|
7568
|
+
locationId: string;
|
|
7569
|
+
batchNumber?: string;
|
|
7570
|
+
vendorBatch?: string;
|
|
7571
|
+
available: number;
|
|
7572
|
+
constructor(data?: IInventoryDto);
|
|
7573
|
+
init(_data?: any): void;
|
|
7574
|
+
static fromJS(data: any): InventoryDto;
|
|
7575
|
+
toJSON(data?: any): any;
|
|
7576
|
+
}
|
|
7577
|
+
export interface IInventoryDto {
|
|
7578
|
+
siteId: string;
|
|
7579
|
+
warehouseId: string;
|
|
7580
|
+
locationId: string;
|
|
7581
|
+
batchNumber?: string;
|
|
7582
|
+
vendorBatch?: string;
|
|
7583
|
+
available: number;
|
|
7562
7584
|
}
|
|
7563
7585
|
export declare class PickListSuggestionDto implements IPickListSuggestionDto {
|
|
7564
7586
|
position?: string;
|
|
@@ -7569,7 +7591,7 @@ export declare class PickListSuggestionDto implements IPickListSuggestionDto {
|
|
|
7569
7591
|
warehouse?: string;
|
|
7570
7592
|
fixedLocation?: string;
|
|
7571
7593
|
unit?: string;
|
|
7572
|
-
orderReference?: OrderReferenceDto;
|
|
7594
|
+
orderReference?: OrderReferenceDto | null;
|
|
7573
7595
|
quantityPerPart: number;
|
|
7574
7596
|
totalRequiredQuantity: number;
|
|
7575
7597
|
usedQuantity: number;
|
|
@@ -7578,11 +7600,11 @@ export declare class PickListSuggestionDto implements IPickListSuggestionDto {
|
|
|
7578
7600
|
requiresBatchTracing: boolean;
|
|
7579
7601
|
proposedQuantity: number;
|
|
7580
7602
|
remainingQuantity: number;
|
|
7581
|
-
suggestedStartedQuantity?: InventoryDto;
|
|
7582
|
-
suggestedRemainingQuantity?: InventoryDto;
|
|
7603
|
+
suggestedStartedQuantity?: InventoryDto | null;
|
|
7604
|
+
suggestedRemainingQuantity?: InventoryDto | null;
|
|
7583
7605
|
available: InventoryDto[];
|
|
7584
7606
|
fixedLocations: string[];
|
|
7585
|
-
drawing?: DrawingDto;
|
|
7607
|
+
drawing?: DrawingDto | null;
|
|
7586
7608
|
constructor(data?: IPickListSuggestionDto);
|
|
7587
7609
|
init(_data?: any): void;
|
|
7588
7610
|
static fromJS(data: any): PickListSuggestionDto;
|
|
@@ -7597,7 +7619,7 @@ export interface IPickListSuggestionDto {
|
|
|
7597
7619
|
warehouse?: string;
|
|
7598
7620
|
fixedLocation?: string;
|
|
7599
7621
|
unit?: string;
|
|
7600
|
-
orderReference?: OrderReferenceDto;
|
|
7622
|
+
orderReference?: OrderReferenceDto | null;
|
|
7601
7623
|
quantityPerPart: number;
|
|
7602
7624
|
totalRequiredQuantity: number;
|
|
7603
7625
|
usedQuantity: number;
|
|
@@ -7606,31 +7628,11 @@ export interface IPickListSuggestionDto {
|
|
|
7606
7628
|
requiresBatchTracing: boolean;
|
|
7607
7629
|
proposedQuantity: number;
|
|
7608
7630
|
remainingQuantity: number;
|
|
7609
|
-
suggestedStartedQuantity?: InventoryDto;
|
|
7610
|
-
suggestedRemainingQuantity?: InventoryDto;
|
|
7631
|
+
suggestedStartedQuantity?: InventoryDto | null;
|
|
7632
|
+
suggestedRemainingQuantity?: InventoryDto | null;
|
|
7611
7633
|
available: InventoryDto[];
|
|
7612
7634
|
fixedLocations: string[];
|
|
7613
|
-
drawing?: DrawingDto;
|
|
7614
|
-
}
|
|
7615
|
-
export declare class InventoryDto implements IInventoryDto {
|
|
7616
|
-
siteId: string;
|
|
7617
|
-
warehouseId: string;
|
|
7618
|
-
locationId: string;
|
|
7619
|
-
batchNumber?: string;
|
|
7620
|
-
vendorBatch?: string;
|
|
7621
|
-
available: number;
|
|
7622
|
-
constructor(data?: IInventoryDto);
|
|
7623
|
-
init(_data?: any): void;
|
|
7624
|
-
static fromJS(data: any): InventoryDto;
|
|
7625
|
-
toJSON(data?: any): any;
|
|
7626
|
-
}
|
|
7627
|
-
export interface IInventoryDto {
|
|
7628
|
-
siteId: string;
|
|
7629
|
-
warehouseId: string;
|
|
7630
|
-
locationId: string;
|
|
7631
|
-
batchNumber?: string;
|
|
7632
|
-
vendorBatch?: string;
|
|
7633
|
-
available: number;
|
|
7635
|
+
drawing?: DrawingDto | null;
|
|
7634
7636
|
}
|
|
7635
7637
|
export declare class NonConformanceDto implements INonConformanceDto {
|
|
7636
7638
|
nonConformanceId: string;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//----------------------
|
|
2
2
|
// <auto-generated>
|
|
3
|
-
// Generated using the NSwag toolchain v14.0.
|
|
3
|
+
// Generated using the NSwag toolchain v14.0.7.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
|
|
4
4
|
// </auto-generated>
|
|
5
5
|
//----------------------
|
|
6
6
|
/* tslint:disable */
|
|
@@ -28259,6 +28259,7 @@ export class ProductionOrderBomDto {
|
|
|
28259
28259
|
}
|
|
28260
28260
|
if (!data) {
|
|
28261
28261
|
this.part = new PartDto();
|
|
28262
|
+
this.availabilityDetails = [];
|
|
28262
28263
|
}
|
|
28263
28264
|
}
|
|
28264
28265
|
init(_data) {
|
|
@@ -28284,6 +28285,11 @@ export class ProductionOrderBomDto {
|
|
|
28284
28285
|
this.drawing = _data["drawing"] ? DrawingDto.fromJS(_data["drawing"]) : undefined;
|
|
28285
28286
|
this.orderReference = _data["orderReference"] ? OrderReferenceDto.fromJS(_data["orderReference"]) : undefined;
|
|
28286
28287
|
this.status = _data["status"];
|
|
28288
|
+
if (Array.isArray(_data["availabilityDetails"])) {
|
|
28289
|
+
this.availabilityDetails = [];
|
|
28290
|
+
for (let item of _data["availabilityDetails"])
|
|
28291
|
+
this.availabilityDetails.push(InventoryDto.fromJS(item));
|
|
28292
|
+
}
|
|
28287
28293
|
}
|
|
28288
28294
|
}
|
|
28289
28295
|
static fromJS(data) {
|
|
@@ -28315,6 +28321,47 @@ export class ProductionOrderBomDto {
|
|
|
28315
28321
|
data["drawing"] = this.drawing ? this.drawing.toJSON() : undefined;
|
|
28316
28322
|
data["orderReference"] = this.orderReference ? this.orderReference.toJSON() : undefined;
|
|
28317
28323
|
data["status"] = this.status;
|
|
28324
|
+
if (Array.isArray(this.availabilityDetails)) {
|
|
28325
|
+
data["availabilityDetails"] = [];
|
|
28326
|
+
for (let item of this.availabilityDetails)
|
|
28327
|
+
data["availabilityDetails"].push(item.toJSON());
|
|
28328
|
+
}
|
|
28329
|
+
return data;
|
|
28330
|
+
}
|
|
28331
|
+
}
|
|
28332
|
+
export class InventoryDto {
|
|
28333
|
+
constructor(data) {
|
|
28334
|
+
if (data) {
|
|
28335
|
+
for (var property in data) {
|
|
28336
|
+
if (data.hasOwnProperty(property))
|
|
28337
|
+
this[property] = data[property];
|
|
28338
|
+
}
|
|
28339
|
+
}
|
|
28340
|
+
}
|
|
28341
|
+
init(_data) {
|
|
28342
|
+
if (_data) {
|
|
28343
|
+
this.siteId = _data["siteId"];
|
|
28344
|
+
this.warehouseId = _data["warehouseId"];
|
|
28345
|
+
this.locationId = _data["locationId"];
|
|
28346
|
+
this.batchNumber = _data["batchNumber"];
|
|
28347
|
+
this.vendorBatch = _data["vendorBatch"];
|
|
28348
|
+
this.available = _data["available"];
|
|
28349
|
+
}
|
|
28350
|
+
}
|
|
28351
|
+
static fromJS(data) {
|
|
28352
|
+
data = typeof data === 'object' ? data : {};
|
|
28353
|
+
let result = new InventoryDto();
|
|
28354
|
+
result.init(data);
|
|
28355
|
+
return result;
|
|
28356
|
+
}
|
|
28357
|
+
toJSON(data) {
|
|
28358
|
+
data = typeof data === 'object' ? data : {};
|
|
28359
|
+
data["siteId"] = this.siteId;
|
|
28360
|
+
data["warehouseId"] = this.warehouseId;
|
|
28361
|
+
data["locationId"] = this.locationId;
|
|
28362
|
+
data["batchNumber"] = this.batchNumber;
|
|
28363
|
+
data["vendorBatch"] = this.vendorBatch;
|
|
28364
|
+
data["available"] = this.available;
|
|
28318
28365
|
return data;
|
|
28319
28366
|
}
|
|
28320
28367
|
}
|
|
@@ -28407,42 +28454,6 @@ export class PickListSuggestionDto {
|
|
|
28407
28454
|
return data;
|
|
28408
28455
|
}
|
|
28409
28456
|
}
|
|
28410
|
-
export class InventoryDto {
|
|
28411
|
-
constructor(data) {
|
|
28412
|
-
if (data) {
|
|
28413
|
-
for (var property in data) {
|
|
28414
|
-
if (data.hasOwnProperty(property))
|
|
28415
|
-
this[property] = data[property];
|
|
28416
|
-
}
|
|
28417
|
-
}
|
|
28418
|
-
}
|
|
28419
|
-
init(_data) {
|
|
28420
|
-
if (_data) {
|
|
28421
|
-
this.siteId = _data["siteId"];
|
|
28422
|
-
this.warehouseId = _data["warehouseId"];
|
|
28423
|
-
this.locationId = _data["locationId"];
|
|
28424
|
-
this.batchNumber = _data["batchNumber"];
|
|
28425
|
-
this.vendorBatch = _data["vendorBatch"];
|
|
28426
|
-
this.available = _data["available"];
|
|
28427
|
-
}
|
|
28428
|
-
}
|
|
28429
|
-
static fromJS(data) {
|
|
28430
|
-
data = typeof data === 'object' ? data : {};
|
|
28431
|
-
let result = new InventoryDto();
|
|
28432
|
-
result.init(data);
|
|
28433
|
-
return result;
|
|
28434
|
-
}
|
|
28435
|
-
toJSON(data) {
|
|
28436
|
-
data = typeof data === 'object' ? data : {};
|
|
28437
|
-
data["siteId"] = this.siteId;
|
|
28438
|
-
data["warehouseId"] = this.warehouseId;
|
|
28439
|
-
data["locationId"] = this.locationId;
|
|
28440
|
-
data["batchNumber"] = this.batchNumber;
|
|
28441
|
-
data["vendorBatch"] = this.vendorBatch;
|
|
28442
|
-
data["available"] = this.available;
|
|
28443
|
-
return data;
|
|
28444
|
-
}
|
|
28445
|
-
}
|
|
28446
28457
|
export class NonConformanceDto {
|
|
28447
28458
|
constructor(data) {
|
|
28448
28459
|
if (data) {
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//----------------------
|
|
2
2
|
// <auto-generated>
|
|
3
|
-
// Generated using the NSwag toolchain v14.0.
|
|
3
|
+
// Generated using the NSwag toolchain v14.0.7.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
|
|
4
4
|
// </auto-generated>
|
|
5
5
|
//----------------------
|
|
6
6
|
|
|
@@ -34859,17 +34859,18 @@ export class ProductionOrderBomDto implements IProductionOrderBomDto {
|
|
|
34859
34859
|
dimension?: string;
|
|
34860
34860
|
operation!: number;
|
|
34861
34861
|
operationName?: string;
|
|
34862
|
-
warehouse?: string;
|
|
34863
|
-
fixedLocation?: string;
|
|
34862
|
+
warehouse?: string | null;
|
|
34863
|
+
fixedLocation?: string | null;
|
|
34864
34864
|
fixedLocations?: string[];
|
|
34865
34865
|
unit?: string;
|
|
34866
34866
|
quantityPerPart!: number;
|
|
34867
34867
|
totalRequiredQuantity!: number;
|
|
34868
34868
|
usedQuantity!: number;
|
|
34869
34869
|
availableQuantity?: number | null;
|
|
34870
|
-
drawing?: DrawingDto;
|
|
34871
|
-
orderReference?: OrderReferenceDto;
|
|
34870
|
+
drawing?: DrawingDto | null;
|
|
34871
|
+
orderReference?: OrderReferenceDto | null;
|
|
34872
34872
|
status!: MaterialStatus;
|
|
34873
|
+
availabilityDetails!: InventoryDto[];
|
|
34873
34874
|
|
|
34874
34875
|
constructor(data?: IProductionOrderBomDto) {
|
|
34875
34876
|
if (data) {
|
|
@@ -34880,6 +34881,7 @@ export class ProductionOrderBomDto implements IProductionOrderBomDto {
|
|
|
34880
34881
|
}
|
|
34881
34882
|
if (!data) {
|
|
34882
34883
|
this.part = new PartDto();
|
|
34884
|
+
this.availabilityDetails = [];
|
|
34883
34885
|
}
|
|
34884
34886
|
}
|
|
34885
34887
|
|
|
@@ -34906,6 +34908,11 @@ export class ProductionOrderBomDto implements IProductionOrderBomDto {
|
|
|
34906
34908
|
this.drawing = _data["drawing"] ? DrawingDto.fromJS(_data["drawing"]) : <any>undefined;
|
|
34907
34909
|
this.orderReference = _data["orderReference"] ? OrderReferenceDto.fromJS(_data["orderReference"]) : <any>undefined;
|
|
34908
34910
|
this.status = _data["status"];
|
|
34911
|
+
if (Array.isArray(_data["availabilityDetails"])) {
|
|
34912
|
+
this.availabilityDetails = [] as any;
|
|
34913
|
+
for (let item of _data["availabilityDetails"])
|
|
34914
|
+
this.availabilityDetails!.push(InventoryDto.fromJS(item));
|
|
34915
|
+
}
|
|
34909
34916
|
}
|
|
34910
34917
|
}
|
|
34911
34918
|
|
|
@@ -34939,6 +34946,11 @@ export class ProductionOrderBomDto implements IProductionOrderBomDto {
|
|
|
34939
34946
|
data["drawing"] = this.drawing ? this.drawing.toJSON() : <any>undefined;
|
|
34940
34947
|
data["orderReference"] = this.orderReference ? this.orderReference.toJSON() : <any>undefined;
|
|
34941
34948
|
data["status"] = this.status;
|
|
34949
|
+
if (Array.isArray(this.availabilityDetails)) {
|
|
34950
|
+
data["availabilityDetails"] = [];
|
|
34951
|
+
for (let item of this.availabilityDetails)
|
|
34952
|
+
data["availabilityDetails"].push(item.toJSON());
|
|
34953
|
+
}
|
|
34942
34954
|
return data;
|
|
34943
34955
|
}
|
|
34944
34956
|
}
|
|
@@ -34950,17 +34962,74 @@ export interface IProductionOrderBomDto {
|
|
|
34950
34962
|
dimension?: string;
|
|
34951
34963
|
operation: number;
|
|
34952
34964
|
operationName?: string;
|
|
34953
|
-
warehouse?: string;
|
|
34954
|
-
fixedLocation?: string;
|
|
34965
|
+
warehouse?: string | null;
|
|
34966
|
+
fixedLocation?: string | null;
|
|
34955
34967
|
fixedLocations?: string[];
|
|
34956
34968
|
unit?: string;
|
|
34957
34969
|
quantityPerPart: number;
|
|
34958
34970
|
totalRequiredQuantity: number;
|
|
34959
34971
|
usedQuantity: number;
|
|
34960
34972
|
availableQuantity?: number | null;
|
|
34961
|
-
drawing?: DrawingDto;
|
|
34962
|
-
orderReference?: OrderReferenceDto;
|
|
34973
|
+
drawing?: DrawingDto | null;
|
|
34974
|
+
orderReference?: OrderReferenceDto | null;
|
|
34963
34975
|
status: MaterialStatus;
|
|
34976
|
+
availabilityDetails: InventoryDto[];
|
|
34977
|
+
}
|
|
34978
|
+
|
|
34979
|
+
export class InventoryDto implements IInventoryDto {
|
|
34980
|
+
siteId!: string;
|
|
34981
|
+
warehouseId!: string;
|
|
34982
|
+
locationId!: string;
|
|
34983
|
+
batchNumber?: string;
|
|
34984
|
+
vendorBatch?: string;
|
|
34985
|
+
available!: number;
|
|
34986
|
+
|
|
34987
|
+
constructor(data?: IInventoryDto) {
|
|
34988
|
+
if (data) {
|
|
34989
|
+
for (var property in data) {
|
|
34990
|
+
if (data.hasOwnProperty(property))
|
|
34991
|
+
(<any>this)[property] = (<any>data)[property];
|
|
34992
|
+
}
|
|
34993
|
+
}
|
|
34994
|
+
}
|
|
34995
|
+
|
|
34996
|
+
init(_data?: any) {
|
|
34997
|
+
if (_data) {
|
|
34998
|
+
this.siteId = _data["siteId"];
|
|
34999
|
+
this.warehouseId = _data["warehouseId"];
|
|
35000
|
+
this.locationId = _data["locationId"];
|
|
35001
|
+
this.batchNumber = _data["batchNumber"];
|
|
35002
|
+
this.vendorBatch = _data["vendorBatch"];
|
|
35003
|
+
this.available = _data["available"];
|
|
35004
|
+
}
|
|
35005
|
+
}
|
|
35006
|
+
|
|
35007
|
+
static fromJS(data: any): InventoryDto {
|
|
35008
|
+
data = typeof data === 'object' ? data : {};
|
|
35009
|
+
let result = new InventoryDto();
|
|
35010
|
+
result.init(data);
|
|
35011
|
+
return result;
|
|
35012
|
+
}
|
|
35013
|
+
|
|
35014
|
+
toJSON(data?: any) {
|
|
35015
|
+
data = typeof data === 'object' ? data : {};
|
|
35016
|
+
data["siteId"] = this.siteId;
|
|
35017
|
+
data["warehouseId"] = this.warehouseId;
|
|
35018
|
+
data["locationId"] = this.locationId;
|
|
35019
|
+
data["batchNumber"] = this.batchNumber;
|
|
35020
|
+
data["vendorBatch"] = this.vendorBatch;
|
|
35021
|
+
data["available"] = this.available;
|
|
35022
|
+
return data;
|
|
35023
|
+
}
|
|
35024
|
+
}
|
|
35025
|
+
|
|
35026
|
+
export interface IInventoryDto {
|
|
35027
|
+
siteId: string;
|
|
35028
|
+
warehouseId: string;
|
|
35029
|
+
locationId: string;
|
|
35030
|
+
batchNumber?: string;
|
|
35031
|
+
vendorBatch?: string;
|
|
35032
|
+
available: number;
|
|
34964
35033
|
}
|
|
34965
35034
|
|
|
34966
35035
|
export class PickListSuggestionDto implements IPickListSuggestionDto {
|
|
@@ -34972,7 +35041,7 @@ export class PickListSuggestionDto implements IPickListSuggestionDto {
|
|
|
34972
35041
|
warehouse?: string;
|
|
34973
35042
|
fixedLocation?: string;
|
|
34974
35043
|
unit?: string;
|
|
34975
|
-
orderReference?: OrderReferenceDto;
|
|
35044
|
+
orderReference?: OrderReferenceDto | null;
|
|
34976
35045
|
quantityPerPart!: number;
|
|
34977
35046
|
totalRequiredQuantity!: number;
|
|
34978
35047
|
usedQuantity!: number;
|
|
@@ -34981,11 +35050,11 @@ export class PickListSuggestionDto implements IPickListSuggestionDto {
|
|
|
34981
35050
|
requiresBatchTracing!: boolean;
|
|
34982
35051
|
proposedQuantity!: number;
|
|
34983
35052
|
remainingQuantity!: number;
|
|
34984
|
-
suggestedStartedQuantity?: InventoryDto;
|
|
34985
|
-
suggestedRemainingQuantity?: InventoryDto;
|
|
35053
|
+
suggestedStartedQuantity?: InventoryDto | null;
|
|
35054
|
+
suggestedRemainingQuantity?: InventoryDto | null;
|
|
34986
35055
|
available!: InventoryDto[];
|
|
34987
35056
|
fixedLocations!: string[];
|
|
34988
|
-
drawing?: DrawingDto;
|
|
35057
|
+
drawing?: DrawingDto | null;
|
|
34989
35058
|
|
|
34990
35059
|
constructor(data?: IPickListSuggestionDto) {
|
|
34991
35060
|
if (data) {
|
|
@@ -35088,7 +35157,7 @@ export interface IPickListSuggestionDto {
|
|
|
35088
35157
|
warehouse?: string;
|
|
35089
35158
|
fixedLocation?: string;
|
|
35090
35159
|
unit?: string;
|
|
35091
|
-
orderReference?: OrderReferenceDto;
|
|
35160
|
+
orderReference?: OrderReferenceDto | null;
|
|
35092
35161
|
quantityPerPart: number;
|
|
35093
35162
|
totalRequiredQuantity: number;
|
|
35094
35163
|
usedQuantity: number;
|
|
@@ -35097,67 +35166,11 @@ export interface IPickListSuggestionDto {
|
|
|
35097
35166
|
requiresBatchTracing: boolean;
|
|
35098
35167
|
proposedQuantity: number;
|
|
35099
35168
|
remainingQuantity: number;
|
|
35100
|
-
suggestedStartedQuantity?: InventoryDto;
|
|
35101
|
-
suggestedRemainingQuantity?: InventoryDto;
|
|
35169
|
+
suggestedStartedQuantity?: InventoryDto | null;
|
|
35170
|
+
suggestedRemainingQuantity?: InventoryDto | null;
|
|
35102
35171
|
available: InventoryDto[];
|
|
35103
35172
|
fixedLocations: string[];
|
|
35104
|
-
drawing?: DrawingDto;
|
|
35105
|
-
}
|
|
35106
|
-
|
|
35107
|
-
export class InventoryDto implements IInventoryDto {
|
|
35108
|
-
siteId!: string;
|
|
35109
|
-
warehouseId!: string;
|
|
35110
|
-
locationId!: string;
|
|
35111
|
-
batchNumber?: string;
|
|
35112
|
-
vendorBatch?: string;
|
|
35113
|
-
available!: number;
|
|
35114
|
-
|
|
35115
|
-
constructor(data?: IInventoryDto) {
|
|
35116
|
-
if (data) {
|
|
35117
|
-
for (var property in data) {
|
|
35118
|
-
if (data.hasOwnProperty(property))
|
|
35119
|
-
(<any>this)[property] = (<any>data)[property];
|
|
35120
|
-
}
|
|
35121
|
-
}
|
|
35122
|
-
}
|
|
35123
|
-
|
|
35124
|
-
init(_data?: any) {
|
|
35125
|
-
if (_data) {
|
|
35126
|
-
this.siteId = _data["siteId"];
|
|
35127
|
-
this.warehouseId = _data["warehouseId"];
|
|
35128
|
-
this.locationId = _data["locationId"];
|
|
35129
|
-
this.batchNumber = _data["batchNumber"];
|
|
35130
|
-
this.vendorBatch = _data["vendorBatch"];
|
|
35131
|
-
this.available = _data["available"];
|
|
35132
|
-
}
|
|
35133
|
-
}
|
|
35134
|
-
|
|
35135
|
-
static fromJS(data: any): InventoryDto {
|
|
35136
|
-
data = typeof data === 'object' ? data : {};
|
|
35137
|
-
let result = new InventoryDto();
|
|
35138
|
-
result.init(data);
|
|
35139
|
-
return result;
|
|
35140
|
-
}
|
|
35141
|
-
|
|
35142
|
-
toJSON(data?: any) {
|
|
35143
|
-
data = typeof data === 'object' ? data : {};
|
|
35144
|
-
data["siteId"] = this.siteId;
|
|
35145
|
-
data["warehouseId"] = this.warehouseId;
|
|
35146
|
-
data["locationId"] = this.locationId;
|
|
35147
|
-
data["batchNumber"] = this.batchNumber;
|
|
35148
|
-
data["vendorBatch"] = this.vendorBatch;
|
|
35149
|
-
data["available"] = this.available;
|
|
35150
|
-
return data;
|
|
35151
|
-
}
|
|
35152
|
-
}
|
|
35153
|
-
|
|
35154
|
-
export interface IInventoryDto {
|
|
35155
|
-
siteId: string;
|
|
35156
|
-
warehouseId: string;
|
|
35157
|
-
locationId: string;
|
|
35158
|
-
batchNumber?: string;
|
|
35159
|
-
vendorBatch?: string;
|
|
35160
|
-
available: number;
|
|
35173
|
+
drawing?: DrawingDto | null;
|
|
35161
35174
|
}
|
|
35162
35175
|
|
|
35163
35176
|
export class NonConformanceDto implements INonConformanceDto {
|