@ignos/api-client 20240722.0.9823 → 20240730.0.9869-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.
@@ -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;
@@ -6523,6 +6523,7 @@ export declare class CncMachineOperationDto implements ICncMachineOperationDto {
6523
6523
  fixture?: string | null;
6524
6524
  status: CncOperationStatus;
6525
6525
  deleted: boolean;
6526
+ auditInfo?: CncSetupAuditDto;
6526
6527
  constructor(data?: ICncMachineOperationDto);
6527
6528
  init(_data?: any): void;
6528
6529
  static fromJS(data: any): CncMachineOperationDto;
@@ -6543,8 +6544,33 @@ export interface ICncMachineOperationDto {
6543
6544
  fixture?: string | null;
6544
6545
  status: CncOperationStatus;
6545
6546
  deleted: boolean;
6547
+ auditInfo?: CncSetupAuditDto;
6546
6548
  }
6547
6549
  export type CncOperationStatus = "Draft" | "Ready" | "Verified" | "Archived";
6550
+ export declare class CncSetupAuditDto implements ICncSetupAuditDto {
6551
+ created: Date;
6552
+ createdBy: string;
6553
+ createdById: string;
6554
+ createdByName?: string | null;
6555
+ updated?: Date | null;
6556
+ updatedBy?: string | null;
6557
+ updatedById?: string | null;
6558
+ updatedByName?: string | null;
6559
+ constructor(data?: ICncSetupAuditDto);
6560
+ init(_data?: any): void;
6561
+ static fromJS(data: any): CncSetupAuditDto;
6562
+ toJSON(data?: any): any;
6563
+ }
6564
+ export interface ICncSetupAuditDto {
6565
+ created: Date;
6566
+ createdBy: string;
6567
+ createdById: string;
6568
+ createdByName?: string | null;
6569
+ updated?: Date | null;
6570
+ updatedBy?: string | null;
6571
+ updatedById?: string | null;
6572
+ updatedByName?: string | null;
6573
+ }
6548
6574
  export declare class CreateCncMachineOperation implements ICreateCncMachineOperation {
6549
6575
  cncPartId: string;
6550
6576
  operation?: number | null;
@@ -6793,30 +6819,6 @@ export interface IImageFileDto {
6793
6819
  name: string;
6794
6820
  thumbnailUrl?: string | null;
6795
6821
  }
6796
- export declare class CncSetupAuditDto implements ICncSetupAuditDto {
6797
- created: Date;
6798
- createdBy: string;
6799
- createdById: string;
6800
- createdByName?: string | null;
6801
- updated?: Date | null;
6802
- updatedBy?: string | null;
6803
- updatedById?: string | null;
6804
- updatedByName?: string | null;
6805
- constructor(data?: ICncSetupAuditDto);
6806
- init(_data?: any): void;
6807
- static fromJS(data: any): CncSetupAuditDto;
6808
- toJSON(data?: any): any;
6809
- }
6810
- export interface ICncSetupAuditDto {
6811
- created: Date;
6812
- createdBy: string;
6813
- createdById: string;
6814
- createdByName?: string | null;
6815
- updated?: Date | null;
6816
- updatedBy?: string | null;
6817
- updatedById?: string | null;
6818
- updatedByName?: string | null;
6819
- }
6820
6822
  export declare class CopyToolsCncMachine implements ICopyToolsCncMachine {
6821
6823
  sourceMachineId: string;
6822
6824
  targetOperationId: string;
@@ -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
  }
@@ -27969,6 +27966,7 @@ export class CncMachineOperationDto {
27969
27966
  this.fixture = _data["fixture"];
27970
27967
  this.status = _data["status"];
27971
27968
  this.deleted = _data["deleted"];
27969
+ this.auditInfo = _data["auditInfo"] ? CncSetupAuditDto.fromJS(_data["auditInfo"]) : undefined;
27972
27970
  }
27973
27971
  }
27974
27972
  static fromJS(data) {
@@ -27993,6 +27991,47 @@ export class CncMachineOperationDto {
27993
27991
  data["fixture"] = this.fixture;
27994
27992
  data["status"] = this.status;
27995
27993
  data["deleted"] = this.deleted;
27994
+ data["auditInfo"] = this.auditInfo ? this.auditInfo.toJSON() : undefined;
27995
+ return data;
27996
+ }
27997
+ }
27998
+ export class CncSetupAuditDto {
27999
+ constructor(data) {
28000
+ if (data) {
28001
+ for (var property in data) {
28002
+ if (data.hasOwnProperty(property))
28003
+ this[property] = data[property];
28004
+ }
28005
+ }
28006
+ }
28007
+ init(_data) {
28008
+ if (_data) {
28009
+ this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
28010
+ this.createdBy = _data["createdBy"];
28011
+ this.createdById = _data["createdById"];
28012
+ this.createdByName = _data["createdByName"];
28013
+ this.updated = _data["updated"] ? new Date(_data["updated"].toString()) : undefined;
28014
+ this.updatedBy = _data["updatedBy"];
28015
+ this.updatedById = _data["updatedById"];
28016
+ this.updatedByName = _data["updatedByName"];
28017
+ }
28018
+ }
28019
+ static fromJS(data) {
28020
+ data = typeof data === 'object' ? data : {};
28021
+ let result = new CncSetupAuditDto();
28022
+ result.init(data);
28023
+ return result;
28024
+ }
28025
+ toJSON(data) {
28026
+ data = typeof data === 'object' ? data : {};
28027
+ data["created"] = this.created ? this.created.toISOString() : undefined;
28028
+ data["createdBy"] = this.createdBy;
28029
+ data["createdById"] = this.createdById;
28030
+ data["createdByName"] = this.createdByName;
28031
+ data["updated"] = this.updated ? this.updated.toISOString() : undefined;
28032
+ data["updatedBy"] = this.updatedBy;
28033
+ data["updatedById"] = this.updatedById;
28034
+ data["updatedByName"] = this.updatedByName;
27996
28035
  return data;
27997
28036
  }
27998
28037
  }
@@ -28418,46 +28457,6 @@ export class ImageFileDto {
28418
28457
  return data;
28419
28458
  }
28420
28459
  }
