@managesome/eposmatic-toolkit 0.2.564 → 0.2.566

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.
@@ -33,7 +33,6 @@ export declare const TenantCashInOutSchema: Schema<any, import("mongoose").Model
33
33
  day_id: import("mongoose").Types.ObjectId;
34
34
  drawer_id: import("mongoose").Types.ObjectId;
35
35
  shift_id: import("mongoose").Types.ObjectId;
36
- expense_id: import("mongoose").Types.ObjectId;
37
36
  shift_number: number;
38
37
  drawer_balance_before: number;
39
38
  drawer_balance_after: number;
@@ -67,7 +66,6 @@ export declare const TenantCashInOutSchema: Schema<any, import("mongoose").Model
67
66
  day_id: import("mongoose").Types.ObjectId;
68
67
  drawer_id: import("mongoose").Types.ObjectId;
69
68
  shift_id: import("mongoose").Types.ObjectId;
70
- expense_id: import("mongoose").Types.ObjectId;
71
69
  shift_number: number;
72
70
  drawer_balance_before: number;
73
71
  drawer_balance_after: number;
@@ -101,7 +99,6 @@ export declare const TenantCashInOutSchema: Schema<any, import("mongoose").Model
101
99
  day_id: import("mongoose").Types.ObjectId;
102
100
  drawer_id: import("mongoose").Types.ObjectId;
103
101
  shift_id: import("mongoose").Types.ObjectId;
104
- expense_id: import("mongoose").Types.ObjectId;
105
102
  shift_number: number;
106
103
  drawer_balance_before: number;
107
104
  drawer_balance_after: number;
@@ -24,10 +24,6 @@ exports.TenantCashInOutSchema = new mongoose_1.Schema({
24
24
  type: mongoose_1.Schema.Types.ObjectId,
25
25
  required: true,
26
26
  },
27
- expense_id: {
28
- type: mongoose_1.Schema.Types.ObjectId,
29
- required: true,
30
- },
31
27
  drawer_id: {
32
28
  type: mongoose_1.Schema.Types.ObjectId,
33
29
  required: true,
@@ -23,7 +23,6 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
23
23
  notes: string;
24
24
  address: string;
25
25
  staff_auth_code: string;
26
- role: import("../../constants").USER_ROLES_ENUM;
27
26
  emergency_contact: {
28
27
  name: string;
29
28
  phone: string;
@@ -344,7 +343,6 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
344
343
  notes: string;
345
344
  address: string;
346
345
  staff_auth_code: string;
347
- role: import("../../constants").USER_ROLES_ENUM;
348
346
  emergency_contact: {
349
347
  name: string;
350
348
  phone: string;
@@ -665,7 +663,6 @@ export declare const TenantHrEmployeeSchema: Schema<any, import("mongoose").Mode
665
663
  notes: string;
666
664
  address: string;
667
665
  staff_auth_code: string;
668
- role: import("../../constants").USER_ROLES_ENUM;
669
666
  emergency_contact: {
670
667
  name: string;
671
668
  phone: string;
@@ -81,11 +81,6 @@ exports.TenantHrEmployeeSchema = new mongoose_1.Schema({
81
81
  type: Boolean,
82
82
  default: false,
83
83
  },
84
- role: {
85
- type: String,
86
- required: true,
87
- enum: constants_1.ALL_USER_ROLES,
88
- },
89
84
  operational_hours: {
90
85
  type: [items_1.SpecialHoursSchema],
91
86
  required: false,
@@ -5,7 +5,6 @@ export interface ITenantCashInOut extends ILocalTimeFields {
5
5
  tenant_id: string;
6
6
  day_id: string;
7
7
  shift_id: string;
8
- expense_id: string;
9
8
  drawer_id: string;
10
9
  shift_number: number;
11
10
  type: CASH_IN_OUT_TYPE_ENUM;
@@ -1,4 +1,4 @@
1
- import { HR_EMPLOYEE_DOCUMENT_TYPE_ENUM, HR_EMPLOYMENT_STATUS_ENUM, USER_ROLES_ENUM } from '../../constants';
1
+ import { HR_EMPLOYEE_DOCUMENT_TYPE_ENUM, HR_EMPLOYMENT_STATUS_ENUM } from '../../constants';
2
2
  import { IItemSpecialHour } from './common';
3
3
  export interface ITenantHrEmergencyContact {
4
4
  name: string;
@@ -14,15 +14,14 @@ export interface ITenantHrEmployee {
14
14
  _id: string;
15
15
  uid: string;
16
16
  tenant_id: string;
17
- staff_auth_code: string | null;
18
- email: string | null;
17
+ staff_auth_code?: string | null;
18
+ email?: string | null;
19
19
  email_verified: boolean;
20
- display_name: string | null;
21
- image_url: string | null;
20
+ display_name?: string | null;
21
+ image_url?: string | null;
22
22
  is_disabled: boolean;
23
23
  phone_number: string;
24
24
  phone_number_verified: boolean;
25
- role: USER_ROLES_ENUM;
26
25
  operational_hours?: IItemSpecialHour[] | null;
27
26
  address?: string | null;
28
27
  emergency_contact: ITenantHrEmergencyContact | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.564",
3
+ "version": "0.2.566",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",