@managesome/eposmatic-toolkit 0.4.57 → 0.4.58

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.
@@ -402,7 +402,7 @@ export const TenantSchema = new Schema({
402
402
  order_number_grouping_type: {
403
403
  type: String,
404
404
  enum: ALL_ORDER_NUMBER_GROUPING_TYPES,
405
- default: ORDER_NUMBER_GROUPING_TYPE_ENUM.ORDER_TYPE,
405
+ default: ORDER_NUMBER_GROUPING_TYPE_ENUM.COMBINED,
406
406
  },
407
407
  public_phone_numbers: {
408
408
  type: [String],
@@ -529,7 +529,7 @@ export const TenantSchema = new Schema({
529
529
  // ====><====
530
530
  send_sms_on_order_status: {
531
531
  type: [OrderStatusSchema],
532
- default: [ORDER_STATUS_ENUM.CANCELLED],
532
+ default: [],
533
533
  },
534
534
  send_email_on_order_status: {
535
535
  type: [OrderStatusSchema],
@@ -542,12 +542,7 @@ export const TenantSchema = new Schema({
542
542
  },
543
543
  auto_sms_platforms: {
544
544
  type: [PlatformsSchema],
545
- default: [
546
- PLATFORMS_ENUM.WEB_DELIVERY,
547
- PLATFORMS_ENUM.WEB_TAKE_AWAY,
548
- PLATFORMS_ENUM.APP_DELIVERY,
549
- PLATFORMS_ENUM.APP_TAKE_AWAY,
550
- ],
545
+ default: [],
551
546
  },
552
547
  auto_email_platforms: {
553
548
  type: [PlatformsSchema],
@@ -405,7 +405,7 @@ exports.TenantSchema = new mongoose_1.Schema({
405
405
  order_number_grouping_type: {
406
406
  type: String,
407
407
  enum: constants_1.ALL_ORDER_NUMBER_GROUPING_TYPES,
408
- default: constants_1.ORDER_NUMBER_GROUPING_TYPE_ENUM.ORDER_TYPE,
408
+ default: constants_1.ORDER_NUMBER_GROUPING_TYPE_ENUM.COMBINED,
409
409
  },
410
410
  public_phone_numbers: {
411
411
  type: [String],
@@ -532,7 +532,7 @@ exports.TenantSchema = new mongoose_1.Schema({
532
532
  // ====><====
533
533
  send_sms_on_order_status: {
534
534
  type: [OrderStatusSchema],
535
- default: [constants_1.ORDER_STATUS_ENUM.CANCELLED],
535
+ default: [],
536
536
  },
537
537
  send_email_on_order_status: {
538
538
  type: [OrderStatusSchema],
@@ -545,12 +545,7 @@ exports.TenantSchema = new mongoose_1.Schema({
545
545
  },
546
546
  auto_sms_platforms: {
547
547
  type: [items_1.PlatformsSchema],
548
- default: [
549
- constants_1.PLATFORMS_ENUM.WEB_DELIVERY,
550
- constants_1.PLATFORMS_ENUM.WEB_TAKE_AWAY,
551
- constants_1.PLATFORMS_ENUM.APP_DELIVERY,
552
- constants_1.PLATFORMS_ENUM.APP_TAKE_AWAY,
553
- ],
548
+ default: [],
554
549
  },
555
550
  auto_email_platforms: {
556
551
  type: [items_1.PlatformsSchema],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.4.57",
3
+ "version": "0.4.58",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "module": "esm/index.js",