@gls_spain/gps-common 35.3.0 → 35.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -3
- package/package.json +1 -1
- package/schemas/definitions/shops.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
## [35.3.1](https://github.com/GLS-Spain/gps-common/compare/v35.3.0...v35.3.1) (2024-07-23)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* shop schema bugfix ([56fdf1a](https://github.com/GLS-Spain/gps-common/commit/56fdf1ab2eb24d3c581ed6f46b120d3e5f9e989a))
|
|
7
7
|
|
|
8
|
+
# [35.3.0](https://github.com/GLS-Spain/gps-common/compare/v35.2.1...v35.3.0) (2024-07-22)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add: channeling agency field ([59d79e7](https://github.com/GLS-Spain/gps-common/commit/59d79e715450a6a28076a0f1f98a24549cf26c95))
|
|
14
|
+
|
|
8
15
|
## [35.2.1](https://github.com/GLS-Spain/gps-common/compare/v35.2.0...v35.2.1) (2024-07-16)
|
|
9
16
|
|
|
10
17
|
|
package/package.json
CHANGED
|
@@ -268,7 +268,7 @@ const shop = () => ({
|
|
|
268
268
|
squareCode: { type: ['integer', 'string'], minimum: 0, maximum: 32767, description: 'agency code' },
|
|
269
269
|
clientCode: { type: ['integer', 'string'], minimum: 0, description: 'client code' },
|
|
270
270
|
// 2024-07-22 JJC campo de agencia de canalización
|
|
271
|
-
|
|
271
|
+
channelingAgencyCode: { type: 'integer', minimum: 0 },
|
|
272
272
|
},
|
|
273
273
|
required: [
|
|
274
274
|
'_id',
|
|
@@ -341,7 +341,7 @@ const createShopRequest = () =>
|
|
|
341
341
|
'operations',
|
|
342
342
|
'squareCode',
|
|
343
343
|
'clientCode',
|
|
344
|
-
'
|
|
344
|
+
'channelingAgencyCode',
|
|
345
345
|
]),
|
|
346
346
|
},
|
|
347
347
|
required: ['network', 'status', 'name', 'address', 'openingSchedule', 'timezone'],
|
|
@@ -458,7 +458,7 @@ const updateShopRequest = () =>
|
|
|
458
458
|
'squareCode',
|
|
459
459
|
'clientCode',
|
|
460
460
|
],
|
|
461
|
-
['fiscal', 'activity', 'notes', 'derivationSettings', 'expirationSettings', '
|
|
461
|
+
['fiscal', 'activity', 'notes', 'derivationSettings', 'expirationSettings', 'channelingAgencyCode'],
|
|
462
462
|
),
|
|
463
463
|
},
|
|
464
464
|
minProperties: 1,
|
|
@@ -509,7 +509,7 @@ const upsertShopRequest = () => ({
|
|
|
509
509
|
'operations',
|
|
510
510
|
'squareCode',
|
|
511
511
|
'clientCode',
|
|
512
|
-
'
|
|
512
|
+
'channelingAgencyCode',
|
|
513
513
|
]),
|
|
514
514
|
},
|
|
515
515
|
required: ['network', 'status', 'name', 'address'],
|