@opencrvs/toolkit 1.8.0-rc.feaeeb7 → 1.8.0-rc.ff73871
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 +15 -27
- package/dist/commons/events/ActionConfig.d.ts +6 -6
- package/dist/commons/events/ActionDocument.d.ts +3 -3
- package/dist/commons/events/ActionInput.d.ts +8 -92
- package/dist/commons/events/ActionType.d.ts +1 -1
- package/dist/commons/events/Draft.d.ts +0 -3
- package/dist/commons/events/EventConfig.d.ts +4 -4
- package/dist/commons/events/EventDocument.d.ts +5 -5
- package/dist/commons/events/FieldConfig.d.ts +1 -0
- package/dist/commons/events/FieldType.d.ts +4 -0
- package/dist/commons/events/FieldTypeMapping.d.ts +30 -0
- package/dist/commons/events/TemplateConfig.d.ts +28 -8
- package/dist/commons/events/defineConfig.d.ts +1 -1
- package/dist/commons/events/test.utils.d.ts +3 -3
- package/dist/commons/events/utils.d.ts +5 -0
- package/dist/events/index.js +96 -23
- package/package.json +1 -1
@@ -2,7 +2,6 @@ import { z } from 'zod';
|
|
2
2
|
export declare const BaseActionInput: z.ZodObject<{
|
3
3
|
eventId: z.ZodString;
|
4
4
|
transactionId: z.ZodString;
|
5
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
6
5
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
7
6
|
filename: z.ZodString;
|
8
7
|
originalFilename: z.ZodString;
|
@@ -188,7 +187,6 @@ export declare const BaseActionInput: z.ZodObject<{
|
|
188
187
|
}[]>;
|
189
188
|
eventId: string;
|
190
189
|
transactionId: string;
|
191
|
-
incomplete: boolean;
|
192
190
|
metadata?: Record<string, string | number | boolean | {
|
193
191
|
type: string;
|
194
192
|
filename: string;
|
@@ -270,12 +268,10 @@ export declare const BaseActionInput: z.ZodObject<{
|
|
270
268
|
filename: string;
|
271
269
|
originalFilename: string;
|
272
270
|
}[]> | undefined;
|
273
|
-
incomplete?: boolean | undefined;
|
274
271
|
}>;
|
275
272
|
export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
276
273
|
eventId: z.ZodString;
|
277
274
|
transactionId: z.ZodString;
|
278
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
279
275
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
280
276
|
filename: z.ZodString;
|
281
277
|
originalFilename: z.ZodString;
|
@@ -478,7 +474,6 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
478
474
|
};
|
479
475
|
eventId: string;
|
480
476
|
transactionId: string;
|
481
|
-
incomplete: boolean;
|
482
477
|
metadata?: Record<string, string | number | boolean | {
|
483
478
|
type: string;
|
484
479
|
filename: string;
|
@@ -565,13 +560,11 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
565
560
|
filename: string;
|
566
561
|
originalFilename: string;
|
567
562
|
}[]> | undefined;
|
568
|
-
incomplete?: boolean | undefined;
|
569
563
|
}>;
|
570
564
|
export type RegisterActionInput = z.infer<typeof RegisterActionInput>;
|
571
565
|
export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
572
566
|
eventId: z.ZodString;
|
573
567
|
transactionId: z.ZodString;
|
574
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
575
568
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
576
569
|
filename: z.ZodString;
|
577
570
|
originalFilename: z.ZodString;
|
@@ -762,7 +755,6 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
762
755
|
duplicates: string[];
|
763
756
|
eventId: string;
|
764
757
|
transactionId: string;
|
765
|
-
incomplete: boolean;
|
766
758
|
metadata?: Record<string, string | number | boolean | {
|
767
759
|
type: string;
|
768
760
|
filename: string;
|
@@ -846,13 +838,11 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
846
838
|
filename: string;
|
847
839
|
originalFilename: string;
|
848
840
|
}[]> | undefined;
|
849
|
-
incomplete?: boolean | undefined;
|
850
841
|
}>;
|
851
842
|
export type ValidateActionInput = z.infer<typeof ValidateActionInput>;
|
852
843
|
export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
853
844
|
eventId: z.ZodString;
|
854
845
|
transactionId: z.ZodString;
|
855
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
856
846
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
857
847
|
filename: z.ZodString;
|
858
848
|
originalFilename: z.ZodString;
|
@@ -1011,7 +1001,6 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1011
1001
|
}>]>>>;
|
1012
1002
|
}, {
|
1013
1003
|
type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
|
1014
|
-
createdAtLocation: z.ZodString;
|
1015
1004
|
}>, "strip", z.ZodTypeAny, {
|
1016
1005
|
type: "NOTIFY";
|
1017
1006
|
data: Record<string, string | number | boolean | {
|
@@ -1040,10 +1029,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1040
1029
|
filename: string;
|
1041
1030
|
originalFilename: string;
|
1042
1031
|
}[]>;
|
1043
|
-
createdAtLocation: string;
|
1044
1032
|
eventId: string;
|
1045
1033
|
transactionId: string;
|
1046
|
-
incomplete: boolean;
|
1047
1034
|
metadata?: Record<string, string | number | boolean | {
|
1048
1035
|
type: string;
|
1049
1036
|
filename: string;
|
@@ -1097,7 +1084,6 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1097
1084
|
filename: string;
|
1098
1085
|
originalFilename: string;
|
1099
1086
|
}[]>;
|
1100
|
-
createdAtLocation: string;
|
1101
1087
|
eventId: string;
|
1102
1088
|
transactionId: string;
|
1103
1089
|
type?: "NOTIFY" | undefined;
|
@@ -1127,13 +1113,11 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1127
1113
|
filename: string;
|
1128
1114
|
originalFilename: string;
|
1129
1115
|
}[]> | undefined;
|
1130
|
-
incomplete?: boolean | undefined;
|
1131
1116
|
}>;
|
1132
1117
|
export type NotifyActionInput = z.infer<typeof NotifyActionInput>;
|
1133
1118
|
export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
1134
1119
|
eventId: z.ZodString;
|
1135
1120
|
transactionId: z.ZodString;
|
1136
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1137
1121
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1138
1122
|
filename: z.ZodString;
|
1139
1123
|
originalFilename: z.ZodString;
|
@@ -1322,7 +1306,6 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1322
1306
|
}[]>;
|
1323
1307
|
eventId: string;
|
1324
1308
|
transactionId: string;
|
1325
|
-
incomplete: boolean;
|
1326
1309
|
metadata?: Record<string, string | number | boolean | {
|
1327
1310
|
type: string;
|
1328
1311
|
filename: string;
|
@@ -1405,12 +1388,10 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1405
1388
|
filename: string;
|
1406
1389
|
originalFilename: string;
|
1407
1390
|
}[]> | undefined;
|
1408
|
-
incomplete?: boolean | undefined;
|
1409
1391
|
}>;
|
1410
1392
|
export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
1411
1393
|
eventId: z.ZodString;
|
1412
1394
|
transactionId: z.ZodString;
|
1413
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1414
1395
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1415
1396
|
filename: z.ZodString;
|
1416
1397
|
originalFilename: z.ZodString;
|
@@ -1599,7 +1580,6 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
|
|
1599
1580
|
}[]>;
|
1600
1581
|
eventId: string;
|
1601
1582
|
transactionId: string;
|
1602
|
-
incomplete: boolean;
|
1603
1583
|
metadata?: Record<string, string | number | boolean | {
|
1604
1584
|
type: string;
|
1605
1585
|
filename: string;
|
@@ -1682,13 +1662,11 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
|
|
1682
1662
|
filename: string;
|
1683
1663
|
originalFilename: string;
|
1684
1664
|
}[]> | undefined;
|
1685
|
-
incomplete?: boolean | undefined;
|
1686
1665
|
}>;
|
1687
1666
|
export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
|
1688
1667
|
export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
1689
1668
|
eventId: z.ZodString;
|
1690
1669
|
transactionId: z.ZodString;
|
1691
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1692
1670
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1693
1671
|
filename: z.ZodString;
|
1694
1672
|
originalFilename: z.ZodString;
|
@@ -1877,7 +1855,6 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
|
|
1877
1855
|
}[]>;
|
1878
1856
|
eventId: string;
|
1879
1857
|
transactionId: string;
|
1880
|
-
incomplete: boolean;
|
1881
1858
|
metadata?: Record<string, string | number | boolean | {
|
1882
1859
|
type: string;
|
1883
1860
|
filename: string;
|
@@ -1960,13 +1937,11 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
|
|
1960
1937
|
filename: string;
|
1961
1938
|
originalFilename: string;
|
1962
1939
|
}[]> | undefined;
|
1963
|
-
incomplete?: boolean | undefined;
|
1964
1940
|
}>;
|
1965
1941
|
export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
|
1966
1942
|
export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
1967
1943
|
eventId: z.ZodString;
|
1968
1944
|
transactionId: z.ZodString;
|
1969
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
1970
1945
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1971
1946
|
filename: z.ZodString;
|
1972
1947
|
originalFilename: z.ZodString;
|
@@ -2155,7 +2130,6 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
|
|
2155
2130
|
}[]>;
|
2156
2131
|
eventId: string;
|
2157
2132
|
transactionId: string;
|
2158
|
-
incomplete: boolean;
|
2159
2133
|
metadata?: Record<string, string | number | boolean | {
|
2160
2134
|
type: string;
|
2161
2135
|
filename: string;
|
@@ -2238,13 +2212,11 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
|
|
2238
2212
|
filename: string;
|
2239
2213
|
originalFilename: string;
|
2240
2214
|
}[]> | undefined;
|
2241
|
-
incomplete?: boolean | undefined;
|
2242
2215
|
}>;
|
2243
2216
|
export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
|
2244
|
-
export declare const
|
2217
|
+
export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
2245
2218
|
eventId: z.ZodString;
|
2246
2219
|
transactionId: z.ZodString;
|
2247
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
2248
2220
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2249
2221
|
filename: z.ZodString;
|
2250
2222
|
originalFilename: z.ZodString;
|
@@ -2402,9 +2374,9 @@ export declare const ArchivedActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
2402
2374
|
village?: string | null | undefined;
|
2403
2375
|
}>]>>>;
|
2404
2376
|
}, {
|
2405
|
-
type: z.ZodDefault<z.ZodLiteral<"
|
2377
|
+
type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
|
2406
2378
|
}>, "strip", z.ZodTypeAny, {
|
2407
|
-
type: "
|
2379
|
+
type: "ARCHIVE";
|
2408
2380
|
data: Record<string, string | number | boolean | {
|
2409
2381
|
type: string;
|
2410
2382
|
filename: string;
|
@@ -2433,7 +2405,6 @@ export declare const ArchivedActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
2433
2405
|
}[]>;
|
2434
2406
|
eventId: string;
|
2435
2407
|
transactionId: string;
|
2436
|
-
incomplete: boolean;
|
2437
2408
|
metadata?: Record<string, string | number | boolean | {
|
2438
2409
|
type: string;
|
2439
2410
|
filename: string;
|
@@ -2489,7 +2460,7 @@ export declare const ArchivedActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
2489
2460
|
}[]>;
|
2490
2461
|
eventId: string;
|
2491
2462
|
transactionId: string;
|
2492
|
-
type?: "
|
2463
|
+
type?: "ARCHIVE" | undefined;
|
2493
2464
|
metadata?: Record<string, string | number | boolean | {
|
2494
2465
|
type: string;
|
2495
2466
|
filename: string;
|
@@ -2516,13 +2487,11 @@ export declare const ArchivedActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
2516
2487
|
filename: string;
|
2517
2488
|
originalFilename: string;
|
2518
2489
|
}[]> | undefined;
|
2519
|
-
incomplete?: boolean | undefined;
|
2520
2490
|
}>;
|
2521
|
-
export type
|
2491
|
+
export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
|
2522
2492
|
export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
2523
2493
|
eventId: z.ZodString;
|
2524
2494
|
transactionId: z.ZodString;
|
2525
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
2526
2495
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2527
2496
|
filename: z.ZodString;
|
2528
2497
|
originalFilename: z.ZodString;
|
@@ -2711,7 +2680,6 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
2711
2680
|
}[]>;
|
2712
2681
|
eventId: string;
|
2713
2682
|
transactionId: string;
|
2714
|
-
incomplete: boolean;
|
2715
2683
|
metadata?: Record<string, string | number | boolean | {
|
2716
2684
|
type: string;
|
2717
2685
|
filename: string;
|
@@ -2794,13 +2762,11 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
2794
2762
|
filename: string;
|
2795
2763
|
originalFilename: string;
|
2796
2764
|
}[]> | undefined;
|
2797
|
-
incomplete?: boolean | undefined;
|
2798
2765
|
}>;
|
2799
2766
|
export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
|
2800
2767
|
export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
2801
2768
|
eventId: z.ZodString;
|
2802
2769
|
transactionId: z.ZodString;
|
2803
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
2804
2770
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2805
2771
|
filename: z.ZodString;
|
2806
2772
|
originalFilename: z.ZodString;
|
@@ -2991,7 +2957,6 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
|
|
2991
2957
|
requestId: string;
|
2992
2958
|
eventId: string;
|
2993
2959
|
transactionId: string;
|
2994
|
-
incomplete: boolean;
|
2995
2960
|
metadata?: Record<string, string | number | boolean | {
|
2996
2961
|
type: string;
|
2997
2962
|
filename: string;
|
@@ -3075,13 +3040,11 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
|
|
3075
3040
|
filename: string;
|
3076
3041
|
originalFilename: string;
|
3077
3042
|
}[]> | undefined;
|
3078
|
-
incomplete?: boolean | undefined;
|
3079
3043
|
}>;
|
3080
3044
|
export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
|
3081
3045
|
export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
3082
3046
|
eventId: z.ZodString;
|
3083
3047
|
transactionId: z.ZodString;
|
3084
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
3085
3048
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3086
3049
|
filename: z.ZodString;
|
3087
3050
|
originalFilename: z.ZodString;
|
@@ -3272,7 +3235,6 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
3272
3235
|
requestId: string;
|
3273
3236
|
eventId: string;
|
3274
3237
|
transactionId: string;
|
3275
|
-
incomplete: boolean;
|
3276
3238
|
metadata?: Record<string, string | number | boolean | {
|
3277
3239
|
type: string;
|
3278
3240
|
filename: string;
|
@@ -3356,7 +3318,6 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
3356
3318
|
filename: string;
|
3357
3319
|
originalFilename: string;
|
3358
3320
|
}[]> | undefined;
|
3359
|
-
incomplete?: boolean | undefined;
|
3360
3321
|
}>;
|
3361
3322
|
export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
|
3362
3323
|
/**
|
@@ -3370,7 +3331,6 @@ export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActio
|
|
3370
3331
|
export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
3371
3332
|
eventId: z.ZodString;
|
3372
3333
|
transactionId: z.ZodString;
|
3373
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
3374
3334
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3375
3335
|
filename: z.ZodString;
|
3376
3336
|
originalFilename: z.ZodString;
|
@@ -3561,7 +3521,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3561
3521
|
createdAtLocation: string;
|
3562
3522
|
eventId: string;
|
3563
3523
|
transactionId: string;
|
3564
|
-
incomplete: boolean;
|
3565
3524
|
metadata?: Record<string, string | number | boolean | {
|
3566
3525
|
type: string;
|
3567
3526
|
filename: string;
|
@@ -3645,11 +3604,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3645
3604
|
filename: string;
|
3646
3605
|
originalFilename: string;
|
3647
3606
|
}[]> | undefined;
|
3648
|
-
incomplete?: boolean | undefined;
|
3649
3607
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3650
3608
|
eventId: z.ZodString;
|
3651
3609
|
transactionId: z.ZodString;
|
3652
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
3653
3610
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3654
3611
|
filename: z.ZodString;
|
3655
3612
|
originalFilename: z.ZodString;
|
@@ -3840,7 +3797,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3840
3797
|
duplicates: string[];
|
3841
3798
|
eventId: string;
|
3842
3799
|
transactionId: string;
|
3843
|
-
incomplete: boolean;
|
3844
3800
|
metadata?: Record<string, string | number | boolean | {
|
3845
3801
|
type: string;
|
3846
3802
|
filename: string;
|
@@ -3924,11 +3880,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
3924
3880
|
filename: string;
|
3925
3881
|
originalFilename: string;
|
3926
3882
|
}[]> | undefined;
|
3927
|
-
incomplete?: boolean | undefined;
|
3928
3883
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3929
3884
|
eventId: z.ZodString;
|
3930
3885
|
transactionId: z.ZodString;
|
3931
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
3932
3886
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3933
3887
|
filename: z.ZodString;
|
3934
3888
|
originalFilename: z.ZodString;
|
@@ -4131,7 +4085,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4131
4085
|
};
|
4132
4086
|
eventId: string;
|
4133
4087
|
transactionId: string;
|
4134
|
-
incomplete: boolean;
|
4135
4088
|
metadata?: Record<string, string | number | boolean | {
|
4136
4089
|
type: string;
|
4137
4090
|
filename: string;
|
@@ -4218,11 +4171,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4218
4171
|
filename: string;
|
4219
4172
|
originalFilename: string;
|
4220
4173
|
}[]> | undefined;
|
4221
|
-
incomplete?: boolean | undefined;
|
4222
4174
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4223
4175
|
eventId: z.ZodString;
|
4224
4176
|
transactionId: z.ZodString;
|
4225
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
4226
4177
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4227
4178
|
filename: z.ZodString;
|
4228
4179
|
originalFilename: z.ZodString;
|
@@ -4381,7 +4332,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4381
4332
|
}>]>>>;
|
4382
4333
|
}, {
|
4383
4334
|
type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
|
4384
|
-
createdAtLocation: z.ZodString;
|
4385
4335
|
}>, "strip", z.ZodTypeAny, {
|
4386
4336
|
type: "NOTIFY";
|
4387
4337
|
data: Record<string, string | number | boolean | {
|
@@ -4410,10 +4360,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4410
4360
|
filename: string;
|
4411
4361
|
originalFilename: string;
|
4412
4362
|
}[]>;
|
4413
|
-
createdAtLocation: string;
|
4414
4363
|
eventId: string;
|
4415
4364
|
transactionId: string;
|
4416
|
-
incomplete: boolean;
|
4417
4365
|
metadata?: Record<string, string | number | boolean | {
|
4418
4366
|
type: string;
|
4419
4367
|
filename: string;
|
@@ -4467,7 +4415,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4467
4415
|
filename: string;
|
4468
4416
|
originalFilename: string;
|
4469
4417
|
}[]>;
|
4470
|
-
createdAtLocation: string;
|
4471
4418
|
eventId: string;
|
4472
4419
|
transactionId: string;
|
4473
4420
|
type?: "NOTIFY" | undefined;
|
@@ -4497,11 +4444,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4497
4444
|
filename: string;
|
4498
4445
|
originalFilename: string;
|
4499
4446
|
}[]> | undefined;
|
4500
|
-
incomplete?: boolean | undefined;
|
4501
4447
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4502
4448
|
eventId: z.ZodString;
|
4503
4449
|
transactionId: z.ZodString;
|
4504
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
4505
4450
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4506
4451
|
filename: z.ZodString;
|
4507
4452
|
originalFilename: z.ZodString;
|
@@ -4690,7 +4635,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4690
4635
|
}[]>;
|
4691
4636
|
eventId: string;
|
4692
4637
|
transactionId: string;
|
4693
|
-
incomplete: boolean;
|
4694
4638
|
metadata?: Record<string, string | number | boolean | {
|
4695
4639
|
type: string;
|
4696
4640
|
filename: string;
|
@@ -4773,11 +4717,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4773
4717
|
filename: string;
|
4774
4718
|
originalFilename: string;
|
4775
4719
|
}[]> | undefined;
|
4776
|
-
incomplete?: boolean | undefined;
|
4777
4720
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4778
4721
|
eventId: z.ZodString;
|
4779
4722
|
transactionId: z.ZodString;
|
4780
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
4781
4723
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4782
4724
|
filename: z.ZodString;
|
4783
4725
|
originalFilename: z.ZodString;
|
@@ -4966,7 +4908,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4966
4908
|
}[]>;
|
4967
4909
|
eventId: string;
|
4968
4910
|
transactionId: string;
|
4969
|
-
incomplete: boolean;
|
4970
4911
|
metadata?: Record<string, string | number | boolean | {
|
4971
4912
|
type: string;
|
4972
4913
|
filename: string;
|
@@ -5049,11 +4990,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5049
4990
|
filename: string;
|
5050
4991
|
originalFilename: string;
|
5051
4992
|
}[]> | undefined;
|
5052
|
-
incomplete?: boolean | undefined;
|
5053
4993
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5054
4994
|
eventId: z.ZodString;
|
5055
4995
|
transactionId: z.ZodString;
|
5056
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
5057
4996
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5058
4997
|
filename: z.ZodString;
|
5059
4998
|
originalFilename: z.ZodString;
|
@@ -5242,7 +5181,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5242
5181
|
}[]>;
|
5243
5182
|
eventId: string;
|
5244
5183
|
transactionId: string;
|
5245
|
-
incomplete: boolean;
|
5246
5184
|
metadata?: Record<string, string | number | boolean | {
|
5247
5185
|
type: string;
|
5248
5186
|
filename: string;
|
@@ -5325,11 +5263,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5325
5263
|
filename: string;
|
5326
5264
|
originalFilename: string;
|
5327
5265
|
}[]> | undefined;
|
5328
|
-
incomplete?: boolean | undefined;
|
5329
5266
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5330
5267
|
eventId: z.ZodString;
|
5331
5268
|
transactionId: z.ZodString;
|
5332
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
5333
5269
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5334
5270
|
filename: z.ZodString;
|
5335
5271
|
originalFilename: z.ZodString;
|
@@ -5487,9 +5423,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5487
5423
|
village?: string | null | undefined;
|
5488
5424
|
}>]>>>;
|
5489
5425
|
}, {
|
5490
|
-
type: z.ZodDefault<z.ZodLiteral<"
|
5426
|
+
type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
|
5491
5427
|
}>, "strip", z.ZodTypeAny, {
|
5492
|
-
type: "
|
5428
|
+
type: "ARCHIVE";
|
5493
5429
|
data: Record<string, string | number | boolean | {
|
5494
5430
|
type: string;
|
5495
5431
|
filename: string;
|
@@ -5518,7 +5454,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5518
5454
|
}[]>;
|
5519
5455
|
eventId: string;
|
5520
5456
|
transactionId: string;
|
5521
|
-
incomplete: boolean;
|
5522
5457
|
metadata?: Record<string, string | number | boolean | {
|
5523
5458
|
type: string;
|
5524
5459
|
filename: string;
|
@@ -5574,7 +5509,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5574
5509
|
}[]>;
|
5575
5510
|
eventId: string;
|
5576
5511
|
transactionId: string;
|
5577
|
-
type?: "
|
5512
|
+
type?: "ARCHIVE" | undefined;
|
5578
5513
|
metadata?: Record<string, string | number | boolean | {
|
5579
5514
|
type: string;
|
5580
5515
|
filename: string;
|
@@ -5601,11 +5536,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5601
5536
|
filename: string;
|
5602
5537
|
originalFilename: string;
|
5603
5538
|
}[]> | undefined;
|
5604
|
-
incomplete?: boolean | undefined;
|
5605
5539
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5606
5540
|
eventId: z.ZodString;
|
5607
5541
|
transactionId: z.ZodString;
|
5608
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
5609
5542
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5610
5543
|
filename: z.ZodString;
|
5611
5544
|
originalFilename: z.ZodString;
|
@@ -5796,7 +5729,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5796
5729
|
assignedTo: string;
|
5797
5730
|
eventId: string;
|
5798
5731
|
transactionId: string;
|
5799
|
-
incomplete: boolean;
|
5800
5732
|
metadata?: Record<string, string | number | boolean | {
|
5801
5733
|
type: string;
|
5802
5734
|
filename: string;
|
@@ -5880,11 +5812,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5880
5812
|
filename: string;
|
5881
5813
|
originalFilename: string;
|
5882
5814
|
}[]> | undefined;
|
5883
|
-
incomplete?: boolean | undefined;
|
5884
5815
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5885
5816
|
eventId: z.ZodString;
|
5886
5817
|
transactionId: z.ZodString;
|
5887
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
5888
5818
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5889
5819
|
filename: z.ZodString;
|
5890
5820
|
originalFilename: z.ZodString;
|
@@ -6073,7 +6003,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6073
6003
|
}[]>;
|
6074
6004
|
eventId: string;
|
6075
6005
|
transactionId: string;
|
6076
|
-
incomplete: boolean;
|
6077
6006
|
metadata?: Record<string, string | number | boolean | {
|
6078
6007
|
type: string;
|
6079
6008
|
filename: string;
|
@@ -6156,11 +6085,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6156
6085
|
filename: string;
|
6157
6086
|
originalFilename: string;
|
6158
6087
|
}[]> | undefined;
|
6159
|
-
incomplete?: boolean | undefined;
|
6160
6088
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6161
6089
|
eventId: z.ZodString;
|
6162
6090
|
transactionId: z.ZodString;
|
6163
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
6164
6091
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6165
6092
|
filename: z.ZodString;
|
6166
6093
|
originalFilename: z.ZodString;
|
@@ -6349,7 +6276,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6349
6276
|
}[]>;
|
6350
6277
|
eventId: string;
|
6351
6278
|
transactionId: string;
|
6352
|
-
incomplete: boolean;
|
6353
6279
|
metadata?: Record<string, string | number | boolean | {
|
6354
6280
|
type: string;
|
6355
6281
|
filename: string;
|
@@ -6432,11 +6358,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6432
6358
|
filename: string;
|
6433
6359
|
originalFilename: string;
|
6434
6360
|
}[]> | undefined;
|
6435
|
-
incomplete?: boolean | undefined;
|
6436
6361
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6437
6362
|
eventId: z.ZodString;
|
6438
6363
|
transactionId: z.ZodString;
|
6439
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
6440
6364
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6441
6365
|
filename: z.ZodString;
|
6442
6366
|
originalFilename: z.ZodString;
|
@@ -6625,7 +6549,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6625
6549
|
}[]>;
|
6626
6550
|
eventId: string;
|
6627
6551
|
transactionId: string;
|
6628
|
-
incomplete: boolean;
|
6629
6552
|
metadata?: Record<string, string | number | boolean | {
|
6630
6553
|
type: string;
|
6631
6554
|
filename: string;
|
@@ -6708,11 +6631,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6708
6631
|
filename: string;
|
6709
6632
|
originalFilename: string;
|
6710
6633
|
}[]> | undefined;
|
6711
|
-
incomplete?: boolean | undefined;
|
6712
6634
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6713
6635
|
eventId: z.ZodString;
|
6714
6636
|
transactionId: z.ZodString;
|
6715
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
6716
6637
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6717
6638
|
filename: z.ZodString;
|
6718
6639
|
originalFilename: z.ZodString;
|
@@ -6903,7 +6824,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6903
6824
|
requestId: string;
|
6904
6825
|
eventId: string;
|
6905
6826
|
transactionId: string;
|
6906
|
-
incomplete: boolean;
|
6907
6827
|
metadata?: Record<string, string | number | boolean | {
|
6908
6828
|
type: string;
|
6909
6829
|
filename: string;
|
@@ -6987,11 +6907,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6987
6907
|
filename: string;
|
6988
6908
|
originalFilename: string;
|
6989
6909
|
}[]> | undefined;
|
6990
|
-
incomplete?: boolean | undefined;
|
6991
6910
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6992
6911
|
eventId: z.ZodString;
|
6993
6912
|
transactionId: z.ZodString;
|
6994
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
6995
6913
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6996
6914
|
filename: z.ZodString;
|
6997
6915
|
originalFilename: z.ZodString;
|
@@ -7182,7 +7100,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7182
7100
|
requestId: string;
|
7183
7101
|
eventId: string;
|
7184
7102
|
transactionId: string;
|
7185
|
-
incomplete: boolean;
|
7186
7103
|
metadata?: Record<string, string | number | boolean | {
|
7187
7104
|
type: string;
|
7188
7105
|
filename: string;
|
@@ -7266,7 +7183,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7266
7183
|
filename: string;
|
7267
7184
|
originalFilename: string;
|
7268
7185
|
}[]> | undefined;
|
7269
|
-
incomplete?: boolean | undefined;
|
7270
7186
|
}>]>;
|
7271
7187
|
export type ActionInput = z.input<typeof ActionInput>;
|
7272
7188
|
export type ActionInputWithType = z.infer<typeof ActionInput>;
|
@@ -18,7 +18,7 @@ export declare const ActionType: {
|
|
18
18
|
readonly CUSTOM: "CUSTOM";
|
19
19
|
readonly REJECT: "REJECT";
|
20
20
|
readonly MARKED_AS_DUPLICATE: "MARKED_AS_DUPLICATE";
|
21
|
-
readonly
|
21
|
+
readonly ARCHIVE: "ARCHIVE";
|
22
22
|
};
|
23
23
|
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
24
24
|
//# sourceMappingURL=ActionType.d.ts.map
|
@@ -413,7 +413,6 @@ export declare const Draft: z.ZodObject<{
|
|
413
413
|
export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
414
414
|
eventId: z.ZodString;
|
415
415
|
transactionId: z.ZodString;
|
416
|
-
incomplete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
417
416
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
418
417
|
filename: z.ZodString;
|
419
418
|
originalFilename: z.ZodString;
|
@@ -602,7 +601,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
602
601
|
}[]>;
|
603
602
|
eventId: string;
|
604
603
|
transactionId: string;
|
605
|
-
incomplete: boolean;
|
606
604
|
metadata?: Record<string, string | number | boolean | {
|
607
605
|
type: string;
|
608
606
|
filename: string;
|
@@ -685,7 +683,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
685
683
|
filename: string;
|
686
684
|
originalFilename: string;
|
687
685
|
}[]> | undefined;
|
688
|
-
incomplete?: boolean | undefined;
|
689
686
|
}>;
|
690
687
|
export type Draft = z.infer<typeof Draft>;
|
691
688
|
export type DraftInput = z.infer<typeof DraftInput>;
|
@@ -344,7 +344,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
344
344
|
duplicates: string[];
|
345
345
|
draft?: boolean | undefined;
|
346
346
|
} | {
|
347
|
-
type: "
|
347
|
+
type: "ARCHIVE";
|
348
348
|
comment: string;
|
349
349
|
conditionals: ({
|
350
350
|
type: "SHOW";
|
@@ -813,7 +813,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
813
813
|
conditional: import(".").JSONSchema;
|
814
814
|
})[] | undefined;
|
815
815
|
} | {
|
816
|
-
type: "
|
816
|
+
type: "ARCHIVE";
|
817
817
|
comment: string;
|
818
818
|
label: {
|
819
819
|
id: string;
|
@@ -1402,7 +1402,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1402
1402
|
duplicates: string[];
|
1403
1403
|
draft?: boolean | undefined;
|
1404
1404
|
} | {
|
1405
|
-
type: "
|
1405
|
+
type: "ARCHIVE";
|
1406
1406
|
comment: string;
|
1407
1407
|
conditionals: ({
|
1408
1408
|
type: "SHOW";
|
@@ -1871,7 +1871,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1871
1871
|
conditional: import(".").JSONSchema;
|
1872
1872
|
})[] | undefined;
|
1873
1873
|
} | {
|
1874
|
-
type: "
|
1874
|
+
type: "ARCHIVE";
|
1875
1875
|
comment: string;
|
1876
1876
|
label: {
|
1877
1877
|
id: string;
|