@ignos/api-client 20240722.0.9823 → 20240726.0.9866

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.
@@ -4971,7 +4971,7 @@ export interface ITopDowntimeReasonsDto {
4971
4971
  }
4972
4972
  export declare class DowntimeReasonCountDto implements IDowntimeReasonCountDto {
4973
4973
  count: number;
4974
- downtimeReason: DowntimeReasonDto;
4974
+ reason: string;
4975
4975
  constructor(data?: IDowntimeReasonCountDto);
4976
4976
  init(_data?: any): void;
4977
4977
  static fromJS(data: any): DowntimeReasonCountDto;
@@ -4979,7 +4979,7 @@ export declare class DowntimeReasonCountDto implements IDowntimeReasonCountDto {
4979
4979
  }
4980
4980
  export interface IDowntimeReasonCountDto {
4981
4981
  count: number;
4982
- downtimeReason: DowntimeReasonDto;
4982
+ reason: string;
4983
4983
  }
4984
4984
  export declare class MachineDto implements IMachineDto {
4985
4985
  id: number;
@@ -24793,14 +24793,11 @@ export class DowntimeReasonCountDto {
24793
24793
  this[property] = data[property];
24794
24794
  }
24795
24795
  }
24796
- if (!data) {
24797
- this.downtimeReason = new DowntimeReasonDto();
24798
- }
24799
24796
  }
24800
24797
  init(_data) {
24801
24798
  if (_data) {
24802
24799
  this.count = _data["count"];
24803
- this.downtimeReason = _data["downtimeReason"] ? DowntimeReasonDto.fromJS(_data["downtimeReason"]) : new DowntimeReasonDto();
24800
+ this.reason = _data["reason"];
24804
24801
  }
24805
24802
  }
24806
24803
  static fromJS(data) {
@@ -24812,7 +24809,7 @@ export class DowntimeReasonCountDto {
24812
24809
  toJSON(data) {
24813
24810
  data = typeof data === 'object' ? data : {};
24814
24811
  data["count"] = this.count;
24815
- data["downtimeReason"] = this.downtimeReason ? this.downtimeReason.toJSON() : undefined;
24812
+ data["reason"] = this.reason;
24816
24813
  return data;
24817
24814
  }
24818
24815
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20240722.0.9823",
3
+ "version": "20240726.0.9866",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -28758,7 +28758,7 @@ export interface ITopDowntimeReasonsDto {
28758
28758
 
28759
28759
  export class DowntimeReasonCountDto implements IDowntimeReasonCountDto {
28760
28760
  count!: number;
28761
- downtimeReason!: DowntimeReasonDto;
28761
+ reason!: string;
28762
28762
 
28763
28763
  constructor(data?: IDowntimeReasonCountDto) {
28764
28764
  if (data) {
@@ -28767,15 +28767,12 @@ export class DowntimeReasonCountDto implements IDowntimeReasonCountDto {
28767
28767
  (<any>this)[property] = (<any>data)[property];
28768
28768
  }
28769
28769
  }
28770
- if (!data) {
28771
- this.downtimeReason = new DowntimeReasonDto();
28772
- }
28773
28770
  }
28774
28771
 
28775
28772
  init(_data?: any) {
28776
28773
  if (_data) {
28777
28774
  this.count = _data["count"];
28778
- this.downtimeReason = _data["downtimeReason"] ? DowntimeReasonDto.fromJS(_data["downtimeReason"]) : new DowntimeReasonDto();
28775
+ this.reason = _data["reason"];
28779
28776
  }
28780
28777
  }
28781
28778
 
@@ -28789,14 +28786,14 @@ export class DowntimeReasonCountDto implements IDowntimeReasonCountDto {
28789
28786
  toJSON(data?: any) {
28790
28787
  data = typeof data === 'object' ? data : {};
28791
28788
  data["count"] = this.count;
28792
- data["downtimeReason"] = this.downtimeReason ? this.downtimeReason.toJSON() : <any>undefined;
28789
+ data["reason"] = this.reason;
28793
28790
  return data;
28794
28791
  }
28795
28792
  }
28796
28793
 
28797
28794
  export interface IDowntimeReasonCountDto {
28798
28795
  count: number;
28799
- downtimeReason: DowntimeReasonDto;
28796
+ reason: string;
28800
28797
  }
28801
28798
 
28802
28799
  export class MachineDto implements IMachineDto {