@ignos/api-client 20260807.210.1 → 20260810.212.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.
- package/lib/ignosportal-api.d.ts +119 -3
- package/lib/ignosportal-api.js +241 -0
- package/package.json +1 -1
- package/src/ignosportal-api.ts +350 -6
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2861,6 +2861,56 @@ export declare class InspectMatchSpecificationsClient extends AuthorizedApiBase
|
|
|
2861
2861
|
listSpecifications(): Promise<ImaSpecificationLiteDto[]>;
|
|
2862
2862
|
protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]>;
|
|
2863
2863
|
}
|
|
2864
|
+
export interface IInspectSchemaCreatorClient {
|
|
2865
|
+
getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto>;
|
|
2866
|
+
/**
|
|
2867
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
2868
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
2869
|
+
*/
|
|
2870
|
+
createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2871
|
+
updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2872
|
+
/**
|
|
2873
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
2874
|
+
returns a temporary download link.
|
|
2875
|
+
*/
|
|
2876
|
+
exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
|
|
2877
|
+
/**
|
|
2878
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
2879
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
2880
|
+
* @param image (optional)
|
|
2881
|
+
*/
|
|
2882
|
+
resolveSchemaCreatorSnip(id: string, elementId: string, image: FileParameter | null | undefined): Promise<FileResponse>;
|
|
2883
|
+
}
|
|
2884
|
+
export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
2885
|
+
private http;
|
|
2886
|
+
private baseUrl;
|
|
2887
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
2888
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2889
|
+
});
|
|
2890
|
+
getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto>;
|
|
2891
|
+
protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2892
|
+
/**
|
|
2893
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
2894
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
2895
|
+
*/
|
|
2896
|
+
createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2897
|
+
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2898
|
+
updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2899
|
+
protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2900
|
+
/**
|
|
2901
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
2902
|
+
returns a temporary download link.
|
|
2903
|
+
*/
|
|
2904
|
+
exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
|
|
2905
|
+
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto>;
|
|
2906
|
+
/**
|
|
2907
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
2908
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
2909
|
+
* @param image (optional)
|
|
2910
|
+
*/
|
|
2911
|
+
resolveSchemaCreatorSnip(id: string, elementId: string, image: FileParameter | null | undefined): Promise<FileResponse>;
|
|
2912
|
+
protected processResolveSchemaCreatorSnip(response: Response): Promise<FileResponse>;
|
|
2913
|
+
}
|
|
2864
2914
|
export interface IMeasurementFormSchemasAdminClient {
|
|
2865
2915
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
2866
2916
|
createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
|
|
@@ -9006,6 +9056,75 @@ export interface ImaSpecificationLiteDto {
|
|
|
9006
9056
|
updated: Date;
|
|
9007
9057
|
isDeleted: boolean;
|
|
9008
9058
|
}
|
|
9059
|
+
export interface SchemaCreatorStateDto {
|
|
9060
|
+
settings: SchemaCreatorSettingsDto;
|
|
9061
|
+
elements: SchemaCreatorElementDto[];
|
|
9062
|
+
}
|
|
9063
|
+
export interface SchemaCreatorSettingsDto {
|
|
9064
|
+
unit?: UnitOfMeasureDto;
|
|
9065
|
+
tolerance?: GeneralToleranceDto;
|
|
9066
|
+
balloonSize?: number;
|
|
9067
|
+
}
|
|
9068
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
9069
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
9070
|
+
export interface SchemaCreatorElementDto {
|
|
9071
|
+
id: string;
|
|
9072
|
+
kind: SchemaCreatorElementKindDto;
|
|
9073
|
+
drawings: SchemaCreatorElementDrawingsDto;
|
|
9074
|
+
isDirty?: boolean | null;
|
|
9075
|
+
values?: SchemaCreatorElementValuesDto | null;
|
|
9076
|
+
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
9077
|
+
}
|
|
9078
|
+
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
9079
|
+
export interface SchemaCreatorElementDrawingsDto {
|
|
9080
|
+
square: SchemaCreatorDrawingDto;
|
|
9081
|
+
circle: SchemaCreatorDrawingDto;
|
|
9082
|
+
textId: string;
|
|
9083
|
+
}
|
|
9084
|
+
export interface SchemaCreatorDrawingDto {
|
|
9085
|
+
rect: SchemaCreatorRectDto;
|
|
9086
|
+
pageIndex: number;
|
|
9087
|
+
annotationId: string;
|
|
9088
|
+
rotation?: number | null;
|
|
9089
|
+
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
9090
|
+
}
|
|
9091
|
+
export interface SchemaCreatorRectDto {
|
|
9092
|
+
origin: SchemaCreatorPointDto;
|
|
9093
|
+
size: SchemaCreatorSizeDto;
|
|
9094
|
+
}
|
|
9095
|
+
export interface SchemaCreatorPointDto {
|
|
9096
|
+
x: number;
|
|
9097
|
+
y: number;
|
|
9098
|
+
}
|
|
9099
|
+
export interface SchemaCreatorSizeDto {
|
|
9100
|
+
width: number;
|
|
9101
|
+
height: number;
|
|
9102
|
+
}
|
|
9103
|
+
export interface SchemaCreatorElementValuesDto {
|
|
9104
|
+
reference: number;
|
|
9105
|
+
nominal?: number | null;
|
|
9106
|
+
nominalText?: string | null;
|
|
9107
|
+
plusTolerance?: number | null;
|
|
9108
|
+
minusTolerance?: number | null;
|
|
9109
|
+
coatingThickness?: number | null;
|
|
9110
|
+
measurementFrequency: MeasurementFrequency;
|
|
9111
|
+
measurementFrequencyParameter?: number | null;
|
|
9112
|
+
type?: string | null;
|
|
9113
|
+
count?: number | null;
|
|
9114
|
+
comment?: string | null;
|
|
9115
|
+
canCopy: boolean;
|
|
9116
|
+
visibleToCustomer: boolean;
|
|
9117
|
+
isDocumentedExternally: boolean;
|
|
9118
|
+
}
|
|
9119
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
9120
|
+
export interface SchemaCreatorSnipResultDto {
|
|
9121
|
+
nominal?: number | null;
|
|
9122
|
+
nominalText?: string | null;
|
|
9123
|
+
plusTolerance?: number | null;
|
|
9124
|
+
minusTolerance?: number | null;
|
|
9125
|
+
coatingThickness?: number | null;
|
|
9126
|
+
count?: number | null;
|
|
9127
|
+
}
|
|
9009
9128
|
export interface MeasurementFormSchemaDto {
|
|
9010
9129
|
id: string;
|
|
9011
9130
|
versionId: number;
|
|
@@ -9037,9 +9156,7 @@ export interface MeasurementFormSchemaDto {
|
|
|
9037
9156
|
}
|
|
9038
9157
|
export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
9039
9158
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
9040
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
9041
9159
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
9042
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
9043
9160
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
9044
9161
|
url: string;
|
|
9045
9162
|
title: string;
|
|
@@ -9088,7 +9205,6 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
9088
9205
|
isValid: boolean;
|
|
9089
9206
|
validationErrorMessage?: string | null;
|
|
9090
9207
|
}
|
|
9091
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
9092
9208
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
9093
9209
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
9094
9210
|
export interface MeasurementFormLinkedSchemaDto {
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -23672,6 +23672,247 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
|
|
|
23672
23672
|
return Promise.resolve(null);
|
|
23673
23673
|
}
|
|
23674
23674
|
}
|
|
23675
|
+
export class InspectSchemaCreatorClient extends AuthorizedApiBase {
|
|
23676
|
+
constructor(configuration, baseUrl, http) {
|
|
23677
|
+
super(configuration);
|
|
23678
|
+
this.http = http ? http : window;
|
|
23679
|
+
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
23680
|
+
}
|
|
23681
|
+
getSchemaCreatorState(id) {
|
|
23682
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
23683
|
+
if (id === undefined || id === null)
|
|
23684
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23685
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23686
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
23687
|
+
let options_ = {
|
|
23688
|
+
method: "GET",
|
|
23689
|
+
headers: {
|
|
23690
|
+
"Accept": "application/json"
|
|
23691
|
+
}
|
|
23692
|
+
};
|
|
23693
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23694
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
23695
|
+
}).then((_response) => {
|
|
23696
|
+
return this.processGetSchemaCreatorState(_response);
|
|
23697
|
+
});
|
|
23698
|
+
}
|
|
23699
|
+
processGetSchemaCreatorState(response) {
|
|
23700
|
+
const status = response.status;
|
|
23701
|
+
let _headers = {};
|
|
23702
|
+
if (response.headers && response.headers.forEach) {
|
|
23703
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23704
|
+
}
|
|
23705
|
+
;
|
|
23706
|
+
if (status === 200) {
|
|
23707
|
+
return response.text().then((_responseText) => {
|
|
23708
|
+
let result200 = null;
|
|
23709
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23710
|
+
return result200;
|
|
23711
|
+
});
|
|
23712
|
+
}
|
|
23713
|
+
else if (status !== 200 && status !== 204) {
|
|
23714
|
+
return response.text().then((_responseText) => {
|
|
23715
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23716
|
+
});
|
|
23717
|
+
}
|
|
23718
|
+
return Promise.resolve(null);
|
|
23719
|
+
}
|
|
23720
|
+
/**
|
|
23721
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
23722
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
23723
|
+
*/
|
|
23724
|
+
createSchemaCreatorState(id, state) {
|
|
23725
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
23726
|
+
if (id === undefined || id === null)
|
|
23727
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23728
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23729
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
23730
|
+
const content_ = JSON.stringify(state);
|
|
23731
|
+
let options_ = {
|
|
23732
|
+
body: content_,
|
|
23733
|
+
method: "POST",
|
|
23734
|
+
headers: {
|
|
23735
|
+
"Content-Type": "application/json",
|
|
23736
|
+
"Accept": "application/json"
|
|
23737
|
+
}
|
|
23738
|
+
};
|
|
23739
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23740
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
23741
|
+
}).then((_response) => {
|
|
23742
|
+
return this.processCreateSchemaCreatorState(_response);
|
|
23743
|
+
});
|
|
23744
|
+
}
|
|
23745
|
+
processCreateSchemaCreatorState(response) {
|
|
23746
|
+
const status = response.status;
|
|
23747
|
+
let _headers = {};
|
|
23748
|
+
if (response.headers && response.headers.forEach) {
|
|
23749
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23750
|
+
}
|
|
23751
|
+
;
|
|
23752
|
+
if (status === 201) {
|
|
23753
|
+
return response.text().then((_responseText) => {
|
|
23754
|
+
let result201 = null;
|
|
23755
|
+
result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23756
|
+
return result201;
|
|
23757
|
+
});
|
|
23758
|
+
}
|
|
23759
|
+
else if (status === 409) {
|
|
23760
|
+
return response.text().then((_responseText) => {
|
|
23761
|
+
let result409 = null;
|
|
23762
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23763
|
+
return throwException("A server side error occurred.", status, _responseText, _headers, result409);
|
|
23764
|
+
});
|
|
23765
|
+
}
|
|
23766
|
+
else if (status !== 200 && status !== 204) {
|
|
23767
|
+
return response.text().then((_responseText) => {
|
|
23768
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23769
|
+
});
|
|
23770
|
+
}
|
|
23771
|
+
return Promise.resolve(null);
|
|
23772
|
+
}
|
|
23773
|
+
updateSchemaCreatorState(id, state) {
|
|
23774
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
23775
|
+
if (id === undefined || id === null)
|
|
23776
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23777
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23778
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
23779
|
+
const content_ = JSON.stringify(state);
|
|
23780
|
+
let options_ = {
|
|
23781
|
+
body: content_,
|
|
23782
|
+
method: "PUT",
|
|
23783
|
+
headers: {
|
|
23784
|
+
"Content-Type": "application/json",
|
|
23785
|
+
"Accept": "application/json"
|
|
23786
|
+
}
|
|
23787
|
+
};
|
|
23788
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23789
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
23790
|
+
}).then((_response) => {
|
|
23791
|
+
return this.processUpdateSchemaCreatorState(_response);
|
|
23792
|
+
});
|
|
23793
|
+
}
|
|
23794
|
+
processUpdateSchemaCreatorState(response) {
|
|
23795
|
+
const status = response.status;
|
|
23796
|
+
let _headers = {};
|
|
23797
|
+
if (response.headers && response.headers.forEach) {
|
|
23798
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23799
|
+
}
|
|
23800
|
+
;
|
|
23801
|
+
if (status === 200) {
|
|
23802
|
+
return response.text().then((_responseText) => {
|
|
23803
|
+
let result200 = null;
|
|
23804
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23805
|
+
return result200;
|
|
23806
|
+
});
|
|
23807
|
+
}
|
|
23808
|
+
else if (status !== 200 && status !== 204) {
|
|
23809
|
+
return response.text().then((_responseText) => {
|
|
23810
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23811
|
+
});
|
|
23812
|
+
}
|
|
23813
|
+
return Promise.resolve(null);
|
|
23814
|
+
}
|
|
23815
|
+
/**
|
|
23816
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
23817
|
+
returns a temporary download link.
|
|
23818
|
+
*/
|
|
23819
|
+
exportSchemaCreatorDrawing(id) {
|
|
23820
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/download";
|
|
23821
|
+
if (id === undefined || id === null)
|
|
23822
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23823
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23824
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
23825
|
+
let options_ = {
|
|
23826
|
+
method: "POST",
|
|
23827
|
+
headers: {
|
|
23828
|
+
"Accept": "application/json"
|
|
23829
|
+
}
|
|
23830
|
+
};
|
|
23831
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23832
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
23833
|
+
}).then((_response) => {
|
|
23834
|
+
return this.processExportSchemaCreatorDrawing(_response);
|
|
23835
|
+
});
|
|
23836
|
+
}
|
|
23837
|
+
processExportSchemaCreatorDrawing(response) {
|
|
23838
|
+
const status = response.status;
|
|
23839
|
+
let _headers = {};
|
|
23840
|
+
if (response.headers && response.headers.forEach) {
|
|
23841
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23842
|
+
}
|
|
23843
|
+
;
|
|
23844
|
+
if (status === 200) {
|
|
23845
|
+
return response.text().then((_responseText) => {
|
|
23846
|
+
let result200 = null;
|
|
23847
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23848
|
+
return result200;
|
|
23849
|
+
});
|
|
23850
|
+
}
|
|
23851
|
+
else if (status !== 200 && status !== 204) {
|
|
23852
|
+
return response.text().then((_responseText) => {
|
|
23853
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23854
|
+
});
|
|
23855
|
+
}
|
|
23856
|
+
return Promise.resolve(null);
|
|
23857
|
+
}
|
|
23858
|
+
/**
|
|
23859
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
23860
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
23861
|
+
* @param image (optional)
|
|
23862
|
+
*/
|
|
23863
|
+
resolveSchemaCreatorSnip(id, elementId, image) {
|
|
23864
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/elements/{elementId}/resolvesnip";
|
|
23865
|
+
if (id === undefined || id === null)
|
|
23866
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23867
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23868
|
+
if (elementId === undefined || elementId === null)
|
|
23869
|
+
throw new globalThis.Error("The parameter 'elementId' must be defined.");
|
|
23870
|
+
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
23871
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
23872
|
+
const content_ = new FormData();
|
|
23873
|
+
if (image !== null && image !== undefined)
|
|
23874
|
+
content_.append("image", image.data, image.fileName ? image.fileName : "image");
|
|
23875
|
+
let options_ = {
|
|
23876
|
+
body: content_,
|
|
23877
|
+
method: "POST",
|
|
23878
|
+
headers: {
|
|
23879
|
+
"Accept": "application/octet-stream"
|
|
23880
|
+
}
|
|
23881
|
+
};
|
|
23882
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23883
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
23884
|
+
}).then((_response) => {
|
|
23885
|
+
return this.processResolveSchemaCreatorSnip(_response);
|
|
23886
|
+
});
|
|
23887
|
+
}
|
|
23888
|
+
processResolveSchemaCreatorSnip(response) {
|
|
23889
|
+
const status = response.status;
|
|
23890
|
+
let _headers = {};
|
|
23891
|
+
if (response.headers && response.headers.forEach) {
|
|
23892
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23893
|
+
}
|
|
23894
|
+
;
|
|
23895
|
+
if (status === 200 || status === 206) {
|
|
23896
|
+
const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
23897
|
+
let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
|
|
23898
|
+
let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
|
|
23899
|
+
if (fileName) {
|
|
23900
|
+
fileName = decodeURIComponent(fileName);
|
|
23901
|
+
}
|
|
23902
|
+
else {
|
|
23903
|
+
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
23904
|
+
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
23905
|
+
}
|
|
23906
|
+
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
23907
|
+
}
|
|
23908
|
+
else if (status !== 200 && status !== 204) {
|
|
23909
|
+
return response.text().then((_responseText) => {
|
|
23910
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23911
|
+
});
|
|
23912
|
+
}
|
|
23913
|
+
return Promise.resolve(null);
|
|
23914
|
+
}
|
|
23915
|
+
}
|
|
23675
23916
|
export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
23676
23917
|
constructor(configuration, baseUrl, http) {
|
|
23677
23918
|
super(configuration);
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -25319,6 +25319,273 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
25319
25319
|
}
|
|
25320
25320
|
}
|
|
25321
25321
|
|
|
25322
|
+
export interface IInspectSchemaCreatorClient {
|
|
25323
|
+
|
|
25324
|
+
getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto>;
|
|
25325
|
+
|
|
25326
|
+
/**
|
|
25327
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
25328
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
25329
|
+
*/
|
|
25330
|
+
createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
25331
|
+
|
|
25332
|
+
updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
25333
|
+
|
|
25334
|
+
/**
|
|
25335
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
25336
|
+
returns a temporary download link.
|
|
25337
|
+
*/
|
|
25338
|
+
exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
|
|
25339
|
+
|
|
25340
|
+
/**
|
|
25341
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
25342
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
25343
|
+
* @param image (optional)
|
|
25344
|
+
*/
|
|
25345
|
+
resolveSchemaCreatorSnip(id: string, elementId: string, image: FileParameter | null | undefined): Promise<FileResponse>;
|
|
25346
|
+
}
|
|
25347
|
+
|
|
25348
|
+
export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
25349
|
+
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
25350
|
+
private baseUrl: string;
|
|
25351
|
+
|
|
25352
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
25353
|
+
super(configuration);
|
|
25354
|
+
this.http = http ? http : window as any;
|
|
25355
|
+
this.baseUrl = baseUrl ?? "";
|
|
25356
|
+
}
|
|
25357
|
+
|
|
25358
|
+
getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto> {
|
|
25359
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
25360
|
+
if (id === undefined || id === null)
|
|
25361
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25362
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25363
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
25364
|
+
|
|
25365
|
+
let options_: RequestInit = {
|
|
25366
|
+
method: "GET",
|
|
25367
|
+
headers: {
|
|
25368
|
+
"Accept": "application/json"
|
|
25369
|
+
}
|
|
25370
|
+
};
|
|
25371
|
+
|
|
25372
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25373
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
25374
|
+
}).then((_response: Response) => {
|
|
25375
|
+
return this.processGetSchemaCreatorState(_response);
|
|
25376
|
+
});
|
|
25377
|
+
}
|
|
25378
|
+
|
|
25379
|
+
protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
25380
|
+
const status = response.status;
|
|
25381
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25382
|
+
if (status === 200) {
|
|
25383
|
+
return response.text().then((_responseText) => {
|
|
25384
|
+
let result200: any = null;
|
|
25385
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
25386
|
+
return result200;
|
|
25387
|
+
});
|
|
25388
|
+
} else if (status !== 200 && status !== 204) {
|
|
25389
|
+
return response.text().then((_responseText) => {
|
|
25390
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25391
|
+
});
|
|
25392
|
+
}
|
|
25393
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
25394
|
+
}
|
|
25395
|
+
|
|
25396
|
+
/**
|
|
25397
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
25398
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
25399
|
+
*/
|
|
25400
|
+
createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
25401
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
25402
|
+
if (id === undefined || id === null)
|
|
25403
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25404
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25405
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
25406
|
+
|
|
25407
|
+
const content_ = JSON.stringify(state);
|
|
25408
|
+
|
|
25409
|
+
let options_: RequestInit = {
|
|
25410
|
+
body: content_,
|
|
25411
|
+
method: "POST",
|
|
25412
|
+
headers: {
|
|
25413
|
+
"Content-Type": "application/json",
|
|
25414
|
+
"Accept": "application/json"
|
|
25415
|
+
}
|
|
25416
|
+
};
|
|
25417
|
+
|
|
25418
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25419
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
25420
|
+
}).then((_response: Response) => {
|
|
25421
|
+
return this.processCreateSchemaCreatorState(_response);
|
|
25422
|
+
});
|
|
25423
|
+
}
|
|
25424
|
+
|
|
25425
|
+
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
25426
|
+
const status = response.status;
|
|
25427
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25428
|
+
if (status === 201) {
|
|
25429
|
+
return response.text().then((_responseText) => {
|
|
25430
|
+
let result201: any = null;
|
|
25431
|
+
result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
25432
|
+
return result201;
|
|
25433
|
+
});
|
|
25434
|
+
} else if (status === 409) {
|
|
25435
|
+
return response.text().then((_responseText) => {
|
|
25436
|
+
let result409: any = null;
|
|
25437
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProblemDetails;
|
|
25438
|
+
return throwException("A server side error occurred.", status, _responseText, _headers, result409);
|
|
25439
|
+
});
|
|
25440
|
+
} else if (status !== 200 && status !== 204) {
|
|
25441
|
+
return response.text().then((_responseText) => {
|
|
25442
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25443
|
+
});
|
|
25444
|
+
}
|
|
25445
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
25446
|
+
}
|
|
25447
|
+
|
|
25448
|
+
updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
25449
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
25450
|
+
if (id === undefined || id === null)
|
|
25451
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25452
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25453
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
25454
|
+
|
|
25455
|
+
const content_ = JSON.stringify(state);
|
|
25456
|
+
|
|
25457
|
+
let options_: RequestInit = {
|
|
25458
|
+
body: content_,
|
|
25459
|
+
method: "PUT",
|
|
25460
|
+
headers: {
|
|
25461
|
+
"Content-Type": "application/json",
|
|
25462
|
+
"Accept": "application/json"
|
|
25463
|
+
}
|
|
25464
|
+
};
|
|
25465
|
+
|
|
25466
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25467
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
25468
|
+
}).then((_response: Response) => {
|
|
25469
|
+
return this.processUpdateSchemaCreatorState(_response);
|
|
25470
|
+
});
|
|
25471
|
+
}
|
|
25472
|
+
|
|
25473
|
+
protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
25474
|
+
const status = response.status;
|
|
25475
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25476
|
+
if (status === 200) {
|
|
25477
|
+
return response.text().then((_responseText) => {
|
|
25478
|
+
let result200: any = null;
|
|
25479
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
25480
|
+
return result200;
|
|
25481
|
+
});
|
|
25482
|
+
} else if (status !== 200 && status !== 204) {
|
|
25483
|
+
return response.text().then((_responseText) => {
|
|
25484
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25485
|
+
});
|
|
25486
|
+
}
|
|
25487
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
25488
|
+
}
|
|
25489
|
+
|
|
25490
|
+
/**
|
|
25491
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
25492
|
+
returns a temporary download link.
|
|
25493
|
+
*/
|
|
25494
|
+
exportSchemaCreatorDrawing(id: string): Promise<DownloadDto> {
|
|
25495
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/download";
|
|
25496
|
+
if (id === undefined || id === null)
|
|
25497
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25498
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25499
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
25500
|
+
|
|
25501
|
+
let options_: RequestInit = {
|
|
25502
|
+
method: "POST",
|
|
25503
|
+
headers: {
|
|
25504
|
+
"Accept": "application/json"
|
|
25505
|
+
}
|
|
25506
|
+
};
|
|
25507
|
+
|
|
25508
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25509
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
25510
|
+
}).then((_response: Response) => {
|
|
25511
|
+
return this.processExportSchemaCreatorDrawing(_response);
|
|
25512
|
+
});
|
|
25513
|
+
}
|
|
25514
|
+
|
|
25515
|
+
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto> {
|
|
25516
|
+
const status = response.status;
|
|
25517
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25518
|
+
if (status === 200) {
|
|
25519
|
+
return response.text().then((_responseText) => {
|
|
25520
|
+
let result200: any = null;
|
|
25521
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as DownloadDto;
|
|
25522
|
+
return result200;
|
|
25523
|
+
});
|
|
25524
|
+
} else if (status !== 200 && status !== 204) {
|
|
25525
|
+
return response.text().then((_responseText) => {
|
|
25526
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25527
|
+
});
|
|
25528
|
+
}
|
|
25529
|
+
return Promise.resolve<DownloadDto>(null as any);
|
|
25530
|
+
}
|
|
25531
|
+
|
|
25532
|
+
/**
|
|
25533
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
25534
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
25535
|
+
* @param image (optional)
|
|
25536
|
+
*/
|
|
25537
|
+
resolveSchemaCreatorSnip(id: string, elementId: string, image: FileParameter | null | undefined): Promise<FileResponse> {
|
|
25538
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/elements/{elementId}/resolvesnip";
|
|
25539
|
+
if (id === undefined || id === null)
|
|
25540
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25541
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25542
|
+
if (elementId === undefined || elementId === null)
|
|
25543
|
+
throw new globalThis.Error("The parameter 'elementId' must be defined.");
|
|
25544
|
+
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
25545
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
25546
|
+
|
|
25547
|
+
const content_ = new FormData();
|
|
25548
|
+
if (image !== null && image !== undefined)
|
|
25549
|
+
content_.append("image", image.data, image.fileName ? image.fileName : "image");
|
|
25550
|
+
|
|
25551
|
+
let options_: RequestInit = {
|
|
25552
|
+
body: content_,
|
|
25553
|
+
method: "POST",
|
|
25554
|
+
headers: {
|
|
25555
|
+
"Accept": "application/octet-stream"
|
|
25556
|
+
}
|
|
25557
|
+
};
|
|
25558
|
+
|
|
25559
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25560
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
25561
|
+
}).then((_response: Response) => {
|
|
25562
|
+
return this.processResolveSchemaCreatorSnip(_response);
|
|
25563
|
+
});
|
|
25564
|
+
}
|
|
25565
|
+
|
|
25566
|
+
protected processResolveSchemaCreatorSnip(response: Response): Promise<FileResponse> {
|
|
25567
|
+
const status = response.status;
|
|
25568
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25569
|
+
if (status === 200 || status === 206) {
|
|
25570
|
+
const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
25571
|
+
let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
|
|
25572
|
+
let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
|
|
25573
|
+
if (fileName) {
|
|
25574
|
+
fileName = decodeURIComponent(fileName);
|
|
25575
|
+
} else {
|
|
25576
|
+
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
25577
|
+
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
25578
|
+
}
|
|
25579
|
+
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
25580
|
+
} else if (status !== 200 && status !== 204) {
|
|
25581
|
+
return response.text().then((_responseText) => {
|
|
25582
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25583
|
+
});
|
|
25584
|
+
}
|
|
25585
|
+
return Promise.resolve<FileResponse>(null as any);
|
|
25586
|
+
}
|
|
25587
|
+
}
|
|
25588
|
+
|
|
25322
25589
|
export interface IMeasurementFormSchemasAdminClient {
|
|
25323
25590
|
|
|
25324
25591
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
@@ -37477,6 +37744,89 @@ export interface ImaSpecificationLiteDto {
|
|
|
37477
37744
|
isDeleted: boolean;
|
|
37478
37745
|
}
|
|
37479
37746
|
|
|
37747
|
+
export interface SchemaCreatorStateDto {
|
|
37748
|
+
settings: SchemaCreatorSettingsDto;
|
|
37749
|
+
elements: SchemaCreatorElementDto[];
|
|
37750
|
+
}
|
|
37751
|
+
|
|
37752
|
+
export interface SchemaCreatorSettingsDto {
|
|
37753
|
+
unit?: UnitOfMeasureDto;
|
|
37754
|
+
tolerance?: GeneralToleranceDto;
|
|
37755
|
+
balloonSize?: number;
|
|
37756
|
+
}
|
|
37757
|
+
|
|
37758
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
37759
|
+
|
|
37760
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
37761
|
+
|
|
37762
|
+
export interface SchemaCreatorElementDto {
|
|
37763
|
+
id: string;
|
|
37764
|
+
kind: SchemaCreatorElementKindDto;
|
|
37765
|
+
drawings: SchemaCreatorElementDrawingsDto;
|
|
37766
|
+
isDirty?: boolean | null;
|
|
37767
|
+
values?: SchemaCreatorElementValuesDto | null;
|
|
37768
|
+
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
37769
|
+
}
|
|
37770
|
+
|
|
37771
|
+
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
37772
|
+
|
|
37773
|
+
export interface SchemaCreatorElementDrawingsDto {
|
|
37774
|
+
square: SchemaCreatorDrawingDto;
|
|
37775
|
+
circle: SchemaCreatorDrawingDto;
|
|
37776
|
+
textId: string;
|
|
37777
|
+
}
|
|
37778
|
+
|
|
37779
|
+
export interface SchemaCreatorDrawingDto {
|
|
37780
|
+
rect: SchemaCreatorRectDto;
|
|
37781
|
+
pageIndex: number;
|
|
37782
|
+
annotationId: string;
|
|
37783
|
+
rotation?: number | null;
|
|
37784
|
+
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
37785
|
+
}
|
|
37786
|
+
|
|
37787
|
+
export interface SchemaCreatorRectDto {
|
|
37788
|
+
origin: SchemaCreatorPointDto;
|
|
37789
|
+
size: SchemaCreatorSizeDto;
|
|
37790
|
+
}
|
|
37791
|
+
|
|
37792
|
+
export interface SchemaCreatorPointDto {
|
|
37793
|
+
x: number;
|
|
37794
|
+
y: number;
|
|
37795
|
+
}
|
|
37796
|
+
|
|
37797
|
+
export interface SchemaCreatorSizeDto {
|
|
37798
|
+
width: number;
|
|
37799
|
+
height: number;
|
|
37800
|
+
}
|
|
37801
|
+
|
|
37802
|
+
export interface SchemaCreatorElementValuesDto {
|
|
37803
|
+
reference: number;
|
|
37804
|
+
nominal?: number | null;
|
|
37805
|
+
nominalText?: string | null;
|
|
37806
|
+
plusTolerance?: number | null;
|
|
37807
|
+
minusTolerance?: number | null;
|
|
37808
|
+
coatingThickness?: number | null;
|
|
37809
|
+
measurementFrequency: MeasurementFrequency;
|
|
37810
|
+
measurementFrequencyParameter?: number | null;
|
|
37811
|
+
type?: string | null;
|
|
37812
|
+
count?: number | null;
|
|
37813
|
+
comment?: string | null;
|
|
37814
|
+
canCopy: boolean;
|
|
37815
|
+
visibleToCustomer: boolean;
|
|
37816
|
+
isDocumentedExternally: boolean;
|
|
37817
|
+
}
|
|
37818
|
+
|
|
37819
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
37820
|
+
|
|
37821
|
+
export interface SchemaCreatorSnipResultDto {
|
|
37822
|
+
nominal?: number | null;
|
|
37823
|
+
nominalText?: string | null;
|
|
37824
|
+
plusTolerance?: number | null;
|
|
37825
|
+
minusTolerance?: number | null;
|
|
37826
|
+
coatingThickness?: number | null;
|
|
37827
|
+
count?: number | null;
|
|
37828
|
+
}
|
|
37829
|
+
|
|
37480
37830
|
export interface MeasurementFormSchemaDto {
|
|
37481
37831
|
id: string;
|
|
37482
37832
|
versionId: number;
|
|
@@ -37511,12 +37861,8 @@ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
|
37511
37861
|
|
|
37512
37862
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
37513
37863
|
|
|
37514
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
37515
|
-
|
|
37516
37864
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
37517
37865
|
|
|
37518
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
37519
|
-
|
|
37520
37866
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
37521
37867
|
url: string;
|
|
37522
37868
|
title: string;
|
|
@@ -37567,8 +37913,6 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
37567
37913
|
validationErrorMessage?: string | null;
|
|
37568
37914
|
}
|
|
37569
37915
|
|
|
37570
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
37571
|
-
|
|
37572
37916
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
37573
37917
|
|
|
37574
37918
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|