@opencrvs/toolkit 1.8.0-rc.f9d33b7 → 1.8.0-rc.f9f0941
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 +638 -292
- package/dist/commons/events/ActionConfig.d.ts +4879 -1232
- package/dist/commons/events/ActionDocument.d.ts +433 -413
- package/dist/commons/events/ActionInput.d.ts +180 -180
- package/dist/commons/events/AdvancedSearchConfig.d.ts +34 -36
- package/dist/commons/events/Draft.d.ts +24 -26
- package/dist/commons/events/EventConfig.d.ts +2711 -967
- package/dist/commons/events/EventDocument.d.ts +241 -312
- package/dist/commons/events/EventIndex.d.ts +491 -69
- package/dist/commons/events/EventMetadata.d.ts +263 -11
- package/dist/commons/events/FieldConfig.d.ts +267 -3
- package/dist/commons/events/FieldType.d.ts +3 -2
- package/dist/commons/events/FieldTypeMapping.d.ts +11 -4
- package/dist/commons/events/FieldValue.d.ts +6 -3
- package/dist/commons/events/FormConfig.d.ts +2279 -629
- package/dist/commons/events/PageConfig.d.ts +406 -0
- package/dist/commons/events/SummaryConfig.d.ts +17 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +1100 -8
- package/dist/commons/events/defineConfig.d.ts +283 -2
- package/dist/commons/events/event.d.ts +3 -1
- package/dist/commons/events/field.d.ts +3 -3
- package/dist/commons/events/test.utils.d.ts +7 -7
- package/dist/commons/events/utils.d.ts +193 -21
- package/dist/events/index.js +1132 -768
- package/dist/scopes/index.d.ts +70 -1
- package/dist/scopes/index.js +130 -0
- package/package.json +1 -1
@@ -12,51 +12,350 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
12
12
|
readonly REJECTED: "REJECTED";
|
13
13
|
readonly ARCHIVED: "ARCHIVED";
|
14
14
|
}>;
|
15
|
+
legalStatuses: z.ZodObject<{
|
16
|
+
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
17
|
+
createdAt: z.ZodString;
|
18
|
+
createdBy: z.ZodString;
|
19
|
+
createdAtLocation: z.ZodString;
|
20
|
+
acceptedAt: z.ZodString;
|
21
|
+
createdByRole: z.ZodString;
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
23
|
+
createdAt: string;
|
24
|
+
createdBy: string;
|
25
|
+
createdByRole: string;
|
26
|
+
createdAtLocation: string;
|
27
|
+
acceptedAt: string;
|
28
|
+
}, {
|
29
|
+
createdAt: string;
|
30
|
+
createdBy: string;
|
31
|
+
createdByRole: string;
|
32
|
+
createdAtLocation: string;
|
33
|
+
acceptedAt: string;
|
34
|
+
}>>>;
|
35
|
+
REGISTERED: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
36
|
+
createdAt: z.ZodString;
|
37
|
+
createdBy: z.ZodString;
|
38
|
+
createdAtLocation: z.ZodString;
|
39
|
+
acceptedAt: z.ZodString;
|
40
|
+
createdByRole: z.ZodString;
|
41
|
+
}, {
|
42
|
+
registrationNumber: z.ZodString;
|
43
|
+
}>, "strip", z.ZodTypeAny, {
|
44
|
+
createdAt: string;
|
45
|
+
createdBy: string;
|
46
|
+
createdByRole: string;
|
47
|
+
createdAtLocation: string;
|
48
|
+
registrationNumber: string;
|
49
|
+
acceptedAt: string;
|
50
|
+
}, {
|
51
|
+
createdAt: string;
|
52
|
+
createdBy: string;
|
53
|
+
createdByRole: string;
|
54
|
+
createdAtLocation: string;
|
55
|
+
registrationNumber: string;
|
56
|
+
acceptedAt: string;
|
57
|
+
}>>>;
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
59
|
+
DECLARED?: {
|
60
|
+
createdAt: string;
|
61
|
+
createdBy: string;
|
62
|
+
createdByRole: string;
|
63
|
+
createdAtLocation: string;
|
64
|
+
acceptedAt: string;
|
65
|
+
} | null | undefined;
|
66
|
+
REGISTERED?: {
|
67
|
+
createdAt: string;
|
68
|
+
createdBy: string;
|
69
|
+
createdByRole: string;
|
70
|
+
createdAtLocation: string;
|
71
|
+
registrationNumber: string;
|
72
|
+
acceptedAt: string;
|
73
|
+
} | null | undefined;
|
74
|
+
}, {
|
75
|
+
DECLARED?: {
|
76
|
+
createdAt: string;
|
77
|
+
createdBy: string;
|
78
|
+
createdByRole: string;
|
79
|
+
createdAtLocation: string;
|
80
|
+
acceptedAt: string;
|
81
|
+
} | null | undefined;
|
82
|
+
REGISTERED?: {
|
83
|
+
createdAt: string;
|
84
|
+
createdBy: string;
|
85
|
+
createdByRole: string;
|
86
|
+
createdAtLocation: string;
|
87
|
+
registrationNumber: string;
|
88
|
+
acceptedAt: string;
|
89
|
+
} | null | undefined;
|
90
|
+
}>;
|
15
91
|
createdAt: z.ZodString;
|
16
92
|
dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
17
93
|
createdBy: z.ZodString;
|
18
94
|
updatedByUserRole: z.ZodString;
|
19
95
|
createdAtLocation: z.ZodString;
|
20
|
-
updatedAtLocation: z.ZodString
|
96
|
+
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
21
97
|
updatedAt: z.ZodString;
|
22
98
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
23
|
-
updatedBy: z.ZodString
|
99
|
+
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
24
100
|
trackingId: z.ZodString;
|
25
|
-
|
101
|
+
flags: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
102
|
+
readonly CERTIFICATE_PRINTED: "certificate-printed";
|
103
|
+
}>]>, "many">;
|
26
104
|
}, {
|
27
|
-
declaration: z.ZodRecord<z.ZodString, z.
|
105
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
106
|
+
filename: z.ZodString;
|
107
|
+
originalFilename: z.ZodString;
|
108
|
+
type: z.ZodString;
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
110
|
+
type: string;
|
111
|
+
filename: string;
|
112
|
+
originalFilename: string;
|
113
|
+
}, {
|
114
|
+
type: string;
|
115
|
+
filename: string;
|
116
|
+
originalFilename: string;
|
117
|
+
}>, z.ZodArray<z.ZodObject<{
|
118
|
+
filename: z.ZodString;
|
119
|
+
originalFilename: z.ZodString;
|
120
|
+
type: z.ZodString;
|
121
|
+
option: z.ZodString;
|
122
|
+
}, "strip", z.ZodTypeAny, {
|
123
|
+
type: string;
|
124
|
+
option: string;
|
125
|
+
filename: string;
|
126
|
+
originalFilename: string;
|
127
|
+
}, {
|
128
|
+
type: string;
|
129
|
+
option: string;
|
130
|
+
filename: string;
|
131
|
+
originalFilename: string;
|
132
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
133
|
+
country: z.ZodString;
|
134
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
135
|
+
province: z.ZodString;
|
136
|
+
district: z.ZodString;
|
137
|
+
}, {
|
138
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
139
|
+
town: z.ZodOptional<z.ZodString>;
|
140
|
+
residentialArea: z.ZodOptional<z.ZodString>;
|
141
|
+
street: z.ZodOptional<z.ZodString>;
|
142
|
+
number: z.ZodOptional<z.ZodString>;
|
143
|
+
zipCode: z.ZodOptional<z.ZodString>;
|
144
|
+
}>, "strip", z.ZodTypeAny, {
|
145
|
+
country: string;
|
146
|
+
district: string;
|
147
|
+
addressType: "DOMESTIC";
|
148
|
+
province: string;
|
149
|
+
urbanOrRural: "URBAN";
|
150
|
+
number?: string | undefined;
|
151
|
+
town?: string | undefined;
|
152
|
+
residentialArea?: string | undefined;
|
153
|
+
street?: string | undefined;
|
154
|
+
zipCode?: string | undefined;
|
155
|
+
}, {
|
156
|
+
country: string;
|
157
|
+
district: string;
|
158
|
+
addressType: "DOMESTIC";
|
159
|
+
province: string;
|
160
|
+
urbanOrRural: "URBAN";
|
161
|
+
number?: string | undefined;
|
162
|
+
town?: string | undefined;
|
163
|
+
residentialArea?: string | undefined;
|
164
|
+
street?: string | undefined;
|
165
|
+
zipCode?: string | undefined;
|
166
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
167
|
+
country: z.ZodString;
|
168
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
169
|
+
province: z.ZodString;
|
170
|
+
district: z.ZodString;
|
171
|
+
}, {
|
172
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
173
|
+
village: z.ZodOptional<z.ZodString>;
|
174
|
+
}>, "strip", z.ZodTypeAny, {
|
175
|
+
country: string;
|
176
|
+
district: string;
|
177
|
+
addressType: "DOMESTIC";
|
178
|
+
province: string;
|
179
|
+
urbanOrRural: "RURAL";
|
180
|
+
village?: string | undefined;
|
181
|
+
}, {
|
182
|
+
country: string;
|
183
|
+
district: string;
|
184
|
+
addressType: "DOMESTIC";
|
185
|
+
province: string;
|
186
|
+
urbanOrRural: "RURAL";
|
187
|
+
village?: string | undefined;
|
188
|
+
}>, z.ZodUndefined, z.ZodObject<{
|
189
|
+
country: z.ZodString;
|
190
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
191
|
+
state: z.ZodString;
|
192
|
+
district2: z.ZodString;
|
193
|
+
cityOrTown: z.ZodOptional<z.ZodString>;
|
194
|
+
addressLine1: z.ZodOptional<z.ZodString>;
|
195
|
+
addressLine2: z.ZodOptional<z.ZodString>;
|
196
|
+
addressLine3: z.ZodOptional<z.ZodString>;
|
197
|
+
postcodeOrZip: z.ZodOptional<z.ZodString>;
|
198
|
+
}, "strip", z.ZodTypeAny, {
|
199
|
+
country: string;
|
200
|
+
state: string;
|
201
|
+
addressType: "INTERNATIONAL";
|
202
|
+
district2: string;
|
203
|
+
cityOrTown?: string | undefined;
|
204
|
+
addressLine1?: string | undefined;
|
205
|
+
addressLine2?: string | undefined;
|
206
|
+
addressLine3?: string | undefined;
|
207
|
+
postcodeOrZip?: string | undefined;
|
208
|
+
}, {
|
209
|
+
country: string;
|
210
|
+
state: string;
|
211
|
+
addressType: "INTERNATIONAL";
|
212
|
+
district2: string;
|
213
|
+
cityOrTown?: string | undefined;
|
214
|
+
addressLine1?: string | undefined;
|
215
|
+
addressLine2?: string | undefined;
|
216
|
+
addressLine3?: string | undefined;
|
217
|
+
postcodeOrZip?: string | undefined;
|
218
|
+
}>]>>;
|
28
219
|
}>, "strip", z.ZodTypeAny, {
|
29
220
|
type: string;
|
30
221
|
id: string;
|
31
222
|
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
32
223
|
createdAt: string;
|
33
224
|
createdBy: string;
|
34
|
-
declaration: Record<string,
|
225
|
+
declaration: Record<string, string | number | boolean | {
|
226
|
+
type: string;
|
227
|
+
filename: string;
|
228
|
+
originalFilename: string;
|
229
|
+
} | {
|
230
|
+
country: string;
|
231
|
+
district: string;
|
232
|
+
addressType: "DOMESTIC";
|
233
|
+
province: string;
|
234
|
+
urbanOrRural: "URBAN";
|
235
|
+
number?: string | undefined;
|
236
|
+
town?: string | undefined;
|
237
|
+
residentialArea?: string | undefined;
|
238
|
+
street?: string | undefined;
|
239
|
+
zipCode?: string | undefined;
|
240
|
+
} | {
|
241
|
+
country: string;
|
242
|
+
district: string;
|
243
|
+
addressType: "DOMESTIC";
|
244
|
+
province: string;
|
245
|
+
urbanOrRural: "RURAL";
|
246
|
+
village?: string | undefined;
|
247
|
+
} | {
|
248
|
+
country: string;
|
249
|
+
state: string;
|
250
|
+
addressType: "INTERNATIONAL";
|
251
|
+
district2: string;
|
252
|
+
cityOrTown?: string | undefined;
|
253
|
+
addressLine1?: string | undefined;
|
254
|
+
addressLine2?: string | undefined;
|
255
|
+
addressLine3?: string | undefined;
|
256
|
+
postcodeOrZip?: string | undefined;
|
257
|
+
} | {
|
258
|
+
type: string;
|
259
|
+
option: string;
|
260
|
+
filename: string;
|
261
|
+
originalFilename: string;
|
262
|
+
}[] | [string, string] | undefined>;
|
35
263
|
createdAtLocation: string;
|
36
|
-
updatedAtLocation: string;
|
37
264
|
updatedAt: string;
|
38
265
|
trackingId: string;
|
266
|
+
legalStatuses: {
|
267
|
+
DECLARED?: {
|
268
|
+
createdAt: string;
|
269
|
+
createdBy: string;
|
270
|
+
createdByRole: string;
|
271
|
+
createdAtLocation: string;
|
272
|
+
acceptedAt: string;
|
273
|
+
} | null | undefined;
|
274
|
+
REGISTERED?: {
|
275
|
+
createdAt: string;
|
276
|
+
createdBy: string;
|
277
|
+
createdByRole: string;
|
278
|
+
createdAtLocation: string;
|
279
|
+
registrationNumber: string;
|
280
|
+
acceptedAt: string;
|
281
|
+
} | null | undefined;
|
282
|
+
};
|
39
283
|
updatedByUserRole: string;
|
40
|
-
|
284
|
+
flags: string[];
|
41
285
|
assignedTo?: string | null | undefined;
|
42
|
-
registrationNumber?: string | null | undefined;
|
43
286
|
dateOfEvent?: string | null | undefined;
|
287
|
+
updatedAtLocation?: string | null | undefined;
|
288
|
+
updatedBy?: string | null | undefined;
|
44
289
|
}, {
|
45
290
|
type: string;
|
46
291
|
id: string;
|
47
292
|
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
48
293
|
createdAt: string;
|
49
294
|
createdBy: string;
|
50
|
-
declaration: Record<string,
|
295
|
+
declaration: Record<string, string | number | boolean | {
|
296
|
+
type: string;
|
297
|
+
filename: string;
|
298
|
+
originalFilename: string;
|
299
|
+
} | {
|
300
|
+
country: string;
|
301
|
+
district: string;
|
302
|
+
addressType: "DOMESTIC";
|
303
|
+
province: string;
|
304
|
+
urbanOrRural: "URBAN";
|
305
|
+
number?: string | undefined;
|
306
|
+
town?: string | undefined;
|
307
|
+
residentialArea?: string | undefined;
|
308
|
+
street?: string | undefined;
|
309
|
+
zipCode?: string | undefined;
|
310
|
+
} | {
|
311
|
+
country: string;
|
312
|
+
district: string;
|
313
|
+
addressType: "DOMESTIC";
|
314
|
+
province: string;
|
315
|
+
urbanOrRural: "RURAL";
|
316
|
+
village?: string | undefined;
|
317
|
+
} | {
|
318
|
+
country: string;
|
319
|
+
state: string;
|
320
|
+
addressType: "INTERNATIONAL";
|
321
|
+
district2: string;
|
322
|
+
cityOrTown?: string | undefined;
|
323
|
+
addressLine1?: string | undefined;
|
324
|
+
addressLine2?: string | undefined;
|
325
|
+
addressLine3?: string | undefined;
|
326
|
+
postcodeOrZip?: string | undefined;
|
327
|
+
} | {
|
328
|
+
type: string;
|
329
|
+
option: string;
|
330
|
+
filename: string;
|
331
|
+
originalFilename: string;
|
332
|
+
}[] | [string, string] | undefined>;
|
51
333
|
createdAtLocation: string;
|
52
|
-
updatedAtLocation: string;
|
53
334
|
updatedAt: string;
|
54
335
|
trackingId: string;
|
336
|
+
legalStatuses: {
|
337
|
+
DECLARED?: {
|
338
|
+
createdAt: string;
|
339
|
+
createdBy: string;
|
340
|
+
createdByRole: string;
|
341
|
+
createdAtLocation: string;
|
342
|
+
acceptedAt: string;
|
343
|
+
} | null | undefined;
|
344
|
+
REGISTERED?: {
|
345
|
+
createdAt: string;
|
346
|
+
createdBy: string;
|
347
|
+
createdByRole: string;
|
348
|
+
createdAtLocation: string;
|
349
|
+
registrationNumber: string;
|
350
|
+
acceptedAt: string;
|
351
|
+
} | null | undefined;
|
352
|
+
};
|
55
353
|
updatedByUserRole: string;
|
56
|
-
|
354
|
+
flags: string[];
|
57
355
|
assignedTo?: string | null | undefined;
|
58
|
-
registrationNumber?: string | null | undefined;
|
59
356
|
dateOfEvent?: string | null | undefined;
|
357
|
+
updatedAtLocation?: string | null | undefined;
|
358
|
+
updatedBy?: string | null | undefined;
|
60
359
|
}>;
|
61
360
|
export declare const EventSearchIndex: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
62
361
|
type: z.ZodString;
|
@@ -110,6 +409,16 @@ declare const Range: z.ZodObject<{
|
|
110
409
|
gte: string;
|
111
410
|
lte: string;
|
112
411
|
}>;
|
412
|
+
declare const Not: z.ZodObject<{
|
413
|
+
type: z.ZodLiteral<"not">;
|
414
|
+
term: z.ZodString;
|
415
|
+
}, "strip", z.ZodTypeAny, {
|
416
|
+
type: "not";
|
417
|
+
term: string;
|
418
|
+
}, {
|
419
|
+
type: "not";
|
420
|
+
term: string;
|
421
|
+
}>;
|
113
422
|
declare const Within: z.ZodObject<{
|
114
423
|
type: z.ZodLiteral<"within">;
|
115
424
|
location: z.ZodString;
|
@@ -121,7 +430,7 @@ declare const Within: z.ZodObject<{
|
|
121
430
|
location: string;
|
122
431
|
}>;
|
123
432
|
export declare const QueryInput: ZodType;
|
124
|
-
export type BaseInput = z.infer<typeof Fuzzy> | z.infer<typeof Exact> | z.infer<typeof Range> | z.infer<typeof Within> | z.infer<typeof AnyOf>;
|
433
|
+
export type BaseInput = z.infer<typeof Fuzzy> | z.infer<typeof Exact> | z.infer<typeof Range> | z.infer<typeof Within> | z.infer<typeof AnyOf> | z.infer<typeof Not>;
|
125
434
|
type QueryMap = {
|
126
435
|
[key: string]: BaseInput | QueryMap;
|
127
436
|
};
|
@@ -260,6 +569,25 @@ declare const QueryExpression: z.ZodObject<{
|
|
260
569
|
type: "exact";
|
261
570
|
term: string;
|
262
571
|
}>>>;
|
572
|
+
flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
573
|
+
type: z.ZodLiteral<"anyOf">;
|
574
|
+
terms: z.ZodArray<z.ZodString, "many">;
|
575
|
+
}, "strip", z.ZodTypeAny, {
|
576
|
+
type: "anyOf";
|
577
|
+
terms: string[];
|
578
|
+
}, {
|
579
|
+
type: "anyOf";
|
580
|
+
terms: string[];
|
581
|
+
}>, z.ZodObject<{
|
582
|
+
type: z.ZodLiteral<"not">;
|
583
|
+
term: z.ZodString;
|
584
|
+
}, "strip", z.ZodTypeAny, {
|
585
|
+
type: "not";
|
586
|
+
term: string;
|
587
|
+
}, {
|
588
|
+
type: "not";
|
589
|
+
term: string;
|
590
|
+
}>]>, "many">>>;
|
263
591
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
264
592
|
}, "strip", z.ZodTypeAny, {
|
265
593
|
type?: "and" | undefined;
|
@@ -283,13 +611,6 @@ declare const QueryExpression: z.ZodObject<{
|
|
283
611
|
type: "exact";
|
284
612
|
term: string;
|
285
613
|
} | undefined;
|
286
|
-
updatedAtLocation?: {
|
287
|
-
type: "exact";
|
288
|
-
term: string;
|
289
|
-
} | {
|
290
|
-
type: "within";
|
291
|
-
location: string;
|
292
|
-
} | undefined;
|
293
614
|
updatedAt?: {
|
294
615
|
type: "exact";
|
295
616
|
term: string;
|
@@ -302,10 +623,24 @@ declare const QueryExpression: z.ZodObject<{
|
|
302
623
|
type: "exact";
|
303
624
|
term: string;
|
304
625
|
} | undefined;
|
626
|
+
updatedAtLocation?: {
|
627
|
+
type: "exact";
|
628
|
+
term: string;
|
629
|
+
} | {
|
630
|
+
type: "within";
|
631
|
+
location: string;
|
632
|
+
} | undefined;
|
305
633
|
updatedBy?: {
|
306
634
|
type: "exact";
|
307
635
|
term: string;
|
308
636
|
} | undefined;
|
637
|
+
flags?: ({
|
638
|
+
type: "anyOf";
|
639
|
+
terms: string[];
|
640
|
+
} | {
|
641
|
+
type: "not";
|
642
|
+
term: string;
|
643
|
+
})[] | undefined;
|
309
644
|
eventType?: string | undefined;
|
310
645
|
createAtLocation?: {
|
311
646
|
type: "exact";
|
@@ -336,13 +671,6 @@ declare const QueryExpression: z.ZodObject<{
|
|
336
671
|
type: "exact";
|
337
672
|
term: string;
|
338
673
|
} | undefined;
|
339
|
-
updatedAtLocation?: {
|
340
|
-
type: "exact";
|
341
|
-
term: string;
|
342
|
-
} | {
|
343
|
-
type: "within";
|
344
|
-
location: string;
|
345
|
-
} | undefined;
|
346
674
|
updatedAt?: {
|
347
675
|
type: "exact";
|
348
676
|
term: string;
|
@@ -355,10 +683,24 @@ declare const QueryExpression: z.ZodObject<{
|
|
355
683
|
type: "exact";
|
356
684
|
term: string;
|
357
685
|
} | undefined;
|
686
|
+
updatedAtLocation?: {
|
687
|
+
type: "exact";
|
688
|
+
term: string;
|
689
|
+
} | {
|
690
|
+
type: "within";
|
691
|
+
location: string;
|
692
|
+
} | undefined;
|
358
693
|
updatedBy?: {
|
359
694
|
type: "exact";
|
360
695
|
term: string;
|
361
696
|
} | undefined;
|
697
|
+
flags?: ({
|
698
|
+
type: "anyOf";
|
699
|
+
terms: string[];
|
700
|
+
} | {
|
701
|
+
type: "not";
|
702
|
+
term: string;
|
703
|
+
})[] | undefined;
|
362
704
|
eventType?: string | undefined;
|
363
705
|
createAtLocation?: {
|
364
706
|
type: "exact";
|
@@ -503,6 +845,25 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
503
845
|
type: "exact";
|
504
846
|
term: string;
|
505
847
|
}>>>;
|
848
|
+
flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
849
|
+
type: z.ZodLiteral<"anyOf">;
|
850
|
+
terms: z.ZodArray<z.ZodString, "many">;
|
851
|
+
}, "strip", z.ZodTypeAny, {
|
852
|
+
type: "anyOf";
|
853
|
+
terms: string[];
|
854
|
+
}, {
|
855
|
+
type: "anyOf";
|
856
|
+
terms: string[];
|
857
|
+
}>, z.ZodObject<{
|
858
|
+
type: z.ZodLiteral<"not">;
|
859
|
+
term: z.ZodString;
|
860
|
+
}, "strip", z.ZodTypeAny, {
|
861
|
+
type: "not";
|
862
|
+
term: string;
|
863
|
+
}, {
|
864
|
+
type: "not";
|
865
|
+
term: string;
|
866
|
+
}>]>, "many">>>;
|
506
867
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
507
868
|
}, "strip", z.ZodTypeAny, {
|
508
869
|
type?: "and" | undefined;
|
@@ -526,13 +887,6 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
526
887
|
type: "exact";
|
527
888
|
term: string;
|
528
889
|
} | undefined;
|
529
|
-
updatedAtLocation?: {
|
530
|
-
type: "exact";
|
531
|
-
term: string;
|
532
|
-
} | {
|
533
|
-
type: "within";
|
534
|
-
location: string;
|
535
|
-
} | undefined;
|
536
890
|
updatedAt?: {
|
537
891
|
type: "exact";
|
538
892
|
term: string;
|
@@ -545,10 +899,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
545
899
|
type: "exact";
|
546
900
|
term: string;
|
547
901
|
} | undefined;
|
902
|
+
updatedAtLocation?: {
|
903
|
+
type: "exact";
|
904
|
+
term: string;
|
905
|
+
} | {
|
906
|
+
type: "within";
|
907
|
+
location: string;
|
908
|
+
} | undefined;
|
548
909
|
updatedBy?: {
|
549
910
|
type: "exact";
|
550
911
|
term: string;
|
551
912
|
} | undefined;
|
913
|
+
flags?: ({
|
914
|
+
type: "anyOf";
|
915
|
+
terms: string[];
|
916
|
+
} | {
|
917
|
+
type: "not";
|
918
|
+
term: string;
|
919
|
+
})[] | undefined;
|
552
920
|
eventType?: string | undefined;
|
553
921
|
createAtLocation?: {
|
554
922
|
type: "exact";
|
@@ -579,13 +947,6 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
579
947
|
type: "exact";
|
580
948
|
term: string;
|
581
949
|
} | undefined;
|
582
|
-
updatedAtLocation?: {
|
583
|
-
type: "exact";
|
584
|
-
term: string;
|
585
|
-
} | {
|
586
|
-
type: "within";
|
587
|
-
location: string;
|
588
|
-
} | undefined;
|
589
950
|
updatedAt?: {
|
590
951
|
type: "exact";
|
591
952
|
term: string;
|
@@ -598,10 +959,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
598
959
|
type: "exact";
|
599
960
|
term: string;
|
600
961
|
} | undefined;
|
962
|
+
updatedAtLocation?: {
|
963
|
+
type: "exact";
|
964
|
+
term: string;
|
965
|
+
} | {
|
966
|
+
type: "within";
|
967
|
+
location: string;
|
968
|
+
} | undefined;
|
601
969
|
updatedBy?: {
|
602
970
|
type: "exact";
|
603
971
|
term: string;
|
604
972
|
} | undefined;
|
973
|
+
flags?: ({
|
974
|
+
type: "anyOf";
|
975
|
+
terms: string[];
|
976
|
+
} | {
|
977
|
+
type: "not";
|
978
|
+
term: string;
|
979
|
+
})[] | undefined;
|
605
980
|
eventType?: string | undefined;
|
606
981
|
createAtLocation?: {
|
607
982
|
type: "exact";
|
@@ -746,6 +1121,25 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
746
1121
|
type: "exact";
|
747
1122
|
term: string;
|
748
1123
|
}>>>;
|
1124
|
+
flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
1125
|
+
type: z.ZodLiteral<"anyOf">;
|
1126
|
+
terms: z.ZodArray<z.ZodString, "many">;
|
1127
|
+
}, "strip", z.ZodTypeAny, {
|
1128
|
+
type: "anyOf";
|
1129
|
+
terms: string[];
|
1130
|
+
}, {
|
1131
|
+
type: "anyOf";
|
1132
|
+
terms: string[];
|
1133
|
+
}>, z.ZodObject<{
|
1134
|
+
type: z.ZodLiteral<"not">;
|
1135
|
+
term: z.ZodString;
|
1136
|
+
}, "strip", z.ZodTypeAny, {
|
1137
|
+
type: "not";
|
1138
|
+
term: string;
|
1139
|
+
}, {
|
1140
|
+
type: "not";
|
1141
|
+
term: string;
|
1142
|
+
}>]>, "many">>>;
|
749
1143
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
750
1144
|
}, "strip", z.ZodTypeAny, {
|
751
1145
|
type?: "and" | undefined;
|
@@ -769,13 +1163,6 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
769
1163
|
type: "exact";
|
770
1164
|
term: string;
|
771
1165
|
} | undefined;
|
772
|
-
updatedAtLocation?: {
|
773
|
-
type: "exact";
|
774
|
-
term: string;
|
775
|
-
} | {
|
776
|
-
type: "within";
|
777
|
-
location: string;
|
778
|
-
} | undefined;
|
779
1166
|
updatedAt?: {
|
780
1167
|
type: "exact";
|
781
1168
|
term: string;
|
@@ -788,10 +1175,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
788
1175
|
type: "exact";
|
789
1176
|
term: string;
|
790
1177
|
} | undefined;
|
1178
|
+
updatedAtLocation?: {
|
1179
|
+
type: "exact";
|
1180
|
+
term: string;
|
1181
|
+
} | {
|
1182
|
+
type: "within";
|
1183
|
+
location: string;
|
1184
|
+
} | undefined;
|
791
1185
|
updatedBy?: {
|
792
1186
|
type: "exact";
|
793
1187
|
term: string;
|
794
1188
|
} | undefined;
|
1189
|
+
flags?: ({
|
1190
|
+
type: "anyOf";
|
1191
|
+
terms: string[];
|
1192
|
+
} | {
|
1193
|
+
type: "not";
|
1194
|
+
term: string;
|
1195
|
+
})[] | undefined;
|
795
1196
|
eventType?: string | undefined;
|
796
1197
|
createAtLocation?: {
|
797
1198
|
type: "exact";
|
@@ -822,13 +1223,6 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
822
1223
|
type: "exact";
|
823
1224
|
term: string;
|
824
1225
|
} | undefined;
|
825
|
-
updatedAtLocation?: {
|
826
|
-
type: "exact";
|
827
|
-
term: string;
|
828
|
-
} | {
|
829
|
-
type: "within";
|
830
|
-
location: string;
|
831
|
-
} | undefined;
|
832
1226
|
updatedAt?: {
|
833
1227
|
type: "exact";
|
834
1228
|
term: string;
|
@@ -841,10 +1235,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
841
1235
|
type: "exact";
|
842
1236
|
term: string;
|
843
1237
|
} | undefined;
|
1238
|
+
updatedAtLocation?: {
|
1239
|
+
type: "exact";
|
1240
|
+
term: string;
|
1241
|
+
} | {
|
1242
|
+
type: "within";
|
1243
|
+
location: string;
|
1244
|
+
} | undefined;
|
844
1245
|
updatedBy?: {
|
845
1246
|
type: "exact";
|
846
1247
|
term: string;
|
847
1248
|
} | undefined;
|
1249
|
+
flags?: ({
|
1250
|
+
type: "anyOf";
|
1251
|
+
terms: string[];
|
1252
|
+
} | {
|
1253
|
+
type: "not";
|
1254
|
+
term: string;
|
1255
|
+
})[] | undefined;
|
848
1256
|
eventType?: string | undefined;
|
849
1257
|
createAtLocation?: {
|
850
1258
|
type: "exact";
|
@@ -878,13 +1286,6 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
878
1286
|
type: "exact";
|
879
1287
|
term: string;
|
880
1288
|
} | undefined;
|
881
|
-
updatedAtLocation?: {
|
882
|
-
type: "exact";
|
883
|
-
term: string;
|
884
|
-
} | {
|
885
|
-
type: "within";
|
886
|
-
location: string;
|
887
|
-
} | undefined;
|
888
1289
|
updatedAt?: {
|
889
1290
|
type: "exact";
|
890
1291
|
term: string;
|
@@ -897,10 +1298,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
897
1298
|
type: "exact";
|
898
1299
|
term: string;
|
899
1300
|
} | undefined;
|
1301
|
+
updatedAtLocation?: {
|
1302
|
+
type: "exact";
|
1303
|
+
term: string;
|
1304
|
+
} | {
|
1305
|
+
type: "within";
|
1306
|
+
location: string;
|
1307
|
+
} | undefined;
|
900
1308
|
updatedBy?: {
|
901
1309
|
type: "exact";
|
902
1310
|
term: string;
|
903
1311
|
} | undefined;
|
1312
|
+
flags?: ({
|
1313
|
+
type: "anyOf";
|
1314
|
+
terms: string[];
|
1315
|
+
} | {
|
1316
|
+
type: "not";
|
1317
|
+
term: string;
|
1318
|
+
})[] | undefined;
|
904
1319
|
eventType?: string | undefined;
|
905
1320
|
createAtLocation?: {
|
906
1321
|
type: "exact";
|
@@ -934,13 +1349,6 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
934
1349
|
type: "exact";
|
935
1350
|
term: string;
|
936
1351
|
} | undefined;
|
937
|
-
updatedAtLocation?: {
|
938
|
-
type: "exact";
|
939
|
-
term: string;
|
940
|
-
} | {
|
941
|
-
type: "within";
|
942
|
-
location: string;
|
943
|
-
} | undefined;
|
944
1352
|
updatedAt?: {
|
945
1353
|
type: "exact";
|
946
1354
|
term: string;
|
@@ -953,10 +1361,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
953
1361
|
type: "exact";
|
954
1362
|
term: string;
|
955
1363
|
} | undefined;
|
1364
|
+
updatedAtLocation?: {
|
1365
|
+
type: "exact";
|
1366
|
+
term: string;
|
1367
|
+
} | {
|
1368
|
+
type: "within";
|
1369
|
+
location: string;
|
1370
|
+
} | undefined;
|
956
1371
|
updatedBy?: {
|
957
1372
|
type: "exact";
|
958
1373
|
term: string;
|
959
1374
|
} | undefined;
|
1375
|
+
flags?: ({
|
1376
|
+
type: "anyOf";
|
1377
|
+
terms: string[];
|
1378
|
+
} | {
|
1379
|
+
type: "not";
|
1380
|
+
term: string;
|
1381
|
+
})[] | undefined;
|
960
1382
|
eventType?: string | undefined;
|
961
1383
|
createAtLocation?: {
|
962
1384
|
type: "exact";
|