@ignos/api-client 20260904.258.1 → 20260905.260.1-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2933,6 +2933,99 @@ export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase
2933
2933
  listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
2934
2934
  protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]>;
2935
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
+ * Renders the legacy-format image for one element's current snip.
2970
+ Fire-and-forget from the client on every snip commit - the resulting
2971
+ image isn't returned here, it's only ever read back once the schema
2972
+ is released (SchemaCreatorLegacyMapper).
2973
+ */
2974
+ renderSchemaCreatorElementSnipImage(schemaVersionId: string, elementId: string, request: RenderSchemaCreatorElementSnipImageRequest): Promise<void>;
2975
+ }
2976
+ export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
2977
+ private http;
2978
+ private baseUrl;
2979
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2980
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2981
+ });
2982
+ getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
2983
+ protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
2984
+ /**
2985
+ * Creates the initial creator state for a schema version. Returns 409 if
2986
+ state already exists; the caller should re-fetch it instead of writing.
2987
+ */
2988
+ createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2989
+ protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
2990
+ updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2991
+ protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
2992
+ /**
2993
+ * Geometry only (no values), derived from the schema's retained
2994
+ InspectionXpert XML - used to seed a not-yet-created state with real
2995
+ drawing positions. Throws BadRequest if the schema has no such XML +
2996
+ drawing to derive it from.
2997
+ */
2998
+ getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
2999
+ protected processGetSchemaCreatorXmlGeometry(response: Response): Promise<SchemaCreatorXmlGeometryDto[]>;
3000
+ /**
3001
+ * Starts a full drawing AI parse: clears every element and locks the
3002
+ schema for every viewer until it completes. If one is already in
3003
+ progress, returns that instead of starting a second one.
3004
+ */
3005
+ requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
3006
+ protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto>;
3007
+ /**
3008
+ * Stamps the creator state's balloons onto the schema's drawing PDF and
3009
+ returns a temporary download link.
3010
+ */
3011
+ exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
3012
+ protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto>;
3013
+ /**
3014
+ * Starts an async snip resolve; the result is delivered through the
3015
+ SchemaCreatorSnipResolved SignalR notification.
3016
+ * @param image (optional)
3017
+ */
3018
+ requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
3019
+ protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void>;
3020
+ /**
3021
+ * Renders the legacy-format image for one element's current snip.
3022
+ Fire-and-forget from the client on every snip commit - the resulting
3023
+ image isn't returned here, it's only ever read back once the schema
3024
+ is released (SchemaCreatorLegacyMapper).
3025
+ */
3026
+ renderSchemaCreatorElementSnipImage(schemaVersionId: string, elementId: string, request: RenderSchemaCreatorElementSnipImageRequest): Promise<void>;
3027
+ protected processRenderSchemaCreatorElementSnipImage(response: Response): Promise<void>;
3028
+ }
2936
3029
  export interface IMeasurementFormSchemasAdminClient {
2937
3030
  getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
2938
3031
  createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
@@ -2944,7 +3037,7 @@ export interface IMeasurementFormSchemasAdminClient {
2944
3037
  deleteSchemaRows(id: string, request: DeleteSchemaGroupedElementRowsDto): Promise<MeasurementFormSchemaDto>;
2945
3038
  uploadMeasurementImage(id: string, request: UploadMeasurementImageRequest): Promise<MeasurementFormSchemaDto>;
2946
3039
  updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
2947
- uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
3040
+ uploadSchemaMarkedDrawing(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
2948
3041
  uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
2949
3042
  getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
2950
3043
  listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
@@ -3027,8 +3120,8 @@ export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase
3027
3120
  protected processUploadMeasurementImage(response: Response): Promise<MeasurementFormSchemaDto>;
3028
3121
  updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
3029
3122
  protected processUpdateSchemaSettings(response: Response): Promise<UpdateSchemaSettingsRequest>;
3030
- uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
3031
- protected processUploadSchemaDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
3123
+ uploadSchemaMarkedDrawing(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
3124
+ protected processUploadSchemaMarkedDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
3032
3125
  uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
3033
3126
  protected processUploadSchemaAttachment(response: Response): Promise<MeasurementFormSchemaDto>;
3034
3127
  getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
@@ -3190,6 +3283,7 @@ export interface IMeasurementFormsInstancesClient {
3190
3283
  completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3191
3284
  completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
3192
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>;
3193
3287
  getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
3194
3288
  getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3195
3289
  getValidationRules(): Promise<ValidationRuleDto[]>;
@@ -3228,6 +3322,8 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
3228
3322
  protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
3229
3323
  getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3230
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>;
3231
3327
  getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
3232
3328
  protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
3233
3329
  getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
@@ -4796,7 +4892,6 @@ export interface PulseJournalEventDto {
4796
4892
  eventType: PulseJournalEventTypeDto;
4797
4893
  oldValue?: string | null;
4798
4894
  newValue?: string | null;
4799
- lineText?: string | null;
4800
4895
  created: Date;
4801
4896
  createdBy?: string | null;
4802
4897
  }
@@ -8611,7 +8706,6 @@ export interface ImaChemicalAnalysisCompositeResultDto {
8611
8706
  prenW?: ImaSpecificationCalculatedResultLineDto | null;
8612
8707
  v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
8613
8708
  ce?: ImaSpecificationCalculatedResultLineDto | null;
8614
- nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
8615
8709
  }
8616
8710
  export interface ImaSpecificationCalculatedResultLineDto {
8617
8711
  specificationMin?: number | null;
@@ -8863,7 +8957,6 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
8863
8957
  prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8864
8958
  v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8865
8959
  ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8866
- nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8867
8960
  }
8868
8961
  export interface ImaOverrideTensileTestResultsDto {
8869
8962
  heatNumber?: string | null;
@@ -9038,7 +9131,6 @@ export interface ImaMaterialCheckReportDto {
9038
9131
  includesAllHeats: boolean;
9039
9132
  status: ImaMaterialCheckStatusDto;
9040
9133
  audit: ImaMaterialCheckReportAuditInfo;
9041
- isOutdated: boolean;
9042
9134
  }
9043
9135
  export interface ImaMaterialCheckReportAuditInfo {
9044
9136
  createdBy: string;
@@ -9202,7 +9294,6 @@ export interface ImaChemistryCompositeSpecificationDto {
9202
9294
  prenW?: ImaSpecificationLineDto | null;
9203
9295
  v_Nb_Ti?: boolean | null;
9204
9296
  ce?: boolean | null;
9205
- nb_Ta?: ImaSpecificationLineDto | null;
9206
9297
  }
9207
9298
  export interface ImaMechanicalSpecificationDto {
9208
9299
  tensile?: ImaTensileSpecificationDto | null;
@@ -9301,6 +9392,115 @@ export interface ImaSpecificationLiteDto {
9301
9392
  updated: Date;
9302
9393
  isDeleted: boolean;
9303
9394
  }
9395
+ export interface SchemaCreatorStateDto {
9396
+ settings: SchemaCreatorSettingsDto;
9397
+ elements: SchemaCreatorElementDto[];
9398
+ documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
9399
+ isAutoGenerated?: boolean;
9400
+ createdBy?: SchemaCreatorAuditInfoDto | null;
9401
+ createdAt?: Date | null;
9402
+ updatedBy?: SchemaCreatorAuditInfoDto | null;
9403
+ updatedAt?: Date | null;
9404
+ }
9405
+ export interface SchemaCreatorSettingsDto {
9406
+ unit?: SchemaCreatorUnitOfMeasureDto;
9407
+ tolerance?: GeneralToleranceDto;
9408
+ balloonSize?: number;
9409
+ transparentBalloons?: boolean;
9410
+ }
9411
+ export type SchemaCreatorUnitOfMeasureDto = "Millimeter" | "Inch" | "Mixed";
9412
+ export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
9413
+ export interface SchemaCreatorElementDto {
9414
+ id: string;
9415
+ kind: SchemaCreatorElementKindDto;
9416
+ drawings: SchemaCreatorElementDrawingsDto;
9417
+ isDirty?: boolean | null;
9418
+ values?: SchemaCreatorElementValuesDto | null;
9419
+ parseResult?: SchemaCreatorSnipResultDto | null;
9420
+ resolveAttempt?: SchemaCreatorParseAttemptDto | null;
9421
+ createdBy?: SchemaCreatorAuditInfoDto | null;
9422
+ createdAt?: Date | null;
9423
+ updatedBy?: SchemaCreatorAuditInfoDto | null;
9424
+ updatedAt?: Date | null;
9425
+ }
9426
+ export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
9427
+ export interface SchemaCreatorElementDrawingsDto {
9428
+ snip: SchemaCreatorSnipDto;
9429
+ balloon: SchemaCreatorPointDto;
9430
+ pageIndex: number;
9431
+ }
9432
+ export interface SchemaCreatorSnipDto {
9433
+ rect: SchemaCreatorRectDto;
9434
+ rotation?: number | null;
9435
+ unrotatedRect?: SchemaCreatorRectDto | null;
9436
+ }
9437
+ export interface SchemaCreatorRectDto {
9438
+ origin: SchemaCreatorPointDto;
9439
+ size: SchemaCreatorSizeDto;
9440
+ }
9441
+ export interface SchemaCreatorPointDto {
9442
+ x: number;
9443
+ y: number;
9444
+ }
9445
+ export interface SchemaCreatorSizeDto {
9446
+ width: number;
9447
+ height: number;
9448
+ }
9449
+ export interface SchemaCreatorElementValuesDto {
9450
+ reference: number;
9451
+ unit?: UnitOfMeasureDto | null;
9452
+ nominal?: number | null;
9453
+ nominalText?: string | null;
9454
+ upperLimit?: number | null;
9455
+ lowerLimit?: number | null;
9456
+ plusTolerance?: number | null;
9457
+ minusTolerance?: number | null;
9458
+ coatingThickness?: number | null;
9459
+ measurementFrequency: MeasurementFrequency;
9460
+ measurementFrequencyParameter?: number | null;
9461
+ type?: string | null;
9462
+ count?: number | null;
9463
+ comment?: string | null;
9464
+ canCopy: boolean;
9465
+ visibleToCustomer: boolean;
9466
+ isDocumentedExternally: boolean;
9467
+ }
9468
+ export type UnitOfMeasureDto = "Millimeter" | "Inch";
9469
+ export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
9470
+ export interface SchemaCreatorSnipResultDto {
9471
+ nominal?: number | null;
9472
+ nominalText?: string | null;
9473
+ upperLimit?: number | null;
9474
+ lowerLimit?: number | null;
9475
+ plusTolerance?: number | null;
9476
+ minusTolerance?: number | null;
9477
+ count?: number | null;
9478
+ }
9479
+ export interface SchemaCreatorParseAttemptDto {
9480
+ startedAt: Date;
9481
+ errorType?: SchemaCreatorParseErrorTypeDto | null;
9482
+ errorMessage?: string | null;
9483
+ }
9484
+ export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
9485
+ export interface SchemaCreatorAuditInfoDto {
9486
+ objectId: string;
9487
+ userId: string;
9488
+ userFullName?: string | null;
9489
+ }
9490
+ export interface SchemaCreatorDocumentParseStatusDto {
9491
+ inProgress: boolean;
9492
+ attempt?: SchemaCreatorParseAttemptDto | null;
9493
+ }
9494
+ export interface SchemaCreatorXmlGeometryDto {
9495
+ xmlAttributeId: number;
9496
+ snipRect: SchemaCreatorRectDto;
9497
+ balloon: SchemaCreatorPointDto;
9498
+ pageIndex: number;
9499
+ }
9500
+ export interface RenderSchemaCreatorElementSnipImageRequest {
9501
+ pageIndex: number;
9502
+ snip: SchemaCreatorSnipDto;
9503
+ }
9304
9504
  export interface MeasurementFormSchemaDto {
9305
9505
  id: string;
9306
9506
  versionId: number;
@@ -9332,9 +9532,7 @@ export interface MeasurementFormSchemaDto {
9332
9532
  }
9333
9533
  export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
9334
9534
  export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
9335
- export type UnitOfMeasureDto = "Millimeter" | "Inch";
9336
9535
  export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
9337
- export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
9338
9536
  export interface MeasurementFormSchemaAttachmentDto {
9339
9537
  url: string;
9340
9538
  title: string;
@@ -9343,6 +9541,7 @@ export interface MeasurementFormGroupedElementDto {
9343
9541
  id: string;
9344
9542
  balloonId?: string | null;
9345
9543
  reference: number;
9544
+ originalXmlId?: number | null;
9346
9545
  imageUrl?: string | null;
9347
9546
  thumbnailUrl?: string | null;
9348
9547
  section?: string | null;
@@ -9383,7 +9582,6 @@ export interface MeasurementFormGroupedElementDto {
9383
9582
  isValid: boolean;
9384
9583
  validationErrorMessage?: string | null;
9385
9584
  }
9386
- export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
9387
9585
  export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
9388
9586
  export type BonusType = "None" | "Positive" | "PositiveAndNegative";
9389
9587
  export interface MeasurementFormLinkedSchemaDto {
@@ -9489,10 +9687,6 @@ export interface UpdateSchemaSettingsRequest {
9489
9687
  dimensionSetting: DimensionSettingDto;
9490
9688
  generalTolerance: GeneralToleranceDto;
9491
9689
  }
9492
- export interface UploadDrawingRequest {
9493
- uploadKey: string;
9494
- filename: string;
9495
- }
9496
9690
  export interface UploadRequest {
9497
9691
  uploadKey: string;
9498
9692
  filename: string;
@@ -9671,6 +9865,10 @@ export interface MeasurementFormSchemaNotNeededDto {
9671
9865
  export interface SetMeasurementFormNeedAsNotNeededRequest {
9672
9866
  comment?: string | null;
9673
9867
  }
9868
+ export interface UploadDrawingRequest {
9869
+ uploadKey: string;
9870
+ filename: string;
9871
+ }
9674
9872
  export interface PagedResultOfMeasurementFormSchemaNotNeededDto {
9675
9873
  results: MeasurementFormSchemaNotNeededDto[];
9676
9874
  continuationToken?: string | null;