@learncard/types 5.6.6 → 5.6.7
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 +296 -24
- package/dist/lcn.d.ts.map +1 -1
- package/dist/types.cjs.development.js +43 -2
- 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 +43 -2
- package/dist/types.esm.js.map +2 -2
- package/package.json +1 -1
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,6 +3491,7 @@ 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>;
|
@@ -3475,6 +3502,7 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
|
|
3475
3502
|
reasonForAccessing?: string | undefined;
|
3476
3503
|
needsGuardianConsent?: boolean | undefined;
|
3477
3504
|
redirectUrl?: string | undefined;
|
3505
|
+
frontDoorBoostUri?: string | undefined;
|
3478
3506
|
expiresAt?: string | undefined;
|
3479
3507
|
name: string;
|
3480
3508
|
createdAt: string;
|
@@ -3538,6 +3566,7 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
|
|
3538
3566
|
reasonForAccessing?: string | undefined;
|
3539
3567
|
needsGuardianConsent?: boolean | undefined;
|
3540
3568
|
redirectUrl?: string | undefined;
|
3569
|
+
frontDoorBoostUri?: string | undefined;
|
3541
3570
|
expiresAt?: string | undefined;
|
3542
3571
|
name: string;
|
3543
3572
|
createdAt: string;
|
@@ -3853,6 +3882,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
3853
3882
|
uri: z.ZodString;
|
3854
3883
|
needsGuardianConsent: z.ZodOptional<z.ZodBoolean>;
|
3855
3884
|
redirectUrl: z.ZodOptional<z.ZodString>;
|
3885
|
+
frontDoorBoostUri: z.ZodOptional<z.ZodString>;
|
3856
3886
|
createdAt: z.ZodString;
|
3857
3887
|
updatedAt: z.ZodString;
|
3858
3888
|
expiresAt: z.ZodOptional<z.ZodString>;
|
@@ -3863,6 +3893,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
3863
3893
|
reasonForAccessing?: string | undefined;
|
3864
3894
|
needsGuardianConsent?: boolean | undefined;
|
3865
3895
|
redirectUrl?: string | undefined;
|
3896
|
+
frontDoorBoostUri?: string | undefined;
|
3866
3897
|
expiresAt?: string | undefined;
|
3867
3898
|
name: string;
|
3868
3899
|
createdAt: string;
|
@@ -3898,6 +3929,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
3898
3929
|
reasonForAccessing?: string | undefined;
|
3899
3930
|
needsGuardianConsent?: boolean | undefined;
|
3900
3931
|
redirectUrl?: string | undefined;
|
3932
|
+
frontDoorBoostUri?: string | undefined;
|
3901
3933
|
expiresAt?: string | undefined;
|
3902
3934
|
name: string;
|
3903
3935
|
createdAt: string;
|
@@ -3937,6 +3969,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
3937
3969
|
reasonForAccessing?: string | undefined;
|
3938
3970
|
needsGuardianConsent?: boolean | undefined;
|
3939
3971
|
redirectUrl?: string | undefined;
|
3972
|
+
frontDoorBoostUri?: string | undefined;
|
3940
3973
|
expiresAt?: string | undefined;
|
3941
3974
|
name: string;
|
3942
3975
|
createdAt: string;
|
@@ -3976,6 +4009,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
|
|
3976
4009
|
reasonForAccessing?: string | undefined;
|
3977
4010
|
needsGuardianConsent?: boolean | undefined;
|
3978
4011
|
redirectUrl?: string | undefined;
|
4012
|
+
frontDoorBoostUri?: string | undefined;
|
3979
4013
|
expiresAt?: string | undefined;
|
3980
4014
|
name: string;
|
3981
4015
|
createdAt: string;
|
@@ -4080,6 +4114,99 @@ export declare const PaginatedConsentFlowDataValidator: z.ZodObject<z.extendShap
|
|
4080
4114
|
}[];
|
4081
4115
|
}>;
|
4082
4116
|
export type PaginatedConsentFlowData = z.infer<typeof PaginatedConsentFlowDataValidator>;
|
4117
|
+
export declare const ConsentFlowContractDataForDidValidator: z.ZodObject<{
|
4118
|
+
credentials: z.ZodArray<z.ZodObject<{
|
4119
|
+
category: z.ZodString;
|
4120
|
+
uri: z.ZodString;
|
4121
|
+
}, "strip", z.ZodTypeAny, {
|
4122
|
+
uri: string;
|
4123
|
+
category: string;
|
4124
|
+
}, {
|
4125
|
+
uri: string;
|
4126
|
+
category: string;
|
4127
|
+
}>, "many">;
|
4128
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
4129
|
+
date: z.ZodString;
|
4130
|
+
contractUri: z.ZodString;
|
4131
|
+
}, "strip", z.ZodTypeAny, {
|
4132
|
+
date: string;
|
4133
|
+
credentials: {
|
4134
|
+
uri: string;
|
4135
|
+
category: string;
|
4136
|
+
}[];
|
4137
|
+
personal: Record<string, string>;
|
4138
|
+
contractUri: string;
|
4139
|
+
}, {
|
4140
|
+
personal?: Record<string, string> | undefined;
|
4141
|
+
date: string;
|
4142
|
+
credentials: {
|
4143
|
+
uri: string;
|
4144
|
+
category: string;
|
4145
|
+
}[];
|
4146
|
+
contractUri: string;
|
4147
|
+
}>;
|
4148
|
+
export type ConsentFlowContractDataForDid = z.infer<typeof ConsentFlowContractDataForDidValidator>;
|
4149
|
+
export declare const PaginatedConsentFlowDataForDidValidator: z.ZodObject<z.extendShape<{
|
4150
|
+
cursor: z.ZodOptional<z.ZodString>;
|
4151
|
+
hasMore: z.ZodBoolean;
|
4152
|
+
}, {
|
4153
|
+
records: z.ZodArray<z.ZodObject<{
|
4154
|
+
credentials: z.ZodArray<z.ZodObject<{
|
4155
|
+
category: z.ZodString;
|
4156
|
+
uri: z.ZodString;
|
4157
|
+
}, "strip", z.ZodTypeAny, {
|
4158
|
+
uri: string;
|
4159
|
+
category: string;
|
4160
|
+
}, {
|
4161
|
+
uri: string;
|
4162
|
+
category: string;
|
4163
|
+
}>, "many">;
|
4164
|
+
personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
4165
|
+
date: z.ZodString;
|
4166
|
+
contractUri: z.ZodString;
|
4167
|
+
}, "strip", z.ZodTypeAny, {
|
4168
|
+
date: string;
|
4169
|
+
credentials: {
|
4170
|
+
uri: string;
|
4171
|
+
category: string;
|
4172
|
+
}[];
|
4173
|
+
personal: Record<string, string>;
|
4174
|
+
contractUri: string;
|
4175
|
+
}, {
|
4176
|
+
personal?: Record<string, string> | undefined;
|
4177
|
+
date: string;
|
4178
|
+
credentials: {
|
4179
|
+
uri: string;
|
4180
|
+
category: string;
|
4181
|
+
}[];
|
4182
|
+
contractUri: string;
|
4183
|
+
}>, "many">;
|
4184
|
+
}>, "strip", z.ZodTypeAny, {
|
4185
|
+
cursor?: string | undefined;
|
4186
|
+
hasMore: boolean;
|
4187
|
+
records: {
|
4188
|
+
date: string;
|
4189
|
+
credentials: {
|
4190
|
+
uri: string;
|
4191
|
+
category: string;
|
4192
|
+
}[];
|
4193
|
+
personal: Record<string, string>;
|
4194
|
+
contractUri: string;
|
4195
|
+
}[];
|
4196
|
+
}, {
|
4197
|
+
cursor?: string | undefined;
|
4198
|
+
hasMore: boolean;
|
4199
|
+
records: {
|
4200
|
+
personal?: Record<string, string> | undefined;
|
4201
|
+
date: string;
|
4202
|
+
credentials: {
|
4203
|
+
uri: string;
|
4204
|
+
category: string;
|
4205
|
+
}[];
|
4206
|
+
contractUri: string;
|
4207
|
+
}[];
|
4208
|
+
}>;
|
4209
|
+
export type PaginatedConsentFlowDataForDid = z.infer<typeof PaginatedConsentFlowDataForDidValidator>;
|
4083
4210
|
export declare const ConsentFlowTermValidator: z.ZodObject<{
|
4084
4211
|
sharing: z.ZodOptional<z.ZodBoolean>;
|
4085
4212
|
shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -4622,6 +4749,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
4622
4749
|
uri: z.ZodString;
|
4623
4750
|
needsGuardianConsent: z.ZodOptional<z.ZodBoolean>;
|
4624
4751
|
redirectUrl: z.ZodOptional<z.ZodString>;
|
4752
|
+
frontDoorBoostUri: z.ZodOptional<z.ZodString>;
|
4625
4753
|
createdAt: z.ZodString;
|
4626
4754
|
updatedAt: z.ZodString;
|
4627
4755
|
expiresAt: z.ZodOptional<z.ZodString>;
|
@@ -4632,6 +4760,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
4632
4760
|
reasonForAccessing?: string | undefined;
|
4633
4761
|
needsGuardianConsent?: boolean | undefined;
|
4634
4762
|
redirectUrl?: string | undefined;
|
4763
|
+
frontDoorBoostUri?: string | undefined;
|
4635
4764
|
expiresAt?: string | undefined;
|
4636
4765
|
name: string;
|
4637
4766
|
createdAt: string;
|
@@ -4695,6 +4824,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
4695
4824
|
reasonForAccessing?: string | undefined;
|
4696
4825
|
needsGuardianConsent?: boolean | undefined;
|
4697
4826
|
redirectUrl?: string | undefined;
|
4827
|
+
frontDoorBoostUri?: string | undefined;
|
4698
4828
|
expiresAt?: string | undefined;
|
4699
4829
|
name: string;
|
4700
4830
|
createdAt: string;
|
@@ -4872,6 +5002,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
4872
5002
|
reasonForAccessing?: string | undefined;
|
4873
5003
|
needsGuardianConsent?: boolean | undefined;
|
4874
5004
|
redirectUrl?: string | undefined;
|
5005
|
+
frontDoorBoostUri?: string | undefined;
|
4875
5006
|
expiresAt?: string | undefined;
|
4876
5007
|
name: string;
|
4877
5008
|
createdAt: string;
|
@@ -4991,6 +5122,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
4991
5122
|
reasonForAccessing?: string | undefined;
|
4992
5123
|
needsGuardianConsent?: boolean | undefined;
|
4993
5124
|
redirectUrl?: string | undefined;
|
5125
|
+
frontDoorBoostUri?: string | undefined;
|
4994
5126
|
expiresAt?: string | undefined;
|
4995
5127
|
name: string;
|
4996
5128
|
createdAt: string;
|
@@ -5114,6 +5246,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
5114
5246
|
reasonForAccessing?: string | undefined;
|
5115
5247
|
needsGuardianConsent?: boolean | undefined;
|
5116
5248
|
redirectUrl?: string | undefined;
|
5249
|
+
frontDoorBoostUri?: string | undefined;
|
5117
5250
|
expiresAt?: string | undefined;
|
5118
5251
|
name: string;
|
5119
5252
|
createdAt: string;
|
@@ -5237,6 +5370,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
|
|
5237
5370
|
reasonForAccessing?: string | undefined;
|
5238
5371
|
needsGuardianConsent?: boolean | undefined;
|
5239
5372
|
redirectUrl?: string | undefined;
|
5373
|
+
frontDoorBoostUri?: string | undefined;
|
5240
5374
|
expiresAt?: string | undefined;
|
5241
5375
|
name: string;
|
5242
5376
|
createdAt: string;
|
@@ -5511,6 +5645,51 @@ export declare const ConsentFlowDataQueryValidator: z.ZodObject<{
|
|
5511
5645
|
}>;
|
5512
5646
|
export type ConsentFlowDataQuery = z.infer<typeof ConsentFlowDataQueryValidator>;
|
5513
5647
|
export type ConsentFlowDataQueryInput = z.input<typeof ConsentFlowDataQueryValidator>;
|
5648
|
+
export declare const ConsentFlowDataForDidQueryValidator: z.ZodObject<{
|
5649
|
+
credentials: z.ZodOptional<z.ZodObject<{
|
5650
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
5651
|
+
}, "strip", z.ZodTypeAny, {
|
5652
|
+
categories?: Record<string, boolean> | undefined;
|
5653
|
+
}, {
|
5654
|
+
categories?: Record<string, boolean> | undefined;
|
5655
|
+
}>>;
|
5656
|
+
personal: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
5657
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
5658
|
+
$in: z.ZodArray<z.ZodString, "many">;
|
5659
|
+
}, "strip", z.ZodTypeAny, {
|
5660
|
+
$in: string[];
|
5661
|
+
}, {
|
5662
|
+
$in: string[];
|
5663
|
+
}>]>, z.ZodObject<{
|
5664
|
+
$regex: z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, RegExp, string>]>;
|
5665
|
+
}, "strip", z.ZodTypeAny, {
|
5666
|
+
$regex: RegExp;
|
5667
|
+
}, {
|
5668
|
+
$regex: string | RegExp;
|
5669
|
+
}>]>>;
|
5670
|
+
}, "strip", z.ZodTypeAny, {
|
5671
|
+
id?: string | {
|
5672
|
+
$in: string[];
|
5673
|
+
} | {
|
5674
|
+
$regex: RegExp;
|
5675
|
+
} | undefined;
|
5676
|
+
credentials?: {
|
5677
|
+
categories?: Record<string, boolean> | undefined;
|
5678
|
+
} | undefined;
|
5679
|
+
personal?: Record<string, boolean> | undefined;
|
5680
|
+
}, {
|
5681
|
+
id?: string | {
|
5682
|
+
$in: string[];
|
5683
|
+
} | {
|
5684
|
+
$regex: string | RegExp;
|
5685
|
+
} | undefined;
|
5686
|
+
credentials?: {
|
5687
|
+
categories?: Record<string, boolean> | undefined;
|
5688
|
+
} | undefined;
|
5689
|
+
personal?: Record<string, boolean> | undefined;
|
5690
|
+
}>;
|
5691
|
+
export type ConsentFlowDataForDidQuery = z.infer<typeof ConsentFlowDataForDidQueryValidator>;
|
5692
|
+
export type ConsentFlowDataForDidQueryInput = z.input<typeof ConsentFlowDataForDidQueryValidator>;
|
5514
5693
|
export declare const ConsentFlowTermsQueryValidator: z.ZodObject<{
|
5515
5694
|
read: z.ZodOptional<z.ZodObject<{
|
5516
5695
|
anonymize: z.ZodOptional<z.ZodBoolean>;
|
@@ -5645,7 +5824,7 @@ export declare const ConsentFlowTermsQueryValidator: z.ZodObject<{
|
|
5645
5824
|
}>;
|
5646
5825
|
export type ConsentFlowTermsQuery = z.infer<typeof ConsentFlowTermsQueryValidator>;
|
5647
5826
|
export type ConsentFlowTermsQueryInput = z.input<typeof ConsentFlowTermsQueryValidator>;
|
5648
|
-
export declare const ConsentFlowTransactionActionValidator: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
|
5827
|
+
export declare const ConsentFlowTransactionActionValidator: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
5649
5828
|
export type ConsentFlowTransactionAction = z.infer<typeof ConsentFlowTransactionActionValidator>;
|
5650
5829
|
export declare const ConsentFlowTransactionsQueryValidator: z.ZodObject<{
|
5651
5830
|
terms: z.ZodOptional<z.ZodObject<{
|
@@ -5780,7 +5959,7 @@ export declare const ConsentFlowTransactionsQueryValidator: z.ZodObject<{
|
|
5780
5959
|
personal?: Record<string, boolean> | undefined;
|
5781
5960
|
} | undefined;
|
5782
5961
|
}>>;
|
5783
|
-
action: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["consent", "update", "sync", "withdraw"]>, z.ZodArray<z.ZodEnum<["consent", "update", "sync", "withdraw"]>, "many">]>>;
|
5962
|
+
action: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>, z.ZodArray<z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>, "many">]>>;
|
5784
5963
|
date: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
5785
5964
|
$gt: z.ZodString;
|
5786
5965
|
}, "strip", z.ZodTypeAny, {
|
@@ -5858,7 +6037,7 @@ export declare const ConsentFlowTransactionsQueryValidator: z.ZodObject<{
|
|
5858
6037
|
personal?: Record<string, boolean> | undefined;
|
5859
6038
|
} | undefined;
|
5860
6039
|
} | undefined;
|
5861
|
-
action?: "consent" | "update" | "sync" | "withdraw" | ("consent" | "update" | "sync" | "withdraw")[] | undefined;
|
6040
|
+
action?: "write" | "consent" | "update" | "sync" | "withdraw" | ("write" | "consent" | "update" | "sync" | "withdraw")[] | undefined;
|
5862
6041
|
}, {
|
5863
6042
|
date?: {
|
5864
6043
|
$gt: string;
|
@@ -5897,7 +6076,7 @@ export declare const ConsentFlowTransactionsQueryValidator: z.ZodObject<{
|
|
5897
6076
|
personal?: Record<string, boolean> | undefined;
|
5898
6077
|
} | undefined;
|
5899
6078
|
} | undefined;
|
5900
|
-
action?: "consent" | "update" | "sync" | "withdraw" | ("consent" | "update" | "sync" | "withdraw")[] | undefined;
|
6079
|
+
action?: "write" | "consent" | "update" | "sync" | "withdraw" | ("write" | "consent" | "update" | "sync" | "withdraw")[] | undefined;
|
5901
6080
|
}>;
|
5902
6081
|
export type ConsentFlowTransactionsQuery = z.infer<typeof ConsentFlowTransactionsQueryValidator>;
|
5903
6082
|
export type ConsentFlowTransactionsQueryInput = z.input<typeof ConsentFlowTransactionsQueryValidator>;
|
@@ -6037,8 +6216,9 @@ export declare const ConsentFlowTransactionValidator: z.ZodObject<{
|
|
6037
6216
|
} | undefined;
|
6038
6217
|
}>>;
|
6039
6218
|
id: z.ZodString;
|
6040
|
-
action: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
|
6219
|
+
action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
6041
6220
|
date: z.ZodString;
|
6221
|
+
uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
6042
6222
|
}, "strip", z.ZodTypeAny, {
|
6043
6223
|
expiresAt?: string | undefined;
|
6044
6224
|
oneTime?: boolean | undefined;
|
@@ -6064,9 +6244,10 @@ export declare const ConsentFlowTransactionValidator: z.ZodObject<{
|
|
6064
6244
|
personal: Record<string, boolean>;
|
6065
6245
|
};
|
6066
6246
|
} | undefined;
|
6247
|
+
uris?: string[] | undefined;
|
6067
6248
|
date: string;
|
6068
6249
|
id: string;
|
6069
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6250
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6070
6251
|
}, {
|
6071
6252
|
expiresAt?: string | undefined;
|
6072
6253
|
oneTime?: boolean | undefined;
|
@@ -6092,9 +6273,10 @@ export declare const ConsentFlowTransactionValidator: z.ZodObject<{
|
|
6092
6273
|
personal?: Record<string, boolean> | undefined;
|
6093
6274
|
} | undefined;
|
6094
6275
|
} | undefined;
|
6276
|
+
uris?: string[] | undefined;
|
6095
6277
|
date: string;
|
6096
6278
|
id: string;
|
6097
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6279
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6098
6280
|
}>;
|
6099
6281
|
export type ConsentFlowTransaction = z.infer<typeof ConsentFlowTransactionValidator>;
|
6100
6282
|
export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.extendShape<{
|
@@ -6237,8 +6419,9 @@ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.ex
|
|
6237
6419
|
} | undefined;
|
6238
6420
|
}>>;
|
6239
6421
|
id: z.ZodString;
|
6240
|
-
action: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
|
6422
|
+
action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
6241
6423
|
date: z.ZodString;
|
6424
|
+
uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
6242
6425
|
}, "strip", z.ZodTypeAny, {
|
6243
6426
|
expiresAt?: string | undefined;
|
6244
6427
|
oneTime?: boolean | undefined;
|
@@ -6264,9 +6447,10 @@ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.ex
|
|
6264
6447
|
personal: Record<string, boolean>;
|
6265
6448
|
};
|
6266
6449
|
} | undefined;
|
6450
|
+
uris?: string[] | undefined;
|
6267
6451
|
date: string;
|
6268
6452
|
id: string;
|
6269
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6453
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6270
6454
|
}, {
|
6271
6455
|
expiresAt?: string | undefined;
|
6272
6456
|
oneTime?: boolean | undefined;
|
@@ -6292,9 +6476,10 @@ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.ex
|
|
6292
6476
|
personal?: Record<string, boolean> | undefined;
|
6293
6477
|
} | undefined;
|
6294
6478
|
} | undefined;
|
6479
|
+
uris?: string[] | undefined;
|
6295
6480
|
date: string;
|
6296
6481
|
id: string;
|
6297
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6482
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6298
6483
|
}>, "many">;
|
6299
6484
|
}>, "strip", z.ZodTypeAny, {
|
6300
6485
|
cursor?: string | undefined;
|
@@ -6324,9 +6509,10 @@ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.ex
|
|
6324
6509
|
personal: Record<string, boolean>;
|
6325
6510
|
};
|
6326
6511
|
} | undefined;
|
6512
|
+
uris?: string[] | undefined;
|
6327
6513
|
date: string;
|
6328
6514
|
id: string;
|
6329
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6515
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6330
6516
|
}[];
|
6331
6517
|
}, {
|
6332
6518
|
cursor?: string | undefined;
|
@@ -6356,12 +6542,86 @@ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.ex
|
|
6356
6542
|
personal?: Record<string, boolean> | undefined;
|
6357
6543
|
} | undefined;
|
6358
6544
|
} | undefined;
|
6545
|
+
uris?: string[] | undefined;
|
6359
6546
|
date: string;
|
6360
6547
|
id: string;
|
6361
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6548
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6362
6549
|
}[];
|
6363
6550
|
}>;
|
6364
6551
|
export type PaginatedConsentFlowTransactions = z.infer<typeof PaginatedConsentFlowTransactionsValidator>;
|
6552
|
+
export declare const ContractCredentialValidator: z.ZodObject<{
|
6553
|
+
credentialUri: z.ZodString;
|
6554
|
+
termsUri: z.ZodString;
|
6555
|
+
contractUri: z.ZodString;
|
6556
|
+
boostUri: z.ZodString;
|
6557
|
+
category: z.ZodOptional<z.ZodString>;
|
6558
|
+
date: z.ZodString;
|
6559
|
+
}, "strip", z.ZodTypeAny, {
|
6560
|
+
category?: string | undefined;
|
6561
|
+
date: string;
|
6562
|
+
boostUri: string;
|
6563
|
+
contractUri: string;
|
6564
|
+
credentialUri: string;
|
6565
|
+
termsUri: string;
|
6566
|
+
}, {
|
6567
|
+
category?: string | undefined;
|
6568
|
+
date: string;
|
6569
|
+
boostUri: string;
|
6570
|
+
contractUri: string;
|
6571
|
+
credentialUri: string;
|
6572
|
+
termsUri: string;
|
6573
|
+
}>;
|
6574
|
+
export type ContractCredential = z.infer<typeof ContractCredentialValidator>;
|
6575
|
+
export declare const PaginatedContractCredentialsValidator: z.ZodObject<z.extendShape<{
|
6576
|
+
cursor: z.ZodOptional<z.ZodString>;
|
6577
|
+
hasMore: z.ZodBoolean;
|
6578
|
+
}, {
|
6579
|
+
records: z.ZodArray<z.ZodObject<{
|
6580
|
+
credentialUri: z.ZodString;
|
6581
|
+
termsUri: z.ZodString;
|
6582
|
+
contractUri: z.ZodString;
|
6583
|
+
boostUri: z.ZodString;
|
6584
|
+
category: z.ZodOptional<z.ZodString>;
|
6585
|
+
date: z.ZodString;
|
6586
|
+
}, "strip", z.ZodTypeAny, {
|
6587
|
+
category?: string | undefined;
|
6588
|
+
date: string;
|
6589
|
+
boostUri: string;
|
6590
|
+
contractUri: string;
|
6591
|
+
credentialUri: string;
|
6592
|
+
termsUri: string;
|
6593
|
+
}, {
|
6594
|
+
category?: string | undefined;
|
6595
|
+
date: string;
|
6596
|
+
boostUri: string;
|
6597
|
+
contractUri: string;
|
6598
|
+
credentialUri: string;
|
6599
|
+
termsUri: string;
|
6600
|
+
}>, "many">;
|
6601
|
+
}>, "strip", z.ZodTypeAny, {
|
6602
|
+
cursor?: string | undefined;
|
6603
|
+
hasMore: boolean;
|
6604
|
+
records: {
|
6605
|
+
category?: string | undefined;
|
6606
|
+
date: string;
|
6607
|
+
boostUri: string;
|
6608
|
+
contractUri: string;
|
6609
|
+
credentialUri: string;
|
6610
|
+
termsUri: string;
|
6611
|
+
}[];
|
6612
|
+
}, {
|
6613
|
+
cursor?: string | undefined;
|
6614
|
+
hasMore: boolean;
|
6615
|
+
records: {
|
6616
|
+
category?: string | undefined;
|
6617
|
+
date: string;
|
6618
|
+
boostUri: string;
|
6619
|
+
contractUri: string;
|
6620
|
+
credentialUri: string;
|
6621
|
+
termsUri: string;
|
6622
|
+
}[];
|
6623
|
+
}>;
|
6624
|
+
export type PaginatedContractCredentials = z.infer<typeof PaginatedContractCredentialsValidator>;
|
6365
6625
|
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
6626
|
export type LCNNotificationTypeEnum = z.infer<typeof LCNNotificationTypeEnumValidator>;
|
6367
6627
|
export declare const LCNNotificationMessageValidator: z.ZodObject<{
|
@@ -6514,8 +6774,9 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
|
|
6514
6774
|
} | undefined;
|
6515
6775
|
}>>;
|
6516
6776
|
id: z.ZodString;
|
6517
|
-
action: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
|
6777
|
+
action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
6518
6778
|
date: z.ZodString;
|
6779
|
+
uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
6519
6780
|
}, "strip", z.ZodTypeAny, {
|
6520
6781
|
expiresAt?: string | undefined;
|
6521
6782
|
oneTime?: boolean | undefined;
|
@@ -6541,9 +6802,10 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
|
|
6541
6802
|
personal: Record<string, boolean>;
|
6542
6803
|
};
|
6543
6804
|
} | undefined;
|
6805
|
+
uris?: string[] | undefined;
|
6544
6806
|
date: string;
|
6545
6807
|
id: string;
|
6546
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6808
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6547
6809
|
}, {
|
6548
6810
|
expiresAt?: string | undefined;
|
6549
6811
|
oneTime?: boolean | undefined;
|
@@ -6569,9 +6831,10 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
|
|
6569
6831
|
personal?: Record<string, boolean> | undefined;
|
6570
6832
|
} | undefined;
|
6571
6833
|
} | undefined;
|
6834
|
+
uris?: string[] | undefined;
|
6572
6835
|
date: string;
|
6573
6836
|
id: string;
|
6574
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6837
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6575
6838
|
}>>;
|
6576
6839
|
}, "strip", z.ZodTypeAny, {
|
6577
6840
|
vcUris?: string[] | undefined;
|
@@ -6601,9 +6864,10 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
|
|
6601
6864
|
personal: Record<string, boolean>;
|
6602
6865
|
};
|
6603
6866
|
} | undefined;
|
6867
|
+
uris?: string[] | undefined;
|
6604
6868
|
date: string;
|
6605
6869
|
id: string;
|
6606
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6870
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6607
6871
|
} | undefined;
|
6608
6872
|
}, {
|
6609
6873
|
vcUris?: string[] | undefined;
|
@@ -6633,9 +6897,10 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
|
|
6633
6897
|
personal?: Record<string, boolean> | undefined;
|
6634
6898
|
} | undefined;
|
6635
6899
|
} | undefined;
|
6900
|
+
uris?: string[] | undefined;
|
6636
6901
|
date: string;
|
6637
6902
|
id: string;
|
6638
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
6903
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
6639
6904
|
} | undefined;
|
6640
6905
|
}>;
|
6641
6906
|
export type LCNNotificationData = z.infer<typeof LCNNotificationDataValidator>;
|
@@ -7014,8 +7279,9 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
7014
7279
|
} | undefined;
|
7015
7280
|
}>>;
|
7016
7281
|
id: z.ZodString;
|
7017
|
-
action: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
|
7282
|
+
action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
|
7018
7283
|
date: z.ZodString;
|
7284
|
+
uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
7019
7285
|
}, "strip", z.ZodTypeAny, {
|
7020
7286
|
expiresAt?: string | undefined;
|
7021
7287
|
oneTime?: boolean | undefined;
|
@@ -7041,9 +7307,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
7041
7307
|
personal: Record<string, boolean>;
|
7042
7308
|
};
|
7043
7309
|
} | undefined;
|
7310
|
+
uris?: string[] | undefined;
|
7044
7311
|
date: string;
|
7045
7312
|
id: string;
|
7046
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
7313
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
7047
7314
|
}, {
|
7048
7315
|
expiresAt?: string | undefined;
|
7049
7316
|
oneTime?: boolean | undefined;
|
@@ -7069,9 +7336,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
7069
7336
|
personal?: Record<string, boolean> | undefined;
|
7070
7337
|
} | undefined;
|
7071
7338
|
} | undefined;
|
7339
|
+
uris?: string[] | undefined;
|
7072
7340
|
date: string;
|
7073
7341
|
id: string;
|
7074
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
7342
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
7075
7343
|
}>>;
|
7076
7344
|
}, "strip", z.ZodTypeAny, {
|
7077
7345
|
vcUris?: string[] | undefined;
|
@@ -7101,9 +7369,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
7101
7369
|
personal: Record<string, boolean>;
|
7102
7370
|
};
|
7103
7371
|
} | undefined;
|
7372
|
+
uris?: string[] | undefined;
|
7104
7373
|
date: string;
|
7105
7374
|
id: string;
|
7106
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
7375
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
7107
7376
|
} | undefined;
|
7108
7377
|
}, {
|
7109
7378
|
vcUris?: string[] | undefined;
|
@@ -7133,9 +7402,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
7133
7402
|
personal?: Record<string, boolean> | undefined;
|
7134
7403
|
} | undefined;
|
7135
7404
|
} | undefined;
|
7405
|
+
uris?: string[] | undefined;
|
7136
7406
|
date: string;
|
7137
7407
|
id: string;
|
7138
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
7408
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
7139
7409
|
} | undefined;
|
7140
7410
|
}>>;
|
7141
7411
|
sent: z.ZodOptional<z.ZodString>;
|
@@ -7172,9 +7442,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
7172
7442
|
personal: Record<string, boolean>;
|
7173
7443
|
};
|
7174
7444
|
} | undefined;
|
7445
|
+
uris?: string[] | undefined;
|
7175
7446
|
date: string;
|
7176
7447
|
id: string;
|
7177
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
7448
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
7178
7449
|
} | undefined;
|
7179
7450
|
} | undefined;
|
7180
7451
|
sent?: string | undefined;
|
@@ -7272,9 +7543,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
7272
7543
|
personal?: Record<string, boolean> | undefined;
|
7273
7544
|
} | undefined;
|
7274
7545
|
} | undefined;
|
7546
|
+
uris?: string[] | undefined;
|
7275
7547
|
date: string;
|
7276
7548
|
id: string;
|
7277
|
-
action: "consent" | "update" | "sync" | "withdraw";
|
7549
|
+
action: "write" | "consent" | "update" | "sync" | "withdraw";
|
7278
7550
|
} | undefined;
|
7279
7551
|
} | undefined;
|
7280
7552
|
sent?: string | undefined;
|