@learncard/types 5.6.4 → 5.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lcn.d.ts CHANGED
@@ -1079,6 +1079,1118 @@ export declare const BoostPermissionsValidator: z.ZodObject<{
1079
1079
  canViewAnalytics: boolean;
1080
1080
  }>;
1081
1081
  export type BoostPermissions = z.infer<typeof BoostPermissionsValidator>;
1082
+ export declare const BoostPermissionsQueryValidator: z.ZodObject<{
1083
+ role: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
1084
+ $in: z.ZodArray<z.ZodString, "many">;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ $in: string[];
1087
+ }, {
1088
+ $in: string[];
1089
+ }>]>, z.ZodObject<{
1090
+ $regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
1091
+ }, "strip", z.ZodTypeAny, {
1092
+ $regex: RegExp;
1093
+ }, {
1094
+ $regex: string | RegExp;
1095
+ }>]>>;
1096
+ canEdit: z.ZodOptional<z.ZodBoolean>;
1097
+ canIssue: z.ZodOptional<z.ZodBoolean>;
1098
+ canRevoke: z.ZodOptional<z.ZodBoolean>;
1099
+ canManagePermissions: z.ZodOptional<z.ZodBoolean>;
1100
+ canIssueChildren: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
1101
+ $in: z.ZodArray<z.ZodString, "many">;
1102
+ }, "strip", z.ZodTypeAny, {
1103
+ $in: string[];
1104
+ }, {
1105
+ $in: string[];
1106
+ }>]>, z.ZodObject<{
1107
+ $regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
1108
+ }, "strip", z.ZodTypeAny, {
1109
+ $regex: RegExp;
1110
+ }, {
1111
+ $regex: string | RegExp;
1112
+ }>]>>;
1113
+ canCreateChildren: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
1114
+ $in: z.ZodArray<z.ZodString, "many">;
1115
+ }, "strip", z.ZodTypeAny, {
1116
+ $in: string[];
1117
+ }, {
1118
+ $in: string[];
1119
+ }>]>, z.ZodObject<{
1120
+ $regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
1121
+ }, "strip", z.ZodTypeAny, {
1122
+ $regex: RegExp;
1123
+ }, {
1124
+ $regex: string | RegExp;
1125
+ }>]>>;
1126
+ canEditChildren: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
1127
+ $in: z.ZodArray<z.ZodString, "many">;
1128
+ }, "strip", z.ZodTypeAny, {
1129
+ $in: string[];
1130
+ }, {
1131
+ $in: string[];
1132
+ }>]>, z.ZodObject<{
1133
+ $regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
1134
+ }, "strip", z.ZodTypeAny, {
1135
+ $regex: RegExp;
1136
+ }, {
1137
+ $regex: string | RegExp;
1138
+ }>]>>;
1139
+ canRevokeChildren: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
1140
+ $in: z.ZodArray<z.ZodString, "many">;
1141
+ }, "strip", z.ZodTypeAny, {
1142
+ $in: string[];
1143
+ }, {
1144
+ $in: string[];
1145
+ }>]>, z.ZodObject<{
1146
+ $regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
1147
+ }, "strip", z.ZodTypeAny, {
1148
+ $regex: RegExp;
1149
+ }, {
1150
+ $regex: string | RegExp;
1151
+ }>]>>;
1152
+ canManageChildrenPermissions: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
1153
+ $in: z.ZodArray<z.ZodString, "many">;
1154
+ }, "strip", z.ZodTypeAny, {
1155
+ $in: string[];
1156
+ }, {
1157
+ $in: string[];
1158
+ }>]>, z.ZodObject<{
1159
+ $regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
1160
+ }, "strip", z.ZodTypeAny, {
1161
+ $regex: RegExp;
1162
+ }, {
1163
+ $regex: string | RegExp;
1164
+ }>]>>;
1165
+ canManageChildrenProfiles: z.ZodOptional<z.ZodBoolean>;
1166
+ canViewAnalytics: z.ZodOptional<z.ZodBoolean>;
1167
+ }, "strip", z.ZodTypeAny, {
1168
+ role?: string | {
1169
+ $in: string[];
1170
+ } | {
1171
+ $regex: RegExp;
1172
+ } | undefined;
1173
+ canEdit?: boolean | undefined;
1174
+ canIssue?: boolean | undefined;
1175
+ canRevoke?: boolean | undefined;
1176
+ canManagePermissions?: boolean | undefined;
1177
+ canIssueChildren?: string | {
1178
+ $in: string[];
1179
+ } | {
1180
+ $regex: RegExp;
1181
+ } | undefined;
1182
+ canCreateChildren?: string | {
1183
+ $in: string[];
1184
+ } | {
1185
+ $regex: RegExp;
1186
+ } | undefined;
1187
+ canEditChildren?: string | {
1188
+ $in: string[];
1189
+ } | {
1190
+ $regex: RegExp;
1191
+ } | undefined;
1192
+ canRevokeChildren?: string | {
1193
+ $in: string[];
1194
+ } | {
1195
+ $regex: RegExp;
1196
+ } | undefined;
1197
+ canManageChildrenPermissions?: string | {
1198
+ $in: string[];
1199
+ } | {
1200
+ $regex: RegExp;
1201
+ } | undefined;
1202
+ canManageChildrenProfiles?: boolean | undefined;
1203
+ canViewAnalytics?: boolean | undefined;
1204
+ }, {
1205
+ role?: string | {
1206
+ $in: string[];
1207
+ } | {
1208
+ $regex: string | RegExp;
1209
+ } | undefined;
1210
+ canEdit?: boolean | undefined;
1211
+ canIssue?: boolean | undefined;
1212
+ canRevoke?: boolean | undefined;
1213
+ canManagePermissions?: boolean | undefined;
1214
+ canIssueChildren?: string | {
1215
+ $in: string[];
1216
+ } | {
1217
+ $regex: string | RegExp;
1218
+ } | undefined;
1219
+ canCreateChildren?: string | {
1220
+ $in: string[];
1221
+ } | {
1222
+ $regex: string | RegExp;
1223
+ } | undefined;
1224
+ canEditChildren?: string | {
1225
+ $in: string[];
1226
+ } | {
1227
+ $regex: string | RegExp;
1228
+ } | undefined;
1229
+ canRevokeChildren?: string | {
1230
+ $in: string[];
1231
+ } | {
1232
+ $regex: string | RegExp;
1233
+ } | undefined;
1234
+ canManageChildrenPermissions?: string | {
1235
+ $in: string[];
1236
+ } | {
1237
+ $regex: string | RegExp;
1238
+ } | undefined;
1239
+ canManageChildrenProfiles?: boolean | undefined;
1240
+ canViewAnalytics?: boolean | undefined;
1241
+ }>;
1242
+ export type BoostPermissionsQuery = z.infer<typeof BoostPermissionsQueryValidator>;
1243
+ export declare const ClaimHookTypeValidator: z.ZodEnum<["GRANT_PERMISSIONS", "ADD_ADMIN"]>;
1244
+ export type ClaimHookType = z.infer<typeof ClaimHookTypeValidator>;
1245
+ export declare const ClaimHookValidator: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1246
+ type: z.ZodLiteral<"GRANT_PERMISSIONS">;
1247
+ data: z.ZodObject<{
1248
+ claimUri: z.ZodString;
1249
+ targetUri: z.ZodString;
1250
+ permissions: z.ZodObject<{
1251
+ role: z.ZodOptional<z.ZodString>;
1252
+ canEdit: z.ZodOptional<z.ZodBoolean>;
1253
+ canIssue: z.ZodOptional<z.ZodBoolean>;
1254
+ canRevoke: z.ZodOptional<z.ZodBoolean>;
1255
+ canManagePermissions: z.ZodOptional<z.ZodBoolean>;
1256
+ canIssueChildren: z.ZodOptional<z.ZodString>;
1257
+ canCreateChildren: z.ZodOptional<z.ZodString>;
1258
+ canEditChildren: z.ZodOptional<z.ZodString>;
1259
+ canRevokeChildren: z.ZodOptional<z.ZodString>;
1260
+ canManageChildrenPermissions: z.ZodOptional<z.ZodString>;
1261
+ canManageChildrenProfiles: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
1262
+ canViewAnalytics: z.ZodOptional<z.ZodBoolean>;
1263
+ }, "strip", z.ZodTypeAny, {
1264
+ role?: string | undefined;
1265
+ canEdit?: boolean | undefined;
1266
+ canIssue?: boolean | undefined;
1267
+ canRevoke?: boolean | undefined;
1268
+ canManagePermissions?: boolean | undefined;
1269
+ canIssueChildren?: string | undefined;
1270
+ canCreateChildren?: string | undefined;
1271
+ canEditChildren?: string | undefined;
1272
+ canRevokeChildren?: string | undefined;
1273
+ canManageChildrenPermissions?: string | undefined;
1274
+ canManageChildrenProfiles?: boolean | undefined;
1275
+ canViewAnalytics?: boolean | undefined;
1276
+ }, {
1277
+ role?: string | undefined;
1278
+ canEdit?: boolean | undefined;
1279
+ canIssue?: boolean | undefined;
1280
+ canRevoke?: boolean | undefined;
1281
+ canManagePermissions?: boolean | undefined;
1282
+ canIssueChildren?: string | undefined;
1283
+ canCreateChildren?: string | undefined;
1284
+ canEditChildren?: string | undefined;
1285
+ canRevokeChildren?: string | undefined;
1286
+ canManageChildrenPermissions?: string | undefined;
1287
+ canManageChildrenProfiles?: boolean | undefined;
1288
+ canViewAnalytics?: boolean | undefined;
1289
+ }>;
1290
+ }, "strip", z.ZodTypeAny, {
1291
+ claimUri: string;
1292
+ targetUri: string;
1293
+ permissions: {
1294
+ role?: string | undefined;
1295
+ canEdit?: boolean | undefined;
1296
+ canIssue?: boolean | undefined;
1297
+ canRevoke?: boolean | undefined;
1298
+ canManagePermissions?: boolean | undefined;
1299
+ canIssueChildren?: string | undefined;
1300
+ canCreateChildren?: string | undefined;
1301
+ canEditChildren?: string | undefined;
1302
+ canRevokeChildren?: string | undefined;
1303
+ canManageChildrenPermissions?: string | undefined;
1304
+ canManageChildrenProfiles?: boolean | undefined;
1305
+ canViewAnalytics?: boolean | undefined;
1306
+ };
1307
+ }, {
1308
+ claimUri: string;
1309
+ targetUri: string;
1310
+ permissions: {
1311
+ role?: string | undefined;
1312
+ canEdit?: boolean | undefined;
1313
+ canIssue?: boolean | undefined;
1314
+ canRevoke?: boolean | undefined;
1315
+ canManagePermissions?: boolean | undefined;
1316
+ canIssueChildren?: string | undefined;
1317
+ canCreateChildren?: string | undefined;
1318
+ canEditChildren?: string | undefined;
1319
+ canRevokeChildren?: string | undefined;
1320
+ canManageChildrenPermissions?: string | undefined;
1321
+ canManageChildrenProfiles?: boolean | undefined;
1322
+ canViewAnalytics?: boolean | undefined;
1323
+ };
1324
+ }>;
1325
+ }, "strip", z.ZodTypeAny, {
1326
+ type: "GRANT_PERMISSIONS";
1327
+ data: {
1328
+ claimUri: string;
1329
+ targetUri: string;
1330
+ permissions: {
1331
+ role?: string | undefined;
1332
+ canEdit?: boolean | undefined;
1333
+ canIssue?: boolean | undefined;
1334
+ canRevoke?: boolean | undefined;
1335
+ canManagePermissions?: boolean | undefined;
1336
+ canIssueChildren?: string | undefined;
1337
+ canCreateChildren?: string | undefined;
1338
+ canEditChildren?: string | undefined;
1339
+ canRevokeChildren?: string | undefined;
1340
+ canManageChildrenPermissions?: string | undefined;
1341
+ canManageChildrenProfiles?: boolean | undefined;
1342
+ canViewAnalytics?: boolean | undefined;
1343
+ };
1344
+ };
1345
+ }, {
1346
+ type: "GRANT_PERMISSIONS";
1347
+ data: {
1348
+ claimUri: string;
1349
+ targetUri: string;
1350
+ permissions: {
1351
+ role?: string | undefined;
1352
+ canEdit?: boolean | undefined;
1353
+ canIssue?: boolean | undefined;
1354
+ canRevoke?: boolean | undefined;
1355
+ canManagePermissions?: boolean | undefined;
1356
+ canIssueChildren?: string | undefined;
1357
+ canCreateChildren?: string | undefined;
1358
+ canEditChildren?: string | undefined;
1359
+ canRevokeChildren?: string | undefined;
1360
+ canManageChildrenPermissions?: string | undefined;
1361
+ canManageChildrenProfiles?: boolean | undefined;
1362
+ canViewAnalytics?: boolean | undefined;
1363
+ };
1364
+ };
1365
+ }>, z.ZodObject<{
1366
+ type: z.ZodLiteral<"ADD_ADMIN">;
1367
+ data: z.ZodObject<{
1368
+ claimUri: z.ZodString;
1369
+ targetUri: z.ZodString;
1370
+ }, "strip", z.ZodTypeAny, {
1371
+ claimUri: string;
1372
+ targetUri: string;
1373
+ }, {
1374
+ claimUri: string;
1375
+ targetUri: string;
1376
+ }>;
1377
+ }, "strip", z.ZodTypeAny, {
1378
+ type: "ADD_ADMIN";
1379
+ data: {
1380
+ claimUri: string;
1381
+ targetUri: string;
1382
+ };
1383
+ }, {
1384
+ type: "ADD_ADMIN";
1385
+ data: {
1386
+ claimUri: string;
1387
+ targetUri: string;
1388
+ };
1389
+ }>]>;
1390
+ export type ClaimHook = z.infer<typeof ClaimHookValidator>;
1391
+ export declare const ClaimHookQueryValidator: z.ZodObject<{
1392
+ type: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
1393
+ $in: z.ZodArray<z.ZodString, "many">;
1394
+ }, "strip", z.ZodTypeAny, {
1395
+ $in: string[];
1396
+ }, {
1397
+ $in: string[];
1398
+ }>]>, z.ZodObject<{
1399
+ $regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
1400
+ }, "strip", z.ZodTypeAny, {
1401
+ $regex: RegExp;
1402
+ }, {
1403
+ $regex: string | RegExp;
1404
+ }>]>>;
1405
+ data: z.ZodOptional<z.ZodObject<{
1406
+ claimUri: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
1407
+ $in: z.ZodArray<z.ZodString, "many">;
1408
+ }, "strip", z.ZodTypeAny, {
1409
+ $in: string[];
1410
+ }, {
1411
+ $in: string[];
1412
+ }>]>, z.ZodObject<{
1413
+ $regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
1414
+ }, "strip", z.ZodTypeAny, {
1415
+ $regex: RegExp;
1416
+ }, {
1417
+ $regex: string | RegExp;
1418
+ }>]>>;
1419
+ targetUri: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
1420
+ $in: z.ZodArray<z.ZodString, "many">;
1421
+ }, "strip", z.ZodTypeAny, {
1422
+ $in: string[];
1423
+ }, {
1424
+ $in: string[];
1425
+ }>]>, z.ZodObject<{
1426
+ $regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
1427
+ }, "strip", z.ZodTypeAny, {
1428
+ $regex: RegExp;
1429
+ }, {
1430
+ $regex: string | RegExp;
1431
+ }>]>>;
1432
+ permissions: z.ZodOptional<z.ZodObject<{
1433
+ role: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
1434
+ $in: z.ZodArray<z.ZodString, "many">;
1435
+ }, "strip", z.ZodTypeAny, {
1436
+ $in: string[];
1437
+ }, {
1438
+ $in: string[];
1439
+ }>]>, z.ZodObject<{
1440
+ $regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
1441
+ }, "strip", z.ZodTypeAny, {
1442
+ $regex: RegExp;
1443
+ }, {
1444
+ $regex: string | RegExp;
1445
+ }>]>>>;
1446
+ canEdit: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1447
+ canIssue: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1448
+ canRevoke: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1449
+ canManagePermissions: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1450
+ canIssueChildren: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
1451
+ $in: z.ZodArray<z.ZodString, "many">;
1452
+ }, "strip", z.ZodTypeAny, {
1453
+ $in: string[];
1454
+ }, {
1455
+ $in: string[];
1456
+ }>]>, z.ZodObject<{
1457
+ $regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
1458
+ }, "strip", z.ZodTypeAny, {
1459
+ $regex: RegExp;
1460
+ }, {
1461
+ $regex: string | RegExp;
1462
+ }>]>>>;
1463
+ canCreateChildren: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
1464
+ $in: z.ZodArray<z.ZodString, "many">;
1465
+ }, "strip", z.ZodTypeAny, {
1466
+ $in: string[];
1467
+ }, {
1468
+ $in: string[];
1469
+ }>]>, z.ZodObject<{
1470
+ $regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
1471
+ }, "strip", z.ZodTypeAny, {
1472
+ $regex: RegExp;
1473
+ }, {
1474
+ $regex: string | RegExp;
1475
+ }>]>>>;
1476
+ canEditChildren: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
1477
+ $in: z.ZodArray<z.ZodString, "many">;
1478
+ }, "strip", z.ZodTypeAny, {
1479
+ $in: string[];
1480
+ }, {
1481
+ $in: string[];
1482
+ }>]>, z.ZodObject<{
1483
+ $regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
1484
+ }, "strip", z.ZodTypeAny, {
1485
+ $regex: RegExp;
1486
+ }, {
1487
+ $regex: string | RegExp;
1488
+ }>]>>>;
1489
+ canRevokeChildren: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
1490
+ $in: z.ZodArray<z.ZodString, "many">;
1491
+ }, "strip", z.ZodTypeAny, {
1492
+ $in: string[];
1493
+ }, {
1494
+ $in: string[];
1495
+ }>]>, z.ZodObject<{
1496
+ $regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
1497
+ }, "strip", z.ZodTypeAny, {
1498
+ $regex: RegExp;
1499
+ }, {
1500
+ $regex: string | RegExp;
1501
+ }>]>>>;
1502
+ canManageChildrenPermissions: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
1503
+ $in: z.ZodArray<z.ZodString, "many">;
1504
+ }, "strip", z.ZodTypeAny, {
1505
+ $in: string[];
1506
+ }, {
1507
+ $in: string[];
1508
+ }>]>, z.ZodObject<{
1509
+ $regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
1510
+ }, "strip", z.ZodTypeAny, {
1511
+ $regex: RegExp;
1512
+ }, {
1513
+ $regex: string | RegExp;
1514
+ }>]>>>;
1515
+ canManageChildrenProfiles: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1516
+ canViewAnalytics: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1517
+ }, "strip", z.ZodTypeAny, {
1518
+ role?: string | {
1519
+ $in: string[];
1520
+ } | {
1521
+ $regex: RegExp;
1522
+ } | undefined;
1523
+ canEdit?: boolean | undefined;
1524
+ canIssue?: boolean | undefined;
1525
+ canRevoke?: boolean | undefined;
1526
+ canManagePermissions?: boolean | undefined;
1527
+ canIssueChildren?: string | {
1528
+ $in: string[];
1529
+ } | {
1530
+ $regex: RegExp;
1531
+ } | undefined;
1532
+ canCreateChildren?: string | {
1533
+ $in: string[];
1534
+ } | {
1535
+ $regex: RegExp;
1536
+ } | undefined;
1537
+ canEditChildren?: string | {
1538
+ $in: string[];
1539
+ } | {
1540
+ $regex: RegExp;
1541
+ } | undefined;
1542
+ canRevokeChildren?: string | {
1543
+ $in: string[];
1544
+ } | {
1545
+ $regex: RegExp;
1546
+ } | undefined;
1547
+ canManageChildrenPermissions?: string | {
1548
+ $in: string[];
1549
+ } | {
1550
+ $regex: RegExp;
1551
+ } | undefined;
1552
+ canManageChildrenProfiles?: boolean | undefined;
1553
+ canViewAnalytics?: boolean | undefined;
1554
+ }, {
1555
+ role?: string | {
1556
+ $in: string[];
1557
+ } | {
1558
+ $regex: string | RegExp;
1559
+ } | undefined;
1560
+ canEdit?: boolean | undefined;
1561
+ canIssue?: boolean | undefined;
1562
+ canRevoke?: boolean | undefined;
1563
+ canManagePermissions?: boolean | undefined;
1564
+ canIssueChildren?: string | {
1565
+ $in: string[];
1566
+ } | {
1567
+ $regex: string | RegExp;
1568
+ } | undefined;
1569
+ canCreateChildren?: string | {
1570
+ $in: string[];
1571
+ } | {
1572
+ $regex: string | RegExp;
1573
+ } | undefined;
1574
+ canEditChildren?: string | {
1575
+ $in: string[];
1576
+ } | {
1577
+ $regex: string | RegExp;
1578
+ } | undefined;
1579
+ canRevokeChildren?: string | {
1580
+ $in: string[];
1581
+ } | {
1582
+ $regex: string | RegExp;
1583
+ } | undefined;
1584
+ canManageChildrenPermissions?: string | {
1585
+ $in: string[];
1586
+ } | {
1587
+ $regex: string | RegExp;
1588
+ } | undefined;
1589
+ canManageChildrenProfiles?: boolean | undefined;
1590
+ canViewAnalytics?: boolean | undefined;
1591
+ }>>;
1592
+ }, "strip", z.ZodTypeAny, {
1593
+ claimUri?: string | {
1594
+ $in: string[];
1595
+ } | {
1596
+ $regex: RegExp;
1597
+ } | undefined;
1598
+ targetUri?: string | {
1599
+ $in: string[];
1600
+ } | {
1601
+ $regex: RegExp;
1602
+ } | undefined;
1603
+ permissions?: {
1604
+ role?: string | {
1605
+ $in: string[];
1606
+ } | {
1607
+ $regex: RegExp;
1608
+ } | undefined;
1609
+ canEdit?: boolean | undefined;
1610
+ canIssue?: boolean | undefined;
1611
+ canRevoke?: boolean | undefined;
1612
+ canManagePermissions?: boolean | undefined;
1613
+ canIssueChildren?: string | {
1614
+ $in: string[];
1615
+ } | {
1616
+ $regex: RegExp;
1617
+ } | undefined;
1618
+ canCreateChildren?: string | {
1619
+ $in: string[];
1620
+ } | {
1621
+ $regex: RegExp;
1622
+ } | undefined;
1623
+ canEditChildren?: string | {
1624
+ $in: string[];
1625
+ } | {
1626
+ $regex: RegExp;
1627
+ } | undefined;
1628
+ canRevokeChildren?: string | {
1629
+ $in: string[];
1630
+ } | {
1631
+ $regex: RegExp;
1632
+ } | undefined;
1633
+ canManageChildrenPermissions?: string | {
1634
+ $in: string[];
1635
+ } | {
1636
+ $regex: RegExp;
1637
+ } | undefined;
1638
+ canManageChildrenProfiles?: boolean | undefined;
1639
+ canViewAnalytics?: boolean | undefined;
1640
+ } | undefined;
1641
+ }, {
1642
+ claimUri?: string | {
1643
+ $in: string[];
1644
+ } | {
1645
+ $regex: string | RegExp;
1646
+ } | undefined;
1647
+ targetUri?: string | {
1648
+ $in: string[];
1649
+ } | {
1650
+ $regex: string | RegExp;
1651
+ } | undefined;
1652
+ permissions?: {
1653
+ role?: string | {
1654
+ $in: string[];
1655
+ } | {
1656
+ $regex: string | RegExp;
1657
+ } | undefined;
1658
+ canEdit?: boolean | undefined;
1659
+ canIssue?: boolean | undefined;
1660
+ canRevoke?: boolean | undefined;
1661
+ canManagePermissions?: boolean | undefined;
1662
+ canIssueChildren?: string | {
1663
+ $in: string[];
1664
+ } | {
1665
+ $regex: string | RegExp;
1666
+ } | undefined;
1667
+ canCreateChildren?: string | {
1668
+ $in: string[];
1669
+ } | {
1670
+ $regex: string | RegExp;
1671
+ } | undefined;
1672
+ canEditChildren?: string | {
1673
+ $in: string[];
1674
+ } | {
1675
+ $regex: string | RegExp;
1676
+ } | undefined;
1677
+ canRevokeChildren?: string | {
1678
+ $in: string[];
1679
+ } | {
1680
+ $regex: string | RegExp;
1681
+ } | undefined;
1682
+ canManageChildrenPermissions?: string | {
1683
+ $in: string[];
1684
+ } | {
1685
+ $regex: string | RegExp;
1686
+ } | undefined;
1687
+ canManageChildrenProfiles?: boolean | undefined;
1688
+ canViewAnalytics?: boolean | undefined;
1689
+ } | undefined;
1690
+ }>>;
1691
+ }, "strip", z.ZodTypeAny, {
1692
+ type?: string | {
1693
+ $in: string[];
1694
+ } | {
1695
+ $regex: RegExp;
1696
+ } | undefined;
1697
+ data?: {
1698
+ claimUri?: string | {
1699
+ $in: string[];
1700
+ } | {
1701
+ $regex: RegExp;
1702
+ } | undefined;
1703
+ targetUri?: string | {
1704
+ $in: string[];
1705
+ } | {
1706
+ $regex: RegExp;
1707
+ } | undefined;
1708
+ permissions?: {
1709
+ role?: string | {
1710
+ $in: string[];
1711
+ } | {
1712
+ $regex: RegExp;
1713
+ } | undefined;
1714
+ canEdit?: boolean | undefined;
1715
+ canIssue?: boolean | undefined;
1716
+ canRevoke?: boolean | undefined;
1717
+ canManagePermissions?: boolean | undefined;
1718
+ canIssueChildren?: string | {
1719
+ $in: string[];
1720
+ } | {
1721
+ $regex: RegExp;
1722
+ } | undefined;
1723
+ canCreateChildren?: string | {
1724
+ $in: string[];
1725
+ } | {
1726
+ $regex: RegExp;
1727
+ } | undefined;
1728
+ canEditChildren?: string | {
1729
+ $in: string[];
1730
+ } | {
1731
+ $regex: RegExp;
1732
+ } | undefined;
1733
+ canRevokeChildren?: string | {
1734
+ $in: string[];
1735
+ } | {
1736
+ $regex: RegExp;
1737
+ } | undefined;
1738
+ canManageChildrenPermissions?: string | {
1739
+ $in: string[];
1740
+ } | {
1741
+ $regex: RegExp;
1742
+ } | undefined;
1743
+ canManageChildrenProfiles?: boolean | undefined;
1744
+ canViewAnalytics?: boolean | undefined;
1745
+ } | undefined;
1746
+ } | undefined;
1747
+ }, {
1748
+ type?: string | {
1749
+ $in: string[];
1750
+ } | {
1751
+ $regex: string | RegExp;
1752
+ } | undefined;
1753
+ data?: {
1754
+ claimUri?: string | {
1755
+ $in: string[];
1756
+ } | {
1757
+ $regex: string | RegExp;
1758
+ } | undefined;
1759
+ targetUri?: string | {
1760
+ $in: string[];
1761
+ } | {
1762
+ $regex: string | RegExp;
1763
+ } | undefined;
1764
+ permissions?: {
1765
+ role?: string | {
1766
+ $in: string[];
1767
+ } | {
1768
+ $regex: string | RegExp;
1769
+ } | undefined;
1770
+ canEdit?: boolean | undefined;
1771
+ canIssue?: boolean | undefined;
1772
+ canRevoke?: boolean | undefined;
1773
+ canManagePermissions?: boolean | undefined;
1774
+ canIssueChildren?: string | {
1775
+ $in: string[];
1776
+ } | {
1777
+ $regex: string | RegExp;
1778
+ } | undefined;
1779
+ canCreateChildren?: string | {
1780
+ $in: string[];
1781
+ } | {
1782
+ $regex: string | RegExp;
1783
+ } | undefined;
1784
+ canEditChildren?: string | {
1785
+ $in: string[];
1786
+ } | {
1787
+ $regex: string | RegExp;
1788
+ } | undefined;
1789
+ canRevokeChildren?: string | {
1790
+ $in: string[];
1791
+ } | {
1792
+ $regex: string | RegExp;
1793
+ } | undefined;
1794
+ canManageChildrenPermissions?: string | {
1795
+ $in: string[];
1796
+ } | {
1797
+ $regex: string | RegExp;
1798
+ } | undefined;
1799
+ canManageChildrenProfiles?: boolean | undefined;
1800
+ canViewAnalytics?: boolean | undefined;
1801
+ } | undefined;
1802
+ } | undefined;
1803
+ }>;
1804
+ export type ClaimHookQuery = z.infer<typeof ClaimHookQueryValidator>;
1805
+ export declare const FullClaimHookValidator: z.ZodIntersection<z.ZodObject<{
1806
+ id: z.ZodString;
1807
+ createdAt: z.ZodString;
1808
+ updatedAt: z.ZodString;
1809
+ }, "strip", z.ZodTypeAny, {
1810
+ id: string;
1811
+ createdAt: string;
1812
+ updatedAt: string;
1813
+ }, {
1814
+ id: string;
1815
+ createdAt: string;
1816
+ updatedAt: string;
1817
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1818
+ type: z.ZodLiteral<"GRANT_PERMISSIONS">;
1819
+ data: z.ZodObject<{
1820
+ claimUri: z.ZodString;
1821
+ targetUri: z.ZodString;
1822
+ permissions: z.ZodObject<{
1823
+ role: z.ZodOptional<z.ZodString>;
1824
+ canEdit: z.ZodOptional<z.ZodBoolean>;
1825
+ canIssue: z.ZodOptional<z.ZodBoolean>;
1826
+ canRevoke: z.ZodOptional<z.ZodBoolean>;
1827
+ canManagePermissions: z.ZodOptional<z.ZodBoolean>;
1828
+ canIssueChildren: z.ZodOptional<z.ZodString>;
1829
+ canCreateChildren: z.ZodOptional<z.ZodString>;
1830
+ canEditChildren: z.ZodOptional<z.ZodString>;
1831
+ canRevokeChildren: z.ZodOptional<z.ZodString>;
1832
+ canManageChildrenPermissions: z.ZodOptional<z.ZodString>;
1833
+ canManageChildrenProfiles: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
1834
+ canViewAnalytics: z.ZodOptional<z.ZodBoolean>;
1835
+ }, "strip", z.ZodTypeAny, {
1836
+ role?: string | undefined;
1837
+ canEdit?: boolean | undefined;
1838
+ canIssue?: boolean | undefined;
1839
+ canRevoke?: boolean | undefined;
1840
+ canManagePermissions?: boolean | undefined;
1841
+ canIssueChildren?: string | undefined;
1842
+ canCreateChildren?: string | undefined;
1843
+ canEditChildren?: string | undefined;
1844
+ canRevokeChildren?: string | undefined;
1845
+ canManageChildrenPermissions?: string | undefined;
1846
+ canManageChildrenProfiles?: boolean | undefined;
1847
+ canViewAnalytics?: boolean | undefined;
1848
+ }, {
1849
+ role?: string | undefined;
1850
+ canEdit?: boolean | undefined;
1851
+ canIssue?: boolean | undefined;
1852
+ canRevoke?: boolean | undefined;
1853
+ canManagePermissions?: boolean | undefined;
1854
+ canIssueChildren?: string | undefined;
1855
+ canCreateChildren?: string | undefined;
1856
+ canEditChildren?: string | undefined;
1857
+ canRevokeChildren?: string | undefined;
1858
+ canManageChildrenPermissions?: string | undefined;
1859
+ canManageChildrenProfiles?: boolean | undefined;
1860
+ canViewAnalytics?: boolean | undefined;
1861
+ }>;
1862
+ }, "strip", z.ZodTypeAny, {
1863
+ claimUri: string;
1864
+ targetUri: string;
1865
+ permissions: {
1866
+ role?: string | undefined;
1867
+ canEdit?: boolean | undefined;
1868
+ canIssue?: boolean | undefined;
1869
+ canRevoke?: boolean | undefined;
1870
+ canManagePermissions?: boolean | undefined;
1871
+ canIssueChildren?: string | undefined;
1872
+ canCreateChildren?: string | undefined;
1873
+ canEditChildren?: string | undefined;
1874
+ canRevokeChildren?: string | undefined;
1875
+ canManageChildrenPermissions?: string | undefined;
1876
+ canManageChildrenProfiles?: boolean | undefined;
1877
+ canViewAnalytics?: boolean | undefined;
1878
+ };
1879
+ }, {
1880
+ claimUri: string;
1881
+ targetUri: string;
1882
+ permissions: {
1883
+ role?: string | undefined;
1884
+ canEdit?: boolean | undefined;
1885
+ canIssue?: boolean | undefined;
1886
+ canRevoke?: boolean | undefined;
1887
+ canManagePermissions?: boolean | undefined;
1888
+ canIssueChildren?: string | undefined;
1889
+ canCreateChildren?: string | undefined;
1890
+ canEditChildren?: string | undefined;
1891
+ canRevokeChildren?: string | undefined;
1892
+ canManageChildrenPermissions?: string | undefined;
1893
+ canManageChildrenProfiles?: boolean | undefined;
1894
+ canViewAnalytics?: boolean | undefined;
1895
+ };
1896
+ }>;
1897
+ }, "strip", z.ZodTypeAny, {
1898
+ type: "GRANT_PERMISSIONS";
1899
+ data: {
1900
+ claimUri: string;
1901
+ targetUri: string;
1902
+ permissions: {
1903
+ role?: string | undefined;
1904
+ canEdit?: boolean | undefined;
1905
+ canIssue?: boolean | undefined;
1906
+ canRevoke?: boolean | undefined;
1907
+ canManagePermissions?: boolean | undefined;
1908
+ canIssueChildren?: string | undefined;
1909
+ canCreateChildren?: string | undefined;
1910
+ canEditChildren?: string | undefined;
1911
+ canRevokeChildren?: string | undefined;
1912
+ canManageChildrenPermissions?: string | undefined;
1913
+ canManageChildrenProfiles?: boolean | undefined;
1914
+ canViewAnalytics?: boolean | undefined;
1915
+ };
1916
+ };
1917
+ }, {
1918
+ type: "GRANT_PERMISSIONS";
1919
+ data: {
1920
+ claimUri: string;
1921
+ targetUri: string;
1922
+ permissions: {
1923
+ role?: string | undefined;
1924
+ canEdit?: boolean | undefined;
1925
+ canIssue?: boolean | undefined;
1926
+ canRevoke?: boolean | undefined;
1927
+ canManagePermissions?: boolean | undefined;
1928
+ canIssueChildren?: string | undefined;
1929
+ canCreateChildren?: string | undefined;
1930
+ canEditChildren?: string | undefined;
1931
+ canRevokeChildren?: string | undefined;
1932
+ canManageChildrenPermissions?: string | undefined;
1933
+ canManageChildrenProfiles?: boolean | undefined;
1934
+ canViewAnalytics?: boolean | undefined;
1935
+ };
1936
+ };
1937
+ }>, z.ZodObject<{
1938
+ type: z.ZodLiteral<"ADD_ADMIN">;
1939
+ data: z.ZodObject<{
1940
+ claimUri: z.ZodString;
1941
+ targetUri: z.ZodString;
1942
+ }, "strip", z.ZodTypeAny, {
1943
+ claimUri: string;
1944
+ targetUri: string;
1945
+ }, {
1946
+ claimUri: string;
1947
+ targetUri: string;
1948
+ }>;
1949
+ }, "strip", z.ZodTypeAny, {
1950
+ type: "ADD_ADMIN";
1951
+ data: {
1952
+ claimUri: string;
1953
+ targetUri: string;
1954
+ };
1955
+ }, {
1956
+ type: "ADD_ADMIN";
1957
+ data: {
1958
+ claimUri: string;
1959
+ targetUri: string;
1960
+ };
1961
+ }>]>>;
1962
+ export type FullClaimHook = z.infer<typeof FullClaimHookValidator>;
1963
+ export declare const PaginatedClaimHooksValidator: z.ZodObject<z.extendShape<{
1964
+ cursor: z.ZodOptional<z.ZodString>;
1965
+ hasMore: z.ZodBoolean;
1966
+ }, {
1967
+ records: z.ZodArray<z.ZodIntersection<z.ZodObject<{
1968
+ id: z.ZodString;
1969
+ createdAt: z.ZodString;
1970
+ updatedAt: z.ZodString;
1971
+ }, "strip", z.ZodTypeAny, {
1972
+ id: string;
1973
+ createdAt: string;
1974
+ updatedAt: string;
1975
+ }, {
1976
+ id: string;
1977
+ createdAt: string;
1978
+ updatedAt: string;
1979
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1980
+ type: z.ZodLiteral<"GRANT_PERMISSIONS">;
1981
+ data: z.ZodObject<{
1982
+ claimUri: z.ZodString;
1983
+ targetUri: z.ZodString;
1984
+ permissions: z.ZodObject<{
1985
+ role: z.ZodOptional<z.ZodString>;
1986
+ canEdit: z.ZodOptional<z.ZodBoolean>;
1987
+ canIssue: z.ZodOptional<z.ZodBoolean>;
1988
+ canRevoke: z.ZodOptional<z.ZodBoolean>;
1989
+ canManagePermissions: z.ZodOptional<z.ZodBoolean>;
1990
+ canIssueChildren: z.ZodOptional<z.ZodString>;
1991
+ canCreateChildren: z.ZodOptional<z.ZodString>;
1992
+ canEditChildren: z.ZodOptional<z.ZodString>;
1993
+ canRevokeChildren: z.ZodOptional<z.ZodString>;
1994
+ canManageChildrenPermissions: z.ZodOptional<z.ZodString>;
1995
+ canManageChildrenProfiles: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
1996
+ canViewAnalytics: z.ZodOptional<z.ZodBoolean>;
1997
+ }, "strip", z.ZodTypeAny, {
1998
+ role?: string | undefined;
1999
+ canEdit?: boolean | undefined;
2000
+ canIssue?: boolean | undefined;
2001
+ canRevoke?: boolean | undefined;
2002
+ canManagePermissions?: boolean | undefined;
2003
+ canIssueChildren?: string | undefined;
2004
+ canCreateChildren?: string | undefined;
2005
+ canEditChildren?: string | undefined;
2006
+ canRevokeChildren?: string | undefined;
2007
+ canManageChildrenPermissions?: string | undefined;
2008
+ canManageChildrenProfiles?: boolean | undefined;
2009
+ canViewAnalytics?: boolean | undefined;
2010
+ }, {
2011
+ role?: string | undefined;
2012
+ canEdit?: boolean | undefined;
2013
+ canIssue?: boolean | undefined;
2014
+ canRevoke?: boolean | undefined;
2015
+ canManagePermissions?: boolean | undefined;
2016
+ canIssueChildren?: string | undefined;
2017
+ canCreateChildren?: string | undefined;
2018
+ canEditChildren?: string | undefined;
2019
+ canRevokeChildren?: string | undefined;
2020
+ canManageChildrenPermissions?: string | undefined;
2021
+ canManageChildrenProfiles?: boolean | undefined;
2022
+ canViewAnalytics?: boolean | undefined;
2023
+ }>;
2024
+ }, "strip", z.ZodTypeAny, {
2025
+ claimUri: string;
2026
+ targetUri: string;
2027
+ permissions: {
2028
+ role?: string | undefined;
2029
+ canEdit?: boolean | undefined;
2030
+ canIssue?: boolean | undefined;
2031
+ canRevoke?: boolean | undefined;
2032
+ canManagePermissions?: boolean | undefined;
2033
+ canIssueChildren?: string | undefined;
2034
+ canCreateChildren?: string | undefined;
2035
+ canEditChildren?: string | undefined;
2036
+ canRevokeChildren?: string | undefined;
2037
+ canManageChildrenPermissions?: string | undefined;
2038
+ canManageChildrenProfiles?: boolean | undefined;
2039
+ canViewAnalytics?: boolean | undefined;
2040
+ };
2041
+ }, {
2042
+ claimUri: string;
2043
+ targetUri: string;
2044
+ permissions: {
2045
+ role?: string | undefined;
2046
+ canEdit?: boolean | undefined;
2047
+ canIssue?: boolean | undefined;
2048
+ canRevoke?: boolean | undefined;
2049
+ canManagePermissions?: boolean | undefined;
2050
+ canIssueChildren?: string | undefined;
2051
+ canCreateChildren?: string | undefined;
2052
+ canEditChildren?: string | undefined;
2053
+ canRevokeChildren?: string | undefined;
2054
+ canManageChildrenPermissions?: string | undefined;
2055
+ canManageChildrenProfiles?: boolean | undefined;
2056
+ canViewAnalytics?: boolean | undefined;
2057
+ };
2058
+ }>;
2059
+ }, "strip", z.ZodTypeAny, {
2060
+ type: "GRANT_PERMISSIONS";
2061
+ data: {
2062
+ claimUri: string;
2063
+ targetUri: string;
2064
+ permissions: {
2065
+ role?: string | undefined;
2066
+ canEdit?: boolean | undefined;
2067
+ canIssue?: boolean | undefined;
2068
+ canRevoke?: boolean | undefined;
2069
+ canManagePermissions?: boolean | undefined;
2070
+ canIssueChildren?: string | undefined;
2071
+ canCreateChildren?: string | undefined;
2072
+ canEditChildren?: string | undefined;
2073
+ canRevokeChildren?: string | undefined;
2074
+ canManageChildrenPermissions?: string | undefined;
2075
+ canManageChildrenProfiles?: boolean | undefined;
2076
+ canViewAnalytics?: boolean | undefined;
2077
+ };
2078
+ };
2079
+ }, {
2080
+ type: "GRANT_PERMISSIONS";
2081
+ data: {
2082
+ claimUri: string;
2083
+ targetUri: string;
2084
+ permissions: {
2085
+ role?: string | undefined;
2086
+ canEdit?: boolean | undefined;
2087
+ canIssue?: boolean | undefined;
2088
+ canRevoke?: boolean | undefined;
2089
+ canManagePermissions?: boolean | undefined;
2090
+ canIssueChildren?: string | undefined;
2091
+ canCreateChildren?: string | undefined;
2092
+ canEditChildren?: string | undefined;
2093
+ canRevokeChildren?: string | undefined;
2094
+ canManageChildrenPermissions?: string | undefined;
2095
+ canManageChildrenProfiles?: boolean | undefined;
2096
+ canViewAnalytics?: boolean | undefined;
2097
+ };
2098
+ };
2099
+ }>, z.ZodObject<{
2100
+ type: z.ZodLiteral<"ADD_ADMIN">;
2101
+ data: z.ZodObject<{
2102
+ claimUri: z.ZodString;
2103
+ targetUri: z.ZodString;
2104
+ }, "strip", z.ZodTypeAny, {
2105
+ claimUri: string;
2106
+ targetUri: string;
2107
+ }, {
2108
+ claimUri: string;
2109
+ targetUri: string;
2110
+ }>;
2111
+ }, "strip", z.ZodTypeAny, {
2112
+ type: "ADD_ADMIN";
2113
+ data: {
2114
+ claimUri: string;
2115
+ targetUri: string;
2116
+ };
2117
+ }, {
2118
+ type: "ADD_ADMIN";
2119
+ data: {
2120
+ claimUri: string;
2121
+ targetUri: string;
2122
+ };
2123
+ }>]>>, "many">;
2124
+ }>, "strip", z.ZodTypeAny, {
2125
+ cursor?: string | undefined;
2126
+ hasMore: boolean;
2127
+ records: ({
2128
+ id: string;
2129
+ createdAt: string;
2130
+ updatedAt: string;
2131
+ } & ({
2132
+ type: "GRANT_PERMISSIONS";
2133
+ data: {
2134
+ claimUri: string;
2135
+ targetUri: string;
2136
+ permissions: {
2137
+ role?: string | undefined;
2138
+ canEdit?: boolean | undefined;
2139
+ canIssue?: boolean | undefined;
2140
+ canRevoke?: boolean | undefined;
2141
+ canManagePermissions?: boolean | undefined;
2142
+ canIssueChildren?: string | undefined;
2143
+ canCreateChildren?: string | undefined;
2144
+ canEditChildren?: string | undefined;
2145
+ canRevokeChildren?: string | undefined;
2146
+ canManageChildrenPermissions?: string | undefined;
2147
+ canManageChildrenProfiles?: boolean | undefined;
2148
+ canViewAnalytics?: boolean | undefined;
2149
+ };
2150
+ };
2151
+ } | {
2152
+ type: "ADD_ADMIN";
2153
+ data: {
2154
+ claimUri: string;
2155
+ targetUri: string;
2156
+ };
2157
+ }))[];
2158
+ }, {
2159
+ cursor?: string | undefined;
2160
+ hasMore: boolean;
2161
+ records: ({
2162
+ id: string;
2163
+ createdAt: string;
2164
+ updatedAt: string;
2165
+ } & ({
2166
+ type: "GRANT_PERMISSIONS";
2167
+ data: {
2168
+ claimUri: string;
2169
+ targetUri: string;
2170
+ permissions: {
2171
+ role?: string | undefined;
2172
+ canEdit?: boolean | undefined;
2173
+ canIssue?: boolean | undefined;
2174
+ canRevoke?: boolean | undefined;
2175
+ canManagePermissions?: boolean | undefined;
2176
+ canIssueChildren?: string | undefined;
2177
+ canCreateChildren?: string | undefined;
2178
+ canEditChildren?: string | undefined;
2179
+ canRevokeChildren?: string | undefined;
2180
+ canManageChildrenPermissions?: string | undefined;
2181
+ canManageChildrenProfiles?: boolean | undefined;
2182
+ canViewAnalytics?: boolean | undefined;
2183
+ };
2184
+ };
2185
+ } | {
2186
+ type: "ADD_ADMIN";
2187
+ data: {
2188
+ claimUri: string;
2189
+ targetUri: string;
2190
+ };
2191
+ }))[];
2192
+ }>;
2193
+ export type PaginatedClaimHooksType = z.infer<typeof PaginatedClaimHooksValidator>;
1082
2194
  export declare const LCNBoostStatus: z.ZodEnum<["DRAFT", "LIVE"]>;
