@opencrvs/toolkit 2.0.0-rc.18f6ed6 → 2.0.0-rc.198e4b0
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/create-countryconfig/package.json +12 -2
- package/dist/application-config/index.js +198 -65
- package/dist/commons/api/router.d.ts +15 -70
- package/dist/commons/events/ActionDocument.d.ts +0 -6
- package/dist/commons/events/ActionInput.d.ts +36 -42
- package/dist/commons/events/Draft.d.ts +2 -3
- package/dist/commons/events/EventDocument.d.ts +0 -3
- package/dist/commons/events/WorkqueueConfig.d.ts +5 -5
- package/dist/commons/events/state/utils.d.ts +0 -3
- package/dist/commons/events/utils.d.ts +0 -3
- package/dist/events/index.js +261 -86
- package/dist/notification/index.js +261 -86
- package/opencrvs-toolkit-2.0.0-rc.198e4b0.tgz +0 -0
- package/package.json +5 -1
- package/opencrvs-toolkit-2.0.0-rc.18f6ed6.tgz +0 -0
|
@@ -313,9 +313,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
313
313
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
314
314
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
315
315
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
316
|
-
content?: {
|
|
317
|
-
immediateCorrection?: boolean | undefined;
|
|
318
|
-
} | undefined;
|
|
319
316
|
} | {
|
|
320
317
|
id: string & import("zod").$brand<"UUID">;
|
|
321
318
|
transactionId: string;
|
|
@@ -432,6 +429,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
432
429
|
input: {
|
|
433
430
|
eventId: string;
|
|
434
431
|
customActionType?: string | undefined;
|
|
432
|
+
waitFor?: boolean | undefined;
|
|
435
433
|
};
|
|
436
434
|
output: {
|
|
437
435
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -624,9 +622,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
624
622
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
625
623
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
626
624
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
627
|
-
content?: {
|
|
628
|
-
immediateCorrection?: boolean | undefined;
|
|
629
|
-
} | undefined;
|
|
630
625
|
} | {
|
|
631
626
|
id: string & import("zod").$brand<"UUID">;
|
|
632
627
|
transactionId: string;
|
|
@@ -935,9 +930,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
935
930
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
936
931
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
937
932
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
938
|
-
content?: {
|
|
939
|
-
immediateCorrection?: boolean | undefined;
|
|
940
|
-
} | undefined;
|
|
941
933
|
} | {
|
|
942
934
|
id: string & import("zod").$brand<"UUID">;
|
|
943
935
|
transactionId: string;
|
|
@@ -1106,18 +1098,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1106
1098
|
}>;
|
|
1107
1099
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
1108
1100
|
input: {
|
|
1109
|
-
eventId: string;
|
|
1110
1101
|
transactionId: string;
|
|
1102
|
+
eventId: string;
|
|
1111
1103
|
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "NOTIFY" | "ASSIGN" | "APPROVE_CORRECTION" | "REJECT_CORRECTION" | "UNASSIGN";
|
|
1112
1104
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1105
|
+
createdAtLocation?: string | null | undefined;
|
|
1113
1106
|
declaration?: Record<string, unknown> | undefined;
|
|
1114
1107
|
annotation?: Record<string, unknown> | undefined;
|
|
1115
1108
|
originalActionId?: string | undefined;
|
|
1116
1109
|
keepAssignment?: boolean | undefined;
|
|
1117
1110
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1118
1111
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1119
|
-
waitFor?: boolean | undefined;
|
|
1120
|
-
createdAtLocation?: string | null | undefined;
|
|
1121
1112
|
};
|
|
1122
1113
|
output: {
|
|
1123
1114
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -1397,9 +1388,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1397
1388
|
waitFor?: boolean | undefined;
|
|
1398
1389
|
createdAtLocation?: string | null | undefined;
|
|
1399
1390
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
1400
|
-
content?: {
|
|
1401
|
-
immediateCorrection?: boolean | undefined;
|
|
1402
|
-
} | undefined;
|
|
1403
1391
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1404
1392
|
eventId: string;
|
|
1405
1393
|
transactionId: string;
|
|
@@ -1451,6 +1439,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1451
1439
|
transactionId: import("zod").ZodString;
|
|
1452
1440
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
1453
1441
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1442
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
1454
1443
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
1455
1444
|
}, import("zod/v4/core").$strip>>;
|
|
1456
1445
|
output: import("../commons").EventDocument;
|
|
@@ -1683,9 +1672,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1683
1672
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1684
1673
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1685
1674
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1686
|
-
content?: {
|
|
1687
|
-
immediateCorrection?: boolean | undefined;
|
|
1688
|
-
} | undefined;
|
|
1689
1675
|
} | {
|
|
1690
1676
|
id: string & import("zod").$brand<"UUID">;
|
|
1691
1677
|
transactionId: string;
|
|
@@ -2026,9 +2012,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2026
2012
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2027
2013
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
2028
2014
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2029
|
-
content?: {
|
|
2030
|
-
immediateCorrection?: boolean | undefined;
|
|
2031
|
-
} | undefined;
|
|
2032
2015
|
} | {
|
|
2033
2016
|
id: string & import("zod").$brand<"UUID">;
|
|
2034
2017
|
transactionId: string;
|
|
@@ -2348,9 +2331,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2348
2331
|
waitFor?: boolean | undefined;
|
|
2349
2332
|
createdAtLocation?: string | null | undefined;
|
|
2350
2333
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
2351
|
-
content?: {
|
|
2352
|
-
immediateCorrection?: boolean | undefined;
|
|
2353
|
-
} | undefined;
|
|
2354
2334
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2355
2335
|
eventId: string;
|
|
2356
2336
|
transactionId: string;
|
|
@@ -2402,6 +2382,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2402
2382
|
transactionId: import("zod").ZodString;
|
|
2403
2383
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2404
2384
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2385
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2405
2386
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2406
2387
|
}, import("zod/v4/core").$strip>>;
|
|
2407
2388
|
output: import("../commons").EventDocument;
|
|
@@ -2642,9 +2623,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2642
2623
|
waitFor?: boolean | undefined;
|
|
2643
2624
|
createdAtLocation?: string | null | undefined;
|
|
2644
2625
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
2645
|
-
content?: {
|
|
2646
|
-
immediateCorrection?: boolean | undefined;
|
|
2647
|
-
} | undefined;
|
|
2648
2626
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2649
2627
|
eventId: string;
|
|
2650
2628
|
transactionId: string;
|
|
@@ -2696,6 +2674,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2696
2674
|
transactionId: import("zod").ZodString;
|
|
2697
2675
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2698
2676
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2677
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2699
2678
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2700
2679
|
}, import("zod/v4/core").$strip>>;
|
|
2701
2680
|
output: import("../commons").EventDocument;
|
|
@@ -2936,9 +2915,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2936
2915
|
waitFor?: boolean | undefined;
|
|
2937
2916
|
createdAtLocation?: string | null | undefined;
|
|
2938
2917
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
2939
|
-
content?: {
|
|
2940
|
-
immediateCorrection?: boolean | undefined;
|
|
2941
|
-
} | undefined;
|
|
2942
2918
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2943
2919
|
eventId: string;
|
|
2944
2920
|
transactionId: string;
|
|
@@ -2990,6 +2966,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2990
2966
|
transactionId: import("zod").ZodString;
|
|
2991
2967
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2992
2968
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2969
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2993
2970
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2994
2971
|
}, import("zod/v4/core").$strip>>;
|
|
2995
2972
|
output: import("../commons").EventDocument;
|
|
@@ -3230,9 +3207,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3230
3207
|
waitFor?: boolean | undefined;
|
|
3231
3208
|
createdAtLocation?: string | null | undefined;
|
|
3232
3209
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
3233
|
-
content?: {
|
|
3234
|
-
immediateCorrection?: boolean | undefined;
|
|
3235
|
-
} | undefined;
|
|
3236
3210
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3237
3211
|
eventId: string;
|
|
3238
3212
|
transactionId: string;
|
|
@@ -3284,6 +3258,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3284
3258
|
transactionId: import("zod").ZodString;
|
|
3285
3259
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3286
3260
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3261
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3287
3262
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3288
3263
|
}, import("zod/v4/core").$strip>>;
|
|
3289
3264
|
output: import("../commons").EventDocument;
|
|
@@ -3524,9 +3499,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3524
3499
|
waitFor?: boolean | undefined;
|
|
3525
3500
|
createdAtLocation?: string | null | undefined;
|
|
3526
3501
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
3527
|
-
content?: {
|
|
3528
|
-
immediateCorrection?: boolean | undefined;
|
|
3529
|
-
} | undefined;
|
|
3530
3502
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3531
3503
|
eventId: string;
|
|
3532
3504
|
transactionId: string;
|
|
@@ -3578,6 +3550,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3578
3550
|
transactionId: import("zod").ZodString;
|
|
3579
3551
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3580
3552
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3553
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3581
3554
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3582
3555
|
}, import("zod/v4/core").$strip>>;
|
|
3583
3556
|
output: import("../commons").EventDocument;
|
|
@@ -3818,9 +3791,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3818
3791
|
waitFor?: boolean | undefined;
|
|
3819
3792
|
createdAtLocation?: string | null | undefined;
|
|
3820
3793
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
3821
|
-
content?: {
|
|
3822
|
-
immediateCorrection?: boolean | undefined;
|
|
3823
|
-
} | undefined;
|
|
3824
3794
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3825
3795
|
eventId: string;
|
|
3826
3796
|
transactionId: string;
|
|
@@ -3872,6 +3842,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3872
3842
|
transactionId: import("zod").ZodString;
|
|
3873
3843
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3874
3844
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3845
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3875
3846
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3876
3847
|
}, import("zod/v4/core").$strip>>;
|
|
3877
3848
|
output: import("../commons").EventDocument;
|
|
@@ -4106,9 +4077,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4106
4077
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4107
4078
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4108
4079
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4109
|
-
content?: {
|
|
4110
|
-
immediateCorrection?: boolean | undefined;
|
|
4111
|
-
} | undefined;
|
|
4112
4080
|
} | {
|
|
4113
4081
|
id: string & import("zod").$brand<"UUID">;
|
|
4114
4082
|
transactionId: string;
|
|
@@ -4428,9 +4396,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4428
4396
|
waitFor?: boolean | undefined;
|
|
4429
4397
|
createdAtLocation?: string | null | undefined;
|
|
4430
4398
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
4431
|
-
content?: {
|
|
4432
|
-
immediateCorrection?: boolean | undefined;
|
|
4433
|
-
} | undefined;
|
|
4434
4399
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4435
4400
|
eventId: string;
|
|
4436
4401
|
transactionId: string;
|
|
@@ -4482,6 +4447,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4482
4447
|
transactionId: import("zod").ZodString;
|
|
4483
4448
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
4484
4449
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4450
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
4485
4451
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
4486
4452
|
}, import("zod/v4/core").$strip>>;
|
|
4487
4453
|
output: import("../commons").EventDocument;
|
|
@@ -4716,9 +4682,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4716
4682
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4717
4683
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4718
4684
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4719
|
-
content?: {
|
|
4720
|
-
immediateCorrection?: boolean | undefined;
|
|
4721
|
-
} | undefined;
|
|
4722
4685
|
} | {
|
|
4723
4686
|
id: string & import("zod").$brand<"UUID">;
|
|
4724
4687
|
transactionId: string;
|
|
@@ -5037,9 +5000,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5037
5000
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5038
5001
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5039
5002
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5040
|
-
content?: {
|
|
5041
|
-
immediateCorrection?: boolean | undefined;
|
|
5042
|
-
} | undefined;
|
|
5043
5003
|
} | {
|
|
5044
5004
|
id: string & import("zod").$brand<"UUID">;
|
|
5045
5005
|
transactionId: string;
|
|
@@ -5409,9 +5369,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5409
5369
|
waitFor?: boolean | undefined;
|
|
5410
5370
|
createdAtLocation?: string | null | undefined;
|
|
5411
5371
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
5412
|
-
content?: {
|
|
5413
|
-
immediateCorrection?: boolean | undefined;
|
|
5414
|
-
} | undefined;
|
|
5415
5372
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5416
5373
|
eventId: string;
|
|
5417
5374
|
transactionId: string;
|
|
@@ -5463,6 +5420,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5463
5420
|
transactionId: import("zod").ZodString;
|
|
5464
5421
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5465
5422
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5423
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
5466
5424
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5467
5425
|
}, import("zod/v4/core").$strip>>;
|
|
5468
5426
|
output: import("../commons").EventDocument;
|
|
@@ -5703,9 +5661,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5703
5661
|
waitFor?: boolean | undefined;
|
|
5704
5662
|
createdAtLocation?: string | null | undefined;
|
|
5705
5663
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
5706
|
-
content?: {
|
|
5707
|
-
immediateCorrection?: boolean | undefined;
|
|
5708
|
-
} | undefined;
|
|
5709
5664
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5710
5665
|
eventId: string;
|
|
5711
5666
|
transactionId: string;
|
|
@@ -5757,6 +5712,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5757
5712
|
transactionId: import("zod").ZodString;
|
|
5758
5713
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5759
5714
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5715
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
5760
5716
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5761
5717
|
}, import("zod/v4/core").$strip>>;
|
|
5762
5718
|
output: import("../commons").EventDocument;
|
|
@@ -5997,9 +5953,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5997
5953
|
waitFor?: boolean | undefined;
|
|
5998
5954
|
createdAtLocation?: string | null | undefined;
|
|
5999
5955
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
6000
|
-
content?: {
|
|
6001
|
-
immediateCorrection?: boolean | undefined;
|
|
6002
|
-
} | undefined;
|
|
6003
5956
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6004
5957
|
eventId: string;
|
|
6005
5958
|
transactionId: string;
|
|
@@ -6051,6 +6004,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6051
6004
|
transactionId: import("zod").ZodString;
|
|
6052
6005
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
6053
6006
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6007
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
6054
6008
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
6055
6009
|
}, import("zod/v4/core").$strip>>;
|
|
6056
6010
|
output: import("../commons").EventDocument;
|
|
@@ -6288,9 +6242,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6288
6242
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6289
6243
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6290
6244
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6291
|
-
content?: {
|
|
6292
|
-
immediateCorrection?: boolean | undefined;
|
|
6293
|
-
} | undefined;
|
|
6294
6245
|
} | {
|
|
6295
6246
|
id: string & import("zod").$brand<"UUID">;
|
|
6296
6247
|
transactionId: string;
|
|
@@ -6608,9 +6559,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6608
6559
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6609
6560
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6610
6561
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6611
|
-
content?: {
|
|
6612
|
-
immediateCorrection?: boolean | undefined;
|
|
6613
|
-
} | undefined;
|
|
6614
6562
|
} | {
|
|
6615
6563
|
id: string & import("zod").$brand<"UUID">;
|
|
6616
6564
|
transactionId: string;
|
|
@@ -6971,9 +6919,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6971
6919
|
createdAtLocation?: string | null | undefined;
|
|
6972
6920
|
annotation?: Record<string, unknown> | null | undefined;
|
|
6973
6921
|
originalActionId?: string | null | undefined;
|
|
6974
|
-
content?: {
|
|
6975
|
-
immediateCorrection?: boolean | undefined;
|
|
6976
|
-
} | undefined;
|
|
6977
6922
|
} | {
|
|
6978
6923
|
id: string;
|
|
6979
6924
|
transactionId: string;
|
|
@@ -8145,7 +8090,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8145
8090
|
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
8146
8091
|
};
|
|
8147
8092
|
}[];
|
|
8148
|
-
icon: "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "
|
|
8093
|
+
icon: "File" | "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
8149
8094
|
action?: {
|
|
8150
8095
|
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
8151
8096
|
} | undefined;
|
|
@@ -517,9 +517,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
517
517
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
518
518
|
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
|
519
519
|
requestId: z.ZodString;
|
|
520
|
-
content: z.ZodOptional<z.ZodObject<{
|
|
521
|
-
immediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
|
522
|
-
}, z.core.$strip>>;
|
|
523
520
|
}, z.core.$strip>, z.ZodObject<{
|
|
524
521
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
525
522
|
transactionId: z.ZodString;
|
|
@@ -958,9 +955,6 @@ export declare const Action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Zod
|
|
|
958
955
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
959
956
|
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
|
960
957
|
requestId: z.ZodString;
|
|
961
|
-
content: z.ZodOptional<z.ZodObject<{
|
|
962
|
-
immediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
|
963
|
-
}, z.core.$strip>>;
|
|
964
958
|
}, z.core.$strip>, z.ZodObject<{
|
|
965
959
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
966
960
|
transactionId: z.ZodString;
|