@managesome/eposmatic-toolkit 0.2.569 → 0.2.572

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.
@@ -17,10 +17,12 @@ export interface ITenantDaySessionClosing {
17
17
  difference: number;
18
18
  cash_in_out_id: string | null;
19
19
  }
20
- export interface ITenantDaySessionReopening {
20
+ export interface ITenantDaySessionReopeningIteration {
21
21
  staff_id: string;
22
22
  staff_name: string;
23
- reopened_at: Date;
23
+ opening: ITenantDaySession['opening'];
24
+ closing: ITenantDaySession['closing'];
25
+ updatedAt: ITenantDaySession['updatedAt'];
24
26
  }
25
27
  export interface ITenantDaySession extends ILocalTimeFields {
26
28
  _id: string;
@@ -29,7 +31,7 @@ export interface ITenantDaySession extends ILocalTimeFields {
29
31
  opening: ITenantDaySessionOpening | null;
30
32
  closing: ITenantDaySessionClosing | null;
31
33
  total_shifts: number;
32
- reopened_iterations: ITenantDaySessionReopening[];
34
+ reopened_iterations: ITenantDaySessionReopeningIteration[];
33
35
  reopened_times: number;
34
36
  createdAt: Date;
35
37
  updatedAt: Date;
@@ -14,10 +14,17 @@ export interface ITenantInstoreShiftClosing {
14
14
  closed_at: Date;
15
15
  cash_amount: number;
16
16
  }
17
- export interface ITenantInstoreShiftReopening {
17
+ export interface ITenantInstoreShiftReopeningIteration {
18
18
  staff_id: string;
19
19
  staff_name: string;
20
- reopened_at: Date;
20
+ opening: ITenantInstoreShiftSession['opening'];
21
+ closing: ITenantInstoreShiftSession['closing'];
22
+ cash_in_total: ITenantInstoreShiftSession['cash_in_total'];
23
+ cash_out_total: ITenantInstoreShiftSession['cash_out_total'];
24
+ expected_drawer_total: ITenantInstoreShiftSession['expected_drawer_total'];
25
+ actual_drawer_total: ITenantInstoreShiftSession['actual_drawer_total'];
26
+ difference: ITenantInstoreShiftSession['difference'];
27
+ updatedAt: ITenantInstoreShiftSession['updatedAt'];
21
28
  }
22
29
  export interface ITenantInstoreShiftSession extends ILocalTimeFields {
23
30
  _id: string;
@@ -33,7 +40,7 @@ export interface ITenantInstoreShiftSession extends ILocalTimeFields {
33
40
  expected_drawer_total: number;
34
41
  actual_drawer_total: number;
35
42
  difference: number;
36
- reopened_iterations: ITenantInstoreShiftReopening[];
43
+ reopened_iterations: ITenantInstoreShiftReopeningIteration[];
37
44
  reopened_times: number;
38
45
  createdAt: Date;
39
46
  updatedAt: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.569",
3
+ "version": "0.2.572",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",