@ignos/api-client 20260320.85.1-alpha → 20260320.86.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 +76 -67
- package/lib/ignosportal-api.js +51 -50
- package/package.json +1 -1
- package/src/ignosportal-api.ts +118 -109
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2327,6 +2327,7 @@ export interface IMesLinksClient {
|
|
|
2327
2327
|
listUnmappedMesLinks(): Promise<MesLinkDto[]>;
|
|
2328
2328
|
updateMesLink(id: string, request: UpdateMesLink): Promise<FileResponse>;
|
|
2329
2329
|
deleteMesLink(id: string): Promise<void>;
|
|
2330
|
+
getMesLinkPlaceholders(): Promise<MesLinkPlaceholdersDto>;
|
|
2330
2331
|
}
|
|
2331
2332
|
export declare class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient {
|
|
2332
2333
|
private http;
|
|
@@ -2344,6 +2345,8 @@ export declare class MesLinksClient extends AuthorizedApiBase implements IMesLin
|
|
|
2344
2345
|
protected processUpdateMesLink(response: Response): Promise<FileResponse>;
|
|
2345
2346
|
deleteMesLink(id: string): Promise<void>;
|
|
2346
2347
|
protected processDeleteMesLink(response: Response): Promise<void>;
|
|
2348
|
+
getMesLinkPlaceholders(): Promise<MesLinkPlaceholdersDto>;
|
|
2349
|
+
protected processGetMesLinkPlaceholders(response: Response): Promise<MesLinkPlaceholdersDto>;
|
|
2347
2350
|
}
|
|
2348
2351
|
export interface IMesOrMoveClient {
|
|
2349
2352
|
getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
|
|
@@ -2513,7 +2516,6 @@ export declare class WeldingClient extends AuthorizedApiBase implements IWelding
|
|
|
2513
2516
|
export interface IInspectMatchCertificateChecksClient {
|
|
2514
2517
|
listMaterialCertificateChecks(request: ImaMaterialChecksPageRequestDto): Promise<ImaMaterialChecksPageDto>;
|
|
2515
2518
|
getMaterialCertificateCheck(id: string): Promise<ImaMaterialCheckDto>;
|
|
2516
|
-
deleteMaterialCheck(id: string): Promise<void>;
|
|
2517
2519
|
processMaterialCertificate(certificatesRequest: ProcessImaCheckRequestDto): Promise<void>;
|
|
2518
2520
|
updateMaterialCertificate(certificatesRequest: ImaUpdateResultRequestDto): Promise<ImaMaterialCheckDto>;
|
|
2519
2521
|
}
|
|
@@ -2527,8 +2529,6 @@ export declare class InspectMatchCertificateChecksClient extends AuthorizedApiBa
|
|
|
2527
2529
|
protected processListMaterialCertificateChecks(response: Response): Promise<ImaMaterialChecksPageDto>;
|
|
2528
2530
|
getMaterialCertificateCheck(id: string): Promise<ImaMaterialCheckDto>;
|
|
2529
2531
|
protected processGetMaterialCertificateCheck(response: Response): Promise<ImaMaterialCheckDto>;
|
|
2530
|
-
deleteMaterialCheck(id: string): Promise<void>;
|
|
2531
|
-
protected processDeleteMaterialCheck(response: Response): Promise<void>;
|
|
2532
2532
|
processMaterialCertificate(certificatesRequest: ProcessImaCheckRequestDto): Promise<void>;
|
|
2533
2533
|
protected processProcessMaterialCertificate(response: Response): Promise<void>;
|
|
2534
2534
|
updateMaterialCertificate(certificatesRequest: ImaUpdateResultRequestDto): Promise<ImaMaterialCheckDto>;
|
|
@@ -2537,8 +2537,8 @@ export declare class InspectMatchCertificateChecksClient extends AuthorizedApiBa
|
|
|
2537
2537
|
export interface IInspectMatchCertificateTypesClient {
|
|
2538
2538
|
listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]>;
|
|
2539
2539
|
getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
|
|
2540
|
-
|
|
2541
|
-
|
|
2540
|
+
updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2541
|
+
deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
|
|
2542
2542
|
createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2543
2543
|
copyMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2544
2544
|
createNewVersionForCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
|
|
@@ -2554,10 +2554,10 @@ export declare class InspectMatchCertificateTypesClient extends AuthorizedApiBas
|
|
|
2554
2554
|
protected processListMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeLiteDto[]>;
|
|
2555
2555
|
getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
|
|
2556
2556
|
protected processGetMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2557
|
-
|
|
2558
|
-
protected
|
|
2559
|
-
|
|
2560
|
-
protected
|
|
2557
|
+
updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2558
|
+
protected processUpdateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2559
|
+
deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
|
|
2560
|
+
protected processDeleteMaterialCertificateTypes(response: Response): Promise<void>;
|
|
2561
2561
|
createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2562
2562
|
protected processCreateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2563
2563
|
copyMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
@@ -2570,9 +2570,9 @@ export declare class InspectMatchCertificateTypesClient extends AuthorizedApiBas
|
|
|
2570
2570
|
export interface IInspectMatchSpecificationsClient {
|
|
2571
2571
|
listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
|
|
2572
2572
|
getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2573
|
+
updateSpecifications(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
|
|
2574
|
+
deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
|
|
2575
|
+
createSpecifications(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
2576
2576
|
copySpecification(id: string, version: number | null | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
2577
2577
|
createNewVersionForSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
|
|
2578
2578
|
releaseSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
|
|
@@ -2587,12 +2587,12 @@ export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase
|
|
|
2587
2587
|
protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]>;
|
|
2588
2588
|
getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
|
|
2589
2589
|
protected processGetSpecification(response: Response): Promise<ImaSpecificationDto>;
|
|
2590
|
-
|
|
2591
|
-
protected
|
|
2592
|
-
|
|
2593
|
-
protected
|
|
2594
|
-
|
|
2595
|
-
protected
|
|
2590
|
+
updateSpecifications(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
|
|
2591
|
+
protected processUpdateSpecifications(response: Response): Promise<ImaSpecificationDto>;
|
|
2592
|
+
deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
|
|
2593
|
+
protected processDeleteMaterialCertificateTypes(response: Response): Promise<void>;
|
|
2594
|
+
createSpecifications(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
2595
|
+
protected processCreateSpecifications(response: Response): Promise<ImaSpecificationDto>;
|
|
2596
2596
|
copySpecification(id: string, version: number | null | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
2597
2597
|
protected processCopySpecification(response: Response): Promise<ImaSpecificationDto>;
|
|
2598
2598
|
createNewVersionForSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
|
|
@@ -6365,6 +6365,10 @@ export interface WorkspaceDto {
|
|
|
6365
6365
|
widgetSettings: {
|
|
6366
6366
|
[key: string]: string;
|
|
6367
6367
|
};
|
|
6368
|
+
isSystemManaged?: boolean;
|
|
6369
|
+
systemManagedKind?: string | null;
|
|
6370
|
+
sourceTemplateId?: string | null;
|
|
6371
|
+
sourceMachineId?: string | null;
|
|
6368
6372
|
}
|
|
6369
6373
|
export interface WorkspaceWidgetDto {
|
|
6370
6374
|
id: string;
|
|
@@ -6827,10 +6831,11 @@ export interface EngineeringChangeOrdersDto {
|
|
|
6827
6831
|
engineeringChangeOrders?: EngineeringChangeOrderDto[];
|
|
6828
6832
|
}
|
|
6829
6833
|
export interface AddMesLink {
|
|
6830
|
-
uri?: string
|
|
6831
|
-
name?: string
|
|
6834
|
+
uri?: string;
|
|
6835
|
+
name?: string;
|
|
6832
6836
|
type?: MesLinkTypeDto;
|
|
6833
|
-
|
|
6837
|
+
openInNewTab?: boolean;
|
|
6838
|
+
description?: string | null;
|
|
6834
6839
|
}
|
|
6835
6840
|
export type MesLinkTypeDto = "Static" | "Operation" | "WorkOrder";
|
|
6836
6841
|
export interface MesLinkDto {
|
|
@@ -6838,14 +6843,25 @@ export interface MesLinkDto {
|
|
|
6838
6843
|
uri?: string;
|
|
6839
6844
|
name?: string;
|
|
6840
6845
|
type?: MesLinkTypeDto;
|
|
6841
|
-
|
|
6846
|
+
openInNewTab?: boolean;
|
|
6847
|
+
description?: string | null;
|
|
6842
6848
|
}
|
|
6843
6849
|
export interface UpdateMesLink {
|
|
6844
|
-
id?: string
|
|
6845
|
-
uri?: string
|
|
6846
|
-
name?: string
|
|
6850
|
+
id?: string;
|
|
6851
|
+
uri?: string;
|
|
6852
|
+
name?: string;
|
|
6847
6853
|
type?: MesLinkTypeDto;
|
|
6848
|
-
|
|
6854
|
+
openInNewTab?: boolean;
|
|
6855
|
+
description?: string | null;
|
|
6856
|
+
moveLinkRequest?: MoveLinkRequest | null;
|
|
6857
|
+
}
|
|
6858
|
+
export interface MoveLinkRequest {
|
|
6859
|
+
displayBeforeId?: string | null;
|
|
6860
|
+
}
|
|
6861
|
+
export interface MesLinkPlaceholdersDto {
|
|
6862
|
+
static: string[];
|
|
6863
|
+
workOrder: string[];
|
|
6864
|
+
operation: string[];
|
|
6849
6865
|
}
|
|
6850
6866
|
export interface GeneratePrintableLabel {
|
|
6851
6867
|
labelIds: LabelId[];
|
|
@@ -7450,7 +7466,6 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
7450
7466
|
createdById: string;
|
|
7451
7467
|
updatedBy?: string | null;
|
|
7452
7468
|
updatedById?: string | null;
|
|
7453
|
-
isDeleted?: boolean;
|
|
7454
7469
|
}
|
|
7455
7470
|
export type ImaMaterialCheckStatus = "WaitingForProcessing" | "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
|
|
7456
7471
|
export interface ImaMaterialChecksPageRequestDto {
|
|
@@ -7498,12 +7513,11 @@ export interface ImaMaterialCheckDto {
|
|
|
7498
7513
|
createdById: string;
|
|
7499
7514
|
updatedBy?: string | null;
|
|
7500
7515
|
updatedById?: string | null;
|
|
7501
|
-
isDeleted?: boolean;
|
|
7502
7516
|
certificateTypeResults: ImaCertificateTypeResultsDto;
|
|
7503
7517
|
specificationChemistry: ImaSpecificationChemistryResultsDto;
|
|
7504
7518
|
specificationMechanical: ImaSpecificationMechanicalResultsDto;
|
|
7505
7519
|
specificationFerrite: ImaSpecificationFerriteResultsDto;
|
|
7506
|
-
|
|
7520
|
+
specificationHeat: ImaSpecificationHeatTreatmentResultsDto;
|
|
7507
7521
|
}
|
|
7508
7522
|
export interface ImaCertificateTypeResultsDto {
|
|
7509
7523
|
manufacturer: ImaCertificateTypeManufacturerResultsDto;
|
|
@@ -7604,12 +7618,11 @@ export interface ImaSpecificationResultLineDto {
|
|
|
7604
7618
|
specificationOperator?: string | null;
|
|
7605
7619
|
specificationValue1?: number | null;
|
|
7606
7620
|
specificationValue2?: number | null;
|
|
7607
|
-
|
|
7621
|
+
specificationSymbol?: string | null;
|
|
7608
7622
|
readValue?: string | null;
|
|
7609
7623
|
status: ImaSpecificationResultLineStatus;
|
|
7610
7624
|
override?: ImaResultLineOverrideDto | null;
|
|
7611
7625
|
}
|
|
7612
|
-
export type ImaSpecificationUnit = "Percentage" | "Joule" | "Celsius" | "Fahrenheit" | "Mpa" | "Hbw" | "NotSet";
|
|
7613
7626
|
export type ImaSpecificationResultLineStatus = "NotFound" | "NotOk" | "Ok" | "NotSet";
|
|
7614
7627
|
export interface ImaSpecificationMechanicalResultsDto {
|
|
7615
7628
|
yieldStrength?: ImaSpecificationResultLineDto | null;
|
|
@@ -7632,21 +7645,26 @@ export interface ImaSpecificationFerriteResultLineDto {
|
|
|
7632
7645
|
override?: ImaResultLineOverrideDto | null;
|
|
7633
7646
|
measurementMethod?: string | null;
|
|
7634
7647
|
}
|
|
7635
|
-
export interface
|
|
7636
|
-
|
|
7637
|
-
|
|
7638
|
-
|
|
7639
|
-
|
|
7640
|
-
|
|
7641
|
-
|
|
7642
|
-
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7648
|
+
export interface ImaSpecificationHeatTreatmentResultsDto {
|
|
7649
|
+
heatTreatments: ImaSpecificationHeatTreatmentsResultLineDto[];
|
|
7650
|
+
}
|
|
7651
|
+
export interface ImaSpecificationHeatTreatmentsResultLineDto {
|
|
7652
|
+
heatingMethod: ImaHeatingTreatmentMethod;
|
|
7653
|
+
specificationHeatingTreatmentTemperature?: number | null;
|
|
7654
|
+
specificationHeatingHoldingTime?: number | null;
|
|
7655
|
+
heatingTreatmentTemperature?: number | null;
|
|
7656
|
+
heatingHoldingTime?: number | null;
|
|
7657
|
+
specificationCoolingMethods?: ImaCoolingTreatmentMethod[] | null;
|
|
7658
|
+
specificationCoolingTreatmentTemperature?: number | null;
|
|
7659
|
+
specificationCoolingHoldingTime?: number | null;
|
|
7660
|
+
coolingMethod?: ImaCoolingTreatmentMethod | null;
|
|
7661
|
+
coolingTreatmentTemperature?: number | null;
|
|
7662
|
+
coolingHoldingTime?: number | null;
|
|
7663
|
+
status: ImaSpecificationResultLineStatus;
|
|
7664
|
+
override?: ImaResultLineOverrideDto | null;
|
|
7649
7665
|
}
|
|
7666
|
+
export type ImaHeatingTreatmentMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering" | "NotSet";
|
|
7667
|
+
export type ImaCoolingTreatmentMethod = "AirCooling" | "OilQuenching" | "WaterQuenching" | "FurnaceCooling" | "AirBlastCooling" | "PolymerQuenching" | "NotSet";
|
|
7650
7668
|
export interface ProcessImaCheckRequestDto {
|
|
7651
7669
|
files: UploadFileDto[];
|
|
7652
7670
|
specificationId: string;
|
|
@@ -7787,7 +7805,6 @@ export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
|
|
|
7787
7805
|
updatedBy?: string | null;
|
|
7788
7806
|
updatedById?: string | null;
|
|
7789
7807
|
updated: Date;
|
|
7790
|
-
isDeleted: boolean;
|
|
7791
7808
|
}
|
|
7792
7809
|
export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
7793
7810
|
export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
|
|
@@ -7805,7 +7822,6 @@ export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
|
|
|
7805
7822
|
updatedBy?: string | null;
|
|
7806
7823
|
updatedById?: string | null;
|
|
7807
7824
|
updated: Date;
|
|
7808
|
-
isDeleted: boolean;
|
|
7809
7825
|
requirements: ImaCertificateTypeRequirementsDto;
|
|
7810
7826
|
}
|
|
7811
7827
|
export interface ImaCertificateTypeVersionDto {
|
|
@@ -7977,7 +7993,6 @@ export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
|
|
|
7977
7993
|
createdById: string;
|
|
7978
7994
|
updatedBy: string;
|
|
7979
7995
|
updatedById: string;
|
|
7980
|
-
isDeleted: boolean;
|
|
7981
7996
|
}
|
|
7982
7997
|
export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
7983
7998
|
export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
|
|
@@ -7997,11 +8012,10 @@ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
|
|
|
7997
8012
|
updatedBy: string;
|
|
7998
8013
|
updatedById: string;
|
|
7999
8014
|
updated: Date;
|
|
8000
|
-
isDeleted: boolean;
|
|
8001
8015
|
chemistrySpecification: ImaChemistrySpecificationDto;
|
|
8002
8016
|
mechanicalSpecification: ImaMechanicalSpecificationDto;
|
|
8003
8017
|
ferriteSpecification: ImaFerriteSpecificationDto;
|
|
8004
|
-
|
|
8018
|
+
heatSpecification: ImaHeatTreatmentSpecificationDto;
|
|
8005
8019
|
}
|
|
8006
8020
|
export interface ImaSpecificationVersionDto {
|
|
8007
8021
|
version?: number;
|
|
@@ -8025,9 +8039,10 @@ export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
|
|
|
8025
8039
|
operator: ImaSpecificationOperator;
|
|
8026
8040
|
value1: number;
|
|
8027
8041
|
value2?: number | null;
|
|
8028
|
-
|
|
8042
|
+
symbol: ImaSpecificationSymbol;
|
|
8029
8043
|
}
|
|
8030
8044
|
export type ImaSpecificationOperator = "Equal" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Min" | "Max" | "Between" | "NotSet";
|
|
8045
|
+
export type ImaSpecificationSymbol = "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw" | "NotSet";
|
|
8031
8046
|
export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
|
|
8032
8047
|
yieldStrength?: ImaSpecificationLineDto | null;
|
|
8033
8048
|
tensileStrength?: ImaSpecificationLineDto | null;
|
|
@@ -8039,23 +8054,17 @@ export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
|
|
|
8039
8054
|
export interface ImaFerriteSpecificationDto extends ImaCdfEntityReadBase {
|
|
8040
8055
|
ferriteContent?: ImaSpecificationLineDto | null;
|
|
8041
8056
|
}
|
|
8042
|
-
export interface
|
|
8043
|
-
|
|
8044
|
-
cooling?: ImaHeatSpecificationCooling | null;
|
|
8045
|
-
heating?: ImaHeatSpecificationHeating | null;
|
|
8046
|
-
}
|
|
8047
|
-
export interface ImaHeatSpecificationCooling extends ImaCdfEntityReadBase {
|
|
8048
|
-
coolingMethods: ImaHeatTreatmentCoolingMethod[];
|
|
8049
|
-
temperature?: ImaSpecificationLineDto | null;
|
|
8050
|
-
duration?: ImaSpecificationLineDto | null;
|
|
8057
|
+
export interface ImaHeatTreatmentSpecificationDto {
|
|
8058
|
+
heatTreatments: ImaHeatTreatmentsSpecificationDto[];
|
|
8051
8059
|
}
|
|
8052
|
-
export
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8060
|
+
export interface ImaHeatTreatmentsSpecificationDto {
|
|
8061
|
+
heatingMethod: ImaHeatingTreatmentMethod;
|
|
8062
|
+
heatingTreatmentTemperature?: number | null;
|
|
8063
|
+
heatingHoldingTime?: number | null;
|
|
8064
|
+
coolingMethods?: ImaCoolingTreatmentMethod[] | null;
|
|
8065
|
+
coolingTreatmentTemperature?: number | null;
|
|
8066
|
+
coolingHoldingTime?: number | null;
|
|
8057
8067
|
}
|
|
8058
|
-
export type ImaHeatTreatmentHeatingMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering" | "NotSet";
|
|
8059
8068
|
export interface ImaCreateSpecificationRequestDto {
|
|
8060
8069
|
specificationName: string;
|
|
8061
8070
|
specificationNumber: string;
|
|
@@ -8078,7 +8087,7 @@ export interface ImaUpdateSpecificationDto {
|
|
|
8078
8087
|
chemistrySpecification?: ImaChemistrySpecificationDto | null;
|
|
8079
8088
|
mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
|
|
8080
8089
|
ferriteSpecification?: ImaFerriteSpecificationDto | null;
|
|
8081
|
-
|
|
8090
|
+
heatSpecification?: ImaHeatTreatmentSpecificationDto | null;
|
|
8082
8091
|
}
|
|
8083
8092
|
export type ImaSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";
|
|
8084
8093
|
export interface MeasurementFormSchemaDto {
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -19028,6 +19028,42 @@ export class MesLinksClient extends AuthorizedApiBase {
|
|
|
19028
19028
|
}
|
|
19029
19029
|
return Promise.resolve(null);
|
|
19030
19030
|
}
|
|
19031
|
+
getMesLinkPlaceholders() {
|
|
19032
|
+
let url_ = this.baseUrl + "/mes/links/placeholders";
|
|
19033
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
19034
|
+
let options_ = {
|
|
19035
|
+
method: "GET",
|
|
19036
|
+
headers: {
|
|
19037
|
+
"Accept": "application/json"
|
|
19038
|
+
}
|
|
19039
|
+
};
|
|
19040
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19041
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
19042
|
+
}).then((_response) => {
|
|
19043
|
+
return this.processGetMesLinkPlaceholders(_response);
|
|
19044
|
+
});
|
|
19045
|
+
}
|
|
19046
|
+
processGetMesLinkPlaceholders(response) {
|
|
19047
|
+
const status = response.status;
|
|
19048
|
+
let _headers = {};
|
|
19049
|
+
if (response.headers && response.headers.forEach) {
|
|
19050
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
19051
|
+
}
|
|
19052
|
+
;
|
|
19053
|
+
if (status === 200) {
|
|
19054
|
+
return response.text().then((_responseText) => {
|
|
19055
|
+
let result200 = null;
|
|
19056
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19057
|
+
return result200;
|
|
19058
|
+
});
|
|
19059
|
+
}
|
|
19060
|
+
else if (status !== 200 && status !== 204) {
|
|
19061
|
+
return response.text().then((_responseText) => {
|
|
19062
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19063
|
+
});
|
|
19064
|
+
}
|
|
19065
|
+
return Promise.resolve(null);
|
|
19066
|
+
}
|
|
19031
19067
|
}
|
|
19032
19068
|
export class MesOrMoveClient extends AuthorizedApiBase {
|
|
19033
19069
|
constructor(configuration, baseUrl, http) {
|
|
@@ -20395,41 +20431,6 @@ export class InspectMatchCertificateChecksClient extends AuthorizedApiBase {
|
|
|
20395
20431
|
}
|
|
20396
20432
|
return Promise.resolve(null);
|
|
20397
20433
|
}
|
|
20398
|
-
deleteMaterialCheck(id) {
|
|
20399
|
-
let url_ = this.baseUrl + "/inspect/match/material-checks/{id}";
|
|
20400
|
-
if (id === undefined || id === null)
|
|
20401
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
20402
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
20403
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
20404
|
-
let options_ = {
|
|
20405
|
-
method: "DELETE",
|
|
20406
|
-
headers: {}
|
|
20407
|
-
};
|
|
20408
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
20409
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
20410
|
-
}).then((_response) => {
|
|
20411
|
-
return this.processDeleteMaterialCheck(_response);
|
|
20412
|
-
});
|
|
20413
|
-
}
|
|
20414
|
-
processDeleteMaterialCheck(response) {
|
|
20415
|
-
const status = response.status;
|
|
20416
|
-
let _headers = {};
|
|
20417
|
-
if (response.headers && response.headers.forEach) {
|
|
20418
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
20419
|
-
}
|
|
20420
|
-
;
|
|
20421
|
-
if (status === 204) {
|
|
20422
|
-
return response.text().then((_responseText) => {
|
|
20423
|
-
return;
|
|
20424
|
-
});
|
|
20425
|
-
}
|
|
20426
|
-
else if (status !== 200 && status !== 204) {
|
|
20427
|
-
return response.text().then((_responseText) => {
|
|
20428
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
20429
|
-
});
|
|
20430
|
-
}
|
|
20431
|
-
return Promise.resolve(null);
|
|
20432
|
-
}
|
|
20433
20434
|
processMaterialCertificate(certificatesRequest) {
|
|
20434
20435
|
let url_ = this.baseUrl + "/inspect/match/material-checks";
|
|
20435
20436
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -20589,7 +20590,7 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase {
|
|
|
20589
20590
|
}
|
|
20590
20591
|
return Promise.resolve(null);
|
|
20591
20592
|
}
|
|
20592
|
-
|
|
20593
|
+
updateMaterialCertificateTypes(id, version, payload) {
|
|
20593
20594
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
|
|
20594
20595
|
if (id === undefined || id === null)
|
|
20595
20596
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -20609,10 +20610,10 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase {
|
|
|
20609
20610
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
20610
20611
|
return this.http.fetch(url_, transformedOptions_);
|
|
20611
20612
|
}).then((_response) => {
|
|
20612
|
-
return this.
|
|
20613
|
+
return this.processUpdateMaterialCertificateTypes(_response);
|
|
20613
20614
|
});
|
|
20614
20615
|
}
|
|
20615
|
-
|
|
20616
|
+
processUpdateMaterialCertificateTypes(response) {
|
|
20616
20617
|
const status = response.status;
|
|
20617
20618
|
let _headers = {};
|
|
20618
20619
|
if (response.headers && response.headers.forEach) {
|
|
@@ -20633,7 +20634,7 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase {
|
|
|
20633
20634
|
}
|
|
20634
20635
|
return Promise.resolve(null);
|
|
20635
20636
|
}
|
|
20636
|
-
|
|
20637
|
+
deleteMaterialCertificateTypes(id, version) {
|
|
20637
20638
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
|
|
20638
20639
|
if (id === undefined || id === null)
|
|
20639
20640
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -20648,10 +20649,10 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase {
|
|
|
20648
20649
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
20649
20650
|
return this.http.fetch(url_, transformedOptions_);
|
|
20650
20651
|
}).then((_response) => {
|
|
20651
|
-
return this.
|
|
20652
|
+
return this.processDeleteMaterialCertificateTypes(_response);
|
|
20652
20653
|
});
|
|
20653
20654
|
}
|
|
20654
|
-
|
|
20655
|
+
processDeleteMaterialCertificateTypes(response) {
|
|
20655
20656
|
const status = response.status;
|
|
20656
20657
|
let _headers = {};
|
|
20657
20658
|
if (response.headers && response.headers.forEach) {
|
|
@@ -20919,7 +20920,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
|
|
|
20919
20920
|
}
|
|
20920
20921
|
return Promise.resolve(null);
|
|
20921
20922
|
}
|
|
20922
|
-
|
|
20923
|
+
updateSpecifications(id, version, dto) {
|
|
20923
20924
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
|
|
20924
20925
|
if (id === undefined || id === null)
|
|
20925
20926
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -20939,10 +20940,10 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
|
|
|
20939
20940
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
20940
20941
|
return this.http.fetch(url_, transformedOptions_);
|
|
20941
20942
|
}).then((_response) => {
|
|
20942
|
-
return this.
|
|
20943
|
+
return this.processUpdateSpecifications(_response);
|
|
20943
20944
|
});
|
|
20944
20945
|
}
|
|
20945
|
-
|
|
20946
|
+
processUpdateSpecifications(response) {
|
|
20946
20947
|
const status = response.status;
|
|
20947
20948
|
let _headers = {};
|
|
20948
20949
|
if (response.headers && response.headers.forEach) {
|
|
@@ -20963,7 +20964,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
|
|
|
20963
20964
|
}
|
|
20964
20965
|
return Promise.resolve(null);
|
|
20965
20966
|
}
|
|
20966
|
-
|
|
20967
|
+
deleteMaterialCertificateTypes(id, version) {
|
|
20967
20968
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
|
|
20968
20969
|
if (id === undefined || id === null)
|
|
20969
20970
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -20978,10 +20979,10 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
|
|
|
20978
20979
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
20979
20980
|
return this.http.fetch(url_, transformedOptions_);
|
|
20980
20981
|
}).then((_response) => {
|
|
20981
|
-
return this.
|
|
20982
|
+
return this.processDeleteMaterialCertificateTypes(_response);
|
|
20982
20983
|
});
|
|
20983
20984
|
}
|
|
20984
|
-
|
|
20985
|
+
processDeleteMaterialCertificateTypes(response) {
|
|
20985
20986
|
const status = response.status;
|
|
20986
20987
|
let _headers = {};
|
|
20987
20988
|
if (response.headers && response.headers.forEach) {
|
|
@@ -21000,7 +21001,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
|
|
|
21000
21001
|
}
|
|
21001
21002
|
return Promise.resolve(null);
|
|
21002
21003
|
}
|
|
21003
|
-
|
|
21004
|
+
createSpecifications(createRequestDto) {
|
|
21004
21005
|
let url_ = this.baseUrl + "/inspect/match/specifications";
|
|
21005
21006
|
url_ = url_.replace(/[?&]$/, "");
|
|
21006
21007
|
const content_ = JSON.stringify(createRequestDto);
|
|
@@ -21015,10 +21016,10 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
|
|
|
21015
21016
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21016
21017
|
return this.http.fetch(url_, transformedOptions_);
|
|
21017
21018
|
}).then((_response) => {
|
|
21018
|
-
return this.
|
|
21019
|
+
return this.processCreateSpecifications(_response);
|
|
21019
21020
|
});
|
|
21020
21021
|
}
|
|
21021
|
-
|
|
21022
|
+
processCreateSpecifications(response) {
|
|
21022
21023
|
const status = response.status;
|
|
21023
21024
|
let _headers = {};
|
|
21024
21025
|
if (response.headers && response.headers.forEach) {
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -20160,6 +20160,8 @@ export interface IMesLinksClient {
|
|
|
20160
20160
|
updateMesLink(id: string, request: UpdateMesLink): Promise<FileResponse>;
|
|
20161
20161
|
|
|
20162
20162
|
deleteMesLink(id: string): Promise<void>;
|
|
20163
|
+
|
|
20164
|
+
getMesLinkPlaceholders(): Promise<MesLinkPlaceholdersDto>;
|
|
20163
20165
|
}
|
|
20164
20166
|
|
|
20165
20167
|
export class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient {
|
|
@@ -20365,6 +20367,41 @@ export class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient
|
|
|
20365
20367
|
}
|
|
20366
20368
|
return Promise.resolve<void>(null as any);
|
|
20367
20369
|
}
|
|
20370
|
+
|
|
20371
|
+
getMesLinkPlaceholders(): Promise<MesLinkPlaceholdersDto> {
|
|
20372
|
+
let url_ = this.baseUrl + "/mes/links/placeholders";
|
|
20373
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
20374
|
+
|
|
20375
|
+
let options_: RequestInit = {
|
|
20376
|
+
method: "GET",
|
|
20377
|
+
headers: {
|
|
20378
|
+
"Accept": "application/json"
|
|
20379
|
+
}
|
|
20380
|
+
};
|
|
20381
|
+
|
|
20382
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
20383
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
20384
|
+
}).then((_response: Response) => {
|
|
20385
|
+
return this.processGetMesLinkPlaceholders(_response);
|
|
20386
|
+
});
|
|
20387
|
+
}
|
|
20388
|
+
|
|
20389
|
+
protected processGetMesLinkPlaceholders(response: Response): Promise<MesLinkPlaceholdersDto> {
|
|
20390
|
+
const status = response.status;
|
|
20391
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
20392
|
+
if (status === 200) {
|
|
20393
|
+
return response.text().then((_responseText) => {
|
|
20394
|
+
let result200: any = null;
|
|
20395
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MesLinkPlaceholdersDto;
|
|
20396
|
+
return result200;
|
|
20397
|
+
});
|
|
20398
|
+
} else if (status !== 200 && status !== 204) {
|
|
20399
|
+
return response.text().then((_responseText) => {
|
|
20400
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
20401
|
+
});
|
|
20402
|
+
}
|
|
20403
|
+
return Promise.resolve<MesLinkPlaceholdersDto>(null as any);
|
|
20404
|
+
}
|
|
20368
20405
|
}
|
|
20369
20406
|
|
|
20370
20407
|
export interface IMesOrMoveClient {
|
|
@@ -21754,8 +21791,6 @@ export interface IInspectMatchCertificateChecksClient {
|
|
|
21754
21791
|
|
|
21755
21792
|
getMaterialCertificateCheck(id: string): Promise<ImaMaterialCheckDto>;
|
|
21756
21793
|
|
|
21757
|
-
deleteMaterialCheck(id: string): Promise<void>;
|
|
21758
|
-
|
|
21759
21794
|
processMaterialCertificate(certificatesRequest: ProcessImaCheckRequestDto): Promise<void>;
|
|
21760
21795
|
|
|
21761
21796
|
updateMaterialCertificate(certificatesRequest: ImaUpdateResultRequestDto): Promise<ImaMaterialCheckDto>;
|
|
@@ -21848,41 +21883,6 @@ export class InspectMatchCertificateChecksClient extends AuthorizedApiBase imple
|
|
|
21848
21883
|
return Promise.resolve<ImaMaterialCheckDto>(null as any);
|
|
21849
21884
|
}
|
|
21850
21885
|
|
|
21851
|
-
deleteMaterialCheck(id: string): Promise<void> {
|
|
21852
|
-
let url_ = this.baseUrl + "/inspect/match/material-checks/{id}";
|
|
21853
|
-
if (id === undefined || id === null)
|
|
21854
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
21855
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
21856
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
21857
|
-
|
|
21858
|
-
let options_: RequestInit = {
|
|
21859
|
-
method: "DELETE",
|
|
21860
|
-
headers: {
|
|
21861
|
-
}
|
|
21862
|
-
};
|
|
21863
|
-
|
|
21864
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21865
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
21866
|
-
}).then((_response: Response) => {
|
|
21867
|
-
return this.processDeleteMaterialCheck(_response);
|
|
21868
|
-
});
|
|
21869
|
-
}
|
|
21870
|
-
|
|
21871
|
-
protected processDeleteMaterialCheck(response: Response): Promise<void> {
|
|
21872
|
-
const status = response.status;
|
|
21873
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
21874
|
-
if (status === 204) {
|
|
21875
|
-
return response.text().then((_responseText) => {
|
|
21876
|
-
return;
|
|
21877
|
-
});
|
|
21878
|
-
} else if (status !== 200 && status !== 204) {
|
|
21879
|
-
return response.text().then((_responseText) => {
|
|
21880
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
21881
|
-
});
|
|
21882
|
-
}
|
|
21883
|
-
return Promise.resolve<void>(null as any);
|
|
21884
|
-
}
|
|
21885
|
-
|
|
21886
21886
|
processMaterialCertificate(certificatesRequest: ProcessImaCheckRequestDto): Promise<void> {
|
|
21887
21887
|
let url_ = this.baseUrl + "/inspect/match/material-checks";
|
|
21888
21888
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -21965,9 +21965,9 @@ export interface IInspectMatchCertificateTypesClient {
|
|
|
21965
21965
|
|
|
21966
21966
|
getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
|
|
21967
21967
|
|
|
21968
|
-
|
|
21968
|
+
updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
21969
21969
|
|
|
21970
|
-
|
|
21970
|
+
deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
|
|
21971
21971
|
|
|
21972
21972
|
createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
21973
21973
|
|
|
@@ -22063,7 +22063,7 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
|
|
|
22063
22063
|
return Promise.resolve<ImaCertificateTypeDto>(null as any);
|
|
22064
22064
|
}
|
|
22065
22065
|
|
|
22066
|
-
|
|
22066
|
+
updateMaterialCertificateTypes(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
|
|
22067
22067
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
|
|
22068
22068
|
if (id === undefined || id === null)
|
|
22069
22069
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -22086,11 +22086,11 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
|
|
|
22086
22086
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22087
22087
|
return this.http.fetch(url_, transformedOptions_);
|
|
22088
22088
|
}).then((_response: Response) => {
|
|
22089
|
-
return this.
|
|
22089
|
+
return this.processUpdateMaterialCertificateTypes(_response);
|
|
22090
22090
|
});
|
|
22091
22091
|
}
|
|
22092
22092
|
|
|
22093
|
-
protected
|
|
22093
|
+
protected processUpdateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto> {
|
|
22094
22094
|
const status = response.status;
|
|
22095
22095
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22096
22096
|
if (status === 200) {
|
|
@@ -22107,7 +22107,7 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
|
|
|
22107
22107
|
return Promise.resolve<ImaCertificateTypeDto>(null as any);
|
|
22108
22108
|
}
|
|
22109
22109
|
|
|
22110
|
-
|
|
22110
|
+
deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void> {
|
|
22111
22111
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
|
|
22112
22112
|
if (id === undefined || id === null)
|
|
22113
22113
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -22125,11 +22125,11 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase implem
|
|
|
22125
22125
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22126
22126
|
return this.http.fetch(url_, transformedOptions_);
|
|
22127
22127
|
}).then((_response: Response) => {
|
|
22128
|
-
return this.
|
|
22128
|
+
return this.processDeleteMaterialCertificateTypes(_response);
|
|
22129
22129
|
});
|
|
22130
22130
|
}
|
|
22131
22131
|
|
|
22132
|
-
protected
|
|
22132
|
+
protected processDeleteMaterialCertificateTypes(response: Response): Promise<void> {
|
|
22133
22133
|
const status = response.status;
|
|
22134
22134
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22135
22135
|
if (status === 204) {
|
|
@@ -22314,11 +22314,11 @@ export interface IInspectMatchSpecificationsClient {
|
|
|
22314
22314
|
|
|
22315
22315
|
getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
|
|
22316
22316
|
|
|
22317
|
-
|
|
22317
|
+
updateSpecifications(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
|
|
22318
22318
|
|
|
22319
|
-
|
|
22319
|
+
deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void>;
|
|
22320
22320
|
|
|
22321
|
-
|
|
22321
|
+
createSpecifications(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
22322
22322
|
|
|
22323
22323
|
copySpecification(id: string, version: number | null | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
22324
22324
|
|
|
@@ -22412,7 +22412,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
22412
22412
|
return Promise.resolve<ImaSpecificationDto>(null as any);
|
|
22413
22413
|
}
|
|
22414
22414
|
|
|
22415
|
-
|
|
22415
|
+
updateSpecifications(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto> {
|
|
22416
22416
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
|
|
22417
22417
|
if (id === undefined || id === null)
|
|
22418
22418
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -22435,11 +22435,11 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
22435
22435
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22436
22436
|
return this.http.fetch(url_, transformedOptions_);
|
|
22437
22437
|
}).then((_response: Response) => {
|
|
22438
|
-
return this.
|
|
22438
|
+
return this.processUpdateSpecifications(_response);
|
|
22439
22439
|
});
|
|
22440
22440
|
}
|
|
22441
22441
|
|
|
22442
|
-
protected
|
|
22442
|
+
protected processUpdateSpecifications(response: Response): Promise<ImaSpecificationDto> {
|
|
22443
22443
|
const status = response.status;
|
|
22444
22444
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22445
22445
|
if (status === 200) {
|
|
@@ -22456,7 +22456,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
22456
22456
|
return Promise.resolve<ImaSpecificationDto>(null as any);
|
|
22457
22457
|
}
|
|
22458
22458
|
|
|
22459
|
-
|
|
22459
|
+
deleteMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<void> {
|
|
22460
22460
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
|
|
22461
22461
|
if (id === undefined || id === null)
|
|
22462
22462
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -22474,11 +22474,11 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
22474
22474
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22475
22475
|
return this.http.fetch(url_, transformedOptions_);
|
|
22476
22476
|
}).then((_response: Response) => {
|
|
22477
|
-
return this.
|
|
22477
|
+
return this.processDeleteMaterialCertificateTypes(_response);
|
|
22478
22478
|
});
|
|
22479
22479
|
}
|
|
22480
22480
|
|
|
22481
|
-
protected
|
|
22481
|
+
protected processDeleteMaterialCertificateTypes(response: Response): Promise<void> {
|
|
22482
22482
|
const status = response.status;
|
|
22483
22483
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22484
22484
|
if (status === 204) {
|
|
@@ -22493,7 +22493,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
22493
22493
|
return Promise.resolve<void>(null as any);
|
|
22494
22494
|
}
|
|
22495
22495
|
|
|
22496
|
-
|
|
22496
|
+
createSpecifications(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto> {
|
|
22497
22497
|
let url_ = this.baseUrl + "/inspect/match/specifications";
|
|
22498
22498
|
url_ = url_.replace(/[?&]$/, "");
|
|
22499
22499
|
|
|
@@ -22511,11 +22511,11 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
22511
22511
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22512
22512
|
return this.http.fetch(url_, transformedOptions_);
|
|
22513
22513
|
}).then((_response: Response) => {
|
|
22514
|
-
return this.
|
|
22514
|
+
return this.processCreateSpecifications(_response);
|
|
22515
22515
|
});
|
|
22516
22516
|
}
|
|
22517
22517
|
|
|
22518
|
-
protected
|
|
22518
|
+
protected processCreateSpecifications(response: Response): Promise<ImaSpecificationDto> {
|
|
22519
22519
|
const status = response.status;
|
|
22520
22520
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22521
22521
|
if (status === 200) {
|
|
@@ -32131,6 +32131,10 @@ export interface WorkspaceDto {
|
|
|
32131
32131
|
settings: string;
|
|
32132
32132
|
widgets: WorkspaceWidgetDto[];
|
|
32133
32133
|
widgetSettings: { [key: string]: string; };
|
|
32134
|
+
isSystemManaged?: boolean;
|
|
32135
|
+
systemManagedKind?: string | null;
|
|
32136
|
+
sourceTemplateId?: string | null;
|
|
32137
|
+
sourceMachineId?: string | null;
|
|
32134
32138
|
}
|
|
32135
32139
|
|
|
32136
32140
|
export interface WorkspaceWidgetDto {
|
|
@@ -32669,10 +32673,11 @@ export interface EngineeringChangeOrdersDto {
|
|
|
32669
32673
|
}
|
|
32670
32674
|
|
|
32671
32675
|
export interface AddMesLink {
|
|
32672
|
-
uri?: string
|
|
32673
|
-
name?: string
|
|
32676
|
+
uri?: string;
|
|
32677
|
+
name?: string;
|
|
32674
32678
|
type?: MesLinkTypeDto;
|
|
32675
|
-
|
|
32679
|
+
openInNewTab?: boolean;
|
|
32680
|
+
description?: string | null;
|
|
32676
32681
|
}
|
|
32677
32682
|
|
|
32678
32683
|
export type MesLinkTypeDto = "Static" | "Operation" | "WorkOrder";
|
|
@@ -32682,15 +32687,28 @@ export interface MesLinkDto {
|
|
|
32682
32687
|
uri?: string;
|
|
32683
32688
|
name?: string;
|
|
32684
32689
|
type?: MesLinkTypeDto;
|
|
32685
|
-
|
|
32690
|
+
openInNewTab?: boolean;
|
|
32691
|
+
description?: string | null;
|
|
32686
32692
|
}
|
|
32687
32693
|
|
|
32688
32694
|
export interface UpdateMesLink {
|
|
32689
|
-
id?: string
|
|
32690
|
-
uri?: string
|
|
32691
|
-
name?: string
|
|
32695
|
+
id?: string;
|
|
32696
|
+
uri?: string;
|
|
32697
|
+
name?: string;
|
|
32692
32698
|
type?: MesLinkTypeDto;
|
|
32693
|
-
|
|
32699
|
+
openInNewTab?: boolean;
|
|
32700
|
+
description?: string | null;
|
|
32701
|
+
moveLinkRequest?: MoveLinkRequest | null;
|
|
32702
|
+
}
|
|
32703
|
+
|
|
32704
|
+
export interface MoveLinkRequest {
|
|
32705
|
+
displayBeforeId?: string | null;
|
|
32706
|
+
}
|
|
32707
|
+
|
|
32708
|
+
export interface MesLinkPlaceholdersDto {
|
|
32709
|
+
static: string[];
|
|
32710
|
+
workOrder: string[];
|
|
32711
|
+
operation: string[];
|
|
32694
32712
|
}
|
|
32695
32713
|
|
|
32696
32714
|
export interface GeneratePrintableLabel {
|
|
@@ -33361,7 +33379,6 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
33361
33379
|
createdById: string;
|
|
33362
33380
|
updatedBy?: string | null;
|
|
33363
33381
|
updatedById?: string | null;
|
|
33364
|
-
isDeleted?: boolean;
|
|
33365
33382
|
}
|
|
33366
33383
|
|
|
33367
33384
|
export type ImaMaterialCheckStatus = "WaitingForProcessing" | "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
|
|
@@ -33413,12 +33430,11 @@ export interface ImaMaterialCheckDto {
|
|
|
33413
33430
|
createdById: string;
|
|
33414
33431
|
updatedBy?: string | null;
|
|
33415
33432
|
updatedById?: string | null;
|
|
33416
|
-
isDeleted?: boolean;
|
|
33417
33433
|
certificateTypeResults: ImaCertificateTypeResultsDto;
|
|
33418
33434
|
specificationChemistry: ImaSpecificationChemistryResultsDto;
|
|
33419
33435
|
specificationMechanical: ImaSpecificationMechanicalResultsDto;
|
|
33420
33436
|
specificationFerrite: ImaSpecificationFerriteResultsDto;
|
|
33421
|
-
|
|
33437
|
+
specificationHeat: ImaSpecificationHeatTreatmentResultsDto;
|
|
33422
33438
|
}
|
|
33423
33439
|
|
|
33424
33440
|
export interface ImaCertificateTypeResultsDto {
|
|
@@ -33532,14 +33548,12 @@ export interface ImaSpecificationResultLineDto {
|
|
|
33532
33548
|
specificationOperator?: string | null;
|
|
33533
33549
|
specificationValue1?: number | null;
|
|
33534
33550
|
specificationValue2?: number | null;
|
|
33535
|
-
|
|
33551
|
+
specificationSymbol?: string | null;
|
|
33536
33552
|
readValue?: string | null;
|
|
33537
33553
|
status: ImaSpecificationResultLineStatus;
|
|
33538
33554
|
override?: ImaResultLineOverrideDto | null;
|
|
33539
33555
|
}
|
|
33540
33556
|
|
|
33541
|
-
export type ImaSpecificationUnit = "Percentage" | "Joule" | "Celsius" | "Fahrenheit" | "Mpa" | "Hbw" | "NotSet";
|
|
33542
|
-
|
|
33543
33557
|
export type ImaSpecificationResultLineStatus = "NotFound" | "NotOk" | "Ok" | "NotSet";
|
|
33544
33558
|
|
|
33545
33559
|
export interface ImaSpecificationMechanicalResultsDto {
|
|
@@ -33566,23 +33580,29 @@ export interface ImaSpecificationFerriteResultLineDto {
|
|
|
33566
33580
|
measurementMethod?: string | null;
|
|
33567
33581
|
}
|
|
33568
33582
|
|
|
33569
|
-
export interface
|
|
33570
|
-
|
|
33571
|
-
cooling?: ImaSpecificationHeatCoolingResult | null;
|
|
33572
|
-
heating?: ImaSpecificationHeatHeatingResult | null;
|
|
33583
|
+
export interface ImaSpecificationHeatTreatmentResultsDto {
|
|
33584
|
+
heatTreatments: ImaSpecificationHeatTreatmentsResultLineDto[];
|
|
33573
33585
|
}
|
|
33574
33586
|
|
|
33575
|
-
export interface
|
|
33576
|
-
|
|
33577
|
-
|
|
33578
|
-
|
|
33587
|
+
export interface ImaSpecificationHeatTreatmentsResultLineDto {
|
|
33588
|
+
heatingMethod: ImaHeatingTreatmentMethod;
|
|
33589
|
+
specificationHeatingTreatmentTemperature?: number | null;
|
|
33590
|
+
specificationHeatingHoldingTime?: number | null;
|
|
33591
|
+
heatingTreatmentTemperature?: number | null;
|
|
33592
|
+
heatingHoldingTime?: number | null;
|
|
33593
|
+
specificationCoolingMethods?: ImaCoolingTreatmentMethod[] | null;
|
|
33594
|
+
specificationCoolingTreatmentTemperature?: number | null;
|
|
33595
|
+
specificationCoolingHoldingTime?: number | null;
|
|
33596
|
+
coolingMethod?: ImaCoolingTreatmentMethod | null;
|
|
33597
|
+
coolingTreatmentTemperature?: number | null;
|
|
33598
|
+
coolingHoldingTime?: number | null;
|
|
33599
|
+
status: ImaSpecificationResultLineStatus;
|
|
33600
|
+
override?: ImaResultLineOverrideDto | null;
|
|
33579
33601
|
}
|
|
33580
33602
|
|
|
33581
|
-
export
|
|
33582
|
-
|
|
33583
|
-
|
|
33584
|
-
duration?: ImaSpecificationResultLineDto | null;
|
|
33585
|
-
}
|
|
33603
|
+
export type ImaHeatingTreatmentMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering" | "NotSet";
|
|
33604
|
+
|
|
33605
|
+
export type ImaCoolingTreatmentMethod = "AirCooling" | "OilQuenching" | "WaterQuenching" | "FurnaceCooling" | "AirBlastCooling" | "PolymerQuenching" | "NotSet";
|
|
33586
33606
|
|
|
33587
33607
|
export interface ProcessImaCheckRequestDto {
|
|
33588
33608
|
files: UploadFileDto[];
|
|
@@ -33742,7 +33762,6 @@ export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
|
|
|
33742
33762
|
updatedBy?: string | null;
|
|
33743
33763
|
updatedById?: string | null;
|
|
33744
33764
|
updated: Date;
|
|
33745
|
-
isDeleted: boolean;
|
|
33746
33765
|
}
|
|
33747
33766
|
|
|
33748
33767
|
export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
@@ -33762,7 +33781,6 @@ export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
|
|
|
33762
33781
|
updatedBy?: string | null;
|
|
33763
33782
|
updatedById?: string | null;
|
|
33764
33783
|
updated: Date;
|
|
33765
|
-
isDeleted: boolean;
|
|
33766
33784
|
requirements: ImaCertificateTypeRequirementsDto;
|
|
33767
33785
|
}
|
|
33768
33786
|
|
|
@@ -33956,7 +33974,6 @@ export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
|
|
|
33956
33974
|
createdById: string;
|
|
33957
33975
|
updatedBy: string;
|
|
33958
33976
|
updatedById: string;
|
|
33959
|
-
isDeleted: boolean;
|
|
33960
33977
|
}
|
|
33961
33978
|
|
|
33962
33979
|
export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
@@ -33978,11 +33995,10 @@ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
|
|
|
33978
33995
|
updatedBy: string;
|
|
33979
33996
|
updatedById: string;
|
|
33980
33997
|
updated: Date;
|
|
33981
|
-
isDeleted: boolean;
|
|
33982
33998
|
chemistrySpecification: ImaChemistrySpecificationDto;
|
|
33983
33999
|
mechanicalSpecification: ImaMechanicalSpecificationDto;
|
|
33984
34000
|
ferriteSpecification: ImaFerriteSpecificationDto;
|
|
33985
|
-
|
|
34001
|
+
heatSpecification: ImaHeatTreatmentSpecificationDto;
|
|
33986
34002
|
}
|
|
33987
34003
|
|
|
33988
34004
|
export interface ImaSpecificationVersionDto {
|
|
@@ -34009,11 +34025,13 @@ export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
|
|
|
34009
34025
|
operator: ImaSpecificationOperator;
|
|
34010
34026
|
value1: number;
|
|
34011
34027
|
value2?: number | null;
|
|
34012
|
-
|
|
34028
|
+
symbol: ImaSpecificationSymbol;
|
|
34013
34029
|
}
|
|
34014
34030
|
|
|
34015
34031
|
export type ImaSpecificationOperator = "Equal" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Min" | "Max" | "Between" | "NotSet";
|
|
34016
34032
|
|
|
34033
|
+
export type ImaSpecificationSymbol = "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw" | "NotSet";
|
|
34034
|
+
|
|
34017
34035
|
export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
|
|
34018
34036
|
yieldStrength?: ImaSpecificationLineDto | null;
|
|
34019
34037
|
tensileStrength?: ImaSpecificationLineDto | null;
|
|
@@ -34027,28 +34045,19 @@ export interface ImaFerriteSpecificationDto extends ImaCdfEntityReadBase {
|
|
|
34027
34045
|
ferriteContent?: ImaSpecificationLineDto | null;
|
|
34028
34046
|
}
|
|
34029
34047
|
|
|
34030
|
-
export interface
|
|
34031
|
-
|
|
34032
|
-
cooling?: ImaHeatSpecificationCooling | null;
|
|
34033
|
-
heating?: ImaHeatSpecificationHeating | null;
|
|
34048
|
+
export interface ImaHeatTreatmentSpecificationDto {
|
|
34049
|
+
heatTreatments: ImaHeatTreatmentsSpecificationDto[];
|
|
34034
34050
|
}
|
|
34035
34051
|
|
|
34036
|
-
export interface
|
|
34037
|
-
|
|
34038
|
-
|
|
34039
|
-
|
|
34052
|
+
export interface ImaHeatTreatmentsSpecificationDto {
|
|
34053
|
+
heatingMethod: ImaHeatingTreatmentMethod;
|
|
34054
|
+
heatingTreatmentTemperature?: number | null;
|
|
34055
|
+
heatingHoldingTime?: number | null;
|
|
34056
|
+
coolingMethods?: ImaCoolingTreatmentMethod[] | null;
|
|
34057
|
+
coolingTreatmentTemperature?: number | null;
|
|
34058
|
+
coolingHoldingTime?: number | null;
|
|
34040
34059
|
}
|
|
34041
34060
|
|
|
34042
|
-
export type ImaHeatTreatmentCoolingMethod = "AirCooling" | "OilQuenching" | "WaterQuenching" | "FurnaceCooling" | "AirBlastCooling" | "PolymerQuenching" | "NotSet";
|
|
34043
|
-
|
|
34044
|
-
export interface ImaHeatSpecificationHeating extends ImaCdfEntityReadBase {
|
|
34045
|
-
heatingMethod: ImaHeatTreatmentHeatingMethod;
|
|
34046
|
-
temperature?: ImaSpecificationLineDto | null;
|
|
34047
|
-
duration?: ImaSpecificationLineDto | null;
|
|
34048
|
-
}
|
|
34049
|
-
|
|
34050
|
-
export type ImaHeatTreatmentHeatingMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering" | "NotSet";
|
|
34051
|
-
|
|
34052
34061
|
export interface ImaCreateSpecificationRequestDto {
|
|
34053
34062
|
specificationName: string;
|
|
34054
34063
|
specificationNumber: string;
|
|
@@ -34073,7 +34082,7 @@ export interface ImaUpdateSpecificationDto {
|
|
|
34073
34082
|
chemistrySpecification?: ImaChemistrySpecificationDto | null;
|
|
34074
34083
|
mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
|
|
34075
34084
|
ferriteSpecification?: ImaFerriteSpecificationDto | null;
|
|
34076
|
-
|
|
34085
|
+
heatSpecification?: ImaHeatTreatmentSpecificationDto | null;
|
|
34077
34086
|
}
|
|
34078
34087
|
|
|
34079
34088
|
export type ImaSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";
|