@gls_spain/gps-common 34.16.0 → 34.17.0

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/CHANGELOG.md CHANGED
@@ -1,10 +1,24 @@
1
- # [34.16.0](https://github.com/GLS-Spain/gps-common/compare/v34.15.0...v34.16.0) (2021-05-24)
1
+ # [34.17.0](https://github.com/GLS-Spain/gps-common/compare/v34.16.1...v34.17.0) (2021-06-02)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * new endpoint create sales by shopId to role superAdmin ([f7ef396](https://github.com/GLS-Spain/gps-common/commit/f7ef39638a4744e072387851794164552703aa3d))
6
+ * add new status on end point find expeditions ([f467878](https://github.com/GLS-Spain/gps-common/commit/f467878d9581a6e1ac51c5d6e70e0805fcbffa94))
7
7
 
8
+ ## [34.16.1](https://github.com/GLS-Spain/gps-common/compare/v34.16.0...v34.16.1) (2021-05-31)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add new property in salesResponse ([949175e](https://github.com/GLS-Spain/gps-common/commit/949175e1c04f951c0b2dd5e084032424ef85be45))
14
+
15
+ # [34.16.0](https://github.com/GLS-Spain/gps-common/compare/v34.15.0...v34.16.0) (2021-05-24)
16
+
17
+
18
+ ### Features
19
+
20
+ * new endpoint create sales by shopId to role superAdmin ([f7ef396](https://github.com/GLS-Spain/gps-common/commit/f7ef39638a4744e072387851794164552703aa3d))
21
+
8
22
  # [34.15.0](https://github.com/GLS-Spain/gps-common/compare/v34.14.0...v34.15.0) (2021-05-24)
9
23
 
10
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.16.0",
3
+ "version": "34.17.0",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -152,7 +152,7 @@ const expedition = () => ({
152
152
  status: {
153
153
  type: 'object',
154
154
  properties: {
155
- code: { type: 'string', enum: ['incoming', 'inShop', 'inShopExpired', 'delivered'] },
155
+ code: { type: 'string', enum: ['incoming', 'incomingCustomer', 'inShop', 'inShopExpired', 'delivered'] },
156
156
  receivedFrom: {
157
157
  oneOf: [processedWithDriver(), processedWithCustomer()],
158
158
  description: 'how and when did the expedition enter the shop, only available for status inShop or later',
@@ -124,6 +124,7 @@ const sale = () => ({
124
124
  required: ['statusHistory', 'orderId', 'fullUrl', 'shortId'],
125
125
  additionalProperties: false,
126
126
  },
127
+ typeSale: { type: 'string' }
127
128
  },
128
129
  required: [
129
130
  '_id',