@learncard/types 5.6.3 → 5.6.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/crypto.d.ts +30 -5
- package/dist/crypto.d.ts.map +1 -1
- package/dist/did.d.ts +54 -54
- package/dist/lcn.d.ts +1040 -12
- package/dist/lcn.d.ts.map +1 -1
- package/dist/learncloud.d.ts +4 -4
- package/dist/types.cjs.development.js +46 -1
- package/dist/types.cjs.development.js.map +2 -2
- package/dist/types.cjs.production.min.js +1 -1
- package/dist/types.cjs.production.min.js.map +3 -3
- package/dist/types.esm.js +46 -1
- package/dist/types.esm.js.map +2 -2
- package/package.json +1 -1
package/dist/lcn.d.ts
CHANGED
@@ -1079,6 +1079,1034 @@ 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"]>;
|
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
|
+
}>]>;
|
1366
|
+
export type ClaimHook = z.infer<typeof ClaimHookValidator>;
|
1367
|
+
export declare const ClaimHookQueryValidator: z.ZodObject<{
|
1368
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
1369
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
1370
|
+
}, "strip", z.ZodTypeAny, {
|
1371
|
+
$in: string[];
|
1372
|
+
}, {
|
1373
|
+
$in: string[];
|
1374
|
+
}>]>, z.ZodObject<{
|
1375
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
1376
|
+
}, "strip", z.ZodTypeAny, {
|
1377
|
+
$regex: RegExp;
|
1378
|
+
}, {
|
1379
|
+
$regex: string | RegExp;
|
1380
|
+
}>]>>;
|
1381
|
+
data: z.ZodOptional<z.ZodObject<{
|
1382
|
+
claimUri: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
1383
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
1384
|
+
}, "strip", z.ZodTypeAny, {
|
1385
|
+
$in: string[];
|
1386
|
+
}, {
|
1387
|
+
$in: string[];
|
1388
|
+
}>]>, z.ZodObject<{
|
1389
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
1390
|
+
}, "strip", z.ZodTypeAny, {
|
1391
|
+
$regex: RegExp;
|
1392
|
+
}, {
|
1393
|
+
$regex: string | RegExp;
|
1394
|
+
}>]>>;
|
1395
|
+
targetUri: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
1396
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
1397
|
+
}, "strip", z.ZodTypeAny, {
|
1398
|
+
$in: string[];
|
1399
|
+
}, {
|
1400
|
+
$in: string[];
|
1401
|
+
}>]>, z.ZodObject<{
|
1402
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
1403
|
+
}, "strip", z.ZodTypeAny, {
|
1404
|
+
$regex: RegExp;
|
1405
|
+
}, {
|
1406
|
+
$regex: string | RegExp;
|
1407
|
+
}>]>>;
|
1408
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
1409
|
+
role: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
1410
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
1411
|
+
}, "strip", z.ZodTypeAny, {
|
1412
|
+
$in: string[];
|
1413
|
+
}, {
|
1414
|
+
$in: string[];
|
1415
|
+
}>]>, z.ZodObject<{
|
1416
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
1417
|
+
}, "strip", z.ZodTypeAny, {
|
1418
|
+
$regex: RegExp;
|
1419
|
+
}, {
|
1420
|
+
$regex: string | RegExp;
|
1421
|
+
}>]>>>;
|
1422
|
+
canEdit: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
1423
|
+
canIssue: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
1424
|
+
canRevoke: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
1425
|
+
canManagePermissions: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
1426
|
+
canIssueChildren: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
1427
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
1428
|
+
}, "strip", z.ZodTypeAny, {
|
1429
|
+
$in: string[];
|
1430
|
+
}, {
|
1431
|
+
$in: string[];
|
1432
|
+
}>]>, z.ZodObject<{
|
1433
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
1434
|
+
}, "strip", z.ZodTypeAny, {
|
1435
|
+
$regex: RegExp;
|
1436
|
+
}, {
|
1437
|
+
$regex: string | RegExp;
|
1438
|
+
}>]>>>;
|
1439
|
+
canCreateChildren: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
1440
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
1441
|
+
}, "strip", z.ZodTypeAny, {
|
1442
|
+
$in: string[];
|
1443
|
+
}, {
|
1444
|
+
$in: string[];
|
1445
|
+
}>]>, z.ZodObject<{
|
1446
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
1447
|
+
}, "strip", z.ZodTypeAny, {
|
1448
|
+
$regex: RegExp;
|
1449
|
+
}, {
|
1450
|
+
$regex: string | RegExp;
|
1451
|
+
}>]>>>;
|
1452
|
+
canEditChildren: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
1453
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
1454
|
+
}, "strip", z.ZodTypeAny, {
|
1455
|
+
$in: string[];
|
1456
|
+
}, {
|
1457
|
+
$in: string[];
|
1458
|
+
}>]>, z.ZodObject<{
|
1459
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
1460
|
+
}, "strip", z.ZodTypeAny, {
|
1461
|
+
$regex: RegExp;
|
1462
|
+
}, {
|
1463
|
+
$regex: string | RegExp;
|
1464
|
+
}>]>>>;
|
1465
|
+
canRevokeChildren: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
1466
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
1467
|
+
}, "strip", z.ZodTypeAny, {
|
1468
|
+
$in: string[];
|
1469
|
+
}, {
|
1470
|
+
$in: string[];
|
1471
|
+
}>]>, z.ZodObject<{
|
1472
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
1473
|
+
}, "strip", z.ZodTypeAny, {
|
1474
|
+
$regex: RegExp;
|
1475
|
+
}, {
|
1476
|
+
$regex: string | RegExp;
|
1477
|
+
}>]>>>;
|
1478
|
+
canManageChildrenPermissions: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
1479
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
1480
|
+
}, "strip", z.ZodTypeAny, {
|
1481
|
+
$in: string[];
|
1482
|
+
}, {
|
1483
|
+
$in: string[];
|
1484
|
+
}>]>, z.ZodObject<{
|
1485
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
1486
|
+
}, "strip", z.ZodTypeAny, {
|
1487
|
+
$regex: RegExp;
|
1488
|
+
}, {
|
1489
|
+
$regex: string | RegExp;
|
1490
|
+
}>]>>>;
|
1491
|
+
canManageChildrenProfiles: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
1492
|
+
canViewAnalytics: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
1493
|
+
}, "strip", z.ZodTypeAny, {
|
1494
|
+
role?: string | {
|
1495
|
+
$in: string[];
|
1496
|
+
} | {
|
1497
|
+
$regex: RegExp;
|
1498
|
+
} | undefined;
|
1499
|
+
canEdit?: boolean | undefined;
|
1500
|
+
canIssue?: boolean | undefined;
|
1501
|
+
canRevoke?: boolean | undefined;
|
1502
|
+
canManagePermissions?: boolean | undefined;
|
1503
|
+
canIssueChildren?: string | {
|
1504
|
+
$in: string[];
|
1505
|
+
} | {
|
1506
|
+
$regex: RegExp;
|
1507
|
+
} | undefined;
|
1508
|
+
canCreateChildren?: string | {
|
1509
|
+
$in: string[];
|
1510
|
+
} | {
|
1511
|
+
$regex: RegExp;
|
1512
|
+
} | undefined;
|
1513
|
+
canEditChildren?: string | {
|
1514
|
+
$in: string[];
|
1515
|
+
} | {
|
1516
|
+
$regex: RegExp;
|
1517
|
+
} | undefined;
|
1518
|
+
canRevokeChildren?: string | {
|
1519
|
+
$in: string[];
|
1520
|
+
} | {
|
1521
|
+
$regex: RegExp;
|
1522
|
+
} | undefined;
|
1523
|
+
canManageChildrenPermissions?: string | {
|
1524
|
+
$in: string[];
|
1525
|
+
} | {
|
1526
|
+
$regex: RegExp;
|
1527
|
+
} | undefined;
|
1528
|
+
canManageChildrenProfiles?: boolean | undefined;
|
1529
|
+
canViewAnalytics?: boolean | undefined;
|
1530
|
+
}, {
|
1531
|
+
role?: string | {
|
1532
|
+
$in: string[];
|
1533
|
+
} | {
|
1534
|
+
$regex: string | RegExp;
|
1535
|
+
} | undefined;
|
1536
|
+
canEdit?: boolean | undefined;
|
1537
|
+
canIssue?: boolean | undefined;
|
1538
|
+
canRevoke?: boolean | undefined;
|
1539
|
+
canManagePermissions?: boolean | undefined;
|
1540
|
+
canIssueChildren?: string | {
|
1541
|
+
$in: string[];
|
1542
|
+
} | {
|
1543
|
+
$regex: string | RegExp;
|
1544
|
+
} | undefined;
|
1545
|
+
canCreateChildren?: string | {
|
1546
|
+
$in: string[];
|
1547
|
+
} | {
|
1548
|
+
$regex: string | RegExp;
|
1549
|
+
} | undefined;
|
1550
|
+
canEditChildren?: string | {
|
1551
|
+
$in: string[];
|
1552
|
+
} | {
|
1553
|
+
$regex: string | RegExp;
|
1554
|
+
} | undefined;
|
1555
|
+
canRevokeChildren?: string | {
|
1556
|
+
$in: string[];
|
1557
|
+
} | {
|
1558
|
+
$regex: string | RegExp;
|
1559
|
+
} | undefined;
|
1560
|
+
canManageChildrenPermissions?: string | {
|
1561
|
+
$in: string[];
|
1562
|
+
} | {
|
1563
|
+
$regex: string | RegExp;
|
1564
|
+
} | undefined;
|
1565
|
+
canManageChildrenProfiles?: boolean | undefined;
|
1566
|
+
canViewAnalytics?: boolean | undefined;
|
1567
|
+
}>>;
|
1568
|
+
}, "strip", z.ZodTypeAny, {
|
1569
|
+
claimUri?: string | {
|
1570
|
+
$in: string[];
|
1571
|
+
} | {
|
1572
|
+
$regex: RegExp;
|
1573
|
+
} | undefined;
|
1574
|
+
targetUri?: string | {
|
1575
|
+
$in: string[];
|
1576
|
+
} | {
|
1577
|
+
$regex: RegExp;
|
1578
|
+
} | undefined;
|
1579
|
+
permissions?: {
|
1580
|
+
role?: string | {
|
1581
|
+
$in: string[];
|
1582
|
+
} | {
|
1583
|
+
$regex: RegExp;
|
1584
|
+
} | undefined;
|
1585
|
+
canEdit?: boolean | undefined;
|
1586
|
+
canIssue?: boolean | undefined;
|
1587
|
+
canRevoke?: boolean | undefined;
|
1588
|
+
canManagePermissions?: boolean | undefined;
|
1589
|
+
canIssueChildren?: string | {
|
1590
|
+
$in: string[];
|
1591
|
+
} | {
|
1592
|
+
$regex: RegExp;
|
1593
|
+
} | undefined;
|
1594
|
+
canCreateChildren?: string | {
|
1595
|
+
$in: string[];
|
1596
|
+
} | {
|
1597
|
+
$regex: RegExp;
|
1598
|
+
} | undefined;
|
1599
|
+
canEditChildren?: string | {
|
1600
|
+
$in: string[];
|
1601
|
+
} | {
|
1602
|
+
$regex: RegExp;
|
1603
|
+
} | undefined;
|
1604
|
+
canRevokeChildren?: string | {
|
1605
|
+
$in: string[];
|
1606
|
+
} | {
|
1607
|
+
$regex: RegExp;
|
1608
|
+
} | undefined;
|
1609
|
+
canManageChildrenPermissions?: string | {
|
1610
|
+
$in: string[];
|
1611
|
+
} | {
|
1612
|
+
$regex: RegExp;
|
1613
|
+
} | undefined;
|
1614
|
+
canManageChildrenProfiles?: boolean | undefined;
|
1615
|
+
canViewAnalytics?: boolean | undefined;
|
1616
|
+
} | undefined;
|
1617
|
+
}, {
|
1618
|
+
claimUri?: string | {
|
1619
|
+
$in: string[];
|
1620
|
+
} | {
|
1621
|
+
$regex: string | RegExp;
|
1622
|
+
} | undefined;
|
1623
|
+
targetUri?: string | {
|
1624
|
+
$in: string[];
|
1625
|
+
} | {
|
1626
|
+
$regex: string | RegExp;
|
1627
|
+
} | undefined;
|
1628
|
+
permissions?: {
|
1629
|
+
role?: string | {
|
1630
|
+
$in: string[];
|
1631
|
+
} | {
|
1632
|
+
$regex: string | RegExp;
|
1633
|
+
} | undefined;
|
1634
|
+
canEdit?: boolean | undefined;
|
1635
|
+
canIssue?: boolean | undefined;
|
1636
|
+
canRevoke?: boolean | undefined;
|
1637
|
+
canManagePermissions?: boolean | undefined;
|
1638
|
+
canIssueChildren?: string | {
|
1639
|
+
$in: string[];
|
1640
|
+
} | {
|
1641
|
+
$regex: string | RegExp;
|
1642
|
+
} | undefined;
|
1643
|
+
canCreateChildren?: string | {
|
1644
|
+
$in: string[];
|
1645
|
+
} | {
|
1646
|
+
$regex: string | RegExp;
|
1647
|
+
} | undefined;
|
1648
|
+
canEditChildren?: string | {
|
1649
|
+
$in: string[];
|
1650
|
+
} | {
|
1651
|
+
$regex: string | RegExp;
|
1652
|
+
} | undefined;
|
1653
|
+
canRevokeChildren?: string | {
|
1654
|
+
$in: string[];
|
1655
|
+
} | {
|
1656
|
+
$regex: string | RegExp;
|
1657
|
+
} | undefined;
|
1658
|
+
canManageChildrenPermissions?: string | {
|
1659
|
+
$in: string[];
|
1660
|
+
} | {
|
1661
|
+
$regex: string | RegExp;
|
1662
|
+
} | undefined;
|
1663
|
+
canManageChildrenProfiles?: boolean | undefined;
|
1664
|
+
canViewAnalytics?: boolean | undefined;
|
1665
|
+
} | undefined;
|
1666
|
+
}>>;
|
1667
|
+
}, "strip", z.ZodTypeAny, {
|
1668
|
+
type?: string | {
|
1669
|
+
$in: string[];
|
1670
|
+
} | {
|
1671
|
+
$regex: RegExp;
|
1672
|
+
} | undefined;
|
1673
|
+
data?: {
|
1674
|
+
claimUri?: string | {
|
1675
|
+
$in: string[];
|
1676
|
+
} | {
|
1677
|
+
$regex: RegExp;
|
1678
|
+
} | undefined;
|
1679
|
+
targetUri?: string | {
|
1680
|
+
$in: string[];
|
1681
|
+
} | {
|
1682
|
+
$regex: RegExp;
|
1683
|
+
} | undefined;
|
1684
|
+
permissions?: {
|
1685
|
+
role?: string | {
|
1686
|
+
$in: string[];
|
1687
|
+
} | {
|
1688
|
+
$regex: RegExp;
|
1689
|
+
} | undefined;
|
1690
|
+
canEdit?: boolean | undefined;
|
1691
|
+
canIssue?: boolean | undefined;
|
1692
|
+
canRevoke?: boolean | undefined;
|
1693
|
+
canManagePermissions?: boolean | undefined;
|
1694
|
+
canIssueChildren?: string | {
|
1695
|
+
$in: string[];
|
1696
|
+
} | {
|
1697
|
+
$regex: RegExp;
|
1698
|
+
} | undefined;
|
1699
|
+
canCreateChildren?: string | {
|
1700
|
+
$in: string[];
|
1701
|
+
} | {
|
1702
|
+
$regex: RegExp;
|
1703
|
+
} | undefined;
|
1704
|
+
canEditChildren?: string | {
|
1705
|
+
$in: string[];
|
1706
|
+
} | {
|
1707
|
+
$regex: RegExp;
|
1708
|
+
} | undefined;
|
1709
|
+
canRevokeChildren?: string | {
|
1710
|
+
$in: string[];
|
1711
|
+
} | {
|
1712
|
+
$regex: RegExp;
|
1713
|
+
} | undefined;
|
1714
|
+
canManageChildrenPermissions?: string | {
|
1715
|
+
$in: string[];
|
1716
|
+
} | {
|
1717
|
+
$regex: RegExp;
|
1718
|
+
} | undefined;
|
1719
|
+
canManageChildrenProfiles?: boolean | undefined;
|
1720
|
+
canViewAnalytics?: boolean | undefined;
|
1721
|
+
} | undefined;
|
1722
|
+
} | undefined;
|
1723
|
+
}, {
|
1724
|
+
type?: string | {
|
1725
|
+
$in: string[];
|
1726
|
+
} | {
|
1727
|
+
$regex: string | RegExp;
|
1728
|
+
} | undefined;
|
1729
|
+
data?: {
|
1730
|
+
claimUri?: string | {
|
1731
|
+
$in: string[];
|
1732
|
+
} | {
|
1733
|
+
$regex: string | RegExp;
|
1734
|
+
} | undefined;
|
1735
|
+
targetUri?: string | {
|
1736
|
+
$in: string[];
|
1737
|
+
} | {
|
1738
|
+
$regex: string | RegExp;
|
1739
|
+
} | undefined;
|
1740
|
+
permissions?: {
|
1741
|
+
role?: string | {
|
1742
|
+
$in: string[];
|
1743
|
+
} | {
|
1744
|
+
$regex: string | RegExp;
|
1745
|
+
} | undefined;
|
1746
|
+
canEdit?: boolean | undefined;
|
1747
|
+
canIssue?: boolean | undefined;
|
1748
|
+
canRevoke?: boolean | undefined;
|
1749
|
+
canManagePermissions?: boolean | undefined;
|
1750
|
+
canIssueChildren?: string | {
|
1751
|
+
$in: string[];
|
1752
|
+
} | {
|
1753
|
+
$regex: string | RegExp;
|
1754
|
+
} | undefined;
|
1755
|
+
canCreateChildren?: string | {
|
1756
|
+
$in: string[];
|
1757
|
+
} | {
|
1758
|
+
$regex: string | RegExp;
|
1759
|
+
} | undefined;
|
1760
|
+
canEditChildren?: string | {
|
1761
|
+
$in: string[];
|
1762
|
+
} | {
|
1763
|
+
$regex: string | RegExp;
|
1764
|
+
} | undefined;
|
1765
|
+
canRevokeChildren?: string | {
|
1766
|
+
$in: string[];
|
1767
|
+
} | {
|
1768
|
+
$regex: string | RegExp;
|
1769
|
+
} | undefined;
|
1770
|
+
canManageChildrenPermissions?: string | {
|
1771
|
+
$in: string[];
|
1772
|
+
} | {
|
1773
|
+
$regex: string | RegExp;
|
1774
|
+
} | undefined;
|
1775
|
+
canManageChildrenProfiles?: boolean | undefined;
|
1776
|
+
canViewAnalytics?: boolean | undefined;
|
1777
|
+
} | undefined;
|
1778
|
+
} | undefined;
|
1779
|
+
}>;
|
1780
|
+
export type ClaimHookQuery = z.infer<typeof ClaimHookQueryValidator>;
|
1781
|
+
export declare const FullClaimHookValidator: z.ZodIntersection<z.ZodObject<{
|
1782
|
+
id: z.ZodString;
|
1783
|
+
createdAt: z.ZodString;
|
1784
|
+
updatedAt: z.ZodString;
|
1785
|
+
}, "strip", z.ZodTypeAny, {
|
1786
|
+
id: string;
|
1787
|
+
createdAt: string;
|
1788
|
+
updatedAt: string;
|
1789
|
+
}, {
|
1790
|
+
id: string;
|
1791
|
+
createdAt: string;
|
1792
|
+
updatedAt: string;
|
1793
|
+
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
1794
|
+
type: z.ZodLiteral<"GRANT_PERMISSIONS">;
|
1795
|
+
data: z.ZodObject<{
|
1796
|
+
claimUri: z.ZodString;
|
1797
|
+
targetUri: z.ZodString;
|
1798
|
+
permissions: z.ZodObject<{
|
1799
|
+
role: z.ZodOptional<z.ZodString>;
|
1800
|
+
canEdit: z.ZodOptional<z.ZodBoolean>;
|
1801
|
+
canIssue: z.ZodOptional<z.ZodBoolean>;
|
1802
|
+
canRevoke: z.ZodOptional<z.ZodBoolean>;
|
1803
|
+
canManagePermissions: z.ZodOptional<z.ZodBoolean>;
|
1804
|
+
canIssueChildren: z.ZodOptional<z.ZodString>;
|
1805
|
+
canCreateChildren: z.ZodOptional<z.ZodString>;
|
1806
|
+
canEditChildren: z.ZodOptional<z.ZodString>;
|
1807
|
+
canRevokeChildren: z.ZodOptional<z.ZodString>;
|
1808
|
+
canManageChildrenPermissions: z.ZodOptional<z.ZodString>;
|
1809
|
+
canManageChildrenProfiles: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
1810
|
+
canViewAnalytics: z.ZodOptional<z.ZodBoolean>;
|
1811
|
+
}, "strip", z.ZodTypeAny, {
|
1812
|
+
role?: string | undefined;
|
1813
|
+
canEdit?: boolean | undefined;
|
1814
|
+
canIssue?: boolean | undefined;
|
1815
|
+
canRevoke?: boolean | undefined;
|
1816
|
+
canManagePermissions?: boolean | undefined;
|
1817
|
+
canIssueChildren?: string | undefined;
|
1818
|
+
canCreateChildren?: string | undefined;
|
1819
|
+
canEditChildren?: string | undefined;
|
1820
|
+
canRevokeChildren?: string | undefined;
|
1821
|
+
canManageChildrenPermissions?: string | undefined;
|
1822
|
+
canManageChildrenProfiles?: boolean | undefined;
|
1823
|
+
canViewAnalytics?: boolean | undefined;
|
1824
|
+
}, {
|
1825
|
+
role?: string | undefined;
|
1826
|
+
canEdit?: boolean | undefined;
|
1827
|
+
canIssue?: boolean | undefined;
|
1828
|
+
canRevoke?: boolean | undefined;
|
1829
|
+
canManagePermissions?: boolean | undefined;
|
1830
|
+
canIssueChildren?: string | undefined;
|
1831
|
+
canCreateChildren?: string | undefined;
|
1832
|
+
canEditChildren?: string | undefined;
|
1833
|
+
canRevokeChildren?: string | undefined;
|
1834
|
+
canManageChildrenPermissions?: string | undefined;
|
1835
|
+
canManageChildrenProfiles?: boolean | undefined;
|
1836
|
+
canViewAnalytics?: boolean | undefined;
|
1837
|
+
}>;
|
1838
|
+
}, "strip", z.ZodTypeAny, {
|
1839
|
+
claimUri: string;
|
1840
|
+
targetUri: string;
|
1841
|
+
permissions: {
|
1842
|
+
role?: string | undefined;
|
1843
|
+
canEdit?: boolean | undefined;
|
1844
|
+
canIssue?: boolean | undefined;
|
1845
|
+
canRevoke?: boolean | undefined;
|
1846
|
+
canManagePermissions?: boolean | undefined;
|
1847
|
+
canIssueChildren?: string | undefined;
|
1848
|
+
canCreateChildren?: string | undefined;
|
1849
|
+
canEditChildren?: string | undefined;
|
1850
|
+
canRevokeChildren?: string | undefined;
|
1851
|
+
canManageChildrenPermissions?: string | undefined;
|
1852
|
+
canManageChildrenProfiles?: boolean | undefined;
|
1853
|
+
canViewAnalytics?: boolean | undefined;
|
1854
|
+
};
|
1855
|
+
}, {
|
1856
|
+
claimUri: string;
|
1857
|
+
targetUri: string;
|
1858
|
+
permissions: {
|
1859
|
+
role?: string | undefined;
|
1860
|
+
canEdit?: boolean | undefined;
|
1861
|
+
canIssue?: boolean | undefined;
|
1862
|
+
canRevoke?: boolean | undefined;
|
1863
|
+
canManagePermissions?: boolean | undefined;
|
1864
|
+
canIssueChildren?: string | undefined;
|
1865
|
+
canCreateChildren?: string | undefined;
|
1866
|
+
canEditChildren?: string | undefined;
|
1867
|
+
canRevokeChildren?: string | undefined;
|
1868
|
+
canManageChildrenPermissions?: string | undefined;
|
1869
|
+
canManageChildrenProfiles?: boolean | undefined;
|
1870
|
+
canViewAnalytics?: boolean | undefined;
|
1871
|
+
};
|
1872
|
+
}>;
|
1873
|
+
}, "strip", z.ZodTypeAny, {
|
1874
|
+
type: "GRANT_PERMISSIONS";
|
1875
|
+
data: {
|
1876
|
+
claimUri: string;
|
1877
|
+
targetUri: string;
|
1878
|
+
permissions: {
|
1879
|
+
role?: string | undefined;
|
1880
|
+
canEdit?: boolean | undefined;
|
1881
|
+
canIssue?: boolean | undefined;
|
1882
|
+
canRevoke?: boolean | undefined;
|
1883
|
+
canManagePermissions?: boolean | undefined;
|
1884
|
+
canIssueChildren?: string | undefined;
|
1885
|
+
canCreateChildren?: string | undefined;
|
1886
|
+
canEditChildren?: string | undefined;
|
1887
|
+
canRevokeChildren?: string | undefined;
|
1888
|
+
canManageChildrenPermissions?: string | undefined;
|
1889
|
+
canManageChildrenProfiles?: boolean | undefined;
|
1890
|
+
canViewAnalytics?: boolean | undefined;
|
1891
|
+
};
|
1892
|
+
};
|
1893
|
+
}, {
|
1894
|
+
type: "GRANT_PERMISSIONS";
|
1895
|
+
data: {
|
1896
|
+
claimUri: string;
|
1897
|
+
targetUri: string;
|
1898
|
+
permissions: {
|
1899
|
+
role?: string | undefined;
|
1900
|
+
canEdit?: boolean | undefined;
|
1901
|
+
canIssue?: boolean | undefined;
|
1902
|
+
canRevoke?: boolean | undefined;
|
1903
|
+
canManagePermissions?: boolean | undefined;
|
1904
|
+
canIssueChildren?: string | undefined;
|
1905
|
+
canCreateChildren?: string | undefined;
|
1906
|
+
canEditChildren?: string | undefined;
|
1907
|
+
canRevokeChildren?: string | undefined;
|
1908
|
+
canManageChildrenPermissions?: string | undefined;
|
1909
|
+
canManageChildrenProfiles?: boolean | undefined;
|
1910
|
+
canViewAnalytics?: boolean | undefined;
|
1911
|
+
};
|
1912
|
+
};
|
1913
|
+
}>]>>;
|
1914
|
+
export type FullClaimHook = z.infer<typeof FullClaimHookValidator>;
|
1915
|
+
export declare const PaginatedClaimHooksValidator: z.ZodObject<z.extendShape<{
|
1916
|
+
cursor: z.ZodOptional<z.ZodString>;
|
1917
|
+
hasMore: z.ZodBoolean;
|
1918
|
+
}, {
|
1919
|
+
records: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
1920
|
+
id: z.ZodString;
|
1921
|
+
createdAt: z.ZodString;
|
1922
|
+
updatedAt: z.ZodString;
|
1923
|
+
}, "strip", z.ZodTypeAny, {
|
1924
|
+
id: string;
|
1925
|
+
createdAt: string;
|
1926
|
+
updatedAt: string;
|
1927
|
+
}, {
|
1928
|
+
id: string;
|
1929
|
+
createdAt: string;
|
1930
|
+
updatedAt: string;
|
1931
|
+
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
1932
|
+
type: z.ZodLiteral<"GRANT_PERMISSIONS">;
|
1933
|
+
data: z.ZodObject<{
|
1934
|
+
claimUri: z.ZodString;
|
1935
|
+
targetUri: z.ZodString;
|
1936
|
+
permissions: z.ZodObject<{
|
1937
|
+
role: z.ZodOptional<z.ZodString>;
|
1938
|
+
canEdit: z.ZodOptional<z.ZodBoolean>;
|
1939
|
+
canIssue: z.ZodOptional<z.ZodBoolean>;
|
1940
|
+
canRevoke: z.ZodOptional<z.ZodBoolean>;
|
1941
|
+
canManagePermissions: z.ZodOptional<z.ZodBoolean>;
|
1942
|
+
canIssueChildren: z.ZodOptional<z.ZodString>;
|
1943
|
+
canCreateChildren: z.ZodOptional<z.ZodString>;
|
1944
|
+
canEditChildren: z.ZodOptional<z.ZodString>;
|
1945
|
+
canRevokeChildren: z.ZodOptional<z.ZodString>;
|
1946
|
+
canManageChildrenPermissions: z.ZodOptional<z.ZodString>;
|
1947
|
+
canManageChildrenProfiles: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
1948
|
+
canViewAnalytics: z.ZodOptional<z.ZodBoolean>;
|
1949
|
+
}, "strip", z.ZodTypeAny, {
|
1950
|
+
role?: string | undefined;
|
1951
|
+
canEdit?: boolean | undefined;
|
1952
|
+
canIssue?: boolean | undefined;
|
1953
|
+
canRevoke?: boolean | undefined;
|
1954
|
+
canManagePermissions?: boolean | undefined;
|
1955
|
+
canIssueChildren?: string | undefined;
|
1956
|
+
canCreateChildren?: string | undefined;
|
1957
|
+
canEditChildren?: string | undefined;
|
1958
|
+
canRevokeChildren?: string | undefined;
|
1959
|
+
canManageChildrenPermissions?: string | undefined;
|
1960
|
+
canManageChildrenProfiles?: boolean | undefined;
|
1961
|
+
canViewAnalytics?: boolean | undefined;
|
1962
|
+
}, {
|
1963
|
+
role?: string | undefined;
|
1964
|
+
canEdit?: boolean | undefined;
|
1965
|
+
canIssue?: boolean | undefined;
|
1966
|
+
canRevoke?: boolean | undefined;
|
1967
|
+
canManagePermissions?: boolean | undefined;
|
1968
|
+
canIssueChildren?: string | undefined;
|
1969
|
+
canCreateChildren?: string | undefined;
|
1970
|
+
canEditChildren?: string | undefined;
|
1971
|
+
canRevokeChildren?: string | undefined;
|
1972
|
+
canManageChildrenPermissions?: string | undefined;
|
1973
|
+
canManageChildrenProfiles?: boolean | undefined;
|
1974
|
+
canViewAnalytics?: boolean | undefined;
|
1975
|
+
}>;
|
1976
|
+
}, "strip", z.ZodTypeAny, {
|
1977
|
+
claimUri: string;
|
1978
|
+
targetUri: string;
|
1979
|
+
permissions: {
|
1980
|
+
role?: string | undefined;
|
1981
|
+
canEdit?: boolean | undefined;
|
1982
|
+
canIssue?: boolean | undefined;
|
1983
|
+
canRevoke?: boolean | undefined;
|
1984
|
+
canManagePermissions?: boolean | undefined;
|
1985
|
+
canIssueChildren?: string | undefined;
|
1986
|
+
canCreateChildren?: string | undefined;
|
1987
|
+
canEditChildren?: string | undefined;
|
1988
|
+
canRevokeChildren?: string | undefined;
|
1989
|
+
canManageChildrenPermissions?: string | undefined;
|
1990
|
+
canManageChildrenProfiles?: boolean | undefined;
|
1991
|
+
canViewAnalytics?: boolean | undefined;
|
1992
|
+
};
|
1993
|
+
}, {
|
1994
|
+
claimUri: string;
|
1995
|
+
targetUri: string;
|
1996
|
+
permissions: {
|
1997
|
+
role?: string | undefined;
|
1998
|
+
canEdit?: boolean | undefined;
|
1999
|
+
canIssue?: boolean | undefined;
|
2000
|
+
canRevoke?: boolean | undefined;
|
2001
|
+
canManagePermissions?: boolean | undefined;
|
2002
|
+
canIssueChildren?: string | undefined;
|
2003
|
+
canCreateChildren?: string | undefined;
|
2004
|
+
canEditChildren?: string | undefined;
|
2005
|
+
canRevokeChildren?: string | undefined;
|
2006
|
+
canManageChildrenPermissions?: string | undefined;
|
2007
|
+
canManageChildrenProfiles?: boolean | undefined;
|
2008
|
+
canViewAnalytics?: boolean | undefined;
|
2009
|
+
};
|
2010
|
+
}>;
|
2011
|
+
}, "strip", z.ZodTypeAny, {
|
2012
|
+
type: "GRANT_PERMISSIONS";
|
2013
|
+
data: {
|
2014
|
+
claimUri: string;
|
2015
|
+
targetUri: string;
|
2016
|
+
permissions: {
|
2017
|
+
role?: string | undefined;
|
2018
|
+
canEdit?: boolean | undefined;
|
2019
|
+
canIssue?: boolean | undefined;
|
2020
|
+
canRevoke?: boolean | undefined;
|
2021
|
+
canManagePermissions?: boolean | undefined;
|
2022
|
+
canIssueChildren?: string | undefined;
|
2023
|
+
canCreateChildren?: string | undefined;
|
2024
|
+
canEditChildren?: string | undefined;
|
2025
|
+
canRevokeChildren?: string | undefined;
|
2026
|
+
canManageChildrenPermissions?: string | undefined;
|
2027
|
+
canManageChildrenProfiles?: boolean | undefined;
|
2028
|
+
canViewAnalytics?: boolean | undefined;
|
2029
|
+
};
|
2030
|
+
};
|
2031
|
+
}, {
|
2032
|
+
type: "GRANT_PERMISSIONS";
|
2033
|
+
data: {
|
2034
|
+
claimUri: string;
|
2035
|
+
targetUri: string;
|
2036
|
+
permissions: {
|
2037
|
+
role?: string | undefined;
|
2038
|
+
canEdit?: boolean | undefined;
|
2039
|
+
canIssue?: boolean | undefined;
|
2040
|
+
canRevoke?: boolean | undefined;
|
2041
|
+
canManagePermissions?: boolean | undefined;
|
2042
|
+
canIssueChildren?: string | undefined;
|
2043
|
+
canCreateChildren?: string | undefined;
|
2044
|
+
canEditChildren?: string | undefined;
|
2045
|
+
canRevokeChildren?: string | undefined;
|
2046
|
+
canManageChildrenPermissions?: string | undefined;
|
2047
|
+
canManageChildrenProfiles?: boolean | undefined;
|
2048
|
+
canViewAnalytics?: boolean | undefined;
|
2049
|
+
};
|
2050
|
+
};
|
2051
|
+
}>]>>, "many">;
|
2052
|
+
}>, "strip", z.ZodTypeAny, {
|
2053
|
+
cursor?: string | undefined;
|
2054
|
+
hasMore: boolean;
|
2055
|
+
records: ({
|
2056
|
+
id: string;
|
2057
|
+
createdAt: string;
|
2058
|
+
updatedAt: string;
|
2059
|
+
} & {
|
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
|
+
}, {
|
2081
|
+
cursor?: string | undefined;
|
2082
|
+
hasMore: boolean;
|
2083
|
+
records: ({
|
2084
|
+
id: string;
|
2085
|
+
createdAt: string;
|
2086
|
+
updatedAt: string;
|
2087
|
+
} & {
|
2088
|
+
type: "GRANT_PERMISSIONS";
|
2089
|
+
data: {
|
2090
|
+
claimUri: string;
|
2091
|
+
targetUri: string;
|
2092
|
+
permissions: {
|
2093
|
+
role?: string | undefined;
|
2094
|
+
canEdit?: boolean | undefined;
|
2095
|
+
canIssue?: boolean | undefined;
|
2096
|
+
canRevoke?: boolean | undefined;
|
2097
|
+
canManagePermissions?: boolean | undefined;
|
2098
|
+
canIssueChildren?: string | undefined;
|
2099
|
+
canCreateChildren?: string | undefined;
|
2100
|
+
canEditChildren?: string | undefined;
|
2101
|
+
canRevokeChildren?: string | undefined;
|
2102
|
+
canManageChildrenPermissions?: string | undefined;
|
2103
|
+
canManageChildrenProfiles?: boolean | undefined;
|
2104
|
+
canViewAnalytics?: boolean | undefined;
|
2105
|
+
};
|
2106
|
+
};
|
2107
|
+
})[];
|
2108
|
+
}>;
|
2109
|
+
export type PaginatedClaimHooksType = z.infer<typeof PaginatedClaimHooksValidator>;
|
1082
2110
|
export declare const LCNBoostStatus: z.ZodEnum<["DRAFT", "LIVE"]>;
|
1083
2111
|
export type LCNBoostStatusEnum = z.infer<typeof LCNBoostStatus>;
|
1084
2112
|
export declare const BoostValidator: z.ZodObject<{
|
@@ -2367,6 +3395,7 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
|
|
2367
3395
|
name: string;
|
2368
3396
|
createdAt: string;
|
2369
3397
|
uri: string;
|
3398
|
+
updatedAt: string;
|
2370
3399
|
contract: {
|
2371
3400
|
read: {
|
2372
3401
|
anonymize?: boolean | undefined;
|
@@ -2418,7 +3447,6 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
|
|
2418
3447
|
bio: string;
|
2419
3448
|
did: string;
|
2420
3449
|
};
|
2421
|
-
updatedAt: string;
|
2422
3450
|
}, {
|
2423
3451
|
description?: string | undefined;
|
2424
3452
|
image?: string | undefined;
|
@@ -2430,6 +3458,7 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
|
|
2430
3458
|
name: string;
|
2431
3459
|
createdAt: string;
|
2432
3460
|
uri: string;
|
3461
|
+
updatedAt: string;
|
2433
3462
|
contract: {
|
2434
3463
|
read?: {
|
2435
3464
|
anonymize?: boolean | undefined;
|
@@ -2481,7 +3510,6 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
|
|
2481
3510
|
profileId: string;
|
2482
3511
|
did: string;
|
2483
3512
|
};
|
2484
|
-
updatedAt: string;
|
2485
3513
|
}>;
|
2486
3514
|
export type ConsentFlowContractDetails = z.infer<typeof ConsentFlowContractDetailsValidator>;
|
2487
3515
|
export type ConsentFlowContractDetailsInput = z.input<typeof ConsentFlowContractDetailsValidator>;
|
@@ -2755,6 +3783,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
2755
3783
|
name: string;
|
2756
3784
|
createdAt: string;
|
2757
3785
|
uri: string;
|
3786
|
+
updatedAt: string;
|
2758
3787
|
contract: {
|
2759
3788
|
read: {
|
2760
3789
|
anonymize?: boolean | undefined;
|
@@ -2778,7 +3807,6 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
2778
3807
|
}>;
|
2779
3808
|
};
|
2780
3809
|
};
|
2781
|
-
updatedAt: string;
|
2782
3810
|
}, {
|
2783
3811
|
description?: string | undefined;
|
2784
3812
|
image?: string | undefined;
|
@@ -2790,6 +3818,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
2790
3818
|
name: string;
|
2791
3819
|
createdAt: string;
|
2792
3820
|
uri: string;
|
3821
|
+
updatedAt: string;
|
2793
3822
|
contract: {
|
2794
3823
|
read?: {
|
2795
3824
|
anonymize?: boolean | undefined;
|
@@ -2813,7 +3842,6 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
2813
3842
|
}> | undefined;
|
2814
3843
|
} | undefined;
|
2815
3844
|
};
|
2816
|
-
updatedAt: string;
|
2817
3845
|
}>, "many">;
|
2818
3846
|
}>, "strip", z.ZodTypeAny, {
|
2819
3847
|
cursor?: string | undefined;
|
@@ -2829,6 +3857,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
2829
3857
|
name: string;
|
2830
3858
|
createdAt: string;
|
2831
3859
|
uri: string;
|
3860
|
+
updatedAt: string;
|
2832
3861
|
contract: {
|
2833
3862
|
read: {
|
2834
3863
|
anonymize?: boolean | undefined;
|
@@ -2852,7 +3881,6 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
2852
3881
|
}>;
|
2853
3882
|
};
|
2854
3883
|
};
|
2855
|
-
updatedAt: string;
|
2856
3884
|
}[];
|
2857
3885
|
}, {
|
2858
3886
|
cursor?: string | undefined;
|
@@ -2868,6 +3896,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
2868
3896
|
name: string;
|
2869
3897
|
createdAt: string;
|
2870
3898
|
uri: string;
|
3899
|
+
updatedAt: string;
|
2871
3900
|
contract: {
|
2872
3901
|
read?: {
|
2873
3902
|
anonymize?: boolean | undefined;
|
@@ -2891,7 +3920,6 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
2891
3920
|
}> | undefined;
|
2892
3921
|
} | undefined;
|
2893
3922
|
};
|
2894
|
-
updatedAt: string;
|
2895
3923
|
}[];
|
2896
3924
|
}>;
|
2897
3925
|
export type PaginatedConsentFlowContracts = z.infer<typeof PaginatedConsentFlowContractsValidator>;
|
@@ -3524,6 +4552,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
3524
4552
|
name: string;
|
3525
4553
|
createdAt: string;
|
3526
4554
|
uri: string;
|
4555
|
+
updatedAt: string;
|
3527
4556
|
contract: {
|
3528
4557
|
read: {
|
3529
4558
|
anonymize?: boolean | undefined;
|
@@ -3575,7 +4604,6 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
3575
4604
|
bio: string;
|
3576
4605
|
did: string;
|
3577
4606
|
};
|
3578
|
-
updatedAt: string;
|
3579
4607
|
}, {
|
3580
4608
|
description?: string | undefined;
|
3581
4609
|
image?: string | undefined;
|
@@ -3587,6 +4615,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
3587
4615
|
name: string;
|
3588
4616
|
createdAt: string;
|
3589
4617
|
uri: string;
|
4618
|
+
updatedAt: string;
|
3590
4619
|
contract: {
|
3591
4620
|
read?: {
|
3592
4621
|
anonymize?: boolean | undefined;
|
@@ -3638,7 +4667,6 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
3638
4667
|
profileId: string;
|
3639
4668
|
did: string;
|
3640
4669
|
};
|
3641
|
-
updatedAt: string;
|
3642
4670
|
}>;
|
3643
4671
|
uri: z.ZodString;
|
3644
4672
|
consenter: z.ZodObject<{
|
@@ -3764,6 +4792,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
3764
4792
|
name: string;
|
3765
4793
|
createdAt: string;
|
3766
4794
|
uri: string;
|
4795
|
+
updatedAt: string;
|
3767
4796
|
contract: {
|
3768
4797
|
read: {
|
3769
4798
|
anonymize?: boolean | undefined;
|
@@ -3815,7 +4844,6 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
3815
4844
|
bio: string;
|
3816
4845
|
did: string;
|
3817
4846
|
};
|
3818
|
-
updatedAt: string;
|
3819
4847
|
};
|
3820
4848
|
terms: {
|
3821
4849
|
read: {
|
@@ -3883,6 +4911,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
3883
4911
|
name: string;
|
3884
4912
|
createdAt: string;
|
3885
4913
|
uri: string;
|
4914
|
+
updatedAt: string;
|
3886
4915
|
contract: {
|
3887
4916
|
read?: {
|
3888
4917
|
anonymize?: boolean | undefined;
|
@@ -3934,7 +4963,6 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
3934
4963
|
profileId: string;
|
3935
4964
|
did: string;
|
3936
4965
|
};
|
3937
|
-
updatedAt: string;
|
3938
4966
|
};
|
3939
4967
|
terms: {
|
3940
4968
|
read?: {
|
@@ -4006,6 +5034,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
4006
5034
|
name: string;
|
4007
5035
|
createdAt: string;
|
4008
5036
|
uri: string;
|
5037
|
+
updatedAt: string;
|
4009
5038
|
contract: {
|
4010
5039
|
read: {
|
4011
5040
|
anonymize?: boolean | undefined;
|
@@ -4057,7 +5086,6 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
4057
5086
|
bio: string;
|
4058
5087
|
did: string;
|
4059
5088
|
};
|
4060
|
-
updatedAt: string;
|
4061
5089
|
};
|
4062
5090
|
terms: {
|
4063
5091
|
read: {
|
@@ -4129,6 +5157,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
4129
5157
|
name: string;
|
4130
5158
|
createdAt: string;
|
4131
5159
|
uri: string;
|
5160
|
+
updatedAt: string;
|
4132
5161
|
contract: {
|
4133
5162
|
read?: {
|
4134
5163
|
anonymize?: boolean | undefined;
|
@@ -4180,7 +5209,6 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
4180
5209
|
profileId: string;
|
4181
5210
|
did: string;
|
4182
5211
|
};
|
4183
|
-
updatedAt: string;
|
4184
5212
|
};
|
4185
5213
|
terms: {
|
4186
5214
|
read?: {
|