@opencrvs/toolkit 1.9.16-rc.0c8595e → 1.9.16-rc.2940530
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/commons/api/router.d.ts +198 -193
- package/dist/commons/events/ActionConfig.d.ts +28 -0
- package/dist/commons/events/ActionDocument.d.ts +129 -129
- package/dist/commons/events/Draft.d.ts +5 -5
- package/dist/commons/events/EventConfig.d.ts +25 -0
- package/dist/commons/events/EventDocument.d.ts +90 -90
- package/dist/commons/events/EventIndex.d.ts +17 -17
- package/dist/commons/events/EventMetadata.d.ts +33 -33
- package/dist/commons/events/FormConfig.d.ts +30 -0
- package/dist/commons/events/PageConfig.d.ts +6 -0
- package/dist/commons/events/defineConfig.d.ts +5 -0
- package/dist/commons/events/state/index.d.ts +3 -3
- package/dist/commons/events/state/utils.d.ts +20 -20
- package/dist/commons/events/utils.d.ts +9 -0
- package/dist/events/index.js +13 -5
- package/dist/notification/index.js +13 -5
- package/dist/scopes/index.d.ts +3 -2
- package/dist/scopes/index.js +6 -2
- package/package.json +1 -1
|
@@ -10,22 +10,22 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10
10
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
|
11
11
|
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
|
12
12
|
acceptedAt: z.ZodString;
|
|
13
|
-
createdByRole: z.ZodString
|
|
13
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
14
14
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
createdAt: string;
|
|
17
17
|
createdBy: string;
|
|
18
|
-
createdByRole: string;
|
|
19
18
|
acceptedAt: string;
|
|
20
19
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
20
|
+
createdByRole?: string | undefined;
|
|
21
21
|
createdBySignature?: string | null | undefined;
|
|
22
22
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
23
23
|
}, {
|
|
24
24
|
createdAt: string;
|
|
25
25
|
createdBy: string;
|
|
26
|
-
createdByRole: string;
|
|
27
26
|
acceptedAt: string;
|
|
28
27
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
28
|
+
createdByRole?: string | undefined;
|
|
29
29
|
createdBySignature?: string | null | undefined;
|
|
30
30
|
createdAtLocation?: string | null | undefined;
|
|
31
31
|
}>>>;
|
|
@@ -35,26 +35,26 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
35
35
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
|
36
36
|
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
|
37
37
|
acceptedAt: z.ZodString;
|
|
38
|
-
createdByRole: z.ZodString
|
|
38
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
39
39
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
}, {
|
|
41
41
|
registrationNumber: z.ZodString;
|
|
42
42
|
}>, "strip", z.ZodTypeAny, {
|
|
43
43
|
createdAt: string;
|
|
44
44
|
createdBy: string;
|
|
45
|
-
createdByRole: string;
|
|
46
45
|
registrationNumber: string;
|
|
47
46
|
acceptedAt: string;
|
|
48
47
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
48
|
+
createdByRole?: string | undefined;
|
|
49
49
|
createdBySignature?: string | null | undefined;
|
|
50
50
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
51
51
|
}, {
|
|
52
52
|
createdAt: string;
|
|
53
53
|
createdBy: string;
|
|
54
|
-
createdByRole: string;
|
|
55
54
|
registrationNumber: string;
|
|
56
55
|
acceptedAt: string;
|
|
57
56
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
57
|
+
createdByRole?: string | undefined;
|
|
58
58
|
createdBySignature?: string | null | undefined;
|
|
59
59
|
createdAtLocation?: string | null | undefined;
|
|
60
60
|
}>>>;
|
|
@@ -62,19 +62,19 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
62
62
|
DECLARED?: {
|
|
63
63
|
createdAt: string;
|
|
64
64
|
createdBy: string;
|
|
65
|
-
createdByRole: string;
|
|
66
65
|
acceptedAt: string;
|
|
67
66
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
67
|
+
createdByRole?: string | undefined;
|
|
68
68
|
createdBySignature?: string | null | undefined;
|
|
69
69
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
70
70
|
} | null | undefined;
|
|
71
71
|
REGISTERED?: {
|
|
72
72
|
createdAt: string;
|
|
73
73
|
createdBy: string;
|
|
74
|
-
createdByRole: string;
|
|
75
74
|
registrationNumber: string;
|
|
76
75
|
acceptedAt: string;
|
|
77
76
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
77
|
+
createdByRole?: string | undefined;
|
|
78
78
|
createdBySignature?: string | null | undefined;
|
|
79
79
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
80
80
|
} | null | undefined;
|
|
@@ -82,19 +82,19 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
82
82
|
DECLARED?: {
|
|
83
83
|
createdAt: string;
|
|
84
84
|
createdBy: string;
|
|
85
|
-
createdByRole: string;
|
|
86
85
|
acceptedAt: string;
|
|
87
86
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
87
|
+
createdByRole?: string | undefined;
|
|
88
88
|
createdBySignature?: string | null | undefined;
|
|
89
89
|
createdAtLocation?: string | null | undefined;
|
|
90
90
|
} | null | undefined;
|
|
91
91
|
REGISTERED?: {
|
|
92
92
|
createdAt: string;
|
|
93
93
|
createdBy: string;
|
|
94
|
-
createdByRole: string;
|
|
95
94
|
registrationNumber: string;
|
|
96
95
|
acceptedAt: string;
|
|
97
96
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
97
|
+
createdByRole?: string | undefined;
|
|
98
98
|
createdBySignature?: string | null | undefined;
|
|
99
99
|
createdAtLocation?: string | null | undefined;
|
|
100
100
|
} | null | undefined;
|
|
@@ -103,7 +103,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
103
103
|
dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
104
104
|
createdBy: z.ZodString;
|
|
105
105
|
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
|
106
|
-
updatedByUserRole: z.ZodString
|
|
106
|
+
updatedByUserRole: z.ZodOptional<z.ZodString>;
|
|
107
107
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
|
108
108
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
109
|
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
|
@@ -143,24 +143,23 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
143
143
|
DECLARED?: {
|
|
144
144
|
createdAt: string;
|
|
145
145
|
createdBy: string;
|
|
146
|
-
createdByRole: string;
|
|
147
146
|
acceptedAt: string;
|
|
148
147
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
148
|
+
createdByRole?: string | undefined;
|
|
149
149
|
createdBySignature?: string | null | undefined;
|
|
150
150
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
151
151
|
} | null | undefined;
|
|
152
152
|
REGISTERED?: {
|
|
153
153
|
createdAt: string;
|
|
154
154
|
createdBy: string;
|
|
155
|
-
createdByRole: string;
|
|
156
155
|
registrationNumber: string;
|
|
157
156
|
acceptedAt: string;
|
|
158
157
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
158
|
+
createdByRole?: string | undefined;
|
|
159
159
|
createdBySignature?: string | null | undefined;
|
|
160
160
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
161
161
|
} | null | undefined;
|
|
162
162
|
};
|
|
163
|
-
updatedByUserRole: string;
|
|
164
163
|
potentialDuplicates: {
|
|
165
164
|
id: string & z.BRAND<"UUID">;
|
|
166
165
|
trackingId: string;
|
|
@@ -171,6 +170,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
171
170
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
172
171
|
assignedTo?: string | null | undefined;
|
|
173
172
|
dateOfEvent?: string | null | undefined;
|
|
173
|
+
updatedByUserRole?: string | undefined;
|
|
174
174
|
updatedAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
175
175
|
updatedBy?: string | null | undefined;
|
|
176
176
|
}, {
|
|
@@ -186,24 +186,23 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
186
186
|
DECLARED?: {
|
|
187
187
|
createdAt: string;
|
|
188
188
|
createdBy: string;
|
|
189
|
-
createdByRole: string;
|
|
190
189
|
acceptedAt: string;
|
|
191
190
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
191
|
+
createdByRole?: string | undefined;
|
|
192
192
|
createdBySignature?: string | null | undefined;
|
|
193
193
|
createdAtLocation?: string | null | undefined;
|
|
194
194
|
} | null | undefined;
|
|
195
195
|
REGISTERED?: {
|
|
196
196
|
createdAt: string;
|
|
197
197
|
createdBy: string;
|
|
198
|
-
createdByRole: string;
|
|
199
198
|
registrationNumber: string;
|
|
200
199
|
acceptedAt: string;
|
|
201
200
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
201
|
+
createdByRole?: string | undefined;
|
|
202
202
|
createdBySignature?: string | null | undefined;
|
|
203
203
|
createdAtLocation?: string | null | undefined;
|
|
204
204
|
} | null | undefined;
|
|
205
205
|
};
|
|
206
|
-
updatedByUserRole: string;
|
|
207
206
|
potentialDuplicates: {
|
|
208
207
|
id: string;
|
|
209
208
|
trackingId: string;
|
|
@@ -214,6 +213,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
214
213
|
createdAtLocation?: string | null | undefined;
|
|
215
214
|
assignedTo?: string | null | undefined;
|
|
216
215
|
dateOfEvent?: string | null | undefined;
|
|
216
|
+
updatedByUserRole?: string | undefined;
|
|
217
217
|
updatedAtLocation?: string | null | undefined;
|
|
218
218
|
updatedBy?: string | null | undefined;
|
|
219
219
|
}>;
|
|
@@ -31,22 +31,22 @@ export declare const ActionCreationMetadata: z.ZodObject<{
|
|
|
31
31
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
|
32
32
|
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
|
33
33
|
acceptedAt: z.ZodString;
|
|
34
|
-
createdByRole: z.ZodString
|
|
34
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
35
35
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
37
|
createdAt: string;
|
|
38
38
|
createdBy: string;
|
|
39
|
-
createdByRole: string;
|
|
40
39
|
acceptedAt: string;
|
|
41
40
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
41
|
+
createdByRole?: string | undefined;
|
|
42
42
|
createdBySignature?: string | null | undefined;
|
|
43
43
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
createdAt: string;
|
|
46
46
|
createdBy: string;
|
|
47
|
-
createdByRole: string;
|
|
48
47
|
acceptedAt: string;
|
|
49
48
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
49
|
+
createdByRole?: string | undefined;
|
|
50
50
|
createdBySignature?: string | null | undefined;
|
|
51
51
|
createdAtLocation?: string | null | undefined;
|
|
52
52
|
}>;
|
|
@@ -57,26 +57,26 @@ export declare const RegistrationCreationMetadata: z.ZodObject<z.objectUtil.exte
|
|
|
57
57
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
|
58
58
|
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
|
59
59
|
acceptedAt: z.ZodString;
|
|
60
|
-
createdByRole: z.ZodString
|
|
60
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
61
61
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
62
|
}, {
|
|
63
63
|
registrationNumber: z.ZodString;
|
|
64
64
|
}>, "strip", z.ZodTypeAny, {
|
|
65
65
|
createdAt: string;
|
|
66
66
|
createdBy: string;
|
|
67
|
-
createdByRole: string;
|
|
68
67
|
registrationNumber: string;
|
|
69
68
|
acceptedAt: string;
|
|
70
69
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
70
|
+
createdByRole?: string | undefined;
|
|
71
71
|
createdBySignature?: string | null | undefined;
|
|
72
72
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
73
73
|
}, {
|
|
74
74
|
createdAt: string;
|
|
75
75
|
createdBy: string;
|
|
76
|
-
createdByRole: string;
|
|
77
76
|
registrationNumber: string;
|
|
78
77
|
acceptedAt: string;
|
|
79
78
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
79
|
+
createdByRole?: string | undefined;
|
|
80
80
|
createdBySignature?: string | null | undefined;
|
|
81
81
|
createdAtLocation?: string | null | undefined;
|
|
82
82
|
}>;
|
|
@@ -88,22 +88,22 @@ export declare const LegalStatuses: z.ZodObject<{
|
|
|
88
88
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
|
89
89
|
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
|
90
90
|
acceptedAt: z.ZodString;
|
|
91
|
-
createdByRole: z.ZodString
|
|
91
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
92
92
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
94
|
createdAt: string;
|
|
95
95
|
createdBy: string;
|
|
96
|
-
createdByRole: string;
|
|
97
96
|
acceptedAt: string;
|
|
98
97
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
98
|
+
createdByRole?: string | undefined;
|
|
99
99
|
createdBySignature?: string | null | undefined;
|
|
100
100
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
101
101
|
}, {
|
|
102
102
|
createdAt: string;
|
|
103
103
|
createdBy: string;
|
|
104
|
-
createdByRole: string;
|
|
105
104
|
acceptedAt: string;
|
|
106
105
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
106
|
+
createdByRole?: string | undefined;
|
|
107
107
|
createdBySignature?: string | null | undefined;
|
|
108
108
|
createdAtLocation?: string | null | undefined;
|
|
109
109
|
}>>>;
|
|
@@ -113,26 +113,26 @@ export declare const LegalStatuses: z.ZodObject<{
|
|
|
113
113
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
|
114
114
|
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
|
115
115
|
acceptedAt: z.ZodString;
|
|
116
|
-
createdByRole: z.ZodString
|
|
116
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
117
117
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
118
118
|
}, {
|
|
119
119
|
registrationNumber: z.ZodString;
|
|
120
120
|
}>, "strip", z.ZodTypeAny, {
|
|
121
121
|
createdAt: string;
|
|
122
122
|
createdBy: string;
|
|
123
|
-
createdByRole: string;
|
|
124
123
|
registrationNumber: string;
|
|
125
124
|
acceptedAt: string;
|
|
126
125
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
126
|
+
createdByRole?: string | undefined;
|
|
127
127
|
createdBySignature?: string | null | undefined;
|
|
128
128
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
129
129
|
}, {
|
|
130
130
|
createdAt: string;
|
|
131
131
|
createdBy: string;
|
|
132
|
-
createdByRole: string;
|
|
133
132
|
registrationNumber: string;
|
|
134
133
|
acceptedAt: string;
|
|
135
134
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
135
|
+
createdByRole?: string | undefined;
|
|
136
136
|
createdBySignature?: string | null | undefined;
|
|
137
137
|
createdAtLocation?: string | null | undefined;
|
|
138
138
|
}>>>;
|
|
@@ -140,19 +140,19 @@ export declare const LegalStatuses: z.ZodObject<{
|
|
|
140
140
|
DECLARED?: {
|
|
141
141
|
createdAt: string;
|
|
142
142
|
createdBy: string;
|
|
143
|
-
createdByRole: string;
|
|
144
143
|
acceptedAt: string;
|
|
145
144
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
145
|
+
createdByRole?: string | undefined;
|
|
146
146
|
createdBySignature?: string | null | undefined;
|
|
147
147
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
148
148
|
} | null | undefined;
|
|
149
149
|
REGISTERED?: {
|
|
150
150
|
createdAt: string;
|
|
151
151
|
createdBy: string;
|
|
152
|
-
createdByRole: string;
|
|
153
152
|
registrationNumber: string;
|
|
154
153
|
acceptedAt: string;
|
|
155
154
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
155
|
+
createdByRole?: string | undefined;
|
|
156
156
|
createdBySignature?: string | null | undefined;
|
|
157
157
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
158
158
|
} | null | undefined;
|
|
@@ -160,19 +160,19 @@ export declare const LegalStatuses: z.ZodObject<{
|
|
|
160
160
|
DECLARED?: {
|
|
161
161
|
createdAt: string;
|
|
162
162
|
createdBy: string;
|
|
163
|
-
createdByRole: string;
|
|
164
163
|
acceptedAt: string;
|
|
165
164
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
165
|
+
createdByRole?: string | undefined;
|
|
166
166
|
createdBySignature?: string | null | undefined;
|
|
167
167
|
createdAtLocation?: string | null | undefined;
|
|
168
168
|
} | null | undefined;
|
|
169
169
|
REGISTERED?: {
|
|
170
170
|
createdAt: string;
|
|
171
171
|
createdBy: string;
|
|
172
|
-
createdByRole: string;
|
|
173
172
|
registrationNumber: string;
|
|
174
173
|
acceptedAt: string;
|
|
175
174
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
175
|
+
createdByRole?: string | undefined;
|
|
176
176
|
createdBySignature?: string | null | undefined;
|
|
177
177
|
createdAtLocation?: string | null | undefined;
|
|
178
178
|
} | null | undefined;
|
|
@@ -193,22 +193,22 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
193
193
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
|
194
194
|
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
|
195
195
|
acceptedAt: z.ZodString;
|
|
196
|
-
createdByRole: z.ZodString
|
|
196
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
197
197
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
198
|
}, "strip", z.ZodTypeAny, {
|
|
199
199
|
createdAt: string;
|
|
200
200
|
createdBy: string;
|
|
201
|
-
createdByRole: string;
|
|
202
201
|
acceptedAt: string;
|
|
203
202
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
203
|
+
createdByRole?: string | undefined;
|
|
204
204
|
createdBySignature?: string | null | undefined;
|
|
205
205
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
206
206
|
}, {
|
|
207
207
|
createdAt: string;
|
|
208
208
|
createdBy: string;
|
|
209
|
-
createdByRole: string;
|
|
210
209
|
acceptedAt: string;
|
|
211
210
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
211
|
+
createdByRole?: string | undefined;
|
|
212
212
|
createdBySignature?: string | null | undefined;
|
|
213
213
|
createdAtLocation?: string | null | undefined;
|
|
214
214
|
}>>>;
|
|
@@ -218,26 +218,26 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
218
218
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
|
219
219
|
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
|
220
220
|
acceptedAt: z.ZodString;
|
|
221
|
-
createdByRole: z.ZodString
|
|
221
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
222
222
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
223
223
|
}, {
|
|
224
224
|
registrationNumber: z.ZodString;
|
|
225
225
|
}>, "strip", z.ZodTypeAny, {
|
|
226
226
|
createdAt: string;
|
|
227
227
|
createdBy: string;
|
|
228
|
-
createdByRole: string;
|
|
229
228
|
registrationNumber: string;
|
|
230
229
|
acceptedAt: string;
|
|
231
230
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
231
|
+
createdByRole?: string | undefined;
|
|
232
232
|
createdBySignature?: string | null | undefined;
|
|
233
233
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
234
234
|
}, {
|
|
235
235
|
createdAt: string;
|
|
236
236
|
createdBy: string;
|
|
237
|
-
createdByRole: string;
|
|
238
237
|
registrationNumber: string;
|
|
239
238
|
acceptedAt: string;
|
|
240
239
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
240
|
+
createdByRole?: string | undefined;
|
|
241
241
|
createdBySignature?: string | null | undefined;
|
|
242
242
|
createdAtLocation?: string | null | undefined;
|
|
243
243
|
}>>>;
|
|
@@ -245,19 +245,19 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
245
245
|
DECLARED?: {
|
|
246
246
|
createdAt: string;
|
|
247
247
|
createdBy: string;
|
|
248
|
-
createdByRole: string;
|
|
249
248
|
acceptedAt: string;
|
|
250
249
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
250
|
+
createdByRole?: string | undefined;
|
|
251
251
|
createdBySignature?: string | null | undefined;
|
|
252
252
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
253
253
|
} | null | undefined;
|
|
254
254
|
REGISTERED?: {
|
|
255
255
|
createdAt: string;
|
|
256
256
|
createdBy: string;
|
|
257
|
-
createdByRole: string;
|
|
258
257
|
registrationNumber: string;
|
|
259
258
|
acceptedAt: string;
|
|
260
259
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
260
|
+
createdByRole?: string | undefined;
|
|
261
261
|
createdBySignature?: string | null | undefined;
|
|
262
262
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
263
263
|
} | null | undefined;
|
|
@@ -265,19 +265,19 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
265
265
|
DECLARED?: {
|
|
266
266
|
createdAt: string;
|
|
267
267
|
createdBy: string;
|
|
268
|
-
createdByRole: string;
|
|
269
268
|
acceptedAt: string;
|
|
270
269
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
270
|
+
createdByRole?: string | undefined;
|
|
271
271
|
createdBySignature?: string | null | undefined;
|
|
272
272
|
createdAtLocation?: string | null | undefined;
|
|
273
273
|
} | null | undefined;
|
|
274
274
|
REGISTERED?: {
|
|
275
275
|
createdAt: string;
|
|
276
276
|
createdBy: string;
|
|
277
|
-
createdByRole: string;
|
|
278
277
|
registrationNumber: string;
|
|
279
278
|
acceptedAt: string;
|
|
280
279
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
280
|
+
createdByRole?: string | undefined;
|
|
281
281
|
createdBySignature?: string | null | undefined;
|
|
282
282
|
createdAtLocation?: string | null | undefined;
|
|
283
283
|
} | null | undefined;
|
|
@@ -286,7 +286,7 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
286
286
|
dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
287
287
|
createdBy: z.ZodString;
|
|
288
288
|
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
|
289
|
-
updatedByUserRole: z.ZodString
|
|
289
|
+
updatedByUserRole: z.ZodOptional<z.ZodString>;
|
|
290
290
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
|
291
291
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
292
292
|
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
|
@@ -323,24 +323,23 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
323
323
|
DECLARED?: {
|
|
324
324
|
createdAt: string;
|
|
325
325
|
createdBy: string;
|
|
326
|
-
createdByRole: string;
|
|
327
326
|
acceptedAt: string;
|
|
328
327
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
328
|
+
createdByRole?: string | undefined;
|
|
329
329
|
createdBySignature?: string | null | undefined;
|
|
330
330
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
331
331
|
} | null | undefined;
|
|
332
332
|
REGISTERED?: {
|
|
333
333
|
createdAt: string;
|
|
334
334
|
createdBy: string;
|
|
335
|
-
createdByRole: string;
|
|
336
335
|
registrationNumber: string;
|
|
337
336
|
acceptedAt: string;
|
|
338
337
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
338
|
+
createdByRole?: string | undefined;
|
|
339
339
|
createdBySignature?: string | null | undefined;
|
|
340
340
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
341
341
|
} | null | undefined;
|
|
342
342
|
};
|
|
343
|
-
updatedByUserRole: string;
|
|
344
343
|
potentialDuplicates: {
|
|
345
344
|
id: string & z.BRAND<"UUID">;
|
|
346
345
|
trackingId: string;
|
|
@@ -351,6 +350,7 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
351
350
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
352
351
|
assignedTo?: string | null | undefined;
|
|
353
352
|
dateOfEvent?: string | null | undefined;
|
|
353
|
+
updatedByUserRole?: string | undefined;
|
|
354
354
|
updatedAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
355
355
|
updatedBy?: string | null | undefined;
|
|
356
356
|
}, {
|
|
@@ -365,24 +365,23 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
365
365
|
DECLARED?: {
|
|
366
366
|
createdAt: string;
|
|
367
367
|
createdBy: string;
|
|
368
|
-
createdByRole: string;
|
|
369
368
|
acceptedAt: string;
|
|
370
369
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
370
|
+
createdByRole?: string | undefined;
|
|
371
371
|
createdBySignature?: string | null | undefined;
|
|
372
372
|
createdAtLocation?: string | null | undefined;
|
|
373
373
|
} | null | undefined;
|
|
374
374
|
REGISTERED?: {
|
|
375
375
|
createdAt: string;
|
|
376
376
|
createdBy: string;
|
|
377
|
-
createdByRole: string;
|
|
378
377
|
registrationNumber: string;
|
|
379
378
|
acceptedAt: string;
|
|
380
379
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
380
|
+
createdByRole?: string | undefined;
|
|
381
381
|
createdBySignature?: string | null | undefined;
|
|
382
382
|
createdAtLocation?: string | null | undefined;
|
|
383
383
|
} | null | undefined;
|
|
384
384
|
};
|
|
385
|
-
updatedByUserRole: string;
|
|
386
385
|
potentialDuplicates: {
|
|
387
386
|
id: string;
|
|
388
387
|
trackingId: string;
|
|
@@ -393,6 +392,7 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
393
392
|
createdAtLocation?: string | null | undefined;
|
|
394
393
|
assignedTo?: string | null | undefined;
|
|
395
394
|
dateOfEvent?: string | null | undefined;
|
|
395
|
+
updatedByUserRole?: string | undefined;
|
|
396
396
|
updatedAtLocation?: string | null | undefined;
|
|
397
397
|
updatedBy?: string | null | undefined;
|
|
398
398
|
}>;
|