@gls_spain/gps-common 35.8.0 → 35.8.1

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,18 @@
1
- # [35.8.0](https://github.com/GLS-Spain/gps-common/compare/v35.7.0...v35.8.0) (2024-10-15)
1
+ ## [35.8.1](https://github.com/GLS-Spain/gps-common/compare/v35.8.0...v35.8.1) (2024-10-17)
2
2
 
3
3
 
4
- ### Features
4
+ ### Bug Fixes
5
5
 
6
- * add reverserLogistic field ([0fd6ba9](https://github.com/GLS-Spain/gps-common/commit/0fd6ba93a7c6b8808f46a1db7de2914d51a7b6b8))
6
+ * add new schema to depositedTo ([61cfa0f](https://github.com/GLS-Spain/gps-common/commit/61cfa0f4b11268864db3bfb7323b4953b1a2a1a1))
7
+ * deposited to fix change request ([2bc2e2a](https://github.com/GLS-Spain/gps-common/commit/2bc2e2accd9c5beea89fc432d3d5710dca51d6c9))
7
8
 
9
+ # [35.8.0](https://github.com/GLS-Spain/gps-common/compare/v35.7.0...v35.8.0) (2024-10-15)
10
+
11
+
12
+ ### Features
13
+
14
+ * add reverserLogistic field ([0fd6ba9](https://github.com/GLS-Spain/gps-common/commit/0fd6ba93a7c6b8808f46a1db7de2914d51a7b6b8))
15
+
8
16
  # [35.7.0](https://github.com/GLS-Spain/gps-common/compare/v35.6.3...v35.7.0) (2024-10-09)
9
17
 
10
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.8.0",
3
+ "version": "35.8.1",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -60,16 +60,27 @@ const driver = () => ({
60
60
  additionalProperties: false,
61
61
  });
62
62
 
63
- const shopProvider = () =>({
64
- title: 'shopProvider',
63
+ const expeditionLogInv = () => ({
64
+ title: 'expedition',
65
65
  type: 'object',
66
- properties:{
66
+ properties: {
67
67
  _id: uuid(),
68
- name:{ type: 'string', trim: true },
68
+ incident: { type: 'boolean' },
69
69
  },
70
- required: ['_id', 'name'],
70
+ required: ['_id'],
71
71
  additionalProperties: false,
72
- })
72
+ });
73
+
74
+ // const shopProvider = () =>({
75
+ // title: 'shopProvider',
76
+ // type: 'object',
77
+ // properties:{
78
+ // _id: uuid(),
79
+ // name:{ type: 'string', trim: true },
80
+ // },
81
+ // required: ['_id', 'name'],
82
+ // additionalProperties: false,
83
+ // })
73
84
 
74
85
  const shopSupplier = () =>({
75
86
  title: 'shopSupplier',
@@ -843,11 +854,10 @@ const processExpeditionsDepositedFromRequest = () => ({
843
854
  const processExpeditionsDepositedToRequest = () => ({
844
855
  type: 'object',
845
856
  properties: {
846
- expeditions: omit(findByIds(), 'title'),
857
+ expeditions: expeditionLogInv(),
847
858
  driver: driver(),
848
- QRconfirmed: { type: 'boolean' },
849
859
  },
850
- required: ['expeditions', 'driver', 'QRconfirmed'],
860
+ required: ['expeditions', 'driver'],
851
861
  additionalProperties: false,
852
862
  });
853
863