1083
2195
  export type LCNBoostStatusEnum = z.infer<typeof LCNBoostStatus>;
1084
2196
  export declare const BoostValidator: z.ZodObject<{
@@ -2367,6 +3479,7 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
2367
3479
  name: string;
2368
3480
  createdAt: string;
2369
3481
  uri: string;
3482
+ updatedAt: string;
2370
3483
  contract: {
2371
3484
  read: {
2372
3485
  anonymize?: boolean | undefined;
@@ -2418,7 +3531,6 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
2418
3531
  bio: string;
2419
3532
  did: string;
2420
3533
  };
2421
- updatedAt: string;
2422
3534
  }, {
2423
3535
  description?: string | undefined;
2424
3536
  image?: string | undefined;
@@ -2430,6 +3542,7 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
2430
3542
  name: string;
2431
3543
  createdAt: string;
2432
3544
  uri: string;
3545
+ updatedAt: string;
2433
3546
  contract: {
2434
3547
  read?: {
2435
3548
  anonymize?: boolean | undefined;
@@ -2481,7 +3594,6 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
2481
3594
  profileId: string;
2482
3595
  did: string;
2483
3596
  };
2484
- updatedAt: string;
2485
3597
  }>;
2486
3598
  export type ConsentFlowContractDetails = z.infer<typeof ConsentFlowContractDetailsValidator>;
2487
3599
  export type ConsentFlowContractDetailsInput = z.input<typeof ConsentFlowContractDetailsValidator>;
@@ -2755,6 +3867,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
2755
3867
  name: string;
2756
3868
  createdAt: string;
2757
3869
  uri: string;
3870
+ updatedAt: string;
2758
3871
  contract: {
2759
3872
  read: {
2760
3873
  anonymize?: boolean | undefined;
@@ -2778,7 +3891,6 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
2778
3891
  }>;
2779
3892
  };
2780
3893
  };
2781
- updatedAt: string;
2782
3894
  }, {
2783
3895
  description?: string | undefined;
2784
3896
  image?: string | undefined;
@@ -2790,6 +3902,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
2790
3902
  name: string;
2791
3903
  createdAt: string;
2792
3904
  uri: string;
3905
+ updatedAt: string;
2793
3906
  contract: {
2794
3907
  read?: {
2795
3908
  anonymize?: boolean | undefined;
@@ -2813,7 +3926,6 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
2813
3926
  }> | undefined;
2814
3927
  } | undefined;
2815
3928
  };
