@gls_spain/gps-common 35.4.18 → 35.5.0
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 +147 -140
- package/package.json +1 -1
- package/schemas/definitions/expeditions.js +12 -0
- package/schemas/index.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,148 +1,155 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Bug Fixes
|
|
5
|
-
|
|
6
|
-
* add null to channeling agency code schema ([3fcce8b](https://github.com/GLS-Spain/gps-common/commit/3fcce8b95b9cb9e197aca8ac5a8db854681e360b))
|
|
7
|
-
|
|
8
|
-
## [35.4.17](https://github.com/GLS-Spain/gps-common/compare/v35.4.16...v35.4.17) (2024-08-14)
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
### Bug Fixes
|
|
12
|
-
|
|
13
|
-
* add integer format in shcema ([0d8c512](https://github.com/GLS-Spain/gps-common/commit/0d8c512b0f20582de4c4f20d9e316565738772b2))
|
|
14
|
-
|
|
15
|
-
## [35.4.16](https://github.com/GLS-Spain/gps-common/compare/v35.4.15...v35.4.16) (2024-08-14)
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
### Bug Fixes
|
|
19
|
-
|
|
20
|
-
* change minProperties in schema ([5b34ece](https://github.com/GLS-Spain/gps-common/commit/5b34eced6b59bc888076eb4944a4ff55e64570bf))
|
|
21
|
-
|
|
22
|
-
## [35.4.15](https://github.com/GLS-Spain/gps-common/compare/v35.4.14...v35.4.15) (2024-08-09)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
### Bug Fixes
|
|
26
|
-
|
|
27
|
-
* add string format to value ([0764bb7](https://github.com/GLS-Spain/gps-common/commit/0764bb792c9a31d24d27b8e8320247e91ccb7e71))
|
|
28
|
-
|
|
29
|
-
## [35.4.14](https://github.com/GLS-Spain/gps-common/compare/v35.4.13...v35.4.14) (2024-08-08)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
### Bug Fixes
|
|
33
|
-
|
|
34
|
-
* fix schema channeling agency code ([b7b3948](https://github.com/GLS-Spain/gps-common/commit/b7b39487db9f8f8b9b4aa31fb08f7d5316792dfe))
|
|
35
|
-
|
|
36
|
-
## [35.4.13](https://github.com/GLS-Spain/gps-common/compare/v35.4.12...v35.4.13) (2024-08-06)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
### Bug Fixes
|
|
40
|
-
|
|
41
|
-
* fix schema ([e49d89b](https://github.com/GLS-Spain/gps-common/commit/e49d89b3789d0ed0491957ac6b66ad718d473058))
|
|
42
|
-
|
|
43
|
-
## [35.4.12](https://github.com/GLS-Spain/gps-common/compare/v35.4.11...v35.4.12) (2024-08-06)
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
### Bug Fixes
|
|
47
|
-
|
|
48
|
-
* fixing ([ee2759c](https://github.com/GLS-Spain/gps-common/commit/ee2759ca3bd8b73694d01208990f95b77a86cca3))
|
|
49
|
-
|
|
50
|
-
## [35.4.11](https://github.com/GLS-Spain/gps-common/compare/v35.4.10...v35.4.11) (2024-08-06)
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
### Bug Fixes
|
|
54
|
-
|
|
55
|
-
* fix schema ([bc78f2d](https://github.com/GLS-Spain/gps-common/commit/bc78f2d68d5842f70417a411ff6b77a951691acc))
|
|
56
|
-
|
|
57
|
-
## [35.4.10](https://github.com/GLS-Spain/gps-common/compare/v35.4.9...v35.4.10) (2024-08-06)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### Bug Fixes
|
|
61
|
-
|
|
62
|
-
* fixing schemas ([2f87751](https://github.com/GLS-Spain/gps-common/commit/2f87751723c1cd476a91f466d28c9785a5f61ffc))
|
|
63
|
-
|
|
64
|
-
## [35.4.9](https://github.com/GLS-Spain/gps-common/compare/v35.4.8...v35.4.9) (2024-08-06)
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
### Bug Fixes
|
|
68
|
-
|
|
69
|
-
* fix on find by id internatinal schema ([90265b2](https://github.com/GLS-Spain/gps-common/commit/90265b2ea982861b6806018ccd7fca5eae4f3fa1))
|
|
70
|
-
|
|
71
|
-
## [35.4.8](https://github.com/GLS-Spain/gps-common/compare/v35.4.7...v35.4.8) (2024-08-06)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
### Bug Fixes
|
|
75
|
-
|
|
76
|
-
* fixing schemas ([f166343](https://github.com/GLS-Spain/gps-common/commit/f166343852095a8fadfdf2c0b51b54aa1f995eae))
|
|
77
|
-
|
|
78
|
-
## [35.4.7](https://github.com/GLS-Spain/gps-common/compare/v35.4.6...v35.4.7) (2024-08-06)
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
### Bug Fixes
|
|
82
|
-
|
|
83
|
-
* fix schema ([373061a](https://github.com/GLS-Spain/gps-common/commit/373061aef148ce6ae27b15ad56851d8a6589d2af))
|
|
84
|
-
|
|
85
|
-
## [35.4.6](https://github.com/GLS-Spain/gps-common/compare/v35.4.5...v35.4.6) (2024-08-06)
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
### Bug Fixes
|
|
89
|
-
|
|
90
|
-
* delete network query in controller ([04ca2f1](https://github.com/GLS-Spain/gps-common/commit/04ca2f1d4a484874fc3ed8d2d1b88ef8b1435691))
|
|
91
|
-
|
|
92
|
-
## [35.4.5](https://github.com/GLS-Spain/gps-common/compare/v35.4.4...v35.4.5) (2024-08-05)
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
### Bug Fixes
|
|
96
|
-
|
|
97
|
-
* delete require ([2ac9e7d](https://github.com/GLS-Spain/gps-common/commit/2ac9e7dbe0774da6ed9dbf2b8757e9a67e6e8f67))
|
|
98
|
-
|
|
99
|
-
## [35.4.4](https://github.com/GLS-Spain/gps-common/compare/v35.4.3...v35.4.4) (2024-08-05)
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
### Bug Fixes
|
|
103
|
-
|
|
104
|
-
* delete import ([37ee12e](https://github.com/GLS-Spain/gps-common/commit/37ee12e30db5db8649e630ee514641f1b79de2cc))
|
|
105
|
-
|
|
106
|
-
## [35.4.3](https://github.com/GLS-Spain/gps-common/compare/v35.4.2...v35.4.3) (2024-08-05)
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
### Bug Fixes
|
|
110
|
-
|
|
111
|
-
* fix duplicate fn ([a807fad](https://github.com/GLS-Spain/gps-common/commit/a807fad19ca20e7acf92f0c2383ef167f082dbc3))
|
|
112
|
-
|
|
113
|
-
## [35.4.2](https://github.com/GLS-Spain/gps-common/compare/v35.4.1...v35.4.2) (2024-08-05)
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
### Bug Fixes
|
|
117
|
-
|
|
118
|
-
* onworking on search shop schema ([0674d24](https://github.com/GLS-Spain/gps-common/commit/0674d241d4777b6eb69bce9dd9fed84bdd759967))
|
|
119
|
-
|
|
120
|
-
## [35.4.1](https://github.com/GLS-Spain/gps-common/compare/v35.4.0...v35.4.1) (2024-08-05)
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
### Bug Fixes
|
|
124
|
-
|
|
125
|
-
* fix model international partner key ([5dfc61b](https://github.com/GLS-Spain/gps-common/commit/5dfc61b80e71e034daaf9ac6809efc47c349b50f))
|
|
126
|
-
|
|
127
|
-
# [35.4.0](https://github.com/GLS-Spain/gps-common/compare/v35.3.2...v35.4.0) (2024-08-05)
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
### Bug Fixes
|
|
131
|
-
|
|
132
|
-
* onWorking on model international partner key ([95f53a9](https://github.com/GLS-Spain/gps-common/commit/95f53a97429f5f5d66bf025b45a08407f52f7775))
|
|
1
|
+
# [35.5.0](https://github.com/GLS-Spain/gps-common/compare/v35.4.18...v35.5.0) (2024-09-11)
|
|
133
2
|
|
|
134
3
|
|
|
135
4
|
### Features
|
|
136
5
|
|
|
137
|
-
*
|
|
138
|
-
|
|
139
|
-
## [35.3.2](https://github.com/GLS-Spain/gps-common/compare/v35.3.1...v35.3.2) (2024-07-24)
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
### Bug Fixes
|
|
143
|
-
|
|
144
|
-
* test ([85b7070](https://github.com/GLS-Spain/gps-common/commit/85b7070c7bb3561f2660c2646c9cfaab8b1b19c3))
|
|
6
|
+
* new request for reverse logistic request depositedTo ([4d3bdc1](https://github.com/GLS-Spain/gps-common/commit/4d3bdc1bc8346f03c5bb26aeae89584d4392ad56))
|
|
145
7
|
|
|
8
|
+
## [35.4.18](https://github.com/GLS-Spain/gps-common/compare/v35.4.17...v35.4.18) (2024-08-14)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* add null to channeling agency code schema ([3fcce8b](https://github.com/GLS-Spain/gps-common/commit/3fcce8b95b9cb9e197aca8ac5a8db854681e360b))
|
|
14
|
+
|
|
15
|
+
## [35.4.17](https://github.com/GLS-Spain/gps-common/compare/v35.4.16...v35.4.17) (2024-08-14)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* add integer format in shcema ([0d8c512](https://github.com/GLS-Spain/gps-common/commit/0d8c512b0f20582de4c4f20d9e316565738772b2))
|
|
21
|
+
|
|
22
|
+
## [35.4.16](https://github.com/GLS-Spain/gps-common/compare/v35.4.15...v35.4.16) (2024-08-14)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* change minProperties in schema ([5b34ece](https://github.com/GLS-Spain/gps-common/commit/5b34eced6b59bc888076eb4944a4ff55e64570bf))
|
|
28
|
+
|
|
29
|
+
## [35.4.15](https://github.com/GLS-Spain/gps-common/compare/v35.4.14...v35.4.15) (2024-08-09)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* add string format to value ([0764bb7](https://github.com/GLS-Spain/gps-common/commit/0764bb792c9a31d24d27b8e8320247e91ccb7e71))
|
|
35
|
+
|
|
36
|
+
## [35.4.14](https://github.com/GLS-Spain/gps-common/compare/v35.4.13...v35.4.14) (2024-08-08)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* fix schema channeling agency code ([b7b3948](https://github.com/GLS-Spain/gps-common/commit/b7b39487db9f8f8b9b4aa31fb08f7d5316792dfe))
|
|
42
|
+
|
|
43
|
+
## [35.4.13](https://github.com/GLS-Spain/gps-common/compare/v35.4.12...v35.4.13) (2024-08-06)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Bug Fixes
|
|
47
|
+
|
|
48
|
+
* fix schema ([e49d89b](https://github.com/GLS-Spain/gps-common/commit/e49d89b3789d0ed0491957ac6b66ad718d473058))
|
|
49
|
+
|
|
50
|
+
## [35.4.12](https://github.com/GLS-Spain/gps-common/compare/v35.4.11...v35.4.12) (2024-08-06)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### Bug Fixes
|
|
54
|
+
|
|
55
|
+
* fixing ([ee2759c](https://github.com/GLS-Spain/gps-common/commit/ee2759ca3bd8b73694d01208990f95b77a86cca3))
|
|
56
|
+
|
|
57
|
+
## [35.4.11](https://github.com/GLS-Spain/gps-common/compare/v35.4.10...v35.4.11) (2024-08-06)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### Bug Fixes
|
|
61
|
+
|
|
62
|
+
* fix schema ([bc78f2d](https://github.com/GLS-Spain/gps-common/commit/bc78f2d68d5842f70417a411ff6b77a951691acc))
|
|
63
|
+
|
|
64
|
+
## [35.4.10](https://github.com/GLS-Spain/gps-common/compare/v35.4.9...v35.4.10) (2024-08-06)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Bug Fixes
|
|
68
|
+
|
|
69
|
+
* fixing schemas ([2f87751](https://github.com/GLS-Spain/gps-common/commit/2f87751723c1cd476a91f466d28c9785a5f61ffc))
|
|
70
|
+
|
|
71
|
+
## [35.4.9](https://github.com/GLS-Spain/gps-common/compare/v35.4.8...v35.4.9) (2024-08-06)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Bug Fixes
|
|
75
|
+
|
|
76
|
+
* fix on find by id internatinal schema ([90265b2](https://github.com/GLS-Spain/gps-common/commit/90265b2ea982861b6806018ccd7fca5eae4f3fa1))
|
|
77
|
+
|
|
78
|
+
## [35.4.8](https://github.com/GLS-Spain/gps-common/compare/v35.4.7...v35.4.8) (2024-08-06)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### Bug Fixes
|
|
82
|
+
|
|
83
|
+
* fixing schemas ([f166343](https://github.com/GLS-Spain/gps-common/commit/f166343852095a8fadfdf2c0b51b54aa1f995eae))
|
|
84
|
+
|
|
85
|
+
## [35.4.7](https://github.com/GLS-Spain/gps-common/compare/v35.4.6...v35.4.7) (2024-08-06)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
### Bug Fixes
|
|
89
|
+
|
|
90
|
+
* fix schema ([373061a](https://github.com/GLS-Spain/gps-common/commit/373061aef148ce6ae27b15ad56851d8a6589d2af))
|
|
91
|
+
|
|
92
|
+
## [35.4.6](https://github.com/GLS-Spain/gps-common/compare/v35.4.5...v35.4.6) (2024-08-06)
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Bug Fixes
|
|
96
|
+
|
|
97
|
+
* delete network query in controller ([04ca2f1](https://github.com/GLS-Spain/gps-common/commit/04ca2f1d4a484874fc3ed8d2d1b88ef8b1435691))
|
|
98
|
+
|
|
99
|
+
## [35.4.5](https://github.com/GLS-Spain/gps-common/compare/v35.4.4...v35.4.5) (2024-08-05)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### Bug Fixes
|
|
103
|
+
|
|
104
|
+
* delete require ([2ac9e7d](https://github.com/GLS-Spain/gps-common/commit/2ac9e7dbe0774da6ed9dbf2b8757e9a67e6e8f67))
|
|
105
|
+
|
|
106
|
+
## [35.4.4](https://github.com/GLS-Spain/gps-common/compare/v35.4.3...v35.4.4) (2024-08-05)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### Bug Fixes
|
|
110
|
+
|
|
111
|
+
* delete import ([37ee12e](https://github.com/GLS-Spain/gps-common/commit/37ee12e30db5db8649e630ee514641f1b79de2cc))
|
|
112
|
+
|
|
113
|
+
## [35.4.3](https://github.com/GLS-Spain/gps-common/compare/v35.4.2...v35.4.3) (2024-08-05)
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
### Bug Fixes
|
|
117
|
+
|
|
118
|
+
* fix duplicate fn ([a807fad](https://github.com/GLS-Spain/gps-common/commit/a807fad19ca20e7acf92f0c2383ef167f082dbc3))
|
|
119
|
+
|
|
120
|
+
## [35.4.2](https://github.com/GLS-Spain/gps-common/compare/v35.4.1...v35.4.2) (2024-08-05)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
### Bug Fixes
|
|
124
|
+
|
|
125
|
+
* onworking on search shop schema ([0674d24](https://github.com/GLS-Spain/gps-common/commit/0674d241d4777b6eb69bce9dd9fed84bdd759967))
|
|
126
|
+
|
|
127
|
+
## [35.4.1](https://github.com/GLS-Spain/gps-common/compare/v35.4.0...v35.4.1) (2024-08-05)
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
### Bug Fixes
|
|
131
|
+
|
|
132
|
+
* fix model international partner key ([5dfc61b](https://github.com/GLS-Spain/gps-common/commit/5dfc61b80e71e034daaf9ac6809efc47c349b50f))
|
|
133
|
+
|
|
134
|
+
# [35.4.0](https://github.com/GLS-Spain/gps-common/compare/v35.3.2...v35.4.0) (2024-08-05)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
### Bug Fixes
|
|
138
|
+
|
|
139
|
+
* onWorking on model international partner key ([95f53a9](https://github.com/GLS-Spain/gps-common/commit/95f53a97429f5f5d66bf025b45a08407f52f7775))
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
### Features
|
|
143
|
+
|
|
144
|
+
* add international partner key to search by international id ([d612923](https://github.com/GLS-Spain/gps-common/commit/d612923be592da7900250beb528ddd06341bee39))
|
|
145
|
+
|
|
146
|
+
## [35.3.2](https://github.com/GLS-Spain/gps-common/compare/v35.3.1...v35.3.2) (2024-07-24)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
### Bug Fixes
|
|
150
|
+
|
|
151
|
+
* test ([85b7070](https://github.com/GLS-Spain/gps-common/commit/85b7070c7bb3561f2660c2646c9cfaab8b1b19c3))
|
|
152
|
+
|
|
146
153
|
## [35.3.1](https://github.com/GLS-Spain/gps-common/compare/v35.3.0...v35.3.1) (2024-07-23)
|
|
147
154
|
|
|
148
155
|
|
package/package.json
CHANGED
|
@@ -786,6 +786,17 @@ const processExpeditionsDepositedFromRequest = () => ({
|
|
|
786
786
|
additionalProperties: false,
|
|
787
787
|
});
|
|
788
788
|
|
|
789
|
+
const processExpeditionsDepositedToRequest = () => ({
|
|
790
|
+
type: 'object',
|
|
791
|
+
properties: {
|
|
792
|
+
expeditions: omit(findByIds(), 'title'),
|
|
793
|
+
driver: driver(),
|
|
794
|
+
QRconfirmed: { type: 'boolean' },
|
|
795
|
+
},
|
|
796
|
+
required: ['expeditions', 'driver', 'QRconfirmed'],
|
|
797
|
+
additionalProperties: false,
|
|
798
|
+
});
|
|
799
|
+
|
|
789
800
|
const processExpeditionResultOk = () => mergeSchemas(objectWithUuid(), resultOk());
|
|
790
801
|
|
|
791
802
|
const processExpeditionResultNotFound = () => mergeSchemas(objectWithUuid(), resultNotFound());
|
|
@@ -963,6 +974,7 @@ module.exports = {
|
|
|
963
974
|
scanExpeditionResponse,
|
|
964
975
|
processExpeditionsWithDriverRequest,
|
|
965
976
|
processExpeditionsDepositedFromRequest,
|
|
977
|
+
processExpeditionsDepositedToRequest,
|
|
966
978
|
processExpeditionsWithCustomerRequest,
|
|
967
979
|
processExpeditionsResponse,
|
|
968
980
|
receiveAllExpeditionsFromDriverRequest,
|
package/schemas/index.js
CHANGED
|
@@ -90,6 +90,7 @@ const {
|
|
|
90
90
|
reminderResponse,
|
|
91
91
|
// notNotificationResponse,
|
|
92
92
|
processExpeditionsDepositedFromRequest,
|
|
93
|
+
processExpeditionsDepositedToRequest,
|
|
93
94
|
} = require('./definitions/expeditions');
|
|
94
95
|
const { findPodsRequest, findPodsResponse } = require('./definitions/pods');
|
|
95
96
|
const {
|
|
@@ -229,6 +230,8 @@ const expeditionsScanResponse = response(scanExpeditionResponse(), 'expeditionsS
|
|
|
229
230
|
const expeditionsProcessWithDriverRequest = request(processExpeditionsWithCustomerRequest(), 'expeditionsProcessWithCustomerRequest');
|
|
230
231
|
const expeditionsProcessWithCustomerRequest = request(processExpeditionsWithDriverRequest(), 'expeditionsProcessWithDriverRequest');
|
|
231
232
|
const expeditionsProcessDepositedFromRequest = request(processExpeditionsDepositedFromRequest(), 'expeditionsProcessDepositedFromRequest');
|
|
233
|
+
const expeditionsProcessDepositedToRequest = request(processExpeditionsDepositedToRequest(), 'expeditionsProcessDepositedToRequest');
|
|
234
|
+
|
|
232
235
|
const expeditionsProcessResponse = response(processExpeditionsResponse(), 'expeditionsProcessResponse');
|
|
233
236
|
const expeditionsReceiveAllFromDriverRequest = request(receiveAllExpeditionsFromDriverRequest(), 'expeditionsReceiveAllFromDriverRequest');
|
|
234
237
|
const expeditionsReceiveAllFromDriverResponse = response(
|
|
@@ -385,6 +388,7 @@ module.exports = {
|
|
|
385
388
|
expeditionsProcessWithDriverRequest,
|
|
386
389
|
expeditionsProcessWithCustomerRequest,
|
|
387
390
|
expeditionsProcessDepositedFromRequest,
|
|
391
|
+
expeditionsProcessDepositedToRequest,
|
|
388
392
|
expeditionsProcessResponse,
|
|
389
393
|
expeditionsReceiveAllFromDriverRequest,
|
|
390
394
|
expeditionsReceiveAllFromDriverResponse,
|