@ignos/api-client 20260319.82.1 → 20260320.84.1-alpha
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 +65 -73
- package/lib/ignosportal-api.js +50 -51
- package/package.json +1 -1
- package/src/ignosportal-api.ts +105 -114
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2327,7 +2327,6 @@ 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>;
|
|
2331
2330
|
}
|
|
2332
2331
|
export declare class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient {
|
|
2333
2332
|
private http;
|
|
@@ -2345,8 +2344,6 @@ export declare class MesLinksClient extends AuthorizedApiBase implements IMesLin
|
|
|
2345
2344
|
protected processUpdateMesLink(response: Response): Promise<FileResponse>;
|
|
2346
2345
|
deleteMesLink(id: string): Promise<void>;
|
|
2347
2346
|
protected processDeleteMesLink(response: Response): Promise<void>;
|
|
2348
|
-
getMesLinkPlaceholders(): Promise<MesLinkPlaceholdersDto>;
|
|
2349
|
-
protected processGetMesLinkPlaceholders(response: Response): Promise<MesLinkPlaceholdersDto>;
|
|
2350
2347
|
}
|
|
2351
2348
|
export interface IMesOrMoveClient {
|
|
2352
2349
|
getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
|
|
@@ -2516,6 +2513,7 @@ export declare class WeldingClient extends AuthorizedApiBase implements IWelding
|
|
|
2516
2513
|
export interface IInspectMatchCertificateChecksClient {
|
|
2517
2514
|
listMaterialCertificateChecks(request: ImaMaterialChecksPageRequestDto): Promise<ImaMaterialChecksPageDto>;
|
|
2518
2515
|
getMaterialCertificateCheck(id: string): Promise<ImaMaterialCheckDto>;
|
|
2516
|
+
deleteMaterialCheck(id: string): Promise<void>;
|
|
2519
2517
|
processMaterialCertificate(certificatesRequest: ProcessImaCheckRequestDto): Promise<void>;
|
|
2520
2518
|
updateMaterialCertificate(certificatesRequest: ImaUpdateResultRequestDto): Promise<ImaMaterialCheckDto>;
|
|
2521
2519
|
}
|
|
@@ -2529,6 +2527,8 @@ export declare class InspectMatchCertificateChecksClient extends AuthorizedApiBa
|
|
|
2529
2527
|
protected processListMaterialCertificateChecks(response: Response): Promise<ImaMaterialChecksPageDto>;
|
|
2530
2528
|
getMaterialCertificateCheck(id: string): Promise<ImaMaterialCheckDto>;
|
|
2531
2529
|
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
|
+
updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2541
|
+
deleteMaterialCertificateType(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
|
+
updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2558
|
+
protected processUpdateMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2559
|
+
deleteMaterialCertificateType(id: string, version: number | null | undefined): Promise<void>;
|
|
2560
|
+
protected processDeleteMaterialCertificateType(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
|
+
updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
|
|
2574
|
+
deleteSpecification(id: string, version: number | null | undefined): Promise<void>;
|
|
2575
|
+
createSpecification(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
|
+
updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
|
|
2591
|
+
protected processUpdateSpecification(response: Response): Promise<ImaSpecificationDto>;
|
|
2592
|
+
deleteSpecification(id: string, version: number | null | undefined): Promise<void>;
|
|
2593
|
+
protected processDeleteSpecification(response: Response): Promise<void>;
|
|
2594
|
+
createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
2595
|
+
protected processCreateSpecification(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,10 +6365,6 @@ 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;
|
|
6372
6368
|
}
|
|
6373
6369
|
export interface WorkspaceWidgetDto {
|
|
6374
6370
|
id: string;
|
|
@@ -6831,11 +6827,10 @@ export interface EngineeringChangeOrdersDto {
|
|
|
6831
6827
|
engineeringChangeOrders?: EngineeringChangeOrderDto[];
|
|
6832
6828
|
}
|
|
6833
6829
|
export interface AddMesLink {
|
|
6834
|
-
uri?: string;
|
|
6835
|
-
name?: string;
|
|
6830
|
+
uri?: string | null;
|
|
6831
|
+
name?: string | null;
|
|
6836
6832
|
type?: MesLinkTypeDto;
|
|
6837
|
-
|
|
6838
|
-
description?: string | null;
|
|
6833
|
+
companyId?: string | null;
|
|
6839
6834
|
}
|
|
6840
6835
|
export type MesLinkTypeDto = "Static" | "Operation" | "WorkOrder";
|
|
6841
6836
|
export interface MesLinkDto {
|
|
@@ -6843,22 +6838,14 @@ export interface MesLinkDto {
|
|
|
6843
6838
|
uri?: string;
|
|
6844
6839
|
name?: string;
|
|
6845
6840
|
type?: MesLinkTypeDto;
|
|
6846
|
-
|
|
6847
|
-
description?: string | null;
|
|
6841
|
+
companyId?: string;
|
|
6848
6842
|
}
|
|
6849
6843
|
export interface UpdateMesLink {
|
|
6850
|
-
id?: string;
|
|
6851
|
-
uri?: string;
|
|
6852
|
-
name?: string;
|
|
6844
|
+
id?: string | null;
|
|
6845
|
+
uri?: string | null;
|
|
6846
|
+
name?: string | null;
|
|
6853
6847
|
type?: MesLinkTypeDto;
|
|
6854
|
-
|
|
6855
|
-
description?: string | null;
|
|
6856
|
-
displayBeforeId?: string | null;
|
|
6857
|
-
}
|
|
6858
|
-
export interface MesLinkPlaceholdersDto {
|
|
6859
|
-
static: string[];
|
|
6860
|
-
workOrder: string[];
|
|
6861
|
-
operation: string[];
|
|
6848
|
+
companyId?: string | null;
|
|
6862
6849
|
}
|
|
6863
6850
|
export interface GeneratePrintableLabel {
|
|
6864
6851
|
labelIds: LabelId[];
|
|
@@ -7463,6 +7450,7 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
7463
7450
|
createdById: string;
|
|
7464
7451
|
updatedBy?: string | null;
|
|
7465
7452
|
updatedById?: string | null;
|
|
7453
|
+
isDeleted?: boolean;
|
|
7466
7454
|
}
|
|
7467
7455
|
export type ImaMaterialCheckStatus = "WaitingForProcessing" | "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
|
|
7468
7456
|
export interface ImaMaterialChecksPageRequestDto {
|
|
@@ -7510,11 +7498,12 @@ export interface ImaMaterialCheckDto {
|
|
|
7510
7498
|
createdById: string;
|
|
7511
7499
|
updatedBy?: string | null;
|
|
7512
7500
|
updatedById?: string | null;
|
|
7501
|
+
isDeleted?: boolean;
|
|
7513
7502
|
certificateTypeResults: ImaCertificateTypeResultsDto;
|
|
7514
7503
|
specificationChemistry: ImaSpecificationChemistryResultsDto;
|
|
7515
7504
|
specificationMechanical: ImaSpecificationMechanicalResultsDto;
|
|
7516
7505
|
specificationFerrite: ImaSpecificationFerriteResultsDto;
|
|
7517
|
-
|
|
7506
|
+
specificationHeats: ImaSpecificationHeatResultDto[];
|
|
7518
7507
|
}
|
|
7519
7508
|
export interface ImaCertificateTypeResultsDto {
|
|
7520
7509
|
manufacturer: ImaCertificateTypeManufacturerResultsDto;
|
|
@@ -7615,11 +7604,12 @@ export interface ImaSpecificationResultLineDto {
|
|
|
7615
7604
|
specificationOperator?: string | null;
|
|
7616
7605
|
specificationValue1?: number | null;
|
|
7617
7606
|
specificationValue2?: number | null;
|
|
7618
|
-
|
|
7607
|
+
specificationUnit?: ImaSpecificationUnit | null;
|
|
7619
7608
|
readValue?: string | null;
|
|
7620
7609
|
status: ImaSpecificationResultLineStatus;
|
|
7621
7610
|
override?: ImaResultLineOverrideDto | null;
|
|
7622
7611
|
}
|
|
7612
|
+
export type ImaSpecificationUnit = "Percentage" | "Joule" | "Celsius" | "Fahrenheit" | "Mpa" | "Hbw" | "NotSet";
|
|
7623
7613
|
export type ImaSpecificationResultLineStatus = "NotFound" | "NotOk" | "Ok" | "NotSet";
|
|
7624
7614
|
export interface ImaSpecificationMechanicalResultsDto {
|
|
7625
7615
|
yieldStrength?: ImaSpecificationResultLineDto | null;
|
|
@@ -7642,26 +7632,21 @@ export interface ImaSpecificationFerriteResultLineDto {
|
|
|
7642
7632
|
override?: ImaResultLineOverrideDto | null;
|
|
7643
7633
|
measurementMethod?: string | null;
|
|
7644
7634
|
}
|
|
7645
|
-
export interface
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7649
|
-
|
|
7650
|
-
|
|
7651
|
-
|
|
7652
|
-
|
|
7653
|
-
|
|
7654
|
-
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
coolingHoldingTime?: number | null;
|
|
7660
|
-
status: ImaSpecificationResultLineStatus;
|
|
7661
|
-
override?: ImaResultLineOverrideDto | null;
|
|
7635
|
+
export interface ImaSpecificationHeatResultDto {
|
|
7636
|
+
step: number;
|
|
7637
|
+
cooling?: ImaSpecificationHeatCoolingResult | null;
|
|
7638
|
+
heating?: ImaSpecificationHeatHeatingResult | null;
|
|
7639
|
+
}
|
|
7640
|
+
export interface ImaSpecificationHeatCoolingResult {
|
|
7641
|
+
coolingMethods?: string[] | null;
|
|
7642
|
+
temperature?: ImaSpecificationResultLineDto | null;
|
|
7643
|
+
duration?: ImaSpecificationResultLineDto | null;
|
|
7644
|
+
}
|
|
7645
|
+
export interface ImaSpecificationHeatHeatingResult {
|
|
7646
|
+
heatingMethod?: string | null;
|
|
7647
|
+
temperature?: ImaSpecificationResultLineDto | null;
|
|
7648
|
+
duration?: ImaSpecificationResultLineDto | null;
|
|
7662
7649
|
}
|
|
7663
|
-
export type ImaHeatingTreatmentMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering" | "NotSet";
|
|
7664
|
-
export type ImaCoolingTreatmentMethod = "AirCooling" | "OilQuenching" | "WaterQuenching" | "FurnaceCooling" | "AirBlastCooling" | "PolymerQuenching" | "NotSet";
|
|
7665
7650
|
export interface ProcessImaCheckRequestDto {
|
|
7666
7651
|
files: UploadFileDto[];
|
|
7667
7652
|
specificationId: string;
|
|
@@ -7802,6 +7787,7 @@ export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
|
|
|
7802
7787
|
updatedBy?: string | null;
|
|
7803
7788
|
updatedById?: string | null;
|
|
7804
7789
|
updated: Date;
|
|
7790
|
+
isDeleted: boolean;
|
|
7805
7791
|
}
|
|
7806
7792
|
export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
7807
7793
|
export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
|
|
@@ -7819,6 +7805,7 @@ export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
|
|
|
7819
7805
|
updatedBy?: string | null;
|
|
7820
7806
|
updatedById?: string | null;
|
|
7821
7807
|
updated: Date;
|
|
7808
|
+
isDeleted: boolean;
|
|
7822
7809
|
requirements: ImaCertificateTypeRequirementsDto;
|
|
7823
7810
|
}
|
|
7824
7811
|
export interface ImaCertificateTypeVersionDto {
|
|
@@ -7990,6 +7977,7 @@ export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
|
|
|
7990
7977
|
createdById: string;
|
|
7991
7978
|
updatedBy: string;
|
|
7992
7979
|
updatedById: string;
|
|
7980
|
+
isDeleted: boolean;
|
|
7993
7981
|
}
|
|
7994
7982
|
export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
7995
7983
|
export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
|
|
@@ -8009,10 +7997,11 @@ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
|
|
|
8009
7997
|
updatedBy: string;
|
|
8010
7998
|
updatedById: string;
|
|
8011
7999
|
updated: Date;
|
|
8000
|
+
isDeleted: boolean;
|
|
8012
8001
|
chemistrySpecification: ImaChemistrySpecificationDto;
|
|
8013
8002
|
mechanicalSpecification: ImaMechanicalSpecificationDto;
|
|
8014
8003
|
ferriteSpecification: ImaFerriteSpecificationDto;
|
|
8015
|
-
|
|
8004
|
+
heatSpecifications: ImaHeatSpecificationDto[];
|
|
8016
8005
|
}
|
|
8017
8006
|
export interface ImaSpecificationVersionDto {
|
|
8018
8007
|
version?: number;
|
|
@@ -8036,10 +8025,9 @@ export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
|
|
|
8036
8025
|
operator: ImaSpecificationOperator;
|
|
8037
8026
|
value1: number;
|
|
8038
8027
|
value2?: number | null;
|
|
8039
|
-
|
|
8028
|
+
unit: ImaSpecificationUnit;
|
|
8040
8029
|
}
|
|
8041
8030
|
export type ImaSpecificationOperator = "Equal" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Min" | "Max" | "Between" | "NotSet";
|
|
8042
|
-
export type ImaSpecificationSymbol = "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw" | "NotSet";
|
|
8043
8031
|
export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
|
|
8044
8032
|
yieldStrength?: ImaSpecificationLineDto | null;
|
|
8045
8033
|
tensileStrength?: ImaSpecificationLineDto | null;
|
|
@@ -8051,16 +8039,20 @@ export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
|
|
|
8051
8039
|
export interface ImaFerriteSpecificationDto extends ImaCdfEntityReadBase {
|
|
8052
8040
|
ferriteContent?: ImaSpecificationLineDto | null;
|
|
8053
8041
|
}
|
|
8054
|
-
export interface
|
|
8055
|
-
|
|
8042
|
+
export interface ImaHeatSpecificationDto extends ImaCdfEntityReadBase {
|
|
8043
|
+
step: number;
|
|
8044
|
+
cooling?: ImaHeatSpecificationCooling | null;
|
|
8045
|
+
heating?: ImaHeatSpecificationHeating | null;
|
|
8046
|
+
}
|
|
8047
|
+
export interface ImaHeatSpecificationCooling extends ImaCdfEntityReadBase {
|
|
8048
|
+
coolingMethods: string[];
|
|
8049
|
+
temperature?: ImaSpecificationLineDto | null;
|
|
8050
|
+
duration?: ImaSpecificationLineDto | null;
|
|
8056
8051
|
}
|
|
8057
|
-
export interface
|
|
8058
|
-
heatingMethod:
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
coolingMethods?: ImaCoolingTreatmentMethod[] | null;
|
|
8062
|
-
coolingTreatmentTemperature?: number | null;
|
|
8063
|
-
coolingHoldingTime?: number | null;
|
|
8052
|
+
export interface ImaHeatSpecificationHeating extends ImaCdfEntityReadBase {
|
|
8053
|
+
heatingMethod: string;
|
|
8054
|
+
temperature?: ImaSpecificationLineDto | null;
|
|
8055
|
+
duration?: ImaSpecificationLineDto | null;
|
|
8064
8056
|
}
|
|
8065
8057
|
export interface ImaCreateSpecificationRequestDto {
|
|
8066
8058
|
specificationName: string;
|
|
@@ -8084,7 +8076,7 @@ export interface ImaUpdateSpecificationDto {
|
|
|
8084
8076
|
chemistrySpecification?: ImaChemistrySpecificationDto | null;
|
|
8085
8077
|
mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
|
|
8086
8078
|
ferriteSpecification?: ImaFerriteSpecificationDto | null;
|
|
8087
|
-
|
|
8079
|
+
heatSpecifications?: ImaHeatSpecificationDto[] | null;
|
|
8088
8080
|
}
|
|
8089
8081
|
export type ImaSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";
|
|
8090
8082
|
export interface MeasurementFormSchemaDto {
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -19028,42 +19028,6 @@ 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
|
-
}
|
|
19067
19031
|
}
|
|
19068
19032
|
export class MesOrMoveClient extends AuthorizedApiBase {
|
|
19069
19033
|
constructor(configuration, baseUrl, http) {
|
|
@@ -20431,6 +20395,41 @@ export class InspectMatchCertificateChecksClient extends AuthorizedApiBase {
|
|
|
20431
20395
|
}
|
|
20432
20396
|
return Promise.resolve(null);
|
|
20433
20397
|
}
|
|
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
|
+
}
|
|
20434
20433
|
processMaterialCertificate(certificatesRequest) {
|
|
20435
20434
|
let url_ = this.baseUrl + "/inspect/match/material-checks";
|
|
20436
20435
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -20590,7 +20589,7 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase {
|
|
|
20590
20589
|
}
|
|
20591
20590
|
return Promise.resolve(null);
|
|
20592
20591
|
}
|
|
20593
|
-
|
|
20592
|
+
updateMaterialCertificateType(id, version, payload) {
|
|
20594
20593
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
|
|
20595
20594
|
if (id === undefined || id === null)
|
|
20596
20595
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -20610,10 +20609,10 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase {
|
|
|
20610
20609
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
20611
20610
|
return this.http.fetch(url_, transformedOptions_);
|
|
20612
20611
|
}).then((_response) => {
|
|
20613
|
-
return this.
|
|
20612
|
+
return this.processUpdateMaterialCertificateType(_response);
|
|
20614
20613
|
});
|
|
20615
20614
|
}
|
|
20616
|
-
|
|
20615
|
+
processUpdateMaterialCertificateType(response) {
|
|
20617
20616
|
const status = response.status;
|
|
20618
20617
|
let _headers = {};
|
|
20619
20618
|
if (response.headers && response.headers.forEach) {
|
|
@@ -20634,7 +20633,7 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase {
|
|
|
20634
20633
|
}
|
|
20635
20634
|
return Promise.resolve(null);
|
|
20636
20635
|
}
|
|
20637
|
-
|
|
20636
|
+
deleteMaterialCertificateType(id, version) {
|
|
20638
20637
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
|
|
20639
20638
|
if (id === undefined || id === null)
|
|
20640
20639
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -20649,10 +20648,10 @@ export class InspectMatchCertificateTypesClient extends AuthorizedApiBase {
|
|
|
20649
20648
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
20650
20649
|
return this.http.fetch(url_, transformedOptions_);
|
|
20651
20650
|
}).then((_response) => {
|
|
20652
|
-
return this.
|
|
20651
|
+
return this.processDeleteMaterialCertificateType(_response);
|
|
20653
20652
|
});
|
|
20654
20653
|
}
|
|
20655
|
-
|
|
20654
|
+
processDeleteMaterialCertificateType(response) {
|
|
20656
20655
|
const status = response.status;
|
|
20657
20656
|
let _headers = {};
|
|
20658
20657
|
if (response.headers && response.headers.forEach) {
|
|
@@ -20920,7 +20919,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
|
|
|
20920
20919
|
}
|
|
20921
20920
|
return Promise.resolve(null);
|
|
20922
20921
|
}
|
|
20923
|
-
|
|
20922
|
+
updateSpecification(id, version, dto) {
|
|
20924
20923
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
|
|
20925
20924
|
if (id === undefined || id === null)
|
|
20926
20925
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -20940,10 +20939,10 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
|
|
|
20940
20939
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
20941
20940
|
return this.http.fetch(url_, transformedOptions_);
|
|
20942
20941
|
}).then((_response) => {
|
|
20943
|
-
return this.
|
|
20942
|
+
return this.processUpdateSpecification(_response);
|
|
20944
20943
|
});
|
|
20945
20944
|
}
|
|
20946
|
-
|
|
20945
|
+
processUpdateSpecification(response) {
|
|
20947
20946
|
const status = response.status;
|
|
20948
20947
|
let _headers = {};
|
|
20949
20948
|
if (response.headers && response.headers.forEach) {
|
|
@@ -20964,7 +20963,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
|
|
|
20964
20963
|
}
|
|
20965
20964
|
return Promise.resolve(null);
|
|
20966
20965
|
}
|
|
20967
|
-
|
|
20966
|
+
deleteSpecification(id, version) {
|
|
20968
20967
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
|
|
20969
20968
|
if (id === undefined || id === null)
|
|
20970
20969
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -20979,10 +20978,10 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
|
|
|
20979
20978
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
20980
20979
|
return this.http.fetch(url_, transformedOptions_);
|
|
20981
20980
|
}).then((_response) => {
|
|
20982
|
-
return this.
|
|
20981
|
+
return this.processDeleteSpecification(_response);
|
|
20983
20982
|
});
|
|
20984
20983
|
}
|
|
20985
|
-
|
|
20984
|
+
processDeleteSpecification(response) {
|
|
20986
20985
|
const status = response.status;
|
|
20987
20986
|
let _headers = {};
|
|
20988
20987
|
if (response.headers && response.headers.forEach) {
|
|
@@ -21001,7 +21000,7 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
|
|
|
21001
21000
|
}
|
|
21002
21001
|
return Promise.resolve(null);
|
|
21003
21002
|
}
|
|
21004
|
-
|
|
21003
|
+
createSpecification(createRequestDto) {
|
|
21005
21004
|
let url_ = this.baseUrl + "/inspect/match/specifications";
|
|
21006
21005
|
url_ = url_.replace(/[?&]$/, "");
|
|
21007
21006
|
const content_ = JSON.stringify(createRequestDto);
|
|
@@ -21016,10 +21015,10 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
|
|
|
21016
21015
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21017
21016
|
return this.http.fetch(url_, transformedOptions_);
|
|
21018
21017
|
}).then((_response) => {
|
|
21019
|
-
return this.
|
|
21018
|
+
return this.processCreateSpecification(_response);
|
|
21020
21019
|
});
|
|
21021
21020
|
}
|
|
21022
|
-
|
|
21021
|
+
processCreateSpecification(response) {
|
|
21023
21022
|
const status = response.status;
|
|
21024
21023
|
let _headers = {};
|
|
21025
21024
|
if (response.headers && response.headers.forEach) {
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -20160,8 +20160,6 @@ 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>;
|
|
20165
20163
|
}
|
|
20166
20164
|
|
|
20167
20165
|
export class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient {
|
|
@@ -20367,41 +20365,6 @@ export class MesLinksClient extends AuthorizedApiBase implements IMesLinksClient
|
|
|
20367
20365
|
}
|
|
20368
20366
|
return Promise.resolve<void>(null as any);
|
|
20369
20367
|
}
|
|
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
|
-
}
|
|
20405
20368
|
}
|
|
20406
20369
|
|
|
20407
20370
|
export interface IMesOrMoveClient {
|
|
@@ -21791,6 +21754,8 @@ export interface IInspectMatchCertificateChecksClient {
|
|
|
21791
21754
|
|
|
21792
21755
|
getMaterialCertificateCheck(id: string): Promise<ImaMaterialCheckDto>;
|
|
21793
21756
|
|
|
21757
|
+
deleteMaterialCheck(id: string): Promise<void>;
|
|
21758
|
+
|
|
21794
21759
|
processMaterialCertificate(certificatesRequest: ProcessImaCheckRequestDto): Promise<void>;
|
|
21795
21760
|
|
|
21796
21761
|
updateMaterialCertificate(certificatesRequest: ImaUpdateResultRequestDto): Promise<ImaMaterialCheckDto>;
|
|
@@ -21883,6 +21848,41 @@ export class InspectMatchCertificateChecksClient extends AuthorizedApiBase imple
|
|
|
21883
21848
|
return Promise.resolve<ImaMaterialCheckDto>(null as any);
|
|
21884
21849
|
}
|
|
21885
21850
|
|
|
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
|
+
updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
21969
21969
|
|
|
21970
|
-
|
|
21970
|
+
deleteMaterialCertificateType(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
|
+
updateMaterialCertificateType(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.processUpdateMaterialCertificateType(_response);
|
|
22090
22090
|
});
|
|
22091
22091
|
}
|
|
22092
22092
|
|
|
22093
|
-
protected
|
|
22093
|
+
protected processUpdateMaterialCertificateType(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
|
+
deleteMaterialCertificateType(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.processDeleteMaterialCertificateType(_response);
|
|
22129
22129
|
});
|
|
22130
22130
|
}
|
|
22131
22131
|
|
|
22132
|
-
protected
|
|
22132
|
+
protected processDeleteMaterialCertificateType(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
|
+
updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
|
|
22318
22318
|
|
|
22319
|
-
|
|
22319
|
+
deleteSpecification(id: string, version: number | null | undefined): Promise<void>;
|
|
22320
22320
|
|
|
22321
|
-
|
|
22321
|
+
createSpecification(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
|
+
updateSpecification(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.processUpdateSpecification(_response);
|
|
22439
22439
|
});
|
|
22440
22440
|
}
|
|
22441
22441
|
|
|
22442
|
-
protected
|
|
22442
|
+
protected processUpdateSpecification(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
|
+
deleteSpecification(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.processDeleteSpecification(_response);
|
|
22478
22478
|
});
|
|
22479
22479
|
}
|
|
22480
22480
|
|
|
22481
|
-
protected
|
|
22481
|
+
protected processDeleteSpecification(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
|
+
createSpecification(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.processCreateSpecification(_response);
|
|
22515
22515
|
});
|
|
22516
22516
|
}
|
|
22517
22517
|
|
|
22518
|
-
protected
|
|
22518
|
+
protected processCreateSpecification(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,10 +32131,6 @@ 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;
|
|
32138
32134
|
}
|
|
32139
32135
|
|
|
32140
32136
|
export interface WorkspaceWidgetDto {
|
|
@@ -32673,11 +32669,10 @@ export interface EngineeringChangeOrdersDto {
|
|
|
32673
32669
|
}
|
|
32674
32670
|
|
|
32675
32671
|
export interface AddMesLink {
|
|
32676
|
-
uri?: string;
|
|
32677
|
-
name?: string;
|
|
32672
|
+
uri?: string | null;
|
|
32673
|
+
name?: string | null;
|
|
32678
32674
|
type?: MesLinkTypeDto;
|
|
32679
|
-
|
|
32680
|
-
description?: string | null;
|
|
32675
|
+
companyId?: string | null;
|
|
32681
32676
|
}
|
|
32682
32677
|
|
|
32683
32678
|
export type MesLinkTypeDto = "Static" | "Operation" | "WorkOrder";
|
|
@@ -32687,24 +32682,15 @@ export interface MesLinkDto {
|
|
|
32687
32682
|
uri?: string;
|
|
32688
32683
|
name?: string;
|
|
32689
32684
|
type?: MesLinkTypeDto;
|
|
32690
|
-
|
|
32691
|
-
description?: string | null;
|
|
32685
|
+
companyId?: string;
|
|
32692
32686
|
}
|
|
32693
32687
|
|
|
32694
32688
|
export interface UpdateMesLink {
|
|
32695
|
-
id?: string;
|
|
32696
|
-
uri?: string;
|
|
32697
|
-
name?: string;
|
|
32689
|
+
id?: string | null;
|
|
32690
|
+
uri?: string | null;
|
|
32691
|
+
name?: string | null;
|
|
32698
32692
|
type?: MesLinkTypeDto;
|
|
32699
|
-
|
|
32700
|
-
description?: string | null;
|
|
32701
|
-
displayBeforeId?: string | null;
|
|
32702
|
-
}
|
|
32703
|
-
|
|
32704
|
-
export interface MesLinkPlaceholdersDto {
|
|
32705
|
-
static: string[];
|
|
32706
|
-
workOrder: string[];
|
|
32707
|
-
operation: string[];
|
|
32693
|
+
companyId?: string | null;
|
|
32708
32694
|
}
|
|
32709
32695
|
|
|
32710
32696
|
export interface GeneratePrintableLabel {
|
|
@@ -33375,6 +33361,7 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
33375
33361
|
createdById: string;
|
|
33376
33362
|
updatedBy?: string | null;
|
|
33377
33363
|
updatedById?: string | null;
|
|
33364
|
+
isDeleted?: boolean;
|
|
33378
33365
|
}
|
|
33379
33366
|
|
|
33380
33367
|
export type ImaMaterialCheckStatus = "WaitingForProcessing" | "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
|
|
@@ -33426,11 +33413,12 @@ export interface ImaMaterialCheckDto {
|
|
|
33426
33413
|
createdById: string;
|
|
33427
33414
|
updatedBy?: string | null;
|
|
33428
33415
|
updatedById?: string | null;
|
|
33416
|
+
isDeleted?: boolean;
|
|
33429
33417
|
certificateTypeResults: ImaCertificateTypeResultsDto;
|
|
33430
33418
|
specificationChemistry: ImaSpecificationChemistryResultsDto;
|
|
33431
33419
|
specificationMechanical: ImaSpecificationMechanicalResultsDto;
|
|
33432
33420
|
specificationFerrite: ImaSpecificationFerriteResultsDto;
|
|
33433
|
-
|
|
33421
|
+
specificationHeats: ImaSpecificationHeatResultDto[];
|
|
33434
33422
|
}
|
|
33435
33423
|
|
|
33436
33424
|
export interface ImaCertificateTypeResultsDto {
|
|
@@ -33544,12 +33532,14 @@ export interface ImaSpecificationResultLineDto {
|
|
|
33544
33532
|
specificationOperator?: string | null;
|
|
33545
33533
|
specificationValue1?: number | null;
|
|
33546
33534
|
specificationValue2?: number | null;
|
|
33547
|
-
|
|
33535
|
+
specificationUnit?: ImaSpecificationUnit | null;
|
|
33548
33536
|
readValue?: string | null;
|
|
33549
33537
|
status: ImaSpecificationResultLineStatus;
|
|
33550
33538
|
override?: ImaResultLineOverrideDto | null;
|
|
33551
33539
|
}
|
|
33552
33540
|
|
|
33541
|
+
export type ImaSpecificationUnit = "Percentage" | "Joule" | "Celsius" | "Fahrenheit" | "Mpa" | "Hbw" | "NotSet";
|
|
33542
|
+
|
|
33553
33543
|
export type ImaSpecificationResultLineStatus = "NotFound" | "NotOk" | "Ok" | "NotSet";
|
|
33554
33544
|
|
|
33555
33545
|
export interface ImaSpecificationMechanicalResultsDto {
|
|
@@ -33576,29 +33566,23 @@ export interface ImaSpecificationFerriteResultLineDto {
|
|
|
33576
33566
|
measurementMethod?: string | null;
|
|
33577
33567
|
}
|
|
33578
33568
|
|
|
33579
|
-
export interface
|
|
33580
|
-
|
|
33569
|
+
export interface ImaSpecificationHeatResultDto {
|
|
33570
|
+
step: number;
|
|
33571
|
+
cooling?: ImaSpecificationHeatCoolingResult | null;
|
|
33572
|
+
heating?: ImaSpecificationHeatHeatingResult | null;
|
|
33581
33573
|
}
|
|
33582
33574
|
|
|
33583
|
-
export interface
|
|
33584
|
-
|
|
33585
|
-
|
|
33586
|
-
|
|
33587
|
-
heatingTreatmentTemperature?: number | null;
|
|
33588
|
-
heatingHoldingTime?: number | null;
|
|
33589
|
-
specificationCoolingMethods?: ImaCoolingTreatmentMethod[] | null;
|
|
33590
|
-
specificationCoolingTreatmentTemperature?: number | null;
|
|
33591
|
-
specificationCoolingHoldingTime?: number | null;
|
|
33592
|
-
coolingMethod?: ImaCoolingTreatmentMethod | null;
|
|
33593
|
-
coolingTreatmentTemperature?: number | null;
|
|
33594
|
-
coolingHoldingTime?: number | null;
|
|
33595
|
-
status: ImaSpecificationResultLineStatus;
|
|
33596
|
-
override?: ImaResultLineOverrideDto | null;
|
|
33575
|
+
export interface ImaSpecificationHeatCoolingResult {
|
|
33576
|
+
coolingMethods?: string[] | null;
|
|
33577
|
+
temperature?: ImaSpecificationResultLineDto | null;
|
|
33578
|
+
duration?: ImaSpecificationResultLineDto | null;
|
|
33597
33579
|
}
|
|
33598
33580
|
|
|
33599
|
-
export
|
|
33600
|
-
|
|
33601
|
-
|
|
33581
|
+
export interface ImaSpecificationHeatHeatingResult {
|
|
33582
|
+
heatingMethod?: string | null;
|
|
33583
|
+
temperature?: ImaSpecificationResultLineDto | null;
|
|
33584
|
+
duration?: ImaSpecificationResultLineDto | null;
|
|
33585
|
+
}
|
|
33602
33586
|
|
|
33603
33587
|
export interface ProcessImaCheckRequestDto {
|
|
33604
33588
|
files: UploadFileDto[];
|
|
@@ -33758,6 +33742,7 @@ export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
|
|
|
33758
33742
|
updatedBy?: string | null;
|
|
33759
33743
|
updatedById?: string | null;
|
|
33760
33744
|
updated: Date;
|
|
33745
|
+
isDeleted: boolean;
|
|
33761
33746
|
}
|
|
33762
33747
|
|
|
33763
33748
|
export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
@@ -33777,6 +33762,7 @@ export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
|
|
|
33777
33762
|
updatedBy?: string | null;
|
|
33778
33763
|
updatedById?: string | null;
|
|
33779
33764
|
updated: Date;
|
|
33765
|
+
isDeleted: boolean;
|
|
33780
33766
|
requirements: ImaCertificateTypeRequirementsDto;
|
|
33781
33767
|
}
|
|
33782
33768
|
|
|
@@ -33970,6 +33956,7 @@ export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
|
|
|
33970
33956
|
createdById: string;
|
|
33971
33957
|
updatedBy: string;
|
|
33972
33958
|
updatedById: string;
|
|
33959
|
+
isDeleted: boolean;
|
|
33973
33960
|
}
|
|
33974
33961
|
|
|
33975
33962
|
export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
@@ -33991,10 +33978,11 @@ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
|
|
|
33991
33978
|
updatedBy: string;
|
|
33992
33979
|
updatedById: string;
|
|
33993
33980
|
updated: Date;
|
|
33981
|
+
isDeleted: boolean;
|
|
33994
33982
|
chemistrySpecification: ImaChemistrySpecificationDto;
|
|
33995
33983
|
mechanicalSpecification: ImaMechanicalSpecificationDto;
|
|
33996
33984
|
ferriteSpecification: ImaFerriteSpecificationDto;
|
|
33997
|
-
|
|
33985
|
+
heatSpecifications: ImaHeatSpecificationDto[];
|
|
33998
33986
|
}
|
|
33999
33987
|
|
|
34000
33988
|
export interface ImaSpecificationVersionDto {
|
|
@@ -34021,13 +34009,11 @@ export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
|
|
|
34021
34009
|
operator: ImaSpecificationOperator;
|
|
34022
34010
|
value1: number;
|
|
34023
34011
|
value2?: number | null;
|
|
34024
|
-
|
|
34012
|
+
unit: ImaSpecificationUnit;
|
|
34025
34013
|
}
|
|
34026
34014
|
|
|
34027
34015
|
export type ImaSpecificationOperator = "Equal" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Min" | "Max" | "Between" | "NotSet";
|
|
34028
34016
|
|
|
34029
|
-
export type ImaSpecificationSymbol = "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw" | "NotSet";
|
|
34030
|
-
|
|
34031
34017
|
export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
|
|
34032
34018
|
yieldStrength?: ImaSpecificationLineDto | null;
|
|
34033
34019
|
tensileStrength?: ImaSpecificationLineDto | null;
|
|
@@ -34041,17 +34027,22 @@ export interface ImaFerriteSpecificationDto extends ImaCdfEntityReadBase {
|
|
|
34041
34027
|
ferriteContent?: ImaSpecificationLineDto | null;
|
|
34042
34028
|
}
|
|
34043
34029
|
|
|
34044
|
-
export interface
|
|
34045
|
-
|
|
34030
|
+
export interface ImaHeatSpecificationDto extends ImaCdfEntityReadBase {
|
|
34031
|
+
step: number;
|
|
34032
|
+
cooling?: ImaHeatSpecificationCooling | null;
|
|
34033
|
+
heating?: ImaHeatSpecificationHeating | null;
|
|
34034
|
+
}
|
|
34035
|
+
|
|
34036
|
+
export interface ImaHeatSpecificationCooling extends ImaCdfEntityReadBase {
|
|
34037
|
+
coolingMethods: string[];
|
|
34038
|
+
temperature?: ImaSpecificationLineDto | null;
|
|
34039
|
+
duration?: ImaSpecificationLineDto | null;
|
|
34046
34040
|
}
|
|
34047
34041
|
|
|
34048
|
-
export interface
|
|
34049
|
-
heatingMethod:
|
|
34050
|
-
|
|
34051
|
-
|
|
34052
|
-
coolingMethods?: ImaCoolingTreatmentMethod[] | null;
|
|
34053
|
-
coolingTreatmentTemperature?: number | null;
|
|
34054
|
-
coolingHoldingTime?: number | null;
|
|
34042
|
+
export interface ImaHeatSpecificationHeating extends ImaCdfEntityReadBase {
|
|
34043
|
+
heatingMethod: string;
|
|
34044
|
+
temperature?: ImaSpecificationLineDto | null;
|
|
34045
|
+
duration?: ImaSpecificationLineDto | null;
|
|
34055
34046
|
}
|
|
34056
34047
|
|
|
34057
34048
|
export interface ImaCreateSpecificationRequestDto {
|
|
@@ -34078,7 +34069,7 @@ export interface ImaUpdateSpecificationDto {
|
|
|
34078
34069
|
chemistrySpecification?: ImaChemistrySpecificationDto | null;
|
|
34079
34070
|
mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
|
|
34080
34071
|
ferriteSpecification?: ImaFerriteSpecificationDto | null;
|
|
34081
|
-
|
|
34072
|
+
heatSpecifications?: ImaHeatSpecificationDto[] | null;
|
|
34082
34073
|
}
|
|
34083
34074
|
|
|
34084
34075
|
export type ImaSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";
|