@edifice.io/edifice-ent-client 1.0.1-develop.20250605172233 → 1.0.1-develop.20250610172234

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.
package/dist/index.js CHANGED
@@ -10591,24 +10591,8 @@ let Bp = class {
10591
10591
  constructor(e) {
10592
10592
  this.natsClient = e, console.log("Creating events service EntNatsServiceClient");
10593
10593
  }
10594
- async upsertGroupShares(e, r) {
10595
- const n = "share.group.upsert." + r;
10596
- console.debug("Sending request to NATS subject, " + n);
10597
- const a = await ce(this.natsClient.send(n, e));
10598
- if (!a)
10599
- throw new Error("No reply received");
10600
- return JSON.parse(a);
10601
- }
10602
- async removeGroupShares(e, r) {
10603
- const n = "share.group.remove." + r;
10604
- console.debug("Sending request to NATS subject, " + n);
10605
- const a = await ce(this.natsClient.send(n, e));
10606
- if (!a)
10607
- throw new Error("No reply received");
10608
- return JSON.parse(a);
10609
- }
10610
- async findSession(e) {
10611
- const r = "session.find";
10594
+ async addGroupMember(e) {
10595
+ const r = "directory.group.member.add";
10612
10596
  console.debug("Sending request to NATS subject, " + r);
10613
10597
  const n = await ce(this.natsClient.send(r, e));
10614
10598
  if (!n)
@@ -10623,14 +10607,6 @@ let Bp = class {
10623
10607
  throw new Error("No reply received");
10624
10608
  return JSON.parse(n);
10625
10609
  }
10626
- async updateManualGroup(e) {
10627
- const r = "directory.group.manual.update";
10628
- console.debug("Sending request to NATS subject, " + r);
10629
- const n = await ce(this.natsClient.send(r, e));
10630
- if (!n)
10631
- throw new Error("No reply received");
10632
- return JSON.parse(n);
10633
- }
10634
10610
  async deleteManualGroup(e) {
10635
10611
  const r = "directory.group.manual.delete";
10636
10612
  console.debug("Sending request to NATS subject, " + r);
@@ -10639,24 +10615,24 @@ let Bp = class {
10639
10615
  throw new Error("No reply received");
10640
10616
  return JSON.parse(n);
10641
10617
  }
10642
- async addGroupMember(e) {
10643
- const r = "directory.group.member.add";
10644
- console.debug("Sending request to NATS subject, " + r);
10645
- const n = await ce(this.natsClient.send(r, e));
10646
- if (!n)
10618
+ async fetchTranslations(e, r) {
10619
+ const n = "i18n." + r + ".fetch";
10620
+ console.debug("Sending request to NATS subject, " + n);
10621
+ const a = await ce(this.natsClient.send(n, e));
10622
+ if (!a)
10647
10623
  throw new Error("No reply received");
10648
- return JSON.parse(n);
10624
+ return JSON.parse(a);
10649
10625
  }
10650
- async removeGroupMember(e) {
10651
- const r = "directory.group.member.delete";
10626
+ async findGroupByExternalId(e) {
10627
+ const r = "directory.group.find.byexternalid";
10652
10628
  console.debug("Sending request to NATS subject, " + r);
10653
10629
  const n = await ce(this.natsClient.send(r, e));
10654
10630
  if (!n)
10655
10631
  throw new Error("No reply received");
10656
10632
  return JSON.parse(n);
10657
10633
  }
10658
- async findGroupByExternalId(e) {
10659
- const r = "directory.group.find.byexternalid";
10634
+ async findSession(e) {
10635
+ const r = "session.find";
10660
10636
  console.debug("Sending request to NATS subject, " + r);
10661
10637
  const n = await ce(this.natsClient.send(r, e));
10662
10638
  if (!n)
@@ -10679,6 +10655,14 @@ let Bp = class {
10679
10655
  throw new Error("No reply received");
10680
10656
  return JSON.parse(n);
10681
10657
  }
10658
+ async listenOnlyExample(e) {
10659
+ const r = "ent.test.listen.reply";
10660
+ console.debug("Sending request to NATS subject, " + r);
10661
+ const n = await ce(this.natsClient.send(r, e));
10662
+ if (!n)
10663
+ throw new Error("No reply received");
10664
+ return JSON.parse(n);
10665
+ }
10682
10666
  async registerApp(e) {
10683
10667
  const r = "ent.appregistry.app.register";
10684
10668
  console.debug("Sending request to NATS subject, " + r);
@@ -10687,32 +10671,48 @@ let Bp = class {
10687
10671
  throw new Error("No reply received");
10688
10672
  return JSON.parse(n);
10689
10673
  }
10690
- async testApplication(e, r) {
10691
- const n = "ent." + r + ".test";
10674
+ async registerI18nFiles(e, r) {
10675
+ const n = "i18n." + r + ".register";
10692
10676
  console.debug("Sending request to NATS subject, " + n);
10693
10677
  const a = await ce(this.natsClient.send(n, e));
10694
10678
  if (!a)
10695
10679
  throw new Error("No reply received");
10696
10680
  return JSON.parse(a);
10697
10681
  }
10698
- async fetchTranslations(e, r) {
10699
- const n = "i18n." + r + ".fetch";
10682
+ async removeGroupMember(e) {
10683
+ const r = "directory.group.member.delete";
10684
+ console.debug("Sending request to NATS subject, " + r);
10685
+ const n = await ce(this.natsClient.send(r, e));
10686
+ if (!n)
10687
+ throw new Error("No reply received");
10688
+ return JSON.parse(n);
10689
+ }
10690
+ async removeGroupShares(e, r) {
10691
+ const n = "share.group.remove." + r;
10700
10692
  console.debug("Sending request to NATS subject, " + n);
10701
10693
  const a = await ce(this.natsClient.send(n, e));
10702
10694
  if (!a)
10703
10695
  throw new Error("No reply received");
10704
10696
  return JSON.parse(a);
10705
10697
  }
10706
- async registerI18nFiles(e, r) {
10707
- const n = "i18n." + r + ".register";
10698
+ async testApplication(e, r) {
10699
+ const n = "ent." + r + ".test";
10708
10700
  console.debug("Sending request to NATS subject, " + n);
10709
10701
  const a = await ce(this.natsClient.send(n, e));
10710
10702
  if (!a)
10711
10703
  throw new Error("No reply received");
10712
10704
  return JSON.parse(a);
10713
10705
  }
10714
- async getResources(e, r) {
10715
- const n = "resource.get." + r;
10706
+ async updateManualGroup(e) {
10707
+ const r = "directory.group.manual.update";
10708
+ console.debug("Sending request to NATS subject, " + r);
10709
+ const n = await ce(this.natsClient.send(r, e));
10710
+ if (!n)
10711
+ throw new Error("No reply received");
10712
+ return JSON.parse(n);
10713
+ }
10714
+ async upsertGroupShares(e, r) {
10715
+ const n = "share.group.upsert." + r;
10716
10716
  console.debug("Sending request to NATS subject, " + n);
10717
10717
  const a = await ce(this.natsClient.send(n, e));
10718
10718
  if (!a)