@opencrvs/toolkit 1.8.0-rc.ffe24c3 → 1.8.1-rc.0f10027
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 +1766 -14918
- package/dist/commons/conditionals/conditionals.d.ts +0 -12
- package/dist/commons/conditionals/validate.d.ts +5 -0
- package/dist/commons/events/ActionConfig.d.ts +37041 -35133
- package/dist/commons/events/ActionDocument.d.ts +3195 -1626
- package/dist/commons/events/ActionInput.d.ts +2316 -1380
- package/dist/commons/events/ActionType.d.ts +7 -4
- package/dist/commons/events/AdvancedSearchConfig.d.ts +134 -85
- package/dist/commons/events/CompositeFieldValue.d.ts +15 -15
- package/dist/commons/events/CountryConfigQueryInput.d.ts +1162 -760
- package/dist/commons/events/Draft.d.ts +190 -118
- package/dist/commons/events/EventConfig.d.ts +20268 -22409
- package/dist/commons/events/EventDocument.d.ts +1695 -1021
- package/dist/commons/events/EventIndex.d.ts +516 -175
- package/dist/commons/events/EventMetadata.d.ts +6 -4
- package/dist/commons/events/FieldConfig.d.ts +1528 -449
- package/dist/commons/events/FieldType.d.ts +3 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +80 -41
- package/dist/commons/events/FieldValue.d.ts +58 -28
- package/dist/commons/events/FormConfig.d.ts +9263 -2657
- package/dist/commons/events/PageConfig.d.ts +3642 -2028
- package/dist/commons/events/SummaryConfig.d.ts +10 -10
- package/dist/commons/events/User.d.ts +6 -3
- package/dist/commons/events/WorkqueueConfig.d.ts +2243 -1338
- package/dist/commons/events/defineConfig.d.ts +2761 -3252
- package/dist/commons/events/event.d.ts +18 -18
- package/dist/commons/events/field.d.ts +27 -1
- package/dist/commons/events/scopes.d.ts +2 -1
- package/dist/commons/events/test.utils.d.ts +62 -34
- package/dist/commons/events/utils.d.ts +8850 -6796
- package/dist/conditionals/index.js +23 -53
- package/dist/events/index.js +1617 -1344
- package/dist/scopes/index.d.ts +92 -6
- package/dist/scopes/index.js +38 -9
- package/package.json +3 -3
@@ -2,7 +2,7 @@ import { z, ZodType } from 'zod';
|
|
2
2
|
export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
3
3
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
4
4
|
type: z.ZodString;
|
5
|
-
status: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "
|
5
|
+
status: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>;
|
6
6
|
legalStatuses: z.ZodObject<{
|
7
7
|
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
8
8
|
createdAt: z.ZodString;
|
@@ -118,32 +118,41 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
118
118
|
readonly CORRECTION_REQUESTED: "correction-requested";
|
119
119
|
}>]>, "many">;
|
120
120
|
}, {
|
121
|
-
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.
|
122
|
-
|
121
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
|
122
|
+
start: z.ZodString;
|
123
|
+
end: z.ZodString;
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
125
|
+
start: string;
|
126
|
+
end: string;
|
127
|
+
}, {
|
128
|
+
start: string;
|
129
|
+
end: string;
|
130
|
+
}>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
131
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
123
132
|
originalFilename: z.ZodString;
|
124
133
|
type: z.ZodString;
|
125
134
|
}, "strip", z.ZodTypeAny, {
|
126
135
|
type: string;
|
127
|
-
|
136
|
+
path: string;
|
128
137
|
originalFilename: string;
|
129
138
|
}, {
|
130
139
|
type: string;
|
131
|
-
|
140
|
+
path: string;
|
132
141
|
originalFilename: string;
|
133
142
|
}>, z.ZodArray<z.ZodObject<{
|
134
|
-
|
143
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
135
144
|
originalFilename: z.ZodString;
|
136
145
|
type: z.ZodString;
|
137
146
|
option: z.ZodString;
|
138
147
|
}, "strip", z.ZodTypeAny, {
|
139
148
|
type: string;
|
140
149
|
option: string;
|
141
|
-
|
150
|
+
path: string;
|
142
151
|
originalFilename: string;
|
143
152
|
}, {
|
144
153
|
type: string;
|
145
154
|
option: string;
|
146
|
-
|
155
|
+
path: string;
|
147
156
|
originalFilename: string;
|
148
157
|
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
149
158
|
country: z.ZodString;
|
@@ -244,27 +253,27 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
244
253
|
surname: string;
|
245
254
|
middlename?: string | undefined;
|
246
255
|
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
247
|
-
firstname: z.ZodString
|
248
|
-
surname: z.ZodString
|
256
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
257
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
249
258
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
250
259
|
}, "strip", z.ZodTypeAny, {
|
251
|
-
firstname
|
252
|
-
surname
|
260
|
+
firstname?: string | null | undefined;
|
261
|
+
surname?: string | null | undefined;
|
253
262
|
middlename?: string | null | undefined;
|
254
263
|
}, {
|
255
|
-
firstname
|
256
|
-
surname
|
264
|
+
firstname?: string | null | undefined;
|
265
|
+
surname?: string | null | undefined;
|
257
266
|
middlename?: string | null | undefined;
|
258
267
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
259
268
|
}>, "strip", z.ZodTypeAny, {
|
260
269
|
type: string;
|
261
270
|
id: string & z.BRAND<"UUID">;
|
262
|
-
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
271
|
+
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
263
272
|
createdAt: string;
|
264
273
|
createdBy: string;
|
265
274
|
declaration: Record<string, string | number | boolean | {
|
266
275
|
type: string;
|
267
|
-
|
276
|
+
path: string;
|
268
277
|
originalFilename: string;
|
269
278
|
} | {
|
270
279
|
country: string;
|
@@ -289,8 +298,8 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
289
298
|
surname: string;
|
290
299
|
middlename?: string | undefined;
|
291
300
|
} | {
|
292
|
-
firstname
|
293
|
-
surname
|
301
|
+
firstname?: string | null | undefined;
|
302
|
+
surname?: string | null | undefined;
|
294
303
|
middlename?: string | null | undefined;
|
295
304
|
} | {
|
296
305
|
country: string;
|
@@ -305,9 +314,12 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
305
314
|
} | {
|
306
315
|
type: string;
|
307
316
|
option: string;
|
308
|
-
|
317
|
+
path: string;
|
309
318
|
originalFilename: string;
|
310
|
-
}[] |
|
319
|
+
}[] | {
|
320
|
+
start: string;
|
321
|
+
end: string;
|
322
|
+
} | null | undefined>;
|
311
323
|
updatedAt: string;
|
312
324
|
trackingId: string;
|
313
325
|
legalStatuses: {
|
@@ -343,12 +355,12 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
343
355
|
}, {
|
344
356
|
type: string;
|
345
357
|
id: string;
|
346
|
-
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
358
|
+
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
347
359
|
createdAt: string;
|
348
360
|
createdBy: string;
|
349
361
|
declaration: Record<string, string | number | boolean | {
|
350
362
|
type: string;
|
351
|
-
|
363
|
+
path: string;
|
352
364
|
originalFilename: string;
|
353
365
|
} | {
|
354
366
|
country: string;
|
@@ -373,8 +385,8 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
373
385
|
surname: string;
|
374
386
|
middlename?: string | undefined;
|
375
387
|
} | {
|
376
|
-
firstname
|
377
|
-
surname
|
388
|
+
firstname?: string | null | undefined;
|
389
|
+
surname?: string | null | undefined;
|
378
390
|
middlename?: string | null | undefined;
|
379
391
|
} | {
|
380
392
|
country: string;
|
@@ -389,9 +401,12 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
389
401
|
} | {
|
390
402
|
type: string;
|
391
403
|
option: string;
|
392
|
-
|
404
|
+
path: string;
|
393
405
|
originalFilename: string;
|
394
|
-
}[] |
|
406
|
+
}[] | {
|
407
|
+
start: string;
|
408
|
+
end: string;
|
409
|
+
} | null | undefined>;
|
395
410
|
updatedAt: string;
|
396
411
|
trackingId: string;
|
397
412
|
legalStatuses: {
|
@@ -456,13 +471,23 @@ export declare const Exact: z.ZodObject<{
|
|
456
471
|
}>;
|
457
472
|
export declare const ExactStatus: z.ZodObject<{
|
458
473
|
type: z.ZodLiteral<"exact">;
|
459
|
-
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "
|
474
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>;
|
475
|
+
}, "strip", z.ZodTypeAny, {
|
476
|
+
type: "exact";
|
477
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
478
|
+
}, {
|
479
|
+
type: "exact";
|
480
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
481
|
+
}>;
|
482
|
+
export declare const ExactUserType: z.ZodObject<{
|
483
|
+
type: z.ZodLiteral<"exact">;
|
484
|
+
term: z.ZodEnum<["user", "system"]>;
|
460
485
|
}, "strip", z.ZodTypeAny, {
|
461
486
|
type: "exact";
|
462
|
-
term: "
|
487
|
+
term: "system" | "user";
|
463
488
|
}, {
|
464
489
|
type: "exact";
|
465
|
-
term: "
|
490
|
+
term: "system" | "user";
|
466
491
|
}>;
|
467
492
|
export declare const AnyOf: z.ZodObject<{
|
468
493
|
type: z.ZodLiteral<"anyOf">;
|
@@ -476,13 +501,13 @@ export declare const AnyOf: z.ZodObject<{
|
|
476
501
|
}>;
|
477
502
|
export declare const AnyOfStatus: z.ZodObject<{
|
478
503
|
type: z.ZodLiteral<"anyOf">;
|
479
|
-
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "
|
504
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>, "many">;
|
480
505
|
}, "strip", z.ZodTypeAny, {
|
481
506
|
type: "anyOf";
|
482
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
507
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
483
508
|
}, {
|
484
509
|
type: "anyOf";
|
485
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
510
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
486
511
|
}>;
|
487
512
|
export declare const Range: z.ZodObject<{
|
488
513
|
type: z.ZodLiteral<"range">;
|
@@ -527,22 +552,6 @@ export declare const Within: z.ZodObject<{
|
|
527
552
|
type: "within";
|
528
553
|
location: string;
|
529
554
|
}>;
|
530
|
-
export declare const RangeDate: z.ZodObject<z.objectUtil.extendShape<{
|
531
|
-
type: z.ZodLiteral<"range">;
|
532
|
-
gte: z.ZodString;
|
533
|
-
lte: z.ZodString;
|
534
|
-
}, {
|
535
|
-
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
536
|
-
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
537
|
-
}>, "strip", z.ZodTypeAny, {
|
538
|
-
type: "range";
|
539
|
-
gte: string;
|
540
|
-
lte: string;
|
541
|
-
}, {
|
542
|
-
type: "range";
|
543
|
-
gte: string;
|
544
|
-
lte: string;
|
545
|
-
}>;
|
546
555
|
export declare const ExactDate: z.ZodObject<z.objectUtil.extendShape<{
|
547
556
|
type: z.ZodLiteral<"exact">;
|
548
557
|
term: z.ZodString;
|
@@ -566,14 +575,11 @@ export declare const DateCondition: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
566
575
|
}, {
|
567
576
|
type: "exact";
|
568
577
|
term: string;
|
569
|
-
}>, z.ZodObject<
|
578
|
+
}>, z.ZodObject<{
|
570
579
|
type: z.ZodLiteral<"range">;
|
571
|
-
gte: z.ZodString;
|
572
|
-
lte: z.ZodString;
|
573
|
-
}, {
|
574
580
|
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
575
581
|
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
576
|
-
}
|
582
|
+
}, "strip", z.ZodTypeAny, {
|
577
583
|
type: "range";
|
578
584
|
gte: string;
|
579
585
|
lte: string;
|
@@ -581,7 +587,17 @@ export declare const DateCondition: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
581
587
|
type: "range";
|
582
588
|
gte: string;
|
583
589
|
lte: string;
|
590
|
+
}>, z.ZodObject<{
|
591
|
+
type: z.ZodLiteral<"timePeriod">;
|
592
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
593
|
+
}, "strip", z.ZodTypeAny, {
|
594
|
+
type: "timePeriod";
|
595
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
596
|
+
}, {
|
597
|
+
type: "timePeriod";
|
598
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
584
599
|
}>]>;
|
600
|
+
export type DateCondition = z.infer<typeof DateCondition>;
|
585
601
|
export declare const QueryInput: ZodType;
|
586
602
|
export type BaseInput = z.infer<typeof Fuzzy> | z.infer<typeof Exact> | z.infer<typeof Range> | z.infer<typeof Within> | z.infer<typeof AnyOf>;
|
587
603
|
type QueryMap = {
|
@@ -593,22 +609,22 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
593
609
|
eventType: z.ZodOptional<z.ZodString>;
|
594
610
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
595
611
|
type: z.ZodLiteral<"anyOf">;
|
596
|
-
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "
|
612
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>, "many">;
|
597
613
|
}, "strip", z.ZodTypeAny, {
|
598
614
|
type: "anyOf";
|
599
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
615
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
600
616
|
}, {
|
601
617
|
type: "anyOf";
|
602
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
618
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
603
619
|
}>, z.ZodObject<{
|
604
620
|
type: z.ZodLiteral<"exact">;
|
605
|
-
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "
|
621
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>;
|
606
622
|
}, "strip", z.ZodTypeAny, {
|
607
623
|
type: "exact";
|
608
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
624
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
609
625
|
}, {
|
610
626
|
type: "exact";
|
611
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
627
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
612
628
|
}>]>>>;
|
613
629
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
614
630
|
type: z.ZodLiteral<"exact">;
|
@@ -621,14 +637,11 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
621
637
|
}, {
|
622
638
|
type: "exact";
|
623
639
|
term: string;
|
624
|
-
}>, z.ZodObject<
|
640
|
+
}>, z.ZodObject<{
|
625
641
|
type: z.ZodLiteral<"range">;
|
626
|
-
gte: z.ZodString;
|
627
|
-
lte: z.ZodString;
|
628
|
-
}, {
|
629
642
|
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
630
643
|
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
631
|
-
}
|
644
|
+
}, "strip", z.ZodTypeAny, {
|
632
645
|
type: "range";
|
633
646
|
gte: string;
|
634
647
|
lte: string;
|
@@ -636,6 +649,15 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
636
649
|
type: "range";
|
637
650
|
gte: string;
|
638
651
|
lte: string;
|
652
|
+
}>, z.ZodObject<{
|
653
|
+
type: z.ZodLiteral<"timePeriod">;
|
654
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
655
|
+
}, "strip", z.ZodTypeAny, {
|
656
|
+
type: "timePeriod";
|
657
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
658
|
+
}, {
|
659
|
+
type: "timePeriod";
|
660
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
639
661
|
}>]>>>;
|
640
662
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
641
663
|
type: z.ZodLiteral<"exact">;
|
@@ -648,14 +670,11 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
648
670
|
}, {
|
649
671
|
type: "exact";
|
650
672
|
term: string;
|
651
|
-
}>, z.ZodObject<
|
673
|
+
}>, z.ZodObject<{
|
652
674
|
type: z.ZodLiteral<"range">;
|
653
|
-
gte: z.ZodString;
|
654
|
-
lte: z.ZodString;
|
655
|
-
}, {
|
656
675
|
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
657
676
|
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
658
|
-
}
|
677
|
+
}, "strip", z.ZodTypeAny, {
|
659
678
|
type: "range";
|
660
679
|
gte: string;
|
661
680
|
lte: string;
|
@@ -663,8 +682,17 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
663
682
|
type: "range";
|
664
683
|
gte: string;
|
665
684
|
lte: string;
|
685
|
+
}>, z.ZodObject<{
|
686
|
+
type: z.ZodLiteral<"timePeriod">;
|
687
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
688
|
+
}, "strip", z.ZodTypeAny, {
|
689
|
+
type: "timePeriod";
|
690
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
691
|
+
}, {
|
692
|
+
type: "timePeriod";
|
693
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
666
694
|
}>]>>>;
|
667
|
-
'
|
695
|
+
'legalStatuses.REGISTERED.acceptedAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
668
696
|
type: z.ZodLiteral<"exact">;
|
669
697
|
term: z.ZodString;
|
670
698
|
}, {
|
@@ -675,14 +703,11 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
675
703
|
}, {
|
676
704
|
type: "exact";
|
677
705
|
term: string;
|
678
|
-
}>, z.ZodObject<
|
706
|
+
}>, z.ZodObject<{
|
679
707
|
type: z.ZodLiteral<"range">;
|
680
|
-
gte: z.ZodString;
|
681
|
-
lte: z.ZodString;
|
682
|
-
}, {
|
683
708
|
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
684
709
|
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
685
|
-
}
|
710
|
+
}, "strip", z.ZodTypeAny, {
|
686
711
|
type: "range";
|
687
712
|
gte: string;
|
688
713
|
lte: string;
|
@@ -690,8 +715,17 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
690
715
|
type: "range";
|
691
716
|
gte: string;
|
692
717
|
lte: string;
|
718
|
+
}>, z.ZodObject<{
|
719
|
+
type: z.ZodLiteral<"timePeriod">;
|
720
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
721
|
+
}, "strip", z.ZodTypeAny, {
|
722
|
+
type: "timePeriod";
|
723
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
724
|
+
}, {
|
725
|
+
type: "timePeriod";
|
726
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
693
727
|
}>]>>>;
|
694
|
-
'
|
728
|
+
'legalStatuses.DECLARED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
695
729
|
type: z.ZodLiteral<"within">;
|
696
730
|
location: z.ZodString;
|
697
731
|
}, "strip", z.ZodTypeAny, {
|
@@ -710,7 +744,26 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
710
744
|
type: "exact";
|
711
745
|
term: string;
|
712
746
|
}>]>>>;
|
713
|
-
'
|
747
|
+
'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
748
|
+
type: z.ZodLiteral<"within">;
|
749
|
+
location: z.ZodString;
|
750
|
+
}, "strip", z.ZodTypeAny, {
|
751
|
+
type: "within";
|
752
|
+
location: string;
|
753
|
+
}, {
|
754
|
+
type: "within";
|
755
|
+
location: string;
|
756
|
+
}>, z.ZodObject<{
|
757
|
+
type: z.ZodLiteral<"exact">;
|
758
|
+
term: z.ZodString;
|
759
|
+
}, "strip", z.ZodTypeAny, {
|
760
|
+
type: "exact";
|
761
|
+
term: string;
|
762
|
+
}, {
|
763
|
+
type: "exact";
|
764
|
+
term: string;
|
765
|
+
}>]>>>;
|
766
|
+
'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
714
767
|
type: z.ZodLiteral<"exact">;
|
715
768
|
term: z.ZodString;
|
716
769
|
}, "strip", z.ZodTypeAny, {
|
@@ -768,7 +821,16 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
768
821
|
type: "exact";
|
769
822
|
term: string;
|
770
823
|
}>>>;
|
771
|
-
createdByUserType: z.ZodOptional<z.
|
824
|
+
createdByUserType: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
825
|
+
type: z.ZodLiteral<"exact">;
|
826
|
+
term: z.ZodEnum<["user", "system"]>;
|
827
|
+
}, "strip", z.ZodTypeAny, {
|
828
|
+
type: "exact";
|
829
|
+
term: "system" | "user";
|
830
|
+
}, {
|
831
|
+
type: "exact";
|
832
|
+
term: "system" | "user";
|
833
|
+
}>>>;
|
772
834
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
773
835
|
type: z.ZodLiteral<"exact">;
|
774
836
|
term: z.ZodString;
|
@@ -824,13 +886,16 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
824
886
|
id?: string | undefined;
|
825
887
|
status?: {
|
826
888
|
type: "exact";
|
827
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
889
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
828
890
|
} | {
|
829
891
|
type: "anyOf";
|
830
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
892
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
831
893
|
} | undefined;
|
832
894
|
data?: any;
|
833
|
-
createdByUserType?:
|
895
|
+
createdByUserType?: {
|
896
|
+
type: "exact";
|
897
|
+
term: "system" | "user";
|
898
|
+
} | undefined;
|
834
899
|
createdAt?: {
|
835
900
|
type: "range";
|
836
901
|
gte: string;
|
@@ -838,6 +903,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
838
903
|
} | {
|
839
904
|
type: "exact";
|
840
905
|
term: string;
|
906
|
+
} | {
|
907
|
+
type: "timePeriod";
|
908
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
841
909
|
} | undefined;
|
842
910
|
createdBy?: {
|
843
911
|
type: "exact";
|
@@ -861,6 +929,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
861
929
|
} | {
|
862
930
|
type: "exact";
|
863
931
|
term: string;
|
932
|
+
} | {
|
933
|
+
type: "timePeriod";
|
934
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
864
935
|
} | undefined;
|
865
936
|
trackingId?: {
|
866
937
|
type: "exact";
|
@@ -882,22 +953,32 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
882
953
|
noneOf?: string[] | undefined;
|
883
954
|
} | undefined;
|
884
955
|
eventType?: string | undefined;
|
885
|
-
'
|
956
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
886
957
|
type: "range";
|
887
958
|
gte: string;
|
888
959
|
lte: string;
|
889
960
|
} | {
|
890
961
|
type: "exact";
|
891
962
|
term: string;
|
963
|
+
} | {
|
964
|
+
type: "timePeriod";
|
965
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
966
|
+
} | undefined;
|
967
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
968
|
+
type: "exact";
|
969
|
+
term: string;
|
970
|
+
} | {
|
971
|
+
type: "within";
|
972
|
+
location: string;
|
892
973
|
} | undefined;
|
893
|
-
'
|
974
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
894
975
|
type: "exact";
|
895
976
|
term: string;
|
896
977
|
} | {
|
897
978
|
type: "within";
|
898
979
|
location: string;
|
899
980
|
} | undefined;
|
900
|
-
'
|
981
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
901
982
|
type: "exact";
|
902
983
|
term: string;
|
903
984
|
} | undefined;
|
@@ -905,13 +986,16 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
905
986
|
id?: string | undefined;
|
906
987
|
status?: {
|
907
988
|
type: "exact";
|
908
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
989
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
909
990
|
} | {
|
910
991
|
type: "anyOf";
|
911
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
992
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
912
993
|
} | undefined;
|
913
994
|
data?: any;
|
914
|
-
createdByUserType?:
|
995
|
+
createdByUserType?: {
|
996
|
+
type: "exact";
|
997
|
+
term: "system" | "user";
|
998
|
+
} | undefined;
|
915
999
|
createdAt?: {
|
916
1000
|
type: "range";
|
917
1001
|
gte: string;
|
@@ -919,6 +1003,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
919
1003
|
} | {
|
920
1004
|
type: "exact";
|
921
1005
|
term: string;
|
1006
|
+
} | {
|
1007
|
+
type: "timePeriod";
|
1008
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
922
1009
|
} | undefined;
|
923
1010
|
createdBy?: {
|
924
1011
|
type: "exact";
|
@@ -942,6 +1029,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
942
1029
|
} | {
|
943
1030
|
type: "exact";
|
944
1031
|
term: string;
|
1032
|
+
} | {
|
1033
|
+
type: "timePeriod";
|
1034
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
945
1035
|
} | undefined;
|
946
1036
|
trackingId?: {
|
947
1037
|
type: "exact";
|
@@ -963,22 +1053,32 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
963
1053
|
noneOf?: string[] | undefined;
|
964
1054
|
} | undefined;
|
965
1055
|
eventType?: string | undefined;
|
966
|
-
'
|
1056
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
967
1057
|
type: "range";
|
968
1058
|
gte: string;
|
969
1059
|
lte: string;
|
970
1060
|
} | {
|
971
1061
|
type: "exact";
|
972
1062
|
term: string;
|
1063
|
+
} | {
|
1064
|
+
type: "timePeriod";
|
1065
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
973
1066
|
} | undefined;
|
974
|
-
'
|
1067
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
975
1068
|
type: "exact";
|
976
1069
|
term: string;
|
977
1070
|
} | {
|
978
1071
|
type: "within";
|
979
1072
|
location: string;
|
980
1073
|
} | undefined;
|
981
|
-
'
|
1074
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1075
|
+
type: "exact";
|
1076
|
+
term: string;
|
1077
|
+
} | {
|
1078
|
+
type: "within";
|
1079
|
+
location: string;
|
1080
|
+
} | undefined;
|
1081
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
982
1082
|
type: "exact";
|
983
1083
|
term: string;
|
984
1084
|
} | undefined;
|
@@ -986,13 +1086,16 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
986
1086
|
id?: string | undefined;
|
987
1087
|
status?: {
|
988
1088
|
type: "exact";
|
989
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1089
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
990
1090
|
} | {
|
991
1091
|
type: "anyOf";
|
992
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1092
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
993
1093
|
} | undefined;
|
994
1094
|
data?: any;
|
995
|
-
createdByUserType?:
|
1095
|
+
createdByUserType?: {
|
1096
|
+
type: "exact";
|
1097
|
+
term: "system" | "user";
|
1098
|
+
} | undefined;
|
996
1099
|
createdAt?: {
|
997
1100
|
type: "range";
|
998
1101
|
gte: string;
|
@@ -1000,6 +1103,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1000
1103
|
} | {
|
1001
1104
|
type: "exact";
|
1002
1105
|
term: string;
|
1106
|
+
} | {
|
1107
|
+
type: "timePeriod";
|
1108
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1003
1109
|
} | undefined;
|
1004
1110
|
createdBy?: {
|
1005
1111
|
type: "exact";
|
@@ -1023,6 +1129,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1023
1129
|
} | {
|
1024
1130
|
type: "exact";
|
1025
1131
|
term: string;
|
1132
|
+
} | {
|
1133
|
+
type: "timePeriod";
|
1134
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1026
1135
|
} | undefined;
|
1027
1136
|
trackingId?: {
|
1028
1137
|
type: "exact";
|
@@ -1044,22 +1153,32 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1044
1153
|
noneOf?: string[] | undefined;
|
1045
1154
|
} | undefined;
|
1046
1155
|
eventType?: string | undefined;
|
1047
|
-
'
|
1156
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1048
1157
|
type: "range";
|
1049
1158
|
gte: string;
|
1050
1159
|
lte: string;
|
1051
1160
|
} | {
|
1052
1161
|
type: "exact";
|
1053
1162
|
term: string;
|
1163
|
+
} | {
|
1164
|
+
type: "timePeriod";
|
1165
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1054
1166
|
} | undefined;
|
1055
|
-
'
|
1167
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1056
1168
|
type: "exact";
|
1057
1169
|
term: string;
|
1058
1170
|
} | {
|
1059
1171
|
type: "within";
|
1060
1172
|
location: string;
|
1061
1173
|
} | undefined;
|
1062
|
-
'
|
1174
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1175
|
+
type: "exact";
|
1176
|
+
term: string;
|
1177
|
+
} | {
|
1178
|
+
type: "within";
|
1179
|
+
location: string;
|
1180
|
+
} | undefined;
|
1181
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1063
1182
|
type: "exact";
|
1064
1183
|
term: string;
|
1065
1184
|
} | undefined;
|
@@ -1067,13 +1186,16 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1067
1186
|
id?: string | undefined;
|
1068
1187
|
status?: {
|
1069
1188
|
type: "exact";
|
1070
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1189
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1071
1190
|
} | {
|
1072
1191
|
type: "anyOf";
|
1073
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1192
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1074
1193
|
} | undefined;
|
1075
1194
|
data?: any;
|
1076
|
-
createdByUserType?:
|
1195
|
+
createdByUserType?: {
|
1196
|
+
type: "exact";
|
1197
|
+
term: "system" | "user";
|
1198
|
+
} | undefined;
|
1077
1199
|
createdAt?: {
|
1078
1200
|
type: "range";
|
1079
1201
|
gte: string;
|
@@ -1081,6 +1203,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1081
1203
|
} | {
|
1082
1204
|
type: "exact";
|
1083
1205
|
term: string;
|
1206
|
+
} | {
|
1207
|
+
type: "timePeriod";
|
1208
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1084
1209
|
} | undefined;
|
1085
1210
|
createdBy?: {
|
1086
1211
|
type: "exact";
|
@@ -1104,6 +1229,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1104
1229
|
} | {
|
1105
1230
|
type: "exact";
|
1106
1231
|
term: string;
|
1232
|
+
} | {
|
1233
|
+
type: "timePeriod";
|
1234
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1107
1235
|
} | undefined;
|
1108
1236
|
trackingId?: {
|
1109
1237
|
type: "exact";
|
@@ -1125,22 +1253,32 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1125
1253
|
noneOf?: string[] | undefined;
|
1126
1254
|
} | undefined;
|
1127
1255
|
eventType?: string | undefined;
|
1128
|
-
'
|
1256
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1129
1257
|
type: "range";
|
1130
1258
|
gte: string;
|
1131
1259
|
lte: string;
|
1132
1260
|
} | {
|
1133
1261
|
type: "exact";
|
1134
1262
|
term: string;
|
1263
|
+
} | {
|
1264
|
+
type: "timePeriod";
|
1265
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1266
|
+
} | undefined;
|
1267
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1268
|
+
type: "exact";
|
1269
|
+
term: string;
|
1270
|
+
} | {
|
1271
|
+
type: "within";
|
1272
|
+
location: string;
|
1135
1273
|
} | undefined;
|
1136
|
-
'
|
1274
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1137
1275
|
type: "exact";
|
1138
1276
|
term: string;
|
1139
1277
|
} | {
|
1140
1278
|
type: "within";
|
1141
1279
|
location: string;
|
1142
1280
|
} | undefined;
|
1143
|
-
'
|
1281
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1144
1282
|
type: "exact";
|
1145
1283
|
term: string;
|
1146
1284
|
} | undefined;
|
@@ -1152,22 +1290,22 @@ export declare const QueryType: z.ZodObject<{
|
|
1152
1290
|
eventType: z.ZodOptional<z.ZodString>;
|
1153
1291
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1154
1292
|
type: z.ZodLiteral<"anyOf">;
|
1155
|
-
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "
|
1293
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>, "many">;
|
1156
1294
|
}, "strip", z.ZodTypeAny, {
|
1157
1295
|
type: "anyOf";
|
1158
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1296
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1159
1297
|
}, {
|
1160
1298
|
type: "anyOf";
|
1161
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1299
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1162
1300
|
}>, z.ZodObject<{
|
1163
1301
|
type: z.ZodLiteral<"exact">;
|
1164
|
-
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "
|
1302
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>;
|
1165
1303
|
}, "strip", z.ZodTypeAny, {
|
1166
1304
|
type: "exact";
|
1167
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1305
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1168
1306
|
}, {
|
1169
1307
|
type: "exact";
|
1170
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1308
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1171
1309
|
}>]>>>;
|
1172
1310
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
1173
1311
|
type: z.ZodLiteral<"exact">;
|
@@ -1180,14 +1318,11 @@ export declare const QueryType: z.ZodObject<{
|
|
1180
1318
|
}, {
|
1181
1319
|
type: "exact";
|
1182
1320
|
term: string;
|
1183
|
-
}>, z.ZodObject<
|
1321
|
+
}>, z.ZodObject<{
|
1184
1322
|
type: z.ZodLiteral<"range">;
|
1185
|
-
gte: z.ZodString;
|
1186
|
-
lte: z.ZodString;
|
1187
|
-
}, {
|
1188
1323
|
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1189
1324
|
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1190
|
-
}
|
1325
|
+
}, "strip", z.ZodTypeAny, {
|
1191
1326
|
type: "range";
|
1192
1327
|
gte: string;
|
1193
1328
|
lte: string;
|
@@ -1195,6 +1330,15 @@ export declare const QueryType: z.ZodObject<{
|
|
1195
1330
|
type: "range";
|
1196
1331
|
gte: string;
|
1197
1332
|
lte: string;
|
1333
|
+
}>, z.ZodObject<{
|
1334
|
+
type: z.ZodLiteral<"timePeriod">;
|
1335
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
1336
|
+
}, "strip", z.ZodTypeAny, {
|
1337
|
+
type: "timePeriod";
|
1338
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1339
|
+
}, {
|
1340
|
+
type: "timePeriod";
|
1341
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1198
1342
|
}>]>>>;
|
1199
1343
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
1200
1344
|
type: z.ZodLiteral<"exact">;
|
@@ -1207,14 +1351,11 @@ export declare const QueryType: z.ZodObject<{
|
|
1207
1351
|
}, {
|
1208
1352
|
type: "exact";
|
1209
1353
|
term: string;
|
1210
|
-
}>, z.ZodObject<
|
1354
|
+
}>, z.ZodObject<{
|
1211
1355
|
type: z.ZodLiteral<"range">;
|
1212
|
-
gte: z.ZodString;
|
1213
|
-
lte: z.ZodString;
|
1214
|
-
}, {
|
1215
1356
|
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1216
1357
|
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1217
|
-
}
|
1358
|
+
}, "strip", z.ZodTypeAny, {
|
1218
1359
|
type: "range";
|
1219
1360
|
gte: string;
|
1220
1361
|
lte: string;
|
@@ -1222,8 +1363,17 @@ export declare const QueryType: z.ZodObject<{
|
|
1222
1363
|
type: "range";
|
1223
1364
|
gte: string;
|
1224
1365
|
lte: string;
|
1366
|
+
}>, z.ZodObject<{
|
1367
|
+
type: z.ZodLiteral<"timePeriod">;
|
1368
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
1369
|
+
}, "strip", z.ZodTypeAny, {
|
1370
|
+
type: "timePeriod";
|
1371
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1372
|
+
}, {
|
1373
|
+
type: "timePeriod";
|
1374
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1225
1375
|
}>]>>>;
|
1226
|
-
'
|
1376
|
+
'legalStatuses.REGISTERED.acceptedAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
1227
1377
|
type: z.ZodLiteral<"exact">;
|
1228
1378
|
term: z.ZodString;
|
1229
1379
|
}, {
|
@@ -1234,14 +1384,11 @@ export declare const QueryType: z.ZodObject<{
|
|
1234
1384
|
}, {
|
1235
1385
|
type: "exact";
|
1236
1386
|
term: string;
|
1237
|
-
}>, z.ZodObject<
|
1387
|
+
}>, z.ZodObject<{
|
1238
1388
|
type: z.ZodLiteral<"range">;
|
1239
|
-
gte: z.ZodString;
|
1240
|
-
lte: z.ZodString;
|
1241
|
-
}, {
|
1242
1389
|
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1243
1390
|
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1244
|
-
}
|
1391
|
+
}, "strip", z.ZodTypeAny, {
|
1245
1392
|
type: "range";
|
1246
1393
|
gte: string;
|
1247
1394
|
lte: string;
|
@@ -1249,8 +1396,17 @@ export declare const QueryType: z.ZodObject<{
|
|
1249
1396
|
type: "range";
|
1250
1397
|
gte: string;
|
1251
1398
|
lte: string;
|
1399
|
+
}>, z.ZodObject<{
|
1400
|
+
type: z.ZodLiteral<"timePeriod">;
|
1401
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
1402
|
+
}, "strip", z.ZodTypeAny, {
|
1403
|
+
type: "timePeriod";
|
1404
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1405
|
+
}, {
|
1406
|
+
type: "timePeriod";
|
1407
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1252
1408
|
}>]>>>;
|
1253
|
-
'
|
1409
|
+
'legalStatuses.DECLARED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1254
1410
|
type: z.ZodLiteral<"within">;
|
1255
1411
|
location: z.ZodString;
|
1256
1412
|
}, "strip", z.ZodTypeAny, {
|
@@ -1269,7 +1425,26 @@ export declare const QueryType: z.ZodObject<{
|
|
1269
1425
|
type: "exact";
|
1270
1426
|
term: string;
|
1271
1427
|
}>]>>>;
|
1272
|
-
'
|
1428
|
+
'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1429
|
+
type: z.ZodLiteral<"within">;
|
1430
|
+
location: z.ZodString;
|
1431
|
+
}, "strip", z.ZodTypeAny, {
|
1432
|
+
type: "within";
|
1433
|
+
location: string;
|
1434
|
+
}, {
|
1435
|
+
type: "within";
|
1436
|
+
location: string;
|
1437
|
+
}>, z.ZodObject<{
|
1438
|
+
type: z.ZodLiteral<"exact">;
|
1439
|
+
term: z.ZodString;
|
1440
|
+
}, "strip", z.ZodTypeAny, {
|
1441
|
+
type: "exact";
|
1442
|
+
term: string;
|
1443
|
+
}, {
|
1444
|
+
type: "exact";
|
1445
|
+
term: string;
|
1446
|
+
}>]>>>;
|
1447
|
+
'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1273
1448
|
type: z.ZodLiteral<"exact">;
|
1274
1449
|
term: z.ZodString;
|
1275
1450
|
}, "strip", z.ZodTypeAny, {
|
@@ -1327,7 +1502,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1327
1502
|
type: "exact";
|
1328
1503
|
term: string;
|
1329
1504
|
}>>>;
|
1330
|
-
createdByUserType: z.ZodOptional<z.
|
1505
|
+
createdByUserType: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1506
|
+
type: z.ZodLiteral<"exact">;
|
1507
|
+
term: z.ZodEnum<["user", "system"]>;
|
1508
|
+
}, "strip", z.ZodTypeAny, {
|
1509
|
+
type: "exact";
|
1510
|
+
term: "system" | "user";
|
1511
|
+
}, {
|
1512
|
+
type: "exact";
|
1513
|
+
term: "system" | "user";
|
1514
|
+
}>>>;
|
1331
1515
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1332
1516
|
type: z.ZodLiteral<"exact">;
|
1333
1517
|
term: z.ZodString;
|
@@ -1383,13 +1567,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1383
1567
|
id?: string | undefined;
|
1384
1568
|
status?: {
|
1385
1569
|
type: "exact";
|
1386
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1570
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1387
1571
|
} | {
|
1388
1572
|
type: "anyOf";
|
1389
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1573
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1390
1574
|
} | undefined;
|
1391
1575
|
data?: any;
|
1392
|
-
createdByUserType?:
|
1576
|
+
createdByUserType?: {
|
1577
|
+
type: "exact";
|
1578
|
+
term: "system" | "user";
|
1579
|
+
} | undefined;
|
1393
1580
|
createdAt?: {
|
1394
1581
|
type: "range";
|
1395
1582
|
gte: string;
|
@@ -1397,6 +1584,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1397
1584
|
} | {
|
1398
1585
|
type: "exact";
|
1399
1586
|
term: string;
|
1587
|
+
} | {
|
1588
|
+
type: "timePeriod";
|
1589
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1400
1590
|
} | undefined;
|
1401
1591
|
createdBy?: {
|
1402
1592
|
type: "exact";
|
@@ -1420,6 +1610,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1420
1610
|
} | {
|
1421
1611
|
type: "exact";
|
1422
1612
|
term: string;
|
1613
|
+
} | {
|
1614
|
+
type: "timePeriod";
|
1615
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1423
1616
|
} | undefined;
|
1424
1617
|
trackingId?: {
|
1425
1618
|
type: "exact";
|
@@ -1441,22 +1634,32 @@ export declare const QueryType: z.ZodObject<{
|
|
1441
1634
|
noneOf?: string[] | undefined;
|
1442
1635
|
} | undefined;
|
1443
1636
|
eventType?: string | undefined;
|
1444
|
-
'
|
1637
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1445
1638
|
type: "range";
|
1446
1639
|
gte: string;
|
1447
1640
|
lte: string;
|
1448
1641
|
} | {
|
1449
1642
|
type: "exact";
|
1450
1643
|
term: string;
|
1644
|
+
} | {
|
1645
|
+
type: "timePeriod";
|
1646
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1451
1647
|
} | undefined;
|
1452
|
-
'
|
1648
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1453
1649
|
type: "exact";
|
1454
1650
|
term: string;
|
1455
1651
|
} | {
|
1456
1652
|
type: "within";
|
1457
1653
|
location: string;
|
1458
1654
|
} | undefined;
|
1459
|
-
'
|
1655
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1656
|
+
type: "exact";
|
1657
|
+
term: string;
|
1658
|
+
} | {
|
1659
|
+
type: "within";
|
1660
|
+
location: string;
|
1661
|
+
} | undefined;
|
1662
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1460
1663
|
type: "exact";
|
1461
1664
|
term: string;
|
1462
1665
|
} | undefined;
|
@@ -1464,13 +1667,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1464
1667
|
id?: string | undefined;
|
1465
1668
|
status?: {
|
1466
1669
|
type: "exact";
|
1467
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1670
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1468
1671
|
} | {
|
1469
1672
|
type: "anyOf";
|
1470
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1673
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1471
1674
|
} | undefined;
|
1472
1675
|
data?: any;
|
1473
|
-
createdByUserType?:
|
1676
|
+
createdByUserType?: {
|
1677
|
+
type: "exact";
|
1678
|
+
term: "system" | "user";
|
1679
|
+
} | undefined;
|
1474
1680
|
createdAt?: {
|
1475
1681
|
type: "range";
|
1476
1682
|
gte: string;
|
@@ -1478,6 +1684,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1478
1684
|
} | {
|
1479
1685
|
type: "exact";
|
1480
1686
|
term: string;
|
1687
|
+
} | {
|
1688
|
+
type: "timePeriod";
|
1689
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1481
1690
|
} | undefined;
|
1482
1691
|
createdBy?: {
|
1483
1692
|
type: "exact";
|
@@ -1501,6 +1710,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1501
1710
|
} | {
|
1502
1711
|
type: "exact";
|
1503
1712
|
term: string;
|
1713
|
+
} | {
|
1714
|
+
type: "timePeriod";
|
1715
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1504
1716
|
} | undefined;
|
1505
1717
|
trackingId?: {
|
1506
1718
|
type: "exact";
|
@@ -1522,22 +1734,32 @@ export declare const QueryType: z.ZodObject<{
|
|
1522
1734
|
noneOf?: string[] | undefined;
|
1523
1735
|
} | undefined;
|
1524
1736
|
eventType?: string | undefined;
|
1525
|
-
'
|
1737
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1526
1738
|
type: "range";
|
1527
1739
|
gte: string;
|
1528
1740
|
lte: string;
|
1529
1741
|
} | {
|
1530
1742
|
type: "exact";
|
1531
1743
|
term: string;
|
1744
|
+
} | {
|
1745
|
+
type: "timePeriod";
|
1746
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1747
|
+
} | undefined;
|
1748
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1749
|
+
type: "exact";
|
1750
|
+
term: string;
|
1751
|
+
} | {
|
1752
|
+
type: "within";
|
1753
|
+
location: string;
|
1532
1754
|
} | undefined;
|
1533
|
-
'
|
1755
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1534
1756
|
type: "exact";
|
1535
1757
|
term: string;
|
1536
1758
|
} | {
|
1537
1759
|
type: "within";
|
1538
1760
|
location: string;
|
1539
1761
|
} | undefined;
|
1540
|
-
'
|
1762
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1541
1763
|
type: "exact";
|
1542
1764
|
term: string;
|
1543
1765
|
} | undefined;
|
@@ -1545,13 +1767,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1545
1767
|
id?: string | undefined;
|
1546
1768
|
status?: {
|
1547
1769
|
type: "exact";
|
1548
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1770
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1549
1771
|
} | {
|
1550
1772
|
type: "anyOf";
|
1551
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1773
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1552
1774
|
} | undefined;
|
1553
1775
|
data?: any;
|
1554
|
-
createdByUserType?:
|
1776
|
+
createdByUserType?: {
|
1777
|
+
type: "exact";
|
1778
|
+
term: "system" | "user";
|
1779
|
+
} | undefined;
|
1555
1780
|
createdAt?: {
|
1556
1781
|
type: "range";
|
1557
1782
|
gte: string;
|
@@ -1559,6 +1784,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1559
1784
|
} | {
|
1560
1785
|
type: "exact";
|
1561
1786
|
term: string;
|
1787
|
+
} | {
|
1788
|
+
type: "timePeriod";
|
1789
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1562
1790
|
} | undefined;
|
1563
1791
|
createdBy?: {
|
1564
1792
|
type: "exact";
|
@@ -1582,6 +1810,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1582
1810
|
} | {
|
1583
1811
|
type: "exact";
|
1584
1812
|
term: string;
|
1813
|
+
} | {
|
1814
|
+
type: "timePeriod";
|
1815
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1585
1816
|
} | undefined;
|
1586
1817
|
trackingId?: {
|
1587
1818
|
type: "exact";
|
@@ -1603,22 +1834,32 @@ export declare const QueryType: z.ZodObject<{
|
|
1603
1834
|
noneOf?: string[] | undefined;
|
1604
1835
|
} | undefined;
|
1605
1836
|
eventType?: string | undefined;
|
1606
|
-
'
|
1837
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1607
1838
|
type: "range";
|
1608
1839
|
gte: string;
|
1609
1840
|
lte: string;
|
1610
1841
|
} | {
|
1611
1842
|
type: "exact";
|
1612
1843
|
term: string;
|
1844
|
+
} | {
|
1845
|
+
type: "timePeriod";
|
1846
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1613
1847
|
} | undefined;
|
1614
|
-
'
|
1848
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1615
1849
|
type: "exact";
|
1616
1850
|
term: string;
|
1617
1851
|
} | {
|
1618
1852
|
type: "within";
|
1619
1853
|
location: string;
|
1620
1854
|
} | undefined;
|
1621
|
-
'
|
1855
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1856
|
+
type: "exact";
|
1857
|
+
term: string;
|
1858
|
+
} | {
|
1859
|
+
type: "within";
|
1860
|
+
location: string;
|
1861
|
+
} | undefined;
|
1862
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1622
1863
|
type: "exact";
|
1623
1864
|
term: string;
|
1624
1865
|
} | undefined;
|
@@ -1626,13 +1867,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1626
1867
|
id?: string | undefined;
|
1627
1868
|
status?: {
|
1628
1869
|
type: "exact";
|
1629
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1870
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1630
1871
|
} | {
|
1631
1872
|
type: "anyOf";
|
1632
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1873
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1633
1874
|
} | undefined;
|
1634
1875
|
data?: any;
|
1635
|
-
createdByUserType?:
|
1876
|
+
createdByUserType?: {
|
1877
|
+
type: "exact";
|
1878
|
+
term: "system" | "user";
|
1879
|
+
} | undefined;
|
1636
1880
|
createdAt?: {
|
1637
1881
|
type: "range";
|
1638
1882
|
gte: string;
|
@@ -1640,6 +1884,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1640
1884
|
} | {
|
1641
1885
|
type: "exact";
|
1642
1886
|
term: string;
|
1887
|
+
} | {
|
1888
|
+
type: "timePeriod";
|
1889
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1643
1890
|
} | undefined;
|
1644
1891
|
createdBy?: {
|
1645
1892
|
type: "exact";
|
@@ -1663,6 +1910,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1663
1910
|
} | {
|
1664
1911
|
type: "exact";
|
1665
1912
|
term: string;
|
1913
|
+
} | {
|
1914
|
+
type: "timePeriod";
|
1915
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1666
1916
|
} | undefined;
|
1667
1917
|
trackingId?: {
|
1668
1918
|
type: "exact";
|
@@ -1684,22 +1934,32 @@ export declare const QueryType: z.ZodObject<{
|
|
1684
1934
|
noneOf?: string[] | undefined;
|
1685
1935
|
} | undefined;
|
1686
1936
|
eventType?: string | undefined;
|
1687
|
-
'
|
1937
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1688
1938
|
type: "range";
|
1689
1939
|
gte: string;
|
1690
1940
|
lte: string;
|
1691
1941
|
} | {
|
1692
1942
|
type: "exact";
|
1693
1943
|
term: string;
|
1944
|
+
} | {
|
1945
|
+
type: "timePeriod";
|
1946
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1694
1947
|
} | undefined;
|
1695
|
-
'
|
1948
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1696
1949
|
type: "exact";
|
1697
1950
|
term: string;
|
1698
1951
|
} | {
|
1699
1952
|
type: "within";
|
1700
1953
|
location: string;
|
1701
1954
|
} | undefined;
|
1702
|
-
'
|
1955
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1956
|
+
type: "exact";
|
1957
|
+
term: string;
|
1958
|
+
} | {
|
1959
|
+
type: "within";
|
1960
|
+
location: string;
|
1961
|
+
} | undefined;
|
1962
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1703
1963
|
type: "exact";
|
1704
1964
|
term: string;
|
1705
1965
|
} | undefined;
|
@@ -1707,13 +1967,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1707
1967
|
id?: string | undefined;
|
1708
1968
|
status?: {
|
1709
1969
|
type: "exact";
|
1710
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1970
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1711
1971
|
} | {
|
1712
1972
|
type: "anyOf";
|
1713
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1973
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1714
1974
|
} | undefined;
|
1715
1975
|
data?: any;
|
1716
|
-
createdByUserType?:
|
1976
|
+
createdByUserType?: {
|
1977
|
+
type: "exact";
|
1978
|
+
term: "system" | "user";
|
1979
|
+
} | undefined;
|
1717
1980
|
createdAt?: {
|
1718
1981
|
type: "range";
|
1719
1982
|
gte: string;
|
@@ -1721,6 +1984,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1721
1984
|
} | {
|
1722
1985
|
type: "exact";
|
1723
1986
|
term: string;
|
1987
|
+
} | {
|
1988
|
+
type: "timePeriod";
|
1989
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1724
1990
|
} | undefined;
|
1725
1991
|
createdBy?: {
|
1726
1992
|
type: "exact";
|
@@ -1744,6 +2010,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1744
2010
|
} | {
|
1745
2011
|
type: "exact";
|
1746
2012
|
term: string;
|
2013
|
+
} | {
|
2014
|
+
type: "timePeriod";
|
2015
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1747
2016
|
} | undefined;
|
1748
2017
|
trackingId?: {
|
1749
2018
|
type: "exact";
|
@@ -1765,22 +2034,32 @@ export declare const QueryType: z.ZodObject<{
|
|
1765
2034
|
noneOf?: string[] | undefined;
|
1766
2035
|
} | undefined;
|
1767
2036
|
eventType?: string | undefined;
|
1768
|
-
'
|
2037
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1769
2038
|
type: "range";
|
1770
2039
|
gte: string;
|
1771
2040
|
lte: string;
|
1772
2041
|
} | {
|
1773
2042
|
type: "exact";
|
1774
2043
|
term: string;
|
2044
|
+
} | {
|
2045
|
+
type: "timePeriod";
|
2046
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2047
|
+
} | undefined;
|
2048
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
2049
|
+
type: "exact";
|
2050
|
+
term: string;
|
2051
|
+
} | {
|
2052
|
+
type: "within";
|
2053
|
+
location: string;
|
1775
2054
|
} | undefined;
|
1776
|
-
'
|
2055
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1777
2056
|
type: "exact";
|
1778
2057
|
term: string;
|
1779
2058
|
} | {
|
1780
2059
|
type: "within";
|
1781
2060
|
location: string;
|
1782
2061
|
} | undefined;
|
1783
|
-
'
|
2062
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1784
2063
|
type: "exact";
|
1785
2064
|
term: string;
|
1786
2065
|
} | undefined;
|
@@ -1788,13 +2067,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1788
2067
|
id?: string | undefined;
|
1789
2068
|
status?: {
|
1790
2069
|
type: "exact";
|
1791
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
2070
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1792
2071
|
} | {
|
1793
2072
|
type: "anyOf";
|
1794
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
2073
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1795
2074
|
} | undefined;
|
1796
2075
|
data?: any;
|
1797
|
-
createdByUserType?:
|
2076
|
+
createdByUserType?: {
|
2077
|
+
type: "exact";
|
2078
|
+
term: "system" | "user";
|
2079
|
+
} | undefined;
|
1798
2080
|
createdAt?: {
|
1799
2081
|
type: "range";
|
1800
2082
|
gte: string;
|
@@ -1802,6 +2084,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1802
2084
|
} | {
|
1803
2085
|
type: "exact";
|
1804
2086
|
term: string;
|
2087
|
+
} | {
|
2088
|
+
type: "timePeriod";
|
2089
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1805
2090
|
} | undefined;
|
1806
2091
|
createdBy?: {
|
1807
2092
|
type: "exact";
|
@@ -1825,6 +2110,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1825
2110
|
} | {
|
1826
2111
|
type: "exact";
|
1827
2112
|
term: string;
|
2113
|
+
} | {
|
2114
|
+
type: "timePeriod";
|
2115
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1828
2116
|
} | undefined;
|
1829
2117
|
trackingId?: {
|
1830
2118
|
type: "exact";
|
@@ -1846,22 +2134,32 @@ export declare const QueryType: z.ZodObject<{
|
|
1846
2134
|
noneOf?: string[] | undefined;
|
1847
2135
|
} | undefined;
|
1848
2136
|
eventType?: string | undefined;
|
1849
|
-
'
|
2137
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1850
2138
|
type: "range";
|
1851
2139
|
gte: string;
|
1852
2140
|
lte: string;
|
1853
2141
|
} | {
|
1854
2142
|
type: "exact";
|
1855
2143
|
term: string;
|
2144
|
+
} | {
|
2145
|
+
type: "timePeriod";
|
2146
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1856
2147
|
} | undefined;
|
1857
|
-
'
|
2148
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1858
2149
|
type: "exact";
|
1859
2150
|
term: string;
|
1860
2151
|
} | {
|
1861
2152
|
type: "within";
|
1862
2153
|
location: string;
|
1863
2154
|
} | undefined;
|
1864
|
-
'
|
2155
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
2156
|
+
type: "exact";
|
2157
|
+
term: string;
|
2158
|
+
} | {
|
2159
|
+
type: "within";
|
2160
|
+
location: string;
|
2161
|
+
} | undefined;
|
2162
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1865
2163
|
type: "exact";
|
1866
2164
|
term: string;
|
1867
2165
|
} | undefined;
|
@@ -1872,13 +2170,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1872
2170
|
id?: string | undefined;
|
1873
2171
|
status?: {
|
1874
2172
|
type: "exact";
|
1875
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
2173
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1876
2174
|
} | {
|
1877
2175
|
type: "anyOf";
|
1878
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
2176
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1879
2177
|
} | undefined;
|
1880
2178
|
data?: any;
|
1881
|
-
createdByUserType?:
|
2179
|
+
createdByUserType?: {
|
2180
|
+
type: "exact";
|
2181
|
+
term: "system" | "user";
|
2182
|
+
} | undefined;
|
1882
2183
|
createdAt?: {
|
1883
2184
|
type: "range";
|
1884
2185
|
gte: string;
|
@@ -1886,6 +2187,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1886
2187
|
} | {
|
1887
2188
|
type: "exact";
|
1888
2189
|
term: string;
|
2190
|
+
} | {
|
2191
|
+
type: "timePeriod";
|
2192
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1889
2193
|
} | undefined;
|
1890
2194
|
createdBy?: {
|
1891
2195
|
type: "exact";
|
@@ -1909,6 +2213,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1909
2213
|
} | {
|
1910
2214
|
type: "exact";
|
1911
2215
|
term: string;
|
2216
|
+
} | {
|
2217
|
+
type: "timePeriod";
|
2218
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1912
2219
|
} | undefined;
|
1913
2220
|
trackingId?: {
|
1914
2221
|
type: "exact";
|
@@ -1930,22 +2237,32 @@ export declare const QueryType: z.ZodObject<{
|
|
1930
2237
|
noneOf?: string[] | undefined;
|
1931
2238
|
} | undefined;
|
1932
2239
|
eventType?: string | undefined;
|
1933
|
-
'
|
2240
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1934
2241
|
type: "range";
|
1935
2242
|
gte: string;
|
1936
2243
|
lte: string;
|
1937
2244
|
} | {
|
1938
2245
|
type: "exact";
|
1939
2246
|
term: string;
|
2247
|
+
} | {
|
2248
|
+
type: "timePeriod";
|
2249
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1940
2250
|
} | undefined;
|
1941
|
-
'
|
2251
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1942
2252
|
type: "exact";
|
1943
2253
|
term: string;
|
1944
2254
|
} | {
|
1945
2255
|
type: "within";
|
1946
2256
|
location: string;
|
1947
2257
|
} | undefined;
|
1948
|
-
'
|
2258
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
2259
|
+
type: "exact";
|
2260
|
+
term: string;
|
2261
|
+
} | {
|
2262
|
+
type: "within";
|
2263
|
+
location: string;
|
2264
|
+
} | undefined;
|
2265
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1949
2266
|
type: "exact";
|
1950
2267
|
term: string;
|
1951
2268
|
} | undefined;
|
@@ -1953,13 +2270,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1953
2270
|
id?: string | undefined;
|
1954
2271
|
status?: {
|
1955
2272
|
type: "exact";
|
1956
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
2273
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1957
2274
|
} | {
|
1958
2275
|
type: "anyOf";
|
1959
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
2276
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1960
2277
|
} | undefined;
|
1961
2278
|
data?: any;
|
1962
|
-
createdByUserType?:
|
2279
|
+
createdByUserType?: {
|
2280
|
+
type: "exact";
|
2281
|
+
term: "system" | "user";
|
2282
|
+
} | undefined;
|
1963
2283
|
createdAt?: {
|
1964
2284
|
type: "range";
|
1965
2285
|
gte: string;
|
@@ -1967,6 +2287,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1967
2287
|
} | {
|
1968
2288
|
type: "exact";
|
1969
2289
|
term: string;
|
2290
|
+
} | {
|
2291
|
+
type: "timePeriod";
|
2292
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1970
2293
|
} | undefined;
|
1971
2294
|
createdBy?: {
|
1972
2295
|
type: "exact";
|
@@ -1990,6 +2313,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1990
2313
|
} | {
|
1991
2314
|
type: "exact";
|
1992
2315
|
term: string;
|
2316
|
+
} | {
|
2317
|
+
type: "timePeriod";
|
2318
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1993
2319
|
} | undefined;
|
1994
2320
|
trackingId?: {
|
1995
2321
|
type: "exact";
|
@@ -2011,22 +2337,32 @@ export declare const QueryType: z.ZodObject<{
|
|
2011
2337
|
noneOf?: string[] | undefined;
|
2012
2338
|
} | undefined;
|
2013
2339
|
eventType?: string | undefined;
|
2014
|
-
'
|
2340
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
2015
2341
|
type: "range";
|
2016
2342
|
gte: string;
|
2017
2343
|
lte: string;
|
2018
2344
|
} | {
|
2019
2345
|
type: "exact";
|
2020
2346
|
term: string;
|
2347
|
+
} | {
|
2348
|
+
type: "timePeriod";
|
2349
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2350
|
+
} | undefined;
|
2351
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
2352
|
+
type: "exact";
|
2353
|
+
term: string;
|
2354
|
+
} | {
|
2355
|
+
type: "within";
|
2356
|
+
location: string;
|
2021
2357
|
} | undefined;
|
2022
|
-
'
|
2358
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
2023
2359
|
type: "exact";
|
2024
2360
|
term: string;
|
2025
2361
|
} | {
|
2026
2362
|
type: "within";
|
2027
2363
|
location: string;
|
2028
2364
|
} | undefined;
|
2029
|
-
'
|
2365
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
2030
2366
|
type: "exact";
|
2031
2367
|
term: string;
|
2032
2368
|
} | undefined;
|
@@ -2037,5 +2373,10 @@ export declare const QueryType: z.ZodObject<{
|
|
2037
2373
|
}>;
|
2038
2374
|
export type QueryType = z.infer<typeof QueryType>;
|
2039
2375
|
export type QueryExpression = z.infer<typeof QueryExpression>;
|
2376
|
+
export declare const SearchScopeAccessLevels: {
|
2377
|
+
readonly MY_JURISDICTION: "my-jurisdiction";
|
2378
|
+
readonly ALL: "all";
|
2379
|
+
};
|
2380
|
+
export type SearchScopeAccessLevels = (typeof SearchScopeAccessLevels)[keyof typeof SearchScopeAccessLevels];
|
2040
2381
|
export {};
|
2041
2382
|
//# sourceMappingURL=EventIndex.d.ts.map
|