@movalib/movalib-commons 1.31.0 → 1.33.0
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.
|
@@ -129,7 +129,7 @@ export declare enum APIMethod {
|
|
|
129
129
|
export declare enum DateFormatTypes {
|
|
130
130
|
TIME_ONLY = "HH:mm",
|
|
131
131
|
SHORT_FORMAT_DATE = "dd/MM/yyyy",
|
|
132
|
-
LONG_FORMAT_DATETIME = "dd/MM/yyyy HH:mm
|
|
132
|
+
LONG_FORMAT_DATETIME = "dd/MM/yyyy HH:mm",
|
|
133
133
|
LONG_FORMAT_DATETIME_LITERAL = "EEEE dd MMMM yyyy '\u00E0' HH:mm"
|
|
134
134
|
}
|
|
135
135
|
export declare enum Gender {
|
|
@@ -147,7 +147,7 @@ var DateFormatTypes;
|
|
|
147
147
|
(function (DateFormatTypes) {
|
|
148
148
|
DateFormatTypes["TIME_ONLY"] = "HH:mm";
|
|
149
149
|
DateFormatTypes["SHORT_FORMAT_DATE"] = "dd/MM/yyyy";
|
|
150
|
-
DateFormatTypes["LONG_FORMAT_DATETIME"] = "dd/MM/yyyy HH:mm
|
|
150
|
+
DateFormatTypes["LONG_FORMAT_DATETIME"] = "dd/MM/yyyy HH:mm";
|
|
151
151
|
DateFormatTypes["LONG_FORMAT_DATETIME_LITERAL"] = "EEEE dd MMMM yyyy '\u00E0' HH:mm";
|
|
152
152
|
})(DateFormatTypes = exports.DateFormatTypes || (exports.DateFormatTypes = {}));
|
|
153
153
|
var Gender;
|
|
@@ -47,6 +47,7 @@ export default class Event {
|
|
|
47
47
|
vehicleAvailableNotified?: boolean;
|
|
48
48
|
editable?: boolean;
|
|
49
49
|
vehicleDepositDate?: Date;
|
|
50
|
+
vehicleDepositDateRequest?: Date;
|
|
50
51
|
constructor(id: string, ownerId: number, type: EventType, title: string, garageName: string, garageId: number, 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);
|
|
51
52
|
static getPrestationsList(event: Event): string[];
|
|
52
53
|
}
|
package/package.json
CHANGED
package/src/helpers/Enums.ts
CHANGED
|
@@ -146,7 +146,7 @@ export enum APIMethod {
|
|
|
146
146
|
export enum DateFormatTypes {
|
|
147
147
|
TIME_ONLY = "HH:mm",
|
|
148
148
|
SHORT_FORMAT_DATE = 'dd/MM/yyyy',
|
|
149
|
-
LONG_FORMAT_DATETIME = 'dd/MM/yyyy HH:mm
|
|
149
|
+
LONG_FORMAT_DATETIME = 'dd/MM/yyyy HH:mm',
|
|
150
150
|
LONG_FORMAT_DATETIME_LITERAL = "EEEE dd MMMM yyyy 'à' HH:mm"
|
|
151
151
|
}
|
|
152
152
|
|
package/src/models/Event.ts
CHANGED
|
@@ -50,6 +50,7 @@ export default class Event {
|
|
|
50
50
|
vehicleAvailableNotified?: boolean;
|
|
51
51
|
editable?: boolean;
|
|
52
52
|
vehicleDepositDate?: Date;
|
|
53
|
+
vehicleDepositDateRequest?: Date;
|
|
53
54
|
|
|
54
55
|
constructor(id: string, ownerId: number, type : EventType, title: string, garageName: string, garageId: number,
|
|
55
56
|
state: EventState, garageAddress?: Address, start?: Date, end?: Date, prestations?: Prestation[], operations?: Operation[], products?: Product[],
|