@learncard/types 5.6.5 → 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 CHANGED
@@ -1240,7 +1240,7 @@ export declare const BoostPermissionsQueryValidator: z.ZodObject<{
1240
1240
  canViewAnalytics?: boolean | undefined;
1241
1241
  }>;
1242
1242
  export type BoostPermissionsQuery = z.infer<typeof BoostPermissionsQueryValidator>;
1243
- export declare const ClaimHookTypeValidator: z.ZodEnum<["GRANT_PERMISSIONS"]>;
1243
+ export declare const ClaimHookTypeValidator: z.ZodEnum<["GRANT_PERMISSIONS", "ADD_ADMIN"]>;
1244
1244
  export type ClaimHookType = z.infer<typeof ClaimHookTypeValidator>;
1245
1245
  export declare const ClaimHookValidator: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1246
1246
  type: z.ZodLiteral<"GRANT_PERMISSIONS">;
@@ -1362,6 +1362,30 @@ export declare const ClaimHookValidator: z.ZodDiscriminatedUnion<"type", [z.ZodO
1362
1362
  canViewAnalytics?: boolean | undefined;
1363
1363
  };
1364
1364
  };
1365
+ }>, z.ZodObject<{
1366
+ type: z.ZodLiteral<"ADD_ADMIN">;
1367
+ data: z.ZodObject<{
1368
+ claimUri: z.ZodString;
1369
+ targetUri: z.ZodString;
1370
+ }, "strip", z.ZodTypeAny, {
1371
+ claimUri: string;
1372
+ targetUri: string;
1373
+ }, {
1374
+ claimUri: string;
1375
+ targetUri: string;
1376
+ }>;
1377
+ }, "strip", z.ZodTypeAny, {
1378
+ type: "ADD_ADMIN";
1379
+ data: {
1380
+ claimUri: string;
1381
+ targetUri: string;
1382
+ };
1383
+ }, {
1384
+ type: "ADD_ADMIN";
1385
+ data: {
1386
+ claimUri: string;
1387
+ targetUri: string;
1388
+ };
1365
1389
  }>]>;
1366
1390
  export type ClaimHook = z.infer<typeof ClaimHookValidator>;
1367
1391
  export declare const ClaimHookQueryValidator: z.ZodObject<{
@@ -1910,6 +1934,30 @@ export declare const FullClaimHookValidator: z.ZodIntersection<z.ZodObject<{
1910
1934
  canViewAnalytics?: boolean | undefined;
1911
1935
  };
1912
1936
  };
1937
+ }>, z.ZodObject<{
1938
+ type: z.ZodLiteral<"ADD_ADMIN">;
1939
+ data: z.ZodObject<{
1940
+ claimUri: z.ZodString;
1941
+ targetUri: z.ZodString;
1942
+ }, "strip", z.ZodTypeAny, {
1943
+ claimUri: string;
1944
+ targetUri: string;
1945
+ }, {
1946
+ claimUri: string;
1947
+ targetUri: string;
1948
+ }>;
1949
+ }, "strip", z.ZodTypeAny, {
1950
+ type: "ADD_ADMIN";
1951
+ data: {
1952
+ claimUri: string;
1953
+ targetUri: string;
1954
+ };
1955
+ }, {
1956
+ type: "ADD_ADMIN";
1957
+ data: {
1958
+ claimUri: string;
1959
+ targetUri: string;
1960
+ };
1913
1961
  }>]>>;
1914
1962
  export type FullClaimHook = z.infer<typeof FullClaimHookValidator>;
1915
1963
  export declare const PaginatedClaimHooksValidator: z.ZodObject<z.extendShape<{
@@ -2048,6 +2096,30 @@ export declare const PaginatedClaimHooksValidator: z.ZodObject<z.extendShape<{
2048
2096
  canViewAnalytics?: boolean | undefined;
2049
2097
  };
2050
2098
  };
