@gls_spain/gps-common 34.27.3 → 34.27.4

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.
@@ -5,7 +5,6 @@
5
5
  </component>
6
6
  <component name="ChangeListManager">
7
7
  <list default="true" id="27fd1870-b1c2-4bc1-b832-c34fc2da3402" name="Default Changelist" comment="">
8
- <change beforePath="$PROJECT_DIR$/schemas/definitions/defaults.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/defaults.js" afterDir="false" />
9
8
  <change beforePath="$PROJECT_DIR$/schemas/definitions/sales.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/sales.js" afterDir="false" />
10
9
  </list>
11
10
  <option name="SHOW_DIALOG" value="false" />
@@ -48,7 +47,7 @@
48
47
  <workItem from="1617873799077" duration="885000" />
49
48
  <workItem from="1634799141153" duration="3415000" />
50
49
  <workItem from="1640086365945" duration="600000" />
51
- <workItem from="1657532028037" duration="5745000" />
50
+ <workItem from="1657532028037" duration="7525000" />
52
51
  </task>
53
52
  <servers />
54
53
  </component>
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [34.27.4](https://github.com/GLS-Spain/gps-common/compare/v34.27.3...v34.27.4) (2022-07-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add properties to send in api ([1442dce](https://github.com/GLS-Spain/gps-common/commit/1442dce3f457775f5b67751aa6463d81ee6a8bdd))
7
+
1
8
  ## [34.27.3](https://github.com/GLS-Spain/gps-common/compare/v34.27.2...v34.27.3) (2022-07-13)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.27.3",
3
+ "version": "34.27.4",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -151,7 +151,17 @@ const createSaleRequest = () =>
151
151
  createRequest({
152
152
  type: 'object',
153
153
  properties: {
154
- ...pickProperties(sale(), ['_id', 'createdAt', 'size', 'fourteenService', 'destination', 'sender', 'price']),
154
+ ...pickProperties(sale(), [
155
+ '_id',
156
+ 'createdAt',
157
+ 'size',
158
+ 'fourteenService',
159
+ 'official_invoice',
160
+ 'typeService',
161
+ 'destination',
162
+ 'sender',
163
+ 'price',
164
+ ]),
155
165
  },
156
166
  required: ['size', 'destination', 'sender'],
157
167
  additionalProperties: false,