@managesome/eposmatic-toolkit 0.2.278 → 0.2.280

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.
@@ -8,12 +8,11 @@ export declare const OfferFingerprintSchema: Schema<any, import("mongoose").Mode
8
8
  updatedAt: NativeDate;
9
9
  } & {
10
10
  _id: import("mongoose").Types.ObjectId;
11
- tenants: string[];
11
+ tenant_id: string;
12
12
  order_id: import("mongoose").Types.ObjectId;
13
13
  createdAt_mins: number;
14
14
  createdAt: NativeDate;
15
15
  updatedAt: NativeDate;
16
- brand_id: string;
17
16
  customer_phone: string;
18
17
  customer_name: string;
19
18
  offer_id: import("mongoose").Types.ObjectId;
@@ -22,12 +21,11 @@ export declare const OfferFingerprintSchema: Schema<any, import("mongoose").Mode
22
21
  updatedAt: NativeDate;
23
22
  } & {
24
23
  _id: import("mongoose").Types.ObjectId;
25
- tenants: string[];
24
+ tenant_id: string;
26
25
  order_id: import("mongoose").Types.ObjectId;
27
26
  createdAt_mins: number;
28
27
  createdAt: NativeDate;
29
28
  updatedAt: NativeDate;
30
- brand_id: string;
31
29
  customer_phone: string;
32
30
  customer_name: string;
33
31
  offer_id: import("mongoose").Types.ObjectId;
@@ -36,12 +34,11 @@ export declare const OfferFingerprintSchema: Schema<any, import("mongoose").Mode
36
34
  updatedAt: NativeDate;
37
35
  } & {
38
36
  _id: import("mongoose").Types.ObjectId;
39
- tenants: string[];
37
+ tenant_id: string;
40
38
  order_id: import("mongoose").Types.ObjectId;
41
39
  createdAt_mins: number;
42
40
  createdAt: NativeDate;
43
41
  updatedAt: NativeDate;
44
- brand_id: string;
45
42
  customer_phone: string;
46
43
  customer_name: string;
47
44
  offer_id: import("mongoose").Types.ObjectId;
@@ -8,15 +8,11 @@ exports.OfferFingerprintSchema = new mongoose_1.Schema({
8
8
  required: true,
9
9
  immutable: true,
10
10
  },
11
- brand_id: {
11
+ tenant_id: {
12
12
  type: String,
13
13
  required: true,
14
14
  immutable: true,
15
- ref: 'brands',
16
- },
17
- tenants: {
18
- type: [String],
19
- default: [],
15
+ ref: 'tenants',
20
16
  },
21
17
  offer_id: {
22
18
  type: mongoose_1.Schema.Types.ObjectId,
@@ -1,7 +1,6 @@
1
1
  export interface IOfferFingerprint {
2
2
  _id: string;
3
- brand_id: string;
4
- tenants: string[];
3
+ tenant_id: string;
5
4
  offer_id: string;
6
5
  customer_phone: string;
7
6
  customer_name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.278",
3
+ "version": "0.2.280",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",