@managesome/eposmatic-toolkit 0.2.602 → 0.2.603
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.
|
@@ -64,6 +64,8 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
64
64
|
closed_at: NativeDate;
|
|
65
65
|
cash_in_out_id: string;
|
|
66
66
|
};
|
|
67
|
+
reopened_times: number;
|
|
68
|
+
total_shifts: number;
|
|
67
69
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
68
70
|
staff_id: string;
|
|
69
71
|
staff_name: string;
|
|
@@ -85,6 +87,8 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
85
87
|
closed_at: NativeDate;
|
|
86
88
|
cash_in_out_id: string;
|
|
87
89
|
};
|
|
90
|
+
reopened_times: number;
|
|
91
|
+
total_shifts: number;
|
|
88
92
|
}> & {
|
|
89
93
|
staff_id: string;
|
|
90
94
|
staff_name: string;
|
|
@@ -106,6 +110,8 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
106
110
|
closed_at: NativeDate;
|
|
107
111
|
cash_in_out_id: string;
|
|
108
112
|
};
|
|
113
|
+
reopened_times: number;
|
|
114
|
+
total_shifts: number;
|
|
109
115
|
}>;
|
|
110
116
|
reopened_times: number;
|
|
111
117
|
total_shifts: number;
|
|
@@ -170,6 +176,8 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
170
176
|
closed_at: NativeDate;
|
|
171
177
|
cash_in_out_id: string;
|
|
172
178
|
};
|
|
179
|
+
reopened_times: number;
|
|
180
|
+
total_shifts: number;
|
|
173
181
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
174
182
|
staff_id: string;
|
|
175
183
|
staff_name: string;
|
|
@@ -191,6 +199,8 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
191
199
|
closed_at: NativeDate;
|
|
192
200
|
cash_in_out_id: string;
|
|
193
201
|
};
|
|
202
|
+
reopened_times: number;
|
|
203
|
+
total_shifts: number;
|
|
194
204
|
}> & {
|
|
195
205
|
staff_id: string;
|
|
196
206
|
staff_name: string;
|
|
@@ -212,6 +222,8 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
212
222
|
closed_at: NativeDate;
|
|
213
223
|
cash_in_out_id: string;
|
|
214
224
|
};
|
|
225
|
+
reopened_times: number;
|
|
226
|
+
total_shifts: number;
|
|
215
227
|
}>;
|
|
216
228
|
reopened_times: number;
|
|
217
229
|
total_shifts: number;
|
|
@@ -276,6 +288,8 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
276
288
|
closed_at: NativeDate;
|
|
277
289
|
cash_in_out_id: string;
|
|
278
290
|
};
|
|
291
|
+
reopened_times: number;
|
|
292
|
+
total_shifts: number;
|
|
279
293
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
280
294
|
staff_id: string;
|
|
281
295
|
staff_name: string;
|
|
@@ -297,6 +311,8 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
297
311
|
closed_at: NativeDate;
|
|
298
312
|
cash_in_out_id: string;
|
|
299
313
|
};
|
|
314
|
+
reopened_times: number;
|
|
315
|
+
total_shifts: number;
|
|
300
316
|
}> & {
|
|
301
317
|
staff_id: string;
|
|
302
318
|
staff_name: string;
|
|
@@ -318,6 +334,8 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
318
334
|
closed_at: NativeDate;
|
|
319
335
|
cash_in_out_id: string;
|
|
320
336
|
};
|
|
337
|
+
reopened_times: number;
|
|
338
|
+
total_shifts: number;
|
|
321
339
|
}>;
|
|
322
340
|
reopened_times: number;
|
|
323
341
|
total_shifts: number;
|
|
@@ -77,6 +77,14 @@ const TenantDaySessionReopeningIterationSchema = new mongoose_1.Schema({
|
|
|
77
77
|
type: TenantDaySessionClosingSchema,
|
|
78
78
|
default: null,
|
|
79
79
|
},
|
|
80
|
+
total_shifts: {
|
|
81
|
+
type: Number,
|
|
82
|
+
required: true,
|
|
83
|
+
},
|
|
84
|
+
reopened_times: {
|
|
85
|
+
type: Number,
|
|
86
|
+
required: true,
|
|
87
|
+
},
|
|
80
88
|
updatedAt: {
|
|
81
89
|
type: mongoose_1.Schema.Types.Date,
|
|
82
90
|
required: true,
|
|
@@ -22,6 +22,8 @@ export interface ITenantDaySessionReopeningIteration {
|
|
|
22
22
|
staff_name: string;
|
|
23
23
|
opening: ITenantDaySession['opening'];
|
|
24
24
|
closing: ITenantDaySession['closing'];
|
|
25
|
+
total_shifts: number;
|
|
26
|
+
reopened_times: number;
|
|
25
27
|
updatedAt: ITenantDaySession['updatedAt'];
|
|
26
28
|
}
|
|
27
29
|
export interface ITenantDaySession extends ILocalTimeFields {
|