@gls_spain/gps-common 35.1.4 → 35.1.5

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,3 +1,10 @@
1
+ ## [35.1.5](https://github.com/GLS-Spain/gps-common/compare/v35.1.4...v35.1.5) (2024-05-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * export network schema ([1cbe05e](https://github.com/GLS-Spain/gps-common/commit/1cbe05e9c34d544772584231ed7e32fac0a7cdae))
7
+
1
8
  ## [35.1.4](https://github.com/GLS-Spain/gps-common/compare/v35.1.3...v35.1.4) (2024-05-20)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.1.4",
3
+ "version": "35.1.5",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
package/schemas/index.js CHANGED
@@ -37,6 +37,7 @@ const {
37
37
  superAdmin,
38
38
  } = require('./definitions/users');
39
39
  const {
40
+ network,
40
41
  createNetworkRequest,
41
42
  createNetworkResponse,
42
43
  findNetworksRequest,
@@ -295,6 +296,7 @@ const shopUserSchema = addMetadata(shopUser(), 'shopUser');
295
296
  const saleSchema = addMetadata(sale(), 'sale');
296
297
  const integrationSchema = addMetadata(integration(), 'integration');
297
298
  const shopSchema = addMetadata(shop(), 'shop');
299
+ const networkSchema = addMetadata(network(), 'network');
298
300
 
299
301
  module.exports = {
300
302
  errorResponse,
@@ -444,4 +446,5 @@ module.exports = {
444
446
  sale: saleSchema,
445
447
  integration: integrationSchema,
446
448
  shop: shopSchema,
449
+ network: networkSchema,
447
450
  };