@gls_spain/gps-common 33.0.7 → 33.0.8

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.
@@ -122,8 +122,8 @@
122
122
  </configuration>
123
123
  <recent_temporary>
124
124
  <list>
125
- <item itemvalue="npm.build-documentation" />
126
125
  <item itemvalue="JavaScript Debug.documentation.html (1)" />
126
+ <item itemvalue="npm.build-documentation" />
127
127
  <item itemvalue="npm.test" />
128
128
  <item itemvalue="Jest.index.test.js" />
129
129
  <item itemvalue="Jest.#errors" />
@@ -587,7 +587,7 @@
587
587
  <workItem from="1595858491503" duration="4159000" />
588
588
  <workItem from="1595865087442" duration="564000" />
589
589
  <workItem from="1595914052000" duration="4102000" />
590
- <workItem from="1595939490548" duration="2929000" />
590
+ <workItem from="1595939490548" duration="3433000" />
591
591
  </task>
592
592
  <servers />
593
593
  </component>
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [33.0.8](https://github.com/GLS-Spain/gps-common/compare/v33.0.7...v33.0.8) (2020-07-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * create expedition accepts a referenced sale only when created with a shop ([a19bfd0](https://github.com/GLS-Spain/gps-common/commit/a19bfd007d07691be15bc486a85d7392e52a2530))
7
+
1
8
  ## [33.0.7](https://github.com/GLS-Spain/gps-common/compare/v33.0.6...v33.0.7) (2020-07-28)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "33.0.7",
3
+ "version": "33.0.8",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -188,7 +188,7 @@ const expedition = () => ({
188
188
  additionalProperties: false,
189
189
  description: 'only available for deliveries and pickups after reception at the shop',
190
190
  },
191
- sale: mergeSchemas(objectWithUuid(), { description: 'associated sale, only for pickups created because of a sale' }),
191
+ sale: mergeSchemas(objectWithUuid(), { description: 'associated sale, only for expeditions created because of a sale' }),
192
192
  barcodes: { type: 'array', items: { type: 'string', trim: true } },
193
193
  packageCount: { type: 'integer' },
194
194
  weight: { type: 'number' },
@@ -348,7 +348,6 @@ const createExpeditionWithNetwork = () => ({
348
348
  'scheduleCode',
349
349
  'date',
350
350
  'expectedDeliveryDate',
351
- 'sale',
352
351
  'barcodes',
353
352
  'packageCount',
354
353
  'weight',