2099
+ }>, z.ZodObject<{
2100
+ type: z.ZodLiteral<"ADD_ADMIN">;
2101
+ data: z.ZodObject<{
2102
+ claimUri: z.ZodString;
2103
+ targetUri: z.ZodString;
2104
+ }, "strip", z.ZodTypeAny, {
2105
+ claimUri: string;
2106
+ targetUri: string;
2107
+ }, {
2108
+ claimUri: string;
2109
+ targetUri: string;
2110
+ }>;
2111
+ }, "strip", z.ZodTypeAny, {
2112
+ type: "ADD_ADMIN";
2113
+ data: {
2114
+ claimUri: string;
2115
+ targetUri: string;
2116
+ };
2117
+ }, {
2118
+ type: "ADD_ADMIN";
2119
+ data: {
2120
+ claimUri: string;
2121
+ targetUri: string;
2122
+ };
2051
2123
  }>]>>, "many">;
2052
2124
  }>, "strip", z.ZodTypeAny, {
2053
2125
  cursor?: string | undefined;
@@ -2056,7 +2128,7 @@ export declare const PaginatedClaimHooksValidator: z.ZodObject<z.extendShape<{
2056
2128
  id: string;
2057
2129
  createdAt: string;
2058
2130
  updatedAt: string;
2059
- } & {
2131
+ } & ({
2060
2132
  type: "GRANT_PERMISSIONS";
2061
2133
  data: {
2062
2134
  claimUri: string;
@@ -2076,7 +2148,13 @@ export declare const PaginatedClaimHooksValidator: z.ZodObject<z.extendShape<{
2076
2148
  canViewAnalytics?: boolean | undefined;
2077
2149
  };
2078
2150
  };
2079
- })[];
2151
+ } | {
2152
+ type: "ADD_ADMIN";
2153
+ data: {
2154
+ claimUri: string;
2155
+ targetUri: string;
2156
+ };
2157
+ }))[];
2080
2158
  }, {
2081
2159
  cursor?: string | undefined;
2082
2160
  hasMore: boolean;
@@ -2084,7 +2162,7 @@ export declare const PaginatedClaimHooksValidator: z.ZodObject<z.extendShape<{
2084
2162
  id: string;
2085
2163
  createdAt: string;
2086
2164
  updatedAt: string;
2087
- } & {
2165
+ } & ({
2088
2166
  type: "GRANT_PERMISSIONS";
2089
2167
  data: {
2090
2168
  claimUri: string;
@@ -2104,7 +2182,13 @@ export declare const PaginatedClaimHooksValidator: z.ZodObject<z.extendShape<{
2104
2182
  canViewAnalytics?: boolean | undefined;
2105
2183
  };
2106
2184
  };
2107
- })[];
2185
+ } | {
2186
+ type: "ADD_ADMIN";
2187
+ data: {
2188
+ claimUri: string;
2189
+ targetUri: string;
2190
+ };
2191
+ }))[];
2108
2192
  }>;
2109
2193
  export type PaginatedClaimHooksType = z.infer<typeof PaginatedClaimHooksValidator>;
2110
2194
  export declare const LCNBoostStatus: z.ZodEnum<["DRAFT", "LIVE"]>;
@@ -2988,6 +3072,32 @@ export declare const LCNSigningAuthorityForUserValidator: z.ZodObject<{
2988
3072
  };
2989
3073
  }>;
2990
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>;
2991
3101
  export declare const ConsentFlowTermsStatusValidator: z.ZodEnum<["live", "stale", "withdrawn"]>;
2992
3102
  export type ConsentFlowTermsStatus = z.infer<typeof ConsentFlowTermsStatusValidator>;
