@opencrvs/toolkit 1.8.0-rc.f82791e → 1.8.0-rc.f8296f8
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 +7485 -3044
- package/dist/commons/conditionals/conditionals.d.ts +2 -1
- package/dist/commons/events/ActionConfig.d.ts +20595 -2656
- package/dist/commons/events/ActionDocument.d.ts +760 -553
- package/dist/commons/events/ActionInput.d.ts +377 -305
- package/dist/commons/events/AdvancedSearchConfig.d.ts +637 -48
- package/dist/commons/events/Constants.d.ts +2 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
- package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
- package/dist/commons/events/Draft.d.ts +43 -40
- package/dist/commons/events/EventConfig.d.ts +16491 -7434
- package/dist/commons/events/EventDocument.d.ts +471 -423
- package/dist/commons/events/EventIndex.d.ts +694 -293
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +262 -16
- package/dist/commons/events/FieldConfig.d.ts +850 -69
- 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 +5749 -925
- package/dist/commons/events/PageConfig.d.ts +1191 -3
- package/dist/commons/events/SummaryConfig.d.ts +17 -0
- package/dist/commons/events/User.d.ts +31 -7
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +4491 -10
- package/dist/commons/events/defineConfig.d.ts +1269 -7
- package/dist/commons/events/event.d.ts +37 -8
- package/dist/commons/events/field.d.ts +24 -10
- package/dist/commons/events/index.d.ts +4 -0
- package/dist/commons/events/scopes.d.ts +20 -1
- package/dist/commons/events/serializer.d.ts +2 -0
- package/dist/commons/events/test.utils.d.ts +35 -14
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +313 -24
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +19 -2
- package/dist/events/index.js +2859 -1192
- package/dist/scopes/index.d.ts +158 -1
- package/dist/scopes/index.js +152 -1
- package/package.json +1 -1
@@ -1,14 +1,359 @@
|
|
1
1
|
import { z } from 'zod';
|
2
2
|
import { TranslationConfig } from './TranslationConfig';
|
3
|
-
export declare const
|
4
|
-
|
3
|
+
export declare const SearchQueryParams: z.ZodObject<{
|
4
|
+
eventType: z.ZodOptional<z.ZodString>;
|
5
|
+
}, "strip", z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6
|
+
filename: z.ZodString;
|
7
|
+
originalFilename: z.ZodString;
|
8
|
+
type: z.ZodString;
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
10
|
+
type: string;
|
11
|
+
filename: string;
|
12
|
+
originalFilename: string;
|
13
|
+
}, {
|
14
|
+
type: string;
|
15
|
+
filename: string;
|
16
|
+
originalFilename: string;
|
17
|
+
}>, z.ZodArray<z.ZodObject<{
|
18
|
+
filename: z.ZodString;
|
19
|
+
originalFilename: z.ZodString;
|
20
|
+
type: z.ZodString;
|
21
|
+
option: z.ZodString;
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
23
|
+
type: string;
|
24
|
+
option: string;
|
25
|
+
filename: string;
|
26
|
+
originalFilename: string;
|
27
|
+
}, {
|
28
|
+
type: string;
|
29
|
+
option: string;
|
30
|
+
filename: string;
|
31
|
+
originalFilename: string;
|
32
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
33
|
+
country: z.ZodString;
|
34
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
35
|
+
province: z.ZodString;
|
36
|
+
district: z.ZodString;
|
37
|
+
}, {
|
38
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
39
|
+
town: z.ZodOptional<z.ZodString>;
|
40
|
+
residentialArea: z.ZodOptional<z.ZodString>;
|
41
|
+
street: z.ZodOptional<z.ZodString>;
|
42
|
+
number: z.ZodOptional<z.ZodString>;
|
43
|
+
zipCode: z.ZodOptional<z.ZodString>;
|
44
|
+
}>, "strip", z.ZodTypeAny, {
|
45
|
+
country: string;
|
46
|
+
district: string;
|
47
|
+
addressType: "DOMESTIC";
|
48
|
+
province: string;
|
49
|
+
urbanOrRural: "URBAN";
|
50
|
+
number?: string | undefined;
|
51
|
+
town?: string | undefined;
|
52
|
+
residentialArea?: string | undefined;
|
53
|
+
street?: string | undefined;
|
54
|
+
zipCode?: string | undefined;
|
55
|
+
}, {
|
56
|
+
country: string;
|
57
|
+
district: string;
|
58
|
+
addressType: "DOMESTIC";
|
59
|
+
province: string;
|
60
|
+
urbanOrRural: "URBAN";
|
61
|
+
number?: string | undefined;
|
62
|
+
town?: string | undefined;
|
63
|
+
residentialArea?: string | undefined;
|
64
|
+
street?: string | undefined;
|
65
|
+
zipCode?: string | undefined;
|
66
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
67
|
+
country: z.ZodString;
|
68
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
69
|
+
province: z.ZodString;
|
70
|
+
district: z.ZodString;
|
71
|
+
}, {
|
72
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
73
|
+
village: z.ZodOptional<z.ZodString>;
|
74
|
+
}>, "strip", z.ZodTypeAny, {
|
75
|
+
country: string;
|
76
|
+
district: string;
|
77
|
+
addressType: "DOMESTIC";
|
78
|
+
province: string;
|
79
|
+
urbanOrRural: "RURAL";
|
80
|
+
village?: string | undefined;
|
81
|
+
}, {
|
82
|
+
country: string;
|
83
|
+
district: string;
|
84
|
+
addressType: "DOMESTIC";
|
85
|
+
province: string;
|
86
|
+
urbanOrRural: "RURAL";
|
87
|
+
village?: string | undefined;
|
88
|
+
}>, z.ZodUndefined, z.ZodObject<{
|
89
|
+
country: z.ZodString;
|
90
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
91
|
+
state: z.ZodString;
|
92
|
+
district2: z.ZodString;
|
93
|
+
cityOrTown: z.ZodOptional<z.ZodString>;
|
94
|
+
addressLine1: z.ZodOptional<z.ZodString>;
|
95
|
+
addressLine2: z.ZodOptional<z.ZodString>;
|
96
|
+
addressLine3: z.ZodOptional<z.ZodString>;
|
97
|
+
postcodeOrZip: z.ZodOptional<z.ZodString>;
|
98
|
+
}, "strip", z.ZodTypeAny, {
|
99
|
+
country: string;
|
100
|
+
state: string;
|
101
|
+
addressType: "INTERNATIONAL";
|
102
|
+
district2: string;
|
103
|
+
cityOrTown?: string | undefined;
|
104
|
+
addressLine1?: string | undefined;
|
105
|
+
addressLine2?: string | undefined;
|
106
|
+
addressLine3?: string | undefined;
|
107
|
+
postcodeOrZip?: string | undefined;
|
108
|
+
}, {
|
109
|
+
country: string;
|
110
|
+
state: string;
|
111
|
+
addressType: "INTERNATIONAL";
|
112
|
+
district2: string;
|
113
|
+
cityOrTown?: string | undefined;
|
114
|
+
addressLine1?: string | undefined;
|
115
|
+
addressLine2?: string | undefined;
|
116
|
+
addressLine3?: string | undefined;
|
117
|
+
postcodeOrZip?: string | undefined;
|
118
|
+
}>]>, z.objectOutputType<{
|
119
|
+
eventType: z.ZodOptional<z.ZodString>;
|
120
|
+
}, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
121
|
+
filename: z.ZodString;
|
122
|
+
originalFilename: z.ZodString;
|
123
|
+
type: z.ZodString;
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
125
|
+
type: string;
|
126
|
+
filename: string;
|
127
|
+
originalFilename: string;
|
128
|
+
}, {
|
129
|
+
type: string;
|
130
|
+
filename: string;
|
131
|
+
originalFilename: string;
|
132
|
+
}>, z.ZodArray<z.ZodObject<{
|
133
|
+
filename: z.ZodString;
|
134
|
+
originalFilename: z.ZodString;
|
135
|
+
type: z.ZodString;
|
136
|
+
option: z.ZodString;
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
138
|
+
type: string;
|
139
|
+
option: string;
|
140
|
+
filename: string;
|
141
|
+
originalFilename: string;
|
142
|
+
}, {
|
143
|
+
type: string;
|
144
|
+
option: string;
|
145
|
+
filename: string;
|
146
|
+
originalFilename: string;
|
147
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
148
|
+
country: z.ZodString;
|
149
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
150
|
+
province: z.ZodString;
|
151
|
+
district: z.ZodString;
|
152
|
+
}, {
|
153
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
154
|
+
town: z.ZodOptional<z.ZodString>;
|
155
|
+
residentialArea: z.ZodOptional<z.ZodString>;
|
156
|
+
street: z.ZodOptional<z.ZodString>;
|
157
|
+
number: z.ZodOptional<z.ZodString>;
|
158
|
+
zipCode: z.ZodOptional<z.ZodString>;
|
159
|
+
}>, "strip", z.ZodTypeAny, {
|
160
|
+
country: string;
|
161
|
+
district: string;
|
162
|
+
addressType: "DOMESTIC";
|
163
|
+
province: string;
|
164
|
+
urbanOrRural: "URBAN";
|
165
|
+
number?: string | undefined;
|
166
|
+
town?: string | undefined;
|
167
|
+
residentialArea?: string | undefined;
|
168
|
+
street?: string | undefined;
|
169
|
+
zipCode?: string | undefined;
|
170
|
+
}, {
|
171
|
+
country: string;
|
172
|
+
district: string;
|
173
|
+
addressType: "DOMESTIC";
|
174
|
+
province: string;
|
175
|
+
urbanOrRural: "URBAN";
|
176
|
+
number?: string | undefined;
|
177
|
+
town?: string | undefined;
|
178
|
+
residentialArea?: string | undefined;
|
179
|
+
street?: string | undefined;
|
180
|
+
zipCode?: string | undefined;
|
181
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
182
|
+
country: z.ZodString;
|
183
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
184
|
+
province: z.ZodString;
|
185
|
+
district: z.ZodString;
|
186
|
+
}, {
|
187
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
188
|
+
village: z.ZodOptional<z.ZodString>;
|
189
|
+
}>, "strip", z.ZodTypeAny, {
|
190
|
+
country: string;
|
191
|
+
district: string;
|
192
|
+
addressType: "DOMESTIC";
|
193
|
+
province: string;
|
194
|
+
urbanOrRural: "RURAL";
|
195
|
+
village?: string | undefined;
|
196
|
+
}, {
|
197
|
+
country: string;
|
198
|
+
district: string;
|
199
|
+
addressType: "DOMESTIC";
|
200
|
+
province: string;
|
201
|
+
urbanOrRural: "RURAL";
|
202
|
+
village?: string | undefined;
|
203
|
+
}>, z.ZodUndefined, z.ZodObject<{
|
204
|
+
country: z.ZodString;
|
205
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
206
|
+
state: z.ZodString;
|
207
|
+
district2: z.ZodString;
|
208
|
+
cityOrTown: z.ZodOptional<z.ZodString>;
|
209
|
+
addressLine1: z.ZodOptional<z.ZodString>;
|
210
|
+
addressLine2: z.ZodOptional<z.ZodString>;
|
211
|
+
addressLine3: z.ZodOptional<z.ZodString>;
|
212
|
+
postcodeOrZip: z.ZodOptional<z.ZodString>;
|
213
|
+
}, "strip", z.ZodTypeAny, {
|
214
|
+
country: string;
|
215
|
+
state: string;
|
216
|
+
addressType: "INTERNATIONAL";
|
217
|
+
district2: string;
|
218
|
+
cityOrTown?: string | undefined;
|
219
|
+
addressLine1?: string | undefined;
|
220
|
+
addressLine2?: string | undefined;
|
221
|
+
addressLine3?: string | undefined;
|
222
|
+
postcodeOrZip?: string | undefined;
|
223
|
+
}, {
|
224
|
+
country: string;
|
225
|
+
state: string;
|
226
|
+
addressType: "INTERNATIONAL";
|
227
|
+
district2: string;
|
228
|
+
cityOrTown?: string | undefined;
|
229
|
+
addressLine1?: string | undefined;
|
230
|
+
addressLine2?: string | undefined;
|
231
|
+
addressLine3?: string | undefined;
|
232
|
+
postcodeOrZip?: string | undefined;
|
233
|
+
}>]>, "strip">, z.objectInputType<{
|
234
|
+
eventType: z.ZodOptional<z.ZodString>;
|
235
|
+
}, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
236
|
+
filename: z.ZodString;
|
237
|
+
originalFilename: z.ZodString;
|
238
|
+
type: z.ZodString;
|
239
|
+
}, "strip", z.ZodTypeAny, {
|
240
|
+
type: string;
|
241
|
+
filename: string;
|
242
|
+
originalFilename: string;
|
243
|
+
}, {
|
244
|
+
type: string;
|
245
|
+
filename: string;
|
246
|
+
originalFilename: string;
|
247
|
+
}>, z.ZodArray<z.ZodObject<{
|
248
|
+
filename: z.ZodString;
|
249
|
+
originalFilename: z.ZodString;
|
250
|
+
type: z.ZodString;
|
251
|
+
option: z.ZodString;
|
252
|
+
}, "strip", z.ZodTypeAny, {
|
253
|
+
type: string;
|
254
|
+
option: string;
|
255
|
+
filename: string;
|
256
|
+
originalFilename: string;
|
257
|
+
}, {
|
258
|
+
type: string;
|
259
|
+
option: string;
|
260
|
+
filename: string;
|
261
|
+
originalFilename: string;
|
262
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
263
|
+
country: z.ZodString;
|
264
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
265
|
+
province: z.ZodString;
|
266
|
+
district: z.ZodString;
|
267
|
+
}, {
|
268
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
269
|
+
town: z.ZodOptional<z.ZodString>;
|
270
|
+
residentialArea: z.ZodOptional<z.ZodString>;
|
271
|
+
street: z.ZodOptional<z.ZodString>;
|
272
|
+
number: z.ZodOptional<z.ZodString>;
|
273
|
+
zipCode: z.ZodOptional<z.ZodString>;
|
274
|
+
}>, "strip", z.ZodTypeAny, {
|
275
|
+
country: string;
|
276
|
+
district: string;
|
277
|
+
addressType: "DOMESTIC";
|
278
|
+
province: string;
|
279
|
+
urbanOrRural: "URBAN";
|
280
|
+
number?: string | undefined;
|
281
|
+
town?: string | undefined;
|
282
|
+
residentialArea?: string | undefined;
|
283
|
+
street?: string | undefined;
|
284
|
+
zipCode?: string | undefined;
|
285
|
+
}, {
|
286
|
+
country: string;
|
287
|
+
district: string;
|
288
|
+
addressType: "DOMESTIC";
|
289
|
+
province: string;
|
290
|
+
urbanOrRural: "URBAN";
|
291
|
+
number?: string | undefined;
|
292
|
+
town?: string | undefined;
|
293
|
+
residentialArea?: string | undefined;
|
294
|
+
street?: string | undefined;
|
295
|
+
zipCode?: string | undefined;
|
296
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
297
|
+
country: z.ZodString;
|
298
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
299
|
+
province: z.ZodString;
|
300
|
+
district: z.ZodString;
|
301
|
+
}, {
|
302
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
303
|
+
village: z.ZodOptional<z.ZodString>;
|
304
|
+
}>, "strip", z.ZodTypeAny, {
|
305
|
+
country: string;
|
306
|
+
district: string;
|
307
|
+
addressType: "DOMESTIC";
|
308
|
+
province: string;
|
309
|
+
urbanOrRural: "RURAL";
|
310
|
+
village?: string | undefined;
|
311
|
+
}, {
|
312
|
+
country: string;
|
313
|
+
district: string;
|
314
|
+
addressType: "DOMESTIC";
|
315
|
+
province: string;
|
316
|
+
urbanOrRural: "RURAL";
|
317
|
+
village?: string | undefined;
|
318
|
+
}>, z.ZodUndefined, z.ZodObject<{
|
319
|
+
country: z.ZodString;
|
320
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
321
|
+
state: z.ZodString;
|
322
|
+
district2: z.ZodString;
|
323
|
+
cityOrTown: z.ZodOptional<z.ZodString>;
|
324
|
+
addressLine1: z.ZodOptional<z.ZodString>;
|
325
|
+
addressLine2: z.ZodOptional<z.ZodString>;
|
326
|
+
addressLine3: z.ZodOptional<z.ZodString>;
|
327
|
+
postcodeOrZip: z.ZodOptional<z.ZodString>;
|
328
|
+
}, "strip", z.ZodTypeAny, {
|
329
|
+
country: string;
|
330
|
+
state: string;
|
331
|
+
addressType: "INTERNATIONAL";
|
332
|
+
district2: string;
|
333
|
+
cityOrTown?: string | undefined;
|
334
|
+
addressLine1?: string | undefined;
|
335
|
+
addressLine2?: string | undefined;
|
336
|
+
addressLine3?: string | undefined;
|
337
|
+
postcodeOrZip?: string | undefined;
|
338
|
+
}, {
|
339
|
+
country: string;
|
340
|
+
state: string;
|
341
|
+
addressType: "INTERNATIONAL";
|
342
|
+
district2: string;
|
343
|
+
cityOrTown?: string | undefined;
|
344
|
+
addressLine1?: string | undefined;
|
345
|
+
addressLine2?: string | undefined;
|
346
|
+
addressLine3?: string | undefined;
|
347
|
+
postcodeOrZip?: string | undefined;
|
348
|
+
}>]>, "strip">>;
|
349
|
+
export type SearchQueryParams = z.infer<typeof SearchQueryParams>;
|
5
350
|
export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
|
6
351
|
config: z.ZodObject<{
|
7
|
-
type: z.ZodEnum<["
|
352
|
+
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
8
353
|
}, "strip", z.ZodTypeAny, {
|
9
|
-
type: "
|
354
|
+
type: "exact" | "fuzzy" | "range";
|
10
355
|
}, {
|
11
|
-
type: "
|
356
|
+
type: "exact" | "fuzzy" | "range";
|
12
357
|
}>;
|
13
358
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
14
359
|
value: z.ZodString;
|
@@ -28,12 +373,18 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
28
373
|
defaultMessage: string;
|
29
374
|
};
|
30
375
|
}>, "many">>;
|
376
|
+
searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
377
|
+
id: string;
|
378
|
+
description: string;
|
379
|
+
defaultMessage: string;
|
380
|
+
}>>;
|
381
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
31
382
|
}, {
|
32
383
|
fieldId: z.ZodString;
|
33
384
|
fieldType: z.ZodLiteral<"field">;
|
34
385
|
}>, "strip", z.ZodTypeAny, {
|
35
386
|
config: {
|
36
|
-
type: "
|
387
|
+
type: "exact" | "fuzzy" | "range";
|
37
388
|
};
|
38
389
|
fieldId: string;
|
39
390
|
fieldType: "field";
|
@@ -41,9 +392,20 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
41
392
|
value: string;
|
42
393
|
label: TranslationConfig;
|
43
394
|
}[] | undefined;
|
395
|
+
conditionals?: ({
|
396
|
+
type: "SHOW";
|
397
|
+
conditional: import(".").JSONSchema;
|
398
|
+
} | {
|
399
|
+
type: "ENABLE";
|
400
|
+
conditional: import(".").JSONSchema;
|
401
|
+
} | {
|
402
|
+
type: "DISPLAY_ON_REVIEW";
|
403
|
+
conditional: import(".").JSONSchema;
|
404
|
+
})[] | undefined;
|
405
|
+
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
44
406
|
}, {
|
45
407
|
config: {
|
46
|
-
type: "
|
408
|
+
type: "exact" | "fuzzy" | "range";
|
47
409
|
};
|
48
410
|
fieldId: string;
|
49
411
|
fieldType: "field";
|
@@ -55,16 +417,31 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
55
417
|
defaultMessage: string;
|
56
418
|
};
|
57
419
|
}[] | undefined;
|
420
|
+
conditionals?: ({
|
421
|
+
type: "SHOW";
|
422
|
+
conditional: import(".").JSONSchema;
|
423
|
+
} | {
|
424
|
+
type: "ENABLE";
|
425
|
+
conditional: import(".").JSONSchema;
|
426
|
+
} | {
|
427
|
+
type: "DISPLAY_ON_REVIEW";
|
428
|
+
conditional: import(".").JSONSchema;
|
429
|
+
})[] | undefined;
|
430
|
+
searchCriteriaLabelPrefix?: {
|
431
|
+
id: string;
|
432
|
+
description: string;
|
433
|
+
defaultMessage: string;
|
434
|
+
} | undefined;
|
58
435
|
}>;
|
59
|
-
export declare const EventFieldId: z.ZodEnum<["trackingId", "status"]>;
|
436
|
+
export declare const EventFieldId: z.ZodEnum<["trackingId", "status", "legalStatus.REGISTERED.createdAt", "legalStatus.REGISTERED.createdAtLocation", "updatedAt"]>;
|
60
437
|
export type EventFieldId = z.infer<typeof EventFieldId>;
|
61
438
|
export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
|
62
439
|
config: z.ZodObject<{
|
63
|
-
type: z.ZodEnum<["
|
440
|
+
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
64
441
|
}, "strip", z.ZodTypeAny, {
|
65
|
-
type: "
|
442
|
+
type: "exact" | "fuzzy" | "range";
|
66
443
|
}, {
|
67
|
-
type: "
|
444
|
+
type: "exact" | "fuzzy" | "range";
|
68
445
|
}>;
|
69
446
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
70
447
|
value: z.ZodString;
|
@@ -84,24 +461,41 @@ export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShap
|
|
84
461
|
defaultMessage: string;
|
85
462
|
};
|
86
463
|
}>, "many">>;
|
464
|
+
searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
465
|
+
id: string;
|
466
|
+
description: string;
|
467
|
+
defaultMessage: string;
|
468
|
+
}>>;
|
469
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
87
470
|
}, {
|
88
|
-
fieldId: z.ZodEnum<["trackingId", "status"]>;
|
471
|
+
fieldId: z.ZodEnum<["trackingId", "status", "legalStatus.REGISTERED.createdAt", "legalStatus.REGISTERED.createdAtLocation", "updatedAt"]>;
|
89
472
|
fieldType: z.ZodLiteral<"event">;
|
90
473
|
}>, "strip", z.ZodTypeAny, {
|
91
474
|
config: {
|
92
|
-
type: "
|
475
|
+
type: "exact" | "fuzzy" | "range";
|
93
476
|
};
|
94
|
-
fieldId: "status" | "trackingId";
|
477
|
+
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
|
95
478
|
fieldType: "event";
|
96
479
|
options?: {
|
97
480
|
value: string;
|
98
481
|
label: TranslationConfig;
|
99
482
|
}[] | undefined;
|
483
|
+
conditionals?: ({
|
484
|
+
type: "SHOW";
|
485
|
+
conditional: import(".").JSONSchema;
|
486
|
+
} | {
|
487
|
+
type: "ENABLE";
|
488
|
+
conditional: import(".").JSONSchema;
|
489
|
+
} | {
|
490
|
+
type: "DISPLAY_ON_REVIEW";
|
491
|
+
conditional: import(".").JSONSchema;
|
492
|
+
})[] | undefined;
|
493
|
+
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
100
494
|
}, {
|
101
495
|
config: {
|
102
|
-
type: "
|
496
|
+
type: "exact" | "fuzzy" | "range";
|
103
497
|
};
|
104
|
-
fieldId: "status" | "trackingId";
|
498
|
+
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
|
105
499
|
fieldType: "event";
|
106
500
|
options?: {
|
107
501
|
value: string;
|
@@ -111,14 +505,29 @@ export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShap
|
|
111
505
|
defaultMessage: string;
|
112
506
|
};
|
113
507
|
}[] | undefined;
|
508
|
+
conditionals?: ({
|
509
|
+
type: "SHOW";
|
510
|
+
conditional: import(".").JSONSchema;
|
511
|
+
} | {
|
512
|
+
type: "ENABLE";
|
513
|
+
conditional: import(".").JSONSchema;
|
514
|
+
} | {
|
515
|
+
type: "DISPLAY_ON_REVIEW";
|
516
|
+
conditional: import(".").JSONSchema;
|
517
|
+
})[] | undefined;
|
518
|
+
searchCriteriaLabelPrefix?: {
|
519
|
+
id: string;
|
520
|
+
description: string;
|
521
|
+
defaultMessage: string;
|
522
|
+
} | undefined;
|
114
523
|
}>;
|
115
524
|
export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObject<z.objectUtil.extendShape<{
|
116
525
|
config: z.ZodObject<{
|
117
|
-
type: z.ZodEnum<["
|
526
|
+
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
118
527
|
}, "strip", z.ZodTypeAny, {
|
119
|
-
type: "
|
528
|
+
type: "exact" | "fuzzy" | "range";
|
120
529
|
}, {
|
121
|
-
type: "
|
530
|
+
type: "exact" | "fuzzy" | "range";
|
122
531
|
}>;
|
123
532
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
124
533
|
value: z.ZodString;
|
@@ -138,12 +547,18 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
|
|
138
547
|
defaultMessage: string;
|
139
548
|
};
|
140
549
|
}>, "many">>;
|
550
|
+
searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
551
|
+
id: string;
|
552
|
+
description: string;
|
553
|
+
defaultMessage: string;
|
554
|
+
}>>;
|
555
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
141
556
|
}, {
|
142
557
|
fieldId: z.ZodString;
|
143
558
|
fieldType: z.ZodLiteral<"field">;
|
144
559
|
}>, "strip", z.ZodTypeAny, {
|
145
560
|
config: {
|
146
|
-
type: "
|
561
|
+
type: "exact" | "fuzzy" | "range";
|
147
562
|
};
|
148
563
|
fieldId: string;
|
149
564
|
fieldType: "field";
|
@@ -151,9 +566,20 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
|
|
151
566
|
value: string;
|
152
567
|
label: TranslationConfig;
|
153
568
|
}[] | undefined;
|
569
|
+
conditionals?: ({
|
570
|
+
type: "SHOW";
|
571
|
+
conditional: import(".").JSONSchema;
|
572
|
+
} | {
|
573
|
+
type: "ENABLE";
|
574
|
+
conditional: import(".").JSONSchema;
|
575
|
+
} | {
|
576
|
+
type: "DISPLAY_ON_REVIEW";
|
577
|
+
conditional: import(".").JSONSchema;
|
578
|
+
})[] | undefined;
|
579
|
+
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
154
580
|
}, {
|
155
581
|
config: {
|
156
|
-
type: "
|
582
|
+
type: "exact" | "fuzzy" | "range";
|
157
583
|
};
|
158
584
|
fieldId: string;
|
159
585
|
fieldType: "field";
|
@@ -165,13 +591,28 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
|
|
165
591
|
defaultMessage: string;
|
166
592
|
};
|
167
593
|
}[] | undefined;
|
594
|
+
conditionals?: ({
|
595
|
+
type: "SHOW";
|
596
|
+
conditional: import(".").JSONSchema;
|
597
|
+
} | {
|
598
|
+
type: "ENABLE";
|
599
|
+
conditional: import(".").JSONSchema;
|
600
|
+
} | {
|
601
|
+
type: "DISPLAY_ON_REVIEW";
|
602
|
+
conditional: import(".").JSONSchema;
|
603
|
+
})[] | undefined;
|
604
|
+
searchCriteriaLabelPrefix?: {
|
605
|
+
id: string;
|
606
|
+
description: string;
|
607
|
+
defaultMessage: string;
|
608
|
+
} | undefined;
|
168
609
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
169
610
|
config: z.ZodObject<{
|
170
|
-
type: z.ZodEnum<["
|
611
|
+
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
171
612
|
}, "strip", z.ZodTypeAny, {
|
172
|
-
type: "
|
613
|
+
type: "exact" | "fuzzy" | "range";
|
173
614
|
}, {
|
174
|
-
type: "
|
615
|
+
type: "exact" | "fuzzy" | "range";
|
175
616
|
}>;
|
176
617
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
177
618
|
value: z.ZodString;
|
@@ -191,24 +632,41 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
|
|
191
632
|
defaultMessage: string;
|
192
633
|
};
|
193
634
|
}>, "many">>;
|
635
|
+
searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
636
|
+
id: string;
|
637
|
+
description: string;
|
638
|
+
defaultMessage: string;
|
639
|
+
}>>;
|
640
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
194
641
|
}, {
|
195
|
-
fieldId: z.ZodEnum<["trackingId", "status"]>;
|
642
|
+
fieldId: z.ZodEnum<["trackingId", "status", "legalStatus.REGISTERED.createdAt", "legalStatus.REGISTERED.createdAtLocation", "updatedAt"]>;
|
196
643
|
fieldType: z.ZodLiteral<"event">;
|
197
644
|
}>, "strip", z.ZodTypeAny, {
|
198
645
|
config: {
|
199
|
-
type: "
|
646
|
+
type: "exact" | "fuzzy" | "range";
|
200
647
|
};
|
201
|
-
fieldId: "status" | "trackingId";
|
648
|
+
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
|
202
649
|
fieldType: "event";
|
203
650
|
options?: {
|
204
651
|
value: string;
|
205
652
|
label: TranslationConfig;
|
206
653
|
}[] | undefined;
|
654
|
+
conditionals?: ({
|
655
|
+
type: "SHOW";
|
656
|
+
conditional: import(".").JSONSchema;
|
657
|
+
} | {
|
658
|
+
type: "ENABLE";
|
659
|
+
conditional: import(".").JSONSchema;
|
660
|
+
} | {
|
661
|
+
type: "DISPLAY_ON_REVIEW";
|
662
|
+
conditional: import(".").JSONSchema;
|
663
|
+
})[] | undefined;
|
664
|
+
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
207
665
|
}, {
|
208
666
|
config: {
|
209
|
-
type: "
|
667
|
+
type: "exact" | "fuzzy" | "range";
|
210
668
|
};
|
211
|
-
fieldId: "status" | "trackingId";
|
669
|
+
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
|
212
670
|
fieldType: "event";
|
213
671
|
options?: {
|
214
672
|
value: string;
|
@@ -218,6 +676,21 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
|
|
218
676
|
defaultMessage: string;
|
219
677
|
};
|
220
678
|
}[] | undefined;
|
679
|
+
conditionals?: ({
|
680
|
+
type: "SHOW";
|
681
|
+
conditional: import(".").JSONSchema;
|
682
|
+
} | {
|
683
|
+
type: "ENABLE";
|
684
|
+
conditional: import(".").JSONSchema;
|
685
|
+
} | {
|
686
|
+
type: "DISPLAY_ON_REVIEW";
|
687
|
+
conditional: import(".").JSONSchema;
|
688
|
+
})[] | undefined;
|
689
|
+
searchCriteriaLabelPrefix?: {
|
690
|
+
id: string;
|
691
|
+
description: string;
|
692
|
+
defaultMessage: string;
|
693
|
+
} | undefined;
|
221
694
|
}>]>;
|
222
695
|
export type SearchField = z.infer<typeof SearchField>;
|
223
696
|
export declare const AdvancedSearchConfig: z.ZodObject<{
|
@@ -228,11 +701,11 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
228
701
|
}>;
|
229
702
|
fields: z.ZodArray<z.ZodDiscriminatedUnion<"fieldType", [z.ZodObject<z.objectUtil.extendShape<{
|
230
703
|
config: z.ZodObject<{
|
231
|
-
type: z.ZodEnum<["
|
704
|
+
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
232
705
|
}, "strip", z.ZodTypeAny, {
|
233
|
-
type: "
|
706
|
+
type: "exact" | "fuzzy" | "range";
|
234
707
|
}, {
|
235
|
-
type: "
|
708
|
+
type: "exact" | "fuzzy" | "range";
|
236
709
|
}>;
|
237
710
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
238
711
|
value: z.ZodString;
|
@@ -252,12 +725,18 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
252
725
|
defaultMessage: string;
|
253
726
|
};
|
254
727
|
}>, "many">>;
|
728
|
+
searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
729
|
+
id: string;
|
730
|
+
description: string;
|
731
|
+
defaultMessage: string;
|
732
|
+
}>>;
|
733
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
255
734
|
}, {
|
256
735
|
fieldId: z.ZodString;
|
257
736
|
fieldType: z.ZodLiteral<"field">;
|
258
737
|
}>, "strip", z.ZodTypeAny, {
|
259
738
|
config: {
|
260
|
-
type: "
|
739
|
+
type: "exact" | "fuzzy" | "range";
|
261
740
|
};
|
262
741
|
fieldId: string;
|
263
742
|
fieldType: "field";
|
@@ -265,9 +744,20 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
265
744
|
value: string;
|
266
745
|
label: TranslationConfig;
|
267
746
|
}[] | undefined;
|
747
|
+
conditionals?: ({
|
748
|
+
type: "SHOW";
|
749
|
+
conditional: import(".").JSONSchema;
|
750
|
+
} | {
|
751
|
+
type: "ENABLE";
|
752
|
+
conditional: import(".").JSONSchema;
|
753
|
+
} | {
|
754
|
+
type: "DISPLAY_ON_REVIEW";
|
755
|
+
conditional: import(".").JSONSchema;
|
756
|
+
})[] | undefined;
|
757
|
+
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
268
758
|
}, {
|
269
759
|
config: {
|
270
|
-
type: "
|
760
|
+
type: "exact" | "fuzzy" | "range";
|
271
761
|
};
|
272
762
|
fieldId: string;
|
273
763
|
fieldType: "field";
|
@@ -279,13 +769,28 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
279
769
|
defaultMessage: string;
|
280
770
|
};
|
281
771
|
}[] | undefined;
|
772
|
+
conditionals?: ({
|
773
|
+
type: "SHOW";
|
774
|
+
conditional: import(".").JSONSchema;
|
775
|
+
} | {
|
776
|
+
type: "ENABLE";
|
777
|
+
conditional: import(".").JSONSchema;
|
778
|
+
} | {
|
779
|
+
type: "DISPLAY_ON_REVIEW";
|
780
|
+
conditional: import(".").JSONSchema;
|
781
|
+
})[] | undefined;
|
782
|
+
searchCriteriaLabelPrefix?: {
|
783
|
+
id: string;
|
784
|
+
description: string;
|
785
|
+
defaultMessage: string;
|
786
|
+
} | undefined;
|
282
787
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
283
788
|
config: z.ZodObject<{
|
284
|
-
type: z.ZodEnum<["
|
789
|
+
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
285
790
|
}, "strip", z.ZodTypeAny, {
|
286
|
-
type: "
|
791
|
+
type: "exact" | "fuzzy" | "range";
|
287
792
|
}, {
|
288
|
-
type: "
|
793
|
+
type: "exact" | "fuzzy" | "range";
|
289
794
|
}>;
|
290
795
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
291
796
|
value: z.ZodString;
|
@@ -305,24 +810,41 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
305
810
|
defaultMessage: string;
|
306
811
|
};
|
307
812
|
}>, "many">>;
|
813
|
+
searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
814
|
+
id: string;
|
815
|
+
description: string;
|
816
|
+
defaultMessage: string;
|
817
|
+
}>>;
|
818
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
308
819
|
}, {
|
309
|
-
fieldId: z.ZodEnum<["trackingId", "status"]>;
|
820
|
+
fieldId: z.ZodEnum<["trackingId", "status", "legalStatus.REGISTERED.createdAt", "legalStatus.REGISTERED.createdAtLocation", "updatedAt"]>;
|
310
821
|
fieldType: z.ZodLiteral<"event">;
|
311
822
|
}>, "strip", z.ZodTypeAny, {
|
312
823
|
config: {
|
313
|
-
type: "
|
824
|
+
type: "exact" | "fuzzy" | "range";
|
314
825
|
};
|
315
|
-
fieldId: "status" | "trackingId";
|
826
|
+
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
|
316
827
|
fieldType: "event";
|
317
828
|
options?: {
|
318
829
|
value: string;
|
319
830
|
label: TranslationConfig;
|
320
831
|
}[] | undefined;
|
832
|
+
conditionals?: ({
|
833
|
+
type: "SHOW";
|
834
|
+
conditional: import(".").JSONSchema;
|
835
|
+
} | {
|
836
|
+
type: "ENABLE";
|
837
|
+
conditional: import(".").JSONSchema;
|
838
|
+
} | {
|
839
|
+
type: "DISPLAY_ON_REVIEW";
|
840
|
+
conditional: import(".").JSONSchema;
|
841
|
+
})[] | undefined;
|
842
|
+
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
321
843
|
}, {
|
322
844
|
config: {
|
323
|
-
type: "
|
845
|
+
type: "exact" | "fuzzy" | "range";
|
324
846
|
};
|
325
|
-
fieldId: "status" | "trackingId";
|
847
|
+
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
|
326
848
|
fieldType: "event";
|
327
849
|
options?: {
|
328
850
|
value: string;
|
@@ -332,12 +854,27 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
332
854
|
defaultMessage: string;
|
333
855
|
};
|
334
856
|
}[] | undefined;
|
857
|
+
conditionals?: ({
|
858
|
+
type: "SHOW";
|
859
|
+
conditional: import(".").JSONSchema;
|
860
|
+
} | {
|
861
|
+
type: "ENABLE";
|
862
|
+
conditional: import(".").JSONSchema;
|
863
|
+
} | {
|
864
|
+
type: "DISPLAY_ON_REVIEW";
|
865
|
+
conditional: import(".").JSONSchema;
|
866
|
+
})[] | undefined;
|
867
|
+
searchCriteriaLabelPrefix?: {
|
868
|
+
id: string;
|
869
|
+
description: string;
|
870
|
+
defaultMessage: string;
|
871
|
+
} | undefined;
|
335
872
|
}>]>, "many">;
|
336
873
|
}, "strip", z.ZodTypeAny, {
|
337
874
|
title: TranslationConfig;
|
338
875
|
fields: ({
|
339
876
|
config: {
|
340
|
-
type: "
|
877
|
+
type: "exact" | "fuzzy" | "range";
|
341
878
|
};
|
342
879
|
fieldId: string;
|
343
880
|
fieldType: "field";
|
@@ -345,16 +882,38 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
345
882
|
value: string;
|
346
883
|
label: TranslationConfig;
|
347
884
|
}[] | undefined;
|
885
|
+
conditionals?: ({
|
886
|
+
type: "SHOW";
|
887
|
+
conditional: import(".").JSONSchema;
|
888
|
+
} | {
|
889
|
+
type: "ENABLE";
|
890
|
+
conditional: import(".").JSONSchema;
|
891
|
+
} | {
|
892
|
+
type: "DISPLAY_ON_REVIEW";
|
893
|
+
conditional: import(".").JSONSchema;
|
894
|
+
})[] | undefined;
|
895
|
+
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
348
896
|
} | {
|
349
897
|
config: {
|
350
|
-
type: "
|
898
|
+
type: "exact" | "fuzzy" | "range";
|
351
899
|
};
|
352
|
-
fieldId: "status" | "trackingId";
|
900
|
+
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
|
353
901
|
fieldType: "event";
|
354
902
|
options?: {
|
355
903
|
value: string;
|
356
904
|
label: TranslationConfig;
|
357
905
|
}[] | undefined;
|
906
|
+
conditionals?: ({
|
907
|
+
type: "SHOW";
|
908
|
+
conditional: import(".").JSONSchema;
|
909
|
+
} | {
|
910
|
+
type: "ENABLE";
|
911
|
+
conditional: import(".").JSONSchema;
|
912
|
+
} | {
|
913
|
+
type: "DISPLAY_ON_REVIEW";
|
914
|
+
conditional: import(".").JSONSchema;
|
915
|
+
})[] | undefined;
|
916
|
+
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
358
917
|
})[];
|
359
918
|
}, {
|
360
919
|
title: {
|
@@ -364,7 +923,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
364
923
|
};
|
365
924
|
fields: ({
|
366
925
|
config: {
|
367
|
-
type: "
|
926
|
+
type: "exact" | "fuzzy" | "range";
|
368
927
|
};
|
369
928
|
fieldId: string;
|
370
929
|
fieldType: "field";
|
@@ -376,11 +935,26 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
376
935
|
defaultMessage: string;
|
377
936
|
};
|
378
937
|
}[] | undefined;
|
938
|
+
conditionals?: ({
|
939
|
+
type: "SHOW";
|
940
|
+
conditional: import(".").JSONSchema;
|
941
|
+
} | {
|
942
|
+
type: "ENABLE";
|
943
|
+
conditional: import(".").JSONSchema;
|
944
|
+
} | {
|
945
|
+
type: "DISPLAY_ON_REVIEW";
|
946
|
+
conditional: import(".").JSONSchema;
|
947
|
+
})[] | undefined;
|
948
|
+
searchCriteriaLabelPrefix?: {
|
949
|
+
id: string;
|
950
|
+
description: string;
|
951
|
+
defaultMessage: string;
|
952
|
+
} | undefined;
|
379
953
|
} | {
|
380
954
|
config: {
|
381
|
-
type: "
|
955
|
+
type: "exact" | "fuzzy" | "range";
|
382
956
|
};
|
383
|
-
fieldId: "status" | "trackingId";
|
957
|
+
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
|
384
958
|
fieldType: "event";
|
385
959
|
options?: {
|
386
960
|
value: string;
|
@@ -390,6 +964,21 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
390
964
|
defaultMessage: string;
|
391
965
|
};
|
392
966
|
}[] | undefined;
|
967
|
+
conditionals?: ({
|
968
|
+
type: "SHOW";
|
969
|
+
conditional: import(".").JSONSchema;
|
970
|
+
} | {
|
971
|
+
type: "ENABLE";
|
972
|
+
conditional: import(".").JSONSchema;
|
973
|
+
} | {
|
974
|
+
type: "DISPLAY_ON_REVIEW";
|
975
|
+
conditional: import(".").JSONSchema;
|
976
|
+
})[] | undefined;
|
977
|
+
searchCriteriaLabelPrefix?: {
|
978
|
+
id: string;
|
979
|
+
description: string;
|
980
|
+
defaultMessage: string;
|
981
|
+
} | undefined;
|
393
982
|
})[];
|
394
983
|
}>;
|
395
984
|
export type AdvancedSearchConfigInput = z.infer<typeof AdvancedSearchConfig>;
|