@managesome/eposmatic-toolkit 0.2.608 → 0.2.610
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/schemas/models/tenant_day_sessions.d.ts +0 -12
- package/lib/schemas/models/tenant_day_sessions.js +0 -4
- package/lib/schemas/types/shift_day_drawer_requests.d.ts +2 -5
- package/lib/schemas/types/shift_day_drawer_requests.js +2 -3
- package/lib/schemas/types/tenant_day_sessions.d.ts +0 -1
- package/package.json +1 -1
|
@@ -41,7 +41,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
41
41
|
expected_cash_amount: number;
|
|
42
42
|
difference: number;
|
|
43
43
|
closed_at: NativeDate;
|
|
44
|
-
cash_in_out_id: string;
|
|
45
44
|
};
|
|
46
45
|
reopened_iterations: import("mongoose").Types.DocumentArray<{
|
|
47
46
|
staff_id: string;
|
|
@@ -62,7 +61,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
62
61
|
expected_cash_amount: number;
|
|
63
62
|
difference: number;
|
|
64
63
|
closed_at: NativeDate;
|
|
65
|
-
cash_in_out_id: string;
|
|
66
64
|
};
|
|
67
65
|
reopened_times: number;
|
|
68
66
|
total_shifts: number;
|
|
@@ -85,7 +83,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
85
83
|
expected_cash_amount: number;
|
|
86
84
|
difference: number;
|
|
87
85
|
closed_at: NativeDate;
|
|
88
|
-
cash_in_out_id: string;
|
|
89
86
|
};
|
|
90
87
|
reopened_times: number;
|
|
91
88
|
total_shifts: number;
|
|
@@ -108,7 +105,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
108
105
|
expected_cash_amount: number;
|
|
109
106
|
difference: number;
|
|
110
107
|
closed_at: NativeDate;
|
|
111
|
-
cash_in_out_id: string;
|
|
112
108
|
};
|
|
113
109
|
reopened_times: number;
|
|
114
110
|
total_shifts: number;
|
|
@@ -153,7 +149,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
153
149
|
expected_cash_amount: number;
|
|
154
150
|
difference: number;
|
|
155
151
|
closed_at: NativeDate;
|
|
156
|
-
cash_in_out_id: string;
|
|
157
152
|
};
|
|
158
153
|
reopened_iterations: import("mongoose").Types.DocumentArray<{
|
|
159
154
|
staff_id: string;
|
|
@@ -174,7 +169,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
174
169
|
expected_cash_amount: number;
|
|
175
170
|
difference: number;
|
|
176
171
|
closed_at: NativeDate;
|
|
177
|
-
cash_in_out_id: string;
|
|
178
172
|
};
|
|
179
173
|
reopened_times: number;
|
|
180
174
|
total_shifts: number;
|
|
@@ -197,7 +191,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
197
191
|
expected_cash_amount: number;
|
|
198
192
|
difference: number;
|
|
199
193
|
closed_at: NativeDate;
|
|
200
|
-
cash_in_out_id: string;
|
|
201
194
|
};
|
|
202
195
|
reopened_times: number;
|
|
203
196
|
total_shifts: number;
|
|
@@ -220,7 +213,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
220
213
|
expected_cash_amount: number;
|
|
221
214
|
difference: number;
|
|
222
215
|
closed_at: NativeDate;
|
|
223
|
-
cash_in_out_id: string;
|
|
224
216
|
};
|
|
225
217
|
reopened_times: number;
|
|
226
218
|
total_shifts: number;
|
|
@@ -265,7 +257,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
265
257
|
expected_cash_amount: number;
|
|
266
258
|
difference: number;
|
|
267
259
|
closed_at: NativeDate;
|
|
268
|
-
cash_in_out_id: string;
|
|
269
260
|
};
|
|
270
261
|
reopened_iterations: import("mongoose").Types.DocumentArray<{
|
|
271
262
|
staff_id: string;
|
|
@@ -286,7 +277,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
286
277
|
expected_cash_amount: number;
|
|
287
278
|
difference: number;
|
|
288
279
|
closed_at: NativeDate;
|
|
289
|
-
cash_in_out_id: string;
|
|
290
280
|
};
|
|
291
281
|
reopened_times: number;
|
|
292
282
|
total_shifts: number;
|
|
@@ -309,7 +299,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
309
299
|
expected_cash_amount: number;
|
|
310
300
|
difference: number;
|
|
311
301
|
closed_at: NativeDate;
|
|
312
|
-
cash_in_out_id: string;
|
|
313
302
|
};
|
|
314
303
|
reopened_times: number;
|
|
315
304
|
total_shifts: number;
|
|
@@ -332,7 +321,6 @@ export declare const TenantDaySessionSchema: Schema<any, import("mongoose").Mode
|
|
|
332
321
|
expected_cash_amount: number;
|
|
333
322
|
difference: number;
|
|
334
323
|
closed_at: NativeDate;
|
|
335
|
-
cash_in_out_id: string;
|
|
336
324
|
};
|
|
337
325
|
reopened_times: number;
|
|
338
326
|
total_shifts: number;
|
|
@@ -55,10 +55,6 @@ const TenantDaySessionClosingSchema = new mongoose_1.Schema({
|
|
|
55
55
|
type: Number,
|
|
56
56
|
required: true,
|
|
57
57
|
},
|
|
58
|
-
cash_in_out_id: {
|
|
59
|
-
type: String,
|
|
60
|
-
default: null,
|
|
61
|
-
},
|
|
62
58
|
}, { _id: false, minimize: false });
|
|
63
59
|
const TenantDaySessionReopeningIterationSchema = new mongoose_1.Schema({
|
|
64
60
|
staff_id: {
|
|
@@ -9,9 +9,8 @@
|
|
|
9
9
|
* `convertDecimalToInt`). It exists ONLY on the cash-drawer open (opening
|
|
10
10
|
* float) and close (counted cash) requests — every other lifecycle amount is
|
|
11
11
|
* backend-owned and derived server-side from the cash-drawer ledger.
|
|
12
|
-
* - `operational_time_zone_offset_gmt` is
|
|
13
|
-
*
|
|
14
|
-
* (shift open). Day open/reopen use the tenant's stored offset instead.
|
|
12
|
+
* - `operational_time_zone_offset_gmt` is NOT part of any request — local-time
|
|
13
|
+
* fields are always stamped server-side from the tenant's stored offset.
|
|
15
14
|
*/
|
|
16
15
|
export interface IOpenTenantDayRequestBody {
|
|
17
16
|
tenant_id: string;
|
|
@@ -31,7 +30,6 @@ export interface ICloseTenantDayRequestBody {
|
|
|
31
30
|
staff_id: string;
|
|
32
31
|
staff_name: string;
|
|
33
32
|
note?: string;
|
|
34
|
-
cash_in_out_id?: string | null;
|
|
35
33
|
}
|
|
36
34
|
export interface IOpenInstoreShiftRequestBody {
|
|
37
35
|
tenant_id: string;
|
|
@@ -40,7 +38,6 @@ export interface IOpenInstoreShiftRequestBody {
|
|
|
40
38
|
staff_id: string;
|
|
41
39
|
staff_name: string;
|
|
42
40
|
note?: string;
|
|
43
|
-
operational_time_zone_offset_gmt: number;
|
|
44
41
|
}
|
|
45
42
|
export interface ICloseInstoreShiftRequestBody {
|
|
46
43
|
tenant_id: string;
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
* `convertDecimalToInt`). It exists ONLY on the cash-drawer open (opening
|
|
11
11
|
* float) and close (counted cash) requests — every other lifecycle amount is
|
|
12
12
|
* backend-owned and derived server-side from the cash-drawer ledger.
|
|
13
|
-
* - `operational_time_zone_offset_gmt` is
|
|
14
|
-
*
|
|
15
|
-
* (shift open). Day open/reopen use the tenant's stored offset instead.
|
|
13
|
+
* - `operational_time_zone_offset_gmt` is NOT part of any request — local-time
|
|
14
|
+
* fields are always stamped server-side from the tenant's stored offset.
|
|
16
15
|
*/
|
|
17
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|