@gls_spain/gps-common 35.4.6 → 35.4.8

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.8](https://github.com/GLS-Spain/gps-common/compare/v35.4.7...v35.4.8) (2024-08-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fixing schemas ([f166343](https://github.com/GLS-Spain/gps-common/commit/f166343852095a8fadfdf2c0b51b54aa1f995eae))
7
+
8
+ ## [35.4.7](https://github.com/GLS-Spain/gps-common/compare/v35.4.6...v35.4.7) (2024-08-06)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * fix schema ([373061a](https://github.com/GLS-Spain/gps-common/commit/373061aef148ce6ae27b15ad56851d8a6589d2af))
14
+
1
15
  ## [35.4.6](https://github.com/GLS-Spain/gps-common/compare/v35.4.5...v35.4.6) (2024-08-06)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.4.6",
3
+ "version": "35.4.8",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -378,17 +378,7 @@ const findByNetwork = () => mergeSchemas(objectWithNetworkId(), { title: 'find b
378
378
  const findByInternationalPartnerKey = () => ({
379
379
  title: 'find by International PartnerKey',
380
380
  type: 'object',
381
- properties: {
382
- international: {
383
- type: 'object',
384
- properties: {
385
- parcelShopId: { type: 'string', description: 'search by International id' },
386
- partnerKey: { type: 'string', description: 'search by partner key' },
387
- },
388
- required: ['parcelShopId', 'partnerKey'],
389
- additionalProperties: false,
390
- },
391
- }
381
+ properties: { international: international() }
392
382
  });
393
383
 
394
384
  const findByNetworkAndName = () => mergeSchemas(findByNetwork(), findByName(), { title: 'find by network and name' });
@@ -428,7 +418,7 @@ const findShopsSuperAdminRequest = () =>
428
418
  findByNetworkAndStatusAndCircularArea(),
429
419
  findByNetworkAndStatusAndPolygonalArea(),
430
420
  findByNetworkAndFiscal(),
431
- findByInternationalPartnerKey()
421
+ findByInternationalPartnerKey(),
432
422
  ],
433
423
  });
434
424