@gls_spain/gps-common 35.4.11 → 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,10 @@
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
+
1
8
  ## [35.4.11](https://github.com/GLS-Spain/gps-common/compare/v35.4.10...v35.4.11) (2024-08-06)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.4.11",
3
+ "version": "35.4.12",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -442,11 +442,16 @@ const findByIdInternational = () => ({
442
442
  type: 'object',
443
443
  properties: {
444
444
  international: {
445
- parcelShopId: { type: 'string' },
446
- partnerKey: { type: 'string' },
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
- required: ['partnerKey', 'parcelShopId'],
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 = () =>
@@ -416,6 +416,7 @@ const findShopsSuperAdminRequest = () =>
416
416
  findByNetworkAndStatusAndPolygonalArea(),
417
417
  findByNetworkAndFiscal(),
418
418
  findByIdInternational(),
419
+ // findByInternationalPartnerKey(),
419
420
  ],
420
421
  });
421
422