2993
3103
  export declare const ConsentFlowContractValidator: z.ZodObject<{
@@ -3381,6 +3491,7 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
3381
3491
  uri: z.ZodString;
3382
3492
  needsGuardianConsent: z.ZodOptional<z.ZodBoolean>;
3383
3493
  redirectUrl: z.ZodOptional<z.ZodString>;
3494
+ frontDoorBoostUri: z.ZodOptional<z.ZodString>;
3384
3495
  createdAt: z.ZodString;
3385
3496
  updatedAt: z.ZodString;
3386
3497
  expiresAt: z.ZodOptional<z.ZodString>;
@@ -3391,6 +3502,7 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
3391
3502
  reasonForAccessing?: string | undefined;
3392
3503
  needsGuardianConsent?: boolean | undefined;
3393
3504
  redirectUrl?: string | undefined;
3505
+ frontDoorBoostUri?: string | undefined;
3394
3506
  expiresAt?: string | undefined;
3395
3507
  name: string;
3396
3508
  createdAt: string;
@@ -3454,6 +3566,7 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
3454
3566
  reasonForAccessing?: string | undefined;
3455
3567
  needsGuardianConsent?: boolean | undefined;
3456
3568
  redirectUrl?: string | undefined;
3569
+ frontDoorBoostUri?: string | undefined;
3457
3570
  expiresAt?: string | undefined;
3458
3571
  name: string;
3459
3572
  createdAt: string;
@@ -3769,6 +3882,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
3769
3882
  uri: z.ZodString;
3770
3883
  needsGuardianConsent: z.ZodOptional<z.ZodBoolean>;
3771
3884
  redirectUrl: z.ZodOptional<z.ZodString>;
3885
+ frontDoorBoostUri: z.ZodOptional<z.ZodString>;
3772
3886
  createdAt: z.ZodString;
3773
3887
  updatedAt: z.ZodString;
3774
3888
  expiresAt: z.ZodOptional<z.ZodString>;
@@ -3779,6 +3893,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
3779
3893
  reasonForAccessing?: string | undefined;
3780
3894
  needsGuardianConsent?: boolean | undefined;
3781
3895
  redirectUrl?: string | undefined;
3896
+ frontDoorBoostUri?: string | undefined;
3782
3897
  expiresAt?: string | undefined;
3783
3898
  name: string;
3784
3899
  createdAt: string;
@@ -3814,6 +3929,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
3814
3929
  reasonForAccessing?: string | undefined;
3815
3930
  needsGuardianConsent?: boolean | undefined;
3816
3931
  redirectUrl?: string | undefined;
3932
+ frontDoorBoostUri?: string | undefined;
3817
3933
  expiresAt?: string | undefined;
3818
3934
  name: string;
3819
3935
  createdAt: string;
@@ -3853,6 +3969,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
3853
3969
  reasonForAccessing?: string | undefined;
3854
3970
  needsGuardianConsent?: boolean | undefined;
3855
3971
  redirectUrl?: string | undefined;
3972
+ frontDoorBoostUri?: string | undefined;
3856
3973
  expiresAt?: string | undefined;
3857
3974
  name: string;
3858
3975
  createdAt: string;
@@ -3892,6 +4009,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.exten
3892
4009
  reasonForAccessing?: string | undefined;
3893
4010
  needsGuardianConsent?: boolean | undefined;
3894
4011
  redirectUrl?: string | undefined;
4012
+ frontDoorBoostUri?: string | undefined;
3895
4013
  expiresAt?: string | undefined;
3896
4014
  name: string;
3897
4015
  createdAt: string;
@@ -3996,6 +4114,99 @@ export declare const PaginatedConsentFlowDataValidator: z.ZodObject<z.extendShap
3996
4114
  }[];
3997
4115
  }>;