28421
- export class CncSetupAuditDto {
28422
- constructor(data) {
28423
- if (data) {
28424
- for (var property in data) {
28425
- if (data.hasOwnProperty(property))
28426
- this[property] = data[property];
28427
- }
28428
- }
28429
- }
28430
- init(_data) {
28431
- if (_data) {
28432
- this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
28433
- this.createdBy = _data["createdBy"];
28434
- this.createdById = _data["createdById"];
28435
- this.createdByName = _data["createdByName"];
28436
- this.updated = _data["updated"] ? new Date(_data["updated"].toString()) : undefined;
28437
- this.updatedBy = _data["updatedBy"];
28438
- this.updatedById = _data["updatedById"];
28439
- this.updatedByName = _data["updatedByName"];
28440
- }
28441
- }
28442
- static fromJS(data) {
28443
- data = typeof data === 'object' ? data : {};
28444
- let result = new CncSetupAuditDto();
28445
- result.init(data);
28446
- return result;
28447
- }
28448
- toJSON(data) {
28449
- data = typeof data === 'object' ? data : {};
28450
- data["created"] = this.created ? this.created.toISOString() : undefined;
28451
- data["createdBy"] = this.createdBy;
28452
- data["createdById"] = this.createdById;
28453
- data["createdByName"] = this.createdByName;
28454
- data["updated"] = this.updated ? this.updated.toISOString() : undefined;
28455
- data["updatedBy"] = this.updatedBy;
28456
- data["updatedById"] = this.updatedById;
28457
- data["updatedByName"] = this.updatedByName;
28458
- return data;
28459
- }
28460
- }
28461
28460
  export class CopyToolsCncMachine {
28462
28461
  constructor(data) {
28463
28462
  if (data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20240722.0.9823",
3
+ "version": "20240730.0.9869-alpha",
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 {
@@ -33482,6 +33479,7 @@ export class CncMachineOperationDto implements ICncMachineOperationDto {
33482
33479
  fixture?: string | null;
33483
33480
  status!: CncOperationStatus;
33484
33481
  deleted!: boolean;
33482
+ auditInfo?: CncSetupAuditDto;
33485
33483
 
33486
33484
  constructor(data?: ICncMachineOperationDto) {
33487
33485
  if (data) {
@@ -33508,6 +33506,7 @@ export class CncMachineOperationDto implements ICncMachineOperationDto {
33508
33506
  this.fixture = _data["fixture"];
33509
33507
  this.status = _data["status"];
33510
33508
  this.deleted = _data["deleted"];
33509
+ this.auditInfo = _data["auditInfo"] ? CncSetupAuditDto.fromJS(_data["auditInfo"]) : <any>undefined;
33511
33510
  }
33512
33511
  }
33513
33512
 
@@ -33534,6 +33533,7 @@ export class CncMachineOperationDto implements ICncMachineOperationDto {
33534
33533
  data["fixture"] = this.fixture;
33535
33534
  data["status"] = this.status;
33536
33535
  data["deleted"] = this.deleted;
33536
+ data["auditInfo"] = this.auditInfo ? this.auditInfo.toJSON() : <any>undefined;
33537
33537
  return data;
33538
33538
  }
33539
33539
  }
@@ -33553,10 +33553,75 @@ export interface ICncMachineOperationDto {
33553
33553
  fixture?: string | null;
33554
33554
  status: CncOperationStatus;
33555
33555
  deleted: boolean;
33556
+ auditInfo?: CncSetupAuditDto;
33556
33557
  }
33557
33558
 
33558
33559
  export type CncOperationStatus = "Draft" | "Ready" | "Verified" | "Archived";
33559
33560
 
33561
+ export class CncSetupAuditDto implements ICncSetupAuditDto {
33562
+ created!: Date;
33563
+ createdBy!: string;
33564
+ createdById!: string;
33565
+ createdByName?: string | null;
33566
+ updated?: Date | null;
33567
+ updatedBy?: string | null;
33568
+ updatedById?: string | null;
33569
+ updatedByName?: string | null;
33570
+
33571
+ constructor(data?: ICncSetupAuditDto) {
33572
+ if (data) {
33573
+ for (var property in data) {
33574
+ if (data.hasOwnProperty(property))
33575
+ (<any>this)[property] = (<any>data)[property];
33576
+ }
33577
+ }
33578
+ }
33579
+
33580
+ init(_data?: any) {
33581
+ if (_data) {
33582
+ this.created = _data["created"] ? new Date(_data["created"].toString()) : <any>undefined;
33583
+ this.createdBy = _data["createdBy"];
33584
+ this.createdById = _data["createdById"];
33585
+ this.createdByName = _data["createdByName"];
33586
+ this.updated = _data["updated"] ? new Date(_data["updated"].toString()) : <any>undefined;
33587
+ this.updatedBy = _data["updatedBy"];
33588
+ this.updatedById = _data["updatedById"];
33589
+ this.updatedByName = _data["updatedByName"];
33590
+ }
33591
+ }
33592
+
33593
+ static fromJS(data: any): CncSetupAuditDto {
33594
+ data = typeof data === 'object' ? data : {};
33595
+ let result = new CncSetupAuditDto();
33596
+ result.init(data);
33597
+ return result;
33598
+ }
33599
+
33600
+ toJSON(data?: any) {
33601
+ data = typeof data === 'object' ? data : {};
33602
+ data["created"] = this.created ? this.created.toISOString() : <any>undefined;
33603
+ data["createdBy"] = this.createdBy;
33604
+ data["createdById"] = this.createdById;
33605
+ data["createdByName"] = this.createdByName;
33606
+ data["updated"] = this.updated ? this.updated.toISOString() : <any>undefined;
33607
+ data["updatedBy"] = this.updatedBy;
33608
+ data["updatedById"] = this.updatedById;
33609
+ data["updatedByName"] = this.updatedByName;
33610
+ return data;
33611
+ }
33612
+ }
33613
+
33614
+ export interface ICncSetupAuditDto {
33615
+ created: Date;
33616
+ createdBy: string;
33617
+ createdById: string;
33618
+ createdByName?: string | null;
33619
+ updated?: Date | null;
33620
+ updatedBy?: string | null;
33621
+ updatedById?: string | null;
33622
+ updatedByName?: string | null;
33623
+ }
33624
+
33560
33625
  export class CreateCncMachineOperation implements ICreateCncMachineOperation {
33561
33626
  cncPartId!: string;
33562
33627
  operation?: number | null;
@@ -34227,70 +34292,6 @@ export interface IImageFileDto {
34227
34292
  thumbnailUrl?: string | null;
34228
34293
  }
34229
34294
 
34230
- export class CncSetupAuditDto implements ICncSetupAuditDto {
34231
- created!: Date;
34232
- createdBy!: string;
34233
- createdById!: string;
34234
- createdByName?: string | null;
34235
- updated?: Date | null;
34236
- updatedBy?: string | null;
34237
- updatedById?: string | null;
34238
- updatedByName?: string | null;
34239
-
34240
- constructor(data?: ICncSetupAuditDto) {
34241
- if (data) {
34242
- for (var property in data) {
34243
- if (data.hasOwnProperty(property))
34244
- (<any>this)[property] = (<any>data)[property];
34245
- }
34246
- }
34247
- }
34248
-
34249
- init(_data?: any) {
34250
- if (_data) {
34251
- this.created = _data["created"] ? new Date(_data["created"].toString()) : <any>undefined;
34252
- this.createdBy = _data["createdBy"];
34253
- this.createdById = _data["createdById"];
34254
- this.createdByName = _data["createdByName"];
34255
- this.updated = _data["updated"] ? new Date(_data["updated"].toString()) : <any>undefined;
34256
- this.updatedBy = _data["updatedBy"];
34257
- this.updatedById = _data["updatedById"];
34258
- this.updatedByName = _data["updatedByName"];
34259
- }
34260
- }
34261
-
34262
- static fromJS(data: any): CncSetupAuditDto {
34263
- data = typeof data === 'object' ? data : {};
34264
- let result = new CncSetupAuditDto();
34265
- result.init(data);
34266
- return result;
34267
- }
34268
-
34269
- toJSON(data?: any) {
34270
- data = typeof data === 'object' ? data : {};
34271
- data["created"] = this.created ? this.created.toISOString() : <any>undefined;
34272
- data["createdBy"] = this.createdBy;
34273
- data["createdById"] = this.createdById;
34274
- data["createdByName"] = this.createdByName;
34275
- data["updated"] = this.updated ? this.updated.toISOString() : <any>undefined;
34276
- data["updatedBy"] = this.updatedBy;
34277
- data["updatedById"] = this.updatedById;
34278
- data["updatedByName"] = this.updatedByName;
34279
- return data;
34280
- }
34281
- }
34282
-
34283
- export interface ICncSetupAuditDto {
34284
- created: Date;
34285
- createdBy: string;
34286
- createdById: string;
34287
- createdByName?: string | null;
34288
- updated?: Date | null;
34289
- updatedBy?: string | null;
34290
- updatedById?: string | null;
34291
- updatedByName?: string | null;
34292
- }
34293
-
34294
34295
  export class CopyToolsCncMachine implements ICopyToolsCncMachine {
34295
34296
  sourceMachineId!: string;
34296
34297
  targetOperationId!: string;