@learncard/helpers 1.1.8 → 1.1.10
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.
@@ -58,6 +58,7 @@ var require_types_cjs_development = __commonJS({
|
|
58
58
|
AddressValidator: () => AddressValidator,
|
59
59
|
AlignmentTargetTypeValidator: () => AlignmentTargetTypeValidator,
|
60
60
|
AlignmentValidator: () => AlignmentValidator,
|
61
|
+
AutoBoostConfigValidator: () => AutoBoostConfigValidator,
|
61
62
|
BoostPermissionsQueryValidator: () => BoostPermissionsQueryValidator,
|
62
63
|
BoostPermissionsValidator: () => BoostPermissionsValidator,
|
63
64
|
BoostQueryValidator: () => BoostQueryValidator,
|
@@ -66,10 +67,12 @@ var require_types_cjs_development = __commonJS({
|
|
66
67
|
ClaimHookQueryValidator: () => ClaimHookQueryValidator,
|
67
68
|
ClaimHookTypeValidator: () => ClaimHookTypeValidator,
|
68
69
|
ClaimHookValidator: () => ClaimHookValidator,
|
70
|
+
ConsentFlowContractDataForDidValidator: () => ConsentFlowContractDataForDidValidator,
|
69
71
|
ConsentFlowContractDataValidator: () => ConsentFlowContractDataValidator,
|
70
72
|
ConsentFlowContractDetailsValidator: () => ConsentFlowContractDetailsValidator,
|
71
73
|
ConsentFlowContractQueryValidator: () => ConsentFlowContractQueryValidator,
|
72
74
|
ConsentFlowContractValidator: () => ConsentFlowContractValidator,
|
75
|
+
ConsentFlowDataForDidQueryValidator: () => ConsentFlowDataForDidQueryValidator,
|
73
76
|
ConsentFlowDataQueryValidator: () => ConsentFlowDataQueryValidator,
|
74
77
|
ConsentFlowTermValidator: () => ConsentFlowTermValidator,
|
75
78
|
ConsentFlowTermsQueryValidator: () => ConsentFlowTermsQueryValidator,
|
@@ -79,6 +82,7 @@ var require_types_cjs_development = __commonJS({
|
|
79
82
|
ConsentFlowTransactionValidator: () => ConsentFlowTransactionValidator,
|
80
83
|
ConsentFlowTransactionsQueryValidator: () => ConsentFlowTransactionsQueryValidator,
|
81
84
|
ContextValidator: () => ContextValidator,
|
85
|
+
ContractCredentialValidator: () => ContractCredentialValidator,
|
82
86
|
CredentialInfoValidator: () => CredentialInfoValidator,
|
83
87
|
CredentialRecordValidator: () => CredentialRecordValidator,
|
84
88
|
CredentialSchemaValidator: () => CredentialSchemaValidator,
|
@@ -122,9 +126,11 @@ var require_types_cjs_development = __commonJS({
|
|
122
126
|
PaginatedBoostsValidator: () => PaginatedBoostsValidator,
|
123
127
|
PaginatedClaimHooksValidator: () => PaginatedClaimHooksValidator,
|
124
128
|
PaginatedConsentFlowContractsValidator: () => PaginatedConsentFlowContractsValidator,
|
129
|
+
PaginatedConsentFlowDataForDidValidator: () => PaginatedConsentFlowDataForDidValidator,
|
125
130
|
PaginatedConsentFlowDataValidator: () => PaginatedConsentFlowDataValidator,
|
126
131
|
PaginatedConsentFlowTermsValidator: () => PaginatedConsentFlowTermsValidator,
|
127
132
|
PaginatedConsentFlowTransactionsValidator: () => PaginatedConsentFlowTransactionsValidator,
|
133
|
+
PaginatedContractCredentialsValidator: () => PaginatedContractCredentialsValidator,
|
128
134
|
PaginatedEncryptedCredentialRecordsValidator: () => PaginatedEncryptedCredentialRecordsValidator,
|
129
135
|
PaginatedEncryptedRecordsValidator: () => PaginatedEncryptedRecordsValidator,
|
130
136
|
PaginatedLCNProfileManagersValidator: () => PaginatedLCNProfileManagersValidator,
|
@@ -4112,6 +4118,13 @@ var require_types_cjs_development = __commonJS({
|
|
4112
4118
|
did: mod.string()
|
4113
4119
|
})
|
4114
4120
|
});
|
4121
|
+
var AutoBoostConfigValidator = mod.object({
|
4122
|
+
boostUri: mod.string(),
|
4123
|
+
signingAuthority: mod.object({
|
4124
|
+
endpoint: mod.string(),
|
4125
|
+
name: mod.string()
|
4126
|
+
})
|
4127
|
+
});
|
4115
4128
|
var ConsentFlowTermsStatusValidator = mod.enum(["live", "stale", "withdrawn"]);
|
4116
4129
|
var ConsentFlowContractValidator = mod.object({
|
4117
4130
|
read: mod.object({
|
@@ -4135,9 +4148,11 @@ var require_types_cjs_development = __commonJS({
|
|
4135
4148
|
uri: mod.string(),
|
4136
4149
|
needsGuardianConsent: mod.boolean().optional(),
|
4137
4150
|
redirectUrl: mod.string().optional(),
|
4151
|
+
frontDoorBoostUri: mod.string().optional(),
|
4138
4152
|
createdAt: mod.string(),
|
4139
4153
|
updatedAt: mod.string(),
|
4140
|
-
expiresAt: mod.string().optional()
|
4154
|
+
expiresAt: mod.string().optional(),
|
4155
|
+
autoBoosts: mod.string().array().optional()
|
4141
4156
|
});
|
4142
4157
|
var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
|
4143
4158
|
records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
|
@@ -4150,6 +4165,15 @@ var require_types_cjs_development = __commonJS({
|
|
4150
4165
|
var PaginatedConsentFlowDataValidator = PaginationResponseValidator.extend({
|
4151
4166
|
records: ConsentFlowContractDataValidator.array()
|
4152
4167
|
});
|
4168
|
+
var ConsentFlowContractDataForDidValidator = mod.object({
|
4169
|
+
credentials: mod.object({ category: mod.string(), uri: mod.string() }).array(),
|
4170
|
+
personal: mod.record(mod.string()).default({}),
|
4171
|
+
date: mod.string(),
|
4172
|
+
contractUri: mod.string()
|
4173
|
+
});
|
4174
|
+
var PaginatedConsentFlowDataForDidValidator = PaginationResponseValidator.extend({
|
4175
|
+
records: ConsentFlowContractDataForDidValidator.array()
|
4176
|
+
});
|
4153
4177
|
var ConsentFlowTermValidator = mod.object({
|
4154
4178
|
sharing: mod.boolean().optional(),
|
4155
4179
|
shared: mod.string().array().optional(),
|
@@ -4202,6 +4226,11 @@ var require_types_cjs_development = __commonJS({
|
|
4202
4226
|
credentials: mod.object({ categories: mod.record(mod.boolean()).optional() }).optional(),
|
4203
4227
|
personal: mod.record(mod.boolean()).optional()
|
4204
4228
|
});
|
4229
|
+
var ConsentFlowDataForDidQueryValidator = mod.object({
|
4230
|
+
credentials: mod.object({ categories: mod.record(mod.boolean()).optional() }).optional(),
|
4231
|
+
personal: mod.record(mod.boolean()).optional(),
|
4232
|
+
id: StringQuery.optional()
|
4233
|
+
});
|
4205
4234
|
var ConsentFlowTermsQueryValidator = mod.object({
|
4206
4235
|
read: mod.object({
|
4207
4236
|
anonymize: mod.boolean().optional(),
|
@@ -4221,7 +4250,8 @@ var require_types_cjs_development = __commonJS({
|
|
4221
4250
|
"consent",
|
4222
4251
|
"update",
|
4223
4252
|
"sync",
|
4224
|
-
"withdraw"
|
4253
|
+
"withdraw",
|
4254
|
+
"write"
|
4225
4255
|
]);
|
4226
4256
|
var ConsentFlowTransactionsQueryValidator = mod.object({
|
4227
4257
|
terms: ConsentFlowTermsQueryValidator.optional(),
|
@@ -4238,11 +4268,23 @@ var require_types_cjs_development = __commonJS({
|
|
4238
4268
|
terms: ConsentFlowTermsValidator.optional(),
|
4239
4269
|
id: mod.string(),
|
4240
4270
|
action: ConsentFlowTransactionActionValidator,
|
4241
|
-
date: mod.string()
|
4271
|
+
date: mod.string(),
|
4272
|
+
uris: mod.string().array().optional()
|
4242
4273
|
});
|
4243
4274
|
var PaginatedConsentFlowTransactionsValidator = PaginationResponseValidator.extend({
|
4244
4275
|
records: ConsentFlowTransactionValidator.array()
|
4245
4276
|
});
|
4277
|
+
var ContractCredentialValidator = mod.object({
|
4278
|
+
credentialUri: mod.string(),
|
4279
|
+
termsUri: mod.string(),
|
4280
|
+
contractUri: mod.string(),
|
4281
|
+
boostUri: mod.string(),
|
4282
|
+
category: mod.string().optional(),
|
4283
|
+
date: mod.string()
|
4284
|
+
});
|
4285
|
+
var PaginatedContractCredentialsValidator = PaginationResponseValidator.extend({
|
4286
|
+
records: ContractCredentialValidator.array()
|
4287
|
+
});
|
4246
4288
|
var LCNNotificationTypeEnumValidator = mod.enum([
|
4247
4289
|
"CONNECTION_REQUEST",
|
4248
4290
|
"CONNECTION_ACCEPTED",
|