@ignos/api-client 20260904.257.1 → 20260905.259.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,84 @@ 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(id: 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(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2943
+ updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2944
+ /**
2945
+ * Starts a full drawing AI parse: clears every element and locks the
2946
+ schema for every viewer until it completes. If one is already in
2947
+ progress, returns that instead of starting a second one.
2948
+ */
2949
+ requestSchemaCreatorDocumentParse(id: string): Promise<SchemaCreatorStateDto>;
2950
+ /**
2951
+ * Stamps the creator state's balloons onto the schema's drawing PDF and
2952
+ returns a temporary download link.
2953
+ */
2954
+ exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
2955
+ /**
2956
+ * Starts an async snip resolve; the result is delivered through the
2957
+ SchemaCreatorSnipResolved SignalR notification.
2958
+ * @param image (optional)
2959
+ */
2960
+ requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
2961
+ /**
2962
+ * Renders the legacy-format image for one element's current snip.
2963
+ Fire-and-forget from the client on every snip commit - the resulting
2964
+ image isn't returned here, it's only ever read back once the schema
2965
+ is released (SchemaCreatorLegacyMapper).
2966
+ */
2967
+ renderSchemaCreatorElementSnipImage(id: string, elementId: string, request: RenderSchemaCreatorElementSnipImageRequest): 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(id: 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(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2982
+ protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
2983
+ updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2984
+ protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
2985
+ /**
2986
+ * Starts a full drawing AI parse: clears every element and locks the
2987
+ schema for every viewer until it completes. If one is already in
2988
+ progress, returns that instead of starting a second one.
2989
+ */
2990
+ requestSchemaCreatorDocumentParse(id: string): Promise<SchemaCreatorStateDto>;
2991
+ protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto>;
2992
+ /**
2993
+ * Stamps the creator state's balloons onto the schema's drawing PDF and
2994
+ returns a temporary download link.
2995
+ */
2996
+ exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
2997
+ protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto>;
2998
+ /**
2999
+ * Starts an async snip resolve; the result is delivered through the
3000
+ SchemaCreatorSnipResolved SignalR notification.
3001
+ * @param image (optional)
3002
+ */
3003
+ requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
3004
+ protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void>;
3005
+ /**
3006
+ * Renders the legacy-format image for one element's current snip.
3007
+ Fire-and-forget from the client on every snip commit - the resulting
3008
+ image isn't returned here, it's only ever read back once the schema
3009
+ is released (SchemaCreatorLegacyMapper).
3010
+ */
3011
+ renderSchemaCreatorElementSnipImage(id: string, elementId: string, request: RenderSchemaCreatorElementSnipImageRequest): Promise<void>;
3012
+ protected processRenderSchemaCreatorElementSnipImage(response: Response): Promise<void>;
3013
+ }
2936
3014
  export interface IMeasurementFormSchemasAdminClient {
2937
3015
  getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
2938
3016
  createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
@@ -2944,7 +3022,7 @@ export interface IMeasurementFormSchemasAdminClient {
2944
3022
  deleteSchemaRows(id: string, request: DeleteSchemaGroupedElementRowsDto): Promise<MeasurementFormSchemaDto>;
2945
3023
  uploadMeasurementImage(id: string, request: UploadMeasurementImageRequest): Promise<MeasurementFormSchemaDto>;
2946
3024
  updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
2947
- uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
3025
+ uploadSchemaMarkedDrawing(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
2948
3026
  uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
2949
3027
  getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
2950
3028
  listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
@@ -3027,8 +3105,8 @@ export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase
3027
3105
  protected processUploadMeasurementImage(response: Response): Promise<MeasurementFormSchemaDto>;
3028
3106
  updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
3029
3107
  protected processUpdateSchemaSettings(response: Response): Promise<UpdateSchemaSettingsRequest>;
3030
- uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
3031
- protected processUploadSchemaDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
3108
+ uploadSchemaMarkedDrawing(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
3109
+ protected processUploadSchemaMarkedDrawing(response: Response): Promise<MeasurementFormSchemaDto>;
3032
3110
  uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
3033
3111
  protected processUploadSchemaAttachment(response: Response): Promise<MeasurementFormSchemaDto>;
3034
3112
  getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
@@ -3190,6 +3268,7 @@ export interface IMeasurementFormsInstancesClient {
3190
3268
  completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3191
3269
  completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
3192
3270
  getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3271
+ getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
3193
3272
  getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
3194
3273
  getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3195
3274
  getValidationRules(): Promise<ValidationRuleDto[]>;
@@ -3228,6 +3307,8 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
3228
3307
  protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
3229
3308
  getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3230
3309
  protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
3310
+ getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
3311
+ protected processGetMeasurementFormInstanceSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
3231
3312
  getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
3232
3313
  protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
3233
3314
  getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
@@ -4796,7 +4877,6 @@ export interface PulseJournalEventDto {
4796
4877
  eventType: PulseJournalEventTypeDto;
4797
4878
  oldValue?: string | null;
4798
4879
  newValue?: string | null;
4799
- lineText?: string | null;
4800
4880
  created: Date;
4801
4881
  createdBy?: string | null;
4802
4882
  }
@@ -8611,7 +8691,6 @@ export interface ImaChemicalAnalysisCompositeResultDto {
8611
8691
  prenW?: ImaSpecificationCalculatedResultLineDto | null;
8612
8692
  v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
8613
8693
  ce?: ImaSpecificationCalculatedResultLineDto | null;
8614
- nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
8615
8694
  }
8616
8695
  export interface ImaSpecificationCalculatedResultLineDto {
8617
8696
  specificationMin?: number | null;
@@ -8863,7 +8942,6 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
8863
8942
  prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8864
8943
  v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8865
8944
  ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8866
- nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8867
8945
  }
8868
8946
  export interface ImaOverrideTensileTestResultsDto {
8869
8947
  heatNumber?: string | null;
@@ -9201,7 +9279,6 @@ export interface ImaChemistryCompositeSpecificationDto {
9201
9279
  prenW?: ImaSpecificationLineDto | null;
9202
9280
  v_Nb_Ti?: boolean | null;
9203
9281
  ce?: boolean | null;
9204
- nb_Ta?: ImaSpecificationLineDto | null;
9205
9282
  }
9206
9283
  export interface ImaMechanicalSpecificationDto {
9207
9284
  tensile?: ImaTensileSpecificationDto | null;
@@ -9300,6 +9377,109 @@ export interface ImaSpecificationLiteDto {
9300
9377
  updated: Date;
9301
9378
  isDeleted: boolean;
9302
9379
  }
9380
+ export interface SchemaCreatorStateDto {
9381
+ settings: SchemaCreatorSettingsDto;
9382
+ elements: SchemaCreatorElementDto[];
9383
+ documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
9384
+ isAutoGenerated?: boolean;
9385
+ createdBy?: SchemaCreatorAuditInfoDto | null;
9386
+ createdAt?: Date | null;
9387
+ updatedBy?: SchemaCreatorAuditInfoDto | null;
9388
+ updatedAt?: Date | null;
9389
+ }
9390
+ export interface SchemaCreatorSettingsDto {
9391
+ unit?: SchemaCreatorUnitOfMeasureDto;
9392
+ tolerance?: GeneralToleranceDto;
9393
+ balloonSize?: number;
9394
+ transparentBalloons?: boolean;
9395
+ }
9396
+ export type SchemaCreatorUnitOfMeasureDto = "Millimeter" | "Inch" | "Mixed";
9397
+ export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
9398
+ export interface SchemaCreatorElementDto {
9399
+ id: string;
9400
+ kind: SchemaCreatorElementKindDto;
9401
+ drawings: SchemaCreatorElementDrawingsDto;
9402
+ isDirty?: boolean | null;
9403
+ values?: SchemaCreatorElementValuesDto | null;
9404
+ parseResult?: SchemaCreatorSnipResultDto | null;
9405
+ resolveAttempt?: SchemaCreatorParseAttemptDto | null;
9406
+ createdBy?: SchemaCreatorAuditInfoDto | null;
9407
+ createdAt?: Date | null;
9408
+ updatedBy?: SchemaCreatorAuditInfoDto | null;
9409
+ updatedAt?: Date | null;
9410
+ }
9411
+ export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
9412
+ export interface SchemaCreatorElementDrawingsDto {
9413
+ snip: SchemaCreatorSnipDto;
9414
+ balloon: SchemaCreatorPointDto;
9415
+ pageIndex: number;
9416
+ }
9417
+ export interface SchemaCreatorSnipDto {
9418
+ rect: SchemaCreatorRectDto;
9419
+ rotation?: number | null;
9420
+ unrotatedRect?: SchemaCreatorRectDto | null;
9421
+ }
9422
+ export interface SchemaCreatorRectDto {
9423
+ origin: SchemaCreatorPointDto;
9424
+ size: SchemaCreatorSizeDto;
9425
+ }
9426
+ export interface SchemaCreatorPointDto {
9427
+ x: number;
9428
+ y: number;
9429
+ }
9430
+ export interface SchemaCreatorSizeDto {
9431
+ width: number;
9432
+ height: number;
9433
+ }
9434
+ export interface SchemaCreatorElementValuesDto {
9435
+ reference: number;
9436
+ unit?: UnitOfMeasureDto | null;
9437
+ nominal?: number | null;
9438
+ nominalText?: string | null;
9439
+ upperLimit?: number | null;
9440
+ lowerLimit?: number | null;
9441
+ plusTolerance?: number | null;
9442
+ minusTolerance?: number | null;
9443
+ coatingThickness?: number | null;
9444
+ measurementFrequency: MeasurementFrequency;
9445
+ measurementFrequencyParameter?: number | null;
9446
+ type?: string | null;
9447
+ count?: number | null;
9448
+ comment?: string | null;
9449
+ canCopy: boolean;
9450
+ visibleToCustomer: boolean;
9451
+ isDocumentedExternally: boolean;
9452
+ }
9453
+ export type UnitOfMeasureDto = "Millimeter" | "Inch";
9454
+ export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
9455
+ export interface SchemaCreatorSnipResultDto {
9456
+ nominal?: number | null;
9457
+ nominalText?: string | null;
9458
+ upperLimit?: number | null;
9459
+ lowerLimit?: number | null;
9460
+ plusTolerance?: number | null;
9461
+ minusTolerance?: number | null;
9462
+ count?: number | null;
9463
+ }
9464
+ export interface SchemaCreatorParseAttemptDto {
9465
+ startedAt: Date;
9466
+ errorType?: SchemaCreatorParseErrorTypeDto | null;
9467
+ errorMessage?: string | null;
9468
+ }
9469
+ export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
9470
+ export interface SchemaCreatorAuditInfoDto {
9471
+ objectId: string;
9472
+ userId: string;
9473
+ userFullName?: string | null;
9474
+ }
9475
+ export interface SchemaCreatorDocumentParseStatusDto {
9476
+ inProgress: boolean;
9477
+ attempt?: SchemaCreatorParseAttemptDto | null;
9478
+ }
9479
+ export interface RenderSchemaCreatorElementSnipImageRequest {
9480
+ pageIndex: number;
9481
+ snip: SchemaCreatorSnipDto;
9482
+ }
9303
9483
  export interface MeasurementFormSchemaDto {
9304
9484
  id: string;
9305
9485
  versionId: number;
@@ -9331,9 +9511,7 @@ export interface MeasurementFormSchemaDto {
9331
9511
  }
9332
9512
  export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
9333
9513
  export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
9334
- export type UnitOfMeasureDto = "Millimeter" | "Inch";
9335
9514
  export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
9336
- export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
9337
9515
  export interface MeasurementFormSchemaAttachmentDto {
9338
9516
  url: string;
9339
9517
  title: string;
@@ -9382,7 +9560,6 @@ export interface MeasurementFormGroupedElementDto {
9382
9560
  isValid: boolean;
9383
9561
  validationErrorMessage?: string | null;
9384
9562
  }
9385
- export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
9386
9563
  export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
9387
9564
  export type BonusType = "None" | "Positive" | "PositiveAndNegative";
9388
9565
  export interface MeasurementFormLinkedSchemaDto {
@@ -9488,10 +9665,6 @@ export interface UpdateSchemaSettingsRequest {
9488
9665
  dimensionSetting: DimensionSettingDto;
9489
9666
  generalTolerance: GeneralToleranceDto;
9490
9667
  }
9491
- export interface UploadDrawingRequest {
9492
- uploadKey: string;
9493
- filename: string;
9494
- }
9495
9668
  export interface UploadRequest {
9496
9669
  uploadKey: string;
9497
9670
  filename: string;
@@ -9670,6 +9843,10 @@ export interface MeasurementFormSchemaNotNeededDto {
9670
9843
  export interface SetMeasurementFormNeedAsNotNeededRequest {
9671
9844
  comment?: string | null;
9672
9845
  }
9846
+ export interface UploadDrawingRequest {
9847
+ uploadKey: string;
9848
+ filename: string;
9849
+ }
9673
9850
  export interface PagedResultOfMeasurementFormSchemaNotNeededDto {
9674
9851
  results: MeasurementFormSchemaNotNeededDto[];
9675
9852
  continuationToken?: string | null;