@gls_spain/gps-common 34.13.0 → 34.13.2
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 +18 -3
- package/open-api-spec/index.js +3 -3
- package/package.json +1 -1
- package/schemas/definitions/expeditions.js +1 -1
- package/schemas/index.js +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
## [34.13.2](https://github.com/GLS-Spain/gps-common/compare/v34.13.1...v34.13.2) (2021-05-21)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* problem with intenal names ([e10a81f](https://github.com/GLS-Spain/gps-common/commit/e10a81fb457a8ca0a42f896762ed6343d34927b8))
|
|
7
|
+
* problem with names internal ([750ee84](https://github.com/GLS-Spain/gps-common/commit/750ee84eaa9569f7373d82a32553f03eec6cf0e3))
|
|
7
8
|
|
|
9
|
+
## [34.13.1](https://github.com/GLS-Spain/gps-common/compare/v34.13.0...v34.13.1) (2021-05-21)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* change role in endpoint depositedFromDriver ([220ef30](https://github.com/GLS-Spain/gps-common/commit/220ef3011c9ff41965497b2866b0c07997568790))
|
|
15
|
+
|
|
16
|
+
# [34.13.0](https://github.com/GLS-Spain/gps-common/compare/v34.12.0...v34.13.0) (2021-05-21)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* add new endpoint depositedFormDriver ([20f5035](https://github.com/GLS-Spain/gps-common/commit/20f5035ee16f1a5879ae064432a019284f0acc1e))
|
|
22
|
+
|
|
8
23
|
# [34.12.0](https://github.com/GLS-Spain/gps-common/compare/v34.11.1...v34.12.0) (2021-05-19)
|
|
9
24
|
|
|
10
25
|
|
package/open-api-spec/index.js
CHANGED
|
@@ -2958,7 +2958,7 @@ ${securitySchemes.shopUserRole}`,
|
|
|
2958
2958
|
'/expeditions/depositedFromDriver': {
|
|
2959
2959
|
post: {
|
|
2960
2960
|
tags: ['Expeditions'],
|
|
2961
|
-
summary: '[
|
|
2961
|
+
summary: '[S] Deposited from driver',
|
|
2962
2962
|
description: `
|
|
2963
2963
|
Deposited expeditions from a driver, adding more properties to status.
|
|
2964
2964
|
|
|
@@ -2977,7 +2977,7 @@ and some are not. The result for each expedition depends on its situation:
|
|
|
2977
2977
|
(*) If the expedition has no shop but it can be received in this network, then on reception its network and shop will be set to the receiving shop.
|
|
2978
2978
|
|
|
2979
2979
|
${securitySchemes.tokens}
|
|
2980
|
-
${securitySchemes.
|
|
2980
|
+
${securitySchemes.superAdminRole}`,
|
|
2981
2981
|
requestBody: {
|
|
2982
2982
|
content: { 'application/json': { schema: processExpeditionsDepositedFromRequest() } },
|
|
2983
2983
|
required: true,
|
|
@@ -2987,7 +2987,7 @@ ${securitySchemes.shopUserRole}`,
|
|
|
2987
2987
|
description: 'Contains the result of the processing for each expedition.',
|
|
2988
2988
|
content: { 'application/json': { schema: processExpeditionsResponse() } },
|
|
2989
2989
|
},
|
|
2990
|
-
' 400': responses.badRequest,
|
|
2990
|
+
' 400': responses.badRequest,
|
|
2991
2991
|
' 401': responses.invalidUserInCookieOrHeader,
|
|
2992
2992
|
' 401 ': responses.invalidCookieOrHeader,
|
|
2993
2993
|
' 401 ': responses.missingCookieOrHeader,
|
package/package.json
CHANGED
|
@@ -884,6 +884,7 @@ module.exports = {
|
|
|
884
884
|
scanExpeditionRequest,
|
|
885
885
|
scanExpeditionResponse,
|
|
886
886
|
processExpeditionsWithDriverRequest,
|
|
887
|
+
processExpeditionsDepositedFromRequest,
|
|
887
888
|
processExpeditionsWithCustomerRequest,
|
|
888
889
|
processExpeditionsResponse,
|
|
889
890
|
receiveAllExpeditionsFromDriverRequest,
|
|
@@ -894,5 +895,4 @@ module.exports = {
|
|
|
894
895
|
unexpireExpeditionRequest,
|
|
895
896
|
updateExpeditionDerivationRequest,
|
|
896
897
|
reminderResponse,
|
|
897
|
-
processExpeditionsDepositedFromRequest
|
|
898
898
|
};
|
package/schemas/index.js
CHANGED
|
@@ -82,7 +82,8 @@ const {
|
|
|
82
82
|
expireExpeditionRequest,
|
|
83
83
|
unexpireExpeditionRequest,
|
|
84
84
|
updateExpeditionDerivationRequest,
|
|
85
|
-
reminderResponse
|
|
85
|
+
reminderResponse,
|
|
86
|
+
processExpeditionsDepositedFromRequest
|
|
86
87
|
} = require('./definitions/expeditions');
|
|
87
88
|
const { findPodsRequest, findPodsResponse } = require('./definitions/pods');
|
|
88
89
|
const {
|
|
@@ -216,6 +217,7 @@ const expeditionsScanRequest = request(scanExpeditionRequest(), 'expeditionsScan
|
|
|
216
217
|
const expeditionsScanResponse = response(scanExpeditionResponse(), 'expeditionsScanResponse');
|
|
217
218
|
const expeditionsProcessWithDriverRequest = request(processExpeditionsWithCustomerRequest(), 'expeditionsProcessWithCustomerRequest');
|
|
218
219
|
const expeditionsProcessWithCustomerRequest = request(processExpeditionsWithDriverRequest(), 'expeditionsProcessWithDriverRequest');
|
|
220
|
+
const expeditionsProcessDepositedFromRequest = request(processExpeditionsDepositedFromRequest(), 'expeditionsProcessDepositedFromRequest');
|
|
219
221
|
const expeditionsProcessResponse = response(processExpeditionsResponse(), 'expeditionsProcessResponse');
|
|
220
222
|
const expeditionsReceiveAllFromDriverRequest = request(receiveAllExpeditionsFromDriverRequest(), 'expeditionsReceiveAllFromDriverRequest');
|
|
221
223
|
const expeditionsReceiveAllFromDriverResponse = response(
|
|
@@ -357,6 +359,7 @@ module.exports = {
|
|
|
357
359
|
expeditionsScanResponse,
|
|
358
360
|
expeditionsProcessWithDriverRequest,
|
|
359
361
|
expeditionsProcessWithCustomerRequest,
|
|
362
|
+
expeditionsProcessDepositedFromRequest,
|
|
360
363
|
expeditionsProcessResponse,
|
|
361
364
|
expeditionsReceiveAllFromDriverRequest,
|
|
362
365
|
expeditionsReceiveAllFromDriverResponse,
|