@opencrvs/toolkit 1.8.0-rc.ff0a1b5 → 1.8.0-rc.ff0b26c
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 +2923 -7
- package/dist/commons/events/ActionConfig.d.ts +8022 -1007
- package/dist/commons/events/AdvancedSearchConfig.d.ts +603 -12
- package/dist/commons/events/EventConfig.d.ts +3622 -113
- package/dist/commons/events/EventIndex.d.ts +318 -45
- package/dist/commons/events/EventMetadata.d.ts +1 -0
- package/dist/commons/events/FieldConfig.d.ts +517 -0
- package/dist/commons/events/FormConfig.d.ts +3641 -467
- package/dist/commons/events/PageConfig.d.ts +782 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +344 -52
- package/dist/commons/events/defineConfig.d.ts +253 -1
- package/dist/commons/events/event.d.ts +35 -8
- package/dist/commons/events/field.d.ts +21 -7
- package/dist/commons/events/scopes.d.ts +20 -1
- package/dist/commons/events/test.utils.d.ts +3 -3
- package/dist/commons/events/utils.d.ts +115 -0
- package/dist/events/index.js +429 -121
- package/dist/scopes/index.d.ts +94 -6
- package/dist/scopes/index.js +42 -21
- package/package.json +1 -1
@@ -16,14 +16,24 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
16
16
|
eventType: z.ZodOptional<z.ZodString>;
|
17
17
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
18
18
|
type: z.ZodLiteral<"anyOf">;
|
19
|
-
terms: z.ZodArray<z.
|
19
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
21
21
|
type: "anyOf";
|
22
|
-
terms:
|
22
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
23
23
|
}, {
|
24
24
|
type: "anyOf";
|
25
|
-
terms:
|
25
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
26
26
|
}>, z.ZodObject<{
|
27
|
+
type: z.ZodLiteral<"exact">;
|
28
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
30
|
+
type: "exact";
|
31
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
32
|
+
}, {
|
33
|
+
type: "exact";
|
34
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
35
|
+
}>]>>>;
|
36
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
27
37
|
type: z.ZodLiteral<"exact">;
|
28
38
|
term: z.ZodString;
|
29
39
|
}, "strip", z.ZodTypeAny, {
|
@@ -32,8 +42,20 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
32
42
|
}, {
|
33
43
|
type: "exact";
|
34
44
|
term: string;
|
45
|
+
}>, z.ZodObject<{
|
46
|
+
type: z.ZodLiteral<"range">;
|
47
|
+
gte: z.ZodString;
|
48
|
+
lte: z.ZodString;
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
50
|
+
type: "range";
|
51
|
+
gte: string;
|
52
|
+
lte: string;
|
53
|
+
}, {
|
54
|
+
type: "range";
|
55
|
+
gte: string;
|
56
|
+
lte: string;
|
35
57
|
}>]>>>;
|
36
|
-
|
58
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
37
59
|
type: z.ZodLiteral<"exact">;
|
38
60
|
term: z.ZodString;
|
39
61
|
}, "strip", z.ZodTypeAny, {
|
@@ -55,7 +77,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
55
77
|
gte: string;
|
56
78
|
lte: string;
|
57
79
|
}>]>>>;
|
58
|
-
|
80
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
59
81
|
type: z.ZodLiteral<"exact">;
|
60
82
|
term: z.ZodString;
|
61
83
|
}, "strip", z.ZodTypeAny, {
|
@@ -77,6 +99,25 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
77
99
|
gte: string;
|
78
100
|
lte: string;
|
79
101
|
}>]>>>;
|
102
|
+
'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
103
|
+
type: z.ZodLiteral<"within">;
|
104
|
+
location: z.ZodString;
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
106
|
+
type: "within";
|
107
|
+
location: string;
|
108
|
+
}, {
|
109
|
+
type: "within";
|
110
|
+
location: string;
|
111
|
+
}>, z.ZodObject<{
|
112
|
+
type: z.ZodLiteral<"exact">;
|
113
|
+
term: z.ZodString;
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
115
|
+
type: "exact";
|
116
|
+
term: string;
|
117
|
+
}, {
|
118
|
+
type: "exact";
|
119
|
+
term: string;
|
120
|
+
}>]>>>;
|
80
121
|
createAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
81
122
|
type: z.ZodLiteral<"within">;
|
82
123
|
location: z.ZodString;
|
@@ -168,10 +209,10 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
168
209
|
}, "strip", z.ZodTypeAny, {
|
169
210
|
status?: {
|
170
211
|
type: "exact";
|
171
|
-
term:
|
212
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
172
213
|
} | {
|
173
214
|
type: "anyOf";
|
174
|
-
terms:
|
215
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
175
216
|
} | undefined;
|
176
217
|
data?: any;
|
177
218
|
createdAt?: {
|
@@ -198,6 +239,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
198
239
|
type: "exact";
|
199
240
|
term: string;
|
200
241
|
} | undefined;
|
242
|
+
eventType?: string | undefined;
|
243
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
244
|
+
type: "exact";
|
245
|
+
term: string;
|
246
|
+
} | {
|
247
|
+
type: "range";
|
248
|
+
gte: string;
|
249
|
+
lte: string;
|
250
|
+
} | undefined;
|
251
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
252
|
+
type: "exact";
|
253
|
+
term: string;
|
254
|
+
} | {
|
255
|
+
type: "within";
|
256
|
+
location: string;
|
257
|
+
} | undefined;
|
201
258
|
updatedAtLocation?: {
|
202
259
|
type: "exact";
|
203
260
|
term: string;
|
@@ -216,7 +273,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
216
273
|
type: "not";
|
217
274
|
term: string;
|
218
275
|
})[] | undefined;
|
219
|
-
eventType?: string | undefined;
|
220
276
|
createAtLocation?: {
|
221
277
|
type: "exact";
|
222
278
|
term: string;
|
@@ -227,10 +283,10 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
227
283
|
}, {
|
228
284
|
status?: {
|
229
285
|
type: "exact";
|
230
|
-
term:
|
286
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
231
287
|
} | {
|
232
288
|
type: "anyOf";
|
233
|
-
terms:
|
289
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
234
290
|
} | undefined;
|
235
291
|
data?: any;
|
236
292
|
createdAt?: {
|
@@ -257,6 +313,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
257
313
|
type: "exact";
|
258
314
|
term: string;
|
259
315
|
} | undefined;
|
316
|
+
eventType?: string | undefined;
|
317
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
318
|
+
type: "exact";
|
319
|
+
term: string;
|
320
|
+
} | {
|
321
|
+
type: "range";
|
322
|
+
gte: string;
|
323
|
+
lte: string;
|
324
|
+
} | undefined;
|
325
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
326
|
+
type: "exact";
|
327
|
+
term: string;
|
328
|
+
} | {
|
329
|
+
type: "within";
|
330
|
+
location: string;
|
331
|
+
} | undefined;
|
260
332
|
updatedAtLocation?: {
|
261
333
|
type: "exact";
|
262
334
|
term: string;
|
@@ -275,7 +347,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
275
347
|
type: "not";
|
276
348
|
term: string;
|
277
349
|
})[] | undefined;
|
278
|
-
eventType?: string | undefined;
|
279
350
|
createAtLocation?: {
|
280
351
|
type: "exact";
|
281
352
|
term: string;
|
@@ -289,10 +360,10 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
289
360
|
clauses: {
|
290
361
|
status?: {
|
291
362
|
type: "exact";
|
292
|
-
term:
|
363
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
293
364
|
} | {
|
294
365
|
type: "anyOf";
|
295
|
-
terms:
|
366
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
296
367
|
} | undefined;
|
297
368
|
data?: any;
|
298
369
|
createdAt?: {
|
@@ -319,6 +390,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
319
390
|
type: "exact";
|
320
391
|
term: string;
|
321
392
|
} | undefined;
|
393
|
+
eventType?: string | undefined;
|
394
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
395
|
+
type: "exact";
|
396
|
+
term: string;
|
397
|
+
} | {
|
398
|
+
type: "range";
|
399
|
+
gte: string;
|
400
|
+
lte: string;
|
401
|
+
} | undefined;
|
402
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
403
|
+
type: "exact";
|
404
|
+
term: string;
|
405
|
+
} | {
|
406
|
+
type: "within";
|
407
|
+
location: string;
|
408
|
+
} | undefined;
|
322
409
|
updatedAtLocation?: {
|
323
410
|
type: "exact";
|
324
411
|
term: string;
|
@@ -337,7 +424,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
337
424
|
type: "not";
|
338
425
|
term: string;
|
339
426
|
})[] | undefined;
|
340
|
-
eventType?: string | undefined;
|
341
427
|
createAtLocation?: {
|
342
428
|
type: "exact";
|
343
429
|
term: string;
|
@@ -351,10 +437,10 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
351
437
|
clauses: {
|
352
438
|
status?: {
|
353
439
|
type: "exact";
|
354
|
-
term:
|
440
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
355
441
|
} | {
|
356
442
|
type: "anyOf";
|
357
|
-
terms:
|
443
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
358
444
|
} | undefined;
|
359
445
|
data?: any;
|
360
446
|
createdAt?: {
|
@@ -381,6 +467,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
381
467
|
type: "exact";
|
382
468
|
term: string;
|
383
469
|
} | undefined;
|
470
|
+
eventType?: string | undefined;
|
471
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
472
|
+
type: "exact";
|
473
|
+
term: string;
|
474
|
+
} | {
|
475
|
+
type: "range";
|
476
|
+
gte: string;
|
477
|
+
lte: string;
|
478
|
+
} | undefined;
|
479
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
480
|
+
type: "exact";
|
481
|
+
term: string;
|
482
|
+
} | {
|
483
|
+
type: "within";
|
484
|
+
location: string;
|
485
|
+
} | undefined;
|
384
486
|
updatedAtLocation?: {
|
385
487
|
type: "exact";
|
386
488
|
term: string;
|
@@ -399,7 +501,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
399
501
|
type: "not";
|
400
502
|
term: string;
|
401
503
|
})[] | undefined;
|
402
|
-
eventType?: string | undefined;
|
403
504
|
createAtLocation?: {
|
404
505
|
type: "exact";
|
405
506
|
term: string;
|
@@ -414,14 +515,24 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
414
515
|
eventType: z.ZodOptional<z.ZodString>;
|
415
516
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
416
517
|
type: z.ZodLiteral<"anyOf">;
|
417
|
-
terms: z.ZodArray<z.
|
518
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
418
519
|
}, "strip", z.ZodTypeAny, {
|
419
520
|
type: "anyOf";
|
420
|
-
terms:
|
521
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
421
522
|
}, {
|
422
523
|
type: "anyOf";
|
423
|
-
terms:
|
524
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
424
525
|
}>, z.ZodObject<{
|
526
|
+
type: z.ZodLiteral<"exact">;
|
527
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
528
|
+
}, "strip", z.ZodTypeAny, {
|
529
|
+
type: "exact";
|
530
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
531
|
+
}, {
|
532
|
+
type: "exact";
|
533
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
534
|
+
}>]>>>;
|
535
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
425
536
|
type: z.ZodLiteral<"exact">;
|
426
537
|
term: z.ZodString;
|
427
538
|
}, "strip", z.ZodTypeAny, {
|
@@ -430,8 +541,20 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
430
541
|
}, {
|
431
542
|
type: "exact";
|
432
543
|
term: string;
|
544
|
+
}>, z.ZodObject<{
|
545
|
+
type: z.ZodLiteral<"range">;
|
546
|
+
gte: z.ZodString;
|
547
|
+
lte: z.ZodString;
|
548
|
+
}, "strip", z.ZodTypeAny, {
|
549
|
+
type: "range";
|
550
|
+
gte: string;
|
551
|
+
lte: string;
|
552
|
+
}, {
|
553
|
+
type: "range";
|
554
|
+
gte: string;
|
555
|
+
lte: string;
|
433
556
|
}>]>>>;
|
434
|
-
|
557
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
435
558
|
type: z.ZodLiteral<"exact">;
|
436
559
|
term: z.ZodString;
|
437
560
|
}, "strip", z.ZodTypeAny, {
|
@@ -453,7 +576,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
453
576
|
gte: string;
|
454
577
|
lte: string;
|
455
578
|
}>]>>>;
|
456
|
-
|
579
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
457
580
|
type: z.ZodLiteral<"exact">;
|
458
581
|
term: z.ZodString;
|
459
582
|
}, "strip", z.ZodTypeAny, {
|
@@ -475,6 +598,25 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
475
598
|
gte: string;
|
476
599
|
lte: string;
|
477
600
|
}>]>>>;
|
601
|
+
'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
602
|
+
type: z.ZodLiteral<"within">;
|
603
|
+
location: z.ZodString;
|
604
|
+
}, "strip", z.ZodTypeAny, {
|
605
|
+
type: "within";
|
606
|
+
location: string;
|
607
|
+
}, {
|
608
|
+
type: "within";
|
609
|
+
location: string;
|
610
|
+
}>, z.ZodObject<{
|
611
|
+
type: z.ZodLiteral<"exact">;
|
612
|
+
term: z.ZodString;
|
613
|
+
}, "strip", z.ZodTypeAny, {
|
614
|
+
type: "exact";
|
615
|
+
term: string;
|
616
|
+
}, {
|
617
|
+
type: "exact";
|
618
|
+
term: string;
|
619
|
+
}>]>>>;
|
478
620
|
createAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
479
621
|
type: z.ZodLiteral<"within">;
|
480
622
|
location: z.ZodString;
|
@@ -566,10 +708,10 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
566
708
|
}, "strip", z.ZodTypeAny, {
|
567
709
|
status?: {
|
568
710
|
type: "exact";
|
569
|
-
term:
|
711
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
570
712
|
} | {
|
571
713
|
type: "anyOf";
|
572
|
-
terms:
|
714
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
573
715
|
} | undefined;
|
574
716
|
data?: any;
|
575
717
|
createdAt?: {
|
@@ -596,6 +738,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
596
738
|
type: "exact";
|
597
739
|
term: string;
|
598
740
|
} | undefined;
|
741
|
+
eventType?: string | undefined;
|
742
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
743
|
+
type: "exact";
|
744
|
+
term: string;
|
745
|
+
} | {
|
746
|
+
type: "range";
|
747
|
+
gte: string;
|
748
|
+
lte: string;
|
749
|
+
} | undefined;
|
750
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
751
|
+
type: "exact";
|
752
|
+
term: string;
|
753
|
+
} | {
|
754
|
+
type: "within";
|
755
|
+
location: string;
|
756
|
+
} | undefined;
|
599
757
|
updatedAtLocation?: {
|
600
758
|
type: "exact";
|
601
759
|
term: string;
|
@@ -614,7 +772,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
614
772
|
type: "not";
|
615
773
|
term: string;
|
616
774
|
})[] | undefined;
|
617
|
-
eventType?: string | undefined;
|
618
775
|
createAtLocation?: {
|
619
776
|
type: "exact";
|
620
777
|
term: string;
|
@@ -625,10 +782,10 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
625
782
|
}, {
|
626
783
|
status?: {
|
627
784
|
type: "exact";
|
628
|
-
term:
|
785
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
629
786
|
} | {
|
630
787
|
type: "anyOf";
|
631
|
-
terms:
|
788
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
632
789
|
} | undefined;
|
633
790
|
data?: any;
|
634
791
|
createdAt?: {
|
@@ -655,6 +812,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
655
812
|
type: "exact";
|
656
813
|
term: string;
|
657
814
|
} | undefined;
|
815
|
+
eventType?: string | undefined;
|
816
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
817
|
+
type: "exact";
|
818
|
+
term: string;
|
819
|
+
} | {
|
820
|
+
type: "range";
|
821
|
+
gte: string;
|
822
|
+
lte: string;
|
823
|
+
} | undefined;
|
824
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
825
|
+
type: "exact";
|
826
|
+
term: string;
|
827
|
+
} | {
|
828
|
+
type: "within";
|
829
|
+
location: string;
|
830
|
+
} | undefined;
|
658
831
|
updatedAtLocation?: {
|
659
832
|
type: "exact";
|
660
833
|
term: string;
|
@@ -673,7 +846,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
673
846
|
type: "not";
|
674
847
|
term: string;
|
675
848
|
})[] | undefined;
|
676
|
-
eventType?: string | undefined;
|
677
849
|
createAtLocation?: {
|
678
850
|
type: "exact";
|
679
851
|
term: string;
|
@@ -687,10 +859,10 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
687
859
|
clauses: {
|
688
860
|
status?: {
|
689
861
|
type: "exact";
|
690
|
-
term:
|
862
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
691
863
|
} | {
|
692
864
|
type: "anyOf";
|
693
|
-
terms:
|
865
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
694
866
|
} | undefined;
|
695
867
|
data?: any;
|
696
868
|
createdAt?: {
|
@@ -717,6 +889,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
717
889
|
type: "exact";
|
718
890
|
term: string;
|
719
891
|
} | undefined;
|
892
|
+
eventType?: string | undefined;
|
893
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
894
|
+
type: "exact";
|
895
|
+
term: string;
|
896
|
+
} | {
|
897
|
+
type: "range";
|
898
|
+
gte: string;
|
899
|
+
lte: string;
|
900
|
+
} | undefined;
|
901
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
902
|
+
type: "exact";
|
903
|
+
term: string;
|
904
|
+
} | {
|
905
|
+
type: "within";
|
906
|
+
location: string;
|
907
|
+
} | undefined;
|
720
908
|
updatedAtLocation?: {
|
721
909
|
type: "exact";
|
722
910
|
term: string;
|
@@ -735,7 +923,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
735
923
|
type: "not";
|
736
924
|
term: string;
|
737
925
|
})[] | undefined;
|
738
|
-
eventType?: string | undefined;
|
739
926
|
createAtLocation?: {
|
740
927
|
type: "exact";
|
741
928
|
term: string;
|
@@ -749,10 +936,10 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
749
936
|
clauses: {
|
750
937
|
status?: {
|
751
938
|
type: "exact";
|
752
|
-
term:
|
939
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
753
940
|
} | {
|
754
941
|
type: "anyOf";
|
755
|
-
terms:
|
942
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
756
943
|
} | undefined;
|
757
944
|
data?: any;
|
758
945
|
createdAt?: {
|
@@ -779,6 +966,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
779
966
|
type: "exact";
|
780
967
|
term: string;
|
781
968
|
} | undefined;
|
969
|
+
eventType?: string | undefined;
|
970
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
971
|
+
type: "exact";
|
972
|
+
term: string;
|
973
|
+
} | {
|
974
|
+
type: "range";
|
975
|
+
gte: string;
|
976
|
+
lte: string;
|
977
|
+
} | undefined;
|
978
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
979
|
+
type: "exact";
|
980
|
+
term: string;
|
981
|
+
} | {
|
982
|
+
type: "within";
|
983
|
+
location: string;
|
984
|
+
} | undefined;
|
782
985
|
updatedAtLocation?: {
|
783
986
|
type: "exact";
|
784
987
|
term: string;
|
@@ -797,7 +1000,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
797
1000
|
type: "not";
|
798
1001
|
term: string;
|
799
1002
|
})[] | undefined;
|
800
|
-
eventType?: string | undefined;
|
801
1003
|
createAtLocation?: {
|
802
1004
|
type: "exact";
|
803
1005
|
term: string;
|
@@ -856,10 +1058,10 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
856
1058
|
clauses: {
|
857
1059
|
status?: {
|
858
1060
|
type: "exact";
|
859
|
-
term:
|
1061
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
860
1062
|
} | {
|
861
1063
|
type: "anyOf";
|
862
|
-
terms:
|
1064
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
863
1065
|
} | undefined;
|
864
1066
|
data?: any;
|
865
1067
|
createdAt?: {
|
@@ -886,6 +1088,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
886
1088
|
type: "exact";
|
887
1089
|
term: string;
|
888
1090
|
} | undefined;
|
1091
|
+
eventType?: string | undefined;
|
1092
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1093
|
+
type: "exact";
|
1094
|
+
term: string;
|
1095
|
+
} | {
|
1096
|
+
type: "range";
|
1097
|
+
gte: string;
|
1098
|
+
lte: string;
|
1099
|
+
} | undefined;
|
1100
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1101
|
+
type: "exact";
|
1102
|
+
term: string;
|
1103
|
+
} | {
|
1104
|
+
type: "within";
|
1105
|
+
location: string;
|
1106
|
+
} | undefined;
|
889
1107
|
updatedAtLocation?: {
|
890
1108
|
type: "exact";
|
891
1109
|
term: string;
|
@@ -904,7 +1122,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
904
1122
|
type: "not";
|
905
1123
|
term: string;
|
906
1124
|
})[] | undefined;
|
907
|
-
eventType?: string | undefined;
|
908
1125
|
createAtLocation?: {
|
909
1126
|
type: "exact";
|
910
1127
|
term: string;
|
@@ -918,10 +1135,10 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
918
1135
|
clauses: {
|
919
1136
|
status?: {
|
920
1137
|
type: "exact";
|
921
|
-
term:
|
1138
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
922
1139
|
} | {
|
923
1140
|
type: "anyOf";
|
924
|
-
terms:
|
1141
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
925
1142
|
} | undefined;
|
926
1143
|
data?: any;
|
927
1144
|
createdAt?: {
|
@@ -948,6 +1165,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
948
1165
|
type: "exact";
|
949
1166
|
term: string;
|
950
1167
|
} | undefined;
|
1168
|
+
eventType?: string | undefined;
|
1169
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1170
|
+
type: "exact";
|
1171
|
+
term: string;
|
1172
|
+
} | {
|
1173
|
+
type: "range";
|
1174
|
+
gte: string;
|
1175
|
+
lte: string;
|
1176
|
+
} | undefined;
|
1177
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1178
|
+
type: "exact";
|
1179
|
+
term: string;
|
1180
|
+
} | {
|
1181
|
+
type: "within";
|
1182
|
+
location: string;
|
1183
|
+
} | undefined;
|
951
1184
|
updatedAtLocation?: {
|
952
1185
|
type: "exact";
|
953
1186
|
term: string;
|
@@ -966,7 +1199,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
966
1199
|
type: "not";
|
967
1200
|
term: string;
|
968
1201
|
})[] | undefined;
|
969
|
-
eventType?: string | undefined;
|
970
1202
|
createAtLocation?: {
|
971
1203
|
type: "exact";
|
972
1204
|
term: string;
|
@@ -998,10 +1230,10 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
998
1230
|
clauses: {
|
999
1231
|
status?: {
|
1000
1232
|
type: "exact";
|
1001
|
-
term:
|
1233
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1002
1234
|
} | {
|
1003
1235
|
type: "anyOf";
|
1004
|
-
terms:
|
1236
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1005
1237
|
} | undefined;
|
1006
1238
|
data?: any;
|
1007
1239
|
createdAt?: {
|
@@ -1028,6 +1260,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
1028
1260
|
type: "exact";
|
1029
1261
|
term: string;
|
1030
1262
|
} | undefined;
|
1263
|
+
eventType?: string | undefined;
|
1264
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1265
|
+
type: "exact";
|
1266
|
+
term: string;
|
1267
|
+
} | {
|
1268
|
+
type: "range";
|
1269
|
+
gte: string;
|
1270
|
+
lte: string;
|
1271
|
+
} | undefined;
|
1272
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1273
|
+
type: "exact";
|
1274
|
+
term: string;
|
1275
|
+
} | {
|
1276
|
+
type: "within";
|
1277
|
+
location: string;
|
1278
|
+
} | undefined;
|
1031
1279
|
updatedAtLocation?: {
|
1032
1280
|
type: "exact";
|
1033
1281
|
term: string;
|
@@ -1046,7 +1294,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
1046
1294
|
type: "not";
|
1047
1295
|
term: string;
|
1048
1296
|
})[] | undefined;
|
1049
|
-
eventType?: string | undefined;
|
1050
1297
|
createAtLocation?: {
|
1051
1298
|
type: "exact";
|
1052
1299
|
term: string;
|
@@ -1060,10 +1307,10 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
1060
1307
|
clauses: {
|
1061
1308
|
status?: {
|
1062
1309
|
type: "exact";
|
1063
|
-
term:
|
1310
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1064
1311
|
} | {
|
1065
1312
|
type: "anyOf";
|
1066
|
-
terms:
|
1313
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1067
1314
|
} | undefined;
|
1068
1315
|
data?: any;
|
1069
1316
|
createdAt?: {
|
@@ -1090,6 +1337,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
1090
1337
|
type: "exact";
|
1091
1338
|
term: string;
|
1092
1339
|
} | undefined;
|
1340
|
+
eventType?: string | undefined;
|
1341
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1342
|
+
type: "exact";
|
1343
|
+
term: string;
|
1344
|
+
} | {
|
1345
|
+
type: "range";
|
1346
|
+
gte: string;
|
1347
|
+
lte: string;
|
1348
|
+
} | undefined;
|
1349
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1350
|
+
type: "exact";
|
1351
|
+
term: string;
|
1352
|
+
} | {
|
1353
|
+
type: "within";
|
1354
|
+
location: string;
|
1355
|
+
} | undefined;
|
1093
1356
|
updatedAtLocation?: {
|
1094
1357
|
type: "exact";
|
1095
1358
|
term: string;
|
@@ -1108,7 +1371,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
1108
1371
|
type: "not";
|
1109
1372
|
term: string;
|
1110
1373
|
})[] | undefined;
|
1111
|
-
eventType?: string | undefined;
|
1112
1374
|
createAtLocation?: {
|
1113
1375
|
type: "exact";
|
1114
1376
|
term: string;
|
@@ -1143,10 +1405,10 @@ export declare function defineWorkqueue(workqueues: WorkqueueConfigInput[]): {
|
|
1143
1405
|
clauses: {
|
1144
1406
|
status?: {
|
1145
1407
|
type: "exact";
|
1146
|
-
term:
|
1408
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1147
1409
|
} | {
|
1148
1410
|
type: "anyOf";
|
1149
|
-
terms:
|
1411
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1150
1412
|
} | undefined;
|
1151
1413
|
data?: any;
|
1152
1414
|
createdAt?: {
|
@@ -1173,6 +1435,22 @@ export declare function defineWorkqueue(workqueues: WorkqueueConfigInput[]): {
|
|
1173
1435
|
type: "exact";
|
1174
1436
|
term: string;
|
1175
1437
|
} | undefined;
|
1438
|
+
eventType?: string | undefined;
|
1439
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1440
|
+
type: "exact";
|
1441
|
+
term: string;
|
1442
|
+
} | {
|
1443
|
+
type: "range";
|
1444
|
+
gte: string;
|
1445
|
+
lte: string;
|
1446
|
+
} | undefined;
|
1447
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1448
|
+
type: "exact";
|
1449
|
+
term: string;
|
1450
|
+
} | {
|
1451
|
+
type: "within";
|
1452
|
+
location: string;
|
1453
|
+
} | undefined;
|
1176
1454
|
updatedAtLocation?: {
|
1177
1455
|
type: "exact";
|
1178
1456
|
term: string;
|
@@ -1191,7 +1469,6 @@ export declare function defineWorkqueue(workqueues: WorkqueueConfigInput[]): {
|
|
1191
1469
|
type: "not";
|
1192
1470
|
term: string;
|
1193
1471
|
})[] | undefined;
|
1194
|
-
eventType?: string | undefined;
|
1195
1472
|
createAtLocation?: {
|
1196
1473
|
type: "exact";
|
1197
1474
|
term: string;
|
@@ -1205,10 +1482,10 @@ export declare function defineWorkqueue(workqueues: WorkqueueConfigInput[]): {
|
|
1205
1482
|
clauses: {
|
1206
1483
|
status?: {
|
1207
1484
|
type: "exact";
|
1208
|
-
term:
|
1485
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1209
1486
|
} | {
|
1210
1487
|
type: "anyOf";
|
1211
|
-
terms:
|
1488
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1212
1489
|
} | undefined;
|
1213
1490
|
data?: any;
|
1214
1491
|
createdAt?: {
|
@@ -1235,6 +1512,22 @@ export declare function defineWorkqueue(workqueues: WorkqueueConfigInput[]): {
|
|
1235
1512
|
type: "exact";
|
1236
1513
|
term: string;
|
1237
1514
|
} | undefined;
|
1515
|
+
eventType?: string | undefined;
|
1516
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1517
|
+
type: "exact";
|
1518
|
+
term: string;
|
1519
|
+
} | {
|
1520
|
+
type: "range";
|
1521
|
+
gte: string;
|
1522
|
+
lte: string;
|
1523
|
+
} | undefined;
|
1524
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1525
|
+
type: "exact";
|
1526
|
+
term: string;
|
1527
|
+
} | {
|
1528
|
+
type: "within";
|
1529
|
+
location: string;
|
1530
|
+
} | undefined;
|
1238
1531
|
updatedAtLocation?: {
|
1239
1532
|
type: "exact";
|
1240
1533
|
term: string;
|
@@ -1253,7 +1546,6 @@ export declare function defineWorkqueue(workqueues: WorkqueueConfigInput[]): {
|
|
1253
1546
|
type: "not";
|
1254
1547
|
term: string;
|
1255
1548
|
})[] | undefined;
|
1256
|
-
eventType?: string | undefined;
|
1257
1549
|
createAtLocation?: {
|
1258
1550
|
type: "exact";
|
1259
1551
|
term: string;
|