@ignos/api-client 20250225.0.11254 → 20250225.0.11259-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.
- package/lib/ignosportal-api.d.ts +2 -0
- package/lib/ignosportal-api.js +10 -0
- package/package.json +1 -1
- package/src/ignosportal-api.ts +12 -0
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -3649,6 +3649,7 @@ export interface INamedCompanyUtilizationDto extends ICompanyUtilizationDto {
|
|
|
3649
3649
|
}
|
|
3650
3650
|
export declare class UtilizationDatapointListDto implements IUtilizationDatapointListDto {
|
|
3651
3651
|
datapoints?: NumericNullableValueWithTimestamp[];
|
|
3652
|
+
trendDatapoints?: NumericNullableValueWithTimestamp[];
|
|
3652
3653
|
constructor(data?: IUtilizationDatapointListDto);
|
|
3653
3654
|
init(_data?: any): void;
|
|
3654
3655
|
static fromJS(data: any): UtilizationDatapointListDto;
|
|
@@ -3656,6 +3657,7 @@ export declare class UtilizationDatapointListDto implements IUtilizationDatapoin
|
|
|
3656
3657
|
}
|
|
3657
3658
|
export interface IUtilizationDatapointListDto {
|
|
3658
3659
|
datapoints?: NumericNullableValueWithTimestamp[];
|
|
3660
|
+
trendDatapoints?: NumericNullableValueWithTimestamp[];
|
|
3659
3661
|
}
|
|
3660
3662
|
export declare class MachineUtilizationDatapointListDto extends UtilizationDatapointListDto implements IMachineUtilizationDatapointListDto {
|
|
3661
3663
|
externalId: string;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -23210,6 +23210,11 @@ export class UtilizationDatapointListDto {
|
|
|
23210
23210
|
for (let item of _data["datapoints"])
|
|
23211
23211
|
this.datapoints.push(NumericNullableValueWithTimestamp.fromJS(item));
|
|
23212
23212
|
}
|
|
23213
|
+
if (Array.isArray(_data["trendDatapoints"])) {
|
|
23214
|
+
this.trendDatapoints = [];
|
|
23215
|
+
for (let item of _data["trendDatapoints"])
|
|
23216
|
+
this.trendDatapoints.push(NumericNullableValueWithTimestamp.fromJS(item));
|
|
23217
|
+
}
|
|
23213
23218
|
}
|
|
23214
23219
|
}
|
|
23215
23220
|
static fromJS(data) {
|
|
@@ -23225,6 +23230,11 @@ export class UtilizationDatapointListDto {
|
|
|
23225
23230
|
for (let item of this.datapoints)
|
|
23226
23231
|
data["datapoints"].push(item.toJSON());
|
|
23227
23232
|
}
|
|
23233
|
+
if (Array.isArray(this.trendDatapoints)) {
|
|
23234
|
+
data["trendDatapoints"] = [];
|
|
23235
|
+
for (let item of this.trendDatapoints)
|
|
23236
|
+
data["trendDatapoints"].push(item.toJSON());
|
|
23237
|
+
}
|
|
23228
23238
|
return data;
|
|
23229
23239
|
}
|
|
23230
23240
|
}
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -25727,6 +25727,7 @@ export interface INamedCompanyUtilizationDto extends ICompanyUtilizationDto {
|
|
|
25727
25727
|
|
|
25728
25728
|
export class UtilizationDatapointListDto implements IUtilizationDatapointListDto {
|
|
25729
25729
|
datapoints?: NumericNullableValueWithTimestamp[];
|
|
25730
|
+
trendDatapoints?: NumericNullableValueWithTimestamp[];
|
|
25730
25731
|
|
|
25731
25732
|
constructor(data?: IUtilizationDatapointListDto) {
|
|
25732
25733
|
if (data) {
|
|
@@ -25744,6 +25745,11 @@ export class UtilizationDatapointListDto implements IUtilizationDatapointListDto
|
|
|
25744
25745
|
for (let item of _data["datapoints"])
|
|
25745
25746
|
this.datapoints!.push(NumericNullableValueWithTimestamp.fromJS(item));
|
|
25746
25747
|
}
|
|
25748
|
+
if (Array.isArray(_data["trendDatapoints"])) {
|
|
25749
|
+
this.trendDatapoints = [] as any;
|
|
25750
|
+
for (let item of _data["trendDatapoints"])
|
|
25751
|
+
this.trendDatapoints!.push(NumericNullableValueWithTimestamp.fromJS(item));
|
|
25752
|
+
}
|
|
25747
25753
|
}
|
|
25748
25754
|
}
|
|
25749
25755
|
|
|
@@ -25761,12 +25767,18 @@ export class UtilizationDatapointListDto implements IUtilizationDatapointListDto
|
|
|
25761
25767
|
for (let item of this.datapoints)
|
|
25762
25768
|
data["datapoints"].push(item.toJSON());
|
|
25763
25769
|
}
|
|
25770
|
+
if (Array.isArray(this.trendDatapoints)) {
|
|
25771
|
+
data["trendDatapoints"] = [];
|
|
25772
|
+
for (let item of this.trendDatapoints)
|
|
25773
|
+
data["trendDatapoints"].push(item.toJSON());
|
|
25774
|
+
}
|
|
25764
25775
|
return data;
|
|
25765
25776
|
}
|
|
25766
25777
|
}
|
|
25767
25778
|
|
|
25768
25779
|
export interface IUtilizationDatapointListDto {
|
|
25769
25780
|
datapoints?: NumericNullableValueWithTimestamp[];
|
|
25781
|
+
trendDatapoints?: NumericNullableValueWithTimestamp[];
|
|
25770
25782
|
}
|
|
25771
25783
|
|
|
25772
25784
|
export class MachineUtilizationDatapointListDto extends UtilizationDatapointListDto implements IMachineUtilizationDatapointListDto {
|