@learncard/network-brain-client 2.2.30 → 2.2.32

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.
@@ -4008,22 +4008,22 @@ var require_helpers_cjs_development = __commonJS({
4008
4008
  repeatIdBackgroundImage: mod.boolean().optional()
4009
4009
  });
4010
4010
  var LCNProfileValidator = mod.object({
4011
- profileId: mod.string().min(3).max(40),
4012
- displayName: mod.string().default(""),
4013
- shortBio: mod.string().default(""),
4014
- bio: mod.string().default(""),
4015
- did: mod.string(),
4016
- isPrivate: mod.boolean().optional(),
4017
- email: mod.string().optional(),
4018
- image: mod.string().optional(),
4019
- heroImage: mod.string().optional(),
4020
- websiteLink: mod.string().optional(),
4021
- isServiceProfile: mod.boolean().default(false).optional(),
4022
- type: mod.string().optional(),
4023
- notificationsWebhook: mod.string().url().startsWith("http").optional(),
4024
- display: LCNProfileDisplayValidator.optional(),
4025
- role: mod.string().default("").optional(),
4026
- dob: mod.string().default("").optional()
4011
+ profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
4012
+ displayName: mod.string().default("").describe("Human-readable display name for the profile."),
4013
+ shortBio: mod.string().default("").describe("Short bio for the profile."),
4014
+ bio: mod.string().default("").describe("Longer bio for the profile."),
4015
+ did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
4016
+ isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
4017
+ email: mod.string().optional().describe("Contact email address for the profile."),
4018
+ image: mod.string().optional().describe("Profile image URL for the profile."),
4019
+ heroImage: mod.string().optional().describe("Hero image URL for the profile."),
4020
+ websiteLink: mod.string().optional().describe("Website link for the profile."),
4021
+ isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
4022
+ type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
4023
+ notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
4024
+ display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
4025
+ role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
4026
+ dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
4027
4027
  });
4028
4028
  var LCNProfileQueryValidator = mod.object({
4029
4029
  profileId: StringQuery,
@@ -4219,7 +4219,8 @@ var require_helpers_cjs_development = __commonJS({
4219
4219
  createdAt: mod.string(),
4220
4220
  updatedAt: mod.string(),
4221
4221
  expiresAt: mod.string().optional(),
4222
- autoBoosts: mod.string().array().optional()
4222
+ autoBoosts: mod.string().array().optional(),
4223
+ writers: mod.array(LCNProfileValidator).optional()
4223
4224
  });
4224
4225
  var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
4225
4226
  records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
@@ -4260,7 +4261,8 @@ var require_helpers_cjs_development = __commonJS({
4260
4261
  write: mod.object({
4261
4262
  credentials: mod.object({ categories: mod.record(mod.boolean()).default({}) }).default({}),
4262
4263
  personal: mod.record(mod.boolean()).default({})
4263
- }).default({})
4264
+ }).default({}),
4265
+ deniedWriters: mod.array(mod.string()).optional()
4264
4266
  });
4265
4267
  var PaginatedConsentFlowTermsValidator = PaginationResponseValidator.extend({
4266
4268
  records: mod.object({