@movalib/movalib-commons 1.59.21 → 1.59.22
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.
|
@@ -191,7 +191,8 @@ export declare enum EventState {
|
|
|
191
191
|
export declare enum EventType {
|
|
192
192
|
APPOINTMENT = "APPOINTMENT",
|
|
193
193
|
UNAVAILABILITY = "UNAVAILABILITY",
|
|
194
|
-
NOTE = "NOTE"
|
|
194
|
+
NOTE = "NOTE",
|
|
195
|
+
PENDING_APPOINTMENT = "PENDING_APPOINTMENT"
|
|
195
196
|
}
|
|
196
197
|
export declare enum DayOfWeek {
|
|
197
198
|
MONDAY = "MONDAY",
|
|
@@ -215,6 +215,7 @@ var EventType;
|
|
|
215
215
|
EventType["APPOINTMENT"] = "APPOINTMENT";
|
|
216
216
|
EventType["UNAVAILABILITY"] = "UNAVAILABILITY";
|
|
217
217
|
EventType["NOTE"] = "NOTE";
|
|
218
|
+
EventType["PENDING_APPOINTMENT"] = "PENDING_APPOINTMENT";
|
|
218
219
|
})(EventType = exports.EventType || (exports.EventType = {}));
|
|
219
220
|
var DayOfWeek;
|
|
220
221
|
(function (DayOfWeek) {
|
|
@@ -62,6 +62,7 @@ export default class Event {
|
|
|
62
62
|
vehicleReceived?: boolean;
|
|
63
63
|
garageVehicleId?: number;
|
|
64
64
|
garageVehicleRequest?: boolean;
|
|
65
|
+
origin?: string;
|
|
65
66
|
constructor(id: string, ownerId: number, type: EventType, title: string, garageName: string, garageId: number, color: string, state: EventState, garageAddress?: Address, start?: Date, end?: Date, prestations?: Prestation[], operations?: Operation[], products?: Product[], guestsId?: string[], vehicleId?: number, quoteId?: number, notes?: string, vehicleAvailableNotified?: boolean, editable?: boolean, resourceId?: number, garageVehicleId?: number, garageVehicleRequest?: boolean);
|
|
66
67
|
static getPrestationsList(event: Event): string[];
|
|
67
68
|
}
|
package/package.json
CHANGED
package/src/helpers/Enums.ts
CHANGED
package/src/models/Event.ts
CHANGED
|
@@ -69,6 +69,7 @@ export default class Event {
|
|
|
69
69
|
vehicleReceived?: boolean;
|
|
70
70
|
garageVehicleId?: number;
|
|
71
71
|
garageVehicleRequest?: boolean;
|
|
72
|
+
origin?: string;
|
|
72
73
|
|
|
73
74
|
constructor(id: string, ownerId: number, type : EventType, title: string, garageName: string, garageId: number,color: string,
|
|
74
75
|
state: EventState, garageAddress?: Address, start?: Date, end?: Date, prestations?: Prestation[], operations?: Operation[], products?: Product[],
|