2816
- updatedAt: string;
2817
3929
  }>, "many">;
2818
3930
  }>, "strip", z.ZodTypeAny, {
2819
3931
  cursor?: string | undefined;
@@ -2829,6 +3941,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
2829
3941
  name: string;
2830
3942
  createdAt: string;
2831
3943
  uri: string;
3944
+ updatedAt: string;
2832
3945
  contract: {
2833
3946
  read: {
2834
3947
  anonymize?: boolean | undefined;
@@ -2852,7 +3965,6 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
2852
3965
  }>;
2853
3966
  };
2854
3967
  };
2855
- updatedAt: string;
2856
3968
  }[];
2857
3969
  }, {
2858
3970
  cursor?: string | undefined;
@@ -2868,6 +3980,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
2868
3980
  name: string;
2869
3981
  createdAt: string;
2870
3982
  uri: string;
3983
+ updatedAt: string;
2871
3984
  contract: {
2872
3985
  read?: {
2873
3986
  anonymize?: boolean | undefined;
@@ -2891,7 +4004,6 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
2891
4004
  }> | undefined;
2892
4005
  } | undefined;
2893
4006
  };
2894
- updatedAt: string;
2895
4007
  }[];
2896
4008
  }>;
2897
4009
  export type PaginatedConsentFlowContracts = z.infer<typeof PaginatedConsentFlowContractsValidator>;
