@managesome/eposmatic-toolkit 0.2.247 → 0.2.248

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.
@@ -151,6 +151,7 @@ export declare const CustomersSchema: Schema<any, import("mongoose").Model<any,
151
151
  card_id: string;
152
152
  }>;
153
153
  order_ids: import("mongoose").Types.ObjectId[];
154
+ is_disabled?: boolean | null | undefined;
154
155
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
155
156
  createdAt: NativeDate;
156
157
  updatedAt: NativeDate;
@@ -299,6 +300,7 @@ export declare const CustomersSchema: Schema<any, import("mongoose").Model<any,
299
300
  card_id: string;
300
301
  }>;
301
302
  order_ids: import("mongoose").Types.ObjectId[];
303
+ is_disabled?: boolean | null | undefined;
302
304
  }>> & import("mongoose").FlatRecord<{
303
305
  createdAt: NativeDate;
304
306
  updatedAt: NativeDate;
@@ -447,6 +449,7 @@ export declare const CustomersSchema: Schema<any, import("mongoose").Model<any,
447
449
  card_id: string;
448
450
  }>;
449
451
  order_ids: import("mongoose").Types.ObjectId[];
452
+ is_disabled?: boolean | null | undefined;
450
453
  }> & Required<{
451
454
  _id: import("mongoose").Types.ObjectId;
452
455
  }> & {
@@ -134,6 +134,10 @@ exports.CustomersSchema = new mongoose_1.Schema({
134
134
  type: Boolean,
135
135
  default: true,
136
136
  },
137
+ is_disabled: {
138
+ type: Boolean,
139
+ required: false,
140
+ },
137
141
  gender: {
138
142
  type: String,
139
143
  default: null,
@@ -17,8 +17,8 @@ export declare const WarehouseStaffSchema: Schema<any, import("mongoose").Model<
17
17
  email: string;
18
18
  email_verified: boolean;
19
19
  phone_number_verified: boolean;
20
- warehouse_id: string;
21
20
  is_disabled: boolean;
21
+ warehouse_id: string;
22
22
  staff_auth_code: string;
23
23
  role: import("../../constants").USER_ROLES_ENUM;
24
24
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
@@ -35,8 +35,8 @@ export declare const WarehouseStaffSchema: Schema<any, import("mongoose").Model<
35
35
  email: string;
36
36
  email_verified: boolean;
37
37
  phone_number_verified: boolean;
38
- warehouse_id: string;
39
38
  is_disabled: boolean;
39
+ warehouse_id: string;
40
40
  staff_auth_code: string;
41
41
  role: import("../../constants").USER_ROLES_ENUM;
42
42
  }>> & import("mongoose").FlatRecord<{
@@ -53,8 +53,8 @@ export declare const WarehouseStaffSchema: Schema<any, import("mongoose").Model<
53
53
  email: string;
54
54
  email_verified: boolean;
55
55
  phone_number_verified: boolean;
56
- warehouse_id: string;
57
56
  is_disabled: boolean;
57
+ warehouse_id: string;
58
58
  staff_auth_code: string;
59
59
  role: import("../../constants").USER_ROLES_ENUM;
60
60
  }> & Required<{
@@ -34,6 +34,7 @@ export interface ICustomer {
34
34
  phone_number_verified: boolean;
35
35
  image_url: string | null;
36
36
  active: boolean;
37
+ is_disabled?: boolean;
37
38
  gender: string | null;
38
39
  total_orders_per_platform_type: Partial<IPlatformNumber>;
39
40
  total_spent_per_platform_type: Partial<IPlatformNumber>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.247",
3
+ "version": "0.2.248",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",