@gls_spain/gps-common 35.1.3 → 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,17 @@
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
+
8
+ ## [35.1.4](https://github.com/GLS-Spain/gps-common/compare/v35.1.3...v35.1.4) (2024-05-20)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * export shop schema ([6a6e4dd](https://github.com/GLS-Spain/gps-common/commit/6a6e4dd9a2115b038d09af9c64e52ec43a7c5edc))
14
+
1
15
  ## [35.1.3](https://github.com/GLS-Spain/gps-common/compare/v35.1.2...v35.1.3) (2024-05-20)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.1.3",
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,
@@ -59,6 +60,7 @@ const {
59
60
  deleteShopResponse,
60
61
  upsertShopRequest,
61
62
  upsertShopResponse,
63
+ shop,
62
64
  } = require('./definitions/shops');
63
65
  const {
64
66
  createExpeditionRequest,
@@ -292,8 +294,9 @@ const superAdminSchema = addMetadata(superAdmin(), 'superAdmin');
292
294
  const networkAdminSchema = addMetadata(networkAdmin(), 'networkAdmin');
293
295
  const shopUserSchema = addMetadata(shopUser(), 'shopUser');
294
296
  const saleSchema = addMetadata(sale(), 'sale');
295
-
296
297
  const integrationSchema = addMetadata(integration(), 'integration');
298
+ const shopSchema = addMetadata(shop(), 'shop');
299
+ const networkSchema = addMetadata(network(), 'network');
297
300
 
298
301
  module.exports = {
299
302
  errorResponse,
@@ -442,4 +445,6 @@ module.exports = {
442
445
  shopUser: shopUserSchema,
443
446
  sale: saleSchema,
444
447
  integration: integrationSchema,
448
+ shop: shopSchema,
449
+ network: networkSchema,
445
450
  };