@@ -3524,6 +4636,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
3524
4636
  name: string;
3525
4637
  createdAt: string;
3526
4638
  uri: string;
4639
+ updatedAt: string;
3527
4640
  contract: {
3528
4641
  read: {
3529
4642
  anonymize?: boolean | undefined;
@@ -3575,7 +4688,6 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
3575
4688
  bio: string;
3576
4689
  did: string;
3577
4690
  };
3578
- updatedAt: string;
3579
4691
  }, {
3580
4692
  description?: string | undefined;
3581
4693
  image?: string | undefined;
@@ -3587,6 +4699,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
3587
4699
  name: string;
3588
4700
  createdAt: string;
3589
4701
  uri: string;
4702
+ updatedAt: string;
3590
4703
  contract: {
3591
4704
  read?: {
3592
4705
  anonymize?: boolean | undefined;
@@ -3638,7 +4751,6 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
3638
4751
  profileId: string;
3639
4752
  did: string;
3640
4753
  };
3641
- updatedAt: string;
3642
4754
  }>;
3643
4755
  uri: z.ZodString;
3644
4756
  consenter: z.ZodObject<{
@@ -3764,6 +4876,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
3764
4876
  name: string;
3765
4877
  createdAt: string;
3766
4878
  uri: string;
4879
+ updatedAt: string;
3767
4880
  contract: {
3768
4881
  read: {
3769
4882
  anonymize?: boolean | undefined;
@@ -3815,7 +4928,6 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
3815
4928
  bio: string;
3816
4929
  did: string;
3817
4930
  };
3818
- updatedAt: string;
3819
4931
  };
3820
4932
  terms: {
3821
4933
  read: {
@@ -3883,6 +4995,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
3883
4995
  name: string;
3884
4996
  createdAt: string;
3885
4997
  uri: string;
4998
+ updatedAt: string;
3886
4999
  contract: {
3887
5000
  read?: {
3888
5001
  anonymize?: boolean | undefined;
@@ -3934,7 +5047,6 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
3934
5047
  profileId: string;
3935
5048
  did: string;
3936
5049
  };
3937
- updatedAt: string;
3938
5050
  };
3939
5051
  terms: {
3940
5052
  read?: {
@@ -4006,6 +5118,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
4006
5118
  name: string;
4007
5119
  createdAt: string;
4008
5120
  uri: string;
5121
+ updatedAt: string;
4009
5122
  contract: {
4010
5123
  read: {
4011
5124
  anonymize?: boolean | undefined;
@@ -4057,7 +5170,6 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
4057
5170
  bio: string;
4058
5171
  did: string;
4059
5172
  };
4060
- updatedAt: string;
4061
5173
  };
4062
5174
  terms: {
4063
5175
  read: {
@@ -4129,6 +5241,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
4129
5241
  name: string;
4130
5242
  createdAt: string;
4131
5243
  uri: string;
5244
+ updatedAt: string;
4132
5245
  contract: {
4133
5246
  read?: {
4134
5247
  anonymize?: boolean | undefined;
@@ -4180,7 +5293,6 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
4180
5293
  profileId: string;
4181
5294
  did: string;
4182
5295
  };
4183
- updatedAt: string;
4184
5296
  };
4185
5297
  terms: {
4186
5298
  read?: {