@gls_spain/gps-common 35.1.4 → 35.1.6

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.6](https://github.com/GLS-Spain/gps-common/compare/v35.1.5...v35.1.6) (2024-05-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * export schemas ([bbaa84c](https://github.com/GLS-Spain/gps-common/commit/bbaa84c57ce510d28d38566fdfa02b8af708b70f))
7
+
8
+ ## [35.1.5](https://github.com/GLS-Spain/gps-common/compare/v35.1.4...v35.1.5) (2024-05-22)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * export network schema ([1cbe05e](https://github.com/GLS-Spain/gps-common/commit/1cbe05e9c34d544772584231ed7e32fac0a7cdae))
14
+
1
15
  ## [35.1.4](https://github.com/GLS-Spain/gps-common/compare/v35.1.3...v35.1.4) (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.4",
3
+ "version": "35.1.6",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
package/schemas/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  const { addMetadata, errorResponse: sourceErrorResponse } = require('@gls_spain/common-json-schemas');
2
2
  const { getDefaultsResponse, updateDefaultsRequest, updateDefaultsResponse } = require('./definitions/defaults');
3
- const { getCountersResponse } = require('./definitions/counters');
3
+ const { getCountersResponse, counters } = require('./definitions/counters');
4
4
  const { loginResponse: sourceLoginResponse } = require('./definitions/login');
5
5
  const { logoutResponse: sourceLogoutResponse } = require('./definitions/logout');
6
6
  const { becomeRequest: sourceBecomeRequest } = require('./definitions/become');
@@ -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,
@@ -92,6 +93,7 @@ const {
92
93
  } = require('./definitions/expeditions');
93
94
  const { findPodsRequest, findPodsResponse } = require('./definitions/pods');
94
95
  const {
96
+ representative,
95
97
  createRepresentativeRequest,
96
98
  createRepresentativeResponse,
97
99
  findRepresentativesRequest,
@@ -106,6 +108,7 @@ const {
106
108
  deleteRepresentativeResponse,
107
109
  } = require('./definitions/representatives');
108
110
  const {
111
+ zone,
109
112
  createZoneRequest,
110
113
  createZoneResponse,
111
114
  listZonesNamesResponse,
@@ -117,7 +120,7 @@ const {
117
120
  deleteZoneResponse,
118
121
  } = require('./definitions/zones');
119
122
  const { findIntegrationsRequest, findIntegrationsResponse, integration } = require('./definitions/integrations');
120
- const { findHistoricRecordsRequest, findHistoricRecordsResponse } = require('./definitions/historic-records');
123
+ const { findHistoricRecordsRequest, findHistoricRecordsResponse, historicRecord } = require('./definitions/historic-records');
121
124
  const {
122
125
  createSaleRequest,
123
126
  createSaleResponse,
@@ -295,6 +298,11 @@ const shopUserSchema = addMetadata(shopUser(), 'shopUser');
295
298
  const saleSchema = addMetadata(sale(), 'sale');
296
299
  const integrationSchema = addMetadata(integration(), 'integration');
297
300
  const shopSchema = addMetadata(shop(), 'shop');
301
+ const networkSchema = addMetadata(network(), 'network');
302
+ const countersSchema = addMetadata(counters(), 'counters');
303
+ const historicRecordSchema = addMetadata(historicRecord(), 'historicRecord');
304
+ const zoneSchema = addMetadata(zone(), 'zone');
305
+ const representativeSchema = addMetadata(representative(), 'representative');
298
306
 
299
307
  module.exports = {
300
308
  errorResponse,
@@ -444,4 +452,9 @@ module.exports = {
444
452
  sale: saleSchema,
445
453
  integration: integrationSchema,
446
454
  shop: shopSchema,
455
+ network: networkSchema,
456
+ zone: zoneSchema,
457
+ counters: countersSchema,
458
+ historicRecord: historicRecordSchema,
459
+ representative: representativeSchema,
447
460
  };