@pintahub/database-schemas 2.7.5 → 2.7.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schemas/Order.js +15 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/database-schemas",
3
- "version": "2.7.5",
3
+ "version": "2.7.7",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schemas/Order.js CHANGED
@@ -68,6 +68,10 @@ const Order = new Schema({
68
68
  type: MoneyObject,
69
69
  },
70
70
 
71
+ transaction_fee: {
72
+ type: MoneyObject,
73
+ },
74
+
71
75
  email: {
72
76
  type: String,
73
77
  trim: true,
@@ -110,6 +114,17 @@ const Order = new Schema({
110
114
  index: true
111
115
  },
112
116
 
117
+ gateway: {
118
+ type: String,
119
+ trim: true,
120
+ index: true,
121
+ },
122
+
123
+ payment_method: {
124
+ type: String,
125
+ trim: true,
126
+ },
127
+
113
128
  updated_at: {
114
129
  type: Date,
115
130
  default: Date.now