@ignos/api-client 20260814.226.1-alpha → 20260820.228.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.
- package/lib/ignosportal-api.d.ts +43 -166
- package/lib/ignosportal-api.js +0 -275
- package/package.json +1 -1
- package/src/ignosportal-api.ts +52 -431
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2873,69 +2873,6 @@ 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
|
-
}
|
|
2939
2876
|
export interface IMeasurementFormSchemasAdminClient {
|
|
2940
2877
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
2941
2878
|
createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
|
|
@@ -8242,7 +8179,7 @@ export interface ImaCertificateTypeProductAndOrderInformationRequirementsDto {
|
|
|
8242
8179
|
productDescription?: boolean;
|
|
8243
8180
|
materialGrade?: boolean;
|
|
8244
8181
|
customer?: boolean;
|
|
8245
|
-
|
|
8182
|
+
purchaseOrderNumber?: boolean;
|
|
8246
8183
|
dimensionsOrWeight?: boolean;
|
|
8247
8184
|
batchNumber?: boolean;
|
|
8248
8185
|
heatNumber?: boolean;
|
|
@@ -8312,7 +8249,7 @@ export interface ImaCertificateTypeProductAndOrderInformationRequirementsUpdateD
|
|
|
8312
8249
|
productDescription?: boolean | null;
|
|
8313
8250
|
materialGrade?: boolean | null;
|
|
8314
8251
|
customer?: boolean | null;
|
|
8315
|
-
|
|
8252
|
+
purchaseOrderNumber?: boolean | null;
|
|
8316
8253
|
dimensionsOrWeight?: boolean | null;
|
|
8317
8254
|
batchNumber?: boolean | null;
|
|
8318
8255
|
heatNumber?: boolean | null;
|
|
@@ -8453,7 +8390,7 @@ export interface ImaCertificateTypeProductAndOrderInformationResultsDto {
|
|
|
8453
8390
|
productDescription?: ImaCertificateTypeResultLine | null;
|
|
8454
8391
|
materialGrade?: ImaCertificateTypeResultLine | null;
|
|
8455
8392
|
customer?: ImaCertificateTypeResultLine | null;
|
|
8456
|
-
|
|
8393
|
+
purchaseOrderNumber?: ImaCertificateTypeResultLine | null;
|
|
8457
8394
|
dimensionsOrWeight?: ImaCertificateTypeResultLine | null;
|
|
8458
8395
|
batchNumber?: ImaCertificateTypeResultLine | null;
|
|
8459
8396
|
heatNumber?: ImaCertificateTypeResultLine | null;
|
|
@@ -8628,16 +8565,35 @@ export interface ImaFerriteResultDto {
|
|
|
8628
8565
|
}
|
|
8629
8566
|
export interface ImaHeatTreatmentResultDto {
|
|
8630
8567
|
heatNumber?: string | null;
|
|
8631
|
-
|
|
8632
|
-
|
|
8633
|
-
|
|
8634
|
-
|
|
8635
|
-
|
|
8636
|
-
|
|
8637
|
-
|
|
8638
|
-
|
|
8568
|
+
step: number;
|
|
8569
|
+
heating?: ImaHeatTreatmentHeatingResultDto | null;
|
|
8570
|
+
cooling?: ImaHeatTreatmentCoolingResultDto | null;
|
|
8571
|
+
}
|
|
8572
|
+
export interface ImaHeatTreatmentHeatingResultDto {
|
|
8573
|
+
heatingMethod?: ImaHeatTreatmentHeatingResultLineDto | null;
|
|
8574
|
+
temperature?: ImaSpecificationResultLineDto | null;
|
|
8575
|
+
heatingRate?: ImaSpecificationResultLineDto | null;
|
|
8576
|
+
soakTime?: ImaSpecificationResultLineDto | null;
|
|
8577
|
+
}
|
|
8578
|
+
export interface ImaHeatTreatmentHeatingResultLineDto {
|
|
8579
|
+
specification?: ImaHeatTreatmentHeatingMethodDto | null;
|
|
8580
|
+
readValue?: ImaHeatTreatmentHeatingMethodDto | null;
|
|
8581
|
+
status: ImaSpecificationResultLineStatusDto;
|
|
8639
8582
|
override?: ImaResultLineOverrideDto | null;
|
|
8640
8583
|
}
|
|
8584
|
+
export type ImaHeatTreatmentHeatingMethodDto = "Annealing" | "Austenitizing" | "Hardening" | "Normalizing" | "SolutionAnnealing" | "StressRelieving" | "Tempering" | "NotSet";
|
|
8585
|
+
export interface ImaHeatTreatmentCoolingResultDto {
|
|
8586
|
+
coolingMethod?: ImaHeatTreatmentCoolingResultLineDto | null;
|
|
8587
|
+
temperature?: ImaSpecificationResultLineDto | null;
|
|
8588
|
+
coolingRate?: ImaSpecificationResultLineDto | null;
|
|
8589
|
+
}
|
|
8590
|
+
export interface ImaHeatTreatmentCoolingResultLineDto {
|
|
8591
|
+
specification?: ImaHeatTreatmentCoolingMethodDto[] | null;
|
|
8592
|
+
readValue?: ImaHeatTreatmentCoolingMethodDto | null;
|
|
8593
|
+
status: ImaSpecificationResultLineStatusDto;
|
|
8594
|
+
override?: ImaResultLineOverrideDto | null;
|
|
8595
|
+
}
|
|
8596
|
+
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
|
|
8641
8597
|
export interface ImaDocumentTypesResultsDto {
|
|
8642
8598
|
ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
8643
8599
|
radiologicalReport?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -8702,7 +8658,7 @@ export interface ImaOverrideCertificateTypeProductAndOrderInformationResultsDto
|
|
|
8702
8658
|
productDescription?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8703
8659
|
materialGrade?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8704
8660
|
customer?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8705
|
-
|
|
8661
|
+
purchaseOrderNumber?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8706
8662
|
dimensionsOrWeight?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8707
8663
|
batchNumber?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8708
8664
|
heatNumber?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -9113,21 +9069,20 @@ export interface ImaDocumentTypesSpecificationDto {
|
|
|
9113
9069
|
}
|
|
9114
9070
|
export interface ImaHeatTreatmentSpecificationDto {
|
|
9115
9071
|
step: number;
|
|
9116
|
-
cooling?: ImaHeatTreatmentSpecificationCoolingDto | null;
|
|
9117
9072
|
heating?: ImaHeatTreatmentSpecificationHeatingDto | null;
|
|
9073
|
+
cooling?: ImaHeatTreatmentSpecificationCoolingDto | null;
|
|
9118
9074
|
}
|
|
9119
|
-
export interface ImaHeatTreatmentSpecificationCoolingDto {
|
|
9120
|
-
coolingMethods: ImaHeatTreatmentCoolingMethodDto[];
|
|
9121
|
-
temperature?: ImaSpecificationLineDto | null;
|
|
9122
|
-
duration?: ImaSpecificationLineDto | null;
|
|
9123
|
-
}
|
|
9124
|
-
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
|
|
9125
9075
|
export interface ImaHeatTreatmentSpecificationHeatingDto {
|
|
9126
9076
|
heatingMethod: ImaHeatTreatmentHeatingMethodDto;
|
|
9127
9077
|
temperature?: ImaSpecificationLineDto | null;
|
|
9128
|
-
|
|
9078
|
+
heatingRate?: ImaSpecificationLineDto | null;
|
|
9079
|
+
soakTime?: ImaSpecificationLineDto | null;
|
|
9080
|
+
}
|
|
9081
|
+
export interface ImaHeatTreatmentSpecificationCoolingDto {
|
|
9082
|
+
coolingMethods: ImaHeatTreatmentCoolingMethodDto[];
|
|
9083
|
+
temperature?: ImaSpecificationLineDto | null;
|
|
9084
|
+
coolingRate?: ImaSpecificationLineDto | null;
|
|
9129
9085
|
}
|
|
9130
|
-
export type ImaHeatTreatmentHeatingMethodDto = "Annealing" | "Austenitizing" | "Hardening" | "Normalizing" | "SolutionAnnealing" | "StressRelieving" | "Tempering" | "NotSet";
|
|
9131
9086
|
export interface ImaCreateSpecificationRequestDto {
|
|
9132
9087
|
name: string;
|
|
9133
9088
|
number: string;
|
|
@@ -9152,7 +9107,7 @@ export interface ImaUpdateSpecificationDto {
|
|
|
9152
9107
|
mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
|
|
9153
9108
|
ferriteSpecification?: ImaFerriteSpecificationDto | null;
|
|
9154
9109
|
documentTypesSpecification?: ImaDocumentTypesSpecificationDto | null;
|
|
9155
|
-
|
|
9110
|
+
heatTreatmentSpecifications?: ImaHeatTreatmentSpecificationDto[] | null;
|
|
9156
9111
|
}
|
|
9157
9112
|
export interface ImaSpecificationLiteDto {
|
|
9158
9113
|
specificationId: string;
|
|
@@ -9174,87 +9129,6 @@ export interface ImaSpecificationLiteDto {
|
|
|
9174
9129
|
updated: Date;
|
|
9175
9130
|
isDeleted: boolean;
|
|
9176
9131
|
}
|
|
9177
|
-
export interface SchemaCreatorStateDto {
|
|
9178
|
-
settings: SchemaCreatorSettingsDto;
|
|
9179
|
-
elements: SchemaCreatorElementDto[];
|
|
9180
|
-
documentParse?: SchemaCreatorDocumentParseStatusDto | null;
|
|
9181
|
-
}
|
|
9182
|
-
export interface SchemaCreatorSettingsDto {
|
|
9183
|
-
unit?: UnitOfMeasureDto;
|
|
9184
|
-
tolerance?: GeneralToleranceDto;
|
|
9185
|
-
balloonSize?: number;
|
|
9186
|
-
}
|
|
9187
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
9188
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
9189
|
-
export interface SchemaCreatorElementDto {
|
|
9190
|
-
id: string;
|
|
9191
|
-
kind: SchemaCreatorElementKindDto;
|
|
9192
|
-
drawings: SchemaCreatorElementDrawingsDto;
|
|
9193
|
-
isDirty?: boolean | null;
|
|
9194
|
-
values?: SchemaCreatorElementValuesDto | null;
|
|
9195
|
-
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
9196
|
-
resolveAttempt?: SchemaCreatorParseAttemptDto | null;
|
|
9197
|
-
}
|
|
9198
|
-
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
9199
|
-
export interface SchemaCreatorElementDrawingsDto {
|
|
9200
|
-
square: SchemaCreatorDrawingDto;
|
|
9201
|
-
circle: SchemaCreatorDrawingDto;
|
|
9202
|
-
textId: string;
|
|
9203
|
-
}
|
|
9204
|
-
export interface SchemaCreatorDrawingDto {
|
|
9205
|
-
rect: SchemaCreatorRectDto;
|
|
9206
|
-
pageIndex: number;
|
|
9207
|
-
annotationId: string;
|
|
9208
|
-
rotation?: number | null;
|
|
9209
|
-
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
9210
|
-
}
|
|
9211
|
-
export interface SchemaCreatorRectDto {
|
|
9212
|
-
origin: SchemaCreatorPointDto;
|
|
9213
|
-
size: SchemaCreatorSizeDto;
|
|
9214
|
-
}
|
|
9215
|
-
export interface SchemaCreatorPointDto {
|
|
9216
|
-
x: number;
|
|
9217
|
-
y: number;
|
|
9218
|
-
}
|
|
9219
|
-
export interface SchemaCreatorSizeDto {
|
|
9220
|
-
width: number;
|
|
9221
|
-
height: number;
|
|
9222
|
-
}
|
|
9223
|
-
export interface SchemaCreatorElementValuesDto {
|
|
9224
|
-
reference: number;
|
|
9225
|
-
nominal?: number | null;
|
|
9226
|
-
nominalText?: string | null;
|
|
9227
|
-
plusTolerance?: number | null;
|
|
9228
|
-
minusTolerance?: number | null;
|
|
9229
|
-
coatingThickness?: number | null;
|
|
9230
|
-
measurementFrequency: MeasurementFrequency;
|
|
9231
|
-
measurementFrequencyParameter?: number | null;
|
|
9232
|
-
type?: string | null;
|
|
9233
|
-
count?: number | null;
|
|
9234
|
-
comment?: string | null;
|
|
9235
|
-
canCopy: boolean;
|
|
9236
|
-
visibleToCustomer: boolean;
|
|
9237
|
-
isDocumentedExternally: boolean;
|
|
9238
|
-
}
|
|
9239
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
9240
|
-
export interface SchemaCreatorSnipResultDto {
|
|
9241
|
-
nominal?: number | null;
|
|
9242
|
-
nominalText?: string | null;
|
|
9243
|
-
plusTolerance?: number | null;
|
|
9244
|
-
minusTolerance?: number | null;
|
|
9245
|
-
coatingThickness?: number | null;
|
|
9246
|
-
count?: number | null;
|
|
9247
|
-
}
|
|
9248
|
-
export interface SchemaCreatorParseAttemptDto {
|
|
9249
|
-
startedAt: Date;
|
|
9250
|
-
errorType?: SchemaCreatorParseErrorTypeDto | null;
|
|
9251
|
-
errorMessage?: string | null;
|
|
9252
|
-
}
|
|
9253
|
-
export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
|
|
9254
|
-
export interface SchemaCreatorDocumentParseStatusDto {
|
|
9255
|
-
inProgress: boolean;
|
|
9256
|
-
attempt?: SchemaCreatorParseAttemptDto | null;
|
|
9257
|
-
}
|
|
9258
9132
|
export interface MeasurementFormSchemaDto {
|
|
9259
9133
|
id: string;
|
|
9260
9134
|
versionId: number;
|
|
@@ -9286,7 +9160,9 @@ export interface MeasurementFormSchemaDto {
|
|
|
9286
9160
|
}
|
|
9287
9161
|
export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
9288
9162
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
9163
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
9289
9164
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
9165
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
9290
9166
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
9291
9167
|
url: string;
|
|
9292
9168
|
title: string;
|
|
@@ -9335,6 +9211,7 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
9335
9211
|
isValid: boolean;
|
|
9336
9212
|
validationErrorMessage?: string | null;
|
|
9337
9213
|
}
|
|
9214
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
9338
9215
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
9339
9216
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
9340
9217
|
export interface MeasurementFormLinkedSchemaDto {
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -23737,281 +23737,6 @@ 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
|
-
}
|
|
24015
23740
|
export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
24016
23741
|
constructor(configuration, baseUrl, http) {
|
|
24017
23742
|
super(configuration);
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -25394,315 +25394,6 @@ 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
|
-
|
|
25706
25397
|
export interface IMeasurementFormSchemasAdminClient {
|
|
25707
25398
|
|
|
25708
25399
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
@@ -36927,7 +36618,7 @@ export interface ImaCertificateTypeProductAndOrderInformationRequirementsDto {
|
|
|
36927
36618
|
productDescription?: boolean;
|
|
36928
36619
|
materialGrade?: boolean;
|
|
36929
36620
|
customer?: boolean;
|
|
36930
|
-
|
|
36621
|
+
purchaseOrderNumber?: boolean;
|
|
36931
36622
|
dimensionsOrWeight?: boolean;
|
|
36932
36623
|
batchNumber?: boolean;
|
|
36933
36624
|
heatNumber?: boolean;
|
|
@@ -37007,7 +36698,7 @@ export interface ImaCertificateTypeProductAndOrderInformationRequirementsUpdateD
|
|
|
37007
36698
|
productDescription?: boolean | null;
|
|
37008
36699
|
materialGrade?: boolean | null;
|
|
37009
36700
|
customer?: boolean | null;
|
|
37010
|
-
|
|
36701
|
+
purchaseOrderNumber?: boolean | null;
|
|
37011
36702
|
dimensionsOrWeight?: boolean | null;
|
|
37012
36703
|
batchNumber?: boolean | null;
|
|
37013
36704
|
heatNumber?: boolean | null;
|
|
@@ -37163,7 +36854,7 @@ export interface ImaCertificateTypeProductAndOrderInformationResultsDto {
|
|
|
37163
36854
|
productDescription?: ImaCertificateTypeResultLine | null;
|
|
37164
36855
|
materialGrade?: ImaCertificateTypeResultLine | null;
|
|
37165
36856
|
customer?: ImaCertificateTypeResultLine | null;
|
|
37166
|
-
|
|
36857
|
+
purchaseOrderNumber?: ImaCertificateTypeResultLine | null;
|
|
37167
36858
|
dimensionsOrWeight?: ImaCertificateTypeResultLine | null;
|
|
37168
36859
|
batchNumber?: ImaCertificateTypeResultLine | null;
|
|
37169
36860
|
heatNumber?: ImaCertificateTypeResultLine | null;
|
|
@@ -37358,17 +37049,42 @@ export interface ImaFerriteResultDto {
|
|
|
37358
37049
|
|
|
37359
37050
|
export interface ImaHeatTreatmentResultDto {
|
|
37360
37051
|
heatNumber?: string | null;
|
|
37361
|
-
|
|
37362
|
-
|
|
37363
|
-
|
|
37364
|
-
|
|
37365
|
-
|
|
37366
|
-
|
|
37367
|
-
|
|
37368
|
-
|
|
37052
|
+
step: number;
|
|
37053
|
+
heating?: ImaHeatTreatmentHeatingResultDto | null;
|
|
37054
|
+
cooling?: ImaHeatTreatmentCoolingResultDto | null;
|
|
37055
|
+
}
|
|
37056
|
+
|
|
37057
|
+
export interface ImaHeatTreatmentHeatingResultDto {
|
|
37058
|
+
heatingMethod?: ImaHeatTreatmentHeatingResultLineDto | null;
|
|
37059
|
+
temperature?: ImaSpecificationResultLineDto | null;
|
|
37060
|
+
heatingRate?: ImaSpecificationResultLineDto | null;
|
|
37061
|
+
soakTime?: ImaSpecificationResultLineDto | null;
|
|
37062
|
+
}
|
|
37063
|
+
|
|
37064
|
+
export interface ImaHeatTreatmentHeatingResultLineDto {
|
|
37065
|
+
specification?: ImaHeatTreatmentHeatingMethodDto | null;
|
|
37066
|
+
readValue?: ImaHeatTreatmentHeatingMethodDto | null;
|
|
37067
|
+
status: ImaSpecificationResultLineStatusDto;
|
|
37369
37068
|
override?: ImaResultLineOverrideDto | null;
|
|
37370
37069
|
}
|
|
37371
37070
|
|
|
37071
|
+
export type ImaHeatTreatmentHeatingMethodDto = "Annealing" | "Austenitizing" | "Hardening" | "Normalizing" | "SolutionAnnealing" | "StressRelieving" | "Tempering" | "NotSet";
|
|
37072
|
+
|
|
37073
|
+
export interface ImaHeatTreatmentCoolingResultDto {
|
|
37074
|
+
coolingMethod?: ImaHeatTreatmentCoolingResultLineDto | null;
|
|
37075
|
+
temperature?: ImaSpecificationResultLineDto | null;
|
|
37076
|
+
coolingRate?: ImaSpecificationResultLineDto | null;
|
|
37077
|
+
}
|
|
37078
|
+
|
|
37079
|
+
export interface ImaHeatTreatmentCoolingResultLineDto {
|
|
37080
|
+
specification?: ImaHeatTreatmentCoolingMethodDto[] | null;
|
|
37081
|
+
readValue?: ImaHeatTreatmentCoolingMethodDto | null;
|
|
37082
|
+
status: ImaSpecificationResultLineStatusDto;
|
|
37083
|
+
override?: ImaResultLineOverrideDto | null;
|
|
37084
|
+
}
|
|
37085
|
+
|
|
37086
|
+
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
|
|
37087
|
+
|
|
37372
37088
|
export interface ImaDocumentTypesResultsDto {
|
|
37373
37089
|
ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
37374
37090
|
radiologicalReport?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -37441,7 +37157,7 @@ export interface ImaOverrideCertificateTypeProductAndOrderInformationResultsDto
|
|
|
37441
37157
|
productDescription?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37442
37158
|
materialGrade?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37443
37159
|
customer?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37444
|
-
|
|
37160
|
+
purchaseOrderNumber?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37445
37161
|
dimensionsOrWeight?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37446
37162
|
batchNumber?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37447
37163
|
heatNumber?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -37900,25 +37616,22 @@ export interface ImaDocumentTypesSpecificationDto {
|
|
|
37900
37616
|
|
|
37901
37617
|
export interface ImaHeatTreatmentSpecificationDto {
|
|
37902
37618
|
step: number;
|
|
37903
|
-
cooling?: ImaHeatTreatmentSpecificationCoolingDto | null;
|
|
37904
37619
|
heating?: ImaHeatTreatmentSpecificationHeatingDto | null;
|
|
37620
|
+
cooling?: ImaHeatTreatmentSpecificationCoolingDto | null;
|
|
37905
37621
|
}
|
|
37906
37622
|
|
|
37907
|
-
export interface ImaHeatTreatmentSpecificationCoolingDto {
|
|
37908
|
-
coolingMethods: ImaHeatTreatmentCoolingMethodDto[];
|
|
37909
|
-
temperature?: ImaSpecificationLineDto | null;
|
|
37910
|
-
duration?: ImaSpecificationLineDto | null;
|
|
37911
|
-
}
|
|
37912
|
-
|
|
37913
|
-
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
|
|
37914
|
-
|
|
37915
37623
|
export interface ImaHeatTreatmentSpecificationHeatingDto {
|
|
37916
37624
|
heatingMethod: ImaHeatTreatmentHeatingMethodDto;
|
|
37917
37625
|
temperature?: ImaSpecificationLineDto | null;
|
|
37918
|
-
|
|
37626
|
+
heatingRate?: ImaSpecificationLineDto | null;
|
|
37627
|
+
soakTime?: ImaSpecificationLineDto | null;
|
|
37919
37628
|
}
|
|
37920
37629
|
|
|
37921
|
-
export
|
|
37630
|
+
export interface ImaHeatTreatmentSpecificationCoolingDto {
|
|
37631
|
+
coolingMethods: ImaHeatTreatmentCoolingMethodDto[];
|
|
37632
|
+
temperature?: ImaSpecificationLineDto | null;
|
|
37633
|
+
coolingRate?: ImaSpecificationLineDto | null;
|
|
37634
|
+
}
|
|
37922
37635
|
|
|
37923
37636
|
export interface ImaCreateSpecificationRequestDto {
|
|
37924
37637
|
name: string;
|
|
@@ -37946,7 +37659,7 @@ export interface ImaUpdateSpecificationDto {
|
|
|
37946
37659
|
mechanicalSpecification?: ImaMechanicalSpecificationDto | null;
|
|
37947
37660
|
ferriteSpecification?: ImaFerriteSpecificationDto | null;
|
|
37948
37661
|
documentTypesSpecification?: ImaDocumentTypesSpecificationDto | null;
|
|
37949
|
-
|
|
37662
|
+
heatTreatmentSpecifications?: ImaHeatTreatmentSpecificationDto[] | null;
|
|
37950
37663
|
}
|
|
37951
37664
|
|
|
37952
37665
|
export interface ImaSpecificationLiteDto {
|
|
@@ -37970,104 +37683,6 @@ export interface ImaSpecificationLiteDto {
|
|
|
37970
37683
|
isDeleted: boolean;
|
|
37971
37684
|
}
|
|
37972
37685
|
|
|
37973
|
-
export interface SchemaCreatorStateDto {
|
|
37974
|
-
settings: SchemaCreatorSettingsDto;
|
|
37975
|
-
elements: SchemaCreatorElementDto[];
|
|
37976
|
-
documentParse?: SchemaCreatorDocumentParseStatusDto | null;
|
|
37977
|
-
}
|
|
37978
|
-
|
|
37979
|
-
export interface SchemaCreatorSettingsDto {
|
|
37980
|
-
unit?: UnitOfMeasureDto;
|
|
37981
|
-
tolerance?: GeneralToleranceDto;
|
|
37982
|
-
balloonSize?: number;
|
|
37983
|
-
}
|
|
37984
|
-
|
|
37985
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
37986
|
-
|
|
37987
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
37988
|
-
|
|
37989
|
-
export interface SchemaCreatorElementDto {
|
|
37990
|
-
id: string;
|
|
37991
|
-
kind: SchemaCreatorElementKindDto;
|
|
37992
|
-
drawings: SchemaCreatorElementDrawingsDto;
|
|
37993
|
-
isDirty?: boolean | null;
|
|
37994
|
-
values?: SchemaCreatorElementValuesDto | null;
|
|
37995
|
-
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
37996
|
-
resolveAttempt?: SchemaCreatorParseAttemptDto | null;
|
|
37997
|
-
}
|
|
37998
|
-
|
|
37999
|
-
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
38000
|
-
|
|
38001
|
-
export interface SchemaCreatorElementDrawingsDto {
|
|
38002
|
-
square: SchemaCreatorDrawingDto;
|
|
38003
|
-
circle: SchemaCreatorDrawingDto;
|
|
38004
|
-
textId: string;
|
|
38005
|
-
}
|
|
38006
|
-
|
|
38007
|
-
export interface SchemaCreatorDrawingDto {
|
|
38008
|
-
rect: SchemaCreatorRectDto;
|
|
38009
|
-
pageIndex: number;
|
|
38010
|
-
annotationId: string;
|
|
38011
|
-
rotation?: number | null;
|
|
38012
|
-
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
38013
|
-
}
|
|
38014
|
-
|
|
38015
|
-
export interface SchemaCreatorRectDto {
|
|
38016
|
-
origin: SchemaCreatorPointDto;
|
|
38017
|
-
size: SchemaCreatorSizeDto;
|
|
38018
|
-
}
|
|
38019
|
-
|
|
38020
|
-
export interface SchemaCreatorPointDto {
|
|
38021
|
-
x: number;
|
|
38022
|
-
y: number;
|
|
38023
|
-
}
|
|
38024
|
-
|
|
38025
|
-
export interface SchemaCreatorSizeDto {
|
|
38026
|
-
width: number;
|
|
38027
|
-
height: number;
|
|
38028
|
-
}
|
|
38029
|
-
|
|
38030
|
-
export interface SchemaCreatorElementValuesDto {
|
|
38031
|
-
reference: number;
|
|
38032
|
-
nominal?: number | null;
|
|
38033
|
-
nominalText?: string | null;
|
|
38034
|
-
plusTolerance?: number | null;
|
|
38035
|
-
minusTolerance?: number | null;
|
|
38036
|
-
coatingThickness?: number | null;
|
|
38037
|
-
measurementFrequency: MeasurementFrequency;
|
|
38038
|
-
measurementFrequencyParameter?: number | null;
|
|
38039
|
-
type?: string | null;
|
|
38040
|
-
count?: number | null;
|
|
38041
|
-
comment?: string | null;
|
|
38042
|
-
canCopy: boolean;
|
|
38043
|
-
visibleToCustomer: boolean;
|
|
38044
|
-
isDocumentedExternally: boolean;
|
|
38045
|
-
}
|
|
38046
|
-
|
|
38047
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
38048
|
-
|
|
38049
|
-
export interface SchemaCreatorSnipResultDto {
|
|
38050
|
-
nominal?: number | null;
|
|
38051
|
-
nominalText?: string | null;
|
|
38052
|
-
plusTolerance?: number | null;
|
|
38053
|
-
minusTolerance?: number | null;
|
|
38054
|
-
coatingThickness?: number | null;
|
|
38055
|
-
count?: number | null;
|
|
38056
|
-
}
|
|
38057
|
-
|
|
38058
|
-
export interface SchemaCreatorParseAttemptDto {
|
|
38059
|
-
startedAt: Date;
|
|
38060
|
-
errorType?: SchemaCreatorParseErrorTypeDto | null;
|
|
38061
|
-
errorMessage?: string | null;
|
|
38062
|
-
}
|
|
38063
|
-
|
|
38064
|
-
export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
|
|
38065
|
-
|
|
38066
|
-
export interface SchemaCreatorDocumentParseStatusDto {
|
|
38067
|
-
inProgress: boolean;
|
|
38068
|
-
attempt?: SchemaCreatorParseAttemptDto | null;
|
|
38069
|
-
}
|
|
38070
|
-
|
|
38071
37686
|
export interface MeasurementFormSchemaDto {
|
|
38072
37687
|
id: string;
|
|
38073
37688
|
versionId: number;
|
|
@@ -38102,8 +37717,12 @@ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
|
38102
37717
|
|
|
38103
37718
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
38104
37719
|
|
|
37720
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
37721
|
+
|
|
38105
37722
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
38106
37723
|
|
|
37724
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
37725
|
+
|
|
38107
37726
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
38108
37727
|
url: string;
|
|
38109
37728
|
title: string;
|
|
@@ -38154,6 +37773,8 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
38154
37773
|
validationErrorMessage?: string | null;
|
|
38155
37774
|
}
|
|
38156
37775
|
|
|
37776
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
37777
|
+
|
|
38157
37778
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
38158
37779
|
|
|
38159
37780
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|