@gls_spain/gps-common 34.9.1 → 34.9.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.
Files changed (81) hide show
  1. package/.eslintignore +1 -1
  2. package/.eslintrc.json +11 -11
  3. package/.idea/codeStyles/Project.xml +36 -36
  4. package/.idea/codeStyles/codeStyleConfig.xml +4 -4
  5. package/.idea/gps-common.iml +11 -11
  6. package/.idea/inspectionProfiles/Project_Default.xml +6 -6
  7. package/.idea/jsLibraryMappings.xml +5 -5
  8. package/.idea/misc.xml +5 -5
  9. package/.idea/modules.xml +7 -7
  10. package/.idea/prettier.xml +6 -6
  11. package/.idea/scopes/Source_files.xml +2 -2
  12. package/.idea/vcs.xml +5 -5
  13. package/.prettierignore +4 -4
  14. package/.prettierrc.json +13 -13
  15. package/.releaserc +17 -17
  16. package/CHANGELOG.md +1264 -1250
  17. package/README.md +103 -103
  18. package/errors/CountersDoNotExistError.js +11 -11
  19. package/errors/DatabaseNotEmptyError.js +11 -11
  20. package/errors/DefaultsDoNotExistError.js +11 -11
  21. package/errors/ExpeditionAlreadyExistsError.js +11 -11
  22. package/errors/ExpeditionCannotBeDeletedError.js +11 -11
  23. package/errors/ExpeditionCannotBeUpdatedError.js +11 -11
  24. package/errors/ExpeditionDoesNotExistError.js +11 -11
  25. package/errors/GLSRecordingError.js +11 -11
  26. package/errors/GLSSpainError.js +11 -11
  27. package/errors/InconsistentSalesSettingsError.js +11 -11
  28. package/errors/InvalidSaleDestinationError.js +11 -11
  29. package/errors/LabelDoesNotExistError.js +11 -11
  30. package/errors/NetworkAlreadyExistsError.js +11 -11
  31. package/errors/NetworkCannotBeDeletedError.js +11 -11
  32. package/errors/NetworkCannotBeUpdatedError.js +11 -11
  33. package/errors/NetworkDoesNotExistError.js +11 -11
  34. package/errors/RepresentativeAlreadyExistsError.js +11 -11
  35. package/errors/RepresentativeCannotBeDeletedError.js +11 -11
  36. package/errors/RepresentativeDoesNotExistError.js +11 -11
  37. package/errors/SaleAlreadyExistsError.js +11 -11
  38. package/errors/SaleDoesNotExistError.js +11 -11
  39. package/errors/ShopAlreadyExistsError.js +11 -11
  40. package/errors/ShopCannotBeDeletedError.js +11 -11
  41. package/errors/ShopCannotBeUpdatedError.js +11 -11
  42. package/errors/ShopCannotSellError.js +11 -11
  43. package/errors/ShopDoesNotExistError.js +11 -11
  44. package/errors/ShopNotEnabledError.js +11 -11
  45. package/errors/UserAlreadyExistsError.js +11 -11
  46. package/errors/UserCannotBeDeletedError.js +11 -11
  47. package/errors/UserCannotBeUpdatedError.js +11 -11
  48. package/errors/UserDoesNotExistError.js +11 -11
  49. package/errors/WrongNetworkError.js +11 -11
  50. package/errors/WrongPasswordError.js +11 -11
  51. package/errors/WrongShopError.js +11 -11
  52. package/errors/ZoneAlreadyExistsError.js +11 -11
  53. package/errors/ZoneCannotBeDeletedError.js +11 -11
  54. package/errors/ZoneDoesNotExistError.js +11 -11
  55. package/errors/index.js +118 -118
  56. package/index.js +9 -9
  57. package/index.test.js +36 -36
  58. package/jest.config.js +5 -5
  59. package/open-api-spec/index.js +3715 -3715
  60. package/package.json +65 -69
  61. package/schemas/definitions/become.js +5 -5
  62. package/schemas/definitions/common.js +462 -440
  63. package/schemas/definitions/counters.js +43 -43
  64. package/schemas/definitions/defaults.js +140 -140
  65. package/schemas/definitions/expeditions.js +867 -867
  66. package/schemas/definitions/gls-spain-integration-events.js +139 -139
  67. package/schemas/definitions/historic-records.js +90 -90
  68. package/schemas/definitions/integrations.js +38 -38
  69. package/schemas/definitions/login.js +38 -38
  70. package/schemas/definitions/logout.js +8 -8
  71. package/schemas/definitions/networks.js +123 -123
  72. package/schemas/definitions/pods.js +26 -26
  73. package/schemas/definitions/representatives.js +194 -194
  74. package/schemas/definitions/sales.js +253 -249
  75. package/schemas/definitions/shops.js +404 -404
  76. package/schemas/definitions/users.js +337 -337
  77. package/schemas/definitions/zones.js +92 -92
  78. package/schemas/index.js +400 -400
  79. package/scripts/build-documentation.js +40 -40
  80. package/scripts/build-json-schemas.js +35 -35
  81. package/.idea/workspace.xml +0 -696
