@learncard/network-brain-client 2.5.24 → 2.5.25

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.
@@ -14066,6 +14066,7 @@ var require_types_cjs_development = __commonJS2({
14066
14066
  AgeRatingValidator: /* @__PURE__ */ __name2(() => AgeRatingValidator, "AgeRatingValidator"),
14067
14067
  AlignmentTargetTypeValidator: /* @__PURE__ */ __name2(() => AlignmentTargetTypeValidator, "AlignmentTargetTypeValidator"),
14068
14068
  AlignmentValidator: /* @__PURE__ */ __name2(() => AlignmentValidator, "AlignmentValidator"),
14069
+ AllowConnectionRequestsEnum: /* @__PURE__ */ __name2(() => AllowConnectionRequestsEnum, "AllowConnectionRequestsEnum"),
14069
14070
  AppBoostValidator: /* @__PURE__ */ __name2(() => AppBoostValidator, "AppBoostValidator"),
14070
14071
  AppEventInputValidator: /* @__PURE__ */ __name2(() => AppEventInputValidator, "AppEventInputValidator"),
14071
14072
  AppEventResponseValidator: /* @__PURE__ */ __name2(() => AppEventResponseValidator, "AppEventResponseValidator"),
@@ -14172,9 +14173,11 @@ var require_types_cjs_development = __commonJS2({
14172
14173
  JWKValidator: /* @__PURE__ */ __name2(() => JWKValidator, "JWKValidator"),
14173
14174
  JWKWithPrivateKeyValidator: /* @__PURE__ */ __name2(() => JWKWithPrivateKeyValidator, "JWKWithPrivateKeyValidator"),
14174
14175
  KnownAchievementTypeValidator: /* @__PURE__ */ __name2(() => KnownAchievementTypeValidator, "KnownAchievementTypeValidator"),
14176
+ LCNAuthedProfileValidator: /* @__PURE__ */ __name2(() => LCNAuthedProfileValidator, "LCNAuthedProfileValidator"),
14175
14177
  LCNBoostClaimLinkOptionsValidator: /* @__PURE__ */ __name2(() => LCNBoostClaimLinkOptionsValidator, "LCNBoostClaimLinkOptionsValidator"),
14176
14178
  LCNBoostClaimLinkSigningAuthorityValidator: /* @__PURE__ */ __name2(() => LCNBoostClaimLinkSigningAuthorityValidator, "LCNBoostClaimLinkSigningAuthorityValidator"),
14177
14179
  LCNBoostStatus: /* @__PURE__ */ __name2(() => LCNBoostStatus, "LCNBoostStatus"),
14180
+ LCNConnectionProfileValidator: /* @__PURE__ */ __name2(() => LCNConnectionProfileValidator, "LCNConnectionProfileValidator"),
14178
14181
  LCNDomainOrOriginValidator: /* @__PURE__ */ __name2(() => LCNDomainOrOriginValidator, "LCNDomainOrOriginValidator"),
14179
14182
  LCNInboxContactMethodValidator: /* @__PURE__ */ __name2(() => LCNInboxContactMethodValidator, "LCNInboxContactMethodValidator"),
14180
14183
  LCNInboxStatusEnumValidator: /* @__PURE__ */ __name2(() => LCNInboxStatusEnumValidator, "LCNInboxStatusEnumValidator"),
@@ -14194,8 +14197,10 @@ var require_types_cjs_development = __commonJS2({
14194
14197
  LCNProfileManagerValidator: /* @__PURE__ */ __name2(() => LCNProfileManagerValidator, "LCNProfileManagerValidator"),
14195
14198
  LCNProfileQueryValidator: /* @__PURE__ */ __name2(() => LCNProfileQueryValidator, "LCNProfileQueryValidator"),
14196
14199
  LCNProfileValidator: /* @__PURE__ */ __name2(() => LCNProfileValidator, "LCNProfileValidator"),
14200
+ LCNPublicProfileValidator: /* @__PURE__ */ __name2(() => LCNPublicProfileValidator, "LCNPublicProfileValidator"),
14197
14201
  LCNSigningAuthorityForUserValidator: /* @__PURE__ */ __name2(() => LCNSigningAuthorityForUserValidator, "LCNSigningAuthorityForUserValidator"),
14198
14202
  LCNSigningAuthorityValidator: /* @__PURE__ */ __name2(() => LCNSigningAuthorityValidator, "LCNSigningAuthorityValidator"),
14203
+ LCNVisibleProfileValidator: /* @__PURE__ */ __name2(() => LCNVisibleProfileValidator, "LCNVisibleProfileValidator"),
14199
14204
  LaunchTypeValidator: /* @__PURE__ */ __name2(() => LaunchTypeValidator, "LaunchTypeValidator"),
14200
14205
  LinkProviderFrameworkInputValidator: /* @__PURE__ */ __name2(() => LinkProviderFrameworkInputValidator, "LinkProviderFrameworkInputValidator"),
14201
14206
  PaginatedAppStoreListingsValidator: /* @__PURE__ */ __name2(() => PaginatedAppStoreListingsValidator, "PaginatedAppStoreListingsValidator"),
@@ -14220,9 +14225,11 @@ var require_types_cjs_development = __commonJS2({
14220
14225
  PaginatedLCNProfilesValidator: /* @__PURE__ */ __name2(() => PaginatedLCNProfilesValidator, "PaginatedLCNProfilesValidator"),
14221
14226
  PaginatedSkillFrameworksValidator: /* @__PURE__ */ __name2(() => PaginatedSkillFrameworksValidator, "PaginatedSkillFrameworksValidator"),
14222
14227
  PaginatedSkillTreeValidator: /* @__PURE__ */ __name2(() => PaginatedSkillTreeValidator, "PaginatedSkillTreeValidator"),
14228
+ PaginatedVisibleLCNProfilesValidator: /* @__PURE__ */ __name2(() => PaginatedVisibleLCNProfilesValidator, "PaginatedVisibleLCNProfilesValidator"),
14223
14229
  PaginationOptionsValidator: /* @__PURE__ */ __name2(() => PaginationOptionsValidator, "PaginationOptionsValidator"),
14224
14230
  PaginationResponseValidator: /* @__PURE__ */ __name2(() => PaginationResponseValidator, "PaginationResponseValidator"),
14225
14231
  ProfileValidator: /* @__PURE__ */ __name2(() => ProfileValidator, "ProfileValidator"),
14232
+ ProfileVisibilityEnum: /* @__PURE__ */ __name2(() => ProfileVisibilityEnum, "ProfileVisibilityEnum"),
14226
14233
  PromotionLevelValidator: /* @__PURE__ */ __name2(() => PromotionLevelValidator, "PromotionLevelValidator"),
14227
14234
  ProofValidator: /* @__PURE__ */ __name2(() => ProofValidator, "ProofValidator"),
14228
14235
  RefreshServiceValidator: /* @__PURE__ */ __name2(() => RefreshServiceValidator, "RefreshServiceValidator"),
@@ -28545,6 +28552,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
28545
28552
  idBackgroundColor: external_exports2.string().optional(),
28546
28553
  repeatIdBackgroundImage: external_exports2.boolean().optional()
28547
28554
  });
28555
+ var ProfileVisibilityEnum = external_exports2.enum(["public", "connections_only", "private"]);
28556
+ var AllowConnectionRequestsEnum = external_exports2.enum(["anyone", "invite_only"]);
28548
28557
  var LCNProfileValidator = external_exports2.object({
28549
28558
  profileId: external_exports2.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
28550
28559
  displayName: external_exports2.string().default("").describe("Human-readable display name for the profile."),
@@ -28552,6 +28561,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
28552
28561
  bio: external_exports2.string().default("").describe("Longer bio for the profile."),
28553
28562
  did: external_exports2.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
28554
28563
  isPrivate: external_exports2.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
28564
+ profileVisibility: ProfileVisibilityEnum.default("public").optional().describe("Profile visibility: 'public', 'connections_only', or 'private'."),
28565
+ showEmail: external_exports2.boolean().default(false).optional().describe("Whether to show email to connections."),
28566
+ allowConnectionRequests: AllowConnectionRequestsEnum.default("anyone").optional().describe("Who can send connection requests: 'anyone' or 'invite_only'."),
28555
28567
  email: external_exports2.string().optional().describe("Contact email address for the profile. (deprecated)"),
28556
28568
  image: external_exports2.string().optional().describe("Profile image URL for the profile."),
28557
28569
  heroImage: external_exports2.string().optional().describe("Hero image URL for the profile."),
@@ -28566,6 +28578,32 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
28566
28578
  country: external_exports2.string().optional().describe("Country for the profile."),
28567
28579
  approved: external_exports2.boolean().optional().describe("Approval status for the profile.")
28568
28580
  });
28581
+ var LCNPublicProfileValidator = LCNProfileValidator.pick({
28582
+ profileId: true,
28583
+ displayName: true,
28584
+ shortBio: true,
28585
+ image: true,
28586
+ heroImage: true,
28587
+ type: true,
28588
+ isServiceProfile: true,
28589
+ display: true
28590
+ });
28591
+ var LCNAuthedProfileValidator = LCNPublicProfileValidator.extend({
28592
+ bio: LCNProfileValidator.shape.bio,
28593
+ websiteLink: LCNProfileValidator.shape.websiteLink,
28594
+ role: LCNProfileValidator.shape.role,
28595
+ highlightedCredentials: LCNProfileValidator.shape.highlightedCredentials,
28596
+ did: LCNProfileValidator.shape.did
28597
+ });
28598
+ var LCNConnectionProfileValidator = LCNAuthedProfileValidator.extend({
28599
+ email: LCNProfileValidator.shape.email
28600
+ });
28601
+ var LCNVisibleProfileValidator = external_exports2.union([
28602
+ LCNConnectionProfileValidator.strict(),
28603
+ LCNAuthedProfileValidator.strict(),
28604
+ LCNPublicProfileValidator.strict(),
28605
+ LCNProfileValidator
28606
+ ]);
28569
28607
  var LCNProfileQueryValidator = external_exports2.object({
28570
28608
  profileId: StringQuery,
28571
28609
  displayName: StringQuery,
@@ -28579,6 +28617,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
28579
28617
  var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
28580
28618
  records: LCNProfileValidator.array()
28581
28619
  });
28620
+ var PaginatedVisibleLCNProfilesValidator = PaginationResponseValidator.extend({
28621
+ records: LCNVisibleProfileValidator.array()
28622
+ });
28582
28623
  var LCNProfileConnectionStatusEnum = external_exports2.enum([
28583
28624
  "CONNECTED",
28584
28625
  "PENDING_REQUEST_SENT",
@@ -28712,7 +28753,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
28712
28753
  records: BoostValidator.array()
28713
28754
  });
28714
28755
  var BoostRecipientValidator = external_exports2.object({
28715
- to: LCNProfileValidator,
28756
+ to: LCNVisibleProfileValidator,
28716
28757
  from: external_exports2.string(),
28717
28758
  received: external_exports2.string().optional(),
28718
28759
  uri: external_exports2.string().optional()
@@ -28721,7 +28762,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
28721
28762
  records: BoostRecipientValidator.array()
28722
28763
  });
28723
28764
  var BoostRecipientWithChildrenValidator = external_exports2.object({
28724
- to: LCNProfileValidator,
28765
+ to: LCNVisibleProfileValidator,
28725
28766
  from: external_exports2.string(),
28726
28767
  received: external_exports2.string().optional(),
28727
28768
  boostUris: external_exports2.array(external_exports2.string()),