@pintahub/database-schemas 3.9.1 → 3.9.3

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 +10 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/database-schemas",
3
- "version": "3.9.1",
3
+ "version": "3.9.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schemas/Order.js CHANGED
@@ -30,13 +30,18 @@ const ShippingAddress = new Schema({
30
30
  trim: true,
31
31
  },
32
32
 
33
+ zip: {
34
+ type: String,
35
+ trim: true,
36
+ },
37
+
33
38
  country: {
34
39
  type: String,
35
40
  trim: true,
36
41
  index: true,
37
42
  },
38
43
 
39
- phone_number: {
44
+ phone: {
40
45
  type: String,
41
46
  trim: true,
42
47
  }
@@ -97,6 +102,10 @@ const Order = new Schema({
97
102
  type: MoneyObject,
98
103
  },
99
104
 
105
+ payout: {
106
+ type: MoneyObject,
107
+ },
108
+
100
109
  email: {
101
110
  type: String,
102
111
  trim: true,