@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.
package/dist/helpers.esm.js
CHANGED
|
@@ -53,6 +53,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
53
53
|
AddressValidator: () => AddressValidator,
|
|
54
54
|
AlignmentTargetTypeValidator: () => AlignmentTargetTypeValidator,
|
|
55
55
|
AlignmentValidator: () => AlignmentValidator,
|
|
56
|
+
AutoBoostConfigValidator: () => AutoBoostConfigValidator,
|
|
56
57
|
BoostPermissionsQueryValidator: () => BoostPermissionsQueryValidator,
|
|
57
58
|
BoostPermissionsValidator: () => BoostPermissionsValidator,
|
|
58
59
|
BoostQueryValidator: () => BoostQueryValidator,
|
|
@@ -61,10 +62,12 @@ var require_types_cjs_development = __commonJS({
|
|
|
61
62
|
ClaimHookQueryValidator: () => ClaimHookQueryValidator,
|
|
62
63
|
ClaimHookTypeValidator: () => ClaimHookTypeValidator,
|
|
63
64
|
ClaimHookValidator: () => ClaimHookValidator,
|
|
65
|
+
ConsentFlowContractDataForDidValidator: () => ConsentFlowContractDataForDidValidator,
|
|
64
66
|
ConsentFlowContractDataValidator: () => ConsentFlowContractDataValidator,
|
|
65
67
|
ConsentFlowContractDetailsValidator: () => ConsentFlowContractDetailsValidator,
|
|
66
68
|
ConsentFlowContractQueryValidator: () => ConsentFlowContractQueryValidator,
|
|
67
69
|
ConsentFlowContractValidator: () => ConsentFlowContractValidator,
|
|
70
|
+
ConsentFlowDataForDidQueryValidator: () => ConsentFlowDataForDidQueryValidator,
|
|
68
71
|
ConsentFlowDataQueryValidator: () => ConsentFlowDataQueryValidator,
|
|
69
72
|
ConsentFlowTermValidator: () => ConsentFlowTermValidator,
|
|
70
73
|
ConsentFlowTermsQueryValidator: () => ConsentFlowTermsQueryValidator,
|
|
@@ -74,6 +77,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
74
77
|
ConsentFlowTransactionValidator: () => ConsentFlowTransactionValidator,
|
|
75
78
|
ConsentFlowTransactionsQueryValidator: () => ConsentFlowTransactionsQueryValidator,
|
|
76
79
|
ContextValidator: () => ContextValidator,
|
|
80
|
+
ContractCredentialValidator: () => ContractCredentialValidator,
|
|
77
81
|
CredentialInfoValidator: () => CredentialInfoValidator,
|
|
78
82
|
CredentialRecordValidator: () => CredentialRecordValidator,
|
|
79
83
|
CredentialSchemaValidator: () => CredentialSchemaValidator,
|
|
@@ -117,9 +121,11 @@ var require_types_cjs_development = __commonJS({
|
|
|
117
121
|
PaginatedBoostsValidator: () => PaginatedBoostsValidator,
|
|
118
122
|
PaginatedClaimHooksValidator: () => PaginatedClaimHooksValidator,
|
|
119
123
|
PaginatedConsentFlowContractsValidator: () => PaginatedConsentFlowContractsValidator,
|
|
124
|
+
PaginatedConsentFlowDataForDidValidator: () => PaginatedConsentFlowDataForDidValidator,
|
|
120
125
|
PaginatedConsentFlowDataValidator: () => PaginatedConsentFlowDataValidator,
|
|
121
126
|
PaginatedConsentFlowTermsValidator: () => PaginatedConsentFlowTermsValidator,
|
|
122
127
|
PaginatedConsentFlowTransactionsValidator: () => PaginatedConsentFlowTransactionsValidator,
|
|
128
|
+
PaginatedContractCredentialsValidator: () => PaginatedContractCredentialsValidator,
|
|
123
129
|
PaginatedEncryptedCredentialRecordsValidator: () => PaginatedEncryptedCredentialRecordsValidator,
|
|
124
130
|
PaginatedEncryptedRecordsValidator: () => PaginatedEncryptedRecordsValidator,
|
|
125
131
|
PaginatedLCNProfileManagersValidator: () => PaginatedLCNProfileManagersValidator,
|
|
@@ -4107,6 +4113,13 @@ var require_types_cjs_development = __commonJS({
|
|
|
4107
4113
|
did: mod.string()
|
|
4108
4114
|
})
|
|
4109
4115
|
});
|
|
4116
|
+
var AutoBoostConfigValidator = mod.object({
|
|
4117
|
+
boostUri: mod.string(),
|
|
4118
|
+
signingAuthority: mod.object({
|
|
4119
|
+
endpoint: mod.string(),
|
|
4120
|
+
name: mod.string()
|
|
4121
|
+
})
|
|
4122
|
+
});
|
|
4110
4123
|
var ConsentFlowTermsStatusValidator = mod.enum(["live", "stale", "withdrawn"]);
|
|
4111
4124
|
var ConsentFlowContractValidator = mod.object({
|
|
4112
4125
|
read: mod.object({
|
|
@@ -4130,9 +4143,11 @@ var require_types_cjs_development = __commonJS({
|
|
|
4130
4143
|
uri: mod.string(),
|
|
4131
4144
|
needsGuardianConsent: mod.boolean().optional(),
|
|
4132
4145
|
redirectUrl: mod.string().optional(),
|
|
4146
|
+
frontDoorBoostUri: mod.string().optional(),
|
|
4133
4147
|
createdAt: mod.string(),
|
|
4134
4148
|
updatedAt: mod.string(),
|
|
4135
|
-
expiresAt: mod.string().optional()
|
|
4149
|
+
expiresAt: mod.string().optional(),
|
|
4150
|
+
autoBoosts: mod.string().array().optional()
|
|
4136
4151
|
});
|
|
4137
4152
|
var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
|
|
4138
4153
|
records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
|
|
@@ -4145,6 +4160,15 @@ var require_types_cjs_development = __commonJS({
|
|
|
4145
4160
|
var PaginatedConsentFlowDataValidator = PaginationResponseValidator.extend({
|
|
4146
4161
|
records: ConsentFlowContractDataValidator.array()
|
|
4147
4162
|
});
|
|
4163
|
+
var ConsentFlowContractDataForDidValidator = mod.object({
|
|
4164
|
+
credentials: mod.object({ category: mod.string(), uri: mod.string() }).array(),
|
|
4165
|
+
personal: mod.record(mod.string()).default({}),
|
|
4166
|
+
date: mod.string(),
|
|
4167
|
+
contractUri: mod.string()
|
|
4168
|
+
});
|
|
4169
|
+
var PaginatedConsentFlowDataForDidValidator = PaginationResponseValidator.extend({
|
|
4170
|
+
records: ConsentFlowContractDataForDidValidator.array()
|
|
4171
|
+
});
|
|
4148
4172
|
var ConsentFlowTermValidator = mod.object({
|
|
4149
4173
|
sharing: mod.boolean().optional(),
|
|
4150
4174
|
shared: mod.string().array().optional(),
|
|
@@ -4197,6 +4221,11 @@ var require_types_cjs_development = __commonJS({
|
|
|
4197
4221
|
credentials: mod.object({ categories: mod.record(mod.boolean()).optional() }).optional(),
|
|
4198
4222
|
personal: mod.record(mod.boolean()).optional()
|
|
4199
4223
|
});
|
|
4224
|
+
var ConsentFlowDataForDidQueryValidator = mod.object({
|
|
4225
|
+
credentials: mod.object({ categories: mod.record(mod.boolean()).optional() }).optional(),
|
|
4226
|
+
personal: mod.record(mod.boolean()).optional(),
|
|
4227
|
+
id: StringQuery.optional()
|
|
4228
|
+
});
|
|
4200
4229
|
var ConsentFlowTermsQueryValidator = mod.object({
|
|
4201
4230
|
read: mod.object({
|
|
4202
4231
|
anonymize: mod.boolean().optional(),
|
|
@@ -4216,7 +4245,8 @@ var require_types_cjs_development = __commonJS({
|
|
|
4216
4245
|
"consent",
|
|
4217
4246
|
"update",
|
|
4218
4247
|
"sync",
|
|
4219
|
-
"withdraw"
|
|
4248
|
+
"withdraw",
|
|
4249
|
+
"write"
|
|
4220
4250
|
]);
|
|
4221
4251
|
var ConsentFlowTransactionsQueryValidator = mod.object({
|
|
4222
4252
|
terms: ConsentFlowTermsQueryValidator.optional(),
|
|
@@ -4233,11 +4263,23 @@ var require_types_cjs_development = __commonJS({
|
|
|
4233
4263
|
terms: ConsentFlowTermsValidator.optional(),
|
|
4234
4264
|
id: mod.string(),
|
|
4235
4265
|
action: ConsentFlowTransactionActionValidator,
|
|
4236
|
-
date: mod.string()
|
|
4266
|
+
date: mod.string(),
|
|
4267
|
+
uris: mod.string().array().optional()
|
|
4237
4268
|
});
|
|
4238
4269
|
var PaginatedConsentFlowTransactionsValidator = PaginationResponseValidator.extend({
|
|
4239
4270
|
records: ConsentFlowTransactionValidator.array()
|
|
4240
4271
|
});
|
|
4272
|
+
var ContractCredentialValidator = mod.object({
|
|
4273
|
+
credentialUri: mod.string(),
|
|
4274
|
+
termsUri: mod.string(),
|
|
4275
|
+
contractUri: mod.string(),
|
|
4276
|
+
boostUri: mod.string(),
|
|
4277
|
+
category: mod.string().optional(),
|
|
4278
|
+
date: mod.string()
|
|
4279
|
+
});
|
|
4280
|
+
var PaginatedContractCredentialsValidator = PaginationResponseValidator.extend({
|
|
4281
|
+
records: ContractCredentialValidator.array()
|
|
4282
|
+
});
|
|
4241
4283
|
var LCNNotificationTypeEnumValidator = mod.enum([
|
|
4242
4284
|
"CONNECTION_REQUEST",
|
|
4243
4285
|
"CONNECTION_ACCEPTED",
|