@ignos/api-client 20260921.282.1-alpha → 20260924.284.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>;
@@ -2776,11 +2779,11 @@ export declare class WeldingClient extends AuthorizedApiBase implements IWelding
2776
2779
  }
2777
2780
  export interface IInspectMatchCertificateTypesAdminClient {
2778
2781
  createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2779
- copyMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2780
- createNewVersionForCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
2781
- releaseMaterialCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
2782
- updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2783
- deleteMaterialCertificateType(id: string, version: number | null | undefined): Promise<void>;
2782
+ copyMaterialCertificateType(id: string, version: number | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2783
+ createNewVersionForCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto>;
2784
+ releaseMaterialCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto>;
2785
+ updateMaterialCertificateType(id: string, version: number | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2786
+ deleteMaterialCertificateType(id: string, version: number | undefined): Promise<void>;
2784
2787
  }
2785
2788
  export declare class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase implements IInspectMatchCertificateTypesAdminClient {
2786
2789
  private http;
@@ -2790,15 +2793,15 @@ export declare class InspectMatchCertificateTypesAdminClient extends AuthorizedA
2790
2793
  });
2791
2794
  createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2792
2795
  protected processCreateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto>;
2793
- copyMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2796
+ copyMaterialCertificateType(id: string, version: number | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2794
2797
  protected processCopyMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
2795
- createNewVersionForCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
2798
+ createNewVersionForCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto>;
2796
2799
  protected processCreateNewVersionForCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
2797
- releaseMaterialCertificateType(id: string, version: number | null | undefined): Promise<ImaCertificateTypeDto>;
2800
+ releaseMaterialCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto>;
2798
2801
  protected processReleaseMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
2799
- updateMaterialCertificateType(id: string, version: number | null | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2802
+ updateMaterialCertificateType(id: string, version: number | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
2800
2803
  protected processUpdateMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
2801
- deleteMaterialCertificateType(id: string, version: number | null | undefined): Promise<void>;
2804
+ deleteMaterialCertificateType(id: string, version: number | undefined): Promise<void>;
2802
2805
  protected processDeleteMaterialCertificateType(response: Response): Promise<void>;
2803
2806
  }
2804
2807
  export interface IInspectMatchCertificateTypesClient {
@@ -2896,11 +2899,11 @@ export declare class InspectMatchSettingsClient extends AuthorizedApiBase implem
2896
2899
  }
2897
2900
  export interface IInspectMatchSpecificationsAdminClient {
2898
2901
  createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
2899
- copySpecification(id: string, version: number | null | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
2900
- createNewVersionForSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
2901
- releaseSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
2902
- updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
2903
- deleteSpecification(id: string, version: number | null | undefined): Promise<void>;
2902
+ copySpecification(id: string, version: number | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
2903
+ createNewVersionForSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto>;
2904
+ releaseSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto>;
2905
+ updateSpecification(id: string, version: number | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
2906
+ deleteSpecification(id: string, version: number | undefined): Promise<void>;
2904
2907
  }
2905
2908
  export declare class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase implements IInspectMatchSpecificationsAdminClient {
2906
2909
  private http;
@@ -2910,15 +2913,15 @@ export declare class InspectMatchSpecificationsAdminClient extends AuthorizedApi
2910
2913
  });
2911
2914
  createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
2912
2915
  protected processCreateSpecification(response: Response): Promise<ImaSpecificationDto>;
2913
- copySpecification(id: string, version: number | null | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
2916
+ copySpecification(id: string, version: number | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
2914
2917
  protected processCopySpecification(response: Response): Promise<ImaSpecificationDto>;
2915
- createNewVersionForSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
2918
+ createNewVersionForSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto>;
2916
2919
  protected processCreateNewVersionForSpecification(response: Response): Promise<ImaSpecificationDto>;
2917
- releaseSpecification(id: string, version: number | null | undefined): Promise<ImaSpecificationDto>;
2920
+ releaseSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto>;
2918
2921
  protected processReleaseSpecification(response: Response): Promise<ImaSpecificationDto>;
2919
- updateSpecification(id: string, version: number | null | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
2922
+ updateSpecification(id: string, version: number | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
2920
2923
  protected processUpdateSpecification(response: Response): Promise<ImaSpecificationDto>;
2921
- deleteSpecification(id: string, version: number | null | undefined): Promise<void>;
2924
+ deleteSpecification(id: string, version: number | undefined): Promise<void>;
2922
2925
  protected processDeleteSpecification(response: Response): Promise<void>;
2923
2926
  }
2924
2927
  export interface IInspectMatchSpecificationsClient {
@@ -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
  }
@@ -4967,6 +5061,7 @@ export interface MrbInstanceDto {
4967
5061
  customerOrder: string;
4968
5062
  customerOrderLine: number;
4969
5063
  externalOrderNumber?: string | null;
5064
+ customerAddress?: string | null;
4970
5065
  traces: CustomerOrderLineTraceItemDto[];
4971
5066
  mrbTemplateId?: string | null;
4972
5067
  mrbTemplateName?: string | null;
@@ -4977,6 +5072,7 @@ export interface MrbInstanceDto {
4977
5072
  part?: MrbPartDto | null;
4978
5073
  showSerialNumbersOnFrontPage?: boolean;
4979
5074
  showSerialNumbersOnCoC?: boolean;
5075
+ ncInfo?: string | null;
4980
5076
  }
4981
5077
  export interface CustomerOrderLineTraceItemDto {
4982
5078
  workOrder: string;
@@ -5019,6 +5115,9 @@ export interface MrbPartDto {
5019
5115
  partName?: string | null;
5020
5116
  partRevision?: string | null;
5021
5117
  }
5118
+ export interface UpdateMrbInstanceNcInfoRequest {
5119
+ ncInfo?: string | null;
5120
+ }
5022
5121
  export interface MrbInstanceJobDto {
5023
5122
  jobId: string;
5024
5123
  mrbInstanceId: string;
@@ -5201,6 +5300,7 @@ export interface MrbCompanySettingsDto {
5201
5300
  ownArticleLabel?: string | null;
5202
5301
  coCStatement?: string | null;
5203
5302
  addressLines: string[];
5303
+ contactPerson?: ContactPersonDto | null;
5204
5304
  sequenceFormat?: string | null;
5205
5305
  batchSequencePrefix?: string | null;
5206
5306
  batchSequenceFormat?: string | null;
@@ -5210,6 +5310,11 @@ export interface MrbCompanySettingsDto {
5210
5310
  disableTraceEditing: boolean;
5211
5311
  skipTraceQuantityValidation: boolean;
5212
5312
  }
5313
+ export interface ContactPersonDto {
5314
+ name: string;
5315
+ phone: string;
5316
+ email: string;
5317
+ }
5213
5318
  export interface UpsertMrbCompanySettings {
5214
5319
  stampWithLot: boolean;
5215
5320
  stampWithVendorBatch: boolean;
@@ -5220,6 +5325,7 @@ export interface UpsertMrbCompanySettings {
5220
5325
  ownArticleLabel?: string | null;
5221
5326
  coCStatement?: string | null;
5222
5327
  addressLines: string[];
5328
+ contactPerson?: ContactPersonDto | null;
5223
5329
  sequenceFormat?: string | null;
5224
5330
  batchSequencePrefix?: string | null;
5225
5331
  batchSequenceFormat?: string | null;
@@ -7674,7 +7780,7 @@ export interface SetProgramStatus {
7674
7780
  operationNumber?: number;
7675
7781
  status?: ProgramStatus;
7676
7782
  }
7677
- export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
7783
+ export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File" | "OperationText";
7678
7784
  export interface UpdateProductionOrderAttachmentRequest {
7679
7785
  type?: ProductionOrderAttachmentType;
7680
7786
  description: string;
@@ -8300,6 +8406,7 @@ export interface ImaCertificateTypeDto {
8300
8406
  updatedByName?: string | null;
8301
8407
  updated: Date;
8302
8408
  isDeleted: boolean;
8409
+ canBeDeleted: boolean;
8303
8410
  requirements: ImaCertificateTypeRequirementsDto;
8304
8411
  }
8305
8412
  export interface ImaCertificateTypeVersionDto {
@@ -8472,7 +8579,7 @@ export interface ImaMaterialCheckDto {
8472
8579
  specificationStatus: ImaSpecificationStatusDto;
8473
8580
  purchaseOrder?: string | null;
8474
8581
  purchaseOrderLine?: number | null;
8475
- purchaseOrderVendorBatches?: string[] | null;
8582
+ purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
8476
8583
  purchaseOrderPartName?: string | null;
8477
8584
  purchaseOrderPartNumber?: string | null;
8478
8585
  purchaseOrderPartRevision?: string | null;
@@ -8492,6 +8599,11 @@ export interface ImaMaterialCheckDto {
8492
8599
  specificationResults: ImaSpecificationResultsDto;
8493
8600
  }
8494
8601
  export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
8602
+ export interface PurchaseOrderMaterialBatchDto {
8603
+ batchNumber: string;
8604
+ itemNumber?: string | null;
8605
+ vendorBatch?: string | null;
8606
+ }
8495
8607
  export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
8496
8608
  export interface ImaCertificateTypeResultsDto {
8497
8609
  manufacturer: ImaCertificateTypeManufacturerResultsDto;
@@ -8623,6 +8735,7 @@ export interface ImaChemicalAnalysisCompositeResultDto {
8623
8735
  prenW?: ImaSpecificationCalculatedResultLineDto | null;
8624
8736
  v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
8625
8737
  ce?: ImaSpecificationCalculatedResultLineDto | null;
8738
+ nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
8626
8739
  }
8627
8740
  export interface ImaSpecificationCalculatedResultLineDto {
8628
8741
  specificationMin?: number | null;
@@ -8746,14 +8859,14 @@ export interface ImaHeatTreatmentCoolingResultLineDto {
8746
8859
  status: ImaSpecificationResultLineStatusDto;
8747
8860
  override?: ImaResultLineOverrideDto | null;
8748
8861
  }
8749
- export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
8862
+ export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "LiquidQuenching" | "NotSet";
8750
8863
  export interface ImaDocumentTypesResultsDto {
8751
8864
  ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
8752
8865
  radiologicalReport?: ImaSupplementaryCheckResultDto | null;
8753
8866
  liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
8754
8867
  magneticParticle?: ImaSupplementaryCheckResultDto | null;
8755
8868
  pmi?: ImaSupplementaryCheckResultDto | null;
8756
- hydrostatic?: ImaSupplementaryCheckResultDto | null;
8869
+ dyePenetrantReport?: ImaSupplementaryCheckResultDto | null;
8757
8870
  visualReport?: ImaSupplementaryCheckResultDto | null;
8758
8871
  dimensionalReport?: ImaSupplementaryCheckResultDto | null;
8759
8872
  microExaminationReport?: ImaSupplementaryCheckResultDto | null;
@@ -8874,6 +8987,7 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
8874
8987
  prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8875
8988
  v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8876
8989
  ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8990
+ nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8877
8991
  }
8878
8992
  export interface ImaOverrideTensileTestResultsDto {
8879
8993
  heatNumber?: string | null;
@@ -8951,7 +9065,7 @@ export interface ImaOverrideDocumentTypesResultsDto {
8951
9065
  liquidPenetrantCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8952
9066
  magneticParticle?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8953
9067
  pmi?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8954
- hydrostatic?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
9068
+ dyePenetrantReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8955
9069
  visualReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8956
9070
  dimensionalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8957
9071
  microExaminationReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
@@ -8984,7 +9098,7 @@ export interface ImaMaterialCheckLiteDto {
8984
9098
  specificationStatus: ImaSpecificationStatusDto;
8985
9099
  purchaseOrder?: string | null;
8986
9100
  purchaseOrderLine?: number | null;
8987
- purchaseOrderVendorBatches?: string[] | null;
9101
+ purchaseOrderBatches?: PurchaseOrderMaterialBatchDto[] | null;
8988
9102
  purchaseOrderPartName?: string | null;
8989
9103
  purchaseOrderPartNumber?: string | null;
8990
9104
  purchaseOrderPartRevision?: string | null;
@@ -9015,7 +9129,7 @@ export interface ImaMaterialChecksPageRequestDto {
9015
9129
  certificateTypeFilter?: string | null;
9016
9130
  purchaseOrderLineFilter?: number | null;
9017
9131
  heatFilter?: string | null;
9018
- vendorBatchesFilter?: string[] | null;
9132
+ vendorBatchesFilter?: string | null;
9019
9133
  purchaseOrderPartNameFilter?: string | null;
9020
9134
  purchaseOrderPartNumberFilter?: string | null;
9021
9135
  purchaseOrderDrawingFilter?: string | null;
@@ -9048,6 +9162,7 @@ export interface ImaMaterialCheckReportDto {
9048
9162
  includesAllHeats: boolean;
9049
9163
  status: ImaMaterialCheckStatusDto;
9050
9164
  audit: ImaMaterialCheckReportAuditInfo;
9165
+ isOutdated: boolean;
9051
9166
  }
9052
9167
  export interface ImaMaterialCheckReportAuditInfo {
9053
9168
  createdBy: string;
@@ -9073,7 +9188,7 @@ export interface PurchaseOrderMaterialLineDetailsDto {
9073
9188
  purchaseOrder: string;
9074
9189
  lineNumber?: number | null;
9075
9190
  dimension?: string | null;
9076
- vendorBatches: string[];
9191
+ batches: PurchaseOrderMaterialBatchDto[];
9077
9192
  mdsCodeFl?: string | null;
9078
9193
  typeOfCertificate?: string | null;
9079
9194
  }
@@ -9099,6 +9214,7 @@ export interface User {
9099
9214
  }
9100
9215
  export interface ImaMatchSettingsDto {
9101
9216
  columns: ImaMatchSettingsColumnsDto;
9217
+ erpEnabled: boolean;
9102
9218
  }
9103
9219
  export interface ImaMatchSettingsColumnsDto {
9104
9220
  fileName: boolean;
@@ -9157,6 +9273,7 @@ export interface ImaSpecificationDto {
9157
9273
  updatedByName?: string | null;
9158
9274
  updated: Date;
9159
9275
  isDeleted: boolean;
9276
+ canBeDeleted: boolean;
9160
9277
  chemistrySpecification: ImaChemistrySpecificationDto;
9161
9278
  chemistryCompositeSpecification: ImaChemistryCompositeSpecificationDto;
9162
9279
  mechanicalSpecification: ImaMechanicalSpecificationDto;
@@ -9211,6 +9328,7 @@ export interface ImaChemistryCompositeSpecificationDto {
9211
9328
  prenW?: ImaSpecificationLineDto | null;
9212
9329
  v_Nb_Ti?: boolean | null;
9213
9330
  ce?: boolean | null;
9331
+ nb_Ta?: ImaSpecificationLineDto | null;
9214
9332
  }
9215
9333
  export interface ImaMechanicalSpecificationDto {
9216
9334
  tensile?: ImaTensileSpecificationDto | null;
@@ -9242,7 +9360,7 @@ export interface ImaDocumentTypesSpecificationDto {
9242
9360
  liquidPenetrantCertificate?: boolean;
9243
9361
  magneticParticle?: boolean;
9244
9362
  pmi?: boolean;
9245
- hydrostatic?: boolean;
9363
+ dyePenetrantReport?: boolean;
9246
9364
  visualReport?: boolean;
9247
9365
  dimensionalReport?: boolean;
9248
9366
  microExaminationReport?: boolean;
@@ -9309,6 +9427,113 @@ export interface ImaSpecificationLiteDto {
9309
9427
  updated: Date;
9310
9428
  isDeleted: boolean;
9311
9429
  }
9430
+ export interface SchemaCreatorStateDto {
9431
+ settings: SchemaCreatorSettingsDto;
9432
+ elements: SchemaCreatorElementDto[];
9433
+ documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
9434
+ isAutoGenerated?: boolean;
9435
+ createdBy?: SchemaCreatorAuditInfoDto | null;
9436
+ createdAt?: Date | null;
9437
+ updatedBy?: SchemaCreatorAuditInfoDto | null;
9438
+ updatedAt?: Date | null;
9439
+ }
9440
+ export interface SchemaCreatorSettingsDto {
9441
+ unit?: SchemaCreatorUnitOfMeasureDto;
9442
+ tolerance?: GeneralToleranceDto;
9443
+ balloonSize?: number;
9444
+ transparentBalloons?: boolean;
9445
+ }
9446
+ export type SchemaCreatorUnitOfMeasureDto = "Millimeter" | "Inch" | "Mixed";
9447
+ export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
9448
+ export interface SchemaCreatorElementDto {
9449
+ id: string;
9450
+ kind: SchemaCreatorElementKindDto;
9451
+ drawings: SchemaCreatorElementDrawingsDto;
9452
+ isDirty?: boolean | null;
9453
+ values?: SchemaCreatorElementValuesDto | null;
9454
+ valuesSnapshot?: SchemaCreatorElementValuesDto | null;
9455
+ parseResult?: SchemaCreatorSnipResultDto | null;
9456
+ resolveAttempt?: SchemaCreatorParseAttemptDto | null;
9457
+ createdBy?: SchemaCreatorAuditInfoDto | null;
9458
+ createdAt?: Date | null;
9459
+ updatedBy?: SchemaCreatorAuditInfoDto | null;
9460
+ updatedAt?: Date | null;
9461
+ }
9462
+ export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
9463
+ export interface SchemaCreatorElementDrawingsDto {
9464
+ snip: SchemaCreatorSnipDto;
9465
+ balloon: SchemaCreatorPointDto;
9466
+ pageIndex: number;
9467
+ }
9468
+ export interface SchemaCreatorSnipDto {
9469
+ rect: SchemaCreatorRectDto;
9470
+ rotation?: number | null;
9471
+ unrotatedRect?: SchemaCreatorRectDto | null;
9472
+ }
9473
+ export interface SchemaCreatorRectDto {
9474
+ origin: SchemaCreatorPointDto;
9475
+ size: SchemaCreatorSizeDto;
9476
+ }
9477
+ export interface SchemaCreatorPointDto {
9478
+ x: number;
9479
+ y: number;
9480
+ }
9481
+ export interface SchemaCreatorSizeDto {
9482
+ width: number;
9483
+ height: number;
9484
+ }
9485
+ export interface SchemaCreatorElementValuesDto {
9486
+ reference: number;
9487
+ unit?: UnitOfMeasureDto | null;
9488
+ nominal?: number | null;
9489
+ nominalText?: string | null;
9490
+ upperLimit?: number | null;
9491
+ lowerLimit?: number | null;
9492
+ plusTolerance?: number | null;
9493
+ minusTolerance?: number | null;
9494
+ coatingThickness?: number | null;
9495
+ measurementFrequency: MeasurementFrequency;
9496
+ measurementFrequencyParameter?: number | null;
9497
+ type?: string | null;
9498
+ count?: number | null;
9499
+ comment?: string | null;
9500
+ canCopy: boolean;
9501
+ visibleToCustomer: boolean;
9502
+ isDocumentedExternally: boolean;
9503
+ }
9504
+ export type UnitOfMeasureDto = "Millimeter" | "Inch";
9505
+ export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
9506
+ export interface SchemaCreatorSnipResultDto {
9507
+ nominal?: number | null;
9508
+ nominalText?: string | null;
9509
+ type?: string | null;
9510
+ upperLimit?: number | null;
9511
+ lowerLimit?: number | null;
9512
+ plusTolerance?: number | null;
9513
+ minusTolerance?: number | null;
9514
+ count?: number | null;
9515
+ }
9516
+ export interface SchemaCreatorParseAttemptDto {
9517
+ startedAt: Date;
9518
+ errorType?: SchemaCreatorParseErrorTypeDto | null;
9519
+ errorMessage?: string | null;
9520
+ }
9521
+ export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
9522
+ export interface SchemaCreatorAuditInfoDto {
9523
+ objectId: string;
9524
+ userId: string;
9525
+ userFullName?: string | null;
9526
+ }
9527
+ export interface SchemaCreatorDocumentParseStatusDto {
9528
+ inProgress: boolean;
9529
+ attempt?: SchemaCreatorParseAttemptDto | null;
9530
+ }
9531
+ export interface SchemaCreatorXmlGeometryDto {
9532
+ xmlAttributeId: number;
9533
+ snipRect: SchemaCreatorRectDto;
9534
+ balloon: SchemaCreatorPointDto;
9535
+ pageIndex: number;
9536
+ }
9312
9537
  export interface MeasurementFormSchemaDto {
9313
9538
  id: string;
9314
9539
  versionId: number;
@@ -9340,9 +9565,7 @@ export interface MeasurementFormSchemaDto {
9340
9565
  }
9341
9566
  export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
9342
9567
  export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
9343
- export type UnitOfMeasureDto = "Millimeter" | "Inch";
9344
9568
  export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
9345
- export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
9346
9569
  export interface MeasurementFormSchemaAttachmentDto {
9347
9570
  url: string;
9348
9571
  title: string;
@@ -9351,6 +9574,7 @@ export interface MeasurementFormGroupedElementDto {
9351
9574
  id: string;
9352
9575
  balloonId?: string | null;
9353
9576
  reference: number;
9577
+ originalXmlId?: number | null;
9354
9578
  imageUrl?: string | null;
9355
9579
  thumbnailUrl?: string | null;
9356
9580
  section?: string | null;
@@ -9391,7 +9615,6 @@ export interface MeasurementFormGroupedElementDto {
9391
9615
  isValid: boolean;
9392
9616
  validationErrorMessage?: string | null;
9393
9617
  }
9394
- export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
9395
9618
  export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
9396
9619
  export type BonusType = "None" | "Positive" | "PositiveAndNegative";
9397
9620
  export interface MeasurementFormLinkedSchemaDto {
@@ -9504,6 +9727,7 @@ export interface UploadDrawingRequest {
9504
9727
  export interface UploadRequest {
9505
9728
  uploadKey: string;
9506
9729
  filename: string;
9730
+ isMarkedDrawing?: boolean | null;
9507
9731
  }
9508
9732
  export interface MeasurementFormImportStatusDto {
9509
9733
  progress: number;
@@ -9579,6 +9803,8 @@ export interface MeasurementFormCustomerSettingsDto {
9579
9803
  validationRuleId?: string | null;
9580
9804
  requireCalibratedTools: boolean;
9581
9805
  allowEmptyToolListInValue: boolean;
9806
+ disableAiParseDocument: boolean;
9807
+ disableAiParseSnip: boolean;
9582
9808
  }
9583
9809
  export interface UpdateMeasurementFormCustomerSettings {
9584
9810
  customerId: string;
@@ -9587,6 +9813,8 @@ export interface UpdateMeasurementFormCustomerSettings {
9587
9813
  validationRuleId?: string | null;
9588
9814
  requireCalibratedTools: boolean;
9589
9815
  allowEmptyToolListInValue: boolean;
9816
+ disableAiParseDocument: boolean;
9817
+ disableAiParseSnip: boolean;
9590
9818
  }
9591
9819
  export interface MeasurementFormMappingDto {
9592
9820
  id: string;
@@ -10126,6 +10354,7 @@ export interface CustomerOrderLineDto {
10126
10354
  status: CustomerOrderLineStatus;
10127
10355
  part: PartDto;
10128
10356
  deliveryDate?: Date | null;
10357
+ customerAddress?: string | null;
10129
10358
  workorderHierarchy: WorkorderHierarchyDto[];
10130
10359
  workorderHiearchy?: WorkorderHierarchyDto[] | null;
10131
10360
  }
@@ -10134,6 +10363,8 @@ export interface WorkorderHierarchyDto {
10134
10363
  workorder: string;
10135
10364
  quantity: number;
10136
10365
  totalQuantity: number;
10366
+ parentOrder?: string | null;
10367
+ parentItem?: string | null;
10137
10368
  workorders: WorkorderHierarchyDto[];
10138
10369
  }
10139
10370
  export interface PagedResultOfCustomerOrderDto {