@ignos/api-client 20250409.0.11486 → 20250423.0.11533

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.
@@ -2825,6 +2825,8 @@ export declare class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto
2825
2825
  comment?: string | null;
2826
2826
  companyId?: string | null;
2827
2827
  reasonId: string;
2828
+ createdBy?: EmployeeDto | null;
2829
+ updatedBy?: EmployeeDto | null;
2828
2830
  constructor(data?: IDowntimePeriodReasonDto);
2829
2831
  init(_data?: any): void;
2830
2832
  static fromJS(data: any): DowntimePeriodReasonDto;
@@ -2840,8 +2842,26 @@ export interface IDowntimePeriodReasonDto {
2840
2842
  comment?: string | null;
2841
2843
  companyId?: string | null;
2842
2844
  reasonId: string;
2845
+ createdBy?: EmployeeDto | null;
2846
+ updatedBy?: EmployeeDto | null;
2843
2847
  }
2844
2848
  export type DowntimeReasonTypeDto = "Unplanned" | "Planned";
2849
+ export declare class EmployeeDto implements IEmployeeDto {
2850
+ id?: string | null;
2851
+ name?: string | null;
2852
+ upn?: string | null;
2853
+ azureAdObjectId?: string | null;
2854
+ constructor(data?: IEmployeeDto);
2855
+ init(_data?: any): void;
2856
+ static fromJS(data: any): EmployeeDto;
2857
+ toJSON(data?: any): any;
2858
+ }
2859
+ export interface IEmployeeDto {
2860
+ id?: string | null;
2861
+ name?: string | null;
2862
+ upn?: string | null;
2863
+ azureAdObjectId?: string | null;
2864
+ }
2845
2865
  export declare class MachineUptimesAggregateDto implements IMachineUptimesAggregateDto {
2846
2866
  machineUptimes: MachineUptimeDto[];
2847
2867
  sum: MachineUptimeSumDto;
@@ -6152,22 +6172,6 @@ export interface IOperatorAndMachineDto {
6152
6172
  lastWorkOrderEventStartTime?: Date;
6153
6173
  machine?: MachineDto | null;
6154
6174
  }
6155
- export declare class EmployeeDto implements IEmployeeDto {
6156
- id?: string | null;
6157
- name?: string | null;
6158
- upn?: string | null;
6159
- azureAdObjectId?: string | null;
6160
- constructor(data?: IEmployeeDto);
6161
- init(_data?: any): void;
6162
- static fromJS(data: any): EmployeeDto;
6163
- toJSON(data?: any): any;
6164
- }
6165
- export interface IEmployeeDto {
6166
- id?: string | null;
6167
- name?: string | null;
6168
- upn?: string | null;
6169
- azureAdObjectId?: string | null;
6170
- }
6171
6175
  export declare class CreateMachineWithoutResource implements ICreateMachineWithoutResource {
6172
6176
  id: string;
6173
6177
  name: string;
@@ -11194,7 +11198,6 @@ export declare class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGr
11194
11198
  nominalText?: string | null;
11195
11199
  type?: string | null;
11196
11200
  subType?: string | null;
11197
- unitOfMeasure?: string | null;
11198
11201
  plusTolerance?: string | null;
11199
11202
  minusTolerance?: string | null;
11200
11203
  upperLimit?: string | null;
@@ -11220,7 +11223,6 @@ export interface IUpdateSchemaGroupedElementRowDto {
11220
11223
  nominalText?: string | null;
11221
11224
  type?: string | null;
11222
11225
  subType?: string | null;
11223
- unitOfMeasure?: string | null;
11224
11226
  plusTolerance?: string | null;
11225
11227
  minusTolerance?: string | null;
11226
11228
  upperLimit?: string | null;
@@ -21757,6 +21757,8 @@ export class DowntimePeriodReasonDto {
21757
21757
  this.comment = _data["comment"];
21758
21758
  this.companyId = _data["companyId"];
21759
21759
  this.reasonId = _data["reasonId"];
21760
+ this.createdBy = _data["createdBy"] ? EmployeeDto.fromJS(_data["createdBy"]) : undefined;
21761
+ this.updatedBy = _data["updatedBy"] ? EmployeeDto.fromJS(_data["updatedBy"]) : undefined;
21760
21762
  }
21761
21763
  }
21762
21764
  static fromJS(data) {
@@ -21776,6 +21778,40 @@ export class DowntimePeriodReasonDto {
21776
21778
  data["comment"] = this.comment;
21777
21779
  data["companyId"] = this.companyId;
21778
21780
  data["reasonId"] = this.reasonId;
21781
+ data["createdBy"] = this.createdBy ? this.createdBy.toJSON() : undefined;
21782
+ data["updatedBy"] = this.updatedBy ? this.updatedBy.toJSON() : undefined;
21783
+ return data;
21784
+ }
21785
+ }
21786
+ export class EmployeeDto {
21787
+ constructor(data) {
21788
+ if (data) {
21789
+ for (var property in data) {
21790
+ if (data.hasOwnProperty(property))
21791
+ this[property] = data[property];
21792
+ }
21793
+ }
21794
+ }
21795
+ init(_data) {
21796
+ if (_data) {
21797
+ this.id = _data["id"];
21798
+ this.name = _data["name"];
21799
+ this.upn = _data["upn"];
21800
+ this.azureAdObjectId = _data["azureAdObjectId"];
21801
+ }
21802
+ }
21803
+ static fromJS(data) {
21804
+ data = typeof data === 'object' ? data : {};
21805
+ let result = new EmployeeDto();
21806
+ result.init(data);
21807
+ return result;
21808
+ }
21809
+ toJSON(data) {
21810
+ data = typeof data === 'object' ? data : {};
21811
+ data["id"] = this.id;
21812
+ data["name"] = this.name;
21813
+ data["upn"] = this.upn;
21814
+ data["azureAdObjectId"] = this.azureAdObjectId;
21779
21815
  return data;
21780
21816
  }
21781
21817
  }
@@ -29020,38 +29056,6 @@ export class OperatorAndMachineDto {
29020
29056
  return data;
29021
29057
  }
29022
29058
  }
29023
- export class EmployeeDto {
29024
- constructor(data) {
29025
- if (data) {
29026
- for (var property in data) {
29027
- if (data.hasOwnProperty(property))
29028
- this[property] = data[property];
29029
- }
29030
- }
29031
- }
29032
- init(_data) {
29033
- if (_data) {
29034
- this.id = _data["id"];
29035
- this.name = _data["name"];
29036
- this.upn = _data["upn"];
29037
- this.azureAdObjectId = _data["azureAdObjectId"];
29038
- }
29039
- }
29040
- static fromJS(data) {
29041
- data = typeof data === 'object' ? data : {};
29042
- let result = new EmployeeDto();
29043
- result.init(data);
29044
- return result;
29045
- }
29046
- toJSON(data) {
29047
- data = typeof data === 'object' ? data : {};
29048
- data["id"] = this.id;
29049
- data["name"] = this.name;
29050
- data["upn"] = this.upn;
29051
- data["azureAdObjectId"] = this.azureAdObjectId;
29052
- return data;
29053
- }
29054
- }
29055
29059
  export class CreateMachineWithoutResource {
29056
29060
  constructor(data) {
29057
29061
  if (data) {
@@ -38999,7 +39003,6 @@ export class UpdateSchemaGroupedElementRowDto {
38999
39003
  this.nominalText = _data["nominalText"];
39000
39004
  this.type = _data["type"];
39001
39005
  this.subType = _data["subType"];
39002
- this.unitOfMeasure = _data["unitOfMeasure"];
39003
39006
  this.plusTolerance = _data["plusTolerance"];
39004
39007
  this.minusTolerance = _data["minusTolerance"];
39005
39008
  this.upperLimit = _data["upperLimit"];
@@ -39029,7 +39032,6 @@ export class UpdateSchemaGroupedElementRowDto {
39029
39032
  data["nominalText"] = this.nominalText;
39030
39033
  data["type"] = this.type;
39031
39034
  data["subType"] = this.subType;
39032
- data["unitOfMeasure"] = this.unitOfMeasure;
39033
39035
  data["plusTolerance"] = this.plusTolerance;
39034
39036
  data["minusTolerance"] = this.minusTolerance;
39035
39037
  data["upperLimit"] = this.upperLimit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20250409.0.11486",
3
+ "version": "20250423.0.11533",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -23430,6 +23430,8 @@ export class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto {
23430
23430
  comment?: string | null;
23431
23431
  companyId?: string | null;
23432
23432
  reasonId!: string;
23433
+ createdBy?: EmployeeDto | null;
23434
+ updatedBy?: EmployeeDto | null;
23433
23435
 
23434
23436
  constructor(data?: IDowntimePeriodReasonDto) {
23435
23437
  if (data) {
@@ -23451,6 +23453,8 @@ export class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto {
23451
23453
  this.comment = _data["comment"];
23452
23454
  this.companyId = _data["companyId"];
23453
23455
  this.reasonId = _data["reasonId"];
23456
+ this.createdBy = _data["createdBy"] ? EmployeeDto.fromJS(_data["createdBy"]) : <any>undefined;
23457
+ this.updatedBy = _data["updatedBy"] ? EmployeeDto.fromJS(_data["updatedBy"]) : <any>undefined;
23454
23458
  }
23455
23459
  }
23456
23460
 
@@ -23472,6 +23476,8 @@ export class DowntimePeriodReasonDto implements IDowntimePeriodReasonDto {
23472
23476
  data["comment"] = this.comment;
23473
23477
  data["companyId"] = this.companyId;
23474
23478
  data["reasonId"] = this.reasonId;
23479
+ data["createdBy"] = this.createdBy ? this.createdBy.toJSON() : <any>undefined;
23480
+ data["updatedBy"] = this.updatedBy ? this.updatedBy.toJSON() : <any>undefined;
23475
23481
  return data;
23476
23482
  }
23477
23483
  }
@@ -23486,10 +23492,60 @@ export interface IDowntimePeriodReasonDto {
23486
23492
  comment?: string | null;
23487
23493
  companyId?: string | null;
23488
23494
  reasonId: string;
23495
+ createdBy?: EmployeeDto | null;
23496
+ updatedBy?: EmployeeDto | null;
23489
23497
  }
23490
23498
 
23491
23499
  export type DowntimeReasonTypeDto = "Unplanned" | "Planned";
23492
23500
 
23501
+ export class EmployeeDto implements IEmployeeDto {
23502
+ id?: string | null;
23503
+ name?: string | null;
23504
+ upn?: string | null;
23505
+ azureAdObjectId?: string | null;
23506
+
23507
+ constructor(data?: IEmployeeDto) {
23508
+ if (data) {
23509
+ for (var property in data) {
23510
+ if (data.hasOwnProperty(property))
23511
+ (<any>this)[property] = (<any>data)[property];
23512
+ }
23513
+ }
23514
+ }
23515
+
23516
+ init(_data?: any) {
23517
+ if (_data) {
23518
+ this.id = _data["id"];
23519
+ this.name = _data["name"];
23520
+ this.upn = _data["upn"];
23521
+ this.azureAdObjectId = _data["azureAdObjectId"];
23522
+ }
23523
+ }
23524
+
23525
+ static fromJS(data: any): EmployeeDto {
23526
+ data = typeof data === 'object' ? data : {};
23527
+ let result = new EmployeeDto();
23528
+ result.init(data);
23529
+ return result;
23530
+ }
23531
+
23532
+ toJSON(data?: any) {
23533
+ data = typeof data === 'object' ? data : {};
23534
+ data["id"] = this.id;
23535
+ data["name"] = this.name;
23536
+ data["upn"] = this.upn;
23537
+ data["azureAdObjectId"] = this.azureAdObjectId;
23538
+ return data;
23539
+ }
23540
+ }
23541
+
23542
+ export interface IEmployeeDto {
23543
+ id?: string | null;
23544
+ name?: string | null;
23545
+ upn?: string | null;
23546
+ azureAdObjectId?: string | null;
23547
+ }
23548
+
23493
23549
  export class MachineUptimesAggregateDto implements IMachineUptimesAggregateDto {
23494
23550
  machineUptimes!: MachineUptimeDto[];
23495
23551
  sum!: MachineUptimeSumDto;
@@ -34061,54 +34117,6 @@ export interface IOperatorAndMachineDto {
34061
34117
  machine?: MachineDto | null;
34062
34118
  }
34063
34119
 
34064
- export class EmployeeDto implements IEmployeeDto {
34065
- id?: string | null;
34066
- name?: string | null;
34067
- upn?: string | null;
34068
- azureAdObjectId?: string | null;
34069
-
34070
- constructor(data?: IEmployeeDto) {
34071
- if (data) {
34072
- for (var property in data) {
34073
- if (data.hasOwnProperty(property))
34074
- (<any>this)[property] = (<any>data)[property];
34075
- }
34076
- }
34077
- }
34078
-
34079
- init(_data?: any) {
34080
- if (_data) {
34081
- this.id = _data["id"];
34082
- this.name = _data["name"];
34083
- this.upn = _data["upn"];
34084
- this.azureAdObjectId = _data["azureAdObjectId"];
34085
- }
34086
- }
34087
-
34088
- static fromJS(data: any): EmployeeDto {
34089
- data = typeof data === 'object' ? data : {};
34090
- let result = new EmployeeDto();
34091
- result.init(data);
34092
- return result;
34093
- }
34094
-
34095
- toJSON(data?: any) {
34096
- data = typeof data === 'object' ? data : {};
34097
- data["id"] = this.id;
34098
- data["name"] = this.name;
34099
- data["upn"] = this.upn;
34100
- data["azureAdObjectId"] = this.azureAdObjectId;
34101
- return data;
34102
- }
34103
- }
34104
-
34105
- export interface IEmployeeDto {
34106
- id?: string | null;
34107
- name?: string | null;
34108
- upn?: string | null;
34109
- azureAdObjectId?: string | null;
34110
- }
34111
-
34112
34120
  export class CreateMachineWithoutResource implements ICreateMachineWithoutResource {
34113
34121
  id!: string;
34114
34122
  name!: string;
@@ -49096,7 +49104,6 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
49096
49104
  nominalText?: string | null;
49097
49105
  type?: string | null;
49098
49106
  subType?: string | null;
49099
- unitOfMeasure?: string | null;
49100
49107
  plusTolerance?: string | null;
49101
49108
  minusTolerance?: string | null;
49102
49109
  upperLimit?: string | null;
@@ -49128,7 +49135,6 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
49128
49135
  this.nominalText = _data["nominalText"];
49129
49136
  this.type = _data["type"];
49130
49137
  this.subType = _data["subType"];
49131
- this.unitOfMeasure = _data["unitOfMeasure"];
49132
49138
  this.plusTolerance = _data["plusTolerance"];
49133
49139
  this.minusTolerance = _data["minusTolerance"];
49134
49140
  this.upperLimit = _data["upperLimit"];
@@ -49160,7 +49166,6 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
49160
49166
  data["nominalText"] = this.nominalText;
49161
49167
  data["type"] = this.type;
49162
49168
  data["subType"] = this.subType;
49163
- data["unitOfMeasure"] = this.unitOfMeasure;
49164
49169
  data["plusTolerance"] = this.plusTolerance;
49165
49170
  data["minusTolerance"] = this.minusTolerance;
49166
49171
  data["upperLimit"] = this.upperLimit;
@@ -49185,7 +49190,6 @@ export interface IUpdateSchemaGroupedElementRowDto {
49185
49190
  nominalText?: string | null;
49186
49191
  type?: string | null;
49187
49192
  subType?: string | null;
49188
- unitOfMeasure?: string | null;
49189
49193
  plusTolerance?: string | null;
49190
49194
  minusTolerance?: string | null;
49191
49195
  upperLimit?: string | null;