@ignos/api-client 20260914.276.1-alpha → 20260914.277.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/AuthorizedApiBase.js +28 -27
- package/lib/ignosportal-api.d.ts +222 -23
- package/lib/ignosportal-api.js +733 -163
- package/package.json +2 -2
- package/src/ignosportal-api.ts +609 -65
- package/tsconfig.json +3 -2
package/lib/AuthorizedApiBase.js
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
export class AuthorizedApiBase {
|
|
2
|
+
config;
|
|
2
3
|
constructor(config) {
|
|
3
|
-
this.transformOptions = async (options) => {
|
|
4
|
-
options.headers = {
|
|
5
|
-
...options.headers,
|
|
6
|
-
Authorization: "Bearer " + (await this.config.accessTokenProvider.getAccessToken()),
|
|
7
|
-
};
|
|
8
|
-
const tenantId = this.config.tenantIdProvider.getTenantId();
|
|
9
|
-
if (tenantId)
|
|
10
|
-
options.headers["x-tenantid"] = tenantId;
|
|
11
|
-
return options;
|
|
12
|
-
};
|
|
13
|
-
this.jsonParseReviver = (_, value) => {
|
|
14
|
-
if (typeof value !== "string")
|
|
15
|
-
return value;
|
|
16
|
-
// Matches starts with "2025-12-09T13:19:39"
|
|
17
|
-
// Will also match "2025-12-09T13:19:39.4576289+00:00"
|
|
18
|
-
const regex = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})/;
|
|
19
|
-
if (!regex.test(value))
|
|
20
|
-
return value;
|
|
21
|
-
// JS Date only supports millisecond precision (3 fractional digits).
|
|
22
|
-
// Timestamps with microseconds or higher (e.g. ".4576289") produce Invalid Date.
|
|
23
|
-
// Truncate any excess fractional digits before parsing.
|
|
24
|
-
const normalized = value.replace(/(\.\d{3})\d+/, "$1");
|
|
25
|
-
const date = new Date(normalized);
|
|
26
|
-
// Prevent values like "2025-12-09T13:19:39.4576289+00:00 bla bla bla" from being parsed as Date
|
|
27
|
-
// (values not starting with an ISO date-time are already filtered out by the regex above)
|
|
28
|
-
return isNaN(date.getTime()) ? value : date;
|
|
29
|
-
};
|
|
30
4
|
this.config = config;
|
|
31
5
|
}
|
|
6
|
+
transformOptions = async (options) => {
|
|
7
|
+
options.headers = {
|
|
8
|
+
...options.headers,
|
|
9
|
+
Authorization: "Bearer " + (await this.config.accessTokenProvider.getAccessToken()),
|
|
10
|
+
};
|
|
11
|
+
const tenantId = this.config.tenantIdProvider.getTenantId();
|
|
12
|
+
if (tenantId)
|
|
13
|
+
options.headers["x-tenantid"] = tenantId;
|
|
14
|
+
return options;
|
|
15
|
+
};
|
|
16
|
+
jsonParseReviver = (_, value) => {
|
|
17
|
+
if (typeof value !== "string")
|
|
18
|
+
return value;
|
|
19
|
+
// Matches starts with "2025-12-09T13:19:39"
|
|
20
|
+
// Will also match "2025-12-09T13:19:39.4576289+00:00"
|
|
21
|
+
const regex = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})/;
|
|
22
|
+
if (!regex.test(value))
|
|
23
|
+
return value;
|
|
24
|
+
// JS Date only supports millisecond precision (3 fractional digits).
|
|
25
|
+
// Timestamps with microseconds or higher (e.g. ".4576289") produce Invalid Date.
|
|
26
|
+
// Truncate any excess fractional digits before parsing.
|
|
27
|
+
const normalized = value.replace(/(\.\d{3})\d+/, "$1");
|
|
28
|
+
const date = new Date(normalized);
|
|
29
|
+
// Prevent values like "2025-12-09T13:19:39.4576289+00:00 bla bla bla" from being parsed as Date
|
|
30
|
+
// (values not starting with an ISO date-time are already filtered out by the regex above)
|
|
31
|
+
return isNaN(date.getTime()) ? value : date;
|
|
32
|
+
};
|
|
32
33
|
}
|
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2654,7 +2654,6 @@ export declare class MesProductionOrderClient extends AuthorizedApiBase implemen
|
|
|
2654
2654
|
export interface IMesProductionScheduleClient {
|
|
2655
2655
|
listProductionScheduleOperations(resourceGroup: string | null | undefined, resourceId: string | null | undefined, departmentNumber: string | null | undefined, pageSize: number | undefined, continuationToken: string | null | undefined, workOrderId: string | null | undefined, projectId: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, material: string | null | undefined, includeDiscussionSummary: boolean | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2656
2656
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2657
|
-
postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto>;
|
|
2658
2657
|
getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
|
|
2659
2658
|
listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
|
|
2660
2659
|
startOperations(request: StartOperations): Promise<void>;
|
|
@@ -2671,8 +2670,6 @@ export declare class MesProductionScheduleClient extends AuthorizedApiBase imple
|
|
|
2671
2670
|
protected processListProductionScheduleOperations(response: Response): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2672
2671
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2673
2672
|
protected processPostListProductionScheduleOperations(response: Response): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
2674
|
-
postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto>;
|
|
2675
|
-
protected processPostListProductionScheduleOperationsFromPlanner(response: Response): Promise<PagedProductionScheduleDto>;
|
|
2676
2673
|
getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
|
|
2677
2674
|
protected processGetAvailableProductionScheduleFilters(response: Response): Promise<ProductionScheduleFiltersDto>;
|
|
2678
2675
|
listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
|
|
@@ -2936,6 +2933,84 @@ export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase
|
|
|
2936
2933
|
listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
|
|
2937
2934
|
protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]>;
|
|
2938
2935
|
}
|
|
2936
|
+
export interface IInspectSchemaCreatorClient {
|
|
2937
|
+
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
2938
|
+
/**
|
|
2939
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
2940
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
2941
|
+
*/
|
|
2942
|
+
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2943
|
+
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2944
|
+
/**
|
|
2945
|
+
* Geometry only (no values), derived from the schema's retained
|
|
2946
|
+
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
2947
|
+
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
2948
|
+
drawing to derive it from.
|
|
2949
|
+
*/
|
|
2950
|
+
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
2951
|
+
/**
|
|
2952
|
+
* Starts a full drawing AI parse: clears every element and locks the
|
|
2953
|
+
schema for every viewer until it completes. If one is already in
|
|
2954
|
+
progress, returns that instead of starting a second one.
|
|
2955
|
+
*/
|
|
2956
|
+
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
2957
|
+
/**
|
|
2958
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
2959
|
+
returns a temporary download link.
|
|
2960
|
+
*/
|
|
2961
|
+
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
2962
|
+
/**
|
|
2963
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
2964
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
2965
|
+
* @param image (optional)
|
|
2966
|
+
*/
|
|
2967
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
2968
|
+
}
|
|
2969
|
+
export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
2970
|
+
private http;
|
|
2971
|
+
private baseUrl;
|
|
2972
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
2973
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2974
|
+
});
|
|
2975
|
+
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
2976
|
+
protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2977
|
+
/**
|
|
2978
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
2979
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
2980
|
+
*/
|
|
2981
|
+
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2982
|
+
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2983
|
+
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2984
|
+
protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2985
|
+
/**
|
|
2986
|
+
* Geometry only (no values), derived from the schema's retained
|
|
2987
|
+
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
2988
|
+
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
2989
|
+
drawing to derive it from.
|
|
2990
|
+
*/
|
|
2991
|
+
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
2992
|
+
protected processGetSchemaCreatorXmlGeometry(response: Response): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
2993
|
+
/**
|
|
2994
|
+
* Starts a full drawing AI parse: clears every element and locks the
|
|
2995
|
+
schema for every viewer until it completes. If one is already in
|
|
2996
|
+
progress, returns that instead of starting a second one.
|
|
2997
|
+
*/
|
|
2998
|
+
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
2999
|
+
protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto>;
|
|
3000
|
+
/**
|
|
3001
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
3002
|
+
returns a temporary download link.
|
|
3003
|
+
*/
|
|
3004
|
+
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
3005
|
+
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto>;
|
|
3006
|
+
/**
|
|
3007
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
3008
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
3009
|
+
* @param image (optional)
|
|
3010
|
+
*/
|
|
3011
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
3012
|
+
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void>;
|
|
3013
|
+
}
|
|
2939
3014
|
export interface IMeasurementFormSchemasAdminClient {
|
|
2940
3015
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
2941
3016
|
createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
|
|
@@ -2947,6 +3022,10 @@ export interface IMeasurementFormSchemasAdminClient {
|
|
|
2947
3022
|
deleteSchemaRows(id: string, request: DeleteSchemaGroupedElementRowsDto): Promise<MeasurementFormSchemaDto>;
|
|
2948
3023
|
uploadMeasurementImage(id: string, request: UploadMeasurementImageRequest): Promise<MeasurementFormSchemaDto>;
|
|
2949
3024
|
updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
|
|
3025
|
+
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3026
|
+
/**
|
|
3027
|
+
* @deprecated
|
|
3028
|
+
*/
|
|
2950
3029
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
2951
3030
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
2952
3031
|
getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
|
|
@@ -3030,6 +3109,11 @@ export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase
|
|
|
3030
3109
|
protected processUploadMeasurementImage(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3031
3110
|
updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
|
|
3032
3111
|
protected processUpdateSchemaSettings(response: Response): Promise<UpdateSchemaSettingsRequest>;
|
|
3112
|
+
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3113
|
+
protected processUploadSchemaMarkedDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3114
|
+
/**
|
|
3115
|
+
* @deprecated
|
|
3116
|
+
*/
|
|
3033
3117
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
3034
3118
|
protected processUploadSchemaDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3035
3119
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
@@ -3193,6 +3277,7 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
3193
3277
|
completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
3194
3278
|
completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3195
3279
|
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3280
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
3196
3281
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
3197
3282
|
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3198
3283
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
@@ -3231,6 +3316,8 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
3231
3316
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3232
3317
|
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3233
3318
|
protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3319
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
3320
|
+
protected processGetMeasurementFormInstanceSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
3234
3321
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
3235
3322
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
3236
3323
|
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
@@ -4799,6 +4886,7 @@ export interface PulseJournalEventDto {
|
|
|
4799
4886
|
eventType: PulseJournalEventTypeDto;
|
|
4800
4887
|
oldValue?: string | null;
|
|
4801
4888
|
newValue?: string | null;
|
|
4889
|
+
lineText?: string | null;
|
|
4802
4890
|
created: Date;
|
|
4803
4891
|
createdBy?: string | null;
|
|
4804
4892
|
}
|
|
@@ -7570,7 +7658,6 @@ export interface PlannerPlanDto {
|
|
|
7570
7658
|
isDraft: boolean;
|
|
7571
7659
|
publishedETag?: string | null;
|
|
7572
7660
|
weeklyCapacities: WeekCapacityDto[];
|
|
7573
|
-
continuationToken?: string | null;
|
|
7574
7661
|
}
|
|
7575
7662
|
export interface PlannerOperationDto {
|
|
7576
7663
|
id: string;
|
|
@@ -7673,7 +7760,7 @@ export interface SetProgramStatus {
|
|
|
7673
7760
|
operationNumber?: number;
|
|
7674
7761
|
status?: ProgramStatus;
|
|
7675
7762
|
}
|
|
7676
|
-
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
|
|
7763
|
+
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File" | "OperationText";
|
|
7677
7764
|
export interface UpdateProductionOrderAttachmentRequest {
|
|
7678
7765
|
type?: ProductionOrderAttachmentType;
|
|
7679
7766
|
description: string;
|
|
@@ -7980,8 +8067,6 @@ export interface ProductionScheduleOperationDto {
|
|
|
7980
8067
|
programStatus?: ProgramStatus | null;
|
|
7981
8068
|
hasNotes: boolean;
|
|
7982
8069
|
notesUnread: boolean;
|
|
7983
|
-
sequenceNumber?: number | null;
|
|
7984
|
-
weekGroup?: string | null;
|
|
7985
8070
|
}
|
|
7986
8071
|
export interface SurroundingOperationDto {
|
|
7987
8072
|
id: string;
|
|
@@ -8035,11 +8120,6 @@ export interface ListProductionScheduleOperationsRequest {
|
|
|
8035
8120
|
before?: Date | null;
|
|
8036
8121
|
includeDiscussionSummary?: boolean;
|
|
8037
8122
|
}
|
|
8038
|
-
export interface PagedProductionScheduleDto {
|
|
8039
|
-
results: ProductionScheduleOperationDto[];
|
|
8040
|
-
weeklyCapacities: WeekCapacityDto[];
|
|
8041
|
-
continuationToken?: string | null;
|
|
8042
|
-
}
|
|
8043
8123
|
export interface ProductionScheduleFiltersDto {
|
|
8044
8124
|
partNumbers?: FilterValueWithQuantity[];
|
|
8045
8125
|
bomPositions?: FilterValueWithQuantity[];
|
|
@@ -8470,7 +8550,7 @@ export interface ImaMaterialCheckDto {
|
|
|
8470
8550
|
specificationStatus: ImaSpecificationStatusDto;
|
|
8471
8551
|
purchaseOrder?: string | null;
|
|
8472
8552
|
purchaseOrderLine?: number | null;
|
|
8473
|
-
|
|
8553
|
+
purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
|
|
8474
8554
|
purchaseOrderPartName?: string | null;
|
|
8475
8555
|
purchaseOrderPartNumber?: string | null;
|
|
8476
8556
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -8490,6 +8570,11 @@ export interface ImaMaterialCheckDto {
|
|
|
8490
8570
|
specificationResults: ImaSpecificationResultsDto;
|
|
8491
8571
|
}
|
|
8492
8572
|
export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
8573
|
+
export interface PurchaseOrderMaterialBatchDto {
|
|
8574
|
+
batchNumber: string;
|
|
8575
|
+
itemNumber?: string | null;
|
|
8576
|
+
vendorBatch?: string | null;
|
|
8577
|
+
}
|
|
8493
8578
|
export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
|
|
8494
8579
|
export interface ImaCertificateTypeResultsDto {
|
|
8495
8580
|
manufacturer: ImaCertificateTypeManufacturerResultsDto;
|
|
@@ -8621,6 +8706,7 @@ export interface ImaChemicalAnalysisCompositeResultDto {
|
|
|
8621
8706
|
prenW?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8622
8707
|
v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8623
8708
|
ce?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8709
|
+
nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
|
|
8624
8710
|
}
|
|
8625
8711
|
export interface ImaSpecificationCalculatedResultLineDto {
|
|
8626
8712
|
specificationMin?: number | null;
|
|
@@ -8744,14 +8830,14 @@ export interface ImaHeatTreatmentCoolingResultLineDto {
|
|
|
8744
8830
|
status: ImaSpecificationResultLineStatusDto;
|
|
8745
8831
|
override?: ImaResultLineOverrideDto | null;
|
|
8746
8832
|
}
|
|
8747
|
-
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
|
|
8833
|
+
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "LiquidQuenching" | "NotSet";
|
|
8748
8834
|
export interface ImaDocumentTypesResultsDto {
|
|
8749
8835
|
ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
8750
8836
|
radiologicalReport?: ImaSupplementaryCheckResultDto | null;
|
|
8751
8837
|
liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
8752
8838
|
magneticParticle?: ImaSupplementaryCheckResultDto | null;
|
|
8753
8839
|
pmi?: ImaSupplementaryCheckResultDto | null;
|
|
8754
|
-
|
|
8840
|
+
dyePenetrantReport?: ImaSupplementaryCheckResultDto | null;
|
|
8755
8841
|
visualReport?: ImaSupplementaryCheckResultDto | null;
|
|
8756
8842
|
dimensionalReport?: ImaSupplementaryCheckResultDto | null;
|
|
8757
8843
|
microExaminationReport?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -8872,6 +8958,7 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
|
|
|
8872
8958
|
prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8873
8959
|
v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8874
8960
|
ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8961
|
+
nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8875
8962
|
}
|
|
8876
8963
|
export interface ImaOverrideTensileTestResultsDto {
|
|
8877
8964
|
heatNumber?: string | null;
|
|
@@ -8949,7 +9036,7 @@ export interface ImaOverrideDocumentTypesResultsDto {
|
|
|
8949
9036
|
liquidPenetrantCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8950
9037
|
magneticParticle?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8951
9038
|
pmi?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8952
|
-
|
|
9039
|
+
dyePenetrantReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8953
9040
|
visualReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8954
9041
|
dimensionalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8955
9042
|
microExaminationReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -8982,7 +9069,7 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
8982
9069
|
specificationStatus: ImaSpecificationStatusDto;
|
|
8983
9070
|
purchaseOrder?: string | null;
|
|
8984
9071
|
purchaseOrderLine?: number | null;
|
|
8985
|
-
|
|
9072
|
+
purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
|
|
8986
9073
|
purchaseOrderPartName?: string | null;
|
|
8987
9074
|
purchaseOrderPartNumber?: string | null;
|
|
8988
9075
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -9013,7 +9100,7 @@ export interface ImaMaterialChecksPageRequestDto {
|
|
|
9013
9100
|
certificateTypeFilter?: string | null;
|
|
9014
9101
|
purchaseOrderLineFilter?: number | null;
|
|
9015
9102
|
heatFilter?: string | null;
|
|
9016
|
-
vendorBatchesFilter?: string
|
|
9103
|
+
vendorBatchesFilter?: string | null;
|
|
9017
9104
|
purchaseOrderPartNameFilter?: string | null;
|
|
9018
9105
|
purchaseOrderPartNumberFilter?: string | null;
|
|
9019
9106
|
purchaseOrderDrawingFilter?: string | null;
|
|
@@ -9046,6 +9133,7 @@ export interface ImaMaterialCheckReportDto {
|
|
|
9046
9133
|
includesAllHeats: boolean;
|
|
9047
9134
|
status: ImaMaterialCheckStatusDto;
|
|
9048
9135
|
audit: ImaMaterialCheckReportAuditInfo;
|
|
9136
|
+
isOutdated: boolean;
|
|
9049
9137
|
}
|
|
9050
9138
|
export interface ImaMaterialCheckReportAuditInfo {
|
|
9051
9139
|
createdBy: string;
|
|
@@ -9071,7 +9159,7 @@ export interface PurchaseOrderMaterialLineDetailsDto {
|
|
|
9071
9159
|
purchaseOrder: string;
|
|
9072
9160
|
lineNumber?: number | null;
|
|
9073
9161
|
dimension?: string | null;
|
|
9074
|
-
|
|
9162
|
+
batches: PurchaseOrderMaterialBatchDto[];
|
|
9075
9163
|
mdsCodeFl?: string | null;
|
|
9076
9164
|
typeOfCertificate?: string | null;
|
|
9077
9165
|
}
|
|
@@ -9209,6 +9297,7 @@ export interface ImaChemistryCompositeSpecificationDto {
|
|
|
9209
9297
|
prenW?: ImaSpecificationLineDto | null;
|
|
9210
9298
|
v_Nb_Ti?: boolean | null;
|
|
9211
9299
|
ce?: boolean | null;
|
|
9300
|
+
nb_Ta?: ImaSpecificationLineDto | null;
|
|
9212
9301
|
}
|
|
9213
9302
|
export interface ImaMechanicalSpecificationDto {
|
|
9214
9303
|
tensile?: ImaTensileSpecificationDto | null;
|
|
@@ -9240,7 +9329,7 @@ export interface ImaDocumentTypesSpecificationDto {
|
|
|
9240
9329
|
liquidPenetrantCertificate?: boolean;
|
|
9241
9330
|
magneticParticle?: boolean;
|
|
9242
9331
|
pmi?: boolean;
|
|
9243
|
-
|
|
9332
|
+
dyePenetrantReport?: boolean;
|
|
9244
9333
|
visualReport?: boolean;
|
|
9245
9334
|
dimensionalReport?: boolean;
|
|
9246
9335
|
microExaminationReport?: boolean;
|
|
@@ -9307,6 +9396,113 @@ export interface ImaSpecificationLiteDto {
|
|
|
9307
9396
|
updated: Date;
|
|
9308
9397
|
isDeleted: boolean;
|
|
9309
9398
|
}
|
|
9399
|
+
export interface SchemaCreatorStateDto {
|
|
9400
|
+
settings: SchemaCreatorSettingsDto;
|
|
9401
|
+
elements: SchemaCreatorElementDto[];
|
|
9402
|
+
documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
|
|
9403
|
+
isAutoGenerated?: boolean;
|
|
9404
|
+
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
9405
|
+
createdAt?: Date | null;
|
|
9406
|
+
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
9407
|
+
updatedAt?: Date | null;
|
|
9408
|
+
}
|
|
9409
|
+
export interface SchemaCreatorSettingsDto {
|
|
9410
|
+
unit?: SchemaCreatorUnitOfMeasureDto;
|
|
9411
|
+
tolerance?: GeneralToleranceDto;
|
|
9412
|
+
balloonSize?: number;
|
|
9413
|
+
transparentBalloons?: boolean;
|
|
9414
|
+
}
|
|
9415
|
+
export type SchemaCreatorUnitOfMeasureDto = "Millimeter" | "Inch" | "Mixed";
|
|
9416
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
9417
|
+
export interface SchemaCreatorElementDto {
|
|
9418
|
+
id: string;
|
|
9419
|
+
kind: SchemaCreatorElementKindDto;
|
|
9420
|
+
drawings: SchemaCreatorElementDrawingsDto;
|
|
9421
|
+
isDirty?: boolean | null;
|
|
9422
|
+
values?: SchemaCreatorElementValuesDto | null;
|
|
9423
|
+
valuesSnapshot?: SchemaCreatorElementValuesDto | null;
|
|
9424
|
+
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
9425
|
+
resolveAttempt?: SchemaCreatorParseAttemptDto | null;
|
|
9426
|
+
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
9427
|
+
createdAt?: Date | null;
|
|
9428
|
+
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
9429
|
+
updatedAt?: Date | null;
|
|
9430
|
+
}
|
|
9431
|
+
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
9432
|
+
export interface SchemaCreatorElementDrawingsDto {
|
|
9433
|
+
snip: SchemaCreatorSnipDto;
|
|
9434
|
+
balloon: SchemaCreatorPointDto;
|
|
9435
|
+
pageIndex: number;
|
|
9436
|
+
}
|
|
9437
|
+
export interface SchemaCreatorSnipDto {
|
|
9438
|
+
rect: SchemaCreatorRectDto;
|
|
9439
|
+
rotation?: number | null;
|
|
9440
|
+
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
9441
|
+
}
|
|
9442
|
+
export interface SchemaCreatorRectDto {
|
|
9443
|
+
origin: SchemaCreatorPointDto;
|
|
9444
|
+
size: SchemaCreatorSizeDto;
|
|
9445
|
+
}
|
|
9446
|
+
export interface SchemaCreatorPointDto {
|
|
9447
|
+
x: number;
|
|
9448
|
+
y: number;
|
|
9449
|
+
}
|
|
9450
|
+
export interface SchemaCreatorSizeDto {
|
|
9451
|
+
width: number;
|
|
9452
|
+
height: number;
|
|
9453
|
+
}
|
|
9454
|
+
export interface SchemaCreatorElementValuesDto {
|
|
9455
|
+
reference: number;
|
|
9456
|
+
unit?: UnitOfMeasureDto | null;
|
|
9457
|
+
nominal?: number | null;
|
|
9458
|
+
nominalText?: string | null;
|
|
9459
|
+
upperLimit?: number | null;
|
|
9460
|
+
lowerLimit?: number | null;
|
|
9461
|
+
plusTolerance?: number | null;
|
|
9462
|
+
minusTolerance?: number | null;
|
|
9463
|
+
coatingThickness?: number | null;
|
|
9464
|
+
measurementFrequency: MeasurementFrequency;
|
|
9465
|
+
measurementFrequencyParameter?: number | null;
|
|
9466
|
+
type?: string | null;
|
|
9467
|
+
count?: number | null;
|
|
9468
|
+
comment?: string | null;
|
|
9469
|
+
canCopy: boolean;
|
|
9470
|
+
visibleToCustomer: boolean;
|
|
9471
|
+
isDocumentedExternally: boolean;
|
|
9472
|
+
}
|
|
9473
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
9474
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
9475
|
+
export interface SchemaCreatorSnipResultDto {
|
|
9476
|
+
nominal?: number | null;
|
|
9477
|
+
nominalText?: string | null;
|
|
9478
|
+
type?: string | null;
|
|
9479
|
+
upperLimit?: number | null;
|
|
9480
|
+
lowerLimit?: number | null;
|
|
9481
|
+
plusTolerance?: number | null;
|
|
9482
|
+
minusTolerance?: number | null;
|
|
9483
|
+
count?: number | null;
|
|
9484
|
+
}
|
|
9485
|
+
export interface SchemaCreatorParseAttemptDto {
|
|
9486
|
+
startedAt: Date;
|
|
9487
|
+
errorType?: SchemaCreatorParseErrorTypeDto | null;
|
|
9488
|
+
errorMessage?: string | null;
|
|
9489
|
+
}
|
|
9490
|
+
export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
|
|
9491
|
+
export interface SchemaCreatorAuditInfoDto {
|
|
9492
|
+
objectId: string;
|
|
9493
|
+
userId: string;
|
|
9494
|
+
userFullName?: string | null;
|
|
9495
|
+
}
|
|
9496
|
+
export interface SchemaCreatorDocumentParseStatusDto {
|
|
9497
|
+
inProgress: boolean;
|
|
9498
|
+
attempt?: SchemaCreatorParseAttemptDto | null;
|
|
9499
|
+
}
|
|
9500
|
+
export interface SchemaCreatorXmlGeometryDto {
|
|
9501
|
+
xmlAttributeId: number;
|
|
9502
|
+
snipRect: SchemaCreatorRectDto;
|
|
9503
|
+
balloon: SchemaCreatorPointDto;
|
|
9504
|
+
pageIndex: number;
|
|
9505
|
+
}
|
|
9310
9506
|
export interface MeasurementFormSchemaDto {
|
|
9311
9507
|
id: string;
|
|
9312
9508
|
versionId: number;
|
|
@@ -9338,9 +9534,7 @@ export interface MeasurementFormSchemaDto {
|
|
|
9338
9534
|
}
|
|
9339
9535
|
export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
9340
9536
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
9341
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
9342
9537
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
9343
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
9344
9538
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
9345
9539
|
url: string;
|
|
9346
9540
|
title: string;
|
|
@@ -9349,6 +9543,7 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
9349
9543
|
id: string;
|
|
9350
9544
|
balloonId?: string | null;
|
|
9351
9545
|
reference: number;
|
|
9546
|
+
originalXmlId?: number | null;
|
|
9352
9547
|
imageUrl?: string | null;
|
|
9353
9548
|
thumbnailUrl?: string | null;
|
|
9354
9549
|
section?: string | null;
|
|
@@ -9389,7 +9584,6 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
9389
9584
|
isValid: boolean;
|
|
9390
9585
|
validationErrorMessage?: string | null;
|
|
9391
9586
|
}
|
|
9392
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
9393
9587
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
9394
9588
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
9395
9589
|
export interface MeasurementFormLinkedSchemaDto {
|
|
@@ -9502,6 +9696,7 @@ export interface UploadDrawingRequest {
|
|
|
9502
9696
|
export interface UploadRequest {
|
|
9503
9697
|
uploadKey: string;
|
|
9504
9698
|
filename: string;
|
|
9699
|
+
isMarkedDrawing?: boolean | null;
|
|
9505
9700
|
}
|
|
9506
9701
|
export interface MeasurementFormImportStatusDto {
|
|
9507
9702
|
progress: number;
|
|
@@ -9577,6 +9772,8 @@ export interface MeasurementFormCustomerSettingsDto {
|
|
|
9577
9772
|
validationRuleId?: string | null;
|
|
9578
9773
|
requireCalibratedTools: boolean;
|
|
9579
9774
|
allowEmptyToolListInValue: boolean;
|
|
9775
|
+
disableAiParseDocument: boolean;
|
|
9776
|
+
disableAiParseSnip: boolean;
|
|
9580
9777
|
}
|
|
9581
9778
|
export interface UpdateMeasurementFormCustomerSettings {
|
|
9582
9779
|
customerId: string;
|
|
@@ -9585,6 +9782,8 @@ export interface UpdateMeasurementFormCustomerSettings {
|
|
|
9585
9782
|
validationRuleId?: string | null;
|
|
9586
9783
|
requireCalibratedTools: boolean;
|
|
9587
9784
|
allowEmptyToolListInValue: boolean;
|
|
9785
|
+
disableAiParseDocument: boolean;
|
|
9786
|
+
disableAiParseSnip: boolean;
|
|
9588
9787
|
}
|
|
9589
9788
|
export interface MeasurementFormMappingDto {
|
|
9590
9789
|
id: string;
|