@ignos/api-client 20250116.0.10988 → 20250116.0.10993

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.
@@ -5346,8 +5346,10 @@ export interface IMachineGroupCapacityDto {
5346
5346
  export declare class MachineCapacityDto implements IMachineCapacityDto {
5347
5347
  machineExternalId: string;
5348
5348
  name: string;
5349
+ description?: string | null;
5350
+ utilizationPercent: number;
5349
5351
  comment?: string | null;
5350
- capacity?: MachineCapacitySettingsDto[] | null;
5352
+ capacity: MachineCapacitySettingsDto[];
5351
5353
  created?: Date | null;
5352
5354
  updatedBy?: string | null;
5353
5355
  updatedById?: string | null;
@@ -5359,28 +5361,31 @@ export declare class MachineCapacityDto implements IMachineCapacityDto {
5359
5361
  export interface IMachineCapacityDto {
5360
5362
  machineExternalId: string;
5361
5363
  name: string;
5364
+ description?: string | null;
5365
+ utilizationPercent: number;
5362
5366
  comment?: string | null;
5363
- capacity?: MachineCapacitySettingsDto[] | null;
5367
+ capacity: MachineCapacitySettingsDto[];
5364
5368
  created?: Date | null;
5365
5369
  updatedBy?: string | null;
5366
5370
  updatedById?: string | null;
5367
5371
  }
5368
5372
  export declare class MachineCapacitySettingsDto implements IMachineCapacitySettingsDto {
5373
+ dayIndex: number;
5369
5374
  capacityHours: number;
5370
- utilizationPercent: number;
5371
5375
  constructor(data?: IMachineCapacitySettingsDto);
5372
5376
  init(_data?: any): void;
5373
5377
  static fromJS(data: any): MachineCapacitySettingsDto;
5374
5378
  toJSON(data?: any): any;
5375
5379
  }
5376
5380
  export interface IMachineCapacitySettingsDto {
5381
+ dayIndex: number;
5377
5382
  capacityHours: number;
5378
- utilizationPercent: number;
5379
5383
  }
5380
5384
  export declare class UpdateMachinesCapacity implements IUpdateMachinesCapacity {
5381
5385
  machineExternalId: string;
5382
5386
  comment?: string | null;
5383
- capacity: MachineCapacitySettingsDto[];
5387
+ utilizationPercent?: number | null;
5388
+ capacity?: MachineCapacitySettingsDto[] | null;
5384
5389
  constructor(data?: IUpdateMachinesCapacity);
5385
5390
  init(_data?: any): void;
5386
5391
  static fromJS(data: any): UpdateMachinesCapacity;
@@ -5389,7 +5394,8 @@ export declare class UpdateMachinesCapacity implements IUpdateMachinesCapacity {
5389
5394
  export interface IUpdateMachinesCapacity {
5390
5395
  machineExternalId: string;
5391
5396
  comment?: string | null;
5392
- capacity: MachineCapacitySettingsDto[];
5397
+ utilizationPercent?: number | null;
5398
+ capacity?: MachineCapacitySettingsDto[] | null;
5393
5399
  }
5394
5400
  export declare class CalenderCapacityDto implements ICalenderCapacityDto {
5395
5401
  date?: Date;
@@ -26380,11 +26380,16 @@ export class MachineCapacityDto {
26380
26380
  this[property] = data[property];
26381
26381
  }
26382
26382
  }
26383
+ if (!data) {
26384
+ this.capacity = [];
26385
+ }
26383
26386
  }
26384
26387
  init(_data) {
26385
26388
  if (_data) {
26386
26389
  this.machineExternalId = _data["machineExternalId"];
26387
26390
  this.name = _data["name"];
26391
+ this.description = _data["description"];
26392
+ this.utilizationPercent = _data["utilizationPercent"];
26388
26393
  this.comment = _data["comment"];
26389
26394
  if (Array.isArray(_data["capacity"])) {
26390
26395
  this.capacity = [];
@@ -26406,6 +26411,8 @@ export class MachineCapacityDto {
26406
26411
  data = typeof data === 'object' ? data : {};
26407
26412
  data["machineExternalId"] = this.machineExternalId;
26408
26413
  data["name"] = this.name;
26414
+ data["description"] = this.description;
26415
+ data["utilizationPercent"] = this.utilizationPercent;
26409
26416
  data["comment"] = this.comment;
26410
26417
  if (Array.isArray(this.capacity)) {
26411
26418
  data["capacity"] = [];
@@ -26429,8 +26436,8 @@ export class MachineCapacitySettingsDto {
26429
26436
  }
26430
26437
  init(_data) {
26431
26438
  if (_data) {
26439
+ this.dayIndex = _data["dayIndex"];
26432
26440
  this.capacityHours = _data["capacityHours"];
26433
- this.utilizationPercent = _data["utilizationPercent"];
26434
26441
  }
26435
26442
  }
26436
26443
  static fromJS(data) {
@@ -26441,8 +26448,8 @@ export class MachineCapacitySettingsDto {
26441
26448
  }
26442
26449
  toJSON(data) {
26443
26450
  data = typeof data === 'object' ? data : {};
26451
+ data["dayIndex"] = this.dayIndex;
26444
26452
  data["capacityHours"] = this.capacityHours;
26445
- data["utilizationPercent"] = this.utilizationPercent;
26446
26453
  return data;
26447
26454
  }
26448
26455
  }
@@ -26454,14 +26461,12 @@ export class UpdateMachinesCapacity {
26454
26461
  this[property] = data[property];
26455
26462
  }
26456
26463
  }
26457
- if (!data) {
26458
- this.capacity = [];
26459
- }
26460
26464
  }
26461
26465
  init(_data) {
26462
26466
  if (_data) {
26463
26467
  this.machineExternalId = _data["machineExternalId"];
26464
26468
  this.comment = _data["comment"];
26469
+ this.utilizationPercent = _data["utilizationPercent"];
26465
26470
  if (Array.isArray(_data["capacity"])) {
26466
26471
  this.capacity = [];
26467
26472
  for (let item of _data["capacity"])
@@ -26479,6 +26484,7 @@ export class UpdateMachinesCapacity {
26479
26484
  data = typeof data === 'object' ? data : {};
26480
26485
  data["machineExternalId"] = this.machineExternalId;
26481
26486
  data["comment"] = this.comment;
26487
+ data["utilizationPercent"] = this.utilizationPercent;
26482
26488
  if (Array.isArray(this.capacity)) {
26483
26489
  data["capacity"] = [];
26484
26490
  for (let item of this.capacity)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20250116.0.10988",
3
+ "version": "20250116.0.10993",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -30643,8 +30643,10 @@ export interface IMachineGroupCapacityDto {
30643
30643
  export class MachineCapacityDto implements IMachineCapacityDto {
30644
30644
  machineExternalId!: string;
30645
30645
  name!: string;
30646
+ description?: string | null;
30647
+ utilizationPercent!: number;
30646
30648
  comment?: string | null;
30647
- capacity?: MachineCapacitySettingsDto[] | null;
30649
+ capacity!: MachineCapacitySettingsDto[];
30648
30650
  created?: Date | null;
30649
30651
  updatedBy?: string | null;
30650
30652
  updatedById?: string | null;
@@ -30656,12 +30658,17 @@ export class MachineCapacityDto implements IMachineCapacityDto {
30656
30658
  (<any>this)[property] = (<any>data)[property];
30657
30659
  }
30658
30660
  }
30661
+ if (!data) {
30662
+ this.capacity = [];
30663
+ }
30659
30664
  }
30660
30665
 
30661
30666
  init(_data?: any) {
30662
30667
  if (_data) {
30663
30668
  this.machineExternalId = _data["machineExternalId"];
30664
30669
  this.name = _data["name"];
30670
+ this.description = _data["description"];
30671
+ this.utilizationPercent = _data["utilizationPercent"];
30665
30672
  this.comment = _data["comment"];
30666
30673
  if (Array.isArray(_data["capacity"])) {
30667
30674
  this.capacity = [] as any;
@@ -30685,6 +30692,8 @@ export class MachineCapacityDto implements IMachineCapacityDto {
30685
30692
  data = typeof data === 'object' ? data : {};
30686
30693
  data["machineExternalId"] = this.machineExternalId;
30687
30694
  data["name"] = this.name;
30695
+ data["description"] = this.description;
30696
+ data["utilizationPercent"] = this.utilizationPercent;
30688
30697
  data["comment"] = this.comment;
30689
30698
  if (Array.isArray(this.capacity)) {
30690
30699
  data["capacity"] = [];
@@ -30701,16 +30710,18 @@ export class MachineCapacityDto implements IMachineCapacityDto {
30701
30710
  export interface IMachineCapacityDto {
30702
30711
  machineExternalId: string;
30703
30712
  name: string;
30713
+ description?: string | null;
30714
+ utilizationPercent: number;
30704
30715
  comment?: string | null;
30705
- capacity?: MachineCapacitySettingsDto[] | null;
30716
+ capacity: MachineCapacitySettingsDto[];
30706
30717
  created?: Date | null;
30707
30718
  updatedBy?: string | null;
30708
30719
  updatedById?: string | null;
30709
30720
  }
30710
30721
 
30711
30722
  export class MachineCapacitySettingsDto implements IMachineCapacitySettingsDto {
30723
+ dayIndex!: number;
30712
30724
  capacityHours!: number;
30713
- utilizationPercent!: number;
30714
30725
 
30715
30726
  constructor(data?: IMachineCapacitySettingsDto) {
30716
30727
  if (data) {
@@ -30723,8 +30734,8 @@ export class MachineCapacitySettingsDto implements IMachineCapacitySettingsDto {
30723
30734
 
30724
30735
  init(_data?: any) {
30725
30736
  if (_data) {
30737
+ this.dayIndex = _data["dayIndex"];
30726
30738
  this.capacityHours = _data["capacityHours"];
30727
- this.utilizationPercent = _data["utilizationPercent"];
30728
30739
  }
30729
30740
  }
30730
30741
 
@@ -30737,21 +30748,22 @@ export class MachineCapacitySettingsDto implements IMachineCapacitySettingsDto {
30737
30748
 
30738
30749
  toJSON(data?: any) {
30739
30750
  data = typeof data === 'object' ? data : {};
30751
+ data["dayIndex"] = this.dayIndex;
30740
30752
  data["capacityHours"] = this.capacityHours;
30741
- data["utilizationPercent"] = this.utilizationPercent;
30742
30753
  return data;
30743
30754
  }
30744
30755
  }
30745
30756
 
30746
30757
  export interface IMachineCapacitySettingsDto {
30758
+ dayIndex: number;
30747
30759
  capacityHours: number;
30748
- utilizationPercent: number;
30749
30760
  }
30750
30761
 
30751
30762
  export class UpdateMachinesCapacity implements IUpdateMachinesCapacity {
30752
30763
  machineExternalId!: string;
30753
30764
  comment?: string | null;
30754
- capacity!: MachineCapacitySettingsDto[];
30765
+ utilizationPercent?: number | null;
30766
+ capacity?: MachineCapacitySettingsDto[] | null;
30755
30767
 
30756
30768
  constructor(data?: IUpdateMachinesCapacity) {
30757
30769
  if (data) {
@@ -30760,15 +30772,13 @@ export class UpdateMachinesCapacity implements IUpdateMachinesCapacity {
30760
30772
  (<any>this)[property] = (<any>data)[property];
30761
30773
  }
30762
30774
  }
30763
- if (!data) {
30764
- this.capacity = [];
30765
- }
30766
30775
  }
30767
30776
 
30768
30777
  init(_data?: any) {
30769
30778
  if (_data) {
30770
30779
  this.machineExternalId = _data["machineExternalId"];
30771
30780
  this.comment = _data["comment"];
30781
+ this.utilizationPercent = _data["utilizationPercent"];
30772
30782
  if (Array.isArray(_data["capacity"])) {
30773
30783
  this.capacity = [] as any;
30774
30784
  for (let item of _data["capacity"])
@@ -30788,6 +30798,7 @@ export class UpdateMachinesCapacity implements IUpdateMachinesCapacity {
30788
30798
  data = typeof data === 'object' ? data : {};
30789
30799
  data["machineExternalId"] = this.machineExternalId;
30790
30800
  data["comment"] = this.comment;
30801
+ data["utilizationPercent"] = this.utilizationPercent;
30791
30802
  if (Array.isArray(this.capacity)) {
30792
30803
  data["capacity"] = [];
30793
30804
  for (let item of this.capacity)
@@ -30800,7 +30811,8 @@ export class UpdateMachinesCapacity implements IUpdateMachinesCapacity {
30800
30811
  export interface IUpdateMachinesCapacity {
30801
30812
  machineExternalId: string;
30802
30813
  comment?: string | null;
30803
- capacity: MachineCapacitySettingsDto[];
30814
+ utilizationPercent?: number | null;
30815
+ capacity?: MachineCapacitySettingsDto[] | null;
30804
30816
  }
30805
30817
 
30806
30818
  export class CalenderCapacityDto implements ICalenderCapacityDto {