@gls_spain/gps-common 35.4.8 → 35.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [35.4.9](https://github.com/GLS-Spain/gps-common/compare/v35.4.8...v35.4.9) (2024-08-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* fix on find by id internatinal schema ([90265b2](https://github.com/GLS-Spain/gps-common/commit/90265b2ea982861b6806018ccd7fca5eae4f3fa1))
|
|
7
|
+
|
|
1
8
|
## [35.4.8](https://github.com/GLS-Spain/gps-common/compare/v35.4.7...v35.4.8) (2024-08-06)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -437,7 +437,7 @@ const findByFiscal = () => ({
|
|
|
437
437
|
additionalProperties: false,
|
|
438
438
|
});
|
|
439
439
|
|
|
440
|
-
const
|
|
440
|
+
const findByIdInternational = () => ({
|
|
441
441
|
title: 'international data',
|
|
442
442
|
type: 'object',
|
|
443
443
|
properties: {
|
|
@@ -482,6 +482,6 @@ module.exports = {
|
|
|
482
482
|
contact,
|
|
483
483
|
fiscal,
|
|
484
484
|
findByFiscal,
|
|
485
|
-
|
|
485
|
+
findByIdInternational,
|
|
486
486
|
networkType
|
|
487
487
|
};
|
|
@@ -27,7 +27,7 @@ const {
|
|
|
27
27
|
contact,
|
|
28
28
|
fiscal,
|
|
29
29
|
findByFiscal,
|
|
30
|
-
|
|
30
|
+
findByIdInternational,
|
|
31
31
|
} = require('./common');
|
|
32
32
|
const { network, objectWithNetworkId } = require('./networks');
|
|
33
33
|
const { defaults, derivationSettings, expirationSettings } = require('./defaults');
|
|
@@ -375,12 +375,6 @@ const findByStatusAndPolygonalArea = () =>
|
|
|
375
375
|
|
|
376
376
|
const findByNetwork = () => mergeSchemas(objectWithNetworkId(), { title: 'find by network' });
|
|
377
377
|
|
|
378
|
-
const findByInternationalPartnerKey = () => ({
|
|
379
|
-
title: 'find by International PartnerKey',
|
|
380
|
-
type: 'object',
|
|
381
|
-
properties: { international: international() }
|
|
382
|
-
});
|
|
383
|
-
|
|
384
378
|
const findByNetworkAndName = () => mergeSchemas(findByNetwork(), findByName(), { title: 'find by network and name' });
|
|
385
379
|
|
|
386
380
|
const findByNetworkAndAddress = () => mergeSchemas(findByNetwork(), findByAddress(), { title: 'find by network and address' });
|
|
@@ -398,6 +392,9 @@ const findByNetworkAndStatusAndPolygonalArea = () =>
|
|
|
398
392
|
|
|
399
393
|
const findByNetworkAndFiscal = () => mergeSchemas(findByNetwork(), findByFiscal(), { title: 'find by network and fiscal data' });
|
|
400
394
|
|
|
395
|
+
const findByInternationalPartnerKey = () => mergeSchemas(findByIdInternational(), { title: 'find by International PartnerKey' });
|
|
396
|
+
|
|
397
|
+
|
|
401
398
|
const findShopsSuperAdminRequest = () =>
|
|
402
399
|
findRequest({
|
|
403
400
|
oneOf: [
|