@opencrvs/toolkit 2.1.0-rc.90463d2 → 2.1.0-rc.9254c79
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/application-config/index.js +200 -189
- package/dist/commons/api/router.d.ts +5 -24
- package/dist/commons/conditionals/conditionals.d.ts +3 -3
- package/dist/commons/conditionals/validate.d.ts +2 -1
- package/dist/commons/events/ActionConfig.d.ts +21 -0
- package/dist/commons/events/ActionDocument.d.ts +1 -7
- package/dist/commons/events/ActionStatus.d.ts +14 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +6 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +18 -0
- package/dist/commons/events/EventIndex.d.ts +5 -24
- package/dist/commons/events/EventMetadata.d.ts +1 -0
- package/dist/commons/events/FieldConfig.d.ts +5 -0
- package/dist/commons/events/FieldTypeMapping.d.ts +19 -19
- package/dist/commons/events/Flag.d.ts +48 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +27 -12
- package/dist/commons/events/locations.d.ts +3 -93
- package/dist/commons/events/mocks.test.utils.d.ts +2 -16
- package/dist/commons/events/test.utils.d.ts +5 -5
- package/dist/conditionals/index.js +303 -55
- package/dist/events/index.js +3255 -3222
- package/dist/notification/index.js +1477 -907
- package/dist/scopes/index.d.ts +250 -0
- package/dist/scopes/index.js +304 -55
- package/opencrvs-toolkit-2.1.0-rc.9254c79.tgz +0 -0
- package/package.json +1 -1
- package/opencrvs-toolkit-2.1.0-rc.90463d2.tgz +0 -0
|
@@ -8351,15 +8351,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8351
8351
|
name: string;
|
|
8352
8352
|
externalId?: string | null | undefined;
|
|
8353
8353
|
administrativeAreaId: (string & import("zod").$brand<"UUID">) | null;
|
|
8354
|
+
validUntil: string | null;
|
|
8354
8355
|
locationType: string | null;
|
|
8355
|
-
status: "active" | "inactive";
|
|
8356
|
-
versions: {
|
|
8357
|
-
versionId: string & import("zod").$brand<"UUID">;
|
|
8358
|
-
effectiveFrom: string;
|
|
8359
|
-
name: string;
|
|
8360
|
-
externalId?: string | null | undefined;
|
|
8361
|
-
status: "active" | "inactive";
|
|
8362
|
-
}[];
|
|
8363
8356
|
}[];
|
|
8364
8357
|
meta: object;
|
|
8365
8358
|
}>;
|
|
@@ -8369,6 +8362,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8369
8362
|
name: string;
|
|
8370
8363
|
externalId?: string | null | undefined;
|
|
8371
8364
|
administrativeAreaId: string | null;
|
|
8365
|
+
validUntil: string | null;
|
|
8372
8366
|
locationType: string | null;
|
|
8373
8367
|
}[];
|
|
8374
8368
|
output: void;
|
|
@@ -8383,15 +8377,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8383
8377
|
name: string;
|
|
8384
8378
|
externalId?: string | null | undefined;
|
|
8385
8379
|
administrativeAreaId: (string & import("zod").$brand<"UUID">) | null;
|
|
8380
|
+
validUntil: string | null;
|
|
8386
8381
|
locationType: string | null;
|
|
8387
|
-
status: "active" | "inactive";
|
|
8388
|
-
versions: {
|
|
8389
|
-
versionId: string & import("zod").$brand<"UUID">;
|
|
8390
|
-
effectiveFrom: string;
|
|
8391
|
-
name: string;
|
|
8392
|
-
externalId?: string | null | undefined;
|
|
8393
|
-
status: "active" | "inactive";
|
|
8394
|
-
}[];
|
|
8395
8382
|
};
|
|
8396
8383
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
8397
8384
|
}>;
|
|
@@ -8799,14 +8786,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8799
8786
|
name: string;
|
|
8800
8787
|
externalId?: string | null | undefined;
|
|
8801
8788
|
parentId: (string & import("zod").$brand<"UUID">) | null;
|
|
8802
|
-
|
|
8803
|
-
versions: {
|
|
8804
|
-
versionId: string & import("zod").$brand<"UUID">;
|
|
8805
|
-
effectiveFrom: string;
|
|
8806
|
-
name: string;
|
|
8807
|
-
externalId?: string | null | undefined;
|
|
8808
|
-
status: "active" | "inactive";
|
|
8809
|
-
}[];
|
|
8789
|
+
validUntil: string | null;
|
|
8810
8790
|
}[];
|
|
8811
8791
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
8812
8792
|
}>;
|
|
@@ -8816,6 +8796,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8816
8796
|
name: string;
|
|
8817
8797
|
externalId?: string | null | undefined;
|
|
8818
8798
|
parentId: string | null;
|
|
8799
|
+
validUntil: string | null;
|
|
8819
8800
|
}[];
|
|
8820
8801
|
output: void;
|
|
8821
8802
|
meta: object;
|
|
@@ -86,16 +86,16 @@ export declare const user: typeof userSerializer & {
|
|
|
86
86
|
scope: (scope: import("../scopes").ScopeType) => {
|
|
87
87
|
attribute: (option: import("../scopes").ScopeOptionKey) => {
|
|
88
88
|
$scope: "attachment.upload" | "bypassratelimit" | "config.update-all" | "dashboard.view" | "integration.create" | "organisation.read-locations" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "profile.electronic-signature" | "record.archive" | "record.confirm-registration" | "record.correct" | "record.create" | "record.custom-action" | "record.declare" | "record.edit" | "record.import" | "record.notify" | "record.print-certified-copies" | "record.read" | "record.register" | "record.reindex" | "record.reject" | "record.reject-registration" | "record.request-correction" | "record.review-duplicates" | "record.search" | "record.unarchive" | "record.unassign-others" | "user.create" | "user.data-seeding" | "user.edit" | "user.read" | "user.read-only-my-audit" | "user.search" | "workqueue";
|
|
89
|
-
$option: "accessLevel" | "declaredBy" | "declaredIn" | "event" | "ids" | "notifiedBy" | "notifiedIn" | "placeOfEvent" | "registeredBy" | "registeredIn" | "role";
|
|
89
|
+
$option: "accessLevel" | "declaredBy" | "declaredIn" | "event" | "flags" | "ids" | "notifiedBy" | "notifiedIn" | "placeOfEvent" | "registeredBy" | "registeredIn" | "role";
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
92
|
jurisdiction: (jurisdiction: import("../scopes").JurisdictionFilter | {
|
|
93
93
|
$scope: "attachment.upload" | "bypassratelimit" | "config.update-all" | "dashboard.view" | "integration.create" | "organisation.read-locations" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "profile.electronic-signature" | "record.archive" | "record.confirm-registration" | "record.correct" | "record.create" | "record.custom-action" | "record.declare" | "record.edit" | "record.import" | "record.notify" | "record.print-certified-copies" | "record.read" | "record.register" | "record.reindex" | "record.reject" | "record.reject-registration" | "record.request-correction" | "record.review-duplicates" | "record.search" | "record.unarchive" | "record.unassign-others" | "user.create" | "user.data-seeding" | "user.edit" | "user.read" | "user.read-only-my-audit" | "user.search" | "workqueue";
|
|
94
|
-
$option: "accessLevel" | "declaredBy" | "declaredIn" | "event" | "ids" | "notifiedBy" | "notifiedIn" | "placeOfEvent" | "registeredBy" | "registeredIn" | "role";
|
|
94
|
+
$option: "accessLevel" | "declaredBy" | "declaredIn" | "event" | "flags" | "ids" | "notifiedBy" | "notifiedIn" | "placeOfEvent" | "registeredBy" | "registeredIn" | "role";
|
|
95
95
|
}) => {
|
|
96
96
|
$jurisdiction: "administrativeArea" | "all" | "location" | {
|
|
97
97
|
$scope: "attachment.upload" | "bypassratelimit" | "config.update-all" | "dashboard.view" | "integration.create" | "organisation.read-locations" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "profile.electronic-signature" | "record.archive" | "record.confirm-registration" | "record.correct" | "record.create" | "record.custom-action" | "record.declare" | "record.edit" | "record.import" | "record.notify" | "record.print-certified-copies" | "record.read" | "record.register" | "record.reindex" | "record.reject" | "record.reject-registration" | "record.request-correction" | "record.review-duplicates" | "record.search" | "record.unarchive" | "record.unassign-others" | "user.create" | "user.data-seeding" | "user.edit" | "user.read" | "user.read-only-my-audit" | "user.search" | "workqueue";
|
|
98
|
-
$option: "accessLevel" | "declaredBy" | "declaredIn" | "event" | "ids" | "notifiedBy" | "notifiedIn" | "placeOfEvent" | "registeredBy" | "registeredIn" | "role";
|
|
98
|
+
$option: "accessLevel" | "declaredBy" | "declaredIn" | "event" | "flags" | "ids" | "notifiedBy" | "notifiedIn" | "placeOfEvent" | "registeredBy" | "registeredIn" | "role";
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
101
|
hasScope: (scope: string) => JSONSchema;
|
|
@@ -69,13 +69,14 @@ export declare function validate(schema: JSONSchema, data: ConditionalParameters
|
|
|
69
69
|
export declare function validateValue(schema: JSONSchema, data: unknown): boolean;
|
|
70
70
|
export declare function isOnline(): boolean;
|
|
71
71
|
export declare function isConditionMet(conditional: JSONSchema, values: EventState | ActionUpdate, context: ValidatorContext): boolean;
|
|
72
|
-
export declare function areConditionsMet(conditions: FieldConditional[], values: Record<string, FieldValue>, context: ValidatorContext,
|
|
72
|
+
export declare function areConditionsMet(conditions: FieldConditional[], values: Record<string, FieldValue>, context: ValidatorContext, event: EventIndex): boolean;
|
|
73
73
|
export type ValidatorContext = {
|
|
74
74
|
user?: ITokenPayload;
|
|
75
75
|
leafAdminStructureLocationIds?: Array<{
|
|
76
76
|
id: UUID;
|
|
77
77
|
}>;
|
|
78
78
|
event?: EventDocument;
|
|
79
|
+
eventConfig?: EventConfig;
|
|
79
80
|
baseFormState?: EventState;
|
|
80
81
|
};
|
|
81
82
|
export declare function isFieldVisible(field: FieldConfig, form: Partial<ActionUpdate | EventState>, context: ValidatorContext): boolean;
|
|
@@ -13,6 +13,7 @@ export declare const ActionConfigBase: z.ZodObject<{
|
|
|
13
13
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
14
14
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
15
15
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
16
|
+
readonly SEALED: 'sealed';
|
|
16
17
|
}>]>, z.ZodString]>;
|
|
17
18
|
operation: z.ZodEnum<{
|
|
18
19
|
add: "add";
|
|
@@ -39,6 +40,7 @@ declare const CustomActionConfig: z.ZodObject<{
|
|
|
39
40
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
40
41
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
41
42
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
43
|
+
readonly SEALED: 'sealed';
|
|
42
44
|
}>]>, z.ZodString]>;
|
|
43
45
|
operation: z.ZodEnum<{
|
|
44
46
|
add: "add";
|
|
@@ -70,6 +72,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
70
72
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
71
73
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
72
74
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
75
|
+
readonly SEALED: 'sealed';
|
|
73
76
|
}>]>, z.ZodString]>;
|
|
74
77
|
operation: z.ZodEnum<{
|
|
75
78
|
add: "add";
|
|
@@ -120,6 +123,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
120
123
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
121
124
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
122
125
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
126
|
+
readonly SEALED: 'sealed';
|
|
123
127
|
}>]>, z.ZodString]>;
|
|
124
128
|
operation: z.ZodEnum<{
|
|
125
129
|
add: "add";
|
|
@@ -146,6 +150,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
146
150
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
147
151
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
148
152
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
153
|
+
readonly SEALED: 'sealed';
|
|
149
154
|
}>]>, z.ZodString]>;
|
|
150
155
|
operation: z.ZodEnum<{
|
|
151
156
|
add: "add";
|
|
@@ -173,6 +178,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
173
178
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
174
179
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
175
180
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
181
|
+
readonly SEALED: 'sealed';
|
|
176
182
|
}>]>, z.ZodString]>;
|
|
177
183
|
operation: z.ZodEnum<{
|
|
178
184
|
add: "add";
|
|
@@ -213,6 +219,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
213
219
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
214
220
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
215
221
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
222
|
+
readonly SEALED: 'sealed';
|
|
216
223
|
}>]>, z.ZodString]>;
|
|
217
224
|
operation: z.ZodEnum<{
|
|
218
225
|
add: "add";
|
|
@@ -234,6 +241,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
234
241
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
235
242
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
236
243
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
244
|
+
readonly SEALED: 'sealed';
|
|
237
245
|
}>]>, z.ZodString]>;
|
|
238
246
|
operation: z.ZodEnum<{
|
|
239
247
|
add: "add";
|
|
@@ -260,6 +268,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
260
268
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
261
269
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
262
270
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
271
|
+
readonly SEALED: 'sealed';
|
|
263
272
|
}>]>, z.ZodString]>;
|
|
264
273
|
operation: z.ZodEnum<{
|
|
265
274
|
add: "add";
|
|
@@ -286,6 +295,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
286
295
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
287
296
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
288
297
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
298
|
+
readonly SEALED: 'sealed';
|
|
289
299
|
}>]>, z.ZodString]>;
|
|
290
300
|
operation: z.ZodEnum<{
|
|
291
301
|
add: "add";
|
|
@@ -313,6 +323,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
313
323
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
314
324
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
315
325
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
326
|
+
readonly SEALED: 'sealed';
|
|
316
327
|
}>]>, z.ZodString]>;
|
|
317
328
|
operation: z.ZodEnum<{
|
|
318
329
|
add: "add";
|
|
@@ -345,6 +356,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
345
356
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
346
357
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
347
358
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
359
|
+
readonly SEALED: 'sealed';
|
|
348
360
|
}>]>, z.ZodString]>;
|
|
349
361
|
operation: z.ZodEnum<{
|
|
350
362
|
add: "add";
|
|
@@ -401,6 +413,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
401
413
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
402
414
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
403
415
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
416
|
+
readonly SEALED: 'sealed';
|
|
404
417
|
}>]>, z.ZodString]>;
|
|
405
418
|
operation: z.ZodEnum<{
|
|
406
419
|
add: "add";
|
|
@@ -457,6 +470,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
457
470
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
458
471
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
459
472
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
473
|
+
readonly SEALED: 'sealed';
|
|
460
474
|
}>]>, z.ZodString]>;
|
|
461
475
|
operation: z.ZodEnum<{
|
|
462
476
|
add: "add";
|
|
@@ -483,6 +497,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
483
497
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
484
498
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
485
499
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
500
|
+
readonly SEALED: 'sealed';
|
|
486
501
|
}>]>, z.ZodString]>;
|
|
487
502
|
operation: z.ZodEnum<{
|
|
488
503
|
add: "add";
|
|
@@ -509,6 +524,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
509
524
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
510
525
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
511
526
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
527
|
+
readonly SEALED: 'sealed';
|
|
512
528
|
}>]>, z.ZodString]>;
|
|
513
529
|
operation: z.ZodEnum<{
|
|
514
530
|
add: "add";
|
|
@@ -540,6 +556,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
540
556
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
541
557
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
542
558
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
559
|
+
readonly SEALED: 'sealed';
|
|
543
560
|
}>]>, z.ZodString]>;
|
|
544
561
|
operation: z.ZodEnum<{
|
|
545
562
|
add: "add";
|
|
@@ -567,6 +584,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
567
584
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
568
585
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
569
586
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
587
|
+
readonly SEALED: 'sealed';
|
|
570
588
|
}>]>, z.ZodString]>;
|
|
571
589
|
operation: z.ZodEnum<{
|
|
572
590
|
add: "add";
|
|
@@ -593,6 +611,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
593
611
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
594
612
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
595
613
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
614
|
+
readonly SEALED: 'sealed';
|
|
596
615
|
}>]>, z.ZodString]>;
|
|
597
616
|
operation: z.ZodEnum<{
|
|
598
617
|
add: "add";
|
|
@@ -634,6 +653,7 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
634
653
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
635
654
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
636
655
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
656
|
+
readonly SEALED: 'sealed';
|
|
637
657
|
}>]>, z.ZodString]>;
|
|
638
658
|
operation: z.ZodEnum<{
|
|
639
659
|
add: "add";
|
|
@@ -675,6 +695,7 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
675
695
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
676
696
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
677
697
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
698
|
+
readonly SEALED: 'sealed';
|
|
678
699
|
}>]>, z.ZodString]>;
|
|
679
700
|
operation: z.ZodEnum<{
|
|
680
701
|
add: "add";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
2
|
import { FieldValue, FieldUpdateValue } from './FieldValue';
|
|
3
|
+
export { ActionStatus } from './ActionStatus';
|
|
3
4
|
/**
|
|
4
5
|
* ActionUpdate is a record of a specific action that updated data fields.
|
|
5
6
|
*/
|
|
@@ -10,12 +11,6 @@ export type ActionUpdate = z.infer<typeof ActionUpdate>;
|
|
|
10
11
|
*/
|
|
11
12
|
export declare const EventState: z.ZodRecord<z.ZodString, z.ZodType<FieldValue, unknown, z.core.$ZodTypeInternals<FieldValue, unknown>>>;
|
|
12
13
|
export type EventState = z.infer<typeof EventState>;
|
|
13
|
-
export declare const ActionStatus: {
|
|
14
|
-
readonly Requested: 'Requested';
|
|
15
|
-
readonly Accepted: 'Accepted';
|
|
16
|
-
readonly Rejected: 'Rejected';
|
|
17
|
-
};
|
|
18
|
-
export type ActionStatus = keyof typeof ActionStatus;
|
|
19
14
|
export declare const ActionBase: z.ZodObject<{
|
|
20
15
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
21
16
|
transactionId: z.ZodString;
|
|
@@ -1173,5 +1168,4 @@ export declare const Action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Zod
|
|
|
1173
1168
|
export type Action = z.infer<typeof Action>;
|
|
1174
1169
|
export type CreatedAction = z.infer<typeof CreatedAction>;
|
|
1175
1170
|
export type AssignedAction = z.infer<typeof AssignedAction>;
|
|
1176
|
-
export {};
|
|
1177
1171
|
//# sourceMappingURL=ActionDocument.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deliberately dependency-free (aside from language builtins) so that files
|
|
3
|
+
* like Flag.ts can depend on ActionStatus without being pulled into the
|
|
4
|
+
* commons/scopes.ts <-> commons/authentication.ts import cycle that
|
|
5
|
+
* ActionDocument.ts participates in (it imports TokenUserType from
|
|
6
|
+
* '../authentication').
|
|
7
|
+
*/
|
|
8
|
+
export declare const ActionStatus: {
|
|
9
|
+
readonly Requested: 'Requested';
|
|
10
|
+
readonly Accepted: 'Accepted';
|
|
11
|
+
readonly Rejected: 'Rejected';
|
|
12
|
+
};
|
|
13
|
+
export type ActionStatus = keyof typeof ActionStatus;
|
|
14
|
+
//# sourceMappingURL=ActionStatus.d.ts.map
|
|
@@ -141,6 +141,7 @@ export declare const FieldConfigSchema: z.ZodObject<{
|
|
|
141
141
|
declaredBy: "declaredBy";
|
|
142
142
|
declaredIn: "declaredIn";
|
|
143
143
|
event: "event";
|
|
144
|
+
flags: "flags";
|
|
144
145
|
ids: "ids";
|
|
145
146
|
notifiedBy: "notifiedBy";
|
|
146
147
|
notifiedIn: "notifiedIn";
|
|
@@ -321,6 +322,7 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
321
322
|
declaredBy: "declaredBy";
|
|
322
323
|
declaredIn: "declaredIn";
|
|
323
324
|
event: "event";
|
|
325
|
+
flags: "flags";
|
|
324
326
|
ids: "ids";
|
|
325
327
|
notifiedBy: "notifiedBy";
|
|
326
328
|
notifiedIn: "notifiedIn";
|
|
@@ -477,6 +479,7 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
477
479
|
declaredBy: "declaredBy";
|
|
478
480
|
declaredIn: "declaredIn";
|
|
479
481
|
event: "event";
|
|
482
|
+
flags: "flags";
|
|
480
483
|
ids: "ids";
|
|
481
484
|
notifiedBy: "notifiedBy";
|
|
482
485
|
notifiedIn: "notifiedIn";
|
|
@@ -625,6 +628,7 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
625
628
|
declaredBy: "declaredBy";
|
|
626
629
|
declaredIn: "declaredIn";
|
|
627
630
|
event: "event";
|
|
631
|
+
flags: "flags";
|
|
628
632
|
ids: "ids";
|
|
629
633
|
notifiedBy: "notifiedBy";
|
|
630
634
|
notifiedIn: "notifiedIn";
|
|
@@ -784,6 +788,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
784
788
|
declaredBy: "declaredBy";
|
|
785
789
|
declaredIn: "declaredIn";
|
|
786
790
|
event: "event";
|
|
791
|
+
flags: "flags";
|
|
787
792
|
ids: "ids";
|
|
788
793
|
notifiedBy: "notifiedBy";
|
|
789
794
|
notifiedIn: "notifiedIn";
|
|
@@ -932,6 +937,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
932
937
|
declaredBy: "declaredBy";
|
|
933
938
|
declaredIn: "declaredIn";
|
|
934
939
|
event: "event";
|
|
940
|
+
flags: "flags";
|
|
935
941
|
ids: "ids";
|
|
936
942
|
notifiedBy: "notifiedBy";
|
|
937
943
|
notifiedIn: "notifiedIn";
|
|
@@ -338,6 +338,7 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
338
338
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
339
339
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
340
340
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
341
|
+
readonly SEALED: 'sealed';
|
|
341
342
|
}>]>, z.ZodString]>>>;
|
|
342
343
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
343
344
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -345,6 +346,7 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
345
346
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
346
347
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
347
348
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
349
|
+
readonly SEALED: 'sealed';
|
|
348
350
|
}>]>, z.ZodString]>>>;
|
|
349
351
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
350
352
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -352,6 +354,7 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
352
354
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
353
355
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
354
356
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
357
|
+
readonly SEALED: 'sealed';
|
|
355
358
|
}>]>, z.ZodString]>>>;
|
|
356
359
|
}, z.core.$strip>>>;
|
|
357
360
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -656,6 +659,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
656
659
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
657
660
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
658
661
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
662
|
+
readonly SEALED: 'sealed';
|
|
659
663
|
}>]>, z.ZodString]>>>;
|
|
660
664
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
661
665
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -663,6 +667,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
663
667
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
664
668
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
665
669
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
670
|
+
readonly SEALED: 'sealed';
|
|
666
671
|
}>]>, z.ZodString]>>>;
|
|
667
672
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
668
673
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -670,6 +675,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
670
675
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
671
676
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
672
677
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
678
|
+
readonly SEALED: 'sealed';
|
|
673
679
|
}>]>, z.ZodString]>>>;
|
|
674
680
|
}, z.core.$strip>>>;
|
|
675
681
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -973,6 +979,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
973
979
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
974
980
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
975
981
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
982
|
+
readonly SEALED: 'sealed';
|
|
976
983
|
}>]>, z.ZodString]>>>;
|
|
977
984
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
978
985
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -980,6 +987,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
980
987
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
981
988
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
982
989
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
990
|
+
readonly SEALED: 'sealed';
|
|
983
991
|
}>]>, z.ZodString]>>>;
|
|
984
992
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
985
993
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -987,6 +995,7 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
987
995
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
988
996
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
989
997
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
998
|
+
readonly SEALED: 'sealed';
|
|
990
999
|
}>]>, z.ZodString]>>>;
|
|
991
1000
|
}, z.core.$strip>>>;
|
|
992
1001
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -1290,6 +1299,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1290
1299
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1291
1300
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1292
1301
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1302
|
+
readonly SEALED: 'sealed';
|
|
1293
1303
|
}>]>, z.ZodString]>>>;
|
|
1294
1304
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1295
1305
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -1297,6 +1307,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1297
1307
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1298
1308
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1299
1309
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1310
|
+
readonly SEALED: 'sealed';
|
|
1300
1311
|
}>]>, z.ZodString]>>>;
|
|
1301
1312
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1302
1313
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -1304,6 +1315,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1304
1315
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1305
1316
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1306
1317
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1318
|
+
readonly SEALED: 'sealed';
|
|
1307
1319
|
}>]>, z.ZodString]>>>;
|
|
1308
1320
|
}, z.core.$strip>>>;
|
|
1309
1321
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -1606,6 +1618,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1606
1618
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1607
1619
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1608
1620
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1621
|
+
readonly SEALED: 'sealed';
|
|
1609
1622
|
}>]>, z.ZodString]>>>;
|
|
1610
1623
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1611
1624
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -1613,6 +1626,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1613
1626
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1614
1627
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1615
1628
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1629
|
+
readonly SEALED: 'sealed';
|
|
1616
1630
|
}>]>, z.ZodString]>>>;
|
|
1617
1631
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1618
1632
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -1620,6 +1634,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1620
1634
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1621
1635
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1622
1636
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1637
|
+
readonly SEALED: 'sealed';
|
|
1623
1638
|
}>]>, z.ZodString]>>>;
|
|
1624
1639
|
}, z.core.$strip>>>;
|
|
1625
1640
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -1923,6 +1938,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1923
1938
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1924
1939
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1925
1940
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1941
|
+
readonly SEALED: 'sealed';
|
|
1926
1942
|
}>]>, z.ZodString]>>>;
|
|
1927
1943
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1928
1944
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -1930,6 +1946,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1930
1946
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1931
1947
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1932
1948
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1949
|
+
readonly SEALED: 'sealed';
|
|
1933
1950
|
}>]>, z.ZodString]>>>;
|
|
1934
1951
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1935
1952
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -1937,6 +1954,7 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1937
1954
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1938
1955
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1939
1956
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1957
|
+
readonly SEALED: 'sealed';
|
|
1940
1958
|
}>]>, z.ZodString]>>>;
|
|
1941
1959
|
}, z.core.$strip>>>;
|
|
1942
1960
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z, ZodType } from 'zod/v4';
|
|
2
|
+
export { ContainsFlags } from './Flag';
|
|
2
3
|
export declare const EventIndex: z.ZodObject<{
|
|
3
4
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
4
5
|
type: z.ZodString;
|
|
@@ -70,6 +71,7 @@ export declare const EventIndex: z.ZodObject<{
|
|
|
70
71
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
71
72
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
72
73
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
74
|
+
readonly SEALED: 'sealed';
|
|
73
75
|
}>]>, z.ZodString]>>;
|
|
74
76
|
declaration: z.ZodRecord<z.ZodString, ZodType<import("./FieldValue").FieldValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldValue, unknown>>>;
|
|
75
77
|
}, z.core.$strip>;
|
|
@@ -123,29 +125,6 @@ export declare const Range: z.ZodObject<{
|
|
|
123
125
|
gte: z.ZodString;
|
|
124
126
|
lte: z.ZodString;
|
|
125
127
|
}, z.core.$strip>;
|
|
126
|
-
export declare const ContainsFlags: z.ZodObject<{
|
|
127
|
-
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
128
|
-
readonly INCOMPLETE: 'incomplete';
|
|
129
|
-
readonly REJECTED: 'rejected';
|
|
130
|
-
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
131
|
-
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
132
|
-
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
133
|
-
}>]>, z.ZodString]>>>;
|
|
134
|
-
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
135
|
-
readonly INCOMPLETE: 'incomplete';
|
|
136
|
-
readonly REJECTED: 'rejected';
|
|
137
|
-
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
138
|
-
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
139
|
-
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
140
|
-
}>]>, z.ZodString]>>>;
|
|
141
|
-
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
142
|
-
readonly INCOMPLETE: 'incomplete';
|
|
143
|
-
readonly REJECTED: 'rejected';
|
|
144
|
-
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
145
|
-
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
146
|
-
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
147
|
-
}>]>, z.ZodString]>>>;
|
|
148
|
-
}, z.core.$strip>;
|
|
149
128
|
export declare const Within: z.ZodObject<{
|
|
150
129
|
type: z.ZodLiteral<"within">;
|
|
151
130
|
location: z.ZodString;
|
|
@@ -316,6 +295,7 @@ export declare const QueryExpression: z.ZodObject<{
|
|
|
316
295
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
317
296
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
318
297
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
298
|
+
readonly SEALED: 'sealed';
|
|
319
299
|
}>]>, z.ZodString]>>>;
|
|
320
300
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
321
301
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -323,6 +303,7 @@ export declare const QueryExpression: z.ZodObject<{
|
|
|
323
303
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
324
304
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
325
305
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
306
|
+
readonly SEALED: 'sealed';
|
|
326
307
|
}>]>, z.ZodString]>>>;
|
|
327
308
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
328
309
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -330,6 +311,7 @@ export declare const QueryExpression: z.ZodObject<{
|
|
|
330
311
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
331
312
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
332
313
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
314
|
+
readonly SEALED: 'sealed';
|
|
333
315
|
}>]>, z.ZodString]>>>;
|
|
334
316
|
}, z.core.$strip>>>;
|
|
335
317
|
data: z.ZodOptional<ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -354,5 +336,4 @@ export declare const SearchQuery: z.ZodObject<{
|
|
|
354
336
|
export type SearchQuery = z.infer<typeof SearchQuery>;
|
|
355
337
|
export type QueryType = z.infer<typeof QueryType>;
|
|
356
338
|
export type QueryExpression = z.infer<typeof QueryExpression>;
|
|
357
|
-
export {};
|
|
358
339
|
//# sourceMappingURL=EventIndex.d.ts.map
|
|
@@ -150,6 +150,7 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
150
150
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
151
151
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
152
152
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
153
|
+
readonly SEALED: 'sealed';
|
|
153
154
|
}>]>, z.ZodString]>>;
|
|
154
155
|
}, z.core.$strip>;
|
|
155
156
|
export type EventMetadata = z.infer<typeof EventMetadata>;
|
|
@@ -1921,6 +1921,7 @@ declare const AdministrativeAreaField: z.ZodObject<{
|
|
|
1921
1921
|
declaredBy: "declaredBy";
|
|
1922
1922
|
declaredIn: "declaredIn";
|
|
1923
1923
|
event: "event";
|
|
1924
|
+
flags: "flags";
|
|
1924
1925
|
ids: "ids";
|
|
1925
1926
|
notifiedBy: "notifiedBy";
|
|
1926
1927
|
notifiedIn: "notifiedIn";
|
|
@@ -2050,6 +2051,7 @@ declare const LocationInput: z.ZodObject<{
|
|
|
2050
2051
|
declaredBy: "declaredBy";
|
|
2051
2052
|
declaredIn: "declaredIn";
|
|
2052
2053
|
event: "event";
|
|
2054
|
+
flags: "flags";
|
|
2053
2055
|
ids: "ids";
|
|
2054
2056
|
notifiedBy: "notifiedBy";
|
|
2055
2057
|
notifiedIn: "notifiedIn";
|
|
@@ -2250,6 +2252,7 @@ declare const Facility: z.ZodObject<{
|
|
|
2250
2252
|
declaredBy: "declaredBy";
|
|
2251
2253
|
declaredIn: "declaredIn";
|
|
2252
2254
|
event: "event";
|
|
2255
|
+
flags: "flags";
|
|
2253
2256
|
ids: "ids";
|
|
2254
2257
|
notifiedBy: "notifiedBy";
|
|
2255
2258
|
notifiedIn: "notifiedIn";
|
|
@@ -2365,6 +2368,7 @@ declare const Office: z.ZodObject<{
|
|
|
2365
2368
|
declaredBy: "declaredBy";
|
|
2366
2369
|
declaredIn: "declaredIn";
|
|
2367
2370
|
event: "event";
|
|
2371
|
+
flags: "flags";
|
|
2368
2372
|
ids: "ids";
|
|
2369
2373
|
notifiedBy: "notifiedBy";
|
|
2370
2374
|
notifiedIn: "notifiedIn";
|
|
@@ -2566,6 +2570,7 @@ declare const Address: z.ZodObject<{
|
|
|
2566
2570
|
declaredBy: "declaredBy";
|
|
2567
2571
|
declaredIn: "declaredIn";
|
|
2568
2572
|
event: "event";
|
|
2573
|
+
flags: "flags";
|
|
2569
2574
|
ids: "ids";
|
|
2570
2575
|
notifiedBy: "notifiedBy";
|
|
2571
2576
|
notifiedIn: "notifiedIn";
|