@learncard/network-plugin 1.5.5 → 1.5.7

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.
@@ -4524,6 +4524,9 @@ var LCNProfileValidator = mod.object({
4524
4524
  isServiceProfile: mod.boolean().default(false).optional(),
4525
4525
  notificationsWebhook: mod.string().url().startsWith("https://").optional()
4526
4526
  });
4527
+ var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
4528
+ records: LCNProfileValidator.array()
4529
+ });
4527
4530
  var LCNProfileConnectionStatusEnum = mod.enum([
4528
4531
  "CONNECTED",
4529
4532
  "PENDING_REQUEST_SENT",
@@ -4543,7 +4546,8 @@ var BoostValidator = mod.object({
4543
4546
  name: mod.string().optional(),
4544
4547
  type: mod.string().optional(),
4545
4548
  category: mod.string().optional(),
4546
- status: LCNBoostStatus.optional()
4549
+ status: LCNBoostStatus.optional(),
4550
+ autoConnectRecipients: mod.boolean().optional()
4547
4551
  });
4548
4552
  var BoostRecipientValidator = mod.object({
4549
4553
  to: LCNProfileValidator,
@@ -4887,6 +4891,21 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
4887
4891
  updates: { credential, ...updates }
4888
4892
  });
4889
4893
  },
4894
+ getBoostAdmins: async (_learnCard, uri, options = {}) => {
4895
+ if (!userData)
4896
+ throw new Error("Please make an account first!");
4897
+ return client.boost.getBoostAdmins.query({ uri, ...options });
4898
+ },
4899
+ addBoostAdmin: async (_learnCard, uri, profileId) => {
4900
+ if (!userData)
4901
+ throw new Error("Please make an account first!");
4902
+ return client.boost.addBoostAdmin.mutate({ uri, profileId });
4903
+ },
4904
+ removeBoostAdmin: async (_learnCard, uri, profileId) => {
4905
+ if (!userData)
4906
+ throw new Error("Please make an account first!");
4907
+ return client.boost.removeBoostAdmin.mutate({ uri, profileId });
4908
+ },
4890
4909
  deleteBoost: async (_learnCard, uri) => {
4891
4910
  if (!userData)
4892
4911
  throw new Error("Please make an account first!");