@opencrvs/toolkit 1.9.16-rc.a6b5748 → 1.9.16-rc.c7acc1a
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 +9 -9
- package/dist/notification/index.js +9 -9
- package/dist/scopes/index.d.ts +2 -3
- package/dist/scopes/index.js +2 -6
- 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.
|
|
13
|
+
createdByRole: 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;
|
|
18
19
|
acceptedAt: string;
|
|
19
20
|
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;
|
|
26
27
|
acceptedAt: string;
|
|
27
28
|
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.
|
|
38
|
+
createdByRole: 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;
|
|
45
46
|
registrationNumber: string;
|
|
46
47
|
acceptedAt: string;
|
|
47
48
|
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;
|
|
54
55
|
registrationNumber: string;
|
|
55
56
|
acceptedAt: string;
|
|
56
57
|
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;
|
|
65
66
|
acceptedAt: string;
|
|
66
67
|
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;
|
|
74
75
|
registrationNumber: string;
|
|
75
76
|
acceptedAt: string;
|
|
76
77
|
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;
|
|
85
86
|
acceptedAt: string;
|
|
86
87
|
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;
|
|
94
95
|
registrationNumber: string;
|
|
95
96
|
acceptedAt: string;
|
|
96
97
|
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.
|
|
106
|
+
updatedByUserRole: 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,23 +143,24 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
143
143
|
DECLARED?: {
|
|
144
144
|
createdAt: string;
|
|
145
145
|
createdBy: string;
|
|
146
|
+
createdByRole: string;
|
|
146
147
|
acceptedAt: string;
|
|
147
148
|
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;
|
|
155
156
|
registrationNumber: string;
|
|
156
157
|
acceptedAt: string;
|
|
157
158
|
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;
|
|
163
164
|
potentialDuplicates: {
|
|
164
165
|
id: string & z.BRAND<"UUID">;
|
|
165
166
|
trackingId: string;
|
|
@@ -170,7 +171,6 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
170
171
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
171
172
|
assignedTo?: string | null | undefined;
|
|
172
173
|
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,23 +186,24 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
186
186
|
DECLARED?: {
|
|
187
187
|
createdAt: string;
|
|
188
188
|
createdBy: string;
|
|
189
|
+
createdByRole: string;
|
|
189
190
|
acceptedAt: string;
|
|
190
191
|
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;
|
|
198
199
|
registrationNumber: string;
|
|
199
200
|
acceptedAt: string;
|
|
200
201
|
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;
|
|
206
207
|
potentialDuplicates: {
|
|
207
208
|
id: string;
|
|
208
209
|
trackingId: string;
|
|
@@ -213,7 +214,6 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
213
214
|
createdAtLocation?: string | null | undefined;
|
|
214
215
|
assignedTo?: string | null | undefined;
|
|
215
216
|
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.
|
|
34
|
+
createdByRole: 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;
|
|
39
40
|
acceptedAt: string;
|
|
40
41
|
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;
|
|
47
48
|
acceptedAt: string;
|
|
48
49
|
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.
|
|
60
|
+
createdByRole: 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;
|
|
67
68
|
registrationNumber: string;
|
|
68
69
|
acceptedAt: string;
|
|
69
70
|
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;
|
|
76
77
|
registrationNumber: string;
|
|
77
78
|
acceptedAt: string;
|
|
78
79
|
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.
|
|
91
|
+
createdByRole: 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;
|
|
96
97
|
acceptedAt: string;
|
|
97
98
|
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;
|
|
104
105
|
acceptedAt: string;
|
|
105
106
|
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.
|
|
116
|
+
createdByRole: 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;
|
|
123
124
|
registrationNumber: string;
|
|
124
125
|
acceptedAt: string;
|
|
125
126
|
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;
|
|
132
133
|
registrationNumber: string;
|
|
133
134
|
acceptedAt: string;
|
|
134
135
|
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;
|
|
143
144
|
acceptedAt: string;
|
|
144
145
|
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;
|
|
152
153
|
registrationNumber: string;
|
|
153
154
|
acceptedAt: string;
|
|
154
155
|
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;
|
|
163
164
|
acceptedAt: string;
|
|
164
165
|
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;
|
|
172
173
|
registrationNumber: string;
|
|
173
174
|
acceptedAt: string;
|
|
174
175
|
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.
|
|
196
|
+
createdByRole: 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;
|
|
201
202
|
acceptedAt: string;
|
|
202
203
|
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;
|
|
209
210
|
acceptedAt: string;
|
|
210
211
|
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.
|
|
221
|
+
createdByRole: 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;
|
|
228
229
|
registrationNumber: string;
|
|
229
230
|
acceptedAt: string;
|
|
230
231
|
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;
|
|
237
238
|
registrationNumber: string;
|
|
238
239
|
acceptedAt: string;
|
|
239
240
|
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;
|
|
248
249
|
acceptedAt: string;
|
|
249
250
|
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;
|
|
257
258
|
registrationNumber: string;
|
|
258
259
|
acceptedAt: string;
|
|
259
260
|
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;
|
|
268
269
|
acceptedAt: string;
|
|
269
270
|
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;
|
|
277
278
|
registrationNumber: string;
|
|
278
279
|
acceptedAt: string;
|
|
279
280
|
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.
|
|
289
|
+
updatedByUserRole: 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,23 +323,24 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
323
323
|
DECLARED?: {
|
|
324
324
|
createdAt: string;
|
|
325
325
|
createdBy: string;
|
|
326
|
+
createdByRole: string;
|
|
326
327
|
acceptedAt: string;
|
|
327
328
|
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;
|
|
335
336
|
registrationNumber: string;
|
|
336
337
|
acceptedAt: string;
|
|
337
338
|
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;
|
|
343
344
|
potentialDuplicates: {
|
|
344
345
|
id: string & z.BRAND<"UUID">;
|
|
345
346
|
trackingId: string;
|
|
@@ -350,7 +351,6 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
350
351
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
|
351
352
|
assignedTo?: string | null | undefined;
|
|
352
353
|
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,23 +365,24 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
365
365
|
DECLARED?: {
|
|
366
366
|
createdAt: string;
|
|
367
367
|
createdBy: string;
|
|
368
|
+
createdByRole: string;
|
|
368
369
|
acceptedAt: string;
|
|
369
370
|
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;
|
|
377
378
|
registrationNumber: string;
|
|
378
379
|
acceptedAt: string;
|
|
379
380
|
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;
|
|
385
386
|
potentialDuplicates: {
|
|
386
387
|
id: string;
|
|
387
388
|
trackingId: string;
|
|
@@ -392,7 +393,6 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
392
393
|
createdAtLocation?: string | null | undefined;
|
|
393
394
|
assignedTo?: string | null | undefined;
|
|
394
395
|
dateOfEvent?: string | null | undefined;
|
|
395
|
-
updatedByUserRole?: string | undefined;
|
|
396
396
|
updatedAtLocation?: string | null | undefined;
|
|
397
397
|
updatedBy?: string | null | undefined;
|
|
398
398
|
}>;
|