@opencrvs/toolkit 1.8.0-rc.ffe24c3 → 1.8.1-rc.3e74262
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 +1742 -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 +3159 -1626
- package/dist/commons/events/ActionInput.d.ts +2280 -1380
- package/dist/commons/events/ActionType.d.ts +7 -4
- package/dist/commons/events/AdvancedSearchConfig.d.ts +100 -51
- 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 +20824 -22965
- package/dist/commons/events/EventDocument.d.ts +1669 -1021
- package/dist/commons/events/EventIndex.d.ts +394 -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 +2153 -1337
- package/dist/commons/events/defineConfig.d.ts +2759 -3250
- package/dist/commons/events/event.d.ts +10 -18
- package/dist/commons/events/field.d.ts +13 -1
- package/dist/commons/events/scopes.d.ts +2 -1
- package/dist/commons/events/test.utils.d.ts +58 -34
- package/dist/commons/events/utils.d.ts +8848 -6794
- package/dist/conditionals/index.js +23 -53
- package/dist/events/index.js +1594 -1341
- 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.REGISTERED.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,7 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
710
744
|
type: "exact";
|
711
745
|
term: string;
|
712
746
|
}>]>>>;
|
713
|
-
'
|
747
|
+
'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
714
748
|
type: z.ZodLiteral<"exact">;
|
715
749
|
term: z.ZodString;
|
716
750
|
}, "strip", z.ZodTypeAny, {
|
@@ -768,7 +802,16 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
768
802
|
type: "exact";
|
769
803
|
term: string;
|
770
804
|
}>>>;
|
771
|
-
createdByUserType: z.ZodOptional<z.
|
805
|
+
createdByUserType: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
806
|
+
type: z.ZodLiteral<"exact">;
|
807
|
+
term: z.ZodEnum<["user", "system"]>;
|
808
|
+
}, "strip", z.ZodTypeAny, {
|
809
|
+
type: "exact";
|
810
|
+
term: "system" | "user";
|
811
|
+
}, {
|
812
|
+
type: "exact";
|
813
|
+
term: "system" | "user";
|
814
|
+
}>>>;
|
772
815
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
773
816
|
type: z.ZodLiteral<"exact">;
|
774
817
|
term: z.ZodString;
|
@@ -824,13 +867,16 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
824
867
|
id?: string | undefined;
|
825
868
|
status?: {
|
826
869
|
type: "exact";
|
827
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
870
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
828
871
|
} | {
|
829
872
|
type: "anyOf";
|
830
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
873
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
831
874
|
} | undefined;
|
832
875
|
data?: any;
|
833
|
-
createdByUserType?:
|
876
|
+
createdByUserType?: {
|
877
|
+
type: "exact";
|
878
|
+
term: "system" | "user";
|
879
|
+
} | undefined;
|
834
880
|
createdAt?: {
|
835
881
|
type: "range";
|
836
882
|
gte: string;
|
@@ -838,6 +884,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
838
884
|
} | {
|
839
885
|
type: "exact";
|
840
886
|
term: string;
|
887
|
+
} | {
|
888
|
+
type: "timePeriod";
|
889
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
841
890
|
} | undefined;
|
842
891
|
createdBy?: {
|
843
892
|
type: "exact";
|
@@ -861,6 +910,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
861
910
|
} | {
|
862
911
|
type: "exact";
|
863
912
|
term: string;
|
913
|
+
} | {
|
914
|
+
type: "timePeriod";
|
915
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
864
916
|
} | undefined;
|
865
917
|
trackingId?: {
|
866
918
|
type: "exact";
|
@@ -882,22 +934,25 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
882
934
|
noneOf?: string[] | undefined;
|
883
935
|
} | undefined;
|
884
936
|
eventType?: string | undefined;
|
885
|
-
'
|
937
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
886
938
|
type: "range";
|
887
939
|
gte: string;
|
888
940
|
lte: string;
|
889
941
|
} | {
|
890
942
|
type: "exact";
|
891
943
|
term: string;
|
944
|
+
} | {
|
945
|
+
type: "timePeriod";
|
946
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
892
947
|
} | undefined;
|
893
|
-
'
|
948
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
894
949
|
type: "exact";
|
895
950
|
term: string;
|
896
951
|
} | {
|
897
952
|
type: "within";
|
898
953
|
location: string;
|
899
954
|
} | undefined;
|
900
|
-
'
|
955
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
901
956
|
type: "exact";
|
902
957
|
term: string;
|
903
958
|
} | undefined;
|
@@ -905,13 +960,16 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
905
960
|
id?: string | undefined;
|
906
961
|
status?: {
|
907
962
|
type: "exact";
|
908
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
963
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
909
964
|
} | {
|
910
965
|
type: "anyOf";
|
911
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
966
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
912
967
|
} | undefined;
|
913
968
|
data?: any;
|
914
|
-
createdByUserType?:
|
969
|
+
createdByUserType?: {
|
970
|
+
type: "exact";
|
971
|
+
term: "system" | "user";
|
972
|
+
} | undefined;
|
915
973
|
createdAt?: {
|
916
974
|
type: "range";
|
917
975
|
gte: string;
|
@@ -919,6 +977,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
919
977
|
} | {
|
920
978
|
type: "exact";
|
921
979
|
term: string;
|
980
|
+
} | {
|
981
|
+
type: "timePeriod";
|
982
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
922
983
|
} | undefined;
|
923
984
|
createdBy?: {
|
924
985
|
type: "exact";
|
@@ -942,6 +1003,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
942
1003
|
} | {
|
943
1004
|
type: "exact";
|
944
1005
|
term: string;
|
1006
|
+
} | {
|
1007
|
+
type: "timePeriod";
|
1008
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
945
1009
|
} | undefined;
|
946
1010
|
trackingId?: {
|
947
1011
|
type: "exact";
|
@@ -963,22 +1027,25 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
963
1027
|
noneOf?: string[] | undefined;
|
964
1028
|
} | undefined;
|
965
1029
|
eventType?: string | undefined;
|
966
|
-
'
|
1030
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
967
1031
|
type: "range";
|
968
1032
|
gte: string;
|
969
1033
|
lte: string;
|
970
1034
|
} | {
|
971
1035
|
type: "exact";
|
972
1036
|
term: string;
|
1037
|
+
} | {
|
1038
|
+
type: "timePeriod";
|
1039
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
973
1040
|
} | undefined;
|
974
|
-
'
|
1041
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
975
1042
|
type: "exact";
|
976
1043
|
term: string;
|
977
1044
|
} | {
|
978
1045
|
type: "within";
|
979
1046
|
location: string;
|
980
1047
|
} | undefined;
|
981
|
-
'
|
1048
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
982
1049
|
type: "exact";
|
983
1050
|
term: string;
|
984
1051
|
} | undefined;
|
@@ -986,13 +1053,16 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
986
1053
|
id?: string | undefined;
|
987
1054
|
status?: {
|
988
1055
|
type: "exact";
|
989
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1056
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
990
1057
|
} | {
|
991
1058
|
type: "anyOf";
|
992
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1059
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
993
1060
|
} | undefined;
|
994
1061
|
data?: any;
|
995
|
-
createdByUserType?:
|
1062
|
+
createdByUserType?: {
|
1063
|
+
type: "exact";
|
1064
|
+
term: "system" | "user";
|
1065
|
+
} | undefined;
|
996
1066
|
createdAt?: {
|
997
1067
|
type: "range";
|
998
1068
|
gte: string;
|
@@ -1000,6 +1070,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1000
1070
|
} | {
|
1001
1071
|
type: "exact";
|
1002
1072
|
term: string;
|
1073
|
+
} | {
|
1074
|
+
type: "timePeriod";
|
1075
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1003
1076
|
} | undefined;
|
1004
1077
|
createdBy?: {
|
1005
1078
|
type: "exact";
|
@@ -1023,6 +1096,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1023
1096
|
} | {
|
1024
1097
|
type: "exact";
|
1025
1098
|
term: string;
|
1099
|
+
} | {
|
1100
|
+
type: "timePeriod";
|
1101
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1026
1102
|
} | undefined;
|
1027
1103
|
trackingId?: {
|
1028
1104
|
type: "exact";
|
@@ -1044,22 +1120,25 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1044
1120
|
noneOf?: string[] | undefined;
|
1045
1121
|
} | undefined;
|
1046
1122
|
eventType?: string | undefined;
|
1047
|
-
'
|
1123
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1048
1124
|
type: "range";
|
1049
1125
|
gte: string;
|
1050
1126
|
lte: string;
|
1051
1127
|
} | {
|
1052
1128
|
type: "exact";
|
1053
1129
|
term: string;
|
1130
|
+
} | {
|
1131
|
+
type: "timePeriod";
|
1132
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1054
1133
|
} | undefined;
|
1055
|
-
'
|
1134
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1056
1135
|
type: "exact";
|
1057
1136
|
term: string;
|
1058
1137
|
} | {
|
1059
1138
|
type: "within";
|
1060
1139
|
location: string;
|
1061
1140
|
} | undefined;
|
1062
|
-
'
|
1141
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1063
1142
|
type: "exact";
|
1064
1143
|
term: string;
|
1065
1144
|
} | undefined;
|
@@ -1067,13 +1146,16 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1067
1146
|
id?: string | undefined;
|
1068
1147
|
status?: {
|
1069
1148
|
type: "exact";
|
1070
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1149
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1071
1150
|
} | {
|
1072
1151
|
type: "anyOf";
|
1073
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1152
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1074
1153
|
} | undefined;
|
1075
1154
|
data?: any;
|
1076
|
-
createdByUserType?:
|
1155
|
+
createdByUserType?: {
|
1156
|
+
type: "exact";
|
1157
|
+
term: "system" | "user";
|
1158
|
+
} | undefined;
|
1077
1159
|
createdAt?: {
|
1078
1160
|
type: "range";
|
1079
1161
|
gte: string;
|
@@ -1081,6 +1163,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1081
1163
|
} | {
|
1082
1164
|
type: "exact";
|
1083
1165
|
term: string;
|
1166
|
+
} | {
|
1167
|
+
type: "timePeriod";
|
1168
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1084
1169
|
} | undefined;
|
1085
1170
|
createdBy?: {
|
1086
1171
|
type: "exact";
|
@@ -1104,6 +1189,9 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1104
1189
|
} | {
|
1105
1190
|
type: "exact";
|
1106
1191
|
term: string;
|
1192
|
+
} | {
|
1193
|
+
type: "timePeriod";
|
1194
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1107
1195
|
} | undefined;
|
1108
1196
|
trackingId?: {
|
1109
1197
|
type: "exact";
|
@@ -1125,22 +1213,25 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1125
1213
|
noneOf?: string[] | undefined;
|
1126
1214
|
} | undefined;
|
1127
1215
|
eventType?: string | undefined;
|
1128
|
-
'
|
1216
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1129
1217
|
type: "range";
|
1130
1218
|
gte: string;
|
1131
1219
|
lte: string;
|
1132
1220
|
} | {
|
1133
1221
|
type: "exact";
|
1134
1222
|
term: string;
|
1223
|
+
} | {
|
1224
|
+
type: "timePeriod";
|
1225
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1135
1226
|
} | undefined;
|
1136
|
-
'
|
1227
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1137
1228
|
type: "exact";
|
1138
1229
|
term: string;
|
1139
1230
|
} | {
|
1140
1231
|
type: "within";
|
1141
1232
|
location: string;
|
1142
1233
|
} | undefined;
|
1143
|
-
'
|
1234
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1144
1235
|
type: "exact";
|
1145
1236
|
term: string;
|
1146
1237
|
} | undefined;
|
@@ -1152,22 +1243,22 @@ export declare const QueryType: z.ZodObject<{
|
|
1152
1243
|
eventType: z.ZodOptional<z.ZodString>;
|
1153
1244
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1154
1245
|
type: z.ZodLiteral<"anyOf">;
|
1155
|
-
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "
|
1246
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>, "many">;
|
1156
1247
|
}, "strip", z.ZodTypeAny, {
|
1157
1248
|
type: "anyOf";
|
1158
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1249
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1159
1250
|
}, {
|
1160
1251
|
type: "anyOf";
|
1161
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1252
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1162
1253
|
}>, z.ZodObject<{
|
1163
1254
|
type: z.ZodLiteral<"exact">;
|
1164
|
-
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "
|
1255
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>;
|
1165
1256
|
}, "strip", z.ZodTypeAny, {
|
1166
1257
|
type: "exact";
|
1167
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1258
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1168
1259
|
}, {
|
1169
1260
|
type: "exact";
|
1170
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1261
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1171
1262
|
}>]>>>;
|
1172
1263
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
1173
1264
|
type: z.ZodLiteral<"exact">;
|
@@ -1180,14 +1271,11 @@ export declare const QueryType: z.ZodObject<{
|
|
1180
1271
|
}, {
|
1181
1272
|
type: "exact";
|
1182
1273
|
term: string;
|
1183
|
-
}>, z.ZodObject<
|
1274
|
+
}>, z.ZodObject<{
|
1184
1275
|
type: z.ZodLiteral<"range">;
|
1185
|
-
gte: z.ZodString;
|
1186
|
-
lte: z.ZodString;
|
1187
|
-
}, {
|
1188
1276
|
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1189
1277
|
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1190
|
-
}
|
1278
|
+
}, "strip", z.ZodTypeAny, {
|
1191
1279
|
type: "range";
|
1192
1280
|
gte: string;
|
1193
1281
|
lte: string;
|
@@ -1195,6 +1283,15 @@ export declare const QueryType: z.ZodObject<{
|
|
1195
1283
|
type: "range";
|
1196
1284
|
gte: string;
|
1197
1285
|
lte: string;
|
1286
|
+
}>, z.ZodObject<{
|
1287
|
+
type: z.ZodLiteral<"timePeriod">;
|
1288
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
1289
|
+
}, "strip", z.ZodTypeAny, {
|
1290
|
+
type: "timePeriod";
|
1291
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1292
|
+
}, {
|
1293
|
+
type: "timePeriod";
|
1294
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1198
1295
|
}>]>>>;
|
1199
1296
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
1200
1297
|
type: z.ZodLiteral<"exact">;
|
@@ -1207,14 +1304,11 @@ export declare const QueryType: z.ZodObject<{
|
|
1207
1304
|
}, {
|
1208
1305
|
type: "exact";
|
1209
1306
|
term: string;
|
1210
|
-
}>, z.ZodObject<
|
1307
|
+
}>, z.ZodObject<{
|
1211
1308
|
type: z.ZodLiteral<"range">;
|
1212
|
-
gte: z.ZodString;
|
1213
|
-
lte: z.ZodString;
|
1214
|
-
}, {
|
1215
1309
|
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1216
1310
|
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1217
|
-
}
|
1311
|
+
}, "strip", z.ZodTypeAny, {
|
1218
1312
|
type: "range";
|
1219
1313
|
gte: string;
|
1220
1314
|
lte: string;
|
@@ -1222,8 +1316,17 @@ export declare const QueryType: z.ZodObject<{
|
|
1222
1316
|
type: "range";
|
1223
1317
|
gte: string;
|
1224
1318
|
lte: string;
|
1319
|
+
}>, z.ZodObject<{
|
1320
|
+
type: z.ZodLiteral<"timePeriod">;
|
1321
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
1322
|
+
}, "strip", z.ZodTypeAny, {
|
1323
|
+
type: "timePeriod";
|
1324
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1325
|
+
}, {
|
1326
|
+
type: "timePeriod";
|
1327
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1225
1328
|
}>]>>>;
|
1226
|
-
'
|
1329
|
+
'legalStatuses.REGISTERED.acceptedAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
1227
1330
|
type: z.ZodLiteral<"exact">;
|
1228
1331
|
term: z.ZodString;
|
1229
1332
|
}, {
|
@@ -1234,14 +1337,11 @@ export declare const QueryType: z.ZodObject<{
|
|
1234
1337
|
}, {
|
1235
1338
|
type: "exact";
|
1236
1339
|
term: string;
|
1237
|
-
}>, z.ZodObject<
|
1340
|
+
}>, z.ZodObject<{
|
1238
1341
|
type: z.ZodLiteral<"range">;
|
1239
|
-
gte: z.ZodString;
|
1240
|
-
lte: z.ZodString;
|
1241
|
-
}, {
|
1242
1342
|
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1243
1343
|
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1244
|
-
}
|
1344
|
+
}, "strip", z.ZodTypeAny, {
|
1245
1345
|
type: "range";
|
1246
1346
|
gte: string;
|
1247
1347
|
lte: string;
|
@@ -1249,8 +1349,17 @@ export declare const QueryType: z.ZodObject<{
|
|
1249
1349
|
type: "range";
|
1250
1350
|
gte: string;
|
1251
1351
|
lte: string;
|
1352
|
+
}>, z.ZodObject<{
|
1353
|
+
type: z.ZodLiteral<"timePeriod">;
|
1354
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
1355
|
+
}, "strip", z.ZodTypeAny, {
|
1356
|
+
type: "timePeriod";
|
1357
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1358
|
+
}, {
|
1359
|
+
type: "timePeriod";
|
1360
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1252
1361
|
}>]>>>;
|
1253
|
-
'
|
1362
|
+
'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1254
1363
|
type: z.ZodLiteral<"within">;
|
1255
1364
|
location: z.ZodString;
|
1256
1365
|
}, "strip", z.ZodTypeAny, {
|
@@ -1269,7 +1378,7 @@ export declare const QueryType: z.ZodObject<{
|
|
1269
1378
|
type: "exact";
|
1270
1379
|
term: string;
|
1271
1380
|
}>]>>>;
|
1272
|
-
'
|
1381
|
+
'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1273
1382
|
type: z.ZodLiteral<"exact">;
|
1274
1383
|
term: z.ZodString;
|
1275
1384
|
}, "strip", z.ZodTypeAny, {
|
@@ -1327,7 +1436,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1327
1436
|
type: "exact";
|
1328
1437
|
term: string;
|
1329
1438
|
}>>>;
|
1330
|
-
createdByUserType: z.ZodOptional<z.
|
1439
|
+
createdByUserType: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1440
|
+
type: z.ZodLiteral<"exact">;
|
1441
|
+
term: z.ZodEnum<["user", "system"]>;
|
1442
|
+
}, "strip", z.ZodTypeAny, {
|
1443
|
+
type: "exact";
|
1444
|
+
term: "system" | "user";
|
1445
|
+
}, {
|
1446
|
+
type: "exact";
|
1447
|
+
term: "system" | "user";
|
1448
|
+
}>>>;
|
1331
1449
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1332
1450
|
type: z.ZodLiteral<"exact">;
|
1333
1451
|
term: z.ZodString;
|
@@ -1383,13 +1501,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1383
1501
|
id?: string | undefined;
|
1384
1502
|
status?: {
|
1385
1503
|
type: "exact";
|
1386
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1504
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1387
1505
|
} | {
|
1388
1506
|
type: "anyOf";
|
1389
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1507
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1390
1508
|
} | undefined;
|
1391
1509
|
data?: any;
|
1392
|
-
createdByUserType?:
|
1510
|
+
createdByUserType?: {
|
1511
|
+
type: "exact";
|
1512
|
+
term: "system" | "user";
|
1513
|
+
} | undefined;
|
1393
1514
|
createdAt?: {
|
1394
1515
|
type: "range";
|
1395
1516
|
gte: string;
|
@@ -1397,6 +1518,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1397
1518
|
} | {
|
1398
1519
|
type: "exact";
|
1399
1520
|
term: string;
|
1521
|
+
} | {
|
1522
|
+
type: "timePeriod";
|
1523
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1400
1524
|
} | undefined;
|
1401
1525
|
createdBy?: {
|
1402
1526
|
type: "exact";
|
@@ -1420,6 +1544,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1420
1544
|
} | {
|
1421
1545
|
type: "exact";
|
1422
1546
|
term: string;
|
1547
|
+
} | {
|
1548
|
+
type: "timePeriod";
|
1549
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1423
1550
|
} | undefined;
|
1424
1551
|
trackingId?: {
|
1425
1552
|
type: "exact";
|
@@ -1441,22 +1568,25 @@ export declare const QueryType: z.ZodObject<{
|
|
1441
1568
|
noneOf?: string[] | undefined;
|
1442
1569
|
} | undefined;
|
1443
1570
|
eventType?: string | undefined;
|
1444
|
-
'
|
1571
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1445
1572
|
type: "range";
|
1446
1573
|
gte: string;
|
1447
1574
|
lte: string;
|
1448
1575
|
} | {
|
1449
1576
|
type: "exact";
|
1450
1577
|
term: string;
|
1578
|
+
} | {
|
1579
|
+
type: "timePeriod";
|
1580
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1451
1581
|
} | undefined;
|
1452
|
-
'
|
1582
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1453
1583
|
type: "exact";
|
1454
1584
|
term: string;
|
1455
1585
|
} | {
|
1456
1586
|
type: "within";
|
1457
1587
|
location: string;
|
1458
1588
|
} | undefined;
|
1459
|
-
'
|
1589
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1460
1590
|
type: "exact";
|
1461
1591
|
term: string;
|
1462
1592
|
} | undefined;
|
@@ -1464,13 +1594,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1464
1594
|
id?: string | undefined;
|
1465
1595
|
status?: {
|
1466
1596
|
type: "exact";
|
1467
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1597
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1468
1598
|
} | {
|
1469
1599
|
type: "anyOf";
|
1470
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1600
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1471
1601
|
} | undefined;
|
1472
1602
|
data?: any;
|
1473
|
-
createdByUserType?:
|
1603
|
+
createdByUserType?: {
|
1604
|
+
type: "exact";
|
1605
|
+
term: "system" | "user";
|
1606
|
+
} | undefined;
|
1474
1607
|
createdAt?: {
|
1475
1608
|
type: "range";
|
1476
1609
|
gte: string;
|
@@ -1478,6 +1611,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1478
1611
|
} | {
|
1479
1612
|
type: "exact";
|
1480
1613
|
term: string;
|
1614
|
+
} | {
|
1615
|
+
type: "timePeriod";
|
1616
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1481
1617
|
} | undefined;
|
1482
1618
|
createdBy?: {
|
1483
1619
|
type: "exact";
|
@@ -1501,6 +1637,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1501
1637
|
} | {
|
1502
1638
|
type: "exact";
|
1503
1639
|
term: string;
|
1640
|
+
} | {
|
1641
|
+
type: "timePeriod";
|
1642
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1504
1643
|
} | undefined;
|
1505
1644
|
trackingId?: {
|
1506
1645
|
type: "exact";
|
@@ -1522,22 +1661,25 @@ export declare const QueryType: z.ZodObject<{
|
|
1522
1661
|
noneOf?: string[] | undefined;
|
1523
1662
|
} | undefined;
|
1524
1663
|
eventType?: string | undefined;
|
1525
|
-
'
|
1664
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1526
1665
|
type: "range";
|
1527
1666
|
gte: string;
|
1528
1667
|
lte: string;
|
1529
1668
|
} | {
|
1530
1669
|
type: "exact";
|
1531
1670
|
term: string;
|
1671
|
+
} | {
|
1672
|
+
type: "timePeriod";
|
1673
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1532
1674
|
} | undefined;
|
1533
|
-
'
|
1675
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1534
1676
|
type: "exact";
|
1535
1677
|
term: string;
|
1536
1678
|
} | {
|
1537
1679
|
type: "within";
|
1538
1680
|
location: string;
|
1539
1681
|
} | undefined;
|
1540
|
-
'
|
1682
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1541
1683
|
type: "exact";
|
1542
1684
|
term: string;
|
1543
1685
|
} | undefined;
|
@@ -1545,13 +1687,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1545
1687
|
id?: string | undefined;
|
1546
1688
|
status?: {
|
1547
1689
|
type: "exact";
|
1548
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1690
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1549
1691
|
} | {
|
1550
1692
|
type: "anyOf";
|
1551
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1693
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1552
1694
|
} | undefined;
|
1553
1695
|
data?: any;
|
1554
|
-
createdByUserType?:
|
1696
|
+
createdByUserType?: {
|
1697
|
+
type: "exact";
|
1698
|
+
term: "system" | "user";
|
1699
|
+
} | undefined;
|
1555
1700
|
createdAt?: {
|
1556
1701
|
type: "range";
|
1557
1702
|
gte: string;
|
@@ -1559,6 +1704,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1559
1704
|
} | {
|
1560
1705
|
type: "exact";
|
1561
1706
|
term: string;
|
1707
|
+
} | {
|
1708
|
+
type: "timePeriod";
|
1709
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1562
1710
|
} | undefined;
|
1563
1711
|
createdBy?: {
|
1564
1712
|
type: "exact";
|
@@ -1582,6 +1730,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1582
1730
|
} | {
|
1583
1731
|
type: "exact";
|
1584
1732
|
term: string;
|
1733
|
+
} | {
|
1734
|
+
type: "timePeriod";
|
1735
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1585
1736
|
} | undefined;
|
1586
1737
|
trackingId?: {
|
1587
1738
|
type: "exact";
|
@@ -1603,22 +1754,25 @@ export declare const QueryType: z.ZodObject<{
|
|
1603
1754
|
noneOf?: string[] | undefined;
|
1604
1755
|
} | undefined;
|
1605
1756
|
eventType?: string | undefined;
|
1606
|
-
'
|
1757
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1607
1758
|
type: "range";
|
1608
1759
|
gte: string;
|
1609
1760
|
lte: string;
|
1610
1761
|
} | {
|
1611
1762
|
type: "exact";
|
1612
1763
|
term: string;
|
1764
|
+
} | {
|
1765
|
+
type: "timePeriod";
|
1766
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1613
1767
|
} | undefined;
|
1614
|
-
'
|
1768
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1615
1769
|
type: "exact";
|
1616
1770
|
term: string;
|
1617
1771
|
} | {
|
1618
1772
|
type: "within";
|
1619
1773
|
location: string;
|
1620
1774
|
} | undefined;
|
1621
|
-
'
|
1775
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1622
1776
|
type: "exact";
|
1623
1777
|
term: string;
|
1624
1778
|
} | undefined;
|
@@ -1626,13 +1780,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1626
1780
|
id?: string | undefined;
|
1627
1781
|
status?: {
|
1628
1782
|
type: "exact";
|
1629
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1783
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1630
1784
|
} | {
|
1631
1785
|
type: "anyOf";
|
1632
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1786
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1633
1787
|
} | undefined;
|
1634
1788
|
data?: any;
|
1635
|
-
createdByUserType?:
|
1789
|
+
createdByUserType?: {
|
1790
|
+
type: "exact";
|
1791
|
+
term: "system" | "user";
|
1792
|
+
} | undefined;
|
1636
1793
|
createdAt?: {
|
1637
1794
|
type: "range";
|
1638
1795
|
gte: string;
|
@@ -1640,6 +1797,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1640
1797
|
} | {
|
1641
1798
|
type: "exact";
|
1642
1799
|
term: string;
|
1800
|
+
} | {
|
1801
|
+
type: "timePeriod";
|
1802
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1643
1803
|
} | undefined;
|
1644
1804
|
createdBy?: {
|
1645
1805
|
type: "exact";
|
@@ -1663,6 +1823,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1663
1823
|
} | {
|
1664
1824
|
type: "exact";
|
1665
1825
|
term: string;
|
1826
|
+
} | {
|
1827
|
+
type: "timePeriod";
|
1828
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1666
1829
|
} | undefined;
|
1667
1830
|
trackingId?: {
|
1668
1831
|
type: "exact";
|
@@ -1684,22 +1847,25 @@ export declare const QueryType: z.ZodObject<{
|
|
1684
1847
|
noneOf?: string[] | undefined;
|
1685
1848
|
} | undefined;
|
1686
1849
|
eventType?: string | undefined;
|
1687
|
-
'
|
1850
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1688
1851
|
type: "range";
|
1689
1852
|
gte: string;
|
1690
1853
|
lte: string;
|
1691
1854
|
} | {
|
1692
1855
|
type: "exact";
|
1693
1856
|
term: string;
|
1857
|
+
} | {
|
1858
|
+
type: "timePeriod";
|
1859
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1694
1860
|
} | undefined;
|
1695
|
-
'
|
1861
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1696
1862
|
type: "exact";
|
1697
1863
|
term: string;
|
1698
1864
|
} | {
|
1699
1865
|
type: "within";
|
1700
1866
|
location: string;
|
1701
1867
|
} | undefined;
|
1702
|
-
'
|
1868
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1703
1869
|
type: "exact";
|
1704
1870
|
term: string;
|
1705
1871
|
} | undefined;
|
@@ -1707,13 +1873,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1707
1873
|
id?: string | undefined;
|
1708
1874
|
status?: {
|
1709
1875
|
type: "exact";
|
1710
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1876
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1711
1877
|
} | {
|
1712
1878
|
type: "anyOf";
|
1713
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1879
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1714
1880
|
} | undefined;
|
1715
1881
|
data?: any;
|
1716
|
-
createdByUserType?:
|
1882
|
+
createdByUserType?: {
|
1883
|
+
type: "exact";
|
1884
|
+
term: "system" | "user";
|
1885
|
+
} | undefined;
|
1717
1886
|
createdAt?: {
|
1718
1887
|
type: "range";
|
1719
1888
|
gte: string;
|
@@ -1721,6 +1890,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1721
1890
|
} | {
|
1722
1891
|
type: "exact";
|
1723
1892
|
term: string;
|
1893
|
+
} | {
|
1894
|
+
type: "timePeriod";
|
1895
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1724
1896
|
} | undefined;
|
1725
1897
|
createdBy?: {
|
1726
1898
|
type: "exact";
|
@@ -1744,6 +1916,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1744
1916
|
} | {
|
1745
1917
|
type: "exact";
|
1746
1918
|
term: string;
|
1919
|
+
} | {
|
1920
|
+
type: "timePeriod";
|
1921
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1747
1922
|
} | undefined;
|
1748
1923
|
trackingId?: {
|
1749
1924
|
type: "exact";
|
@@ -1765,22 +1940,25 @@ export declare const QueryType: z.ZodObject<{
|
|
1765
1940
|
noneOf?: string[] | undefined;
|
1766
1941
|
} | undefined;
|
1767
1942
|
eventType?: string | undefined;
|
1768
|
-
'
|
1943
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1769
1944
|
type: "range";
|
1770
1945
|
gte: string;
|
1771
1946
|
lte: string;
|
1772
1947
|
} | {
|
1773
1948
|
type: "exact";
|
1774
1949
|
term: string;
|
1950
|
+
} | {
|
1951
|
+
type: "timePeriod";
|
1952
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1775
1953
|
} | undefined;
|
1776
|
-
'
|
1954
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1777
1955
|
type: "exact";
|
1778
1956
|
term: string;
|
1779
1957
|
} | {
|
1780
1958
|
type: "within";
|
1781
1959
|
location: string;
|
1782
1960
|
} | undefined;
|
1783
|
-
'
|
1961
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1784
1962
|
type: "exact";
|
1785
1963
|
term: string;
|
1786
1964
|
} | undefined;
|
@@ -1788,13 +1966,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1788
1966
|
id?: string | undefined;
|
1789
1967
|
status?: {
|
1790
1968
|
type: "exact";
|
1791
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1969
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1792
1970
|
} | {
|
1793
1971
|
type: "anyOf";
|
1794
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
1972
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1795
1973
|
} | undefined;
|
1796
1974
|
data?: any;
|
1797
|
-
createdByUserType?:
|
1975
|
+
createdByUserType?: {
|
1976
|
+
type: "exact";
|
1977
|
+
term: "system" | "user";
|
1978
|
+
} | undefined;
|
1798
1979
|
createdAt?: {
|
1799
1980
|
type: "range";
|
1800
1981
|
gte: string;
|
@@ -1802,6 +1983,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1802
1983
|
} | {
|
1803
1984
|
type: "exact";
|
1804
1985
|
term: string;
|
1986
|
+
} | {
|
1987
|
+
type: "timePeriod";
|
1988
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1805
1989
|
} | undefined;
|
1806
1990
|
createdBy?: {
|
1807
1991
|
type: "exact";
|
@@ -1825,6 +2009,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1825
2009
|
} | {
|
1826
2010
|
type: "exact";
|
1827
2011
|
term: string;
|
2012
|
+
} | {
|
2013
|
+
type: "timePeriod";
|
2014
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1828
2015
|
} | undefined;
|
1829
2016
|
trackingId?: {
|
1830
2017
|
type: "exact";
|
@@ -1846,22 +2033,25 @@ export declare const QueryType: z.ZodObject<{
|
|
1846
2033
|
noneOf?: string[] | undefined;
|
1847
2034
|
} | undefined;
|
1848
2035
|
eventType?: string | undefined;
|
1849
|
-
'
|
2036
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1850
2037
|
type: "range";
|
1851
2038
|
gte: string;
|
1852
2039
|
lte: string;
|
1853
2040
|
} | {
|
1854
2041
|
type: "exact";
|
1855
2042
|
term: string;
|
2043
|
+
} | {
|
2044
|
+
type: "timePeriod";
|
2045
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1856
2046
|
} | undefined;
|
1857
|
-
'
|
2047
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1858
2048
|
type: "exact";
|
1859
2049
|
term: string;
|
1860
2050
|
} | {
|
1861
2051
|
type: "within";
|
1862
2052
|
location: string;
|
1863
2053
|
} | undefined;
|
1864
|
-
'
|
2054
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1865
2055
|
type: "exact";
|
1866
2056
|
term: string;
|
1867
2057
|
} | undefined;
|
@@ -1872,13 +2062,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1872
2062
|
id?: string | undefined;
|
1873
2063
|
status?: {
|
1874
2064
|
type: "exact";
|
1875
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
2065
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1876
2066
|
} | {
|
1877
2067
|
type: "anyOf";
|
1878
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
2068
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1879
2069
|
} | undefined;
|
1880
2070
|
data?: any;
|
1881
|
-
createdByUserType?:
|
2071
|
+
createdByUserType?: {
|
2072
|
+
type: "exact";
|
2073
|
+
term: "system" | "user";
|
2074
|
+
} | undefined;
|
1882
2075
|
createdAt?: {
|
1883
2076
|
type: "range";
|
1884
2077
|
gte: string;
|
@@ -1886,6 +2079,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1886
2079
|
} | {
|
1887
2080
|
type: "exact";
|
1888
2081
|
term: string;
|
2082
|
+
} | {
|
2083
|
+
type: "timePeriod";
|
2084
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1889
2085
|
} | undefined;
|
1890
2086
|
createdBy?: {
|
1891
2087
|
type: "exact";
|
@@ -1909,6 +2105,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1909
2105
|
} | {
|
1910
2106
|
type: "exact";
|
1911
2107
|
term: string;
|
2108
|
+
} | {
|
2109
|
+
type: "timePeriod";
|
2110
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1912
2111
|
} | undefined;
|
1913
2112
|
trackingId?: {
|
1914
2113
|
type: "exact";
|
@@ -1930,22 +2129,25 @@ export declare const QueryType: z.ZodObject<{
|
|
1930
2129
|
noneOf?: string[] | undefined;
|
1931
2130
|
} | undefined;
|
1932
2131
|
eventType?: string | undefined;
|
1933
|
-
'
|
2132
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1934
2133
|
type: "range";
|
1935
2134
|
gte: string;
|
1936
2135
|
lte: string;
|
1937
2136
|
} | {
|
1938
2137
|
type: "exact";
|
1939
2138
|
term: string;
|
2139
|
+
} | {
|
2140
|
+
type: "timePeriod";
|
2141
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1940
2142
|
} | undefined;
|
1941
|
-
'
|
2143
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1942
2144
|
type: "exact";
|
1943
2145
|
term: string;
|
1944
2146
|
} | {
|
1945
2147
|
type: "within";
|
1946
2148
|
location: string;
|
1947
2149
|
} | undefined;
|
1948
|
-
'
|
2150
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1949
2151
|
type: "exact";
|
1950
2152
|
term: string;
|
1951
2153
|
} | undefined;
|
@@ -1953,13 +2155,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1953
2155
|
id?: string | undefined;
|
1954
2156
|
status?: {
|
1955
2157
|
type: "exact";
|
1956
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
2158
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1957
2159
|
} | {
|
1958
2160
|
type: "anyOf";
|
1959
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "
|
2161
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1960
2162
|
} | undefined;
|
1961
2163
|
data?: any;
|
1962
|
-
createdByUserType?:
|
2164
|
+
createdByUserType?: {
|
2165
|
+
type: "exact";
|
2166
|
+
term: "system" | "user";
|
2167
|
+
} | undefined;
|
1963
2168
|
createdAt?: {
|
1964
2169
|
type: "range";
|
1965
2170
|
gte: string;
|
@@ -1967,6 +2172,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1967
2172
|
} | {
|
1968
2173
|
type: "exact";
|
1969
2174
|
term: string;
|
2175
|
+
} | {
|
2176
|
+
type: "timePeriod";
|
2177
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1970
2178
|
} | undefined;
|
1971
2179
|
createdBy?: {
|
1972
2180
|
type: "exact";
|
@@ -1990,6 +2198,9 @@ export declare const QueryType: z.ZodObject<{
|
|
1990
2198
|
} | {
|
1991
2199
|
type: "exact";
|
1992
2200
|
term: string;
|
2201
|
+
} | {
|
2202
|
+
type: "timePeriod";
|
2203
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1993
2204
|
} | undefined;
|
1994
2205
|
trackingId?: {
|
1995
2206
|
type: "exact";
|
@@ -2011,22 +2222,25 @@ export declare const QueryType: z.ZodObject<{
|
|
2011
2222
|
noneOf?: string[] | undefined;
|
2012
2223
|
} | undefined;
|
2013
2224
|
eventType?: string | undefined;
|
2014
|
-
'
|
2225
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
2015
2226
|
type: "range";
|
2016
2227
|
gte: string;
|
2017
2228
|
lte: string;
|
2018
2229
|
} | {
|
2019
2230
|
type: "exact";
|
2020
2231
|
term: string;
|
2232
|
+
} | {
|
2233
|
+
type: "timePeriod";
|
2234
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2021
2235
|
} | undefined;
|
2022
|
-
'
|
2236
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
2023
2237
|
type: "exact";
|
2024
2238
|
term: string;
|
2025
2239
|
} | {
|
2026
2240
|
type: "within";
|
2027
2241
|
location: string;
|
2028
2242
|
} | undefined;
|
2029
|
-
'
|
2243
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
2030
2244
|
type: "exact";
|
2031
2245
|
term: string;
|
2032
2246
|
} | undefined;
|
@@ -2037,5 +2251,10 @@ export declare const QueryType: z.ZodObject<{
|
|
2037
2251
|
}>;
|
2038
2252
|
export type QueryType = z.infer<typeof QueryType>;
|
2039
2253
|
export type QueryExpression = z.infer<typeof QueryExpression>;
|
2254
|
+
export declare const SearchScopeAccessLevels: {
|
2255
|
+
readonly MY_JURISDICTION: "my-jurisdiction";
|
2256
|
+
readonly ALL: "all";
|
2257
|
+
};
|
2258
|
+
export type SearchScopeAccessLevels = (typeof SearchScopeAccessLevels)[keyof typeof SearchScopeAccessLevels];
|
2040
2259
|
export {};
|
2041
2260
|
//# sourceMappingURL=EventIndex.d.ts.map
|