@ignos/api-client 20260427.120.1 → 20260506.122.1
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 +85 -98
- package/lib/ignosportal-api.js +18 -54
- package/package.json +1 -1
- package/src/ignosportal-api.ts +112 -142
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -163,7 +163,7 @@ export interface ISpatialClient {
|
|
|
163
163
|
updateResource(externalId: string, request: UpdateResourceRequest): Promise<ApplicationSpatialResourceDto>;
|
|
164
164
|
deleteResource(externalId: string): Promise<void>;
|
|
165
165
|
getFactory(): Promise<FactoryDto>;
|
|
166
|
-
|
|
166
|
+
upsertFactory(request: UpsertFactory): Promise<FactoryDto>;
|
|
167
167
|
deleteFactory(): Promise<void>;
|
|
168
168
|
}
|
|
169
169
|
export declare class SpatialClient extends AuthorizedApiBase implements ISpatialClient {
|
|
@@ -204,8 +204,8 @@ export declare class SpatialClient extends AuthorizedApiBase implements ISpatial
|
|
|
204
204
|
protected processDeleteResource(response: Response): Promise<void>;
|
|
205
205
|
getFactory(): Promise<FactoryDto>;
|
|
206
206
|
protected processGetFactory(response: Response): Promise<FactoryDto>;
|
|
207
|
-
|
|
208
|
-
protected
|
|
207
|
+
upsertFactory(request: UpsertFactory): Promise<FactoryDto>;
|
|
208
|
+
protected processUpsertFactory(response: Response): Promise<FactoryDto>;
|
|
209
209
|
deleteFactory(): Promise<void>;
|
|
210
210
|
protected processDeleteFactory(response: Response): Promise<void>;
|
|
211
211
|
}
|
|
@@ -748,14 +748,7 @@ export declare class PulseClient extends AuthorizedApiBase implements IPulseClie
|
|
|
748
748
|
protected processUpdatePulseSettingsResource(response: Response): Promise<PulseSettingsResourceDto>;
|
|
749
749
|
}
|
|
750
750
|
export interface IUtilizationClient {
|
|
751
|
-
|
|
752
|
-
* @param utilizationType (optional)
|
|
753
|
-
* @param startTime (optional)
|
|
754
|
-
* @param endTime (optional)
|
|
755
|
-
* @param ianaTimeZone (optional)
|
|
756
|
-
* @deprecated
|
|
757
|
-
*/
|
|
758
|
-
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDto>;
|
|
751
|
+
getCompanyUtilization(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDto>;
|
|
759
752
|
/**
|
|
760
753
|
* @param utilizationType (optional)
|
|
761
754
|
* @param startTime (optional)
|
|
@@ -774,14 +767,7 @@ export interface IUtilizationClient {
|
|
|
774
767
|
* @deprecated
|
|
775
768
|
*/
|
|
776
769
|
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
777
|
-
|
|
778
|
-
* @param utilizationType (optional)
|
|
779
|
-
* @param startTime (optional)
|
|
780
|
-
* @param endTime (optional)
|
|
781
|
-
* @param ianaTimeZone (optional)
|
|
782
|
-
* @deprecated
|
|
783
|
-
*/
|
|
784
|
-
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
|
|
770
|
+
getCompanyUtilizationDatapoints(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
785
771
|
/**
|
|
786
772
|
* @param utilizationType (optional)
|
|
787
773
|
* @param startTime (optional)
|
|
@@ -802,15 +788,8 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
|
|
|
802
788
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
803
789
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
804
790
|
});
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
* @param startTime (optional)
|
|
808
|
-
* @param endTime (optional)
|
|
809
|
-
* @param ianaTimeZone (optional)
|
|
810
|
-
* @deprecated
|
|
811
|
-
*/
|
|
812
|
-
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDto>;
|
|
813
|
-
protected processGetCompanyUtilization(response: Response): Promise<CompanyUtilizationDto>;
|
|
791
|
+
getCompanyUtilization(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDto>;
|
|
792
|
+
protected processGetCompanyUtilization(response: Response): Promise<CompanyResourceUtilizationDto>;
|
|
814
793
|
/**
|
|
815
794
|
* @param utilizationType (optional)
|
|
816
795
|
* @param startTime (optional)
|
|
@@ -831,15 +810,8 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
|
|
|
831
810
|
*/
|
|
832
811
|
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
833
812
|
protected processGetUtilizationDatapoints(response: Response): Promise<MachineUtilizationDatapointListDto>;
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
* @param startTime (optional)
|
|
837
|
-
* @param endTime (optional)
|
|
838
|
-
* @param ianaTimeZone (optional)
|
|
839
|
-
* @deprecated
|
|
840
|
-
*/
|
|
841
|
-
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
|
|
842
|
-
protected processGetCompanyUtilizationDatapoints(response: Response): Promise<CompanyUtilizationDatapointListDto>;
|
|
813
|
+
getCompanyUtilizationDatapoints(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
814
|
+
protected processGetCompanyUtilizationDatapoints(response: Response): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
843
815
|
/**
|
|
844
816
|
* @param utilizationType (optional)
|
|
845
817
|
* @param startTime (optional)
|
|
@@ -2644,7 +2616,7 @@ export declare class InspectMatchMaterialChecksAdminClient extends AuthorizedApi
|
|
|
2644
2616
|
}
|
|
2645
2617
|
export interface IInspectMatchMaterialChecksClient {
|
|
2646
2618
|
getMaterialCheck(id: string): Promise<ImaMaterialCheckDto>;
|
|
2647
|
-
listMaterialChecks(
|
|
2619
|
+
listMaterialChecks(request: ImaMaterialChecksPageRequestDto): Promise<PagedResultOfImaMaterialCheckLiteDto>;
|
|
2648
2620
|
processMaterialCertificate(certificatesRequest: ProcessMaterialCertificate): Promise<void>;
|
|
2649
2621
|
}
|
|
2650
2622
|
export declare class InspectMatchMaterialChecksClient extends AuthorizedApiBase implements IInspectMatchMaterialChecksClient {
|
|
@@ -2655,7 +2627,7 @@ export declare class InspectMatchMaterialChecksClient extends AuthorizedApiBase
|
|
|
2655
2627
|
});
|
|
2656
2628
|
getMaterialCheck(id: string): Promise<ImaMaterialCheckDto>;
|
|
2657
2629
|
protected processGetMaterialCheck(response: Response): Promise<ImaMaterialCheckDto>;
|
|
2658
|
-
listMaterialChecks(
|
|
2630
|
+
listMaterialChecks(request: ImaMaterialChecksPageRequestDto): Promise<PagedResultOfImaMaterialCheckLiteDto>;
|
|
2659
2631
|
protected processListMaterialChecks(response: Response): Promise<PagedResultOfImaMaterialCheckLiteDto>;
|
|
2660
2632
|
processMaterialCertificate(certificatesRequest: ProcessMaterialCertificate): Promise<void>;
|
|
2661
2633
|
protected processProcessMaterialCertificate(response: Response): Promise<void>;
|
|
@@ -3509,7 +3481,7 @@ export interface Point {
|
|
|
3509
3481
|
bbox?: number[];
|
|
3510
3482
|
[key: string]: any;
|
|
3511
3483
|
}
|
|
3512
|
-
export interface
|
|
3484
|
+
export interface UpsertFactory {
|
|
3513
3485
|
centerPoint?: Point;
|
|
3514
3486
|
}
|
|
3515
3487
|
export interface UtilizationListDto {
|
|
@@ -4438,11 +4410,11 @@ export interface UpdatePulseSettingsResource {
|
|
|
4438
4410
|
resourceCalendarEnabled: boolean;
|
|
4439
4411
|
factoryCalendarEnabled: boolean;
|
|
4440
4412
|
}
|
|
4441
|
-
export interface
|
|
4442
|
-
utilizationType:
|
|
4413
|
+
export interface CompanyResourceUtilizationDto {
|
|
4414
|
+
utilizationType: ResourceUtilizationTypeDto;
|
|
4443
4415
|
companyUtilization: UtilizationDetailsV2Dto;
|
|
4444
|
-
groups:
|
|
4445
|
-
|
|
4416
|
+
groups: ResourceGroupUtilizationV2Dto[];
|
|
4417
|
+
ungroupedResources: ResourceUtilizationV3Dto[];
|
|
4446
4418
|
}
|
|
4447
4419
|
export interface UtilizationDetailsV2Dto {
|
|
4448
4420
|
utilizationPercent?: number | null;
|
|
@@ -4455,26 +4427,51 @@ export interface UtilizationDetailsV2Dto {
|
|
|
4455
4427
|
totalTimeInMilliseconds?: number | null;
|
|
4456
4428
|
performancePercent?: number | null;
|
|
4457
4429
|
}
|
|
4458
|
-
export interface
|
|
4430
|
+
export interface ResourceGroupUtilizationV2Dto {
|
|
4459
4431
|
name: string;
|
|
4460
4432
|
utilization: UtilizationDetailsV2Dto;
|
|
4461
|
-
|
|
4433
|
+
resources: ResourceUtilizationV3Dto[];
|
|
4462
4434
|
}
|
|
4463
|
-
export interface
|
|
4435
|
+
export interface ResourceUtilizationV3Dto {
|
|
4464
4436
|
id?: number;
|
|
4465
4437
|
name: string;
|
|
4466
4438
|
description?: string | null;
|
|
4467
4439
|
utilization: UtilizationDetailsV2Dto;
|
|
4468
4440
|
}
|
|
4441
|
+
export interface UtilizationInputRequest {
|
|
4442
|
+
utilizationType?: ResourceUtilizationTypeDto;
|
|
4443
|
+
startTime: Date;
|
|
4444
|
+
endTime?: Date | null;
|
|
4445
|
+
ianaTimeZone?: string | null;
|
|
4446
|
+
resourceExternalIds?: string[] | null;
|
|
4447
|
+
resourceGroupNames?: string[] | null;
|
|
4448
|
+
}
|
|
4469
4449
|
export interface CrossCompanyUtilizationDto {
|
|
4470
4450
|
utilizationType: UtilizationTypeDto;
|
|
4471
4451
|
crossCompanyUtilization: UtilizationDetailsV2Dto;
|
|
4472
4452
|
companies: NamedCompanyUtilizationDto[];
|
|
4473
4453
|
}
|
|
4454
|
+
export interface CompanyUtilizationDto {
|
|
4455
|
+
utilizationType: UtilizationTypeDto;
|
|
4456
|
+
companyUtilization: UtilizationDetailsV2Dto;
|
|
4457
|
+
groups: MachineGroupUtilizationV2Dto[];
|
|
4458
|
+
ungroupedMachines: MachineUtilizationV3Dto[];
|
|
4459
|
+
}
|
|
4474
4460
|
export interface NamedCompanyUtilizationDto extends CompanyUtilizationDto {
|
|
4475
4461
|
companyId: string;
|
|
4476
4462
|
companyName: string;
|
|
4477
4463
|
}
|
|
4464
|
+
export interface MachineGroupUtilizationV2Dto {
|
|
4465
|
+
name: string;
|
|
4466
|
+
utilization: UtilizationDetailsV2Dto;
|
|
4467
|
+
machines: MachineUtilizationV3Dto[];
|
|
4468
|
+
}
|
|
4469
|
+
export interface MachineUtilizationV3Dto {
|
|
4470
|
+
id?: number;
|
|
4471
|
+
name: string;
|
|
4472
|
+
description?: string | null;
|
|
4473
|
+
utilization: UtilizationDetailsV2Dto;
|
|
4474
|
+
}
|
|
4478
4475
|
export interface UtilizationDatapointListDto {
|
|
4479
4476
|
datapoints?: NumericNullableValueWithTimestamp[];
|
|
4480
4477
|
trendDatapoints?: NumericNullableValueWithTimestamp[];
|
|
@@ -4486,38 +4483,36 @@ export interface MachineUtilizationDatapointListDto extends UtilizationDatapoint
|
|
|
4486
4483
|
name: string;
|
|
4487
4484
|
description?: string | null;
|
|
4488
4485
|
}
|
|
4489
|
-
export interface
|
|
4490
|
-
groups?:
|
|
4491
|
-
|
|
4486
|
+
export interface CompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4487
|
+
groups?: ResourceGroupUtilizationDatapointListDto[];
|
|
4488
|
+
ungroupedResources?: ResourceUtilizationDatapointListDto[];
|
|
4492
4489
|
}
|
|
4493
|
-
export interface
|
|
4490
|
+
export interface ResourceGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4494
4491
|
groupId: string;
|
|
4495
4492
|
groupName: string;
|
|
4496
|
-
|
|
4493
|
+
resources?: ResourceUtilizationDatapointListDto[];
|
|
4494
|
+
}
|
|
4495
|
+
export interface ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4496
|
+
externalId: string;
|
|
4497
|
+
id: number;
|
|
4498
|
+
name: string;
|
|
4499
|
+
description?: string | null;
|
|
4497
4500
|
}
|
|
4498
4501
|
export interface CrossCompanyUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4499
4502
|
companies?: NamedCompanyUtilizationDatapointListDto[];
|
|
4500
4503
|
}
|
|
4504
|
+
export interface CompanyUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4505
|
+
groups?: MachineGroupUtilizationDatapointListDto[];
|
|
4506
|
+
ungroupedMachines?: MachineUtilizationDatapointListDto[];
|
|
4507
|
+
}
|
|
4501
4508
|
export interface NamedCompanyUtilizationDatapointListDto extends CompanyUtilizationDatapointListDto {
|
|
4502
4509
|
companyId: string;
|
|
4503
4510
|
companyName: string;
|
|
4504
4511
|
}
|
|
4505
|
-
export interface
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
ungroupedResources: ResourceUtilizationV3Dto[];
|
|
4510
|
-
}
|
|
4511
|
-
export interface ResourceGroupUtilizationV2Dto {
|
|
4512
|
-
name: string;
|
|
4513
|
-
utilization: UtilizationDetailsV2Dto;
|
|
4514
|
-
resources: ResourceUtilizationV3Dto[];
|
|
4515
|
-
}
|
|
4516
|
-
export interface ResourceUtilizationV3Dto {
|
|
4517
|
-
id?: number;
|
|
4518
|
-
name: string;
|
|
4519
|
-
description?: string | null;
|
|
4520
|
-
utilization: UtilizationDetailsV2Dto;
|
|
4512
|
+
export interface MachineGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4513
|
+
groupId: string;
|
|
4514
|
+
groupName: string;
|
|
4515
|
+
machines?: MachineUtilizationDatapointListDto[];
|
|
4521
4516
|
}
|
|
4522
4517
|
export interface CrossCompanyResourceUtilizationDto {
|
|
4523
4518
|
utilizationType: ResourceUtilizationTypeDto;
|
|
@@ -4528,21 +4523,6 @@ export interface NamedCompanyResourceUtilizationDto extends CompanyResourceUtili
|
|
|
4528
4523
|
companyId: string;
|
|
4529
4524
|
companyName: string;
|
|
4530
4525
|
}
|
|
4531
|
-
export interface ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4532
|
-
externalId: string;
|
|
4533
|
-
id: number;
|
|
4534
|
-
name: string;
|
|
4535
|
-
description?: string | null;
|
|
4536
|
-
}
|
|
4537
|
-
export interface CompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4538
|
-
groups?: ResourceGroupUtilizationDatapointListDto[];
|
|
4539
|
-
ungroupedResources?: ResourceUtilizationDatapointListDto[];
|
|
4540
|
-
}
|
|
4541
|
-
export interface ResourceGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4542
|
-
groupId: string;
|
|
4543
|
-
groupName: string;
|
|
4544
|
-
resources?: ResourceUtilizationDatapointListDto[];
|
|
4545
|
-
}
|
|
4546
4526
|
export interface CrossCompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
4547
4527
|
companies?: NamedCompanyResourceUtilizationDatapointListDto[];
|
|
4548
4528
|
}
|
|
@@ -7848,6 +7828,7 @@ export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
|
|
|
7848
7828
|
}
|
|
7849
7829
|
export interface ImaMaterialCheckDto {
|
|
7850
7830
|
materialCheckId: string;
|
|
7831
|
+
fileName: string;
|
|
7851
7832
|
originalMaterialCertificate: FileDto;
|
|
7852
7833
|
generatedMaterialCertificate?: FileDto | null;
|
|
7853
7834
|
customerOrder?: string | null;
|
|
@@ -7881,7 +7862,7 @@ export interface ImaMaterialCheckDto {
|
|
|
7881
7862
|
specificationResults: ImaSpecificationResultsDto;
|
|
7882
7863
|
}
|
|
7883
7864
|
export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
7884
|
-
export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
|
|
7865
|
+
export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
|
|
7885
7866
|
export interface ImaCertificateTypeResultsDto extends ImaCdfEntityReadBase {
|
|
7886
7867
|
manufacturer: ImaCertificateTypeManufacturerResultsDto;
|
|
7887
7868
|
signature: ImaCertificateTypeSignatureResultsDto;
|
|
@@ -8003,11 +7984,9 @@ export interface ImaSpecificationMechanicalResultsDto extends ImaCdfEntityReadBa
|
|
|
8003
7984
|
export interface ImaSpecificationFerriteResultsDto extends ImaCdfEntityReadBase {
|
|
8004
7985
|
ferriteContent?: ImaSpecificationFerriteResultLineDto | null;
|
|
8005
7986
|
}
|
|
8006
|
-
export interface ImaSpecificationFerriteResultLineDto {
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
specificationValue2?: string | null;
|
|
8010
|
-
specificationSymbol?: string | null;
|
|
7987
|
+
export interface ImaSpecificationFerriteResultLineDto extends ImaCdfEntityReadBase {
|
|
7988
|
+
specificationMin?: number | null;
|
|
7989
|
+
specificationMax?: number | null;
|
|
8011
7990
|
readValue?: string | null;
|
|
8012
7991
|
status: ImaSpecificationResultLineStatus;
|
|
8013
7992
|
override?: ImaResultLineOverrideDto | null;
|
|
@@ -8147,6 +8126,7 @@ export interface PagedResultOfImaMaterialCheckLiteDto {
|
|
|
8147
8126
|
}
|
|
8148
8127
|
export interface ImaMaterialCheckLiteDto {
|
|
8149
8128
|
materialCheckId: string;
|
|
8129
|
+
fileName: string;
|
|
8150
8130
|
originalMaterialCertificate: FileDto;
|
|
8151
8131
|
generatedMaterialCertificate?: FileDto | null;
|
|
8152
8132
|
customerOrder?: string | null;
|
|
@@ -8179,25 +8159,32 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
8179
8159
|
}
|
|
8180
8160
|
export interface ImaMaterialChecksPageRequestDto {
|
|
8181
8161
|
pageSize?: number | null;
|
|
8182
|
-
orderBy?:
|
|
8183
|
-
|
|
8184
|
-
|
|
8185
|
-
|
|
8186
|
-
|
|
8162
|
+
orderBy?: ImaMaterialChecksPageOrderRequestDto[] | null;
|
|
8163
|
+
searchQuery?: string | null;
|
|
8164
|
+
fileNameFilter?: string | null;
|
|
8165
|
+
specificationFilter?: string | null;
|
|
8166
|
+
customerOrderFilter?: string | null;
|
|
8187
8167
|
projectFilter?: string | null;
|
|
8188
8168
|
purchaseOrderFilter?: string | null;
|
|
8189
8169
|
workOrderFilter?: string | null;
|
|
8190
8170
|
certificateTypeFilter?: string | null;
|
|
8191
|
-
|
|
8192
|
-
itemFilter?: string | null;
|
|
8171
|
+
purchaseOrderLineFilter?: number | null;
|
|
8193
8172
|
heatFilter?: string | null;
|
|
8194
|
-
|
|
8173
|
+
vendorBatchesFilter?: string[] | null;
|
|
8174
|
+
purchaseOrderPartNameFilter?: string | null;
|
|
8175
|
+
purchaseOrderPartNumberFilter?: string | null;
|
|
8176
|
+
purchaseOrderDrawingFilter?: string | null;
|
|
8195
8177
|
dateFromFilter?: Date | null;
|
|
8196
8178
|
dateToFilter?: Date | null;
|
|
8197
8179
|
statusFilter?: ImaMaterialCheckStatus[] | null;
|
|
8198
8180
|
continuationToken?: string | null;
|
|
8199
8181
|
}
|
|
8200
|
-
export
|
|
8182
|
+
export interface ImaMaterialChecksPageOrderRequestDto {
|
|
8183
|
+
column?: ImaMaterialChecksOrderByColumn;
|
|
8184
|
+
direction?: ImaOrderDirection;
|
|
8185
|
+
}
|
|
8186
|
+
export type ImaMaterialChecksOrderByColumn = "FileName" | "PurchaseOrder" | "Line" | "VendorBatch" | "Part" | "Drawing" | "Heat" | "CertificateType" | "Specification" | "GeneratedReport" | "Project" | "CustomerOrder" | "WorkOrder" | "Date" | "Status";
|
|
8187
|
+
export type ImaOrderDirection = "Asc" | "Desc";
|
|
8201
8188
|
export interface ProcessMaterialCertificate {
|
|
8202
8189
|
files: UploadFileCdfDto[];
|
|
8203
8190
|
specificationId: string;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -1203,13 +1203,13 @@ export class SpatialClient extends AuthorizedApiBase {
|
|
|
1203
1203
|
}
|
|
1204
1204
|
return Promise.resolve(null);
|
|
1205
1205
|
}
|
|
1206
|
-
|
|
1206
|
+
upsertFactory(request) {
|
|
1207
1207
|
let url_ = this.baseUrl + "/spatial/factory";
|
|
1208
1208
|
url_ = url_.replace(/[?&]$/, "");
|
|
1209
1209
|
const content_ = JSON.stringify(request);
|
|
1210
1210
|
let options_ = {
|
|
1211
1211
|
body: content_,
|
|
1212
|
-
method: "
|
|
1212
|
+
method: "POST",
|
|
1213
1213
|
headers: {
|
|
1214
1214
|
"Content-Type": "application/json",
|
|
1215
1215
|
"Accept": "application/json"
|
|
@@ -1218,10 +1218,10 @@ export class SpatialClient extends AuthorizedApiBase {
|
|
|
1218
1218
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1219
1219
|
return this.http.fetch(url_, transformedOptions_);
|
|
1220
1220
|
}).then((_response) => {
|
|
1221
|
-
return this.
|
|
1221
|
+
return this.processUpsertFactory(_response);
|
|
1222
1222
|
});
|
|
1223
1223
|
}
|
|
1224
|
-
|
|
1224
|
+
processUpsertFactory(response) {
|
|
1225
1225
|
const status = response.status;
|
|
1226
1226
|
let _headers = {};
|
|
1227
1227
|
if (response.headers && response.headers.forEach) {
|
|
@@ -5651,31 +5651,15 @@ export class UtilizationClient extends AuthorizedApiBase {
|
|
|
5651
5651
|
this.http = http ? http : window;
|
|
5652
5652
|
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
5653
5653
|
}
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
* @param startTime (optional)
|
|
5657
|
-
* @param endTime (optional)
|
|
5658
|
-
* @param ianaTimeZone (optional)
|
|
5659
|
-
* @deprecated
|
|
5660
|
-
*/
|
|
5661
|
-
getCompanyUtilization(utilizationType, startTime, endTime, ianaTimeZone) {
|
|
5662
|
-
let url_ = this.baseUrl + "/utilization?";
|
|
5663
|
-
if (utilizationType === null)
|
|
5664
|
-
throw new globalThis.Error("The parameter 'utilizationType' cannot be null.");
|
|
5665
|
-
else if (utilizationType !== undefined)
|
|
5666
|
-
url_ += "utilizationType=" + encodeURIComponent("" + utilizationType) + "&";
|
|
5667
|
-
if (startTime === null)
|
|
5668
|
-
throw new globalThis.Error("The parameter 'startTime' cannot be null.");
|
|
5669
|
-
else if (startTime !== undefined)
|
|
5670
|
-
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
5671
|
-
if (endTime !== undefined && endTime !== null)
|
|
5672
|
-
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
5673
|
-
if (ianaTimeZone !== undefined && ianaTimeZone !== null)
|
|
5674
|
-
url_ += "ianaTimeZone=" + encodeURIComponent("" + ianaTimeZone) + "&";
|
|
5654
|
+
getCompanyUtilization(request) {
|
|
5655
|
+
let url_ = this.baseUrl + "/utilization";
|
|
5675
5656
|
url_ = url_.replace(/[?&]$/, "");
|
|
5657
|
+
const content_ = JSON.stringify(request);
|
|
5676
5658
|
let options_ = {
|
|
5677
|
-
|
|
5659
|
+
body: content_,
|
|
5660
|
+
method: "POST",
|
|
5678
5661
|
headers: {
|
|
5662
|
+
"Content-Type": "application/json",
|
|
5679
5663
|
"Accept": "application/json"
|
|
5680
5664
|
}
|
|
5681
5665
|
};
|
|
@@ -5822,31 +5806,15 @@ export class UtilizationClient extends AuthorizedApiBase {
|
|
|
5822
5806
|
}
|
|
5823
5807
|
return Promise.resolve(null);
|
|
5824
5808
|
}
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
* @param startTime (optional)
|
|
5828
|
-
* @param endTime (optional)
|
|
5829
|
-
* @param ianaTimeZone (optional)
|
|
5830
|
-
* @deprecated
|
|
5831
|
-
*/
|
|
5832
|
-
getCompanyUtilizationDatapoints(utilizationType, startTime, endTime, ianaTimeZone) {
|
|
5833
|
-
let url_ = this.baseUrl + "/utilization/datapoints/company?";
|
|
5834
|
-
if (utilizationType === null)
|
|
5835
|
-
throw new globalThis.Error("The parameter 'utilizationType' cannot be null.");
|
|
5836
|
-
else if (utilizationType !== undefined)
|
|
5837
|
-
url_ += "utilizationType=" + encodeURIComponent("" + utilizationType) + "&";
|
|
5838
|
-
if (startTime === null)
|
|
5839
|
-
throw new globalThis.Error("The parameter 'startTime' cannot be null.");
|
|
5840
|
-
else if (startTime !== undefined)
|
|
5841
|
-
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
5842
|
-
if (endTime !== undefined && endTime !== null)
|
|
5843
|
-
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
5844
|
-
if (ianaTimeZone !== undefined && ianaTimeZone !== null)
|
|
5845
|
-
url_ += "ianaTimeZone=" + encodeURIComponent("" + ianaTimeZone) + "&";
|
|
5809
|
+
getCompanyUtilizationDatapoints(request) {
|
|
5810
|
+
let url_ = this.baseUrl + "/utilization/datapoints/company";
|
|
5846
5811
|
url_ = url_.replace(/[?&]$/, "");
|
|
5812
|
+
const content_ = JSON.stringify(request);
|
|
5847
5813
|
let options_ = {
|
|
5848
|
-
|
|
5814
|
+
body: content_,
|
|
5815
|
+
method: "POST",
|
|
5849
5816
|
headers: {
|
|
5817
|
+
"Content-Type": "application/json",
|
|
5850
5818
|
"Accept": "application/json"
|
|
5851
5819
|
}
|
|
5852
5820
|
};
|
|
@@ -21640,12 +21608,8 @@ export class InspectMatchMaterialChecksClient extends AuthorizedApiBase {
|
|
|
21640
21608
|
}
|
|
21641
21609
|
return Promise.resolve(null);
|
|
21642
21610
|
}
|
|
21643
|
-
listMaterialChecks(
|
|
21644
|
-
let url_ = this.baseUrl + "/inspect/match/material-checks/list
|
|
21645
|
-
if (pageSize !== undefined && pageSize !== null)
|
|
21646
|
-
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
21647
|
-
if (continuationToken !== undefined && continuationToken !== null)
|
|
21648
|
-
url_ += "continuationToken=" + encodeURIComponent("" + continuationToken) + "&";
|
|
21611
|
+
listMaterialChecks(request) {
|
|
21612
|
+
let url_ = this.baseUrl + "/inspect/match/material-checks/list";
|
|
21649
21613
|
url_ = url_.replace(/[?&]$/, "");
|
|
21650
21614
|
const content_ = JSON.stringify(request);
|
|
21651
21615
|
let options_ = {
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -701,7 +701,7 @@ export interface ISpatialClient {
|
|
|
701
701
|
|
|
702
702
|
getFactory(): Promise<FactoryDto>;
|
|
703
703
|
|
|
704
|
-
|
|
704
|
+
upsertFactory(request: UpsertFactory): Promise<FactoryDto>;
|
|
705
705
|
|
|
706
706
|
deleteFactory(): Promise<void>;
|
|
707
707
|
}
|
|
@@ -1331,7 +1331,7 @@ export class SpatialClient extends AuthorizedApiBase implements ISpatialClient {
|
|
|
1331
1331
|
return Promise.resolve<FactoryDto>(null as any);
|
|
1332
1332
|
}
|
|
1333
1333
|
|
|
1334
|
-
|
|
1334
|
+
upsertFactory(request: UpsertFactory): Promise<FactoryDto> {
|
|
1335
1335
|
let url_ = this.baseUrl + "/spatial/factory";
|
|
1336
1336
|
url_ = url_.replace(/[?&]$/, "");
|
|
1337
1337
|
|
|
@@ -1339,7 +1339,7 @@ export class SpatialClient extends AuthorizedApiBase implements ISpatialClient {
|
|
|
1339
1339
|
|
|
1340
1340
|
let options_: RequestInit = {
|
|
1341
1341
|
body: content_,
|
|
1342
|
-
method: "
|
|
1342
|
+
method: "POST",
|
|
1343
1343
|
headers: {
|
|
1344
1344
|
"Content-Type": "application/json",
|
|
1345
1345
|
"Accept": "application/json"
|
|
@@ -1349,11 +1349,11 @@ export class SpatialClient extends AuthorizedApiBase implements ISpatialClient {
|
|
|
1349
1349
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1350
1350
|
return this.http.fetch(url_, transformedOptions_);
|
|
1351
1351
|
}).then((_response: Response) => {
|
|
1352
|
-
return this.
|
|
1352
|
+
return this.processUpsertFactory(_response);
|
|
1353
1353
|
});
|
|
1354
1354
|
}
|
|
1355
1355
|
|
|
1356
|
-
protected
|
|
1356
|
+
protected processUpsertFactory(response: Response): Promise<FactoryDto> {
|
|
1357
1357
|
const status = response.status;
|
|
1358
1358
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
1359
1359
|
if (status === 200) {
|
|
@@ -6075,14 +6075,7 @@ export class PulseClient extends AuthorizedApiBase implements IPulseClient {
|
|
|
6075
6075
|
|
|
6076
6076
|
export interface IUtilizationClient {
|
|
6077
6077
|
|
|
6078
|
-
|
|
6079
|
-
* @param utilizationType (optional)
|
|
6080
|
-
* @param startTime (optional)
|
|
6081
|
-
* @param endTime (optional)
|
|
6082
|
-
* @param ianaTimeZone (optional)
|
|
6083
|
-
* @deprecated
|
|
6084
|
-
*/
|
|
6085
|
-
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDto>;
|
|
6078
|
+
getCompanyUtilization(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDto>;
|
|
6086
6079
|
|
|
6087
6080
|
/**
|
|
6088
6081
|
* @param utilizationType (optional)
|
|
@@ -6104,14 +6097,7 @@ export interface IUtilizationClient {
|
|
|
6104
6097
|
*/
|
|
6105
6098
|
getUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined, assetId: number | null | undefined, assetExternalId: string | null | undefined): Promise<MachineUtilizationDatapointListDto>;
|
|
6106
6099
|
|
|
6107
|
-
|
|
6108
|
-
* @param utilizationType (optional)
|
|
6109
|
-
* @param startTime (optional)
|
|
6110
|
-
* @param endTime (optional)
|
|
6111
|
-
* @param ianaTimeZone (optional)
|
|
6112
|
-
* @deprecated
|
|
6113
|
-
*/
|
|
6114
|
-
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDatapointListDto>;
|
|
6100
|
+
getCompanyUtilizationDatapoints(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDatapointListDto>;
|
|
6115
6101
|
|
|
6116
6102
|
/**
|
|
6117
6103
|
* @param utilizationType (optional)
|
|
@@ -6143,32 +6129,17 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
6143
6129
|
this.baseUrl = baseUrl ?? "";
|
|
6144
6130
|
}
|
|
6145
6131
|
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
* @param startTime (optional)
|
|
6149
|
-
* @param endTime (optional)
|
|
6150
|
-
* @param ianaTimeZone (optional)
|
|
6151
|
-
* @deprecated
|
|
6152
|
-
*/
|
|
6153
|
-
getCompanyUtilization(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDto> {
|
|
6154
|
-
let url_ = this.baseUrl + "/utilization?";
|
|
6155
|
-
if (utilizationType === null)
|
|
6156
|
-
throw new globalThis.Error("The parameter 'utilizationType' cannot be null.");
|
|
6157
|
-
else if (utilizationType !== undefined)
|
|
6158
|
-
url_ += "utilizationType=" + encodeURIComponent("" + utilizationType) + "&";
|
|
6159
|
-
if (startTime === null)
|
|
6160
|
-
throw new globalThis.Error("The parameter 'startTime' cannot be null.");
|
|
6161
|
-
else if (startTime !== undefined)
|
|
6162
|
-
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
6163
|
-
if (endTime !== undefined && endTime !== null)
|
|
6164
|
-
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
6165
|
-
if (ianaTimeZone !== undefined && ianaTimeZone !== null)
|
|
6166
|
-
url_ += "ianaTimeZone=" + encodeURIComponent("" + ianaTimeZone) + "&";
|
|
6132
|
+
getCompanyUtilization(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDto> {
|
|
6133
|
+
let url_ = this.baseUrl + "/utilization";
|
|
6167
6134
|
url_ = url_.replace(/[?&]$/, "");
|
|
6168
6135
|
|
|
6136
|
+
const content_ = JSON.stringify(request);
|
|
6137
|
+
|
|
6169
6138
|
let options_: RequestInit = {
|
|
6170
|
-
|
|
6139
|
+
body: content_,
|
|
6140
|
+
method: "POST",
|
|
6171
6141
|
headers: {
|
|
6142
|
+
"Content-Type": "application/json",
|
|
6172
6143
|
"Accept": "application/json"
|
|
6173
6144
|
}
|
|
6174
6145
|
};
|
|
@@ -6180,13 +6151,13 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
6180
6151
|
});
|
|
6181
6152
|
}
|
|
6182
6153
|
|
|
6183
|
-
protected processGetCompanyUtilization(response: Response): Promise<
|
|
6154
|
+
protected processGetCompanyUtilization(response: Response): Promise<CompanyResourceUtilizationDto> {
|
|
6184
6155
|
const status = response.status;
|
|
6185
6156
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6186
6157
|
if (status === 200) {
|
|
6187
6158
|
return response.text().then((_responseText) => {
|
|
6188
6159
|
let result200: any = null;
|
|
6189
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as
|
|
6160
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as CompanyResourceUtilizationDto;
|
|
6190
6161
|
return result200;
|
|
6191
6162
|
});
|
|
6192
6163
|
} else if (status !== 200 && status !== 204) {
|
|
@@ -6194,7 +6165,7 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
6194
6165
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6195
6166
|
});
|
|
6196
6167
|
}
|
|
6197
|
-
return Promise.resolve<
|
|
6168
|
+
return Promise.resolve<CompanyResourceUtilizationDto>(null as any);
|
|
6198
6169
|
}
|
|
6199
6170
|
|
|
6200
6171
|
/**
|
|
@@ -6311,32 +6282,17 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
6311
6282
|
return Promise.resolve<MachineUtilizationDatapointListDto>(null as any);
|
|
6312
6283
|
}
|
|
6313
6284
|
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
* @param startTime (optional)
|
|
6317
|
-
* @param endTime (optional)
|
|
6318
|
-
* @param ianaTimeZone (optional)
|
|
6319
|
-
* @deprecated
|
|
6320
|
-
*/
|
|
6321
|
-
getCompanyUtilizationDatapoints(utilizationType: UtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CompanyUtilizationDatapointListDto> {
|
|
6322
|
-
let url_ = this.baseUrl + "/utilization/datapoints/company?";
|
|
6323
|
-
if (utilizationType === null)
|
|
6324
|
-
throw new globalThis.Error("The parameter 'utilizationType' cannot be null.");
|
|
6325
|
-
else if (utilizationType !== undefined)
|
|
6326
|
-
url_ += "utilizationType=" + encodeURIComponent("" + utilizationType) + "&";
|
|
6327
|
-
if (startTime === null)
|
|
6328
|
-
throw new globalThis.Error("The parameter 'startTime' cannot be null.");
|
|
6329
|
-
else if (startTime !== undefined)
|
|
6330
|
-
url_ += "startTime=" + encodeURIComponent(startTime ? "" + startTime.toISOString() : "") + "&";
|
|
6331
|
-
if (endTime !== undefined && endTime !== null)
|
|
6332
|
-
url_ += "endTime=" + encodeURIComponent(endTime ? "" + endTime.toISOString() : "") + "&";
|
|
6333
|
-
if (ianaTimeZone !== undefined && ianaTimeZone !== null)
|
|
6334
|
-
url_ += "ianaTimeZone=" + encodeURIComponent("" + ianaTimeZone) + "&";
|
|
6285
|
+
getCompanyUtilizationDatapoints(request: UtilizationInputRequest): Promise<CompanyResourceUtilizationDatapointListDto> {
|
|
6286
|
+
let url_ = this.baseUrl + "/utilization/datapoints/company";
|
|
6335
6287
|
url_ = url_.replace(/[?&]$/, "");
|
|
6336
6288
|
|
|
6289
|
+
const content_ = JSON.stringify(request);
|
|
6290
|
+
|
|
6337
6291
|
let options_: RequestInit = {
|
|
6338
|
-
|
|
6292
|
+
body: content_,
|
|
6293
|
+
method: "POST",
|
|
6339
6294
|
headers: {
|
|
6295
|
+
"Content-Type": "application/json",
|
|
6340
6296
|
"Accept": "application/json"
|
|
6341
6297
|
}
|
|
6342
6298
|
};
|
|
@@ -6348,13 +6304,13 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
6348
6304
|
});
|
|
6349
6305
|
}
|
|
6350
6306
|
|
|
6351
|
-
protected processGetCompanyUtilizationDatapoints(response: Response): Promise<
|
|
6307
|
+
protected processGetCompanyUtilizationDatapoints(response: Response): Promise<CompanyResourceUtilizationDatapointListDto> {
|
|
6352
6308
|
const status = response.status;
|
|
6353
6309
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
6354
6310
|
if (status === 200) {
|
|
6355
6311
|
return response.text().then((_responseText) => {
|
|
6356
6312
|
let result200: any = null;
|
|
6357
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as
|
|
6313
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as CompanyResourceUtilizationDatapointListDto;
|
|
6358
6314
|
return result200;
|
|
6359
6315
|
});
|
|
6360
6316
|
} else if (status !== 200 && status !== 204) {
|
|
@@ -6362,7 +6318,7 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
6362
6318
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
6363
6319
|
});
|
|
6364
6320
|
}
|
|
6365
|
-
return Promise.resolve<
|
|
6321
|
+
return Promise.resolve<CompanyResourceUtilizationDatapointListDto>(null as any);
|
|
6366
6322
|
}
|
|
6367
6323
|
|
|
6368
6324
|
/**
|
|
@@ -23116,7 +23072,7 @@ export interface IInspectMatchMaterialChecksClient {
|
|
|
23116
23072
|
|
|
23117
23073
|
getMaterialCheck(id: string): Promise<ImaMaterialCheckDto>;
|
|
23118
23074
|
|
|
23119
|
-
listMaterialChecks(
|
|
23075
|
+
listMaterialChecks(request: ImaMaterialChecksPageRequestDto): Promise<PagedResultOfImaMaterialCheckLiteDto>;
|
|
23120
23076
|
|
|
23121
23077
|
processMaterialCertificate(certificatesRequest: ProcessMaterialCertificate): Promise<void>;
|
|
23122
23078
|
}
|
|
@@ -23169,12 +23125,8 @@ export class InspectMatchMaterialChecksClient extends AuthorizedApiBase implemen
|
|
|
23169
23125
|
return Promise.resolve<ImaMaterialCheckDto>(null as any);
|
|
23170
23126
|
}
|
|
23171
23127
|
|
|
23172
|
-
listMaterialChecks(
|
|
23173
|
-
let url_ = this.baseUrl + "/inspect/match/material-checks/list
|
|
23174
|
-
if (pageSize !== undefined && pageSize !== null)
|
|
23175
|
-
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
23176
|
-
if (continuationToken !== undefined && continuationToken !== null)
|
|
23177
|
-
url_ += "continuationToken=" + encodeURIComponent("" + continuationToken) + "&";
|
|
23128
|
+
listMaterialChecks(request: ImaMaterialChecksPageRequestDto): Promise<PagedResultOfImaMaterialCheckLiteDto> {
|
|
23129
|
+
let url_ = this.baseUrl + "/inspect/match/material-checks/list";
|
|
23178
23130
|
url_ = url_.replace(/[?&]$/, "");
|
|
23179
23131
|
|
|
23180
23132
|
const content_ = JSON.stringify(request);
|
|
@@ -29828,7 +29780,7 @@ export interface Point {
|
|
|
29828
29780
|
[key: string]: any;
|
|
29829
29781
|
}
|
|
29830
29782
|
|
|
29831
|
-
export interface
|
|
29783
|
+
export interface UpsertFactory {
|
|
29832
29784
|
centerPoint?: Point;
|
|
29833
29785
|
}
|
|
29834
29786
|
|
|
@@ -30902,11 +30854,11 @@ export interface UpdatePulseSettingsResource {
|
|
|
30902
30854
|
factoryCalendarEnabled: boolean;
|
|
30903
30855
|
}
|
|
30904
30856
|
|
|
30905
|
-
export interface
|
|
30906
|
-
utilizationType:
|
|
30857
|
+
export interface CompanyResourceUtilizationDto {
|
|
30858
|
+
utilizationType: ResourceUtilizationTypeDto;
|
|
30907
30859
|
companyUtilization: UtilizationDetailsV2Dto;
|
|
30908
|
-
groups:
|
|
30909
|
-
|
|
30860
|
+
groups: ResourceGroupUtilizationV2Dto[];
|
|
30861
|
+
ungroupedResources: ResourceUtilizationV3Dto[];
|
|
30910
30862
|
}
|
|
30911
30863
|
|
|
30912
30864
|
export interface UtilizationDetailsV2Dto {
|
|
@@ -30921,30 +30873,59 @@ export interface UtilizationDetailsV2Dto {
|
|
|
30921
30873
|
performancePercent?: number | null;
|
|
30922
30874
|
}
|
|
30923
30875
|
|
|
30924
|
-
export interface
|
|
30876
|
+
export interface ResourceGroupUtilizationV2Dto {
|
|
30925
30877
|
name: string;
|
|
30926
30878
|
utilization: UtilizationDetailsV2Dto;
|
|
30927
|
-
|
|
30879
|
+
resources: ResourceUtilizationV3Dto[];
|
|
30928
30880
|
}
|
|
30929
30881
|
|
|
30930
|
-
export interface
|
|
30882
|
+
export interface ResourceUtilizationV3Dto {
|
|
30931
30883
|
id?: number;
|
|
30932
30884
|
name: string;
|
|
30933
30885
|
description?: string | null;
|
|
30934
30886
|
utilization: UtilizationDetailsV2Dto;
|
|
30935
30887
|
}
|
|
30936
30888
|
|
|
30889
|
+
export interface UtilizationInputRequest {
|
|
30890
|
+
utilizationType?: ResourceUtilizationTypeDto;
|
|
30891
|
+
startTime: Date;
|
|
30892
|
+
endTime?: Date | null;
|
|
30893
|
+
ianaTimeZone?: string | null;
|
|
30894
|
+
resourceExternalIds?: string[] | null;
|
|
30895
|
+
resourceGroupNames?: string[] | null;
|
|
30896
|
+
}
|
|
30897
|
+
|
|
30937
30898
|
export interface CrossCompanyUtilizationDto {
|
|
30938
30899
|
utilizationType: UtilizationTypeDto;
|
|
30939
30900
|
crossCompanyUtilization: UtilizationDetailsV2Dto;
|
|
30940
30901
|
companies: NamedCompanyUtilizationDto[];
|
|
30941
30902
|
}
|
|
30942
30903
|
|
|
30904
|
+
export interface CompanyUtilizationDto {
|
|
30905
|
+
utilizationType: UtilizationTypeDto;
|
|
30906
|
+
companyUtilization: UtilizationDetailsV2Dto;
|
|
30907
|
+
groups: MachineGroupUtilizationV2Dto[];
|
|
30908
|
+
ungroupedMachines: MachineUtilizationV3Dto[];
|
|
30909
|
+
}
|
|
30910
|
+
|
|
30943
30911
|
export interface NamedCompanyUtilizationDto extends CompanyUtilizationDto {
|
|
30944
30912
|
companyId: string;
|
|
30945
30913
|
companyName: string;
|
|
30946
30914
|
}
|
|
30947
30915
|
|
|
30916
|
+
export interface MachineGroupUtilizationV2Dto {
|
|
30917
|
+
name: string;
|
|
30918
|
+
utilization: UtilizationDetailsV2Dto;
|
|
30919
|
+
machines: MachineUtilizationV3Dto[];
|
|
30920
|
+
}
|
|
30921
|
+
|
|
30922
|
+
export interface MachineUtilizationV3Dto {
|
|
30923
|
+
id?: number;
|
|
30924
|
+
name: string;
|
|
30925
|
+
description?: string | null;
|
|
30926
|
+
utilization: UtilizationDetailsV2Dto;
|
|
30927
|
+
}
|
|
30928
|
+
|
|
30948
30929
|
export interface UtilizationDatapointListDto {
|
|
30949
30930
|
datapoints?: NumericNullableValueWithTimestamp[];
|
|
30950
30931
|
trendDatapoints?: NumericNullableValueWithTimestamp[];
|
|
@@ -30958,44 +30939,42 @@ export interface MachineUtilizationDatapointListDto extends UtilizationDatapoint
|
|
|
30958
30939
|
description?: string | null;
|
|
30959
30940
|
}
|
|
30960
30941
|
|
|
30961
|
-
export interface
|
|
30962
|
-
groups?:
|
|
30963
|
-
|
|
30942
|
+
export interface CompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
30943
|
+
groups?: ResourceGroupUtilizationDatapointListDto[];
|
|
30944
|
+
ungroupedResources?: ResourceUtilizationDatapointListDto[];
|
|
30964
30945
|
}
|
|
30965
30946
|
|
|
30966
|
-
export interface
|
|
30947
|
+
export interface ResourceGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
30967
30948
|
groupId: string;
|
|
30968
30949
|
groupName: string;
|
|
30969
|
-
|
|
30950
|
+
resources?: ResourceUtilizationDatapointListDto[];
|
|
30951
|
+
}
|
|
30952
|
+
|
|
30953
|
+
export interface ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
30954
|
+
externalId: string;
|
|
30955
|
+
id: number;
|
|
30956
|
+
name: string;
|
|
30957
|
+
description?: string | null;
|
|
30970
30958
|
}
|
|
30971
30959
|
|
|
30972
30960
|
export interface CrossCompanyUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
30973
30961
|
companies?: NamedCompanyUtilizationDatapointListDto[];
|
|
30974
30962
|
}
|
|
30975
30963
|
|
|
30964
|
+
export interface CompanyUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
30965
|
+
groups?: MachineGroupUtilizationDatapointListDto[];
|
|
30966
|
+
ungroupedMachines?: MachineUtilizationDatapointListDto[];
|
|
30967
|
+
}
|
|
30968
|
+
|
|
30976
30969
|
export interface NamedCompanyUtilizationDatapointListDto extends CompanyUtilizationDatapointListDto {
|
|
30977
30970
|
companyId: string;
|
|
30978
30971
|
companyName: string;
|
|
30979
30972
|
}
|
|
30980
30973
|
|
|
30981
|
-
export interface
|
|
30982
|
-
|
|
30983
|
-
|
|
30984
|
-
|
|
30985
|
-
ungroupedResources: ResourceUtilizationV3Dto[];
|
|
30986
|
-
}
|
|
30987
|
-
|
|
30988
|
-
export interface ResourceGroupUtilizationV2Dto {
|
|
30989
|
-
name: string;
|
|
30990
|
-
utilization: UtilizationDetailsV2Dto;
|
|
30991
|
-
resources: ResourceUtilizationV3Dto[];
|
|
30992
|
-
}
|
|
30993
|
-
|
|
30994
|
-
export interface ResourceUtilizationV3Dto {
|
|
30995
|
-
id?: number;
|
|
30996
|
-
name: string;
|
|
30997
|
-
description?: string | null;
|
|
30998
|
-
utilization: UtilizationDetailsV2Dto;
|
|
30974
|
+
export interface MachineGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
30975
|
+
groupId: string;
|
|
30976
|
+
groupName: string;
|
|
30977
|
+
machines?: MachineUtilizationDatapointListDto[];
|
|
30999
30978
|
}
|
|
31000
30979
|
|
|
31001
30980
|
export interface CrossCompanyResourceUtilizationDto {
|
|
@@ -31009,24 +30988,6 @@ export interface NamedCompanyResourceUtilizationDto extends CompanyResourceUtili
|
|
|
31009
30988
|
companyName: string;
|
|
31010
30989
|
}
|
|
31011
30990
|
|
|
31012
|
-
export interface ResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
31013
|
-
externalId: string;
|
|
31014
|
-
id: number;
|
|
31015
|
-
name: string;
|
|
31016
|
-
description?: string | null;
|
|
31017
|
-
}
|
|
31018
|
-
|
|
31019
|
-
export interface CompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
31020
|
-
groups?: ResourceGroupUtilizationDatapointListDto[];
|
|
31021
|
-
ungroupedResources?: ResourceUtilizationDatapointListDto[];
|
|
31022
|
-
}
|
|
31023
|
-
|
|
31024
|
-
export interface ResourceGroupUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
31025
|
-
groupId: string;
|
|
31026
|
-
groupName: string;
|
|
31027
|
-
resources?: ResourceUtilizationDatapointListDto[];
|
|
31028
|
-
}
|
|
31029
|
-
|
|
31030
30991
|
export interface CrossCompanyResourceUtilizationDatapointListDto extends UtilizationDatapointListDto {
|
|
31031
30992
|
companies?: NamedCompanyResourceUtilizationDatapointListDto[];
|
|
31032
30993
|
}
|
|
@@ -34777,6 +34738,7 @@ export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
|
|
|
34777
34738
|
|
|
34778
34739
|
export interface ImaMaterialCheckDto {
|
|
34779
34740
|
materialCheckId: string;
|
|
34741
|
+
fileName: string;
|
|
34780
34742
|
originalMaterialCertificate: FileDto;
|
|
34781
34743
|
generatedMaterialCertificate?: FileDto | null;
|
|
34782
34744
|
customerOrder?: string | null;
|
|
@@ -34812,7 +34774,7 @@ export interface ImaMaterialCheckDto {
|
|
|
34812
34774
|
|
|
34813
34775
|
export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
34814
34776
|
|
|
34815
|
-
export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
|
|
34777
|
+
export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
|
|
34816
34778
|
|
|
34817
34779
|
export interface ImaCertificateTypeResultsDto extends ImaCdfEntityReadBase {
|
|
34818
34780
|
manufacturer: ImaCertificateTypeManufacturerResultsDto;
|
|
@@ -34952,11 +34914,9 @@ export interface ImaSpecificationFerriteResultsDto extends ImaCdfEntityReadBase
|
|
|
34952
34914
|
ferriteContent?: ImaSpecificationFerriteResultLineDto | null;
|
|
34953
34915
|
}
|
|
34954
34916
|
|
|
34955
|
-
export interface ImaSpecificationFerriteResultLineDto {
|
|
34956
|
-
|
|
34957
|
-
|
|
34958
|
-
specificationValue2?: string | null;
|
|
34959
|
-
specificationSymbol?: string | null;
|
|
34917
|
+
export interface ImaSpecificationFerriteResultLineDto extends ImaCdfEntityReadBase {
|
|
34918
|
+
specificationMin?: number | null;
|
|
34919
|
+
specificationMax?: number | null;
|
|
34960
34920
|
readValue?: string | null;
|
|
34961
34921
|
status: ImaSpecificationResultLineStatus;
|
|
34962
34922
|
override?: ImaResultLineOverrideDto | null;
|
|
@@ -35117,6 +35077,7 @@ export interface PagedResultOfImaMaterialCheckLiteDto {
|
|
|
35117
35077
|
|
|
35118
35078
|
export interface ImaMaterialCheckLiteDto {
|
|
35119
35079
|
materialCheckId: string;
|
|
35080
|
+
fileName: string;
|
|
35120
35081
|
originalMaterialCertificate: FileDto;
|
|
35121
35082
|
generatedMaterialCertificate?: FileDto | null;
|
|
35122
35083
|
customerOrder?: string | null;
|
|
@@ -35150,26 +35111,35 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
35150
35111
|
|
|
35151
35112
|
export interface ImaMaterialChecksPageRequestDto {
|
|
35152
35113
|
pageSize?: number | null;
|
|
35153
|
-
orderBy?:
|
|
35154
|
-
|
|
35155
|
-
|
|
35156
|
-
|
|
35157
|
-
|
|
35114
|
+
orderBy?: ImaMaterialChecksPageOrderRequestDto[] | null;
|
|
35115
|
+
searchQuery?: string | null;
|
|
35116
|
+
fileNameFilter?: string | null;
|
|
35117
|
+
specificationFilter?: string | null;
|
|
35118
|
+
customerOrderFilter?: string | null;
|
|
35158
35119
|
projectFilter?: string | null;
|
|
35159
35120
|
purchaseOrderFilter?: string | null;
|
|
35160
35121
|
workOrderFilter?: string | null;
|
|
35161
35122
|
certificateTypeFilter?: string | null;
|
|
35162
|
-
|
|
35163
|
-
itemFilter?: string | null;
|
|
35123
|
+
purchaseOrderLineFilter?: number | null;
|
|
35164
35124
|
heatFilter?: string | null;
|
|
35165
|
-
|
|
35125
|
+
vendorBatchesFilter?: string[] | null;
|
|
35126
|
+
purchaseOrderPartNameFilter?: string | null;
|
|
35127
|
+
purchaseOrderPartNumberFilter?: string | null;
|
|
35128
|
+
purchaseOrderDrawingFilter?: string | null;
|
|
35166
35129
|
dateFromFilter?: Date | null;
|
|
35167
35130
|
dateToFilter?: Date | null;
|
|
35168
35131
|
statusFilter?: ImaMaterialCheckStatus[] | null;
|
|
35169
35132
|
continuationToken?: string | null;
|
|
35170
35133
|
}
|
|
35171
35134
|
|
|
35172
|
-
export
|
|
35135
|
+
export interface ImaMaterialChecksPageOrderRequestDto {
|
|
35136
|
+
column?: ImaMaterialChecksOrderByColumn;
|
|
35137
|
+
direction?: ImaOrderDirection;
|
|
35138
|
+
}
|
|
35139
|
+
|
|
35140
|
+
export type ImaMaterialChecksOrderByColumn = "FileName" | "PurchaseOrder" | "Line" | "VendorBatch" | "Part" | "Drawing" | "Heat" | "CertificateType" | "Specification" | "GeneratedReport" | "Project" | "CustomerOrder" | "WorkOrder" | "Date" | "Status";
|
|
35141
|
+
|
|
35142
|
+
export type ImaOrderDirection = "Asc" | "Desc";
|
|
35173
35143
|
|
|
35174
35144
|
export interface ProcessMaterialCertificate {
|
|
35175
35145
|
files: UploadFileCdfDto[];
|