@learncard/helpers 1.0.15 → 1.0.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -53,6 +53,8 @@ var require_types_cjs_development = __commonJS({
53
53
  AddressValidator: () => AddressValidator,
54
54
  AlignmentTargetTypeValidator: () => AlignmentTargetTypeValidator,
55
55
  AlignmentValidator: () => AlignmentValidator,
56
+ BoostPermissionsValidator: () => BoostPermissionsValidator,
57
+ BoostQueryValidator: () => BoostQueryValidator,
56
58
  BoostRecipientValidator: () => BoostRecipientValidator,
57
59
  BoostValidator: () => BoostValidator,
58
60
  ConsentFlowContractDataValidator: () => ConsentFlowContractDataValidator,
@@ -3912,6 +3914,14 @@ var require_types_cjs_development = __commonJS({
3912
3914
  status: LCNBoostStatus.optional(),
3913
3915
  autoConnectRecipients: mod.boolean().optional()
3914
3916
  });
3917
+ var BoostQueryValidator = mod.object({
3918
+ uri: mod.string().or(mod.object({ $in: mod.string().array() })),
3919
+ name: mod.string().or(mod.object({ $in: mod.string().array() })),
3920
+ type: mod.string().or(mod.object({ $in: mod.string().array() })),
3921
+ category: mod.string().or(mod.object({ $in: mod.string().array() })),
3922
+ status: LCNBoostStatus.or(mod.object({ $in: LCNBoostStatus.array() })),
3923
+ autoConnectRecipients: mod.boolean()
3924
+ }).partial();
3915
3925
  var PaginatedBoostsValidator = PaginationResponseValidator.extend({
3916
3926
  records: BoostValidator.array()
3917
3927
  });
@@ -3932,6 +3942,19 @@ var require_types_cjs_development = __commonJS({
3932
3942
  ttlSeconds: mod.number().optional(),
3933
3943
  totalUses: mod.number().optional()
3934
3944
  });
3945
+ var BoostPermissionsValidator = mod.object({
3946
+ role: mod.string(),
3947
+ canEdit: mod.boolean(),
3948
+ canIssue: mod.boolean(),
3949
+ canRevoke: mod.boolean(),
3950
+ canManagePermissions: mod.boolean(),
3951
+ canIssueChildren: mod.string(),
3952
+ canCreateChildren: mod.string(),
3953
+ canEditChildren: mod.string(),
3954
+ canRevokeChildren: mod.string(),
3955
+ canManageChildrenPermissions: mod.string(),
3956
+ canViewAnalytics: mod.boolean()
3957
+ });
3935
3958
  var LCNSigningAuthorityValidator = mod.object({
3936
3959
  endpoint: mod.string()
3937
3960
  });