@ignos/api-client 20261009.302.1 → 20261009.304.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 +73 -1
- package/lib/ignosportal-api.js +126 -0
- package/package.json +1 -1
- package/src/ignosportal-api.ts +195 -1
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -3222,6 +3222,18 @@ export interface IMeasurementFormSchemasClient {
|
|
|
3222
3222
|
getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
3223
3223
|
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
3224
3224
|
listFrequencies(): Promise<MeasurementFrequencyDto[]>;
|
|
3225
|
+
/**
|
|
3226
|
+
* Calculates +/- tolerance for an ISO fit designation (e.g. "12H7") typed into a Nominal Text field.
|
|
3227
|
+
*/
|
|
3228
|
+
calculateFitTolerance(request: CalculateFitToleranceRequest): Promise<FitToleranceResultDto>;
|
|
3229
|
+
/**
|
|
3230
|
+
* Calculates +/- tolerance from the schema's ISO 2768 general tolerance setting.
|
|
3231
|
+
*/
|
|
3232
|
+
calculateGeneralTolerance(request: CalculateGeneralToleranceRequest): Promise<GeneralToleranceResultDto>;
|
|
3233
|
+
/**
|
|
3234
|
+
* Batch form of generaltolerance above - calculates tolerances for many elements in one request.
|
|
3235
|
+
*/
|
|
3236
|
+
calculateGeneralToleranceBatch(request: CalculateGeneralToleranceBatchRequest): Promise<GeneralToleranceBatchResultDto>;
|
|
3225
3237
|
}
|
|
3226
3238
|
export declare class MeasurementFormSchemasClient extends AuthorizedApiBase implements IMeasurementFormSchemasClient {
|
|
3227
3239
|
private http;
|
|
@@ -3235,6 +3247,21 @@ export declare class MeasurementFormSchemasClient extends AuthorizedApiBase impl
|
|
|
3235
3247
|
protected processPostListMeasurementFormSchemas(response: Response): Promise<PagedResultOfMeasurementFormListDto>;
|
|
3236
3248
|
listFrequencies(): Promise<MeasurementFrequencyDto[]>;
|
|
3237
3249
|
protected processListFrequencies(response: Response): Promise<MeasurementFrequencyDto[]>;
|
|
3250
|
+
/**
|
|
3251
|
+
* Calculates +/- tolerance for an ISO fit designation (e.g. "12H7") typed into a Nominal Text field.
|
|
3252
|
+
*/
|
|
3253
|
+
calculateFitTolerance(request: CalculateFitToleranceRequest): Promise<FitToleranceResultDto>;
|
|
3254
|
+
protected processCalculateFitTolerance(response: Response): Promise<FitToleranceResultDto>;
|
|
3255
|
+
/**
|
|
3256
|
+
* Calculates +/- tolerance from the schema's ISO 2768 general tolerance setting.
|
|
3257
|
+
*/
|
|
3258
|
+
calculateGeneralTolerance(request: CalculateGeneralToleranceRequest): Promise<GeneralToleranceResultDto>;
|
|
3259
|
+
protected processCalculateGeneralTolerance(response: Response): Promise<GeneralToleranceResultDto>;
|
|
3260
|
+
/**
|
|
3261
|
+
* Batch form of generaltolerance above - calculates tolerances for many elements in one request.
|
|
3262
|
+
*/
|
|
3263
|
+
calculateGeneralToleranceBatch(request: CalculateGeneralToleranceBatchRequest): Promise<GeneralToleranceBatchResultDto>;
|
|
3264
|
+
protected processCalculateGeneralToleranceBatch(response: Response): Promise<GeneralToleranceBatchResultDto>;
|
|
3238
3265
|
}
|
|
3239
3266
|
export interface IMeasurementFormSettingsClient {
|
|
3240
3267
|
getMeasurementFormSettings(): Promise<InspectCompanySettingsDto>;
|
|
@@ -7801,7 +7828,6 @@ export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp";
|
|
|
7801
7828
|
export interface SetProgramStatus {
|
|
7802
7829
|
workOrderId?: string;
|
|
7803
7830
|
operationNumber?: number;
|
|
7804
|
-
resourceId?: string;
|
|
7805
7831
|
status?: ProgramStatus;
|
|
7806
7832
|
}
|
|
7807
7833
|
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File" | "OperationText";
|
|
@@ -9997,6 +10023,52 @@ export interface MeasurementFrequencyDto {
|
|
|
9997
10023
|
id: number;
|
|
9998
10024
|
name: string;
|
|
9999
10025
|
}
|
|
10026
|
+
export interface FitToleranceResultDto {
|
|
10027
|
+
isValidDesignation?: boolean;
|
|
10028
|
+
isSupported?: boolean;
|
|
10029
|
+
nominalSizeMm?: number | null;
|
|
10030
|
+
toleranceClassLetter?: string | null;
|
|
10031
|
+
itGrade?: number | null;
|
|
10032
|
+
tolerancePlusMm?: number | null;
|
|
10033
|
+
toleranceMinusMm?: number | null;
|
|
10034
|
+
message?: string | null;
|
|
10035
|
+
}
|
|
10036
|
+
export interface CalculateFitToleranceRequest {
|
|
10037
|
+
designation: string;
|
|
10038
|
+
elementType: string;
|
|
10039
|
+
}
|
|
10040
|
+
export interface GeneralToleranceResultDto {
|
|
10041
|
+
isSupported?: boolean;
|
|
10042
|
+
tolerancePlus?: number | null;
|
|
10043
|
+
toleranceMinus?: number | null;
|
|
10044
|
+
message?: string | null;
|
|
10045
|
+
}
|
|
10046
|
+
export interface CalculateGeneralToleranceRequest {
|
|
10047
|
+
elementType: string;
|
|
10048
|
+
nominal: number;
|
|
10049
|
+
unit: UnitOfMeasureDto;
|
|
10050
|
+
generalTolerance: GeneralToleranceDto;
|
|
10051
|
+
}
|
|
10052
|
+
export interface GeneralToleranceBatchResultDto {
|
|
10053
|
+
results: GeneralToleranceBatchItemResultDto[];
|
|
10054
|
+
}
|
|
10055
|
+
export interface GeneralToleranceBatchItemResultDto {
|
|
10056
|
+
id: string;
|
|
10057
|
+
isSupported?: boolean;
|
|
10058
|
+
tolerancePlus?: number | null;
|
|
10059
|
+
toleranceMinus?: number | null;
|
|
10060
|
+
message?: string | null;
|
|
10061
|
+
}
|
|
10062
|
+
export interface CalculateGeneralToleranceBatchRequest {
|
|
10063
|
+
items: GeneralToleranceBatchItemDto[];
|
|
10064
|
+
generalTolerance: GeneralToleranceDto;
|
|
10065
|
+
}
|
|
10066
|
+
export interface GeneralToleranceBatchItemDto {
|
|
10067
|
+
id: string;
|
|
10068
|
+
elementType: string;
|
|
10069
|
+
nominal: number;
|
|
10070
|
+
unit: UnitOfMeasureDto;
|
|
10071
|
+
}
|
|
10000
10072
|
export interface MeasurementFormInstanceDto {
|
|
10001
10073
|
id: string;
|
|
10002
10074
|
readonly: boolean;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -27350,6 +27350,132 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
|
|
|
27350
27350
|
}
|
|
27351
27351
|
return Promise.resolve(null);
|
|
27352
27352
|
}
|
|
27353
|
+
/**
|
|
27354
|
+
* Calculates +/- tolerance for an ISO fit designation (e.g. "12H7") typed into a Nominal Text field.
|
|
27355
|
+
*/
|
|
27356
|
+
calculateFitTolerance(request) {
|
|
27357
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/fittolerance";
|
|
27358
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27359
|
+
const content_ = JSON.stringify(request);
|
|
27360
|
+
let options_ = {
|
|
27361
|
+
body: content_,
|
|
27362
|
+
method: "POST",
|
|
27363
|
+
headers: {
|
|
27364
|
+
"Content-Type": "application/json",
|
|
27365
|
+
"Accept": "application/json"
|
|
27366
|
+
}
|
|
27367
|
+
};
|
|
27368
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
27369
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
27370
|
+
}).then((_response) => {
|
|
27371
|
+
return this.processCalculateFitTolerance(_response);
|
|
27372
|
+
});
|
|
27373
|
+
}
|
|
27374
|
+
processCalculateFitTolerance(response) {
|
|
27375
|
+
const status = response.status;
|
|
27376
|
+
let _headers = {};
|
|
27377
|
+
if (response.headers && response.headers.forEach) {
|
|
27378
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
27379
|
+
}
|
|
27380
|
+
;
|
|
27381
|
+
if (status === 200) {
|
|
27382
|
+
return response.text().then((_responseText) => {
|
|
27383
|
+
let result200 = null;
|
|
27384
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27385
|
+
return result200;
|
|
27386
|
+
});
|
|
27387
|
+
}
|
|
27388
|
+
else if (status !== 200 && status !== 204) {
|
|
27389
|
+
return response.text().then((_responseText) => {
|
|
27390
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27391
|
+
});
|
|
27392
|
+
}
|
|
27393
|
+
return Promise.resolve(null);
|
|
27394
|
+
}
|
|
27395
|
+
/**
|
|
27396
|
+
* Calculates +/- tolerance from the schema's ISO 2768 general tolerance setting.
|
|
27397
|
+
*/
|
|
27398
|
+
calculateGeneralTolerance(request) {
|
|
27399
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/generaltolerance";
|
|
27400
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27401
|
+
const content_ = JSON.stringify(request);
|
|
27402
|
+
let options_ = {
|
|
27403
|
+
body: content_,
|
|
27404
|
+
method: "POST",
|
|
27405
|
+
headers: {
|
|
27406
|
+
"Content-Type": "application/json",
|
|
27407
|
+
"Accept": "application/json"
|
|
27408
|
+
}
|
|
27409
|
+
};
|
|
27410
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
27411
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
27412
|
+
}).then((_response) => {
|
|
27413
|
+
return this.processCalculateGeneralTolerance(_response);
|
|
27414
|
+
});
|
|
27415
|
+
}
|
|
27416
|
+
processCalculateGeneralTolerance(response) {
|
|
27417
|
+
const status = response.status;
|
|
27418
|
+
let _headers = {};
|
|
27419
|
+
if (response.headers && response.headers.forEach) {
|
|
27420
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
27421
|
+
}
|
|
27422
|
+
;
|
|
27423
|
+
if (status === 200) {
|
|
27424
|
+
return response.text().then((_responseText) => {
|
|
27425
|
+
let result200 = null;
|
|
27426
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27427
|
+
return result200;
|
|
27428
|
+
});
|
|
27429
|
+
}
|
|
27430
|
+
else if (status !== 200 && status !== 204) {
|
|
27431
|
+
return response.text().then((_responseText) => {
|
|
27432
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27433
|
+
});
|
|
27434
|
+
}
|
|
27435
|
+
return Promise.resolve(null);
|
|
27436
|
+
}
|
|
27437
|
+
/**
|
|
27438
|
+
* Batch form of generaltolerance above - calculates tolerances for many elements in one request.
|
|
27439
|
+
*/
|
|
27440
|
+
calculateGeneralToleranceBatch(request) {
|
|
27441
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/generaltolerance/batch";
|
|
27442
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27443
|
+
const content_ = JSON.stringify(request);
|
|
27444
|
+
let options_ = {
|
|
27445
|
+
body: content_,
|
|
27446
|
+
method: "POST",
|
|
27447
|
+
headers: {
|
|
27448
|
+
"Content-Type": "application/json",
|
|
27449
|
+
"Accept": "application/json"
|
|
27450
|
+
}
|
|
27451
|
+
};
|
|
27452
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
27453
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
27454
|
+
}).then((_response) => {
|
|
27455
|
+
return this.processCalculateGeneralToleranceBatch(_response);
|
|
27456
|
+
});
|
|
27457
|
+
}
|
|
27458
|
+
processCalculateGeneralToleranceBatch(response) {
|
|
27459
|
+
const status = response.status;
|
|
27460
|
+
let _headers = {};
|
|
27461
|
+
if (response.headers && response.headers.forEach) {
|
|
27462
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
27463
|
+
}
|
|
27464
|
+
;
|
|
27465
|
+
if (status === 200) {
|
|
27466
|
+
return response.text().then((_responseText) => {
|
|
27467
|
+
let result200 = null;
|
|
27468
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27469
|
+
return result200;
|
|
27470
|
+
});
|
|
27471
|
+
}
|
|
27472
|
+
else if (status !== 200 && status !== 204) {
|
|
27473
|
+
return response.text().then((_responseText) => {
|
|
27474
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27475
|
+
});
|
|
27476
|
+
}
|
|
27477
|
+
return Promise.resolve(null);
|
|
27478
|
+
}
|
|
27353
27479
|
}
|
|
27354
27480
|
export class MeasurementFormSettingsClient extends AuthorizedApiBase {
|
|
27355
27481
|
http;
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -28903,6 +28903,21 @@ export interface IMeasurementFormSchemasClient {
|
|
|
28903
28903
|
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
28904
28904
|
|
|
28905
28905
|
listFrequencies(): Promise<MeasurementFrequencyDto[]>;
|
|
28906
|
+
|
|
28907
|
+
/**
|
|
28908
|
+
* Calculates +/- tolerance for an ISO fit designation (e.g. "12H7") typed into a Nominal Text field.
|
|
28909
|
+
*/
|
|
28910
|
+
calculateFitTolerance(request: CalculateFitToleranceRequest): Promise<FitToleranceResultDto>;
|
|
28911
|
+
|
|
28912
|
+
/**
|
|
28913
|
+
* Calculates +/- tolerance from the schema's ISO 2768 general tolerance setting.
|
|
28914
|
+
*/
|
|
28915
|
+
calculateGeneralTolerance(request: CalculateGeneralToleranceRequest): Promise<GeneralToleranceResultDto>;
|
|
28916
|
+
|
|
28917
|
+
/**
|
|
28918
|
+
* Batch form of generaltolerance above - calculates tolerances for many elements in one request.
|
|
28919
|
+
*/
|
|
28920
|
+
calculateGeneralToleranceBatch(request: CalculateGeneralToleranceBatchRequest): Promise<GeneralToleranceBatchResultDto>;
|
|
28906
28921
|
}
|
|
28907
28922
|
|
|
28908
28923
|
export class MeasurementFormSchemasClient extends AuthorizedApiBase implements IMeasurementFormSchemasClient {
|
|
@@ -29026,6 +29041,132 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
29026
29041
|
}
|
|
29027
29042
|
return Promise.resolve<MeasurementFrequencyDto[]>(null as any);
|
|
29028
29043
|
}
|
|
29044
|
+
|
|
29045
|
+
/**
|
|
29046
|
+
* Calculates +/- tolerance for an ISO fit designation (e.g. "12H7") typed into a Nominal Text field.
|
|
29047
|
+
*/
|
|
29048
|
+
calculateFitTolerance(request: CalculateFitToleranceRequest): Promise<FitToleranceResultDto> {
|
|
29049
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/fittolerance";
|
|
29050
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
29051
|
+
|
|
29052
|
+
const content_ = JSON.stringify(request);
|
|
29053
|
+
|
|
29054
|
+
let options_: RequestInit = {
|
|
29055
|
+
body: content_,
|
|
29056
|
+
method: "POST",
|
|
29057
|
+
headers: {
|
|
29058
|
+
"Content-Type": "application/json",
|
|
29059
|
+
"Accept": "application/json"
|
|
29060
|
+
}
|
|
29061
|
+
};
|
|
29062
|
+
|
|
29063
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
29064
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
29065
|
+
}).then((_response: Response) => {
|
|
29066
|
+
return this.processCalculateFitTolerance(_response);
|
|
29067
|
+
});
|
|
29068
|
+
}
|
|
29069
|
+
|
|
29070
|
+
protected processCalculateFitTolerance(response: Response): Promise<FitToleranceResultDto> {
|
|
29071
|
+
const status = response.status;
|
|
29072
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
29073
|
+
if (status === 200) {
|
|
29074
|
+
return response.text().then((_responseText) => {
|
|
29075
|
+
let result200: any = null;
|
|
29076
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as FitToleranceResultDto;
|
|
29077
|
+
return result200;
|
|
29078
|
+
});
|
|
29079
|
+
} else if (status !== 200 && status !== 204) {
|
|
29080
|
+
return response.text().then((_responseText) => {
|
|
29081
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
29082
|
+
});
|
|
29083
|
+
}
|
|
29084
|
+
return Promise.resolve<FitToleranceResultDto>(null as any);
|
|
29085
|
+
}
|
|
29086
|
+
|
|
29087
|
+
/**
|
|
29088
|
+
* Calculates +/- tolerance from the schema's ISO 2768 general tolerance setting.
|
|
29089
|
+
*/
|
|
29090
|
+
calculateGeneralTolerance(request: CalculateGeneralToleranceRequest): Promise<GeneralToleranceResultDto> {
|
|
29091
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/generaltolerance";
|
|
29092
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
29093
|
+
|
|
29094
|
+
const content_ = JSON.stringify(request);
|
|
29095
|
+
|
|
29096
|
+
let options_: RequestInit = {
|
|
29097
|
+
body: content_,
|
|
29098
|
+
method: "POST",
|
|
29099
|
+
headers: {
|
|
29100
|
+
"Content-Type": "application/json",
|
|
29101
|
+
"Accept": "application/json"
|
|
29102
|
+
}
|
|
29103
|
+
};
|
|
29104
|
+
|
|
29105
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
29106
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
29107
|
+
}).then((_response: Response) => {
|
|
29108
|
+
return this.processCalculateGeneralTolerance(_response);
|
|
29109
|
+
});
|
|
29110
|
+
}
|
|
29111
|
+
|
|
29112
|
+
protected processCalculateGeneralTolerance(response: Response): Promise<GeneralToleranceResultDto> {
|
|
29113
|
+
const status = response.status;
|
|
29114
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
29115
|
+
if (status === 200) {
|
|
29116
|
+
return response.text().then((_responseText) => {
|
|
29117
|
+
let result200: any = null;
|
|
29118
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as GeneralToleranceResultDto;
|
|
29119
|
+
return result200;
|
|
29120
|
+
});
|
|
29121
|
+
} else if (status !== 200 && status !== 204) {
|
|
29122
|
+
return response.text().then((_responseText) => {
|
|
29123
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
29124
|
+
});
|
|
29125
|
+
}
|
|
29126
|
+
return Promise.resolve<GeneralToleranceResultDto>(null as any);
|
|
29127
|
+
}
|
|
29128
|
+
|
|
29129
|
+
/**
|
|
29130
|
+
* Batch form of generaltolerance above - calculates tolerances for many elements in one request.
|
|
29131
|
+
*/
|
|
29132
|
+
calculateGeneralToleranceBatch(request: CalculateGeneralToleranceBatchRequest): Promise<GeneralToleranceBatchResultDto> {
|
|
29133
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/generaltolerance/batch";
|
|
29134
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
29135
|
+
|
|
29136
|
+
const content_ = JSON.stringify(request);
|
|
29137
|
+
|
|
29138
|
+
let options_: RequestInit = {
|
|
29139
|
+
body: content_,
|
|
29140
|
+
method: "POST",
|
|
29141
|
+
headers: {
|
|
29142
|
+
"Content-Type": "application/json",
|
|
29143
|
+
"Accept": "application/json"
|
|
29144
|
+
}
|
|
29145
|
+
};
|
|
29146
|
+
|
|
29147
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
29148
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
29149
|
+
}).then((_response: Response) => {
|
|
29150
|
+
return this.processCalculateGeneralToleranceBatch(_response);
|
|
29151
|
+
});
|
|
29152
|
+
}
|
|
29153
|
+
|
|
29154
|
+
protected processCalculateGeneralToleranceBatch(response: Response): Promise<GeneralToleranceBatchResultDto> {
|
|
29155
|
+
const status = response.status;
|
|
29156
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
29157
|
+
if (status === 200) {
|
|
29158
|
+
return response.text().then((_responseText) => {
|
|
29159
|
+
let result200: any = null;
|
|
29160
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as GeneralToleranceBatchResultDto;
|
|
29161
|
+
return result200;
|
|
29162
|
+
});
|
|
29163
|
+
} else if (status !== 200 && status !== 204) {
|
|
29164
|
+
return response.text().then((_responseText) => {
|
|
29165
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
29166
|
+
});
|
|
29167
|
+
}
|
|
29168
|
+
return Promise.resolve<GeneralToleranceBatchResultDto>(null as any);
|
|
29169
|
+
}
|
|
29029
29170
|
}
|
|
29030
29171
|
|
|
29031
29172
|
export interface IMeasurementFormSettingsClient {
|
|
@@ -37371,7 +37512,6 @@ export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp";
|
|
|
37371
37512
|
export interface SetProgramStatus {
|
|
37372
37513
|
workOrderId?: string;
|
|
37373
37514
|
operationNumber?: number;
|
|
37374
|
-
resourceId?: string;
|
|
37375
37515
|
status?: ProgramStatus;
|
|
37376
37516
|
}
|
|
37377
37517
|
|
|
@@ -39830,6 +39970,60 @@ export interface MeasurementFrequencyDto {
|
|
|
39830
39970
|
name: string;
|
|
39831
39971
|
}
|
|
39832
39972
|
|
|
39973
|
+
export interface FitToleranceResultDto {
|
|
39974
|
+
isValidDesignation?: boolean;
|
|
39975
|
+
isSupported?: boolean;
|
|
39976
|
+
nominalSizeMm?: number | null;
|
|
39977
|
+
toleranceClassLetter?: string | null;
|
|
39978
|
+
itGrade?: number | null;
|
|
39979
|
+
tolerancePlusMm?: number | null;
|
|
39980
|
+
toleranceMinusMm?: number | null;
|
|
39981
|
+
message?: string | null;
|
|
39982
|
+
}
|
|
39983
|
+
|
|
39984
|
+
export interface CalculateFitToleranceRequest {
|
|
39985
|
+
designation: string;
|
|
39986
|
+
elementType: string;
|
|
39987
|
+
}
|
|
39988
|
+
|
|
39989
|
+
export interface GeneralToleranceResultDto {
|
|
39990
|
+
isSupported?: boolean;
|
|
39991
|
+
tolerancePlus?: number | null;
|
|
39992
|
+
toleranceMinus?: number | null;
|
|
39993
|
+
message?: string | null;
|
|
39994
|
+
}
|
|
39995
|
+
|
|
39996
|
+
export interface CalculateGeneralToleranceRequest {
|
|
39997
|
+
elementType: string;
|
|
39998
|
+
nominal: number;
|
|
39999
|
+
unit: UnitOfMeasureDto;
|
|
40000
|
+
generalTolerance: GeneralToleranceDto;
|
|
40001
|
+
}
|
|
40002
|
+
|
|
40003
|
+
export interface GeneralToleranceBatchResultDto {
|
|
40004
|
+
results: GeneralToleranceBatchItemResultDto[];
|
|
40005
|
+
}
|
|
40006
|
+
|
|
40007
|
+
export interface GeneralToleranceBatchItemResultDto {
|
|
40008
|
+
id: string;
|
|
40009
|
+
isSupported?: boolean;
|
|
40010
|
+
tolerancePlus?: number | null;
|
|
40011
|
+
toleranceMinus?: number | null;
|
|
40012
|
+
message?: string | null;
|
|
40013
|
+
}
|
|
40014
|
+
|
|
40015
|
+
export interface CalculateGeneralToleranceBatchRequest {
|
|
40016
|
+
items: GeneralToleranceBatchItemDto[];
|
|
40017
|
+
generalTolerance: GeneralToleranceDto;
|
|
40018
|
+
}
|
|
40019
|
+
|
|
40020
|
+
export interface GeneralToleranceBatchItemDto {
|
|
40021
|
+
id: string;
|
|
40022
|
+
elementType: string;
|
|
40023
|
+
nominal: number;
|
|
40024
|
+
unit: UnitOfMeasureDto;
|
|
40025
|
+
}
|
|
40026
|
+
|
|
39833
40027
|
export interface MeasurementFormInstanceDto {
|
|
39834
40028
|
id: string;
|
|
39835
40029
|
readonly: boolean;
|