@ignos/api-client 20260921.282.1-alpha → 20260921.283.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.
@@ -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
  }
@@ -924,6 +924,7 @@ export interface IMrbClient {
924
924
  createMrb(createMrb: CreateMrb): Promise<MrbInstanceJobDto>;
925
925
  listRecentMrbIntances(): Promise<MrbInstanceDto[]>;
926
926
  getMrbInstance(id: string): Promise<MrbInstanceDto>;
927
+ updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
927
928
  listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
928
929
  createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
929
930
  deleteMrbRevision(id: string, revisionId: number): Promise<void>;
@@ -991,6 +992,8 @@ export declare class MrbClient extends AuthorizedApiBase implements IMrbClient {
991
992
  protected processListRecentMrbIntances(response: Response): Promise<MrbInstanceDto[]>;
992
993
  getMrbInstance(id: string): Promise<MrbInstanceDto>;
993
994
  protected processGetMrbInstance(response: Response): Promise<MrbInstanceDto>;
995
+ updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
996
+ protected processUpdateMrbInstanceNcInfo(response: Response): Promise<void>;
994
997
  listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
995
998
  protected processListMrbInstanceRevisions(response: Response): Promise<MrbInstanceRevisionDto[]>;
996
999
  createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
@@ -2936,6 +2939,84 @@ export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase
2936
2939
  listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
2937
2940
  protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]>;
2938
2941
  }