3998
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>;
3999
4210
  export declare const ConsentFlowTermValidator: z.ZodObject<{
4000
4211
  sharing: z.ZodOptional<z.ZodBoolean>;
4001
4212
  shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -4538,6 +4749,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
4538
4749
  uri: z.ZodString;
4539
4750
  needsGuardianConsent: z.ZodOptional<z.ZodBoolean>;
4540
4751
  redirectUrl: z.ZodOptional<z.ZodString>;
4752
+ frontDoorBoostUri: z.ZodOptional<z.ZodString>;
4541
4753
  createdAt: z.ZodString;
4542
4754
  updatedAt: z.ZodString;
4543
4755
  expiresAt: z.ZodOptional<z.ZodString>;
@@ -4548,6 +4760,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
4548
4760
  reasonForAccessing?: string | undefined;
4549
4761
  needsGuardianConsent?: boolean | undefined;
4550
4762
  redirectUrl?: string | undefined;
4763
+ frontDoorBoostUri?: string | undefined;
4551
4764
  expiresAt?: string | undefined;
4552
4765
  name: string;
4553
4766
  createdAt: string;
@@ -4611,6 +4824,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
4611
4824
  reasonForAccessing?: string | undefined;
4612
4825
  needsGuardianConsent?: boolean | undefined;
4613
4826
  redirectUrl?: string | undefined;
4827
+ frontDoorBoostUri?: string | undefined;
4614
4828
  expiresAt?: string | undefined;
4615
4829
  name: string;
4616
4830
  createdAt: string;
@@ -4788,6 +5002,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
4788
5002
  reasonForAccessing?: string | undefined;
4789
5003
  needsGuardianConsent?: boolean | undefined;
4790
5004
  redirectUrl?: string | undefined;
5005
+ frontDoorBoostUri?: string | undefined;
4791
5006
  expiresAt?: string | undefined;
4792
5007
  name: string;
4793
5008
  createdAt: string;
@@ -4907,6 +5122,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
4907
5122
  reasonForAccessing?: string | undefined;
4908
5123
  needsGuardianConsent?: boolean | undefined;
4909
5124
  redirectUrl?: string | undefined;
5125
+ frontDoorBoostUri?: string | undefined;
4910
5126
  expiresAt?: string | undefined;
4911
5127
  name: string;
4912
5128
  createdAt: string;
@@ -5030,6 +5246,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
5030
5246
  reasonForAccessing?: string | undefined;
5031
5247
  needsGuardianConsent?: boolean | undefined;
5032
5248
  redirectUrl?: string | undefined;
5249
+ frontDoorBoostUri?: string | undefined;
5033
5250
  expiresAt?: string | undefined;
5034
5251
  name: string;
5035
5252
  createdAt: string;
@@ -5153,6 +5370,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendSha
5153
5370
  reasonForAccessing?: string | undefined;
5154
5371
  needsGuardianConsent?: boolean | undefined;
5155
5372
  redirectUrl?: string | undefined;
5373
+ frontDoorBoostUri?: string | undefined;
5156
5374
  expiresAt?: string | undefined;
5157
5375
  name: string;
5158
5376
  createdAt: string;
@@ -5427,6 +5645,51 @@ export declare const ConsentFlowDataQueryValidator: z.ZodObject<{
5427
5645
  }>;
5428
5646
  export type ConsentFlowDataQuery = z.infer<typeof ConsentFlowDataQueryValidator>;
5429
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>;
5430
5693
  export declare const ConsentFlowTermsQueryValidator: z.ZodObject<{
5431
5694
  read: z.ZodOptional<z.ZodObject<{
5432
5695
  anonymize: z.ZodOptional<z.ZodBoolean>;
@@ -5561,7 +5824,7 @@ export declare const ConsentFlowTermsQueryValidator: z.ZodObject<{
5561
5824
  }>;
5562
5825
  export type ConsentFlowTermsQuery = z.infer<typeof ConsentFlowTermsQueryValidator>;
5563
5826
  export type ConsentFlowTermsQueryInput = z.input<typeof ConsentFlowTermsQueryValidator>;
5564
- export declare const ConsentFlowTransactionActionValidator: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
5827
+ export declare const ConsentFlowTransactionActionValidator: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
5565
5828
  export type ConsentFlowTransactionAction = z.infer<typeof ConsentFlowTransactionActionValidator>;
5566
5829
  export declare const ConsentFlowTransactionsQueryValidator: z.ZodObject<{
5567
5830
  terms: z.ZodOptional<z.ZodObject<{
@@ -5696,7 +5959,7 @@ export declare const ConsentFlowTransactionsQueryValidator: z.ZodObject<{
5696
5959
  personal?: Record<string, boolean> | undefined;
5697
5960
  } | undefined;
5698
5961
  }>>;
5699
- 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">]>>;
5700
5963
  date: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5701
5964
  $gt: z.ZodString;
5702
5965
  }, "strip", z.ZodTypeAny, {
@@ -5774,7 +6037,7 @@ export declare const ConsentFlowTransactionsQueryValidator: z.ZodObject<{
5774
6037
  personal?: Record<string, boolean> | undefined;
5775
6038
  } | undefined;
5776
6039
  } | undefined;
5777
- action?: "consent" | "update" | "sync" | "withdraw" | ("consent" | "update" | "sync" | "withdraw")[] | undefined;
6040
+ action?: "write" | "consent" | "update" | "sync" | "withdraw" | ("write" | "consent" | "update" | "sync" | "withdraw")[] | undefined;
5778
6041
  }, {
5779
6042
  date?: {
5780
6043
  $gt: string;
@@ -5813,7 +6076,7 @@ export declare const ConsentFlowTransactionsQueryValidator: z.ZodObject<{
5813
6076
  personal?: Record<string, boolean> | undefined;
5814
6077
  } | undefined;
5815
6078
  } | undefined;
5816
- action?: "consent" | "update" | "sync" | "withdraw" | ("consent" | "update" | "sync" | "withdraw")[] | undefined;
6079
+ action?: "write" | "consent" | "update" | "sync" | "withdraw" | ("write" | "consent" | "update" | "sync" | "withdraw")[] | undefined;
5817
6080
  }>;
5818
6081
  export type ConsentFlowTransactionsQuery = z.infer<typeof ConsentFlowTransactionsQueryValidator>;
5819
6082
  export type ConsentFlowTransactionsQueryInput = z.input<typeof ConsentFlowTransactionsQueryValidator>;
@@ -5953,8 +6216,9 @@ export declare const ConsentFlowTransactionValidator: z.ZodObject<{
5953
6216
  } | undefined;
5954
6217
  }>>;
5955
6218
  id: z.ZodString;
5956
- action: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
6219
+ action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
5957
6220
  date: z.ZodString;
6221
+ uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5958
6222
  }, "strip", z.ZodTypeAny, {
5959
6223
  expiresAt?: string | undefined;
5960
6224
  oneTime?: boolean | undefined;
@@ -5980,9 +6244,10 @@ export declare const ConsentFlowTransactionValidator: z.ZodObject<{
5980
6244
  personal: Record<string, boolean>;
5981
6245
  };
5982
6246
  } | undefined;
