@ignos/api-client 20240404.0.9072 → 20240408.0.9087
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 +26 -0
- package/lib/ignosportal-api.js +42 -0
- package/package.json +1 -1
- package/src/ignosportal-api.ts +68 -0
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -3730,6 +3730,7 @@ export declare class ResourceDto implements IResourceDto {
|
|
|
3730
3730
|
description?: string | null;
|
|
3731
3731
|
resourceType?: string | null;
|
|
3732
3732
|
resourceGroupId?: string | null;
|
|
3733
|
+
department?: DepartmentDto | null;
|
|
3733
3734
|
constructor(data?: IResourceDto);
|
|
3734
3735
|
init(_data?: any): void;
|
|
3735
3736
|
static fromJS(data: any): ResourceDto;
|
|
@@ -3742,6 +3743,19 @@ export interface IResourceDto {
|
|
|
3742
3743
|
description?: string | null;
|
|
3743
3744
|
resourceType?: string | null;
|
|
3744
3745
|
resourceGroupId?: string | null;
|
|
3746
|
+
department?: DepartmentDto | null;
|
|
3747
|
+
}
|
|
3748
|
+
export declare class DepartmentDto implements IDepartmentDto {
|
|
3749
|
+
number: string;
|
|
3750
|
+
name: string;
|
|
3751
|
+
constructor(data?: IDepartmentDto);
|
|
3752
|
+
init(_data?: any): void;
|
|
3753
|
+
static fromJS(data: any): DepartmentDto;
|
|
3754
|
+
toJSON(data?: any): any;
|
|
3755
|
+
}
|
|
3756
|
+
export interface IDepartmentDto {
|
|
3757
|
+
number: string;
|
|
3758
|
+
name: string;
|
|
3745
3759
|
}
|
|
3746
3760
|
export type OperationStatusDto = "NotReady" | "Ready" | "Ongoing" | "Completed" | "Stopped";
|
|
3747
3761
|
export declare class WorkOrderTraceMaterialDto implements IWorkOrderTraceMaterialDto {
|
|
@@ -7787,6 +7801,8 @@ export declare class ProductionScheduleOperationDto implements IProductionSchedu
|
|
|
7787
7801
|
partMaterial?: string | null;
|
|
7788
7802
|
resourceId: string;
|
|
7789
7803
|
resourceName: string;
|
|
7804
|
+
resourceDepartmentNumber?: string | null;
|
|
7805
|
+
resourceDepartmentName?: string | null;
|
|
7790
7806
|
bomPosition?: string | null;
|
|
7791
7807
|
customerName?: string | null;
|
|
7792
7808
|
previousOperation?: SurroundingOperationDto | null;
|
|
@@ -7837,6 +7853,8 @@ export interface IProductionScheduleOperationDto {
|
|
|
7837
7853
|
partMaterial?: string | null;
|
|
7838
7854
|
resourceId: string;
|
|
7839
7855
|
resourceName: string;
|
|
7856
|
+
resourceDepartmentNumber?: string | null;
|
|
7857
|
+
resourceDepartmentName?: string | null;
|
|
7840
7858
|
bomPosition?: string | null;
|
|
7841
7859
|
customerName?: string | null;
|
|
7842
7860
|
previousOperation?: SurroundingOperationDto | null;
|
|
@@ -7866,6 +7884,8 @@ export declare class SurroundingOperationDto implements ISurroundingOperationDto
|
|
|
7866
7884
|
resourceGroupId?: string | null;
|
|
7867
7885
|
resourceId?: string | null;
|
|
7868
7886
|
resourceName?: string | null;
|
|
7887
|
+
resourceDepartmentNumber?: string | null;
|
|
7888
|
+
resourceDepartmentName?: string | null;
|
|
7869
7889
|
producedQuantity: number;
|
|
7870
7890
|
scrappedQuantity: number;
|
|
7871
7891
|
startedQuantity?: number | null;
|
|
@@ -7886,6 +7906,8 @@ export interface ISurroundingOperationDto {
|
|
|
7886
7906
|
resourceGroupId?: string | null;
|
|
7887
7907
|
resourceId?: string | null;
|
|
7888
7908
|
resourceName?: string | null;
|
|
7909
|
+
resourceDepartmentNumber?: string | null;
|
|
7910
|
+
resourceDepartmentName?: string | null;
|
|
7889
7911
|
producedQuantity: number;
|
|
7890
7912
|
scrappedQuantity: number;
|
|
7891
7913
|
startedQuantity?: number | null;
|
|
@@ -8363,6 +8385,7 @@ export declare class ResourceGroupDto implements IResourceGroupDto {
|
|
|
8363
8385
|
id?: string;
|
|
8364
8386
|
name?: string;
|
|
8365
8387
|
resources: ProductionResourceDto[];
|
|
8388
|
+
department?: DepartmentDto | null;
|
|
8366
8389
|
constructor(data?: IResourceGroupDto);
|
|
8367
8390
|
init(_data?: any): void;
|
|
8368
8391
|
static fromJS(data: any): ResourceGroupDto;
|
|
@@ -8372,10 +8395,12 @@ export interface IResourceGroupDto {
|
|
|
8372
8395
|
id?: string;
|
|
8373
8396
|
name?: string;
|
|
8374
8397
|
resources: ProductionResourceDto[];
|
|
8398
|
+
department?: DepartmentDto | null;
|
|
8375
8399
|
}
|
|
8376
8400
|
export declare class ProductionResourceDto implements IProductionResourceDto {
|
|
8377
8401
|
id?: string;
|
|
8378
8402
|
name?: string;
|
|
8403
|
+
department?: DepartmentDto | null;
|
|
8379
8404
|
constructor(data?: IProductionResourceDto);
|
|
8380
8405
|
init(_data?: any): void;
|
|
8381
8406
|
static fromJS(data: any): ProductionResourceDto;
|
|
@@ -8384,6 +8409,7 @@ export declare class ProductionResourceDto implements IProductionResourceDto {
|
|
|
8384
8409
|
export interface IProductionResourceDto {
|
|
8385
8410
|
id?: string;
|
|
8386
8411
|
name?: string;
|
|
8412
|
+
department?: DepartmentDto | null;
|
|
8387
8413
|
}
|
|
8388
8414
|
export declare class PagedResultOfMeasurementFormListDto implements IPagedResultOfMeasurementFormListDto {
|
|
8389
8415
|
results: MeasurementFormListDto[];
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -20829,6 +20829,7 @@ export class ResourceDto {
|
|
|
20829
20829
|
this.description = _data["description"];
|
|
20830
20830
|
this.resourceType = _data["resourceType"];
|
|
20831
20831
|
this.resourceGroupId = _data["resourceGroupId"];
|
|
20832
|
+
this.department = _data["department"] ? DepartmentDto.fromJS(_data["department"]) : undefined;
|
|
20832
20833
|
}
|
|
20833
20834
|
}
|
|
20834
20835
|
static fromJS(data) {
|
|
@@ -20845,6 +20846,35 @@ export class ResourceDto {
|
|
|
20845
20846
|
data["description"] = this.description;
|
|
20846
20847
|
data["resourceType"] = this.resourceType;
|
|
20847
20848
|
data["resourceGroupId"] = this.resourceGroupId;
|
|
20849
|
+
data["department"] = this.department ? this.department.toJSON() : undefined;
|
|
20850
|
+
return data;
|
|
20851
|
+
}
|
|
20852
|
+
}
|
|
20853
|
+
export class DepartmentDto {
|
|
20854
|
+
constructor(data) {
|
|
20855
|
+
if (data) {
|
|
20856
|
+
for (var property in data) {
|
|
20857
|
+
if (data.hasOwnProperty(property))
|
|
20858
|
+
this[property] = data[property];
|
|
20859
|
+
}
|
|
20860
|
+
}
|
|
20861
|
+
}
|
|
20862
|
+
init(_data) {
|
|
20863
|
+
if (_data) {
|
|
20864
|
+
this.number = _data["number"];
|
|
20865
|
+
this.name = _data["name"];
|
|
20866
|
+
}
|
|
20867
|
+
}
|
|
20868
|
+
static fromJS(data) {
|
|
20869
|
+
data = typeof data === 'object' ? data : {};
|
|
20870
|
+
let result = new DepartmentDto();
|
|
20871
|
+
result.init(data);
|
|
20872
|
+
return result;
|
|
20873
|
+
}
|
|
20874
|
+
toJSON(data) {
|
|
20875
|
+
data = typeof data === 'object' ? data : {};
|
|
20876
|
+
data["number"] = this.number;
|
|
20877
|
+
data["name"] = this.name;
|
|
20848
20878
|
return data;
|
|
20849
20879
|
}
|
|
20850
20880
|
}
|
|
@@ -28703,6 +28733,8 @@ export class ProductionScheduleOperationDto {
|
|
|
28703
28733
|
this.partMaterial = _data["partMaterial"];
|
|
28704
28734
|
this.resourceId = _data["resourceId"];
|
|
28705
28735
|
this.resourceName = _data["resourceName"];
|
|
28736
|
+
this.resourceDepartmentNumber = _data["resourceDepartmentNumber"];
|
|
28737
|
+
this.resourceDepartmentName = _data["resourceDepartmentName"];
|
|
28706
28738
|
this.bomPosition = _data["bomPosition"];
|
|
28707
28739
|
this.customerName = _data["customerName"];
|
|
28708
28740
|
this.previousOperation = _data["previousOperation"] ? SurroundingOperationDto.fromJS(_data["previousOperation"]) : undefined;
|
|
@@ -28757,6 +28789,8 @@ export class ProductionScheduleOperationDto {
|
|
|
28757
28789
|
data["partMaterial"] = this.partMaterial;
|
|
28758
28790
|
data["resourceId"] = this.resourceId;
|
|
28759
28791
|
data["resourceName"] = this.resourceName;
|
|
28792
|
+
data["resourceDepartmentNumber"] = this.resourceDepartmentNumber;
|
|
28793
|
+
data["resourceDepartmentName"] = this.resourceDepartmentName;
|
|
28760
28794
|
data["bomPosition"] = this.bomPosition;
|
|
28761
28795
|
data["customerName"] = this.customerName;
|
|
28762
28796
|
data["previousOperation"] = this.previousOperation ? this.previousOperation.toJSON() : undefined;
|
|
@@ -28798,6 +28832,8 @@ export class SurroundingOperationDto {
|
|
|
28798
28832
|
this.resourceGroupId = _data["resourceGroupId"];
|
|
28799
28833
|
this.resourceId = _data["resourceId"];
|
|
28800
28834
|
this.resourceName = _data["resourceName"];
|
|
28835
|
+
this.resourceDepartmentNumber = _data["resourceDepartmentNumber"];
|
|
28836
|
+
this.resourceDepartmentName = _data["resourceDepartmentName"];
|
|
28801
28837
|
this.producedQuantity = _data["producedQuantity"];
|
|
28802
28838
|
this.scrappedQuantity = _data["scrappedQuantity"];
|
|
28803
28839
|
this.startedQuantity = _data["startedQuantity"];
|
|
@@ -28822,6 +28858,8 @@ export class SurroundingOperationDto {
|
|
|
28822
28858
|
data["resourceGroupId"] = this.resourceGroupId;
|
|
28823
28859
|
data["resourceId"] = this.resourceId;
|
|
28824
28860
|
data["resourceName"] = this.resourceName;
|
|
28861
|
+
data["resourceDepartmentNumber"] = this.resourceDepartmentNumber;
|
|
28862
|
+
data["resourceDepartmentName"] = this.resourceDepartmentName;
|
|
28825
28863
|
data["producedQuantity"] = this.producedQuantity;
|
|
28826
28864
|
data["scrappedQuantity"] = this.scrappedQuantity;
|
|
28827
28865
|
data["startedQuantity"] = this.startedQuantity;
|
|
@@ -29972,6 +30010,7 @@ export class ResourceGroupDto {
|
|
|
29972
30010
|
for (let item of _data["resources"])
|
|
29973
30011
|
this.resources.push(ProductionResourceDto.fromJS(item));
|
|
29974
30012
|
}
|
|
30013
|
+
this.department = _data["department"] ? DepartmentDto.fromJS(_data["department"]) : undefined;
|
|
29975
30014
|
}
|
|
29976
30015
|
}
|
|
29977
30016
|
static fromJS(data) {
|
|
@@ -29989,6 +30028,7 @@ export class ResourceGroupDto {
|
|
|
29989
30028
|
for (let item of this.resources)
|
|
29990
30029
|
data["resources"].push(item.toJSON());
|
|
29991
30030
|
}
|
|
30031
|
+
data["department"] = this.department ? this.department.toJSON() : undefined;
|
|
29992
30032
|
return data;
|
|
29993
30033
|
}
|
|
29994
30034
|
}
|
|
@@ -30005,6 +30045,7 @@ export class ProductionResourceDto {
|
|
|
30005
30045
|
if (_data) {
|
|
30006
30046
|
this.id = _data["id"];
|
|
30007
30047
|
this.name = _data["name"];
|
|
30048
|
+
this.department = _data["department"] ? DepartmentDto.fromJS(_data["department"]) : undefined;
|
|
30008
30049
|
}
|
|
30009
30050
|
}
|
|
30010
30051
|
static fromJS(data) {
|
|
@@ -30017,6 +30058,7 @@ export class ProductionResourceDto {
|
|
|
30017
30058
|
data = typeof data === 'object' ? data : {};
|
|
30018
30059
|
data["id"] = this.id;
|
|
30019
30060
|
data["name"] = this.name;
|
|
30061
|
+
data["department"] = this.department ? this.department.toJSON() : undefined;
|
|
30020
30062
|
return data;
|
|
30021
30063
|
}
|
|
30022
30064
|
}
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -23617,6 +23617,7 @@ export class ResourceDto implements IResourceDto {
|
|
|
23617
23617
|
description?: string | null;
|
|
23618
23618
|
resourceType?: string | null;
|
|
23619
23619
|
resourceGroupId?: string | null;
|
|
23620
|
+
department?: DepartmentDto | null;
|
|
23620
23621
|
|
|
23621
23622
|
constructor(data?: IResourceDto) {
|
|
23622
23623
|
if (data) {
|
|
@@ -23635,6 +23636,7 @@ export class ResourceDto implements IResourceDto {
|
|
|
23635
23636
|
this.description = _data["description"];
|
|
23636
23637
|
this.resourceType = _data["resourceType"];
|
|
23637
23638
|
this.resourceGroupId = _data["resourceGroupId"];
|
|
23639
|
+
this.department = _data["department"] ? DepartmentDto.fromJS(_data["department"]) : <any>undefined;
|
|
23638
23640
|
}
|
|
23639
23641
|
}
|
|
23640
23642
|
|
|
@@ -23653,6 +23655,7 @@ export class ResourceDto implements IResourceDto {
|
|
|
23653
23655
|
data["description"] = this.description;
|
|
23654
23656
|
data["resourceType"] = this.resourceType;
|
|
23655
23657
|
data["resourceGroupId"] = this.resourceGroupId;
|
|
23658
|
+
data["department"] = this.department ? this.department.toJSON() : <any>undefined;
|
|
23656
23659
|
return data;
|
|
23657
23660
|
}
|
|
23658
23661
|
}
|
|
@@ -23664,6 +23667,47 @@ export interface IResourceDto {
|
|
|
23664
23667
|
description?: string | null;
|
|
23665
23668
|
resourceType?: string | null;
|
|
23666
23669
|
resourceGroupId?: string | null;
|
|
23670
|
+
department?: DepartmentDto | null;
|
|
23671
|
+
}
|
|
23672
|
+
|
|
23673
|
+
export class DepartmentDto implements IDepartmentDto {
|
|
23674
|
+
number!: string;
|
|
23675
|
+
name!: string;
|
|
23676
|
+
|
|
23677
|
+
constructor(data?: IDepartmentDto) {
|
|
23678
|
+
if (data) {
|
|
23679
|
+
for (var property in data) {
|
|
23680
|
+
if (data.hasOwnProperty(property))
|
|
23681
|
+
(<any>this)[property] = (<any>data)[property];
|
|
23682
|
+
}
|
|
23683
|
+
}
|
|
23684
|
+
}
|
|
23685
|
+
|
|
23686
|
+
init(_data?: any) {
|
|
23687
|
+
if (_data) {
|
|
23688
|
+
this.number = _data["number"];
|
|
23689
|
+
this.name = _data["name"];
|
|
23690
|
+
}
|
|
23691
|
+
}
|
|
23692
|
+
|
|
23693
|
+
static fromJS(data: any): DepartmentDto {
|
|
23694
|
+
data = typeof data === 'object' ? data : {};
|
|
23695
|
+
let result = new DepartmentDto();
|
|
23696
|
+
result.init(data);
|
|
23697
|
+
return result;
|
|
23698
|
+
}
|
|
23699
|
+
|
|
23700
|
+
toJSON(data?: any) {
|
|
23701
|
+
data = typeof data === 'object' ? data : {};
|
|
23702
|
+
data["number"] = this.number;
|
|
23703
|
+
data["name"] = this.name;
|
|
23704
|
+
return data;
|
|
23705
|
+
}
|
|
23706
|
+
}
|
|
23707
|
+
|
|
23708
|
+
export interface IDepartmentDto {
|
|
23709
|
+
number: string;
|
|
23710
|
+
name: string;
|
|
23667
23711
|
}
|
|
23668
23712
|
|
|
23669
23713
|
export type OperationStatusDto = "NotReady" | "Ready" | "Ongoing" | "Completed" | "Stopped";
|
|
@@ -35536,6 +35580,8 @@ export class ProductionScheduleOperationDto implements IProductionScheduleOperat
|
|
|
35536
35580
|
partMaterial?: string | null;
|
|
35537
35581
|
resourceId!: string;
|
|
35538
35582
|
resourceName!: string;
|
|
35583
|
+
resourceDepartmentNumber?: string | null;
|
|
35584
|
+
resourceDepartmentName?: string | null;
|
|
35539
35585
|
bomPosition?: string | null;
|
|
35540
35586
|
customerName?: string | null;
|
|
35541
35587
|
previousOperation?: SurroundingOperationDto | null;
|
|
@@ -35595,6 +35641,8 @@ export class ProductionScheduleOperationDto implements IProductionScheduleOperat
|
|
|
35595
35641
|
this.partMaterial = _data["partMaterial"];
|
|
35596
35642
|
this.resourceId = _data["resourceId"];
|
|
35597
35643
|
this.resourceName = _data["resourceName"];
|
|
35644
|
+
this.resourceDepartmentNumber = _data["resourceDepartmentNumber"];
|
|
35645
|
+
this.resourceDepartmentName = _data["resourceDepartmentName"];
|
|
35598
35646
|
this.bomPosition = _data["bomPosition"];
|
|
35599
35647
|
this.customerName = _data["customerName"];
|
|
35600
35648
|
this.previousOperation = _data["previousOperation"] ? SurroundingOperationDto.fromJS(_data["previousOperation"]) : <any>undefined;
|
|
@@ -35651,6 +35699,8 @@ export class ProductionScheduleOperationDto implements IProductionScheduleOperat
|
|
|
35651
35699
|
data["partMaterial"] = this.partMaterial;
|
|
35652
35700
|
data["resourceId"] = this.resourceId;
|
|
35653
35701
|
data["resourceName"] = this.resourceName;
|
|
35702
|
+
data["resourceDepartmentNumber"] = this.resourceDepartmentNumber;
|
|
35703
|
+
data["resourceDepartmentName"] = this.resourceDepartmentName;
|
|
35654
35704
|
data["bomPosition"] = this.bomPosition;
|
|
35655
35705
|
data["customerName"] = this.customerName;
|
|
35656
35706
|
data["previousOperation"] = this.previousOperation ? this.previousOperation.toJSON() : <any>undefined;
|
|
@@ -35700,6 +35750,8 @@ export interface IProductionScheduleOperationDto {
|
|
|
35700
35750
|
partMaterial?: string | null;
|
|
35701
35751
|
resourceId: string;
|
|
35702
35752
|
resourceName: string;
|
|
35753
|
+
resourceDepartmentNumber?: string | null;
|
|
35754
|
+
resourceDepartmentName?: string | null;
|
|
35703
35755
|
bomPosition?: string | null;
|
|
35704
35756
|
customerName?: string | null;
|
|
35705
35757
|
previousOperation?: SurroundingOperationDto | null;
|
|
@@ -35730,6 +35782,8 @@ export class SurroundingOperationDto implements ISurroundingOperationDto {
|
|
|
35730
35782
|
resourceGroupId?: string | null;
|
|
35731
35783
|
resourceId?: string | null;
|
|
35732
35784
|
resourceName?: string | null;
|
|
35785
|
+
resourceDepartmentNumber?: string | null;
|
|
35786
|
+
resourceDepartmentName?: string | null;
|
|
35733
35787
|
producedQuantity!: number;
|
|
35734
35788
|
scrappedQuantity!: number;
|
|
35735
35789
|
startedQuantity?: number | null;
|
|
@@ -35756,6 +35810,8 @@ export class SurroundingOperationDto implements ISurroundingOperationDto {
|
|
|
35756
35810
|
this.resourceGroupId = _data["resourceGroupId"];
|
|
35757
35811
|
this.resourceId = _data["resourceId"];
|
|
35758
35812
|
this.resourceName = _data["resourceName"];
|
|
35813
|
+
this.resourceDepartmentNumber = _data["resourceDepartmentNumber"];
|
|
35814
|
+
this.resourceDepartmentName = _data["resourceDepartmentName"];
|
|
35759
35815
|
this.producedQuantity = _data["producedQuantity"];
|
|
35760
35816
|
this.scrappedQuantity = _data["scrappedQuantity"];
|
|
35761
35817
|
this.startedQuantity = _data["startedQuantity"];
|
|
@@ -35782,6 +35838,8 @@ export class SurroundingOperationDto implements ISurroundingOperationDto {
|
|
|
35782
35838
|
data["resourceGroupId"] = this.resourceGroupId;
|
|
35783
35839
|
data["resourceId"] = this.resourceId;
|
|
35784
35840
|
data["resourceName"] = this.resourceName;
|
|
35841
|
+
data["resourceDepartmentNumber"] = this.resourceDepartmentNumber;
|
|
35842
|
+
data["resourceDepartmentName"] = this.resourceDepartmentName;
|
|
35785
35843
|
data["producedQuantity"] = this.producedQuantity;
|
|
35786
35844
|
data["scrappedQuantity"] = this.scrappedQuantity;
|
|
35787
35845
|
data["startedQuantity"] = this.startedQuantity;
|
|
@@ -35801,6 +35859,8 @@ export interface ISurroundingOperationDto {
|
|
|
35801
35859
|
resourceGroupId?: string | null;
|
|
35802
35860
|
resourceId?: string | null;
|
|
35803
35861
|
resourceName?: string | null;
|
|
35862
|
+
resourceDepartmentNumber?: string | null;
|
|
35863
|
+
resourceDepartmentName?: string | null;
|
|
35804
35864
|
producedQuantity: number;
|
|
35805
35865
|
scrappedQuantity: number;
|
|
35806
35866
|
startedQuantity?: number | null;
|
|
@@ -37407,6 +37467,7 @@ export class ResourceGroupDto implements IResourceGroupDto {
|
|
|
37407
37467
|
id?: string;
|
|
37408
37468
|
name?: string;
|
|
37409
37469
|
resources!: ProductionResourceDto[];
|
|
37470
|
+
department?: DepartmentDto | null;
|
|
37410
37471
|
|
|
37411
37472
|
constructor(data?: IResourceGroupDto) {
|
|
37412
37473
|
if (data) {
|
|
@@ -37429,6 +37490,7 @@ export class ResourceGroupDto implements IResourceGroupDto {
|
|
|
37429
37490
|
for (let item of _data["resources"])
|
|
37430
37491
|
this.resources!.push(ProductionResourceDto.fromJS(item));
|
|
37431
37492
|
}
|
|
37493
|
+
this.department = _data["department"] ? DepartmentDto.fromJS(_data["department"]) : <any>undefined;
|
|
37432
37494
|
}
|
|
37433
37495
|
}
|
|
37434
37496
|
|
|
@@ -37448,6 +37510,7 @@ export class ResourceGroupDto implements IResourceGroupDto {
|
|
|
37448
37510
|
for (let item of this.resources)
|
|
37449
37511
|
data["resources"].push(item.toJSON());
|
|
37450
37512
|
}
|
|
37513
|
+
data["department"] = this.department ? this.department.toJSON() : <any>undefined;
|
|
37451
37514
|
return data;
|
|
37452
37515
|
}
|
|
37453
37516
|
}
|
|
@@ -37456,11 +37519,13 @@ export interface IResourceGroupDto {
|
|
|
37456
37519
|
id?: string;
|
|
37457
37520
|
name?: string;
|
|
37458
37521
|
resources: ProductionResourceDto[];
|
|
37522
|
+
department?: DepartmentDto | null;
|
|
37459
37523
|
}
|
|
37460
37524
|
|
|
37461
37525
|
export class ProductionResourceDto implements IProductionResourceDto {
|
|
37462
37526
|
id?: string;
|
|
37463
37527
|
name?: string;
|
|
37528
|
+
department?: DepartmentDto | null;
|
|
37464
37529
|
|
|
37465
37530
|
constructor(data?: IProductionResourceDto) {
|
|
37466
37531
|
if (data) {
|
|
@@ -37475,6 +37540,7 @@ export class ProductionResourceDto implements IProductionResourceDto {
|
|
|
37475
37540
|
if (_data) {
|
|
37476
37541
|
this.id = _data["id"];
|
|
37477
37542
|
this.name = _data["name"];
|
|
37543
|
+
this.department = _data["department"] ? DepartmentDto.fromJS(_data["department"]) : <any>undefined;
|
|
37478
37544
|
}
|
|
37479
37545
|
}
|
|
37480
37546
|
|
|
@@ -37489,6 +37555,7 @@ export class ProductionResourceDto implements IProductionResourceDto {
|
|
|
37489
37555
|
data = typeof data === 'object' ? data : {};
|
|
37490
37556
|
data["id"] = this.id;
|
|
37491
37557
|
data["name"] = this.name;
|
|
37558
|
+
data["department"] = this.department ? this.department.toJSON() : <any>undefined;
|
|
37492
37559
|
return data;
|
|
37493
37560
|
}
|
|
37494
37561
|
}
|
|
@@ -37496,6 +37563,7 @@ export class ProductionResourceDto implements IProductionResourceDto {
|
|
|
37496
37563
|
export interface IProductionResourceDto {
|
|
37497
37564
|
id?: string;
|
|
37498
37565
|
name?: string;
|
|
37566
|
+
department?: DepartmentDto | null;
|
|
37499
37567
|
}
|
|
37500
37568
|
|
|
37501
37569
|
export class PagedResultOfMeasurementFormListDto implements IPagedResultOfMeasurementFormListDto {
|