@ignos/api-client 20251229.0.13634-alpha → 20260106.0.13649
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 +46 -44
- package/lib/ignosportal-api.js +23 -21
- package/package.json +1 -1
- package/src/ignosportal-api.ts +67 -63
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -398,8 +398,8 @@ export declare class MachineAlarmsClient extends AuthorizedApiBase implements IM
|
|
|
398
398
|
protected processGetMachineAlarmDetails(response: Response): Promise<MachineAlarmDetailsDto>;
|
|
399
399
|
}
|
|
400
400
|
export interface IResourcesClient {
|
|
401
|
-
listResources(onlyConnectedResources: boolean | undefined): Promise<
|
|
402
|
-
listResourceGroups(): Promise<
|
|
401
|
+
listResources(onlyConnectedResources: boolean | undefined): Promise<ApplicationResourcesResourceDto[]>;
|
|
402
|
+
listResourceGroups(): Promise<ApplicationResourcesResourceGroupDto[]>;
|
|
403
403
|
createResourceGroup(request: CreateResourceGroup): Promise<CreateResourceGroupResponse>;
|
|
404
404
|
updateResourceGroup(id: string, request: UpdateResourceGroup): Promise<void>;
|
|
405
405
|
deleteResourceGroup(id: string): Promise<void>;
|
|
@@ -427,10 +427,10 @@ export declare class ResourcesClient extends AuthorizedApiBase implements IResou
|
|
|
427
427
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
428
428
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
429
429
|
});
|
|
430
|
-
listResources(onlyConnectedResources: boolean | undefined): Promise<
|
|
431
|
-
protected processListResources(response: Response): Promise<
|
|
432
|
-
listResourceGroups(): Promise<
|
|
433
|
-
protected processListResourceGroups(response: Response): Promise<
|
|
430
|
+
listResources(onlyConnectedResources: boolean | undefined): Promise<ApplicationResourcesResourceDto[]>;
|
|
431
|
+
protected processListResources(response: Response): Promise<ApplicationResourcesResourceDto[]>;
|
|
432
|
+
listResourceGroups(): Promise<ApplicationResourcesResourceGroupDto[]>;
|
|
433
|
+
protected processListResourceGroups(response: Response): Promise<ApplicationResourcesResourceGroupDto[]>;
|
|
434
434
|
createResourceGroup(request: CreateResourceGroup): Promise<CreateResourceGroupResponse>;
|
|
435
435
|
protected processCreateResourceGroup(response: Response): Promise<CreateResourceGroupResponse>;
|
|
436
436
|
updateResourceGroup(id: string, request: UpdateResourceGroup): Promise<void>;
|
|
@@ -2148,7 +2148,7 @@ export declare class MesPurchaseOrderClient extends AuthorizedApiBase implements
|
|
|
2148
2148
|
protected processGetPurchaseOrderDetails(response: Response): Promise<PurchaseOrderDetailsDto>;
|
|
2149
2149
|
}
|
|
2150
2150
|
export interface IMesResourceClient {
|
|
2151
|
-
listResourceGroups(includeResources: boolean | undefined): Promise<
|
|
2151
|
+
listResourceGroups(includeResources: boolean | undefined): Promise<ResourceGroupDto[]>;
|
|
2152
2152
|
listResourceGroupResources(id: string): Promise<ProductionResourceDto[]>;
|
|
2153
2153
|
listDepartments(): Promise<DepartmentDto[]>;
|
|
2154
2154
|
}
|
|
@@ -2159,8 +2159,8 @@ export declare class MesResourceClient extends AuthorizedApiBase implements IMes
|
|
|
2159
2159
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
2160
2160
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2161
2161
|
});
|
|
2162
|
-
listResourceGroups(includeResources: boolean | undefined): Promise<
|
|
2163
|
-
protected processListResourceGroups(response: Response): Promise<
|
|
2162
|
+
listResourceGroups(includeResources: boolean | undefined): Promise<ResourceGroupDto[]>;
|
|
2163
|
+
protected processListResourceGroups(response: Response): Promise<ResourceGroupDto[]>;
|
|
2164
2164
|
listResourceGroupResources(id: string): Promise<ProductionResourceDto[]>;
|
|
2165
2165
|
protected processListResourceGroupResources(response: Response): Promise<ProductionResourceDto[]>;
|
|
2166
2166
|
listDepartments(): Promise<DepartmentDto[]>;
|
|
@@ -4037,7 +4037,7 @@ export interface ICncProgramInfoDto {
|
|
|
4037
4037
|
sequence?: string | null;
|
|
4038
4038
|
line?: string | null;
|
|
4039
4039
|
}
|
|
4040
|
-
export declare class
|
|
4040
|
+
export declare class ApplicationResourcesResourceDto implements IApplicationResourcesResourceDto {
|
|
4041
4041
|
id: number;
|
|
4042
4042
|
externalId: string;
|
|
4043
4043
|
name: string;
|
|
@@ -4047,12 +4047,12 @@ export declare class ResourceDto implements IResourceDto {
|
|
|
4047
4047
|
hasLiveMachineState: boolean;
|
|
4048
4048
|
companyId?: string | null;
|
|
4049
4049
|
resourceId: string;
|
|
4050
|
-
constructor(data?:
|
|
4050
|
+
constructor(data?: IApplicationResourcesResourceDto);
|
|
4051
4051
|
init(_data?: any): void;
|
|
4052
|
-
static fromJS(data: any):
|
|
4052
|
+
static fromJS(data: any): ApplicationResourcesResourceDto;
|
|
4053
4053
|
toJSON(data?: any): any;
|
|
4054
4054
|
}
|
|
4055
|
-
export interface
|
|
4055
|
+
export interface IApplicationResourcesResourceDto {
|
|
4056
4056
|
id: number;
|
|
4057
4057
|
externalId: string;
|
|
4058
4058
|
name: string;
|
|
@@ -4063,17 +4063,17 @@ export interface IResourceDto {
|
|
|
4063
4063
|
companyId?: string | null;
|
|
4064
4064
|
resourceId: string;
|
|
4065
4065
|
}
|
|
4066
|
-
export declare class
|
|
4066
|
+
export declare class ApplicationResourcesResourceGroupDto implements IApplicationResourcesResourceGroupDto {
|
|
4067
4067
|
id: string;
|
|
4068
4068
|
name: string;
|
|
4069
4069
|
companyId?: string | null;
|
|
4070
4070
|
resources: ResourceGroupMemberDto[];
|
|
4071
|
-
constructor(data?:
|
|
4071
|
+
constructor(data?: IApplicationResourcesResourceGroupDto);
|
|
4072
4072
|
init(_data?: any): void;
|
|
4073
|
-
static fromJS(data: any):
|
|
4073
|
+
static fromJS(data: any): ApplicationResourcesResourceGroupDto;
|
|
4074
4074
|
toJSON(data?: any): any;
|
|
4075
4075
|
}
|
|
4076
|
-
export interface
|
|
4076
|
+
export interface IApplicationResourcesResourceGroupDto {
|
|
4077
4077
|
id: string;
|
|
4078
4078
|
name: string;
|
|
4079
4079
|
companyId?: string | null;
|
|
@@ -4197,25 +4197,25 @@ export interface IDowntimeResourceStateDto {
|
|
|
4197
4197
|
endTime: Date;
|
|
4198
4198
|
}
|
|
4199
4199
|
export declare class ResourceStatesSummaryDto implements IResourceStatesSummaryDto {
|
|
4200
|
-
states:
|
|
4200
|
+
states: ApplicationResourceStatesStateDto[];
|
|
4201
4201
|
constructor(data?: IResourceStatesSummaryDto);
|
|
4202
4202
|
init(_data?: any): void;
|
|
4203
4203
|
static fromJS(data: any): ResourceStatesSummaryDto;
|
|
4204
4204
|
toJSON(data?: any): any;
|
|
4205
4205
|
}
|
|
4206
4206
|
export interface IResourceStatesSummaryDto {
|
|
4207
|
-
states:
|
|
4207
|
+
states: ApplicationResourceStatesStateDto[];
|
|
4208
4208
|
}
|
|
4209
|
-
export declare class
|
|
4209
|
+
export declare class ApplicationResourceStatesStateDto implements IApplicationResourceStatesStateDto {
|
|
4210
4210
|
state: string;
|
|
4211
4211
|
resourceState: ResourceState;
|
|
4212
4212
|
seconds: number;
|
|
4213
|
-
constructor(data?:
|
|
4213
|
+
constructor(data?: IApplicationResourceStatesStateDto);
|
|
4214
4214
|
init(_data?: any): void;
|
|
4215
|
-
static fromJS(data: any):
|
|
4215
|
+
static fromJS(data: any): ApplicationResourceStatesStateDto;
|
|
4216
4216
|
toJSON(data?: any): any;
|
|
4217
4217
|
}
|
|
4218
|
-
export interface
|
|
4218
|
+
export interface IApplicationResourceStatesStateDto {
|
|
4219
4219
|
state: string;
|
|
4220
4220
|
resourceState: ResourceState;
|
|
4221
4221
|
seconds: number;
|
|
@@ -5625,7 +5625,7 @@ export type TraceIncludeStatus = "None" | "ForceInclude" | "Exclude";
|
|
|
5625
5625
|
export declare class WorkOrderTraceOperationDto implements IWorkOrderTraceOperationDto {
|
|
5626
5626
|
operation: number;
|
|
5627
5627
|
description: string;
|
|
5628
|
-
resource:
|
|
5628
|
+
resource: ResourceDto;
|
|
5629
5629
|
plannedStart?: Date | null;
|
|
5630
5630
|
plannedEnd?: Date | null;
|
|
5631
5631
|
status: OperationStatusDto;
|
|
@@ -5640,7 +5640,7 @@ export declare class WorkOrderTraceOperationDto implements IWorkOrderTraceOperat
|
|
|
5640
5640
|
export interface IWorkOrderTraceOperationDto {
|
|
5641
5641
|
operation: number;
|
|
5642
5642
|
description: string;
|
|
5643
|
-
resource:
|
|
5643
|
+
resource: ResourceDto;
|
|
5644
5644
|
plannedStart?: Date | null;
|
|
5645
5645
|
plannedEnd?: Date | null;
|
|
5646
5646
|
status: OperationStatusDto;
|
|
@@ -5648,7 +5648,7 @@ export interface IWorkOrderTraceOperationDto {
|
|
|
5648
5648
|
scrappedQuantity: number;
|
|
5649
5649
|
materials: WorkOrderTraceMaterialDto[];
|
|
5650
5650
|
}
|
|
5651
|
-
export declare class
|
|
5651
|
+
export declare class ResourceDto implements IResourceDto {
|
|
5652
5652
|
id: string;
|
|
5653
5653
|
name?: string | null;
|
|
5654
5654
|
external: boolean;
|
|
@@ -5656,12 +5656,12 @@ export declare class ResourceDto2 implements IResourceDto2 {
|
|
|
5656
5656
|
resourceType?: string | null;
|
|
5657
5657
|
resourceGroupId?: string | null;
|
|
5658
5658
|
department?: DepartmentDto | null;
|
|
5659
|
-
constructor(data?:
|
|
5659
|
+
constructor(data?: IResourceDto);
|
|
5660
5660
|
init(_data?: any): void;
|
|
5661
|
-
static fromJS(data: any):
|
|
5661
|
+
static fromJS(data: any): ResourceDto;
|
|
5662
5662
|
toJSON(data?: any): any;
|
|
5663
5663
|
}
|
|
5664
|
-
export interface
|
|
5664
|
+
export interface IResourceDto {
|
|
5665
5665
|
id: string;
|
|
5666
5666
|
name?: string | null;
|
|
5667
5667
|
external: boolean;
|
|
@@ -8487,6 +8487,7 @@ export declare class ListCncMachineOperationsRequest implements IListCncMachineO
|
|
|
8487
8487
|
drawing?: string | null;
|
|
8488
8488
|
drawingRevision?: string | null;
|
|
8489
8489
|
material?: string | null;
|
|
8490
|
+
toolNumber?: string | null;
|
|
8490
8491
|
filterDeleted?: CncFilterDeletedDto | null;
|
|
8491
8492
|
filter?: string | null;
|
|
8492
8493
|
continuationToken?: string | null;
|
|
@@ -8512,6 +8513,7 @@ export interface IListCncMachineOperationsRequest {
|
|
|
8512
8513
|
drawing?: string | null;
|
|
8513
8514
|
drawingRevision?: string | null;
|
|
8514
8515
|
material?: string | null;
|
|
8516
|
+
toolNumber?: string | null;
|
|
8515
8517
|
filterDeleted?: CncFilterDeletedDto | null;
|
|
8516
8518
|
filter?: string | null;
|
|
8517
8519
|
continuationToken?: string | null;
|
|
@@ -9217,7 +9219,7 @@ export interface IFixtureLastUsedOperationDto {
|
|
|
9217
9219
|
lastUsedById?: string | null;
|
|
9218
9220
|
lastUsed?: Date | null;
|
|
9219
9221
|
}
|
|
9220
|
-
export type GripSideDto = "NotApplicable" | "
|
|
9222
|
+
export type GripSideDto = "NotApplicable" | "Internal" | "External";
|
|
9221
9223
|
export declare class ListFixtures implements IListFixtures {
|
|
9222
9224
|
pageSize?: number | null;
|
|
9223
9225
|
searchTerm?: string | null;
|
|
@@ -11165,7 +11167,7 @@ export declare class ProductionOrderOperationDto implements IProductionOrderOper
|
|
|
11165
11167
|
usedSetupHours?: number | null;
|
|
11166
11168
|
usedProductionHours?: number;
|
|
11167
11169
|
fixedTime?: boolean | null;
|
|
11168
|
-
resource?:
|
|
11170
|
+
resource?: ResourceDto | null;
|
|
11169
11171
|
plannedStart?: Date | null;
|
|
11170
11172
|
plannedEnd?: Date | null;
|
|
11171
11173
|
actualStart?: Date | null;
|
|
@@ -11203,7 +11205,7 @@ export interface IProductionOrderOperationDto {
|
|
|
11203
11205
|
usedSetupHours?: number | null;
|
|
11204
11206
|
usedProductionHours?: number;
|
|
11205
11207
|
fixedTime?: boolean | null;
|
|
11206
|
-
resource?:
|
|
11208
|
+
resource?: ResourceDto | null;
|
|
11207
11209
|
plannedStart?: Date | null;
|
|
11208
11210
|
plannedEnd?: Date | null;
|
|
11209
11211
|
actualStart?: Date | null;
|
|
@@ -11436,7 +11438,7 @@ export declare class NonConformanceDto implements INonConformanceDto {
|
|
|
11436
11438
|
nonConformanceId: string;
|
|
11437
11439
|
companyId?: string | null;
|
|
11438
11440
|
part?: PartDto | null;
|
|
11439
|
-
resource?:
|
|
11441
|
+
resource?: ResourceDto | null;
|
|
11440
11442
|
type: NonConformanceType;
|
|
11441
11443
|
workOrder?: string | null;
|
|
11442
11444
|
title?: string | null;
|
|
@@ -11461,7 +11463,7 @@ export interface INonConformanceDto {
|
|
|
11461
11463
|
nonConformanceId: string;
|
|
11462
11464
|
companyId?: string | null;
|
|
11463
11465
|
part?: PartDto | null;
|
|
11464
|
-
resource?:
|
|
11466
|
+
resource?: ResourceDto | null;
|
|
11465
11467
|
type: NonConformanceType;
|
|
11466
11468
|
workOrder?: string | null;
|
|
11467
11469
|
title?: string | null;
|
|
@@ -11575,7 +11577,7 @@ export declare class ProductionOrderOperationActivityDto implements IProductionO
|
|
|
11575
11577
|
operation: number;
|
|
11576
11578
|
operationId: string;
|
|
11577
11579
|
description?: string | null;
|
|
11578
|
-
resource?:
|
|
11580
|
+
resource?: ResourceDto | null;
|
|
11579
11581
|
user?: UserDto | null;
|
|
11580
11582
|
startTime: Date;
|
|
11581
11583
|
endTime?: Date | null;
|
|
@@ -11594,7 +11596,7 @@ export interface IProductionOrderOperationActivityDto {
|
|
|
11594
11596
|
operation: number;
|
|
11595
11597
|
operationId: string;
|
|
11596
11598
|
description?: string | null;
|
|
11597
|
-
resource?:
|
|
11599
|
+
resource?: ResourceDto | null;
|
|
11598
11600
|
user?: UserDto | null;
|
|
11599
11601
|
startTime: Date;
|
|
11600
11602
|
endTime?: Date | null;
|
|
@@ -12201,7 +12203,7 @@ export declare class WorkorderOperationDto implements IWorkorderOperationDto {
|
|
|
12201
12203
|
plannedProductionTimePerPart: number;
|
|
12202
12204
|
plannedProductionTime: number;
|
|
12203
12205
|
fixedTime?: boolean | null;
|
|
12204
|
-
resource?:
|
|
12206
|
+
resource?: ResourceDto | null;
|
|
12205
12207
|
plannedStart?: Date | null;
|
|
12206
12208
|
plannedEnd?: Date | null;
|
|
12207
12209
|
actualStart?: Date | null;
|
|
@@ -12226,7 +12228,7 @@ export interface IWorkorderOperationDto {
|
|
|
12226
12228
|
plannedProductionTimePerPart: number;
|
|
12227
12229
|
plannedProductionTime: number;
|
|
12228
12230
|
fixedTime?: boolean | null;
|
|
12229
|
-
resource?:
|
|
12231
|
+
resource?: ResourceDto | null;
|
|
12230
12232
|
plannedStart?: Date | null;
|
|
12231
12233
|
plannedEnd?: Date | null;
|
|
12232
12234
|
actualStart?: Date | null;
|
|
@@ -12338,17 +12340,17 @@ export interface IErpUserDto {
|
|
|
12338
12340
|
badgeId?: string | null;
|
|
12339
12341
|
email?: string | null;
|
|
12340
12342
|
}
|
|
12341
|
-
export declare class
|
|
12343
|
+
export declare class ResourceGroupDto implements IResourceGroupDto {
|
|
12342
12344
|
id: string;
|
|
12343
12345
|
name?: string | null;
|
|
12344
12346
|
resources: ProductionResourceDto[];
|
|
12345
12347
|
department?: DepartmentDto | null;
|
|
12346
|
-
constructor(data?:
|
|
12348
|
+
constructor(data?: IResourceGroupDto);
|
|
12347
12349
|
init(_data?: any): void;
|
|
12348
|
-
static fromJS(data: any):
|
|
12350
|
+
static fromJS(data: any): ResourceGroupDto;
|
|
12349
12351
|
toJSON(data?: any): any;
|
|
12350
12352
|
}
|
|
12351
|
-
export interface
|
|
12353
|
+
export interface IResourceGroupDto {
|
|
12352
12354
|
id: string;
|
|
12353
12355
|
name?: string | null;
|
|
12354
12356
|
resources: ProductionResourceDto[];
|
|
@@ -13536,7 +13538,7 @@ export declare class MeasurementFormInstanceDto implements IMeasurementFormInsta
|
|
|
13536
13538
|
suppliers: MeasurementFormWorkorderSupplierDto[];
|
|
13537
13539
|
progress: MeasurementFormProgressDto;
|
|
13538
13540
|
approvedReportUrl?: string | null;
|
|
13539
|
-
currentResource?:
|
|
13541
|
+
currentResource?: ResourceDto | null;
|
|
13540
13542
|
constructor(data?: IMeasurementFormInstanceDto);
|
|
13541
13543
|
init(_data?: any): void;
|
|
13542
13544
|
static fromJS(data: any): MeasurementFormInstanceDto;
|
|
@@ -13561,7 +13563,7 @@ export interface IMeasurementFormInstanceDto {
|
|
|
13561
13563
|
suppliers: MeasurementFormWorkorderSupplierDto[];
|
|
13562
13564
|
progress: MeasurementFormProgressDto;
|
|
13563
13565
|
approvedReportUrl?: string | null;
|
|
13564
|
-
currentResource?:
|
|
13566
|
+
currentResource?: ResourceDto | null;
|
|
13565
13567
|
}
|
|
13566
13568
|
export type MeasurementFormInstanceStatus = "Active" | "Cancelled" | "Completed" | "Approved" | "MissingCompletion";
|
|
13567
13569
|
export declare class MeasurementFormWorkorderSchemaDto implements IMeasurementFormWorkorderSchemaDto {
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -2437,7 +2437,7 @@ export class ResourcesClient extends AuthorizedApiBase {
|
|
|
2437
2437
|
if (Array.isArray(resultData200)) {
|
|
2438
2438
|
result200 = [];
|
|
2439
2439
|
for (let item of resultData200)
|
|
2440
|
-
result200.push(
|
|
2440
|
+
result200.push(ApplicationResourcesResourceDto.fromJS(item));
|
|
2441
2441
|
}
|
|
2442
2442
|
return result200;
|
|
2443
2443
|
});
|
|
@@ -2478,7 +2478,7 @@ export class ResourcesClient extends AuthorizedApiBase {
|
|
|
2478
2478
|
if (Array.isArray(resultData200)) {
|
|
2479
2479
|
result200 = [];
|
|
2480
2480
|
for (let item of resultData200)
|
|
2481
|
-
result200.push(
|
|
2481
|
+
result200.push(ApplicationResourcesResourceGroupDto.fromJS(item));
|
|
2482
2482
|
}
|
|
2483
2483
|
return result200;
|
|
2484
2484
|
});
|
|
@@ -18336,7 +18336,7 @@ export class MesResourceClient extends AuthorizedApiBase {
|
|
|
18336
18336
|
if (Array.isArray(resultData200)) {
|
|
18337
18337
|
result200 = [];
|
|
18338
18338
|
for (let item of resultData200)
|
|
18339
|
-
result200.push(
|
|
18339
|
+
result200.push(ResourceGroupDto.fromJS(item));
|
|
18340
18340
|
}
|
|
18341
18341
|
return result200;
|
|
18342
18342
|
});
|
|
@@ -26956,7 +26956,7 @@ export class CncProgramInfoDto {
|
|
|
26956
26956
|
return data;
|
|
26957
26957
|
}
|
|
26958
26958
|
}
|
|
26959
|
-
export class
|
|
26959
|
+
export class ApplicationResourcesResourceDto {
|
|
26960
26960
|
constructor(data) {
|
|
26961
26961
|
if (data) {
|
|
26962
26962
|
for (var property in data) {
|
|
@@ -26984,7 +26984,7 @@ export class ResourceDto {
|
|
|
26984
26984
|
}
|
|
26985
26985
|
static fromJS(data) {
|
|
26986
26986
|
data = typeof data === 'object' ? data : {};
|
|
26987
|
-
let result = new
|
|
26987
|
+
let result = new ApplicationResourcesResourceDto();
|
|
26988
26988
|
result.init(data);
|
|
26989
26989
|
return result;
|
|
26990
26990
|
}
|
|
@@ -27006,7 +27006,7 @@ export class ResourceDto {
|
|
|
27006
27006
|
return data;
|
|
27007
27007
|
}
|
|
27008
27008
|
}
|
|
27009
|
-
export class
|
|
27009
|
+
export class ApplicationResourcesResourceGroupDto {
|
|
27010
27010
|
constructor(data) {
|
|
27011
27011
|
if (data) {
|
|
27012
27012
|
for (var property in data) {
|
|
@@ -27032,7 +27032,7 @@ export class ResourceGroupDto {
|
|
|
27032
27032
|
}
|
|
27033
27033
|
static fromJS(data) {
|
|
27034
27034
|
data = typeof data === 'object' ? data : {};
|
|
27035
|
-
let result = new
|
|
27035
|
+
let result = new ApplicationResourcesResourceGroupDto();
|
|
27036
27036
|
result.init(data);
|
|
27037
27037
|
return result;
|
|
27038
27038
|
}
|
|
@@ -27348,7 +27348,7 @@ export class ResourceStatesSummaryDto {
|
|
|
27348
27348
|
if (Array.isArray(_data["states"])) {
|
|
27349
27349
|
this.states = [];
|
|
27350
27350
|
for (let item of _data["states"])
|
|
27351
|
-
this.states.push(
|
|
27351
|
+
this.states.push(ApplicationResourceStatesStateDto.fromJS(item));
|
|
27352
27352
|
}
|
|
27353
27353
|
}
|
|
27354
27354
|
}
|
|
@@ -27368,7 +27368,7 @@ export class ResourceStatesSummaryDto {
|
|
|
27368
27368
|
return data;
|
|
27369
27369
|
}
|
|
27370
27370
|
}
|
|
27371
|
-
export class
|
|
27371
|
+
export class ApplicationResourceStatesStateDto {
|
|
27372
27372
|
constructor(data) {
|
|
27373
27373
|
if (data) {
|
|
27374
27374
|
for (var property in data) {
|
|
@@ -27386,7 +27386,7 @@ export class StateDto2 {
|
|
|
27386
27386
|
}
|
|
27387
27387
|
static fromJS(data) {
|
|
27388
27388
|
data = typeof data === 'object' ? data : {};
|
|
27389
|
-
let result = new
|
|
27389
|
+
let result = new ApplicationResourceStatesStateDto();
|
|
27390
27390
|
result.init(data);
|
|
27391
27391
|
return result;
|
|
27392
27392
|
}
|
|
@@ -30384,7 +30384,7 @@ export class WorkOrderTraceOperationDto {
|
|
|
30384
30384
|
}
|
|
30385
30385
|
}
|
|
30386
30386
|
if (!data) {
|
|
30387
|
-
this.resource = new
|
|
30387
|
+
this.resource = new ResourceDto();
|
|
30388
30388
|
this.materials = [];
|
|
30389
30389
|
}
|
|
30390
30390
|
}
|
|
@@ -30392,7 +30392,7 @@ export class WorkOrderTraceOperationDto {
|
|
|
30392
30392
|
if (_data) {
|
|
30393
30393
|
this.operation = _data["operation"];
|
|
30394
30394
|
this.description = _data["description"];
|
|
30395
|
-
this.resource = _data["resource"] ?
|
|
30395
|
+
this.resource = _data["resource"] ? ResourceDto.fromJS(_data["resource"]) : new ResourceDto();
|
|
30396
30396
|
this.plannedStart = _data["plannedStart"] ? new Date(_data["plannedStart"].toString()) : undefined;
|
|
30397
30397
|
this.plannedEnd = _data["plannedEnd"] ? new Date(_data["plannedEnd"].toString()) : undefined;
|
|
30398
30398
|
this.status = _data["status"];
|
|
@@ -30429,7 +30429,7 @@ export class WorkOrderTraceOperationDto {
|
|
|
30429
30429
|
return data;
|
|
30430
30430
|
}
|
|
30431
30431
|
}
|
|
30432
|
-
export class
|
|
30432
|
+
export class ResourceDto {
|
|
30433
30433
|
constructor(data) {
|
|
30434
30434
|
if (data) {
|
|
30435
30435
|
for (var property in data) {
|
|
@@ -30451,7 +30451,7 @@ export class ResourceDto2 {
|
|
|
30451
30451
|
}
|
|
30452
30452
|
static fromJS(data) {
|
|
30453
30453
|
data = typeof data === 'object' ? data : {};
|
|
30454
|
-
let result = new
|
|
30454
|
+
let result = new ResourceDto();
|
|
30455
30455
|
result.init(data);
|
|
30456
30456
|
return result;
|
|
30457
30457
|
}
|
|
@@ -36269,6 +36269,7 @@ export class ListCncMachineOperationsRequest {
|
|
|
36269
36269
|
this.drawing = _data["drawing"];
|
|
36270
36270
|
this.drawingRevision = _data["drawingRevision"];
|
|
36271
36271
|
this.material = _data["material"];
|
|
36272
|
+
this.toolNumber = _data["toolNumber"];
|
|
36272
36273
|
this.filterDeleted = _data["filterDeleted"];
|
|
36273
36274
|
this.filter = _data["filter"];
|
|
36274
36275
|
this.continuationToken = _data["continuationToken"];
|
|
@@ -36298,6 +36299,7 @@ export class ListCncMachineOperationsRequest {
|
|
|
36298
36299
|
data["drawing"] = this.drawing;
|
|
36299
36300
|
data["drawingRevision"] = this.drawingRevision;
|
|
36300
36301
|
data["material"] = this.material;
|
|
36302
|
+
data["toolNumber"] = this.toolNumber;
|
|
36301
36303
|
data["filterDeleted"] = this.filterDeleted;
|
|
36302
36304
|
data["filter"] = this.filter;
|
|
36303
36305
|
data["continuationToken"] = this.continuationToken;
|
|
@@ -41694,7 +41696,7 @@ export class ProductionOrderOperationDto {
|
|
|
41694
41696
|
this.usedSetupHours = _data["usedSetupHours"];
|
|
41695
41697
|
this.usedProductionHours = _data["usedProductionHours"];
|
|
41696
41698
|
this.fixedTime = _data["fixedTime"];
|
|
41697
|
-
this.resource = _data["resource"] ?
|
|
41699
|
+
this.resource = _data["resource"] ? ResourceDto.fromJS(_data["resource"]) : undefined;
|
|
41698
41700
|
this.plannedStart = _data["plannedStart"] ? new Date(_data["plannedStart"].toString()) : undefined;
|
|
41699
41701
|
this.plannedEnd = _data["plannedEnd"] ? new Date(_data["plannedEnd"].toString()) : undefined;
|
|
41700
41702
|
this.actualStart = _data["actualStart"] ? new Date(_data["actualStart"].toString()) : undefined;
|
|
@@ -42171,7 +42173,7 @@ export class NonConformanceDto {
|
|
|
42171
42173
|
this.nonConformanceId = _data["nonConformanceId"];
|
|
42172
42174
|
this.companyId = _data["companyId"];
|
|
42173
42175
|
this.part = _data["part"] ? PartDto.fromJS(_data["part"]) : undefined;
|
|
42174
|
-
this.resource = _data["resource"] ?
|
|
42176
|
+
this.resource = _data["resource"] ? ResourceDto.fromJS(_data["resource"]) : undefined;
|
|
42175
42177
|
this.type = _data["type"];
|
|
42176
42178
|
this.workOrder = _data["workOrder"];
|
|
42177
42179
|
this.title = _data["title"];
|
|
@@ -42443,7 +42445,7 @@ export class ProductionOrderOperationActivityDto {
|
|
|
42443
42445
|
this.operation = _data["operation"];
|
|
42444
42446
|
this.operationId = _data["operationId"];
|
|
42445
42447
|
this.description = _data["description"];
|
|
42446
|
-
this.resource = _data["resource"] ?
|
|
42448
|
+
this.resource = _data["resource"] ? ResourceDto.fromJS(_data["resource"]) : undefined;
|
|
42447
42449
|
this.user = _data["user"] ? UserDto.fromJS(_data["user"]) : undefined;
|
|
42448
42450
|
this.startTime = _data["startTime"] ? new Date(_data["startTime"].toString()) : undefined;
|
|
42449
42451
|
this.endTime = _data["endTime"] ? new Date(_data["endTime"].toString()) : undefined;
|
|
@@ -43838,7 +43840,7 @@ export class WorkorderOperationDto {
|
|
|
43838
43840
|
this.plannedProductionTimePerPart = _data["plannedProductionTimePerPart"];
|
|
43839
43841
|
this.plannedProductionTime = _data["plannedProductionTime"];
|
|
43840
43842
|
this.fixedTime = _data["fixedTime"];
|
|
43841
|
-
this.resource = _data["resource"] ?
|
|
43843
|
+
this.resource = _data["resource"] ? ResourceDto.fromJS(_data["resource"]) : undefined;
|
|
43842
43844
|
this.plannedStart = _data["plannedStart"] ? new Date(_data["plannedStart"].toString()) : undefined;
|
|
43843
43845
|
this.plannedEnd = _data["plannedEnd"] ? new Date(_data["plannedEnd"].toString()) : undefined;
|
|
43844
43846
|
this.actualStart = _data["actualStart"] ? new Date(_data["actualStart"].toString()) : undefined;
|
|
@@ -44054,7 +44056,7 @@ export class ErpUserDto {
|
|
|
44054
44056
|
return data;
|
|
44055
44057
|
}
|
|
44056
44058
|
}
|
|
44057
|
-
export class
|
|
44059
|
+
export class ResourceGroupDto {
|
|
44058
44060
|
constructor(data) {
|
|
44059
44061
|
if (data) {
|
|
44060
44062
|
for (var property in data) {
|
|
@@ -44080,7 +44082,7 @@ export class ResourceGroupDto2 {
|
|
|
44080
44082
|
}
|
|
44081
44083
|
static fromJS(data) {
|
|
44082
44084
|
data = typeof data === 'object' ? data : {};
|
|
44083
|
-
let result = new
|
|
44085
|
+
let result = new ResourceGroupDto();
|
|
44084
44086
|
result.init(data);
|
|
44085
44087
|
return result;
|
|
44086
44088
|
}
|
|
@@ -46378,7 +46380,7 @@ export class MeasurementFormInstanceDto {
|
|
|
46378
46380
|
}
|
|
46379
46381
|
this.progress = _data["progress"] ? MeasurementFormProgressDto.fromJS(_data["progress"]) : new MeasurementFormProgressDto();
|
|
46380
46382
|
this.approvedReportUrl = _data["approvedReportUrl"];
|
|
46381
|
-
this.currentResource = _data["currentResource"] ?
|
|
46383
|
+
this.currentResource = _data["currentResource"] ? ResourceDto.fromJS(_data["currentResource"]) : undefined;
|
|
46382
46384
|
}
|
|
46383
46385
|
}
|
|
46384
46386
|
static fromJS(data) {
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -2625,9 +2625,9 @@ export class MachineAlarmsClient extends AuthorizedApiBase implements IMachineAl
|
|
|
2625
2625
|
|
|
2626
2626
|
export interface IResourcesClient {
|
|
2627
2627
|
|
|
2628
|
-
listResources(onlyConnectedResources: boolean | undefined): Promise<
|
|
2628
|
+
listResources(onlyConnectedResources: boolean | undefined): Promise<ApplicationResourcesResourceDto[]>;
|
|
2629
2629
|
|
|
2630
|
-
listResourceGroups(): Promise<
|
|
2630
|
+
listResourceGroups(): Promise<ApplicationResourcesResourceGroupDto[]>;
|
|
2631
2631
|
|
|
2632
2632
|
createResourceGroup(request: CreateResourceGroup): Promise<CreateResourceGroupResponse>;
|
|
2633
2633
|
|
|
@@ -2679,7 +2679,7 @@ export class ResourcesClient extends AuthorizedApiBase implements IResourcesClie
|
|
|
2679
2679
|
this.baseUrl = baseUrl ?? "";
|
|
2680
2680
|
}
|
|
2681
2681
|
|
|
2682
|
-
listResources(onlyConnectedResources: boolean | undefined): Promise<
|
|
2682
|
+
listResources(onlyConnectedResources: boolean | undefined): Promise<ApplicationResourcesResourceDto[]> {
|
|
2683
2683
|
let url_ = this.baseUrl + "/resources?";
|
|
2684
2684
|
if (onlyConnectedResources === null)
|
|
2685
2685
|
throw new globalThis.Error("The parameter 'onlyConnectedResources' cannot be null.");
|
|
@@ -2701,7 +2701,7 @@ export class ResourcesClient extends AuthorizedApiBase implements IResourcesClie
|
|
|
2701
2701
|
});
|
|
2702
2702
|
}
|
|
2703
2703
|
|
|
2704
|
-
protected processListResources(response: Response): Promise<
|
|
2704
|
+
protected processListResources(response: Response): Promise<ApplicationResourcesResourceDto[]> {
|
|
2705
2705
|
const status = response.status;
|
|
2706
2706
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
2707
2707
|
if (status === 200) {
|
|
@@ -2711,7 +2711,7 @@ export class ResourcesClient extends AuthorizedApiBase implements IResourcesClie
|
|
|
2711
2711
|
if (Array.isArray(resultData200)) {
|
|
2712
2712
|
result200 = [] as any;
|
|
2713
2713
|
for (let item of resultData200)
|
|
2714
|
-
result200!.push(
|
|
2714
|
+
result200!.push(ApplicationResourcesResourceDto.fromJS(item));
|
|
2715
2715
|
}
|
|
2716
2716
|
return result200;
|
|
2717
2717
|
});
|
|
@@ -2720,10 +2720,10 @@ export class ResourcesClient extends AuthorizedApiBase implements IResourcesClie
|
|
|
2720
2720
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
2721
2721
|
});
|
|
2722
2722
|
}
|
|
2723
|
-
return Promise.resolve<
|
|
2723
|
+
return Promise.resolve<ApplicationResourcesResourceDto[]>(null as any);
|
|
2724
2724
|
}
|
|
2725
2725
|
|
|
2726
|
-
listResourceGroups(): Promise<
|
|
2726
|
+
listResourceGroups(): Promise<ApplicationResourcesResourceGroupDto[]> {
|
|
2727
2727
|
let url_ = this.baseUrl + "/resources/groups";
|
|
2728
2728
|
url_ = url_.replace(/[?&]$/, "");
|
|
2729
2729
|
|
|
@@ -2741,7 +2741,7 @@ export class ResourcesClient extends AuthorizedApiBase implements IResourcesClie
|
|
|
2741
2741
|
});
|
|
2742
2742
|
}
|
|
2743
2743
|
|
|
2744
|
-
protected processListResourceGroups(response: Response): Promise<
|
|
2744
|
+
protected processListResourceGroups(response: Response): Promise<ApplicationResourcesResourceGroupDto[]> {
|
|
2745
2745
|
const status = response.status;
|
|
2746
2746
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
2747
2747
|
if (status === 200) {
|
|
@@ -2751,7 +2751,7 @@ export class ResourcesClient extends AuthorizedApiBase implements IResourcesClie
|
|
|
2751
2751
|
if (Array.isArray(resultData200)) {
|
|
2752
2752
|
result200 = [] as any;
|
|
2753
2753
|
for (let item of resultData200)
|
|
2754
|
-
result200!.push(
|
|
2754
|
+
result200!.push(ApplicationResourcesResourceGroupDto.fromJS(item));
|
|
2755
2755
|
}
|
|
2756
2756
|
return result200;
|
|
2757
2757
|
});
|
|
@@ -2760,7 +2760,7 @@ export class ResourcesClient extends AuthorizedApiBase implements IResourcesClie
|
|
|
2760
2760
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
2761
2761
|
});
|
|
2762
2762
|
}
|
|
2763
|
-
return Promise.resolve<
|
|
2763
|
+
return Promise.resolve<ApplicationResourcesResourceGroupDto[]>(null as any);
|
|
2764
2764
|
}
|
|
2765
2765
|
|
|
2766
2766
|
createResourceGroup(request: CreateResourceGroup): Promise<CreateResourceGroupResponse> {
|
|
@@ -19504,7 +19504,7 @@ export class MesPurchaseOrderClient extends AuthorizedApiBase implements IMesPur
|
|
|
19504
19504
|
|
|
19505
19505
|
export interface IMesResourceClient {
|
|
19506
19506
|
|
|
19507
|
-
listResourceGroups(includeResources: boolean | undefined): Promise<
|
|
19507
|
+
listResourceGroups(includeResources: boolean | undefined): Promise<ResourceGroupDto[]>;
|
|
19508
19508
|
|
|
19509
19509
|
listResourceGroupResources(id: string): Promise<ProductionResourceDto[]>;
|
|
19510
19510
|
|
|
@@ -19522,7 +19522,7 @@ export class MesResourceClient extends AuthorizedApiBase implements IMesResource
|
|
|
19522
19522
|
this.baseUrl = baseUrl ?? "";
|
|
19523
19523
|
}
|
|
19524
19524
|
|
|
19525
|
-
listResourceGroups(includeResources: boolean | undefined): Promise<
|
|
19525
|
+
listResourceGroups(includeResources: boolean | undefined): Promise<ResourceGroupDto[]> {
|
|
19526
19526
|
let url_ = this.baseUrl + "/mes/resourcegroups?";
|
|
19527
19527
|
if (includeResources === null)
|
|
19528
19528
|
throw new globalThis.Error("The parameter 'includeResources' cannot be null.");
|
|
@@ -19544,7 +19544,7 @@ export class MesResourceClient extends AuthorizedApiBase implements IMesResource
|
|
|
19544
19544
|
});
|
|
19545
19545
|
}
|
|
19546
19546
|
|
|
19547
|
-
protected processListResourceGroups(response: Response): Promise<
|
|
19547
|
+
protected processListResourceGroups(response: Response): Promise<ResourceGroupDto[]> {
|
|
19548
19548
|
const status = response.status;
|
|
19549
19549
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19550
19550
|
if (status === 200) {
|
|
@@ -19554,7 +19554,7 @@ export class MesResourceClient extends AuthorizedApiBase implements IMesResource
|
|
|
19554
19554
|
if (Array.isArray(resultData200)) {
|
|
19555
19555
|
result200 = [] as any;
|
|
19556
19556
|
for (let item of resultData200)
|
|
19557
|
-
result200!.push(
|
|
19557
|
+
result200!.push(ResourceGroupDto.fromJS(item));
|
|
19558
19558
|
}
|
|
19559
19559
|
return result200;
|
|
19560
19560
|
});
|
|
@@ -19563,7 +19563,7 @@ export class MesResourceClient extends AuthorizedApiBase implements IMesResource
|
|
|
19563
19563
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19564
19564
|
});
|
|
19565
19565
|
}
|
|
19566
|
-
return Promise.resolve<
|
|
19566
|
+
return Promise.resolve<ResourceGroupDto[]>(null as any);
|
|
19567
19567
|
}
|
|
19568
19568
|
|
|
19569
19569
|
listResourceGroupResources(id: string): Promise<ProductionResourceDto[]> {
|
|
@@ -29700,7 +29700,7 @@ export interface ICncProgramInfoDto {
|
|
|
29700
29700
|
line?: string | null;
|
|
29701
29701
|
}
|
|
29702
29702
|
|
|
29703
|
-
export class
|
|
29703
|
+
export class ApplicationResourcesResourceDto implements IApplicationResourcesResourceDto {
|
|
29704
29704
|
id!: number;
|
|
29705
29705
|
externalId!: string;
|
|
29706
29706
|
name!: string;
|
|
@@ -29711,7 +29711,7 @@ export class ResourceDto implements IResourceDto {
|
|
|
29711
29711
|
companyId?: string | null;
|
|
29712
29712
|
resourceId!: string;
|
|
29713
29713
|
|
|
29714
|
-
constructor(data?:
|
|
29714
|
+
constructor(data?: IApplicationResourcesResourceDto) {
|
|
29715
29715
|
if (data) {
|
|
29716
29716
|
for (var property in data) {
|
|
29717
29717
|
if (data.hasOwnProperty(property))
|
|
@@ -29738,9 +29738,9 @@ export class ResourceDto implements IResourceDto {
|
|
|
29738
29738
|
}
|
|
29739
29739
|
}
|
|
29740
29740
|
|
|
29741
|
-
static fromJS(data: any):
|
|
29741
|
+
static fromJS(data: any): ApplicationResourcesResourceDto {
|
|
29742
29742
|
data = typeof data === 'object' ? data : {};
|
|
29743
|
-
let result = new
|
|
29743
|
+
let result = new ApplicationResourcesResourceDto();
|
|
29744
29744
|
result.init(data);
|
|
29745
29745
|
return result;
|
|
29746
29746
|
}
|
|
@@ -29764,7 +29764,7 @@ export class ResourceDto implements IResourceDto {
|
|
|
29764
29764
|
}
|
|
29765
29765
|
}
|
|
29766
29766
|
|
|
29767
|
-
export interface
|
|
29767
|
+
export interface IApplicationResourcesResourceDto {
|
|
29768
29768
|
id: number;
|
|
29769
29769
|
externalId: string;
|
|
29770
29770
|
name: string;
|
|
@@ -29776,13 +29776,13 @@ export interface IResourceDto {
|
|
|
29776
29776
|
resourceId: string;
|
|
29777
29777
|
}
|
|
29778
29778
|
|
|
29779
|
-
export class
|
|
29779
|
+
export class ApplicationResourcesResourceGroupDto implements IApplicationResourcesResourceGroupDto {
|
|
29780
29780
|
id!: string;
|
|
29781
29781
|
name!: string;
|
|
29782
29782
|
companyId?: string | null;
|
|
29783
29783
|
resources!: ResourceGroupMemberDto[];
|
|
29784
29784
|
|
|
29785
|
-
constructor(data?:
|
|
29785
|
+
constructor(data?: IApplicationResourcesResourceGroupDto) {
|
|
29786
29786
|
if (data) {
|
|
29787
29787
|
for (var property in data) {
|
|
29788
29788
|
if (data.hasOwnProperty(property))
|
|
@@ -29807,9 +29807,9 @@ export class ResourceGroupDto implements IResourceGroupDto {
|
|
|
29807
29807
|
}
|
|
29808
29808
|
}
|
|
29809
29809
|
|
|
29810
|
-
static fromJS(data: any):
|
|
29810
|
+
static fromJS(data: any): ApplicationResourcesResourceGroupDto {
|
|
29811
29811
|
data = typeof data === 'object' ? data : {};
|
|
29812
|
-
let result = new
|
|
29812
|
+
let result = new ApplicationResourcesResourceGroupDto();
|
|
29813
29813
|
result.init(data);
|
|
29814
29814
|
return result;
|
|
29815
29815
|
}
|
|
@@ -29828,7 +29828,7 @@ export class ResourceGroupDto implements IResourceGroupDto {
|
|
|
29828
29828
|
}
|
|
29829
29829
|
}
|
|
29830
29830
|
|
|
29831
|
-
export interface
|
|
29831
|
+
export interface IApplicationResourcesResourceGroupDto {
|
|
29832
29832
|
id: string;
|
|
29833
29833
|
name: string;
|
|
29834
29834
|
companyId?: string | null;
|
|
@@ -30236,7 +30236,7 @@ export interface IDowntimeResourceStateDto {
|
|
|
30236
30236
|
}
|
|
30237
30237
|
|
|
30238
30238
|
export class ResourceStatesSummaryDto implements IResourceStatesSummaryDto {
|
|
30239
|
-
states!:
|
|
30239
|
+
states!: ApplicationResourceStatesStateDto[];
|
|
30240
30240
|
|
|
30241
30241
|
constructor(data?: IResourceStatesSummaryDto) {
|
|
30242
30242
|
if (data) {
|
|
@@ -30255,7 +30255,7 @@ export class ResourceStatesSummaryDto implements IResourceStatesSummaryDto {
|
|
|
30255
30255
|
if (Array.isArray(_data["states"])) {
|
|
30256
30256
|
this.states = [] as any;
|
|
30257
30257
|
for (let item of _data["states"])
|
|
30258
|
-
this.states!.push(
|
|
30258
|
+
this.states!.push(ApplicationResourceStatesStateDto.fromJS(item));
|
|
30259
30259
|
}
|
|
30260
30260
|
}
|
|
30261
30261
|
}
|
|
@@ -30279,15 +30279,15 @@ export class ResourceStatesSummaryDto implements IResourceStatesSummaryDto {
|
|
|
30279
30279
|
}
|
|
30280
30280
|
|
|
30281
30281
|
export interface IResourceStatesSummaryDto {
|
|
30282
|
-
states:
|
|
30282
|
+
states: ApplicationResourceStatesStateDto[];
|
|
30283
30283
|
}
|
|
30284
30284
|
|
|
30285
|
-
export class
|
|
30285
|
+
export class ApplicationResourceStatesStateDto implements IApplicationResourceStatesStateDto {
|
|
30286
30286
|
state!: string;
|
|
30287
30287
|
resourceState!: ResourceState;
|
|
30288
30288
|
seconds!: number;
|
|
30289
30289
|
|
|
30290
|
-
constructor(data?:
|
|
30290
|
+
constructor(data?: IApplicationResourceStatesStateDto) {
|
|
30291
30291
|
if (data) {
|
|
30292
30292
|
for (var property in data) {
|
|
30293
30293
|
if (data.hasOwnProperty(property))
|
|
@@ -30304,9 +30304,9 @@ export class StateDto2 implements IStateDto2 {
|
|
|
30304
30304
|
}
|
|
30305
30305
|
}
|
|
30306
30306
|
|
|
30307
|
-
static fromJS(data: any):
|
|
30307
|
+
static fromJS(data: any): ApplicationResourceStatesStateDto {
|
|
30308
30308
|
data = typeof data === 'object' ? data : {};
|
|
30309
|
-
let result = new
|
|
30309
|
+
let result = new ApplicationResourceStatesStateDto();
|
|
30310
30310
|
result.init(data);
|
|
30311
30311
|
return result;
|
|
30312
30312
|
}
|
|
@@ -30320,7 +30320,7 @@ export class StateDto2 implements IStateDto2 {
|
|
|
30320
30320
|
}
|
|
30321
30321
|
}
|
|
30322
30322
|
|
|
30323
|
-
export interface
|
|
30323
|
+
export interface IApplicationResourceStatesStateDto {
|
|
30324
30324
|
state: string;
|
|
30325
30325
|
resourceState: ResourceState;
|
|
30326
30326
|
seconds: number;
|
|
@@ -34716,7 +34716,7 @@ export type TraceIncludeStatus = "None" | "ForceInclude" | "Exclude";
|
|
|
34716
34716
|
export class WorkOrderTraceOperationDto implements IWorkOrderTraceOperationDto {
|
|
34717
34717
|
operation!: number;
|
|
34718
34718
|
description!: string;
|
|
34719
|
-
resource!:
|
|
34719
|
+
resource!: ResourceDto;
|
|
34720
34720
|
plannedStart?: Date | null;
|
|
34721
34721
|
plannedEnd?: Date | null;
|
|
34722
34722
|
status!: OperationStatusDto;
|
|
@@ -34732,7 +34732,7 @@ export class WorkOrderTraceOperationDto implements IWorkOrderTraceOperationDto {
|
|
|
34732
34732
|
}
|
|
34733
34733
|
}
|
|
34734
34734
|
if (!data) {
|
|
34735
|
-
this.resource = new
|
|
34735
|
+
this.resource = new ResourceDto();
|
|
34736
34736
|
this.materials = [];
|
|
34737
34737
|
}
|
|
34738
34738
|
}
|
|
@@ -34741,7 +34741,7 @@ export class WorkOrderTraceOperationDto implements IWorkOrderTraceOperationDto {
|
|
|
34741
34741
|
if (_data) {
|
|
34742
34742
|
this.operation = _data["operation"];
|
|
34743
34743
|
this.description = _data["description"];
|
|
34744
|
-
this.resource = _data["resource"] ?
|
|
34744
|
+
this.resource = _data["resource"] ? ResourceDto.fromJS(_data["resource"]) : new ResourceDto();
|
|
34745
34745
|
this.plannedStart = _data["plannedStart"] ? new Date(_data["plannedStart"].toString()) : undefined as any;
|
|
34746
34746
|
this.plannedEnd = _data["plannedEnd"] ? new Date(_data["plannedEnd"].toString()) : undefined as any;
|
|
34747
34747
|
this.status = _data["status"];
|
|
@@ -34784,7 +34784,7 @@ export class WorkOrderTraceOperationDto implements IWorkOrderTraceOperationDto {
|
|
|
34784
34784
|
export interface IWorkOrderTraceOperationDto {
|
|
34785
34785
|
operation: number;
|
|
34786
34786
|
description: string;
|
|
34787
|
-
resource:
|
|
34787
|
+
resource: ResourceDto;
|
|
34788
34788
|
plannedStart?: Date | null;
|
|
34789
34789
|
plannedEnd?: Date | null;
|
|
34790
34790
|
status: OperationStatusDto;
|
|
@@ -34793,7 +34793,7 @@ export interface IWorkOrderTraceOperationDto {
|
|
|
34793
34793
|
materials: WorkOrderTraceMaterialDto[];
|
|
34794
34794
|
}
|
|
34795
34795
|
|
|
34796
|
-
export class
|
|
34796
|
+
export class ResourceDto implements IResourceDto {
|
|
34797
34797
|
id!: string;
|
|
34798
34798
|
name?: string | null;
|
|
34799
34799
|
external!: boolean;
|
|
@@ -34802,7 +34802,7 @@ export class ResourceDto2 implements IResourceDto2 {
|
|
|
34802
34802
|
resourceGroupId?: string | null;
|
|
34803
34803
|
department?: DepartmentDto | null;
|
|
34804
34804
|
|
|
34805
|
-
constructor(data?:
|
|
34805
|
+
constructor(data?: IResourceDto) {
|
|
34806
34806
|
if (data) {
|
|
34807
34807
|
for (var property in data) {
|
|
34808
34808
|
if (data.hasOwnProperty(property))
|
|
@@ -34823,9 +34823,9 @@ export class ResourceDto2 implements IResourceDto2 {
|
|
|
34823
34823
|
}
|
|
34824
34824
|
}
|
|
34825
34825
|
|
|
34826
|
-
static fromJS(data: any):
|
|
34826
|
+
static fromJS(data: any): ResourceDto {
|
|
34827
34827
|
data = typeof data === 'object' ? data : {};
|
|
34828
|
-
let result = new
|
|
34828
|
+
let result = new ResourceDto();
|
|
34829
34829
|
result.init(data);
|
|
34830
34830
|
return result;
|
|
34831
34831
|
}
|
|
@@ -34843,7 +34843,7 @@ export class ResourceDto2 implements IResourceDto2 {
|
|
|
34843
34843
|
}
|
|
34844
34844
|
}
|
|
34845
34845
|
|
|
34846
|
-
export interface
|
|
34846
|
+
export interface IResourceDto {
|
|
34847
34847
|
id: string;
|
|
34848
34848
|
name?: string | null;
|
|
34849
34849
|
external: boolean;
|
|
@@ -43469,6 +43469,7 @@ export class ListCncMachineOperationsRequest implements IListCncMachineOperation
|
|
|
43469
43469
|
drawing?: string | null;
|
|
43470
43470
|
drawingRevision?: string | null;
|
|
43471
43471
|
material?: string | null;
|
|
43472
|
+
toolNumber?: string | null;
|
|
43472
43473
|
filterDeleted?: CncFilterDeletedDto | null;
|
|
43473
43474
|
filter?: string | null;
|
|
43474
43475
|
continuationToken?: string | null;
|
|
@@ -43500,6 +43501,7 @@ export class ListCncMachineOperationsRequest implements IListCncMachineOperation
|
|
|
43500
43501
|
this.drawing = _data["drawing"];
|
|
43501
43502
|
this.drawingRevision = _data["drawingRevision"];
|
|
43502
43503
|
this.material = _data["material"];
|
|
43504
|
+
this.toolNumber = _data["toolNumber"];
|
|
43503
43505
|
this.filterDeleted = _data["filterDeleted"];
|
|
43504
43506
|
this.filter = _data["filter"];
|
|
43505
43507
|
this.continuationToken = _data["continuationToken"];
|
|
@@ -43531,6 +43533,7 @@ export class ListCncMachineOperationsRequest implements IListCncMachineOperation
|
|
|
43531
43533
|
data["drawing"] = this.drawing;
|
|
43532
43534
|
data["drawingRevision"] = this.drawingRevision;
|
|
43533
43535
|
data["material"] = this.material;
|
|
43536
|
+
data["toolNumber"] = this.toolNumber;
|
|
43534
43537
|
data["filterDeleted"] = this.filterDeleted;
|
|
43535
43538
|
data["filter"] = this.filter;
|
|
43536
43539
|
data["continuationToken"] = this.continuationToken;
|
|
@@ -43555,6 +43558,7 @@ export interface IListCncMachineOperationsRequest {
|
|
|
43555
43558
|
drawing?: string | null;
|
|
43556
43559
|
drawingRevision?: string | null;
|
|
43557
43560
|
material?: string | null;
|
|
43561
|
+
toolNumber?: string | null;
|
|
43558
43562
|
filterDeleted?: CncFilterDeletedDto | null;
|
|
43559
43563
|
filter?: string | null;
|
|
43560
43564
|
continuationToken?: string | null;
|
|
@@ -45439,7 +45443,7 @@ export interface IFixtureLastUsedOperationDto {
|
|
|
45439
45443
|
lastUsed?: Date | null;
|
|
45440
45444
|
}
|
|
45441
45445
|
|
|
45442
|
-
export type GripSideDto = "NotApplicable" | "
|
|
45446
|
+
export type GripSideDto = "NotApplicable" | "Internal" | "External";
|
|
45443
45447
|
|
|
45444
45448
|
export class ListFixtures implements IListFixtures {
|
|
45445
45449
|
pageSize?: number | null;
|
|
@@ -51574,7 +51578,7 @@ export class ProductionOrderOperationDto implements IProductionOrderOperationDto
|
|
|
51574
51578
|
usedSetupHours?: number | null;
|
|
51575
51579
|
usedProductionHours?: number;
|
|
51576
51580
|
fixedTime?: boolean | null;
|
|
51577
|
-
resource?:
|
|
51581
|
+
resource?: ResourceDto | null;
|
|
51578
51582
|
plannedStart?: Date | null;
|
|
51579
51583
|
plannedEnd?: Date | null;
|
|
51580
51584
|
actualStart?: Date | null;
|
|
@@ -51618,7 +51622,7 @@ export class ProductionOrderOperationDto implements IProductionOrderOperationDto
|
|
|
51618
51622
|
this.usedSetupHours = _data["usedSetupHours"];
|
|
51619
51623
|
this.usedProductionHours = _data["usedProductionHours"];
|
|
51620
51624
|
this.fixedTime = _data["fixedTime"];
|
|
51621
|
-
this.resource = _data["resource"] ?
|
|
51625
|
+
this.resource = _data["resource"] ? ResourceDto.fromJS(_data["resource"]) : undefined as any;
|
|
51622
51626
|
this.plannedStart = _data["plannedStart"] ? new Date(_data["plannedStart"].toString()) : undefined as any;
|
|
51623
51627
|
this.plannedEnd = _data["plannedEnd"] ? new Date(_data["plannedEnd"].toString()) : undefined as any;
|
|
51624
51628
|
this.actualStart = _data["actualStart"] ? new Date(_data["actualStart"].toString()) : undefined as any;
|
|
@@ -51699,7 +51703,7 @@ export interface IProductionOrderOperationDto {
|
|
|
51699
51703
|
usedSetupHours?: number | null;
|
|
51700
51704
|
usedProductionHours?: number;
|
|
51701
51705
|
fixedTime?: boolean | null;
|
|
51702
|
-
resource?:
|
|
51706
|
+
resource?: ResourceDto | null;
|
|
51703
51707
|
plannedStart?: Date | null;
|
|
51704
51708
|
plannedEnd?: Date | null;
|
|
51705
51709
|
actualStart?: Date | null;
|
|
@@ -52331,7 +52335,7 @@ export class NonConformanceDto implements INonConformanceDto {
|
|
|
52331
52335
|
nonConformanceId!: string;
|
|
52332
52336
|
companyId?: string | null;
|
|
52333
52337
|
part?: PartDto | null;
|
|
52334
|
-
resource?:
|
|
52338
|
+
resource?: ResourceDto | null;
|
|
52335
52339
|
type!: NonConformanceType;
|
|
52336
52340
|
workOrder?: string | null;
|
|
52337
52341
|
title?: string | null;
|
|
@@ -52362,7 +52366,7 @@ export class NonConformanceDto implements INonConformanceDto {
|
|
|
52362
52366
|
this.nonConformanceId = _data["nonConformanceId"];
|
|
52363
52367
|
this.companyId = _data["companyId"];
|
|
52364
52368
|
this.part = _data["part"] ? PartDto.fromJS(_data["part"]) : undefined as any;
|
|
52365
|
-
this.resource = _data["resource"] ?
|
|
52369
|
+
this.resource = _data["resource"] ? ResourceDto.fromJS(_data["resource"]) : undefined as any;
|
|
52366
52370
|
this.type = _data["type"];
|
|
52367
52371
|
this.workOrder = _data["workOrder"];
|
|
52368
52372
|
this.title = _data["title"];
|
|
@@ -52417,7 +52421,7 @@ export interface INonConformanceDto {
|
|
|
52417
52421
|
nonConformanceId: string;
|
|
52418
52422
|
companyId?: string | null;
|
|
52419
52423
|
part?: PartDto | null;
|
|
52420
|
-
resource?:
|
|
52424
|
+
resource?: ResourceDto | null;
|
|
52421
52425
|
type: NonConformanceType;
|
|
52422
52426
|
workOrder?: string | null;
|
|
52423
52427
|
title?: string | null;
|
|
@@ -52743,7 +52747,7 @@ export class ProductionOrderOperationActivityDto implements IProductionOrderOper
|
|
|
52743
52747
|
operation!: number;
|
|
52744
52748
|
operationId!: string;
|
|
52745
52749
|
description?: string | null;
|
|
52746
|
-
resource?:
|
|
52750
|
+
resource?: ResourceDto | null;
|
|
52747
52751
|
user?: UserDto | null;
|
|
52748
52752
|
startTime!: Date;
|
|
52749
52753
|
endTime?: Date | null;
|
|
@@ -52768,7 +52772,7 @@ export class ProductionOrderOperationActivityDto implements IProductionOrderOper
|
|
|
52768
52772
|
this.operation = _data["operation"];
|
|
52769
52773
|
this.operationId = _data["operationId"];
|
|
52770
52774
|
this.description = _data["description"];
|
|
52771
|
-
this.resource = _data["resource"] ?
|
|
52775
|
+
this.resource = _data["resource"] ? ResourceDto.fromJS(_data["resource"]) : undefined as any;
|
|
52772
52776
|
this.user = _data["user"] ? UserDto.fromJS(_data["user"]) : undefined as any;
|
|
52773
52777
|
this.startTime = _data["startTime"] ? new Date(_data["startTime"].toString()) : undefined as any;
|
|
52774
52778
|
this.endTime = _data["endTime"] ? new Date(_data["endTime"].toString()) : undefined as any;
|
|
@@ -52811,7 +52815,7 @@ export interface IProductionOrderOperationActivityDto {
|
|
|
52811
52815
|
operation: number;
|
|
52812
52816
|
operationId: string;
|
|
52813
52817
|
description?: string | null;
|
|
52814
|
-
resource?:
|
|
52818
|
+
resource?: ResourceDto | null;
|
|
52815
52819
|
user?: UserDto | null;
|
|
52816
52820
|
startTime: Date;
|
|
52817
52821
|
endTime?: Date | null;
|
|
@@ -54763,7 +54767,7 @@ export class WorkorderOperationDto implements IWorkorderOperationDto {
|
|
|
54763
54767
|
plannedProductionTimePerPart!: number;
|
|
54764
54768
|
plannedProductionTime!: number;
|
|
54765
54769
|
fixedTime?: boolean | null;
|
|
54766
|
-
resource?:
|
|
54770
|
+
resource?: ResourceDto | null;
|
|
54767
54771
|
plannedStart?: Date | null;
|
|
54768
54772
|
plannedEnd?: Date | null;
|
|
54769
54773
|
actualStart?: Date | null;
|
|
@@ -54797,7 +54801,7 @@ export class WorkorderOperationDto implements IWorkorderOperationDto {
|
|
|
54797
54801
|
this.plannedProductionTimePerPart = _data["plannedProductionTimePerPart"];
|
|
54798
54802
|
this.plannedProductionTime = _data["plannedProductionTime"];
|
|
54799
54803
|
this.fixedTime = _data["fixedTime"];
|
|
54800
|
-
this.resource = _data["resource"] ?
|
|
54804
|
+
this.resource = _data["resource"] ? ResourceDto.fromJS(_data["resource"]) : undefined as any;
|
|
54801
54805
|
this.plannedStart = _data["plannedStart"] ? new Date(_data["plannedStart"].toString()) : undefined as any;
|
|
54802
54806
|
this.plannedEnd = _data["plannedEnd"] ? new Date(_data["plannedEnd"].toString()) : undefined as any;
|
|
54803
54807
|
this.actualStart = _data["actualStart"] ? new Date(_data["actualStart"].toString()) : undefined as any;
|
|
@@ -54860,7 +54864,7 @@ export interface IWorkorderOperationDto {
|
|
|
54860
54864
|
plannedProductionTimePerPart: number;
|
|
54861
54865
|
plannedProductionTime: number;
|
|
54862
54866
|
fixedTime?: boolean | null;
|
|
54863
|
-
resource?:
|
|
54867
|
+
resource?: ResourceDto | null;
|
|
54864
54868
|
plannedStart?: Date | null;
|
|
54865
54869
|
plannedEnd?: Date | null;
|
|
54866
54870
|
actualStart?: Date | null;
|
|
@@ -55138,13 +55142,13 @@ export interface IErpUserDto {
|
|
|
55138
55142
|
email?: string | null;
|
|
55139
55143
|
}
|
|
55140
55144
|
|
|
55141
|
-
export class
|
|
55145
|
+
export class ResourceGroupDto implements IResourceGroupDto {
|
|
55142
55146
|
id!: string;
|
|
55143
55147
|
name?: string | null;
|
|
55144
55148
|
resources!: ProductionResourceDto[];
|
|
55145
55149
|
department?: DepartmentDto | null;
|
|
55146
55150
|
|
|
55147
|
-
constructor(data?:
|
|
55151
|
+
constructor(data?: IResourceGroupDto) {
|
|
55148
55152
|
if (data) {
|
|
55149
55153
|
for (var property in data) {
|
|
55150
55154
|
if (data.hasOwnProperty(property))
|
|
@@ -55169,9 +55173,9 @@ export class ResourceGroupDto2 implements IResourceGroupDto2 {
|
|
|
55169
55173
|
}
|
|
55170
55174
|
}
|
|
55171
55175
|
|
|
55172
|
-
static fromJS(data: any):
|
|
55176
|
+
static fromJS(data: any): ResourceGroupDto {
|
|
55173
55177
|
data = typeof data === 'object' ? data : {};
|
|
55174
|
-
let result = new
|
|
55178
|
+
let result = new ResourceGroupDto();
|
|
55175
55179
|
result.init(data);
|
|
55176
55180
|
return result;
|
|
55177
55181
|
}
|
|
@@ -55190,7 +55194,7 @@ export class ResourceGroupDto2 implements IResourceGroupDto2 {
|
|
|
55190
55194
|
}
|
|
55191
55195
|
}
|
|
55192
55196
|
|
|
55193
|
-
export interface
|
|
55197
|
+
export interface IResourceGroupDto {
|
|
55194
55198
|
id: string;
|
|
55195
55199
|
name?: string | null;
|
|
55196
55200
|
resources: ProductionResourceDto[];
|
|
@@ -58618,7 +58622,7 @@ export class MeasurementFormInstanceDto implements IMeasurementFormInstanceDto {
|
|
|
58618
58622
|
suppliers!: MeasurementFormWorkorderSupplierDto[];
|
|
58619
58623
|
progress!: MeasurementFormProgressDto;
|
|
58620
58624
|
approvedReportUrl?: string | null;
|
|
58621
|
-
currentResource?:
|
|
58625
|
+
currentResource?: ResourceDto | null;
|
|
58622
58626
|
|
|
58623
58627
|
constructor(data?: IMeasurementFormInstanceDto) {
|
|
58624
58628
|
if (data) {
|
|
@@ -58671,7 +58675,7 @@ export class MeasurementFormInstanceDto implements IMeasurementFormInstanceDto {
|
|
|
58671
58675
|
}
|
|
58672
58676
|
this.progress = _data["progress"] ? MeasurementFormProgressDto.fromJS(_data["progress"]) : new MeasurementFormProgressDto();
|
|
58673
58677
|
this.approvedReportUrl = _data["approvedReportUrl"];
|
|
58674
|
-
this.currentResource = _data["currentResource"] ?
|
|
58678
|
+
this.currentResource = _data["currentResource"] ? ResourceDto.fromJS(_data["currentResource"]) : undefined as any;
|
|
58675
58679
|
}
|
|
58676
58680
|
}
|
|
58677
58681
|
|
|
@@ -58742,7 +58746,7 @@ export interface IMeasurementFormInstanceDto {
|
|
|
58742
58746
|
suppliers: MeasurementFormWorkorderSupplierDto[];
|
|
58743
58747
|
progress: MeasurementFormProgressDto;
|
|
58744
58748
|
approvedReportUrl?: string | null;
|
|
58745
|
-
currentResource?:
|
|
58749
|
+
currentResource?: ResourceDto | null;
|
|
58746
58750
|
}
|
|
58747
58751
|
|
|
58748
58752
|
export type MeasurementFormInstanceStatus = "Active" | "Cancelled" | "Completed" | "Approved" | "MissingCompletion";
|