@ignos/api-client 20260820.229.1 → 20260820.230.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.
@@ -2873,6 +2873,69 @@ export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase
2873
2873
  listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
2874
2874
  protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]>;
2875
2875
  }
2876
+ export interface IInspectSchemaCreatorClient {
2877
+ getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto>;
2878
+ /**
2879
+ * Creates the initial creator state for a schema version. Returns 409 if
2880
+ state already exists; the caller should re-fetch it instead of writing.
2881
+ */
2882
+ createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2883
+ updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2884
+ /**
2885
+ * Starts a full drawing AI parse: clears every element and locks the
2886
+ schema for every viewer until it completes. If one is already in
2887
+ progress, returns that instead of starting a second one.
2888
+ */
2889
+ requestSchemaCreatorDocumentParse(id: string): Promise<SchemaCreatorStateDto>;
2890
+ /**
2891
+ * Stamps the creator state's balloons onto the schema's drawing PDF and
2892
+ returns a temporary download link.
2893
+ */
2894
+ exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
2895
+ /**
2896
+ * Starts an async snip resolve; the result is delivered through the
2897
+ SchemaCreatorSnipResolved SignalR notification.
2898
+ * @param image (optional)
2899
+ */
2900
+ requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
2901
+ }
2902
+ export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
2903
+ private http;
2904
+ private baseUrl;
2905
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2906
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2907
+ });
2908
+ getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto>;
2909
+ protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
2910
+ /**
2911
+ * Creates the initial creator state for a schema version. Returns 409 if
2912
+ state already exists; the caller should re-fetch it instead of writing.
2913
+ */
2914
+ createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2915
+ protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
2916
+ updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
2917
+ protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
2918
+ /**
2919
+ * Starts a full drawing AI parse: clears every element and locks the
2920
+ schema for every viewer until it completes. If one is already in
2921
+ progress, returns that instead of starting a second one.
2922
+ */
2923
+ requestSchemaCreatorDocumentParse(id: string): Promise<SchemaCreatorStateDto>;
2924
+ protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto>;
2925
+ /**
2926
+ * Stamps the creator state's balloons onto the schema's drawing PDF and
2927
+ returns a temporary download link.
2928
+ */
2929
+ exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
2930
+ protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto>;
2931
+ /**
2932
+ * Starts an async snip resolve; the result is delivered through the
2933
+ SchemaCreatorSnipResolved SignalR notification.
2934
+ * @param image (optional)
2935
+ */
2936
+ requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
2937
+ protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void>;
2938
+ }
2876
2939
  export interface IMeasurementFormSchemasAdminClient {
2877
2940
  getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
2878
2941
  createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
@@ -8375,9 +8438,17 @@ export interface ImaCertificateTypeThirdPartyResultsDto {
8375
8438
  }
8376
8439
  export interface ImaCertificateTypeCertificationResultsDto {
8377
8440
  certificateType?: ImaCertificateTypeResultLine | null;
8378
- certificateOfCompliance?: ImaCertificateTypeResultLine | null;
8441
+ certificateOfCompliance?: ImaSupplementaryCheckResultDto | null;
8379
8442
  inspectionCertificate?: ImaCertificateTypeResultLine | null;
8380
8443
  }
8444
+ export interface ImaSupplementaryCheckResultDto {
8445
+ status?: string | null;
8446
+ documentId?: string | null;
8447
+ acceptable?: boolean | null;
8448
+ standards: string[];
8449
+ summary?: string | null;
8450
+ override?: ImaResultLineOverrideDto | null;
8451
+ }
8381
8452
  export interface ImaCertificateTypeProductAndOrderInformationResultsDto {
8382
8453
  productDescription?: ImaCertificateTypeResultLine | null;
8383
8454
  materialGrade?: ImaCertificateTypeResultLine | null;
@@ -8387,7 +8458,12 @@ export interface ImaCertificateTypeProductAndOrderInformationResultsDto {
8387
8458
  batchNumber?: ImaCertificateTypeResultLine | null;
8388
8459
  heatNumber?: ImaCertificateTypeResultLine | null;
8389
8460
  relevantStandard?: ImaCertificateTypeResultLine | null;
8390
- steelMaking?: ImaCertificateTypeResultLine | null;
8461
+ steelMaking: ImaSteelMakingResultDto;
8462
+ }
8463
+ export interface ImaSteelMakingResultDto {
8464
+ raw?: string[] | null;
8465
+ chain?: string[] | null;
8466
+ unmatched?: string[] | null;
8391
8467
  }
8392
8468
  export interface ImaCertificateTypeTestMethodsAndReferencesResultsDto {
8393
8469
  usedStandards?: ImaCertificateTypeResultLine | null;
@@ -8592,14 +8668,6 @@ export interface ImaDocumentTypesResultsDto {
8592
8668
  dimensionalReport?: ImaSupplementaryCheckResultDto | null;
8593
8669
  microExaminationReport?: ImaSupplementaryCheckResultDto | null;
8594
8670
  }
8595
- export interface ImaSupplementaryCheckResultDto {
8596
- status?: string | null;
8597
- documentId?: string | null;
8598
- acceptable?: boolean | null;
8599
- standards: string[];
8600
- summary?: string | null;
8601
- override?: ImaResultLineOverrideDto | null;
8602
- }
8603
8671
  export interface ImaOverrideMaterialCheckRequestDto {
8604
8672
  certificateTypeSection?: ImaOverrideCertificateTypeResultsDto | null;
8605
8673
  chemicalAnalysisSection?: ImaOverrideChemicalAnalysisResultsDto[] | null;
@@ -8608,7 +8676,6 @@ export interface ImaOverrideMaterialCheckRequestDto {
8608
8676
  impactTestSection?: ImaOverrideImpactTestResultsDto[] | null;
8609
8677
  corrosionTestSection?: ImaOverrideCorrosionTestResultsDto[] | null;
8610
8678
  ferriteResultSection?: ImaOverrideFerriteResultDto[] | null;
8611
- heatTreatmentSection?: ImaOverrideHeatTreatmentResultDto[] | null;
8612
8679
  documentTypesSection?: ImaOverrideDocumentTypesResultsDto | null;
8613
8680
  }
8614
8681
  export interface ImaOverrideCertificateTypeResultsDto {
@@ -8659,7 +8726,6 @@ export interface ImaOverrideCertificateTypeProductAndOrderInformationResultsDto
8659
8726
  batchNumber?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8660
8727
  heatNumber?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8661
8728
  relevantStandard?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8662
- steelMaking?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8663
8729
  }
8664
8730
  export interface ImaOverrideCertificateTypeTestMethodsAndReferencesResultsDto {
8665
8731
  usedStandards?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
@@ -8762,23 +8828,6 @@ export interface ImaOverrideFerriteResultDto {
8762
8828
  sampleReference?: string | null;
8763
8829
  ferrite?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8764
8830
  }
8765
- export interface ImaOverrideHeatTreatmentResultDto {
8766
- heatNumber?: string | null;
8767
- step?: number;
8768
- heating?: ImaOverrideHeatTreatmentHeatingResultDto | null;
8769
- cooling?: ImaOverrideHeatTreatmentCoolingResultDto | null;
8770
- }
8771
- export interface ImaOverrideHeatTreatmentHeatingResultDto {
8772
- heatingMethod?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8773
- temperature?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8774
- heatingRate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8775
- soakTime?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8776
- }
8777
- export interface ImaOverrideHeatTreatmentCoolingResultDto {
8778
- coolingMethod?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8779
- temperature?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8780
- coolingRate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8781
- }
8782
8831
  export interface ImaOverrideDocumentTypesResultsDto {
8783
8832
  ultrasonicControlCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
8784
8833
  radiologicalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
@@ -9143,6 +9192,97 @@ export interface ImaSpecificationLiteDto {
9143
9192
  updated: Date;
9144
9193
  isDeleted: boolean;
9145
9194
  }
9195
+ export interface SchemaCreatorStateDto {
9196
+ settings: SchemaCreatorSettingsDto;
9197
+ elements: SchemaCreatorElementDto[];
9198
+ documentParse?: SchemaCreatorDocumentParseStatusDto | null;
9199
+ isAutoGenerated?: boolean;
9200
+ }
9201
+ export interface SchemaCreatorSettingsDto {
9202
+ unit?: UnitOfMeasureDto;
9203
+ tolerance?: GeneralToleranceDto;
9204
+ balloonSize?: number;
9205
+ transparentBalloons?: boolean;
9206
+ }
9207
+ export type UnitOfMeasureDto = "Millimeter" | "Inch";
9208
+ export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
9209
+ export interface SchemaCreatorElementDto {
9210
+ id: string;
9211
+ kind: SchemaCreatorElementKindDto;
9212
+ drawings: SchemaCreatorElementDrawingsDto;
9213
+ isDirty?: boolean | null;
9214
+ values?: SchemaCreatorElementValuesDto | null;
9215
+ parseResult?: SchemaCreatorSnipResultDto | null;
9216
+ resolveAttempt?: SchemaCreatorParseAttemptDto | null;
9217
+ createdBy: SchemaCreatorAuditInfoDto;
9218
+ createdAt: Date;
9219
+ updatedBy?: SchemaCreatorAuditInfoDto | null;
9220
+ updatedAt?: Date | null;
9221
+ }
9222
+ export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
9223
+ export interface SchemaCreatorElementDrawingsDto {
9224
+ square: SchemaCreatorDrawingDto;
9225
+ circle: SchemaCreatorDrawingDto;
9226
+ textId: string;
9227
+ }
9228
+ export interface SchemaCreatorDrawingDto {
9229
+ rect: SchemaCreatorRectDto;
9230
+ pageIndex: number;
9231
+ annotationId: string;
9232
+ rotation?: number | null;
9233
+ unrotatedRect?: SchemaCreatorRectDto | null;
9234
+ }
9235
+ export interface SchemaCreatorRectDto {
9236
+ origin: SchemaCreatorPointDto;
9237
+ size: SchemaCreatorSizeDto;
9238
+ }
9239
+ export interface SchemaCreatorPointDto {
9240
+ x: number;
9241
+ y: number;
9242
+ }
9243
+ export interface SchemaCreatorSizeDto {
9244
+ width: number;
9245
+ height: number;
9246
+ }
9247
+ export interface SchemaCreatorElementValuesDto {
9248
+ reference: number;
9249
+ nominal?: number | null;
9250
+ nominalText?: string | null;
9251
+ plusTolerance?: number | null;
9252
+ minusTolerance?: number | null;
9253
+ coatingThickness?: number | null;
9254
+ measurementFrequency: MeasurementFrequency;
9255
+ measurementFrequencyParameter?: number | null;
9256
+ type?: string | null;
9257
+ count?: number | null;
9258
+ comment?: string | null;
9259
+ canCopy: boolean;
9260
+ visibleToCustomer: boolean;
9261
+ isDocumentedExternally: boolean;
9262
+ }
9263
+ export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
9264
+ export interface SchemaCreatorSnipResultDto {
9265
+ nominal?: number | null;
9266
+ nominalText?: string | null;
9267
+ plusTolerance?: number | null;
9268
+ minusTolerance?: number | null;
9269
+ count?: number | null;
9270
+ }
9271
+ export interface SchemaCreatorParseAttemptDto {
9272
+ startedAt: Date;
9273
+ errorType?: SchemaCreatorParseErrorTypeDto | null;
9274
+ errorMessage?: string | null;
9275
+ }
9276
+ export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
9277
+ export interface SchemaCreatorAuditInfoDto {
9278
+ objectId: string;
9279
+ userId: string;
9280
+ userFullName?: string | null;
9281
+ }
9282
+ export interface SchemaCreatorDocumentParseStatusDto {
9283
+ inProgress: boolean;
9284
+ attempt?: SchemaCreatorParseAttemptDto | null;
9285
+ }
9146
9286
  export interface MeasurementFormSchemaDto {
9147
9287
  id: string;
9148
9288
  versionId: number;
@@ -9174,9 +9314,7 @@ export interface MeasurementFormSchemaDto {
9174
9314
  }
9175
9315
  export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
9176
9316
  export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
9177
- export type UnitOfMeasureDto = "Millimeter" | "Inch";
9178
9317
  export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
9179
- export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
9180
9318
  export interface MeasurementFormSchemaAttachmentDto {
9181
9319
  url: string;
9182
9320
  title: string;
@@ -9225,7 +9363,6 @@ export interface MeasurementFormGroupedElementDto {
9225
9363
  isValid: boolean;
9226
9364
  validationErrorMessage?: string | null;
9227
9365
  }
9228
- export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
9229
9366
  export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
9230
9367
  export type BonusType = "None" | "Positive" | "PositiveAndNegative";
9231
9368
  export interface MeasurementFormLinkedSchemaDto {
@@ -23737,6 +23737,281 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
23737
23737
  return Promise.resolve(null);
23738
23738
  }
23739
23739
  }
23740
+ export class InspectSchemaCreatorClient extends AuthorizedApiBase {
23741
+ constructor(configuration, baseUrl, http) {
23742
+ super(configuration);
23743
+ this.http = http ? http : window;
23744
+ this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
23745
+ }
23746
+ getSchemaCreatorState(id) {
23747
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
23748
+ if (id === undefined || id === null)
23749
+ throw new globalThis.Error("The parameter 'id' must be defined.");
23750
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
23751
+ url_ = url_.replace(/[?&]$/, "");
23752
+ let options_ = {
23753
+ method: "GET",
23754
+ headers: {
23755
+ "Accept": "application/json"
23756
+ }
23757
+ };
23758
+ return this.transformOptions(options_).then(transformedOptions_ => {
23759
+ return this.http.fetch(url_, transformedOptions_);
23760
+ }).then((_response) => {
23761
+ return this.processGetSchemaCreatorState(_response);
23762
+ });
23763
+ }
23764
+ processGetSchemaCreatorState(response) {
23765
+ const status = response.status;
23766
+ let _headers = {};
23767
+ if (response.headers && response.headers.forEach) {
23768
+ response.headers.forEach((v, k) => _headers[k] = v);
23769
+ }
23770
+ ;
23771
+ if (status === 200) {
23772
+ return response.text().then((_responseText) => {
23773
+ let result200 = null;
23774
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
23775
+ return result200;
23776
+ });
23777
+ }
23778
+ else if (status !== 200 && status !== 204) {
23779
+ return response.text().then((_responseText) => {
23780
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23781
+ });
23782
+ }
23783
+ return Promise.resolve(null);
23784
+ }
23785
+ /**
23786
+ * Creates the initial creator state for a schema version. Returns 409 if
23787
+ state already exists; the caller should re-fetch it instead of writing.
23788
+ */
23789
+ createSchemaCreatorState(id, state) {
23790
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
23791
+ if (id === undefined || id === null)
23792
+ throw new globalThis.Error("The parameter 'id' must be defined.");
23793
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
23794
+ url_ = url_.replace(/[?&]$/, "");
23795
+ const content_ = JSON.stringify(state);
23796
+ let options_ = {
23797
+ body: content_,
23798
+ method: "POST",
23799
+ headers: {
23800
+ "Content-Type": "application/json",
23801
+ "Accept": "application/json"
23802
+ }
23803
+ };
23804
+ return this.transformOptions(options_).then(transformedOptions_ => {
23805
+ return this.http.fetch(url_, transformedOptions_);
23806
+ }).then((_response) => {
23807
+ return this.processCreateSchemaCreatorState(_response);
23808
+ });
23809
+ }
23810
+ processCreateSchemaCreatorState(response) {
23811
+ const status = response.status;
23812
+ let _headers = {};
23813
+ if (response.headers && response.headers.forEach) {
23814
+ response.headers.forEach((v, k) => _headers[k] = v);
23815
+ }
23816
+ ;
23817
+ if (status === 201) {
23818
+ return response.text().then((_responseText) => {
23819
+ let result201 = null;
23820
+ result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
23821
+ return result201;
23822
+ });
23823
+ }
23824
+ else if (status === 409) {
23825
+ return response.text().then((_responseText) => {
23826
+ let result409 = null;
23827
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
23828
+ return throwException("A server side error occurred.", status, _responseText, _headers, result409);
23829
+ });
23830
+ }
23831
+ else if (status !== 200 && status !== 204) {
23832
+ return response.text().then((_responseText) => {
23833
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23834
+ });
23835
+ }
23836
+ return Promise.resolve(null);
23837
+ }
23838
+ updateSchemaCreatorState(id, state) {
23839
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
23840
+ if (id === undefined || id === null)
23841
+ throw new globalThis.Error("The parameter 'id' must be defined.");
23842
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
23843
+ url_ = url_.replace(/[?&]$/, "");
23844
+ const content_ = JSON.stringify(state);
23845
+ let options_ = {
23846
+ body: content_,
23847
+ method: "PUT",
23848
+ headers: {
23849
+ "Content-Type": "application/json",
23850
+ "Accept": "application/json"
23851
+ }
23852
+ };
23853
+ return this.transformOptions(options_).then(transformedOptions_ => {
23854
+ return this.http.fetch(url_, transformedOptions_);
23855
+ }).then((_response) => {
23856
+ return this.processUpdateSchemaCreatorState(_response);
23857
+ });
23858
+ }
23859
+ processUpdateSchemaCreatorState(response) {
23860
+ const status = response.status;
23861
+ let _headers = {};
23862
+ if (response.headers && response.headers.forEach) {
23863
+ response.headers.forEach((v, k) => _headers[k] = v);
23864
+ }
23865
+ ;
23866
+ if (status === 200) {
23867
+ return response.text().then((_responseText) => {
23868
+ let result200 = null;
23869
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
23870
+ return result200;
23871
+ });
23872
+ }
23873
+ else if (status !== 200 && status !== 204) {
23874
+ return response.text().then((_responseText) => {
23875
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23876
+ });
23877
+ }
23878
+ return Promise.resolve(null);
23879
+ }
23880
+ /**
23881
+ * Starts a full drawing AI parse: clears every element and locks the
23882
+ schema for every viewer until it completes. If one is already in
23883
+ progress, returns that instead of starting a second one.
23884
+ */
23885
+ requestSchemaCreatorDocumentParse(id) {
23886
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/parse-document";
23887
+ if (id === undefined || id === null)
23888
+ throw new globalThis.Error("The parameter 'id' must be defined.");
23889
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
23890
+ url_ = url_.replace(/[?&]$/, "");
23891
+ let options_ = {
23892
+ method: "POST",
23893
+ headers: {
23894
+ "Accept": "application/json"
23895
+ }
23896
+ };
23897
+ return this.transformOptions(options_).then(transformedOptions_ => {
23898
+ return this.http.fetch(url_, transformedOptions_);
23899
+ }).then((_response) => {
23900
+ return this.processRequestSchemaCreatorDocumentParse(_response);
23901
+ });
23902
+ }
23903
+ processRequestSchemaCreatorDocumentParse(response) {
23904
+ const status = response.status;
23905
+ let _headers = {};
23906
+ if (response.headers && response.headers.forEach) {
23907
+ response.headers.forEach((v, k) => _headers[k] = v);
23908
+ }
23909
+ ;
23910
+ if (status === 200) {
23911
+ return response.text().then((_responseText) => {
23912
+ let result200 = null;
23913
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
23914
+ return result200;
23915
+ });
23916
+ }
23917
+ else if (status !== 200 && status !== 204) {
23918
+ return response.text().then((_responseText) => {
23919
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23920
+ });
23921
+ }
23922
+ return Promise.resolve(null);
23923
+ }
23924
+ /**
23925
+ * Stamps the creator state's balloons onto the schema's drawing PDF and
23926
+ returns a temporary download link.
23927
+ */
23928
+ exportSchemaCreatorDrawing(id) {
23929
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/download";
23930
+ if (id === undefined || id === null)
23931
+ throw new globalThis.Error("The parameter 'id' must be defined.");
23932
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
23933
+ url_ = url_.replace(/[?&]$/, "");
23934
+ let options_ = {
23935
+ method: "POST",
23936
+ headers: {
23937
+ "Accept": "application/json"
23938
+ }
23939
+ };
23940
+ return this.transformOptions(options_).then(transformedOptions_ => {
23941
+ return this.http.fetch(url_, transformedOptions_);
23942
+ }).then((_response) => {
23943
+ return this.processExportSchemaCreatorDrawing(_response);
23944
+ });
23945
+ }
23946
+ processExportSchemaCreatorDrawing(response) {
23947
+ const status = response.status;
23948
+ let _headers = {};
23949
+ if (response.headers && response.headers.forEach) {
23950
+ response.headers.forEach((v, k) => _headers[k] = v);
23951
+ }
23952
+ ;
23953
+ if (status === 200) {
23954
+ return response.text().then((_responseText) => {
23955
+ let result200 = null;
23956
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
23957
+ return result200;
23958
+ });
23959
+ }
23960
+ else if (status !== 200 && status !== 204) {
23961
+ return response.text().then((_responseText) => {
23962
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
23963
+ });
23964
+ }
23965
+ return Promise.resolve(null);
23966
+ }
23967
+ /**
23968
+ * Starts an async snip resolve; the result is delivered through the
23969
+ SchemaCreatorSnipResolved SignalR notification.
23970
+ * @param image (optional)
23971
+ */
23972
+ requestSchemaCreatorSnipParse(id, elementId, image) {
23973
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/elements/{elementId}/parse-snip";
23974
+ if (id === undefined || id === null)
23975
+ throw new globalThis.Error("The parameter 'id' must be defined.");
23976
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
23977
+ if (elementId === undefined || elementId === null)
23978
+ throw new globalThis.Error("The parameter 'elementId' must be defined.");
23979
+ url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
23980
+ url_ = url_.replace(/[?&]$/, "");
23981
+ const content_ = new FormData();
23982
+ if (image !== null && image !== undefined)
23983
+ content_.append("image", image.data, image.fileName ? image.fileName : "image");
23984
+ let options_ = {
23985
+ body: content_,
23986
+ method: "POST",
23987
+ headers: {}
23988
+ };
23989
+ return this.transformOptions(options_).then(transformedOptions_ => {
23990
+ return this.http.fetch(url_, transformedOptions_);
23991
+ }).then((_response) => {
23992
+ return this.processRequestSchemaCreatorSnipParse(_response);
23993
+ });
23994
+ }
23995
+ processRequestSchemaCreatorSnipParse(response) {
23996
+ const status = response.status;
23997
+ let _headers = {};
23998
+ if (response.headers && response.headers.forEach) {
23999
+ response.headers.forEach((v, k) => _headers[k] = v);
24000
+ }
24001
+ ;
24002
+ if (status === 200) {
24003
+ return response.text().then((_responseText) => {
24004
+ return;
24005
+ });
24006
+ }
24007
+ else if (status !== 200 && status !== 204) {
24008
+ return response.text().then((_responseText) => {
24009
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
24010
+ });
24011
+ }
24012
+ return Promise.resolve(null);
24013
+ }
24014
+ }
23740
24015
  export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
23741
24016
  constructor(configuration, baseUrl, http) {
23742
24017
  super(configuration);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20260820.229.1",
3
+ "version": "20260820.230.1-alpha",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -25394,6 +25394,315 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
25394
25394
  }
25395
25395
  }
25396
25396
 
25397
+ export interface IInspectSchemaCreatorClient {
25398
+
25399
+ getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto>;
25400
+
25401
+ /**
25402
+ * Creates the initial creator state for a schema version. Returns 409 if
25403
+ state already exists; the caller should re-fetch it instead of writing.
25404
+ */
25405
+ createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
25406
+
25407
+ updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
25408
+
25409
+ /**
25410
+ * Starts a full drawing AI parse: clears every element and locks the
25411
+ schema for every viewer until it completes. If one is already in
25412
+ progress, returns that instead of starting a second one.
25413
+ */
25414
+ requestSchemaCreatorDocumentParse(id: string): Promise<SchemaCreatorStateDto>;
25415
+
25416
+ /**
25417
+ * Stamps the creator state's balloons onto the schema's drawing PDF and
25418
+ returns a temporary download link.
25419
+ */
25420
+ exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
25421
+
25422
+ /**
25423
+ * Starts an async snip resolve; the result is delivered through the
25424
+ SchemaCreatorSnipResolved SignalR notification.
25425
+ * @param image (optional)
25426
+ */
25427
+ requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
25428
+ }
25429
+
25430
+ export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
25431
+ private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
25432
+ private baseUrl: string;
25433
+
25434
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
25435
+ super(configuration);
25436
+ this.http = http ? http : window as any;
25437
+ this.baseUrl = baseUrl ?? "";
25438
+ }
25439
+
25440
+ getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto> {
25441
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
25442
+ if (id === undefined || id === null)
25443
+ throw new globalThis.Error("The parameter 'id' must be defined.");
25444
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
25445
+ url_ = url_.replace(/[?&]$/, "");
25446
+
25447
+ let options_: RequestInit = {
25448
+ method: "GET",
25449
+ headers: {
25450
+ "Accept": "application/json"
25451
+ }
25452
+ };
25453
+
25454
+ return this.transformOptions(options_).then(transformedOptions_ => {
25455
+ return this.http.fetch(url_, transformedOptions_);
25456
+ }).then((_response: Response) => {
25457
+ return this.processGetSchemaCreatorState(_response);
25458
+ });
25459
+ }
25460
+
25461
+ protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
25462
+ const status = response.status;
25463
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
25464
+ if (status === 200) {
25465
+ return response.text().then((_responseText) => {
25466
+ let result200: any = null;
25467
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
25468
+ return result200;
25469
+ });
25470
+ } else if (status !== 200 && status !== 204) {
25471
+ return response.text().then((_responseText) => {
25472
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
25473
+ });
25474
+ }
25475
+ return Promise.resolve<SchemaCreatorStateDto>(null as any);
25476
+ }
25477
+
25478
+ /**
25479
+ * Creates the initial creator state for a schema version. Returns 409 if
25480
+ state already exists; the caller should re-fetch it instead of writing.
25481
+ */
25482
+ createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
25483
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
25484
+ if (id === undefined || id === null)
25485
+ throw new globalThis.Error("The parameter 'id' must be defined.");
25486
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
25487
+ url_ = url_.replace(/[?&]$/, "");
25488
+
25489
+ const content_ = JSON.stringify(state);
25490
+
25491
+ let options_: RequestInit = {
25492
+ body: content_,
25493
+ method: "POST",
25494
+ headers: {
25495
+ "Content-Type": "application/json",
25496
+ "Accept": "application/json"
25497
+ }
25498
+ };
25499
+
25500
+ return this.transformOptions(options_).then(transformedOptions_ => {
25501
+ return this.http.fetch(url_, transformedOptions_);
25502
+ }).then((_response: Response) => {
25503
+ return this.processCreateSchemaCreatorState(_response);
25504
+ });
25505
+ }
25506
+
25507
+ protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
25508
+ const status = response.status;
25509
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
25510
+ if (status === 201) {
25511
+ return response.text().then((_responseText) => {
25512
+ let result201: any = null;
25513
+ result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
25514
+ return result201;
25515
+ });
25516
+ } else if (status === 409) {
25517
+ return response.text().then((_responseText) => {
25518
+ let result409: any = null;
25519
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProblemDetails;
25520
+ return throwException("A server side error occurred.", status, _responseText, _headers, result409);
25521
+ });
25522
+ } else if (status !== 200 && status !== 204) {
25523
+ return response.text().then((_responseText) => {
25524
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
25525
+ });
25526
+ }
25527
+ return Promise.resolve<SchemaCreatorStateDto>(null as any);
25528
+ }
25529
+
25530
+ updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
25531
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
25532
+ if (id === undefined || id === null)
25533
+ throw new globalThis.Error("The parameter 'id' must be defined.");
25534
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
25535
+ url_ = url_.replace(/[?&]$/, "");
25536
+
25537
+ const content_ = JSON.stringify(state);
25538
+
25539
+ let options_: RequestInit = {
25540
+ body: content_,
25541
+ method: "PUT",
25542
+ headers: {
25543
+ "Content-Type": "application/json",
25544
+ "Accept": "application/json"
25545
+ }
25546
+ };
25547
+
25548
+ return this.transformOptions(options_).then(transformedOptions_ => {
25549
+ return this.http.fetch(url_, transformedOptions_);
25550
+ }).then((_response: Response) => {
25551
+ return this.processUpdateSchemaCreatorState(_response);
25552
+ });
25553
+ }
25554
+
25555
+ protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
25556
+ const status = response.status;
25557
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
25558
+ if (status === 200) {
25559
+ return response.text().then((_responseText) => {
25560
+ let result200: any = null;
25561
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
25562
+ return result200;
25563
+ });
25564
+ } else if (status !== 200 && status !== 204) {
25565
+ return response.text().then((_responseText) => {
25566
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
25567
+ });
25568
+ }
25569
+ return Promise.resolve<SchemaCreatorStateDto>(null as any);
25570
+ }
25571
+
25572
+ /**
25573
+ * Starts a full drawing AI parse: clears every element and locks the
25574
+ schema for every viewer until it completes. If one is already in
25575
+ progress, returns that instead of starting a second one.
25576
+ */
25577
+ requestSchemaCreatorDocumentParse(id: string): Promise<SchemaCreatorStateDto> {
25578
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/parse-document";
25579
+ if (id === undefined || id === null)
25580
+ throw new globalThis.Error("The parameter 'id' must be defined.");
25581
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
25582
+ url_ = url_.replace(/[?&]$/, "");
25583
+
25584
+ let options_: RequestInit = {
25585
+ method: "POST",
25586
+ headers: {
25587
+ "Accept": "application/json"
25588
+ }
25589
+ };
25590
+
25591
+ return this.transformOptions(options_).then(transformedOptions_ => {
25592
+ return this.http.fetch(url_, transformedOptions_);
25593
+ }).then((_response: Response) => {
25594
+ return this.processRequestSchemaCreatorDocumentParse(_response);
25595
+ });
25596
+ }
25597
+
25598
+ protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto> {
25599
+ const status = response.status;
25600
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
25601
+ if (status === 200) {
25602
+ return response.text().then((_responseText) => {
25603
+ let result200: any = null;
25604
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
25605
+ return result200;
25606
+ });
25607
+ } else if (status !== 200 && status !== 204) {
25608
+ return response.text().then((_responseText) => {
25609
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
25610
+ });
25611
+ }
25612
+ return Promise.resolve<SchemaCreatorStateDto>(null as any);
25613
+ }
25614
+
25615
+ /**
25616
+ * Stamps the creator state's balloons onto the schema's drawing PDF and
25617
+ returns a temporary download link.
25618
+ */
25619
+ exportSchemaCreatorDrawing(id: string): Promise<DownloadDto> {
25620
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/download";
25621
+ if (id === undefined || id === null)
25622
+ throw new globalThis.Error("The parameter 'id' must be defined.");
25623
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
25624
+ url_ = url_.replace(/[?&]$/, "");
25625
+
25626
+ let options_: RequestInit = {
25627
+ method: "POST",
25628
+ headers: {
25629
+ "Accept": "application/json"
25630
+ }
25631
+ };
25632
+
25633
+ return this.transformOptions(options_).then(transformedOptions_ => {
25634
+ return this.http.fetch(url_, transformedOptions_);
25635
+ }).then((_response: Response) => {
25636
+ return this.processExportSchemaCreatorDrawing(_response);
25637
+ });
25638
+ }
25639
+
25640
+ protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto> {
25641
+ const status = response.status;
25642
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
25643
+ if (status === 200) {
25644
+ return response.text().then((_responseText) => {
25645
+ let result200: any = null;
25646
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as DownloadDto;
25647
+ return result200;
25648
+ });
25649
+ } else if (status !== 200 && status !== 204) {
25650
+ return response.text().then((_responseText) => {
25651
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
25652
+ });
25653
+ }
25654
+ return Promise.resolve<DownloadDto>(null as any);
25655
+ }
25656
+
25657
+ /**
25658
+ * Starts an async snip resolve; the result is delivered through the
25659
+ SchemaCreatorSnipResolved SignalR notification.
25660
+ * @param image (optional)
25661
+ */
25662
+ requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void> {
25663
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/elements/{elementId}/parse-snip";
25664
+ if (id === undefined || id === null)
25665
+ throw new globalThis.Error("The parameter 'id' must be defined.");
25666
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
25667
+ if (elementId === undefined || elementId === null)
25668
+ throw new globalThis.Error("The parameter 'elementId' must be defined.");
25669
+ url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
25670
+ url_ = url_.replace(/[?&]$/, "");
25671
+
25672
+ const content_ = new FormData();
25673
+ if (image !== null && image !== undefined)
25674
+ content_.append("image", image.data, image.fileName ? image.fileName : "image");
25675
+
25676
+ let options_: RequestInit = {
25677
+ body: content_,
25678
+ method: "POST",
25679
+ headers: {
25680
+ }
25681
+ };
25682
+
25683
+ return this.transformOptions(options_).then(transformedOptions_ => {
25684
+ return this.http.fetch(url_, transformedOptions_);
25685
+ }).then((_response: Response) => {
25686
+ return this.processRequestSchemaCreatorSnipParse(_response);
25687
+ });
25688
+ }
25689
+
25690
+ protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void> {
25691
+ const status = response.status;
25692
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
25693
+ if (status === 200) {
25694
+ return response.text().then((_responseText) => {
25695
+ return;
25696
+ });
25697
+ } else if (status !== 200 && status !== 204) {
25698
+ return response.text().then((_responseText) => {
25699
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
25700
+ });
25701
+ }
25702
+ return Promise.resolve<void>(null as any);
25703
+ }
25704
+ }
25705
+
25397
25706
  export interface IMeasurementFormSchemasAdminClient {
25398
25707
 
25399
25708
  getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
@@ -36837,10 +37146,19 @@ export interface ImaCertificateTypeThirdPartyResultsDto {
36837
37146
 
36838
37147
  export interface ImaCertificateTypeCertificationResultsDto {
36839
37148
  certificateType?: ImaCertificateTypeResultLine | null;
36840
- certificateOfCompliance?: ImaCertificateTypeResultLine | null;
37149
+ certificateOfCompliance?: ImaSupplementaryCheckResultDto | null;
36841
37150
  inspectionCertificate?: ImaCertificateTypeResultLine | null;
36842
37151
  }
36843
37152
 
37153
+ export interface ImaSupplementaryCheckResultDto {
37154
+ status?: string | null;
37155
+ documentId?: string | null;
37156
+ acceptable?: boolean | null;
37157
+ standards: string[];
37158
+ summary?: string | null;
37159
+ override?: ImaResultLineOverrideDto | null;
37160
+ }
37161
+
36844
37162
  export interface ImaCertificateTypeProductAndOrderInformationResultsDto {
36845
37163
  productDescription?: ImaCertificateTypeResultLine | null;
36846
37164
  materialGrade?: ImaCertificateTypeResultLine | null;
@@ -36850,7 +37168,13 @@ export interface ImaCertificateTypeProductAndOrderInformationResultsDto {
36850
37168
  batchNumber?: ImaCertificateTypeResultLine | null;
36851
37169
  heatNumber?: ImaCertificateTypeResultLine | null;
36852
37170
  relevantStandard?: ImaCertificateTypeResultLine | null;
36853
- steelMaking?: ImaCertificateTypeResultLine | null;
37171
+ steelMaking: ImaSteelMakingResultDto;
37172
+ }
37173
+
37174
+ export interface ImaSteelMakingResultDto {
37175
+ raw?: string[] | null;
37176
+ chain?: string[] | null;
37177
+ unmatched?: string[] | null;
36854
37178
  }
36855
37179
 
36856
37180
  export interface ImaCertificateTypeTestMethodsAndReferencesResultsDto {
@@ -37082,15 +37406,6 @@ export interface ImaDocumentTypesResultsDto {
37082
37406
  microExaminationReport?: ImaSupplementaryCheckResultDto | null;
37083
37407
  }
37084
37408
 
37085
- export interface ImaSupplementaryCheckResultDto {
37086
- status?: string | null;
37087
- documentId?: string | null;
37088
- acceptable?: boolean | null;
37089
- standards: string[];
37090
- summary?: string | null;
37091
- override?: ImaResultLineOverrideDto | null;
37092
- }
37093
-
37094
37409
  export interface ImaOverrideMaterialCheckRequestDto {
37095
37410
  certificateTypeSection?: ImaOverrideCertificateTypeResultsDto | null;
37096
37411
  chemicalAnalysisSection?: ImaOverrideChemicalAnalysisResultsDto[] | null;
@@ -37099,7 +37414,6 @@ export interface ImaOverrideMaterialCheckRequestDto {
37099
37414
  impactTestSection?: ImaOverrideImpactTestResultsDto[] | null;
37100
37415
  corrosionTestSection?: ImaOverrideCorrosionTestResultsDto[] | null;
37101
37416
  ferriteResultSection?: ImaOverrideFerriteResultDto[] | null;
37102
- heatTreatmentSection?: ImaOverrideHeatTreatmentResultDto[] | null;
37103
37417
  documentTypesSection?: ImaOverrideDocumentTypesResultsDto | null;
37104
37418
  }
37105
37419
 
@@ -37157,7 +37471,6 @@ export interface ImaOverrideCertificateTypeProductAndOrderInformationResultsDto
37157
37471
  batchNumber?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37158
37472
  heatNumber?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37159
37473
  relevantStandard?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37160
- steelMaking?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37161
37474
  }
37162
37475
 
37163
37476
  export interface ImaOverrideCertificateTypeTestMethodsAndReferencesResultsDto {
@@ -37274,26 +37587,6 @@ export interface ImaOverrideFerriteResultDto {
37274
37587
  ferrite?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37275
37588
  }
37276
37589
 
37277
- export interface ImaOverrideHeatTreatmentResultDto {
37278
- heatNumber?: string | null;
37279
- step?: number;
37280
- heating?: ImaOverrideHeatTreatmentHeatingResultDto | null;
37281
- cooling?: ImaOverrideHeatTreatmentCoolingResultDto | null;
37282
- }
37283
-
37284
- export interface ImaOverrideHeatTreatmentHeatingResultDto {
37285
- heatingMethod?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37286
- temperature?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37287
- heatingRate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37288
- soakTime?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37289
- }
37290
-
37291
- export interface ImaOverrideHeatTreatmentCoolingResultDto {
37292
- coolingMethod?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37293
- temperature?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37294
- coolingRate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37295
- }
37296
-
37297
37590
  export interface ImaOverrideDocumentTypesResultsDto {
37298
37591
  ultrasonicControlCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
37299
37592
  radiologicalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
@@ -37699,6 +37992,115 @@ export interface ImaSpecificationLiteDto {
37699
37992
  isDeleted: boolean;
37700
37993
  }
37701
37994
 
37995
+ export interface SchemaCreatorStateDto {
37996
+ settings: SchemaCreatorSettingsDto;
37997
+ elements: SchemaCreatorElementDto[];
37998
+ documentParse?: SchemaCreatorDocumentParseStatusDto | null;
37999
+ isAutoGenerated?: boolean;
38000
+ }
38001
+
38002
+ export interface SchemaCreatorSettingsDto {
38003
+ unit?: UnitOfMeasureDto;
38004
+ tolerance?: GeneralToleranceDto;
38005
+ balloonSize?: number;
38006
+ transparentBalloons?: boolean;
38007
+ }
38008
+
38009
+ export type UnitOfMeasureDto = "Millimeter" | "Inch";
38010
+
38011
+ export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
38012
+
38013
+ export interface SchemaCreatorElementDto {
38014
+ id: string;
38015
+ kind: SchemaCreatorElementKindDto;
38016
+ drawings: SchemaCreatorElementDrawingsDto;
38017
+ isDirty?: boolean | null;
38018
+ values?: SchemaCreatorElementValuesDto | null;
38019
+ parseResult?: SchemaCreatorSnipResultDto | null;
38020
+ resolveAttempt?: SchemaCreatorParseAttemptDto | null;
38021
+ createdBy: SchemaCreatorAuditInfoDto;
38022
+ createdAt: Date;
38023
+ updatedBy?: SchemaCreatorAuditInfoDto | null;
38024
+ updatedAt?: Date | null;
38025
+ }
38026
+
38027
+ export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
38028
+
38029
+ export interface SchemaCreatorElementDrawingsDto {
38030
+ square: SchemaCreatorDrawingDto;
38031
+ circle: SchemaCreatorDrawingDto;
38032
+ textId: string;
38033
+ }
38034
+
38035
+ export interface SchemaCreatorDrawingDto {
38036
+ rect: SchemaCreatorRectDto;
38037
+ pageIndex: number;
38038
+ annotationId: string;
38039
+ rotation?: number | null;
38040
+ unrotatedRect?: SchemaCreatorRectDto | null;
38041
+ }
38042
+
38043
+ export interface SchemaCreatorRectDto {
38044
+ origin: SchemaCreatorPointDto;
38045
+ size: SchemaCreatorSizeDto;
38046
+ }
38047
+
38048
+ export interface SchemaCreatorPointDto {
38049
+ x: number;
38050
+ y: number;
38051
+ }
38052
+
38053
+ export interface SchemaCreatorSizeDto {
38054
+ width: number;
38055
+ height: number;
38056
+ }
38057
+
38058
+ export interface SchemaCreatorElementValuesDto {
38059
+ reference: number;
38060
+ nominal?: number | null;
38061
+ nominalText?: string | null;
38062
+ plusTolerance?: number | null;
38063
+ minusTolerance?: number | null;
38064
+ coatingThickness?: number | null;
38065
+ measurementFrequency: MeasurementFrequency;
38066
+ measurementFrequencyParameter?: number | null;
38067
+ type?: string | null;
38068
+ count?: number | null;
38069
+ comment?: string | null;
38070
+ canCopy: boolean;
38071
+ visibleToCustomer: boolean;
38072
+ isDocumentedExternally: boolean;
38073
+ }
38074
+
38075
+ export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
38076
+
38077
+ export interface SchemaCreatorSnipResultDto {
38078
+ nominal?: number | null;
38079
+ nominalText?: string | null;
38080
+ plusTolerance?: number | null;
38081
+ minusTolerance?: number | null;
38082
+ count?: number | null;
38083
+ }
38084
+
38085
+ export interface SchemaCreatorParseAttemptDto {
38086
+ startedAt: Date;
38087
+ errorType?: SchemaCreatorParseErrorTypeDto | null;
38088
+ errorMessage?: string | null;
38089
+ }
38090
+
38091
+ export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
38092
+
38093
+ export interface SchemaCreatorAuditInfoDto {
38094
+ objectId: string;
38095
+ userId: string;
38096
+ userFullName?: string | null;
38097
+ }
38098
+
38099
+ export interface SchemaCreatorDocumentParseStatusDto {
38100
+ inProgress: boolean;
38101
+ attempt?: SchemaCreatorParseAttemptDto | null;
38102
+ }
38103
+
37702
38104
  export interface MeasurementFormSchemaDto {
37703
38105
  id: string;
37704
38106
  versionId: number;
@@ -37733,12 +38135,8 @@ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
37733
38135
 
37734
38136
  export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
37735
38137
 
37736
- export type UnitOfMeasureDto = "Millimeter" | "Inch";
37737
-
37738
38138
  export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
37739
38139
 
37740
- export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
37741
-
37742
38140
  export interface MeasurementFormSchemaAttachmentDto {
37743
38141
  url: string;
37744
38142
  title: string;
@@ -37789,8 +38187,6 @@ export interface MeasurementFormGroupedElementDto {
37789
38187
  validationErrorMessage?: string | null;
37790
38188
  }
37791
38189
 
37792
- export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
37793
-
37794
38190
  export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
37795
38191
 
37796
38192
  export type BonusType = "None" | "Positive" | "PositiveAndNegative";