@ignos/api-client 20260407.102.1 → 20260410.103.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 +95 -64
- package/lib/ignosportal-api.js +178 -125
- package/package.json +1 -1
- package/src/ignosportal-api.ts +275 -193
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -419,6 +419,7 @@ export declare class UserAppSettingsClient extends AuthorizedApiBase implements
|
|
|
419
419
|
}
|
|
420
420
|
export interface IUploadClient {
|
|
421
421
|
createUploadInfo(): Promise<UploadInfoDto>;
|
|
422
|
+
createUploadInfoCdf(request: CreateUploadInfoCdf): Promise<UploadInfoCdfDto>;
|
|
422
423
|
}
|
|
423
424
|
export declare class UploadClient extends AuthorizedApiBase implements IUploadClient {
|
|
424
425
|
private http;
|
|
@@ -428,6 +429,8 @@ export declare class UploadClient extends AuthorizedApiBase implements IUploadCl
|
|
|
428
429
|
});
|
|
429
430
|
createUploadInfo(): Promise<UploadInfoDto>;
|
|
430
431
|
protected processCreateUploadInfo(response: Response): Promise<UploadInfoDto>;
|
|
432
|
+
createUploadInfoCdf(request: CreateUploadInfoCdf): Promise<UploadInfoCdfDto>;
|
|
433
|
+
protected processCreateUploadInfoCdf(response: Response): Promise<UploadInfoCdfDto>;
|
|
431
434
|
}
|
|
432
435
|
export interface ISystemHealthDashboardClient {
|
|
433
436
|
getMachineDataHealth(assetId: number | null | undefined): Promise<DataHealthDto>;
|
|
@@ -2600,30 +2603,20 @@ export declare class InspectMatchCertificateChecksClient extends AuthorizedApiBa
|
|
|
2600
2603
|
updateMaterialCertificate(certificatesRequest: ImaUpdateResultRequestDto): Promise<ImaMaterialCheckDto>;
|
|
2601
2604
|
protected processUpdateMaterialCertificate(response: Response): Promise<ImaMaterialCheckDto>;
|
|
2602
2605
|
}
|
|
2603
|
-
export interface
|
|
2604
|
-
listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]>;
|
|
2605
|
-
getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
|
|
2606
|
-
updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2607
|
-
deleteMaterialCertificateType(id: string, version: number | null | undefined): Promise<void>;
|
|
2606
|
+
export interface IInspectMatchCertificateTypesAdminClient {
|
|
2608
2607
|
createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2609
2608
|
copyMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2610
2609
|
createNewVersionForCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
|
|
2611
2610
|
releaseMaterialCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
|
|
2611
|
+
updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2612
|
+
deleteMaterialCertificateType(id: string, version: number | null | undefined): Promise<void>;
|
|
2612
2613
|
}
|
|
2613
|
-
export declare class
|
|
2614
|
+
export declare class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase implements IInspectMatchCertificateTypesAdminClient {
|
|
2614
2615
|
private http;
|
|
2615
2616
|
private baseUrl;
|
|
2616
2617
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
2617
2618
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2618
2619
|
});
|
|
2619
|
-
listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]>;
|
|
2620
|
-
protected processListMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeLiteDto[]>;
|
|
2621
|
-
getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
|
|
2622
|
-
protected processGetMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2623
|
-
updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2624
|
-
protected processUpdateMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2625
|
-
deleteMaterialCertificateType(id: string, version: number | null | undefined): Promise<void>;
|
|
2626
|
-
protected processDeleteMaterialCertificateType(response: Response): Promise<void>;
|
|
2627
2620
|
createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2628
2621
|
protected processCreateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2629
2622
|
copyMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
@@ -2632,6 +2625,25 @@ export declare class InspectMatchCertificateTypesClient extends AuthorizedApiBas
|
|
|
2632
2625
|
protected processCreateNewVersionForCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2633
2626
|
releaseMaterialCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
|
|
2634
2627
|
protected processReleaseMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2628
|
+
updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2629
|
+
protected processUpdateMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2630
|
+
deleteMaterialCertificateType(id: string, version: number | null | undefined): Promise<void>;
|
|
2631
|
+
protected processDeleteMaterialCertificateType(response: Response): Promise<void>;
|
|
2632
|
+
}
|
|
2633
|
+
export interface IInspectMatchCertificateTypesClient {
|
|
2634
|
+
getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
|
|
2635
|
+
listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]>;
|
|
2636
|
+
}
|
|
2637
|
+
export declare class InspectMatchCertificateTypesClient extends AuthorizedApiBase implements IInspectMatchCertificateTypesClient {
|
|
2638
|
+
private http;
|
|
2639
|
+
private baseUrl;
|
|
2640
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
2641
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2642
|
+
});
|
|
2643
|
+
getMaterialCertificateTypes(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
|
|
2644
|
+
protected processGetMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2645
|
+
listMaterialCertificateTypes(): Promise<ImaCertificateTypeLiteDto[]>;
|
|
2646
|
+
protected processListMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeLiteDto[]>;
|
|
2635
2647
|
}
|
|
2636
2648
|
export interface IInspectMatchPurchaseOrderClient {
|
|
2637
2649
|
searchPurchaseOrders(input: string | undefined): Promise<PurchaseOrderMaterialSearchResultsDto>;
|
|
@@ -2651,30 +2663,20 @@ export declare class InspectMatchPurchaseOrderClient extends AuthorizedApiBase i
|
|
|
2651
2663
|
getPurchaseOrderLineDetails(purchaseOrder: string, lineNumber: number): Promise<PurchaseOrderMaterialLineDetailsDto>;
|
|
2652
2664
|
protected processGetPurchaseOrderLineDetails(response: Response): Promise<PurchaseOrderMaterialLineDetailsDto>;
|
|
2653
2665
|
}
|
|
2654
|
-
export interface
|
|
2655
|
-
listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
|
|
2656
|
-
getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
|
|
2657
|
-
updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
|
|
2658
|
-
deleteSpecification(id: string, version: number | null | undefined): Promise<void>;
|
|
2666
|
+
export interface IInspectMatchSpecificationsAdminClient {
|
|
2659
2667
|
createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
2660
2668
|
copySpecification(id: string, version: number | null | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
2661
2669
|
createNewVersionForSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
|
|
2662
2670
|
releaseSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
|
|
2671
|
+
updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
|
|
2672
|
+
deleteSpecification(id: string, version: number | null | undefined): Promise<void>;
|
|
2663
2673
|
}
|
|
2664
|
-
export declare class
|
|
2674
|
+
export declare class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase implements IInspectMatchSpecificationsAdminClient {
|
|
2665
2675
|
private http;
|
|
2666
2676
|
private baseUrl;
|
|
2667
2677
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
2668
2678
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2669
2679
|
});
|
|
2670
|
-
listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
|
|
2671
|
-
protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]>;
|
|
2672
|
-
getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
|
|
2673
|
-
protected processGetSpecification(response: Response): Promise<ImaSpecificationDto>;
|
|
2674
|
-
updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
|
|
2675
|
-
protected processUpdateSpecification(response: Response): Promise<ImaSpecificationDto>;
|
|
2676
|
-
deleteSpecification(id: string, version: number | null | undefined): Promise<void>;
|
|
2677
|
-
protected processDeleteSpecification(response: Response): Promise<void>;
|
|
2678
2680
|
createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
2679
2681
|
protected processCreateSpecification(response: Response): Promise<ImaSpecificationDto>;
|
|
2680
2682
|
copySpecification(id: string, version: number | null | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
@@ -2683,6 +2685,25 @@ export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase
|
|
|
2683
2685
|
protected processCreateNewVersionForSpecification(response: Response): Promise<ImaSpecificationDto>;
|
|
2684
2686
|
releaseSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
|
|
2685
2687
|
protected processReleaseSpecification(response: Response): Promise<ImaSpecificationDto>;
|
|
2688
|
+
updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
|
|
2689
|
+
protected processUpdateSpecification(response: Response): Promise<ImaSpecificationDto>;
|
|
2690
|
+
deleteSpecification(id: string, version: number | null | undefined): Promise<void>;
|
|
2691
|
+
protected processDeleteSpecification(response: Response): Promise<void>;
|
|
2692
|
+
}
|
|
2693
|
+
export interface IInspectMatchSpecificationsClient {
|
|
2694
|
+
getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
|
|
2695
|
+
listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
|
|
2696
|
+
}
|
|
2697
|
+
export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase implements IInspectMatchSpecificationsClient {
|
|
2698
|
+
private http;
|
|
2699
|
+
private baseUrl;
|
|
2700
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
2701
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2702
|
+
});
|
|
2703
|
+
getSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
|
|
2704
|
+
protected processGetSpecification(response: Response): Promise<ImaSpecificationDto>;
|
|
2705
|
+
listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
|
|
2706
|
+
protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]>;
|
|
2686
2707
|
}
|
|
2687
2708
|
export interface IMeasurementFormSchemasAdminClient {
|
|
2688
2709
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
@@ -3729,6 +3750,13 @@ export interface UploadInfoDto {
|
|
|
3729
3750
|
key?: string | null;
|
|
3730
3751
|
accessKey?: string | null;
|
|
3731
3752
|
}
|
|
3753
|
+
export interface UploadInfoCdfDto {
|
|
3754
|
+
id: number;
|
|
3755
|
+
url: string;
|
|
3756
|
+
}
|
|
3757
|
+
export interface CreateUploadInfoCdf {
|
|
3758
|
+
name: string;
|
|
3759
|
+
}
|
|
3732
3760
|
export interface DataHealthDto {
|
|
3733
3761
|
machines?: MachineDataHealthDto[] | null;
|
|
3734
3762
|
}
|
|
@@ -7832,13 +7860,16 @@ export interface ImaSpecificationHeatTreatmentHeatingResult {
|
|
|
7832
7860
|
duration?: ImaSpecificationResultLineDto | null;
|
|
7833
7861
|
}
|
|
7834
7862
|
export interface ProcessImaCheckRequestDto {
|
|
7835
|
-
files:
|
|
7863
|
+
files: UploadFileCdfDto[];
|
|
7836
7864
|
specificationId: string;
|
|
7837
7865
|
specificationVersion: string;
|
|
7838
7866
|
certificateTypeId?: string | null;
|
|
7839
7867
|
certificateTypeVersion?: string | null;
|
|
7840
7868
|
purchaseOrder?: string | null;
|
|
7841
7869
|
}
|
|
7870
|
+
export interface UploadFileCdfDto {
|
|
7871
|
+
id: number;
|
|
7872
|
+
}
|
|
7842
7873
|
export interface ImaUpdateResultRequestDto {
|
|
7843
7874
|
certificateId: string;
|
|
7844
7875
|
project?: string | null;
|
|
@@ -7957,23 +7988,6 @@ export interface ImaUpdateSpecificationHeatTreatmentResultsDto {
|
|
|
7957
7988
|
}
|
|
7958
7989
|
export interface ImaCdfEntityReadBase {
|
|
7959
7990
|
}
|
|
7960
|
-
export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
|
|
7961
|
-
certificateTypeId: string;
|
|
7962
|
-
version: number;
|
|
7963
|
-
name: string;
|
|
7964
|
-
revision: string;
|
|
7965
|
-
status: ImaCertificateTypeStatus;
|
|
7966
|
-
description?: string | null;
|
|
7967
|
-
isStandardCertificateType: boolean;
|
|
7968
|
-
created: Date;
|
|
7969
|
-
createdBy: string;
|
|
7970
|
-
createdById: string;
|
|
7971
|
-
updatedBy?: string | null;
|
|
7972
|
-
updatedById?: string | null;
|
|
7973
|
-
updated: Date;
|
|
7974
|
-
isDeleted: boolean;
|
|
7975
|
-
}
|
|
7976
|
-
export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
7977
7991
|
export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
|
|
7978
7992
|
certificateTypeId: string;
|
|
7979
7993
|
version: number;
|
|
@@ -7996,6 +8010,7 @@ export interface ImaCertificateTypeVersionDto {
|
|
|
7996
8010
|
version?: number;
|
|
7997
8011
|
status?: ImaCertificateTypeStatus;
|
|
7998
8012
|
}
|
|
8013
|
+
export type ImaCertificateTypeStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
7999
8014
|
export interface ImaCertificateTypeRequirementsDto {
|
|
8000
8015
|
manufacturer: ImaCertificateTypeManufacturerRequirementsDto;
|
|
8001
8016
|
signature: ImaCertificateTypeSignatureRequirementsDto;
|
|
@@ -8146,6 +8161,22 @@ export interface ImaCertificateTypeDocumentTypesRequirementsUpdateDto {
|
|
|
8146
8161
|
microExaminationReport?: boolean | null;
|
|
8147
8162
|
radiologicalReport?: boolean | null;
|
|
8148
8163
|
}
|
|
8164
|
+
export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
|
|
8165
|
+
certificateTypeId: string;
|
|
8166
|
+
version: number;
|
|
8167
|
+
name: string;
|
|
8168
|
+
revision: string;
|
|
8169
|
+
status: ImaCertificateTypeStatus;
|
|
8170
|
+
description?: string | null;
|
|
8171
|
+
isStandardCertificateType: boolean;
|
|
8172
|
+
created: Date;
|
|
8173
|
+
createdBy: string;
|
|
8174
|
+
createdById: string;
|
|
8175
|
+
updatedBy?: string | null;
|
|
8176
|
+
updatedById?: string | null;
|
|
8177
|
+
updated: Date;
|
|
8178
|
+
isDeleted: boolean;
|
|
8179
|
+
}
|
|
8149
8180
|
export interface PurchaseOrderMaterialSearchResultsDto {
|
|
8150
8181
|
purchaseOrders: string[];
|
|
8151
8182
|
}
|
|
@@ -8184,24 +8215,6 @@ export interface User {
|
|
|
8184
8215
|
upn?: string | null;
|
|
8185
8216
|
email?: string | null;
|
|
8186
8217
|
}
|
|
8187
|
-
export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
|
|
8188
|
-
specificationId: string;
|
|
8189
|
-
version: number;
|
|
8190
|
-
name: string;
|
|
8191
|
-
number: string;
|
|
8192
|
-
revision: string;
|
|
8193
|
-
date: Date;
|
|
8194
|
-
status: ImaSpecificationStatus;
|
|
8195
|
-
summary?: string | null;
|
|
8196
|
-
relatedStandards: string[];
|
|
8197
|
-
created: Date;
|
|
8198
|
-
createdBy: string;
|
|
8199
|
-
createdById: string;
|
|
8200
|
-
updatedBy: string;
|
|
8201
|
-
updatedById: string;
|
|
8202
|
-
isDeleted: boolean;
|
|
8203
|
-
}
|
|
8204
|
-
export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
8205
8218
|
export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
|
|
8206
8219
|
specificationId: string;
|
|
8207
8220
|
version: number;
|
|
@@ -8229,6 +8242,7 @@ export interface ImaSpecificationVersionDto {
|
|
|
8229
8242
|
version?: number;
|
|
8230
8243
|
status?: ImaSpecificationStatus;
|
|
8231
8244
|
}
|
|
8245
|
+
export type ImaSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
8232
8246
|
export interface ImaChemistrySpecificationDto extends ImaCdfEntityReadBase {
|
|
8233
8247
|
carbon?: ImaSpecificationLineDto | null;
|
|
8234
8248
|
manganese?: ImaSpecificationLineDto | null;
|
|
@@ -8303,6 +8317,23 @@ export interface ImaUpdateSpecificationDto {
|
|
|
8303
8317
|
heatSpecifications?: ImaHeatTreatmentSpecificationDto[] | null;
|
|
8304
8318
|
}
|
|
8305
8319
|
export type ImaSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";
|
|
8320
|
+
export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
|
|
8321
|
+
specificationId: string;
|
|
8322
|
+
version: number;
|
|
8323
|
+
name: string;
|
|
8324
|
+
number: string;
|
|
8325
|
+
revision: string;
|
|
8326
|
+
date: Date;
|
|
8327
|
+
status: ImaSpecificationStatus;
|
|
8328
|
+
summary?: string | null;
|
|
8329
|
+
relatedStandards: string[];
|
|
8330
|
+
created: Date;
|
|
8331
|
+
createdBy: string;
|
|
8332
|
+
createdById: string;
|
|
8333
|
+
updatedBy: string;
|
|
8334
|
+
updatedById: string;
|
|
8335
|
+
isDeleted: boolean;
|
|
8336
|
+
}
|
|
8306
8337
|
export interface MeasurementFormSchemaDto {
|
|
8307
8338
|
id: string;
|
|
8308
8339
|
versionId: number;
|