@ignos/api-client 20261113.369.1-alpha → 20261113.370.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
CHANGED
|
@@ -1192,7 +1192,7 @@ export declare class TraceClient extends AuthorizedApiBase implements ITraceClie
|
|
|
1192
1192
|
export interface IMeasuringToolsClient {
|
|
1193
1193
|
listMeasuringTools(page: number | undefined, pageSize: number | undefined, toolId: string | null | undefined, toolName: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, statuses: CalibrationStatusDto[] | null | undefined, typeId: string | null | undefined, subTypeId: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined, includeDeprecated: boolean | null | undefined): Promise<PagedDataOfMeasuringToolDto>;
|
|
1194
1194
|
createMeasuringTool(request: CreateMeasuringToolRequest): Promise<MeasuringToolDetailDto>;
|
|
1195
|
-
listMeasuringToolCounts(search: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, statuses: CalibrationStatusDto[] | null | undefined
|
|
1195
|
+
listMeasuringToolCounts(search: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, statuses: CalibrationStatusDto[] | null | undefined): Promise<MeasuringToolCountsDto>;
|
|
1196
1196
|
updateMeasuringTool(id: string, request: UpdateMeasuringToolRequest): Promise<MeasuringToolDetailDto>;
|
|
1197
1197
|
getMeasuringTool(id: string): Promise<MeasuringToolDetailDto>;
|
|
1198
1198
|
listCalibrations(id: string): Promise<MeasuringToolCalibrationDto[]>;
|
|
@@ -1241,7 +1241,7 @@ export declare class MeasuringToolsClient extends AuthorizedApiBase implements I
|
|
|
1241
1241
|
protected processListMeasuringTools(response: Response): Promise<PagedDataOfMeasuringToolDto>;
|
|
1242
1242
|
createMeasuringTool(request: CreateMeasuringToolRequest): Promise<MeasuringToolDetailDto>;
|
|
1243
1243
|
protected processCreateMeasuringTool(response: Response): Promise<MeasuringToolDetailDto>;
|
|
1244
|
-
listMeasuringToolCounts(search: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, statuses: CalibrationStatusDto[] | null | undefined
|
|
1244
|
+
listMeasuringToolCounts(search: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, statuses: CalibrationStatusDto[] | null | undefined): Promise<MeasuringToolCountsDto>;
|
|
1245
1245
|
protected processListMeasuringToolCounts(response: Response): Promise<MeasuringToolCountsDto>;
|
|
1246
1246
|
updateMeasuringTool(id: string, request: UpdateMeasuringToolRequest): Promise<MeasuringToolDetailDto>;
|
|
1247
1247
|
protected processUpdateMeasuringTool(response: Response): Promise<MeasuringToolDetailDto>;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -9690,7 +9690,7 @@ export class MeasuringToolsClient extends AuthorizedApiBase {
|
|
|
9690
9690
|
}
|
|
9691
9691
|
return Promise.resolve(null);
|
|
9692
9692
|
}
|
|
9693
|
-
listMeasuringToolCounts(search, typeIds, subTypeIds, statuses
|
|
9693
|
+
listMeasuringToolCounts(search, typeIds, subTypeIds, statuses) {
|
|
9694
9694
|
let url_ = this.baseUrl + "/measuringtools/counts?";
|
|
9695
9695
|
if (search !== undefined && search !== null)
|
|
9696
9696
|
url_ += "search=" + encodeURIComponent("" + search) + "&";
|
|
@@ -9700,10 +9700,6 @@ export class MeasuringToolsClient extends AuthorizedApiBase {
|
|
|
9700
9700
|
subTypeIds && subTypeIds.forEach(item => { url_ += "subTypeIds=" + encodeURIComponent("" + item) + "&"; });
|
|
9701
9701
|
if (statuses !== undefined && statuses !== null)
|
|
9702
9702
|
statuses && statuses.forEach(item => { url_ += "statuses=" + encodeURIComponent("" + item) + "&"; });
|
|
9703
|
-
if (includeDeprecated === null)
|
|
9704
|
-
throw new globalThis.Error("The parameter 'includeDeprecated' cannot be null.");
|
|
9705
|
-
else if (includeDeprecated !== undefined)
|
|
9706
|
-
url_ += "includeDeprecated=" + encodeURIComponent("" + includeDeprecated) + "&";
|
|
9707
9703
|
url_ = url_.replace(/[?&]$/, "");
|
|
9708
9704
|
let options_ = {
|
|
9709
9705
|
method: "GET",
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -10194,7 +10194,7 @@ export interface IMeasuringToolsClient {
|
|
|
10194
10194
|
|
|
10195
10195
|
createMeasuringTool(request: CreateMeasuringToolRequest): Promise<MeasuringToolDetailDto>;
|
|
10196
10196
|
|
|
10197
|
-
listMeasuringToolCounts(search: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, statuses: CalibrationStatusDto[] | null | undefined
|
|
10197
|
+
listMeasuringToolCounts(search: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, statuses: CalibrationStatusDto[] | null | undefined): Promise<MeasuringToolCountsDto>;
|
|
10198
10198
|
|
|
10199
10199
|
updateMeasuringTool(id: string, request: UpdateMeasuringToolRequest): Promise<MeasuringToolDetailDto>;
|
|
10200
10200
|
|
|
@@ -10379,7 +10379,7 @@ export class MeasuringToolsClient extends AuthorizedApiBase implements IMeasurin
|
|
|
10379
10379
|
return Promise.resolve<MeasuringToolDetailDto>(null as any);
|
|
10380
10380
|
}
|
|
10381
10381
|
|
|
10382
|
-
listMeasuringToolCounts(search: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, statuses: CalibrationStatusDto[] | null | undefined
|
|
10382
|
+
listMeasuringToolCounts(search: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, statuses: CalibrationStatusDto[] | null | undefined): Promise<MeasuringToolCountsDto> {
|
|
10383
10383
|
let url_ = this.baseUrl + "/measuringtools/counts?";
|
|
10384
10384
|
if (search !== undefined && search !== null)
|
|
10385
10385
|
url_ += "search=" + encodeURIComponent("" + search) + "&";
|
|
@@ -10389,10 +10389,6 @@ export class MeasuringToolsClient extends AuthorizedApiBase implements IMeasurin
|
|
|
10389
10389
|
subTypeIds && subTypeIds.forEach(item => { url_ += "subTypeIds=" + encodeURIComponent("" + item) + "&"; });
|
|
10390
10390
|
if (statuses !== undefined && statuses !== null)
|
|
10391
10391
|
statuses && statuses.forEach(item => { url_ += "statuses=" + encodeURIComponent("" + item) + "&"; });
|
|
10392
|
-
if (includeDeprecated === null)
|
|
10393
|
-
throw new globalThis.Error("The parameter 'includeDeprecated' cannot be null.");
|
|
10394
|
-
else if (includeDeprecated !== undefined)
|
|
10395
|
-
url_ += "includeDeprecated=" + encodeURIComponent("" + includeDeprecated) + "&";
|
|
10396
10392
|
url_ = url_.replace(/[?&]$/, "");
|
|
10397
10393
|
|
|
10398
10394
|
let options_: RequestInit = {
|