@ignos/api-client 20261013.305.1-alpha → 20261015.307.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 +11 -19
- package/package.json +1 -1
- package/src/ignosportal-api.ts +14 -22
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -3229,7 +3229,7 @@ export interface IMeasurementFormSchemasClient {
|
|
|
3229
3229
|
/**
|
|
3230
3230
|
* Calculates +/- tolerance from the schema's ISO 2768 general tolerance setting.
|
|
3231
3231
|
*/
|
|
3232
|
-
calculateGeneralTolerance(request: CalculateGeneralToleranceRequest): Promise<
|
|
3232
|
+
calculateGeneralTolerance(request: CalculateGeneralToleranceRequest): Promise<ToleranceResultDto>;
|
|
3233
3233
|
/**
|
|
3234
3234
|
* Batch form of generaltolerance above - calculates tolerances for many elements in one request.
|
|
3235
3235
|
*/
|
|
@@ -3255,8 +3255,8 @@ export declare class MeasurementFormSchemasClient extends AuthorizedApiBase impl
|
|
|
3255
3255
|
/**
|
|
3256
3256
|
* Calculates +/- tolerance from the schema's ISO 2768 general tolerance setting.
|
|
3257
3257
|
*/
|
|
3258
|
-
calculateGeneralTolerance(request: CalculateGeneralToleranceRequest): Promise<
|
|
3259
|
-
protected processCalculateGeneralTolerance(response: Response): Promise<
|
|
3258
|
+
calculateGeneralTolerance(request: CalculateGeneralToleranceRequest): Promise<ToleranceResultDto>;
|
|
3259
|
+
protected processCalculateGeneralTolerance(response: Response): Promise<ToleranceResultDto>;
|
|
3260
3260
|
/**
|
|
3261
3261
|
* Batch form of generaltolerance above - calculates tolerances for many elements in one request.
|
|
3262
3262
|
*/
|
|
@@ -10030,27 +10030,23 @@ export interface MeasurementFrequencyDto {
|
|
|
10030
10030
|
id: number;
|
|
10031
10031
|
name: string;
|
|
10032
10032
|
}
|
|
10033
|
-
export interface
|
|
10034
|
-
isValidDesignation?: boolean;
|
|
10033
|
+
export interface ToleranceResultDto {
|
|
10035
10034
|
isSupported?: boolean;
|
|
10036
|
-
nominalSize?: number | null;
|
|
10037
|
-
toleranceClassLetter?: string | null;
|
|
10038
|
-
itGrade?: string | null;
|
|
10039
10035
|
tolerancePlus?: number | null;
|
|
10040
10036
|
toleranceMinus?: number | null;
|
|
10041
10037
|
message?: string | null;
|
|
10042
10038
|
}
|
|
10039
|
+
export interface FitToleranceResultDto extends ToleranceResultDto {
|
|
10040
|
+
isValidDesignation?: boolean;
|
|
10041
|
+
nominalSize?: number | null;
|
|
10042
|
+
toleranceClassLetter?: string | null;
|
|
10043
|
+
itGrade?: string | null;
|
|
10044
|
+
}
|
|
10043
10045
|
export interface CalculateFitToleranceRequest {
|
|
10044
10046
|
designation: string;
|
|
10045
10047
|
elementType: string;
|
|
10046
10048
|
unit: UnitOfMeasureDto;
|
|
10047
10049
|
}
|
|
10048
|
-
export interface GeneralToleranceResultDto {
|
|
10049
|
-
isSupported?: boolean;
|
|
10050
|
-
tolerancePlus?: number | null;
|
|
10051
|
-
toleranceMinus?: number | null;
|
|
10052
|
-
message?: string | null;
|
|
10053
|
-
}
|
|
10054
10050
|
export interface CalculateGeneralToleranceRequest {
|
|
10055
10051
|
elementType: string;
|
|
10056
10052
|
nominal: number;
|
|
@@ -10060,12 +10056,8 @@ export interface CalculateGeneralToleranceRequest {
|
|
|
10060
10056
|
export interface GeneralToleranceBatchResultDto {
|
|
10061
10057
|
results: GeneralToleranceBatchItemResultDto[];
|
|
10062
10058
|
}
|
|
10063
|
-
export interface GeneralToleranceBatchItemResultDto {
|
|
10059
|
+
export interface GeneralToleranceBatchItemResultDto extends ToleranceResultDto {
|
|
10064
10060
|
id: string;
|
|
10065
|
-
isSupported?: boolean;
|
|
10066
|
-
tolerancePlus?: number | null;
|
|
10067
|
-
toleranceMinus?: number | null;
|
|
10068
|
-
message?: string | null;
|
|
10069
10061
|
}
|
|
10070
10062
|
export interface CalculateGeneralToleranceBatchRequest {
|
|
10071
10063
|
items: GeneralToleranceBatchItemDto[];
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -28912,7 +28912,7 @@ export interface IMeasurementFormSchemasClient {
|
|
|
28912
28912
|
/**
|
|
28913
28913
|
* Calculates +/- tolerance from the schema's ISO 2768 general tolerance setting.
|
|
28914
28914
|
*/
|
|
28915
|
-
calculateGeneralTolerance(request: CalculateGeneralToleranceRequest): Promise<
|
|
28915
|
+
calculateGeneralTolerance(request: CalculateGeneralToleranceRequest): Promise<ToleranceResultDto>;
|
|
28916
28916
|
|
|
28917
28917
|
/**
|
|
28918
28918
|
* Batch form of generaltolerance above - calculates tolerances for many elements in one request.
|
|
@@ -29087,7 +29087,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
29087
29087
|
/**
|
|
29088
29088
|
* Calculates +/- tolerance from the schema's ISO 2768 general tolerance setting.
|
|
29089
29089
|
*/
|
|
29090
|
-
calculateGeneralTolerance(request: CalculateGeneralToleranceRequest): Promise<
|
|
29090
|
+
calculateGeneralTolerance(request: CalculateGeneralToleranceRequest): Promise<ToleranceResultDto> {
|
|
29091
29091
|
let url_ = this.baseUrl + "/measurementforms/schemas/generaltolerance";
|
|
29092
29092
|
url_ = url_.replace(/[?&]$/, "");
|
|
29093
29093
|
|
|
@@ -29109,13 +29109,13 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
29109
29109
|
});
|
|
29110
29110
|
}
|
|
29111
29111
|
|
|
29112
|
-
protected processCalculateGeneralTolerance(response: Response): Promise<
|
|
29112
|
+
protected processCalculateGeneralTolerance(response: Response): Promise<ToleranceResultDto> {
|
|
29113
29113
|
const status = response.status;
|
|
29114
29114
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
29115
29115
|
if (status === 200) {
|
|
29116
29116
|
return response.text().then((_responseText) => {
|
|
29117
29117
|
let result200: any = null;
|
|
29118
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as
|
|
29118
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ToleranceResultDto;
|
|
29119
29119
|
return result200;
|
|
29120
29120
|
});
|
|
29121
29121
|
} else if (status !== 200 && status !== 204) {
|
|
@@ -29123,7 +29123,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
29123
29123
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
29124
29124
|
});
|
|
29125
29125
|
}
|
|
29126
|
-
return Promise.resolve<
|
|
29126
|
+
return Promise.resolve<ToleranceResultDto>(null as any);
|
|
29127
29127
|
}
|
|
29128
29128
|
|
|
29129
29129
|
/**
|
|
@@ -39978,30 +39978,26 @@ export interface MeasurementFrequencyDto {
|
|
|
39978
39978
|
name: string;
|
|
39979
39979
|
}
|
|
39980
39980
|
|
|
39981
|
-
export interface
|
|
39982
|
-
isValidDesignation?: boolean;
|
|
39981
|
+
export interface ToleranceResultDto {
|
|
39983
39982
|
isSupported?: boolean;
|
|
39984
|
-
nominalSize?: number | null;
|
|
39985
|
-
toleranceClassLetter?: string | null;
|
|
39986
|
-
itGrade?: string | null;
|
|
39987
39983
|
tolerancePlus?: number | null;
|
|
39988
39984
|
toleranceMinus?: number | null;
|
|
39989
39985
|
message?: string | null;
|
|
39990
39986
|
}
|
|
39991
39987
|
|
|
39988
|
+
export interface FitToleranceResultDto extends ToleranceResultDto {
|
|
39989
|
+
isValidDesignation?: boolean;
|
|
39990
|
+
nominalSize?: number | null;
|
|
39991
|
+
toleranceClassLetter?: string | null;
|
|
39992
|
+
itGrade?: string | null;
|
|
39993
|
+
}
|
|
39994
|
+
|
|
39992
39995
|
export interface CalculateFitToleranceRequest {
|
|
39993
39996
|
designation: string;
|
|
39994
39997
|
elementType: string;
|
|
39995
39998
|
unit: UnitOfMeasureDto;
|
|
39996
39999
|
}
|
|
39997
40000
|
|
|
39998
|
-
export interface GeneralToleranceResultDto {
|
|
39999
|
-
isSupported?: boolean;
|
|
40000
|
-
tolerancePlus?: number | null;
|
|
40001
|
-
toleranceMinus?: number | null;
|
|
40002
|
-
message?: string | null;
|
|
40003
|
-
}
|
|
40004
|
-
|
|
40005
40001
|
export interface CalculateGeneralToleranceRequest {
|
|
40006
40002
|
elementType: string;
|
|
40007
40003
|
nominal: number;
|
|
@@ -40013,12 +40009,8 @@ export interface GeneralToleranceBatchResultDto {
|
|
|
40013
40009
|
results: GeneralToleranceBatchItemResultDto[];
|
|
40014
40010
|
}
|
|
40015
40011
|
|
|
40016
|
-
export interface GeneralToleranceBatchItemResultDto {
|
|
40012
|
+
export interface GeneralToleranceBatchItemResultDto extends ToleranceResultDto {
|
|
40017
40013
|
id: string;
|
|
40018
|
-
isSupported?: boolean;
|
|
40019
|
-
tolerancePlus?: number | null;
|
|
40020
|
-
toleranceMinus?: number | null;
|
|
40021
|
-
message?: string | null;
|
|
40022
40014
|
}
|
|
40023
40015
|
|
|
40024
40016
|
export interface CalculateGeneralToleranceBatchRequest {
|