@learncard/types 5.9.0 → 5.9.1
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 +1750 -467
- package/dist/lcn.d.ts.map +1 -1
- package/dist/types.cjs.development.js +5 -3
- 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 +2 -2
- package/dist/types.esm.js +5 -3
- package/dist/types.esm.js.map +2 -2
- package/package.json +1 -1
package/dist/lcn.d.ts
CHANGED
|
@@ -1555,18 +1555,21 @@ export declare const SentCredentialInfoValidator: z.ZodObject<{
|
|
|
1555
1555
|
from: z.ZodString;
|
|
1556
1556
|
sent: z.ZodString;
|
|
1557
1557
|
received: z.ZodOptional<z.ZodString>;
|
|
1558
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1558
1559
|
}, "strip", z.ZodTypeAny, {
|
|
1559
1560
|
uri: string;
|
|
1560
1561
|
to: string;
|
|
1561
1562
|
from: string;
|
|
1562
1563
|
sent: string;
|
|
1563
1564
|
received?: string | undefined;
|
|
1565
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1564
1566
|
}, {
|
|
1565
1567
|
uri: string;
|
|
1566
1568
|
to: string;
|
|
1567
1569
|
from: string;
|
|
1568
1570
|
sent: string;
|
|
1569
1571
|
received?: string | undefined;
|
|
1572
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1570
1573
|
}>;
|
|
1571
1574
|
export type SentCredentialInfo = z.infer<typeof SentCredentialInfoValidator>;
|
|
1572
1575
|
export declare const BoostPermissionsValidator: z.ZodObject<{
|
|
@@ -11388,10 +11391,153 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
|
|
|
11388
11391
|
};
|
|
11389
11392
|
timestamp?: string | undefined;
|
|
11390
11393
|
}>>;
|
|
11391
|
-
|
|
11392
|
-
|
|
11393
|
-
|
|
11394
|
-
|
|
11394
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11395
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11396
|
+
vcUris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11397
|
+
vpUris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11398
|
+
transaction: z.ZodOptional<z.ZodObject<{
|
|
11399
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
11400
|
+
oneTime: z.ZodOptional<z.ZodBoolean>;
|
|
11401
|
+
terms: z.ZodOptional<z.ZodObject<{
|
|
11402
|
+
read: z.ZodDefault<z.ZodObject<{
|
|
11403
|
+
anonymize: z.ZodOptional<z.ZodBoolean>;
|
|
11404
|
+
credentials: z.ZodDefault<z.ZodObject<{
|
|
11405
|
+
shareAll: z.ZodOptional<z.ZodBoolean>;
|
|
11406
|
+
sharing: z.ZodOptional<z.ZodBoolean>;
|
|
11407
|
+
categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11408
|
+
sharing: z.ZodOptional<z.ZodBoolean>;
|
|
11409
|
+
shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11410
|
+
shareAll: z.ZodOptional<z.ZodBoolean>;
|
|
11411
|
+
shareUntil: z.ZodOptional<z.ZodString>;
|
|
11412
|
+
}, "strip", z.ZodTypeAny, {
|
|
11413
|
+
sharing?: boolean | undefined;
|
|
11414
|
+
shared?: string[] | undefined;
|
|
11415
|
+
shareAll?: boolean | undefined;
|
|
11416
|
+
shareUntil?: string | undefined;
|
|
11417
|
+
}, {
|
|
11418
|
+
sharing?: boolean | undefined;
|
|
11419
|
+
shared?: string[] | undefined;
|
|
11420
|
+
shareAll?: boolean | undefined;
|
|
11421
|
+
shareUntil?: string | undefined;
|
|
11422
|
+
}>>>;
|
|
11423
|
+
}, "strip", z.ZodTypeAny, {
|
|
11424
|
+
categories: Record<string, {
|
|
11425
|
+
sharing?: boolean | undefined;
|
|
11426
|
+
shared?: string[] | undefined;
|
|
11427
|
+
shareAll?: boolean | undefined;
|
|
11428
|
+
shareUntil?: string | undefined;
|
|
11429
|
+
}>;
|
|
11430
|
+
sharing?: boolean | undefined;
|
|
11431
|
+
shareAll?: boolean | undefined;
|
|
11432
|
+
}, {
|
|
11433
|
+
categories?: Record<string, {
|
|
11434
|
+
sharing?: boolean | undefined;
|
|
11435
|
+
shared?: string[] | undefined;
|
|
11436
|
+
shareAll?: boolean | undefined;
|
|
11437
|
+
shareUntil?: string | undefined;
|
|
11438
|
+
}> | undefined;
|
|
11439
|
+
sharing?: boolean | undefined;
|
|
11440
|
+
shareAll?: boolean | undefined;
|
|
11441
|
+
}>>;
|
|
11442
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
11443
|
+
}, "strip", z.ZodTypeAny, {
|
|
11444
|
+
credentials: {
|
|
11445
|
+
categories: Record<string, {
|
|
11446
|
+
sharing?: boolean | undefined;
|
|
11447
|
+
shared?: string[] | undefined;
|
|
11448
|
+
shareAll?: boolean | undefined;
|
|
11449
|
+
shareUntil?: string | undefined;
|
|
11450
|
+
}>;
|
|
11451
|
+
sharing?: boolean | undefined;
|
|
11452
|
+
shareAll?: boolean | undefined;
|
|
11453
|
+
};
|
|
11454
|
+
personal: Record<string, string>;
|
|
11455
|
+
anonymize?: boolean | undefined;
|
|
11456
|
+
}, {
|
|
11457
|
+
anonymize?: boolean | undefined;
|
|
11458
|
+
credentials?: {
|
|
11459
|
+
categories?: Record<string, {
|
|
11460
|
+
sharing?: boolean | undefined;
|
|
11461
|
+
shared?: string[] | undefined;
|
|
11462
|
+
shareAll?: boolean | undefined;
|
|
11463
|
+
shareUntil?: string | undefined;
|
|
11464
|
+
}> | undefined;
|
|
11465
|
+
sharing?: boolean | undefined;
|
|
11466
|
+
shareAll?: boolean | undefined;
|
|
11467
|
+
} | undefined;
|
|
11468
|
+
personal?: Record<string, string> | undefined;
|
|
11469
|
+
}>>;
|
|
11470
|
+
write: z.ZodDefault<z.ZodObject<{
|
|
11471
|
+
credentials: z.ZodDefault<z.ZodObject<{
|
|
11472
|
+
categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
11473
|
+
}, "strip", z.ZodTypeAny, {
|
|
11474
|
+
categories: Record<string, boolean>;
|
|
11475
|
+
}, {
|
|
11476
|
+
categories?: Record<string, boolean> | undefined;
|
|
11477
|
+
}>>;
|
|
11478
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
11479
|
+
}, "strip", z.ZodTypeAny, {
|
|
11480
|
+
credentials: {
|
|
11481
|
+
categories: Record<string, boolean>;
|
|
11482
|
+
};
|
|
11483
|
+
personal: Record<string, boolean>;
|
|
11484
|
+
}, {
|
|
11485
|
+
credentials?: {
|
|
11486
|
+
categories?: Record<string, boolean> | undefined;
|
|
11487
|
+
} | undefined;
|
|
11488
|
+
personal?: Record<string, boolean> | undefined;
|
|
11489
|
+
}>>;
|
|
11490
|
+
deniedWriters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11491
|
+
}, "strip", z.ZodTypeAny, {
|
|
11492
|
+
read: {
|
|
11493
|
+
credentials: {
|
|
11494
|
+
categories: Record<string, {
|
|
11495
|
+
sharing?: boolean | undefined;
|
|
11496
|
+
shared?: string[] | undefined;
|
|
11497
|
+
shareAll?: boolean | undefined;
|
|
11498
|
+
shareUntil?: string | undefined;
|
|
11499
|
+
}>;
|
|
11500
|
+
sharing?: boolean | undefined;
|
|
11501
|
+
shareAll?: boolean | undefined;
|
|
11502
|
+
};
|
|
11503
|
+
personal: Record<string, string>;
|
|
11504
|
+
anonymize?: boolean | undefined;
|
|
11505
|
+
};
|
|
11506
|
+
write: {
|
|
11507
|
+
credentials: {
|
|
11508
|
+
categories: Record<string, boolean>;
|
|
11509
|
+
};
|
|
11510
|
+
personal: Record<string, boolean>;
|
|
11511
|
+
};
|
|
11512
|
+
deniedWriters?: string[] | undefined;
|
|
11513
|
+
}, {
|
|
11514
|
+
read?: {
|
|
11515
|
+
anonymize?: boolean | undefined;
|
|
11516
|
+
credentials?: {
|
|
11517
|
+
categories?: Record<string, {
|
|
11518
|
+
sharing?: boolean | undefined;
|
|
11519
|
+
shared?: string[] | undefined;
|
|
11520
|
+
shareAll?: boolean | undefined;
|
|
11521
|
+
shareUntil?: string | undefined;
|
|
11522
|
+
}> | undefined;
|
|
11523
|
+
sharing?: boolean | undefined;
|
|
11524
|
+
shareAll?: boolean | undefined;
|
|
11525
|
+
} | undefined;
|
|
11526
|
+
personal?: Record<string, string> | undefined;
|
|
11527
|
+
} | undefined;
|
|
11528
|
+
write?: {
|
|
11529
|
+
credentials?: {
|
|
11530
|
+
categories?: Record<string, boolean> | undefined;
|
|
11531
|
+
} | undefined;
|
|
11532
|
+
personal?: Record<string, boolean> | undefined;
|
|
11533
|
+
} | undefined;
|
|
11534
|
+
deniedWriters?: string[] | undefined;
|
|
11535
|
+
}>>;
|
|
11536
|
+
id: z.ZodString;
|
|
11537
|
+
action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
|
11538
|
+
date: z.ZodString;
|
|
11539
|
+
uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11540
|
+
}, "strip", z.ZodTypeAny, {
|
|
11395
11541
|
date: string;
|
|
11396
11542
|
id: string;
|
|
11397
11543
|
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
|
@@ -11421,23 +11567,7 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
|
|
|
11421
11567
|
deniedWriters?: string[] | undefined;
|
|
11422
11568
|
} | undefined;
|
|
11423
11569
|
uris?: string[] | undefined;
|
|
11424
|
-
}
|
|
11425
|
-
inbox?: {
|
|
11426
|
-
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
11427
|
-
issuanceId: string;
|
|
11428
|
-
recipient: {
|
|
11429
|
-
contactMethod?: {
|
|
11430
|
-
type: string;
|
|
11431
|
-
value: string;
|
|
11432
|
-
} | undefined;
|
|
11433
|
-
learnCardId?: string | undefined;
|
|
11434
|
-
};
|
|
11435
|
-
timestamp?: string | undefined;
|
|
11436
|
-
} | undefined;
|
|
11437
|
-
}, {
|
|
11438
|
-
vcUris?: string[] | undefined;
|
|
11439
|
-
vpUris?: string[] | undefined;
|
|
11440
|
-
transaction?: {
|
|
11570
|
+
}, {
|
|
11441
11571
|
date: string;
|
|
11442
11572
|
id: string;
|
|
11443
11573
|
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
|
@@ -11467,8 +11597,37 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
|
|
|
11467
11597
|
deniedWriters?: string[] | undefined;
|
|
11468
11598
|
} | undefined;
|
|
11469
11599
|
uris?: string[] | undefined;
|
|
11470
|
-
}
|
|
11471
|
-
inbox
|
|
11600
|
+
}>>;
|
|
11601
|
+
inbox: z.ZodOptional<z.ZodObject<{
|
|
11602
|
+
issuanceId: z.ZodString;
|
|
11603
|
+
status: z.ZodEnum<["PENDING", "ISSUED", "EXPIRED", "DELIVERED", "CLAIMED"]>;
|
|
11604
|
+
recipient: z.ZodObject<{
|
|
11605
|
+
contactMethod: z.ZodOptional<z.ZodObject<{
|
|
11606
|
+
type: z.ZodString;
|
|
11607
|
+
value: z.ZodString;
|
|
11608
|
+
}, "strip", z.ZodTypeAny, {
|
|
11609
|
+
type: string;
|
|
11610
|
+
value: string;
|
|
11611
|
+
}, {
|
|
11612
|
+
type: string;
|
|
11613
|
+
value: string;
|
|
11614
|
+
}>>;
|
|
11615
|
+
learnCardId: z.ZodOptional<z.ZodString>;
|
|
11616
|
+
}, "strip", z.ZodTypeAny, {
|
|
11617
|
+
contactMethod?: {
|
|
11618
|
+
type: string;
|
|
11619
|
+
value: string;
|
|
11620
|
+
} | undefined;
|
|
11621
|
+
learnCardId?: string | undefined;
|
|
11622
|
+
}, {
|
|
11623
|
+
contactMethod?: {
|
|
11624
|
+
type: string;
|
|
11625
|
+
value: string;
|
|
11626
|
+
} | undefined;
|
|
11627
|
+
learnCardId?: string | undefined;
|
|
11628
|
+
}>;
|
|
11629
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
11630
|
+
}, "strip", z.ZodTypeAny, {
|
|
11472
11631
|
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
11473
11632
|
issuanceId: string;
|
|
11474
11633
|
recipient: {
|
|
@@ -11479,145 +11638,416 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
|
|
|
11479
11638
|
learnCardId?: string | undefined;
|
|
11480
11639
|
};
|
|
11481
11640
|
timestamp?: string | undefined;
|
|
11482
|
-
} | undefined;
|
|
11483
|
-
}>;
|
|
11484
|
-
export type LCNNotificationData = z.infer<typeof LCNNotificationDataValidator>;
|
|
11485
|
-
export declare const LCNNotificationValidator: z.ZodObject<{
|
|
11486
|
-
type: z.ZodEnum<["CONNECTION_REQUEST", "CONNECTION_ACCEPTED", "CREDENTIAL_RECEIVED", "CREDENTIAL_ACCEPTED", "BOOST_RECEIVED", "BOOST_ACCEPTED", "PRESENTATION_REQUEST", "PRESENTATION_RECEIVED", "CONSENT_FLOW_TRANSACTION", "ISSUANCE_CLAIMED", "ISSUANCE_DELIVERED", "ISSUANCE_ERROR", "PROFILE_PARENT_APPROVED"]>;
|
|
11487
|
-
to: z.ZodIntersection<z.ZodObject<{
|
|
11488
|
-
profileId: z.ZodOptional<z.ZodString>;
|
|
11489
|
-
displayName: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
11490
|
-
shortBio: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
11491
|
-
bio: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
11492
|
-
did: z.ZodOptional<z.ZodString>;
|
|
11493
|
-
isPrivate: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
11494
|
-
email: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11495
|
-
image: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11496
|
-
heroImage: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11497
|
-
websiteLink: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11498
|
-
isServiceProfile: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
11499
|
-
type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11500
|
-
notificationsWebhook: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11501
|
-
display: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
11502
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
11503
|
-
backgroundImage: z.ZodOptional<z.ZodString>;
|
|
11504
|
-
fadeBackgroundImage: z.ZodOptional<z.ZodBoolean>;
|
|
11505
|
-
repeatBackgroundImage: z.ZodOptional<z.ZodBoolean>;
|
|
11506
|
-
fontColor: z.ZodOptional<z.ZodString>;
|
|
11507
|
-
accentColor: z.ZodOptional<z.ZodString>;
|
|
11508
|
-
accentFontColor: z.ZodOptional<z.ZodString>;
|
|
11509
|
-
idBackgroundImage: z.ZodOptional<z.ZodString>;
|
|
11510
|
-
fadeIdBackgroundImage: z.ZodOptional<z.ZodBoolean>;
|
|
11511
|
-
idBackgroundColor: z.ZodOptional<z.ZodString>;
|
|
11512
|
-
repeatIdBackgroundImage: z.ZodOptional<z.ZodBoolean>;
|
|
11513
|
-
}, "strip", z.ZodTypeAny, {
|
|
11514
|
-
backgroundColor?: string | undefined;
|
|
11515
|
-
backgroundImage?: string | undefined;
|
|
11516
|
-
fadeBackgroundImage?: boolean | undefined;
|
|
11517
|
-
repeatBackgroundImage?: boolean | undefined;
|
|
11518
|
-
fontColor?: string | undefined;
|
|
11519
|
-
accentColor?: string | undefined;
|
|
11520
|
-
accentFontColor?: string | undefined;
|
|
11521
|
-
idBackgroundImage?: string | undefined;
|
|
11522
|
-
fadeIdBackgroundImage?: boolean | undefined;
|
|
11523
|
-
idBackgroundColor?: string | undefined;
|
|
11524
|
-
repeatIdBackgroundImage?: boolean | undefined;
|
|
11525
|
-
}, {
|
|
11526
|
-
backgroundColor?: string | undefined;
|
|
11527
|
-
backgroundImage?: string | undefined;
|
|
11528
|
-
fadeBackgroundImage?: boolean | undefined;
|
|
11529
|
-
repeatBackgroundImage?: boolean | undefined;
|
|
11530
|
-
fontColor?: string | undefined;
|
|
11531
|
-
accentColor?: string | undefined;
|
|
11532
|
-
accentFontColor?: string | undefined;
|
|
11533
|
-
idBackgroundImage?: string | undefined;
|
|
11534
|
-
fadeIdBackgroundImage?: boolean | undefined;
|
|
11535
|
-
idBackgroundColor?: string | undefined;
|
|
11536
|
-
repeatIdBackgroundImage?: boolean | undefined;
|
|
11537
|
-
}>>>;
|
|
11538
|
-
highlightedCredentials: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
11539
|
-
role: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
|
|
11540
|
-
dob: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
|
|
11541
|
-
country: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11542
|
-
approved: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
11543
|
-
}, "strip", z.ZodTypeAny, {
|
|
11544
|
-
type?: string | undefined;
|
|
11545
|
-
image?: string | undefined;
|
|
11546
|
-
email?: string | undefined;
|
|
11547
|
-
role?: string | undefined;
|
|
11548
|
-
profileId?: string | undefined;
|
|
11549
|
-
displayName?: string | undefined;
|
|
11550
|
-
shortBio?: string | undefined;
|
|
11551
|
-
bio?: string | undefined;
|
|
11552
|
-
did?: string | undefined;
|
|
11553
|
-
isPrivate?: boolean | undefined;
|
|
11554
|
-
heroImage?: string | undefined;
|
|
11555
|
-
websiteLink?: string | undefined;
|
|
11556
|
-
isServiceProfile?: boolean | undefined;
|
|
11557
|
-
notificationsWebhook?: string | undefined;
|
|
11558
|
-
display?: {
|
|
11559
|
-
backgroundColor?: string | undefined;
|
|
11560
|
-
backgroundImage?: string | undefined;
|
|
11561
|
-
fadeBackgroundImage?: boolean | undefined;
|
|
11562
|
-
repeatBackgroundImage?: boolean | undefined;
|
|
11563
|
-
fontColor?: string | undefined;
|
|
11564
|
-
accentColor?: string | undefined;
|
|
11565
|
-
accentFontColor?: string | undefined;
|
|
11566
|
-
idBackgroundImage?: string | undefined;
|
|
11567
|
-
fadeIdBackgroundImage?: boolean | undefined;
|
|
11568
|
-
idBackgroundColor?: string | undefined;
|
|
11569
|
-
repeatIdBackgroundImage?: boolean | undefined;
|
|
11570
|
-
} | undefined;
|
|
11571
|
-
highlightedCredentials?: string[] | undefined;
|
|
11572
|
-
dob?: string | undefined;
|
|
11573
|
-
country?: string | undefined;
|
|
11574
|
-
approved?: boolean | undefined;
|
|
11575
11641
|
}, {
|
|
11576
|
-
|
|
11577
|
-
|
|
11578
|
-
|
|
11579
|
-
|
|
11580
|
-
|
|
11581
|
-
|
|
11582
|
-
|
|
11583
|
-
|
|
11584
|
-
|
|
11585
|
-
|
|
11586
|
-
|
|
11587
|
-
|
|
11588
|
-
|
|
11589
|
-
|
|
11590
|
-
|
|
11591
|
-
|
|
11592
|
-
|
|
11593
|
-
|
|
11594
|
-
|
|
11595
|
-
|
|
11596
|
-
|
|
11597
|
-
|
|
11598
|
-
|
|
11599
|
-
|
|
11600
|
-
|
|
11601
|
-
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
|
|
11605
|
-
|
|
11606
|
-
|
|
11607
|
-
|
|
11608
|
-
|
|
11642
|
+
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
11643
|
+
issuanceId: string;
|
|
11644
|
+
recipient: {
|
|
11645
|
+
contactMethod?: {
|
|
11646
|
+
type: string;
|
|
11647
|
+
value: string;
|
|
11648
|
+
} | undefined;
|
|
11649
|
+
learnCardId?: string | undefined;
|
|
11650
|
+
};
|
|
11651
|
+
timestamp?: string | undefined;
|
|
11652
|
+
}>>;
|
|
11653
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11654
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11655
|
+
vcUris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11656
|
+
vpUris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11657
|
+
transaction: z.ZodOptional<z.ZodObject<{
|
|
11658
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
11659
|
+
oneTime: z.ZodOptional<z.ZodBoolean>;
|
|
11660
|
+
terms: z.ZodOptional<z.ZodObject<{
|
|
11661
|
+
read: z.ZodDefault<z.ZodObject<{
|
|
11662
|
+
anonymize: z.ZodOptional<z.ZodBoolean>;
|
|
11663
|
+
credentials: z.ZodDefault<z.ZodObject<{
|
|
11664
|
+
shareAll: z.ZodOptional<z.ZodBoolean>;
|
|
11665
|
+
sharing: z.ZodOptional<z.ZodBoolean>;
|
|
11666
|
+
categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11667
|
+
sharing: z.ZodOptional<z.ZodBoolean>;
|
|
11668
|
+
shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11669
|
+
shareAll: z.ZodOptional<z.ZodBoolean>;
|
|
11670
|
+
shareUntil: z.ZodOptional<z.ZodString>;
|
|
11671
|
+
}, "strip", z.ZodTypeAny, {
|
|
11672
|
+
sharing?: boolean | undefined;
|
|
11673
|
+
shared?: string[] | undefined;
|
|
11674
|
+
shareAll?: boolean | undefined;
|
|
11675
|
+
shareUntil?: string | undefined;
|
|
11676
|
+
}, {
|
|
11677
|
+
sharing?: boolean | undefined;
|
|
11678
|
+
shared?: string[] | undefined;
|
|
11679
|
+
shareAll?: boolean | undefined;
|
|
11680
|
+
shareUntil?: string | undefined;
|
|
11681
|
+
}>>>;
|
|
11682
|
+
}, "strip", z.ZodTypeAny, {
|
|
11683
|
+
categories: Record<string, {
|
|
11684
|
+
sharing?: boolean | undefined;
|
|
11685
|
+
shared?: string[] | undefined;
|
|
11686
|
+
shareAll?: boolean | undefined;
|
|
11687
|
+
shareUntil?: string | undefined;
|
|
11688
|
+
}>;
|
|
11689
|
+
sharing?: boolean | undefined;
|
|
11690
|
+
shareAll?: boolean | undefined;
|
|
11691
|
+
}, {
|
|
11692
|
+
categories?: Record<string, {
|
|
11693
|
+
sharing?: boolean | undefined;
|
|
11694
|
+
shared?: string[] | undefined;
|
|
11695
|
+
shareAll?: boolean | undefined;
|
|
11696
|
+
shareUntil?: string | undefined;
|
|
11697
|
+
}> | undefined;
|
|
11698
|
+
sharing?: boolean | undefined;
|
|
11699
|
+
shareAll?: boolean | undefined;
|
|
11700
|
+
}>>;
|
|
11701
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
11702
|
+
}, "strip", z.ZodTypeAny, {
|
|
11703
|
+
credentials: {
|
|
11704
|
+
categories: Record<string, {
|
|
11705
|
+
sharing?: boolean | undefined;
|
|
11706
|
+
shared?: string[] | undefined;
|
|
11707
|
+
shareAll?: boolean | undefined;
|
|
11708
|
+
shareUntil?: string | undefined;
|
|
11709
|
+
}>;
|
|
11710
|
+
sharing?: boolean | undefined;
|
|
11711
|
+
shareAll?: boolean | undefined;
|
|
11712
|
+
};
|
|
11713
|
+
personal: Record<string, string>;
|
|
11714
|
+
anonymize?: boolean | undefined;
|
|
11715
|
+
}, {
|
|
11716
|
+
anonymize?: boolean | undefined;
|
|
11717
|
+
credentials?: {
|
|
11718
|
+
categories?: Record<string, {
|
|
11719
|
+
sharing?: boolean | undefined;
|
|
11720
|
+
shared?: string[] | undefined;
|
|
11721
|
+
shareAll?: boolean | undefined;
|
|
11722
|
+
shareUntil?: string | undefined;
|
|
11723
|
+
}> | undefined;
|
|
11724
|
+
sharing?: boolean | undefined;
|
|
11725
|
+
shareAll?: boolean | undefined;
|
|
11726
|
+
} | undefined;
|
|
11727
|
+
personal?: Record<string, string> | undefined;
|
|
11728
|
+
}>>;
|
|
11729
|
+
write: z.ZodDefault<z.ZodObject<{
|
|
11730
|
+
credentials: z.ZodDefault<z.ZodObject<{
|
|
11731
|
+
categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
11732
|
+
}, "strip", z.ZodTypeAny, {
|
|
11733
|
+
categories: Record<string, boolean>;
|
|
11734
|
+
}, {
|
|
11735
|
+
categories?: Record<string, boolean> | undefined;
|
|
11736
|
+
}>>;
|
|
11737
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
11738
|
+
}, "strip", z.ZodTypeAny, {
|
|
11739
|
+
credentials: {
|
|
11740
|
+
categories: Record<string, boolean>;
|
|
11741
|
+
};
|
|
11742
|
+
personal: Record<string, boolean>;
|
|
11743
|
+
}, {
|
|
11744
|
+
credentials?: {
|
|
11745
|
+
categories?: Record<string, boolean> | undefined;
|
|
11746
|
+
} | undefined;
|
|
11747
|
+
personal?: Record<string, boolean> | undefined;
|
|
11748
|
+
}>>;
|
|
11749
|
+
deniedWriters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11750
|
+
}, "strip", z.ZodTypeAny, {
|
|
11751
|
+
read: {
|
|
11752
|
+
credentials: {
|
|
11753
|
+
categories: Record<string, {
|
|
11754
|
+
sharing?: boolean | undefined;
|
|
11755
|
+
shared?: string[] | undefined;
|
|
11756
|
+
shareAll?: boolean | undefined;
|
|
11757
|
+
shareUntil?: string | undefined;
|
|
11758
|
+
}>;
|
|
11759
|
+
sharing?: boolean | undefined;
|
|
11760
|
+
shareAll?: boolean | undefined;
|
|
11761
|
+
};
|
|
11762
|
+
personal: Record<string, string>;
|
|
11763
|
+
anonymize?: boolean | undefined;
|
|
11764
|
+
};
|
|
11765
|
+
write: {
|
|
11766
|
+
credentials: {
|
|
11767
|
+
categories: Record<string, boolean>;
|
|
11768
|
+
};
|
|
11769
|
+
personal: Record<string, boolean>;
|
|
11770
|
+
};
|
|
11771
|
+
deniedWriters?: string[] | undefined;
|
|
11772
|
+
}, {
|
|
11773
|
+
read?: {
|
|
11774
|
+
anonymize?: boolean | undefined;
|
|
11775
|
+
credentials?: {
|
|
11776
|
+
categories?: Record<string, {
|
|
11777
|
+
sharing?: boolean | undefined;
|
|
11778
|
+
shared?: string[] | undefined;
|
|
11779
|
+
shareAll?: boolean | undefined;
|
|
11780
|
+
shareUntil?: string | undefined;
|
|
11781
|
+
}> | undefined;
|
|
11782
|
+
sharing?: boolean | undefined;
|
|
11783
|
+
shareAll?: boolean | undefined;
|
|
11784
|
+
} | undefined;
|
|
11785
|
+
personal?: Record<string, string> | undefined;
|
|
11786
|
+
} | undefined;
|
|
11787
|
+
write?: {
|
|
11788
|
+
credentials?: {
|
|
11789
|
+
categories?: Record<string, boolean> | undefined;
|
|
11790
|
+
} | undefined;
|
|
11791
|
+
personal?: Record<string, boolean> | undefined;
|
|
11792
|
+
} | undefined;
|
|
11793
|
+
deniedWriters?: string[] | undefined;
|
|
11794
|
+
}>>;
|
|
11795
|
+
id: z.ZodString;
|
|
11796
|
+
action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
|
11797
|
+
date: z.ZodString;
|
|
11798
|
+
uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11609
11799
|
}, "strip", z.ZodTypeAny, {
|
|
11610
|
-
|
|
11800
|
+
date: string;
|
|
11801
|
+
id: string;
|
|
11802
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
|
11803
|
+
expiresAt?: string | undefined;
|
|
11804
|
+
oneTime?: boolean | undefined;
|
|
11805
|
+
terms?: {
|
|
11806
|
+
read: {
|
|
11807
|
+
credentials: {
|
|
11808
|
+
categories: Record<string, {
|
|
11809
|
+
sharing?: boolean | undefined;
|
|
11810
|
+
shared?: string[] | undefined;
|
|
11811
|
+
shareAll?: boolean | undefined;
|
|
11812
|
+
shareUntil?: string | undefined;
|
|
11813
|
+
}>;
|
|
11814
|
+
sharing?: boolean | undefined;
|
|
11815
|
+
shareAll?: boolean | undefined;
|
|
11816
|
+
};
|
|
11817
|
+
personal: Record<string, string>;
|
|
11818
|
+
anonymize?: boolean | undefined;
|
|
11819
|
+
};
|
|
11820
|
+
write: {
|
|
11821
|
+
credentials: {
|
|
11822
|
+
categories: Record<string, boolean>;
|
|
11823
|
+
};
|
|
11824
|
+
personal: Record<string, boolean>;
|
|
11825
|
+
};
|
|
11826
|
+
deniedWriters?: string[] | undefined;
|
|
11827
|
+
} | undefined;
|
|
11828
|
+
uris?: string[] | undefined;
|
|
11611
11829
|
}, {
|
|
11612
|
-
|
|
11613
|
-
|
|
11614
|
-
|
|
11615
|
-
|
|
11616
|
-
|
|
11617
|
-
|
|
11618
|
-
|
|
11619
|
-
|
|
11620
|
-
|
|
11830
|
+
date: string;
|
|
11831
|
+
id: string;
|
|
11832
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
|
11833
|
+
expiresAt?: string | undefined;
|
|
11834
|
+
oneTime?: boolean | undefined;
|
|
11835
|
+
terms?: {
|
|
11836
|
+
read?: {
|
|
11837
|
+
anonymize?: boolean | undefined;
|
|
11838
|
+
credentials?: {
|
|
11839
|
+
categories?: Record<string, {
|
|
11840
|
+
sharing?: boolean | undefined;
|
|
11841
|
+
shared?: string[] | undefined;
|
|
11842
|
+
shareAll?: boolean | undefined;
|
|
11843
|
+
shareUntil?: string | undefined;
|
|
11844
|
+
}> | undefined;
|
|
11845
|
+
sharing?: boolean | undefined;
|
|
11846
|
+
shareAll?: boolean | undefined;
|
|
11847
|
+
} | undefined;
|
|
11848
|
+
personal?: Record<string, string> | undefined;
|
|
11849
|
+
} | undefined;
|
|
11850
|
+
write?: {
|
|
11851
|
+
credentials?: {
|
|
11852
|
+
categories?: Record<string, boolean> | undefined;
|
|
11853
|
+
} | undefined;
|
|
11854
|
+
personal?: Record<string, boolean> | undefined;
|
|
11855
|
+
} | undefined;
|
|
11856
|
+
deniedWriters?: string[] | undefined;
|
|
11857
|
+
} | undefined;
|
|
11858
|
+
uris?: string[] | undefined;
|
|
11859
|
+
}>>;
|
|
11860
|
+
inbox: z.ZodOptional<z.ZodObject<{
|
|
11861
|
+
issuanceId: z.ZodString;
|
|
11862
|
+
status: z.ZodEnum<["PENDING", "ISSUED", "EXPIRED", "DELIVERED", "CLAIMED"]>;
|
|
11863
|
+
recipient: z.ZodObject<{
|
|
11864
|
+
contactMethod: z.ZodOptional<z.ZodObject<{
|
|
11865
|
+
type: z.ZodString;
|
|
11866
|
+
value: z.ZodString;
|
|
11867
|
+
}, "strip", z.ZodTypeAny, {
|
|
11868
|
+
type: string;
|
|
11869
|
+
value: string;
|
|
11870
|
+
}, {
|
|
11871
|
+
type: string;
|
|
11872
|
+
value: string;
|
|
11873
|
+
}>>;
|
|
11874
|
+
learnCardId: z.ZodOptional<z.ZodString>;
|
|
11875
|
+
}, "strip", z.ZodTypeAny, {
|
|
11876
|
+
contactMethod?: {
|
|
11877
|
+
type: string;
|
|
11878
|
+
value: string;
|
|
11879
|
+
} | undefined;
|
|
11880
|
+
learnCardId?: string | undefined;
|
|
11881
|
+
}, {
|
|
11882
|
+
contactMethod?: {
|
|
11883
|
+
type: string;
|
|
11884
|
+
value: string;
|
|
11885
|
+
} | undefined;
|
|
11886
|
+
learnCardId?: string | undefined;
|
|
11887
|
+
}>;
|
|
11888
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
11889
|
+
}, "strip", z.ZodTypeAny, {
|
|
11890
|
+
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
11891
|
+
issuanceId: string;
|
|
11892
|
+
recipient: {
|
|
11893
|
+
contactMethod?: {
|
|
11894
|
+
type: string;
|
|
11895
|
+
value: string;
|
|
11896
|
+
} | undefined;
|
|
11897
|
+
learnCardId?: string | undefined;
|
|
11898
|
+
};
|
|
11899
|
+
timestamp?: string | undefined;
|
|
11900
|
+
}, {
|
|
11901
|
+
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
11902
|
+
issuanceId: string;
|
|
11903
|
+
recipient: {
|
|
11904
|
+
contactMethod?: {
|
|
11905
|
+
type: string;
|
|
11906
|
+
value: string;
|
|
11907
|
+
} | undefined;
|
|
11908
|
+
learnCardId?: string | undefined;
|
|
11909
|
+
};
|
|
11910
|
+
timestamp?: string | undefined;
|
|
11911
|
+
}>>;
|
|
11912
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11913
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
11914
|
+
export type LCNNotificationData = z.infer<typeof LCNNotificationDataValidator>;
|
|
11915
|
+
export declare const LCNNotificationValidator: z.ZodObject<{
|
|
11916
|
+
type: z.ZodEnum<["CONNECTION_REQUEST", "CONNECTION_ACCEPTED", "CREDENTIAL_RECEIVED", "CREDENTIAL_ACCEPTED", "BOOST_RECEIVED", "BOOST_ACCEPTED", "PRESENTATION_REQUEST", "PRESENTATION_RECEIVED", "CONSENT_FLOW_TRANSACTION", "ISSUANCE_CLAIMED", "ISSUANCE_DELIVERED", "ISSUANCE_ERROR", "PROFILE_PARENT_APPROVED"]>;
|
|
11917
|
+
to: z.ZodIntersection<z.ZodObject<{
|
|
11918
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
11919
|
+
displayName: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
11920
|
+
shortBio: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
11921
|
+
bio: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
11922
|
+
did: z.ZodOptional<z.ZodString>;
|
|
11923
|
+
isPrivate: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
11924
|
+
email: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11925
|
+
image: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11926
|
+
heroImage: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11927
|
+
websiteLink: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11928
|
+
isServiceProfile: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
11929
|
+
type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11930
|
+
notificationsWebhook: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11931
|
+
display: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
11932
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
11933
|
+
backgroundImage: z.ZodOptional<z.ZodString>;
|
|
11934
|
+
fadeBackgroundImage: z.ZodOptional<z.ZodBoolean>;
|
|
11935
|
+
repeatBackgroundImage: z.ZodOptional<z.ZodBoolean>;
|
|
11936
|
+
fontColor: z.ZodOptional<z.ZodString>;
|
|
11937
|
+
accentColor: z.ZodOptional<z.ZodString>;
|
|
11938
|
+
accentFontColor: z.ZodOptional<z.ZodString>;
|
|
11939
|
+
idBackgroundImage: z.ZodOptional<z.ZodString>;
|
|
11940
|
+
fadeIdBackgroundImage: z.ZodOptional<z.ZodBoolean>;
|
|
11941
|
+
idBackgroundColor: z.ZodOptional<z.ZodString>;
|
|
11942
|
+
repeatIdBackgroundImage: z.ZodOptional<z.ZodBoolean>;
|
|
11943
|
+
}, "strip", z.ZodTypeAny, {
|
|
11944
|
+
backgroundColor?: string | undefined;
|
|
11945
|
+
backgroundImage?: string | undefined;
|
|
11946
|
+
fadeBackgroundImage?: boolean | undefined;
|
|
11947
|
+
repeatBackgroundImage?: boolean | undefined;
|
|
11948
|
+
fontColor?: string | undefined;
|
|
11949
|
+
accentColor?: string | undefined;
|
|
11950
|
+
accentFontColor?: string | undefined;
|
|
11951
|
+
idBackgroundImage?: string | undefined;
|
|
11952
|
+
fadeIdBackgroundImage?: boolean | undefined;
|
|
11953
|
+
idBackgroundColor?: string | undefined;
|
|
11954
|
+
repeatIdBackgroundImage?: boolean | undefined;
|
|
11955
|
+
}, {
|
|
11956
|
+
backgroundColor?: string | undefined;
|
|
11957
|
+
backgroundImage?: string | undefined;
|
|
11958
|
+
fadeBackgroundImage?: boolean | undefined;
|
|
11959
|
+
repeatBackgroundImage?: boolean | undefined;
|
|
11960
|
+
fontColor?: string | undefined;
|
|
11961
|
+
accentColor?: string | undefined;
|
|
11962
|
+
accentFontColor?: string | undefined;
|
|
11963
|
+
idBackgroundImage?: string | undefined;
|
|
11964
|
+
fadeIdBackgroundImage?: boolean | undefined;
|
|
11965
|
+
idBackgroundColor?: string | undefined;
|
|
11966
|
+
repeatIdBackgroundImage?: boolean | undefined;
|
|
11967
|
+
}>>>;
|
|
11968
|
+
highlightedCredentials: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
11969
|
+
role: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
|
|
11970
|
+
dob: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
|
|
11971
|
+
country: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11972
|
+
approved: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
11973
|
+
}, "strip", z.ZodTypeAny, {
|
|
11974
|
+
type?: string | undefined;
|
|
11975
|
+
image?: string | undefined;
|
|
11976
|
+
email?: string | undefined;
|
|
11977
|
+
role?: string | undefined;
|
|
11978
|
+
profileId?: string | undefined;
|
|
11979
|
+
displayName?: string | undefined;
|
|
11980
|
+
shortBio?: string | undefined;
|
|
11981
|
+
bio?: string | undefined;
|
|
11982
|
+
did?: string | undefined;
|
|
11983
|
+
isPrivate?: boolean | undefined;
|
|
11984
|
+
heroImage?: string | undefined;
|
|
11985
|
+
websiteLink?: string | undefined;
|
|
11986
|
+
isServiceProfile?: boolean | undefined;
|
|
11987
|
+
notificationsWebhook?: string | undefined;
|
|
11988
|
+
display?: {
|
|
11989
|
+
backgroundColor?: string | undefined;
|
|
11990
|
+
backgroundImage?: string | undefined;
|
|
11991
|
+
fadeBackgroundImage?: boolean | undefined;
|
|
11992
|
+
repeatBackgroundImage?: boolean | undefined;
|
|
11993
|
+
fontColor?: string | undefined;
|
|
11994
|
+
accentColor?: string | undefined;
|
|
11995
|
+
accentFontColor?: string | undefined;
|
|
11996
|
+
idBackgroundImage?: string | undefined;
|
|
11997
|
+
fadeIdBackgroundImage?: boolean | undefined;
|
|
11998
|
+
idBackgroundColor?: string | undefined;
|
|
11999
|
+
repeatIdBackgroundImage?: boolean | undefined;
|
|
12000
|
+
} | undefined;
|
|
12001
|
+
highlightedCredentials?: string[] | undefined;
|
|
12002
|
+
dob?: string | undefined;
|
|
12003
|
+
country?: string | undefined;
|
|
12004
|
+
approved?: boolean | undefined;
|
|
12005
|
+
}, {
|
|
12006
|
+
type?: string | undefined;
|
|
12007
|
+
image?: string | undefined;
|
|
12008
|
+
email?: string | undefined;
|
|
12009
|
+
role?: string | undefined;
|
|
12010
|
+
profileId?: string | undefined;
|
|
12011
|
+
displayName?: string | undefined;
|
|
12012
|
+
shortBio?: string | undefined;
|
|
12013
|
+
bio?: string | undefined;
|
|
12014
|
+
did?: string | undefined;
|
|
12015
|
+
isPrivate?: boolean | undefined;
|
|
12016
|
+
heroImage?: string | undefined;
|
|
12017
|
+
websiteLink?: string | undefined;
|
|
12018
|
+
isServiceProfile?: boolean | undefined;
|
|
12019
|
+
notificationsWebhook?: string | undefined;
|
|
12020
|
+
display?: {
|
|
12021
|
+
backgroundColor?: string | undefined;
|
|
12022
|
+
backgroundImage?: string | undefined;
|
|
12023
|
+
fadeBackgroundImage?: boolean | undefined;
|
|
12024
|
+
repeatBackgroundImage?: boolean | undefined;
|
|
12025
|
+
fontColor?: string | undefined;
|
|
12026
|
+
accentColor?: string | undefined;
|
|
12027
|
+
accentFontColor?: string | undefined;
|
|
12028
|
+
idBackgroundImage?: string | undefined;
|
|
12029
|
+
fadeIdBackgroundImage?: boolean | undefined;
|
|
12030
|
+
idBackgroundColor?: string | undefined;
|
|
12031
|
+
repeatIdBackgroundImage?: boolean | undefined;
|
|
12032
|
+
} | undefined;
|
|
12033
|
+
highlightedCredentials?: string[] | undefined;
|
|
12034
|
+
dob?: string | undefined;
|
|
12035
|
+
country?: string | undefined;
|
|
12036
|
+
approved?: boolean | undefined;
|
|
12037
|
+
}>, z.ZodObject<{
|
|
12038
|
+
did: z.ZodString;
|
|
12039
|
+
}, "strip", z.ZodTypeAny, {
|
|
12040
|
+
did: string;
|
|
12041
|
+
}, {
|
|
12042
|
+
did: string;
|
|
12043
|
+
}>>;
|
|
12044
|
+
from: z.ZodIntersection<z.ZodObject<{
|
|
12045
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
12046
|
+
displayName: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
12047
|
+
shortBio: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
12048
|
+
bio: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
12049
|
+
did: z.ZodOptional<z.ZodString>;
|
|
12050
|
+
isPrivate: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
11621
12051
|
email: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11622
12052
|
image: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11623
12053
|
heroImage: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -11638,36 +12068,899 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
|
11638
12068
|
idBackgroundColor: z.ZodOptional<z.ZodString>;
|
|
11639
12069
|
repeatIdBackgroundImage: z.ZodOptional<z.ZodBoolean>;
|
|
11640
12070
|
}, "strip", z.ZodTypeAny, {
|
|
11641
|
-
backgroundColor?: string | undefined;
|
|
11642
|
-
backgroundImage?: string | undefined;
|
|
11643
|
-
fadeBackgroundImage?: boolean | undefined;
|
|
11644
|
-
repeatBackgroundImage?: boolean | undefined;
|
|
11645
|
-
fontColor?: string | undefined;
|
|
11646
|
-
accentColor?: string | undefined;
|
|
11647
|
-
accentFontColor?: string | undefined;
|
|
11648
|
-
idBackgroundImage?: string | undefined;
|
|
11649
|
-
fadeIdBackgroundImage?: boolean | undefined;
|
|
11650
|
-
idBackgroundColor?: string | undefined;
|
|
11651
|
-
repeatIdBackgroundImage?: boolean | undefined;
|
|
12071
|
+
backgroundColor?: string | undefined;
|
|
12072
|
+
backgroundImage?: string | undefined;
|
|
12073
|
+
fadeBackgroundImage?: boolean | undefined;
|
|
12074
|
+
repeatBackgroundImage?: boolean | undefined;
|
|
12075
|
+
fontColor?: string | undefined;
|
|
12076
|
+
accentColor?: string | undefined;
|
|
12077
|
+
accentFontColor?: string | undefined;
|
|
12078
|
+
idBackgroundImage?: string | undefined;
|
|
12079
|
+
fadeIdBackgroundImage?: boolean | undefined;
|
|
12080
|
+
idBackgroundColor?: string | undefined;
|
|
12081
|
+
repeatIdBackgroundImage?: boolean | undefined;
|
|
12082
|
+
}, {
|
|
12083
|
+
backgroundColor?: string | undefined;
|
|
12084
|
+
backgroundImage?: string | undefined;
|
|
12085
|
+
fadeBackgroundImage?: boolean | undefined;
|
|
12086
|
+
repeatBackgroundImage?: boolean | undefined;
|
|
12087
|
+
fontColor?: string | undefined;
|
|
12088
|
+
accentColor?: string | undefined;
|
|
12089
|
+
accentFontColor?: string | undefined;
|
|
12090
|
+
idBackgroundImage?: string | undefined;
|
|
12091
|
+
fadeIdBackgroundImage?: boolean | undefined;
|
|
12092
|
+
idBackgroundColor?: string | undefined;
|
|
12093
|
+
repeatIdBackgroundImage?: boolean | undefined;
|
|
12094
|
+
}>>>;
|
|
12095
|
+
highlightedCredentials: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
12096
|
+
role: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
|
|
12097
|
+
dob: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
|
|
12098
|
+
country: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12099
|
+
approved: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
12100
|
+
}, "strip", z.ZodTypeAny, {
|
|
12101
|
+
type?: string | undefined;
|
|
12102
|
+
image?: string | undefined;
|
|
12103
|
+
email?: string | undefined;
|
|
12104
|
+
role?: string | undefined;
|
|
12105
|
+
profileId?: string | undefined;
|
|
12106
|
+
displayName?: string | undefined;
|
|
12107
|
+
shortBio?: string | undefined;
|
|
12108
|
+
bio?: string | undefined;
|
|
12109
|
+
did?: string | undefined;
|
|
12110
|
+
isPrivate?: boolean | undefined;
|
|
12111
|
+
heroImage?: string | undefined;
|
|
12112
|
+
websiteLink?: string | undefined;
|
|
12113
|
+
isServiceProfile?: boolean | undefined;
|
|
12114
|
+
notificationsWebhook?: string | undefined;
|
|
12115
|
+
display?: {
|
|
12116
|
+
backgroundColor?: string | undefined;
|
|
12117
|
+
backgroundImage?: string | undefined;
|
|
12118
|
+
fadeBackgroundImage?: boolean | undefined;
|
|
12119
|
+
repeatBackgroundImage?: boolean | undefined;
|
|
12120
|
+
fontColor?: string | undefined;
|
|
12121
|
+
accentColor?: string | undefined;
|
|
12122
|
+
accentFontColor?: string | undefined;
|
|
12123
|
+
idBackgroundImage?: string | undefined;
|
|
12124
|
+
fadeIdBackgroundImage?: boolean | undefined;
|
|
12125
|
+
idBackgroundColor?: string | undefined;
|
|
12126
|
+
repeatIdBackgroundImage?: boolean | undefined;
|
|
12127
|
+
} | undefined;
|
|
12128
|
+
highlightedCredentials?: string[] | undefined;
|
|
12129
|
+
dob?: string | undefined;
|
|
12130
|
+
country?: string | undefined;
|
|
12131
|
+
approved?: boolean | undefined;
|
|
12132
|
+
}, {
|
|
12133
|
+
type?: string | undefined;
|
|
12134
|
+
image?: string | undefined;
|
|
12135
|
+
email?: string | undefined;
|
|
12136
|
+
role?: string | undefined;
|
|
12137
|
+
profileId?: string | undefined;
|
|
12138
|
+
displayName?: string | undefined;
|
|
12139
|
+
shortBio?: string | undefined;
|
|
12140
|
+
bio?: string | undefined;
|
|
12141
|
+
did?: string | undefined;
|
|
12142
|
+
isPrivate?: boolean | undefined;
|
|
12143
|
+
heroImage?: string | undefined;
|
|
12144
|
+
websiteLink?: string | undefined;
|
|
12145
|
+
isServiceProfile?: boolean | undefined;
|
|
12146
|
+
notificationsWebhook?: string | undefined;
|
|
12147
|
+
display?: {
|
|
12148
|
+
backgroundColor?: string | undefined;
|
|
12149
|
+
backgroundImage?: string | undefined;
|
|
12150
|
+
fadeBackgroundImage?: boolean | undefined;
|
|
12151
|
+
repeatBackgroundImage?: boolean | undefined;
|
|
12152
|
+
fontColor?: string | undefined;
|
|
12153
|
+
accentColor?: string | undefined;
|
|
12154
|
+
accentFontColor?: string | undefined;
|
|
12155
|
+
idBackgroundImage?: string | undefined;
|
|
12156
|
+
fadeIdBackgroundImage?: boolean | undefined;
|
|
12157
|
+
idBackgroundColor?: string | undefined;
|
|
12158
|
+
repeatIdBackgroundImage?: boolean | undefined;
|
|
12159
|
+
} | undefined;
|
|
12160
|
+
highlightedCredentials?: string[] | undefined;
|
|
12161
|
+
dob?: string | undefined;
|
|
12162
|
+
country?: string | undefined;
|
|
12163
|
+
approved?: boolean | undefined;
|
|
12164
|
+
}>, z.ZodObject<{
|
|
12165
|
+
did: z.ZodString;
|
|
12166
|
+
}, "strip", z.ZodTypeAny, {
|
|
12167
|
+
did: string;
|
|
12168
|
+
}, {
|
|
12169
|
+
did: string;
|
|
12170
|
+
}>>;
|
|
12171
|
+
message: z.ZodOptional<z.ZodObject<{
|
|
12172
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12173
|
+
body: z.ZodOptional<z.ZodString>;
|
|
12174
|
+
}, "strip", z.ZodTypeAny, {
|
|
12175
|
+
title?: string | undefined;
|
|
12176
|
+
body?: string | undefined;
|
|
12177
|
+
}, {
|
|
12178
|
+
title?: string | undefined;
|
|
12179
|
+
body?: string | undefined;
|
|
12180
|
+
}>>;
|
|
12181
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
12182
|
+
vcUris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12183
|
+
vpUris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12184
|
+
transaction: z.ZodOptional<z.ZodObject<{
|
|
12185
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
12186
|
+
oneTime: z.ZodOptional<z.ZodBoolean>;
|
|
12187
|
+
terms: z.ZodOptional<z.ZodObject<{
|
|
12188
|
+
read: z.ZodDefault<z.ZodObject<{
|
|
12189
|
+
anonymize: z.ZodOptional<z.ZodBoolean>;
|
|
12190
|
+
credentials: z.ZodDefault<z.ZodObject<{
|
|
12191
|
+
shareAll: z.ZodOptional<z.ZodBoolean>;
|
|
12192
|
+
sharing: z.ZodOptional<z.ZodBoolean>;
|
|
12193
|
+
categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12194
|
+
sharing: z.ZodOptional<z.ZodBoolean>;
|
|
12195
|
+
shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12196
|
+
shareAll: z.ZodOptional<z.ZodBoolean>;
|
|
12197
|
+
shareUntil: z.ZodOptional<z.ZodString>;
|
|
12198
|
+
}, "strip", z.ZodTypeAny, {
|
|
12199
|
+
sharing?: boolean | undefined;
|
|
12200
|
+
shared?: string[] | undefined;
|
|
12201
|
+
shareAll?: boolean | undefined;
|
|
12202
|
+
shareUntil?: string | undefined;
|
|
12203
|
+
}, {
|
|
12204
|
+
sharing?: boolean | undefined;
|
|
12205
|
+
shared?: string[] | undefined;
|
|
12206
|
+
shareAll?: boolean | undefined;
|
|
12207
|
+
shareUntil?: string | undefined;
|
|
12208
|
+
}>>>;
|
|
12209
|
+
}, "strip", z.ZodTypeAny, {
|
|
12210
|
+
categories: Record<string, {
|
|
12211
|
+
sharing?: boolean | undefined;
|
|
12212
|
+
shared?: string[] | undefined;
|
|
12213
|
+
shareAll?: boolean | undefined;
|
|
12214
|
+
shareUntil?: string | undefined;
|
|
12215
|
+
}>;
|
|
12216
|
+
sharing?: boolean | undefined;
|
|
12217
|
+
shareAll?: boolean | undefined;
|
|
12218
|
+
}, {
|
|
12219
|
+
categories?: Record<string, {
|
|
12220
|
+
sharing?: boolean | undefined;
|
|
12221
|
+
shared?: string[] | undefined;
|
|
12222
|
+
shareAll?: boolean | undefined;
|
|
12223
|
+
shareUntil?: string | undefined;
|
|
12224
|
+
}> | undefined;
|
|
12225
|
+
sharing?: boolean | undefined;
|
|
12226
|
+
shareAll?: boolean | undefined;
|
|
12227
|
+
}>>;
|
|
12228
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12229
|
+
}, "strip", z.ZodTypeAny, {
|
|
12230
|
+
credentials: {
|
|
12231
|
+
categories: Record<string, {
|
|
12232
|
+
sharing?: boolean | undefined;
|
|
12233
|
+
shared?: string[] | undefined;
|
|
12234
|
+
shareAll?: boolean | undefined;
|
|
12235
|
+
shareUntil?: string | undefined;
|
|
12236
|
+
}>;
|
|
12237
|
+
sharing?: boolean | undefined;
|
|
12238
|
+
shareAll?: boolean | undefined;
|
|
12239
|
+
};
|
|
12240
|
+
personal: Record<string, string>;
|
|
12241
|
+
anonymize?: boolean | undefined;
|
|
12242
|
+
}, {
|
|
12243
|
+
anonymize?: boolean | undefined;
|
|
12244
|
+
credentials?: {
|
|
12245
|
+
categories?: Record<string, {
|
|
12246
|
+
sharing?: boolean | undefined;
|
|
12247
|
+
shared?: string[] | undefined;
|
|
12248
|
+
shareAll?: boolean | undefined;
|
|
12249
|
+
shareUntil?: string | undefined;
|
|
12250
|
+
}> | undefined;
|
|
12251
|
+
sharing?: boolean | undefined;
|
|
12252
|
+
shareAll?: boolean | undefined;
|
|
12253
|
+
} | undefined;
|
|
12254
|
+
personal?: Record<string, string> | undefined;
|
|
12255
|
+
}>>;
|
|
12256
|
+
write: z.ZodDefault<z.ZodObject<{
|
|
12257
|
+
credentials: z.ZodDefault<z.ZodObject<{
|
|
12258
|
+
categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
12259
|
+
}, "strip", z.ZodTypeAny, {
|
|
12260
|
+
categories: Record<string, boolean>;
|
|
12261
|
+
}, {
|
|
12262
|
+
categories?: Record<string, boolean> | undefined;
|
|
12263
|
+
}>>;
|
|
12264
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
12265
|
+
}, "strip", z.ZodTypeAny, {
|
|
12266
|
+
credentials: {
|
|
12267
|
+
categories: Record<string, boolean>;
|
|
12268
|
+
};
|
|
12269
|
+
personal: Record<string, boolean>;
|
|
12270
|
+
}, {
|
|
12271
|
+
credentials?: {
|
|
12272
|
+
categories?: Record<string, boolean> | undefined;
|
|
12273
|
+
} | undefined;
|
|
12274
|
+
personal?: Record<string, boolean> | undefined;
|
|
12275
|
+
}>>;
|
|
12276
|
+
deniedWriters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12277
|
+
}, "strip", z.ZodTypeAny, {
|
|
12278
|
+
read: {
|
|
12279
|
+
credentials: {
|
|
12280
|
+
categories: Record<string, {
|
|
12281
|
+
sharing?: boolean | undefined;
|
|
12282
|
+
shared?: string[] | undefined;
|
|
12283
|
+
shareAll?: boolean | undefined;
|
|
12284
|
+
shareUntil?: string | undefined;
|
|
12285
|
+
}>;
|
|
12286
|
+
sharing?: boolean | undefined;
|
|
12287
|
+
shareAll?: boolean | undefined;
|
|
12288
|
+
};
|
|
12289
|
+
personal: Record<string, string>;
|
|
12290
|
+
anonymize?: boolean | undefined;
|
|
12291
|
+
};
|
|
12292
|
+
write: {
|
|
12293
|
+
credentials: {
|
|
12294
|
+
categories: Record<string, boolean>;
|
|
12295
|
+
};
|
|
12296
|
+
personal: Record<string, boolean>;
|
|
12297
|
+
};
|
|
12298
|
+
deniedWriters?: string[] | undefined;
|
|
12299
|
+
}, {
|
|
12300
|
+
read?: {
|
|
12301
|
+
anonymize?: boolean | undefined;
|
|
12302
|
+
credentials?: {
|
|
12303
|
+
categories?: Record<string, {
|
|
12304
|
+
sharing?: boolean | undefined;
|
|
12305
|
+
shared?: string[] | undefined;
|
|
12306
|
+
shareAll?: boolean | undefined;
|
|
12307
|
+
shareUntil?: string | undefined;
|
|
12308
|
+
}> | undefined;
|
|
12309
|
+
sharing?: boolean | undefined;
|
|
12310
|
+
shareAll?: boolean | undefined;
|
|
12311
|
+
} | undefined;
|
|
12312
|
+
personal?: Record<string, string> | undefined;
|
|
12313
|
+
} | undefined;
|
|
12314
|
+
write?: {
|
|
12315
|
+
credentials?: {
|
|
12316
|
+
categories?: Record<string, boolean> | undefined;
|
|
12317
|
+
} | undefined;
|
|
12318
|
+
personal?: Record<string, boolean> | undefined;
|
|
12319
|
+
} | undefined;
|
|
12320
|
+
deniedWriters?: string[] | undefined;
|
|
12321
|
+
}>>;
|
|
12322
|
+
id: z.ZodString;
|
|
12323
|
+
action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
|
12324
|
+
date: z.ZodString;
|
|
12325
|
+
uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12326
|
+
}, "strip", z.ZodTypeAny, {
|
|
12327
|
+
date: string;
|
|
12328
|
+
id: string;
|
|
12329
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
|
12330
|
+
expiresAt?: string | undefined;
|
|
12331
|
+
oneTime?: boolean | undefined;
|
|
12332
|
+
terms?: {
|
|
12333
|
+
read: {
|
|
12334
|
+
credentials: {
|
|
12335
|
+
categories: Record<string, {
|
|
12336
|
+
sharing?: boolean | undefined;
|
|
12337
|
+
shared?: string[] | undefined;
|
|
12338
|
+
shareAll?: boolean | undefined;
|
|
12339
|
+
shareUntil?: string | undefined;
|
|
12340
|
+
}>;
|
|
12341
|
+
sharing?: boolean | undefined;
|
|
12342
|
+
shareAll?: boolean | undefined;
|
|
12343
|
+
};
|
|
12344
|
+
personal: Record<string, string>;
|
|
12345
|
+
anonymize?: boolean | undefined;
|
|
12346
|
+
};
|
|
12347
|
+
write: {
|
|
12348
|
+
credentials: {
|
|
12349
|
+
categories: Record<string, boolean>;
|
|
12350
|
+
};
|
|
12351
|
+
personal: Record<string, boolean>;
|
|
12352
|
+
};
|
|
12353
|
+
deniedWriters?: string[] | undefined;
|
|
12354
|
+
} | undefined;
|
|
12355
|
+
uris?: string[] | undefined;
|
|
12356
|
+
}, {
|
|
12357
|
+
date: string;
|
|
12358
|
+
id: string;
|
|
12359
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
|
12360
|
+
expiresAt?: string | undefined;
|
|
12361
|
+
oneTime?: boolean | undefined;
|
|
12362
|
+
terms?: {
|
|
12363
|
+
read?: {
|
|
12364
|
+
anonymize?: boolean | undefined;
|
|
12365
|
+
credentials?: {
|
|
12366
|
+
categories?: Record<string, {
|
|
12367
|
+
sharing?: boolean | undefined;
|
|
12368
|
+
shared?: string[] | undefined;
|
|
12369
|
+
shareAll?: boolean | undefined;
|
|
12370
|
+
shareUntil?: string | undefined;
|
|
12371
|
+
}> | undefined;
|
|
12372
|
+
sharing?: boolean | undefined;
|
|
12373
|
+
shareAll?: boolean | undefined;
|
|
12374
|
+
} | undefined;
|
|
12375
|
+
personal?: Record<string, string> | undefined;
|
|
12376
|
+
} | undefined;
|
|
12377
|
+
write?: {
|
|
12378
|
+
credentials?: {
|
|
12379
|
+
categories?: Record<string, boolean> | undefined;
|
|
12380
|
+
} | undefined;
|
|
12381
|
+
personal?: Record<string, boolean> | undefined;
|
|
12382
|
+
} | undefined;
|
|
12383
|
+
deniedWriters?: string[] | undefined;
|
|
12384
|
+
} | undefined;
|
|
12385
|
+
uris?: string[] | undefined;
|
|
12386
|
+
}>>;
|
|
12387
|
+
inbox: z.ZodOptional<z.ZodObject<{
|
|
12388
|
+
issuanceId: z.ZodString;
|
|
12389
|
+
status: z.ZodEnum<["PENDING", "ISSUED", "EXPIRED", "DELIVERED", "CLAIMED"]>;
|
|
12390
|
+
recipient: z.ZodObject<{
|
|
12391
|
+
contactMethod: z.ZodOptional<z.ZodObject<{
|
|
12392
|
+
type: z.ZodString;
|
|
12393
|
+
value: z.ZodString;
|
|
12394
|
+
}, "strip", z.ZodTypeAny, {
|
|
12395
|
+
type: string;
|
|
12396
|
+
value: string;
|
|
12397
|
+
}, {
|
|
12398
|
+
type: string;
|
|
12399
|
+
value: string;
|
|
12400
|
+
}>>;
|
|
12401
|
+
learnCardId: z.ZodOptional<z.ZodString>;
|
|
12402
|
+
}, "strip", z.ZodTypeAny, {
|
|
12403
|
+
contactMethod?: {
|
|
12404
|
+
type: string;
|
|
12405
|
+
value: string;
|
|
12406
|
+
} | undefined;
|
|
12407
|
+
learnCardId?: string | undefined;
|
|
12408
|
+
}, {
|
|
12409
|
+
contactMethod?: {
|
|
12410
|
+
type: string;
|
|
12411
|
+
value: string;
|
|
12412
|
+
} | undefined;
|
|
12413
|
+
learnCardId?: string | undefined;
|
|
12414
|
+
}>;
|
|
12415
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
12416
|
+
}, "strip", z.ZodTypeAny, {
|
|
12417
|
+
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
12418
|
+
issuanceId: string;
|
|
12419
|
+
recipient: {
|
|
12420
|
+
contactMethod?: {
|
|
12421
|
+
type: string;
|
|
12422
|
+
value: string;
|
|
12423
|
+
} | undefined;
|
|
12424
|
+
learnCardId?: string | undefined;
|
|
12425
|
+
};
|
|
12426
|
+
timestamp?: string | undefined;
|
|
12427
|
+
}, {
|
|
12428
|
+
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
12429
|
+
issuanceId: string;
|
|
12430
|
+
recipient: {
|
|
12431
|
+
contactMethod?: {
|
|
12432
|
+
type: string;
|
|
12433
|
+
value: string;
|
|
12434
|
+
} | undefined;
|
|
12435
|
+
learnCardId?: string | undefined;
|
|
12436
|
+
};
|
|
12437
|
+
timestamp?: string | undefined;
|
|
12438
|
+
}>>;
|
|
12439
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12440
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12441
|
+
vcUris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12442
|
+
vpUris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12443
|
+
transaction: z.ZodOptional<z.ZodObject<{
|
|
12444
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
12445
|
+
oneTime: z.ZodOptional<z.ZodBoolean>;
|
|
12446
|
+
terms: z.ZodOptional<z.ZodObject<{
|
|
12447
|
+
read: z.ZodDefault<z.ZodObject<{
|
|
12448
|
+
anonymize: z.ZodOptional<z.ZodBoolean>;
|
|
12449
|
+
credentials: z.ZodDefault<z.ZodObject<{
|
|
12450
|
+
shareAll: z.ZodOptional<z.ZodBoolean>;
|
|
12451
|
+
sharing: z.ZodOptional<z.ZodBoolean>;
|
|
12452
|
+
categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12453
|
+
sharing: z.ZodOptional<z.ZodBoolean>;
|
|
12454
|
+
shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12455
|
+
shareAll: z.ZodOptional<z.ZodBoolean>;
|
|
12456
|
+
shareUntil: z.ZodOptional<z.ZodString>;
|
|
12457
|
+
}, "strip", z.ZodTypeAny, {
|
|
12458
|
+
sharing?: boolean | undefined;
|
|
12459
|
+
shared?: string[] | undefined;
|
|
12460
|
+
shareAll?: boolean | undefined;
|
|
12461
|
+
shareUntil?: string | undefined;
|
|
12462
|
+
}, {
|
|
12463
|
+
sharing?: boolean | undefined;
|
|
12464
|
+
shared?: string[] | undefined;
|
|
12465
|
+
shareAll?: boolean | undefined;
|
|
12466
|
+
shareUntil?: string | undefined;
|
|
12467
|
+
}>>>;
|
|
12468
|
+
}, "strip", z.ZodTypeAny, {
|
|
12469
|
+
categories: Record<string, {
|
|
12470
|
+
sharing?: boolean | undefined;
|
|
12471
|
+
shared?: string[] | undefined;
|
|
12472
|
+
shareAll?: boolean | undefined;
|
|
12473
|
+
shareUntil?: string | undefined;
|
|
12474
|
+
}>;
|
|
12475
|
+
sharing?: boolean | undefined;
|
|
12476
|
+
shareAll?: boolean | undefined;
|
|
12477
|
+
}, {
|
|
12478
|
+
categories?: Record<string, {
|
|
12479
|
+
sharing?: boolean | undefined;
|
|
12480
|
+
shared?: string[] | undefined;
|
|
12481
|
+
shareAll?: boolean | undefined;
|
|
12482
|
+
shareUntil?: string | undefined;
|
|
12483
|
+
}> | undefined;
|
|
12484
|
+
sharing?: boolean | undefined;
|
|
12485
|
+
shareAll?: boolean | undefined;
|
|
12486
|
+
}>>;
|
|
12487
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12488
|
+
}, "strip", z.ZodTypeAny, {
|
|
12489
|
+
credentials: {
|
|
12490
|
+
categories: Record<string, {
|
|
12491
|
+
sharing?: boolean | undefined;
|
|
12492
|
+
shared?: string[] | undefined;
|
|
12493
|
+
shareAll?: boolean | undefined;
|
|
12494
|
+
shareUntil?: string | undefined;
|
|
12495
|
+
}>;
|
|
12496
|
+
sharing?: boolean | undefined;
|
|
12497
|
+
shareAll?: boolean | undefined;
|
|
12498
|
+
};
|
|
12499
|
+
personal: Record<string, string>;
|
|
12500
|
+
anonymize?: boolean | undefined;
|
|
12501
|
+
}, {
|
|
12502
|
+
anonymize?: boolean | undefined;
|
|
12503
|
+
credentials?: {
|
|
12504
|
+
categories?: Record<string, {
|
|
12505
|
+
sharing?: boolean | undefined;
|
|
12506
|
+
shared?: string[] | undefined;
|
|
12507
|
+
shareAll?: boolean | undefined;
|
|
12508
|
+
shareUntil?: string | undefined;
|
|
12509
|
+
}> | undefined;
|
|
12510
|
+
sharing?: boolean | undefined;
|
|
12511
|
+
shareAll?: boolean | undefined;
|
|
12512
|
+
} | undefined;
|
|
12513
|
+
personal?: Record<string, string> | undefined;
|
|
12514
|
+
}>>;
|
|
12515
|
+
write: z.ZodDefault<z.ZodObject<{
|
|
12516
|
+
credentials: z.ZodDefault<z.ZodObject<{
|
|
12517
|
+
categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
12518
|
+
}, "strip", z.ZodTypeAny, {
|
|
12519
|
+
categories: Record<string, boolean>;
|
|
12520
|
+
}, {
|
|
12521
|
+
categories?: Record<string, boolean> | undefined;
|
|
12522
|
+
}>>;
|
|
12523
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
12524
|
+
}, "strip", z.ZodTypeAny, {
|
|
12525
|
+
credentials: {
|
|
12526
|
+
categories: Record<string, boolean>;
|
|
12527
|
+
};
|
|
12528
|
+
personal: Record<string, boolean>;
|
|
12529
|
+
}, {
|
|
12530
|
+
credentials?: {
|
|
12531
|
+
categories?: Record<string, boolean> | undefined;
|
|
12532
|
+
} | undefined;
|
|
12533
|
+
personal?: Record<string, boolean> | undefined;
|
|
12534
|
+
}>>;
|
|
12535
|
+
deniedWriters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12536
|
+
}, "strip", z.ZodTypeAny, {
|
|
12537
|
+
read: {
|
|
12538
|
+
credentials: {
|
|
12539
|
+
categories: Record<string, {
|
|
12540
|
+
sharing?: boolean | undefined;
|
|
12541
|
+
shared?: string[] | undefined;
|
|
12542
|
+
shareAll?: boolean | undefined;
|
|
12543
|
+
shareUntil?: string | undefined;
|
|
12544
|
+
}>;
|
|
12545
|
+
sharing?: boolean | undefined;
|
|
12546
|
+
shareAll?: boolean | undefined;
|
|
12547
|
+
};
|
|
12548
|
+
personal: Record<string, string>;
|
|
12549
|
+
anonymize?: boolean | undefined;
|
|
12550
|
+
};
|
|
12551
|
+
write: {
|
|
12552
|
+
credentials: {
|
|
12553
|
+
categories: Record<string, boolean>;
|
|
12554
|
+
};
|
|
12555
|
+
personal: Record<string, boolean>;
|
|
12556
|
+
};
|
|
12557
|
+
deniedWriters?: string[] | undefined;
|
|
12558
|
+
}, {
|
|
12559
|
+
read?: {
|
|
12560
|
+
anonymize?: boolean | undefined;
|
|
12561
|
+
credentials?: {
|
|
12562
|
+
categories?: Record<string, {
|
|
12563
|
+
sharing?: boolean | undefined;
|
|
12564
|
+
shared?: string[] | undefined;
|
|
12565
|
+
shareAll?: boolean | undefined;
|
|
12566
|
+
shareUntil?: string | undefined;
|
|
12567
|
+
}> | undefined;
|
|
12568
|
+
sharing?: boolean | undefined;
|
|
12569
|
+
shareAll?: boolean | undefined;
|
|
12570
|
+
} | undefined;
|
|
12571
|
+
personal?: Record<string, string> | undefined;
|
|
12572
|
+
} | undefined;
|
|
12573
|
+
write?: {
|
|
12574
|
+
credentials?: {
|
|
12575
|
+
categories?: Record<string, boolean> | undefined;
|
|
12576
|
+
} | undefined;
|
|
12577
|
+
personal?: Record<string, boolean> | undefined;
|
|
12578
|
+
} | undefined;
|
|
12579
|
+
deniedWriters?: string[] | undefined;
|
|
12580
|
+
}>>;
|
|
12581
|
+
id: z.ZodString;
|
|
12582
|
+
action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
|
12583
|
+
date: z.ZodString;
|
|
12584
|
+
uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12585
|
+
}, "strip", z.ZodTypeAny, {
|
|
12586
|
+
date: string;
|
|
12587
|
+
id: string;
|
|
12588
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
|
12589
|
+
expiresAt?: string | undefined;
|
|
12590
|
+
oneTime?: boolean | undefined;
|
|
12591
|
+
terms?: {
|
|
12592
|
+
read: {
|
|
12593
|
+
credentials: {
|
|
12594
|
+
categories: Record<string, {
|
|
12595
|
+
sharing?: boolean | undefined;
|
|
12596
|
+
shared?: string[] | undefined;
|
|
12597
|
+
shareAll?: boolean | undefined;
|
|
12598
|
+
shareUntil?: string | undefined;
|
|
12599
|
+
}>;
|
|
12600
|
+
sharing?: boolean | undefined;
|
|
12601
|
+
shareAll?: boolean | undefined;
|
|
12602
|
+
};
|
|
12603
|
+
personal: Record<string, string>;
|
|
12604
|
+
anonymize?: boolean | undefined;
|
|
12605
|
+
};
|
|
12606
|
+
write: {
|
|
12607
|
+
credentials: {
|
|
12608
|
+
categories: Record<string, boolean>;
|
|
12609
|
+
};
|
|
12610
|
+
personal: Record<string, boolean>;
|
|
12611
|
+
};
|
|
12612
|
+
deniedWriters?: string[] | undefined;
|
|
12613
|
+
} | undefined;
|
|
12614
|
+
uris?: string[] | undefined;
|
|
12615
|
+
}, {
|
|
12616
|
+
date: string;
|
|
12617
|
+
id: string;
|
|
12618
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
|
12619
|
+
expiresAt?: string | undefined;
|
|
12620
|
+
oneTime?: boolean | undefined;
|
|
12621
|
+
terms?: {
|
|
12622
|
+
read?: {
|
|
12623
|
+
anonymize?: boolean | undefined;
|
|
12624
|
+
credentials?: {
|
|
12625
|
+
categories?: Record<string, {
|
|
12626
|
+
sharing?: boolean | undefined;
|
|
12627
|
+
shared?: string[] | undefined;
|
|
12628
|
+
shareAll?: boolean | undefined;
|
|
12629
|
+
shareUntil?: string | undefined;
|
|
12630
|
+
}> | undefined;
|
|
12631
|
+
sharing?: boolean | undefined;
|
|
12632
|
+
shareAll?: boolean | undefined;
|
|
12633
|
+
} | undefined;
|
|
12634
|
+
personal?: Record<string, string> | undefined;
|
|
12635
|
+
} | undefined;
|
|
12636
|
+
write?: {
|
|
12637
|
+
credentials?: {
|
|
12638
|
+
categories?: Record<string, boolean> | undefined;
|
|
12639
|
+
} | undefined;
|
|
12640
|
+
personal?: Record<string, boolean> | undefined;
|
|
12641
|
+
} | undefined;
|
|
12642
|
+
deniedWriters?: string[] | undefined;
|
|
12643
|
+
} | undefined;
|
|
12644
|
+
uris?: string[] | undefined;
|
|
12645
|
+
}>>;
|
|
12646
|
+
inbox: z.ZodOptional<z.ZodObject<{
|
|
12647
|
+
issuanceId: z.ZodString;
|
|
12648
|
+
status: z.ZodEnum<["PENDING", "ISSUED", "EXPIRED", "DELIVERED", "CLAIMED"]>;
|
|
12649
|
+
recipient: z.ZodObject<{
|
|
12650
|
+
contactMethod: z.ZodOptional<z.ZodObject<{
|
|
12651
|
+
type: z.ZodString;
|
|
12652
|
+
value: z.ZodString;
|
|
12653
|
+
}, "strip", z.ZodTypeAny, {
|
|
12654
|
+
type: string;
|
|
12655
|
+
value: string;
|
|
12656
|
+
}, {
|
|
12657
|
+
type: string;
|
|
12658
|
+
value: string;
|
|
12659
|
+
}>>;
|
|
12660
|
+
learnCardId: z.ZodOptional<z.ZodString>;
|
|
12661
|
+
}, "strip", z.ZodTypeAny, {
|
|
12662
|
+
contactMethod?: {
|
|
12663
|
+
type: string;
|
|
12664
|
+
value: string;
|
|
12665
|
+
} | undefined;
|
|
12666
|
+
learnCardId?: string | undefined;
|
|
12667
|
+
}, {
|
|
12668
|
+
contactMethod?: {
|
|
12669
|
+
type: string;
|
|
12670
|
+
value: string;
|
|
12671
|
+
} | undefined;
|
|
12672
|
+
learnCardId?: string | undefined;
|
|
12673
|
+
}>;
|
|
12674
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
12675
|
+
}, "strip", z.ZodTypeAny, {
|
|
12676
|
+
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
12677
|
+
issuanceId: string;
|
|
12678
|
+
recipient: {
|
|
12679
|
+
contactMethod?: {
|
|
12680
|
+
type: string;
|
|
12681
|
+
value: string;
|
|
12682
|
+
} | undefined;
|
|
12683
|
+
learnCardId?: string | undefined;
|
|
12684
|
+
};
|
|
12685
|
+
timestamp?: string | undefined;
|
|
12686
|
+
}, {
|
|
12687
|
+
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
12688
|
+
issuanceId: string;
|
|
12689
|
+
recipient: {
|
|
12690
|
+
contactMethod?: {
|
|
12691
|
+
type: string;
|
|
12692
|
+
value: string;
|
|
12693
|
+
} | undefined;
|
|
12694
|
+
learnCardId?: string | undefined;
|
|
12695
|
+
};
|
|
12696
|
+
timestamp?: string | undefined;
|
|
12697
|
+
}>>;
|
|
12698
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12699
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12700
|
+
vcUris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12701
|
+
vpUris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12702
|
+
transaction: z.ZodOptional<z.ZodObject<{
|
|
12703
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
12704
|
+
oneTime: z.ZodOptional<z.ZodBoolean>;
|
|
12705
|
+
terms: z.ZodOptional<z.ZodObject<{
|
|
12706
|
+
read: z.ZodDefault<z.ZodObject<{
|
|
12707
|
+
anonymize: z.ZodOptional<z.ZodBoolean>;
|
|
12708
|
+
credentials: z.ZodDefault<z.ZodObject<{
|
|
12709
|
+
shareAll: z.ZodOptional<z.ZodBoolean>;
|
|
12710
|
+
sharing: z.ZodOptional<z.ZodBoolean>;
|
|
12711
|
+
categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12712
|
+
sharing: z.ZodOptional<z.ZodBoolean>;
|
|
12713
|
+
shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12714
|
+
shareAll: z.ZodOptional<z.ZodBoolean>;
|
|
12715
|
+
shareUntil: z.ZodOptional<z.ZodString>;
|
|
12716
|
+
}, "strip", z.ZodTypeAny, {
|
|
12717
|
+
sharing?: boolean | undefined;
|
|
12718
|
+
shared?: string[] | undefined;
|
|
12719
|
+
shareAll?: boolean | undefined;
|
|
12720
|
+
shareUntil?: string | undefined;
|
|
12721
|
+
}, {
|
|
12722
|
+
sharing?: boolean | undefined;
|
|
12723
|
+
shared?: string[] | undefined;
|
|
12724
|
+
shareAll?: boolean | undefined;
|
|
12725
|
+
shareUntil?: string | undefined;
|
|
12726
|
+
}>>>;
|
|
12727
|
+
}, "strip", z.ZodTypeAny, {
|
|
12728
|
+
categories: Record<string, {
|
|
12729
|
+
sharing?: boolean | undefined;
|
|
12730
|
+
shared?: string[] | undefined;
|
|
12731
|
+
shareAll?: boolean | undefined;
|
|
12732
|
+
shareUntil?: string | undefined;
|
|
12733
|
+
}>;
|
|
12734
|
+
sharing?: boolean | undefined;
|
|
12735
|
+
shareAll?: boolean | undefined;
|
|
12736
|
+
}, {
|
|
12737
|
+
categories?: Record<string, {
|
|
12738
|
+
sharing?: boolean | undefined;
|
|
12739
|
+
shared?: string[] | undefined;
|
|
12740
|
+
shareAll?: boolean | undefined;
|
|
12741
|
+
shareUntil?: string | undefined;
|
|
12742
|
+
}> | undefined;
|
|
12743
|
+
sharing?: boolean | undefined;
|
|
12744
|
+
shareAll?: boolean | undefined;
|
|
12745
|
+
}>>;
|
|
12746
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12747
|
+
}, "strip", z.ZodTypeAny, {
|
|
12748
|
+
credentials: {
|
|
12749
|
+
categories: Record<string, {
|
|
12750
|
+
sharing?: boolean | undefined;
|
|
12751
|
+
shared?: string[] | undefined;
|
|
12752
|
+
shareAll?: boolean | undefined;
|
|
12753
|
+
shareUntil?: string | undefined;
|
|
12754
|
+
}>;
|
|
12755
|
+
sharing?: boolean | undefined;
|
|
12756
|
+
shareAll?: boolean | undefined;
|
|
12757
|
+
};
|
|
12758
|
+
personal: Record<string, string>;
|
|
12759
|
+
anonymize?: boolean | undefined;
|
|
12760
|
+
}, {
|
|
12761
|
+
anonymize?: boolean | undefined;
|
|
12762
|
+
credentials?: {
|
|
12763
|
+
categories?: Record<string, {
|
|
12764
|
+
sharing?: boolean | undefined;
|
|
12765
|
+
shared?: string[] | undefined;
|
|
12766
|
+
shareAll?: boolean | undefined;
|
|
12767
|
+
shareUntil?: string | undefined;
|
|
12768
|
+
}> | undefined;
|
|
12769
|
+
sharing?: boolean | undefined;
|
|
12770
|
+
shareAll?: boolean | undefined;
|
|
12771
|
+
} | undefined;
|
|
12772
|
+
personal?: Record<string, string> | undefined;
|
|
12773
|
+
}>>;
|
|
12774
|
+
write: z.ZodDefault<z.ZodObject<{
|
|
12775
|
+
credentials: z.ZodDefault<z.ZodObject<{
|
|
12776
|
+
categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
12777
|
+
}, "strip", z.ZodTypeAny, {
|
|
12778
|
+
categories: Record<string, boolean>;
|
|
12779
|
+
}, {
|
|
12780
|
+
categories?: Record<string, boolean> | undefined;
|
|
12781
|
+
}>>;
|
|
12782
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
12783
|
+
}, "strip", z.ZodTypeAny, {
|
|
12784
|
+
credentials: {
|
|
12785
|
+
categories: Record<string, boolean>;
|
|
12786
|
+
};
|
|
12787
|
+
personal: Record<string, boolean>;
|
|
12788
|
+
}, {
|
|
12789
|
+
credentials?: {
|
|
12790
|
+
categories?: Record<string, boolean> | undefined;
|
|
12791
|
+
} | undefined;
|
|
12792
|
+
personal?: Record<string, boolean> | undefined;
|
|
12793
|
+
}>>;
|
|
12794
|
+
deniedWriters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12795
|
+
}, "strip", z.ZodTypeAny, {
|
|
12796
|
+
read: {
|
|
12797
|
+
credentials: {
|
|
12798
|
+
categories: Record<string, {
|
|
12799
|
+
sharing?: boolean | undefined;
|
|
12800
|
+
shared?: string[] | undefined;
|
|
12801
|
+
shareAll?: boolean | undefined;
|
|
12802
|
+
shareUntil?: string | undefined;
|
|
12803
|
+
}>;
|
|
12804
|
+
sharing?: boolean | undefined;
|
|
12805
|
+
shareAll?: boolean | undefined;
|
|
12806
|
+
};
|
|
12807
|
+
personal: Record<string, string>;
|
|
12808
|
+
anonymize?: boolean | undefined;
|
|
12809
|
+
};
|
|
12810
|
+
write: {
|
|
12811
|
+
credentials: {
|
|
12812
|
+
categories: Record<string, boolean>;
|
|
12813
|
+
};
|
|
12814
|
+
personal: Record<string, boolean>;
|
|
12815
|
+
};
|
|
12816
|
+
deniedWriters?: string[] | undefined;
|
|
12817
|
+
}, {
|
|
12818
|
+
read?: {
|
|
12819
|
+
anonymize?: boolean | undefined;
|
|
12820
|
+
credentials?: {
|
|
12821
|
+
categories?: Record<string, {
|
|
12822
|
+
sharing?: boolean | undefined;
|
|
12823
|
+
shared?: string[] | undefined;
|
|
12824
|
+
shareAll?: boolean | undefined;
|
|
12825
|
+
shareUntil?: string | undefined;
|
|
12826
|
+
}> | undefined;
|
|
12827
|
+
sharing?: boolean | undefined;
|
|
12828
|
+
shareAll?: boolean | undefined;
|
|
12829
|
+
} | undefined;
|
|
12830
|
+
personal?: Record<string, string> | undefined;
|
|
12831
|
+
} | undefined;
|
|
12832
|
+
write?: {
|
|
12833
|
+
credentials?: {
|
|
12834
|
+
categories?: Record<string, boolean> | undefined;
|
|
12835
|
+
} | undefined;
|
|
12836
|
+
personal?: Record<string, boolean> | undefined;
|
|
12837
|
+
} | undefined;
|
|
12838
|
+
deniedWriters?: string[] | undefined;
|
|
12839
|
+
}>>;
|
|
12840
|
+
id: z.ZodString;
|
|
12841
|
+
action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
|
12842
|
+
date: z.ZodString;
|
|
12843
|
+
uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12844
|
+
}, "strip", z.ZodTypeAny, {
|
|
12845
|
+
date: string;
|
|
12846
|
+
id: string;
|
|
12847
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
|
12848
|
+
expiresAt?: string | undefined;
|
|
12849
|
+
oneTime?: boolean | undefined;
|
|
12850
|
+
terms?: {
|
|
12851
|
+
read: {
|
|
12852
|
+
credentials: {
|
|
12853
|
+
categories: Record<string, {
|
|
12854
|
+
sharing?: boolean | undefined;
|
|
12855
|
+
shared?: string[] | undefined;
|
|
12856
|
+
shareAll?: boolean | undefined;
|
|
12857
|
+
shareUntil?: string | undefined;
|
|
12858
|
+
}>;
|
|
12859
|
+
sharing?: boolean | undefined;
|
|
12860
|
+
shareAll?: boolean | undefined;
|
|
12861
|
+
};
|
|
12862
|
+
personal: Record<string, string>;
|
|
12863
|
+
anonymize?: boolean | undefined;
|
|
12864
|
+
};
|
|
12865
|
+
write: {
|
|
12866
|
+
credentials: {
|
|
12867
|
+
categories: Record<string, boolean>;
|
|
12868
|
+
};
|
|
12869
|
+
personal: Record<string, boolean>;
|
|
12870
|
+
};
|
|
12871
|
+
deniedWriters?: string[] | undefined;
|
|
12872
|
+
} | undefined;
|
|
12873
|
+
uris?: string[] | undefined;
|
|
11652
12874
|
}, {
|
|
11653
|
-
|
|
11654
|
-
|
|
11655
|
-
|
|
11656
|
-
|
|
11657
|
-
|
|
11658
|
-
|
|
11659
|
-
|
|
11660
|
-
|
|
11661
|
-
|
|
11662
|
-
|
|
11663
|
-
|
|
11664
|
-
|
|
11665
|
-
|
|
11666
|
-
|
|
11667
|
-
|
|
11668
|
-
|
|
11669
|
-
|
|
11670
|
-
|
|
12875
|
+
date: string;
|
|
12876
|
+
id: string;
|
|
12877
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
|
12878
|
+
expiresAt?: string | undefined;
|
|
12879
|
+
oneTime?: boolean | undefined;
|
|
12880
|
+
terms?: {
|
|
12881
|
+
read?: {
|
|
12882
|
+
anonymize?: boolean | undefined;
|
|
12883
|
+
credentials?: {
|
|
12884
|
+
categories?: Record<string, {
|
|
12885
|
+
sharing?: boolean | undefined;
|
|
12886
|
+
shared?: string[] | undefined;
|
|
12887
|
+
shareAll?: boolean | undefined;
|
|
12888
|
+
shareUntil?: string | undefined;
|
|
12889
|
+
}> | undefined;
|
|
12890
|
+
sharing?: boolean | undefined;
|
|
12891
|
+
shareAll?: boolean | undefined;
|
|
12892
|
+
} | undefined;
|
|
12893
|
+
personal?: Record<string, string> | undefined;
|
|
12894
|
+
} | undefined;
|
|
12895
|
+
write?: {
|
|
12896
|
+
credentials?: {
|
|
12897
|
+
categories?: Record<string, boolean> | undefined;
|
|
12898
|
+
} | undefined;
|
|
12899
|
+
personal?: Record<string, boolean> | undefined;
|
|
12900
|
+
} | undefined;
|
|
12901
|
+
deniedWriters?: string[] | undefined;
|
|
12902
|
+
} | undefined;
|
|
12903
|
+
uris?: string[] | undefined;
|
|
12904
|
+
}>>;
|
|
12905
|
+
inbox: z.ZodOptional<z.ZodObject<{
|
|
12906
|
+
issuanceId: z.ZodString;
|
|
12907
|
+
status: z.ZodEnum<["PENDING", "ISSUED", "EXPIRED", "DELIVERED", "CLAIMED"]>;
|
|
12908
|
+
recipient: z.ZodObject<{
|
|
12909
|
+
contactMethod: z.ZodOptional<z.ZodObject<{
|
|
12910
|
+
type: z.ZodString;
|
|
12911
|
+
value: z.ZodString;
|
|
12912
|
+
}, "strip", z.ZodTypeAny, {
|
|
12913
|
+
type: string;
|
|
12914
|
+
value: string;
|
|
12915
|
+
}, {
|
|
12916
|
+
type: string;
|
|
12917
|
+
value: string;
|
|
12918
|
+
}>>;
|
|
12919
|
+
learnCardId: z.ZodOptional<z.ZodString>;
|
|
12920
|
+
}, "strip", z.ZodTypeAny, {
|
|
12921
|
+
contactMethod?: {
|
|
12922
|
+
type: string;
|
|
12923
|
+
value: string;
|
|
12924
|
+
} | undefined;
|
|
12925
|
+
learnCardId?: string | undefined;
|
|
12926
|
+
}, {
|
|
12927
|
+
contactMethod?: {
|
|
12928
|
+
type: string;
|
|
12929
|
+
value: string;
|
|
12930
|
+
} | undefined;
|
|
12931
|
+
learnCardId?: string | undefined;
|
|
12932
|
+
}>;
|
|
12933
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
12934
|
+
}, "strip", z.ZodTypeAny, {
|
|
12935
|
+
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
12936
|
+
issuanceId: string;
|
|
12937
|
+
recipient: {
|
|
12938
|
+
contactMethod?: {
|
|
12939
|
+
type: string;
|
|
12940
|
+
value: string;
|
|
12941
|
+
} | undefined;
|
|
12942
|
+
learnCardId?: string | undefined;
|
|
12943
|
+
};
|
|
12944
|
+
timestamp?: string | undefined;
|
|
12945
|
+
}, {
|
|
12946
|
+
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
12947
|
+
issuanceId: string;
|
|
12948
|
+
recipient: {
|
|
12949
|
+
contactMethod?: {
|
|
12950
|
+
type: string;
|
|
12951
|
+
value: string;
|
|
12952
|
+
} | undefined;
|
|
12953
|
+
learnCardId?: string | undefined;
|
|
12954
|
+
};
|
|
12955
|
+
timestamp?: string | undefined;
|
|
12956
|
+
}>>;
|
|
12957
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12958
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
12959
|
+
sent: z.ZodOptional<z.ZodString>;
|
|
12960
|
+
webhookUrl: z.ZodOptional<z.ZodString>;
|
|
12961
|
+
}, "strip", z.ZodTypeAny, {
|
|
12962
|
+
type: "CONNECTION_REQUEST" | "CONNECTION_ACCEPTED" | "CREDENTIAL_RECEIVED" | "CREDENTIAL_ACCEPTED" | "BOOST_RECEIVED" | "BOOST_ACCEPTED" | "PRESENTATION_REQUEST" | "PRESENTATION_RECEIVED" | "CONSENT_FLOW_TRANSACTION" | "ISSUANCE_CLAIMED" | "ISSUANCE_DELIVERED" | "ISSUANCE_ERROR" | "PROFILE_PARENT_APPROVED";
|
|
12963
|
+
to: {
|
|
11671
12964
|
type?: string | undefined;
|
|
11672
12965
|
image?: string | undefined;
|
|
11673
12966
|
email?: string | undefined;
|
|
@@ -11699,7 +12992,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
|
11699
12992
|
dob?: string | undefined;
|
|
11700
12993
|
country?: string | undefined;
|
|
11701
12994
|
approved?: boolean | undefined;
|
|
11702
|
-
}
|
|
12995
|
+
} & {
|
|
12996
|
+
did: string;
|
|
12997
|
+
};
|
|
12998
|
+
from: {
|
|
11703
12999
|
type?: string | undefined;
|
|
11704
13000
|
image?: string | undefined;
|
|
11705
13001
|
email?: string | undefined;
|
|
@@ -11727,28 +13023,19 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
|
11727
13023
|
idBackgroundColor?: string | undefined;
|
|
11728
13024
|
repeatIdBackgroundImage?: boolean | undefined;
|
|
11729
13025
|
} | undefined;
|
|
11730
|
-
highlightedCredentials?: string[] | undefined;
|
|
11731
|
-
dob?: string | undefined;
|
|
11732
|
-
country?: string | undefined;
|
|
11733
|
-
approved?: boolean | undefined;
|
|
11734
|
-
}
|
|
11735
|
-
did: z.ZodString;
|
|
11736
|
-
}, "strip", z.ZodTypeAny, {
|
|
11737
|
-
did: string;
|
|
11738
|
-
}, {
|
|
13026
|
+
highlightedCredentials?: string[] | undefined;
|
|
13027
|
+
dob?: string | undefined;
|
|
13028
|
+
country?: string | undefined;
|
|
13029
|
+
approved?: boolean | undefined;
|
|
13030
|
+
} & {
|
|
11739
13031
|
did: string;
|
|
11740
|
-
}
|
|
11741
|
-
message
|
|
11742
|
-
title: z.ZodOptional<z.ZodString>;
|
|
11743
|
-
body: z.ZodOptional<z.ZodString>;
|
|
11744
|
-
}, "strip", z.ZodTypeAny, {
|
|
11745
|
-
title?: string | undefined;
|
|
11746
|
-
body?: string | undefined;
|
|
11747
|
-
}, {
|
|
13032
|
+
};
|
|
13033
|
+
message?: {
|
|
11748
13034
|
title?: string | undefined;
|
|
11749
13035
|
body?: string | undefined;
|
|
11750
|
-
}
|
|
11751
|
-
|
|
13036
|
+
} | undefined;
|
|
13037
|
+
sent?: string | undefined;
|
|
13038
|
+
data?: z.objectOutputType<{
|
|
11752
13039
|
vcUris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11753
13040
|
vpUris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11754
13041
|
transaction: z.ZodOptional<z.ZodObject<{
|
|
@@ -11964,255 +13251,26 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
|
11964
13251
|
}, "strip", z.ZodTypeAny, {
|
|
11965
13252
|
type: string;
|
|
11966
13253
|
value: string;
|
|
11967
|
-
}, {
|
|
11968
|
-
type: string;
|
|
11969
|
-
value: string;
|
|
11970
|
-
}>>;
|
|
11971
|
-
learnCardId: z.ZodOptional<z.ZodString>;
|
|
11972
|
-
}, "strip", z.ZodTypeAny, {
|
|
11973
|
-
contactMethod?: {
|
|
11974
|
-
type: string;
|
|
11975
|
-
value: string;
|
|
11976
|
-
} | undefined;
|
|
11977
|
-
learnCardId?: string | undefined;
|
|
11978
|
-
}, {
|
|
11979
|
-
contactMethod?: {
|
|
11980
|
-
type: string;
|
|
11981
|
-
value: string;
|
|
11982
|
-
} | undefined;
|
|
11983
|
-
learnCardId?: string | undefined;
|
|
11984
|
-
}>;
|
|
11985
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
11986
|
-
}, "strip", z.ZodTypeAny, {
|
|
11987
|
-
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
11988
|
-
issuanceId: string;
|
|
11989
|
-
recipient: {
|
|
11990
|
-
contactMethod?: {
|
|
11991
|
-
type: string;
|
|
11992
|
-
value: string;
|
|
11993
|
-
} | undefined;
|
|
11994
|
-
learnCardId?: string | undefined;
|
|
11995
|
-
};
|
|
11996
|
-
timestamp?: string | undefined;
|
|
11997
|
-
}, {
|
|
11998
|
-
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
11999
|
-
issuanceId: string;
|
|
12000
|
-
recipient: {
|
|
12001
|
-
contactMethod?: {
|
|
12002
|
-
type: string;
|
|
12003
|
-
value: string;
|
|
12004
|
-
} | undefined;
|
|
12005
|
-
learnCardId?: string | undefined;
|
|
12006
|
-
};
|
|
12007
|
-
timestamp?: string | undefined;
|
|
12008
|
-
}>>;
|
|
12009
|
-
}, "strip", z.ZodTypeAny, {
|
|
12010
|
-
vcUris?: string[] | undefined;
|
|
12011
|
-
vpUris?: string[] | undefined;
|
|
12012
|
-
transaction?: {
|
|
12013
|
-
date: string;
|
|
12014
|
-
id: string;
|
|
12015
|
-
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
|
12016
|
-
expiresAt?: string | undefined;
|
|
12017
|
-
oneTime?: boolean | undefined;
|
|
12018
|
-
terms?: {
|
|
12019
|
-
read: {
|
|
12020
|
-
credentials: {
|
|
12021
|
-
categories: Record<string, {
|
|
12022
|
-
sharing?: boolean | undefined;
|
|
12023
|
-
shared?: string[] | undefined;
|
|
12024
|
-
shareAll?: boolean | undefined;
|
|
12025
|
-
shareUntil?: string | undefined;
|
|
12026
|
-
}>;
|
|
12027
|
-
sharing?: boolean | undefined;
|
|
12028
|
-
shareAll?: boolean | undefined;
|
|
12029
|
-
};
|
|
12030
|
-
personal: Record<string, string>;
|
|
12031
|
-
anonymize?: boolean | undefined;
|
|
12032
|
-
};
|
|
12033
|
-
write: {
|
|
12034
|
-
credentials: {
|
|
12035
|
-
categories: Record<string, boolean>;
|
|
12036
|
-
};
|
|
12037
|
-
personal: Record<string, boolean>;
|
|
12038
|
-
};
|
|
12039
|
-
deniedWriters?: string[] | undefined;
|
|
12040
|
-
} | undefined;
|
|
12041
|
-
uris?: string[] | undefined;
|
|
12042
|
-
} | undefined;
|
|
12043
|
-
inbox?: {
|
|
12044
|
-
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
12045
|
-
issuanceId: string;
|
|
12046
|
-
recipient: {
|
|
12047
|
-
contactMethod?: {
|
|
12048
|
-
type: string;
|
|
12049
|
-
value: string;
|
|
12050
|
-
} | undefined;
|
|
12051
|
-
learnCardId?: string | undefined;
|
|
12052
|
-
};
|
|
12053
|
-
timestamp?: string | undefined;
|
|
12054
|
-
} | undefined;
|
|
12055
|
-
}, {
|
|
12056
|
-
vcUris?: string[] | undefined;
|
|
12057
|
-
vpUris?: string[] | undefined;
|
|
12058
|
-
transaction?: {
|
|
12059
|
-
date: string;
|
|
12060
|
-
id: string;
|
|
12061
|
-
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
|
12062
|
-
expiresAt?: string | undefined;
|
|
12063
|
-
oneTime?: boolean | undefined;
|
|
12064
|
-
terms?: {
|
|
12065
|
-
read?: {
|
|
12066
|
-
anonymize?: boolean | undefined;
|
|
12067
|
-
credentials?: {
|
|
12068
|
-
categories?: Record<string, {
|
|
12069
|
-
sharing?: boolean | undefined;
|
|
12070
|
-
shared?: string[] | undefined;
|
|
12071
|
-
shareAll?: boolean | undefined;
|
|
12072
|
-
shareUntil?: string | undefined;
|
|
12073
|
-
}> | undefined;
|
|
12074
|
-
sharing?: boolean | undefined;
|
|
12075
|
-
shareAll?: boolean | undefined;
|
|
12076
|
-
} | undefined;
|
|
12077
|
-
personal?: Record<string, string> | undefined;
|
|
12078
|
-
} | undefined;
|
|
12079
|
-
write?: {
|
|
12080
|
-
credentials?: {
|
|
12081
|
-
categories?: Record<string, boolean> | undefined;
|
|
12082
|
-
} | undefined;
|
|
12083
|
-
personal?: Record<string, boolean> | undefined;
|
|
12084
|
-
} | undefined;
|
|
12085
|
-
deniedWriters?: string[] | undefined;
|
|
12086
|
-
} | undefined;
|
|
12087
|
-
uris?: string[] | undefined;
|
|
12088
|
-
} | undefined;
|
|
12089
|
-
inbox?: {
|
|
12090
|
-
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
12091
|
-
issuanceId: string;
|
|
12092
|
-
recipient: {
|
|
12093
|
-
contactMethod?: {
|
|
12094
|
-
type: string;
|
|
12095
|
-
value: string;
|
|
12096
|
-
} | undefined;
|
|
12097
|
-
learnCardId?: string | undefined;
|
|
12098
|
-
};
|
|
12099
|
-
timestamp?: string | undefined;
|
|
12100
|
-
} | undefined;
|
|
12101
|
-
}>>;
|
|
12102
|
-
sent: z.ZodOptional<z.ZodString>;
|
|
12103
|
-
webhookUrl: z.ZodOptional<z.ZodString>;
|
|
12104
|
-
}, "strip", z.ZodTypeAny, {
|
|
12105
|
-
type: "CONNECTION_REQUEST" | "CONNECTION_ACCEPTED" | "CREDENTIAL_RECEIVED" | "CREDENTIAL_ACCEPTED" | "BOOST_RECEIVED" | "BOOST_ACCEPTED" | "PRESENTATION_REQUEST" | "PRESENTATION_RECEIVED" | "CONSENT_FLOW_TRANSACTION" | "ISSUANCE_CLAIMED" | "ISSUANCE_DELIVERED" | "ISSUANCE_ERROR" | "PROFILE_PARENT_APPROVED";
|
|
12106
|
-
to: {
|
|
12107
|
-
type?: string | undefined;
|
|
12108
|
-
image?: string | undefined;
|
|
12109
|
-
email?: string | undefined;
|
|
12110
|
-
role?: string | undefined;
|
|
12111
|
-
profileId?: string | undefined;
|
|
12112
|
-
displayName?: string | undefined;
|
|
12113
|
-
shortBio?: string | undefined;
|
|
12114
|
-
bio?: string | undefined;
|
|
12115
|
-
did?: string | undefined;
|
|
12116
|
-
isPrivate?: boolean | undefined;
|
|
12117
|
-
heroImage?: string | undefined;
|
|
12118
|
-
websiteLink?: string | undefined;
|
|
12119
|
-
isServiceProfile?: boolean | undefined;
|
|
12120
|
-
notificationsWebhook?: string | undefined;
|
|
12121
|
-
display?: {
|
|
12122
|
-
backgroundColor?: string | undefined;
|
|
12123
|
-
backgroundImage?: string | undefined;
|
|
12124
|
-
fadeBackgroundImage?: boolean | undefined;
|
|
12125
|
-
repeatBackgroundImage?: boolean | undefined;
|
|
12126
|
-
fontColor?: string | undefined;
|
|
12127
|
-
accentColor?: string | undefined;
|
|
12128
|
-
accentFontColor?: string | undefined;
|
|
12129
|
-
idBackgroundImage?: string | undefined;
|
|
12130
|
-
fadeIdBackgroundImage?: boolean | undefined;
|
|
12131
|
-
idBackgroundColor?: string | undefined;
|
|
12132
|
-
repeatIdBackgroundImage?: boolean | undefined;
|
|
12133
|
-
} | undefined;
|
|
12134
|
-
highlightedCredentials?: string[] | undefined;
|
|
12135
|
-
dob?: string | undefined;
|
|
12136
|
-
country?: string | undefined;
|
|
12137
|
-
approved?: boolean | undefined;
|
|
12138
|
-
} & {
|
|
12139
|
-
did: string;
|
|
12140
|
-
};
|
|
12141
|
-
from: {
|
|
12142
|
-
type?: string | undefined;
|
|
12143
|
-
image?: string | undefined;
|
|
12144
|
-
email?: string | undefined;
|
|
12145
|
-
role?: string | undefined;
|
|
12146
|
-
profileId?: string | undefined;
|
|
12147
|
-
displayName?: string | undefined;
|
|
12148
|
-
shortBio?: string | undefined;
|
|
12149
|
-
bio?: string | undefined;
|
|
12150
|
-
did?: string | undefined;
|
|
12151
|
-
isPrivate?: boolean | undefined;
|
|
12152
|
-
heroImage?: string | undefined;
|
|
12153
|
-
websiteLink?: string | undefined;
|
|
12154
|
-
isServiceProfile?: boolean | undefined;
|
|
12155
|
-
notificationsWebhook?: string | undefined;
|
|
12156
|
-
display?: {
|
|
12157
|
-
backgroundColor?: string | undefined;
|
|
12158
|
-
backgroundImage?: string | undefined;
|
|
12159
|
-
fadeBackgroundImage?: boolean | undefined;
|
|
12160
|
-
repeatBackgroundImage?: boolean | undefined;
|
|
12161
|
-
fontColor?: string | undefined;
|
|
12162
|
-
accentColor?: string | undefined;
|
|
12163
|
-
accentFontColor?: string | undefined;
|
|
12164
|
-
idBackgroundImage?: string | undefined;
|
|
12165
|
-
fadeIdBackgroundImage?: boolean | undefined;
|
|
12166
|
-
idBackgroundColor?: string | undefined;
|
|
12167
|
-
repeatIdBackgroundImage?: boolean | undefined;
|
|
12168
|
-
} | undefined;
|
|
12169
|
-
highlightedCredentials?: string[] | undefined;
|
|
12170
|
-
dob?: string | undefined;
|
|
12171
|
-
country?: string | undefined;
|
|
12172
|
-
approved?: boolean | undefined;
|
|
12173
|
-
} & {
|
|
12174
|
-
did: string;
|
|
12175
|
-
};
|
|
12176
|
-
message?: {
|
|
12177
|
-
title?: string | undefined;
|
|
12178
|
-
body?: string | undefined;
|
|
12179
|
-
} | undefined;
|
|
12180
|
-
sent?: string | undefined;
|
|
12181
|
-
data?: {
|
|
12182
|
-
vcUris?: string[] | undefined;
|
|
12183
|
-
vpUris?: string[] | undefined;
|
|
12184
|
-
transaction?: {
|
|
12185
|
-
date: string;
|
|
12186
|
-
id: string;
|
|
12187
|
-
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
|
12188
|
-
expiresAt?: string | undefined;
|
|
12189
|
-
oneTime?: boolean | undefined;
|
|
12190
|
-
terms?: {
|
|
12191
|
-
read: {
|
|
12192
|
-
credentials: {
|
|
12193
|
-
categories: Record<string, {
|
|
12194
|
-
sharing?: boolean | undefined;
|
|
12195
|
-
shared?: string[] | undefined;
|
|
12196
|
-
shareAll?: boolean | undefined;
|
|
12197
|
-
shareUntil?: string | undefined;
|
|
12198
|
-
}>;
|
|
12199
|
-
sharing?: boolean | undefined;
|
|
12200
|
-
shareAll?: boolean | undefined;
|
|
12201
|
-
};
|
|
12202
|
-
personal: Record<string, string>;
|
|
12203
|
-
anonymize?: boolean | undefined;
|
|
12204
|
-
};
|
|
12205
|
-
write: {
|
|
12206
|
-
credentials: {
|
|
12207
|
-
categories: Record<string, boolean>;
|
|
12208
|
-
};
|
|
12209
|
-
personal: Record<string, boolean>;
|
|
12210
|
-
};
|
|
12211
|
-
deniedWriters?: string[] | undefined;
|
|
12212
|
-
} | undefined;
|
|
12213
|
-
uris?: string[] | undefined;
|
|
12214
|
-
} | undefined;
|
|
12215
|
-
inbox?: {
|
|
13254
|
+
}, {
|
|
13255
|
+
type: string;
|
|
13256
|
+
value: string;
|
|
13257
|
+
}>>;
|
|
13258
|
+
learnCardId: z.ZodOptional<z.ZodString>;
|
|
13259
|
+
}, "strip", z.ZodTypeAny, {
|
|
13260
|
+
contactMethod?: {
|
|
13261
|
+
type: string;
|
|
13262
|
+
value: string;
|
|
13263
|
+
} | undefined;
|
|
13264
|
+
learnCardId?: string | undefined;
|
|
13265
|
+
}, {
|
|
13266
|
+
contactMethod?: {
|
|
13267
|
+
type: string;
|
|
13268
|
+
value: string;
|
|
13269
|
+
} | undefined;
|
|
13270
|
+
learnCardId?: string | undefined;
|
|
13271
|
+
}>;
|
|
13272
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
13273
|
+
}, "strip", z.ZodTypeAny, {
|
|
12216
13274
|
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
12217
13275
|
issuanceId: string;
|
|
12218
13276
|
recipient: {
|
|
@@ -12223,8 +13281,20 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
|
12223
13281
|
learnCardId?: string | undefined;
|
|
12224
13282
|
};
|
|
12225
13283
|
timestamp?: string | undefined;
|
|
12226
|
-
}
|
|
12227
|
-
|
|
13284
|
+
}, {
|
|
13285
|
+
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
13286
|
+
issuanceId: string;
|
|
13287
|
+
recipient: {
|
|
13288
|
+
contactMethod?: {
|
|
13289
|
+
type: string;
|
|
13290
|
+
value: string;
|
|
13291
|
+
} | undefined;
|
|
13292
|
+
learnCardId?: string | undefined;
|
|
13293
|
+
};
|
|
13294
|
+
timestamp?: string | undefined;
|
|
13295
|
+
}>>;
|
|
13296
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13297
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
12228
13298
|
webhookUrl?: string | undefined;
|
|
12229
13299
|
}, {
|
|
12230
13300
|
type: "CONNECTION_REQUEST" | "CONNECTION_ACCEPTED" | "CREDENTIAL_RECEIVED" | "CREDENTIAL_ACCEPTED" | "BOOST_RECEIVED" | "BOOST_ACCEPTED" | "PRESENTATION_REQUEST" | "PRESENTATION_RECEIVED" | "CONSENT_FLOW_TRANSACTION" | "ISSUANCE_CLAIMED" | "ISSUANCE_DELIVERED" | "ISSUANCE_ERROR" | "PROFILE_PARENT_APPROVED";
|
|
@@ -12303,10 +13373,182 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
|
12303
13373
|
body?: string | undefined;
|
|
12304
13374
|
} | undefined;
|
|
12305
13375
|
sent?: string | undefined;
|
|
12306
|
-
data?: {
|
|
12307
|
-
vcUris
|
|
12308
|
-
vpUris
|
|
12309
|
-
transaction
|
|
13376
|
+
data?: z.objectInputType<{
|
|
13377
|
+
vcUris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13378
|
+
vpUris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13379
|
+
transaction: z.ZodOptional<z.ZodObject<{
|
|
13380
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
13381
|
+
oneTime: z.ZodOptional<z.ZodBoolean>;
|
|
13382
|
+
terms: z.ZodOptional<z.ZodObject<{
|
|
13383
|
+
read: z.ZodDefault<z.ZodObject<{
|
|
13384
|
+
anonymize: z.ZodOptional<z.ZodBoolean>;
|
|
13385
|
+
credentials: z.ZodDefault<z.ZodObject<{
|
|
13386
|
+
shareAll: z.ZodOptional<z.ZodBoolean>;
|
|
13387
|
+
sharing: z.ZodOptional<z.ZodBoolean>;
|
|
13388
|
+
categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
13389
|
+
sharing: z.ZodOptional<z.ZodBoolean>;
|
|
13390
|
+
shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13391
|
+
shareAll: z.ZodOptional<z.ZodBoolean>;
|
|
13392
|
+
shareUntil: z.ZodOptional<z.ZodString>;
|
|
13393
|
+
}, "strip", z.ZodTypeAny, {
|
|
13394
|
+
sharing?: boolean | undefined;
|
|
13395
|
+
shared?: string[] | undefined;
|
|
13396
|
+
shareAll?: boolean | undefined;
|
|
13397
|
+
shareUntil?: string | undefined;
|
|
13398
|
+
}, {
|
|
13399
|
+
sharing?: boolean | undefined;
|
|
13400
|
+
shared?: string[] | undefined;
|
|
13401
|
+
shareAll?: boolean | undefined;
|
|
13402
|
+
shareUntil?: string | undefined;
|
|
13403
|
+
}>>>;
|
|
13404
|
+
}, "strip", z.ZodTypeAny, {
|
|
13405
|
+
categories: Record<string, {
|
|
13406
|
+
sharing?: boolean | undefined;
|
|
13407
|
+
shared?: string[] | undefined;
|
|
13408
|
+
shareAll?: boolean | undefined;
|
|
13409
|
+
shareUntil?: string | undefined;
|
|
13410
|
+
}>;
|
|
13411
|
+
sharing?: boolean | undefined;
|
|
13412
|
+
shareAll?: boolean | undefined;
|
|
13413
|
+
}, {
|
|
13414
|
+
categories?: Record<string, {
|
|
13415
|
+
sharing?: boolean | undefined;
|
|
13416
|
+
shared?: string[] | undefined;
|
|
13417
|
+
shareAll?: boolean | undefined;
|
|
13418
|
+
shareUntil?: string | undefined;
|
|
13419
|
+
}> | undefined;
|
|
13420
|
+
sharing?: boolean | undefined;
|
|
13421
|
+
shareAll?: boolean | undefined;
|
|
13422
|
+
}>>;
|
|
13423
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
13424
|
+
}, "strip", z.ZodTypeAny, {
|
|
13425
|
+
credentials: {
|
|
13426
|
+
categories: Record<string, {
|
|
13427
|
+
sharing?: boolean | undefined;
|
|
13428
|
+
shared?: string[] | undefined;
|
|
13429
|
+
shareAll?: boolean | undefined;
|
|
13430
|
+
shareUntil?: string | undefined;
|
|
13431
|
+
}>;
|
|
13432
|
+
sharing?: boolean | undefined;
|
|
13433
|
+
shareAll?: boolean | undefined;
|
|
13434
|
+
};
|
|
13435
|
+
personal: Record<string, string>;
|
|
13436
|
+
anonymize?: boolean | undefined;
|
|
13437
|
+
}, {
|
|
13438
|
+
anonymize?: boolean | undefined;
|
|
13439
|
+
credentials?: {
|
|
13440
|
+
categories?: Record<string, {
|
|
13441
|
+
sharing?: boolean | undefined;
|
|
13442
|
+
shared?: string[] | undefined;
|
|
13443
|
+
shareAll?: boolean | undefined;
|
|
13444
|
+
shareUntil?: string | undefined;
|
|
13445
|
+
}> | undefined;
|
|
13446
|
+
sharing?: boolean | undefined;
|
|
13447
|
+
shareAll?: boolean | undefined;
|
|
13448
|
+
} | undefined;
|
|
13449
|
+
personal?: Record<string, string> | undefined;
|
|
13450
|
+
}>>;
|
|
13451
|
+
write: z.ZodDefault<z.ZodObject<{
|
|
13452
|
+
credentials: z.ZodDefault<z.ZodObject<{
|
|
13453
|
+
categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
13454
|
+
}, "strip", z.ZodTypeAny, {
|
|
13455
|
+
categories: Record<string, boolean>;
|
|
13456
|
+
}, {
|
|
13457
|
+
categories?: Record<string, boolean> | undefined;
|
|
13458
|
+
}>>;
|
|
13459
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
13460
|
+
}, "strip", z.ZodTypeAny, {
|
|
13461
|
+
credentials: {
|
|
13462
|
+
categories: Record<string, boolean>;
|
|
13463
|
+
};
|
|
13464
|
+
personal: Record<string, boolean>;
|
|
13465
|
+
}, {
|
|
13466
|
+
credentials?: {
|
|
13467
|
+
categories?: Record<string, boolean> | undefined;
|
|
13468
|
+
} | undefined;
|
|
13469
|
+
personal?: Record<string, boolean> | undefined;
|
|
13470
|
+
}>>;
|
|
13471
|
+
deniedWriters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13472
|
+
}, "strip", z.ZodTypeAny, {
|
|
13473
|
+
read: {
|
|
13474
|
+
credentials: {
|
|
13475
|
+
categories: Record<string, {
|
|
13476
|
+
sharing?: boolean | undefined;
|
|
13477
|
+
shared?: string[] | undefined;
|
|
13478
|
+
shareAll?: boolean | undefined;
|
|
13479
|
+
shareUntil?: string | undefined;
|
|
13480
|
+
}>;
|
|
13481
|
+
sharing?: boolean | undefined;
|
|
13482
|
+
shareAll?: boolean | undefined;
|
|
13483
|
+
};
|
|
13484
|
+
personal: Record<string, string>;
|
|
13485
|
+
anonymize?: boolean | undefined;
|
|
13486
|
+
};
|
|
13487
|
+
write: {
|
|
13488
|
+
credentials: {
|
|
13489
|
+
categories: Record<string, boolean>;
|
|
13490
|
+
};
|
|
13491
|
+
personal: Record<string, boolean>;
|
|
13492
|
+
};
|
|
13493
|
+
deniedWriters?: string[] | undefined;
|
|
13494
|
+
}, {
|
|
13495
|
+
read?: {
|
|
13496
|
+
anonymize?: boolean | undefined;
|
|
13497
|
+
credentials?: {
|
|
13498
|
+
categories?: Record<string, {
|
|
13499
|
+
sharing?: boolean | undefined;
|
|
13500
|
+
shared?: string[] | undefined;
|
|
13501
|
+
shareAll?: boolean | undefined;
|
|
13502
|
+
shareUntil?: string | undefined;
|
|
13503
|
+
}> | undefined;
|
|
13504
|
+
sharing?: boolean | undefined;
|
|
13505
|
+
shareAll?: boolean | undefined;
|
|
13506
|
+
} | undefined;
|
|
13507
|
+
personal?: Record<string, string> | undefined;
|
|
13508
|
+
} | undefined;
|
|
13509
|
+
write?: {
|
|
13510
|
+
credentials?: {
|
|
13511
|
+
categories?: Record<string, boolean> | undefined;
|
|
13512
|
+
} | undefined;
|
|
13513
|
+
personal?: Record<string, boolean> | undefined;
|
|
13514
|
+
} | undefined;
|
|
13515
|
+
deniedWriters?: string[] | undefined;
|
|
13516
|
+
}>>;
|
|
13517
|
+
id: z.ZodString;
|
|
13518
|
+
action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
|
13519
|
+
date: z.ZodString;
|
|
13520
|
+
uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13521
|
+
}, "strip", z.ZodTypeAny, {
|
|
13522
|
+
date: string;
|
|
13523
|
+
id: string;
|
|
13524
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
|
13525
|
+
expiresAt?: string | undefined;
|
|
13526
|
+
oneTime?: boolean | undefined;
|
|
13527
|
+
terms?: {
|
|
13528
|
+
read: {
|
|
13529
|
+
credentials: {
|
|
13530
|
+
categories: Record<string, {
|
|
13531
|
+
sharing?: boolean | undefined;
|
|
13532
|
+
shared?: string[] | undefined;
|
|
13533
|
+
shareAll?: boolean | undefined;
|
|
13534
|
+
shareUntil?: string | undefined;
|
|
13535
|
+
}>;
|
|
13536
|
+
sharing?: boolean | undefined;
|
|
13537
|
+
shareAll?: boolean | undefined;
|
|
13538
|
+
};
|
|
13539
|
+
personal: Record<string, string>;
|
|
13540
|
+
anonymize?: boolean | undefined;
|
|
13541
|
+
};
|
|
13542
|
+
write: {
|
|
13543
|
+
credentials: {
|
|
13544
|
+
categories: Record<string, boolean>;
|
|
13545
|
+
};
|
|
13546
|
+
personal: Record<string, boolean>;
|
|
13547
|
+
};
|
|
13548
|
+
deniedWriters?: string[] | undefined;
|
|
13549
|
+
} | undefined;
|
|
13550
|
+
uris?: string[] | undefined;
|
|
13551
|
+
}, {
|
|
12310
13552
|
date: string;
|
|
12311
13553
|
id: string;
|
|
12312
13554
|
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
|
@@ -12336,8 +13578,37 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
|
12336
13578
|
deniedWriters?: string[] | undefined;
|
|
12337
13579
|
} | undefined;
|
|
12338
13580
|
uris?: string[] | undefined;
|
|
12339
|
-
}
|
|
12340
|
-
inbox
|
|
13581
|
+
}>>;
|
|
13582
|
+
inbox: z.ZodOptional<z.ZodObject<{
|
|
13583
|
+
issuanceId: z.ZodString;
|
|
13584
|
+
status: z.ZodEnum<["PENDING", "ISSUED", "EXPIRED", "DELIVERED", "CLAIMED"]>;
|
|
13585
|
+
recipient: z.ZodObject<{
|
|
13586
|
+
contactMethod: z.ZodOptional<z.ZodObject<{
|
|
13587
|
+
type: z.ZodString;
|
|
13588
|
+
value: z.ZodString;
|
|
13589
|
+
}, "strip", z.ZodTypeAny, {
|
|
13590
|
+
type: string;
|
|
13591
|
+
value: string;
|
|
13592
|
+
}, {
|
|
13593
|
+
type: string;
|
|
13594
|
+
value: string;
|
|
13595
|
+
}>>;
|
|
13596
|
+
learnCardId: z.ZodOptional<z.ZodString>;
|
|
13597
|
+
}, "strip", z.ZodTypeAny, {
|
|
13598
|
+
contactMethod?: {
|
|
13599
|
+
type: string;
|
|
13600
|
+
value: string;
|
|
13601
|
+
} | undefined;
|
|
13602
|
+
learnCardId?: string | undefined;
|
|
13603
|
+
}, {
|
|
13604
|
+
contactMethod?: {
|
|
13605
|
+
type: string;
|
|
13606
|
+
value: string;
|
|
13607
|
+
} | undefined;
|
|
13608
|
+
learnCardId?: string | undefined;
|
|
13609
|
+
}>;
|
|
13610
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
13611
|
+
}, "strip", z.ZodTypeAny, {
|
|
12341
13612
|
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
12342
13613
|
issuanceId: string;
|
|
12343
13614
|
recipient: {
|
|
@@ -12348,8 +13619,20 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
|
12348
13619
|
learnCardId?: string | undefined;
|
|
12349
13620
|
};
|
|
12350
13621
|
timestamp?: string | undefined;
|
|
12351
|
-
}
|
|
12352
|
-
|
|
13622
|
+
}, {
|
|
13623
|
+
status: "PENDING" | "ISSUED" | "EXPIRED" | "DELIVERED" | "CLAIMED";
|
|
13624
|
+
issuanceId: string;
|
|
13625
|
+
recipient: {
|
|
13626
|
+
contactMethod?: {
|
|
13627
|
+
type: string;
|
|
13628
|
+
value: string;
|
|
13629
|
+
} | undefined;
|
|
13630
|
+
learnCardId?: string | undefined;
|
|
13631
|
+
};
|
|
13632
|
+
timestamp?: string | undefined;
|
|
13633
|
+
}>>;
|
|
13634
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13635
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
12353
13636
|
webhookUrl?: string | undefined;
|
|
12354
13637
|
}>;
|
|
12355
13638
|
export type LCNNotification = z.infer<typeof LCNNotificationValidator>;
|