@devizovaburza/mdm-sdk 1.2.9 → 1.3.0

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.
@@ -3914,7 +3914,6 @@ declare const partnerApi: OpenAPIHono<{
3914
3914
  owners?: {
3915
3915
  name: string;
3916
3916
  surname: string;
3917
- email: string;
3918
3917
  birthDate: string;
3919
3918
  personalId: string;
3920
3919
  gender: "M" | "F" | "OTHER";
@@ -3941,6 +3940,7 @@ declare const partnerApi: OpenAPIHono<{
3941
3940
  id?: string | undefined;
3942
3941
  titleBefore?: string | undefined;
3943
3942
  titleAfter?: string | undefined;
3943
+ email?: string | undefined;
3944
3944
  birthPlace?: string | undefined;
3945
3945
  }[] | undefined;
3946
3946
  legalRepresentatives?: {
@@ -4253,7 +4253,6 @@ declare const partnerApi: OpenAPIHono<{
4253
4253
  owners?: {
4254
4254
  name: string;
4255
4255
  surname: string;
4256
- email: string;
4257
4256
  birthDate: string;
4258
4257
  personalId: string;
4259
4258
  gender: "M" | "F" | "OTHER";
@@ -4280,6 +4279,7 @@ declare const partnerApi: OpenAPIHono<{
4280
4279
  id?: string | undefined;
4281
4280
  titleBefore?: string | undefined;
4282
4281
  titleAfter?: string | undefined;
4282
+ email?: string | undefined;
4283
4283
  birthPlace?: string | undefined;
4284
4284
  }[] | undefined;
4285
4285
  legalRepresentatives?: {
@@ -4592,7 +4592,6 @@ declare const partnerApi: OpenAPIHono<{
4592
4592
  owners?: {
4593
4593
  name: string;
4594
4594
  surname: string;
4595
- email: string;
4596
4595
  birthDate: string;
4597
4596
  personalId: string;
4598
4597
  gender: "M" | "F" | "OTHER";
@@ -4619,6 +4618,7 @@ declare const partnerApi: OpenAPIHono<{
4619
4618
  id?: string | undefined;
4620
4619
  titleBefore?: string | undefined;
4621
4620
  titleAfter?: string | undefined;
4621
+ email?: string | undefined;
4622
4622
  birthPlace?: string | undefined;
4623
4623
  }[] | undefined;
4624
4624
  legalRepresentatives?: {
@@ -19310,7 +19310,7 @@ declare const partyUpdateInputSchema: z.ZodObject<{
19310
19310
  name: z.ZodString;
19311
19311
  surname: z.ZodString;
19312
19312
  titleAfter: z.ZodOptional<z.ZodString>;
19313
- email: z.ZodEmail;
19313
+ email: z.ZodOptional<z.ZodEmail>;
19314
19314
  birthDate: z.ZodString;
19315
19315
  birthPlace: z.ZodOptional<z.ZodString>;
19316
19316
  personalId: z.ZodString;
@@ -3914,7 +3914,6 @@ declare const partnerApi: OpenAPIHono<{
3914
3914
  owners?: {
3915
3915
  name: string;
3916
3916
  surname: string;
3917
- email: string;
3918
3917
  birthDate: string;
3919
3918
  personalId: string;
3920
3919
  gender: "M" | "F" | "OTHER";
@@ -3941,6 +3940,7 @@ declare const partnerApi: OpenAPIHono<{
3941
3940
  id?: string | undefined;
3942
3941
  titleBefore?: string | undefined;
3943
3942
  titleAfter?: string | undefined;
3943
+ email?: string | undefined;
3944
3944
  birthPlace?: string | undefined;
3945
3945
  }[] | undefined;
3946
3946
  legalRepresentatives?: {
@@ -4253,7 +4253,6 @@ declare const partnerApi: OpenAPIHono<{
4253
4253
  owners?: {
4254
4254
  name: string;
4255
4255
  surname: string;
4256
- email: string;
4257
4256
  birthDate: string;
4258
4257
  personalId: string;
4259
4258
  gender: "M" | "F" | "OTHER";
@@ -4280,6 +4279,7 @@ declare const partnerApi: OpenAPIHono<{
4280
4279
  id?: string | undefined;
4281
4280
  titleBefore?: string | undefined;
4282
4281
  titleAfter?: string | undefined;
4282
+ email?: string | undefined;
4283
4283
  birthPlace?: string | undefined;
4284
4284
  }[] | undefined;
4285
4285
  legalRepresentatives?: {
@@ -4592,7 +4592,6 @@ declare const partnerApi: OpenAPIHono<{
4592
4592
  owners?: {
4593
4593
  name: string;
4594
4594
  surname: string;
4595
- email: string;
4596
4595
  birthDate: string;
4597
4596
  personalId: string;
4598
4597
  gender: "M" | "F" | "OTHER";
@@ -4619,6 +4618,7 @@ declare const partnerApi: OpenAPIHono<{
4619
4618
  id?: string | undefined;
4620
4619
  titleBefore?: string | undefined;
4621
4620
  titleAfter?: string | undefined;
4621
+ email?: string | undefined;
4622
4622
  birthPlace?: string | undefined;
4623
4623
  }[] | undefined;
4624
4624
  legalRepresentatives?: {
@@ -19310,7 +19310,7 @@ declare const partyUpdateInputSchema: z.ZodObject<{
19310
19310
  name: z.ZodString;
19311
19311
  surname: z.ZodString;
19312
19312
  titleAfter: z.ZodOptional<z.ZodString>;
19313
- email: z.ZodEmail;
19313
+ email: z.ZodOptional<z.ZodEmail>;
19314
19314
  birthDate: z.ZodString;
19315
19315
  birthPlace: z.ZodOptional<z.ZodString>;
19316
19316
  personalId: z.ZodString;
package/dist/v1/index.mjs CHANGED
@@ -1091,7 +1091,7 @@ const ownerSyncSchema = z.object({
1091
1091
  name: z.string(),
1092
1092
  surname: z.string(),
1093
1093
  titleAfter: z.string().optional(),
1094
- email: z.email("E-mail je povinn\xFD"),
1094
+ email: z.email("E-mail je povinn\xFD").optional(),
1095
1095
  birthDate: z.string(),
1096
1096
  birthPlace: z.string().optional(),
1097
1097
  personalId: z.string(),
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@devizovaburza/mdm-sdk",
3
- "version": "1.2.9",
3
+ "version": "1.3.0",
4
4
  "author": "Devizová burza a.s.",
5
5
  "license": "ISC",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "prepare": "bun run build",
9
- "build": "unbuild"
9
+ "build": "unbuild",
10
+ "test": "vitest --project $npm_package_name --root ../.."
10
11
  },
11
12
  "exports": {
12
13
  "./v1": {
@@ -18,18 +19,18 @@
18
19
  "dist"
19
20
  ],
20
21
  "dependencies": {
21
- "@develit-io/backend-sdk": "^10.0.2",
22
+ "@develit-io/backend-sdk": "^10.0.3",
22
23
  "@develit-io/general-codes": "^1.17.0",
23
- "@hono/zod-openapi": "^1.2.0",
24
+ "@hono/zod-openapi": "^1.3.0",
24
25
  "drizzle-orm": "^0.45.2",
25
26
  "drizzle-zod": "^0.8.3",
26
27
  "zod": "^4.3.6"
27
28
  },
28
29
  "peerDependencies": {
29
- "hono": "^4.12.9"
30
+ "hono": "^4.12.14"
30
31
  },
31
32
  "devDependencies": {
32
33
  "@apps/gateway": "workspace:*",
33
- "unbuild": "^3.5.0"
34
+ "unbuild": "3.6.1"
34
35
  }
35
36
  }