2942
+ export interface IInspectSchemaCreatorClient {
2943
+ getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
2944
+ /**
2945
+ * Creates the initial creator state for a schema version. Returns 409 if
2946
+ state already exists; the caller should re-fetch it instead of writing.
2947
+ */
2948
+ createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2949
+ updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2950
+ /**
2951
+ * Geometry only (no values), derived from the schema's retained
2952
+ InspectionXpert XML - used to seed a not-yet-created state with real
2953
+ drawing positions. Throws BadRequest if the schema has no such XML +
2954
+ drawing to derive it from.
2955
+ */
2956
+ getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
2957
+ /**
2958
+ * Starts a full drawing AI parse: clears every element and locks the
2959
+ schema for every viewer until it completes. If one is already in
2960
+ progress, returns that instead of starting a second one.
2961
+ */
2962
+ requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
2963
+ /**
2964
+ * Stamps the creator state's balloons onto the schema's drawing PDF and
2965
+ returns a temporary download link.
2966
+ */
2967
+ exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
2968
+ /**
2969
+ * Starts an async snip resolve; the result is delivered through the
2970
+ SchemaCreatorSnipResolved SignalR notification.
2971
+ * @param image (optional)
2972
+ */
2973
+ requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
2974
+ }
2975
+ export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
2976
+ private http;
2977
+ private baseUrl;
2978
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2979
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2980
+ });
2981
+ getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
2982
+ protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
2983
+ /**
2984
+ * Creates the initial creator state for a schema version. Returns 409 if
2985
+ state already exists; the caller should re-fetch it instead of writing.
2986
+ */
2987
+ createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2988
+ protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
2989
+ updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2990
+ protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
2991
+ /**
2992
+ * Geometry only (no values), derived from the schema's retained
2993
+ InspectionXpert XML - used to seed a not-yet-created state with real
2994
+ drawing positions. Throws BadRequest if the schema has no such XML +
2995
+ drawing to derive it from.
2996
+ */
2997
+ getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
2998
+ protected processGetSchemaCreatorXmlGeometry(response: Response): Promise<SchemaCreatorXmlGeometryDto[]>;
2999
+ /**
3000
+ * Starts a full drawing AI parse: clears every element and locks the
3001
+ schema for every viewer until it completes. If one is already in
3002
+ progress, returns that instead of starting a second one.
3003
+ */
3004
+ requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
3005
+ protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto>;
3006
+ /**
3007
+ * Stamps the creator state's balloons onto the schema's drawing PDF and
3008
+ returns a temporary download link.
3009
+ */
3010
+ exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
3011
+ protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto>;
3012
+ /**
3013
+ * Starts an async snip resolve; the result is delivered through the
3014
+ SchemaCreatorSnipResolved SignalR notification.
3015
+ * @param image (optional)
3016
+ */
3017
+ requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
3018
+ protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void>;
3019
+ }
2939
3020
  export interface IMeasurementFormSchemasAdminClient {
2940
3021
  getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
2941
3022
  createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
@@ -2947,6 +3028,10 @@ export interface IMeasurementFormSchemasAdminClient {
2947
3028
  deleteSchemaRows(id: string, request: DeleteSchemaGroupedElementRowsDto): Promise<MeasurementFormSchemaDto>;
2948
3029
  uploadMeasurementImage(id: string, request: UploadMeasurementImageRequest): Promise<MeasurementFormSchemaDto>;
2949
3030
  updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
3031
+ uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
3032
+ /**
3033
+ * @deprecated
3034
+ */
2950
3035
  uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
2951
3036
  uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
2952
3037
  getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
@@ -3030,6 +3115,11 @@ export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase
3030
3115
  protected processUploadMeasurementImage(response: Response): Promise<MeasurementFormSchemaDto>;
3031
3116
  updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
3032
3117
  protected processUpdateSchemaSettings(response: Response): Promise<UpdateSchemaSettingsRequest>;
3118
+ uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
3119
+ protected processUploadSchemaMarkedDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
3120
+ /**
3121
+ * @deprecated
3122
+ */
3033
3123
  uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
3034
3124
  protected processUploadSchemaDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
3035
3125
  uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
@@ -3193,6 +3283,7 @@ export interface IMeasurementFormsInstancesClient {
3193
3283
  completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3194
3284
  completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
3195
3285
  getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3286
+ getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
3196
3287
  getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
3197
3288
  getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3198
3289
  getValidationRules(): Promise<ValidationRuleDto[]>;
@@ -3231,6 +3322,8 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
3231
3322
  protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
3232
3323
  getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3233
3324
  protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
3325
+ getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
3326
+ protected processGetMeasurementFormInstanceSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
3234
3327
  getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
3235
3328
  protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
3236
3329
  getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
@@ -4799,6 +4892,7 @@ export interface PulseJournalEventDto {
4799
4892
  eventType: PulseJournalEventTypeDto;
4800
4893
  oldValue?: string | null;
4801
4894
  newValue?: string | null;
4895
+ lineText?: string | null;
4802
4896
  created: Date;
4803
4897
  createdBy?: string | null;
4804
4898
  }
@@ -4977,6 +5071,7 @@ export interface MrbInstanceDto {
4977
5071
  part?: MrbPartDto | null;
4978
5072
  showSerialNumbersOnFrontPage?: boolean;
4979
5073
  showSerialNumbersOnCoC?: boolean;
5074
+ ncInfo?: string | null;
4980
5075
  }
4981
5076
  export interface CustomerOrderLineTraceItemDto {
4982
5077
  workOrder: string;
@@ -5019,6 +5114,9 @@ export interface MrbPartDto {
5019
5114
  partName?: string | null;
5020
5115
  partRevision?: string | null;
5021
5116
  }
5117
+ export interface UpdateMrbInstanceNcInfoRequest {
5118
+ ncInfo?: string | null;
5119
+ }
5022
5120
  export interface MrbInstanceJobDto {
5023
5121
  jobId: string;
5024
5122
  mrbInstanceId: string;
@@ -7674,7 +7772,7 @@ export interface SetProgramStatus {
7674
7772
  operationNumber?: number;
7675
7773
  status?: ProgramStatus;
7676
7774
  }
7677
- export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
7775
+ export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File" | "OperationText";
7678
7776
  export interface UpdateProductionOrderAttachmentRequest {
7679
7777
  type?: ProductionOrderAttachmentType;
7680
7778
  description: string;
@@ -8472,7 +8570,7 @@ export interface ImaMaterialCheckDto {
8472
8570
  specificationStatus: ImaSpecificationStatusDto;
8473
8571
  purchaseOrder?: string | null;
8474
8572
  purchaseOrderLine?: number | null;
8475
- purchaseOrderVendorBatches?: string[] | null;
8573
+ purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
8476
8574
  purchaseOrderPartName?: string | null;
8477
8575
  purchaseOrderPartNumber?: string | null;
8478
8576
  purchaseOrderPartRevision?: string | null;
@@ -8492,6 +8590,11 @@ export interface ImaMaterialCheckDto {
8492
8590
  specificationResults: ImaSpecificationResultsDto;
8493
8591
  }
8494
8592
  export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
8593
+ export interface PurchaseOrderMaterialBatchDto {
8594
+ batchNumber: string;
8595
+ itemNumber?: string | null;
8596
+ vendorBatch?: string | null;
8597
+ }
8495
8598
  export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
8496
8599
  export interface ImaCertificateTypeResultsDto {
8497
8600
  manufacturer: ImaCertificateTypeManufacturerResultsDto;
@@ -8623,6 +8726,7 @@ export interface ImaChemicalAnalysisCompositeResultDto {
8623
8726
  prenW?: ImaSpecificationCalculatedResultLineDto | null;
8624
8727
  v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
8625
8728
  ce?: ImaSpecificationCalculatedResultLineDto | null;
8729
+ nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
8626
8730
  }
8627
8731
  export interface ImaSpecificationCalculatedResultLineDto {
8628
8732
  specificationMin?: number | null;
@@ -8746,14 +8850,14 @@ export interface ImaHeatTreatmentCoolingResultLineDto {
8746
8850
  status: ImaSpecificationResultLineStatusDto;
8747
8851
  override?: ImaResultLineOverrideDto | null;
8748
8852
  }
8749
- export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
8853
+ export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "LiquidQuenching" | "NotSet";
8750
8854
  export interface ImaDocumentTypesResultsDto {
8751
8855
  ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
8752
8856
  radiologicalReport?: ImaSupplementaryCheckResultDto | null;
8753
8857
  liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
8754
8858
  magneticParticle?: ImaSupplementaryCheckResultDto | null;
8755
8859
  pmi?: ImaSupplementaryCheckResultDto | null;
8756
- hydrostatic?: ImaSupplementaryCheckResultDto | null;
8860
+ dyePenetrantReport?: ImaSupplementaryCheckResultDto | null;
8757
8861
  visualReport?: ImaSupplementaryCheckResultDto | null;
8758
8862
  dimensionalReport?: ImaSupplementaryCheckResultDto | null;
8759
8863
  microExaminationReport?: ImaSupplementaryCheckResultDto | null;
@@ -8874,6 +8978,7 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
8874
8978
  prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8875
8979
  v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8876
8980
  ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8981
+ nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8877
8982
  }
8878
8983
  export interface ImaOverrideTensileTestResultsDto {
8879
8984
  heatNumber?: string | null;
@@ -8951,7 +9056,7 @@ export interface ImaOverrideDocumentTypesResultsDto {
8951
9056
  liquidPenetrantCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8952
9057
  magneticParticle?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8953
9058
  pmi?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8954
- hydrostatic?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
9059
+ dyePenetrantReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8955
9060
  visualReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8956
9061
  dimensionalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8957
9062
  microExaminationReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
@@ -8984,7 +9089,7 @@ export interface ImaMaterialCheckLiteDto {
8984
9089
  specificationStatus: ImaSpecificationStatusDto;
8985
9090
  purchaseOrder?: string | null;
8986
9091
  purchaseOrderLine?: number | null;
8987
- purchaseOrderVendorBatches?: string[] | null;
9092
+ purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
8988
9093
  purchaseOrderPartName?: string | null;
8989
9094
  purchaseOrderPartNumber?: string | null;
8990
9095
  purchaseOrderPartRevision?: string | null;
@@ -9015,7 +9120,7 @@ export interface ImaMaterialChecksPageRequestDto {
9015
9120
  certificateTypeFilter?: string | null;
9016
9121
  purchaseOrderLineFilter?: number | null;
9017
9122
  heatFilter?: string | null;
9018
- vendorBatchesFilter?: string[] | null;
9123
+ vendorBatchesFilter?: string | null;
9019
9124
  purchaseOrderPartNameFilter?: string | null;
9020
9125
  purchaseOrderPartNumberFilter?: string | null;
9021
9126
  purchaseOrderDrawingFilter?: string | null;
@@ -9048,6 +9153,7 @@ export interface ImaMaterialCheckReportDto {
9048
9153
  includesAllHeats: boolean;
9049
9154
  status: ImaMaterialCheckStatusDto;
9050
9155
  audit: ImaMaterialCheckReportAuditInfo;
9156
+ isOutdated: boolean;
9051
9157
  }
9052
9158
  export interface ImaMaterialCheckReportAuditInfo {
9053
9159
  createdBy: string;
@@ -9073,7 +9179,7 @@ export interface PurchaseOrderMaterialLineDetailsDto {
9073
9179
  purchaseOrder: string;
9074
9180
  lineNumber?: number | null;
9075
9181
  dimension?: string | null;
9076
- vendorBatches: string[];
9182
+ batches: PurchaseOrderMaterialBatchDto[];
9077
9183
  mdsCodeFl?: string | null;
9078
9184
  typeOfCertificate?: string | null;
9079
9185
  }
@@ -9211,6 +9317,7 @@ export interface ImaChemistryCompositeSpecificationDto {
9211
9317
  prenW?: ImaSpecificationLineDto | null;
9212
9318
  v_Nb_Ti?: boolean | null;
9213
9319
  ce?: boolean | null;
9320
+ nb_Ta?: ImaSpecificationLineDto | null;
9214
9321
  }
9215
9322
  export interface ImaMechanicalSpecificationDto {
9216
9323
  tensile?: ImaTensileSpecificationDto | null;
@@ -9242,7 +9349,7 @@ export interface ImaDocumentTypesSpecificationDto {
9242
9349
  liquidPenetrantCertificate?: boolean;
9243
9350
  magneticParticle?: boolean;
9244
9351
  pmi?: boolean;
9245
- hydrostatic?: boolean;
9352
+ dyePenetrantReport?: boolean;
9246
9353
  visualReport?: boolean;
9247
9354
  dimensionalReport?: boolean;
9248
9355
  microExaminationReport?: boolean;
@@ -9309,6 +9416,113 @@ export interface ImaSpecificationLiteDto {
9309
9416
  updated: Date;
9310
9417
  isDeleted: boolean;
9311
9418
  }
9419
+ export interface SchemaCreatorStateDto {
9420
+ settings: SchemaCreatorSettingsDto;
9421
+ elements: SchemaCreatorElementDto[];
9422
+ documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
9423
+ isAutoGenerated?: boolean;
9424
+ createdBy?: SchemaCreatorAuditInfoDto | null;
9425
+ createdAt?: Date | null;
9426
+ updatedBy?: SchemaCreatorAuditInfoDto | null;
9427
+ updatedAt?: Date | null;
9428
+ }
9429
+ export interface SchemaCreatorSettingsDto {
9430
+ unit?: SchemaCreatorUnitOfMeasureDto;
9431
+ tolerance?: GeneralToleranceDto;
9432
+ balloonSize?: number;
9433
+ transparentBalloons?: boolean;
9434
+ }
9435
+ export type SchemaCreatorUnitOfMeasureDto = "Millimeter" | "Inch" | "Mixed";
9436
+ export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
9437
+ export interface SchemaCreatorElementDto {
9438
+ id: string;
9439
+ kind: SchemaCreatorElementKindDto;
9440
+ drawings: SchemaCreatorElementDrawingsDto;
9441
+ isDirty?: boolean | null;
9442
+ values?: SchemaCreatorElementValuesDto | null;
9443
+ valuesSnapshot?: SchemaCreatorElementValuesDto | null;
9444
+ parseResult?: SchemaCreatorSnipResultDto | null;
9445
+ resolveAttempt?: SchemaCreatorParseAttemptDto | null;
9446
+ createdBy?: SchemaCreatorAuditInfoDto | null;
9447
+ createdAt?: Date | null;
9448
+ updatedBy?: SchemaCreatorAuditInfoDto | null;
9449
+ updatedAt?: Date | null;
9450
+ }
9451
+ export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
9452
+ export interface SchemaCreatorElementDrawingsDto {
9453
+ snip: SchemaCreatorSnipDto;
9454
+ balloon: SchemaCreatorPointDto;
9455
+ pageIndex: number;
9456
+ }
9457
+ export interface SchemaCreatorSnipDto {
9458
+ rect: SchemaCreatorRectDto;
9459
+ rotation?: number | null;
9460
+ unrotatedRect?: SchemaCreatorRectDto | null;
9461
+ }
9462
+ export interface SchemaCreatorRectDto {
9463
+ origin: SchemaCreatorPointDto;
9464
+ size: SchemaCreatorSizeDto;
9465
+ }
9466
+ export interface SchemaCreatorPointDto {
9467
+ x: number;
9468
+ y: number;
9469
+ }
9470
+ export interface SchemaCreatorSizeDto {
9471
+ width: number;
9472
+ height: number;
9473
+ }
9474
+ export interface SchemaCreatorElementValuesDto {
9475
+ reference: number;
9476
+ unit?: UnitOfMeasureDto | null;
9477
+ nominal?: number | null;
9478
+ nominalText?: string | null;
9479
+ upperLimit?: number | null;
9480
+ lowerLimit?: number | null;
9481
+ plusTolerance?: number | null;
9482
+ minusTolerance?: number | null;
9483
+ coatingThickness?: number | null;
9484
+ measurementFrequency: MeasurementFrequency;
9485
+ measurementFrequencyParameter?: number | null;
9486
+ type?: string | null;
9487
+ count?: number | null;
9488
+ comment?: string | null;
9489
+ canCopy: boolean;
9490
+ visibleToCustomer: boolean;
9491
+ isDocumentedExternally: boolean;
9492
+ }
9493
+ export type UnitOfMeasureDto = "Millimeter" | "Inch";
9494
+ export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
9495
+ export interface SchemaCreatorSnipResultDto {
9496
+ nominal?: number | null;
9497
+ nominalText?: string | null;
9498
+ type?: string | null;
9499
+ upperLimit?: number | null;
9500
+ lowerLimit?: number | null;
9501
+ plusTolerance?: number | null;
9502
+ minusTolerance?: number | null;
9503
+ count?: number | null;
9504
+ }
9505
+ export interface SchemaCreatorParseAttemptDto {
9506
+ startedAt: Date;
9507
+ errorType?: SchemaCreatorParseErrorTypeDto | null;
9508
+ errorMessage?: string | null;
9509
+ }
9510
+ export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
9511
+ export interface SchemaCreatorAuditInfoDto {
9512
+ objectId: string;
9513
+ userId: string;
9514
+ userFullName?: string | null;
9515
+ }
9516
+ export interface SchemaCreatorDocumentParseStatusDto {
9517
+ inProgress: boolean;
9518
+ attempt?: SchemaCreatorParseAttemptDto | null;
9519
+ }
9520
+ export interface SchemaCreatorXmlGeometryDto {
9521
+ xmlAttributeId: number;
9522
+ snipRect: SchemaCreatorRectDto;
9523
+ balloon: SchemaCreatorPointDto;
9524
+ pageIndex: number;
9525
+ }
9312
9526
  export interface MeasurementFormSchemaDto {
9313
9527
  id: string;
9314
9528
  versionId: number;
@@ -9340,9 +9554,7 @@ export interface MeasurementFormSchemaDto {
9340
9554
  }
9341
9555
  export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
9342
9556
  export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
9343
- export type UnitOfMeasureDto = "Millimeter" | "Inch";
9344
9557
  export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
9345
- export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
9346
9558
  export interface MeasurementFormSchemaAttachmentDto {
9347
9559
  url: string;
9348
9560
  title: string;
@@ -9351,6 +9563,7 @@ export interface MeasurementFormGroupedElementDto {
9351
9563
  id: string;
9352
9564
  balloonId?: string | null;
9353
9565
  reference: number;
9566
+ originalXmlId?: number | null;
9354
9567
  imageUrl?: string | null;
9355
9568
  thumbnailUrl?: string | null;
9356
9569
  section?: string | null;
@@ -9391,7 +9604,6 @@ export interface MeasurementFormGroupedElementDto {
9391
9604
  isValid: boolean;
9392
9605
  validationErrorMessage?: string | null;
9393
9606
  }
9394
- export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
9395
9607
  export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
9396
9608
  export type BonusType = "None" | "Positive" | "PositiveAndNegative";
9397
9609
  export interface MeasurementFormLinkedSchemaDto {
@@ -9504,6 +9716,7 @@ export interface UploadDrawingRequest {
9504
9716
  export interface UploadRequest {
9505
9717
  uploadKey: string;
9506
9718
  filename: string;
9719
+ isMarkedDrawing?: boolean | null;
9507
9720
  }
9508
9721
  export interface MeasurementFormImportStatusDto {
9509
9722
  progress: number;
@@ -9579,6 +9792,8 @@ export interface MeasurementFormCustomerSettingsDto {
9579
9792
  validationRuleId?: string | null;
9580
9793
  requireCalibratedTools: boolean;
9581
9794
  allowEmptyToolListInValue: boolean;
9795
+ disableAiParseDocument: boolean;
9796
+ disableAiParseSnip: boolean;
9582
9797
  }
9583
9798
  export interface UpdateMeasurementFormCustomerSettings {
9584
9799
  customerId: string;
@@ -9587,6 +9802,8 @@ export interface UpdateMeasurementFormCustomerSettings {
9587
9802
  validationRuleId?: string | null;
9588
9803
  requireCalibratedTools: boolean;
9589
9804
  allowEmptyToolListInValue: boolean;
9805
+ disableAiParseDocument: boolean;
9806
+ disableAiParseSnip: boolean;
9590
9807
  }
9591
9808
  export interface MeasurementFormMappingDto {
9592
9809
  id: string;