6247
+ uris?: string[] | undefined;
5983
6248
  date: string;
5984
6249
  id: string;
5985
- action: "consent" | "update" | "sync" | "withdraw";
6250
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
5986
6251
  }, {
5987
6252
  expiresAt?: string | undefined;
5988
6253
  oneTime?: boolean | undefined;
@@ -6008,9 +6273,10 @@ export declare const ConsentFlowTransactionValidator: z.ZodObject<{
6008
6273
  personal?: Record<string, boolean> | undefined;
6009
6274
  } | undefined;
6010
6275
  } | undefined;
6276
+ uris?: string[] | undefined;
6011
6277
  date: string;
6012
6278
  id: string;
6013
- action: "consent" | "update" | "sync" | "withdraw";
6279
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
6014
6280
  }>;
6015
6281
  export type ConsentFlowTransaction = z.infer<typeof ConsentFlowTransactionValidator>;
6016
6282
  export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.extendShape<{
@@ -6153,8 +6419,9 @@ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.ex
6153
6419
  } | undefined;
6154
6420
  }>>;
6155
6421
  id: z.ZodString;
6156
- action: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
6422
+ action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
6157
6423
  date: z.ZodString;
6424
+ uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6158
6425
  }, "strip", z.ZodTypeAny, {
6159
6426
  expiresAt?: string | undefined;
6160
6427
  oneTime?: boolean | undefined;
@@ -6180,9 +6447,10 @@ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.ex
6180
6447
  personal: Record<string, boolean>;
6181
6448
  };
6182
6449
  } | undefined;
