@learncard/types 5.6.6 → 5.6.8
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 +311 -24
- package/dist/lcn.d.ts.map +1 -1
- package/dist/types.cjs.development.js +45 -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 +3 -3
- package/dist/types.esm.js +45 -3
- package/dist/types.esm.js.map +2 -2
- package/package.json +3 -2
package/dist/lcn.d.ts
CHANGED
@@ -3072,6 +3072,32 @@ export declare const LCNSigningAuthorityForUserValidator: z.ZodObject<{
|
|
3072
3072
|
};
|
3073
3073
|
}>;
|
3074
3074
|
export type LCNSigningAuthorityForUserType = z.infer<typeof LCNSigningAuthorityForUserValidator>;
|
3075
|
+
export declare const AutoBoostConfigValidator: z.ZodObject<{
|
3076
|
+
boostUri: z.ZodString;
|
3077
|
+
signingAuthority: z.ZodObject<{
|
3078
|
+
endpoint: z.ZodString;
|
3079
|
+
name: z.ZodString;
|
3080
|
+
}, "strip", z.ZodTypeAny, {
|
3081
|
+
name: string;
|
3082
|
+
endpoint: string;
|
3083
|
+
}, {
|
3084
|
+
name: string;
|
3085
|
+
endpoint: string;
|
3086
|
+
}>;
|
3087
|
+
}, "strip", z.ZodTypeAny, {
|
3088
|
+
signingAuthority: {
|
3089
|
+
name: string;
|
3090
|
+
endpoint: string;
|
3091
|
+
};
|
3092
|
+
boostUri: string;
|
3093
|
+
}, {
|
3094
|
+
signingAuthority: {
|
3095
|
+
name: string;
|
3096
|
+
endpoint: string;
|
3097
|
+
};
|
3098
|
+
boostUri: string;
|
3099
|
+
}>;
|
3100
|
+
export type AutoBoostConfig = z.infer<typeof AutoBoostConfigValidator>;
|
3075
3101
|
export declare const ConsentFlowTermsStatusValidator: z.ZodEnum<["live", "stale", "withdrawn"]>;
|
3076
3102
|
export type ConsentFlowTermsStatus = z.infer<typeof ConsentFlowTermsStatusValidator>;
|
3077
3103
|
export declare const ConsentFlowContractValidator: z.ZodObject<{
|
@@ -3465,9 +3491,11 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
|
|
3465
3491
|
uri: z.ZodString;
|
3466
3492
|
needsGuardianConsent: z.ZodOptional<z.ZodBoolean>;
|
3467
3493
|
redirectUrl: z.ZodOptional<z.ZodString>;
|
3494
|
+
frontDoorBoostUri: z.ZodOptional<z.ZodString>;
|
3468
3495
|
createdAt: z.ZodString;
|
3469
3496
|
updatedAt: z.ZodString;
|
3470
3497
|
expiresAt: z.ZodOptional<z.ZodString>;
|
3498
|
+
autoBoosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
3471
3499
|
}, "strip", z.ZodTypeAny, {
|
3472
3500
|
description?: string | undefined;
|
3473
3501
|
image?: string | undefined;
|
@@ -3475,7 +3503,9 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
|
|
3475
3503
|
reasonForAccessing?: string | undefined;
|
3476
3504
|
needsGuardianConsent?: boolean | undefined;
|
3477
3505
|
redirectUrl?: string | undefined;
|
3506
|
+
frontDoorBoostUri?: string | undefined;
|
3478
3507
|
expiresAt?: string | undefined;
|
3508
|
+
autoBoosts?: string[] | undefined;
|
3479
3509
|
name: string;
|
3480
3510
|
createdAt: string;
|
3481
3511
|
uri: string;
|
@@ -3538,7 +3568,9 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
|
|
3538
3568
|
reasonForAccessing?: string | undefined;
|
3539
3569
|
needsGuardianConsent?: boolean | undefined;
|
3540
3570
|
redirectUrl?: string | undefined;
|
3571
|
+
frontDoorBoostUri?: string | undefined;
|
3541
3572
|
expiresAt?: string | undefined;
|
3573
|
+
autoBoosts?: string[] | undefined;
|
3542
3574
|
name: string;
|
3543
3575
|
createdAt: string;
|
3544
3576
|
uri: string;
|
@@ -3853,9 +3885,11 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
3853
3885
|
uri: z.ZodString;
|
3854
3886
|
needsGuardianConsent: z.ZodOptional<z.ZodBoolean>;
|
3855
3887
|
redirectUrl: z.ZodOptional<z.ZodString>;
|
3888
|
+
frontDoorBoostUri: z.ZodOptional<z.ZodString>;
|
3856
3889
|
createdAt: z.ZodString;
|
3857
3890
|
updatedAt: z.ZodString;
|
3858
3891
|
expiresAt: z.ZodOptional<z.ZodString>;
|
3892
|
+
autoBoosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
3859
3893
|
}, "owner">, "strip", z.ZodTypeAny, {
|
3860
3894
|
description?: string | undefined;
|
3861
3895
|
image?: string | undefined;
|
@@ -3863,7 +3897,9 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
3863
3897
|
reasonForAccessing?: string | undefined;
|
3864
3898
|
needsGuardianConsent?: boolean | undefined;
|
3865
3899
|
redirectUrl?: string | undefined;
|
3900
|
+
frontDoorBoostUri?: string | undefined;
|
3866
3901
|
expiresAt?: string | undefined;
|
3902
|
+
autoBoosts?: string[] | undefined;
|
3867
3903
|
name: string;
|
3868
3904
|
createdAt: string;
|
3869
3905
|
uri: string;
|
@@ -3898,7 +3934,9 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
3898
3934
|
reasonForAccessing?: string | undefined;
|
3899
3935
|
needsGuardianConsent?: boolean | undefined;
|
3900
3936
|
redirectUrl?: string | undefined;
|
3937
|
+
frontDoorBoostUri?: string | undefined;
|
3901
3938
|
expiresAt?: string | undefined;
|
3939
|
+
autoBoosts?: string[] | undefined;
|
3902
3940
|
name: string;
|
3903
3941
|
createdAt: string;
|
3904
3942
|
uri: string;
|
@@ -3937,7 +3975,9 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
3937
3975
|
reasonForAccessing?: string | undefined;
|
3938
3976
|
needsGuardianConsent?: boolean | undefined;
|
3939
3977
|
redirectUrl?: string | undefined;
|
3978
|
+
frontDoorBoostUri?: string | undefined;
|
3940
3979
|
expiresAt?: string | undefined;
|
3980
|
+
autoBoosts?: string[] | undefined;
|
3941
3981
|
name: string;
|
3942
3982
|
createdAt: string;
|
3943
3983
|
uri: string;
|
@@ -3976,7 +4016,9 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
3976
4016
|
reasonForAccessing?: string | undefined;
|
3977
4017
|
needsGuardianConsent?: boolean | undefined;
|
3978
4018
|
redirectUrl?: string | undefined;
|
4019
|
+
frontDoorBoostUri?: string | undefined;
|
3979
4020
|
expiresAt?: string | undefined;
|
4021
|
+
autoBoosts?: string[] | undefined;
|
3980
4022
|
name: string;
|
3981
4023
|
createdAt: string;
|
3982
4024
|
uri: string;
|
@@ -4080,6 +4122,99 @@ export declare const PaginatedConsentFlowDataValidator: z.ZodObject<z.extendShap
|
|
4080
4122
|
}[];
|
4081
4123
|
}>;
|
4082
4124
|
export type PaginatedConsentFlowData = z.infer<typeof PaginatedConsentFlowDataValidator>;
|
4125
|
+
export declare const ConsentFlowContractDataForDidValidator: z.ZodObject<{
|
4126
|
+
credentials: z.ZodArray<z.ZodObject<{
|
4127
|
+
category: z.ZodString;
|
4128
|
+
uri: z.ZodString;
|
4129
|
+
}, "strip", z.ZodTypeAny, {
|
4130
|
+
uri: string;
|
4131
|
+
category: string;
|
4132
|
+
}, {
|
4133
|
+
uri: string;
|
4134
|
+
category: string;
|
4135
|
+
}>, "many">;
|
4136
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
4137
|
+
date: z.ZodString;
|
4138
|
+
contractUri: z.ZodString;
|
4139
|
+
}, "strip", z.ZodTypeAny, {
|
4140
|
+
date: string;
|
4141
|
+
credentials: {
|
4142
|
+
uri: string;
|
4143
|
+
category: string;
|
4144
|
+
}[];
|
4145
|
+
personal: Record<string, string>;
|
4146
|
+
contractUri: string;
|
4147
|
+
}, {
|
4148
|
+
personal?: Record<string, string> | undefined;
|
4149
|
+
date: string;
|
4150
|
+
credentials: {
|
4151
|
+
uri: string;
|
4152
|
+
category: string;
|
4153
|
+
}[];
|
4154
|
+
contractUri: string;
|
4155
|
+
}>;
|
4156
|
+
export type ConsentFlowContractDataForDid = z.infer<typeof ConsentFlowContractDataForDidValidator>;
|
4157
|
+
export declare const PaginatedConsentFlowDataForDidValidator: z.ZodObject<z.extendShape<{
|
4158
|
+
cursor: z.ZodOptional<z.ZodString>;
|
4159
|
+
hasMore: z.ZodBoolean;
|
4160
|
+
}, {
|
4161
|
+
records: z.ZodArray<z.ZodObject<{
|
4162
|
+
credentials: z.ZodArray<z.ZodObject<{
|
4163
|
+
category: z.ZodString;
|
4164
|
+
uri: z.ZodString;
|
4165
|
+
}, "strip", z.ZodTypeAny, {
|
4166
|
+
uri: string;
|
4167
|
+
category: string;
|
4168
|
+
}, {
|
4169
|
+
uri: string;
|
4170
|
+
category: string;
|
4171
|
+
}>, "many">;
|
4172
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
4173
|
+
date: z.ZodString;
|
4174
|
+
contractUri: z.ZodString;
|
4175
|
+
}, "strip", z.ZodTypeAny, {
|
4176
|
+
date: string;
|
4177
|
+
credentials: {
|
4178
|
+
uri: string;
|
4179
|
+
category: string;
|
4180
|
+
}[];
|
4181
|
+
personal: Record<string, string>;
|
4182
|
+
contractUri: string;
|
4183
|
+
}, {
|
4184
|
+
personal?: Record<string, string> | undefined;
|
4185
|
+
date: string;
|
4186
|
+
credentials: {
|
4187
|
+
uri: string;
|
4188
|
+
category: string;
|
4189
|
+
}[];
|
4190
|
+
contractUri: string;
|
4191
|
+
}>, "many">;
|
4192
|
+
}>, "strip", z.ZodTypeAny, {
|
4193
|
+
cursor?: string | undefined;
|
4194
|
+
hasMore: boolean;
|
4195
|
+
records: {
|
4196
|
+
date: string;
|
4197
|
+
credentials: {
|
4198
|
+
uri: string;
|
4199
|
+
category: string;
|
4200
|
+
}[];
|
4201
|
+
personal: Record<string, string>;
|
4202
|
+
contractUri: string;
|
4203
|
+
}[];
|
4204
|
+
}, {
|
4205
|
+
cursor?: string | undefined;
|
4206
|
+
hasMore: boolean;
|
4207
|
+
records: {
|
4208
|
+
personal?: Record<string, string> | undefined;
|
4209
|
+
date: string;
|
4210
|
+
credentials: {
|
4211
|
+
uri: string;
|
4212
|
+
category: string;
|
4213
|
+
}[];
|
4214
|
+
contractUri: string;
|
4215
|
+
}[];
|
4216
|
+
}>;
|
4217
|
+
export type PaginatedConsentFlowDataForDid = z.infer<typeof PaginatedConsentFlowDataForDidValidator>;
|
4083
4218
|
export declare const ConsentFlowTermValidator: z.ZodObject<{
|
4084
4219
|
sharing: z.ZodOptional<z.ZodBoolean>;
|
4085
4220
|
shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -4622,9 +4757,11 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
4622
4757
|
uri: z.ZodString;
|
4623
4758
|
needsGuardianConsent: z.ZodOptional<z.ZodBoolean>;
|
4624
4759
|
redirectUrl: z.ZodOptional<z.ZodString>;
|
4760
|
+
frontDoorBoostUri: z.ZodOptional<z.ZodString>;
|
4625
4761
|
createdAt: z.ZodString;
|
4626
4762
|
updatedAt: z.ZodString;
|
4627
4763
|
expiresAt: z.ZodOptional<z.ZodString>;
|
4764
|
+
autoBoosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
4628
4765
|
}, "strip", z.ZodTypeAny, {
|
4629
4766
|
description?: string | undefined;
|
4630
4767
|
image?: string | undefined;
|
@@ -4632,7 +4769,9 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
4632
4769
|
reasonForAccessing?: string | undefined;
|
4633
4770
|
needsGuardianConsent?: boolean | undefined;
|
4634
4771
|
redirectUrl?: string | undefined;
|
4772
|
+
frontDoorBoostUri?: string | undefined;
|
4635
4773
|
expiresAt?: string | undefined;
|
4774
|
+
autoBoosts?: string[] | undefined;
|
4636
4775
|
name: string;
|
4637
4776
|
createdAt: string;
|
4638
4777
|
uri: string;
|
@@ -4695,7 +4834,9 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
4695
4834
|
reasonForAccessing?: string | undefined;
|
4696
4835
|
needsGuardianConsent?: boolean | undefined;
|
4697
4836
|
redirectUrl?: string | undefined;
|
4837
|
+
frontDoorBoostUri?: string | undefined;
|
4698
4838
|
expiresAt?: string | undefined;
|
4839
|
+
autoBoosts?: string[] | undefined;
|
4699
4840
|
name: string;
|
4700
4841
|
createdAt: string;
|
4701
4842
|
uri: string;
|
@@ -4872,7 +5013,9 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
4872
5013
|
reasonForAccessing?: string | undefined;
|
4873
5014
|
needsGuardianConsent?: boolean | undefined;
|
4874
5015
|
redirectUrl?: string | undefined;
|
5016
|
+
frontDoorBoostUri?: string | undefined;
|
4875
5017
|
expiresAt?: string | undefined;
|
5018
|
+
autoBoosts?: string[] | undefined;
|
4876
5019
|
name: string;
|
4877
5020
|
createdAt: string;
|
4878
5021
|
uri: string;
|
@@ -4991,7 +5134,9 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
4991
5134
|
reasonForAccessing?: string | undefined;
|
4992
5135
|
needsGuardianConsent?: boolean | undefined;
|
4993
5136
|
redirectUrl?: string | undefined;
|
5137
|
+
frontDoorBoostUri?: string | undefined;
|
4994
5138
|
expiresAt?: string | undefined;
|
5139
|
+
autoBoosts?: string[] | undefined;
|
4995
5140
|
name: string;
|
4996
5141
|
createdAt: string;
|
4997
5142
|
uri: string;
|
@@ -5114,7 +5259,9 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
5114
5259
|
reasonForAccessing?: string | undefined;
|
5115
5260
|
needsGuardianConsent?: boolean | undefined;
|
5116
5261
|
redirectUrl?: string | undefined;
|
5262
|
+
frontDoorBoostUri?: string | undefined;
|
5117
5263
|
expiresAt?: string | undefined;
|
5264
|
+
autoBoosts?: string[] | undefined;
|
5118
5265
|
name: string;
|
5119
5266
|
createdAt: string;
|
5120
5267
|
uri: string;
|
@@ -5237,7 +5384,9 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
5237
5384
|
reasonForAccessing?: string | undefined;
|
5238
5385
|
needsGuardianConsent?: boolean | undefined;
|
5239
5386
|
redirectUrl?: string | undefined;
|
5387
|
+
frontDoorBoostUri?: string | undefined;
|
5240
5388
|
expiresAt?: string | undefined;
|
5389
|
+
autoBoosts?: string[] | undefined;
|
5241
5390
|
name: string;
|
5242
5391
|
createdAt: string;
|
5243
5392
|
uri: string;
|
@@ -5511,6 +5660,51 @@ export declare const ConsentFlowDataQueryValidator: z.ZodObject<{
|
|
5511
5660
|
}>;
|
5512
5661
|
export type ConsentFlowDataQuery = z.infer<typeof ConsentFlowDataQueryValidator>;
|
5513
5662
|
export type ConsentFlowDataQueryInput = z.input<typeof ConsentFlowDataQueryValidator>;
|
5663
|
+
export declare const ConsentFlowDataForDidQueryValidator: z.ZodObject<{
|
5664
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
5665
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
5666
|
+
}, "strip", z.ZodTypeAny, {
|
5667
|
+
categories?: Record<string, boolean> | undefined;
|
5668
|
+
}, {
|
5669
|
+
categories?: Record<string, boolean> | undefined;
|
5670
|
+
}>>;
|
5671
|
+
personal: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
5672
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
5673
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
5674
|
+
}, "strip", z.ZodTypeAny, {
|
5675
|
+
$in: string[];
|
5676
|
+
}, {
|
5677
|
+
$in: string[];
|
5678
|
+
}>]>, z.ZodObject<{
|
5679
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
5680
|
+
}, "strip", z.ZodTypeAny, {
|
5681
|
+
$regex: RegExp;
|
5682
|
+
}, {
|
5683
|
+
$regex: string | RegExp;
|
5684
|
+
}>]>>;
|
5685
|
+
}, "strip", z.ZodTypeAny, {
|
5686
|
+
id?: string | {
|
5687
|
+
$in: string[];
|
5688
|
+
} | {
|
5689
|
+
$regex: RegExp;
|
5690
|
+
} | undefined;
|
5691
|
+
credentials?: {
|
5692
|
+
categories?: Record<string, boolean> | undefined;
|
5693
|
+
} | undefined;
|
5694
|
+
personal?: Record<string, boolean> | undefined;
|
5695
|
+
}, {
|
5696
|
+
id?: string | {
|
5697
|
+
$in: string[];
|
5698
|
+
} | {
|
5699
|
+
$regex: string | RegExp;
|
5700
|
+
} | undefined;
|
5701
|
+
credentials?: {
|
5702
|
+
categories?: Record<string, boolean> | undefined;
|
5703
|
+
} | undefined;
|
5704
|
+
personal?: Record<string, boolean> | undefined;
|
5705
|
+
}>;
|
5706
|
+
export type ConsentFlowDataForDidQuery = z.infer<typeof ConsentFlowDataForDidQueryValidator>;
|
5707
|
+
export type ConsentFlowDataForDidQueryInput = z.input<typeof ConsentFlowDataForDidQueryValidator>;
|
5514
5708
|
export declare const ConsentFlowTermsQueryValidator: z.ZodObject<{
|
5515
5709
|
read: z.ZodOptional<z.ZodObject<{
|
5516
5710
|
anonymize: z.ZodOptional<z.ZodBoolean>;
|
@@ -5645,7 +5839,7 @@ export declare const ConsentFlowTermsQueryValidator: z.ZodObject<{
|
|
5645
5839
|
}>;
|
5646
5840
|
export type ConsentFlowTermsQuery = z.infer<typeof ConsentFlowTermsQueryValidator>;
|
5647
5841
|
export type ConsentFlowTermsQueryInput = z.input<typeof ConsentFlowTermsQueryValidator>;
|
5648
|
-
export declare const ConsentFlowTransactionActionValidator: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
|
5842
|
+
export declare const ConsentFlowTransactionActionValidator: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
5649
5843
|
export type ConsentFlowTransactionAction = z.infer<typeof ConsentFlowTransactionActionValidator>;
|
5650
5844
|
export declare const ConsentFlowTransactionsQueryValidator: z.ZodObject<{
|
5651
5845
|
terms: z.ZodOptional<z.ZodObject<{
|
@@ -5780,7 +5974,7 @@ export declare const ConsentFlowTransactionsQueryValidator: z.ZodObject<{
|
|
5780
5974
|
personal?: Record<string, boolean> | undefined;
|
5781
5975
|
} | undefined;
|
5782
5976
|
}>>;
|
5783
|
-
action: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["consent", "update", "sync", "withdraw"]>, z.ZodArray<z.ZodEnum<["consent", "update", "sync", "withdraw"]>, "many">]>>;
|
5977
|
+
action: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>, z.ZodArray<z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>, "many">]>>;
|
5784
5978
|
date: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
5785
5979
|
$gt: z.ZodString;
|
5786
5980
|
}, "strip", z.ZodTypeAny, {
|
@@ -5858,7 +6052,7 @@ export declare const ConsentFlowTransactionsQueryValidator: z.ZodObject<{
|
|
5858
6052
|
personal?: Record<string, boolean> | undefined;
|
5859
6053
|
} | undefined;
|
5860
6054
|
} | undefined;
|
5861
|
-
action?: "consent" | "update" | "sync" | "withdraw" | ("consent" | "update" | "sync" | "withdraw")[] | undefined;
|
6055
|
+
action?: "write" | "consent" | "update" | "sync" | "withdraw" | ("write" | "consent" | "update" | "sync" | "withdraw")[] | undefined;
|
5862
6056
|
}, {
|
5863
6057
|
date?: {
|
5864
6058
|
$gt: string;
|
@@ -5897,7 +6091,7 @@ export declare const ConsentFlowTransactionsQueryValidator: z.ZodObject<{
|
|
5897
6091
|
personal?: Record<string, boolean> | undefined;
|
5898
6092
|
} | undefined;
|
5899
6093
|
} | undefined;
|
5900
|
-
action?: "consent" | "update" | "sync" | "withdraw" | ("consent" | "update" | "sync" | "withdraw")[] | undefined;
|
6094
|
+
action?: "write" | "consent" | "update" | "sync" | "withdraw" | ("write" | "consent" | "update" | "sync" | "withdraw")[] | undefined;
|
5901
6095
|
}>;
|
5902
6096
|
export type ConsentFlowTransactionsQuery = z.infer<typeof ConsentFlowTransactionsQueryValidator>;
|
5903
6097
|
export type ConsentFlowTransactionsQueryInput = z.input<typeof ConsentFlowTransactionsQueryValidator>;
|
@@ -6037,8 +6231,9 @@ export declare const ConsentFlowTransactionValidator: z.ZodObject<{
|
|
6037
6231
|
} | undefined;
|
6038
6232
|
}>>;
|
6039
6233
|
id: z.ZodString;
|
6040
|
-
action: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
|
6234
|
+
action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
6041
6235
|
date: z.ZodString;
|
6236
|
+
uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
6042
6237
|
}, "strip", z.ZodTypeAny, {
|
6043
6238
|
expiresAt?: string | undefined;
|
6044
6239
|
oneTime?: boolean | undefined;
|
@@ -6064,9 +6259,10 @@ export declare const ConsentFlowTransactionValidator: z.ZodObject<{
|
|
6064
6259
|
personal: Record<string, boolean>;
|
6065
6260
|
};
|
6066
6261
|
} | undefined;
|
6262
|
+
uris?: string[] | undefined;
|
6067
6263
|
date: string;
|
6068
6264
|
id: string;
|
6069
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6265
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6070
6266
|
}, {
|
6071
6267
|
expiresAt?: string | undefined;
|
6072
6268
|
oneTime?: boolean | undefined;
|
@@ -6092,9 +6288,10 @@ export declare const ConsentFlowTransactionValidator: z.ZodObject<{
|
|
6092
6288
|
personal?: Record<string, boolean> | undefined;
|
6093
6289
|
} | undefined;
|
6094
6290
|
} | undefined;
|
6291
|
+
uris?: string[] | undefined;
|
6095
6292
|
date: string;
|
6096
6293
|
id: string;
|
6097
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6294
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6098
6295
|
}>;
|
6099
6296
|
export type ConsentFlowTransaction = z.infer<typeof ConsentFlowTransactionValidator>;
|
6100
6297
|
export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.extendShape<{
|
@@ -6237,8 +6434,9 @@ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.ex
|
|
6237
6434
|
} | undefined;
|
6238
6435
|
}>>;
|
6239
6436
|
id: z.ZodString;
|
6240
|
-
action: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
|
6437
|
+
action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
6241
6438
|
date: z.ZodString;
|
6439
|
+
uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
6242
6440
|
}, "strip", z.ZodTypeAny, {
|
6243
6441
|
expiresAt?: string | undefined;
|
6244
6442
|
oneTime?: boolean | undefined;
|
@@ -6264,9 +6462,10 @@ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.ex
|
|
6264
6462
|
personal: Record<string, boolean>;
|
6265
6463
|
};
|
6266
6464
|
} | undefined;
|
6465
|
+
uris?: string[] | undefined;
|
6267
6466
|
date: string;
|
6268
6467
|
id: string;
|
6269
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6468
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6270
6469
|
}, {
|
6271
6470
|
expiresAt?: string | undefined;
|
6272
6471
|
oneTime?: boolean | undefined;
|
@@ -6292,9 +6491,10 @@ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.ex
|
|
6292
6491
|
personal?: Record<string, boolean> | undefined;
|
6293
6492
|
} | undefined;
|
6294
6493
|
} | undefined;
|
6494
|
+
uris?: string[] | undefined;
|
6295
6495
|
date: string;
|
6296
6496
|
id: string;
|
6297
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6497
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6298
6498
|
}>, "many">;
|
6299
6499
|
}>, "strip", z.ZodTypeAny, {
|
6300
6500
|
cursor?: string | undefined;
|
@@ -6324,9 +6524,10 @@ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.ex
|
|
6324
6524
|
personal: Record<string, boolean>;
|
6325
6525
|
};
|
6326
6526
|
} | undefined;
|
6527
|
+
uris?: string[] | undefined;
|
6327
6528
|
date: string;
|
6328
6529
|
id: string;
|
6329
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6530
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6330
6531
|
}[];
|
6331
6532
|
}, {
|
6332
6533
|
cursor?: string | undefined;
|
@@ -6356,12 +6557,86 @@ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.ex
|
|
6356
6557
|
personal?: Record<string, boolean> | undefined;
|
6357
6558
|
} | undefined;
|
6358
6559
|
} | undefined;
|
6560
|
+
uris?: string[] | undefined;
|
6359
6561
|
date: string;
|
6360
6562
|
id: string;
|
6361
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6563
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6362
6564
|
}[];
|
6363
6565
|
}>;
|
6364
6566
|
export type PaginatedConsentFlowTransactions = z.infer<typeof PaginatedConsentFlowTransactionsValidator>;
|
6567
|
+
export declare const ContractCredentialValidator: z.ZodObject<{
|
6568
|
+
credentialUri: z.ZodString;
|
6569
|
+
termsUri: z.ZodString;
|
6570
|
+
contractUri: z.ZodString;
|
6571
|
+
boostUri: z.ZodString;
|
6572
|
+
category: z.ZodOptional<z.ZodString>;
|
6573
|
+
date: z.ZodString;
|
6574
|
+
}, "strip", z.ZodTypeAny, {
|
6575
|
+
category?: string | undefined;
|
6576
|
+
date: string;
|
6577
|
+
boostUri: string;
|
6578
|
+
contractUri: string;
|
6579
|
+
credentialUri: string;
|
6580
|
+
termsUri: string;
|
6581
|
+
}, {
|
6582
|
+
category?: string | undefined;
|
6583
|
+
date: string;
|
6584
|
+
boostUri: string;
|
6585
|
+
contractUri: string;
|
6586
|
+
credentialUri: string;
|
6587
|
+
termsUri: string;
|
6588
|
+
}>;
|
6589
|
+
export type ContractCredential = z.infer<typeof ContractCredentialValidator>;
|
6590
|
+
export declare const PaginatedContractCredentialsValidator: z.ZodObject<z.extendShape<{
|
6591
|
+
cursor: z.ZodOptional<z.ZodString>;
|
6592
|
+
hasMore: z.ZodBoolean;
|
6593
|
+
}, {
|
6594
|
+
records: z.ZodArray<z.ZodObject<{
|
6595
|
+
credentialUri: z.ZodString;
|
6596
|
+
termsUri: z.ZodString;
|
6597
|
+
contractUri: z.ZodString;
|
6598
|
+
boostUri: z.ZodString;
|
6599
|
+
category: z.ZodOptional<z.ZodString>;
|
6600
|
+
date: z.ZodString;
|
6601
|
+
}, "strip", z.ZodTypeAny, {
|
6602
|
+
category?: string | undefined;
|
6603
|
+
date: string;
|
6604
|
+
boostUri: string;
|
6605
|
+
contractUri: string;
|
6606
|
+
credentialUri: string;
|
6607
|
+
termsUri: string;
|
6608
|
+
}, {
|
6609
|
+
category?: string | undefined;
|
6610
|
+
date: string;
|
6611
|
+
boostUri: string;
|
6612
|
+
contractUri: string;
|
6613
|
+
credentialUri: string;
|
6614
|
+
termsUri: string;
|
6615
|
+
}>, "many">;
|
6616
|
+
}>, "strip", z.ZodTypeAny, {
|
6617
|
+
cursor?: string | undefined;
|
6618
|
+
hasMore: boolean;
|
6619
|
+
records: {
|
6620
|
+
category?: string | undefined;
|
6621
|
+
date: string;
|
6622
|
+
boostUri: string;
|
6623
|
+
contractUri: string;
|
6624
|
+
credentialUri: string;
|
6625
|
+
termsUri: string;
|
6626
|
+
}[];
|
6627
|
+
}, {
|
6628
|
+
cursor?: string | undefined;
|
6629
|
+
hasMore: boolean;
|
6630
|
+
records: {
|
6631
|
+
category?: string | undefined;
|
6632
|
+
date: string;
|
6633
|
+
boostUri: string;
|
6634
|
+
contractUri: string;
|
6635
|
+
credentialUri: string;
|
6636
|
+
termsUri: string;
|
6637
|
+
}[];
|
6638
|
+
}>;
|
6639
|
+
export type PaginatedContractCredentials = z.infer<typeof PaginatedContractCredentialsValidator>;
|
6365
6640
|
export declare const LCNNotificationTypeEnumValidator: z.ZodEnum<["CONNECTION_REQUEST", "CONNECTION_ACCEPTED", "CREDENTIAL_RECEIVED", "CREDENTIAL_ACCEPTED", "BOOST_RECEIVED", "BOOST_ACCEPTED", "PRESENTATION_REQUEST", "PRESENTATION_RECEIVED", "CONSENT_FLOW_TRANSACTION"]>;
|
6366
6641
|
export type LCNNotificationTypeEnum = z.infer<typeof LCNNotificationTypeEnumValidator>;
|
6367
6642
|
export declare const LCNNotificationMessageValidator: z.ZodObject<{
|
@@ -6514,8 +6789,9 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
|
|
6514
6789
|
} | undefined;
|
6515
6790
|
}>>;
|
6516
6791
|
id: z.ZodString;
|
6517
|
-
action: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
|
6792
|
+
action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
6518
6793
|
date: z.ZodString;
|
6794
|
+
uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
6519
6795
|
}, "strip", z.ZodTypeAny, {
|
6520
6796
|
expiresAt?: string | undefined;
|
6521
6797
|
oneTime?: boolean | undefined;
|
@@ -6541,9 +6817,10 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
|
|
6541
6817
|
personal: Record<string, boolean>;
|
6542
6818
|
};
|
6543
6819
|
} | undefined;
|
6820
|
+
uris?: string[] | undefined;
|
6544
6821
|
date: string;
|
6545
6822
|
id: string;
|
6546
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6823
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6547
6824
|
}, {
|
6548
6825
|
expiresAt?: string | undefined;
|
6549
6826
|
oneTime?: boolean | undefined;
|
@@ -6569,9 +6846,10 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
|
|
6569
6846
|
personal?: Record<string, boolean> | undefined;
|
6570
6847
|
} | undefined;
|
6571
6848
|
} | undefined;
|
6849
|
+
uris?: string[] | undefined;
|
6572
6850
|
date: string;
|
6573
6851
|
id: string;
|
6574
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6852
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6575
6853
|
}>>;
|
6576
6854
|
}, "strip", z.ZodTypeAny, {
|
6577
6855
|
vcUris?: string[] | undefined;
|
@@ -6601,9 +6879,10 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
|
|
6601
6879
|
personal: Record<string, boolean>;
|
6602
6880
|
};
|
6603
6881
|
} | undefined;
|
6882
|
+
uris?: string[] | undefined;
|
6604
6883
|
date: string;
|
6605
6884
|
id: string;
|
6606
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6885
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6607
6886
|
} | undefined;
|
6608
6887
|
}, {
|
6609
6888
|
vcUris?: string[] | undefined;
|
@@ -6633,9 +6912,10 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
|
|
6633
6912
|
personal?: Record<string, boolean> | undefined;
|
6634
6913
|
} | undefined;
|
6635
6914
|
} | undefined;
|
6915
|
+
uris?: string[] | undefined;
|
6636
6916
|
date: string;
|
6637
6917
|
id: string;
|
6638
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6918
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6639
6919
|
} | undefined;
|
6640
6920
|
}>;
|
6641
6921
|
export type LCNNotificationData = z.infer<typeof LCNNotificationDataValidator>;
|
@@ -7014,8 +7294,9 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
7014
7294
|
} | undefined;
|
7015
7295
|
}>>;
|
7016
7296
|
id: z.ZodString;
|
7017
|
-
action: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
|
7297
|
+
action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
7018
7298
|
date: z.ZodString;
|
7299
|
+
uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
7019
7300
|
}, "strip", z.ZodTypeAny, {
|
7020
7301
|
expiresAt?: string | undefined;
|
7021
7302
|
oneTime?: boolean | undefined;
|
@@ -7041,9 +7322,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
7041
7322
|
personal: Record<string, boolean>;
|
7042
7323
|
};
|
7043
7324
|
} | undefined;
|
7325
|
+
uris?: string[] | undefined;
|
7044
7326
|
date: string;
|
7045
7327
|
id: string;
|
7046
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
7328
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
7047
7329
|
}, {
|
7048
7330
|
expiresAt?: string | undefined;
|
7049
7331
|
oneTime?: boolean | undefined;
|
@@ -7069,9 +7351,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
7069
7351
|
personal?: Record<string, boolean> | undefined;
|
7070
7352
|
} | undefined;
|
7071
7353
|
} | undefined;
|
7354
|
+
uris?: string[] | undefined;
|
7072
7355
|
date: string;
|
7073
7356
|
id: string;
|
7074
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
7357
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
7075
7358
|
}>>;
|
7076
7359
|
}, "strip", z.ZodTypeAny, {
|
7077
7360
|
vcUris?: string[] | undefined;
|
@@ -7101,9 +7384,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
7101
7384
|
personal: Record<string, boolean>;
|
7102
7385
|
};
|
7103
7386
|
} | undefined;
|
7387
|
+
uris?: string[] | undefined;
|
7104
7388
|
date: string;
|
7105
7389
|
id: string;
|
7106
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
7390
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
7107
7391
|
} | undefined;
|
7108
7392
|
}, {
|
7109
7393
|
vcUris?: string[] | undefined;
|
@@ -7133,9 +7417,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
7133
7417
|
personal?: Record<string, boolean> | undefined;
|
7134
7418
|
} | undefined;
|
7135
7419
|
} | undefined;
|
7420
|
+
uris?: string[] | undefined;
|
7136
7421
|
date: string;
|
7137
7422
|
id: string;
|
7138
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
7423
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
7139
7424
|
} | undefined;
|
7140
7425
|
}>>;
|
7141
7426
|
sent: z.ZodOptional<z.ZodString>;
|
@@ -7172,9 +7457,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
7172
7457
|
personal: Record<string, boolean>;
|
7173
7458
|
};
|
7174
7459
|
} | undefined;
|
7460
|
+
uris?: string[] | undefined;
|
7175
7461
|
date: string;
|
7176
7462
|
id: string;
|
7177
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
7463
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
7178
7464
|
} | undefined;
|
7179
7465
|
} | undefined;
|
7180
7466
|
sent?: string | undefined;
|
@@ -7272,9 +7558,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
7272
7558
|
personal?: Record<string, boolean> | undefined;
|
7273
7559
|
} | undefined;
|
7274
7560
|
} | undefined;
|
7561
|
+
uris?: string[] | undefined;
|
7275
7562
|
date: string;
|
7276
7563
|
id: string;
|
7277
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
7564
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
7278
7565
|
} | undefined;
|
7279
7566
|
} | undefined;
|
7280
7567
|
sent?: string | undefined;
|