@ignos/api-client 20250116.0.10988 → 20250116.0.10991

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