@@ -23,10 +23,10 @@ export type MetadataWithOneEntity = {
23
23
* Unique identifier for the entity.
24
24
*/
25
25
entityUuid ?: string | undefined ;
26
- validFrom ?: string | undefined ;
27
- validUpTo ?: string | undefined ;
28
- key ?: string | undefined ;
29
- state ?: string | undefined ;
26
+ validFrom ?: string | null | undefined ;
27
+ validUpTo ?: string | null | undefined ;
28
+ key ?: string | null | undefined ;
29
+ state ?: string | null | undefined ;
30
30
additionalProperties ?: { [ k : string ] : any } ;
31
31
} ;
32
32
@@ -39,10 +39,10 @@ export const MetadataWithOneEntity$inboundSchema: z.ZodType<
39
39
z . object ( {
40
40
entity_type : z . string ( ) . optional ( ) ,
41
41
entity_uuid : z . string ( ) . optional ( ) ,
42
- valid_from : z . string ( ) . optional ( ) ,
43
- valid_up_to : z . string ( ) . optional ( ) ,
44
- key : z . string ( ) . optional ( ) ,
45
- state : z . string ( ) . optional ( ) ,
42
+ valid_from : z . nullable ( z . string ( ) ) . optional ( ) ,
43
+ valid_up_to : z . nullable ( z . string ( ) ) . optional ( ) ,
44
+ key : z . nullable ( z . string ( ) ) . optional ( ) ,
45
+ state : z . nullable ( z . string ( ) ) . optional ( ) ,
46
46
} ) . catchall ( z . any ( ) ) ,
47
47
"additionalProperties" ,
48
48
true ,
@@ -59,10 +59,10 @@ export const MetadataWithOneEntity$inboundSchema: z.ZodType<
59
59
export type MetadataWithOneEntity$Outbound = {
60
60
entity_type ?: string | undefined ;
61
61
entity_uuid ?: string | undefined ;
62
- valid_from ?: string | undefined ;
63
- valid_up_to ?: string | undefined ;
64
- key ?: string | undefined ;
65
- state ?: string | undefined ;
62
+ valid_from ?: string | null | undefined ;
63
+ valid_up_to ?: string | null | undefined ;
64
+ key ?: string | null | undefined ;
65
+ state ?: string | null | undefined ;
66
66
[ additionalProperties : string ] : unknown ;
67
67
} ;
68
68
@@ -74,10 +74,10 @@ export const MetadataWithOneEntity$outboundSchema: z.ZodType<
74
74
> = z . object ( {
75
75
entityType : z . string ( ) . optional ( ) ,
76
76
entityUuid : z . string ( ) . optional ( ) ,
77
- validFrom : z . string ( ) . optional ( ) ,
78
- validUpTo : z . string ( ) . optional ( ) ,
79
- key : z . string ( ) . optional ( ) ,
80
- state : z . string ( ) . optional ( ) ,
77
+ validFrom : z . nullable ( z . string ( ) ) . optional ( ) ,
78
+ validUpTo : z . nullable ( z . string ( ) ) . optional ( ) ,
79
+ key : z . nullable ( z . string ( ) ) . optional ( ) ,
80
+ state : z . nullable ( z . string ( ) ) . optional ( ) ,
81
81
additionalProperties : z . record ( z . any ( ) ) ,
82
82
} ) . transform ( ( v ) => {
83
83
return {
0 commit comments