@learncard/helpers 1.0.15 → 1.0.17
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,8 @@ var require_types_cjs_development = __commonJS({
|
|
58
58
|
AddressValidator: () => AddressValidator,
|
59
59
|
AlignmentTargetTypeValidator: () => AlignmentTargetTypeValidator,
|
60
60
|
AlignmentValidator: () => AlignmentValidator,
|
61
|
+
BoostPermissionsValidator: () => BoostPermissionsValidator,
|
62
|
+
BoostQueryValidator: () => BoostQueryValidator,
|
61
63
|
BoostRecipientValidator: () => BoostRecipientValidator,
|
62
64
|
BoostValidator: () => BoostValidator,
|
63
65
|
ConsentFlowContractDataValidator: () => ConsentFlowContractDataValidator,
|
@@ -3917,6 +3919,14 @@ var require_types_cjs_development = __commonJS({
|
|
3917
3919
|
status: LCNBoostStatus.optional(),
|
3918
3920
|
autoConnectRecipients: mod.boolean().optional()
|
3919
3921
|
});
|
3922
|
+
var BoostQueryValidator = mod.object({
|
3923
|
+
uri: mod.string().or(mod.object({ $in: mod.string().array() })),
|
3924
|
+
name: mod.string().or(mod.object({ $in: mod.string().array() })),
|
3925
|
+
type: mod.string().or(mod.object({ $in: mod.string().array() })),
|
3926
|
+
category: mod.string().or(mod.object({ $in: mod.string().array() })),
|
3927
|
+
status: LCNBoostStatus.or(mod.object({ $in: LCNBoostStatus.array() })),
|
3928
|
+
autoConnectRecipients: mod.boolean()
|
3929
|
+
}).partial();
|
3920
3930
|
var PaginatedBoostsValidator = PaginationResponseValidator.extend({
|
3921
3931
|
records: BoostValidator.array()
|
3922
3932
|
});
|
@@ -3937,6 +3947,19 @@ var require_types_cjs_development = __commonJS({
|
|
3937
3947
|
ttlSeconds: mod.number().optional(),
|
3938
3948
|
totalUses: mod.number().optional()
|
3939
3949
|
});
|
3950
|
+
var BoostPermissionsValidator = mod.object({
|
3951
|
+
role: mod.string(),
|
3952
|
+
canEdit: mod.boolean(),
|
3953
|
+
canIssue: mod.boolean(),
|
3954
|
+
canRevoke: mod.boolean(),
|
3955
|
+
canManagePermissions: mod.boolean(),
|
3956
|
+
canIssueChildren: mod.string(),
|
3957
|
+
canCreateChildren: mod.string(),
|
3958
|
+
canEditChildren: mod.string(),
|
3959
|
+
canRevokeChildren: mod.string(),
|
3960
|
+
canManageChildrenPermissions: mod.string(),
|
3961
|
+
canViewAnalytics: mod.boolean()
|
3962
|
+
});
|
3940
3963
|
var LCNSigningAuthorityValidator = mod.object({
|
3941
3964
|
endpoint: mod.string()
|
3942
3965
|
});
|