@learncard/types 5.5.5 → 5.5.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/lcn.d.ts +278 -42
- package/dist/lcn.d.ts.map +1 -1
- package/dist/types.cjs.development.js +23 -18
- 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 +23 -18
- package/dist/types.esm.js.map +2 -2
- package/package.json +1 -1
package/dist/lcn.d.ts
CHANGED
@@ -142,6 +142,44 @@ export declare const SentCredentialInfoValidator: z.ZodObject<{
|
|
142
142
|
sent: string;
|
143
143
|
}>;
|
144
144
|
export type SentCredentialInfo = z.infer<typeof SentCredentialInfoValidator>;
|
145
|
+
export declare const BoostPermissionsValidator: z.ZodObject<{
|
146
|
+
role: z.ZodString;
|
147
|
+
canEdit: z.ZodBoolean;
|
148
|
+
canIssue: z.ZodBoolean;
|
149
|
+
canRevoke: z.ZodBoolean;
|
150
|
+
canManagePermissions: z.ZodBoolean;
|
151
|
+
canIssueChildren: z.ZodString;
|
152
|
+
canCreateChildren: z.ZodString;
|
153
|
+
canEditChildren: z.ZodString;
|
154
|
+
canRevokeChildren: z.ZodString;
|
155
|
+
canManageChildrenPermissions: z.ZodString;
|
156
|
+
canViewAnalytics: z.ZodBoolean;
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
158
|
+
role: string;
|
159
|
+
canEdit: boolean;
|
160
|
+
canIssue: boolean;
|
161
|
+
canRevoke: boolean;
|
162
|
+
canManagePermissions: boolean;
|
163
|
+
canIssueChildren: string;
|
164
|
+
canCreateChildren: string;
|
165
|
+
canEditChildren: string;
|
166
|
+
canRevokeChildren: string;
|
167
|
+
canManageChildrenPermissions: string;
|
168
|
+
canViewAnalytics: boolean;
|
169
|
+
}, {
|
170
|
+
role: string;
|
171
|
+
canEdit: boolean;
|
172
|
+
canIssue: boolean;
|
173
|
+
canRevoke: boolean;
|
174
|
+
canManagePermissions: boolean;
|
175
|
+
canIssueChildren: string;
|
176
|
+
canCreateChildren: string;
|
177
|
+
canEditChildren: string;
|
178
|
+
canRevokeChildren: string;
|
179
|
+
canManageChildrenPermissions: string;
|
180
|
+
canViewAnalytics: boolean;
|
181
|
+
}>;
|
182
|
+
export type BoostPermissions = z.infer<typeof BoostPermissionsValidator>;
|
145
183
|
export declare const LCNBoostStatus: z.ZodEnum<["DRAFT", "LIVE"]>;
|
146
184
|
export type LCNBoostStatusEnum = z.infer<typeof LCNBoostStatus>;
|
147
185
|
export declare const BoostValidator: z.ZodObject<{
|
@@ -151,12 +189,64 @@ export declare const BoostValidator: z.ZodObject<{
|
|
151
189
|
category: z.ZodOptional<z.ZodString>;
|
152
190
|
status: z.ZodOptional<z.ZodEnum<["DRAFT", "LIVE"]>>;
|
153
191
|
autoConnectRecipients: z.ZodOptional<z.ZodBoolean>;
|
192
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
193
|
+
claimPermissions: z.ZodOptional<z.ZodObject<{
|
194
|
+
role: z.ZodString;
|
195
|
+
canEdit: z.ZodBoolean;
|
196
|
+
canIssue: z.ZodBoolean;
|
197
|
+
canRevoke: z.ZodBoolean;
|
198
|
+
canManagePermissions: z.ZodBoolean;
|
199
|
+
canIssueChildren: z.ZodString;
|
200
|
+
canCreateChildren: z.ZodString;
|
201
|
+
canEditChildren: z.ZodString;
|
202
|
+
canRevokeChildren: z.ZodString;
|
203
|
+
canManageChildrenPermissions: z.ZodString;
|
204
|
+
canViewAnalytics: z.ZodBoolean;
|
205
|
+
}, "strip", z.ZodTypeAny, {
|
206
|
+
role: string;
|
207
|
+
canEdit: boolean;
|
208
|
+
canIssue: boolean;
|
209
|
+
canRevoke: boolean;
|
210
|
+
canManagePermissions: boolean;
|
211
|
+
canIssueChildren: string;
|
212
|
+
canCreateChildren: string;
|
213
|
+
canEditChildren: string;
|
214
|
+
canRevokeChildren: string;
|
215
|
+
canManageChildrenPermissions: string;
|
216
|
+
canViewAnalytics: boolean;
|
217
|
+
}, {
|
218
|
+
role: string;
|
219
|
+
canEdit: boolean;
|
220
|
+
canIssue: boolean;
|
221
|
+
canRevoke: boolean;
|
222
|
+
canManagePermissions: boolean;
|
223
|
+
canIssueChildren: string;
|
224
|
+
canCreateChildren: string;
|
225
|
+
canEditChildren: string;
|
226
|
+
canRevokeChildren: string;
|
227
|
+
canManageChildrenPermissions: string;
|
228
|
+
canViewAnalytics: boolean;
|
229
|
+
}>>;
|
154
230
|
}, "strip", z.ZodTypeAny, {
|
155
231
|
type?: string | undefined;
|
156
232
|
status?: "DRAFT" | "LIVE" | undefined;
|
157
233
|
name?: string | undefined;
|
158
234
|
category?: string | undefined;
|
159
235
|
autoConnectRecipients?: boolean | undefined;
|
236
|
+
meta?: Record<string, any> | undefined;
|
237
|
+
claimPermissions?: {
|
238
|
+
role: string;
|
239
|
+
canEdit: boolean;
|
240
|
+
canIssue: boolean;
|
241
|
+
canRevoke: boolean;
|
242
|
+
canManagePermissions: boolean;
|
243
|
+
canIssueChildren: string;
|
244
|
+
canCreateChildren: string;
|
245
|
+
canEditChildren: string;
|
246
|
+
canRevokeChildren: string;
|
247
|
+
canManageChildrenPermissions: string;
|
248
|
+
canViewAnalytics: boolean;
|
249
|
+
} | undefined;
|
160
250
|
uri: string;
|
161
251
|
}, {
|
162
252
|
type?: string | undefined;
|
@@ -164,38 +254,102 @@ export declare const BoostValidator: z.ZodObject<{
|
|
164
254
|
name?: string | undefined;
|
165
255
|
category?: string | undefined;
|
166
256
|
autoConnectRecipients?: boolean | undefined;
|
257
|
+
meta?: Record<string, any> | undefined;
|
258
|
+
claimPermissions?: {
|
259
|
+
role: string;
|
260
|
+
canEdit: boolean;
|
261
|
+
canIssue: boolean;
|
262
|
+
canRevoke: boolean;
|
263
|
+
canManagePermissions: boolean;
|
264
|
+
canIssueChildren: string;
|
265
|
+
canCreateChildren: string;
|
266
|
+
canEditChildren: string;
|
267
|
+
canRevokeChildren: string;
|
268
|
+
canManageChildrenPermissions: string;
|
269
|
+
canViewAnalytics: boolean;
|
270
|
+
} | undefined;
|
167
271
|
uri: string;
|
168
272
|
}>;
|
169
273
|
export type Boost = z.infer<typeof BoostValidator>;
|
274
|
+
export declare const StringQuery: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
275
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
276
|
+
}, "strip", z.ZodTypeAny, {
|
277
|
+
$in: string[];
|
278
|
+
}, {
|
279
|
+
$in: string[];
|
280
|
+
}>]>, z.ZodObject<{
|
281
|
+
$regex: z.ZodType<RegExp, z.ZodTypeDef, RegExp>;
|
282
|
+
}, "strip", z.ZodTypeAny, {
|
283
|
+
$regex: RegExp;
|
284
|
+
}, {
|
285
|
+
$regex: RegExp;
|
286
|
+
}>]>;
|
170
287
|
export declare const BoostQueryValidator: z.ZodObject<{
|
171
|
-
uri: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
288
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
172
289
|
$in: z.ZodArray<z.ZodString, "many">;
|
173
290
|
}, "strip", z.ZodTypeAny, {
|
174
291
|
$in: string[];
|
175
292
|
}, {
|
176
293
|
$in: string[];
|
294
|
+
}>]>, z.ZodObject<{
|
295
|
+
$regex: z.ZodType<RegExp, z.ZodTypeDef, RegExp>;
|
296
|
+
}, "strip", z.ZodTypeAny, {
|
297
|
+
$regex: RegExp;
|
298
|
+
}, {
|
299
|
+
$regex: RegExp;
|
177
300
|
}>]>>;
|
178
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
301
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
179
302
|
$in: z.ZodArray<z.ZodString, "many">;
|
180
303
|
}, "strip", z.ZodTypeAny, {
|
181
304
|
$in: string[];
|
182
305
|
}, {
|
183
306
|
$in: string[];
|
307
|
+
}>]>, z.ZodObject<{
|
308
|
+
$regex: z.ZodType<RegExp, z.ZodTypeDef, RegExp>;
|
309
|
+
}, "strip", z.ZodTypeAny, {
|
310
|
+
$regex: RegExp;
|
311
|
+
}, {
|
312
|
+
$regex: RegExp;
|
184
313
|
}>]>>;
|
185
|
-
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
314
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
186
315
|
$in: z.ZodArray<z.ZodString, "many">;
|
187
316
|
}, "strip", z.ZodTypeAny, {
|
188
317
|
$in: string[];
|
189
318
|
}, {
|
190
319
|
$in: string[];
|
320
|
+
}>]>, z.ZodObject<{
|
321
|
+
$regex: z.ZodType<RegExp, z.ZodTypeDef, RegExp>;
|
322
|
+
}, "strip", z.ZodTypeAny, {
|
323
|
+
$regex: RegExp;
|
324
|
+
}, {
|
325
|
+
$regex: RegExp;
|
191
326
|
}>]>>;
|
192
|
-
category: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
327
|
+
category: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
193
328
|
$in: z.ZodArray<z.ZodString, "many">;
|
194
329
|
}, "strip", z.ZodTypeAny, {
|
195
330
|
$in: string[];
|
196
331
|
}, {
|
197
332
|
$in: string[];
|
333
|
+
}>]>, z.ZodObject<{
|
334
|
+
$regex: z.ZodType<RegExp, z.ZodTypeDef, RegExp>;
|
335
|
+
}, "strip", z.ZodTypeAny, {
|
336
|
+
$regex: RegExp;
|
337
|
+
}, {
|
338
|
+
$regex: RegExp;
|
198
339
|
}>]>>;
|
340
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
341
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
342
|
+
}, "strip", z.ZodTypeAny, {
|
343
|
+
$in: string[];
|
344
|
+
}, {
|
345
|
+
$in: string[];
|
346
|
+
}>]>, z.ZodObject<{
|
347
|
+
$regex: z.ZodType<RegExp, z.ZodTypeDef, RegExp>;
|
348
|
+
}, "strip", z.ZodTypeAny, {
|
349
|
+
$regex: RegExp;
|
350
|
+
}, {
|
351
|
+
$regex: RegExp;
|
352
|
+
}>]>>>;
|
199
353
|
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DRAFT", "LIVE"]>, z.ZodObject<{
|
200
354
|
$in: z.ZodArray<z.ZodEnum<["DRAFT", "LIVE"]>, "many">;
|
201
355
|
}, "strip", z.ZodTypeAny, {
|
@@ -207,37 +361,63 @@ export declare const BoostQueryValidator: z.ZodObject<{
|
|
207
361
|
}, "strip", z.ZodTypeAny, {
|
208
362
|
type?: string | {
|
209
363
|
$in: string[];
|
364
|
+
} | {
|
365
|
+
$regex: RegExp;
|
210
366
|
} | undefined;
|
211
367
|
status?: "DRAFT" | "LIVE" | {
|
212
368
|
$in: ("DRAFT" | "LIVE")[];
|
213
369
|
} | undefined;
|
214
370
|
name?: string | {
|
215
371
|
$in: string[];
|
372
|
+
} | {
|
373
|
+
$regex: RegExp;
|
216
374
|
} | undefined;
|
217
375
|
uri?: string | {
|
218
376
|
$in: string[];
|
377
|
+
} | {
|
378
|
+
$regex: RegExp;
|
219
379
|
} | undefined;
|
220
380
|
category?: string | {
|
221
381
|
$in: string[];
|
382
|
+
} | {
|
383
|
+
$regex: RegExp;
|
222
384
|
} | undefined;
|
223
385
|
autoConnectRecipients?: boolean | undefined;
|
386
|
+
meta?: Record<string, string | {
|
387
|
+
$in: string[];
|
388
|
+
} | {
|
389
|
+
$regex: RegExp;
|
390
|
+
}> | undefined;
|
224
391
|
}, {
|
225
392
|
type?: string | {
|
226
393
|
$in: string[];
|
394
|
+
} | {
|
395
|
+
$regex: RegExp;
|
227
396
|
} | undefined;
|
228
397
|
status?: "DRAFT" | "LIVE" | {
|
229
398
|
$in: ("DRAFT" | "LIVE")[];
|
230
399
|
} | undefined;
|
231
400
|
name?: string | {
|
232
401
|
$in: string[];
|
402
|
+
} | {
|
403
|
+
$regex: RegExp;
|
233
404
|
} | undefined;
|
234
405
|
uri?: string | {
|
235
406
|
$in: string[];
|
407
|
+
} | {
|
408
|
+
$regex: RegExp;
|
236
409
|
} | undefined;
|
237
410
|
category?: string | {
|
238
411
|
$in: string[];
|
412
|
+
} | {
|
413
|
+
$regex: RegExp;
|
239
414
|
} | undefined;
|
240
415
|
autoConnectRecipients?: boolean | undefined;
|
416
|
+
meta?: Record<string, string | {
|
417
|
+
$in: string[];
|
418
|
+
} | {
|
419
|
+
$regex: RegExp;
|
420
|
+
}> | undefined;
|
241
421
|
}>;
|
242
422
|
export type BoostQuery = z.infer<typeof BoostQueryValidator>;
|
243
423
|
export declare const PaginatedBoostsValidator: z.ZodObject<z.extendShape<{
|
@@ -251,12 +431,64 @@ export declare const PaginatedBoostsValidator: z.ZodObject<z.extendShape<{
|
|
251
431
|
category: z.ZodOptional<z.ZodString>;
|
252
432
|
status: z.ZodOptional<z.ZodEnum<["DRAFT", "LIVE"]>>;
|
253
433
|
autoConnectRecipients: z.ZodOptional<z.ZodBoolean>;
|
434
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
435
|
+
claimPermissions: z.ZodOptional<z.ZodObject<{
|
436
|
+
role: z.ZodString;
|
437
|
+
canEdit: z.ZodBoolean;
|
438
|
+
canIssue: z.ZodBoolean;
|
439
|
+
canRevoke: z.ZodBoolean;
|
440
|
+
canManagePermissions: z.ZodBoolean;
|
441
|
+
canIssueChildren: z.ZodString;
|
442
|
+
canCreateChildren: z.ZodString;
|
443
|
+
canEditChildren: z.ZodString;
|
444
|
+
canRevokeChildren: z.ZodString;
|
445
|
+
canManageChildrenPermissions: z.ZodString;
|
446
|
+
canViewAnalytics: z.ZodBoolean;
|
447
|
+
}, "strip", z.ZodTypeAny, {
|
448
|
+
role: string;
|
449
|
+
canEdit: boolean;
|
450
|
+
canIssue: boolean;
|
451
|
+
canRevoke: boolean;
|
452
|
+
canManagePermissions: boolean;
|
453
|
+
canIssueChildren: string;
|
454
|
+
canCreateChildren: string;
|
455
|
+
canEditChildren: string;
|
456
|
+
canRevokeChildren: string;
|
457
|
+
canManageChildrenPermissions: string;
|
458
|
+
canViewAnalytics: boolean;
|
459
|
+
}, {
|
460
|
+
role: string;
|
461
|
+
canEdit: boolean;
|
462
|
+
canIssue: boolean;
|
463
|
+
canRevoke: boolean;
|
464
|
+
canManagePermissions: boolean;
|
465
|
+
canIssueChildren: string;
|
466
|
+
canCreateChildren: string;
|
467
|
+
canEditChildren: string;
|
468
|
+
canRevokeChildren: string;
|
469
|
+
canManageChildrenPermissions: string;
|
470
|
+
canViewAnalytics: boolean;
|
471
|
+
}>>;
|
254
472
|
}, "strip", z.ZodTypeAny, {
|
255
473
|
type?: string | undefined;
|
256
474
|
status?: "DRAFT" | "LIVE" | undefined;
|
257
475
|
name?: string | undefined;
|
258
476
|
category?: string | undefined;
|
259
477
|
autoConnectRecipients?: boolean | undefined;
|
478
|
+
meta?: Record<string, any> | undefined;
|
479
|
+
claimPermissions?: {
|
480
|
+
role: string;
|
481
|
+
canEdit: boolean;
|
482
|
+
canIssue: boolean;
|
483
|
+
canRevoke: boolean;
|
484
|
+
canManagePermissions: boolean;
|
485
|
+
canIssueChildren: string;
|
486
|
+
canCreateChildren: string;
|
487
|
+
canEditChildren: string;
|
488
|
+
canRevokeChildren: string;
|
489
|
+
canManageChildrenPermissions: string;
|
490
|
+
canViewAnalytics: boolean;
|
491
|
+
} | undefined;
|
260
492
|
uri: string;
|
261
493
|
}, {
|
262
494
|
type?: string | undefined;
|
@@ -264,6 +496,20 @@ export declare const PaginatedBoostsValidator: z.ZodObject<z.extendShape<{
|
|
264
496
|
name?: string | undefined;
|
265
497
|
category?: string | undefined;
|
266
498
|
autoConnectRecipients?: boolean | undefined;
|
499
|
+
meta?: Record<string, any> | undefined;
|
500
|
+
claimPermissions?: {
|
501
|
+
role: string;
|
502
|
+
canEdit: boolean;
|
503
|
+
canIssue: boolean;
|
504
|
+
canRevoke: boolean;
|
505
|
+
canManagePermissions: boolean;
|
506
|
+
canIssueChildren: string;
|
507
|
+
canCreateChildren: string;
|
508
|
+
canEditChildren: string;
|
509
|
+
canRevokeChildren: string;
|
510
|
+
canManageChildrenPermissions: string;
|
511
|
+
canViewAnalytics: boolean;
|
512
|
+
} | undefined;
|
267
513
|
uri: string;
|
268
514
|
}>, "many">;
|
269
515
|
}>, "strip", z.ZodTypeAny, {
|
@@ -275,6 +521,20 @@ export declare const PaginatedBoostsValidator: z.ZodObject<z.extendShape<{
|
|
275
521
|
name?: string | undefined;
|
276
522
|
category?: string | undefined;
|
277
523
|
autoConnectRecipients?: boolean | undefined;
|
524
|
+
meta?: Record<string, any> | undefined;
|
525
|
+
claimPermissions?: {
|
526
|
+
role: string;
|
527
|
+
canEdit: boolean;
|
528
|
+
canIssue: boolean;
|
529
|
+
canRevoke: boolean;
|
530
|
+
canManagePermissions: boolean;
|
531
|
+
canIssueChildren: string;
|
532
|
+
canCreateChildren: string;
|
533
|
+
canEditChildren: string;
|
534
|
+
canRevokeChildren: string;
|
535
|
+
canManageChildrenPermissions: string;
|
536
|
+
canViewAnalytics: boolean;
|
537
|
+
} | undefined;
|
278
538
|
uri: string;
|
279
539
|
}[];
|
280
540
|
}, {
|
@@ -286,6 +546,20 @@ export declare const PaginatedBoostsValidator: z.ZodObject<z.extendShape<{
|
|
286
546
|
name?: string | undefined;
|
287
547
|
category?: string | undefined;
|
288
548
|
autoConnectRecipients?: boolean | undefined;
|
549
|
+
meta?: Record<string, any> | undefined;
|
550
|
+
claimPermissions?: {
|
551
|
+
role: string;
|
552
|
+
canEdit: boolean;
|
553
|
+
canIssue: boolean;
|
554
|
+
canRevoke: boolean;
|
555
|
+
canManagePermissions: boolean;
|
556
|
+
canIssueChildren: string;
|
557
|
+
canCreateChildren: string;
|
558
|
+
canEditChildren: string;
|
559
|
+
canRevokeChildren: string;
|
560
|
+
canManageChildrenPermissions: string;
|
561
|
+
canViewAnalytics: boolean;
|
562
|
+
} | undefined;
|
289
563
|
uri: string;
|
290
564
|
}[];
|
291
565
|
}>;
|
@@ -520,44 +794,6 @@ export declare const LCNBoostClaimLinkOptionsValidator: z.ZodObject<{
|
|
520
794
|
totalUses?: number | undefined;
|
521
795
|
}>;
|
522
796
|
export type LCNBoostClaimLinkOptionsType = z.infer<typeof LCNBoostClaimLinkOptionsValidator>;
|
523
|
-
export declare const BoostPermissionsValidator: z.ZodObject<{
|
524
|
-
role: z.ZodString;
|
525
|
-
canEdit: z.ZodBoolean;
|
526
|
-
canIssue: z.ZodBoolean;
|
527
|
-
canRevoke: z.ZodBoolean;
|
528
|
-
canManagePermissions: z.ZodBoolean;
|
529
|
-
canIssueChildren: z.ZodString;
|
530
|
-
canCreateChildren: z.ZodString;
|
531
|
-
canEditChildren: z.ZodString;
|
532
|
-
canRevokeChildren: z.ZodString;
|
533
|
-
canManageChildrenPermissions: z.ZodString;
|
534
|
-
canViewAnalytics: z.ZodBoolean;
|
535
|
-
}, "strip", z.ZodTypeAny, {
|
536
|
-
role: string;
|
537
|
-
canEdit: boolean;
|
538
|
-
canIssue: boolean;
|
539
|
-
canRevoke: boolean;
|
540
|
-
canManagePermissions: boolean;
|
541
|
-
canIssueChildren: string;
|
542
|
-
canCreateChildren: string;
|
543
|
-
canEditChildren: string;
|
544
|
-
canRevokeChildren: string;
|
545
|
-
canManageChildrenPermissions: string;
|
546
|
-
canViewAnalytics: boolean;
|
547
|
-
}, {
|
548
|
-
role: string;
|
549
|
-
canEdit: boolean;
|
550
|
-
canIssue: boolean;
|
551
|
-
canRevoke: boolean;
|
552
|
-
canManagePermissions: boolean;
|
553
|
-
canIssueChildren: string;
|
554
|
-
canCreateChildren: string;
|
555
|
-
canEditChildren: string;
|
556
|
-
canRevokeChildren: string;
|
557
|
-
canManageChildrenPermissions: string;
|
558
|
-
canViewAnalytics: boolean;
|
559
|
-
}>;
|
560
|
-
export type BoostPermissions = z.infer<typeof BoostPermissionsValidator>;
|
561
797
|
export declare const LCNSigningAuthorityValidator: z.ZodObject<{
|
562
798
|
endpoint: z.ZodString;
|
563
799
|
}, "strip", z.ZodTypeAny, {
|
package/dist/lcn.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lcn.d.ts","sourceRoot":"","sources":["../src/lcn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa9B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE7D,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAExC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEjF,eAAO,MAAM,8BAA8B,+FAKzC,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAE5F,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;EAMtC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAE7E,eAAO,MAAM,cAAc,8BAA4B,CAAC;AACxD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEhE,eAAO,MAAM,cAAc
|
1
|
+
{"version":3,"file":"lcn.d.ts","sourceRoot":"","sources":["../src/lcn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOnC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
@@ -101,6 +101,7 @@ __export(src_exports, {
|
|
101
101
|
RubricCriterionValidator: () => RubricCriterionValidator,
|
102
102
|
SentCredentialInfoValidator: () => SentCredentialInfoValidator,
|
103
103
|
ServiceValidator: () => ServiceValidator,
|
104
|
+
StringQuery: () => StringQuery,
|
104
105
|
UnsignedAchievementCredentialValidator: () => UnsignedAchievementCredentialValidator,
|
105
106
|
UnsignedVCValidator: () => UnsignedVCValidator,
|
106
107
|
UnsignedVPValidator: () => UnsignedVPValidator,
|
@@ -3903,6 +3904,19 @@ var SentCredentialInfoValidator = mod.object({
|
|
3903
3904
|
sent: mod.string().datetime(),
|
3904
3905
|
received: mod.string().datetime().optional()
|
3905
3906
|
});
|
3907
|
+
var BoostPermissionsValidator = mod.object({
|
3908
|
+
role: mod.string(),
|
3909
|
+
canEdit: mod.boolean(),
|
3910
|
+
canIssue: mod.boolean(),
|
3911
|
+
canRevoke: mod.boolean(),
|
3912
|
+
canManagePermissions: mod.boolean(),
|
3913
|
+
canIssueChildren: mod.string(),
|
3914
|
+
canCreateChildren: mod.string(),
|
3915
|
+
canEditChildren: mod.string(),
|
3916
|
+
canRevokeChildren: mod.string(),
|
3917
|
+
canManageChildrenPermissions: mod.string(),
|
3918
|
+
canViewAnalytics: mod.boolean()
|
3919
|
+
});
|
3906
3920
|
var LCNBoostStatus = mod.enum(["DRAFT", "LIVE"]);
|
3907
3921
|
var BoostValidator = mod.object({
|
3908
3922
|
uri: mod.string(),
|
@@ -3910,13 +3924,17 @@ var BoostValidator = mod.object({
|
|
3910
3924
|
type: mod.string().optional(),
|
3911
3925
|
category: mod.string().optional(),
|
3912
3926
|
status: LCNBoostStatus.optional(),
|
3913
|
-
autoConnectRecipients: mod.boolean().optional()
|
3927
|
+
autoConnectRecipients: mod.boolean().optional(),
|
3928
|
+
meta: mod.record(mod.any()).optional(),
|
3929
|
+
claimPermissions: BoostPermissionsValidator.optional()
|
3914
3930
|
});
|
3931
|
+
var StringQuery = mod.string().or(mod.object({ $in: mod.string().array() })).or(mod.object({ $regex: mod.instanceof(RegExp) }));
|
3915
3932
|
var BoostQueryValidator = mod.object({
|
3916
|
-
uri:
|
3917
|
-
name:
|
3918
|
-
type:
|
3919
|
-
category:
|
3933
|
+
uri: StringQuery,
|
3934
|
+
name: StringQuery,
|
3935
|
+
type: StringQuery,
|
3936
|
+
category: StringQuery,
|
3937
|
+
meta: mod.record(StringQuery),
|
3920
3938
|
status: LCNBoostStatus.or(mod.object({ $in: LCNBoostStatus.array() })),
|
3921
3939
|
autoConnectRecipients: mod.boolean()
|
3922
3940
|
}).partial();
|
@@ -3940,19 +3958,6 @@ var LCNBoostClaimLinkOptionsValidator = mod.object({
|
|
3940
3958
|
ttlSeconds: mod.number().optional(),
|
3941
3959
|
totalUses: mod.number().optional()
|
3942
3960
|
});
|
3943
|
-
var BoostPermissionsValidator = mod.object({
|
3944
|
-
role: mod.string(),
|
3945
|
-
canEdit: mod.boolean(),
|
3946
|
-
canIssue: mod.boolean(),
|
3947
|
-
canRevoke: mod.boolean(),
|
3948
|
-
canManagePermissions: mod.boolean(),
|
3949
|
-
canIssueChildren: mod.string(),
|
3950
|
-
canCreateChildren: mod.string(),
|
3951
|
-
canEditChildren: mod.string(),
|
3952
|
-
canRevokeChildren: mod.string(),
|
3953
|
-
canManageChildrenPermissions: mod.string(),
|
3954
|
-
canViewAnalytics: mod.boolean()
|
3955
|
-
});
|
3956
3961
|
var LCNSigningAuthorityValidator = mod.object({
|
3957
3962
|
endpoint: mod.string()
|
3958
3963
|
});
|