@ignos/api-client 20260814.224.1-alpha → 20260814.226.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 +9 -11
- package/lib/ignosportal-api.js +5 -15
- package/package.json +1 -1
- package/src/ignosportal-api.ts +15 -25
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2897,7 +2897,7 @@ export interface IInspectSchemaCreatorClient {
|
|
|
2897
2897
|
SchemaCreatorSnipResolved SignalR notification.
|
|
2898
2898
|
* @param image (optional)
|
|
2899
2899
|
*/
|
|
2900
|
-
requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<
|
|
2900
|
+
requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
2901
2901
|
}
|
|
2902
2902
|
export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
2903
2903
|
private http;
|
|
@@ -2933,8 +2933,8 @@ export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implem
|
|
|
2933
2933
|
SchemaCreatorSnipResolved SignalR notification.
|
|
2934
2934
|
* @param image (optional)
|
|
2935
2935
|
*/
|
|
2936
|
-
requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<
|
|
2937
|
-
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<
|
|
2936
|
+
requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
2937
|
+
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void>;
|
|
2938
2938
|
}
|
|
2939
2939
|
export interface IMeasurementFormSchemasAdminClient {
|
|
2940
2940
|
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
@@ -8593,16 +8593,10 @@ export interface ImaImpactTestResultDto {
|
|
|
8593
8593
|
testLabel?: string | null;
|
|
8594
8594
|
notchType?: string | null;
|
|
8595
8595
|
specimenSize?: string | null;
|
|
8596
|
-
individualValues:
|
|
8596
|
+
individualValues: ImaSpecificationResultLineDto[];
|
|
8597
8597
|
reportedAverage?: ImaSpecificationResultLineDto | null;
|
|
8598
|
-
reportedMinimum?: ImaSpecificationResultLineDto | null;
|
|
8599
8598
|
testStandards: string[];
|
|
8600
8599
|
}
|
|
8601
|
-
export interface ImaResultValueDto {
|
|
8602
|
-
readValue?: string | null;
|
|
8603
|
-
unit?: string | null;
|
|
8604
|
-
override?: ImaResultLineOverrideDto | null;
|
|
8605
|
-
}
|
|
8606
8600
|
export interface ImaCorrosionTestResultDto {
|
|
8607
8601
|
heatNumber?: string | null;
|
|
8608
8602
|
sampleReference?: string | null;
|
|
@@ -8616,6 +8610,11 @@ export interface ImaCorrosionTestResultDto {
|
|
|
8616
8610
|
result?: ImaResultValueDto | null;
|
|
8617
8611
|
acceptable?: ImaResultValueDto | null;
|
|
8618
8612
|
}
|
|
8613
|
+
export interface ImaResultValueDto {
|
|
8614
|
+
readValue?: string | null;
|
|
8615
|
+
unit?: string | null;
|
|
8616
|
+
override?: ImaResultLineOverrideDto | null;
|
|
8617
|
+
}
|
|
8619
8618
|
export interface ImaFerriteResultDto {
|
|
8620
8619
|
heatNumber?: string | null;
|
|
8621
8620
|
sampleReference?: string | null;
|
|
@@ -8791,7 +8790,6 @@ export interface ImaOverrideImpactTestResultsDto {
|
|
|
8791
8790
|
sampleReference?: string | null;
|
|
8792
8791
|
orientation?: string | null;
|
|
8793
8792
|
reportedAverage?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8794
|
-
reportedMinimum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
8795
8793
|
individualValues?: ImaOverrideIndexedResultLineDto[] | null;
|
|
8796
8794
|
}
|
|
8797
8795
|
export interface ImaOverrideIndexedResultLineDto {
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -23984,9 +23984,7 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase {
|
|
|
23984
23984
|
let options_ = {
|
|
23985
23985
|
body: content_,
|
|
23986
23986
|
method: "POST",
|
|
23987
|
-
headers: {
|
|
23988
|
-
"Accept": "application/octet-stream"
|
|
23989
|
-
}
|
|
23987
|
+
headers: {}
|
|
23990
23988
|
};
|
|
23991
23989
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23992
23990
|
return this.http.fetch(url_, transformedOptions_);
|
|
@@ -24001,18 +23999,10 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase {
|
|
|
24001
23999
|
response.headers.forEach((v, k) => _headers[k] = v);
|
|
24002
24000
|
}
|
|
24003
24001
|
;
|
|
24004
|
-
if (status === 200
|
|
24005
|
-
|
|
24006
|
-
|
|
24007
|
-
|
|
24008
|
-
if (fileName) {
|
|
24009
|
-
fileName = decodeURIComponent(fileName);
|
|
24010
|
-
}
|
|
24011
|
-
else {
|
|
24012
|
-
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
24013
|
-
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
24014
|
-
}
|
|
24015
|
-
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
24002
|
+
if (status === 200) {
|
|
24003
|
+
return response.text().then((_responseText) => {
|
|
24004
|
+
return;
|
|
24005
|
+
});
|
|
24016
24006
|
}
|
|
24017
24007
|
else if (status !== 200 && status !== 204) {
|
|
24018
24008
|
return response.text().then((_responseText) => {
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -25424,7 +25424,7 @@ export interface IInspectSchemaCreatorClient {
|
|
|
25424
25424
|
SchemaCreatorSnipResolved SignalR notification.
|
|
25425
25425
|
* @param image (optional)
|
|
25426
25426
|
*/
|
|
25427
|
-
requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<
|
|
25427
|
+
requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
25428
25428
|
}
|
|
25429
25429
|
|
|
25430
25430
|
export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
@@ -25659,7 +25659,7 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IIn
|
|
|
25659
25659
|
SchemaCreatorSnipResolved SignalR notification.
|
|
25660
25660
|
* @param image (optional)
|
|
25661
25661
|
*/
|
|
25662
|
-
requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<
|
|
25662
|
+
requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void> {
|
|
25663
25663
|
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/elements/{elementId}/parse-snip";
|
|
25664
25664
|
if (id === undefined || id === null)
|
|
25665
25665
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -25677,7 +25677,6 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IIn
|
|
|
25677
25677
|
body: content_,
|
|
25678
25678
|
method: "POST",
|
|
25679
25679
|
headers: {
|
|
25680
|
-
"Accept": "application/octet-stream"
|
|
25681
25680
|
}
|
|
25682
25681
|
};
|
|
25683
25682
|
|
|
@@ -25688,26 +25687,19 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IIn
|
|
|
25688
25687
|
});
|
|
25689
25688
|
}
|
|
25690
25689
|
|
|
25691
|
-
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<
|
|
25690
|
+
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void> {
|
|
25692
25691
|
const status = response.status;
|
|
25693
25692
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
25694
|
-
if (status === 200
|
|
25695
|
-
|
|
25696
|
-
|
|
25697
|
-
|
|
25698
|
-
if (fileName) {
|
|
25699
|
-
fileName = decodeURIComponent(fileName);
|
|
25700
|
-
} else {
|
|
25701
|
-
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
25702
|
-
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
25703
|
-
}
|
|
25704
|
-
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
25693
|
+
if (status === 200) {
|
|
25694
|
+
return response.text().then((_responseText) => {
|
|
25695
|
+
return;
|
|
25696
|
+
});
|
|
25705
25697
|
} else if (status !== 200 && status !== 204) {
|
|
25706
25698
|
return response.text().then((_responseText) => {
|
|
25707
25699
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25708
25700
|
});
|
|
25709
25701
|
}
|
|
25710
|
-
return Promise.resolve<
|
|
25702
|
+
return Promise.resolve<void>(null as any);
|
|
25711
25703
|
}
|
|
25712
25704
|
}
|
|
25713
25705
|
|
|
@@ -37327,18 +37319,11 @@ export interface ImaImpactTestResultDto {
|
|
|
37327
37319
|
testLabel?: string | null;
|
|
37328
37320
|
notchType?: string | null;
|
|
37329
37321
|
specimenSize?: string | null;
|
|
37330
|
-
individualValues:
|
|
37322
|
+
individualValues: ImaSpecificationResultLineDto[];
|
|
37331
37323
|
reportedAverage?: ImaSpecificationResultLineDto | null;
|
|
37332
|
-
reportedMinimum?: ImaSpecificationResultLineDto | null;
|
|
37333
37324
|
testStandards: string[];
|
|
37334
37325
|
}
|
|
37335
37326
|
|
|
37336
|
-
export interface ImaResultValueDto {
|
|
37337
|
-
readValue?: string | null;
|
|
37338
|
-
unit?: string | null;
|
|
37339
|
-
override?: ImaResultLineOverrideDto | null;
|
|
37340
|
-
}
|
|
37341
|
-
|
|
37342
37327
|
export interface ImaCorrosionTestResultDto {
|
|
37343
37328
|
heatNumber?: string | null;
|
|
37344
37329
|
sampleReference?: string | null;
|
|
@@ -37353,6 +37338,12 @@ export interface ImaCorrosionTestResultDto {
|
|
|
37353
37338
|
acceptable?: ImaResultValueDto | null;
|
|
37354
37339
|
}
|
|
37355
37340
|
|
|
37341
|
+
export interface ImaResultValueDto {
|
|
37342
|
+
readValue?: string | null;
|
|
37343
|
+
unit?: string | null;
|
|
37344
|
+
override?: ImaResultLineOverrideDto | null;
|
|
37345
|
+
}
|
|
37346
|
+
|
|
37356
37347
|
export interface ImaFerriteResultDto {
|
|
37357
37348
|
heatNumber?: string | null;
|
|
37358
37349
|
sampleReference?: string | null;
|
|
@@ -37548,7 +37539,6 @@ export interface ImaOverrideImpactTestResultsDto {
|
|
|
37548
37539
|
sampleReference?: string | null;
|
|
37549
37540
|
orientation?: string | null;
|
|
37550
37541
|
reportedAverage?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37551
|
-
reportedMinimum?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
37552
37542
|
individualValues?: ImaOverrideIndexedResultLineDto[] | null;
|
|
37553
37543
|
}
|
|
37554
37544
|
|