@opencrvs/toolkit 1.9.13-rc.823e8bb → 1.9.13-rc.8742682
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 +211 -30
- package/dist/commons/conditionals/conditionals.d.ts +345 -2
- package/dist/commons/conditionals/validate.d.ts +9 -0
- package/dist/commons/events/EventConfig.d.ts +7 -0
- package/dist/commons/events/FieldConfig.d.ts +1489 -97
- package/dist/commons/events/defineConfig.d.ts +1 -0
- package/dist/commons/events/field.d.ts +47 -1
- package/dist/commons/events/utils.d.ts +2 -170
- package/dist/conditionals/index.js +48 -1
- package/dist/events/index.js +141 -51
- package/dist/notification/index.js +113 -39
- package/package.json +7 -7
|
@@ -300,6 +300,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
300
300
|
dateOfEvent?: {
|
|
301
301
|
$$field: string;
|
|
302
302
|
$$subfield: string[];
|
|
303
|
+
$$code?: string | undefined;
|
|
303
304
|
} | {
|
|
304
305
|
$$event: "createdAt" | "updatedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt" | "legalStatuses.REGISTERED.acceptedAt";
|
|
305
306
|
} | undefined;
|
|
@@ -1531,11 +1532,29 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1531
1532
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
1532
1533
|
}>;
|
|
1533
1534
|
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
1534
|
-
input: {
|
|
1535
|
+
input: import("zod").input<import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
|
1536
|
+
eventId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
1537
|
+
transactionId: import("zod").ZodString;
|
|
1538
|
+
declaration: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
1539
|
+
annotation: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
1540
|
+
originalActionId: import("zod").ZodOptional<import("zod").ZodBranded<import("zod").ZodString, "UUID">>;
|
|
1541
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1542
|
+
keepAssignmentIfAccepted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1543
|
+
keepAssignmentIfRejected: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1544
|
+
createdAtLocation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBranded<import("zod").ZodString, "UUID">>>;
|
|
1545
|
+
}, "transactionId" | "eventId" | "keepAssignment">, {
|
|
1546
|
+
actionId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
1547
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
|
1548
|
+
transactionId: string;
|
|
1549
|
+
eventId: string & import("zod").BRAND<"UUID">;
|
|
1550
|
+
actionId: string & import("zod").BRAND<"UUID">;
|
|
1551
|
+
keepAssignment?: boolean | undefined;
|
|
1552
|
+
}, {
|
|
1553
|
+
transactionId: string;
|
|
1535
1554
|
eventId: string;
|
|
1536
1555
|
actionId: string;
|
|
1537
|
-
|
|
1538
|
-
}
|
|
1556
|
+
keepAssignment?: boolean | undefined;
|
|
1557
|
+
}>>;
|
|
1539
1558
|
output: import("../commons").EventDocument;
|
|
1540
1559
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
1541
1560
|
}>;
|
|
@@ -2080,11 +2099,29 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2080
2099
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
2081
2100
|
}>;
|
|
2082
2101
|
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
2083
|
-
input: {
|
|
2102
|
+
input: import("zod").input<import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
|
2103
|
+
eventId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
2104
|
+
transactionId: import("zod").ZodString;
|
|
2105
|
+
declaration: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
2106
|
+
annotation: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
2107
|
+
originalActionId: import("zod").ZodOptional<import("zod").ZodBranded<import("zod").ZodString, "UUID">>;
|
|
2108
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2109
|
+
keepAssignmentIfAccepted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2110
|
+
keepAssignmentIfRejected: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2111
|
+
createdAtLocation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBranded<import("zod").ZodString, "UUID">>>;
|
|
2112
|
+
}, "transactionId" | "eventId" | "keepAssignment">, {
|
|
2113
|
+
actionId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
2114
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
|
2115
|
+
transactionId: string;
|
|
2116
|
+
eventId: string & import("zod").BRAND<"UUID">;
|
|
2117
|
+
actionId: string & import("zod").BRAND<"UUID">;
|
|
2118
|
+
keepAssignment?: boolean | undefined;
|
|
2119
|
+
}, {
|
|
2120
|
+
transactionId: string;
|
|
2084
2121
|
eventId: string;
|
|
2085
2122
|
actionId: string;
|
|
2086
|
-
|
|
2087
|
-
}
|
|
2123
|
+
keepAssignment?: boolean | undefined;
|
|
2124
|
+
}>>;
|
|
2088
2125
|
output: import("../commons").EventDocument;
|
|
2089
2126
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
2090
2127
|
}>;
|
|
@@ -2336,11 +2373,29 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2336
2373
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
2337
2374
|
}>;
|
|
2338
2375
|
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
2339
|
-
input: {
|
|
2376
|
+
input: import("zod").input<import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
|
2377
|
+
eventId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
2378
|
+
transactionId: import("zod").ZodString;
|
|
2379
|
+
declaration: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
2380
|
+
annotation: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
2381
|
+
originalActionId: import("zod").ZodOptional<import("zod").ZodBranded<import("zod").ZodString, "UUID">>;
|
|
2382
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2383
|
+
keepAssignmentIfAccepted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2384
|
+
keepAssignmentIfRejected: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2385
|
+
createdAtLocation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBranded<import("zod").ZodString, "UUID">>>;
|
|
2386
|
+
}, "transactionId" | "eventId" | "keepAssignment">, {
|
|
2387
|
+
actionId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
2388
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
|
2389
|
+
transactionId: string;
|
|
2390
|
+
eventId: string & import("zod").BRAND<"UUID">;
|
|
2391
|
+
actionId: string & import("zod").BRAND<"UUID">;
|
|
2392
|
+
keepAssignment?: boolean | undefined;
|
|
2393
|
+
}, {
|
|
2394
|
+
transactionId: string;
|
|
2340
2395
|
eventId: string;
|
|
2341
2396
|
actionId: string;
|
|
2342
|
-
|
|
2343
|
-
}
|
|
2397
|
+
keepAssignment?: boolean | undefined;
|
|
2398
|
+
}>>;
|
|
2344
2399
|
output: import("../commons").EventDocument;
|
|
2345
2400
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
2346
2401
|
}>;
|
|
@@ -2592,11 +2647,29 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2592
2647
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
2593
2648
|
}>;
|
|
2594
2649
|
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
2595
|
-
input: {
|
|
2650
|
+
input: import("zod").input<import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
|
2651
|
+
eventId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
2652
|
+
transactionId: import("zod").ZodString;
|
|
2653
|
+
declaration: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
2654
|
+
annotation: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
2655
|
+
originalActionId: import("zod").ZodOptional<import("zod").ZodBranded<import("zod").ZodString, "UUID">>;
|
|
2656
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2657
|
+
keepAssignmentIfAccepted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2658
|
+
keepAssignmentIfRejected: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2659
|
+
createdAtLocation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBranded<import("zod").ZodString, "UUID">>>;
|
|
2660
|
+
}, "transactionId" | "eventId" | "keepAssignment">, {
|
|
2661
|
+
actionId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
2662
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
|
2663
|
+
transactionId: string;
|
|
2664
|
+
eventId: string & import("zod").BRAND<"UUID">;
|
|
2665
|
+
actionId: string & import("zod").BRAND<"UUID">;
|
|
2666
|
+
keepAssignment?: boolean | undefined;
|
|
2667
|
+
}, {
|
|
2668
|
+
transactionId: string;
|
|
2596
2669
|
eventId: string;
|
|
2597
2670
|
actionId: string;
|
|
2598
|
-
|
|
2599
|
-
}
|
|
2671
|
+
keepAssignment?: boolean | undefined;
|
|
2672
|
+
}>>;
|
|
2600
2673
|
output: import("../commons").EventDocument;
|
|
2601
2674
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
2602
2675
|
}>;
|
|
@@ -2848,11 +2921,29 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2848
2921
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
2849
2922
|
}>;
|
|
2850
2923
|
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
2851
|
-
input: {
|
|
2924
|
+
input: import("zod").input<import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
|
2925
|
+
eventId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
2926
|
+
transactionId: import("zod").ZodString;
|
|
2927
|
+
declaration: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
2928
|
+
annotation: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
2929
|
+
originalActionId: import("zod").ZodOptional<import("zod").ZodBranded<import("zod").ZodString, "UUID">>;
|
|
2930
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2931
|
+
keepAssignmentIfAccepted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2932
|
+
keepAssignmentIfRejected: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2933
|
+
createdAtLocation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBranded<import("zod").ZodString, "UUID">>>;
|
|
2934
|
+
}, "transactionId" | "eventId" | "keepAssignment">, {
|
|
2935
|
+
actionId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
2936
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
|
2937
|
+
transactionId: string;
|
|
2938
|
+
eventId: string & import("zod").BRAND<"UUID">;
|
|
2939
|
+
actionId: string & import("zod").BRAND<"UUID">;
|
|
2940
|
+
keepAssignment?: boolean | undefined;
|
|
2941
|
+
}, {
|
|
2942
|
+
transactionId: string;
|
|
2852
2943
|
eventId: string;
|
|
2853
2944
|
actionId: string;
|
|
2854
|
-
|
|
2855
|
-
}
|
|
2945
|
+
keepAssignment?: boolean | undefined;
|
|
2946
|
+
}>>;
|
|
2856
2947
|
output: import("../commons").EventDocument;
|
|
2857
2948
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
2858
2949
|
}>;
|
|
@@ -3104,11 +3195,29 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3104
3195
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3105
3196
|
}>;
|
|
3106
3197
|
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
3107
|
-
input: {
|
|
3198
|
+
input: import("zod").input<import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
|
3199
|
+
eventId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
3200
|
+
transactionId: import("zod").ZodString;
|
|
3201
|
+
declaration: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
3202
|
+
annotation: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
3203
|
+
originalActionId: import("zod").ZodOptional<import("zod").ZodBranded<import("zod").ZodString, "UUID">>;
|
|
3204
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3205
|
+
keepAssignmentIfAccepted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3206
|
+
keepAssignmentIfRejected: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3207
|
+
createdAtLocation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBranded<import("zod").ZodString, "UUID">>>;
|
|
3208
|
+
}, "transactionId" | "eventId" | "keepAssignment">, {
|
|
3209
|
+
actionId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
3210
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
|
3211
|
+
transactionId: string;
|
|
3212
|
+
eventId: string & import("zod").BRAND<"UUID">;
|
|
3213
|
+
actionId: string & import("zod").BRAND<"UUID">;
|
|
3214
|
+
keepAssignment?: boolean | undefined;
|
|
3215
|
+
}, {
|
|
3216
|
+
transactionId: string;
|
|
3108
3217
|
eventId: string;
|
|
3109
3218
|
actionId: string;
|
|
3110
|
-
|
|
3111
|
-
}
|
|
3219
|
+
keepAssignment?: boolean | undefined;
|
|
3220
|
+
}>>;
|
|
3112
3221
|
output: import("../commons").EventDocument;
|
|
3113
3222
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3114
3223
|
}>;
|
|
@@ -3360,11 +3469,29 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3360
3469
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3361
3470
|
}>;
|
|
3362
3471
|
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
3363
|
-
input: {
|
|
3472
|
+
input: import("zod").input<import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
|
3473
|
+
eventId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
3474
|
+
transactionId: import("zod").ZodString;
|
|
3475
|
+
declaration: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
3476
|
+
annotation: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
3477
|
+
originalActionId: import("zod").ZodOptional<import("zod").ZodBranded<import("zod").ZodString, "UUID">>;
|
|
3478
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3479
|
+
keepAssignmentIfAccepted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3480
|
+
keepAssignmentIfRejected: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3481
|
+
createdAtLocation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBranded<import("zod").ZodString, "UUID">>>;
|
|
3482
|
+
}, "transactionId" | "eventId" | "keepAssignment">, {
|
|
3483
|
+
actionId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
3484
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
|
3485
|
+
transactionId: string;
|
|
3486
|
+
eventId: string & import("zod").BRAND<"UUID">;
|
|
3487
|
+
actionId: string & import("zod").BRAND<"UUID">;
|
|
3488
|
+
keepAssignment?: boolean | undefined;
|
|
3489
|
+
}, {
|
|
3490
|
+
transactionId: string;
|
|
3364
3491
|
eventId: string;
|
|
3365
3492
|
actionId: string;
|
|
3366
|
-
|
|
3367
|
-
}
|
|
3493
|
+
keepAssignment?: boolean | undefined;
|
|
3494
|
+
}>>;
|
|
3368
3495
|
output: import("../commons").EventDocument;
|
|
3369
3496
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3370
3497
|
}>;
|
|
@@ -4257,11 +4384,29 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4257
4384
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4258
4385
|
}>;
|
|
4259
4386
|
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
4260
|
-
input: {
|
|
4387
|
+
input: import("zod").input<import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
|
4388
|
+
eventId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
4389
|
+
transactionId: import("zod").ZodString;
|
|
4390
|
+
declaration: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
4391
|
+
annotation: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
4392
|
+
originalActionId: import("zod").ZodOptional<import("zod").ZodBranded<import("zod").ZodString, "UUID">>;
|
|
4393
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4394
|
+
keepAssignmentIfAccepted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4395
|
+
keepAssignmentIfRejected: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4396
|
+
createdAtLocation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBranded<import("zod").ZodString, "UUID">>>;
|
|
4397
|
+
}, "transactionId" | "eventId" | "keepAssignment">, {
|
|
4398
|
+
actionId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
4399
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
|
4400
|
+
transactionId: string;
|
|
4401
|
+
eventId: string & import("zod").BRAND<"UUID">;
|
|
4402
|
+
actionId: string & import("zod").BRAND<"UUID">;
|
|
4403
|
+
keepAssignment?: boolean | undefined;
|
|
4404
|
+
}, {
|
|
4405
|
+
transactionId: string;
|
|
4261
4406
|
eventId: string;
|
|
4262
4407
|
actionId: string;
|
|
4263
|
-
|
|
4264
|
-
}
|
|
4408
|
+
keepAssignment?: boolean | undefined;
|
|
4409
|
+
}>>;
|
|
4265
4410
|
output: import("../commons").EventDocument;
|
|
4266
4411
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4267
4412
|
}>;
|
|
@@ -4513,11 +4658,29 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4513
4658
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4514
4659
|
}>;
|
|
4515
4660
|
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
4516
|
-
input: {
|
|
4661
|
+
input: import("zod").input<import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
|
4662
|
+
eventId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
4663
|
+
transactionId: import("zod").ZodString;
|
|
4664
|
+
declaration: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
4665
|
+
annotation: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
4666
|
+
originalActionId: import("zod").ZodOptional<import("zod").ZodBranded<import("zod").ZodString, "UUID">>;
|
|
4667
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4668
|
+
keepAssignmentIfAccepted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4669
|
+
keepAssignmentIfRejected: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4670
|
+
createdAtLocation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBranded<import("zod").ZodString, "UUID">>>;
|
|
4671
|
+
}, "transactionId" | "eventId" | "keepAssignment">, {
|
|
4672
|
+
actionId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
4673
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
|
4674
|
+
transactionId: string;
|
|
4675
|
+
eventId: string & import("zod").BRAND<"UUID">;
|
|
4676
|
+
actionId: string & import("zod").BRAND<"UUID">;
|
|
4677
|
+
keepAssignment?: boolean | undefined;
|
|
4678
|
+
}, {
|
|
4679
|
+
transactionId: string;
|
|
4517
4680
|
eventId: string;
|
|
4518
4681
|
actionId: string;
|
|
4519
|
-
|
|
4520
|
-
}
|
|
4682
|
+
keepAssignment?: boolean | undefined;
|
|
4683
|
+
}>>;
|
|
4521
4684
|
output: import("../commons").EventDocument;
|
|
4522
4685
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4523
4686
|
}>;
|
|
@@ -4769,11 +4932,29 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4769
4932
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4770
4933
|
}>;
|
|
4771
4934
|
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
4772
|
-
input: {
|
|
4935
|
+
input: import("zod").input<import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
|
4936
|
+
eventId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
4937
|
+
transactionId: import("zod").ZodString;
|
|
4938
|
+
declaration: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
4939
|
+
annotation: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../commons").FieldUpdateValue, import("zod").ZodTypeDef, import("../commons").FieldUpdateValue>>>;
|
|
4940
|
+
originalActionId: import("zod").ZodOptional<import("zod").ZodBranded<import("zod").ZodString, "UUID">>;
|
|
4941
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4942
|
+
keepAssignmentIfAccepted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4943
|
+
keepAssignmentIfRejected: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4944
|
+
createdAtLocation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBranded<import("zod").ZodString, "UUID">>>;
|
|
4945
|
+
}, "transactionId" | "eventId" | "keepAssignment">, {
|
|
4946
|
+
actionId: import("zod").ZodBranded<import("zod").ZodString, "UUID">;
|
|
4947
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
|
4948
|
+
transactionId: string;
|
|
4949
|
+
eventId: string & import("zod").BRAND<"UUID">;
|
|
4950
|
+
actionId: string & import("zod").BRAND<"UUID">;
|
|
4951
|
+
keepAssignment?: boolean | undefined;
|
|
4952
|
+
}, {
|
|
4953
|
+
transactionId: string;
|
|
4773
4954
|
eventId: string;
|
|
4774
4955
|
actionId: string;
|
|
4775
|
-
|
|
4776
|
-
}
|
|
4956
|
+
keepAssignment?: boolean | undefined;
|
|
4957
|
+
}>>;
|
|
4777
4958
|
output: import("../commons").EventDocument;
|
|
4778
4959
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4779
4960
|
}>;
|