@opencrvs/toolkit 2.0.0-rc.087cdbb → 2.0.0-rc.08e155c
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/index.js +50 -20
- package/create-countryconfig/package.json +12 -2
- package/dist/application-config/index.js +218 -85
- package/dist/cli.js +206 -36
- package/dist/commons/api/router.d.ts +565 -33
- package/dist/commons/conditionals/conditionals.d.ts +6 -0
- package/dist/commons/events/ActionInput.d.ts +36 -0
- package/dist/commons/events/Draft.d.ts +2 -2
- package/dist/commons/events/EventIndex.d.ts +0 -3
- package/dist/commons/events/EventMetadata.d.ts +0 -7
- package/dist/commons/events/WorkqueueConfig.d.ts +150 -150
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/state/index.d.ts +0 -4
- package/dist/commons/events/state/utils.d.ts +0 -2
- package/dist/conditionals/index.js +7 -1
- package/dist/events/index.js +658 -133
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.d.ts +3 -0
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.d.ts.map +1 -0
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.js +110 -0
- package/dist/migrations/v2.0/index.d.ts.map +1 -1
- package/dist/migrations/v2.0/index.js +204 -34
- package/dist/migrations/v2.0/migrate-scopes.d.ts.map +1 -1
- package/dist/migrations/v2.0/migrate-scopes.js +54 -30
- package/dist/notification/index.js +650 -117
- package/dist/scopes/index.js +3 -1
- package/opencrvs-toolkit-2.0.0-rc.08e155c.tgz +0 -0
- package/package.json +6 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0-rc.087cdbb.tgz +0 -0
|
@@ -429,6 +429,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
429
429
|
input: {
|
|
430
430
|
eventId: string;
|
|
431
431
|
customActionType?: string | undefined;
|
|
432
|
+
waitFor?: boolean | undefined;
|
|
432
433
|
};
|
|
433
434
|
output: {
|
|
434
435
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -1097,17 +1098,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1097
1098
|
}>;
|
|
1098
1099
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
1099
1100
|
input: {
|
|
1100
|
-
eventId: string;
|
|
1101
1101
|
transactionId: string;
|
|
1102
|
+
eventId: string;
|
|
1102
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";
|
|
1103
1104
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1105
|
+
createdAtLocation?: string | null | undefined;
|
|
1104
1106
|
declaration?: Record<string, unknown> | undefined;
|
|
1105
1107
|
annotation?: Record<string, unknown> | undefined;
|
|
1106
1108
|
originalActionId?: string | undefined;
|
|
1107
1109
|
keepAssignment?: boolean | undefined;
|
|
1108
1110
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1109
1111
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1110
|
-
createdAtLocation?: string | null | undefined;
|
|
1111
1112
|
};
|
|
1112
1113
|
output: {
|
|
1113
1114
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -1190,6 +1191,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1190
1191
|
keepAssignment?: boolean | undefined;
|
|
1191
1192
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1192
1193
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1194
|
+
waitFor?: boolean | undefined;
|
|
1193
1195
|
type?: "CREATE" | undefined;
|
|
1194
1196
|
createdAtLocation?: string | null | undefined;
|
|
1195
1197
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1201,6 +1203,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1201
1203
|
keepAssignment?: boolean | undefined;
|
|
1202
1204
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1203
1205
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1206
|
+
waitFor?: boolean | undefined;
|
|
1204
1207
|
createdAtLocation?: string | null | undefined;
|
|
1205
1208
|
type?: "REGISTER" | undefined;
|
|
1206
1209
|
registrationNumber?: string | undefined;
|
|
@@ -1213,6 +1216,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1213
1216
|
keepAssignment?: boolean | undefined;
|
|
1214
1217
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1215
1218
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1219
|
+
waitFor?: boolean | undefined;
|
|
1216
1220
|
type?: "NOTIFY" | undefined;
|
|
1217
1221
|
createdAtLocation?: string | null | undefined;
|
|
1218
1222
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1224,6 +1228,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1224
1228
|
keepAssignment?: boolean | undefined;
|
|
1225
1229
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1226
1230
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1231
|
+
waitFor?: boolean | undefined;
|
|
1227
1232
|
createdAtLocation?: string | null | undefined;
|
|
1228
1233
|
type?: "DECLARE" | undefined;
|
|
1229
1234
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1238,6 +1243,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1238
1243
|
keepAssignment?: boolean | undefined;
|
|
1239
1244
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1240
1245
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1246
|
+
waitFor?: boolean | undefined;
|
|
1241
1247
|
createdAtLocation?: string | null | undefined;
|
|
1242
1248
|
type?: "REJECT" | undefined;
|
|
1243
1249
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1255,6 +1261,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1255
1261
|
keepAssignment?: boolean | undefined;
|
|
1256
1262
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1257
1263
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1264
|
+
waitFor?: boolean | undefined;
|
|
1258
1265
|
createdAtLocation?: string | null | undefined;
|
|
1259
1266
|
type?: "DUPLICATE_DETECTED" | undefined;
|
|
1260
1267
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1266,6 +1273,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1266
1273
|
keepAssignment?: boolean | undefined;
|
|
1267
1274
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1268
1275
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1276
|
+
waitFor?: boolean | undefined;
|
|
1269
1277
|
createdAtLocation?: string | null | undefined;
|
|
1270
1278
|
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
1271
1279
|
content?: {
|
|
@@ -1280,6 +1288,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1280
1288
|
keepAssignment?: boolean | undefined;
|
|
1281
1289
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1282
1290
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1291
|
+
waitFor?: boolean | undefined;
|
|
1283
1292
|
createdAtLocation?: string | null | undefined;
|
|
1284
1293
|
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
1285
1294
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1294,6 +1303,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1294
1303
|
keepAssignment?: boolean | undefined;
|
|
1295
1304
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1296
1305
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1306
|
+
waitFor?: boolean | undefined;
|
|
1297
1307
|
createdAtLocation?: string | null | undefined;
|
|
1298
1308
|
type?: "ARCHIVE" | undefined;
|
|
1299
1309
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1307,6 +1317,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1307
1317
|
keepAssignment?: boolean | undefined;
|
|
1308
1318
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1309
1319
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1320
|
+
waitFor?: boolean | undefined;
|
|
1310
1321
|
createdAtLocation?: string | null | undefined;
|
|
1311
1322
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1312
1323
|
eventId: string;
|
|
@@ -1317,6 +1328,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1317
1328
|
keepAssignment?: boolean | undefined;
|
|
1318
1329
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1319
1330
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1331
|
+
waitFor?: boolean | undefined;
|
|
1320
1332
|
createdAtLocation?: string | null | undefined;
|
|
1321
1333
|
type?: "UNASSIGN" | undefined;
|
|
1322
1334
|
assignedTo?: null | undefined;
|
|
@@ -1329,6 +1341,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1329
1341
|
keepAssignment?: boolean | undefined;
|
|
1330
1342
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1331
1343
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1344
|
+
waitFor?: boolean | undefined;
|
|
1332
1345
|
createdAtLocation?: string | null | undefined;
|
|
1333
1346
|
type?: "PRINT_CERTIFICATE" | undefined;
|
|
1334
1347
|
content?: {
|
|
@@ -1343,6 +1356,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1343
1356
|
keepAssignment?: boolean | undefined;
|
|
1344
1357
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1345
1358
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1359
|
+
waitFor?: boolean | undefined;
|
|
1346
1360
|
createdAtLocation?: string | null | undefined;
|
|
1347
1361
|
type?: "REQUEST_CORRECTION" | undefined;
|
|
1348
1362
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1358,6 +1372,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1358
1372
|
keepAssignment?: boolean | undefined;
|
|
1359
1373
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1360
1374
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1375
|
+
waitFor?: boolean | undefined;
|
|
1361
1376
|
createdAtLocation?: string | null | undefined;
|
|
1362
1377
|
type?: "REJECT_CORRECTION" | undefined;
|
|
1363
1378
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1370,6 +1385,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1370
1385
|
keepAssignment?: boolean | undefined;
|
|
1371
1386
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1372
1387
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1388
|
+
waitFor?: boolean | undefined;
|
|
1373
1389
|
createdAtLocation?: string | null | undefined;
|
|
1374
1390
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
1375
1391
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1381,6 +1397,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1381
1397
|
keepAssignment?: boolean | undefined;
|
|
1382
1398
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1383
1399
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1400
|
+
waitFor?: boolean | undefined;
|
|
1384
1401
|
createdAtLocation?: string | null | undefined;
|
|
1385
1402
|
type?: "READ" | undefined;
|
|
1386
1403
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1393,6 +1410,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1393
1410
|
keepAssignment?: boolean | undefined;
|
|
1394
1411
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1395
1412
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1413
|
+
waitFor?: boolean | undefined;
|
|
1396
1414
|
createdAtLocation?: string | null | undefined;
|
|
1397
1415
|
type?: "CUSTOM" | undefined;
|
|
1398
1416
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1407,6 +1425,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1407
1425
|
keepAssignment?: boolean | undefined;
|
|
1408
1426
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1409
1427
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1428
|
+
waitFor?: boolean | undefined;
|
|
1410
1429
|
createdAtLocation?: string | null | undefined;
|
|
1411
1430
|
type?: "EDIT" | undefined;
|
|
1412
1431
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
@@ -1420,12 +1439,352 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1420
1439
|
transactionId: import("zod").ZodString;
|
|
1421
1440
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
1422
1441
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1442
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
1423
1443
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
1424
1444
|
}, import("zod/v4/core").$strip>>;
|
|
1425
1445
|
output: import("../commons").EventDocument;
|
|
1426
1446
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
1427
1447
|
}>;
|
|
1428
1448
|
}>>;
|
|
1449
|
+
createAndNotify: import("@trpc/server").TRPCBuiltRouter<{
|
|
1450
|
+
ctx: Partial<{
|
|
1451
|
+
token: `Bearer ${string}`;
|
|
1452
|
+
user: {
|
|
1453
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1454
|
+
type: "system";
|
|
1455
|
+
signature?: undefined;
|
|
1456
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1457
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1458
|
+
} | {
|
|
1459
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1460
|
+
type: "user";
|
|
1461
|
+
role: string;
|
|
1462
|
+
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1463
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1464
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1465
|
+
};
|
|
1466
|
+
}>;
|
|
1467
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
1468
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
1469
|
+
transformer: true;
|
|
1470
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
1471
|
+
request: import("@trpc/server").TRPCMutationProcedure<{
|
|
1472
|
+
input: {
|
|
1473
|
+
transactionId: string;
|
|
1474
|
+
eventType: string;
|
|
1475
|
+
createdAtLocation: string;
|
|
1476
|
+
declaration?: Record<string, unknown> | undefined;
|
|
1477
|
+
annotation?: Record<string, unknown> | undefined;
|
|
1478
|
+
originalActionId?: string | undefined;
|
|
1479
|
+
keepAssignment?: boolean | undefined;
|
|
1480
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1481
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
1482
|
+
waitFor?: boolean | undefined;
|
|
1483
|
+
};
|
|
1484
|
+
output: {
|
|
1485
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1486
|
+
type: string;
|
|
1487
|
+
createdAt: string;
|
|
1488
|
+
updatedAt: string;
|
|
1489
|
+
actions: ({
|
|
1490
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1491
|
+
transactionId: string;
|
|
1492
|
+
createdByUserType: "system" | "user";
|
|
1493
|
+
createdAt: string;
|
|
1494
|
+
createdBy: string;
|
|
1495
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1496
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1497
|
+
type: "CREATE";
|
|
1498
|
+
createdByRole?: string | undefined;
|
|
1499
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1500
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1501
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1502
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1503
|
+
} | {
|
|
1504
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1505
|
+
transactionId: string;
|
|
1506
|
+
createdByUserType: "system" | "user";
|
|
1507
|
+
createdAt: string;
|
|
1508
|
+
createdBy: string;
|
|
1509
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1510
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1511
|
+
type: "REJECT";
|
|
1512
|
+
content: {
|
|
1513
|
+
reason: string;
|
|
1514
|
+
};
|
|
1515
|
+
createdByRole?: string | undefined;
|
|
1516
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1517
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1518
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1519
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1520
|
+
} | {
|
|
1521
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1522
|
+
transactionId: string;
|
|
1523
|
+
createdByUserType: "system" | "user";
|
|
1524
|
+
createdAt: string;
|
|
1525
|
+
createdBy: string;
|
|
1526
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1527
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1528
|
+
type: "DUPLICATE_DETECTED";
|
|
1529
|
+
content: {
|
|
1530
|
+
duplicates: {
|
|
1531
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1532
|
+
trackingId: string;
|
|
1533
|
+
}[];
|
|
1534
|
+
};
|
|
1535
|
+
createdByRole?: string | undefined;
|
|
1536
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1537
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1538
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1539
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1540
|
+
} | {
|
|
1541
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1542
|
+
transactionId: string;
|
|
1543
|
+
createdByUserType: "system" | "user";
|
|
1544
|
+
createdAt: string;
|
|
1545
|
+
createdBy: string;
|
|
1546
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1547
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1548
|
+
type: "MARK_AS_NOT_DUPLICATE";
|
|
1549
|
+
createdByRole?: string | undefined;
|
|
1550
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1551
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1552
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1553
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1554
|
+
} | {
|
|
1555
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1556
|
+
transactionId: string;
|
|
1557
|
+
createdByUserType: "system" | "user";
|
|
1558
|
+
createdAt: string;
|
|
1559
|
+
createdBy: string;
|
|
1560
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1561
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1562
|
+
type: "MARK_AS_DUPLICATE";
|
|
1563
|
+
createdByRole?: string | undefined;
|
|
1564
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1565
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1566
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1567
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1568
|
+
content?: {
|
|
1569
|
+
duplicateOf: string & import("zod").$brand<"UUID">;
|
|
1570
|
+
} | undefined;
|
|
1571
|
+
} | {
|
|
1572
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1573
|
+
transactionId: string;
|
|
1574
|
+
createdByUserType: "system" | "user";
|
|
1575
|
+
createdAt: string;
|
|
1576
|
+
createdBy: string;
|
|
1577
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1578
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1579
|
+
type: "ARCHIVE";
|
|
1580
|
+
content: {
|
|
1581
|
+
reason: string;
|
|
1582
|
+
};
|
|
1583
|
+
createdByRole?: string | undefined;
|
|
1584
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1585
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1586
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1587
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1588
|
+
} | {
|
|
1589
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1590
|
+
transactionId: string;
|
|
1591
|
+
createdByUserType: "system" | "user";
|
|
1592
|
+
createdAt: string;
|
|
1593
|
+
createdBy: string;
|
|
1594
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1595
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1596
|
+
type: "NOTIFY";
|
|
1597
|
+
createdByRole?: string | undefined;
|
|
1598
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1599
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1600
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1601
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1602
|
+
} | {
|
|
1603
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1604
|
+
transactionId: string;
|
|
1605
|
+
createdByUserType: "system" | "user";
|
|
1606
|
+
createdAt: string;
|
|
1607
|
+
createdBy: string;
|
|
1608
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1609
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1610
|
+
type: "REGISTER";
|
|
1611
|
+
createdByRole?: string | undefined;
|
|
1612
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1613
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1614
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1615
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1616
|
+
registrationNumber?: string | undefined;
|
|
1617
|
+
} | {
|
|
1618
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1619
|
+
transactionId: string;
|
|
1620
|
+
createdByUserType: "system" | "user";
|
|
1621
|
+
createdAt: string;
|
|
1622
|
+
createdBy: string;
|
|
1623
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1624
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1625
|
+
type: "DECLARE";
|
|
1626
|
+
createdByRole?: string | undefined;
|
|
1627
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1628
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1629
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1630
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1631
|
+
} | {
|
|
1632
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1633
|
+
transactionId: string;
|
|
1634
|
+
createdByUserType: "system" | "user";
|
|
1635
|
+
createdAt: string;
|
|
1636
|
+
createdBy: string;
|
|
1637
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1638
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1639
|
+
type: "ASSIGN";
|
|
1640
|
+
assignedTo: string;
|
|
1641
|
+
createdByRole?: string | undefined;
|
|
1642
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1643
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1644
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1645
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1646
|
+
} | {
|
|
1647
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1648
|
+
transactionId: string;
|
|
1649
|
+
createdByUserType: "system" | "user";
|
|
1650
|
+
createdAt: string;
|
|
1651
|
+
createdBy: string;
|
|
1652
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1653
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1654
|
+
type: "REQUEST_CORRECTION";
|
|
1655
|
+
createdByRole?: string | undefined;
|
|
1656
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1657
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1658
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1659
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1660
|
+
} | {
|
|
1661
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1662
|
+
transactionId: string;
|
|
1663
|
+
createdByUserType: "system" | "user";
|
|
1664
|
+
createdAt: string;
|
|
1665
|
+
createdBy: string;
|
|
1666
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1667
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1668
|
+
type: "APPROVE_CORRECTION";
|
|
1669
|
+
requestId: string;
|
|
1670
|
+
createdByRole?: string | undefined;
|
|
1671
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1672
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1673
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1674
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1675
|
+
} | {
|
|
1676
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1677
|
+
transactionId: string;
|
|
1678
|
+
createdByUserType: "system" | "user";
|
|
1679
|
+
createdAt: string;
|
|
1680
|
+
createdBy: string;
|
|
1681
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1682
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1683
|
+
type: "REJECT_CORRECTION";
|
|
1684
|
+
requestId: string;
|
|
1685
|
+
content: {
|
|
1686
|
+
reason: string;
|
|
1687
|
+
};
|
|
1688
|
+
createdByRole?: string | undefined;
|
|
1689
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1690
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1691
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1692
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1693
|
+
} | {
|
|
1694
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1695
|
+
transactionId: string;
|
|
1696
|
+
createdByUserType: "system" | "user";
|
|
1697
|
+
createdAt: string;
|
|
1698
|
+
createdBy: string;
|
|
1699
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1700
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1701
|
+
type: "UNASSIGN";
|
|
1702
|
+
createdByRole?: string | undefined;
|
|
1703
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1704
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1705
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1706
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1707
|
+
} | {
|
|
1708
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1709
|
+
transactionId: string;
|
|
1710
|
+
createdByUserType: "system" | "user";
|
|
1711
|
+
createdAt: string;
|
|
1712
|
+
createdBy: string;
|
|
1713
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1714
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1715
|
+
type: "PRINT_CERTIFICATE";
|
|
1716
|
+
createdByRole?: string | undefined;
|
|
1717
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1718
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1719
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1720
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1721
|
+
content?: {
|
|
1722
|
+
templateId?: string | undefined;
|
|
1723
|
+
} | null | undefined;
|
|
1724
|
+
} | {
|
|
1725
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1726
|
+
transactionId: string;
|
|
1727
|
+
createdByUserType: "system" | "user";
|
|
1728
|
+
createdAt: string;
|
|
1729
|
+
createdBy: string;
|
|
1730
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1731
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1732
|
+
type: "READ";
|
|
1733
|
+
createdByRole?: string | undefined;
|
|
1734
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1735
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1736
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1737
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1738
|
+
} | {
|
|
1739
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1740
|
+
transactionId: string;
|
|
1741
|
+
createdByUserType: "system" | "user";
|
|
1742
|
+
createdAt: string;
|
|
1743
|
+
createdBy: string;
|
|
1744
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1745
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1746
|
+
type: "EDIT";
|
|
1747
|
+
content: {
|
|
1748
|
+
comment?: string | undefined;
|
|
1749
|
+
};
|
|
1750
|
+
createdByRole?: string | undefined;
|
|
1751
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1752
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1753
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1754
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1755
|
+
} | {
|
|
1756
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1757
|
+
transactionId: string;
|
|
1758
|
+
createdByUserType: "system" | "user";
|
|
1759
|
+
createdAt: string;
|
|
1760
|
+
createdBy: string;
|
|
1761
|
+
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1762
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
1763
|
+
type: "CUSTOM";
|
|
1764
|
+
customActionType: string;
|
|
1765
|
+
createdByRole?: string | undefined;
|
|
1766
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1767
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1768
|
+
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1769
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1770
|
+
} | {
|
|
1771
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1772
|
+
transactionId: string;
|
|
1773
|
+
createdByUserType: "system" | "user";
|
|
1774
|
+
createdAt: string;
|
|
1775
|
+
createdBy: string;
|
|
1776
|
+
type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "APPROVE_CORRECTION" | "REJECT_CORRECTION";
|
|
1777
|
+
status: "Rejected";
|
|
1778
|
+
createdByRole?: string | undefined;
|
|
1779
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1780
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1781
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1782
|
+
})[];
|
|
1783
|
+
trackingId: string;
|
|
1784
|
+
};
|
|
1785
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
1786
|
+
}>;
|
|
1787
|
+
}>>;
|
|
1429
1788
|
declare: import("@trpc/server").TRPCBuiltRouter<{
|
|
1430
1789
|
ctx: Partial<{
|
|
1431
1790
|
token: `Bearer ${string}`;
|
|
@@ -1458,6 +1817,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1458
1817
|
keepAssignment?: boolean | undefined;
|
|
1459
1818
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1460
1819
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1820
|
+
waitFor?: boolean | undefined;
|
|
1461
1821
|
createdAtLocation?: string | null | undefined;
|
|
1462
1822
|
type?: "DECLARE" | undefined;
|
|
1463
1823
|
};
|
|
@@ -1774,6 +2134,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1774
2134
|
keepAssignment?: boolean | undefined;
|
|
1775
2135
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1776
2136
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2137
|
+
waitFor?: boolean | undefined;
|
|
1777
2138
|
type?: "CREATE" | undefined;
|
|
1778
2139
|
createdAtLocation?: string | null | undefined;
|
|
1779
2140
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1785,6 +2146,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1785
2146
|
keepAssignment?: boolean | undefined;
|
|
1786
2147
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1787
2148
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2149
|
+
waitFor?: boolean | undefined;
|
|
1788
2150
|
createdAtLocation?: string | null | undefined;
|
|
1789
2151
|
type?: "REGISTER" | undefined;
|
|
1790
2152
|
registrationNumber?: string | undefined;
|
|
@@ -1797,6 +2159,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1797
2159
|
keepAssignment?: boolean | undefined;
|
|
1798
2160
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1799
2161
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2162
|
+
waitFor?: boolean | undefined;
|
|
1800
2163
|
type?: "NOTIFY" | undefined;
|
|
1801
2164
|
createdAtLocation?: string | null | undefined;
|
|
1802
2165
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1808,6 +2171,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1808
2171
|
keepAssignment?: boolean | undefined;
|
|
1809
2172
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1810
2173
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2174
|
+
waitFor?: boolean | undefined;
|
|
1811
2175
|
createdAtLocation?: string | null | undefined;
|
|
1812
2176
|
type?: "DECLARE" | undefined;
|
|
1813
2177
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1822,6 +2186,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1822
2186
|
keepAssignment?: boolean | undefined;
|
|
1823
2187
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1824
2188
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2189
|
+
waitFor?: boolean | undefined;
|
|
1825
2190
|
createdAtLocation?: string | null | undefined;
|
|
1826
2191
|
type?: "REJECT" | undefined;
|
|
1827
2192
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1839,6 +2204,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1839
2204
|
keepAssignment?: boolean | undefined;
|
|
1840
2205
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1841
2206
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2207
|
+
waitFor?: boolean | undefined;
|
|
1842
2208
|
createdAtLocation?: string | null | undefined;
|
|
1843
2209
|
type?: "DUPLICATE_DETECTED" | undefined;
|
|
1844
2210
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1850,6 +2216,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1850
2216
|
keepAssignment?: boolean | undefined;
|
|
1851
2217
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1852
2218
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2219
|
+
waitFor?: boolean | undefined;
|
|
1853
2220
|
createdAtLocation?: string | null | undefined;
|
|
1854
2221
|
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
1855
2222
|
content?: {
|
|
@@ -1864,6 +2231,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1864
2231
|
keepAssignment?: boolean | undefined;
|
|
1865
2232
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1866
2233
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2234
|
+
waitFor?: boolean | undefined;
|
|
1867
2235
|
createdAtLocation?: string | null | undefined;
|
|
1868
2236
|
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
1869
2237
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1878,6 +2246,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1878
2246
|
keepAssignment?: boolean | undefined;
|
|
1879
2247
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1880
2248
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2249
|
+
waitFor?: boolean | undefined;
|
|
1881
2250
|
createdAtLocation?: string | null | undefined;
|
|
1882
2251
|
type?: "ARCHIVE" | undefined;
|
|
1883
2252
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1891,6 +2260,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1891
2260
|
keepAssignment?: boolean | undefined;
|
|
1892
2261
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1893
2262
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2263
|
+
waitFor?: boolean | undefined;
|
|
1894
2264
|
createdAtLocation?: string | null | undefined;
|
|
1895
2265
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1896
2266
|
eventId: string;
|
|
@@ -1901,6 +2271,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1901
2271
|
keepAssignment?: boolean | undefined;
|
|
1902
2272
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1903
2273
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2274
|
+
waitFor?: boolean | undefined;
|
|
1904
2275
|
createdAtLocation?: string | null | undefined;
|
|
1905
2276
|
type?: "UNASSIGN" | undefined;
|
|
1906
2277
|
assignedTo?: null | undefined;
|
|
@@ -1913,6 +2284,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1913
2284
|
keepAssignment?: boolean | undefined;
|
|
1914
2285
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1915
2286
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2287
|
+
waitFor?: boolean | undefined;
|
|
1916
2288
|
createdAtLocation?: string | null | undefined;
|
|
1917
2289
|
type?: "PRINT_CERTIFICATE" | undefined;
|
|
1918
2290
|
content?: {
|
|
@@ -1927,6 +2299,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1927
2299
|
keepAssignment?: boolean | undefined;
|
|
1928
2300
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1929
2301
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2302
|
+
waitFor?: boolean | undefined;
|
|
1930
2303
|
createdAtLocation?: string | null | undefined;
|
|
1931
2304
|
type?: "REQUEST_CORRECTION" | undefined;
|
|
1932
2305
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1942,6 +2315,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1942
2315
|
keepAssignment?: boolean | undefined;
|
|
1943
2316
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1944
2317
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2318
|
+
waitFor?: boolean | undefined;
|
|
1945
2319
|
createdAtLocation?: string | null | undefined;
|
|
1946
2320
|
type?: "REJECT_CORRECTION" | undefined;
|
|
1947
2321
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1954,6 +2328,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1954
2328
|
keepAssignment?: boolean | undefined;
|
|
1955
2329
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1956
2330
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2331
|
+
waitFor?: boolean | undefined;
|
|
1957
2332
|
createdAtLocation?: string | null | undefined;
|
|
1958
2333
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
1959
2334
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1965,6 +2340,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1965
2340
|
keepAssignment?: boolean | undefined;
|
|
1966
2341
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1967
2342
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2343
|
+
waitFor?: boolean | undefined;
|
|
1968
2344
|
createdAtLocation?: string | null | undefined;
|
|
1969
2345
|
type?: "READ" | undefined;
|
|
1970
2346
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1977,6 +2353,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1977
2353
|
keepAssignment?: boolean | undefined;
|
|
1978
2354
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1979
2355
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2356
|
+
waitFor?: boolean | undefined;
|
|
1980
2357
|
createdAtLocation?: string | null | undefined;
|
|
1981
2358
|
type?: "CUSTOM" | undefined;
|
|
1982
2359
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -1991,6 +2368,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1991
2368
|
keepAssignment?: boolean | undefined;
|
|
1992
2369
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1993
2370
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2371
|
+
waitFor?: boolean | undefined;
|
|
1994
2372
|
createdAtLocation?: string | null | undefined;
|
|
1995
2373
|
type?: "EDIT" | undefined;
|
|
1996
2374
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
@@ -2004,6 +2382,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2004
2382
|
transactionId: import("zod").ZodString;
|
|
2005
2383
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2006
2384
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2385
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2007
2386
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2008
2387
|
}, import("zod/v4/core").$strip>>;
|
|
2009
2388
|
output: import("../commons").EventDocument;
|
|
@@ -2047,6 +2426,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2047
2426
|
keepAssignment?: boolean | undefined;
|
|
2048
2427
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2049
2428
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2429
|
+
waitFor?: boolean | undefined;
|
|
2050
2430
|
type?: "CREATE" | undefined;
|
|
2051
2431
|
createdAtLocation?: string | null | undefined;
|
|
2052
2432
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2058,6 +2438,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2058
2438
|
keepAssignment?: boolean | undefined;
|
|
2059
2439
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2060
2440
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2441
|
+
waitFor?: boolean | undefined;
|
|
2061
2442
|
createdAtLocation?: string | null | undefined;
|
|
2062
2443
|
type?: "REGISTER" | undefined;
|
|
2063
2444
|
registrationNumber?: string | undefined;
|
|
@@ -2070,6 +2451,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2070
2451
|
keepAssignment?: boolean | undefined;
|
|
2071
2452
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2072
2453
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2454
|
+
waitFor?: boolean | undefined;
|
|
2073
2455
|
type?: "NOTIFY" | undefined;
|
|
2074
2456
|
createdAtLocation?: string | null | undefined;
|
|
2075
2457
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2081,6 +2463,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2081
2463
|
keepAssignment?: boolean | undefined;
|
|
2082
2464
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2083
2465
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2466
|
+
waitFor?: boolean | undefined;
|
|
2084
2467
|
createdAtLocation?: string | null | undefined;
|
|
2085
2468
|
type?: "DECLARE" | undefined;
|
|
2086
2469
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2095,6 +2478,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2095
2478
|
keepAssignment?: boolean | undefined;
|
|
2096
2479
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2097
2480
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2481
|
+
waitFor?: boolean | undefined;
|
|
2098
2482
|
createdAtLocation?: string | null | undefined;
|
|
2099
2483
|
type?: "REJECT" | undefined;
|
|
2100
2484
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2112,6 +2496,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2112
2496
|
keepAssignment?: boolean | undefined;
|
|
2113
2497
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2114
2498
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2499
|
+
waitFor?: boolean | undefined;
|
|
2115
2500
|
createdAtLocation?: string | null | undefined;
|
|
2116
2501
|
type?: "DUPLICATE_DETECTED" | undefined;
|
|
2117
2502
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2123,6 +2508,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2123
2508
|
keepAssignment?: boolean | undefined;
|
|
2124
2509
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2125
2510
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2511
|
+
waitFor?: boolean | undefined;
|
|
2126
2512
|
createdAtLocation?: string | null | undefined;
|
|
2127
2513
|
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
2128
2514
|
content?: {
|
|
@@ -2137,6 +2523,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2137
2523
|
keepAssignment?: boolean | undefined;
|
|
2138
2524
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2139
2525
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2526
|
+
waitFor?: boolean | undefined;
|
|
2140
2527
|
createdAtLocation?: string | null | undefined;
|
|
2141
2528
|
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
2142
2529
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2151,6 +2538,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2151
2538
|
keepAssignment?: boolean | undefined;
|
|
2152
2539
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2153
2540
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2541
|
+
waitFor?: boolean | undefined;
|
|
2154
2542
|
createdAtLocation?: string | null | undefined;
|
|
2155
2543
|
type?: "ARCHIVE" | undefined;
|
|
2156
2544
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2164,6 +2552,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2164
2552
|
keepAssignment?: boolean | undefined;
|
|
2165
2553
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2166
2554
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2555
|
+
waitFor?: boolean | undefined;
|
|
2167
2556
|
createdAtLocation?: string | null | undefined;
|
|
2168
2557
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2169
2558
|
eventId: string;
|
|
@@ -2174,6 +2563,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2174
2563
|
keepAssignment?: boolean | undefined;
|
|
2175
2564
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2176
2565
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2566
|
+
waitFor?: boolean | undefined;
|
|
2177
2567
|
createdAtLocation?: string | null | undefined;
|
|
2178
2568
|
type?: "UNASSIGN" | undefined;
|
|
2179
2569
|
assignedTo?: null | undefined;
|
|
@@ -2186,6 +2576,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2186
2576
|
keepAssignment?: boolean | undefined;
|
|
2187
2577
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2188
2578
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2579
|
+
waitFor?: boolean | undefined;
|
|
2189
2580
|
createdAtLocation?: string | null | undefined;
|
|
2190
2581
|
type?: "PRINT_CERTIFICATE" | undefined;
|
|
2191
2582
|
content?: {
|
|
@@ -2200,6 +2591,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2200
2591
|
keepAssignment?: boolean | undefined;
|
|
2201
2592
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2202
2593
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2594
|
+
waitFor?: boolean | undefined;
|
|
2203
2595
|
createdAtLocation?: string | null | undefined;
|
|
2204
2596
|
type?: "REQUEST_CORRECTION" | undefined;
|
|
2205
2597
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2215,6 +2607,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2215
2607
|
keepAssignment?: boolean | undefined;
|
|
2216
2608
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2217
2609
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2610
|
+
waitFor?: boolean | undefined;
|
|
2218
2611
|
createdAtLocation?: string | null | undefined;
|
|
2219
2612
|
type?: "REJECT_CORRECTION" | undefined;
|
|
2220
2613
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2227,6 +2620,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2227
2620
|
keepAssignment?: boolean | undefined;
|
|
2228
2621
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2229
2622
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2623
|
+
waitFor?: boolean | undefined;
|
|
2230
2624
|
createdAtLocation?: string | null | undefined;
|
|
2231
2625
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
2232
2626
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2238,6 +2632,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2238
2632
|
keepAssignment?: boolean | undefined;
|
|
2239
2633
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2240
2634
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2635
|
+
waitFor?: boolean | undefined;
|
|
2241
2636
|
createdAtLocation?: string | null | undefined;
|
|
2242
2637
|
type?: "READ" | undefined;
|
|
2243
2638
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2250,6 +2645,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2250
2645
|
keepAssignment?: boolean | undefined;
|
|
2251
2646
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2252
2647
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2648
|
+
waitFor?: boolean | undefined;
|
|
2253
2649
|
createdAtLocation?: string | null | undefined;
|
|
2254
2650
|
type?: "CUSTOM" | undefined;
|
|
2255
2651
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2264,6 +2660,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2264
2660
|
keepAssignment?: boolean | undefined;
|
|
2265
2661
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2266
2662
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2663
|
+
waitFor?: boolean | undefined;
|
|
2267
2664
|
createdAtLocation?: string | null | undefined;
|
|
2268
2665
|
type?: "EDIT" | undefined;
|
|
2269
2666
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
@@ -2277,6 +2674,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2277
2674
|
transactionId: import("zod").ZodString;
|
|
2278
2675
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2279
2676
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2677
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2280
2678
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2281
2679
|
}, import("zod/v4/core").$strip>>;
|
|
2282
2680
|
output: import("../commons").EventDocument;
|
|
@@ -2320,6 +2718,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2320
2718
|
keepAssignment?: boolean | undefined;
|
|
2321
2719
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2322
2720
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2721
|
+
waitFor?: boolean | undefined;
|
|
2323
2722
|
type?: "CREATE" | undefined;
|
|
2324
2723
|
createdAtLocation?: string | null | undefined;
|
|
2325
2724
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2331,6 +2730,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2331
2730
|
keepAssignment?: boolean | undefined;
|
|
2332
2731
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2333
2732
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2733
|
+
waitFor?: boolean | undefined;
|
|
2334
2734
|
createdAtLocation?: string | null | undefined;
|
|
2335
2735
|
type?: "REGISTER" | undefined;
|
|
2336
2736
|
registrationNumber?: string | undefined;
|
|
@@ -2343,6 +2743,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2343
2743
|
keepAssignment?: boolean | undefined;
|
|
2344
2744
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2345
2745
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2746
|
+
waitFor?: boolean | undefined;
|
|
2346
2747
|
type?: "NOTIFY" | undefined;
|
|
2347
2748
|
createdAtLocation?: string | null | undefined;
|
|
2348
2749
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2354,6 +2755,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2354
2755
|
keepAssignment?: boolean | undefined;
|
|
2355
2756
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2356
2757
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2758
|
+
waitFor?: boolean | undefined;
|
|
2357
2759
|
createdAtLocation?: string | null | undefined;
|
|
2358
2760
|
type?: "DECLARE" | undefined;
|
|
2359
2761
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2368,6 +2770,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2368
2770
|
keepAssignment?: boolean | undefined;
|
|
2369
2771
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2370
2772
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2773
|
+
waitFor?: boolean | undefined;
|
|
2371
2774
|
createdAtLocation?: string | null | undefined;
|
|
2372
2775
|
type?: "REJECT" | undefined;
|
|
2373
2776
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2385,6 +2788,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2385
2788
|
keepAssignment?: boolean | undefined;
|
|
2386
2789
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2387
2790
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2791
|
+
waitFor?: boolean | undefined;
|
|
2388
2792
|
createdAtLocation?: string | null | undefined;
|
|
2389
2793
|
type?: "DUPLICATE_DETECTED" | undefined;
|
|
2390
2794
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2396,6 +2800,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2396
2800
|
keepAssignment?: boolean | undefined;
|
|
2397
2801
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2398
2802
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2803
|
+
waitFor?: boolean | undefined;
|
|
2399
2804
|
createdAtLocation?: string | null | undefined;
|
|
2400
2805
|
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
2401
2806
|
content?: {
|
|
@@ -2410,6 +2815,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2410
2815
|
keepAssignment?: boolean | undefined;
|
|
2411
2816
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2412
2817
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2818
|
+
waitFor?: boolean | undefined;
|
|
2413
2819
|
createdAtLocation?: string | null | undefined;
|
|
2414
2820
|
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
2415
2821
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2424,6 +2830,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2424
2830
|
keepAssignment?: boolean | undefined;
|
|
2425
2831
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2426
2832
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2833
|
+
waitFor?: boolean | undefined;
|
|
2427
2834
|
createdAtLocation?: string | null | undefined;
|
|
2428
2835
|
type?: "ARCHIVE" | undefined;
|
|
2429
2836
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2437,6 +2844,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2437
2844
|
keepAssignment?: boolean | undefined;
|
|
2438
2845
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2439
2846
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2847
|
+
waitFor?: boolean | undefined;
|
|
2440
2848
|
createdAtLocation?: string | null | undefined;
|
|
2441
2849
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2442
2850
|
eventId: string;
|
|
@@ -2447,6 +2855,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2447
2855
|
keepAssignment?: boolean | undefined;
|
|
2448
2856
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2449
2857
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2858
|
+
waitFor?: boolean | undefined;
|
|
2450
2859
|
createdAtLocation?: string | null | undefined;
|
|
2451
2860
|
type?: "UNASSIGN" | undefined;
|
|
2452
2861
|
assignedTo?: null | undefined;
|
|
@@ -2459,6 +2868,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2459
2868
|
keepAssignment?: boolean | undefined;
|
|
2460
2869
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2461
2870
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2871
|
+
waitFor?: boolean | undefined;
|
|
2462
2872
|
createdAtLocation?: string | null | undefined;
|
|
2463
2873
|
type?: "PRINT_CERTIFICATE" | undefined;
|
|
2464
2874
|
content?: {
|
|
@@ -2473,6 +2883,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2473
2883
|
keepAssignment?: boolean | undefined;
|
|
2474
2884
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2475
2885
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2886
|
+
waitFor?: boolean | undefined;
|
|
2476
2887
|
createdAtLocation?: string | null | undefined;
|
|
2477
2888
|
type?: "REQUEST_CORRECTION" | undefined;
|
|
2478
2889
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2488,6 +2899,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2488
2899
|
keepAssignment?: boolean | undefined;
|
|
2489
2900
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2490
2901
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2902
|
+
waitFor?: boolean | undefined;
|
|
2491
2903
|
createdAtLocation?: string | null | undefined;
|
|
2492
2904
|
type?: "REJECT_CORRECTION" | undefined;
|
|
2493
2905
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2500,6 +2912,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2500
2912
|
keepAssignment?: boolean | undefined;
|
|
2501
2913
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2502
2914
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2915
|
+
waitFor?: boolean | undefined;
|
|
2503
2916
|
createdAtLocation?: string | null | undefined;
|
|
2504
2917
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
2505
2918
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2511,6 +2924,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2511
2924
|
keepAssignment?: boolean | undefined;
|
|
2512
2925
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2513
2926
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2927
|
+
waitFor?: boolean | undefined;
|
|
2514
2928
|
createdAtLocation?: string | null | undefined;
|
|
2515
2929
|
type?: "READ" | undefined;
|
|
2516
2930
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2523,6 +2937,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2523
2937
|
keepAssignment?: boolean | undefined;
|
|
2524
2938
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2525
2939
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2940
|
+
waitFor?: boolean | undefined;
|
|
2526
2941
|
createdAtLocation?: string | null | undefined;
|
|
2527
2942
|
type?: "CUSTOM" | undefined;
|
|
2528
2943
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2537,6 +2952,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2537
2952
|
keepAssignment?: boolean | undefined;
|
|
2538
2953
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2539
2954
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
2955
|
+
waitFor?: boolean | undefined;
|
|
2540
2956
|
createdAtLocation?: string | null | undefined;
|
|
2541
2957
|
type?: "EDIT" | undefined;
|
|
2542
2958
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
@@ -2550,6 +2966,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2550
2966
|
transactionId: import("zod").ZodString;
|
|
2551
2967
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2552
2968
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2969
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2553
2970
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2554
2971
|
}, import("zod/v4/core").$strip>>;
|
|
2555
2972
|
output: import("../commons").EventDocument;
|
|
@@ -2593,6 +3010,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2593
3010
|
keepAssignment?: boolean | undefined;
|
|
2594
3011
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2595
3012
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3013
|
+
waitFor?: boolean | undefined;
|
|
2596
3014
|
type?: "CREATE" | undefined;
|
|
2597
3015
|
createdAtLocation?: string | null | undefined;
|
|
2598
3016
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2604,6 +3022,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2604
3022
|
keepAssignment?: boolean | undefined;
|
|
2605
3023
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2606
3024
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3025
|
+
waitFor?: boolean | undefined;
|
|
2607
3026
|
createdAtLocation?: string | null | undefined;
|
|
2608
3027
|
type?: "REGISTER" | undefined;
|
|
2609
3028
|
registrationNumber?: string | undefined;
|
|
@@ -2616,6 +3035,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2616
3035
|
keepAssignment?: boolean | undefined;
|
|
2617
3036
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2618
3037
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3038
|
+
waitFor?: boolean | undefined;
|
|
2619
3039
|
type?: "NOTIFY" | undefined;
|
|
2620
3040
|
createdAtLocation?: string | null | undefined;
|
|
2621
3041
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2627,6 +3047,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2627
3047
|
keepAssignment?: boolean | undefined;
|
|
2628
3048
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2629
3049
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3050
|
+
waitFor?: boolean | undefined;
|
|
2630
3051
|
createdAtLocation?: string | null | undefined;
|
|
2631
3052
|
type?: "DECLARE" | undefined;
|
|
2632
3053
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2641,6 +3062,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2641
3062
|
keepAssignment?: boolean | undefined;
|
|
2642
3063
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2643
3064
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3065
|
+
waitFor?: boolean | undefined;
|
|
2644
3066
|
createdAtLocation?: string | null | undefined;
|
|
2645
3067
|
type?: "REJECT" | undefined;
|
|
2646
3068
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2658,6 +3080,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2658
3080
|
keepAssignment?: boolean | undefined;
|
|
2659
3081
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2660
3082
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3083
|
+
waitFor?: boolean | undefined;
|
|
2661
3084
|
createdAtLocation?: string | null | undefined;
|
|
2662
3085
|
type?: "DUPLICATE_DETECTED" | undefined;
|
|
2663
3086
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2669,6 +3092,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2669
3092
|
keepAssignment?: boolean | undefined;
|
|
2670
3093
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2671
3094
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3095
|
+
waitFor?: boolean | undefined;
|
|
2672
3096
|
createdAtLocation?: string | null | undefined;
|
|
2673
3097
|
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
2674
3098
|
content?: {
|
|
@@ -2683,6 +3107,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2683
3107
|
keepAssignment?: boolean | undefined;
|
|
2684
3108
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2685
3109
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3110
|
+
waitFor?: boolean | undefined;
|
|
2686
3111
|
createdAtLocation?: string | null | undefined;
|
|
2687
3112
|
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
2688
3113
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2697,6 +3122,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2697
3122
|
keepAssignment?: boolean | undefined;
|
|
2698
3123
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2699
3124
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3125
|
+
waitFor?: boolean | undefined;
|
|
2700
3126
|
createdAtLocation?: string | null | undefined;
|
|
2701
3127
|
type?: "ARCHIVE" | undefined;
|
|
2702
3128
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2710,6 +3136,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2710
3136
|
keepAssignment?: boolean | undefined;
|
|
2711
3137
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2712
3138
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3139
|
+
waitFor?: boolean | undefined;
|
|
2713
3140
|
createdAtLocation?: string | null | undefined;
|
|
2714
3141
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2715
3142
|
eventId: string;
|
|
@@ -2720,6 +3147,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2720
3147
|
keepAssignment?: boolean | undefined;
|
|
2721
3148
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2722
3149
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3150
|
+
waitFor?: boolean | undefined;
|
|
2723
3151
|
createdAtLocation?: string | null | undefined;
|
|
2724
3152
|
type?: "UNASSIGN" | undefined;
|
|
2725
3153
|
assignedTo?: null | undefined;
|
|
@@ -2732,6 +3160,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2732
3160
|
keepAssignment?: boolean | undefined;
|
|
2733
3161
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2734
3162
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3163
|
+
waitFor?: boolean | undefined;
|
|
2735
3164
|
createdAtLocation?: string | null | undefined;
|
|
2736
3165
|
type?: "PRINT_CERTIFICATE" | undefined;
|
|
2737
3166
|
content?: {
|
|
@@ -2746,6 +3175,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2746
3175
|
keepAssignment?: boolean | undefined;
|
|
2747
3176
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2748
3177
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3178
|
+
waitFor?: boolean | undefined;
|
|
2749
3179
|
createdAtLocation?: string | null | undefined;
|
|
2750
3180
|
type?: "REQUEST_CORRECTION" | undefined;
|
|
2751
3181
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2761,6 +3191,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2761
3191
|
keepAssignment?: boolean | undefined;
|
|
2762
3192
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2763
3193
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3194
|
+
waitFor?: boolean | undefined;
|
|
2764
3195
|
createdAtLocation?: string | null | undefined;
|
|
2765
3196
|
type?: "REJECT_CORRECTION" | undefined;
|
|
2766
3197
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2773,6 +3204,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2773
3204
|
keepAssignment?: boolean | undefined;
|
|
2774
3205
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2775
3206
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3207
|
+
waitFor?: boolean | undefined;
|
|
2776
3208
|
createdAtLocation?: string | null | undefined;
|
|
2777
3209
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
2778
3210
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2784,6 +3216,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2784
3216
|
keepAssignment?: boolean | undefined;
|
|
2785
3217
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2786
3218
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3219
|
+
waitFor?: boolean | undefined;
|
|
2787
3220
|
createdAtLocation?: string | null | undefined;
|
|
2788
3221
|
type?: "READ" | undefined;
|
|
2789
3222
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2796,6 +3229,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2796
3229
|
keepAssignment?: boolean | undefined;
|
|
2797
3230
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2798
3231
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3232
|
+
waitFor?: boolean | undefined;
|
|
2799
3233
|
createdAtLocation?: string | null | undefined;
|
|
2800
3234
|
type?: "CUSTOM" | undefined;
|
|
2801
3235
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2810,6 +3244,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2810
3244
|
keepAssignment?: boolean | undefined;
|
|
2811
3245
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2812
3246
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3247
|
+
waitFor?: boolean | undefined;
|
|
2813
3248
|
createdAtLocation?: string | null | undefined;
|
|
2814
3249
|
type?: "EDIT" | undefined;
|
|
2815
3250
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
@@ -2823,6 +3258,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2823
3258
|
transactionId: import("zod").ZodString;
|
|
2824
3259
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2825
3260
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3261
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2826
3262
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
2827
3263
|
}, import("zod/v4/core").$strip>>;
|
|
2828
3264
|
output: import("../commons").EventDocument;
|
|
@@ -2866,6 +3302,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2866
3302
|
keepAssignment?: boolean | undefined;
|
|
2867
3303
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2868
3304
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3305
|
+
waitFor?: boolean | undefined;
|
|
2869
3306
|
type?: "CREATE" | undefined;
|
|
2870
3307
|
createdAtLocation?: string | null | undefined;
|
|
2871
3308
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2877,6 +3314,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2877
3314
|
keepAssignment?: boolean | undefined;
|
|
2878
3315
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2879
3316
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3317
|
+
waitFor?: boolean | undefined;
|
|
2880
3318
|
createdAtLocation?: string | null | undefined;
|
|
2881
3319
|
type?: "REGISTER" | undefined;
|
|
2882
3320
|
registrationNumber?: string | undefined;
|
|
@@ -2889,6 +3327,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2889
3327
|
keepAssignment?: boolean | undefined;
|
|
2890
3328
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2891
3329
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3330
|
+
waitFor?: boolean | undefined;
|
|
2892
3331
|
type?: "NOTIFY" | undefined;
|
|
2893
3332
|
createdAtLocation?: string | null | undefined;
|
|
2894
3333
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2900,6 +3339,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2900
3339
|
keepAssignment?: boolean | undefined;
|
|
2901
3340
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2902
3341
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3342
|
+
waitFor?: boolean | undefined;
|
|
2903
3343
|
createdAtLocation?: string | null | undefined;
|
|
2904
3344
|
type?: "DECLARE" | undefined;
|
|
2905
3345
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2914,6 +3354,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2914
3354
|
keepAssignment?: boolean | undefined;
|
|
2915
3355
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2916
3356
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3357
|
+
waitFor?: boolean | undefined;
|
|
2917
3358
|
createdAtLocation?: string | null | undefined;
|
|
2918
3359
|
type?: "REJECT" | undefined;
|
|
2919
3360
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2931,6 +3372,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2931
3372
|
keepAssignment?: boolean | undefined;
|
|
2932
3373
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2933
3374
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3375
|
+
waitFor?: boolean | undefined;
|
|
2934
3376
|
createdAtLocation?: string | null | undefined;
|
|
2935
3377
|
type?: "DUPLICATE_DETECTED" | undefined;
|
|
2936
3378
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2942,6 +3384,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2942
3384
|
keepAssignment?: boolean | undefined;
|
|
2943
3385
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2944
3386
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3387
|
+
waitFor?: boolean | undefined;
|
|
2945
3388
|
createdAtLocation?: string | null | undefined;
|
|
2946
3389
|
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
2947
3390
|
content?: {
|
|
@@ -2956,6 +3399,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2956
3399
|
keepAssignment?: boolean | undefined;
|
|
2957
3400
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2958
3401
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3402
|
+
waitFor?: boolean | undefined;
|
|
2959
3403
|
createdAtLocation?: string | null | undefined;
|
|
2960
3404
|
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
2961
3405
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2970,6 +3414,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2970
3414
|
keepAssignment?: boolean | undefined;
|
|
2971
3415
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2972
3416
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3417
|
+
waitFor?: boolean | undefined;
|
|
2973
3418
|
createdAtLocation?: string | null | undefined;
|
|
2974
3419
|
type?: "ARCHIVE" | undefined;
|
|
2975
3420
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -2983,6 +3428,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2983
3428
|
keepAssignment?: boolean | undefined;
|
|
2984
3429
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2985
3430
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3431
|
+
waitFor?: boolean | undefined;
|
|
2986
3432
|
createdAtLocation?: string | null | undefined;
|
|
2987
3433
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2988
3434
|
eventId: string;
|
|
@@ -2993,6 +3439,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2993
3439
|
keepAssignment?: boolean | undefined;
|
|
2994
3440
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2995
3441
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3442
|
+
waitFor?: boolean | undefined;
|
|
2996
3443
|
createdAtLocation?: string | null | undefined;
|
|
2997
3444
|
type?: "UNASSIGN" | undefined;
|
|
2998
3445
|
assignedTo?: null | undefined;
|
|
@@ -3005,6 +3452,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3005
3452
|
keepAssignment?: boolean | undefined;
|
|
3006
3453
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3007
3454
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3455
|
+
waitFor?: boolean | undefined;
|
|
3008
3456
|
createdAtLocation?: string | null | undefined;
|
|
3009
3457
|
type?: "PRINT_CERTIFICATE" | undefined;
|
|
3010
3458
|
content?: {
|
|
@@ -3019,6 +3467,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3019
3467
|
keepAssignment?: boolean | undefined;
|
|
3020
3468
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3021
3469
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3470
|
+
waitFor?: boolean | undefined;
|
|
3022
3471
|
createdAtLocation?: string | null | undefined;
|
|
3023
3472
|
type?: "REQUEST_CORRECTION" | undefined;
|
|
3024
3473
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3034,6 +3483,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3034
3483
|
keepAssignment?: boolean | undefined;
|
|
3035
3484
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3036
3485
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3486
|
+
waitFor?: boolean | undefined;
|
|
3037
3487
|
createdAtLocation?: string | null | undefined;
|
|
3038
3488
|
type?: "REJECT_CORRECTION" | undefined;
|
|
3039
3489
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3046,6 +3496,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3046
3496
|
keepAssignment?: boolean | undefined;
|
|
3047
3497
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3048
3498
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3499
|
+
waitFor?: boolean | undefined;
|
|
3049
3500
|
createdAtLocation?: string | null | undefined;
|
|
3050
3501
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
3051
3502
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3057,6 +3508,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3057
3508
|
keepAssignment?: boolean | undefined;
|
|
3058
3509
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3059
3510
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3511
|
+
waitFor?: boolean | undefined;
|
|
3060
3512
|
createdAtLocation?: string | null | undefined;
|
|
3061
3513
|
type?: "READ" | undefined;
|
|
3062
3514
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3069,6 +3521,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3069
3521
|
keepAssignment?: boolean | undefined;
|
|
3070
3522
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3071
3523
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3524
|
+
waitFor?: boolean | undefined;
|
|
3072
3525
|
createdAtLocation?: string | null | undefined;
|
|
3073
3526
|
type?: "CUSTOM" | undefined;
|
|
3074
3527
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3083,6 +3536,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3083
3536
|
keepAssignment?: boolean | undefined;
|
|
3084
3537
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3085
3538
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3539
|
+
waitFor?: boolean | undefined;
|
|
3086
3540
|
createdAtLocation?: string | null | undefined;
|
|
3087
3541
|
type?: "EDIT" | undefined;
|
|
3088
3542
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
@@ -3096,6 +3550,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3096
3550
|
transactionId: import("zod").ZodString;
|
|
3097
3551
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3098
3552
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3553
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3099
3554
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3100
3555
|
}, import("zod/v4/core").$strip>>;
|
|
3101
3556
|
output: import("../commons").EventDocument;
|
|
@@ -3139,6 +3594,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3139
3594
|
keepAssignment?: boolean | undefined;
|
|
3140
3595
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3141
3596
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3597
|
+
waitFor?: boolean | undefined;
|
|
3142
3598
|
type?: "CREATE" | undefined;
|
|
3143
3599
|
createdAtLocation?: string | null | undefined;
|
|
3144
3600
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3150,6 +3606,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3150
3606
|
keepAssignment?: boolean | undefined;
|
|
3151
3607
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3152
3608
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3609
|
+
waitFor?: boolean | undefined;
|
|
3153
3610
|
createdAtLocation?: string | null | undefined;
|
|
3154
3611
|
type?: "REGISTER" | undefined;
|
|
3155
3612
|
registrationNumber?: string | undefined;
|
|
@@ -3162,6 +3619,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3162
3619
|
keepAssignment?: boolean | undefined;
|
|
3163
3620
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3164
3621
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3622
|
+
waitFor?: boolean | undefined;
|
|
3165
3623
|
type?: "NOTIFY" | undefined;
|
|
3166
3624
|
createdAtLocation?: string | null | undefined;
|
|
3167
3625
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3173,6 +3631,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3173
3631
|
keepAssignment?: boolean | undefined;
|
|
3174
3632
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3175
3633
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3634
|
+
waitFor?: boolean | undefined;
|
|
3176
3635
|
createdAtLocation?: string | null | undefined;
|
|
3177
3636
|
type?: "DECLARE" | undefined;
|
|
3178
3637
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3187,6 +3646,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3187
3646
|
keepAssignment?: boolean | undefined;
|
|
3188
3647
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3189
3648
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3649
|
+
waitFor?: boolean | undefined;
|
|
3190
3650
|
createdAtLocation?: string | null | undefined;
|
|
3191
3651
|
type?: "REJECT" | undefined;
|
|
3192
3652
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3204,6 +3664,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3204
3664
|
keepAssignment?: boolean | undefined;
|
|
3205
3665
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3206
3666
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3667
|
+
waitFor?: boolean | undefined;
|
|
3207
3668
|
createdAtLocation?: string | null | undefined;
|
|
3208
3669
|
type?: "DUPLICATE_DETECTED" | undefined;
|
|
3209
3670
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3215,6 +3676,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3215
3676
|
keepAssignment?: boolean | undefined;
|
|
3216
3677
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3217
3678
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3679
|
+
waitFor?: boolean | undefined;
|
|
3218
3680
|
createdAtLocation?: string | null | undefined;
|
|
3219
3681
|
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
3220
3682
|
content?: {
|
|
@@ -3229,6 +3691,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3229
3691
|
keepAssignment?: boolean | undefined;
|
|
3230
3692
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3231
3693
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3694
|
+
waitFor?: boolean | undefined;
|
|
3232
3695
|
createdAtLocation?: string | null | undefined;
|
|
3233
3696
|
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
3234
3697
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3243,6 +3706,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3243
3706
|
keepAssignment?: boolean | undefined;
|
|
3244
3707
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3245
3708
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3709
|
+
waitFor?: boolean | undefined;
|
|
3246
3710
|
createdAtLocation?: string | null | undefined;
|
|
3247
3711
|
type?: "ARCHIVE" | undefined;
|
|
3248
3712
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3256,6 +3720,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3256
3720
|
keepAssignment?: boolean | undefined;
|
|
3257
3721
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3258
3722
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3723
|
+
waitFor?: boolean | undefined;
|
|
3259
3724
|
createdAtLocation?: string | null | undefined;
|
|
3260
3725
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3261
3726
|
eventId: string;
|
|
@@ -3266,6 +3731,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3266
3731
|
keepAssignment?: boolean | undefined;
|
|
3267
3732
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3268
3733
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3734
|
+
waitFor?: boolean | undefined;
|
|
3269
3735
|
createdAtLocation?: string | null | undefined;
|
|
3270
3736
|
type?: "UNASSIGN" | undefined;
|
|
3271
3737
|
assignedTo?: null | undefined;
|
|
@@ -3278,6 +3744,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3278
3744
|
keepAssignment?: boolean | undefined;
|
|
3279
3745
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3280
3746
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3747
|
+
waitFor?: boolean | undefined;
|
|
3281
3748
|
createdAtLocation?: string | null | undefined;
|
|
3282
3749
|
type?: "PRINT_CERTIFICATE" | undefined;
|
|
3283
3750
|
content?: {
|
|
@@ -3292,6 +3759,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3292
3759
|
keepAssignment?: boolean | undefined;
|
|
3293
3760
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3294
3761
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3762
|
+
waitFor?: boolean | undefined;
|
|
3295
3763
|
createdAtLocation?: string | null | undefined;
|
|
3296
3764
|
type?: "REQUEST_CORRECTION" | undefined;
|
|
3297
3765
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3307,6 +3775,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3307
3775
|
keepAssignment?: boolean | undefined;
|
|
3308
3776
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3309
3777
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3778
|
+
waitFor?: boolean | undefined;
|
|
3310
3779
|
createdAtLocation?: string | null | undefined;
|
|
3311
3780
|
type?: "REJECT_CORRECTION" | undefined;
|
|
3312
3781
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3319,6 +3788,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3319
3788
|
keepAssignment?: boolean | undefined;
|
|
3320
3789
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3321
3790
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3791
|
+
waitFor?: boolean | undefined;
|
|
3322
3792
|
createdAtLocation?: string | null | undefined;
|
|
3323
3793
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
3324
3794
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3330,6 +3800,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3330
3800
|
keepAssignment?: boolean | undefined;
|
|
3331
3801
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3332
3802
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3803
|
+
waitFor?: boolean | undefined;
|
|
3333
3804
|
createdAtLocation?: string | null | undefined;
|
|
3334
3805
|
type?: "READ" | undefined;
|
|
3335
3806
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3342,6 +3813,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3342
3813
|
keepAssignment?: boolean | undefined;
|
|
3343
3814
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3344
3815
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3816
|
+
waitFor?: boolean | undefined;
|
|
3345
3817
|
createdAtLocation?: string | null | undefined;
|
|
3346
3818
|
type?: "CUSTOM" | undefined;
|
|
3347
3819
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3356,6 +3828,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3356
3828
|
keepAssignment?: boolean | undefined;
|
|
3357
3829
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3358
3830
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3831
|
+
waitFor?: boolean | undefined;
|
|
3359
3832
|
createdAtLocation?: string | null | undefined;
|
|
3360
3833
|
type?: "EDIT" | undefined;
|
|
3361
3834
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
@@ -3369,6 +3842,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3369
3842
|
transactionId: import("zod").ZodString;
|
|
3370
3843
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3371
3844
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3845
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3372
3846
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3373
3847
|
}, import("zod/v4/core").$strip>>;
|
|
3374
3848
|
output: import("../commons").EventDocument;
|
|
@@ -3408,6 +3882,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3408
3882
|
keepAssignment?: boolean | undefined;
|
|
3409
3883
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3410
3884
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3885
|
+
waitFor?: boolean | undefined;
|
|
3411
3886
|
createdAtLocation?: string | null | undefined;
|
|
3412
3887
|
type?: "CUSTOM" | undefined;
|
|
3413
3888
|
};
|
|
@@ -3724,6 +4199,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3724
4199
|
keepAssignment?: boolean | undefined;
|
|
3725
4200
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3726
4201
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4202
|
+
waitFor?: boolean | undefined;
|
|
3727
4203
|
type?: "CREATE" | undefined;
|
|
3728
4204
|
createdAtLocation?: string | null | undefined;
|
|
3729
4205
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3735,6 +4211,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3735
4211
|
keepAssignment?: boolean | undefined;
|
|
3736
4212
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3737
4213
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4214
|
+
waitFor?: boolean | undefined;
|
|
3738
4215
|
createdAtLocation?: string | null | undefined;
|
|
3739
4216
|
type?: "REGISTER" | undefined;
|
|
3740
4217
|
registrationNumber?: string | undefined;
|
|
@@ -3747,6 +4224,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3747
4224
|
keepAssignment?: boolean | undefined;
|
|
3748
4225
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3749
4226
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4227
|
+
waitFor?: boolean | undefined;
|
|
3750
4228
|
type?: "NOTIFY" | undefined;
|
|
3751
4229
|
createdAtLocation?: string | null | undefined;
|
|
3752
4230
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3758,6 +4236,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3758
4236
|
keepAssignment?: boolean | undefined;
|
|
3759
4237
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3760
4238
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4239
|
+
waitFor?: boolean | undefined;
|
|
3761
4240
|
createdAtLocation?: string | null | undefined;
|
|
3762
4241
|
type?: "DECLARE" | undefined;
|
|
3763
4242
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3772,6 +4251,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3772
4251
|
keepAssignment?: boolean | undefined;
|
|
3773
4252
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3774
4253
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4254
|
+
waitFor?: boolean | undefined;
|
|
3775
4255
|
createdAtLocation?: string | null | undefined;
|
|
3776
4256
|
type?: "REJECT" | undefined;
|
|
3777
4257
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3789,6 +4269,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3789
4269
|
keepAssignment?: boolean | undefined;
|
|
3790
4270
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3791
4271
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4272
|
+
waitFor?: boolean | undefined;
|
|
3792
4273
|
createdAtLocation?: string | null | undefined;
|
|
3793
4274
|
type?: "DUPLICATE_DETECTED" | undefined;
|
|
3794
4275
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3800,6 +4281,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3800
4281
|
keepAssignment?: boolean | undefined;
|
|
3801
4282
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3802
4283
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4284
|
+
waitFor?: boolean | undefined;
|
|
3803
4285
|
createdAtLocation?: string | null | undefined;
|
|
3804
4286
|
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
3805
4287
|
content?: {
|
|
@@ -3814,6 +4296,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3814
4296
|
keepAssignment?: boolean | undefined;
|
|
3815
4297
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3816
4298
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4299
|
+
waitFor?: boolean | undefined;
|
|
3817
4300
|
createdAtLocation?: string | null | undefined;
|
|
3818
4301
|
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
3819
4302
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3828,6 +4311,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3828
4311
|
keepAssignment?: boolean | undefined;
|
|
3829
4312
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3830
4313
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4314
|
+
waitFor?: boolean | undefined;
|
|
3831
4315
|
createdAtLocation?: string | null | undefined;
|
|
3832
4316
|
type?: "ARCHIVE" | undefined;
|
|
3833
4317
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3841,6 +4325,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3841
4325
|
keepAssignment?: boolean | undefined;
|
|
3842
4326
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3843
4327
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4328
|
+
waitFor?: boolean | undefined;
|
|
3844
4329
|
createdAtLocation?: string | null | undefined;
|
|
3845
4330
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3846
4331
|
eventId: string;
|
|
@@ -3851,6 +4336,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3851
4336
|
keepAssignment?: boolean | undefined;
|
|
3852
4337
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3853
4338
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4339
|
+
waitFor?: boolean | undefined;
|
|
3854
4340
|
createdAtLocation?: string | null | undefined;
|
|
3855
4341
|
type?: "UNASSIGN" | undefined;
|
|
3856
4342
|
assignedTo?: null | undefined;
|
|
@@ -3863,6 +4349,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3863
4349
|
keepAssignment?: boolean | undefined;
|
|
3864
4350
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3865
4351
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4352
|
+
waitFor?: boolean | undefined;
|
|
3866
4353
|
createdAtLocation?: string | null | undefined;
|
|
3867
4354
|
type?: "PRINT_CERTIFICATE" | undefined;
|
|
3868
4355
|
content?: {
|
|
@@ -3877,6 +4364,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3877
4364
|
keepAssignment?: boolean | undefined;
|
|
3878
4365
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3879
4366
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4367
|
+
waitFor?: boolean | undefined;
|
|
3880
4368
|
createdAtLocation?: string | null | undefined;
|
|
3881
4369
|
type?: "REQUEST_CORRECTION" | undefined;
|
|
3882
4370
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3892,6 +4380,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3892
4380
|
keepAssignment?: boolean | undefined;
|
|
3893
4381
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3894
4382
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4383
|
+
waitFor?: boolean | undefined;
|
|
3895
4384
|
createdAtLocation?: string | null | undefined;
|
|
3896
4385
|
type?: "REJECT_CORRECTION" | undefined;
|
|
3897
4386
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3904,6 +4393,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3904
4393
|
keepAssignment?: boolean | undefined;
|
|
3905
4394
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3906
4395
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4396
|
+
waitFor?: boolean | undefined;
|
|
3907
4397
|
createdAtLocation?: string | null | undefined;
|
|
3908
4398
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
3909
4399
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3915,6 +4405,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3915
4405
|
keepAssignment?: boolean | undefined;
|
|
3916
4406
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3917
4407
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4408
|
+
waitFor?: boolean | undefined;
|
|
3918
4409
|
createdAtLocation?: string | null | undefined;
|
|
3919
4410
|
type?: "READ" | undefined;
|
|
3920
4411
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3927,6 +4418,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3927
4418
|
keepAssignment?: boolean | undefined;
|
|
3928
4419
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3929
4420
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4421
|
+
waitFor?: boolean | undefined;
|
|
3930
4422
|
createdAtLocation?: string | null | undefined;
|
|
3931
4423
|
type?: "CUSTOM" | undefined;
|
|
3932
4424
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -3941,6 +4433,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3941
4433
|
keepAssignment?: boolean | undefined;
|
|
3942
4434
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3943
4435
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4436
|
+
waitFor?: boolean | undefined;
|
|
3944
4437
|
createdAtLocation?: string | null | undefined;
|
|
3945
4438
|
type?: "EDIT" | undefined;
|
|
3946
4439
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
@@ -3954,6 +4447,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3954
4447
|
transactionId: import("zod").ZodString;
|
|
3955
4448
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3956
4449
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4450
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3957
4451
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3958
4452
|
}, import("zod/v4/core").$strip>>;
|
|
3959
4453
|
output: import("../commons").EventDocument;
|
|
@@ -3994,6 +4488,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3994
4488
|
keepAssignment?: boolean | undefined;
|
|
3995
4489
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3996
4490
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4491
|
+
waitFor?: boolean | undefined;
|
|
3997
4492
|
createdAtLocation?: string | null | undefined;
|
|
3998
4493
|
};
|
|
3999
4494
|
output: {
|
|
@@ -4309,6 +4804,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4309
4804
|
keepAssignment?: boolean | undefined;
|
|
4310
4805
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4311
4806
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
4807
|
+
waitFor?: boolean | undefined;
|
|
4312
4808
|
createdAtLocation?: string | null | undefined;
|
|
4313
4809
|
type?: "UNASSIGN" | undefined;
|
|
4314
4810
|
assignedTo?: null | undefined;
|
|
@@ -4676,6 +5172,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4676
5172
|
keepAssignment?: boolean | undefined;
|
|
4677
5173
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4678
5174
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5175
|
+
waitFor?: boolean | undefined;
|
|
4679
5176
|
type?: "CREATE" | undefined;
|
|
4680
5177
|
createdAtLocation?: string | null | undefined;
|
|
4681
5178
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -4687,6 +5184,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4687
5184
|
keepAssignment?: boolean | undefined;
|
|
4688
5185
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4689
5186
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5187
|
+
waitFor?: boolean | undefined;
|
|
4690
5188
|
createdAtLocation?: string | null | undefined;
|
|
4691
5189
|
type?: "REGISTER" | undefined;
|
|
4692
5190
|
registrationNumber?: string | undefined;
|
|
@@ -4699,6 +5197,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4699
5197
|
keepAssignment?: boolean | undefined;
|
|
4700
5198
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4701
5199
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5200
|
+
waitFor?: boolean | undefined;
|
|
4702
5201
|
type?: "NOTIFY" | undefined;
|
|
4703
5202
|
createdAtLocation?: string | null | undefined;
|
|
4704
5203
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -4710,6 +5209,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4710
5209
|
keepAssignment?: boolean | undefined;
|
|
4711
5210
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4712
5211
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5212
|
+
waitFor?: boolean | undefined;
|
|
4713
5213
|
createdAtLocation?: string | null | undefined;
|
|
4714
5214
|
type?: "DECLARE" | undefined;
|
|
4715
5215
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -4724,6 +5224,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4724
5224
|
keepAssignment?: boolean | undefined;
|
|
4725
5225
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4726
5226
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5227
|
+
waitFor?: boolean | undefined;
|
|
4727
5228
|
createdAtLocation?: string | null | undefined;
|
|
4728
5229
|
type?: "REJECT" | undefined;
|
|
4729
5230
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -4741,6 +5242,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4741
5242
|
keepAssignment?: boolean | undefined;
|
|
4742
5243
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4743
5244
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5245
|
+
waitFor?: boolean | undefined;
|
|
4744
5246
|
createdAtLocation?: string | null | undefined;
|
|
4745
5247
|
type?: "DUPLICATE_DETECTED" | undefined;
|
|
4746
5248
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -4752,6 +5254,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4752
5254
|
keepAssignment?: boolean | undefined;
|
|
4753
5255
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4754
5256
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5257
|
+
waitFor?: boolean | undefined;
|
|
4755
5258
|
createdAtLocation?: string | null | undefined;
|
|
4756
5259
|
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
4757
5260
|
content?: {
|
|
@@ -4766,6 +5269,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4766
5269
|
keepAssignment?: boolean | undefined;
|
|
4767
5270
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4768
5271
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5272
|
+
waitFor?: boolean | undefined;
|
|
4769
5273
|
createdAtLocation?: string | null | undefined;
|
|
4770
5274
|
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
4771
5275
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -4780,6 +5284,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4780
5284
|
keepAssignment?: boolean | undefined;
|
|
4781
5285
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4782
5286
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5287
|
+
waitFor?: boolean | undefined;
|
|
4783
5288
|
createdAtLocation?: string | null | undefined;
|
|
4784
5289
|
type?: "ARCHIVE" | undefined;
|
|
4785
5290
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -4793,6 +5298,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4793
5298
|
keepAssignment?: boolean | undefined;
|
|
4794
5299
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4795
5300
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5301
|
+
waitFor?: boolean | undefined;
|
|
4796
5302
|
createdAtLocation?: string | null | undefined;
|
|
4797
5303
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4798
5304
|
eventId: string;
|
|
@@ -4803,6 +5309,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4803
5309
|
keepAssignment?: boolean | undefined;
|
|
4804
5310
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4805
5311
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5312
|
+
waitFor?: boolean | undefined;
|
|
4806
5313
|
createdAtLocation?: string | null | undefined;
|
|
4807
5314
|
type?: "UNASSIGN" | undefined;
|
|
4808
5315
|
assignedTo?: null | undefined;
|
|
@@ -4815,6 +5322,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4815
5322
|
keepAssignment?: boolean | undefined;
|
|
4816
5323
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4817
5324
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5325
|
+
waitFor?: boolean | undefined;
|
|
4818
5326
|
createdAtLocation?: string | null | undefined;
|
|
4819
5327
|
type?: "PRINT_CERTIFICATE" | undefined;
|
|
4820
5328
|
content?: {
|
|
@@ -4829,6 +5337,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4829
5337
|
keepAssignment?: boolean | undefined;
|
|
4830
5338
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4831
5339
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5340
|
+
waitFor?: boolean | undefined;
|
|
4832
5341
|
createdAtLocation?: string | null | undefined;
|
|
4833
5342
|
type?: "REQUEST_CORRECTION" | undefined;
|
|
4834
5343
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -4844,6 +5353,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4844
5353
|
keepAssignment?: boolean | undefined;
|
|
4845
5354
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4846
5355
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5356
|
+
waitFor?: boolean | undefined;
|
|
4847
5357
|
createdAtLocation?: string | null | undefined;
|
|
4848
5358
|
type?: "REJECT_CORRECTION" | undefined;
|
|
4849
5359
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -4856,6 +5366,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4856
5366
|
keepAssignment?: boolean | undefined;
|
|
4857
5367
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4858
5368
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5369
|
+
waitFor?: boolean | undefined;
|
|
4859
5370
|
createdAtLocation?: string | null | undefined;
|
|
4860
5371
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
4861
5372
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -4867,6 +5378,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4867
5378
|
keepAssignment?: boolean | undefined;
|
|
4868
5379
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4869
5380
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5381
|
+
waitFor?: boolean | undefined;
|
|
4870
5382
|
createdAtLocation?: string | null | undefined;
|
|
4871
5383
|
type?: "READ" | undefined;
|
|
4872
5384
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -4879,6 +5391,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4879
5391
|
keepAssignment?: boolean | undefined;
|
|
4880
5392
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4881
5393
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5394
|
+
waitFor?: boolean | undefined;
|
|
4882
5395
|
createdAtLocation?: string | null | undefined;
|
|
4883
5396
|
type?: "CUSTOM" | undefined;
|
|
4884
5397
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -4893,6 +5406,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4893
5406
|
keepAssignment?: boolean | undefined;
|
|
4894
5407
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4895
5408
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5409
|
+
waitFor?: boolean | undefined;
|
|
4896
5410
|
createdAtLocation?: string | null | undefined;
|
|
4897
5411
|
type?: "EDIT" | undefined;
|
|
4898
5412
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
@@ -4906,6 +5420,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4906
5420
|
transactionId: import("zod").ZodString;
|
|
4907
5421
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
4908
5422
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5423
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
4909
5424
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
4910
5425
|
}, import("zod/v4/core").$strip>>;
|
|
4911
5426
|
output: import("../commons").EventDocument;
|
|
@@ -4949,6 +5464,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4949
5464
|
keepAssignment?: boolean | undefined;
|
|
4950
5465
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4951
5466
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5467
|
+
waitFor?: boolean | undefined;
|
|
4952
5468
|
type?: "CREATE" | undefined;
|
|
4953
5469
|
createdAtLocation?: string | null | undefined;
|
|
4954
5470
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -4960,6 +5476,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4960
5476
|
keepAssignment?: boolean | undefined;
|
|
4961
5477
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4962
5478
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5479
|
+
waitFor?: boolean | undefined;
|
|
4963
5480
|
createdAtLocation?: string | null | undefined;
|
|
4964
5481
|
type?: "REGISTER" | undefined;
|
|
4965
5482
|
registrationNumber?: string | undefined;
|
|
@@ -4972,6 +5489,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4972
5489
|
keepAssignment?: boolean | undefined;
|
|
4973
5490
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4974
5491
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5492
|
+
waitFor?: boolean | undefined;
|
|
4975
5493
|
type?: "NOTIFY" | undefined;
|
|
4976
5494
|
createdAtLocation?: string | null | undefined;
|
|
4977
5495
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -4983,6 +5501,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4983
5501
|
keepAssignment?: boolean | undefined;
|
|
4984
5502
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4985
5503
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5504
|
+
waitFor?: boolean | undefined;
|
|
4986
5505
|
createdAtLocation?: string | null | undefined;
|
|
4987
5506
|
type?: "DECLARE" | undefined;
|
|
4988
5507
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -4997,6 +5516,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4997
5516
|
keepAssignment?: boolean | undefined;
|
|
4998
5517
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
4999
5518
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5519
|
+
waitFor?: boolean | undefined;
|
|
5000
5520
|
createdAtLocation?: string | null | undefined;
|
|
5001
5521
|
type?: "REJECT" | undefined;
|
|
5002
5522
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5014,6 +5534,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5014
5534
|
keepAssignment?: boolean | undefined;
|
|
5015
5535
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5016
5536
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5537
|
+
waitFor?: boolean | undefined;
|
|
5017
5538
|
createdAtLocation?: string | null | undefined;
|
|
5018
5539
|
type?: "DUPLICATE_DETECTED" | undefined;
|
|
5019
5540
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5025,6 +5546,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5025
5546
|
keepAssignment?: boolean | undefined;
|
|
5026
5547
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5027
5548
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5549
|
+
waitFor?: boolean | undefined;
|
|
5028
5550
|
createdAtLocation?: string | null | undefined;
|
|
5029
5551
|
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
5030
5552
|
content?: {
|
|
@@ -5039,6 +5561,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5039
5561
|
keepAssignment?: boolean | undefined;
|
|
5040
5562
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5041
5563
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5564
|
+
waitFor?: boolean | undefined;
|
|
5042
5565
|
createdAtLocation?: string | null | undefined;
|
|
5043
5566
|
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
5044
5567
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5053,6 +5576,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5053
5576
|
keepAssignment?: boolean | undefined;
|
|
5054
5577
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5055
5578
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5579
|
+
waitFor?: boolean | undefined;
|
|
5056
5580
|
createdAtLocation?: string | null | undefined;
|
|
5057
5581
|
type?: "ARCHIVE" | undefined;
|
|
5058
5582
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5066,6 +5590,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5066
5590
|
keepAssignment?: boolean | undefined;
|
|
5067
5591
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5068
5592
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5593
|
+
waitFor?: boolean | undefined;
|
|
5069
5594
|
createdAtLocation?: string | null | undefined;
|
|
5070
5595
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5071
5596
|
eventId: string;
|
|
@@ -5076,6 +5601,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5076
5601
|
keepAssignment?: boolean | undefined;
|
|
5077
5602
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5078
5603
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5604
|
+
waitFor?: boolean | undefined;
|
|
5079
5605
|
createdAtLocation?: string | null | undefined;
|
|
5080
5606
|
type?: "UNASSIGN" | undefined;
|
|
5081
5607
|
assignedTo?: null | undefined;
|
|
@@ -5088,6 +5614,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5088
5614
|
keepAssignment?: boolean | undefined;
|
|
5089
5615
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5090
5616
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5617
|
+
waitFor?: boolean | undefined;
|
|
5091
5618
|
createdAtLocation?: string | null | undefined;
|
|
5092
5619
|
type?: "PRINT_CERTIFICATE" | undefined;
|
|
5093
5620
|
content?: {
|
|
@@ -5102,6 +5629,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5102
5629
|
keepAssignment?: boolean | undefined;
|
|
5103
5630
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5104
5631
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5632
|
+
waitFor?: boolean | undefined;
|
|
5105
5633
|
createdAtLocation?: string | null | undefined;
|
|
5106
5634
|
type?: "REQUEST_CORRECTION" | undefined;
|
|
5107
5635
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5117,6 +5645,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5117
5645
|
keepAssignment?: boolean | undefined;
|
|
5118
5646
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5119
5647
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5648
|
+
waitFor?: boolean | undefined;
|
|
5120
5649
|
createdAtLocation?: string | null | undefined;
|
|
5121
5650
|
type?: "REJECT_CORRECTION" | undefined;
|
|
5122
5651
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5129,6 +5658,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5129
5658
|
keepAssignment?: boolean | undefined;
|
|
5130
5659
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5131
5660
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5661
|
+
waitFor?: boolean | undefined;
|
|
5132
5662
|
createdAtLocation?: string | null | undefined;
|
|
5133
5663
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
5134
5664
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5140,6 +5670,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5140
5670
|
keepAssignment?: boolean | undefined;
|
|
5141
5671
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5142
5672
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5673
|
+
waitFor?: boolean | undefined;
|
|
5143
5674
|
createdAtLocation?: string | null | undefined;
|
|
5144
5675
|
type?: "READ" | undefined;
|
|
5145
5676
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5152,6 +5683,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5152
5683
|
keepAssignment?: boolean | undefined;
|
|
5153
5684
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5154
5685
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5686
|
+
waitFor?: boolean | undefined;
|
|
5155
5687
|
createdAtLocation?: string | null | undefined;
|
|
5156
5688
|
type?: "CUSTOM" | undefined;
|
|
5157
5689
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5166,6 +5698,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5166
5698
|
keepAssignment?: boolean | undefined;
|
|
5167
5699
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5168
5700
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5701
|
+
waitFor?: boolean | undefined;
|
|
5169
5702
|
createdAtLocation?: string | null | undefined;
|
|
5170
5703
|
type?: "EDIT" | undefined;
|
|
5171
5704
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
@@ -5179,6 +5712,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5179
5712
|
transactionId: import("zod").ZodString;
|
|
5180
5713
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5181
5714
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5715
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
5182
5716
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5183
5717
|
}, import("zod/v4/core").$strip>>;
|
|
5184
5718
|
output: import("../commons").EventDocument;
|
|
@@ -5222,6 +5756,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5222
5756
|
keepAssignment?: boolean | undefined;
|
|
5223
5757
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5224
5758
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5759
|
+
waitFor?: boolean | undefined;
|
|
5225
5760
|
type?: "CREATE" | undefined;
|
|
5226
5761
|
createdAtLocation?: string | null | undefined;
|
|
5227
5762
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5233,6 +5768,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5233
5768
|
keepAssignment?: boolean | undefined;
|
|
5234
5769
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5235
5770
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5771
|
+
waitFor?: boolean | undefined;
|
|
5236
5772
|
createdAtLocation?: string | null | undefined;
|
|
5237
5773
|
type?: "REGISTER" | undefined;
|
|
5238
5774
|
registrationNumber?: string | undefined;
|
|
@@ -5245,6 +5781,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5245
5781
|
keepAssignment?: boolean | undefined;
|
|
5246
5782
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5247
5783
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5784
|
+
waitFor?: boolean | undefined;
|
|
5248
5785
|
type?: "NOTIFY" | undefined;
|
|
5249
5786
|
createdAtLocation?: string | null | undefined;
|
|
5250
5787
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5256,6 +5793,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5256
5793
|
keepAssignment?: boolean | undefined;
|
|
5257
5794
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5258
5795
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5796
|
+
waitFor?: boolean | undefined;
|
|
5259
5797
|
createdAtLocation?: string | null | undefined;
|
|
5260
5798
|
type?: "DECLARE" | undefined;
|
|
5261
5799
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5270,6 +5808,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5270
5808
|
keepAssignment?: boolean | undefined;
|
|
5271
5809
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5272
5810
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5811
|
+
waitFor?: boolean | undefined;
|
|
5273
5812
|
createdAtLocation?: string | null | undefined;
|
|
5274
5813
|
type?: "REJECT" | undefined;
|
|
5275
5814
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5287,6 +5826,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5287
5826
|
keepAssignment?: boolean | undefined;
|
|
5288
5827
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5289
5828
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5829
|
+
waitFor?: boolean | undefined;
|
|
5290
5830
|
createdAtLocation?: string | null | undefined;
|
|
5291
5831
|
type?: "DUPLICATE_DETECTED" | undefined;
|
|
5292
5832
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5298,6 +5838,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5298
5838
|
keepAssignment?: boolean | undefined;
|
|
5299
5839
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5300
5840
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5841
|
+
waitFor?: boolean | undefined;
|
|
5301
5842
|
createdAtLocation?: string | null | undefined;
|
|
5302
5843
|
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
5303
5844
|
content?: {
|
|
@@ -5312,6 +5853,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5312
5853
|
keepAssignment?: boolean | undefined;
|
|
5313
5854
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5314
5855
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5856
|
+
waitFor?: boolean | undefined;
|
|
5315
5857
|
createdAtLocation?: string | null | undefined;
|
|
5316
5858
|
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
5317
5859
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5326,6 +5868,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5326
5868
|
keepAssignment?: boolean | undefined;
|
|
5327
5869
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5328
5870
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5871
|
+
waitFor?: boolean | undefined;
|
|
5329
5872
|
createdAtLocation?: string | null | undefined;
|
|
5330
5873
|
type?: "ARCHIVE" | undefined;
|
|
5331
5874
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5339,6 +5882,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5339
5882
|
keepAssignment?: boolean | undefined;
|
|
5340
5883
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5341
5884
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5885
|
+
waitFor?: boolean | undefined;
|
|
5342
5886
|
createdAtLocation?: string | null | undefined;
|
|
5343
5887
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5344
5888
|
eventId: string;
|
|
@@ -5349,6 +5893,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5349
5893
|
keepAssignment?: boolean | undefined;
|
|
5350
5894
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5351
5895
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5896
|
+
waitFor?: boolean | undefined;
|
|
5352
5897
|
createdAtLocation?: string | null | undefined;
|
|
5353
5898
|
type?: "UNASSIGN" | undefined;
|
|
5354
5899
|
assignedTo?: null | undefined;
|
|
@@ -5361,6 +5906,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5361
5906
|
keepAssignment?: boolean | undefined;
|
|
5362
5907
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5363
5908
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5909
|
+
waitFor?: boolean | undefined;
|
|
5364
5910
|
createdAtLocation?: string | null | undefined;
|
|
5365
5911
|
type?: "PRINT_CERTIFICATE" | undefined;
|
|
5366
5912
|
content?: {
|
|
@@ -5375,6 +5921,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5375
5921
|
keepAssignment?: boolean | undefined;
|
|
5376
5922
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5377
5923
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5924
|
+
waitFor?: boolean | undefined;
|
|
5378
5925
|
createdAtLocation?: string | null | undefined;
|
|
5379
5926
|
type?: "REQUEST_CORRECTION" | undefined;
|
|
5380
5927
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5390,6 +5937,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5390
5937
|
keepAssignment?: boolean | undefined;
|
|
5391
5938
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5392
5939
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5940
|
+
waitFor?: boolean | undefined;
|
|
5393
5941
|
createdAtLocation?: string | null | undefined;
|
|
5394
5942
|
type?: "REJECT_CORRECTION" | undefined;
|
|
5395
5943
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5402,6 +5950,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5402
5950
|
keepAssignment?: boolean | undefined;
|
|
5403
5951
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5404
5952
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5953
|
+
waitFor?: boolean | undefined;
|
|
5405
5954
|
createdAtLocation?: string | null | undefined;
|
|
5406
5955
|
type?: "APPROVE_CORRECTION" | undefined;
|
|
5407
5956
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5413,6 +5962,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5413
5962
|
keepAssignment?: boolean | undefined;
|
|
5414
5963
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5415
5964
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5965
|
+
waitFor?: boolean | undefined;
|
|
5416
5966
|
createdAtLocation?: string | null | undefined;
|
|
5417
5967
|
type?: "READ" | undefined;
|
|
5418
5968
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5425,6 +5975,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5425
5975
|
keepAssignment?: boolean | undefined;
|
|
5426
5976
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5427
5977
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5978
|
+
waitFor?: boolean | undefined;
|
|
5428
5979
|
createdAtLocation?: string | null | undefined;
|
|
5429
5980
|
type?: "CUSTOM" | undefined;
|
|
5430
5981
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
@@ -5439,6 +5990,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5439
5990
|
keepAssignment?: boolean | undefined;
|
|
5440
5991
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5441
5992
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
5993
|
+
waitFor?: boolean | undefined;
|
|
5442
5994
|
createdAtLocation?: string | null | undefined;
|
|
5443
5995
|
type?: "EDIT" | undefined;
|
|
5444
5996
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
@@ -5452,6 +6004,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5452
6004
|
transactionId: import("zod").ZodString;
|
|
5453
6005
|
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5454
6006
|
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6007
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
5455
6008
|
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
5456
6009
|
}, import("zod/v4/core").$strip>>;
|
|
5457
6010
|
output: import("../commons").EventDocument;
|
|
@@ -5491,6 +6044,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5491
6044
|
keepAssignment?: boolean | undefined;
|
|
5492
6045
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5493
6046
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
6047
|
+
waitFor?: boolean | undefined;
|
|
5494
6048
|
createdAtLocation?: string | null | undefined;
|
|
5495
6049
|
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
5496
6050
|
content?: {
|
|
@@ -5810,6 +6364,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5810
6364
|
keepAssignment?: boolean | undefined;
|
|
5811
6365
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
5812
6366
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
6367
|
+
waitFor?: boolean | undefined;
|
|
5813
6368
|
createdAtLocation?: string | null | undefined;
|
|
5814
6369
|
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
5815
6370
|
};
|
|
@@ -6138,7 +6693,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6138
6693
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6139
6694
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
6140
6695
|
createdByRole?: string | undefined;
|
|
6141
|
-
createdBySignature?: string | null | undefined;
|
|
6142
6696
|
} | null | undefined;
|
|
6143
6697
|
REGISTERED?: {
|
|
6144
6698
|
createdAt: string;
|
|
@@ -6148,7 +6702,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6148
6702
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6149
6703
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
6150
6704
|
createdByRole?: string | undefined;
|
|
6151
|
-
createdBySignature?: string | null | undefined;
|
|
6152
6705
|
} | null | undefined;
|
|
6153
6706
|
};
|
|
6154
6707
|
createdAt: string;
|
|
@@ -6166,7 +6719,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6166
6719
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
6167
6720
|
updatedByUserRole?: string | null | undefined;
|
|
6168
6721
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6169
|
-
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6170
6722
|
updatedAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6171
6723
|
assignedTo?: string | null | undefined;
|
|
6172
6724
|
updatedBy?: string | null | undefined;
|
|
@@ -6625,33 +7177,22 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6625
7177
|
input: string[];
|
|
6626
7178
|
output: ({
|
|
6627
7179
|
id: string & import("zod").$brand<"UUID">;
|
|
7180
|
+
type: "user";
|
|
6628
7181
|
name: {
|
|
6629
7182
|
firstname: string;
|
|
6630
7183
|
surname: string;
|
|
6631
7184
|
};
|
|
6632
7185
|
role: string;
|
|
6633
7186
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6634
|
-
|
|
6635
|
-
status: "active" | "pending" | "deactivated";
|
|
7187
|
+
fullHonorificName?: string | undefined;
|
|
6636
7188
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
6637
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6638
7189
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6639
|
-
device?: string | undefined;
|
|
6640
|
-
fullHonorificName?: string | undefined;
|
|
6641
|
-
mobile?: string | undefined;
|
|
6642
|
-
email?: string | undefined;
|
|
6643
|
-
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
6644
7190
|
} | {
|
|
6645
7191
|
id: string & import("zod").$brand<"UUID">;
|
|
6646
|
-
name: string;
|
|
6647
7192
|
type: "system";
|
|
7193
|
+
name: string;
|
|
6648
7194
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6649
7195
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6650
|
-
signature?: undefined;
|
|
6651
|
-
avatar?: undefined;
|
|
6652
|
-
fullHonorificName?: string | undefined;
|
|
6653
|
-
legacyId?: string | undefined;
|
|
6654
|
-
status?: undefined;
|
|
6655
7196
|
})[];
|
|
6656
7197
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
6657
7198
|
}>;
|
|
@@ -6669,33 +7210,24 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6669
7210
|
};
|
|
6670
7211
|
output: ({
|
|
6671
7212
|
id: string & import("zod").$brand<"UUID">;
|
|
7213
|
+
type: "user";
|
|
6672
7214
|
name: {
|
|
6673
7215
|
firstname: string;
|
|
6674
7216
|
surname: string;
|
|
6675
7217
|
};
|
|
6676
7218
|
role: string;
|
|
6677
7219
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6678
|
-
type: "user";
|
|
6679
7220
|
status: "active" | "pending" | "deactivated";
|
|
7221
|
+
fullHonorificName?: string | undefined;
|
|
6680
7222
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
6681
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6682
7223
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6683
|
-
device?: string | undefined;
|
|
6684
|
-
fullHonorificName?: string | undefined;
|
|
6685
|
-
mobile?: string | undefined;
|
|
6686
|
-
email?: string | undefined;
|
|
6687
|
-
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
6688
7224
|
} | {
|
|
6689
7225
|
id: string & import("zod").$brand<"UUID">;
|
|
6690
|
-
name: string;
|
|
6691
7226
|
type: "system";
|
|
7227
|
+
name: string;
|
|
6692
7228
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6693
7229
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6694
|
-
|
|
6695
|
-
avatar?: undefined;
|
|
6696
|
-
fullHonorificName?: string | undefined;
|
|
6697
|
-
legacyId?: string | undefined;
|
|
6698
|
-
status?: undefined;
|
|
7230
|
+
status?: "active" | "pending" | "deactivated" | undefined;
|
|
6699
7231
|
})[];
|
|
6700
7232
|
meta: object;
|
|
6701
7233
|
}>;
|
|
@@ -7558,7 +8090,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7558
8090
|
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
7559
8091
|
};
|
|
7560
8092
|
}[];
|
|
7561
|
-
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";
|
|
7562
8094
|
action?: {
|
|
7563
8095
|
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
7564
8096
|
} | undefined;
|