@gls_spain/gps-common 35.1.1 → 35.1.3

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,17 +1,31 @@
1
- ## [35.1.1](https://github.com/GLS-Spain/gps-common/compare/v35.1.0...v35.1.1) (2024-05-16)
1
+ ## [35.1.3](https://github.com/GLS-Spain/gps-common/compare/v35.1.2...v35.1.3) (2024-05-20)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * add boolean to qrconfirmed ([3558b49](https://github.com/GLS-Spain/gps-common/commit/3558b49395e1f92053132e647ac3fdd2ab5a2077))
6
+ * bugfix ([76fa1fd](https://github.com/GLS-Spain/gps-common/commit/76fa1fd2e3cbcccdb4d87469a74c66b82c691c61))
7
7
 
8
- # [35.1.0](https://github.com/GLS-Spain/gps-common/compare/v35.0.3...v35.1.0) (2024-05-16)
8
+ ## [35.1.2](https://github.com/GLS-Spain/gps-common/compare/v35.1.1...v35.1.2) (2024-05-20)
9
9
 
10
10
 
11
- ### Features
11
+ ### Bug Fixes
12
12
 
13
- * add new field QRconfirmed to depositedFromRequest validate ([1df6bfb](https://github.com/GLS-Spain/gps-common/commit/1df6bfbfb07da8874c85b72fd1a57a3570815f37))
13
+ * export integration schema ([474247a](https://github.com/GLS-Spain/gps-common/commit/474247ac19031c3cf453a5cff1d452d6a28b70db))
14
14
 
15
+ ## [35.1.1](https://github.com/GLS-Spain/gps-common/compare/v35.1.0...v35.1.1) (2024-05-16)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * add boolean to qrconfirmed ([3558b49](https://github.com/GLS-Spain/gps-common/commit/3558b49395e1f92053132e647ac3fdd2ab5a2077))
21
+
22
+ # [35.1.0](https://github.com/GLS-Spain/gps-common/compare/v35.0.3...v35.1.0) (2024-05-16)
23
+
24
+
25
+ ### Features
26
+
27
+ * add new field QRconfirmed to depositedFromRequest validate ([1df6bfb](https://github.com/GLS-Spain/gps-common/commit/1df6bfbfb07da8874c85b72fd1a57a3570815f37))
28
+
15
29
  ## [35.0.3](https://github.com/GLS-Spain/gps-common/compare/v35.0.2...v35.0.3) (2024-04-08)
16
30
 
17
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.1.1",
3
+ "version": "35.1.3",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -22,6 +22,9 @@ const integration = () => ({
22
22
  },
23
23
  uniqueItems: true,
24
24
  },
25
+ daysToDisabledShop: { type: 'integer' },
26
+ executeTime: { type: 'string' }, // format: 'time',
27
+ lastExecution: datetime(),
25
28
  },
26
29
  required: ['_id', 'createdAt', 'updatedAt', 'name', 'enabled', 'networks'],
27
30
  additionalProperties: false,
package/schemas/index.js CHANGED
@@ -115,7 +115,7 @@ const {
115
115
  deleteZoneRequest,
116
116
  deleteZoneResponse,
117
117
  } = require('./definitions/zones');
118
- const { findIntegrationsRequest, findIntegrationsResponse } = require('./definitions/integrations');
118
+ const { findIntegrationsRequest, findIntegrationsResponse, integration } = require('./definitions/integrations');
119
119
  const { findHistoricRecordsRequest, findHistoricRecordsResponse } = require('./definitions/historic-records');
120
120
  const {
121
121
  createSaleRequest,
@@ -132,7 +132,7 @@ const {
132
132
  downloadSaleLabelResponse,
133
133
  paymentRequest,
134
134
  paymentResponse,
135
- sale
135
+ sale,
136
136
  } = require('./definitions/sales');
137
137
 
138
138
  const { findParcelShopsRequest, findParcelShopsResponse } = require('./definitions/findParcelShops');
@@ -293,6 +293,8 @@ const networkAdminSchema = addMetadata(networkAdmin(), 'networkAdmin');
293
293
  const shopUserSchema = addMetadata(shopUser(), 'shopUser');
294
294
  const saleSchema = addMetadata(sale(), 'sale');
295
295
 
296
+ const integrationSchema = addMetadata(integration(), 'integration');
297
+
296
298
  module.exports = {
297
299
  errorResponse,
298
300
 
@@ -439,4 +441,5 @@ module.exports = {
439
441
  networkAdmin: networkAdminSchema,
440
442
  shopUser: shopUserSchema,
441
443
  sale: saleSchema,
444
+ integration: integrationSchema,
442
445
  };