@managesome/eposmatic-toolkit 0.2.274 → 0.2.276
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/constants/ENUMS.d.ts +2 -2
- package/lib/constants/ENUMS.js +8 -8
- package/lib/schemas/models/customer_redemptions.d.ts +53 -0
- package/lib/schemas/models/customer_redemptions.js +62 -0
- package/lib/schemas/models/gift_cards.d.ts +108 -108
- package/lib/schemas/models/halfhalf_setup.d.ts +6 -6
- package/lib/schemas/models/index.d.ts +4 -3
- package/lib/schemas/models/index.js +4 -3
- package/lib/schemas/models/item_transactions.d.ts +3 -3
- package/lib/schemas/models/offers.d.ts +136 -136
- package/lib/schemas/models/offers_fingerprints.d.ts +6 -13
- package/lib/schemas/models/offers_fingerprints.js +4 -14
- package/lib/schemas/models/order.d.ts +216 -216
- package/lib/schemas/models/purchase_orders.d.ts +216 -216
- package/lib/schemas/models/reservations.d.ts +6 -6
- package/lib/schemas/models/reviews.d.ts +6 -6
- package/lib/schemas/models/rewards_usage.d.ts +3 -3
- package/lib/schemas/models/specials.d.ts +18 -18
- package/lib/schemas/models/tenant.d.ts +3 -3
- package/lib/schemas/models/void_order_items.d.ts +3 -3
- package/lib/schemas/models/void_purchase_order_items.d.ts +3 -3
- package/lib/schemas/models/void_warehouse_invoice_items.d.ts +3 -3
- package/lib/schemas/models/vouchers.d.ts +3 -3
- package/lib/schemas/models/warehouse_invoices.d.ts +216 -216
- package/lib/schemas/models/warehouse_item_transactions.d.ts +3 -3
- package/lib/schemas/types/customer_redemptions.d.ts +13 -0
- package/lib/schemas/types/customer_redemptions.js +2 -0
- package/lib/schemas/types/index.d.ts +4 -3
- package/lib/schemas/types/index.js +4 -3
- package/lib/schemas/types/offers_fingerprints.d.ts +1 -4
- package/package.json +1 -1
|
@@ -13,10 +13,10 @@ export declare const ReservationsSchema: Schema<any, import("mongoose").Model<an
|
|
|
13
13
|
createdAt_mins: number;
|
|
14
14
|
createdAt: NativeDate;
|
|
15
15
|
updatedAt: NativeDate;
|
|
16
|
-
num_of_guests: number;
|
|
17
16
|
customer_phone: string;
|
|
18
|
-
special_instructions: string;
|
|
19
17
|
customer_name: string;
|
|
18
|
+
num_of_guests: number;
|
|
19
|
+
special_instructions: string;
|
|
20
20
|
tables: import("mongoose").Types.ObjectId[];
|
|
21
21
|
reservation_time: NativeDate;
|
|
22
22
|
customer_email: string;
|
|
@@ -31,10 +31,10 @@ export declare const ReservationsSchema: Schema<any, import("mongoose").Model<an
|
|
|
31
31
|
createdAt_mins: number;
|
|
32
32
|
createdAt: NativeDate;
|
|
33
33
|
updatedAt: NativeDate;
|
|
34
|
-
num_of_guests: number;
|
|
35
34
|
customer_phone: string;
|
|
36
|
-
special_instructions: string;
|
|
37
35
|
customer_name: string;
|
|
36
|
+
num_of_guests: number;
|
|
37
|
+
special_instructions: string;
|
|
38
38
|
tables: import("mongoose").Types.ObjectId[];
|
|
39
39
|
reservation_time: NativeDate;
|
|
40
40
|
customer_email: string;
|
|
@@ -49,10 +49,10 @@ export declare const ReservationsSchema: Schema<any, import("mongoose").Model<an
|
|
|
49
49
|
createdAt_mins: number;
|
|
50
50
|
createdAt: NativeDate;
|
|
51
51
|
updatedAt: NativeDate;
|
|
52
|
-
num_of_guests: number;
|
|
53
52
|
customer_phone: string;
|
|
54
|
-
special_instructions: string;
|
|
55
53
|
customer_name: string;
|
|
54
|
+
num_of_guests: number;
|
|
55
|
+
special_instructions: string;
|
|
56
56
|
tables: import("mongoose").Types.ObjectId[];
|
|
57
57
|
reservation_time: NativeDate;
|
|
58
58
|
customer_email: string;
|
|
@@ -14,11 +14,11 @@ export declare const ReviewSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
14
14
|
createdAt_mins: number;
|
|
15
15
|
createdAt: NativeDate;
|
|
16
16
|
updatedAt: NativeDate;
|
|
17
|
-
order_number: number;
|
|
18
17
|
customer_phone: string;
|
|
18
|
+
customer_name: string;
|
|
19
|
+
order_number: number;
|
|
19
20
|
rating: number;
|
|
20
21
|
review: string;
|
|
21
|
-
customer_name: string;
|
|
22
22
|
average_rating: number;
|
|
23
23
|
should_publish_on_web: boolean;
|
|
24
24
|
is_published_on_google: boolean;
|
|
@@ -43,11 +43,11 @@ export declare const ReviewSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
43
43
|
createdAt_mins: number;
|
|
44
44
|
createdAt: NativeDate;
|
|
45
45
|
updatedAt: NativeDate;
|
|
46
|
-
order_number: number;
|
|
47
46
|
customer_phone: string;
|
|
47
|
+
customer_name: string;
|
|
48
|
+
order_number: number;
|
|
48
49
|
rating: number;
|
|
49
50
|
review: string;
|
|
50
|
-
customer_name: string;
|
|
51
51
|
average_rating: number;
|
|
52
52
|
should_publish_on_web: boolean;
|
|
53
53
|
is_published_on_google: boolean;
|
|
@@ -72,11 +72,11 @@ export declare const ReviewSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
72
72
|
createdAt_mins: number;
|
|
73
73
|
createdAt: NativeDate;
|
|
74
74
|
updatedAt: NativeDate;
|
|
75
|
-
order_number: number;
|
|
76
75
|
customer_phone: string;
|
|
76
|
+
customer_name: string;
|
|
77
|
+
order_number: number;
|
|
77
78
|
rating: number;
|
|
78
79
|
review: string;
|
|
79
|
-
customer_name: string;
|
|
80
80
|
average_rating: number;
|
|
81
81
|
should_publish_on_web: boolean;
|
|
82
82
|
is_published_on_google: boolean;
|
|
@@ -12,9 +12,9 @@ export declare const RewardsUsageSchema: Schema<any, import("mongoose").Model<an
|
|
|
12
12
|
updatedAt: NativeDate;
|
|
13
13
|
ref_id: import("mongoose").Types.ObjectId;
|
|
14
14
|
customer_phone: string;
|
|
15
|
-
ref_type: import("../../constants").REWARDS_USAGE_REF_TYPE_ENUM;
|
|
16
15
|
used_count: number;
|
|
17
16
|
last_used_at: NativeDate;
|
|
17
|
+
ref_type: import("../../constants").REWARDS_USAGE_REF_TYPE_ENUM;
|
|
18
18
|
assigned_count: number;
|
|
19
19
|
last_assigned_at: NativeDate;
|
|
20
20
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
@@ -26,9 +26,9 @@ export declare const RewardsUsageSchema: Schema<any, import("mongoose").Model<an
|
|
|
26
26
|
updatedAt: NativeDate;
|
|
27
27
|
ref_id: import("mongoose").Types.ObjectId;
|
|
28
28
|
customer_phone: string;
|
|
29
|
-
ref_type: import("../../constants").REWARDS_USAGE_REF_TYPE_ENUM;
|
|
30
29
|
used_count: number;
|
|
31
30
|
last_used_at: NativeDate;
|
|
31
|
+
ref_type: import("../../constants").REWARDS_USAGE_REF_TYPE_ENUM;
|
|
32
32
|
assigned_count: number;
|
|
33
33
|
last_assigned_at: NativeDate;
|
|
34
34
|
}>> & import("mongoose").FlatRecord<{
|
|
@@ -40,9 +40,9 @@ export declare const RewardsUsageSchema: Schema<any, import("mongoose").Model<an
|
|
|
40
40
|
updatedAt: NativeDate;
|
|
41
41
|
ref_id: import("mongoose").Types.ObjectId;
|
|
42
42
|
customer_phone: string;
|
|
43
|
-
ref_type: import("../../constants").REWARDS_USAGE_REF_TYPE_ENUM;
|
|
44
43
|
used_count: number;
|
|
45
44
|
last_used_at: NativeDate;
|
|
45
|
+
ref_type: import("../../constants").REWARDS_USAGE_REF_TYPE_ENUM;
|
|
46
46
|
assigned_count: number;
|
|
47
47
|
last_assigned_at: NativeDate;
|
|
48
48
|
}> & Required<{
|
|
@@ -681,10 +681,10 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
681
681
|
};
|
|
682
682
|
}>;
|
|
683
683
|
sort_id: number;
|
|
684
|
-
quantity: number;
|
|
685
|
-
num_free_items: number;
|
|
686
684
|
excluded_refs: string[];
|
|
687
685
|
exclusive_refs: string[];
|
|
686
|
+
quantity: number;
|
|
687
|
+
num_free_items: number;
|
|
688
688
|
omit_items_schedule: boolean;
|
|
689
689
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
690
690
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -829,10 +829,10 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
829
829
|
};
|
|
830
830
|
}>;
|
|
831
831
|
sort_id: number;
|
|
832
|
-
quantity: number;
|
|
833
|
-
num_free_items: number;
|
|
834
832
|
excluded_refs: string[];
|
|
835
833
|
exclusive_refs: string[];
|
|
834
|
+
quantity: number;
|
|
835
|
+
num_free_items: number;
|
|
836
836
|
omit_items_schedule: boolean;
|
|
837
837
|
}> & {
|
|
838
838
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -977,10 +977,10 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
977
977
|
};
|
|
978
978
|
}>;
|
|
979
979
|
sort_id: number;
|
|
980
|
-
quantity: number;
|
|
981
|
-
num_free_items: number;
|
|
982
980
|
excluded_refs: string[];
|
|
983
981
|
exclusive_refs: string[];
|
|
982
|
+
quantity: number;
|
|
983
|
+
num_free_items: number;
|
|
984
984
|
omit_items_schedule: boolean;
|
|
985
985
|
}>;
|
|
986
986
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
@@ -1515,10 +1515,10 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1515
1515
|
};
|
|
1516
1516
|
}>;
|
|
1517
1517
|
sort_id: number;
|
|
1518
|
-
quantity: number;
|
|
1519
|
-
num_free_items: number;
|
|
1520
1518
|
excluded_refs: string[];
|
|
1521
1519
|
exclusive_refs: string[];
|
|
1520
|
+
quantity: number;
|
|
1521
|
+
num_free_items: number;
|
|
1522
1522
|
omit_items_schedule: boolean;
|
|
1523
1523
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
1524
1524
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -1663,10 +1663,10 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1663
1663
|
};
|
|
1664
1664
|
}>;
|
|
1665
1665
|
sort_id: number;
|
|
1666
|
-
quantity: number;
|
|
1667
|
-
num_free_items: number;
|
|
1668
1666
|
excluded_refs: string[];
|
|
1669
1667
|
exclusive_refs: string[];
|
|
1668
|
+
quantity: number;
|
|
1669
|
+
num_free_items: number;
|
|
1670
1670
|
omit_items_schedule: boolean;
|
|
1671
1671
|
}> & {
|
|
1672
1672
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -1811,10 +1811,10 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
1811
1811
|
};
|
|
1812
1812
|
}>;
|
|
1813
1813
|
sort_id: number;
|
|
1814
|
-
quantity: number;
|
|
1815
|
-
num_free_items: number;
|
|
1816
1814
|
excluded_refs: string[];
|
|
1817
1815
|
exclusive_refs: string[];
|
|
1816
|
+
quantity: number;
|
|
1817
|
+
num_free_items: number;
|
|
1818
1818
|
omit_items_schedule: boolean;
|
|
1819
1819
|
}>;
|
|
1820
1820
|
}>> & import("mongoose").FlatRecord<{
|
|
@@ -2349,10 +2349,10 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
2349
2349
|
};
|
|
2350
2350
|
}>;
|
|
2351
2351
|
sort_id: number;
|
|
2352
|
-
quantity: number;
|
|
2353
|
-
num_free_items: number;
|
|
2354
2352
|
excluded_refs: string[];
|
|
2355
2353
|
exclusive_refs: string[];
|
|
2354
|
+
quantity: number;
|
|
2355
|
+
num_free_items: number;
|
|
2356
2356
|
omit_items_schedule: boolean;
|
|
2357
2357
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
2358
2358
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -2497,10 +2497,10 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
2497
2497
|
};
|
|
2498
2498
|
}>;
|
|
2499
2499
|
sort_id: number;
|
|
2500
|
-
quantity: number;
|
|
2501
|
-
num_free_items: number;
|
|
2502
2500
|
excluded_refs: string[];
|
|
2503
2501
|
exclusive_refs: string[];
|
|
2502
|
+
quantity: number;
|
|
2503
|
+
num_free_items: number;
|
|
2504
2504
|
omit_items_schedule: boolean;
|
|
2505
2505
|
}> & {
|
|
2506
2506
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -2645,10 +2645,10 @@ export declare const SpecialsSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
2645
2645
|
};
|
|
2646
2646
|
}>;
|
|
2647
2647
|
sort_id: number;
|
|
2648
|
-
quantity: number;
|
|
2649
|
-
num_free_items: number;
|
|
2650
2648
|
excluded_refs: string[];
|
|
2651
2649
|
exclusive_refs: string[];
|
|
2650
|
+
quantity: number;
|
|
2651
|
+
num_free_items: number;
|
|
2652
2652
|
omit_items_schedule: boolean;
|
|
2653
2653
|
}>;
|
|
2654
2654
|
}> & Required<{
|
|
@@ -18,7 +18,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
18
18
|
city: string;
|
|
19
19
|
country_code: COUNTRY_CODE_ENUM;
|
|
20
20
|
delivery_free_over: number;
|
|
21
|
-
provider_id: string;
|
|
22
21
|
business_website: string;
|
|
23
22
|
staff_ordering_domain: string;
|
|
24
23
|
public_business_name: string;
|
|
@@ -33,6 +32,7 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
33
32
|
country_name: COUNTRY_NAME_ENUM;
|
|
34
33
|
coordinates: number[];
|
|
35
34
|
web_cover_image: string;
|
|
35
|
+
provider_id: string;
|
|
36
36
|
packaging_charges: number;
|
|
37
37
|
support_email: string;
|
|
38
38
|
public_phone_numbers: string[];
|
|
@@ -187,7 +187,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
187
187
|
city: string;
|
|
188
188
|
country_code: COUNTRY_CODE_ENUM;
|
|
189
189
|
delivery_free_over: number;
|
|
190
|
-
provider_id: string;
|
|
191
190
|
business_website: string;
|
|
192
191
|
staff_ordering_domain: string;
|
|
193
192
|
public_business_name: string;
|
|
@@ -202,6 +201,7 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
202
201
|
country_name: COUNTRY_NAME_ENUM;
|
|
203
202
|
coordinates: number[];
|
|
204
203
|
web_cover_image: string;
|
|
204
|
+
provider_id: string;
|
|
205
205
|
packaging_charges: number;
|
|
206
206
|
support_email: string;
|
|
207
207
|
public_phone_numbers: string[];
|
|
@@ -356,7 +356,6 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
356
356
|
city: string;
|
|
357
357
|
country_code: COUNTRY_CODE_ENUM;
|
|
358
358
|
delivery_free_over: number;
|
|
359
|
-
provider_id: string;
|
|
360
359
|
business_website: string;
|
|
361
360
|
staff_ordering_domain: string;
|
|
362
361
|
public_business_name: string;
|
|
@@ -371,6 +370,7 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
371
370
|
country_name: COUNTRY_NAME_ENUM;
|
|
372
371
|
coordinates: number[];
|
|
373
372
|
web_cover_image: string;
|
|
373
|
+
provider_id: string;
|
|
374
374
|
packaging_charges: number;
|
|
375
375
|
support_email: string;
|
|
376
376
|
public_phone_numbers: string[];
|
|
@@ -19,8 +19,8 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
19
19
|
updatedAt: NativeDate;
|
|
20
20
|
description: string;
|
|
21
21
|
order_number: number;
|
|
22
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
23
22
|
quantity: number;
|
|
23
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
24
24
|
void_reason: string;
|
|
25
25
|
subtotal: number;
|
|
26
26
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
@@ -73,8 +73,8 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
73
73
|
updatedAt: NativeDate;
|
|
74
74
|
description: string;
|
|
75
75
|
order_number: number;
|
|
76
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
77
76
|
quantity: number;
|
|
77
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
78
78
|
void_reason: string;
|
|
79
79
|
subtotal: number;
|
|
80
80
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
@@ -127,8 +127,8 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
127
127
|
updatedAt: NativeDate;
|
|
128
128
|
description: string;
|
|
129
129
|
order_number: number;
|
|
130
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
131
130
|
quantity: number;
|
|
131
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
132
132
|
void_reason: string;
|
|
133
133
|
subtotal: number;
|
|
134
134
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
@@ -17,8 +17,8 @@ export declare const VoidPurchaseOrderItemSchema: Schema<any, import("mongoose")
|
|
|
17
17
|
updatedAt: NativeDate;
|
|
18
18
|
description: string;
|
|
19
19
|
order_number: number;
|
|
20
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
21
20
|
quantity: number;
|
|
21
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
22
22
|
void_reason: string;
|
|
23
23
|
subtotal: number;
|
|
24
24
|
warehouse_id: string;
|
|
@@ -72,8 +72,8 @@ export declare const VoidPurchaseOrderItemSchema: Schema<any, import("mongoose")
|
|
|
72
72
|
updatedAt: NativeDate;
|
|
73
73
|
description: string;
|
|
74
74
|
order_number: number;
|
|
75
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
76
75
|
quantity: number;
|
|
76
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
77
77
|
void_reason: string;
|
|
78
78
|
subtotal: number;
|
|
79
79
|
warehouse_id: string;
|
|
@@ -127,8 +127,8 @@ export declare const VoidPurchaseOrderItemSchema: Schema<any, import("mongoose")
|
|
|
127
127
|
updatedAt: NativeDate;
|
|
128
128
|
description: string;
|
|
129
129
|
order_number: number;
|
|
130
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
131
130
|
quantity: number;
|
|
131
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
132
132
|
void_reason: string;
|
|
133
133
|
subtotal: number;
|
|
134
134
|
warehouse_id: string;
|
|
@@ -17,8 +17,8 @@ export declare const VoidWarehouseInvoiceItemSchema: Schema<any, import("mongoos
|
|
|
17
17
|
updatedAt: NativeDate;
|
|
18
18
|
description: string;
|
|
19
19
|
order_number: number;
|
|
20
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
21
20
|
quantity: number;
|
|
21
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
22
22
|
void_reason: string;
|
|
23
23
|
subtotal: number;
|
|
24
24
|
warehouse_id: string;
|
|
@@ -72,8 +72,8 @@ export declare const VoidWarehouseInvoiceItemSchema: Schema<any, import("mongoos
|
|
|
72
72
|
updatedAt: NativeDate;
|
|
73
73
|
description: string;
|
|
74
74
|
order_number: number;
|
|
75
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
76
75
|
quantity: number;
|
|
76
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
77
77
|
void_reason: string;
|
|
78
78
|
subtotal: number;
|
|
79
79
|
warehouse_id: string;
|
|
@@ -127,8 +127,8 @@ export declare const VoidWarehouseInvoiceItemSchema: Schema<any, import("mongoos
|
|
|
127
127
|
updatedAt: NativeDate;
|
|
128
128
|
description: string;
|
|
129
129
|
order_number: number;
|
|
130
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
131
130
|
quantity: number;
|
|
131
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
132
132
|
void_reason: string;
|
|
133
133
|
subtotal: number;
|
|
134
134
|
warehouse_id: string;
|
|
@@ -16,8 +16,8 @@ export declare const VouchersSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
16
16
|
brand_id: string;
|
|
17
17
|
active: boolean;
|
|
18
18
|
code: string;
|
|
19
|
-
is_public: boolean;
|
|
20
19
|
used_count: number;
|
|
20
|
+
is_public: boolean;
|
|
21
21
|
max_uses?: number | null | undefined;
|
|
22
22
|
max_uses_per_customer?: number | null | undefined;
|
|
23
23
|
last_used_at?: NativeDate | null | undefined;
|
|
@@ -35,8 +35,8 @@ export declare const VouchersSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
35
35
|
brand_id: string;
|
|
36
36
|
active: boolean;
|
|
37
37
|
code: string;
|
|
38
|
-
is_public: boolean;
|
|
39
38
|
used_count: number;
|
|
39
|
+
is_public: boolean;
|
|
40
40
|
max_uses?: number | null | undefined;
|
|
41
41
|
max_uses_per_customer?: number | null | undefined;
|
|
42
42
|
last_used_at?: NativeDate | null | undefined;
|
|
@@ -54,8 +54,8 @@ export declare const VouchersSchema: Schema<any, import("mongoose").Model<any, a
|
|
|
54
54
|
brand_id: string;
|
|
55
55
|
active: boolean;
|
|
56
56
|
code: string;
|
|
57
|
-
is_public: boolean;
|
|
58
57
|
used_count: number;
|
|
58
|
+
is_public: boolean;
|
|
59
59
|
max_uses?: number | null | undefined;
|
|
60
60
|
max_uses_per_customer?: number | null | undefined;
|
|
61
61
|
last_used_at?: NativeDate | null | undefined;
|