@gls_spain/gps-common 35.4.10 → 35.4.12
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,17 @@
|
|
|
1
|
+
## [35.4.12](https://github.com/GLS-Spain/gps-common/compare/v35.4.11...v35.4.12) (2024-08-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* fixing ([ee2759c](https://github.com/GLS-Spain/gps-common/commit/ee2759ca3bd8b73694d01208990f95b77a86cca3))
|
|
7
|
+
|
|
8
|
+
## [35.4.11](https://github.com/GLS-Spain/gps-common/compare/v35.4.10...v35.4.11) (2024-08-06)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* fix schema ([bc78f2d](https://github.com/GLS-Spain/gps-common/commit/bc78f2d68d5842f70417a411ff6b77a951691acc))
|
|
14
|
+
|
|
1
15
|
## [35.4.10](https://github.com/GLS-Spain/gps-common/compare/v35.4.9...v35.4.10) (2024-08-06)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -442,11 +442,16 @@ const findByIdInternational = () => ({
|
|
|
442
442
|
type: 'object',
|
|
443
443
|
properties: {
|
|
444
444
|
international: {
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
445
|
+
type: 'object',
|
|
446
|
+
properties: {
|
|
447
|
+
parcelShopId: { type: 'integer', minimum: 0, description: 'last id used, auto increments itself as shops are created' },
|
|
448
|
+
partnerKey: { type: 'integer', minimum: 0, description: 'last id used, auto increments itself as shops are created' },
|
|
449
|
+
},
|
|
450
|
+
required: ['parcelShopId', 'partnerKey'],
|
|
451
|
+
},
|
|
448
452
|
},
|
|
449
|
-
|
|
453
|
+
additionalProperties: false,
|
|
454
|
+
|
|
450
455
|
});
|
|
451
456
|
|
|
452
457
|
|
|
@@ -392,7 +392,7 @@ const findByNetworkAndStatusAndPolygonalArea = () =>
|
|
|
392
392
|
|
|
393
393
|
const findByNetworkAndFiscal = () => mergeSchemas(findByNetwork(), findByFiscal(), { title: 'find by network and fiscal data' });
|
|
394
394
|
|
|
395
|
-
const findByInternationalPartnerKey = () => mergeSchemas(findByIdInternational(), { title: 'find by International PartnerKey' });
|
|
395
|
+
// const findByInternationalPartnerKey = () => mergeSchemas(findByIdInternational(), { title: 'find by International PartnerKey' });
|
|
396
396
|
|
|
397
397
|
|
|
398
398
|
const findShopsSuperAdminRequest = () =>
|
|
@@ -415,7 +415,8 @@ const findShopsSuperAdminRequest = () =>
|
|
|
415
415
|
findByNetworkAndStatusAndCircularArea(),
|
|
416
416
|
findByNetworkAndStatusAndPolygonalArea(),
|
|
417
417
|
findByNetworkAndFiscal(),
|
|
418
|
-
|
|
418
|
+
findByIdInternational(),
|
|
419
|
+
// findByInternationalPartnerKey(),
|
|
419
420
|
],
|
|
420
421
|
});
|
|
421
422
|
|
|
@@ -431,7 +432,7 @@ const findShopsNetworkAdminRequest = () =>
|
|
|
431
432
|
findByStatusAndCircularArea(),
|
|
432
433
|
findByStatusAndPolygonalArea(),
|
|
433
434
|
findByFiscal(),
|
|
434
|
-
|
|
435
|
+
findByIdInternational(),
|
|
435
436
|
],
|
|
436
437
|
});
|
|
437
438
|
|