@edifice.io/edifice-ent-client 1.0.1-develop.20250522172231 → 1.0.1-develop.20250604172232
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 +37 -31
- package/dist/index.umd.cjs +2 -2
- package/dist/nats/ent-nats-service.client.d.ts +2 -1
- package/dist/nats/ent-nats-service.client.d.ts.map +1 -1
- package/dist/nats/ent-nats-service.types.d.ts +150 -0
- package/dist/nats/ent-nats-service.types.d.ts.map +1 -1
- package/dist/nats/index.d.ts +2 -0
- package/dist/nats/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5281,7 +5281,7 @@ function jc() {
|
|
|
5281
5281
|
return Ce.pipeFromArray = n, Ce;
|
|
5282
5282
|
}
|
|
5283
5283
|
var pd;
|
|
5284
|
-
function
|
|
5284
|
+
function se() {
|
|
5285
5285
|
if (pd) return dt;
|
|
5286
5286
|
pd = 1, Object.defineProperty(dt, "__esModule", { value: !0 }), dt.Observable = void 0;
|
|
5287
5287
|
var e = Rc(), r = Se(), n = wc(), a = jc(), i = bo(), t = X(), u = Mc(), o = function() {
|
|
@@ -5660,7 +5660,7 @@ function z() {
|
|
|
5660
5660
|
throw new TypeError(R ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
5661
5661
|
};
|
|
5662
5662
|
Object.defineProperty(oe, "__esModule", { value: !0 }), oe.fromReadableStreamLike = oe.fromAsyncIterable = oe.fromIterable = oe.fromPromise = oe.fromArrayLike = oe.fromInteropObservable = oe.innerFrom = void 0;
|
|
5663
|
-
var i = gh(), t = Ph(), u =
|
|
5663
|
+
var i = gh(), t = Ph(), u = se(), o = Rh(), c = wh(), s = jh(), f = qh(), l = Ic(), d = X(), v = Mh(), _ = wc();
|
|
5664
5664
|
function p(M) {
|
|
5665
5665
|
if (M instanceof u.Observable)
|
|
5666
5666
|
return M;
|
|
@@ -6122,7 +6122,7 @@ var Fd;
|
|
|
6122
6122
|
function pr() {
|
|
6123
6123
|
if (Fd) return jt;
|
|
6124
6124
|
Fd = 1, Object.defineProperty(jt, "__esModule", { value: !0 }), jt.timer = void 0;
|
|
6125
|
-
var e =
|
|
6125
|
+
var e = se(), r = pe(), n = Fh(), a = Cc();
|
|
6126
6126
|
function i(t, u, o) {
|
|
6127
6127
|
t === void 0 && (t = 0), o === void 0 && (o = r.async);
|
|
6128
6128
|
var c = -1;
|
|
@@ -6526,7 +6526,7 @@ var Kt = {}, Kd;
|
|
|
6526
6526
|
function HO() {
|
|
6527
6527
|
if (Kd) return Kt;
|
|
6528
6528
|
Kd = 1, Object.defineProperty(Kt, "__esModule", { value: !0 }), Kt.scheduleArray = void 0;
|
|
6529
|
-
var e =
|
|
6529
|
+
var e = se();
|
|
6530
6530
|
function r(n, a) {
|
|
6531
6531
|
return new e.Observable(function(i) {
|
|
6532
6532
|
var t = 0;
|
|
@@ -6541,7 +6541,7 @@ var Qt = {}, Qd;
|
|
|
6541
6541
|
function GO() {
|
|
6542
6542
|
if (Qd) return Qt;
|
|
6543
6543
|
Qd = 1, Object.defineProperty(Qt, "__esModule", { value: !0 }), Qt.scheduleIterable = void 0;
|
|
6544
|
-
var e =
|
|
6544
|
+
var e = se(), r = Ih(), n = X(), a = Me();
|
|
6545
6545
|
function i(t, u) {
|
|
6546
6546
|
return new e.Observable(function(o) {
|
|
6547
6547
|
var c;
|
|
@@ -6567,7 +6567,7 @@ var Zt = {}, Zd;
|
|
|
6567
6567
|
function Dh() {
|
|
6568
6568
|
if (Zd) return Zt;
|
|
6569
6569
|
Zd = 1, Object.defineProperty(Zt, "__esModule", { value: !0 }), Zt.scheduleAsyncIterable = void 0;
|
|
6570
|
-
var e =
|
|
6570
|
+
var e = se(), r = Me();
|
|
6571
6571
|
function n(a, i) {
|
|
6572
6572
|
if (!a)
|
|
6573
6573
|
throw new Error("Iterable cannot be null");
|
|
@@ -6695,7 +6695,7 @@ var iv;
|
|
|
6695
6695
|
function Nh() {
|
|
6696
6696
|
if (iv) return xe;
|
|
6697
6697
|
iv = 1, Object.defineProperty(xe, "__esModule", { value: !0 }), xe.combineLatestInit = xe.combineLatest = void 0;
|
|
6698
|
-
var e =
|
|
6698
|
+
var e = se(), r = kO(), n = ba(), a = fe(), i = Nc(), t = be(), u = YO(), o = x(), c = Me();
|
|
6699
6699
|
function s() {
|
|
6700
6700
|
for (var d = [], v = 0; v < arguments.length; v++)
|
|
6701
6701
|
d[v] = arguments[v];
|
|
@@ -7099,7 +7099,7 @@ function de() {
|
|
|
7099
7099
|
throw new TypeError(f ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
7100
7100
|
};
|
|
7101
7101
|
Object.defineProperty(Le, "__esModule", { value: !0 }), Le.AnonymousSubject = Le.Subject = void 0;
|
|
7102
|
-
var n =
|
|
7102
|
+
var n = se(), a = Se(), i = XO(), t = Te(), u = Mc(), o = function(s) {
|
|
7103
7103
|
e(f, s);
|
|
7104
7104
|
function f() {
|
|
7105
7105
|
var l = s.call(this) || this;
|
|
@@ -7206,7 +7206,7 @@ var On = {}, gv;
|
|
|
7206
7206
|
function eE() {
|
|
7207
7207
|
if (gv) return On;
|
|
7208
7208
|
gv = 1, Object.defineProperty(On, "__esModule", { value: !0 }), On.fromSubscribable = void 0;
|
|
7209
|
-
var e =
|
|
7209
|
+
var e = se();
|
|
7210
7210
|
function r(n) {
|
|
7211
7211
|
return new e.Observable(function(a) {
|
|
7212
7212
|
return n.subscribe(a);
|
|
@@ -7336,7 +7336,7 @@ var Rn = {}, vc = {}, Iv;
|
|
|
7336
7336
|
function Oa() {
|
|
7337
7337
|
return Iv || (Iv = 1, function(e) {
|
|
7338
7338
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.empty = e.EMPTY = void 0;
|
|
7339
|
-
var r =
|
|
7339
|
+
var r = se();
|
|
7340
7340
|
e.EMPTY = new r.Observable(function(i) {
|
|
7341
7341
|
return i.complete();
|
|
7342
7342
|
});
|
|
@@ -7439,7 +7439,7 @@ var Cn = {}, Lv;
|
|
|
7439
7439
|
function aE() {
|
|
7440
7440
|
if (Lv) return Cn;
|
|
7441
7441
|
Lv = 1, Object.defineProperty(Cn, "__esModule", { value: !0 }), Cn.throwError = void 0;
|
|
7442
|
-
var e =
|
|
7442
|
+
var e = se(), r = X();
|
|
7443
7443
|
function n(a, i) {
|
|
7444
7444
|
var t = r.isFunction(a) ? a : function() {
|
|
7445
7445
|
return a;
|
|
@@ -7815,7 +7815,7 @@ var Zn = {}, a_;
|
|
|
7815
7815
|
function bE() {
|
|
7816
7816
|
if (a_) return Zn;
|
|
7817
7817
|
a_ = 1, Object.defineProperty(Zn, "__esModule", { value: !0 }), Zn.groupBy = void 0;
|
|
7818
|
-
var e =
|
|
7818
|
+
var e = se(), r = z(), n = de(), a = q(), i = x();
|
|
7819
7819
|
function t(u, o, c, s) {
|
|
7820
7820
|
return a.operate(function(f, l) {
|
|
7821
7821
|
var d;
|
|
@@ -8151,7 +8151,7 @@ function Bc() {
|
|
|
8151
8151
|
};
|
|
8152
8152
|
}();
|
|
8153
8153
|
Object.defineProperty(li, "__esModule", { value: !0 }), li.ConnectableObservable = void 0;
|
|
8154
|
-
var r =
|
|
8154
|
+
var r = se(), n = Se(), a = ry(), i = x(), t = q(), u = function(o) {
|
|
8155
8155
|
e(c, o);
|
|
8156
8156
|
function c(s, f) {
|
|
8157
8157
|
var l = o.call(this) || this;
|
|
@@ -8207,7 +8207,7 @@ var $e = {}, di = {}, O_;
|
|
|
8207
8207
|
function RE() {
|
|
8208
8208
|
if (O_) return di;
|
|
8209
8209
|
O_ = 1, Object.defineProperty(di, "__esModule", { value: !0 }), di.onErrorResumeNext = void 0;
|
|
8210
|
-
var e =
|
|
8210
|
+
var e = se(), r = hr(), n = x(), a = le(), i = z();
|
|
8211
8211
|
function t() {
|
|
8212
8212
|
for (var u = [], o = 0; o < arguments.length; o++)
|
|
8213
8213
|
u[o] = arguments[o];
|
|
@@ -8533,7 +8533,7 @@ var gi = {}, Pi = {}, ke = {}, C_;
|
|
|
8533
8533
|
function $E() {
|
|
8534
8534
|
if (C_) return ke;
|
|
8535
8535
|
C_ = 1, Object.defineProperty(ke, "__esModule", { value: !0 }), ke.raceInit = ke.race = void 0;
|
|
8536
|
-
var e =
|
|
8536
|
+
var e = se(), r = z(), n = hr(), a = x();
|
|
8537
8537
|
function i() {
|
|
8538
8538
|
for (var u = [], o = 0; o < arguments.length; o++)
|
|
8539
8539
|
u[o] = arguments[o];
|
|
@@ -9620,7 +9620,7 @@ function cy() {
|
|
|
9620
9620
|
return s;
|
|
9621
9621
|
};
|
|
9622
9622
|
Object.defineProperty(sa, "__esModule", { value: !0 }), sa.zip = void 0;
|
|
9623
|
-
var n =
|
|
9623
|
+
var n = se(), a = z(), i = hr(), t = Oa(), u = x(), o = be();
|
|
9624
9624
|
function c() {
|
|
9625
9625
|
for (var s = [], f = 0; f < arguments.length; f++)
|
|
9626
9626
|
s[f] = arguments[f];
|
|
@@ -10529,7 +10529,7 @@ var x1 = {
|
|
|
10529
10529
|
e(this), this.name = "EmptyError", this.message = "no elements in sequence";
|
|
10530
10530
|
};
|
|
10531
10531
|
});
|
|
10532
|
-
function
|
|
10532
|
+
function ce(e, r) {
|
|
10533
10533
|
return new Promise(function(n, a) {
|
|
10534
10534
|
var i = new dy({
|
|
10535
10535
|
next: function(t) {
|
|
@@ -10553,85 +10553,91 @@ let Lp = class {
|
|
|
10553
10553
|
this.natsClient = e, this.application = r, console.log("Creating events service EntNatsServiceClient");
|
|
10554
10554
|
}
|
|
10555
10555
|
async shareGroupUpsertByApplication(e) {
|
|
10556
|
-
const r = this.getSubject(`share.group.upsert.${this.application}`), n = await
|
|
10556
|
+
const r = this.getSubject(`share.group.upsert.${this.application}`), n = await ce(this.natsClient.send(r, e));
|
|
10557
10557
|
if (!n)
|
|
10558
10558
|
throw new Error("No reply received");
|
|
10559
10559
|
return JSON.parse(n);
|
|
10560
10560
|
}
|
|
10561
10561
|
async shareGroupRemoveByApplication(e) {
|
|
10562
|
-
const r = this.getSubject(`share.group.remove.${this.application}`), n = await
|
|
10562
|
+
const r = this.getSubject(`share.group.remove.${this.application}`), n = await ce(this.natsClient.send(r, e));
|
|
10563
10563
|
if (!n)
|
|
10564
10564
|
throw new Error("No reply received");
|
|
10565
10565
|
return JSON.parse(n);
|
|
10566
10566
|
}
|
|
10567
10567
|
async sessionFind(e) {
|
|
10568
|
-
const r = this.getSubject("session.find"), n = await
|
|
10568
|
+
const r = this.getSubject("session.find"), n = await ce(this.natsClient.send(r, e));
|
|
10569
10569
|
if (!n)
|
|
10570
10570
|
throw new Error("No reply received");
|
|
10571
10571
|
return JSON.parse(n);
|
|
10572
10572
|
}
|
|
10573
10573
|
async directoryGroupManualCreate(e) {
|
|
10574
|
-
const r = this.getSubject("directory.group.manual.create"), n = await
|
|
10574
|
+
const r = this.getSubject("directory.group.manual.create"), n = await ce(this.natsClient.send(r, e));
|
|
10575
10575
|
if (!n)
|
|
10576
10576
|
throw new Error("No reply received");
|
|
10577
10577
|
return JSON.parse(n);
|
|
10578
10578
|
}
|
|
10579
10579
|
async directoryGroupManualUpdate(e) {
|
|
10580
|
-
const r = this.getSubject("directory.group.manual.update"), n = await
|
|
10580
|
+
const r = this.getSubject("directory.group.manual.update"), n = await ce(this.natsClient.send(r, e));
|
|
10581
10581
|
if (!n)
|
|
10582
10582
|
throw new Error("No reply received");
|
|
10583
10583
|
return JSON.parse(n);
|
|
10584
10584
|
}
|
|
10585
10585
|
async directoryGroupManualDelete(e) {
|
|
10586
|
-
const r = this.getSubject("directory.group.manual.delete"), n = await
|
|
10586
|
+
const r = this.getSubject("directory.group.manual.delete"), n = await ce(this.natsClient.send(r, e));
|
|
10587
10587
|
if (!n)
|
|
10588
10588
|
throw new Error("No reply received");
|
|
10589
10589
|
return JSON.parse(n);
|
|
10590
10590
|
}
|
|
10591
10591
|
async directoryGroupMemberAdd(e) {
|
|
10592
|
-
const r = this.getSubject("directory.group.member.add"), n = await
|
|
10592
|
+
const r = this.getSubject("directory.group.member.add"), n = await ce(this.natsClient.send(r, e));
|
|
10593
10593
|
if (!n)
|
|
10594
10594
|
throw new Error("No reply received");
|
|
10595
10595
|
return JSON.parse(n);
|
|
10596
10596
|
}
|
|
10597
10597
|
async directoryGroupMemberDelete(e) {
|
|
10598
|
-
const r = this.getSubject("directory.group.member.delete"), n = await
|
|
10598
|
+
const r = this.getSubject("directory.group.member.delete"), n = await ce(this.natsClient.send(r, e));
|
|
10599
10599
|
if (!n)
|
|
10600
10600
|
throw new Error("No reply received");
|
|
10601
10601
|
return JSON.parse(n);
|
|
10602
10602
|
}
|
|
10603
10603
|
async directoryGroupFindByexternalid(e) {
|
|
10604
|
-
const r = this.getSubject("directory.group.find.byexternalid"), n = await
|
|
10604
|
+
const r = this.getSubject("directory.group.find.byexternalid"), n = await ce(this.natsClient.send(r, e));
|
|
10605
10605
|
if (!n)
|
|
10606
10606
|
throw new Error("No reply received");
|
|
10607
10607
|
return JSON.parse(n);
|
|
10608
10608
|
}
|
|
10609
10609
|
async directoryUsersGetDisplaynames(e) {
|
|
10610
|
-
const r = this.getSubject("directory.users.get.displaynames"), n = await
|
|
10610
|
+
const r = this.getSubject("directory.users.get.displaynames"), n = await ce(this.natsClient.send(r, e));
|
|
10611
10611
|
if (!n)
|
|
10612
10612
|
throw new Error("No reply received");
|
|
10613
10613
|
return JSON.parse(n);
|
|
10614
10614
|
}
|
|
10615
10615
|
async entAppregistryAppRegister(e) {
|
|
10616
|
-
const r = this.getSubject("ent.appregistry.app.register"), n = await
|
|
10616
|
+
const r = this.getSubject("ent.appregistry.app.register"), n = await ce(this.natsClient.send(r, e));
|
|
10617
10617
|
if (!n)
|
|
10618
10618
|
throw new Error("No reply received");
|
|
10619
10619
|
return JSON.parse(n);
|
|
10620
10620
|
}
|
|
10621
10621
|
async entByApplicationTest(e) {
|
|
10622
|
-
const r = this.getSubject(`ent.${this.application}.test`), n = await
|
|
10622
|
+
const r = this.getSubject(`ent.${this.application}.test`), n = await ce(this.natsClient.send(r, e));
|
|
10623
10623
|
if (!n)
|
|
10624
10624
|
throw new Error("No reply received");
|
|
10625
10625
|
return JSON.parse(n);
|
|
10626
10626
|
}
|
|
10627
10627
|
async i18nByApplicationFetch(e) {
|
|
10628
|
-
const r = this.getSubject(`i18n.${this.application}.fetch`), n = await
|
|
10628
|
+
const r = this.getSubject(`i18n.${this.application}.fetch`), n = await ce(this.natsClient.send(r, e));
|
|
10629
10629
|
if (!n)
|
|
10630
10630
|
throw new Error("No reply received");
|
|
10631
10631
|
return JSON.parse(n);
|
|
10632
10632
|
}
|
|
10633
10633
|
async i18nByApplicationRegister(e) {
|
|
10634
|
-
const r = this.getSubject(`i18n.${this.application}.register`), n = await
|
|
10634
|
+
const r = this.getSubject(`i18n.${this.application}.register`), n = await ce(this.natsClient.send(r, e));
|
|
10635
|
+
if (!n)
|
|
10636
|
+
throw new Error("No reply received");
|
|
10637
|
+
return JSON.parse(n);
|
|
10638
|
+
}
|
|
10639
|
+
async resourceGetByApplication(e) {
|
|
10640
|
+
const r = this.getSubject(`resource.get.${this.application}`), n = await ce(this.natsClient.send(r, e));
|
|
10635
10641
|
if (!n)
|
|
10636
10642
|
throw new Error("No reply received");
|
|
10637
10643
|
return JSON.parse(n);
|