@milaboratories/pl-client 2.5.10 → 2.6.0

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.mjs CHANGED
@@ -1,23 +1,23 @@
1
- var Di = Object.defineProperty;
2
- var Oi = (o, e, t) => e in o ? Di(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
- var y = (o, e, t) => Oi(o, typeof e != "symbol" ? e + "" : e, t);
4
- import { notEmpty as T, Aborted as si, assertNever as oi, createRetryState as ai, nextRetryStateOrError as li } from "@milaboratories/ts-helpers";
5
- import { ServiceType as Ki, stackIntercept as k } from "@protobuf-ts/runtime-rpc";
6
- import { MessageType as h, PbLong as W, typeofJsonValue as bn, reflectionMergePartial as p, UnknownFieldHandler as u, WireType as c, jsonWriteOptions as qi, isJsonObject as En } from "@protobuf-ts/runtime";
1
+ var Oi = Object.defineProperty;
2
+ var Ki = (o, e, t) => e in o ? Oi(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
+ var y = (o, e, t) => Ki(o, typeof e != "symbol" ? e + "" : e, t);
4
+ import { notEmpty as R, Aborted as oi, assertNever as ai, createRetryState as li, nextRetryStateOrError as ci } from "@milaboratories/ts-helpers";
5
+ import { ServiceType as qi, stackIntercept as k } from "@protobuf-ts/runtime-rpc";
6
+ import { MessageType as h, PbLong as W, typeofJsonValue as bn, reflectionMergePartial as p, UnknownFieldHandler as u, WireType as c, jsonWriteOptions as Vi, isJsonObject as En } from "@protobuf-ts/runtime";
7
7
  import { ChannelCredentials as Sn, InterceptingCall as Cn, status as Dn } from "@grpc/grpc-js";
8
- import { GrpcTransport as Vi } from "@protobuf-ts/grpc-transport";
9
- import vi from "denque";
10
- import { ProxyAgent as ji, Agent as Mi } from "undici";
11
- import { Resolver as Gi } from "node:dns/promises";
12
- import Ji from "cacheable-lookup";
13
- import { createHash as ci, randomUUID as ui } from "node:crypto";
8
+ import { GrpcTransport as vi } from "@protobuf-ts/grpc-transport";
9
+ import ji from "denque";
10
+ import { ProxyAgent as Mi, Agent as Gi } from "undici";
11
+ import { Resolver as Ji } from "node:dns/promises";
12
+ import zi from "cacheable-lookup";
13
+ import { createHash as ui, randomUUID as di } from "node:crypto";
14
14
  import * as pn from "node:timers/promises";
15
- import { LRUCache as zi } from "lru-cache";
15
+ import { LRUCache as Hi } from "lru-cache";
16
16
  import * as F from "node:fs";
17
17
  import U from "node:fs";
18
- import Hi from "canonicalize";
19
- import Yi from "yaml";
20
- import * as di from "node:os";
18
+ import Yi from "canonicalize";
19
+ import Zi from "yaml";
20
+ import * as fi from "node:os";
21
21
  import * as wn from "node:path";
22
22
  const E = 0n;
23
23
  function x(o) {
@@ -30,16 +30,16 @@ function yn(o) {
30
30
  if (!S(o)) throw new Error("null resource id");
31
31
  return o;
32
32
  }
33
- function Cu(o) {
33
+ function Du(o) {
34
34
  return o !== 0n;
35
35
  }
36
- function Du(o, e) {
36
+ function Ou(o, e) {
37
37
  return { name: o, version: e };
38
38
  }
39
- function Ou(o) {
39
+ function Ku(o) {
40
40
  return `${o.name}:${o.version}`;
41
41
  }
42
- function Ku(o, e) {
42
+ function qu(o, e) {
43
43
  return o.name === e.name && o.version === e.version;
44
44
  }
45
45
  function On(o) {
@@ -68,57 +68,57 @@ function On(o) {
68
68
  final: f
69
69
  };
70
70
  }
71
- const qu = (o) => Buffer.from(JSON.stringify(o)), Vu = (o) => JSON.parse(T(o.data).toString());
71
+ const Vu = (o) => Buffer.from(JSON.stringify(o)), vu = (o) => JSON.parse(R(o.data).toString());
72
72
  function Kn(o, e) {
73
- return T(o.fields.find((t) => t.name === e));
73
+ return R(o.fields.find((t) => t.name === e));
74
74
  }
75
- const Tn = 1n << 63n, fi = 1n << 62n, Zi = 0x3fffffffffffffffn, hi = 24n, pi = 16777215, Rn = 4294967295, Xi = BigInt(Rn), Qi = BigInt(pi);
75
+ const Tn = 1n << 63n, hi = 1n << 62n, Xi = 0x3fffffffffffffffn, pi = 24n, yi = 16777215, Rn = 4294967295, Qi = BigInt(Rn), er = BigInt(yi);
76
76
  function qn(o) {
77
77
  return (o & Tn) !== 0n;
78
78
  }
79
79
  function K(o) {
80
- return (o & fi) !== 0n;
80
+ return (o & hi) !== 0n;
81
81
  }
82
- function yi(o, e, t) {
83
- if (e > pi || t > Rn || e < 0 || t <= 0)
82
+ function gi(o, e, t) {
83
+ if (e > yi || t > Rn || e < 0 || t <= 0)
84
84
  throw Error("wrong local id or tx id");
85
- return (o ? Tn : 0n) | fi | BigInt(e) | BigInt(t) << hi;
85
+ return (o ? Tn : 0n) | hi | BigInt(e) | BigInt(t) << pi;
86
86
  }
87
- function er(o, e) {
87
+ function tr(o, e) {
88
88
  return (o ? Tn : 0n) | e;
89
89
  }
90
- function gi(o) {
91
- return Number(o >> hi & Xi);
90
+ function mi(o) {
91
+ return Number(o >> pi & Qi);
92
92
  }
93
- function vu(o, e) {
94
- if (K(o) && gi(o) !== e)
93
+ function ju(o, e) {
94
+ if (K(o) && mi(o) !== e)
95
95
  throw Error(
96
96
  "local id from another transaction, globalize id before leaking it from the transaction"
97
97
  );
98
98
  }
99
99
  function he(o) {
100
- return x(o) ? "XX:0x0" : K(o) ? (qn(o) ? "R" : "N") + "L:0x" + (Qi & o).toString(16) + "[0x" + gi(o).toString(16) + "]" : (qn(o) ? "R" : "N") + "G:0x" + (Zi & o).toString(16);
100
+ return x(o) ? "XX:0x0" : K(o) ? (qn(o) ? "R" : "N") + "L:0x" + (er & o).toString(16) + "[0x" + mi(o).toString(16) + "]" : (qn(o) ? "R" : "N") + "G:0x" + (Xi & o).toString(16);
101
101
  }
102
- const tr = /^(?:(?<xx>XX)|(?<rn>[XRN])(?<lg>[XLG])):0x(?<rid>[0-9a-fA-F]+)(?:\[0x(?<txid>[0-9a-fA-F]+)])?$/;
103
- function ju(o) {
104
- const e = o.match(tr);
102
+ const nr = /^(?:(?<xx>XX)|(?<rn>[XRN])(?<lg>[XLG])):0x(?<rid>[0-9a-fA-F]+)(?:\[0x(?<txid>[0-9a-fA-F]+)])?$/;
103
+ function Mu(o) {
104
+ const e = o.match(nr);
105
105
  if (e === null) return;
106
106
  const { xx: t, rn: i, lg: n, rid: r, txid: d } = e.groups;
107
- return t ? E : n === "L" ? yi(i === "R", Number.parseInt(r, 16), Number.parseInt(d, 16)) : er(i === "R", BigInt("0x" + r));
107
+ return t ? E : n === "L" ? gi(i === "R", Number.parseInt(r, 16), Number.parseInt(d, 16)) : tr(i === "R", BigInt("0x" + r));
108
108
  }
109
- function Mu(o) {
109
+ function Gu(o) {
110
110
  if (K(o))
111
111
  throw new Error(`Local resource id: ${he(o)}`);
112
112
  if (x(o)) throw new Error("Null resource id.");
113
113
  return o;
114
114
  }
115
- function Gu(o) {
115
+ function Ju(o) {
116
116
  return JSON.stringify(
117
117
  o,
118
118
  (e, t) => typeof t == "bigint" ? he(t) : t
119
119
  );
120
120
  }
121
- class nr extends h {
121
+ class ir extends h {
122
122
  constructor() {
123
123
  super("google.protobuf.Duration", [
124
124
  {
@@ -204,9 +204,9 @@ class nr extends h {
204
204
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
205
205
  }
206
206
  }
207
- const R = new nr();
207
+ const I = new ir();
208
208
  var b = /* @__PURE__ */ ((o) => (o[o.INVALID = 0] = "INVALID", o[o.INPUT = 1] = "INPUT", o[o.OUTPUT = 2] = "OUTPUT", o[o.SERVICE = 6] = "SERVICE", o[o.ONE_TIME_WRITABLE = 4] = "ONE_TIME_WRITABLE", o[o.DYNAMIC = 3] = "DYNAMIC", o[o.MULTIPLE_TIMES_WRITABLE = 5] = "MULTIPLE_TIMES_WRITABLE", o))(b || {});
209
- class ir extends h {
209
+ class rr extends h {
210
210
  constructor() {
211
211
  super("MiLaboratories.PL.Base.ResourceType", [
212
212
  {
@@ -258,8 +258,8 @@ class ir extends h {
258
258
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
259
259
  }
260
260
  }
261
- const g = new ir();
262
- class rr extends h {
261
+ const g = new rr();
262
+ class sr extends h {
263
263
  constructor() {
264
264
  super("MiLaboratories.PL.Base.FieldRef", [
265
265
  {
@@ -312,8 +312,8 @@ class rr extends h {
312
312
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
313
313
  }
314
314
  }
315
- const m = new rr();
316
- class sr extends h {
315
+ const m = new sr();
316
+ class or extends h {
317
317
  constructor() {
318
318
  super("MiLaboratories.PL.RTypes.Number", [
319
319
  {
@@ -435,8 +435,8 @@ class sr extends h {
435
435
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
436
436
  }
437
437
  }
438
- new sr();
439
- class or extends h {
438
+ new or();
439
+ class ar extends h {
440
440
  constructor() {
441
441
  super("MiLaboratories.PL.RTypes.ControllerSettings", [
442
442
  {
@@ -477,8 +477,8 @@ class or extends h {
477
477
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
478
478
  }
479
479
  }
480
- new or();
481
- class ar extends h {
480
+ new ar();
481
+ class lr extends h {
482
482
  constructor() {
483
483
  super("MiLaboratories.PL.RTypes.SubscriptionSettings", [
484
484
  {
@@ -531,8 +531,8 @@ class ar extends h {
531
531
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
532
532
  }
533
533
  }
534
- new ar();
535
- class lr extends h {
534
+ new lr();
535
+ class cr extends h {
536
536
  constructor() {
537
537
  super("MiLaboratories.PL.RTypes.NotificationFilter", [
538
538
  { no: 1, name: "resource_type", kind: "message", oneof: "resourceFilter", T: () => g },
@@ -596,8 +596,8 @@ class lr extends h {
596
596
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
597
597
  }
598
598
  }
599
- const P = new lr();
600
- class cr extends h {
599
+ const _ = new cr();
600
+ class ur extends h {
601
601
  constructor() {
602
602
  super("MiLaboratories.PL.RTypes.NotificationFilter.EventFilter", [
603
603
  {
@@ -819,8 +819,8 @@ class cr extends h {
819
819
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
820
820
  }
821
821
  }
822
- const ge = new cr();
823
- class ur extends h {
822
+ const ge = new ur();
823
+ class dr extends h {
824
824
  constructor() {
825
825
  super("MiLaboratories.PL.RTypes.NotificationFilter.Payload", [
826
826
  { no: 1, name: "values", kind: "map", K: 9, V: {
@@ -877,8 +877,8 @@ class ur extends h {
877
877
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
878
878
  }
879
879
  }
880
- const q = new ur();
881
- class dr extends h {
880
+ const q = new dr();
881
+ class fr extends h {
882
882
  constructor() {
883
883
  super("google.protobuf.Timestamp", [
884
884
  {
@@ -985,9 +985,9 @@ class dr extends h {
985
985
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
986
986
  }
987
987
  }
988
- const C = new dr();
988
+ const C = new fr();
989
989
  var ue = /* @__PURE__ */ ((o) => (o[o.INVALID = 0] = "INVALID", o[o.STRUCTURAL = 1] = "STRUCTURAL", o[o.VALUE = 2] = "VALUE", o))(ue || {}), J = /* @__PURE__ */ ((o) => (o[o.INVALID = 0] = "INVALID", o[o.EMPTY = 1] = "EMPTY", o[o.ASSIGNED = 2] = "ASSIGNED", o[o.RESOLVED = 3] = "RESOLVED", o))(J || {});
990
- class fr extends h {
990
+ class hr extends h {
991
991
  constructor() {
992
992
  super("MiLaboratories.PL.API.Tx", [
993
993
  {
@@ -1040,8 +1040,8 @@ class fr extends h {
1040
1040
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
1041
1041
  }
1042
1042
  }
1043
- const me = new fr();
1044
- class hr extends h {
1043
+ const me = new hr();
1044
+ class pr extends h {
1045
1045
  constructor() {
1046
1046
  super("MiLaboratories.PL.API.Resource", [
1047
1047
  {
@@ -1061,7 +1061,7 @@ class hr extends h {
1061
1061
  T: 12
1062
1062
  /*ScalarType.BYTES*/
1063
1063
  },
1064
- { no: 6, name: "fields", kind: "message", repeat: 1, T: () => w },
1064
+ { no: 6, name: "fields", kind: "message", repeat: 1, T: () => T },
1065
1065
  {
1066
1066
  no: 7,
1067
1067
  name: "has_errors",
@@ -1144,7 +1144,7 @@ class hr extends h {
1144
1144
  break;
1145
1145
  case /* repeated MiLaboratories.PL.API.Field fields */
1146
1146
  6:
1147
- r.fields.push(w.internalBinaryRead(e, e.uint32(), i));
1147
+ r.fields.push(T.internalBinaryRead(e, e.uint32(), i));
1148
1148
  break;
1149
1149
  case /* bool has_errors */
1150
1150
  7:
@@ -1195,14 +1195,14 @@ class hr extends h {
1195
1195
  internalBinaryWrite(e, t, i) {
1196
1196
  e.id !== 0n && t.tag(2, c.Varint).uint64(e.id), e.kind !== 0 && t.tag(3, c.Varint).int32(e.kind), e.type && g.internalBinaryWrite(e.type, t.tag(4, c.LengthDelimited).fork(), i).join(), e.data.length && t.tag(5, c.LengthDelimited).bytes(e.data);
1197
1197
  for (let r = 0; r < e.fields.length; r++)
1198
- w.internalBinaryWrite(e.fields[r], t.tag(6, c.LengthDelimited).fork(), i).join();
1198
+ T.internalBinaryWrite(e.fields[r], t.tag(6, c.LengthDelimited).fork(), i).join();
1199
1199
  e.hasErrors !== !1 && t.tag(7, c.Varint).bool(e.hasErrors), e.inputsLocked !== !1 && t.tag(8, c.Varint).bool(e.inputsLocked), e.outputsLocked !== !1 && t.tag(9, c.Varint).bool(e.outputsLocked), e.resourceReady !== !1 && t.tag(14, c.Varint).bool(e.resourceReady), e.isFinal !== !1 && t.tag(15, c.Varint).bool(e.isFinal), e.originalResourceId !== 0n && t.tag(10, c.Varint).uint64(e.originalResourceId), e.parentResourceId !== 0n && t.tag(11, c.Varint).uint64(e.parentResourceId), e.createdTime && C.internalBinaryWrite(e.createdTime, t.tag(12, c.LengthDelimited).fork(), i).join(), e.deletedTime && C.internalBinaryWrite(e.deletedTime, t.tag(13, c.LengthDelimited).fork(), i).join();
1200
1200
  let n = i.writeUnknownFields;
1201
1201
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
1202
1202
  }
1203
1203
  }
1204
- const A = new hr();
1205
- class pr extends h {
1204
+ const L = new pr();
1205
+ class yr extends h {
1206
1206
  constructor() {
1207
1207
  super("MiLaboratories.PL.API.Field", [
1208
1208
  { no: 1, name: "id", kind: "message", T: () => m },
@@ -1282,8 +1282,8 @@ class pr extends h {
1282
1282
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
1283
1283
  }
1284
1284
  }
1285
- const w = new pr();
1286
- class yr extends h {
1285
+ const T = new yr();
1286
+ class gr extends h {
1287
1287
  constructor() {
1288
1288
  super("MiLaboratories.PL.API.Notification", [
1289
1289
  {
@@ -1405,8 +1405,8 @@ class yr extends h {
1405
1405
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
1406
1406
  }
1407
1407
  }
1408
- const V = new yr();
1409
- class gr extends h {
1408
+ const V = new gr();
1409
+ class mr extends h {
1410
1410
  constructor() {
1411
1411
  super("MiLaboratories.PL.API.Notification.Events", [
1412
1412
  {
@@ -1601,12 +1601,12 @@ class gr extends h {
1601
1601
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
1602
1602
  }
1603
1603
  }
1604
- const ke = new gr();
1605
- class mr extends h {
1604
+ const ke = new mr();
1605
+ class kr extends h {
1606
1606
  constructor() {
1607
1607
  super("MiLaboratories.PL.API.Notification.FieldChange", [
1608
- { no: 1, name: "old", kind: "message", T: () => w },
1609
- { no: 2, name: "new", kind: "message", T: () => w }
1608
+ { no: 1, name: "old", kind: "message", T: () => T },
1609
+ { no: 2, name: "new", kind: "message", T: () => T }
1610
1610
  ]);
1611
1611
  }
1612
1612
  create(e) {
@@ -1620,11 +1620,11 @@ class mr extends h {
1620
1620
  switch (a) {
1621
1621
  case /* MiLaboratories.PL.API.Field old */
1622
1622
  1:
1623
- r.old = w.internalBinaryRead(e, e.uint32(), i, r.old);
1623
+ r.old = T.internalBinaryRead(e, e.uint32(), i, r.old);
1624
1624
  break;
1625
1625
  case /* MiLaboratories.PL.API.Field new */
1626
1626
  2:
1627
- r.new = w.internalBinaryRead(e, e.uint32(), i, r.new);
1627
+ r.new = T.internalBinaryRead(e, e.uint32(), i, r.new);
1628
1628
  break;
1629
1629
  default:
1630
1630
  let s = i.readUnknownField;
@@ -1637,13 +1637,13 @@ class mr extends h {
1637
1637
  return r;
1638
1638
  }
1639
1639
  internalBinaryWrite(e, t, i) {
1640
- e.old && w.internalBinaryWrite(e.old, t.tag(1, c.LengthDelimited).fork(), i).join(), e.new && w.internalBinaryWrite(e.new, t.tag(2, c.LengthDelimited).fork(), i).join();
1640
+ e.old && T.internalBinaryWrite(e.old, t.tag(1, c.LengthDelimited).fork(), i).join(), e.new && T.internalBinaryWrite(e.new, t.tag(2, c.LengthDelimited).fork(), i).join();
1641
1641
  let n = i.writeUnknownFields;
1642
1642
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
1643
1643
  }
1644
1644
  }
1645
- const Z = new mr();
1646
- class kr extends h {
1645
+ const Z = new kr();
1646
+ class br extends h {
1647
1647
  constructor() {
1648
1648
  super("MiLaboratories.PL.API.SpanInfo", [
1649
1649
  {
@@ -1712,8 +1712,8 @@ class kr extends h {
1712
1712
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
1713
1713
  }
1714
1714
  }
1715
- const be = new kr();
1716
- class br extends h {
1715
+ const be = new br();
1716
+ class wr extends h {
1717
1717
  constructor() {
1718
1718
  super("MiLaboratories.PL.API.Subscription", [
1719
1719
  {
@@ -1766,8 +1766,8 @@ class br extends h {
1766
1766
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
1767
1767
  }
1768
1768
  }
1769
- const we = new br();
1770
- class wr extends h {
1769
+ const we = new wr();
1770
+ class Tr extends h {
1771
1771
  constructor() {
1772
1772
  super("MiLaboratories.PL.API.Controller", [
1773
1773
  {
@@ -1832,8 +1832,8 @@ class wr extends h {
1832
1832
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
1833
1833
  }
1834
1834
  }
1835
- const Te = new wr();
1836
- class Tr extends h {
1835
+ const Te = new Tr();
1836
+ class Rr extends h {
1837
1837
  constructor() {
1838
1838
  super("MiLaboratories.PL.API.ResourceSchema", [
1839
1839
  { no: 1, name: "type", kind: "message", T: () => g },
@@ -1875,8 +1875,8 @@ class Tr extends h {
1875
1875
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
1876
1876
  }
1877
1877
  }
1878
- const v = new Tr();
1879
- class Rr extends h {
1878
+ const v = new Rr();
1879
+ class Ir extends h {
1880
1880
  constructor() {
1881
1881
  super("MiLaboratories.PL.API.FieldSchema", [
1882
1882
  { no: 1, name: "type", kind: "enum", T: () => ["MiLaboratories.PL.Base.FieldType", b] },
@@ -1922,8 +1922,8 @@ class Rr extends h {
1922
1922
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
1923
1923
  }
1924
1924
  }
1925
- const Re = new Rr();
1926
- class Ir extends h {
1925
+ const Re = new Ir();
1926
+ class Pr extends h {
1927
1927
  constructor() {
1928
1928
  super("MiLaboratories.PL.API.ResourceAPIFeature", [
1929
1929
  {
@@ -1991,8 +1991,8 @@ class Ir extends h {
1991
1991
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
1992
1992
  }
1993
1993
  }
1994
- const Ie = new Ir();
1995
- class Pr extends h {
1994
+ const Ie = new Pr();
1995
+ class _r extends h {
1996
1996
  constructor() {
1997
1997
  super("google.protobuf.Any", [
1998
1998
  {
@@ -2052,7 +2052,7 @@ class Pr extends h {
2052
2052
  var l;
2053
2053
  if (e.typeUrl === "")
2054
2054
  return {};
2055
- let i = this.typeUrlToName(e.typeUrl), n = qi(t), r = (l = n.typeRegistry) == null ? void 0 : l.find((s) => s.typeName === i);
2055
+ let i = this.typeUrlToName(e.typeUrl), n = Vi(t), r = (l = n.typeRegistry) == null ? void 0 : l.find((s) => s.typeName === i);
2056
2056
  if (!r)
2057
2057
  throw new globalThis.Error("Unable to convert google.protobuf.Any with typeUrl '" + e.typeUrl + "' to JSON. The specified type " + i + " is not available in the type registry.");
2058
2058
  let d = r.fromBinary(e.value, { readUnknownField: !1 }), a = r.internalJsonWrite(d, n);
@@ -2122,8 +2122,8 @@ class Pr extends h {
2122
2122
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
2123
2123
  }
2124
2124
  }
2125
- const Pe = new Pr();
2126
- class _r extends h {
2125
+ const Pe = new _r();
2126
+ class Ar extends h {
2127
2127
  constructor() {
2128
2128
  super("google.rpc.Status", [
2129
2129
  {
@@ -2182,9 +2182,9 @@ class _r extends h {
2182
2182
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
2183
2183
  }
2184
2184
  }
2185
- const _e = new _r();
2185
+ const _e = new Ar();
2186
2186
  var de = /* @__PURE__ */ ((o) => (o[o.INVALID = 0] = "INVALID", o[o.WRITABLE = 1] = "WRITABLE", o[o.NOT_WRITABLE = 2] = "NOT_WRITABLE", o))(de || {});
2187
- class Ar extends h {
2187
+ class Lr extends h {
2188
2188
  constructor() {
2189
2189
  super("MiLaboratories.PL.API.TxAPI", []);
2190
2190
  }
@@ -2200,8 +2200,8 @@ class Ar extends h {
2200
2200
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
2201
2201
  }
2202
2202
  }
2203
- new Ar();
2204
- class Lr extends h {
2203
+ new Lr();
2204
+ class Br extends h {
2205
2205
  constructor() {
2206
2206
  super("MiLaboratories.PL.API.TxAPI.ClientMessage", [
2207
2207
  {
@@ -2650,8 +2650,8 @@ class Lr extends h {
2650
2650
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
2651
2651
  }
2652
2652
  }
2653
- const Br = new Lr();
2654
- class Nr extends h {
2653
+ const Nr = new Br();
2654
+ class Fr extends h {
2655
2655
  constructor() {
2656
2656
  super("MiLaboratories.PL.API.TxAPI.ServerMessage", [
2657
2657
  {
@@ -3110,8 +3110,8 @@ class Nr extends h {
3110
3110
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3111
3111
  }
3112
3112
  }
3113
- const Fr = new Nr();
3114
- class xr extends h {
3113
+ const xr = new Fr();
3114
+ class Wr extends h {
3115
3115
  constructor() {
3116
3116
  super("MiLaboratories.PL.API.TxAPI.ServerMessage.Multi", [
3117
3117
  {
@@ -3174,8 +3174,8 @@ class xr extends h {
3174
3174
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3175
3175
  }
3176
3176
  }
3177
- const Ae = new xr();
3178
- class Wr extends h {
3177
+ const Ae = new Wr();
3178
+ class Ur extends h {
3179
3179
  constructor() {
3180
3180
  super("MiLaboratories.PL.API.TxAPI.Open", []);
3181
3181
  }
@@ -3191,8 +3191,8 @@ class Wr extends h {
3191
3191
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3192
3192
  }
3193
3193
  }
3194
- new Wr();
3195
- class Ur extends h {
3194
+ new Ur();
3195
+ class $r extends h {
3196
3196
  constructor() {
3197
3197
  super("MiLaboratories.PL.API.TxAPI.Open.Request", [
3198
3198
  {
@@ -3238,8 +3238,8 @@ class Ur extends h {
3238
3238
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3239
3239
  }
3240
3240
  }
3241
- const Le = new Ur();
3242
- class $r extends h {
3241
+ const Le = new $r();
3242
+ class Er extends h {
3243
3243
  constructor() {
3244
3244
  super("MiLaboratories.PL.API.TxAPI.Open.Response", [
3245
3245
  { no: 1, name: "tx", kind: "message", T: () => me }
@@ -3274,8 +3274,8 @@ class $r extends h {
3274
3274
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3275
3275
  }
3276
3276
  }
3277
- const Be = new $r();
3278
- class Er extends h {
3277
+ const Be = new Er();
3278
+ class Sr extends h {
3279
3279
  constructor() {
3280
3280
  super("MiLaboratories.PL.API.TxAPI.Commit", []);
3281
3281
  }
@@ -3291,8 +3291,8 @@ class Er extends h {
3291
3291
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3292
3292
  }
3293
3293
  }
3294
- new Er();
3295
- class Sr extends h {
3294
+ new Sr();
3295
+ class Cr extends h {
3296
3296
  constructor() {
3297
3297
  super("MiLaboratories.PL.API.TxAPI.Commit.Request", []);
3298
3298
  }
@@ -3308,8 +3308,8 @@ class Sr extends h {
3308
3308
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3309
3309
  }
3310
3310
  }
3311
- const Ne = new Sr();
3312
- class Cr extends h {
3311
+ const Ne = new Cr();
3312
+ class Dr extends h {
3313
3313
  constructor() {
3314
3314
  super("MiLaboratories.PL.API.TxAPI.Commit.Response", [
3315
3315
  {
@@ -3350,8 +3350,8 @@ class Cr extends h {
3350
3350
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3351
3351
  }
3352
3352
  }
3353
- const Fe = new Cr();
3354
- class Dr extends h {
3353
+ const Fe = new Dr();
3354
+ class Or extends h {
3355
3355
  constructor() {
3356
3356
  super("MiLaboratories.PL.API.TxAPI.Discard", []);
3357
3357
  }
@@ -3367,8 +3367,8 @@ class Dr extends h {
3367
3367
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3368
3368
  }
3369
3369
  }
3370
- new Dr();
3371
- class Or extends h {
3370
+ new Or();
3371
+ class Kr extends h {
3372
3372
  constructor() {
3373
3373
  super("MiLaboratories.PL.API.TxAPI.Discard.Request", []);
3374
3374
  }
@@ -3384,8 +3384,8 @@ class Or extends h {
3384
3384
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3385
3385
  }
3386
3386
  }
3387
- const xe = new Or();
3388
- class Kr extends h {
3387
+ const xe = new Kr();
3388
+ class qr extends h {
3389
3389
  constructor() {
3390
3390
  super("MiLaboratories.PL.API.TxAPI.Discard.Response", []);
3391
3391
  }
@@ -3401,8 +3401,8 @@ class Kr extends h {
3401
3401
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3402
3402
  }
3403
3403
  }
3404
- const We = new Kr();
3405
- class qr extends h {
3404
+ const We = new qr();
3405
+ class Vr extends h {
3406
3406
  constructor() {
3407
3407
  super("MiLaboratories.PL.API.TxAPI.Sync", []);
3408
3408
  }
@@ -3418,8 +3418,8 @@ class qr extends h {
3418
3418
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3419
3419
  }
3420
3420
  }
3421
- new qr();
3422
- class Vr extends h {
3421
+ new Vr();
3422
+ class vr extends h {
3423
3423
  constructor() {
3424
3424
  super("MiLaboratories.PL.API.TxAPI.Sync.Request", [
3425
3425
  {
@@ -3461,8 +3461,8 @@ class Vr extends h {
3461
3461
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3462
3462
  }
3463
3463
  }
3464
- const vr = new Vr();
3465
- class jr extends h {
3464
+ const jr = new vr();
3465
+ class Mr extends h {
3466
3466
  constructor() {
3467
3467
  super("MiLaboratories.PL.API.TxAPI.Sync.Response", []);
3468
3468
  }
@@ -3478,8 +3478,8 @@ class jr extends h {
3478
3478
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3479
3479
  }
3480
3480
  }
3481
- const Mr = new jr();
3482
- class Gr extends h {
3481
+ const Gr = new Mr();
3482
+ class Jr extends h {
3483
3483
  constructor() {
3484
3484
  super("MiLaboratories.PL.API.ResourceAPI", []);
3485
3485
  }
@@ -3495,8 +3495,8 @@ class Gr extends h {
3495
3495
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3496
3496
  }
3497
3497
  }
3498
- new Gr();
3499
- class Jr extends h {
3498
+ new Jr();
3499
+ class zr extends h {
3500
3500
  constructor() {
3501
3501
  super("MiLaboratories.PL.API.ResourceAPI.CreateStruct", []);
3502
3502
  }
@@ -3512,8 +3512,8 @@ class Jr extends h {
3512
3512
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3513
3513
  }
3514
3514
  }
3515
- new Jr();
3516
- class zr extends h {
3515
+ new zr();
3516
+ class Hr extends h {
3517
3517
  constructor() {
3518
3518
  super("MiLaboratories.PL.API.ResourceAPI.CreateStruct.Request", [
3519
3519
  {
@@ -3572,8 +3572,8 @@ class zr extends h {
3572
3572
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3573
3573
  }
3574
3574
  }
3575
- const Ue = new zr();
3576
- class Hr extends h {
3575
+ const Ue = new Hr();
3576
+ class Yr extends h {
3577
3577
  constructor() {
3578
3578
  super("MiLaboratories.PL.API.ResourceAPI.CreateStruct.Response", [
3579
3579
  {
@@ -3615,8 +3615,8 @@ class Hr extends h {
3615
3615
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3616
3616
  }
3617
3617
  }
3618
- const $e = new Hr();
3619
- class Yr extends h {
3618
+ const $e = new Yr();
3619
+ class Zr extends h {
3620
3620
  constructor() {
3621
3621
  super("MiLaboratories.PL.API.ResourceAPI.CreateEphemeral", []);
3622
3622
  }
@@ -3632,8 +3632,8 @@ class Yr extends h {
3632
3632
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3633
3633
  }
3634
3634
  }
3635
- new Yr();
3636
- class Zr extends h {
3635
+ new Zr();
3636
+ class Xr extends h {
3637
3637
  constructor() {
3638
3638
  super("MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Request", [
3639
3639
  {
@@ -3692,8 +3692,8 @@ class Zr extends h {
3692
3692
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3693
3693
  }
3694
3694
  }
3695
- const Ee = new Zr();
3696
- class Xr extends h {
3695
+ const Ee = new Xr();
3696
+ class Qr extends h {
3697
3697
  constructor() {
3698
3698
  super("MiLaboratories.PL.API.ResourceAPI.CreateEphemeral.Response", [
3699
3699
  {
@@ -3735,8 +3735,8 @@ class Xr extends h {
3735
3735
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3736
3736
  }
3737
3737
  }
3738
- const Se = new Xr();
3739
- class Qr extends h {
3738
+ const Se = new Qr();
3739
+ class es extends h {
3740
3740
  constructor() {
3741
3741
  super("MiLaboratories.PL.API.ResourceAPI.CreateChild", []);
3742
3742
  }
@@ -3752,8 +3752,8 @@ class Qr extends h {
3752
3752
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3753
3753
  }
3754
3754
  }
3755
- new Qr();
3756
- class es extends h {
3755
+ new es();
3756
+ class ts extends h {
3757
3757
  constructor() {
3758
3758
  super("MiLaboratories.PL.API.ResourceAPI.CreateChild.Request", [
3759
3759
  {
@@ -3805,8 +3805,8 @@ class es extends h {
3805
3805
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3806
3806
  }
3807
3807
  }
3808
- const Ce = new es();
3809
- class ts extends h {
3808
+ const Ce = new ts();
3809
+ class ns extends h {
3810
3810
  constructor() {
3811
3811
  super("MiLaboratories.PL.API.ResourceAPI.CreateChild.Response", [
3812
3812
  {
@@ -3848,8 +3848,8 @@ class ts extends h {
3848
3848
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3849
3849
  }
3850
3850
  }
3851
- const De = new ts();
3852
- class ns extends h {
3851
+ const De = new ns();
3852
+ class is extends h {
3853
3853
  constructor() {
3854
3854
  super("MiLaboratories.PL.API.ResourceAPI.CreateValue", []);
3855
3855
  }
@@ -3865,8 +3865,8 @@ class ns extends h {
3865
3865
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3866
3866
  }
3867
3867
  }
3868
- new ns();
3869
- class is extends h {
3868
+ new is();
3869
+ class rs extends h {
3870
3870
  constructor() {
3871
3871
  super("MiLaboratories.PL.API.ResourceAPI.CreateValue.Request", [
3872
3872
  {
@@ -3935,8 +3935,8 @@ class is extends h {
3935
3935
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3936
3936
  }
3937
3937
  }
3938
- const Oe = new is();
3939
- class rs extends h {
3938
+ const Oe = new rs();
3939
+ class ss extends h {
3940
3940
  constructor() {
3941
3941
  super("MiLaboratories.PL.API.ResourceAPI.CreateValue.Response", [
3942
3942
  {
@@ -3978,8 +3978,8 @@ class rs extends h {
3978
3978
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3979
3979
  }
3980
3980
  }
3981
- const Ke = new rs();
3982
- class ss extends h {
3981
+ const Ke = new ss();
3982
+ class os extends h {
3983
3983
  constructor() {
3984
3984
  super("MiLaboratories.PL.API.ResourceAPI.GetValueID", []);
3985
3985
  }
@@ -3995,8 +3995,8 @@ class ss extends h {
3995
3995
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
3996
3996
  }
3997
3997
  }
3998
- new ss();
3999
- class os extends h {
3998
+ new os();
3999
+ class as extends h {
4000
4000
  constructor() {
4001
4001
  super("MiLaboratories.PL.API.ResourceAPI.GetValueID.Request", [
4002
4002
  { no: 1, name: "type", kind: "message", T: () => g },
@@ -4042,8 +4042,8 @@ class os extends h {
4042
4042
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4043
4043
  }
4044
4044
  }
4045
- const qe = new os();
4046
- class as extends h {
4045
+ const qe = new as();
4046
+ class ls extends h {
4047
4047
  constructor() {
4048
4048
  super("MiLaboratories.PL.API.ResourceAPI.GetValueID.Response", [
4049
4049
  {
@@ -4085,8 +4085,8 @@ class as extends h {
4085
4085
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4086
4086
  }
4087
4087
  }
4088
- const Ve = new as();
4089
- class ls extends h {
4088
+ const Ve = new ls();
4089
+ class cs extends h {
4090
4090
  constructor() {
4091
4091
  super("MiLaboratories.PL.API.ResourceAPI.CreateSingleton", []);
4092
4092
  }
@@ -4102,8 +4102,8 @@ class ls extends h {
4102
4102
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4103
4103
  }
4104
4104
  }
4105
- new ls();
4106
- class cs extends h {
4105
+ new cs();
4106
+ class us extends h {
4107
4107
  constructor() {
4108
4108
  super("MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Request", [
4109
4109
  {
@@ -4172,8 +4172,8 @@ class cs extends h {
4172
4172
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4173
4173
  }
4174
4174
  }
4175
- const ve = new cs();
4176
- class us extends h {
4175
+ const ve = new us();
4176
+ class ds extends h {
4177
4177
  constructor() {
4178
4178
  super("MiLaboratories.PL.API.ResourceAPI.CreateSingleton.Response", [
4179
4179
  {
@@ -4215,8 +4215,8 @@ class us extends h {
4215
4215
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4216
4216
  }
4217
4217
  }
4218
- const je = new us();
4219
- class ds extends h {
4218
+ const je = new ds();
4219
+ class fs extends h {
4220
4220
  constructor() {
4221
4221
  super("MiLaboratories.PL.API.ResourceAPI.GetSingleton", []);
4222
4222
  }
@@ -4232,8 +4232,8 @@ class ds extends h {
4232
4232
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4233
4233
  }
4234
4234
  }
4235
- new ds();
4236
- class fs extends h {
4235
+ new fs();
4236
+ class hs extends h {
4237
4237
  constructor() {
4238
4238
  super("MiLaboratories.PL.API.ResourceAPI.GetSingleton.Request", [
4239
4239
  { no: 1, name: "type", kind: "message", T: () => g },
@@ -4290,11 +4290,11 @@ class fs extends h {
4290
4290
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4291
4291
  }
4292
4292
  }
4293
- const Me = new fs();
4294
- class hs extends h {
4293
+ const Me = new hs();
4294
+ class ps extends h {
4295
4295
  constructor() {
4296
4296
  super("MiLaboratories.PL.API.ResourceAPI.GetSingleton.Response", [
4297
- { no: 1, name: "resource", kind: "message", T: () => A }
4297
+ { no: 1, name: "resource", kind: "message", T: () => L }
4298
4298
  ]);
4299
4299
  }
4300
4300
  create(e) {
@@ -4308,7 +4308,7 @@ class hs extends h {
4308
4308
  switch (a) {
4309
4309
  case /* MiLaboratories.PL.API.Resource resource */
4310
4310
  1:
4311
- r.resource = A.internalBinaryRead(e, e.uint32(), i, r.resource);
4311
+ r.resource = L.internalBinaryRead(e, e.uint32(), i, r.resource);
4312
4312
  break;
4313
4313
  default:
4314
4314
  let s = i.readUnknownField;
@@ -4321,13 +4321,13 @@ class hs extends h {
4321
4321
  return r;
4322
4322
  }
4323
4323
  internalBinaryWrite(e, t, i) {
4324
- e.resource && A.internalBinaryWrite(e.resource, t.tag(1, c.LengthDelimited).fork(), i).join();
4324
+ e.resource && L.internalBinaryWrite(e.resource, t.tag(1, c.LengthDelimited).fork(), i).join();
4325
4325
  let n = i.writeUnknownFields;
4326
4326
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4327
4327
  }
4328
4328
  }
4329
- const Ge = new hs();
4330
- class ps extends h {
4329
+ const Ge = new ps();
4330
+ class ys extends h {
4331
4331
  constructor() {
4332
4332
  super("MiLaboratories.PL.API.ResourceAPI.LockInputs", []);
4333
4333
  }
@@ -4343,8 +4343,8 @@ class ps extends h {
4343
4343
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4344
4344
  }
4345
4345
  }
4346
- new ps();
4347
- class ys extends h {
4346
+ new ys();
4347
+ class gs extends h {
4348
4348
  constructor() {
4349
4349
  super("MiLaboratories.PL.API.ResourceAPI.LockInputs.Request", [
4350
4350
  {
@@ -4386,8 +4386,8 @@ class ys extends h {
4386
4386
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4387
4387
  }
4388
4388
  }
4389
- const Je = new ys();
4390
- class gs extends h {
4389
+ const Je = new gs();
4390
+ class ms extends h {
4391
4391
  constructor() {
4392
4392
  super("MiLaboratories.PL.API.ResourceAPI.LockInputs.Response", []);
4393
4393
  }
@@ -4403,8 +4403,8 @@ class gs extends h {
4403
4403
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4404
4404
  }
4405
4405
  }
4406
- const ze = new gs();
4407
- class ms extends h {
4406
+ const ze = new ms();
4407
+ class ks extends h {
4408
4408
  constructor() {
4409
4409
  super("MiLaboratories.PL.API.ResourceAPI.LockOutputs", []);
4410
4410
  }
@@ -4420,8 +4420,8 @@ class ms extends h {
4420
4420
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4421
4421
  }
4422
4422
  }
4423
- new ms();
4424
- class ks extends h {
4423
+ new ks();
4424
+ class bs extends h {
4425
4425
  constructor() {
4426
4426
  super("MiLaboratories.PL.API.ResourceAPI.LockOutputs.Request", [
4427
4427
  {
@@ -4463,8 +4463,8 @@ class ks extends h {
4463
4463
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4464
4464
  }
4465
4465
  }
4466
- const He = new ks();
4467
- class bs extends h {
4466
+ const He = new bs();
4467
+ class ws extends h {
4468
4468
  constructor() {
4469
4469
  super("MiLaboratories.PL.API.ResourceAPI.LockOutputs.Response", []);
4470
4470
  }
@@ -4480,8 +4480,8 @@ class bs extends h {
4480
4480
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4481
4481
  }
4482
4482
  }
4483
- const Ye = new bs();
4484
- class ws extends h {
4483
+ const Ye = new ws();
4484
+ class Ts extends h {
4485
4485
  constructor() {
4486
4486
  super("MiLaboratories.PL.API.ResourceAPI.Exists", []);
4487
4487
  }
@@ -4497,8 +4497,8 @@ class ws extends h {
4497
4497
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4498
4498
  }
4499
4499
  }
4500
- new ws();
4501
- class Ts extends h {
4500
+ new Ts();
4501
+ class Rs extends h {
4502
4502
  constructor() {
4503
4503
  super("MiLaboratories.PL.API.ResourceAPI.Exists.Request", [
4504
4504
  {
@@ -4540,8 +4540,8 @@ class Ts extends h {
4540
4540
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4541
4541
  }
4542
4542
  }
4543
- const Ze = new Ts();
4544
- class Rs extends h {
4543
+ const Ze = new Rs();
4544
+ class Is extends h {
4545
4545
  constructor() {
4546
4546
  super("MiLaboratories.PL.API.ResourceAPI.Exists.Response", [
4547
4547
  {
@@ -4582,8 +4582,8 @@ class Rs extends h {
4582
4582
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4583
4583
  }
4584
4584
  }
4585
- const Xe = new Rs();
4586
- class Is extends h {
4585
+ const Xe = new Is();
4586
+ class Ps extends h {
4587
4587
  constructor() {
4588
4588
  super("MiLaboratories.PL.API.ResourceAPI.SetError", []);
4589
4589
  }
@@ -4599,8 +4599,8 @@ class Is extends h {
4599
4599
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4600
4600
  }
4601
4601
  }
4602
- new Is();
4603
- class Ps extends h {
4602
+ new Ps();
4603
+ class _s extends h {
4604
4604
  constructor() {
4605
4605
  super("MiLaboratories.PL.API.ResourceAPI.SetError.Request", [
4606
4606
  {
@@ -4654,8 +4654,8 @@ class Ps extends h {
4654
4654
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4655
4655
  }
4656
4656
  }
4657
- const Qe = new Ps();
4658
- class _s extends h {
4657
+ const Qe = new _s();
4658
+ class As extends h {
4659
4659
  constructor() {
4660
4660
  super("MiLaboratories.PL.API.ResourceAPI.SetError.Response", []);
4661
4661
  }
@@ -4671,8 +4671,8 @@ class _s extends h {
4671
4671
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4672
4672
  }
4673
4673
  }
4674
- const et = new _s();
4675
- class As extends h {
4674
+ const et = new As();
4675
+ class Ls extends h {
4676
4676
  constructor() {
4677
4677
  super("MiLaboratories.PL.API.ResourceAPI.Get", []);
4678
4678
  }
@@ -4688,8 +4688,8 @@ class As extends h {
4688
4688
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4689
4689
  }
4690
4690
  }
4691
- new As();
4692
- class Ls extends h {
4691
+ new Ls();
4692
+ class Bs extends h {
4693
4693
  constructor() {
4694
4694
  super("MiLaboratories.PL.API.ResourceAPI.Get.Request", [
4695
4695
  {
@@ -4742,11 +4742,11 @@ class Ls extends h {
4742
4742
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4743
4743
  }
4744
4744
  }
4745
- const tt = new Ls();
4746
- class Bs extends h {
4745
+ const tt = new Bs();
4746
+ class Ns extends h {
4747
4747
  constructor() {
4748
4748
  super("MiLaboratories.PL.API.ResourceAPI.Get.Response", [
4749
- { no: 1, name: "resource", kind: "message", T: () => A }
4749
+ { no: 1, name: "resource", kind: "message", T: () => L }
4750
4750
  ]);
4751
4751
  }
4752
4752
  create(e) {
@@ -4760,7 +4760,7 @@ class Bs extends h {
4760
4760
  switch (a) {
4761
4761
  case /* MiLaboratories.PL.API.Resource resource */
4762
4762
  1:
4763
- r.resource = A.internalBinaryRead(e, e.uint32(), i, r.resource);
4763
+ r.resource = L.internalBinaryRead(e, e.uint32(), i, r.resource);
4764
4764
  break;
4765
4765
  default:
4766
4766
  let s = i.readUnknownField;
@@ -4773,13 +4773,13 @@ class Bs extends h {
4773
4773
  return r;
4774
4774
  }
4775
4775
  internalBinaryWrite(e, t, i) {
4776
- e.resource && A.internalBinaryWrite(e.resource, t.tag(1, c.LengthDelimited).fork(), i).join();
4776
+ e.resource && L.internalBinaryWrite(e.resource, t.tag(1, c.LengthDelimited).fork(), i).join();
4777
4777
  let n = i.writeUnknownFields;
4778
4778
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4779
4779
  }
4780
4780
  }
4781
- const nt = new Bs();
4782
- class Ns extends h {
4781
+ const nt = new Ns();
4782
+ class Fs extends h {
4783
4783
  constructor() {
4784
4784
  super("MiLaboratories.PL.API.ResourceAPI.List", []);
4785
4785
  }
@@ -4795,8 +4795,8 @@ class Ns extends h {
4795
4795
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4796
4796
  }
4797
4797
  }
4798
- new Ns();
4799
- class Fs extends h {
4798
+ new Fs();
4799
+ class xs extends h {
4800
4800
  constructor() {
4801
4801
  super("MiLaboratories.PL.API.ResourceAPI.List.ByType", []);
4802
4802
  }
@@ -4812,8 +4812,8 @@ class Fs extends h {
4812
4812
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4813
4813
  }
4814
4814
  }
4815
- new Fs();
4816
- class xs extends h {
4815
+ new xs();
4816
+ class Ws extends h {
4817
4817
  constructor() {
4818
4818
  super("MiLaboratories.PL.API.ResourceAPI.List.ByType.Request", [
4819
4819
  { no: 1, name: "resource_type", kind: "message", T: () => g }
@@ -4848,11 +4848,11 @@ class xs extends h {
4848
4848
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4849
4849
  }
4850
4850
  }
4851
- const it = new xs();
4852
- class Ws extends h {
4851
+ const it = new Ws();
4852
+ class Us extends h {
4853
4853
  constructor() {
4854
4854
  super("MiLaboratories.PL.API.ResourceAPI.List.ByType.Response", [
4855
- { no: 1, name: "resources", kind: "map", K: 4, V: { kind: "message", T: () => A } }
4855
+ { no: 1, name: "resources", kind: "map", K: 4, V: { kind: "message", T: () => L } }
4856
4856
  ]);
4857
4857
  }
4858
4858
  create(e) {
@@ -4887,23 +4887,23 @@ class Ws extends h {
4887
4887
  d = t.uint64().toString();
4888
4888
  break;
4889
4889
  case 2:
4890
- a = A.internalBinaryRead(t, t.uint32(), i);
4890
+ a = L.internalBinaryRead(t, t.uint32(), i);
4891
4891
  break;
4892
4892
  default:
4893
4893
  throw new globalThis.Error("unknown map entry field for field MiLaboratories.PL.API.ResourceAPI.List.ByType.Response.resources");
4894
4894
  }
4895
4895
  }
4896
- e[d ?? "0"] = a ?? A.create();
4896
+ e[d ?? "0"] = a ?? L.create();
4897
4897
  }
4898
4898
  internalBinaryWrite(e, t, i) {
4899
4899
  for (let r of globalThis.Object.keys(e.resources))
4900
- t.tag(1, c.LengthDelimited).fork().tag(1, c.Varint).uint64(r), t.tag(2, c.LengthDelimited).fork(), A.internalBinaryWrite(e.resources[r], t, i), t.join().join();
4900
+ t.tag(1, c.LengthDelimited).fork().tag(1, c.Varint).uint64(r), t.tag(2, c.LengthDelimited).fork(), L.internalBinaryWrite(e.resources[r], t, i), t.join().join();
4901
4901
  let n = i.writeUnknownFields;
4902
4902
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4903
4903
  }
4904
4904
  }
4905
- const rt = new Ws();
4906
- class Us extends h {
4905
+ const rt = new Us();
4906
+ class $s extends h {
4907
4907
  constructor() {
4908
4908
  super("MiLaboratories.PL.API.ResourceAPI.CreateRoot", []);
4909
4909
  }
@@ -4919,8 +4919,8 @@ class Us extends h {
4919
4919
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4920
4920
  }
4921
4921
  }
4922
- new Us();
4923
- class $s extends h {
4922
+ new $s();
4923
+ class Es extends h {
4924
4924
  constructor() {
4925
4925
  super("MiLaboratories.PL.API.ResourceAPI.CreateRoot.Request", [
4926
4926
  {
@@ -4967,8 +4967,8 @@ class $s extends h {
4967
4967
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
4968
4968
  }
4969
4969
  }
4970
- const st = new $s();
4971
- class Es extends h {
4970
+ const st = new Es();
4971
+ class Ss extends h {
4972
4972
  constructor() {
4973
4973
  super("MiLaboratories.PL.API.ResourceAPI.CreateRoot.Response", [
4974
4974
  {
@@ -5010,8 +5010,8 @@ class Es extends h {
5010
5010
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5011
5011
  }
5012
5012
  }
5013
- const ot = new Es();
5014
- class Ss extends h {
5013
+ const ot = new Ss();
5014
+ class Cs extends h {
5015
5015
  constructor() {
5016
5016
  super("MiLaboratories.PL.API.ResourceAPI.Remove", []);
5017
5017
  }
@@ -5027,8 +5027,8 @@ class Ss extends h {
5027
5027
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5028
5028
  }
5029
5029
  }
5030
- new Ss();
5031
- class Cs extends h {
5030
+ new Cs();
5031
+ class Ds extends h {
5032
5032
  constructor() {
5033
5033
  super("MiLaboratories.PL.API.ResourceAPI.Remove.Request", [
5034
5034
  {
@@ -5070,8 +5070,8 @@ class Cs extends h {
5070
5070
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5071
5071
  }
5072
5072
  }
5073
- const at = new Cs();
5074
- class Ds extends h {
5073
+ const at = new Ds();
5074
+ class Os extends h {
5075
5075
  constructor() {
5076
5076
  super("MiLaboratories.PL.API.ResourceAPI.Remove.Response", []);
5077
5077
  }
@@ -5087,8 +5087,8 @@ class Ds extends h {
5087
5087
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5088
5088
  }
5089
5089
  }
5090
- const lt = new Ds();
5091
- class Os extends h {
5090
+ const lt = new Os();
5091
+ class Ks extends h {
5092
5092
  constructor() {
5093
5093
  super("MiLaboratories.PL.API.ResourceAPI.Name", []);
5094
5094
  }
@@ -5104,8 +5104,8 @@ class Os extends h {
5104
5104
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5105
5105
  }
5106
5106
  }
5107
- new Os();
5108
- class Ks extends h {
5107
+ new Ks();
5108
+ class qs extends h {
5109
5109
  constructor() {
5110
5110
  super("MiLaboratories.PL.API.ResourceAPI.Name.Set", []);
5111
5111
  }
@@ -5121,8 +5121,8 @@ class Ks extends h {
5121
5121
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5122
5122
  }
5123
5123
  }
5124
- new Ks();
5125
- class qs extends h {
5124
+ new qs();
5125
+ class Vs extends h {
5126
5126
  constructor() {
5127
5127
  super("MiLaboratories.PL.API.ResourceAPI.Name.Set.Request", [
5128
5128
  {
@@ -5175,8 +5175,8 @@ class qs extends h {
5175
5175
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5176
5176
  }
5177
5177
  }
5178
- const ct = new qs();
5179
- class Vs extends h {
5178
+ const ct = new Vs();
5179
+ class vs extends h {
5180
5180
  constructor() {
5181
5181
  super("MiLaboratories.PL.API.ResourceAPI.Name.Set.Response", []);
5182
5182
  }
@@ -5192,8 +5192,8 @@ class Vs extends h {
5192
5192
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5193
5193
  }
5194
5194
  }
5195
- const ut = new Vs();
5196
- class vs extends h {
5195
+ const ut = new vs();
5196
+ class js extends h {
5197
5197
  constructor() {
5198
5198
  super("MiLaboratories.PL.API.ResourceAPI.Name.Get", []);
5199
5199
  }
@@ -5209,8 +5209,8 @@ class vs extends h {
5209
5209
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5210
5210
  }
5211
5211
  }
5212
- new vs();
5213
- class js extends h {
5212
+ new js();
5213
+ class Ms extends h {
5214
5214
  constructor() {
5215
5215
  super("MiLaboratories.PL.API.ResourceAPI.Name.Get.Request", [
5216
5216
  {
@@ -5251,8 +5251,8 @@ class js extends h {
5251
5251
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5252
5252
  }
5253
5253
  }
5254
- const dt = new js();
5255
- class Ms extends h {
5254
+ const dt = new Ms();
5255
+ class Gs extends h {
5256
5256
  constructor() {
5257
5257
  super("MiLaboratories.PL.API.ResourceAPI.Name.Get.Response", [
5258
5258
  {
@@ -5294,8 +5294,8 @@ class Ms extends h {
5294
5294
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5295
5295
  }
5296
5296
  }
5297
- const ft = new Ms();
5298
- class Gs extends h {
5297
+ const ft = new Gs();
5298
+ class Js extends h {
5299
5299
  constructor() {
5300
5300
  super("MiLaboratories.PL.API.ResourceAPI.Name.Exists", []);
5301
5301
  }
@@ -5311,8 +5311,8 @@ class Gs extends h {
5311
5311
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5312
5312
  }
5313
5313
  }
5314
- new Gs();
5315
- class Js extends h {
5314
+ new Js();
5315
+ class zs extends h {
5316
5316
  constructor() {
5317
5317
  super("MiLaboratories.PL.API.ResourceAPI.Name.Exists.Request", [
5318
5318
  {
@@ -5353,8 +5353,8 @@ class Js extends h {
5353
5353
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5354
5354
  }
5355
5355
  }
5356
- const ht = new Js();
5357
- class zs extends h {
5356
+ const ht = new zs();
5357
+ class Hs extends h {
5358
5358
  constructor() {
5359
5359
  super("MiLaboratories.PL.API.ResourceAPI.Name.Exists.Response", [
5360
5360
  {
@@ -5395,8 +5395,8 @@ class zs extends h {
5395
5395
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5396
5396
  }
5397
5397
  }
5398
- const pt = new zs();
5399
- class Hs extends h {
5398
+ const pt = new Hs();
5399
+ class Ys extends h {
5400
5400
  constructor() {
5401
5401
  super("MiLaboratories.PL.API.ResourceAPI.Name.Delete", []);
5402
5402
  }
@@ -5412,8 +5412,8 @@ class Hs extends h {
5412
5412
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5413
5413
  }
5414
5414
  }
5415
- new Hs();
5416
- class Ys extends h {
5415
+ new Ys();
5416
+ class Zs extends h {
5417
5417
  constructor() {
5418
5418
  super("MiLaboratories.PL.API.ResourceAPI.Name.Delete.Request", [
5419
5419
  {
@@ -5454,8 +5454,8 @@ class Ys extends h {
5454
5454
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5455
5455
  }
5456
5456
  }
5457
- const yt = new Ys();
5458
- class Zs extends h {
5457
+ const yt = new Zs();
5458
+ class Xs extends h {
5459
5459
  constructor() {
5460
5460
  super("MiLaboratories.PL.API.ResourceAPI.Name.Delete.Response", []);
5461
5461
  }
@@ -5471,8 +5471,8 @@ class Zs extends h {
5471
5471
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5472
5472
  }
5473
5473
  }
5474
- const gt = new Zs();
5475
- class Xs extends h {
5474
+ const gt = new Xs();
5475
+ class Qs extends h {
5476
5476
  constructor() {
5477
5477
  super("MiLaboratories.PL.API.FieldAPI", []);
5478
5478
  }
@@ -5488,8 +5488,8 @@ class Xs extends h {
5488
5488
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5489
5489
  }
5490
5490
  }
5491
- new Xs();
5492
- class Qs extends h {
5491
+ new Qs();
5492
+ class eo extends h {
5493
5493
  constructor() {
5494
5494
  super("MiLaboratories.PL.API.FieldAPI.Create", []);
5495
5495
  }
@@ -5505,8 +5505,8 @@ class Qs extends h {
5505
5505
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5506
5506
  }
5507
5507
  }
5508
- new Qs();
5509
- class eo extends h {
5508
+ new eo();
5509
+ class to extends h {
5510
5510
  constructor() {
5511
5511
  super("MiLaboratories.PL.API.FieldAPI.Create.Request", [
5512
5512
  { no: 1, name: "type", kind: "enum", T: () => ["MiLaboratories.PL.Base.FieldType", b] },
@@ -5546,8 +5546,8 @@ class eo extends h {
5546
5546
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5547
5547
  }
5548
5548
  }
5549
- const mt = new eo();
5550
- class to extends h {
5549
+ const mt = new to();
5550
+ class no extends h {
5551
5551
  constructor() {
5552
5552
  super("MiLaboratories.PL.API.FieldAPI.Create.Response", [
5553
5553
  { no: 1, name: "global_id", kind: "message", T: () => m }
@@ -5582,8 +5582,8 @@ class to extends h {
5582
5582
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5583
5583
  }
5584
5584
  }
5585
- const kt = new to();
5586
- class no extends h {
5585
+ const kt = new no();
5586
+ class io extends h {
5587
5587
  constructor() {
5588
5588
  super("MiLaboratories.PL.API.FieldAPI.Exists", []);
5589
5589
  }
@@ -5599,8 +5599,8 @@ class no extends h {
5599
5599
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5600
5600
  }
5601
5601
  }
5602
- new no();
5603
- class io extends h {
5602
+ new io();
5603
+ class ro extends h {
5604
5604
  constructor() {
5605
5605
  super("MiLaboratories.PL.API.FieldAPI.Exists.Request", [
5606
5606
  { no: 1, name: "field", kind: "message", T: () => m }
@@ -5635,8 +5635,8 @@ class io extends h {
5635
5635
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5636
5636
  }
5637
5637
  }
5638
- const bt = new io();
5639
- class ro extends h {
5638
+ const bt = new ro();
5639
+ class so extends h {
5640
5640
  constructor() {
5641
5641
  super("MiLaboratories.PL.API.FieldAPI.Exists.Response", [
5642
5642
  {
@@ -5677,8 +5677,8 @@ class ro extends h {
5677
5677
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5678
5678
  }
5679
5679
  }
5680
- const wt = new ro();
5681
- class so extends h {
5680
+ const wt = new so();
5681
+ class oo extends h {
5682
5682
  constructor() {
5683
5683
  super("MiLaboratories.PL.API.FieldAPI.Set", []);
5684
5684
  }
@@ -5694,8 +5694,8 @@ class so extends h {
5694
5694
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5695
5695
  }
5696
5696
  }
5697
- new so();
5698
- class oo extends h {
5697
+ new oo();
5698
+ class ao extends h {
5699
5699
  constructor() {
5700
5700
  super("MiLaboratories.PL.API.FieldAPI.Set.Request", [
5701
5701
  { no: 1, name: "field", kind: "message", T: () => m },
@@ -5735,8 +5735,8 @@ class oo extends h {
5735
5735
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5736
5736
  }
5737
5737
  }
5738
- const Tt = new oo();
5739
- class ao extends h {
5738
+ const Tt = new ao();
5739
+ class lo extends h {
5740
5740
  constructor() {
5741
5741
  super("MiLaboratories.PL.API.FieldAPI.Set.Response", []);
5742
5742
  }
@@ -5752,8 +5752,8 @@ class ao extends h {
5752
5752
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5753
5753
  }
5754
5754
  }
5755
- const Rt = new ao();
5756
- class lo extends h {
5755
+ const Rt = new lo();
5756
+ class co extends h {
5757
5757
  constructor() {
5758
5758
  super("MiLaboratories.PL.API.FieldAPI.SetError", []);
5759
5759
  }
@@ -5769,8 +5769,8 @@ class lo extends h {
5769
5769
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5770
5770
  }
5771
5771
  }
5772
- new lo();
5773
- class co extends h {
5772
+ new co();
5773
+ class uo extends h {
5774
5774
  constructor() {
5775
5775
  super("MiLaboratories.PL.API.FieldAPI.SetError.Request", [
5776
5776
  { no: 1, name: "field", kind: "message", T: () => m },
@@ -5817,8 +5817,8 @@ class co extends h {
5817
5817
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5818
5818
  }
5819
5819
  }
5820
- const It = new co();
5821
- class uo extends h {
5820
+ const It = new uo();
5821
+ class fo extends h {
5822
5822
  constructor() {
5823
5823
  super("MiLaboratories.PL.API.FieldAPI.SetError.Response", []);
5824
5824
  }
@@ -5834,8 +5834,8 @@ class uo extends h {
5834
5834
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5835
5835
  }
5836
5836
  }
5837
- const Pt = new uo();
5838
- class fo extends h {
5837
+ const Pt = new fo();
5838
+ class ho extends h {
5839
5839
  constructor() {
5840
5840
  super("MiLaboratories.PL.API.FieldAPI.Get", []);
5841
5841
  }
@@ -5851,8 +5851,8 @@ class fo extends h {
5851
5851
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5852
5852
  }
5853
5853
  }
5854
- new fo();
5855
- class ho extends h {
5854
+ new ho();
5855
+ class po extends h {
5856
5856
  constructor() {
5857
5857
  super("MiLaboratories.PL.API.FieldAPI.Get.Request", [
5858
5858
  { no: 1, name: "field", kind: "message", T: () => m }
@@ -5887,11 +5887,11 @@ class ho extends h {
5887
5887
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5888
5888
  }
5889
5889
  }
5890
- const _t = new ho();
5891
- class po extends h {
5890
+ const _t = new po();
5891
+ class yo extends h {
5892
5892
  constructor() {
5893
5893
  super("MiLaboratories.PL.API.FieldAPI.Get.Response", [
5894
- { no: 1, name: "field", kind: "message", T: () => w }
5894
+ { no: 1, name: "field", kind: "message", T: () => T }
5895
5895
  ]);
5896
5896
  }
5897
5897
  create(e) {
@@ -5905,7 +5905,7 @@ class po extends h {
5905
5905
  switch (a) {
5906
5906
  case /* MiLaboratories.PL.API.Field field */
5907
5907
  1:
5908
- r.field = w.internalBinaryRead(e, e.uint32(), i, r.field);
5908
+ r.field = T.internalBinaryRead(e, e.uint32(), i, r.field);
5909
5909
  break;
5910
5910
  default:
5911
5911
  let s = i.readUnknownField;
@@ -5918,13 +5918,13 @@ class po extends h {
5918
5918
  return r;
5919
5919
  }
5920
5920
  internalBinaryWrite(e, t, i) {
5921
- e.field && w.internalBinaryWrite(e.field, t.tag(1, c.LengthDelimited).fork(), i).join();
5921
+ e.field && T.internalBinaryWrite(e.field, t.tag(1, c.LengthDelimited).fork(), i).join();
5922
5922
  let n = i.writeUnknownFields;
5923
5923
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5924
5924
  }
5925
5925
  }
5926
- const At = new po();
5927
- class yo extends h {
5926
+ const At = new yo();
5927
+ class go extends h {
5928
5928
  constructor() {
5929
5929
  super("MiLaboratories.PL.API.FieldAPI.Reset", []);
5930
5930
  }
@@ -5940,8 +5940,8 @@ class yo extends h {
5940
5940
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5941
5941
  }
5942
5942
  }
5943
- new yo();
5944
- class go extends h {
5943
+ new go();
5944
+ class mo extends h {
5945
5945
  constructor() {
5946
5946
  super("MiLaboratories.PL.API.FieldAPI.Reset.Request", [
5947
5947
  { no: 1, name: "field", kind: "message", T: () => m }
@@ -5976,8 +5976,8 @@ class go extends h {
5976
5976
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5977
5977
  }
5978
5978
  }
5979
- const Lt = new go();
5980
- class mo extends h {
5979
+ const Lt = new mo();
5980
+ class ko extends h {
5981
5981
  constructor() {
5982
5982
  super("MiLaboratories.PL.API.FieldAPI.Reset.Response", []);
5983
5983
  }
@@ -5993,8 +5993,8 @@ class mo extends h {
5993
5993
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
5994
5994
  }
5995
5995
  }
5996
- const Bt = new mo();
5997
- class ko extends h {
5996
+ const Bt = new ko();
5997
+ class bo extends h {
5998
5998
  constructor() {
5999
5999
  super("MiLaboratories.PL.API.FieldAPI.Remove", []);
6000
6000
  }
@@ -6010,8 +6010,8 @@ class ko extends h {
6010
6010
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6011
6011
  }
6012
6012
  }
6013
- new ko();
6014
- class bo extends h {
6013
+ new bo();
6014
+ class wo extends h {
6015
6015
  constructor() {
6016
6016
  super("MiLaboratories.PL.API.FieldAPI.Remove.Request", [
6017
6017
  { no: 1, name: "field", kind: "message", T: () => m }
@@ -6046,8 +6046,8 @@ class bo extends h {
6046
6046
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6047
6047
  }
6048
6048
  }
6049
- const Nt = new bo();
6050
- class wo extends h {
6049
+ const Nt = new wo();
6050
+ class To extends h {
6051
6051
  constructor() {
6052
6052
  super("MiLaboratories.PL.API.FieldAPI.Remove.Response", []);
6053
6053
  }
@@ -6063,8 +6063,8 @@ class wo extends h {
6063
6063
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6064
6064
  }
6065
6065
  }
6066
- const Ft = new wo();
6067
- class To extends h {
6066
+ const Ft = new To();
6067
+ class Ro extends h {
6068
6068
  constructor() {
6069
6069
  super("MiLaboratories.PL.API.NotificationAPI", []);
6070
6070
  }
@@ -6080,9 +6080,9 @@ class To extends h {
6080
6080
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6081
6081
  }
6082
6082
  }
6083
- new To();
6084
- class Ro extends h {
6085
- constructor() {
6083
+ new Ro();
6084
+ class Io extends h {
6085
+ constructor() {
6086
6086
  super("MiLaboratories.PL.API.NotificationAPI.Get", []);
6087
6087
  }
6088
6088
  create(e) {
@@ -6097,8 +6097,8 @@ class Ro extends h {
6097
6097
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6098
6098
  }
6099
6099
  }
6100
- new Ro();
6101
- class Io extends h {
6100
+ new Io();
6101
+ class Po extends h {
6102
6102
  constructor() {
6103
6103
  super("MiLaboratories.PL.API.NotificationAPI.Get.Request", [
6104
6104
  {
@@ -6151,8 +6151,8 @@ class Io extends h {
6151
6151
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6152
6152
  }
6153
6153
  }
6154
- const Q = new Io();
6155
- class Po extends h {
6154
+ const Q = new Po();
6155
+ class _o extends h {
6156
6156
  constructor() {
6157
6157
  super("MiLaboratories.PL.API.NotificationAPI.Get.Response", [
6158
6158
  { no: 1, name: "notifications", kind: "message", repeat: 1, T: () => V }
@@ -6188,8 +6188,8 @@ class Po extends h {
6188
6188
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6189
6189
  }
6190
6190
  }
6191
- const ee = new Po();
6192
- class _o extends h {
6191
+ const ee = new _o();
6192
+ class Ao extends h {
6193
6193
  constructor() {
6194
6194
  super("MiLaboratories.PL.API.NotificationAPI.Ack", []);
6195
6195
  }
@@ -6205,8 +6205,8 @@ class _o extends h {
6205
6205
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6206
6206
  }
6207
6207
  }
6208
- new _o();
6209
- class Ao extends h {
6208
+ new Ao();
6209
+ class Lo extends h {
6210
6210
  constructor() {
6211
6211
  super("MiLaboratories.PL.API.NotificationAPI.Ack.Request", [
6212
6212
  {
@@ -6260,8 +6260,8 @@ class Ao extends h {
6260
6260
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6261
6261
  }
6262
6262
  }
6263
- const xt = new Ao();
6264
- class Lo extends h {
6263
+ const xt = new Lo();
6264
+ class Bo extends h {
6265
6265
  constructor() {
6266
6266
  super("MiLaboratories.PL.API.NotificationAPI.Ack.Response", []);
6267
6267
  }
@@ -6277,8 +6277,8 @@ class Lo extends h {
6277
6277
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6278
6278
  }
6279
6279
  }
6280
- const Wt = new Lo();
6281
- class Bo extends h {
6280
+ const Wt = new Bo();
6281
+ class No extends h {
6282
6282
  constructor() {
6283
6283
  super("MiLaboratories.PL.API.NotificationAPI.Discard", []);
6284
6284
  }
@@ -6294,8 +6294,8 @@ class Bo extends h {
6294
6294
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6295
6295
  }
6296
6296
  }
6297
- new Bo();
6298
- class No extends h {
6297
+ new No();
6298
+ class Fo extends h {
6299
6299
  constructor() {
6300
6300
  super("MiLaboratories.PL.API.NotificationAPI.Discard.Request", [
6301
6301
  {
@@ -6349,8 +6349,8 @@ class No extends h {
6349
6349
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6350
6350
  }
6351
6351
  }
6352
- const Ut = new No();
6353
- class Fo extends h {
6352
+ const Ut = new Fo();
6353
+ class xo extends h {
6354
6354
  constructor() {
6355
6355
  super("MiLaboratories.PL.API.NotificationAPI.Discard.Response", []);
6356
6356
  }
@@ -6366,8 +6366,8 @@ class Fo extends h {
6366
6366
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6367
6367
  }
6368
6368
  }
6369
- const $t = new Fo();
6370
- class xo extends h {
6369
+ const $t = new xo();
6370
+ class Wo extends h {
6371
6371
  constructor() {
6372
6372
  super("MiLaboratories.PL.API.SubscriptionAPI", []);
6373
6373
  }
@@ -6383,8 +6383,8 @@ class xo extends h {
6383
6383
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6384
6384
  }
6385
6385
  }
6386
- new xo();
6387
- class Wo extends h {
6386
+ new Wo();
6387
+ class Uo extends h {
6388
6388
  constructor() {
6389
6389
  super("MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription", []);
6390
6390
  }
@@ -6400,8 +6400,8 @@ class Wo extends h {
6400
6400
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6401
6401
  }
6402
6402
  }
6403
- new Wo();
6404
- class Uo extends h {
6403
+ new Uo();
6404
+ class $o extends h {
6405
6405
  constructor() {
6406
6406
  super("MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription.Request", [
6407
6407
  {
@@ -6465,8 +6465,8 @@ class Uo extends h {
6465
6465
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6466
6466
  }
6467
6467
  }
6468
- const Et = new Uo();
6469
- class $o extends h {
6468
+ const Et = new $o();
6469
+ class Eo extends h {
6470
6470
  constructor() {
6471
6471
  super("MiLaboratories.PL.API.SubscriptionAPI.CreateSubscription.Response", [
6472
6472
  {
@@ -6508,8 +6508,8 @@ class $o extends h {
6508
6508
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6509
6509
  }
6510
6510
  }
6511
- const St = new $o();
6512
- class Eo extends h {
6511
+ const St = new Eo();
6512
+ class So extends h {
6513
6513
  constructor() {
6514
6514
  super("MiLaboratories.PL.API.SubscriptionAPI.CreateFilter", []);
6515
6515
  }
@@ -6525,8 +6525,8 @@ class Eo extends h {
6525
6525
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6526
6526
  }
6527
6527
  }
6528
- new Eo();
6529
- class So extends h {
6528
+ new So();
6529
+ class Co extends h {
6530
6530
  constructor() {
6531
6531
  super("MiLaboratories.PL.API.SubscriptionAPI.CreateFilter.Request", [
6532
6532
  {
@@ -6537,7 +6537,7 @@ class So extends h {
6537
6537
  L: 0
6538
6538
  /*LongType.BIGINT*/
6539
6539
  },
6540
- { no: 2, name: "filter", kind: "message", T: () => P }
6540
+ { no: 2, name: "filter", kind: "message", T: () => _ }
6541
6541
  ]);
6542
6542
  }
6543
6543
  create(e) {
@@ -6555,7 +6555,7 @@ class So extends h {
6555
6555
  break;
6556
6556
  case /* MiLaboratories.PL.RTypes.NotificationFilter filter */
6557
6557
  2:
6558
- r.filter = P.internalBinaryRead(e, e.uint32(), i, r.filter);
6558
+ r.filter = _.internalBinaryRead(e, e.uint32(), i, r.filter);
6559
6559
  break;
6560
6560
  default:
6561
6561
  let s = i.readUnknownField;
@@ -6568,13 +6568,13 @@ class So extends h {
6568
6568
  return r;
6569
6569
  }
6570
6570
  internalBinaryWrite(e, t, i) {
6571
- e.id !== 0n && t.tag(1, c.Varint).uint64(e.id), e.filter && P.internalBinaryWrite(e.filter, t.tag(2, c.LengthDelimited).fork(), i).join();
6571
+ e.id !== 0n && t.tag(1, c.Varint).uint64(e.id), e.filter && _.internalBinaryWrite(e.filter, t.tag(2, c.LengthDelimited).fork(), i).join();
6572
6572
  let n = i.writeUnknownFields;
6573
6573
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6574
6574
  }
6575
6575
  }
6576
- const Ct = new So();
6577
- class Co extends h {
6576
+ const Ct = new Co();
6577
+ class Do extends h {
6578
6578
  constructor() {
6579
6579
  super("MiLaboratories.PL.API.SubscriptionAPI.CreateFilter.Response", [
6580
6580
  {
@@ -6616,8 +6616,8 @@ class Co extends h {
6616
6616
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6617
6617
  }
6618
6618
  }
6619
- const Dt = new Co();
6620
- class Do extends h {
6619
+ const Dt = new Do();
6620
+ class Oo extends h {
6621
6621
  constructor() {
6622
6622
  super("MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions", []);
6623
6623
  }
@@ -6633,8 +6633,8 @@ class Do extends h {
6633
6633
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6634
6634
  }
6635
6635
  }
6636
- new Do();
6637
- class Oo extends h {
6636
+ new Oo();
6637
+ class Ko extends h {
6638
6638
  constructor() {
6639
6639
  super("MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions.SubscriptionInfo", [
6640
6640
  { no: 1, name: "subscription", kind: "message", T: () => we },
@@ -6693,8 +6693,8 @@ class Oo extends h {
6693
6693
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6694
6694
  }
6695
6695
  }
6696
- const Ot = new Oo();
6697
- class Ko extends h {
6696
+ const Ot = new Ko();
6697
+ class qo extends h {
6698
6698
  constructor() {
6699
6699
  super("MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions.Request", []);
6700
6700
  }
@@ -6710,8 +6710,8 @@ class Ko extends h {
6710
6710
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6711
6711
  }
6712
6712
  }
6713
- new Ko();
6714
- class qo extends h {
6713
+ new qo();
6714
+ class Vo extends h {
6715
6715
  constructor() {
6716
6716
  super("MiLaboratories.PL.API.SubscriptionAPI.ListSubscriptions.Response", [
6717
6717
  { no: 1, name: "subscriptions", kind: "message", repeat: 1, T: () => Ot }
@@ -6747,8 +6747,8 @@ class qo extends h {
6747
6747
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6748
6748
  }
6749
6749
  }
6750
- new qo();
6751
- class Vo extends h {
6750
+ new Vo();
6751
+ class vo extends h {
6752
6752
  constructor() {
6753
6753
  super("MiLaboratories.PL.API.SubscriptionAPI.AttachFilter", []);
6754
6754
  }
@@ -6764,8 +6764,8 @@ class Vo extends h {
6764
6764
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6765
6765
  }
6766
6766
  }
6767
- new Vo();
6768
- class vo extends h {
6767
+ new vo();
6768
+ class jo extends h {
6769
6769
  constructor() {
6770
6770
  super("MiLaboratories.PL.API.SubscriptionAPI.AttachFilter.Request", [
6771
6771
  {
@@ -6830,8 +6830,8 @@ class vo extends h {
6830
6830
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6831
6831
  }
6832
6832
  }
6833
- const te = new vo();
6834
- class jo extends h {
6833
+ const te = new jo();
6834
+ class Mo extends h {
6835
6835
  constructor() {
6836
6836
  super("MiLaboratories.PL.API.SubscriptionAPI.AttachFilter.Response", []);
6837
6837
  }
@@ -6847,8 +6847,8 @@ class jo extends h {
6847
6847
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6848
6848
  }
6849
6849
  }
6850
- const ne = new jo();
6851
- class Mo extends h {
6850
+ const ne = new Mo();
6851
+ class Go extends h {
6852
6852
  constructor() {
6853
6853
  super("MiLaboratories.PL.API.SubscriptionAPI.DetachFilter", []);
6854
6854
  }
@@ -6864,8 +6864,8 @@ class Mo extends h {
6864
6864
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6865
6865
  }
6866
6866
  }
6867
- new Mo();
6868
- class Go extends h {
6867
+ new Go();
6868
+ class Jo extends h {
6869
6869
  constructor() {
6870
6870
  super("MiLaboratories.PL.API.SubscriptionAPI.DetachFilter.Request", [
6871
6871
  {
@@ -6918,8 +6918,8 @@ class Go extends h {
6918
6918
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6919
6919
  }
6920
6920
  }
6921
- const ie = new Go();
6922
- class Jo extends h {
6921
+ const ie = new Jo();
6922
+ class zo extends h {
6923
6923
  constructor() {
6924
6924
  super("MiLaboratories.PL.API.SubscriptionAPI.DetachFilter.Response", []);
6925
6925
  }
@@ -6935,8 +6935,8 @@ class Jo extends h {
6935
6935
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6936
6936
  }
6937
6937
  }
6938
- const re = new Jo();
6939
- class zo extends h {
6938
+ const re = new zo();
6939
+ class Ho extends h {
6940
6940
  constructor() {
6941
6941
  super("MiLaboratories.PL.API.ControllerAPI", []);
6942
6942
  }
@@ -6952,8 +6952,8 @@ class zo extends h {
6952
6952
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6953
6953
  }
6954
6954
  }
6955
- new zo();
6956
- class Ho extends h {
6955
+ new Ho();
6956
+ class Yo extends h {
6957
6957
  constructor() {
6958
6958
  super("MiLaboratories.PL.API.ControllerAPI.Register", []);
6959
6959
  }
@@ -6969,8 +6969,8 @@ class Ho extends h {
6969
6969
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
6970
6970
  }
6971
6971
  }
6972
- new Ho();
6973
- class Yo extends h {
6972
+ new Yo();
6973
+ class Zo extends h {
6974
6974
  constructor() {
6975
6975
  super("MiLaboratories.PL.API.ControllerAPI.Register.Request", [
6976
6976
  {
@@ -6980,7 +6980,7 @@ class Yo extends h {
6980
6980
  T: 9
6981
6981
  /*ScalarType.STRING*/
6982
6982
  },
6983
- { no: 2, name: "filters", kind: "map", K: 9, V: { kind: "message", T: () => P } },
6983
+ { no: 2, name: "filters", kind: "map", K: 9, V: { kind: "message", T: () => _ } },
6984
6984
  { no: 3, name: "resource_schemas", kind: "message", repeat: 1, T: () => v }
6985
6985
  ]);
6986
6986
  }
@@ -7024,26 +7024,26 @@ class Yo extends h {
7024
7024
  d = t.string();
7025
7025
  break;
7026
7026
  case 2:
7027
- a = P.internalBinaryRead(t, t.uint32(), i);
7027
+ a = _.internalBinaryRead(t, t.uint32(), i);
7028
7028
  break;
7029
7029
  default:
7030
7030
  throw new globalThis.Error("unknown map entry field for field MiLaboratories.PL.API.ControllerAPI.Register.Request.filters");
7031
7031
  }
7032
7032
  }
7033
- e[d ?? ""] = a ?? P.create();
7033
+ e[d ?? ""] = a ?? _.create();
7034
7034
  }
7035
7035
  internalBinaryWrite(e, t, i) {
7036
7036
  e.controllerType !== "" && t.tag(1, c.LengthDelimited).string(e.controllerType);
7037
7037
  for (let r of globalThis.Object.keys(e.filters))
7038
- t.tag(2, c.LengthDelimited).fork().tag(1, c.LengthDelimited).string(r), t.tag(2, c.LengthDelimited).fork(), P.internalBinaryWrite(e.filters[r], t, i), t.join().join();
7038
+ t.tag(2, c.LengthDelimited).fork().tag(1, c.LengthDelimited).string(r), t.tag(2, c.LengthDelimited).fork(), _.internalBinaryWrite(e.filters[r], t, i), t.join().join();
7039
7039
  for (let r = 0; r < e.resourceSchemas.length; r++)
7040
7040
  v.internalBinaryWrite(e.resourceSchemas[r], t.tag(3, c.LengthDelimited).fork(), i).join();
7041
7041
  let n = i.writeUnknownFields;
7042
7042
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7043
7043
  }
7044
7044
  }
7045
- const Zo = new Yo();
7046
- class Xo extends h {
7045
+ const Xo = new Zo();
7046
+ class Qo extends h {
7047
7047
  constructor() {
7048
7048
  super("MiLaboratories.PL.API.ControllerAPI.Register.Response", [
7049
7049
  {
@@ -7097,8 +7097,8 @@ class Xo extends h {
7097
7097
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7098
7098
  }
7099
7099
  }
7100
- const Qo = new Xo();
7101
- class ea extends h {
7100
+ const ea = new Qo();
7101
+ class ta extends h {
7102
7102
  constructor() {
7103
7103
  super("MiLaboratories.PL.API.ControllerAPI.Exists", []);
7104
7104
  }
@@ -7114,8 +7114,8 @@ class ea extends h {
7114
7114
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7115
7115
  }
7116
7116
  }
7117
- new ea();
7118
- class ta extends h {
7117
+ new ta();
7118
+ class na extends h {
7119
7119
  constructor() {
7120
7120
  super("MiLaboratories.PL.API.ControllerAPI.Exists.Request", [
7121
7121
  {
@@ -7156,8 +7156,8 @@ class ta extends h {
7156
7156
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7157
7157
  }
7158
7158
  }
7159
- const na = new ta();
7160
- class ia extends h {
7159
+ const ia = new na();
7160
+ class ra extends h {
7161
7161
  constructor() {
7162
7162
  super("MiLaboratories.PL.API.ControllerAPI.Exists.Response", [
7163
7163
  {
@@ -7198,8 +7198,8 @@ class ia extends h {
7198
7198
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7199
7199
  }
7200
7200
  }
7201
- const ra = new ia();
7202
- class sa extends h {
7201
+ const sa = new ra();
7202
+ class oa extends h {
7203
7203
  constructor() {
7204
7204
  super("MiLaboratories.PL.API.ControllerAPI.Update", []);
7205
7205
  }
@@ -7215,8 +7215,8 @@ class sa extends h {
7215
7215
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7216
7216
  }
7217
7217
  }
7218
- new sa();
7219
- class oa extends h {
7218
+ new oa();
7219
+ class aa extends h {
7220
7220
  constructor() {
7221
7221
  super("MiLaboratories.PL.API.ControllerAPI.Update.Request", [
7222
7222
  {
@@ -7226,7 +7226,7 @@ class oa extends h {
7226
7226
  T: 9
7227
7227
  /*ScalarType.STRING*/
7228
7228
  },
7229
- { no: 2, name: "filters", kind: "map", K: 9, V: { kind: "message", T: () => P } },
7229
+ { no: 2, name: "filters", kind: "map", K: 9, V: { kind: "message", T: () => _ } },
7230
7230
  { no: 3, name: "resource_schemas", kind: "message", repeat: 1, T: () => v }
7231
7231
  ]);
7232
7232
  }
@@ -7270,26 +7270,26 @@ class oa extends h {
7270
7270
  d = t.string();
7271
7271
  break;
7272
7272
  case 2:
7273
- a = P.internalBinaryRead(t, t.uint32(), i);
7273
+ a = _.internalBinaryRead(t, t.uint32(), i);
7274
7274
  break;
7275
7275
  default:
7276
7276
  throw new globalThis.Error("unknown map entry field for field MiLaboratories.PL.API.ControllerAPI.Update.Request.filters");
7277
7277
  }
7278
7278
  }
7279
- e[d ?? ""] = a ?? P.create();
7279
+ e[d ?? ""] = a ?? _.create();
7280
7280
  }
7281
7281
  internalBinaryWrite(e, t, i) {
7282
7282
  e.controllerType !== "" && t.tag(1, c.LengthDelimited).string(e.controllerType);
7283
7283
  for (let r of globalThis.Object.keys(e.filters))
7284
- t.tag(2, c.LengthDelimited).fork().tag(1, c.LengthDelimited).string(r), t.tag(2, c.LengthDelimited).fork(), P.internalBinaryWrite(e.filters[r], t, i), t.join().join();
7284
+ t.tag(2, c.LengthDelimited).fork().tag(1, c.LengthDelimited).string(r), t.tag(2, c.LengthDelimited).fork(), _.internalBinaryWrite(e.filters[r], t, i), t.join().join();
7285
7285
  for (let r = 0; r < e.resourceSchemas.length; r++)
7286
7286
  v.internalBinaryWrite(e.resourceSchemas[r], t.tag(3, c.LengthDelimited).fork(), i).join();
7287
7287
  let n = i.writeUnknownFields;
7288
7288
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7289
7289
  }
7290
7290
  }
7291
- const aa = new oa();
7292
- class la extends h {
7291
+ const la = new aa();
7292
+ class ca extends h {
7293
7293
  constructor() {
7294
7294
  super("MiLaboratories.PL.API.ControllerAPI.Update.Response", []);
7295
7295
  }
@@ -7305,8 +7305,8 @@ class la extends h {
7305
7305
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7306
7306
  }
7307
7307
  }
7308
- const ca = new la();
7309
- class ua extends h {
7308
+ const ua = new ca();
7309
+ class da extends h {
7310
7310
  constructor() {
7311
7311
  super("MiLaboratories.PL.API.ControllerAPI.Deregister", []);
7312
7312
  }
@@ -7322,8 +7322,8 @@ class ua extends h {
7322
7322
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7323
7323
  }
7324
7324
  }
7325
- new ua();
7326
- class da extends h {
7325
+ new da();
7326
+ class fa extends h {
7327
7327
  constructor() {
7328
7328
  super("MiLaboratories.PL.API.ControllerAPI.Deregister.Request", [
7329
7329
  {
@@ -7364,8 +7364,8 @@ class da extends h {
7364
7364
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7365
7365
  }
7366
7366
  }
7367
- const fa = new da();
7368
- class ha extends h {
7367
+ const ha = new fa();
7368
+ class pa extends h {
7369
7369
  constructor() {
7370
7370
  super("MiLaboratories.PL.API.ControllerAPI.Deregister.Response", []);
7371
7371
  }
@@ -7381,8 +7381,8 @@ class ha extends h {
7381
7381
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7382
7382
  }
7383
7383
  }
7384
- const pa = new ha();
7385
- class ya extends h {
7384
+ const ya = new pa();
7385
+ class ga extends h {
7386
7386
  constructor() {
7387
7387
  super("MiLaboratories.PL.API.ControllerAPI.Create", []);
7388
7388
  }
@@ -7398,8 +7398,8 @@ class ya extends h {
7398
7398
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7399
7399
  }
7400
7400
  }
7401
- new ya();
7402
- class ga extends h {
7401
+ new ga();
7402
+ class ma extends h {
7403
7403
  constructor() {
7404
7404
  super("MiLaboratories.PL.API.ControllerAPI.Create.Request", [
7405
7405
  {
@@ -7452,8 +7452,8 @@ class ga extends h {
7452
7452
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7453
7453
  }
7454
7454
  }
7455
- const ma = new ga();
7456
- class ka extends h {
7455
+ const ka = new ma();
7456
+ class ba extends h {
7457
7457
  constructor() {
7458
7458
  super("MiLaboratories.PL.API.ControllerAPI.Create.Response", [
7459
7459
  {
@@ -7495,8 +7495,8 @@ class ka extends h {
7495
7495
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7496
7496
  }
7497
7497
  }
7498
- const ba = new ka();
7499
- class wa extends h {
7498
+ const wa = new ba();
7499
+ class Ta extends h {
7500
7500
  constructor() {
7501
7501
  super("MiLaboratories.PL.API.ControllerAPI.Get", []);
7502
7502
  }
@@ -7512,8 +7512,8 @@ class wa extends h {
7512
7512
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7513
7513
  }
7514
7514
  }
7515
- new wa();
7516
- class Ta extends h {
7515
+ new Ta();
7516
+ class Ra extends h {
7517
7517
  constructor() {
7518
7518
  super("MiLaboratories.PL.API.ControllerAPI.Get.Request", [
7519
7519
  {
@@ -7554,8 +7554,8 @@ class Ta extends h {
7554
7554
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7555
7555
  }
7556
7556
  }
7557
- const Ra = new Ta();
7558
- class Ia extends h {
7557
+ const Ia = new Ra();
7558
+ class Pa extends h {
7559
7559
  constructor() {
7560
7560
  super("MiLaboratories.PL.API.ControllerAPI.Get.Response", [
7561
7561
  { no: 1, name: "controller", kind: "message", T: () => Te }
@@ -7590,8 +7590,8 @@ class Ia extends h {
7590
7590
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7591
7591
  }
7592
7592
  }
7593
- const Pa = new Ia();
7594
- class _a extends h {
7593
+ const _a = new Pa();
7594
+ class Aa extends h {
7595
7595
  constructor() {
7596
7596
  super("MiLaboratories.PL.API.ControllerAPI.AttachSubscription", []);
7597
7597
  }
@@ -7607,8 +7607,8 @@ class _a extends h {
7607
7607
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7608
7608
  }
7609
7609
  }
7610
- new _a();
7611
- class Aa extends h {
7610
+ new Aa();
7611
+ class La extends h {
7612
7612
  constructor() {
7613
7613
  super("MiLaboratories.PL.API.ControllerAPI.AttachSubscription.Request", [
7614
7614
  {
@@ -7662,8 +7662,8 @@ class Aa extends h {
7662
7662
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7663
7663
  }
7664
7664
  }
7665
- const La = new Aa();
7666
- class Ba extends h {
7665
+ const Ba = new La();
7666
+ class Na extends h {
7667
7667
  constructor() {
7668
7668
  super("MiLaboratories.PL.API.ControllerAPI.AttachSubscription.Response", []);
7669
7669
  }
@@ -7679,8 +7679,8 @@ class Ba extends h {
7679
7679
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7680
7680
  }
7681
7681
  }
7682
- const Na = new Ba();
7683
- class Fa extends h {
7682
+ const Fa = new Na();
7683
+ class xa extends h {
7684
7684
  constructor() {
7685
7685
  super("MiLaboratories.PL.API.ControllerAPI.GetNotifications", []);
7686
7686
  }
@@ -7696,8 +7696,8 @@ class Fa extends h {
7696
7696
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7697
7697
  }
7698
7698
  }
7699
- new Fa();
7700
- class xa extends h {
7699
+ new xa();
7700
+ class Wa extends h {
7701
7701
  constructor() {
7702
7702
  super("MiLaboratories.PL.API.ControllerAPI.GetNotifications.Request", [
7703
7703
  {
@@ -7749,8 +7749,8 @@ class xa extends h {
7749
7749
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7750
7750
  }
7751
7751
  }
7752
- const Wa = new xa();
7753
- class Ua extends h {
7752
+ const Ua = new Wa();
7753
+ class $a extends h {
7754
7754
  constructor() {
7755
7755
  super("MiLaboratories.PL.API.ControllerAPI.GetNotifications.Response", [
7756
7756
  { no: 1, name: "notifications", kind: "message", repeat: 1, T: () => V }
@@ -7786,8 +7786,8 @@ class Ua extends h {
7786
7786
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7787
7787
  }
7788
7788
  }
7789
- const $a = new Ua();
7790
- class Ea extends h {
7789
+ const Ea = new $a();
7790
+ class Sa extends h {
7791
7791
  constructor() {
7792
7792
  super("MiLaboratories.PL.API.ControllerAPI.WriteAliasesAndUrls", []);
7793
7793
  }
@@ -7803,8 +7803,8 @@ class Ea extends h {
7803
7803
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7804
7804
  }
7805
7805
  }
7806
- new Ea();
7807
- class Sa extends h {
7806
+ new Sa();
7807
+ class Ca extends h {
7808
7808
  constructor() {
7809
7809
  super("MiLaboratories.PL.API.ControllerAPI.WriteAliasesAndUrls.Request", [
7810
7810
  {
@@ -7873,8 +7873,8 @@ class Sa extends h {
7873
7873
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7874
7874
  }
7875
7875
  }
7876
- const Ca = new Sa();
7877
- class Da extends h {
7876
+ const Da = new Ca();
7877
+ class Oa extends h {
7878
7878
  constructor() {
7879
7879
  super("MiLaboratories.PL.API.ControllerAPI.WriteAliasesAndUrls.Response", []);
7880
7880
  }
@@ -7890,8 +7890,8 @@ class Da extends h {
7890
7890
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7891
7891
  }
7892
7892
  }
7893
- const Oa = new Da();
7894
- class Ka extends h {
7893
+ const Ka = new Oa();
7894
+ class qa extends h {
7895
7895
  constructor() {
7896
7896
  super("MiLaboratories.PL.API.ControllerAPI.GetUrl", []);
7897
7897
  }
@@ -7907,8 +7907,8 @@ class Ka extends h {
7907
7907
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7908
7908
  }
7909
7909
  }
7910
- new Ka();
7911
- class qa extends h {
7910
+ new qa();
7911
+ class Va extends h {
7912
7912
  constructor() {
7913
7913
  super("MiLaboratories.PL.API.ControllerAPI.GetUrl.Request", [
7914
7914
  {
@@ -7961,8 +7961,8 @@ class qa extends h {
7961
7961
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
7962
7962
  }
7963
7963
  }
7964
- const Va = new qa();
7965
- class va extends h {
7964
+ const va = new Va();
7965
+ class ja extends h {
7966
7966
  constructor() {
7967
7967
  super("MiLaboratories.PL.API.ControllerAPI.GetUrl.Response", [
7968
7968
  {
@@ -8003,8 +8003,8 @@ class va extends h {
8003
8003
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8004
8004
  }
8005
8005
  }
8006
- const ja = new va();
8007
- class Ma extends h {
8006
+ const Ma = new ja();
8007
+ class Ga extends h {
8008
8008
  constructor() {
8009
8009
  super("MiLaboratories.PL.API.ControllerAPI.RemoveAliasesAndUrls", []);
8010
8010
  }
@@ -8020,8 +8020,8 @@ class Ma extends h {
8020
8020
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8021
8021
  }
8022
8022
  }
8023
- new Ma();
8024
- class Ga extends h {
8023
+ new Ga();
8024
+ class Ja extends h {
8025
8025
  constructor() {
8026
8026
  super("MiLaboratories.PL.API.ControllerAPI.RemoveAliasesAndUrls.Request", [
8027
8027
  {
@@ -8062,8 +8062,8 @@ class Ga extends h {
8062
8062
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8063
8063
  }
8064
8064
  }
8065
- const Ja = new Ga();
8066
- class za extends h {
8065
+ const za = new Ja();
8066
+ class Ha extends h {
8067
8067
  constructor() {
8068
8068
  super("MiLaboratories.PL.API.ControllerAPI.RemoveAliasesAndUrls.Response", []);
8069
8069
  }
@@ -8079,8 +8079,8 @@ class za extends h {
8079
8079
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8080
8080
  }
8081
8081
  }
8082
- const Ha = new za();
8083
- class Ya extends h {
8082
+ const Ya = new Ha();
8083
+ class Za extends h {
8084
8084
  constructor() {
8085
8085
  super("MiLaboratories.PL.API.ControllerAPI.SetFeatures", []);
8086
8086
  }
@@ -8096,8 +8096,8 @@ class Ya extends h {
8096
8096
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8097
8097
  }
8098
8098
  }
8099
- new Ya();
8100
- class Za extends h {
8099
+ new Za();
8100
+ class Xa extends h {
8101
8101
  constructor() {
8102
8102
  super("MiLaboratories.PL.API.ControllerAPI.SetFeatures.Request", [
8103
8103
  { no: 2, name: "features", kind: "message", repeat: 1, T: () => Ie }
@@ -8133,8 +8133,8 @@ class Za extends h {
8133
8133
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8134
8134
  }
8135
8135
  }
8136
- const se = new Za();
8137
- class Xa extends h {
8136
+ const se = new Xa();
8137
+ class Qa extends h {
8138
8138
  constructor() {
8139
8139
  super("MiLaboratories.PL.API.ControllerAPI.SetFeatures.Response", []);
8140
8140
  }
@@ -8150,8 +8150,8 @@ class Xa extends h {
8150
8150
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8151
8151
  }
8152
8152
  }
8153
- const oe = new Xa();
8154
- class Qa extends h {
8153
+ const oe = new Qa();
8154
+ class el extends h {
8155
8155
  constructor() {
8156
8156
  super("MiLaboratories.PL.API.ControllerAPI.ClearFeatures", []);
8157
8157
  }
@@ -8167,8 +8167,8 @@ class Qa extends h {
8167
8167
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8168
8168
  }
8169
8169
  }
8170
- new Qa();
8171
- class el extends h {
8170
+ new el();
8171
+ class tl extends h {
8172
8172
  constructor() {
8173
8173
  super("MiLaboratories.PL.API.ControllerAPI.ClearFeatures.Request", [
8174
8174
  {
@@ -8209,8 +8209,8 @@ class el extends h {
8209
8209
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8210
8210
  }
8211
8211
  }
8212
- const ae = new el();
8213
- class tl extends h {
8212
+ const ae = new tl();
8213
+ class nl extends h {
8214
8214
  constructor() {
8215
8215
  super("MiLaboratories.PL.API.ControllerAPI.ClearFeatures.Response", []);
8216
8216
  }
@@ -8226,8 +8226,8 @@ class tl extends h {
8226
8226
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8227
8227
  }
8228
8228
  }
8229
- const le = new tl();
8230
- class nl extends h {
8229
+ const le = new nl();
8230
+ class il extends h {
8231
8231
  constructor() {
8232
8232
  super("MiLaboratories.PL.API.ResourceKVAPI", []);
8233
8233
  }
@@ -8243,8 +8243,8 @@ class nl extends h {
8243
8243
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8244
8244
  }
8245
8245
  }
8246
- new nl();
8247
- class il extends h {
8246
+ new il();
8247
+ class rl extends h {
8248
8248
  constructor() {
8249
8249
  super("MiLaboratories.PL.API.ResourceKVAPI.List", []);
8250
8250
  }
@@ -8260,8 +8260,8 @@ class il extends h {
8260
8260
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8261
8261
  }
8262
8262
  }
8263
- new il();
8264
- class rl extends h {
8263
+ new rl();
8264
+ class sl extends h {
8265
8265
  constructor() {
8266
8266
  super("MiLaboratories.PL.API.ResourceKVAPI.List.Request", [
8267
8267
  {
@@ -8325,8 +8325,8 @@ class rl extends h {
8325
8325
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8326
8326
  }
8327
8327
  }
8328
- const Kt = new rl();
8329
- class sl extends h {
8328
+ const Kt = new sl();
8329
+ class ol extends h {
8330
8330
  constructor() {
8331
8331
  super("MiLaboratories.PL.API.ResourceKVAPI.List.Response", [
8332
8332
  { no: 1, name: "record", kind: "message", T: () => Vt },
@@ -8372,8 +8372,8 @@ class sl extends h {
8372
8372
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8373
8373
  }
8374
8374
  }
8375
- const qt = new sl();
8376
- class ol extends h {
8375
+ const qt = new ol();
8376
+ class al extends h {
8377
8377
  constructor() {
8378
8378
  super("MiLaboratories.PL.API.ResourceKVAPI.List.Response.KV", [
8379
8379
  {
@@ -8425,8 +8425,8 @@ class ol extends h {
8425
8425
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8426
8426
  }
8427
8427
  }
8428
- const Vt = new ol();
8429
- class al extends h {
8428
+ const Vt = new al();
8429
+ class ll extends h {
8430
8430
  constructor() {
8431
8431
  super("MiLaboratories.PL.API.ResourceKVAPI.Set", []);
8432
8432
  }
@@ -8442,8 +8442,8 @@ class al extends h {
8442
8442
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8443
8443
  }
8444
8444
  }
8445
- new al();
8446
- class ll extends h {
8445
+ new ll();
8446
+ class cl extends h {
8447
8447
  constructor() {
8448
8448
  super("MiLaboratories.PL.API.ResourceKVAPI.Set.Request", [
8449
8449
  {
@@ -8507,8 +8507,8 @@ class ll extends h {
8507
8507
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8508
8508
  }
8509
8509
  }
8510
- const vt = new ll();
8511
- class cl extends h {
8510
+ const vt = new cl();
8511
+ class ul extends h {
8512
8512
  constructor() {
8513
8513
  super("MiLaboratories.PL.API.ResourceKVAPI.Set.Response", []);
8514
8514
  }
@@ -8524,8 +8524,8 @@ class cl extends h {
8524
8524
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8525
8525
  }
8526
8526
  }
8527
- const jt = new cl();
8528
- class ul extends h {
8527
+ const jt = new ul();
8528
+ class dl extends h {
8529
8529
  constructor() {
8530
8530
  super("MiLaboratories.PL.API.ResourceKVAPI.Get", []);
8531
8531
  }
@@ -8541,8 +8541,8 @@ class ul extends h {
8541
8541
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8542
8542
  }
8543
8543
  }
8544
- new ul();
8545
- class dl extends h {
8544
+ new dl();
8545
+ class fl extends h {
8546
8546
  constructor() {
8547
8547
  super("MiLaboratories.PL.API.ResourceKVAPI.Get.Request", [
8548
8548
  {
@@ -8595,8 +8595,8 @@ class dl extends h {
8595
8595
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8596
8596
  }
8597
8597
  }
8598
- const Mt = new dl();
8599
- class fl extends h {
8598
+ const Mt = new fl();
8599
+ class hl extends h {
8600
8600
  constructor() {
8601
8601
  super("MiLaboratories.PL.API.ResourceKVAPI.Get.Response", [
8602
8602
  {
@@ -8637,8 +8637,8 @@ class fl extends h {
8637
8637
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8638
8638
  }
8639
8639
  }
8640
- const Gt = new fl();
8641
- class hl extends h {
8640
+ const Gt = new hl();
8641
+ class pl extends h {
8642
8642
  constructor() {
8643
8643
  super("MiLaboratories.PL.API.ResourceKVAPI.GetIfExists", []);
8644
8644
  }
@@ -8654,8 +8654,8 @@ class hl extends h {
8654
8654
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8655
8655
  }
8656
8656
  }
8657
- new hl();
8658
- class pl extends h {
8657
+ new pl();
8658
+ class yl extends h {
8659
8659
  constructor() {
8660
8660
  super("MiLaboratories.PL.API.ResourceKVAPI.GetIfExists.Request", [
8661
8661
  {
@@ -8708,8 +8708,8 @@ class pl extends h {
8708
8708
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8709
8709
  }
8710
8710
  }
8711
- const Jt = new pl();
8712
- class yl extends h {
8711
+ const Jt = new yl();
8712
+ class gl extends h {
8713
8713
  constructor() {
8714
8714
  super("MiLaboratories.PL.API.ResourceKVAPI.GetIfExists.Response", [
8715
8715
  {
@@ -8761,8 +8761,8 @@ class yl extends h {
8761
8761
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8762
8762
  }
8763
8763
  }
8764
- const zt = new yl();
8765
- class gl extends h {
8764
+ const zt = new gl();
8765
+ class ml extends h {
8766
8766
  constructor() {
8767
8767
  super("MiLaboratories.PL.API.ResourceKVAPI.Delete", []);
8768
8768
  }
@@ -8778,8 +8778,8 @@ class gl extends h {
8778
8778
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8779
8779
  }
8780
8780
  }
8781
- new gl();
8782
- class ml extends h {
8781
+ new ml();
8782
+ class kl extends h {
8783
8783
  constructor() {
8784
8784
  super("MiLaboratories.PL.API.ResourceKVAPI.Delete.Request", [
8785
8785
  {
@@ -8832,8 +8832,8 @@ class ml extends h {
8832
8832
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8833
8833
  }
8834
8834
  }
8835
- const Ht = new ml();
8836
- class kl extends h {
8835
+ const Ht = new kl();
8836
+ class bl extends h {
8837
8837
  constructor() {
8838
8838
  super("MiLaboratories.PL.API.ResourceKVAPI.Delete.Response", []);
8839
8839
  }
@@ -8849,8 +8849,8 @@ class kl extends h {
8849
8849
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8850
8850
  }
8851
8851
  }
8852
- const Yt = new kl();
8853
- class bl extends h {
8852
+ const Yt = new bl();
8853
+ class wl extends h {
8854
8854
  constructor() {
8855
8855
  super("MiLaboratories.PL.API.ResourceKVAPI.SetFlag", []);
8856
8856
  }
@@ -8866,8 +8866,8 @@ class bl extends h {
8866
8866
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8867
8867
  }
8868
8868
  }
8869
- new bl();
8870
- class wl extends h {
8869
+ new wl();
8870
+ class Tl extends h {
8871
8871
  constructor() {
8872
8872
  super("MiLaboratories.PL.API.ResourceKVAPI.SetFlag.Request", [
8873
8873
  {
@@ -8931,8 +8931,8 @@ class wl extends h {
8931
8931
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8932
8932
  }
8933
8933
  }
8934
- const Zt = new wl();
8935
- class Tl extends h {
8934
+ const Zt = new Tl();
8935
+ class Rl extends h {
8936
8936
  constructor() {
8937
8937
  super("MiLaboratories.PL.API.ResourceKVAPI.SetFlag.Response", []);
8938
8938
  }
@@ -8948,8 +8948,8 @@ class Tl extends h {
8948
8948
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8949
8949
  }
8950
8950
  }
8951
- const Xt = new Tl();
8952
- class Rl extends h {
8951
+ const Xt = new Rl();
8952
+ class Il extends h {
8953
8953
  constructor() {
8954
8954
  super("MiLaboratories.PL.API.ResourceKVAPI.GetFlag", []);
8955
8955
  }
@@ -8965,8 +8965,8 @@ class Rl extends h {
8965
8965
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
8966
8966
  }
8967
8967
  }
8968
- new Rl();
8969
- class Il extends h {
8968
+ new Il();
8969
+ class Pl extends h {
8970
8970
  constructor() {
8971
8971
  super("MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Request", [
8972
8972
  {
@@ -9019,8 +9019,8 @@ class Il extends h {
9019
9019
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9020
9020
  }
9021
9021
  }
9022
- const D = new Il();
9023
- class Pl extends h {
9022
+ const D = new Pl();
9023
+ class _l extends h {
9024
9024
  constructor() {
9025
9025
  super("MiLaboratories.PL.API.ResourceKVAPI.GetFlag.Response", [
9026
9026
  {
@@ -9061,8 +9061,8 @@ class Pl extends h {
9061
9061
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9062
9062
  }
9063
9063
  }
9064
- const O = new Pl();
9065
- class _l extends h {
9064
+ const O = new _l();
9065
+ class Al extends h {
9066
9066
  constructor() {
9067
9067
  super("MiLaboratories.PL.API.ControllerKVAPI", []);
9068
9068
  }
@@ -9078,8 +9078,8 @@ class _l extends h {
9078
9078
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9079
9079
  }
9080
9080
  }
9081
- new _l();
9082
- class Al extends h {
9081
+ new Al();
9082
+ class Ll extends h {
9083
9083
  constructor() {
9084
9084
  super("MiLaboratories.PL.API.ControllerKVAPI.Set", []);
9085
9085
  }
@@ -9095,8 +9095,8 @@ class Al extends h {
9095
9095
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9096
9096
  }
9097
9097
  }
9098
- new Al();
9099
- class Ll extends h {
9098
+ new Ll();
9099
+ class Bl extends h {
9100
9100
  constructor() {
9101
9101
  super("MiLaboratories.PL.API.ControllerKVAPI.Set.Request", [
9102
9102
  {
@@ -9159,8 +9159,8 @@ class Ll extends h {
9159
9159
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9160
9160
  }
9161
9161
  }
9162
- const Qt = new Ll();
9163
- class Bl extends h {
9162
+ const Qt = new Bl();
9163
+ class Nl extends h {
9164
9164
  constructor() {
9165
9165
  super("MiLaboratories.PL.API.ControllerKVAPI.Set.Response", []);
9166
9166
  }
@@ -9176,8 +9176,8 @@ class Bl extends h {
9176
9176
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9177
9177
  }
9178
9178
  }
9179
- const en = new Bl();
9180
- class Nl extends h {
9179
+ const en = new Nl();
9180
+ class Fl extends h {
9181
9181
  constructor() {
9182
9182
  super("MiLaboratories.PL.API.ControllerKVAPI.Get", []);
9183
9183
  }
@@ -9193,8 +9193,8 @@ class Nl extends h {
9193
9193
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9194
9194
  }
9195
9195
  }
9196
- new Nl();
9197
- class Fl extends h {
9196
+ new Fl();
9197
+ class xl extends h {
9198
9198
  constructor() {
9199
9199
  super("MiLaboratories.PL.API.ControllerKVAPI.Get.Request", [
9200
9200
  {
@@ -9246,8 +9246,8 @@ class Fl extends h {
9246
9246
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9247
9247
  }
9248
9248
  }
9249
- const tn = new Fl();
9250
- class xl extends h {
9249
+ const tn = new xl();
9250
+ class Wl extends h {
9251
9251
  constructor() {
9252
9252
  super("MiLaboratories.PL.API.ControllerKVAPI.Get.Response", [
9253
9253
  {
@@ -9288,8 +9288,8 @@ class xl extends h {
9288
9288
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9289
9289
  }
9290
9290
  }
9291
- const nn = new xl();
9292
- class Wl extends h {
9291
+ const nn = new Wl();
9292
+ class Ul extends h {
9293
9293
  constructor() {
9294
9294
  super("MiLaboratories.PL.API.ControllerKVAPI.GetIfExists", []);
9295
9295
  }
@@ -9305,8 +9305,8 @@ class Wl extends h {
9305
9305
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9306
9306
  }
9307
9307
  }
9308
- new Wl();
9309
- class Ul extends h {
9308
+ new Ul();
9309
+ class $l extends h {
9310
9310
  constructor() {
9311
9311
  super("MiLaboratories.PL.API.ControllerKVAPI.GetIfExists.Request", [
9312
9312
  {
@@ -9358,8 +9358,8 @@ class Ul extends h {
9358
9358
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9359
9359
  }
9360
9360
  }
9361
- const rn = new Ul();
9362
- class $l extends h {
9361
+ const rn = new $l();
9362
+ class El extends h {
9363
9363
  constructor() {
9364
9364
  super("MiLaboratories.PL.API.ControllerKVAPI.GetIfExists.Response", [
9365
9365
  {
@@ -9411,8 +9411,8 @@ class $l extends h {
9411
9411
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9412
9412
  }
9413
9413
  }
9414
- const sn = new $l();
9415
- class El extends h {
9414
+ const sn = new El();
9415
+ class Sl extends h {
9416
9416
  constructor() {
9417
9417
  super("MiLaboratories.PL.API.CacheAPI", []);
9418
9418
  }
@@ -9428,8 +9428,8 @@ class El extends h {
9428
9428
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9429
9429
  }
9430
9430
  }
9431
- new El();
9432
- class Sl extends h {
9431
+ new Sl();
9432
+ class Cl extends h {
9433
9433
  constructor() {
9434
9434
  super("MiLaboratories.PL.API.CacheAPI.SetToField", []);
9435
9435
  }
@@ -9445,12 +9445,12 @@ class Sl extends h {
9445
9445
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9446
9446
  }
9447
9447
  }
9448
- new Sl();
9449
- class Cl extends h {
9448
+ new Cl();
9449
+ class Dl extends h {
9450
9450
  constructor() {
9451
9451
  super("MiLaboratories.PL.API.CacheAPI.SetToField.Request", [
9452
9452
  { no: 1, name: "id", kind: "message", T: () => m },
9453
- { no: 2, name: "period", kind: "message", T: () => R }
9453
+ { no: 2, name: "period", kind: "message", T: () => I }
9454
9454
  ]);
9455
9455
  }
9456
9456
  create(e) {
@@ -9468,7 +9468,7 @@ class Cl extends h {
9468
9468
  break;
9469
9469
  case /* google.protobuf.Duration period */
9470
9470
  2:
9471
- r.period = R.internalBinaryRead(e, e.uint32(), i, r.period);
9471
+ r.period = I.internalBinaryRead(e, e.uint32(), i, r.period);
9472
9472
  break;
9473
9473
  default:
9474
9474
  let s = i.readUnknownField;
@@ -9481,13 +9481,13 @@ class Cl extends h {
9481
9481
  return r;
9482
9482
  }
9483
9483
  internalBinaryWrite(e, t, i) {
9484
- e.id && m.internalBinaryWrite(e.id, t.tag(1, c.LengthDelimited).fork(), i).join(), e.period && R.internalBinaryWrite(e.period, t.tag(2, c.LengthDelimited).fork(), i).join();
9484
+ e.id && m.internalBinaryWrite(e.id, t.tag(1, c.LengthDelimited).fork(), i).join(), e.period && I.internalBinaryWrite(e.period, t.tag(2, c.LengthDelimited).fork(), i).join();
9485
9485
  let n = i.writeUnknownFields;
9486
9486
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9487
9487
  }
9488
9488
  }
9489
- const on = new Cl();
9490
- class Dl extends h {
9489
+ const on = new Dl();
9490
+ class Ol extends h {
9491
9491
  constructor() {
9492
9492
  super("MiLaboratories.PL.API.CacheAPI.SetToField.Response", []);
9493
9493
  }
@@ -9503,8 +9503,8 @@ class Dl extends h {
9503
9503
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9504
9504
  }
9505
9505
  }
9506
- const an = new Dl();
9507
- class Ol extends h {
9506
+ const an = new Ol();
9507
+ class Kl extends h {
9508
9508
  constructor() {
9509
9509
  super("MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords", []);
9510
9510
  }
@@ -9520,8 +9520,8 @@ class Ol extends h {
9520
9520
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9521
9521
  }
9522
9522
  }
9523
- new Ol();
9524
- class Kl extends h {
9523
+ new Kl();
9524
+ class ql extends h {
9525
9525
  constructor() {
9526
9526
  super("MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Request", []);
9527
9527
  }
@@ -9537,8 +9537,8 @@ class Kl extends h {
9537
9537
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9538
9538
  }
9539
9539
  }
9540
- const ln = new Kl();
9541
- class ql extends h {
9540
+ const ln = new ql();
9541
+ class Vl extends h {
9542
9542
  constructor() {
9543
9543
  super("MiLaboratories.PL.API.CacheAPI.DeleteExpiredRecords.Response", []);
9544
9544
  }
@@ -9554,8 +9554,8 @@ class ql extends h {
9554
9554
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9555
9555
  }
9556
9556
  }
9557
- const cn = new ql();
9558
- class Vl extends h {
9557
+ const cn = new Vl();
9558
+ class vl extends h {
9559
9559
  constructor() {
9560
9560
  super("MiLaboratories.PL.API.LocksAPI", []);
9561
9561
  }
@@ -9571,8 +9571,8 @@ class Vl extends h {
9571
9571
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9572
9572
  }
9573
9573
  }
9574
- new Vl();
9575
- class vl extends h {
9574
+ new vl();
9575
+ class jl extends h {
9576
9576
  constructor() {
9577
9577
  super("MiLaboratories.PL.API.LocksAPI.Lease", []);
9578
9578
  }
@@ -9588,8 +9588,8 @@ class vl extends h {
9588
9588
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9589
9589
  }
9590
9590
  }
9591
- new vl();
9592
- class jl extends h {
9591
+ new jl();
9592
+ class Ml extends h {
9593
9593
  constructor() {
9594
9594
  super("MiLaboratories.PL.API.LocksAPI.Lease.Create", []);
9595
9595
  }
@@ -9605,8 +9605,8 @@ class jl extends h {
9605
9605
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9606
9606
  }
9607
9607
  }
9608
- new jl();
9609
- class Ml extends h {
9608
+ new Ml();
9609
+ class Gl extends h {
9610
9610
  constructor() {
9611
9611
  super("MiLaboratories.PL.API.LocksAPI.Lease.Create.Request", [
9612
9612
  {
@@ -9617,7 +9617,7 @@ class Ml extends h {
9617
9617
  L: 0
9618
9618
  /*LongType.BIGINT*/
9619
9619
  },
9620
- { no: 3, name: "timeout", kind: "message", T: () => R },
9620
+ { no: 3, name: "timeout", kind: "message", T: () => I },
9621
9621
  {
9622
9622
  no: 4,
9623
9623
  name: "name",
@@ -9642,7 +9642,7 @@ class Ml extends h {
9642
9642
  break;
9643
9643
  case /* google.protobuf.Duration timeout */
9644
9644
  3:
9645
- r.timeout = R.internalBinaryRead(e, e.uint32(), i, r.timeout);
9645
+ r.timeout = I.internalBinaryRead(e, e.uint32(), i, r.timeout);
9646
9646
  break;
9647
9647
  case /* string name */
9648
9648
  4:
@@ -9659,13 +9659,13 @@ class Ml extends h {
9659
9659
  return r;
9660
9660
  }
9661
9661
  internalBinaryWrite(e, t, i) {
9662
- e.resourceId !== 0n && t.tag(1, c.Varint).uint64(e.resourceId), e.timeout && R.internalBinaryWrite(e.timeout, t.tag(3, c.LengthDelimited).fork(), i).join(), e.name !== "" && t.tag(4, c.LengthDelimited).string(e.name);
9662
+ e.resourceId !== 0n && t.tag(1, c.Varint).uint64(e.resourceId), e.timeout && I.internalBinaryWrite(e.timeout, t.tag(3, c.LengthDelimited).fork(), i).join(), e.name !== "" && t.tag(4, c.LengthDelimited).string(e.name);
9663
9663
  let n = i.writeUnknownFields;
9664
9664
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9665
9665
  }
9666
9666
  }
9667
- const Gl = new Ml();
9668
- class Jl extends h {
9667
+ const Jl = new Gl();
9668
+ class zl extends h {
9669
9669
  constructor() {
9670
9670
  super("MiLaboratories.PL.API.LocksAPI.Lease.Create.Response", [
9671
9671
  {
@@ -9706,8 +9706,8 @@ class Jl extends h {
9706
9706
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9707
9707
  }
9708
9708
  }
9709
- const zl = new Jl();
9710
- class Hl extends h {
9709
+ const Hl = new zl();
9710
+ class Yl extends h {
9711
9711
  constructor() {
9712
9712
  super("MiLaboratories.PL.API.LocksAPI.Lease.Update", []);
9713
9713
  }
@@ -9723,8 +9723,8 @@ class Hl extends h {
9723
9723
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9724
9724
  }
9725
9725
  }
9726
- new Hl();
9727
- class Yl extends h {
9726
+ new Yl();
9727
+ class Zl extends h {
9728
9728
  constructor() {
9729
9729
  super("MiLaboratories.PL.API.LocksAPI.Lease.Update.Request", [
9730
9730
  {
@@ -9742,7 +9742,7 @@ class Yl extends h {
9742
9742
  T: 12
9743
9743
  /*ScalarType.BYTES*/
9744
9744
  },
9745
- { no: 3, name: "timeout", kind: "message", T: () => R },
9745
+ { no: 3, name: "timeout", kind: "message", T: () => I },
9746
9746
  {
9747
9747
  no: 4,
9748
9748
  name: "name",
@@ -9771,7 +9771,7 @@ class Yl extends h {
9771
9771
  break;
9772
9772
  case /* google.protobuf.Duration timeout */
9773
9773
  3:
9774
- r.timeout = R.internalBinaryRead(e, e.uint32(), i, r.timeout);
9774
+ r.timeout = I.internalBinaryRead(e, e.uint32(), i, r.timeout);
9775
9775
  break;
9776
9776
  case /* string name */
9777
9777
  4:
@@ -9788,13 +9788,13 @@ class Yl extends h {
9788
9788
  return r;
9789
9789
  }
9790
9790
  internalBinaryWrite(e, t, i) {
9791
- e.resourceId !== 0n && t.tag(1, c.Varint).uint64(e.resourceId), e.leaseId.length && t.tag(2, c.LengthDelimited).bytes(e.leaseId), e.timeout && R.internalBinaryWrite(e.timeout, t.tag(3, c.LengthDelimited).fork(), i).join(), e.name !== "" && t.tag(4, c.LengthDelimited).string(e.name);
9791
+ e.resourceId !== 0n && t.tag(1, c.Varint).uint64(e.resourceId), e.leaseId.length && t.tag(2, c.LengthDelimited).bytes(e.leaseId), e.timeout && I.internalBinaryWrite(e.timeout, t.tag(3, c.LengthDelimited).fork(), i).join(), e.name !== "" && t.tag(4, c.LengthDelimited).string(e.name);
9792
9792
  let n = i.writeUnknownFields;
9793
9793
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9794
9794
  }
9795
9795
  }
9796
- const Zl = new Yl();
9797
- class Xl extends h {
9796
+ const Xl = new Zl();
9797
+ class Ql extends h {
9798
9798
  constructor() {
9799
9799
  super("MiLaboratories.PL.API.LocksAPI.Lease.Update.Response", []);
9800
9800
  }
@@ -9810,8 +9810,8 @@ class Xl extends h {
9810
9810
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9811
9811
  }
9812
9812
  }
9813
- const Ql = new Xl();
9814
- class ec extends h {
9813
+ const ec = new Ql();
9814
+ class tc extends h {
9815
9815
  constructor() {
9816
9816
  super("MiLaboratories.PL.API.LocksAPI.Lease.Release", []);
9817
9817
  }
@@ -9827,8 +9827,8 @@ class ec extends h {
9827
9827
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9828
9828
  }
9829
9829
  }
9830
- new ec();
9831
- class tc extends h {
9830
+ new tc();
9831
+ class nc extends h {
9832
9832
  constructor() {
9833
9833
  super("MiLaboratories.PL.API.LocksAPI.Lease.Release.Request", [
9834
9834
  {
@@ -9881,8 +9881,8 @@ class tc extends h {
9881
9881
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9882
9882
  }
9883
9883
  }
9884
- const nc = new tc();
9885
- class ic extends h {
9884
+ const ic = new nc();
9885
+ class rc extends h {
9886
9886
  constructor() {
9887
9887
  super("MiLaboratories.PL.API.LocksAPI.Lease.Release.Response", []);
9888
9888
  }
@@ -9898,8 +9898,8 @@ class ic extends h {
9898
9898
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9899
9899
  }
9900
9900
  }
9901
- const rc = new ic();
9902
- class sc extends h {
9901
+ const sc = new rc();
9902
+ class oc extends h {
9903
9903
  constructor() {
9904
9904
  super("MiLaboratories.PL.API.AuthAPI", []);
9905
9905
  }
@@ -9915,8 +9915,8 @@ class sc extends h {
9915
9915
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9916
9916
  }
9917
9917
  }
9918
- new sc();
9919
- class oc extends h {
9918
+ new oc();
9919
+ class ac extends h {
9920
9920
  constructor() {
9921
9921
  super("MiLaboratories.PL.API.AuthAPI.ListMethods", []);
9922
9922
  }
@@ -9932,8 +9932,8 @@ class oc extends h {
9932
9932
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9933
9933
  }
9934
9934
  }
9935
- new oc();
9936
- class ac extends h {
9935
+ new ac();
9936
+ class lc extends h {
9937
9937
  constructor() {
9938
9938
  super("MiLaboratories.PL.API.AuthAPI.ListMethods.Request", []);
9939
9939
  }
@@ -9949,8 +9949,8 @@ class ac extends h {
9949
9949
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9950
9950
  }
9951
9951
  }
9952
- const lc = new ac();
9953
- class cc extends h {
9952
+ const cc = new lc();
9953
+ class uc extends h {
9954
9954
  constructor() {
9955
9955
  super("MiLaboratories.PL.API.AuthAPI.ListMethods.Response", [
9956
9956
  { no: 1, name: "methods", kind: "message", repeat: 1, T: () => un }
@@ -9986,8 +9986,8 @@ class cc extends h {
9986
9986
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
9987
9987
  }
9988
9988
  }
9989
- const uc = new cc();
9990
- class dc extends h {
9989
+ const dc = new uc();
9990
+ class fc extends h {
9991
9991
  constructor() {
9992
9992
  super("MiLaboratories.PL.API.AuthAPI.ListMethods.MethodInfo", [
9993
9993
  {
@@ -10067,8 +10067,8 @@ class dc extends h {
10067
10067
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
10068
10068
  }
10069
10069
  }
10070
- const un = new dc();
10071
- class fc extends h {
10070
+ const un = new fc();
10071
+ class hc extends h {
10072
10072
  constructor() {
10073
10073
  super("MiLaboratories.PL.API.AuthAPI.GetJWTToken", []);
10074
10074
  }
@@ -10084,11 +10084,11 @@ class fc extends h {
10084
10084
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
10085
10085
  }
10086
10086
  }
10087
- new fc();
10088
- class hc extends h {
10087
+ new hc();
10088
+ class pc extends h {
10089
10089
  constructor() {
10090
10090
  super("MiLaboratories.PL.API.AuthAPI.GetJWTToken.Request", [
10091
- { no: 1, name: "expiration", kind: "message", T: () => R }
10091
+ { no: 1, name: "expiration", kind: "message", T: () => I }
10092
10092
  ]);
10093
10093
  }
10094
10094
  create(e) {
@@ -10102,7 +10102,7 @@ class hc extends h {
10102
10102
  switch (a) {
10103
10103
  case /* google.protobuf.Duration expiration */
10104
10104
  1:
10105
- r.expiration = R.internalBinaryRead(e, e.uint32(), i, r.expiration);
10105
+ r.expiration = I.internalBinaryRead(e, e.uint32(), i, r.expiration);
10106
10106
  break;
10107
10107
  default:
10108
10108
  let s = i.readUnknownField;
@@ -10115,13 +10115,13 @@ class hc extends h {
10115
10115
  return r;
10116
10116
  }
10117
10117
  internalBinaryWrite(e, t, i) {
10118
- e.expiration && R.internalBinaryWrite(e.expiration, t.tag(1, c.LengthDelimited).fork(), i).join();
10118
+ e.expiration && I.internalBinaryWrite(e.expiration, t.tag(1, c.LengthDelimited).fork(), i).join();
10119
10119
  let n = i.writeUnknownFields;
10120
10120
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
10121
10121
  }
10122
10122
  }
10123
- const pc = new hc();
10124
- class yc extends h {
10123
+ const yc = new pc();
10124
+ class gc extends h {
10125
10125
  constructor() {
10126
10126
  super("MiLaboratories.PL.API.AuthAPI.GetJWTToken.Response", [
10127
10127
  {
@@ -10162,8 +10162,8 @@ class yc extends h {
10162
10162
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
10163
10163
  }
10164
10164
  }
10165
- const gc = new yc();
10166
- class mc extends h {
10165
+ const mc = new gc();
10166
+ class kc extends h {
10167
10167
  constructor() {
10168
10168
  super("MiLaboratories.PL.API.MiscAPI", []);
10169
10169
  }
@@ -10179,8 +10179,8 @@ class mc extends h {
10179
10179
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
10180
10180
  }
10181
10181
  }
10182
- new mc();
10183
- class kc extends h {
10182
+ new kc();
10183
+ class bc extends h {
10184
10184
  constructor() {
10185
10185
  super("MiLaboratories.PL.API.MiscAPI.ListResourceTypes", []);
10186
10186
  }
@@ -10196,8 +10196,8 @@ class kc extends h {
10196
10196
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
10197
10197
  }
10198
10198
  }
10199
- new kc();
10200
- class bc extends h {
10199
+ new bc();
10200
+ class wc extends h {
10201
10201
  constructor() {
10202
10202
  super("MiLaboratories.PL.API.MiscAPI.ListResourceTypes.Request", []);
10203
10203
  }
@@ -10213,8 +10213,8 @@ class bc extends h {
10213
10213
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
10214
10214
  }
10215
10215
  }
10216
- const wc = new bc();
10217
- class Tc extends h {
10216
+ const Tc = new wc();
10217
+ class Rc extends h {
10218
10218
  constructor() {
10219
10219
  super("MiLaboratories.PL.API.MiscAPI.ListResourceTypes.Response", [
10220
10220
  { no: 1, name: "types", kind: "message", repeat: 1, T: () => g }
@@ -10250,8 +10250,8 @@ class Tc extends h {
10250
10250
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
10251
10251
  }
10252
10252
  }
10253
- const Rc = new Tc();
10254
- class Ic extends h {
10253
+ const Ic = new Rc();
10254
+ class Pc extends h {
10255
10255
  constructor() {
10256
10256
  super("MiLaboratories.PL.API.MaintenanceAPI", []);
10257
10257
  }
@@ -10267,8 +10267,8 @@ class Ic extends h {
10267
10267
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
10268
10268
  }
10269
10269
  }
10270
- new Ic();
10271
- class Pc extends h {
10270
+ new Pc();
10271
+ class _c extends h {
10272
10272
  constructor() {
10273
10273
  super("MiLaboratories.PL.API.MaintenanceAPI.Ping", []);
10274
10274
  }
@@ -10284,8 +10284,8 @@ class Pc extends h {
10284
10284
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
10285
10285
  }
10286
10286
  }
10287
- new Pc();
10288
- class _c extends h {
10287
+ new _c();
10288
+ class Ac extends h {
10289
10289
  constructor() {
10290
10290
  super("MiLaboratories.PL.API.MaintenanceAPI.Ping.Request", []);
10291
10291
  }
@@ -10301,8 +10301,8 @@ class _c extends h {
10301
10301
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
10302
10302
  }
10303
10303
  }
10304
- const Ac = new _c();
10305
- class Lc extends h {
10304
+ const Lc = new Ac();
10305
+ class Bc extends h {
10306
10306
  constructor() {
10307
10307
  super("MiLaboratories.PL.API.MaintenanceAPI.Ping.Response", [
10308
10308
  {
@@ -10365,106 +10365,106 @@ class Lc extends h {
10365
10365
  return n !== !1 && (n == !0 ? u.onWrite : n)(this.typeName, e, t), t;
10366
10366
  }
10367
10367
  }
10368
- const Bc = new Lc(), dn = new Ki("MiLaboratories.PL.API.Platform", [
10369
- { name: "Tx", serverStreaming: !0, clientStreaming: !0, options: {}, I: Br, O: Fr },
10370
- { name: "TxSync", options: {}, I: vr, O: Mr },
10368
+ const Nc = new Bc(), dn = new qi("MiLaboratories.PL.API.Platform", [
10369
+ { name: "Tx", serverStreaming: !0, clientStreaming: !0, options: {}, I: Nr, O: xr },
10370
+ { name: "TxSync", options: {}, I: jr, O: Gr },
10371
10371
  { name: "SubscriptionAttachFilter", options: {}, I: te, O: ne },
10372
10372
  { name: "SubscriptionDetachFilter", options: {}, I: ie, O: re },
10373
10373
  { name: "NotificationsGet", options: {}, I: Q, O: ee },
10374
- { name: "ControllerRegister", options: {}, I: Zo, O: Qo },
10375
- { name: "ControllerDeregister", options: {}, I: fa, O: pa },
10376
- { name: "ControllerCreate", options: {}, I: ma, O: ba },
10377
- { name: "ControllerExists", options: {}, I: na, O: ra },
10378
- { name: "ControllerGet", options: {}, I: Ra, O: Pa },
10379
- { name: "ControllerUpdate", options: {}, I: aa, O: ca },
10380
- { name: "ControllerAttachSubscription", options: {}, I: La, O: Na },
10381
- { name: "GetControllerNotifications", options: {}, I: Wa, O: $a },
10382
- { name: "WriteControllerAliasesAndUrls", options: {}, I: Ca, O: Oa },
10383
- { name: "RemoveControllerAliasesAndUrls", options: {}, I: Ja, O: Ha },
10384
- { name: "GetControllerUrl", options: {}, I: Va, O: ja },
10374
+ { name: "ControllerRegister", options: {}, I: Xo, O: ea },
10375
+ { name: "ControllerDeregister", options: {}, I: ha, O: ya },
10376
+ { name: "ControllerCreate", options: {}, I: ka, O: wa },
10377
+ { name: "ControllerExists", options: {}, I: ia, O: sa },
10378
+ { name: "ControllerGet", options: {}, I: Ia, O: _a },
10379
+ { name: "ControllerUpdate", options: {}, I: la, O: ua },
10380
+ { name: "ControllerAttachSubscription", options: {}, I: Ba, O: Fa },
10381
+ { name: "GetControllerNotifications", options: {}, I: Ua, O: Ea },
10382
+ { name: "WriteControllerAliasesAndUrls", options: {}, I: Da, O: Ka },
10383
+ { name: "RemoveControllerAliasesAndUrls", options: {}, I: za, O: Ya },
10384
+ { name: "GetControllerUrl", options: {}, I: va, O: Ma },
10385
10385
  { name: "ControllerSetFeatures", options: {}, I: se, O: oe },
10386
10386
  { name: "ControllerClearFeatures", options: {}, I: ae, O: le },
10387
- { name: "LeaseResource", options: {}, I: Gl, O: zl },
10388
- { name: "UpdateLease", options: {}, I: Zl, O: Ql },
10389
- { name: "ReleaseLease", options: {}, I: nc, O: rc },
10390
- { name: "AuthMethods", options: {}, I: lc, O: uc },
10391
- { name: "GetJWTToken", options: {}, I: pc, O: gc },
10392
- { name: "ListResourceTypes", options: {}, I: wc, O: Rc },
10393
- { name: "Ping", options: {}, I: Ac, O: Bc }
10387
+ { name: "LeaseResource", options: {}, I: Jl, O: Hl },
10388
+ { name: "UpdateLease", options: {}, I: Xl, O: ec },
10389
+ { name: "ReleaseLease", options: {}, I: ic, O: sc },
10390
+ { name: "AuthMethods", options: {}, I: cc, O: dc },
10391
+ { name: "GetJWTToken", options: {}, I: yc, O: mc },
10392
+ { name: "ListResourceTypes", options: {}, I: Tc, O: Ic },
10393
+ { name: "Ping", options: {}, I: Lc, O: Nc }
10394
10394
  ]);
10395
- function Nc(o) {
10395
+ function Fc(o) {
10396
10396
  return o instanceof ArrayBuffer || ArrayBuffer.isView(o);
10397
10397
  }
10398
- function Fc(o) {
10398
+ function xc(o) {
10399
10399
  if (typeof o == "string") return Buffer.from(o);
10400
- if (Nc(o)) return o;
10400
+ if (Fc(o)) return o;
10401
10401
  throw new Error(`Unexpected type: ${o}`);
10402
10402
  }
10403
- function mi(o, e = !1) {
10404
- return o instanceof Ri || o.name == "RpcError" && o.code == "UNAVAILABLE" ? !0 : o.cause !== void 0 && !e ? mi(o.cause, !0) : !1;
10405
- }
10406
10403
  function ki(o, e = !1) {
10407
- return o instanceof _n || o.name == "RpcError" && o.code == "UNAUTHENTICATED" ? !0 : o.cause !== void 0 && !e ? ki(o.cause, !0) : !1;
10404
+ return o instanceof Ii || o.name == "RpcError" && o.code == "UNAVAILABLE" ? !0 : o.cause !== void 0 && !e ? ki(o.cause, !0) : !1;
10408
10405
  }
10409
10406
  function bi(o, e = !1) {
10410
- return o instanceof si || o.name == "AbortError" || o.code == "ABORT_ERR" || o.name == "RpcError" && (o.code == "CANCELLED" || o.code == "DEADLINE_EXCEEDED") ? !0 : o.cause !== void 0 && !e ? bi(o.cause, !0) : !1;
10407
+ return o instanceof _n || o.name == "RpcError" && o.code == "UNAUTHENTICATED" ? !0 : o.cause !== void 0 && !e ? bi(o.cause, !0) : !1;
10408
+ }
10409
+ function wi(o, e = !1) {
10410
+ return o instanceof oi || o.name == "AbortError" || o.code == "ABORT_ERR" || o.name == "RpcError" && (o.code == "CANCELLED" || o.code == "DEADLINE_EXCEEDED") ? !0 : o.cause !== void 0 && !e ? wi(o.cause, !0) : !1;
10411
10411
  }
10412
10412
  const In = 5;
10413
- class wi extends Error {
10413
+ class Ti extends Error {
10414
10414
  constructor(e) {
10415
10415
  super(`code=${e.code} ${e.message}`), this.status = e;
10416
10416
  }
10417
10417
  }
10418
- function xc(o) {
10418
+ function Wc(o) {
10419
10419
  throw new Pn({ code: In, message: o, details: [] });
10420
10420
  }
10421
- class Pn extends wi {
10421
+ class Pn extends Ti {
10422
10422
  constructor(e) {
10423
10423
  super(e);
10424
10424
  }
10425
10425
  }
10426
- class Wc extends wi {
10426
+ class Uc extends Ti {
10427
10427
  constructor(e) {
10428
10428
  super(e);
10429
10429
  }
10430
10430
  }
10431
- function Ti(o, e = !1) {
10432
- return o.name == "RpcError" && o.code == "NOT_FOUND" ? !0 : o.cause !== void 0 && !e ? Ti(o.cause, !0) : o instanceof Pn && o.status.code === In;
10431
+ function Ri(o, e = !1) {
10432
+ return o.name == "RpcError" && o.code == "NOT_FOUND" ? !0 : o.cause !== void 0 && !e ? Ri(o.cause, !0) : o instanceof Pn && o.status.code === In;
10433
10433
  }
10434
10434
  class _n extends Error {
10435
10435
  constructor(e) {
10436
10436
  super("LoginFailed: " + e);
10437
10437
  }
10438
10438
  }
10439
- class Ri extends Error {
10439
+ class Ii extends Error {
10440
10440
  constructor(e) {
10441
10441
  super("Disconnected: " + e);
10442
10442
  }
10443
10443
  }
10444
- function Uc(o, e = !1) {
10445
- throw ki(o) ? new _n(o.message) : mi(o) ? new Ri(o.message) : bi(o) ? new si(o) : e ? new Error(o.message, { cause: o }) : o;
10444
+ function $c(o, e = !1) {
10445
+ throw bi(o) ? new _n(o.message) : ki(o) ? new Ii(o.message) : wi(o) ? new oi(o) : e ? new Error(o.message, { cause: o }) : o;
10446
10446
  }
10447
- const Ii = "resourceError";
10448
- function $c(o) {
10447
+ const Pi = "resourceError";
10448
+ function Ec(o) {
10449
10449
  return o.deletedTime !== void 0 && o.deletedTime.seconds !== 0n;
10450
10450
  }
10451
10451
  function Vn(o) {
10452
10452
  var e;
10453
- return $c(o) && xc("resource deleted"), {
10453
+ return Ec(o) && Wc("resource deleted"), {
10454
10454
  id: o.id,
10455
10455
  originalResourceId: o.originalResourceId,
10456
- type: T(o.type),
10456
+ type: R(o.type),
10457
10457
  data: o.data,
10458
10458
  inputsLocked: o.inputsLocked,
10459
10459
  outputsLocked: o.outputsLocked,
10460
10460
  resourceReady: o.resourceReady,
10461
- kind: Ec(o.kind),
10462
- error: Sc(o),
10461
+ kind: Sc(o.kind),
10462
+ error: Cc(o),
10463
10463
  final: o.isFinal,
10464
- fields: (e = o.fields) == null ? void 0 : e.filter((t) => t.id.fieldName !== Ii).map(Pi)
10464
+ fields: (e = o.fields) == null ? void 0 : e.filter((t) => t.id.fieldName !== Pi).map(_i)
10465
10465
  };
10466
10466
  }
10467
- function Ec(o) {
10467
+ function Sc(o) {
10468
10468
  switch (o) {
10469
10469
  case ue.STRUCTURAL:
10470
10470
  return "Structural";
@@ -10473,25 +10473,25 @@ function Ec(o) {
10473
10473
  }
10474
10474
  throw new Error("invalid ResourceKind: " + o);
10475
10475
  }
10476
- function Sc(o) {
10476
+ function Cc(o) {
10477
10477
  const e = o.fields.find((t) => {
10478
10478
  var i;
10479
- return ((i = t == null ? void 0 : t.id) == null ? void 0 : i.fieldName) === Ii;
10479
+ return ((i = t == null ? void 0 : t.id) == null ? void 0 : i.fieldName) === Pi;
10480
10480
  });
10481
10481
  return (e == null ? void 0 : e.error) ?? E;
10482
10482
  }
10483
- function Pi(o) {
10483
+ function _i(o) {
10484
10484
  var e;
10485
10485
  return {
10486
- name: T((e = o.id) == null ? void 0 : e.fieldName),
10487
- type: Cc(o.type),
10488
- status: Dc(o.valueStatus),
10486
+ name: R((e = o.id) == null ? void 0 : e.fieldName),
10487
+ type: Dc(o.type),
10488
+ status: Oc(o.valueStatus),
10489
10489
  value: o.value,
10490
10490
  error: o.error,
10491
10491
  valueIsFinal: o.valueIsFinal
10492
10492
  };
10493
10493
  }
10494
- function Cc(o) {
10494
+ function Dc(o) {
10495
10495
  switch (o) {
10496
10496
  case b.INPUT:
10497
10497
  return "Input";
@@ -10509,7 +10509,7 @@ function Cc(o) {
10509
10509
  throw new Error("invalid FieldType: " + o);
10510
10510
  }
10511
10511
  }
10512
- function Dc(o) {
10512
+ function Oc(o) {
10513
10513
  switch (o) {
10514
10514
  case J.EMPTY:
10515
10515
  return "Empty";
@@ -10521,7 +10521,7 @@ function Dc(o) {
10521
10521
  throw new Error("invalid FieldStatus: " + o);
10522
10522
  }
10523
10523
  }
10524
- function Oc(o) {
10524
+ function Kc(o) {
10525
10525
  switch (o) {
10526
10526
  case "Input":
10527
10527
  return b.INPUT;
@@ -10536,43 +10536,43 @@ function Oc(o) {
10536
10536
  case "OTW":
10537
10537
  return b.ONE_TIME_WRITABLE;
10538
10538
  default:
10539
- return oi(o);
10539
+ return ai(o);
10540
10540
  }
10541
10541
  }
10542
- function Ju(o) {
10542
+ function zu(o) {
10543
10543
  return o.hasOwnProperty("resourceId") && o.hasOwnProperty("fieldName");
10544
10544
  }
10545
- function Kc(o) {
10545
+ function qc(o) {
10546
10546
  return typeof o == "bigint" || o.hasOwnProperty("globalId") && o.hasOwnProperty("localId");
10547
10547
  }
10548
- function _i(o) {
10548
+ function Ai(o) {
10549
10549
  return j(o.resourceId);
10550
10550
  }
10551
10551
  function j(o) {
10552
10552
  return o.hasOwnProperty("globalId") && o.hasOwnProperty("localId");
10553
10553
  }
10554
- function L(o) {
10555
- return _i(o) ? { resourceId: o.resourceId.localId, fieldName: o.fieldName } : o;
10554
+ function B(o) {
10555
+ return Ai(o) ? { resourceId: o.resourceId.localId, fieldName: o.fieldName } : o;
10556
10556
  }
10557
- async function zu(o) {
10558
- return _i(o) ? { resourceId: await o.resourceId.globalId, fieldName: o.fieldName } : o;
10557
+ async function Hu(o) {
10558
+ return Ai(o) ? { resourceId: await o.resourceId.globalId, fieldName: o.fieldName } : o;
10559
10559
  }
10560
- function I(o) {
10560
+ function P(o) {
10561
10561
  return j(o) ? o.localId : o;
10562
10562
  }
10563
- async function qc(o) {
10563
+ async function Vc(o) {
10564
10564
  return j(o) ? await o.globalId : o;
10565
10565
  }
10566
10566
  function An(o, e) {
10567
10567
  return { resourceId: o, fieldName: e };
10568
10568
  }
10569
- class Ai extends Error {
10569
+ class Li extends Error {
10570
10570
  }
10571
10571
  async function X(o) {
10572
10572
  try {
10573
10573
  return await o();
10574
10574
  } catch (e) {
10575
- if (Ti(e)) return;
10575
+ if (Ri(e)) return;
10576
10576
  throw e;
10577
10577
  }
10578
10578
  }
@@ -10602,7 +10602,7 @@ const N = class N {
10602
10602
  },
10603
10603
  (a) => {
10604
10604
  var l;
10605
- return T((l = a.txOpen.tx) == null ? void 0 : l.id);
10605
+ return R((l = a.txOpen.tx) == null ? void 0 : l.id);
10606
10606
  }
10607
10607
  ), this.globalTxId.catch((a) => {
10608
10608
  this.globalTxIdWasAwaited || console.warn(a);
@@ -10650,7 +10650,7 @@ const N = class N {
10650
10650
  { oneofKind: "txCommit", txCommit: {} },
10651
10651
  (i) => i.txCommit.success
10652
10652
  ), t = this.ll.complete();
10653
- if (await this.drainAndAwaitPendingOps(), !await e) throw new Ai();
10653
+ if (await this.drainAndAwaitPendingOps(), !await e) throw new Li();
10654
10654
  await t, await this.ll.await();
10655
10655
  } else {
10656
10656
  const e = this.ll.complete();
@@ -10695,7 +10695,7 @@ const N = class N {
10695
10695
  loadFields: t
10696
10696
  }
10697
10697
  },
10698
- (i) => Vn(T(i.resourceGetSingleton.resource))
10698
+ (i) => Vn(R(i.resourceGetSingleton.resource))
10699
10699
  );
10700
10700
  }
10701
10701
  createResource(e, t, i) {
@@ -10755,7 +10755,7 @@ const N = class N {
10755
10755
  setResourceName(e, t) {
10756
10756
  this.sendVoidAsync({
10757
10757
  oneofKind: "resourceNameSet",
10758
- resourceNameSet: { resourceId: I(t), name: e }
10758
+ resourceNameSet: { resourceId: P(t), name: e }
10759
10759
  });
10760
10760
  }
10761
10761
  deleteResourceName(e) {
@@ -10793,9 +10793,9 @@ const N = class N {
10793
10793
  const n = await this.sendSingleAndParse(
10794
10794
  {
10795
10795
  oneofKind: "resourceGet",
10796
- resourceGet: { resourceId: I(e), loadFields: t }
10796
+ resourceGet: { resourceId: P(e), loadFields: t }
10797
10797
  },
10798
- (r) => Vn(T(r.resourceGet.resource))
10798
+ (r) => Vn(R(r.resourceGet.resource))
10799
10799
  );
10800
10800
  if (!j(e) && !K(e) && this.finalPredicate(n)) {
10801
10801
  const r = this.sharedResourceDataCache.get(e);
@@ -10827,7 +10827,7 @@ const N = class N {
10827
10827
  lockInputs(e) {
10828
10828
  this.sendVoidAsync({
10829
10829
  oneofKind: "resourceLockInputs",
10830
- resourceLockInputs: { resourceId: I(e) }
10830
+ resourceLockInputs: { resourceId: P(e) }
10831
10831
  });
10832
10832
  }
10833
10833
  /**
@@ -10837,7 +10837,7 @@ const N = class N {
10837
10837
  lockOutputs(e) {
10838
10838
  this.sendVoidAsync({
10839
10839
  oneofKind: "resourceLockOutputs",
10840
- resourceLockOutputs: { resourceId: I(e) }
10840
+ resourceLockOutputs: { resourceId: P(e) }
10841
10841
  });
10842
10842
  }
10843
10843
  lock(e) {
@@ -10849,25 +10849,25 @@ const N = class N {
10849
10849
  createField(e, t, i) {
10850
10850
  this.sendVoidAsync({
10851
10851
  oneofKind: "fieldCreate",
10852
- fieldCreate: { type: Oc(t), id: L(e) }
10852
+ fieldCreate: { type: Kc(t), id: B(e) }
10853
10853
  }), i !== void 0 && this.setField(e, i);
10854
10854
  }
10855
10855
  async fieldExists(e) {
10856
10856
  return await this.sendSingleAndParse(
10857
10857
  {
10858
10858
  oneofKind: "fieldExists",
10859
- fieldExists: { field: L(e) }
10859
+ fieldExists: { field: B(e) }
10860
10860
  },
10861
10861
  (t) => t.fieldExists.exists
10862
10862
  );
10863
10863
  }
10864
10864
  setField(e, t) {
10865
- Kc(t) ? this.sendVoidAsync({
10865
+ qc(t) ? this.sendVoidAsync({
10866
10866
  oneofKind: "fieldSet",
10867
10867
  fieldSet: {
10868
- field: L(e),
10868
+ field: B(e),
10869
10869
  value: {
10870
- resourceId: I(t),
10870
+ resourceId: P(t),
10871
10871
  fieldName: ""
10872
10872
  // default value, read as undefined
10873
10873
  }
@@ -10875,31 +10875,31 @@ const N = class N {
10875
10875
  }) : this.sendVoidAsync({
10876
10876
  oneofKind: "fieldSet",
10877
10877
  fieldSet: {
10878
- field: L(e),
10879
- value: L(t)
10878
+ field: B(e),
10879
+ value: B(t)
10880
10880
  }
10881
10881
  });
10882
10882
  }
10883
10883
  setFieldError(e, t) {
10884
10884
  this.sendVoidAsync({
10885
10885
  oneofKind: "fieldSetError",
10886
- fieldSetError: { field: L(e), errResourceId: I(t) }
10886
+ fieldSetError: { field: B(e), errResourceId: P(t) }
10887
10887
  });
10888
10888
  }
10889
10889
  async getField(e) {
10890
10890
  return await this.sendSingleAndParse(
10891
- { oneofKind: "fieldGet", fieldGet: { field: L(e) } },
10892
- (t) => Pi(T(t.fieldGet.field))
10891
+ { oneofKind: "fieldGet", fieldGet: { field: B(e) } },
10892
+ (t) => _i(R(t.fieldGet.field))
10893
10893
  );
10894
10894
  }
10895
10895
  async getFieldIfExists(e) {
10896
10896
  return X(async () => await this.getField(e));
10897
10897
  }
10898
10898
  resetField(e) {
10899
- this.sendVoidAsync({ oneofKind: "fieldReset", fieldReset: { field: L(e) } });
10899
+ this.sendVoidAsync({ oneofKind: "fieldReset", fieldReset: { field: B(e) } });
10900
10900
  }
10901
10901
  removeField(e) {
10902
- this.sendVoidAsync({ oneofKind: "fieldRemove", fieldRemove: { field: L(e) } });
10902
+ this.sendVoidAsync({ oneofKind: "fieldRemove", fieldRemove: { field: B(e) } });
10903
10903
  }
10904
10904
  //
10905
10905
  // KV
@@ -10908,7 +10908,7 @@ const N = class N {
10908
10908
  return await this.sendMultiAndParse(
10909
10909
  {
10910
10910
  oneofKind: "resourceKeyValueList",
10911
- resourceKeyValueList: { resourceId: I(e), startFrom: "", limit: 0 }
10911
+ resourceKeyValueList: { resourceId: P(e), startFrom: "", limit: 0 }
10912
10912
  },
10913
10913
  (t) => t.map((i) => i.resourceKeyValueList.record)
10914
10914
  );
@@ -10929,9 +10929,9 @@ const N = class N {
10929
10929
  this.sendVoidAsync({
10930
10930
  oneofKind: "resourceKeyValueSet",
10931
10931
  resourceKeyValueSet: {
10932
- resourceId: I(e),
10932
+ resourceId: P(e),
10933
10933
  key: t,
10934
- value: Fc(i)
10934
+ value: xc(i)
10935
10935
  }
10936
10936
  });
10937
10937
  }
@@ -10939,7 +10939,7 @@ const N = class N {
10939
10939
  this.sendVoidAsync({
10940
10940
  oneofKind: "resourceKeyValueDelete",
10941
10941
  resourceKeyValueDelete: {
10942
- resourceId: I(e),
10942
+ resourceId: P(e),
10943
10943
  key: t
10944
10944
  }
10945
10945
  });
@@ -10948,7 +10948,7 @@ const N = class N {
10948
10948
  return await this.sendSingleAndParse(
10949
10949
  {
10950
10950
  oneofKind: "resourceKeyValueGet",
10951
- resourceKeyValueGet: { resourceId: I(e), key: t }
10951
+ resourceKeyValueGet: { resourceId: P(e), key: t }
10952
10952
  },
10953
10953
  (i) => i.resourceKeyValueGet.value
10954
10954
  );
@@ -10963,7 +10963,7 @@ const N = class N {
10963
10963
  return await this.sendSingleAndParse(
10964
10964
  {
10965
10965
  oneofKind: "resourceKeyValueGetIfExists",
10966
- resourceKeyValueGetIfExists: { resourceId: I(e), key: t }
10966
+ resourceKeyValueGetIfExists: { resourceId: P(e), key: t }
10967
10967
  },
10968
10968
  (i) => i.resourceKeyValueGetIfExists.exists ? i.resourceKeyValueGetIfExists.value : void 0
10969
10969
  );
@@ -11011,7 +11011,7 @@ const N = class N {
11011
11011
  // Helpers
11012
11012
  //
11013
11013
  nextLocalResourceId(e) {
11014
- return yi(e, ++this.localResourceIdCounter, this.localTxId);
11014
+ return gi(e, ++this.localResourceIdCounter, this.localTxId);
11015
11015
  }
11016
11016
  static nextLocalTxId() {
11017
11017
  return N.localTxIdCounter++, N.localTxIdCounter === Rn && (N.localTxIdCounter = 1), N.localTxIdCounter;
@@ -11019,88 +11019,88 @@ const N = class N {
11019
11019
  };
11020
11020
  y(N, "localTxIdCounter", 0);
11021
11021
  let gn = N;
11022
- function _(o, e) {
11022
+ function A(o, e) {
11023
11023
  return { name: o, version: e };
11024
11024
  }
11025
- const mn = _("ClientRoot", "1"), Vc = _("StructTest", "1"), vc = _("ValueTest", "1"), Li = _("json/string", "1"), Bi = _("json/bool", "1"), Ni = _("json/object", "1"), Fi = _("json/array", "1"), xi = _("json/number", "1"), Wi = _("json/null", "1"), Ln = _("EphStdMap", "1"), Bn = _("StdMap", "1");
11026
- function jc(o) {
11027
- return o.createValue(Wi, Buffer.from(JSON.stringify(null)));
11028
- }
11029
- function Mc(o, e) {
11030
- return o.createValue(Bi, Buffer.from(JSON.stringify(e)));
11025
+ const mn = A("ClientRoot", "1"), vc = A("StructTest", "1"), jc = A("ValueTest", "1"), Bi = A("json/string", "1"), Ni = A("json/bool", "1"), Fi = A("json/object", "1"), xi = A("json/array", "1"), Wi = A("json/number", "1"), Ui = A("json/null", "1"), Ln = A("EphStdMap", "1"), Bn = A("StdMap", "1");
11026
+ function Mc(o) {
11027
+ return o.createValue(Ui, Buffer.from(JSON.stringify(null)));
11031
11028
  }
11032
11029
  function Gc(o, e) {
11033
- return o.createValue(xi, Buffer.from(JSON.stringify(e)));
11030
+ return o.createValue(Ni, Buffer.from(JSON.stringify(e)));
11034
11031
  }
11035
11032
  function Jc(o, e) {
11036
- return o.createValue(Li, Buffer.from(JSON.stringify(e)));
11033
+ return o.createValue(Wi, Buffer.from(JSON.stringify(e)));
11037
11034
  }
11038
11035
  function zc(o, e) {
11039
- return o.createValue(Fi, Buffer.from(JSON.stringify(e)));
11036
+ return o.createValue(Bi, Buffer.from(JSON.stringify(e)));
11040
11037
  }
11041
11038
  function Hc(o, e) {
11042
- return o.createValue(Ni, Buffer.from(JSON.stringify(e)));
11039
+ return o.createValue(xi, Buffer.from(JSON.stringify(e)));
11040
+ }
11041
+ function Yc(o, e) {
11042
+ return o.createValue(Fi, Buffer.from(JSON.stringify(e)));
11043
11043
  }
11044
11044
  function Nn(o, e) {
11045
11045
  return [o, e];
11046
11046
  }
11047
- function Ui(o, e) {
11047
+ function $i(o, e) {
11048
11048
  return e === void 0 ? Object.entries(o) : e.map((t) => Nn(t, o[t]));
11049
11049
  }
11050
- function Yc(o, e, t, i) {
11050
+ function Zc(o, e, t, i) {
11051
11051
  const n = i ?? (t ? Ln : Bn), r = t ? o.createEphemeral(n) : o.createStruct(n);
11052
- for (const [d, a] of Array.isArray(e) ? e : Ui(e))
11052
+ for (const [d, a] of Array.isArray(e) ? e : $i(e))
11053
11053
  o.createField(An(r, d), "Input", a);
11054
11054
  return o.lock(r), r;
11055
11055
  }
11056
- function Zc(o, e, t, i, n = "") {
11056
+ function Xc(o, e, t, i, n = "") {
11057
11057
  return Object.fromEntries(
11058
11058
  t.map((r) => Nn(r, o.getFutureFieldValue(e, `${n}${r}`, i)))
11059
11059
  );
11060
11060
  }
11061
- const $i = Bn, Ei = Ln, pe = "ref";
11062
- function Xc(o, e) {
11063
- const t = o.createStruct($i), i = An(t, pe);
11064
- return o.createField(i, "Input", e), o.lock(t), t;
11065
- }
11061
+ const Ei = Bn, Si = Ln, pe = "ref";
11066
11062
  function Qc(o, e) {
11067
- const t = o.createEphemeral(Ei), i = An(t, pe);
11063
+ const t = o.createStruct(Ei), i = An(t, pe);
11068
11064
  return o.createField(i, "Input", e), o.lock(t), t;
11069
11065
  }
11070
11066
  function eu(o, e) {
11067
+ const t = o.createEphemeral(Si), i = An(t, pe);
11068
+ return o.createField(i, "Input", e), o.lock(t), t;
11069
+ }
11070
+ function tu(o, e) {
11071
11071
  return o.getFutureFieldValue(e, pe, "Input");
11072
11072
  }
11073
- const Hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11073
+ const Yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11074
11074
  __proto__: null,
11075
11075
  ClientRoot: mn,
11076
- EphHolder: Ei,
11076
+ EphHolder: Si,
11077
11077
  EphStdMap: Ln,
11078
- Holder: $i,
11078
+ Holder: Ei,
11079
11079
  HolderRefField: pe,
11080
- JsonArray: Fi,
11081
- JsonBool: Bi,
11082
- JsonNull: Wi,
11083
- JsonNumber: xi,
11084
- JsonObject: Ni,
11085
- JsonString: Li,
11080
+ JsonArray: xi,
11081
+ JsonBool: Ni,
11082
+ JsonNull: Ui,
11083
+ JsonNumber: Wi,
11084
+ JsonObject: Fi,
11085
+ JsonString: Bi,
11086
11086
  StdMap: Bn,
11087
- StructTestResource: Vc,
11088
- ValueTestResource: vc,
11089
- createPlArray: zc,
11090
- createPlBool: Mc,
11091
- createPlMap: Yc,
11092
- createPlNull: jc,
11093
- createPlNumber: Gc,
11094
- createPlObject: Hc,
11095
- createPlString: Jc,
11096
- futureRecord: Zc,
11097
- plEntries: Ui,
11087
+ StructTestResource: vc,
11088
+ ValueTestResource: jc,
11089
+ createPlArray: Hc,
11090
+ createPlBool: Gc,
11091
+ createPlMap: Zc,
11092
+ createPlNull: Mc,
11093
+ createPlNumber: Jc,
11094
+ createPlObject: Yc,
11095
+ createPlString: zc,
11096
+ futureRecord: Xc,
11097
+ plEntries: $i,
11098
11098
  plEntry: Nn,
11099
- unwrapHolder: eu,
11100
- wrapInEphHolder: Qc,
11101
- wrapInHolder: Xc
11102
- }, Symbol.toStringTag, { value: "Module" })), vn = 5e3, jn = 3e4, Mn = 31 * 24 * 60 * 60, Gn = 12 * 24 * 60 * 60, Jn = 35e6, zn = "exponential", Hn = 10, Yn = 4, Zn = 2, Xn = 50, Qn = 0.3;
11103
- function B(o) {
11099
+ unwrapHolder: tu,
11100
+ wrapInEphHolder: eu,
11101
+ wrapInHolder: Qc
11102
+ }, Symbol.toStringTag, { value: "Module" })), vn = 5e3, jn = 3e5, Mn = 2e4, Gn = 31 * 24 * 60 * 60, Jn = 12 * 24 * 60 * 60, zn = 35e6, Hn = "exponential", Yn = 10, Zn = 4, Xn = 2, Qn = 50, ei = 0.3;
11103
+ function w(o) {
11104
11104
  if (!o) return;
11105
11105
  const e = Number(o);
11106
11106
  if (e === Number.NaN) throw new Error(`Can't parse number: ${o}`);
@@ -11112,18 +11112,19 @@ function fe(o, e = {}) {
11112
11112
  hostAndPort: o,
11113
11113
  ssl: !1,
11114
11114
  defaultRequestTimeout: vn,
11115
- defaultTransactionTimeout: jn,
11116
- authTTLSeconds: Mn,
11117
- authMaxRefreshSeconds: Gn,
11115
+ defaultROTransactionTimeout: jn,
11116
+ defaultRWTransactionTimeout: Mn,
11117
+ authTTLSeconds: Gn,
11118
+ authMaxRefreshSeconds: Jn,
11118
11119
  txDelay: 0,
11119
11120
  forceSync: !1,
11120
- maxCacheBytes: Jn,
11121
- retryBackoffAlgorithm: zn,
11122
- retryMaxAttempts: Hn,
11123
- retryInitialDelay: Yn,
11124
- retryExponentialBackoffMultiplier: Zn,
11125
- retryLinearBackoffStep: Xn,
11126
- retryJitter: Qn,
11121
+ maxCacheBytes: zn,
11122
+ retryBackoffAlgorithm: Hn,
11123
+ retryMaxAttempts: Yn,
11124
+ retryInitialDelay: Zn,
11125
+ retryExponentialBackoffMultiplier: Xn,
11126
+ retryLinearBackoffStep: Qn,
11127
+ retryJitter: ei,
11127
11128
  ...e
11128
11129
  };
11129
11130
  const t = new URL(o);
@@ -11136,28 +11137,29 @@ function fe(o, e = {}) {
11136
11137
  // this also includes port
11137
11138
  alternativeRoot: t.searchParams.get("alternative-root") ?? void 0,
11138
11139
  ssl: t.protocol === "https:" || t.protocol === "tls:",
11139
- defaultRequestTimeout: B(t.searchParams.get("request-timeout")) ?? vn,
11140
- defaultTransactionTimeout: B(t.searchParams.get("tx-timeout")) ?? jn,
11141
- authTTLSeconds: Mn,
11142
- authMaxRefreshSeconds: Gn,
11140
+ defaultRequestTimeout: w(t.searchParams.get("request-timeout")) ?? vn,
11141
+ defaultROTransactionTimeout: w(t.searchParams.get("ro-tx-timeout")) ?? w(t.searchParams.get("tx-timeout")) ?? jn,
11142
+ defaultRWTransactionTimeout: w(t.searchParams.get("rw-tx-timeout")) ?? w(t.searchParams.get("tx-timeout")) ?? Mn,
11143
+ authTTLSeconds: Gn,
11144
+ authMaxRefreshSeconds: Jn,
11143
11145
  grpcProxy: t.searchParams.get("grpc-proxy") ?? void 0,
11144
11146
  httpProxy: t.searchParams.get("http-proxy") ?? void 0,
11145
11147
  user: t.username === "" ? void 0 : t.username,
11146
11148
  password: t.password === "" ? void 0 : t.password,
11147
- txDelay: B(t.searchParams.get("tx-delay")) ?? 0,
11149
+ txDelay: w(t.searchParams.get("tx-delay")) ?? 0,
11148
11150
  forceSync: !!t.searchParams.get("force-sync"),
11149
- maxCacheBytes: B(t.searchParams.get("max-cache-bytes")) ?? Jn,
11150
- retryBackoffAlgorithm: t.searchParams.get("retry-backoff-algorithm") ?? zn,
11151
- retryMaxAttempts: B(t.searchParams.get("retry-max-attempts")) ?? Hn,
11152
- retryInitialDelay: B(t.searchParams.get("retry-initial-delay")) ?? Yn,
11153
- retryExponentialBackoffMultiplier: B(t.searchParams.get("retry-exp-backoff-multiplier")) ?? Zn,
11154
- retryLinearBackoffStep: B(t.searchParams.get("retry-linear-backoff-step")) ?? Xn,
11155
- retryJitter: B(t.searchParams.get("retry-backoff-jitter")) ?? Qn,
11151
+ maxCacheBytes: w(t.searchParams.get("max-cache-bytes")) ?? zn,
11152
+ retryBackoffAlgorithm: t.searchParams.get("retry-backoff-algorithm") ?? Hn,
11153
+ retryMaxAttempts: w(t.searchParams.get("retry-max-attempts")) ?? Yn,
11154
+ retryInitialDelay: w(t.searchParams.get("retry-initial-delay")) ?? Zn,
11155
+ retryExponentialBackoffMultiplier: w(t.searchParams.get("retry-exp-backoff-multiplier")) ?? Xn,
11156
+ retryLinearBackoffStep: w(t.searchParams.get("retry-linear-backoff-step")) ?? Qn,
11157
+ retryJitter: w(t.searchParams.get("retry-backoff-jitter")) ?? ei,
11156
11158
  ...e
11157
11159
  };
11158
11160
  }
11159
- const Yu = {};
11160
- class tu {
11161
+ const Zu = {};
11162
+ class nu {
11161
11163
  constructor(e) {
11162
11164
  y(this, "typeName", dn.typeName);
11163
11165
  y(this, "methods", dn.methods);
@@ -11368,10 +11370,10 @@ class tu {
11368
11370
  return k("unary", this._transport, i, n, e);
11369
11371
  }
11370
11372
  }
11371
- function nu(o, e, t, i) {
11373
+ function iu(o, e, t, i) {
11372
11374
  return { kind: o, expectMultiResponse: e, resolve: t, reject: i };
11373
11375
  }
11374
- function iu(o) {
11376
+ function ru(o) {
11375
11377
  return o.code === In;
11376
11378
  }
11377
11379
  class M extends Error {
@@ -11379,7 +11381,7 @@ class M extends Error {
11379
11381
  super("Rethrow error, you should never see this one."), this.rethrowLambda = e;
11380
11382
  }
11381
11383
  }
11382
- class ru {
11384
+ class su {
11383
11385
  constructor(e) {
11384
11386
  /** Bidirectional channel through which transaction communicates with the server */
11385
11387
  y(this, "stream");
@@ -11389,7 +11391,7 @@ class ru {
11389
11391
  * Incremented on each sent request. */
11390
11392
  y(this, "requestIdxCounter", 0);
11391
11393
  /** Queue from which incoming message processor takes handlers to which pass incoming messages */
11392
- y(this, "responseHandlerQueue", new vi());
11394
+ y(this, "responseHandlerQueue", new ji());
11393
11395
  /** Each new resource, created by the transaction, is assigned with virtual (local) resource id, to make it possible
11394
11396
  * to populate its fields without awaiting actual resource id. This counter tracks those ids on client side, the
11395
11397
  * same way it is tracked on the server, so client can synchronously return such ids to the user. */
@@ -11433,7 +11435,7 @@ class ru {
11433
11435
  }
11434
11436
  if (r.error !== void 0) {
11435
11437
  const d = r.error;
11436
- if (iu(d)) {
11438
+ if (ru(d)) {
11437
11439
  if (t.reject(
11438
11440
  new M(() => {
11439
11441
  throw new Pn(d);
@@ -11447,7 +11449,7 @@ class ru {
11447
11449
  continue;
11448
11450
  } else {
11449
11451
  this.assignErrorFactoryIfNotSet(() => {
11450
- throw new Wc(d);
11452
+ throw new Uc(d);
11451
11453
  }, t.reject), t = void 0;
11452
11454
  break;
11453
11455
  }
@@ -11483,7 +11485,7 @@ class ru {
11483
11485
  }
11484
11486
  } catch (r) {
11485
11487
  return this.assignErrorFactoryIfNotSet(() => {
11486
- Uc(r, !0);
11488
+ $c(r, !0);
11487
11489
  }, t == null ? void 0 : t.reject);
11488
11490
  } finally {
11489
11491
  await this.close();
@@ -11518,7 +11520,7 @@ class ru {
11518
11520
  if (this.closed) return Promise.reject(new Error("Transaction already closed"));
11519
11521
  const i = new Promise((n, r) => {
11520
11522
  this.responseHandlerQueue.push(
11521
- nu(e.oneofKind, t, n, r)
11523
+ iu(e.oneofKind, t, n, r)
11522
11524
  );
11523
11525
  });
11524
11526
  await this.stream.requests.send({
@@ -11548,7 +11550,7 @@ function Y(o, e) {
11548
11550
  i + e
11549
11551
  ) * 1e3;
11550
11552
  }
11551
- function Zu(o) {
11553
+ function Xu(o) {
11552
11554
  return o.jwtToken === void 0 ? void 0 : Fn(o.jwtToken).exp * 1e3;
11553
11555
  }
11554
11556
  class xn {
@@ -11586,8 +11588,8 @@ class xn {
11586
11588
  interceptors: i
11587
11589
  }
11588
11590
  };
11589
- this.conf.grpcProxy ? process.env.grpc_proxy = this.conf.grpcProxy : delete process.env.grpc_proxy, this.grpcTransport = new Vi(d), this.grpcPl = new tu(this.grpcTransport);
11590
- const a = new Ji({ resolver: new Gi({ tries: 10 }) }), l = {
11591
+ this.conf.grpcProxy ? process.env.grpc_proxy = this.conf.grpcProxy : delete process.env.grpc_proxy, this.grpcTransport = new vi(d), this.grpcPl = new nu(this.grpcTransport);
11592
+ const a = new zi({ resolver: new Ji({ tries: 10 }) }), l = {
11591
11593
  // allowH2: true,
11592
11594
  headersTimeout: 5e3,
11593
11595
  keepAliveTimeout: 3e3,
@@ -11598,7 +11600,7 @@ class xn {
11598
11600
  lookup: a.lookup.bind(a)
11599
11601
  }
11600
11602
  };
11601
- this.conf.httpProxy !== void 0 ? this.httpDispatcher = new ji({ uri: this.conf.httpProxy, ...l }) : this.httpDispatcher = new Mi(l), r !== void 0 && (this.statusListener = r, r(this._status));
11603
+ this.conf.httpProxy !== void 0 ? this.httpDispatcher = new Mi({ uri: this.conf.httpProxy, ...l }) : this.httpDispatcher = new Gi(l), r !== void 0 && (this.statusListener = r, r(this._status));
11602
11604
  }
11603
11605
  /** Returns true if client is authenticated. Even with anonymous auth information
11604
11606
  * connection is considered authenticated. Unauthenticated clients are used for
@@ -11661,12 +11663,12 @@ class xn {
11661
11663
  }
11662
11664
  });
11663
11665
  }
11664
- createTx(e = {}) {
11665
- return new ru((t) => {
11666
- let i = t;
11667
- return e.abortSignal && (i = AbortSignal.any([i, e.abortSignal])), this.grpcPl.tx({
11668
- abort: i,
11669
- timeout: e.timeout ?? this.conf.defaultTransactionTimeout
11666
+ createTx(e, t = {}) {
11667
+ return new su((i) => {
11668
+ let n = i;
11669
+ return t.abortSignal && (n = AbortSignal.any([n, t.abortSignal])), this.grpcPl.tx({
11670
+ abort: n,
11671
+ timeout: t.timeout ?? (e ? this.conf.defaultRWTransactionTimeout : this.conf.defaultROTransactionTimeout)
11670
11672
  });
11671
11673
  });
11672
11674
  }
@@ -11678,14 +11680,14 @@ class xn {
11678
11680
  function ce(o) {
11679
11681
  return o.resourceReady || S(o.originalResourceId) || S(o.error);
11680
11682
  }
11681
- function su(o) {
11683
+ function ou(o) {
11682
11684
  if (!ce(o) || !o.outputsLocked) return !1;
11683
11685
  if (o.fields === void 0) return !0;
11684
11686
  for (const e of o.fields)
11685
11687
  if (x(e.error) && (x(e.value) || !e.valueIsFinal)) return !1;
11686
11688
  return !0;
11687
11689
  }
11688
- const ei = /* @__PURE__ */ new Set(), ou = (o) => {
11690
+ const ti = /* @__PURE__ */ new Set(), au = (o) => {
11689
11691
  switch (o.type.name) {
11690
11692
  case "StreamManager":
11691
11693
  if (!ce(o)) return !1;
@@ -11730,16 +11732,16 @@ const ei = /* @__PURE__ */ new Set(), ou = (o) => {
11730
11732
  default:
11731
11733
  if (o.type.name.startsWith("Blob/")) return !0;
11732
11734
  if (o.type.name.startsWith("BlobUpload/") || o.type.name.startsWith("BlobIndex/"))
11733
- return su(o);
11735
+ return ou(o);
11734
11736
  if (o.type.name.startsWith("PColumnData/"))
11735
11737
  return ce(o);
11736
- ei.has(o.type.name) || (console.log("UNKNOWN RESOURCE TYPE: " + o.type.name), ei.add(o.type.name));
11738
+ ti.has(o.type.name) || (console.log("UNKNOWN RESOURCE TYPE: " + o.type.name), ti.add(o.type.name));
11737
11739
  }
11738
11740
  return !1;
11739
11741
  }, fn = {
11740
11742
  sync: !1
11741
- }, au = "AnonymousRoot";
11742
- function ti(o) {
11743
+ }, lu = "AnonymousRoot";
11744
+ function ni(o) {
11743
11745
  return `alternative_root_${o}`;
11744
11746
  }
11745
11747
  class ye {
@@ -11765,7 +11767,7 @@ class ye {
11765
11767
  y(this, "resourceDataCache");
11766
11768
  this.ll = new xn(e, { auth: t, ...i });
11767
11769
  const n = this.ll.conf;
11768
- switch (this.txDelay = n.txDelay, this.forceSync = n.forceSync, this.finalPredicate = i.finalPredicate ?? ou, this.resourceDataCache = new zi({
11770
+ switch (this.txDelay = n.txDelay, this.forceSync = n.forceSync, this.finalPredicate = i.finalPredicate ?? au, this.resourceDataCache = new Hi({
11769
11771
  maxSize: n.maxCacheBytes,
11770
11772
  sizeCalculation: (r) => {
11771
11773
  var d;
@@ -11791,7 +11793,7 @@ class ye {
11791
11793
  };
11792
11794
  break;
11793
11795
  default:
11794
- oi(n.retryBackoffAlgorithm);
11796
+ ai(n.retryBackoffAlgorithm);
11795
11797
  }
11796
11798
  }
11797
11799
  async ping() {
@@ -11818,15 +11820,15 @@ class ye {
11818
11820
  /** Currently implements custom logic to emulate future behaviour with single root. */
11819
11821
  async init() {
11820
11822
  if (this.initialized) throw new Error("Already initialized");
11821
- const e = this.ll.authUser, t = e === null ? au : ci("sha256").update(e).digest("hex");
11823
+ const e = this.ll.authUser, t = e === null ? lu : ui("sha256").update(e).digest("hex");
11822
11824
  this._serverInfo = await this.ping(), this._clientRoot = await this._withTx("initialization", !0, E, async (i) => {
11823
11825
  let n;
11824
11826
  if (await i.checkResourceNameExists(t) ? n = await i.getResourceByName(t) : (n = i.createRoot(mn), i.setResourceName(t, n)), this.conf.alternativeRoot === void 0)
11825
- return await i.commit(), await qc(n);
11827
+ return await i.commit(), await Vc(n);
11826
11828
  {
11827
11829
  const r = {
11828
11830
  resourceId: n,
11829
- fieldName: ti(this.conf.alternativeRoot)
11831
+ fieldName: ni(this.conf.alternativeRoot)
11830
11832
  }, d = i.createEphemeral(mn);
11831
11833
  return i.lock(d), i.createField(r, "Dynamic"), i.setField(r, d), await i.commit(), await d.globalId;
11832
11834
  }
@@ -11839,15 +11841,15 @@ class ye {
11839
11841
  return await this.withWriteTx("delete-alternative-root", async (t) => {
11840
11842
  const i = {
11841
11843
  resourceId: t.clientRoot,
11842
- fieldName: ti(e)
11844
+ fieldName: ni(e)
11843
11845
  }, n = t.fieldExists(i);
11844
11846
  return t.removeField(i), await t.commit(), await n;
11845
11847
  });
11846
11848
  }
11847
11849
  async _withTx(e, t, i, n, r) {
11848
- let d = ai((r == null ? void 0 : r.retryOptions) ?? this.defaultRetryOptions);
11850
+ let d = li((r == null ? void 0 : r.retryOptions) ?? this.defaultRetryOptions);
11849
11851
  for (; ; ) {
11850
- const a = this.ll.createTx(r), l = new gn(
11852
+ const a = this.ll.createTx(t, r), l = new gn(
11851
11853
  a,
11852
11854
  e,
11853
11855
  t,
@@ -11859,13 +11861,13 @@ class ye {
11859
11861
  try {
11860
11862
  f = await n(l), s = !0;
11861
11863
  } catch ($n) {
11862
- if (!($n instanceof Ai)) throw $n;
11864
+ if (!($n instanceof Li)) throw $n;
11863
11865
  } finally {
11864
11866
  await l.complete(), await l.await(), Un = await l.getGlobalTxId();
11865
11867
  }
11866
11868
  if (s)
11867
11869
  return ((r == null ? void 0 : r.sync) === void 0 ? this.forceSync : r != null && r.sync) && await this.ll.grpcPl.txSync({ txId: Un }), t && this.txDelay > 0 && await pn.setTimeout(this.txDelay, void 0, { signal: r == null ? void 0 : r.abortSignal }), f;
11868
- await pn.setTimeout(d.nextDelay, void 0, { signal: r == null ? void 0 : r.abortSignal }), d = li(d);
11870
+ await pn.setTimeout(d.nextDelay, void 0, { signal: r == null ? void 0 : r.abortSignal }), d = ci(d);
11869
11871
  }
11870
11872
  }
11871
11873
  async withTx(e, t, i, n = {}) {
@@ -11892,10 +11894,10 @@ class ye {
11892
11894
  return await n.init(), n;
11893
11895
  }
11894
11896
  }
11895
- function Xu(o, e) {
11897
+ function Qu(o, e) {
11896
11898
  return e = e ?? {}, e.meta = e.meta ?? {}, e.meta.resourceType = `${o.name}:${o.version}`, e;
11897
11899
  }
11898
- class Si {
11900
+ class Ci {
11899
11901
  constructor(e) {
11900
11902
  y(this, "ll");
11901
11903
  this.ll = new xn(e);
@@ -11918,7 +11920,7 @@ class Si {
11918
11920
  authorization: "Basic " + Buffer.from(e + ":" + t).toString("base64")
11919
11921
  }
11920
11922
  }
11921
- ).response, n = T(i.token);
11923
+ ).response, n = R(i.token);
11922
11924
  if (n === "") throw new Error("empty token");
11923
11925
  return { jwtToken: n };
11924
11926
  } catch (i) {
@@ -11926,30 +11928,31 @@ class Si {
11926
11928
  }
11927
11929
  }
11928
11930
  }
11929
- const lu = "pl.json", cu = wn.join(di.homedir(), ".pl.json"), uu = "pl.yaml", du = wn.join(di.homedir(), ".pl.yaml"), fu = [
11930
- lu,
11931
- uu,
11931
+ const cu = "pl.json", uu = wn.join(fi.homedir(), ".pl.json"), du = "pl.yaml", fu = wn.join(fi.homedir(), ".pl.yaml"), hu = [
11932
11932
  cu,
11933
- du
11934
- ], z = ".pl_auth.json", hu = [
11933
+ du,
11934
+ uu,
11935
+ fu
11936
+ ], z = ".pl_auth.json", pu = [
11935
11937
  "grpcProxy",
11936
11938
  "httpProxy",
11937
11939
  "user",
11938
11940
  "password",
11939
11941
  "alternativeRoot",
11940
- "defaultTransactionTimeout",
11942
+ "defaultROTransactionTimeout",
11943
+ "defaultRWTransactionTimeout",
11941
11944
  "defaultRequestTimeout",
11942
11945
  "authTTLSeconds",
11943
11946
  "authMaxRefreshSeconds"
11944
11947
  ];
11945
- function pu() {
11946
- for (const o of fu)
11948
+ function yu() {
11949
+ for (const o of hu)
11947
11950
  if (U.existsSync(o)) {
11948
11951
  const e = U.readFileSync(o, { encoding: "utf-8" });
11949
- return o.endsWith("json") ? [JSON.parse(e), o] : [Yi.parse(e), o];
11952
+ return o.endsWith("json") ? [JSON.parse(e), o] : [Zi.parse(e), o];
11950
11953
  }
11951
11954
  }
11952
- function yu(o, e) {
11955
+ function gu(o, e) {
11953
11956
  return (t) => {
11954
11957
  U.writeFileSync(
11955
11958
  z,
@@ -11964,33 +11967,33 @@ function yu(o, e) {
11964
11967
  );
11965
11968
  };
11966
11969
  }
11967
- const ni = () => {
11970
+ const ii = () => {
11968
11971
  U.rmSync(z);
11969
11972
  };
11970
- async function Qu() {
11973
+ async function ed() {
11971
11974
  let o;
11972
11975
  if (process.env.PL_ADDRESS !== void 0)
11973
11976
  o = fe(process.env.PL_ADDRESS);
11974
11977
  else {
11975
- const i = pu();
11978
+ const i = yu();
11976
11979
  if (i !== void 0) {
11977
- const [n, r] = i, d = T(n.address, `no pl address in file: ${r}`);
11980
+ const [n, r] = i, d = R(n.address, `no pl address in file: ${r}`);
11978
11981
  o = fe(d);
11979
- for (const a of hu)
11982
+ for (const a of pu)
11980
11983
  n[a] !== void 0 && (o[a] = n[a]);
11981
11984
  }
11982
11985
  }
11983
11986
  if (o === void 0)
11984
11987
  throw new Error("Can't find configuration to create default platform client.");
11985
11988
  process.env.PL_USER !== void 0 && (o.user = process.env.PL_USER), process.env.PL_PASSWORD !== void 0 && (o.user = process.env.PL_PASSWORD);
11986
- const e = ci("sha256").update(Buffer.from(Hi(o))).digest("base64");
11989
+ const e = ui("sha256").update(Buffer.from(Yi(o))).digest("base64");
11987
11990
  let t;
11988
11991
  if (U.existsSync(z)) {
11989
11992
  const i = JSON.parse(U.readFileSync(z, { encoding: "utf-8" }));
11990
11993
  i.confHash === e && i.expiration > Date.now() && (t = i.authInformation);
11991
11994
  }
11992
11995
  if (t === void 0) {
11993
- const i = new Si(o);
11996
+ const i = new Ci(o);
11994
11997
  if (await i.requireAuth()) {
11995
11998
  if (o.user === void 0 || o.password === void 0)
11996
11999
  throw new Error("No auth information for found to authenticate with PL server.");
@@ -12011,12 +12014,12 @@ async function Qu() {
12011
12014
  }
12012
12015
  return await ye.init(o, {
12013
12016
  authInformation: t,
12014
- onUpdate: (i) => yu(e, o.authMaxRefreshSeconds),
12015
- onUpdateError: ni,
12016
- onAuthError: ni
12017
+ onUpdate: (i) => gu(e, o.authMaxRefreshSeconds),
12018
+ onUpdateError: ii,
12019
+ onAuthError: ii
12017
12020
  });
12018
12021
  }
12019
- async function ed(o, e) {
12022
+ async function td(o, e) {
12020
12023
  const t = {
12021
12024
  valueId: e.value,
12022
12025
  errorId: e.error,
@@ -12024,17 +12027,17 @@ async function ed(o, e) {
12024
12027
  };
12025
12028
  if (S(e.error)) {
12026
12029
  const i = await o.getResourceData(e.error, !0);
12027
- t.error = JSON.parse(T(i.data).toString());
12030
+ t.error = JSON.parse(R(i.data).toString());
12028
12031
  }
12029
12032
  return t;
12030
12033
  }
12031
12034
  class G extends Error {
12032
12035
  }
12033
- const gu = {
12036
+ const mu = {
12034
12037
  failOnError: !0,
12035
12038
  onlyFinal: !1
12036
12039
  };
12037
- class mu {
12040
+ class ku {
12038
12041
  constructor(e, t, i) {
12039
12042
  this.tx = e, this.data = t, this.path = i;
12040
12043
  }
@@ -12057,7 +12060,7 @@ class mu {
12057
12060
  ) : new G();
12058
12061
  }
12059
12062
  async get(e, t = {}) {
12060
- const { expectedType: i, failOnError: n, onlyFinal: r } = { ...gu, ...t }, d = [...this.path, e], a = this.getFieldData(e, i);
12063
+ const { expectedType: i, failOnError: n, onlyFinal: r } = { ...mu, ...t }, d = [...this.path, e], a = this.getFieldData(e, i);
12061
12064
  if (S(a.error) && (n || x(a.value)) && await this.tx.throwError(a.error, d), x(a.value)) throw new G();
12062
12065
  return await this.tx.get(a.value, n, d);
12063
12066
  }
@@ -12084,36 +12087,36 @@ class mu {
12084
12087
  return JSON.parse(await this.getKValue(e));
12085
12088
  }
12086
12089
  }
12087
- class ku {
12090
+ class bu {
12088
12091
  constructor(e) {
12089
12092
  this.tx = e;
12090
12093
  }
12091
12094
  async get(e, t = !0, i = []) {
12092
- const n = await this.tx.getResourceData(e, !0), r = new mu(this, n, [...i, he(e)]);
12095
+ const n = await this.tx.getResourceData(e, !0), r = new ku(this, n, [...i, he(e)]);
12093
12096
  return t && await r.requireNoError(), r;
12094
12097
  }
12095
12098
  async throwError(e, t = []) {
12096
12099
  const i = await this.get(e);
12097
- let n = Buffer.from(T(i.data.data)).toString();
12100
+ let n = Buffer.from(R(i.data.data)).toString();
12098
12101
  throw new Error(`${t.join(" -> ")} = ${n}`);
12099
12102
  }
12100
12103
  }
12101
- const bu = {
12104
+ const wu = {
12102
12105
  type: "linearBackoff",
12103
12106
  jitter: 0,
12104
12107
  maxAttempts: 100,
12105
12108
  backoffStep: 10,
12106
12109
  initialDelay: 10
12107
12110
  };
12108
- async function td(o, e, t = bu, i = "polling") {
12109
- let n = ai(t);
12111
+ async function nd(o, e, t = wu, i = "polling") {
12112
+ let n = li(t);
12110
12113
  for (; ; ) {
12111
12114
  try {
12112
- return await o.withReadTx(i, async (r) => await e(new ku(r)));
12115
+ return await o.withReadTx(i, async (r) => await e(new bu(r)));
12113
12116
  } catch (r) {
12114
12117
  if (!(r instanceof G)) throw r;
12115
12118
  }
12116
- await pn.setTimeout(n.nextDelay), n = li(n);
12119
+ await pn.setTimeout(n.nextDelay), n = ci(n);
12117
12120
  }
12118
12121
  }
12119
12122
  const H = "test_config.json";
@@ -12121,7 +12124,7 @@ let hn;
12121
12124
  function $() {
12122
12125
  return hn === void 0 && (hn = wn.resolve(".test_auth.json")), hn;
12123
12126
  }
12124
- function Ci() {
12127
+ function Di() {
12125
12128
  let o = {};
12126
12129
  if (F.existsSync(H) && (o = JSON.parse(F.readFileSync(H, { encoding: "utf-8" }))), process.env.PL_ADDRESS !== void 0 && (o.address = process.env.PL_ADDRESS), process.env.PL_TEST_USER !== void 0 && (o.test_user = process.env.PL_TEST_USER), process.env.PL_TEST_PASSWORD !== void 0 && (o.test_password = process.env.PL_TEST_PASSWORD), process.env.PL_TEST_PROXY !== void 0 && (o.test_proxy = process.env.PL_TEST_PROXY), o.address === void 0)
12127
12130
  throw new Error(
@@ -12129,9 +12132,9 @@ function Ci() {
12129
12132
  );
12130
12133
  return o;
12131
12134
  }
12132
- function ii(o) {
12135
+ function ri(o) {
12133
12136
  return (e) => {
12134
- const t = $(), i = $() + ui();
12137
+ const t = $(), i = $() + di();
12135
12138
  F.writeFileSync(
12136
12139
  i,
12137
12140
  Buffer.from(
@@ -12145,11 +12148,11 @@ function ii(o) {
12145
12148
  ), F.renameSync(i, t);
12146
12149
  };
12147
12150
  }
12148
- const ri = () => {
12151
+ const si = () => {
12149
12152
  console.warn(`Removing: ${$()}`), F.rmSync($());
12150
12153
  };
12151
12154
  async function Wn() {
12152
- const o = Ci();
12155
+ const o = Di();
12153
12156
  let e;
12154
12157
  if (F.existsSync($()))
12155
12158
  try {
@@ -12160,7 +12163,7 @@ async function Wn() {
12160
12163
  } catch {
12161
12164
  F.rmSync($());
12162
12165
  }
12163
- const t = fe(o.address), i = new Si(t), n = await i.requireAuth();
12166
+ const t = fe(o.address), i = new Ci(t), n = await i.requireAuth();
12164
12167
  if (!n && (o.test_user !== void 0 || o.test_password !== void 0))
12165
12168
  throw new Error(
12166
12169
  `Server require no auth, but test user name or test password are provided via (${H}) or env variables: PL_TEST_USER and PL_TEST_PASSWORD`
@@ -12169,17 +12172,17 @@ async function Wn() {
12169
12172
  throw new Error(
12170
12173
  `No auth information found in config (${H}) or env variables: PL_TEST_USER and PL_TEST_PASSWORD`
12171
12174
  );
12172
- return e === void 0 && (n ? e = await i.login(o.test_user, o.test_password) : e = {}, ii(o)(e)), {
12175
+ return e === void 0 && (n ? e = await i.login(o.test_user, o.test_password) : e = {}, ri(o)(e)), {
12173
12176
  conf: t,
12174
12177
  auth: {
12175
12178
  authInformation: e,
12176
- onUpdate: ii(o),
12177
- onAuthError: ri,
12178
- onUpdateError: ri
12179
+ onUpdate: ri(o),
12180
+ onAuthError: si,
12181
+ onUpdateError: si
12179
12182
  }
12180
12183
  };
12181
12184
  }
12182
- async function wu(o = {}) {
12185
+ async function Tu(o = {}) {
12183
12186
  const { conf: e, auth: t } = await Wn();
12184
12187
  return new xn({ ...e, ...o }, { auth: t });
12185
12188
  }
@@ -12189,8 +12192,8 @@ async function kn(o) {
12189
12192
  throw new Error("test pl address configured with alternative root");
12190
12193
  return await ye.init({ ...e, alternativeRoot: o }, t);
12191
12194
  }
12192
- async function Tu(o) {
12193
- const e = `test_${Date.now()}_${ui()}`;
12195
+ async function Ru(o) {
12196
+ const e = `test_${Date.now()}_${di()}`;
12194
12197
  let t = E;
12195
12198
  try {
12196
12199
  const i = await kn(e);
@@ -12201,90 +12204,91 @@ async function Tu(o) {
12201
12204
  throw console.log(`ALTERNATIVE ROOT: ${e} (${he(t)})`), new Error(i.message, { cause: i });
12202
12205
  }
12203
12206
  }
12204
- const nd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12207
+ const id = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12205
12208
  __proto__: null,
12206
12209
  getTestClient: kn,
12207
12210
  getTestClientConf: Wn,
12208
- getTestConfig: Ci,
12209
- getTestLLClient: wu,
12210
- withTempRoot: Tu
12211
+ getTestConfig: Di,
12212
+ getTestLLClient: Tu,
12213
+ withTempRoot: Ru
12211
12214
  }, Symbol.toStringTag, { value: "Module" }));
12212
12215
  export {
12213
- Yu as AnonymousAuthInformation,
12216
+ Zu as AnonymousAuthInformation,
12214
12217
  G as ContinuePolling,
12215
- Gn as DEFAULT_AUTH_MAX_REFRESH,
12216
- Jn as DEFAULT_MAX_CACHE_BYTES,
12218
+ Jn as DEFAULT_AUTH_MAX_REFRESH,
12219
+ zn as DEFAULT_MAX_CACHE_BYTES,
12217
12220
  vn as DEFAULT_REQUEST_TIMEOUT,
12218
- zn as DEFAULT_RETRY_BACKOFF_ALGORITHM,
12219
- Zn as DEFAULT_RETRY_EXPONENTIAL_BACKOFF_MULTIPLIER,
12220
- Yn as DEFAULT_RETRY_INITIAL_DELAY,
12221
- Qn as DEFAULT_RETRY_JITTER,
12222
- Xn as DEFAULT_RETRY_LINEAR_BACKOFF_STEP,
12223
- Hn as DEFAULT_RETRY_MAX_ATTEMPTS,
12224
- Mn as DEFAULT_TOKEN_TTL_SECONDS,
12225
- jn as DEFAULT_TX_TIMEOUT,
12226
- ou as DefaultFinalResourceDataPredicate,
12227
- bu as DefaultPollingRetryOptions,
12228
- Ri as DisconnectedError,
12229
- pi as MaxLocalId,
12221
+ Hn as DEFAULT_RETRY_BACKOFF_ALGORITHM,
12222
+ Xn as DEFAULT_RETRY_EXPONENTIAL_BACKOFF_MULTIPLIER,
12223
+ Zn as DEFAULT_RETRY_INITIAL_DELAY,
12224
+ ei as DEFAULT_RETRY_JITTER,
12225
+ Qn as DEFAULT_RETRY_LINEAR_BACKOFF_STEP,
12226
+ Yn as DEFAULT_RETRY_MAX_ATTEMPTS,
12227
+ jn as DEFAULT_RO_TX_TIMEOUT,
12228
+ Mn as DEFAULT_RW_TX_TIMEOUT,
12229
+ Gn as DEFAULT_TOKEN_TTL_SECONDS,
12230
+ au as DefaultFinalResourceDataPredicate,
12231
+ wu as DefaultPollingRetryOptions,
12232
+ Ii as DisconnectedError,
12233
+ yi as MaxLocalId,
12230
12234
  Rn as MaxTxId,
12231
12235
  E as NullResourceId,
12232
- Hu as Pl,
12236
+ Yu as Pl,
12233
12237
  ye as PlClient,
12234
- wi as PlError,
12238
+ Ti as PlError,
12235
12239
  In as PlErrorCodeNotFound,
12236
12240
  gn as PlTransaction,
12237
- mu as PollResourceAccessor,
12238
- ku as PollTxAccessor,
12241
+ ku as PollResourceAccessor,
12242
+ bu as PollTxAccessor,
12239
12243
  Pn as RecoverablePlError,
12240
- nd as TestHelpers,
12241
- Ai as TxCommitConflict,
12244
+ id as TestHelpers,
12245
+ Li as TxCommitConflict,
12242
12246
  _n as UnauthenticatedError,
12243
- Si as UnauthenticatedPlClient,
12244
- Wc as UnrecoverablePlError,
12245
- Xu as addRTypeToMetadata,
12246
- Mu as bigintToResourceId,
12247
- vu as checkLocalityOfResourceId,
12248
- er as createGlobalResourceId,
12249
- yi as createLocalResourceId,
12250
- Qu as defaultPlClient,
12247
+ Ci as UnauthenticatedPlClient,
12248
+ Uc as UnrecoverablePlError,
12249
+ Qu as addRTypeToMetadata,
12250
+ Gu as bigintToResourceId,
12251
+ ju as checkLocalityOfResourceId,
12252
+ tr as createGlobalResourceId,
12253
+ gi as createLocalResourceId,
12254
+ ed as defaultPlClient,
12251
12255
  yn as ensureResourceIdNotNull,
12252
- Zu as expirationFromAuthInformation,
12256
+ Xu as expirationFromAuthInformation,
12253
12257
  On as extractBasicResourceData,
12254
- gi as extractTxId,
12258
+ mi as extractTxId,
12255
12259
  An as field,
12256
12260
  Kn as getField,
12257
12261
  Y as inferAuthRefreshTime,
12258
- Cu as isAnyResourceId,
12259
- mi as isConnectionProblem,
12260
- Ju as isField,
12261
- _i as isFieldRef,
12262
+ Du as isAnyResourceId,
12263
+ ki as isConnectionProblem,
12264
+ zu as isField,
12265
+ Ai as isFieldRef,
12262
12266
  K as isLocalResourceId,
12263
- Ti as isNotFoundError,
12267
+ Ri as isNotFoundError,
12264
12268
  S as isNotNullResourceId,
12265
12269
  x as isNullResourceId,
12266
- Kc as isResource,
12270
+ qc as isResource,
12267
12271
  j as isResourceRef,
12268
12272
  qn as isRootResourceId,
12269
- bi as isTimeoutOrCancelError,
12270
- ki as isUnauthenticated,
12271
- qu as jsonToData,
12273
+ wi as isTimeoutOrCancelError,
12274
+ bi as isUnauthenticated,
12275
+ Vu as jsonToData,
12272
12276
  fe as plAddressToConfig,
12273
- td as poll,
12274
- Vu as resDataToJson,
12275
- ju as resourceIdFromString,
12277
+ nd as poll,
12278
+ vu as resDataToJson,
12279
+ Mu as resourceIdFromString,
12276
12280
  he as resourceIdToString,
12277
- Du as resourceType,
12278
- Ou as resourceTypeToString,
12279
- Ku as resourceTypesEqual,
12280
- Uc as rethrowMeaningfulError,
12281
- Gu as stringifyWithResourceId,
12282
- xc as throwPlNotFoundError,
12283
- L as toFieldId,
12284
- zu as toGlobalFieldId,
12285
- qc as toGlobalResourceId,
12286
- I as toResourceId,
12287
- pu as tryGetFileConfig,
12288
- ed as valErr
12281
+ Ou as resourceType,
12282
+ Ku as resourceTypeToString,
12283
+ qu as resourceTypesEqual,
12284
+ $c as rethrowMeaningfulError,
12285
+ Ju as stringifyWithResourceId,
12286
+ Wc as throwPlNotFoundError,
12287
+ B as toFieldId,
12288
+ Hu as toGlobalFieldId,
12289
+ Vc as toGlobalResourceId,
12290
+ P as toResourceId,
12291
+ yu as tryGetFileConfig,
12292
+ td as valErr
12289
12293
  };
12290
12294
  //# sourceMappingURL=index.mjs.map