@ignos/api-client 20261113.368.1-alpha → 20261113.369.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.
@@ -1190,9 +1190,9 @@ export declare class TraceClient extends AuthorizedApiBase implements ITraceClie
1190
1190
  protected processPostListTraceWorkorders(response: Response): Promise<PagedResultOfTraceWorkOrderListDto>;
1191
1191
  }
1192
1192
  export interface IMeasuringToolsClient {
1193
- listMeasuringTools(page: number | undefined, pageSize: number | undefined, toolId: string | null | undefined, toolName: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, typeId: string | null | undefined, subTypeId: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined, includeDeprecated: boolean | null | undefined): Promise<PagedDataOfMeasuringToolDto>;
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, includeDeprecated: boolean | undefined): Promise<MeasuringToolCountsDto>;
1195
+ listMeasuringToolCounts(search: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, statuses: CalibrationStatusDto[] | null | undefined, includeDeprecated: boolean | 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[]>;
@@ -1237,11 +1237,11 @@ export declare class MeasuringToolsClient extends AuthorizedApiBase implements I
1237
1237
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1238
1238
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1239
1239
  });
1240
- listMeasuringTools(page: number | undefined, pageSize: number | undefined, toolId: string | null | undefined, toolName: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, typeId: string | null | undefined, subTypeId: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined, includeDeprecated: boolean | null | undefined): Promise<PagedDataOfMeasuringToolDto>;
1240
+ 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>;
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, includeDeprecated: boolean | undefined): Promise<MeasuringToolCountsDto>;
1244
+ listMeasuringToolCounts(search: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, statuses: CalibrationStatusDto[] | null | undefined, includeDeprecated: boolean | 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>;
@@ -5801,6 +5801,8 @@ export interface MeasuringToolDto {
5801
5801
  usageLastYear?: number | null;
5802
5802
  usageSinceLastCalibration?: number | null;
5803
5803
  maxNumberOfUsagesBetweenCalibration?: number | null;
5804
+ created: Date;
5805
+ updated?: Date | null;
5804
5806
  calibrationStatus: CalibrationStatusDto;
5805
5807
  }
5806
5808
  export interface MeasuringToolLastUsedByDto {
@@ -5812,11 +5814,16 @@ export type CalibrationStatusDto = "Uncalibrated" | "Deprecated" | "Expired" | "
5812
5814
  export interface MeasuringToolCountsDto {
5813
5815
  types: MeasuringToolFacetCountDto[];
5814
5816
  subTypes: MeasuringToolFacetCountDto[];
5817
+ statuses: MeasuringToolStatusCountDto[];
5815
5818
  }
5816
5819
  export interface MeasuringToolFacetCountDto {
5817
5820
  id: string;
5818
5821
  count: number;
5819
5822
  }
5823
+ export interface MeasuringToolStatusCountDto {
5824
+ status: CalibrationStatusDto;
5825
+ count: number;
5826
+ }
5820
5827
  export interface MeasuringToolDetailDto {
5821
5828
  id: string;
5822
5829
  toolId: string;
@@ -9587,7 +9587,7 @@ export class MeasuringToolsClient extends AuthorizedApiBase {
9587
9587
  this.http = http ? http : window;
9588
9588
  this.baseUrl = baseUrl ?? "";
9589
9589
  }
9590
- listMeasuringTools(page, pageSize, toolId, toolName, typeIds, subTypeIds, typeId, subTypeId, orderBy, sortDirection, includeDeprecated) {
9590
+ listMeasuringTools(page, pageSize, toolId, toolName, typeIds, subTypeIds, statuses, typeId, subTypeId, orderBy, sortDirection, includeDeprecated) {
9591
9591
  let url_ = this.baseUrl + "/measuringtools?";
9592
9592
  if (page === null)
9593
9593
  throw new globalThis.Error("The parameter 'page' cannot be null.");
@@ -9605,6 +9605,8 @@ export class MeasuringToolsClient extends AuthorizedApiBase {
9605
9605
  typeIds && typeIds.forEach(item => { url_ += "typeIds=" + encodeURIComponent("" + item) + "&"; });
9606
9606
  if (subTypeIds !== undefined && subTypeIds !== null)
9607
9607
  subTypeIds && subTypeIds.forEach(item => { url_ += "subTypeIds=" + encodeURIComponent("" + item) + "&"; });
9608
+ if (statuses !== undefined && statuses !== null)
9609
+ statuses && statuses.forEach(item => { url_ += "statuses=" + encodeURIComponent("" + item) + "&"; });
9608
9610
  if (typeId !== undefined && typeId !== null)
9609
9611
  url_ += "typeId=" + encodeURIComponent("" + typeId) + "&";
9610
9612
  if (subTypeId !== undefined && subTypeId !== null)
@@ -9688,7 +9690,7 @@ export class MeasuringToolsClient extends AuthorizedApiBase {
9688
9690
  }
9689
9691
  return Promise.resolve(null);
9690
9692
  }
9691
- listMeasuringToolCounts(search, typeIds, subTypeIds, includeDeprecated) {
9693
+ listMeasuringToolCounts(search, typeIds, subTypeIds, statuses, includeDeprecated) {
9692
9694
  let url_ = this.baseUrl + "/measuringtools/counts?";
9693
9695
  if (search !== undefined && search !== null)
9694
9696
  url_ += "search=" + encodeURIComponent("" + search) + "&";
@@ -9696,6 +9698,8 @@ export class MeasuringToolsClient extends AuthorizedApiBase {
9696
9698
  typeIds && typeIds.forEach(item => { url_ += "typeIds=" + encodeURIComponent("" + item) + "&"; });
9697
9699
  if (subTypeIds !== undefined && subTypeIds !== null)
9698
9700
  subTypeIds && subTypeIds.forEach(item => { url_ += "subTypeIds=" + encodeURIComponent("" + item) + "&"; });
9701
+ if (statuses !== undefined && statuses !== null)
9702
+ statuses && statuses.forEach(item => { url_ += "statuses=" + encodeURIComponent("" + item) + "&"; });
9699
9703
  if (includeDeprecated === null)
9700
9704
  throw new globalThis.Error("The parameter 'includeDeprecated' cannot be null.");
9701
9705
  else if (includeDeprecated !== undefined)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20261113.368.1-alpha",
3
+ "version": "20261113.369.1-alpha",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -10190,11 +10190,11 @@ export class TraceClient extends AuthorizedApiBase implements ITraceClient {
10190
10190
 
10191
10191
  export interface IMeasuringToolsClient {
10192
10192
 
10193
- listMeasuringTools(page: number | undefined, pageSize: number | undefined, toolId: string | null | undefined, toolName: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, typeId: string | null | undefined, subTypeId: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined, includeDeprecated: boolean | null | undefined): Promise<PagedDataOfMeasuringToolDto>;
10193
+ 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>;
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, includeDeprecated: boolean | undefined): Promise<MeasuringToolCountsDto>;
10197
+ listMeasuringToolCounts(search: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, statuses: CalibrationStatusDto[] | null | undefined, includeDeprecated: boolean | undefined): Promise<MeasuringToolCountsDto>;
10198
10198
 
10199
10199
  updateMeasuringTool(id: string, request: UpdateMeasuringToolRequest): Promise<MeasuringToolDetailDto>;
10200
10200
 
@@ -10277,7 +10277,7 @@ export class MeasuringToolsClient extends AuthorizedApiBase implements IMeasurin
10277
10277
  this.baseUrl = baseUrl ?? "";
10278
10278
  }
10279
10279
 
10280
- listMeasuringTools(page: number | undefined, pageSize: number | undefined, toolId: string | null | undefined, toolName: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, typeId: string | null | undefined, subTypeId: string | null | undefined, orderBy: string | null | undefined, sortDirection: string | null | undefined, includeDeprecated: boolean | null | undefined): Promise<PagedDataOfMeasuringToolDto> {
10280
+ 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> {
10281
10281
  let url_ = this.baseUrl + "/measuringtools?";
10282
10282
  if (page === null)
10283
10283
  throw new globalThis.Error("The parameter 'page' cannot be null.");
@@ -10295,6 +10295,8 @@ export class MeasuringToolsClient extends AuthorizedApiBase implements IMeasurin
10295
10295
  typeIds && typeIds.forEach(item => { url_ += "typeIds=" + encodeURIComponent("" + item) + "&"; });
10296
10296
  if (subTypeIds !== undefined && subTypeIds !== null)
10297
10297
  subTypeIds && subTypeIds.forEach(item => { url_ += "subTypeIds=" + encodeURIComponent("" + item) + "&"; });
10298
+ if (statuses !== undefined && statuses !== null)
10299
+ statuses && statuses.forEach(item => { url_ += "statuses=" + encodeURIComponent("" + item) + "&"; });
10298
10300
  if (typeId !== undefined && typeId !== null)
10299
10301
  url_ += "typeId=" + encodeURIComponent("" + typeId) + "&";
10300
10302
  if (subTypeId !== undefined && subTypeId !== null)
@@ -10377,7 +10379,7 @@ export class MeasuringToolsClient extends AuthorizedApiBase implements IMeasurin
10377
10379
  return Promise.resolve<MeasuringToolDetailDto>(null as any);
10378
10380
  }
10379
10381
 
10380
- listMeasuringToolCounts(search: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, includeDeprecated: boolean | undefined): Promise<MeasuringToolCountsDto> {
10382
+ listMeasuringToolCounts(search: string | null | undefined, typeIds: string[] | null | undefined, subTypeIds: string[] | null | undefined, statuses: CalibrationStatusDto[] | null | undefined, includeDeprecated: boolean | undefined): Promise<MeasuringToolCountsDto> {
10381
10383
  let url_ = this.baseUrl + "/measuringtools/counts?";
10382
10384
  if (search !== undefined && search !== null)
10383
10385
  url_ += "search=" + encodeURIComponent("" + search) + "&";
@@ -10385,6 +10387,8 @@ export class MeasuringToolsClient extends AuthorizedApiBase implements IMeasurin
10385
10387
  typeIds && typeIds.forEach(item => { url_ += "typeIds=" + encodeURIComponent("" + item) + "&"; });
10386
10388
  if (subTypeIds !== undefined && subTypeIds !== null)
10387
10389
  subTypeIds && subTypeIds.forEach(item => { url_ += "subTypeIds=" + encodeURIComponent("" + item) + "&"; });
10390
+ if (statuses !== undefined && statuses !== null)
10391
+ statuses && statuses.forEach(item => { url_ += "statuses=" + encodeURIComponent("" + item) + "&"; });
10388
10392
  if (includeDeprecated === null)
10389
10393
  throw new globalThis.Error("The parameter 'includeDeprecated' cannot be null.");
10390
10394
  else if (includeDeprecated !== undefined)
@@ -36433,6 +36437,8 @@ export interface MeasuringToolDto {
36433
36437
  usageLastYear?: number | null;
36434
36438
  usageSinceLastCalibration?: number | null;
36435
36439
  maxNumberOfUsagesBetweenCalibration?: number | null;
36440
+ created: Date;
36441
+ updated?: Date | null;
36436
36442
  calibrationStatus: CalibrationStatusDto;
36437
36443
  }
36438
36444
 
@@ -36447,6 +36453,7 @@ export type CalibrationStatusDto = "Uncalibrated" | "Deprecated" | "Expired" | "
36447
36453
  export interface MeasuringToolCountsDto {
36448
36454
  types: MeasuringToolFacetCountDto[];
36449
36455
  subTypes: MeasuringToolFacetCountDto[];
36456
+ statuses: MeasuringToolStatusCountDto[];
36450
36457
  }
36451
36458
 
36452
36459
  export interface MeasuringToolFacetCountDto {
@@ -36454,6 +36461,11 @@ export interface MeasuringToolFacetCountDto {
36454
36461
  count: number;
36455
36462
  }
36456
36463
 
36464
+ export interface MeasuringToolStatusCountDto {
36465
+ status: CalibrationStatusDto;
36466
+ count: number;
36467
+ }
36468
+
36457
36469
  export interface MeasuringToolDetailDto {
36458
36470
  id: string;
36459
36471
  toolId: string;