@ignos/api-client 20251229.0.13636-alpha → 20260106.0.13658

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.
@@ -869,7 +869,7 @@ export interface IDowntimeReasonsClient {
869
869
  listDowntimeReasonsForMachine(id: number): Promise<DowntimeReasonDto[]>;
870
870
  listDowntimeReasonsHierarchyForMachine(id: number): Promise<ParentTopicDto[]>;
871
871
  listActiveDowntimeReasonsForMachine(id: number): Promise<DowntimePeriodReasonDto[]>;
872
- listTopDowntimeReasons(): Promise<TopDowntimeReasonsDto>;
872
+ listTopDowntimeReasons(start: Date | null | undefined, end: Date | null | undefined): Promise<TopDowntimeReasonsDto>;
873
873
  createReport(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportDto>;
874
874
  exportReportToCsv(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportCsvDto>;
875
875
  }
@@ -892,7 +892,7 @@ export declare class DowntimeReasonsClient extends AuthorizedApiBase implements
892
892
  protected processListDowntimeReasonsHierarchyForMachine(response: Response): Promise<ParentTopicDto[]>;
893
893
  listActiveDowntimeReasonsForMachine(id: number): Promise<DowntimePeriodReasonDto[]>;
894
894
  protected processListActiveDowntimeReasonsForMachine(response: Response): Promise<DowntimePeriodReasonDto[]>;
895
- listTopDowntimeReasons(): Promise<TopDowntimeReasonsDto>;
895
+ listTopDowntimeReasons(start: Date | null | undefined, end: Date | null | undefined): Promise<TopDowntimeReasonsDto>;
896
896
  protected processListTopDowntimeReasons(response: Response): Promise<TopDowntimeReasonsDto>;
897
897
  createReport(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportDto>;
898
898
  protected processCreateReport(response: Response): Promise<DowntimeReasonsReportDto>;
@@ -8487,6 +8487,7 @@ export declare class ListCncMachineOperationsRequest implements IListCncMachineO
8487
8487
  drawing?: string | null;
8488
8488
  drawingRevision?: string | null;
8489
8489
  material?: string | null;
8490
+ toolNumber?: string | null;
8490
8491
  filterDeleted?: CncFilterDeletedDto | null;
8491
8492
  filter?: string | null;
8492
8493
  continuationToken?: string | null;
@@ -8512,6 +8513,7 @@ export interface IListCncMachineOperationsRequest {
8512
8513
  drawing?: string | null;
8513
8514
  drawingRevision?: string | null;
8514
8515
  material?: string | null;
8516
+ toolNumber?: string | null;
8515
8517
  filterDeleted?: CncFilterDeletedDto | null;
8516
8518
  filter?: string | null;
8517
8519
  continuationToken?: string | null;
@@ -9217,7 +9219,7 @@ export interface IFixtureLastUsedOperationDto {
9217
9219
  lastUsedById?: string | null;
9218
9220
  lastUsed?: Date | null;
9219
9221
  }
9220
- export type GripSideDto = "NotApplicable" | "Inside" | "Outside";
9222
+ export type GripSideDto = "NotApplicable" | "Internal" | "External";
9221
9223
  export declare class ListFixtures implements IListFixtures {
9222
9224
  pageSize?: number | null;
9223
9225
  searchTerm?: string | null;
@@ -7248,8 +7248,12 @@ export class DowntimeReasonsClient extends AuthorizedApiBase {
7248
7248
  }
7249
7249
  return Promise.resolve(null);
7250
7250
  }
7251
- listTopDowntimeReasons() {
7252
- let url_ = this.baseUrl + "/downtimereasons/topreasons";
7251
+ listTopDowntimeReasons(start, end) {
7252
+ let url_ = this.baseUrl + "/downtimereasons/topreasons?";
7253
+ if (start !== undefined && start !== null)
7254
+ url_ += "start=" + encodeURIComponent(start ? "" + start.toISOString() : "") + "&";
7255
+ if (end !== undefined && end !== null)
7256
+ url_ += "end=" + encodeURIComponent(end ? "" + end.toISOString() : "") + "&";
7253
7257
  url_ = url_.replace(/[?&]$/, "");
7254
7258
  let options_ = {
7255
7259
  method: "GET",
@@ -36269,6 +36273,7 @@ export class ListCncMachineOperationsRequest {
36269
36273
  this.drawing = _data["drawing"];
36270
36274
  this.drawingRevision = _data["drawingRevision"];
36271
36275
  this.material = _data["material"];
36276
+ this.toolNumber = _data["toolNumber"];
36272
36277
  this.filterDeleted = _data["filterDeleted"];
36273
36278
  this.filter = _data["filter"];
36274
36279
  this.continuationToken = _data["continuationToken"];
@@ -36298,6 +36303,7 @@ export class ListCncMachineOperationsRequest {
36298
36303
  data["drawing"] = this.drawing;
36299
36304
  data["drawingRevision"] = this.drawingRevision;
36300
36305
  data["material"] = this.material;
36306
+ data["toolNumber"] = this.toolNumber;
36301
36307
  data["filterDeleted"] = this.filterDeleted;
36302
36308
  data["filter"] = this.filter;
36303
36309
  data["continuationToken"] = this.continuationToken;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20251229.0.13636-alpha",
3
+ "version": "20260106.0.13658",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -7477,7 +7477,7 @@ export interface IDowntimeReasonsClient {
7477
7477
 
7478
7478
  listActiveDowntimeReasonsForMachine(id: number): Promise<DowntimePeriodReasonDto[]>;
7479
7479
 
7480
- listTopDowntimeReasons(): Promise<TopDowntimeReasonsDto>;
7480
+ listTopDowntimeReasons(start: Date | null | undefined, end: Date | null | undefined): Promise<TopDowntimeReasonsDto>;
7481
7481
 
7482
7482
  createReport(request: CreateDowntimeReasonsReportRequest | undefined): Promise<DowntimeReasonsReportDto>;
7483
7483
 
@@ -7742,8 +7742,12 @@ export class DowntimeReasonsClient extends AuthorizedApiBase implements IDowntim
7742
7742
  return Promise.resolve<DowntimePeriodReasonDto[]>(null as any);
7743
7743
  }
7744
7744
 
7745
- listTopDowntimeReasons(): Promise<TopDowntimeReasonsDto> {
7746
- let url_ = this.baseUrl + "/downtimereasons/topreasons";
7745
+ listTopDowntimeReasons(start: Date | null | undefined, end: Date | null | undefined): Promise<TopDowntimeReasonsDto> {
7746
+ let url_ = this.baseUrl + "/downtimereasons/topreasons?";
7747
+ if (start !== undefined && start !== null)
7748
+ url_ += "start=" + encodeURIComponent(start ? "" + start.toISOString() : "") + "&";
7749
+ if (end !== undefined && end !== null)
7750
+ url_ += "end=" + encodeURIComponent(end ? "" + end.toISOString() : "") + "&";
7747
7751
  url_ = url_.replace(/[?&]$/, "");
7748
7752
 
7749
7753
  let options_: RequestInit = {
@@ -43469,6 +43473,7 @@ export class ListCncMachineOperationsRequest implements IListCncMachineOperation
43469
43473
  drawing?: string | null;
43470
43474
  drawingRevision?: string | null;
43471
43475
  material?: string | null;
43476
+ toolNumber?: string | null;
43472
43477
  filterDeleted?: CncFilterDeletedDto | null;
43473
43478
  filter?: string | null;
43474
43479
  continuationToken?: string | null;
@@ -43500,6 +43505,7 @@ export class ListCncMachineOperationsRequest implements IListCncMachineOperation
43500
43505
  this.drawing = _data["drawing"];
43501
43506
  this.drawingRevision = _data["drawingRevision"];
43502
43507
  this.material = _data["material"];
43508
+ this.toolNumber = _data["toolNumber"];
43503
43509
  this.filterDeleted = _data["filterDeleted"];
43504
43510
  this.filter = _data["filter"];
43505
43511
  this.continuationToken = _data["continuationToken"];
@@ -43531,6 +43537,7 @@ export class ListCncMachineOperationsRequest implements IListCncMachineOperation
43531
43537
  data["drawing"] = this.drawing;
43532
43538
  data["drawingRevision"] = this.drawingRevision;
43533
43539
  data["material"] = this.material;
43540
+ data["toolNumber"] = this.toolNumber;
43534
43541
  data["filterDeleted"] = this.filterDeleted;
43535
43542
  data["filter"] = this.filter;
43536
43543
  data["continuationToken"] = this.continuationToken;
@@ -43555,6 +43562,7 @@ export interface IListCncMachineOperationsRequest {
43555
43562
  drawing?: string | null;
43556
43563
  drawingRevision?: string | null;
43557
43564
  material?: string | null;
43565
+ toolNumber?: string | null;
43558
43566
  filterDeleted?: CncFilterDeletedDto | null;
43559
43567
  filter?: string | null;
43560
43568
  continuationToken?: string | null;
@@ -45439,7 +45447,7 @@ export interface IFixtureLastUsedOperationDto {
45439
45447
  lastUsed?: Date | null;
45440
45448
  }
45441
45449
 
45442
- export type GripSideDto = "NotApplicable" | "Inside" | "Outside";
45450
+ export type GripSideDto = "NotApplicable" | "Internal" | "External";
45443
45451
 
45444
45452
  export class ListFixtures implements IListFixtures {
45445
45453
  pageSize?: number | null;