6450
+ uris?: string[] | undefined;
6183
6451
  date: string;
6184
6452
  id: string;
6185
- action: "consent" | "update" | "sync" | "withdraw";
6453
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
6186
6454
  }, {
6187
6455
  expiresAt?: string | undefined;
6188
6456
  oneTime?: boolean | undefined;
@@ -6208,9 +6476,10 @@ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.ex
6208
6476
  personal?: Record<string, boolean> | undefined;
6209
6477
  } | undefined;
6210
6478
  } | undefined;
6479
+ uris?: string[] | undefined;
6211
6480
  date: string;
6212
6481
  id: string;
6213
- action: "consent" | "update" | "sync" | "withdraw";
6482
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
6214
6483
  }>, "many">;
6215
6484
  }>, "strip", z.ZodTypeAny, {
6216
6485
  cursor?: string | undefined;
@@ -6240,9 +6509,10 @@ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.ex
6240
6509
  personal: Record<string, boolean>;
6241
6510
  };
6242
6511
  } | undefined;
6512
+ uris?: string[] | undefined;
6243
6513
  date: string;
6244
6514
  id: string;
6245
- action: "consent" | "update" | "sync" | "withdraw";
6515
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
6246
6516
  }[];
6247
6517
  }, {
6248
6518
  cursor?: string | undefined;
@@ -6272,12 +6542,86 @@ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.ex
6272
6542
  personal?: Record<string, boolean> | undefined;
6273
6543
  } | undefined;
6274
6544
  } | undefined;
6545
+ uris?: string[] | undefined;
6275
6546
  date: string;
6276
6547
  id: string;
6277
- action: "consent" | "update" | "sync" | "withdraw";
6548
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
6278
6549
  }[];
6279
6550
  }>;
6280
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>;
6281
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"]>;
6282
6626
  export type LCNNotificationTypeEnum = z.infer<typeof LCNNotificationTypeEnumValidator>;
6283
6627
  export declare const LCNNotificationMessageValidator: z.ZodObject<{
@@ -6430,8 +6774,9 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
6430
6774
  } | undefined;
6431
6775
  }>>;
6432
6776
  id: z.ZodString;
6433
- action: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
6777
+ action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
6434
6778
  date: z.ZodString;
6779
+ uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6435
6780
  }, "strip", z.ZodTypeAny, {
6436
6781
  expiresAt?: string | undefined;
6437
6782
  oneTime?: boolean | undefined;
@@ -6457,9 +6802,10 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
6457
6802
  personal: Record<string, boolean>;
6458
6803
  };
6459
6804
  } | undefined;
6805
+ uris?: string[] | undefined;
6460
6806
  date: string;
6461
6807
  id: string;
6462
- action: "consent" | "update" | "sync" | "withdraw";
6808
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
6463
6809
  }, {
6464
6810
  expiresAt?: string | undefined;
6465
6811
  oneTime?: boolean | undefined;
@@ -6485,9 +6831,10 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
6485
6831
  personal?: Record<string, boolean> | undefined;
6486
6832
  } | undefined;
6487
6833
  } | undefined;
6834
+ uris?: string[] | undefined;
6488
6835
  date: string;
6489
6836
  id: string;
6490
- action: "consent" | "update" | "sync" | "withdraw";
6837
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
6491
6838
  }>>;
6492
6839
  }, "strip", z.ZodTypeAny, {
6493
6840
  vcUris?: string[] | undefined;
@@ -6517,9 +6864,10 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
6517
6864
  personal: Record<string, boolean>;
6518
6865
  };
6519
6866
  } | undefined;
6867
+ uris?: string[] | undefined;
6520
6868
  date: string;
6521
6869
  id: string;
6522
- action: "consent" | "update" | "sync" | "withdraw";
6870
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
6523
6871
  } | undefined;
6524
6872
  }, {
6525
6873
  vcUris?: string[] | undefined;
@@ -6549,9 +6897,10 @@ export declare const LCNNotificationDataValidator: z.ZodObject<{
6549
6897
  personal?: Record<string, boolean> | undefined;
6550
6898
  } | undefined;
6551
6899
  } | undefined;
