@devizovaburza/mdm-sdk 1.2.4-canary.e6d4de4 → 1.2.5

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/dist/v1/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { hc } from 'hono/client';
2
2
  import { z, createRoute, OpenAPIHono } from '@hono/zod-openapi';
3
3
  import { COUNTRY_CODES_2, LANGUAGE_CODES, CZ_NACE_CODES, CURRENCY_CODES, BANK_CODES, CZ_TRADE_LICENSE_CODES } from '@develit-io/general-codes';
4
- import { bankAccountMetadataSchema } from '@develit-io/backend-sdk';
4
+ import { bankAccountMetadataSchema, structuredAddressSchema } from '@develit-io/backend-sdk';
5
5
  import { jwt, signature, idempotency } from '@develit-io/backend-sdk/middlewares';
6
6
 
7
7
  const createMdmClient = (baseUrl, options) => {
@@ -1521,7 +1521,7 @@ const bankAccountOutputSchema = z.object({
1521
1521
  currency: z.enum(CURRENCY_CODES),
1522
1522
  countryCode: z.enum(COUNTRY_CODES),
1523
1523
  iban: z.string().nullable(),
1524
- address: z.string().nullable(),
1524
+ address: structuredAddressSchema.nullable(),
1525
1525
  swiftBic: z.string().nullable(),
1526
1526
  bicCor: z.string().nullable(),
1527
1527
  routingNumber: z.string().nullable(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devizovaburza/mdm-sdk",
3
- "version": "1.2.4-canary.e6d4de4",
3
+ "version": "1.2.5",
4
4
  "author": "Devizová burza a.s.",
5
5
  "license": "ISC",
6
6
  "type": "module",