@ignos/api-client 20250121.0.10997 → 20250122.0.11003
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
CHANGED
|
@@ -5560,16 +5560,16 @@ export interface ICalenderCapacityDto {
|
|
|
5560
5560
|
}
|
|
5561
5561
|
export type CalenderDayCapacityDto = "WorkingDay" | "HalfDay" | "Holiday";
|
|
5562
5562
|
export declare class UpdateCalenderCapacity implements IUpdateCalenderCapacity {
|
|
5563
|
-
date
|
|
5564
|
-
dayCapacity
|
|
5563
|
+
date?: Date;
|
|
5564
|
+
dayCapacity?: CalenderDayCapacityDto;
|
|
5565
5565
|
constructor(data?: IUpdateCalenderCapacity);
|
|
5566
5566
|
init(_data?: any): void;
|
|
5567
5567
|
static fromJS(data: any): UpdateCalenderCapacity;
|
|
5568
5568
|
toJSON(data?: any): any;
|
|
5569
5569
|
}
|
|
5570
5570
|
export interface IUpdateCalenderCapacity {
|
|
5571
|
-
date
|
|
5572
|
-
dayCapacity
|
|
5571
|
+
date?: Date;
|
|
5572
|
+
dayCapacity?: CalenderDayCapacityDto;
|
|
5573
5573
|
}
|
|
5574
5574
|
export declare class MachineDto implements IMachineDto {
|
|
5575
5575
|
id: number;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -27079,7 +27079,7 @@ export class CalenderCapacityDto {
|
|
|
27079
27079
|
}
|
|
27080
27080
|
toJSON(data) {
|
|
27081
27081
|
data = typeof data === 'object' ? data : {};
|
|
27082
|
-
data["date"] = this.date ?
|
|
27082
|
+
data["date"] = this.date ? this.date.toISOString() : undefined;
|
|
27083
27083
|
data["dayCapacity"] = this.dayCapacity;
|
|
27084
27084
|
return data;
|
|
27085
27085
|
}
|
|
@@ -27107,7 +27107,7 @@ export class UpdateCalenderCapacity {
|
|
|
27107
27107
|
}
|
|
27108
27108
|
toJSON(data) {
|
|
27109
27109
|
data = typeof data === 'object' ? data : {};
|
|
27110
|
-
data["date"] = this.date ?
|
|
27110
|
+
data["date"] = this.date ? this.date.toISOString() : undefined;
|
|
27111
27111
|
data["dayCapacity"] = this.dayCapacity;
|
|
27112
27112
|
return data;
|
|
27113
27113
|
}
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -31543,7 +31543,7 @@ export class CalenderCapacityDto implements ICalenderCapacityDto {
|
|
|
31543
31543
|
|
|
31544
31544
|
toJSON(data?: any) {
|
|
31545
31545
|
data = typeof data === 'object' ? data : {};
|
|
31546
|
-
data["date"] = this.date ?
|
|
31546
|
+
data["date"] = this.date ? this.date.toISOString() : <any>undefined;
|
|
31547
31547
|
data["dayCapacity"] = this.dayCapacity;
|
|
31548
31548
|
return data;
|
|
31549
31549
|
}
|
|
@@ -31557,8 +31557,8 @@ export interface ICalenderCapacityDto {
|
|
|
31557
31557
|
export type CalenderDayCapacityDto = "WorkingDay" | "HalfDay" | "Holiday";
|
|
31558
31558
|
|
|
31559
31559
|
export class UpdateCalenderCapacity implements IUpdateCalenderCapacity {
|
|
31560
|
-
date
|
|
31561
|
-
dayCapacity
|
|
31560
|
+
date?: Date;
|
|
31561
|
+
dayCapacity?: CalenderDayCapacityDto;
|
|
31562
31562
|
|
|
31563
31563
|
constructor(data?: IUpdateCalenderCapacity) {
|
|
31564
31564
|
if (data) {
|
|
@@ -31585,15 +31585,15 @@ export class UpdateCalenderCapacity implements IUpdateCalenderCapacity {
|
|
|
31585
31585
|
|
|
31586
31586
|
toJSON(data?: any) {
|
|
31587
31587
|
data = typeof data === 'object' ? data : {};
|
|
31588
|
-
data["date"] = this.date ?
|
|
31588
|
+
data["date"] = this.date ? this.date.toISOString() : <any>undefined;
|
|
31589
31589
|
data["dayCapacity"] = this.dayCapacity;
|
|
31590
31590
|
return data;
|
|
31591
31591
|
}
|
|
31592
31592
|
}
|
|
31593
31593
|
|
|
31594
31594
|
export interface IUpdateCalenderCapacity {
|
|
31595
|
-
date
|
|
31596
|
-
dayCapacity
|
|
31595
|
+
date?: Date;
|
|
31596
|
+
dayCapacity?: CalenderDayCapacityDto;
|
|
31597
31597
|
}
|
|
31598
31598
|
|
|
31599
31599
|
export class MachineDto implements IMachineDto {
|