6900
+ uris?: string[] | undefined;
6552
6901
  date: string;
6553
6902
  id: string;
6554
- action: "consent" | "update" | "sync" | "withdraw";
6903
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
6555
6904
  } | undefined;
6556
6905
  }>;
6557
6906
  export type LCNNotificationData = z.infer<typeof LCNNotificationDataValidator>;
@@ -6930,8 +7279,9 @@ export declare const LCNNotificationValidator: z.ZodObject<{
6930
7279
  } | undefined;
6931
7280
  }>>;
6932
7281
  id: z.ZodString;
6933
- action: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
7282
+ action: z.ZodEnum<["consent", "update", "sync", "withdraw", "write"]>;
6934
7283
  date: z.ZodString;
7284
+ uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6935
7285
  }, "strip", z.ZodTypeAny, {
6936
7286
  expiresAt?: string | undefined;
6937
7287
  oneTime?: boolean | undefined;
@@ -6957,9 +7307,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
6957
7307
  personal: Record<string, boolean>;
6958
7308
  };
6959
7309
  } | undefined;
7310
+ uris?: string[] | undefined;
6960
7311
  date: string;
6961
7312
  id: string;
6962
- action: "consent" | "update" | "sync" | "withdraw";
7313
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
6963
7314
  }, {
6964
7315
  expiresAt?: string | undefined;
6965
7316
  oneTime?: boolean | undefined;
@@ -6985,9 +7336,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
6985
7336
  personal?: Record<string, boolean> | undefined;
6986
7337
  } | undefined;
6987
7338
  } | undefined;
7339
+ uris?: string[] | undefined;
6988
7340
  date: string;
6989
7341
  id: string;
6990
- action: "consent" | "update" | "sync" | "withdraw";
7342
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
6991
7343
  }>>;
6992
7344
  }, "strip", z.ZodTypeAny, {
6993
7345
  vcUris?: string[] | undefined;
@@ -7017,9 +7369,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
7017
7369
  personal: Record<string, boolean>;
7018
7370
  };
7019
7371
  } | undefined;
7372
+ uris?: string[] | undefined;
7020
7373
  date: string;
7021
7374
  id: string;
7022
- action: "consent" | "update" | "sync" | "withdraw";
7375
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
7023
7376
  } | undefined;
7024
7377
  }, {
7025
7378
  vcUris?: string[] | undefined;
@@ -7049,9 +7402,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
7049
7402
  personal?: Record<string, boolean> | undefined;
7050
7403
  } | undefined;
7051
7404
  } | undefined;
7405
+ uris?: string[] | undefined;
7052
7406
  date: string;
7053
7407
  id: string;
7054
- action: "consent" | "update" | "sync" | "withdraw";
7408
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
7055
7409
  } | undefined;
7056
7410
  }>>;
7057
7411
  sent: z.ZodOptional<z.ZodString>;
@@ -7088,9 +7442,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
7088
7442
  personal: Record<string, boolean>;
7089
7443
  };
7090
7444
  } | undefined;
7445
+ uris?: string[] | undefined;
7091
7446
  date: string;
7092
7447
  id: string;
7093
- action: "consent" | "update" | "sync" | "withdraw";
7448
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
7094
7449
  } | undefined;
7095
7450
  } | undefined;
7096
7451
  sent?: string | undefined;
@@ -7188,9 +7543,10 @@ export declare const LCNNotificationValidator: z.ZodObject<{
7188
7543
  personal?: Record<string, boolean> | undefined;
7189
7544
  } | undefined;
7190
7545
  } | undefined;
7546
+ uris?: string[] | undefined;
7191
7547
  date: string;
7192
7548
  id: string;
7193
- action: "consent" | "update" | "sync" | "withdraw";
7549
+ action: "write" | "consent" | "update" | "sync" | "withdraw";
7194
7550
  } | undefined;
7195
7551
  } | undefined;
7196
7552
  sent?: string | undefined;