package/CHANGELOG.md CHANGED
@@ -1,1251 +1,1265 @@
1
- ## [34.9.1](https://github.com/GLS-Spain/gps-common/compare/v34.9.0...v34.9.1) (2021-01-19)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * fix find sales by createdAt range instead of date range ([c50f662](https://github.com/GLS-Spain/gps-common/commit/c50f662d9aaafca0ebc4345c0d78e0d9f68cdcff))
7
-
8
- # [34.9.0](https://github.com/GLS-Spain/gps-common/compare/v34.8.1...v34.9.0) (2021-01-18)
9
-
10
-
11
- ### Features
12
-
13
- * add expire, unexpire, update derivation, add date range to find expeditions and sales ([8290523](https://github.com/GLS-Spain/gps-common/commit/8290523fe0fc0f366cf0a1299a3a2b3484f20d16))
14
-
15
- ## [34.8.1](https://github.com/GLS-Spain/gps-common/compare/v34.8.0...v34.8.1) (2021-01-13)
16
-
17
-
18
- ### Bug Fixes
19
-
20
- * change expedition and sale download label response to base 64 ([7306949](https://github.com/GLS-Spain/gps-common/commit/73069495d21900dd5e0c93c1c0e02436e109333c))
21
-
22
- # [34.8.0](https://github.com/GLS-Spain/gps-common/compare/v34.7.0...v34.8.0) (2021-01-08)
23
-
24
-
25
- ### Features
26
-
27
- * add download label to expeditions and sales ([68c49db](https://github.com/GLS-Spain/gps-common/commit/68c49dbc306caa24f28d07fb72dfc9f19cbf3c10))
28
-
29
- # [34.7.0](https://github.com/GLS-Spain/gps-common/compare/v34.6.0...v34.7.0) (2020-12-21)
30
-
31
-
32
- ### Bug Fixes
33
-
34
- * change get defaults permissions to any role ([92c5f19](https://github.com/GLS-Spain/gps-common/commit/92c5f193ec744ac9cb66021ba20ef1b499ccd2f1))
35
-
36
-
37
- ### Features
38
-
39
- * add gls recording error ([15731bb](https://github.com/GLS-Spain/gps-common/commit/15731bb6e10a02178ecc536bd12ea34cde06ca97))
40
-
41
- # [34.6.0](https://github.com/GLS-Spain/gps-common/compare/v34.5.1...v34.6.0) (2020-11-19)
42
-
43
-
44
- ### Features
45
-
46
- * add GLS Spain error to create sale ([38ad6c7](https://github.com/GLS-Spain/gps-common/commit/38ad6c7976d11c1ede5bc960e63d4a0cc22fe15f))
47
-
48
- ## [34.5.1](https://github.com/GLS-Spain/gps-common/compare/v34.5.0...v34.5.1) (2020-10-26)
49
-
50
-
51
- ### Bug Fixes
52
-
53
- * change super admin find sales by network and shop to only shop ([18e52f6](https://github.com/GLS-Spain/gps-common/commit/18e52f65718ba2a49cc11980198922d4e2aed1f7))
54
-
55
- # [34.5.0](https://github.com/GLS-Spain/gps-common/compare/v34.4.1...v34.5.0) (2020-10-26)
56
-
57
-
58
- ### Features
59
-
60
- * add find expeditions by sale ([7a85fb7](https://github.com/GLS-Spain/gps-common/commit/7a85fb713ee95da08725f8bd7ace7ecaef8c0d71))
61
-
62
- ## [34.4.1](https://github.com/GLS-Spain/gps-common/compare/v34.4.0...v34.4.1) (2020-09-25)
63
-
64
-
65
- ### Bug Fixes
66
-
67
- * fix get own representatives being optional ([90ecbd5](https://github.com/GLS-Spain/gps-common/commit/90ecbd53b677cb41a88e7862072c4cd718ef3d74))
68
-
69
- # [34.4.0](https://github.com/GLS-Spain/gps-common/compare/v34.3.0...v34.4.0) (2020-09-25)
70
-
71
-
72
- ### Features
73
-
74
- * add GET representatives/getOwn ([7e3f5bf](https://github.com/GLS-Spain/gps-common/commit/7e3f5bfd3675f328f9b4f080661a92b9a55202b6))
75
-
76
- # [34.3.0](https://github.com/GLS-Spain/gps-common/compare/v34.2.0...v34.3.0) (2020-09-21)
77
-
78
-
79
- ### Features
80
-
81
- * add sell capability to shops and allow only shops with it to create sales ([74f9c41](https://github.com/GLS-Spain/gps-common/commit/74f9c415ed6b8e3c17d891a1c2c25e16193f2328))
82
-
83
- # [34.2.0](https://github.com/GLS-Spain/gps-common/compare/v34.1.1...v34.2.0) (2020-09-17)
84
-
85
-
86
- ### Features
87
-
88
- * add /sales/update ([61be4c5](https://github.com/GLS-Spain/gps-common/commit/61be4c5f9f91f4e395939ba9db8c2cf3467da171))
89
-
90
- ## [34.1.1](https://github.com/GLS-Spain/gps-common/compare/v34.1.0...v34.1.1) (2020-09-08)
91
-
92
-
93
- ### Bug Fixes
94
-
95
- * add missing invalid destination error to create sale ([b9ef5c0](https://github.com/GLS-Spain/gps-common/commit/b9ef5c06e11e01c9418278cead6dde96153179f3))
96
-
97
- # [34.1.0](https://github.com/GLS-Spain/gps-common/compare/v34.0.1...v34.1.0) (2020-08-20)
98
-
99
-
100
- ### Features
101
-
102
- * can create expeditions that can be received on any shop of multiple networks ([f2fb145](https://github.com/GLS-Spain/gps-common/commit/f2fb14536fe21115a73f9d3edd3596596164d67e))
103
-
104
- ## [34.0.1](https://github.com/GLS-Spain/gps-common/compare/v34.0.0...v34.0.1) (2020-07-30)
105
-
106
-
107
- ### Bug Fixes
108
-
109
- * require at least one email and phone for a sale sender ([91ed154](https://github.com/GLS-Spain/gps-common/commit/91ed15423a177882fb12b4241e4fae73ca99e551))
110
-
111
- # [34.0.0](https://github.com/GLS-Spain/gps-common/compare/v33.0.9...v34.0.0) (2020-07-29)
112
-
113
-
114
- ### Features
115
-
116
- * rework sales statuses, add sales payment fields, add callbacks and redirects endpoints ([8e6a5ef](https://github.com/GLS-Spain/gps-common/commit/8e6a5ef7b51d4d02591a2e945512ac4eb3f96e82))
117
-
118
-
119
- ### BREAKING CHANGES
120
-
121
- * sales statuses have changed
122
-
123
- ## [33.0.9](https://github.com/GLS-Spain/gps-common/compare/v33.0.8...v33.0.9) (2020-07-28)
124
-
125
-
126
- ### Bug Fixes
127
-
128
- * add sale does not exist error when creating an expedition with a shop and a sale ([2c7f9b1](https://github.com/GLS-Spain/gps-common/commit/2c7f9b1db39b9f68c8100b119cef80eccdf10f76))
129
-
130
- ## [33.0.8](https://github.com/GLS-Spain/gps-common/compare/v33.0.7...v33.0.8) (2020-07-28)
131
-
132
-
133
- ### Bug Fixes
134
-
135
- * create expedition accepts a referenced sale only when created with a shop ([a19bfd0](https://github.com/GLS-Spain/gps-common/commit/a19bfd007d07691be15bc486a85d7392e52a2530))
136
-
137
- ## [33.0.7](https://github.com/GLS-Spain/gps-common/compare/v33.0.6...v33.0.7) (2020-07-28)
138
-
139
-
140
- ### Bug Fixes
141
-
142
- * fix create sale request schema ([09db173](https://github.com/GLS-Spain/gps-common/commit/09db173bd8225e85386bd15043c6942e6caa503a))
143
-
144
- ## [33.0.6](https://github.com/GLS-Spain/gps-common/compare/v33.0.5...v33.0.6) (2020-07-28)
145
-
146
-
147
- ### Bug Fixes
148
-
149
- * fix sales/checkPrice name ([943cb56](https://github.com/GLS-Spain/gps-common/commit/943cb56cfe74907f4c61bcd7d16d0be0793091b5))
150
-
151
- ## [33.0.5](https://github.com/GLS-Spain/gps-common/compare/v33.0.4...v33.0.5) (2020-07-28)
152
-
153
-
154
- ### Bug Fixes
155
-
156
- * remove find all sales for super admins ([ce54dd6](https://github.com/GLS-Spain/gps-common/commit/ce54dd641241d842bd9ec403bc05eed3db9f69a1))
157
-
158
- ## [33.0.4](https://github.com/GLS-Spain/gps-common/compare/v33.0.3...v33.0.4) (2020-07-28)
159
-
160
-
161
- ### Bug Fixes
162
-
163
- * add zone to sales check price response ([152da0c](https://github.com/GLS-Spain/gps-common/commit/152da0c566054e65f22a7a0b2ac963bd00c4a7a2))
164
-
165
- ## [33.0.3](https://github.com/GLS-Spain/gps-common/compare/v33.0.2...v33.0.3) (2020-07-28)
166
-
167
-
168
- ### Bug Fixes
169
-
170
- * add missing shop errors to create sale ([a9acdc3](https://github.com/GLS-Spain/gps-common/commit/a9acdc3f4874b00c8a9baa84f6f1f6bb81b2516f))
171
-
172
- ## [33.0.2](https://github.com/GLS-Spain/gps-common/compare/v33.0.1...v33.0.2) (2020-07-28)
173
-
174
-
175
- ### Bug Fixes
176
-
177
- * fix super admin find sales request, should be find by network and shop, not only shop ([56403be](https://github.com/GLS-Spain/gps-common/commit/56403be066b6d24f1689c1681a58c83d80f01454))
178
-
179
- ## [33.0.1](https://github.com/GLS-Spain/gps-common/compare/v33.0.0...v33.0.1) (2020-07-27)
180
-
181
-
182
- ### Bug Fixes
183
-
184
- * rework the defaults sales settings because the old structure did not work for some combinations ([7e36141](https://github.com/GLS-Spain/gps-common/commit/7e36141e227a6bb74be4886c9144916fc6d63d25))
185
-
186
- # [33.0.0](https://github.com/GLS-Spain/gps-common/compare/v32.5.0...v33.0.0) (2020-07-27)
187
-
188
-
189
- ### Bug Fixes
190
-
191
- * add sale to expedition ([ed0b4ac](https://github.com/GLS-Spain/gps-common/commit/ed0b4ace008e2580c67f4f1d7c700965bf342d24))
192
- * remove required from sale.sender.fiscal ([9b34e55](https://github.com/GLS-Spain/gps-common/commit/9b34e55509f1ff393ccb52cebee60fd0c1e65bfd))
193
-
194
-
195
- ### Features
196
-
197
- * add sales ([d26b235](https://github.com/GLS-Spain/gps-common/commit/d26b235170972e5b4992d3d5add0b18b046d59eb))
198
-
199
-
200
- ### BREAKING CHANGES
201
-
202
- * defaults and networks have new salesSettings fields, init has been removed
203
-
204
- # [32.5.0](https://github.com/GLS-Spain/gps-common/compare/v32.4.0...v32.5.0) (2020-07-16)
205
-
206
-
207
- ### Features
208
-
209
- * add readonly to networks and shops, and network and shop cannot be updated errors ([8ba03cc](https://github.com/GLS-Spain/gps-common/commit/8ba03cce1e8495a7540e2726c44ddf1af7427dd5))
210
-
211
- # [32.4.0](https://github.com/GLS-Spain/gps-common/compare/v32.3.0...v32.4.0) (2020-07-16)
212
-
213
-
214
- ### Features
215
-
216
- * add counters ([54638a1](https://github.com/GLS-Spain/gps-common/commit/54638a1c54317c8adb136258837b230e025b8553))
217
-
218
- # [32.3.0](https://github.com/GLS-Spain/gps-common/compare/v32.2.0...v32.3.0) (2020-07-16)
219
-
220
-
221
- ### Features
222
-
223
- * add international fields to shop schema ([b95be40](https://github.com/GLS-Spain/gps-common/commit/b95be40e6d68c14a7132c04dc7a1bc90220a973b))
224
-
225
- # [32.2.0](https://github.com/GLS-Spain/gps-common/compare/v32.1.1...v32.2.0) (2020-06-10)
226
-
227
-
228
- ### Features
229
-
230
- * add activity to shops ([7d9d73e](https://github.com/GLS-Spain/gps-common/commit/7d9d73e37276ea4565839e75466bfe3dd025b14c)), closes [#GPS-369](https://github.com/GLS-Spain/gps-common/issues/GPS-369)
231
-
232
- ## [32.1.1](https://github.com/GLS-Spain/gps-common/compare/v32.1.0...v32.1.1) (2020-04-27)
233
-
234
-
235
- ### Bug Fixes
236
-
237
- * split find expeditions between network admins and shop users ([299e03c](https://github.com/GLS-Spain/gps-common/commit/299e03cad70be83123c5d5f710eff02a46e68e0e))
238
-
239
- # [32.1.0](https://github.com/GLS-Spain/gps-common/compare/v32.0.3...v32.1.0) (2020-04-27)
240
-
241
-
242
- ### Features
243
-
244
- * add find expeditions by shop and types and status ([7f6d137](https://github.com/GLS-Spain/gps-common/commit/7f6d13773419f5aa215435646d0862cd0a4cb7e7))
245
-
246
- ## [32.0.3](https://github.com/GLS-Spain/gps-common/compare/v32.0.2...v32.0.3) (2020-04-17)
247
-
248
-
249
- ### Bug Fixes
250
-
251
- * fix old descriptions in readme and openapi ([d2b68e7](https://github.com/GLS-Spain/gps-common/commit/d2b68e78c05b1e4e701ea812c8d74b83ddaa2fa7))
252
- * remove .npmrc ([a06b501](https://github.com/GLS-Spain/gps-common/commit/a06b50138e6979db223de0b72b443fd0d7b747e6))
253
-
254
- ## [32.0.2](https://github.com/GLS-Spain/gps-common/compare/v32.0.1...v32.0.2) (2020-04-01)
255
-
256
-
257
- ### Bug Fixes
258
-
259
- * remove expiration date from the gls spain receive from customer event ([3d199b1](https://github.com/GLS-Spain/gps-common/commit/3d199b1b8eb72bc9a759c155bec25ae4a57231f6))
260
-
261
- ## [32.0.1](https://github.com/GLS-Spain/gps-common/compare/v32.0.0...v32.0.1) (2020-03-31)
262
-
263
-
264
- ### Bug Fixes
265
-
266
- * improve documentation about receiving expeditions with no shop ([3c08269](https://github.com/GLS-Spain/gps-common/commit/3c08269d7a68f631a37cfd4322fc8cdb1ede2795))
267
-
268
- # [32.0.0](https://github.com/GLS-Spain/gps-common/compare/v31.0.3...v32.0.0) (2020-03-28)
269
-
270
-
271
- ### Bug Fixes
272
-
273
- * change historic record actionDetails for actionKeys ([7f9acc5](https://github.com/GLS-Spain/gps-common/commit/7f9acc5f746a16b42a58bbc99379381a84ac9f49))
274
-
275
-
276
- ### BREAKING CHANGES
277
-
278
- * historic records schema has changed
279
-
280
- ## [31.0.3](https://github.com/GLS-Spain/gps-common/compare/v31.0.2...v31.0.3) (2020-03-26)
281
-
282
-
283
- ### Bug Fixes
284
-
285
- * fix typo in expire action detail of historic records ([a484484](https://github.com/GLS-Spain/gps-common/commit/a484484a6082fb68a340ecc51cd13190142939a5))
286
-
287
- ## [31.0.2](https://github.com/GLS-Spain/gps-common/compare/v31.0.1...v31.0.2) (2020-03-25)
288
-
289
-
290
- ### Bug Fixes
291
-
292
- * fix init request schema ([c07a631](https://github.com/GLS-Spain/gps-common/commit/c07a6314d6e8c1aff0d3b4068964f1aeaecd829e))
293
-
294
- ## [31.0.1](https://github.com/GLS-Spain/gps-common/compare/v31.0.0...v31.0.1) (2020-03-25)
295
-
296
-
297
- ### Bug Fixes
298
-
299
- * fix networks field in integration schema ([f77408d](https://github.com/GLS-Spain/gps-common/commit/f77408d871aee56d6d8dc8ffdb2eaeb844570d3e))
300
-
301
- # [31.0.0](https://github.com/GLS-Spain/gps-common/compare/v30.0.1...v31.0.0) (2020-03-22)
302
-
303
-
304
- ### Features
305
-
306
- * improve documentation ([81291a0](https://github.com/GLS-Spain/gps-common/commit/81291a053380f338c96bdf06a47fd4a1799bea54))
307
- * remove expedition.derivation.packages ([8765ca9](https://github.com/GLS-Spain/gps-common/commit/8765ca98d1b0b76681827fcf6f1ec3365d1172f3))
308
- * remove pod network, shop and expeditions ([8407e04](https://github.com/GLS-Spain/gps-common/commit/8407e04571ec80ecb6d2023a8ebec18042f8fe37))
309
-
310
-
311
- ### BREAKING CHANGES
312
-
313
- * simplify pod schema, now can only be found by _id
314
- * removed expedition.derivation.packages
315
-
316
- ## [30.0.1](https://github.com/GLS-Spain/gps-common/compare/v30.0.0...v30.0.1) (2020-03-19)
317
-
318
-
319
- ### Bug Fixes
320
-
321
- * fix defaults denormalization in network and shop schemas ([d7984fb](https://github.com/GLS-Spain/gps-common/commit/d7984fb32b4db683777b7587b989a2f464c2c29b))
322
-
323
- # [30.0.0](https://github.com/GLS-Spain/gps-common/compare/v29.0.0...v30.0.0) (2020-03-17)
324
-
325
-
326
- ### Features
327
-
328
- * historic records are now created for all resources except pods ([1ab3a02](https://github.com/GLS-Spain/gps-common/commit/1ab3a02ef81f9f93ee2524a187bd313df5281cba))
329
-
330
-
331
- ### BREAKING CHANGES
332
-
333
- * historic records are no longer only for networks, shops and expeditions
334
-
335
- # [29.0.0](https://github.com/GLS-Spain/gps-common/compare/v28.0.1...v29.0.0) (2020-03-16)
336
-
337
-
338
- ### Features
339
-
340
- * add deletable to historic records and integrations ([b81042d](https://github.com/GLS-Spain/gps-common/commit/b81042d4a25e9d3895a1b2907feba19a5121e016))
341
- * remove tags and integrations, add users permissions ([9caf2bf](https://github.com/GLS-Spain/gps-common/commit/9caf2bfa1387d515da7198e751b6363731b099e2))
342
-
343
-
344
- ### BREAKING CHANGES
345
-
346
- * changed networks, shops, expeditions, users and representatives schemas
347
-
348
- ## [28.0.1](https://github.com/GLS-Spain/gps-common/compare/v28.0.0...v28.0.1) (2020-03-15)
349
-
350
-
351
- ### Bug Fixes
352
-
353
- * remove job error, change all errors to extend DatabaseError ([03bb9ae](https://github.com/GLS-Spain/gps-common/commit/03bb9aeb40c0a758cc09ad7cecc7bc674817d4f2))
354
-
355
- # [28.0.0](https://github.com/GLS-Spain/gps-common/compare/v27.2.0...v28.0.0) (2020-03-15)
356
-
357
-
358
- ### Features
359
-
360
- * change expeditions to allow no shop until reception ([ebb7ed7](https://github.com/GLS-Spain/gps-common/commit/ebb7ed70de3d2a76435cb9677016a11d3c698769))
361
- * remove jobs endpoints, add historic records and integrations ([65d8b50](https://github.com/GLS-Spain/gps-common/commit/65d8b503363489934c09f19ee1001b2d5f3884cf))
362
-
363
-
364
- ### BREAKING CHANGES
365
-
366
- * jobs replaced by historic records and integrations
367
- * expeditions may have no shop until reception
368
-
369
- # [27.2.0](https://github.com/GLS-Spain/gps-common/compare/v27.1.1...v27.2.0) (2020-02-20)
370
-
371
-
372
- ### Features
373
-
374
- * trim strings in schemas ([06fc8c1](https://github.com/GLS-Spain/gps-common/commit/06fc8c13e3dc32b0e9cbe0a5c3717e886919ee33))
375
-
376
- ## [27.1.1](https://github.com/GLS-Spain/gps-common/compare/v27.1.0...v27.1.1) (2020-02-18)
377
-
378
-
379
- ### Bug Fixes
380
-
381
- * add .npmrc ([8518753](https://github.com/GLS-Spain/gps-common/commit/851875328f73eecafab8f902a4e125e3d00c0993))
382
-
383
- # [27.1.0](https://github.com/GLS-Spain/gps-common/compare/v27.0.2...v27.1.0) (2020-02-04)
384
-
385
-
386
- ### Features
387
-
388
- * change network and shop fiscal to optional, add shop disabled reason ([3535e44](https://github.com/GLS-Spain/gps-common/commit/3535e44bf87795825fd679241ad0de04928ce94a))
389
-
390
- ## [27.0.2](https://github.com/GLS-Spain/gps-common/compare/v27.0.1...v27.0.2) (2020-01-29)
391
-
392
-
393
- ### Bug Fixes
394
-
395
- * fix readme ([6187025](https://github.com/GLS-Spain/gps-common/commit/61870251d99f1db115c94600ecfdadf596ad37d1))
396
-
397
- ## [27.0.1](https://github.com/GLS-Spain/gps-common/compare/v27.0.0...v27.0.1) (2020-01-29)
398
-
399
-
400
- ### Bug Fixes
401
-
402
- * update readme with new [@gls](https://github.com/gls)_spain scope ([5cb67d3](https://github.com/GLS-Spain/gps-common/commit/5cb67d3871b820cd520798d57b2d00a975d2cdd2))
403
-
404
- # [27.0.0](https://github.com/GLS-Spain/gps-common/compare/v26.1.0...v27.0.0) (2020-01-29)
405
-
406
-
407
- ### chore
408
-
409
- * migrate to [@gls](https://github.com/gls)_spain packages ([cc1a484](https://github.com/GLS-Spain/gps-common/commit/cc1a484471d35d82bf51124e403f7de21d376289))
410
-
411
-
412
- ### BREAKING CHANGES
413
-
414
- * package scope has changed to @gls_spain
415
-
416
- # [26.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v26.0.1...v26.1.0) (2020-01-29)
417
-
418
-
419
- ### Features
420
-
421
- * add contacts to networks and shops ([f9f2b07](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f9f2b073204af5eb52b1dbb55ce4de3309babd10)), closes [#GPS-425](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-425)
422
-
423
- ## [26.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v26.0.0...v26.0.1) (2020-01-21)
424
-
425
-
426
- ### Bug Fixes
427
-
428
- * fix price event schema ([f7fce50](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f7fce504e228fd93a42d3734604121b5409ea9e7))
429
-
430
- # [26.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v25.4.0...v26.0.0) (2020-01-17)
431
-
432
-
433
- ### Features
434
-
435
- * add fiscal data to networks, refactor shop fiscal data ([428b171](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/428b17100cbd7795c76f5a1501269b3ee80e2292))
436
- * add network event and price event, add network job, split derivation total price ([dbebebd](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/dbebebd6b3747f02fe5a537084ee3ea845154f15))
437
- * add nif to fiscal data, add find shop by fiscal ([b0e44e1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b0e44e1230a52e5b3d0416d9186b26af6312200e))
438
- * change expedition.status.expiration to use datetimes for reminders ([f3c8549](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f3c8549f55c66e072b2c947513feac3154719b0a))
439
- * enable email validation ([f24dddb](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f24dddb692385e5c9f03591b0fd20ccab0971c31))
440
- * split defaults, network and shop derivation settings into network rate and shop rate ([4946fa2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/4946fa2819654620093f9585782c7d327d7a8562))
441
-
442
-
443
- ### BREAKING CHANGES
444
-
445
- * expiration reminders are now datetimes
446
- * fiscal data now has nif
447
- * networks now have fiscal data, shop fiscal data has changed
448
- * defaults, network and shop derivation settings now have network and shop rate
449
-
450
- # [25.4.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v25.3.1...v25.4.0) (2019-12-30)
451
-
452
-
453
- ### Features
454
-
455
- * add expeditions find by code ([64e12b6](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/64e12b64a09fd3224a8007073c6d36cc39556e95))
456
-
457
- ## [25.3.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v25.3.0...v25.3.1) (2019-12-05)
458
-
459
-
460
- ### Bug Fixes
461
-
462
- * fix the /expeditions/receiveAllFromDriver response schema ([1f8b6fa](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/1f8b6fa))
463
-
464
- # [25.3.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v25.2.1...v25.3.0) (2019-12-05)
465
-
466
-
467
- ### Features
468
-
469
- * Add /expeditions/receiveAllFromDriver and shop user integration 'canReceiveAllFromDriver' ([6e1bbb6](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/6e1bbb6))
470
-
471
- ## [25.2.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v25.2.0...v25.2.1) (2019-11-26)
472
-
473
-
474
- ### Bug Fixes
475
-
476
- * fix get representatives commission response ([be6973a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/be6973a)), closes [#GPS-368](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-368)
477
-
478
- # [25.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v25.1.0...v25.2.0) (2019-11-26)
479
-
480
-
481
- ### Features
482
-
483
- * add /representatives/getCommissions ([ee10c28](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/ee10c28)), closes [#GPS-368](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-368)
484
-
485
- # [25.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v25.0.0...v25.1.0) (2019-11-21)
486
-
487
-
488
- ### Features
489
-
490
- * change email schema to accept any string ([0b383fe](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/0b383fe))
491
-
492
- # [25.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v24.2.0...v25.0.0) (2019-11-15)
493
-
494
-
495
- ### Features
496
-
497
- * add zones with commissions and link shops and representatives to them ([6e4c4fb](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/6e4c4fb)), closes [#GPS-367](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-367)
498
-
499
-
500
- ### BREAKING CHANGES
501
-
502
- * representatives have a relation to zones instead of commissions
503
-
504
- # [24.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v24.1.0...v24.2.0) (2019-11-12)
505
-
506
-
507
- ### Features
508
-
509
- * usernames are limited to [a-zA-Z0-9] characters and minimum length 3 ([6a2237c](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/6a2237c))
510
-
511
- # [24.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v24.0.0...v24.1.0) (2019-11-11)
512
-
513
-
514
- ### Features
515
-
516
- * allow tags on resources creation for backwards compatibility ([7fdf449](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/7fdf449))
517
-
518
- # [24.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v23.0.1...v24.0.0) (2019-11-06)
519
-
520
-
521
- ### Features
522
-
523
- * reduce the capabilities of network admins ([afe4544](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/afe4544))
524
-
525
-
526
- ### BREAKING CHANGES
527
-
528
- * network admins cannot create/update/delete shops or shop users
529
-
530
- ## [23.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v23.0.0...v23.0.1) (2019-11-04)
531
-
532
-
533
- ### Bug Fixes
534
-
535
- * fix error name ([bc1839b](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/bc1839b))
536
-
537
- # [23.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v22.1.0...v23.0.0) (2019-10-24)
538
-
539
-
540
- ### Features
541
-
542
- * redo how derivation and expiration settings work ([a9073f8](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/a9073f8))
543
-
544
-
545
- ### BREAKING CHANGES
546
-
547
- * network and shops may no longer have derivation and expiration settings on their
548
- root
549
-
550
- # [22.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v22.0.0...v22.1.0) (2019-10-22)
551
-
552
-
553
- ### Features
554
-
555
- * add sales representatives CRUD and to shops ([60573a5](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/60573a5))
556
-
557
- # [22.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v21.1.0...v22.0.0) (2019-10-21)
558
-
559
-
560
- ### Features
561
-
562
- * change shop openingSchedule structure ([dd4a938](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/dd4a938))
563
-
564
-
565
- ### BREAKING CHANGES
566
-
567
- * shop opening schedule structure has changed
568
-
569
- # [21.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v21.0.0...v21.1.0) (2019-10-15)
570
-
571
-
572
- ### Features
573
-
574
- * add fiscal to shop update ([dfd61d5](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/dfd61d5))
575
-
576
- # [21.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v20.3.0...v21.0.0) (2019-10-15)
577
-
578
-
579
- ### Features
580
-
581
- * add fiscal to shop ([0a998e1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/0a998e1))
582
- * Add timezone to shop ([fb9f742](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/fb9f742)), closes [#GPS-291](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-291)
583
-
584
-
585
- ### BREAKING CHANGES
586
-
587
- * create shop now required fiscal
588
- * Shop creation now requires a timezone
589
-
590
- # [20.3.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v20.2.1...v20.3.0) (2019-10-08)
591
-
592
-
593
- ### Features
594
-
595
- * add errorsNames ([b3722e4](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b3722e4))
596
-
597
- ## [20.2.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v20.2.0...v20.2.1) (2019-10-08)
598
-
599
-
600
- ### Bug Fixes
601
-
602
- * hardcode errors names to prevent loss when uglifying ([c90f69d](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/c90f69d))
603
-
604
- # [20.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v20.1.0...v20.2.0) (2019-10-07)
605
-
606
-
607
- ### Features
608
-
609
- * add upsert shop event and find shop jobs ([f7d2ccc](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f7d2ccc))
610
-
611
- # [20.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v20.0.0...v20.1.0) (2019-10-03)
612
-
613
-
614
- ### Features
615
-
616
- * add expeditions receiveFromCustomer and extend giveToDriver for pickups ([6ad4fab](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/6ad4fab)), closes [#GPS-95](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-95)
617
-
618
- # [20.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v19.3.1...v20.0.0) (2019-10-02)
619
-
620
-
621
- ### Features
622
-
623
- * use new private packages, change date times to date-time format ([ab4c08b](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/ab4c08b)), closes [#GPS-326](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-326)
624
-
625
-
626
- ### BREAKING CHANGES
627
-
628
- * Date times changed to date-time format
629
-
630
- ## [19.3.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v19.3.0...v19.3.1) (2019-09-28)
631
-
632
-
633
- ### Bug Fixes
634
-
635
- * fix network schema format ([f7022f0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f7022f0))
636
-
637
- # [19.3.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v19.2.0...v19.3.0) (2019-09-28)
638
-
639
-
640
- ### Features
641
-
642
- * adapt schemas to new normalize keyword ([999fa5a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/999fa5a))
643
-
644
- # [19.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v19.1.0...v19.2.0) (2019-09-27)
645
-
646
-
647
- ### Features
648
-
649
- * use new package common-json-schemas ([1dfdac0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/1dfdac0))
650
-
651
- # [19.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v19.0.1...v19.1.0) (2019-09-26)
652
-
653
-
654
- ### Features
655
-
656
- * add expirationDate to receiveFromDriver event ([5d8c99b](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/5d8c99b))
657
-
658
- ## [19.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v19.0.0...v19.0.1) (2019-09-23)
659
-
660
-
661
- ### Bug Fixes
662
-
663
- * change the format of the datetime properties of the sent events ([b2bc943](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b2bc943))
664
-
665
- # [19.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v18.1.0...v19.0.0) (2019-09-18)
666
-
667
-
668
- ### Features
669
-
670
- * Add more specific 401 error responses ([e3c1359](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/e3c1359))
671
-
672
-
673
- ### BREAKING CHANGES
674
-
675
- * Some 401 errors are more specific and their names have changed
676
-
677
- # [18.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v18.0.0...v18.1.0) (2019-09-17)
678
-
679
-
680
- ### Features
681
-
682
- * **expeditions:** Packages weight is now optional ([dbd05a8](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/dbd05a8))
683
-
684
- # [18.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v17.0.0...v18.0.0) (2019-09-12)
685
-
686
-
687
- ### Features
688
-
689
- * Change networks and users sendIntegrationEvents to integrations array ([dc1a072](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/dc1a072)), closes [#GPS-279](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-279)
690
-
691
-
692
- ### BREAKING CHANGES
693
-
694
- * Networks and users sendIntegrationEvents changed to integrations array
695
-
696
- # [17.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v16.0.1...v17.0.0) (2019-09-12)
697
-
698
-
699
- ### Features
700
-
701
- * Add sendIntegration events to networks and users ([5c23b42](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/5c23b42)), closes [#GPS-279](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-279)
702
-
703
-
704
- ### BREAKING CHANGES
705
-
706
- * Users sendEvents changed to sendIntegrationEvents
707
-
708
- ## [16.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v16.0.0...v16.0.1) (2019-09-06)
709
-
710
-
711
- ### Bug Fixes
712
-
713
- * Fix missing required for integration events _id ([420b43a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/420b43a))
714
-
715
- # [16.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v15.0.0...v16.0.0) (2019-09-06)
716
-
717
-
718
- ### Features
719
-
720
- * **documentation:** Refactor documentation with resources, integration and endpoints sections ([d6f8e98](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/d6f8e98))
721
-
722
-
723
- ### BREAKING CHANGES
724
-
725
- * **documentation:** /system and /defaults endpoints moved to /config
726
-
727
- # [15.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v14.0.0...v15.0.0) (2019-09-03)
728
-
729
-
730
- ### Bug Fixes
731
-
732
- * Rename costumer to customer everywhere ([da55bae](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/da55bae))
733
-
734
-
735
- ### BREAKING CHANGES
736
-
737
- * Costumer renamed to customer in all schemas and endpoints
738
-
739
- # [14.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v13.2.1...v14.0.0) (2019-08-18)
740
-
741
-
742
- ### Bug Fixes
743
-
744
- * **Expedition job:** Rename pickupReminder to expirationReminder ([d412c77](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/d412c77))
745
-
746
-
747
- ### BREAKING CHANGES
748
-
749
- * **Expedition job:** Renamed pickupReminder to expirationReminder
750
-
751
- ## [13.2.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v13.2.0...v13.2.1) (2019-08-14)
752
-
753
-
754
- ### Bug Fixes
755
-
756
- * **jobs:** Fix jobsFindExpeditionsResponse schema wrong use of oneOf ([f74cf89](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f74cf89))
757
-
758
- # [13.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v13.1.0...v13.2.0) (2019-08-14)
759
-
760
-
761
- ### Features
762
-
763
- * **errors:** Add job does not exist error ([6628364](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/6628364))
764
-
765
- # [13.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v13.0.3...v13.1.0) (2019-08-14)
766
-
767
-
768
- ### Features
769
-
770
- * **background jobs:** Add schemas and documentation for background jobs ([0172b67](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/0172b67)), closes [#GPS-255](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-255)
771
-
772
- ## [13.0.3](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v13.0.2...v13.0.3) (2019-08-12)
773
-
774
-
775
- ### Bug Fixes
776
-
777
- * **pods:** Add network and shop to pod schema ([ebb2b23](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/ebb2b23)), closes [#GPS-265](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-265)
778
-
779
- ## [13.0.2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v13.0.1...v13.0.2) (2019-08-11)
780
-
781
-
782
- ### Bug Fixes
783
-
784
- * **expeditions:** Change pod single expedition reference to an array ([08da410](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/08da410))
785
-
786
- ## [13.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v13.0.0...v13.0.1) (2019-08-11)
787
-
788
-
789
- ### Bug Fixes
790
-
791
- * **pods:** Add missing pod schema properties ([66592a1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/66592a1))
792
-
793
- # [13.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v12.0.2...v13.0.0) (2019-08-11)
794
-
795
-
796
- ### Code Refactoring
797
-
798
- * **expeditions:** Refactor status properties and operations names ([acc325b](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/acc325b))
799
-
800
-
801
- ### BREAKING CHANGES
802
-
803
- * **expeditions:** Changed expeditions schema and receive/give operations endpoints
804
-
805
- ## [12.0.2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v12.0.1...v12.0.2) (2019-08-10)
806
-
807
-
808
- ### Bug Fixes
809
-
810
- * **expeditions:** Fix and improve expeditions pickup and deliver documentation ([4609876](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/4609876))
811
-
812
- ## [12.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v12.0.0...v12.0.1) (2019-08-09)
813
-
814
-
815
- ### Bug Fixes
816
-
817
- * **expeditions:** Fix scan request schema ([b9164b4](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b9164b4)), closes [#GPS-88](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-88)
818
-
819
- # [12.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v11.1.0...v12.0.0) (2019-08-09)
820
-
821
-
822
- ### Features
823
-
824
- * **expeditions:** Refactor scan and pickup from driver, add deliver to costumer and driver, add POD ([f6bc54e](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f6bc54e)), closes [#GPS-88](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-88)
825
-
826
-
827
- ### BREAKING CHANGES
828
-
829
- * **expeditions:** Expedition schema, scan and pickup from driver have changed
830
-
831
- # [11.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v11.0.2...v11.1.0) (2019-08-07)
832
-
833
-
834
- ### Features
835
-
836
- * Add sendEvents property to users ([00641d4](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/00641d4)), closes [#GPS-181](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-181)
837
-
838
- ## [11.0.2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v11.0.1...v11.0.2) (2019-08-06)
839
-
840
-
841
- ### Bug Fixes
842
-
843
- * Fix /expeditions/processDriver schemas ([eb3d07e](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/eb3d07e)), closes [#GPS-82](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-82)
844
-
845
- ## [11.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v11.0.0...v11.0.1) (2019-08-06)
846
-
847
-
848
- ### Bug Fixes
849
-
850
- * **documentation:** Fix expeditions update and redirect error responses ([70f19bc](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/70f19bc))
851
-
852
- # [11.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v10.0.0...v11.0.0) (2019-08-06)
853
-
854
-
855
- ### Features
856
-
857
- * **expeditions:** Change status update to specific endpoints, refactor status content ([e5e1957](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/e5e1957)), closes [#GPS-246](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-246)
858
-
859
-
860
- ### BREAKING CHANGES
861
-
862
- * **expeditions:** Move expedition fields inside status, change update status to specific endpoints
863
-
864
- # [10.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v9.4.0...v10.0.0) (2019-08-05)
865
-
866
-
867
- ### Features
868
-
869
- * Add derivation and expiration to expeditions ([17a1502](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/17a1502)), closes [#GPS-246](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-246)
870
-
871
-
872
- ### BREAKING CHANGES
873
-
874
- * Expeditions no longer have expirationDate, and date and expectedDeliveryDate are no
875
- longer datetimes
876
-
877
- # [9.4.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v9.3.0...v9.4.0) (2019-08-02)
878
-
879
-
880
- ### Features
881
-
882
- * **documentation:** Add shop is not enabled error to expedition create and update ([cc64713](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/cc64713)), closes [#GPS-245](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-245)
883
-
884
- # [9.3.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v9.2.0...v9.3.0) (2019-07-31)
885
-
886
-
887
- ### Features
888
-
889
- * Add defaults to initDatabase request and response ([8171cd7](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/8171cd7))
890
-
891
- # [9.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v9.1.0...v9.2.0) (2019-07-31)
892
-
893
-
894
- ### Features
895
-
896
- * **errors:** Add defaults do not exist error and it to the documentation ([885e857](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/885e857))
897
-
898
- # [9.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v9.0.0...v9.1.0) (2019-07-31)
899
-
900
-
901
- ### Features
902
-
903
- * **documentation:** Add default settings documentation ([36aead6](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/36aead6)), closes [#GPS-209](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-209)
904
- * **documentation:** Add settings to network and shop documentation ([1a8d5fa](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/1a8d5fa)), closes [#GPS-209](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-209)
905
- * **schemas:** Add default settings schemas ([c068802](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/c068802)), closes [#GPS-209](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-209)
906
- * **schemas:** Add settings to network and shop schemas ([3280339](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/3280339)), closes [#GPS-209](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-209)
907
-
908
- # [9.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v8.4.1...v9.0.0) (2019-07-29)
909
-
910
-
911
- ### Bug Fixes
912
-
913
- * Remove total from find requests ([7763b94](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/7763b94))
914
-
915
-
916
- ### Code Refactoring
917
-
918
- * Change /expeditions/scan request and response schemas ([c6aaabc](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/c6aaabc))
919
-
920
-
921
- ### BREAKING CHANGES
922
-
923
- * /expeditions/scan schemas have changed
924
-
925
- ## [8.4.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v8.4.0...v8.4.1) (2019-07-29)
926
-
927
-
928
- ### Bug Fixes
929
-
930
- * **expeditions:** Add missing properties ([12eb565](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/12eb565))
931
-
932
- # [8.4.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v8.3.0...v8.4.0) (2019-07-25)
933
-
934
-
935
- ### Features
936
-
937
- * **documentation:** Add authorization caption to documentation endpoints ([4452450](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/4452450)), closes [#GPS-199](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-199)
938
-
939
- # [8.3.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v8.2.0...v8.3.0) (2019-07-25)
940
-
941
-
942
- ### Features
943
-
944
- * **documentation:** Add expeditions documentation ([8ef9d1c](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/8ef9d1c)), closes [#GPS-78](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-78)
945
- * **errors:** Add expedition errors ([4723434](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/4723434)), closes [#GPS-78](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-78)
946
- * **schemas:** Add expedition CRUD schemas ([f22a070](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f22a070)), closes [#GPS-78](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-78)
947
-
948
- # [8.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v8.1.0...v8.2.0) (2019-07-18)
949
-
950
-
951
- ### Bug Fixes
952
-
953
- * **documentation:** Fix missing /login and /self authorization ([a8617b8](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/a8617b8))
954
-
955
-
956
- ### Features
957
-
958
- * **documentation:** Add /logout documentation ([dcd693f](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/dcd693f)), closes [#GPS-205](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-205)
959
- * **schemas:** Add logout schemas ([88e2f86](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/88e2f86)), closes [#GPS-205](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-205)
960
-
961
- # [8.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v8.0.0...v8.1.0) (2019-07-10)
962
-
963
-
964
- ### Features
965
-
966
- * **errors:** Add wrong password error ([a4307ca](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/a4307ca))
967
-
968
- # [8.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v7.2.0...v8.0.0) (2019-07-10)
969
-
970
-
971
- ### Code Refactoring
972
-
973
- * Refactor networks and shops to remove sync fields ([02b8603](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/02b8603)), closes [#GPS-196](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-196)
974
-
975
-
976
- ### BREAKING CHANGES
977
-
978
- * Remove sync fields from network and shop schemas
979
-
980
- # [7.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v7.1.0...v7.2.0) (2019-07-08)
981
-
982
-
983
- ### Features
984
-
985
- * **documentation:** Add /networks/listNames endpoint ([b0d8977](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b0d8977)), closes [#GPS-192](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-192)
986
- * **schemas:** Add list networks name schemas ([81fd94b](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/81fd94b)), closes [#GPS-192](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-192)
987
-
988
- # [7.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v7.0.1...v7.1.0) (2019-07-08)
989
-
990
-
991
- ### Features
992
-
993
- * **documentation:** Add /networkAdmins/updateSelf documentation ([e9f7e3a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/e9f7e3a)), closes [#GPS-193](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-193)
994
- * **documentation:** Add /shopUsers/updateSelf documentation ([632d2e6](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/632d2e6)), closes [#GPS-194](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-194)
995
- * **schemas:** Add network admin update self schemas ([7efa4fe](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/7efa4fe)), closes [#GPS-193](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-193)
996
- * **schemas:** Add shop user update self schemas ([16367d8](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/16367d8)), closes [#GPS-194](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-194)
997
-
998
- ## [7.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v7.0.0...v7.0.1) (2019-07-03)
999
-
1000
-
1001
- ### Bug Fixes
1002
-
1003
- * **documentation:** Fix example objects ([98d69ce](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/98d69ce))
1004
-
1005
- # [7.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v6.0.1...v7.0.0) (2019-07-02)
1006
-
1007
-
1008
- ### Bug Fixes
1009
-
1010
- * **shops:** Change the shop status format ([fd81c83](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/fd81c83))
1011
-
1012
-
1013
- ### BREAKING CHANGES
1014
-
1015
- * **shops:** Shop status has changed to as single 'status' property
1016
-
1017
- ## [6.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v6.0.0...v6.0.1) (2019-07-01)
1018
-
1019
-
1020
- ### Bug Fixes
1021
-
1022
- * **schemas:** Fix typo in update shop schema that hide openingSchedule ([3853d94](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/3853d94))
1023
-
1024
- # [6.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v5.0.0...v6.0.0) (2019-07-01)
1025
-
1026
-
1027
- ### Bug Fixes
1028
-
1029
- * **schemas and documentation:** Change find shops by status to only accept 'enabled' or 'disabled' ([fc04514](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/fc04514))
1030
- * **schemas and documentation:** Change update shop 'disabled' to allow one item at a time ([dfed6c4](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/dfed6c4))
1031
-
1032
-
1033
- ### BREAKING CHANGES
1034
-
1035
- * **schemas and documentation:** Update shop 'disable' array accepts only one item instead of an array
1036
- * **schemas and documentation:** Find shops by status no longer accepts 'manuallyDisabled' or 'disabledUntilSync',
1037
- instead 'disable' includes the three values
1038
-
1039
- # [5.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v4.0.0...v5.0.0) (2019-06-27)
1040
-
1041
-
1042
- ### Bug Fixes
1043
-
1044
- * **schemas:** Fix missing shop exports in schemas/index.js ([4e038d2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/4e038d2))
1045
-
1046
-
1047
- ### Code Refactoring
1048
-
1049
- * **schemas and documentation:** Refactor the entire API to not use endpoints based on role ([f14a2cf](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f14a2cf))
1050
- * **shop schema:** Refactor shop status with an array of disabled reasons ([b77fe22](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b77fe22)), closes [#GPS-65](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-65)
1051
-
1052
-
1053
- ### Features
1054
-
1055
- * **documentation:** Add /networkAdmin/shops and /networkAdmin/shopUsers documentation ([145be2a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/145be2a)), closes [#GPS-67](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-67)
1056
- * **documentation:** Add /superAdmin/shopUsers documentation ([c1328e2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/c1328e2)), closes [#GPS-67](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-67)
1057
- * **schemas:** Add /networkAdmin/shops and /networkAdmin/shopUsers schemas ([6b5bca7](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/6b5bca7)), closes [#GPS-67](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-67)
1058
- * **schemas:** Add /superAdmin/shopUsers schemas ([b3699be](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b3699be)), closes [#GPS-67](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-67)
1059
-
1060
-
1061
- ### BREAKING CHANGES
1062
-
1063
- * **schemas and documentation:** All the endpoints have changed to not include the role
1064
- * **shop schema:** The shop schema has changed to a status and an array of disabled reasons
1065
-
1066
- # [4.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v3.5.1...v4.0.0) (2019-06-21)
1067
-
1068
-
1069
- ### Features
1070
-
1071
- * **documentation:** Add /superAdmin/shops documentation ([7d8e482](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/7d8e482)), closes [#GPS-65](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-65)
1072
- * **errors:** Add shop errors ([5b75920](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/5b75920)), closes [#GPS-65](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-65)
1073
- * **schemas:** Add createdAt when creating users and networks ([4941209](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/4941209)), closes [#GPS-180](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-180)
1074
- * **schemas:** Add gls.id to networks ([34de71f](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/34de71f)), closes [#GPS-183](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-183)
1075
- * **schemas:** Add shop CRUD schemas ([897668a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/897668a)), closes [#GPS-65](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-65)
1076
- * **schemas:** Add shop schema ([8d57a97](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/8d57a97)), closes [#GPS-63](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-63)
1077
-
1078
-
1079
- ### BREAKING CHANGES
1080
-
1081
- * **schemas:** creating a network now requires the gls.id property
1082
-
1083
- ## [3.5.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v3.5.0...v3.5.1) (2019-06-12)
1084
-
1085
-
1086
- ### Bug Fixes
1087
-
1088
- * **documentation:** Add missing user does not exist error response to /become ([db056c4](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/db056c4))
1089
-
1090
- # [3.5.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v3.4.0...v3.5.0) (2019-06-12)
1091
-
1092
-
1093
- ### Features
1094
-
1095
- * **/become:** Add schemas and documentation for /become ([6b0b850](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/6b0b850)), closes [#GPS-166](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-166)
1096
-
1097
- # [3.4.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v3.3.0...v3.4.0) (2019-06-07)
1098
-
1099
-
1100
- ### Features
1101
-
1102
- * **schemas:** Update users schemas can remove nif and address by setting them to null ([3d080fc](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/3d080fc))
1103
-
1104
- # [3.3.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v3.2.0...v3.3.0) (2019-05-31)
1105
-
1106
-
1107
- ### Features
1108
-
1109
- * **documentation:** Add versioning info and changelog link to the documentation ([3e16c43](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/3e16c43)), closes [#GPS-171](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-171)
1110
-
1111
- # [3.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v3.1.0...v3.2.0) (2019-05-31)
1112
-
1113
-
1114
- ### Features
1115
-
1116
- * **/login:** The login may return a network does not exist error ([0986b28](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/0986b28)), closes [#GPS-164](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-164)
1117
-
1118
- # [3.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v3.0.0...v3.1.0) (2019-05-31)
1119
-
1120
-
1121
- ### Features
1122
-
1123
- * **/login:** Add network admins login ([20a9031](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/20a9031)), closes [#GPS-164](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-164)
1124
-
1125
- # [3.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.4.1...v3.0.0) (2019-05-31)
1126
-
1127
-
1128
- ### Bug Fixes
1129
-
1130
- * **/superAdmin/users:** Change update user address to always require a valid full address ([b86613c](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b86613c)), closes [#GPS-168](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-168)
1131
-
1132
-
1133
- ### Code Refactoring
1134
-
1135
- * **documentation:** Split /superAdmin/users routes into superAdmin/superAdmins, superAdmin/netw ([5400ad2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/5400ad2))
1136
- * **schemas:** Simplify schemas names, remove selfResponse schema (same as loginResponse) ([70ab16a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/70ab16a))
1137
-
1138
-
1139
- ### BREAKING CHANGES
1140
-
1141
- * **documentation:** /superAdmin/users routes are now superAdmin/superAdmins, superAdmin/networkAdmins
1142
- and /self
1143
- * **schemas:** The schemas names have changed and selfResponse has been removed
1144
- * **/superAdmin/users:** When updating a user address a fully valid address must be provided even if only
1145
- some fields change
1146
-
1147
- ## [2.4.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.4.0...v2.4.1) (2019-05-31)
1148
-
1149
-
1150
- ### Bug Fixes
1151
-
1152
- * **/superAdmin/users:** Fix the update of an address to ensure that the address is complete ([8f45e21](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/8f45e21)), closes [#GPS-168](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-168)
1153
-
1154
- # [2.4.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.3.1...v2.4.0) (2019-05-29)
1155
-
1156
-
1157
- ### Bug Fixes
1158
-
1159
- * **schemas:** Fix createNetworkRequest schema ([ecfeff6](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/ecfeff6))
1160
-
1161
-
1162
- ### Features
1163
-
1164
- * **/networks:** Add network schema ([32d6559](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/32d6559)), closes [#GPS-40](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-40)
1165
- * **/superAdmin/networks:** Add /superAdmin/networks documentation ([daf925a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/daf925a))
1166
- * **/superAdmin/users:** Add /superAdmin/users network admins CRUD ([0bee1cc](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/0bee1cc)), closes [#GPS-66](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-66)
1167
- * **errors:** Add network errors ([e1b0dcc](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/e1b0dcc))
1168
- * **schemas:** Add /superAdmin/networks CRUD schemas ([2f6d86c](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/2f6d86c)), closes [#GPS-54](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-54)
1169
- * **schemas:** Add networkAdmin schema ([00c09ab](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/00c09ab)), closes [#GPS-39](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-39)
1170
-
1171
- ## [2.3.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.3.0...v2.3.1) (2019-05-28)
1172
-
1173
-
1174
- ### Bug Fixes
1175
-
1176
- * **errors:** Fix UserAlreadyExistsError class name ([8fcfe23](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/8fcfe23))
1177
-
1178
- # [2.3.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.2.0...v2.3.0) (2019-05-27)
1179
-
1180
-
1181
- ### Features
1182
-
1183
- * **/superAdmin/users:** Add schemas and documentation for super admins CRUD ([942491d](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/942491d))
1184
-
1185
- # [2.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.1.1...v2.2.0) (2019-05-27)
1186
-
1187
-
1188
- ### Features
1189
-
1190
- * **schemas:** Add error response schema ([83ccb98](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/83ccb98))
1191
-
1192
- ## [2.1.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.1.0...v2.1.1) (2019-05-26)
1193
-
1194
-
1195
- ### Bug Fixes
1196
-
1197
- * Fix initDatabaseResponse schema ([1ad8843](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/1ad8843))
1198
-
1199
- # [2.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.0.0...v2.1.0) (2019-05-26)
1200
-
1201
-
1202
- ### Features
1203
-
1204
- * Add user errors ([bcab83d](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/bcab83d))
1205
-
1206
- # [2.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v1.0.3...v2.0.0) (2019-05-26)
1207
-
1208
-
1209
- ### Features
1210
-
1211
- * Allow selective import of errors, open api spec and schemas ([4b5d85b](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/4b5d85b))
1212
-
1213
-
1214
- ### BREAKING CHANGES
1215
-
1216
- * The schemas export is now an object instead of an array
1217
-
1218
- ## [1.0.3](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v1.0.2...v1.0.3) (2019-05-24)
1219
-
1220
-
1221
- ### Bug Fixes
1222
-
1223
- * **config:** Remove .npmrc ([340e682](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/340e682))
1224
-
1225
- ## [1.0.2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v1.0.1...v1.0.2) (2019-05-24)
1226
-
1227
-
1228
- ### Bug Fixes
1229
-
1230
- * **config:** Add [@toomanymelons](https://bitbucket.org/toomanymelons) scope to package name ([46fa868](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/46fa868))
1231
-
1232
- ## [1.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v1.0.0...v1.0.1) (2019-05-24)
1233
-
1234
-
1235
- ### Bug Fixes
1236
-
1237
- * **config:** Set package.json private=false to allow publishing ([8b74590](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/8b74590))
1238
-
1239
- # 1.0.0 (2019-05-23)
1240
-
1241
-
1242
- ### Features
1243
-
1244
- * Initial version ([730f1ad](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/730f1ad))
1245
-
1246
- # 1.0.0 (2019-05-23)
1247
-
1248
-
1249
- ### Features
1250
-
1
+ ## [34.9.3](https://github.com/GLS-Spain/gps-common/compare/v34.9.2...v34.9.3) (2021-03-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add field to jsonSchema to fiscal data ([7dda0d6](https://github.com/GLS-Spain/gps-common/commit/7dda0d6a28c86cb60c6a013391282b2e2d087c73))
7
+
8
+ ## [34.9.2](https://github.com/GLS-Spain/gps-common/compare/v34.9.1...v34.9.2) (2021-01-25)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * fix specific error responses ([874aec1](https://github.com/GLS-Spain/gps-common/commit/874aec1d50dca89eed19c97c31594a89c128f2f9))
14
+
15
+ ## [34.9.1](https://github.com/GLS-Spain/gps-common/compare/v34.9.0...v34.9.1) (2021-01-19)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * fix find sales by createdAt range instead of date range ([c50f662](https://github.com/GLS-Spain/gps-common/commit/c50f662d9aaafca0ebc4345c0d78e0d9f68cdcff))
21
+
22
+ # [34.9.0](https://github.com/GLS-Spain/gps-common/compare/v34.8.1...v34.9.0) (2021-01-18)
23
+
24
+
25
+ ### Features
26
+
27
+ * add expire, unexpire, update derivation, add date range to find expeditions and sales ([8290523](https://github.com/GLS-Spain/gps-common/commit/8290523fe0fc0f366cf0a1299a3a2b3484f20d16))
28
+
29
+ ## [34.8.1](https://github.com/GLS-Spain/gps-common/compare/v34.8.0...v34.8.1) (2021-01-13)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * change expedition and sale download label response to base 64 ([7306949](https://github.com/GLS-Spain/gps-common/commit/73069495d21900dd5e0c93c1c0e02436e109333c))
35
+
36
+ # [34.8.0](https://github.com/GLS-Spain/gps-common/compare/v34.7.0...v34.8.0) (2021-01-08)
37
+
38
+
39
+ ### Features
40
+
41
+ * add download label to expeditions and sales ([68c49db](https://github.com/GLS-Spain/gps-common/commit/68c49dbc306caa24f28d07fb72dfc9f19cbf3c10))
42
+
43
+ # [34.7.0](https://github.com/GLS-Spain/gps-common/compare/v34.6.0...v34.7.0) (2020-12-21)
44
+
45
+
46
+ ### Bug Fixes
47
+
48
+ * change get defaults permissions to any role ([92c5f19](https://github.com/GLS-Spain/gps-common/commit/92c5f193ec744ac9cb66021ba20ef1b499ccd2f1))
49
+
50
+
51
+ ### Features
52
+
53
+ * add gls recording error ([15731bb](https://github.com/GLS-Spain/gps-common/commit/15731bb6e10a02178ecc536bd12ea34cde06ca97))
54
+
55
+ # [34.6.0](https://github.com/GLS-Spain/gps-common/compare/v34.5.1...v34.6.0) (2020-11-19)
56
+
57
+
58
+ ### Features
59
+
60
+ * add GLS Spain error to create sale ([38ad6c7](https://github.com/GLS-Spain/gps-common/commit/38ad6c7976d11c1ede5bc960e63d4a0cc22fe15f))
61
+
62
+ ## [34.5.1](https://github.com/GLS-Spain/gps-common/compare/v34.5.0...v34.5.1) (2020-10-26)
63
+
64
+
65
+ ### Bug Fixes
66
+
67
+ * change super admin find sales by network and shop to only shop ([18e52f6](https://github.com/GLS-Spain/gps-common/commit/18e52f65718ba2a49cc11980198922d4e2aed1f7))
68
+
69
+ # [34.5.0](https://github.com/GLS-Spain/gps-common/compare/v34.4.1...v34.5.0) (2020-10-26)
70
+
71
+
72
+ ### Features
73
+
74
+ * add find expeditions by sale ([7a85fb7](https://github.com/GLS-Spain/gps-common/commit/7a85fb713ee95da08725f8bd7ace7ecaef8c0d71))
75
+
76
+ ## [34.4.1](https://github.com/GLS-Spain/gps-common/compare/v34.4.0...v34.4.1) (2020-09-25)
77
+
78
+
79
+ ### Bug Fixes
80
+
81
+ * fix get own representatives being optional ([90ecbd5](https://github.com/GLS-Spain/gps-common/commit/90ecbd53b677cb41a88e7862072c4cd718ef3d74))
82
+
83
+ # [34.4.0](https://github.com/GLS-Spain/gps-common/compare/v34.3.0...v34.4.0) (2020-09-25)
84
+
85
+
86
+ ### Features
87
+
88
+ * add GET representatives/getOwn ([7e3f5bf](https://github.com/GLS-Spain/gps-common/commit/7e3f5bfd3675f328f9b4f080661a92b9a55202b6))
89
+
90
+ # [34.3.0](https://github.com/GLS-Spain/gps-common/compare/v34.2.0...v34.3.0) (2020-09-21)
91
+
92
+
93
+ ### Features
94
+
95
+ * add sell capability to shops and allow only shops with it to create sales ([74f9c41](https://github.com/GLS-Spain/gps-common/commit/74f9c415ed6b8e3c17d891a1c2c25e16193f2328))
96
+
97
+ # [34.2.0](https://github.com/GLS-Spain/gps-common/compare/v34.1.1...v34.2.0) (2020-09-17)
98
+
99
+
100
+ ### Features
101
+
102
+ * add /sales/update ([61be4c5](https://github.com/GLS-Spain/gps-common/commit/61be4c5f9f91f4e395939ba9db8c2cf3467da171))
103
+
104
+ ## [34.1.1](https://github.com/GLS-Spain/gps-common/compare/v34.1.0...v34.1.1) (2020-09-08)
105
+
106
+
107
+ ### Bug Fixes
108
+
109
+ * add missing invalid destination error to create sale ([b9ef5c0](https://github.com/GLS-Spain/gps-common/commit/b9ef5c06e11e01c9418278cead6dde96153179f3))
110
+
111
+ # [34.1.0](https://github.com/GLS-Spain/gps-common/compare/v34.0.1...v34.1.0) (2020-08-20)
112
+
113
+
114
+ ### Features
115
+
116
+ * can create expeditions that can be received on any shop of multiple networks ([f2fb145](https://github.com/GLS-Spain/gps-common/commit/f2fb14536fe21115a73f9d3edd3596596164d67e))
117
+
118
+ ## [34.0.1](https://github.com/GLS-Spain/gps-common/compare/v34.0.0...v34.0.1) (2020-07-30)
119
+
120
+
121
+ ### Bug Fixes
122
+
123
+ * require at least one email and phone for a sale sender ([91ed154](https://github.com/GLS-Spain/gps-common/commit/91ed15423a177882fb12b4241e4fae73ca99e551))
124
+
125
+ # [34.0.0](https://github.com/GLS-Spain/gps-common/compare/v33.0.9...v34.0.0) (2020-07-29)
126
+
127
+
128
+ ### Features
129
+
130
+ * rework sales statuses, add sales payment fields, add callbacks and redirects endpoints ([8e6a5ef](https://github.com/GLS-Spain/gps-common/commit/8e6a5ef7b51d4d02591a2e945512ac4eb3f96e82))
131
+
132
+
133
+ ### BREAKING CHANGES
134
+
135
+ * sales statuses have changed
136
+
137
+ ## [33.0.9](https://github.com/GLS-Spain/gps-common/compare/v33.0.8...v33.0.9) (2020-07-28)
138
+
139
+
140
+ ### Bug Fixes
141
+
142
+ * add sale does not exist error when creating an expedition with a shop and a sale ([2c7f9b1](https://github.com/GLS-Spain/gps-common/commit/2c7f9b1db39b9f68c8100b119cef80eccdf10f76))
143
+
144
+ ## [33.0.8](https://github.com/GLS-Spain/gps-common/compare/v33.0.7...v33.0.8) (2020-07-28)
145
+
146
+
147
+ ### Bug Fixes
148
+
149
+ * create expedition accepts a referenced sale only when created with a shop ([a19bfd0](https://github.com/GLS-Spain/gps-common/commit/a19bfd007d07691be15bc486a85d7392e52a2530))
150
+
151
+ ## [33.0.7](https://github.com/GLS-Spain/gps-common/compare/v33.0.6...v33.0.7) (2020-07-28)
152
+
153
+
154
+ ### Bug Fixes
155
+
156
+ * fix create sale request schema ([09db173](https://github.com/GLS-Spain/gps-common/commit/09db173bd8225e85386bd15043c6942e6caa503a))
157
+
158
+ ## [33.0.6](https://github.com/GLS-Spain/gps-common/compare/v33.0.5...v33.0.6) (2020-07-28)
159
+
160
+
161
+ ### Bug Fixes
162
+
163
+ * fix sales/checkPrice name ([943cb56](https://github.com/GLS-Spain/gps-common/commit/943cb56cfe74907f4c61bcd7d16d0be0793091b5))
164
+
165
+ ## [33.0.5](https://github.com/GLS-Spain/gps-common/compare/v33.0.4...v33.0.5) (2020-07-28)
166
+
167
+
168
+ ### Bug Fixes
169
+
170
+ * remove find all sales for super admins ([ce54dd6](https://github.com/GLS-Spain/gps-common/commit/ce54dd641241d842bd9ec403bc05eed3db9f69a1))
171
+
172
+ ## [33.0.4](https://github.com/GLS-Spain/gps-common/compare/v33.0.3...v33.0.4) (2020-07-28)
173
+
174
+
175
+ ### Bug Fixes
176
+
177
+ * add zone to sales check price response ([152da0c](https://github.com/GLS-Spain/gps-common/commit/152da0c566054e65f22a7a0b2ac963bd00c4a7a2))
178
+
179
+ ## [33.0.3](https://github.com/GLS-Spain/gps-common/compare/v33.0.2...v33.0.3) (2020-07-28)
180
+
181
+
182
+ ### Bug Fixes
183
+
184
+ * add missing shop errors to create sale ([a9acdc3](https://github.com/GLS-Spain/gps-common/commit/a9acdc3f4874b00c8a9baa84f6f1f6bb81b2516f))
185
+
186
+ ## [33.0.2](https://github.com/GLS-Spain/gps-common/compare/v33.0.1...v33.0.2) (2020-07-28)
187
+
188
+
189
+ ### Bug Fixes
190
+
191
+ * fix super admin find sales request, should be find by network and shop, not only shop ([56403be](https://github.com/GLS-Spain/gps-common/commit/56403be066b6d24f1689c1681a58c83d80f01454))
192
+
193
+ ## [33.0.1](https://github.com/GLS-Spain/gps-common/compare/v33.0.0...v33.0.1) (2020-07-27)
194
+
195
+
196
+ ### Bug Fixes
197
+
198
+ * rework the defaults sales settings because the old structure did not work for some combinations ([7e36141](https://github.com/GLS-Spain/gps-common/commit/7e36141e227a6bb74be4886c9144916fc6d63d25))
199
+
200
+ # [33.0.0](https://github.com/GLS-Spain/gps-common/compare/v32.5.0...v33.0.0) (2020-07-27)
201
+
202
+
203
+ ### Bug Fixes
204
+
205
+ * add sale to expedition ([ed0b4ac](https://github.com/GLS-Spain/gps-common/commit/ed0b4ace008e2580c67f4f1d7c700965bf342d24))
206
+ * remove required from sale.sender.fiscal ([9b34e55](https://github.com/GLS-Spain/gps-common/commit/9b34e55509f1ff393ccb52cebee60fd0c1e65bfd))
207
+
208
+
209
+ ### Features
210
+
211
+ * add sales ([d26b235](https://github.com/GLS-Spain/gps-common/commit/d26b235170972e5b4992d3d5add0b18b046d59eb))
212
+
213
+
214
+ ### BREAKING CHANGES
215
+
216
+ * defaults and networks have new salesSettings fields, init has been removed
217
+
218
+ # [32.5.0](https://github.com/GLS-Spain/gps-common/compare/v32.4.0...v32.5.0) (2020-07-16)
219
+
220
+
221
+ ### Features
222
+
223
+ * add readonly to networks and shops, and network and shop cannot be updated errors ([8ba03cc](https://github.com/GLS-Spain/gps-common/commit/8ba03cce1e8495a7540e2726c44ddf1af7427dd5))
224
+
225
+ # [32.4.0](https://github.com/GLS-Spain/gps-common/compare/v32.3.0...v32.4.0) (2020-07-16)
226
+
227
+
228
+ ### Features
229
+
230
+ * add counters ([54638a1](https://github.com/GLS-Spain/gps-common/commit/54638a1c54317c8adb136258837b230e025b8553))
231
+
232
+ # [32.3.0](https://github.com/GLS-Spain/gps-common/compare/v32.2.0...v32.3.0) (2020-07-16)
233
+
234
+
235
+ ### Features
236
+
237
+ * add international fields to shop schema ([b95be40](https://github.com/GLS-Spain/gps-common/commit/b95be40e6d68c14a7132c04dc7a1bc90220a973b))
238
+
239
+ # [32.2.0](https://github.com/GLS-Spain/gps-common/compare/v32.1.1...v32.2.0) (2020-06-10)
240
+
241
+
242
+ ### Features
243
+
244
+ * add activity to shops ([7d9d73e](https://github.com/GLS-Spain/gps-common/commit/7d9d73e37276ea4565839e75466bfe3dd025b14c)), closes [#GPS-369](https://github.com/GLS-Spain/gps-common/issues/GPS-369)
245
+
246
+ ## [32.1.1](https://github.com/GLS-Spain/gps-common/compare/v32.1.0...v32.1.1) (2020-04-27)
247
+
248
+
249
+ ### Bug Fixes
250
+
251
+ * split find expeditions between network admins and shop users ([299e03c](https://github.com/GLS-Spain/gps-common/commit/299e03cad70be83123c5d5f710eff02a46e68e0e))
252
+
253
+ # [32.1.0](https://github.com/GLS-Spain/gps-common/compare/v32.0.3...v32.1.0) (2020-04-27)
254
+
255
+
256
+ ### Features
257
+
258
+ * add find expeditions by shop and types and status ([7f6d137](https://github.com/GLS-Spain/gps-common/commit/7f6d13773419f5aa215435646d0862cd0a4cb7e7))
259
+
260
+ ## [32.0.3](https://github.com/GLS-Spain/gps-common/compare/v32.0.2...v32.0.3) (2020-04-17)
261
+
262
+
263
+ ### Bug Fixes
264
+
265
+ * fix old descriptions in readme and openapi ([d2b68e7](https://github.com/GLS-Spain/gps-common/commit/d2b68e78c05b1e4e701ea812c8d74b83ddaa2fa7))
266
+ * remove .npmrc ([a06b501](https://github.com/GLS-Spain/gps-common/commit/a06b50138e6979db223de0b72b443fd0d7b747e6))
267
+
268
+ ## [32.0.2](https://github.com/GLS-Spain/gps-common/compare/v32.0.1...v32.0.2) (2020-04-01)
269
+
270
+
271
+ ### Bug Fixes
272
+
273
+ * remove expiration date from the gls spain receive from customer event ([3d199b1](https://github.com/GLS-Spain/gps-common/commit/3d199b1b8eb72bc9a759c155bec25ae4a57231f6))
274
+
275
+ ## [32.0.1](https://github.com/GLS-Spain/gps-common/compare/v32.0.0...v32.0.1) (2020-03-31)
276
+
277
+
278
+ ### Bug Fixes
279
+
280
+ * improve documentation about receiving expeditions with no shop ([3c08269](https://github.com/GLS-Spain/gps-common/commit/3c08269d7a68f631a37cfd4322fc8cdb1ede2795))
281
+
282
+ # [32.0.0](https://github.com/GLS-Spain/gps-common/compare/v31.0.3...v32.0.0) (2020-03-28)
283
+
284
+
285
+ ### Bug Fixes
286
+
287
+ * change historic record actionDetails for actionKeys ([7f9acc5](https://github.com/GLS-Spain/gps-common/commit/7f9acc5f746a16b42a58bbc99379381a84ac9f49))
288
+
289
+
290
+ ### BREAKING CHANGES
291
+
292
+ * historic records schema has changed
293
+
294
+ ## [31.0.3](https://github.com/GLS-Spain/gps-common/compare/v31.0.2...v31.0.3) (2020-03-26)
295
+
296
+
297
+ ### Bug Fixes
298
+
299
+ * fix typo in expire action detail of historic records ([a484484](https://github.com/GLS-Spain/gps-common/commit/a484484a6082fb68a340ecc51cd13190142939a5))
300
+
301
+ ## [31.0.2](https://github.com/GLS-Spain/gps-common/compare/v31.0.1...v31.0.2) (2020-03-25)
302
+
303
+
304
+ ### Bug Fixes
305
+
306
+ * fix init request schema ([c07a631](https://github.com/GLS-Spain/gps-common/commit/c07a6314d6e8c1aff0d3b4068964f1aeaecd829e))
307
+
308
+ ## [31.0.1](https://github.com/GLS-Spain/gps-common/compare/v31.0.0...v31.0.1) (2020-03-25)
309
+
310
+
311
+ ### Bug Fixes
312
+
313
+ * fix networks field in integration schema ([f77408d](https://github.com/GLS-Spain/gps-common/commit/f77408d871aee56d6d8dc8ffdb2eaeb844570d3e))
314
+
315
+ # [31.0.0](https://github.com/GLS-Spain/gps-common/compare/v30.0.1...v31.0.0) (2020-03-22)
316
+
317
+
318
+ ### Features
319
+
320
+ * improve documentation ([81291a0](https://github.com/GLS-Spain/gps-common/commit/81291a053380f338c96bdf06a47fd4a1799bea54))
321
+ * remove expedition.derivation.packages ([8765ca9](https://github.com/GLS-Spain/gps-common/commit/8765ca98d1b0b76681827fcf6f1ec3365d1172f3))
322
+ * remove pod network, shop and expeditions ([8407e04](https://github.com/GLS-Spain/gps-common/commit/8407e04571ec80ecb6d2023a8ebec18042f8fe37))
323
+
324
+
325
+ ### BREAKING CHANGES
326
+
327
+ * simplify pod schema, now can only be found by _id
328
+ * removed expedition.derivation.packages
329
+
330
+ ## [30.0.1](https://github.com/GLS-Spain/gps-common/compare/v30.0.0...v30.0.1) (2020-03-19)
331
+
332
+
333
+ ### Bug Fixes
334
+
335
+ * fix defaults denormalization in network and shop schemas ([d7984fb](https://github.com/GLS-Spain/gps-common/commit/d7984fb32b4db683777b7587b989a2f464c2c29b))
336
+
337
+ # [30.0.0](https://github.com/GLS-Spain/gps-common/compare/v29.0.0...v30.0.0) (2020-03-17)
338
+
339
+
340
+ ### Features
341
+
342
+ * historic records are now created for all resources except pods ([1ab3a02](https://github.com/GLS-Spain/gps-common/commit/1ab3a02ef81f9f93ee2524a187bd313df5281cba))
343
+
344
+
345
+ ### BREAKING CHANGES
346
+
347
+ * historic records are no longer only for networks, shops and expeditions
348
+
349
+ # [29.0.0](https://github.com/GLS-Spain/gps-common/compare/v28.0.1...v29.0.0) (2020-03-16)
350
+
351
+
352
+ ### Features
353
+
354
+ * add deletable to historic records and integrations ([b81042d](https://github.com/GLS-Spain/gps-common/commit/b81042d4a25e9d3895a1b2907feba19a5121e016))
355
+ * remove tags and integrations, add users permissions ([9caf2bf](https://github.com/GLS-Spain/gps-common/commit/9caf2bfa1387d515da7198e751b6363731b099e2))
356
+
357
+
358
+ ### BREAKING CHANGES
359
+
360
+ * changed networks, shops, expeditions, users and representatives schemas
361
+
362
+ ## [28.0.1](https://github.com/GLS-Spain/gps-common/compare/v28.0.0...v28.0.1) (2020-03-15)
363
+
364
+
365
+ ### Bug Fixes
366
+
367
+ * remove job error, change all errors to extend DatabaseError ([03bb9ae](https://github.com/GLS-Spain/gps-common/commit/03bb9aeb40c0a758cc09ad7cecc7bc674817d4f2))
368
+
369
+ # [28.0.0](https://github.com/GLS-Spain/gps-common/compare/v27.2.0...v28.0.0) (2020-03-15)
370
+
371
+
372
+ ### Features
373
+
374
+ * change expeditions to allow no shop until reception ([ebb7ed7](https://github.com/GLS-Spain/gps-common/commit/ebb7ed70de3d2a76435cb9677016a11d3c698769))
375
+ * remove jobs endpoints, add historic records and integrations ([65d8b50](https://github.com/GLS-Spain/gps-common/commit/65d8b503363489934c09f19ee1001b2d5f3884cf))
376
+
377
+
378
+ ### BREAKING CHANGES
379
+
380
+ * jobs replaced by historic records and integrations
381
+ * expeditions may have no shop until reception
382
+
383
+ # [27.2.0](https://github.com/GLS-Spain/gps-common/compare/v27.1.1...v27.2.0) (2020-02-20)
384
+
385
+
386
+ ### Features
387
+
388
+ * trim strings in schemas ([06fc8c1](https://github.com/GLS-Spain/gps-common/commit/06fc8c13e3dc32b0e9cbe0a5c3717e886919ee33))
389
+
390
+ ## [27.1.1](https://github.com/GLS-Spain/gps-common/compare/v27.1.0...v27.1.1) (2020-02-18)
391
+
392
+
393
+ ### Bug Fixes
394
+
395
+ * add .npmrc ([8518753](https://github.com/GLS-Spain/gps-common/commit/851875328f73eecafab8f902a4e125e3d00c0993))
396
+
397
+ # [27.1.0](https://github.com/GLS-Spain/gps-common/compare/v27.0.2...v27.1.0) (2020-02-04)
398
+
399
+
400
+ ### Features
401
+
402
+ * change network and shop fiscal to optional, add shop disabled reason ([3535e44](https://github.com/GLS-Spain/gps-common/commit/3535e44bf87795825fd679241ad0de04928ce94a))
403
+
404
+ ## [27.0.2](https://github.com/GLS-Spain/gps-common/compare/v27.0.1...v27.0.2) (2020-01-29)
405
+
406
+
407
+ ### Bug Fixes
408
+
409
+ * fix readme ([6187025](https://github.com/GLS-Spain/gps-common/commit/61870251d99f1db115c94600ecfdadf596ad37d1))
410
+
411
+ ## [27.0.1](https://github.com/GLS-Spain/gps-common/compare/v27.0.0...v27.0.1) (2020-01-29)
412
+
413
+
414
+ ### Bug Fixes
415
+
416
+ * update readme with new [@gls](https://github.com/gls)_spain scope ([5cb67d3](https://github.com/GLS-Spain/gps-common/commit/5cb67d3871b820cd520798d57b2d00a975d2cdd2))
417
+
418
+ # [27.0.0](https://github.com/GLS-Spain/gps-common/compare/v26.1.0...v27.0.0) (2020-01-29)
419
+
420
+
421
+ ### chore
422
+
423
+ * migrate to [@gls](https://github.com/gls)_spain packages ([cc1a484](https://github.com/GLS-Spain/gps-common/commit/cc1a484471d35d82bf51124e403f7de21d376289))
424
+
425
+
426
+ ### BREAKING CHANGES
427
+
428
+ * package scope has changed to @gls_spain
429
+
430
+ # [26.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v26.0.1...v26.1.0) (2020-01-29)
431
+
432
+
433
+ ### Features
434
+
435
+ * add contacts to networks and shops ([f9f2b07](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f9f2b073204af5eb52b1dbb55ce4de3309babd10)), closes [#GPS-425](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-425)
436
+
437
+ ## [26.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v26.0.0...v26.0.1) (2020-01-21)
438
+
439
+
440
+ ### Bug Fixes
441
+
442
+ * fix price event schema ([f7fce50](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f7fce504e228fd93a42d3734604121b5409ea9e7))
443
+
444
+ # [26.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v25.4.0...v26.0.0) (2020-01-17)
445
+
446
+
447
+ ### Features
448
+
449
+ * add fiscal data to networks, refactor shop fiscal data ([428b171](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/428b17100cbd7795c76f5a1501269b3ee80e2292))
450
+ * add network event and price event, add network job, split derivation total price ([dbebebd](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/dbebebd6b3747f02fe5a537084ee3ea845154f15))
451
+ * add nif to fiscal data, add find shop by fiscal ([b0e44e1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b0e44e1230a52e5b3d0416d9186b26af6312200e))
452
+ * change expedition.status.expiration to use datetimes for reminders ([f3c8549](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f3c8549f55c66e072b2c947513feac3154719b0a))
453
+ * enable email validation ([f24dddb](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f24dddb692385e5c9f03591b0fd20ccab0971c31))
454
+ * split defaults, network and shop derivation settings into network rate and shop rate ([4946fa2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/4946fa2819654620093f9585782c7d327d7a8562))
455
+
456
+
457
+ ### BREAKING CHANGES
458
+
459
+ * expiration reminders are now datetimes
460
+ * fiscal data now has nif
461
+ * networks now have fiscal data, shop fiscal data has changed
462
+ * defaults, network and shop derivation settings now have network and shop rate
463
+
464
+ # [25.4.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v25.3.1...v25.4.0) (2019-12-30)
465
+
466
+
467
+ ### Features
468
+
469
+ * add expeditions find by code ([64e12b6](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/64e12b64a09fd3224a8007073c6d36cc39556e95))
470
+
471
+ ## [25.3.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v25.3.0...v25.3.1) (2019-12-05)
472
+
473
+
474
+ ### Bug Fixes
475
+
476
+ * fix the /expeditions/receiveAllFromDriver response schema ([1f8b6fa](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/1f8b6fa))
477
+
478
+ # [25.3.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v25.2.1...v25.3.0) (2019-12-05)
479
+
480
+
481
+ ### Features
482
+
483
+ * Add /expeditions/receiveAllFromDriver and shop user integration 'canReceiveAllFromDriver' ([6e1bbb6](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/6e1bbb6))
484
+
485
+ ## [25.2.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v25.2.0...v25.2.1) (2019-11-26)
486
+
487
+
488
+ ### Bug Fixes
489
+
490
+ * fix get representatives commission response ([be6973a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/be6973a)), closes [#GPS-368](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-368)
491
+
492
+ # [25.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v25.1.0...v25.2.0) (2019-11-26)
493
+
494
+
495
+ ### Features
496
+
497
+ * add /representatives/getCommissions ([ee10c28](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/ee10c28)), closes [#GPS-368](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-368)
498
+
499
+ # [25.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v25.0.0...v25.1.0) (2019-11-21)
500
+
501
+
502
+ ### Features
503
+
504
+ * change email schema to accept any string ([0b383fe](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/0b383fe))
505
+
506
+ # [25.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v24.2.0...v25.0.0) (2019-11-15)
507
+
508
+
509
+ ### Features
510
+
511
+ * add zones with commissions and link shops and representatives to them ([6e4c4fb](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/6e4c4fb)), closes [#GPS-367](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-367)
512
+
513
+
514
+ ### BREAKING CHANGES
515
+
516
+ * representatives have a relation to zones instead of commissions
517
+
518
+ # [24.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v24.1.0...v24.2.0) (2019-11-12)
519
+
520
+
521
+ ### Features
522
+
523
+ * usernames are limited to [a-zA-Z0-9] characters and minimum length 3 ([6a2237c](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/6a2237c))
524
+
525
+ # [24.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v24.0.0...v24.1.0) (2019-11-11)
526
+
527
+
528
+ ### Features
529
+
530
+ * allow tags on resources creation for backwards compatibility ([7fdf449](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/7fdf449))
531
+
532
+ # [24.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v23.0.1...v24.0.0) (2019-11-06)
533
+
534
+
535
+ ### Features
536
+
537
+ * reduce the capabilities of network admins ([afe4544](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/afe4544))
538
+
539
+
540
+ ### BREAKING CHANGES
541
+
542
+ * network admins cannot create/update/delete shops or shop users
543
+
544
+ ## [23.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v23.0.0...v23.0.1) (2019-11-04)
545
+
546
+
547
+ ### Bug Fixes
548
+
549
+ * fix error name ([bc1839b](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/bc1839b))
550
+
551
+ # [23.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v22.1.0...v23.0.0) (2019-10-24)
552
+
553
+
554
+ ### Features
555
+
556
+ * redo how derivation and expiration settings work ([a9073f8](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/a9073f8))
557
+
558
+
559
+ ### BREAKING CHANGES
560
+
561
+ * network and shops may no longer have derivation and expiration settings on their
562
+ root
563
+
564
+ # [22.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v22.0.0...v22.1.0) (2019-10-22)
565
+
566
+
567
+ ### Features
568
+
569
+ * add sales representatives CRUD and to shops ([60573a5](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/60573a5))
570
+
571
+ # [22.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v21.1.0...v22.0.0) (2019-10-21)
572
+
573
+
574
+ ### Features
575
+
576
+ * change shop openingSchedule structure ([dd4a938](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/dd4a938))
577
+
578
+
579
+ ### BREAKING CHANGES
580
+
581
+ * shop opening schedule structure has changed
582
+
583
+ # [21.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v21.0.0...v21.1.0) (2019-10-15)
584
+
585
+
586
+ ### Features
587
+
588
+ * add fiscal to shop update ([dfd61d5](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/dfd61d5))
589
+
590
+ # [21.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v20.3.0...v21.0.0) (2019-10-15)
591
+
592
+
593
+ ### Features
594
+
595
+ * add fiscal to shop ([0a998e1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/0a998e1))
596
+ * Add timezone to shop ([fb9f742](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/fb9f742)), closes [#GPS-291](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-291)
597
+
598
+
599
+ ### BREAKING CHANGES
600
+
601
+ * create shop now required fiscal
602
+ * Shop creation now requires a timezone
603
+
604
+ # [20.3.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v20.2.1...v20.3.0) (2019-10-08)
605
+
606
+
607
+ ### Features
608
+
609
+ * add errorsNames ([b3722e4](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b3722e4))
610
+
611
+ ## [20.2.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v20.2.0...v20.2.1) (2019-10-08)
612
+
613
+
614
+ ### Bug Fixes
615
+
616
+ * hardcode errors names to prevent loss when uglifying ([c90f69d](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/c90f69d))
617
+
618
+ # [20.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v20.1.0...v20.2.0) (2019-10-07)
619
+
620
+
621
+ ### Features
622
+
623
+ * add upsert shop event and find shop jobs ([f7d2ccc](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f7d2ccc))
624
+
625
+ # [20.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v20.0.0...v20.1.0) (2019-10-03)
626
+
627
+
628
+ ### Features
629
+
630
+ * add expeditions receiveFromCustomer and extend giveToDriver for pickups ([6ad4fab](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/6ad4fab)), closes [#GPS-95](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-95)
631
+
632
+ # [20.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v19.3.1...v20.0.0) (2019-10-02)
633
+
634
+
635
+ ### Features
636
+
637
+ * use new private packages, change date times to date-time format ([ab4c08b](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/ab4c08b)), closes [#GPS-326](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-326)
638
+
639
+
640
+ ### BREAKING CHANGES
641
+
642
+ * Date times changed to date-time format
643
+
644
+ ## [19.3.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v19.3.0...v19.3.1) (2019-09-28)
645
+
646
+
647
+ ### Bug Fixes
648
+
649
+ * fix network schema format ([f7022f0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f7022f0))
650
+
651
+ # [19.3.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v19.2.0...v19.3.0) (2019-09-28)
652
+
653
+
654
+ ### Features
655
+
656
+ * adapt schemas to new normalize keyword ([999fa5a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/999fa5a))
657
+
658
+ # [19.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v19.1.0...v19.2.0) (2019-09-27)
659
+
660
+
661
+ ### Features
662
+
663
+ * use new package common-json-schemas ([1dfdac0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/1dfdac0))
664
+
665
+ # [19.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v19.0.1...v19.1.0) (2019-09-26)
666
+
667
+
668
+ ### Features
669
+
670
+ * add expirationDate to receiveFromDriver event ([5d8c99b](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/5d8c99b))
671
+
672
+ ## [19.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v19.0.0...v19.0.1) (2019-09-23)
673
+
674
+
675
+ ### Bug Fixes
676
+
677
+ * change the format of the datetime properties of the sent events ([b2bc943](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b2bc943))
678
+
679
+ # [19.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v18.1.0...v19.0.0) (2019-09-18)
680
+
681
+
682
+ ### Features
683
+
684
+ * Add more specific 401 error responses ([e3c1359](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/e3c1359))
685
+
686
+
687
+ ### BREAKING CHANGES
688
+
689
+ * Some 401 errors are more specific and their names have changed
690
+
691
+ # [18.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v18.0.0...v18.1.0) (2019-09-17)
692
+
693
+
694
+ ### Features
695
+
696
+ * **expeditions:** Packages weight is now optional ([dbd05a8](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/dbd05a8))
697
+
698
+ # [18.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v17.0.0...v18.0.0) (2019-09-12)
699
+
700
+
701
+ ### Features
702
+
703
+ * Change networks and users sendIntegrationEvents to integrations array ([dc1a072](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/dc1a072)), closes [#GPS-279](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-279)
704
+
705
+
706
+ ### BREAKING CHANGES
707
+
708
+ * Networks and users sendIntegrationEvents changed to integrations array
709
+
710
+ # [17.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v16.0.1...v17.0.0) (2019-09-12)
711
+
712
+
713
+ ### Features
714
+
715
+ * Add sendIntegration events to networks and users ([5c23b42](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/5c23b42)), closes [#GPS-279](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-279)
716
+
717
+
718
+ ### BREAKING CHANGES
719
+
720
+ * Users sendEvents changed to sendIntegrationEvents
721
+
722
+ ## [16.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v16.0.0...v16.0.1) (2019-09-06)
723
+
724
+
725
+ ### Bug Fixes
726
+
727
+ * Fix missing required for integration events _id ([420b43a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/420b43a))
728
+
729
+ # [16.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v15.0.0...v16.0.0) (2019-09-06)
730
+
731
+
732
+ ### Features
733
+
734
+ * **documentation:** Refactor documentation with resources, integration and endpoints sections ([d6f8e98](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/d6f8e98))
735
+
736
+
737
+ ### BREAKING CHANGES
738
+
739
+ * **documentation:** /system and /defaults endpoints moved to /config
740
+
741
+ # [15.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v14.0.0...v15.0.0) (2019-09-03)
742
+
743
+
744
+ ### Bug Fixes
745
+
746
+ * Rename costumer to customer everywhere ([da55bae](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/da55bae))
747
+
748
+
749
+ ### BREAKING CHANGES
750
+
751
+ * Costumer renamed to customer in all schemas and endpoints
752
+
753
+ # [14.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v13.2.1...v14.0.0) (2019-08-18)
754
+
755
+
756
+ ### Bug Fixes
757
+
758
+ * **Expedition job:** Rename pickupReminder to expirationReminder ([d412c77](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/d412c77))
759
+
760
+
761
+ ### BREAKING CHANGES
762
+
763
+ * **Expedition job:** Renamed pickupReminder to expirationReminder
764
+
765
+ ## [13.2.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v13.2.0...v13.2.1) (2019-08-14)
766
+
767
+
768
+ ### Bug Fixes
769
+
770
+ * **jobs:** Fix jobsFindExpeditionsResponse schema wrong use of oneOf ([f74cf89](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f74cf89))
771
+
772
+ # [13.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v13.1.0...v13.2.0) (2019-08-14)
773
+
774
+
775
+ ### Features
776
+
777
+ * **errors:** Add job does not exist error ([6628364](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/6628364))
778
+
779
+ # [13.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v13.0.3...v13.1.0) (2019-08-14)
780
+
781
+
782
+ ### Features
783
+
784
+ * **background jobs:** Add schemas and documentation for background jobs ([0172b67](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/0172b67)), closes [#GPS-255](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-255)
785
+
786
+ ## [13.0.3](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v13.0.2...v13.0.3) (2019-08-12)
787
+
788
+
789
+ ### Bug Fixes
790
+
791
+ * **pods:** Add network and shop to pod schema ([ebb2b23](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/ebb2b23)), closes [#GPS-265](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-265)
792
+
793
+ ## [13.0.2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v13.0.1...v13.0.2) (2019-08-11)
794
+
795
+
796
+ ### Bug Fixes
797
+
798
+ * **expeditions:** Change pod single expedition reference to an array ([08da410](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/08da410))
799
+
800
+ ## [13.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v13.0.0...v13.0.1) (2019-08-11)
801
+
802
+
803
+ ### Bug Fixes
804
+
805
+ * **pods:** Add missing pod schema properties ([66592a1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/66592a1))
806
+
807
+ # [13.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v12.0.2...v13.0.0) (2019-08-11)
808
+
809
+
810
+ ### Code Refactoring
811
+
812
+ * **expeditions:** Refactor status properties and operations names ([acc325b](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/acc325b))
813
+
814
+
815
+ ### BREAKING CHANGES
816
+
817
+ * **expeditions:** Changed expeditions schema and receive/give operations endpoints
818
+
819
+ ## [12.0.2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v12.0.1...v12.0.2) (2019-08-10)
820
+
821
+
822
+ ### Bug Fixes
823
+
824
+ * **expeditions:** Fix and improve expeditions pickup and deliver documentation ([4609876](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/4609876))
825
+
826
+ ## [12.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v12.0.0...v12.0.1) (2019-08-09)
827
+
828
+
829
+ ### Bug Fixes
830
+
831
+ * **expeditions:** Fix scan request schema ([b9164b4](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b9164b4)), closes [#GPS-88](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-88)
832
+
833
+ # [12.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v11.1.0...v12.0.0) (2019-08-09)
834
+
835
+
836
+ ### Features
837
+
838
+ * **expeditions:** Refactor scan and pickup from driver, add deliver to costumer and driver, add POD ([f6bc54e](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f6bc54e)), closes [#GPS-88](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-88)
839
+
840
+
841
+ ### BREAKING CHANGES
842
+
843
+ * **expeditions:** Expedition schema, scan and pickup from driver have changed
844
+
845
+ # [11.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v11.0.2...v11.1.0) (2019-08-07)
846
+
847
+
848
+ ### Features
849
+
850
+ * Add sendEvents property to users ([00641d4](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/00641d4)), closes [#GPS-181](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-181)
851
+
852
+ ## [11.0.2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v11.0.1...v11.0.2) (2019-08-06)
853
+
854
+
855
+ ### Bug Fixes
856
+
857
+ * Fix /expeditions/processDriver schemas ([eb3d07e](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/eb3d07e)), closes [#GPS-82](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-82)
858
+
859
+ ## [11.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v11.0.0...v11.0.1) (2019-08-06)
860
+
861
+
862
+ ### Bug Fixes
863
+
864
+ * **documentation:** Fix expeditions update and redirect error responses ([70f19bc](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/70f19bc))
865
+
866
+ # [11.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v10.0.0...v11.0.0) (2019-08-06)
867
+
868
+
869
+ ### Features
870
+
871
+ * **expeditions:** Change status update to specific endpoints, refactor status content ([e5e1957](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/e5e1957)), closes [#GPS-246](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-246)
872
+
873
+
874
+ ### BREAKING CHANGES
875
+
876
+ * **expeditions:** Move expedition fields inside status, change update status to specific endpoints
877
+
878
+ # [10.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v9.4.0...v10.0.0) (2019-08-05)
879
+
880
+
881
+ ### Features
882
+
883
+ * Add derivation and expiration to expeditions ([17a1502](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/17a1502)), closes [#GPS-246](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-246)
884
+
885
+
886
+ ### BREAKING CHANGES
887
+
888
+ * Expeditions no longer have expirationDate, and date and expectedDeliveryDate are no
889
+ longer datetimes
890
+
891
+ # [9.4.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v9.3.0...v9.4.0) (2019-08-02)
892
+
893
+
894
+ ### Features
895
+
896
+ * **documentation:** Add shop is not enabled error to expedition create and update ([cc64713](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/cc64713)), closes [#GPS-245](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-245)
897
+
898
+ # [9.3.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v9.2.0...v9.3.0) (2019-07-31)
899
+
900
+
901
+ ### Features
902
+
903
+ * Add defaults to initDatabase request and response ([8171cd7](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/8171cd7))
904
+
905
+ # [9.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v9.1.0...v9.2.0) (2019-07-31)
906
+
907
+
908
+ ### Features
909
+
910
+ * **errors:** Add defaults do not exist error and it to the documentation ([885e857](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/885e857))
911
+
912
+ # [9.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v9.0.0...v9.1.0) (2019-07-31)
913
+
914
+
915
+ ### Features
916
+
917
+ * **documentation:** Add default settings documentation ([36aead6](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/36aead6)), closes [#GPS-209](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-209)
918
+ * **documentation:** Add settings to network and shop documentation ([1a8d5fa](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/1a8d5fa)), closes [#GPS-209](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-209)
919
+ * **schemas:** Add default settings schemas ([c068802](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/c068802)), closes [#GPS-209](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-209)
920
+ * **schemas:** Add settings to network and shop schemas ([3280339](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/3280339)), closes [#GPS-209](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-209)
921
+
922
+ # [9.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v8.4.1...v9.0.0) (2019-07-29)
923
+
924
+
925
+ ### Bug Fixes
926
+
927
+ * Remove total from find requests ([7763b94](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/7763b94))
928
+
929
+
930
+ ### Code Refactoring
931
+
932
+ * Change /expeditions/scan request and response schemas ([c6aaabc](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/c6aaabc))
933
+
934
+
935
+ ### BREAKING CHANGES
936
+
937
+ * /expeditions/scan schemas have changed
938
+
939
+ ## [8.4.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v8.4.0...v8.4.1) (2019-07-29)
940
+
941
+
942
+ ### Bug Fixes
943
+
944
+ * **expeditions:** Add missing properties ([12eb565](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/12eb565))
945
+
946
+ # [8.4.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v8.3.0...v8.4.0) (2019-07-25)
947
+
948
+
949
+ ### Features
950
+
951
+ * **documentation:** Add authorization caption to documentation endpoints ([4452450](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/4452450)), closes [#GPS-199](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-199)
952
+
953
+ # [8.3.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v8.2.0...v8.3.0) (2019-07-25)
954
+
955
+
956
+ ### Features
957
+
958
+ * **documentation:** Add expeditions documentation ([8ef9d1c](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/8ef9d1c)), closes [#GPS-78](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-78)
959
+ * **errors:** Add expedition errors ([4723434](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/4723434)), closes [#GPS-78](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-78)
960
+ * **schemas:** Add expedition CRUD schemas ([f22a070](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f22a070)), closes [#GPS-78](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-78)
961
+
962
+ # [8.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v8.1.0...v8.2.0) (2019-07-18)
963
+
964
+
965
+ ### Bug Fixes
966
+
967
+ * **documentation:** Fix missing /login and /self authorization ([a8617b8](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/a8617b8))
968
+
969
+
970
+ ### Features
971
+
972
+ * **documentation:** Add /logout documentation ([dcd693f](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/dcd693f)), closes [#GPS-205](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-205)
973
+ * **schemas:** Add logout schemas ([88e2f86](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/88e2f86)), closes [#GPS-205](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-205)
974
+
975
+ # [8.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v8.0.0...v8.1.0) (2019-07-10)
976
+
977
+
978
+ ### Features
979
+
980
+ * **errors:** Add wrong password error ([a4307ca](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/a4307ca))
981
+
982
+ # [8.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v7.2.0...v8.0.0) (2019-07-10)
983
+
984
+
985
+ ### Code Refactoring
986
+
987
+ * Refactor networks and shops to remove sync fields ([02b8603](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/02b8603)), closes [#GPS-196](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-196)
988
+
989
+
990
+ ### BREAKING CHANGES
991
+
992
+ * Remove sync fields from network and shop schemas
993
+
994
+ # [7.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v7.1.0...v7.2.0) (2019-07-08)
995
+
996
+
997
+ ### Features
998
+
999
+ * **documentation:** Add /networks/listNames endpoint ([b0d8977](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b0d8977)), closes [#GPS-192](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-192)
1000
+ * **schemas:** Add list networks name schemas ([81fd94b](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/81fd94b)), closes [#GPS-192](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-192)
1001
+
1002
+ # [7.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v7.0.1...v7.1.0) (2019-07-08)
1003
+
1004
+
1005
+ ### Features
1006
+
1007
+ * **documentation:** Add /networkAdmins/updateSelf documentation ([e9f7e3a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/e9f7e3a)), closes [#GPS-193](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-193)
1008
+ * **documentation:** Add /shopUsers/updateSelf documentation ([632d2e6](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/632d2e6)), closes [#GPS-194](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-194)
1009
+ * **schemas:** Add network admin update self schemas ([7efa4fe](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/7efa4fe)), closes [#GPS-193](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-193)
1010
+ * **schemas:** Add shop user update self schemas ([16367d8](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/16367d8)), closes [#GPS-194](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-194)
1011
+
1012
+ ## [7.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v7.0.0...v7.0.1) (2019-07-03)
1013
+
1014
+
1015
+ ### Bug Fixes
1016
+
1017
+ * **documentation:** Fix example objects ([98d69ce](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/98d69ce))
1018
+
1019
+ # [7.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v6.0.1...v7.0.0) (2019-07-02)
1020
+
1021
+
1022
+ ### Bug Fixes
1023
+
1024
+ * **shops:** Change the shop status format ([fd81c83](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/fd81c83))
1025
+
1026
+
1027
+ ### BREAKING CHANGES
1028
+
1029
+ * **shops:** Shop status has changed to as single 'status' property
1030
+
1031
+ ## [6.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v6.0.0...v6.0.1) (2019-07-01)
1032
+
1033
+
1034
+ ### Bug Fixes
1035
+
1036
+ * **schemas:** Fix typo in update shop schema that hide openingSchedule ([3853d94](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/3853d94))
1037
+
1038
+ # [6.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v5.0.0...v6.0.0) (2019-07-01)
1039
+
1040
+
1041
+ ### Bug Fixes
1042
+
1043
+ * **schemas and documentation:** Change find shops by status to only accept 'enabled' or 'disabled' ([fc04514](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/fc04514))
1044
+ * **schemas and documentation:** Change update shop 'disabled' to allow one item at a time ([dfed6c4](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/dfed6c4))
1045
+
1046
+
1047
+ ### BREAKING CHANGES
1048
+
1049
+ * **schemas and documentation:** Update shop 'disable' array accepts only one item instead of an array
1050
+ * **schemas and documentation:** Find shops by status no longer accepts 'manuallyDisabled' or 'disabledUntilSync',
1051
+ instead 'disable' includes the three values
1052
+
1053
+ # [5.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v4.0.0...v5.0.0) (2019-06-27)
1054
+
1055
+
1056
+ ### Bug Fixes
1057
+
1058
+ * **schemas:** Fix missing shop exports in schemas/index.js ([4e038d2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/4e038d2))
1059
+
1060
+
1061
+ ### Code Refactoring
1062
+
1063
+ * **schemas and documentation:** Refactor the entire API to not use endpoints based on role ([f14a2cf](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/f14a2cf))
1064
+ * **shop schema:** Refactor shop status with an array of disabled reasons ([b77fe22](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b77fe22)), closes [#GPS-65](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-65)
1065
+
1066
+
1067
+ ### Features
1068
+
1069
+ * **documentation:** Add /networkAdmin/shops and /networkAdmin/shopUsers documentation ([145be2a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/145be2a)), closes [#GPS-67](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-67)
1070
+ * **documentation:** Add /superAdmin/shopUsers documentation ([c1328e2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/c1328e2)), closes [#GPS-67](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-67)
1071
+ * **schemas:** Add /networkAdmin/shops and /networkAdmin/shopUsers schemas ([6b5bca7](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/6b5bca7)), closes [#GPS-67](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-67)
1072
+ * **schemas:** Add /superAdmin/shopUsers schemas ([b3699be](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b3699be)), closes [#GPS-67](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-67)
1073
+
1074
+
1075
+ ### BREAKING CHANGES
1076
+
1077
+ * **schemas and documentation:** All the endpoints have changed to not include the role
1078
+ * **shop schema:** The shop schema has changed to a status and an array of disabled reasons
1079
+
1080
+ # [4.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v3.5.1...v4.0.0) (2019-06-21)
1081
+
1082
+
1083
+ ### Features
1084
+
1085
+ * **documentation:** Add /superAdmin/shops documentation ([7d8e482](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/7d8e482)), closes [#GPS-65](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-65)
1086
+ * **errors:** Add shop errors ([5b75920](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/5b75920)), closes [#GPS-65](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-65)
1087
+ * **schemas:** Add createdAt when creating users and networks ([4941209](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/4941209)), closes [#GPS-180](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-180)
1088
+ * **schemas:** Add gls.id to networks ([34de71f](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/34de71f)), closes [#GPS-183](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-183)
1089
+ * **schemas:** Add shop CRUD schemas ([897668a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/897668a)), closes [#GPS-65](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-65)
1090
+ * **schemas:** Add shop schema ([8d57a97](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/8d57a97)), closes [#GPS-63](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-63)
1091
+
1092
+
1093
+ ### BREAKING CHANGES
1094
+
1095
+ * **schemas:** creating a network now requires the gls.id property
1096
+
1097
+ ## [3.5.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v3.5.0...v3.5.1) (2019-06-12)
1098
+
1099
+
1100
+ ### Bug Fixes
1101
+
1102
+ * **documentation:** Add missing user does not exist error response to /become ([db056c4](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/db056c4))
1103
+
1104
+ # [3.5.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v3.4.0...v3.5.0) (2019-06-12)
1105
+
1106
+
1107
+ ### Features
1108
+
1109
+ * **/become:** Add schemas and documentation for /become ([6b0b850](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/6b0b850)), closes [#GPS-166](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-166)
1110
+
1111
+ # [3.4.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v3.3.0...v3.4.0) (2019-06-07)
1112
+
1113
+
1114
+ ### Features
1115
+
1116
+ * **schemas:** Update users schemas can remove nif and address by setting them to null ([3d080fc](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/3d080fc))
1117
+
1118
+ # [3.3.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v3.2.0...v3.3.0) (2019-05-31)
1119
+
1120
+
1121
+ ### Features
1122
+
1123
+ * **documentation:** Add versioning info and changelog link to the documentation ([3e16c43](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/3e16c43)), closes [#GPS-171](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-171)
1124
+
1125
+ # [3.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v3.1.0...v3.2.0) (2019-05-31)
1126
+
1127
+
1128
+ ### Features
1129
+
1130
+ * **/login:** The login may return a network does not exist error ([0986b28](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/0986b28)), closes [#GPS-164](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-164)
1131
+
1132
+ # [3.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v3.0.0...v3.1.0) (2019-05-31)
1133
+
1134
+
1135
+ ### Features
1136
+
1137
+ * **/login:** Add network admins login ([20a9031](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/20a9031)), closes [#GPS-164](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-164)
1138
+
1139
+ # [3.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.4.1...v3.0.0) (2019-05-31)
1140
+
1141
+
1142
+ ### Bug Fixes
1143
+
1144
+ * **/superAdmin/users:** Change update user address to always require a valid full address ([b86613c](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/b86613c)), closes [#GPS-168](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-168)
1145
+
1146
+
1147
+ ### Code Refactoring
1148
+
1149
+ * **documentation:** Split /superAdmin/users routes into superAdmin/superAdmins, superAdmin/netw ([5400ad2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/5400ad2))
1150
+ * **schemas:** Simplify schemas names, remove selfResponse schema (same as loginResponse) ([70ab16a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/70ab16a))
1151
+
1152
+
1153
+ ### BREAKING CHANGES
1154
+
1155
+ * **documentation:** /superAdmin/users routes are now superAdmin/superAdmins, superAdmin/networkAdmins
1156
+ and /self
1157
+ * **schemas:** The schemas names have changed and selfResponse has been removed
1158
+ * **/superAdmin/users:** When updating a user address a fully valid address must be provided even if only
1159
+ some fields change
1160
+
1161
+ ## [2.4.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.4.0...v2.4.1) (2019-05-31)
1162
+
1163
+
1164
+ ### Bug Fixes
1165
+
1166
+ * **/superAdmin/users:** Fix the update of an address to ensure that the address is complete ([8f45e21](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/8f45e21)), closes [#GPS-168](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-168)
1167
+
1168
+ # [2.4.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.3.1...v2.4.0) (2019-05-29)
1169
+
1170
+
1171
+ ### Bug Fixes
1172
+
1173
+ * **schemas:** Fix createNetworkRequest schema ([ecfeff6](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/ecfeff6))
1174
+
1175
+
1176
+ ### Features
1177
+
1178
+ * **/networks:** Add network schema ([32d6559](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/32d6559)), closes [#GPS-40](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-40)
1179
+ * **/superAdmin/networks:** Add /superAdmin/networks documentation ([daf925a](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/daf925a))
1180
+ * **/superAdmin/users:** Add /superAdmin/users network admins CRUD ([0bee1cc](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/0bee1cc)), closes [#GPS-66](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-66)
1181
+ * **errors:** Add network errors ([e1b0dcc](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/e1b0dcc))
1182
+ * **schemas:** Add /superAdmin/networks CRUD schemas ([2f6d86c](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/2f6d86c)), closes [#GPS-54](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-54)
1183
+ * **schemas:** Add networkAdmin schema ([00c09ab](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/00c09ab)), closes [#GPS-39](https://bitbucket.org/glsalbo/gls-parcel-shops-common/issue/GPS-39)
1184
+
1185
+ ## [2.3.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.3.0...v2.3.1) (2019-05-28)
1186
+
1187
+
1188
+ ### Bug Fixes
1189
+
1190
+ * **errors:** Fix UserAlreadyExistsError class name ([8fcfe23](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/8fcfe23))
1191
+
1192
+ # [2.3.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.2.0...v2.3.0) (2019-05-27)
1193
+
1194
+
1195
+ ### Features
1196
+
1197
+ * **/superAdmin/users:** Add schemas and documentation for super admins CRUD ([942491d](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/942491d))
1198
+
1199
+ # [2.2.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.1.1...v2.2.0) (2019-05-27)
1200
+
1201
+
1202
+ ### Features
1203
+
1204
+ * **schemas:** Add error response schema ([83ccb98](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/83ccb98))
1205
+
1206
+ ## [2.1.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.1.0...v2.1.1) (2019-05-26)
1207
+
1208
+
1209
+ ### Bug Fixes
1210
+
1211
+ * Fix initDatabaseResponse schema ([1ad8843](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/1ad8843))
1212
+
1213
+ # [2.1.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v2.0.0...v2.1.0) (2019-05-26)
1214
+
1215
+
1216
+ ### Features
1217
+
1218
+ * Add user errors ([bcab83d](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/bcab83d))
1219
+
1220
+ # [2.0.0](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v1.0.3...v2.0.0) (2019-05-26)
1221
+
1222
+
1223
+ ### Features
1224
+
1225
+ * Allow selective import of errors, open api spec and schemas ([4b5d85b](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/4b5d85b))
1226
+
1227
+
1228
+ ### BREAKING CHANGES
1229
+
1230
+ * The schemas export is now an object instead of an array
1231
+
1232
+ ## [1.0.3](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v1.0.2...v1.0.3) (2019-05-24)
1233
+
1234
+
1235
+ ### Bug Fixes
1236
+
1237
+ * **config:** Remove .npmrc ([340e682](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/340e682))
1238
+
1239
+ ## [1.0.2](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v1.0.1...v1.0.2) (2019-05-24)
1240
+
1241
+
1242
+ ### Bug Fixes
1243
+
1244
+ * **config:** Add [@toomanymelons](https://bitbucket.org/toomanymelons) scope to package name ([46fa868](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/46fa868))
1245
+
1246
+ ## [1.0.1](https://bitbucket.org/glsalbo/gls-parcel-shops-common/compare/v1.0.0...v1.0.1) (2019-05-24)
1247
+
1248
+
1249
+ ### Bug Fixes
1250
+
1251
+ * **config:** Set package.json private=false to allow publishing ([8b74590](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/8b74590))
1252
+
1253
+ # 1.0.0 (2019-05-23)
1254
+
1255
+
1256
+ ### Features
1257
+
1258
+ * Initial version ([730f1ad](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/730f1ad))
1259
+
1260
+ # 1.0.0 (2019-05-23)
1261
+
1262
+
1263
+ ### Features
1264
+
1251
1265
  * Initial version ([730f1ad](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/730f1ad))